web-interface.assets.7b839a5c1f6d89538928c8a29003bbda.js Maven / Gradle / Ivy
"no use strict";(()=>{var D=(u,h)=>()=>(h||u((h={exports:{}}).exports,h),h.exports);var E=D($=>{(function(u){if(typeof u.window<"u"&&u.document||u.require&&u.define)return;u.console||(u.console=function(){var s=Array.prototype.slice.call(arguments,0);postMessage({type:"log",data:s})},u.console.error=u.console.warn=u.console.log=u.console.trace=u.console),u.window=u,u.ace=u,u.onerror=function(s,n,e,r,i){postMessage({type:"error",data:{message:s,data:i&&i.data,file:n,line:e,col:r,stack:i&&i.stack}})},u.normalizeModule=function(s,n){if(n.indexOf("!")!==-1){var e=n.split("!");return u.normalizeModule(s,e[0])+"!"+u.normalizeModule(s,e[1])}if(n.charAt(0)=="."){var r=s.split("/").slice(0,-1).join("/");for(n=(r?r+"/":"")+n;n.indexOf(".")!==-1&&i!=n;){var i=n;n=n.replace(/^\.\//,"").replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}return n},u.require=function(n,e){if(e||(e=n,n=null),!e.charAt)throw new Error("worker.js require() accepts only (parentId, id) as arguments");e=u.normalizeModule(n,e);var r=u.require.modules[e];if(r)return r.initialized||(r.initialized=!0,r.exports=r.factory().exports),r.exports;if(!u.require.tlns)return console.log("unable to load "+e);var i=h(e,u.require.tlns);return i.slice(-3)!=".js"&&(i+=".js"),u.require.id=e,u.require.modules[e]={},importScripts(i),u.require(n,e)};function h(s,n){for(var e=s,r="";e;){var i=n[e];if(typeof i=="string")return i+r;if(i)return i.location.replace(/\/*$/,"/")+(r||i.main||i.name);if(i===!1)return"";var o=e.lastIndexOf("/");if(o===-1)break;r=e.substr(o)+r,e=e.slice(0,o)}return s}u.require.modules={},u.require.tlns={},u.define=function(s,n,e){if(arguments.length==2?(e=n,typeof s!="string"&&(n=s,s=u.require.id)):arguments.length==1&&(e=s,n=[],s=u.require.id),typeof e!="function"){u.require.modules[s]={exports:e,initialized:!0};return}n.length||(n=["require","exports","module"]);var r=function(i){return u.require(s,i)};u.require.modules[s]={exports:{},factory:function(){var i=this,o=e.apply(this,n.slice(0,e.length).map(function(t){switch(t){case"require":return r;case"exports":return i.exports;case"module":return i;default:return r(t)}}));return o&&(i.exports=o),i}}},u.define.amd={},u.require.tlns={},u.initBaseUrls=function(n){for(var e in n)this.require.tlns[e]=n[e]},u.initSender=function(){var n=u.require("ace/lib/event_emitter").EventEmitter,e=u.require("ace/lib/oop"),r=function(){};return function(){e.implement(this,n),this.callback=function(i,o){postMessage({type:"call",id:o,data:i})},this.emit=function(i,o){postMessage({type:"event",name:i,data:o})}}.call(r.prototype),new r};var d=u.main=null,l=u.sender=null;u.onmessage=function(s){var n=s.data;if(n.event&&l)l._signal(n.event,n.data);else if(n.command)if(d[n.command])d[n.command].apply(d,n.args);else if(u[n.command])u[n.command].apply(u,n.args);else throw new Error("Unknown command:"+n.command);else if(n.init){u.initBaseUrls(n.tlns),l=u.sender=u.initSender();var e=this.require(n.module)[n.classname];d=u.main=new e(l)}}})($);ace.define("ace/lib/oop",[],function(u,h,d){"use strict";h.inherits=function(l,s){l.super_=s,l.prototype=Object.create(s.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}})},h.mixin=function(l,s){for(var n in s)l[n]=s[n];return l},h.implement=function(l,s){h.mixin(l,s)}});ace.define("ace/apply_delta",[],function(u,h,d){"use strict";function l(e,r){throw console.log("Invalid Delta:",e),"Invalid Delta: "+r}function s(e,r){return r.row>=0&&r.row=0&&r.column<=e[r.row].length}function n(e,r){r.action!="insert"&&r.action!="remove"&&l(r,"delta.action must be 'insert' or 'remove'"),r.lines instanceof Array||l(r,"delta.lines must be an Array"),(!r.start||!r.end)&&l(r,"delta.start/end must be an present");var i=r.start;s(e,r.start)||l(r,"delta.start must be contained in document");var o=r.end;r.action=="remove"&&!s(e,o)&&l(r,"delta.end must contained in document for 'remove' actions");var t=o.row-i.row,a=o.column-(t==0?i.column:0);(t!=r.lines.length-1||r.lines[t].length!=a)&&l(r,"delta.range must match delta lines")}h.applyDelta=function(e,r,i){var o=r.start.row,t=r.start.column,a=e[o]||"";switch(r.action){case"insert":var c=r.lines;if(c.length===1)e[o]=a.substring(0,t)+r.lines[0]+a.substring(t);else{var f=[o,1].concat(r.lines);e.splice.apply(e,f),e[o]=a.substring(0,t)+e[o],e[o+r.lines.length-1]+=a.substring(t)}break;case"remove":var m=r.end.column,v=r.end.row;o===v?e[o]=a.substring(0,t)+a.substring(m):e.splice(o,v-o+1,a.substring(0,t)+e[v].substring(m));break}}});ace.define("ace/lib/event_emitter",[],function(u,h,d){"use strict";var l={},s=function(){this.propagationStopped=!0},n=function(){this.defaultPrevented=!0};l._emit=l._dispatchEvent=function(e,r){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var i=this._eventRegistry[e]||[],o=this._defaultHandlers[e];if(!(!i.length&&!o)){(typeof r!="object"||!r)&&(r={}),r.type||(r.type=e),r.stopPropagation||(r.stopPropagation=s),r.preventDefault||(r.preventDefault=n),i=i.slice();for(var t=0;t ["+this.end.row+"/"+this.end.column+"]"},s.prototype.contains=function(n,e){return this.compare(n,e)==0},s.prototype.compareRange=function(n){var e,r=n.end,i=n.start;return e=this.compare(r.row,r.column),e==1?(e=this.compare(i.row,i.column),e==1?2:e==0?1:0):e==-1?-2:(e=this.compare(i.row,i.column),e==-1?-1:e==1?42:0)},s.prototype.comparePoint=function(n){return this.compare(n.row,n.column)},s.prototype.containsRange=function(n){return this.comparePoint(n.start)==0&&this.comparePoint(n.end)==0},s.prototype.intersects=function(n){var e=this.compareRange(n);return e==-1||e==0||e==1},s.prototype.isEnd=function(n,e){return this.end.row==n&&this.end.column==e},s.prototype.isStart=function(n,e){return this.start.row==n&&this.start.column==e},s.prototype.setStart=function(n,e){typeof n=="object"?(this.start.column=n.column,this.start.row=n.row):(this.start.row=n,this.start.column=e)},s.prototype.setEnd=function(n,e){typeof n=="object"?(this.end.column=n.column,this.end.row=n.row):(this.end.row=n,this.end.column=e)},s.prototype.inside=function(n,e){return this.compare(n,e)==0?!(this.isEnd(n,e)||this.isStart(n,e)):!1},s.prototype.insideStart=function(n,e){return this.compare(n,e)==0?!this.isEnd(n,e):!1},s.prototype.insideEnd=function(n,e){return this.compare(n,e)==0?!this.isStart(n,e):!1},s.prototype.compare=function(n,e){return!this.isMultiLine()&&n===this.start.row?ethis.end.column?1:0:nthis.end.row?1:this.start.row===n?e>=this.start.column?0:-1:this.end.row===n?e<=this.end.column?0:1:0},s.prototype.compareStart=function(n,e){return this.start.row==n&&this.start.column==e?-1:this.compare(n,e)},s.prototype.compareEnd=function(n,e){return this.end.row==n&&this.end.column==e?1:this.compare(n,e)},s.prototype.compareInside=function(n,e){return this.end.row==n&&this.end.column==e?1:this.start.row==n&&this.start.column==e?-1:this.compare(n,e)},s.prototype.clipRows=function(n,e){if(this.end.row>e)var r={row:e+1,column:0};else if(this.end.rowe)var i={row:e+1,column:0};else if(this.start.rowthis.row)){var t=r(o,{row:this.row,column:this.column},this.$insertRight);this.setPosition(t.row,t.column,!0)}},i.prototype.setPosition=function(o,t,a){var c;if(a?c={row:o,column:t}:c=this.$clipPositionToDocument(o,t),!(this.row==c.row&&this.column==c.column)){var f={row:this.row,column:this.column};this.row=c.row,this.column=c.column,this._signal("change",{old:f,value:c})}},i.prototype.detach=function(){this.document.off("change",this.$onChange)},i.prototype.attach=function(o){this.document=o||this.document,this.document.on("change",this.$onChange)},i.prototype.$clipPositionToDocument=function(o,t){var a={};return o>=this.document.getLength()?(a.row=Math.max(0,this.document.getLength()-1),a.column=this.document.getLine(a.row).length):o<0?(a.row=0,a.column=0):(a.row=o,a.column=Math.min(this.document.getLine(a.row).length,Math.max(0,t))),t<0&&(a.column=0),a},i}();n.prototype.$insertRight=!1,l.implement(n.prototype,s);function e(i,o,t){var a=t?i.column<=o.column:i.column=c&&(t=c-1,a=void 0);var f=this.getLine(t);return a==null&&(a=f.length),a=Math.min(Math.max(a,0),f.length),{row:t,column:a}},o.prototype.clonePos=function(t){return{row:t.row,column:t.column}},o.prototype.pos=function(t,a){return{row:t,column:a}},o.prototype.$clipPosition=function(t){var a=this.getLength();return t.row>=a?(t.row=Math.max(0,a-1),t.column=this.getLine(a-1).length):(t.row=Math.max(0,t.row),t.column=Math.min(Math.max(t.column,0),this.getLine(t.row).length)),t},o.prototype.insertFullLines=function(t,a){t=Math.min(Math.max(t,0),this.getLength());var c=0;t0,f=a=0&&this.applyDelta({start:this.pos(t,this.getLine(t).length),end:this.pos(t+1,0),action:"remove",lines:["",""]})},o.prototype.replace=function(t,a){if(t instanceof e||(t=e.fromPoints(t.start,t.end)),a.length===0&&t.isEmpty())return t.start;if(a==this.getTextRange(t))return t.end;this.remove(t);var c;return a?c=this.insert(t.start,a):c=t.start,c},o.prototype.applyDeltas=function(t){for(var a=0;a=0;a--)this.revertDelta(t[a])},o.prototype.applyDelta=function(t,a){var c=t.action=="insert";(c?t.lines.length<=1&&!t.lines[0]:!e.comparePoints(t.start,t.end))||(c&&t.lines.length>2e4?this.$splitAndapplyLargeDelta(t,2e4):(s(this.$lines,t,a),this._signal("change",t)))},o.prototype.$safeApplyDelta=function(t){var a=this.$lines.length;(t.action=="remove"&&t.start.row0;)e&1&&(r+=n),(e>>=1)&&(n+=n);return r};var l=/^\s\s*/,s=/\s\s*$/;h.stringTrimLeft=function(n){return n.replace(l,"")},h.stringTrimRight=function(n){return n.replace(s,"")},h.copyObject=function(n){var e={};for(var r in n)e[r]=n[r];return e},h.copyArray=function(n){for(var e=[],r=0,i=n.length;r65535?2:1}});ace.define("ace/worker/mirror",[],function(u,h,d){"use strict";var l=u("../document").Document,s=u("../lib/lang"),n=h.Mirror=function(e){this.sender=e;var r=this.doc=new l(""),i=this.deferredUpdate=s.delayedCall(this.onUpdate.bind(this)),o=this;e.on("change",function(t){var a=t.data;if(a[0].start)r.applyDeltas(a);else for(var c=0;c=r.$lines.length)throw m=new Error("Invalid delta"),m.data={path:o.$path,linesLength:r.$lines.length,start:f.start,end:f.end},m;r.applyDelta(f,!0)}if(o.$timeout)return i.schedule(o.$timeout);o.onUpdate()})};(function(){this.$timeout=500,this.setTimeout=function(e){this.$timeout=e},this.setValue=function(e){this.doc.setValue(e),this.deferredUpdate.schedule(this.$timeout)},this.getValue=function(e){this.sender.callback(this.doc.getValue(),e)},this.onUpdate=function(){},this.isPending=function(){return this.deferredUpdate.isPending()}}).call(n.prototype)});ace.define("ace/mode/json/json_parse",[],function(u,h,d){"use strict";var l,s,n={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:`
`,r:"\r",t:" "},e,r=function(p){throw{name:"SyntaxError",message:p,at:l,text:e}},i=function(p){return p&&p!==s&&r("Expected '"+p+"' instead of '"+s+"'"),s=e.charAt(l),l+=1,s},o=function(){var p,g="";for(s==="-"&&(g="-",i("-"));s>="0"&&s<="9";)g+=s,i();if(s===".")for(g+=".";i()&&s>="0"&&s<="9";)g+=s;if(s==="e"||s==="E")for(g+=s,i(),(s==="-"||s==="+")&&(g+=s,i());s>="0"&&s<="9";)g+=s,i();if(p=+g,isNaN(p))r("Bad number");else return p},t=function(){var p,g,y="",L;if(s==='"')for(;i();){if(s==='"')return i(),y;if(s==="\\")if(i(),s==="u"){for(L=0,g=0;g<4&&(p=parseInt(i(),16),!!isFinite(p));g+=1)L=L*16+p;y+=String.fromCharCode(L)}else if(typeof n[s]=="string")y+=n[s];else break;else{if(s==`
`||s=="\r")break;y+=s}}r("Bad string")},a=function(){for(;s&&s<=" ";)i()},c=function(){switch(s){case"t":return i("t"),i("r"),i("u"),i("e"),!0;case"f":return i("f"),i("a"),i("l"),i("s"),i("e"),!1;case"n":return i("n"),i("u"),i("l"),i("l"),null}r("Unexpected '"+s+"'")},f,m=function(){var p=[];if(s==="["){if(i("["),a(),s==="]")return i("]"),p;for(;s;){if(p.push(f()),a(),s==="]")return i("]"),p;i(","),a()}}r("Bad array")},v=function(){var p,g={};if(s==="{"){if(i("{"),a(),s==="}")return i("}"),g;for(;s;){if(p=t(),a(),i(":"),Object.hasOwnProperty.call(g,p)&&r('Duplicate key "'+p+'"'),g[p]=f(),a(),s==="}")return i("}"),g;i(","),a()}}r("Bad object")};return f=function(){switch(a(),s){case"{":return v();case"[":return m();case'"':return t();case"-":return o();default:return s>="0"&&s<="9"?o():c()}},function(p,g){var y;return e=p,l=0,s=" ",y=f(),a(),s&&r("Syntax error"),typeof g=="function"?function L(_,M){var b,P,w=_[M];if(w&&typeof w=="object")for(b in w)Object.hasOwnProperty.call(w,b)&&(P=L(w,b),P!==void 0?w[b]=P:delete w[b]);return g.call(_,M,w)}({"":y},""):y}});ace.define("ace/mode/json_worker",[],function(u,h,d){"use strict";var l=u("../lib/oop"),s=u("../worker/mirror").Mirror,n=u("./json/json_parse"),e=h.JsonWorker=function(r){s.call(this,r),this.setTimeout(200)};l.inherits(e,s),function(){this.onUpdate=function(){var r=this.doc.getValue(),i=[];try{r&&n(r)}catch(t){var o=this.doc.indexToPosition(t.at-1);i.push({row:o.row,column:o.column,text:t.message,type:"error"})}this.sender.emit("annotate",i)}}.call(e.prototype)})});E();})();
//# sourceMappingURL=7b839a5c1f6d89538928c8a29003bbda.js.map
© 2015 - 2024 Weber Informatics LLC | Privacy Policy