web-interface.assets.44efcea2f84e80cc4092a89796afe886.js Maven / Gradle / Ivy
"no use strict";(()=>{var Le=(v,D)=>()=>(D||v((D={exports:{}}).exports,D),D.exports);var Ce=Le(Oe=>{(function(v){if(typeof v.window<"u"&&v.document||v.require&&v.define)return;v.console||(v.console=function(){var f=Array.prototype.slice.call(arguments,0);postMessage({type:"log",data:f})},v.console.error=v.console.warn=v.console.log=v.console.trace=v.console),v.window=v,v.ace=v,v.onerror=function(f,i,n,o,c){postMessage({type:"error",data:{message:f,data:c&&c.data,file:i,line:n,col:o,stack:c&&c.stack}})},v.normalizeModule=function(f,i){if(i.indexOf("!")!==-1){var n=i.split("!");return v.normalizeModule(f,n[0])+"!"+v.normalizeModule(f,n[1])}if(i.charAt(0)=="."){var o=f.split("/").slice(0,-1).join("/");for(i=(o?o+"/":"")+i;i.indexOf(".")!==-1&&c!=i;){var c=i;i=i.replace(/^\.\//,"").replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}return i},v.require=function(i,n){if(n||(n=i,i=null),!n.charAt)throw new Error("worker.js require() accepts only (parentId, id) as arguments");n=v.normalizeModule(i,n);var o=v.require.modules[n];if(o)return o.initialized||(o.initialized=!0,o.exports=o.factory().exports),o.exports;if(!v.require.tlns)return console.log("unable to load "+n);var c=D(n,v.require.tlns);return c.slice(-3)!=".js"&&(c+=".js"),v.require.id=n,v.require.modules[n]={},importScripts(c),v.require(i,n)};function D(f,i){for(var n=f,o="";n;){var c=i[n];if(typeof c=="string")return c+o;if(c)return c.location.replace(/\/*$/,"/")+(o||c.main||c.name);if(c===!1)return"";var a=n.lastIndexOf("/");if(a===-1)break;o=n.substr(a)+o,n=n.slice(0,a)}return f}v.require.modules={},v.require.tlns={},v.define=function(f,i,n){if(arguments.length==2?(n=i,typeof f!="string"&&(i=f,f=v.require.id)):arguments.length==1&&(n=f,i=[],f=v.require.id),typeof n!="function"){v.require.modules[f]={exports:n,initialized:!0};return}i.length||(i=["require","exports","module"]);var o=function(c){return v.require(f,c)};v.require.modules[f]={exports:{},factory:function(){var c=this,a=n.apply(this,i.slice(0,n.length).map(function(r){switch(r){case"require":return o;case"exports":return c.exports;case"module":return c;default:return o(r)}}));return a&&(c.exports=a),c}}},v.define.amd={},v.require.tlns={},v.initBaseUrls=function(i){for(var n in i)this.require.tlns[n]=i[n]},v.initSender=function(){var i=v.require("ace/lib/event_emitter").EventEmitter,n=v.require("ace/lib/oop"),o=function(){};return function(){n.implement(this,i),this.callback=function(c,a){postMessage({type:"call",id:a,data:c})},this.emit=function(c,a){postMessage({type:"event",name:c,data:a})}}.call(o.prototype),new o};var j=v.main=null,d=v.sender=null;v.onmessage=function(f){var i=f.data;if(i.event&&d)d._signal(i.event,i.data);else if(i.command)if(j[i.command])j[i.command].apply(j,i.args);else if(v[i.command])v[i.command].apply(v,i.args);else throw new Error("Unknown command:"+i.command);else if(i.init){v.initBaseUrls(i.tlns),d=v.sender=v.initSender();var n=this.require(i.module)[i.classname];j=v.main=new n(d)}}})(Oe);ace.define("ace/lib/oop",[],function(v,D,j){"use strict";D.inherits=function(d,f){d.super_=f,d.prototype=Object.create(f.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}})},D.mixin=function(d,f){for(var i in f)d[i]=f[i];return d},D.implement=function(d,f){D.mixin(d,f)}});ace.define("ace/lib/deep_copy",[],function(v,D,j){D.deepCopy=function d(f){if(typeof f!="object"||!f)return f;var i;if(Array.isArray(f)){i=[];for(var n=0;n0;)n&1&&(o+=i),(n>>=1)&&(i+=i);return o};var d=/^\s\s*/,f=/\s\s*$/;D.stringTrimLeft=function(i){return i.replace(d,"")},D.stringTrimRight=function(i){return i.replace(f,"")},D.copyObject=function(i){var n={};for(var o in i)n[o]=i[o];return n},D.copyArray=function(i){for(var n=[],o=0,c=i.length;o65535?2:1}});ace.define("ace/apply_delta",[],function(v,D,j){"use strict";function d(n,o){throw console.log("Invalid Delta:",n),"Invalid Delta: "+o}function f(n,o){return o.row>=0&&o.row=0&&o.column<=n[o.row].length}function i(n,o){o.action!="insert"&&o.action!="remove"&&d(o,"delta.action must be 'insert' or 'remove'"),o.lines instanceof Array||d(o,"delta.lines must be an Array"),(!o.start||!o.end)&&d(o,"delta.start/end must be an present");var c=o.start;f(n,o.start)||d(o,"delta.start must be contained in document");var a=o.end;o.action=="remove"&&!f(n,a)&&d(o,"delta.end must contained in document for 'remove' actions");var r=a.row-c.row,u=a.column-(r==0?c.column:0);(r!=o.lines.length-1||o.lines[r].length!=u)&&d(o,"delta.range must match delta lines")}D.applyDelta=function(n,o,c){var a=o.start.row,r=o.start.column,u=n[a]||"";switch(o.action){case"insert":var l=o.lines;if(l.length===1)n[a]=u.substring(0,r)+o.lines[0]+u.substring(r);else{var m=[a,1].concat(o.lines);n.splice.apply(n,m),n[a]=u.substring(0,r)+n[a],n[a+o.lines.length-1]+=u.substring(r)}break;case"remove":var y=o.end.column,N=o.end.row;a===N?n[a]=u.substring(0,r)+u.substring(y):n.splice(a,N-a+1,u.substring(0,r)+n[N].substring(y));break}}});ace.define("ace/lib/event_emitter",[],function(v,D,j){"use strict";var d={},f=function(){this.propagationStopped=!0},i=function(){this.defaultPrevented=!0};d._emit=d._dispatchEvent=function(n,o){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var c=this._eventRegistry[n]||[],a=this._defaultHandlers[n];if(!(!c.length&&!a)){(typeof o!="object"||!o)&&(o={}),o.type||(o.type=n),o.stopPropagation||(o.stopPropagation=f),o.preventDefault||(o.preventDefault=i),c=c.slice();for(var r=0;r ["+this.end.row+"/"+this.end.column+"]"},f.prototype.contains=function(i,n){return this.compare(i,n)==0},f.prototype.compareRange=function(i){var n,o=i.end,c=i.start;return n=this.compare(o.row,o.column),n==1?(n=this.compare(c.row,c.column),n==1?2:n==0?1:0):n==-1?-2:(n=this.compare(c.row,c.column),n==-1?-1:n==1?42:0)},f.prototype.comparePoint=function(i){return this.compare(i.row,i.column)},f.prototype.containsRange=function(i){return this.comparePoint(i.start)==0&&this.comparePoint(i.end)==0},f.prototype.intersects=function(i){var n=this.compareRange(i);return n==-1||n==0||n==1},f.prototype.isEnd=function(i,n){return this.end.row==i&&this.end.column==n},f.prototype.isStart=function(i,n){return this.start.row==i&&this.start.column==n},f.prototype.setStart=function(i,n){typeof i=="object"?(this.start.column=i.column,this.start.row=i.row):(this.start.row=i,this.start.column=n)},f.prototype.setEnd=function(i,n){typeof i=="object"?(this.end.column=i.column,this.end.row=i.row):(this.end.row=i,this.end.column=n)},f.prototype.inside=function(i,n){return this.compare(i,n)==0?!(this.isEnd(i,n)||this.isStart(i,n)):!1},f.prototype.insideStart=function(i,n){return this.compare(i,n)==0?!this.isEnd(i,n):!1},f.prototype.insideEnd=function(i,n){return this.compare(i,n)==0?!this.isStart(i,n):!1},f.prototype.compare=function(i,n){return!this.isMultiLine()&&i===this.start.row?nthis.end.column?1:0:ithis.end.row?1:this.start.row===i?n>=this.start.column?0:-1:this.end.row===i?n<=this.end.column?0:1:0},f.prototype.compareStart=function(i,n){return this.start.row==i&&this.start.column==n?-1:this.compare(i,n)},f.prototype.compareEnd=function(i,n){return this.end.row==i&&this.end.column==n?1:this.compare(i,n)},f.prototype.compareInside=function(i,n){return this.end.row==i&&this.end.column==n?1:this.start.row==i&&this.start.column==n?-1:this.compare(i,n)},f.prototype.clipRows=function(i,n){if(this.end.row>n)var o={row:n+1,column:0};else if(this.end.rown)var c={row:n+1,column:0};else if(this.start.rowthis.row)){var r=o(a,{row:this.row,column:this.column},this.$insertRight);this.setPosition(r.row,r.column,!0)}},c.prototype.setPosition=function(a,r,u){var l;if(u?l={row:a,column:r}:l=this.$clipPositionToDocument(a,r),!(this.row==l.row&&this.column==l.column)){var m={row:this.row,column:this.column};this.row=l.row,this.column=l.column,this._signal("change",{old:m,value:l})}},c.prototype.detach=function(){this.document.off("change",this.$onChange)},c.prototype.attach=function(a){this.document=a||this.document,this.document.on("change",this.$onChange)},c.prototype.$clipPositionToDocument=function(a,r){var u={};return a>=this.document.getLength()?(u.row=Math.max(0,this.document.getLength()-1),u.column=this.document.getLine(u.row).length):a<0?(u.row=0,u.column=0):(u.row=a,u.column=Math.min(this.document.getLine(u.row).length,Math.max(0,r))),r<0&&(u.column=0),u},c}();i.prototype.$insertRight=!1,d.implement(i.prototype,f);function n(c,a,r){var u=r?c.column<=a.column:c.column=l&&(r=l-1,u=void 0);var m=this.getLine(r);return u==null&&(u=m.length),u=Math.min(Math.max(u,0),m.length),{row:r,column:u}},a.prototype.clonePos=function(r){return{row:r.row,column:r.column}},a.prototype.pos=function(r,u){return{row:r,column:u}},a.prototype.$clipPosition=function(r){var u=this.getLength();return r.row>=u?(r.row=Math.max(0,u-1),r.column=this.getLine(u-1).length):(r.row=Math.max(0,r.row),r.column=Math.min(Math.max(r.column,0),this.getLine(r.row).length)),r},a.prototype.insertFullLines=function(r,u){r=Math.min(Math.max(r,0),this.getLength());var l=0;r0,m=u=0&&this.applyDelta({start:this.pos(r,this.getLine(r).length),end:this.pos(r+1,0),action:"remove",lines:["",""]})},a.prototype.replace=function(r,u){if(r instanceof n||(r=n.fromPoints(r.start,r.end)),u.length===0&&r.isEmpty())return r.start;if(u==this.getTextRange(r))return r.end;this.remove(r);var l;return u?l=this.insert(r.start,u):l=r.start,l},a.prototype.applyDeltas=function(r){for(var u=0;u=0;u--)this.revertDelta(r[u])},a.prototype.applyDelta=function(r,u){var l=r.action=="insert";(l?r.lines.length<=1&&!r.lines[0]:!n.comparePoints(r.start,r.end))||(l&&r.lines.length>2e4?this.$splitAndapplyLargeDelta(r,2e4):(f(this.$lines,r,u),this._signal("change",r)))},a.prototype.$safeApplyDelta=function(r){var u=this.$lines.length;(r.action=="remove"&&r.start.row=o.$lines.length)throw y=new Error("Invalid delta"),y.data={path:a.$path,linesLength:o.$lines.length,start:m.start,end:m.end},y;o.applyDelta(m,!0)}if(a.$timeout)return c.schedule(a.$timeout);a.onUpdate()})};(function(){this.$timeout=500,this.setTimeout=function(n){this.$timeout=n},this.setValue=function(n){this.doc.setValue(n),this.deferredUpdate.schedule(this.$timeout)},this.getValue=function(n){this.sender.callback(this.doc.getValue(),n)},this.onUpdate=function(){},this.isPending=function(){return this.deferredUpdate.isPending()}}).call(i.prototype)});ace.define("ace/mode/xml/sax",[],function(v,D,j){var d=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,f=new RegExp("[\\-\\.0-9"+d.source.slice(1,-1)+"\xB7\u0300-\u036F\\ux203F-\u2040]"),i=new RegExp("^"+d.source+f.source+"*(?::"+d.source+f.source+"*)?$"),n=0,o=1,c=2,a=3,r=4,u=5,l=6,m=7;function y(){}y.prototype={parse:function(p,g,E){var T=this.domBuilder;T.startDocument(),B(g,g={}),N(p,g,E,T,this.errorHandler),T.endDocument()}};function N(p,g,E,T,b){function S(x){if(x>65535){x-=65536;var H=55296+(x>>10),te=56320+(x&1023);return String.fromCharCode(H,te)}else return String.fromCharCode(x)}function w(x){var H=x.slice(1,-1);return H in E?E[H]:H.charAt(0)==="#"?S(parseInt(H.substr(1).replace("x","0x"))):(b.error("entity not found:"+x),x)}function R(x){var H=p.substring(z,x).replace(/?\w+;/g,w);U&&A(z),T.characters(H,0,x-z),z=x}function A(x,H){for(;x>=C&&(H=V.exec(p));)P=H.index,C=P+H[0].length,U.lineNumber++;U.columnNumber=x-P+1}for(var P=0,C=0,V=/.+(?:\r\n?|\n)|.*$/g,U=T.locator,W=[{currentNSMap:g}],Q={},z=0;;){var F=p.indexOf("<",z);if(F<0){if(!p.substr(z).match(/^\s*$/)){var ie=T.document,k=ie.createTextNode(p.substr(z));ie.appendChild(k),T.currentElement=k}return}switch(F>z&&R(F),p.charAt(F+1)){case"/":var Y=p.indexOf(">",F+3),ee=p.substring(F+2,Y),Z;if(W.length>1)Z=W.pop();else{b.fatalError("end tag name not found for: "+ee);break}var se=Z.localNSMap;if(Z.tagName!=ee&&b.fatalError("end tag name: "+ee+" does not match the current start tagName: "+Z.tagName),T.endElement(Z.uri,Z.localName,ee),se)for(var ae in se)T.endPrefixMapping(ae);Y++;break;case"?":U&&A(F),Y=De(p,F,T);break;case"!":U&&A(F),Y=_e(p,F,T,b);break;default:try{U&&A(F);var G=new pe,Y=M(p,F,G,w,b),oe=G.length;if(oe&&U){for(var ue=O(U,{}),F=0;F0)w=p.slice(g,R).replace(/?\w+;/g,T),E.add(S,w,g-1),A=u;else throw new Error("attribute value no end '"+P+"' match");else if(A==r)w=p.slice(g,R).replace(/?\w+;/g,T),E.add(S,w,g),b.warning('attribute "'+S+'" missed start quot('+P+")!!"),g=R+1,A=u;else throw new Error('attribute value must after "="');break;case"/":switch(A){case n:E.setTagName(p.slice(g,R));case u:case l:case m:A=m,E.closed=!0;case r:case o:case c:break;default:throw new Error("attribute invalid close char('/')")}break;case"":b.error("unexpected end of input");case">":switch(A){case n:E.setTagName(p.slice(g,R));case u:case l:case m:break;case r:case o:w=p.slice(g,R),w.slice(-1)==="/"&&(E.closed=!0,w=w.slice(0,-1));case c:A===c&&(w=S),A==r?(b.warning('attribute "'+w+'" missed quot(")!!'),E.add(S,w.replace(/?\w+;/g,T),g)):(b.warning('attribute "'+w+'" missed value!! "'+w+'" instead!!'),E.add(w,w,g));break;case a:throw new Error("attribute value missed!!")}return R;case"\x80":P=" ";default:if(P<=" ")switch(A){case n:E.setTagName(p.slice(g,R)),A=l;break;case o:S=p.slice(g,R),A=c;break;case r:var w=p.slice(g,R).replace(/?\w+;/g,T);b.warning('attribute "'+w+'" missed quot(")!!'),E.add(S,w,g);case u:A=l;break}else switch(A){case c:b.warning('attribute "'+S+'" missed value!! "'+S+'" instead!!'),E.add(S,S,g),g=R,A=o;break;case u:b.warning('attribute space is required"'+S+'"!!');case l:A=o,g=R;break;case a:A=r,g=R;break;case m:throw new Error("elements closed character '/' and '>' must be connected to")}}R++}}function $(p,g,E,T){for(var b=p.tagName,S=null,w=E[E.length-1].currentNSMap,W=p.length;W--;){var R=p[W],A=R.qName,P=R.value,Q=A.indexOf(":");if(Q>0)var C=R.prefix=A.slice(0,Q),V=A.slice(Q+1),U=C==="xmlns"&&V;else V=A,C=null,U=A==="xmlns"&&"";R.localName=V,U!==!1&&(S==null&&(S={},B(w,w={})),w[U]=S[U]=P,R.uri="http://www.w3.org/2000/xmlns/",g.startPrefixMapping(U,P))}for(var W=p.length;W--;){R=p[W];var C=R.prefix;C&&(C==="xml"&&(R.uri="http://www.w3.org/XML/1998/namespace"),C!=="xmlns"&&(R.uri=w[C]))}var Q=b.indexOf(":");Q>0?(C=p.prefix=b.slice(0,Q),V=p.localName=b.slice(Q+1)):(C=null,V=p.localName=b);var z=p.uri=w[C||""];if(C&&!z&&T.error("unexpected namespace "+C),g.startElement(z,V,b,p),p.closed){if(g.endElement(z,V,b),S)for(C in S)g.endPrefixMapping(C)}else p.currentNSMap=w,p.localNSMap=S,E.push(p)}function I(p,g,E,T,b){if(/^(?:script|textarea)$/i.test(E)){var S=p.indexOf(""+E+">",g),w=p.substring(g+1,S);if(/[&<]/.test(w))return/^script$/i.test(E)?(b.characters(w,0,w.length),S):(w=w.replace(/?\w+;/g,T),b.characters(w,0,w.length),S)}return g+1}function L(p,g,E,T){var b=T[E];return b==null&&(b=T[E]=p.lastIndexOf(""+E+">")),b",g+4);return S>g?(E.comment(p,g+4,S-g-4),S+3):(T.error("Unclosed comment"),-1)}else return-1;default:if(p.substr(g+3,6)=="CDATA["){var S=p.indexOf("]]>",g+9);return S>g?(E.startCDATA(),E.characters(p,g+9,S-g-9),E.endCDATA(),S+3):(T.error("Unclosed CDATA"),-1)}var w=we(p,g),R=w.length;if(R>1&&/!doctype/i.test(w[0][0])){var A=w[1][0],P=R>3&&/^public$/i.test(w[2][0])&&w[3][0],C=R>4&&w[4][0],V=w[R-1];return E.startDTD(A,P&&P.replace(/^(['"])(.*?)\1$/,"$2"),C&&C.replace(/^(['"])(.*?)\1$/,"$2")),E.endDTD(),V.index+V[0].length}}return-1}function De(p,g,E){var T=p.indexOf("?>",g);if(T){var b=p.substring(g,T).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);if(b){var S=b[0].length;return E.processingInstruction(b[1],b[2]),T+2}else return-1}return-1}function pe(p){}pe.prototype={setTagName:function(p){if(!i.test(p))throw new Error("invalid tagName:"+p);this.tagName=p},add:function(p,g,E){if(!i.test(p))throw new Error("invalid attribute:"+p);this[this.length++]={qName:p,value:g,offset:E}},length:0,getLocalName:function(p){return this[p].localName},getOffset:function(p){return this[p].offset},getQName:function(p){return this[p].qName},getURI:function(p){return this[p].uri},getValue:function(p){return this[p].value}};function re(p,g){return p.__proto__=g,p}re({},re.prototype)instanceof re||(re=function(p,g){function E(){}E.prototype=g,E=new E;for(g in p)E[g]=p[g];return E});function we(p,g){var E,T=[],b=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(b.lastIndex=g,b.exec(p);E=b.exec(p);)if(T.push(E),E[1])return T}return y});ace.define("ace/mode/xml/dom",[],function(v,D,j){function d(e,t){for(var s in e)t[s]=e[s]}function f(e,t){var s=function(){},h=e.prototype;if(Object.create){var _=Object.create(t.prototype);h.__proto__=_}h instanceof t||(s.prototype=t.prototype,s=new s,d(h,s),e.prototype=h=s),h.constructor!=e&&(typeof e!="function"&&console.error("unknown Class:"+e),h.constructor=e)}var i="http://www.w3.org/1999/xhtml",n={},o=n.ELEMENT_NODE=1,c=n.ATTRIBUTE_NODE=2,a=n.TEXT_NODE=3,r=n.CDATA_SECTION_NODE=4,u=n.ENTITY_REFERENCE_NODE=5,l=n.ENTITY_NODE=6,m=n.PROCESSING_INSTRUCTION_NODE=7,y=n.COMMENT_NODE=8,N=n.DOCUMENT_NODE=9,O=n.DOCUMENT_TYPE_NODE=10,M=n.DOCUMENT_FRAGMENT_NODE=11,$=n.NOTATION_NODE=12,I={},L={},B=I.INDEX_SIZE_ERR=(L[1]="Index size error",1),_e=I.DOMSTRING_SIZE_ERR=(L[2]="DOMString size error",2),De=I.HIERARCHY_REQUEST_ERR=(L[3]="Hierarchy request error",3),pe=I.WRONG_DOCUMENT_ERR=(L[4]="Wrong document",4),re=I.INVALID_CHARACTER_ERR=(L[5]="Invalid character",5),we=I.NO_DATA_ALLOWED_ERR=(L[6]="No data allowed",6),p=I.NO_MODIFICATION_ALLOWED_ERR=(L[7]="No modification allowed",7),g=I.NOT_FOUND_ERR=(L[8]="Not found",8),E=I.NOT_SUPPORTED_ERR=(L[9]="Not supported",9),T=I.INUSE_ATTRIBUTE_ERR=(L[10]="Attribute in use",10),b=I.INVALID_STATE_ERR=(L[11]="Invalid state",11),S=I.SYNTAX_ERR=(L[12]="Syntax error",12),w=I.INVALID_MODIFICATION_ERR=(L[13]="Invalid modification",13),R=I.NAMESPACE_ERR=(L[14]="Invalid namespace",14),A=I.INVALID_ACCESS_ERR=(L[15]="Invalid access",15);function P(e,t){if(t instanceof Error)var s=t;else s=this,Error.call(this,L[e]),this.message=L[e],Error.captureStackTrace&&Error.captureStackTrace(this,P);return s.code=e,t&&(this.message=this.message+": "+t),s}P.prototype=Error.prototype,d(I,P);function C(){}C.prototype={length:0,item:function(e){return this[e]||null}};function V(e,t){this._node=e,this._refresh=t,U(this)}function U(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!=t){var s=e._refresh(e._node);Ae(e,"length",s.length),d(s,e),e._inc=t}}V.prototype.item=function(e){return U(this),this[e]},f(V,C);function W(){}function Q(e,t){for(var s=e.length;s--;)if(e[s]===t)return s}function z(e,t,s,h){if(h?t[Q(t,h)]=s:t[t.length++]=s,e){s.ownerElement=e;var _=e.ownerDocument;_&&(h&&ae(_,e,h),se(_,e,s))}}function F(e,t,s){var h=Q(t,s);if(h>=0){for(var _=t.length-1;h<_;)t[h]=t[++h];if(t.length=_,e){var q=e.ownerDocument;q&&(ae(q,e,s),s.ownerElement=null)}}else throw new P(g,new Error)}W.prototype={length:0,item:C.prototype.item,getNamedItem:function(e){for(var t=this.length;t--;){var s=this[t];if(s.nodeName==e)return s}},setNamedItem:function(e){var t=e.ownerElement;if(t&&t!=this._ownerElement)throw new P(T);var s=this.getNamedItem(e.nodeName);return z(this._ownerElement,this,e,s),s},setNamedItemNS:function(e){var t=e.ownerElement,s;if(t&&t!=this._ownerElement)throw new P(T);return s=this.getNamedItemNS(e.namespaceURI,e.localName),z(this._ownerElement,this,e,s),s},removeNamedItem:function(e){var t=this.getNamedItem(e);return F(this._ownerElement,this,t),t},removeNamedItemNS:function(e,t){var s=this.getNamedItemNS(e,t);return F(this._ownerElement,this,s),s},getNamedItemNS:function(e,t){for(var s=this.length;s--;){var h=this[s];if(h.localName==t&&h.namespaceURI==e)return h}return null}};function ie(e){if(this._features={},e)for(var t in e)this._features=e[t]}ie.prototype={hasFeature:function(e,t){var s=this._features[e.toLowerCase()];return!!(s&&(!t||t in s))},createDocument:function(e,t,s){var h=new Z;if(h.implementation=this,h.childNodes=new C,h.doctype=s,s&&h.appendChild(s),t){var _=h.createElementNS(e,t);h.appendChild(_)}return h},createDocumentType:function(e,t,s){var h=new de;return h.name=e,h.nodeName=e,h.publicId=t,h.systemId=s,h}};function k(){}k.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(e,t){return ue(this,e,t)},replaceChild:function(e,t){this.insertBefore(e,t),t&&this.removeChild(t)},removeChild:function(e){return oe(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return this.firstChild!=null},cloneNode:function(e){return Ne(this.ownerDocument||this,this,e)},normalize:function(){for(var e=this.firstChild;e;){var t=e.nextSibling;t&&t.nodeType==a&&e.nodeType==a?(this.removeChild(t),e.appendData(t.data)):(e.normalize(),e=t)}},isSupported:function(e,t){return this.ownerDocument.implementation.hasFeature(e,t)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(e){for(var t=this;t;){var s=t._nsMap;if(s){for(var h in s)if(s[h]==e)return h}t=t.nodeType==2?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var s=t._nsMap;if(s&&e in s)return s[e];t=t.nodeType==2?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){var t=this.lookupPrefix(e);return t==null}};function Y(e){return e=="<"&&"<"||e==">"&&">"||e=="&"&&"&"||e=='"'&&"""||""+e.charCodeAt()+";"}d(n,k),d(n,k.prototype);function ee(e,t){if(t(e))return!0;if(e=e.firstChild)do if(ee(e,t))return!0;while(e=e.nextSibling)}function Z(){}function se(e,t,s){e&&e._inc++;var h=s.namespaceURI;h=="http://www.w3.org/2000/xmlns/"&&(t._nsMap[s.prefix?s.localName:""]=s.value)}function ae(e,t,s,h){e&&e._inc++;var _=s.namespaceURI;_=="http://www.w3.org/2000/xmlns/"&&delete t._nsMap[s.prefix?s.localName:""]}function G(e,t,s){if(e&&e._inc){e._inc++;var h=t.childNodes;if(s)h[h.length++]=s;else{for(var _=t.firstChild,q=0;_;)h[q++]=_,_=_.nextSibling;h.length=q}}}function oe(e,t){var s=t.previousSibling,h=t.nextSibling;return s?s.nextSibling=h:e.firstChild=h,h?h.previousSibling=s:e.lastChild=s,G(e.ownerDocument,e),t}function ue(e,t,s){var h=t.parentNode;if(h&&h.removeChild(t),t.nodeType===M){var _=t.firstChild;if(_==null)return t;var q=t.lastChild}else _=q=t;var J=s?s.previousSibling:e.lastChild;_.previousSibling=J,q.nextSibling=s,J?J.nextSibling=_:e.firstChild=_,s==null?e.lastChild=q:s.previousSibling=q;do _.parentNode=e;while(_!==q&&(_=_.nextSibling));return G(e.ownerDocument||e,e),t.nodeType==M&&(t.firstChild=t.lastChild=null),t}function ce(e,t){var s=t.parentNode;if(s){var h=e.lastChild;s.removeChild(t);var h=e.lastChild}var h=e.lastChild;return t.parentNode=e,t.previousSibling=h,t.nextSibling=null,h?h.nextSibling=t:e.firstChild=t,e.lastChild=t,G(e.ownerDocument,e,t),t}Z.prototype={nodeName:"#document",nodeType:N,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==M){for(var s=e.firstChild;s;){var h=s.nextSibling;this.insertBefore(s,t),s=h}return e}return this.documentElement==null&&e.nodeType==1&&(this.documentElement=e),ue(this,e,t),e.ownerDocument=this,e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),oe(this,e)},importNode:function(e,t){return Se(this,e,t)},getElementById:function(e){var t=null;return ee(this.documentElement,function(s){if(s.nodeType==1&&s.getAttribute("id")==e)return t=s,!0}),t},createElement:function(e){var t=new x;t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.childNodes=new C;var s=t.attributes=new W;return s._ownerElement=t,t},createDocumentFragment:function(){var e=new le;return e.ownerDocument=this,e.childNodes=new C,e},createTextNode:function(e){var t=new me;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new ve;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){var t=new ge;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var s=new Ee;return s.ownerDocument=this,s.tagName=s.target=e,s.nodeValue=s.data=t,s},createAttribute:function(e){var t=new H;return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){var t=new ye;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var s=new x,h=t.split(":"),_=s.attributes=new W;return s.childNodes=new C,s.ownerDocument=this,s.nodeName=t,s.tagName=t,s.namespaceURI=e,h.length==2?(s.prefix=h[0],s.localName=h[1]):s.localName=t,_._ownerElement=s,s},createAttributeNS:function(e,t){var s=new H,h=t.split(":");return s.ownerDocument=this,s.nodeName=t,s.name=t,s.namespaceURI=e,s.specified=!0,h.length==2?(s.prefix=h[0],s.localName=h[1]):s.localName=t,s}},f(Z,k);function x(){this._nsMap={}}x.prototype={nodeType:o,hasAttribute:function(e){return this.getAttributeNode(e)!=null},getAttribute:function(e){var t=this.getAttributeNode(e);return t&&t.value||""},getAttributeNode:function(e){return this.attributes.getNamedItem(e)},setAttribute:function(e,t){var s=this.ownerDocument.createAttribute(e);s.value=s.nodeValue=""+t,this.setAttributeNode(s)},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},appendChild:function(e){return e.nodeType===M?this.insertBefore(e,null):ce(this,e)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,t){var s=this.getAttributeNodeNS(e,t);s&&this.removeAttributeNode(s)},hasAttributeNS:function(e,t){return this.getAttributeNodeNS(e,t)!=null},getAttributeNS:function(e,t){var s=this.getAttributeNodeNS(e,t);return s&&s.value||""},setAttributeNS:function(e,t,s){var h=this.ownerDocument.createAttributeNS(e,t);h.value=h.nodeValue=""+s,this.setAttributeNode(h)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(e){return new V(this,function(t){var s=[];return ee(t,function(h){h!==t&&h.nodeType==o&&(e==="*"||h.tagName==e)&&s.push(h)}),s})},getElementsByTagNameNS:function(e,t){return new V(this,function(s){var h=[];return ee(s,function(_){_!==s&&_.nodeType===o&&(e==="*"||_.namespaceURI===e)&&(t==="*"||_.localName==t)&&h.push(_)}),h})}},Z.prototype.getElementsByTagName=x.prototype.getElementsByTagName,Z.prototype.getElementsByTagNameNS=x.prototype.getElementsByTagNameNS,f(x,k);function H(){}H.prototype.nodeType=c,f(H,k);function te(){}te.prototype={data:"",substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},appendChild:function(e){throw new Error(L[3])},deleteData:function(e,t){this.replaceData(e,t,"")},replaceData:function(e,t,s){var h=this.data.substring(0,e),_=this.data.substring(e+t);s=h+s+_,this.nodeValue=this.data=s,this.length=s.length}},f(te,k);function me(){}me.prototype={nodeName:"#text",nodeType:a,splitText:function(e){var t=this.data,s=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var h=this.ownerDocument.createTextNode(s);return this.parentNode&&this.parentNode.insertBefore(h,this.nextSibling),h}},f(me,te);function ve(){}ve.prototype={nodeName:"#comment",nodeType:y},f(ve,te);function ge(){}ge.prototype={nodeName:"#cdata-section",nodeType:r},f(ge,te);function de(){}de.prototype.nodeType=O,f(de,k);function be(){}be.prototype.nodeType=$,f(be,k);function Te(){}Te.prototype.nodeType=l,f(Te,k);function ye(){}ye.prototype.nodeType=u,f(ye,k);function le(){}le.prototype.nodeName="#document-fragment",le.prototype.nodeType=M,f(le,k);function Ee(){}Ee.prototype.nodeType=m,f(Ee,k);function Re(){}Re.prototype.serializeToString=function(e){var t=[];return fe(e,t),t.join("")},k.prototype.toString=function(){return Re.prototype.serializeToString(this)};function fe(e,t){switch(e.nodeType){case o:var s=e.attributes,h=s.length,X=e.firstChild,_=e.tagName,q=i===e.namespaceURI;t.push("<",_);for(var J=0;J"),q&&/^script$/i.test(_))X&&t.push(X.data);else for(;X;)fe(X,t),X=X.nextSibling;t.push("",_,">")}else t.push("/>");return;case N:case M:for(var X=e.firstChild;X;)fe(X,t),X=X.nextSibling;return;case c:return t.push(" ",e.name,'="',e.value.replace(/[<&"]/g,Y),'"');case a:return t.push(e.data.replace(/[<&]/g,Y));case r:return t.push("");case y:return t.push("");case O:var he=e.publicId,K=e.systemId;if(t.push("');else if(K&&K!=".")t.push(' SYSTEM "',K,'">');else{var ne=e.internalSubset;ne&&t.push(" [",ne,"]"),t.push(">")}return;case m:return t.push("",e.target," ",e.data,"?>");case u:return t.push("&",e.nodeName,";");default:t.push("??",e.nodeName)}}function Se(e,t,s){var h;switch(t.nodeType){case o:h=t.cloneNode(!1),h.ownerDocument=e;case M:break;case c:s=!0;break}if(h||(h=t.cloneNode(!1)),h.ownerDocument=e,h.parentNode=null,s)for(var _=t.firstChild;_;)h.appendChild(Se(e,_,s)),_=_.nextSibling;return h}function Ne(e,t,s){var h=new t.constructor;for(var _ in t){var q=t[_];typeof q!="object"&&q!=h[_]&&(h[_]=q)}switch(t.childNodes&&(h.childNodes=new C),h.ownerDocument=e,h.nodeType){case o:var J=t.attributes,X=h.attributes=new W,he=J.length;X._ownerElement=h;for(var K=0;K",amp:"&",quot:'"',apos:"'"};return $&&O.setDocumentLocator($),N.errorHandler=n(M,O,$),N.domBuilder=y.domBuilder||O,/\/x?html?$/.test(m)&&(L.nbsp="\xA0",L.copy="\xA9",I[""]="http://www.w3.org/1999/xhtml"),l?N.parse(l,I,L):N.errorHandler.error("invalid document source"),O.document};function n(l,m,y){if(!l){if(m instanceof o)return m;l=m}var N={},O=l instanceof Function;y=y||{};function M($){var I=l[$];if(!I)if(O)I=l.length==2?function(B){l($,B)}:l;else for(var L=arguments.length;--L&&!(I=l[arguments[L]]););N[$]=I&&function(B){I(B+a(y),B,y)}||function(){}}return M("warning","warn"),M("error","warn","warning"),M("fatalError","warn","warning","error"),N}function o(){this.cdata=!1}function c(l,m){m.lineNumber=l.lineNumber,m.columnNumber=l.columnNumber}o.prototype={startDocument:function(){this.document=new f().createDocument(null,null,null),this.locator&&(this.document.documentURI=this.locator.systemId)},startElement:function(l,m,y,N){var O=this.document,M=O.createElementNS(l,y||m),$=N.length;u(this,M),this.currentElement=M,this.locator&&c(this.locator,M);for(var I=0;I<$;I++){var l=N.getURI(I),L=N.getValue(I),y=N.getQName(I),B=O.createAttributeNS(l,y);B.getOffset&&c(B.getOffset(1),B),B.value=B.nodeValue=L,M.setAttributeNode(B)}},endElement:function(l,m,y){var N=this.currentElement,O=N.tagName;this.currentElement=N.parentNode},startPrefixMapping:function(l,m){},endPrefixMapping:function(l){},processingInstruction:function(l,m){var y=this.document.createProcessingInstruction(l,m);this.locator&&c(this.locator,y),u(this,y)},ignorableWhitespace:function(l,m,y){},characters:function(l,m,y){if(l=r.apply(this,arguments),this.currentElement&&l){if(this.cdata){var N=this.document.createCDATASection(l);this.currentElement.appendChild(N)}else{var N=this.document.createTextNode(l);this.currentElement.appendChild(N)}this.locator&&c(this.locator,N)}},skippedEntity:function(l){},endDocument:function(){this.document.normalize()},setDocumentLocator:function(l){(this.locator=l)&&(l.lineNumber=0)},comment:function(l,m,y){l=r.apply(this,arguments);var N=this.document.createComment(l);this.locator&&c(this.locator,N),u(this,N)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(l,m,y){var N=this.document.implementation;if(N&&N.createDocumentType){var O=N.createDocumentType(l,m,y);this.locator&&c(this.locator,O),u(this,O)}},warning:function(l){console.warn(l,a(this.locator))},error:function(l){console.error(l,a(this.locator))},fatalError:function(l){throw console.error(l,a(this.locator)),l}};function a(l){if(l)return`
@`+(l.systemId||"")+"#[line:"+l.lineNumber+",col:"+l.columnNumber+"]"}function r(l,m,y){return typeof l=="string"?l.substr(m,y):l.length>=m+y||m?new java.lang.String(l,m,y)+"":l}"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(l){o.prototype[l]=function(){return null}});function u(l,m){l.currentElement?l.currentElement.appendChild(m):l.document.appendChild(m)}return{DOMParser:i}});ace.define("ace/mode/xml_worker",[],function(v,D,j){"use strict";var d=v("../lib/oop"),f=v("../lib/lang"),i=v("../worker/mirror").Mirror,n=v("./xml/dom-parser").DOMParser,o=D.Worker=function(c){i.call(this,c),this.setTimeout(400),this.context=null};d.inherits(o,i),function(){this.setOptions=function(c){this.context=c.context},this.onUpdate=function(){var c=this.doc.getValue();if(c){var a=new n,r=[];a.options.errorHandler={fatalError:function(u,l,m){r.push({row:m.lineNumber,column:m.columnNumber,text:l,type:"error"})},error:function(u,l,m){r.push({row:m.lineNumber,column:m.columnNumber,text:l,type:"error"})},warning:function(u,l,m){r.push({row:m.lineNumber,column:m.columnNumber,text:l,type:"warning"})}},a.parseFromString(c),this.sender.emit("error",r)}}}.call(o.prototype)})});Ce();})();
//# sourceMappingURL=44efcea2f84e80cc4092a89796afe886.js.map
© 2015 - 2024 Weber Informatics LLC | Privacy Policy