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

web-interface.assets.657d0a0c1e239d521abb0a46512d7de0.js Maven / Gradle / Ivy

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

//# sourceMappingURL=657d0a0c1e239d521abb0a46512d7de0.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy