All Downloads are FREE. Search and download functionalities are using the official Maven repository.

web-interface.assets.d204a2341f384191e26189fd722874e8.js Maven / Gradle / Ivy

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

//# sourceMappingURL=d204a2341f384191e26189fd722874e8.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy