"no use strict";(function(e){if(typeofe.window!="undefined"&&e.document)return;e.console=function(){vare=Array.prototype.slice.call(arguments,0);postMessage({type:"log",data:e})},e.console.error=e.console.warn=e.console.log=e.console.trace=e.console,e.window=e,e.ace=e,e.onerror=function(e,t,n,r,i){postMessage({type:"error",data:{message:e,file:t,line:n,col:r,stack:i.stack}})},e.normalizeModule=function(t,n){if(n.indexOf("!")!==-1){varr=n.split("!");returne.normalizeModule(t,r[0])+"!"+e.normalizeModule(t,r[1])}if(n.charAt(0)=="."){vari=t.split("/").slice(0,-1).join("/");n=(i?i+"/":"")+n;while(n.indexOf(".")!==-1&&s!=n){vars=n;n=n.replace(/^\.\//,"").replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}returnn},e.require=function(t,n){n||(n=t,t=null);if(!n.charAt)thrownewError("worker.js require() accepts only (parentId, id) as arguments");n=e.normalizeModule(t,n);varr=e.require.modules[n];if(r)returnr.initialized||(r.initialized=!0,r.exports=r.factory().exports),r.exports;vari=n.split("/");if(!e.require.tlns)returnconsole.log("unable to load "+n);i[0]=e.require.tlns[i[0]]||i[0];vars=i.join("/")+".js";returne.require.id=n,importScripts(s),e.require(t,n)},e.require.modules={},e.require.tlns={},e.define=function(t,n,r){arguments.length==2?(r=n,typeoft!="string"&&(n=t,t=e.require.id)):arguments.length==1&&(r=t,n=[],t=e.require.id);if(typeofr!="function"){e.require.modules[t]={exports:r,initialized:!0};return}n.length||(n=["require","exports","module"]);vari=function(n){returne.require(t,n)};e.require.modules[t]={exports:{},factory:function(){vare=this,t=r.apply(this,n.map(function(t){switch(t){case"require":returni;case"exports":returne.exports;case"module":returne;default:returni(t)}}));returnt&&(e.exports=t),e}}},e.define.amd={},e.initBaseUrls=function(t){require.tlns=t},e.initSender=function(){varn=e.require("ace/lib/event_emitter").EventEmitter,r=e.require("ace/lib/oop"),i=function(){};returnfunction(){r.implement(this,n),this.callback=function(e,t){postMessage({type:"call",id:t,data:e})},this.emit=function(e,t){postMessage({type:"event",name:e,data:t})}}.call(i.prototype),newi};vart=e.main=null,n=e.sender=null;e.onmessage=function(r){vari=r.data;if(i.command){if(!t[i.command])thrownewError("Unknown command:"+i.command);t[i.command].apply(t,i.args)}elseif(i.init){initBaseUrls(i.tlns),require("ace/lib/es5-shim"),n=e.sender=initSender();vars=require(i.module)[i.classname];t=e.main=news(n)}elsei.event&&n&&n._signal(i.event,i.data)}})(this),ace.define("ace/lib/oop",["require","exports","module"],function(e,t,n){"use strict";t.inherits=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})},t.mixin=function(e,t){for(varnint)e[n]=t[n];returne},t.implement=function(e,n){t.mixin(e,n)}}),ace.define("ace/lib/lang",["require","exports","module"],function(e,t,n){"use strict";t.last=function(e){returne[e.length-1]},t.stringReverse=function(e){returne.split("").reverse().join("")},t.stringRepeat=function(e,t){varn="";while(t>0){t&1&&(n+=e);if(t>>=1)e+=e}returnn};varr=/^\s\s*/,i=/\s\s*$/;t.stringTrimLeft=function(e){returne.replace(r,"")},t.stringTrimRight=function(e){returne.replace(i,"")},t.copyObject=function(e){vart={};for(varnine)t[n]=e[n];returnt},t.copyArray=function(e){vart=[];for(varn=0,r=e.length;n<r;n++)e[n]&&typeofe[n]=="object"?t[n]=this.copyObject(e[n]):t[n]=e[n];returnt},t.deepCopy=functions(e){if(typeofe!="object"||!e)returne;vart;if(Array.isArray(e)){t=[];for(varn=0;n<e.length;n++)t[n]=s(e[n]);returnt}varr=e.constructor;if(r===RegExp)returne;t=r();for(varnine)t[n]=s(e[n]);returnt},t.arrayToMap=function(e){vart={};for(varn=0;n<e.length;n++)t[e[n]]=1;returnt},t.createMap=function(e){vart=Object.create(null);for(varnine)t[n]=e[n];returnt},t.arrayRemove=function(e,t){for(varn=0;n<=e.length;n++)t===e[n]&&e.splice(n,1)},t.escapeRegExp=function(e){returne.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")},t.escapeHTML=function(e){returne.replace(/&/g,"&").replace(/"/g,""").re