41 lines
503 KiB
JavaScript
41 lines
503 KiB
JavaScript
|
(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[46874],{46874:function(p1,d1,_3){var S2,B2;(function(n4){if(typeof n4.window!="undefined"&&n4.document||n4.require&&n4.define)return;n4.console||(n4.console=function(){var $=Array.prototype.slice.call(arguments,0);postMessage({type:"log",data:$})},n4.console.error=n4.console.warn=n4.console.log=n4.console.trace=n4.console),n4.window=n4,n4.ace=n4,n4.onerror=function($,d,u,f,p){postMessage({type:"error",data:{message:$,data:p&&p.data,file:d,line:u,col:f,stack:p&&p.stack}})},n4.normalizeModule=function($,d){if(d.indexOf("!")!==-1){var u=d.split("!");return n4.normalizeModule($,u[0])+"!"+n4.normalizeModule($,u[1])}if(d.charAt(0)=="."){var f=$.split("/").slice(0,-1).join("/");for(d=(f?f+"/":"")+d;d.indexOf(".")!==-1&&p!=d;){var p=d;d=d.replace(/^\.\//,"").replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}return d},n4.require=function(d,u){if(u||(u=d,d=null),!u.charAt)throw new Error("worker.js require() accepts only (parentId, id) as arguments");u=n4.normalizeModule(d,u);var f=n4.require.modules[u];if(f)return f.initialized||(f.initialized=!0,f.exports=f.factory().exports),f.exports;if(!n4.require.tlns)return console.log("unable to load "+u);var p=w4(u,n4.require.tlns);return p.slice(-3)!=".js"&&(p+=".js"),n4.require.id=u,n4.require.modules[u]={},importScripts(p),n4.require(d,u)};function w4($,d){for(var u=$,f="";u;){var p=d[u];if(typeof p=="string")return p+f;if(p)return p.location.replace(/\/*$/,"/")+(f||p.main||p.name);if(p===!1)return"";var l=u.lastIndexOf("/");if(l===-1)break;f=u.substr(l)+f,u=u.slice(0,l)}return $}n4.require.modules={},n4.require.tlns={},n4.define=function($,d,u){if(arguments.length==2?(u=d,typeof $!="string"&&(d=$,$=n4.require.id)):arguments.length==1&&(u=$,d=[],$=n4.require.id),typeof u!="function"){n4.require.modules[$]={exports:u,initialized:!0};return}d.length||(d=["require","exports","module"]);var f=function(p){return n4.require($,p)};n4.require.modules[$]={exports:{},factory:function(){var p=this,l=u.apply(this,d.slice(0,u.length).map(function(o){switch(o){case"require":return f;case"exports":return p.exports;case"module":return p;default:return f(o)}}));return l&&(p.exports=l),p}}},n4.define.amd={},n4.require.tlns={},n4.initBaseUrls=function(d){for(var u in d)this.require.tlns[u]=d[u]},n4.initSender=function(){var d=n4.require("ace/lib/event_emitter").EventEmitter,u=n4.require("ace/lib/oop"),f=function(){};return function(){u.implement(this,d),this.callback=function(p,l){postMessage({type:"call",id:l,data:p})},this.emit=function(p,l){postMessage({type:"event",name:p,data:l})}}.call(f.prototype),new f};var Q4=n4.main=null,z=n4.sender=null;n4.onmessage=function($){var d=$.data;if(d.event&&z)z._signal(d.event,d.data);else if(d.command)if(Q4[d.command])Q4[d.command].apply(Q4,d.args);else if(n4[d.command])n4[d.command].apply(n4,d.args);else throw new Error("Unknown command:"+d.command);else if(d.init){n4.initBaseUrls(d.tlns),z=n4.sender=n4.initSender();var u=this.require(d.module)[d.classname];Q4=n4.main=new u(z)}}})(this),ace.define("ace/lib/oop",[],function(n4,w4,Q4){"use strict";w4.inherits=function(z,$){z.super_=$,z.prototype=Object.create($.prototype,{constructor:{value:z,enumerable:!1,writable:!0,configurable:!0}})},w4.mixin=function(z,$){for(var d in $)z[d]=$[d];return z},w4.implement=function(z,$){w4.mixin(z,$)}}),ace.define("ace/apply_delta",[],function(n4,w4,Q4){"use strict";function z(u,f){throw console.log("Invalid Delta:",u),"Invalid Delta: "+f}function $(u,f){return f.row>=0&&f.row<u.length&&f.column>=0&&f.column<=u[f.row].length}function d(u,f){f.action!="insert"&&f.action!="remove"&&z(f,"delta.action must be 'insert' or 'remove'"),f.lines instanceof Array||z(f,"delta.lines must be an Array"),(!f.start||!f.end)&&z(f,"delta.start/end must be an present");var p=f.start;$(u,f.start)||z(f,"delta.start must be contained in document");var l=f.end;f.action=="remove"&&!$(u,l)&&z(f,"delta.end must contained in document for 'remove' actions");var o=l.row-p.row,t=l.column-(o==0?p.column:0);(o!=f.lines.length-1||f.lin
|
||
|
`,this._signal("changeNewLineMode")},l.prototype.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return`\r
|
||
|
`;case"unix":return`
|
||
|
`;default:return this.$autoNewLine||`
|
||
|
`}},l.prototype.setNewLineMode=function(o){this.$newLineMode!==o&&(this.$newLineMode=o,this._signal("changeNewLineMode"))},l.prototype.getNewLineMode=function(){return this.$newLineMode},l.prototype.isNewLine=function(o){return o==`\r
|
||
|
`||o=="\r"||o==`
|
||
|
`},l.prototype.getLine=function(o){return this.$lines[o]||""},l.prototype.getLines=function(o,t){return this.$lines.slice(o,t+1)},l.prototype.getAllLines=function(){return this.getLines(0,this.getLength())},l.prototype.getLength=function(){return this.$lines.length},l.prototype.getTextRange=function(o){return this.getLinesForRange(o).join(this.getNewLineCharacter())},l.prototype.getLinesForRange=function(o){var t;if(o.start.row===o.end.row)t=[this.getLine(o.start.row).substring(o.start.column,o.end.column)];else{t=this.getLines(o.start.row,o.end.row),t[0]=(t[0]||"").substring(o.start.column);var e=t.length-1;o.end.row-o.start.row==e&&(t[e]=t[e].substring(0,o.end.column))}return t},l.prototype.insertLines=function(o,t){return console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."),this.insertFullLines(o,t)},l.prototype.removeLines=function(o,t){return console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."),this.removeFullLines(o,t)},l.prototype.insertNewLine=function(o){return console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, ['', '']) instead."),this.insertMergedLines(o,["",""])},l.prototype.insert=function(o,t){return this.getLength()<=1&&this.$detectNewLine(t),this.insertMergedLines(o,this.$split(t))},l.prototype.insertInLine=function(o,t){var e=this.clippedPos(o.row,o.column),T=this.pos(o.row,o.column+t.length);return this.applyDelta({start:e,end:T,action:"insert",lines:[t]},!0),this.clonePos(T)},l.prototype.clippedPos=function(o,t){var e=this.getLength();o===void 0?o=e:o<0?o=0:o>=e&&(o=e-1,t=void 0);var T=this.getLine(o);return t==null&&(t=T.length),t=Math.min(Math.max(t,0),T.length),{row:o,column:t}},l.prototype.clonePos=function(o){return{row:o.row,column:o.column}},l.prototype.pos=function(o,t){return{row:o,column:t}},l.prototype.$clipPosition=function(o){var t=this.getLength();return o.row>=t?(o.row=Math.max(0,t-1),o.column=this.getLine(t-1).length):(o.row=Math.max(0,o.row),o.column=Math.min(Math.max(o.column,0),this.getLine(o.row).length)),o},l.prototype.insertFullLines=function(o,t){o=Math.min(Math.max(o,0),this.getLength());var e=0;o<this.getLength()?(t=t.concat([""]),e=0):(t=[""].concat(t),o--,e=this.$lines[o].length),this.insertMergedLines({row:o,column:e},t)},l.prototype.insertMergedLines=function(o,t){var e=this.clippedPos(o.row,o.column),T={row:e.row+t.length-1,column:(t.length==1?e.column:0)+t[t.length-1].length};return this.applyDelta({start:e,end:T,action:"insert",lines:t}),this.clonePos(T)},l.prototype.remove=function(o){var t=this.clippedPos(o.start.row,o.start.column),e=this.clippedPos(o.end.row,o.end.column);return this.applyDelta({start:t,end:e,action:"remove",lines:this.getLinesForRange({start:t,end:e})}),this.clonePos(t)},l.prototype.removeInLine=function(o,t,e){var T=this.clippedPos(o,t),O=this.clippedPos(o,e);return this.applyDelta({start:T,end:O,action:"remove",lines:this.getLinesForRange({start:T,end:O})},!0),this.clonePos(T)},l.prototype.removeFullLines=function(o,t){o=Math.min(Math.max(0,o),this.getLength()-1),t=Math.min(Math.max(0,t),this.getLength()-1);var e=t==this.getLength()-1&&o>0,T=t<this.getLength()-1,O=e?o-1:o,N=e?this.getLine(O).length:0,W=T?t+1:t,l4=T?0:this.getLine(W).length,o4=new u(O,N,W,l4),S4=this.$lines.slice(o,t+1);return this.applyDelta({start:o4.start,end:o4.end,action:"remove",lines:this.getLinesForRange(o4)}),S4},l.prototype.removeNewLine=function(o){o<this.getLength()-1&&o>=0&&this.applyDelta({start:this.pos(o,this.getLine(o).length),end:this.pos(o+1,0),action:"remove",lines:["",""]})},l.prototype.replace=function(o,t){if(o instanceof u||(o=u.fromPoints(o.start,o.end)),t.length===0&&o.isEmpty())return o.start;if(t==this.getTextRange(o))return o.end;this.remove(o);var e;return t?e=this.insert(o.start,t):e=o.start,e},l.prototype.applyDeltas=function(o){for(var t=0;t<o.length;t++)this.applyDelta(o[t])},l.prototype.revertDeltas=function(o){for(var t=o.length-1;t>=0;t--)this.revertDelta(o[t])},l.prototype.applyDelta=function(o,t){var e=o.action==
|
||
|
`).split(`
|
||
|
`)}:function(l){return l.split(/\r\n|\r|\n/)},p.prototype.$autoNewLine="",p.prototype.$newLineMode="auto",z.implement(p.prototype,d),w4.Document=p}),ace.define("ace/lib/lang",[],function(n4,w4,Q4){"use strict";w4.last=function(d){return d[d.length-1]},w4.stringReverse=function(d){return d.split("").reverse().join("")},w4.stringRepeat=function(d,u){for(var f="";u>0;)u&1&&(f+=d),(u>>=1)&&(d+=d);return f};var z=/^\s\s*/,$=/\s\s*$/;w4.stringTrimLeft=function(d){return d.replace(z,"")},w4.stringTrimRight=function(d){return d.replace($,"")},w4.copyObject=function(d){var u={};for(var f in d)u[f]=d[f];return u},w4.copyArray=function(d){for(var u=[],f=0,p=d.length;f<p;f++)d[f]&&typeof d[f]=="object"?u[f]=this.copyObject(d[f]):u[f]=d[f];return u},w4.deepCopy=function d(u){if(typeof u!="object"||!u)return u;var f;if(Array.isArray(u)){f=[];for(var p=0;p<u.length;p++)f[p]=d(u[p]);return f}if(Object.prototype.toString.call(u)!=="[object Object]")return u;f={};for(var p in u)f[p]=d(u[p]);return f},w4.arrayToMap=function(d){for(var u={},f=0;f<d.length;f++)u[d[f]]=1;return u},w4.createMap=function(d){var u=Object.create(null);for(var f in d)u[f]=d[f];return u},w4.arrayRemove=function(d,u){for(var f=0;f<=d.length;f++)u===d[f]&&d.splice(f,1)},w4.escapeRegExp=function(d){return d.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")},w4.escapeHTML=function(d){return(""+d).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<")},w4.getMatchOffsets=function(d,u){var f=[];return d.replace(u,function(p){f.push({offset:arguments[arguments.length-2],length:p.length})}),f},w4.deferredCall=function(d){var u=null,f=function(){u=null,d()},p=function(l){return p.cancel(),u=setTimeout(f,l||0),p};return p.schedule=p,p.call=function(){return this.cancel(),d(),p},p.cancel=function(){return clearTimeout(u),u=null,p},p.isPending=function(){return u},p},w4.delayedCall=function(d,u){var f=null,p=function(){f=null,d()},l=function(o){f==null&&(f=setTimeout(p,o||u))};return l.delay=function(o){f&&clearTimeout(f),f=setTimeout(p,o||u)},l.schedule=l,l.call=function(){this.cancel(),d()},l.cancel=function(){f&&clearTimeout(f),f=null},l.isPending=function(){return f},l}}),ace.define("ace/worker/mirror",[],function(n4,w4,Q4){"use strict";var z=n4("../document").Document,$=n4("../lib/lang"),d=w4.Mirror=function(u){this.sender=u;var f=this.doc=new z(""),p=this.deferredUpdate=$.delayedCall(this.onUpdate.bind(this)),l=this;u.on("change",function(o){var t=o.data;if(t[0].start)f.applyDeltas(t);else for(var e=0;e<t.length;e+=2){var T,O;if(Array.isArray(t[e+1])?T={action:"insert",start:t[e],lines:t[e+1]}:T={action:"remove",start:t[e],end:t[e+1]},(T.action=="insert"?T.start:T.end).row>=f.$lines.length)throw O=new Error("Invalid delta"),O.data={path:l.$path,linesLength:f.$lines.length,start:T.start,end:T.end},O;f.applyDelta(T,!0)}if(l.$timeout)return p.schedule(l.$timeout);l.onUpdate()})};(function(){this.$timeout=500,this.setTimeout=function(u){this.$timeout=u},this.setValue=function(u){this.doc.setValue(u),this.deferredUpdate.schedule(this.$timeout)},this.getValue=function(u){this.sender.callback(this.doc.getValue(),u)},this.onUpdate=function(){},this.isPending=function(){return this.deferredUpdate.isPending()}}).call(d.prototype)}),ace.define("ace/mode/javascript/jshint",[],function(n4,w4,Q4){Q4.exports=function z($,d,u){var f=typeof n4=="function"&&n4;function p(o,t){if(!d[o]){if(!$[o]){var e=typeof n4=="function"&&n4;if(!t&&e)return e(o,!0);if(f)return f(o,!0);var T=new Error("Cannot find module '"+o+"'");throw T.code="MODULE_NOT_FOUND",T}var O=d[o]={exports:{}};$[o][0].call(O.exports,function(N){var W=$[o][1][N];return p(W||N)},O,O.exports,z,$,d,u)}return d[o].exports}for(var l=0;l<u.length;l++)p(u[l]);return p(u[0])}({"/../../../jshint/data/ascii-identifier-data.js":[function(z,$,d){for(var u=[],f=0;f<128;f++)u[f]=f===36||f>=65&&f<=90||f===95||f>=97&&f<=122;for(var p=[],f=0;f<128;f++)p[f]=u[f]||f>=48&&f<=57;$.exports={asciiIdentifierStartTable:u,asciiIdentifierPartTable:p}},{}],"/../../../jshint/data/es5-identifier-names.js":[function(z,$,d){$.exports
|
||
|
`)}function G(K){if(!K){var J=o.call(arguments,1);p.ok(!1,f.format.apply(null,J))}}}).call(this,typeof _3.g!="undefined"?_3.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{assert:"/node_modules/assert/assert.js","date-now":"/../../../jshint/node_modules/date-now/index.js",util:"/node_modules/util/util.js"}],"/../../../jshint/node_modules/date-now/index.js":[function(z,$,d){$.exports=u;function u(){return new Date().getTime()}},{}],"/../../../jshint/node_modules/lodash.clone/index.js":[function(z,$,d){(function(u){var f=200,p="__lodash_hash_undefined__",l=9007199254740991,o="[object Arguments]",t="[object Array]",e="[object Boolean]",T="[object Date]",O="[object Error]",N="[object Function]",W="[object GeneratorFunction]",l4="[object Map]",o4="[object Number]",S4="[object Object]",W4="[object Promise]",U="[object RegExp]",k="[object Set]",v="[object String]",_="[object Symbol]",L="[object WeakMap]",G="[object ArrayBuffer]",K="[object DataView]",J="[object Float32Array]",H="[object Float64Array]",A4="[object Int8Array]",v4="[object Int16Array]",m4="[object Int32Array]",s4="[object Uint8Array]",x="[object Uint8ClampedArray]",S="[object Uint16Array]",P="[object Uint32Array]",M=/[\\^$.*+?()[\]{}|]/g,i4=/\w*$/,r4=/^\[object .+?Constructor\]$/,D=/^(?:0|[1-9]\d*)$/,j={};j[o]=j[t]=j[G]=j[K]=j[e]=j[T]=j[J]=j[H]=j[A4]=j[v4]=j[m4]=j[l4]=j[o4]=j[S4]=j[U]=j[k]=j[v]=j[_]=j[s4]=j[x]=j[S]=j[P]=!0,j[O]=j[N]=j[L]=!1;var m=typeof u=="object"&&u&&u.Object===Object&&u,c4=typeof self=="object"&&self&&self.Object===Object&&self,I=m||c4||Function("return this")(),p4=typeof d=="object"&&d&&!d.nodeType&&d,f4=p4&&typeof $=="object"&&$&&!$.nodeType&&$,u4=f4&&f4.exports===p4;function e4(h,B){return h.set(B[0],B[1]),h}function F4(h,B){return h.add(B),h}function y(h,B){for(var q=-1,a4=h?h.length:0;++q<a4&&B(h[q],q,h)!==!1;);return h}function M4(h,B){for(var q=-1,a4=B.length,H4=h.length;++q<a4;)h[H4+q]=B[q];return h}function C4(h,B,q,a4){var H4=-1,V4=h?h.length:0;for(a4&&V4&&(q=h[++H4]);++H4<V4;)q=B(q,h[H4],H4,h);return q}function X(h,B){for(var q=-1,a4=Array(h);++q<h;)a4[q]=B(q);return a4}function O4(h,B){return h==null?void 0:h[B]}function z4(h){var B=!1;if(h!=null&&typeof h.toString!="function")try{B=!!(h+"")}catch(q){}return B}function u3(h){var B=-1,q=Array(h.size);return h.forEach(function(a4,H4){q[++B]=[H4,a4]}),q}function P4(h,B){return function(q){return h(B(q))}}function Y4(h){var B=-1,q=Array(h.size);return h.forEach(function(a4){q[++B]=a4}),q}var R4=Array.prototype,Z4=Function.prototype,e3=Object.prototype,W3=I["__core-js_shared__"],T4=function(){var h=/[^.]+$/.exec(W3&&W3.keys&&W3.keys.IE_PROTO||"");return h?"Symbol(src)_1."+h:""}(),G4=Z4.toString,U4=e3.hasOwnProperty,_4=e3.toString,b4=RegExp("^"+G4.call(U4).replace(M,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),e2=u4?I.Buffer:void 0,a3=I.Symbol,D4=I.Uint8Array,o3=P4(Object.getPrototypeOf,Object),h3=Object.create,O3=e3.propertyIsEnumerable,t2=R4.splice,p3=Object.getOwnPropertySymbols,t3=e2?e2.isBuffer:void 0,S3=P4(Object.keys,Object),l3=A(I,"DataView"),C3=A(I,"Map"),x3=A(I,"Promise"),d3=A(I,"Set"),j4=A(I,"WeakMap"),m3=A(Object,"create"),n2=B4(l3),q3=B4(C3),B3=B4(x3),r2=B4(d3),N4=B4(j4),v3=a3?a3.prototype:void 0,L3=v3?v3.valueOf:void 0;function g3(h){var B=-1,q=h?h.length:0;for(this.clear();++B<q;){var a4=h[B];this.set(a4[0],a4[1])}}function P3(){this.__data__=m3?m3(null):{}}function T3(h){return this.has(h)&&delete this.__data__[h]}function M3(h){var B=this.__data__;if(m3){var q=B[h];return q===p?void 0:q}return U4.call(B,h)?B[h]:void 0}function j3(h){var B=this.__data__;return m3?B[h]!==void 0:U4.call(B,h)}function $3(h,B){var q=this.__data__;return q[h]=m3&&B===void 0?p:B,this}g3.prototype.clear=P3,g3.prototype.delete=T3,g3.prototype.get=M3,g3.prototype.has=j3,g3.prototype.set=$3;function y3(h){var B=-1,q=h?h.length:0;for(this.clear();++B<q;){var a4=h[B];this.set(a4[0],a4[1])}}function i2(){this.__data__=[]}function I3(h){var B=this.__data__,q=R3(B,h);if(q<0)return!1;var a4=B.length-1;return q==a4?B.pop():t2.call(B,q,1),!0
|
||
|
((__t=(`+$4+`))==null?'':_.escape(__t))+
|
||
|
'`:s3?w+=`'+
|
||
|
((__t=(`+s3+`))==null?'':__t)+
|
||
|
'`:q2&&(w+=`';
|
||
|
`+q2+`
|
||
|
__p+='`),y4}),w+=`';
|
||
|
`;var R=a.variable;if(R){if(!Q3.test(R))throw new Error("variable is not a bare identifier: "+R)}else w=`with(obj||{}){
|
||
|
`+w+`}
|
||
|
`,R="obj";w=`var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
|
||
|
`+w+`return __p;
|
||
|
`;var t4;try{t4=new Function(R,"_",w)}catch(y4){throw y4.source=w,y4}var k4=function(y4){return t4.call(this,y4,D4)};return k4.source="function("+R+`){
|
||
|
`+w+"}",k4}function l2(s,a,g){a=K4(a);var E=a.length;if(!E)return c4(g)?g.call(s):g;for(var C=0;C<E;C++){var w=s==null?void 0:s[a[C]];w===void 0&&(w=g,C=E),s=c4(w)?w.call(s):w}return s}var A3=0;function r(s){var a=++A3+"";return s?s+a:a}function n(s){var a=D4(s);return a._chain=!0,a}function i(s,a,g,E,C){if(!(E instanceof a))return s.apply(g,C);var w=i2(s.prototype),R=s.apply(w,C);return J(R)?R:w}var c=K(function(s,a){var g=c.placeholder,E=function(){for(var C=0,w=a.length,R=Array(w),t4=0;t4<w;t4++)R[t4]=a[t4]===g?arguments[C++]:a[t4];for(;C<arguments.length;)R.push(arguments[C++]);return i(s,E,this,this,R)};return E});c.placeholder=D4;var A=K(function(s,a,g){if(!c4(s))throw new TypeError("Bind must be called on a function");var E=K(function(C){return i(s,E,a,this,g.concat(C))});return E}),b=P4(G4);function F(s,a,g,E){if(E=E||[],!a&&a!==0)a=Infinity;else if(a<=0)return E.concat(s);for(var C=E.length,w=0,R=G4(s);w<R;w++){var t4=s[w];if(b(t4)&&(y(t4)||X(t4)))if(a>1)F(t4,a-1,g,E),C=E.length;else for(var k4=0,y4=t4.length;k4<y4;)E[C++]=t4[k4++];else g||(E[C++]=t4)}return E}var V=K(function(s,a){a=F(a,!1,!1);var g=a.length;if(g<1)throw new Error("bindAll must be passed function names");for(;g--;){var E=a[g];s[E]=A(s[E],s)}return s});function Z(s,a){var g=function(E){var C=g.cache,w=""+(a?a.apply(this,arguments):E);return M4(C,w)||(C[w]=s.apply(this,arguments)),C[w]};return g.cache={},g}var Y=K(function(s,a,g){return setTimeout(function(){return s.apply(null,g)},a)}),g4=c(Y,D4,1);function h4(s,a,g){var E,C,w,R,t4=0;g||(g={});var k4=function(){t4=g.leading===!1?0:r3(),E=null,R=s.apply(C,w),E||(C=w=null)},y4=function(){var $4=r3();!t4&&g.leading===!1&&(t4=$4);var s3=a-($4-t4);return C=this,w=arguments,s3<=0||s3>a?(E&&(clearTimeout(E),E=null),t4=$4,R=s.apply(C,w),E||(C=w=null)):!E&&g.trailing!==!1&&(E=setTimeout(k4,s3)),R};return y4.cancel=function(){clearTimeout(E),t4=0,E=C=w=null},y4}function d4(s,a,g){var E,C,w,R,t4,k4=function(){var $4=r3()-C;a>$4?E=setTimeout(k4,a-$4):(E=null,g||(R=s.apply(t4,w)),E||(w=t4=null))},y4=K(function($4){return t4=this,w=$4,C=r3(),E||(E=setTimeout(k4,a),g&&(R=s.apply(t4,w))),R});return y4.cancel=function(){clearTimeout(E),E=w=t4=null},y4}function L4(s,a){return c(a,s)}function B4(s){return function(){return!s.apply(this,arguments)}}function Q(){var s=arguments,a=s.length-1;return function(){for(var g=a,E=s[a].apply(this,arguments);g--;)E=s[g].call(this,E);return E}}function x4(s,a){return function(){if(--s<1)return a.apply(this,arguments)}}function i3(s,a){var g;return function(){return--s>0&&(g=a.apply(this,arguments)),s<=1&&(a=null),g}}var b3=c(i3,2);function g2(s,a,g){a=q4(a,g);for(var E=b4(s),C,w=0,R=E.length;w<R;w++)if(C=E[w],a(s[C],C,s))return C}function x2(s){return function(a,g,E){g=q4(g,E);for(var C=G4(a),w=s>0?0:C-1;w>=0&&w<C;w+=s)if(g(a[w],w,a))return w;return-1}}var y2=x2(1),E2=x2(-1);function w2(s,a,g,E){g=q4(g,E,1);for(var C=g(a),w=0,R=G4(s);w<R;){var t4=Math.floor((w+R)/2);g(s[t4])<C?w=t4+1:R=t4}return w}function Y3(s,a,g){return function(E,C,w){var R=0,t4=G4(E);if(typeof w=="number")s>0?R=w>=0?w:Math.max(w+t4,R):t4=w>=0?Math.min(w+1,t4):w+t4+1;else if(g&&w&&t4)return w=g(E,C),E[w]===C?w:-1;if(C!==C)return w=a(T.call(E,R,t4),z4),w>=0?w+R:-1;for(w=s>0?R:t4-1;w>=0&&w<t4;w+=s)if(E[w]===C)return w;return-1}}var C2=Y3(1,y2,w2),k2=Y3(-1,E2);function A2(s,a,g){var E=b(s)?y2:g2,C=E(s,a,g);if(C!==void 0&&C!==-1)return s[C]}function L2(s,a){return A2(s,F3(a))}function h(s,a,g){a=n3(a,g);var E,C;if(b(s))for(E=0,C=s.length;E<C;E++)a(s[E],E,s);else{var w=b4(s);for(E=0,C=w.length;E<C;E++)a(s[w[E]],w[E],s)}return s}function B(s,a,g){a=q4(a,g);for(var E=!b(s)&&b4(s),C=(E||s).length,w=Array(C),R=0;R<C;R++){var t4=E?E[R]:R;w[R]=a(s[t4],t4,s)}return w}function q(s){var a=function(g,E,C,w){var R=!b(g)&&b4(g),t4=(R||g).length,k4=s>0?0:t4-1;for(w||(C=g[R?R[k4]:k4],k4+=s);k4>=0&&k4<t4;k4+=s){var y4=R?R[k4]:k4;C=E(C,g[y4],y4,g)}return C};return function(g,E,C,w){var R=arguments.length>=3;return a(g,n3(E,w,4),C,R)}}var a4=q(1),H4=q(-1);function V4(s,a,g){var E=[];return a=q4(a,g),h(s,function(C,w,R){a(C,w,R
|
||
|
`)})}function u4(r,n){var i=r.body.split(",").map(function(F){return F.trim()}),c={};if(r.type==="falls through"){n.caseFallsThrough=!0;return}if(r.type==="globals"){i.forEach(function(F,V){var Z=F.split(":"),Y=Z[0].trim();if(Y==="-"||!Y.length){if(V>0&&V===i.length-1)return;I("E002",r);return}Y.charAt(0)==="-"?(Y=Y.slice(1),o4.blacklist[Y]=Y,delete H[Y]):c[Y]=Z.length>1&&Z[1].trim()==="true"}),M(H,c);for(var A in c)u.has(c,A)&&(U[A]=r)}r.type==="exported"&&i.forEach(function(F,V){if(!F.length){if(V>0&&V===i.length-1)return;I("E002",r);return}e.funct["(scope)"].addExported(F)}),r.type==="members"&&(J=J||{},i.forEach(function(F){var V=F.charAt(0),Z=F.charAt(F.length-1);V===Z&&(V==='"'||V==="'")&&(F=F.substr(1,F.length-2).replace('\\"','"')),J[F]=!1}));var b=["maxstatements","maxparams","maxdepth","maxcomplexity","maxerr","maxlen","indent"];(r.type==="jshint"||r.type==="jslint"||r.type==="jshint.unstable")&&(i.forEach(function(F){var V=F.split(":"),Z=V[0].trim(),Y=V.length>1?V[1].trim():"",g4;if(!!m4(Z,r.type!=="jshint.unstable",r)){if(b.indexOf(Z)>=0){if(Y!=="false"){if(g4=+Y,typeof g4!="number"||!isFinite(g4)||g4<=0||Math.floor(g4)!==g4){I("E032",r,Y);return}e.option[Z]=g4}else e.option[Z]=Z==="indent"?4:!1;return}if(Z==="validthis"){if(e.funct["(global)"])return void I("E009");if(Y!=="true"&&Y!=="false")return void I("E002",r);e.option.validthis=Y==="true";return}if(Z==="quotmark"){switch(Y){case"true":case"false":e.option.quotmark=Y==="true";break;case"double":case"single":e.option.quotmark=Y;break;default:I("E002",r)}return}if(Z==="shadow"){switch(Y){case"true":e.option.shadow=!0;break;case"outer":e.option.shadow="outer";break;case"false":case"inner":e.option.shadow="inner";break;default:I("E002",r)}return}if(Z==="unused"){switch(Y){case"true":e.option.unused=!0;break;case"false":e.option.unused=!1;break;case"vars":case"strict":e.option.unused=Y;break;default:I("E002",r)}return}if(Z==="latedef"){switch(Y){case"true":e.option.latedef=!0;break;case"false":e.option.latedef=!1;break;case"nofunc":e.option.latedef="nofunc";break;default:I("E002",r)}return}if(Z==="ignore"){switch(Y){case"line":e.ignoredLines[r.line]=!0,j();break;default:I("E002",r)}return}if(Z==="strict"){switch(Y){case"true":e.option.strict=!0;break;case"false":e.option.strict=!1;break;case"global":case"implied":e.option.strict=Y;break;default:I("E002",r)}return}if(Z==="module"&&(z3(e.funct)||I("E055",r,"module")),Z==="esversion"){switch(Y){case"3":case"5":case"6":case"7":case"8":case"9":case"10":case"11":e.option.moz=!1,e.option.esversion=+Y;break;case"2015":case"2016":case"2017":case"2018":case"2019":case"2020":e.option.moz=!1,e.option.esversion=+Y-2009;break;default:I("E002",r)}z3(e.funct)||I("E055",r,"esversion");return}var h4=/^([+-])(W\d{3})$/g.exec(Z);if(h4){e.ignored[h4[2]]=h4[1]==="-";return}var d4;if(Y==="true"||Y==="false"){r.type==="jslint"?(d4=O.renamed[Z]||Z,e.option[d4]=Y==="true",O.inverted[d4]!==void 0&&(e.option[d4]=!e.option[d4])):r.type==="jshint.unstable"?e.option.unstable[Z]=Y==="true":e.option[Z]=Y==="true";return}I("E002",r)}}),r4())}function e4(r){var n=r||0,i=L.length,c;if(n<i)return L[n];for(;i<=n;){if(c=G.token(),!c)return L.length?L[i-1]:e.tokens.next;L[i]=c,i+=1}return c}function F4(){var r=0,n;do n=e4(r++);while(n.id==="(endline)");return n}function y(r,n){var i=e.tokens.next;for(r&&i.id!==r&&(n?i.id==="(end)"?I("E019",n,n.id):I("E020",i,r,n.id,n.line,i.value):(i.type!=="(identifier)"||i.value!==r)&&I("E021",i,r,i.value)),e.tokens.prev=e.tokens.curr,e.tokens.curr=e.tokens.next;;){if(e.tokens.next=L.shift()||G.token(),e.tokens.next||D("E041",e.tokens.curr),e.tokens.next.id==="(end)"||e.tokens.next.id==="(error)")return;if(e.tokens.next.check&&e.tokens.next.check(),e.tokens.next.isSpecial)u4(e.tokens.next,e.tokens.curr);else if(e.tokens.next.id!=="(endline)")break}}function M4(r){return r.first||r.right||r.left||r.id==="yield"||r.id==="await"}function C4(r,n,i){return arguments.length<=1&&(n=e.tokens.curr,i=e.tokens.next),i.id==="in"&&r&W.noin||i.id===";"||i.id==="}"||i.id===":"?!0:i.infix===n.infix||n.id==="yield"&&n.rbp<i.rbp
|
||
|
`).replace(/\r/g,`
|
||
|
`).split(`
|
||
|
`)),v[0]&&v[0].substr(0,2)==="#!"&&(v[0].indexOf("node")!==-1&&(l.option.node=!0),v[0]=""),this.emitter=new f.EventEmitter,this.source=k,this.setLines(v),this.prereg=!0,this.line=0,this.char=1,this.from=1,this.input="",this.inComment=!1,this.context=[],this.templateStarts=[];for(var _=0;_<l.option.indent;_+=1)l.tab+=" "}U.prototype={_lines:[],inContext:function(k){return this.context.length>0&&this.context[this.context.length-1].type===k},pushContext:function(k){this.context.push({type:k})},popContext:function(){return this.context.pop()},currentContext:function(){return this.context.length>0&&this.context[this.context.length-1]},getLines:function(){return this._lines=l.lines,this._lines},setLines:function(k){this._lines=k,l.lines=this._lines},peek:function(k){return this.input.charAt(k||0)},skip:function(k){k=k||1,this.char+=k,this.input=this.input.slice(k)},on:function(k,v){k.split(" ").forEach(function(_){this.emitter.on(_,v)}.bind(this))},trigger:function(){this.emitter.emit.apply(this.emitter,Array.prototype.slice.call(arguments))},triggerAsync:function(k,v,_,L){_.push(function(){L()&&this.trigger(k,v)}.bind(this))},scanPunctuator:function(){var k=this.peek(),v,_,L;switch(k){case".":if(/^[0-9]$/.test(this.peek(1)))return null;if(this.peek(1)==="."&&this.peek(2)===".")return{type:W.Punctuator,value:"..."};case"(":case")":case";":case",":case"[":case"]":case":":case"~":return{type:W.Punctuator,value:k};case"{":return this.pushContext(l4.Block),{type:W.Punctuator,value:k};case"}":return this.inContext(l4.Block)&&this.popContext(),{type:W.Punctuator,value:k};case"#":return{type:W.Punctuator,value:k};case"":return null}return v=this.peek(1),_=this.peek(2),k==="?"?v==="."&&!p.decimalDigit.test(_)?{type:W.Punctuator,value:"?."}:{type:W.Punctuator,value:v==="?"?"??":"?"}:(L=this.peek(3),k===">"&&v===">"&&_===">"&&L==="="?{type:W.Punctuator,value:">>>="}:k==="="&&v==="="&&_==="="?{type:W.Punctuator,value:"==="}:k==="!"&&v==="="&&_==="="?{type:W.Punctuator,value:"!=="}:k===">"&&v===">"&&_===">"?{type:W.Punctuator,value:">>>"}:k==="<"&&v==="<"&&_==="="?{type:W.Punctuator,value:"<<="}:k===">"&&v===">"&&_==="="?{type:W.Punctuator,value:">>="}:k==="="&&v===">"?{type:W.Punctuator,value:k+v}:k===v&&"+-<>&|*".indexOf(k)>=0?k==="*"&&_==="="?{type:W.Punctuator,value:k+v+_}:{type:W.Punctuator,value:k+v}:"<>=!+-*%&|^/".indexOf(k)>=0?v==="="?{type:W.Punctuator,value:k+v}:{type:W.Punctuator,value:k}:null)},scanComments:function(k){var v=this.peek(),_=this.peek(1),L=this.input.substr(2),G=this.line,K=this.char,J=this;function H(v4,m4,s4){var x=["jshint","jshint.unstable","jslint","members","member","globals","global","exported"],S=!1,P=v4+m4,M="plain";return s4=s4||{},s4.isMultiline&&(P+="*/"),m4=m4.replace(/\n/g," "),v4==="/*"&&p.fallsThrough.test(m4)&&(S=!0,M="falls through"),x.forEach(function(i4){if(!S&&!(v4==="//"&&i4!=="jshint"&&i4!=="jshint.unstable")){m4.charAt(i4.length)===" "&&m4.substr(0,i4.length)===i4&&(S=!0,v4=v4+i4,m4=m4.substr(i4.length)),!S&&m4.charAt(0)===" "&&m4.charAt(i4.length+1)===" "&&m4.substr(1,i4.length)===i4&&(S=!0,v4=v4+" "+i4,m4=m4.substr(i4.length+1));var r4=m4.indexOf(i4);if(!S&&r4>=0&&m4.charAt(r4+i4.length)===" "){var D=m4.substr(0,r4).trim().length===0;D&&(S=!0,m4=m4.substr(i4.length+r4))}if(!!S)switch(i4){case"member":M="members";break;case"global":M="globals";break;default:var j=m4.split(":").map(function(m){return m.replace(/^\s+/,"").replace(/\s+$/,"")});if(j.length===2)switch(j[0]){case"ignore":switch(j[1]){case"start":J.ignoringLinterErrors=!0,S=!1;break;case"end":J.ignoringLinterErrors=!1,S=!1;break}}M=i4}}}),{type:W.Comment,commentType:M,value:P,body:m4,isSpecial:S,isMalformed:s4.isMalformed||!1}}if(v==="*"&&_==="/")return this.trigger("error",{code:"E018",line:G,character:K}),this.skip(2),null;if(v!=="/"||_!=="*"&&_!=="/")return null;if(_==="/")return this.skip(this.input.length),H("//",L);var A4="";if(_==="*"){for(this.inComment=!0,this.skip(2);this.peek()!=="*"||this.peek(1)!=="/";)if(this.peek()===""){if(A4+=`
|
||
|
`,!this.nextLine(k))return this.trigger("error",{code:"E017",line:G,character:K}),this.inComment=!1,H("/*",A4,{isMultiline:!0,isMalformed:!0})}else A4+=this.peek(),this.skip();return this.skip(2),this.inComment=!1,H("/*",A4,{isMultiline:!0})}},scanKeyword:function(){var k=/^[a-zA-Z_$][a-zA-Z0-9_$]*/.exec(this.input),v=["if","in","do","var","for","new","try","let","this","else","case","void","with","enum","while","break","catch","throw","const","yield","class","super","return","typeof","delete","switch","export","import","default","finally","extends","function","continue","debugger","instanceof","true","false","null","async","await"];return k&&v.indexOf(k[0])>=0?{type:W.Keyword,value:k[0]}:null},scanIdentifier:function(k){var v="",_=0,L,G;function K(s4){return T.indexOf(s4)>-1}function J(s4){return K(s4)||O.indexOf(s4)>-1}var H=function(){if(_+=1,this.peek(_)!=="u")return null;var s4=this.peek(_+1)+this.peek(_+2)+this.peek(_+3)+this.peek(_+4),x;return o4(s4)?(x=parseInt(s4,16),e[x]||J(x)?(_+=5,"\\u"+s4):null):null}.bind(this),A4=function(){var s4=this.peek(_),x=s4.charCodeAt(0);return x===92?H():x<128?t[x]?(_+=1,s4):null:K(x)?(_+=1,s4):null}.bind(this),v4=function(){var s4=this.peek(_),x=s4.charCodeAt(0);return x===92?H():x<128?e[x]?(_+=1,s4):null:J(x)?(_+=1,s4):null}.bind(this);function m4(s4){return s4.replace(/\\u([0-9a-fA-F]{4})/g,function(x,S){return String.fromCharCode(parseInt(S,16))})}if(L=A4(),L===null)return null;for(v=L;L=v4(),L!==null;)v+=L;return G=m4(v),l.inES6(!0)||(N=z("../data/es5-identifier-names.js"),N.test(G)||this.triggerAsync("warning",{code:"W119",line:this.line,character:this.char,data:["unicode 8","6"]},k,function(){return!0})),{type:W.Identifier,value:G,text:v,tokenLength:v.length}},scanNumericLiteral:function(k){var v=0,_="",L=this.input.length,G=this.peek(v),K=v4,J=10,H=!1,A4=!1;function v4(M){return/^[0-9]$/.test(M)}function m4(M){return/^[0-7]$/.test(M)}function s4(M){return M==="8"||M==="9"}function x(M){return/^[01]$/.test(M)}function S(M){return M==="$"||M==="_"||M==="\\"||M>="a"&&M<="z"||M>="A"&&M<="Z"}if(G!=="."&&!v4(G))return null;if(G!=="."){for(_=this.peek(v),v+=1,G=this.peek(v),_==="0"&&((G==="x"||G==="X")&&(K=S4,J=16,v+=1,_+=G),(G==="o"||G==="O")&&(K=m4,J=8,l.inES6(!0)||this.triggerAsync("warning",{code:"W119",line:this.line,character:this.char,data:["Octal integer literal","6"]},k,function(){return!0}),v+=1,_+=G),(G==="b"||G==="B")&&(K=x,J=2,l.inES6(!0)||this.triggerAsync("warning",{code:"W119",line:this.line,character:this.char,data:["Binary integer literal","6"]},k,function(){return!0}),v+=1,_+=G),m4(G)?(K=m4,J=8,H=!0):v4(G)&&(A4=!0));v<L&&(G=this.peek(v),H&&s4(G)&&(J=10,H=!1,A4=!0,K=v4),!!K(G));)_+=G,v+=1;var P=this.peek(v)==="n";if(K!==v4||P){if(P)this.triggerAsync("warning",{code:"W119",line:this.line,character:this.char,data:["BigInt","11"]},k,function(){return!l.inES11()}),(H||A4)&&this.triggerAsync("error",{code:"E067",line:this.line,character:this.char,data:[_+G]},k,function(){return!0}),_+=G,v+=1;else if(!H&&_.length<=2)return{type:W.NumericLiteral,value:_,isMalformed:!0};return v<L&&(G=this.peek(v),S(G))?null:{type:W.NumericLiteral,value:_,base:J,isLegacy:H,isMalformed:!1}}}if(G===".")for(_+=G,v+=1;v<L&&(G=this.peek(v),!!v4(G));)_+=G,v+=1;if(G==="e"||G==="E")if(_+=G,v+=1,G=this.peek(v),(G==="+"||G==="-")&&(_+=this.peek(v),v+=1),G=this.peek(v),v4(G))for(_+=G,v+=1;v<L&&(G=this.peek(v),!!v4(G));)_+=G,v+=1;else return null;return v<L&&(G=this.peek(v),S(G))?null:(this.triggerAsync("warning",{code:"W045",line:this.line,character:this.char+_.length,data:[_]},k,function(){return!isFinite(_)}),{type:W.NumericLiteral,value:_,base:J,isNonOctal:A4,isMalformed:!1})},scanEscapeSequence:function(k){var v=!1,_=1;this.skip();var L=this.peek();switch(L){case"'":this.triggerAsync("warning",{code:"W114",line:this.line,character:this.char,data:["\\'"]},k,function(){return l.jsonMode});break;case"b":L="\\b";break;case"f":L="\\f";break;case"n":L="\\n";break;case"r":L="\\r";break;case"t":L="\\t";break;case"0":L="\\0";var G=parseInt(this.peek(1),10);this.triggerAsync("warning",{code:"W115",line
|
||
|
`,!this.nextLine(k)){var H=this.templateStarts.pop();return this.trigger("error",{code:"E052",line:H.line,character:H.char}),{type:v,value:_,startLine:G,startChar:K,isUnclosed:!0,depth:J,context:this.popContext()}}if(L==="$"&&this.peek(1)==="{")return _+="${",this.skip(2),{type:v,value:_,startLine:G,startChar:K,isUnclosed:!1,depth:J,context:this.currentContext()};if(L==="\\"){var A4=this.scanEscapeSequence(k);_+=A4.char,this.skip(A4.jump)}else L!=="`"&&(_+=L,this.skip(1))}return v=v===W.TemplateHead?W.NoSubstTemplate:W.TemplateTail,this.skip(1),this.templateStarts.pop(),{type:v,value:_,startLine:G,startChar:K,isUnclosed:!1,depth:J,context:this.popContext()}},scanStringLiteral:function(k){var v=this.peek();if(v!=='"'&&v!=="'")return null;this.triggerAsync("warning",{code:"W108",line:this.line,character:this.char},k,function(){return l.jsonMode&&v!=='"'});var _="",L=this.line,G=this.char,K=!1;for(this.skip();this.peek()!==v;)if(this.peek()===""){if(K?(K=!1,this.triggerAsync("warning",{code:"W043",line:this.line,character:this.char},k,function(){return!l.option.multistr}),this.triggerAsync("warning",{code:"W042",line:this.line,character:this.char},k,function(){return l.jsonMode&&l.option.multistr})):this.trigger("warning",{code:"W112",line:this.line,character:this.char}),!this.nextLine(k))return{type:W.StringLiteral,value:_,startLine:L,startChar:G,isUnclosed:!0,quote:v}}else{K=!1;var J=this.peek(),H=1;if(J<" "&&this.triggerAsync("warning",{code:"W113",line:this.line,character:this.char,data:["<non-printable>"]},k,function(){return!0}),J==="\\"){var A4=this.scanEscapeSequence(k);J=A4.char,H=A4.jump,K=A4.allowNewLine}J!==""&&(_+=J,this.skip(H))}return this.skip(),{type:W.StringLiteral,value:_,startLine:L,startChar:G,isUnclosed:!1,quote:v}},scanRegExp:function(k){var v=0,_=this.input.length,L=this.peek(),G=L,K="",J=[],H="",A4="",v4=!1,m4=!1,s4=!1,x=!1,S=!1,P=!1,M="",i4=function(){return H.indexOf("u")>-1},r4,D=0,j,m,c4=function(){var u4,e4;if(v+=1,L=this.peek(v),p.nonzeroDigit.test(L)){for(e4=L,u4=this.peek(v+1);p.nonzeroDigit.test(u4)||u4==="0";)v+=1,L=u4,e4+=L,K+=L,G+=L,u4=this.peek(v+1);return J.push(Number(e4)),e4}if(M+=L,L==="u"&&this.peek(v+1)==="{"){var F4=v+2;for(e4="u{",u4=this.peek(F4);o4(u4);)e4+=u4,F4+=1,u4=this.peek(F4);if(u4!=="}")this.triggerAsync("error",{code:"E016",line:this.line,character:this.char,data:["Invalid Unicode escape sequence"]},k,i4);else if(e4.length>2)return e4+="}",K+=e4,G+=e4,v=F4+1,e4}if(L==="p"||L==="P"){var y=v+2;if(e4="",u4="",this.peek(v+1)==="{")for(u4=this.peek(y);u4&&u4!=="}";)e4+=u4,y+=1,u4=this.peek(y);if((!e4||!z("./validate-unicode-escape-sequence")(e4))&&this.triggerAsync("error",{code:"E016",line:this.line,character:this.char,data:["Invalid Unicode property escape sequence"]},k,i4),e4)return e4=L+"{"+e4+"}",K+=e4,G+=e4,v=y+1,l.inES9()||this.triggerAsync("warning",{code:"W119",line:this.line,character:this.char,data:["Unicode property escape","9"]},k,i4),e4}return L<" "&&(v4=!0,this.triggerAsync("warning",{code:"W048",line:this.line,character:this.char},k,function(){return!0})),L==="<"?(v4=!0,this.triggerAsync("warning",{code:"W049",line:this.line,character:this.char,data:[L]},k,function(){return!0})):L==="0"&&p.decimalDigit.test(this.peek(v+1))&&this.triggerAsync("error",{code:"E016",line:this.line,character:this.char,data:["Invalid decimal escape sequence"]},k,i4),v+=1,K+=L,G+=L,L}.bind(this),I=function(){var u4=v,e4="",F4="",y;for(y=this.peek(u4+1);p.decimalDigit.test(y);)u4+=1,e4+=y,y=this.peek(u4+1);if(!e4)return!1;if(y==="}")return!0;if(y!==",")return!1;for(u4+=1,y=this.peek(u4+1);p.decimalDigit.test(y);)u4+=1,F4+=y,y=this.peek(u4+1);return y!=="}"?!1:F4?Number(e4)<=Number(F4):!0}.bind(this),p4=function(u4){var e4="\uFFFF";return u4.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,function(F4,y,M4){var C4=parseInt(y||M4,16),X;if(C4>1114111){v4=!0,this.trigger("error",{code:"E016",line:this.line,character:this.char,data:[L]});return}return X=String.fromCharCode(C4),p.regexpSyntaxChars.test(X)?F4:C4<=65535?String.fromCharCode(C4):e4}.bind(this)).replace(/[\uD800-\uDBFF][
|
||
|
`+G);if(K>=0){var J=L.indexOf(`
|
||
|
`,K+1);L=L.substring(J+1)}this.stack=L}}},u.inherits(l.AssertionError,Error);function o(U,k){return u.isUndefined(k)?""+k:u.isNumber(k)&&!isFinite(k)||u.isFunction(k)||u.isRegExp(k)?k.toString():k}function t(U,k){return u.isString(U)?U.length<k?U:U.slice(0,k):U}function e(U){return t(JSON.stringify(U.actual,o),128)+" "+U.operator+" "+t(JSON.stringify(U.expected,o),128)}function T(U,k,v,_,L){throw new l.AssertionError({message:v,actual:U,expected:k,operator:_,stackStartFunction:L})}l.fail=T;function O(U,k){U||T(U,!0,k,"==",l.ok)}l.ok=O,l.equal=function(k,v,_){k!=v&&T(k,v,_,"==",l.equal)},l.notEqual=function(k,v,_){k==v&&T(k,v,_,"!=",l.notEqual)},l.deepEqual=function(k,v,_){N(k,v)||T(k,v,_,"deepEqual",l.deepEqual)};function N(U,k){if(U===k)return!0;if(u.isBuffer(U)&&u.isBuffer(k)){if(U.length!=k.length)return!1;for(var v=0;v<U.length;v++)if(U[v]!==k[v])return!1;return!0}else return u.isDate(U)&&u.isDate(k)?U.getTime()===k.getTime():u.isRegExp(U)&&u.isRegExp(k)?U.source===k.source&&U.global===k.global&&U.multiline===k.multiline&&U.lastIndex===k.lastIndex&&U.ignoreCase===k.ignoreCase:!u.isObject(U)&&!u.isObject(k)?U==k:l4(U,k)}function W(U){return Object.prototype.toString.call(U)=="[object Arguments]"}function l4(U,k){if(u.isNullOrUndefined(U)||u.isNullOrUndefined(k)||U.prototype!==k.prototype)return!1;if(u.isPrimitive(U)||u.isPrimitive(k))return U===k;var v=W(U),_=W(k);if(v&&!_||!v&&_)return!1;if(v)return U=f.call(U),k=f.call(k),N(U,k);var L=W4(U),G=W4(k),K,J;if(L.length!=G.length)return!1;for(L.sort(),G.sort(),J=L.length-1;J>=0;J--)if(L[J]!=G[J])return!1;for(J=L.length-1;J>=0;J--)if(K=L[J],!N(U[K],k[K]))return!1;return!0}l.notDeepEqual=function(k,v,_){N(k,v)&&T(k,v,_,"notDeepEqual",l.notDeepEqual)},l.strictEqual=function(k,v,_){k!==v&&T(k,v,_,"===",l.strictEqual)},l.notStrictEqual=function(k,v,_){k===v&&T(k,v,_,"!==",l.notStrictEqual)};function o4(U,k){return!U||!k?!1:Object.prototype.toString.call(k)=="[object RegExp]"?k.test(U):U instanceof k?!0:k.call({},U)===!0}function S4(U,k,v,_){var L;u.isString(v)&&(_=v,v=null);try{k()}catch(G){L=G}if(_=(v&&v.name?" ("+v.name+").":".")+(_?" "+_:"."),U&&!L&&T(L,v,"Missing expected exception"+_),!U&&o4(L,v)&&T(L,v,"Got unwanted exception"+_),U&&L&&v&&!o4(L,v)||!U&&L)throw L}l.throws=function(U,k,v){S4.apply(this,[!0].concat(f.call(arguments)))},l.doesNotThrow=function(U,k){S4.apply(this,[!1].concat(f.call(arguments)))},l.ifError=function(U){if(U)throw U};var W4=Object.keys||function(U){var k=[];for(var v in U)p.call(U,v)&&k.push(v);return k}},{"util/":"/node_modules/assert/node_modules/util/util.js"}],"/node_modules/assert/node_modules/inherits/inherits_browser.js":[function(z,$,d){typeof Object.create=="function"?$.exports=function(f,p){f.super_=p,f.prototype=Object.create(p.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}})}:$.exports=function(f,p){f.super_=p;var l=function(){};l.prototype=p.prototype,f.prototype=new l,f.prototype.constructor=f}},{}],"/node_modules/assert/node_modules/util/support/isBufferBrowser.js":[function(z,$,d){$.exports=function(f){return f&&typeof f=="object"&&typeof f.copy=="function"&&typeof f.fill=="function"&&typeof f.readUInt8=="function"}},{}],"/node_modules/assert/node_modules/util/util.js":[function(z,$,d){(function(u,f){var p=/%[sdj%]/g;d.format=function(D){if(!G(D)){for(var j=[],m=0;m<arguments.length;m++)j.push(t(arguments[m]));return j.join(" ")}for(var m=1,c4=arguments,I=c4.length,p4=String(D).replace(p,function(u4){if(u4==="%%")return"%";if(m>=I)return u4;switch(u4){case"%s":return String(c4[m++]);case"%d":return Number(c4[m++]);case"%j":try{return JSON.stringify(c4[m++])}catch(e4){return"[Circular]"}default:return u4}}),f4=c4[m];m<I;f4=c4[++m])v(f4)||!A4(f4)?p4+=" "+f4:p4+=" "+t(f4);return p4},d.deprecate=function(D,j){if(J(f.process))return function(){return d.deprecate(D,j).apply(this,arguments)};if(u.noDeprecation===!0)return D;var m=!1;function c4(){if(!m){if(u.throwDeprecation)throw new Error(j);u.traceDeprecation?console.trace(j):console.error(j),m=!0}return D.apply(this,arguments)}return c4};var l={},o;d.deb
|
||
|
`)>-1&&(p4?u4=u4.split(`
|
||
|
`).map(function(F4){return" "+F4}).join(`
|
||
|
`).substr(2):u4=`
|
||
|
`+u4.split(`
|
||
|
`).map(function(F4){return" "+F4}).join(`
|
||
|
`))):u4=D.stylize("[Circular]","special")),J(f4)){if(p4&&I.match(/^\d+$/))return u4;f4=JSON.stringify(""+I),f4.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(f4=f4.substr(1,f4.length-2),f4=D.stylize(f4,"name")):(f4=f4.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),f4=D.stylize(f4,"string"))}return f4+": "+u4}function W4(D,j,m){var c4=0,I=D.reduce(function(p4,f4){return c4++,f4.indexOf(`
|
||
|
`)>=0&&c4++,p4+f4.replace(/\u001b\[\d\d?m/g,"").length+1},0);return I>60?m[0]+(j===""?"":j+`
|
||
|
`)+" "+D.join(`,
|
||
|
`)+" "+m[1]:m[0]+j+" "+D.join(", ")+" "+m[1]}function U(D){return Array.isArray(D)}d.isArray=U;function k(D){return typeof D=="boolean"}d.isBoolean=k;function v(D){return D===null}d.isNull=v;function _(D){return D==null}d.isNullOrUndefined=_;function L(D){return typeof D=="number"}d.isNumber=L;function G(D){return typeof D=="string"}d.isString=G;function K(D){return typeof D=="symbol"}d.isSymbol=K;function J(D){return D===void 0}d.isUndefined=J;function H(D){return A4(D)&&S(D)==="[object RegExp]"}d.isRegExp=H;function A4(D){return typeof D=="object"&&D!==null}d.isObject=A4;function v4(D){return A4(D)&&S(D)==="[object Date]"}d.isDate=v4;function m4(D){return A4(D)&&(S(D)==="[object Error]"||D instanceof Error)}d.isError=m4;function s4(D){return typeof D=="function"}d.isFunction=s4;function x(D){return D===null||typeof D=="boolean"||typeof D=="number"||typeof D=="string"||typeof D=="symbol"||typeof D=="undefined"}d.isPrimitive=x,d.isBuffer=z("./support/isBuffer");function S(D){return Object.prototype.toString.call(D)}function P(D){return D<10?"0"+D.toString(10):D.toString(10)}var M=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function i4(){var D=new Date,j=[P(D.getHours()),P(D.getMinutes()),P(D.getSeconds())].join(":");return[D.getDate(),M[D.getMonth()],j].join(" ")}d.log=function(){console.log("%s - %s",i4(),d.format.apply(d,arguments))},d.inherits=z("inherits"),d._extend=function(D,j){if(!j||!A4(j))return D;for(var m=Object.keys(j),c4=m.length;c4--;)D[m[c4]]=j[m[c4]];return D};function r4(D,j){return Object.prototype.hasOwnProperty.call(D,j)}}).call(this,z("_process"),typeof _3.g!="undefined"?_3.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./support/isBuffer":"/node_modules/assert/node_modules/util/support/isBufferBrowser.js",_process:"/node_modules/process/browser.js",inherits:"/node_modules/assert/node_modules/inherits/inherits_browser.js"}],"/node_modules/events/events.js":[function(z,$,d){function u(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}$.exports=u,u.EventEmitter=u,u.prototype._events=void 0,u.prototype._maxListeners=void 0,u.defaultMaxListeners=10,u.prototype.setMaxListeners=function(t){if(!p(t)||t<0||isNaN(t))throw TypeError("n must be a positive number");return this._maxListeners=t,this},u.prototype.emit=function(t){var e,T,O,N,W,l4;if(this._events||(this._events={}),t==="error"&&(!this._events.error||l(this._events.error)&&!this._events.error.length))throw e=arguments[1],e instanceof Error?e:TypeError('Uncaught, unspecified "error" event.');if(T=this._events[t],o(T))return!1;if(f(T))switch(arguments.length){case 1:T.call(this);break;case 2:T.call(this,arguments[1]);break;case 3:T.call(this,arguments[1],arguments[2]);break;default:for(O=arguments.length,N=new Array(O-1),W=1;W<O;W++)N[W-1]=arguments[W];T.apply(this,N)}else if(l(T)){for(O=arguments.length,N=new Array(O-1),W=1;W<O;W++)N[W-1]=arguments[W];for(l4=T.slice(),O=l4.length,W=0;W<O;W++)l4[W].apply(this,N)}return!0},u.prototype.addListener=function(t,e){var T;if(!f(e))throw TypeError("listener must be a function");if(this._events||(this._events={}),this._events.newListener&&this.emit("newListener",t,f(e.listener)?e.listener:e),this._events[t]?l(this._events[t])?this._events[t].push(e):this._events[t]=[this._events[t],e]:this._events[t]=e,l(this._events[t])&&!this._events[t].warned){var T;o(this._maxListeners)?T=u.defaultMaxListeners:T=this._maxListeners,T&&T>0&&this._events[t].length>T&&(this._events[t].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[t].length),typeof console.trace=="function"&&console.trace())}return this},u.prototype.on=u.prototype.addListener,u.prototype.once=function(t,e){if(!f(e))throw TypeError("listener must be a function");var T=!1;function O(){this.removeListener(t,O),T||(T=!0,e.apply(this,arguments))}return O.listener=e,this.on(t,O),this},u.prototype.removeListener=function(t,e){var T,O,N,W;if(!f(e))throw TypeError("
|
||
|
`),!t)return this.sender.emit("annotate",[]);var e=[];d(t,this.options,this.options.globals);for(var T=d.errors,O=!1,N=0;N<T.length;N++){var W=T[N];if(!!W){var l4=W.raw,o4="warning";if(l4=="Missing semicolon."){var S4=W.evidence.substr(W.character);S4=S4.charAt(S4.search(/\S/)),S4&&/[\w\d{(['"]/.test(S4)?(W.reason='Missing ";" before statement',o4="error"):o4="info"}else{if(f.test(l4))continue;l.test(l4)?o4="info":p.test(l4)?(O=!0,o4="error"):l4=="'{a}' is not defined."?o4="warning":l4=="'{a}' is defined but never used."&&(o4="info")}e.push({row:W.line-1,column:W.character-1,text:W.reason,type:o4,raw:l4})}}this.sender.emit("annotate",e)}}.call(o.prototype)})}}]);
|