56 lines
1.5 MiB
JavaScript
56 lines
1.5 MiB
JavaScript
|
(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[63743],{63743:function(Me,We,Re){(function(O0){if(typeof O0.window!="undefined"&&O0.document||O0.require&&O0.define)return;O0.console||(O0.console=function(){var C0=Array.prototype.slice.call(arguments,0);postMessage({type:"log",data:C0})},O0.console.error=O0.console.warn=O0.console.log=O0.console.trace=O0.console),O0.window=O0,O0.ace=O0,O0.onerror=function(C0,L,h,d,D){postMessage({type:"error",data:{message:C0,data:D&&D.data,file:L,line:h,col:d,stack:D&&D.stack}})},O0.normalizeModule=function(C0,L){if(L.indexOf("!")!==-1){var h=L.split("!");return O0.normalizeModule(C0,h[0])+"!"+O0.normalizeModule(C0,h[1])}if(L.charAt(0)=="."){var d=C0.split("/").slice(0,-1).join("/");for(L=(d?d+"/":"")+L;L.indexOf(".")!==-1&&D!=L;){var D=L;L=L.replace(/^\.\//,"").replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}return L},O0.require=function(L,h){if(h||(h=L,L=null),!h.charAt)throw new Error("worker.js require() accepts only (parentId, id) as arguments");h=O0.normalizeModule(L,h);var d=O0.require.modules[h];if(d)return d.initialized||(d.initialized=!0,d.exports=d.factory().exports),d.exports;if(!O0.require.tlns)return console.log("unable to load "+h);var D=a5(h,O0.require.tlns);return D.slice(-3)!=".js"&&(D+=".js"),O0.require.id=h,O0.require.modules[h]={},importScripts(D),O0.require(L,h)};function a5(C0,L){for(var h=C0,d="";h;){var D=L[h];if(typeof D=="string")return D+d;if(D)return D.location.replace(/\/*$/,"/")+(d||D.main||D.name);if(D===!1)return"";var E=h.lastIndexOf("/");if(E===-1)break;d=h.substr(E)+d,h=h.slice(0,E)}return C0}O0.require.modules={},O0.require.tlns={},O0.define=function(C0,L,h){if(arguments.length==2?(h=L,typeof C0!="string"&&(L=C0,C0=O0.require.id)):arguments.length==1&&(h=C0,L=[],C0=O0.require.id),typeof h!="function"){O0.require.modules[C0]={exports:h,initialized:!0};return}L.length||(L=["require","exports","module"]);var d=function(D){return O0.require(C0,D)};O0.require.modules[C0]={exports:{},factory:function(){var D=this,E=h.apply(this,L.slice(0,h.length).map(function(g){switch(g){case"require":return d;case"exports":return D.exports;case"module":return D;default:return d(g)}}));return E&&(D.exports=E),D}}},O0.define.amd={},O0.require.tlns={},O0.initBaseUrls=function(L){for(var h in L)this.require.tlns[h]=L[h]},O0.initSender=function(){var L=O0.require("ace/lib/event_emitter").EventEmitter,h=O0.require("ace/lib/oop"),d=function(){};return function(){h.implement(this,L),this.callback=function(D,E){postMessage({type:"call",id:E,data:D})},this.emit=function(D,E){postMessage({type:"event",name:D,data:E})}}.call(d.prototype),new d};var l1=O0.main=null,h0=O0.sender=null;O0.onmessage=function(C0){var L=C0.data;if(L.event&&h0)h0._signal(L.event,L.data);else if(L.command)if(l1[L.command])l1[L.command].apply(l1,L.args);else if(O0[L.command])O0[L.command].apply(O0,L.args);else throw new Error("Unknown command:"+L.command);else if(L.init){O0.initBaseUrls(L.tlns),h0=O0.sender=O0.initSender();var h=this.require(L.module)[L.classname];l1=O0.main=new h(h0)}}})(this),ace.define("ace/lib/oop",[],function(O0,a5,l1){"use strict";a5.inherits=function(h0,C0){h0.super_=C0,h0.prototype=Object.create(C0.prototype,{constructor:{value:h0,enumerable:!1,writable:!0,configurable:!0}})},a5.mixin=function(h0,C0){for(var L in C0)h0[L]=C0[L];return h0},a5.implement=function(h0,C0){a5.mixin(h0,C0)}}),ace.define("ace/apply_delta",[],function(O0,a5,l1){"use strict";function h0(h,d){throw console.log("Invalid Delta:",h),"Invalid Delta: "+d}function C0(h,d){return d.row>=0&&d.row<h.length&&d.column>=0&&d.column<=h[d.row].length}function L(h,d){d.action!="insert"&&d.action!="remove"&&h0(d,"delta.action must be 'insert' or 'remove'"),d.lines instanceof Array||h0(d,"delta.lines must be an Array"),(!d.start||!d.end)&&h0(d,"delta.start/end must be an present");var D=d.start;C0(h,d.start)||h0(d,"delta.start must be contained in document");var E=d.end;d.action=="remove"&&!C0(h,E)&&h0(d,"delta.end must contained in document for 'remove' actions");var g=E.row-D.row,T=E.column-(g
|
||
|
`,this._signal("changeNewLineMode")},E.prototype.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return`\r
|
||
|
`;case"unix":return`
|
||
|
`;default:return this.$autoNewLine||`
|
||
|
`}},E.prototype.setNewLineMode=function(g){this.$newLineMode!==g&&(this.$newLineMode=g,this._signal("changeNewLineMode"))},E.prototype.getNewLineMode=function(){return this.$newLineMode},E.prototype.isNewLine=function(g){return g==`\r
|
||
|
`||g=="\r"||g==`
|
||
|
`},E.prototype.getLine=function(g){return this.$lines[g]||""},E.prototype.getLines=function(g,T){return this.$lines.slice(g,T+1)},E.prototype.getAllLines=function(){return this.getLines(0,this.getLength())},E.prototype.getLength=function(){return this.$lines.length},E.prototype.getTextRange=function(g){return this.getLinesForRange(g).join(this.getNewLineCharacter())},E.prototype.getLinesForRange=function(g){var T;if(g.start.row===g.end.row)T=[this.getLine(g.start.row).substring(g.start.column,g.end.column)];else{T=this.getLines(g.start.row,g.end.row),T[0]=(T[0]||"").substring(g.start.column);var V=T.length-1;g.end.row-g.start.row==V&&(T[V]=T[V].substring(0,g.end.column))}return T},E.prototype.insertLines=function(g,T){return console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."),this.insertFullLines(g,T)},E.prototype.removeLines=function(g,T){return console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."),this.removeFullLines(g,T)},E.prototype.insertNewLine=function(g){return console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, ['', '']) instead."),this.insertMergedLines(g,["",""])},E.prototype.insert=function(g,T){return this.getLength()<=1&&this.$detectNewLine(T),this.insertMergedLines(g,this.$split(T))},E.prototype.insertInLine=function(g,T){var V=this.clippedPos(g.row,g.column),M=this.pos(g.row,g.column+T.length);return this.applyDelta({start:V,end:M,action:"insert",lines:[T]},!0),this.clonePos(M)},E.prototype.clippedPos=function(g,T){var V=this.getLength();g===void 0?g=V:g<0?g=0:g>=V&&(g=V-1,T=void 0);var M=this.getLine(g);return T==null&&(T=M.length),T=Math.min(Math.max(T,0),M.length),{row:g,column:T}},E.prototype.clonePos=function(g){return{row:g.row,column:g.column}},E.prototype.pos=function(g,T){return{row:g,column:T}},E.prototype.$clipPosition=function(g){var T=this.getLength();return g.row>=T?(g.row=Math.max(0,T-1),g.column=this.getLine(T-1).length):(g.row=Math.max(0,g.row),g.column=Math.min(Math.max(g.column,0),this.getLine(g.row).length)),g},E.prototype.insertFullLines=function(g,T){g=Math.min(Math.max(g,0),this.getLength());var V=0;g<this.getLength()?(T=T.concat([""]),V=0):(T=[""].concat(T),g--,V=this.$lines[g].length),this.insertMergedLines({row:g,column:V},T)},E.prototype.insertMergedLines=function(g,T){var V=this.clippedPos(g.row,g.column),M={row:V.row+T.length-1,column:(T.length==1?V.column:0)+T[T.length-1].length};return this.applyDelta({start:V,end:M,action:"insert",lines:T}),this.clonePos(M)},E.prototype.remove=function(g){var T=this.clippedPos(g.start.row,g.start.column),V=this.clippedPos(g.end.row,g.end.column);return this.applyDelta({start:T,end:V,action:"remove",lines:this.getLinesForRange({start:T,end:V})}),this.clonePos(T)},E.prototype.removeInLine=function(g,T,V){var M=this.clippedPos(g,T),z=this.clippedPos(g,V);return this.applyDelta({start:M,end:z,action:"remove",lines:this.getLinesForRange({start:M,end:z})},!0),this.clonePos(M)},E.prototype.removeFullLines=function(g,T){g=Math.min(Math.max(0,g),this.getLength()-1),T=Math.min(Math.max(0,T),this.getLength()-1);var V=T==this.getLength()-1&&g>0,M=T<this.getLength()-1,z=V?g-1:g,v0=V?this.getLine(z).length:0,p=M?T+1:T,D0=M?0:this.getLine(p).length,x=new h(z,v0,p,D0),J=this.$lines.slice(g,T+1);return this.applyDelta({start:x.start,end:x.end,action:"remove",lines:this.getLinesForRange(x)}),J},E.prototype.removeNewLine=function(g){g<this.getLength()-1&&g>=0&&this.applyDelta({start:this.pos(g,this.getLine(g).length),end:this.pos(g+1,0),action:"remove",lines:["",""]})},E.prototype.replace=function(g,T){if(g instanceof h||(g=h.fromPoints(g.start,g.end)),T.length===0&&g.isEmpty())return g.start;if(T==this.getTextRange(g))return g.end;this.remove(g);var V;return T?V=this.insert(g.start,T):V=g.start,V},E.prototype.applyDeltas=function(g){for(var T=0;T<g.length;T++)this.applyDelta(g[T])},E.prototype.revertDeltas=function(g){for(var T=g.length-1;T>=0;T--)this.revertDelta(g[T])},E.prototype.applyDelta=function(g,T){var V=g.action=="ins
|
||
|
`).split(`
|
||
|
`)}:function(E){return E.split(/\r\n|\r|\n/)},D.prototype.$autoNewLine="",D.prototype.$newLineMode="auto",h0.implement(D.prototype,L),a5.Document=D}),ace.define("ace/lib/lang",[],function(O0,a5,l1){"use strict";a5.last=function(L){return L[L.length-1]},a5.stringReverse=function(L){return L.split("").reverse().join("")},a5.stringRepeat=function(L,h){for(var d="";h>0;)h&1&&(d+=L),(h>>=1)&&(L+=L);return d};var h0=/^\s\s*/,C0=/\s\s*$/;a5.stringTrimLeft=function(L){return L.replace(h0,"")},a5.stringTrimRight=function(L){return L.replace(C0,"")},a5.copyObject=function(L){var h={};for(var d in L)h[d]=L[d];return h},a5.copyArray=function(L){for(var h=[],d=0,D=L.length;d<D;d++)L[d]&&typeof L[d]=="object"?h[d]=this.copyObject(L[d]):h[d]=L[d];return h},a5.deepCopy=function L(h){if(typeof h!="object"||!h)return h;var d;if(Array.isArray(h)){d=[];for(var D=0;D<h.length;D++)d[D]=L(h[D]);return d}if(Object.prototype.toString.call(h)!=="[object Object]")return h;d={};for(var D in h)d[D]=L(h[D]);return d},a5.arrayToMap=function(L){for(var h={},d=0;d<L.length;d++)h[L[d]]=1;return h},a5.createMap=function(L){var h=Object.create(null);for(var d in L)h[d]=L[d];return h},a5.arrayRemove=function(L,h){for(var d=0;d<=L.length;d++)h===L[d]&&L.splice(d,1)},a5.escapeRegExp=function(L){return L.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")},a5.escapeHTML=function(L){return(""+L).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<")},a5.getMatchOffsets=function(L,h){var d=[];return L.replace(h,function(D){d.push({offset:arguments[arguments.length-2],length:D.length})}),d},a5.deferredCall=function(L){var h=null,d=function(){h=null,L()},D=function(E){return D.cancel(),h=setTimeout(d,E||0),D};return D.schedule=D,D.call=function(){return this.cancel(),L(),D},D.cancel=function(){return clearTimeout(h),h=null,D},D.isPending=function(){return h},D},a5.delayedCall=function(L,h){var d=null,D=function(){d=null,L()},E=function(g){d==null&&(d=setTimeout(D,g||h))};return E.delay=function(g){d&&clearTimeout(d),d=setTimeout(D,g||h)},E.schedule=E,E.call=function(){this.cancel(),L()},E.cancel=function(){d&&clearTimeout(d),d=null},E.isPending=function(){return d},E}}),ace.define("ace/worker/mirror",[],function(O0,a5,l1){"use strict";var h0=O0("../document").Document,C0=O0("../lib/lang"),L=a5.Mirror=function(h){this.sender=h;var d=this.doc=new h0(""),D=this.deferredUpdate=C0.delayedCall(this.onUpdate.bind(this)),E=this;h.on("change",function(g){var T=g.data;if(T[0].start)d.applyDeltas(T);else for(var V=0;V<T.length;V+=2){var M,z;if(Array.isArray(T[V+1])?M={action:"insert",start:T[V],lines:T[V+1]}:M={action:"remove",start:T[V],end:T[V+1]},(M.action=="insert"?M.start:M.end).row>=d.$lines.length)throw z=new Error("Invalid delta"),z.data={path:E.$path,linesLength:d.$lines.length,start:M.start,end:M.end},z;d.applyDelta(M,!0)}if(E.$timeout)return D.schedule(E.$timeout);E.onUpdate()})};(function(){this.$timeout=500,this.setTimeout=function(h){this.$timeout=h},this.setValue=function(h){this.doc.setValue(h),this.deferredUpdate.schedule(this.$timeout)},this.getValue=function(h){this.sender.callback(this.doc.getValue(),h)},this.onUpdate=function(){},this.isPending=function(){return this.deferredUpdate.isPending()}}).call(L.prototype)}),ace.define("ace/mode/xquery/xqlint",[],function(O0,a5,l1){l1.exports=function h0(C0,L,h){var d=typeof O0=="function"&&O0;function D(g,T){if(!L[g]){if(!C0[g]){var V=typeof O0=="function"&&O0;if(!T&&V)return V(g,!0);if(d)return d(g,!0);var M=new Error("Cannot find module '"+g+"'");throw M.code="MODULE_NOT_FOUND",M}var z=L[g]={exports:{}};C0[g][0].call(z.exports,function(v0){var p=C0[g][1][v0];return D(p||v0)},z,z.exports,h0,C0,L,h)}return L[g].exports}for(var E=0;E<h.length;E++)D(h[E]);return D(h[0])}({"/node_modules/xqlint/lib/compiler/errors.js":[function(h0,C0,L){"use strict";var h=function(E,g,T,V,M){if(!g)throw new Error(M+" code is missing.");if(!T)throw new Error(M+" message is missing.");if(!V)throw new Error(M+" position is missing.");E.getCode=function(){return g},E.getMessage=function(){return T},E.getPos=func
|
||
|
`)[T0.line],w=h.findNode(j,T0),e0=h.findNode(Y,T0);return e0=e0||Y,w&&w.name==="URILiteral"&&w.getParent&&w.getParent.name==="ModuleImport"?I0(F0,T0,e0):k0(F0,T0,e0)}},{"../tree_ops":"/node_modules/xqlint/lib/tree_ops.js"}],"/node_modules/xqlint/lib/formatter/style_checker.js":[function(h0,C0,L){L.StyleChecker=function(h,d){"use strict";var D=" ",E=[];this.getMarkers=function(){return E},this.WS=function(g){var T=g.value.split(`
|
||
|
`);return T.forEach(function(V,M){var z=M===0,v0=M===T.length-1;/\r$/.test(V)&&E.push({pos:{sl:g.pos.sl+M,el:g.pos.sl+M,sc:V.length-1,ec:V.length},type:"warning",level:"warning",message:"[SW01] Detected CRLF"});var p=V.match(/\t+/);if(p!==null&&E.push({pos:{sl:g.pos.sl+M,el:g.pos.sl+M,sc:p.index,ec:p.index+p[0].length},type:"warning",level:"warning",message:"[SW02] Tabs detected"}),!z&&v0&&(p=V.match(/^\ +/),p!==null)){var D0=p[0].length%D.length;D0!==0&&E.push({pos:{sl:g.pos.sl+M,el:g.pos.sl+M,sc:p.index,ec:p.index+p[0].length},type:"warning",level:"warning",message:"[SW03] Unexcepted indentation of "+p[0].length})}}),!0},this.visit=function(g,T){var V=g.name,M=!1;typeof this[V]=="function"&&(M=this[V](g,T)===!0),M||this.visitChildren(g)},this.visitChildren=function(g,T){for(var V=0;V<g.children.length;V++){var M=g.children[V];T!==void 0&&typeof T[M.name]=="function"?T[M.name](M):this.visit(M)}},d.split(`
|
||
|
`).forEach(function(g,T){var V=g.match(/\ +$/);V&&E.push({pos:{sl:T,el:T,sc:V.index,ec:V.index+V[0].length},type:"warning",level:"warning",message:"[SW04] Trailing whitespace"})}),this.visit(h)}},{}],"/node_modules/xqlint/lib/lexers/JSONiqTokenizer.js":[function(h0,C0,L){var h=L.JSONiqTokenizer=function d(D,E){T(D,E);var g=this;this.ParseException=function(d0,E0,V0,X0,i5){var t5=d0,e5=E0,G0=V0,Y0=X0,w5=i5;this.getBegin=function(){return t5},this.getEnd=function(){return e5},this.getState=function(){return G0},this.getExpected=function(){return w5},this.getOffending=function(){return Y0},this.getMessage=function(){return Y0<0?"lexical analysis failed":"syntax error"}};function T(d0,E0){w=E0,e0=d0,x0=d0.length,V(0,0,0)}this.getInput=function(){return e0};function V(d0,E0,V0){_0=E0,j=E0,Y=d0,T0=E0,F0=V0,g0=V0,w.reset(e0)}this.getOffendingToken=function(d0){var E0=d0.getOffending();return E0>=0?d.TOKEN[E0]:null},this.getExpectedTokenSet=function(d0){var E0;return d0.getExpected()<0?E0=d.getTokenSet(-d0.getState()):E0=[d.TOKEN[d0.getExpected()]],E0},this.getErrorMessage=function(d0){var E0=this.getExpectedTokenSet(d0),V0=this.getOffendingToken(d0),X0=e0.substring(0,d0.getBegin()),i5=X0.split(`
|
||
|
`),t5=i5.length,e5=i5[t5-1].length+1,G0=d0.getEnd()-d0.getBegin();return d0.getMessage()+(V0==null?"":", found "+V0)+`
|
||
|
while expecting `+(E0.length==1?E0[0]:"["+E0.join(", ")+"]")+`
|
||
|
`+(G0==0||V0!=null?"":"after successfully scanning "+G0+" characters beginning ")+"at line "+t5+", column "+e5+`:
|
||
|
...`+e0.substring(d0.getBegin(),Math.min(e0.length,d0.getBegin()+64))+"..."},this.parse_start=function(){switch(w.startNonterminal("start",j),J(14),Y){case 58:p(58);break;case 57:p(57);break;case 59:p(59);break;case 43:p(43);break;case 45:p(45);break;case 44:p(44);break;case 37:p(37);break;case 41:p(41);break;case 277:p(277);break;case 274:p(274);break;case 42:p(42);break;case 46:p(46);break;case 52:p(52);break;case 65:p(65);break;case 66:p(66);break;case 49:p(49);break;case 51:p(51);break;case 56:p(56);break;case 54:p(54);break;case 36:p(36);break;case 276:p(276);break;case 40:p(40);break;case 5:p(5);break;case 4:p(4);break;case 6:p(6);break;case 15:p(15);break;case 16:p(16);break;case 18:p(18);break;case 19:p(19);break;case 20:p(20);break;case 8:p(8);break;case 9:p(9);break;case 7:p(7);break;case 35:p(35);break;default:M()}w.endNonterminal("start",j)},this.parse_StartTag=function(){switch(w.startNonterminal("StartTag",j),J(8),Y){case 61:p(61);break;case 53:p(53);break;case 29:p(29);break;case 60:p(60);break;case 37:p(37);break;case 41:p(41);break;default:p(35)}w.endNonterminal("StartTag",j)},this.parse_TagContent=function(){switch(w.startNonterminal("TagContent",j),Z(11),Y){case 25:p(25);break;case 9:p(9);break;case 10:p(10);break;case 58:p(58);break;case 57:p(57);break;case 21:p(21);break;case 31:p(31);break;case 275:p(275);break;case 278:p(278);break;case 274:p(274);break;default:p(35)}w.endNonterminal("TagContent",j)},this.parse_AposAttr=function(){switch(w.startNonterminal("AposAttr",j),Z(10),Y){case 23:p(23);break;case 27:p(27);break;case 21:p(21);break;case 31:p(31);break;case 275:p(275);break;case 278:p(278);break;case 274:p(274);break;case 41:p(41);break;default:p(35)}w.endNonterminal("AposAttr",j)},this.parse_QuotAttr=function(){switch(w.startNonterminal("QuotAttr",j),Z(9),Y){case 22:p(22);break;case 26:p(26);break;case 21:p(21);break;case 31:p(31);break;case 275:p(275);break;case 278:p(278);break;case 274:p(274);break;case 37:p(37);break;default:p(35)}w.endNonterminal("QuotAttr",j)},this.parse_CData=function(){switch(w.startNonterminal("CData",j),Z(1),Y){case 14:p(14);break;case 67:p(67);break;default:p(35)}w.endNonterminal("CData",j)},this.parse_XMLComment=function(){switch(w.startNonterminal("XMLComment",j),Z(0),Y){case 12:p(12);break;case 50:p(50);break;default:p(35)}w.endNonterminal("XMLComment",j)},this.parse_PI=function(){switch(w.startNonterminal("PI",j),Z(3),Y){case 13:p(13);break;case 62:p(62);break;case 63:p(63);break;default:p(35)}w.endNonterminal("PI",j)},this.parse_Pragma=function(){switch(w.startNonterminal("Pragma",j),Z(2),Y){case 11:p(11);break;case 38:p(38);break;case 39:p(39);break;default:p(35)}w.endNonterminal("Pragma",j)},this.parse_Comment=function(){switch(w.startNonterminal("Comment",j),Z(4),Y){case 55:p(55);break;case 44:p(44);break;case 32:p(32);break;default:p(35)}w.endNonterminal("Comment",j)},this.parse_CommentDoc=function(){switch(w.startNonterminal("CommentDoc",j),Z(6),Y){case 33:p(33);break;case 34:p(34);break;case 55:p(55);break;case 44:p(44);break;default:p(35)}w.endNonterminal("CommentDoc",j)},this.parse_QuotString=function(){switch(w.startNonterminal("QuotString",j),Z(5),Y){case 3:p(3);break;case 2:p(2);break;case 1:p(1);break;case 37:p(37);break;default:p(35)}w.endNonterminal("QuotString",j)},this.parse_AposString=function(){switch(w.startNonterminal("AposString",j),Z(7),Y){case 21:p(21);break;case 31:p(31);break;case 23:p(23);break;case 24:p(24);break;case 41:p(41);break;default:p(35)}w.endNonterminal("AposString",j)},this.parse_Prefix=function(){w.startNonterminal("Prefix",j),J(13),D0(),v0(),w.endNonterminal("Prefix",j)},this.parse__EQName=function(){w.startNonterminal("_EQName",j),J(12),D0(),M(),w.endNonterminal("_EQName",j)};function M(){switch(w.startNonterminal("EQName",j),Y){case 80:p(80);break;case 94:p(94);break;case 118:p(118);break;case 119:p(119);break;case 122:p(122);break;case 143:p(143);break;case 150:p(150);break;case 163:p(163);break;case 183:p(183);break;case 189:p(189);break;case 214:p(214);break;case 224:p(224);break;case 225:p(225);break;case 241:p(24
|
||
|
`),t5=i5.length,e5=i5[t5-1].length+1,G0=d0.getEnd()-d0.getBegin();return d0.getMessage()+(V0==null?"":", found "+V0)+`
|
||
|
while expecting `+(E0.length==1?E0[0]:"["+E0.join(", ")+"]")+`
|
||
|
`+(G0==0||V0!=null?"":"after successfully scanning "+G0+" characters beginning ")+"at line "+t5+", column "+e5+`:
|
||
|
...`+e0.substring(d0.getBegin(),Math.min(e0.length,d0.getBegin()+64))+"..."},this.parse_start=function(){switch(w.startNonterminal("start",j),J(14),Y){case 55:p(55);break;case 54:p(54);break;case 56:p(56);break;case 40:p(40);break;case 42:p(42);break;case 41:p(41);break;case 35:p(35);break;case 38:p(38);break;case 274:p(274);break;case 271:p(271);break;case 39:p(39);break;case 43:p(43);break;case 49:p(49);break;case 62:p(62);break;case 63:p(63);break;case 46:p(46);break;case 48:p(48);break;case 53:p(53);break;case 51:p(51);break;case 34:p(34);break;case 273:p(273);break;case 2:p(2);break;case 1:p(1);break;case 3:p(3);break;case 12:p(12);break;case 13:p(13);break;case 15:p(15);break;case 16:p(16);break;case 17:p(17);break;case 5:p(5);break;case 6:p(6);break;case 4:p(4);break;case 33:p(33);break;default:M()}w.endNonterminal("start",j)},this.parse_StartTag=function(){switch(w.startNonterminal("StartTag",j),J(8),Y){case 58:p(58);break;case 50:p(50);break;case 27:p(27);break;case 57:p(57);break;case 35:p(35);break;case 38:p(38);break;default:p(33)}w.endNonterminal("StartTag",j)},this.parse_TagContent=function(){switch(w.startNonterminal("TagContent",j),Z(11),Y){case 23:p(23);break;case 6:p(6);break;case 7:p(7);break;case 55:p(55);break;case 54:p(54);break;case 18:p(18);break;case 29:p(29);break;case 272:p(272);break;case 275:p(275);break;case 271:p(271);break;default:p(33)}w.endNonterminal("TagContent",j)},this.parse_AposAttr=function(){switch(w.startNonterminal("AposAttr",j),Z(10),Y){case 20:p(20);break;case 25:p(25);break;case 18:p(18);break;case 29:p(29);break;case 272:p(272);break;case 275:p(275);break;case 271:p(271);break;case 38:p(38);break;default:p(33)}w.endNonterminal("AposAttr",j)},this.parse_QuotAttr=function(){switch(w.startNonterminal("QuotAttr",j),Z(9),Y){case 19:p(19);break;case 24:p(24);break;case 18:p(18);break;case 29:p(29);break;case 272:p(272);break;case 275:p(275);break;case 271:p(271);break;case 35:p(35);break;default:p(33)}w.endNonterminal("QuotAttr",j)},this.parse_CData=function(){switch(w.startNonterminal("CData",j),Z(1),Y){case 11:p(11);break;case 64:p(64);break;default:p(33)}w.endNonterminal("CData",j)},this.parse_XMLComment=function(){switch(w.startNonterminal("XMLComment",j),Z(0),Y){case 9:p(9);break;case 47:p(47);break;default:p(33)}w.endNonterminal("XMLComment",j)},this.parse_PI=function(){switch(w.startNonterminal("PI",j),Z(3),Y){case 10:p(10);break;case 59:p(59);break;case 60:p(60);break;default:p(33)}w.endNonterminal("PI",j)},this.parse_Pragma=function(){switch(w.startNonterminal("Pragma",j),Z(2),Y){case 8:p(8);break;case 36:p(36);break;case 37:p(37);break;default:p(33)}w.endNonterminal("Pragma",j)},this.parse_Comment=function(){switch(w.startNonterminal("Comment",j),Z(4),Y){case 52:p(52);break;case 41:p(41);break;case 30:p(30);break;default:p(33)}w.endNonterminal("Comment",j)},this.parse_CommentDoc=function(){switch(w.startNonterminal("CommentDoc",j),Z(5),Y){case 31:p(31);break;case 32:p(32);break;case 52:p(52);break;case 41:p(41);break;default:p(33)}w.endNonterminal("CommentDoc",j)},this.parse_QuotString=function(){switch(w.startNonterminal("QuotString",j),Z(6),Y){case 18:p(18);break;case 29:p(29);break;case 19:p(19);break;case 21:p(21);break;case 35:p(35);break;default:p(33)}w.endNonterminal("QuotString",j)},this.parse_AposString=function(){switch(w.startNonterminal("AposString",j),Z(7),Y){case 18:p(18);break;case 29:p(29);break;case 20:p(20);break;case 22:p(22);break;case 38:p(38);break;default:p(33)}w.endNonterminal("AposString",j)},this.parse_Prefix=function(){w.startNonterminal("Prefix",j),J(13),D0(),v0(),w.endNonterminal("Prefix",j)},this.parse__EQName=function(){w.startNonterminal("_EQName",j),J(12),D0(),M(),w.endNonterminal("_EQName",j)};function M(){switch(w.startNonterminal("EQName",j),Y){case 77:p(77);break;case 91:p(91);break;case 115:p(115);break;case 116:p(116);break;case 119:p(119);break;case 140:p(140);break;case 147:p(147);break;case 160:p(160);break;case 180:p(180);break;case 186:p(186);break;case 211:p(211);break;case 221:p(221);break;case 222:p(222);break;case 238:p(23
|
||
|
`).length-1,T0=g.value.lastIndexOf(`
|
||
|
`),F0=T0===-1?j+g.value.length:g.value.substring(T0+1).length;z=Y,M=F0,g.pos.sl=_0,g.pos.sc=j,g.pos.el=Y,g.pos.ec=F0}}},{}],"/node_modules/xqlint/lib/parsers/JSONiqParser.js":[function(h0,C0,L){var h=L.JSONiqParser=function d(D,E){T(D,E);var g=this;this.ParseException=function(K,F,a0,n0,B){var l0=K,p0=F,q=a0,R0=n0,U0=B;this.getBegin=function(){return l0},this.getEnd=function(){return p0},this.getState=function(){return q},this.getExpected=function(){return U0},this.getOffending=function(){return R0},this.getMessage=function(){return R0<0?"lexical analysis failed":"syntax error"}};function T(K,F){b=F,o0=K,J0=K.length,V(0,0,0)}this.getInput=function(){return o0};function V(K,F,a0){r0=F,t=F,l=K,W=F,Q=a0,P=0,O=a0,P7=-1,b0={},b.reset(o0)}this.getOffendingToken=function(K){var F=K.getOffending();return F>=0?d.TOKEN[F]:null},this.getExpectedTokenSet=function(K){var F;return K.getExpected()<0?F=d.getTokenSet(-K.getState()):F=[d.TOKEN[K.getExpected()]],F},this.getErrorMessage=function(K){var F=this.getExpectedTokenSet(K),a0=this.getOffendingToken(K),n0=o0.substring(0,K.getBegin()),B=n0.split(`
|
||
|
`),l0=B.length,p0=B[l0-1].length+1,q=K.getEnd()-K.getBegin();return K.getMessage()+(a0==null?"":", found "+a0)+`
|
||
|
while expecting `+(F.length==1?F[0]:"["+F.join(", ")+"]")+`
|
||
|
`+(q==0||a0!=null?"":"after successfully scanning "+q+" characters beginning ")+"at line "+l0+", column "+p0+`:
|
||
|
...`+o0.substring(K.getBegin(),Math.min(o0.length,K.getBegin()+64))+"..."},this.parse_XQuery=function(){b.startNonterminal("XQuery",t),n(277),N(),M(),s(25),b.endNonterminal("XQuery",t)};function M(){switch(b.startNonterminal("Module",t),l){case 170:C(168);break;default:e=l}switch((e==64682||e==137898)&&z(),n(277),l){case 185:C(146);break;default:e=l}switch(e){case 95929:N(),v0();break;default:N(),z8()}b.endNonterminal("Module",t)}function z(){switch(b.startNonterminal("VersionDecl",t),s(170),n(120),l){case 126:s(126),n(17),s(11);break;default:s(269),n(17),s(11),n(113),l==126&&(s(126),n(17),s(11))}n(29),N(),x(),b.endNonterminal("VersionDecl",t)}function v0(){b.startNonterminal("LibraryModule",t),p(),n(142),N(),D0(),b.endNonterminal("LibraryModule",t)}function p(){b.startNonterminal("ModuleDecl",t),s(185),n(64),s(187),n(239),N(),V1(),n(30),s(61),n(15),s(7),n(29),N(),x(),b.endNonterminal("ModuleDecl",t)}function D0(){for(b.startNonterminal("Prolog",t);;){switch(n(277),l){case 109:C(206);break;case 155:C(169);break;default:e=l}if(e!=43117&&e!=44141&&e!=50797&&e!=53869&&e!=54893&&e!=56429&&e!=73325&&e!=94875&&e!=95853&&e!=106093&&e!=115821&&e!=117403)break;switch(l){case 109:C(200);break;default:e=l}if(e==56429&&(e=u0(0,t),e==0)){var K=r0,F=t,a0=l,n0=W,B=Q,l0=P,p0=s0,q=c0;try{t5(),e=-1}catch(R0){e=-2}r0=K,t=F,l=a0,l==0?O=F:(W=n0,Q=B,P=l0,P==0?O=B:(s0=p0,c0=q,O=q)),G(0,t,e)}switch(e){case-1:N(),i5();break;case 95853:N(),X0();break;case 155:N(),z0();break;case 73325:N(),e5();break;default:N(),J()}n(29),N(),x()}for(;;){switch(n(277),l){case 109:C(201);break;default:e=l}if(e!=17005&&e!=49261&&e!=52333&&e!=75373&&e!=80493&&e!=83565&&e!=104045&&e!=134765&&e!=137325)break;switch(l){case 109:C(197);break;default:e=l}switch(e){case 52333:N(),L7();break;case 104045:N(),r4();break;default:N(),G0()}n(29),N(),x()}b.endNonterminal("Prolog",t)}function x(){b.startNonterminal("Separator",t),s(54),b.endNonterminal("Separator",t)}function J(){switch(b.startNonterminal("Setter",t),l){case 109:C(194);break;default:e=l}if(e==56429&&(e=u0(1,t),e==0)){var K=r0,F=t,a0=l,n0=W,B=Q,l0=P,p0=s0,q=c0;try{I0(),e=-2}catch(R0){try{r0=K,t=F,l=a0,l==0?O=F:(W=n0,Q=B,P=l0,P==0?O=B:(s0=p0,c0=q,O=q)),F0(),e=-6}catch(U0){e=-9}}r0=K,t=F,l=a0,l==0?O=F:(W=n0,Q=B,P=l0,P==0?O=B:(s0=p0,c0=q,O=q)),G(1,t,e)}switch(e){case 44141:Z();break;case-2:k0();break;case 43117:_0();break;case 50797:j();break;case 106093:Y();break;case-6:T0();break;case 115821:O6();break;case 53869:w();break;default:S0()}b.endNonterminal("Setter",t)}function Z(){switch(b.startNonterminal("BoundarySpaceDecl",t),s(109),n(36),s(86),n(137),l){case 218:s(218);break;default:s(246)}b.endNonterminal("BoundarySpaceDecl",t)}function k0(){b.startNonterminal("DefaultCollationDecl",t),s(109),n(49),s(110),n(41),s(95),n(15),s(7),b.endNonterminal("DefaultCollationDecl",t)}function I0(){c(109),n(49),c(110),n(41),c(95),n(15),c(7)}function _0(){b.startNonterminal("BaseURIDecl",t),s(109),n(35),s(84),n(15),s(7),b.endNonterminal("BaseURIDecl",t)}function j(){switch(b.startNonterminal("ConstructionDecl",t),s(109),n(44),s(99),n(137),l){case 246:s(246);break;default:s(218)}b.endNonterminal("ConstructionDecl",t)}function Y(){switch(b.startNonterminal("OrderingModeDecl",t),s(109),n(71),s(207),n(135),l){case 206:s(206);break;default:s(262)}b.endNonterminal("OrderingModeDecl",t)}function T0(){switch(b.startNonterminal("EmptyOrderDecl",t),s(109),n(49),s(110),n(70),s(205),n(52),s(124),n(125),l){case 149:s(149);break;default:s(176)}b.endNonterminal("EmptyOrderDecl",t)}function F0(){switch(c(109),n(49),c(110),n(70),c(205),n(52),c(124),n(125),l){case 149:c(149);break;default:c(176)}}function w(){b.startNonterminal("CopyNamespacesDecl",t),s(109),n(47),s(105),n(132),N(),e0(),n(25),s(42),n(127),N(),x0(),b.endNonterminal("CopyNamespacesDecl",t)}function e0(){switch(b.startNonterminal("PreserveMode",t),l){case 218:s(218);break;default:s(193)}b.endNonterminal("PreserveMode",t)}function x0(){switch(b.startNonterminal("InheritMode",t),l){case 159:s(159);break;default:s(192)}b.endNonterminal("InheritMode",t)}function S0(){switch(b.startNonter
|
||
|
`),G=b0.length,u0=b0[G-1].length+1,o0=m0.getEnd()-m0.getBegin();return m0.getMessage()+(N0==null?"":", found "+N0)+`
|
||
|
while expecting `+(X.length==1?X[0]:"["+X.join(", ")+"]")+`
|
||
|
`+(o0==0||N0!=null?"":"after successfully scanning "+o0+" characters beginning ")+"at line "+G+", column "+u0+`:
|
||
|
...`+P.substring(m0.getBegin(),Math.min(P.length,m0.getBegin()+64))+"..."},this.parse_XQuery=function(){t.startNonterminal("XQuery",s),o(274),y(),M(),u(25),t.endNonterminal("XQuery",s)};function M(){switch(t.startNonterminal("Module",s),c){case 274:U(198);break;default:a=c}switch((a==64274||a==134930)&&z(),o(274),c){case 182:U(193);break;default:a=c}switch(a){case 94390:y(),v0();break;default:y(),ee()}t.endNonterminal("Module",s)}function z(){switch(t.startNonterminal("VersionDecl",s),u(274),o(116),c){case 125:u(125),o(17),u(11);break;default:u(263),o(17),u(11),o(109),c==125&&(u(125),o(17),u(11))}o(28),y(),x(),t.endNonterminal("VersionDecl",s)}function v0(){t.startNonterminal("LibraryModule",s),p(),o(138),y(),D0(),t.endNonterminal("LibraryModule",s)}function p(){t.startNonterminal("ModuleDecl",s),u(182),o(61),u(184),o(248),y(),s2(),o(29),u(60),o(15),u(7),o(28),y(),x(),t.endNonterminal("ModuleDecl",s)}function D0(){for(t.startNonterminal("Prolog",s);;){switch(o(274),c){case 108:U(213);break;case 153:U(201);break;default:a=c}if(a!=42604&&a!=43628&&a!=50284&&a!=53356&&a!=54380&&a!=55916&&a!=72300&&a!=93337&&a!=94316&&a!=104044&&a!=113772&&a!=115353)break;switch(c){case 108:U(178);break;default:a=c}if(a==55916&&(a=Q(0,s),a==0)){var m0=P0,X=s,N0=c,b=w0,b0=N,G=i0,u0=n,o0=C;try{t5(),a=-1}catch(J0){a=-2}P0=m0,s=X,c=N0,c==0?t0=X:(w0=b,N=b0,i0=G,i0==0?t0=b0:(n=u0,C=o0,t0=o0)),W(0,s,a)}switch(a){case-1:y(),i5();break;case 94316:y(),X0();break;case 153:y(),z0();break;case 72300:y(),e5();break;default:y(),J()}o(28),y(),x()}for(;;){switch(o(274),c){case 108:U(210);break;default:a=c}if(a!=16492&&a!=48748&&a!=51820&&a!=74348&&a!=79468&&a!=82540&&a!=101996&&a!=131692&&a!=134252)break;switch(c){case 108:U(175);break;default:a=c}switch(a){case 51820:y(),L7();break;case 101996:y(),r4();break;default:y(),G0()}o(28),y(),x()}t.endNonterminal("Prolog",s)}function x(){t.startNonterminal("Separator",s),u(53),t.endNonterminal("Separator",s)}function J(){switch(t.startNonterminal("Setter",s),c){case 108:U(172);break;default:a=c}if(a==55916&&(a=Q(1,s),a==0)){var m0=P0,X=s,N0=c,b=w0,b0=N,G=i0,u0=n,o0=C;try{I0(),a=-2}catch(J0){try{P0=m0,s=X,c=N0,c==0?t0=X:(w0=b,N=b0,i0=G,i0==0?t0=b0:(n=u0,C=o0,t0=o0)),F0(),a=-6}catch(n5){a=-9}}P0=m0,s=X,c=N0,c==0?t0=X:(w0=b,N=b0,i0=G,i0==0?t0=b0:(n=u0,C=o0,t0=o0)),W(1,s,a)}switch(a){case 43628:Z();break;case-2:k0();break;case 42604:_0();break;case 50284:j();break;case 104044:Y();break;case-6:T0();break;case 113772:h3();break;case 53356:w();break;default:S0()}t.endNonterminal("Setter",s)}function Z(){switch(t.startNonterminal("BoundarySpaceDecl",s),u(108),o(33),u(85),o(133),c){case 214:u(214);break;default:u(241)}t.endNonterminal("BoundarySpaceDecl",s)}function k0(){t.startNonterminal("DefaultCollationDecl",s),u(108),o(46),u(109),o(38),u(94),o(15),u(7),t.endNonterminal("DefaultCollationDecl",s)}function I0(){f(108),o(46),f(109),o(38),f(94),o(15),f(7)}function _0(){t.startNonterminal("BaseURIDecl",s),u(108),o(32),u(83),o(15),u(7),t.endNonterminal("BaseURIDecl",s)}function j(){switch(t.startNonterminal("ConstructionDecl",s),u(108),o(41),u(98),o(133),c){case 241:u(241);break;default:u(214)}t.endNonterminal("ConstructionDecl",s)}function Y(){switch(t.startNonterminal("OrderingModeDecl",s),u(108),o(68),u(203),o(131),c){case 202:u(202);break;default:u(256)}t.endNonterminal("OrderingModeDecl",s)}function T0(){switch(t.startNonterminal("EmptyOrderDecl",s),u(108),o(46),u(109),o(67),u(201),o(49),u(123),o(121),c){case 147:u(147);break;default:u(173)}t.endNonterminal("EmptyOrderDecl",s)}function F0(){switch(f(108),o(46),f(109),o(67),f(201),o(49),f(123),o(121),c){case 147:f(147);break;default:f(173)}}function w(){t.startNonterminal("CopyNamespacesDecl",s),u(108),o(44),u(104),o(128),y(),e0(),o(25),u(41),o(123),y(),x0(),t.endNonterminal("CopyNamespacesDecl",s)}function e0(){switch(t.startNonterminal("PreserveMode",s),c){case 214:u(214);break;default:u(190)}t.endNonterminal("PreserveMode",s)}function x0(){switch(t.startNonterminal("InheritMode",s),c){case 157:u(157);break;default:u(189)}t.endNonterminal("InheritMode",s)}function S0()
|
||
|
`),D+=d+"<"+h.name+`>
|
||
|
`;var E=this;return h.children.forEach(function(g){D+=E.astAsXML(g,d+" ")}),D+=d+"</"+h.name+`>
|
||
|
`,D}}},{}],"/node_modules/xqlint/lib/xqdoc/parse_comment.js":[function(h0,C0,L){"use strict";L.parseComment=function(h){h=h.trim();var d=h.substring(0,3)==="(:~";if(d){var D=h.split(`
|
||
|
`),E={description:""};return D.forEach(function(g,T){T===0&&(g=g.substring(3)),g=g.trim(),g[0]===":"&&(g=g.substring(1)),g=g.trim(),E.description+=" "+g}),E.description=E.description.trim(),E.description=E.description.substring(0,E.description.length-2).trim(),E}}},{}],"/node_modules/xqlint/lib/xqdoc/xqdoc.js":[function(h0,C0,L){var h=h0("lodash"),d=h0("./parse_comment").parseComment;L.XQDoc=function(D){"use strict";var E={};this.getDoc=function(){return E},this.WS=function(g){g.value.trim().substring(0,3)==="(:~"&&(g.getParent.comment=d(g.value))},this.AnnotatedDecl=function(g){this.visitChildren(g),g.comment=g.getParent.comment,g.getParent.comment=void 0},this.XQuery=function(g){this.visitChildren(g)},this.getXQDoc=function(g){var T={moduleNamespace:g.moduleNamespace,description:g.description,variables:[],functions:[]};return h.forEach(g.variables,function(V){var M=h.cloneDeep(V.qname);M.annotations=V.annotations,M.description=V.description,M.type=V.type,M.occurrence=V.occurrence,T.variables.push(M)}),h.forEach(g.functions,function(V,M){if(M.substring(0,"http://www.w3.org/2001/XMLSchema#".length)!=="http://www.w3.org/2001/XMLSchema#"){var z=M.split("#");T.functions.push({name:z[0],uri:z[1],params:V.params})}}),T},this.visit=function(g){var T=g.name,V=!1;typeof this[T]=="function"&&(V=this[T](g)===!0),V||this.visitChildren(g)},this.visitChildren=function(g,T){for(var V=0;V<g.children.length;V++){var M=g.children[V];T!==void 0&&typeof T[M.name]=="function"?T[M.name](M):this.visit(M)}},this.visit(D)}},{"./parse_comment":"/node_modules/xqlint/lib/xqdoc/parse_comment.js",lodash:"/node_modules/xqlint/node_modules/lodash/index.js"}],"/node_modules/xqlint/lib/xqlint.js":[function(h0,C0,L){"use strict";var h=h0("lodash"),d=h0("./parsers/JSONiqParser").JSONiqParser,D=h0("./parsers/XQueryParser").XQueryParser,E=h0("./parsers/JSONParseTreeHandler").JSONParseTreeHandler,g=h0("./compiler/translator").Translator,T=h0("./formatter/style_checker").StyleChecker,V=h0("./xqdoc/xqdoc").XQDoc,M=h0("../lib/completion/completer"),z=h0("./tree_ops").TreeOps,v0=L.createStaticContext=function(){var D0=h0("./compiler/static_context").StaticContext;return new D0},p=function(D0,x,J){var Z=D0.substring(0,x),k0=D0.substring(0,J),I0=Z.split(`
|
||
|
`).length,_0=x-Z.lastIndexOf(`
|
||
|
`),j=k0.split(`
|
||
|
`).length,Y=J-k0.lastIndexOf(`
|
||
|
`),T0={sl:I0-1,sc:_0-1,el:j-1,ec:Y-1};return T0};L.JSONiqLexer=h0("./lexers/jsoniq_lexer").JSONiqLexer,L.XQueryLexer=h0("./lexers/xquery_lexer").XQueryLexer,L.XQLint=function(D0,x){h.defaults&&(x=h.defaults(x||{},{styleCheck:!1}));var J,Z,k0=x.staticContext?x.staticContext:v0();this.getAST=function(){return J},this.printAST=function(){return z.astAsXML(J," ")},this.getXQDoc=function(){return Z.getXQDoc(k0)};var I0=[];this.getMarkers=function(){return I0},this.getMarkers=function(S0){var g0=[];return I0.forEach(function(z0){(z0.type===S0||S0===void 0)&&g0.push(z0)}),g0},this.getErrors=function(){return this.getMarkers("error")},this.getWarnings=function(){return this.getMarkers("warning")},this.getCompletions=function(S0){return M.complete(D0,J,k0,S0)};var _0=!1;this.hasSyntaxError=function(){return _0};var j=x.fileName?x.fileName:"",Y=j.substring(j.length-".jq".length).indexOf(".jq")!==-1&&D0.indexOf("xquery version")!==0||D0.indexOf("jsoniq version")===0,T0=new E(D0),F0=Y?new d(D0,T0):new D(D0,T0);try{F0.parse_XQuery()}catch(S0){if(S0 instanceof F0.ParseException){_0=!0,T0.closeParseTree();var w=p(D0,S0.getBegin(),S0.getEnd()),e0=F0.getErrorMessage(S0);w.sc===w.ec&&w.ec++,I0.push({pos:w,type:"error",level:"error",message:e0})}else throw S0}J=T0.getParseTree(),x.styleCheck&&(I0=I0.concat(new T(J,D0).getMarkers())),Z=new V(J);var x0=new g(k0,J);I0=I0.concat(x0.getMarkers())}},{"../lib/completion/completer":"/node_modules/xqlint/lib/completion/completer.js","./compiler/static_context":"/node_modules/xqlint/lib/compiler/static_context.js","./compiler/translator":"/node_modules/xqlint/lib/compiler/translator.js","./formatter/style_checker":"/node_modules/xqlint/lib/formatter/style_checker.js","./lexers/jsoniq_lexer":"/node_modules/xqlint/lib/lexers/jsoniq_lexer.js","./lexers/xquery_lexer":"/node_modules/xqlint/lib/lexers/xquery_lexer.js","./parsers/JSONParseTreeHandler":"/node_modules/xqlint/lib/parsers/JSONParseTreeHandler.js","./parsers/JSONiqParser":"/node_modules/xqlint/lib/parsers/JSONiqParser.js","./parsers/XQueryParser":"/node_modules/xqlint/lib/parsers/XQueryParser.js","./tree_ops":"/node_modules/xqlint/lib/tree_ops.js","./xqdoc/xqdoc":"/node_modules/xqlint/lib/xqdoc/xqdoc.js",lodash:"/node_modules/xqlint/node_modules/lodash/index.js"}],"/node_modules/xqlint/node_modules/lodash/index.js":[function(h0,C0,L){(function(h){(function(){var d,D="3.10.1",E=1,g=2,T=4,V=8,M=16,z=32,v0=64,p=128,D0=256,x=30,J="...",Z=150,k0=16,I0=200,_0=1,j=2,Y="Expected a function",T0="__lodash_placeholder__",F0="[object Arguments]",w="[object Array]",e0="[object Boolean]",x0="[object Date]",S0="[object Error]",g0="[object Function]",z0="[object Map]",d0="[object Number]",E0="[object Object]",V0="[object RegExp]",X0="[object Set]",i5="[object String]",t5="[object WeakMap]",e5="[object ArrayBuffer]",G0="[object Float32Array]",Y0="[object Float64Array]",w5="[object Int8Array]",G5="[object Int16Array]",V5="[object Int32Array]",f1="[object Uint8Array]",p1="[object Uint8ClampedArray]",L7="[object Uint16Array]",v2="[object Uint32Array]",s4=/\b__p \+= '';/g,R7=/\b(__p \+=) '' \+/g,M7=/(__e\(.*?\)|\b__t\)) \+\n'';/g,z6=/&(?:amp|lt|gt|quot|#39|#96);/g,Y6=/[&<>"'`]/g,c4=RegExp(z6.source),t4=RegExp(Y6.source),r4=/<%-([\s\S]+?)%>/g,q0=/<%([\s\S]+?)%>/g,B0=/<%=([\s\S]+?)%>/g,n4=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\n\\]|\\.)*?\1)\]/,i4=/^\w*$/,N2=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\n\\]|\\.)*?)\2)\]/g,t2=/^[:!,]|[\\^$.*+?()[\]{}|\/]|(^[0-9a-fA-Fnrtuvx])|([\n\r\u2028\u2029])/g,W7=RegExp(t2.source),V7=/[\u0300-\u036f\ufe20-\ufe23]/g,o4=/\\(\\)?/g,u4=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,X2=/\w*$/,B7=/^0[xX]/,l4=/^\[object .+?Constructor\]$/,f4=/^\d+$/,q7=/[\xc0-\xd6\xd8-\xde\xdf-\xf6\xf8-\xff]/g,r2=/($^)/,U7=/['\n\r\u2028\u2029\\]/g,Q7=function(){var f0="[A-Z\\xc0-\\xd6\\xd8-\\xde]",L0="[a-z\\xdf-\\xf6\\xf8-\\xff]+";return RegExp(f0+"+(?="+f0+L0+")|"+f0+"?"+L0+"|"+f0+"+|[0-9]+","g")}(),p4=["Array","ArrayBuffer","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Math","Number","Object","RegExp","Set","Str
|
||
|
`;r.replace($0,function(T5,W5,I5,K5,N5,W0){return I5||(I5=K5),y0+=r.slice(A,W0).replace(U7,w4),W5&&(R=!0,y0+=`' +
|
||
|
__e(`+W5+`) +
|
||
|
'`),N5&&($=!0,y0+=`';
|
||
|
`+N5+`;
|
||
|
__p += '`),I5&&(y0+=`' +
|
||
|
((__t = (`+I5+`)) == null ? '' : __t) +
|
||
|
'`),A=W0+T5.length,T5}),y0+=`';
|
||
|
`;var f5=i.variable;f5||(y0=`with (obj) {
|
||
|
`+y0+`
|
||
|
}
|
||
|
`),y0=($?y0.replace(s4,""):y0).replace(R7,"$1").replace(M7,"$1;"),y0="function("+(f5||"obj")+`) {
|
||
|
`+(f5?"":`obj || (obj = {});
|
||
|
`)+"var __t, __p = ''"+(R?", __e = _.escape":"")+($?`, __j = Array.prototype.join;
|
||
|
function print() { __p += __j.call(arguments, '') }
|
||
|
`:`;
|
||
|
`)+y0+`return __p
|
||
|
}`;var v5=z8(function(){return d5(_,Q0+"return "+y0).apply(d,I)});if(v5.source=y0,w7(v5))throw v5;return v5}function l5(r,i,m){var k=r;return r=P5(r),r&&((m?Z0(k,i,m):i==null)?r.slice(t9(r),r9(r)+1):(i=i+"",r.slice(a9(r,i),s9(r,i)+1)))}function J5(r,i,m){var k=r;return r=P5(r),r&&((m?Z0(k,i,m):i==null)?r.slice(t9(r)):r.slice(a9(r,i+"")))}function F1(r,i,m){var k=r;return r=P5(r),r&&((m?Z0(k,i,m):i==null)?r.slice(0,r9(r)+1):r.slice(0,s9(r,i+"")+1))}function n1(r,i,m){m&&Z0(r,i,m)&&(i=d);var k=x,v=J;if(i!=null)if(C5(i)){var _="separator"in i?i.separator:_;k="length"in i?+i.length||0:k,v="omission"in i?P5(i.omission):v}else k=+i||0;if(r=P5(r),k>=r.length)return r;var I=k-v.length;if(I<1)return v;var R=r.slice(0,I);if(_==null)return R+v;if(L8(_)){if(r.slice(I).search(_)){var $,A,H=r.slice(0,I);for(_.global||(_=w1(_.source,(X2.exec(_)||"")+"g")),_.lastIndex=0;$=_.exec(H);)A=$.index;R=R.slice(0,A==null?I:A)}}else if(r.indexOf(_,I)!=I){var y0=R.lastIndexOf(_);y0>-1&&(R=R.slice(0,y0))}return R+v}function V1(r){return r=P5(r),r&&c4.test(r)?r.replace(z6,T4):r}function J1(r,i,m){return m&&Z0(r,i,m)&&(i=d),r=P5(r),r.match(i||Q7)||[]}var z8=u5(function(r,i){try{return r.apply(d,i)}catch(m){return w7(m)?m:new o5(m)}});function d2(r,i,m){return m&&Z0(r,i,m)&&(i=d),F5(r)?Y8(r):z1(r,i)}function $2(r){return function(){return r}}function A5(r){return r}function Y8(r){return P2(t1(r,!0))}function se(r,i){return E9(r,t1(i,!0))}var J6=u5(function(r,i){return function(m){return e1(m,r,i)}}),ce=u5(function(r,i){return function(m){return e1(r,m,i)}});function i1(r,i,m){if(m==null){var k=C5(i),v=k?q5(i):d,_=v&&v.length?Y1(i,v):d;(_?_.length:k)||(_=!1,m=i,i=r,r=this)}_||(_=Y1(i,q5(i)));var I=!0,R=-1,$=a2(r),A=_.length;for(m===!1?I=!1:C5(m)&&("chain"in m)&&(I=m.chain);++R<A;){var H=_[R],y0=i[H];r[H]=y0,$&&(r.prototype[H]=function($0){return function(){var Q0=this.__chain__;if(I||Q0){var f5=r(this.__wrapped__),v5=f5.__actions__=H5(this.__actions__);return v5.push({func:$0,args:arguments,thisArg:r}),f5.__chain__=Q0,f5}return $0.apply(r,S2([this.value()],arguments))}}(y0))}return r}function o1(){return O1._=S4,this}function j8(){}function h2(r){return e2(r)?L2(r):e6(r)}function te(r){return function(i){return d1(r,_1(i),i+"")}}function A6(r,i,m){m&&Z0(r,i,m)&&(i=m=d),r=+r||0,m=m==null?1:+m||0,i==null?(i=r,r=0):i=+i||0;for(var k=-1,v=M5(o2((i-r)/(m||1)),0),_=L0(v);++k<v;)_[k]=r,r+=m;return _}function K6(r,i,m){if(r=K1(r),r<1||!U1(r))return[];var k=-1,v=L0(Q5(r,T2));for(i=j5(i,m,1);++k<r;)k<T2?v[k]=i(k):i(k);return v}function J2(r){var i=++E4;return P5(r)+i}function re(r,i){return(+r||0)+(+i||0)}var ne=k6("ceil"),ie=k6("floor"),oe=f6(T8,b9),ue=f6(R8,C2),le=k6("round");function fe(r,i,m){return m&&Z0(r,i,m)&&(i=d),i=y5(i,m,3),i.length==1?J4(H0(r)?r:V2(r),i):G4(r,i)}return S.prototype=G1.prototype,z5.prototype=O2(G1.prototype),z5.prototype.constructor=z5,s5.prototype=O2(G1.prototype),s5.prototype.constructor=s5,E2.prototype.delete=R4,E2.prototype.get=M4,E2.prototype.has=W4,E2.prototype.set=V4,v9.prototype.push=B4,x7.Cache=E2,S.after=h8,S.ary=L6,S.assign=E7,S.at=m7,S.before=g7,S.bind=y7,S.bindAll=R6,S.bindKey=v8,S.callback=d2,S.chain=x6,S.chunk=X9,S.compact=u7,S.constant=$2,S.countBy=b7,S.create=V8,S.curry=_3,S.curryRight=x3,S.debounce=N8,S.defaults=B8,S.defaultsDeep=V3,S.defer=g8,S.delay=y8,S.difference=a3,S.drop=G9,S.dropRight=H9,S.dropRightWhile=s3,S.dropWhile=c3,S.fill=t3,S.filter=T6,S.flatten=g6,S.flattenDeep=Y9,S.flow=_8,S.flowRight=_7,S.forEach=p8,S.forEachRight=m8,S.forIn=B6,S.forInRight=q3,S.forOwn=U3,S.forOwnRight=Q3,S.functions=q6,S.groupBy=N3,S.indexBy=k7,S.initial=i3,S.intersection=o3,S.invert=Q8,S.invoke=d7,S.keys=q5,S.keysIn=W1,S.map=I6,S.mapKeys=$3,S.mapValues=J3,S.matches=Y8,S.matchesProperty=se,S.memoize=x7,S.merge=T7,S.method=J6,S.methodOf=ce,S.mixin=i1,S.modArgs=x8,S.negate=w3,S.omit=A3,S.once=C3,S.pairs=$8,S.partial=w8,S.partialRight=C8,S.partition=D6,S.pick=K3,S.pluck=g3,S.property=h2,S.propertyOf=te,S.pull=l3,S.pullAt=f3,S.range=A6,S.rearg=T3,S.reject=h7,S.remove=p3,S.rest=j9,S.restParam=u5,S.set=G3,S.shuffle=Q2,S.slice=Z9,S.sortBy
|