@guihz/trading-vue-editor-tes 0.0.93 → 0.0.95
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/assets/parserTccWorker-Atmd3LRI.js +207 -0
- package/lib/assets/{scriptsRunWorker-Bk3yW9bW.js → scriptsRunWorker-CgIm6yWg.js} +24 -24
- package/lib/components/editor/parseScript/buildInFuncNamespace/errorListener.d.ts +1 -1
- package/lib/components/editor/parseScript/buildInFuncNamespace/index.d.ts +2 -1
- package/lib/components/editor/parseScript/buildInFuncNamespace/input.d.ts +1 -0
- package/lib/components/editor/parseScript/buildInFuncNamespace/syminfo.d.ts +9 -0
- package/lib/components/editor/parseScript/buildInVarNamespace/Dividends.d.ts +8 -0
- package/lib/components/editor/parseScript/buildInVarNamespace/chart.d.ts +16 -0
- package/lib/components/editor/parseScript/buildInVarNamespace/earnings.d.ts +9 -0
- package/lib/components/editor/parseScript/buildInVarNamespace/index.d.ts +4 -0
- package/lib/components/editor/parseScript/buildInVarNamespace/syminfo.d.ts +42 -0
- package/lib/components/editor/parseScript/constants.d.ts +9 -0
- package/lib/components/editor/parseScript/enum.d.ts +8 -4
- package/lib/components/editor/parseScript/parseToJs.d.ts +2 -0
- package/lib/components/editor/parseScript/parseToLibJs.d.ts +2 -0
- package/lib/components/editor/parseScript/visitorParser.d.ts +16 -0
- package/lib/components/editor/tokenizer/config.d.ts +2 -1
- package/lib/components/editor/type/index.d.ts +4 -0
- package/lib/components/editor/utils/completions.d.ts +6 -1
- package/lib/components/editor/utils/parse.d.ts +3 -0
- package/lib/components/editor/utils/parserTcc.d.ts +4 -0
- package/lib/components/editor/utils/parserTccWorker.d.ts +4 -0
- package/lib/tccParser/tccScriptParserVisitor.d.ts +14 -0
- package/lib/trading-vue-editor.js +2884 -2563
- package/lib/trading-vue-editor.umd.cjs +40 -36
- package/package.json +1 -1
- package/lib/assets/parserTccWorker-BOpzDxKa.js +0 -207
@@ -0,0 +1,207 @@
|
|
1
|
+
var tb=Object.defineProperty;var nb=(bo,vi,Nr)=>vi in bo?tb(bo,vi,{enumerable:!0,configurable:!0,writable:!0,value:Nr}):bo[vi]=Nr;var I=(bo,vi,Nr)=>(nb(bo,typeof vi!="symbol"?vi+"":vi,Nr),Nr);(function(){"use strict";var bo={92:()=>{}},vi={};function Nr(t){var e=vi[t];if(e!==void 0)return e.exports;var n=vi[t]={exports:{}};return bo[t](n,n.exports,Nr),n.exports}Nr.d=(t,e)=>{for(var n in e)Nr.o(e,n)&&!Nr.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},Nr.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var Mt={};(()=>{function t(f){return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},t(f)}function e(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(t(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(t(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),t(_)==="symbol"?_:String(_)),s)}var _}Nr.d(Mt,{dx:()=>bn,q2:()=>t0,FO:()=>pm,xf:()=>su,Gy:()=>ym,s4:()=>Us,c7:()=>bm,_7:()=>um,gp:()=>lm,cK:()=>Ls,zs:()=>w0,AV:()=>su,Xp:()=>_e,VS:()=>J,ul:()=>Go,hW:()=>hr,x1:()=>Wa,z5:()=>$c,oN:()=>A0,TB:()=>cm,u1:()=>Kc,_b:()=>z0,$F:()=>om,_T:()=>X0,db:()=>am,Zx:()=>Wn,_x:()=>Ko,r8:()=>ro,JI:()=>Le,TP:()=>hn,WU:()=>n,Nj:()=>F,ZP:()=>eb});var n=function(){function f(){(function(s,_){if(!(s instanceof _))throw new TypeError("Cannot call a class as a function")})(this,f),this.source=null,this.type=null,this.channel=null,this.start=null,this.stop=null,this.tokenIndex=null,this.line=null,this.column=null,this._text=null}var i,m;return i=f,(m=[{key:"getTokenSource",value:function(){return this.source[0]}},{key:"getInputStream",value:function(){return this.source[1]}},{key:"text",get:function(){return this._text},set:function(s){this._text=s}}])&&e(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();function r(f,i){if(!Array.isArray(f)||!Array.isArray(i))return!1;if(f===i)return!0;if(f.length!==i.length)return!1;for(var m=0;m<f.length;m++)if(!(f[m]===i[m]||f[m].equals&&f[m].equals(i[m])))return!1;return!0}function a(f){return a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},a(f)}n.INVALID_TYPE=0,n.EPSILON=-2,n.MIN_USER_TOKEN_TYPE=1,n.EOF=-1,n.DEFAULT_CHANNEL=0,n.HIDDEN_CHANNEL=1;var c=Math.round(Math.random()*Math.pow(2,32));function h(f){if(!f)return 0;var i,m,s=a(f),_=s==="string"?f:!(s!=="object"||!f.toString)&&f.toString();if(!_)return 0;for(var l=3&_.length,y=_.length-l,o=c,u=3432918353,S=461845907,D=0;D<y;)m=255&_.charCodeAt(D)|(255&_.charCodeAt(++D))<<8|(255&_.charCodeAt(++D))<<16|(255&_.charCodeAt(++D))<<24,++D,o=27492+(65535&(i=5*(65535&(o=(o^=m=(65535&(m=(m=(65535&m)*u+(((m>>>16)*u&65535)<<16)&4294967295)<<15|m>>>17))*S+(((m>>>16)*S&65535)<<16)&4294967295)<<13|o>>>19))+((5*(o>>>16)&65535)<<16)&4294967295))+((58964+(i>>>16)&65535)<<16);switch(m=0,l){case 3:m^=(255&_.charCodeAt(D+2))<<16;case 2:m^=(255&_.charCodeAt(D+1))<<8;case 1:o^=m=(65535&(m=(m=(65535&(m^=255&_.charCodeAt(D)))*u+(((m>>>16)*u&65535)<<16)&4294967295)<<15|m>>>17))*S+(((m>>>16)*S&65535)<<16)&4294967295}return o^=_.length,o=2246822507*(65535&(o^=o>>>16))+((2246822507*(o>>>16)&65535)<<16)&4294967295,o=3266489909*(65535&(o^=o>>>13))+((3266489909*(o>>>16)&65535)<<16)&4294967295,(o^=o>>>16)>>>0}function d(f){return d=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},d(f)}function E(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(d(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(d(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),d(_)==="symbol"?_:String(_)),s)}var _}var b=function(){function f(){(function(_,l){if(!(_ instanceof l))throw new TypeError("Cannot call a class as a function")})(this,f),this.count=0,this.hash=0}var i,m,s;return i=f,m=[{key:"update",value:function(){for(var _=0;_<arguments.length;_++){var l=arguments[_];if(l!=null)if(Array.isArray(l))this.update.apply(this,l);else{var y=0;switch(d(l)){case"undefined":case"function":continue;case"number":case"boolean":y=l;break;case"string":y=h(l);break;default:l.updateHashCode?l.updateHashCode(this):console.log("No updateHashCode for "+l.toString());continue}y=(y*=3432918353)<<15|y>>>17,y*=461845907,this.count=this.count+1;var o=this.hash^y;o=5*(o=o<<13|o>>>19)+3864292196,this.hash=o}}}},{key:"finish",value:function(){var _=this.hash^4*this.count;return _^=_>>>16,_*=2246822507,_^=_>>>13,(_*=3266489909)^_>>>16}}],s=[{key:"hashStuff",value:function(){var _=new f;return _.update.apply(_,arguments),_.finish()}}],m&&E(i.prototype,m),s&&E(i,s),Object.defineProperty(i,"prototype",{writable:!1}),f}();function T(f){return f?typeof f=="string"?h(f):f.hashCode():-1}function x(f,i){return f?f.equals(i):f===i}function w(f){return f===null?"null":f}function F(f){return Array.isArray(f)?"["+f.map(w).join(", ")+"]":"null"}function R(f){return R=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},R(f)}function v(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(R(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(R(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),R(_)==="symbol"?_:String(_)),s)}var _}var p="h-",g=function(){function f(s,_){(function(l,y){if(!(l instanceof y))throw new TypeError("Cannot call a class as a function")})(this,f),this.data={},this.hashFunction=s||T,this.equalsFunction=_||x}var i,m;return i=f,(m=[{key:"add",value:function(s){var _=p+this.hashFunction(s);if(_ in this.data){for(var l=this.data[_],y=0;y<l.length;y++)if(this.equalsFunction(s,l[y]))return l[y];return l.push(s),s}return this.data[_]=[s],s}},{key:"has",value:function(s){return this.get(s)!=null}},{key:"get",value:function(s){var _=p+this.hashFunction(s);if(_ in this.data){for(var l=this.data[_],y=0;y<l.length;y++)if(this.equalsFunction(s,l[y]))return l[y]}return null}},{key:"values",value:function(){var s=this;return Object.keys(this.data).filter(function(_){return _.startsWith(p)}).flatMap(function(_){return s.data[_]},this)}},{key:"toString",value:function(){return F(this.values())}},{key:"length",get:function(){var s=this;return Object.keys(this.data).filter(function(_){return _.startsWith(p)}).map(function(_){return s.data[_].length},this).reduce(function(_,l){return _+l},0)}}])&&v(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();function A(f,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");f.prototype=Object.create(i&&i.prototype,{constructor:{value:f,writable:!0,configurable:!0}}),Object.defineProperty(f,"prototype",{writable:!1}),i&&O(f,i)}function O(f,i){return O=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},O(f,i)}function k(f){var i=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var m,s=P(f);if(i){var _=P(this).constructor;m=Reflect.construct(s,arguments,_)}else m=s.apply(this,arguments);return function(l,y){if(y&&(L(y)==="object"||typeof y=="function"))return y;if(y!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(o){if(o===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}(l)}(this,m)}}function P(f){return P=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},P(f)}function L(f){return L=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},L(f)}function $(f,i){if(!(f instanceof i))throw new TypeError("Cannot call a class as a function")}function M(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(L(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(L(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),L(_)==="symbol"?_:String(_)),s)}var _}function G(f,i,m){return i&&M(f.prototype,i),m&&M(f,m),Object.defineProperty(f,"prototype",{writable:!1}),f}var N=function(){function f(){$(this,f)}return G(f,[{key:"hashCode",value:function(){var i=new b;return this.updateHashCode(i),i.finish()}},{key:"evaluate",value:function(i,m){}},{key:"evalPrecedence",value:function(i,m){return this}}],[{key:"andContext",value:function(i,m){if(i===null||i===f.NONE)return m;if(m===null||m===f.NONE)return i;var s=new z(i,m);return s.opnds.length===1?s.opnds[0]:s}},{key:"orContext",value:function(i,m){if(i===null)return m;if(m===null)return i;if(i===f.NONE||m===f.NONE)return f.NONE;var s=new Y(i,m);return s.opnds.length===1?s.opnds[0]:s}}]),f}(),z=function(f){A(m,f);var i=k(m);function m(s,_){var l;$(this,m),l=i.call(this);var y=new g;s instanceof m?s.opnds.map(function(S){y.add(S)}):y.add(s),_ instanceof m?_.opnds.map(function(S){y.add(S)}):y.add(_);var o=ne(y);if(o.length>0){var u=null;o.map(function(S){(u===null||S.precedence<u.precedence)&&(u=S)}),y.add(u)}return l.opnds=Array.from(y.values()),l}return G(m,[{key:"equals",value:function(s){return this===s||s instanceof m&&r(this.opnds,s.opnds)}},{key:"updateHashCode",value:function(s){s.update(this.opnds,"AND")}},{key:"evaluate",value:function(s,_){for(var l=0;l<this.opnds.length;l++)if(!this.opnds[l].evaluate(s,_))return!1;return!0}},{key:"evalPrecedence",value:function(s,_){for(var l=!1,y=[],o=0;o<this.opnds.length;o++){var u=this.opnds[o],S=u.evalPrecedence(s,_);if(l|=S!==u,S===null)return null;S!==N.NONE&&y.push(S)}if(!l)return this;if(y.length===0)return N.NONE;var D=null;return y.map(function(C){D=D===null?C:N.andContext(D,C)}),D}},{key:"toString",value:function(){var s=this.opnds.map(function(_){return _.toString()});return(s.length>3?s.slice(3):s).join("&&")}}]),m}(N),Y=function(f){A(m,f);var i=k(m);function m(s,_){var l;$(this,m),l=i.call(this);var y=new g;s instanceof m?s.opnds.map(function(D){y.add(D)}):y.add(s),_ instanceof m?_.opnds.map(function(D){y.add(D)}):y.add(_);var o=ne(y);if(o.length>0){var u=o.sort(function(D,C){return D.compareTo(C)}),S=u[u.length-1];y.add(S)}return l.opnds=Array.from(y.values()),l}return G(m,[{key:"equals",value:function(s){return this===s||s instanceof m&&r(this.opnds,s.opnds)}},{key:"updateHashCode",value:function(s){s.update(this.opnds,"OR")}},{key:"evaluate",value:function(s,_){for(var l=0;l<this.opnds.length;l++)if(this.opnds[l].evaluate(s,_))return!0;return!1}},{key:"evalPrecedence",value:function(s,_){for(var l=!1,y=[],o=0;o<this.opnds.length;o++){var u=this.opnds[o],S=u.evalPrecedence(s,_);if(l|=S!==u,S===N.NONE)return N.NONE;S!==null&&y.push(S)}return l?(y.length===0||y.map(function(D){return D}),null):this}},{key:"toString",value:function(){var s=this.opnds.map(function(_){return _.toString()});return(s.length>3?s.slice(3):s).join("||")}}]),m}(N);function ne(f){var i=[];return f.values().map(function(m){m instanceof N.PrecedencePredicate&&i.push(m)}),i}function se(f){return se=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},se(f)}function re(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(se(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(se(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),se(_)==="symbol"?_:String(_)),s)}var _}function ue(f,i){if(f===null){var m={state:null,alt:null,context:null,semanticContext:null};return i&&(m.reachesIntoOuterContext=0),m}var s={};return s.state=f.state||null,s.alt=f.alt===void 0?null:f.alt,s.context=f.context||null,s.semanticContext=f.semanticContext||null,i&&(s.reachesIntoOuterContext=f.reachesIntoOuterContext||0,s.precedenceFilterSuppressed=f.precedenceFilterSuppressed||!1),s}var ce=function(){function f(s,_){(function(l,y){if(!(l instanceof y))throw new TypeError("Cannot call a class as a function")})(this,f),this.checkContext(s,_),s=ue(s),_=ue(_,!0),this.state=s.state!==null?s.state:_.state,this.alt=s.alt!==null?s.alt:_.alt,this.context=s.context!==null?s.context:_.context,this.semanticContext=s.semanticContext!==null?s.semanticContext:_.semanticContext!==null?_.semanticContext:N.NONE,this.reachesIntoOuterContext=_.reachesIntoOuterContext,this.precedenceFilterSuppressed=_.precedenceFilterSuppressed}var i,m;return i=f,(m=[{key:"checkContext",value:function(s,_){s.context!==null&&s.context!==void 0||_!==null&&_.context!==null&&_.context!==void 0||(this.context=null)}},{key:"hashCode",value:function(){var s=new b;return this.updateHashCode(s),s.finish()}},{key:"updateHashCode",value:function(s){s.update(this.state.stateNumber,this.alt,this.context,this.semanticContext)}},{key:"equals",value:function(s){return this===s||s instanceof f&&this.state.stateNumber===s.state.stateNumber&&this.alt===s.alt&&(this.context===null?s.context===null:this.context.equals(s.context))&&this.semanticContext.equals(s.semanticContext)&&this.precedenceFilterSuppressed===s.precedenceFilterSuppressed}},{key:"hashCodeForConfigSet",value:function(){var s=new b;return s.update(this.state.stateNumber,this.alt,this.semanticContext),s.finish()}},{key:"equalsForConfigSet",value:function(s){return this===s||s instanceof f&&this.state.stateNumber===s.state.stateNumber&&this.alt===s.alt&&this.semanticContext.equals(s.semanticContext)}},{key:"toString",value:function(){return"("+this.state+","+this.alt+(this.context!==null?",["+this.context.toString()+"]":"")+(this.semanticContext!==N.NONE?","+this.semanticContext.toString():"")+(this.reachesIntoOuterContext>0?",up="+this.reachesIntoOuterContext:"")+")"}}])&&re(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();function Ee(f){return Ee=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ee(f)}function Te(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(Ee(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ee(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ee(_)==="symbol"?_:String(_)),s)}var _}var _e=function(){function f(s,_){(function(l,y){if(!(l instanceof y))throw new TypeError("Cannot call a class as a function")})(this,f),this.start=s,this.stop=_}var i,m;return i=f,(m=[{key:"clone",value:function(){return new f(this.start,this.stop)}},{key:"contains",value:function(s){return s>=this.start&&s<this.stop}},{key:"toString",value:function(){return this.start===this.stop-1?this.start.toString():this.start.toString()+".."+(this.stop-1).toString()}},{key:"length",get:function(){return this.stop-this.start}}])&&Te(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();function oe(f){return oe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},oe(f)}function Z(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(oe(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(oe(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),oe(_)==="symbol"?_:String(_)),s)}var _}_e.INVALID_INTERVAL=new _e(-1,-2);var J=function(){function f(){(function(s,_){if(!(s instanceof _))throw new TypeError("Cannot call a class as a function")})(this,f),this.intervals=null,this.readOnly=!1}var i,m;return i=f,(m=[{key:"first",value:function(s){return this.intervals===null||this.intervals.length===0?n.INVALID_TYPE:this.intervals[0].start}},{key:"addOne",value:function(s){this.addInterval(new _e(s,s+1))}},{key:"addRange",value:function(s,_){this.addInterval(new _e(s,_+1))}},{key:"addInterval",value:function(s){if(this.intervals===null)this.intervals=[],this.intervals.push(s.clone());else{for(var _=0;_<this.intervals.length;_++){var l=this.intervals[_];if(s.stop<l.start)return void this.intervals.splice(_,0,s);if(s.stop===l.start)return void(this.intervals[_]=new _e(s.start,l.stop));if(s.start<=l.stop)return this.intervals[_]=new _e(Math.min(l.start,s.start),Math.max(l.stop,s.stop)),void this.reduce(_)}this.intervals.push(s.clone())}}},{key:"addSet",value:function(s){var _=this;return s.intervals!==null&&s.intervals.forEach(function(l){return _.addInterval(l)},this),this}},{key:"reduce",value:function(s){if(s<this.intervals.length-1){var _=this.intervals[s],l=this.intervals[s+1];_.stop>=l.stop?(this.intervals.splice(s+1,1),this.reduce(s)):_.stop>=l.start&&(this.intervals[s]=new _e(_.start,l.stop),this.intervals.splice(s+1,1))}}},{key:"complement",value:function(s,_){var l=new f;return l.addInterval(new _e(s,_+1)),this.intervals!==null&&this.intervals.forEach(function(y){return l.removeRange(y)}),l}},{key:"contains",value:function(s){if(this.intervals===null)return!1;for(var _=0;_<this.intervals.length;_++)if(this.intervals[_].contains(s))return!0;return!1}},{key:"removeRange",value:function(s){if(s.start===s.stop-1)this.removeOne(s.start);else if(this.intervals!==null)for(var _=0,l=0;l<this.intervals.length;l++){var y=this.intervals[_];if(s.stop<=y.start)return;if(s.start>y.start&&s.stop<y.stop){this.intervals[_]=new _e(y.start,s.start);var o=new _e(s.stop,y.stop);return void this.intervals.splice(_,0,o)}s.start<=y.start&&s.stop>=y.stop?(this.intervals.splice(_,1),_-=1):s.start<y.stop?this.intervals[_]=new _e(y.start,s.start):s.stop<y.stop&&(this.intervals[_]=new _e(s.stop,y.stop)),_+=1}}},{key:"removeOne",value:function(s){if(this.intervals!==null)for(var _=0;_<this.intervals.length;_++){var l=this.intervals[_];if(s<l.start)return;if(s===l.start&&s===l.stop-1)return void this.intervals.splice(_,1);if(s===l.start)return void(this.intervals[_]=new _e(l.start+1,l.stop));if(s===l.stop-1)return void(this.intervals[_]=new _e(l.start,l.stop-1));if(s<l.stop-1){var y=new _e(l.start,s);return l.start=s+1,void this.intervals.splice(_,0,y)}}}},{key:"toString",value:function(s,_,l){return s=s||null,_=_||null,l=l||!1,this.intervals===null?"{}":s!==null||_!==null?this.toTokenString(s,_):l?this.toCharString():this.toIndexString()}},{key:"toCharString",value:function(){for(var s=[],_=0;_<this.intervals.length;_++){var l=this.intervals[_];l.stop===l.start+1?l.start===n.EOF?s.push("<EOF>"):s.push("'"+String.fromCharCode(l.start)+"'"):s.push("'"+String.fromCharCode(l.start)+"'..'"+String.fromCharCode(l.stop-1)+"'")}return s.length>1?"{"+s.join(", ")+"}":s[0]}},{key:"toIndexString",value:function(){for(var s=[],_=0;_<this.intervals.length;_++){var l=this.intervals[_];l.stop===l.start+1?l.start===n.EOF?s.push("<EOF>"):s.push(l.start.toString()):s.push(l.start.toString()+".."+(l.stop-1).toString())}return s.length>1?"{"+s.join(", ")+"}":s[0]}},{key:"toTokenString",value:function(s,_){for(var l=[],y=0;y<this.intervals.length;y++)for(var o=this.intervals[y],u=o.start;u<o.stop;u++)l.push(this.elementName(s,_,u));return l.length>1?"{"+l.join(", ")+"}":l[0]}},{key:"elementName",value:function(s,_,l){return l===n.EOF?"<EOF>":l===n.EPSILON?"<EPSILON>":s[l]||_[l]}},{key:"length",get:function(){return this.intervals.map(function(s){return s.length}).reduce(function(s,_){return s+_})}}])&&Z(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();function te(f){return te=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},te(f)}function ve(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(te(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(te(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),te(_)==="symbol"?_:String(_)),s)}var _}var me=function(){function f(){(function(s,_){if(!(s instanceof _))throw new TypeError("Cannot call a class as a function")})(this,f),this.atn=null,this.stateNumber=f.INVALID_STATE_NUMBER,this.stateType=null,this.ruleIndex=0,this.epsilonOnlyTransitions=!1,this.transitions=[],this.nextTokenWithinRule=null}var i,m;return i=f,(m=[{key:"toString",value:function(){return this.stateNumber}},{key:"equals",value:function(s){return s instanceof f&&this.stateNumber===s.stateNumber}},{key:"isNonGreedyExitState",value:function(){return!1}},{key:"addTransition",value:function(s,_){_===void 0&&(_=-1),this.transitions.length===0?this.epsilonOnlyTransitions=s.isEpsilon:this.epsilonOnlyTransitions!==s.isEpsilon&&(this.epsilonOnlyTransitions=!1),_===-1?this.transitions.push(s):this.transitions.splice(_,1,s)}}])&&ve(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();function Ze(f){return Ze=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ze(f)}function Ve(f,i){return Ve=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Ve(f,i)}function ht(f,i){if(i&&(Ze(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return wt(f)}function wt(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function yt(f){return yt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},yt(f)}me.INVALID_TYPE=0,me.BASIC=1,me.RULE_START=2,me.BLOCK_START=3,me.PLUS_BLOCK_START=4,me.STAR_BLOCK_START=5,me.TOKEN_START=6,me.RULE_STOP=7,me.BLOCK_END=8,me.STAR_LOOP_BACK=9,me.STAR_LOOP_ENTRY=10,me.PLUS_LOOP_BACK=11,me.LOOP_END=12,me.serializationNames=["INVALID","BASIC","RULE_START","BLOCK_START","PLUS_BLOCK_START","STAR_BLOCK_START","TOKEN_START","RULE_STOP","BLOCK_END","STAR_LOOP_BACK","STAR_LOOP_ENTRY","PLUS_LOOP_BACK","LOOP_END"],me.INVALID_STATE_NUMBER=-1;var St=function(f){(function(y,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(o&&o.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),o&&Ve(y,o)})(l,f);var i,m,s,_=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var y,o=yt(m);if(s){var u=yt(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return ht(this,y)});function l(){var y;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,l),(y=_.call(this)).stateType=me.RULE_STOP,ht(y,wt(y))}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(me);function Ct(f){return Ct=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ct(f)}function le(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(Ct(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ct(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ct(_)==="symbol"?_:String(_)),s)}var _}function we(f,i,m){return i&&le(f.prototype,i),m&&le(f,m),Object.defineProperty(f,"prototype",{writable:!1}),f}var be=we(function f(i){if(function(m,s){if(!(m instanceof s))throw new TypeError("Cannot call a class as a function")}(this,f),i==null)throw"target cannot be null.";this.target=i,this.isEpsilon=!1,this.label=null});function pt(f){return pt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},pt(f)}function Et(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(pt(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(pt(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),pt(_)==="symbol"?_:String(_)),s)}var _}function Rt(f,i){return Rt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Rt(f,i)}function yn(f){return yn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},yn(f)}be.EPSILON=1,be.RANGE=2,be.RULE=3,be.PREDICATE=4,be.ATOM=5,be.ACTION=6,be.SET=7,be.NOT_SET=8,be.WILDCARD=9,be.PRECEDENCE=10,be.serializationNames=["INVALID","EPSILON","RANGE","RULE","PREDICATE","ATOM","ACTION","SET","NOT_SET","WILDCARD","PRECEDENCE"],be.serializationTypes={EpsilonTransition:be.EPSILON,RangeTransition:be.RANGE,RuleTransition:be.RULE,PredicateTransition:be.PREDICATE,AtomTransition:be.ATOM,ActionTransition:be.ACTION,SetTransition:be.SET,NotSetTransition:be.NOT_SET,WildcardTransition:be.WILDCARD,PrecedencePredicateTransition:be.PRECEDENCE};var Dt=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Rt(o,u)})(y,f);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=yn(s);if(_){var S=yn(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(D,C){if(C&&(pt(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(U){if(U===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U}(D)}(this,o)});function y(o,u,S,D){var C;return function(U,fe){if(!(U instanceof fe))throw new TypeError("Cannot call a class as a function")}(this,y),(C=l.call(this,o)).ruleIndex=u,C.precedence=S,C.followState=D,C.serializationType=be.RULE,C.isEpsilon=!0,C}return i=y,(m=[{key:"matches",value:function(o,u,S){return!1}}])&&Et(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(be);function Pt(f){return Pt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Pt(f)}function kt(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(Pt(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Pt(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Pt(_)==="symbol"?_:String(_)),s)}var _}function It(f,i){return It=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},It(f,i)}function nn(f){return nn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},nn(f)}var ir=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&It(o,u)})(y,f);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=nn(s);if(_){var S=nn(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(D,C){if(C&&(Pt(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(U){if(U===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U}(D)}(this,o)});function y(o,u){var S;return function(D,C){if(!(D instanceof C))throw new TypeError("Cannot call a class as a function")}(this,y),(S=l.call(this,o)).serializationType=be.SET,u!=null?S.label=u:(S.label=new J,S.label.addOne(n.INVALID_TYPE)),S}return i=y,(m=[{key:"matches",value:function(o,u,S){return this.label.contains(o)}},{key:"toString",value:function(){return this.label.toString()}}])&&kt(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(be);function K(f){return K=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},K(f)}function Fe(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(K(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(K(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),K(_)==="symbol"?_:String(_)),s)}var _}function Ue(){return Ue=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(f,i,m){var s=function(l,y){for(;!Object.prototype.hasOwnProperty.call(l,y)&&(l=Qe(l))!==null;);return l}(f,i);if(s){var _=Object.getOwnPropertyDescriptor(s,i);return _.get?_.get.call(arguments.length<3?f:m):_.value}},Ue.apply(this,arguments)}function Ie(f,i){return Ie=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Ie(f,i)}function Qe(f){return Qe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Qe(f)}var $t=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Ie(o,u)})(y,f);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Qe(s);if(_){var S=Qe(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(D,C){if(C&&(K(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(U){if(U===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U}(D)}(this,o)});function y(o,u){var S;return function(D,C){if(!(D instanceof C))throw new TypeError("Cannot call a class as a function")}(this,y),(S=l.call(this,o,u)).serializationType=be.NOT_SET,S}return i=y,(m=[{key:"matches",value:function(o,u,S){return o>=u&&o<=S&&!Ue(Qe(y.prototype),"matches",this).call(this,o,u,S)}},{key:"toString",value:function(){return"~"+Ue(Qe(y.prototype),"toString",this).call(this)}}])&&Fe(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(ir);function ft(f){return ft=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},ft(f)}function fn(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(ft(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(ft(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),ft(_)==="symbol"?_:String(_)),s)}var _}function gn(f,i){return gn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},gn(f,i)}function jr(f){return jr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},jr(f)}var On=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&gn(o,u)})(y,f);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=jr(s);if(_){var S=jr(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(D,C){if(C&&(ft(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(U){if(U===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U}(D)}(this,o)});function y(o){var u;return function(S,D){if(!(S instanceof D))throw new TypeError("Cannot call a class as a function")}(this,y),(u=l.call(this,o)).serializationType=be.WILDCARD,u}return i=y,(m=[{key:"matches",value:function(o,u,S){return o>=u&&o<=S}},{key:"toString",value:function(){return"."}}])&&fn(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(be);function rn(f){return rn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},rn(f)}function Ri(f,i){return Ri=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Ri(f,i)}function Hr(f){return Hr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Hr(f)}var Fi=function(f){(function(y,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(o&&o.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),o&&Ri(y,o)})(l,f);var i,m,s,_=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var y,o=Hr(m);if(s){var u=Hr(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return function(S,D){if(D&&(rn(D)==="object"||typeof D=="function"))return D;if(D!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(C){if(C===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C}(S)}(this,y)});function l(y){return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,l),_.call(this,y)}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(be);function or(f){return or=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},or(f)}function wr(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(or(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(or(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),or(_)==="symbol"?_:String(_)),s)}var _}function eo(f,i,m){return i&&wr(f.prototype,i),m&&wr(f,m),Object.defineProperty(f,"prototype",{writable:!1}),f}function gi(f){return gi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},gi(f)}function fr(f,i){return fr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},fr(f,i)}function $r(f){return $r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},$r(f)}function to(f){return to=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},to(f)}function dt(f,i){return dt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},dt(f,i)}function er(f){return er=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},er(f)}var B=function(f){(function(y,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(o&&o.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),o&&dt(y,o)})(l,f);var i,m,s,_=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var y,o=er(m);if(s){var u=er(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return function(S,D){if(D&&(to(D)==="object"||typeof D=="function"))return D;if(D!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(C){if(C===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C}(S)}(this,y)});function l(){return function(y,o){if(!(y instanceof o))throw new TypeError("Cannot call a class as a function")}(this,l),_.apply(this,arguments)}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(function(f){(function(y,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(o&&o.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),o&&fr(y,o)})(l,f);var i,m,s,_=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var y,o=$r(m);if(s){var u=$r(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return function(S,D){if(D&&(gi(D)==="object"||typeof D=="function"))return D;if(D!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(C){if(C===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C}(S)}(this,y)});function l(){return function(y,o){if(!(y instanceof o))throw new TypeError("Cannot call a class as a function")}(this,l),_.apply(this,arguments)}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(eo(function f(){(function(i,m){if(!(i instanceof m))throw new TypeError("Cannot call a class as a function")})(this,f)})));function q(f){return q=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},q(f)}function ee(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(q(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(q(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),q(_)==="symbol"?_:String(_)),s)}var _}function ae(f,i){return ae=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},ae(f,i)}function he(f){return he=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},he(f)}var Le=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&ae(o,u)})(y,f);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=he(s);if(_){var S=he(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(D,C){if(C&&(q(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(U){if(U===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U}(D)}(this,o)});function y(){return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,y),l.apply(this,arguments)}return i=y,(m=[{key:"ruleContext",get:function(){throw new Error("missing interface implementation")}}])&&ee(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(B);function Be(f){return Be=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Be(f)}function at(f,i){return at=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},at(f,i)}function Xt(f){return Xt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Xt(f)}var hn=function(f){(function(y,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(o&&o.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),o&&at(y,o)})(l,f);var i,m,s,_=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var y,o=Xt(m);if(s){var u=Xt(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return function(S,D){if(D&&(Be(D)==="object"||typeof D=="function"))return D;if(D!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(C){if(C===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C}(S)}(this,y)});function l(){return function(y,o){if(!(y instanceof o))throw new TypeError("Cannot call a class as a function")}(this,l),_.apply(this,arguments)}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(B);function An(f){return An=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},An(f)}function Gr(f,i){return Gr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Gr(f,i)}function Kt(f){return Kt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Kt(f)}var ti=function(f){(function(y,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(o&&o.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),o&&Gr(y,o)})(l,f);var i,m,s,_=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var y,o=Kt(m);if(s){var u=Kt(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return function(S,D){if(D&&(An(D)==="object"||typeof D=="function"))return D;if(D!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(C){if(C===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C}(S)}(this,y)});function l(){return function(y,o){if(!(y instanceof o))throw new TypeError("Cannot call a class as a function")}(this,l),_.apply(this,arguments)}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(hn),Rr={toStringTree:function(f,i,m){i=i||null,(m=m||null)!==null&&(i=m.ruleNames);var s=Rr.getNodeText(f,i);s=function(o,u){return o=o.replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r")}(s);var _=f.getChildCount();if(_===0)return s;var l="("+s+" ";_>0&&(s=Rr.toStringTree(f.getChild(0),i),l=l.concat(s));for(var y=1;y<_;y++)s=Rr.toStringTree(f.getChild(y),i),l=l.concat(" "+s);return l.concat(")")},getNodeText:function(f,i,m){if(i=i||null,(m=m||null)!==null&&(i=m.ruleNames),i!==null){if(f instanceof Le){var s=f.ruleContext.getAltNumber();return s!=0?i[f.ruleIndex]+":"+s:i[f.ruleIndex]}if(f instanceof ti)return f.toString();if(f instanceof hn&&f.symbol!==null)return f.symbol.text}var _=f.getPayload();return _ instanceof n?_.text:f.getPayload().toString()},getChildren:function(f){for(var i=[],m=0;m<f.getChildCount();m++)i.push(f.getChild(m));return i},getAncestors:function(f){var i=[];for(f=f.getParent();f!==null;)i=[f].concat(i),f=f.getParent();return i},findAllTokenNodes:function(f,i){return Rr.findAllNodes(f,i,!0)},findAllRuleNodes:function(f,i){return Rr.findAllNodes(f,i,!1)},findAllNodes:function(f,i,m){var s=[];return Rr._findAllNodes(f,i,m,s),s},_findAllNodes:function(f,i,m,s){m&&f instanceof hn?f.symbol.type===i&&s.push(f):!m&&f instanceof Le&&f.ruleIndex===i&&s.push(f);for(var _=0;_<f.getChildCount();_++)Rr._findAllNodes(f.getChild(_),i,m,s)},descendants:function(f){for(var i=[f],m=0;m<f.getChildCount();m++)i=i.concat(Rr.descendants(f.getChild(m)));return i}};const Ju=Rr;function no(f){return no=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},no(f)}function ih(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(no(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(no(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),no(_)==="symbol"?_:String(_)),s)}var _}function Ho(f,i){return Ho=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Ho(f,i)}function pa(f){return pa=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},pa(f)}var ro=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Ho(o,u)})(y,f);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=pa(s);if(_){var S=pa(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(D,C){if(C&&(no(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(U){if(U===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U}(D)}(this,o)});function y(o,u){var S;return function(D,C){if(!(D instanceof C))throw new TypeError("Cannot call a class as a function")}(this,y),(S=l.call(this)).parentCtx=o||null,S.invokingState=u||-1,S}return i=y,(m=[{key:"depth",value:function(){for(var o=0,u=this;u!==null;)u=u.parentCtx,o+=1;return o}},{key:"isEmpty",value:function(){return this.invokingState===-1}},{key:"getSourceInterval",value:function(){return _e.INVALID_INTERVAL}},{key:"ruleContext",get:function(){return this}},{key:"getPayload",value:function(){return this}},{key:"getText",value:function(){return this.getChildCount()===0?"":this.children.map(function(o){return o.getText()}).join("")}},{key:"getAltNumber",value:function(){return 0}},{key:"setAltNumber",value:function(o){}},{key:"getChild",value:function(o){return null}},{key:"getChildCount",value:function(){return 0}},{key:"accept",value:function(o){return o.visitChildren(this)}},{key:"toStringTree",value:function(o,u){return Ju.toStringTree(this,o,u)}},{key:"toString",value:function(o,u){o=o||null,u=u||null;for(var S=this,D="[";S!==null&&S!==u;){if(o===null)S.isEmpty()||(D+=S.invokingState);else{var C=S.ruleIndex;D+=C>=0&&C<o.length?o[C]:""+C}S.parentCtx===null||o===null&&S.parentCtx.isEmpty()||(D+=" "),S=S.parentCtx}return D+"]"}}])&&ih(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(Le);function $o(f){return $o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},$o(f)}function da(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if($o(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if($o(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),$o(_)==="symbol"?_:String(_)),s)}var _}var st=function(){function f(s){(function(_,l){if(!(_ instanceof l))throw new TypeError("Cannot call a class as a function")})(this,f),this.cachedHashCode=s}var i,m;return i=f,(m=[{key:"isEmpty",value:function(){return this===f.EMPTY}},{key:"hasEmptyPath",value:function(){return this.getReturnState(this.length-1)===f.EMPTY_RETURN_STATE}},{key:"hashCode",value:function(){return this.cachedHashCode}},{key:"updateHashCode",value:function(s){s.update(this.cachedHashCode)}}])&&da(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();function X(f){return X=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},X(f)}function Q(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(X(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(X(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),X(_)==="symbol"?_:String(_)),s)}var _}function ie(f,i){return ie=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},ie(f,i)}function de(f,i){if(i&&(X(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Ce(f)}function Ce(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function Ae(f){return Ae=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Ae(f)}st.EMPTY=null,st.EMPTY_RETURN_STATE=2147483647,st.globalNodeCount=1,st.id=st.globalNodeCount,st.trace_atn_sim=!1;var De=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&ie(o,u)})(y,f);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Ae(s);if(_){var S=Ae(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return de(this,o)});function y(o,u){var S;(function(U,fe){if(!(U instanceof fe))throw new TypeError("Cannot call a class as a function")})(this,y);var D=new b;D.update(o,u);var C=D.finish();return(S=l.call(this,C)).parents=o,S.returnStates=u,de(S,Ce(S))}return i=y,(m=[{key:"isEmpty",value:function(){return this.returnStates[0]===st.EMPTY_RETURN_STATE}},{key:"getParent",value:function(o){return this.parents[o]}},{key:"getReturnState",value:function(o){return this.returnStates[o]}},{key:"equals",value:function(o){return this===o||o instanceof y&&this.hashCode()===o.hashCode()&&r(this.returnStates,o.returnStates)&&r(this.parents,o.parents)}},{key:"toString",value:function(){if(this.isEmpty())return"[]";for(var o="[",u=0;u<this.returnStates.length;u++)u>0&&(o+=", "),this.returnStates[u]!==st.EMPTY_RETURN_STATE?(o+=this.returnStates[u],this.parents[u]!==null?o=o+" "+this.parents[u]:o+="null"):o+="$";return o+"]"}},{key:"length",get:function(){return this.returnStates.length}}])&&Q(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(st);function Ke(f){return Ke=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ke(f)}function Me(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(Ke(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ke(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ke(_)==="symbol"?_:String(_)),s)}var _}function ut(f,i){return ut=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},ut(f,i)}function Wt(f){return Wt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Wt(f)}var _t=function(f){(function(u,S){if(typeof S!="function"&&S!==null)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(S&&S.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),S&&ut(u,S)})(o,f);var i,m,s,_,l,y=(_=o,l=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var u,S=Wt(_);if(l){var D=Wt(this).constructor;u=Reflect.construct(S,arguments,D)}else u=S.apply(this,arguments);return function(C,U){if(U&&(Ke(U)==="object"||typeof U=="function"))return U;if(U!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(fe){if(fe===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return fe}(C)}(this,u)});function o(u,S){var D;(function(fe,Ne){if(!(fe instanceof Ne))throw new TypeError("Cannot call a class as a function")})(this,o);var C,U=new b;return u!==null?U.update(u,S):U.update(1),C=U.finish(),(D=y.call(this,C)).parentCtx=u,D.returnState=S,D}return i=o,s=[{key:"create",value:function(u,S){return S===st.EMPTY_RETURN_STATE&&u===null?st.EMPTY:new o(u,S)}}],(m=[{key:"getParent",value:function(u){return this.parentCtx}},{key:"getReturnState",value:function(u){return this.returnState}},{key:"equals",value:function(u){return this===u||u instanceof o&&this.hashCode()===u.hashCode()&&this.returnState===u.returnState&&(this.parentCtx==null?u.parentCtx==null:this.parentCtx.equals(u.parentCtx))}},{key:"toString",value:function(){var u=this.parentCtx===null?"":this.parentCtx.toString();return u.length===0?this.returnState===st.EMPTY_RETURN_STATE?"$":""+this.returnState:this.returnState+" "+u}},{key:"length",get:function(){return 1}}])&&Me(i.prototype,m),s&&Me(i,s),Object.defineProperty(i,"prototype",{writable:!1}),o}(st);function Yt(f){return Yt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Yt(f)}function wn(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(Yt(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Yt(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Yt(_)==="symbol"?_:String(_)),s)}var _}function Kn(f,i){return Kn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Kn(f,i)}function tr(f){return tr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},tr(f)}var zr=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Kn(o,u)})(y,f);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=tr(s);if(_){var S=tr(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(D,C){if(C&&(Yt(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(U){if(U===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U}(D)}(this,o)});function y(){return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,y),l.call(this,null,st.EMPTY_RETURN_STATE)}return i=y,(m=[{key:"isEmpty",value:function(){return!0}},{key:"getParent",value:function(o){return null}},{key:"getReturnState",value:function(o){return this.returnState}},{key:"equals",value:function(o){return this===o}},{key:"toString",value:function(){return"$"}}])&&wn(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(_t);function ni(f){return ni=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},ni(f)}function Os(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(ni(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(ni(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),ni(_)==="symbol"?_:String(_)),s)}var _}st.EMPTY=new zr;var nr="h-",io=function(){function f(s,_){(function(l,y){if(!(l instanceof y))throw new TypeError("Cannot call a class as a function")})(this,f),this.data={},this.hashFunction=s||T,this.equalsFunction=_||x}var i,m;return i=f,(m=[{key:"set",value:function(s,_){var l=nr+this.hashFunction(s);if(l in this.data){for(var y=this.data[l],o=0;o<y.length;o++){var u=y[o];if(this.equalsFunction(s,u.key)){var S=u.value;return u.value=_,S}}return y.push({key:s,value:_}),_}return this.data[l]=[{key:s,value:_}],_}},{key:"containsKey",value:function(s){var _=nr+this.hashFunction(s);if(_ in this.data)for(var l=this.data[_],y=0;y<l.length;y++){var o=l[y];if(this.equalsFunction(s,o.key))return!0}return!1}},{key:"get",value:function(s){var _=nr+this.hashFunction(s);if(_ in this.data)for(var l=this.data[_],y=0;y<l.length;y++){var o=l[y];if(this.equalsFunction(s,o.key))return o.value}return null}},{key:"entries",value:function(){var s=this;return Object.keys(this.data).filter(function(_){return _.startsWith(nr)}).flatMap(function(_){return s.data[_]},this)}},{key:"getKeys",value:function(){return this.entries().map(function(s){return s.key})}},{key:"getValues",value:function(){return this.entries().map(function(s){return s.value})}},{key:"toString",value:function(){return"["+this.entries().map(function(s){return"{"+s.key+":"+s.value+"}"}).join(", ")+"]"}},{key:"length",get:function(){var s=this;return Object.keys(this.data).filter(function(_){return _.startsWith(nr)}).map(function(_){return s.data[_].length},this).reduce(function(_,l){return _+l},0)}}])&&Os(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();function _a(f,i){if(i==null&&(i=ro.EMPTY),i.parentCtx===null||i===ro.EMPTY)return st.EMPTY;var m=_a(f,i.parentCtx),s=f.states[i.invokingState].transitions[0];return _t.create(m,s.followState.stateNumber)}function ec(f,i,m){if(f.isEmpty())return f;var s=m.get(f)||null;if(s!==null)return s;if((s=i.get(f))!==null)return m.set(f,s),s;for(var _=!1,l=[],y=0;y<l.length;y++){var o=ec(f.getParent(y),i,m);if(_||o!==f.getParent(y)){if(!_){l=[];for(var u=0;u<f.length;u++)l[u]=f.getParent(u);_=!0}l[y]=o}}if(!_)return i.add(f),m.set(f,f),f;var S;return S=l.length===0?st.EMPTY:l.length===1?_t.create(l[0],f.getReturnState(0)):new De(l,f.returnStates),i.add(S),m.set(S,S),m.set(f,S),S}function ma(f,i,m,s){if(f===i)return f;if(f instanceof _t&&i instanceof _t)return function(_,l,y,o){if(o!==null){var u=o.get(_,l);if(u!==null||(u=o.get(l,_))!==null)return u}var S=function(We,En,vn){if(vn){if(We===st.EMPTY||En===st.EMPTY)return st.EMPTY}else{if(We===st.EMPTY&&En===st.EMPTY)return st.EMPTY;if(We===st.EMPTY){var qn=[En.returnState,st.EMPTY_RETURN_STATE],qr=[En.parentCtx,null];return new De(qr,qn)}if(En===st.EMPTY){var Bi=[We.returnState,st.EMPTY_RETURN_STATE],Li=[We.parentCtx,null];return new De(Li,Bi)}}return null}(_,l,y);if(S!==null)return o!==null&&o.set(_,l,S),S;if(_.returnState===l.returnState){var D=ma(_.parentCtx,l.parentCtx,y,o);if(D===_.parentCtx)return _;if(D===l.parentCtx)return l;var C=_t.create(D,_.returnState);return o!==null&&o.set(_,l,C),C}var U=null;if((_===l||_.parentCtx!==null&&_.parentCtx===l.parentCtx)&&(U=_.parentCtx),U!==null){var fe=[_.returnState,l.returnState];_.returnState>l.returnState&&(fe[0]=l.returnState,fe[1]=_.returnState);var Ne=new De([U,U],fe);return o!==null&&o.set(_,l,Ne),Ne}var Re=[_.returnState,l.returnState],Ge=[_.parentCtx,l.parentCtx];_.returnState>l.returnState&&(Re[0]=l.returnState,Re[1]=_.returnState,Ge=[l.parentCtx,_.parentCtx]);var ct=new De(Ge,Re);return o!==null&&o.set(_,l,ct),ct}(f,i,m,s);if(m){if(f instanceof zr)return f;if(i instanceof zr)return i}return f instanceof _t&&(f=new De([f.getParent()],[f.returnState])),i instanceof _t&&(i=new De([i.getParent()],[i.returnState])),function(_,l,y,o){if(o!==null){var u=o.get(_,l);if(u!==null||(u=o.get(l,_))!==null)return st.trace_atn_sim&&console.log("mergeArrays a="+_+",b="+l+" -> previous"),u}for(var S=0,D=0,C=0,U=new Array(_.returnStates.length+l.returnStates.length).fill(0),fe=new Array(_.returnStates.length+l.returnStates.length).fill(null);S<_.returnStates.length&&D<l.returnStates.length;){var Ne=_.parents[S],Re=l.parents[D];if(_.returnStates[S]===l.returnStates[D]){var Ge=_.returnStates[S];Ge===st.EMPTY_RETURN_STATE&&Ne===null&&Re===null||Ne!==null&&Re!==null&&Ne===Re?(fe[C]=Ne,U[C]=Ge):(fe[C]=ma(Ne,Re,y,o),U[C]=Ge),S+=1,D+=1}else _.returnStates[S]<l.returnStates[D]?(fe[C]=Ne,U[C]=_.returnStates[S],S+=1):(fe[C]=Re,U[C]=l.returnStates[D],D+=1);C+=1}if(S<_.returnStates.length)for(var ct=S;ct<_.returnStates.length;ct++)fe[C]=_.parents[ct],U[C]=_.returnStates[ct],C+=1;else for(var We=D;We<l.returnStates.length;We++)fe[C]=l.parents[We],U[C]=l.returnStates[We],C+=1;if(C<fe.length){if(C===1){var En=_t.create(fe[0],U[0]);return o!==null&&o.set(_,l,En),En}fe=fe.slice(0,C),U=U.slice(0,C)}var vn=new De(fe,U);return vn.equals(_)?(o!==null&&o.set(_,l,_),st.trace_atn_sim&&console.log("mergeArrays a="+_+",b="+l+" -> a"),_):vn.equals(l)?(o!==null&&o.set(_,l,l),st.trace_atn_sim&&console.log("mergeArrays a="+_+",b="+l+" -> b"),l):(function(qn){for(var qr=new io,Bi=0;Bi<qn.length;Bi++){var Li=qn[Bi];qr.containsKey(Li)||qr.set(Li,Li)}for(var Fr=0;Fr<qn.length;Fr++)qn[Fr]=qr.get(qn[Fr])}(fe),o!==null&&o.set(_,l,vn),st.trace_atn_sim&&console.log("mergeArrays a="+_+",b="+l+" -> "+vn),vn)}(f,i,m,s)}function oo(f){return oo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},oo(f)}function ao(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(oo(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(oo(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),oo(_)==="symbol"?_:String(_)),s)}var _}var Kr=function(){function f(){(function(s,_){if(!(s instanceof _))throw new TypeError("Cannot call a class as a function")})(this,f),this.data=[]}var i,m;return i=f,(m=[{key:"add",value:function(s){this.data[s]=!0}},{key:"or",value:function(s){var _=this;Object.keys(s.data).map(function(l){return _.add(l)},this)}},{key:"remove",value:function(s){delete this.data[s]}},{key:"has",value:function(s){return this.data[s]===!0}},{key:"values",value:function(){return Object.keys(this.data)}},{key:"minValue",value:function(){return Math.min.apply(null,this.values())}},{key:"hashCode",value:function(){return b.hashStuff(this.values())}},{key:"equals",value:function(s){return s instanceof f&&r(this.data,s.data)}},{key:"toString",value:function(){return"{"+this.values().join(", ")+"}"}},{key:"length",get:function(){return this.values().length}}])&&ao(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();function vo(f){return vo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},vo(f)}function tc(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(vo(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(vo(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),vo(_)==="symbol"?_:String(_)),s)}var _}var Go=function(){function f(s){(function(_,l){if(!(_ instanceof l))throw new TypeError("Cannot call a class as a function")})(this,f),this.atn=s}var i,m;return i=f,(m=[{key:"getDecisionLookahead",value:function(s){if(s===null)return null;for(var _=s.transitions.length,l=[],y=0;y<_;y++){l[y]=new J;var o=new g;this._LOOK(s.transition(y).target,null,st.EMPTY,l[y],o,new Kr,!1,!1),(l[y].length===0||l[y].contains(f.HIT_PRED))&&(l[y]=null)}return l}},{key:"LOOK",value:function(s,_,l){var y=new J,o=(l=l||null)!==null?_a(s.atn,l):null;return this._LOOK(s,_,o,y,new g,new Kr,!0,!0),y}},{key:"_LOOK",value:function(s,_,l,y,o,u,S,D){var C=new ce({state:s,alt:0,context:l},null);if(!o.has(C)){if(o.add(C),s===_){if(l===null)return void y.addOne(n.EPSILON);if(l.isEmpty()&&D)return void y.addOne(n.EOF)}if(s instanceof St){if(l===null)return void y.addOne(n.EPSILON);if(l.isEmpty()&&D)return void y.addOne(n.EOF);if(l!==st.EMPTY){var U=u.has(s.ruleIndex);try{u.remove(s.ruleIndex);for(var fe=0;fe<l.length;fe++){var Ne=this.atn.states[l.getReturnState(fe)];this._LOOK(Ne,_,l.getParent(fe),y,o,u,S,D)}}finally{U&&u.add(s.ruleIndex)}return}}for(var Re=0;Re<s.transitions.length;Re++){var Ge=s.transitions[Re];if(Ge.constructor===Dt){if(u.has(Ge.target.ruleIndex))continue;var ct=_t.create(l,Ge.followState.stateNumber);try{u.add(Ge.target.ruleIndex),this._LOOK(Ge.target,_,ct,y,o,u,S,D)}finally{u.remove(Ge.target.ruleIndex)}}else if(Ge instanceof Fi)S?this._LOOK(Ge.target,_,l,y,o,u,S,D):y.addOne(f.HIT_PRED);else if(Ge.isEpsilon)this._LOOK(Ge.target,_,l,y,o,u,S,D);else if(Ge.constructor===On)y.addRange(n.MIN_USER_TOKEN_TYPE,this.atn.maxTokenType);else{var We=Ge.label;We!==null&&(Ge instanceof $t&&(We=We.complement(n.MIN_USER_TOKEN_TYPE,this.atn.maxTokenType)),y.addSet(We))}}}}}])&&tc(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();function ws(f){return ws=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},ws(f)}function Av(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(ws(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(ws(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),ws(_)==="symbol"?_:String(_)),s)}var _}Go.HIT_PRED=n.INVALID_TYPE;var bn=function(){function f(s,_){(function(l,y){if(!(l instanceof y))throw new TypeError("Cannot call a class as a function")})(this,f),this.grammarType=s,this.maxTokenType=_,this.states=[],this.decisionToState=[],this.ruleToStartState=[],this.ruleToStopState=null,this.modeNameToStartState={},this.ruleToTokenType=null,this.lexerActions=null,this.modeToStartState=[]}var i,m;return i=f,(m=[{key:"nextTokensInContext",value:function(s,_){return new Go(this).LOOK(s,null,_)}},{key:"nextTokensNoContext",value:function(s){return s.nextTokenWithinRule!==null||(s.nextTokenWithinRule=this.nextTokensInContext(s,null),s.nextTokenWithinRule.readOnly=!0),s.nextTokenWithinRule}},{key:"nextTokens",value:function(s,_){return _===void 0?this.nextTokensNoContext(s):this.nextTokensInContext(s,_)}},{key:"addState",value:function(s){s!==null&&(s.atn=this,s.stateNumber=this.states.length),this.states.push(s)}},{key:"removeState",value:function(s){this.states[s.stateNumber]=null}},{key:"defineDecisionState",value:function(s){return this.decisionToState.push(s),s.decision=this.decisionToState.length-1,s.decision}},{key:"getDecisionState",value:function(s){return this.decisionToState.length===0?null:this.decisionToState[s]}},{key:"getExpectedTokens",value:function(s,_){if(s<0||s>=this.states.length)throw"Invalid state number.";var l=this.states[s],y=this.nextTokens(l);if(!y.contains(n.EPSILON))return y;var o=new J;for(o.addSet(y),o.removeOne(n.EPSILON);_!==null&&_.invokingState>=0&&y.contains(n.EPSILON);){var u=this.states[_.invokingState].transitions[0];y=this.nextTokens(u.followState),o.addSet(y),o.removeOne(n.EPSILON),_=_.parentCtx}return y.contains(n.EPSILON)&&o.addOne(n.EOF),o}}])&&Av(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();bn.INVALID_ALT_NUMBER=0;function oh(f){return oh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},oh(f)}function ah(f,i){return ah=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},ah(f,i)}function nc(f){return nc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},nc(f)}var c_=function(f){(function(y,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(o&&o.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),o&&ah(y,o)})(l,f);var i,m,s,_=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var y,o=nc(m);if(s){var u=nc(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return function(S,D){if(D&&(oh(D)==="object"||typeof D=="function"))return D;if(D!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(C){if(C===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C}(S)}(this,y)});function l(){var y;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,l),(y=_.call(this)).stateType=me.BASIC,y}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(me);function sh(f){return sh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},sh(f)}function uh(f,i){return uh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},uh(f,i)}function l_(f,i){if(i&&(sh(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return f_(f)}function f_(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function rc(f){return rc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},rc(f)}var ya=function(f){(function(y,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(o&&o.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),o&&uh(y,o)})(l,f);var i,m,s,_=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var y,o=rc(m);if(s){var u=rc(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return l_(this,y)});function l(){var y;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,l),(y=_.call(this)).decision=-1,y.nonGreedy=!1,l_(y,f_(y))}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(me);function ch(f){return ch=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},ch(f)}function lh(f,i){return lh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},lh(f,i)}function h_(f,i){if(i&&(ch(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return p_(f)}function p_(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function ic(f){return ic=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},ic(f)}var ga=function(f){(function(y,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(o&&o.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),o&&lh(y,o)})(l,f);var i,m,s,_=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var y,o=ic(m);if(s){var u=ic(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return h_(this,y)});function l(){var y;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,l),(y=_.call(this)).endState=null,h_(y,p_(y))}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(ya);function fh(f){return fh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},fh(f)}function hh(f,i){return hh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},hh(f,i)}function d_(f,i){if(i&&(fh(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return __(f)}function __(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function oc(f){return oc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},oc(f)}var ph=function(f){(function(y,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(o&&o.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),o&&hh(y,o)})(l,f);var i,m,s,_=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var y,o=oc(m);if(s){var u=oc(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return d_(this,y)});function l(){var y;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,l),(y=_.call(this)).stateType=me.BLOCK_END,y.startState=null,d_(y,__(y))}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(me);function dh(f){return dh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},dh(f)}function _h(f,i){return _h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},_h(f,i)}function m_(f,i){if(i&&(dh(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return y_(f)}function y_(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function ac(f){return ac=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},ac(f)}var va=function(f){(function(y,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(o&&o.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),o&&_h(y,o)})(l,f);var i,m,s,_=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var y,o=ac(m);if(s){var u=ac(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return m_(this,y)});function l(){var y;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,l),(y=_.call(this)).stateType=me.LOOP_END,y.loopBackState=null,m_(y,y_(y))}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(me);function mh(f){return mh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},mh(f)}function yh(f,i){return yh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},yh(f,i)}function g_(f,i){if(i&&(mh(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return v_(f)}function v_(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function sc(f){return sc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},sc(f)}var b_=function(f){(function(y,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(o&&o.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),o&&yh(y,o)})(l,f);var i,m,s,_=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var y,o=sc(m);if(s){var u=sc(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return g_(this,y)});function l(){var y;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,l),(y=_.call(this)).stateType=me.RULE_START,y.stopState=null,y.isPrecedenceRule=!1,g_(y,v_(y))}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(me);function gh(f){return gh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},gh(f)}function vh(f,i){return vh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},vh(f,i)}function E_(f,i){if(i&&(gh(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return x_(f)}function x_(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function uc(f){return uc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},uc(f)}var Cv=function(f){(function(y,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(o&&o.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),o&&vh(y,o)})(l,f);var i,m,s,_=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var y,o=uc(m);if(s){var u=uc(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return E_(this,y)});function l(){var y;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,l),(y=_.call(this)).stateType=me.TOKEN_START,E_(y,x_(y))}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(ya);function bh(f){return bh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},bh(f)}function Eh(f,i){return Eh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Eh(f,i)}function S_(f,i){if(i&&(bh(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return T_(f)}function T_(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function cc(f){return cc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},cc(f)}var A_=function(f){(function(y,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(o&&o.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),o&&Eh(y,o)})(l,f);var i,m,s,_=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var y,o=cc(m);if(s){var u=cc(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return S_(this,y)});function l(){var y;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,l),(y=_.call(this)).stateType=me.PLUS_LOOP_BACK,S_(y,T_(y))}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(ya);function xh(f){return xh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},xh(f)}function Sh(f,i){return Sh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Sh(f,i)}function C_(f,i){if(i&&(xh(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return D_(f)}function D_(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function lc(f){return lc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},lc(f)}var Th=function(f){(function(y,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(o&&o.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),o&&Sh(y,o)})(l,f);var i,m,s,_=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var y,o=lc(m);if(s){var u=lc(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return C_(this,y)});function l(){var y;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,l),(y=_.call(this)).stateType=me.STAR_LOOP_BACK,C_(y,D_(y))}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(me);function Ah(f){return Ah=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ah(f)}function Ch(f,i){return Ch=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Ch(f,i)}function k_(f,i){if(i&&(Ah(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return O_(f)}function O_(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function fc(f){return fc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},fc(f)}var zo=function(f){(function(y,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(o&&o.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),o&&Ch(y,o)})(l,f);var i,m,s,_=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var y,o=fc(m);if(s){var u=fc(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return k_(this,y)});function l(){var y;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,l),(y=_.call(this)).stateType=me.STAR_LOOP_ENTRY,y.loopBackState=null,y.isPrecedenceDecision=null,k_(y,O_(y))}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(ya);function Dh(f){return Dh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Dh(f)}function kh(f,i){return kh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},kh(f,i)}function w_(f,i){if(i&&(Dh(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return R_(f)}function R_(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function hc(f){return hc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},hc(f)}var Oh=function(f){(function(y,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(o&&o.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),o&&kh(y,o)})(l,f);var i,m,s,_=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var y,o=hc(m);if(s){var u=hc(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return w_(this,y)});function l(){var y;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,l),(y=_.call(this)).stateType=me.PLUS_BLOCK_START,y.loopBackState=null,w_(y,R_(y))}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(ga);function wh(f){return wh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},wh(f)}function Rh(f,i){return Rh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Rh(f,i)}function F_(f,i){if(i&&(wh(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return N_(f)}function N_(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function pc(f){return pc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},pc(f)}var Fh=function(f){(function(y,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(o&&o.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),o&&Rh(y,o)})(l,f);var i,m,s,_=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var y,o=pc(m);if(s){var u=pc(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return F_(this,y)});function l(){var y;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,l),(y=_.call(this)).stateType=me.STAR_BLOCK_START,F_(y,N_(y))}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(ga);function Nh(f){return Nh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Nh(f)}function Ph(f,i){return Ph=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Ph(f,i)}function P_(f,i){if(i&&(Nh(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return I_(f)}function I_(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function dc(f){return dc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},dc(f)}var B_=function(f){(function(y,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(o&&o.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),o&&Ph(y,o)})(l,f);var i,m,s,_=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var y,o=dc(m);if(s){var u=dc(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return P_(this,y)});function l(){var y;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,l),(y=_.call(this)).stateType=me.BLOCK_START,P_(y,I_(y))}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(ga);function ba(f){return ba=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},ba(f)}function Dv(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(ba(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(ba(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),ba(_)==="symbol"?_:String(_)),s)}var _}function Ih(f,i){return Ih=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Ih(f,i)}function _c(f){return _c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},_c(f)}var Bh=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Ih(o,u)})(y,f);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=_c(s);if(_){var S=_c(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(D,C){if(C&&(ba(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(U){if(U===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U}(D)}(this,o)});function y(o,u){var S;return function(D,C){if(!(D instanceof C))throw new TypeError("Cannot call a class as a function")}(this,y),(S=l.call(this,o)).label_=u,S.label=S.makeLabel(),S.serializationType=be.ATOM,S}return i=y,(m=[{key:"makeLabel",value:function(){var o=new J;return o.addOne(this.label_),o}},{key:"matches",value:function(o,u,S){return this.label_===o}},{key:"toString",value:function(){return this.label_}}])&&Dv(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(be);function Ea(f){return Ea=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ea(f)}function kv(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(Ea(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ea(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ea(_)==="symbol"?_:String(_)),s)}var _}function Lh(f,i){return Lh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Lh(f,i)}function mc(f){return mc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},mc(f)}var Ov=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Lh(o,u)})(y,f);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=mc(s);if(_){var S=mc(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(D,C){if(C&&(Ea(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(U){if(U===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U}(D)}(this,o)});function y(o,u,S){var D;return function(C,U){if(!(C instanceof U))throw new TypeError("Cannot call a class as a function")}(this,y),(D=l.call(this,o)).serializationType=be.RANGE,D.start=u,D.stop=S,D.label=D.makeLabel(),D}return i=y,(m=[{key:"makeLabel",value:function(){var o=new J;return o.addRange(this.start,this.stop),o}},{key:"matches",value:function(o,u,S){return o>=this.start&&o<=this.stop}},{key:"toString",value:function(){return"'"+String.fromCharCode(this.start)+"'..'"+String.fromCharCode(this.stop)+"'"}}])&&kv(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(be);function xa(f){return xa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},xa(f)}function wv(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(xa(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(xa(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),xa(_)==="symbol"?_:String(_)),s)}var _}function Mh(f,i){return Mh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Mh(f,i)}function yc(f){return yc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},yc(f)}var L_=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Mh(o,u)})(y,f);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=yc(s);if(_){var S=yc(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(D,C){if(C&&(xa(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(U){if(U===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U}(D)}(this,o)});function y(o,u,S,D){var C;return function(U,fe){if(!(U instanceof fe))throw new TypeError("Cannot call a class as a function")}(this,y),(C=l.call(this,o)).serializationType=be.ACTION,C.ruleIndex=u,C.actionIndex=S===void 0?-1:S,C.isCtxDependent=D!==void 0&&D,C.isEpsilon=!0,C}return i=y,(m=[{key:"matches",value:function(o,u,S){return!1}},{key:"toString",value:function(){return"action_"+this.ruleIndex+":"+this.actionIndex}}])&&wv(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(be);function Sa(f){return Sa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Sa(f)}function Rv(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(Sa(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Sa(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Sa(_)==="symbol"?_:String(_)),s)}var _}function Uh(f,i){return Uh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Uh(f,i)}function gc(f){return gc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},gc(f)}var Rs=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Uh(o,u)})(y,f);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=gc(s);if(_){var S=gc(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(D,C){if(C&&(Sa(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(U){if(U===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U}(D)}(this,o)});function y(o,u){var S;return function(D,C){if(!(D instanceof C))throw new TypeError("Cannot call a class as a function")}(this,y),(S=l.call(this,o)).serializationType=be.EPSILON,S.isEpsilon=!0,S.outermostPrecedenceReturn=u,S}return i=y,(m=[{key:"matches",value:function(o,u,S){return!1}},{key:"toString",value:function(){return"epsilon"}}])&&Rv(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(be);function Ta(f){return Ta=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ta(f)}function Fv(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(Ta(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ta(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ta(_)==="symbol"?_:String(_)),s)}var _}function Vh(f,i){return Vh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Vh(f,i)}function vc(f){return vc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},vc(f)}var M_=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Vh(o,u)})(y,f);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=vc(s);if(_){var S=vc(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(D,C){if(C&&(Ta(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(U){if(U===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U}(D)}(this,o)});function y(o,u,S){var D;return function(C,U){if(!(C instanceof U))throw new TypeError("Cannot call a class as a function")}(this,y),(D=l.call(this)).ruleIndex=o===void 0?-1:o,D.predIndex=u===void 0?-1:u,D.isCtxDependent=S!==void 0&&S,D}return i=y,(m=[{key:"evaluate",value:function(o,u){var S=this.isCtxDependent?u:null;return o.sempred(S,this.ruleIndex,this.predIndex)}},{key:"updateHashCode",value:function(o){o.update(this.ruleIndex,this.predIndex,this.isCtxDependent)}},{key:"equals",value:function(o){return this===o||o instanceof y&&this.ruleIndex===o.ruleIndex&&this.predIndex===o.predIndex&&this.isCtxDependent===o.isCtxDependent}},{key:"toString",value:function(){return"{"+this.ruleIndex+":"+this.predIndex+"}?"}}])&&Fv(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(N);function Aa(f){return Aa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Aa(f)}function Nv(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(Aa(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Aa(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Aa(_)==="symbol"?_:String(_)),s)}var _}function jh(f,i){return jh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},jh(f,i)}function bc(f){return bc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},bc(f)}N.NONE=new M_;var U_=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&jh(o,u)})(y,f);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=bc(s);if(_){var S=bc(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(D,C){if(C&&(Aa(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(U){if(U===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U}(D)}(this,o)});function y(o,u,S,D){var C;return function(U,fe){if(!(U instanceof fe))throw new TypeError("Cannot call a class as a function")}(this,y),(C=l.call(this,o)).serializationType=be.PREDICATE,C.ruleIndex=u,C.predIndex=S,C.isCtxDependent=D,C.isEpsilon=!0,C}return i=y,(m=[{key:"matches",value:function(o,u,S){return!1}},{key:"getPredicate",value:function(){return new M_(this.ruleIndex,this.predIndex,this.isCtxDependent)}},{key:"toString",value:function(){return"pred_"+this.ruleIndex+":"+this.predIndex}}])&&Nv(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(Fi);function Ca(f){return Ca=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ca(f)}function Pv(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(Ca(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ca(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ca(_)==="symbol"?_:String(_)),s)}var _}function Hh(f,i){return Hh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Hh(f,i)}function Ec(f){return Ec=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Ec(f)}var V_=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Hh(o,u)})(y,f);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Ec(s);if(_){var S=Ec(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(D,C){if(C&&(Ca(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(U){if(U===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U}(D)}(this,o)});function y(o){var u;return function(S,D){if(!(S instanceof D))throw new TypeError("Cannot call a class as a function")}(this,y),(u=l.call(this)).precedence=o===void 0?0:o,u}return i=y,(m=[{key:"evaluate",value:function(o,u){return o.precpred(u,this.precedence)}},{key:"evalPrecedence",value:function(o,u){return o.precpred(u,this.precedence)?N.NONE:null}},{key:"compareTo",value:function(o){return this.precedence-o.precedence}},{key:"updateHashCode",value:function(o){o.update(this.precedence)}},{key:"equals",value:function(o){return this===o||o instanceof y&&this.precedence===o.precedence}},{key:"toString",value:function(){return"{"+this.precedence+">=prec}?"}}])&&Pv(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(N);function Da(f){return Da=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Da(f)}function Iv(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(Da(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Da(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Da(_)==="symbol"?_:String(_)),s)}var _}function $h(f,i){return $h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},$h(f,i)}function xc(f){return xc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},xc(f)}N.PrecedencePredicate=V_;var Bv=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&$h(o,u)})(y,f);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=xc(s);if(_){var S=xc(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(D,C){if(C&&(Da(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(U){if(U===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U}(D)}(this,o)});function y(o,u){var S;return function(D,C){if(!(D instanceof C))throw new TypeError("Cannot call a class as a function")}(this,y),(S=l.call(this,o)).serializationType=be.PRECEDENCE,S.precedence=u,S.isEpsilon=!0,S}return i=y,(m=[{key:"matches",value:function(o,u,S){return!1}},{key:"getPredicate",value:function(){return new V_(this.precedence)}},{key:"toString",value:function(){return this.precedence+" >= _p"}}])&&Iv(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(Fi);function Fs(f){return Fs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Fs(f)}function j_(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(Fs(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Fs(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Fs(_)==="symbol"?_:String(_)),s)}var _}function Lv(f,i,m){return i&&j_(f.prototype,i),m&&j_(f,m),Object.defineProperty(f,"prototype",{writable:!1}),f}var Ns=Lv(function f(i){(function(m,s){if(!(m instanceof s))throw new TypeError("Cannot call a class as a function")})(this,f),i===void 0&&(i=null),this.readOnly=!1,this.verifyATN=i===null||i.verifyATN,this.generateRuleBypassTransitions=i!==null&&i.generateRuleBypassTransitions});Ns.defaultOptions=new Ns,Ns.defaultOptions.readOnly=!0;function Ps(f){return Ps=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ps(f)}function Mv(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(Ps(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ps(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ps(_)==="symbol"?_:String(_)),s)}var _}var so=function(){function f(s){(function(_,l){if(!(_ instanceof l))throw new TypeError("Cannot call a class as a function")})(this,f),this.actionType=s,this.isPositionDependent=!1}var i,m;return i=f,(m=[{key:"hashCode",value:function(){var s=new b;return this.updateHashCode(s),s.finish()}},{key:"updateHashCode",value:function(s){s.update(this.actionType)}},{key:"equals",value:function(s){return this===s}}])&&Mv(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();function ka(f){return ka=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},ka(f)}function Uv(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(ka(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(ka(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),ka(_)==="symbol"?_:String(_)),s)}var _}function Gh(f,i){return Gh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Gh(f,i)}function Sc(f){return Sc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Sc(f)}var zh=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Gh(o,u)})(y,f);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Sc(s);if(_){var S=Sc(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(D,C){if(C&&(ka(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(U){if(U===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U}(D)}(this,o)});function y(){return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,y),l.call(this,6)}return i=y,(m=[{key:"execute",value:function(o){o.skip()}},{key:"toString",value:function(){return"skip"}}])&&Uv(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(so);function Oa(f){return Oa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Oa(f)}function Vv(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(Oa(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Oa(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Oa(_)==="symbol"?_:String(_)),s)}var _}function Kh(f,i){return Kh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Kh(f,i)}function Tc(f){return Tc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Tc(f)}zh.INSTANCE=new zh;var jv=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Kh(o,u)})(y,f);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Tc(s);if(_){var S=Tc(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(D,C){if(C&&(Oa(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(U){if(U===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U}(D)}(this,o)});function y(o){var u;return function(S,D){if(!(S instanceof D))throw new TypeError("Cannot call a class as a function")}(this,y),(u=l.call(this,0)).channel=o,u}return i=y,(m=[{key:"execute",value:function(o){o._channel=this.channel}},{key:"updateHashCode",value:function(o){o.update(this.actionType,this.channel)}},{key:"equals",value:function(o){return this===o||o instanceof y&&this.channel===o.channel}},{key:"toString",value:function(){return"channel("+this.channel+")"}}])&&Vv(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(so);function wa(f){return wa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},wa(f)}function Hv(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(wa(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(wa(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),wa(_)==="symbol"?_:String(_)),s)}var _}function Wh(f,i){return Wh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Wh(f,i)}function Ac(f){return Ac=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Ac(f)}var $v=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Wh(o,u)})(y,f);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Ac(s);if(_){var S=Ac(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(D,C){if(C&&(wa(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(U){if(U===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U}(D)}(this,o)});function y(o,u){var S;return function(D,C){if(!(D instanceof C))throw new TypeError("Cannot call a class as a function")}(this,y),(S=l.call(this,1)).ruleIndex=o,S.actionIndex=u,S.isPositionDependent=!0,S}return i=y,(m=[{key:"execute",value:function(o){o.action(null,this.ruleIndex,this.actionIndex)}},{key:"updateHashCode",value:function(o){o.update(this.actionType,this.ruleIndex,this.actionIndex)}},{key:"equals",value:function(o){return this===o||o instanceof y&&this.ruleIndex===o.ruleIndex&&this.actionIndex===o.actionIndex}}])&&Hv(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(so);function Ra(f){return Ra=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ra(f)}function Gv(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(Ra(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ra(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ra(_)==="symbol"?_:String(_)),s)}var _}function qh(f,i){return qh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},qh(f,i)}function Cc(f){return Cc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Cc(f)}var Xh=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&qh(o,u)})(y,f);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Cc(s);if(_){var S=Cc(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(D,C){if(C&&(Ra(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(U){if(U===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U}(D)}(this,o)});function y(){return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,y),l.call(this,3)}return i=y,(m=[{key:"execute",value:function(o){o.more()}},{key:"toString",value:function(){return"more"}}])&&Gv(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(so);function Fa(f){return Fa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Fa(f)}function zv(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(Fa(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Fa(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Fa(_)==="symbol"?_:String(_)),s)}var _}function Yh(f,i){return Yh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Yh(f,i)}function Dc(f){return Dc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Dc(f)}Xh.INSTANCE=new Xh;var Kv=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Yh(o,u)})(y,f);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Dc(s);if(_){var S=Dc(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(D,C){if(C&&(Fa(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(U){if(U===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U}(D)}(this,o)});function y(o){var u;return function(S,D){if(!(S instanceof D))throw new TypeError("Cannot call a class as a function")}(this,y),(u=l.call(this,7)).type=o,u}return i=y,(m=[{key:"execute",value:function(o){o.type=this.type}},{key:"updateHashCode",value:function(o){o.update(this.actionType,this.type)}},{key:"equals",value:function(o){return this===o||o instanceof y&&this.type===o.type}},{key:"toString",value:function(){return"type("+this.type+")"}}])&&zv(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(so);function Na(f){return Na=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Na(f)}function Wv(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(Na(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Na(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Na(_)==="symbol"?_:String(_)),s)}var _}function Zh(f,i){return Zh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Zh(f,i)}function kc(f){return kc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},kc(f)}var qv=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Zh(o,u)})(y,f);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=kc(s);if(_){var S=kc(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(D,C){if(C&&(Na(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(U){if(U===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U}(D)}(this,o)});function y(o){var u;return function(S,D){if(!(S instanceof D))throw new TypeError("Cannot call a class as a function")}(this,y),(u=l.call(this,5)).mode=o,u}return i=y,(m=[{key:"execute",value:function(o){o.pushMode(this.mode)}},{key:"updateHashCode",value:function(o){o.update(this.actionType,this.mode)}},{key:"equals",value:function(o){return this===o||o instanceof y&&this.mode===o.mode}},{key:"toString",value:function(){return"pushMode("+this.mode+")"}}])&&Wv(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(so);function Pa(f){return Pa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Pa(f)}function Xv(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(Pa(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Pa(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Pa(_)==="symbol"?_:String(_)),s)}var _}function Qh(f,i){return Qh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Qh(f,i)}function Oc(f){return Oc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Oc(f)}var Jh=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Qh(o,u)})(y,f);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Oc(s);if(_){var S=Oc(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(D,C){if(C&&(Pa(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(U){if(U===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U}(D)}(this,o)});function y(){return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,y),l.call(this,4)}return i=y,(m=[{key:"execute",value:function(o){o.popMode()}},{key:"toString",value:function(){return"popMode"}}])&&Xv(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(so);function Ia(f){return Ia=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ia(f)}function Yv(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(Ia(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ia(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ia(_)==="symbol"?_:String(_)),s)}var _}function e0(f,i){return e0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},e0(f,i)}function wc(f){return wc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},wc(f)}Jh.INSTANCE=new Jh;var Zv=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&e0(o,u)})(y,f);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=wc(s);if(_){var S=wc(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(D,C){if(C&&(Ia(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(U){if(U===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U}(D)}(this,o)});function y(o){var u;return function(S,D){if(!(S instanceof D))throw new TypeError("Cannot call a class as a function")}(this,y),(u=l.call(this,2)).mode=o,u}return i=y,(m=[{key:"execute",value:function(o){o.mode(this.mode)}},{key:"updateHashCode",value:function(o){o.update(this.actionType,this.mode)}},{key:"equals",value:function(o){return this===o||o instanceof y&&this.mode===o.mode}},{key:"toString",value:function(){return"mode("+this.mode+")"}}])&&Yv(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(so);function Is(f){return Is=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Is(f)}function Qv(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(Is(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Is(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Is(_)==="symbol"?_:String(_)),s)}var _}function Rc(f,i){var m=[];return m[f-1]=i,m.map(function(s){return i})}var t0=function(){function f(s){(function(_,l){if(!(_ instanceof l))throw new TypeError("Cannot call a class as a function")})(this,f),s==null&&(s=Ns.defaultOptions),this.deserializationOptions=s,this.stateFactories=null,this.actionFactories=null}var i,m;return i=f,m=[{key:"deserialize",value:function(s){var _=this.reset(s);this.checkVersion(_),_&&this.skipUUID();var l=this.readATN();this.readStates(l,_),this.readRules(l,_),this.readModes(l);var y=[];return this.readSets(l,y,this.readInt.bind(this)),_&&this.readSets(l,y,this.readInt32.bind(this)),this.readEdges(l,y),this.readDecisions(l),this.readLexerActions(l,_),this.markPrecedenceDecisions(l),this.verifyATN(l),this.deserializationOptions.generateRuleBypassTransitions&&l.grammarType===1&&(this.generateRuleBypassTransitions(l),this.verifyATN(l)),l}},{key:"reset",value:function(s){if((s.charCodeAt?s.charCodeAt(0):s[0])===3){var _=s.split("").map(function(l){var y=l.charCodeAt(0);return y>1?y-2:y+65534});return _[0]=s.charCodeAt(0),this.data=_,this.pos=0,!0}return this.data=s,this.pos=0,!1}},{key:"skipUUID",value:function(){for(var s=0;s++<8;)this.readInt()}},{key:"checkVersion",value:function(s){var _=this.readInt();if(!s&&_!==4)throw"Could not deserialize ATN with version "+_+" (expected 4)."}},{key:"readATN",value:function(){var s=this.readInt(),_=this.readInt();return new bn(s,_)}},{key:"readStates",value:function(s,_){for(var l,y,o,u=[],S=[],D=this.readInt(),C=0;C<D;C++){var U=this.readInt();if(U!==me.INVALID_TYPE){var fe=this.readInt();_&&fe===65535&&(fe=-1);var Ne=this.stateFactory(U,fe);if(U===me.LOOP_END){var Re=this.readInt();u.push([Ne,Re])}else if(Ne instanceof ga){var Ge=this.readInt();S.push([Ne,Ge])}s.addState(Ne)}else s.addState(null)}for(l=0;l<u.length;l++)(y=u[l])[0].loopBackState=s.states[y[1]];for(l=0;l<S.length;l++)(y=S[l])[0].endState=s.states[y[1]];var ct=this.readInt();for(l=0;l<ct;l++)o=this.readInt(),s.states[o].nonGreedy=!0;var We=this.readInt();for(l=0;l<We;l++)o=this.readInt(),s.states[o].isPrecedenceRule=!0}},{key:"readRules",value:function(s,_){var l,y=this.readInt();for(s.grammarType===0&&(s.ruleToTokenType=Rc(y,0)),s.ruleToStartState=Rc(y,0),l=0;l<y;l++){var o=this.readInt();if(s.ruleToStartState[l]=s.states[o],s.grammarType===0){var u=this.readInt();_&&u===65535&&(u=n.EOF),s.ruleToTokenType[l]=u}}for(s.ruleToStopState=Rc(y,0),l=0;l<s.states.length;l++){var S=s.states[l];S instanceof St&&(s.ruleToStopState[S.ruleIndex]=S,s.ruleToStartState[S.ruleIndex].stopState=S)}}},{key:"readModes",value:function(s){for(var _=this.readInt(),l=0;l<_;l++){var y=this.readInt();s.modeToStartState.push(s.states[y])}}},{key:"readSets",value:function(s,_,l){for(var y=this.readInt(),o=0;o<y;o++){var u=new J;_.push(u);var S=this.readInt();this.readInt()!==0&&u.addOne(-1);for(var D=0;D<S;D++){var C=l(),U=l();u.addRange(C,U)}}}},{key:"readEdges",value:function(s,_){var l,y,o,u,S,D=this.readInt();for(l=0;l<D;l++){var C=this.readInt(),U=this.readInt(),fe=this.readInt(),Ne=this.readInt(),Re=this.readInt(),Ge=this.readInt();u=this.edgeFactory(s,fe,C,U,Ne,Re,Ge,_),s.states[C].addTransition(u)}for(l=0;l<s.states.length;l++)for(o=s.states[l],y=0;y<o.transitions.length;y++){var ct=o.transitions[y];if(ct instanceof Dt){var We=-1;s.ruleToStartState[ct.target.ruleIndex].isPrecedenceRule&&ct.precedence===0&&(We=ct.target.ruleIndex),u=new Rs(ct.followState,We),s.ruleToStopState[ct.target.ruleIndex].addTransition(u)}}for(l=0;l<s.states.length;l++){if((o=s.states[l])instanceof ga){if(o.endState===null||o.endState.startState!==null)throw"IllegalState";o.endState.startState=o}if(o instanceof A_)for(y=0;y<o.transitions.length;y++)(S=o.transitions[y].target)instanceof Oh&&(S.loopBackState=o);else if(o instanceof Th)for(y=0;y<o.transitions.length;y++)(S=o.transitions[y].target)instanceof zo&&(S.loopBackState=o)}}},{key:"readDecisions",value:function(s){for(var _=this.readInt(),l=0;l<_;l++){var y=this.readInt(),o=s.states[y];s.decisionToState.push(o),o.decision=l}}},{key:"readLexerActions",value:function(s,_){if(s.grammarType===0){var l=this.readInt();s.lexerActions=Rc(l,null);for(var y=0;y<l;y++){var o=this.readInt(),u=this.readInt();_&&u===65535&&(u=-1);var S=this.readInt();_&&S===65535&&(S=-1),s.lexerActions[y]=this.lexerActionFactory(o,u,S)}}}},{key:"generateRuleBypassTransitions",value:function(s){var _,l=s.ruleToStartState.length;for(_=0;_<l;_++)s.ruleToTokenType[_]=s.maxTokenType+_+1;for(_=0;_<l;_++)this.generateRuleBypassTransition(s,_)}},{key:"generateRuleBypassTransition",value:function(s,_){var l,y,o=new B_;o.ruleIndex=_,s.addState(o);var u=new ph;u.ruleIndex=_,s.addState(u),o.endState=u,s.defineDecisionState(o),u.startState=o;var S=null,D=null;if(s.ruleToStartState[_].isPrecedenceRule){for(D=null,l=0;l<s.states.length;l++)if(y=s.states[l],this.stateIsEndStateFor(y,_)){D=y,S=y.loopBackState.transitions[0];break}if(S===null)throw"Couldn't identify final state of the precedence rule prefix section."}else D=s.ruleToStopState[_];for(l=0;l<s.states.length;l++){y=s.states[l];for(var C=0;C<y.transitions.length;C++){var U=y.transitions[C];U!==S&&U.target===D&&(U.target=u)}}for(var fe=s.ruleToStartState[_],Ne=fe.transitions.length;Ne>0;)o.addTransition(fe.transitions[Ne-1]),fe.transitions=fe.transitions.slice(-1);s.ruleToStartState[_].addTransition(new Rs(o)),u.addTransition(new Rs(D));var Re=new c_;s.addState(Re),Re.addTransition(new Bh(u,s.ruleToTokenType[_])),o.addTransition(new Rs(Re))}},{key:"stateIsEndStateFor",value:function(s,_){if(s.ruleIndex!==_||!(s instanceof zo))return null;var l=s.transitions[s.transitions.length-1].target;return l instanceof va&&l.epsilonOnlyTransitions&&l.transitions[0].target instanceof St?s:null}},{key:"markPrecedenceDecisions",value:function(s){for(var _=0;_<s.states.length;_++){var l=s.states[_];if(l instanceof zo&&s.ruleToStartState[l.ruleIndex].isPrecedenceRule){var y=l.transitions[l.transitions.length-1].target;y instanceof va&&y.epsilonOnlyTransitions&&y.transitions[0].target instanceof St&&(l.isPrecedenceDecision=!0)}}}},{key:"verifyATN",value:function(s){if(this.deserializationOptions.verifyATN)for(var _=0;_<s.states.length;_++){var l=s.states[_];if(l!==null)if(this.checkCondition(l.epsilonOnlyTransitions||l.transitions.length<=1),l instanceof Oh)this.checkCondition(l.loopBackState!==null);else if(l instanceof zo)if(this.checkCondition(l.loopBackState!==null),this.checkCondition(l.transitions.length===2),l.transitions[0].target instanceof Fh)this.checkCondition(l.transitions[1].target instanceof va),this.checkCondition(!l.nonGreedy);else{if(!(l.transitions[0].target instanceof va))throw"IllegalState";this.checkCondition(l.transitions[1].target instanceof Fh),this.checkCondition(l.nonGreedy)}else l instanceof Th?(this.checkCondition(l.transitions.length===1),this.checkCondition(l.transitions[0].target instanceof zo)):l instanceof va?this.checkCondition(l.loopBackState!==null):l instanceof b_?this.checkCondition(l.stopState!==null):l instanceof ga?this.checkCondition(l.endState!==null):l instanceof ph?this.checkCondition(l.startState!==null):l instanceof ya?this.checkCondition(l.transitions.length<=1||l.decision>=0):this.checkCondition(l.transitions.length<=1||l instanceof St)}}},{key:"checkCondition",value:function(s,_){if(!s)throw _==null&&(_="IllegalState"),_}},{key:"readInt",value:function(){return this.data[this.pos++]}},{key:"readInt32",value:function(){return this.readInt()|this.readInt()<<16}},{key:"edgeFactory",value:function(s,_,l,y,o,u,S,D){var C=s.states[y];switch(_){case be.EPSILON:return new Rs(C);case be.RANGE:return new Ov(C,S!==0?n.EOF:o,u);case be.RULE:return new Dt(s.states[o],u,S,C);case be.PREDICATE:return new U_(C,o,u,S!==0);case be.PRECEDENCE:return new Bv(C,o);case be.ATOM:return new Bh(C,S!==0?n.EOF:o);case be.ACTION:return new L_(C,o,u,S!==0);case be.SET:return new ir(C,D[o]);case be.NOT_SET:return new $t(C,D[o]);case be.WILDCARD:return new On(C);default:throw"The specified transition type: "+_+" is not valid."}}},{key:"stateFactory",value:function(s,_){if(this.stateFactories===null){var l=[];l[me.INVALID_TYPE]=null,l[me.BASIC]=function(){return new c_},l[me.RULE_START]=function(){return new b_},l[me.BLOCK_START]=function(){return new B_},l[me.PLUS_BLOCK_START]=function(){return new Oh},l[me.STAR_BLOCK_START]=function(){return new Fh},l[me.TOKEN_START]=function(){return new Cv},l[me.RULE_STOP]=function(){return new St},l[me.BLOCK_END]=function(){return new ph},l[me.STAR_LOOP_BACK]=function(){return new Th},l[me.STAR_LOOP_ENTRY]=function(){return new zo},l[me.PLUS_LOOP_BACK]=function(){return new A_},l[me.LOOP_END]=function(){return new va},this.stateFactories=l}if(s>this.stateFactories.length||this.stateFactories[s]===null)throw"The specified state type "+s+" is not valid.";var y=this.stateFactories[s]();if(y!==null)return y.ruleIndex=_,y}},{key:"lexerActionFactory",value:function(s,_,l){if(this.actionFactories===null){var y=[];y[0]=function(o,u){return new jv(o)},y[1]=function(o,u){return new $v(o,u)},y[2]=function(o,u){return new Zv(o)},y[3]=function(o,u){return Xh.INSTANCE},y[4]=function(o,u){return Jh.INSTANCE},y[5]=function(o,u){return new qv(o)},y[6]=function(o,u){return zh.INSTANCE},y[7]=function(o,u){return new Kv(o)},this.actionFactories=y}if(s>this.actionFactories.length||this.actionFactories[s]===null)throw"The specified lexer action type "+s+" is not valid.";return this.actionFactories[s](_,l)}}],m&&Qv(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();function Bs(f){return Bs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Bs(f)}function Jv(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(Bs(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Bs(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Bs(_)==="symbol"?_:String(_)),s)}var _}var Ls=function(){function f(){(function(s,_){if(!(s instanceof _))throw new TypeError("Cannot call a class as a function")})(this,f)}var i,m;return i=f,(m=[{key:"syntaxError",value:function(s,_,l,y,o,u){}},{key:"reportAmbiguity",value:function(s,_,l,y,o,u,S){}},{key:"reportAttemptingFullContext",value:function(s,_,l,y,o,u){}},{key:"reportContextSensitivity",value:function(s,_,l,y,o,u){}}])&&Jv(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();function Ba(f){return Ba=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ba(f)}function e1(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(Ba(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ba(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ba(_)==="symbol"?_:String(_)),s)}var _}function n0(f,i){return n0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},n0(f,i)}function Fc(f){return Fc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Fc(f)}var r0=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&n0(o,u)})(y,f);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Fc(s);if(_){var S=Fc(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(D,C){if(C&&(Ba(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(U){if(U===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U}(D)}(this,o)});function y(){return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,y),l.call(this)}return i=y,(m=[{key:"syntaxError",value:function(o,u,S,D,C,U){console.error("line "+S+":"+D+" "+C)}}])&&e1(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(Ls);function La(f){return La=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},La(f)}function t1(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(La(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(La(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),La(_)==="symbol"?_:String(_)),s)}var _}function i0(f,i){return i0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},i0(f,i)}function H_(f,i){if(i&&(La(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return $_(f)}function $_(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function Nc(f){return Nc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Nc(f)}r0.INSTANCE=new r0;var n1=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&i0(o,u)})(y,f);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Nc(s);if(_){var S=Nc(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return H_(this,o)});function y(o){var u;if(function(S,D){if(!(S instanceof D))throw new TypeError("Cannot call a class as a function")}(this,y),u=l.call(this),o===null)throw"delegates";return u.delegates=o,H_(u,$_(u))}return i=y,m=[{key:"syntaxError",value:function(o,u,S,D,C,U){this.delegates.map(function(fe){return fe.syntaxError(o,u,S,D,C,U)})}},{key:"reportAmbiguity",value:function(o,u,S,D,C,U,fe){this.delegates.map(function(Ne){return Ne.reportAmbiguity(o,u,S,D,C,U,fe)})}},{key:"reportAttemptingFullContext",value:function(o,u,S,D,C,U){this.delegates.map(function(fe){return fe.reportAttemptingFullContext(o,u,S,D,C,U)})}},{key:"reportContextSensitivity",value:function(o,u,S,D,C,U){this.delegates.map(function(fe){return fe.reportContextSensitivity(o,u,S,D,C,U)})}}],m&&t1(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(Ls);function Ms(f){return Ms=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ms(f)}function r1(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(Ms(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ms(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ms(_)==="symbol"?_:String(_)),s)}var _}var Pc=function(){function f(){(function(s,_){if(!(s instanceof _))throw new TypeError("Cannot call a class as a function")})(this,f),this._listeners=[r0.INSTANCE],this._interp=null,this._stateNumber=-1}var i,m;return i=f,(m=[{key:"checkVersion",value:function(s){var _="4.13.0";_!==s&&console.log("ANTLR runtime and generated code versions disagree: "+_+"!="+s)}},{key:"addErrorListener",value:function(s){this._listeners.push(s)}},{key:"removeErrorListeners",value:function(){this._listeners=[]}},{key:"getLiteralNames",value:function(){return Object.getPrototypeOf(this).constructor.literalNames||[]}},{key:"getSymbolicNames",value:function(){return Object.getPrototypeOf(this).constructor.symbolicNames||[]}},{key:"getTokenNames",value:function(){if(!this.tokenNames){var s=this.getLiteralNames(),_=this.getSymbolicNames(),l=s.length>_.length?s.length:_.length;this.tokenNames=[];for(var y=0;y<l;y++)this.tokenNames[y]=s[y]||_[y]||"<INVALID"}return this.tokenNames}},{key:"getTokenTypeMap",value:function(){var s=this.getTokenNames();if(s===null)throw"The current recognizer does not provide a list of token names.";var _=this.tokenTypeMapCache[s];return _===void 0&&((_=s.reduce(function(l,y,o){l[y]=o})).EOF=n.EOF,this.tokenTypeMapCache[s]=_),_}},{key:"getRuleIndexMap",value:function(){var s=this.ruleNames;if(s===null)throw"The current recognizer does not provide a list of rule names.";var _=this.ruleIndexMapCache[s];return _===void 0&&(_=s.reduce(function(l,y,o){l[y]=o}),this.ruleIndexMapCache[s]=_),_}},{key:"getTokenType",value:function(s){var _=this.getTokenTypeMap()[s];return _!==void 0?_:n.INVALID_TYPE}},{key:"getErrorHeader",value:function(s){return"line "+s.getOffendingToken().line+":"+s.getOffendingToken().column}},{key:"getTokenErrorDisplay",value:function(s){if(s===null)return"<no token>";var _=s.text;return _===null&&(_=s.type===n.EOF?"<EOF>":"<"+s.type+">"),"'"+(_=_.replace(`
|
2
|
+
`,"\\n").replace("\r","\\r").replace(" ","\\t"))+"'"}},{key:"getErrorListenerDispatch",value:function(){return new n1(this._listeners)}},{key:"sempred",value:function(s,_,l){return!0}},{key:"precpred",value:function(s,_){return!0}},{key:"atn",get:function(){return this._interp.atn}},{key:"state",get:function(){return this._stateNumber},set:function(s){this._stateNumber=s}}])&&r1(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();function Ma(f){return Ma=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ma(f)}function i1(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(Ma(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ma(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ma(_)==="symbol"?_:String(_)),s)}var _}function o0(f,i){return o0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},o0(f,i)}function Ic(f){return Ic=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Ic(f)}Pc.tokenTypeMapCache={},Pc.ruleIndexMapCache={};var Us=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&o0(o,u)})(y,f);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Ic(s);if(_){var S=Ic(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(D,C){if(C&&(Ma(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(U){if(U===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U}(D)}(this,o)});function y(o,u,S,D,C){var U;return function(fe,Ne){if(!(fe instanceof Ne))throw new TypeError("Cannot call a class as a function")}(this,y),(U=l.call(this)).source=o!==void 0?o:y.EMPTY_SOURCE,U.type=u!==void 0?u:null,U.channel=S!==void 0?S:n.DEFAULT_CHANNEL,U.start=D!==void 0?D:-1,U.stop=C!==void 0?C:-1,U.tokenIndex=-1,U.source[0]!==null?(U.line=o[0].line,U.column=o[0].column):U.column=-1,U}return i=y,(m=[{key:"clone",value:function(){var o=new y(this.source,this.type,this.channel,this.start,this.stop);return o.tokenIndex=this.tokenIndex,o.line=this.line,o.column=this.column,o.text=this.text,o}},{key:"cloneWithType",value:function(o){var u=new y(this.source,o,this.channel,this.start,this.stop);return u.tokenIndex=this.tokenIndex,u.line=this.line,u.column=this.column,o===n.EOF&&(u.text=""),u}},{key:"toString",value:function(){var o=this.text;return o=o!==null?o.replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t"):"<no text>","[@"+this.tokenIndex+","+this.start+":"+this.stop+"='"+o+"',<"+this.type+">"+(this.channel>0?",channel="+this.channel:"")+","+this.line+":"+this.column+"]"}},{key:"text",get:function(){if(this._text!==null)return this._text;var o=this.getInputStream();if(o===null)return null;var u=o.size;return this.start<u&&this.stop<u?o.getText(this.start,this.stop):"<EOF>"},set:function(o){this._text=o}}])&&i1(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(n);function Ua(f){return Ua=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ua(f)}function a0(f,i){return a0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},a0(f,i)}function Bc(f){return Bc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Bc(f)}function G_(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(Ua(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ua(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ua(_)==="symbol"?_:String(_)),s)}var _}function z_(f,i,m){return i&&G_(f.prototype,i),m&&G_(f,m),Object.defineProperty(f,"prototype",{writable:!1}),f}function K_(f,i){if(!(f instanceof i))throw new TypeError("Cannot call a class as a function")}Us.EMPTY_SOURCE=[null,null];var s0=function(f){(function(l,y){if(typeof y!="function"&&y!==null)throw new TypeError("Super expression must either be null or a function");l.prototype=Object.create(y&&y.prototype,{constructor:{value:l,writable:!0,configurable:!0}}),Object.defineProperty(l,"prototype",{writable:!1}),y&&a0(l,y)})(_,f);var i,m,s=(i=_,m=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var l,y=Bc(i);if(m){var o=Bc(this).constructor;l=Reflect.construct(y,arguments,o)}else l=y.apply(this,arguments);return function(u,S){if(S&&(Ua(S)==="object"||typeof S=="function"))return S;if(S!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(D){if(D===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return D}(u)}(this,l)});function _(l){var y;return K_(this,_),(y=s.call(this)).copyText=l!==void 0&&l,y}return z_(_,[{key:"create",value:function(l,y,o,u,S,D,C,U){var fe=new Us(l,y,u,S,D);return fe.line=C,fe.column=U,o!==null?fe.text=o:this.copyText&&l[1]!==null&&(fe.text=l[1].getText(S,D)),fe}},{key:"createThin",value:function(l,y){var o=new Us(null,l);return o.text=y,o}}]),_}(z_(function f(){K_(this,f)}));function Va(f){return Va=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Va(f)}function o1(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(Va(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Va(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Va(_)==="symbol"?_:String(_)),s)}var _}function W_(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function u0(f){var i=typeof Map=="function"?new Map:void 0;return u0=function(m){if(m===null||(s=m,Function.toString.call(s).indexOf("[native code]")===-1))return m;var s;if(typeof m!="function")throw new TypeError("Super expression must either be null or a function");if(i!==void 0){if(i.has(m))return i.get(m);i.set(m,_)}function _(){return c0(m,arguments,js(this).constructor)}return _.prototype=Object.create(m.prototype,{constructor:{value:_,enumerable:!1,writable:!0,configurable:!0}}),Vs(_,m)},u0(f)}function c0(f,i,m){return c0=q_()?Reflect.construct.bind():function(s,_,l){var y=[null];y.push.apply(y,_);var o=new(Function.bind.apply(s,y));return l&&Vs(o,l.prototype),o},c0.apply(null,arguments)}function q_(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Vs(f,i){return Vs=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Vs(f,i)}function js(f){return js=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},js(f)}s0.DEFAULT=new s0;var Ko=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Vs(o,u)})(y,f);var i,m,s,_,l=(s=y,_=q_(),function(){var o,u=js(s);if(_){var S=js(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(D,C){if(C&&(Va(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return W_(D)}(this,o)});function y(o){var u;return function(S,D){if(!(S instanceof D))throw new TypeError("Cannot call a class as a function")}(this,y),u=l.call(this,o.message),Error.captureStackTrace&&Error.captureStackTrace(W_(u),y),u.message=o.message,u.recognizer=o.recognizer,u.input=o.input,u.ctx=o.ctx,u.offendingToken=null,u.offendingState=-1,u.recognizer!==null&&(u.offendingState=u.recognizer.state),u}return i=y,(m=[{key:"getExpectedTokens",value:function(){return this.recognizer!==null?this.recognizer.atn.getExpectedTokens(this.offendingState,this.ctx):null}},{key:"toString",value:function(){return this.message}}])&&o1(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(u0(Error));function ja(f){return ja=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},ja(f)}function a1(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(ja(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(ja(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),ja(_)==="symbol"?_:String(_)),s)}var _}function l0(f,i){return l0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},l0(f,i)}function Lc(f){return Lc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Lc(f)}var f0=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&l0(o,u)})(y,f);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Lc(s);if(_){var S=Lc(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(D,C){if(C&&(ja(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(U){if(U===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U}(D)}(this,o)});function y(o,u,S,D){var C;return function(U,fe){if(!(U instanceof fe))throw new TypeError("Cannot call a class as a function")}(this,y),(C=l.call(this,{message:"",recognizer:o,input:u,ctx:null})).startIndex=S,C.deadEndConfigs=D,C}return i=y,(m=[{key:"toString",value:function(){var o="";return this.startIndex>=0&&this.startIndex<this.input.size&&(o=this.input.getText(new _e(this.startIndex,this.startIndex))),"LexerNoViableAltException"+o}}])&&a1(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(Ko);function Ha(f){return Ha=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ha(f)}function s1(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(Ha(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ha(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ha(_)==="symbol"?_:String(_)),s)}var _}function h0(f,i){return h0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},h0(f,i)}function X_(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function Mc(f){return Mc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Mc(f)}var hr=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&h0(o,u)})(y,f);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Mc(s);if(_){var S=Mc(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(D,C){if(C&&(Ha(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return X_(D)}(this,o)});function y(o){var u;return function(S,D){if(!(S instanceof D))throw new TypeError("Cannot call a class as a function")}(this,y),(u=l.call(this))._input=o,u._factory=s0.DEFAULT,u._tokenFactorySourcePair=[X_(u),o],u._interp=null,u._token=null,u._tokenStartCharIndex=-1,u._tokenStartLine=-1,u._tokenStartColumn=-1,u._hitEOF=!1,u._channel=n.DEFAULT_CHANNEL,u._type=n.INVALID_TYPE,u._modeStack=[],u._mode=y.DEFAULT_MODE,u._text=null,u}return i=y,(m=[{key:"reset",value:function(){this._input!==null&&this._input.seek(0),this._token=null,this._type=n.INVALID_TYPE,this._channel=n.DEFAULT_CHANNEL,this._tokenStartCharIndex=-1,this._tokenStartColumn=-1,this._tokenStartLine=-1,this._text=null,this._hitEOF=!1,this._mode=y.DEFAULT_MODE,this._modeStack=[],this._interp.reset()}},{key:"nextToken",value:function(){if(this._input===null)throw"nextToken requires a non-null input stream.";var o=this._input.mark();try{for(;;){if(this._hitEOF)return this.emitEOF(),this._token;this._token=null,this._channel=n.DEFAULT_CHANNEL,this._tokenStartCharIndex=this._input.index,this._tokenStartColumn=this._interp.column,this._tokenStartLine=this._interp.line,this._text=null;for(var u=!1;;){this._type=n.INVALID_TYPE;var S=y.SKIP;try{S=this._interp.match(this._input,this._mode)}catch(D){if(!(D instanceof Ko))throw console.log(D.stack),D;this.notifyListeners(D),this.recover(D)}if(this._input.LA(1)===n.EOF&&(this._hitEOF=!0),this._type===n.INVALID_TYPE&&(this._type=S),this._type===y.SKIP){u=!0;break}if(this._type!==y.MORE)break}if(!u)return this._token===null&&this.emit(),this._token}}finally{this._input.release(o)}}},{key:"skip",value:function(){this._type=y.SKIP}},{key:"more",value:function(){this._type=y.MORE}},{key:"mode",value:function(o){this._mode=o}},{key:"pushMode",value:function(o){this._interp.debug&&console.log("pushMode "+o),this._modeStack.push(this._mode),this.mode(o)}},{key:"popMode",value:function(){if(this._modeStack.length===0)throw"Empty Stack";return this._interp.debug&&console.log("popMode back to "+this._modeStack.slice(0,-1)),this.mode(this._modeStack.pop()),this._mode}},{key:"emitToken",value:function(o){this._token=o}},{key:"emit",value:function(){var o=this._factory.create(this._tokenFactorySourcePair,this._type,this._text,this._channel,this._tokenStartCharIndex,this.getCharIndex()-1,this._tokenStartLine,this._tokenStartColumn);return this.emitToken(o),o}},{key:"emitEOF",value:function(){var o=this.column,u=this.line,S=this._factory.create(this._tokenFactorySourcePair,n.EOF,null,n.DEFAULT_CHANNEL,this._input.index,this._input.index-1,u,o);return this.emitToken(S),S}},{key:"getCharIndex",value:function(){return this._input.index}},{key:"getAllTokens",value:function(){for(var o=[],u=this.nextToken();u.type!==n.EOF;)o.push(u),u=this.nextToken();return o}},{key:"notifyListeners",value:function(o){var u=this._tokenStartCharIndex,S=this._input.index,D=this._input.getText(u,S),C="token recognition error at: '"+this.getErrorDisplay(D)+"'";this.getErrorListenerDispatch().syntaxError(this,null,this._tokenStartLine,this._tokenStartColumn,C,o)}},{key:"getErrorDisplay",value:function(o){for(var u=[],S=0;S<o.length;S++)u.push(o[S]);return u.join("")}},{key:"getErrorDisplayForChar",value:function(o){return o.charCodeAt(0)===n.EOF?"<EOF>":o===`
|
3
|
+
`?"\\n":o===" "?"\\t":o==="\r"?"\\r":o}},{key:"getCharErrorDisplay",value:function(o){return"'"+this.getErrorDisplayForChar(o)+"'"}},{key:"recover",value:function(o){this._input.LA(1)!==n.EOF&&(o instanceof f0?this._interp.consume(this._input):this._input.consume())}},{key:"inputStream",get:function(){return this._input},set:function(o){this._input=null,this._tokenFactorySourcePair=[this,this._input],this.reset(),this._input=o,this._tokenFactorySourcePair=[this,this._input]}},{key:"sourceName",get:function(){return this._input.sourceName}},{key:"type",get:function(){return this._type},set:function(o){this._type=o}},{key:"line",get:function(){return this._interp.line},set:function(o){this._interp.line=o}},{key:"column",get:function(){return this._interp.column},set:function(o){this._interp.column=o}},{key:"text",get:function(){return this._text!==null?this._text:this._interp.getText(this._input)},set:function(o){this._text=o}}])&&s1(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(Pc);function Hs(f){return Hs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Hs(f)}function u1(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(Hs(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Hs(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Hs(_)==="symbol"?_:String(_)),s)}var _}function c1(f){return f.hashCodeForConfigSet()}function l1(f,i){return f===i||f!==null&&i!==null&&f.equalsForConfigSet(i)}hr.DEFAULT_MODE=0,hr.MORE=-2,hr.SKIP=-3,hr.DEFAULT_TOKEN_CHANNEL=n.DEFAULT_CHANNEL,hr.HIDDEN=n.HIDDEN_CHANNEL,hr.MIN_CHAR_VALUE=0,hr.MAX_CHAR_VALUE=1114111;var Wr=function(){function f(s){(function(_,l){if(!(_ instanceof l))throw new TypeError("Cannot call a class as a function")})(this,f),this.configLookup=new g(c1,l1),this.fullCtx=s===void 0||s,this.readOnly=!1,this.configs=[],this.uniqueAlt=0,this.conflictingAlts=null,this.hasSemanticContext=!1,this.dipsIntoOuterContext=!1,this.cachedHashCode=-1}var i,m;return i=f,(m=[{key:"add",value:function(s,_){if(_===void 0&&(_=null),this.readOnly)throw"This set is readonly";s.semanticContext!==N.NONE&&(this.hasSemanticContext=!0),s.reachesIntoOuterContext>0&&(this.dipsIntoOuterContext=!0);var l=this.configLookup.add(s);if(l===s)return this.cachedHashCode=-1,this.configs.push(s),!0;var y=!this.fullCtx,o=ma(l.context,s.context,y,_);return l.reachesIntoOuterContext=Math.max(l.reachesIntoOuterContext,s.reachesIntoOuterContext),s.precedenceFilterSuppressed&&(l.precedenceFilterSuppressed=!0),l.context=o,!0}},{key:"getStates",value:function(){for(var s=new g,_=0;_<this.configs.length;_++)s.add(this.configs[_].state);return s}},{key:"getPredicates",value:function(){for(var s=[],_=0;_<this.configs.length;_++){var l=this.configs[_].semanticContext;l!==N.NONE&&s.push(l.semanticContext)}return s}},{key:"optimizeConfigs",value:function(s){if(this.readOnly)throw"This set is readonly";if(this.configLookup.length!==0)for(var _=0;_<this.configs.length;_++){var l=this.configs[_];l.context=s.getCachedContext(l.context)}}},{key:"addAll",value:function(s){for(var _=0;_<s.length;_++)this.add(s[_]);return!1}},{key:"equals",value:function(s){return this===s||s instanceof f&&r(this.configs,s.configs)&&this.fullCtx===s.fullCtx&&this.uniqueAlt===s.uniqueAlt&&this.conflictingAlts===s.conflictingAlts&&this.hasSemanticContext===s.hasSemanticContext&&this.dipsIntoOuterContext===s.dipsIntoOuterContext}},{key:"hashCode",value:function(){var s=new b;return s.update(this.configs),s.finish()}},{key:"updateHashCode",value:function(s){this.readOnly?(this.cachedHashCode===-1&&(this.cachedHashCode=this.hashCode()),s.update(this.cachedHashCode)):s.update(this.hashCode())}},{key:"isEmpty",value:function(){return this.configs.length===0}},{key:"contains",value:function(s){if(this.configLookup===null)throw"This method is not implemented for readonly sets.";return this.configLookup.contains(s)}},{key:"containsFast",value:function(s){if(this.configLookup===null)throw"This method is not implemented for readonly sets.";return this.configLookup.containsFast(s)}},{key:"clear",value:function(){if(this.readOnly)throw"This set is readonly";this.configs=[],this.cachedHashCode=-1,this.configLookup=new g}},{key:"setReadonly",value:function(s){this.readOnly=s,s&&(this.configLookup=null)}},{key:"toString",value:function(){return F(this.configs)+(this.hasSemanticContext?",hasSemanticContext="+this.hasSemanticContext:"")+(this.uniqueAlt!==bn.INVALID_ALT_NUMBER?",uniqueAlt="+this.uniqueAlt:"")+(this.conflictingAlts!==null?",conflictingAlts="+this.conflictingAlts:"")+(this.dipsIntoOuterContext?",dipsIntoOuterContext":"")}},{key:"items",get:function(){return this.configs}},{key:"length",get:function(){return this.configs.length}}])&&u1(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();function $s(f){return $s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},$s(f)}function f1(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if($s(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if($s(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),$s(_)==="symbol"?_:String(_)),s)}var _}var Wo=function(){function f(s,_){return function(l,y){if(!(l instanceof y))throw new TypeError("Cannot call a class as a function")}(this,f),s===null&&(s=-1),_===null&&(_=new Wr),this.stateNumber=s,this.configs=_,this.edges=null,this.isAcceptState=!1,this.prediction=0,this.lexerActionExecutor=null,this.requiresFullContext=!1,this.predicates=null,this}var i,m;return i=f,(m=[{key:"getAltSet",value:function(){var s=new g;if(this.configs!==null)for(var _=0;_<this.configs.length;_++){var l=this.configs[_];s.add(l.alt)}return s.length===0?null:s}},{key:"equals",value:function(s){return this===s||s instanceof f&&this.configs.equals(s.configs)}},{key:"toString",value:function(){var s=this.stateNumber+":"+this.configs;return this.isAcceptState&&(s+="=>",this.predicates!==null?s+=this.predicates:s+=this.prediction),s}},{key:"hashCode",value:function(){var s=new b;return s.update(this.configs),s.finish()}}])&&f1(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();function Gs(f){return Gs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Gs(f)}function h1(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(Gs(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Gs(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Gs(_)==="symbol"?_:String(_)),s)}var _}var Ni=function(){function f(s,_){return function(l,y){if(!(l instanceof y))throw new TypeError("Cannot call a class as a function")}(this,f),this.atn=s,this.sharedContextCache=_,this}var i,m;return i=f,m=[{key:"getCachedContext",value:function(s){if(this.sharedContextCache===null)return s;var _=new io;return ec(s,this.sharedContextCache,_)}}],m&&h1(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();function p0(f){return p0=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},p0(f)}function d0(f,i){return d0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},d0(f,i)}function Uc(f){return Uc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Uc(f)}Ni.ERROR=new Wo(2147483647,new Wr);var Y_=function(f){(function(y,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(o&&o.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),o&&d0(y,o)})(l,f);var i,m,s,_=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var y,o=Uc(m);if(s){var u=Uc(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return function(S,D){if(D&&(p0(D)==="object"||typeof D=="function"))return D;if(D!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(C){if(C===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C}(S)}(this,y)});function l(){var y;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,l),(y=_.call(this)).configLookup=new g,y}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(Wr);function $a(f){return $a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},$a(f)}function p1(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if($a(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if($a(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),$a(_)==="symbol"?_:String(_)),s)}var _}function _0(){return _0=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(f,i,m){var s=function(l,y){for(;!Object.prototype.hasOwnProperty.call(l,y)&&(l=Ga(l))!==null;);return l}(f,i);if(s){var _=Object.getOwnPropertyDescriptor(s,i);return _.get?_.get.call(arguments.length<3?f:m):_.value}},_0.apply(this,arguments)}function m0(f,i){return m0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},m0(f,i)}function Z_(f,i){if(i&&($a(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Q_(f)}function Q_(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function Ga(f){return Ga=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Ga(f)}var Pi=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&m0(o,u)})(y,f);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Ga(s);if(_){var S=Ga(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return Z_(this,o)});function y(o,u){var S;(function(C,U){if(!(C instanceof U))throw new TypeError("Cannot call a class as a function")})(this,y),S=l.call(this,o,u);var D=o.lexerActionExecutor||null;return S.lexerActionExecutor=D||(u!==null?u.lexerActionExecutor:null),S.passedThroughNonGreedyDecision=u!==null&&S.checkNonGreedyDecision(u,S.state),S.hashCodeForConfigSet=y.prototype.hashCode,S.equalsForConfigSet=y.prototype.equals,Z_(S,Q_(S))}return i=y,(m=[{key:"updateHashCode",value:function(o){o.update(this.state.stateNumber,this.alt,this.context,this.semanticContext,this.passedThroughNonGreedyDecision,this.lexerActionExecutor)}},{key:"equals",value:function(o){return this===o||o instanceof y&&this.passedThroughNonGreedyDecision===o.passedThroughNonGreedyDecision&&(this.lexerActionExecutor?this.lexerActionExecutor.equals(o.lexerActionExecutor):!o.lexerActionExecutor)&&_0(Ga(y.prototype),"equals",this).call(this,o)}},{key:"checkNonGreedyDecision",value:function(o,u){return o.passedThroughNonGreedyDecision||u instanceof ya&&u.nonGreedy}}])&&p1(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(ce);function za(f){return za=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},za(f)}function d1(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(za(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(za(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),za(_)==="symbol"?_:String(_)),s)}var _}function y0(f,i){return y0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},y0(f,i)}function Vc(f){return Vc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Vc(f)}var g0=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&y0(o,u)})(y,f);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Vc(s);if(_){var S=Vc(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(D,C){if(C&&(za(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(U){if(U===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U}(D)}(this,o)});function y(o,u){var S;return function(D,C){if(!(D instanceof C))throw new TypeError("Cannot call a class as a function")}(this,y),(S=l.call(this,u.actionType)).offset=o,S.action=u,S.isPositionDependent=!0,S}return i=y,(m=[{key:"execute",value:function(o){this.action.execute(o)}},{key:"updateHashCode",value:function(o){o.update(this.actionType,this.offset,this.action)}},{key:"equals",value:function(o){return this===o||o instanceof y&&this.offset===o.offset&&this.action===o.action}}])&&d1(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(so);function zs(f){return zs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},zs(f)}function J_(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(zs(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(zs(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),zs(_)==="symbol"?_:String(_)),s)}var _}var _1=function(){function f(_){return function(l,y){if(!(l instanceof y))throw new TypeError("Cannot call a class as a function")}(this,f),this.lexerActions=_===null?[]:_,this.cachedHashCode=b.hashStuff(_),this}var i,m,s;return i=f,s=[{key:"append",value:function(_,l){return new f(_===null?[l]:_.lexerActions.concat([l]))}}],(m=[{key:"fixOffsetBeforeMatch",value:function(_){for(var l=null,y=0;y<this.lexerActions.length;y++)!this.lexerActions[y].isPositionDependent||this.lexerActions[y]instanceof g0||(l===null&&(l=this.lexerActions.concat([])),l[y]=new g0(_,this.lexerActions[y]));return l===null?this:new f(l)}},{key:"execute",value:function(_,l,y){var o=!1,u=l.index;try{for(var S=0;S<this.lexerActions.length;S++){var D=this.lexerActions[S];if(D instanceof g0){var C=D.offset;l.seek(y+C),D=D.action,o=y+C!==u}else D.isPositionDependent&&(l.seek(u),o=!1);D.execute(_)}}finally{o&&l.seek(u)}}},{key:"hashCode",value:function(){return this.cachedHashCode}},{key:"updateHashCode",value:function(_){_.update(this.cachedHashCode)}},{key:"equals",value:function(_){if(this===_)return!0;if(_ instanceof f){if(this.cachedHashCode!=_.cachedHashCode||this.lexerActions.length!=_.lexerActions.length)return!1;for(var l=this.lexerActions.length,y=0;y<l;++y)if(!this.lexerActions[y].equals(_.lexerActions[y]))return!1;return!0}return!1}}])&&J_(i.prototype,m),s&&J_(i,s),Object.defineProperty(i,"prototype",{writable:!1}),f}();function v0(f,i){return v0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},v0(f,i)}function jc(f){return jc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},jc(f)}function Ka(f){return Ka=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ka(f)}function em(f,i){if(!(f instanceof i))throw new TypeError("Cannot call a class as a function")}function tm(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(Ka(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ka(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ka(_)==="symbol"?_:String(_)),s)}var _}function nm(f,i,m){return i&&tm(f.prototype,i),m&&tm(f,m),Object.defineProperty(f,"prototype",{writable:!1}),f}function rm(f){f.index=-1,f.line=0,f.column=-1,f.dfaState=null}var m1=function(){function f(){em(this,f),rm(this)}return nm(f,[{key:"reset",value:function(){rm(this)}}]),f}(),Wa=function(f){(function(l,y){if(typeof y!="function"&&y!==null)throw new TypeError("Super expression must either be null or a function");l.prototype=Object.create(y&&y.prototype,{constructor:{value:l,writable:!0,configurable:!0}}),Object.defineProperty(l,"prototype",{writable:!1}),y&&v0(l,y)})(_,f);var i,m,s=(i=_,m=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var l,y=jc(i);if(m){var o=jc(this).constructor;l=Reflect.construct(y,arguments,o)}else l=y.apply(this,arguments);return function(u,S){if(S&&(Ka(S)==="object"||typeof S=="function"))return S;if(S!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(D){if(D===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return D}(u)}(this,l)});function _(l,y,o,u){var S;return em(this,_),(S=s.call(this,y,u)).decisionToDFA=o,S.recog=l,S.startIndex=-1,S.line=1,S.column=0,S.mode=hr.DEFAULT_MODE,S.prevAccept=new m1,S}return nm(_,[{key:"copyState",value:function(l){this.column=l.column,this.line=l.line,this.mode=l.mode,this.startIndex=l.startIndex}},{key:"match",value:function(l,y){this.mode=y;var o=l.mark();try{this.startIndex=l.index,this.prevAccept.reset();var u=this.decisionToDFA[y];return u.s0===null?this.matchATN(l):this.execATN(l,u.s0)}finally{l.release(o)}}},{key:"reset",value:function(){this.prevAccept.reset(),this.startIndex=-1,this.line=1,this.column=0,this.mode=hr.DEFAULT_MODE}},{key:"matchATN",value:function(l){var y=this.atn.modeToStartState[this.mode];_.debug&&console.log("matchATN mode "+this.mode+" start: "+y);var o=this.mode,u=this.computeStartState(l,y),S=u.hasSemanticContext;u.hasSemanticContext=!1;var D=this.addDFAState(u);S||(this.decisionToDFA[this.mode].s0=D);var C=this.execATN(l,D);return _.debug&&console.log("DFA after matchATN: "+this.decisionToDFA[o].toLexerString()),C}},{key:"execATN",value:function(l,y){_.debug&&console.log("start state closure="+y.configs),y.isAcceptState&&this.captureSimState(this.prevAccept,l,y);for(var o=l.LA(1),u=y;;){_.debug&&console.log("execATN loop starting closure: "+u.configs);var S=this.getExistingTargetState(u,o);if(S===null&&(S=this.computeTargetState(l,u,o)),S===Ni.ERROR||(o!==n.EOF&&this.consume(l),S.isAcceptState&&(this.captureSimState(this.prevAccept,l,S),o===n.EOF)))break;o=l.LA(1),u=S}return this.failOrAccept(this.prevAccept,l,u.configs,o)}},{key:"getExistingTargetState",value:function(l,y){if(l.edges===null||y<_.MIN_DFA_EDGE||y>_.MAX_DFA_EDGE)return null;var o=l.edges[y-_.MIN_DFA_EDGE];return o===void 0&&(o=null),_.debug&&o!==null&&console.log("reuse state "+l.stateNumber+" edge to "+o.stateNumber),o}},{key:"computeTargetState",value:function(l,y,o){var u=new Y_;return this.getReachableConfigSet(l,y.configs,u,o),u.items.length===0?(u.hasSemanticContext||this.addDFAEdge(y,o,Ni.ERROR),Ni.ERROR):this.addDFAEdge(y,o,null,u)}},{key:"failOrAccept",value:function(l,y,o,u){if(this.prevAccept.dfaState!==null){var S=l.dfaState.lexerActionExecutor;return this.accept(y,S,this.startIndex,l.index,l.line,l.column),l.dfaState.prediction}if(u===n.EOF&&y.index===this.startIndex)return n.EOF;throw new f0(this.recog,y,this.startIndex,o)}},{key:"getReachableConfigSet",value:function(l,y,o,u){for(var S=bn.INVALID_ALT_NUMBER,D=0;D<y.items.length;D++){var C=y.items[D],U=C.alt===S;if(!U||!C.passedThroughNonGreedyDecision){_.debug&&console.log(`testing %s at %s
|
4
|
+
`,this.getTokenName(u),C.toString(this.recog,!0));for(var fe=0;fe<C.state.transitions.length;fe++){var Ne=C.state.transitions[fe],Re=this.getReachableTarget(Ne,u);if(Re!==null){var Ge=C.lexerActionExecutor;Ge!==null&&(Ge=Ge.fixOffsetBeforeMatch(l.index-this.startIndex));var ct=u===n.EOF,We=new Pi({state:Re,lexerActionExecutor:Ge},C);this.closure(l,We,o,U,!0,ct)&&(S=C.alt)}}}}}},{key:"accept",value:function(l,y,o,u,S,D){_.debug&&console.log(`ACTION %s
|
5
|
+
`,y),l.seek(u),this.line=S,this.column=D,y!==null&&this.recog!==null&&y.execute(this.recog,l,o)}},{key:"getReachableTarget",value:function(l,y){return l.matches(y,0,hr.MAX_CHAR_VALUE)?l.target:null}},{key:"computeStartState",value:function(l,y){for(var o=st.EMPTY,u=new Y_,S=0;S<y.transitions.length;S++){var D=y.transitions[S].target,C=new Pi({state:D,alt:S+1,context:o},null);this.closure(l,C,u,!1,!1,!1)}return u}},{key:"closure",value:function(l,y,o,u,S,D){var C=null;if(_.debug&&console.log("closure("+y.toString(this.recog,!0)+")"),y.state instanceof St){if(_.debug&&(this.recog!==null?console.log(`closure at %s rule stop %s
|
6
|
+
`,this.recog.ruleNames[y.state.ruleIndex],y):console.log(`closure at rule stop %s
|
7
|
+
`,y)),y.context===null||y.context.hasEmptyPath()){if(y.context===null||y.context.isEmpty())return o.add(y),!0;o.add(new Pi({state:y.state,context:st.EMPTY},y)),u=!0}if(y.context!==null&&!y.context.isEmpty()){for(var U=0;U<y.context.length;U++)if(y.context.getReturnState(U)!==st.EMPTY_RETURN_STATE){var fe=y.context.getParent(U),Ne=this.atn.states[y.context.getReturnState(U)];C=new Pi({state:Ne,context:fe},y),u=this.closure(l,C,o,u,S,D)}}return u}y.state.epsilonOnlyTransitions||u&&y.passedThroughNonGreedyDecision||o.add(y);for(var Re=0;Re<y.state.transitions.length;Re++){var Ge=y.state.transitions[Re];(C=this.getEpsilonTarget(l,y,Ge,o,S,D))!==null&&(u=this.closure(l,C,o,u,S,D))}return u}},{key:"getEpsilonTarget",value:function(l,y,o,u,S,D){var C=null;if(o.serializationType===be.RULE){var U=_t.create(y.context,o.followState.stateNumber);C=new Pi({state:o.target,context:U},y)}else{if(o.serializationType===be.PRECEDENCE)throw"Precedence predicates are not supported in lexers.";if(o.serializationType===be.PREDICATE)_.debug&&console.log("EVAL rule "+o.ruleIndex+":"+o.predIndex),u.hasSemanticContext=!0,this.evaluatePredicate(l,o.ruleIndex,o.predIndex,S)&&(C=new Pi({state:o.target},y));else if(o.serializationType===be.ACTION)if(y.context===null||y.context.hasEmptyPath()){var fe=_1.append(y.lexerActionExecutor,this.atn.lexerActions[o.actionIndex]);C=new Pi({state:o.target,lexerActionExecutor:fe},y)}else C=new Pi({state:o.target},y);else o.serializationType===be.EPSILON?C=new Pi({state:o.target},y):o.serializationType!==be.ATOM&&o.serializationType!==be.RANGE&&o.serializationType!==be.SET||D&&o.matches(n.EOF,0,hr.MAX_CHAR_VALUE)&&(C=new Pi({state:o.target},y))}return C}},{key:"evaluatePredicate",value:function(l,y,o,u){if(this.recog===null)return!0;if(!u)return this.recog.sempred(null,y,o);var S=this.column,D=this.line,C=l.index,U=l.mark();try{return this.consume(l),this.recog.sempred(null,y,o)}finally{this.column=S,this.line=D,l.seek(C),l.release(U)}}},{key:"captureSimState",value:function(l,y,o){l.index=y.index,l.line=this.line,l.column=this.column,l.dfaState=o}},{key:"addDFAEdge",value:function(l,y,o,u){if(o===void 0&&(o=null),u===void 0&&(u=null),o===null&&u!==null){var S=u.hasSemanticContext;if(u.hasSemanticContext=!1,o=this.addDFAState(u),S)return o}return y<_.MIN_DFA_EDGE||y>_.MAX_DFA_EDGE||(_.debug&&console.log("EDGE "+l+" -> "+o+" upon "+y),l.edges===null&&(l.edges=[]),l.edges[y-_.MIN_DFA_EDGE]=o),o}},{key:"addDFAState",value:function(l){for(var y=new Wo(null,l),o=null,u=0;u<l.items.length;u++){var S=l.items[u];if(S.state instanceof St){o=S;break}}o!==null&&(y.isAcceptState=!0,y.lexerActionExecutor=o.lexerActionExecutor,y.prediction=this.atn.ruleToTokenType[o.state.ruleIndex]);var D=this.decisionToDFA[this.mode],C=D.states.get(y);if(C!==null)return C;var U=y;return U.stateNumber=D.states.length,l.setReadonly(!0),U.configs=l,D.states.add(U),U}},{key:"getDFA",value:function(l){return this.decisionToDFA[l]}},{key:"getText",value:function(l){return l.getText(this.startIndex,l.index-1)}},{key:"consume",value:function(l){l.LA(1)===10?(this.line+=1,this.column=0):this.column+=1,l.consume()}},{key:"getTokenName",value:function(l){return l===-1?"EOF":"'"+String.fromCharCode(l)+"'"}}]),_}(Ni);function Ks(f){return Ks=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ks(f)}function y1(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(Ks(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ks(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ks(_)==="symbol"?_:String(_)),s)}var _}Wa.debug=!1,Wa.dfa_debug=!1,Wa.MIN_DFA_EDGE=0,Wa.MAX_DFA_EDGE=127;var im=function(){function f(s,_){(function(l,y){if(!(l instanceof y))throw new TypeError("Cannot call a class as a function")})(this,f),this.alt=_,this.pred=s}var i,m;return i=f,(m=[{key:"toString",value:function(){return"("+this.pred+", "+this.alt+")"}}])&&y1(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();function Ws(f){return Ws=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ws(f)}function g1(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(Ws(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ws(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ws(_)==="symbol"?_:String(_)),s)}var _}var v1=function(){function f(){(function(s,_){if(!(s instanceof _))throw new TypeError("Cannot call a class as a function")})(this,f),this.data={}}var i,m;return i=f,(m=[{key:"get",value:function(s){return this.data["k-"+s]||null}},{key:"set",value:function(s,_){this.data["k-"+s]=_}},{key:"values",value:function(){var s=this;return Object.keys(this.data).filter(function(_){return _.startsWith("k-")}).map(function(_){return s.data[_]},this)}}])&&g1(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}(),Ii={SLL:0,LL:1,LL_EXACT_AMBIG_DETECTION:2,hasSLLConflictTerminatingPrediction:function(f,i){if(Ii.allConfigsInRuleStopStates(i))return!0;if(f===Ii.SLL&&i.hasSemanticContext){for(var m=new Wr,s=0;s<i.items.length;s++){var _=i.items[s];_=new ce({semanticContext:N.NONE},_),m.add(_)}i=m}var l=Ii.getConflictingAltSubsets(i);return Ii.hasConflictingAltSet(l)&&!Ii.hasStateAssociatedWithOneAlt(i)},hasConfigInRuleStopState:function(f){for(var i=0;i<f.items.length;i++)if(f.items[i].state instanceof St)return!0;return!1},allConfigsInRuleStopStates:function(f){for(var i=0;i<f.items.length;i++)if(!(f.items[i].state instanceof St))return!1;return!0},resolvesToJustOneViableAlt:function(f){return Ii.getSingleViableAlt(f)},allSubsetsConflict:function(f){return!Ii.hasNonConflictingAltSet(f)},hasNonConflictingAltSet:function(f){for(var i=0;i<f.length;i++)if(f[i].length===1)return!0;return!1},hasConflictingAltSet:function(f){for(var i=0;i<f.length;i++)if(f[i].length>1)return!0;return!1},allSubsetsEqual:function(f){for(var i=null,m=0;m<f.length;m++){var s=f[m];if(i===null)i=s;else if(s!==i)return!1}return!0},getUniqueAlt:function(f){var i=Ii.getAlts(f);return i.length===1?i.minValue():bn.INVALID_ALT_NUMBER},getAlts:function(f){var i=new Kr;return f.map(function(m){i.or(m)}),i},getConflictingAltSubsets:function(f){var i=new io;return i.hashFunction=function(m){b.hashStuff(m.state.stateNumber,m.context)},i.equalsFunction=function(m,s){return m.state.stateNumber===s.state.stateNumber&&m.context.equals(s.context)},f.items.map(function(m){var s=i.get(m);s===null&&(s=new Kr,i.set(m,s)),s.add(m.alt)}),i.getValues()},getStateToAltMap:function(f){var i=new v1;return f.items.map(function(m){var s=i.get(m.state);s===null&&(s=new Kr,i.set(m.state,s)),s.add(m.alt)}),i},hasStateAssociatedWithOneAlt:function(f){for(var i=Ii.getStateToAltMap(f).values(),m=0;m<i.length;m++)if(i[m].length===1)return!0;return!1},getSingleViableAlt:function(f){for(var i=null,m=0;m<f.length;m++){var s=f[m].minValue();if(i===null)i=s;else if(i!==s)return bn.INVALID_ALT_NUMBER}return i}};const Wn=Ii;function b0(f){return b0=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},b0(f)}function E0(f,i){return E0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},E0(f,i)}function Hc(f){return Hc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Hc(f)}var $c=function(f){(function(y,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(o&&o.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),o&&E0(y,o)})(l,f);var i,m,s,_=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var y,o=Hc(m);if(s){var u=Hc(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return function(S,D){if(D&&(b0(D)==="object"||typeof D=="function"))return D;if(D!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(C){if(C===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C}(S)}(this,y)});function l(y,o,u,S,D,C){var U;return function(fe,Ne){if(!(fe instanceof Ne))throw new TypeError("Cannot call a class as a function")}(this,l),C=C||y._ctx,S=S||y.getCurrentToken(),u=u||y.getCurrentToken(),o=o||y.getInputStream(),(U=_.call(this,{message:"",recognizer:y,input:o,ctx:C})).deadEndConfigs=D,U.startToken=u,U.offendingToken=S,U}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(Ko);function qs(f){return qs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},qs(f)}function b1(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(qs(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(qs(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),qs(_)==="symbol"?_:String(_)),s)}var _}var E1=function(){function f(s){(function(_,l){if(!(_ instanceof l))throw new TypeError("Cannot call a class as a function")})(this,f),this.defaultMapCtor=s||io,this.cacheMap=new this.defaultMapCtor}var i,m;return i=f,(m=[{key:"get",value:function(s,_){var l=this.cacheMap.get(s)||null;return l===null?null:l.get(_)||null}},{key:"set",value:function(s,_,l){var y=this.cacheMap.get(s)||null;y===null&&(y=new this.defaultMapCtor,this.cacheMap.set(s,y)),y.set(_,l)}}])&&b1(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();function qa(f){return qa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},qa(f)}function x1(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(qa(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(qa(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),qa(_)==="symbol"?_:String(_)),s)}var _}function x0(f,i){return x0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},x0(f,i)}function Gc(f){return Gc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Gc(f)}var om=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&x0(o,u)})(y,f);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Gc(s);if(_){var S=Gc(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(D,C){if(C&&(qa(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(U){if(U===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U}(D)}(this,o)});function y(o,u,S,D){var C;return function(U,fe){if(!(U instanceof fe))throw new TypeError("Cannot call a class as a function")}(this,y),(C=l.call(this,u,D)).parser=o,C.decisionToDFA=S,C.predictionMode=Wn.LL,C._input=null,C._startIndex=0,C._outerContext=null,C._dfa=null,C.mergeCache=null,C.debug=!1,C.debug_closure=!1,C.debug_add=!1,C.trace_atn_sim=!1,C.dfa_debug=!1,C.retry_debug=!1,C}return i=y,m=[{key:"reset",value:function(){}},{key:"adaptivePredict",value:function(o,u,S){(this.debug||this.trace_atn_sim)&&console.log("adaptivePredict decision "+u+" exec LA(1)=="+this.getLookaheadName(o)+" line "+o.LT(1).line+":"+o.LT(1).column),this._input=o,this._startIndex=o.index,this._outerContext=S;var D=this.decisionToDFA[u];this._dfa=D;var C=o.mark(),U=o.index;try{var fe;if((fe=D.precedenceDfa?D.getPrecedenceStartState(this.parser.getPrecedence()):D.s0)===null){S===null&&(S=ro.EMPTY),this.debug&&console.log("predictATN decision "+D.decision+" exec LA(1)=="+this.getLookaheadName(o)+", outerContext="+S.toString(this.parser.ruleNames));var Ne=this.computeStartState(D.atnStartState,ro.EMPTY,!1);D.precedenceDfa?(D.s0.configs=Ne,Ne=this.applyPrecedenceFilter(Ne),fe=this.addDFAState(D,new Wo(null,Ne)),D.setPrecedenceStartState(this.parser.getPrecedence(),fe)):(fe=this.addDFAState(D,new Wo(null,Ne)),D.s0=fe)}var Re=this.execATN(D,fe,o,U,S);return this.debug&&console.log("DFA after predictATN: "+D.toString(this.parser.literalNames,this.parser.symbolicNames)),Re}finally{this._dfa=null,this.mergeCache=null,o.seek(U),o.release(C)}}},{key:"execATN",value:function(o,u,S,D,C){var U;(this.debug||this.trace_atn_sim)&&console.log("execATN decision "+o.decision+", DFA state "+u+", LA(1)=="+this.getLookaheadName(S)+" line "+S.LT(1).line+":"+S.LT(1).column);var fe=u;this.debug&&console.log("s0 = "+u);for(var Ne=S.LA(1);;){var Re=this.getExistingTargetState(fe,Ne);if(Re===null&&(Re=this.computeTargetState(o,fe,Ne)),Re===Ni.ERROR){var Ge=this.noViableAlt(S,C,fe.configs,D);if(S.seek(D),(U=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(fe.configs,C))!==bn.INVALID_ALT_NUMBER)return U;throw Ge}if(Re.requiresFullContext&&this.predictionMode!==Wn.SLL){var ct=null;if(Re.predicates!==null){this.debug&&console.log("DFA state has preds in DFA sim LL failover");var We=S.index;if(We!==D&&S.seek(D),(ct=this.evalSemanticContext(Re.predicates,C,!0)).length===1)return this.debug&&console.log("Full LL avoided"),ct.minValue();We!==D&&S.seek(We)}this.dfa_debug&&console.log("ctx sensitive state "+C+" in "+Re);var En=this.computeStartState(o.atnStartState,C,!0);return this.reportAttemptingFullContext(o,ct,Re.configs,D,S.index),this.execATNWithFullContext(o,Re,En,S,D,C)}if(Re.isAcceptState){if(Re.predicates===null)return Re.prediction;var vn=S.index;S.seek(D);var qn=this.evalSemanticContext(Re.predicates,C,!0);if(qn.length===0)throw this.noViableAlt(S,C,Re.configs,D);return qn.length===1||this.reportAmbiguity(o,Re,D,vn,!1,qn,Re.configs),qn.minValue()}fe=Re,Ne!==n.EOF&&(S.consume(),Ne=S.LA(1))}}},{key:"getExistingTargetState",value:function(o,u){var S=o.edges;return S===null?null:S[u+1]||null}},{key:"computeTargetState",value:function(o,u,S){var D=this.computeReachSet(u.configs,S,!1);if(D===null)return this.addDFAEdge(o,u,S,Ni.ERROR),Ni.ERROR;var C=new Wo(null,D),U=this.getUniqueAlt(D);if(this.debug){var fe=Wn.getConflictingAltSubsets(D);console.log("SLL altSubSets="+F(fe)+", configs="+D+", predict="+U+", allSubsetsConflict="+Wn.allSubsetsConflict(fe)+", conflictingAlts="+this.getConflictingAlts(D))}return U!==bn.INVALID_ALT_NUMBER?(C.isAcceptState=!0,C.configs.uniqueAlt=U,C.prediction=U):Wn.hasSLLConflictTerminatingPrediction(this.predictionMode,D)&&(C.configs.conflictingAlts=this.getConflictingAlts(D),C.requiresFullContext=!0,C.isAcceptState=!0,C.prediction=C.configs.conflictingAlts.minValue()),C.isAcceptState&&C.configs.hasSemanticContext&&(this.predicateDFAState(C,this.atn.getDecisionState(o.decision)),C.predicates!==null&&(C.prediction=bn.INVALID_ALT_NUMBER)),this.addDFAEdge(o,u,S,C)}},{key:"predicateDFAState",value:function(o,u){var S=u.transitions.length,D=this.getConflictingAltsOrUniqueAlt(o.configs),C=this.getPredsForAmbigAlts(D,o.configs,S);C!==null?(o.predicates=this.getPredicatePredictions(D,C),o.prediction=bn.INVALID_ALT_NUMBER):o.prediction=D.minValue()}},{key:"execATNWithFullContext",value:function(o,u,S,D,C,U){(this.debug||this.trace_atn_sim)&&console.log("execATNWithFullContext "+S);var fe,Ne=!1,Re=S;D.seek(C);for(var Ge=D.LA(1),ct=-1;;){if((fe=this.computeReachSet(Re,Ge,!0))===null){var We=this.noViableAlt(D,U,Re,C);D.seek(C);var En=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(Re,U);if(En!==bn.INVALID_ALT_NUMBER)return En;throw We}var vn=Wn.getConflictingAltSubsets(fe);if(this.debug&&console.log("LL altSubSets="+vn+", predict="+Wn.getUniqueAlt(vn)+", resolvesToJustOneViableAlt="+Wn.resolvesToJustOneViableAlt(vn)),fe.uniqueAlt=this.getUniqueAlt(fe),fe.uniqueAlt!==bn.INVALID_ALT_NUMBER){ct=fe.uniqueAlt;break}if(this.predictionMode!==Wn.LL_EXACT_AMBIG_DETECTION){if((ct=Wn.resolvesToJustOneViableAlt(vn))!==bn.INVALID_ALT_NUMBER)break}else if(Wn.allSubsetsConflict(vn)&&Wn.allSubsetsEqual(vn)){Ne=!0,ct=Wn.getSingleViableAlt(vn);break}Re=fe,Ge!==n.EOF&&(D.consume(),Ge=D.LA(1))}return fe.uniqueAlt!==bn.INVALID_ALT_NUMBER?(this.reportContextSensitivity(o,ct,fe,C,D.index),ct):(this.reportAmbiguity(o,u,C,D.index,Ne,null,fe),ct)}},{key:"computeReachSet",value:function(o,u,S){this.debug&&console.log("in computeReachSet, starting closure: "+o),this.mergeCache===null&&(this.mergeCache=new E1);for(var D=new Wr(S),C=null,U=0;U<o.items.length;U++){var fe=o.items[U];if(this.debug&&console.log("testing "+this.getTokenName(u)+" at "+fe),fe.state instanceof St)(S||u===n.EOF)&&(C===null&&(C=[]),C.push(fe),this.debug_add&&console.log("added "+fe+" to skippedStopStates"));else for(var Ne=0;Ne<fe.state.transitions.length;Ne++){var Re=fe.state.transitions[Ne],Ge=this.getReachableTarget(Re,u);if(Ge!==null){var ct=new ce({state:Ge},fe);D.add(ct,this.mergeCache),this.debug_add&&console.log("added "+ct+" to intermediate")}}}var We=null;if(C===null&&u!==n.EOF&&(D.items.length===1||this.getUniqueAlt(D)!==bn.INVALID_ALT_NUMBER)&&(We=D),We===null){We=new Wr(S);for(var En=new g,vn=u===n.EOF,qn=0;qn<D.items.length;qn++)this.closure(D.items[qn],We,En,!1,S,vn)}if(u===n.EOF&&(We=this.removeAllConfigsNotInRuleStopState(We,We===D)),!(C===null||S&&Wn.hasConfigInRuleStopState(We)))for(var qr=0;qr<C.length;qr++)We.add(C[qr],this.mergeCache);return this.trace_atn_sim&&console.log("computeReachSet "+o+" -> "+We),We.items.length===0?null:We}},{key:"removeAllConfigsNotInRuleStopState",value:function(o,u){if(Wn.allConfigsInRuleStopStates(o))return o;for(var S=new Wr(o.fullCtx),D=0;D<o.items.length;D++){var C=o.items[D];if(C.state instanceof St)S.add(C,this.mergeCache);else if(u&&C.state.epsilonOnlyTransitions&&this.atn.nextTokens(C.state).contains(n.EPSILON)){var U=this.atn.ruleToStopState[C.state.ruleIndex];S.add(new ce({state:U},C),this.mergeCache)}}return S}},{key:"computeStartState",value:function(o,u,S){var D=_a(this.atn,u),C=new Wr(S);this.trace_atn_sim&&console.log("computeStartState from ATN state "+o+" initialContext="+D.toString(this.parser));for(var U=0;U<o.transitions.length;U++){var fe=o.transitions[U].target,Ne=new ce({state:fe,alt:U+1,context:D},null),Re=new g;this.closure(Ne,C,Re,!0,S,!1)}return C}},{key:"applyPrecedenceFilter",value:function(o){for(var u,S=[],D=new Wr(o.fullCtx),C=0;C<o.items.length;C++)if((u=o.items[C]).alt===1){var U=u.semanticContext.evalPrecedence(this.parser,this._outerContext);U!==null&&(S[u.state.stateNumber]=u.context,U!==u.semanticContext?D.add(new ce({semanticContext:U},u),this.mergeCache):D.add(u,this.mergeCache))}for(var fe=0;fe<o.items.length;fe++)if((u=o.items[fe]).alt!==1){if(!u.precedenceFilterSuppressed){var Ne=S[u.state.stateNumber]||null;if(Ne!==null&&Ne.equals(u.context))continue}D.add(u,this.mergeCache)}return D}},{key:"getReachableTarget",value:function(o,u){return o.matches(u,0,this.atn.maxTokenType)?o.target:null}},{key:"getPredsForAmbigAlts",value:function(o,u,S){for(var D=[],C=0;C<u.items.length;C++){var U=u.items[C];o.has(U.alt)&&(D[U.alt]=N.orContext(D[U.alt]||null,U.semanticContext))}for(var fe=0,Ne=1;Ne<S+1;Ne++){var Re=D[Ne]||null;Re===null?D[Ne]=N.NONE:Re!==N.NONE&&(fe+=1)}return fe===0&&(D=null),this.debug&&console.log("getPredsForAmbigAlts result "+F(D)),D}},{key:"getPredicatePredictions",value:function(o,u){for(var S=[],D=!1,C=1;C<u.length;C++){var U=u[C];o!==null&&o.has(C)&&S.push(new im(U,C)),U!==N.NONE&&(D=!0)}return D?S:null}},{key:"getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule",value:function(o,u){var S=this.splitAccordingToSemanticValidity(o,u),D=S[0],C=S[1],U=this.getAltThatFinishedDecisionEntryRule(D);return U!==bn.INVALID_ALT_NUMBER||C.items.length>0&&(U=this.getAltThatFinishedDecisionEntryRule(C))!==bn.INVALID_ALT_NUMBER?U:bn.INVALID_ALT_NUMBER}},{key:"getAltThatFinishedDecisionEntryRule",value:function(o){for(var u=[],S=0;S<o.items.length;S++){var D=o.items[S];(D.reachesIntoOuterContext>0||D.state instanceof St&&D.context.hasEmptyPath())&&u.indexOf(D.alt)<0&&u.push(D.alt)}return u.length===0?bn.INVALID_ALT_NUMBER:Math.min.apply(null,u)}},{key:"splitAccordingToSemanticValidity",value:function(o,u){for(var S=new Wr(o.fullCtx),D=new Wr(o.fullCtx),C=0;C<o.items.length;C++){var U=o.items[C];U.semanticContext!==N.NONE?U.semanticContext.evaluate(this.parser,u)?S.add(U):D.add(U):S.add(U)}return[S,D]}},{key:"evalSemanticContext",value:function(o,u,S){for(var D=new Kr,C=0;C<o.length;C++){var U=o[C];if(U.pred!==N.NONE){var fe=U.pred.evaluate(this.parser,u);if((this.debug||this.dfa_debug)&&console.log("eval pred "+U+"="+fe),fe&&((this.debug||this.dfa_debug)&&console.log("PREDICT "+U.alt),D.add(U.alt),!S))break}else if(D.add(U.alt),!S)break}return D}},{key:"closure",value:function(o,u,S,D,C,U){this.closureCheckingStopState(o,u,S,D,C,0,U)}},{key:"closureCheckingStopState",value:function(o,u,S,D,C,U,fe){if((this.trace_atn_sim||this.debug_closure)&&console.log("closure("+o.toString(this.parser,!0)+")"),o.state instanceof St){if(!o.context.isEmpty()){for(var Ne=0;Ne<o.context.length;Ne++)if(o.context.getReturnState(Ne)!==st.EMPTY_RETURN_STATE){var Re=this.atn.states[o.context.getReturnState(Ne)],Ge=o.context.getParent(Ne),ct={state:Re,alt:o.alt,context:Ge,semanticContext:o.semanticContext},We=new ce(ct,null);We.reachesIntoOuterContext=o.reachesIntoOuterContext,this.closureCheckingStopState(We,u,S,D,C,U-1,fe)}else{if(C){u.add(new ce({state:o.state,context:st.EMPTY},o),this.mergeCache);continue}this.debug&&console.log("FALLING off rule "+this.getRuleName(o.state.ruleIndex)),this.closure_(o,u,S,D,C,U,fe)}return}if(C)return void u.add(o,this.mergeCache);this.debug&&console.log("FALLING off rule "+this.getRuleName(o.state.ruleIndex))}this.closure_(o,u,S,D,C,U,fe)}},{key:"closure_",value:function(o,u,S,D,C,U,fe){var Ne=o.state;Ne.epsilonOnlyTransitions||u.add(o,this.mergeCache);for(var Re=0;Re<Ne.transitions.length;Re++)if(Re!==0||!this.canDropLoopEntryEdgeInLeftRecursiveRule(o)){var Ge=Ne.transitions[Re],ct=D&&!(Ge instanceof L_),We=this.getEpsilonTarget(o,Ge,ct,U===0,C,fe);if(We!==null){var En=U;if(o.state instanceof St){if(this._dfa!==null&&this._dfa.precedenceDfa&&Ge.outermostPrecedenceReturn===this._dfa.atnStartState.ruleIndex&&(We.precedenceFilterSuppressed=!0),We.reachesIntoOuterContext+=1,S.add(We)!==We)continue;u.dipsIntoOuterContext=!0,En-=1,this.debug&&console.log("dips into outer ctx: "+We)}else{if(!Ge.isEpsilon&&S.add(We)!==We)continue;Ge instanceof Dt&&En>=0&&(En+=1)}this.closureCheckingStopState(We,u,S,ct,C,En,fe)}}}},{key:"canDropLoopEntryEdgeInLeftRecursiveRule",value:function(o){var u=o.state;if(u.stateType!==me.STAR_LOOP_ENTRY||u.stateType!==me.STAR_LOOP_ENTRY||!u.isPrecedenceDecision||o.context.isEmpty()||o.context.hasEmptyPath())return!1;for(var S=o.context.length,D=0;D<S;D++)if(this.atn.states[o.context.getReturnState(D)].ruleIndex!==u.ruleIndex)return!1;for(var C=u.transitions[0].target.endState.stateNumber,U=this.atn.states[C],fe=0;fe<S;fe++){var Ne=o.context.getReturnState(fe),Re=this.atn.states[Ne];if(Re.transitions.length!==1||!Re.transitions[0].isEpsilon)return!1;var Ge=Re.transitions[0].target;if(!(Re.stateType===me.BLOCK_END&&Ge===u||Re===U||Ge===U||Ge.stateType===me.BLOCK_END&&Ge.transitions.length===1&&Ge.transitions[0].isEpsilon&&Ge.transitions[0].target===u))return!1}return!0}},{key:"getRuleName",value:function(o){return this.parser!==null&&o>=0?this.parser.ruleNames[o]:"<rule "+o+">"}},{key:"getEpsilonTarget",value:function(o,u,S,D,C,U){switch(u.serializationType){case be.RULE:return this.ruleTransition(o,u);case be.PRECEDENCE:return this.precedenceTransition(o,u,S,D,C);case be.PREDICATE:return this.predTransition(o,u,S,D,C);case be.ACTION:return this.actionTransition(o,u);case be.EPSILON:return new ce({state:u.target},o);case be.ATOM:case be.RANGE:case be.SET:return U&&u.matches(n.EOF,0,1)?new ce({state:u.target},o):null;default:return null}}},{key:"actionTransition",value:function(o,u){if(this.debug){var S=u.actionIndex===-1?65535:u.actionIndex;console.log("ACTION edge "+u.ruleIndex+":"+S)}return new ce({state:u.target},o)}},{key:"precedenceTransition",value:function(o,u,S,D,C){this.debug&&(console.log("PRED (collectPredicates="+S+") "+u.precedence+">=_p, ctx dependent=true"),this.parser!==null&&console.log("context surrounding pred is "+F(this.parser.getRuleInvocationStack())));var U=null;if(S&&D)if(C){var fe=this._input.index;this._input.seek(this._startIndex);var Ne=u.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(fe),Ne&&(U=new ce({state:u.target},o))}else{var Re=N.andContext(o.semanticContext,u.getPredicate());U=new ce({state:u.target,semanticContext:Re},o)}else U=new ce({state:u.target},o);return this.debug&&console.log("config from pred transition="+U),U}},{key:"predTransition",value:function(o,u,S,D,C){this.debug&&(console.log("PRED (collectPredicates="+S+") "+u.ruleIndex+":"+u.predIndex+", ctx dependent="+u.isCtxDependent),this.parser!==null&&console.log("context surrounding pred is "+F(this.parser.getRuleInvocationStack())));var U=null;if(S&&(u.isCtxDependent&&D||!u.isCtxDependent))if(C){var fe=this._input.index;this._input.seek(this._startIndex);var Ne=u.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(fe),Ne&&(U=new ce({state:u.target},o))}else{var Re=N.andContext(o.semanticContext,u.getPredicate());U=new ce({state:u.target,semanticContext:Re},o)}else U=new ce({state:u.target},o);return this.debug&&console.log("config from pred transition="+U),U}},{key:"ruleTransition",value:function(o,u){this.debug&&console.log("CALL rule "+this.getRuleName(u.target.ruleIndex)+", ctx="+o.context);var S=u.followState,D=_t.create(o.context,S.stateNumber);return new ce({state:u.target,context:D},o)}},{key:"getConflictingAlts",value:function(o){var u=Wn.getConflictingAltSubsets(o);return Wn.getAlts(u)}},{key:"getConflictingAltsOrUniqueAlt",value:function(o){var u=null;return o.uniqueAlt!==bn.INVALID_ALT_NUMBER?(u=new Kr).add(o.uniqueAlt):u=o.conflictingAlts,u}},{key:"getTokenName",value:function(o){if(o===n.EOF)return"EOF";if(this.parser!==null&&this.parser.literalNames!==null){if(!(o>=this.parser.literalNames.length&&o>=this.parser.symbolicNames.length))return(this.parser.literalNames[o]||this.parser.symbolicNames[o])+"<"+o+">";console.log(o+" ttype out of range: "+this.parser.literalNames),console.log(""+this.parser.getInputStream().getTokens())}return""+o}},{key:"getLookaheadName",value:function(o){return this.getTokenName(o.LA(1))}},{key:"dumpDeadEndConfigs",value:function(o){console.log("dead end configs: ");for(var u=o.getDeadEndConfigs(),S=0;S<u.length;S++){var D=u[S],C="no edges";if(D.state.transitions.length>0){var U=D.state.transitions[0];U instanceof Bh?C="Atom "+this.getTokenName(U.label):U instanceof ir&&(C=(U instanceof $t?"~":"")+"Set "+U.set)}console.error(D.toString(this.parser,!0)+":"+C)}}},{key:"noViableAlt",value:function(o,u,S,D){return new $c(this.parser,o,o.get(D),o.LT(1),S,u)}},{key:"getUniqueAlt",value:function(o){for(var u=bn.INVALID_ALT_NUMBER,S=0;S<o.items.length;S++){var D=o.items[S];if(u===bn.INVALID_ALT_NUMBER)u=D.alt;else if(D.alt!==u)return bn.INVALID_ALT_NUMBER}return u}},{key:"addDFAEdge",value:function(o,u,S,D){if(this.debug&&console.log("EDGE "+u+" -> "+D+" upon "+this.getTokenName(S)),D===null)return null;if(D=this.addDFAState(o,D),u===null||S<-1||S>this.atn.maxTokenType)return D;if(u.edges===null&&(u.edges=[]),u.edges[S+1]=D,this.debug){var C=this.parser===null?null:this.parser.literalNames,U=this.parser===null?null:this.parser.symbolicNames;console.log(`DFA=
|
8
|
+
`+o.toString(C,U))}return D}},{key:"addDFAState",value:function(o,u){if(u===Ni.ERROR)return u;var S=o.states.get(u);return S!==null?(this.trace_atn_sim&&console.log("addDFAState "+u+" exists"),S):(u.stateNumber=o.states.length,u.configs.readOnly||(u.configs.optimizeConfigs(this),u.configs.setReadonly(!0)),this.trace_atn_sim&&console.log("addDFAState new "+u),o.states.add(u),this.debug&&console.log("adding new DFA state: "+u),u)}},{key:"reportAttemptingFullContext",value:function(o,u,S,D,C){if(this.debug||this.retry_debug){var U=new _e(D,C+1);console.log("reportAttemptingFullContext decision="+o.decision+":"+S+", input="+this.parser.getTokenStream().getText(U))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportAttemptingFullContext(this.parser,o,D,C,u,S)}},{key:"reportContextSensitivity",value:function(o,u,S,D,C){if(this.debug||this.retry_debug){var U=new _e(D,C+1);console.log("reportContextSensitivity decision="+o.decision+":"+S+", input="+this.parser.getTokenStream().getText(U))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportContextSensitivity(this.parser,o,D,C,u,S)}},{key:"reportAmbiguity",value:function(o,u,S,D,C,U,fe){if(this.debug||this.retry_debug){var Ne=new _e(S,D+1);console.log("reportAmbiguity "+U+":"+fe+", input="+this.parser.getTokenStream().getText(Ne))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportAmbiguity(this.parser,o,S,D,C,U,fe)}}],m&&x1(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(Ni);function Xs(f){return Xs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Xs(f)}function S1(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(Xs(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Xs(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Xs(_)==="symbol"?_:String(_)),s)}var _}var am=function(){function f(){(function(s,_){if(!(s instanceof _))throw new TypeError("Cannot call a class as a function")})(this,f),this.cache=new io}var i,m;return i=f,(m=[{key:"add",value:function(s){if(s===st.EMPTY)return st.EMPTY;var _=this.cache.get(s)||null;return _!==null?_:(this.cache.set(s,s),s)}},{key:"get",value:function(s){return this.cache.get(s)||null}},{key:"length",get:function(){return this.cache.length}}])&&S1(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();const T1={ATN:bn,ATNDeserializer:t0,LexerATNSimulator:Wa,ParserATNSimulator:om,PredictionMode:Wn,PredictionContextCache:am};function Ys(f){return Ys=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ys(f)}function A1(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(Ys(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ys(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ys(_)==="symbol"?_:String(_)),s)}var _}var S0=function(){function f(s,_,l){(function(y,o){if(!(y instanceof o))throw new TypeError("Cannot call a class as a function")})(this,f),this.dfa=s,this.literalNames=_||[],this.symbolicNames=l||[]}var i,m;return i=f,(m=[{key:"toString",value:function(){if(this.dfa.s0===null)return null;for(var s="",_=this.dfa.sortedStates(),l=0;l<_.length;l++){var y=_[l];if(y.edges!==null)for(var o=y.edges.length,u=0;u<o;u++){var S=y.edges[u]||null;S!==null&&S.stateNumber!==2147483647&&(s=(s=(s=(s=(s=(s=s.concat(this.getStateString(y))).concat("-")).concat(this.getEdgeLabel(u))).concat("->")).concat(this.getStateString(S))).concat(`
|
9
|
+
`))}}return s.length===0?null:s}},{key:"getEdgeLabel",value:function(s){return s===0?"EOF":this.literalNames!==null||this.symbolicNames!==null?this.literalNames[s-1]||this.symbolicNames[s-1]:String.fromCharCode(s-1)}},{key:"getStateString",value:function(s){var _=(s.isAcceptState?":":"")+"s"+s.stateNumber+(s.requiresFullContext?"^":"");return s.isAcceptState?s.predicates!==null?_+"=>"+F(s.predicates):_+"=>"+s.prediction.toString():_}}])&&A1(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();function Xa(f){return Xa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Xa(f)}function C1(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(Xa(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Xa(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Xa(_)==="symbol"?_:String(_)),s)}var _}function T0(f,i){return T0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},T0(f,i)}function zc(f){return zc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},zc(f)}var sm=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&T0(o,u)})(y,f);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=zc(s);if(_){var S=zc(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(D,C){if(C&&(Xa(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(U){if(U===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U}(D)}(this,o)});function y(o){return function(u,S){if(!(u instanceof S))throw new TypeError("Cannot call a class as a function")}(this,y),l.call(this,o,null)}return i=y,(m=[{key:"getEdgeLabel",value:function(o){return"'"+String.fromCharCode(o)+"'"}}])&&C1(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(S0);function Zs(f){return Zs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Zs(f)}function D1(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(Zs(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Zs(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Zs(_)==="symbol"?_:String(_)),s)}var _}var um=function(){function f(s,_){if(function(y,o){if(!(y instanceof o))throw new TypeError("Cannot call a class as a function")}(this,f),_===void 0&&(_=0),this.atnStartState=s,this.decision=_,this._states=new g,this.s0=null,this.precedenceDfa=!1,s instanceof zo&&s.isPrecedenceDecision){this.precedenceDfa=!0;var l=new Wo(null,new Wr);l.edges=[],l.isAcceptState=!1,l.requiresFullContext=!1,this.s0=l}}var i,m;return i=f,(m=[{key:"getPrecedenceStartState",value:function(s){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";return s<0||s>=this.s0.edges.length?null:this.s0.edges[s]||null}},{key:"setPrecedenceStartState",value:function(s,_){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";s<0||(this.s0.edges[s]=_)}},{key:"setPrecedenceDfa",value:function(s){if(this.precedenceDfa!==s){if(this._states=new g,s){var _=new Wo(null,new Wr);_.edges=[],_.isAcceptState=!1,_.requiresFullContext=!1,this.s0=_}else this.s0=null;this.precedenceDfa=s}}},{key:"sortedStates",value:function(){return this._states.values().sort(function(s,_){return s.stateNumber-_.stateNumber})}},{key:"toString",value:function(s,_){return s=s||null,_=_||null,this.s0===null?"":new S0(this,s,_).toString()}},{key:"toLexerString",value:function(){return this.s0===null?"":new sm(this).toString()}},{key:"states",get:function(){return this._states}}])&&D1(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();const k1={DFA:um,DFASerializer:S0,LexerDFASerializer:sm,PredPrediction:im},O1={PredictionContext:st},w1={Interval:_e,IntervalSet:J};function Qs(f){return Qs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Qs(f)}function R1(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(Qs(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Qs(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Qs(_)==="symbol"?_:String(_)),s)}var _}var A0=function(){function f(){(function(s,_){if(!(s instanceof _))throw new TypeError("Cannot call a class as a function")})(this,f)}var i,m;return i=f,(m=[{key:"visitTerminal",value:function(s){}},{key:"visitErrorNode",value:function(s){}},{key:"enterEveryRule",value:function(s){}},{key:"exitEveryRule",value:function(s){}}])&&R1(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();function Js(f){return Js=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Js(f)}function F1(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(Js(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Js(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Js(_)==="symbol"?_:String(_)),s)}var _}var cm=function(){function f(){(function(s,_){if(!(s instanceof _))throw new TypeError("Cannot call a class as a function")})(this,f)}var i,m;return i=f,(m=[{key:"visit",value:function(s){return Array.isArray(s)?s.map(function(_){return _.accept(this)},this):s.accept(this)}},{key:"visitChildren",value:function(s){return s.children?this.visit(s.children):null}},{key:"visitTerminal",value:function(s){}},{key:"visitErrorNode",value:function(s){}}])&&F1(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();function eu(f){return eu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},eu(f)}function N1(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(eu(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(eu(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),eu(_)==="symbol"?_:String(_)),s)}var _}var Kc=function(){function f(){(function(s,_){if(!(s instanceof _))throw new TypeError("Cannot call a class as a function")})(this,f)}var i,m;return i=f,(m=[{key:"walk",value:function(s,_){if(_ instanceof ti||_.isErrorNode!==void 0&&_.isErrorNode())s.visitErrorNode(_);else if(_ instanceof hn)s.visitTerminal(_);else{this.enterRule(s,_);for(var l=0;l<_.getChildCount();l++){var y=_.getChild(l);this.walk(s,y)}this.exitRule(s,_)}}},{key:"enterRule",value:function(s,_){var l=_.ruleContext;s.enterEveryRule(l),l.enterRule(s)}},{key:"exitRule",value:function(s,_){var l=_.ruleContext;l.exitRule(s),s.exitEveryRule(l)}}])&&N1(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();Kc.DEFAULT=new Kc;const P1={Trees:Ju,RuleNode:Le,ErrorNode:ti,TerminalNode:hn,ParseTreeListener:A0,ParseTreeVisitor:cm,ParseTreeWalker:Kc};function C0(f){return C0=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},C0(f)}function D0(f,i){return D0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},D0(f,i)}function Wc(f){return Wc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Wc(f)}var tu=function(f){(function(y,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(o&&o.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),o&&D0(y,o)})(l,f);var i,m,s,_=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var y,o=Wc(m);if(s){var u=Wc(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return function(S,D){if(D&&(C0(D)==="object"||typeof D=="function"))return D;if(D!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(C){if(C===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C}(S)}(this,y)});function l(y){var o;return function(u,S){if(!(u instanceof S))throw new TypeError("Cannot call a class as a function")}(this,l),(o=_.call(this,{message:"",recognizer:y,input:y.getInputStream(),ctx:y._ctx})).offendingToken=y.getCurrentToken(),o}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(Ko);function k0(f){return k0=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},k0(f)}function O0(f,i){return O0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},O0(f,i)}function qc(f){return qc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},qc(f)}var w0=function(f){(function(y,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(o&&o.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),o&&O0(y,o)})(l,f);var i,m,s,_=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var y,o=qc(m);if(s){var u=qc(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return function(S,D){if(D&&(k0(D)==="object"||typeof D=="function"))return D;if(D!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(C){if(C===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C}(S)}(this,y)});function l(y,o,u){var S;(function(C,U){if(!(C instanceof U))throw new TypeError("Cannot call a class as a function")})(this,l),S=_.call(this,{message:I1(o,u||null),recognizer:y,input:y.getInputStream(),ctx:y._ctx});var D=y._interp.atn.states[y.state].transitions[0];return D instanceof U_?(S.ruleIndex=D.ruleIndex,S.predicateIndex=D.predIndex):(S.ruleIndex=0,S.predicateIndex=0),S.predicate=o,S.offendingToken=y.getCurrentToken(),S}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(Ko);function I1(f,i){return i!==null?i:"failed predicate: {"+f+"}?"}function Ya(f){return Ya=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ya(f)}function B1(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(Ya(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ya(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ya(_)==="symbol"?_:String(_)),s)}var _}function R0(f,i){return R0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},R0(f,i)}function Xc(f){return Xc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Xc(f)}var lm=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&R0(o,u)})(y,f);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Xc(s);if(_){var S=Xc(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(D,C){if(C&&(Ya(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(U){if(U===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U}(D)}(this,o)});function y(o){var u;return function(S,D){if(!(S instanceof D))throw new TypeError("Cannot call a class as a function")}(this,y),o=o||!0,(u=l.call(this)).exactOnly=o,u}return i=y,m=[{key:"reportAmbiguity",value:function(o,u,S,D,C,U,fe){if(!this.exactOnly||C){var Ne="reportAmbiguity d="+this.getDecisionDescription(o,u)+": ambigAlts="+this.getConflictingAlts(U,fe)+", input='"+o.getTokenStream().getText(new _e(S,D))+"'";o.notifyErrorListeners(Ne)}}},{key:"reportAttemptingFullContext",value:function(o,u,S,D,C,U){var fe="reportAttemptingFullContext d="+this.getDecisionDescription(o,u)+", input='"+o.getTokenStream().getText(new _e(S,D))+"'";o.notifyErrorListeners(fe)}},{key:"reportContextSensitivity",value:function(o,u,S,D,C,U){var fe="reportContextSensitivity d="+this.getDecisionDescription(o,u)+", input='"+o.getTokenStream().getText(new _e(S,D))+"'";o.notifyErrorListeners(fe)}},{key:"getDecisionDescription",value:function(o,u){var S=u.decision,D=u.atnStartState.ruleIndex,C=o.ruleNames;if(D<0||D>=C.length)return""+S;var U=C[D]||null;return U===null||U.length===0?""+S:"".concat(S," (").concat(U,")")}},{key:"getConflictingAlts",value:function(o,u){if(o!==null)return o;for(var S=new Kr,D=0;D<u.items.length;D++)S.add(u.items[D].alt);return"{".concat(S.values().join(", "),"}")}}],m&&B1(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(Ls);function F0(f){return F0=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},F0(f)}function fm(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function N0(f){var i=typeof Map=="function"?new Map:void 0;return N0=function(m){if(m===null||(s=m,Function.toString.call(s).indexOf("[native code]")===-1))return m;var s;if(typeof m!="function")throw new TypeError("Super expression must either be null or a function");if(i!==void 0){if(i.has(m))return i.get(m);i.set(m,_)}function _(){return P0(m,arguments,ru(this).constructor)}return _.prototype=Object.create(m.prototype,{constructor:{value:_,enumerable:!1,writable:!0,configurable:!0}}),nu(_,m)},N0(f)}function P0(f,i,m){return P0=hm()?Reflect.construct.bind():function(s,_,l){var y=[null];y.push.apply(y,_);var o=new(Function.bind.apply(s,y));return l&&nu(o,l.prototype),o},P0.apply(null,arguments)}function hm(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function nu(f,i){return nu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},nu(f,i)}function ru(f){return ru=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},ru(f)}var L1=function(f){(function(y,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(o&&o.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),o&&nu(y,o)})(l,f);var i,m,s,_=(m=l,s=hm(),function(){var y,o=ru(m);if(s){var u=ru(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return function(S,D){if(D&&(F0(D)==="object"||typeof D=="function"))return D;if(D!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return fm(S)}(this,y)});function l(){var y;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,l),y=_.call(this),Error.captureStackTrace(fm(y),l),y}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(N0(Error));function iu(f){return iu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},iu(f)}function M1(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(iu(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(iu(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),iu(_)==="symbol"?_:String(_)),s)}var _}function Za(f){return Za=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Za(f)}function U1(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(Za(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Za(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Za(_)==="symbol"?_:String(_)),s)}var _}function I0(f,i){return I0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},I0(f,i)}function Yc(f){return Yc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Yc(f)}var B0=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&I0(o,u)})(y,f);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Yc(s);if(_){var S=Yc(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(D,C){if(C&&(Za(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(U){if(U===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U}(D)}(this,o)});function y(){var o;return function(u,S){if(!(u instanceof S))throw new TypeError("Cannot call a class as a function")}(this,y),(o=l.call(this)).errorRecoveryMode=!1,o.lastErrorIndex=-1,o.lastErrorStates=null,o.nextTokensContext=null,o.nextTokenState=0,o}return i=y,m=[{key:"reset",value:function(o){this.endErrorCondition(o)}},{key:"beginErrorCondition",value:function(o){this.errorRecoveryMode=!0}},{key:"inErrorRecoveryMode",value:function(o){return this.errorRecoveryMode}},{key:"endErrorCondition",value:function(o){this.errorRecoveryMode=!1,this.lastErrorStates=null,this.lastErrorIndex=-1}},{key:"reportMatch",value:function(o){this.endErrorCondition(o)}},{key:"reportError",value:function(o,u){this.inErrorRecoveryMode(o)||(this.beginErrorCondition(o),u instanceof $c?this.reportNoViableAlternative(o,u):u instanceof tu?this.reportInputMismatch(o,u):u instanceof w0?this.reportFailedPredicate(o,u):(console.log("unknown recognition error type: "+u.constructor.name),console.log(u.stack),o.notifyErrorListeners(u.getOffendingToken(),u.getMessage(),u)))}},{key:"recover",value:function(o,u){this.lastErrorIndex===o.getInputStream().index&&this.lastErrorStates!==null&&this.lastErrorStates.indexOf(o.state)>=0&&o.consume(),this.lastErrorIndex=o._input.index,this.lastErrorStates===null&&(this.lastErrorStates=[]),this.lastErrorStates.push(o.state);var S=this.getErrorRecoverySet(o);this.consumeUntil(o,S)}},{key:"sync",value:function(o){if(!this.inErrorRecoveryMode(o)){var u=o._interp.atn.states[o.state],S=o.getTokenStream().LA(1),D=o.atn.nextTokens(u);if(D.contains(S))return this.nextTokensContext=null,void(this.nextTokenState=me.INVALID_STATE_NUMBER);if(D.contains(n.EPSILON))this.nextTokensContext===null&&(this.nextTokensContext=o._ctx,this.nextTokensState=o._stateNumber);else switch(u.stateType){case me.BLOCK_START:case me.STAR_BLOCK_START:case me.PLUS_BLOCK_START:case me.STAR_LOOP_ENTRY:if(this.singleTokenDeletion(o)!==null)return;throw new tu(o);case me.PLUS_LOOP_BACK:case me.STAR_LOOP_BACK:this.reportUnwantedToken(o);var C=new J;C.addSet(o.getExpectedTokens());var U=C.addSet(this.getErrorRecoverySet(o));this.consumeUntil(o,U)}}}},{key:"reportNoViableAlternative",value:function(o,u){var S,D=o.getTokenStream();S=D!==null?u.startToken.type===n.EOF?"<EOF>":D.getText(new _e(u.startToken.tokenIndex,u.offendingToken.tokenIndex)):"<unknown input>";var C="no viable alternative at input "+this.escapeWSAndQuote(S);o.notifyErrorListeners(C,u.offendingToken,u)}},{key:"reportInputMismatch",value:function(o,u){var S="mismatched input "+this.getTokenErrorDisplay(u.offendingToken)+" expecting "+u.getExpectedTokens().toString(o.literalNames,o.symbolicNames);o.notifyErrorListeners(S,u.offendingToken,u)}},{key:"reportFailedPredicate",value:function(o,u){var S="rule "+o.ruleNames[o._ctx.ruleIndex]+" "+u.message;o.notifyErrorListeners(S,u.offendingToken,u)}},{key:"reportUnwantedToken",value:function(o){if(!this.inErrorRecoveryMode(o)){this.beginErrorCondition(o);var u=o.getCurrentToken(),S="extraneous input "+this.getTokenErrorDisplay(u)+" expecting "+this.getExpectedTokens(o).toString(o.literalNames,o.symbolicNames);o.notifyErrorListeners(S,u,null)}}},{key:"reportMissingToken",value:function(o){if(!this.inErrorRecoveryMode(o)){this.beginErrorCondition(o);var u=o.getCurrentToken(),S="missing "+this.getExpectedTokens(o).toString(o.literalNames,o.symbolicNames)+" at "+this.getTokenErrorDisplay(u);o.notifyErrorListeners(S,u,null)}}},{key:"recoverInline",value:function(o){var u=this.singleTokenDeletion(o);if(u!==null)return o.consume(),u;if(this.singleTokenInsertion(o))return this.getMissingSymbol(o);throw new tu(o)}},{key:"singleTokenInsertion",value:function(o){var u=o.getTokenStream().LA(1),S=o._interp.atn,D=S.states[o.state].transitions[0].target;return!!S.nextTokens(D,o._ctx).contains(u)&&(this.reportMissingToken(o),!0)}},{key:"singleTokenDeletion",value:function(o){var u=o.getTokenStream().LA(2);if(this.getExpectedTokens(o).contains(u)){this.reportUnwantedToken(o),o.consume();var S=o.getCurrentToken();return this.reportMatch(o),S}return null}},{key:"getMissingSymbol",value:function(o){var u,S=o.getCurrentToken(),D=this.getExpectedTokens(o).first();u=D===n.EOF?"<missing EOF>":"<missing "+o.literalNames[D]+">";var C=S,U=o.getTokenStream().LT(-1);return C.type===n.EOF&&U!==null&&(C=U),o.getTokenFactory().create(C.source,D,u,n.DEFAULT_CHANNEL,-1,-1,C.line,C.column)}},{key:"getExpectedTokens",value:function(o){return o.getExpectedTokens()}},{key:"getTokenErrorDisplay",value:function(o){if(o===null)return"<no token>";var u=o.text;return u===null&&(u=o.type===n.EOF?"<EOF>":"<"+o.type+">"),this.escapeWSAndQuote(u)}},{key:"escapeWSAndQuote",value:function(o){return"'"+(o=(o=(o=o.replace(/\n/g,"\\n")).replace(/\r/g,"\\r")).replace(/\t/g,"\\t"))+"'"}},{key:"getErrorRecoverySet",value:function(o){for(var u=o._interp.atn,S=o._ctx,D=new J;S!==null&&S.invokingState>=0;){var C=u.states[S.invokingState].transitions[0],U=u.nextTokens(C.followState);D.addSet(U),S=S.parentCtx}return D.removeOne(n.EPSILON),D}},{key:"consumeUntil",value:function(o,u){for(var S=o.getTokenStream().LA(1);S!==n.EOF&&!u.contains(S);)o.consume(),S=o.getTokenStream().LA(1)}}],m&&U1(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(function(){function f(){(function(s,_){if(!(s instanceof _))throw new TypeError("Cannot call a class as a function")})(this,f)}var i,m;return i=f,(m=[{key:"reset",value:function(s){}},{key:"recoverInline",value:function(s){}},{key:"recover",value:function(s,_){}},{key:"sync",value:function(s){}},{key:"inErrorRecoveryMode",value:function(s){}},{key:"reportError",value:function(s){}}])&&M1(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}());function Qa(f){return Qa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Qa(f)}function V1(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(Qa(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Qa(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Qa(_)==="symbol"?_:String(_)),s)}var _}function L0(f,i){return L0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},L0(f,i)}function Zc(f){return Zc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Zc(f)}var pm=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&L0(o,u)})(y,f);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Zc(s);if(_){var S=Zc(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(D,C){if(C&&(Qa(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(U){if(U===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U}(D)}(this,o)});function y(){return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,y),l.call(this)}return i=y,m=[{key:"recover",value:function(o,u){for(var S=o._ctx;S!==null;)S.exception=u,S=S.parentCtx;throw new L1(u)}},{key:"recoverInline",value:function(o){this.recover(o,new tu(o))}},{key:"sync",value:function(o){}}],m&&V1(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(B0);const j1={RecognitionException:Ko,NoViableAltException:$c,LexerNoViableAltException:f0,InputMismatchException:tu,FailedPredicateException:w0,DiagnosticErrorListener:lm,BailErrorStrategy:pm,DefaultErrorStrategy:B0,ErrorListener:Ls};function ou(f){return ou=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},ou(f)}function H1(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(ou(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(ou(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),ou(_)==="symbol"?_:String(_)),s)}var _}var au=function(){function f(s,_){if(function(u,S){if(!(u instanceof S))throw new TypeError("Cannot call a class as a function")}(this,f),this.name="<empty>",this.strdata=s,this.decodeToUnicodeCodePoints=_||!1,this._index=0,this.data=[],this.decodeToUnicodeCodePoints)for(var l=0;l<this.strdata.length;){var y=this.strdata.codePointAt(l);this.data.push(y),l+=y<=65535?1:2}else{this.data=new Array(this.strdata.length);for(var o=0;o<this.strdata.length;o++)this.data[o]=this.strdata.charCodeAt(o)}this._size=this.data.length}var i,m;return i=f,(m=[{key:"reset",value:function(){this._index=0}},{key:"consume",value:function(){if(this._index>=this._size)throw"cannot consume EOF";this._index+=1}},{key:"LA",value:function(s){if(s===0)return 0;s<0&&(s+=1);var _=this._index+s-1;return _<0||_>=this._size?n.EOF:this.data[_]}},{key:"LT",value:function(s){return this.LA(s)}},{key:"mark",value:function(){return-1}},{key:"release",value:function(s){}},{key:"seek",value:function(s){s<=this._index?this._index=s:this._index=Math.min(s,this._size)}},{key:"getText",value:function(s,_){if(_>=this._size&&(_=this._size-1),s>=this._size)return"";if(this.decodeToUnicodeCodePoints){for(var l="",y=s;y<=_;y++)l+=String.fromCodePoint(this.data[y]);return l}return this.strdata.slice(s,_+1)}},{key:"toString",value:function(){return this.strdata}},{key:"index",get:function(){return this._index}},{key:"size",get:function(){return this._size}}])&&H1(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();function M0(f){return M0=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},M0(f)}function U0(f,i){return U0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},U0(f,i)}function Qc(f){return Qc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Qc(f)}var su=function(f){(function(y,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(o&&o.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),o&&U0(y,o)})(l,f);var i,m,s,_=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var y,o=Qc(m);if(s){var u=Qc(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return function(S,D){if(D&&(M0(D)==="object"||typeof D=="function"))return D;if(D!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(C){if(C===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C}(S)}(this,y)});function l(y,o){return function(u,S){if(!(u instanceof S))throw new TypeError("Cannot call a class as a function")}(this,l),_.call(this,y,o)}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(au),dm=Nr(92);function Ja(f){return Ja=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ja(f)}function $1(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(Ja(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ja(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ja(_)==="symbol"?_:String(_)),s)}var _}function V0(f,i){return V0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},V0(f,i)}function Jc(f){return Jc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Jc(f)}var _m=typeof process<"u"&&process.versions!=null&&process.versions.node!=null,mm=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&V0(o,u)})(y,f);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Jc(s);if(_){var S=Jc(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(D,C){if(C&&(Ja(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(U){if(U===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U}(D)}(this,o)});function y(o,u,S){var D;if(function(U,fe){if(!(U instanceof fe))throw new TypeError("Cannot call a class as a function")}(this,y),!_m)throw new Error("FileStream is only available when running in Node!");var C=dm.readFileSync(o,u||"utf-8");return(D=l.call(this,C,S)).fileName=o,D}return i=y,m=[{key:"fromPath",value:function(o,u,S){if(!_m)throw new Error("FileStream is only available when running in Node!");dm.readFile(o,u,function(D,C){var U=null;C!==null&&(U=new au(C,!0)),S(D,U)})}}],m&&$1(i,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(su);const ym={fromString:function(f){return new au(f,!0)},fromBlob:function(f,i,m,s){var _=new window.FileReader;_.onload=function(l){var y=new au(l.target.result,!0);m(y)},_.onerror=s,_.readAsText(f,i)},fromBuffer:function(f,i){return new au(f.toString(i),!0)},fromPath:function(f,i,m){mm.fromPath(f,i,m)},fromPathSync:function(f,i){return new mm(f,i)}},G1={arrayToString:F,stringToCharArray:function(f){for(var i=new Uint16Array(f.length),m=0;m<f.length;m++)i[m]=f.charCodeAt(m);return i}};function uu(f){return uu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},uu(f)}function gm(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(uu(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(uu(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),uu(_)==="symbol"?_:String(_)),s)}var _}function z1(f,i,m){return i&&gm(f.prototype,i),m&&gm(f,m),Object.defineProperty(f,"prototype",{writable:!1}),f}function es(f){return es=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},es(f)}function K1(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(es(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(es(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),es(_)==="symbol"?_:String(_)),s)}var _}function j0(f,i){return j0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},j0(f,i)}function el(f){return el=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},el(f)}var vm=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&j0(o,u)})(y,f);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=el(s);if(_){var S=el(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(D,C){if(C&&(es(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(U){if(U===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U}(D)}(this,o)});function y(o){var u;return function(S,D){if(!(S instanceof D))throw new TypeError("Cannot call a class as a function")}(this,y),(u=l.call(this)).tokenSource=o,u.tokens=[],u.index=-1,u.fetchedEOF=!1,u}return i=y,(m=[{key:"mark",value:function(){return 0}},{key:"release",value:function(o){}},{key:"reset",value:function(){this.seek(0)}},{key:"seek",value:function(o){this.lazyInit(),this.index=this.adjustSeekIndex(o)}},{key:"size",get:function(){return this.tokens.length}},{key:"get",value:function(o){return this.lazyInit(),this.tokens[o]}},{key:"consume",value:function(){if(!(this.index>=0&&(this.fetchedEOF?this.index<this.tokens.length-1:this.index<this.tokens.length))&&this.LA(1)===n.EOF)throw"cannot consume EOF";this.sync(this.index+1)&&(this.index=this.adjustSeekIndex(this.index+1))}},{key:"sync",value:function(o){var u=o-this.tokens.length+1;return!(u>0)||this.fetch(u)>=u}},{key:"fetch",value:function(o){if(this.fetchedEOF)return 0;for(var u=0;u<o;u++){var S=this.tokenSource.nextToken();if(S.tokenIndex=this.tokens.length,this.tokens.push(S),S.type===n.EOF)return this.fetchedEOF=!0,u+1}return o}},{key:"getTokens",value:function(o,u,S){if(S===void 0&&(S=null),o<0||u<0)return null;this.lazyInit();var D=[];u>=this.tokens.length&&(u=this.tokens.length-1);for(var C=o;C<u;C++){var U=this.tokens[C];if(U.type===n.EOF)break;(S===null||S.contains(U.type))&&D.push(U)}return D}},{key:"LA",value:function(o){return this.LT(o).type}},{key:"LB",value:function(o){return this.index-o<0?null:this.tokens[this.index-o]}},{key:"LT",value:function(o){if(this.lazyInit(),o===0)return null;if(o<0)return this.LB(-o);var u=this.index+o-1;return this.sync(u),u>=this.tokens.length?this.tokens[this.tokens.length-1]:this.tokens[u]}},{key:"adjustSeekIndex",value:function(o){return o}},{key:"lazyInit",value:function(){this.index===-1&&this.setup()}},{key:"setup",value:function(){this.sync(0),this.index=this.adjustSeekIndex(0)}},{key:"setTokenSource",value:function(o){this.tokenSource=o,this.tokens=[],this.index=-1,this.fetchedEOF=!1}},{key:"nextTokenOnChannel",value:function(o,u){if(this.sync(o),o>=this.tokens.length)return-1;for(var S=this.tokens[o];S.channel!==this.channel;){if(S.type===n.EOF)return-1;o+=1,this.sync(o),S=this.tokens[o]}return o}},{key:"previousTokenOnChannel",value:function(o,u){for(;o>=0&&this.tokens[o].channel!==u;)o-=1;return o}},{key:"getHiddenTokensToRight",value:function(o,u){if(u===void 0&&(u=-1),this.lazyInit(),o<0||o>=this.tokens.length)throw o+" not in 0.."+this.tokens.length-1;var S=this.nextTokenOnChannel(o+1,hr.DEFAULT_TOKEN_CHANNEL),D=o+1,C=S===-1?this.tokens.length-1:S;return this.filterForChannel(D,C,u)}},{key:"getHiddenTokensToLeft",value:function(o,u){if(u===void 0&&(u=-1),this.lazyInit(),o<0||o>=this.tokens.length)throw o+" not in 0.."+this.tokens.length-1;var S=this.previousTokenOnChannel(o-1,hr.DEFAULT_TOKEN_CHANNEL);if(S===o-1)return null;var D=S+1,C=o-1;return this.filterForChannel(D,C,u)}},{key:"filterForChannel",value:function(o,u,S){for(var D=[],C=o;C<u+1;C++){var U=this.tokens[C];S===-1?U.channel!==hr.DEFAULT_TOKEN_CHANNEL&&D.push(U):U.channel===S&&D.push(U)}return D.length===0?null:D}},{key:"getSourceName",value:function(){return this.tokenSource.getSourceName()}},{key:"getText",value:function(o){this.lazyInit(),this.fill(),o||(o=new _e(0,this.tokens.length-1));var u=o.start;u instanceof n&&(u=u.tokenIndex);var S=o.stop;if(S instanceof n&&(S=S.tokenIndex),u===null||S===null||u<0||S<0)return"";S>=this.tokens.length&&(S=this.tokens.length-1);for(var D="",C=u;C<S+1;C++){var U=this.tokens[C];if(U.type===n.EOF)break;D+=U.text}return D}},{key:"fill",value:function(){for(this.lazyInit();this.fetch(1e3)===1e3;);}}])&&K1(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(z1(function f(){(function(i,m){if(!(i instanceof m))throw new TypeError("Cannot call a class as a function")})(this,f)}));function ts(f){return ts=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},ts(f)}function W1(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(ts(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(ts(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),ts(_)==="symbol"?_:String(_)),s)}var _}function H0(f,i){return H0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},H0(f,i)}function tl(f){return tl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},tl(f)}Object.defineProperty(vm,"size",{get:function(){return this.tokens.length}});var bm=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&H0(o,u)})(y,f);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=tl(s);if(_){var S=tl(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(D,C){if(C&&(ts(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(U){if(U===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U}(D)}(this,o)});function y(o,u){var S;return function(D,C){if(!(D instanceof C))throw new TypeError("Cannot call a class as a function")}(this,y),(S=l.call(this,o)).channel=u===void 0?n.DEFAULT_CHANNEL:u,S}return i=y,(m=[{key:"adjustSeekIndex",value:function(o){return this.nextTokenOnChannel(o,this.channel)}},{key:"LB",value:function(o){if(o===0||this.index-o<0)return null;for(var u=this.index,S=1;S<=o;)u=this.previousTokenOnChannel(u-1,this.channel),S+=1;return u<0?null:this.tokens[u]}},{key:"LT",value:function(o){if(this.lazyInit(),o===0)return null;if(o<0)return this.LB(-o);for(var u=this.index,S=1;S<o;)this.sync(u+1)&&(u=this.nextTokenOnChannel(u+1,this.channel)),S+=1;return this.tokens[u]}},{key:"getNumberOfOnChannelTokens",value:function(){var o=0;this.fill();for(var u=0;u<this.tokens.length;u++){var S=this.tokens[u];if(S.channel===this.channel&&(o+=1),S.type===n.EOF)break}return o}}])&&W1(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(vm);function ns(f){return ns=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},ns(f)}function q1(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(ns(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(ns(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),ns(_)==="symbol"?_:String(_)),s)}var _}function $0(f,i){return $0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},$0(f,i)}function nl(f){return nl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},nl(f)}var X1=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&$0(o,u)})(y,f);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=nl(s);if(_){var S=nl(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(D,C){if(C&&(ns(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(U){if(U===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U}(D)}(this,o)});function y(o){var u;return function(S,D){if(!(S instanceof D))throw new TypeError("Cannot call a class as a function")}(this,y),(u=l.call(this)).parser=o,u}return i=y,(m=[{key:"enterEveryRule",value:function(o){console.log("enter "+this.parser.ruleNames[o.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}},{key:"visitTerminal",value:function(o){console.log("consume "+o.symbol+" rule "+this.parser.ruleNames[this.parser._ctx.ruleIndex])}},{key:"exitEveryRule",value:function(o){console.log("exit "+this.parser.ruleNames[o.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}}])&&q1(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(A0);function rs(f){return rs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},rs(f)}function Y1(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(rs(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(rs(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),rs(_)==="symbol"?_:String(_)),s)}var _}function G0(f,i){return G0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},G0(f,i)}function rl(f){return rl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},rl(f)}var z0=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&G0(o,u)})(y,f);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=rl(s);if(_){var S=rl(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(D,C){if(C&&(rs(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(U){if(U===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U}(D)}(this,o)});function y(o){var u;return function(S,D){if(!(S instanceof D))throw new TypeError("Cannot call a class as a function")}(this,y),(u=l.call(this))._input=null,u._errHandler=new B0,u._precedenceStack=[],u._precedenceStack.push(0),u._ctx=null,u.buildParseTrees=!0,u._tracer=null,u._parseListeners=null,u._syntaxErrors=0,u.setInputStream(o),u}return i=y,m=[{key:"reset",value:function(){this._input!==null&&this._input.seek(0),this._errHandler.reset(this),this._ctx=null,this._syntaxErrors=0,this.setTrace(!1),this._precedenceStack=[],this._precedenceStack.push(0),this._interp!==null&&this._interp.reset()}},{key:"match",value:function(o){var u=this.getCurrentToken();return u.type===o?(this._errHandler.reportMatch(this),this.consume()):(u=this._errHandler.recoverInline(this),this.buildParseTrees&&u.tokenIndex===-1&&this._ctx.addErrorNode(u)),u}},{key:"matchWildcard",value:function(){var o=this.getCurrentToken();return o.type>0?(this._errHandler.reportMatch(this),this.consume()):(o=this._errHandler.recoverInline(this),this.buildParseTrees&&o.tokenIndex===-1&&this._ctx.addErrorNode(o)),o}},{key:"getParseListeners",value:function(){return this._parseListeners||[]}},{key:"addParseListener",value:function(o){if(o===null)throw"listener";this._parseListeners===null&&(this._parseListeners=[]),this._parseListeners.push(o)}},{key:"removeParseListener",value:function(o){if(this._parseListeners!==null){var u=this._parseListeners.indexOf(o);u>=0&&this._parseListeners.splice(u,1),this._parseListeners.length===0&&(this._parseListeners=null)}}},{key:"removeParseListeners",value:function(){this._parseListeners=null}},{key:"triggerEnterRuleEvent",value:function(){if(this._parseListeners!==null){var o=this._ctx;this._parseListeners.forEach(function(u){u.enterEveryRule(o),o.enterRule(u)})}}},{key:"triggerExitRuleEvent",value:function(){if(this._parseListeners!==null){var o=this._ctx;this._parseListeners.slice(0).reverse().forEach(function(u){o.exitRule(u),u.exitEveryRule(o)})}}},{key:"getTokenFactory",value:function(){return this._input.tokenSource._factory}},{key:"setTokenFactory",value:function(o){this._input.tokenSource._factory=o}},{key:"getATNWithBypassAlts",value:function(){var o=this.getSerializedATN();if(o===null)throw"The current parser does not support an ATN with bypass alternatives.";var u=this.bypassAltsAtnCache[o];if(u===null){var S=new Ns;S.generateRuleBypassTransitions=!0,u=new t0(S).deserialize(o),this.bypassAltsAtnCache[o]=u}return u}},{key:"getInputStream",value:function(){return this.getTokenStream()}},{key:"setInputStream",value:function(o){this.setTokenStream(o)}},{key:"getTokenStream",value:function(){return this._input}},{key:"setTokenStream",value:function(o){this._input=null,this.reset(),this._input=o}},{key:"syntaxErrorsCount",get:function(){return this._syntaxErrors}},{key:"getCurrentToken",value:function(){return this._input.LT(1)}},{key:"notifyErrorListeners",value:function(o,u,S){S=S||null,(u=u||null)===null&&(u=this.getCurrentToken()),this._syntaxErrors+=1;var D=u.line,C=u.column;this.getErrorListenerDispatch().syntaxError(this,u,D,C,o,S)}},{key:"consume",value:function(){var o=this.getCurrentToken();o.type!==n.EOF&&this.getInputStream().consume();var u,S=this._parseListeners!==null&&this._parseListeners.length>0;return(this.buildParseTrees||S)&&((u=this._errHandler.inErrorRecoveryMode(this)?this._ctx.addErrorNode(o):this._ctx.addTokenNode(o)).invokingState=this.state,S&&this._parseListeners.forEach(function(D){u instanceof ti||u.isErrorNode!==void 0&&u.isErrorNode()?D.visitErrorNode(u):u instanceof hn&&D.visitTerminal(u)})),o}},{key:"addContextToParseTree",value:function(){this._ctx.parentCtx!==null&&this._ctx.parentCtx.addChild(this._ctx)}},{key:"enterRule",value:function(o,u,S){this.state=u,this._ctx=o,this._ctx.start=this._input.LT(1),this.buildParseTrees&&this.addContextToParseTree(),this.triggerEnterRuleEvent()}},{key:"exitRule",value:function(){this._ctx.stop=this._input.LT(-1),this.triggerExitRuleEvent(),this.state=this._ctx.invokingState,this._ctx=this._ctx.parentCtx}},{key:"enterOuterAlt",value:function(o,u){o.setAltNumber(u),this.buildParseTrees&&this._ctx!==o&&this._ctx.parentCtx!==null&&(this._ctx.parentCtx.removeLastChild(),this._ctx.parentCtx.addChild(o)),this._ctx=o}},{key:"getPrecedence",value:function(){return this._precedenceStack.length===0?-1:this._precedenceStack[this._precedenceStack.length-1]}},{key:"enterRecursionRule",value:function(o,u,S,D){this.state=u,this._precedenceStack.push(D),this._ctx=o,this._ctx.start=this._input.LT(1),this.triggerEnterRuleEvent()}},{key:"pushNewRecursionContext",value:function(o,u,S){var D=this._ctx;D.parentCtx=o,D.invokingState=u,D.stop=this._input.LT(-1),this._ctx=o,this._ctx.start=D.start,this.buildParseTrees&&this._ctx.addChild(D),this.triggerEnterRuleEvent()}},{key:"unrollRecursionContexts",value:function(o){this._precedenceStack.pop(),this._ctx.stop=this._input.LT(-1);var u=this._ctx,S=this.getParseListeners();if(S!==null&&S.length>0)for(;this._ctx!==o;)this.triggerExitRuleEvent(),this._ctx=this._ctx.parentCtx;else this._ctx=o;u.parentCtx=o,this.buildParseTrees&&o!==null&&o.addChild(u)}},{key:"getInvokingContext",value:function(o){for(var u=this._ctx;u!==null;){if(u.ruleIndex===o)return u;u=u.parentCtx}return null}},{key:"precpred",value:function(o,u){return u>=this._precedenceStack[this._precedenceStack.length-1]}},{key:"inContext",value:function(o){return!1}},{key:"isExpectedToken",value:function(o){var u=this._interp.atn,S=this._ctx,D=u.states[this.state],C=u.nextTokens(D);if(C.contains(o))return!0;if(!C.contains(n.EPSILON))return!1;for(;S!==null&&S.invokingState>=0&&C.contains(n.EPSILON);){var U=u.states[S.invokingState].transitions[0];if((C=u.nextTokens(U.followState)).contains(o))return!0;S=S.parentCtx}return!(!C.contains(n.EPSILON)||o!==n.EOF)}},{key:"getExpectedTokens",value:function(){return this._interp.atn.getExpectedTokens(this.state,this._ctx)}},{key:"getExpectedTokensWithinCurrentRule",value:function(){var o=this._interp.atn,u=o.states[this.state];return o.nextTokens(u)}},{key:"getRuleIndex",value:function(o){var u=this.getRuleIndexMap()[o];return u!==null?u:-1}},{key:"getRuleInvocationStack",value:function(o){(o=o||null)===null&&(o=this._ctx);for(var u=[];o!==null;){var S=o.ruleIndex;S<0?u.push("n/a"):u.push(this.ruleNames[S]),o=o.parentCtx}return u}},{key:"getDFAStrings",value:function(){return this._interp.decisionToDFA.toString()}},{key:"dumpDFA",value:function(){for(var o=!1,u=0;u<this._interp.decisionToDFA.length;u++){var S=this._interp.decisionToDFA[u];S.states.length>0&&(o&&console.log(),this.printer.println("Decision "+S.decision+":"),this.printer.print(S.toString(this.literalNames,this.symbolicNames)),o=!0)}}},{key:"getSourceName",value:function(){return this._input.sourceName}},{key:"setTrace",value:function(o){o?(this._tracer!==null&&this.removeParseListener(this._tracer),this._tracer=new X1(this),this.addParseListener(this._tracer)):(this.removeParseListener(this._tracer),this._tracer=null)}}],m&&Y1(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(Pc);function is(f){return is=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},is(f)}function Z1(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(is(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(is(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),is(_)==="symbol"?_:String(_)),s)}var _}function K0(f,i){return K0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},K0(f,i)}function il(f){return il=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},il(f)}z0.bypassAltsAtnCache={};var Em=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&K0(o,u)})(y,f);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=il(s);if(_){var S=il(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(D,C){if(C&&(is(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(U){if(U===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U}(D)}(this,o)});function y(o){var u;return function(S,D){if(!(S instanceof D))throw new TypeError("Cannot call a class as a function")}(this,y),(u=l.call(this)).parentCtx=null,u.symbol=o,u}return i=y,(m=[{key:"getChild",value:function(o){return null}},{key:"getSymbol",value:function(){return this.symbol}},{key:"getParent",value:function(){return this.parentCtx}},{key:"getPayload",value:function(){return this.symbol}},{key:"getSourceInterval",value:function(){if(this.symbol===null)return _e.INVALID_INTERVAL;var o=this.symbol.tokenIndex;return new _e(o,o)}},{key:"getChildCount",value:function(){return 0}},{key:"accept",value:function(o){return o.visitTerminal(this)}},{key:"getText",value:function(){return this.symbol.text}},{key:"toString",value:function(){return this.symbol.type===n.EOF?"<EOF>":this.symbol.text}}])&&Z1(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(hn);function os(f){return os=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},os(f)}function Q1(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(os(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(os(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),os(_)==="symbol"?_:String(_)),s)}var _}function W0(f,i){return W0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},W0(f,i)}function ol(f){return ol=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},ol(f)}var xm=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&W0(o,u)})(y,f);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=ol(s);if(_){var S=ol(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(D,C){if(C&&(os(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(U){if(U===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U}(D)}(this,o)});function y(o){return function(u,S){if(!(u instanceof S))throw new TypeError("Cannot call a class as a function")}(this,y),l.call(this,o)}return i=y,(m=[{key:"isErrorNode",value:function(){return!0}},{key:"accept",value:function(o){return o.visitErrorNode(this)}}])&&Q1(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(Em);function as(f){return as=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},as(f)}function J1(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(_=function(l,y){if(as(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(as(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),as(_)==="symbol"?_:String(_)),s)}var _}function q0(f,i){return q0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},q0(f,i)}function al(f){return al=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},al(f)}var X0=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&q0(o,u)})(y,f);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=al(s);if(_){var S=al(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(D,C){if(C&&(as(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(U){if(U===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U}(D)}(this,o)});function y(o,u){var S;return function(D,C){if(!(D instanceof C))throw new TypeError("Cannot call a class as a function")}(this,y),(S=l.call(this,o,u)).children=null,S.start=null,S.stop=null,S.exception=null,S}return i=y,(m=[{key:"copyFrom",value:function(o){this.parentCtx=o.parentCtx,this.invokingState=o.invokingState,this.children=null,this.start=o.start,this.stop=o.stop,o.children&&(this.children=[],o.children.map(function(u){u instanceof xm&&(this.children.push(u),u.parentCtx=this)},this))}},{key:"enterRule",value:function(o){}},{key:"exitRule",value:function(o){}},{key:"addChild",value:function(o){return this.children===null&&(this.children=[]),this.children.push(o),o}},{key:"removeLastChild",value:function(){this.children!==null&&this.children.pop()}},{key:"addTokenNode",value:function(o){var u=new Em(o);return this.addChild(u),u.parentCtx=this,u}},{key:"addErrorNode",value:function(o){var u=new xm(o);return this.addChild(u),u.parentCtx=this,u}},{key:"getChild",value:function(o,u){if(u=u||null,this.children===null||o<0||o>=this.children.length)return null;if(u===null)return this.children[o];for(var S=0;S<this.children.length;S++){var D=this.children[S];if(D instanceof u){if(o===0)return D;o-=1}}return null}},{key:"getToken",value:function(o,u){if(this.children===null||u<0||u>=this.children.length)return null;for(var S=0;S<this.children.length;S++){var D=this.children[S];if(D instanceof hn&&D.symbol.type===o){if(u===0)return D;u-=1}}return null}},{key:"getTokens",value:function(o){if(this.children===null)return[];for(var u=[],S=0;S<this.children.length;S++){var D=this.children[S];D instanceof hn&&D.symbol.type===o&&u.push(D)}return u}},{key:"getTypedRuleContext",value:function(o,u){return this.getChild(u,o)}},{key:"getTypedRuleContexts",value:function(o){if(this.children===null)return[];for(var u=[],S=0;S<this.children.length;S++){var D=this.children[S];D instanceof o&&u.push(D)}return u}},{key:"getChildCount",value:function(){return this.children===null?0:this.children.length}},{key:"getSourceInterval",value:function(){return this.start===null||this.stop===null?_e.INVALID_INTERVAL:new _e(this.start.tokenIndex,this.stop.tokenIndex)}}])&&J1(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(ro);function Y0(f,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");f.prototype=Object.create(i&&i.prototype,{constructor:{value:f,writable:!0,configurable:!0}}),Object.defineProperty(f,"prototype",{writable:!1}),i&&Z0(f,i)}function Z0(f,i){return Z0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Z0(f,i)}function Q0(f){var i=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var m,s=sl(f);if(i){var _=sl(this).constructor;m=Reflect.construct(s,arguments,_)}else m=s.apply(this,arguments);return function(l,y){if(y&&(ss(y)==="object"||typeof y=="function"))return y;if(y!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(o){if(o===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}(l)}(this,m)}}function sl(f){return sl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},sl(f)}function ss(f){return ss=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},ss(f)}function us(f,i){var m=typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(!m){if(Array.isArray(f)||(m=function(u,S){if(u){if(typeof u=="string")return Sm(u,S);var D=Object.prototype.toString.call(u).slice(8,-1);return D==="Object"&&u.constructor&&(D=u.constructor.name),D==="Map"||D==="Set"?Array.from(u):D==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(D)?Sm(u,S):void 0}}(f))||i&&f&&typeof f.length=="number"){m&&(f=m);var s=0,_=function(){};return{s:_,n:function(){return s>=f.length?{done:!0}:{done:!1,value:f[s++]}},e:function(u){throw u},f:_}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
10
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var l,y=!0,o=!1;return{s:function(){m=m.call(f)},n:function(){var u=m.next();return y=u.done,u},e:function(u){o=!0,l=u},f:function(){try{y||m.return==null||m.return()}finally{if(o)throw l}}}}function Sm(f,i){(i==null||i>f.length)&&(i=f.length);for(var m=0,s=new Array(i);m<i;m++)s[m]=f[m];return s}function cu(f,i){if(!(f instanceof i))throw new TypeError("Cannot call a class as a function")}function Tm(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,Am(s.key),s)}}function lu(f,i,m){return i&&Tm(f.prototype,i),m&&Tm(f,m),Object.defineProperty(f,"prototype",{writable:!1}),f}function Am(f){var i=function(m,s){if(ss(m)!=="object"||m===null)return m;var _=m[Symbol.toPrimitive];if(_!==void 0){var l=_.call(m,"string");if(ss(l)!=="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(m)}(f);return ss(i)==="symbol"?i:String(i)}ro.EMPTY=new X0;var ul,cl,J0,Cm=function(){function f(i){cu(this,f),this.tokens=i,this.programs=new Map}return lu(f,[{key:"getTokenStream",value:function(){return this.tokens}},{key:"insertAfter",value:function(i,m){var s,_=arguments.length>2&&arguments[2]!==void 0?arguments[2]:f.DEFAULT_PROGRAM_NAME;s=typeof i=="number"?i:i.tokenIndex;var l=this.getProgram(_),y=new km(this.tokens,s,l.length,m);l.push(y)}},{key:"insertBefore",value:function(i,m){var s,_=arguments.length>2&&arguments[2]!==void 0?arguments[2]:f.DEFAULT_PROGRAM_NAME;s=typeof i=="number"?i:i.tokenIndex;var l=this.getProgram(_),y=new cs(this.tokens,s,l.length,m);l.push(y)}},{key:"replaceSingle",value:function(i,m){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:f.DEFAULT_PROGRAM_NAME;this.replace(i,i,m,s)}},{key:"replace",value:function(i,m,s){var _=arguments.length>3&&arguments[3]!==void 0?arguments[3]:f.DEFAULT_PROGRAM_NAME;if(typeof i!="number"&&(i=i.tokenIndex),typeof m!="number"&&(m=m.tokenIndex),i>m||i<0||m<0||m>=this.tokens.size)throw new RangeError("replace: range invalid: ".concat(i,"..").concat(m,"(size=").concat(this.tokens.size,")"));var l=this.getProgram(_),y=new ll(this.tokens,i,m,l.length,s);l.push(y)}},{key:"delete",value:function(i,m){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:f.DEFAULT_PROGRAM_NAME;m===void 0&&(m=i),this.replace(i,m,null,s)}},{key:"getProgram",value:function(i){var m=this.programs.get(i);return m==null&&(m=this.initializeProgram(i)),m}},{key:"initializeProgram",value:function(i){var m=[];return this.programs.set(i,m),m}},{key:"getText",value:function(i){var m,s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:f.DEFAULT_PROGRAM_NAME;m=i instanceof _e?i:new _e(0,this.tokens.size-1),typeof i=="string"&&(s=i);var _=this.programs.get(s),l=m.start,y=m.stop;if(y>this.tokens.size-1&&(y=this.tokens.size-1),l<0&&(l=0),_==null||_.length===0)return this.tokens.getText(new _e(l,y));for(var o=[],u=this.reduceToSingleOperationPerIndex(_),S=l;S<=y&&S<this.tokens.size;){var D=u.get(S);u.delete(S);var C=this.tokens.get(S);D==null?(C.type!==n.EOF&&o.push(String(C.text)),S++):S=D.execute(o)}if(y===this.tokens.size-1){var U,fe=us(u.values());try{for(fe.s();!(U=fe.n()).done;){var Ne=U.value;Ne.index>=this.tokens.size-1&&o.push(Ne.text.toString())}}catch(Re){fe.e(Re)}finally{fe.f()}}return o.join("")}},{key:"reduceToSingleOperationPerIndex",value:function(i){for(var m=0;m<i.length;m++){var s=i[m];if(s!=null&&s instanceof ll){var _,l=s,y=us(this.getKindOfOps(i,cs,m));try{for(y.s();!(_=y.n()).done;){var o=_.value;o.index===l.index?(i[o.instructionIndex]=void 0,l.text=o.text.toString()+(l.text!=null?l.text.toString():"")):o.index>l.index&&o.index<=l.lastIndex&&(i[o.instructionIndex]=void 0)}}catch(Fr){y.e(Fr)}finally{y.f()}var u,S=us(this.getKindOfOps(i,ll,m));try{for(S.s();!(u=S.n()).done;){var D=u.value;if(D.index>=l.index&&D.lastIndex<=l.lastIndex)i[D.instructionIndex]=void 0;else{var C=D.lastIndex<l.index||D.index>l.lastIndex;if(D.text!=null||l.text!=null||C){if(!C)throw new Error("replace op boundaries of ".concat(l," overlap with previous ").concat(D))}else i[D.instructionIndex]=void 0,l.index=Math.min(D.index,l.index),l.lastIndex=Math.max(D.lastIndex,l.lastIndex)}}}catch(Fr){S.e(Fr)}finally{S.f()}}}for(var U=0;U<i.length;U++){var fe=i[U];if(fe!=null&&fe instanceof cs){var Ne,Re=fe,Ge=us(this.getKindOfOps(i,cs,U));try{for(Ge.s();!(Ne=Ge.n()).done;){var ct=Ne.value;ct.index===Re.index&&(ct instanceof km?(Re.text=this.catOpText(ct.text,Re.text),i[ct.instructionIndex]=void 0):ct instanceof cs&&(Re.text=this.catOpText(Re.text,ct.text),i[ct.instructionIndex]=void 0))}}catch(Fr){Ge.e(Fr)}finally{Ge.f()}var We,En=us(this.getKindOfOps(i,ll,U));try{for(En.s();!(We=En.n()).done;){var vn=We.value;if(Re.index!==vn.index){if(Re.index>=vn.index&&Re.index<=vn.lastIndex)throw new Error("insert op ".concat(Re," within boundaries of previous ").concat(vn))}else vn.text=this.catOpText(Re.text,vn.text),i[U]=void 0}}catch(Fr){En.e(Fr)}finally{En.f()}}}var qn,qr=new Map,Bi=us(i);try{for(Bi.s();!(qn=Bi.n()).done;){var Li=qn.value;if(Li!=null){if(qr.get(Li.index)!=null)throw new Error("should only be one op per index");qr.set(Li.index,Li)}}}catch(Fr){Bi.e(Fr)}finally{Bi.f()}return qr}},{key:"catOpText",value:function(i,m){var s="",_="";return i!=null&&(s=i.toString()),m!=null&&(_=m.toString()),s+_}},{key:"getKindOfOps",value:function(i,m,s){return i.slice(0,s).filter(function(_){return _&&_ instanceof m})}}]),f}();ul=Cm,J0="default",(cl=Am(cl="DEFAULT_PROGRAM_NAME"))in ul?Object.defineProperty(ul,cl,{value:J0,enumerable:!0,configurable:!0,writable:!0}):ul[cl]=J0;var Dm=function(){function f(i,m,s,_){cu(this,f),this.tokens=i,this.instructionIndex=s,this.index=m,this.text=_===void 0?"":_}return lu(f,[{key:"toString",value:function(){var i=this.constructor.name,m=i.indexOf("$");return"<"+(i=i.substring(m+1,i.length))+"@"+this.tokens.get(this.index)+':"'+this.text+'">'}}]),f}(),cs=function(f){Y0(m,f);var i=Q0(m);function m(s,_,l,y){return cu(this,m),i.call(this,s,_,l,y)}return lu(m,[{key:"execute",value:function(s){return this.text&&s.push(this.text.toString()),this.tokens.get(this.index).type!==n.EOF&&s.push(String(this.tokens.get(this.index).text)),this.index+1}}]),m}(Dm),km=function(f){Y0(m,f);var i=Q0(m);function m(s,_,l,y){return cu(this,m),i.call(this,s,_+1,l,y)}return lu(m)}(cs),ll=function(f){Y0(m,f);var i=Q0(m);function m(s,_,l,y,o){var u;return cu(this,m),(u=i.call(this,s,_,y,o)).lastIndex=l,u}return lu(m,[{key:"execute",value:function(s){return this.text&&s.push(this.text.toString()),this.lastIndex+1}},{key:"toString",value:function(){return this.text==null?"<DeleteOp@"+this.tokens.get(this.index)+".."+this.tokens.get(this.lastIndex)+">":"<ReplaceOp@"+this.tokens.get(this.index)+".."+this.tokens.get(this.lastIndex)+':"'+this.text+'">'}}]),m}(Dm);const eb={atn:T1,dfa:k1,context:O1,misc:w1,tree:P1,error:j1,Token:n,CommonToken:Us,CharStreams:ym,CharStream:su,InputStream:su,CommonTokenStream:bm,Lexer:hr,Parser:z0,ParserRuleContext:X0,Interval:_e,IntervalSet:J,LL1Analyzer:Go,Utils:G1,TokenStreamRewriter:Cm}})();var Pr=Mt.dx,ep=Mt.q2;Mt.FO,Mt.xf,Mt.Gy;var Om=Mt.s4,wm=Mt.c7,tp=Mt._7;Mt.gp;var Rm=Mt.cK,Fm=Mt.zs,Nm=Mt.AV;Mt.Xp,Mt.VS,Mt.ul;var Pm=Mt.hW,Im=Mt.x1,bi=Mt.z5;Mt.oN;var Bm=Mt.TB;Mt.u1;var Lm=Mt._b,Mm=Mt.$F,Je=Mt._T,np=Mt.db,Um=Mt.Zx,et=Mt._x;Mt.r8,Mt.JI,Mt.TP;var rp=Mt.WU;Mt.Nj,Mt.ZP;const H=class H extends Lm{get grammarFileName(){return"tccScriptParser.g4"}get literalNames(){return H.literalNames}get symbolicNames(){return H.symbolicNames}get ruleNames(){return H.ruleNames}get serializedATN(){return H._serializedATN}createFailedPredicateException(e,n){return new Fm(this,e,n)}constructor(e){super(e),this._interp=new Mm(this,H._ATN,H.DecisionsToDFA,new np)}program(){let e=new Vm(this,this._ctx,this.state);this.enterRule(e,0,H.RULE_program);let n;try{this.enterOuterAlt(e,1);{for(this.state=106,this._errHandler.sync(this),n=this._input.LA(1);n===4||n===6||!(n-36&-32)&&1<<n-36&38635767;){switch(this.state=104,this._errHandler.sync(this),this._input.LA(1)){case 61:this.state=102,this.match(H.NEWLINE);break;case 4:case 6:case 36:case 37:case 38:case 40:case 41:case 42:case 43:case 47:case 51:case 52:case 54:case 55:case 58:this.state=103,this.globalStmt();break;default:throw new bi(this)}this.state=108,this._errHandler.sync(this),n=this._input.LA(1)}this.state=109,this.match(H.EOF)}}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}globalStmt(){let e=new fl(this,this._ctx,this.state);this.enterRule(e,2,H.RULE_globalStmt);let n;try{switch(this.state=123,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,3,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=111,this.variableDeclarationStmt(),this.state=113,this._errHandler.sync(this),n=this._input.LA(1),n===8&&(this.state=112,this.match(H.Comma)),this.state=115,this.match(H.NEWLINE);break;case 2:this.enterOuterAlt(e,2),this.state=117,this.blockStmt();break;case 3:this.enterOuterAlt(e,3),this.state=118,this.importStmt();break;case 4:this.enterOuterAlt(e,4),this.state=119,this.arrowFunction();break;case 5:this.enterOuterAlt(e,5),this.state=120,this.arrowMethod();break;case 6:this.enterOuterAlt(e,6),this.state=121,this.typeStatement();break;case 7:this.enterOuterAlt(e,7),this.state=122,this.enumStatement();break}}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}blockStmt(){let e=new ip(this,this._ctx,this.state);this.enterRule(e,4,H.RULE_blockStmt);try{let n;this.enterOuterAlt(e,1);{for(this.state=130,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,4,this._ctx);n!==2&&n!==Pr.INVALID_ALT_NUMBER;)n===1&&(this.state=125,this.variableDeclarationStmt(),this.state=126,this.match(H.Comma)),this.state=132,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,4,this._ctx);switch(this.state=135,this._errHandler.sync(this),this._input.LA(1)){case 4:case 6:case 38:case 40:case 51:case 54:case 55:case 58:this.state=133,this.varBlockStmt();break;case 37:case 41:case 42:case 43:this.state=134,this.blockExpression();break;default:throw new bi(this)}}}catch(n){if(n instanceof et)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}stmt(){let e=new hl(this,this._ctx,this.state);this.enterRule(e,6,H.RULE_stmt);let n;try{switch(this.state=144,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,7,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=137,this.simpleStmt(),this.state=139,this._errHandler.sync(this),n=this._input.LA(1),n===8&&(this.state=138,this.match(H.Comma)),this.state=141,this.match(H.NEWLINE);break;case 2:this.enterOuterAlt(e,2),this.state=143,this.expressionBlockSequence();break}}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}simpleStmt(){let e=new pl(this,this._ctx,this.state);this.enterRule(e,8,H.RULE_simpleStmt);try{switch(this.state=150,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,8,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=146,this.expressionSequence();break;case 2:this.enterOuterAlt(e,2),this.state=147,this.blockSequence();break;case 3:this.enterOuterAlt(e,3),this.state=148,this.brackethesized();break;case 4:this.enterOuterAlt(e,4),this.state=149,this.flowStmt();break}}catch(n){if(n instanceof et)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}flowStmt(){let e=new op(this,this._ctx,this.state);this.enterRule(e,10,H.RULE_flowStmt);let n;try{this.enterOuterAlt(e,1),this.state=152,n=this._input.LA(1),n===34||n===39?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}block(){let e=new ls(this,this._ctx,this.state);this.enterRule(e,12,H.RULE_block);let n;try{switch(this.state=161,this._errHandler.sync(this),this._input.LA(1)){case 4:case 6:case 12:case 13:case 31:case 32:case 33:case 34:case 38:case 39:case 40:case 46:case 51:case 54:case 55:case 56:case 57:case 58:this.enterOuterAlt(e,1),this.state=154,this.simpleStmt(),this.state=156,this._errHandler.sync(this),n=this._input.LA(1),n===8&&(this.state=155,this.match(H.Comma)),this.state=158,this.match(H.NEWLINE);break;case 61:this.enterOuterAlt(e,2),this.state=160,this.blockLine();break;default:throw new bi(this)}}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}blockLine(){let e=new Eo(this,this._ctx,this.state);this.enterRule(e,14,H.RULE_blockLine);let n;try{this.enterOuterAlt(e,1);{this.state=163,this.match(H.NEWLINE),this.state=164,this.match(H.INDENT),this.state=166,this._errHandler.sync(this),n=this._input.LA(1);do this.state=165,this.stmt(),this.state=168,this._errHandler.sync(this),n=this._input.LA(1);while(!(n&-32)&&1<<n&2147496016||!(n-32&-32)&&1<<n-32&130568167);this.state=170,this.match(H.DEDENT)}}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}variableDeclarationStmt(){let e=new fu(this,this._ctx,this.state);this.enterRule(e,16,H.RULE_variableDeclarationStmt);try{let n;this.enterOuterAlt(e,1);{switch(this.state=174,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,12,this._ctx)){case 1:this.state=172,this.methodStmt();break;case 2:this.state=173,this.variableDeclarationList();break}for(this.state=183,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,14,this._ctx);n!==2&&n!==Pr.INVALID_ALT_NUMBER;){if(n===1)switch(this.state=176,this.match(H.Comma),this.state=179,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,13,this._ctx)){case 1:this.state=177,this.methodStmt();break;case 2:this.state=178,this.variableDeclarationList();break}this.state=185,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,14,this._ctx)}}}catch(n){if(n instanceof et)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}variableDeclarationList(){let e=new Mi(this,this._ctx,this.state);this.enterRule(e,18,H.RULE_variableDeclarationList);try{switch(this.state=194,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,15,this._ctx)){case 1:e=new Hm(this,e),this.enterOuterAlt(e,1),this.state=186,this.varArrayDeclaration(),this.state=187,this.match(H.Assign),this.state=188,this.singleExpression(0);break;case 2:e=new jm(this,e),this.enterOuterAlt(e,2),this.state=190,this.name(),this.state=191,this.assignmentOperator(),this.state=192,this.singleExpression(0);break}}catch(n){if(n instanceof et)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}varModifier(){let e=new dl(this,this._ctx,this.state);this.enterRule(e,20,H.RULE_varModifier);let n;try{this.enterOuterAlt(e,1),this.state=196,n=this._input.LA(1),n===38||n===40?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}blockSequence(){let e=new ap(this,this._ctx,this.state);this.enterRule(e,22,H.RULE_blockSequence);try{let n;this.enterOuterAlt(e,1);{switch(this.state=200,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,16,this._ctx)){case 1:this.state=198,this.singleExpression(0);break;case 2:this.state=199,this.variableDeclarationList();break}for(this.state=209,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,18,this._ctx);n!==2&&n!==Pr.INVALID_ALT_NUMBER;){if(n===1)switch(this.state=202,this.match(H.Comma),this.state=205,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,17,this._ctx)){case 1:this.state=203,this.singleExpression(0);break;case 2:this.state=204,this.variableDeclarationList();break}this.state=211,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,18,this._ctx)}}}catch(n){if(n instanceof et)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}expressionSequence(){let e=new _l(this,this._ctx,this.state);this.enterRule(e,24,H.RULE_expressionSequence);try{let n;for(this.enterOuterAlt(e,1),this.state=212,this.singleExpression(0),this.state=217,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,19,this._ctx);n!==2&&n!==Pr.INVALID_ALT_NUMBER;)n===1&&(this.state=213,this.match(H.Comma),this.state=214,this.singleExpression(0)),this.state=219,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,19,this._ctx)}catch(n){if(n instanceof et)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}expressionBlockSequence(){let e=new sp(this,this._ctx,this.state);this.enterRule(e,26,H.RULE_expressionBlockSequence);try{let n;this.enterOuterAlt(e,1);{for(this.state=228,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,21,this._ctx);n!==2&&n!==Pr.INVALID_ALT_NUMBER;){if(n===1){switch(this.state=222,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,20,this._ctx)){case 1:this.state=220,this.singleExpression(0);break;case 2:this.state=221,this.variableDeclarationList();break}this.state=224,this.match(H.Comma)}this.state=230,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,21,this._ctx)}switch(this.state=233,this._errHandler.sync(this),this._input.LA(1)){case 4:case 6:case 38:case 40:case 51:case 54:case 55:case 58:this.state=231,this.varBlockStmt();break;case 37:case 41:case 42:case 43:this.state=232,this.blockExpression();break;default:throw new bi(this)}}}catch(n){if(n instanceof et)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}varBlockStmt(){let e=new ml(this,this._ctx,this.state);this.enterRule(e,28,H.RULE_varBlockStmt);try{this.enterOuterAlt(e,1);{switch(this.state=241,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,23,this._ctx)){case 1:this.state=235,this.varArrayDeclaration(),this.state=236,this.match(H.Assign);break;case 2:this.state=238,this.name(),this.state=239,this.assignmentOperator();break}this.state=243,this.blockExpression()}}catch(n){if(n instanceof et)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}varArrayDeclaration(){let e=new fs(this,this._ctx,this.state);this.enterRule(e,30,H.RULE_varArrayDeclaration);let n;try{switch(this.state=263,this._errHandler.sync(this),this._input.LA(1)){case 38:case 40:case 51:case 54:case 55:case 58:e=new Gm(this,e),this.enterOuterAlt(e,1);{switch(this.state=246,this._errHandler.sync(this),n=this._input.LA(1),(n===38||n===40)&&(this.state=245,this.varModifier()),this.state=249,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,25,this._ctx)){case 1:this.state=248,this.typeGather();break}this.state=251,this.identifier()}break;case 4:e=new $m(this,e),this.enterOuterAlt(e,2);{for(this.state=252,this.match(H.OpenBracket),this.state=253,this.identifier(),this.state=258,this._errHandler.sync(this),n=this._input.LA(1);n===8;)this.state=254,this.match(H.Comma),this.state=255,this.identifier(),this.state=260,this._errHandler.sync(this),n=this._input.LA(1);this.state=261,this.match(H.CloseBracket)}break;default:throw new bi(this)}}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}blockExpression(){let e=new hu(this,this._ctx,this.state);this.enterRule(e,32,H.RULE_blockExpression);try{switch(this.state=269,this._errHandler.sync(this),this._input.LA(1)){case 43:this.enterOuterAlt(e,1),this.state=265,this.ifStatement();break;case 37:this.enterOuterAlt(e,2),this.state=266,this.forStatement();break;case 42:this.enterOuterAlt(e,3),this.state=267,this.whileStatement();break;case 41:this.enterOuterAlt(e,4),this.state=268,this.switchStatement();break;default:throw new bi(this)}}catch(n){if(n instanceof et)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}singleExpression(e){e===void 0&&(e=0);let n=this._ctx,r=this.state,a=new je(this,this._ctx,r),c=a,h=34;this.enterRecursionRule(a,34,H.RULE_singleExpression,e);let d;try{let E;this.enterOuterAlt(a,1);{switch(this.state=283,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,29,this._ctx)){case 1:a=new ny(this,a),this._ctx=a,c=a,this.state=272,this.methodStmt();break;case 2:a=new Jm(this,a),this._ctx=a,c=a,this.state=273,d=this._input.LA(1),d===12||d===13?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=274,this.singleExpression(12);break;case 3:a=new ey(this,a),this._ctx=a,c=a,this.state=275,this.match(H.Not),this.state=276,this.singleExpression(11);break;case 4:a=new Ym(this,a),this._ctx=a,c=a,this.state=277,this.name();break;case 5:a=new Zm(this,a),this._ctx=a,c=a,this.state=278,this.literal();break;case 6:a=new zm(this,a),this._ctx=a,c=a,this.state=279,this.match(H.OpenParen),this.state=280,this.singleExpression(0),this.state=281,this.match(H.CloseParen);break}for(this._ctx.stop=this._input.LT(-1),this.state=316,this._errHandler.sync(this),E=this._interp.adaptivePredict(this._input,31,this._ctx);E!==2&&E!==Pr.INVALID_ALT_NUMBER;){if(E===1)switch(this._parseListeners!=null&&this.triggerExitRuleEvent(),c=a,this.state=314,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,30,this._ctx)){case 1:{if(a=new iy(this,new je(this,n,r)),this.pushNewRecursionContext(a,h,H.RULE_singleExpression),this.state=285,!this.precpred(this._ctx,10))throw this.createFailedPredicateException("this.precpred(this._ctx, 10)");this.state=286,d=this._input.LA(1),!(d&-32)&&1<<d&114688?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=287,this.singleExpression(11)}break;case 2:{if(a=new Km(this,new je(this,n,r)),this.pushNewRecursionContext(a,h,H.RULE_singleExpression),this.state=288,!this.precpred(this._ctx,9))throw this.createFailedPredicateException("this.precpred(this._ctx, 9)");this.state=289,d=this._input.LA(1),d===12||d===13?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=290,this.singleExpression(10)}break;case 3:{if(a=new Wm(this,new je(this,n,r)),this.pushNewRecursionContext(a,h,H.RULE_singleExpression),this.state=291,!this.precpred(this._ctx,8))throw this.createFailedPredicateException("this.precpred(this._ctx, 8)");this.state=292,d=this._input.LA(1),!(d&-32)&&1<<d&3932160?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=293,this.singleExpression(9)}break;case 4:{if(a=new ry(this,new je(this,n,r)),this.pushNewRecursionContext(a,h,H.RULE_singleExpression),this.state=294,!this.precpred(this._ctx,7))throw this.createFailedPredicateException("this.precpred(this._ctx, 7)");this.state=295,d=this._input.LA(1),d===22||d===23?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=296,this.singleExpression(8)}break;case 5:{if(a=new Xm(this,new je(this,n,r)),this.pushNewRecursionContext(a,h,H.RULE_singleExpression),this.state=297,!this.precpred(this._ctx,6))throw this.createFailedPredicateException("this.precpred(this._ctx, 6)");this.state=298,this.match(H.And),this.state=299,this.singleExpression(7)}break;case 6:{if(a=new Qm(this,new je(this,n,r)),this.pushNewRecursionContext(a,h,H.RULE_singleExpression),this.state=300,!this.precpred(this._ctx,5))throw this.createFailedPredicateException("this.precpred(this._ctx, 5)");this.state=301,this.match(H.Or),this.state=302,this.singleExpression(6)}break;case 7:{if(a=new qm(this,new je(this,n,r)),this.pushNewRecursionContext(a,h,H.RULE_singleExpression),this.state=303,!this.precpred(this._ctx,4))throw this.createFailedPredicateException("this.precpred(this._ctx, 4)");this.state=304,this.match(H.QuestionMark),this.state=305,this.singleExpression(0),this.state=306,this.match(H.Colon),this.state=307,this.singleExpression(4)}break;case 8:{if(a=new ty(this,new je(this,n,r)),this.pushNewRecursionContext(a,h,H.RULE_singleExpression),this.state=309,!this.precpred(this._ctx,13))throw this.createFailedPredicateException("this.precpred(this._ctx, 13)");this.state=310,this.match(H.OpenBracket),this.state=311,this.singleExpression(0),this.state=312,this.match(H.CloseBracket)}break}this.state=318,this._errHandler.sync(this),E=this._interp.adaptivePredict(this._input,31,this._ctx)}}}catch(E){if(E instanceof et)a.exception=E,this._errHandler.reportError(this,E),this._errHandler.recover(this,E);else throw E}finally{this.unrollRecursionContexts(n)}return a}brackethesized(){let e=new yl(this,this._ctx,this.state);this.enterRule(e,36,H.RULE_brackethesized);try{this.enterOuterAlt(e,1),this.state=319,this.match(H.OpenBracket),this.state=320,this.expressionSequence(),this.state=321,this.match(H.CloseBracket)}catch(n){if(n instanceof et)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}arguments(){let e=new up(this,this._ctx,this.state);this.enterRule(e,38,H.RULE_arguments);let n;try{let r;this.enterOuterAlt(e,1);{if(this.state=323,this.match(H.OpenParen),this.state=335,this._errHandler.sync(this),n=this._input.LA(1),!(n&-32)&&1<<n&2147496016||!(n-32&-32)&&1<<n-32&130564099){for(this.state=324,this.argument(),this.state=329,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,32,this._ctx);r!==2&&r!==Pr.INVALID_ALT_NUMBER;)r===1&&(this.state=325,this.match(H.Comma),this.state=326,this.argument()),this.state=331,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,32,this._ctx);this.state=333,this._errHandler.sync(this),n=this._input.LA(1),n===8&&(this.state=332,this.match(H.Comma))}this.state=337,this.match(H.CloseParen)}}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}argument(){let e=new gl(this,this._ctx,this.state);this.enterRule(e,40,H.RULE_argument);try{this.enterOuterAlt(e,1);{switch(this.state=342,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,35,this._ctx)){case 1:this.state=339,this.identifier(),this.state=340,this.match(H.Assign);break}switch(this.state=346,this._errHandler.sync(this),this._input.LA(1)){case 6:case 12:case 13:case 31:case 32:case 33:case 46:case 51:case 54:case 55:case 56:case 57:case 58:this.state=344,this.singleExpression(0);break;case 4:this.state=345,this.brackethesized();break;default:throw new bi(this)}}}catch(n){if(n instanceof et)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}ifStatement(){let e=new cp(this,this._ctx,this.state);this.enterRule(e,42,H.RULE_ifStatement);let n;try{let r;this.enterOuterAlt(e,1);{for(this.state=348,this.match(H.If),this.state=349,this.singleExpression(0),this.state=350,this.blockLine(),this.state=358,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,37,this._ctx);r!==2&&r!==Pr.INVALID_ALT_NUMBER;)r===1&&(this.state=351,this.match(H.Else),this.state=352,this.match(H.If),this.state=353,this.singleExpression(0),this.state=354,this.blockLine()),this.state=360,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,37,this._ctx);this.state=363,this._errHandler.sync(this),n=this._input.LA(1),n===48&&(this.state=361,this.match(H.Else),this.state=362,this.blockLine())}}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}forStatement(){let e=new pu(this,this._ctx,this.state);this.enterRule(e,44,H.RULE_forStatement);let n;try{switch(this.state=397,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,43,this._ctx)){case 1:e=new oy(this,e),this.enterOuterAlt(e,1);{switch(this.state=365,this.match(H.For),this.state=367,this._errHandler.sync(this),n=this._input.LA(1),(n===38||n===40)&&(this.state=366,this.varModifier()),this.state=370,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,40,this._ctx)){case 1:this.state=369,this.typeGather();break}this.state=372,this.identifier(),this.state=373,this.match(H.Assign),this.state=374,this.singleExpression(0),this.state=375,this.match(H.To),this.state=376,this.singleExpression(0),this.state=379,this._errHandler.sync(this),n=this._input.LA(1),n===50&&(this.state=377,this.match(H.By),this.state=378,this.singleExpression(0)),this.state=381,this.blockLine()}break;case 2:e=new ay(this,e),this.enterOuterAlt(e,2);{switch(this.state=383,this.match(H.For),this.state=391,this._errHandler.sync(this),this._input.LA(1)){case 51:case 54:case 55:case 58:this.state=384,this.identifier();break;case 4:this.state=385,this.match(H.OpenBracket),this.state=386,this.identifier(),this.state=387,this.match(H.Comma),this.state=388,this.identifier(),this.state=389,this.match(H.CloseBracket);break;default:throw new bi(this)}this.state=393,this.match(H.In),this.state=394,this.singleExpression(0),this.state=395,this.blockLine()}break}}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}switchStatement(){let e=new lp(this,this._ctx,this.state);this.enterRule(e,46,H.RULE_switchStatement);let n;try{this.enterOuterAlt(e,1);{switch(this.state=399,this.match(H.Switch),this.state=401,this._errHandler.sync(this),n=this._input.LA(1),(!(n&-32)&&1<<n&2147496e3||!(n-32&-32)&&1<<n-32&130564099)&&(this.state=400,this.singleExpression(0)),this.state=403,this.match(H.NEWLINE),this.state=404,this.match(H.INDENT),this.state=417,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,47,this._ctx)){case 1:{this.state=406,this._errHandler.sync(this),n=this._input.LA(1);do this.state=405,this.caseClause(),this.state=408,this._errHandler.sync(this),n=this._input.LA(1);while(!(n&-32)&&1<<n&2147496e3||!(n-32&-32)&&1<<n-32&130564099)}break;case 2:{for(this.state=413,this._errHandler.sync(this),n=this._input.LA(1);!(n&-32)&&1<<n&2147496e3||!(n-32&-32)&&1<<n-32&130564099;)this.state=410,this.caseClause(),this.state=415,this._errHandler.sync(this),n=this._input.LA(1);this.state=416,this.defaultCaluse()}break}this.state=419,this.match(H.DEDENT)}}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}caseClause(){let e=new vl(this,this._ctx,this.state);this.enterRule(e,48,H.RULE_caseClause);try{this.enterOuterAlt(e,1),this.state=421,this.singleExpression(0),this.state=422,this.match(H.ARROW),this.state=423,this.block()}catch(n){if(n instanceof et)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}defaultCaluse(){let e=new fp(this,this._ctx,this.state);this.enterRule(e,50,H.RULE_defaultCaluse);try{this.enterOuterAlt(e,1),this.state=425,this.match(H.ARROW),this.state=426,this.block()}catch(n){if(n instanceof et)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}whileStatement(){let e=new hp(this,this._ctx,this.state);this.enterRule(e,52,H.RULE_whileStatement);try{this.enterOuterAlt(e,1),this.state=428,this.match(H.While),this.state=429,this.singleExpression(0),this.state=430,this.blockLine()}catch(n){if(n instanceof et)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}importStmt(){let e=new pp(this,this._ctx,this.state);this.enterRule(e,54,H.RULE_importStmt);let n;try{let r;this.enterOuterAlt(e,1);{for(this.state=432,this.importElement(),this.state=437,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,48,this._ctx);r!==2&&r!==Pr.INVALID_ALT_NUMBER;)r===1&&(this.state=433,this.match(H.Comma),this.state=434,this.importElement()),this.state=439,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,48,this._ctx);this.state=441,this._errHandler.sync(this),n=this._input.LA(1),n===8&&(this.state=440,this.match(H.Comma)),this.state=443,this.match(H.NEWLINE)}}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}importElement(){let e=new bl(this,this._ctx,this.state);this.enterRule(e,56,H.RULE_importElement);let n;try{this.enterOuterAlt(e,1),this.state=445,this.match(H.Import),this.state=446,this.identifier(),this.state=447,this.match(H.Divide),this.state=448,this.identifier(),this.state=449,this.match(H.Divide),this.state=450,this.match(H.IntegerLiteral),this.state=453,this._errHandler.sync(this),n=this._input.LA(1),n===53&&(this.state=451,this.match(H.As),this.state=452,this.identifier())}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}literal(){let e=new dp(this,this._ctx,this.state);this.enterRule(e,58,H.RULE_literal);let n;try{this.enterOuterAlt(e,1),this.state=455,n=this._input.LA(1),!(n-31&-32)&&1<<n-31&100663303?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}methodStmt(){let e=new du(this,this._ctx,this.state);this.enterRule(e,60,H.RULE_methodStmt);try{let n;for(this.enterOuterAlt(e,1),this.state=457,this.methodElement(),this.state=462,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,51,this._ctx);n!==2&&n!==Pr.INVALID_ALT_NUMBER;)n===1&&(this.state=458,this.match(H.Point),this.state=459,this.methodElement()),this.state=464,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,51,this._ctx)}catch(n){if(n instanceof et)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}methodElement(){let e=new hs(this,this._ctx,this.state);this.enterRule(e,62,H.RULE_methodElement);try{this.enterOuterAlt(e,1),this.state=465,this.methodName(),this.state=466,this.arguments()}catch(n){if(n instanceof et)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}methodName(){let e=new _p(this,this._ctx,this.state);this.enterRule(e,64,H.RULE_methodName);let n;try{let r;this.enterOuterAlt(e,1);{switch(this.state=481,this._errHandler.sync(this),this._input.LA(1)){case 51:case 54:case 55:case 58:for(this.state=473,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,52,this._ctx);r!==2&&r!==Pr.INVALID_ALT_NUMBER;)r===1&&(this.state=468,this.identifier(),this.state=469,this.match(H.Point)),this.state=475,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,52,this._ctx);break;case 6:this.state=476,this.match(H.OpenParen),this.state=477,this.singleExpression(0),this.state=478,this.match(H.CloseParen),this.state=479,this.match(H.Point);break;default:throw new bi(this)}this.state=483,this.identifier(),this.state=492,this._errHandler.sync(this),n=this._input.LA(1),n===18&&(this.state=484,this.match(H.LessThan),this.state=485,this.typeName(),this.state=488,this._errHandler.sync(this),n=this._input.LA(1),n===8&&(this.state=486,this.match(H.Comma),this.state=487,this.typeName()),this.state=490,this.match(H.MoreThan))}}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}arrowFunction(){let e=new mp(this,this._ctx,this.state);this.enterRule(e,66,H.RULE_arrowFunction);let n;try{this.enterOuterAlt(e,1),this.state=495,this._errHandler.sync(this),n=this._input.LA(1),n===36&&(this.state=494,this.match(H.Export)),this.state=497,this.identifier(),this.state=498,this.arrowFunctionParameters(),this.state=499,this.match(H.ARROW),this.state=500,this.block()}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}arrowFunctionParameters(){let e=new yp(this,this._ctx,this.state);this.enterRule(e,68,H.RULE_arrowFunctionParameters);let n;try{this.enterOuterAlt(e,1),this.state=502,this.match(H.OpenParen),this.state=504,this._errHandler.sync(this),n=this._input.LA(1),!(n-51&-32)&&1<<n-51&153&&(this.state=503,this.formalParameterList()),this.state=506,this.match(H.CloseParen)}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}formalParameterList(){let e=new El(this,this._ctx,this.state);this.enterRule(e,70,H.RULE_formalParameterList);let n;try{for(this.enterOuterAlt(e,1),this.state=508,this.formalParameterArg(),this.state=513,this._errHandler.sync(this),n=this._input.LA(1);n===8;)this.state=509,this.match(H.Comma),this.state=510,this.formalParameterArg(),this.state=515,this._errHandler.sync(this),n=this._input.LA(1)}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}formalParameterArg(){let e=new xl(this,this._ctx,this.state);this.enterRule(e,72,H.RULE_formalParameterArg);let n;try{this.enterOuterAlt(e,1);{switch(this.state=517,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,59,this._ctx)){case 1:this.state=516,this.typeGather();break}this.state=519,this.identifier(),this.state=522,this._errHandler.sync(this),n=this._input.LA(1),n===9&&(this.state=520,this.match(H.Assign),this.state=521,this.singleExpression(0))}}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}arrowMethod(){let e=new gp(this,this._ctx,this.state);this.enterRule(e,74,H.RULE_arrowMethod);let n;try{this.enterOuterAlt(e,1),this.state=525,this._errHandler.sync(this),n=this._input.LA(1),n===36&&(this.state=524,this.match(H.Export)),this.state=527,this.match(H.Method),this.state=528,this.identifier(),this.state=529,this.arrowMethodParameters(),this.state=530,this.match(H.ARROW),this.state=531,this.block()}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}arrowMethodParameters(){let e=new vp(this,this._ctx,this.state);this.enterRule(e,76,H.RULE_arrowMethodParameters);let n;try{this.enterOuterAlt(e,1),this.state=533,this.match(H.OpenParen),this.state=534,this.typeGather(),this.state=535,this.identifier(),this.state=538,this._errHandler.sync(this),n=this._input.LA(1),n===9&&(this.state=536,this.match(H.Assign),this.state=537,this.singleExpression(0)),this.state=542,this._errHandler.sync(this),n=this._input.LA(1),n===8&&(this.state=540,this.match(H.Comma),this.state=541,this.formalParameterList()),this.state=544,this.match(H.CloseParen)}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}typeStatement(){let e=new bp(this,this._ctx,this.state);this.enterRule(e,78,H.RULE_typeStatement);let n;try{this.enterOuterAlt(e,1);{this.state=547,this._errHandler.sync(this),n=this._input.LA(1),n===36&&(this.state=546,this.match(H.Export)),this.state=549,this.match(H.Type),this.state=550,this.identifier(),this.state=551,this.match(H.NEWLINE),this.state=552,this.match(H.INDENT),this.state=554,this._errHandler.sync(this),n=this._input.LA(1);do this.state=553,this.typeElement(),this.state=556,this._errHandler.sync(this),n=this._input.LA(1);while(!(n-40&-32)&&1<<n-40&313345);this.state=558,this.match(H.DEDENT)}}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}typeElement(){let e=new Sl(this,this._ctx,this.state);this.enterRule(e,80,H.RULE_typeElement);let n;try{this.enterOuterAlt(e,1);{switch(this.state=561,this._errHandler.sync(this),n=this._input.LA(1),n===40&&(this.state=560,this.match(H.Varip)),this.state=564,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,67,this._ctx)){case 1:this.state=563,this.typeGather();break}this.state=566,this.identifier(),this.state=569,this._errHandler.sync(this),n=this._input.LA(1),n===9&&(this.state=567,this.match(H.Assign),this.state=568,this.singleExpression(0)),this.state=571,this.match(H.NEWLINE)}}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}assignmentOperator(){let e=new Tl(this,this._ctx,this.state);this.enterRule(e,82,H.RULE_assignmentOperator);let n;try{this.enterOuterAlt(e,1),this.state=573,n=this._input.LA(1),!(n&-32)&&1<<n&1593835520?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}typeMap(){let e=new Al(this,this._ctx,this.state);this.enterRule(e,84,H.RULE_typeMap);try{this.enterOuterAlt(e,1),this.state=575,this.match(H.Map),this.state=576,this.match(H.LessThan),this.state=577,this.typeName(),this.state=578,this.match(H.Comma),this.state=579,this.typeName(),this.state=580,this.match(H.MoreThan)}catch(n){if(n instanceof et)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}typeSeries(){let e=new Ep(this,this._ctx,this.state);this.enterRule(e,86,H.RULE_typeSeries);try{switch(this.enterOuterAlt(e,1),this.state=582,this.typeName(),this.state=586,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,69,this._ctx)){case 1:this.state=583,this.typeName();break;case 2:this.state=584,this.typeArray();break;case 3:this.state=585,this.typeMap();break}}catch(n){if(n instanceof et)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}typeArray(){let e=new Cl(this,this._ctx,this.state);this.enterRule(e,88,H.RULE_typeArray);try{switch(this.state=597,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,70,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=588,this.typeName(),this.state=589,this.match(H.LessThan),this.state=590,this.typeName(),this.state=591,this.match(H.MoreThan);break;case 2:this.enterOuterAlt(e,2),this.state=593,this.typeName(),this.state=594,this.match(H.OpenBracket),this.state=595,this.match(H.CloseBracket);break}}catch(n){if(n instanceof et)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}typeGather(){let e=new qo(this,this._ctx,this.state);this.enterRule(e,90,H.RULE_typeGather);try{switch(this.state=603,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,71,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=599,this.typeName();break;case 2:this.enterOuterAlt(e,2),this.state=600,this.typeArray();break;case 3:this.enterOuterAlt(e,3),this.state=601,this.typeMap();break;case 4:this.enterOuterAlt(e,4),this.state=602,this.typeSeries();break}}catch(n){if(n instanceof et)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}identifier(){let e=new xn(this,this._ctx,this.state);this.enterRule(e,92,H.RULE_identifier);let n;try{this.enterOuterAlt(e,1),this.state=605,n=this._input.LA(1),!(n-51&-32)&&1<<n-51&153?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}typeName(){let e=new Ei(this,this._ctx,this.state);this.enterRule(e,94,H.RULE_typeName);let n;try{this.enterOuterAlt(e,1),this.state=607,this.identifier(),this.state=610,this._errHandler.sync(this),n=this._input.LA(1),n===3&&(this.state=608,this.match(H.Point),this.state=609,this.identifier())}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}name(){let e=new _u(this,this._ctx,this.state);this.enterRule(e,96,H.RULE_name);try{let n;switch(this.state=633,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,76,this._ctx)){case 1:this.enterOuterAlt(e,1);{for(this.state=620,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,74,this._ctx);n!==2&&n!==Pr.INVALID_ALT_NUMBER;){if(n===1){switch(this.state=614,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,73,this._ctx)){case 1:this.state=612,this.identifier();break;case 2:this.state=613,this.methodElement();break}this.state=616,this.match(H.Point)}this.state=622,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,74,this._ctx)}this.state=623,this.identifier()}break;case 2:this.enterOuterAlt(e,2);{this.state=624,this.match(H.OpenParen),this.state=625,this.singleExpression(0),this.state=626,this.match(H.CloseParen),this.state=629,this._errHandler.sync(this),n=1;do{switch(n){case 1:this.state=627,this.match(H.Point),this.state=628,this.identifier();break;default:throw new bi(this)}this.state=631,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,75,this._ctx)}while(n!==2&&n!==Pr.INVALID_ALT_NUMBER)}break}}catch(n){if(n instanceof et)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}enumStatement(){let e=new xp(this,this._ctx,this.state);this.enterRule(e,98,H.RULE_enumStatement);let n;try{this.enterOuterAlt(e,1);{this.state=636,this._errHandler.sync(this),n=this._input.LA(1),n===36&&(this.state=635,this.match(H.Export)),this.state=638,this.match(H.Enum),this.state=639,this.identifier(),this.state=640,this.match(H.NEWLINE),this.state=641,this.match(H.INDENT),this.state=643,this._errHandler.sync(this),n=this._input.LA(1);do this.state=642,this.enumElement(),this.state=645,this._errHandler.sync(this),n=this._input.LA(1);while(!(n-51&-32)&&1<<n-51&153);this.state=647,this.match(H.DEDENT)}}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}enumElement(){let e=new Dl(this,this._ctx,this.state);this.enterRule(e,100,H.RULE_enumElement);let n;try{this.enterOuterAlt(e,1),this.state=649,this.identifier(),this.state=652,this._errHandler.sync(this),n=this._input.LA(1),n===9&&(this.state=650,this.match(H.Assign),this.state=651,this.match(H.StringLiteral)),this.state=654,this.match(H.NEWLINE)}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}sempred(e,n,r){switch(n){case 17:return this.singleExpression_sempred(e,r)}return!0}singleExpression_sempred(e,n){switch(n){case 0:return this.precpred(this._ctx,10);case 1:return this.precpred(this._ctx,9);case 2:return this.precpred(this._ctx,8);case 3:return this.precpred(this._ctx,7);case 4:return this.precpred(this._ctx,6);case 5:return this.precpred(this._ctx,5);case 6:return this.precpred(this._ctx,4);case 7:return this.precpred(this._ctx,13)}return!0}static get _ATN(){return H.__ATN||(H.__ATN=new ep().deserialize(H._serializedATN)),H.__ATN}};I(H,"INDENT",1),I(H,"DEDENT",2),I(H,"Point",3),I(H,"OpenBracket",4),I(H,"CloseBracket",5),I(H,"OpenParen",6),I(H,"CloseParen",7),I(H,"Comma",8),I(H,"Assign",9),I(H,"QuestionMark",10),I(H,"Colon",11),I(H,"Plus",12),I(H,"Minus",13),I(H,"Multiply",14),I(H,"Divide",15),I(H,"Modulus",16),I(H,"Hashtag",17),I(H,"LessThan",18),I(H,"MoreThan",19),I(H,"LessThanEquals",20),I(H,"GreaterThanEquals",21),I(H,"Equals_",22),I(H,"NotEquals",23),I(H,"MultiplyAssign",24),I(H,"DivideAssign",25),I(H,"ModulusAssign",26),I(H,"PlusAssign",27),I(H,"MinusAssign",28),I(H,"ARROW",29),I(H,"ColonEquals",30),I(H,"BooleanLiteral",31),I(H,"IntegerLiteral",32),I(H,"DecimalLiteral",33),I(H,"Break",34),I(H,"And",35),I(H,"Export",36),I(H,"For",37),I(H,"Var",38),I(H,"Continue",39),I(H,"Varip",40),I(H,"Switch",41),I(H,"While",42),I(H,"If",43),I(H,"In",44),I(H,"Or",45),I(H,"Not",46),I(H,"Method",47),I(H,"Else",48),I(H,"To",49),I(H,"By",50),I(H,"Type",51),I(H,"Import",52),I(H,"As",53),I(H,"Enum",54),I(H,"Map",55),I(H,"ColorLiteral",56),I(H,"StringLiteral",57),I(H,"Identifier",58),I(H,"HIDDEN_",59),I(H,"COMMENT_",60),I(H,"NEWLINE",61),I(H,"EOF",rp.EOF),I(H,"RULE_program",0),I(H,"RULE_globalStmt",1),I(H,"RULE_blockStmt",2),I(H,"RULE_stmt",3),I(H,"RULE_simpleStmt",4),I(H,"RULE_flowStmt",5),I(H,"RULE_block",6),I(H,"RULE_blockLine",7),I(H,"RULE_variableDeclarationStmt",8),I(H,"RULE_variableDeclarationList",9),I(H,"RULE_varModifier",10),I(H,"RULE_blockSequence",11),I(H,"RULE_expressionSequence",12),I(H,"RULE_expressionBlockSequence",13),I(H,"RULE_varBlockStmt",14),I(H,"RULE_varArrayDeclaration",15),I(H,"RULE_blockExpression",16),I(H,"RULE_singleExpression",17),I(H,"RULE_brackethesized",18),I(H,"RULE_arguments",19),I(H,"RULE_argument",20),I(H,"RULE_ifStatement",21),I(H,"RULE_forStatement",22),I(H,"RULE_switchStatement",23),I(H,"RULE_caseClause",24),I(H,"RULE_defaultCaluse",25),I(H,"RULE_whileStatement",26),I(H,"RULE_importStmt",27),I(H,"RULE_importElement",28),I(H,"RULE_literal",29),I(H,"RULE_methodStmt",30),I(H,"RULE_methodElement",31),I(H,"RULE_methodName",32),I(H,"RULE_arrowFunction",33),I(H,"RULE_arrowFunctionParameters",34),I(H,"RULE_formalParameterList",35),I(H,"RULE_formalParameterArg",36),I(H,"RULE_arrowMethod",37),I(H,"RULE_arrowMethodParameters",38),I(H,"RULE_typeStatement",39),I(H,"RULE_typeElement",40),I(H,"RULE_assignmentOperator",41),I(H,"RULE_typeMap",42),I(H,"RULE_typeSeries",43),I(H,"RULE_typeArray",44),I(H,"RULE_typeGather",45),I(H,"RULE_identifier",46),I(H,"RULE_typeName",47),I(H,"RULE_name",48),I(H,"RULE_enumStatement",49),I(H,"RULE_enumElement",50),I(H,"literalNames",[null,null,null,"'.'","'['","']'","'('","')'","','","'='","'?'","':'","'+'","'-'","'*'","'/'","'%'","'#'","'<'","'>'","'<='","'>='","'=='","'!='","'*='","'/='","'%='","'+='","'-='","'=>'","':='",null,null,null,"'break'","'and'","'export'","'for'","'var'","'continue'","'varip'","'switch'","'while'","'if'","'in'","'or'","'not'","'method'","'else'","'to'","'by'","'type'","'import'","'as'","'enum'","'map'"]),I(H,"symbolicNames",[null,"INDENT","DEDENT","Point","OpenBracket","CloseBracket","OpenParen","CloseParen","Comma","Assign","QuestionMark","Colon","Plus","Minus","Multiply","Divide","Modulus","Hashtag","LessThan","MoreThan","LessThanEquals","GreaterThanEquals","Equals_","NotEquals","MultiplyAssign","DivideAssign","ModulusAssign","PlusAssign","MinusAssign","ARROW","ColonEquals","BooleanLiteral","IntegerLiteral","DecimalLiteral","Break","And","Export","For","Var","Continue","Varip","Switch","While","If","In","Or","Not","Method","Else","To","By","Type","Import","As","Enum","Map","ColorLiteral","StringLiteral","Identifier","HIDDEN_","COMMENT_","NEWLINE"]),I(H,"ruleNames",["program","globalStmt","blockStmt","stmt","simpleStmt","flowStmt","block","blockLine","variableDeclarationStmt","variableDeclarationList","varModifier","blockSequence","expressionSequence","expressionBlockSequence","varBlockStmt","varArrayDeclaration","blockExpression","singleExpression","brackethesized","arguments","argument","ifStatement","forStatement","switchStatement","caseClause","defaultCaluse","whileStatement","importStmt","importElement","literal","methodStmt","methodElement","methodName","arrowFunction","arrowFunctionParameters","formalParameterList","formalParameterArg","arrowMethod","arrowMethodParameters","typeStatement","typeElement","assignmentOperator","typeMap","typeSeries","typeArray","typeGather","identifier","typeName","name","enumStatement","enumElement"]),I(H,"_serializedATN",[4,1,61,657,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5,2,6,7,6,2,7,7,7,2,8,7,8,2,9,7,9,2,10,7,10,2,11,7,11,2,12,7,12,2,13,7,13,2,14,7,14,2,15,7,15,2,16,7,16,2,17,7,17,2,18,7,18,2,19,7,19,2,20,7,20,2,21,7,21,2,22,7,22,2,23,7,23,2,24,7,24,2,25,7,25,2,26,7,26,2,27,7,27,2,28,7,28,2,29,7,29,2,30,7,30,2,31,7,31,2,32,7,32,2,33,7,33,2,34,7,34,2,35,7,35,2,36,7,36,2,37,7,37,2,38,7,38,2,39,7,39,2,40,7,40,2,41,7,41,2,42,7,42,2,43,7,43,2,44,7,44,2,45,7,45,2,46,7,46,2,47,7,47,2,48,7,48,2,49,7,49,2,50,7,50,1,0,1,0,5,0,105,8,0,10,0,12,0,108,9,0,1,0,1,0,1,1,1,1,3,1,114,8,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,1,124,8,1,1,2,1,2,1,2,5,2,129,8,2,10,2,12,2,132,9,2,1,2,1,2,3,2,136,8,2,1,3,1,3,3,3,140,8,3,1,3,1,3,1,3,3,3,145,8,3,1,4,1,4,1,4,1,4,3,4,151,8,4,1,5,1,5,1,6,1,6,3,6,157,8,6,1,6,1,6,1,6,3,6,162,8,6,1,7,1,7,1,7,4,7,167,8,7,11,7,12,7,168,1,7,1,7,1,8,1,8,3,8,175,8,8,1,8,1,8,1,8,3,8,180,8,8,5,8,182,8,8,10,8,12,8,185,9,8,1,9,1,9,1,9,1,9,1,9,1,9,1,9,1,9,3,9,195,8,9,1,10,1,10,1,11,1,11,3,11,201,8,11,1,11,1,11,1,11,3,11,206,8,11,5,11,208,8,11,10,11,12,11,211,9,11,1,12,1,12,1,12,5,12,216,8,12,10,12,12,12,219,9,12,1,13,1,13,3,13,223,8,13,1,13,1,13,5,13,227,8,13,10,13,12,13,230,9,13,1,13,1,13,3,13,234,8,13,1,14,1,14,1,14,1,14,1,14,1,14,3,14,242,8,14,1,14,1,14,1,15,3,15,247,8,15,1,15,3,15,250,8,15,1,15,1,15,1,15,1,15,1,15,5,15,257,8,15,10,15,12,15,260,9,15,1,15,1,15,3,15,264,8,15,1,16,1,16,1,16,1,16,3,16,270,8,16,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,3,17,284,8,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,5,17,315,8,17,10,17,12,17,318,9,17,1,18,1,18,1,18,1,18,1,19,1,19,1,19,1,19,5,19,328,8,19,10,19,12,19,331,9,19,1,19,3,19,334,8,19,3,19,336,8,19,1,19,1,19,1,20,1,20,1,20,3,20,343,8,20,1,20,1,20,3,20,347,8,20,1,21,1,21,1,21,1,21,1,21,1,21,1,21,1,21,5,21,357,8,21,10,21,12,21,360,9,21,1,21,1,21,3,21,364,8,21,1,22,1,22,3,22,368,8,22,1,22,3,22,371,8,22,1,22,1,22,1,22,1,22,1,22,1,22,1,22,3,22,380,8,22,1,22,1,22,1,22,1,22,1,22,1,22,1,22,1,22,1,22,1,22,3,22,392,8,22,1,22,1,22,1,22,1,22,3,22,398,8,22,1,23,1,23,3,23,402,8,23,1,23,1,23,1,23,4,23,407,8,23,11,23,12,23,408,1,23,5,23,412,8,23,10,23,12,23,415,9,23,1,23,3,23,418,8,23,1,23,1,23,1,24,1,24,1,24,1,24,1,25,1,25,1,25,1,26,1,26,1,26,1,26,1,27,1,27,1,27,5,27,436,8,27,10,27,12,27,439,9,27,1,27,3,27,442,8,27,1,27,1,27,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,3,28,454,8,28,1,29,1,29,1,30,1,30,1,30,5,30,461,8,30,10,30,12,30,464,9,30,1,31,1,31,1,31,1,32,1,32,1,32,5,32,472,8,32,10,32,12,32,475,9,32,1,32,1,32,1,32,1,32,1,32,3,32,482,8,32,1,32,1,32,1,32,1,32,1,32,3,32,489,8,32,1,32,1,32,3,32,493,8,32,1,33,3,33,496,8,33,1,33,1,33,1,33,1,33,1,33,1,34,1,34,3,34,505,8,34,1,34,1,34,1,35,1,35,1,35,5,35,512,8,35,10,35,12,35,515,9,35,1,36,3,36,518,8,36,1,36,1,36,1,36,3,36,523,8,36,1,37,3,37,526,8,37,1,37,1,37,1,37,1,37,1,37,1,37,1,38,1,38,1,38,1,38,1,38,3,38,539,8,38,1,38,1,38,3,38,543,8,38,1,38,1,38,1,39,3,39,548,8,39,1,39,1,39,1,39,1,39,1,39,4,39,555,8,39,11,39,12,39,556,1,39,1,39,1,40,3,40,562,8,40,1,40,3,40,565,8,40,1,40,1,40,1,40,3,40,570,8,40,1,40,1,40,1,41,1,41,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,43,1,43,1,43,1,43,3,43,587,8,43,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,3,44,598,8,44,1,45,1,45,1,45,1,45,3,45,604,8,45,1,46,1,46,1,47,1,47,1,47,3,47,611,8,47,1,48,1,48,3,48,615,8,48,1,48,1,48,5,48,619,8,48,10,48,12,48,622,9,48,1,48,1,48,1,48,1,48,1,48,1,48,4,48,630,8,48,11,48,12,48,631,3,48,634,8,48,1,49,3,49,637,8,49,1,49,1,49,1,49,1,49,1,49,4,49,644,8,49,11,49,12,49,645,1,49,1,49,1,50,1,50,1,50,3,50,653,8,50,1,50,1,50,1,50,0,1,34,51,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,0,9,2,0,34,34,39,39,2,0,38,38,40,40,1,0,12,13,1,0,14,16,1,0,18,21,1,0,22,23,2,0,31,33,56,57,2,0,24,28,30,30,3,0,51,51,54,55,58,58,707,0,106,1,0,0,0,2,123,1,0,0,0,4,130,1,0,0,0,6,144,1,0,0,0,8,150,1,0,0,0,10,152,1,0,0,0,12,161,1,0,0,0,14,163,1,0,0,0,16,174,1,0,0,0,18,194,1,0,0,0,20,196,1,0,0,0,22,200,1,0,0,0,24,212,1,0,0,0,26,228,1,0,0,0,28,241,1,0,0,0,30,263,1,0,0,0,32,269,1,0,0,0,34,283,1,0,0,0,36,319,1,0,0,0,38,323,1,0,0,0,40,342,1,0,0,0,42,348,1,0,0,0,44,397,1,0,0,0,46,399,1,0,0,0,48,421,1,0,0,0,50,425,1,0,0,0,52,428,1,0,0,0,54,432,1,0,0,0,56,445,1,0,0,0,58,455,1,0,0,0,60,457,1,0,0,0,62,465,1,0,0,0,64,481,1,0,0,0,66,495,1,0,0,0,68,502,1,0,0,0,70,508,1,0,0,0,72,517,1,0,0,0,74,525,1,0,0,0,76,533,1,0,0,0,78,547,1,0,0,0,80,561,1,0,0,0,82,573,1,0,0,0,84,575,1,0,0,0,86,582,1,0,0,0,88,597,1,0,0,0,90,603,1,0,0,0,92,605,1,0,0,0,94,607,1,0,0,0,96,633,1,0,0,0,98,636,1,0,0,0,100,649,1,0,0,0,102,105,5,61,0,0,103,105,3,2,1,0,104,102,1,0,0,0,104,103,1,0,0,0,105,108,1,0,0,0,106,104,1,0,0,0,106,107,1,0,0,0,107,109,1,0,0,0,108,106,1,0,0,0,109,110,5,0,0,1,110,1,1,0,0,0,111,113,3,16,8,0,112,114,5,8,0,0,113,112,1,0,0,0,113,114,1,0,0,0,114,115,1,0,0,0,115,116,5,61,0,0,116,124,1,0,0,0,117,124,3,4,2,0,118,124,3,54,27,0,119,124,3,66,33,0,120,124,3,74,37,0,121,124,3,78,39,0,122,124,3,98,49,0,123,111,1,0,0,0,123,117,1,0,0,0,123,118,1,0,0,0,123,119,1,0,0,0,123,120,1,0,0,0,123,121,1,0,0,0,123,122,1,0,0,0,124,3,1,0,0,0,125,126,3,16,8,0,126,127,5,8,0,0,127,129,1,0,0,0,128,125,1,0,0,0,129,132,1,0,0,0,130,128,1,0,0,0,130,131,1,0,0,0,131,135,1,0,0,0,132,130,1,0,0,0,133,136,3,28,14,0,134,136,3,32,16,0,135,133,1,0,0,0,135,134,1,0,0,0,136,5,1,0,0,0,137,139,3,8,4,0,138,140,5,8,0,0,139,138,1,0,0,0,139,140,1,0,0,0,140,141,1,0,0,0,141,142,5,61,0,0,142,145,1,0,0,0,143,145,3,26,13,0,144,137,1,0,0,0,144,143,1,0,0,0,145,7,1,0,0,0,146,151,3,24,12,0,147,151,3,22,11,0,148,151,3,36,18,0,149,151,3,10,5,0,150,146,1,0,0,0,150,147,1,0,0,0,150,148,1,0,0,0,150,149,1,0,0,0,151,9,1,0,0,0,152,153,7,0,0,0,153,11,1,0,0,0,154,156,3,8,4,0,155,157,5,8,0,0,156,155,1,0,0,0,156,157,1,0,0,0,157,158,1,0,0,0,158,159,5,61,0,0,159,162,1,0,0,0,160,162,3,14,7,0,161,154,1,0,0,0,161,160,1,0,0,0,162,13,1,0,0,0,163,164,5,61,0,0,164,166,5,1,0,0,165,167,3,6,3,0,166,165,1,0,0,0,167,168,1,0,0,0,168,166,1,0,0,0,168,169,1,0,0,0,169,170,1,0,0,0,170,171,5,2,0,0,171,15,1,0,0,0,172,175,3,60,30,0,173,175,3,18,9,0,174,172,1,0,0,0,174,173,1,0,0,0,175,183,1,0,0,0,176,179,5,8,0,0,177,180,3,60,30,0,178,180,3,18,9,0,179,177,1,0,0,0,179,178,1,0,0,0,180,182,1,0,0,0,181,176,1,0,0,0,182,185,1,0,0,0,183,181,1,0,0,0,183,184,1,0,0,0,184,17,1,0,0,0,185,183,1,0,0,0,186,187,3,30,15,0,187,188,5,9,0,0,188,189,3,34,17,0,189,195,1,0,0,0,190,191,3,96,48,0,191,192,3,82,41,0,192,193,3,34,17,0,193,195,1,0,0,0,194,186,1,0,0,0,194,190,1,0,0,0,195,19,1,0,0,0,196,197,7,1,0,0,197,21,1,0,0,0,198,201,3,34,17,0,199,201,3,18,9,0,200,198,1,0,0,0,200,199,1,0,0,0,201,209,1,0,0,0,202,205,5,8,0,0,203,206,3,34,17,0,204,206,3,18,9,0,205,203,1,0,0,0,205,204,1,0,0,0,206,208,1,0,0,0,207,202,1,0,0,0,208,211,1,0,0,0,209,207,1,0,0,0,209,210,1,0,0,0,210,23,1,0,0,0,211,209,1,0,0,0,212,217,3,34,17,0,213,214,5,8,0,0,214,216,3,34,17,0,215,213,1,0,0,0,216,219,1,0,0,0,217,215,1,0,0,0,217,218,1,0,0,0,218,25,1,0,0,0,219,217,1,0,0,0,220,223,3,34,17,0,221,223,3,18,9,0,222,220,1,0,0,0,222,221,1,0,0,0,223,224,1,0,0,0,224,225,5,8,0,0,225,227,1,0,0,0,226,222,1,0,0,0,227,230,1,0,0,0,228,226,1,0,0,0,228,229,1,0,0,0,229,233,1,0,0,0,230,228,1,0,0,0,231,234,3,28,14,0,232,234,3,32,16,0,233,231,1,0,0,0,233,232,1,0,0,0,234,27,1,0,0,0,235,236,3,30,15,0,236,237,5,9,0,0,237,242,1,0,0,0,238,239,3,96,48,0,239,240,3,82,41,0,240,242,1,0,0,0,241,235,1,0,0,0,241,238,1,0,0,0,242,243,1,0,0,0,243,244,3,32,16,0,244,29,1,0,0,0,245,247,3,20,10,0,246,245,1,0,0,0,246,247,1,0,0,0,247,249,1,0,0,0,248,250,3,90,45,0,249,248,1,0,0,0,249,250,1,0,0,0,250,251,1,0,0,0,251,264,3,92,46,0,252,253,5,4,0,0,253,258,3,92,46,0,254,255,5,8,0,0,255,257,3,92,46,0,256,254,1,0,0,0,257,260,1,0,0,0,258,256,1,0,0,0,258,259,1,0,0,0,259,261,1,0,0,0,260,258,1,0,0,0,261,262,5,5,0,0,262,264,1,0,0,0,263,246,1,0,0,0,263,252,1,0,0,0,264,31,1,0,0,0,265,270,3,42,21,0,266,270,3,44,22,0,267,270,3,52,26,0,268,270,3,46,23,0,269,265,1,0,0,0,269,266,1,0,0,0,269,267,1,0,0,0,269,268,1,0,0,0,270,33,1,0,0,0,271,272,6,17,-1,0,272,284,3,60,30,0,273,274,7,2,0,0,274,284,3,34,17,12,275,276,5,46,0,0,276,284,3,34,17,11,277,284,3,96,48,0,278,284,3,58,29,0,279,280,5,6,0,0,280,281,3,34,17,0,281,282,5,7,0,0,282,284,1,0,0,0,283,271,1,0,0,0,283,273,1,0,0,0,283,275,1,0,0,0,283,277,1,0,0,0,283,278,1,0,0,0,283,279,1,0,0,0,284,316,1,0,0,0,285,286,10,10,0,0,286,287,7,3,0,0,287,315,3,34,17,11,288,289,10,9,0,0,289,290,7,2,0,0,290,315,3,34,17,10,291,292,10,8,0,0,292,293,7,4,0,0,293,315,3,34,17,9,294,295,10,7,0,0,295,296,7,5,0,0,296,315,3,34,17,8,297,298,10,6,0,0,298,299,5,35,0,0,299,315,3,34,17,7,300,301,10,5,0,0,301,302,5,45,0,0,302,315,3,34,17,6,303,304,10,4,0,0,304,305,5,10,0,0,305,306,3,34,17,0,306,307,5,11,0,0,307,308,3,34,17,4,308,315,1,0,0,0,309,310,10,13,0,0,310,311,5,4,0,0,311,312,3,34,17,0,312,313,5,5,0,0,313,315,1,0,0,0,314,285,1,0,0,0,314,288,1,0,0,0,314,291,1,0,0,0,314,294,1,0,0,0,314,297,1,0,0,0,314,300,1,0,0,0,314,303,1,0,0,0,314,309,1,0,0,0,315,318,1,0,0,0,316,314,1,0,0,0,316,317,1,0,0,0,317,35,1,0,0,0,318,316,1,0,0,0,319,320,5,4,0,0,320,321,3,24,12,0,321,322,5,5,0,0,322,37,1,0,0,0,323,335,5,6,0,0,324,329,3,40,20,0,325,326,5,8,0,0,326,328,3,40,20,0,327,325,1,0,0,0,328,331,1,0,0,0,329,327,1,0,0,0,329,330,1,0,0,0,330,333,1,0,0,0,331,329,1,0,0,0,332,334,5,8,0,0,333,332,1,0,0,0,333,334,1,0,0,0,334,336,1,0,0,0,335,324,1,0,0,0,335,336,1,0,0,0,336,337,1,0,0,0,337,338,5,7,0,0,338,39,1,0,0,0,339,340,3,92,46,0,340,341,5,9,0,0,341,343,1,0,0,0,342,339,1,0,0,0,342,343,1,0,0,0,343,346,1,0,0,0,344,347,3,34,17,0,345,347,3,36,18,0,346,344,1,0,0,0,346,345,1,0,0,0,347,41,1,0,0,0,348,349,5,43,0,0,349,350,3,34,17,0,350,358,3,14,7,0,351,352,5,48,0,0,352,353,5,43,0,0,353,354,3,34,17,0,354,355,3,14,7,0,355,357,1,0,0,0,356,351,1,0,0,0,357,360,1,0,0,0,358,356,1,0,0,0,358,359,1,0,0,0,359,363,1,0,0,0,360,358,1,0,0,0,361,362,5,48,0,0,362,364,3,14,7,0,363,361,1,0,0,0,363,364,1,0,0,0,364,43,1,0,0,0,365,367,5,37,0,0,366,368,3,20,10,0,367,366,1,0,0,0,367,368,1,0,0,0,368,370,1,0,0,0,369,371,3,90,45,0,370,369,1,0,0,0,370,371,1,0,0,0,371,372,1,0,0,0,372,373,3,92,46,0,373,374,5,9,0,0,374,375,3,34,17,0,375,376,5,49,0,0,376,379,3,34,17,0,377,378,5,50,0,0,378,380,3,34,17,0,379,377,1,0,0,0,379,380,1,0,0,0,380,381,1,0,0,0,381,382,3,14,7,0,382,398,1,0,0,0,383,391,5,37,0,0,384,392,3,92,46,0,385,386,5,4,0,0,386,387,3,92,46,0,387,388,5,8,0,0,388,389,3,92,46,0,389,390,5,5,0,0,390,392,1,0,0,0,391,384,1,0,0,0,391,385,1,0,0,0,392,393,1,0,0,0,393,394,5,44,0,0,394,395,3,34,17,0,395,396,3,14,7,0,396,398,1,0,0,0,397,365,1,0,0,0,397,383,1,0,0,0,398,45,1,0,0,0,399,401,5,41,0,0,400,402,3,34,17,0,401,400,1,0,0,0,401,402,1,0,0,0,402,403,1,0,0,0,403,404,5,61,0,0,404,417,5,1,0,0,405,407,3,48,24,0,406,405,1,0,0,0,407,408,1,0,0,0,408,406,1,0,0,0,408,409,1,0,0,0,409,418,1,0,0,0,410,412,3,48,24,0,411,410,1,0,0,0,412,415,1,0,0,0,413,411,1,0,0,0,413,414,1,0,0,0,414,416,1,0,0,0,415,413,1,0,0,0,416,418,3,50,25,0,417,406,1,0,0,0,417,413,1,0,0,0,418,419,1,0,0,0,419,420,5,2,0,0,420,47,1,0,0,0,421,422,3,34,17,0,422,423,5,29,0,0,423,424,3,12,6,0,424,49,1,0,0,0,425,426,5,29,0,0,426,427,3,12,6,0,427,51,1,0,0,0,428,429,5,42,0,0,429,430,3,34,17,0,430,431,3,14,7,0,431,53,1,0,0,0,432,437,3,56,28,0,433,434,5,8,0,0,434,436,3,56,28,0,435,433,1,0,0,0,436,439,1,0,0,0,437,435,1,0,0,0,437,438,1,0,0,0,438,441,1,0,0,0,439,437,1,0,0,0,440,442,5,8,0,0,441,440,1,0,0,0,441,442,1,0,0,0,442,443,1,0,0,0,443,444,5,61,0,0,444,55,1,0,0,0,445,446,5,52,0,0,446,447,3,92,46,0,447,448,5,15,0,0,448,449,3,92,46,0,449,450,5,15,0,0,450,453,5,32,0,0,451,452,5,53,0,0,452,454,3,92,46,0,453,451,1,0,0,0,453,454,1,0,0,0,454,57,1,0,0,0,455,456,7,6,0,0,456,59,1,0,0,0,457,462,3,62,31,0,458,459,5,3,0,0,459,461,3,62,31,0,460,458,1,0,0,0,461,464,1,0,0,0,462,460,1,0,0,0,462,463,1,0,0,0,463,61,1,0,0,0,464,462,1,0,0,0,465,466,3,64,32,0,466,467,3,38,19,0,467,63,1,0,0,0,468,469,3,92,46,0,469,470,5,3,0,0,470,472,1,0,0,0,471,468,1,0,0,0,472,475,1,0,0,0,473,471,1,0,0,0,473,474,1,0,0,0,474,482,1,0,0,0,475,473,1,0,0,0,476,477,5,6,0,0,477,478,3,34,17,0,478,479,5,7,0,0,479,480,5,3,0,0,480,482,1,0,0,0,481,473,1,0,0,0,481,476,1,0,0,0,482,483,1,0,0,0,483,492,3,92,46,0,484,485,5,18,0,0,485,488,3,94,47,0,486,487,5,8,0,0,487,489,3,94,47,0,488,486,1,0,0,0,488,489,1,0,0,0,489,490,1,0,0,0,490,491,5,19,0,0,491,493,1,0,0,0,492,484,1,0,0,0,492,493,1,0,0,0,493,65,1,0,0,0,494,496,5,36,0,0,495,494,1,0,0,0,495,496,1,0,0,0,496,497,1,0,0,0,497,498,3,92,46,0,498,499,3,68,34,0,499,500,5,29,0,0,500,501,3,12,6,0,501,67,1,0,0,0,502,504,5,6,0,0,503,505,3,70,35,0,504,503,1,0,0,0,504,505,1,0,0,0,505,506,1,0,0,0,506,507,5,7,0,0,507,69,1,0,0,0,508,513,3,72,36,0,509,510,5,8,0,0,510,512,3,72,36,0,511,509,1,0,0,0,512,515,1,0,0,0,513,511,1,0,0,0,513,514,1,0,0,0,514,71,1,0,0,0,515,513,1,0,0,0,516,518,3,90,45,0,517,516,1,0,0,0,517,518,1,0,0,0,518,519,1,0,0,0,519,522,3,92,46,0,520,521,5,9,0,0,521,523,3,34,17,0,522,520,1,0,0,0,522,523,1,0,0,0,523,73,1,0,0,0,524,526,5,36,0,0,525,524,1,0,0,0,525,526,1,0,0,0,526,527,1,0,0,0,527,528,5,47,0,0,528,529,3,92,46,0,529,530,3,76,38,0,530,531,5,29,0,0,531,532,3,12,6,0,532,75,1,0,0,0,533,534,5,6,0,0,534,535,3,90,45,0,535,538,3,92,46,0,536,537,5,9,0,0,537,539,3,34,17,0,538,536,1,0,0,0,538,539,1,0,0,0,539,542,1,0,0,0,540,541,5,8,0,0,541,543,3,70,35,0,542,540,1,0,0,0,542,543,1,0,0,0,543,544,1,0,0,0,544,545,5,7,0,0,545,77,1,0,0,0,546,548,5,36,0,0,547,546,1,0,0,0,547,548,1,0,0,0,548,549,1,0,0,0,549,550,5,51,0,0,550,551,3,92,46,0,551,552,5,61,0,0,552,554,5,1,0,0,553,555,3,80,40,0,554,553,1,0,0,0,555,556,1,0,0,0,556,554,1,0,0,0,556,557,1,0,0,0,557,558,1,0,0,0,558,559,5,2,0,0,559,79,1,0,0,0,560,562,5,40,0,0,561,560,1,0,0,0,561,562,1,0,0,0,562,564,1,0,0,0,563,565,3,90,45,0,564,563,1,0,0,0,564,565,1,0,0,0,565,566,1,0,0,0,566,569,3,92,46,0,567,568,5,9,0,0,568,570,3,34,17,0,569,567,1,0,0,0,569,570,1,0,0,0,570,571,1,0,0,0,571,572,5,61,0,0,572,81,1,0,0,0,573,574,7,7,0,0,574,83,1,0,0,0,575,576,5,55,0,0,576,577,5,18,0,0,577,578,3,94,47,0,578,579,5,8,0,0,579,580,3,94,47,0,580,581,5,19,0,0,581,85,1,0,0,0,582,586,3,94,47,0,583,587,3,94,47,0,584,587,3,88,44,0,585,587,3,84,42,0,586,583,1,0,0,0,586,584,1,0,0,0,586,585,1,0,0,0,587,87,1,0,0,0,588,589,3,94,47,0,589,590,5,18,0,0,590,591,3,94,47,0,591,592,5,19,0,0,592,598,1,0,0,0,593,594,3,94,47,0,594,595,5,4,0,0,595,596,5,5,0,0,596,598,1,0,0,0,597,588,1,0,0,0,597,593,1,0,0,0,598,89,1,0,0,0,599,604,3,94,47,0,600,604,3,88,44,0,601,604,3,84,42,0,602,604,3,86,43,0,603,599,1,0,0,0,603,600,1,0,0,0,603,601,1,0,0,0,603,602,1,0,0,0,604,91,1,0,0,0,605,606,7,8,0,0,606,93,1,0,0,0,607,610,3,92,46,0,608,609,5,3,0,0,609,611,3,92,46,0,610,608,1,0,0,0,610,611,1,0,0,0,611,95,1,0,0,0,612,615,3,92,46,0,613,615,3,62,31,0,614,612,1,0,0,0,614,613,1,0,0,0,615,616,1,0,0,0,616,617,5,3,0,0,617,619,1,0,0,0,618,614,1,0,0,0,619,622,1,0,0,0,620,618,1,0,0,0,620,621,1,0,0,0,621,623,1,0,0,0,622,620,1,0,0,0,623,634,3,92,46,0,624,625,5,6,0,0,625,626,3,34,17,0,626,629,5,7,0,0,627,628,5,3,0,0,628,630,3,92,46,0,629,627,1,0,0,0,630,631,1,0,0,0,631,629,1,0,0,0,631,632,1,0,0,0,632,634,1,0,0,0,633,620,1,0,0,0,633,624,1,0,0,0,634,97,1,0,0,0,635,637,5,36,0,0,636,635,1,0,0,0,636,637,1,0,0,0,637,638,1,0,0,0,638,639,5,54,0,0,639,640,3,92,46,0,640,641,5,61,0,0,641,643,5,1,0,0,642,644,3,100,50,0,643,642,1,0,0,0,644,645,1,0,0,0,645,643,1,0,0,0,645,646,1,0,0,0,646,647,1,0,0,0,647,648,5,2,0,0,648,99,1,0,0,0,649,652,3,92,46,0,650,651,5,9,0,0,651,653,5,57,0,0,652,650,1,0,0,0,652,653,1,0,0,0,653,654,1,0,0,0,654,655,5,61,0,0,655,101,1,0,0,0,80,104,106,113,123,130,135,139,144,150,156,161,168,174,179,183,194,200,205,209,217,222,228,233,241,246,249,258,263,269,283,314,316,329,333,335,342,346,358,363,367,370,379,391,397,401,408,413,417,437,441,453,462,473,481,488,492,495,504,513,517,522,525,538,542,547,556,561,564,569,586,597,603,610,614,620,631,633,636,645,652]),I(H,"__ATN"),I(H,"DecisionsToDFA",H._ATN.decisionToState.map((e,n)=>new tp(e,n)));let j=H;class Vm extends Je{constructor(e,n,r){super(n,r),this.parser=e}EOF(){return this.getToken(j.EOF,0)}NEWLINE_list(){return this.getTokens(j.NEWLINE)}NEWLINE(e){return this.getToken(j.NEWLINE,e)}globalStmt_list(){return this.getTypedRuleContexts(fl)}globalStmt(e){return this.getTypedRuleContext(fl,e)}get ruleIndex(){return j.RULE_program}accept(e){return e.visitProgram?e.visitProgram(this):e.visitChildren(this)}}class fl extends Je{constructor(e,n,r){super(n,r),this.parser=e}variableDeclarationStmt(){return this.getTypedRuleContext(fu,0)}NEWLINE(){return this.getToken(j.NEWLINE,0)}Comma(){return this.getToken(j.Comma,0)}blockStmt(){return this.getTypedRuleContext(ip,0)}importStmt(){return this.getTypedRuleContext(pp,0)}arrowFunction(){return this.getTypedRuleContext(mp,0)}arrowMethod(){return this.getTypedRuleContext(gp,0)}typeStatement(){return this.getTypedRuleContext(bp,0)}enumStatement(){return this.getTypedRuleContext(xp,0)}get ruleIndex(){return j.RULE_globalStmt}accept(e){return e.visitGlobalStmt?e.visitGlobalStmt(this):e.visitChildren(this)}}class ip extends Je{constructor(e,n,r){super(n,r),this.parser=e}varBlockStmt(){return this.getTypedRuleContext(ml,0)}blockExpression(){return this.getTypedRuleContext(hu,0)}variableDeclarationStmt_list(){return this.getTypedRuleContexts(fu)}variableDeclarationStmt(e){return this.getTypedRuleContext(fu,e)}Comma_list(){return this.getTokens(j.Comma)}Comma(e){return this.getToken(j.Comma,e)}get ruleIndex(){return j.RULE_blockStmt}accept(e){return e.visitBlockStmt?e.visitBlockStmt(this):e.visitChildren(this)}}class hl extends Je{constructor(e,n,r){super(n,r),this.parser=e}simpleStmt(){return this.getTypedRuleContext(pl,0)}NEWLINE(){return this.getToken(j.NEWLINE,0)}Comma(){return this.getToken(j.Comma,0)}expressionBlockSequence(){return this.getTypedRuleContext(sp,0)}get ruleIndex(){return j.RULE_stmt}accept(e){return e.visitStmt?e.visitStmt(this):e.visitChildren(this)}}class pl extends Je{constructor(e,n,r){super(n,r),this.parser=e}expressionSequence(){return this.getTypedRuleContext(_l,0)}blockSequence(){return this.getTypedRuleContext(ap,0)}brackethesized(){return this.getTypedRuleContext(yl,0)}flowStmt(){return this.getTypedRuleContext(op,0)}get ruleIndex(){return j.RULE_simpleStmt}accept(e){return e.visitSimpleStmt?e.visitSimpleStmt(this):e.visitChildren(this)}}class op extends Je{constructor(e,n,r){super(n,r),this.parser=e}Break(){return this.getToken(j.Break,0)}Continue(){return this.getToken(j.Continue,0)}get ruleIndex(){return j.RULE_flowStmt}accept(e){return e.visitFlowStmt?e.visitFlowStmt(this):e.visitChildren(this)}}class ls extends Je{constructor(e,n,r){super(n,r),this.parser=e}simpleStmt(){return this.getTypedRuleContext(pl,0)}NEWLINE(){return this.getToken(j.NEWLINE,0)}Comma(){return this.getToken(j.Comma,0)}blockLine(){return this.getTypedRuleContext(Eo,0)}get ruleIndex(){return j.RULE_block}accept(e){return e.visitBlock?e.visitBlock(this):e.visitChildren(this)}}class Eo extends Je{constructor(e,n,r){super(n,r),this.parser=e}NEWLINE(){return this.getToken(j.NEWLINE,0)}INDENT(){return this.getToken(j.INDENT,0)}DEDENT(){return this.getToken(j.DEDENT,0)}stmt_list(){return this.getTypedRuleContexts(hl)}stmt(e){return this.getTypedRuleContext(hl,e)}get ruleIndex(){return j.RULE_blockLine}accept(e){return e.visitBlockLine?e.visitBlockLine(this):e.visitChildren(this)}}class fu extends Je{constructor(e,n,r){super(n,r),this.parser=e}methodStmt_list(){return this.getTypedRuleContexts(du)}methodStmt(e){return this.getTypedRuleContext(du,e)}variableDeclarationList_list(){return this.getTypedRuleContexts(Mi)}variableDeclarationList(e){return this.getTypedRuleContext(Mi,e)}Comma_list(){return this.getTokens(j.Comma)}Comma(e){return this.getToken(j.Comma,e)}get ruleIndex(){return j.RULE_variableDeclarationStmt}accept(e){return e.visitVariableDeclarationStmt?e.visitVariableDeclarationStmt(this):e.visitChildren(this)}}class Mi extends Je{constructor(e,n,r){super(n,r),this.parser=e}get ruleIndex(){return j.RULE_variableDeclarationList}copyFrom(e){super.copyFrom(e)}}class jm extends Mi{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}name(){return this.getTypedRuleContext(_u,0)}assignmentOperator(){return this.getTypedRuleContext(Tl,0)}singleExpression(){return this.getTypedRuleContext(je,0)}accept(e){return e.visitAgainAssign?e.visitAgainAssign(this):e.visitChildren(this)}}class Hm extends Mi{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}varArrayDeclaration(){return this.getTypedRuleContext(fs,0)}Assign(){return this.getToken(j.Assign,0)}singleExpression(){return this.getTypedRuleContext(je,0)}accept(e){return e.visitDeclareAssign?e.visitDeclareAssign(this):e.visitChildren(this)}}class dl extends Je{constructor(e,n,r){super(n,r),this.parser=e}Var(){return this.getToken(j.Var,0)}Varip(){return this.getToken(j.Varip,0)}get ruleIndex(){return j.RULE_varModifier}accept(e){return e.visitVarModifier?e.visitVarModifier(this):e.visitChildren(this)}}class ap extends Je{constructor(e,n,r){super(n,r),this.parser=e}singleExpression_list(){return this.getTypedRuleContexts(je)}singleExpression(e){return this.getTypedRuleContext(je,e)}variableDeclarationList_list(){return this.getTypedRuleContexts(Mi)}variableDeclarationList(e){return this.getTypedRuleContext(Mi,e)}Comma_list(){return this.getTokens(j.Comma)}Comma(e){return this.getToken(j.Comma,e)}get ruleIndex(){return j.RULE_blockSequence}accept(e){return e.visitBlockSequence?e.visitBlockSequence(this):e.visitChildren(this)}}class _l extends Je{constructor(e,n,r){super(n,r),this.parser=e}singleExpression_list(){return this.getTypedRuleContexts(je)}singleExpression(e){return this.getTypedRuleContext(je,e)}Comma_list(){return this.getTokens(j.Comma)}Comma(e){return this.getToken(j.Comma,e)}get ruleIndex(){return j.RULE_expressionSequence}accept(e){return e.visitExpressionSequence?e.visitExpressionSequence(this):e.visitChildren(this)}}class sp extends Je{constructor(e,n,r){super(n,r),this.parser=e}varBlockStmt(){return this.getTypedRuleContext(ml,0)}blockExpression(){return this.getTypedRuleContext(hu,0)}Comma_list(){return this.getTokens(j.Comma)}Comma(e){return this.getToken(j.Comma,e)}singleExpression_list(){return this.getTypedRuleContexts(je)}singleExpression(e){return this.getTypedRuleContext(je,e)}variableDeclarationList_list(){return this.getTypedRuleContexts(Mi)}variableDeclarationList(e){return this.getTypedRuleContext(Mi,e)}get ruleIndex(){return j.RULE_expressionBlockSequence}accept(e){return e.visitExpressionBlockSequence?e.visitExpressionBlockSequence(this):e.visitChildren(this)}}class ml extends Je{constructor(e,n,r){super(n,r),this.parser=e}blockExpression(){return this.getTypedRuleContext(hu,0)}varArrayDeclaration(){return this.getTypedRuleContext(fs,0)}Assign(){return this.getToken(j.Assign,0)}name(){return this.getTypedRuleContext(_u,0)}assignmentOperator(){return this.getTypedRuleContext(Tl,0)}get ruleIndex(){return j.RULE_varBlockStmt}accept(e){return e.visitVarBlockStmt?e.visitVarBlockStmt(this):e.visitChildren(this)}}class fs extends Je{constructor(e,n,r){super(n,r),this.parser=e}get ruleIndex(){return j.RULE_varArrayDeclaration}copyFrom(e){super.copyFrom(e)}}class $m extends fs{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}OpenBracket(){return this.getToken(j.OpenBracket,0)}identifier_list(){return this.getTypedRuleContexts(xn)}identifier(e){return this.getTypedRuleContext(xn,e)}CloseBracket(){return this.getToken(j.CloseBracket,0)}Comma_list(){return this.getTokens(j.Comma)}Comma(e){return this.getToken(j.Comma,e)}accept(e){return e.visitVarMultiple?e.visitVarMultiple(this):e.visitChildren(this)}}class Gm extends fs{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}identifier(){return this.getTypedRuleContext(xn,0)}varModifier(){return this.getTypedRuleContext(dl,0)}typeGather(){return this.getTypedRuleContext(qo,0)}accept(e){return e.visitVarSingle?e.visitVarSingle(this):e.visitChildren(this)}}class hu extends Je{constructor(e,n,r){super(n,r),this.parser=e}ifStatement(){return this.getTypedRuleContext(cp,0)}forStatement(){return this.getTypedRuleContext(pu,0)}whileStatement(){return this.getTypedRuleContext(hp,0)}switchStatement(){return this.getTypedRuleContext(lp,0)}get ruleIndex(){return j.RULE_blockExpression}accept(e){return e.visitBlockExpression?e.visitBlockExpression(this):e.visitChildren(this)}}class je extends Je{constructor(e,n,r){super(n,r),this.parser=e}get ruleIndex(){return j.RULE_singleExpression}copyFrom(e){super.copyFrom(e)}}class zm extends je{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}OpenParen(){return this.getToken(j.OpenParen,0)}singleExpression(){return this.getTypedRuleContext(je,0)}CloseParen(){return this.getToken(j.CloseParen,0)}accept(e){return e.visitParenthesizedExpression?e.visitParenthesizedExpression(this):e.visitChildren(this)}}class Km extends je{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}singleExpression_list(){return this.getTypedRuleContexts(je)}singleExpression(e){return this.getTypedRuleContext(je,e)}Plus(){return this.getToken(j.Plus,0)}Minus(){return this.getToken(j.Minus,0)}accept(e){return e.visitAdditiveExpression?e.visitAdditiveExpression(this):e.visitChildren(this)}}class Wm extends je{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}singleExpression_list(){return this.getTypedRuleContexts(je)}singleExpression(e){return this.getTypedRuleContext(je,e)}LessThan(){return this.getToken(j.LessThan,0)}MoreThan(){return this.getToken(j.MoreThan,0)}LessThanEquals(){return this.getToken(j.LessThanEquals,0)}GreaterThanEquals(){return this.getToken(j.GreaterThanEquals,0)}accept(e){return e.visitRelationalExpression?e.visitRelationalExpression(this):e.visitChildren(this)}}class qm extends je{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}singleExpression_list(){return this.getTypedRuleContexts(je)}singleExpression(e){return this.getTypedRuleContext(je,e)}QuestionMark(){return this.getToken(j.QuestionMark,0)}Colon(){return this.getToken(j.Colon,0)}accept(e){return e.visitTernaryExpression?e.visitTernaryExpression(this):e.visitChildren(this)}}class Xm extends je{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}singleExpression_list(){return this.getTypedRuleContexts(je)}singleExpression(e){return this.getTypedRuleContext(je,e)}And(){return this.getToken(j.And,0)}accept(e){return e.visitLogicalAndExpression?e.visitLogicalAndExpression(this):e.visitChildren(this)}}class Ym extends je{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}name(){return this.getTypedRuleContext(_u,0)}accept(e){return e.visitNameExpression?e.visitNameExpression(this):e.visitChildren(this)}}class Zm extends je{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}literal(){return this.getTypedRuleContext(dp,0)}accept(e){return e.visitLiteralExpression?e.visitLiteralExpression(this):e.visitChildren(this)}}class Qm extends je{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}singleExpression_list(){return this.getTypedRuleContexts(je)}singleExpression(e){return this.getTypedRuleContext(je,e)}Or(){return this.getToken(j.Or,0)}accept(e){return e.visitLogicalOrExpression?e.visitLogicalOrExpression(this):e.visitChildren(this)}}class Jm extends je{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}singleExpression(){return this.getTypedRuleContext(je,0)}Minus(){return this.getToken(j.Minus,0)}Plus(){return this.getToken(j.Plus,0)}accept(e){return e.visitUnaryExpression?e.visitUnaryExpression(this):e.visitChildren(this)}}class ey extends je{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}Not(){return this.getToken(j.Not,0)}singleExpression(){return this.getTypedRuleContext(je,0)}accept(e){return e.visitNotExpression?e.visitNotExpression(this):e.visitChildren(this)}}class ty extends je{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}singleExpression_list(){return this.getTypedRuleContexts(je)}singleExpression(e){return this.getTypedRuleContext(je,e)}OpenBracket(){return this.getToken(j.OpenBracket,0)}CloseBracket(){return this.getToken(j.CloseBracket,0)}accept(e){return e.visitMemberIndexExpression?e.visitMemberIndexExpression(this):e.visitChildren(this)}}class ny extends je{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}methodStmt(){return this.getTypedRuleContext(du,0)}accept(e){return e.visitMethodExpression?e.visitMethodExpression(this):e.visitChildren(this)}}class ry extends je{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}singleExpression_list(){return this.getTypedRuleContexts(je)}singleExpression(e){return this.getTypedRuleContext(je,e)}Equals_(){return this.getToken(j.Equals_,0)}NotEquals(){return this.getToken(j.NotEquals,0)}accept(e){return e.visitEqualityExpression?e.visitEqualityExpression(this):e.visitChildren(this)}}class iy extends je{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}singleExpression_list(){return this.getTypedRuleContexts(je)}singleExpression(e){return this.getTypedRuleContext(je,e)}Multiply(){return this.getToken(j.Multiply,0)}Divide(){return this.getToken(j.Divide,0)}Modulus(){return this.getToken(j.Modulus,0)}accept(e){return e.visitMultiplicativeExpression?e.visitMultiplicativeExpression(this):e.visitChildren(this)}}class yl extends Je{constructor(e,n,r){super(n,r),this.parser=e}OpenBracket(){return this.getToken(j.OpenBracket,0)}expressionSequence(){return this.getTypedRuleContext(_l,0)}CloseBracket(){return this.getToken(j.CloseBracket,0)}get ruleIndex(){return j.RULE_brackethesized}accept(e){return e.visitBrackethesized?e.visitBrackethesized(this):e.visitChildren(this)}}class up extends Je{constructor(e,n,r){super(n,r),this.parser=e}OpenParen(){return this.getToken(j.OpenParen,0)}CloseParen(){return this.getToken(j.CloseParen,0)}argument_list(){return this.getTypedRuleContexts(gl)}argument(e){return this.getTypedRuleContext(gl,e)}Comma_list(){return this.getTokens(j.Comma)}Comma(e){return this.getToken(j.Comma,e)}get ruleIndex(){return j.RULE_arguments}accept(e){return e.visitArguments?e.visitArguments(this):e.visitChildren(this)}}class gl extends Je{constructor(e,n,r){super(n,r),this.parser=e}singleExpression(){return this.getTypedRuleContext(je,0)}brackethesized(){return this.getTypedRuleContext(yl,0)}identifier(){return this.getTypedRuleContext(xn,0)}Assign(){return this.getToken(j.Assign,0)}get ruleIndex(){return j.RULE_argument}accept(e){return e.visitArgument?e.visitArgument(this):e.visitChildren(this)}}class cp extends Je{constructor(e,n,r){super(n,r),this.parser=e}If_list(){return this.getTokens(j.If)}If(e){return this.getToken(j.If,e)}singleExpression_list(){return this.getTypedRuleContexts(je)}singleExpression(e){return this.getTypedRuleContext(je,e)}blockLine_list(){return this.getTypedRuleContexts(Eo)}blockLine(e){return this.getTypedRuleContext(Eo,e)}Else_list(){return this.getTokens(j.Else)}Else(e){return this.getToken(j.Else,e)}get ruleIndex(){return j.RULE_ifStatement}accept(e){return e.visitIfStatement?e.visitIfStatement(this):e.visitChildren(this)}}class pu extends Je{constructor(e,n,r){super(n,r),this.parser=e}get ruleIndex(){return j.RULE_forStatement}copyFrom(e){super.copyFrom(e)}}class oy extends pu{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}For(){return this.getToken(j.For,0)}identifier(){return this.getTypedRuleContext(xn,0)}Assign(){return this.getToken(j.Assign,0)}singleExpression_list(){return this.getTypedRuleContexts(je)}singleExpression(e){return this.getTypedRuleContext(je,e)}To(){return this.getToken(j.To,0)}blockLine(){return this.getTypedRuleContext(Eo,0)}varModifier(){return this.getTypedRuleContext(dl,0)}typeGather(){return this.getTypedRuleContext(qo,0)}By(){return this.getToken(j.By,0)}accept(e){return e.visitForToStatement?e.visitForToStatement(this):e.visitChildren(this)}}class ay extends pu{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}For(){return this.getToken(j.For,0)}In(){return this.getToken(j.In,0)}singleExpression(){return this.getTypedRuleContext(je,0)}blockLine(){return this.getTypedRuleContext(Eo,0)}identifier_list(){return this.getTypedRuleContexts(xn)}identifier(e){return this.getTypedRuleContext(xn,e)}OpenBracket(){return this.getToken(j.OpenBracket,0)}Comma(){return this.getToken(j.Comma,0)}CloseBracket(){return this.getToken(j.CloseBracket,0)}accept(e){return e.visitForInStatement?e.visitForInStatement(this):e.visitChildren(this)}}class lp extends Je{constructor(e,n,r){super(n,r),this.parser=e}Switch(){return this.getToken(j.Switch,0)}NEWLINE(){return this.getToken(j.NEWLINE,0)}INDENT(){return this.getToken(j.INDENT,0)}DEDENT(){return this.getToken(j.DEDENT,0)}singleExpression(){return this.getTypedRuleContext(je,0)}defaultCaluse(){return this.getTypedRuleContext(fp,0)}caseClause_list(){return this.getTypedRuleContexts(vl)}caseClause(e){return this.getTypedRuleContext(vl,e)}get ruleIndex(){return j.RULE_switchStatement}accept(e){return e.visitSwitchStatement?e.visitSwitchStatement(this):e.visitChildren(this)}}class vl extends Je{constructor(e,n,r){super(n,r),this.parser=e}singleExpression(){return this.getTypedRuleContext(je,0)}ARROW(){return this.getToken(j.ARROW,0)}block(){return this.getTypedRuleContext(ls,0)}get ruleIndex(){return j.RULE_caseClause}accept(e){return e.visitCaseClause?e.visitCaseClause(this):e.visitChildren(this)}}class fp extends Je{constructor(e,n,r){super(n,r),this.parser=e}ARROW(){return this.getToken(j.ARROW,0)}block(){return this.getTypedRuleContext(ls,0)}get ruleIndex(){return j.RULE_defaultCaluse}accept(e){return e.visitDefaultCaluse?e.visitDefaultCaluse(this):e.visitChildren(this)}}class hp extends Je{constructor(e,n,r){super(n,r),this.parser=e}While(){return this.getToken(j.While,0)}singleExpression(){return this.getTypedRuleContext(je,0)}blockLine(){return this.getTypedRuleContext(Eo,0)}get ruleIndex(){return j.RULE_whileStatement}accept(e){return e.visitWhileStatement?e.visitWhileStatement(this):e.visitChildren(this)}}class pp extends Je{constructor(e,n,r){super(n,r),this.parser=e}importElement_list(){return this.getTypedRuleContexts(bl)}importElement(e){return this.getTypedRuleContext(bl,e)}NEWLINE(){return this.getToken(j.NEWLINE,0)}Comma_list(){return this.getTokens(j.Comma)}Comma(e){return this.getToken(j.Comma,e)}get ruleIndex(){return j.RULE_importStmt}accept(e){return e.visitImportStmt?e.visitImportStmt(this):e.visitChildren(this)}}class bl extends Je{constructor(e,n,r){super(n,r),this.parser=e}Import(){return this.getToken(j.Import,0)}identifier_list(){return this.getTypedRuleContexts(xn)}identifier(e){return this.getTypedRuleContext(xn,e)}Divide_list(){return this.getTokens(j.Divide)}Divide(e){return this.getToken(j.Divide,e)}IntegerLiteral(){return this.getToken(j.IntegerLiteral,0)}As(){return this.getToken(j.As,0)}get ruleIndex(){return j.RULE_importElement}accept(e){return e.visitImportElement?e.visitImportElement(this):e.visitChildren(this)}}class dp extends Je{constructor(e,n,r){super(n,r),this.parser=e}BooleanLiteral(){return this.getToken(j.BooleanLiteral,0)}ColorLiteral(){return this.getToken(j.ColorLiteral,0)}StringLiteral(){return this.getToken(j.StringLiteral,0)}IntegerLiteral(){return this.getToken(j.IntegerLiteral,0)}DecimalLiteral(){return this.getToken(j.DecimalLiteral,0)}get ruleIndex(){return j.RULE_literal}accept(e){return e.visitLiteral?e.visitLiteral(this):e.visitChildren(this)}}class du extends Je{constructor(e,n,r){super(n,r),this.parser=e}methodElement_list(){return this.getTypedRuleContexts(hs)}methodElement(e){return this.getTypedRuleContext(hs,e)}Point_list(){return this.getTokens(j.Point)}Point(e){return this.getToken(j.Point,e)}get ruleIndex(){return j.RULE_methodStmt}accept(e){return e.visitMethodStmt?e.visitMethodStmt(this):e.visitChildren(this)}}class hs extends Je{constructor(e,n,r){super(n,r),this.parser=e}methodName(){return this.getTypedRuleContext(_p,0)}arguments(){return this.getTypedRuleContext(up,0)}get ruleIndex(){return j.RULE_methodElement}accept(e){return e.visitMethodElement?e.visitMethodElement(this):e.visitChildren(this)}}class _p extends Je{constructor(e,n,r){super(n,r),this.parser=e}identifier_list(){return this.getTypedRuleContexts(xn)}identifier(e){return this.getTypedRuleContext(xn,e)}OpenParen(){return this.getToken(j.OpenParen,0)}singleExpression(){return this.getTypedRuleContext(je,0)}CloseParen(){return this.getToken(j.CloseParen,0)}Point_list(){return this.getTokens(j.Point)}Point(e){return this.getToken(j.Point,e)}LessThan(){return this.getToken(j.LessThan,0)}typeName_list(){return this.getTypedRuleContexts(Ei)}typeName(e){return this.getTypedRuleContext(Ei,e)}MoreThan(){return this.getToken(j.MoreThan,0)}Comma(){return this.getToken(j.Comma,0)}get ruleIndex(){return j.RULE_methodName}accept(e){return e.visitMethodName?e.visitMethodName(this):e.visitChildren(this)}}class mp extends Je{constructor(e,n,r){super(n,r),this.parser=e}identifier(){return this.getTypedRuleContext(xn,0)}arrowFunctionParameters(){return this.getTypedRuleContext(yp,0)}ARROW(){return this.getToken(j.ARROW,0)}block(){return this.getTypedRuleContext(ls,0)}Export(){return this.getToken(j.Export,0)}get ruleIndex(){return j.RULE_arrowFunction}accept(e){return e.visitArrowFunction?e.visitArrowFunction(this):e.visitChildren(this)}}class yp extends Je{constructor(e,n,r){super(n,r),this.parser=e}OpenParen(){return this.getToken(j.OpenParen,0)}CloseParen(){return this.getToken(j.CloseParen,0)}formalParameterList(){return this.getTypedRuleContext(El,0)}get ruleIndex(){return j.RULE_arrowFunctionParameters}accept(e){return e.visitArrowFunctionParameters?e.visitArrowFunctionParameters(this):e.visitChildren(this)}}class El extends Je{constructor(e,n,r){super(n,r),this.parser=e}formalParameterArg_list(){return this.getTypedRuleContexts(xl)}formalParameterArg(e){return this.getTypedRuleContext(xl,e)}Comma_list(){return this.getTokens(j.Comma)}Comma(e){return this.getToken(j.Comma,e)}get ruleIndex(){return j.RULE_formalParameterList}accept(e){return e.visitFormalParameterList?e.visitFormalParameterList(this):e.visitChildren(this)}}class xl extends Je{constructor(e,n,r){super(n,r),this.parser=e}identifier(){return this.getTypedRuleContext(xn,0)}typeGather(){return this.getTypedRuleContext(qo,0)}Assign(){return this.getToken(j.Assign,0)}singleExpression(){return this.getTypedRuleContext(je,0)}get ruleIndex(){return j.RULE_formalParameterArg}accept(e){return e.visitFormalParameterArg?e.visitFormalParameterArg(this):e.visitChildren(this)}}class gp extends Je{constructor(e,n,r){super(n,r),this.parser=e}Method(){return this.getToken(j.Method,0)}identifier(){return this.getTypedRuleContext(xn,0)}arrowMethodParameters(){return this.getTypedRuleContext(vp,0)}ARROW(){return this.getToken(j.ARROW,0)}block(){return this.getTypedRuleContext(ls,0)}Export(){return this.getToken(j.Export,0)}get ruleIndex(){return j.RULE_arrowMethod}accept(e){return e.visitArrowMethod?e.visitArrowMethod(this):e.visitChildren(this)}}class vp extends Je{constructor(e,n,r){super(n,r),this.parser=e}OpenParen(){return this.getToken(j.OpenParen,0)}typeGather(){return this.getTypedRuleContext(qo,0)}identifier(){return this.getTypedRuleContext(xn,0)}CloseParen(){return this.getToken(j.CloseParen,0)}Assign(){return this.getToken(j.Assign,0)}singleExpression(){return this.getTypedRuleContext(je,0)}Comma(){return this.getToken(j.Comma,0)}formalParameterList(){return this.getTypedRuleContext(El,0)}get ruleIndex(){return j.RULE_arrowMethodParameters}accept(e){return e.visitArrowMethodParameters?e.visitArrowMethodParameters(this):e.visitChildren(this)}}class bp extends Je{constructor(e,n,r){super(n,r),this.parser=e}Type(){return this.getToken(j.Type,0)}identifier(){return this.getTypedRuleContext(xn,0)}NEWLINE(){return this.getToken(j.NEWLINE,0)}INDENT(){return this.getToken(j.INDENT,0)}DEDENT(){return this.getToken(j.DEDENT,0)}Export(){return this.getToken(j.Export,0)}typeElement_list(){return this.getTypedRuleContexts(Sl)}typeElement(e){return this.getTypedRuleContext(Sl,e)}get ruleIndex(){return j.RULE_typeStatement}accept(e){return e.visitTypeStatement?e.visitTypeStatement(this):e.visitChildren(this)}}class Sl extends Je{constructor(e,n,r){super(n,r),this.parser=e}identifier(){return this.getTypedRuleContext(xn,0)}NEWLINE(){return this.getToken(j.NEWLINE,0)}Varip(){return this.getToken(j.Varip,0)}typeGather(){return this.getTypedRuleContext(qo,0)}Assign(){return this.getToken(j.Assign,0)}singleExpression(){return this.getTypedRuleContext(je,0)}get ruleIndex(){return j.RULE_typeElement}accept(e){return e.visitTypeElement?e.visitTypeElement(this):e.visitChildren(this)}}class Tl extends Je{constructor(e,n,r){super(n,r),this.parser=e}ColonEquals(){return this.getToken(j.ColonEquals,0)}MultiplyAssign(){return this.getToken(j.MultiplyAssign,0)}DivideAssign(){return this.getToken(j.DivideAssign,0)}ModulusAssign(){return this.getToken(j.ModulusAssign,0)}PlusAssign(){return this.getToken(j.PlusAssign,0)}MinusAssign(){return this.getToken(j.MinusAssign,0)}get ruleIndex(){return j.RULE_assignmentOperator}accept(e){return e.visitAssignmentOperator?e.visitAssignmentOperator(this):e.visitChildren(this)}}class Al extends Je{constructor(e,n,r){super(n,r),this.parser=e}Map(){return this.getToken(j.Map,0)}LessThan(){return this.getToken(j.LessThan,0)}Comma(){return this.getToken(j.Comma,0)}typeName_list(){return this.getTypedRuleContexts(Ei)}typeName(e){return this.getTypedRuleContext(Ei,e)}MoreThan(){return this.getToken(j.MoreThan,0)}get ruleIndex(){return j.RULE_typeMap}accept(e){return e.visitTypeMap?e.visitTypeMap(this):e.visitChildren(this)}}class Ep extends Je{constructor(e,n,r){super(n,r),this.parser=e}typeName_list(){return this.getTypedRuleContexts(Ei)}typeName(e){return this.getTypedRuleContext(Ei,e)}typeArray(){return this.getTypedRuleContext(Cl,0)}typeMap(){return this.getTypedRuleContext(Al,0)}get ruleIndex(){return j.RULE_typeSeries}accept(e){return e.visitTypeSeries?e.visitTypeSeries(this):e.visitChildren(this)}}class Cl extends Je{constructor(e,n,r){super(n,r),this.parser=e}typeName_list(){return this.getTypedRuleContexts(Ei)}typeName(e){return this.getTypedRuleContext(Ei,e)}LessThan(){return this.getToken(j.LessThan,0)}MoreThan(){return this.getToken(j.MoreThan,0)}OpenBracket(){return this.getToken(j.OpenBracket,0)}CloseBracket(){return this.getToken(j.CloseBracket,0)}get ruleIndex(){return j.RULE_typeArray}accept(e){return e.visitTypeArray?e.visitTypeArray(this):e.visitChildren(this)}}class qo extends Je{constructor(e,n,r){super(n,r),this.parser=e}typeName(){return this.getTypedRuleContext(Ei,0)}typeArray(){return this.getTypedRuleContext(Cl,0)}typeMap(){return this.getTypedRuleContext(Al,0)}typeSeries(){return this.getTypedRuleContext(Ep,0)}get ruleIndex(){return j.RULE_typeGather}accept(e){return e.visitTypeGather?e.visitTypeGather(this):e.visitChildren(this)}}class xn extends Je{constructor(e,n,r){super(n,r),this.parser=e}Identifier(){return this.getToken(j.Identifier,0)}Map(){return this.getToken(j.Map,0)}Type(){return this.getToken(j.Type,0)}Enum(){return this.getToken(j.Enum,0)}get ruleIndex(){return j.RULE_identifier}accept(e){return e.visitIdentifier?e.visitIdentifier(this):e.visitChildren(this)}}class Ei extends Je{constructor(e,n,r){super(n,r),this.parser=e}identifier_list(){return this.getTypedRuleContexts(xn)}identifier(e){return this.getTypedRuleContext(xn,e)}Point(){return this.getToken(j.Point,0)}get ruleIndex(){return j.RULE_typeName}accept(e){return e.visitTypeName?e.visitTypeName(this):e.visitChildren(this)}}class _u extends Je{constructor(e,n,r){super(n,r),this.parser=e}identifier_list(){return this.getTypedRuleContexts(xn)}identifier(e){return this.getTypedRuleContext(xn,e)}Point_list(){return this.getTokens(j.Point)}Point(e){return this.getToken(j.Point,e)}methodElement_list(){return this.getTypedRuleContexts(hs)}methodElement(e){return this.getTypedRuleContext(hs,e)}OpenParen(){return this.getToken(j.OpenParen,0)}singleExpression(){return this.getTypedRuleContext(je,0)}CloseParen(){return this.getToken(j.CloseParen,0)}get ruleIndex(){return j.RULE_name}accept(e){return e.visitName?e.visitName(this):e.visitChildren(this)}}class xp extends Je{constructor(e,n,r){super(n,r),this.parser=e}Enum(){return this.getToken(j.Enum,0)}identifier(){return this.getTypedRuleContext(xn,0)}NEWLINE(){return this.getToken(j.NEWLINE,0)}INDENT(){return this.getToken(j.INDENT,0)}DEDENT(){return this.getToken(j.DEDENT,0)}Export(){return this.getToken(j.Export,0)}enumElement_list(){return this.getTypedRuleContexts(Dl)}enumElement(e){return this.getTypedRuleContext(Dl,e)}get ruleIndex(){return j.RULE_enumStatement}accept(e){return e.visitEnumStatement?e.visitEnumStatement(this):e.visitChildren(this)}}class Dl extends Je{constructor(e,n,r){super(n,r),this.parser=e}identifier(){return this.getTypedRuleContext(xn,0)}NEWLINE(){return this.getToken(j.NEWLINE,0)}Assign(){return this.getToken(j.Assign,0)}StringLiteral(){return this.getToken(j.StringLiteral,0)}get ruleIndex(){return j.RULE_enumElement}accept(e){return e.visitEnumElement?e.visitEnumElement(this):e.visitChildren(this)}}class sy extends Pm{constructor(n){super(n);I(this,"tokens");I(this,"indents");I(this,"opened");this.tokens=[],this.indents=[],this.opened=0}reset(){this.tokens=[],this.indents=[],this.opened=0,super.reset()}emitToken(n){super.emitToken(n),this.tokens.push(n)}nextToken(){if(this._input.LA(1)===j.EOF&&this.indents.length){for(this.tokens=this.tokens.filter(function(r){return r.type!==j.EOF}),this.emitToken(this.commonToken(j.NEWLINE,`
|
11
|
+
`));this.indents.length;)this.emitToken(this.createDedent()),this.indents.pop();this.emitToken(this.commonToken(j.EOF,"<EOF>"))}const n=super.nextToken();return this.tokens.length?this.tokens.shift():n}createDedent(){return this.commonToken(j.DEDENT,"")}getCharIndex(){return this._input.index}commonToken(n,r){const a=this.getCharIndex()-1,c=r.length?a-r.length+1:a;return new Om([this,this._input],n,0,c,a)}getIndentationCount(n){let r=0;for(let a=0;a<n.length;a++)n[a]===" "?r+=4-r%4:r++;return r}atStartOfInput(){return this.getCharIndex()===0}openBrace(){this.opened++}closeBrace(){this.opened--}onNewLine(){const n=this.text.replace(/[^\r\n]+/g,""),r=this.text.replace(/[\r\n]+/g,""),a=this._input.LA(1),c=this._input.LA(2),h=this.getIndentationCount(r);if(this.opened>0||c!=-1&&(a===13||a===10||a===47&&c===47||h%4))this.skip();else{this.emitToken(this.commonToken(j.NEWLINE,n));const d=this.indents.length?this.indents[this.indents.length-1]:0;if(h===d)this.skip();else if(h>d)this.indents.push(h),this.emitToken(this.commonToken(j.INDENT,r));else for(;this.indents.length&&this.indents[this.indents.length-1]>h;)this.emitToken(this.createDedent()),this.indents.pop()}}}const Pe=class Pe extends sy{constructor(e){super(e),this._interp=new Im(this,Pe._ATN,Pe.DecisionsToDFA,new np)}get grammarFileName(){return"tccScriptLexer.g4"}get literalNames(){return Pe.literalNames}get symbolicNames(){return Pe.symbolicNames}get ruleNames(){return Pe.ruleNames}get serializedATN(){return Pe._serializedATN}get channelNames(){return Pe.channelNames}get modeNames(){return Pe.modeNames}action(e,n,r){switch(n){case 1:this.OpenBracket_action(e,r);break;case 2:this.CloseBracket_action(e,r);break;case 3:this.OpenParen_action(e,r);break;case 4:this.CloseParen_action(e,r);break;case 58:this.NEWLINE_action(e,r);break}}OpenBracket_action(e,n){switch(n){case 0:this.openBrace();break}}CloseBracket_action(e,n){switch(n){case 1:this.closeBrace();break}}OpenParen_action(e,n){switch(n){case 2:this.openBrace();break}}CloseParen_action(e,n){switch(n){case 3:this.closeBrace();break}}NEWLINE_action(e,n){switch(n){case 4:this.onNewLine();break}}sempred(e,n,r){switch(n){case 58:return this.NEWLINE_sempred(e,r)}return!0}NEWLINE_sempred(e,n){switch(n){case 0:return this.atStartOfInput()}return!0}static get _ATN(){return Pe.__ATN||(Pe.__ATN=new ep().deserialize(Pe._serializedATN)),Pe.__ATN}};I(Pe,"INDENT",1),I(Pe,"DEDENT",2),I(Pe,"Point",3),I(Pe,"OpenBracket",4),I(Pe,"CloseBracket",5),I(Pe,"OpenParen",6),I(Pe,"CloseParen",7),I(Pe,"Comma",8),I(Pe,"Assign",9),I(Pe,"QuestionMark",10),I(Pe,"Colon",11),I(Pe,"Plus",12),I(Pe,"Minus",13),I(Pe,"Multiply",14),I(Pe,"Divide",15),I(Pe,"Modulus",16),I(Pe,"Hashtag",17),I(Pe,"LessThan",18),I(Pe,"MoreThan",19),I(Pe,"LessThanEquals",20),I(Pe,"GreaterThanEquals",21),I(Pe,"Equals_",22),I(Pe,"NotEquals",23),I(Pe,"MultiplyAssign",24),I(Pe,"DivideAssign",25),I(Pe,"ModulusAssign",26),I(Pe,"PlusAssign",27),I(Pe,"MinusAssign",28),I(Pe,"ARROW",29),I(Pe,"ColonEquals",30),I(Pe,"BooleanLiteral",31),I(Pe,"IntegerLiteral",32),I(Pe,"DecimalLiteral",33),I(Pe,"Break",34),I(Pe,"And",35),I(Pe,"Export",36),I(Pe,"For",37),I(Pe,"Var",38),I(Pe,"Continue",39),I(Pe,"Varip",40),I(Pe,"Switch",41),I(Pe,"While",42),I(Pe,"If",43),I(Pe,"In",44),I(Pe,"Or",45),I(Pe,"Not",46),I(Pe,"Method",47),I(Pe,"Else",48),I(Pe,"To",49),I(Pe,"By",50),I(Pe,"Type",51),I(Pe,"Import",52),I(Pe,"As",53),I(Pe,"Enum",54),I(Pe,"Map",55),I(Pe,"ColorLiteral",56),I(Pe,"StringLiteral",57),I(Pe,"Identifier",58),I(Pe,"HIDDEN_",59),I(Pe,"COMMENT_",60),I(Pe,"NEWLINE",61),I(Pe,"EOF",rp.EOF),I(Pe,"channelNames",["DEFAULT_TOKEN_CHANNEL","HIDDEN"]),I(Pe,"literalNames",[null,null,null,"'.'","'['","']'","'('","')'","','","'='","'?'","':'","'+'","'-'","'*'","'/'","'%'","'#'","'<'","'>'","'<='","'>='","'=='","'!='","'*='","'/='","'%='","'+='","'-='","'=>'","':='",null,null,null,"'break'","'and'","'export'","'for'","'var'","'continue'","'varip'","'switch'","'while'","'if'","'in'","'or'","'not'","'method'","'else'","'to'","'by'","'type'","'import'","'as'","'enum'","'map'"]),I(Pe,"symbolicNames",[null,"INDENT","DEDENT","Point","OpenBracket","CloseBracket","OpenParen","CloseParen","Comma","Assign","QuestionMark","Colon","Plus","Minus","Multiply","Divide","Modulus","Hashtag","LessThan","MoreThan","LessThanEquals","GreaterThanEquals","Equals_","NotEquals","MultiplyAssign","DivideAssign","ModulusAssign","PlusAssign","MinusAssign","ARROW","ColonEquals","BooleanLiteral","IntegerLiteral","DecimalLiteral","Break","And","Export","For","Var","Continue","Varip","Switch","While","If","In","Or","Not","Method","Else","To","By","Type","Import","As","Enum","Map","ColorLiteral","StringLiteral","Identifier","HIDDEN_","COMMENT_","NEWLINE"]),I(Pe,"modeNames",["DEFAULT_MODE"]),I(Pe,"ruleNames",["Point","OpenBracket","CloseBracket","OpenParen","CloseParen","Comma","Assign","QuestionMark","Colon","Plus","Minus","Multiply","Divide","Modulus","Hashtag","LessThan","MoreThan","LessThanEquals","GreaterThanEquals","Equals_","NotEquals","MultiplyAssign","DivideAssign","ModulusAssign","PlusAssign","MinusAssign","ARROW","ColonEquals","BooleanLiteral","IntegerLiteral","DecimalLiteral","Break","And","Export","For","Var","Continue","Varip","Switch","While","If","In","Or","Not","Method","Else","To","By","Type","Import","As","Enum","Map","ColorLiteral","StringLiteral","Identifier","HIDDEN_","COMMENT_","NEWLINE","SHORT_STRING","DIGIT","DIGITS","HEX_DIGIT","SPACES","COMMENT","EXP"]),I(Pe,"_serializedATN",[4,0,61,447,6,-1,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5,2,6,7,6,2,7,7,7,2,8,7,8,2,9,7,9,2,10,7,10,2,11,7,11,2,12,7,12,2,13,7,13,2,14,7,14,2,15,7,15,2,16,7,16,2,17,7,17,2,18,7,18,2,19,7,19,2,20,7,20,2,21,7,21,2,22,7,22,2,23,7,23,2,24,7,24,2,25,7,25,2,26,7,26,2,27,7,27,2,28,7,28,2,29,7,29,2,30,7,30,2,31,7,31,2,32,7,32,2,33,7,33,2,34,7,34,2,35,7,35,2,36,7,36,2,37,7,37,2,38,7,38,2,39,7,39,2,40,7,40,2,41,7,41,2,42,7,42,2,43,7,43,2,44,7,44,2,45,7,45,2,46,7,46,2,47,7,47,2,48,7,48,2,49,7,49,2,50,7,50,2,51,7,51,2,52,7,52,2,53,7,53,2,54,7,54,2,55,7,55,2,56,7,56,2,57,7,57,2,58,7,58,2,59,7,59,2,60,7,60,2,61,7,61,2,62,7,62,2,63,7,63,2,64,7,64,2,65,7,65,1,0,1,0,1,1,1,1,1,1,1,2,1,2,1,2,1,3,1,3,1,3,1,4,1,4,1,4,1,5,1,5,1,6,1,6,1,7,1,7,1,8,1,8,1,9,1,9,1,10,1,10,1,11,1,11,1,12,1,12,1,13,1,13,1,14,1,14,1,15,1,15,1,16,1,16,1,17,1,17,1,17,1,18,1,18,1,18,1,19,1,19,1,19,1,20,1,20,1,20,1,21,1,21,1,21,1,22,1,22,1,22,1,23,1,23,1,23,1,24,1,24,1,24,1,25,1,25,1,25,1,26,1,26,1,26,1,27,1,27,1,27,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,3,28,214,8,28,1,29,1,29,1,30,1,30,1,30,3,30,221,8,30,1,30,1,30,1,30,1,30,3,30,227,8,30,3,30,229,8,30,1,30,3,30,232,8,30,3,30,234,8,30,1,31,1,31,1,31,1,31,1,31,1,31,1,32,1,32,1,32,1,32,1,33,1,33,1,33,1,33,1,33,1,33,1,33,1,34,1,34,1,34,1,34,1,35,1,35,1,35,1,35,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,37,1,37,1,37,1,37,1,37,1,37,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,39,1,39,1,39,1,39,1,39,1,39,1,40,1,40,1,40,1,41,1,41,1,41,1,42,1,42,1,42,1,43,1,43,1,43,1,43,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,45,1,45,1,45,1,45,1,45,1,46,1,46,1,46,1,47,1,47,1,47,1,48,1,48,1,48,1,48,1,48,1,49,1,49,1,49,1,49,1,49,1,49,1,49,1,50,1,50,1,50,1,51,1,51,1,51,1,51,1,51,1,52,1,52,1,52,1,52,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,3,53,362,8,53,1,54,1,54,1,55,1,55,5,55,368,8,55,10,55,12,55,371,9,55,1,56,1,56,1,56,1,56,1,57,1,57,1,57,1,57,1,58,1,58,1,58,3,58,384,8,58,1,58,1,58,3,58,388,8,58,1,58,3,58,391,8,58,3,58,393,8,58,1,58,1,58,1,59,1,59,1,59,1,59,5,59,401,8,59,10,59,12,59,404,9,59,1,59,1,59,1,59,1,59,1,59,5,59,411,8,59,10,59,12,59,414,9,59,1,59,3,59,417,8,59,1,60,1,60,1,61,4,61,422,8,61,11,61,12,61,423,1,62,1,62,1,63,4,63,429,8,63,11,63,12,63,430,1,64,1,64,1,64,1,64,5,64,437,8,64,10,64,12,64,440,9,64,1,65,1,65,3,65,444,8,65,1,65,1,65,0,0,66,1,3,3,4,5,5,7,6,9,7,11,8,13,9,15,10,17,11,19,12,21,13,23,14,25,15,27,16,29,17,31,18,33,19,35,20,37,21,39,22,41,23,43,24,45,25,47,26,49,27,51,28,53,29,55,30,57,31,59,32,61,33,63,34,65,35,67,36,69,37,71,38,73,39,75,40,77,41,79,42,81,43,83,44,85,45,87,46,89,47,91,48,93,49,95,50,97,51,99,52,101,53,103,54,105,55,107,56,109,57,111,58,113,59,115,60,117,61,119,0,121,0,123,0,125,0,127,0,129,0,131,0,1,0,10,3,0,65,90,95,95,97,122,4,0,48,57,65,90,95,95,97,122,1,0,39,39,1,0,34,34,1,0,48,57,3,0,48,57,65,70,97,102,2,0,9,9,32,32,2,0,10,10,12,13,2,0,69,69,101,101,2,0,43,43,45,45,460,0,1,1,0,0,0,0,3,1,0,0,0,0,5,1,0,0,0,0,7,1,0,0,0,0,9,1,0,0,0,0,11,1,0,0,0,0,13,1,0,0,0,0,15,1,0,0,0,0,17,1,0,0,0,0,19,1,0,0,0,0,21,1,0,0,0,0,23,1,0,0,0,0,25,1,0,0,0,0,27,1,0,0,0,0,29,1,0,0,0,0,31,1,0,0,0,0,33,1,0,0,0,0,35,1,0,0,0,0,37,1,0,0,0,0,39,1,0,0,0,0,41,1,0,0,0,0,43,1,0,0,0,0,45,1,0,0,0,0,47,1,0,0,0,0,49,1,0,0,0,0,51,1,0,0,0,0,53,1,0,0,0,0,55,1,0,0,0,0,57,1,0,0,0,0,59,1,0,0,0,0,61,1,0,0,0,0,63,1,0,0,0,0,65,1,0,0,0,0,67,1,0,0,0,0,69,1,0,0,0,0,71,1,0,0,0,0,73,1,0,0,0,0,75,1,0,0,0,0,77,1,0,0,0,0,79,1,0,0,0,0,81,1,0,0,0,0,83,1,0,0,0,0,85,1,0,0,0,0,87,1,0,0,0,0,89,1,0,0,0,0,91,1,0,0,0,0,93,1,0,0,0,0,95,1,0,0,0,0,97,1,0,0,0,0,99,1,0,0,0,0,101,1,0,0,0,0,103,1,0,0,0,0,105,1,0,0,0,0,107,1,0,0,0,0,109,1,0,0,0,0,111,1,0,0,0,0,113,1,0,0,0,0,115,1,0,0,0,0,117,1,0,0,0,1,133,1,0,0,0,3,135,1,0,0,0,5,138,1,0,0,0,7,141,1,0,0,0,9,144,1,0,0,0,11,147,1,0,0,0,13,149,1,0,0,0,15,151,1,0,0,0,17,153,1,0,0,0,19,155,1,0,0,0,21,157,1,0,0,0,23,159,1,0,0,0,25,161,1,0,0,0,27,163,1,0,0,0,29,165,1,0,0,0,31,167,1,0,0,0,33,169,1,0,0,0,35,171,1,0,0,0,37,174,1,0,0,0,39,177,1,0,0,0,41,180,1,0,0,0,43,183,1,0,0,0,45,186,1,0,0,0,47,189,1,0,0,0,49,192,1,0,0,0,51,195,1,0,0,0,53,198,1,0,0,0,55,201,1,0,0,0,57,213,1,0,0,0,59,215,1,0,0,0,61,233,1,0,0,0,63,235,1,0,0,0,65,241,1,0,0,0,67,245,1,0,0,0,69,252,1,0,0,0,71,256,1,0,0,0,73,260,1,0,0,0,75,269,1,0,0,0,77,275,1,0,0,0,79,282,1,0,0,0,81,288,1,0,0,0,83,291,1,0,0,0,85,294,1,0,0,0,87,297,1,0,0,0,89,301,1,0,0,0,91,308,1,0,0,0,93,313,1,0,0,0,95,316,1,0,0,0,97,319,1,0,0,0,99,324,1,0,0,0,101,331,1,0,0,0,103,334,1,0,0,0,105,339,1,0,0,0,107,361,1,0,0,0,109,363,1,0,0,0,111,365,1,0,0,0,113,372,1,0,0,0,115,376,1,0,0,0,117,392,1,0,0,0,119,416,1,0,0,0,121,418,1,0,0,0,123,421,1,0,0,0,125,425,1,0,0,0,127,428,1,0,0,0,129,432,1,0,0,0,131,441,1,0,0,0,133,134,5,46,0,0,134,2,1,0,0,0,135,136,5,91,0,0,136,137,6,1,0,0,137,4,1,0,0,0,138,139,5,93,0,0,139,140,6,2,1,0,140,6,1,0,0,0,141,142,5,40,0,0,142,143,6,3,2,0,143,8,1,0,0,0,144,145,5,41,0,0,145,146,6,4,3,0,146,10,1,0,0,0,147,148,5,44,0,0,148,12,1,0,0,0,149,150,5,61,0,0,150,14,1,0,0,0,151,152,5,63,0,0,152,16,1,0,0,0,153,154,5,58,0,0,154,18,1,0,0,0,155,156,5,43,0,0,156,20,1,0,0,0,157,158,5,45,0,0,158,22,1,0,0,0,159,160,5,42,0,0,160,24,1,0,0,0,161,162,5,47,0,0,162,26,1,0,0,0,163,164,5,37,0,0,164,28,1,0,0,0,165,166,5,35,0,0,166,30,1,0,0,0,167,168,5,60,0,0,168,32,1,0,0,0,169,170,5,62,0,0,170,34,1,0,0,0,171,172,5,60,0,0,172,173,5,61,0,0,173,36,1,0,0,0,174,175,5,62,0,0,175,176,5,61,0,0,176,38,1,0,0,0,177,178,5,61,0,0,178,179,5,61,0,0,179,40,1,0,0,0,180,181,5,33,0,0,181,182,5,61,0,0,182,42,1,0,0,0,183,184,5,42,0,0,184,185,5,61,0,0,185,44,1,0,0,0,186,187,5,47,0,0,187,188,5,61,0,0,188,46,1,0,0,0,189,190,5,37,0,0,190,191,5,61,0,0,191,48,1,0,0,0,192,193,5,43,0,0,193,194,5,61,0,0,194,50,1,0,0,0,195,196,5,45,0,0,196,197,5,61,0,0,197,52,1,0,0,0,198,199,5,61,0,0,199,200,5,62,0,0,200,54,1,0,0,0,201,202,5,58,0,0,202,203,5,61,0,0,203,56,1,0,0,0,204,205,5,116,0,0,205,206,5,114,0,0,206,207,5,117,0,0,207,214,5,101,0,0,208,209,5,102,0,0,209,210,5,97,0,0,210,211,5,108,0,0,211,212,5,115,0,0,212,214,5,101,0,0,213,204,1,0,0,0,213,208,1,0,0,0,214,58,1,0,0,0,215,216,3,123,61,0,216,60,1,0,0,0,217,218,5,46,0,0,218,220,3,123,61,0,219,221,3,131,65,0,220,219,1,0,0,0,220,221,1,0,0,0,221,234,1,0,0,0,222,231,3,123,61,0,223,228,5,46,0,0,224,226,3,123,61,0,225,227,3,131,65,0,226,225,1,0,0,0,226,227,1,0,0,0,227,229,1,0,0,0,228,224,1,0,0,0,228,229,1,0,0,0,229,232,1,0,0,0,230,232,3,131,65,0,231,223,1,0,0,0,231,230,1,0,0,0,232,234,1,0,0,0,233,217,1,0,0,0,233,222,1,0,0,0,234,62,1,0,0,0,235,236,5,98,0,0,236,237,5,114,0,0,237,238,5,101,0,0,238,239,5,97,0,0,239,240,5,107,0,0,240,64,1,0,0,0,241,242,5,97,0,0,242,243,5,110,0,0,243,244,5,100,0,0,244,66,1,0,0,0,245,246,5,101,0,0,246,247,5,120,0,0,247,248,5,112,0,0,248,249,5,111,0,0,249,250,5,114,0,0,250,251,5,116,0,0,251,68,1,0,0,0,252,253,5,102,0,0,253,254,5,111,0,0,254,255,5,114,0,0,255,70,1,0,0,0,256,257,5,118,0,0,257,258,5,97,0,0,258,259,5,114,0,0,259,72,1,0,0,0,260,261,5,99,0,0,261,262,5,111,0,0,262,263,5,110,0,0,263,264,5,116,0,0,264,265,5,105,0,0,265,266,5,110,0,0,266,267,5,117,0,0,267,268,5,101,0,0,268,74,1,0,0,0,269,270,5,118,0,0,270,271,5,97,0,0,271,272,5,114,0,0,272,273,5,105,0,0,273,274,5,112,0,0,274,76,1,0,0,0,275,276,5,115,0,0,276,277,5,119,0,0,277,278,5,105,0,0,278,279,5,116,0,0,279,280,5,99,0,0,280,281,5,104,0,0,281,78,1,0,0,0,282,283,5,119,0,0,283,284,5,104,0,0,284,285,5,105,0,0,285,286,5,108,0,0,286,287,5,101,0,0,287,80,1,0,0,0,288,289,5,105,0,0,289,290,5,102,0,0,290,82,1,0,0,0,291,292,5,105,0,0,292,293,5,110,0,0,293,84,1,0,0,0,294,295,5,111,0,0,295,296,5,114,0,0,296,86,1,0,0,0,297,298,5,110,0,0,298,299,5,111,0,0,299,300,5,116,0,0,300,88,1,0,0,0,301,302,5,109,0,0,302,303,5,101,0,0,303,304,5,116,0,0,304,305,5,104,0,0,305,306,5,111,0,0,306,307,5,100,0,0,307,90,1,0,0,0,308,309,5,101,0,0,309,310,5,108,0,0,310,311,5,115,0,0,311,312,5,101,0,0,312,92,1,0,0,0,313,314,5,116,0,0,314,315,5,111,0,0,315,94,1,0,0,0,316,317,5,98,0,0,317,318,5,121,0,0,318,96,1,0,0,0,319,320,5,116,0,0,320,321,5,121,0,0,321,322,5,112,0,0,322,323,5,101,0,0,323,98,1,0,0,0,324,325,5,105,0,0,325,326,5,109,0,0,326,327,5,112,0,0,327,328,5,111,0,0,328,329,5,114,0,0,329,330,5,116,0,0,330,100,1,0,0,0,331,332,5,97,0,0,332,333,5,115,0,0,333,102,1,0,0,0,334,335,5,101,0,0,335,336,5,110,0,0,336,337,5,117,0,0,337,338,5,109,0,0,338,104,1,0,0,0,339,340,5,109,0,0,340,341,5,97,0,0,341,342,5,112,0,0,342,106,1,0,0,0,343,344,5,35,0,0,344,345,3,125,62,0,345,346,3,125,62,0,346,347,3,125,62,0,347,348,3,125,62,0,348,349,3,125,62,0,349,350,3,125,62,0,350,362,1,0,0,0,351,352,5,35,0,0,352,353,3,125,62,0,353,354,3,125,62,0,354,355,3,125,62,0,355,356,3,125,62,0,356,357,3,125,62,0,357,358,3,125,62,0,358,359,3,125,62,0,359,360,3,125,62,0,360,362,1,0,0,0,361,343,1,0,0,0,361,351,1,0,0,0,362,108,1,0,0,0,363,364,3,119,59,0,364,110,1,0,0,0,365,369,7,0,0,0,366,368,7,1,0,0,367,366,1,0,0,0,368,371,1,0,0,0,369,367,1,0,0,0,369,370,1,0,0,0,370,112,1,0,0,0,371,369,1,0,0,0,372,373,3,127,63,0,373,374,1,0,0,0,374,375,6,56,4,0,375,114,1,0,0,0,376,377,3,129,64,0,377,378,1,0,0,0,378,379,6,57,5,0,379,116,1,0,0,0,380,381,4,58,0,0,381,393,3,127,63,0,382,384,5,13,0,0,383,382,1,0,0,0,383,384,1,0,0,0,384,385,1,0,0,0,385,388,5,10,0,0,386,388,2,12,13,0,387,383,1,0,0,0,387,386,1,0,0,0,388,390,1,0,0,0,389,391,3,127,63,0,390,389,1,0,0,0,390,391,1,0,0,0,391,393,1,0,0,0,392,380,1,0,0,0,392,387,1,0,0,0,393,394,1,0,0,0,394,395,6,58,6,0,395,118,1,0,0,0,396,402,5,39,0,0,397,401,8,2,0,0,398,399,5,92,0,0,399,401,5,39,0,0,400,397,1,0,0,0,400,398,1,0,0,0,401,404,1,0,0,0,402,400,1,0,0,0,402,403,1,0,0,0,403,405,1,0,0,0,404,402,1,0,0,0,405,417,5,39,0,0,406,412,5,34,0,0,407,411,8,3,0,0,408,409,5,92,0,0,409,411,5,34,0,0,410,407,1,0,0,0,410,408,1,0,0,0,411,414,1,0,0,0,412,410,1,0,0,0,412,413,1,0,0,0,413,415,1,0,0,0,414,412,1,0,0,0,415,417,5,34,0,0,416,396,1,0,0,0,416,406,1,0,0,0,417,120,1,0,0,0,418,419,7,4,0,0,419,122,1,0,0,0,420,422,3,121,60,0,421,420,1,0,0,0,422,423,1,0,0,0,423,421,1,0,0,0,423,424,1,0,0,0,424,124,1,0,0,0,425,426,7,5,0,0,426,126,1,0,0,0,427,429,7,6,0,0,428,427,1,0,0,0,429,430,1,0,0,0,430,428,1,0,0,0,430,431,1,0,0,0,431,128,1,0,0,0,432,433,5,47,0,0,433,434,5,47,0,0,434,438,1,0,0,0,435,437,8,7,0,0,436,435,1,0,0,0,437,440,1,0,0,0,438,436,1,0,0,0,438,439,1,0,0,0,439,130,1,0,0,0,440,438,1,0,0,0,441,443,7,8,0,0,442,444,7,9,0,0,443,442,1,0,0,0,443,444,1,0,0,0,444,445,1,0,0,0,445,446,3,123,61,0,446,132,1,0,0,0,22,0,213,220,226,228,231,233,361,369,383,387,390,392,400,402,410,412,416,423,430,438,443,7,1,1,0,1,2,1,1,3,2,1,4,3,0,1,0,0,2,0,1,58,4]),I(Pe,"__ATN"),I(Pe,"DecisionsToDFA",Pe._ATN.decisionToState.map((e,n)=>new tp(e,n)));let kl=Pe;var W=(t=>(t.BOOL="bool",t.INT="int",t.FLOAT="float",t.ARRAY="array",t.BOX="box",t.CHART_POINT="chart.point",t.COLOR="color",t.CONST="const",t.LABEL="label",t.LINE="line",t.LINEFILL="linefill",t.MAP="map",t.MATRIX="matrix",t.POLYLINE="polyline",t.SERIES="series",t.SIMPLE="simple",t.STRING="string",t.TABLE="table",t.UNDETERMINED="undetermined type",t.INPUT="input",t.NA="na",t.VOID="void",t.ENUM="enum",t))(W||{}),ge=(t=>(t.FlowStmt="FlowStmt",t.DeclareAssign="DeclareAssign",t.VarBlockStmt="VarBlockStmt",t.VarSingle="VarSingle",t.VarMultiple="VarMultiple",t.ParenthesizedExpression="ParenthesizedExpression",t.AdditiveExpression="AdditiveExpression",t.RelationalExpression="RelationalExpression",t.EqualityExpression="EqualityExpression",t.TernaryExpression="TernaryExpression",t.UnaryExpression="UnaryExpression",t.NotExpression="NotExpression",t.MemberIndexExpression="MemberIndexExpression",t.MethodExpression="MethodExpression",t.LogicalAndExpression="LogicalAndExpression",t.LogicalOrExpression="LogicalOrExpression",t.MultiplicativeExpression="MultiplicativeExpression",t.Brackethesized="Brackethesized",t.IfStatement="IfStatement",t.ForToStatement="ForToStatement",t.ForInStatement="ForInStatement",t.SwitchStatement="SwitchStatement",t.CaseClause="CaseClause",t.DefaultCaluse="DefaultCaluse",t.WhileStatement="WhileStatement",t.ImportElement="ImportElement",t.Literal="Literal",t.ArrowFunction="ArrowFunction",t.ArrowMethod="ArrowMethod",t.TypeStatement="TypeStatement",t.Name="Name",t.AgainAssign="AgainAssign",t.EnumStatement="EnumStatement",t))(ge||{}),Zt=(t=>(t.description="description",t.field="field",t.function="function",t.param="param",t.returns="returns",t.type="type",t.variable="variable",t.enum="enum",t))(Zt||{}),Ui=(t=>(t.library="library",t.indicator="indicator",t.strategy="strategy",t))(Ui||{});const xe={onlyInLoop:"'$text' is only allowed inside loops",invalidType:"Invalid argument 'expr$index' in 'operator SQBR' call",typeUseError:"Cannot specify a type form '$text' without also specifying the type.",notTypeKeyword:"'$text' is not a valid type keyword in variable declaration",undeclared:"Undeclared identifier '$name'",repeatVar:"'$name' is already defined",typeRepeatErr:"$keyword '$name' is already defined.",typeMismatch:"Cannot call '$operator' with argument '$index'. An argument of '$typeE' type was used but a '$typeR' is expected.",assignTypeMismatch:"Cannot assign a value of the `$typeE` type to the '$name' variable. The variable is declared with the `$typeR` type.",voidNotVar:"Void expression cannot be assigned to a variable",declareTypeErr:"Declared type '$type' is not compatible with assigned type '$valueType'",mapKeyValErr:"Cannot put <$typeA, $typeB> pairs into a map containing `$typeC` keys and `$typeD` values. The maps passed into the `$name()` function must have the same key types and value types.",inputSourceErr:"Invalid value for the '$name' parameter of the '$funcName' function. Possible values: [open, high, low, close, hl2, hlc3, ohlc4, hlcc4, volume].",buildInUseErr:"Cannot use '$name' as the default value of a type's field. The default value cannot be a function, variable or calculation.",argsLenErr:"Too many arguments passed into the `$name()` function call. Passed $lenA arguments but expected $lenB.",requiredParamErr:"No value assigned to the `$argName` parameter in $name()",argsSyntaxErr:"Syntax error after the argument for `$argName`. Arguments without their parameter name cannot be used after arguments with parameter names.",requestArgsErr:"Type $type cannot be used in $name '$argName' argument",mapKeyErr:"Incorrect `key` type `$type` in the variable. The `key` type must be one of the following: int, float, string, bool, color.",templateErr:"Incorrect number of arguments for the template: $countA expected, $countB passed.",templateNoSupportErr:"The '$name()' function does not support templates",ifOrSwitchTypeErr:"Return type of one of the '$keyword' blocks is not compatible with return type of other block(s) ($types)",argsNameErr:"The '$name' function does not have an argument with the name '$argName'",noFiledErr:"Object has no field $name",methodNotExistErr:"Could not find method or method reference '$methodName' for '$name'",tupleVarErr:"Syntax error: The quantities of tuple elements on each side of the assignment operator do not match. The right side has $indexA but the left side has $indexB.",tupleLeftVarErr:"Invalid assignment. Cannot assign a tuple to a variable '$name'.",tupleRightVarErr:"Cannot assign a variable to a tuple. The right side must be a function call or structure ('if', 'switch', 'for', 'while') returning a tuple with the same number of elements.",tempateTypeErr:"Syntax error: Only templates for arrays and matrices consist of a single type identifier enclosed in angle brackets.",qualifierErr:"'$name' is not a valid type qualifier. Possible values: 'const', 'simple', 'series'",notFindFuncErr:"Could not find function or function reference '$name'",naVarErr:"Value with NA type cannot be assigned to a variable that was defined without type keyword",notHistoryErr:"Variable '$name' doesn't have history values",defaultValueErr:"The default value cannot be a function, variable or calculation.",defaultValueTypeErr:"Default value of type $typeE can not be assigned to an argument of type $typeR",typeFieldErr:"In a type declaration, all fields without a default value must be explicitly typified.",unaryErr:"Syntax error at input '$sign'",funcArgAssignErr:"Function arguments cannot be mutable ('$name')",declaredErr:"A variable declared with the '$prefix' keyword cannot accept values of the '$type' form. Assign a '$prefix' value to this variable or remove the '$prefix' keyword from its declaration.",globalFuncErr:"Cannot use '$name' in local scope",onlyStatementErr:"Scripts must contain one declaration statement: `indicator()`, `strategy()` or `library()`, Your script has $count.",modifyGlobalVarErr:"Cannot modify global variable '$name' in function",inputDefvalErr:"Arguments of input function must be of constant type, or 'source' builtin variables.",objectIsNaErr:"Cannot access the '$name' $type of an na object. The object is 'na'.",buidinAssignErr:"Cannot assign a new value to the built-in variable '$name'.",buidinVarErr:"Cannot shadow the built-in variable `$name` because it has already been used as a built-in.",useNaErr:"Cannot use an `na` value of an unspecified type in the `$name` function.",libraryTitleErr:"Invalid argument 'title' in 'library' call. It cannot contain spaces, special characters or begin with a digit.",exportFuncArgErr:"All exported functions args should be typified",indiRunErr:"An indicator must contain at least one of the following: any `plot*()` function, `barcolor()`, `bgcolor()`, `hline()`, `alertcondition()`, or any drawing (line, label, box, table, polyline).",libraryExportErr:"A library must contain at least one exported function, method, or type.",strategyRunErr:"A strategy must contain at least one of the following: any `strategy.*()` function that creates orders, any `plot*()` function, `barcolor()`, `bgcolor()`, `hline()`, or any drawing (line, label, box, table, polyline).",exportUseErr:"Only libraries can contain exported $type.",funcRepeatErr:"The '$name' function has overloads with the same parameters. The type of parameters must be different in overloaded versions of functions.",importMultipleErr:"Cannot import a library more than once",importNotExitErr:"The user '$username' does not have a published library titled '$libraryName'",importNameRepeatErr:"More than one import uses the same alias: $name. Previous usage at line: $line",exportFuncHasInputErr:"The exported function '$func' depends on the '$name' input variable, which is not allowed.",libraryTitleIsKeywordErr:"Invalid argument 'title' in 'library' call. Token: '$name' can't be used as library title.",exportFuncUseGlobalVarErr:"Cannot use global variables in exported functions. Function: $func",loopRuntimeErr:"Loop takes too long to execute (> 500 ms)",paramsErr:"Invalid value '$value' for '$param' parameter of the '$func' function. Possible values: $targetVal",displayErr:"Invalid argument 'display' in '$func' call. Possible values: $values",exportFuncUseReqErr:"Cannot use `request.*()` call in exported function `$name()`",requestExprErr:"Type series $type cannot be used in $name 'expression' argument",argDefaultErr:"The default value assigned to a parameter must be either a literal value (e.g., `5`) or a built-in variable (e.g., `close`)",overloadFuncErr:"Cannot use global variables or any values qualified as 'input' in the local scopes of overloaded functions or methods. Remove any global variables or inputs from the scopes of all '$name()' overloads.",againAssignErr:"Unable to determine the object for the field assignment. Try putting the object into a separate variable before assigning values to its fields.",requestUserInLoopErr:"Cannot use `request.*()` call within loops or conditional structures.",enumVarNameErr:"Invalid enum name '$name': `bool`, `int`, `float`, `string`, and `color` are not allowed.",enumVarNameBuiltinErr:"Invalid object name: $name. Namespaces of built-ins cannot be used.",typeNameErr:"Invalid user-defined type name '$name': `bool`, `int`, `float`, `string`, and `color` are not allowed.",enumUseErr:"Cannot use the '$name' as a value. Use one of the enum's fields instead.",conditionalErr:"'$name' conditional expression must be of a bool type!",fortoErr:'The value of the "for" loop must be a number.',indicatorUseStrategyFuncErr:"You cannot use strategy $type ($name) in indicator script."},Er={repeatVar:"Shadowing variable '$name' which exists in parent scope. Did you want to use the ':=' operator instead of '=' ?",typeMismatch:"The `$index` parameter of the `$operator` function accepts a '$type' argument. To avoid potential unexpected results, pass a '$type' value or expression to this parameter.",moreSameArg:"More than one '$arg' arguments are supplied. Only the first one will be used.",localScopeGetHistory:"The variable '$name' is declared in local scope, which may not be executed at every update. So, obtaining its historical values may lead to unexpected results",localScopeWarning:"The function '$name' should be called on each calculation for consistency. It is recommended to extract the call from this scope",strategyCalcTickWarn:"Strategies without `calc_on_every_tick = true` only calculate on confirmed chart bars. In this case, `barstate.islast` may not initially return `true` on realtime bars, as the last bar is unconfirmed until it closes. If you need to check whether a bar is the latest before it closes, enable `calc_on_every_tick` in the `strategy()` function.",conditionWarning:"The `condition` parameter of the `$name` accepts a 'bool' argument. To avoid potential unexpected results, pass a 'bool' value or expression to this parameter."},Vi=[W.SERIES,W.SIMPLE,W.INPUT,W.CONST],mu=[W.INT,W.FLOAT,W.BOOL,W.COLOR,W.STRING],Ol=["indicator","strategy","library"],wl=["plot","plotbar","plotchar","plotarrow","plotshape","plotcandle","hline","alertcondition","barcolor","bgcolor","fill"],uy=[...wl,"indicator","library","strategy","strategy.risk.max_drawdown","strategy.risk.allow_entry_in","strategy.risk.max_cons_loss_days","max_intraday_filled_orders","strategy.risk.max_intraday_loss","strategy.risk.max_position_size"],cy=[...wl,"table.new","label.new","line.new","box.new","polyline.new","linefill.new"],ly=["strategy.entry","strategy.order","strategy.exit","strategy.close","strategy.cancel","strategy.close_all","strategy.cancel_all"],Sp=["strategy","input","table","color","line","linefill","label","box"],Rl=["close","open","high","low","hl2","hlc3","hlcc4","ohlc4","volume"],fy=/^\/\/\s*@(description|field|function|param|returns|type|enum|variable)/,Nn=["case","catch","default","delete","do","finally","function","instanceof","new","return","this","throw","try","typeof","void","with"],Tp=["session","ta","syminfo","timeframe","strategy","barstate","label","line","linefill","box","table","chart","earnings","polyline","math","adjustment","hline","position","size","plot","format","dayofweek","shape","location","scale","currency","barmerge","xloc","yloc","extend","display","text","font","order","alert","dividends","splits","color","input","str","request","ticker","array","matrix","runtime","log","map"];var Tt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function hy(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var a=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,a.get?a:{enumerable:!0,get:function(){return t[r]}})}),n}var py={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(Tt,function(){var n=1e3,r=6e4,a=36e5,c="millisecond",h="second",d="minute",E="hour",b="day",T="week",x="month",w="quarter",F="year",R="date",v="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,A={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(se){var re=["th","st","nd","rd"],ue=se%100;return"["+se+(re[(ue-20)%10]||re[ue]||re[0])+"]"}},O=function(se,re,ue){var ce=String(se);return!ce||ce.length>=re?se:""+Array(re+1-ce.length).join(ue)+se},k={s:O,z:function(se){var re=-se.utcOffset(),ue=Math.abs(re),ce=Math.floor(ue/60),Ee=ue%60;return(re<=0?"+":"-")+O(ce,2,"0")+":"+O(Ee,2,"0")},m:function se(re,ue){if(re.date()<ue.date())return-se(ue,re);var ce=12*(ue.year()-re.year())+(ue.month()-re.month()),Ee=re.clone().add(ce,x),Te=ue-Ee<0,_e=re.clone().add(ce+(Te?-1:1),x);return+(-(ce+(ue-Ee)/(Te?Ee-_e:_e-Ee))||0)},a:function(se){return se<0?Math.ceil(se)||0:Math.floor(se)},p:function(se){return{M:x,y:F,w:T,d:b,D:R,h:E,m:d,s:h,ms:c,Q:w}[se]||String(se||"").toLowerCase().replace(/s$/,"")},u:function(se){return se===void 0}},P="en",L={};L[P]=A;var $="$isDayjsObject",M=function(se){return se instanceof Y||!(!se||!se[$])},G=function se(re,ue,ce){var Ee;if(!re)return P;if(typeof re=="string"){var Te=re.toLowerCase();L[Te]&&(Ee=Te),ue&&(L[Te]=ue,Ee=Te);var _e=re.split("-");if(!Ee&&_e.length>1)return se(_e[0])}else{var oe=re.name;L[oe]=re,Ee=oe}return!ce&&Ee&&(P=Ee),Ee||!ce&&P},N=function(se,re){if(M(se))return se.clone();var ue=typeof re=="object"?re:{};return ue.date=se,ue.args=arguments,new Y(ue)},z=k;z.l=G,z.i=M,z.w=function(se,re){return N(se,{locale:re.$L,utc:re.$u,x:re.$x,$offset:re.$offset})};var Y=function(){function se(ue){this.$L=G(ue.locale,null,!0),this.parse(ue),this.$x=this.$x||ue.x||{},this[$]=!0}var re=se.prototype;return re.parse=function(ue){this.$d=function(ce){var Ee=ce.date,Te=ce.utc;if(Ee===null)return new Date(NaN);if(z.u(Ee))return new Date;if(Ee instanceof Date)return new Date(Ee);if(typeof Ee=="string"&&!/Z$/i.test(Ee)){var _e=Ee.match(p);if(_e){var oe=_e[2]-1||0,Z=(_e[7]||"0").substring(0,3);return Te?new Date(Date.UTC(_e[1],oe,_e[3]||1,_e[4]||0,_e[5]||0,_e[6]||0,Z)):new Date(_e[1],oe,_e[3]||1,_e[4]||0,_e[5]||0,_e[6]||0,Z)}}return new Date(Ee)}(ue),this.init()},re.init=function(){var ue=this.$d;this.$y=ue.getFullYear(),this.$M=ue.getMonth(),this.$D=ue.getDate(),this.$W=ue.getDay(),this.$H=ue.getHours(),this.$m=ue.getMinutes(),this.$s=ue.getSeconds(),this.$ms=ue.getMilliseconds()},re.$utils=function(){return z},re.isValid=function(){return this.$d.toString()!==v},re.isSame=function(ue,ce){var Ee=N(ue);return this.startOf(ce)<=Ee&&Ee<=this.endOf(ce)},re.isAfter=function(ue,ce){return N(ue)<this.startOf(ce)},re.isBefore=function(ue,ce){return this.endOf(ce)<N(ue)},re.$g=function(ue,ce,Ee){return z.u(ue)?this[ce]:this.set(Ee,ue)},re.unix=function(){return Math.floor(this.valueOf()/1e3)},re.valueOf=function(){return this.$d.getTime()},re.startOf=function(ue,ce){var Ee=this,Te=!!z.u(ce)||ce,_e=z.p(ue),oe=function(ht,wt){var yt=z.w(Ee.$u?Date.UTC(Ee.$y,wt,ht):new Date(Ee.$y,wt,ht),Ee);return Te?yt:yt.endOf(b)},Z=function(ht,wt){return z.w(Ee.toDate()[ht].apply(Ee.toDate("s"),(Te?[0,0,0,0]:[23,59,59,999]).slice(wt)),Ee)},J=this.$W,te=this.$M,ve=this.$D,me="set"+(this.$u?"UTC":"");switch(_e){case F:return Te?oe(1,0):oe(31,11);case x:return Te?oe(1,te):oe(0,te+1);case T:var Ze=this.$locale().weekStart||0,Ve=(J<Ze?J+7:J)-Ze;return oe(Te?ve-Ve:ve+(6-Ve),te);case b:case R:return Z(me+"Hours",0);case E:return Z(me+"Minutes",1);case d:return Z(me+"Seconds",2);case h:return Z(me+"Milliseconds",3);default:return this.clone()}},re.endOf=function(ue){return this.startOf(ue,!1)},re.$set=function(ue,ce){var Ee,Te=z.p(ue),_e="set"+(this.$u?"UTC":""),oe=(Ee={},Ee[b]=_e+"Date",Ee[R]=_e+"Date",Ee[x]=_e+"Month",Ee[F]=_e+"FullYear",Ee[E]=_e+"Hours",Ee[d]=_e+"Minutes",Ee[h]=_e+"Seconds",Ee[c]=_e+"Milliseconds",Ee)[Te],Z=Te===b?this.$D+(ce-this.$W):ce;if(Te===x||Te===F){var J=this.clone().set(R,1);J.$d[oe](Z),J.init(),this.$d=J.set(R,Math.min(this.$D,J.daysInMonth())).$d}else oe&&this.$d[oe](Z);return this.init(),this},re.set=function(ue,ce){return this.clone().$set(ue,ce)},re.get=function(ue){return this[z.p(ue)]()},re.add=function(ue,ce){var Ee,Te=this;ue=Number(ue);var _e=z.p(ce),oe=function(te){var ve=N(Te);return z.w(ve.date(ve.date()+Math.round(te*ue)),Te)};if(_e===x)return this.set(x,this.$M+ue);if(_e===F)return this.set(F,this.$y+ue);if(_e===b)return oe(1);if(_e===T)return oe(7);var Z=(Ee={},Ee[d]=r,Ee[E]=a,Ee[h]=n,Ee)[_e]||1,J=this.$d.getTime()+ue*Z;return z.w(J,this)},re.subtract=function(ue,ce){return this.add(-1*ue,ce)},re.format=function(ue){var ce=this,Ee=this.$locale();if(!this.isValid())return Ee.invalidDate||v;var Te=ue||"YYYY-MM-DDTHH:mm:ssZ",_e=z.z(this),oe=this.$H,Z=this.$m,J=this.$M,te=Ee.weekdays,ve=Ee.months,me=Ee.meridiem,Ze=function(wt,yt,St,Ct){return wt&&(wt[yt]||wt(ce,Te))||St[yt].slice(0,Ct)},Ve=function(wt){return z.s(oe%12||12,wt,"0")},ht=me||function(wt,yt,St){var Ct=wt<12?"AM":"PM";return St?Ct.toLowerCase():Ct};return Te.replace(g,function(wt,yt){return yt||function(St){switch(St){case"YY":return String(ce.$y).slice(-2);case"YYYY":return z.s(ce.$y,4,"0");case"M":return J+1;case"MM":return z.s(J+1,2,"0");case"MMM":return Ze(Ee.monthsShort,J,ve,3);case"MMMM":return Ze(ve,J);case"D":return ce.$D;case"DD":return z.s(ce.$D,2,"0");case"d":return String(ce.$W);case"dd":return Ze(Ee.weekdaysMin,ce.$W,te,2);case"ddd":return Ze(Ee.weekdaysShort,ce.$W,te,3);case"dddd":return te[ce.$W];case"H":return String(oe);case"HH":return z.s(oe,2,"0");case"h":return Ve(1);case"hh":return Ve(2);case"a":return ht(oe,Z,!0);case"A":return ht(oe,Z,!1);case"m":return String(Z);case"mm":return z.s(Z,2,"0");case"s":return String(ce.$s);case"ss":return z.s(ce.$s,2,"0");case"SSS":return z.s(ce.$ms,3,"0");case"Z":return _e}return null}(wt)||_e.replace(":","")})},re.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},re.diff=function(ue,ce,Ee){var Te,_e=this,oe=z.p(ce),Z=N(ue),J=(Z.utcOffset()-this.utcOffset())*r,te=this-Z,ve=function(){return z.m(_e,Z)};switch(oe){case F:Te=ve()/12;break;case x:Te=ve();break;case w:Te=ve()/3;break;case T:Te=(te-J)/6048e5;break;case b:Te=(te-J)/864e5;break;case E:Te=te/a;break;case d:Te=te/r;break;case h:Te=te/n;break;default:Te=te}return Ee?Te:z.a(Te)},re.daysInMonth=function(){return this.endOf(x).$D},re.$locale=function(){return L[this.$L]},re.locale=function(ue,ce){if(!ue)return this.$L;var Ee=this.clone(),Te=G(ue,ce,!0);return Te&&(Ee.$L=Te),Ee},re.clone=function(){return z.w(this.$d,this)},re.toDate=function(){return new Date(this.valueOf())},re.toJSON=function(){return this.isValid()?this.toISOString():null},re.toISOString=function(){return this.$d.toISOString()},re.toString=function(){return this.$d.toUTCString()},se}(),ne=Y.prototype;return N.prototype=ne,[["$ms",c],["$s",h],["$m",d],["$H",E],["$W",b],["$M",x],["$y",F],["$D",R]].forEach(function(se){ne[se[1]]=function(re){return this.$g(re,se[0],se[1])}}),N.extend=function(se,re){return se.$i||(se(re,Y,N),se.$i=!0),N},N.locale=G,N.isDayjs=M,N.unix=function(se){return N(1e3*se)},N.en=L[P],N.Ls=L,N.p={},N})})(py);function Se(t,e){return t.replace(/\$(\w+)/g,(n,r)=>String(e[r])||n)}class dy extends Bm{constructor(){super(...arguments);I(this,"visitProgram");I(this,"visitGlobalStmt");I(this,"visitBlockStmt");I(this,"visitStmt");I(this,"visitSimpleStmt");I(this,"visitFlowStmt");I(this,"visitBlock");I(this,"visitBlockLine");I(this,"visitVariableDeclarationStmt");I(this,"visitDeclareAssign");I(this,"visitAgainAssign");I(this,"visitVarModifier");I(this,"visitBlockSequence");I(this,"visitExpressionSequence");I(this,"visitExpressionBlockSequence");I(this,"visitVarBlockStmt");I(this,"visitVarSingle");I(this,"visitVarMultiple");I(this,"visitBlockExpression");I(this,"visitParenthesizedExpression");I(this,"visitAdditiveExpression");I(this,"visitRelationalExpression");I(this,"visitTernaryExpression");I(this,"visitLogicalAndExpression");I(this,"visitNameExpression");I(this,"visitLiteralExpression");I(this,"visitLogicalOrExpression");I(this,"visitUnaryExpression");I(this,"visitNotExpression");I(this,"visitMemberIndexExpression");I(this,"visitMethodExpression");I(this,"visitEqualityExpression");I(this,"visitMultiplicativeExpression");I(this,"visitBrackethesized");I(this,"visitArguments");I(this,"visitArgument");I(this,"visitIfStatement");I(this,"visitForToStatement");I(this,"visitForInStatement");I(this,"visitSwitchStatement");I(this,"visitCaseClause");I(this,"visitDefaultCaluse");I(this,"visitWhileStatement");I(this,"visitImportStmt");I(this,"visitImportElement");I(this,"visitLiteral");I(this,"visitMethodStmt");I(this,"visitMethodElement");I(this,"visitMethodName");I(this,"visitArrowFunction");I(this,"visitArrowFunctionParameters");I(this,"visitFormalParameterList");I(this,"visitFormalParameterArg");I(this,"visitArrowMethod");I(this,"visitArrowMethodParameters");I(this,"visitTypeStatement");I(this,"visitTypeElement");I(this,"visitAssignmentOperator");I(this,"visitTypeMap");I(this,"visitTypeSeries");I(this,"visitTypeArray");I(this,"visitTypeGather");I(this,"visitIdentifier");I(this,"visitTypeName");I(this,"visitName");I(this,"visitEnumStatement");I(this,"visitEnumElement")}}class _y extends dy{constructor(n){super();I(this,"_buildinVariables");I(this,"_buildinTypes");I(this,"_buildinConstants");I(this,"_buildinMethods");I(this,"_buildinFunctions");this._buildinVariables=new Map,this._buildinConstants=new Map,this._buildinFunctions=new Map,this._buildinTypes=new Map,this._buildinMethods=new Map,this._buildinHandle(n)}_buildinHandle(n){for(const r in n){const a=new Map(Object.entries(n[r]));switch(r){case"constants":this._buildinConstants=a;break;case"functions":this._buildinFunctions=a;break;case"methods":this._buildinMethods=a;break;case"types":this._buildinTypes=a;break;case"variables":this._buildinVariables=a;break}}}_typeHandle(n=[],r){if(!n.length)return W.UNDETERMINED;if(n=n.filter(h=>!h.endsWith(W.NA)),!n.length)return`${W.SIMPLE} ${W.NA}`;let a=100,c="";for(const h of n){if(h===W.UNDETERMINED)return W.UNDETERMINED;h.startsWith(W.SERIES)?a=0:h.startsWith(W.SIMPLE)&&a>0?a=1:h.startsWith(W.INPUT)&&a>1?a=2:h.startsWith(W.CONST)&&a>2&&(a=3);const d=this._removePrefix(h);(d!==W.INT||!c)&&(c=d)}return a===100?c:`${Vi[a]} ${r||c}`}_returnTypesOtherHandle(n,r,a,c){if(!a.length||a[0].includes("<>")){const h=n.type;let d=h;if(!h||h===W.UNDETERMINED)return[W.UNDETERMINED];switch(r){case"series <type>":d=this._getArrayType(h),d||(d=this._removePrefix(h)),a=[this._typeAddSeries(d)];break;case"array<type>":case"matrix<type>":case"type[]":if(this._isMapType(h)){const E=this._getMapType(h)||[];c.includes("keys")?d=E[0]:d=E[1]}else d=this._getArrayType(h),d||(d=this._removePrefix(h));a=[this._typeReplace(r,d)];break;case"<matrix_type>":d=this._getArrayType(h),a=[this._typeAddSeries(d)];break;case"map<keyType, valueType>":a=[d];break;case"<value_type>":d=this._getMapType(h),a=[d[1]];break}}return a}_checkMethodThisType(n,r){if(!n||!n.length||n[0].includes("<>"))return!0;const a=r.replace("int","float");return n.some(c=>c===r||a===c||c.endsWith(r))}_priorityComparison(n,r){if(!n)return!1;if(this._isArrayType(n)||this._isMatrixType(n))return this._getArrayType(r)!==W.INT;{const a=this._getPrefix(n),c=this._getPrefix(r);return a===c?!!n.endsWith(W.INT):!(Vi.indexOf(a)<Vi.indexOf(c))}}_compareType(n,r){if(n===W.UNDETERMINED||r===W.UNDETERMINED)return!0;const a=[W.FLOAT,W.INT];if(this._isArrayType(n)||this._isMatrixType(n)){const c=this._getArrayType(n)||"",h=this._getArrayType(r)||"";return c===h||a.includes(c)&&a.includes(h)}else if(this._isMapType(n)){const c=this._getMapType(n)||[],h=this._getMapType(r)||[];return(c[0]===h[0]||a.includes(c[0])&&a.includes(h[0]))&&(c[1]===h[1]||a.includes(c[1])&&a.includes(h[1]))}else{const c=this._removePrefix(n),h=this._removePrefix(r);return c===W.NA||h===W.NA||c===h||a.includes(c)&&a.includes(h)}}_typeAddSeries(n){return this._buildinTypes.get(n)&&n!==W.CHART_POINT?`${W.SERIES} ${n}`:n}_typeAddConst(n){return mu.includes(n)?`${W.CONST} ${n}`:this._typeAddSeries(n)}_getOriginMethodName(n,r){let a="";return this._isArrayType(n)?a=`${W.ARRAY}.${r}`:this._isMatrixType(n)?a=`${W.MATRIX}.${r}`:this._isMapType(n)?a=`${W.MAP}.${r}`:a=`${this._removePrefix(n)}.${r}`,a}_returnedTypesParse(n){if(!n||!n.length)return[];const r=n[0];return/^\[.+\]$/.test(r)?r.replace(/[[\]]/g,"").split(",").map(a=>a.trim()):n}_removePrefix(n=""){return n.replace(/(series|simple|const|input)\s+([\w\d.]+)/,"$2")}_getPrefix(n){if(!n)return"";const r=n.replace(/(series|simple|const|input).+/,"$1");return Vi.includes(r)?r:""}_getArrayType(n){let r=/\w+<([\w\d.]+)>/.exec(n);return r||(r=/([\w\d.]+)\[\]/.exec(n)),r==null?void 0:r[1]}_getMapType(n){const r=/\w+<(\w+),\s*([\w\d.]+)>/.exec(n);return(r==null?void 0:r[1])&&(r==null?void 0:r[2])&&[r==null?void 0:r[1],r==null?void 0:r[2]]}_isMatrixType(n){return/^matrix<[\w\d.]+>$/.test(n)}_isArrayType(n){return/^array<[\w\d.]+>$/.test(n)||/^[\w\d.]+\[\]$/.test(n)}_isMapType(n){return/^map<\w+,\s*[\w\d.]+>$/.test(n)}_arrayTypeConvert(n){return!this._isArrayType(n)||!n.includes("<")?n:`${this._getArrayType(n)}[]`}_getMethodTypeName(n){return this._isArrayType(n)?W.ARRAY:this._isMapType(n)?W.MAP:this._isMatrixType(n)?W.MATRIX:this._removePrefix(n)}_typeReplace(n,r){return r===W.UNDETERMINED?r:(r=this._removePrefix(r),this._arrayTypeConvert(n.startsWith(W.SERIES)?n.replace("<type>",r):n.replace("type",r)))}}var Pn=(t=>(t[t.Hint=1]="Hint",t[t.Info=2]="Info",t[t.Warning=4]="Warning",t[t.Error=8]="Error",t))(Pn||{});class Ap extends _y{constructor(n,r,a){super(n);I(this,"_loopCount");I(this,"_errors");I(this,"_variables");I(this,"_functions");I(this,"_methods");I(this,"_types");I(this,"_enums");I(this,"_currentBlockVars");I(this,"_currentFuncParams");I(this,"_isNeedCalc");I(this,"_blockCount");I(this,"_isInFunc");I(this,"_currentExportFunc");I(this,"_onlyStatementsCount");I(this,"_blockRanges");I(this,"_overloadsFuncs");I(this,"_hasMemberIndex");I(this,"_isInLocalScop");I(this,"_comments");I(this,"_currentLine",0);I(this,"_hasDrawFunc",!1);I(this,"_hasCreateOrderFunc",!1);I(this,"_scriptType");I(this,"_exportFunctions");I(this,"_exportMethods");I(this,"_exportTypes");I(this,"_exportEnums");I(this,"_exportPositions");I(this,"_description","");I(this,"_endExport");I(this,"_importLibs");I(this,"_getImportLibraryFunc");I(this,"_isEndExpr");I(this,"_inputVarName");I(this,"_hasRequest");I(this,"_strategyFuncName");I(this,"_strategyVarName");I(this,"visitProgram",async n=>{const{children:r}=n;let a=0;const c=[];for(this._pushBlockRanges(n);a<r.length;a++){const h=r[a];h.ruleIndex===j.RULE_globalStmt&&c.push(await this.visit(h))}return this._onlyStatementsCount<=0?this._errors.push({startColumn:0,endColumn:0,startLineNumber:0,endLineNumber:0,type:Pn.Error,message:Se(xe.onlyStatementErr,{count:this._onlyStatementsCount})}):this._scriptType===Ui.indicator&&(this._strategyFuncName?this._errorHandle(Se(xe.indicatorUseStrategyFuncErr,{name:this._strategyFuncName.name,type:"functions"}),this._strategyFuncName.ctx):this._strategyVarName&&this._errorHandle(Se(xe.indicatorUseStrategyFuncErr,{name:this._strategyVarName.name,type:"variables"}),this._strategyVarName.ctx)),c});I(this,"visitGlobalStmt",async n=>{const{children:r}=n;if(r&&r.length){const a=r[0],c=await this.visit(a);return a.ruleIndex===j.RULE_methodStmt&&Ol.includes(c.exprs[0].name)&&(this._onlyStatementsCount++,this._onlyStatementsCount>1?this._errorHandle(Se(xe.onlyStatementErr,{count:this._onlyStatementsCount}),a):this._scriptType=c.exprs[0].name),c}return null});I(this,"visitBlockStmt",n=>{const{children:r}=n;let a=0;const c=[];for(;a<r.length;a++){const h=r[a];switch(h.ruleIndex){case j.RULE_variableDeclarationStmt:c.push(...this.visit(h));break;case j.RULE_varBlockStmt:c.push(this.visit(h));break;case j.RULE_blockExpression:c.push(this.visit(h));break}}return c});I(this,"visitStmt",n=>{const{children:r}=n;if(r&&r.length){const a=r[0];return this.visit(a)}return null});I(this,"visitSimpleStmt",n=>{const{children:r}=n;if(r&&r.length){const a=r[0];return this.visit(a)}return null});I(this,"visitFlowStmt",n=>{const{children:r}=n,{column:a,line:c,text:h}=r[0].symbol;if(this._currentLine=c,this._loopCount<=0){const d=a+1;this._errors.push({startColumn:d,endColumn:parseInt(d+h.length),startLineNumber:c,endLineNumber:c,message:Se(xe.onlyInLoop,{text:h})})}return{ruleType:ge.FlowStmt,value:h}});I(this,"visitBlock",n=>{const{children:r}=n;if(r&&r.length){const a=r[0];return a.ruleIndex===j.RULE_simpleStmt?this._inBlock(a):this.visit(a)}return null});I(this,"visitBlockLine",n=>{const{children:r}=n;if(!r)return null;let a=0;const c=[];this._blockCount++,this._pushBlockRanges(n);const h=this._isEndExpr;for(;a<r.length;a++){const d=r[a];d.ruleIndex===j.RULE_stmt&&(this._isInFunc&&(this._isEndExpr=r.length-2===a&&h),c.push(this.visit(d)))}return this._blockCount--,this._blockRanges.pop(),this._currentBlockVars.splice(this._blockCount+1),c});I(this,"visitDeclareAssign",n=>{var h;const{children:r}=n;let a=0;const c={ruleType:ge.DeclareAssign};for(;a<r.length;a++){const d=r[a];switch(d.ruleIndex){case j.RULE_varArrayDeclaration:c.nameList=this.visit(d),this._inputVarName=(h=c.nameList)==null?void 0:h.name;break;case j.RULE_singleExpression:c.value=this.visit(d),this._inputVarName=void 0;break}}return this._variablesHandle(c,n),c});I(this,"visitAgainAssign",n=>{const{children:r,start:a}=n;if(this._currentLine=a.line,r.length>=3){const c=this.visit(r[0]);this._verifyGloablVar(c,r[0]);const h=this.visit(r[2]),d=this.visit(r[1]);return c.type?this._againAssignHandle([c,h],[r[0],r[2]],d):null}return null});I(this,"visitVarModifier",n=>{const{children:r}=n;return r[0].symbol.text});I(this,"visitExpressionSequence",n=>{const{children:r,start:a}=n;let c=0;const h=[];for(this._currentLine=a.line;c<r.length;c++){const d=r[c];if(d.ruleIndex===j.RULE_singleExpression){const E=this.visit(d);E&&(E.ctx=d,h.push(E))}}return h});I(this,"visitExpressionBlockSequence",n=>{const{children:r}=n;let a=0;const c=[];for(;a<r.length;a++){const h=r[a];switch(h.ruleIndex){case j.RULE_singleExpression:c.push(this.visit(h));break;case j.RULE_variableDeclarationList:c.push(this.visit(h));break;case j.RULE_blockExpression:c.push(this.visit(h));break;case j.RULE_varBlockStmt:c.push(this.visit(h));break}}return c});I(this,"visitBlockSequence",n=>{const{children:r}=n;let a=0;const c=[];for(;a<r.length;a++){const h=r[a];switch(h.ruleIndex){case j.RULE_variableDeclarationList:c.push(this.visit(h));break;case j.RULE_singleExpression:c.push(this.visit(h));break}}return c});I(this,"visitVariableDeclarationStmt",n=>{const{children:r}=n;let a=0;const c=[];for(;a<r.length;a++){const h=r[a];switch(h.ruleIndex){case j.RULE_variableDeclarationList:c.push(this.visit(h));break;case j.RULE_methodStmt:const d=this.visit(h);Ol.includes(d.exprs[0].name)&&(this._onlyStatementsCount++,this._onlyStatementsCount>1?this._errorHandle(Se(xe.onlyStatementErr,{count:this._onlyStatementsCount}),h):this._scriptType=d.exprs[0].name),c.push(d);break}}return c});I(this,"visitVarBlockStmt",n=>{const{children:r}=n;let a=0;const c={ruleType:ge.VarBlockStmt,ctx:n},h=[];for(;a<r.length;a++){const d=r[a];switch(d.ruleIndex){case j.RULE_varArrayDeclaration:c.nameList=this.visit(d);break;case j.RULE_assignmentOperator:c.operator=this.visit(d);break;case j.RULE_name:h.push(d),c.name=this.visit(d);break;case j.RULE_blockExpression:this._isNeedCalc=!0,c.value=this.visit(d),h.push(d);const E=this._getBlockReturnTypes(c.value);E.length===1?c.value.type=E[0]:c.value.types=E,this._isNeedCalc=!1;break}}return c.name?this._againAssignHandle([c.name,c.value],h,c.operator):(this._variablesHandle(c,n),c)});I(this,"visitVarSingle",n=>{const{children:r,start:a}=n,c={ruleType:ge.VarSingle};let h=0;const d=this._commentsParser(a.line,[Zt.variable]);c.desc=d==null?void 0:d[Zt.variable],this._currentLine=a.line;let E={lineNumber:0,column:0};for(;h<r.length;h++){const b=r[h];switch(b.ruleIndex){case j.RULE_varModifier:c.declare=this.visit(b);break;case j.RULE_typeGather:const T=this.visit(b);c.prefix=this._getPrefix(T),c.type=T&&this._typeAddConst(T);break;case j.RULE_identifier:const x=this.visit(b);this._repeatVarJudge(x,b),E={lineNumber:b.start.line,column:b.start.column},c.name=x,c.pos=E;break}}return c});I(this,"_commentsParser",(n,r,a=!1)=>{var b;const c=this._comments.filter(T=>T.line<n&&T.line>=this._currentLine),h={},d={line:0,key:"",secKey:""},E=[Zt.field,Zt.param];for(const T of c){const[x,w]=fy.exec(T.text)||[];if(w&&r.includes(w)){const F=T.text.replace(x,"").trim();if(Object.assign(d,{line:T.line,key:w}),E.includes(w)){const[R,...v]=F.split(" ");R&&(Object.assign(d,{secKey:R}),h[w]=Object.assign(h[w]||{},{[R]:v.join(" ").trim()}))}else h[w]=[F]}else if(a&&d.key){const F=T.text.replace("//","").trim();E.includes(d.key)?h[d.key][d.secKey]+=` ${F}`:(b=h[d.key])==null||b.push(F)}}return h});I(this,"visitVarMultiple",n=>{const{children:r,start:a}=n;let c=0;const h=[],d=[];for(this._currentLine=a.line;c<r.length;c++){const E=r[c];if(E.ruleIndex===j.RULE_identifier){const b=this.visit(E);this._repeatVarJudge(b,E),h.push(b),d.push({lineNumber:E.start.line,column:E.start.column})}}return{ruleType:ge.VarMultiple,names:h,posList:d}});I(this,"visitBlockExpression",n=>{const{children:r,start:a}=n;if(this._currentLine=a.line,r&&r.length){const c=r[0];return this.visit(c)}return null});I(this,"visitParenthesizedExpression",n=>{const{children:r}=n,a=r[1],c=this.visit(a);return{ruleType:ge.ParenthesizedExpression,type:c.type,ctx:n,exprs:c}});I(this,"visitAdditiveExpression",n=>{const{children:r}=n;let a=0,c="";const h=[];for(;a<r.length;a++){const E=r[a];E.ruleIndex===j.RULE_singleExpression?h.push(this.visit(E)):c=E.symbol.text}const d={ruleType:ge.AdditiveExpression,operator:c,ctx:n,exprs:h};if(["+","-"].includes(c)){const E=[W.UNDETERMINED,W.INT,W.FLOAT];c==="+"&&E.push(W.STRING);const b=this._sameTypeJudge(h,[r[0],r[2]],c,E);d.type=this._typeHandle(b)}else{const E=this._calcTypeJudge(h[0],r[0],c),b=this._calcTypeJudge(h[1],r[2],c,1);d.type=this._typeHandle([E,b])}return d});I(this,"visitRelationalExpression",n=>{const{children:r}=n;let a=0,c="";const h=[];for(;a<r.length;a++){const b=r[a];b.ruleIndex===j.RULE_singleExpression?h.push(this.visit(b)):c=b.symbol.text}const d=this._calcTypeJudge(h[0],r[0],c),E=this._calcTypeJudge(h[1],r[2],c,1);return{ruleType:ge.RelationalExpression,operator:c,ctx:n,type:this._typeHandle([d,E],W.BOOL),exprs:h}});I(this,"visitEqualityExpression",n=>{const{children:r}=n;let a=0,c="";const h=[];for(;a<r.length;a++){const E=r[a];E.ruleIndex===j.RULE_singleExpression?h.push(this.visit(E)):c=E.symbol.text}const d=this._sameTypeJudge(h,[r[0],r[2]],c,[W.UNDETERMINED,W.COLOR,W.STRING,W.BOOL,W.INT,W.FLOAT]);return{ruleType:ge.EqualityExpression,operator:c,ctx:n,type:this._typeHandle(d,W.BOOL),exprs:h}});I(this,"visitTernaryExpression",n=>{const{children:r}=n;let a=0;const c=[];for(;a<r.length;a++){const d=r[a];d.ruleIndex===j.RULE_singleExpression&&c.push(this.visit(d))}let h=W.UNDETERMINED;if(c.length>=3){this._boolTypeJudge(c[0],r[0],"?:");const d=this._sameTypeJudge(c.slice(1),[r[2],r[4]],"?:",[]),E=this._getPrefix(c[0].type);h=this._typeHandle(d),E&&this._getPrefix(h)&&(h=this._typeHandle([h,`${E} ${this._removePrefix(h)}`]))}return{ruleType:ge.TernaryExpression,type:h,ctx:n,exprs:c}});I(this,"visitNameExpression",n=>{const{children:r}=n;if(r&&r.length){const a=r[0];return this.visit(a)}return null});I(this,"visitLiteralExpression",n=>{const{children:r}=n;if(r&&r.length){const a=r[0];return this.visit(a)}return null});I(this,"visitUnaryExpression",n=>{var b;const{children:r}=n,[a,c]=r,h=[this.visit(c)],d=a.symbol.text,E=this._calcTypeJudge(h[0],c,d);return((b=h[0])==null?void 0:b.ruleType)===ge.UnaryExpression&&this._errors.push({message:Se(xe.unaryErr,{sign:d}),startColumn:a.symbol.column+1,startLineNumber:a.symbol.line,endColumn:a.symbol.column+2,endLineNumber:a.symbol.line}),{ruleType:ge.UnaryExpression,operator:d,type:E,ctx:n,exprs:h}});I(this,"visitNotExpression",n=>{const{children:r}=n,a=r[1],c=[this.visit(a)],h=this._boolTypeJudge(c[0],a,"not");return{ruleType:ge.NotExpression,ctx:n,type:this._typeHandle([h],W.BOOL),exprs:c}});I(this,"visitMemberIndexExpression",n=>{var h,d;const{children:r}=n;let a=0;const c=[];for(;a<r.length;a++){const E=r[a];E.ruleIndex===j.RULE_singleExpression&&c.push(this.visit(E))}if(this._memberIndexVerify(c[0],n),this._hasMemberIndex=!0,((h=c[0])==null?void 0:h.ruleType)===ge.MemberIndexExpression){const E=r[1];this._errors.push({message:Se(xe.unaryErr,{sign:"["}),startColumn:E.symbol.column+1,startLineNumber:E.symbol.line,endColumn:E.symbol.column+2,endLineNumber:E.symbol.line}),this._hasMemberIndex=!1}return{ruleType:ge.MemberIndexExpression,type:(d=c[0])==null?void 0:d.type,ctx:n,isInFunc:this._isInFunc,exprs:c}});I(this,"visitMethodStmt",n=>{var T;const{children:r,start:a}=n;let c=0;const h=[],d=[],E=this._commentsParser(a.line,[Zt.description],!0);this._currentLine=a.line;let b;for(;c<r.length;c++){const x=r[c];x.ruleIndex===j.RULE_methodElement&&(h.push(this.visit(x)),d.push(x))}return((T=h[0])==null?void 0:T.name)===Ui.library&&E.description&&(this._description=E.description.join(`
|
12
|
+
`)),b=this._getMethodTypes(h,d)||[],this._inputFuncTitleVerify(h,n),{ruleType:ge.MethodExpression,types:b.length>1||b.isBrackethesized||b.isUnknown?b:void 0,ctx:n,type:b.length===1?b[0]:void 0,exprs:h}});I(this,"visitMethodExpression",n=>{const{children:r}=n;if(r&&r.length){const a=r[0];return this.visit(a)}return null});I(this,"visitLogicalAndExpression",n=>{const{children:r}=n;let a=0,c="";const h=[];for(;a<r.length;a++){const b=r[a];b.ruleIndex===j.RULE_singleExpression?h.push(this.visit(b)):c=b.symbol.text}const d=this._boolTypeJudge(h[0],r[0],c),E=this._boolTypeJudge(h[1],r[2],c,1);return{ruleType:ge.LogicalAndExpression,type:this._typeHandle([d,E],W.BOOL),operator:c,ctx:n,exprs:h}});I(this,"visitLogicalOrExpression",n=>{const{children:r}=n;let a=0,c="";const h=[];for(;a<r.length;a++){const b=r[a];b.ruleIndex===j.RULE_singleExpression?h.push(this.visit(b)):c=b.symbol.text}const d=this._boolTypeJudge(h[0],r[0],c),E=this._boolTypeJudge(h[1],r[2],c,1);return{ruleType:ge.LogicalOrExpression,operator:c,ctx:n,type:this._typeHandle([d,E],W.BOOL),exprs:h}});I(this,"visitMultiplicativeExpression",n=>{const{children:r}=n;let a=0,c="";const h=[];for(;a<r.length;a++){const b=r[a];b.ruleIndex===j.RULE_singleExpression?h.push(this.visit(b)):c=b.symbol.text}const d=this._calcTypeJudge(h[0],r[0],c),E=this._calcTypeJudge(h[1],r[2],c,1);return{ruleType:ge.MultiplicativeExpression,operator:c,ctx:n,type:this._typeHandle([d,E]),exprs:h}});I(this,"visitBrackethesized",n=>{const{children:r,start:a}=n,c=r[1];return this._currentLine=a.line,{ruleType:ge.Brackethesized,ctx:n,exprs:this.visit(c)}});I(this,"visitArguments",n=>{const{children:r}=n;let a=0;const c={params:[]};let h="";for(;a<r.length;a++){const d=r[a];if(d.ruleIndex===j.RULE_argument){const E=this.visit(d),b=E.paramKey;b?(h=b,c[b]?this._errorHandle(Se(Er.moreSameArg,{arg:b}),n.parentCtx,Pn.Warning):(c[b]=E.param,c[b].ctx=d)):h?this._errorHandle(Se(xe.argsSyntaxErr,{argName:h}),d):(E.ctx=d,c.params.push(E))}}return c});I(this,"visitArgument",n=>{const{children:r}=n;return r.length===1?this.visit(r[0]):{paramKey:this.visit(r[0]),param:this.visit(r[2])}});I(this,"visitIfStatement",n=>{const{children:r}=n;let a=0;const c={ruleType:ge.IfStatement,condition:[],block:[],ctx:n,typeList:[]};for(;a<r.length;a++){const h=r[a];switch(h.ruleIndex){case j.RULE_singleExpression:const d=this.visit(h);if(!d)break;d.ctx=h,c.condition.push(d);break;case j.RULE_blockLine:const E=this._isInLocalScop;this._isInLocalScop=!0;const b=this.visit(h);c.typeList.push(this._getBlockReturnTypes(b)),c.block.push(b),this._isInLocalScop=E;break}}return this._verifyIf(c),c});I(this,"visitForToStatement",n=>{const{children:r}=n;let a=0;const c={ruleType:ge.ForToStatement,numerical:[],ctx:n,block:[]};for(;a<r.length;a++){const h=r[a];switch(h.ruleIndex){case j.RULE_varModifier:c.declare=this.visit(h);break;case j.RULE_typeGather:const d=this.visit(h);c.type=d&&this._typeAddSeries(d);break;case j.RULE_identifier:c.name=this.visit(h),this._repeatVarJudge(c.name,h);break;case j.RULE_singleExpression:const E=this.visit(h);E&&(E.ctx=h,c.numerical.push(E));break;case j.RULE_blockLine:if(this._blockCount++,this._pushBlockRanges(n),c.name){const T=c.numerical[0].type;this._variablesHandle({nameList:{name:c.name,isForVar:!0,type:c.type},value:{type:T||`${W.SERIES} ${W.INT}`}},n)}this._blockCount--,this._blockRanges.pop(),this._loopCount++;const b=this._isInLocalScop;this._isInLocalScop=!0,c.block=this.visit(h),this._loopCount--,this._isInLocalScop=b,c.returnedTypes=this._getBlockReturnTypes(c.block);break}}return this._verifyForTo(c),c});I(this,"visitForInStatement",n=>{const{children:r}=n;let a=0;const c={ruleType:ge.ForInStatement,ctx:n,names:[]};for(;a<r.length;a++){const h=r[a];switch(h.ruleIndex){case j.RULE_identifier:const d=this.visit(h);this._repeatVarJudge(d,h),c.names.push(d);break;case j.RULE_singleExpression:c.array=this.visit(h);const E=c.array.type;this._isArrayType(E)||this._isMatrixType(E)||E===W.UNDETERMINED||this._errorHandle(Se(xe.typeMismatch,{operator:"foreach",index:"id",typeE:E,typeR:"array<fun_arg>"}),h);break;case j.RULE_blockLine:if(this._blockCount++,this._pushBlockRanges(n),c.names.length){let[T,x]=c.names;const w=c.array.type;x?this._variablesHandle({nameList:{name:T,isForVar:!0,type:`${W.SERIES} ${W.INT}`},value:{type:`${W.SERIES} ${W.INT}`}},n):x=T;const F=w===W.UNDETERMINED?w:this._isMatrixType(w)?`${this._getArrayType(w)}[]`:this._typeAddSeries(this._getArrayType(w));this._variablesHandle({nameList:{name:x,isForVar:!0,type:F},value:{type:F}},n)}this._blockCount--,this._blockRanges.pop(),this._loopCount++;const b=this._isInLocalScop;this._isInLocalScop=!0,c.block=this.visit(h),this._isInLocalScop=b,this._loopCount--,c.returnedTypes=this._getBlockReturnTypes(c.block);break}}return c});I(this,"visitSwitchStatement",n=>{const{children:r}=n;let a=0;const c={ruleType:ge.SwitchStatement,condition:!0,ctx:n,cases:[],defaultCase:void 0};for(;a<r.length;a++){const h=r[a];switch(h.ruleIndex){case j.RULE_singleExpression:if(c.condition=this.visit(h),!h.children)break;c.condition.ctx=h;break;case j.RULE_caseClause:c.cases.push(this.visit(h));break;case j.RULE_defaultCaluse:c.defaultCase=this.visit(h);break}}return this._verifySwitch(c),c});I(this,"visitCaseClause",n=>{const{children:r}=n,a={ruleType:ge.CaseClause},c=this._isInLocalScop;return this._isInLocalScop=!0,a.condition=this.visit(r[0]),a.condition&&(a.condition.ctx=r[0],a.block=this.visit(r[2]),this._isInLocalScop=c,a.returnedTypes=this._getBlockReturnTypes(a.block)),a});I(this,"visitDefaultCaluse",n=>{const{children:r}=n,a={ruleType:ge.DefaultCaluse},c=this._isInLocalScop;return this._isInLocalScop=!0,a.block=this.visit(r[1]),this._isInLocalScop=c,a.returnedTypes=this._getBlockReturnTypes(a.block),a});I(this,"visitWhileStatement",n=>{const{children:r}=n,a={ruleType:ge.WhileStatement,ctx:n};if(a.condition=this.visit(r[1]),!a.condition)return a;a.condition.ctx=r[1],this._loopCount++;const c=this._isInLocalScop;return this._isInLocalScop=!0,a.block=this.visit(r[2]),this._isInLocalScop=c,this._loopCount--,a.returnedTypes=this._getBlockReturnTypes(a.block),this._verifyWhile(a),a});I(this,"visitImportStmt",async n=>{const{children:r,start:a}=n;let c=0;const h=[];for(this._currentLine=a.line;c<r.length;c++){const d=r[c];if(d.ruleIndex===j.RULE_importElement){const E=await this.visit(d);E&&h.push(E)}}return h});I(this,"visitImportElement",async n=>{const{children:r}=n;if(!r||!r.length)return;let a=0;const c=[],h={ruleType:ge.ImportElement,ctx:n};for(;a<r.length;a++){const d=r[a];d.ruleIndex===j.RULE_identifier?c.push(this.visit(d)):d.symbol&&d.symbol.type===j.IntegerLiteral&&(h.libraryVersion=d.symbol.text)}return h.username=c[0],h.libraryName=c[1],h.name=c[2],await this._importHandle(h,n),h});I(this,"visitLiteral",n=>{const{children:r}=n,a=r[0],{type:c,text:h}=a.symbol,d={ruleType:ge.Literal,ctx:n,type:"",value:h};switch(c){case j.ColorLiteral:d.type=W.COLOR;break;case j.BooleanLiteral:d.type=W.BOOL;break;case j.StringLiteral:if(d.type=W.STRING,h.includes(`
|
13
|
+
`)){const E=h.replace(/\s*(\n|\r)\s*/g," ");d.value=`\`${E.substring(1,E.length-1)}\``}break;case j.IntegerLiteral:d.type=W.INT;break;case j.DecimalLiteral:d.type=W.FLOAT;break}return d.type&&(d.type=`${W.CONST} ${d.type}`),d});I(this,"visitMethodElement",n=>{const{children:r}=n,[a,c]=r,[h,d,E]=this.visit(a),b=this.visit(c);return h.startsWith("request.")&&this._isInFunc&&(this._currentExportFunc&&this._errorHandle(Se(xe.exportFuncUseReqErr,{name:h}),n),this._hasRequest=!0),{name:h,type:d,args:b,expr:E}});I(this,"visitMethodName",n=>{const{children:r}=n,a=[],c=[];let h=0,d=null;for(;h<r.length;h++){const b=r[h],T=b.ruleIndex,x=b.symbol;switch(T){case j.RULE_identifier:a.push(this.visit(b));break;case j.RULE_singleExpression:d=this.visit(b);break;case j.RULE_typeName:const w=this.visit(b);c.push(w),this._typeCheck(w,j.RULE_typeName,b);break;default:x&&x.text==="."&&a.push(".")}}const E=a.join("");return cy.includes(E)?this._hasDrawFunc=!0:ly.includes(E)&&(this._hasCreateOrderFunc=!0),[E,c,d]});I(this,"visitArrowFunction",n=>{const{children:r,start:a,stop:c}=n,h={ruleType:ge.ArrowFunction,returnedTypes:[]};let d=0,E={lineNumber:0,column:0};const b=this._commentsParser(a.line,[Zt.function,Zt.param,Zt.returns],!0);Object.assign(h,{desc:b[Zt.function],paramsDesc:b[Zt.param],returnsDesc:b[Zt.returns]}),this._currentLine=a.line;let T=null;for(;d<r.length;d++){const x=r[d],w=x.ruleIndex,F=x.symbol;switch(w){case j.RULE_identifier:E={lineNumber:x.start.line,column:x.start.column},h.name=this.visit(x);break;case j.RULE_arrowFunctionParameters:h.params=this.visit(x),h.isExport&&this._exportArgsTypeVerify(h.params),this._setFuncParams(h,{endColumn:c.column,endLineNumber:c.line-1,startColumn:a.column,startLineNumber:a.line}),T=x;break;case j.RULE_block:this._isInFunc=!0,h.isExport&&(this._currentExportFunc=h.name),this._hasMemberIndex=!1,this._hasRequest=!1,h.block=this.visit(x),h.hasMemberIndex=this._hasMemberIndex,h.returnedTypes=this._getBlockReturnTypes(h.block),this._isInFunc=!1,this._currentExportFunc="";break;default:F&&F.type===j.Export&&(h.isExport=!0,this._addExportPos(F,"functions"))}}return h.hasRequest=this._hasRequest,this._setFunc(h,E,T,c.line-1),this._hasRequest=!1,this._currentFuncParams.clear(),h});I(this,"visitArrowFunctionParameters",n=>{const{children:r}=n;let a=0,c=[];for(;a<r.length;a++){const h=r[a];h.ruleIndex===j.RULE_formalParameterList&&(c=this.visit(h))}return c});I(this,"visitFormalParameterList",n=>{const{children:r}=n;let a=0;const c=[];for(;a<r.length;a++){const h=r[a];h.ruleIndex===j.RULE_formalParameterArg&&c.push(this.visit(h))}return c});I(this,"visitFormalParameterArg",n=>{const{children:r}=n;let a=0;const c={};for(;a<r.length;a++){const h=r[a];switch(h.ruleIndex){case j.RULE_typeGather:const d=this.visit(h);c.type=d&&this._typeAddSeries(d);break;case j.RULE_identifier:c.name=this.visit(h);break;case j.RULE_singleExpression:c.defaultValue=this.visit(h),delete c.defaultValue.ctx}}return c.ctx=n,this._verifyArgsDefaultValue(c,n),c.type=c.type||W.UNDETERMINED,c});I(this,"visitArrowMethod",n=>{const{children:r,start:a,stop:c}=n;let h=0;const d={ruleType:ge.ArrowMethod,returnedTypes:[]};let E={lineNumber:0,column:0};const b=this._commentsParser(a.line,[Zt.function,Zt.param,Zt.returns],!0);Object.assign(d,{desc:b[Zt.function],paramsDesc:b[Zt.param],returnsDesc:b[Zt.returns]}),this._currentLine=a.line;let T=null;for(;h<r.length;h++){const x=r[h];switch(x.ruleIndex){case j.RULE_identifier:E={lineNumber:x.start.line,column:x.start.column},d.name=this.visit(x);break;case j.RULE_arrowMethodParameters:d.params=this.visit(x),d.isExport&&this._exportArgsTypeVerify(d.params),this._setFuncParams(d,{endColumn:c.column,endLineNumber:c.line-1,startColumn:a.column,startLineNumber:a.line}),T=x;break;case j.RULE_block:this._isInFunc=!0,d.isExport&&(this._currentExportFunc=d.name),this._hasMemberIndex=!1,this._hasRequest=!1,d.block=this.visit(x),d.hasMemberIndex=this._hasMemberIndex,d.returnedTypes=this._getBlockReturnTypes(d.block),this._isInFunc=!1,this._currentExportFunc="";break;default:x.symbol&&x.symbol.type===j.Export&&(d.isExport=!0,this._addExportPos(x.symbol,"methods"));break}}return d.hasRequest=this._hasRequest,this._setFunc(d,E,T,c.line-1),this._setMethod(d,E),this._hasRequest=!1,this._currentFuncParams.clear(),d});I(this,"visitArrowMethodParameters",n=>{const{children:r}=n;let a=0;const c={};let h=[];for(;a<r.length;a++){const d=r[a];switch(d.ruleIndex){case j.RULE_typeGather:const E=this.visit(d);c.type=E&&this._typeAddSeries(E);break;case j.RULE_identifier:c.ctx=d,c.name=this.visit(d);break;case j.RULE_formalParameterList:h=this.visit(d);break}}return[c,...h]});I(this,"visitTypeStatement",n=>{const{children:r,start:a,stop:c}=n;let h=0;const d={ruleType:ge.TypeStatement,fields:[]},E=this._commentsParser(a.line,[Zt.type,Zt.field]);Object.assign(d,{desc:E[Zt.type],fieldsDesc:E[Zt.field]}),this._currentLine=a.line;let b={lineNumber:0,column:0},T=null;for(;h<r.length;h++){const x=r[h];switch(x.ruleIndex){case j.RULE_identifier:b={lineNumber:x.start.line,column:x.start.column},T=x,d.name=this.visit(x),this._verifyTypeName(d.name,x);break;case j.RULE_typeElement:d.fields.push(this.visit(x));break;default:x.symbol&&x.symbol.type===j.Export&&(d.isExport=!0,this._addExportPos(x.symbol,"types"));break}}if(d.isExport){const x=c.line-1,{line:w=0}=this._endExport;x>w&&(this._endExport={line:x,name:d.name})}return this._setUserType(d,b,T),this._setNewFunc(d,b),this._setCopyFunc(d,b),this._setCopyMethod(d,b),d});I(this,"visitTypeElement",n=>{const{children:r,start:a}=n;let c=0;const h={};let d=null,E=null;for(this._currentLine=a.line;c<r.length;c++){const b=r[c];switch(b.ruleIndex){case j.RULE_typeGather:const T=this.visit(b);if(b.children[0].ruleIndex===j.RULE_typeSeries){const{column:x,line:w,text:F}=b.start,R=x+1;this._errors.push({startColumn:R,endColumn:parseInt(R+F.length),startLineNumber:w,endLineNumber:w,message:Se(this._buildinTypes.has(F)?xe.typeUseError:xe.notTypeKeyword,{text:F})}),h.type=W.UNDETERMINED}else h.type=T&&this._typeAddSeries(T);break;case j.RULE_identifier:h.name=this.visit(b),E=b;break;case j.RULE_singleExpression:d=b,h.value=this.visit(b);break;default:b.symbol&&b.symbol.type===j.Varip&&(h.isVarip=!0);break}}return this._typeElementVerify(h,d,E),h});I(this,"visitAssignmentOperator",n=>{const{children:r}=n;return r&&r[0].symbol.text});I(this,"visitTypeMap",n=>{const{children:r}=n;let a=0;const c=[];for(;a<r.length;a++){const h=r[a];if(h.ruleIndex===j.RULE_typeName){const d=this.visit(h);c.push(d),this._typeCheck(d,j.RULE_typeName,h)}}return`map<${c[0]},${c[1]}>`});I(this,"visitTypeSeries",n=>{const{children:r}=n,[a,c]=r,h=this.visit(a),d=this.visit(c);return this._typeCheck(h,j.RULE_typeSeries,a),this._typeCheck(d,j.RULE_typeName,c),`${h} ${d}`});I(this,"visitTypeArray",n=>{const{children:r}=n,a=r[0];let c=this.visit(a),h=c;if(r.length===3)c=W.ARRAY;else{this._typeCheck(c,j.RULE_typeArray,a);let d=1;for(;d<r.length;d++){const E=r[d];E.ruleIndex===j.RULE_typeName&&(h=this.visit(E),this._typeCheck(h,j.RULE_typeName,E))}}return this._arrayTypeConvert(`${c}<${h}>`)});I(this,"visitTypeGather",n=>{const{children:r}=n;if(r&&r.length){const a=r[0],c=this.visit(a);return a.ruleIndex===j.RULE_typeName&&this._typeCheck(c,j.RULE_typeName,a),c}return null});I(this,"visitIdentifier",n=>n.children&&n.children[0].symbol.text);I(this,"visitTypeName",n=>{const{children:r}=n;let a=0,c="";for(;a<r.length;a++){const h=r[a];h.ruleIndex===j.RULE_identifier?c=`${c}${this.visit(h)}`:c=`${c}.`}return c});I(this,"visitEnumStatement",n=>{const{children:r,start:a,stop:c}=n;let h=0;const d={ruleType:ge.EnumStatement,fields:[]},E=this._commentsParser(a.line,[Zt.enum,Zt.field]);Object.assign(d,{desc:E[Zt.enum],fieldsDesc:E[Zt.field]}),this._currentLine=a.line;let b={lineNumber:0,column:0},T=null;for(;h<r.length;h++){const x=r[h];switch(x.ruleIndex){case j.RULE_identifier:b={lineNumber:x.start.line,column:x.start.column},T=x,d.name=this.visit(x),this._verifyEnumName(d.name,x);break;case j.RULE_enumElement:d.fields.push(this.visit(x));break;default:x.symbol&&x.symbol.type===j.Export&&(d.isExport=!0,this._addExportPos(x.symbol,"enums"));break}}if(d.isExport){const x=c.line-1,{line:w=0}=this._endExport;x>w&&(this._endExport={line:x,name:d.name})}return this._setUserEnum(d,b,T),d});I(this,"visitEnumElement",n=>{const{children:r,start:a}=n;let c=0;const h={};for(this._currentLine=a.line;c<r.length;c++){const d=r[c];switch(d.ruleIndex){case j.RULE_identifier:h.name=this.visit(d);break;default:d.symbol&&d.symbol.type===j.StringLiteral&&(h.value=d.symbol.text);break}}return h});I(this,"visitName",n=>{const{children:r}=n;let a=0,c=!1;const h=[];let d=null;for(;a<r.length;a++){const E=r[a];switch(E.ruleIndex){case j.RULE_identifier:h.push(this.visit(E));break;case j.RULE_singleExpression:d=this.visit(E);break;case j.RULE_methodElement:c=!0;const b=this.visit(E);b.ctx=E,h.push(b);break}}return this._nameHandle(c,h,d,n)});this._loopCount=0,this._errors=[],this._variables=new Map,this._functions=new Map,this._methods=new Map,this._currentFuncParams=new Map,this._types=new Map,this._enums=new Map,this._currentBlockVars=[new Map],this._blockCount=0,this._isInFunc=!1,this._isNeedCalc=!1,this._blockRanges=[],this._overloadsFuncs=[],this._hasMemberIndex=!1,this._isInLocalScop=!1,this._onlyStatementsCount=0,this._comments=r,this._exportFunctions=[],this._exportMethods=[],this._exportTypes=[],this._exportEnums=[],this._exportPositions=[],this._endExport={},this._importLibs=new Map,this._getImportLibraryFunc=a}get overloadsFuncs(){return this._overloadsFuncs}get errors(){return this._errors}get userEnums(){return this._enums}get userTypes(){return this._types}get userFunctions(){return this._functions}get userVariables(){return this._variables}get userMethods(){return this._methods}get hasUseDrawFunc(){return this._hasDrawFunc}get hasUseCreateOrderFunc(){return this._hasCreateOrderFunc}get scriptType(){return this._scriptType}get exportLibs(){return{functions:[...this._exportFunctions],methods:[...this._exportMethods],types:[...this._exportTypes],enums:[...this._exportEnums]}}get description(){return this._description}get exportPositions(){return this._exportPositions}get endExport(){return this._endExport}get imports(){return this._importLibs}_verifyGloablVar(n,r){const{name:a,varPos:c,isBuiltIn:h}=n;if(h&&this._errorHandle(Se(xe.buidinAssignErr,{name:a}),r),!c)return;const d=this._currentBlockVars[0].get(a);if(!d)return;const{column:E,lineNumber:b}=d.pos||{};this._isInFunc&&E===c.column&&b===c.lineNumber&&this._errorHandle(Se(xe.modifyGlobalVarErr,{name:a}),r)}_inputFuncTitleVerify(n,r){if(!(n!=null&&n.length)||n.length>1)return;const{name:a,args:c,isBuiltIn:h}=n[0];if(h&&!this._strategyFuncName&&a.startsWith(Ui.strategy))this._strategyFuncName={ctx:r,name:a};else if(!a.startsWith(W.INPUT))return;this._inputVarName&&!(c.params.some(d=>d.originName==="title")||c.title)&&(c.title={value:`"${this._inputVarName}"`,ruleType:ge.Literal,type:`${W.CONST} ${W.STRING}`})}_verifyIf(n){const{condition:r}=n;if(r!=null&&r.length)for(const a of r){const{type:c,ctx:h}=a,d=this._removePrefix(c);[W.INT,W.FLOAT].includes(d)?this._errorHandle(Se(Er.conditionWarning,{name:"if"}),h,Pn.Warning):d!==W.BOOL&&this._errorHandle(Se(xe.conditionalErr,{name:"if"}),h)}}_verifyForTo(n){const{numerical:r}=n;if(r!=null&&r.length)for(const a of r){const{type:c,ctx:h}=a,d=this._removePrefix(c);[W.INT,W.FLOAT].includes(d)||this._errorHandle(xe.fortoErr,h)}}_verifySwitch(n){var r;if(n.cases){const a=(r=n.condition)==null?void 0:r.type;if(a&&this._types.has(a)){this._errorHandle(Se(xe.typeMismatch,{operator:"switch",index:"expr0",typeE:a,typeR:`${W.SIMPLE} ${W.STRING}`}),n.condition.ctx);return}for(const c of n.cases){const{condition:{type:h,ctx:d}}=c;if(this._types.has(h))this._errorHandle(Se(xe.typeMismatch,{operator:"case",index:"expr1",typeE:h,typeR:`${W.SIMPLE} ${W.STRING}`}),d);else if(a){if(!this._compareType(a,h)){const E=this._removePrefix(a),b=this._removePrefix(h);E===W.BOOL&&[W.INT,W.FLOAT].includes(b)?this._errorHandle(Se(Er.conditionWarning,{name:"switch"}),d,Pn.Warning):[W.INT,W.FLOAT].includes(E)&&b===W.BOOL?this._errorHandle(Se(Er.conditionWarning,{name:"switch"}),n.condition.ctx,Pn.Warning):this._errorHandle(Se(xe.typeMismatch,{operator:"case",index:"expr1",typeE:h,typeR:`${a}`}),d)}}else{const E=this._removePrefix(h);[W.INT,W.FLOAT].includes(E)?this._errorHandle(Se(Er.conditionWarning,{name:"switch"}),d,Pn.Warning):E!==W.BOOL&&this._errorHandle(Se(xe.conditionalErr,{name:"switch"}),d)}}}}_verifyWhile(n){const{condition:r}=n;if(r){const{type:a,ctx:c}=r,h=this._removePrefix(a);[W.INT,W.FLOAT].includes(h)?this._errorHandle(Se(Er.conditionWarning,{name:"while"}),c,Pn.Warning):h!==W.BOOL&&this._errorHandle(Se(xe.conditionalErr,{name:"while"}),c)}}async _importHandle(n,r){const{stop:a,start:c}=r,{username:h,libraryName:d,libraryVersion:E,name:b}=n,T=`${h}/${d}/${E}`;if(this._importLibs.has(T))return this._errorHandle(xe.importMultipleErr,r),n;for(const[F,R]of this._importLibs)if(R.name&&R.name===b||!R.name&&!b&&R.libraryName===d)return this._errorHandle(Se(xe.importNameRepeatErr,{name:b,line:R.startLine}),r),n;let x=b||d;const w=await this._getImportLibraryFunc({...n,libraryId:T,ctx:void 0,startLine:c.line,endLine:a.line,startColumn:c.column,endColumn:a.column+a.text.length+1});if(w){const{codeStr:F,description:R}=w;this._importLibs.set(T,{...n,libraryId:T,startLine:c.line,endLine:a.line,ctx:void 0,desc:R}),this._importDataHandle(w,x),Nn.includes(x)&&(x=`$${x}`),n.code=F.replace("$name",x)}else this._errorHandle(Se(xe.importNotExitErr,{username:h,libraryName:d}),r)}_importDataHandle(n,r){const{functions:a,methods:c,types:h}=n;for(const d of a){const{name:E}=d,b=`${r}.${E}`,T=this._functions.get(b)||[];T.push({...this._importTypeUpdate(d,h,r),name:b,isUser:void 0,isImport:!0}),this._functions.set(b,T)}for(const d of c){const E=this._importTypeUpdate(d,h,r),b=E.originalName||E.name,T=this._methods.get(b)||[];T.push({...E,isImport:!0,isUser:void 0}),this._methods.set(b,T)}for(const d of h){const E=`${r}.${d.name}`,b=this._types.get(E)||[];b.push({...this._importTypeUpdate(d,h,r),name:E,isImport:!0}),this._types.set(E,b)}}_importTypeUpdate(n,r,a){var F;let{args:c,returnedTypes:h,thisType:d,fields:E,name:b,originalName:T}=n,x="";if(c&&c.length&&(c=c.map(R=>{const{allowedTypeIDs:v,displayType:p,name:g}=R,A=p&&this._replaceTypeName(p,r,a);return x=x?`${x}, ${A} ${g}`:`${A} ${g}`,{...R,allowedTypeIDs:v==null?void 0:v.map(O=>this._replaceTypeName(O,r,a)),displayType:A}})),h!=null&&h.length&&(h=[this._replaceTypeName(h[0],r,a)]),d!=null&&d.length){const R=this._replaceTypeName(d[0],r,a);R!==d[0]&&(T=`${a}.${T||b}`),d=[R]}E!=null&&E.length&&(E=E.map(R=>{const{type:v}=R;return{...R,type:v&&this._replaceTypeName(v,r,a)}}));const w={...n,args:c,returnedTypes:h,thisType:d,fields:E,originalName:T};return(F=w.syntax)!=null&&F.length&&(w.syntax=[`${T||`${a}.${b}`}(${x}) → ${(h==null?void 0:h[0])||"void"}`]),w}_replaceTypeName(n,r,a){const c=r.find(h=>n.includes(h.name));return c?n.replace(c.name,`${a}.${c.name}`):n}_verifyArgsDefaultValue(n,r){const{defaultValue:a,type:c}=n;if(!a)return;const{ruleType:h,isBuiltIn:d,type:E}=a,b=this._removePrefix(E);if(h!==ge.Literal&&!d)delete n.defaultValue,this._errorHandle(xe.argDefaultErr,r);else if(c&&c!==W.UNDETERMINED&&E!==W.UNDETERMINED){const T=this._removePrefix(c);if(T===W.FLOAT&&b===W.INT)return;b!==T&&this._errorHandle(Se(xe.defaultValueTypeErr,{typeE:E,typeR:c}),r)}else c||(n.type=this._typeAddSeries(b===W.INT?W.FLOAT:b))}_exportArgsTypeVerify(n){for(const r of n)(r.type===W.UNDETERMINED||!r.type)&&this._errorHandle(xe.exportFuncArgErr,r.ctx)}_verifyTypeName(n,r){mu.includes(n)?this._errorHandle(Se(xe.typeNameErr,{name:n}),r):Tp.includes(n)&&this._errorHandle(Se(xe.enumVarNameBuiltinErr,{name:n}),r)}_addExportPos(n,r){const{line:a,column:c,text:h}=n;this._exportPositions.push({startLineNumber:a,startColumn:c,endLineNumber:a,endColumn:c+h.length+1,type:r})}_verifyEnumName(n,r){mu.includes(n)?this._errorHandle(Se(xe.enumVarNameErr,{name:n}),r):Tp.includes(n)&&this._errorHandle(Se(xe.enumVarNameBuiltinErr,{name:n}),r)}_nameHandle(n,r,a,c){var d,E;const h={ruleType:ge.Name,hasMethod:n,exprs:r,expr:a};if(n){let b="";const T=[];for(const w of r)typeof w=="string"?b=b?`${b}.${w}`:w:(b&&(w.name=`${b}.${w.name}`),T.push(w),b="");h.exprs=[...T,b];const x=this._getMethodTypes(T,Array.from(T,()=>c));if(x&&x.length){const w=Se(xe.noFiledErr,{name:b});x.length>1&&this._errorHandle(w,c),h.type=((E=this._nameCheck(this._getOriginMethodName(x[0],b),c,w))==null?void 0:E.type)||W.UNDETERMINED}}else{let b=r.join(".");if(a&&a.type&&a.type===W.UNDETERMINED)h.type=W.UNDETERMINED,b=`expr0.${b}`;else{a&&a.type&&(b=`${this._getMethodTypeName(a.type)}.${b}`);const T=this._nameCheck(b,c)||{};(d=T.title)!=null&&d.startsWith("built-in")&&(h.isBuiltIn=!0,h.isConst=T.isConst,!this._strategyVarName&&b.startsWith(Ui.strategy)&&(this._strategyVarName={ctx:c,name:b})),h.enumName=T.enumName,h.varPos=T.pos,h.varScope=T.scope,h.declare=T.declare,h.type=(T==null?void 0:T.type)||W.UNDETERMINED,T!=null&&T.isArg&&(h.arg=T),h.scope=this._blockCount,T.isEnum?this._errorHandle(Se(xe.enumUseErr,{name:b}),c):this._isInFunc&&this._currentExportFunc&&(h.type.startsWith(W.INPUT)?this._errorHandle(Se(xe.exportFuncHasInputErr,{name:b,func:this._currentExportFunc}),c):T.scope===0&&this._errorHandle(Se(xe.exportFuncUseGlobalVarErr,{func:this._currentExportFunc}),c))}h.name=b}return h}_typeElementVerify(n,r,a){var E,b;const{type:c,value:h}=n;if(!h){c||this._errorHandle(xe.typeFieldErr,a);return}if(![ge.Literal,ge.UnaryExpression].includes(h.ruleType)&&!h.isBuiltIn){this._errorHandle(xe.defaultValueErr,r);return}else if(h.ruleType===ge.UnaryExpression){const{exprs:T}=h;if(![ge.Literal,ge.UnaryExpression].includes((E=T[0])==null?void 0:E.ruleType)&&!((b=T[0])!=null&&b.isBuiltIn)){this._errorHandle(xe.defaultValueErr,r);return}}if(!c){const T=h.type,x=this._getPrefix(T);n.type=x?this._typeAddSeries(this._removePrefix(T)):T;return}(!this._compareType(c,h.type)||c.endsWith(W.INT)&&h.type.endsWith(W.FLOAT))&&this._errorHandle(Se(xe.defaultValueTypeErr,{typeE:h.type,typeR:c}),r)}_memberIndexVerify(n,r){if(n.ruleType===ge.Name&&!n.hasMethod&&this._blockCount){const c=this._currentBlockVars[this._blockCount],h=c&&c.get(n.name);h&&(h.isForVar?this._errorHandle(Se(xe.notHistoryErr,{name:n.name}),r):!(this._blockCount===1&&this._isInFunc)&&this._errorHandle(Se(Er.localScopeGetHistory,{name:n.name}),r,Pn.Warning))}const a=n&&n.type;if(a){const c=this._removePrefix(a);!this._types.has(c)&&!this._buildinTypes.has(c)&&!this._isArrayType(c)&&!this._isMatrixType(c)&&!this._isMapType(c)&&c!==W.UNDETERMINED&&this._errorHandle(Se(xe.invalidType,{index:0}),r)}}_setFuncParams(n,r){var a;for(const c of n.params){const h=(a=this._types.get(c.type))==null?void 0:a[0];if(c.scope=this._blockCount+1,h&&h.fields)for(const d of h.fields){const E=`${c.name}.${d.name}`;this._currentFuncParams.set(E,{...d,originName:E,varScope:c.scope})}delete c.ctx,c.range=r,this._setVariablesMap(c,!0),this._currentFuncParams.set(c.name,c)}}_pushBlockRanges(n){!n||!n.start||!n.stop||this._blockRanges.push({startColumn:n.start.column,endColumn:n.stop.column,startLineNumber:n.start.line,endLineNumber:n.stop.line})}_setUserEnum(n,r,a){const{fields:c,name:h,desc:d,fieldsDesc:E}=n,b={members:c.map(T=>({name:T.name,value:T.value,enumName:h,isEnumMember:!0,desc:E==null?void 0:E[T.name],type:`${W.CONST} ${h}`})),name:h,desc:d,pos:r};if(this._enums.has(h)){this._errorHandle(Se(xe.typeRepeatErr,{name:h,keyword:Zt.enum}),a);return}else if(this._types.has(h)){this._errorHandle(Se(xe.typeRepeatErr,{name:h,keyword:Zt.type}),a);return}n.isExport&&this._exportEnums.push(b),this._enums.set(h,[{...b}]),this._addEnumToMap(h,h,r)}_setUserType(n,r,a){const{fields:c,name:h,desc:d,fieldsDesc:E}=n,b={fields:c.map(T=>({name:T.name,desc:E==null?void 0:E[T.name],type:T.type})),name:h,desc:d,pos:r};if(this._enums.has(h)){this._errorHandle(Se(xe.typeRepeatErr,{name:h,keyword:Zt.enum}),a);return}else if(this._types.has(h)){this._errorHandle(Se(xe.typeRepeatErr,{name:h,keyword:Zt.type}),a);return}n.isExport&&this._exportTypes.push(b),this._types.set(h,[{...b}]),this._addVarToMap(h,h,r,!1,!1)}_againAssignHandle(n,r,a){const c=a!==":="?a.replace("=",""):a,h=a!==":="?[W.UNDETERMINED,W.INT,W.FLOAT]:[];c==="+"&&h.push(W.STRING);const[d,E]=n;d.arg&&!d.name.includes(".")&&this._errorHandle(Se(xe.funcArgAssignErr,{name:d.name}),r[0]);const b=this._sameTypeJudge(n,r,c,h),T=this._typeHandle(b);return this._updateUserVar(d.name,T,E.type),d.type=T,{ruleType:ge.AgainAssign,name:d,operator:a,type:T,value:E}}_typeCheck(n,r,a){const c=[W.SERIES,W.SIMPLE,W.CONST];switch(r){case j.RULE_typeName:const h=this._buildinTypes.get(n);h&&![...c,W.ARRAY,W.MATRIX,W.MAP].includes(h[0].name)||this._types.get(n)||this._errorHandle(Se(xe.notTypeKeyword,{text:n}),a);break;case j.RULE_typeArray:[W.ARRAY,W.MATRIX].includes(n)||this._errorHandle(xe.tempateTypeErr,a);break;case j.RULE_typeSeries:c.includes(n)||this._errorHandle(Se(xe.qualifierErr,{name:n}),a);break}}_getBuildVar(n){const r=this._buildinVariables.get(n);if(r&&r[0])return r[0];const a=this._buildinConstants.get(n);return a&&a[0]?Object.assign(a[0],{isConst:!0}):this._specialTreatmentChartPoint(n)}_specialTreatmentChartPoint(n){var r,a;if(n.startsWith("chart.point")){const c=n.split("."),h=c.pop(),d=c.join(".");return(((a=(r=this._buildinTypes.get(d))==null?void 0:r[0])==null?void 0:a.fields)||[]).find(b=>b.name===h)}}_verifyName(n,r){var c,h;const a=this._getBuildVar(n);if(a)return a;if(n.includes(".")){const d=n.split("."),E=d.pop(),b=d.join(".");let T=this._blockCount;for(;T>=0;){if(!this._currentBlockVars[T]){T--;continue}const w=this._currentBlockVars[T].get(b);if(r&&this._judgeGatherValue(E||"",r,w==null?void 0:w.valueType,!0),(w==null?void 0:w.type)==="chart.point"){const R=(((h=(c=this._buildinTypes.get(w.type))==null?void 0:c[0])==null?void 0:h.fields)||[]).find(v=>v.name===E);if(R)return Object.assign(R,{pos:w.pos})}T--}const x=this._specialTreatmentChartPoint(n);if(x)return x}return this._getUserVar(n)}_judgeGatherValue(n,r,a,c){return a!==`${W.SIMPLE} ${W.NA}`?!0:(c&&this._errorHandle(Se(xe.objectIsNaErr,{name:n,type:"field"}),r),!1)}_nameCheck(n,r,a=Se(xe.undeclared,{name:n})){const c=this._verifyName(n,r);return c||this._errorHandle(a,r),c}_inBlock(n){this._blockCount++,this._pushBlockRanges(n);const r=this.visit(n);return this._blockCount--,this._blockRanges.pop(),this._currentBlockVars.splice(this._blockCount+1),r}_errorHandle(n,r,a=Pn.Error){this._errors.push({message:n,startColumn:r.start.column+1,startLineNumber:r.start.line,endColumn:r.start.column+2+r.stop.stop-r.start.start,endLineNumber:r.stop.line,type:a})}_boolTypeJudge(n,r,a,c=0){return this._typeJudge(n,r,a,W.BOOL,[W.UNDETERMINED,W.INT,W.FLOAT,W.BOOL],c)}_calcTypeJudge(n,r,a,c=0){return this._typeJudge(n,r,a,"int/float",[W.UNDETERMINED,W.INT,W.FLOAT],c)}_typeJudge(n,r,a,c,h,d=0){const E=n&&n.type;if(E){const b=this._removePrefix(E);if(!h.includes(b)&&b!==W.NA)return this._errorHandle(Se(xe.typeMismatch,{operator:`operator ${a}`,index:`expr${d}`,typeE:b,typeR:c}),r),W.UNDETERMINED;c===W.BOOL&&[W.INT,W.FLOAT].includes(b)&&this._errorHandle(Se(Er.typeMismatch,{operator:`operator ${a}`,index:`expr${d}`,type:W.BOOL}),r,Pn.Warning)}return E||W.UNDETERMINED}_sameTypeJudge(n,r,a,c){let h="";const d=[],E=["plot_display","plot_simple_display"];["+","-","+=","-="].includes(a)&&(c=c.concat(E));for(const[b,T]of n.entries()){let x=T&&T.type||W.UNDETERMINED;const w=this._removePrefix(x);if(h||(h=w),!c.includes(w)&&c.length&&w!==W.NA){this._errorHandle(Se(xe.typeMismatch,{operator:`operator ${a}`,index:`expr${b}`,typeE:x,typeR:c.slice(1).join("/")}),r[b]),h=W.UNDETERMINED,d.push(h);continue}if(h===W.UNDETERMINED||w===W.UNDETERMINED)x=h=W.UNDETERMINED;else if(h!==w&&h!==W.NA&&w!==W.NA&&(![W.INT,W.FLOAT].includes(h)||![W.INT,W.FLOAT].includes(w)))if(a===":=")this._errorHandle(Se(xe.assignTypeMismatch,{typeE:w,name:n[0].name,typeR:h}),r[0]),x=h=W.UNDETERMINED;else if(["==","!=","?:"].includes(a)&&[W.INT,W.FLOAT,W.BOOL].includes(h)&&[W.INT,W.FLOAT,W.BOOL].includes(w))this._errorHandle(Se(Er.typeMismatch,{operator:`operator ${a}`,index:`expr${b}`,type:h}),r[b],Pn.Warning),x=h=W.UNDETERMINED;else if(E.includes(h)&&E.includes(w)){if(h!==w){const F=this._getPrefix(x);d[b-1]=`${this._getPrefix(d[b-1])} ${E[0]}`,x=h=`${F} ${E[0]}`}}else this._errorHandle(Se(xe.typeMismatch,{operator:`operator ${a}`,index:`expr${b}`,typeE:w,typeR:h}),r[b]),x=h=W.UNDETERMINED;d.push(x)}return d}_getUserVar(n,r=!1){for(let a=this._blockCount;a>=0;a--){const c=this._currentBlockVars[a];if(a<=0){const h=this._currentFuncParams.get(n);if(h)return h.isArg=!0,h}if(c){const h=c.get(n);if(h)return h}}if(n.includes(".")&&!r){let a=!1,c=null;if(n.split(".").reduce((h,d)=>{let E=h?`${h}.${d}`:d;const b=this._getUserVar(E,!0);return b!=null&&b.type?b.type===W.UNDETERMINED?a=!0:(E=b.type,c=b):c=null,E},""),a)return{name:n,type:W.UNDETERMINED};if(c)return c}return null}_repeatVarJudge(n,r){this._getBuildVar(n)&&this._errorHandle(Se(xe.buidinVarErr,{name:n}),r);for(let c=0;c<=this._blockCount;c++){const h=this._currentBlockVars[c];if(h&&h.get(n)){if(this._blockCount===c)return this._errorHandle(Se(xe.repeatVar,{name:n}),r),!0;this._errorHandle(Se(Er.repeatVar,{name:n}),r,Pn.Warning)}}}_judgeVarBuildIn(n){for(let r=0;r<=this._blockCount;r++){const a=this._currentBlockVars[r];if(a&&a.get(n))return!0}return!1}_updateUserVar(n,r,a){for(let c=0;c<=this._blockCount;c++){const h=this._currentBlockVars[c];if(h){const d=h.get(n);if(d){d.type=r,d.valueType=a;return}}}}_variablesHandle(n,r){var h,d,E,b;if(!(n&&n.nameList))return;const a=n.nameList;if(a.name==="_")return;const c=n.value;if(a.ruleType===ge.VarMultiple){a.types=[],this._checkVarMultiple(a.names,c,r);for(const[T,x]of a.names.entries()){const w=this._varTypeJudge("",((h=c==null?void 0:c.types)==null?void 0:h[T])||W.UNDETERMINED,r);a.types.push(w),this._addVarToMap(x,w,a.posList[T],!0)}}else{const T=(c==null?void 0:c.type)||((d=c==null?void 0:c.returnedTypes)==null?void 0:d[0]);((E=c==null?void 0:c.types)!=null&&E.isBrackethesized||(b=c==null?void 0:c.returnedTypes)!=null&&b.isBrackethesized)&&this._errorHandle(Se(xe.tupleLeftVarErr,{name:a.name}),r),!a.type&&T===`${W.SIMPLE} ${W.NA}`&&this._errorHandle(xe.naVarErr,r),a.prefix&&Vi.indexOf(a.prefix)>Vi.indexOf(this._getPrefix(T))&&this._errorHandle(Se(xe.declaredErr,{prefix:a.prefix,type:T}),r);const x=this._varTypeJudge(a.type,T||W.UNDETERMINED,r);a.type=x,this._addVarToMap(a.name,x,a.pos,!0,a.isForVar,a.declare,c.type,a.desc)}}_checkVarMultiple(n,r,a){var b,T,x,w;const c=n.length,h=(r.types||r.returnedTypes||[]).length,d=((b=r.types)==null?void 0:b.isBrackethesized)||((T=r.returnedTypes)==null?void 0:T.isBrackethesized);(x=r.types)!=null&&x.isUnknown||(w=r.returnedTypes)!=null&&w.isUnknown||(h===1&&!d||!h?this._errorHandle(xe.tupleRightVarErr,a):c!==h&&this._errorHandle(Se(xe.tupleVarErr,{indexA:h,indexB:c}),a))}_addEnumToMap(n,r,a){var E;const c=this._currentBlockVars[this._blockCount]||new Map,h=(E=this._enums.get(n))==null?void 0:E[0];if(h&&h.members)for(const b of h.members)c.set(`${n}.${b.name}`,b);const d={name:n,isEnum:!0,type:`${W.CONST} ${r}`,pos:a};c.set(n,d),this._currentBlockVars[this._blockCount]=c}_addVarToMap(n,r,a,c=!0,h=!1,d,E,b){var F;const T=this._currentBlockVars[this._blockCount]||new Map,x=(F=this._types.get(r))==null?void 0:F[0];if(x&&x.fields)for(const R of x.fields)T.set(`${n}.${R.name}`,R);const w={name:n,type:r,pos:a,valueType:E,desc:b};c&&this._setVariablesMap(w),T.set(n,Object.assign(w,{isForVar:h,declare:d})),this._currentBlockVars[this._blockCount]=T}_setVariablesMap(n,r=!1){const a=this._blockRanges[this._blockCount];r||(n.range=a,n.scope=this._blockCount);const c=this._variables.get(n.name)||[];c.push(n),this._variables.set(n.name,c)}_varTypeJudge(n,r,a){if(r===W.VOID)return this._errorHandle(xe.voidNotVar,a),W.UNDETERMINED;if(n&&r!==W.UNDETERMINED){const c=this._removePrefix(n),h=this._removePrefix(r);return h!==c&&h!==W.NA&&!(c===W.FLOAT&&h===W.INT)?(this._errorHandle(Se(xe.declareTypeErr,{type:n,valueType:r}),a),W.UNDETERMINED):this._typeHandle([n,r])}else if(r===W.UNDETERMINED)return W.UNDETERMINED;return n||r||W.UNDETERMINED}_getAllowTypes(n){const r=[];if(n===W.UNDETERMINED)return r;const a=this._getPrefix(n);if(a){const c=this._removePrefix(n);let h=-1;for(const[d,E]of Vi.entries())E===a&&(h=d),h>=0&&h<=d&&(c===W.FLOAT&&r.push(`${E} ${W.INT}`),r.push(`${E} ${c}`))}else n=this._arrayTypeConvert(n)||"",r.push(n),n.includes(W.FLOAT)&&r.push(n.replace(/float/,W.INT));return r}_setNewFunc(n,r){const a=`${n.name}.new`,c=[],h=[];for(const E of n.fields)c.push({name:E.name,required:!1,allowedTypeIDs:this._getAllowTypes(E.type),displayType:E.type}),h.push(`${E.type} ${E.name}`);const d={name:a,args:c,returnedTypes:[n.name],pos:r,syntax:[`${a}(${h.join(", ")}) → ${n.name}`]};n.isExport&&this._exportFunctions.push(d),this._functions.set(a,[{...d,isUser:!0}])}_setCopyFunc(n,r){const a=n.name,c=`${a}.copy`,h={name:c,args:[{name:"object",required:!0,allowedTypeIDs:[a],displayType:a}],returnedTypes:[a],pos:r,info:"The identifier of the object to be copied.",syntax:[`${c}(${a} object) → ${a}`]};n.isExport&&this._exportFunctions.push(h),this._functions.set(c,[{...h,isUser:!0}])}_setCopyMethod(n,r){const a=n.name,c=`${a}.copy`,h={name:c,originalName:c,args:[],returnedTypes:[a],thisType:[a],pos:r,syntax:[`${c}() → ${a}`]};n.isExport&&this._exportMethods.push(h),this._methods.set(c,[{...h,isUser:!0}])}_setFunc(n,r,a,c){const h=[],d=[],{desc:E,paramsDesc:b,returnsDesc:T,params:x,hasMemberIndex:w}=n;for(const A of x){const{type:O,name:k,defaultValue:P}=A;h.push({name:k,desc:b==null?void 0:b[k],required:!P,allowedTypeIDs:this._getAllowTypes(O),displayType:O}),d.push(`${O===W.UNDETERMINED?"":`${O} `}${k}`)}const{returnedTypes:F=[]}=n,R=n.name,v=F.length>1?`[${F.join(", ")}]`:F.toString(),p={name:R,desc:E,args:h,syntax:[`${R}(${d.join(", ")}) → ${v||"void"}`],hasMemberIndex:w,pos:r,isUser:!0,returnedTypes:F,returns:T,hasRequest:this._hasRequest};let g=this._functions.get(R);if(g){const A=g.length;p.index=A,n.index=A,this._verifyFuncRepeat(g,p,a),g.push(p),this._overloadsFuncs.push({name:R,index:A,line:r.lineNumber,startColumn:r.column+1,endColumn:r.column+R.length})}else g=[p];if(n.isExport){const{line:A=0}=this._endExport;c>A&&(this._endExport={line:c,name:R,index:p.index}),this._exportFunctions.push(p)}this._functions.set(R,g)}_setMethod(n,r){var O;const{name:a,returnedTypes:c,params:h,desc:d,paramsDesc:E,returnsDesc:b}=n,T=h[0].type,x=[],w=[];for(const k of h.slice(1)){const{type:P,name:L,defaultValue:$}=k;x.push({name:L,desc:E==null?void 0:E[L],required:!$,allowedTypeIDs:this._getAllowTypes(P),displayType:P}),w.push(`${P} ${L}`)}const F=c.length>1?`[${c.join(", ")}]`:c.toString(),R=this._getMethodTypeName(T),v=`${R}.${a}`;n.typeName=R;const p={name:a,args:x,desc:d,originalName:v,syntax:[`${a}(${w.join(", ")}) → ${F||"void"}`],returnedTypes:c,hasMemberIndex:n.hasMemberIndex,pos:r,thisType:[T],returns:b,hasRequest:this._hasRequest};let g=this._methods.get(v),A=this._functions.get(a);if(A){const k=A.filter($=>!$.isImport).length,P=((O=g==null?void 0:g.filter($=>!$.isImport))==null?void 0:O.length)||0;let L=k;k>P&&(L=k-1),p.index=L,n.index=L}g?g.push(p):g=[p],n.isExport&&this._exportMethods.push(p),this._methods.set(v,g)}_verifyFuncRepeat(n,r,a){const{args:c}=r;n.some(d=>{const{args:E}=d;return(E==null?void 0:E.length)!=(c==null?void 0:c.length)?!1:!(E!=null&&E.length)&&!(c!=null&&c.length)?!0:E==null?void 0:E.every((b,T)=>{var x;return b.displayType===((x=c==null?void 0:c[T])==null?void 0:x.displayType)})})&&this._errorHandle(Se(xe.funcRepeatErr,{name:r.name}),a)}_getMethodTypes(n,r){let a;for(const[c,h]of n.entries()){const{type:d,expr:E,args:b}=h;let{name:T}=h;const x=r[c];if(E){if(E.type===W.UNDETERMINED)return[W.UNDETERMINED];T=`${this._getMethodTypeName(E.type)}${T}`,b.params.unshift(E)}if(a&&a.length>=1)if(a.length===1){const w=a[0];if(w===W.UNDETERMINED)return[W.UNDETERMINED];const F=this._getOriginMethodName(w,T);T.includes(".")?a=this._getOtherNamesMethodType(F,a,x,b,h):a=this._expandMethodHandle(F,x,b,{type:w},w,h)}else this._errorHandle(Se(xe.noFiledErr,{name:T}),x);else{const[w,F]=this._tempFuncNameHandle(T,x,d);T=F;const R=this._buildinFunctions.get(w);if(R)this._globalFuncVerify(R[0],x),this._hasMemberIndexVerify(R[0],x,h),h.isBuiltIn=!0,a=this._getBuildInReturnTypes(R,b,T,x,void 0,d);else{const v=this._functions.get(T);if(v)if(v.length<=1){this._hasMemberIndexVerify(v[0],x,h),a=v[0].returnedTypes;const{hasErr:p}=this._checkArgs(b,v[0].args||[],T,x,a[0]);if(p)return[W.UNDETERMINED]}else{const p=this._overloadsFuncGetTypes(v,b,x,void 0,h);a=this._returnedTypesParse([p])}else a=this._getOtherNamesMethodType(T,a,x,b,h)}}h.returnTypes=a}return a===void 0&&this._errorHandle(Se(xe.notFindFuncErr,{name:n[0].name}),r[0]),a}_globalFuncVerify(n,r){this._blockCount!==0&&uy.includes(n.name)&&this._errorHandle(Se(xe.globalFuncErr,{name:n.name}),r)}_hasMemberIndexVerify(n,r,a){n.hasRequest&&(a.hasRequest=!0,this._hasRequest=!0),n.hasMemberIndex||n.name.startsWith("ta.")||n.name==="math.sum"?(this._hasMemberIndex=this._isInFunc,a.hasMemberIndex=!0,a.position=r.start.tokenIndex,this._isInLocalScop&&this._errorHandle(Se(Er.localScopeWarning,{name:a.name}),r,Pn.Warning)):n.name.startsWith("request.")&&this._isInLocalScop&&this._errorHandle(xe.requestUserInLoopErr,r)}_tempFuncNameHandle(n,r,a){let c=n;if(a&&a.length>=1){const h=["array.new","matrix.new"].includes(n),d=n==="map.new";if(a.length===1)if(h)c=`${n}<type>`,n=`${n}<${a[0]}>`;else return d?this._errorHandle(Se(xe.templateErr,{countA:2,countB:1}),r):this._errorHandle(Se(xe.templateNoSupportErr,{name:n}),r),[W.UNDETERMINED];else{if(!d)return h?this._errorHandle(Se(xe.templateErr,{countA:1,countB:2}),r):this._errorHandle(Se(xe.templateNoSupportErr,{name:n}),r),[W.UNDETERMINED];if(!mu.includes(a[0]))return this._errorHandle(Se(xe.mapKeyErr,{type:this._typeAddSeries(a[0])}),r),[W.UNDETERMINED];c=`${n}<type,type>`,n=`${n}<${a[0]},${a[1]}>`}}return[c,n]}_getOtherNamesMethodType(n,r,a,c,h){const d=n.split("."),E=d.length-1,b=d.slice(0,E).join("."),T=this._getUserVar(b);this._judgeGatherValue(d[E],a,T==null?void 0:T.valueType)||(h.name=`${b}?.${d[E]}`);const w=T==null?void 0:T.type;if(w){if(w===W.UNDETERMINED)return r=[W.UNDETERMINED],r.isUnknown=!0,r;const F=this._getOriginMethodName(w,d[E]);h.varScope=T.scope,r=this._expandMethodHandle(F,a,c,T,b,h)}else{let F="",R="",v="";for(const p of d.slice(0,E)){F?R=this._getOriginMethodName(F,p):R=R?`${R}.${p}`:p;const g=this._verifyName(R);g!=null&&g.type?(F=g.type,v=""):this._buildinTypes.get(R)?v=Se(xe.methodNotExistErr,{name:R,methodName:d[E]}):v=Se(xe.noFiledErr,{name:p})}v&&this._errorHandle(v,a)}return r}_expandMethodHandle(n,r,a,c,h,d){var T,x;let E;const b=this._buildinMethods.get(n);if(b)E=this._getBuildInReturnTypes(b,a,n,r,c);else{const w=this._methods.get(n);if(w&&w.length)if(w.length<=1){const F=w[0],R=this._getMethodTypeName(((T=F.thisType)==null?void 0:T[0])||"");if(!this._types.get(R)){const g=this._functions.get(F.name);g&&(d.selfArg=(x=g[F.index||0].args)==null?void 0:x[0])}d.funcName=F.name,d.index=F.index,this._hasMemberIndexVerify(F,r,d),E=F.returnedTypes;const{hasErr:p}=this._checkArgs(a,F.args||[],n,r,(E==null?void 0:E[0])||"");if(p)return[W.UNDETERMINED]}else{const F=this._overloadsFuncGetTypes(w,a,r,c,d);E=this._returnedTypesParse([F])}else this._errorHandle(Se(xe.methodNotExistErr,{methodName:n.split(".").slice(-1)[0],name:h}),r)}return E}_getBuildInReturnTypes(n,r,a,c,h,d){var b;let E;if(n.length===1){const{returnedTypes:T,syntax:x,args:w=[],thisType:F}=n[0],R=x[0].split("→")[1].trim(),v=h||r.params[0]||((b=w[0])==null?void 0:b.name)&&r[w[0].name];v&&!this._checkMethodThisType(F,v.type)&&this._errorHandle(Se(xe.typeMismatch,{operator:a,index:v.name||"id",typeE:v.type,typeR:F[0]}),c);const{hasErr:p,types:g}=this._checkArgs(r,w,a,c,R,v);if(p)return[W.UNDETERMINED];if(E=g.length&&g||this._returnedTypesParse(T),E.length>1)return E;(d==null?void 0:d.length)===1?E=[this._typeReplace(R,d[0])]:(d==null?void 0:d.length)===2&&(E=[`${W.MAP}<${d[0]},${d[1]}>`]),E=this._returnTypesOtherHandle(v,R,E,a)}else{const T=this._overloadsFuncGetTypes(n,r,c,h);E=this._returnedTypesParse([T])}return E}_overloadsFuncGetTypes(n,r,a,c,h){var F,R,v;let d="",E=[],b=[],T=0;for(const[p,g]of n.entries()){const{args:A,returnedTypes:O,name:k,thisType:P}=g,L=c||r.params[0]||r[A[0].name],{errMsg:$,warnMsg:M}=this._overloadsCheckArgs(r,A,k,a,L);L&&!this._checkMethodThisType(P,L.type)&&$.unshift({msg:Se(xe.typeMismatch,{operator:k,index:L.name||"id",typeE:L.type,typeR:P[0]}),ctx:a}),p===0?(E=$,b=M,!$.length&&(d=O[0])):$.length?((F=E[0])!=null&&F.isLenErr&&!((R=$[0])!=null&&R.isLenErr)||E.length>$.length)&&(E=$,b=M,T=p):this._priorityComparison(d,O[0])||(O[0]===`${W.ARRAY}<>`?d=`${L.type}[]`:d=O[0],E=$,b=M,T=p)}for(const p of E)this._errorHandle(p.msg,p.ctx);for(const p of b)this._errorHandle(p.msg,p.ctx,Pn.Warning);const x=a.children[0],w=n[0].name;if(x&&this._overloadsFuncs.push({name:w,index:T,line:x.start.line,startColumn:x.start.column+1,endColumn:x.start.column+w.length}),h){const p=n[T],{thisType:g,name:A,index:O}=p;if(this._hasMemberIndexVerify(p,a,h),h.index=O||T,g){const k=this._getMethodTypeName((g==null?void 0:g[0])||"");if(!this._types.get(k)){const L=this._functions.get(A);L&&(h.selfArg=(v=L[0].args)==null?void 0:v[0])}}}return this._funcArgsAddOriginName(r,n[T].args,w),d||W.UNDETERMINED}_funcArgsAddOriginName(n,r,a){const c=n.params||[];for(const[h,d]of r.entries())h<c.length&&(c[h].originName=d.name);if(a==="input"){const h=c[0]||n.defval;Object.assign(n,{inputType:{name:`'${h!=null&&h.isSourceType?"source":this._removePrefix(h==null?void 0:h.type)}'`}})}}_overloadsCheckArgs(n,r,a,c,h){const d={...n},E=d.params;delete d.params;const b=Object.keys(d).length+E.length,T=r.length,x=[],w=[];if(b>T&&!r.some(R=>["arg0, arg1, ...","number0, number1, ..."].includes(R.name)))return x.push({msg:Se(xe.argsLenErr,{name:a,lenA:b,lenB:T}),isLenErr:!0,ctx:c}),{errMsg:x,warnMsg:w};for(const[F,R]of r.entries()){let v=d[R.name];if(F<E.length&&(v&&w.push({msg:Se(Er.moreSameArg,{arg:R.name}),ctx:c}),v=E[F]),!v)R.required&&x.push({msg:Se(xe.requiredParamErr,{name:a,argName:R.name}),ctx:c});else{const p=v.type!==`${W.SIMPLE} na`?this._checkArg(v,R,a,h,v.ctx,!0):"";p&&x.push({msg:p,ctx:v.ctx}),delete d[R.name]}if(["arg0, arg1, ...","number0, number1, ..."].includes(R.name)&&E.length>F+1){const p=E.slice(F+1);let g=E[F];for(const A of p){g.type===`${W.SIMPLE} ${W.NA}`&&(g=A);const O=A.type!==`${W.SIMPLE} ${W.NA}`?this._checkArg(A,R,a,g,A.ctx,!0):"";O&&x.push({msg:O,ctx:A.ctx})}}}if(Object.keys(d).length)for(const F of Object.keys(d))x.push({msg:Se(xe.argsNameErr,{name:a,argName:F}),ctx:d[F].ctx});return{errMsg:x,warnMsg:w}}_checkArgs(n,r,a,c,h,d){var R;const E={...n},b=E.params;delete E.params;const T=Object.keys(E).length+b.length,x=r.length;let w=!1,F=[];if(T>x&&!r.some(p=>["arg0, arg1, ...","number0, number1, ..."].includes(p.name)))return this._errorHandle(Se(xe.argsLenErr,{name:a,lenA:T,lenB:x}),c),w=!0,{hasErr:w,types:F};for(const[v,p]of r.entries()){let g=E[p.name];if(v<b.length&&(g&&this._errorHandle(Se(Er.moreSameArg,{arg:p.name}),c,Pn.Warning),g=b[v],g.originName=p.name),!g)p.required&&(this._errorHandle(Se(xe.requiredParamErr,{name:a,argName:p.name}),c),w=!0);else{const A=g.type!==`${W.SIMPLE} ${W.NA}`?this._checkArg(g,p,a,d,g.ctx):"";if(A)this._errorHandle(A,g.ctx),w=!0;else if(A===!1)w=!0;else if(a.startsWith("request.")&&p.name==="expression")if(g.ruleType===ge.Brackethesized)F=g.exprs.map(O=>this._typeReplace(h,O.type));else if((R=g.types||g.returnedTypes)!=null&&R.isBrackethesized)F=(g.types||g.returnedTypes).map(O=>this._typeReplace(h,O));else{const O=this._typeReplace(h,g.type);F.push(O)}else if(a==="input.enum"&&p.name==="defval"){const O=this._removePrefix(g.type);F.push(`${W.INPUT} ${O}`)}delete E[p.name]}}if(Object.keys(E).length)for(const v of Object.keys(E))this._errorHandle(Se(xe.argsNameErr,{name:a,argName:v}),E[v].ctx),w=!0;return{hasErr:w,types:F}}_checkArg(n,r,a,c,h,d){var v,p;const{ruleType:E,exprs:b,name:T}=n;let x=n.type;E===ge.Brackethesized&&(x=`[${b.map(g=>g.type).join(", ")}]`);const{allowedTypeIDs:w=[],displayType:F,name:R}=r;if(!(!x||x===W.UNDETERMINED||F===W.UNDETERMINED)){if(a==="input"&&R==="defval"&&!x.startsWith(W.CONST))if(Rl.includes(T))n.isSourceType=!0;else return xe.inputDefvalErr;if(!(this._checkMethodThisType(w,this._arrayTypeConvert(x))&&!(["input.source","input.enum"].includes(a)&&R==="defval"))){if(R==="condition"&&(F!=null&&F.endsWith(W.BOOL))){if(x.endsWith(W.INT)||x.endsWith(W.FLOAT)){h&&this._errorHandle(Se(Er.typeMismatch,{index:R,operator:a,type:W.BOOL}),h,Pn.Warning);return}}else if(a==="str.tostring"&&R==="value"){const g=this._removePrefix(x);if(this._enums.get(g))return}switch(F){case"tuple of const string values: [val1, val2, ...]":return this._tupleToCheck(n,r,[`${W.CONST} ${W.STRING}`],a,x);case"tuple of const int/float values: [val1, val2, ...]":return this._tupleToCheck(n,r,[`${W.CONST} ${W.FLOAT}`,`${W.CONST} ${W.INT}`],a,x);case"tuple of const int values: [val1, val2, ...]":return this._tupleToCheck(n,r,[`${W.CONST} ${W.INT}`],a,x);case"open/high/low/close/hl2/hlc3/ohlc4/hlcc4":if(!T||!Rl.includes(T))return Se(xe.inputSourceErr,{name:R,funcName:a});if(this._judgeVarBuildIn(T))return Se(xe.buildInUseErr,{name:T});n.isSourceType=!0;break;case"<matrix_type>":case"<array_type>":const g=this._getArrayType(a)||"";if(!x.endsWith(g)&&!(x.endsWith(W.INT)&&g===W.FLOAT))return Se(xe.typeMismatch,{operator:a,index:R,typeE:x,typeR:this._typeAddSeries(g)});break;case"any matrix type":if(this._isMatrixType(x)){if(R==="id2"){const G=this._getArrayType(c==null?void 0:c.type);if(!G)return;const N=this._getArrayType(x)||"";if(G!==N)return Se(xe.typeMismatch,{operator:a,index:R,typeE:N,typeR:G})}}else return Se(xe.typeMismatch,{operator:a,index:R,typeE:x,typeR:"matrix<fun_arg>"});break;case"any array type":if(this._isArrayType(x)){if(R==="id2"){const G=this._getArrayType(c==null?void 0:c.type);if(!G)return;const N=this._getArrayType(x)||"";if(G!==N)return Se(xe.typeMismatch,{operator:a,index:R,typeE:N,typeR:G})}}else return Se(xe.typeMismatch,{operator:a,index:R,typeE:x,typeR:"array<fun_arg>"});break;case"series <type of the matrix's elements>":case"series <type of the array's elements>":const A=this._getArrayType(c==null?void 0:c.type)||"";if(!x.endsWith(A)&&!(x.endsWith(W.INT)&&A===W.FLOAT))return Se(xe.typeMismatch,{operator:a,index:R,typeE:x,typeR:this._typeAddSeries(A)});break;case"any map type":if(this._isMapType(x)){if(R==="id2"){const G=this._getMapType(c==null?void 0:c.type);if(!G)return;const N=this._getMapType(x)||[];if(G[0]!==N[0]||G[1]!==N[1])return Se(xe.mapKeyValErr,{typeA:this._typeAddSeries(N[0]),typeB:this._typeAddSeries(N[1]),typeC:this._typeAddSeries(G[0]),typeD:this._typeAddSeries(G[1]),name:a})}}else return Se(xe.typeMismatch,{operator:a,index:R,typeE:x,typeR:"map<type, type>"});break;case"series <type of the map's elements>":const O=this._getMapType(c==null?void 0:c.type);if(!O)return;const k=R==="key"?0:1;if(!x.endsWith(O[k])&&!(x.endsWith(W.INT)&&O[k]===W.FLOAT))return Se(xe.typeMismatch,{operator:a,index:R,typeE:x,typeR:this._typeAddSeries(O[k])});break;case"<arg_expr_type>":if(E===ge.Brackethesized)return Se(xe.typeMismatch,{operator:a,index:R,typeE:x,typeR:F||""});break;case"<arg_type>":case"variable, function, object, array or matrix of series int/float/bool/string/color, or a tuple of these":const P=this._removePrefix(x);[W.BOX,W.LABEL,W.LINE,W.LINEFILL,W.POLYLINE,W.TABLE].includes(P)&&h&&this._errorHandle(Se(xe.requestExprErr,{type:P,name:a}),h);break;case"variable, object or function of series int/float/bool/string/color, or a tuple of these":if(E===ge.Brackethesized){for(const G of b)if(!w.includes(G.type))return this._errorHandle(Se(xe.requestArgsErr,{name:a,argName:R,type:G.type}),G.ctx),!1}break;case"const int/float/bool/string/color or source-type built-ins":if(Rl.includes(n.name)&&w[0].endsWith(this._removePrefix(x)))n.isSourceType=!0;else return Se(xe.typeMismatch,{operator:a,index:R,typeE:x,typeR:"const int/float/bool/string/color"});break;case"<arg..._type>":if(E===ge.Brackethesized||this._isArrayType(x)||this._isMapType(x)||this._isMatrixType(x))return Se(xe.typeMismatch,{operator:a,index:R,typeE:x,typeR:`${W.SERIES} ${W.INT}`});if(x!==(c==null?void 0:c.type))return Se(xe.typeMismatch,{operator:a,index:R,typeE:x,typeR:c==null?void 0:c.type});break;case"simple enum":const L=this._removePrefix(x);if(!this._enums.has(L))return Se(xe.typeMismatch,{operator:a,index:R,typeE:x,typeR:"const enum"});break;case"tuple of enum fields: [enumName.field1, enumName.field2, ...]":const $=c==null?void 0:c.enumName;if($&&!((v=n.exprs)==null?void 0:v.every(N=>N.enumName===$)))return Se(xe.typeMismatch,{operator:a,index:R,typeE:`${n.exprs?`[${(p=n.exprs)==null?void 0:p.map(N=>N.type).join(", ")}]`:n.type}`,typeR:`[const ${$}...]`});break;default:const M=this._removePrefix(n.type);if(n.arg&&n.arg.isArg&&!d){const G=w.find(N=>N.endsWith(M));if(G){n.type=G,n.arg.type=G;return}}if(w.length===1&&w[0].endsWith(M)){const G=this._getPrefix(n.type),N=this._getPrefix(w[0]);if(Vi.indexOf(G)>=Vi.indexOf(N))return}if(F)return Se(xe.typeMismatch,{operator:a,index:R,typeE:x,typeR:F})}}}}_tupleToCheck(n,r,a,c,h){var d,E;if(a.push(`${W.SIMPLE} ${W.NA}`),n.ruleType===ge.Brackethesized){const b=[];let T=!1;for(const x of n.exprs)b.push(x.type),a.includes(x.type)||(T=!0);if(T)return Se(xe.typeMismatch,{operator:c,index:r.name,typeE:`[${b.join(", ")}]`,typeR:((d=r.allowedTypeIDs)==null?void 0:d[0])||""})}else return Se(xe.typeMismatch,{operator:c,index:r.name,typeE:h,typeR:((E=r.allowedTypeIDs)==null?void 0:E[0])||""})}_getBlockReturnTypes(n){var w,F;let r=n;if(Array.isArray(n)&&(r=n.slice(-1)[0],Array.isArray(r)&&(r=r.slice(-1)[0])),!r)return[W.UNDETERMINED];const{ruleType:a,type:c,types:h,returnedTypes:d,exprs:E,nameList:b,typeList:T,block:x}=r;if(h&&h.length)return h;if(d&&d.length)return d;if(c)return[c];switch(a){case ge.Brackethesized:const R=E.map($=>$.type);return R.isBrackethesized=!0,R;case ge.VarBlockStmt:case ge.DeclareAssign:return b?b.ruleType===ge.VarMultiple?b.types:[b.type]:[((w=r.name)==null?void 0:w.type)||W.UNDETERMINED];case ge.SwitchStatement:if(!this._isNeedCalc&&this._isInFunc&&this._isEndExpr===!1)return[W.UNDETERMINED];const v=[...r.cases];r.defaultCase&&v.push(r.defaultCase);let p=((F=v[0])==null?void 0:F.returnedTypes)||[],g=p.length<=1?p[0]:`[${p.join(", ")}]`,A=null;for(const $ of v.slice(1)){const M=$.returnedTypes||[W.UNDETERMINED];g+=M.length<=1?`; ${M[0]}`:`; [${M.join(", ")}]`;const G=Array.isArray($.block)?$.block.slice(-1)[0]:$.block;if(M.length!==p.length)A=G.ctx;else for(const[N,z]of p.entries())if(this._compareType(M[N],z))(M[N].includes(W.FLOAT)&&!z.includes(W.FLOAT)||p[N]===`${W.SIMPLE} ${W.NA}`||p[N]===W.UNDETERMINED)&&(p[N]=M[N]);else{A=G.ctx;break}}return A&&(this._errorHandle(Se(xe.ifOrSwitchTypeErr,{keyword:"switch",types:g}),A),p=p.map(()=>W.UNDETERMINED)),r.returnedTypes=p,p;case ge.IfStatement:if(!this._isNeedCalc&&!this._isInFunc)return[W.UNDETERMINED];if(!T.filter($=>$&&$.length).length)return[W.UNDETERMINED];let O=T[0]||[],k=O.length<=1?O[0]:`[${O.join(", ")}]`,P=0,L=0;for(const $ of T.slice(1))if($)if(P++,k+=$.length<=1?`; ${$[0]}`:`; [${$.join(", ")}]`,$.length!==O.length)L=P;else for(const[M,G]of O.entries())if(this._compareType($[M],G))($[M].includes(W.FLOAT)&&!G.includes(W.FLOAT)||O[M]===`${W.SIMPLE} ${W.NA}`)&&(O[M]=$[M]);else{L=P;break}if(L){const $=x[L].slice(-1)[0],M=Array.isArray($)?$.slice(-1)[0]:$;this._errorHandle(Se(xe.ifOrSwitchTypeErr,{keyword:"if",types:k}),M.ctx),O=O.map(()=>W.UNDETERMINED)}return r.returnedTypes=O,O}return[W.UNDETERMINED]}}var Cp={exports:{}};function my(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Fl={exports:{}},yy={},gy=Object.freeze({__proto__:null,default:yy}),vy=hy(gy),Dp;function Lt(){return Dp||(Dp=1,function(t,e){(function(n,r){t.exports=r()})(Tt,function(){var n=n||function(r,a){var c;if(typeof window<"u"&&window.crypto&&(c=window.crypto),typeof self<"u"&&self.crypto&&(c=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(c=globalThis.crypto),!c&&typeof window<"u"&&window.msCrypto&&(c=window.msCrypto),!c&&typeof Tt<"u"&&Tt.crypto&&(c=Tt.crypto),!c&&typeof my=="function")try{c=vy}catch{}var h=function(){if(c){if(typeof c.getRandomValues=="function")try{return c.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof c.randomBytes=="function")try{return c.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},d=Object.create||function(){function A(){}return function(O){var k;return A.prototype=O,k=new A,A.prototype=null,k}}(),E={},b=E.lib={},T=b.Base=function(){return{extend:function(A){var O=d(this);return A&&O.mixIn(A),(!O.hasOwnProperty("init")||this.init===O.init)&&(O.init=function(){O.$super.init.apply(this,arguments)}),O.init.prototype=O,O.$super=this,O},create:function(){var A=this.extend();return A.init.apply(A,arguments),A},init:function(){},mixIn:function(A){for(var O in A)A.hasOwnProperty(O)&&(this[O]=A[O]);A.hasOwnProperty("toString")&&(this.toString=A.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),x=b.WordArray=T.extend({init:function(A,O){A=this.words=A||[],O!=a?this.sigBytes=O:this.sigBytes=A.length*4},toString:function(A){return(A||F).stringify(this)},concat:function(A){var O=this.words,k=A.words,P=this.sigBytes,L=A.sigBytes;if(this.clamp(),P%4)for(var $=0;$<L;$++){var M=k[$>>>2]>>>24-$%4*8&255;O[P+$>>>2]|=M<<24-(P+$)%4*8}else for(var G=0;G<L;G+=4)O[P+G>>>2]=k[G>>>2];return this.sigBytes+=L,this},clamp:function(){var A=this.words,O=this.sigBytes;A[O>>>2]&=4294967295<<32-O%4*8,A.length=r.ceil(O/4)},clone:function(){var A=T.clone.call(this);return A.words=this.words.slice(0),A},random:function(A){for(var O=[],k=0;k<A;k+=4)O.push(h());return new x.init(O,A)}}),w=E.enc={},F=w.Hex={stringify:function(A){for(var O=A.words,k=A.sigBytes,P=[],L=0;L<k;L++){var $=O[L>>>2]>>>24-L%4*8&255;P.push(($>>>4).toString(16)),P.push(($&15).toString(16))}return P.join("")},parse:function(A){for(var O=A.length,k=[],P=0;P<O;P+=2)k[P>>>3]|=parseInt(A.substr(P,2),16)<<24-P%8*4;return new x.init(k,O/2)}},R=w.Latin1={stringify:function(A){for(var O=A.words,k=A.sigBytes,P=[],L=0;L<k;L++){var $=O[L>>>2]>>>24-L%4*8&255;P.push(String.fromCharCode($))}return P.join("")},parse:function(A){for(var O=A.length,k=[],P=0;P<O;P++)k[P>>>2]|=(A.charCodeAt(P)&255)<<24-P%4*8;return new x.init(k,O)}},v=w.Utf8={stringify:function(A){try{return decodeURIComponent(escape(R.stringify(A)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(A){return R.parse(unescape(encodeURIComponent(A)))}},p=b.BufferedBlockAlgorithm=T.extend({reset:function(){this._data=new x.init,this._nDataBytes=0},_append:function(A){typeof A=="string"&&(A=v.parse(A)),this._data.concat(A),this._nDataBytes+=A.sigBytes},_process:function(A){var O,k=this._data,P=k.words,L=k.sigBytes,$=this.blockSize,M=$*4,G=L/M;A?G=r.ceil(G):G=r.max((G|0)-this._minBufferSize,0);var N=G*$,z=r.min(N*4,L);if(N){for(var Y=0;Y<N;Y+=$)this._doProcessBlock(P,Y);O=P.splice(0,N),k.sigBytes-=z}return new x.init(O,z)},clone:function(){var A=T.clone.call(this);return A._data=this._data.clone(),A},_minBufferSize:0});b.Hasher=p.extend({cfg:T.extend(),init:function(A){this.cfg=this.cfg.extend(A),this.reset()},reset:function(){p.reset.call(this),this._doReset()},update:function(A){return this._append(A),this._process(),this},finalize:function(A){A&&this._append(A);var O=this._doFinalize();return O},blockSize:16,_createHelper:function(A){return function(O,k){return new A.init(k).finalize(O)}},_createHmacHelper:function(A){return function(O,k){return new g.HMAC.init(A,k).finalize(O)}}});var g=E.algo={};return E}(Math);return n})}(Fl)),Fl.exports}var Nl={exports:{}},kp;function yu(){return kp||(kp=1,function(t,e){(function(n,r){t.exports=r(Lt())})(Tt,function(n){return function(r){var a=n,c=a.lib,h=c.Base,d=c.WordArray,E=a.x64={};E.Word=h.extend({init:function(b,T){this.high=b,this.low=T}}),E.WordArray=h.extend({init:function(b,T){b=this.words=b||[],T!=r?this.sigBytes=T:this.sigBytes=b.length*8},toX32:function(){for(var b=this.words,T=b.length,x=[],w=0;w<T;w++){var F=b[w];x.push(F.high),x.push(F.low)}return d.create(x,this.sigBytes)},clone:function(){for(var b=h.clone.call(this),T=b.words=this.words.slice(0),x=T.length,w=0;w<x;w++)T[w]=T[w].clone();return b}})}(),n})}(Nl)),Nl.exports}var Pl={exports:{}},Op;function by(){return Op||(Op=1,function(t,e){(function(n,r){t.exports=r(Lt())})(Tt,function(n){return function(){if(typeof ArrayBuffer=="function"){var r=n,a=r.lib,c=a.WordArray,h=c.init,d=c.init=function(E){if(E instanceof ArrayBuffer&&(E=new Uint8Array(E)),(E instanceof Int8Array||typeof Uint8ClampedArray<"u"&&E instanceof Uint8ClampedArray||E instanceof Int16Array||E instanceof Uint16Array||E instanceof Int32Array||E instanceof Uint32Array||E instanceof Float32Array||E instanceof Float64Array)&&(E=new Uint8Array(E.buffer,E.byteOffset,E.byteLength)),E instanceof Uint8Array){for(var b=E.byteLength,T=[],x=0;x<b;x++)T[x>>>2]|=E[x]<<24-x%4*8;h.call(this,T,b)}else h.apply(this,arguments)};d.prototype=c}}(),n.lib.WordArray})}(Pl)),Pl.exports}var Il={exports:{}},wp;function Ey(){return wp||(wp=1,function(t,e){(function(n,r){t.exports=r(Lt())})(Tt,function(n){return function(){var r=n,a=r.lib,c=a.WordArray,h=r.enc;h.Utf16=h.Utf16BE={stringify:function(E){for(var b=E.words,T=E.sigBytes,x=[],w=0;w<T;w+=2){var F=b[w>>>2]>>>16-w%4*8&65535;x.push(String.fromCharCode(F))}return x.join("")},parse:function(E){for(var b=E.length,T=[],x=0;x<b;x++)T[x>>>1]|=E.charCodeAt(x)<<16-x%2*16;return c.create(T,b*2)}},h.Utf16LE={stringify:function(E){for(var b=E.words,T=E.sigBytes,x=[],w=0;w<T;w+=2){var F=d(b[w>>>2]>>>16-w%4*8&65535);x.push(String.fromCharCode(F))}return x.join("")},parse:function(E){for(var b=E.length,T=[],x=0;x<b;x++)T[x>>>1]|=d(E.charCodeAt(x)<<16-x%2*16);return c.create(T,b*2)}};function d(E){return E<<8&4278255360|E>>>8&16711935}}(),n.enc.Utf16})}(Il)),Il.exports}var Bl={exports:{}},Rp;function xo(){return Rp||(Rp=1,function(t,e){(function(n,r){t.exports=r(Lt())})(Tt,function(n){return function(){var r=n,a=r.lib,c=a.WordArray,h=r.enc;h.Base64={stringify:function(E){var b=E.words,T=E.sigBytes,x=this._map;E.clamp();for(var w=[],F=0;F<T;F+=3)for(var R=b[F>>>2]>>>24-F%4*8&255,v=b[F+1>>>2]>>>24-(F+1)%4*8&255,p=b[F+2>>>2]>>>24-(F+2)%4*8&255,g=R<<16|v<<8|p,A=0;A<4&&F+A*.75<T;A++)w.push(x.charAt(g>>>6*(3-A)&63));var O=x.charAt(64);if(O)for(;w.length%4;)w.push(O);return w.join("")},parse:function(E){var b=E.length,T=this._map,x=this._reverseMap;if(!x){x=this._reverseMap=[];for(var w=0;w<T.length;w++)x[T.charCodeAt(w)]=w}var F=T.charAt(64);if(F){var R=E.indexOf(F);R!==-1&&(b=R)}return d(E,b,x)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function d(E,b,T){for(var x=[],w=0,F=0;F<b;F++)if(F%4){var R=T[E.charCodeAt(F-1)]<<F%4*2,v=T[E.charCodeAt(F)]>>>6-F%4*2,p=R|v;x[w>>>2]|=p<<24-w%4*8,w++}return c.create(x,w)}}(),n.enc.Base64})}(Bl)),Bl.exports}var Ll={exports:{}},Fp;function xy(){return Fp||(Fp=1,function(t,e){(function(n,r){t.exports=r(Lt())})(Tt,function(n){return function(){var r=n,a=r.lib,c=a.WordArray,h=r.enc;h.Base64url={stringify:function(E,b){b===void 0&&(b=!0);var T=E.words,x=E.sigBytes,w=b?this._safe_map:this._map;E.clamp();for(var F=[],R=0;R<x;R+=3)for(var v=T[R>>>2]>>>24-R%4*8&255,p=T[R+1>>>2]>>>24-(R+1)%4*8&255,g=T[R+2>>>2]>>>24-(R+2)%4*8&255,A=v<<16|p<<8|g,O=0;O<4&&R+O*.75<x;O++)F.push(w.charAt(A>>>6*(3-O)&63));var k=w.charAt(64);if(k)for(;F.length%4;)F.push(k);return F.join("")},parse:function(E,b){b===void 0&&(b=!0);var T=E.length,x=b?this._safe_map:this._map,w=this._reverseMap;if(!w){w=this._reverseMap=[];for(var F=0;F<x.length;F++)w[x.charCodeAt(F)]=F}var R=x.charAt(64);if(R){var v=E.indexOf(R);v!==-1&&(T=v)}return d(E,T,w)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function d(E,b,T){for(var x=[],w=0,F=0;F<b;F++)if(F%4){var R=T[E.charCodeAt(F-1)]<<F%4*2,v=T[E.charCodeAt(F)]>>>6-F%4*2,p=R|v;x[w>>>2]|=p<<24-w%4*8,w++}return c.create(x,w)}}(),n.enc.Base64url})}(Ll)),Ll.exports}var Ml={exports:{}},Np;function So(){return Np||(Np=1,function(t,e){(function(n,r){t.exports=r(Lt())})(Tt,function(n){return function(r){var a=n,c=a.lib,h=c.WordArray,d=c.Hasher,E=a.algo,b=[];(function(){for(var v=0;v<64;v++)b[v]=r.abs(r.sin(v+1))*4294967296|0})();var T=E.MD5=d.extend({_doReset:function(){this._hash=new h.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(v,p){for(var g=0;g<16;g++){var A=p+g,O=v[A];v[A]=(O<<8|O>>>24)&16711935|(O<<24|O>>>8)&4278255360}var k=this._hash.words,P=v[p+0],L=v[p+1],$=v[p+2],M=v[p+3],G=v[p+4],N=v[p+5],z=v[p+6],Y=v[p+7],ne=v[p+8],se=v[p+9],re=v[p+10],ue=v[p+11],ce=v[p+12],Ee=v[p+13],Te=v[p+14],_e=v[p+15],oe=k[0],Z=k[1],J=k[2],te=k[3];oe=x(oe,Z,J,te,P,7,b[0]),te=x(te,oe,Z,J,L,12,b[1]),J=x(J,te,oe,Z,$,17,b[2]),Z=x(Z,J,te,oe,M,22,b[3]),oe=x(oe,Z,J,te,G,7,b[4]),te=x(te,oe,Z,J,N,12,b[5]),J=x(J,te,oe,Z,z,17,b[6]),Z=x(Z,J,te,oe,Y,22,b[7]),oe=x(oe,Z,J,te,ne,7,b[8]),te=x(te,oe,Z,J,se,12,b[9]),J=x(J,te,oe,Z,re,17,b[10]),Z=x(Z,J,te,oe,ue,22,b[11]),oe=x(oe,Z,J,te,ce,7,b[12]),te=x(te,oe,Z,J,Ee,12,b[13]),J=x(J,te,oe,Z,Te,17,b[14]),Z=x(Z,J,te,oe,_e,22,b[15]),oe=w(oe,Z,J,te,L,5,b[16]),te=w(te,oe,Z,J,z,9,b[17]),J=w(J,te,oe,Z,ue,14,b[18]),Z=w(Z,J,te,oe,P,20,b[19]),oe=w(oe,Z,J,te,N,5,b[20]),te=w(te,oe,Z,J,re,9,b[21]),J=w(J,te,oe,Z,_e,14,b[22]),Z=w(Z,J,te,oe,G,20,b[23]),oe=w(oe,Z,J,te,se,5,b[24]),te=w(te,oe,Z,J,Te,9,b[25]),J=w(J,te,oe,Z,M,14,b[26]),Z=w(Z,J,te,oe,ne,20,b[27]),oe=w(oe,Z,J,te,Ee,5,b[28]),te=w(te,oe,Z,J,$,9,b[29]),J=w(J,te,oe,Z,Y,14,b[30]),Z=w(Z,J,te,oe,ce,20,b[31]),oe=F(oe,Z,J,te,N,4,b[32]),te=F(te,oe,Z,J,ne,11,b[33]),J=F(J,te,oe,Z,ue,16,b[34]),Z=F(Z,J,te,oe,Te,23,b[35]),oe=F(oe,Z,J,te,L,4,b[36]),te=F(te,oe,Z,J,G,11,b[37]),J=F(J,te,oe,Z,Y,16,b[38]),Z=F(Z,J,te,oe,re,23,b[39]),oe=F(oe,Z,J,te,Ee,4,b[40]),te=F(te,oe,Z,J,P,11,b[41]),J=F(J,te,oe,Z,M,16,b[42]),Z=F(Z,J,te,oe,z,23,b[43]),oe=F(oe,Z,J,te,se,4,b[44]),te=F(te,oe,Z,J,ce,11,b[45]),J=F(J,te,oe,Z,_e,16,b[46]),Z=F(Z,J,te,oe,$,23,b[47]),oe=R(oe,Z,J,te,P,6,b[48]),te=R(te,oe,Z,J,Y,10,b[49]),J=R(J,te,oe,Z,Te,15,b[50]),Z=R(Z,J,te,oe,N,21,b[51]),oe=R(oe,Z,J,te,ce,6,b[52]),te=R(te,oe,Z,J,M,10,b[53]),J=R(J,te,oe,Z,re,15,b[54]),Z=R(Z,J,te,oe,L,21,b[55]),oe=R(oe,Z,J,te,ne,6,b[56]),te=R(te,oe,Z,J,_e,10,b[57]),J=R(J,te,oe,Z,z,15,b[58]),Z=R(Z,J,te,oe,Ee,21,b[59]),oe=R(oe,Z,J,te,G,6,b[60]),te=R(te,oe,Z,J,ue,10,b[61]),J=R(J,te,oe,Z,$,15,b[62]),Z=R(Z,J,te,oe,se,21,b[63]),k[0]=k[0]+oe|0,k[1]=k[1]+Z|0,k[2]=k[2]+J|0,k[3]=k[3]+te|0},_doFinalize:function(){var v=this._data,p=v.words,g=this._nDataBytes*8,A=v.sigBytes*8;p[A>>>5]|=128<<24-A%32;var O=r.floor(g/4294967296),k=g;p[(A+64>>>9<<4)+15]=(O<<8|O>>>24)&16711935|(O<<24|O>>>8)&4278255360,p[(A+64>>>9<<4)+14]=(k<<8|k>>>24)&16711935|(k<<24|k>>>8)&4278255360,v.sigBytes=(p.length+1)*4,this._process();for(var P=this._hash,L=P.words,$=0;$<4;$++){var M=L[$];L[$]=(M<<8|M>>>24)&16711935|(M<<24|M>>>8)&4278255360}return P},clone:function(){var v=d.clone.call(this);return v._hash=this._hash.clone(),v}});function x(v,p,g,A,O,k,P){var L=v+(p&g|~p&A)+O+P;return(L<<k|L>>>32-k)+p}function w(v,p,g,A,O,k,P){var L=v+(p&A|g&~A)+O+P;return(L<<k|L>>>32-k)+p}function F(v,p,g,A,O,k,P){var L=v+(p^g^A)+O+P;return(L<<k|L>>>32-k)+p}function R(v,p,g,A,O,k,P){var L=v+(g^(p|~A))+O+P;return(L<<k|L>>>32-k)+p}a.MD5=d._createHelper(T),a.HmacMD5=d._createHmacHelper(T)}(Math),n.MD5})}(Ml)),Ml.exports}var Ul={exports:{}},Pp;function Ip(){return Pp||(Pp=1,function(t,e){(function(n,r){t.exports=r(Lt())})(Tt,function(n){return function(){var r=n,a=r.lib,c=a.WordArray,h=a.Hasher,d=r.algo,E=[],b=d.SHA1=h.extend({_doReset:function(){this._hash=new c.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(T,x){for(var w=this._hash.words,F=w[0],R=w[1],v=w[2],p=w[3],g=w[4],A=0;A<80;A++){if(A<16)E[A]=T[x+A]|0;else{var O=E[A-3]^E[A-8]^E[A-14]^E[A-16];E[A]=O<<1|O>>>31}var k=(F<<5|F>>>27)+g+E[A];A<20?k+=(R&v|~R&p)+1518500249:A<40?k+=(R^v^p)+1859775393:A<60?k+=(R&v|R&p|v&p)-1894007588:k+=(R^v^p)-899497514,g=p,p=v,v=R<<30|R>>>2,R=F,F=k}w[0]=w[0]+F|0,w[1]=w[1]+R|0,w[2]=w[2]+v|0,w[3]=w[3]+p|0,w[4]=w[4]+g|0},_doFinalize:function(){var T=this._data,x=T.words,w=this._nDataBytes*8,F=T.sigBytes*8;return x[F>>>5]|=128<<24-F%32,x[(F+64>>>9<<4)+14]=Math.floor(w/4294967296),x[(F+64>>>9<<4)+15]=w,T.sigBytes=x.length*4,this._process(),this._hash},clone:function(){var T=h.clone.call(this);return T._hash=this._hash.clone(),T}});r.SHA1=h._createHelper(b),r.HmacSHA1=h._createHmacHelper(b)}(),n.SHA1})}(Ul)),Ul.exports}var Vl={exports:{}},Bp;function jl(){return Bp||(Bp=1,function(t,e){(function(n,r){t.exports=r(Lt())})(Tt,function(n){return function(r){var a=n,c=a.lib,h=c.WordArray,d=c.Hasher,E=a.algo,b=[],T=[];(function(){function F(g){for(var A=r.sqrt(g),O=2;O<=A;O++)if(!(g%O))return!1;return!0}function R(g){return(g-(g|0))*4294967296|0}for(var v=2,p=0;p<64;)F(v)&&(p<8&&(b[p]=R(r.pow(v,1/2))),T[p]=R(r.pow(v,1/3)),p++),v++})();var x=[],w=E.SHA256=d.extend({_doReset:function(){this._hash=new h.init(b.slice(0))},_doProcessBlock:function(F,R){for(var v=this._hash.words,p=v[0],g=v[1],A=v[2],O=v[3],k=v[4],P=v[5],L=v[6],$=v[7],M=0;M<64;M++){if(M<16)x[M]=F[R+M]|0;else{var G=x[M-15],N=(G<<25|G>>>7)^(G<<14|G>>>18)^G>>>3,z=x[M-2],Y=(z<<15|z>>>17)^(z<<13|z>>>19)^z>>>10;x[M]=N+x[M-7]+Y+x[M-16]}var ne=k&P^~k&L,se=p&g^p&A^g&A,re=(p<<30|p>>>2)^(p<<19|p>>>13)^(p<<10|p>>>22),ue=(k<<26|k>>>6)^(k<<21|k>>>11)^(k<<7|k>>>25),ce=$+ue+ne+T[M]+x[M],Ee=re+se;$=L,L=P,P=k,k=O+ce|0,O=A,A=g,g=p,p=ce+Ee|0}v[0]=v[0]+p|0,v[1]=v[1]+g|0,v[2]=v[2]+A|0,v[3]=v[3]+O|0,v[4]=v[4]+k|0,v[5]=v[5]+P|0,v[6]=v[6]+L|0,v[7]=v[7]+$|0},_doFinalize:function(){var F=this._data,R=F.words,v=this._nDataBytes*8,p=F.sigBytes*8;return R[p>>>5]|=128<<24-p%32,R[(p+64>>>9<<4)+14]=r.floor(v/4294967296),R[(p+64>>>9<<4)+15]=v,F.sigBytes=R.length*4,this._process(),this._hash},clone:function(){var F=d.clone.call(this);return F._hash=this._hash.clone(),F}});a.SHA256=d._createHelper(w),a.HmacSHA256=d._createHmacHelper(w)}(Math),n.SHA256})}(Vl)),Vl.exports}var Hl={exports:{}},Lp;function Sy(){return Lp||(Lp=1,function(t,e){(function(n,r,a){t.exports=r(Lt(),jl())})(Tt,function(n){return function(){var r=n,a=r.lib,c=a.WordArray,h=r.algo,d=h.SHA256,E=h.SHA224=d.extend({_doReset:function(){this._hash=new c.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var b=d._doFinalize.call(this);return b.sigBytes-=4,b}});r.SHA224=d._createHelper(E),r.HmacSHA224=d._createHmacHelper(E)}(),n.SHA224})}(Hl)),Hl.exports}var $l={exports:{}},Mp;function Up(){return Mp||(Mp=1,function(t,e){(function(n,r,a){t.exports=r(Lt(),yu())})(Tt,function(n){return function(){var r=n,a=r.lib,c=a.Hasher,h=r.x64,d=h.Word,E=h.WordArray,b=r.algo;function T(){return d.create.apply(d,arguments)}var x=[T(1116352408,3609767458),T(1899447441,602891725),T(3049323471,3964484399),T(3921009573,2173295548),T(961987163,4081628472),T(1508970993,3053834265),T(2453635748,2937671579),T(2870763221,3664609560),T(3624381080,2734883394),T(310598401,1164996542),T(607225278,1323610764),T(1426881987,3590304994),T(1925078388,4068182383),T(2162078206,991336113),T(2614888103,633803317),T(3248222580,3479774868),T(3835390401,2666613458),T(4022224774,944711139),T(264347078,2341262773),T(604807628,2007800933),T(770255983,1495990901),T(1249150122,1856431235),T(1555081692,3175218132),T(1996064986,2198950837),T(2554220882,3999719339),T(2821834349,766784016),T(2952996808,2566594879),T(3210313671,3203337956),T(3336571891,1034457026),T(3584528711,2466948901),T(113926993,3758326383),T(338241895,168717936),T(666307205,1188179964),T(773529912,1546045734),T(1294757372,1522805485),T(1396182291,2643833823),T(1695183700,2343527390),T(1986661051,1014477480),T(2177026350,1206759142),T(2456956037,344077627),T(2730485921,1290863460),T(2820302411,3158454273),T(3259730800,3505952657),T(3345764771,106217008),T(3516065817,3606008344),T(3600352804,1432725776),T(4094571909,1467031594),T(275423344,851169720),T(430227734,3100823752),T(506948616,1363258195),T(659060556,3750685593),T(883997877,3785050280),T(958139571,3318307427),T(1322822218,3812723403),T(1537002063,2003034995),T(1747873779,3602036899),T(1955562222,1575990012),T(2024104815,1125592928),T(2227730452,2716904306),T(2361852424,442776044),T(2428436474,593698344),T(2756734187,3733110249),T(3204031479,2999351573),T(3329325298,3815920427),T(3391569614,3928383900),T(3515267271,566280711),T(3940187606,3454069534),T(4118630271,4000239992),T(116418474,1914138554),T(174292421,2731055270),T(289380356,3203993006),T(460393269,320620315),T(685471733,587496836),T(852142971,1086792851),T(1017036298,365543100),T(1126000580,2618297676),T(1288033470,3409855158),T(1501505948,4234509866),T(1607167915,987167468),T(1816402316,1246189591)],w=[];(function(){for(var R=0;R<80;R++)w[R]=T()})();var F=b.SHA512=c.extend({_doReset:function(){this._hash=new E.init([new d.init(1779033703,4089235720),new d.init(3144134277,2227873595),new d.init(1013904242,4271175723),new d.init(2773480762,1595750129),new d.init(1359893119,2917565137),new d.init(2600822924,725511199),new d.init(528734635,4215389547),new d.init(1541459225,327033209)])},_doProcessBlock:function(R,v){for(var p=this._hash.words,g=p[0],A=p[1],O=p[2],k=p[3],P=p[4],L=p[5],$=p[6],M=p[7],G=g.high,N=g.low,z=A.high,Y=A.low,ne=O.high,se=O.low,re=k.high,ue=k.low,ce=P.high,Ee=P.low,Te=L.high,_e=L.low,oe=$.high,Z=$.low,J=M.high,te=M.low,ve=G,me=N,Ze=z,Ve=Y,ht=ne,wt=se,yt=re,St=ue,Ct=ce,le=Ee,we=Te,be=_e,pt=oe,Et=Z,Rt=J,yn=te,Dt=0;Dt<80;Dt++){var Pt,kt,It=w[Dt];if(Dt<16)kt=It.high=R[v+Dt*2]|0,Pt=It.low=R[v+Dt*2+1]|0;else{var nn=w[Dt-15],ir=nn.high,K=nn.low,Fe=(ir>>>1|K<<31)^(ir>>>8|K<<24)^ir>>>7,Ue=(K>>>1|ir<<31)^(K>>>8|ir<<24)^(K>>>7|ir<<25),Ie=w[Dt-2],Qe=Ie.high,$t=Ie.low,ft=(Qe>>>19|$t<<13)^(Qe<<3|$t>>>29)^Qe>>>6,fn=($t>>>19|Qe<<13)^($t<<3|Qe>>>29)^($t>>>6|Qe<<26),gn=w[Dt-7],jr=gn.high,On=gn.low,rn=w[Dt-16],Ri=rn.high,Hr=rn.low;Pt=Ue+On,kt=Fe+jr+(Pt>>>0<Ue>>>0?1:0),Pt=Pt+fn,kt=kt+ft+(Pt>>>0<fn>>>0?1:0),Pt=Pt+Hr,kt=kt+Ri+(Pt>>>0<Hr>>>0?1:0),It.high=kt,It.low=Pt}var Fi=Ct&we^~Ct&pt,or=le&be^~le&Et,wr=ve&Ze^ve&ht^Ze&ht,eo=me&Ve^me&wt^Ve&wt,gi=(ve>>>28|me<<4)^(ve<<30|me>>>2)^(ve<<25|me>>>7),fr=(me>>>28|ve<<4)^(me<<30|ve>>>2)^(me<<25|ve>>>7),$r=(Ct>>>14|le<<18)^(Ct>>>18|le<<14)^(Ct<<23|le>>>9),to=(le>>>14|Ct<<18)^(le>>>18|Ct<<14)^(le<<23|Ct>>>9),dt=x[Dt],er=dt.high,B=dt.low,q=yn+to,ee=Rt+$r+(q>>>0<yn>>>0?1:0),q=q+or,ee=ee+Fi+(q>>>0<or>>>0?1:0),q=q+B,ee=ee+er+(q>>>0<B>>>0?1:0),q=q+Pt,ee=ee+kt+(q>>>0<Pt>>>0?1:0),ae=fr+eo,he=gi+wr+(ae>>>0<fr>>>0?1:0);Rt=pt,yn=Et,pt=we,Et=be,we=Ct,be=le,le=St+q|0,Ct=yt+ee+(le>>>0<St>>>0?1:0)|0,yt=ht,St=wt,ht=Ze,wt=Ve,Ze=ve,Ve=me,me=q+ae|0,ve=ee+he+(me>>>0<q>>>0?1:0)|0}N=g.low=N+me,g.high=G+ve+(N>>>0<me>>>0?1:0),Y=A.low=Y+Ve,A.high=z+Ze+(Y>>>0<Ve>>>0?1:0),se=O.low=se+wt,O.high=ne+ht+(se>>>0<wt>>>0?1:0),ue=k.low=ue+St,k.high=re+yt+(ue>>>0<St>>>0?1:0),Ee=P.low=Ee+le,P.high=ce+Ct+(Ee>>>0<le>>>0?1:0),_e=L.low=_e+be,L.high=Te+we+(_e>>>0<be>>>0?1:0),Z=$.low=Z+Et,$.high=oe+pt+(Z>>>0<Et>>>0?1:0),te=M.low=te+yn,M.high=J+Rt+(te>>>0<yn>>>0?1:0)},_doFinalize:function(){var R=this._data,v=R.words,p=this._nDataBytes*8,g=R.sigBytes*8;v[g>>>5]|=128<<24-g%32,v[(g+128>>>10<<5)+30]=Math.floor(p/4294967296),v[(g+128>>>10<<5)+31]=p,R.sigBytes=v.length*4,this._process();var A=this._hash.toX32();return A},clone:function(){var R=c.clone.call(this);return R._hash=this._hash.clone(),R},blockSize:1024/32});r.SHA512=c._createHelper(F),r.HmacSHA512=c._createHmacHelper(F)}(),n.SHA512})}($l)),$l.exports}var Gl={exports:{}},Vp;function Ty(){return Vp||(Vp=1,function(t,e){(function(n,r,a){t.exports=r(Lt(),yu(),Up())})(Tt,function(n){return function(){var r=n,a=r.x64,c=a.Word,h=a.WordArray,d=r.algo,E=d.SHA512,b=d.SHA384=E.extend({_doReset:function(){this._hash=new h.init([new c.init(3418070365,3238371032),new c.init(1654270250,914150663),new c.init(2438529370,812702999),new c.init(355462360,4144912697),new c.init(1731405415,4290775857),new c.init(2394180231,1750603025),new c.init(3675008525,1694076839),new c.init(1203062813,3204075428)])},_doFinalize:function(){var T=E._doFinalize.call(this);return T.sigBytes-=16,T}});r.SHA384=E._createHelper(b),r.HmacSHA384=E._createHmacHelper(b)}(),n.SHA384})}(Gl)),Gl.exports}var zl={exports:{}},jp;function Ay(){return jp||(jp=1,function(t,e){(function(n,r,a){t.exports=r(Lt(),yu())})(Tt,function(n){return function(r){var a=n,c=a.lib,h=c.WordArray,d=c.Hasher,E=a.x64,b=E.Word,T=a.algo,x=[],w=[],F=[];(function(){for(var p=1,g=0,A=0;A<24;A++){x[p+5*g]=(A+1)*(A+2)/2%64;var O=g%5,k=(2*p+3*g)%5;p=O,g=k}for(var p=0;p<5;p++)for(var g=0;g<5;g++)w[p+5*g]=g+(2*p+3*g)%5*5;for(var P=1,L=0;L<24;L++){for(var $=0,M=0,G=0;G<7;G++){if(P&1){var N=(1<<G)-1;N<32?M^=1<<N:$^=1<<N-32}P&128?P=P<<1^113:P<<=1}F[L]=b.create($,M)}})();var R=[];(function(){for(var p=0;p<25;p++)R[p]=b.create()})();var v=T.SHA3=d.extend({cfg:d.cfg.extend({outputLength:512}),_doReset:function(){for(var p=this._state=[],g=0;g<25;g++)p[g]=new b.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(p,g){for(var A=this._state,O=this.blockSize/2,k=0;k<O;k++){var P=p[g+2*k],L=p[g+2*k+1];P=(P<<8|P>>>24)&16711935|(P<<24|P>>>8)&4278255360,L=(L<<8|L>>>24)&16711935|(L<<24|L>>>8)&4278255360;var $=A[k];$.high^=L,$.low^=P}for(var M=0;M<24;M++){for(var G=0;G<5;G++){for(var N=0,z=0,Y=0;Y<5;Y++){var $=A[G+5*Y];N^=$.high,z^=$.low}var ne=R[G];ne.high=N,ne.low=z}for(var G=0;G<5;G++)for(var se=R[(G+4)%5],re=R[(G+1)%5],ue=re.high,ce=re.low,N=se.high^(ue<<1|ce>>>31),z=se.low^(ce<<1|ue>>>31),Y=0;Y<5;Y++){var $=A[G+5*Y];$.high^=N,$.low^=z}for(var Ee=1;Ee<25;Ee++){var N,z,$=A[Ee],Te=$.high,_e=$.low,oe=x[Ee];oe<32?(N=Te<<oe|_e>>>32-oe,z=_e<<oe|Te>>>32-oe):(N=_e<<oe-32|Te>>>64-oe,z=Te<<oe-32|_e>>>64-oe);var Z=R[w[Ee]];Z.high=N,Z.low=z}var J=R[0],te=A[0];J.high=te.high,J.low=te.low;for(var G=0;G<5;G++)for(var Y=0;Y<5;Y++){var Ee=G+5*Y,$=A[Ee],ve=R[Ee],me=R[(G+1)%5+5*Y],Ze=R[(G+2)%5+5*Y];$.high=ve.high^~me.high&Ze.high,$.low=ve.low^~me.low&Ze.low}var $=A[0],Ve=F[M];$.high^=Ve.high,$.low^=Ve.low}},_doFinalize:function(){var p=this._data,g=p.words;this._nDataBytes*8;var A=p.sigBytes*8,O=this.blockSize*32;g[A>>>5]|=1<<24-A%32,g[(r.ceil((A+1)/O)*O>>>5)-1]|=128,p.sigBytes=g.length*4,this._process();for(var k=this._state,P=this.cfg.outputLength/8,L=P/8,$=[],M=0;M<L;M++){var G=k[M],N=G.high,z=G.low;N=(N<<8|N>>>24)&16711935|(N<<24|N>>>8)&4278255360,z=(z<<8|z>>>24)&16711935|(z<<24|z>>>8)&4278255360,$.push(z),$.push(N)}return new h.init($,P)},clone:function(){for(var p=d.clone.call(this),g=p._state=this._state.slice(0),A=0;A<25;A++)g[A]=g[A].clone();return p}});a.SHA3=d._createHelper(v),a.HmacSHA3=d._createHmacHelper(v)}(Math),n.SHA3})}(zl)),zl.exports}var Kl={exports:{}},Hp;function Cy(){return Hp||(Hp=1,function(t,e){(function(n,r){t.exports=r(Lt())})(Tt,function(n){/** @preserve
|
14
|
+
(c) 2012 by Cédric Mesnil. All rights reserved.
|
15
|
+
|
16
|
+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
17
|
+
|
18
|
+
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
19
|
+
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
20
|
+
|
21
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
22
|
+
*/return function(r){var a=n,c=a.lib,h=c.WordArray,d=c.Hasher,E=a.algo,b=h.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),T=h.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),x=h.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),w=h.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),F=h.create([0,1518500249,1859775393,2400959708,2840853838]),R=h.create([1352829926,1548603684,1836072691,2053994217,0]),v=E.RIPEMD160=d.extend({_doReset:function(){this._hash=h.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(L,$){for(var M=0;M<16;M++){var G=$+M,N=L[G];L[G]=(N<<8|N>>>24)&16711935|(N<<24|N>>>8)&4278255360}var z=this._hash.words,Y=F.words,ne=R.words,se=b.words,re=T.words,ue=x.words,ce=w.words,Ee,Te,_e,oe,Z,J,te,ve,me,Ze;J=Ee=z[0],te=Te=z[1],ve=_e=z[2],me=oe=z[3],Ze=Z=z[4];for(var Ve,M=0;M<80;M+=1)Ve=Ee+L[$+se[M]]|0,M<16?Ve+=p(Te,_e,oe)+Y[0]:M<32?Ve+=g(Te,_e,oe)+Y[1]:M<48?Ve+=A(Te,_e,oe)+Y[2]:M<64?Ve+=O(Te,_e,oe)+Y[3]:Ve+=k(Te,_e,oe)+Y[4],Ve=Ve|0,Ve=P(Ve,ue[M]),Ve=Ve+Z|0,Ee=Z,Z=oe,oe=P(_e,10),_e=Te,Te=Ve,Ve=J+L[$+re[M]]|0,M<16?Ve+=k(te,ve,me)+ne[0]:M<32?Ve+=O(te,ve,me)+ne[1]:M<48?Ve+=A(te,ve,me)+ne[2]:M<64?Ve+=g(te,ve,me)+ne[3]:Ve+=p(te,ve,me)+ne[4],Ve=Ve|0,Ve=P(Ve,ce[M]),Ve=Ve+Ze|0,J=Ze,Ze=me,me=P(ve,10),ve=te,te=Ve;Ve=z[1]+_e+me|0,z[1]=z[2]+oe+Ze|0,z[2]=z[3]+Z+J|0,z[3]=z[4]+Ee+te|0,z[4]=z[0]+Te+ve|0,z[0]=Ve},_doFinalize:function(){var L=this._data,$=L.words,M=this._nDataBytes*8,G=L.sigBytes*8;$[G>>>5]|=128<<24-G%32,$[(G+64>>>9<<4)+14]=(M<<8|M>>>24)&16711935|(M<<24|M>>>8)&4278255360,L.sigBytes=($.length+1)*4,this._process();for(var N=this._hash,z=N.words,Y=0;Y<5;Y++){var ne=z[Y];z[Y]=(ne<<8|ne>>>24)&16711935|(ne<<24|ne>>>8)&4278255360}return N},clone:function(){var L=d.clone.call(this);return L._hash=this._hash.clone(),L}});function p(L,$,M){return L^$^M}function g(L,$,M){return L&$|~L&M}function A(L,$,M){return(L|~$)^M}function O(L,$,M){return L&M|$&~M}function k(L,$,M){return L^($|~M)}function P(L,$){return L<<$|L>>>32-$}a.RIPEMD160=d._createHelper(v),a.HmacRIPEMD160=d._createHmacHelper(v)}(),n.RIPEMD160})}(Kl)),Kl.exports}var Wl={exports:{}},$p;function ql(){return $p||($p=1,function(t,e){(function(n,r){t.exports=r(Lt())})(Tt,function(n){(function(){var r=n,a=r.lib,c=a.Base,h=r.enc,d=h.Utf8,E=r.algo;E.HMAC=c.extend({init:function(b,T){b=this._hasher=new b.init,typeof T=="string"&&(T=d.parse(T));var x=b.blockSize,w=x*4;T.sigBytes>w&&(T=b.finalize(T)),T.clamp();for(var F=this._oKey=T.clone(),R=this._iKey=T.clone(),v=F.words,p=R.words,g=0;g<x;g++)v[g]^=1549556828,p[g]^=909522486;F.sigBytes=R.sigBytes=w,this.reset()},reset:function(){var b=this._hasher;b.reset(),b.update(this._iKey)},update:function(b){return this._hasher.update(b),this},finalize:function(b){var T=this._hasher,x=T.finalize(b);T.reset();var w=T.finalize(this._oKey.clone().concat(x));return w}})})()})}(Wl)),Wl.exports}var Xl={exports:{}},Gp;function Dy(){return Gp||(Gp=1,function(t,e){(function(n,r,a){t.exports=r(Lt(),jl(),ql())})(Tt,function(n){return function(){var r=n,a=r.lib,c=a.Base,h=a.WordArray,d=r.algo,E=d.SHA256,b=d.HMAC,T=d.PBKDF2=c.extend({cfg:c.extend({keySize:128/32,hasher:E,iterations:25e4}),init:function(x){this.cfg=this.cfg.extend(x)},compute:function(x,w){for(var F=this.cfg,R=b.create(F.hasher,x),v=h.create(),p=h.create([1]),g=v.words,A=p.words,O=F.keySize,k=F.iterations;g.length<O;){var P=R.update(w).finalize(p);R.reset();for(var L=P.words,$=L.length,M=P,G=1;G<k;G++){M=R.finalize(M),R.reset();for(var N=M.words,z=0;z<$;z++)L[z]^=N[z]}v.concat(P),A[0]++}return v.sigBytes=O*4,v}});r.PBKDF2=function(x,w,F){return T.create(F).compute(x,w)}}(),n.PBKDF2})}(Xl)),Xl.exports}var Yl={exports:{}},zp;function uo(){return zp||(zp=1,function(t,e){(function(n,r,a){t.exports=r(Lt(),Ip(),ql())})(Tt,function(n){return function(){var r=n,a=r.lib,c=a.Base,h=a.WordArray,d=r.algo,E=d.MD5,b=d.EvpKDF=c.extend({cfg:c.extend({keySize:128/32,hasher:E,iterations:1}),init:function(T){this.cfg=this.cfg.extend(T)},compute:function(T,x){for(var w,F=this.cfg,R=F.hasher.create(),v=h.create(),p=v.words,g=F.keySize,A=F.iterations;p.length<g;){w&&R.update(w),w=R.update(T).finalize(x),R.reset();for(var O=1;O<A;O++)w=R.finalize(w),R.reset();v.concat(w)}return v.sigBytes=g*4,v}});r.EvpKDF=function(T,x,w){return b.create(w).compute(T,x)}}(),n.EvpKDF})}(Yl)),Yl.exports}var Zl={exports:{}},Kp;function Xn(){return Kp||(Kp=1,function(t,e){(function(n,r,a){t.exports=r(Lt(),uo())})(Tt,function(n){n.lib.Cipher||function(r){var a=n,c=a.lib,h=c.Base,d=c.WordArray,E=c.BufferedBlockAlgorithm,b=a.enc;b.Utf8;var T=b.Base64,x=a.algo,w=x.EvpKDF,F=c.Cipher=E.extend({cfg:h.extend(),createEncryptor:function(N,z){return this.create(this._ENC_XFORM_MODE,N,z)},createDecryptor:function(N,z){return this.create(this._DEC_XFORM_MODE,N,z)},init:function(N,z,Y){this.cfg=this.cfg.extend(Y),this._xformMode=N,this._key=z,this.reset()},reset:function(){E.reset.call(this),this._doReset()},process:function(N){return this._append(N),this._process()},finalize:function(N){N&&this._append(N);var z=this._doFinalize();return z},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function N(z){return typeof z=="string"?G:L}return function(z){return{encrypt:function(Y,ne,se){return N(ne).encrypt(z,Y,ne,se)},decrypt:function(Y,ne,se){return N(ne).decrypt(z,Y,ne,se)}}}}()});c.StreamCipher=F.extend({_doFinalize:function(){var N=this._process(!0);return N},blockSize:1});var R=a.mode={},v=c.BlockCipherMode=h.extend({createEncryptor:function(N,z){return this.Encryptor.create(N,z)},createDecryptor:function(N,z){return this.Decryptor.create(N,z)},init:function(N,z){this._cipher=N,this._iv=z}}),p=R.CBC=function(){var N=v.extend();N.Encryptor=N.extend({processBlock:function(Y,ne){var se=this._cipher,re=se.blockSize;z.call(this,Y,ne,re),se.encryptBlock(Y,ne),this._prevBlock=Y.slice(ne,ne+re)}}),N.Decryptor=N.extend({processBlock:function(Y,ne){var se=this._cipher,re=se.blockSize,ue=Y.slice(ne,ne+re);se.decryptBlock(Y,ne),z.call(this,Y,ne,re),this._prevBlock=ue}});function z(Y,ne,se){var re,ue=this._iv;ue?(re=ue,this._iv=r):re=this._prevBlock;for(var ce=0;ce<se;ce++)Y[ne+ce]^=re[ce]}return N}(),g=a.pad={},A=g.Pkcs7={pad:function(N,z){for(var Y=z*4,ne=Y-N.sigBytes%Y,se=ne<<24|ne<<16|ne<<8|ne,re=[],ue=0;ue<ne;ue+=4)re.push(se);var ce=d.create(re,ne);N.concat(ce)},unpad:function(N){var z=N.words[N.sigBytes-1>>>2]&255;N.sigBytes-=z}};c.BlockCipher=F.extend({cfg:F.cfg.extend({mode:p,padding:A}),reset:function(){var N;F.reset.call(this);var z=this.cfg,Y=z.iv,ne=z.mode;this._xformMode==this._ENC_XFORM_MODE?N=ne.createEncryptor:(N=ne.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==N?this._mode.init(this,Y&&Y.words):(this._mode=N.call(ne,this,Y&&Y.words),this._mode.__creator=N)},_doProcessBlock:function(N,z){this._mode.processBlock(N,z)},_doFinalize:function(){var N,z=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(z.pad(this._data,this.blockSize),N=this._process(!0)):(N=this._process(!0),z.unpad(N)),N},blockSize:128/32});var O=c.CipherParams=h.extend({init:function(N){this.mixIn(N)},toString:function(N){return(N||this.formatter).stringify(this)}}),k=a.format={},P=k.OpenSSL={stringify:function(N){var z,Y=N.ciphertext,ne=N.salt;return ne?z=d.create([1398893684,1701076831]).concat(ne).concat(Y):z=Y,z.toString(T)},parse:function(N){var z,Y=T.parse(N),ne=Y.words;return ne[0]==1398893684&&ne[1]==1701076831&&(z=d.create(ne.slice(2,4)),ne.splice(0,4),Y.sigBytes-=16),O.create({ciphertext:Y,salt:z})}},L=c.SerializableCipher=h.extend({cfg:h.extend({format:P}),encrypt:function(N,z,Y,ne){ne=this.cfg.extend(ne);var se=N.createEncryptor(Y,ne),re=se.finalize(z),ue=se.cfg;return O.create({ciphertext:re,key:Y,iv:ue.iv,algorithm:N,mode:ue.mode,padding:ue.padding,blockSize:N.blockSize,formatter:ne.format})},decrypt:function(N,z,Y,ne){ne=this.cfg.extend(ne),z=this._parse(z,ne.format);var se=N.createDecryptor(Y,ne).finalize(z.ciphertext);return se},_parse:function(N,z){return typeof N=="string"?z.parse(N,this):N}}),$=a.kdf={},M=$.OpenSSL={execute:function(N,z,Y,ne,se){if(ne||(ne=d.random(64/8)),se)var re=w.create({keySize:z+Y,hasher:se}).compute(N,ne);else var re=w.create({keySize:z+Y}).compute(N,ne);var ue=d.create(re.words.slice(z),Y*4);return re.sigBytes=z*4,O.create({key:re,iv:ue,salt:ne})}},G=c.PasswordBasedCipher=L.extend({cfg:L.cfg.extend({kdf:M}),encrypt:function(N,z,Y,ne){ne=this.cfg.extend(ne);var se=ne.kdf.execute(Y,N.keySize,N.ivSize,ne.salt,ne.hasher);ne.iv=se.iv;var re=L.encrypt.call(this,N,z,se.key,ne);return re.mixIn(se),re},decrypt:function(N,z,Y,ne){ne=this.cfg.extend(ne),z=this._parse(z,ne.format);var se=ne.kdf.execute(Y,N.keySize,N.ivSize,z.salt,ne.hasher);ne.iv=se.iv;var re=L.decrypt.call(this,N,z,se.key,ne);return re}})}()})}(Zl)),Zl.exports}var Ql={exports:{}},Wp;function ky(){return Wp||(Wp=1,function(t,e){(function(n,r,a){t.exports=r(Lt(),Xn())})(Tt,function(n){return n.mode.CFB=function(){var r=n.lib.BlockCipherMode.extend();r.Encryptor=r.extend({processBlock:function(c,h){var d=this._cipher,E=d.blockSize;a.call(this,c,h,E,d),this._prevBlock=c.slice(h,h+E)}}),r.Decryptor=r.extend({processBlock:function(c,h){var d=this._cipher,E=d.blockSize,b=c.slice(h,h+E);a.call(this,c,h,E,d),this._prevBlock=b}});function a(c,h,d,E){var b,T=this._iv;T?(b=T.slice(0),this._iv=void 0):b=this._prevBlock,E.encryptBlock(b,0);for(var x=0;x<d;x++)c[h+x]^=b[x]}return r}(),n.mode.CFB})}(Ql)),Ql.exports}var Jl={exports:{}},qp;function Oy(){return qp||(qp=1,function(t,e){(function(n,r,a){t.exports=r(Lt(),Xn())})(Tt,function(n){return n.mode.CTR=function(){var r=n.lib.BlockCipherMode.extend(),a=r.Encryptor=r.extend({processBlock:function(c,h){var d=this._cipher,E=d.blockSize,b=this._iv,T=this._counter;b&&(T=this._counter=b.slice(0),this._iv=void 0);var x=T.slice(0);d.encryptBlock(x,0),T[E-1]=T[E-1]+1|0;for(var w=0;w<E;w++)c[h+w]^=x[w]}});return r.Decryptor=a,r}(),n.mode.CTR})}(Jl)),Jl.exports}var ef={exports:{}},Xp;function wy(){return Xp||(Xp=1,function(t,e){(function(n,r,a){t.exports=r(Lt(),Xn())})(Tt,function(n){/** @preserve
|
23
|
+
* Counter block mode compatible with Dr Brian Gladman fileenc.c
|
24
|
+
* derived from CryptoJS.mode.CTR
|
25
|
+
* Jan Hruby jhruby.web@gmail.com
|
26
|
+
*/return n.mode.CTRGladman=function(){var r=n.lib.BlockCipherMode.extend();function a(d){if((d>>24&255)===255){var E=d>>16&255,b=d>>8&255,T=d&255;E===255?(E=0,b===255?(b=0,T===255?T=0:++T):++b):++E,d=0,d+=E<<16,d+=b<<8,d+=T}else d+=1<<24;return d}function c(d){return(d[0]=a(d[0]))===0&&(d[1]=a(d[1])),d}var h=r.Encryptor=r.extend({processBlock:function(d,E){var b=this._cipher,T=b.blockSize,x=this._iv,w=this._counter;x&&(w=this._counter=x.slice(0),this._iv=void 0),c(w);var F=w.slice(0);b.encryptBlock(F,0);for(var R=0;R<T;R++)d[E+R]^=F[R]}});return r.Decryptor=h,r}(),n.mode.CTRGladman})}(ef)),ef.exports}var tf={exports:{}},Yp;function Ry(){return Yp||(Yp=1,function(t,e){(function(n,r,a){t.exports=r(Lt(),Xn())})(Tt,function(n){return n.mode.OFB=function(){var r=n.lib.BlockCipherMode.extend(),a=r.Encryptor=r.extend({processBlock:function(c,h){var d=this._cipher,E=d.blockSize,b=this._iv,T=this._keystream;b&&(T=this._keystream=b.slice(0),this._iv=void 0),d.encryptBlock(T,0);for(var x=0;x<E;x++)c[h+x]^=T[x]}});return r.Decryptor=a,r}(),n.mode.OFB})}(tf)),tf.exports}var nf={exports:{}},Zp;function Fy(){return Zp||(Zp=1,function(t,e){(function(n,r,a){t.exports=r(Lt(),Xn())})(Tt,function(n){return n.mode.ECB=function(){var r=n.lib.BlockCipherMode.extend();return r.Encryptor=r.extend({processBlock:function(a,c){this._cipher.encryptBlock(a,c)}}),r.Decryptor=r.extend({processBlock:function(a,c){this._cipher.decryptBlock(a,c)}}),r}(),n.mode.ECB})}(nf)),nf.exports}var rf={exports:{}},Qp;function Ny(){return Qp||(Qp=1,function(t,e){(function(n,r,a){t.exports=r(Lt(),Xn())})(Tt,function(n){return n.pad.AnsiX923={pad:function(r,a){var c=r.sigBytes,h=a*4,d=h-c%h,E=c+d-1;r.clamp(),r.words[E>>>2]|=d<<24-E%4*8,r.sigBytes+=d},unpad:function(r){var a=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=a}},n.pad.Ansix923})}(rf)),rf.exports}var of={exports:{}},Jp;function Py(){return Jp||(Jp=1,function(t,e){(function(n,r,a){t.exports=r(Lt(),Xn())})(Tt,function(n){return n.pad.Iso10126={pad:function(r,a){var c=a*4,h=c-r.sigBytes%c;r.concat(n.lib.WordArray.random(h-1)).concat(n.lib.WordArray.create([h<<24],1))},unpad:function(r){var a=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=a}},n.pad.Iso10126})}(of)),of.exports}var af={exports:{}},ed;function Iy(){return ed||(ed=1,function(t,e){(function(n,r,a){t.exports=r(Lt(),Xn())})(Tt,function(n){return n.pad.Iso97971={pad:function(r,a){r.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(r,a)},unpad:function(r){n.pad.ZeroPadding.unpad(r),r.sigBytes--}},n.pad.Iso97971})}(af)),af.exports}var sf={exports:{}},td;function By(){return td||(td=1,function(t,e){(function(n,r,a){t.exports=r(Lt(),Xn())})(Tt,function(n){return n.pad.ZeroPadding={pad:function(r,a){var c=a*4;r.clamp(),r.sigBytes+=c-(r.sigBytes%c||c)},unpad:function(r){for(var a=r.words,c=r.sigBytes-1,c=r.sigBytes-1;c>=0;c--)if(a[c>>>2]>>>24-c%4*8&255){r.sigBytes=c+1;break}}},n.pad.ZeroPadding})}(sf)),sf.exports}var uf={exports:{}},nd;function Ly(){return nd||(nd=1,function(t,e){(function(n,r,a){t.exports=r(Lt(),Xn())})(Tt,function(n){return n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding})}(uf)),uf.exports}var cf={exports:{}},rd;function My(){return rd||(rd=1,function(t,e){(function(n,r,a){t.exports=r(Lt(),Xn())})(Tt,function(n){return function(r){var a=n,c=a.lib,h=c.CipherParams,d=a.enc,E=d.Hex,b=a.format;b.Hex={stringify:function(T){return T.ciphertext.toString(E)},parse:function(T){var x=E.parse(T);return h.create({ciphertext:x})}}}(),n.format.Hex})}(cf)),cf.exports}var lf={exports:{}},id;function Uy(){return id||(id=1,function(t,e){(function(n,r,a){t.exports=r(Lt(),xo(),So(),uo(),Xn())})(Tt,function(n){return function(){var r=n,a=r.lib,c=a.BlockCipher,h=r.algo,d=[],E=[],b=[],T=[],x=[],w=[],F=[],R=[],v=[],p=[];(function(){for(var O=[],k=0;k<256;k++)k<128?O[k]=k<<1:O[k]=k<<1^283;for(var P=0,L=0,k=0;k<256;k++){var $=L^L<<1^L<<2^L<<3^L<<4;$=$>>>8^$&255^99,d[P]=$,E[$]=P;var M=O[P],G=O[M],N=O[G],z=O[$]*257^$*16843008;b[P]=z<<24|z>>>8,T[P]=z<<16|z>>>16,x[P]=z<<8|z>>>24,w[P]=z;var z=N*16843009^G*65537^M*257^P*16843008;F[$]=z<<24|z>>>8,R[$]=z<<16|z>>>16,v[$]=z<<8|z>>>24,p[$]=z,P?(P=M^O[O[O[N^M]]],L^=O[O[L]]):P=L=1}})();var g=[0,1,2,4,8,16,32,64,128,27,54],A=h.AES=c.extend({_doReset:function(){var O;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var k=this._keyPriorReset=this._key,P=k.words,L=k.sigBytes/4,$=this._nRounds=L+6,M=($+1)*4,G=this._keySchedule=[],N=0;N<M;N++)N<L?G[N]=P[N]:(O=G[N-1],N%L?L>6&&N%L==4&&(O=d[O>>>24]<<24|d[O>>>16&255]<<16|d[O>>>8&255]<<8|d[O&255]):(O=O<<8|O>>>24,O=d[O>>>24]<<24|d[O>>>16&255]<<16|d[O>>>8&255]<<8|d[O&255],O^=g[N/L|0]<<24),G[N]=G[N-L]^O);for(var z=this._invKeySchedule=[],Y=0;Y<M;Y++){var N=M-Y;if(Y%4)var O=G[N];else var O=G[N-4];Y<4||N<=4?z[Y]=O:z[Y]=F[d[O>>>24]]^R[d[O>>>16&255]]^v[d[O>>>8&255]]^p[d[O&255]]}}},encryptBlock:function(O,k){this._doCryptBlock(O,k,this._keySchedule,b,T,x,w,d)},decryptBlock:function(O,k){var P=O[k+1];O[k+1]=O[k+3],O[k+3]=P,this._doCryptBlock(O,k,this._invKeySchedule,F,R,v,p,E);var P=O[k+1];O[k+1]=O[k+3],O[k+3]=P},_doCryptBlock:function(O,k,P,L,$,M,G,N){for(var z=this._nRounds,Y=O[k]^P[0],ne=O[k+1]^P[1],se=O[k+2]^P[2],re=O[k+3]^P[3],ue=4,ce=1;ce<z;ce++){var Ee=L[Y>>>24]^$[ne>>>16&255]^M[se>>>8&255]^G[re&255]^P[ue++],Te=L[ne>>>24]^$[se>>>16&255]^M[re>>>8&255]^G[Y&255]^P[ue++],_e=L[se>>>24]^$[re>>>16&255]^M[Y>>>8&255]^G[ne&255]^P[ue++],oe=L[re>>>24]^$[Y>>>16&255]^M[ne>>>8&255]^G[se&255]^P[ue++];Y=Ee,ne=Te,se=_e,re=oe}var Ee=(N[Y>>>24]<<24|N[ne>>>16&255]<<16|N[se>>>8&255]<<8|N[re&255])^P[ue++],Te=(N[ne>>>24]<<24|N[se>>>16&255]<<16|N[re>>>8&255]<<8|N[Y&255])^P[ue++],_e=(N[se>>>24]<<24|N[re>>>16&255]<<16|N[Y>>>8&255]<<8|N[ne&255])^P[ue++],oe=(N[re>>>24]<<24|N[Y>>>16&255]<<16|N[ne>>>8&255]<<8|N[se&255])^P[ue++];O[k]=Ee,O[k+1]=Te,O[k+2]=_e,O[k+3]=oe},keySize:256/32});r.AES=c._createHelper(A)}(),n.AES})}(lf)),lf.exports}var ff={exports:{}},od;function Vy(){return od||(od=1,function(t,e){(function(n,r,a){t.exports=r(Lt(),xo(),So(),uo(),Xn())})(Tt,function(n){return function(){var r=n,a=r.lib,c=a.WordArray,h=a.BlockCipher,d=r.algo,E=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],b=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],T=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],x=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],w=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],F=d.DES=h.extend({_doReset:function(){for(var g=this._key,A=g.words,O=[],k=0;k<56;k++){var P=E[k]-1;O[k]=A[P>>>5]>>>31-P%32&1}for(var L=this._subKeys=[],$=0;$<16;$++){for(var M=L[$]=[],G=T[$],k=0;k<24;k++)M[k/6|0]|=O[(b[k]-1+G)%28]<<31-k%6,M[4+(k/6|0)]|=O[28+(b[k+24]-1+G)%28]<<31-k%6;M[0]=M[0]<<1|M[0]>>>31;for(var k=1;k<7;k++)M[k]=M[k]>>>(k-1)*4+3;M[7]=M[7]<<5|M[7]>>>27}for(var N=this._invSubKeys=[],k=0;k<16;k++)N[k]=L[15-k]},encryptBlock:function(g,A){this._doCryptBlock(g,A,this._subKeys)},decryptBlock:function(g,A){this._doCryptBlock(g,A,this._invSubKeys)},_doCryptBlock:function(g,A,O){this._lBlock=g[A],this._rBlock=g[A+1],R.call(this,4,252645135),R.call(this,16,65535),v.call(this,2,858993459),v.call(this,8,16711935),R.call(this,1,1431655765);for(var k=0;k<16;k++){for(var P=O[k],L=this._lBlock,$=this._rBlock,M=0,G=0;G<8;G++)M|=x[G][(($^P[G])&w[G])>>>0];this._lBlock=$,this._rBlock=L^M}var N=this._lBlock;this._lBlock=this._rBlock,this._rBlock=N,R.call(this,1,1431655765),v.call(this,8,16711935),v.call(this,2,858993459),R.call(this,16,65535),R.call(this,4,252645135),g[A]=this._lBlock,g[A+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function R(g,A){var O=(this._lBlock>>>g^this._rBlock)&A;this._rBlock^=O,this._lBlock^=O<<g}function v(g,A){var O=(this._rBlock>>>g^this._lBlock)&A;this._lBlock^=O,this._rBlock^=O<<g}r.DES=h._createHelper(F);var p=d.TripleDES=h.extend({_doReset:function(){var g=this._key,A=g.words;if(A.length!==2&&A.length!==4&&A.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var O=A.slice(0,2),k=A.length<4?A.slice(0,2):A.slice(2,4),P=A.length<6?A.slice(0,2):A.slice(4,6);this._des1=F.createEncryptor(c.create(O)),this._des2=F.createEncryptor(c.create(k)),this._des3=F.createEncryptor(c.create(P))},encryptBlock:function(g,A){this._des1.encryptBlock(g,A),this._des2.decryptBlock(g,A),this._des3.encryptBlock(g,A)},decryptBlock:function(g,A){this._des3.decryptBlock(g,A),this._des2.encryptBlock(g,A),this._des1.decryptBlock(g,A)},keySize:192/32,ivSize:64/32,blockSize:64/32});r.TripleDES=h._createHelper(p)}(),n.TripleDES})}(ff)),ff.exports}var hf={exports:{}},ad;function jy(){return ad||(ad=1,function(t,e){(function(n,r,a){t.exports=r(Lt(),xo(),So(),uo(),Xn())})(Tt,function(n){return function(){var r=n,a=r.lib,c=a.StreamCipher,h=r.algo,d=h.RC4=c.extend({_doReset:function(){for(var T=this._key,x=T.words,w=T.sigBytes,F=this._S=[],R=0;R<256;R++)F[R]=R;for(var R=0,v=0;R<256;R++){var p=R%w,g=x[p>>>2]>>>24-p%4*8&255;v=(v+F[R]+g)%256;var A=F[R];F[R]=F[v],F[v]=A}this._i=this._j=0},_doProcessBlock:function(T,x){T[x]^=E.call(this)},keySize:256/32,ivSize:0});function E(){for(var T=this._S,x=this._i,w=this._j,F=0,R=0;R<4;R++){x=(x+1)%256,w=(w+T[x])%256;var v=T[x];T[x]=T[w],T[w]=v,F|=T[(T[x]+T[w])%256]<<24-R*8}return this._i=x,this._j=w,F}r.RC4=c._createHelper(d);var b=h.RC4Drop=d.extend({cfg:d.cfg.extend({drop:192}),_doReset:function(){d._doReset.call(this);for(var T=this.cfg.drop;T>0;T--)E.call(this)}});r.RC4Drop=c._createHelper(b)}(),n.RC4})}(hf)),hf.exports}var pf={exports:{}},sd;function Hy(){return sd||(sd=1,function(t,e){(function(n,r,a){t.exports=r(Lt(),xo(),So(),uo(),Xn())})(Tt,function(n){return function(){var r=n,a=r.lib,c=a.StreamCipher,h=r.algo,d=[],E=[],b=[],T=h.Rabbit=c.extend({_doReset:function(){for(var w=this._key.words,F=this.cfg.iv,R=0;R<4;R++)w[R]=(w[R]<<8|w[R]>>>24)&16711935|(w[R]<<24|w[R]>>>8)&4278255360;var v=this._X=[w[0],w[3]<<16|w[2]>>>16,w[1],w[0]<<16|w[3]>>>16,w[2],w[1]<<16|w[0]>>>16,w[3],w[2]<<16|w[1]>>>16],p=this._C=[w[2]<<16|w[2]>>>16,w[0]&4294901760|w[1]&65535,w[3]<<16|w[3]>>>16,w[1]&4294901760|w[2]&65535,w[0]<<16|w[0]>>>16,w[2]&4294901760|w[3]&65535,w[1]<<16|w[1]>>>16,w[3]&4294901760|w[0]&65535];this._b=0;for(var R=0;R<4;R++)x.call(this);for(var R=0;R<8;R++)p[R]^=v[R+4&7];if(F){var g=F.words,A=g[0],O=g[1],k=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,P=(O<<8|O>>>24)&16711935|(O<<24|O>>>8)&4278255360,L=k>>>16|P&4294901760,$=P<<16|k&65535;p[0]^=k,p[1]^=L,p[2]^=P,p[3]^=$,p[4]^=k,p[5]^=L,p[6]^=P,p[7]^=$;for(var R=0;R<4;R++)x.call(this)}},_doProcessBlock:function(w,F){var R=this._X;x.call(this),d[0]=R[0]^R[5]>>>16^R[3]<<16,d[1]=R[2]^R[7]>>>16^R[5]<<16,d[2]=R[4]^R[1]>>>16^R[7]<<16,d[3]=R[6]^R[3]>>>16^R[1]<<16;for(var v=0;v<4;v++)d[v]=(d[v]<<8|d[v]>>>24)&16711935|(d[v]<<24|d[v]>>>8)&4278255360,w[F+v]^=d[v]},blockSize:128/32,ivSize:64/32});function x(){for(var w=this._X,F=this._C,R=0;R<8;R++)E[R]=F[R];F[0]=F[0]+1295307597+this._b|0,F[1]=F[1]+3545052371+(F[0]>>>0<E[0]>>>0?1:0)|0,F[2]=F[2]+886263092+(F[1]>>>0<E[1]>>>0?1:0)|0,F[3]=F[3]+1295307597+(F[2]>>>0<E[2]>>>0?1:0)|0,F[4]=F[4]+3545052371+(F[3]>>>0<E[3]>>>0?1:0)|0,F[5]=F[5]+886263092+(F[4]>>>0<E[4]>>>0?1:0)|0,F[6]=F[6]+1295307597+(F[5]>>>0<E[5]>>>0?1:0)|0,F[7]=F[7]+3545052371+(F[6]>>>0<E[6]>>>0?1:0)|0,this._b=F[7]>>>0<E[7]>>>0?1:0;for(var R=0;R<8;R++){var v=w[R]+F[R],p=v&65535,g=v>>>16,A=((p*p>>>17)+p*g>>>15)+g*g,O=((v&4294901760)*v|0)+((v&65535)*v|0);b[R]=A^O}w[0]=b[0]+(b[7]<<16|b[7]>>>16)+(b[6]<<16|b[6]>>>16)|0,w[1]=b[1]+(b[0]<<8|b[0]>>>24)+b[7]|0,w[2]=b[2]+(b[1]<<16|b[1]>>>16)+(b[0]<<16|b[0]>>>16)|0,w[3]=b[3]+(b[2]<<8|b[2]>>>24)+b[1]|0,w[4]=b[4]+(b[3]<<16|b[3]>>>16)+(b[2]<<16|b[2]>>>16)|0,w[5]=b[5]+(b[4]<<8|b[4]>>>24)+b[3]|0,w[6]=b[6]+(b[5]<<16|b[5]>>>16)+(b[4]<<16|b[4]>>>16)|0,w[7]=b[7]+(b[6]<<8|b[6]>>>24)+b[5]|0}r.Rabbit=c._createHelper(T)}(),n.Rabbit})}(pf)),pf.exports}var df={exports:{}},ud;function $y(){return ud||(ud=1,function(t,e){(function(n,r,a){t.exports=r(Lt(),xo(),So(),uo(),Xn())})(Tt,function(n){return function(){var r=n,a=r.lib,c=a.StreamCipher,h=r.algo,d=[],E=[],b=[],T=h.RabbitLegacy=c.extend({_doReset:function(){var w=this._key.words,F=this.cfg.iv,R=this._X=[w[0],w[3]<<16|w[2]>>>16,w[1],w[0]<<16|w[3]>>>16,w[2],w[1]<<16|w[0]>>>16,w[3],w[2]<<16|w[1]>>>16],v=this._C=[w[2]<<16|w[2]>>>16,w[0]&4294901760|w[1]&65535,w[3]<<16|w[3]>>>16,w[1]&4294901760|w[2]&65535,w[0]<<16|w[0]>>>16,w[2]&4294901760|w[3]&65535,w[1]<<16|w[1]>>>16,w[3]&4294901760|w[0]&65535];this._b=0;for(var p=0;p<4;p++)x.call(this);for(var p=0;p<8;p++)v[p]^=R[p+4&7];if(F){var g=F.words,A=g[0],O=g[1],k=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,P=(O<<8|O>>>24)&16711935|(O<<24|O>>>8)&4278255360,L=k>>>16|P&4294901760,$=P<<16|k&65535;v[0]^=k,v[1]^=L,v[2]^=P,v[3]^=$,v[4]^=k,v[5]^=L,v[6]^=P,v[7]^=$;for(var p=0;p<4;p++)x.call(this)}},_doProcessBlock:function(w,F){var R=this._X;x.call(this),d[0]=R[0]^R[5]>>>16^R[3]<<16,d[1]=R[2]^R[7]>>>16^R[5]<<16,d[2]=R[4]^R[1]>>>16^R[7]<<16,d[3]=R[6]^R[3]>>>16^R[1]<<16;for(var v=0;v<4;v++)d[v]=(d[v]<<8|d[v]>>>24)&16711935|(d[v]<<24|d[v]>>>8)&4278255360,w[F+v]^=d[v]},blockSize:128/32,ivSize:64/32});function x(){for(var w=this._X,F=this._C,R=0;R<8;R++)E[R]=F[R];F[0]=F[0]+1295307597+this._b|0,F[1]=F[1]+3545052371+(F[0]>>>0<E[0]>>>0?1:0)|0,F[2]=F[2]+886263092+(F[1]>>>0<E[1]>>>0?1:0)|0,F[3]=F[3]+1295307597+(F[2]>>>0<E[2]>>>0?1:0)|0,F[4]=F[4]+3545052371+(F[3]>>>0<E[3]>>>0?1:0)|0,F[5]=F[5]+886263092+(F[4]>>>0<E[4]>>>0?1:0)|0,F[6]=F[6]+1295307597+(F[5]>>>0<E[5]>>>0?1:0)|0,F[7]=F[7]+3545052371+(F[6]>>>0<E[6]>>>0?1:0)|0,this._b=F[7]>>>0<E[7]>>>0?1:0;for(var R=0;R<8;R++){var v=w[R]+F[R],p=v&65535,g=v>>>16,A=((p*p>>>17)+p*g>>>15)+g*g,O=((v&4294901760)*v|0)+((v&65535)*v|0);b[R]=A^O}w[0]=b[0]+(b[7]<<16|b[7]>>>16)+(b[6]<<16|b[6]>>>16)|0,w[1]=b[1]+(b[0]<<8|b[0]>>>24)+b[7]|0,w[2]=b[2]+(b[1]<<16|b[1]>>>16)+(b[0]<<16|b[0]>>>16)|0,w[3]=b[3]+(b[2]<<8|b[2]>>>24)+b[1]|0,w[4]=b[4]+(b[3]<<16|b[3]>>>16)+(b[2]<<16|b[2]>>>16)|0,w[5]=b[5]+(b[4]<<8|b[4]>>>24)+b[3]|0,w[6]=b[6]+(b[5]<<16|b[5]>>>16)+(b[4]<<16|b[4]>>>16)|0,w[7]=b[7]+(b[6]<<8|b[6]>>>24)+b[5]|0}r.RabbitLegacy=c._createHelper(T)}(),n.RabbitLegacy})}(df)),df.exports}var _f={exports:{}},cd;function Gy(){return cd||(cd=1,function(t,e){(function(n,r,a){t.exports=r(Lt(),xo(),So(),uo(),Xn())})(Tt,function(n){return function(){var r=n,a=r.lib,c=a.BlockCipher,h=r.algo;const d=16,E=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],b=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var T={pbox:[],sbox:[]};function x(p,g){let A=g>>24&255,O=g>>16&255,k=g>>8&255,P=g&255,L=p.sbox[0][A]+p.sbox[1][O];return L=L^p.sbox[2][k],L=L+p.sbox[3][P],L}function w(p,g,A){let O=g,k=A,P;for(let L=0;L<d;++L)O=O^p.pbox[L],k=x(p,O)^k,P=O,O=k,k=P;return P=O,O=k,k=P,k=k^p.pbox[d],O=O^p.pbox[d+1],{left:O,right:k}}function F(p,g,A){let O=g,k=A,P;for(let L=d+1;L>1;--L)O=O^p.pbox[L],k=x(p,O)^k,P=O,O=k,k=P;return P=O,O=k,k=P,k=k^p.pbox[1],O=O^p.pbox[0],{left:O,right:k}}function R(p,g,A){for(let $=0;$<4;$++){p.sbox[$]=[];for(let M=0;M<256;M++)p.sbox[$][M]=b[$][M]}let O=0;for(let $=0;$<d+2;$++)p.pbox[$]=E[$]^g[O],O++,O>=A&&(O=0);let k=0,P=0,L=0;for(let $=0;$<d+2;$+=2)L=w(p,k,P),k=L.left,P=L.right,p.pbox[$]=k,p.pbox[$+1]=P;for(let $=0;$<4;$++)for(let M=0;M<256;M+=2)L=w(p,k,P),k=L.left,P=L.right,p.sbox[$][M]=k,p.sbox[$][M+1]=P;return!0}var v=h.Blowfish=c.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var p=this._keyPriorReset=this._key,g=p.words,A=p.sigBytes/4;R(T,g,A)}},encryptBlock:function(p,g){var A=w(T,p[g],p[g+1]);p[g]=A.left,p[g+1]=A.right},decryptBlock:function(p,g){var A=F(T,p[g],p[g+1]);p[g]=A.left,p[g+1]=A.right},blockSize:64/32,keySize:128/32,ivSize:64/32});r.Blowfish=c._createHelper(v)}(),n.Blowfish})}(_f)),_f.exports}(function(t,e){(function(n,r,a){t.exports=r(Lt(),yu(),by(),Ey(),xo(),xy(),So(),Ip(),jl(),Sy(),Up(),Ty(),Ay(),Cy(),ql(),Dy(),uo(),Xn(),ky(),Oy(),wy(),Ry(),Fy(),Ny(),Py(),Iy(),By(),Ly(),My(),Uy(),Vy(),jy(),Hy(),$y(),Gy())})(Tt,function(n){return n})})(Cp);var ld=Cp.exports;class zy{constructor(e){I(this,"_nameMap");I(this,"_prefixNameVar");I(this,"_prefixNameFunc");I(this,"_prefixNameConst");I(this,"_userTypes");I(this,"_isInFunc");I(this,"_currentFuncName");I(this,"_varlist");I(this,"_memberIndexList");I(this,"_blockCount");I(this,"_inputCount");I(this,"_count");I(this,"_codesCol");I(this,"_dependsObj");I(this,"_enums");this._nameMap=new Map,this._prefixNameVar=`${e}_var`,this._prefixNameFunc=`${e}_func`,this._prefixNameConst=`${e}_const`,this._userTypes=[],this._isInFunc=!1,this._varlist=[{}],this._memberIndexList=[{}],this._blockCount=0,this._inputCount=0,this._count=0,this._codesCol=[[]],this._dependsObj={},this._enums=new Map}preParser(e){var r,a;const n=[];for(const c of e){if(!c)return;if(Array.isArray(c)){for(const h of c)if(n.push(this._parserStmt(h)),Ol.includes((a=(r=h.exprs)==null?void 0:r[0])==null?void 0:a.name))return n.join(`;
|
27
|
+
`).replace(/;+/g,";")}else n.push(this._parserStmt(c))}return""}parser(e){const n=[];for(const a of e){if(!a)return;if(Array.isArray(a))for(const c of a)n.push(this._parserStmt(c));else n.push(this._parserStmt(a))}const r=this._memberIndexList[this._blockCount]||{};return n.push(...Object.values(r)),n.join(`;
|
28
|
+
`).replace(/;+/g,";")}_parserStmt(e,n=!1){switch(e==null?void 0:e.ruleType){case ge.DeclareAssign:return this._parserDeclareAssign(e);case ge.MethodExpression:return`${this._parserMethodExpression(e)}`;case ge.ArrowFunction:return this._parserArrowFunction(e);case ge.ArrowMethod:return this._parserArrowMethod(e);case ge.IfStatement:return this._parserIfStatement(e,n);case ge.WhileStatement:return this._parserWhileStatement(e,n);case ge.SwitchStatement:return this._parserSwitchStatement(e,n);case ge.ForInStatement:return this._parserForInStatement(e,n);case ge.ForToStatement:return this._parserForToStatement(e,n);case ge.AgainAssign:return this._parserAgainAssign(e);case ge.ImportElement:return e.code||"";case ge.TypeStatement:return this._parserTypeStatement(e);case ge.VarBlockStmt:return this._parserVarBlockStmt(e);case ge.FlowStmt:return`${e.value};`;case ge.Brackethesized:return this._parserBrackethesized(e);case ge.EnumStatement:return this._parserEnumStatement(e);default:return this._parserSingleExpression(e)}}_parserEnumStatement(e){let{name:n,fields:r}=e;const a=[],c=[];for(const d of r){const{name:E,value:b}=d,T=b===void 0?`"${E}"`:b;c.push(T),a.push(`${E}: ${T}`)}Nn.includes(n)&&(n=`$${n}`),this._enums.set(n,c);const h=`const ${n} = {${a.join(", ")}}`;return this._codesCol[this._blockCount].push({code:h,varNames:[n],depends:[]}),h}_parserTypeStatement(e){const n=[],r=[];for(const h of e.fields){const{name:d,value:E}=h;h.isVarip&&r.push(`"${d}"`),n.push(`${d}: ${E?this._parserSingleExpression(E):"undefined"}`)}this._userTypes.push(e.name);let a=e.name;Nn.includes(a)&&(a=`$${a}`);const c=`const ${a} = ${this._prefixNameVar}.getTypeInstance({${n.join(", ")}}, [${r.join()}])`;return this._codesCol[this._blockCount].push({code:c,varNames:[a],depends:[]}),c}_parserVarBlockStmt(e){const{nameList:n,value:r}=e;this._addVarList(n);const a=this._parserDeclareAssignNames(n);this._dependsObj[a]=new Map;const c=this._parserStmt(r,!0),h=`let ${a} = ${c}`,d={code:h,varNames:a.replace(/[\[\]]/g,"").split(", "),depends:this._getDepends(a)};return this._codesCol[this._blockCount].push(d),h}_getDepends(e){const n=[];for(const[r,a]of this._dependsObj[e])(a.scope||0)>this._blockCount||n.push(a);return delete this._dependsObj[e],n}_parserForToStatement(e,n=!1){let{numerical:r,block:a,name:c}=e;const[h,d,E]=r,b=`$forTo${this._blockCount}`;n||(this._dependsObj[b]=new Map);const T=this._parserSingleExpression(h),x=this._parserSingleExpression(d),w=E?this._parserSingleExpression(E):"",F=this._parserBlockLine(a,n);Nn.includes(c)&&(c=`$${c}`);const R=`$start${this._count++}`,v=`const ${R} = Date.now()`,p=`for (let ${c}=${T}; ${c}>=(${x}); ${c}+=(${w||"-1"})){
|
29
|
+
if (Date.now() - ${R} > 500) {
|
30
|
+
throw new Error('${xe.loopRuntimeErr}')
|
31
|
+
}
|
32
|
+
${F}
|
33
|
+
}`,g=`for (let ${c}=${T};${c}<=(${x}); ${c}+=(${w||"1"})){
|
34
|
+
if (Date.now() - ${R} > 500) {
|
35
|
+
throw new Error('${xe.loopRuntimeErr}')
|
36
|
+
}
|
37
|
+
${F}
|
38
|
+
}`;let A="";return(h==null?void 0:h.ruleType)==="Literal"&&(d==null?void 0:d.ruleType)==="Literal"?A=Number(h.value)>Number(d.value)?p:g:A=`if ((${T})>(${x})) {
|
39
|
+
${p}
|
40
|
+
} else {
|
41
|
+
${g}
|
42
|
+
}`,A=`${v};
|
43
|
+
${A}`,n||this._codesCol[this._blockCount].push({code:A,depends:this._getDepends(b)}),n?this._functionalProcess(A):A}_parserForInStatement(e,n=!1){const{names:r,block:a,array:c}=e,h=this._parserBlockLine(a,n);let d="",[E,b]=r;Nn.includes(E)&&(E=`$${E}`);const T=`$start${this._count++}`,x=`const ${T} = Date.now()`;return r.length===1?d=`for (const ${E} of ${this._parserSingleExpression(c)}._value) {
|
44
|
+
if (Date.now() - ${T} > 500) {
|
45
|
+
throw new Error('${xe.loopRuntimeErr}')
|
46
|
+
}
|
47
|
+
${h}
|
48
|
+
}`:(Nn.includes(b)&&(b=`$${b}`),d=`for (const [${E},${b}] of (${this._parserSingleExpression(c)})._value.entries()) {
|
49
|
+
if (Date.now() - ${T} > 500) {
|
50
|
+
throw new Error('${xe.loopRuntimeErr}')
|
51
|
+
}
|
52
|
+
${h}
|
53
|
+
}`),d=`${x};
|
54
|
+
${d}`,n?this._functionalProcess(d):d}_parserAgainAssign(e){const{operator:n,name:r,value:a}=e,{varPos:c,declare:h}=r,d=`$againAssign${this._blockCount}`;this._dependsObj[d]=new Map;const E=this._parserName(r,!0);let b="";const T=this._parserStmt(a,!0);let x="";const w=`$_tmp_${E.split(".").pop()}`;n===":="&&(x=`var ${w} = ${T}`);let F=`${E} ${n===":="?`= ${w}`:`${n} ${T}`}`;const R=`${c==null?void 0:c.column}_${c==null?void 0:c.lineNumber}`;if(h){const p=this._isInFunc?`$posStr + "_${R}"`:`"${R}"`;b=`;
|
55
|
+
${this._prefixNameVar}.setVarValue("${E}", ${p}, ${E}, "${h}")`}n==="-="?F=`${E} = ${this._prefixNameVar}.sub(${E}, ${T})`:n==="+="?F=`${E} = ${this._prefixNameVar}.add(${E}, ${T})`:n===":="&&(x=`${x};
|
56
|
+
${this._prefixNameVar}.againAssignParse(${E}, ${w});
|
57
|
+
`);const v=`${x}${F}${b}`;return this._codesCol[this._blockCount].push({code:v,depends:this._getDepends(d)}),v}_parserSwitchStatement(e,n=!1){const{condition:r,cases:a,defaultCase:c}=e;let h=`$switch${this._blockCount}`;n||(this._dependsObj[h]=new Map);const d=a.length?this._parserCases(a,n):"",E=c?this._parserDefaultCase(c,n):"",b=`switch (${r===!0?r:this._parserSingleExpression(r)}) {
|
58
|
+
${d}
|
59
|
+
${E}
|
60
|
+
}`;return n||this._codesCol[this._blockCount].push({code:b,depends:this._getDepends(h)}),n?this._functionalProcess(b):b}_parserCases(e,n=!1){const r=[];for(const a of e)r.push(this._parserCase(a,n));return r.join(`
|
61
|
+
`)}_parserDefaultCase(e,n=!1){return`default:
|
62
|
+
${this._parserBlock(e.block,n)};`}_parserCase(e,n=!1){const{condition:r,block:a}=e;return`case ${this._parserSingleExpression(r)}:
|
63
|
+
${this._parserBlock(a,n)}
|
64
|
+
break;`}_parserWhileStatement(e,n=!1){const{condition:r,block:a}=e;let c=`$while${this._blockCount}`;n||(this._dependsObj[c]=new Map);const h=`$start${this._count++}`,d=`const ${h} = Date.now()`;let E=`while (${this._parserSingleExpression(r)}) {
|
65
|
+
if (Date.now() - ${h} > 500) {
|
66
|
+
throw new Error('${xe.loopRuntimeErr}')
|
67
|
+
}
|
68
|
+
${this._parserBlockLine(a,n)}
|
69
|
+
}`;return E=`${d};
|
70
|
+
${E}`,n||this._codesCol[this._blockCount].push({code:E,depends:this._getDepends(c)}),n?this._functionalProcess(E):E}_parserIfStatement(e,n=!1){const{condition:r,block:a}=e;let c="",h=`$if${this._blockCount}`;n||(this._dependsObj[h]=new Map);for(const[d,E]of a.entries()){const b=this._parserBlockLine(E,n),T=r[d]&&this._parserSingleExpression(r[d]);d===0?c=`if (${T}) {
|
71
|
+
${b}
|
72
|
+
}`:T?c+=`else if (${T}) {
|
73
|
+
${b}
|
74
|
+
}`:c+=`else {
|
75
|
+
${b}
|
76
|
+
}`}return n||this._codesCol[this._blockCount].push({code:c,depends:this._getDepends(h)}),n?this._functionalProcess(c):c}_parserBlockLine(e,n=!1,r=!1){const a=[],c=e.length;this._blockCount++,this._codesCol[this._blockCount]=[];let h=e.slice(-1)[0];for(const[d,E]of e.entries()){const b=n&&d===c-1;if(Array.isArray(E)){const T=[...E];b&&(h=T.pop());const x=T.map(w=>this._parserStmt(w)).join(`;
|
77
|
+
`);x&&a.push(x)}else b||a.push(this._parserStmt(E))}if(n&&h){const d=this._parserReturnBlock(h,r);a.push(d)}else a.push(this._getMembersCode());return this._varlist[this._blockCount]={},this._memberIndexList[this._blockCount]={},this._codesCol[this._blockCount]=[],this._blockCount--,`${a.join(`;
|
78
|
+
`)};`}_parserReturnBlock(e,n=!1){let r="",a="";switch(e.ruleType){case ge.AgainAssign:return r=this._parserAgainAssign(e),a=this._getMembersCode(),n?`${r};
|
79
|
+
${a}
|
80
|
+
return ${this._parserName(e.name,!0)}`:`${r};
|
81
|
+
${a}
|
82
|
+
$$_result = ${this._parserName(e.name,!0)}`;case ge.DeclareAssign:r=this._parserSingleExpression(e.value),a=this._getMembersCode();break;default:r=this._parserStmt(e,!0),a=this._getMembersCode()}return n?`${a}
|
83
|
+
|
84
|
+
return ${r}`:`${a}
|
85
|
+
|
86
|
+
$$_result = ${r}`}_getMembersCode(){const e=this._memberIndexList[this._blockCount]||{};return Object.values(e).join(`;
|
87
|
+
`)}_parserArrowMethod(e){let n=`$_${e.name}`;this._nameMap.set(e.name,n);const r=[...e.params],a=e.index?`$${e.index}`:"";e.hasMemberIndex&&r.push({name:`${this._prefixNameVar}_position`}),n=`${n}${a}`,this._currentFuncName=n,this._dependsObj[n]=new Map;const c=this._parserBlock(e.block,!0,!0),h=e.hasRequest?", $paramsExpr":"";let d=`const ${n} = (${this._parserParameters(r)}$posStr${h}) => {
|
88
|
+
${c}
|
89
|
+
}`;if(this._userTypes.includes(e.typeName)){let E=e.typeName;Nn.includes(E)&&(E=`$${E}`),d=`${d}
|
90
|
+
${E}.addNewMethod("${e.name}${a}", function (${this._parserParameters(r.slice(1))}$posStr${h}) {
|
91
|
+
const ${r[0].name} = this;
|
92
|
+
${c}
|
93
|
+
})
|
94
|
+
`}return this._isInFunc=!1,this._currentFuncName="",this._codesCol[this._blockCount].push({funcName:n,depends:this._getDepends(n),hasRequest:e.hasRequest,code:d}),d}_parserArrowFunction(e){let n=`$_${e.name}`;this._nameMap.set(e.name,n);const r=[...e.params];e.hasMemberIndex&&r.push({name:`${this._prefixNameVar}_position`}),n=`${n}${e.index?`$${e.index}`:""}`,this._currentFuncName=n,this._dependsObj[n]=new Map;const a=e.hasRequest?", $paramsExpr":"",c=`const ${n} = (${this._parserParameters(r)}$posStr${a}) => {
|
95
|
+
${this._parserBlock(e.block,!0,!0)}
|
96
|
+
}`;return this._isInFunc=!1,this._currentFuncName="",this._codesCol[this._blockCount].push({funcName:n,depends:this._getDepends(n),hasRequest:e.hasRequest,code:c}),c}_parserParameters(e){return e.length?`{${e.map(n=>{const{name:r,defaultValue:a}=n;let c=r;if(a){const h=this._parserSingleExpression(a);c=`${c} = ${h}`}return c}).join(", ")}},`:""}_parserBlock(e,n=!1,r=!1){return r&&(this._isInFunc=!0),this._parserBlockLine(Array.isArray(e)?e:[e],n,r)}_addVarList(e){const n=this._varlist[this._blockCount]||{};if(e.names)for(const[r,a]of e.names.entries())n[a]=e.posList[r];else n[e.name]=e.pos;this._varlist[this._blockCount]=n}_parserDeclareAssign(e){var E;const{nameList:n,value:r}=e;if(n.name==="_")return"";const a=this._parserDeclareAssignNames(n);this._addVarList(n);const c={code:"",varNames:a.replace(/[\[\]]/g,"").split(", "),depends:[]};this._dependsObj[a]=new Map;const h=this._parserSingleExpression(r);let d=`let ${a} = ${h}`;if(n.declare){const b=`${n.pos.column}_${n.pos.lineNumber}`,T=this._isInFunc?`$posStr + "_${b}"`:`"${b}"`;d=`let ${a} = ${this._prefixNameVar}.getVarValue("${a}", ${T}, "${n.declare}") || ${this._prefixNameVar}.setVarValue("${a}", ${T}, ${h}, "${n.declare}")`}return c.code=d,c.depends=this._getDepends(a),(E=this._codesCol[this._blockCount])==null||E.push(c),d}_parserDeclareAssignNames(e){switch(e==null?void 0:e.ruleType){case"VarMultiple":return`[${e.names.map(n=>Nn.includes(n)?`$${n}`:n).join(", ")}]`;case"VarSingle":return Nn.includes(e.name)?`$${e.name}`:e.name}return""}_parserSingleExpression(e){if(!e)return"";const{exprs:n,operator:r}=e;switch(e.ruleType){case ge.MemberIndexExpression:return this._parserMemberIndexExpression(e);case ge.MethodExpression:return this._parserMethodExpression(e);case ge.UnaryExpression:return`${r}${this._parserSingleExpression(n[0])}`;case ge.NotExpression:return`!${this._parserSingleExpression(n[0])}`;case ge.AdditiveExpression:return this._parserAdditiveExpression(e);case ge.MultiplicativeExpression:case ge.RelationalExpression:case ge.EqualityExpression:return`${this._parserSingleExpression(n[0])} ${r} ${this._parserSingleExpression(n[1])}`;case ge.LogicalAndExpression:return`${this._parserSingleExpression(n[0])} && ${this._parserSingleExpression(n[1])}`;case ge.LogicalOrExpression:return`${this._parserSingleExpression(n[0])} || ${this._parserSingleExpression(n[1])}`;case ge.TernaryExpression:return`${this._parserSingleExpression(n[0])} ? ${this._parserSingleExpression(n[1])} : ${this._parserSingleExpression(n[2])}`;case ge.Name:return this._parserName(e);case ge.Literal:return this._parseLiteral(e);case ge.ParenthesizedExpression:return`(${this._parserSingleExpression(e.exprs)})`;default:return e.name||""}}_parserAdditiveExpression(e){const{exprs:n,operator:r}=e,a=this._parserSingleExpression(n[0]),c=this._parserSingleExpression(n[1]);return r==="-"?`${this._prefixNameVar}.sub(${a}, ${c})`:`${this._prefixNameVar}.add(${a}, ${c})`}_parserMemberIndexExpression(e){const{exprs:n,isInFunc:r,ctx:a}=e,c=n[0],h=this._parserSingleExpression(n[1]);if(c.ruleType===ge.Name&&!c.hasMethod){let T=this._blockCount;const x=c.name;for(c.isBuiltIn||this._setDepend({name:x,scope:c.varScope});T>=0;){const w=this._varlist[T]||{},F=w[x];if(F)return this._getUserVarMemberIndexs(F,x,T,h,r);if(c.isBuiltIn){const R=this._parserSingleExpression(c),v=this._memberIndexList[0]||{};return v[x]=`${this._prefixNameVar}.setCacheData("${x}", ${R})`,`${this._prefixNameVar}.getCacheData("${x}", ${h}, ${R})`}else if(x.includes(".")){const R=x.split(".")[0],v=w[R];if(v)return this._getUserVarMemberIndexs(v,x,T,h,r)}T--}}const d=a.start.tokenIndex,E=this._parserSingleExpression(c),b=r?`${this._prefixNameVar}_position`:d;return`${this._prefixNameVar}.getCacheData("m${d}_" + ${b}, ${h}, ${E})`}_getUserVarMemberIndexs(e,n,r,a,c){const h=this._memberIndexList[r]||{};let d=`${n}_${e.lineNumber}_${e.column}`;return d=c&&r!==0?`"${d}_" + $posStr`:`"${d}"`,h[d]=`${this._prefixNameVar}.setCacheData(${d}, ${n})`,this._memberIndexList[r]=h,`${this._prefixNameVar}.getCacheData(${d}, ${a}, ${n})`}_parseLiteral(e){return e.type.endsWith(W.COLOR)?`"${this._colorToRgba(e.value)}"`:e.value}_colorToRgba(e){if(e.startsWith("#")){let n;const r=parseInt(e.substring(1,3),16),a=parseInt(e.substring(3,5),16),c=parseInt(e.substring(5,7),16),h=e.substring(7);return h?n=(255-parseInt(h,16))/255:n=1,`rgba(${Math.round(r)}, ${Math.round(a)}, ${Math.round(c)}, ${n.toFixed(2)})`}return e}_parserName(e,n=!1){const{exprs:r,varScope:a,hasMethod:c,arg:h}=e,d=r.map(E=>{var w;if(typeof E=="string")return E;const{column:b,line:T}=((w=E==null?void 0:E.ctx)==null?void 0:w.start)||{},x=`${T}_${b}`;return this._parserMethodElement(E,x)});if(e.expr&&d.unshift(`(${this._parserSingleExpression(e.expr)})`),e.isBuiltIn)d.join(".")==="strategy.opentrades"&&d.push("opentrades"),d.unshift(e.isConst?this._prefixNameConst:this._prefixNameVar);else if(Nn.includes(d[0])&&(d[0]=`$${d[0]}`),!c){const E={name:d[0],scope:a||(h==null?void 0:h.varScope)||0,isAgainAssign:n,isArg:h==null?void 0:h.isArg,functionName:this._currentFuncName};this._setDepend(E)}return d.join(".")}_setDepend(e){const n=e.name;for(const r of Object.values(this._dependsObj)){const a=r.get(n),c={...e};a&&a.isAgainAssign&&(c.isAgainAssign=!0),r.set(n,c)}}_parserMethodExpression(e){const{exprs:n,ctx:r}=e,{column:a,line:c}=r.start,h=`${c}_${a}`,d=this._isInFunc?`$posStr + "__${h}"`:`"${h}"`;return n.map(b=>this._parserMethodElement(b,d)).join(".")}_parserMethodElement(e,n){let r="",a="";const c={...e.args};e.hasMemberIndex&&(a=`${this._prefixNameVar}_position: ${e.position}`),e.expr&&(r=`(${this._parserSingleExpression(e.expr)})`),r=r?`${r}.${e.name}`:this._nameMap.get(e.name)||e.name;let h=!1;if(e.isBuiltIn){if(Sp.includes(r))r=`${r}.${r}`;else if(r==="max_bars_back"){const{name:E,varPos:b}=c.var||c.params[0];a=`var_name: "${b?`${E}_${b.lineNumber}_${b.column}`:E}"`}r.startsWith(W.INPUT)?(a=`index: ${this._inputCount}`,this._inputCount++):r.startsWith("request.")&&(h=!0),r=`${this._prefixNameFunc}.${r}`}else{const E=r.split(".");let b=E[0];Nn.includes(b)&&(b=`$${b}`,r=E.join("."))}if(e.selfArg){const E=r.split("."),b=E.length;Object.assign(c,{[e.selfArg.name]:{name:E.slice(0,b-1).join(".")}}),r=E[b-1],r=this._nameMap.get(r)||r,this._setDepend({name:E[0],scope:e.varScope||0})}r=`${r}${e.index?`$${e.index}`:""}`;const d=this._parserArguments(c,a,n,h,e.hasRequest,r);if(!e.isBuiltIn){const E=r.split(".");if(E.length>1?this._setDepend({name:E[0],scope:e.varScope||0}):this._setDepend({name:r,scope:0,hasRequest:e.hasRequest,isFunc:!0}),e.funcName){const b=this._nameMap.get(e.funcName)||e.funcName;this._setDepend({name:b,originName:r,scope:0,hasRequest:e.hasRequest,isFunc:!0})}}return r+d}_parserArguments(e,n,r,a=!1,c=!1,h){const d=e.params||[];delete e.params;const E=[],b=[],T=[];let x=[],w;const F=(v,p)=>{c&&(this._dependsObj[r]=new Map),a&&p==="expression"&&(this._dependsObj[`$arg_${p}${r}`]=new Map);let g=v.ruleType===ge.Brackethesized?this._parserBrackethesized(v):this._parserSingleExpression(v);if(p&&!["arg0, arg1, ...","number0, number1, ..."].includes(p)){v.isSourceType?E.push(`sourceTypeName: "${v.name}"`):v.type===`${W.SERIES} ${W.COLOR}`?T.push(`"${p}"`):p==="defval"&&h===`${this._prefixNameFunc}.input.enum`&&(w=this._enums.get(v.enumName));const A=this._requestParamsHandle(a,p,r,c,g,h);g=(A==null?void 0:A.code)||g,A!=null&&A.paramsExpr&&x.push(A==null?void 0:A.paramsExpr),E.push(`${p}: ${g}`)}else b.push(g)};for(const v of d)F(v,v.originName);for(const v of Object.keys(e))F(e[v],v);T.length&&E.push(`seriesColors: [${T.join(",")}]`),a&&this._isInFunc&&E.push("paramsExpr: $paramsExpr"),n&&E.push(n),w&&E.unshift(`options: [${w.join(", ")}]`);const R=x.length?`, [${this._isInFunc?"...$paramsExpr, ":""}${x.join(", ")}]`:"";return b.length?`({${E.join(", ")}}, [${b.join(", ")}], ${r}${R})`:E.length?`({${E.join(", ")}}, ${r}${R})`:`(${r}${R})`}_requestParamsHandle(e,n,r,a,c,h){if(e&&n==="expression"){const d=this._getDepends(`$arg_${n}${r}`),E=this._getExpressionContext(d);return E.push({scope:1,depends:d.map(b=>(b.isArg&&(b.functionName=this._currentFuncName),b)),code:c}),{code:`'${ld.AES.encrypt(JSON.stringify(E),"1234").toString()}'`}}else if(a){const d=this._getDepends(r),E=this._getExpressionContext(d);return E.push({scope:2,varNames:n,methodName:h,depends:d,dependSelf:d.some(b=>b.name===n),code:`${n} = ${c}`}),{paramsExpr:`'${ld.AES.encrypt(JSON.stringify(E),"1234").toString()}'`}}}_getExpressionContext(e){const n=[],r=[];return this._getDependsCode(e,n,r),n}_getDependsCode(e,n,r){var a,c;for(const h of e)if(!h.isArg){const d=this._codesCol[h.scope||0],E=d.find(T=>{var x;return((x=T.varNames)==null?void 0:x.includes(h.name))||T.funcName===h.name});E&&(r.includes(E)||(r.push(E),E.depends.length&&this._getDependsCode(E.depends,n,r),n.push({scope:h.scope||0,code:E.code,depends:E.depends,funcName:E.funcName,varNames:(a=E.varNames)==null?void 0:a.join(", ")})));const b=d.filter(T=>T.depends.some(x=>x.name===h.name&&x.scope===h.scope&&x.isAgainAssign));for(const T of b)r.includes(T)||(r.push(T),T.depends.length&&this._getDependsCode(T.depends,n,r),n.push({scope:h.scope||0,code:T.code,depends:T.depends,funcName:T.funcName,varNames:(c=T.varNames)==null?void 0:c.join(", ")}))}}_parserBrackethesized(e){return`[${e.exprs.map(r=>this._parserSingleExpression(r)).join(", ")}]`}_functionalProcess(e){return`(function () {
|
97
|
+
let $$_result=undefined;
|
98
|
+
${e}
|
99
|
+
return $$_result
|
100
|
+
})()`}}class Ky{constructor(e,n){I(this,"_nameMap");I(this,"_prefixNameVar");I(this,"_prefixNameFunc");I(this,"_prefixNameConst");I(this,"_userTypes");I(this,"_isInFunc");I(this,"_varlist");I(this,"_memberIndexList");I(this,"_blockCount");I(this,"_libTitle");I(this,"_exportEles");I(this,"_inputCount");this._nameMap=new Map,this._prefixNameVar=`${e}_var`,this._prefixNameFunc=`${e}_func`,this._prefixNameConst=`${e}_const`,this._userTypes=[],this._isInFunc=!1,this._varlist=[{}],this._memberIndexList=[{}],this._blockCount=0,this._libTitle=n,this._exportEles=[],this._inputCount=0}parser(e){const n=[];for(const c of e){if(!c)return;if(Array.isArray(c))for(const h of c)n.push(this._parserStmt(h));else n.push(this._parserStmt(c))}const r=this._memberIndexList[this._blockCount]||{};return n.push(...Object.values(r)),`const $name = (function () {
|
101
|
+
${n.join(`;
|
102
|
+
`).replace(/;+/g,";")}
|
103
|
+
return {
|
104
|
+
${this._exportEles.map(c=>`${c.key}: ${c.name}`).join(", ")}
|
105
|
+
}
|
106
|
+
})();`}_parserStmt(e,n=!1){switch(e==null?void 0:e.ruleType){case ge.DeclareAssign:return this._parserDeclareAssign(e);case ge.MethodExpression:return`${this._parserMethodExpression(e)}`;case ge.ArrowFunction:return this._parserArrowFunction(e);case ge.ArrowMethod:return this._parserArrowMethod(e);case ge.IfStatement:return this._parserIfStatement(e,n);case ge.WhileStatement:return this._parserWhileStatement(e,n);case ge.SwitchStatement:return this._parserSwitchStatement(e,n);case ge.ForInStatement:return this._parserForInStatement(e,n);case ge.ForToStatement:return this._parserForToStatement(e,n);case ge.AgainAssign:return this._parserAgainAssign(e);case ge.ImportElement:return e.code||"";case ge.TypeStatement:return this._parserTypeStatement(e);case ge.VarBlockStmt:return this._parserVarBlockStmt(e);case ge.FlowStmt:return`${e.value};`;case ge.Brackethesized:return this._parserBrackethesized(e);case ge.EnumStatement:return this._parserEnumStatement(e);default:return this._parserSingleExpression(e)}}_parserEnumStatement(e){let{name:n,fields:r}=e;const a=[];for(const h of r){const{name:d,value:E}=h;a.push(`${d}: ${E===void 0?`"${d}"`:E}`)}return Nn.includes(n)&&(n=`$${n}`),`const ${n} = {${a.join(", ")}}`}_parserTypeStatement(e){const n=[],r=[];for(const c of e.fields){const{name:h,value:d}=c;c.isVarip&&r.push(`"${h}"`),n.push(`${h}: ${d?this._parserSingleExpression(d):"undefined"}`)}this._userTypes.push(e.name),e.isExport&&this._exportEles.push({key:e.name,name:e.name});let a=e.name;return Nn.includes(a)&&(a=`$${a}`),`const ${a} = ${this._prefixNameVar}.getTypeInstance({${n.join(", ")}}, [${r.join()}])`}_parserVarBlockStmt(e){const{nameList:n,value:r}=e,a=this._parserStmt(r,!0);return this._addVarList(n),`let ${this._parserDeclareAssignNames(n)} = ${a}`}_parserForToStatement(e,n=!1){let{numerical:r,block:a,name:c}=e;const[h,d,E]=r,b=this._parserBlockLine(a,n),T=this._parserSingleExpression(h),x=this._parserSingleExpression(d),w=E?this._parserSingleExpression(E):"";Nn.includes(c)&&(c=`$${c}`);const F=`for (let ${c}=${T}; ${c}>=(${x}); ${c}+=(${w||"-1"})){
|
107
|
+
${b}
|
108
|
+
}`,R=`for (let ${c}=${T};${c}<=(${x}); ${c}+=(${w||"1"})){
|
109
|
+
${b}
|
110
|
+
}`;let v="";return(h==null?void 0:h.ruleType)==="Literal"&&(d==null?void 0:d.ruleType)==="Literal"?v=Number(h.value)>Number(d.value)?F:R:v=`if ((${T})>(${x})) {
|
111
|
+
${F}
|
112
|
+
} else {
|
113
|
+
${R}
|
114
|
+
}`,n?this._functionalProcess(v):v}_parserForInStatement(e,n=!1){const{names:r,block:a,array:c}=e,h=this._parserBlockLine(a,n);let d="",[E,b]=r;return Nn.includes(E)&&(E=`$${E}`),r.length===1?d=`for (const ${E} of ${this._parserSingleExpression(c)}._value) {
|
115
|
+
${h}
|
116
|
+
}`:(Nn.includes(b)&&(b=`$${b}`),d=`for (const [${E},${b}] of (${this._parserSingleExpression(c)})._value.entries()) {
|
117
|
+
${h}
|
118
|
+
}`),n?this._functionalProcess(d):d}_parserAgainAssign(e){const{operator:n,name:r,value:a}=e,{varPos:c,declare:h}=r,d=this._parserName(r);let E="";const b=this._parserStmt(a,!0);let T="";const x=`$_tmp_${d.split(".").pop()}`;n===":="&&(T=`var ${x} = ${b}`);let w=`${d} ${n===":="?`= ${x}`:`${n} ${b}`}`;const F=`${c==null?void 0:c.column}_${c==null?void 0:c.lineNumber}`;if(h){const R=this._isInFunc?`posStr + '_${F}'`:`"export_${this._libTitle}_${F}"`;E=`;
|
119
|
+
${this._prefixNameVar}.setVarValue("${d}", ${R}, ${d}, "${h}")`}return n==="-="?w=`${d} = ${this._prefixNameVar}.sub(${d}, ${b})`:n==="+="?w=`${d} = ${this._prefixNameVar}.add(${d}, ${b})`:n===":="&&(T=`${T};
|
120
|
+
${this._prefixNameVar}.againAssignParse(${d}, ${x});
|
121
|
+
`),`${T}${w}${E}`}_parserSwitchStatement(e,n=!1){const{condition:r,cases:a,defaultCase:c}=e,h=a.length?this._parserCases(a,n):"",d=c?this._parserDefaultCase(c,n):"",E=`switch (${r===!0?r:this._parserSingleExpression(r)}) {
|
122
|
+
${h}
|
123
|
+
${d}
|
124
|
+
}`;return n?this._functionalProcess(E):E}_parserCases(e,n=!1){const r=[];for(const a of e)r.push(this._parserCase(a,n));return r.join(`
|
125
|
+
`)}_parserDefaultCase(e,n=!1){return`default:
|
126
|
+
${this._parserBlock(e.block,n)};`}_parserCase(e,n=!1){const{condition:r,block:a}=e;return`case ${this._parserSingleExpression(r)}:
|
127
|
+
${this._parserBlock(a,n)}
|
128
|
+
break;`}_parserWhileStatement(e,n=!1){const{condition:r,block:a}=e,c=`while (${this._parserSingleExpression(r)}) {
|
129
|
+
${this._parserBlockLine(a,n)}
|
130
|
+
}`;return n?this._functionalProcess(c):c}_parserIfStatement(e,n=!1){const{condition:r,block:a}=e;let c="";for(const[h,d]of a.entries()){const E=this._parserBlockLine(d,n),b=r[h]&&this._parserSingleExpression(r[h]);h===0?c=`if (${b}) {
|
131
|
+
${E}
|
132
|
+
}`:b?c+=`else if (${b}) {
|
133
|
+
${E}
|
134
|
+
}`:c+=`else {
|
135
|
+
${E}
|
136
|
+
}`}return n?this._functionalProcess(c):c}_parserBlockLine(e,n=!1,r=!1){const a=[],c=e.length;this._blockCount++;let h=e.slice(-1)[0];for(const[d,E]of e.entries()){const b=n&&d===c-1;if(Array.isArray(E)){const T=[...E];b&&(h=T.pop());const x=T.map(w=>this._parserStmt(w)).join(`;
|
137
|
+
`);x&&a.push(x)}else b||a.push(this._parserStmt(E))}if(n&&h){const d=this._parserReturnBlock(h,r);a.push(d)}else a.push(this._getMembersCode());return this._varlist[this._blockCount]={},this._memberIndexList[this._blockCount]={},this._blockCount--,`${a.join(`;
|
138
|
+
`)};`}_parserReturnBlock(e,n=!1){let r="",a="";switch(e.ruleType){case ge.AgainAssign:return r=this._parserAgainAssign(e),a=this._getMembersCode(),n?`${r};
|
139
|
+
${a}
|
140
|
+
return ${this._parserName(e.name)}`:`${r};
|
141
|
+
${a}
|
142
|
+
$_result = ${this._parserName(e.name)}`;case ge.DeclareAssign:r=this._parserSingleExpression(e.value),a=this._getMembersCode();break;default:r=this._parserStmt(e,!0),a=this._getMembersCode()}return n?`${a}
|
143
|
+
|
144
|
+
return ${r}`:`${a}
|
145
|
+
|
146
|
+
$_result = ${r}`}_getMembersCode(){const e=this._memberIndexList[this._blockCount]||{};return Object.values(e).join(`;
|
147
|
+
`)}_parserArrowMethod(e){let n=`$_${e.name}`;this._nameMap.set(e.name,n);const r=e.index?`$${e.index}`:"";n=`${n}${r}`,e.isExport&&this._exportEles.push({key:`${e.name}${r}`,name:n});const a=[...e.params];e.hasMemberIndex&&a.push({name:`${this._prefixNameVar}_position`});let c=`const ${n} = (${this._parserParameters(a)}posStr) => {
|
148
|
+
if (posStr.startsWith('export')) return;
|
149
|
+
${this._parserBlock(e.block,!0,!0)}
|
150
|
+
}`;if(this._userTypes.includes(e.typeName)){let h=e.typeName;Nn.includes(h)&&(h=`$${h}`),c=`${c}
|
151
|
+
${h}.addNewMethod("${e.name}${r}", function (${this._parserParameters(a.slice(1))}posStr) {
|
152
|
+
if (posStr.startsWith('export')) return;
|
153
|
+
const ${a[0].name} = this;
|
154
|
+
${this._parserBlock(e.block,!0,!0)}
|
155
|
+
})
|
156
|
+
`}return this._isInFunc=!1,c}_parserArrowFunction(e){let n=`$_${e.name}`;this._nameMap.set(e.name,n);const r=e.index?`$${e.index}`:"";n=`${n}${r}`,e.isExport&&this._exportEles.push({key:`${e.name}${r}`,name:n});const a=[...e.params];e.hasMemberIndex&&a.push({name:`${this._prefixNameVar}_position`});const c=`const ${n} = (${this._parserParameters(a)}posStr) => {
|
157
|
+
if (posStr.startsWith('export')) return;
|
158
|
+
${this._parserBlock(e.block,!0,!0)}
|
159
|
+
}`;return this._isInFunc=!1,c}_parserParameters(e){return e.length?`{${e.map(n=>{const{name:r,defaultValue:a}=n;let c=r;if(a){const h=this._parserSingleExpression(a);c=`${c} = ${h}`}return c}).join(", ")}},`:""}_parserBlock(e,n=!1,r=!1){return r&&(this._isInFunc=!0),this._parserBlockLine(Array.isArray(e)?e:[e],n,r)}_addVarList(e){const n=this._varlist[this._blockCount]||{};if(e.names)for(const[r,a]of e.names.entries())n[a]=e.posList[r];else n[e.name]=e.pos;this._varlist[this._blockCount]=n}_parserDeclareAssign(e){const{nameList:n,value:r}=e;if(n.name==="_")return"";const a=this._parserDeclareAssignNames(n);this._addVarList(n);const c=this._parserSingleExpression(r);if(n.declare){const h=`${n.pos.column}_${n.pos.lineNumber}`,d=this._isInFunc?`posStr + '_' + '${h}'`:`"export_${this._libTitle}_${h}"`;return`let ${a} = ${this._prefixNameVar}.getVarValue("${a}", ${d}, "${n.declare}") || ${this._prefixNameVar}.setVarValue("${a}", ${d}, ${c}, "${n.declare}")`}return`let ${a} = ${c}`}_parserDeclareAssignNames(e){switch(e==null?void 0:e.ruleType){case"VarMultiple":return`[${e.names.map(n=>Nn.includes(n)?`$${n}`:n).join(", ")}]`;case"VarSingle":return Nn.includes(e.name)?`$${e.name}`:e.name}return""}_parserSingleExpression(e){if(!e)return"";const{exprs:n,operator:r}=e;switch(e.ruleType){case ge.MemberIndexExpression:return this._parserMemberIndexExpression(e);case ge.MethodExpression:return this._parserMethodExpression(e);case ge.UnaryExpression:return`${r}${this._parserSingleExpression(n[0])}`;case ge.NotExpression:return`!${this._parserSingleExpression(n[0])}`;case ge.AdditiveExpression:return this._parserAdditiveExpression(e);case ge.MultiplicativeExpression:case ge.RelationalExpression:case ge.EqualityExpression:return`${this._parserSingleExpression(n[0])} ${r} ${this._parserSingleExpression(n[1])}`;case ge.LogicalAndExpression:return`${this._parserSingleExpression(n[0])} && ${this._parserSingleExpression(n[1])}`;case ge.LogicalOrExpression:return`${this._parserSingleExpression(n[0])} || ${this._parserSingleExpression(n[1])}`;case ge.TernaryExpression:return`${this._parserSingleExpression(n[0])} ? ${this._parserSingleExpression(n[1])} : ${this._parserSingleExpression(n[2])}`;case ge.Name:return this._parserName(e);case ge.Literal:return this._parseLiteral(e);case ge.ParenthesizedExpression:return`(${this._parserSingleExpression(e.exprs)})`;default:return e.name||""}}_parserAdditiveExpression(e){const{exprs:n,operator:r}=e,a=this._parserSingleExpression(n[0]),c=this._parserSingleExpression(n[1]);return r==="-"?`${this._prefixNameVar}.sub(${a}, ${c})`:`${this._prefixNameVar}.add(${a}, ${c})`}_parserMemberIndexExpression(e){const{exprs:n,isInFunc:r,ctx:a}=e,c=n[0],h=this._parserSingleExpression(n[1]);if(c.ruleType===ge.Name&&!c.hasMethod){let T=this._blockCount;const x=c.name;for(;T>=0;){const w=this._varlist[T]||{},F=w[x];if(F)return this._getUserVarMemberIndexs(F,x,T,h,r);if(c.isBuiltIn){const R=this._parserSingleExpression(c),v=this._memberIndexList[0]||{};return v[x]=`${this._prefixNameVar}.setCacheData('${x}', ${R})`,`${this._prefixNameVar}.getCacheData('${x}', ${h}, ${R})`}else if(x.includes(".")){const R=x.split(".")[0],v=w[R];if(v)return this._getUserVarMemberIndexs(v,x,T,h,r)}T--}}const d=a.start.tokenIndex,E=this._parserSingleExpression(c),b=r?`${this._prefixNameVar}_position`:d;return`${this._prefixNameVar}.getCacheData('m${d}_' + ${b}, ${h}, ${E})`}_getUserVarMemberIndexs(e,n,r,a,c){const h=this._memberIndexList[r]||{};let d=`${n}_${e.lineNumber}_${e.column}`;return d=c&&r!==0?`'${d}' + '_' + posStr`:`'${d}'`,h[d]=`${this._prefixNameVar}.setCacheData(${d}, ${n})`,this._memberIndexList[r]=h,`${this._prefixNameVar}.getCacheData(${d}, ${a}, ${n})`}_parseLiteral(e){return e.type.endsWith(W.COLOR)?`"${this._colorToRgba(e.value)}"`:e.value}_colorToRgba(e){if(e.startsWith("#")){let n;const r=parseInt(e.substring(1,3),16),a=parseInt(e.substring(3,5),16),c=parseInt(e.substring(5,7),16),h=e.substring(7);return h?n=(255-parseInt(h,16))/255:n=1,`rgba(${Math.round(r)}, ${Math.round(a)}, ${Math.round(c)}, ${n.toFixed(2)})`}return e}_parserName(e){const{exprs:n,ctx:r}=e,{column:a,line:c}=(r==null?void 0:r.start)||{},h=this._isInFunc?`${c}_${a}`:`export_${this._libTitle}_${c}_${a}`,d=n.map(E=>typeof E=="string"?E:this._parserMethodElement(E,h));return e.expr&&d.unshift(`(${this._parserSingleExpression(e.expr)})`),e.isBuiltIn?(d.join(".")==="strategy.opentrades"&&d.push("opentrades"),d.unshift(e.isConst?this._prefixNameConst:this._prefixNameVar)):Nn.includes(d[0])&&(d[0]=`$${d[0]}`),d.join(".")}_parserMethodExpression(e){const{exprs:n,ctx:r}=e,{column:a,line:c}=r.start,h=`${c}_${a}`,d=this._isInFunc?`posStr + "_${h}"`:`"export_${this._libTitle}_${h}"`,E=n.map(b=>this._parserMethodElement(b,d));return E.length===1&&[...wl,Ui.library].some(b=>E[0].startsWith(`${this._prefixNameFunc}.${b}`))?"":E.join(".")}_parserMethodElement(e,n){let r="",a="";const c={...e.args};if(e.hasMemberIndex&&(a=`${this._prefixNameVar}_position: ${e.position}`),e.expr&&(r=`(${this._parserSingleExpression(e.expr)})`),r=r?`${r}.${e.name}`:this._nameMap.get(e.name)||e.name,e.isBuiltIn){if(Sp.includes(r))r=`${r}.${r}`;else if(r==="max_bars_back"){const{name:d,varPos:E}=c.var||c.params[0];a=`var_name: '${E?`${d}_${E.lineNumber}_${E.column}`:d}'`}r.startsWith(W.INPUT)&&(a=`index: ${this._inputCount}`,this._inputCount++),r=`${this._prefixNameFunc}.${r}`}else{const d=r.split(".");Nn.includes(d[0])&&(d[0]=`$${d[0]}`,r=d.join("."))}if(e.selfArg){const d=r.split("."),E=d.length;Object.assign(c,{[e.selfArg.name]:{name:d.slice(0,E-1).join(".")}}),r=d[E-1],r=this._nameMap.get(r)||r}r=`${r}${e.index?`$${e.index}`:""}`;const h=this._parserArguments(c,a,n);return r+h}_parserArguments(e,n,r){const a=e.params||[];delete e.params;const c=[],h=[],d=[];for(const E of a){const b=E.ruleType===ge.Brackethesized?this._parserBrackethesized(E):this._parserSingleExpression(E);E.originName&&!["arg0, arg1, ...","number0, number1, ..."].includes(E.originName)?(c.push(`${E.originName}: ${b}`),E.isSourceType?c.push(`sourceTypeName: '${E.name}'`):E.type===`${W.SERIES} ${W.COLOR}`&&d.push(`'${E.originName}'`)):h.push(b)}for(const E of Object.keys(e)){const b=e[E],T=b.ruleType===ge.Brackethesized?this._parserBrackethesized(b):this._parserSingleExpression(b);c.push(`${E}: ${T}`),b.type===`${W.SERIES} ${W.COLOR}`&&d.push(`'${E}'`)}return d.length&&c.push(`seriesColors: [${d.join(",")}]`),n&&c.push(n),h.length?`({${c.join(", ")}}, [${h.join(", ")}], ${r})`:c.length?`({${c.join(", ")}}, ${r})`:`(${r})`}_parserBrackethesized(e){return`[${e.exprs.map(r=>this._parserSingleExpression(r)).join(", ")}]`}_functionalProcess(e){return`(function () {
|
160
|
+
let $_result=undefined;
|
161
|
+
${e}
|
162
|
+
return $_result
|
163
|
+
})();`}}/**
|
164
|
+
* @license
|
165
|
+
* Copyright 2019 Google LLC
|
166
|
+
* SPDX-License-Identifier: Apache-2.0
|
167
|
+
*/const fd=Symbol("Comlink.proxy"),Wy=Symbol("Comlink.endpoint"),qy=Symbol("Comlink.releaseProxy"),mf=Symbol("Comlink.finalizer"),gu=Symbol("Comlink.thrown"),hd=t=>typeof t=="object"&&t!==null||typeof t=="function",Xy={canHandle:t=>hd(t)&&t[fd],serialize(t){const{port1:e,port2:n}=new MessageChannel;return yf(t,e),[n,[n]]},deserialize(t){return t.start(),Jy(t)}},Yy={canHandle:t=>hd(t)&&gu in t,serialize({value:t}){let e;return t instanceof Error?e={isError:!0,value:{message:t.message,name:t.name,stack:t.stack}}:e={isError:!1,value:t},[e,[]]},deserialize(t){throw t.isError?Object.assign(new Error(t.value.message),t.value):t.value}},pd=new Map([["proxy",Xy],["throw",Yy]]);function Zy(t,e){for(const n of t)if(e===n||n==="*"||n instanceof RegExp&&n.test(e))return!0;return!1}function yf(t,e=globalThis,n=["*"]){e.addEventListener("message",function r(a){if(!a||!a.data)return;if(!Zy(n,a.origin)){console.warn(`Invalid origin '${a.origin}' for comlink proxy`);return}const{id:c,type:h,path:d}=Object.assign({path:[]},a.data),E=(a.data.argumentList||[]).map(To);let b;try{const T=d.slice(0,-1).reduce((w,F)=>w[F],t),x=d.reduce((w,F)=>w[F],t);switch(h){case"GET":b=x;break;case"SET":T[d.slice(-1)[0]]=To(a.data.value),b=!0;break;case"APPLY":b=x.apply(T,E);break;case"CONSTRUCT":{const w=new x(...E);b=ig(w)}break;case"ENDPOINT":{const{port1:w,port2:F}=new MessageChannel;yf(t,F),b=rg(w,[w])}break;case"RELEASE":b=void 0;break;default:return}}catch(T){b={value:T,[gu]:0}}Promise.resolve(b).catch(T=>({value:T,[gu]:0})).then(T=>{const[x,w]=xu(T);e.postMessage(Object.assign(Object.assign({},x),{id:c}),w),h==="RELEASE"&&(e.removeEventListener("message",r),dd(e),mf in t&&typeof t[mf]=="function"&&t[mf]())}).catch(T=>{const[x,w]=xu({value:new TypeError("Unserializable return value"),[gu]:0});e.postMessage(Object.assign(Object.assign({},x),{id:c}),w)})}),e.start&&e.start()}function Qy(t){return t.constructor.name==="MessagePort"}function dd(t){Qy(t)&&t.close()}function Jy(t,e){return gf(t,[],e)}function vu(t){if(t)throw new Error("Proxy has been released and is not useable")}function _d(t){return Xo(t,{type:"RELEASE"}).then(()=>{dd(t)})}const bu=new WeakMap,Eu="FinalizationRegistry"in globalThis&&new FinalizationRegistry(t=>{const e=(bu.get(t)||0)-1;bu.set(t,e),e===0&&_d(t)});function eg(t,e){const n=(bu.get(e)||0)+1;bu.set(e,n),Eu&&Eu.register(t,e,t)}function tg(t){Eu&&Eu.unregister(t)}function gf(t,e=[],n=function(){}){let r=!1;const a=new Proxy(n,{get(c,h){if(vu(r),h===qy)return()=>{tg(a),_d(t),r=!0};if(h==="then"){if(e.length===0)return{then:()=>a};const d=Xo(t,{type:"GET",path:e.map(E=>E.toString())}).then(To);return d.then.bind(d)}return gf(t,[...e,h])},set(c,h,d){vu(r);const[E,b]=xu(d);return Xo(t,{type:"SET",path:[...e,h].map(T=>T.toString()),value:E},b).then(To)},apply(c,h,d){vu(r);const E=e[e.length-1];if(E===Wy)return Xo(t,{type:"ENDPOINT"}).then(To);if(E==="bind")return gf(t,e.slice(0,-1));const[b,T]=md(d);return Xo(t,{type:"APPLY",path:e.map(x=>x.toString()),argumentList:b},T).then(To)},construct(c,h){vu(r);const[d,E]=md(h);return Xo(t,{type:"CONSTRUCT",path:e.map(b=>b.toString()),argumentList:d},E).then(To)}});return eg(a,t),a}function ng(t){return Array.prototype.concat.apply([],t)}function md(t){const e=t.map(xu);return[e.map(n=>n[0]),ng(e.map(n=>n[1]))]}const yd=new WeakMap;function rg(t,e){return yd.set(t,e),t}function ig(t){return Object.assign(t,{[fd]:!0})}function xu(t){for(const[e,n]of pd)if(n.canHandle(t)){const[r,a]=n.serialize(t);return[{type:"HANDLER",name:e,value:r},a]}return[{type:"RAW",value:t},yd.get(t)||[]]}function To(t){switch(t.type){case"HANDLER":return pd.get(t.name).deserialize(t.value);case"RAW":return t.value}}function Xo(t,e,n){return new Promise(r=>{const a=og();t.addEventListener("message",function c(h){!h.data||!h.data.id||h.data.id!==a||(t.removeEventListener("message",c),r(h.data))}),t.start&&t.start(),t.postMessage(Object.assign({id:a},e),n)})}function og(){return new Array(4).fill(0).map(()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16)).join("-")}function Yo(t){return t.split("")}function vf(t,e){return e.includes(t)}class ag extends Error{constructor(e,n){super(),this.name="DefaultsError",this.message=e,this.defs=n}}function xi(t,e,n){t===!0?t={}:t!=null&&typeof t=="object"&&(t={...t});const r=t||{};if(n){for(const a in r)if(sr(r,a)&&!sr(e,a))throw new ag("`"+a+"` is not a supported option",e)}for(const a in e)if(sr(e,a))if(!t||!sr(t,a))r[a]=e[a];else if(a==="ecma"){let c=t[a]|0;c>5&&c<2015&&(c+=2009),r[a]=c}else r[a]=t&&sr(t,a)?t[a]:e[a];return r}function xr(){}function Ot(){return!1}function ar(){return!0}function Ao(){return this}function co(){return null}var tn=function(){function t(n,r,a=!0){const c=[];for(let h=0;h<n.length;++h){let E=n[h].transform(r,a);E instanceof Oe?c.push(E):E instanceof e&&c.push(...E.v)}return c}t.splice=function(n){return new e(n)},t.skip={};function e(n){this.v=n}return t}();function V(t,e,n){return n||(n={}),e&&(n.start||(n.start=e.start),n.end||(n.end=e.end)),new t(n)}function Co(t,e){t.includes(e)||t.push(e)}function Su(t,e){return t.replace(/{(.+?)}/g,function(n,r){return e&&e[r]})}function Zo(t,e){for(var n=t.length;--n>=0;)t[n]===e&&t.splice(n,1)}function gd(t,e){if(t.length<2)return t.slice();function n(a,c){for(var h=[],d=0,E=0,b=0;d<a.length&&E<c.length;)e(a[d],c[E])<=0?h[b++]=a[d++]:h[b++]=c[E++];return d<a.length&&h.push.apply(h,a.slice(d)),E<c.length&&h.push.apply(h,c.slice(E)),h}function r(a){if(a.length<=1)return a;var c=Math.floor(a.length/2),h=a.slice(0,c),d=a.slice(c);return h=r(h),d=r(d),n(h,d)}return r(t)}function Bt(t){return Array.isArray(t)||(t=t.split(" ")),new Set(t.sort())}function Tu(t,e,n){t.has(e)?t.get(e).push(n):t.set(e,[n])}function sg(t){var e=new Map;for(var n in t)sr(t,n)&&n.charAt(0)==="$"&&e.set(n.substr(1),t[n]);return e}function ug(t){var e=Object.create(null);return t.forEach(function(n,r){e["$"+r]=n}),e}function sr(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Qo(t,e){return t===!0||t instanceof RegExp&&t.test(e)}var cg={"\0":"0","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function Au(t){return t.replace(/[\0\n\r\u2028\u2029]/g,function(e,n){var r=t[n-1]=="\\"&&(t[n-2]!="\\"||/(?:^|[^\\])(?:\\{2})*$/.test(t.slice(0,n-1)));return(r?"":"\\")+cg[e]})}const lg=/^[\\/|\0\s\w^$.[\]()]*$/,vd=t=>lg.test(t),fg="dgimsuyv";function hg(t){const e=new Set(t.split(""));let n="";for(const r of fg)e.has(r)&&(n+=r,e.delete(r));return e.size&&e.forEach(r=>{n+=r}),n}function pr(t,e){return t._annotations&e}function ps(t,e){t._annotations|=e}function bd(t,e){t._annotations&=~e}var Cu="",ds=new Map,Du="break case catch class const continue debugger default delete do else export extends finally for function if in instanceof let new return switch throw try typeof var void while with",ku="false null true",_s="enum import super this "+ku+" "+Du,lo="implements interface package private protected public static "+_s,bf="return new delete throw else case yield await";Du=Bt(Du),_s=Bt(_s),bf=Bt(bf),ku=Bt(ku),lo=Bt(lo);var pg=Bt(Yo("+-*&%=<>!?|~^")),dg=/[0-9a-f]/i,Ed=/^0x[0-9a-f]+$/i,xd=/^0[0-7]+$/,_g=/^0o[0-7]+$/i,mg=/^0b[01]+$/i,yg=/^\d*\.?\d*(?:e[+-]?\d*(?:\d\.?|\.?\d)\d*)?$/i,gg=/^(0[xob])?[0-9a-f]+n$/i,Sd=Bt(["in","instanceof","typeof","new","void","delete","++","--","+","-","!","~","&","|","^","*","**","/","%",">>","<<",">>>","<",">","<=",">=","==","===","!=","!==","?","=","+=","-=","||=","&&=","??=","/=","*=","**=","%=",">>=","<<=",">>>=","|=","^=","&=","&&","??","||"]),vg=Bt(Yo(`
|
168
|
+
\r \f\v \u2028\u2029 \uFEFF`)),Ef=Bt(Yo(`
|
169
|
+
\r\u2028\u2029`)),bg=Bt(Yo(";]),:")),Eg=Bt(Yo("[{(,;:")),xg=Bt(Yo("[]{}(),;:")),Ou={ID_Start:/[$A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,ID_Continue:/(?:[$0-9A-Z_a-z\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF])+/};function wu(t,e){if(Ru(t.charCodeAt(e))){if(xf(t.charCodeAt(e+1)))return t.charAt(e)+t.charAt(e+1)}else if(xf(t.charCodeAt(e))&&Ru(t.charCodeAt(e-1)))return t.charAt(e-1)+t.charAt(e);return t.charAt(e)}function Sg(t,e){return Ru(t.charCodeAt(e))?65536+(t.charCodeAt(e)-55296<<10)+t.charCodeAt(e+1)-56320:t.charCodeAt(e)}function Tg(t){for(var e=0,n=0;n<t.length;n++)Ru(t.charCodeAt(n))&&xf(t.charCodeAt(n+1))&&(e++,n++);return t.length-e}function Ag(t){return t>65535?(t-=65536,String.fromCharCode((t>>10)+55296)+String.fromCharCode(t%1024+56320)):String.fromCharCode(t)}function Ru(t){return t>=55296&&t<=56319}function xf(t){return t>=56320&&t<=57343}function Td(t){return t>=48&&t<=57}function Sf(t){return Ou.ID_Start.test(t)}function Fu(t){return Ou.ID_Continue.test(t)}const Ad=/^[a-z_$][a-z0-9_$]*$/i;function Nu(t){return Ad.test(t)}function Cd(t,e){if(Ad.test(t))return!0;if(!e&&/[\ud800-\udfff]/.test(t))return!1;var n=Ou.ID_Start.exec(t);return!n||n.index!==0?!1:(t=t.slice(n[0].length),t?(n=Ou.ID_Continue.exec(t),!!n&&n[0].length===t.length):!0)}function Dd(t,e=!0){if(!e&&t.includes("e"))return NaN;if(Ed.test(t))return parseInt(t.substr(2),16);if(xd.test(t))return parseInt(t.substr(1),8);if(_g.test(t))return parseInt(t.substr(2),8);if(mg.test(t))return parseInt(t.substr(2),2);if(yg.test(t))return parseFloat(t);var n=parseFloat(t);if(n==t)return n}class kd extends Error{constructor(e,n,r,a,c){super(),this.name="SyntaxError",this.message=e,this.filename=n,this.line=r,this.col=a,this.pos=c}}function Pu(t,e,n,r,a){throw new kd(t,e,n,r,a)}function dr(t,e,n){return t.type==e&&(n==null||t.value==n)}var Tf={};function Cg(t,e,n,r){var a={text:t,filename:e,pos:0,tokpos:0,line:1,tokline:0,col:0,tokcol:0,newline_before:!1,regex_allowed:!1,brace_counter:0,template_braces:[],comments_before:[],directives:{},directive_stack:[]};function c(){return wu(a.text,a.pos)}function h(){if(!(a.text.charCodeAt(a.pos+1)===46))return!1;const J=a.text.charCodeAt(a.pos+2);return J<48||J>57}function d(Z,J){var te=wu(a.text,a.pos++);if(Z&&!te)throw Tf;return Ef.has(te)?(a.newline_before=a.newline_before||!J,++a.line,a.col=0,te=="\r"&&c()==`
|
170
|
+
`&&(++a.pos,te=`
|
171
|
+
`)):(te.length>1&&(++a.pos,++a.col),++a.col),te}function E(Z){for(;Z--;)d()}function b(Z){return a.text.substr(a.pos,Z.length)==Z}function T(){for(var Z=a.text,J=a.pos,te=a.text.length;J<te;++J){var ve=Z[J];if(Ef.has(ve))return J}return-1}function x(Z,J){var te=a.text.indexOf(Z,a.pos);if(J&&te==-1)throw Tf;return te}function w(){a.tokline=a.line,a.tokcol=a.col,a.tokpos=a.pos}var F=!1,R=null;function v(Z,J,te){a.regex_allowed=Z=="operator"&&!Od.has(J)||Z=="keyword"&&bf.has(J)||Z=="punc"&&Eg.has(J)||Z=="arrow",Z=="punc"&&(J=="."||J=="?.")?F=!0:te||(F=!1);const ve=a.tokline,me=a.tokcol,Ze=a.tokpos,Ve=a.newline_before,ht=e;let wt=[],yt=[];te||(wt=a.comments_before,yt=a.comments_before=[]),a.newline_before=!1;const St=new Af(Z,J,ve,me,Ze,Ve,wt,yt,ht);return te||(R=St),St}function p(){for(;vg.has(c());)d()}function g(Z){for(var J="",te,ve=0;(te=c())&&Z(te,ve++);)J+=d();return J}function A(Z){Pu(Z,e,a.tokline,a.tokcol,a.tokpos)}function O(Z){var J=!1,te=!1,ve=!1,me=Z==".",Ze=!1,Ve=!1,ht=g(function(yt,St){if(Ze)return!1;var Ct=yt.charCodeAt(0);switch(Ct){case 95:return Ve=!0;case 98:case 66:return ve=!0;case 111:case 79:case 120:case 88:return ve?!1:ve=!0;case 101:case 69:return ve?!0:J?!1:J=te=!0;case 45:return te||St==0&&!Z;case 43:return te;case(te=!1,46):return!me&&!ve&&!J?me=!0:!1}return yt==="n"?(Ze=!0,!0):dg.test(yt)});if(Z&&(ht=Z+ht),Cu=ht,xd.test(ht)&&oe.has_directive("use strict")&&A("Legacy octal literals are not allowed in strict mode"),Ve&&(ht.endsWith("_")?A("Numeric separators are not allowed at the end of numeric literals"):ht.includes("__")&&A("Only one underscore is allowed as numeric separator"),ht=ht.replace(/_/g,"")),ht.endsWith("n")){const yt=ht.slice(0,-1),St=Ed.test(yt),Ct=Dd(yt,St);if(!me&&gg.test(ht)&&!isNaN(Ct))return v("big_int",yt);A("Invalid or unexpected token")}var wt=Dd(ht);if(isNaN(wt))A("Invalid syntax: "+ht);else return v("num",wt)}function k(Z){return Z>="0"&&Z<="7"}function P(Z,J,te){var ve=d(!0,Z);switch(ve.charCodeAt(0)){case 110:return`
|
172
|
+
`;case 114:return"\r";case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 120:return String.fromCharCode($(2,J));case 117:if(c()=="{"){for(d(!0),c()==="}"&&A("Expecting hex-character between {}");c()=="0";)d(!0);var me,Ze=x("}",!0)-a.pos;return(Ze>6||(me=$(Ze,J))>1114111)&&A("Unicode reference out of bounds"),d(!0),Ag(me)}return String.fromCharCode($(4,J));case 10:return"";case 13:if(c()==`
|
173
|
+
`)return d(!0,Z),""}return k(ve)?(te&&J&&(ve==="0"&&!k(c())||A("Octal escape sequences are not allowed in template strings")),L(ve,J)):ve}function L(Z,J){var te=c();return te>="0"&&te<="7"&&(Z+=d(!0),Z[0]<="3"&&(te=c())>="0"&&te<="7"&&(Z+=d(!0))),Z==="0"?"\0":(Z.length>0&&oe.has_directive("use strict")&&J&&A("Legacy octal escape sequences are not allowed in strict mode"),String.fromCharCode(parseInt(Z,8)))}function $(Z,J){for(var te=0;Z>0;--Z){if(!J&&isNaN(parseInt(c(),16)))return parseInt(te,16)||"";var ve=d(!0);isNaN(parseInt(ve,16))&&A("Invalid hex-character pattern in string"),te+=ve}return parseInt(te,16)}var M=_e("Unterminated string constant",function(){const Z=a.pos;for(var J=d(),te=[];;){var ve=d(!0,!0);if(ve=="\\")ve=P(!0,!0);else if(ve=="\r"||ve==`
|
174
|
+
`)A("Unterminated string constant");else if(ve==J)break;te.push(ve)}var me=v("string",te.join(""));return Cu=a.text.slice(Z,a.pos),me.quote=J,me}),G=_e("Unterminated template",function(Z){Z&&a.template_braces.push(a.brace_counter);var J="",te="",ve,me;for(d(!0,!0);(ve=d(!0,!0))!="`";){if(ve=="\r")c()==`
|
175
|
+
`&&++a.pos,ve=`
|
176
|
+
`;else if(ve=="$"&&c()=="{")return d(!0,!0),a.brace_counter++,me=v(Z?"template_head":"template_substitution",J),ds.set(me,te),me.template_end=!1,me;if(te+=ve,ve=="\\"){var Ze=a.pos,Ve=R&&(R.type==="name"||R.type==="punc"&&(R.value===")"||R.value==="]"));ve=P(!0,!Ve,!0),te+=a.text.substr(Ze,a.pos-Ze)}J+=ve}return a.template_braces.pop(),me=v(Z?"template_head":"template_substitution",J),ds.set(me,te),me.template_end=!0,me});function N(Z){var J=a.regex_allowed,te=T(),ve;return te==-1?(ve=a.text.substr(a.pos),a.pos=a.text.length):(ve=a.text.substring(a.pos,te),a.pos=te),a.col=a.tokcol+(a.pos-a.tokpos),a.comments_before.push(v(Z,ve,!0)),a.regex_allowed=J,oe}var z=_e("Unterminated multiline comment",function(){var Z=a.regex_allowed,J=x("*/",!0),te=a.text.substring(a.pos,J).replace(/\r\n|\r|\u2028|\u2029/g,`
|
177
|
+
`);return E(Tg(te)+2),a.comments_before.push(v("comment2",te,!0)),a.newline_before=a.newline_before||te.includes(`
|
178
|
+
`),a.regex_allowed=Z,oe}),Y=_e("Unterminated identifier name",function(){var Z=[],J,te=!1,ve=function(){return te=!0,d(),c()!=="u"&&A("Expecting UnicodeEscapeSequence -- uXXXX or u{XXXX}"),P(!1,!0)};if((J=c())==="\\")J=ve(),Sf(J)||A("First identifier char is an invalid identifier char");else if(Sf(J))d();else return"";for(Z.push(J);(J=c())!=null;){if((J=c())==="\\")J=ve(),Fu(J)||A("Invalid escaped identifier char");else{if(!Fu(J))break;d()}Z.push(J)}const me=Z.join("");return _s.has(me)&&te&&A("Escaped characters are not allowed in keywords"),me}),ne=_e("Unterminated regular expression",function(Z){for(var J=!1,te,ve=!1;te=d(!0);)if(Ef.has(te))A("Unexpected line terminator");else if(J)/^[\u0000-\u007F]$/.test(te)?Z+="\\"+te:Z+=te,J=!1;else if(te=="[")ve=!0,Z+=te;else if(te=="]"&&ve)ve=!1,Z+=te;else{if(te=="/"&&!ve)break;te=="\\"?J=!0:Z+=te}const me=Y();return v("regexp","/"+Z+"/"+me)});function se(Z){function J(te){if(!c())return te;var ve=te+c();return Sd.has(ve)?(d(),J(ve)):te}return v("operator",J(Z||d()))}function re(){switch(d(),c()){case"/":return d(),N("comment1");case"*":return d(),z()}return a.regex_allowed?ne(""):se("/")}function ue(){return d(),c()===">"?(d(),v("arrow","=>")):se("=")}function ce(){return d(),Td(c().charCodeAt(0))?O("."):c()==="."?(d(),d(),v("expand","...")):v("punc",".")}function Ee(){var Z=Y();return F?v("name",Z):ku.has(Z)?v("atom",Z):Du.has(Z)?Sd.has(Z)?v("operator",Z):v("keyword",Z):v("name",Z)}function Te(){return d(),v("privatename",Y())}function _e(Z,J){return function(te){try{return J(te)}catch(ve){if(ve===Tf)A(Z);else throw ve}}}function oe(Z){if(Z!=null)return ne(Z);for(r&&a.pos==0&&b("#!")&&(w(),E(2),N("comment5"));;){if(p(),w(),n){if(b("<!--")){E(4),N("comment3");continue}if(b("-->")&&a.newline_before){E(3),N("comment4");continue}}var J=c();if(!J)return v("eof");var te=J.charCodeAt(0);switch(te){case 34:case 39:return M();case 46:return ce();case 47:{var ve=re();if(ve===oe)continue;return ve}case 61:return ue();case 63:{if(!h())break;return d(),d(),v("punc","?.")}case 96:return G(!0);case 123:a.brace_counter++;break;case 125:if(a.brace_counter--,a.template_braces.length>0&&a.template_braces[a.template_braces.length-1]===a.brace_counter)return G(!1);break}if(Td(te))return O();if(xg.has(J))return v("punc",d());if(pg.has(J))return se();if(te==92||Sf(J))return Ee();if(te==35)return Te();break}A("Unexpected character '"+J+"'")}return oe.next=d,oe.peek=c,oe.context=function(Z){return Z&&(a=Z),a},oe.add_directive=function(Z){a.directive_stack[a.directive_stack.length-1].push(Z),a.directives[Z]===void 0?a.directives[Z]=1:a.directives[Z]++},oe.push_directives_stack=function(){a.directive_stack.push([])},oe.pop_directives_stack=function(){for(var Z=a.directive_stack[a.directive_stack.length-1],J=0;J<Z.length;J++)a.directives[Z[J]]--;a.directive_stack.pop()},oe.has_directive=function(Z){return a.directives[Z]>0},oe}var Dg=Bt(["typeof","void","delete","--","++","!","~","-","+"]),Od=Bt(["--","++"]),kg=Bt(["=","+=","-=","??=","&&=","||=","/=","*=","**=","%=",">>=","<<=",">>>=","|=","^=","&="]),Og=Bt(["??=","&&=","||="]),Ir=function(t,e){for(var n=0;n<t.length;++n)for(const r of t[n])e[r]=n+1;return e}([["||"],["??"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]],{}),wg=Bt(["atom","num","big_int","string","regexp","name"]);function ms(t,e){const n=new WeakMap;e=xi(e,{bare_returns:!1,ecma:null,expression:!1,filename:null,html5_comments:!0,module:!1,shebang:!0,strict:!1,toplevel:null},!0);var r={input:typeof t=="string"?Cg(t,e.filename,e.html5_comments,e.shebang):t,token:null,prev:null,peeked:null,in_function:0,in_async:-1,in_generator:-1,in_directives:!0,in_loop:0,labels:[]};r.token=h();function a(B,q){return dr(r.token,B,q)}function c(){return r.peeked||(r.peeked=r.input())}function h(){return r.prev=r.token,r.peeked||c(),r.token=r.peeked,r.peeked=null,r.in_directives=r.in_directives&&(r.token.type=="string"||a("punc",";")),r.token}function d(){return r.prev}function E(B,q,ee,ae){var he=r.input.context();Pu(B,he.filename,q??he.tokline,ee??he.tokcol,ae??he.tokpos)}function b(B,q){E(q,B.line,B.col)}function T(B){B==null&&(B=r.token),b(B,"Unexpected token: "+B.type+" ("+B.value+")")}function x(B,q){if(a(B,q))return h();b(r.token,"Unexpected token "+r.token.type+" «"+r.token.value+"», expected "+B+" «"+q+"»")}function w(B){return x("punc",B)}function F(B){return B.nlb||!B.comments_before.every(q=>!q.nlb)}function R(){return!e.strict&&(a("eof")||a("punc","}")||F(r.token))}function v(){return r.in_generator===r.in_function}function p(){return r.in_async===r.in_function}function g(){return r.in_async===r.in_function||r.in_function===0&&r.input.has_directive("use strict")}function A(B){a("punc",";")?h():!B&&!R()&&T()}function O(){w("(");var B=dt(!0);return w(")"),B}function k(B){return function(...ee){const ae=r.token,he=B(...ee);return he.start=ae,he.end=d(),he}}function P(){(a("operator","/")||a("operator","/="))&&(r.peeked=null,r.token=r.input(r.token.value.substr(1)))}var L=k(function B(q,ee,ae){switch(P(),r.token.type){case"string":if(r.in_directives){var he=c();!Cu.includes("\\")&&(dr(he,"punc",";")||dr(he,"punc","}")||F(he)||dr(he,"eof"))?r.input.add_directive(r.token.value):r.in_directives=!1}var Le=r.in_directives,Be=M();return Le&&Be.body instanceof bt?new ur(Be.body):Be;case"template_head":case"num":case"big_int":case"regexp":case"operator":case"atom":return M();case"name":case"privatename":if(a("privatename")&&!r.in_class&&E("Private field must be used in an enclosing class"),r.token.value=="async"&&dr(c(),"keyword","function"))return h(),h(),ee&&E("functions are not allowed as the body of a loop"),re(sn,!1,!0,q);if(r.token.value=="import"&&!dr(c(),"punc","(")&&!dr(c(),"punc",".")){h();var at=nn();return A(),at}return dr(c(),"punc",":")?$():M();case"punc":switch(r.token.value){case"{":return new tt({start:r.token,body:ve(),end:d()});case"[":case"(":return M();case";":return r.in_directives=!1,h(),new Ut;default:T()}case"keyword":switch(r.token.value){case"break":return h(),G(Br);case"continue":return h(),G(fo);case"debugger":return h(),A(),new ji;case"do":h();var Xt=er(B);x("keyword","while");var hn=O();return A(!0),new Si({body:Xt,condition:hn});case"while":return h(),new Hi({condition:O(),body:er(function(){return B(!1,!0)})});case"for":return h(),N();case"class":return h(),ee&&E("classes are not allowed as the body of a loop"),ae&&E("classes are not allowed as the body of an if"),Dt(Jr,q);case"function":return h(),ee&&E("functions are not allowed as the body of a loop"),re(sn,!1,!1,q);case"if":return h(),te();case"return":r.in_function==0&&!e.bare_returns&&E("'return' outside of function"),h();var An=null;return a("punc",";")?h():R()||(An=dt(!0),A()),new pn({value:An});case"switch":return h(),new Qn({expression:O(),body:er(me)});case"throw":h(),F(r.token)&&E("Illegal newline after 'throw'");var An=dt(!0);return A(),new gs({value:An});case"try":return h(),Ze();case"var":h();var at=ht();return A(),at;case"let":h();var at=wt();return A(),at;case"const":h();var at=yt();return A(),at;case"with":return r.input.has_directive("use strict")&&E("Strict mode may not include a with statement"),h(),new Sr({expression:O(),body:B()});case"export":if(!dr(c(),"punc","(")){h();var at=Ie();return a("punc",";")&&A(),at}}}T()});function $(){var B=gn(vs);B.name==="await"&&p()&&b(r.prev,"await cannot be used as label inside async function"),r.labels.some(ee=>ee.name===B.name)&&E("Label "+B.name+" defined twice"),w(":"),r.labels.push(B);var q=L();return r.labels.pop(),q instanceof Xr||B.references.forEach(function(ee){ee instanceof fo&&(ee=ee.label.start,E("Continue label `"+B.name+"` refers to non-IterationStatement.",ee.line,ee.col,ee.pos))}),new rr({body:q,label:B})}function M(B){return new $e({body:(B=dt(!0),A(),B)})}function G(B){var q=null,ee;R()||(q=gn(Df,!0)),q!=null?(ee=r.labels.find(he=>he.name===q.name),ee||E("Undefined label "+q.name),q.thedef=ee):r.in_loop==0&&E(B.TYPE+" not inside a loop or switch"),A();var ae=new B({label:q});return ee&&ee.references.push(ae),ae}function N(){var B="`for await` invalid in this context",q=r.token;q.type=="name"&&q.value=="await"?(g()||b(q,B),h()):q=!1,w("(");var ee=null;if(a("punc",";"))q&&b(q,B);else{ee=a("keyword","var")?(h(),ht(!0)):a("keyword","let")?(h(),wt(!0)):a("keyword","const")?(h(),yt(!0)):dt(!0,!0);var ae=a("operator","in"),he=a("name","of");if(q&&!he&&b(q,B),ae||he)return ee instanceof dn?ee.definitions.length>1&&b(ee.start,"Only one variable declaration allowed in for..in loop"):gi(ee)||(ee=fr(ee))instanceof qt||b(ee.start,"Invalid left-hand side in for..in loop"),h(),ae?ne(ee):Y(ee,!!q)}return z(ee)}function z(B){w(";");var q=a("punc",";")?null:dt(!0);w(";");var ee=a("punc",")")?null:dt(!0);return w(")"),new Dn({init:B,condition:q,step:ee,body:er(function(){return L(!1,!0)})})}function Y(B,q){var ee=B instanceof dn?B.definitions[0].name:null,ae=dt(!0);return w(")"),new Oo({await:q,init:B,name:ee,object:ae,body:er(function(){return L(!1,!0)})})}function ne(B){var q=dt(!0);return w(")"),new Yn({init:B,object:q,body:er(function(){return L(!1,!0)})})}var se=function(B,q,ee){F(r.token)&&E("Unexpected newline before arrow (=>)"),x("arrow","=>");var ae=oe(a("punc","{"),!1,ee),he=ae instanceof Array&&ae.length?ae[ae.length-1].end:ae instanceof Array?B:ae.end;return new on({start:B,end:he,async:ee,argnames:q,body:ae})},re=function(B,q,ee,ae){var he=B===sn,Le=a("operator","*");Le&&h();var Be=a("name")?gn(he?Oi:hi):null;he&&!Be&&(ae?B=Gt:T()),Be&&B!==$i&&!(Be instanceof Ln)&&T(d());var at=[],Xt=oe(!0,Le||q,ee,Be,at);return new B({start:at.start,end:Xt.end,is_generator:Le,async:ee,name:Be,argnames:at,body:Xt})};class ue{constructor(q,ee,ae=!1){this.is_parameter=q,this.duplicates_ok=ae,this.parameters=new Set,this.duplicate=null,this.default_assignment=!1,this.spread=!1,this.strict_mode=!!ee}add_parameter(q){if(this.parameters.has(q.value))this.duplicate===null&&(this.duplicate=q),this.check_strict();else if(this.parameters.add(q.value),this.is_parameter)switch(q.value){case"arguments":case"eval":case"yield":this.strict_mode&&b(q,"Unexpected "+q.value+" identifier as parameter inside strict mode");break;default:_s.has(q.value)&&T()}}mark_default_assignment(q){this.default_assignment===!1&&(this.default_assignment=q)}mark_spread(q){this.spread===!1&&(this.spread=q)}mark_strict_mode(){this.strict_mode=!0}is_strict(){return this.default_assignment!==!1||this.spread!==!1||this.strict_mode}check_strict(){this.is_strict()&&this.duplicate!==null&&!this.duplicates_ok&&b(this.duplicate,"Parameter "+this.duplicate.value+" was used already")}}function ce(B){var q=new ue(!0,r.input.has_directive("use strict"));for(w("(");!a("punc",")");){var ee=Ee(q);if(B.push(ee),a("punc",")")||w(","),ee instanceof gt)break}h()}function Ee(B,q){var ee,ae=!1;return B===void 0&&(B=new ue(!0,r.input.has_directive("use strict"))),a("expand","...")&&(ae=r.token,B.mark_spread(r.token),h()),ee=Te(B,q),a("operator","=")&&ae===!1&&(B.mark_default_assignment(r.token),h(),ee=new Mr({start:ee.start,left:ee,operator:"=",right:dt(!1),end:r.token})),ae!==!1&&(a("punc",")")||T(),ee=new gt({start:ae,expression:ee,end:ae})),B.check_strict(),ee}function Te(B,q){var ee=[],ae=!0,he=!1,Le,Be=r.token;if(B===void 0){const Gr=r.input.has_directive("use strict"),Kt=q===Wi;B=new ue(!1,Gr,Kt)}if(q=q===void 0?Mn:q,a("punc","[")){for(h();!a("punc","]");){if(ae?ae=!1:w(","),a("expand","...")&&(he=!0,Le=r.token,B.mark_spread(r.token),h()),a("punc"))switch(r.token.value){case",":ee.push(new Ur({start:r.token,end:r.token}));continue;case"]":break;case"[":case"{":ee.push(Te(B,q));break;default:T()}else a("name")?(B.add_parameter(r.token),ee.push(gn(q))):E("Invalid function parameter");a("operator","=")&&he===!1&&(B.mark_default_assignment(r.token),h(),ee[ee.length-1]=new Mr({start:ee[ee.length-1].start,left:ee[ee.length-1],operator:"=",right:dt(!1),end:r.token})),he&&(a("punc","]")||E("Rest element must be last element"),ee[ee.length-1]=new gt({start:Le,expression:ee[ee.length-1],end:Le}))}return w("]"),B.check_strict(),new qt({start:Be,names:ee,is_array:!0,end:d()})}else if(a("punc","{")){for(h();!a("punc","}");){if(ae?ae=!1:w(","),a("expand","...")&&(he=!0,Le=r.token,B.mark_spread(r.token),h()),a("name")&&(dr(c(),"punc")||dr(c(),"operator"))&&[",","}","="].includes(c().value)){B.add_parameter(r.token);var at=d(),Xt=gn(q);he?ee.push(new gt({start:Le,expression:Xt,end:Xt.end})):ee.push(new an({start:at,key:Xt.name,value:Xt,end:Xt.end}))}else{if(a("punc","}"))continue;var hn=r.token,An=Qe();An===null?T(d()):d().type==="name"&&!a("punc",":")?ee.push(new an({start:d(),key:An,value:new q({start:d(),name:An,end:d()}),end:d()})):(w(":"),ee.push(new an({start:hn,quote:hn.quote,key:An,value:Te(B,q),end:d()})))}he?a("punc","}")||E("Rest element must be last element"):a("operator","=")&&(B.mark_default_assignment(r.token),h(),ee[ee.length-1].value=new Mr({start:ee[ee.length-1].value.start,left:ee[ee.length-1].value,operator:"=",right:dt(!1),end:r.token}))}return w("}"),B.check_strict(),new qt({start:Be,names:ee,is_array:!1,end:d()})}else{if(a("name"))return B.add_parameter(r.token),gn(q);E("Invalid function parameter")}}function _e(B,q){var ee,ae,he,Le=[];for(w("(");!a("punc",")");)ee&&T(ee),a("expand","...")?(ee=r.token,q&&(ae=r.token),h(),Le.push(new gt({start:d(),expression:dt(),end:r.token}))):Le.push(dt()),a("punc",")")||(w(","),a("punc",")")&&(he=d(),q&&(ae=he)));return w(")"),B&&a("arrow","=>")?ee&&he&&T(he):ae&&T(ae),Le}function oe(B,q,ee,ae,he){var Le=r.in_loop,Be=r.labels,at=r.in_generator,Xt=r.in_async;if(++r.in_function,q&&(r.in_generator=r.in_function),ee&&(r.in_async=r.in_function),he&&ce(he),B&&(r.in_directives=!0),r.in_loop=0,r.labels=[],B){r.input.push_directives_stack();var hn=ve();ae&&fn(ae),he&&he.forEach(fn),r.input.pop_directives_stack()}else var hn=[new pn({start:r.token,value:dt(!1),end:r.token})];return--r.in_function,r.in_loop=Le,r.labels=Be,r.in_generator=at,r.in_async=Xt,hn}function Z(){return g()||E("Unexpected await expression outside async function",r.prev.line,r.prev.col,r.prev.pos),new Tr({start:d(),end:r.token,expression:Hr(!0)})}function J(){v()||E("Unexpected yield expression outside generator function",r.prev.line,r.prev.col,r.prev.pos);var B=r.token,q=!1,ee=!0;return R()||a("punc")&&bg.has(r.token.value)?ee=!1:a("operator","*")&&(q=!0,h()),new Ar({start:B,is_star:q,expression:ee?dt():null,end:d()})}function te(){var B=O(),q=L(!1,!1,!0),ee=null;return a("keyword","else")&&(h(),ee=L(!1,!1,!0)),new Vt({condition:B,body:q,alternative:ee})}function ve(){w("{");for(var B=[];!a("punc","}");)a("eof")&&T(),B.push(L());return h(),B}function me(){w("{");for(var B=[],q=null,ee=null,ae;!a("punc","}");)a("eof")&&T(),a("keyword","case")?(ee&&(ee.end=d()),q=[],ee=new ii({start:(ae=r.token,h(),ae),expression:dt(!0),body:q}),B.push(ee),w(":")):a("keyword","default")?(ee&&(ee.end=d()),q=[],ee=new wo({start:(ae=r.token,h(),w(":"),ae),body:q}),B.push(ee)):(q||T(),q.push(L()));return ee&&(ee.end=d()),h(),B}function Ze(){var B,q=null,ee=null;if(B=new Mu({start:r.token,body:ve(),end:d()}),a("keyword","catch")){var ae=r.token;if(h(),a("punc","{"))var he=null;else{w("(");var he=Ee(void 0,ei);w(")")}q=new oi({start:ae,argname:he,body:ve(),end:d()})}if(a("keyword","finally")){var ae=r.token;h(),ee=new Jo({start:ae,body:ve(),end:d()})}return!q&&!ee&&E("Missing catch/finally blocks"),new Cr({body:B,bcatch:q,bfinally:ee})}function Ve(B,q){for(var ee=[],ae;;){var he=q==="var"?Wi:q==="const"?ho:q==="let"?ta:null;if(a("punc","{")||a("punc","[")?ae=new zt({start:r.token,name:Te(void 0,he),value:a("operator","=")?(x("operator","="),dt(!1,B)):null,end:d()}):(ae=new zt({start:r.token,name:gn(he),value:a("operator","=")?(h(),dt(!1,B)):!B&&q==="const"?E("Missing initializer in const declaration"):null,end:d()}),ae.name.name=="import"&&E("Unexpected token: import")),ee.push(ae),!a("punc",","))break;h()}return ee}var ht=function(B){return new Bn({start:d(),definitions:Ve(B,"var"),end:d()})},wt=function(B){return new ai({start:d(),definitions:Ve(B,"let"),end:d()})},yt=function(B){return new si({start:d(),definitions:Ve(B,"const"),end:d()})},St=function(B){var q=r.token;if(x("operator","new"),a("punc","."))return h(),x("name","target"),rn(new ea({start:q,end:d()}),B);var ee=we(!1),ae;a("punc","(")?(h(),ae=pt(")",!0)):ae=[];var he=new cr({start:q,expression:ee,args:ae,end:d()});return On(he),rn(he,B)};function Ct(){var B=r.token,q;switch(B.type){case"name":q=ft(ke);break;case"num":q=new nt({start:B,end:B,value:B.value,raw:Cu});break;case"big_int":q=new pi({start:B,end:B,value:B.value});break;case"string":q=new bt({start:B,end:B,value:B.value,quote:B.quote}),On(q);break;case"regexp":const[ee,ae,he]=B.value.match(/^\/(.*)\/(\w*)$/);q=new yr({start:B,end:B,value:{source:ae,flags:he}});break;case"atom":switch(B.value){case"false":q=new Yi({start:B,end:B});break;case"true":q=new Dr({start:B,end:B});break;case"null":q=new gr({start:B,end:B});break}break}return h(),q}function le(B,q){var ee=function(ae,he){return he?new Mr({start:ae.start,left:ae,operator:"=",right:he,end:he.end}):ae};if(B instanceof jt)return ee(new qt({start:B.start,end:B.end,is_array:!1,names:B.properties.map(ae=>le(ae))}),q);if(B instanceof an)return B.value=le(B.value),ee(B,q);if(B instanceof Ur)return B;if(B instanceof qt)return B.names=B.names.map(ae=>le(ae)),ee(B,q);if(B instanceof ke)return ee(new Mn({name:B.name,start:B.start,end:B.end}),q);if(B instanceof gt)return B.expression=le(B.expression),ee(B,q);if(B instanceof Ft)return ee(new qt({start:B.start,end:B.end,is_array:!0,names:B.elements.map(ae=>le(ae))}),q);if(B instanceof lt)return ee(le(B.left,B.right),q);if(B instanceof Mr)return B.left=le(B.left),B;E("Invalid function parameter",B.start.line,B.start.col)}var we=function(B,q){if(a("operator","new"))return St(B);if(a("name","import")&&dr(c(),"punc","."))return ir(B);var ee=r.token,ae,he=a("name","async")&&(ae=c()).value!="["&&ae.type!="arrow"&&Ct();if(a("punc")){switch(r.token.value){case"(":if(he&&!B)break;var Le=_e(q,!he);if(q&&a("arrow","=>"))return se(ee,Le.map(Kt=>le(Kt)),!!he);var Be=he?new He({expression:he,args:Le}):to(ee,Le);if(Be.start){const Kt=ee.comments_before.length;if(n.set(ee,Kt),Be.start.comments_before.unshift(...ee.comments_before),ee.comments_before=Be.start.comments_before,Kt==0&&ee.comments_before.length>0){var at=ee.comments_before[0];at.nlb||(at.nlb=ee.nlb,ee.nlb=!1)}ee.comments_after=Be.start.comments_after}Be.start=ee;var Xt=d();return Be.end&&(Xt.comments_before=Be.end.comments_before,Be.end.comments_after.push(...Xt.comments_after),Xt.comments_after=Be.end.comments_after),Be.end=Xt,Be instanceof He&&On(Be),rn(Be,B);case"[":return rn(Et(),B);case"{":return rn(yn(),B)}he||T()}if(q&&a("name")&&dr(c(),"arrow")){var hn=new Mn({name:r.token.value,start:ee,end:ee});return h(),se(ee,[hn],!!he)}if(a("keyword","function")){h();var An=re(Gt,!1,!!he);return An.start=ee,An.end=d(),rn(An,B)}if(he)return rn(he,B);if(a("keyword","class")){h();var Gr=Dt(ki);return Gr.start=ee,Gr.end=d(),rn(Gr,B)}if(a("template_head"))return rn(be(),B);if(wg.has(r.token.type))return rn(Ct(),B);T()};function be(){var B=[],q=r.token;for(B.push(new Ti({start:r.token,raw:ds.get(r.token),value:r.token.value,end:r.token}));!r.token.template_end;)h(),P(),B.push(dt(!0)),B.push(new Ti({start:r.token,raw:ds.get(r.token),value:r.token.value,end:r.token}));return h(),new Zn({start:q,segments:B,end:r.token})}function pt(B,q,ee){for(var ae=!0,he=[];!a("punc",B)&&(ae?ae=!1:w(","),!(q&&a("punc",B)));)a("punc",",")&&ee?he.push(new Ur({start:r.token,end:r.token})):a("expand","...")?(h(),he.push(new gt({start:d(),expression:dt(),end:r.token}))):he.push(dt(!1));return h(),he}var Et=k(function(){return w("["),new Ft({elements:pt("]",!e.strict,!0)})}),Rt=k((B,q)=>re($i,B,q)),yn=k(function(){var q=r.token,ee=!0,ae=[];for(w("{");!a("punc","}")&&(ee?ee=!1:w(","),!(!e.strict&&a("punc","}")));){if(q=r.token,q.type=="expand"){h(),ae.push(new gt({start:q,expression:dt(!1),end:d()}));continue}a("privatename")&&E("private fields are not allowed in an object");var he=Qe(),Le;if(a("punc",":"))he===null?T(d()):(h(),Le=dt(!1));else{var Be=Pt(he,q);if(Be){ae.push(Be);continue}Le=new ke({start:d(),name:he,end:d()})}a("operator","=")&&(h(),Le=new lt({start:q,left:Le,operator:"=",right:dt(!1),logical:!1,end:d()}));const at=new an({start:q,quote:q.quote,key:he instanceof Oe?he:""+he,value:Le,end:d()});ae.push(On(at))}return h(),new jt({properties:ae})});function Dt(B,q){var ee,ae,he,Le,Be=[];r.input.push_directives_stack(),r.input.add_directive("use strict"),r.token.type=="name"&&r.token.value!="extends"&&(he=gn(B===Jr?Uu:Vu)),B===Jr&&!he&&(q?B=ki:T()),r.token.value=="extends"&&(h(),Le=dt(!0)),w("{");const at=r.in_class;for(r.in_class=!0;a("punc",";");)h();for(;!a("punc","}");)for(ee=r.token,ae=Pt(Qe(),ee,!0),ae||T(),Be.push(ae);a("punc",";");)h();return r.in_class=at,r.input.pop_directives_stack(),h(),new B({start:ee,name:he,extends:Le,properties:Be,end:d()})}function Pt(B,q,ee){const ae=(Kt,ti=Hn)=>typeof Kt=="string"||typeof Kt=="number"?new ti({start:q,name:""+Kt,end:d()}):(Kt===null&&T(),Kt),he=()=>!a("punc","(")&&!a("punc",",")&&!a("punc","}")&&!a("punc",";")&&!a("operator","=");var Le=!1,Be=!1,at=!1,Xt=!1,hn=null;if(ee&&B==="static"&&he()){const Kt=kt();if(Kt!=null)return Kt;Be=!0,B=Qe()}B==="async"&&he()&&(Le=!0,B=Qe()),d().type==="operator"&&d().value==="*"&&(at=!0,B=Qe()),(B==="get"||B==="set")&&he()&&(hn=B,B=Qe()),d().type==="privatename"&&(Xt=!0);const An=d();if(hn!=null)if(Xt){const Kt=hn==="get"?ci:Ai;return On(new Kt({start:q,static:Be,key:ae(B),value:Rt(),end:d()}))}else{const Kt=hn==="get"?Qr:li;return B=ae(B),On(new Kt({start:q,static:Be,key:B,quote:B instanceof Hn?An.quote:void 0,value:Rt(),end:d()}))}if(a("punc","(")){B=ae(B);const Kt=Xt?Ci:jn;var Gr=new Kt({start:q,static:Be,is_generator:at,async:Le,key:B,quote:B instanceof Hn?An.quote:void 0,value:Rt(at,Le),end:d()});return On(Gr)}if(ee){const Kt=ae(B,Xi),ti=Kt instanceof Xi?An.quote:void 0,Rr=Xt?Di:mr;if(a("operator","="))return h(),On(new Rr({start:q,static:Be,quote:ti,key:Kt,value:dt(!1),end:d()}));if(a("name")||a("privatename")||a("operator","*")||a("punc",";")||a("punc","}"))return On(new Rr({start:q,static:Be,quote:ti,key:Kt,end:d()}))}}function kt(){if(!a("punc","{"))return null;const B=r.token,q=[];for(h();!a("punc","}");)q.push(L());return h(),new Jn({start:B,body:q,end:d()})}function It(){return a("name","assert")&&!F(r.token)?(h(),yn()):null}function nn(){var B=d(),q,ee;a("name")&&(q=gn(na)),a("punc",",")&&h(),ee=Ue(!0),(ee||q)&&x("name","from");var ae=r.token;ae.type!=="string"&&T(),h();const he=It();return new Lr({start:B,imported_name:q,imported_names:ee,module_name:new bt({start:ae,value:ae.value,quote:ae.quote,end:ae}),assert_clause:he,end:r.token})}function ir(B){var q=r.token;return x("name","import"),x("punc","."),x("name","meta"),rn(new zi({start:q,end:d()}),B)}function K(B){function q(at,Xt){return new at({name:Qe(),quote:Xt||void 0,start:d(),end:d()})}var ee=B?Ro:wi,ae=B?na:Fo,he=r.token,Le,Be;return B?Le=q(ee,he.quote):Be=q(ae,he.quote),a("name","as")?(h(),B?Be=q(ae):Le=q(ee,r.token.quote)):B?Be=new ae(Le):Le=new ee(Be),new ui({start:he,foreign_name:Le,name:Be,end:d()})}function Fe(B,q){var ee=B?Ro:wi,ae=B?na:Fo,he=r.token,Le,Be,at=d();return B?Le=q:Be=q,Le=Le||new ae({start:he,name:"*",end:at}),Be=Be||new ee({start:he,name:"*",end:at}),new ui({start:he,foreign_name:Be,name:Le,end:at})}function Ue(B){var q;if(a("punc","{")){for(h(),q=[];!a("punc","}");)q.push(K(B)),a("punc",",")&&h();h()}else if(a("operator","*")){var ee;h(),a("name","as")&&(h(),ee=B?gn(na):jr(wi)),q=[Fe(B,ee)]}return q}function Ie(){var B=r.token,q,ee;if(a("keyword","default"))q=!0,h();else if(ee=Ue(!1))if(a("name","from")){h();var ae=r.token;ae.type!=="string"&&T(),h();const at=It();return new Rn({start:B,is_default:q,exported_names:ee,module_name:new bt({start:ae,value:ae.value,quote:ae.quote,end:ae}),end:d(),assert_clause:at})}else return new Rn({start:B,is_default:q,exported_names:ee,end:d()});var he,Le,Be;return a("punc","{")||q&&(a("keyword","class")||a("keyword","function"))&&dr(c(),"punc")?(Le=dt(!1),A()):(he=L(q))instanceof dn&&q?T(he.start):he instanceof dn||he instanceof sn||he instanceof Jr?Be=he:he instanceof ki||he instanceof Gt?Le=he:he instanceof $e?Le=he.body:T(he.start),new Rn({start:B,is_default:q,exported_value:Le,exported_definition:Be,end:d(),assert_clause:null})}function Qe(){var B=r.token;switch(B.type){case"punc":if(B.value==="["){h();var q=dt(!1);return w("]"),q}else T(B);case"operator":if(B.value==="*")return h(),null;["delete","in","instanceof","new","typeof","void"].includes(B.value)||T(B);case"name":case"privatename":case"string":case"num":case"big_int":case"keyword":case"atom":return h(),B.value;default:T(B)}}function $t(){var B=r.token;return B.type!="name"&&B.type!="privatename"&&T(),h(),B.value}function ft(B){var q=r.token.value;return new(q=="this"?$n:q=="super"?ra:B)({name:String(q),start:r.token,end:r.token})}function fn(B){var q=B.name;v()&&q=="yield"&&b(B.start,"Yield cannot be used as identifier inside generators"),r.input.has_directive("use strict")&&(q=="yield"&&b(B.start,"Unexpected yield identifier inside strict mode"),B instanceof Ln&&(q=="arguments"||q=="eval")&&b(B.start,"Unexpected "+q+" in strict mode"))}function gn(B,q){if(!a("name"))return q||E("Name expected"),null;var ee=ft(B);return fn(ee),h(),ee}function jr(B){if(!a("name")){a("string")||E("Name or string expected");var q=r.token,ee=new B({start:q,end:q,name:q.value,quote:q.quote});return h(),ee}var ae=ft(B);return fn(ae),h(),ae}function On(B,q=B.start){var ee=q.comments_before;const ae=n.get(q);for(var he=ae??ee.length;--he>=0;){var Le=ee[he];if(/[@#]__/.test(Le.value)){if(/[@#]__PURE__/.test(Le.value)){ps(B,kf);break}if(/[@#]__INLINE__/.test(Le.value)){ps(B,Of);break}if(/[@#]__NOINLINE__/.test(Le.value)){ps(B,No);break}if(/[@#]__KEY__/.test(Le.value)){ps(B,xs);break}if(/[@#]__MANGLE_PROP__/.test(Le.value)){ps(B,Ss);break}}}return B}var rn=function(B,q,ee){var ae=B.start;if(a("punc",".")){h(),a("privatename")&&!r.in_class&&E("Private field must be used in an enclosing class");const Be=a("privatename")?Zr:Jt;return On(rn(new Be({start:ae,expression:B,optional:!1,property:$t(),end:d()}),q,ee))}if(a("punc","[")){h();var he=dt(!0);return w("]"),On(rn(new kn({start:ae,expression:B,optional:!1,property:he,end:d()}),q,ee))}if(q&&a("punc","(")){h();var Le=new He({start:ae,expression:B,optional:!1,args:Ri(),end:d()});return On(Le),rn(Le,!0,ee)}if(a("punc","?.")){h();let Be;if(q&&a("punc","(")){h();const at=new He({start:ae,optional:!0,expression:B,args:Ri(),end:d()});On(at),Be=rn(at,!0,!0)}else if(a("name")||a("privatename")){a("privatename")&&!r.in_class&&E("Private field must be used in an enclosing class");const at=a("privatename")?Zr:Jt;Be=On(rn(new at({start:ae,expression:B,optional:!0,property:$t(),end:d()}),q,!0))}else if(a("punc","[")){h();const at=dt(!0);w("]"),Be=On(rn(new kn({start:ae,expression:B,optional:!0,property:at,end:d()}),q,!0))}return Be||T(),Be instanceof Sn?Be:new Sn({start:ae,expression:Be,end:d()})}return a("template_head")?(ee&&T(),rn(new Yr({start:ae,prefix:B,template_string:be(),end:d()}),q)):B};function Ri(){for(var B=[];!a("punc",")");)a("expand","...")?(h(),B.push(new gt({start:d(),expression:dt(!1),end:d()}))):B.push(dt(!1)),a("punc",")")||w(",");return h(),B}var Hr=function(B,q){var ee=r.token;if(ee.type=="name"&&ee.value=="await"&&g())return h(),Z();if(a("operator")&&Dg.has(ee.value)){h(),P();var ae=Fi(qe,ee,Hr(B));return ae.start=ee,ae.end=d(),ae}for(var he=we(B,q);a("operator")&&Od.has(r.token.value)&&!F(r.token);)he instanceof on&&T(),he=Fi(Ki,r.token,he),he.start=ee,he.end=r.token,h();return he};function Fi(B,q,ee){var ae=q.value;switch(ae){case"++":case"--":gi(ee)||E("Invalid use of "+ae+" operator",q.line,q.col,q.pos);break;case"delete":ee instanceof ke&&r.input.has_directive("use strict")&&E("Calling delete on expression not allowed in strict mode",ee.start.line,ee.start.col,ee.start.pos);break}return new B({operator:ae,expression:ee})}var or=function(B,q,ee){var ae=a("operator")?r.token.value:null;ae=="in"&&ee&&(ae=null),ae=="**"&&B instanceof qe&&!dr(B.start,"punc","(")&&B.operator!=="--"&&B.operator!=="++"&&T(B.start);var he=ae!=null?Ir[ae]:null;if(he!=null&&(he>q||ae==="**"&&q===he)){h();var Le=wr(ee,he,!0);return or(new pe({start:B.start,left:B,operator:ae,right:Le,end:Le.end}),q,ee)}return B};function wr(B,q,ee,ae){if(!B&&q<Ir.in&&a("privatename")){r.in_class||E("Private field must be used in an enclosing class");const he=r.token,Le=new bs({start:he,name:he.value,end:he});h(),x("operator","in");const Be=new fi({start:he,key:Le,value:wr(B,Ir.in,!0),end:d()});return or(Be,0,B)}else return or(Hr(ee,ae),q,B)}var eo=function(B){var q=r.token,ee=wr(B,0,!0,!0);if(a("operator","?")){h();var ae=dt(!1);return w(":"),new it({start:q,condition:ee,consequent:ae,alternative:dt(!1,B),end:d()})}return ee};function gi(B){return B instanceof Xe||B instanceof ke}function fr(B){if(B instanceof jt)B=new qt({start:B.start,names:B.properties.map(fr),is_array:!1,end:B.end});else if(B instanceof Ft){for(var q=[],ee=0;ee<B.elements.length;ee++)B.elements[ee]instanceof gt&&(ee+1!==B.elements.length&&b(B.elements[ee].start,"Spread must the be last element in destructuring array"),B.elements[ee].expression=fr(B.elements[ee].expression)),q.push(fr(B.elements[ee]));B=new qt({start:B.start,names:q,is_array:!0,end:B.end})}else B instanceof _n?B.value=fr(B.value):B instanceof lt&&(B=new Mr({start:B.start,left:B.left,operator:"=",right:B.right,end:B.end}));return B}var $r=function(B){P();var q=r.token;if(q.type=="name"&&q.value=="yield"){if(v())return h(),J();r.input.has_directive("use strict")&&b(r.token,"Unexpected yield identifier inside strict mode")}var ee=eo(B),ae=r.token.value;if(a("operator")&&kg.has(ae)){if(gi(ee)||(ee=fr(ee))instanceof qt)return h(),new lt({start:q,left:ee,operator:ae,right:$r(B),logical:Og.has(ae),end:d()});E("Invalid assignment")}return ee},to=function(B,q){if(q.length===1)return q[0];if(q.length>1)return new mt({start:B,expressions:q,end:c()});E("Invalid parenthesized expression")},dt=function(B,q){for(var ee=r.token,ae=[];ae.push($r(q)),!(!B||!a("punc",","));)h(),B=!0;return to(ee,ae)};function er(B){++r.in_loop;var q=B();return--r.in_loop,q}return e.expression?dt(!0):function(){var q=r.token,ee=[];for(r.input.push_directives_stack(),e.module&&r.input.add_directive("use strict");!a("eof");)ee.push(L());r.input.pop_directives_stack();var ae=d(),he=e.toplevel;return he?(he.body=he.body.concat(ee),he.end=ae):he=new Qt({start:q,body:ee,end:ae}),ds=new Map,he}()}function ye(t,e,n,r,a=Oe){e?e=e.split(/\s+/):e=[];var c=e;a&&a.PROPS&&(e=e.concat(a.PROPS));const h=a&&Object.create(a.prototype);if(h&&(n.prototype=h,n.BASE=a),a&&a.SUBCLASSES.push(n),n.prototype.CTOR=n,n.prototype.constructor=n,n.PROPS=e||null,n.SELF_PROPS=c,n.SUBCLASSES=[],t&&(n.prototype.TYPE=n.TYPE=t),r)for(let d in r)sr(r,d)&&(d[0]==="$"?n[d.substr(1)]=r[d]:n.prototype[d]=r[d]);return n.DEFMETHOD=function(d,E){this.prototype[d]=E},n}const Iu=(t,e)=>!!(t.flags&e),Bu=(t,e,n)=>{n?t.flags|=e:t.flags&=~e},wd=1,Rd=2,Fd=4,Nd=8;class Af{constructor(e,n,r,a,c,h,d,E,b){this.flags=h?1:0,this.type=e,this.value=n,this.line=r,this.col=a,this.pos=c,this.comments_before=d,this.comments_after=E,this.file=b,Object.seal(this)}[Symbol.for("nodejs.util.inspect.custom")](e,n){const r=h=>n.stylize(h,"special"),a=typeof this.value=="string"&&this.value.includes("`")?"'":"`",c=`${a}${this.value}${a}`;return`${r("[AST_Token")} ${c} at ${this.line}:${this.col}${r("]")}`}get nlb(){return Iu(this,wd)}set nlb(e){Bu(this,wd,e)}get quote(){return Iu(this,Fd)?Iu(this,Rd)?"'":'"':""}set quote(e){Bu(this,Rd,e==="'"),Bu(this,Fd,!!e)}get template_end(){return Iu(this,Nd)}set template_end(e){Bu(this,Nd,e)}}var Oe=ye("Node","start end",function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{_clone:function(t){if(t){var e=this.clone();return e.transform(new br(function(n){if(n!==e)return n.clone(!0)}))}return new this.CTOR(this)},clone:function(t){return this._clone(t)},$documentation:"Base class of all AST nodes",$propdoc:{start:"[AST_Token] The first token of this node",end:"[AST_Token] The last token of this node"},_walk:function(t){return t._visit(this)},walk:function(t){return this._walk(t)},_children_backwards:()=>{}},null),In=ye("Statement",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class of all statements"}),ji=ye("Debugger",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Represents a debugger statement"},In),ur=ye("Directive","value quote",function(e){e&&(this.value=e.value,this.quote=e.quote,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:'Represents a directive, like "use strict";',$propdoc:{value:"[string] The value of this directive as a plain string (it's not an AST_String!)",quote:"[string] the original quote character"}},In),$e=ye("SimpleStatement","body",function(e){e&&(this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A statement consisting of an expression, i.e. a = 1 + 2",$propdoc:{body:"[AST_Node] an expression node (should not be instanceof AST_Statement)"},_walk:function(t){return t._visit(this,function(){this.body._walk(t)})},_children_backwards(t){t(this.body)}},In);function Do(t,e){const n=t.body;for(var r=0,a=n.length;r<a;r++)n[r]._walk(e)}function Cf(t){var e=this._clone(t);return this.block_scope&&(e.block_scope=this.block_scope.clone()),e}var Cn=ye("Block","body block_scope",function(e){e&&(this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A body of statements (usually braced)",$propdoc:{body:"[AST_Statement*] an array of statements",block_scope:"[AST_Scope] the block scope"},_walk:function(t){return t._visit(this,function(){Do(this,t)})},_children_backwards(t){let e=this.body.length;for(;e--;)t(this.body[e])},clone:Cf},In),tt=ye("BlockStatement",null,function(e){e&&(this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A block statement"},Cn),Ut=ye("EmptyStatement",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The empty statement (empty block or simply a semicolon)"},In),ko=ye("StatementWithBody","body",function(e){e&&(this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for all statements that contain one nested body: `For`, `ForIn`, `Do`, `While`, `With`",$propdoc:{body:"[AST_Statement] the body; this should always be present, even if it's an AST_EmptyStatement"}},In),rr=ye("LabeledStatement","label",function(e){e&&(this.label=e.label,this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Statement with a label",$propdoc:{label:"[AST_Label] a label definition"},_walk:function(t){return t._visit(this,function(){this.label._walk(t),this.body._walk(t)})},_children_backwards(t){t(this.body),t(this.label)},clone:function(t){var e=this._clone(t);if(t){var n=e.label,r=this.label;e.walk(new Vn(function(a){a instanceof ri&&a.label&&a.label.thedef===r&&(a.label.thedef=n,n.references.push(a))}))}return e}},ko),Xr=ye("IterationStatement","block_scope",function(e){e&&(this.block_scope=e.block_scope,this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Internal class. All loops inherit from it.",$propdoc:{block_scope:"[AST_Scope] the block scope for this iteration statement."},clone:Cf},ko),Lu=ye("DWLoop","condition",function(e){e&&(this.condition=e.condition,this.block_scope=e.block_scope,this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for do/while statements",$propdoc:{condition:"[AST_Node] the loop condition. Should not be instanceof AST_Statement"}},Xr),Si=ye("Do",null,function(e){e&&(this.condition=e.condition,this.block_scope=e.block_scope,this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `do` statement",_walk:function(t){return t._visit(this,function(){this.body._walk(t),this.condition._walk(t)})},_children_backwards(t){t(this.condition),t(this.body)}},Lu),Hi=ye("While",null,function(e){e&&(this.condition=e.condition,this.block_scope=e.block_scope,this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `while` statement",_walk:function(t){return t._visit(this,function(){this.condition._walk(t),this.body._walk(t)})},_children_backwards(t){t(this.body),t(this.condition)}},Lu),Dn=ye("For","init condition step",function(e){e&&(this.init=e.init,this.condition=e.condition,this.step=e.step,this.block_scope=e.block_scope,this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `for` statement",$propdoc:{init:"[AST_Node?] the `for` initialization code, or null if empty",condition:"[AST_Node?] the `for` termination clause, or null if empty",step:"[AST_Node?] the `for` update clause, or null if empty"},_walk:function(t){return t._visit(this,function(){this.init&&this.init._walk(t),this.condition&&this.condition._walk(t),this.step&&this.step._walk(t),this.body._walk(t)})},_children_backwards(t){t(this.body),this.step&&t(this.step),this.condition&&t(this.condition),this.init&&t(this.init)}},Xr),Yn=ye("ForIn","init object",function(e){e&&(this.init=e.init,this.object=e.object,this.block_scope=e.block_scope,this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `for ... in` statement",$propdoc:{init:"[AST_Node] the `for/in` initialization code",object:"[AST_Node] the object that we're looping through"},_walk:function(t){return t._visit(this,function(){this.init._walk(t),this.object._walk(t),this.body._walk(t)})},_children_backwards(t){t(this.body),this.object&&t(this.object),this.init&&t(this.init)}},Xr),Oo=ye("ForOf","await",function(e){e&&(this.await=e.await,this.init=e.init,this.object=e.object,this.block_scope=e.block_scope,this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `for ... of` statement"},Yn),Sr=ye("With","expression",function(e){e&&(this.expression=e.expression,this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `with` statement",$propdoc:{expression:"[AST_Node] the `with` expression"},_walk:function(t){return t._visit(this,function(){this.expression._walk(t),this.body._walk(t)})},_children_backwards(t){t(this.body),t(this.expression)}},ko),Ye=ye("Scope","variables uses_with uses_eval parent_scope enclosed cname",function(e){e&&(this.variables=e.variables,this.uses_with=e.uses_with,this.uses_eval=e.uses_eval,this.parent_scope=e.parent_scope,this.enclosed=e.enclosed,this.cname=e.cname,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for all statements introducing a lexical scope",$propdoc:{variables:"[Map/S] a map of name -> SymbolDef for all variables/functions defined in this scope",uses_with:"[boolean/S] tells whether this scope uses the `with` statement",uses_eval:"[boolean/S] tells whether this scope contains a direct call to the global `eval`",parent_scope:"[AST_Scope?/S] link to the parent scope",enclosed:"[SymbolDef*/S] a list of all symbol definitions that are accessed from this scope or any subscopes",cname:"[integer/S] current index for mangling variables (used internally by the mangler)"},get_defun_scope:function(){for(var t=this;t.is_block_scope();)t=t.parent_scope;return t},clone:function(t,e){var n=this._clone(t);return t&&this.variables&&e&&!this._block_scope?n.figure_out_scope({},{toplevel:e,parent_scope:this.parent_scope}):(this.variables&&(n.variables=new Map(this.variables)),this.enclosed&&(n.enclosed=this.enclosed.slice()),this._block_scope&&(n._block_scope=this._block_scope)),n},pinned:function(){return this.uses_eval||this.uses_with}},Cn),Qt=ye("Toplevel","globals",function(e){e&&(this.globals=e.globals,this.variables=e.variables,this.uses_with=e.uses_with,this.uses_eval=e.uses_eval,this.parent_scope=e.parent_scope,this.enclosed=e.enclosed,this.cname=e.cname,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The toplevel scope",$propdoc:{globals:"[Map/S] a map of name -> SymbolDef for all undeclared names"},wrap_commonjs:function(t){var e=this.body,n="(function(exports){'$ORIG';})(typeof "+t+"=='undefined'?("+t+"={}):"+t+");";return n=ms(n),n=n.transform(new br(function(r){if(r instanceof ur&&r.value=="$ORIG")return tn.splice(e)})),n},wrap_enclose:function(t){typeof t!="string"&&(t="");var e=t.indexOf(":");e<0&&(e=t.length);var n=this.body;return ms(["(function(",t.slice(0,e),'){"$ORIG"})(',t.slice(e+1),")"].join("")).transform(new br(function(r){if(r instanceof ur&&r.value=="$ORIG")return tn.splice(n)}))}},Ye),gt=ye("Expansion","expression",function(e){e&&(this.expression=e.expression,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"An expandible argument, such as ...rest, a splat, such as [1,2,...all], or an expansion in a variable declaration, such as var [first, ...rest] = list",$propdoc:{expression:"[AST_Node] the thing to be expanded"},_walk:function(t){return t._visit(this,function(){this.expression.walk(t)})},_children_backwards(t){t(this.expression)}}),ze=ye("Lambda","name argnames uses_arguments is_generator async",function(e){e&&(this.name=e.name,this.argnames=e.argnames,this.uses_arguments=e.uses_arguments,this.is_generator=e.is_generator,this.async=e.async,this.variables=e.variables,this.uses_with=e.uses_with,this.uses_eval=e.uses_eval,this.parent_scope=e.parent_scope,this.enclosed=e.enclosed,this.cname=e.cname,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for functions",$propdoc:{name:"[AST_SymbolDeclaration?] the name of this function",argnames:"[AST_SymbolFunarg|AST_Destructuring|AST_Expansion|AST_DefaultAssign*] array of function arguments, destructurings, or expanding arguments",uses_arguments:"[boolean/S] tells whether this function accesses the arguments array",is_generator:"[boolean] is this a generator method",async:"[boolean] is this method async"},args_as_names:function(){for(var t=[],e=0;e<this.argnames.length;e++)this.argnames[e]instanceof qt?t.push(...this.argnames[e].all_symbols()):t.push(this.argnames[e]);return t},_walk:function(t){return t._visit(this,function(){this.name&&this.name._walk(t);for(var e=this.argnames,n=0,r=e.length;n<r;n++)e[n]._walk(t);Do(this,t)})},_children_backwards(t){let e=this.body.length;for(;e--;)t(this.body[e]);for(e=this.argnames.length;e--;)t(this.argnames[e]);this.name&&t(this.name)},is_braceless(){return this.body[0]instanceof pn&&this.body[0].value},length_property(){let t=0;for(const e of this.argnames)(e instanceof Mn||e instanceof qt)&&t++;return t}},Ye),$i=ye("Accessor",null,function(e){e&&(this.name=e.name,this.argnames=e.argnames,this.uses_arguments=e.uses_arguments,this.is_generator=e.is_generator,this.async=e.async,this.variables=e.variables,this.uses_with=e.uses_with,this.uses_eval=e.uses_eval,this.parent_scope=e.parent_scope,this.enclosed=e.enclosed,this.cname=e.cname,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A setter/getter function. The `name` property is always null."},ze),Gt=ye("Function",null,function(e){e&&(this.name=e.name,this.argnames=e.argnames,this.uses_arguments=e.uses_arguments,this.is_generator=e.is_generator,this.async=e.async,this.variables=e.variables,this.uses_with=e.uses_with,this.uses_eval=e.uses_eval,this.parent_scope=e.parent_scope,this.enclosed=e.enclosed,this.cname=e.cname,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A function expression"},ze),on=ye("Arrow",null,function(e){e&&(this.name=e.name,this.argnames=e.argnames,this.uses_arguments=e.uses_arguments,this.is_generator=e.is_generator,this.async=e.async,this.variables=e.variables,this.uses_with=e.uses_with,this.uses_eval=e.uses_eval,this.parent_scope=e.parent_scope,this.enclosed=e.enclosed,this.cname=e.cname,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"An ES6 Arrow function ((a) => b)"},ze),sn=ye("Defun",null,function(e){e&&(this.name=e.name,this.argnames=e.argnames,this.uses_arguments=e.uses_arguments,this.is_generator=e.is_generator,this.async=e.async,this.variables=e.variables,this.uses_with=e.uses_with,this.uses_eval=e.uses_eval,this.parent_scope=e.parent_scope,this.enclosed=e.enclosed,this.cname=e.cname,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A function definition"},ze),qt=ye("Destructuring","names is_array",function(e){e&&(this.names=e.names,this.is_array=e.is_array,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A destructuring of several names. Used in destructuring assignment and with destructuring function argument names",$propdoc:{names:"[AST_Node*] Array of properties or elements",is_array:"[Boolean] Whether the destructuring represents an object or array"},_walk:function(t){return t._visit(this,function(){this.names.forEach(function(e){e._walk(t)})})},_children_backwards(t){let e=this.names.length;for(;e--;)t(this.names[e])},all_symbols:function(){var t=[];return Un(this,e=>{if(e instanceof Ln&&t.push(e),e instanceof ze)return!0}),t}}),Yr=ye("PrefixedTemplateString","template_string prefix",function(e){e&&(this.template_string=e.template_string,this.prefix=e.prefix,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A templatestring with a prefix, such as String.raw`foobarbaz`",$propdoc:{template_string:"[AST_TemplateString] The template string",prefix:"[AST_Node] The prefix, which will get called."},_walk:function(t){return t._visit(this,function(){this.prefix._walk(t),this.template_string._walk(t)})},_children_backwards(t){t(this.template_string),t(this.prefix)}}),Zn=ye("TemplateString","segments",function(e){e&&(this.segments=e.segments,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A template string literal",$propdoc:{segments:"[AST_Node*] One or more segments, starting with AST_TemplateSegment. AST_Node may follow AST_TemplateSegment, but each AST_Node must be followed by AST_TemplateSegment."},_walk:function(t){return t._visit(this,function(){this.segments.forEach(function(e){e._walk(t)})})},_children_backwards(t){let e=this.segments.length;for(;e--;)t(this.segments[e])}}),Ti=ye("TemplateSegment","value raw",function(e){e&&(this.value=e.value,this.raw=e.raw,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A segment of a template string literal",$propdoc:{value:"Content of the segment",raw:"Raw source of the segment"}}),ys=ye("Jump",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for “jumps” (for now that's `return`, `throw`, `break` and `continue`)"},In),_r=ye("Exit","value",function(e){e&&(this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for “exits” (`return` and `throw`)",$propdoc:{value:"[AST_Node?] the value returned or thrown by this statement; could be null for AST_Return"},_walk:function(t){return t._visit(this,this.value&&function(){this.value._walk(t)})},_children_backwards(t){this.value&&t(this.value)}},ys),pn=ye("Return",null,function(e){e&&(this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `return` statement"},_r),gs=ye("Throw",null,function(e){e&&(this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `throw` statement"},_r),ri=ye("LoopControl","label",function(e){e&&(this.label=e.label,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for loop control statements (`break` and `continue`)",$propdoc:{label:"[AST_LabelRef?] the label, or null if none"},_walk:function(t){return t._visit(this,this.label&&function(){this.label._walk(t)})},_children_backwards(t){this.label&&t(this.label)}},ys),Br=ye("Break",null,function(e){e&&(this.label=e.label,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `break` statement"},ri),fo=ye("Continue",null,function(e){e&&(this.label=e.label,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `continue` statement"},ri),Tr=ye("Await","expression",function(e){e&&(this.expression=e.expression,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"An `await` statement",$propdoc:{expression:"[AST_Node] the mandatory expression being awaited"},_walk:function(t){return t._visit(this,function(){this.expression._walk(t)})},_children_backwards(t){t(this.expression)}}),Ar=ye("Yield","expression is_star",function(e){e&&(this.expression=e.expression,this.is_star=e.is_star,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `yield` statement",$propdoc:{expression:"[AST_Node?] the value returned or thrown by this statement; could be null (representing undefined) but only when is_star is set to false",is_star:"[Boolean] Whether this is a yield or yield* statement"},_walk:function(t){return t._visit(this,this.expression&&function(){this.expression._walk(t)})},_children_backwards(t){this.expression&&t(this.expression)}}),Vt=ye("If","condition alternative",function(e){e&&(this.condition=e.condition,this.alternative=e.alternative,this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `if` statement",$propdoc:{condition:"[AST_Node] the `if` condition",alternative:"[AST_Statement?] the `else` part, or null if not present"},_walk:function(t){return t._visit(this,function(){this.condition._walk(t),this.body._walk(t),this.alternative&&this.alternative._walk(t)})},_children_backwards(t){this.alternative&&t(this.alternative),t(this.body),t(this.condition)}},ko),Qn=ye("Switch","expression",function(e){e&&(this.expression=e.expression,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `switch` statement",$propdoc:{expression:"[AST_Node] the `switch` “discriminant”"},_walk:function(t){return t._visit(this,function(){this.expression._walk(t),Do(this,t)})},_children_backwards(t){let e=this.body.length;for(;e--;)t(this.body[e]);t(this.expression)}},Cn),Gi=ye("SwitchBranch",null,function(e){e&&(this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for `switch` branches"},Cn),wo=ye("Default",null,function(e){e&&(this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `default` switch branch"},Gi),ii=ye("Case","expression",function(e){e&&(this.expression=e.expression,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `case` switch branch",$propdoc:{expression:"[AST_Node] the `case` expression"},_walk:function(t){return t._visit(this,function(){this.expression._walk(t),Do(this,t)})},_children_backwards(t){let e=this.body.length;for(;e--;)t(this.body[e]);t(this.expression)}},Gi),Cr=ye("Try","body bcatch bfinally",function(e){e&&(this.body=e.body,this.bcatch=e.bcatch,this.bfinally=e.bfinally,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `try` statement",$propdoc:{body:"[AST_TryBlock] the try block",bcatch:"[AST_Catch?] the catch block, or null if not present",bfinally:"[AST_Finally?] the finally block, or null if not present"},_walk:function(t){return t._visit(this,function(){this.body._walk(t),this.bcatch&&this.bcatch._walk(t),this.bfinally&&this.bfinally._walk(t)})},_children_backwards(t){this.bfinally&&t(this.bfinally),this.bcatch&&t(this.bcatch),t(this.body)}},In),Mu=ye("TryBlock",null,function(e){e&&(this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `try` block of a try statement"},Cn),oi=ye("Catch","argname",function(e){e&&(this.argname=e.argname,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `catch` node; only makes sense as part of a `try` statement",$propdoc:{argname:"[AST_SymbolCatch|AST_Destructuring|AST_Expansion|AST_DefaultAssign] symbol for the exception"},_walk:function(t){return t._visit(this,function(){this.argname&&this.argname._walk(t),Do(this,t)})},_children_backwards(t){let e=this.body.length;for(;e--;)t(this.body[e]);this.argname&&t(this.argname)}},Cn),Jo=ye("Finally",null,function(e){e&&(this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `finally` node; only makes sense as part of a `try` statement"},Cn),dn=ye("Definitions","definitions",function(e){e&&(this.definitions=e.definitions,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for `var` or `const` nodes (variable declarations/initializations)",$propdoc:{definitions:"[AST_VarDef*] array of variable definitions"},_walk:function(t){return t._visit(this,function(){for(var e=this.definitions,n=0,r=e.length;n<r;n++)e[n]._walk(t)})},_children_backwards(t){let e=this.definitions.length;for(;e--;)t(this.definitions[e])}},In),Bn=ye("Var",null,function(e){e&&(this.definitions=e.definitions,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `var` statement"},dn),ai=ye("Let",null,function(e){e&&(this.definitions=e.definitions,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `let` statement"},dn),si=ye("Const",null,function(e){e&&(this.definitions=e.definitions,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `const` statement"},dn),zt=ye("VarDef","name value",function(e){e&&(this.name=e.name,this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A variable declaration; only appears in a AST_Definitions node",$propdoc:{name:"[AST_Destructuring|AST_SymbolConst|AST_SymbolLet|AST_SymbolVar] name of the variable",value:"[AST_Node?] initializer, or null of there's no initializer"},_walk:function(t){return t._visit(this,function(){this.name._walk(t),this.value&&this.value._walk(t)})},_children_backwards(t){this.value&&t(this.value),t(this.name)},declarations_as_names(){return this.name instanceof Ln?[this]:this.name.all_symbols()}}),ui=ye("NameMapping","foreign_name name",function(e){e&&(this.foreign_name=e.foreign_name,this.name=e.name,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The part of the export/import statement that declare names from a module.",$propdoc:{foreign_name:"[AST_SymbolExportForeign|AST_SymbolImportForeign] The name being exported/imported (as specified in the module)",name:"[AST_SymbolExport|AST_SymbolImport] The name as it is visible to this module."},_walk:function(t){return t._visit(this,function(){this.foreign_name._walk(t),this.name._walk(t)})},_children_backwards(t){t(this.name),t(this.foreign_name)}}),Lr=ye("Import","imported_name imported_names module_name assert_clause",function(e){e&&(this.imported_name=e.imported_name,this.imported_names=e.imported_names,this.module_name=e.module_name,this.assert_clause=e.assert_clause,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"An `import` statement",$propdoc:{imported_name:"[AST_SymbolImport] The name of the variable holding the module's default export.",imported_names:"[AST_NameMapping*] The names of non-default imported variables",module_name:"[AST_String] String literal describing where this module came from",assert_clause:"[AST_Object?] The import assertion"},_walk:function(t){return t._visit(this,function(){this.imported_name&&this.imported_name._walk(t),this.imported_names&&this.imported_names.forEach(function(e){e._walk(t)}),this.module_name._walk(t)})},_children_backwards(t){if(t(this.module_name),this.imported_names){let e=this.imported_names.length;for(;e--;)t(this.imported_names[e])}this.imported_name&&t(this.imported_name)}}),zi=ye("ImportMeta",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A reference to import.meta"}),Rn=ye("Export","exported_definition exported_value is_default exported_names module_name assert_clause",function(e){e&&(this.exported_definition=e.exported_definition,this.exported_value=e.exported_value,this.is_default=e.is_default,this.exported_names=e.exported_names,this.module_name=e.module_name,this.assert_clause=e.assert_clause,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"An `export` statement",$propdoc:{exported_definition:"[AST_Defun|AST_Definitions|AST_DefClass?] An exported definition",exported_value:"[AST_Node?] An exported value",exported_names:"[AST_NameMapping*?] List of exported names",module_name:"[AST_String?] Name of the file to load exports from",is_default:"[Boolean] Whether this is the default exported value of this module",assert_clause:"[AST_Object?] The import assertion"},_walk:function(t){return t._visit(this,function(){this.exported_definition&&this.exported_definition._walk(t),this.exported_value&&this.exported_value._walk(t),this.exported_names&&this.exported_names.forEach(function(e){e._walk(t)}),this.module_name&&this.module_name._walk(t)})},_children_backwards(t){if(this.module_name&&t(this.module_name),this.exported_names){let e=this.exported_names.length;for(;e--;)t(this.exported_names[e])}this.exported_value&&t(this.exported_value),this.exported_definition&&t(this.exported_definition)}},In),He=ye("Call","expression args optional _annotations",function(e){e&&(this.expression=e.expression,this.args=e.args,this.optional=e.optional,this._annotations=e._annotations,this.start=e.start,this.end=e.end,this.initialize()),this.flags=0},{$documentation:"A function call expression",$propdoc:{expression:"[AST_Node] expression to invoke as function",args:"[AST_Node*] array of arguments",optional:"[boolean] whether this is an optional call (IE ?.() )",_annotations:"[number] bitfield containing information about the call"},initialize(){this._annotations==null&&(this._annotations=0)},_walk(t){return t._visit(this,function(){for(var e=this.args,n=0,r=e.length;n<r;n++)e[n]._walk(t);this.expression._walk(t)})},_children_backwards(t){let e=this.args.length;for(;e--;)t(this.args[e]);t(this.expression)}}),cr=ye("New",null,function(e){e&&(this.expression=e.expression,this.args=e.args,this.optional=e.optional,this._annotations=e._annotations,this.start=e.start,this.end=e.end,this.initialize()),this.flags=0},{$documentation:"An object instantiation. Derives from a function call since it has exactly the same properties"},He),mt=ye("Sequence","expressions",function(e){e&&(this.expressions=e.expressions,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A sequence expression (comma-separated expressions)",$propdoc:{expressions:"[AST_Node*] array of expressions (at least two)"},_walk:function(t){return t._visit(this,function(){this.expressions.forEach(function(e){e._walk(t)})})},_children_backwards(t){let e=this.expressions.length;for(;e--;)t(this.expressions[e])}}),Xe=ye("PropAccess","expression property optional",function(e){e&&(this.expression=e.expression,this.property=e.property,this.optional=e.optional,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:'Base class for property access expressions, i.e. `a.foo` or `a["foo"]`',$propdoc:{expression:"[AST_Node] the “container” expression",property:"[AST_Node|string] the property to access. For AST_Dot & AST_DotHash this is always a plain string, while for AST_Sub it's an arbitrary AST_Node",optional:"[boolean] whether this is an optional property access (IE ?.)"}}),Jt=ye("Dot","quote",function(e){e&&(this.quote=e.quote,this.expression=e.expression,this.property=e.property,this.optional=e.optional,this._annotations=e._annotations,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A dotted property access expression",$propdoc:{quote:"[string] the original quote character when transformed from AST_Sub"},_walk:function(t){return t._visit(this,function(){this.expression._walk(t)})},_children_backwards(t){t(this.expression)}},Xe),Zr=ye("DotHash","",function(e){e&&(this.expression=e.expression,this.property=e.property,this.optional=e.optional,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A dotted property access to a private property",_walk:function(t){return t._visit(this,function(){this.expression._walk(t)})},_children_backwards(t){t(this.expression)}},Xe),kn=ye("Sub",null,function(e){e&&(this.expression=e.expression,this.property=e.property,this.optional=e.optional,this._annotations=e._annotations,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:'Index-style property access, i.e. `a["foo"]`',_walk:function(t){return t._visit(this,function(){this.expression._walk(t),this.property._walk(t)})},_children_backwards(t){t(this.property),t(this.expression)}},Xe),Sn=ye("Chain","expression",function(e){e&&(this.expression=e.expression,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A chain expression like a?.b?.(c)?.[d]",$propdoc:{expression:"[AST_Call|AST_Dot|AST_DotHash|AST_Sub] chain element."},_walk:function(t){return t._visit(this,function(){this.expression._walk(t)})},_children_backwards(t){t(this.expression)}}),en=ye("Unary","operator expression",function(e){e&&(this.operator=e.operator,this.expression=e.expression,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for unary expressions",$propdoc:{operator:"[string] the operator",expression:"[AST_Node] expression that this unary operator applies to"},_walk:function(t){return t._visit(this,function(){this.expression._walk(t)})},_children_backwards(t){t(this.expression)}}),qe=ye("UnaryPrefix",null,function(e){e&&(this.operator=e.operator,this.expression=e.expression,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Unary prefix expression, i.e. `typeof i` or `++i`"},en),Ki=ye("UnaryPostfix",null,function(e){e&&(this.operator=e.operator,this.expression=e.expression,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Unary postfix expression, i.e. `i++`"},en),pe=ye("Binary","operator left right",function(e){e&&(this.operator=e.operator,this.left=e.left,this.right=e.right,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Binary expression, i.e. `a + b`",$propdoc:{left:"[AST_Node] left-hand side expression",operator:"[string] the operator",right:"[AST_Node] right-hand side expression"},_walk:function(t){return t._visit(this,function(){this.left._walk(t),this.right._walk(t)})},_children_backwards(t){t(this.right),t(this.left)}}),it=ye("Conditional","condition consequent alternative",function(e){e&&(this.condition=e.condition,this.consequent=e.consequent,this.alternative=e.alternative,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Conditional expression using the ternary operator, i.e. `a ? b : c`",$propdoc:{condition:"[AST_Node]",consequent:"[AST_Node]",alternative:"[AST_Node]"},_walk:function(t){return t._visit(this,function(){this.condition._walk(t),this.consequent._walk(t),this.alternative._walk(t)})},_children_backwards(t){t(this.alternative),t(this.consequent),t(this.condition)}}),lt=ye("Assign","logical",function(e){e&&(this.logical=e.logical,this.operator=e.operator,this.left=e.left,this.right=e.right,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"An assignment expression — `a = b + 5`",$propdoc:{logical:"Whether it's a logical assignment"}},pe),Mr=ye("DefaultAssign",null,function(e){e&&(this.operator=e.operator,this.left=e.left,this.right=e.right,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A default assignment expression like in `(a = 3) => a`"},pe),Ft=ye("Array","elements",function(e){e&&(this.elements=e.elements,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"An array literal",$propdoc:{elements:"[AST_Node*] array of elements"},_walk:function(t){return t._visit(this,function(){for(var e=this.elements,n=0,r=e.length;n<r;n++)e[n]._walk(t)})},_children_backwards(t){let e=this.elements.length;for(;e--;)t(this.elements[e])}}),jt=ye("Object","properties",function(e){e&&(this.properties=e.properties,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"An object literal",$propdoc:{properties:"[AST_ObjectProperty*] array of properties"},_walk:function(t){return t._visit(this,function(){for(var e=this.properties,n=0,r=e.length;n<r;n++)e[n]._walk(t)})},_children_backwards(t){let e=this.properties.length;for(;e--;)t(this.properties[e])}}),_n=ye("ObjectProperty","key value",function(e){e&&(this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end,this._annotations=e._annotations),this.flags=0},{$documentation:"Base class for literal object properties",$propdoc:{key:"[string|AST_Node] property name. For ObjectKeyVal this is a string. For getters, setters and computed property this is an AST_Node.",value:"[AST_Node] property value. For getters and setters this is an AST_Accessor."},_walk:function(t){return t._visit(this,function(){this.key instanceof Oe&&this.key._walk(t),this.value._walk(t)})},_children_backwards(t){t(this.value),this.key instanceof Oe&&t(this.key)}}),an=ye("ObjectKeyVal","quote",function(e){e&&(this.quote=e.quote,this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end,this._annotations=e._annotations),this.flags=0},{$documentation:"A key: value object property",$propdoc:{quote:"[string] the original quote character"},computed_key(){return this.key instanceof Oe}},_n),Ai=ye("PrivateSetter","static",function(e){e&&(this.static=e.static,this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$propdoc:{static:"[boolean] whether this is a static private setter"},$documentation:"A private setter property",computed_key(){return!1}},_n),ci=ye("PrivateGetter","static",function(e){e&&(this.static=e.static,this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$propdoc:{static:"[boolean] whether this is a static private getter"},$documentation:"A private getter property",computed_key(){return!1}},_n),li=ye("ObjectSetter","quote static",function(e){e&&(this.quote=e.quote,this.static=e.static,this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end,this._annotations=e._annotations),this.flags=0},{$propdoc:{quote:"[string|undefined] the original quote character, if any",static:"[boolean] whether this is a static setter (classes only)"},$documentation:"An object setter property",computed_key(){return!(this.key instanceof Hn)}},_n),Qr=ye("ObjectGetter","quote static",function(e){e&&(this.quote=e.quote,this.static=e.static,this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end,this._annotations=e._annotations),this.flags=0},{$propdoc:{quote:"[string|undefined] the original quote character, if any",static:"[boolean] whether this is a static getter (classes only)"},$documentation:"An object getter property",computed_key(){return!(this.key instanceof Hn)}},_n),jn=ye("ConciseMethod","quote static is_generator async",function(e){e&&(this.quote=e.quote,this.static=e.static,this.is_generator=e.is_generator,this.async=e.async,this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end,this._annotations=e._annotations),this.flags=0},{$propdoc:{quote:"[string|undefined] the original quote character, if any",static:"[boolean] is this method static (classes only)",is_generator:"[boolean] is this a generator method",async:"[boolean] is this method async"},$documentation:"An ES6 concise method inside an object or class",computed_key(){return!(this.key instanceof Hn)}},_n),Ci=ye("PrivateMethod","",function(e){e&&(this.quote=e.quote,this.static=e.static,this.is_generator=e.is_generator,this.async=e.async,this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A private class method inside a class"},jn),At=ye("Class","name extends properties",function(e){e&&(this.name=e.name,this.extends=e.extends,this.properties=e.properties,this.variables=e.variables,this.uses_with=e.uses_with,this.uses_eval=e.uses_eval,this.parent_scope=e.parent_scope,this.enclosed=e.enclosed,this.cname=e.cname,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$propdoc:{name:"[AST_SymbolClass|AST_SymbolDefClass?] optional class name.",extends:"[AST_Node]? optional parent class",properties:"[AST_ObjectProperty*] array of properties"},$documentation:"An ES6 class",_walk:function(t){return t._visit(this,function(){this.name&&this.name._walk(t),this.extends&&this.extends._walk(t),this.properties.forEach(e=>e._walk(t))})},_children_backwards(t){let e=this.properties.length;for(;e--;)t(this.properties[e]);this.extends&&t(this.extends),this.name&&t(this.name)},visit_nondeferred_class_parts(t){this.extends&&this.extends._walk(t),this.properties.forEach(e=>{if(e instanceof Jn){e._walk(t);return}e.computed_key()&&(t.push(e),e.key._walk(t),t.pop()),(e instanceof Di||e instanceof mr)&&e.static&&e.value&&(t.push(e),e.value._walk(t),t.pop())})},visit_deferred_class_parts(t){this.properties.forEach(e=>{e instanceof jn?e.walk(t):e instanceof mr&&!e.static&&e.value&&(t.push(e),e.value._walk(t),t.pop())})},is_self_referential:function(){const t=this.name&&this.name.definition().id;let e=!1,n=!0;return this.visit_nondeferred_class_parts(new Vn((r,a)=>{if(e)return!0;if(r instanceof $n)return e=n;if(r instanceof ke)return e=r.definition().id===t;if(r instanceof ze&&!(r instanceof on)){const c=n;return n=!1,a(),n=c,!0}})),e}},Ye),mr=ye("ClassProperty","static quote",function(e){e&&(this.static=e.static,this.quote=e.quote,this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end,this._annotations=e._annotations),this.flags=0},{$documentation:"A class property",$propdoc:{static:"[boolean] whether this is a static key",quote:"[string] which quote is being used"},_walk:function(t){return t._visit(this,function(){this.key instanceof Oe&&this.key._walk(t),this.value instanceof Oe&&this.value._walk(t)})},_children_backwards(t){this.value instanceof Oe&&t(this.value),this.key instanceof Oe&&t(this.key)},computed_key(){return!(this.key instanceof Xi)}},_n),Di=ye("ClassPrivateProperty","",function(e){e&&(this.static=e.static,this.quote=e.quote,this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A class property for a private property"},mr),fi=ye("PrivateIn","key value",function(e){e&&(this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"An `in` binop when the key is private, eg #x in this",_walk:function(t){return t._visit(this,function(){this.key._walk(t),this.value._walk(t)})},_children_backwards(t){t(this.value),t(this.key)}}),Jr=ye("DefClass",null,function(e){e&&(this.name=e.name,this.extends=e.extends,this.properties=e.properties,this.variables=e.variables,this.uses_with=e.uses_with,this.uses_eval=e.uses_eval,this.parent_scope=e.parent_scope,this.enclosed=e.enclosed,this.cname=e.cname,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A class definition"},At),Jn=ye("ClassStaticBlock","body block_scope",function(e){this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end},{$documentation:"A block containing statements to be executed in the context of the class",$propdoc:{body:"[AST_Statement*] an array of statements"},_walk:function(t){return t._visit(this,function(){Do(this,t)})},_children_backwards(t){let e=this.body.length;for(;e--;)t(this.body[e])},clone:Cf,computed_key:()=>!1},Ye),ki=ye("ClassExpression",null,function(e){e&&(this.name=e.name,this.extends=e.extends,this.properties=e.properties,this.variables=e.variables,this.uses_with=e.uses_with,this.uses_eval=e.uses_eval,this.parent_scope=e.parent_scope,this.enclosed=e.enclosed,this.cname=e.cname,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A class expression."},At),vt=ye("Symbol","scope name thedef",function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$propdoc:{name:"[string] name of this symbol",scope:"[AST_Scope/S] the current scope (not necessarily the definition scope)",thedef:"[SymbolDef/S] the definition of this symbol"},$documentation:"Base class for all symbols"}),ea=ye("NewTarget",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A reference to new.target"}),Ln=ye("SymbolDeclaration","init",function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A declaration symbol (symbol in var/const, function name or argument, symbol in catch)"},vt),Wi=ye("SymbolVar",null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Symbol defining a variable"},Ln),qi=ye("SymbolBlockDeclaration",null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for block-scoped declaration symbols"},Ln),ho=ye("SymbolConst",null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A constant declaration"},qi),ta=ye("SymbolLet",null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A block-scoped `let` declaration"},qi),Mn=ye("SymbolFunarg",null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Symbol naming a function argument"},Wi),Oi=ye("SymbolDefun",null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Symbol defining a function"},Ln),Hn=ye("SymbolMethod",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Symbol in an object defining a method"},vt),Xi=ye("SymbolClassProperty",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Symbol for a class property"},vt),hi=ye("SymbolLambda",null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Symbol naming a function expression"},Ln),Uu=ye("SymbolDefClass",null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Symbol naming a class's name in a class declaration. Lexically scoped to its containing scope, and accessible within the class."},qi),Vu=ye("SymbolClass",null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Symbol naming a class's name. Lexically scoped to the class."},Ln),ei=ye("SymbolCatch",null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Symbol naming the exception in catch"},qi),na=ye("SymbolImport",null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Symbol referring to an imported name"},qi),Ro=ye("SymbolImportForeign",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.quote=e.quote,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A symbol imported from a module, but it is defined in the other module, and its real name is irrelevant for this module's purposes"},vt),vs=ye("Label","references",function(e){e&&(this.references=e.references,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end,this.initialize()),this.flags=0},{$documentation:"Symbol naming a label (declaration)",$propdoc:{references:"[AST_LoopControl*] a list of nodes referring to this label"},initialize:function(){this.references=[],this.thedef=this}},vt),ke=ye("SymbolRef",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Reference to some symbol (not definition/declaration)"},vt),Fo=ye("SymbolExport",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.quote=e.quote,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Symbol referring to a name to export"},ke),wi=ye("SymbolExportForeign",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.quote=e.quote,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A symbol exported from this module, but it is used in the other module, and its real name is irrelevant for this module's purposes"},vt),Df=ye("LabelRef",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Reference to a label symbol"},vt),bs=ye("SymbolPrivateProperty",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A symbol that refers to a private property"},vt),$n=ye("This",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `this` symbol"},vt),ra=ye("Super",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `super` symbol"},$n),Nt=ye("Constant",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for all constants",getValue:function(){return this.value}}),bt=ye("String","value quote",function(e){e&&(this.value=e.value,this.quote=e.quote,this.start=e.start,this.end=e.end,this._annotations=e._annotations),this.flags=0},{$documentation:"A string literal",$propdoc:{value:"[string] the contents of this string",quote:"[string] the original quote character"}},Nt),nt=ye("Number","value raw",function(e){e&&(this.value=e.value,this.raw=e.raw,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A number literal",$propdoc:{value:"[number] the numeric value",raw:"[string] numeric value as string"}},Nt),pi=ye("BigInt","value",function(e){e&&(this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A big int literal",$propdoc:{value:"[string] big int value"}},Nt),yr=ye("RegExp","value",function(e){e&&(this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A regexp literal",$propdoc:{value:"[RegExp] the actual regexp"}},Nt),po=ye("Atom",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for atoms"},Nt),gr=ye("Null",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `null` atom",value:null},po),Es=ye("NaN",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The impossible value",value:NaN},po),un=ye("Undefined",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `undefined` value",value:function(){}()},po),Ur=ye("Hole",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A hole in an array",value:function(){}()},po),_o=ye("Infinity",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `Infinity` value",value:1/0},po),ju=ye("Boolean",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for booleans"},po),Yi=ye("False",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `false` atom",value:!1},ju),Dr=ye("True",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `true` atom",value:!0},ju);function Un(t,e,n=[t]){const r=n.push.bind(n);for(;n.length;){const a=n.pop(),c=e(a,n);if(c){if(c===vr)return!0;continue}a._children_backwards(r)}return!1}function Pd(t,e,n){const r=[t],a=r.push.bind(r),c=n?n.slice():[],h=[];let d;const E={parent:(b=0)=>b===-1?d:n&&b>=c.length?(b-=c.length,n[n.length-(b+1)]):c[c.length-(1+b)]};for(;r.length;){for(d=r.pop();h.length&&r.length==h[h.length-1];)c.pop(),h.pop();const b=e(d,E);if(b){if(b===vr)return!0;continue}const T=r.length;d._children_backwards(a),r.length>T&&(c.push(d),h.push(T-1))}return!1}const vr=Symbol("abort walk");class Vn{constructor(e){this.visit=e,this.stack=[],this.directives=Object.create(null)}_visit(e,n){this.push(e);var r=this.visit(e,n?function(){n.call(e)}:xr);return!r&&n&&n.call(e),this.pop(),r}parent(e){return this.stack[this.stack.length-2-(e||0)]}push(e){e instanceof ze?this.directives=Object.create(this.directives):e instanceof ur&&!this.directives[e.value]?this.directives[e.value]=e:e instanceof At&&(this.directives=Object.create(this.directives),this.directives["use strict"]||(this.directives["use strict"]=e)),this.stack.push(e)}pop(){var e=this.stack.pop();(e instanceof ze||e instanceof At)&&(this.directives=Object.getPrototypeOf(this.directives))}self(){return this.stack[this.stack.length-1]}find_parent(e){for(var n=this.stack,r=n.length;--r>=0;){var a=n[r];if(a instanceof e)return a}}find_scope(){for(var e=this.stack,n=e.length;--n>=0;){const r=e[n];if(r instanceof Qt||r instanceof ze)return r;if(r.block_scope)return r.block_scope}}has_directive(e){var n=this.directives[e];if(n)return n;var r=this.stack[this.stack.length-1];if(r instanceof Ye&&r.body)for(var a=0;a<r.body.length;++a){var c=r.body[a];if(!(c instanceof ur))break;if(c.value==e)return c}}loopcontrol_target(e){var n=this.stack;if(e.label)for(var r=n.length;--r>=0;){var a=n[r];if(a instanceof rr&&a.label.name==e.label.name)return a.body}else for(var r=n.length;--r>=0;){var a=n[r];if(a instanceof Xr||e instanceof Br&&a instanceof Qn)return a}}}class br extends Vn{constructor(e,n){super(),this.before=e,this.after=n}}const kf=1,Of=2,No=4,xs=8,Ss=16;function xt(t,e){t.DEFMETHOD("transform",function(n,r){let a;if(n.push(this),n.before&&(a=n.before(this,e,r)),a===void 0&&(a=this,e(a,n),n.after)){const c=n.after(a,r);c!==void 0&&(a=c)}return n.pop(),a})}xt(Oe,xr),xt(rr,function(t,e){t.label=t.label.transform(e),t.body=t.body.transform(e)}),xt($e,function(t,e){t.body=t.body.transform(e)}),xt(Cn,function(t,e){t.body=tn(t.body,e)}),xt(Si,function(t,e){t.body=t.body.transform(e),t.condition=t.condition.transform(e)}),xt(Hi,function(t,e){t.condition=t.condition.transform(e),t.body=t.body.transform(e)}),xt(Dn,function(t,e){t.init&&(t.init=t.init.transform(e)),t.condition&&(t.condition=t.condition.transform(e)),t.step&&(t.step=t.step.transform(e)),t.body=t.body.transform(e)}),xt(Yn,function(t,e){t.init=t.init.transform(e),t.object=t.object.transform(e),t.body=t.body.transform(e)}),xt(Sr,function(t,e){t.expression=t.expression.transform(e),t.body=t.body.transform(e)}),xt(_r,function(t,e){t.value&&(t.value=t.value.transform(e))}),xt(ri,function(t,e){t.label&&(t.label=t.label.transform(e))}),xt(Vt,function(t,e){t.condition=t.condition.transform(e),t.body=t.body.transform(e),t.alternative&&(t.alternative=t.alternative.transform(e))}),xt(Qn,function(t,e){t.expression=t.expression.transform(e),t.body=tn(t.body,e)}),xt(ii,function(t,e){t.expression=t.expression.transform(e),t.body=tn(t.body,e)}),xt(Cr,function(t,e){t.body=t.body.transform(e),t.bcatch&&(t.bcatch=t.bcatch.transform(e)),t.bfinally&&(t.bfinally=t.bfinally.transform(e))}),xt(oi,function(t,e){t.argname&&(t.argname=t.argname.transform(e)),t.body=tn(t.body,e)}),xt(dn,function(t,e){t.definitions=tn(t.definitions,e)}),xt(zt,function(t,e){t.name=t.name.transform(e),t.value&&(t.value=t.value.transform(e))}),xt(qt,function(t,e){t.names=tn(t.names,e)}),xt(ze,function(t,e){t.name&&(t.name=t.name.transform(e)),t.argnames=tn(t.argnames,e,!1),t.body instanceof Oe?t.body=t.body.transform(e):t.body=tn(t.body,e)}),xt(He,function(t,e){t.expression=t.expression.transform(e),t.args=tn(t.args,e,!1)}),xt(mt,function(t,e){const n=tn(t.expressions,e);t.expressions=n.length?n:[new nt({value:0})]}),xt(Xe,function(t,e){t.expression=t.expression.transform(e)}),xt(kn,function(t,e){t.expression=t.expression.transform(e),t.property=t.property.transform(e)}),xt(Sn,function(t,e){t.expression=t.expression.transform(e)}),xt(Ar,function(t,e){t.expression&&(t.expression=t.expression.transform(e))}),xt(Tr,function(t,e){t.expression=t.expression.transform(e)}),xt(en,function(t,e){t.expression=t.expression.transform(e)}),xt(pe,function(t,e){t.left=t.left.transform(e),t.right=t.right.transform(e)}),xt(fi,function(t,e){t.key=t.key.transform(e),t.value=t.value.transform(e)}),xt(it,function(t,e){t.condition=t.condition.transform(e),t.consequent=t.consequent.transform(e),t.alternative=t.alternative.transform(e)}),xt(Ft,function(t,e){t.elements=tn(t.elements,e)}),xt(jt,function(t,e){t.properties=tn(t.properties,e)}),xt(_n,function(t,e){t.key instanceof Oe&&(t.key=t.key.transform(e)),t.value&&(t.value=t.value.transform(e))}),xt(At,function(t,e){t.name&&(t.name=t.name.transform(e)),t.extends&&(t.extends=t.extends.transform(e)),t.properties=tn(t.properties,e)}),xt(Jn,function(t,e){t.body=tn(t.body,e)}),xt(gt,function(t,e){t.expression=t.expression.transform(e)}),xt(ui,function(t,e){t.foreign_name=t.foreign_name.transform(e),t.name=t.name.transform(e)}),xt(Lr,function(t,e){t.imported_name&&(t.imported_name=t.imported_name.transform(e)),t.imported_names&&tn(t.imported_names,e),t.module_name=t.module_name.transform(e)}),xt(Rn,function(t,e){t.exported_definition&&(t.exported_definition=t.exported_definition.transform(e)),t.exported_value&&(t.exported_value=t.exported_value.transform(e)),t.exported_names&&tn(t.exported_names,e),t.module_name&&(t.module_name=t.module_name.transform(e))}),xt(Zn,function(t,e){t.segments=tn(t.segments,e)}),xt(Yr,function(t,e){t.prefix=t.prefix.transform(e),t.template_string=t.template_string.transform(e)}),function(){var t=function(v){for(var p=0;p<v.length;p++)if(v[p]instanceof In&&v[p].body instanceof bt)v[p]=new ur({start:v[p].start,end:v[p].end,value:v[p].body.value});else return v;return v};const e=v=>v&&v.length>0?new jt({start:a(v),end:c(v),properties:v.map(p=>new an({start:a(p),end:c(p),key:p.key.name||p.key.value,value:d(p.value)}))}):null;var n={Program:function(v){return new Qt({start:a(v),end:c(v),body:t(v.body.map(d))})},ArrayPattern:function(v){return new qt({start:a(v),end:c(v),names:v.elements.map(function(p){return p===null?new Ur:d(p)}),is_array:!0})},ObjectPattern:function(v){return new qt({start:a(v),end:c(v),names:v.properties.map(d),is_array:!1})},AssignmentPattern:function(v){return new Mr({start:a(v),end:c(v),left:d(v.left),operator:"=",right:d(v.right)})},SpreadElement:function(v){return new gt({start:a(v),end:c(v),expression:d(v.argument)})},RestElement:function(v){return new gt({start:a(v),end:c(v),expression:d(v.argument)})},TemplateElement:function(v){return new Ti({start:a(v),end:c(v),value:v.value.cooked,raw:v.value.raw})},TemplateLiteral:function(v){for(var p=[],g=0;g<v.quasis.length;g++)p.push(d(v.quasis[g])),v.expressions[g]&&p.push(d(v.expressions[g]));return new Zn({start:a(v),end:c(v),segments:p})},TaggedTemplateExpression:function(v){return new Yr({start:a(v),end:c(v),template_string:d(v.quasi),prefix:d(v.tag)})},FunctionDeclaration:function(v){return new sn({start:a(v),end:c(v),name:d(v.id),argnames:v.params.map(d),is_generator:v.generator,async:v.async,body:t(d(v.body).body)})},FunctionExpression:function(v){return new Gt({start:a(v),end:c(v),name:d(v.id),argnames:v.params.map(d),is_generator:v.generator,async:v.async,body:t(d(v.body).body)})},ArrowFunctionExpression:function(v){const p=v.body.type==="BlockStatement"?d(v.body).body:[V(pn,{},{value:d(v.body)})];return new on({start:a(v),end:c(v),argnames:v.params.map(d),body:p,async:v.async})},ExpressionStatement:function(v){return new $e({start:a(v),end:c(v),body:d(v.expression)})},TryStatement:function(v){var p=v.handlers||[v.handler];if(p.length>1||v.guardedHandlers&&v.guardedHandlers.length)throw new Error("Multiple catch clauses are not supported.");return new Cr({start:a(v),end:c(v),body:new Mu(d(v.block)),bcatch:d(p[0]),bfinally:v.finalizer?new Jo(d(v.finalizer)):null})},Property:function(v){var p=v.key,g={start:a(p||v.value),end:c(v.value),key:p.type=="Identifier"?p.name:p.value,value:d(v.value)};if(v.computed&&(g.key=d(v.key)),v.method)return g.is_generator=v.value.generator,g.async=v.value.async,v.computed?g.key=d(v.key):g.key=new Hn({name:g.key}),new jn(g);if(v.kind=="init")return p.type!="Identifier"&&p.type!="Literal"&&(g.key=d(p)),new an(g);if((typeof g.key=="string"||typeof g.key=="number")&&(g.key=new Hn({name:g.key})),g.value=new $i(g.value),v.kind=="get")return new Qr(g);if(v.kind=="set")return new li(g);if(v.kind=="method")return g.async=v.value.async,g.is_generator=v.value.generator,g.quote=v.computed?'"':null,new jn(g)},MethodDefinition:function(v){const p=v.key.type==="PrivateIdentifier",g=v.computed?d(v.key):new Hn({name:v.key.name||v.key.value});var A={start:a(v),end:c(v),key:g,value:d(v.value),static:v.static};return v.kind=="get"?new(p?ci:Qr)(A):v.kind=="set"?new(p?Ai:li)(A):(A.is_generator=v.value.generator,A.async=v.value.async,new(p?Ci:jn)(A))},FieldDefinition:function(v){let p;if(v.computed)p=d(v.key);else{if(v.key.type!=="Identifier")throw new Error("Non-Identifier key in FieldDefinition");p=d(v.key)}return new mr({start:a(v),end:c(v),key:p,value:d(v.value),static:v.static})},PropertyDefinition:function(v){let p;if(v.computed)p=d(v.key);else{if(v.key.type==="PrivateIdentifier")return new Di({start:a(v),end:c(v),key:d(v.key),value:d(v.value),static:v.static});if(v.key.type!=="Identifier")throw new Error("Non-Identifier key in PropertyDefinition");p=d(v.key)}return new mr({start:a(v),end:c(v),key:p,value:d(v.value),static:v.static})},PrivateIdentifier:function(v){return new bs({start:a(v),end:c(v),name:v.name})},StaticBlock:function(v){return new Jn({start:a(v),end:c(v),body:v.body.map(d)})},ArrayExpression:function(v){return new Ft({start:a(v),end:c(v),elements:v.elements.map(function(p){return p===null?new Ur:d(p)})})},ObjectExpression:function(v){return new jt({start:a(v),end:c(v),properties:v.properties.map(function(p){return p.type==="SpreadElement"||(p.type="Property"),d(p)})})},SequenceExpression:function(v){return new mt({start:a(v),end:c(v),expressions:v.expressions.map(d)})},MemberExpression:function(v){return v.property.type==="PrivateIdentifier"?new Zr({start:a(v),end:c(v),property:v.property.name,expression:d(v.object),optional:v.optional||!1}):new(v.computed?kn:Jt)({start:a(v),end:c(v),property:v.computed?d(v.property):v.property.name,expression:d(v.object),optional:v.optional||!1})},ChainExpression:function(v){return new Sn({start:a(v),end:c(v),expression:d(v.expression)})},SwitchCase:function(v){return new(v.test?ii:wo)({start:a(v),end:c(v),expression:d(v.test),body:v.consequent.map(d)})},VariableDeclaration:function(v){return new(v.kind==="const"?si:v.kind==="let"?ai:Bn)({start:a(v),end:c(v),definitions:v.declarations.map(d)})},ImportDeclaration:function(v){var p=null,g=null;return v.specifiers.forEach(function(A){A.type==="ImportSpecifier"||A.type==="ImportNamespaceSpecifier"?(g||(g=[]),g.push(d(A))):A.type==="ImportDefaultSpecifier"&&(p=d(A))}),new Lr({start:a(v),end:c(v),imported_name:p,imported_names:g,module_name:d(v.source),assert_clause:e(v.assertions)})},ImportSpecifier:function(v){return new ui({start:a(v),end:c(v),foreign_name:d(v.imported),name:d(v.local)})},ImportDefaultSpecifier:function(v){return d(v.local)},ImportNamespaceSpecifier:function(v){return new ui({start:a(v),end:c(v),foreign_name:new Ro({name:"*"}),name:d(v.local)})},ExportAllDeclaration:function(v){var p=v.exported==null?new wi({name:"*"}):d(v.exported);return new Rn({start:a(v),end:c(v),exported_names:[new ui({name:new wi({name:"*"}),foreign_name:p})],module_name:d(v.source),assert_clause:e(v.assertions)})},ExportNamedDeclaration:function(v){return new Rn({start:a(v),end:c(v),exported_definition:d(v.declaration),exported_names:v.specifiers&&v.specifiers.length?v.specifiers.map(d):null,module_name:d(v.source),assert_clause:e(v.assertions)})},ExportDefaultDeclaration:function(v){return new Rn({start:a(v),end:c(v),exported_value:d(v.declaration),is_default:!0})},ExportSpecifier:function(v){return new ui({foreign_name:d(v.exported),name:d(v.local)})},Literal:function(v){var p=v.value,g={start:a(v),end:c(v)},A=v.regex;if(A&&A.pattern)return g.value={source:A.pattern,flags:A.flags},new yr(g);if(A){const k=v.raw||p,P=k.match(/^\/(.*)\/(\w*)$/);if(!P)throw new Error("Invalid regex source "+k);const[L,$,M]=P;return g.value={source:$,flags:M},new yr(g)}if(p===null)return new gr(g);switch(typeof p){case"string":g.quote='"';var O=h[h.length-2];return O.type=="ImportSpecifier"?(g.name=p,new Ro(g)):O.type=="ExportSpecifier"?(g.name=p,v==O.exported?new wi(g):new Fo(g)):O.type=="ExportAllDeclaration"&&v==O.exported?(g.name=p,new wi(g)):(g.value=p,new bt(g));case"number":return g.value=p,g.raw=v.raw||p.toString(),new nt(g);case"boolean":return new(p?Dr:Yi)(g)}},MetaProperty:function(v){if(v.meta.name==="new"&&v.property.name==="target")return new ea({start:a(v),end:c(v)});if(v.meta.name==="import"&&v.property.name==="meta")return new zi({start:a(v),end:c(v)})},Identifier:function(v){var p=h[h.length-2];return new(p.type=="LabeledStatement"?vs:p.type=="VariableDeclarator"&&p.id===v?p.kind=="const"?ho:p.kind=="let"?ta:Wi:/Import.*Specifier/.test(p.type)?p.local===v?na:Ro:p.type=="ExportSpecifier"?p.local===v?Fo:wi:p.type=="FunctionExpression"?p.id===v?hi:Mn:p.type=="FunctionDeclaration"?p.id===v?Oi:Mn:p.type=="ArrowFunctionExpression"?p.params.includes(v)?Mn:ke:p.type=="ClassExpression"?p.id===v?Vu:ke:p.type=="Property"?p.key===v&&p.computed||p.value===v?ke:Hn:p.type=="PropertyDefinition"||p.type==="FieldDefinition"?p.key===v&&p.computed||p.value===v?ke:Xi:p.type=="ClassDeclaration"?p.id===v?Uu:ke:p.type=="MethodDefinition"?p.computed?ke:Hn:p.type=="CatchClause"?ei:p.type=="BreakStatement"||p.type=="ContinueStatement"?Df:ke)({start:a(v),end:c(v),name:v.name})},BigIntLiteral(v){return new pi({start:a(v),end:c(v),value:v.value})},EmptyStatement:function(v){return new Ut({start:a(v),end:c(v)})},BlockStatement:function(v){return new tt({start:a(v),end:c(v),body:v.body.map(d)})},IfStatement:function(v){return new Vt({start:a(v),end:c(v),condition:d(v.test),body:d(v.consequent),alternative:d(v.alternate)})},LabeledStatement:function(v){return new rr({start:a(v),end:c(v),label:d(v.label),body:d(v.body)})},BreakStatement:function(v){return new Br({start:a(v),end:c(v),label:d(v.label)})},ContinueStatement:function(v){return new fo({start:a(v),end:c(v),label:d(v.label)})},WithStatement:function(v){return new Sr({start:a(v),end:c(v),expression:d(v.object),body:d(v.body)})},SwitchStatement:function(v){return new Qn({start:a(v),end:c(v),expression:d(v.discriminant),body:v.cases.map(d)})},ReturnStatement:function(v){return new pn({start:a(v),end:c(v),value:d(v.argument)})},ThrowStatement:function(v){return new gs({start:a(v),end:c(v),value:d(v.argument)})},WhileStatement:function(v){return new Hi({start:a(v),end:c(v),condition:d(v.test),body:d(v.body)})},DoWhileStatement:function(v){return new Si({start:a(v),end:c(v),condition:d(v.test),body:d(v.body)})},ForStatement:function(v){return new Dn({start:a(v),end:c(v),init:d(v.init),condition:d(v.test),step:d(v.update),body:d(v.body)})},ForInStatement:function(v){return new Yn({start:a(v),end:c(v),init:d(v.left),object:d(v.right),body:d(v.body)})},ForOfStatement:function(v){return new Oo({start:a(v),end:c(v),init:d(v.left),object:d(v.right),body:d(v.body),await:v.await})},AwaitExpression:function(v){return new Tr({start:a(v),end:c(v),expression:d(v.argument)})},YieldExpression:function(v){return new Ar({start:a(v),end:c(v),expression:d(v.argument),is_star:v.delegate})},DebuggerStatement:function(v){return new ji({start:a(v),end:c(v)})},VariableDeclarator:function(v){return new zt({start:a(v),end:c(v),name:d(v.id),value:d(v.init)})},CatchClause:function(v){return new oi({start:a(v),end:c(v),argname:d(v.param),body:d(v.body).body})},ThisExpression:function(v){return new $n({start:a(v),end:c(v)})},Super:function(v){return new ra({start:a(v),end:c(v)})},BinaryExpression:function(v){return v.left.type==="PrivateIdentifier"?new fi({start:a(v),end:c(v),key:new bs({start:a(v.left),end:c(v.left),name:v.left.name}),value:d(v.right)}):new pe({start:a(v),end:c(v),operator:v.operator,left:d(v.left),right:d(v.right)})},LogicalExpression:function(v){return new pe({start:a(v),end:c(v),operator:v.operator,left:d(v.left),right:d(v.right)})},AssignmentExpression:function(v){return new lt({start:a(v),end:c(v),operator:v.operator,left:d(v.left),right:d(v.right)})},ConditionalExpression:function(v){return new it({start:a(v),end:c(v),condition:d(v.test),consequent:d(v.consequent),alternative:d(v.alternate)})},NewExpression:function(v){return new cr({start:a(v),end:c(v),expression:d(v.callee),args:v.arguments.map(d)})},CallExpression:function(v){return new He({start:a(v),end:c(v),expression:d(v.callee),optional:v.optional,args:v.arguments.map(d)})}};n.UpdateExpression=n.UnaryExpression=function(p){var g="prefix"in p?p.prefix:p.type=="UnaryExpression";return new(g?qe:Ki)({start:a(p),end:c(p),operator:p.operator,expression:d(p.argument)})},n.ClassDeclaration=n.ClassExpression=function(p){return new(p.type==="ClassDeclaration"?Jr:ki)({start:a(p),end:c(p),name:d(p.id),extends:d(p.superClass),properties:p.body.body.map(d)})},b(Ut,function(){return{type:"EmptyStatement"}}),b(tt,function(p){return{type:"BlockStatement",body:p.body.map(x)}}),b(Vt,function(p){return{type:"IfStatement",test:x(p.condition),consequent:x(p.body),alternate:x(p.alternative)}}),b(rr,function(p){return{type:"LabeledStatement",label:x(p.label),body:x(p.body)}}),b(Br,function(p){return{type:"BreakStatement",label:x(p.label)}}),b(fo,function(p){return{type:"ContinueStatement",label:x(p.label)}}),b(Sr,function(p){return{type:"WithStatement",object:x(p.expression),body:x(p.body)}}),b(Qn,function(p){return{type:"SwitchStatement",discriminant:x(p.expression),cases:p.body.map(x)}}),b(pn,function(p){return{type:"ReturnStatement",argument:x(p.value)}}),b(gs,function(p){return{type:"ThrowStatement",argument:x(p.value)}}),b(Hi,function(p){return{type:"WhileStatement",test:x(p.condition),body:x(p.body)}}),b(Si,function(p){return{type:"DoWhileStatement",test:x(p.condition),body:x(p.body)}}),b(Dn,function(p){return{type:"ForStatement",init:x(p.init),test:x(p.condition),update:x(p.step),body:x(p.body)}}),b(Yn,function(p){return{type:"ForInStatement",left:x(p.init),right:x(p.object),body:x(p.body)}}),b(Oo,function(p){return{type:"ForOfStatement",left:x(p.init),right:x(p.object),body:x(p.body),await:p.await}}),b(Tr,function(p){return{type:"AwaitExpression",argument:x(p.expression)}}),b(Ar,function(p){return{type:"YieldExpression",argument:x(p.expression),delegate:p.is_star}}),b(ji,function(){return{type:"DebuggerStatement"}}),b(zt,function(p){return{type:"VariableDeclarator",id:x(p.name),init:x(p.value)}}),b(oi,function(p){return{type:"CatchClause",param:x(p.argname),body:F(p)}}),b($n,function(){return{type:"ThisExpression"}}),b(ra,function(){return{type:"Super"}}),b(pe,function(p){return{type:"BinaryExpression",operator:p.operator,left:x(p.left),right:x(p.right)}}),b(pe,function(p){return{type:"LogicalExpression",operator:p.operator,left:x(p.left),right:x(p.right)}}),b(lt,function(p){return{type:"AssignmentExpression",operator:p.operator,left:x(p.left),right:x(p.right)}}),b(it,function(p){return{type:"ConditionalExpression",test:x(p.condition),consequent:x(p.consequent),alternate:x(p.alternative)}}),b(cr,function(p){return{type:"NewExpression",callee:x(p.expression),arguments:p.args.map(x)}}),b(He,function(p){return{type:"CallExpression",callee:x(p.expression),optional:p.optional,arguments:p.args.map(x)}}),b(Qt,function(p){return R("Program",p)}),b(gt,function(p){return{type:w()?"RestElement":"SpreadElement",argument:x(p.expression)}}),b(Yr,function(p){return{type:"TaggedTemplateExpression",tag:x(p.prefix),quasi:x(p.template_string)}}),b(Zn,function(p){for(var g=[],A=[],O=0;O<p.segments.length;O++)O%2!==0?A.push(x(p.segments[O])):g.push({type:"TemplateElement",value:{raw:p.segments[O].raw,cooked:p.segments[O].value},tail:O===p.segments.length-1});return{type:"TemplateLiteral",quasis:g,expressions:A}}),b(sn,function(p){return{type:"FunctionDeclaration",id:x(p.name),params:p.argnames.map(x),generator:p.is_generator,async:p.async,body:R("BlockStatement",p)}}),b(Gt,function(p,g){var A=g.is_generator!==void 0?g.is_generator:p.is_generator;return{type:"FunctionExpression",id:x(p.name),params:p.argnames.map(x),generator:A,async:p.async,body:R("BlockStatement",p)}}),b(on,function(p){var g={type:"BlockStatement",body:p.body.map(x)};return{type:"ArrowFunctionExpression",params:p.argnames.map(x),async:p.async,body:g}}),b(qt,function(p){return p.is_array?{type:"ArrayPattern",elements:p.names.map(x)}:{type:"ObjectPattern",properties:p.names.map(x)}}),b(ur,function(p){return{type:"ExpressionStatement",expression:{type:"Literal",value:p.value,raw:p.print_to_string()},directive:p.value}}),b($e,function(p){return{type:"ExpressionStatement",expression:x(p.body)}}),b(Gi,function(p){return{type:"SwitchCase",test:x(p.expression),consequent:p.body.map(x)}}),b(Cr,function(p){return{type:"TryStatement",block:F(p.body),handler:x(p.bcatch),guardedHandlers:[],finalizer:x(p.bfinally)}}),b(oi,function(p){return{type:"CatchClause",param:x(p.argname),guard:null,body:F(p)}}),b(dn,function(p){return{type:"VariableDeclaration",kind:p instanceof si?"const":p instanceof ai?"let":"var",declarations:p.definitions.map(x)}});const r=v=>{const p=[];if(v)for(const{key:g,value:A}of v.properties){const O=Nu(g)?{type:"Identifier",name:g}:{type:"Literal",value:g,raw:JSON.stringify(g)};p.push({type:"ImportAttribute",key:O,value:x(A)})}return p};b(Rn,function(p){if(p.exported_names){var g=p.exported_names[0],A=g.name;if(A.name==="*"&&!A.quote){var O=g.foreign_name,k=O.name==="*"&&!O.quote?null:x(O);return{type:"ExportAllDeclaration",source:x(p.module_name),exported:k,assertions:r(p.assert_clause)}}return{type:"ExportNamedDeclaration",specifiers:p.exported_names.map(function(P){return{type:"ExportSpecifier",exported:x(P.foreign_name),local:x(P.name)}}),declaration:x(p.exported_definition),source:x(p.module_name),assertions:r(p.assert_clause)}}return{type:p.is_default?"ExportDefaultDeclaration":"ExportNamedDeclaration",declaration:x(p.exported_value||p.exported_definition)}}),b(Lr,function(p){var g=[];if(p.imported_name&&g.push({type:"ImportDefaultSpecifier",local:x(p.imported_name)}),p.imported_names){var A=p.imported_names[0].foreign_name;A.name==="*"&&!A.quote?g.push({type:"ImportNamespaceSpecifier",local:x(p.imported_names[0].name)}):p.imported_names.forEach(function(O){g.push({type:"ImportSpecifier",local:x(O.name),imported:x(O.foreign_name)})})}return{type:"ImportDeclaration",specifiers:g,source:x(p.module_name),assertions:r(p.assert_clause)}}),b(zi,function(){return{type:"MetaProperty",meta:{type:"Identifier",name:"import"},property:{type:"Identifier",name:"meta"}}}),b(mt,function(p){return{type:"SequenceExpression",expressions:p.expressions.map(x)}}),b(Zr,function(p){return{type:"MemberExpression",object:x(p.expression),computed:!1,property:{type:"PrivateIdentifier",name:p.property},optional:p.optional}}),b(Xe,function(p){var g=p instanceof kn;return{type:"MemberExpression",object:x(p.expression),computed:g,property:g?x(p.property):{type:"Identifier",name:p.property},optional:p.optional}}),b(Sn,function(p){return{type:"ChainExpression",expression:x(p.expression)}}),b(en,function(p){return{type:p.operator=="++"||p.operator=="--"?"UpdateExpression":"UnaryExpression",operator:p.operator,prefix:p instanceof qe,argument:x(p.expression)}}),b(pe,function(p){return p.operator=="="&&w()?{type:"AssignmentPattern",left:x(p.left),right:x(p.right)}:{type:p.operator=="&&"||p.operator=="||"||p.operator==="??"?"LogicalExpression":"BinaryExpression",left:x(p.left),operator:p.operator,right:x(p.right)}}),b(fi,function(p){return{type:"BinaryExpression",left:{type:"PrivateIdentifier",name:p.key.name},operator:"in",right:x(p.value)}}),b(Ft,function(p){return{type:"ArrayExpression",elements:p.elements.map(x)}}),b(jt,function(p){return{type:"ObjectExpression",properties:p.properties.map(x)}}),b(_n,function(p,g){var A=p.key instanceof Oe?x(p.key):{type:"Identifier",value:p.key};typeof p.key=="number"&&(A={type:"Literal",value:Number(p.key)}),typeof p.key=="string"&&(A={type:"Identifier",name:p.key});var O,k=typeof p.key=="string"||typeof p.key=="number",P=k?!1:!(p.key instanceof vt)||p.key instanceof ke;return p instanceof an?(O="init",P=!k):p instanceof Qr?O="get":p instanceof li&&(O="set"),p instanceof ci||p instanceof Ai?{type:"MethodDefinition",computed:!1,kind:p instanceof ci?"get":"set",static:p.static,key:{type:"PrivateIdentifier",name:p.key.name},value:x(p.value)}:p instanceof Di?{type:"PropertyDefinition",key:{type:"PrivateIdentifier",name:p.key.name},value:x(p.value),computed:!1,static:p.static}:p instanceof mr?{type:"PropertyDefinition",key:A,value:x(p.value),computed:P,static:p.static}:g instanceof At?{type:"MethodDefinition",computed:P,kind:O,static:p.static,key:x(p.key),value:x(p.value)}:{type:"Property",computed:P,kind:O,key:A,value:x(p.value)}}),b(jn,function(p,g){if(g instanceof jt)return{type:"Property",computed:!(p.key instanceof vt)||p.key instanceof ke,kind:"init",method:!0,shorthand:!1,key:x(p.key),value:x(p.value)};const A=p instanceof Ci?{type:"PrivateIdentifier",name:p.key.name}:x(p.key);return{type:"MethodDefinition",kind:p.key==="constructor"?"constructor":"method",key:A,value:x(p.value),computed:!(p.key instanceof vt)||p.key instanceof ke,static:p.static}}),b(At,function(p){var g=p instanceof ki?"ClassExpression":"ClassDeclaration";return{type:g,superClass:x(p.extends),id:p.name?x(p.name):null,body:{type:"ClassBody",body:p.properties.map(x)}}}),b(Jn,function(p){return{type:"StaticBlock",body:p.body.map(x)}}),b(ea,function(){return{type:"MetaProperty",meta:{type:"Identifier",name:"new"},property:{type:"Identifier",name:"target"}}}),b(vt,function(p,g){if(p instanceof Hn&&g.quote||(p instanceof Ro||p instanceof wi||p instanceof Fo)&&p.quote)return{type:"Literal",value:p.name};var A=p.definition();return{type:"Identifier",name:A?A.mangled_name||A.name:p.name}}),b(yr,function(p){const g=p.value.source,A=p.value.flags;return{type:"Literal",value:null,raw:p.print_to_string(),regex:{pattern:g,flags:A}}}),b(Nt,function(p){var g=p.value;return{type:"Literal",value:g,raw:p.raw||p.print_to_string()}}),b(po,function(p){return{type:"Identifier",name:String(p.value)}}),b(pi,v=>({type:"BigIntLiteral",value:v.value})),ju.DEFMETHOD("to_mozilla_ast",Nt.prototype.to_mozilla_ast),gr.DEFMETHOD("to_mozilla_ast",Nt.prototype.to_mozilla_ast),Ur.DEFMETHOD("to_mozilla_ast",function(){return null}),Cn.DEFMETHOD("to_mozilla_ast",tt.prototype.to_mozilla_ast),ze.DEFMETHOD("to_mozilla_ast",Gt.prototype.to_mozilla_ast);function a(v){var p=v.loc,g=p&&p.start,A=v.range;return new Af("","",g&&g.line||0,g&&g.column||0,A?A[0]:v.start,!1,[],[],p&&p.source)}function c(v){var p=v.loc,g=p&&p.end,A=v.range;return new Af("","",g&&g.line||0,g&&g.column||0,A?A[0]:v.end,!1,[],[],p&&p.source)}var h=null;function d(v){h.push(v);var p=v!=null?n[v.type](v):null;return h.pop(),p}Oe.from_mozilla_ast=function(v){var p=h;h=[];var g=d(v);return h=p,g};function E(v,p){var g=v.start,A=v.end;return g&&A&&(g.pos!=null&&A.endpos!=null&&(p.range=[g.pos,A.endpos]),g.line&&(p.loc={start:{line:g.line,column:g.col},end:A.endline?{line:A.endline,column:A.endcol}:null},g.file&&(p.loc.source=g.file))),p}function b(v,p){v.DEFMETHOD("to_mozilla_ast",function(g){return E(this,p(this,g))})}var T=null;function x(v){T===null&&(T=[]),T.push(v);var p=v!=null?v.to_mozilla_ast(T[T.length-2]):null;return T.pop(),T.length===0&&(T=null),p}function w(){for(var v=T.length;v--;)if(T[v]instanceof qt)return!0;return!1}function F(v){return{type:"BlockStatement",body:v.body.map(x)}}function R(v,p){var g=p.body.map(x);return p.body[0]instanceof $e&&p.body[0].body instanceof bt&&g.unshift(x(new Ut(p.body[0]))),{type:v,body:g}}}();function di(t){let e=t.parent(-1);for(let n=0,r;r=t.parent(n);n++){if(r instanceof In&&r.body===e)return!0;if(r instanceof mt&&r.expressions[0]===e||r.TYPE==="Call"&&r.expression===e||r instanceof Yr&&r.prefix===e||r instanceof Jt&&r.expression===e||r instanceof kn&&r.expression===e||r instanceof Sn&&r.expression===e||r instanceof it&&r.condition===e||r instanceof pe&&r.left===e||r instanceof Ki&&r.expression===e)e=r;else return!1}}function Zi(t){return t instanceof jt?!0:t instanceof mt?Zi(t.expressions[0]):t.TYPE==="Call"?Zi(t.expression):t instanceof Yr?Zi(t.prefix):t instanceof Jt||t instanceof kn||t instanceof Sn?Zi(t.expression):t instanceof it?Zi(t.condition):t instanceof pe?Zi(t.left):t instanceof Ki?Zi(t.expression):!1}const Id=10,Bd=32,Ld=/[@#]__(PURE|INLINE|NOINLINE)__/;function Rg(t){return(t.type==="comment2"||t.type==="comment1")&&/@preserve|@copyright|@lic|@cc_on|^\**!/i.test(t.value)}const Fg=8*1e3;class Ng{constructor(){this.committed="",this.current=""}append(e){this.current.length>Fg?(this.committed+=this.current+e,this.current=""):this.current+=e}insertAt(e,n){const{committed:r,current:a}=this;n<r.length?this.committed=r.slice(0,n)+e+r.slice(n):n===r.length?this.committed+=e:(n-=r.length,this.committed+=a.slice(0,n)+e,this.current=a.slice(n))}charAt(e){const{committed:n}=this;return e<n.length?n[e]:this.current[e-n.length]}charCodeAt(e){const{committed:n}=this;return e<n.length?n.charCodeAt(e):this.current.charCodeAt(e-n.length)}length(){return this.committed.length+this.current.length}expectDirective(){let e,n=this.length();if(n<=0)return!0;for(;(e=this.charCodeAt(--n))&&(e==Bd||e==Id););return!e||e===59||e===123}hasNLB(){let e=this.length()-1;for(;e>=0;){const n=this.charCodeAt(e--);if(n===Id)return!0;if(n!==Bd)return!1}return!0}toString(){return this.committed+this.current}}function wf(t){var e=!t;t=xi(t,{ascii_only:!1,beautify:!1,braces:!1,comments:"some",ecma:5,ie8:!1,indent_level:4,indent_start:0,inline_script:!0,keep_numbers:!1,keep_quoted_props:!1,max_line_len:!1,preamble:null,preserve_annotations:!1,quote_keys:!1,quote_style:0,safari10:!1,semicolons:!0,shebang:!0,shorthand:void 0,source_map:null,webkit:!1,width:80,wrap_iife:!1,wrap_func_args:!0,_destroy_ast:!1},!0),t.shorthand===void 0&&(t.shorthand=t.ecma>5);var n=Ot;if(t.comments){let le=t.comments;if(typeof t.comments=="string"&&/^\/.*\/[a-zA-Z]*$/.test(t.comments)){var r=t.comments.lastIndexOf("/");le=new RegExp(t.comments.substr(1,r-1),t.comments.substr(r+1))}le instanceof RegExp?n=function(we){return we.type!="comment5"&&le.test(we.value)}:typeof le=="function"?n=function(we){return we.type!="comment5"&&le(this,we)}:le==="some"?n=Rg:n=ar}if(t.preserve_annotations){let le=n;n=function(we){return Ld.test(we.value)||le.apply(this,arguments)}}var a=0,c=0,h=1,d=0,E=new Ng;let b=new Set;var T=t.ascii_only?function(le,we=!1,be=!1){return t.ecma>=2015&&!t.safari10&&!be&&(le=le.replace(/[\ud800-\udbff][\udc00-\udfff]/g,function(pt){var Et=Sg(pt,0).toString(16);return"\\u{"+Et+"}"})),le.replace(/[\u0000-\u001f\u007f-\uffff]/g,function(pt){var Et=pt.charCodeAt(0).toString(16);if(Et.length<=2&&!we){for(;Et.length<2;)Et="0"+Et;return"\\x"+Et}else{for(;Et.length<4;)Et="0"+Et;return"\\u"+Et}})}:function(le){return le.replace(/[\ud800-\udbff][\udc00-\udfff]|([\ud800-\udbff]|[\udc00-\udfff])/g,function(we,be){return be?"\\u"+be.charCodeAt(0).toString(16):we})};function x(le,we){var be=0,pt=0;le=le.replace(/[\\\b\f\n\r\v\t\x22\x27\u2028\u2029\0\ufeff]/g,function(Dt,Pt){switch(Dt){case'"':return++be,'"';case"'":return++pt,"'";case"\\":return"\\\\";case`
|
179
|
+
`:return"\\n";case"\r":return"\\r";case" ":return"\\t";case"\b":return"\\b";case"\f":return"\\f";case"\v":return t.ie8?"\\x0B":"\\v";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";case"\uFEFF":return"\\ufeff";case"\0":return/[0-9]/.test(wu(le,Pt+1))?"\\x00":"\\0"}return Dt});function Et(){return"'"+le.replace(/\x27/g,"\\'")+"'"}function Rt(){return'"'+le.replace(/\x22/g,'\\"')+'"'}function yn(){return"`"+le.replace(/`/g,"\\`")+"`"}if(le=T(le),we==="`")return yn();switch(t.quote_style){case 1:return Et();case 2:return Rt();case 3:return we=="'"?Et():Rt();default:return be>pt?Et():Rt()}}function w(le,we){var be=x(le,we);return t.inline_script&&(be=be.replace(/<\x2f(script)([>\/\t\n\f\r ])/gi,"<\\/$1$2"),be=be.replace(/\x3c!--/g,"\\x3c!--"),be=be.replace(/--\x3e/g,"--\\x3e")),be}function F(le){return le=le.toString(),le=T(le,!0),le}function R(le){return" ".repeat(t.indent_start+a-le*t.indent_level)}var v=!1,p=!1,g=!1,A=0,O=!1,k=!1,P=-1,L="",$,M,G=t.source_map&&[],N=G?function(){G.forEach(function(le){try{let{name:we,token:be}=le;we!==!1&&(be.type=="name"||be.type==="privatename"?we=be.value:we instanceof vt&&(we=be.type==="string"?be.value:we.name)),t.source_map.add(le.token.file,le.line,le.col,le.token.line,le.token.col,Nu(we)?we:void 0)}catch{}}),G=[]}:xr,z=t.max_line_len?function(){if(c>t.max_line_len&&A){E.insertAt(`
|
180
|
+
`,A);const we=E.length()-A-1;if(G){var le=we-c;G.forEach(function(be){be.line++,be.col+=le})}h++,d++,c=we}A&&(A=0,N())}:xr,Y=Bt("( [ + * / - , . `");function ne(le){le=String(le);var we=wu(le,0);O&&we&&(O=!1,we!==`
|
181
|
+
`&&(ne(`
|
182
|
+
`),ue())),k&&we&&(k=!1,/[\s;})]/.test(we)||re()),P=-1;var be=L.charAt(L.length-1);g&&(g=!1,(be===":"&&we==="}"||(!we||!";}".includes(we))&&be!==";")&&(t.semicolons||Y.has(we)?(E.append(";"),c++,d++):(z(),c>0&&(E.append(`
|
183
|
+
`),d++,h++,c=0),/^\s+$/.test(le)&&(g=!0)),t.beautify||(p=!1))),p&&((Fu(be)&&(Fu(we)||we=="\\")||we=="/"&&we==be||(we=="+"||we=="-")&&we==L)&&(E.append(" "),c++,d++),p=!1),$&&(G.push({token:$,name:M,line:h,col:c}),$=!1,A||N()),E.append(le),v=le[le.length-1]=="(",d+=le.length;var pt=le.split(/\r?\n/),Et=pt.length-1;h+=Et,c+=pt[0].length,Et>0&&(z(),c=pt[Et].length),L=le}var se=function(){ne("*")},re=t.beautify?function(){ne(" ")}:function(){p=!0},ue=t.beautify?function(le){t.beautify&&ne(R(le?.5:0))}:xr,ce=t.beautify?function(le,we){le===!0&&(le=oe());var be=a;a=le;var pt=we();return a=be,pt}:function(le,we){return we()},Ee=t.beautify?function(){if(P<0)return ne(`
|
184
|
+
`);E.charAt(P)!=`
|
185
|
+
`&&(E.insertAt(`
|
186
|
+
`,P),d++,h++),P++}:t.max_line_len?function(){z(),A=E.length()}:xr,Te=t.beautify?function(){ne(";")}:function(){g=!0};function _e(){g=!1,ne(";")}function oe(){return a+t.indent_level}function Z(le){var we;return ne("{"),Ee(),ce(oe(),function(){we=le()}),ue(),ne("}"),we}function J(le){ne("(");var we=le();return ne(")"),we}function te(le){ne("[");var we=le();return ne("]"),we}function ve(){ne(","),re()}function me(){ne(":"),re()}var Ze=G?function(le,we){$=le,M=we}:xr;function Ve(){return A&&z(),E.toString()}function ht(le){return t.preserve_annotations||(le=le.replace(Ld," ")),/^\s*$/.test(le)?"":le.replace(/(<\s*\/\s*)(script)/i,"<\\/$2")}function wt(le){var we=this,be=le.start;if(!be)return;var pt=we.printed_comments;const Et=le instanceof _r&&le.value||(le instanceof Tr||le instanceof Ar)&&le.expression;if(be.comments_before&&pt.has(be.comments_before))if(Et)be.comments_before=[];else return;var Rt=be.comments_before;if(Rt||(Rt=be.comments_before=[]),pt.add(Rt),Et){var yn=new Vn(function(kt){var It=yn.parent();if(It instanceof _r||It instanceof Tr||It instanceof Ar||It instanceof pe&&It.left===kt||It.TYPE=="Call"&&It.expression===kt||It instanceof it&&It.condition===kt||It instanceof Jt&&It.expression===kt||It instanceof mt&&It.expressions[0]===kt||It instanceof kn&&It.expression===kt||It instanceof Ki){if(!kt.start)return;var nn=kt.start.comments_before;nn&&!pt.has(nn)&&(pt.add(nn),Rt=Rt.concat(nn))}else return!0});yn.push(le),Et.walk(yn)}if(d==0){Rt.length>0&&t.shebang&&Rt[0].type==="comment5"&&!pt.has(Rt[0])&&(ne("#!"+Rt.shift().value+`
|
187
|
+
`),ue());var Dt=t.preamble;Dt&&ne(Dt.replace(/\r\n?|[\n\u2028\u2029]|\s*$/g,`
|
188
|
+
`))}if(Rt=Rt.filter(n,le).filter(kt=>!pt.has(kt)),Rt.length!=0){var Pt=E.hasNLB();Rt.forEach(function(kt,It){if(pt.add(kt),Pt||(kt.nlb?(ne(`
|
189
|
+
`),ue(),Pt=!0):It>0&&re()),/comment[134]/.test(kt.type)){var nn=ht(kt.value);nn&&(ne("//"+nn+`
|
190
|
+
`),ue()),Pt=!0}else if(kt.type=="comment2"){var nn=ht(kt.value);nn&&ne("/*"+nn+"*/"),Pt=!1}}),Pt||(be.nlb?(ne(`
|
191
|
+
`),ue()):re())}}function yt(le,we){var be=this,pt=le.end;if(pt){var Et=be.printed_comments,Rt=pt[we?"comments_before":"comments_after"];if(!(!Rt||Et.has(Rt))&&(le instanceof In||Rt.every(Dt=>!/comment[134]/.test(Dt.type)))){Et.add(Rt);var yn=E.length();Rt.filter(n,le).forEach(function(Dt,Pt){if(!Et.has(Dt)){if(Et.add(Dt),k=!1,O?(ne(`
|
192
|
+
`),ue(),O=!1):Dt.nlb&&(Pt>0||!E.hasNLB())?(ne(`
|
193
|
+
`),ue()):(Pt>0||!we)&&re(),/comment[134]/.test(Dt.type)){const kt=ht(Dt.value);kt&&ne("//"+kt),O=!0}else if(Dt.type=="comment2"){const kt=ht(Dt.value);kt&&ne("/*"+kt+"*/"),k=!0}}}),E.length()>yn&&(P=yn)}}}const St=t._destroy_ast?function(we){we.body.length=0,we.argnames.length=0}:xr;var Ct=[];return{get:Ve,toString:Ve,indent:ue,in_directive:!1,use_asm:null,active_scope:null,indentation:function(){return a},current_width:function(){return c-a},should_break:function(){return t.width&&this.current_width()>=t.width},has_parens:function(){return v},newline:Ee,print:ne,star:se,space:re,comma:ve,colon:me,last:function(){return L},semicolon:Te,force_semicolon:_e,to_utf8:T,print_name:function(le){ne(F(le))},print_string:function(le,we,be){var pt=w(le,we);be===!0&&!pt.includes("\\")&&(E.expectDirective()||_e(),_e()),ne(pt)},print_template_string_chars:function(le){var we=w(le,"`").replace(/\${/g,"\\${");return ne(we.substr(1,we.length-2))},encode_string:w,next_indent:oe,with_indent:ce,with_block:Z,with_parens:J,with_square:te,add_mapping:Ze,option:function(le){return t[le]},gc_scope:St,printed_comments:b,prepend_comments:e?xr:wt,append_comments:e||n===Ot?xr:yt,line:function(){return h},col:function(){return c},pos:function(){return d},push_node:function(le){Ct.push(le)},pop_node:function(){return Ct.pop()},parent:function(le){return Ct[Ct.length-2-(le||0)]}}}(function(){function t(p,g){p.DEFMETHOD("_codegen",g)}Oe.DEFMETHOD("print",function(p,g){var A=this,O=A._codegen;A instanceof Ye?p.active_scope=A:!p.use_asm&&A instanceof ur&&A.value=="use asm"&&(p.use_asm=p.active_scope);function k(){p.prepend_comments(A),A.add_source_map(p),O(A,p),p.append_comments(A)}p.push_node(A),g||A.needs_parens(p)?p.with_parens(k):k(),p.pop_node(),A===p.use_asm&&(p.use_asm=null)}),Oe.DEFMETHOD("_print",Oe.prototype.print),Oe.DEFMETHOD("print_to_string",function(p){var g=wf(p);return this.print(g),g.get()});function e(p,g){Array.isArray(p)?p.forEach(function(A){e(A,g)}):p.DEFMETHOD("needs_parens",g)}e(Oe,Ot),e(Gt,function(p){if(!p.has_parens()&&di(p))return!0;if(p.option("webkit")){var g=p.parent();if(g instanceof Xe&&g.expression===this)return!0}if(p.option("wrap_iife")){var g=p.parent();if(g instanceof He&&g.expression===this)return!0}if(p.option("wrap_func_args")){var g=p.parent();if(g instanceof He&&g.args.includes(this))return!0}return!1}),e(on,function(p){var g=p.parent();return p.option("wrap_func_args")&&g instanceof He&&g.args.includes(this)?!0:g instanceof Xe&&g.expression===this||g instanceof it&&g.condition===this}),e(jt,function(p){return!p.has_parens()&&di(p)}),e(ki,di),e(en,function(p){var g=p.parent();return g instanceof Xe&&g.expression===this||g instanceof He&&g.expression===this||g instanceof pe&&g.operator==="**"&&this instanceof qe&&g.left===this&&this.operator!=="++"&&this.operator!=="--"}),e(Tr,function(p){var g=p.parent();return g instanceof Xe&&g.expression===this||g instanceof He&&g.expression===this||g instanceof pe&&g.operator==="**"&&g.left===this||p.option("safari10")&&g instanceof qe}),e(mt,function(p){var g=p.parent();return g instanceof He||g instanceof en||g instanceof pe||g instanceof zt||g instanceof Xe||g instanceof Ft||g instanceof _n||g instanceof it||g instanceof on||g instanceof Mr||g instanceof gt||g instanceof Oo&&this===g.object||g instanceof Ar||g instanceof Rn}),e(pe,function(p){var g=p.parent();if(g instanceof He&&g.expression===this||g instanceof en||g instanceof Xe&&g.expression===this)return!0;if(g instanceof pe){const A=g.operator,O=this.operator;if(O==="??"&&(A==="||"||A==="&&")||A==="??"&&(O==="||"||O==="&&"))return!0;const k=Ir[A],P=Ir[O];if(k>P||k==P&&(this===g.right||A=="**"))return!0}if(g instanceof fi){const A=this.operator,O=Ir.in,k=Ir[A];if(O>k||O==k&&this===g.value)return!0}}),e(fi,function(p){var g=p.parent();if(g instanceof He&&g.expression===this||g instanceof en||g instanceof Xe&&g.expression===this)return!0;if(g instanceof pe){const A=g.operator,O=Ir[A],k=Ir.in;if(O>k||O==k&&(this===g.right||A=="**"))return!0}if(g instanceof fi&&this===g.value)return!0}),e(Ar,function(p){var g=p.parent();if(g instanceof pe&&g.operator!=="="||g instanceof He&&g.expression===this||g instanceof it&&g.condition===this||g instanceof en||g instanceof Xe&&g.expression===this)return!0}),e(Sn,function(p){var g=p.parent();return g instanceof He||g instanceof Xe?g.expression===this:!1}),e(Xe,function(p){var g=p.parent();if(g instanceof cr&&g.expression===this)return Un(this,A=>{if(A instanceof Ye)return!0;if(A instanceof He)return vr})}),e(He,function(p){var g=p.parent(),A;return g instanceof cr&&g.expression===this||g instanceof Rn&&g.is_default&&this.expression instanceof Gt?!0:this.expression instanceof Gt&&g instanceof Xe&&g.expression===this&&(A=p.parent(1))instanceof lt&&A.left===g}),e(cr,function(p){var g=p.parent();if(this.args.length===0&&(g instanceof Xe||g instanceof He&&g.expression===this||g instanceof Yr&&g.prefix===this))return!0}),e(nt,function(p){var g=p.parent();if(g instanceof Xe&&g.expression===this){var A=this.getValue();if(A<0||/^0/.test(F(A)))return!0}}),e(pi,function(p){var g=p.parent();if(g instanceof Xe&&g.expression===this){var A=this.getValue();if(A.startsWith("-"))return!0}}),e([lt,it],function(p){var g=p.parent();if(g instanceof en||g instanceof pe&&!(g instanceof lt)||g instanceof He&&g.expression===this||g instanceof it&&g.condition===this||g instanceof Xe&&g.expression===this||this instanceof lt&&this.left instanceof qt&&this.left.is_array===!1)return!0}),t(ur,function(p,g){g.print_string(p.value,p.quote),g.semicolon()}),t(gt,function(p,g){g.print("..."),p.expression.print(g)}),t(qt,function(p,g){g.print(p.is_array?"[":"{");var A=p.names.length;p.names.forEach(function(O,k){k>0&&g.comma(),O.print(g),k==A-1&&O instanceof Ur&&g.comma()}),g.print(p.is_array?"]":"}")}),t(ji,function(p,g){g.print("debugger"),g.semicolon()});function n(p,g,A,O){var k=p.length-1;A.in_directive=O,p.forEach(function(P,L){A.in_directive===!0&&!(P instanceof ur||P instanceof Ut||P instanceof $e&&P.body instanceof bt)&&(A.in_directive=!1),P instanceof Ut||(A.indent(),P.print(A),L==k&&g||(A.newline(),g&&A.newline())),A.in_directive===!0&&P instanceof $e&&P.body instanceof bt&&(A.in_directive=!1)}),A.in_directive=!1}ko.DEFMETHOD("_do_print_body",function(p){x(this.body,p)}),t(In,function(p,g){p.body.print(g),g.semicolon()}),t(Qt,function(p,g){n(p.body,!0,g,!0),g.print("")}),t(rr,function(p,g){p.label.print(g),g.colon(),p.body.print(g)}),t($e,function(p,g){p.body.print(g),g.semicolon()});function r(p,g){g.print("{"),g.with_indent(g.next_indent(),function(){g.append_comments(p,!0)}),g.add_mapping(p.end),g.print("}")}function a(p,g,A){p.body.length>0?g.with_block(function(){n(p.body,!1,g,A),g.add_mapping(p.end)}):r(p,g)}t(tt,function(p,g){a(p,g)}),t(Ut,function(p,g){g.semicolon()}),t(Si,function(p,g){g.print("do"),g.space(),R(p.body,g),g.space(),g.print("while"),g.space(),g.with_parens(function(){p.condition.print(g)}),g.semicolon()}),t(Hi,function(p,g){g.print("while"),g.space(),g.with_parens(function(){p.condition.print(g)}),g.space(),p._do_print_body(g)}),t(Dn,function(p,g){g.print("for"),g.space(),g.with_parens(function(){p.init?(p.init instanceof dn?p.init.print(g):h(p.init,g,!0),g.print(";"),g.space()):g.print(";"),p.condition?(p.condition.print(g),g.print(";"),g.space()):g.print(";"),p.step&&p.step.print(g)}),g.space(),p._do_print_body(g)}),t(Yn,function(p,g){g.print("for"),p.await&&(g.space(),g.print("await")),g.space(),g.with_parens(function(){p.init.print(g),g.space(),g.print(p instanceof Oo?"of":"in"),g.space(),p.object.print(g)}),g.space(),p._do_print_body(g)}),t(Sr,function(p,g){g.print("with"),g.space(),g.with_parens(function(){p.expression.print(g)}),g.space(),p._do_print_body(g)}),ze.DEFMETHOD("_do_print",function(p,g){var A=this;g||(A.async&&(p.print("async"),p.space()),p.print("function"),A.is_generator&&p.star(),A.name&&p.space()),A.name instanceof vt?A.name.print(p):g&&A.name instanceof Oe&&p.with_square(function(){A.name.print(p)}),p.with_parens(function(){A.argnames.forEach(function(O,k){k&&p.comma(),O.print(p)})}),p.space(),a(A,p,!0)}),t(ze,function(p,g){p._do_print(g),g.gc_scope(p)}),t(Yr,function(p,g){var A=p.prefix,O=A instanceof ze||A instanceof pe||A instanceof it||A instanceof mt||A instanceof en||A instanceof Jt&&A.expression instanceof jt;O&&g.print("("),p.prefix.print(g),O&&g.print(")"),p.template_string.print(g)}),t(Zn,function(p,g){var A=g.parent()instanceof Yr;g.print("`");for(var O=0;O<p.segments.length;O++)p.segments[O]instanceof Ti?A?g.print(p.segments[O].raw):g.print_template_string_chars(p.segments[O].value):(g.print("${"),p.segments[O].print(g),g.print("}"));g.print("`")}),t(Ti,function(p,g){g.print_template_string_chars(p.value)}),on.DEFMETHOD("_do_print",function(p){var g=this,A=p.parent(),O=A instanceof pe&&!(A instanceof lt)||A instanceof en||A instanceof He&&g===A.expression;O&&p.print("("),g.async&&(p.print("async"),p.space()),g.argnames.length===1&&g.argnames[0]instanceof vt?g.argnames[0].print(p):p.with_parens(function(){g.argnames.forEach(function(P,L){L&&p.comma(),P.print(p)})}),p.space(),p.print("=>"),p.space();const k=g.body[0];if(g.body.length===1&&k instanceof pn){const P=k.value;P?Zi(P)?(p.print("("),P.print(p),p.print(")")):P.print(p):p.print("{}")}else a(g,p);O&&p.print(")"),p.gc_scope(g)}),_r.DEFMETHOD("_do_print",function(p,g){if(p.print(g),this.value){p.space();const A=this.value.start.comments_before;A&&A.length&&!p.printed_comments.has(A)?(p.print("("),this.value.print(p),p.print(")")):this.value.print(p)}p.semicolon()}),t(pn,function(p,g){p._do_print(g,"return")}),t(gs,function(p,g){p._do_print(g,"throw")}),t(Ar,function(p,g){var A=p.is_star?"*":"";g.print("yield"+A),p.expression&&(g.space(),p.expression.print(g))}),t(Tr,function(p,g){g.print("await"),g.space();var A=p.expression,O=!(A instanceof He||A instanceof ke||A instanceof Xe||A instanceof en||A instanceof Nt||A instanceof Tr||A instanceof jt);O&&g.print("("),p.expression.print(g),O&&g.print(")")}),ri.DEFMETHOD("_do_print",function(p,g){p.print(g),this.label&&(p.space(),this.label.print(p)),p.semicolon()}),t(Br,function(p,g){p._do_print(g,"break")}),t(fo,function(p,g){p._do_print(g,"continue")});function c(p,g){var A=p.body;if(g.option("braces")||g.option("ie8")&&A instanceof Si)return R(A,g);if(!A)return g.force_semicolon();for(;;)if(A instanceof Vt){if(!A.alternative){R(p.body,g);return}A=A.alternative}else if(A instanceof ko)A=A.body;else break;x(p.body,g)}t(Vt,function(p,g){g.print("if"),g.space(),g.with_parens(function(){p.condition.print(g)}),g.space(),p.alternative?(c(p,g),g.space(),g.print("else"),g.space(),p.alternative instanceof Vt?p.alternative.print(g):x(p.alternative,g)):p._do_print_body(g)}),t(Qn,function(p,g){g.print("switch"),g.space(),g.with_parens(function(){p.expression.print(g)}),g.space();var A=p.body.length-1;A<0?r(p,g):g.with_block(function(){p.body.forEach(function(O,k){g.indent(!0),O.print(g),k<A&&O.body.length>0&&g.newline()})})}),Gi.DEFMETHOD("_do_print_body",function(p){p.newline(),this.body.forEach(function(g){p.indent(),g.print(p),p.newline()})}),t(wo,function(p,g){g.print("default:"),p._do_print_body(g)}),t(ii,function(p,g){g.print("case"),g.space(),p.expression.print(g),g.print(":"),p._do_print_body(g)}),t(Cr,function(p,g){g.print("try"),g.space(),p.body.print(g),p.bcatch&&(g.space(),p.bcatch.print(g)),p.bfinally&&(g.space(),p.bfinally.print(g))}),t(Mu,function(p,g){a(p,g)}),t(oi,function(p,g){g.print("catch"),p.argname&&(g.space(),g.with_parens(function(){p.argname.print(g)})),g.space(),a(p,g)}),t(Jo,function(p,g){g.print("finally"),g.space(),a(p,g)}),dn.DEFMETHOD("_do_print",function(p,g){p.print(g),p.space(),this.definitions.forEach(function(P,L){L&&p.comma(),P.print(p)});var A=p.parent(),O=A instanceof Dn||A instanceof Yn,k=!O||A&&A.init!==this;k&&p.semicolon()}),t(ai,function(p,g){p._do_print(g,"let")}),t(Bn,function(p,g){p._do_print(g,"var")}),t(si,function(p,g){p._do_print(g,"const")}),t(Lr,function(p,g){g.print("import"),g.space(),p.imported_name&&p.imported_name.print(g),p.imported_name&&p.imported_names&&(g.print(","),g.space()),p.imported_names&&(p.imported_names.length===1&&p.imported_names[0].foreign_name.name==="*"&&!p.imported_names[0].foreign_name.quote?p.imported_names[0].print(g):(g.print("{"),p.imported_names.forEach(function(A,O){g.space(),A.print(g),O<p.imported_names.length-1&&g.print(",")}),g.space(),g.print("}"))),(p.imported_name||p.imported_names)&&(g.space(),g.print("from"),g.space()),p.module_name.print(g),p.assert_clause&&(g.print("assert"),p.assert_clause.print(g)),g.semicolon()}),t(zi,function(p,g){g.print("import.meta")}),t(ui,function(p,g){var A=g.parent()instanceof Lr,O=p.name.definition(),k=p.foreign_name,P=(O&&O.mangled_name||p.name.name)!==k.name;!P&&k.name==="*"&&k.quote!=p.name.quote&&(P=!0);var L=k.quote==null;P?(A?L?g.print(k.name):g.print_string(k.name,k.quote):p.name.quote==null?p.name.print(g):g.print_string(p.name.name,p.name.quote),g.space(),g.print("as"),g.space(),A?p.name.print(g):L?g.print(k.name):g.print_string(k.name,k.quote)):p.name.quote==null?p.name.print(g):g.print_string(p.name.name,p.name.quote)}),t(Rn,function(p,g){if(g.print("export"),g.space(),p.is_default&&(g.print("default"),g.space()),p.exported_names)p.exported_names.length===1&&p.exported_names[0].name.name==="*"&&!p.exported_names[0].name.quote?p.exported_names[0].print(g):(g.print("{"),p.exported_names.forEach(function(A,O){g.space(),A.print(g),O<p.exported_names.length-1&&g.print(",")}),g.space(),g.print("}"));else if(p.exported_value)p.exported_value.print(g);else if(p.exported_definition&&(p.exported_definition.print(g),p.exported_definition instanceof dn))return;p.module_name&&(g.space(),g.print("from"),g.space(),p.module_name.print(g)),p.assert_clause&&(g.print("assert"),p.assert_clause.print(g)),(p.exported_value&&!(p.exported_value instanceof sn||p.exported_value instanceof Gt||p.exported_value instanceof At)||p.module_name||p.exported_names)&&g.semicolon()});function h(p,g,A){var O=!1;A&&(O=Un(p,k=>{if(k instanceof Ye&&!(k instanceof on))return!0;if(k instanceof pe&&k.operator=="in"||k instanceof fi)return vr})),p.print(g,O)}t(zt,function(p,g){if(p.name.print(g),p.value){g.space(),g.print("="),g.space();var A=g.parent(1),O=A instanceof Dn||A instanceof Yn;h(p.value,g,O)}}),t(He,function(p,g){p.expression.print(g),!(p instanceof cr&&p.args.length===0)&&((p.expression instanceof He||p.expression instanceof ze)&&g.add_mapping(p.start),p.optional&&g.print("?."),g.with_parens(function(){p.args.forEach(function(A,O){O&&g.comma(),A.print(g)})}))}),t(cr,function(p,g){g.print("new"),g.space(),He.prototype._codegen(p,g)}),mt.DEFMETHOD("_do_print",function(p){this.expressions.forEach(function(g,A){A>0&&(p.comma(),p.should_break()&&(p.newline(),p.indent())),g.print(p)})}),t(mt,function(p,g){p._do_print(g)}),t(Jt,function(p,g){var A=p.expression;A.print(g);var O=p.property,k=lo.has(O)?g.option("ie8"):!Cd(O,g.option("ecma")>=2015&&!g.option("safari10"));p.optional&&g.print("?."),k?(g.print("["),g.add_mapping(p.end),g.print_string(O),g.print("]")):(A instanceof nt&&A.getValue()>=0&&(/[xa-f.)]/i.test(g.last())||g.print(".")),p.optional||g.print("."),g.add_mapping(p.end),g.print_name(O))}),t(Zr,function(p,g){var A=p.expression;A.print(g);var O=p.property;p.optional&&g.print("?"),g.print(".#"),g.add_mapping(p.end),g.print_name(O)}),t(kn,function(p,g){p.expression.print(g),p.optional&&g.print("?."),g.print("["),p.property.print(g),g.print("]")}),t(Sn,function(p,g){p.expression.print(g)}),t(qe,function(p,g){var A=p.operator;A==="--"&&g.last().endsWith("!")&&g.print(" "),g.print(A),(/^[a-z]/i.test(A)||/[+-]$/.test(A)&&p.expression instanceof qe&&/^[+-]/.test(p.expression.operator))&&g.space(),p.expression.print(g)}),t(Ki,function(p,g){p.expression.print(g),g.print(p.operator)}),t(pe,function(p,g){var A=p.operator;p.left.print(g),A[0]==">"&&g.last().endsWith("--")?g.print(" "):g.space(),g.print(A),g.space(),p.right.print(g)}),t(it,function(p,g){p.condition.print(g),g.space(),g.print("?"),g.space(),p.consequent.print(g),g.space(),g.colon(),p.alternative.print(g)}),t(Ft,function(p,g){g.with_square(function(){var A=p.elements,O=A.length;O>0&&g.space(),A.forEach(function(k,P){P&&g.comma(),k.print(g),P===O-1&&k instanceof Ur&&g.comma()}),O>0&&g.space()})}),t(jt,function(p,g){p.properties.length>0?g.with_block(function(){p.properties.forEach(function(A,O){O&&(g.print(","),g.newline()),g.indent(),A.print(g)}),g.newline()}):r(p,g)}),t(At,function(p,g){if(g.print("class"),g.space(),p.name&&(p.name.print(g),g.space()),p.extends){var A=!(p.extends instanceof ke)&&!(p.extends instanceof Xe)&&!(p.extends instanceof ki)&&!(p.extends instanceof Gt);g.print("extends"),A?g.print("("):g.space(),p.extends.print(g),A?g.print(")"):g.space()}p.properties.length>0?g.with_block(function(){p.properties.forEach(function(O,k){k&&g.newline(),g.indent(),O.print(g)}),g.newline()}):g.print("{}")}),t(ea,function(p,g){g.print("new.target")});function d(p,g,A){if(A.option("quote_keys"))return A.print_string(p),!1;if(""+ +p==p&&p>=0)return A.option("keep_numbers")?(A.print(p),!1):(A.print(F(p)),!1);var O=lo.has(p)?A.option("ie8"):A.option("ecma")<2015||A.option("safari10")?!Nu(p):!Cd(p,!0);return O||g&&A.option("keep_quoted_props")?(A.print_string(p,g),!1):(A.print_name(p),!0)}t(an,function(p,g){function A(k){var P=k.definition();return P?P.mangled_name||P.name:k.name}const O=g.option("shorthand")&&!(p.key instanceof Oe);O&&p.value instanceof vt&&A(p.value)===p.key&&!lo.has(p.key)?d(p.key,p.quote,g)||(g.colon(),p.value.print(g)):O&&p.value instanceof Mr&&p.value.left instanceof vt&&A(p.value.left)===p.key?(d(p.key,p.quote,g)||(g.colon(),p.value.left.print(g)),g.space(),g.print("="),g.space(),p.value.right.print(g)):(p.key instanceof Oe?g.with_square(function(){p.key.print(g)}):d(p.key,p.quote,g),g.colon(),p.value.print(g))}),t(Di,(p,g)=>{p.static&&(g.print("static"),g.space()),g.print("#"),d(p.key.name,p.quote,g),p.value&&(g.print("="),p.value.print(g)),g.semicolon()}),t(mr,(p,g)=>{p.static&&(g.print("static"),g.space()),p.key instanceof Xi?d(p.key.name,p.quote,g):(g.print("["),p.key.print(g),g.print("]")),p.value&&(g.print("="),p.value.print(g)),g.semicolon()}),_n.DEFMETHOD("_print_getter_setter",function(p,g,A){var O=this;O.static&&(A.print("static"),A.space()),p&&(A.print(p),A.space()),O.key instanceof Hn?(g&&A.print("#"),d(O.key.name,O.quote,A),O.key.add_source_map(A)):A.with_square(function(){O.key.print(A)}),O.value._do_print(A,!0)}),t(li,function(p,g){p._print_getter_setter("set",!1,g)}),t(Qr,function(p,g){p._print_getter_setter("get",!1,g)}),t(Ai,function(p,g){p._print_getter_setter("set",!0,g)}),t(ci,function(p,g){p._print_getter_setter("get",!0,g)}),t(Ci,function(p,g){var A;p.is_generator&&p.async?A="async*":p.is_generator?A="*":p.async&&(A="async"),p._print_getter_setter(A,!0,g)}),t(fi,function(p,g){p.key.print(g),g.space(),g.print("in"),g.space(),p.value.print(g)}),t(bs,function(p,g){g.print("#"+p.name)}),t(jn,function(p,g){var A;p.is_generator&&p.async?A="async*":p.is_generator?A="*":p.async&&(A="async"),p._print_getter_setter(A,!1,g)}),t(Jn,function(p,g){g.print("static"),g.space(),a(p,g)}),vt.DEFMETHOD("_do_print",function(p){var g=this.definition();p.print_name(g?g.mangled_name||g.name:this.name)}),t(vt,function(p,g){p._do_print(g)}),t(Ur,xr),t($n,function(p,g){g.print("this")}),t(ra,function(p,g){g.print("super")}),t(Nt,function(p,g){g.print(p.getValue())}),t(bt,function(p,g){g.print_string(p.getValue(),p.quote,g.in_directive)}),t(nt,function(p,g){(g.option("keep_numbers")||g.use_asm)&&p.raw?g.print(p.raw):g.print(F(p.getValue()))}),t(pi,function(p,g){g.print(p.getValue()+"n")});const E=/(<\s*\/\s*script)/i,b=/^\s*script/i,T=(p,g)=>g.replace("/","\\/");t(yr,function(p,g){let{source:A,flags:O}=p.getValue();A=Au(A),O=O?hg(O):"",A=A.replace(E,T),b.test(A)&&g.last().endsWith("<")&&g.print(" "),g.print(g.to_utf8(`/${A}/${O}`,!1,!0));const k=g.parent();k instanceof pe&&/^\w/.test(k.operator)&&k.left===p&&g.print(" ")});function x(p,g){g.option("braces")?R(p,g):!p||p instanceof Ut?g.force_semicolon():p instanceof ai||p instanceof si||p instanceof At?R(p,g):p.print(g)}function w(p){for(var g=p[0],A=g.length,O=1;O<p.length;++O)p[O].length<A&&(g=p[O],A=g.length);return g}function F(p){var g=p.toString(10).replace(/^0\./,".").replace("e+","e"),A=[g];Math.floor(p)===p&&(p<0?A.push("-0x"+(-p).toString(16).toLowerCase()):A.push("0x"+p.toString(16).toLowerCase()));var O,k,P;return(O=/^\.0+/.exec(g))?(k=O[0].length,P=g.slice(k),A.push(P+"e-"+(P.length+k-1))):(O=/0+$/.exec(g))?(k=O[0].length,A.push(g.slice(0,-k)+"e"+k)):(O=/^(\d)\.(\d+)e(-?\d+)$/.exec(g))&&A.push(O[1]+O[2]+"e"+(O[3]-O[2].length)),w(A)}function R(p,g){!p||p instanceof Ut?g.print("{}"):p instanceof tt?p.print(g):g.with_block(function(){g.indent(),p.print(g),g.newline()})}function v(p,g){p.forEach(function(A){A.DEFMETHOD("add_source_map",g)})}v([Oe,rr,Qt],xr),v([Ft,tt,oi,At,Nt,ji,dn,ur,Jo,ys,ze,cr,jt,ko,vt,Qn,Gi,Zn,Ti,Cr],function(p){p.add_mapping(this.start)}),v([Qr,li,ci,Ai,jn,Ci],function(p){p.add_mapping(this.start,!1)}),v([Hn,bs],function(p){const g=this.end&&this.end.type;g==="name"||g==="privatename"?p.add_mapping(this.end,this.name):p.add_mapping(this.end)}),v([_n],function(p){p.add_mapping(this.start,this.key)})})();const Md=(t,e)=>t===null&&e===null||t.TYPE===e.TYPE&&t.shallow_cmp(e),Pg=(t,e)=>{if(!Md(t,e))return!1;const n=[t],r=[e],a=n.push.bind(n),c=r.push.bind(r);for(;n.length&&r.length;){const h=n.pop(),d=r.pop();if(!Md(h,d)||(h._children_backwards(a),d._children_backwards(c),n.length!==r.length))return!1}return n.length==0&&r.length==0},Ht=()=>!0;Oe.prototype.shallow_cmp=function(){throw new Error("did not find a shallow_cmp function for "+this.constructor.name)},ji.prototype.shallow_cmp=Ht,ur.prototype.shallow_cmp=function(t){return this.value===t.value},$e.prototype.shallow_cmp=Ht,Cn.prototype.shallow_cmp=Ht,Ut.prototype.shallow_cmp=Ht,rr.prototype.shallow_cmp=function(t){return this.label.name===t.label.name},Si.prototype.shallow_cmp=Ht,Hi.prototype.shallow_cmp=Ht,Dn.prototype.shallow_cmp=function(t){return(this.init==null?t.init==null:this.init===t.init)&&(this.condition==null?t.condition==null:this.condition===t.condition)&&(this.step==null?t.step==null:this.step===t.step)},Yn.prototype.shallow_cmp=Ht,Oo.prototype.shallow_cmp=Ht,Sr.prototype.shallow_cmp=Ht,Qt.prototype.shallow_cmp=Ht,gt.prototype.shallow_cmp=Ht,ze.prototype.shallow_cmp=function(t){return this.is_generator===t.is_generator&&this.async===t.async},qt.prototype.shallow_cmp=function(t){return this.is_array===t.is_array},Yr.prototype.shallow_cmp=Ht,Zn.prototype.shallow_cmp=Ht,Ti.prototype.shallow_cmp=function(t){return this.value===t.value},ys.prototype.shallow_cmp=Ht,ri.prototype.shallow_cmp=Ht,Tr.prototype.shallow_cmp=Ht,Ar.prototype.shallow_cmp=function(t){return this.is_star===t.is_star},Vt.prototype.shallow_cmp=function(t){return this.alternative==null?t.alternative==null:this.alternative===t.alternative},Qn.prototype.shallow_cmp=Ht,Gi.prototype.shallow_cmp=Ht,Cr.prototype.shallow_cmp=function(t){return this.body===t.body&&(this.bcatch==null?t.bcatch==null:this.bcatch===t.bcatch)&&(this.bfinally==null?t.bfinally==null:this.bfinally===t.bfinally)},oi.prototype.shallow_cmp=function(t){return this.argname==null?t.argname==null:this.argname===t.argname},Jo.prototype.shallow_cmp=Ht,dn.prototype.shallow_cmp=Ht,zt.prototype.shallow_cmp=function(t){return this.value==null?t.value==null:this.value===t.value},ui.prototype.shallow_cmp=Ht,Lr.prototype.shallow_cmp=function(t){return(this.imported_name==null?t.imported_name==null:this.imported_name===t.imported_name)&&(this.imported_names==null?t.imported_names==null:this.imported_names===t.imported_names)},zi.prototype.shallow_cmp=Ht,Rn.prototype.shallow_cmp=function(t){return(this.exported_definition==null?t.exported_definition==null:this.exported_definition===t.exported_definition)&&(this.exported_value==null?t.exported_value==null:this.exported_value===t.exported_value)&&(this.exported_names==null?t.exported_names==null:this.exported_names===t.exported_names)&&this.module_name===t.module_name&&this.is_default===t.is_default},He.prototype.shallow_cmp=Ht,mt.prototype.shallow_cmp=Ht,Xe.prototype.shallow_cmp=Ht,Sn.prototype.shallow_cmp=Ht,Jt.prototype.shallow_cmp=function(t){return this.property===t.property},Zr.prototype.shallow_cmp=function(t){return this.property===t.property},en.prototype.shallow_cmp=function(t){return this.operator===t.operator},pe.prototype.shallow_cmp=function(t){return this.operator===t.operator},it.prototype.shallow_cmp=Ht,Ft.prototype.shallow_cmp=Ht,jt.prototype.shallow_cmp=Ht,_n.prototype.shallow_cmp=Ht,an.prototype.shallow_cmp=function(t){return this.key===t.key},li.prototype.shallow_cmp=function(t){return this.static===t.static},Qr.prototype.shallow_cmp=function(t){return this.static===t.static},jn.prototype.shallow_cmp=function(t){return this.static===t.static&&this.is_generator===t.is_generator&&this.async===t.async},At.prototype.shallow_cmp=function(t){return(this.name==null?t.name==null:this.name===t.name)&&(this.extends==null?t.extends==null:this.extends===t.extends)},mr.prototype.shallow_cmp=function(t){return this.static===t.static},vt.prototype.shallow_cmp=function(t){return this.name===t.name},ea.prototype.shallow_cmp=Ht,$n.prototype.shallow_cmp=Ht,ra.prototype.shallow_cmp=Ht,bt.prototype.shallow_cmp=function(t){return this.value===t.value},nt.prototype.shallow_cmp=function(t){return this.value===t.value},pi.prototype.shallow_cmp=function(t){return this.value===t.value},yr.prototype.shallow_cmp=function(t){return this.value.flags===t.value.flags&&this.value.source===t.value.source},po.prototype.shallow_cmp=Ht;const Hu=1,Ig=2;let ia=null,oa=null,aa=null;class sa{constructor(e,n,r){this.name=n.name,this.orig=[n],this.init=r,this.eliminated=0,this.assignments=0,this.scope=e,this.replaced=0,this.global=!1,this.export=0,this.mangled_name=null,this.undeclared=!1,this.id=sa.next_id++,this.chained=!1,this.direct_access=!1,this.escaped=0,this.recursive_refs=0,this.references=[],this.should_replace=void 0,this.single_use=!1,this.fixed=!1,Object.seal(this)}fixed_value(){return!this.fixed||this.fixed instanceof Oe?this.fixed:this.fixed()}unmangleable(e){return e||(e={}),ia&&ia.has(this.id)&&Qo(e.keep_fnames,this.orig[0].name)?!0:this.global&&!e.toplevel||this.export&Hu||this.undeclared||!e.eval&&this.scope.pinned()||(this.orig[0]instanceof hi||this.orig[0]instanceof Oi)&&Qo(e.keep_fnames,this.orig[0].name)||this.orig[0]instanceof Hn||(this.orig[0]instanceof Vu||this.orig[0]instanceof Uu)&&Qo(e.keep_classnames,this.orig[0].name)}mangle(e){const n=e.cache&&e.cache.props;if(this.global&&n&&n.has(this.name))this.mangled_name=n.get(this.name);else if(!this.mangled_name&&!this.unmangleable(e)){var r=this.scope,a=this.orig[0];e.ie8&&a instanceof hi&&(r=r.parent_scope);const c=Rf(this);this.mangled_name=c?c.mangled_name||c.name:r.next_mangled(e,this),this.global&&n&&n.set(this.name,this.mangled_name)}}}sa.next_id=1;function Rf(t){if(t.orig[0]instanceof ei&&t.scope.is_block_scope())return t.scope.get_defun_scope().variables.get(t.name)}Ye.DEFMETHOD("figure_out_scope",function(t,{parent_scope:e=null,toplevel:n=this}={}){if(t=xi(t,{cache:null,ie8:!1,safari10:!1,module:!1}),!(n instanceof Qt))throw new Error("Invalid toplevel scope");var r=this.parent_scope=e,a=new Map,c=null,h=null,d=[],T=new Vn((x,w)=>{if(x.is_block_scope()){const k=r;if(x.block_scope=r=new Ye(x),r._block_scope=!0,r.init_scope_vars(k),r.uses_with=k.uses_with,r.uses_eval=k.uses_eval,t.safari10&&(x instanceof Dn||x instanceof Yn||x instanceof Oo)&&d.push(r),x instanceof Qn){const P=r;r=k,x.expression.walk(T),r=P;for(let L=0;L<x.body.length;L++)x.body[L].walk(T)}else w();return r=k,!0}if(x instanceof qt){const k=h;return h=x,w(),h=k,!0}if(x instanceof Ye){x.init_scope_vars(r);var F=r,R=c,v=a;return c=r=x,a=new Map,w(),r=F,c=R,a=v,!0}if(x instanceof rr){var p=x.label;if(a.has(p.name))throw new Error(Su("Label {name} defined twice",p));return a.set(p.name,p),w(),a.delete(p.name),!0}if(x instanceof Sr){for(var g=r;g;g=g.parent_scope)g.uses_with=!0;return}if(x instanceof vt&&(x.scope=r),x instanceof vs&&(x.thedef=x,x.references=[]),x instanceof hi)c.def_function(x,x.name=="arguments"?void 0:c);else if(x instanceof Oi){const k=c.parent_scope;x.scope=T.directives["use strict"]?k:k.get_defun_scope(),E(x.scope.def_function(x,c),1)}else if(x instanceof Vu)E(c.def_variable(x,c),1);else if(x instanceof na)r.def_variable(x);else if(x instanceof Uu)E((x.scope=c.parent_scope).def_function(x,c),1);else if(x instanceof Wi||x instanceof ta||x instanceof ho||x instanceof ei){var A;if(x instanceof qi?A=r.def_variable(x,null):A=c.def_variable(x,x.TYPE=="SymbolVar"?null:void 0),A.orig.every(k=>k===x?!0:x instanceof qi?k instanceof hi:!(k instanceof ta||k instanceof ho))||Pu(`"${x.name}" is redeclared`,x.start.file,x.start.line,x.start.col,x.start.pos),x instanceof Mn||E(A,2),c!==r){x.mark_enclosed();var A=r.find_variable(x);x.thedef!==A&&(x.thedef=A,x.reference())}}else if(x instanceof Df){var O=a.get(x.name);if(!O)throw new Error(Su("Undefined label {name} [{line},{col}]",{name:x.name,line:x.start.line,col:x.start.col}));x.thedef=O}!(r instanceof Qt)&&(x instanceof Rn||x instanceof Lr)&&Pu(`"${x.TYPE}" statement may only appear at the top level`,x.start.file,x.start.line,x.start.col,x.start.pos)});t.module&&(T.directives["use strict"]=!0),this.walk(T);function E(x,w){if(h){var F=0;do w++;while(T.parent(F++)!==h)}var R=T.parent(w);if(x.export=R instanceof Rn?Hu:0){var v=R.exported_definition;(v instanceof sn||v instanceof Jr)&&R.is_default&&(x.export=Ig)}}this instanceof Qt&&(this.globals=new Map);var T=new Vn(x=>{if(x instanceof ri&&x.label)return x.label.thedef.references.push(x),!0;if(x instanceof ke){var w=x.name;if(w=="eval"&&T.parent()instanceof He)for(var F=x.scope;F&&!F.uses_eval;F=F.parent_scope)F.uses_eval=!0;var R;return T.parent()instanceof ui&&T.parent(1).module_name||!(R=x.scope.find_variable(w))?(R=n.def_global(x),x instanceof Fo&&(R.export=Hu)):R.scope instanceof ze&&w=="arguments"&&(R.scope.get_defun_scope().uses_arguments=!0),x.thedef=R,x.reference(),x.scope.is_block_scope()&&!(R.orig[0]instanceof qi)&&(x.scope=x.scope.get_defun_scope()),!0}var v;if(x instanceof ei&&(v=Rf(x.definition())))for(var F=x.scope;F&&(Co(F.enclosed,v),F!==v.scope);)F=F.parent_scope});if(this.walk(T),(t.ie8||t.safari10)&&Un(this,x=>{if(x instanceof ei){var w=x.name,F=x.thedef.references,R=x.scope.get_defun_scope(),v=R.find_variable(w)||n.globals.get(w)||R.def_variable(x);return F.forEach(function(p){p.thedef=v,p.reference()}),x.thedef=v,x.reference(),!0}}),t.safari10)for(const x of d)x.parent_scope.variables.forEach(function(w){Co(x.enclosed,w)})}),Qt.DEFMETHOD("def_global",function(t){var e=this.globals,n=t.name;if(e.has(n))return e.get(n);var r=new sa(this,t);return r.undeclared=!0,r.global=!0,e.set(n,r),r}),Ye.DEFMETHOD("init_scope_vars",function(t){this.variables=new Map,this.uses_with=!1,this.uses_eval=!1,this.parent_scope=t,this.enclosed=[],this.cname=-1}),Ye.DEFMETHOD("conflicting_def",function(t){return this.enclosed.find(e=>e.name===t)||this.variables.has(t)||this.parent_scope&&this.parent_scope.conflicting_def(t)}),Ye.DEFMETHOD("conflicting_def_shallow",function(t){return this.enclosed.find(e=>e.name===t)||this.variables.has(t)}),Ye.DEFMETHOD("add_child_scope",function(t){if(t.parent_scope===this)return;t.parent_scope=this,t instanceof on&&!this.uses_arguments&&(this.uses_arguments=Un(t,a=>{if(a instanceof ke&&a.scope instanceof ze&&a.name==="arguments")return vr;if(a instanceof ze&&!(a instanceof on))return!0})),this.uses_with=this.uses_with||t.uses_with,this.uses_eval=this.uses_eval||t.uses_eval;const e=(()=>{const a=[];let c=this;do a.push(c);while(c=c.parent_scope);return a.reverse(),a})(),n=new Set(t.enclosed),r=[];for(const a of e){r.forEach(c=>Co(a.enclosed,c));for(const c of a.variables.values())n.has(c)&&(Co(r,c),Co(a.enclosed,c))}});function Bg(t){const e=new Set;for(const n of new Set(t))(function r(a){a==null||e.has(a)||(e.add(a),r(a.parent_scope))})(n);return[...e]}Ye.DEFMETHOD("create_symbol",function(t,{source:e,tentative_name:n,scope:r,conflict_scopes:a=[r],init:c=null}={}){let h;if(a=Bg(a),n){n=h=n.replace(/(?:^[^a-z_$]|[^a-z0-9_$])/ig,"_");let E=0;for(;a.find(b=>b.conflicting_def_shallow(h));)h=n+"$"+E++}if(!h)throw new Error("No symbol name could be generated in create_symbol()");const d=V(t,e,{name:h,scope:r});return this.def_variable(d,c||null),d.mark_enclosed(),d}),Oe.DEFMETHOD("is_block_scope",Ot),At.DEFMETHOD("is_block_scope",Ot),ze.DEFMETHOD("is_block_scope",Ot),Qt.DEFMETHOD("is_block_scope",Ot),Gi.DEFMETHOD("is_block_scope",Ot),Cn.DEFMETHOD("is_block_scope",ar),Ye.DEFMETHOD("is_block_scope",function(){return this._block_scope||!1}),Xr.DEFMETHOD("is_block_scope",ar),ze.DEFMETHOD("init_scope_vars",function(){Ye.prototype.init_scope_vars.apply(this,arguments),this.uses_arguments=!1,this.def_variable(new Mn({name:"arguments",start:this.start,end:this.end}))}),on.DEFMETHOD("init_scope_vars",function(){Ye.prototype.init_scope_vars.apply(this,arguments),this.uses_arguments=!1}),vt.DEFMETHOD("mark_enclosed",function(){for(var t=this.definition(),e=this.scope;e&&(Co(e.enclosed,t),e!==t.scope);)e=e.parent_scope}),vt.DEFMETHOD("reference",function(){this.definition().references.push(this),this.mark_enclosed()}),Ye.DEFMETHOD("find_variable",function(t){return t instanceof vt&&(t=t.name),this.variables.get(t)||this.parent_scope&&this.parent_scope.find_variable(t)}),Ye.DEFMETHOD("def_function",function(t,e){var n=this.def_variable(t,e);return(!n.init||n.init instanceof sn)&&(n.init=e),n}),Ye.DEFMETHOD("def_variable",function(t,e){var n=this.variables.get(t.name);return n?(n.orig.push(t),n.init&&(n.scope!==t.scope||n.init instanceof Gt)&&(n.init=e)):(n=new sa(this,t,e),this.variables.set(t.name,n),n.global=!this.parent_scope),t.thedef=n});function Ff(t,e){let n;aa&&(n=t.get_defun_scope())&&aa.has(n)&&(t=n);var r=t.enclosed,a=e.nth_identifier;e:for(;;){var c=a.get(++t.cname);if(!lo.has(c)&&!e.reserved.has(c)){if(oa&&oa.has(c))continue e;for(let h=r.length;--h>=0;){const d=r[h],E=d.mangled_name||d.unmangleable(e)&&d.name;if(c==E)continue e}return c}}}Ye.DEFMETHOD("next_mangled",function(t){return Ff(this,t)}),Qt.DEFMETHOD("next_mangled",function(t){let e;const n=this.mangled_names;do e=Ff(this,t);while(n.has(e));return e}),Gt.DEFMETHOD("next_mangled",function(t,e){for(var n=e.orig[0]instanceof Mn&&this.name&&this.name.definition(),r=n?n.mangled_name||n.name:null;;){var a=Ff(this,t);if(!r||r!=a)return a}}),vt.DEFMETHOD("unmangleable",function(t){var e=this.definition();return!e||e.unmangleable(t)}),vs.DEFMETHOD("unmangleable",Ot),vt.DEFMETHOD("unreferenced",function(){return!this.definition().references.length&&!this.scope.pinned()}),vt.DEFMETHOD("definition",function(){return this.thedef}),vt.DEFMETHOD("global",function(){return this.thedef.global});function $u(t){return t=xi(t,{eval:!1,nth_identifier:Ts,ie8:!1,keep_classnames:!1,keep_fnames:!1,module:!1,reserved:[],toplevel:!1}),t.module&&(t.toplevel=!0),!Array.isArray(t.reserved)&&!(t.reserved instanceof Set)&&(t.reserved=[]),t.reserved=new Set(t.reserved),t.reserved.add("arguments"),t}Qt.DEFMETHOD("mangle_names",function(t){t=$u(t);var e=t.nth_identifier,n=-1,r=[];t.keep_fnames&&(ia=new Set);const a=this.mangled_names=new Set;oa=new Set,t.cache&&(this.globals.forEach(h),t.cache.props&&t.cache.props.forEach(function(d){a.add(d)}));var c=new Vn(function(d,E){if(d instanceof rr){var b=n;return E(),n=b,!0}if(d instanceof sn&&!(c.parent()instanceof Ye)&&(aa=aa||new Set,aa.add(d.parent_scope.get_defun_scope())),d instanceof Ye){d.variables.forEach(h);return}if(d.is_block_scope()){d.block_scope.variables.forEach(h);return}if(ia&&d instanceof zt&&d.value instanceof ze&&!d.value.name&&Qo(t.keep_fnames,d.name.name)){ia.add(d.name.definition().id);return}if(d instanceof vs){let T;do T=e.get(++n);while(lo.has(T));return d.mangled_name=T,!0}if(!(t.ie8||t.safari10)&&d instanceof ei){r.push(d.definition());return}});this.walk(c),(t.keep_fnames||t.keep_classnames)&&r.forEach(d=>{d.name.length<6&&d.unmangleable(t)&&oa.add(d.name)}),r.forEach(d=>{d.mangle(t)}),ia=null,oa=null,aa=null;function h(d){d.export&Hu?oa.add(d.name):t.reserved.has(d.name)||r.push(d)}}),Qt.DEFMETHOD("find_colliding_names",function(t){const e=t.cache&&t.cache.props,n=new Set;return t.reserved.forEach(r),this.globals.forEach(a),this.walk(new Vn(function(c){c instanceof Ye&&c.variables.forEach(a),c instanceof ei&&a(c.definition())})),n;function r(c){n.add(c)}function a(c){var h=c.name;if(c.global&&e&&e.has(h))h=e.get(h);else if(!c.unmangleable(t))return;r(h)}}),Qt.DEFMETHOD("expand_names",function(t){t=$u(t);var e=t.nth_identifier;e.reset&&e.sort&&(e.reset(),e.sort());var n=this.find_colliding_names(t),r=0;this.globals.forEach(c),this.walk(new Vn(function(h){h instanceof Ye&&h.variables.forEach(c),h instanceof ei&&c(h.definition())}));function a(){var h;do h=e.get(r++);while(n.has(h)||lo.has(h));return h}function c(h){if(h.global&&t.cache||h.unmangleable(t)||t.reserved.has(h.name))return;const d=Rf(h),E=h.name=d?d.name:a();h.orig.forEach(function(b){b.name=E}),h.references.forEach(function(b){b.name=E})}}),Oe.DEFMETHOD("tail_node",Ao),mt.DEFMETHOD("tail_node",function(){return this.expressions[this.expressions.length-1]}),Qt.DEFMETHOD("compute_char_frequency",function(t){t=$u(t);var e=t.nth_identifier;if(!e.reset||!e.consider||!e.sort)return;e.reset();try{Oe.prototype.print=function(r,a){this._print(r,a),this instanceof vt&&!this.unmangleable(t)?e.consider(this.name,-1):t.properties&&(this instanceof Zr?e.consider("#"+this.property,-1):this instanceof Jt?e.consider(this.property,-1):this instanceof kn&&n(this.property))},e.consider(this.print_to_string(),1)}finally{Oe.prototype.print=Oe.prototype._print}e.sort();function n(r){r instanceof bt?e.consider(r.value,-1):r instanceof it?(n(r.consequent),n(r.alternative)):r instanceof mt&&n(r.tail_node())}});const Ts=(()=>{const t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_".split(""),e="0123456789".split("");let n,r;function a(){r=new Map,t.forEach(function(b){r.set(b,0)}),e.forEach(function(b){r.set(b,0)})}function c(b,T){for(var x=b.length;--x>=0;)r.set(b[x],r.get(b[x])+T)}function h(b,T){return r.get(T)-r.get(b)}function d(){n=gd(t,h).concat(gd(e,h))}a(),d();function E(b){var T="",x=54;b++;do b--,T+=n[b%x],b=Math.floor(b/x),x=64;while(b>0);return T}return{get:E,consider:c,reset:a,sort:d}})();let Gu;Oe.prototype.size=function(t,e){Gu=t&&t._mangle_options;let n=0;return Pd(this,(r,a)=>{if(n+=r._size(a),r instanceof on&&r.is_braceless())return n+=r.body[0].value._size(a),!0},e||t&&t.stack),Gu=void 0,n},Oe.prototype._size=()=>0,ji.prototype._size=()=>8,ur.prototype._size=function(){return 2+this.value.length};const cn=t=>t.length&&t.length-1;Cn.prototype._size=function(){return 2+cn(this.body)},Qt.prototype._size=function(){return cn(this.body)},Ut.prototype._size=()=>1,rr.prototype._size=()=>2,Si.prototype._size=()=>9,Hi.prototype._size=()=>7,Dn.prototype._size=()=>8,Yn.prototype._size=()=>8,Sr.prototype._size=()=>6,gt.prototype._size=()=>3;const As=t=>(t.is_generator?1:0)+(t.async?6:0);$i.prototype._size=function(){return As(this)+4+cn(this.argnames)+cn(this.body)},Gt.prototype._size=function(t){return!!di(t)*2+As(this)+12+cn(this.argnames)+cn(this.body)},sn.prototype._size=function(){return As(this)+13+cn(this.argnames)+cn(this.body)},on.prototype._size=function(){let t=2+cn(this.argnames);this.argnames.length===1&&this.argnames[0]instanceof vt||(t+=2);const e=this.is_braceless()?0:cn(this.body)+2;return As(this)+t+e},qt.prototype._size=()=>2,Zn.prototype._size=function(){return 2+Math.floor(this.segments.length/2)*3},Ti.prototype._size=function(){return this.value.length},pn.prototype._size=function(){return this.value?7:6},gs.prototype._size=()=>6,Br.prototype._size=function(){return this.label?6:5},fo.prototype._size=function(){return this.label?9:8},Vt.prototype._size=()=>4,Qn.prototype._size=function(){return 8+cn(this.body)},ii.prototype._size=function(){return 5+cn(this.body)},wo.prototype._size=function(){return 8+cn(this.body)},Cr.prototype._size=()=>3,oi.prototype._size=function(){let t=7+cn(this.body);return this.argname&&(t+=2),t},Jo.prototype._size=function(){return 7+cn(this.body)},Bn.prototype._size=function(){return 4+cn(this.definitions)},ai.prototype._size=function(){return 4+cn(this.definitions)},si.prototype._size=function(){return 6+cn(this.definitions)},zt.prototype._size=function(){return this.value?1:0},ui.prototype._size=function(){return this.name?4:0},Lr.prototype._size=function(){let t=6;return this.imported_name&&(t+=1),(this.imported_name||this.imported_names)&&(t+=5),this.imported_names&&(t+=2+cn(this.imported_names)),t},zi.prototype._size=()=>11,Rn.prototype._size=function(){let t=7+(this.is_default?8:0);return this.exported_value&&(t+=this.exported_value._size()),this.exported_names&&(t+=2+cn(this.exported_names)),this.module_name&&(t+=5),t},He.prototype._size=function(){return this.optional?4+cn(this.args):2+cn(this.args)},cr.prototype._size=function(){return 6+cn(this.args)},mt.prototype._size=function(){return cn(this.expressions)},Jt.prototype._size=function(){return this.optional?this.property.length+2:this.property.length+1},Zr.prototype._size=function(){return this.optional?this.property.length+3:this.property.length+2},kn.prototype._size=function(){return this.optional?4:2},en.prototype._size=function(){return this.operator==="typeof"?7:this.operator==="void"?5:this.operator.length},pe.prototype._size=function(t){if(this.operator==="in")return 4;let e=this.operator.length;return(this.operator==="+"||this.operator==="-")&&this.right instanceof en&&this.right.operator===this.operator&&(e+=1),this.needs_parens(t)&&(e+=2),e},it.prototype._size=()=>3,Ft.prototype._size=function(){return 2+cn(this.elements)},jt.prototype._size=function(t){let e=2;return di(t)&&(e+=2),e+cn(this.properties)};const zu=t=>typeof t=="string"?t.length:0;an.prototype._size=function(){return zu(this.key)+1};const Ku=t=>t?7:0;Qr.prototype._size=function(){return 5+Ku(this.static)+zu(this.key)},li.prototype._size=function(){return 5+Ku(this.static)+zu(this.key)},jn.prototype._size=function(){return Ku(this.static)+zu(this.key)+As(this)},Ci.prototype._size=function(){return jn.prototype._size.call(this)+1},ci.prototype._size=Ai.prototype._size=function(){return jn.prototype._size.call(this)+4},fi.prototype._size=function(){return 5},At.prototype._size=function(){return(this.name?8:7)+(this.extends?8:0)},Jn.prototype._size=function(){return 8+cn(this.body)},mr.prototype._size=function(){return Ku(this.static)+(typeof this.key=="string"?this.key.length+2:0)+(this.value?1:0)},Di.prototype._size=function(){return mr.prototype._size.call(this)+1},vt.prototype._size=function(){return Gu&&this.thedef&&!this.thedef.unmangleable(Gu)?1:this.name.length},Xi.prototype._size=function(){return this.name.length},ke.prototype._size=Ln.prototype._size=function(){return this.name==="arguments"?9:vt.prototype._size.call(this)},ea.prototype._size=()=>10,Ro.prototype._size=function(){return this.name.length},wi.prototype._size=function(){return this.name.length},$n.prototype._size=()=>4,ra.prototype._size=()=>5,bt.prototype._size=function(){return this.value.length+2},nt.prototype._size=function(){const{value:t}=this;return t===0?1:t>0&&Math.floor(t)===t?Math.floor(Math.log10(t)+1):t.toString().length},pi.prototype._size=function(){return this.value.length},yr.prototype._size=function(){return this.value.toString().length},gr.prototype._size=()=>4,Es.prototype._size=()=>3,un.prototype._size=()=>6,Ur.prototype._size=()=>0,_o.prototype._size=()=>8,Dr.prototype._size=()=>4,Yi.prototype._size=()=>5,Tr.prototype._size=()=>6,Ar.prototype._size=()=>6;const mo=1,Nf=2,Pf=4,If=8,Cs=16,ua=32,Po=256,Bf=512,Lf=1024,Lg=Po|Bf|Lf,Gn=(t,e)=>t.flags&e,kr=(t,e)=>{t.flags|=e},ca=(t,e)=>{t.flags&=~e};function Mf(t,e){return e instanceof mt?t.push(...e.expressions):t.push(e),t}function ot(t,e){if(e.length==1)return e[0];if(e.length==0)throw new Error("trying to create a sequence with length zero!");return V(mt,t,{expressions:e.reduce(Mf,[])})}function lr(t,e){switch(typeof t){case"string":return V(bt,e,{value:t});case"number":return isNaN(t)?V(Es,e):isFinite(t)?1/t<0?V(qe,e,{operator:"-",expression:V(nt,e,{value:-t})}):V(nt,e,{value:t}):t<0?V(qe,e,{operator:"-",expression:V(_o,e)}):V(_o,e);case"bigint":return V(pi,e,{value:t.toString()});case"boolean":return V(t?Dr:Yi,e);case"undefined":return V(un,e);default:if(t===null)return V(gr,e,{value:null});if(t instanceof RegExp)return V(yr,e,{value:{source:Au(t.source),flags:t.flags}});throw new Error(Su("Can't handle constant of type: {type}",{type:typeof t}))}}function Qi(t,e){return t.size()>e.size()?e:t}function Mg(t,e){return Qi(V($e,t,{body:t}),V($e,e,{body:e})).body}function Or(t,e,n){return di(t)?Mg(e,n):Qi(e,n)}function Ud(t){if(t instanceof Nt)return t.getValue();if(!(t instanceof qe&&t.operator=="void"&&t.expression instanceof Nt))return t}function Vd(t,e){if(e=Ud(e),!(e instanceof Oe)){var n;if(t instanceof Ft){var r=t.elements;if(e=="length")return lr(r.length,t);typeof e=="number"&&e in r&&(n=r[e])}else if(t instanceof jt){e=""+e;for(var a=t.properties,c=a.length;--c>=0;){var h=a[c];if(!(h instanceof an))return;!n&&a[c].key===e&&(n=a[c].value)}}return n instanceof ke&&n.fixed_value()||n}}function Uf(t,e){var n=!1,r=new Vn(function(a){if(n||a instanceof Ye)return!0;if(a instanceof ri&&r.loopcontrol_target(a)===t)return n=!0});return e instanceof rr&&r.push(e),r.push(t),t.body.walk(r),n}function Io(t,e,n){if(t instanceof qe&&t.operator=="delete"||t instanceof He&&t.expression===e&&(n instanceof Sn||n instanceof Xe||n instanceof ke&&n.name=="eval")){const r=V(nt,e,{value:0});return ot(e,[r,n])}else return n}function Wu(t){return t instanceof on||t instanceof Gt}function Vf(t){return t.TYPE!="Call"?!1:t.expression instanceof Gt||Vf(t.expression)}function yo(t){return t===null||t instanceof Ut?!0:t instanceof tt?t.body.length==0:!1}const jd=Bt("Infinity NaN undefined");function Hd(t){return t instanceof _o||t instanceof Es||t instanceof un}function jf(t,e){if(!(t instanceof ke))return!1;for(var n=t.definition().orig,r=n.length;--r>=0;)if(n[r]instanceof e)return!0}function Hf(t){return!(t instanceof Jr||t instanceof sn||t instanceof ai||t instanceof si||t instanceof Rn||t instanceof Lr)}function qu(t){if(t===null)return[];if(t instanceof tt)return t.body;if(t instanceof Ut)return[];if(t instanceof In)return[t];throw new Error("Can't convert thing to statement array")}function $d(t,e){const n=r=>{if(r instanceof ke&&e.includes(r.definition()))return vr};return Pd(t,(r,a)=>{if(r instanceof Ye&&r!==t){var c=a.parent();return c instanceof He&&c.expression===r&&!(r.async||r.is_generator)?void 0:Un(r,n)?vr:!0}})}function $f(t,e){for(var n,r=0;n=t.parent(r);r++)if(n instanceof ze||n instanceof At){var a=n.name;if(a&&a.definition()===e)return!0}return!1}function Gd(t,e){return e.top_retain&&t instanceof sn&&Gn(t,Lf)&&t.name&&e.top_retain(t.name.definition())}function Gf(t){const e=new Map;for(var n of Object.keys(t))e.set(n,Bt(t[n]));return(a,c)=>{const h=e.get(a);return h!=null&&h.has(c)}}const Xu=new Set(["Number","String","Array","Object","Function","Promise"]),Bo=["constructor","toString","valueOf"],zd=Gf({Array:["at","flat","includes","indexOf","join","lastIndexOf","slice",...Bo],Boolean:Bo,Function:Bo,Number:["toExponential","toFixed","toPrecision",...Bo],Object:Bo,RegExp:["test",...Bo],String:["at","charAt","charCodeAt","charPointAt","concat","endsWith","fromCharCode","fromCodePoint","includes","indexOf","italics","lastIndexOf","localeCompare","match","matchAll","normalize","padStart","padEnd","repeat","replace","replaceAll","search","slice","split","startsWith","substr","substring","repeat","toLocaleLowerCase","toLocaleUpperCase","toLowerCase","toUpperCase","trim","trimEnd","trimStart",...Bo]}),Kd=Gf({Array:["isArray"],Math:["abs","acos","asin","atan","ceil","cos","exp","floor","log","round","sin","sqrt","tan","atan2","pow","max","min"],Number:["isFinite","isNaN"],Object:["create","getOwnPropertyDescriptor","getOwnPropertyNames","getPrototypeOf","isExtensible","isFrozen","isSealed","hasOwn","keys"],String:["fromCharCode"]}),Ug=Gf({Math:["E","LN10","LN2","LOG2E","LOG10E","PI","SQRT1_2","SQRT2"],Number:["MAX_VALUE","MIN_VALUE","NaN","NEGATIVE_INFINITY","POSITIVE_INFINITY"]}),_i=t=>t instanceof ke&&t.definition().undeclared,zf=Bt("<<< >> << & | ^ ~"),Lo=Bt("&& || ??"),Yu=Bt("delete ++ --");(function(t){const e=Bt("! delete"),n=Bt("in instanceof == != === !== < <= >= >");t(Oe,Ot),t(qe,function(){return e.has(this.operator)}),t(pe,function(){return n.has(this.operator)||Lo.has(this.operator)&&this.left.is_boolean()&&this.right.is_boolean()}),t(it,function(){return this.consequent.is_boolean()&&this.alternative.is_boolean()}),t(lt,function(){return this.operator=="="&&this.right.is_boolean()}),t(mt,function(){return this.tail_node().is_boolean()}),t(Dr,ar),t(Yi,ar)})(function(t,e){t.DEFMETHOD("is_boolean",e)}),function(t){t(Oe,Ot),t(nt,ar);const e=Bt("+ - ~ ++ --");t(en,function(){return e.has(this.operator)&&!(this.expression instanceof pi)});const n=Bt("- * / % & | ^ << >> >>>");t(pe,function(r){return n.has(this.operator)||this.operator=="+"&&this.left.is_number(r)&&this.right.is_number(r)}),t(lt,function(r){return n.has(this.operator.slice(0,-1))||this.operator=="="&&this.right.is_number(r)}),t(mt,function(r){return this.tail_node().is_number(r)}),t(it,function(r){return this.consequent.is_number(r)&&this.alternative.is_number(r)})}(function(t,e){t.DEFMETHOD("is_number",e)}),function(t){t(Oe,Ot),t(nt,function(){return this.value===(this.value|0)}),t(qe,function(){return this.operator=="~"?this.expression.is_number():this.operator==="+"?this.expression.is_32_bit_integer():!1}),t(pe,function(){return zf.has(this.operator)})}(function(t,e){t.DEFMETHOD("is_32_bit_integer",e)}),function(t){t(Oe,Ot),t(bt,ar),t(Zn,ar),t(qe,function(){return this.operator=="typeof"}),t(pe,function(e){return this.operator=="+"&&(this.left.is_string(e)||this.right.is_string(e))}),t(lt,function(e){return(this.operator=="="||this.operator=="+=")&&this.right.is_string(e)}),t(mt,function(e){return this.tail_node().is_string(e)}),t(it,function(e){return this.consequent.is_string(e)&&this.alternative.is_string(e)})}(function(t,e){t.DEFMETHOD("is_string",e)});function mi(t,e){return Gn(t,If)||t instanceof un||t instanceof qe&&t.operator=="void"&&!t.expression.has_side_effects(e)}function Wd(t,e){let n;return t instanceof gr||mi(t,e)||t instanceof ke&&(n=t.definition().fixed)instanceof Oe&&yi(n,e)}function la(t,e){return t instanceof Xe||t instanceof He?t.optional&&Wd(t.expression,e)||la(t.expression,e):t instanceof Sn?la(t.expression,e):!1}function yi(t,e){return Wd(t,e)?!0:la(t,e)}(function(t){t(Oe,ar),t(Ut,Ot),t(Nt,Ot),t($n,Ot);function e(n,r){for(var a=n.length;--a>=0;)if(n[a].has_side_effects(r))return!0;return!1}t(Cn,function(n){return e(this.body,n)}),t(He,function(n){return!this.is_callee_pure(n)&&(!this.expression.is_call_pure(n)||this.expression.has_side_effects(n))?!0:e(this.args,n)}),t(Qn,function(n){return this.expression.has_side_effects(n)||e(this.body,n)}),t(ii,function(n){return this.expression.has_side_effects(n)||e(this.body,n)}),t(Cr,function(n){return this.body.has_side_effects(n)||this.bcatch&&this.bcatch.has_side_effects(n)||this.bfinally&&this.bfinally.has_side_effects(n)}),t(Vt,function(n){return this.condition.has_side_effects(n)||this.body&&this.body.has_side_effects(n)||this.alternative&&this.alternative.has_side_effects(n)}),t(zi,Ot),t(rr,function(n){return this.body.has_side_effects(n)}),t($e,function(n){return this.body.has_side_effects(n)}),t(ze,Ot),t(At,function(n){return this.extends&&this.extends.has_side_effects(n)?!0:e(this.properties,n)}),t(Jn,function(n){return e(this.body,n)}),t(pe,function(n){return this.left.has_side_effects(n)||this.right.has_side_effects(n)}),t(lt,ar),t(it,function(n){return this.condition.has_side_effects(n)||this.consequent.has_side_effects(n)||this.alternative.has_side_effects(n)}),t(en,function(n){return Yu.has(this.operator)||this.expression.has_side_effects(n)}),t(ke,function(n){return!this.is_declared(n)&&!Xu.has(this.name)}),t(Xi,Ot),t(Ln,Ot),t(jt,function(n){return e(this.properties,n)}),t(_n,function(n){return this.computed_key()&&this.key.has_side_effects(n)||this.value&&this.value.has_side_effects(n)}),t(mr,function(n){return this.computed_key()&&this.key.has_side_effects(n)||this.static&&this.value&&this.value.has_side_effects(n)}),t(jn,function(n){return this.computed_key()&&this.key.has_side_effects(n)}),t(Qr,function(n){return this.computed_key()&&this.key.has_side_effects(n)}),t(li,function(n){return this.computed_key()&&this.key.has_side_effects(n)}),t(Ft,function(n){return e(this.elements,n)}),t(Jt,function(n){return yi(this,n)?this.expression.has_side_effects(n):!this.optional&&this.expression.may_throw_on_access(n)?!0:this.expression.has_side_effects(n)}),t(kn,function(n){if(yi(this,n))return this.expression.has_side_effects(n);if(!this.optional&&this.expression.may_throw_on_access(n))return!0;var r=this.property.has_side_effects(n);return r&&this.optional?!0:r||this.expression.has_side_effects(n)}),t(Sn,function(n){return this.expression.has_side_effects(n)}),t(mt,function(n){return e(this.expressions,n)}),t(dn,function(n){return e(this.definitions,n)}),t(zt,function(){return this.value}),t(Ti,Ot),t(Zn,function(n){return e(this.segments,n)})})(function(t,e){t.DEFMETHOD("has_side_effects",e)}),function(t){t(Oe,ar),t(Nt,Ot),t(Ut,Ot),t(ze,Ot),t(Ln,Ot),t($n,Ot),t(zi,Ot);function e(n,r){for(var a=n.length;--a>=0;)if(n[a].may_throw(r))return!0;return!1}t(At,function(n){return this.extends&&this.extends.may_throw(n)?!0:e(this.properties,n)}),t(Jn,function(n){return e(this.body,n)}),t(Ft,function(n){return e(this.elements,n)}),t(lt,function(n){return this.right.may_throw(n)?!0:!n.has_directive("use strict")&&this.operator=="="&&this.left instanceof ke?!1:this.left.may_throw(n)}),t(pe,function(n){return this.left.may_throw(n)||this.right.may_throw(n)}),t(Cn,function(n){return e(this.body,n)}),t(He,function(n){return yi(this,n)?!1:e(this.args,n)?!0:this.is_callee_pure(n)?!1:this.expression.may_throw(n)?!0:!(this.expression instanceof ze)||e(this.expression.body,n)}),t(ii,function(n){return this.expression.may_throw(n)||e(this.body,n)}),t(it,function(n){return this.condition.may_throw(n)||this.consequent.may_throw(n)||this.alternative.may_throw(n)}),t(dn,function(n){return e(this.definitions,n)}),t(Vt,function(n){return this.condition.may_throw(n)||this.body&&this.body.may_throw(n)||this.alternative&&this.alternative.may_throw(n)}),t(rr,function(n){return this.body.may_throw(n)}),t(jt,function(n){return e(this.properties,n)}),t(_n,function(n){return this.value?this.value.may_throw(n):!1}),t(mr,function(n){return this.computed_key()&&this.key.may_throw(n)||this.static&&this.value&&this.value.may_throw(n)}),t(jn,function(n){return this.computed_key()&&this.key.may_throw(n)}),t(Qr,function(n){return this.computed_key()&&this.key.may_throw(n)}),t(li,function(n){return this.computed_key()&&this.key.may_throw(n)}),t(pn,function(n){return this.value&&this.value.may_throw(n)}),t(mt,function(n){return e(this.expressions,n)}),t($e,function(n){return this.body.may_throw(n)}),t(Jt,function(n){return yi(this,n)?!1:!this.optional&&this.expression.may_throw_on_access(n)||this.expression.may_throw(n)}),t(kn,function(n){return yi(this,n)?!1:!this.optional&&this.expression.may_throw_on_access(n)||this.expression.may_throw(n)||this.property.may_throw(n)}),t(Sn,function(n){return this.expression.may_throw(n)}),t(Qn,function(n){return this.expression.may_throw(n)||e(this.body,n)}),t(ke,function(n){return!this.is_declared(n)&&!Xu.has(this.name)}),t(Xi,Ot),t(Cr,function(n){return this.bcatch?this.bcatch.may_throw(n):this.body.may_throw(n)||this.bfinally&&this.bfinally.may_throw(n)}),t(en,function(n){return this.operator=="typeof"&&this.expression instanceof ke?!1:this.expression.may_throw(n)}),t(zt,function(n){return this.value?this.value.may_throw(n):!1})}(function(t,e){t.DEFMETHOD("may_throw",e)}),function(t){function e(n){let r=!0;return Un(this,a=>{if(a instanceof ke){if(Gn(this,Cs))return r=!1,vr;var c=a.definition();if(vf(c,this.enclosed)&&!this.variables.has(c.name)){if(n){var h=n.find_variable(a);if(c.undeclared?!h:h===c)return r="f",!0}return r=!1,vr}return!0}if(a instanceof $n&&this instanceof on)return r=!1,vr}),r}t(Oe,Ot),t(Nt,ar),t(At,function(n){if(this.extends&&!this.extends.is_constant_expression(n))return!1;for(const r of this.properties)if(r.computed_key()&&!r.key.is_constant_expression(n)||r.static&&r.value&&!r.value.is_constant_expression(n)||r instanceof Jn)return!1;return e.call(this,n)}),t(ze,e),t(en,function(){return this.expression.is_constant_expression()}),t(pe,function(){return this.left.is_constant_expression()&&this.right.is_constant_expression()}),t(Ft,function(){return this.elements.every(n=>n.is_constant_expression())}),t(jt,function(){return this.properties.every(n=>n.is_constant_expression())}),t(_n,function(){return!!(!(this.key instanceof Oe)&&this.value&&this.value.is_constant_expression())})}(function(t,e){t.DEFMETHOD("is_constant_expression",e)}),function(t){Oe.DEFMETHOD("may_throw_on_access",function(n){return!n.option("pure_getters")||this._dot_throw(n)});function e(n){return/strict/.test(n.option("pure_getters"))}t(Oe,e),t(gr,ar),t(un,ar),t(Nt,Ot),t(Ft,Ot),t(jt,function(n){if(!e(n))return!1;for(var r=this.properties.length;--r>=0;)if(this.properties[r]._dot_throw(n))return!0;return!1}),t(At,Ot),t(_n,Ot),t(Qr,ar),t(gt,function(n){return this.expression._dot_throw(n)}),t(Gt,Ot),t(on,Ot),t(Ki,Ot),t(qe,function(){return this.operator=="void"}),t(pe,function(n){return(this.operator=="&&"||this.operator=="||"||this.operator=="??")&&(this.left._dot_throw(n)||this.right._dot_throw(n))}),t(lt,function(n){return this.logical?!0:this.operator=="="&&this.right._dot_throw(n)}),t(it,function(n){return this.consequent._dot_throw(n)||this.alternative._dot_throw(n)}),t(Jt,function(n){return e(n)?this.property=="prototype"?!(this.expression instanceof Gt||this.expression instanceof At):!0:!1}),t(Sn,function(n){return this.expression._dot_throw(n)}),t(mt,function(n){return this.tail_node()._dot_throw(n)}),t(ke,function(n){if(this.name==="arguments"&&this.scope instanceof ze)return!1;if(Gn(this,If))return!0;if(!e(n)||_i(this)&&this.is_declared(n)||this.is_immutable())return!1;var r=this.fixed_value();return!r||r._dot_throw(n)})}(function(t,e){t.DEFMETHOD("_dot_throw",e)});function Mo(t,e){if(e instanceof en&&Yu.has(e.operator))return e.expression;if(e instanceof lt&&e.left===t||e instanceof Yn&&e.init===t)return t}(function(t){function e(r){return V(qe,r,{operator:"!",expression:r})}function n(r,a,c){var h=e(r);if(c){var d=V($e,a,{body:a});return Qi(h,d)===d?a:h}return Qi(h,a)}t(Oe,function(){return e(this)}),t(In,function(){throw new Error("Cannot negate a statement")}),t(Gt,function(){return e(this)}),t(At,function(){return e(this)}),t(on,function(){return e(this)}),t(qe,function(){return this.operator=="!"?this.expression:e(this)}),t(mt,function(r){var a=this.expressions.slice();return a.push(a.pop().negate(r)),ot(this,a)}),t(it,function(r,a){var c=this.clone();return c.consequent=c.consequent.negate(r),c.alternative=c.alternative.negate(r),n(this,c,a)}),t(pe,function(r,a){var c=this.clone(),h=this.operator;if(r.option("unsafe_comps"))switch(h){case"<=":return c.operator=">",c;case"<":return c.operator=">=",c;case">=":return c.operator="<",c;case">":return c.operator="<=",c}switch(h){case"==":return c.operator="!=",c;case"!=":return c.operator="==",c;case"===":return c.operator="!==",c;case"!==":return c.operator="===",c;case"&&":return c.operator="||",c.left=c.left.negate(r,a),c.right=c.right.negate(r),n(this,c,a);case"||":return c.operator="&&",c.left=c.left.negate(r,a),c.right=c.right.negate(r),n(this,c,a)}return e(this)})})(function(t,e){t.DEFMETHOD("negate",function(n,r){return e.call(this,n,r)})}),function(t){function e(n){return V(qe,n,{operator:"~",expression:n})}t(Oe,function(){return e(this)}),t(nt,function(){const n=~this.value;return n.toString().length>this.value.toString().length?e(this):V(nt,this,{value:n})}),t(qe,function(n){return this.operator=="~"&&(n||this.expression.is_32_bit_integer())?this.expression:e(this)})}(function(t,e){t.DEFMETHOD("bitwise_negate",e)});var Vg=Bt("Boolean decodeURI decodeURIComponent Date encodeURI encodeURIComponent Error escape EvalError isFinite isNaN Number Object parseFloat parseInt RangeError ReferenceError String SyntaxError TypeError unescape URIError");He.DEFMETHOD("is_callee_pure",function(t){if(t.option("unsafe")){var e=this.expression,n=this.args&&this.args[0]&&this.args[0].evaluate(t);if(e.expression&&e.expression.name==="hasOwnProperty"&&(n==null||n.thedef&&n.thedef.undeclared))return!1;if(_i(e)&&Vg.has(e.name)||e instanceof Jt&&_i(e.expression)&&Kd(e.expression.name,e.property))return!0}return this instanceof cr&&t.option("pure_new")||t.option("side_effects")&&pr(this,kf)?!0:!t.pure_funcs(this)}),Oe.DEFMETHOD("is_call_pure",Ot),Jt.DEFMETHOD("is_call_pure",function(t){if(!t.option("unsafe"))return;const e=this.expression;let n;return e instanceof Ft?n="Array":e.is_boolean()?n="Boolean":e.is_number(t)?n="Number":e instanceof yr?n="RegExp":e.is_string(t)?n="String":this.may_throw_on_access(t)||(n="Object"),n!=null&&zd(n,this.property)});const Vr=t=>t&&t.aborts();(function(t){t(In,co),t(ys,Ao);function e(){for(var n=0;n<this.body.length;n++)if(Vr(this.body[n]))return this.body[n];return null}t(Lr,co),t(tt,e),t(Gi,e),t(Jr,function(){for(const n of this.properties)if(n instanceof Jn&&n.aborts())return n;return null}),t(Jn,e),t(Vt,function(){return this.alternative&&Vr(this.body)&&Vr(this.alternative)&&this})})(function(t,e){t.DEFMETHOD("aborts",e)}),Oe.DEFMETHOD("contains_this",function(){return Un(this,t=>{if(t instanceof $n)return vr;if(t!==this&&t instanceof Ye&&!(t instanceof on))return!0})});function fa(t,e,n,r,a,c){var h=e.parent(a),d=Mo(n,h);if(d)return d;if(!c&&h instanceof He&&h.expression===n&&!(r instanceof on)&&!(r instanceof At)&&!h.is_callee_pure(t)&&(!(r instanceof Gt)||!(h instanceof cr)&&r.contains_this()))return!0;if(h instanceof Ft)return fa(t,e,h,h,a+1);if(h instanceof an&&n===h.value){var E=e.parent(a+1);return fa(t,e,E,E,a+2)}if(h instanceof Xe&&h.expression===n){var b=Vd(r,h.property);return!c&&fa(t,e,h,b,a+1)}}function zn(t,e){t.DEFMETHOD("_eval",e)}const ha=Symbol("This AST_Chain is nullish");Oe.DEFMETHOD("evaluate",function(t){if(!t.option("evaluate"))return this;var e=this._eval(t,1);if(!e||e instanceof RegExp)return e;if(typeof e=="function"||typeof e=="object"||e==ha)return this;if(typeof e=="string"){const n=this.size(t);if(e.length+2>n)return this}return e});var jg=Bt("! ~ - + void");Oe.DEFMETHOD("is_constant",function(){return this instanceof Nt?!(this instanceof yr):this instanceof qe&&this.expression instanceof Nt&&jg.has(this.operator)}),zn(In,function(){throw new Error(Su("Cannot evaluate a statement [{file}:{line},{col}]",this.start))}),zn(ze,Ao),zn(At,Ao),zn(Oe,Ao),zn(Nt,function(){return this.getValue()});const Hg=typeof BigInt=="function";zn(pi,function(){return Hg?BigInt(this.value):this}),zn(yr,function(t){let e=t.evaluated_regexps.get(this.value);if(e===void 0&&vd(this.value.source)){try{const{source:n,flags:r}=this.value;e=new RegExp(n,r)}catch{e=null}t.evaluated_regexps.set(this.value,e)}return e||this}),zn(Zn,function(){return this.segments.length!==1?this:this.segments[0].value}),zn(Gt,function(t){if(t.option("unsafe")){var e=function(){};return e.node=this,e.toString=()=>this.print_to_string(),e}return this}),zn(Ft,function(t,e){if(t.option("unsafe")){for(var n=[],r=0,a=this.elements.length;r<a;r++){var c=this.elements[r],h=c._eval(t,e);if(c===h)return this;n.push(h)}return n}return this}),zn(jt,function(t,e){if(t.option("unsafe")){for(var n={},r=0,a=this.properties.length;r<a;r++){var c=this.properties[r];if(c instanceof gt)return this;var h=c.key;if(h instanceof vt)h=h.name;else if(h instanceof Oe&&(h=h._eval(t,e),h===c.key))return this;if(typeof Object.prototype[h]=="function")return this;if(!(c.value instanceof Gt)&&(n[h]=c.value._eval(t,e),n[h]===c.value))return this}return n}return this});var $g=Bt("! typeof void");zn(qe,function(t,e){var n=this.expression;if(t.option("typeofs")&&this.operator=="typeof"&&(n instanceof ze||n instanceof ke&&n.fixed_value()instanceof ze))return"function";if($g.has(this.operator)||e++,n=n._eval(t,e),n===this.expression)return this;switch(this.operator){case"!":return!n;case"typeof":return n instanceof RegExp?this:typeof n;case"void":return;case"~":return~n;case"-":return-n;case"+":return+n}return this});var Gg=Bt("&& || ?? === !==");const zg=Bt("== != === !=="),qd=t=>typeof t=="object"||typeof t=="function"||typeof t=="symbol";zn(pe,function(t,e){Gg.has(this.operator)||e++;var n=this.left._eval(t,e);if(n===this.left)return this;var r=this.right._eval(t,e);if(r===this.right)return this;if(n!=null&&r!=null&&zg.has(this.operator)&&qd(n)&&qd(r)&&typeof n==typeof r)return this;if(typeof n=="bigint"!=(typeof r=="bigint")||typeof n=="bigint"&&(this.operator===">>>"||this.operator==="/"&&Number(r)===0))return this;var a;switch(this.operator){case"&&":a=n&&r;break;case"||":a=n||r;break;case"??":a=n??r;break;case"|":a=n|r;break;case"&":a=n&r;break;case"^":a=n^r;break;case"+":a=n+r;break;case"*":a=n*r;break;case"**":a=n**r;break;case"/":a=n/r;break;case"%":a=n%r;break;case"-":a=n-r;break;case"<<":a=n<<r;break;case">>":a=n>>r;break;case">>>":a=n>>>r;break;case"==":a=n==r;break;case"===":a=n===r;break;case"!=":a=n!=r;break;case"!==":a=n!==r;break;case"<":a=n<r;break;case"<=":a=n<=r;break;case">":a=n>r;break;case">=":a=n>=r;break;default:return this}return typeof a=="number"&&isNaN(a)&&t.find_parent(Sr)?this:a}),zn(it,function(t,e){var n=this.condition._eval(t,e);if(n===this.condition)return this;var r=n?this.consequent:this.alternative,a=r._eval(t,e);return a===r?this:a});const Kf=new Set;zn(ke,function(t,e){if(Kf.has(this))return this;var n=this.fixed_value();if(!n)return this;Kf.add(this);const r=n._eval(t,e);if(Kf.delete(this),r===n)return this;if(r&&typeof r=="object"){var a=this.definition().escaped;if(a&&e>a)return this}return r});const Xd={Array,Math,Number,Object,String},Kg=new Set(["dotAll","global","ignoreCase","multiline","sticky","unicode"]);zn(Xe,function(t,e){let n=this.expression._eval(t,e+1);if(n===ha||this.optional&&n==null)return ha;if(this.property==="length"){if(typeof n=="string")return n.length;if(n instanceof Ft&&n.elements.every(E=>!(E instanceof gt))&&n.elements.every(E=>!E.has_side_effects(t)))return n.elements.length}if(t.option("unsafe")){var r=this.property;if(r instanceof Oe&&(r=r._eval(t,e),r===this.property))return this;var a=this.expression;if(_i(a)){var c,h=a.name==="hasOwnProperty"&&r==="call"&&(c=t.parent()&&t.parent().args)&&c&&c[0]&&c[0].evaluate(t);if(h=h instanceof Jt?h.expression:h,h==null||h.thedef&&h.thedef.undeclared)return this.clone();if(!Ug(a.name,r))return this;n=Xd[a.name]}else{if(n instanceof RegExp){if(r=="source")return Au(n.source);if(r=="flags"||Kg.has(r))return n[r]}if(!n||n===a||!sr(n,r))return this;if(typeof n=="function")switch(r){case"name":return n.node.name?n.node.name.name:"";case"length":return n.node.length_property();default:return this}}return n[r]}return this}),zn(Sn,function(t,e){const n=this.expression._eval(t,e);return n===ha?void 0:n===this.expression?this:n}),zn(He,function(t,e){var n=this.expression;const r=n._eval(t,e);if(r===ha||this.optional&&r==null)return ha;if(t.option("unsafe")&&n instanceof Xe){var a=n.property;if(a instanceof Oe&&(a=a._eval(t,e),a===n.property))return this;var c,h=n.expression;if(_i(h)){var d=h.name==="hasOwnProperty"&&a==="call"&&this.args[0]&&this.args[0].evaluate(t);if(d=d instanceof Jt?d.expression:d,d==null||d.thedef&&d.thedef.undeclared)return this.clone();if(!Kd(h.name,a))return this;c=Xd[h.name]}else{if(c=h._eval(t,e+1),c===h||!c)return this;if(!zd(c.constructor.name,a))return this}for(var E=[],b=0,T=this.args.length;b<T;b++){var x=this.args[b],w=x._eval(t,e);if(x===w)return this;if(x instanceof ze)return this;E.push(w)}try{return c[a].apply(c,E)}catch{}}return this}),zn(cr,Ao);function ln(t,e){t.DEFMETHOD("drop_side_effect_free",e)}function Ds(t,e,n){var r=t.length;if(!r)return null;for(var a=[],c=!1,h=0;h<r;h++){var d=t[h].drop_side_effect_free(e,n);c|=d!==t[h],d&&(a.push(d),n=!1)}return c?a.length?a:null:t}ln(Oe,Ao),ln(Nt,co),ln($n,co),ln(He,function(t,e){if(la(this,t))return this.expression.drop_side_effect_free(t,e);if(!this.is_callee_pure(t)){if(this.expression.is_call_pure(t)){var n=this.args.slice();return n.unshift(this.expression.expression),n=Ds(n,t,e),n&&ot(this,n)}if(Wu(this.expression)&&(!this.expression.name||!this.expression.name.definition().references.length)){var r=this.clone();return r.expression.process_expression(!1,t),r}return this}var a=Ds(this.args,t,e);return a&&ot(this,a)}),ln($i,co),ln(Gt,co),ln(on,co),ln(At,function(t){const e=[];if(this.is_self_referential()&&this.has_side_effects(t))return this;const n=this.extends&&this.extends.drop_side_effect_free(t);n&&e.push(n);for(const a of this.properties)if(a instanceof Jn){if(a.has_side_effects(t))return this}else{const c=a.drop_side_effect_free(t);c&&e.push(c)}if(!e.length)return null;const r=ot(this,e);return this instanceof Jr?V($e,this,{body:r}):r}),ln(mr,function(t){const e=this.computed_key()&&this.key.drop_side_effect_free(t),n=this.static&&this.value&&this.value.drop_side_effect_free(t);return e&&n?ot(this,[e,n]):e||n||null}),ln(pe,function(t,e){var n=this.right.drop_side_effect_free(t);if(!n)return this.left.drop_side_effect_free(t,e);if(Lo.has(this.operator)){if(n===this.right)return this;var r=this.clone();return r.right=n,r}else{var a=this.left.drop_side_effect_free(t,e);return a?ot(this,[a,n]):this.right.drop_side_effect_free(t,e)}}),ln(lt,function(t){if(this.logical)return this;var e=this.left;if(e.has_side_effects(t)||t.has_directive("use strict")&&e instanceof Xe&&e.expression.is_constant())return this;for(kr(this,ua);e instanceof Xe;)e=e.expression;return e.is_constant_expression(t.find_parent(Ye))?this.right.drop_side_effect_free(t):this}),ln(it,function(t){var e=this.consequent.drop_side_effect_free(t),n=this.alternative.drop_side_effect_free(t);if(e===this.consequent&&n===this.alternative)return this;if(!e)return n?V(pe,this,{operator:"||",left:this.condition,right:n}):this.condition.drop_side_effect_free(t);if(!n)return V(pe,this,{operator:"&&",left:this.condition,right:e});var r=this.clone();return r.consequent=e,r.alternative=n,r}),ln(en,function(t,e){if(Yu.has(this.operator))return this.expression.has_side_effects(t)?ca(this,ua):kr(this,ua),this;if(this.operator=="typeof"&&this.expression instanceof ke)return null;var n=this.expression.drop_side_effect_free(t,e);return e&&n&&Vf(n)?n===this.expression&&this.operator=="!"?this:n.negate(t,e):n}),ln(ke,function(t){return this.is_declared(t)||Xu.has(this.name)?null:this}),ln(jt,function(t,e){var n=Ds(this.properties,t,e);return n&&ot(this,n)}),ln(_n,function(t,e){const r=this instanceof an&&this.key instanceof Oe&&this.key.drop_side_effect_free(t,e),a=this.value&&this.value.drop_side_effect_free(t,e);return r&&a?ot(this,[r,a]):r||a}),ln(jn,function(){return this.computed_key()?this.key:null}),ln(Qr,function(){return this.computed_key()?this.key:null}),ln(li,function(){return this.computed_key()?this.key:null}),ln(Ft,function(t,e){var n=Ds(this.elements,t,e);return n&&ot(this,n)}),ln(Jt,function(t,e){return la(this,t)?this.expression.drop_side_effect_free(t,e):!this.optional&&this.expression.may_throw_on_access(t)?this:this.expression.drop_side_effect_free(t,e)}),ln(kn,function(t,e){if(la(this,t))return this.expression.drop_side_effect_free(t,e);if(!this.optional&&this.expression.may_throw_on_access(t))return this;var n=this.property.drop_side_effect_free(t);if(n&&this.optional)return this;var r=this.expression.drop_side_effect_free(t,e);return r&&n?ot(this,[r,n]):r||n}),ln(Sn,function(t,e){return this.expression.drop_side_effect_free(t,e)}),ln(mt,function(t){var e=this.tail_node(),n=e.drop_side_effect_free(t);if(n===e)return this;var r=this.expressions.slice(0,-1);return n&&r.push(n),r.length?ot(this,r):V(nt,this,{value:0})}),ln(gt,function(t,e){return this.expression.drop_side_effect_free(t,e)}),ln(Ti,co),ln(Zn,function(t){var e=Ds(this.segments,t,di);return e&&ot(this,e)});const Wg=/keep_assign/;Ye.DEFMETHOD("drop_unused",function(t){if(!t.option("unused")||t.has_directive("use asm")||!this.variables)return;var e=this;if(e.pinned())return;var n=!(e instanceof Qt)||t.toplevel.funcs,r=!(e instanceof Qt)||t.toplevel.vars;const a=Wg.test(t.option("unused"))?Ot:function(R){if(R instanceof lt&&!R.logical&&(Gn(R,ua)||R.operator=="="))return R.left;if(R instanceof en&&Gn(R,ua))return R.expression};var c=new Map,h=new Map;e instanceof Qt&&t.top_retain&&e.variables.forEach(function(R){t.top_retain(R)&&c.set(R.id,R)});var d=new Map,E=new Map,b=new Set,T=this,x=new Vn(function(R,v){if(R instanceof ze&&R.uses_arguments&&!x.has_directive("use strict")&&R.argnames.forEach(function(A){if(A instanceof Ln){var O=A.definition();c.set(O.id,O)}}),R===e)return;if(R instanceof At&&R.has_side_effects(t)&&(R.is_self_referential()&&b.add(R),R.visit_nondeferred_class_parts(x)),R instanceof sn||R instanceof Jr){var p=R.name.definition();return(x.parent()instanceof Rn||!n&&T===e)&&p.global&&c.set(p.id,p),Tu(E,p.id,R),!0}const g=T===e;if(R instanceof Mn&&g&&Tu(d,R.definition().id,R),R instanceof dn&&g){const A=x.parent()instanceof Rn;return R.definitions.forEach(function(O){if(O.name instanceof Wi&&Tu(d,O.name.definition().id,O),(A||!r)&&Un(O.name,P=>{if(P instanceof Ln){const L=P.definition();L.global&&c.set(L.id,L)}}),O.name instanceof qt&&O.walk(x),O.name instanceof Ln&&O.value){var k=O.name.definition();Tu(E,k.id,O.value),!k.chained&&O.name.fixed_value()===O.value&&h.set(k.id,O),O.value.has_side_effects(t)&&O.value.walk(x)}}),!0}return F(R,v)});e.walk(x),x=new Vn(F),c.forEach(function(R){var v=E.get(R.id);v&&v.forEach(function(p){p.walk(x)})}),b.forEach(function(R){R.walk(x)});var w=new br(function(v,p,g){var A=w.parent();if(r){const re=a(v);if(re instanceof ke){var k=re.definition(),O=c.has(k.id);if(v instanceof lt){if(!O||h.has(k.id)&&h.get(k.id)!==v)return Io(A,v,v.right.transform(w))}else if(!O)return g?tn.skip:V(nt,v,{value:0})}}if(T===e){var k;if(v.name&&(v instanceof ki&&!Qo(t.option("keep_classnames"),(k=v.name.definition()).name)||v instanceof Gt&&!Qo(t.option("keep_fnames"),(k=v.name.definition()).name))&&(!c.has(k.id)||k.orig.length>1)&&(v.name=null),v instanceof ze&&!(v instanceof $i))for(var P=!t.option("keep_fargs"),L=v.argnames,$=L.length;--$>=0;){var M=L[$];M instanceof gt&&(M=M.expression),M instanceof Mr&&(M=M.left),!(M instanceof qt)&&!c.has(M.definition().id)?(kr(M,mo),P&&L.pop()):P=!1}if(v instanceof Jr&&v!==e){const re=v.name.definition();if(p(v,this),!(re.global&&!n||c.has(re.id))){const ce=v.drop_side_effect_free(t);return ce??(re.eliminated++,g?tn.skip:V(Ut,v))}return v}if(v instanceof sn&&v!==e){const re=v.name.definition();if(!(re.global&&!n||c.has(re.id)))return re.eliminated++,g?tn.skip:V(Ut,v)}if(v instanceof dn&&!(A instanceof Yn&&A.init===v)){var G=!(A instanceof Qt)&&!(v instanceof Bn),N=[],z=[],Y=[],ne=[];switch(v.definitions.forEach(function(re){re.value&&(re.value=re.value.transform(w));var ue=re.name instanceof qt,ce=ue?new sa(null,{name:"<destructure>"}):re.name.definition();if(G&&ce.global)return Y.push(re);if(!(r||G)||ue&&(re.name.names.length||re.name.is_array||t.option("pure_getters")!=!0)||c.has(ce.id)){if(re.value&&h.has(ce.id)&&h.get(ce.id)!==re&&(re.value=re.value.drop_side_effect_free(t)),re.name instanceof Wi){var Ee=d.get(ce.id);if(Ee.length>1&&(!re.value||ce.orig.indexOf(re.name)>ce.eliminated)){if(re.value){var Te=V(ke,re.name,re.name);ce.references.push(Te);var _e=V(lt,re,{operator:"=",logical:!1,left:Te,right:re.value});h.get(ce.id)===re&&h.set(ce.id,_e),ne.push(_e.transform(w))}Zo(Ee,re),ce.eliminated++;return}}re.value?(ne.length>0&&(Y.length>0?(ne.push(re.value),re.value=ot(re.value,ne)):N.push(V($e,v,{body:ot(v,ne)})),ne=[]),Y.push(re)):z.push(re)}else if(ce.orig[0]instanceof ei){var oe=re.value&&re.value.drop_side_effect_free(t);oe&&ne.push(oe),re.value=null,z.push(re)}else{var oe=re.value&&re.value.drop_side_effect_free(t);oe&&ne.push(oe),ce.eliminated++}}),(z.length>0||Y.length>0)&&(v.definitions=z.concat(Y),N.push(v)),ne.length>0&&N.push(V($e,v,{body:ot(v,ne)})),N.length){case 0:return g?tn.skip:V(Ut,v);case 1:return N[0];default:return g?tn.splice(N):V(tt,v,{body:N})}}if(v instanceof Dn){p(v,this);var se;return v.init instanceof tt&&(se=v.init,v.init=se.body.pop(),se.body.push(v)),v.init instanceof $e?v.init=v.init.body:yo(v.init)&&(v.init=null),se?g?tn.splice(se.body):se:v}if(v instanceof rr&&v.body instanceof Dn){if(p(v,this),v.body instanceof tt){var se=v.body;return v.body=se.body.pop(),se.body.push(v),g?tn.splice(se.body):se}return v}if(v instanceof tt)return p(v,this),g&&v.body.every(Hf)?tn.splice(v.body):v;if(v instanceof Ye&&!(v instanceof Jn)){const re=T;return T=v,p(v,this),T=re,v}}});e.transform(w);function F(R,v){var p;const g=a(R);if(g instanceof ke&&!jf(R.left,qi)&&e.variables.get(g.name)===(p=g.definition()))return R instanceof lt&&(R.right.walk(x),!p.chained&&R.left.fixed_value()===R.right&&h.set(p.id,R)),!0;if(R instanceof ke){if(p=R.definition(),!c.has(p.id)&&(c.set(p.id,p),p.orig[0]instanceof ei)){const O=p.scope.is_block_scope()&&p.scope.get_defun_scope().variables.get(p.name);O&&c.set(O.id,O)}return!0}if(R instanceof At)return v(),!0;if(R instanceof Ye&&!(R instanceof Jn)){var A=T;return T=R,v(),T=A,!0}}});function mn(t,e){t.DEFMETHOD("reduce_vars",e)}mn(Oe,xr);function Wf(t,e){e.assignments=0,e.chained=!1,e.direct_access=!1,e.escaped=0,e.recursive_refs=0,e.references=[],e.single_use=void 0,e.scope.pinned()||e.orig[0]instanceof Mn&&e.scope.uses_arguments?e.fixed=!1:e.orig[0]instanceof ho||!t.exposed(e)?e.fixed=e.init:e.fixed=!1}function qf(t,e,n){n.variables.forEach(function(r){Wf(e,r),r.fixed===null?(t.defs_to_safe_ids.set(r.id,t.safe_ids),Ji(t,r,!0)):r.fixed&&(t.loop_ids.set(r.id,t.in_loop),Ji(t,r,!0))})}function Uo(t,e){e.block_scope&&e.block_scope.variables.forEach(n=>{Wf(t,n)})}function Tn(t){t.safe_ids=Object.create(t.safe_ids)}function Fn(t){t.safe_ids=Object.getPrototypeOf(t.safe_ids)}function Ji(t,e,n){t.safe_ids[e.id]=n}function Yd(t,e){if(e.single_use=="m")return!1;if(t.safe_ids[e.id]){if(e.fixed==null){var n=e.orig[0];if(n instanceof Mn||n.name=="arguments")return!1;e.fixed=V(un,n)}return!0}return e.fixed instanceof sn}function Xf(t,e,n,r){if(e.fixed===void 0)return!0;let a;return e.fixed===null&&(a=t.defs_to_safe_ids.get(e.id))?(a[e.id]=!1,t.defs_to_safe_ids.delete(e.id),!0):!sr(t.safe_ids,e.id)||!Yd(t,e)||e.fixed===!1||e.fixed!=null&&(!r||e.references.length>e.assignments)?!1:e.fixed instanceof sn?r instanceof Oe&&e.fixed.parent_scope===n:e.orig.every(c=>!(c instanceof ho||c instanceof Oi||c instanceof hi))}function qg(t,e,n){return e.option("unused")&&!n.scope.pinned()&&n.references.length-n.recursive_refs==1&&t.loop_ids.get(n.id)===t.in_loop}function Xg(t){return t?t.is_constant()||t instanceof ze||t instanceof $n:!1}function ks(t,e,n,r,a,c=0,h=1){var d=t.parent(c);if(!(a&&(a.is_constant()||a instanceof ki))){if(d instanceof lt&&(d.operator==="="||d.logical)&&r===d.right||d instanceof He&&(r!==d.expression||d instanceof cr)||d instanceof _r&&r===d.value&&r.scope!==e.scope||d instanceof zt&&r===d.value||d instanceof Ar&&r===d.value&&r.scope!==e.scope){h>1&&!(a&&a.is_constant_expression(n))&&(h=1),(!e.escaped||e.escaped>h)&&(e.escaped=h);return}else if(d instanceof Ft||d instanceof Tr||d instanceof pe&&Lo.has(d.operator)||d instanceof it&&r!==d.condition||d instanceof gt||d instanceof mt&&r===d.tail_node())ks(t,e,n,d,d,c+1,h);else if(d instanceof an&&r===d.value){var E=t.parent(c+1);ks(t,e,n,E,E,c+2,h)}else if(d instanceof Xe&&r===d.expression&&(a=Vd(a,d.property),ks(t,e,n,d,a,c+1,h+1),a))return;c>0||d instanceof mt&&r!==d.tail_node()||d instanceof $e||(e.direct_access=!0)}}const Yf=t=>Un(t,e=>{if(e instanceof vt){var n=e.definition();n&&(e instanceof ke&&n.references.push(e),n.fixed=!1)}});mn($i,function(t,e,n){return Tn(t),qf(t,n,this),e(),Fn(t),!0}),mn(lt,function(t,e,n){var r=this;if(r.left instanceof qt){Yf(r.left);return}const a=()=>{if(r.logical)return r.left.walk(t),Tn(t),r.right.walk(t),Fn(t),!0};var c=r.left;if(!(c instanceof ke))return a();var h=c.definition(),d=Xf(t,h,c.scope,r.right);if(h.assignments++,!d)return a();var E=h.fixed;if(!E&&r.operator!="="&&!r.logical)return a();var b=r.operator=="=",T=b?r.right:r;return fa(n,t,r,T,0)?a():(h.references.push(c),r.logical||(b||(h.chained=!0),h.fixed=b?function(){return r.right}:function(){return V(pe,r,{operator:r.operator.slice(0,-1),left:E instanceof Oe?E:E(),right:r.right})}),r.logical?(Ji(t,h,!1),Tn(t),r.right.walk(t),Fn(t),!0):(Ji(t,h,!1),r.right.walk(t),Ji(t,h,!0),ks(t,h,c.scope,r,T,0,1),!0))}),mn(pe,function(t){if(Lo.has(this.operator))return this.left.walk(t),Tn(t),this.right.walk(t),Fn(t),!0}),mn(Cn,function(t,e,n){Uo(n,this)}),mn(ii,function(t){return Tn(t),this.expression.walk(t),Fn(t),Tn(t),Do(this,t),Fn(t),!0}),mn(At,function(t,e){return ca(this,Cs),Tn(t),e(),Fn(t),!0}),mn(Jn,function(t,e,n){Uo(n,this)}),mn(it,function(t){return this.condition.walk(t),Tn(t),this.consequent.walk(t),Fn(t),Tn(t),this.alternative.walk(t),Fn(t),!0}),mn(Sn,function(t,e){const n=t.safe_ids;return e(),t.safe_ids=n,!0}),mn(He,function(t){this.expression.walk(t),this.optional&&Tn(t);for(const e of this.args)e.walk(t);return!0}),mn(Xe,function(t){if(this.optional)return this.expression.walk(t),Tn(t),this.property instanceof Oe&&this.property.walk(t),!0}),mn(wo,function(t,e){return Tn(t),e(),Fn(t),!0});function Yg(t,e,n){ca(this,Cs),Tn(t),qf(t,n,this);var r;return!this.name&&!this.uses_arguments&&!this.pinned()&&(r=t.parent())instanceof He&&r.expression===this&&!r.args.some(a=>a instanceof gt)&&this.argnames.every(a=>a instanceof vt)&&this.argnames.forEach((a,c)=>{if(a.definition){var h=a.definition();h.orig.length>1||(h.fixed===void 0&&(!this.uses_arguments||t.has_directive("use strict"))?(h.fixed=function(){return r.args[c]||V(un,r)},t.loop_ids.set(h.id,t.in_loop),Ji(t,h,!0)):h.fixed=!1)}}),e(),Fn(t),Zd(this),!0}function Zd(t){const e=[];Un(t,c=>{if(c!==t&&(c instanceof sn&&e.push(c),c instanceof Ye||c instanceof $e))return!0});const n=new Set,r=new Set,a=[];for(const c of e){const h=c.name.definition(),d=e.some(E=>E!==c&&E.enclosed.indexOf(h)!==-1);for(const E of c.enclosed)if(!(E.fixed===!1||E===h||E.scope.get_defun_scope()!==t)&&!(E.assignments===0&&E.orig.length===1&&E.orig[0]instanceof Oi)){if(d){E.fixed=!1;continue}a.push({defun:c,def:E,fname_def:h}),n.add(E.id),n.add(h.id),r.add(c)}}if(a.length){const c=[],h=new Set,d=new Map;let E;t.walk(E=new Vn((b,T)=>{if(b instanceof sn&&r.has(b)){const x=c.length;T();const w=c.length;return d.set(b,{start:x,end:w}),!0}if(b instanceof vt&&b.thedef){const x=b.definition().id;n.has(x)&&((b instanceof Ln||Mo(b,E))&&h.add(c.length),c.push(x))}}));for(const{def:b,defun:T,fname_def:x}of a){const w=d.get(T),F=(g,A=0,O=!1)=>{let k=A;for(;k=c.indexOf(g,k),k!==-1;)if(k>=w.start&&k<w.end){k=w.end;continue}else if(O&&!h.has(k)){k++;continue}else break;return k},R=F(x.id),v=F(b.id,R+1,!0);R!=-1&&v!=-1&&v>R&&(b.fixed=!1)}}}mn(ze,Yg),mn(Si,function(t,e,n){Uo(n,this);const r=t.in_loop;return t.in_loop=this,Tn(t),this.body.walk(t),Uf(this)&&(Fn(t),Tn(t)),this.condition.walk(t),Fn(t),t.in_loop=r,!0}),mn(Dn,function(t,e,n){Uo(n,this),this.init&&this.init.walk(t);const r=t.in_loop;return t.in_loop=this,Tn(t),this.condition&&this.condition.walk(t),this.body.walk(t),this.step&&(Uf(this)&&(Fn(t),Tn(t)),this.step.walk(t)),Fn(t),t.in_loop=r,!0}),mn(Yn,function(t,e,n){Uo(n,this),Yf(this.init),this.object.walk(t);const r=t.in_loop;return t.in_loop=this,Tn(t),this.body.walk(t),Fn(t),t.in_loop=r,!0}),mn(Vt,function(t){return this.condition.walk(t),Tn(t),this.body.walk(t),Fn(t),this.alternative&&(Tn(t),this.alternative.walk(t),Fn(t)),!0}),mn(rr,function(t){return Tn(t),this.body.walk(t),Fn(t),!0}),mn(ei,function(){this.definition().fixed=!1}),mn(ke,function(t,e,n){var r=this.definition();r.references.push(this),r.references.length==1&&!r.fixed&&r.orig[0]instanceof Oi&&t.loop_ids.set(r.id,t.in_loop);var a;r.fixed===void 0||!Yd(t,r)?r.fixed=!1:r.fixed&&(a=this.fixed_value(),a instanceof ze&&$f(t,r)?r.recursive_refs++:a&&!n.exposed(r)&&qg(t,n,r)?r.single_use=a instanceof ze&&!a.pinned()||a instanceof At||r.scope===this.scope&&a.is_constant_expression():r.single_use=!1,fa(n,t,this,a,0,Xg(a))&&(r.single_use?r.single_use="m":r.fixed=!1)),ks(t,r,this.scope,this,a,0,1)}),mn(Qt,function(t,e,n){return this.globals.forEach(function(r){Wf(n,r)}),qf(t,n,this),e(),Zd(this),!0}),mn(Cr,function(t,e,n){return Uo(n,this),Tn(t),this.body.walk(t),Fn(t),this.bcatch&&(Tn(t),this.bcatch.walk(t),Fn(t)),this.bfinally&&this.bfinally.walk(t),!0}),mn(en,function(t){var e=this;if(!(e.operator!=="++"&&e.operator!=="--")){var n=e.expression;if(n instanceof ke){var r=n.definition(),a=Xf(t,r,n.scope,!0);if(r.assignments++,!!a){var c=r.fixed;if(c)return r.references.push(n),r.chained=!0,r.fixed=function(){return V(pe,e,{operator:e.operator.slice(0,-1),left:V(qe,e,{operator:"+",expression:c instanceof Oe?c:c()}),right:V(nt,e,{value:1})})},Ji(t,r,!0),!0}}}}),mn(zt,function(t,e){var n=this;if(n.name instanceof qt){Yf(n.name);return}var r=n.name.definition();if(n.value){if(Xf(t,r,n.name.scope,n.value))return r.fixed=function(){return n.value},t.loop_ids.set(r.id,t.in_loop),Ji(t,r,!1),e(),Ji(t,r,!0),!0;r.fixed=!1}}),mn(Hi,function(t,e,n){Uo(n,this);const r=t.in_loop;return t.in_loop=this,Tn(t),e(),Fn(t),t.in_loop=r,!0});function Zf(t){return t instanceof Xr&&t.body instanceof tt?t.body:t}function Qd(t){if(t instanceof $n)return!0;if(t instanceof ke)return t.definition().orig[0]instanceof hi;if(t instanceof Xe){if(t=t.expression,t instanceof ke){if(t.is_immutable())return!1;t=t.fixed_value()}return t?t instanceof yr?!1:t instanceof Nt?!0:Qd(t):!0}return!1}function Zg(t){var e=[];return t.definitions.forEach(function(n){n.name instanceof Ln?(n.value=null,e.push(n)):n.declarations_as_names().forEach(r=>{e.push(V(zt,n,{name:r,value:null}))})}),e.length?V(Bn,t,{definitions:e}):null}function Vo(t,e,n){Un(e,r=>{if(r instanceof Bn){const a=Zg(r);return a&&n.push(a),!0}if(r instanceof sn&&(r===e||!t.has_directive("use strict")))return n.push(r===e?r:V(Bn,r,{definitions:[V(zt,r,{name:V(Wi,r.name,r.name),value:null})]})),!0;if(r instanceof Rn||r instanceof Lr)return n.push(r),!0;if(r instanceof Ye)return!0})}function Zu(t,e){const n=e.find_scope(),r=n.get_defun_scope(),{in_loop:a,in_try:c}=E();var h,d=10;do h=!1,T(t),e.option("dead_code")&&w(t,e),e.option("if_return")&&x(t,e),e.sequences_limit>0&&(R(t,e),p(t,e)),e.option("join_vars")&&A(t),e.option("collapse_vars")&&b(t,e);while(h&&d-- >0);function E(){var O=e.self(),k=0,P=!1,L=!1;do if(O instanceof Xr)P=!0;else{if(O instanceof Ye)break;O instanceof Mu&&(L=!0)}while(O=e.parent(k++));return{in_loop:P,in_try:L}}function b(O,k){if(n.pinned()||r.pinned())return O;for(var P,L=[],$=O.length,M=new br(function(K){if(te)return K;if(!J)return K!==N[z]?K:(z++,z<N.length?ht(K):(J=!0,se=we(K,0),se===K&&(te=!0),K));var Fe=M.parent();if(K instanceof lt&&(K.logical||K.operator!="="&&ue.equivalent_to(K.left))||K instanceof Tr||K instanceof He&&ue instanceof Xe&&ue.equivalent_to(K.expression)||(K instanceof He||K instanceof Xe)&&K.optional||K instanceof ji||K instanceof qt||K instanceof gt&&K.expression instanceof vt&&(K.expression instanceof $n||K.expression.definition().references.length>1)||K instanceof Xr&&!(K instanceof Dn)||K instanceof ri||K instanceof Cr||K instanceof Sr||K instanceof Ar||K instanceof Rn||K instanceof At||Fe instanceof Dn&&K!==Fe.init||!_e&&K instanceof ke&&!K.is_declared(k)&&!Xu.has(K)||K instanceof ke&&Fe instanceof He&&pr(Fe,No)||K instanceof _n&&K.key instanceof Oe)return te=!0,K;if(!re&&(!Ee||!_e)&&(Fe instanceof pe&&Lo.has(Fe.operator)&&Fe.left!==K||Fe instanceof it&&Fe.condition!==K||Fe instanceof Vt&&Fe.condition!==K)&&(re=Fe),me&&!(K instanceof Ln)&&ue.equivalent_to(K)&&!ir(M.find_scope()||n,ce)){if(re)return te=!0,K;if(Mo(K,Fe))return ne&&ve++,K;if(ve++,ne&&Y instanceof zt)return K;if(h=te=!0,Y instanceof Ki)return V(qe,Y,Y);if(Y instanceof zt){var Ue=Y.name.definition(),Ie=Y.value;return Ue.references.length-Ue.replaced==1&&!k.exposed(Ue)?(Ue.replaced++,Z&&Hd(Ie)?Ie.transform(k):Io(Fe,K,Ie)):V(lt,Y,{operator:"=",logical:!1,left:V(ke,Y.name,Y.name),right:Ie})}return ca(Y,ua),Y}var Qe;return(K instanceof He||K instanceof _r&&(Te||ue instanceof Xe||It(ue))||K instanceof Xe&&(Te||K.expression.may_throw_on_access(k))||K instanceof ke&&(ce.has(K.name)&&ce.get(K.name).modified||Te&&It(K))||K instanceof zt&&K.value&&(ce.has(K.name.name)||Te&&It(K.name))||(Qe=Mo(K.left,K))&&(Qe instanceof Xe||ce.has(Qe.name))||oe&&(c?K.has_side_effects(k):nn(K)))&&(se=K,K instanceof Ye&&(te=!0)),ht(K)},function(K){te||(se===K&&(te=!0),re===K&&(re=null))}),G=new br(function(K){if(te)return K;if(!J)return K!==N[z]?K:(z++,z<N.length?void 0:(J=!0,K));if(K instanceof ke&&K.name==Ve.name)return--ve||(te=!0),Mo(K,G.parent())?K:(Ve.replaced++,ne.replaced--,Y.value);if(K instanceof wo||K instanceof Ye)return K});--$>=0;){$==0&&k.option("unused")&&Ct();var N=[];for(le(O[$]);L.length>0;){N=L.pop();var z=0,Y=N[N.length-1],ne=null,se=null,re=null,ue=pt(Y);if(!(!ue||Qd(ue)||ue.has_side_effects(k))){var ce=Rt(Y),Ee=Dt(ue);ue instanceof ke&&ce.set(ue.name,{def:ue.definition(),modified:!1});var Te=Pt(Y),_e=kt(),oe=Y.may_throw(k),Z=Y.name instanceof Mn,J=Z,te=!1,ve=0,me=!P||!J;if(!me){for(let K=k.self().argnames.lastIndexOf(Y.name)+1;!te&&K<P.length;K++)P[K].transform(M);me=!0}for(var Ze=$;!te&&Ze<O.length;Ze++)O[Ze].transform(M);if(ne){var Ve=Y.name.definition();if(te&&Ve.references.length-Ve.replaced>ve)ve=!1;else{te=!1,z=0,J=Z;for(var Ze=$;!te&&Ze<O.length;Ze++)O[Ze].transform(G);ne.single_use=!1}}ve&&!yn(Y)&&O.splice($,1)}}}function ht(K){if(K instanceof Ye)return K;if(K instanceof Qn){K.expression=K.expression.transform(M);for(var Fe=0,Ue=K.body.length;!te&&Fe<Ue;Fe++){var Ie=K.body[Fe];if(Ie instanceof ii){if(!J){if(Ie!==N[z])continue;z++}if(Ie.expression=Ie.expression.transform(M),!_e)break}}return te=!0,K}}function wt(K,Fe){if(K.global)return!1;let Ue=K.scope;for(;Ue&&Ue!==Fe;){if(Ue.variables.has(K.name))return!0;Ue=Ue.parent_scope}return!1}function yt(K,Fe,Ue){var Ie=!1,Qe=!(K instanceof on);return Fe.walk(new Vn(function($t,ft){if(Ie)return!0;if($t instanceof ke&&(K.variables.has($t.name)||wt($t.definition(),K))){var fn=$t.definition().scope;if(fn!==r){for(;fn=fn.parent_scope;)if(fn===r)return!0}return Ie=!0}if((Ue||Qe)&&$t instanceof $n)return Ie=!0;if($t instanceof Ye&&!($t instanceof on)){var gn=Qe;return Qe=!1,ft(),Qe=gn,!0}})),Ie}function St(K){return!(K instanceof gt||Un(K,Ue=>{if(Ue instanceof Tr)return vr}))}function Ct(){var K,Fe=k.self();if(Wu(Fe)&&!Fe.name&&!Fe.uses_arguments&&!Fe.pinned()&&(K=k.parent())instanceof He&&K.expression===Fe&&K.args.every(St)){var Ue=k.has_directive("use strict");Ue&&!vf(Ue,Fe.body)&&(Ue=!1);var Ie=Fe.argnames.length;P=K.args.slice(Ie);for(var Qe=new Set,$t=Ie;--$t>=0;){var ft=Fe.argnames[$t],fn=K.args[$t];const jr=ft.definition&&ft.definition();if(!(jr&&jr.orig.length>1)&&(P.unshift(V(zt,ft,{name:ft,value:fn})),!Qe.has(ft.name)))if(Qe.add(ft.name),ft instanceof gt){var gn=K.args.slice($t);gn.every(rn=>!yt(Fe,rn,Ue))&&L.unshift([V(zt,ft,{name:ft.expression,value:V(Ft,K,{elements:gn})})])}else fn?(fn instanceof ze&&fn.pinned()||yt(Fe,fn,Ue))&&(fn=null):fn=V(un,ft).transform(k),fn&&L.unshift([V(zt,ft,{name:ft,value:fn})])}}}function le(K){if(N.push(K),K instanceof lt)!K.left.has_side_effects(k)&&!(K.right instanceof Sn)&&L.push(N.slice()),le(K.right);else if(K instanceof pe)le(K.left),le(K.right);else if(K instanceof He&&!pr(K,No))le(K.expression),K.args.forEach(le);else if(K instanceof ii)le(K.expression);else if(K instanceof it)le(K.condition),le(K.consequent),le(K.alternative);else if(K instanceof dn){var Fe=K.definitions.length,Ue=Fe-200;for(Ue<0&&(Ue=0);Ue<Fe;Ue++)le(K.definitions[Ue])}else K instanceof Lu?(le(K.condition),K.body instanceof Cn||le(K.body)):K instanceof _r?K.value&&le(K.value):K instanceof Dn?(K.init&&le(K.init),K.condition&&le(K.condition),K.step&&le(K.step),K.body instanceof Cn||le(K.body)):K instanceof Yn?(le(K.object),K.body instanceof Cn||le(K.body)):K instanceof Vt?(le(K.condition),K.body instanceof Cn||le(K.body),K.alternative&&!(K.alternative instanceof Cn)&&le(K.alternative)):K instanceof mt?K.expressions.forEach(le):K instanceof $e?le(K.body):K instanceof Qn?(le(K.expression),K.body.forEach(le)):K instanceof en?(K.operator=="++"||K.operator=="--")&&L.push(N.slice()):K instanceof zt&&K.value&&!(K.value instanceof Sn)&&(L.push(N.slice()),le(K.value));N.pop()}function we(K,Fe,Ue){var Ie=M.parent(Fe);return Ie instanceof lt?Ue&&!Ie.logical&&!(Ie.left instanceof Xe||ce.has(Ie.left.name))?we(Ie,Fe+1,Ue):K:Ie instanceof pe?Ue&&(!Lo.has(Ie.operator)||Ie.left===K)?we(Ie,Fe+1,Ue):K:Ie instanceof He||Ie instanceof ii?K:Ie instanceof it?Ue&&Ie.condition===K?we(Ie,Fe+1,Ue):K:Ie instanceof dn?we(Ie,Fe+1,!0):Ie instanceof _r?Ue?we(Ie,Fe+1,Ue):K:Ie instanceof Vt?Ue&&Ie.condition===K?we(Ie,Fe+1,Ue):K:Ie instanceof Xr?K:Ie instanceof mt?we(Ie,Fe+1,Ie.tail_node()!==K):Ie instanceof $e?we(Ie,Fe+1,!0):Ie instanceof Qn||Ie instanceof zt?K:null}function be(K){var Fe=K.value;if(Fe instanceof ke&&Fe.name!="arguments"){var Ue=Fe.definition();if(!Ue.undeclared)return ne=Ue}}function pt(K){if(K instanceof lt&&K.logical)return!1;if(K instanceof zt&&K.name instanceof Ln){var Fe=K.name.definition();if(!vf(K.name,Fe.orig))return;var Ue=Fe.references.length-Fe.replaced;if(!Ue)return;var Ie=Fe.orig.length-Fe.eliminated;if(Ie>1&&!(K.name instanceof Mn)||(Ue>1?be(K):!k.exposed(Fe)))return V(ke,K.name,K.name)}else{const Qe=K instanceof lt?K.left:K.expression;return!jf(Qe,ho)&&!jf(Qe,ta)&&Qe}}function Et(K){return K instanceof lt?K.right:K.value}function Rt(K){var Fe=new Map;if(K instanceof en)return Fe;var Ue=new Vn(function(Ie){for(var Qe=Ie;Qe instanceof Xe;)Qe=Qe.expression;if(Qe instanceof ke){const $t=Fe.get(Qe.name);(!$t||!$t.modified)&&Fe.set(Qe.name,{def:Qe.definition(),modified:fa(k,Ue,Ie,Ie,0)})}});return Et(K).walk(Ue),Fe}function yn(K){if(K.name instanceof Mn){var Fe=k.parent(),Ue=k.self().argnames,Ie=Ue.indexOf(K.name);if(Ie<0)Fe.args.length=Math.min(Fe.args.length,Ue.length-1);else{var Qe=Fe.args;Qe[Ie]&&(Qe[Ie]=V(nt,Qe[Ie],{value:0}))}return!0}var $t=!1;return O[$].transform(new br(function(ft,fn,gn){if($t)return ft;if(ft===K||ft.body===K)return $t=!0,ft instanceof zt?(ft.value=ft.name instanceof ho?V(un,ft.value):null,ft):gn?tn.skip:null},function(ft){if(ft instanceof mt)switch(ft.expressions.length){case 0:return null;case 1:return ft.expressions[0]}}))}function Dt(K){for(;K instanceof Xe;)K=K.expression;return K instanceof ke&&K.definition().scope.get_defun_scope()===r&&!(a&&(ce.has(K.name)||Y instanceof en||Y instanceof lt&&!Y.logical&&Y.operator!="="))}function Pt(K){return K instanceof en?Yu.has(K.operator):Et(K).has_side_effects(k)}function kt(){if(Te)return!1;if(ne)return!0;if(ue instanceof ke){var K=ue.definition();if(K.references.length-K.replaced==(Y instanceof zt?1:2))return!0}return!1}function It(K){if(!K.definition)return!0;var Fe=K.definition();return Fe.orig.length==1&&Fe.orig[0]instanceof Oi?!1:Fe.scope.get_defun_scope()!==r?!0:Fe.references.some(Ue=>Ue.scope.get_defun_scope()!==r)}function nn(K,Fe){if(K instanceof lt)return nn(K.left,!0);if(K instanceof en)return nn(K.expression,!0);if(K instanceof zt)return K.value&&nn(K.value);if(Fe){if(K instanceof Jt||K instanceof kn)return nn(K.expression,!0);if(K instanceof ke)return K.definition().scope.get_defun_scope()!==r}return!1}function ir(K,Fe){for(const{def:Ue}of Fe.values()){const Ie=K.find_variable(Ue.name);if(Ie){if(Ie===Ue)continue;return!0}}return!1}}function T(O){for(var k=[],P=0;P<O.length;){var L=O[P];L instanceof tt&&L.body.every(Hf)?(h=!0,T(L.body),O.splice(P,1,...L.body),P+=L.body.length):L instanceof Ut?(h=!0,O.splice(P,1)):L instanceof ur?k.indexOf(L.value)<0?(P++,k.push(L.value)):(h=!0,O.splice(P,1)):P++}}function x(O,k){var P=k.self(),L=re(O),$=P instanceof ze;const M=Math.min(O.length,500);for(var G=M;--G>=0;){var N=O[G],z=_e(G),Y=O[z];if($&&!Y&&N instanceof pn){if(!N.value){h=!0,O.splice(G,1);continue}if(N.value instanceof qe&&N.value.operator=="void"){h=!0,O[G]=V($e,N,{body:N.value.expression});continue}}if(N instanceof Vt){let Z,J;if(Z=Vr(N.body),ce(Z)&&(J=Te(N.body,Z))){Z.label&&Zo(Z.label.thedef.references,Z),h=!0,N=N.clone(),N.condition=N.condition.negate(k),N.body=V(tt,N,{body:qu(N.alternative).concat(Ee())}),N.alternative=V(tt,N,{body:J}),O[G]=N.transform(k);continue}if(Z=Vr(N.alternative),ce(Z)&&(J=Te(N.alternative,Z))){Z.label&&Zo(Z.label.thedef.references,Z),h=!0,N=N.clone(),N.body=V(tt,N.body,{body:qu(N.body).concat(Ee())}),N.alternative=V(tt,N.alternative,{body:J}),O[G]=N.transform(k);continue}}if(N instanceof Vt&&N.body instanceof pn){var ne=N.body.value;if(!ne&&!N.alternative&&($&&!Y||Y instanceof pn&&!Y.value)){h=!0,O[G]=V($e,N.condition,{body:N.condition});continue}if(ne&&!N.alternative&&Y instanceof pn&&Y.value){h=!0,N=N.clone(),N.alternative=Y,O[G]=N.transform(k),O.splice(z,1);continue}if(ne&&!N.alternative&&(!Y&&$&&L||Y instanceof pn)){h=!0,N=N.clone(),N.alternative=Y||V(pn,N,{value:null}),O[G]=N.transform(k),Y&&O.splice(z,1);continue}var se=O[oe(G)];if(k.option("sequences")&&$&&!N.alternative&&se instanceof Vt&&se.body instanceof pn&&_e(z)==O.length&&Y instanceof $e){h=!0,N=N.clone(),N.alternative=V(tt,Y,{body:[Y,V(pn,Y,{value:null})]}),O[G]=N.transform(k),O.splice(z,1);continue}}}function re(Z){for(var J=0,te=Z.length;--te>=0;){var ve=Z[te];if(ve instanceof Vt&&ve.body instanceof pn&&++J>1)return!0}return!1}function ue(Z){return!Z||Z instanceof qe&&Z.operator=="void"}function ce(Z){if(!Z)return!1;for(var J=G+1,te=O.length;J<te;J++){var ve=O[J];if(ve instanceof si||ve instanceof ai)return!1}var me=Z instanceof ri?k.loopcontrol_target(Z):null;return Z instanceof pn&&$&&ue(Z.value)||Z instanceof fo&&P===Zf(me)||Z instanceof Br&&me instanceof tt&&P===me}function Ee(){var Z=O.slice(G+1);return O.length=G+1,Z.filter(function(J){return J instanceof sn?(O.push(J),!1):!0})}function Te(Z,J){var te=qu(Z);if(J===te[te.length-1])return te=te.slice(0,-1),J.value&&te.push(V($e,J.value,{body:J.value.expression})),te}function _e(Z){for(var J=Z+1,te=O.length;J<te;J++){var ve=O[J];if(!(ve instanceof Bn&&F(ve)))break}return J}function oe(Z){for(var J=Z;--J>=0;){var te=O[J];if(!(te instanceof Bn&&F(te)))break}return J}}function w(O,k){for(var P,L=k.self(),$=0,M=0,G=O.length;$<G;$++){var N=O[$];if(N instanceof ri){var z=k.loopcontrol_target(N);N instanceof Br&&!(z instanceof Xr)&&Zf(z)===L||N instanceof fo&&Zf(z)===L?N.label&&Zo(N.label.thedef.references,N):O[M++]=N}else O[M++]=N;if(Vr(N)){P=O.slice($+1);break}}O.length=M,h=M!=G,P&&P.forEach(function(Y){Vo(k,Y,O)})}function F(O){return O.definitions.every(k=>!k.value)}function R(O,k){if(O.length<2)return;var P=[],L=0;function $(){if(P.length){var Y=ot(P[0],P);O[L++]=V($e,Y,{body:Y}),P=[]}}for(var M=0,G=O.length;M<G;M++){var N=O[M];if(N instanceof $e){P.length>=k.sequences_limit&&$();var z=N.body;P.length>0&&(z=z.drop_side_effect_free(k)),z&&Mf(P,z)}else N instanceof dn&&F(N)||N instanceof sn||$(),O[L++]=N}$(),O.length=L,L!=G&&(h=!0)}function v(O,k){if(!(O instanceof tt))return O;for(var P=null,L=0,$=O.body.length;L<$;L++){var M=O.body[L];if(M instanceof Bn&&F(M))k.push(M);else{if(P||M instanceof si||M instanceof ai)return!1;P=M}}return P}function p(O,k){function P(se){L--,h=!0;var re=$.body;return ot(re,[re,se]).transform(k)}for(var L=0,$,M=0;M<O.length;M++){var G=O[M];if($&&(G instanceof _r?G.value=P(G.value||V(un,G).transform(k)):G instanceof Dn?G.init instanceof dn||Un($.body,re=>{if(re instanceof Ye)return!0;if(re instanceof pe&&re.operator==="in")return vr})||(G.init?G.init=P(G.init):(G.init=$.body,L--,h=!0)):G instanceof Yn?!(G.init instanceof si)&&!(G.init instanceof ai)&&(G.object=P(G.object)):G instanceof Vt?G.condition=P(G.condition):(G instanceof Qn||G instanceof Sr)&&(G.expression=P(G.expression))),k.option("conditionals")&&G instanceof Vt){var N=[],z=v(G.body,N),Y=v(G.alternative,N);if(z!==!1&&Y!==!1&&N.length>0){var ne=N.length;N.push(V(Vt,G,{condition:G.condition,body:z||V(Ut,G.body),alternative:Y})),N.unshift(L,1),[].splice.apply(O,N),M+=ne,L+=ne+1,$=null,h=!0;continue}}O[L++]=G,$=G instanceof $e?G:null}O.length=L}function g(O,k){if(O instanceof dn){var P=O.definitions[O.definitions.length-1];if(P.value instanceof jt){var L;if(k instanceof lt&&!k.logical?L=[k]:k instanceof mt&&(L=k.expressions.slice()),!!L){var $=!1;do{var M=L[0];if(!(M instanceof lt)||M.operator!="="||!(M.left instanceof Xe))break;var G=M.left.expression;if(!(G instanceof ke)||P.name.name!=G.name||!M.right.is_constant_expression(n))break;var N=M.left.property;if(N instanceof Oe&&(N=N.evaluate(e)),N instanceof Oe)break;N=""+N;var z=e.option("ecma")<2015&&e.has_directive("use strict")?function(ne){return ne.key!=N&&ne.key&&ne.key.name!=N}:function(ne){return ne.key&&ne.key.name!=N};if(!P.value.properties.every(z))break;var Y=P.value.properties.filter(function(ne){return ne.key===N})[0];Y?Y.value=new mt({start:Y.start,expressions:[Y.value.clone(),M.right.clone()],end:Y.end}):P.value.properties.push(V(an,M,{key:N,value:M.right})),L.shift(),$=!0}while(L.length);return $&&L}}}}function A(O){for(var k,P=0,L=-1,$=O.length;P<$;P++){var M=O[P],G=O[L];if(M instanceof dn)G&&G.TYPE==M.TYPE?(G.definitions=G.definitions.concat(M.definitions),h=!0):k&&k.TYPE==M.TYPE&&F(M)?(k.definitions=k.definitions.concat(M.definitions),h=!0):(O[++L]=M,k=M);else if(M instanceof _r)M.value=z(M.value);else if(M instanceof Dn){var N=g(G,M.init);N?(h=!0,M.init=N.length?ot(M.init,N):null,O[++L]=M):G instanceof Bn&&(!M.init||M.init.TYPE==G.TYPE)?(M.init&&(G.definitions=G.definitions.concat(M.init.definitions)),M.init=G,O[L]=M,h=!0):k instanceof Bn&&M.init instanceof Bn&&F(M.init)?(k.definitions=k.definitions.concat(M.init.definitions),M.init=null,O[++L]=M,h=!0):O[++L]=M}else if(M instanceof Yn)M.object=z(M.object);else if(M instanceof Vt)M.condition=z(M.condition);else if(M instanceof $e){var N=g(G,M.body);if(N){if(h=!0,!N.length)continue;M.body=ot(M.body,N)}O[++L]=M}else M instanceof Qn||M instanceof Sr?M.expression=z(M.expression):O[++L]=M}O.length=L+1;function z(Y){O[++L]=M;var ne=g(G,Y);return ne?(h=!0,ne.length?ot(Y,ne):Y instanceof mt?Y.tail_node().left:Y.left):Y}}}function Qg(t){for(var e,n=0;e=t.parent(n++);){if(e instanceof In)return!1;if(e instanceof Ft||e instanceof an||e instanceof jt)return!0}return!1}function Qf(t,e){for(const n of e.enclosed){if(e.variables.has(n.name))continue;const r=t.find_variable(n.name);if(r){if(r===n)continue;return!0}}return!1}function Jg(t,e){if(t.orig.length===1&&e){const n=e.size(),r=t.name.length;return n>r}return!0}function ev(t,e){if(e.in_computed_key())return t;const n=e.parent(),r=t.definition(),a=e.find_scope();let c=t.fixed_value();if(e.top_retain&&r.global&&e.top_retain(r)&&Jg(r,c))return r.fixed=!1,r.single_use=!1,t;let h=r.single_use&&!(n instanceof He&&n.is_callee_pure(e)||pr(n,No))&&!(n instanceof Rn&&c instanceof ze&&c.name);if(h&&c instanceof Oe&&(h=!c.has_side_effects(e)&&!c.may_throw(e)),c instanceof At&&r.scope!==t.scope)return t;if(h&&(c instanceof ze||c instanceof At)){if(Gd(c,e))h=!1;else if(r.scope!==t.scope&&(r.escaped==1||Gn(c,Cs)||Qg(e)||!e.option("reduce_funcs")))h=!1;else if($f(e,r))h=!1;else if((r.scope!==t.scope||r.orig[0]instanceof Mn)&&(h=c.is_constant_expression(t.scope),h=="f")){var d=t.scope;do(d instanceof sn||Wu(d))&&kr(d,Cs);while(d=d.parent_scope)}}if(h&&(c instanceof ze||c instanceof At)&&(h=r.scope===t.scope&&!Qf(a,c)||n instanceof He&&n.expression===t&&!Qf(a,c)&&!(c.name&&c.name.definition().recursive_refs>0)),h&&c){if(c instanceof Jr&&(kr(c,Po),c=V(ki,c,c)),c instanceof sn&&(kr(c,Po),c=V(Gt,c,c)),r.recursive_refs>0&&c.name instanceof Oi){const b=c.name.definition();let T=c.variables.get(c.name.name),x=T&&T.orig[0];x instanceof hi||(x=V(hi,c.name,c.name),x.scope=c,c.name=x,T=c.def_function(x)),Un(c,w=>{w instanceof ke&&w.definition()===b&&(w.thedef=T,T.references.push(w))})}return(c instanceof ze||c instanceof At)&&c.parent_scope!==a&&(c=c.clone(!0,e.get_toplevel()),a.add_child_scope(c)),c.optimize(e)}if(c){let b;if(c instanceof $n)!(r.orig[0]instanceof Mn)&&r.references.every(T=>r.scope===T.scope)&&(b=c);else{var E=c.evaluate(e);E!==c&&(e.option("unsafe_regexp")||!(E instanceof RegExp))&&(b=lr(E,c))}if(b){const T=t.size(e),x=b.size(e);let w=0;if(e.option("unused")&&!e.exposed(r)&&(w=(T+2+c.size(e))/(r.references.length-r.assignments)),x<=T+w)return b}}return t}function tv(t,e){if(e.in_computed_key())return t;var n=t.expression,r=n,a=t.args.every(M=>!(M instanceof gt));if(e.option("reduce_vars")&&r instanceof ke&&!pr(t,No)){const M=r.fixed_value();if(Gd(M,e)||!e.toplevel.funcs&&n.definition().global)return t;r=M}var c=r instanceof ze,h=c&&r.body[0],d=c&&!r.is_generator&&!r.async,E=d&&e.option("inline")&&!t.is_callee_pure(e);if(E&&h instanceof pn){let M=h.value;if(!M||M.is_constant_expression()){M?M=M.clone(!0):M=V(un,t);const G=t.args.concat(M);return ot(t,G).optimize(e)}if(r.argnames.length===1&&r.argnames[0]instanceof Mn&&t.args.length<2&&!(t.args[0]instanceof gt)&&M instanceof ke&&M.name===r.argnames[0].name){const G=(t.args[0]||V(un)).optimize(e);let N;return G instanceof Xe&&(N=e.parent())instanceof He&&N.expression===t?ot(t,[V(nt,t,{value:0}),G]):G}}if(E){var b,T,x=-1;let M,G,N;if(a&&!r.uses_arguments&&!(e.parent()instanceof At)&&!(r.name&&r instanceof Gt)&&(G=p(h))&&(n===r||pr(t,Of)||e.option("unused")&&(M=n.definition()).references.length==1&&!$f(e,M)&&r.is_constant_expression(n.scope))&&!pr(t,kf|No)&&!r.contains_this()&&O()&&(N=e.find_scope())&&!Qf(N,r)&&!function(){let Y=0,ne;for(;ne=e.parent(Y++);){if(ne instanceof Mr)return!0;if(ne instanceof Cn)break}return!1}()&&!(b instanceof At))return kr(r,Po),N.add_child_scope(r),ot(t,$(G)).optimize(e)}if(E&&pr(t,Of))return kr(r,Po),r=V(r.CTOR===sn?Gt:r.CTOR,r,r),r=r.clone(!0),r.figure_out_scope({},{parent_scope:e.find_scope(),toplevel:e.get_toplevel()}),V(He,t,{expression:r,args:t.args}).optimize(e);if(d&&e.option("side_effects")&&r.body.every(yo)){var F=t.args.concat(V(un,t));return ot(t,F).optimize(e)}if(e.option("negate_iife")&&e.parent()instanceof $e&&Vf(t))return t.negate(e,!0);var R=t.evaluate(e);if(R!==t)return R=lr(R,t).optimize(e),Or(e,R,t);return t;function v(M){if(!M)return V(un,t);if(M instanceof pn)return M.value?M.value.clone(!0):V(un,t);if(M instanceof $e)return V(qe,M,{operator:"void",expression:M.body.clone(!0)})}function p(M){var G=r.body,N=G.length;if(e.option("inline")<3)return N==1&&v(M);M=null;for(var z=0;z<N;z++){var Y=G[z];if(Y instanceof Bn){if(M&&!Y.definitions.every(ne=>!ne.value))return!1}else{if(M)return!1;Y instanceof Ut||(M=Y)}}return v(M)}function g(M,G){for(var N=0,z=r.argnames.length;N<z;N++){var Y=r.argnames[N];if(Y instanceof Mr){if(Gn(Y.left,mo))continue;return!1}if(Y instanceof qt)return!1;if(Y instanceof gt){if(Gn(Y.expression,mo))continue;return!1}if(!Gn(Y,mo)){if(!G||M.has(Y.name)||jd.has(Y.name)||b.conflicting_def(Y.name))return!1;T&&T.push(Y.definition())}}return!0}function A(M,G){for(var N=r.body.length,z=0;z<N;z++){var Y=r.body[z];if(Y instanceof Bn){if(!G)return!1;for(var ne=Y.definitions.length;--ne>=0;){var se=Y.definitions[ne].name;if(se instanceof qt||M.has(se.name)||jd.has(se.name)||b.conflicting_def(se.name))return!1;T&&T.push(se.definition())}}}return!0}function O(){var M=new Set;do if(b=e.parent(++x),b.is_block_scope()&&b.block_scope&&b.block_scope.variables.forEach(function(z){M.add(z.name)}),b instanceof oi)b.argname&&M.add(b.argname.name);else if(b instanceof Xr)T=[];else if(b instanceof ke&&b.fixed_value()instanceof Ye)return!1;while(!(b instanceof Ye));var G=!(b instanceof Qt)||e.toplevel.vars,N=e.option("inline");return!A(M,N>=3&&G)||!g(M,N>=2&&G)?!1:!T||T.length==0||!$d(r,T)}function k(M,G,N,z){var Y=N.definition();b.variables.has(N.name)||(b.variables.set(N.name,Y),b.enclosed.push(Y),M.push(V(zt,N,{name:N,value:null})));var se=V(ke,N,N);Y.references.push(se),z&&G.push(V(lt,t,{operator:"=",logical:!1,left:se,right:z.clone()}))}function P(M,G){for(var N=r.argnames.length,z=t.args.length;--z>=N;)G.push(t.args[z]);for(z=N;--z>=0;){var Y=r.argnames[z],ne=t.args[z];if(Gn(Y,mo)||!Y.name||b.conflicting_def(Y.name))ne&&G.push(ne);else{var se=V(Wi,Y,Y);Y.definition().orig.push(se),!ne&&T&&(ne=V(un,t)),k(M,G,se,ne)}}M.reverse(),G.reverse()}function L(M,G){for(var N=G.length,z=0,Y=r.body.length;z<Y;z++){var ne=r.body[z];if(ne instanceof Bn)for(var se=0,re=ne.definitions.length;se<re;se++){var ue=ne.definitions[se],ce=ue.name;if(k(M,G,ce,ue.value),T&&r.argnames.every(_e=>_e.name!=ce.name)){var Ee=r.variables.get(ce.name),Te=V(ke,ce,ce);Ee.references.push(Te),G.splice(N++,0,V(lt,ue,{operator:"=",logical:!1,left:Te,right:V(un,ce)}))}}}}function $(M){var G=[],N=[];if(P(G,N),L(G,N),N.push(M),G.length){const z=b.body.indexOf(e.parent(x-1))+1;b.body.splice(z,0,V(Bn,r,{definitions:G}))}return N.map(z=>z.clone(!0))}}(function(t){function e(n,r){if(n instanceof Oe)return n instanceof Nt||(n=n.clone(!0)),V(n.CTOR,r,n);if(Array.isArray(n))return V(Ft,r,{elements:n.map(function(h){return e(h,r)})});if(n&&typeof n=="object"){var a=[];for(var c in n)sr(n,c)&&a.push(V(an,r,{key:c,value:e(n[c],r)}));return V(jt,r,{properties:a})}return lr(n,r)}Qt.DEFMETHOD("resolve_defines",function(n){return n.option("global_defs")?(this.figure_out_scope({ie8:n.option("ie8")}),this.transform(new br(function(r){var a=r._find_defs(n,"");if(a){for(var c=0,h=r,d;(d=this.parent(c++))&&!(!(d instanceof Xe)||d.expression!==h);)h=d;if(!Mo(h,d))return a}}))):this}),t(Oe,xr),t(Sn,function(n,r){return this.expression._find_defs(n,r)}),t(Jt,function(n,r){return this.expression._find_defs(n,"."+this.property+r)}),t(Ln,function(){this.global()}),t(ke,function(n,r){if(this.global()){var a=n.option("global_defs"),c=this.name+r;if(sr(a,c))return e(a[c],this)}}),t(zi,function(n,r){var a=n.option("global_defs"),c="import.meta"+r;if(sr(a,c))return e(a[c],this)})})(function(t,e){t.DEFMETHOD("_find_defs",e)});class Jd extends Vn{constructor(e,{false_by_default:n=!1,mangle_options:r=!1}){super(),e.defaults!==void 0&&!e.defaults&&(n=!0),this.options=xi(e,{arguments:!1,arrows:!n,booleans:!n,booleans_as_integers:!1,collapse_vars:!n,comparisons:!n,computed_props:!n,conditionals:!n,dead_code:!n,defaults:!0,directives:!n,drop_console:!1,drop_debugger:!n,ecma:5,evaluate:!n,expression:!1,global_defs:!1,hoist_funs:!1,hoist_props:!n,hoist_vars:!1,ie8:!1,if_return:!n,inline:!n,join_vars:!n,keep_classnames:!1,keep_fargs:!0,keep_fnames:!1,keep_infinity:!1,lhs_constants:!n,loops:!n,module:!1,negate_iife:!n,passes:1,properties:!n,pure_getters:!n&&"strict",pure_funcs:null,pure_new:!1,reduce_funcs:!n,reduce_vars:!n,sequences:!n,side_effects:!n,switches:!n,top_retain:null,toplevel:!!(e&&e.top_retain),typeofs:!n,unsafe:!1,unsafe_arrows:!1,unsafe_comps:!1,unsafe_Function:!1,unsafe_math:!1,unsafe_symbols:!1,unsafe_methods:!1,unsafe_proto:!1,unsafe_regexp:!1,unsafe_undefined:!1,unused:!n,warnings:!1},!0);var a=this.options.global_defs;if(typeof a=="object")for(var c in a)c[0]==="@"&&sr(a,c)&&(a[c.slice(1)]=ms(a[c],{expression:!0}));this.options.inline===!0&&(this.options.inline=3);var h=this.options.pure_funcs;typeof h=="function"?this.pure_funcs=h:this.pure_funcs=h?function(T){return!h.includes(T.expression.print_to_string())}:ar;var d=this.options.top_retain;d instanceof RegExp?this.top_retain=function(T){return d.test(T.name)}:typeof d=="function"?this.top_retain=d:d&&(typeof d=="string"&&(d=d.split(/,/)),this.top_retain=function(T){return d.includes(T.name)}),this.options.module&&(this.directives["use strict"]=!0,this.options.toplevel=!0);var E=this.options.toplevel;this.toplevel=typeof E=="string"?{funcs:/funcs/.test(E),vars:/vars/.test(E)}:{funcs:E,vars:E};var b=this.options.sequences;this.sequences_limit=b==1?800:b|0,this.evaluated_regexps=new Map,this._toplevel=void 0,this._mangle_options=r&&$u(r)}mangle_options(){var e=this._mangle_options&&this._mangle_options.nth_identifier||Ts,n=this._mangle_options&&this._mangle_options.module||this.option("module");return{ie8:this.option("ie8"),nth_identifier:e,module:n}}option(e){return this.options[e]}exposed(e){if(e.export)return!0;if(e.global){for(var n=0,r=e.orig.length;n<r;n++)if(!this.toplevel[e.orig[n]instanceof Oi?"funcs":"vars"])return!0}return!1}in_boolean_context(){if(!this.option("booleans"))return!1;for(var e=this.self(),n=0,r;r=this.parent(n);n++){if(r instanceof $e||r instanceof it&&r.condition===e||r instanceof Lu&&r.condition===e||r instanceof Dn&&r.condition===e||r instanceof Vt&&r.condition===e||r instanceof qe&&r.operator=="!"&&r.expression===e)return!0;if(r instanceof pe&&(r.operator=="&&"||r.operator=="||"||r.operator=="??")||r instanceof it||r.tail_node()===e)e=r;else return!1}}in_32_bit_context(){if(!this.option("evaluate"))return!1;for(var e=this.self(),n=0,r;r=this.parent(n);n++){if(r instanceof pe&&zf.has(r.operator))return!0;if(r instanceof qe)return r.operator==="~";if(r instanceof pe&&(r.operator=="&&"||r.operator=="||"||r.operator=="??")||r instanceof it&&r.condition!==e||r.tail_node()===e)e=r;else return!1}}in_computed_key(){if(!this.option("evaluate"))return!1;for(var e=this.self(),n=0,r;r=this.parent(n);n++)if(r instanceof _n&&r.key===e)return!0;return!1}get_toplevel(){return this._toplevel}compress(e){e=e.resolve_defines(this),this._toplevel=e,this.option("expression")&&this._toplevel.process_expression(!0);for(var n=+this.options.passes||1,r=1/0,a=!1,c=this.mangle_options(),h=0;h<n;h++)if(this._toplevel.figure_out_scope(c),h===0&&this.option("drop_console")&&(this._toplevel=this._toplevel.drop_console(this.option("drop_console"))),(h>0||this.option("reduce_vars"))&&this._toplevel.reset_opt_flags(this),this._toplevel=this._toplevel.transform(this),n>1){let d=0;if(Un(this._toplevel,()=>{d++}),d<r)r=d,a=!1;else{if(a)break;a=!0}}return this.option("expression")&&this._toplevel.process_expression(!1),e=this._toplevel,this._toplevel=void 0,e}before(e,n){if(Gn(e,Po))return e;var r=!1;e instanceof Ye&&(e=e.hoist_properties(this),e=e.hoist_declarations(this),r=!0),n(e,this),n(e,this);var a=e.optimize(this);return r&&a instanceof Ye&&(a.drop_unused(this),n(a,this)),a===e&&kr(a,Po),a}is_lhs(){const e=this.stack[this.stack.length-1],n=this.stack[this.stack.length-2];return Mo(e,n)}}function rt(t,e){t.DEFMETHOD("optimize",function(n){var r=this;if(Gn(r,Bf)||n.has_directive("use asm"))return r;var a=e(r,n);return kr(a,Bf),a})}rt(Oe,function(t){return t}),Qt.DEFMETHOD("drop_console",function(t){var e=Array.isArray(t);return this.transform(new br(function(n){if(n.TYPE==="Call"){var r=n.expression;if(r instanceof Xe&&!(e&&t.indexOf(r.property)===-1)){for(var a=r.expression;a.expression;)a=a.expression;if(_i(a)&&a.name=="console")return V(un,n)}}}))}),Oe.DEFMETHOD("equivalent_to",function(t){return Pg(this,t)}),Ye.DEFMETHOD("process_expression",function(t,e){var n=this,r=new br(function(a){if(t&&a instanceof $e)return V(pn,a,{value:a.body});if(!t&&a instanceof pn){if(e){var c=a.value&&a.value.drop_side_effect_free(e,!0);return c?V($e,a,{body:c}):V(Ut,a)}return V($e,a,{body:a.value||V(qe,a,{operator:"void",expression:V(nt,a,{value:0})})})}if(a instanceof At||a instanceof ze&&a!==n)return a;if(a instanceof Cn){var h=a.body.length-1;h>=0&&(a.body[h]=a.body[h].transform(r))}else a instanceof Vt?(a.body=a.body.transform(r),a.alternative&&(a.alternative=a.alternative.transform(r))):a instanceof Sr&&(a.body=a.body.transform(r));return a});n.transform(r)}),Qt.DEFMETHOD("reset_opt_flags",function(t){const e=this,n=t.option("reduce_vars"),r=new Vn(function(a,c){if(ca(a,Lg),n)return t.top_retain&&a instanceof sn&&r.parent()===e&&kr(a,Lf),a.reduce_vars(r,c,t)});r.safe_ids=Object.create(null),r.in_loop=null,r.loop_ids=new Map,r.defs_to_safe_ids=new Map,e.walk(r)}),vt.DEFMETHOD("fixed_value",function(){var t=this.thedef.fixed;return!t||t instanceof Oe?t:t()}),ke.DEFMETHOD("is_immutable",function(){var t=this.definition().orig;return t.length==1&&t[0]instanceof hi});function Jf(t,e){for(var n,r=0;(n=t.parent(r++))&&!(n instanceof Ye);)if(n instanceof oi&&n.argname){n=n.argname.definition().scope;break}return n.find_variable(e)}var nv=Bt("Array Boolean clearInterval clearTimeout console Date decodeURI decodeURIComponent encodeURI encodeURIComponent Error escape eval EvalError Function isFinite isNaN JSON Math Number parseFloat parseInt RangeError ReferenceError RegExp Object setInterval setTimeout String SyntaxError TypeError unescape URIError");ke.DEFMETHOD("is_declared",function(t){return!this.definition().undeclared||t.option("unsafe")&&nv.has(this.name)});var rv=new Set(["use asm","use strict"]);rt(ur,function(t,e){return e.option("directives")&&(!rv.has(t.value)||e.has_directive(t.value)!==t)?V(Ut,t):t}),rt(ji,function(t,e){return e.option("drop_debugger")?V(Ut,t):t}),rt(rr,function(t,e){return t.body instanceof Br&&e.loopcontrol_target(t.body)===t.body?V(Ut,t):t.label.references.length==0?t.body:t}),rt(Cn,function(t,e){return Zu(t.body,e),t});function iv(t){return!(t instanceof si||t instanceof ai||t instanceof At)}rt(tt,function(t,e){switch(Zu(t.body,e),t.body.length){case 1:if(!e.has_directive("use strict")&&e.parent()instanceof Vt&&iv(t.body[0])||Hf(t.body[0]))return t.body[0];break;case 0:return V(Ut,t)}return t});function eh(t,e){return Zu(t.body,e),e.option("side_effects")&&t.body.length==1&&t.body[0]===e.has_directive("use strict")&&(t.body.length=0),t}rt(ze,eh),Ye.DEFMETHOD("hoist_declarations",function(t){var e=this;if(t.has_directive("use asm"))return e;var n=t.option("hoist_funs"),r=t.option("hoist_vars");if(n||r){var a=[],c=[],h=new Map,d=0,E=0;Un(e,p=>{if(p instanceof Ye&&p!==e)return!0;if(p instanceof Bn)return++E,!0}),r=r&&E>1;var b=new br(function(g){if(g!==e){if(g instanceof ur)return a.push(g),V(Ut,g);if(n&&g instanceof sn&&!(b.parent()instanceof Rn)&&b.parent()===e)return c.push(g),V(Ut,g);if(r&&g instanceof Bn&&!g.definitions.some(P=>P.name instanceof qt)){g.definitions.forEach(function(P){h.set(P.name.name,P),++d});var A=g.to_assignments(t),O=b.parent();if(O instanceof Yn&&O.init===g){if(A==null){var k=g.definitions[0].name;return V(ke,k,k)}return A}return O instanceof Dn&&O.init===g?A:A?V($e,g,{body:A}):V(Ut,g)}if(g instanceof Ye)return g}});if(e=e.transform(b),d>0){var T=[];const p=e instanceof ze,g=p?e.args_as_names():null;if(h.forEach((A,O)=>{p&&g.some(k=>k.name===A.name.name)?h.delete(O):(A=A.clone(),A.value=null,T.push(A),h.set(O,A))}),T.length>0){for(var x=0;x<e.body.length;){if(e.body[x]instanceof $e){var w=e.body[x].body,F,R;if(w instanceof lt&&w.operator=="="&&(F=w.left)instanceof vt&&h.has(F.name)){var v=h.get(F.name);if(v.value)break;v.value=w.right,Zo(T,v),T.push(v),e.body.splice(x,1);continue}if(w instanceof mt&&(R=w.expressions[0])instanceof lt&&R.operator=="="&&(F=R.left)instanceof vt&&h.has(F.name)){var v=h.get(F.name);if(v.value)break;v.value=R.right,Zo(T,v),T.push(v),e.body[x].body=ot(w,w.expressions.slice(1));continue}}if(e.body[x]instanceof Ut){e.body.splice(x,1);continue}if(e.body[x]instanceof tt){e.body.splice(x,1,...e.body[x].body);continue}break}T=V(Bn,e,{definitions:T}),c.push(T)}}e.body=a.concat(c,e.body)}return e}),Ye.DEFMETHOD("hoist_properties",function(t){var e=this;if(!t.option("hoist_props")||t.has_directive("use asm"))return e;var n=e instanceof Qt&&t.top_retain||Ot,r=new Map,a=new br(function(c,h){if(c instanceof zt){const d=c.name;let E,b;if(d.scope===e&&(E=d.definition()).escaped!=1&&!E.assignments&&!E.direct_access&&!E.single_use&&!t.exposed(E)&&!n(E)&&(b=d.fixed_value())===c.value&&b instanceof jt&&!b.properties.some(T=>T instanceof gt||T.computed_key())){h(c,this);const T=new Map,x=[];return b.properties.forEach(({key:w,value:F})=>{const R=a.find_scope(),v=e.create_symbol(d.CTOR,{source:d,scope:R,conflict_scopes:new Set([R,...d.definition().references.map(p=>p.scope)]),tentative_name:d.name+"_"+w});T.set(String(w),v.definition()),x.push(V(zt,c,{name:v,value:F}))}),r.set(E.id,T),tn.splice(x)}}else if(c instanceof Xe&&c.expression instanceof ke){const d=r.get(c.expression.definition().id);if(d){const E=d.get(String(Ud(c.property))),b=V(ke,c,{name:E.name,scope:c.expression.scope,thedef:E});return b.reference({}),b}}});return e.transform(a)}),rt($e,function(t,e){if(e.option("side_effects")){var n=t.body,r=n.drop_side_effect_free(e,!0);if(!r)return V(Ut,t);if(r!==n)return V($e,t,{body:r})}return t}),rt(Hi,function(t,e){return e.option("loops")?V(Dn,t,t).optimize(e):t}),rt(Si,function(t,e){if(!e.option("loops"))return t;var n=t.condition.tail_node().evaluate(e);if(!(n instanceof Oe)){if(n)return V(Dn,t,{body:V(tt,t.body,{body:[t.body,V($e,t.condition,{body:t.condition})]})}).optimize(e);if(!Uf(t,e.parent()))return V(tt,t.body,{body:[t.body,V($e,t.condition,{body:t.condition})]}).optimize(e)}return t});function e_(t,e){var n=t.body instanceof tt?t.body.body[0]:t.body;if(e.option("dead_code")&&a(n)){var r=[];return t.init instanceof In?r.push(t.init):t.init&&r.push(V($e,t.init,{body:t.init})),t.condition&&r.push(V($e,t.condition,{body:t.condition})),Vo(e,t.body,r),V(tt,t,{body:r})}return n instanceof Vt&&(a(n.body)?(t.condition?t.condition=V(pe,t.condition,{left:t.condition,operator:"&&",right:n.condition.negate(e)}):t.condition=n.condition.negate(e),c(n.alternative)):a(n.alternative)&&(t.condition?t.condition=V(pe,t.condition,{left:t.condition,operator:"&&",right:n.condition}):t.condition=n.condition,c(n.body))),t;function a(h){return h instanceof Br&&e.loopcontrol_target(h)===e.self()}function c(h){h=qu(h),t.body instanceof tt?(t.body=t.body.clone(),t.body.body=h.concat(t.body.body.slice(1)),t.body=t.body.transform(e)):t.body=V(tt,t.body,{body:h}).transform(e),t=e_(t,e)}}rt(Dn,function(t,e){if(!e.option("loops"))return t;if(e.option("side_effects")&&t.init&&(t.init=t.init.drop_side_effect_free(e)),t.condition){var n=t.condition.evaluate(e);if(!(n instanceof Oe)){if(n)t.condition=null;else if(!e.option("dead_code")){var r=t.condition;t.condition=lr(n,t.condition),t.condition=Qi(t.condition.transform(e),r)}}if(e.option("dead_code")&&(n instanceof Oe&&(n=t.condition.tail_node().evaluate(e)),!n)){var a=[];return Vo(e,t.body,a),t.init instanceof In?a.push(t.init):t.init&&a.push(V($e,t.init,{body:t.init})),a.push(V($e,t.condition,{body:t.condition})),V(tt,t,{body:a}).optimize(e)}}return e_(t,e)}),rt(Vt,function(t,e){if(yo(t.alternative)&&(t.alternative=null),!e.option("conditionals"))return t;var n=t.condition.evaluate(e);if(!e.option("dead_code")&&!(n instanceof Oe)){var r=t.condition;t.condition=lr(n,r),t.condition=Qi(t.condition.transform(e),r)}if(e.option("dead_code"))if(n instanceof Oe&&(n=t.condition.tail_node().evaluate(e)),n){if(!(n instanceof Oe)){var a=[];return a.push(V($e,t.condition,{body:t.condition})),a.push(t.body),t.alternative&&Vo(e,t.alternative,a),V(tt,t,{body:a}).optimize(e)}}else{var a=[];return Vo(e,t.body,a),a.push(V($e,t.condition,{body:t.condition})),t.alternative&&a.push(t.alternative),V(tt,t,{body:a}).optimize(e)}var c=t.condition.negate(e),h=t.condition.size(),d=c.size(),E=d<h;if(t.alternative&&E){E=!1,t.condition=c;var b=t.body;t.body=t.alternative||V(Ut,t),t.alternative=b}if(yo(t.body)&&yo(t.alternative))return V($e,t.condition,{body:t.condition.clone()}).optimize(e);if(t.body instanceof $e&&t.alternative instanceof $e)return V($e,t,{body:V(it,t,{condition:t.condition,consequent:t.body.body,alternative:t.alternative.body})}).optimize(e);if(yo(t.alternative)&&t.body instanceof $e)return h===d&&!E&&t.condition instanceof pe&&t.condition.operator=="||"&&(E=!0),E?V($e,t,{body:V(pe,t,{operator:"||",left:c,right:t.body.body})}).optimize(e):V($e,t,{body:V(pe,t,{operator:"&&",left:t.condition,right:t.body.body})}).optimize(e);if(t.body instanceof Ut&&t.alternative instanceof $e)return V($e,t,{body:V(pe,t,{operator:"||",left:t.condition,right:t.alternative.body})}).optimize(e);if(t.body instanceof _r&&t.alternative instanceof _r&&t.body.TYPE==t.alternative.TYPE)return V(t.body.CTOR,t,{value:V(it,t,{condition:t.condition,consequent:t.body.value||V(un,t.body),alternative:t.alternative.value||V(un,t.alternative)}).transform(e)}).optimize(e);if(t.body instanceof Vt&&!t.body.alternative&&!t.alternative&&(t=V(Vt,t,{condition:V(pe,t.condition,{operator:"&&",left:t.condition,right:t.body.condition}),body:t.body.body,alternative:null})),Vr(t.body)&&t.alternative){var T=t.alternative;return t.alternative=null,V(tt,t,{body:[t,T]}).optimize(e)}if(Vr(t.alternative)){var a=t.body;return t.body=t.alternative,t.condition=E?c:t.condition.negate(e),t.alternative=null,V(tt,t,{body:[t,a]}).optimize(e)}return t}),rt(Qn,function(t,e){if(!e.option("switches"))return t;var n,r=t.expression.evaluate(e);if(!(r instanceof Oe)){var a=t.expression;t.expression=lr(r,a),t.expression=Qi(t.expression.transform(e),a)}if(!e.option("dead_code"))return t;r instanceof Oe&&(r=t.expression.tail_node().evaluate(e));for(var c=[],h=[],d,E,b=0,T=t.body.length;b<T&&!E;b++){if(n=t.body[b],n instanceof wo)d?R(n,h[h.length-1]):d=n;else if(!(r instanceof Oe)){var x=n.expression.evaluate(e);if(!(x instanceof Oe)&&x!==r){R(n,h[h.length-1]);continue}if(x instanceof Oe&&(x=n.expression.tail_node().evaluate(e)),x===r&&(E=n,d)){var w=h.indexOf(d);h.splice(w,1),R(d,h[w-1]),d=null}}h.push(n)}for(;b<T;)R(t.body[b++],h[h.length-1]);t.body=h;let F=d||E;if(d=null,E=null,h.every((k,P)=>(k===F||k.expression instanceof Nt)&&(k.body.length===0||Vr(k)||h.length-1===P)))for(let k=0;k<h.length;k++){const P=h[k];for(let L=k+1;L<h.length;L++){const $=h[L];if($.body.length===0)continue;const M=L===h.length-1,G=v($,P,!1);if(G||M&&v($,P,!0)){!G&&M&&$.body.push(V(Br));let N=L-1,z=0;for(;N>k&&O(h[N--]);)z++;const Y=h.splice(L-z,1+z);h.splice(k+1,0,...Y),k+=Y.length}}}for(let k=0;k<h.length;k++){let P=h[k];if(P.body.length!==0&&Vr(P))for(let L=k+1;L<h.length;k++,L++){let $=h[L];if($.body.length!==0){if(v($,P,!1)||L===h.length-1&&v($,P,!0)){P.body=[],P=$;continue}break}}}{let k=h.length-1;for(;k>=0;k--){let P=h[k].body;if(A(P[P.length-1],e)&&P.pop(),!O(h[k]))break}if(k++,!F||h.indexOf(F)>=k)for(let P=h.length-1;P>=k;P--){let L=h[P];if(L===F)F=null,h.pop();else if(!L.expression.has_side_effects(e))h.pop();else break}}e:if(F){let k=h.indexOf(F),P=k;for(;P<h.length-1&&O(h[P]);P++);if(P<h.length-1)break e;let L=h.length-1;for(;L>=0;L--){let $=h[L];if($!==F&&$.expression.has_side_effects(e))break}if(P>L){let $=k-1;for(;$>=0&&O(h[$]);$--);let M=Math.max(L,$)+1,G=k;L>k?(G=L,h[L].body=h[P].body):F.body=h[P].body,h.splice(G+1,P-G),h.splice(M,k-M)}}e:if(F){let k=h.findIndex(M=>!O(M)),P;if(k===h.length-1){let M=h[k];if(g(t))break e;P=V(tt,M,{body:M.body}),M.body=[]}else if(k!==-1)break e;if(!h.find(M=>M!==F&&M.expression.has_side_effects(e)))return V(tt,t,{body:c.concat(p(t.expression),F.expression?p(F.expression):[],P||[])}).optimize(e);const $=h.indexOf(F);if(h.splice($,1),F=null,P)return V(tt,t,{body:c.concat(t,P)}).optimize(e)}if(h.length>0&&(h[0].body=c.concat(h[0].body)),h.length==0)return V(tt,t,{body:c.concat(p(t.expression))}).optimize(e);if(h.length==1&&!g(t)){let k=h[0];return V(Vt,t,{condition:V(pe,t,{operator:"===",left:t.expression,right:k.expression}),body:V(tt,k,{body:k.body}),alternative:null}).optimize(e)}if(h.length===2&&F&&!g(t)){let k=h[0]===F?h[1]:h[0],P=F.expression&&p(F.expression);if(Vr(h[0])){let G=h[0];return A(G.body[G.body.length-1],e)&&G.body.pop(),V(Vt,t,{condition:V(pe,t,{operator:"===",left:t.expression,right:k.expression}),body:V(tt,k,{body:k.body}),alternative:V(tt,F,{body:[].concat(P||[],F.body)})}).optimize(e)}let L="===",$=V(tt,k,{body:k.body}),M=V(tt,F,{body:[].concat(P||[],F.body)});if(h[0]===F){L="!==";let G=M;M=$,$=G}return V(tt,t,{body:[V(Vt,t,{condition:V(pe,t,{operator:L,left:t.expression,right:k.expression}),body:$,alternative:null})].concat(M)}).optimize(e)}return t;function R(k,P){P&&!Vr(P)?P.body=P.body.concat(k.body):Vo(e,k,c)}function v(k,P,L){let $=k.body,M=P.body;if(L&&($=$.concat(V(Br))),$.length!==M.length)return!1;let G=V(tt,k,{body:$}),N=V(tt,P,{body:M});return G.equivalent_to(N)}function p(k){return V($e,k,{body:k})}function g(k){let P=!1,L=new Vn($=>{if(P||$ instanceof ze||$ instanceof $e)return!0;if(!A($,L))return;let M=L.parent();M instanceof Gi&&M.body[M.body.length-1]===$||(P=!0)});return k.walk(L),P}function A(k,P){return k instanceof Br&&P.loopcontrol_target(k)===t}function O(k){return!Vr(k)&&!V(tt,k,{body:k.body}).has_side_effects(e)}}),rt(Cr,function(t,e){if(t.bcatch&&t.bfinally&&t.bfinally.body.every(yo)&&(t.bfinally=null),e.option("dead_code")&&t.body.body.every(yo)){var n=[];return t.bcatch&&Vo(e,t.bcatch,n),t.bfinally&&n.push(...t.bfinally.body),V(tt,t,{body:n}).optimize(e)}return t}),dn.DEFMETHOD("to_assignments",function(t){var e=t.option("reduce_vars"),n=[];for(const a of this.definitions){if(a.value){var r=V(ke,a.name,a.name);n.push(V(lt,a,{operator:"=",logical:!1,left:r,right:a.value})),e&&(r.definition().fixed=!1)}const c=a.name.definition();c.eliminated++,c.replaced--}return n.length==0?null:ot(this,n)}),rt(dn,function(t){return t.definitions.length==0?V(Ut,t):t}),rt(zt,function(t,e){return t.name instanceof ta&&t.value!=null&&mi(t.value,e)&&(t.value=null),t}),rt(Lr,function(t){return t}),rt(He,function(t,e){var n=t.expression,r=n;n_(t.args);var a=t.args.every(Y=>!(Y instanceof gt));e.option("reduce_vars")&&r instanceof ke&&(r=r.fixed_value());var c=r instanceof ze;if(c&&r.pinned())return t;if(e.option("unused")&&a&&c&&!r.uses_arguments){for(var h=0,d=0,E=0,b=t.args.length;E<b;E++){if(r.argnames[E]instanceof gt){if(Gn(r.argnames[E].expression,mo))for(;E<b;){var T=t.args[E++].drop_side_effect_free(e);T&&(t.args[h++]=T)}else for(;E<b;)t.args[h++]=t.args[E++];d=h;break}var x=E>=r.argnames.length;if(x||Gn(r.argnames[E],mo)){var T=t.args[E].drop_side_effect_free(e);if(T)t.args[h++]=T;else if(!x){t.args[h++]=V(nt,t.args[E],{value:0});continue}}else t.args[h++]=t.args[E];d=h}t.args.length=d}if(e.option("unsafe")&&!n.contains_optional()){if(n instanceof Jt&&n.start.value==="Array"&&n.property==="from"&&t.args.length===1){const[Y]=t.args;if(Y instanceof Ft)return V(Ft,Y,{elements:Y.elements}).optimize(e)}if(_i(n))switch(n.name){case"Array":if(t.args.length!=1)return V(Ft,t,{elements:t.args}).optimize(e);if(t.args[0]instanceof nt&&t.args[0].value<=11){const Y=[];for(let ne=0;ne<t.args[0].value;ne++)Y.push(new Ur);return new Ft({elements:Y})}break;case"Object":if(t.args.length==0)return V(jt,t,{properties:[]});break;case"String":if(t.args.length==0)return V(bt,t,{value:""});if(t.args.length<=1)return V(pe,t,{left:t.args[0],operator:"+",right:V(bt,t,{value:""})}).optimize(e);break;case"Number":if(t.args.length==0)return V(nt,t,{value:0});if(t.args.length==1&&e.option("unsafe_math"))return V(qe,t,{expression:t.args[0],operator:"+"}).optimize(e);break;case"Symbol":t.args.length==1&&t.args[0]instanceof bt&&e.option("unsafe_symbols")&&(t.args.length=0);break;case"Boolean":if(t.args.length==0)return V(Yi,t);if(t.args.length==1)return V(qe,t,{expression:V(qe,t,{expression:t.args[0],operator:"!"}),operator:"!"}).optimize(e);break;case"RegExp":var w=[];if(t.args.length>=1&&t.args.length<=2&&t.args.every(Y=>{var ne=Y.evaluate(e);return w.push(ne),Y!==ne})&&vd(w[0])){let[Y,ne]=w;Y=Au(new RegExp(Y).source);const se=V(yr,t,{value:{source:Y,flags:ne}});if(se._eval(e)!==se)return se}break}else if(n instanceof Jt)switch(n.property){case"toString":if(t.args.length==0&&!n.expression.may_throw_on_access(e))return V(pe,t,{left:V(bt,t,{value:""}),operator:"+",right:n.expression}).optimize(e);break;case"join":if(n.expression instanceof Ft)e:{var F;if(t.args.length>0&&(F=t.args[0].evaluate(e),F===t.args[0]))break e;for(var R=[],v=[],E=0,b=n.expression.elements.length;E<b;E++){var p=n.expression.elements[E];if(p instanceof gt)break e;var g=p.evaluate(e);g!==p?v.push(g):(v.length>0&&(R.push(V(bt,t,{value:v.join(F)})),v.length=0),R.push(p))}if(v.length>0&&R.push(V(bt,t,{value:v.join(F)})),R.length==0)return V(bt,t,{value:""});if(R.length==1)return R[0].is_string(e)?R[0]:V(pe,R[0],{operator:"+",left:V(bt,t,{value:""}),right:R[0]});if(F==""){var A;return R[0].is_string(e)||R[1].is_string(e)?A=R.shift():A=V(bt,t,{value:""}),R.reduce(function(ne,se){return V(pe,se,{operator:"+",left:ne,right:se})},A).optimize(e)}var T=t.clone();return T.expression=T.expression.clone(),T.expression.expression=T.expression.expression.clone(),T.expression.expression.elements=R,Or(e,t,T)}break;case"charAt":if(n.expression.is_string(e)){var O=t.args[0],k=O?O.evaluate(e):0;if(k!==O)return V(kn,n,{expression:n.expression,property:lr(k|0,O||n)}).optimize(e)}break;case"apply":if(t.args.length==2&&t.args[1]instanceof Ft){var P=t.args[1].elements.slice();return P.unshift(t.args[0]),V(He,t,{expression:V(Jt,n,{expression:n.expression,optional:!1,property:"call"}),args:P}).optimize(e)}break;case"call":var L=n.expression;if(L instanceof ke&&(L=L.fixed_value()),L instanceof ze&&!L.contains_this())return(t.args.length?ot(this,[t.args[0],V(He,t,{expression:n.expression,args:t.args.slice(1)})]):V(He,t,{expression:n.expression,args:[]})).optimize(e);break}}if(e.option("unsafe_Function")&&_i(n)&&n.name=="Function"){if(t.args.length==0)return V(Gt,t,{argnames:[],body:[]}).optimize(e);if(t.args.every(Y=>Y instanceof bt))try{var z="n(function("+t.args.slice(0,-1).map(function(Y){return Y.value}).join(",")+"){"+t.args[t.args.length-1].value+"})",$=ms(z),M=e.mangle_options();$.figure_out_scope(M);var G=new Jd(e.options,{mangle_options:e._mangle_options});$=$.transform(G),$.figure_out_scope(M),$.compute_char_frequency(M),$.mangle_names(M);var N;Un($,Y=>{if(Wu(Y))return N=Y,vr});var z=wf();return tt.prototype._codegen.call(N,N,z),t.args=[V(bt,t,{value:N.argnames.map(function(Y){return Y.print_to_string()}).join(",")}),V(bt,t.args[t.args.length-1],{value:z.get().replace(/^{|}$/g,"")})],t}catch(Y){if(!(Y instanceof kd))throw Y}}return tv(t,e)}),Oe.DEFMETHOD("contains_optional",function(){return this instanceof Xe||this instanceof He||this instanceof Sn?this.optional?!0:this.expression.contains_optional():!1}),rt(cr,function(t,e){return e.option("unsafe")&&_i(t.expression)&&["Object","RegExp","Function","Error","Array"].includes(t.expression.name)?V(He,t,t).transform(e):t}),rt(mt,function(t,e){if(!e.option("side_effects"))return t;var n=[];a();var r=n.length-1;if(c(),r==0)return t=Io(e.parent(),e.self(),n[0]),t instanceof mt||(t=t.optimize(e)),t;return t.expressions=n,t;function a(){var h=di(e),d=t.expressions.length-1;t.expressions.forEach(function(E,b){b<d&&(E=E.drop_side_effect_free(e,h)),E&&(Mf(n,E),h=!1)})}function c(){for(;r>0&&mi(n[r],e);)r--;r<n.length-1&&(n[r]=V(qe,t,{operator:"void",expression:n[r]}),n.length=r+1)}}),en.DEFMETHOD("lift_sequences",function(t){if(t.option("sequences")&&this.expression instanceof mt){var e=this.expression.expressions.slice(),n=this.clone();return n.expression=e.pop(),e.push(n),ot(this,e).optimize(t)}return this}),rt(Ki,function(t,e){return t.lift_sequences(e)}),rt(qe,function(t,e){var n=t.expression;if(t.operator=="delete"&&!(n instanceof ke||n instanceof Xe||n instanceof Sn||Hd(n)))return ot(t,[n,V(Dr,t)]).optimize(e);var r=t.lift_sequences(e);if(r!==t)return r;if(e.option("side_effects")&&t.operator=="void")return n=n.drop_side_effect_free(e),n?(t.expression=n,t):V(un,t).optimize(e);if(e.in_boolean_context())switch(t.operator){case"!":if(n instanceof qe&&n.operator=="!")return n.expression;n instanceof pe&&(t=Or(e,t,n.negate(e,di(e))));break;case"typeof":return(n instanceof ke?V(Dr,t):ot(t,[n,V(Dr,t)])).optimize(e)}if(t.operator=="-"&&n instanceof _o&&(n=n.transform(e)),n instanceof pe&&(t.operator=="+"||t.operator=="-")&&(n.operator=="*"||n.operator=="/"||n.operator=="%"))return V(pe,t,{operator:n.operator,left:V(qe,n.left,{operator:t.operator,expression:n.left}),right:n.right});if(e.option("evaluate")){if(t.operator==="~"&&t.expression instanceof qe&&t.expression.operator==="~"&&(e.in_32_bit_context()||t.expression.expression.is_32_bit_integer()))return t.expression.expression;if(t.operator==="~"&&n instanceof pe&&n.operator==="^")return n.left instanceof qe&&n.left.operator==="~"?n.left=n.left.bitwise_negate(!0):n.right=n.right.bitwise_negate(!0),n}if(t.operator!="-"||!(n instanceof nt||n instanceof _o||n instanceof pi)){var a=t.evaluate(e);if(a!==t)return a=lr(a,t).optimize(e),Or(e,a,t)}return t}),pe.DEFMETHOD("lift_sequences",function(t){if(t.option("sequences")){if(this.left instanceof mt){var e=this.left.expressions.slice(),n=this.clone();return n.left=e.pop(),e.push(n),ot(this,e).optimize(t)}if(this.right instanceof mt&&!this.left.has_side_effects(t)){for(var r=this.operator=="="&&this.left instanceof ke,e=this.right.expressions,a=e.length-1,c=0;c<a&&!(!r&&e[c].has_side_effects(t));c++);if(c==a){e=e.slice();var n=this.clone();return n.right=e.pop(),e.push(n),ot(this,e).optimize(t)}else if(c>0){var n=this.clone();return n.right=ot(this.right,e.slice(c)),e=e.slice(0,c),e.push(n),ot(this,e).optimize(t)}}}return this});var ov=Bt("== === != !== * & | ^");function av(t){return t instanceof Ft||t instanceof ze||t instanceof jt||t instanceof At}rt(pe,function(t,e){function n(){return t.left.is_constant()||t.right.is_constant()||!t.left.has_side_effects(e)&&!t.right.has_side_effects(e)}function r(L){if(n()){L&&(t.operator=L);var $=t.left;t.left=t.right,t.right=$}}if(e.option("lhs_constants")&&ov.has(t.operator)&&t.right.is_constant()&&!t.left.is_constant()&&(t.left instanceof pe&&Ir[t.left.operator]>=Ir[t.operator]||r()),t=t.lift_sequences(e),e.option("comparisons"))switch(t.operator){case"===":case"!==":var a=!0;(t.left.is_string(e)&&t.right.is_string(e)||t.left.is_number(e)&&t.right.is_number(e)||t.left.is_boolean()&&t.right.is_boolean()||t.left.equivalent_to(t.right))&&(t.operator=t.operator.substr(0,2));case"==":case"!=":if(!a&&mi(t.left,e))t.left=V(gr,t.left);else if(!a&&mi(t.right,e))t.right=V(gr,t.right);else if(e.option("typeofs")&&t.left instanceof bt&&t.left.value=="undefined"&&t.right instanceof qe&&t.right.operator=="typeof"){var c=t.right.expression;(c instanceof ke?c.is_declared(e):!(c instanceof Xe&&e.option("ie8")))&&(t.right=c,t.left=V(un,t.left).optimize(e),t.operator.length==2&&(t.operator+="="))}else if(e.option("typeofs")&&t.left instanceof qe&&t.left.operator=="typeof"&&t.right instanceof bt&&t.right.value=="undefined"){var c=t.left.expression;(c instanceof ke?c.is_declared(e):!(c instanceof Xe&&e.option("ie8")))&&(t.left=c,t.right=V(un,t.right).optimize(e),t.operator.length==2&&(t.operator+="="))}else{if(t.left instanceof ke&&t.right instanceof ke&&t.left.definition()===t.right.definition()&&av(t.left.fixed_value()))return V(t.operator[0]=="="?Dr:Yi,t);if(t.left.is_32_bit_integer()&&t.right.is_32_bit_integer()){const L=z=>V(qe,z,{operator:"!",expression:z}),$=(z,Y)=>Y?e.in_boolean_context()?z:L(L(z)):L(z);if(t.left instanceof nt&&t.left.value===0)return $(t.right,t.operator[0]==="!");if(t.right instanceof nt&&t.right.value===0)return $(t.left,t.operator[0]==="!");let M,G,N;if((M=t.left instanceof pe?t.left:t.right instanceof pe?t.right:null)&&(N=M===t.left?t.right:t.left)&&M.operator==="&"&&N instanceof nt&&N.is_32_bit_integer()&&(G=M.left.equivalent_to(N)?M.right:M.right.equivalent_to(N)?M.left:null)){let z=$(V(pe,t,{operator:"&",left:N,right:V(qe,t,{operator:"~",expression:G})}),t.operator[0]==="!");return Or(e,z,t)}}}break;case"&&":case"||":var h=t.left;if(h.operator==t.operator&&(h=h.right),h instanceof pe&&h.operator==(t.operator=="&&"?"!==":"===")&&t.right instanceof pe&&h.operator==t.right.operator&&(mi(h.left,e)&&t.right.left instanceof gr||h.left instanceof gr&&mi(t.right.left,e))&&!h.right.has_side_effects(e)&&h.right.equivalent_to(t.right.right)){var d=V(pe,t,{operator:h.operator.slice(0,-1),left:V(gr,t),right:h.right});return h!==t.left&&(d=V(pe,t,{operator:t.operator,left:t.left.left,right:d})),d}break}if(t.operator=="+"&&e.in_boolean_context()){var E=t.left.evaluate(e),b=t.right.evaluate(e);if(E&&typeof E=="string")return ot(t,[t.right,V(Dr,t)]).optimize(e);if(b&&typeof b=="string")return ot(t,[t.left,V(Dr,t)]).optimize(e)}if(e.option("comparisons")&&t.is_boolean()){if(!(e.parent()instanceof pe)||e.parent()instanceof lt){var T=V(qe,t,{operator:"!",expression:t.negate(e,di(e))});t=Or(e,t,T)}if(e.option("unsafe_comps"))switch(t.operator){case"<":r(">");break;case"<=":r(">=");break}}if(t.operator=="+"){if(t.right instanceof bt&&t.right.getValue()==""&&t.left.is_string(e))return t.left;if(t.left instanceof bt&&t.left.getValue()==""&&t.right.is_string(e))return t.right;if(t.left instanceof pe&&t.left.operator=="+"&&t.left.left instanceof bt&&t.left.left.getValue()==""&&t.right.is_string(e))return t.left=t.left.right,t}if(e.option("evaluate")){switch(t.operator){case"&&":var E=Gn(t.left,Nf)?!0:Gn(t.left,Pf)?!1:t.left.evaluate(e);if(E){if(!(E instanceof Oe))return ot(t,[t.left,t.right]).optimize(e)}else return Io(e.parent(),e.self(),t.left).optimize(e);var b=t.right.evaluate(e);if(b){if(!(b instanceof Oe)){var x=e.parent();if(x.operator=="&&"&&x.left===e.self()||e.in_boolean_context())return t.left.optimize(e)}}else{if(e.in_boolean_context())return ot(t,[t.left,V(Yi,t)]).optimize(e);kr(t,Pf)}if(t.left.operator=="||"){var w=t.left.right.evaluate(e);if(!w)return V(it,t,{condition:t.left.left,consequent:t.right,alternative:t.left.right}).optimize(e)}break;case"||":var E=Gn(t.left,Nf)?!0:Gn(t.left,Pf)?!1:t.left.evaluate(e);if(E){if(!(E instanceof Oe))return Io(e.parent(),e.self(),t.left).optimize(e)}else return ot(t,[t.left,t.right]).optimize(e);var b=t.right.evaluate(e);if(b){if(!(b instanceof Oe)){if(e.in_boolean_context())return ot(t,[t.left,V(Dr,t)]).optimize(e);kr(t,Nf)}}else{var x=e.parent();if(x.operator=="||"&&x.left===e.self()||e.in_boolean_context())return t.left.optimize(e)}if(t.left.operator=="&&"){var w=t.left.right.evaluate(e);if(w&&!(w instanceof Oe))return V(it,t,{condition:t.left.left,consequent:t.left.right,alternative:t.right}).optimize(e)}break;case"??":if(yi(t.left,e))return t.right;var E=t.left.evaluate(e);if(!(E instanceof Oe))return E==null?t.right:t.left;if(e.in_boolean_context()){const M=t.right.evaluate(e);if(!(M instanceof Oe)&&!M)return t.left}}var F=!0;switch(t.operator){case"+":if(t.right instanceof Nt&&t.left instanceof pe&&t.left.operator=="+"&&t.left.is_string(e)){var R=V(pe,t,{operator:"+",left:t.left.right,right:t.right}),v=R.optimize(e);R!==v&&(t=V(pe,t,{operator:"+",left:t.left.left,right:v}))}if(t.left instanceof pe&&t.left.operator=="+"&&t.left.is_string(e)&&t.right instanceof pe&&t.right.operator=="+"&&t.right.is_string(e)){var R=V(pe,t,{operator:"+",left:t.left.right,right:t.right.left}),p=R.optimize(e);R!==p&&(t=V(pe,t,{operator:"+",left:V(pe,t.left,{operator:"+",left:t.left.left,right:p}),right:t.right.right}))}if(t.right instanceof qe&&t.right.operator=="-"&&t.left.is_number(e)){t=V(pe,t,{operator:"-",left:t.left,right:t.right.expression});break}if(t.left instanceof qe&&t.left.operator=="-"&&n()&&t.right.is_number(e)){t=V(pe,t,{operator:"-",left:t.right,right:t.left.expression});break}if(t.left instanceof Zn){var g=t.left,v=t.right.evaluate(e);if(v!=t.right)return g.segments[g.segments.length-1].value+=String(v),g}if(t.right instanceof Zn){var v=t.right,g=t.left.evaluate(e);if(g!=t.left)return v.segments[0].value=String(g)+v.segments[0].value,v}if(t.left instanceof Zn&&t.right instanceof Zn){var g=t.left,A=g.segments,v=t.right;A[A.length-1].value+=v.segments[0].value;for(var O=1;O<v.segments.length;O++)A.push(v.segments[O]);return g}case"*":F=e.option("unsafe_math");case"&":case"|":case"^":if(t.left.is_number(e)&&t.right.is_number(e)&&n()&&!(t.left instanceof pe&&t.left.operator!=t.operator&&Ir[t.left.operator]>=Ir[t.operator])){var k=V(pe,t,{operator:t.operator,left:t.right,right:t.left});t.right instanceof Nt&&!(t.left instanceof Nt)?t=Or(e,k,t):t=Or(e,t,k)}F&&t.is_number(e)&&(t.right instanceof pe&&t.right.operator==t.operator&&(t=V(pe,t,{operator:t.operator,left:V(pe,t.left,{operator:t.operator,left:t.left,right:t.right.left,start:t.left.start,end:t.right.left.end}),right:t.right.right})),t.right instanceof Nt&&t.left instanceof pe&&t.left.operator==t.operator&&(t.left.left instanceof Nt?t=V(pe,t,{operator:t.operator,left:V(pe,t.left,{operator:t.operator,left:t.left.left,right:t.right,start:t.left.left.start,end:t.right.end}),right:t.left.right}):t.left.right instanceof Nt&&(t=V(pe,t,{operator:t.operator,left:V(pe,t.left,{operator:t.operator,left:t.left.right,right:t.right,start:t.left.right.start,end:t.right.end}),right:t.left.left}))),t.left instanceof pe&&t.left.operator==t.operator&&t.left.right instanceof Nt&&t.right instanceof pe&&t.right.operator==t.operator&&t.right.left instanceof Nt&&(t=V(pe,t,{operator:t.operator,left:V(pe,t.left,{operator:t.operator,left:V(pe,t.left.left,{operator:t.operator,left:t.left.right,right:t.right.left,start:t.left.right.start,end:t.right.left.end}),right:t.left.left}),right:t.right.right})))}if(zf.has(t.operator)){let L,$,M,G,N=t.left;if(t.operator==="&"&&t.right instanceof pe&&t.right.operator==="|"&&typeof($=t.left.evaluate(e))=="number"&&(typeof(L=t.right.right.evaluate(e))=="number"?(M=t.right.left,G=t.right.right):typeof(L=t.right.left.evaluate(e))=="number"&&(M=t.right.right,G=t.right.left),M&&G))if(!(L&$))t=V(pe,t,{operator:t.operator,left:N,right:M});else{const ce=V(pe,t,{operator:"|",left:V(pe,t,{operator:"&",left:M,right:N}),right:lr(L&$,G)});t=Or(e,t,ce)}if(t.left.equivalent_to(t.right)&&!t.left.has_side_effects(e)){if(t.operator==="^")return V(nt,t,{value:0});(t.operator==="|"||t.operator==="&")&&(t.left=V(nt,t,{value:0}),t.operator="|")}(t.operator==="<<"||t.operator===">>")&&t.right instanceof nt&&t.right.value===0&&(t.operator="|");const Y=t.right instanceof nt&&t.right.value===0?t.right:t.left instanceof nt&&t.left.value===0?t.left:null,ne=Y&&(Y===t.right?t.left:t.right);if(Y&&(t.operator==="|"||t.operator==="^")&&(ne.is_32_bit_integer()||e.in_32_bit_context()))return ne;if(Y&&t.operator==="&"&&!ne.has_side_effects(e))return Y;const se=ce=>ce instanceof nt&&ce.value===-1||ce instanceof qe&&(ce.operator==="-"&&ce.expression instanceof nt&&ce.expression.value===1||ce.operator==="~"&&ce.expression instanceof nt&&ce.expression.value===0),re=se(t.right)?t.right:se(t.left)?t.left:null,ue=re&&(re===t.right?t.left:t.right);switch(t.operator){case"|":if(re&&!ue.has_side_effects(e))return re;break;case"&":if(re&&(ue.is_32_bit_integer()||e.in_32_bit_context()))return ue;break;case"^":if(re)return ue.bitwise_negate(e.in_32_bit_context());t.left instanceof qe&&t.left.operator==="~"&&t.right instanceof qe&&t.right.operator==="~"&&(t=V(pe,t,{operator:"^",left:t.left.expression,right:t.right.expression}));break}}}if(t.right instanceof pe&&t.right.operator==t.operator&&(Lo.has(t.operator)||t.operator=="+"&&(t.right.left.is_string(e)||t.left.is_string(e)&&t.right.right.is_string(e))))return t.left=V(pe,t.left,{operator:t.operator,left:t.left.transform(e),right:t.right.left.transform(e)}),t.right=t.right.right.transform(e),t.transform(e);var P=t.evaluate(e);return P!==t?(P=lr(P,t).optimize(e),Or(e,P,t)):t}),rt(Fo,function(t){return t}),rt(ke,function(t,e){if(!e.option("ie8")&&_i(t)&&!e.find_parent(Sr))switch(t.name){case"undefined":return V(un,t).optimize(e);case"NaN":return V(Es,t).optimize(e);case"Infinity":return V(_o,t).optimize(e)}return e.option("reduce_vars")&&!e.is_lhs()?ev(t,e):t});function Qu(t,e){return t instanceof ke||t.TYPE===e.TYPE}rt(un,function(t,e){if(e.option("unsafe_undefined")){var n=Jf(e,"undefined");if(n){var r=V(ke,t,{name:"undefined",scope:n.scope,thedef:n});return kr(r,If),r}}var a=e.is_lhs();return a&&Qu(a,t)?t:V(qe,t,{operator:"void",expression:V(nt,t,{value:0})})}),rt(_o,function(t,e){var n=e.is_lhs();return n&&Qu(n,t)||e.option("keep_infinity")&&!(n&&!Qu(n,t))&&!Jf(e,"Infinity")?t:V(pe,t,{operator:"/",left:V(nt,t,{value:1}),right:V(nt,t,{value:0})})}),rt(Es,function(t,e){var n=e.is_lhs();return n&&!Qu(n,t)||Jf(e,"NaN")?V(pe,t,{operator:"/",left:V(nt,t,{value:0}),right:V(nt,t,{value:0})}):t});const sv=Bt("+ - / * % >> << >>> | ^ &"),uv=Bt("* | ^ &");rt(lt,function(t,e){if(t.logical)return t.lift_sequences(e);var n;if(t.operator==="="&&t.left instanceof ke&&t.left.name!=="arguments"&&!(n=t.left.definition()).undeclared&&t.right.equivalent_to(t.left))return t.right;if(e.option("dead_code")&&t.left instanceof ke&&(n=t.left.definition()).scope===e.find_parent(ze)){var r=0,a,c=t;do if(a=c,c=e.parent(r++),c instanceof _r){if(h(r,c)||$d(n.scope,[n]))break;return t.operator=="="?t.right:(n.fixed=!1,V(pe,t,{operator:t.operator.slice(0,-1),left:t.left,right:t.right}).optimize(e))}while(c instanceof pe&&c.right===a||c instanceof mt&&c.tail_node()===a)}return t=t.lift_sequences(e),t.operator=="="&&t.left instanceof ke&&t.right instanceof pe&&(t.right.left instanceof ke&&t.right.left.name==t.left.name&&sv.has(t.right.operator)?(t.operator=t.right.operator+"=",t.right=t.right.right):t.right.right instanceof ke&&t.right.right.name==t.left.name&&uv.has(t.right.operator)&&!t.right.left.has_side_effects(e)&&(t.operator=t.right.operator+"=",t.right=t.right.left)),t;function h(d,E){function b(){const w=t.right;t.right=V(gr,w);const F=E.may_throw(e);return t.right=w,F}for(var T=t.left.definition().scope.get_defun_scope(),x;(x=e.parent(d++))!==T;)if(x instanceof Cr&&(x.bfinally||x.bcatch&&b()))return!0}}),rt(Mr,function(t,e){if(!e.option("evaluate"))return t;var n=t.right.evaluate(e);let r,a;return n===void 0?(!((r=e.parent())instanceof ze)||e.option("keep_fargs")===!1||(a=e.parent(1)).TYPE==="Call"&&a.expression===r)&&(t=t.left):n!==t.right&&(n=lr(n,t.right),t.right=Qi(n,t.right)),t});function cv(t,e,n){if(e.may_throw(n))return!1;let r;if(t instanceof pe&&t.operator==="=="&&((r=yi(t.left,n)&&t.left)||(r=yi(t.right,n)&&t.right))&&(r===t.left?t.right:t.left).equivalent_to(e))return!0;if(t instanceof pe&&t.operator==="||"){let a,c;const h=d=>{if(!(d instanceof pe&&(d.operator==="==="||d.operator==="==")))return!1;let E=0,b;return d.left instanceof gr&&(E++,a=d,b=d.right),d.right instanceof gr&&(E++,a=d,b=d.left),mi(d.left,n)&&(E++,c=d,b=d.right),mi(d.right,n)&&(E++,c=d,b=d.left),!(E!==1||!b.equivalent_to(e))};if(!h(t.left)||!h(t.right))return!1;if(a&&c&&a!==c)return!0}return!1}rt(it,function(t,e){if(!e.option("conditionals"))return t;if(t.condition instanceof mt){var n=t.condition.expressions.slice();return t.condition=n.pop(),n.push(t),ot(t,n)}var r=t.condition.evaluate(e);if(r!==t.condition)return r?Io(e.parent(),e.self(),t.consequent):Io(e.parent(),e.self(),t.alternative);var a=r.negate(e,di(e));Or(e,r,a)===a&&(t=V(it,t,{condition:a,consequent:t.alternative,alternative:t.consequent}));var c=t.condition,h=t.consequent,d=t.alternative;if(c instanceof ke&&h instanceof ke&&c.definition()===h.definition())return V(pe,t,{operator:"||",left:c,right:d});if(h instanceof lt&&d instanceof lt&&h.operator===d.operator&&h.logical===d.logical&&h.left.equivalent_to(d.left)&&(!t.condition.has_side_effects(e)||h.operator=="="&&!h.left.has_side_effects(e)))return V(lt,t,{operator:h.operator,left:h.left,logical:h.logical,right:V(it,t,{condition:t.condition,consequent:h.right,alternative:d.right})});var E;if(h instanceof He&&d.TYPE===h.TYPE&&h.args.length>0&&h.args.length==d.args.length&&h.expression.equivalent_to(d.expression)&&!t.condition.has_side_effects(e)&&!h.expression.has_side_effects(e)&&typeof(E=R())=="number"){var b=h.clone();return b.args[E]=V(it,t,{condition:t.condition,consequent:h.args[E],alternative:d.args[E]}),b}if(d instanceof it&&h.equivalent_to(d.consequent))return V(it,t,{condition:V(pe,t,{operator:"||",left:c,right:d.condition}),consequent:h,alternative:d.alternative}).optimize(e);if(e.option("ecma")>=2020&&cv(c,d,e))return V(pe,t,{operator:"??",left:d,right:h}).optimize(e);if(d instanceof mt&&h.equivalent_to(d.expressions[d.expressions.length-1]))return ot(t,[V(pe,t,{operator:"||",left:c,right:ot(t,d.expressions.slice(0,-1))}),h]).optimize(e);if(d instanceof pe&&d.operator=="&&"&&h.equivalent_to(d.right))return V(pe,t,{operator:"&&",left:V(pe,t,{operator:"||",left:c,right:d.left}),right:h}).optimize(e);if(h instanceof it&&h.alternative.equivalent_to(d))return V(it,t,{condition:V(pe,t,{left:t.condition,operator:"&&",right:h.condition}),consequent:h.consequent,alternative:d});if(h.equivalent_to(d))return ot(t,[t.condition,h]).optimize(e);if(h instanceof pe&&h.operator=="||"&&h.right.equivalent_to(d))return V(pe,t,{operator:"||",left:V(pe,t,{operator:"&&",left:t.condition,right:h.left}),right:d}).optimize(e);const T=e.in_boolean_context();if(w(t.consequent))return F(t.alternative)?x(t.condition):V(pe,t,{operator:"||",left:x(t.condition),right:t.alternative});if(F(t.consequent))return w(t.alternative)?x(t.condition.negate(e)):V(pe,t,{operator:"&&",left:x(t.condition.negate(e)),right:t.alternative});if(w(t.alternative))return V(pe,t,{operator:"||",left:x(t.condition.negate(e)),right:t.consequent});if(F(t.alternative))return V(pe,t,{operator:"&&",left:x(t.condition),right:t.consequent});return t;function x(v){return v.is_boolean()?v:V(qe,v,{operator:"!",expression:v.negate(e)})}function w(v){return v instanceof Dr||T&&v instanceof Nt&&v.getValue()||v instanceof qe&&v.operator=="!"&&v.expression instanceof Nt&&!v.expression.getValue()}function F(v){return v instanceof Yi||T&&v instanceof Nt&&!v.getValue()||v instanceof qe&&v.operator=="!"&&v.expression instanceof Nt&&v.expression.getValue()}function R(){for(var v=h.args,p=d.args,g=0,A=v.length;g<A;g++){if(v[g]instanceof gt)return;if(!v[g].equivalent_to(p[g])){if(p[g]instanceof gt)return;for(var O=g+1;O<A;O++)if(v[O]instanceof gt||!v[O].equivalent_to(p[O]))return;return g}}}}),rt(ju,function(t,e){if(e.in_boolean_context())return V(nt,t,{value:+t.value});var n=e.parent();return e.option("booleans_as_integers")?(n instanceof pe&&(n.operator=="==="||n.operator=="!==")&&(n.operator=n.operator.replace(/=$/,"")),V(nt,t,{value:+t.value})):e.option("booleans")?n instanceof pe&&(n.operator=="=="||n.operator=="!=")?V(nt,t,{value:+t.value}):V(qe,t,{operator:"!",expression:V(nt,t,{value:1-t.value})}):t});function t_(t,e){return t instanceof ke&&(t=t.fixed_value()),t?!(t instanceof ze||t instanceof At)||!(t instanceof ze&&t.contains_this())?!0:e.parent()instanceof cr:!1}Xe.DEFMETHOD("flatten_object",function(t,e){if(e.option("properties")&&t!=="__proto__"){var n=e.option("unsafe_arrows")&&e.option("ecma")>=2015,r=this.expression;if(r instanceof jt)for(var a=r.properties,c=a.length;--c>=0;){var h=a[c];if(""+(h instanceof jn?h.key.name:h.key)==t)return!a.every(E=>(E instanceof an||n&&E instanceof jn&&!E.is_generator)&&!E.computed_key())||!t_(h.value,e)?void 0:V(kn,this,{expression:V(Ft,r,{elements:a.map(function(E){var b=E.value;b instanceof $i&&(b=V(Gt,b,b));var T=E.key;return T instanceof Oe&&!(T instanceof Hn)?ot(E,[T,b]):b})}),property:V(nt,this,{value:c})})}}}),rt(kn,function(t,e){var n=t.expression,r=t.property;if(e.option("properties")){var a=r.evaluate(e);if(a!==r){if(typeof a=="string")if(a=="undefined")a=void 0;else{var c=parseFloat(a);c.toString()==a&&(a=c)}r=t.property=Qi(r,lr(a,r).transform(e));var h=""+a;if(Nu(h)&&h.length<=r.size()+1)return V(Jt,t,{expression:n,optional:t.optional,property:h,quote:r.quote}).optimize(e)}}var d;e:if(e.option("arguments")&&n instanceof ke&&n.name=="arguments"&&n.definition().orig.length==1&&(d=n.scope)instanceof ze&&d.uses_arguments&&!(d instanceof on)&&r instanceof nt){for(var E=r.getValue(),b=new Set,T=d.argnames,x=0;x<T.length;x++){if(!(T[x]instanceof Mn))break e;var w=T[x].name;if(b.has(w))break e;b.add(w)}var F=d.argnames[E];if(F&&e.has_directive("use strict")){var R=F.definition();(!e.option("reduce_vars")||R.assignments||R.orig.length>1)&&(F=null)}else if(!F&&!e.option("keep_fargs")&&E<d.argnames.length+5)for(;E>=d.argnames.length;)F=d.create_symbol(Mn,{source:d,scope:d,tentative_name:"argument_"+d.argnames.length}),d.argnames.push(F);if(F){var v=V(ke,t,F);return v.reference({}),ca(F,mo),v}}if(e.is_lhs())return t;if(a!==r){var p=t.flatten_object(h,e);p&&(n=t.expression=p.expression,r=t.property=p.property)}if(e.option("properties")&&e.option("side_effects")&&r instanceof nt&&n instanceof Ft){var E=r.getValue(),g=n.elements,A=g[E];e:if(t_(A,e)){for(var O=!0,k=[],P=g.length;--P>E;){var c=g[P].drop_side_effect_free(e);c&&(k.unshift(c),O&&c.has_side_effects(e)&&(O=!1))}if(A instanceof gt)break e;for(A=A instanceof Ur?V(un,A):A,O||k.unshift(A);--P>=0;){var c=g[P];if(c instanceof gt)break e;c=c.drop_side_effect_free(e),c?k.unshift(c):E--}return O?(k.push(A),ot(t,k).optimize(e)):V(kn,t,{expression:V(Ft,n,{elements:k}),property:V(nt,r,{value:E})})}}var L=t.evaluate(e);return L!==t?(L=lr(L,t).optimize(e),Or(e,L,t)):t}),rt(Sn,function(t,e){if(yi(t.expression,e)){let n=e.parent();return n instanceof qe&&n.operator==="delete"?lr(0,t):V(un,t)}return t}),rt(Jt,function(t,e){const n=e.parent();if(e.is_lhs())return t;if(e.option("unsafe_proto")&&t.expression instanceof Jt&&t.expression.property=="prototype"){var r=t.expression.expression;if(_i(r))switch(r.name){case"Array":t.expression=V(Ft,t.expression,{elements:[]});break;case"Function":t.expression=V(Gt,t.expression,{argnames:[],body:[]});break;case"Number":t.expression=V(nt,t.expression,{value:0});break;case"Object":t.expression=V(jt,t.expression,{properties:[]});break;case"RegExp":t.expression=V(yr,t.expression,{value:{source:"t",flags:""}});break;case"String":t.expression=V(bt,t.expression,{value:""});break}}if(!(n instanceof He)||!pr(n,No)){const c=t.flatten_object(t.property,e);if(c)return c.optimize(e)}if(t.expression instanceof Xe&&n instanceof Xe)return t;let a=t.evaluate(e);return a!==t?(a=lr(a,t).optimize(e),Or(e,a,t)):t});function th(t,e){return e.in_boolean_context()?Or(e,t,ot(t,[t,V(Dr,t)]).optimize(e)):t}function n_(t){for(var e=0;e<t.length;e++){var n=t[e];if(n instanceof gt){var r=n.expression;r instanceof Ft&&!r.elements.some(a=>a instanceof Ur)&&(t.splice(e,1,...r.elements),e--)}}}rt(Ft,function(t,e){var n=th(t,e);return n!==t?n:(n_(t.elements),t)});function lv(t){for(var e=0;e<t.length;e++){var n=t[e];if(n instanceof gt){const r=n.expression;r instanceof jt&&r.properties.every(a=>a instanceof an)?(t.splice(e,1,...r.properties),e--):(r instanceof Nt||r.is_constant())&&!(r instanceof bt)&&(t.splice(e,1),e--)}}}rt(jt,function(t,e){var n=th(t,e);return n!==t?n:(lv(t.properties),t)}),rt(yr,th),rt(pn,function(t,e){return t.value&&mi(t.value,e)&&(t.value=null),t}),rt(on,eh),rt(Gt,function(t,e){return t=eh(t,e),e.option("unsafe_arrows")&&e.option("ecma")>=2015&&!t.name&&!t.is_generator&&!t.uses_arguments&&!t.pinned()&&!Un(t,r=>{if(r instanceof $n)return vr})?V(on,t,t).optimize(e):t}),rt(At,function(t){for(let e=0;e<t.properties.length;e++){const n=t.properties[e];n instanceof Jn&&n.body.length==0&&(t.properties.splice(e,1),e--)}return t}),rt(Jn,function(t,e){return Zu(t.body,e),t}),rt(Ar,function(t,e){return t.expression&&!t.is_star&&mi(t.expression,e)&&(t.expression=null),t}),rt(Zn,function(t,e){if(!e.option("evaluate")||e.parent()instanceof Yr)return t;for(var n=[],r=0;r<t.segments.length;r++){var a=t.segments[r];if(a instanceof Oe){var c=a.evaluate(e);if(c!==a&&(c+"").length<=a.size()+3){n[n.length-1].value=n[n.length-1].value+c+t.segments[++r].value;continue}if(a instanceof Zn){var h=a.segments;n[n.length-1].value+=h[0].value;for(var d=1;d<h.length;d++)a=h[d],n.push(a);continue}}n.push(a)}if(t.segments=n,n.length==1)return V(bt,t,n[0]);if(n.length===3&&n[1]instanceof Oe&&(n[1].is_string(e)||n[1].is_number(e)||yi(n[1],e)||e.option("unsafe"))){if(n[2].value==="")return V(pe,t,{operator:"+",left:V(bt,t,{value:n[0].value}),right:n[1]});if(n[0].value==="")return V(pe,t,{operator:"+",left:n[1],right:V(bt,t,{value:n[2].value})})}return t}),rt(Yr,function(t){return t});function nh(t,e){if(!e.option("computed_props")||!(t.key instanceof Nt))return t;if(t.key instanceof bt||t.key instanceof nt){const n=t.key.value.toString();if(n==="__proto__"||n=="constructor"&&e.parent()instanceof At)return t;t instanceof an?(t.quote=t.key.quote,t.key=n):t instanceof mr?(t.quote=t.key.quote,t.key=V(Xi,t.key,{name:n})):(t.quote=t.key.quote,t.key=V(Hn,t.key,{name:n}))}return t}rt(_n,nh),rt(jn,function(t,e){if(nh(t,e),e.option("arrows")&&e.parent()instanceof jt&&!t.is_generator&&!t.value.uses_arguments&&!t.value.pinned()&&t.value.body.length==1&&t.value.body[0]instanceof pn&&t.value.body[0].value&&!t.value.contains_this()){var n=V(on,t.value,t.value);return n.async=t.async,n.is_generator=t.is_generator,V(an,t,{key:t.key instanceof Hn?t.key.name:t.key,value:n,quote:t.quote})}return t}),rt(an,function(t,e){nh(t,e);var n=e.option("unsafe_methods");if(n&&e.option("ecma")>=2015&&(!(n instanceof RegExp)||n.test(t.key+""))){var r=t.key,a=t.value,c=a instanceof on&&Array.isArray(a.body)&&!a.contains_this();if((c||a instanceof Gt)&&!a.name)return V(jn,t,{async:a.async,is_generator:a.is_generator,key:r instanceof Oe?r:V(Hn,t,{name:r}),value:V($i,a,a),quote:t.quote})}return t}),rt(qt,function(t,e){if(e.option("pure_getters")==!0&&e.option("unused")&&!t.is_array&&Array.isArray(t.names)&&!c(e)&&!(t.names[t.names.length-1]instanceof gt)){for(var n=[],r=0;r<t.names.length;r++){var a=t.names[r];a instanceof an&&typeof a.key=="string"&&a.value instanceof Ln&&!h(e,a.value.definition())||n.push(a)}n.length!=t.names.length&&(t.names=n)}return t;function c(d){for(var E=[/^VarDef$/,/^(Const|Let|Var)$/,/^Export$/],b=0,T=0,x=E.length;b<x;T++){var w=d.parent(T);if(!w)return!1;if(!(b===0&&w.TYPE=="Destructuring")){if(!E[b].test(w.TYPE))return!1;b++}}return!0}function h(d,E){return E.references.length?!0:E.global?d.toplevel.vars?d.top_retain?d.top_retain(E):!1:!0:!1}});var rh={exports:{}};(function(t,e){(function(n,r){r(e)})(Tt,function(n){const c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h=new Uint8Array(64),d=new Uint8Array(128);for(let X=0;X<c.length;X++){const Q=c.charCodeAt(X);h[X]=Q,d[Q]=X}const E=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(X){return Buffer.from(X.buffer,X.byteOffset,X.byteLength).toString()}}:{decode(X){let Q="";for(let ie=0;ie<X.length;ie++)Q+=String.fromCharCode(X[ie]);return Q}};function b(X){const Q=new Int32Array(5),ie=[];let de=0;do{const Ce=T(X,de),Ae=[];let De=!0,Ke=0;Q[0]=0;for(let Me=de;Me<Ce;Me++){let ut;Me=x(X,Me,Q,0);const Wt=Q[0];Wt<Ke&&(De=!1),Ke=Wt,w(X,Me,Ce)?(Me=x(X,Me,Q,1),Me=x(X,Me,Q,2),Me=x(X,Me,Q,3),w(X,Me,Ce)?(Me=x(X,Me,Q,4),ut=[Wt,Q[1],Q[2],Q[3],Q[4]]):ut=[Wt,Q[1],Q[2],Q[3]]):ut=[Wt],Ae.push(ut)}De||F(Ae),ie.push(Ae),de=Ce+1}while(de<=X.length);return ie}function T(X,Q){const ie=X.indexOf(";",Q);return ie===-1?X.length:ie}function x(X,Q,ie,de){let Ce=0,Ae=0,De=0;do{const Me=X.charCodeAt(Q++);De=d[Me],Ce|=(De&31)<<Ae,Ae+=5}while(De&32);const Ke=Ce&1;return Ce>>>=1,Ke&&(Ce=-2147483648|-Ce),ie[de]+=Ce,Q}function w(X,Q,ie){return Q>=ie?!1:X.charCodeAt(Q)!==44}function F(X){X.sort(R)}function R(X,Q){return X[0]-Q[0]}function v(X){const Q=new Int32Array(5),ie=1024*16,de=ie-36,Ce=new Uint8Array(ie),Ae=Ce.subarray(0,de);let De=0,Ke="";for(let Me=0;Me<X.length;Me++){const ut=X[Me];if(Me>0&&(De===ie&&(Ke+=E.decode(Ce),De=0),Ce[De++]=59),ut.length!==0){Q[0]=0;for(let Wt=0;Wt<ut.length;Wt++){const _t=ut[Wt];De>de&&(Ke+=E.decode(Ae),Ce.copyWithin(0,de,De),De-=de),Wt>0&&(Ce[De++]=44),De=p(Ce,De,Q,_t,0),_t.length!==1&&(De=p(Ce,De,Q,_t,1),De=p(Ce,De,Q,_t,2),De=p(Ce,De,Q,_t,3),_t.length!==4&&(De=p(Ce,De,Q,_t,4)))}}}return Ke+E.decode(Ce.subarray(0,De))}function p(X,Q,ie,de,Ce){const Ae=de[Ce];let De=Ae-ie[Ce];ie[Ce]=Ae,De=De<0?-De<<1|1:De<<1;do{let Ke=De&31;De>>>=5,De>0&&(Ke|=32),X[Q++]=h[Ke]}while(De>0);return Q}const g=/^[\w+.-]+:\/\//,A=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,O=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function k(X){return g.test(X)}function P(X){return X.startsWith("//")}function L(X){return X.startsWith("/")}function $(X){return X.startsWith("file:")}function M(X){return/^[.?#]/.test(X)}function G(X){const Q=A.exec(X);return z(Q[1],Q[2]||"",Q[3],Q[4]||"",Q[5]||"/",Q[6]||"",Q[7]||"")}function N(X){const Q=O.exec(X),ie=Q[2];return z("file:","",Q[1]||"","",L(ie)?ie:"/"+ie,Q[3]||"",Q[4]||"")}function z(X,Q,ie,de,Ce,Ae,De){return{scheme:X,user:Q,host:ie,port:de,path:Ce,query:Ae,hash:De,type:7}}function Y(X){if(P(X)){const ie=G("http:"+X);return ie.scheme="",ie.type=6,ie}if(L(X)){const ie=G("http://foo.com"+X);return ie.scheme="",ie.host="",ie.type=5,ie}if($(X))return N(X);if(k(X))return G(X);const Q=G("http://foo.com/"+X);return Q.scheme="",Q.host="",Q.type=X?X.startsWith("?")?3:X.startsWith("#")?2:4:1,Q}function ne(X){if(X.endsWith("/.."))return X;const Q=X.lastIndexOf("/");return X.slice(0,Q+1)}function se(X,Q){re(Q,Q.type),X.path==="/"?X.path=Q.path:X.path=ne(Q.path)+X.path}function re(X,Q){const ie=Q<=4,de=X.path.split("/");let Ce=1,Ae=0,De=!1;for(let Me=1;Me<de.length;Me++){const ut=de[Me];if(!ut){De=!0;continue}if(De=!1,ut!=="."){if(ut===".."){Ae?(De=!0,Ae--,Ce--):ie&&(de[Ce++]=ut);continue}de[Ce++]=ut,Ae++}}let Ke="";for(let Me=1;Me<Ce;Me++)Ke+="/"+de[Me];(!Ke||De&&!Ke.endsWith("/.."))&&(Ke+="/"),X.path=Ke}function ue(X,Q){if(!X&&!Q)return"";const ie=Y(X);let de=ie.type;if(Q&&de!==7){const Ae=Y(Q),De=Ae.type;switch(de){case 1:ie.hash=Ae.hash;case 2:ie.query=Ae.query;case 3:case 4:se(ie,Ae);case 5:ie.user=Ae.user,ie.host=Ae.host,ie.port=Ae.port;case 6:ie.scheme=Ae.scheme}De>de&&(de=De)}re(ie,de);const Ce=ie.query+ie.hash;switch(de){case 2:case 3:return Ce;case 4:{const Ae=ie.path.slice(1);return Ae?M(Q||X)&&!M(Ae)?"./"+Ae+Ce:Ae+Ce:Ce||"."}case 5:return ie.path+Ce;default:return ie.scheme+"//"+ie.user+ie.host+ie.port+ie.path+Ce}}function ce(X,Q){return Q&&!Q.endsWith("/")&&(Q+="/"),ue(X,Q)}function Ee(X){if(!X)return"";const Q=X.lastIndexOf("/");return X.slice(0,Q+1)}const Te=0,_e=1,oe=2,Z=3,J=4,te=1,ve=2;function me(X,Q){const ie=Ze(X,0);if(ie===X.length)return X;Q||(X=X.slice());for(let de=ie;de<X.length;de=Ze(X,de+1))X[de]=ht(X[de],Q);return X}function Ze(X,Q){for(let ie=Q;ie<X.length;ie++)if(!Ve(X[ie]))return ie;return X.length}function Ve(X){for(let Q=1;Q<X.length;Q++)if(X[Q][Te]<X[Q-1][Te])return!1;return!0}function ht(X,Q){return Q||(X=X.slice()),X.sort(wt)}function wt(X,Q){return X[Te]-Q[Te]}let yt=!1;function St(X,Q,ie,de){for(;ie<=de;){const Ce=ie+(de-ie>>1),Ae=X[Ce][Te]-Q;if(Ae===0)return yt=!0,Ce;Ae<0?ie=Ce+1:de=Ce-1}return yt=!1,ie-1}function Ct(X,Q,ie){for(let de=ie+1;de<X.length&&X[de][Te]===Q;ie=de++);return ie}function le(X,Q,ie){for(let de=ie-1;de>=0&&X[de][Te]===Q;ie=de--);return ie}function we(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function be(X,Q,ie,de){const{lastKey:Ce,lastNeedle:Ae,lastIndex:De}=ie;let Ke=0,Me=X.length-1;if(de===Ce){if(Q===Ae)return yt=De!==-1&&X[De][Te]===Q,De;Q>=Ae?Ke=De===-1?0:De:Me=De}return ie.lastKey=de,ie.lastNeedle=Q,ie.lastIndex=St(X,Q,Ke,Me)}function pt(X,Q){const ie=Q.map(Rt);for(let de=0;de<X.length;de++){const Ce=X[de];for(let Ae=0;Ae<Ce.length;Ae++){const De=Ce[Ae];if(De.length===1)continue;const Ke=De[_e],Me=De[oe],ut=De[Z],Wt=ie[Ke],_t=Wt[Me]||(Wt[Me]=[]),Yt=Q[Ke];let wn=Ct(_t,ut,be(_t,ut,Yt,Me));Yt.lastIndex=++wn,Et(_t,wn,[ut,de,De[Te]])}}return ie}function Et(X,Q,ie){for(let de=X.length;de>Q;de--)X[de]=X[de-1];X[Q]=ie}function Rt(){return{__proto__:null}}const yn=function(X,Q){const ie=Dt(X);if(!("sections"in ie))return new Ie(ie,Q);const de=[],Ce=[],Ae=[],De=[],Ke=[];Pt(ie,Q,de,Ce,Ae,De,Ke,0,0,1/0,1/0);const Me={version:3,file:ie.file,names:De,sources:Ce,sourcesContent:Ae,mappings:de,ignoreList:Ke};return Hr(Me)};function Dt(X){return typeof X=="string"?JSON.parse(X):X}function Pt(X,Q,ie,de,Ce,Ae,De,Ke,Me,ut,Wt){const{sections:_t}=X;for(let Yt=0;Yt<_t.length;Yt++){const{map:wn,offset:Kn}=_t[Yt];let tr=ut,zr=Wt;if(Yt+1<_t.length){const ni=_t[Yt+1].offset;tr=Math.min(ut,Ke+ni.line),tr===ut?zr=Math.min(Wt,Me+ni.column):tr<ut&&(zr=Me+ni.column)}kt(wn,Q,ie,de,Ce,Ae,De,Ke+Kn.line,Me+Kn.column,tr,zr)}}function kt(X,Q,ie,de,Ce,Ae,De,Ke,Me,ut,Wt){const _t=Dt(X);if("sections"in _t)return Pt(...arguments);const Yt=new Ie(_t,Q),wn=de.length,Kn=Ae.length,tr=ft(Yt),{resolvedSources:zr,sourcesContent:ni,ignoreList:Os}=Yt;if(It(de,zr),It(Ae,Yt.names),ni)It(Ce,ni);else for(let nr=0;nr<zr.length;nr++)Ce.push(null);if(Os)for(let nr=0;nr<Os.length;nr++)De.push(Os[nr]+wn);for(let nr=0;nr<tr.length;nr++){const io=Ke+nr;if(io>ut)return;const _a=nn(ie,io),ec=nr===0?Me:0,ma=tr[nr];for(let oo=0;oo<ma.length;oo++){const ao=ma[oo],Kr=ec+ao[Te];if(io===ut&&Kr>=Wt)return;if(ao.length===1){_a.push([Kr]);continue}const vo=wn+ao[_e],tc=ao[oe],Go=ao[Z];_a.push(ao.length===4?[Kr,vo,tc,Go]:[Kr,vo,tc,Go,Kn+ao[J]])}}}function It(X,Q){for(let ie=0;ie<Q.length;ie++)X.push(Q[ie])}function nn(X,Q){for(let ie=X.length;ie<=Q;ie++)X[ie]=[];return X[Q]}const ir="`line` must be greater than 0 (lines start at line 1)",K="`column` must be greater than or equal to 0 (columns start at column 0)",Fe=-1,Ue=1;class Ie{constructor(Q,ie){const de=typeof Q=="string";if(!de&&Q._decodedMemo)return Q;const Ce=de?JSON.parse(Q):Q,{version:Ae,file:De,names:Ke,sourceRoot:Me,sources:ut,sourcesContent:Wt}=Ce;this.version=Ae,this.file=De,this.names=Ke||[],this.sourceRoot=Me,this.sources=ut,this.sourcesContent=Wt,this.ignoreList=Ce.ignoreList||Ce.x_google_ignoreList||void 0;const _t=ce(Me||"",Ee(ie));this.resolvedSources=ut.map(wn=>ce(wn||"",_t));const{mappings:Yt}=Ce;typeof Yt=="string"?(this._encoded=Yt,this._decoded=void 0):(this._encoded=void 0,this._decoded=me(Yt,de)),this._decodedMemo=we(),this._bySources=void 0,this._bySourceMemos=void 0}}function Qe(X){return X}function $t(X){var Q,ie;return(Q=(ie=X)._encoded)!==null&&Q!==void 0?Q:ie._encoded=v(X._decoded)}function ft(X){var Q;return(Q=X)._decoded||(Q._decoded=b(X._encoded))}function fn(X,Q){let{line:ie,column:de,bias:Ce}=Q;if(ie--,ie<0)throw new Error(ir);if(de<0)throw new Error(K);const Ae=ft(X);if(ie>=Ae.length)return or(null,null,null,null);const De=Ae[ie],Ke=eo(De,X._decodedMemo,ie,de,Ce||Ue);if(Ke===-1)return or(null,null,null,null);const Me=De[Ke];if(Me.length===1)return or(null,null,null,null);const{names:ut,resolvedSources:Wt}=X;return or(Wt[Me[_e]],Me[oe]+1,Me[Z],Me.length===5?ut[Me[J]]:null)}function gn(X,Q){const{source:ie,line:de,column:Ce,bias:Ae}=Q;return fr(X,ie,de,Ce,Ae||Ue,!1)}function jr(X,Q){const{source:ie,line:de,column:Ce,bias:Ae}=Q;return fr(X,ie,de,Ce,Ae||Fe,!0)}function On(X,Q){const ie=ft(X),{names:de,resolvedSources:Ce}=X;for(let Ae=0;Ae<ie.length;Ae++){const De=ie[Ae];for(let Ke=0;Ke<De.length;Ke++){const Me=De[Ke],ut=Ae+1,Wt=Me[0];let _t=null,Yt=null,wn=null,Kn=null;Me.length!==1&&(_t=Ce[Me[1]],Yt=Me[2]+1,wn=Me[3]),Me.length===5&&(Kn=de[Me[4]]),Q({generatedLine:ut,generatedColumn:Wt,source:_t,originalLine:Yt,originalColumn:wn,name:Kn})}}}function rn(X,Q){const{sources:ie,resolvedSources:de}=X;let Ce=ie.indexOf(Q);return Ce===-1&&(Ce=de.indexOf(Q)),Ce}function Ri(X,Q){const{sourcesContent:ie}=X;if(ie==null)return null;const de=rn(X,Q);return de===-1?null:ie[de]}function Hr(X,Q){const ie=new Ie(Fi(X,[]),Q);return ie._decoded=X.mappings,ie}function Fi(X,Q){return{version:X.version,file:X.file,names:X.names,sourceRoot:X.sourceRoot,sources:X.sources,sourcesContent:X.sourcesContent,mappings:Q,ignoreList:X.ignoreList||X.x_google_ignoreList}}function or(X,Q,ie,de){return{source:X,line:Q,column:ie,name:de}}function wr(X,Q){return{line:X,column:Q}}function eo(X,Q,ie,de,Ce){let Ae=be(X,de,Q,ie);return yt?Ae=(Ce===Fe?Ct:le)(X,de,Ae):Ce===Fe&&Ae++,Ae===-1||Ae===X.length?-1:Ae}function gi(X,Q,ie,de,Ce){let Ae=eo(X,Q,ie,de,Ue);if(!yt&&Ce===Fe&&Ae++,Ae===-1||Ae===X.length)return[];const De=yt?de:X[Ae][Te];yt||(Ae=le(X,De,Ae));const Ke=Ct(X,De,Ae),Me=[];for(;Ae<=Ke;Ae++){const ut=X[Ae];Me.push(wr(ut[te]+1,ut[ve]))}return Me}function fr(X,Q,ie,de,Ce,Ae){var De;if(ie--,ie<0)throw new Error(ir);if(de<0)throw new Error(K);const{sources:Ke,resolvedSources:Me}=X;let ut=Ke.indexOf(Q);if(ut===-1&&(ut=Me.indexOf(Q)),ut===-1)return Ae?[]:wr(null,null);const _t=((De=X)._bySources||(De._bySources=pt(ft(X),X._bySourceMemos=Ke.map(we))))[ut][ie];if(_t==null)return Ae?[]:wr(null,null);const Yt=X._bySourceMemos[ut];if(Ae)return gi(_t,Yt,ie,de,Ce);const wn=eo(_t,Yt,ie,de,Ce);if(wn===-1)return wr(null,null);const Kn=_t[wn];return wr(Kn[te]+1,Kn[ve])}class $r{constructor(){this._indexes={__proto__:null},this.array=[]}}function to(X){return X}function dt(X,Q){return X._indexes[Q]}function er(X,Q){const ie=dt(X,Q);if(ie!==void 0)return ie;const{array:de,_indexes:Ce}=X,Ae=de.push(Q);return Ce[Q]=Ae-1}const B=0,q=1,ee=2,ae=3,he=4,Le=-1;class Be{constructor({file:Q,sourceRoot:ie}={}){this._names=new $r,this._sources=new $r,this._sourcesContent=[],this._mappings=[],this.file=Q,this.sourceRoot=ie,this._ignoreList=new $r}}function at(X){return X}const Xt=(X,Q)=>$o(!0,X,Q);function hn(X,Q,ie){const{_sources:de,_sourcesContent:Ce}=X,Ae=er(de,Q);Ce[Ae]=ie}function An(X){const{_mappings:Q,_sources:ie,_sourcesContent:de,_names:Ce,_ignoreList:Ae}=X;return ih(Q),{version:3,file:X.file||void 0,names:Ce.array,sourceRoot:X.sourceRoot||void 0,sources:ie.array,sourcesContent:de,mappings:Q,ignoreList:Ae.array}}function Gr(X){const Q=An(X);return Object.assign(Object.assign({},Q),{mappings:v(Q.mappings)})}function Kt(X){const Q=new Ie(X),ie=new Be({file:Q.file,sourceRoot:Q.sourceRoot});return Ho(ie._names,Q.names),Ho(ie._sources,Q.sources),ie._sourcesContent=Q.sourcesContent||Q.sources.map(()=>null),ie._mappings=ft(Q),Q.ignoreList&&Ho(ie._ignoreList,Q.ignoreList),ie}function ti(X,Q,ie,de,Ce,Ae,De,Ke,Me){const{_mappings:ut,_sources:Wt,_sourcesContent:_t,_names:Yt}=Q,wn=Rr(ut,ie),Kn=Ju(wn,de);if(!Ce)return X&&pa(wn,Kn)?void 0:no(wn,Kn,[de]);const tr=er(Wt,Ce),zr=Ke?er(Yt,Ke):Le;if(tr===_t.length&&(_t[tr]=Me??null),!(X&&ro(wn,Kn,tr,Ae,De,zr)))return no(wn,Kn,Ke?[de,tr,Ae,De,zr]:[de,tr,Ae,De])}function Rr(X,Q){for(let ie=X.length;ie<=Q;ie++)X[ie]=[];return X[Q]}function Ju(X,Q){let ie=X.length;for(let de=ie-1;de>=0;ie=de--){const Ce=X[de];if(Q>=Ce[B])break}return ie}function no(X,Q,ie){for(let de=X.length;de>Q;de--)X[de]=X[de-1];X[Q]=ie}function ih(X){const{length:Q}=X;let ie=Q;for(let de=ie-1;de>=0&&!(X[de].length>0);ie=de,de--);ie<Q&&(X.length=ie)}function Ho(X,Q){for(let ie=0;ie<Q.length;ie++)er(X,Q[ie])}function pa(X,Q){return Q===0?!0:X[Q-1].length===1}function ro(X,Q,ie,de,Ce,Ae){if(Q===0)return!1;const De=X[Q-1];return De.length===1?!1:ie===De[q]&&de===De[ee]&&Ce===De[ae]&&Ae===(De.length===5?De[he]:Le)}function $o(X,Q,ie){const{generated:de,source:Ce,original:Ae,name:De,content:Ke}=ie;return Ce?ti(X,Q,de.line-1,de.column,Ce,Ae.line-1,Ae.column,De,Ke):ti(X,Q,de.line-1,de.column,null,null,null,null,null)}class da{constructor(Q,ie){const de=this._map=new yn(Q,ie);this.file=de.file,this.names=de.names,this.sourceRoot=de.sourceRoot,this.sources=de.resolvedSources,this.sourcesContent=de.sourcesContent,this.version=de.version}static fromSourceMap(Q,ie){return Q.toDecodedMap?new da(Q.toDecodedMap(),ie):new da(Q.toJSON(),ie)}get mappings(){return $t(this._map)}originalPositionFor(Q){return fn(this._map,Q)}generatedPositionFor(Q){return gn(this._map,Q)}allGeneratedPositionsFor(Q){return jr(this._map,Q)}hasContentsOfAllSources(){if(!this.sourcesContent||this.sourcesContent.length!==this.sources.length)return!1;for(const Q of this.sourcesContent)if(Q==null)return!1;return!0}sourceContentFor(Q,ie){const de=Ri(this._map,Q);if(de!=null)return de;if(ie)return null;throw new Error(`"${Q}" is not in the SourceMap.`)}eachMapping(Q,ie){On(this._map,ie?Q.bind(ie):Q)}destroy(){}}class st{constructor(Q){this._map=Q instanceof Be?Q:new Be(Q)}static fromSourceMap(Q){return new st(Kt(Q))}addMapping(Q){Xt(this._map,Q)}setSourceContent(Q,ie){hn(this._map,Q,ie)}toJSON(){return Gr(this._map)}toString(){return JSON.stringify(this.toJSON())}toDecodedMap(){return An(this._map)}}n.SourceMapConsumer=da,n.SourceMapGenerator=st,Object.defineProperty(n,"__esModule",{value:!0})})})(rh,rh.exports);var r_=rh.exports;function*fv(t){t=xi(t,{file:null,root:null,orig:null,files:{}});var e,n=new r_.SourceMapGenerator({file:t.file,sourceRoot:t.root});let r={__proto__:null},a=t.files;for(var c in a)sr(a,c)&&(r[c]=a[c]);t.orig&&(e=yield new r_.SourceMapConsumer(t.orig),e.sourcesContent&&e.sources.forEach(function(x,w){var F=e.sourcesContent[w];F&&(r[x]=F)}));function h(x,w,F,R,v,p){let g={line:w,column:F};if(e){var A=e.originalPositionFor({line:R,column:v});if(A.source===null){n.addMapping({generated:g,original:null,source:null,name:null});return}x=A.source,R=A.line,v=A.column,p=A.name||p}n.addMapping({generated:g,original:{line:R,column:v},source:x,name:p}),n.setSourceContent(x,r[x])}function d(x){return x.sourcesContent&&x.sourcesContent.every(F=>F==null)&&delete x.sourcesContent,x.file===void 0&&delete x.file,x.sourceRoot===void 0&&delete x.sourceRoot,x}function E(){return n.toDecodedMap?d(n.toDecodedMap()):null}function b(){return d(n.toJSON())}function T(){e&&e.destroy&&e.destroy()}return{add:h,getDecoded:E,getEncoded:b,destroy:T}}var hv=["$&","$'","$*","$+","$1","$2","$3","$4","$5","$6","$7","$8","$9","$_","$`","$input","-moz-animation","-moz-animation-delay","-moz-animation-direction","-moz-animation-duration","-moz-animation-fill-mode","-moz-animation-iteration-count","-moz-animation-name","-moz-animation-play-state","-moz-animation-timing-function","-moz-appearance","-moz-backface-visibility","-moz-border-end","-moz-border-end-color","-moz-border-end-style","-moz-border-end-width","-moz-border-image","-moz-border-start","-moz-border-start-color","-moz-border-start-style","-moz-border-start-width","-moz-box-align","-moz-box-direction","-moz-box-flex","-moz-box-ordinal-group","-moz-box-orient","-moz-box-pack","-moz-box-sizing","-moz-float-edge","-moz-font-feature-settings","-moz-font-language-override","-moz-force-broken-image-icon","-moz-hyphens","-moz-image-region","-moz-margin-end","-moz-margin-start","-moz-orient","-moz-osx-font-smoothing","-moz-outline-radius","-moz-outline-radius-bottomleft","-moz-outline-radius-bottomright","-moz-outline-radius-topleft","-moz-outline-radius-topright","-moz-padding-end","-moz-padding-start","-moz-perspective","-moz-perspective-origin","-moz-tab-size","-moz-text-size-adjust","-moz-transform","-moz-transform-origin","-moz-transform-style","-moz-transition","-moz-transition-delay","-moz-transition-duration","-moz-transition-property","-moz-transition-timing-function","-moz-user-focus","-moz-user-input","-moz-user-modify","-moz-user-select","-moz-window-dragging","-webkit-align-content","-webkit-align-items","-webkit-align-self","-webkit-animation","-webkit-animation-delay","-webkit-animation-direction","-webkit-animation-duration","-webkit-animation-fill-mode","-webkit-animation-iteration-count","-webkit-animation-name","-webkit-animation-play-state","-webkit-animation-timing-function","-webkit-appearance","-webkit-backface-visibility","-webkit-background-clip","-webkit-background-origin","-webkit-background-size","-webkit-border-bottom-left-radius","-webkit-border-bottom-right-radius","-webkit-border-image","-webkit-border-radius","-webkit-border-top-left-radius","-webkit-border-top-right-radius","-webkit-box-align","-webkit-box-direction","-webkit-box-flex","-webkit-box-ordinal-group","-webkit-box-orient","-webkit-box-pack","-webkit-box-shadow","-webkit-box-sizing","-webkit-clip-path","-webkit-filter","-webkit-flex","-webkit-flex-basis","-webkit-flex-direction","-webkit-flex-flow","-webkit-flex-grow","-webkit-flex-shrink","-webkit-flex-wrap","-webkit-justify-content","-webkit-line-clamp","-webkit-mask","-webkit-mask-clip","-webkit-mask-composite","-webkit-mask-image","-webkit-mask-origin","-webkit-mask-position","-webkit-mask-position-x","-webkit-mask-position-y","-webkit-mask-repeat","-webkit-mask-size","-webkit-order","-webkit-perspective","-webkit-perspective-origin","-webkit-text-fill-color","-webkit-text-security","-webkit-text-size-adjust","-webkit-text-stroke","-webkit-text-stroke-color","-webkit-text-stroke-width","-webkit-transform","-webkit-transform-origin","-webkit-transform-style","-webkit-transition","-webkit-transition-delay","-webkit-transition-duration","-webkit-transition-property","-webkit-transition-timing-function","-webkit-user-select","0","1","10","11","12","13","14","15","16","17","18","19","2","20","3","4","5","6","7","8","9","@@iterator","ABORT_ERR","ACTIVE","ACTIVE_ATTRIBUTES","ACTIVE_TEXTURE","ACTIVE_UNIFORMS","ACTIVE_UNIFORM_BLOCKS","ADDITION","ALIASED_LINE_WIDTH_RANGE","ALIASED_POINT_SIZE_RANGE","ALL","ALLOW_KEYBOARD_INPUT","ALLPASS","ALPHA","ALPHA_BITS","ALREADY_SIGNALED","ALT_MASK","ALWAYS","ANY_SAMPLES_PASSED","ANY_SAMPLES_PASSED_CONSERVATIVE","ANY_TYPE","ANY_UNORDERED_NODE_TYPE","ARRAY_BUFFER","ARRAY_BUFFER_BINDING","ATTACHED_SHADERS","ATTRIBUTE_NODE","AT_TARGET","AbortController","AbortSignal","AbsoluteOrientationSensor","AbstractRange","Accelerometer","AddSearchProvider","AggregateError","AnalyserNode","Animation","AnimationEffect","AnimationEvent","AnimationPlaybackEvent","AnimationTimeline","AnonXMLHttpRequest","Any","ApplicationCache","ApplicationCacheErrorEvent","Array","ArrayBuffer","ArrayType","Atomics","Attr","Audio","AudioBuffer","AudioBufferSourceNode","AudioContext","AudioData","AudioDecoder","AudioDestinationNode","AudioEncoder","AudioListener","AudioNode","AudioParam","AudioParamMap","AudioProcessingEvent","AudioScheduledSourceNode","AudioSinkInfo","AudioStreamTrack","AudioWorklet","AudioWorkletNode","AuthenticatorAssertionResponse","AuthenticatorAttestationResponse","AuthenticatorResponse","AutocompleteErrorEvent","BACK","BAD_BOUNDARYPOINTS_ERR","BAD_REQUEST","BANDPASS","BLEND","BLEND_COLOR","BLEND_DST_ALPHA","BLEND_DST_RGB","BLEND_EQUATION","BLEND_EQUATION_ALPHA","BLEND_EQUATION_RGB","BLEND_SRC_ALPHA","BLEND_SRC_RGB","BLUE","BLUE_BITS","BLUR","BOOL","BOOLEAN_TYPE","BOOL_VEC2","BOOL_VEC3","BOOL_VEC4","BOTH","BROWSER_DEFAULT_WEBGL","BUBBLING_PHASE","BUFFER_SIZE","BUFFER_USAGE","BYTE","BYTES_PER_ELEMENT","BackgroundFetchManager","BackgroundFetchRecord","BackgroundFetchRegistration","BarProp","BarcodeDetector","BaseAudioContext","BaseHref","BatteryManager","BeforeInstallPromptEvent","BeforeLoadEvent","BeforeUnloadEvent","BigInt","BigInt64Array","BigUint64Array","BiquadFilterNode","Blob","BlobEvent","Bluetooth","BluetoothCharacteristicProperties","BluetoothDevice","BluetoothRemoteGATTCharacteristic","BluetoothRemoteGATTDescriptor","BluetoothRemoteGATTServer","BluetoothRemoteGATTService","BluetoothUUID","Boolean","BroadcastChannel","BrowserCaptureMediaStreamTrack","ByteLengthQueuingStrategy","CAPTURING_PHASE","CCW","CDATASection","CDATA_SECTION_NODE","CHANGE","CHARSET_RULE","CHECKING","CLAMP_TO_EDGE","CLICK","CLOSED","CLOSING","COLOR","COLOR_ATTACHMENT0","COLOR_ATTACHMENT1","COLOR_ATTACHMENT10","COLOR_ATTACHMENT11","COLOR_ATTACHMENT12","COLOR_ATTACHMENT13","COLOR_ATTACHMENT14","COLOR_ATTACHMENT15","COLOR_ATTACHMENT2","COLOR_ATTACHMENT3","COLOR_ATTACHMENT4","COLOR_ATTACHMENT5","COLOR_ATTACHMENT6","COLOR_ATTACHMENT7","COLOR_ATTACHMENT8","COLOR_ATTACHMENT9","COLOR_BUFFER_BIT","COLOR_CLEAR_VALUE","COLOR_WRITEMASK","COMMENT_NODE","COMPARE_REF_TO_TEXTURE","COMPILE_STATUS","COMPLETION_STATUS_KHR","COMPRESSED_RGBA_S3TC_DXT1_EXT","COMPRESSED_RGBA_S3TC_DXT3_EXT","COMPRESSED_RGBA_S3TC_DXT5_EXT","COMPRESSED_RGB_S3TC_DXT1_EXT","COMPRESSED_TEXTURE_FORMATS","COMPUTE","CONDITION_SATISFIED","CONFIGURATION_UNSUPPORTED","CONNECTING","CONSTANT_ALPHA","CONSTANT_COLOR","CONSTRAINT_ERR","CONTEXT_LOST_WEBGL","CONTROL_MASK","COPY_DST","COPY_READ_BUFFER","COPY_READ_BUFFER_BINDING","COPY_SRC","COPY_WRITE_BUFFER","COPY_WRITE_BUFFER_BINDING","COUNTER_STYLE_RULE","CSS","CSS2Properties","CSSAnimation","CSSCharsetRule","CSSConditionRule","CSSContainerRule","CSSCounterStyleRule","CSSFontFaceRule","CSSFontFeatureValuesRule","CSSFontPaletteValuesRule","CSSGroupingRule","CSSImageValue","CSSImportRule","CSSKeyframeRule","CSSKeyframesRule","CSSKeywordValue","CSSLayerBlockRule","CSSLayerStatementRule","CSSMathClamp","CSSMathInvert","CSSMathMax","CSSMathMin","CSSMathNegate","CSSMathProduct","CSSMathSum","CSSMathValue","CSSMatrixComponent","CSSMediaRule","CSSMozDocumentRule","CSSNameSpaceRule","CSSNamespaceRule","CSSNumericArray","CSSNumericValue","CSSPageRule","CSSPerspective","CSSPositionValue","CSSPrimitiveValue","CSSPropertyRule","CSSRotate","CSSRule","CSSRuleList","CSSScale","CSSScopeRule","CSSSkew","CSSSkewX","CSSSkewY","CSSStartingStyleRule","CSSStyleDeclaration","CSSStyleRule","CSSStyleSheet","CSSStyleValue","CSSSupportsRule","CSSTransformComponent","CSSTransformValue","CSSTransition","CSSTranslate","CSSUnitValue","CSSUnknownRule","CSSUnparsedValue","CSSValue","CSSValueList","CSSVariableReferenceValue","CSSVariablesDeclaration","CSSVariablesRule","CSSViewportRule","CSS_ATTR","CSS_CM","CSS_COUNTER","CSS_CUSTOM","CSS_DEG","CSS_DIMENSION","CSS_EMS","CSS_EXS","CSS_FILTER_BLUR","CSS_FILTER_BRIGHTNESS","CSS_FILTER_CONTRAST","CSS_FILTER_CUSTOM","CSS_FILTER_DROP_SHADOW","CSS_FILTER_GRAYSCALE","CSS_FILTER_HUE_ROTATE","CSS_FILTER_INVERT","CSS_FILTER_OPACITY","CSS_FILTER_REFERENCE","CSS_FILTER_SATURATE","CSS_FILTER_SEPIA","CSS_GRAD","CSS_HZ","CSS_IDENT","CSS_IN","CSS_INHERIT","CSS_KHZ","CSS_MATRIX","CSS_MATRIX3D","CSS_MM","CSS_MS","CSS_NUMBER","CSS_PC","CSS_PERCENTAGE","CSS_PERSPECTIVE","CSS_PRIMITIVE_VALUE","CSS_PT","CSS_PX","CSS_RAD","CSS_RECT","CSS_RGBCOLOR","CSS_ROTATE","CSS_ROTATE3D","CSS_ROTATEX","CSS_ROTATEY","CSS_ROTATEZ","CSS_S","CSS_SCALE","CSS_SCALE3D","CSS_SCALEX","CSS_SCALEY","CSS_SCALEZ","CSS_SKEW","CSS_SKEWX","CSS_SKEWY","CSS_STRING","CSS_TRANSLATE","CSS_TRANSLATE3D","CSS_TRANSLATEX","CSS_TRANSLATEY","CSS_TRANSLATEZ","CSS_UNKNOWN","CSS_URI","CSS_VALUE_LIST","CSS_VH","CSS_VMAX","CSS_VMIN","CSS_VW","CULL_FACE","CULL_FACE_MODE","CURRENT_PROGRAM","CURRENT_QUERY","CURRENT_VERTEX_ATTRIB","CUSTOM","CW","Cache","CacheStorage","CanvasCaptureMediaStream","CanvasCaptureMediaStreamTrack","CanvasGradient","CanvasPattern","CanvasRenderingContext2D","CaptureController","CaretPosition","ChannelMergerNode","ChannelSplitterNode","CharacterBoundsUpdateEvent","CharacterData","ClientRect","ClientRectList","Clipboard","ClipboardEvent","ClipboardItem","CloseEvent","Collator","CommandEvent","Comment","CompileError","CompositionEvent","CompressionStream","Console","ConstantSourceNode","ContentVisibilityAutoStateChangeEvent","Controllers","ConvolverNode","CookieChangeEvent","CookieStore","CookieStoreManager","CountQueuingStrategy","Counter","Credential","CredentialsContainer","CropTarget","Crypto","CryptoKey","CustomElementRegistry","CustomEvent","CustomStateSet","DATABASE_ERR","DATA_CLONE_ERR","DATA_ERR","DBLCLICK","DECR","DECR_WRAP","DELETE_STATUS","DEPTH","DEPTH24_STENCIL8","DEPTH32F_STENCIL8","DEPTH_ATTACHMENT","DEPTH_BITS","DEPTH_BUFFER_BIT","DEPTH_CLEAR_VALUE","DEPTH_COMPONENT","DEPTH_COMPONENT16","DEPTH_COMPONENT24","DEPTH_COMPONENT32F","DEPTH_FUNC","DEPTH_RANGE","DEPTH_STENCIL","DEPTH_STENCIL_ATTACHMENT","DEPTH_TEST","DEPTH_WRITEMASK","DEVICE_INELIGIBLE","DIRECTION_DOWN","DIRECTION_LEFT","DIRECTION_RIGHT","DIRECTION_UP","DISABLED","DISPATCH_REQUEST_ERR","DITHER","DOCUMENT_FRAGMENT_NODE","DOCUMENT_NODE","DOCUMENT_POSITION_CONTAINED_BY","DOCUMENT_POSITION_CONTAINS","DOCUMENT_POSITION_DISCONNECTED","DOCUMENT_POSITION_FOLLOWING","DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC","DOCUMENT_POSITION_PRECEDING","DOCUMENT_TYPE_NODE","DOMCursor","DOMError","DOMException","DOMImplementation","DOMImplementationLS","DOMMatrix","DOMMatrixReadOnly","DOMParser","DOMPoint","DOMPointReadOnly","DOMQuad","DOMRect","DOMRectList","DOMRectReadOnly","DOMRequest","DOMSTRING_SIZE_ERR","DOMSettableTokenList","DOMStringList","DOMStringMap","DOMTokenList","DOMTransactionEvent","DOM_DELTA_LINE","DOM_DELTA_PAGE","DOM_DELTA_PIXEL","DOM_INPUT_METHOD_DROP","DOM_INPUT_METHOD_HANDWRITING","DOM_INPUT_METHOD_IME","DOM_INPUT_METHOD_KEYBOARD","DOM_INPUT_METHOD_MULTIMODAL","DOM_INPUT_METHOD_OPTION","DOM_INPUT_METHOD_PASTE","DOM_INPUT_METHOD_SCRIPT","DOM_INPUT_METHOD_UNKNOWN","DOM_INPUT_METHOD_VOICE","DOM_KEY_LOCATION_JOYSTICK","DOM_KEY_LOCATION_LEFT","DOM_KEY_LOCATION_MOBILE","DOM_KEY_LOCATION_NUMPAD","DOM_KEY_LOCATION_RIGHT","DOM_KEY_LOCATION_STANDARD","DOM_VK_0","DOM_VK_1","DOM_VK_2","DOM_VK_3","DOM_VK_4","DOM_VK_5","DOM_VK_6","DOM_VK_7","DOM_VK_8","DOM_VK_9","DOM_VK_A","DOM_VK_ACCEPT","DOM_VK_ADD","DOM_VK_ALT","DOM_VK_ALTGR","DOM_VK_AMPERSAND","DOM_VK_ASTERISK","DOM_VK_AT","DOM_VK_ATTN","DOM_VK_B","DOM_VK_BACKSPACE","DOM_VK_BACK_QUOTE","DOM_VK_BACK_SLASH","DOM_VK_BACK_SPACE","DOM_VK_C","DOM_VK_CANCEL","DOM_VK_CAPS_LOCK","DOM_VK_CIRCUMFLEX","DOM_VK_CLEAR","DOM_VK_CLOSE_BRACKET","DOM_VK_CLOSE_CURLY_BRACKET","DOM_VK_CLOSE_PAREN","DOM_VK_COLON","DOM_VK_COMMA","DOM_VK_CONTEXT_MENU","DOM_VK_CONTROL","DOM_VK_CONVERT","DOM_VK_CRSEL","DOM_VK_CTRL","DOM_VK_D","DOM_VK_DECIMAL","DOM_VK_DELETE","DOM_VK_DIVIDE","DOM_VK_DOLLAR","DOM_VK_DOUBLE_QUOTE","DOM_VK_DOWN","DOM_VK_E","DOM_VK_EISU","DOM_VK_END","DOM_VK_ENTER","DOM_VK_EQUALS","DOM_VK_EREOF","DOM_VK_ESCAPE","DOM_VK_EXCLAMATION","DOM_VK_EXECUTE","DOM_VK_EXSEL","DOM_VK_F","DOM_VK_F1","DOM_VK_F10","DOM_VK_F11","DOM_VK_F12","DOM_VK_F13","DOM_VK_F14","DOM_VK_F15","DOM_VK_F16","DOM_VK_F17","DOM_VK_F18","DOM_VK_F19","DOM_VK_F2","DOM_VK_F20","DOM_VK_F21","DOM_VK_F22","DOM_VK_F23","DOM_VK_F24","DOM_VK_F25","DOM_VK_F26","DOM_VK_F27","DOM_VK_F28","DOM_VK_F29","DOM_VK_F3","DOM_VK_F30","DOM_VK_F31","DOM_VK_F32","DOM_VK_F33","DOM_VK_F34","DOM_VK_F35","DOM_VK_F36","DOM_VK_F4","DOM_VK_F5","DOM_VK_F6","DOM_VK_F7","DOM_VK_F8","DOM_VK_F9","DOM_VK_FINAL","DOM_VK_FRONT","DOM_VK_G","DOM_VK_GREATER_THAN","DOM_VK_H","DOM_VK_HANGUL","DOM_VK_HANJA","DOM_VK_HASH","DOM_VK_HELP","DOM_VK_HK_TOGGLE","DOM_VK_HOME","DOM_VK_HYPHEN_MINUS","DOM_VK_I","DOM_VK_INSERT","DOM_VK_J","DOM_VK_JUNJA","DOM_VK_K","DOM_VK_KANA","DOM_VK_KANJI","DOM_VK_L","DOM_VK_LEFT","DOM_VK_LEFT_TAB","DOM_VK_LESS_THAN","DOM_VK_M","DOM_VK_META","DOM_VK_MODECHANGE","DOM_VK_MULTIPLY","DOM_VK_N","DOM_VK_NONCONVERT","DOM_VK_NUMPAD0","DOM_VK_NUMPAD1","DOM_VK_NUMPAD2","DOM_VK_NUMPAD3","DOM_VK_NUMPAD4","DOM_VK_NUMPAD5","DOM_VK_NUMPAD6","DOM_VK_NUMPAD7","DOM_VK_NUMPAD8","DOM_VK_NUMPAD9","DOM_VK_NUM_LOCK","DOM_VK_O","DOM_VK_OEM_1","DOM_VK_OEM_102","DOM_VK_OEM_2","DOM_VK_OEM_3","DOM_VK_OEM_4","DOM_VK_OEM_5","DOM_VK_OEM_6","DOM_VK_OEM_7","DOM_VK_OEM_8","DOM_VK_OEM_COMMA","DOM_VK_OEM_MINUS","DOM_VK_OEM_PERIOD","DOM_VK_OEM_PLUS","DOM_VK_OPEN_BRACKET","DOM_VK_OPEN_CURLY_BRACKET","DOM_VK_OPEN_PAREN","DOM_VK_P","DOM_VK_PA1","DOM_VK_PAGEDOWN","DOM_VK_PAGEUP","DOM_VK_PAGE_DOWN","DOM_VK_PAGE_UP","DOM_VK_PAUSE","DOM_VK_PERCENT","DOM_VK_PERIOD","DOM_VK_PIPE","DOM_VK_PLAY","DOM_VK_PLUS","DOM_VK_PRINT","DOM_VK_PRINTSCREEN","DOM_VK_PROCESSKEY","DOM_VK_PROPERITES","DOM_VK_Q","DOM_VK_QUESTION_MARK","DOM_VK_QUOTE","DOM_VK_R","DOM_VK_REDO","DOM_VK_RETURN","DOM_VK_RIGHT","DOM_VK_S","DOM_VK_SCROLL_LOCK","DOM_VK_SELECT","DOM_VK_SEMICOLON","DOM_VK_SEPARATOR","DOM_VK_SHIFT","DOM_VK_SLASH","DOM_VK_SLEEP","DOM_VK_SPACE","DOM_VK_SUBTRACT","DOM_VK_T","DOM_VK_TAB","DOM_VK_TILDE","DOM_VK_U","DOM_VK_UNDERSCORE","DOM_VK_UNDO","DOM_VK_UNICODE","DOM_VK_UP","DOM_VK_V","DOM_VK_VOLUME_DOWN","DOM_VK_VOLUME_MUTE","DOM_VK_VOLUME_UP","DOM_VK_W","DOM_VK_WIN","DOM_VK_WINDOW","DOM_VK_WIN_ICO_00","DOM_VK_WIN_ICO_CLEAR","DOM_VK_WIN_ICO_HELP","DOM_VK_WIN_OEM_ATTN","DOM_VK_WIN_OEM_AUTO","DOM_VK_WIN_OEM_BACKTAB","DOM_VK_WIN_OEM_CLEAR","DOM_VK_WIN_OEM_COPY","DOM_VK_WIN_OEM_CUSEL","DOM_VK_WIN_OEM_ENLW","DOM_VK_WIN_OEM_FINISH","DOM_VK_WIN_OEM_FJ_JISHO","DOM_VK_WIN_OEM_FJ_LOYA","DOM_VK_WIN_OEM_FJ_MASSHOU","DOM_VK_WIN_OEM_FJ_ROYA","DOM_VK_WIN_OEM_FJ_TOUROKU","DOM_VK_WIN_OEM_JUMP","DOM_VK_WIN_OEM_PA1","DOM_VK_WIN_OEM_PA2","DOM_VK_WIN_OEM_PA3","DOM_VK_WIN_OEM_RESET","DOM_VK_WIN_OEM_WSCTRL","DOM_VK_X","DOM_VK_XF86XK_ADD_FAVORITE","DOM_VK_XF86XK_APPLICATION_LEFT","DOM_VK_XF86XK_APPLICATION_RIGHT","DOM_VK_XF86XK_AUDIO_CYCLE_TRACK","DOM_VK_XF86XK_AUDIO_FORWARD","DOM_VK_XF86XK_AUDIO_LOWER_VOLUME","DOM_VK_XF86XK_AUDIO_MEDIA","DOM_VK_XF86XK_AUDIO_MUTE","DOM_VK_XF86XK_AUDIO_NEXT","DOM_VK_XF86XK_AUDIO_PAUSE","DOM_VK_XF86XK_AUDIO_PLAY","DOM_VK_XF86XK_AUDIO_PREV","DOM_VK_XF86XK_AUDIO_RAISE_VOLUME","DOM_VK_XF86XK_AUDIO_RANDOM_PLAY","DOM_VK_XF86XK_AUDIO_RECORD","DOM_VK_XF86XK_AUDIO_REPEAT","DOM_VK_XF86XK_AUDIO_REWIND","DOM_VK_XF86XK_AUDIO_STOP","DOM_VK_XF86XK_AWAY","DOM_VK_XF86XK_BACK","DOM_VK_XF86XK_BACK_FORWARD","DOM_VK_XF86XK_BATTERY","DOM_VK_XF86XK_BLUE","DOM_VK_XF86XK_BLUETOOTH","DOM_VK_XF86XK_BOOK","DOM_VK_XF86XK_BRIGHTNESS_ADJUST","DOM_VK_XF86XK_CALCULATOR","DOM_VK_XF86XK_CALENDAR","DOM_VK_XF86XK_CD","DOM_VK_XF86XK_CLOSE","DOM_VK_XF86XK_COMMUNITY","DOM_VK_XF86XK_CONTRAST_ADJUST","DOM_VK_XF86XK_COPY","DOM_VK_XF86XK_CUT","DOM_VK_XF86XK_CYCLE_ANGLE","DOM_VK_XF86XK_DISPLAY","DOM_VK_XF86XK_DOCUMENTS","DOM_VK_XF86XK_DOS","DOM_VK_XF86XK_EJECT","DOM_VK_XF86XK_EXCEL","DOM_VK_XF86XK_EXPLORER","DOM_VK_XF86XK_FAVORITES","DOM_VK_XF86XK_FINANCE","DOM_VK_XF86XK_FORWARD","DOM_VK_XF86XK_FRAME_BACK","DOM_VK_XF86XK_FRAME_FORWARD","DOM_VK_XF86XK_GAME","DOM_VK_XF86XK_GO","DOM_VK_XF86XK_GREEN","DOM_VK_XF86XK_HIBERNATE","DOM_VK_XF86XK_HISTORY","DOM_VK_XF86XK_HOME_PAGE","DOM_VK_XF86XK_HOT_LINKS","DOM_VK_XF86XK_I_TOUCH","DOM_VK_XF86XK_KBD_BRIGHTNESS_DOWN","DOM_VK_XF86XK_KBD_BRIGHTNESS_UP","DOM_VK_XF86XK_KBD_LIGHT_ON_OFF","DOM_VK_XF86XK_LAUNCH0","DOM_VK_XF86XK_LAUNCH1","DOM_VK_XF86XK_LAUNCH2","DOM_VK_XF86XK_LAUNCH3","DOM_VK_XF86XK_LAUNCH4","DOM_VK_XF86XK_LAUNCH5","DOM_VK_XF86XK_LAUNCH6","DOM_VK_XF86XK_LAUNCH7","DOM_VK_XF86XK_LAUNCH8","DOM_VK_XF86XK_LAUNCH9","DOM_VK_XF86XK_LAUNCH_A","DOM_VK_XF86XK_LAUNCH_B","DOM_VK_XF86XK_LAUNCH_C","DOM_VK_XF86XK_LAUNCH_D","DOM_VK_XF86XK_LAUNCH_E","DOM_VK_XF86XK_LAUNCH_F","DOM_VK_XF86XK_LIGHT_BULB","DOM_VK_XF86XK_LOG_OFF","DOM_VK_XF86XK_MAIL","DOM_VK_XF86XK_MAIL_FORWARD","DOM_VK_XF86XK_MARKET","DOM_VK_XF86XK_MEETING","DOM_VK_XF86XK_MEMO","DOM_VK_XF86XK_MENU_KB","DOM_VK_XF86XK_MENU_PB","DOM_VK_XF86XK_MESSENGER","DOM_VK_XF86XK_MON_BRIGHTNESS_DOWN","DOM_VK_XF86XK_MON_BRIGHTNESS_UP","DOM_VK_XF86XK_MUSIC","DOM_VK_XF86XK_MY_COMPUTER","DOM_VK_XF86XK_MY_SITES","DOM_VK_XF86XK_NEW","DOM_VK_XF86XK_NEWS","DOM_VK_XF86XK_OFFICE_HOME","DOM_VK_XF86XK_OPEN","DOM_VK_XF86XK_OPEN_URL","DOM_VK_XF86XK_OPTION","DOM_VK_XF86XK_PASTE","DOM_VK_XF86XK_PHONE","DOM_VK_XF86XK_PICTURES","DOM_VK_XF86XK_POWER_DOWN","DOM_VK_XF86XK_POWER_OFF","DOM_VK_XF86XK_RED","DOM_VK_XF86XK_REFRESH","DOM_VK_XF86XK_RELOAD","DOM_VK_XF86XK_REPLY","DOM_VK_XF86XK_ROCKER_DOWN","DOM_VK_XF86XK_ROCKER_ENTER","DOM_VK_XF86XK_ROCKER_UP","DOM_VK_XF86XK_ROTATE_WINDOWS","DOM_VK_XF86XK_ROTATION_KB","DOM_VK_XF86XK_ROTATION_PB","DOM_VK_XF86XK_SAVE","DOM_VK_XF86XK_SCREEN_SAVER","DOM_VK_XF86XK_SCROLL_CLICK","DOM_VK_XF86XK_SCROLL_DOWN","DOM_VK_XF86XK_SCROLL_UP","DOM_VK_XF86XK_SEARCH","DOM_VK_XF86XK_SEND","DOM_VK_XF86XK_SHOP","DOM_VK_XF86XK_SPELL","DOM_VK_XF86XK_SPLIT_SCREEN","DOM_VK_XF86XK_STANDBY","DOM_VK_XF86XK_START","DOM_VK_XF86XK_STOP","DOM_VK_XF86XK_SUBTITLE","DOM_VK_XF86XK_SUPPORT","DOM_VK_XF86XK_SUSPEND","DOM_VK_XF86XK_TASK_PANE","DOM_VK_XF86XK_TERMINAL","DOM_VK_XF86XK_TIME","DOM_VK_XF86XK_TOOLS","DOM_VK_XF86XK_TOP_MENU","DOM_VK_XF86XK_TO_DO_LIST","DOM_VK_XF86XK_TRAVEL","DOM_VK_XF86XK_USER1KB","DOM_VK_XF86XK_USER2KB","DOM_VK_XF86XK_USER_PB","DOM_VK_XF86XK_UWB","DOM_VK_XF86XK_VENDOR_HOME","DOM_VK_XF86XK_VIDEO","DOM_VK_XF86XK_VIEW","DOM_VK_XF86XK_WAKE_UP","DOM_VK_XF86XK_WEB_CAM","DOM_VK_XF86XK_WHEEL_BUTTON","DOM_VK_XF86XK_WLAN","DOM_VK_XF86XK_WORD","DOM_VK_XF86XK_WWW","DOM_VK_XF86XK_XFER","DOM_VK_XF86XK_YELLOW","DOM_VK_XF86XK_ZOOM_IN","DOM_VK_XF86XK_ZOOM_OUT","DOM_VK_Y","DOM_VK_Z","DOM_VK_ZOOM","DONE","DONT_CARE","DOWNLOADING","DRAGDROP","DRAW_BUFFER0","DRAW_BUFFER1","DRAW_BUFFER10","DRAW_BUFFER11","DRAW_BUFFER12","DRAW_BUFFER13","DRAW_BUFFER14","DRAW_BUFFER15","DRAW_BUFFER2","DRAW_BUFFER3","DRAW_BUFFER4","DRAW_BUFFER5","DRAW_BUFFER6","DRAW_BUFFER7","DRAW_BUFFER8","DRAW_BUFFER9","DRAW_FRAMEBUFFER","DRAW_FRAMEBUFFER_BINDING","DST_ALPHA","DST_COLOR","DYNAMIC_COPY","DYNAMIC_DRAW","DYNAMIC_READ","DataChannel","DataTransfer","DataTransferItem","DataTransferItemList","DataView","Date","DateTimeFormat","DecompressionStream","DelayNode","DelegatedInkTrailPresenter","DeprecationReportBody","DesktopNotification","DesktopNotificationCenter","DeviceLightEvent","DeviceMotionEvent","DeviceMotionEventAcceleration","DeviceMotionEventRotationRate","DeviceOrientationEvent","DeviceProximityEvent","DeviceStorage","DeviceStorageChangeEvent","Directory","DisplayNames","Document","DocumentFragment","DocumentPictureInPicture","DocumentPictureInPictureEvent","DocumentTimeline","DocumentType","DragEvent","DynamicsCompressorNode","E","ELEMENT_ARRAY_BUFFER","ELEMENT_ARRAY_BUFFER_BINDING","ELEMENT_NODE","EMPTY","ENCODING_ERR","ENDED","END_TO_END","END_TO_START","ENTITY_NODE","ENTITY_REFERENCE_NODE","EPSILON","EQUAL","EQUALPOWER","ERROR","EXPONENTIAL_DISTANCE","EditContext","Element","ElementInternals","ElementQuery","EncodedAudioChunk","EncodedVideoChunk","EnterPictureInPictureEvent","Entity","EntityReference","Error","ErrorEvent","EvalError","Event","EventCounts","EventException","EventSource","EventTarget","Exception","External","EyeDropper","FASTEST","FIDOSDK","FILTER_ACCEPT","FILTER_INTERRUPT","FILTER_REJECT","FILTER_SKIP","FINISHED_STATE","FIRST_ORDERED_NODE_TYPE","FLOAT","FLOAT_32_UNSIGNED_INT_24_8_REV","FLOAT_MAT2","FLOAT_MAT2x3","FLOAT_MAT2x4","FLOAT_MAT3","FLOAT_MAT3x2","FLOAT_MAT3x4","FLOAT_MAT4","FLOAT_MAT4x2","FLOAT_MAT4x3","FLOAT_VEC2","FLOAT_VEC3","FLOAT_VEC4","FOCUS","FONT_FACE_RULE","FONT_FEATURE_VALUES_RULE","FRAGMENT","FRAGMENT_SHADER","FRAGMENT_SHADER_DERIVATIVE_HINT","FRAGMENT_SHADER_DERIVATIVE_HINT_OES","FRAMEBUFFER","FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE","FRAMEBUFFER_ATTACHMENT_BLUE_SIZE","FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING","FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE","FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE","FRAMEBUFFER_ATTACHMENT_GREEN_SIZE","FRAMEBUFFER_ATTACHMENT_OBJECT_NAME","FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE","FRAMEBUFFER_ATTACHMENT_RED_SIZE","FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE","FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE","FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER","FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL","FRAMEBUFFER_BINDING","FRAMEBUFFER_COMPLETE","FRAMEBUFFER_DEFAULT","FRAMEBUFFER_INCOMPLETE_ATTACHMENT","FRAMEBUFFER_INCOMPLETE_DIMENSIONS","FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT","FRAMEBUFFER_INCOMPLETE_MULTISAMPLE","FRAMEBUFFER_UNSUPPORTED","FRONT","FRONT_AND_BACK","FRONT_FACE","FUNC_ADD","FUNC_REVERSE_SUBTRACT","FUNC_SUBTRACT","FeaturePolicy","FeaturePolicyViolationReportBody","FederatedCredential","Feed","FeedEntry","Fence","FencedFrameConfig","File","FileError","FileList","FileReader","FileSystem","FileSystemDirectoryEntry","FileSystemDirectoryHandle","FileSystemDirectoryReader","FileSystemEntry","FileSystemFileEntry","FileSystemFileHandle","FileSystemHandle","FileSystemWritableFileStream","FinalizationRegistry","FindInPage","Float32Array","Float64Array","FocusEvent","FontData","FontFace","FontFaceSet","FontFaceSetLoadEvent","FormData","FormDataEvent","FragmentDirective","Function","GENERATE_MIPMAP_HINT","GEQUAL","GPU","GPUAdapter","GPUAdapterInfo","GPUBindGroup","GPUBindGroupLayout","GPUBuffer","GPUBufferUsage","GPUCanvasContext","GPUColorWrite","GPUCommandBuffer","GPUCommandEncoder","GPUCompilationInfo","GPUCompilationMessage","GPUComputePassEncoder","GPUComputePipeline","GPUDevice","GPUDeviceLostInfo","GPUError","GPUExternalTexture","GPUInternalError","GPUMapMode","GPUOutOfMemoryError","GPUPipelineError","GPUPipelineLayout","GPUQuerySet","GPUQueue","GPURenderBundle","GPURenderBundleEncoder","GPURenderPassEncoder","GPURenderPipeline","GPUSampler","GPUShaderModule","GPUShaderStage","GPUSupportedFeatures","GPUSupportedLimits","GPUTexture","GPUTextureUsage","GPUTextureView","GPUUncapturedErrorEvent","GPUValidationError","GREATER","GREEN","GREEN_BITS","GainNode","Gamepad","GamepadAxisMoveEvent","GamepadButton","GamepadButtonEvent","GamepadEvent","GamepadHapticActuator","GamepadPose","Geolocation","GeolocationCoordinates","GeolocationPosition","GeolocationPositionError","GestureEvent","Global","GravitySensor","Gyroscope","HALF_FLOAT","HAVE_CURRENT_DATA","HAVE_ENOUGH_DATA","HAVE_FUTURE_DATA","HAVE_METADATA","HAVE_NOTHING","HEADERS_RECEIVED","HID","HIDConnectionEvent","HIDDEN","HIDDevice","HIDInputReportEvent","HIERARCHY_REQUEST_ERR","HIGHPASS","HIGHSHELF","HIGH_FLOAT","HIGH_INT","HORIZONTAL","HORIZONTAL_AXIS","HRTF","HTMLAllCollection","HTMLAnchorElement","HTMLAppletElement","HTMLAreaElement","HTMLAudioElement","HTMLBRElement","HTMLBaseElement","HTMLBaseFontElement","HTMLBlockquoteElement","HTMLBodyElement","HTMLButtonElement","HTMLCanvasElement","HTMLCollection","HTMLCommandElement","HTMLContentElement","HTMLDListElement","HTMLDataElement","HTMLDataListElement","HTMLDetailsElement","HTMLDialogElement","HTMLDirectoryElement","HTMLDivElement","HTMLDocument","HTMLElement","HTMLEmbedElement","HTMLFencedFrameElement","HTMLFieldSetElement","HTMLFontElement","HTMLFormControlsCollection","HTMLFormElement","HTMLFrameElement","HTMLFrameSetElement","HTMLHRElement","HTMLHeadElement","HTMLHeadingElement","HTMLHtmlElement","HTMLIFrameElement","HTMLImageElement","HTMLInputElement","HTMLIsIndexElement","HTMLKeygenElement","HTMLLIElement","HTMLLabelElement","HTMLLegendElement","HTMLLinkElement","HTMLMapElement","HTMLMarqueeElement","HTMLMediaElement","HTMLMenuElement","HTMLMenuItemElement","HTMLMetaElement","HTMLMeterElement","HTMLModElement","HTMLOListElement","HTMLObjectElement","HTMLOptGroupElement","HTMLOptionElement","HTMLOptionsCollection","HTMLOutputElement","HTMLParagraphElement","HTMLParamElement","HTMLPictureElement","HTMLPreElement","HTMLProgressElement","HTMLPropertiesCollection","HTMLQuoteElement","HTMLScriptElement","HTMLSelectElement","HTMLShadowElement","HTMLSlotElement","HTMLSourceElement","HTMLSpanElement","HTMLStyleElement","HTMLTableCaptionElement","HTMLTableCellElement","HTMLTableColElement","HTMLTableElement","HTMLTableRowElement","HTMLTableSectionElement","HTMLTemplateElement","HTMLTextAreaElement","HTMLTimeElement","HTMLTitleElement","HTMLTrackElement","HTMLUListElement","HTMLUnknownElement","HTMLVideoElement","HashChangeEvent","Headers","Highlight","HighlightRegistry","History","Hz","ICE_CHECKING","ICE_CLOSED","ICE_COMPLETED","ICE_CONNECTED","ICE_FAILED","ICE_GATHERING","ICE_WAITING","IDBCursor","IDBCursorWithValue","IDBDatabase","IDBDatabaseException","IDBFactory","IDBFileHandle","IDBFileRequest","IDBIndex","IDBKeyRange","IDBMutableFile","IDBObjectStore","IDBOpenDBRequest","IDBRequest","IDBTransaction","IDBVersionChangeEvent","IDLE","IIRFilterNode","IMPLEMENTATION_COLOR_READ_FORMAT","IMPLEMENTATION_COLOR_READ_TYPE","IMPORT_RULE","INCR","INCR_WRAP","INDEX","INDEX_SIZE_ERR","INDIRECT","INT","INTERLEAVED_ATTRIBS","INT_2_10_10_10_REV","INT_SAMPLER_2D","INT_SAMPLER_2D_ARRAY","INT_SAMPLER_3D","INT_SAMPLER_CUBE","INT_VEC2","INT_VEC3","INT_VEC4","INUSE_ATTRIBUTE_ERR","INVALID_ACCESS_ERR","INVALID_CHARACTER_ERR","INVALID_ENUM","INVALID_EXPRESSION_ERR","INVALID_FRAMEBUFFER_OPERATION","INVALID_INDEX","INVALID_MODIFICATION_ERR","INVALID_NODE_TYPE_ERR","INVALID_OPERATION","INVALID_STATE_ERR","INVALID_VALUE","INVERSE_DISTANCE","INVERT","IceCandidate","IdentityCredential","IdentityCredentialError","IdentityProvider","IdleDeadline","IdleDetector","Image","ImageBitmap","ImageBitmapRenderingContext","ImageCapture","ImageData","ImageDecoder","ImageTrack","ImageTrackList","Infinity","Ink","InputDeviceCapabilities","InputDeviceInfo","InputEvent","InputMethodContext","InstallTrigger","InstallTriggerImpl","Instance","Int16Array","Int32Array","Int8Array","Intent","InternalError","IntersectionObserver","IntersectionObserverEntry","Intl","IsSearchProviderInstalled","Iterator","JSON","JSTag","KEEP","KEYDOWN","KEYFRAMES_RULE","KEYFRAME_RULE","KEYPRESS","KEYUP","KeyEvent","Keyboard","KeyboardEvent","KeyboardLayoutMap","KeyframeEffect","LENGTHADJUST_SPACING","LENGTHADJUST_SPACINGANDGLYPHS","LENGTHADJUST_UNKNOWN","LEQUAL","LESS","LINEAR","LINEAR_DISTANCE","LINEAR_MIPMAP_LINEAR","LINEAR_MIPMAP_NEAREST","LINES","LINE_LOOP","LINE_STRIP","LINE_WIDTH","LINK_STATUS","LIVE","LN10","LN2","LOADED","LOADING","LOG10E","LOG2E","LOWPASS","LOWSHELF","LOW_FLOAT","LOW_INT","LSException","LSParserFilter","LUMINANCE","LUMINANCE_ALPHA","LargestContentfulPaint","LaunchParams","LaunchQueue","LayoutShift","LayoutShiftAttribution","LinearAccelerationSensor","LinkError","ListFormat","LocalMediaStream","Locale","Location","Lock","LockManager","MAP_READ","MAP_WRITE","MAX","MAX_3D_TEXTURE_SIZE","MAX_ARRAY_TEXTURE_LAYERS","MAX_CLIENT_WAIT_TIMEOUT_WEBGL","MAX_COLOR_ATTACHMENTS","MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS","MAX_COMBINED_TEXTURE_IMAGE_UNITS","MAX_COMBINED_UNIFORM_BLOCKS","MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS","MAX_CUBE_MAP_TEXTURE_SIZE","MAX_DRAW_BUFFERS","MAX_ELEMENTS_INDICES","MAX_ELEMENTS_VERTICES","MAX_ELEMENT_INDEX","MAX_FRAGMENT_INPUT_COMPONENTS","MAX_FRAGMENT_UNIFORM_BLOCKS","MAX_FRAGMENT_UNIFORM_COMPONENTS","MAX_FRAGMENT_UNIFORM_VECTORS","MAX_PROGRAM_TEXEL_OFFSET","MAX_RENDERBUFFER_SIZE","MAX_SAFE_INTEGER","MAX_SAMPLES","MAX_SERVER_WAIT_TIMEOUT","MAX_TEXTURE_IMAGE_UNITS","MAX_TEXTURE_LOD_BIAS","MAX_TEXTURE_MAX_ANISOTROPY_EXT","MAX_TEXTURE_SIZE","MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS","MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS","MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS","MAX_UNIFORM_BLOCK_SIZE","MAX_UNIFORM_BUFFER_BINDINGS","MAX_VALUE","MAX_VARYING_COMPONENTS","MAX_VARYING_VECTORS","MAX_VERTEX_ATTRIBS","MAX_VERTEX_OUTPUT_COMPONENTS","MAX_VERTEX_TEXTURE_IMAGE_UNITS","MAX_VERTEX_UNIFORM_BLOCKS","MAX_VERTEX_UNIFORM_COMPONENTS","MAX_VERTEX_UNIFORM_VECTORS","MAX_VIEWPORT_DIMS","MEDIA_ERR_ABORTED","MEDIA_ERR_DECODE","MEDIA_ERR_ENCRYPTED","MEDIA_ERR_NETWORK","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_KEYERR_CLIENT","MEDIA_KEYERR_DOMAIN","MEDIA_KEYERR_HARDWARECHANGE","MEDIA_KEYERR_OUTPUT","MEDIA_KEYERR_SERVICE","MEDIA_KEYERR_UNKNOWN","MEDIA_RULE","MEDIUM_FLOAT","MEDIUM_INT","META_MASK","MIDIAccess","MIDIConnectionEvent","MIDIInput","MIDIInputMap","MIDIMessageEvent","MIDIOutput","MIDIOutputMap","MIDIPort","MIN","MIN_PROGRAM_TEXEL_OFFSET","MIN_SAFE_INTEGER","MIN_VALUE","MIRRORED_REPEAT","MODE_ASYNCHRONOUS","MODE_SYNCHRONOUS","MODIFICATION","MOUSEDOWN","MOUSEDRAG","MOUSEMOVE","MOUSEOUT","MOUSEOVER","MOUSEUP","MOZ_KEYFRAMES_RULE","MOZ_KEYFRAME_RULE","MOZ_SOURCE_CURSOR","MOZ_SOURCE_ERASER","MOZ_SOURCE_KEYBOARD","MOZ_SOURCE_MOUSE","MOZ_SOURCE_PEN","MOZ_SOURCE_TOUCH","MOZ_SOURCE_UNKNOWN","MSGESTURE_FLAG_BEGIN","MSGESTURE_FLAG_CANCEL","MSGESTURE_FLAG_END","MSGESTURE_FLAG_INERTIA","MSGESTURE_FLAG_NONE","MSPOINTER_TYPE_MOUSE","MSPOINTER_TYPE_PEN","MSPOINTER_TYPE_TOUCH","MS_ASYNC_CALLBACK_STATUS_ASSIGN_DELEGATE","MS_ASYNC_CALLBACK_STATUS_CANCEL","MS_ASYNC_CALLBACK_STATUS_CHOOSEANY","MS_ASYNC_CALLBACK_STATUS_ERROR","MS_ASYNC_CALLBACK_STATUS_JOIN","MS_ASYNC_OP_STATUS_CANCELED","MS_ASYNC_OP_STATUS_ERROR","MS_ASYNC_OP_STATUS_SUCCESS","MS_MANIPULATION_STATE_ACTIVE","MS_MANIPULATION_STATE_CANCELLED","MS_MANIPULATION_STATE_COMMITTED","MS_MANIPULATION_STATE_DRAGGING","MS_MANIPULATION_STATE_INERTIA","MS_MANIPULATION_STATE_PRESELECT","MS_MANIPULATION_STATE_SELECTING","MS_MANIPULATION_STATE_STOPPED","MS_MEDIA_ERR_ENCRYPTED","MS_MEDIA_KEYERR_CLIENT","MS_MEDIA_KEYERR_DOMAIN","MS_MEDIA_KEYERR_HARDWARECHANGE","MS_MEDIA_KEYERR_OUTPUT","MS_MEDIA_KEYERR_SERVICE","MS_MEDIA_KEYERR_UNKNOWN","Map","Math","MathMLElement","MediaCapabilities","MediaCapabilitiesInfo","MediaController","MediaDeviceInfo","MediaDevices","MediaElementAudioSourceNode","MediaEncryptedEvent","MediaError","MediaKeyError","MediaKeyEvent","MediaKeyMessageEvent","MediaKeyNeededEvent","MediaKeySession","MediaKeyStatusMap","MediaKeySystemAccess","MediaKeys","MediaList","MediaMetadata","MediaQueryList","MediaQueryListEvent","MediaRecorder","MediaRecorderErrorEvent","MediaSession","MediaSettingsRange","MediaSource","MediaSourceHandle","MediaStream","MediaStreamAudioDestinationNode","MediaStreamAudioSourceNode","MediaStreamEvent","MediaStreamTrack","MediaStreamTrackAudioSourceNode","MediaStreamTrackEvent","MediaStreamTrackGenerator","MediaStreamTrackProcessor","MediaStreamTrackVideoStats","Memory","MessageChannel","MessageEvent","MessagePort","Methods","MimeType","MimeTypeArray","Module","MouseEvent","MouseScrollEvent","MozAnimation","MozAnimationDelay","MozAnimationDirection","MozAnimationDuration","MozAnimationFillMode","MozAnimationIterationCount","MozAnimationName","MozAnimationPlayState","MozAnimationTimingFunction","MozAppearance","MozBackfaceVisibility","MozBinding","MozBorderBottomColors","MozBorderEnd","MozBorderEndColor","MozBorderEndStyle","MozBorderEndWidth","MozBorderImage","MozBorderLeftColors","MozBorderRightColors","MozBorderStart","MozBorderStartColor","MozBorderStartStyle","MozBorderStartWidth","MozBorderTopColors","MozBoxAlign","MozBoxDirection","MozBoxFlex","MozBoxOrdinalGroup","MozBoxOrient","MozBoxPack","MozBoxSizing","MozCSSKeyframeRule","MozCSSKeyframesRule","MozColumnCount","MozColumnFill","MozColumnGap","MozColumnRule","MozColumnRuleColor","MozColumnRuleStyle","MozColumnRuleWidth","MozColumnWidth","MozColumns","MozContactChangeEvent","MozFloatEdge","MozFontFeatureSettings","MozFontLanguageOverride","MozForceBrokenImageIcon","MozHyphens","MozImageRegion","MozMarginEnd","MozMarginStart","MozMmsEvent","MozMmsMessage","MozMobileMessageThread","MozOSXFontSmoothing","MozOrient","MozOsxFontSmoothing","MozOutlineRadius","MozOutlineRadiusBottomleft","MozOutlineRadiusBottomright","MozOutlineRadiusTopleft","MozOutlineRadiusTopright","MozPaddingEnd","MozPaddingStart","MozPerspective","MozPerspectiveOrigin","MozPowerManager","MozSettingsEvent","MozSmsEvent","MozSmsMessage","MozStackSizing","MozTabSize","MozTextAlignLast","MozTextDecorationColor","MozTextDecorationLine","MozTextDecorationStyle","MozTextSizeAdjust","MozTransform","MozTransformOrigin","MozTransformStyle","MozTransition","MozTransitionDelay","MozTransitionDuration","MozTransitionProperty","MozTransitionTimingFunction","MozUserFocus","MozUserInput","MozUserModify","MozUserSelect","MozWindowDragging","MozWindowShadow","MutationEvent","MutationObserver","MutationRecord","NAMESPACE_ERR","NAMESPACE_RULE","NEAREST","NEAREST_MIPMAP_LINEAR","NEAREST_MIPMAP_NEAREST","NEGATIVE_INFINITY","NETWORK_EMPTY","NETWORK_ERR","NETWORK_IDLE","NETWORK_LOADED","NETWORK_LOADING","NETWORK_NO_SOURCE","NEVER","NEW","NEXT","NEXT_NO_DUPLICATE","NICEST","NODE_AFTER","NODE_BEFORE","NODE_BEFORE_AND_AFTER","NODE_INSIDE","NONE","NON_TRANSIENT_ERR","NOTATION_NODE","NOTCH","NOTEQUAL","NOT_ALLOWED_ERR","NOT_FOUND_ERR","NOT_READABLE_ERR","NOT_SUPPORTED_ERR","NO_DATA_ALLOWED_ERR","NO_ERR","NO_ERROR","NO_MODIFICATION_ALLOWED_ERR","NUMBER_TYPE","NUM_COMPRESSED_TEXTURE_FORMATS","NaN","NamedNodeMap","NavigateEvent","Navigation","NavigationActivation","NavigationCurrentEntryChangeEvent","NavigationDestination","NavigationHistoryEntry","NavigationPreloadManager","NavigationTransition","Navigator","NavigatorLogin","NavigatorManagedData","NavigatorUAData","NearbyLinks","NetworkInformation","Node","NodeFilter","NodeIterator","NodeList","NotRestoredReasonDetails","NotRestoredReasons","Notation","Notification","NotifyPaintEvent","Number","NumberFormat","OBJECT_TYPE","OBSOLETE","OK","ONE","ONE_MINUS_CONSTANT_ALPHA","ONE_MINUS_CONSTANT_COLOR","ONE_MINUS_DST_ALPHA","ONE_MINUS_DST_COLOR","ONE_MINUS_SRC_ALPHA","ONE_MINUS_SRC_COLOR","OPEN","OPENED","OPENING","ORDERED_NODE_ITERATOR_TYPE","ORDERED_NODE_SNAPSHOT_TYPE","OTHER_ERROR","OTPCredential","OUT_OF_MEMORY","Object","OfflineAudioCompletionEvent","OfflineAudioContext","OfflineResourceList","OffscreenCanvas","OffscreenCanvasRenderingContext2D","Option","OrientationSensor","OscillatorNode","OverconstrainedError","OverflowEvent","PACK_ALIGNMENT","PACK_ROW_LENGTH","PACK_SKIP_PIXELS","PACK_SKIP_ROWS","PAGE_RULE","PARSE_ERR","PATHSEG_ARC_ABS","PATHSEG_ARC_REL","PATHSEG_CLOSEPATH","PATHSEG_CURVETO_CUBIC_ABS","PATHSEG_CURVETO_CUBIC_REL","PATHSEG_CURVETO_CUBIC_SMOOTH_ABS","PATHSEG_CURVETO_CUBIC_SMOOTH_REL","PATHSEG_CURVETO_QUADRATIC_ABS","PATHSEG_CURVETO_QUADRATIC_REL","PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS","PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL","PATHSEG_LINETO_ABS","PATHSEG_LINETO_HORIZONTAL_ABS","PATHSEG_LINETO_HORIZONTAL_REL","PATHSEG_LINETO_REL","PATHSEG_LINETO_VERTICAL_ABS","PATHSEG_LINETO_VERTICAL_REL","PATHSEG_MOVETO_ABS","PATHSEG_MOVETO_REL","PATHSEG_UNKNOWN","PATH_EXISTS_ERR","PEAKING","PERMISSION_DENIED","PERSISTENT","PI","PIXEL_PACK_BUFFER","PIXEL_PACK_BUFFER_BINDING","PIXEL_UNPACK_BUFFER","PIXEL_UNPACK_BUFFER_BINDING","PLAYING_STATE","POINTS","POLYGON_OFFSET_FACTOR","POLYGON_OFFSET_FILL","POLYGON_OFFSET_UNITS","POSITION_UNAVAILABLE","POSITIVE_INFINITY","PREV","PREV_NO_DUPLICATE","PROCESSING_INSTRUCTION_NODE","PageChangeEvent","PageRevealEvent","PageSwapEvent","PageTransitionEvent","PaintRequest","PaintRequestList","PannerNode","PasswordCredential","Path2D","PaymentAddress","PaymentInstruments","PaymentManager","PaymentMethodChangeEvent","PaymentRequest","PaymentRequestUpdateEvent","PaymentResponse","Performance","PerformanceElementTiming","PerformanceEntry","PerformanceEventTiming","PerformanceLongAnimationFrameTiming","PerformanceLongTaskTiming","PerformanceMark","PerformanceMeasure","PerformanceNavigation","PerformanceNavigationTiming","PerformanceObserver","PerformanceObserverEntryList","PerformancePaintTiming","PerformanceResourceTiming","PerformanceScriptTiming","PerformanceServerTiming","PerformanceTiming","PeriodicSyncManager","PeriodicWave","PermissionStatus","Permissions","PhotoCapabilities","PictureInPictureEvent","PictureInPictureWindow","Plugin","PluginArray","PluralRules","PointerEvent","PopStateEvent","PopupBlockedEvent","Presentation","PresentationAvailability","PresentationConnection","PresentationConnectionAvailableEvent","PresentationConnectionCloseEvent","PresentationConnectionList","PresentationReceiver","PresentationRequest","ProcessingInstruction","Profiler","ProgressEvent","Promise","PromiseRejectionEvent","PropertyNodeList","Proxy","PublicKeyCredential","PushManager","PushSubscription","PushSubscriptionOptions","Q","QUERY_RESOLVE","QUERY_RESULT","QUERY_RESULT_AVAILABLE","QUOTA_ERR","QUOTA_EXCEEDED_ERR","QueryInterface","R11F_G11F_B10F","R16F","R16I","R16UI","R32F","R32I","R32UI","R8","R8I","R8UI","R8_SNORM","RASTERIZER_DISCARD","READ","READ_BUFFER","READ_FRAMEBUFFER","READ_FRAMEBUFFER_BINDING","READ_ONLY","READ_ONLY_ERR","READ_WRITE","RED","RED_BITS","RED_INTEGER","REMOVAL","RENDERBUFFER","RENDERBUFFER_ALPHA_SIZE","RENDERBUFFER_BINDING","RENDERBUFFER_BLUE_SIZE","RENDERBUFFER_DEPTH_SIZE","RENDERBUFFER_GREEN_SIZE","RENDERBUFFER_HEIGHT","RENDERBUFFER_INTERNAL_FORMAT","RENDERBUFFER_RED_SIZE","RENDERBUFFER_SAMPLES","RENDERBUFFER_STENCIL_SIZE","RENDERBUFFER_WIDTH","RENDERER","RENDERING_INTENT_ABSOLUTE_COLORIMETRIC","RENDERING_INTENT_AUTO","RENDERING_INTENT_PERCEPTUAL","RENDERING_INTENT_RELATIVE_COLORIMETRIC","RENDERING_INTENT_SATURATION","RENDERING_INTENT_UNKNOWN","RENDER_ATTACHMENT","REPEAT","REPLACE","RG","RG16F","RG16I","RG16UI","RG32F","RG32I","RG32UI","RG8","RG8I","RG8UI","RG8_SNORM","RGB","RGB10_A2","RGB10_A2UI","RGB16F","RGB16I","RGB16UI","RGB32F","RGB32I","RGB32UI","RGB565","RGB5_A1","RGB8","RGB8I","RGB8UI","RGB8_SNORM","RGB9_E5","RGBA","RGBA16F","RGBA16I","RGBA16UI","RGBA32F","RGBA32I","RGBA32UI","RGBA4","RGBA8","RGBA8I","RGBA8UI","RGBA8_SNORM","RGBA_INTEGER","RGBColor","RGB_INTEGER","RG_INTEGER","ROTATION_CLOCKWISE","ROTATION_COUNTERCLOCKWISE","RTCCertificate","RTCDTMFSender","RTCDTMFToneChangeEvent","RTCDataChannel","RTCDataChannelEvent","RTCDtlsTransport","RTCEncodedAudioFrame","RTCEncodedVideoFrame","RTCError","RTCErrorEvent","RTCIceCandidate","RTCIceTransport","RTCPeerConnection","RTCPeerConnectionIceErrorEvent","RTCPeerConnectionIceEvent","RTCRtpReceiver","RTCRtpScriptTransform","RTCRtpSender","RTCRtpTransceiver","RTCSctpTransport","RTCSessionDescription","RTCStatsReport","RTCTrackEvent","RadioNodeList","Range","RangeError","RangeException","ReadableByteStreamController","ReadableStream","ReadableStreamBYOBReader","ReadableStreamBYOBRequest","ReadableStreamDefaultController","ReadableStreamDefaultReader","RecordErrorEvent","Rect","ReferenceError","Reflect","RegExp","RelativeOrientationSensor","RelativeTimeFormat","RemotePlayback","Report","ReportBody","ReportingObserver","Request","ResizeObserver","ResizeObserverEntry","ResizeObserverSize","Response","RuntimeError","SAMPLER_2D","SAMPLER_2D_ARRAY","SAMPLER_2D_ARRAY_SHADOW","SAMPLER_2D_SHADOW","SAMPLER_3D","SAMPLER_BINDING","SAMPLER_CUBE","SAMPLER_CUBE_SHADOW","SAMPLES","SAMPLE_ALPHA_TO_COVERAGE","SAMPLE_BUFFERS","SAMPLE_COVERAGE","SAMPLE_COVERAGE_INVERT","SAMPLE_COVERAGE_VALUE","SAWTOOTH","SCHEDULED_STATE","SCISSOR_BOX","SCISSOR_TEST","SCROLL_PAGE_DOWN","SCROLL_PAGE_UP","SDP_ANSWER","SDP_OFFER","SDP_PRANSWER","SECURITY_ERR","SELECT","SEPARATE_ATTRIBS","SERIALIZE_ERR","SEVERITY_ERROR","SEVERITY_FATAL_ERROR","SEVERITY_WARNING","SHADER_COMPILER","SHADER_TYPE","SHADING_LANGUAGE_VERSION","SHIFT_MASK","SHORT","SHOWING","SHOW_ALL","SHOW_ATTRIBUTE","SHOW_CDATA_SECTION","SHOW_COMMENT","SHOW_DOCUMENT","SHOW_DOCUMENT_FRAGMENT","SHOW_DOCUMENT_TYPE","SHOW_ELEMENT","SHOW_ENTITY","SHOW_ENTITY_REFERENCE","SHOW_NOTATION","SHOW_PROCESSING_INSTRUCTION","SHOW_TEXT","SIGNALED","SIGNED_NORMALIZED","SINE","SOUNDFIELD","SQLException","SQRT1_2","SQRT2","SQUARE","SRC_ALPHA","SRC_ALPHA_SATURATE","SRC_COLOR","SRGB","SRGB8","SRGB8_ALPHA8","START_TO_END","START_TO_START","STATIC_COPY","STATIC_DRAW","STATIC_READ","STENCIL","STENCIL_ATTACHMENT","STENCIL_BACK_FAIL","STENCIL_BACK_FUNC","STENCIL_BACK_PASS_DEPTH_FAIL","STENCIL_BACK_PASS_DEPTH_PASS","STENCIL_BACK_REF","STENCIL_BACK_VALUE_MASK","STENCIL_BACK_WRITEMASK","STENCIL_BITS","STENCIL_BUFFER_BIT","STENCIL_CLEAR_VALUE","STENCIL_FAIL","STENCIL_FUNC","STENCIL_INDEX","STENCIL_INDEX8","STENCIL_PASS_DEPTH_FAIL","STENCIL_PASS_DEPTH_PASS","STENCIL_REF","STENCIL_TEST","STENCIL_VALUE_MASK","STENCIL_WRITEMASK","STORAGE","STORAGE_BINDING","STREAM_COPY","STREAM_DRAW","STREAM_READ","STRING_TYPE","STYLE_RULE","SUBPIXEL_BITS","SUPPORTS_RULE","SVGAElement","SVGAltGlyphDefElement","SVGAltGlyphElement","SVGAltGlyphItemElement","SVGAngle","SVGAnimateColorElement","SVGAnimateElement","SVGAnimateMotionElement","SVGAnimateTransformElement","SVGAnimatedAngle","SVGAnimatedBoolean","SVGAnimatedEnumeration","SVGAnimatedInteger","SVGAnimatedLength","SVGAnimatedLengthList","SVGAnimatedNumber","SVGAnimatedNumberList","SVGAnimatedPreserveAspectRatio","SVGAnimatedRect","SVGAnimatedString","SVGAnimatedTransformList","SVGAnimationElement","SVGCircleElement","SVGClipPathElement","SVGColor","SVGComponentTransferFunctionElement","SVGCursorElement","SVGDefsElement","SVGDescElement","SVGDiscardElement","SVGDocument","SVGElement","SVGElementInstance","SVGElementInstanceList","SVGEllipseElement","SVGException","SVGFEBlendElement","SVGFEColorMatrixElement","SVGFEComponentTransferElement","SVGFECompositeElement","SVGFEConvolveMatrixElement","SVGFEDiffuseLightingElement","SVGFEDisplacementMapElement","SVGFEDistantLightElement","SVGFEDropShadowElement","SVGFEFloodElement","SVGFEFuncAElement","SVGFEFuncBElement","SVGFEFuncGElement","SVGFEFuncRElement","SVGFEGaussianBlurElement","SVGFEImageElement","SVGFEMergeElement","SVGFEMergeNodeElement","SVGFEMorphologyElement","SVGFEOffsetElement","SVGFEPointLightElement","SVGFESpecularLightingElement","SVGFESpotLightElement","SVGFETileElement","SVGFETurbulenceElement","SVGFilterElement","SVGFontElement","SVGFontFaceElement","SVGFontFaceFormatElement","SVGFontFaceNameElement","SVGFontFaceSrcElement","SVGFontFaceUriElement","SVGForeignObjectElement","SVGGElement","SVGGeometryElement","SVGGlyphElement","SVGGlyphRefElement","SVGGradientElement","SVGGraphicsElement","SVGHKernElement","SVGImageElement","SVGLength","SVGLengthList","SVGLineElement","SVGLinearGradientElement","SVGMPathElement","SVGMarkerElement","SVGMaskElement","SVGMatrix","SVGMetadataElement","SVGMissingGlyphElement","SVGNumber","SVGNumberList","SVGPaint","SVGPathElement","SVGPathSeg","SVGPathSegArcAbs","SVGPathSegArcRel","SVGPathSegClosePath","SVGPathSegCurvetoCubicAbs","SVGPathSegCurvetoCubicRel","SVGPathSegCurvetoCubicSmoothAbs","SVGPathSegCurvetoCubicSmoothRel","SVGPathSegCurvetoQuadraticAbs","SVGPathSegCurvetoQuadraticRel","SVGPathSegCurvetoQuadraticSmoothAbs","SVGPathSegCurvetoQuadraticSmoothRel","SVGPathSegLinetoAbs","SVGPathSegLinetoHorizontalAbs","SVGPathSegLinetoHorizontalRel","SVGPathSegLinetoRel","SVGPathSegLinetoVerticalAbs","SVGPathSegLinetoVerticalRel","SVGPathSegList","SVGPathSegMovetoAbs","SVGPathSegMovetoRel","SVGPatternElement","SVGPoint","SVGPointList","SVGPolygonElement","SVGPolylineElement","SVGPreserveAspectRatio","SVGRadialGradientElement","SVGRect","SVGRectElement","SVGRenderingIntent","SVGSVGElement","SVGScriptElement","SVGSetElement","SVGStopElement","SVGStringList","SVGStyleElement","SVGSwitchElement","SVGSymbolElement","SVGTRefElement","SVGTSpanElement","SVGTextContentElement","SVGTextElement","SVGTextPathElement","SVGTextPositioningElement","SVGTitleElement","SVGTransform","SVGTransformList","SVGUnitTypes","SVGUseElement","SVGVKernElement","SVGViewElement","SVGViewSpec","SVGZoomAndPan","SVGZoomEvent","SVG_ANGLETYPE_DEG","SVG_ANGLETYPE_GRAD","SVG_ANGLETYPE_RAD","SVG_ANGLETYPE_UNKNOWN","SVG_ANGLETYPE_UNSPECIFIED","SVG_CHANNEL_A","SVG_CHANNEL_B","SVG_CHANNEL_G","SVG_CHANNEL_R","SVG_CHANNEL_UNKNOWN","SVG_COLORTYPE_CURRENTCOLOR","SVG_COLORTYPE_RGBCOLOR","SVG_COLORTYPE_RGBCOLOR_ICCCOLOR","SVG_COLORTYPE_UNKNOWN","SVG_EDGEMODE_DUPLICATE","SVG_EDGEMODE_NONE","SVG_EDGEMODE_UNKNOWN","SVG_EDGEMODE_WRAP","SVG_FEBLEND_MODE_COLOR","SVG_FEBLEND_MODE_COLOR_BURN","SVG_FEBLEND_MODE_COLOR_DODGE","SVG_FEBLEND_MODE_DARKEN","SVG_FEBLEND_MODE_DIFFERENCE","SVG_FEBLEND_MODE_EXCLUSION","SVG_FEBLEND_MODE_HARD_LIGHT","SVG_FEBLEND_MODE_HUE","SVG_FEBLEND_MODE_LIGHTEN","SVG_FEBLEND_MODE_LUMINOSITY","SVG_FEBLEND_MODE_MULTIPLY","SVG_FEBLEND_MODE_NORMAL","SVG_FEBLEND_MODE_OVERLAY","SVG_FEBLEND_MODE_SATURATION","SVG_FEBLEND_MODE_SCREEN","SVG_FEBLEND_MODE_SOFT_LIGHT","SVG_FEBLEND_MODE_UNKNOWN","SVG_FECOLORMATRIX_TYPE_HUEROTATE","SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA","SVG_FECOLORMATRIX_TYPE_MATRIX","SVG_FECOLORMATRIX_TYPE_SATURATE","SVG_FECOLORMATRIX_TYPE_UNKNOWN","SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE","SVG_FECOMPONENTTRANSFER_TYPE_GAMMA","SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY","SVG_FECOMPONENTTRANSFER_TYPE_LINEAR","SVG_FECOMPONENTTRANSFER_TYPE_TABLE","SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN","SVG_FECOMPOSITE_OPERATOR_ARITHMETIC","SVG_FECOMPOSITE_OPERATOR_ATOP","SVG_FECOMPOSITE_OPERATOR_IN","SVG_FECOMPOSITE_OPERATOR_LIGHTER","SVG_FECOMPOSITE_OPERATOR_OUT","SVG_FECOMPOSITE_OPERATOR_OVER","SVG_FECOMPOSITE_OPERATOR_UNKNOWN","SVG_FECOMPOSITE_OPERATOR_XOR","SVG_INVALID_VALUE_ERR","SVG_LENGTHTYPE_CM","SVG_LENGTHTYPE_EMS","SVG_LENGTHTYPE_EXS","SVG_LENGTHTYPE_IN","SVG_LENGTHTYPE_MM","SVG_LENGTHTYPE_NUMBER","SVG_LENGTHTYPE_PC","SVG_LENGTHTYPE_PERCENTAGE","SVG_LENGTHTYPE_PT","SVG_LENGTHTYPE_PX","SVG_LENGTHTYPE_UNKNOWN","SVG_MARKERUNITS_STROKEWIDTH","SVG_MARKERUNITS_UNKNOWN","SVG_MARKERUNITS_USERSPACEONUSE","SVG_MARKER_ORIENT_ANGLE","SVG_MARKER_ORIENT_AUTO","SVG_MARKER_ORIENT_AUTO_START_REVERSE","SVG_MARKER_ORIENT_UNKNOWN","SVG_MASKTYPE_ALPHA","SVG_MASKTYPE_LUMINANCE","SVG_MATRIX_NOT_INVERTABLE","SVG_MEETORSLICE_MEET","SVG_MEETORSLICE_SLICE","SVG_MEETORSLICE_UNKNOWN","SVG_MORPHOLOGY_OPERATOR_DILATE","SVG_MORPHOLOGY_OPERATOR_ERODE","SVG_MORPHOLOGY_OPERATOR_UNKNOWN","SVG_PAINTTYPE_CURRENTCOLOR","SVG_PAINTTYPE_NONE","SVG_PAINTTYPE_RGBCOLOR","SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR","SVG_PAINTTYPE_UNKNOWN","SVG_PAINTTYPE_URI","SVG_PAINTTYPE_URI_CURRENTCOLOR","SVG_PAINTTYPE_URI_NONE","SVG_PAINTTYPE_URI_RGBCOLOR","SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR","SVG_PRESERVEASPECTRATIO_NONE","SVG_PRESERVEASPECTRATIO_UNKNOWN","SVG_PRESERVEASPECTRATIO_XMAXYMAX","SVG_PRESERVEASPECTRATIO_XMAXYMID","SVG_PRESERVEASPECTRATIO_XMAXYMIN","SVG_PRESERVEASPECTRATIO_XMIDYMAX","SVG_PRESERVEASPECTRATIO_XMIDYMID","SVG_PRESERVEASPECTRATIO_XMIDYMIN","SVG_PRESERVEASPECTRATIO_XMINYMAX","SVG_PRESERVEASPECTRATIO_XMINYMID","SVG_PRESERVEASPECTRATIO_XMINYMIN","SVG_SPREADMETHOD_PAD","SVG_SPREADMETHOD_REFLECT","SVG_SPREADMETHOD_REPEAT","SVG_SPREADMETHOD_UNKNOWN","SVG_STITCHTYPE_NOSTITCH","SVG_STITCHTYPE_STITCH","SVG_STITCHTYPE_UNKNOWN","SVG_TRANSFORM_MATRIX","SVG_TRANSFORM_ROTATE","SVG_TRANSFORM_SCALE","SVG_TRANSFORM_SKEWX","SVG_TRANSFORM_SKEWY","SVG_TRANSFORM_TRANSLATE","SVG_TRANSFORM_UNKNOWN","SVG_TURBULENCE_TYPE_FRACTALNOISE","SVG_TURBULENCE_TYPE_TURBULENCE","SVG_TURBULENCE_TYPE_UNKNOWN","SVG_UNIT_TYPE_OBJECTBOUNDINGBOX","SVG_UNIT_TYPE_UNKNOWN","SVG_UNIT_TYPE_USERSPACEONUSE","SVG_WRONG_TYPE_ERR","SVG_ZOOMANDPAN_DISABLE","SVG_ZOOMANDPAN_MAGNIFY","SVG_ZOOMANDPAN_UNKNOWN","SYNC_CONDITION","SYNC_FENCE","SYNC_FLAGS","SYNC_FLUSH_COMMANDS_BIT","SYNC_GPU_COMMANDS_COMPLETE","SYNC_STATUS","SYNTAX_ERR","SavedPages","Scheduler","Scheduling","Screen","ScreenDetailed","ScreenDetails","ScreenOrientation","Script","ScriptProcessorNode","ScrollAreaEvent","ScrollTimeline","SecurityPolicyViolationEvent","Segmenter","Selection","Sensor","SensorErrorEvent","Serial","SerialPort","ServiceWorker","ServiceWorkerContainer","ServiceWorkerRegistration","SessionDescription","Set","ShadowRoot","SharedArrayBuffer","SharedStorage","SharedStorageWorklet","SharedWorker","SimpleGestureEvent","SourceBuffer","SourceBufferList","SpeechSynthesis","SpeechSynthesisErrorEvent","SpeechSynthesisEvent","SpeechSynthesisUtterance","SpeechSynthesisVoice","StaticRange","StereoPannerNode","StopIteration","Storage","StorageBucket","StorageBucketManager","StorageEvent","StorageManager","String","StructType","StylePropertyMap","StylePropertyMapReadOnly","StyleSheet","StyleSheetList","SubmitEvent","SubtleCrypto","Symbol","SyncManager","SyntaxError","TEMPORARY","TEXTPATH_METHODTYPE_ALIGN","TEXTPATH_METHODTYPE_STRETCH","TEXTPATH_METHODTYPE_UNKNOWN","TEXTPATH_SPACINGTYPE_AUTO","TEXTPATH_SPACINGTYPE_EXACT","TEXTPATH_SPACINGTYPE_UNKNOWN","TEXTURE","TEXTURE0","TEXTURE1","TEXTURE10","TEXTURE11","TEXTURE12","TEXTURE13","TEXTURE14","TEXTURE15","TEXTURE16","TEXTURE17","TEXTURE18","TEXTURE19","TEXTURE2","TEXTURE20","TEXTURE21","TEXTURE22","TEXTURE23","TEXTURE24","TEXTURE25","TEXTURE26","TEXTURE27","TEXTURE28","TEXTURE29","TEXTURE3","TEXTURE30","TEXTURE31","TEXTURE4","TEXTURE5","TEXTURE6","TEXTURE7","TEXTURE8","TEXTURE9","TEXTURE_2D","TEXTURE_2D_ARRAY","TEXTURE_3D","TEXTURE_BASE_LEVEL","TEXTURE_BINDING","TEXTURE_BINDING_2D","TEXTURE_BINDING_2D_ARRAY","TEXTURE_BINDING_3D","TEXTURE_BINDING_CUBE_MAP","TEXTURE_COMPARE_FUNC","TEXTURE_COMPARE_MODE","TEXTURE_CUBE_MAP","TEXTURE_CUBE_MAP_NEGATIVE_X","TEXTURE_CUBE_MAP_NEGATIVE_Y","TEXTURE_CUBE_MAP_NEGATIVE_Z","TEXTURE_CUBE_MAP_POSITIVE_X","TEXTURE_CUBE_MAP_POSITIVE_Y","TEXTURE_CUBE_MAP_POSITIVE_Z","TEXTURE_IMMUTABLE_FORMAT","TEXTURE_IMMUTABLE_LEVELS","TEXTURE_MAG_FILTER","TEXTURE_MAX_ANISOTROPY_EXT","TEXTURE_MAX_LEVEL","TEXTURE_MAX_LOD","TEXTURE_MIN_FILTER","TEXTURE_MIN_LOD","TEXTURE_WRAP_R","TEXTURE_WRAP_S","TEXTURE_WRAP_T","TEXT_NODE","TIMEOUT","TIMEOUT_ERR","TIMEOUT_EXPIRED","TIMEOUT_IGNORED","TOO_LARGE_ERR","TRANSACTION_INACTIVE_ERR","TRANSFORM_FEEDBACK","TRANSFORM_FEEDBACK_ACTIVE","TRANSFORM_FEEDBACK_BINDING","TRANSFORM_FEEDBACK_BUFFER","TRANSFORM_FEEDBACK_BUFFER_BINDING","TRANSFORM_FEEDBACK_BUFFER_MODE","TRANSFORM_FEEDBACK_BUFFER_SIZE","TRANSFORM_FEEDBACK_BUFFER_START","TRANSFORM_FEEDBACK_PAUSED","TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN","TRANSFORM_FEEDBACK_VARYINGS","TRIANGLE","TRIANGLES","TRIANGLE_FAN","TRIANGLE_STRIP","TYPE_BACK_FORWARD","TYPE_ERR","TYPE_MISMATCH_ERR","TYPE_NAVIGATE","TYPE_RELOAD","TYPE_RESERVED","Table","Tag","TaskAttributionTiming","TaskController","TaskPriorityChangeEvent","TaskSignal","Text","TextDecoder","TextDecoderStream","TextEncoder","TextEncoderStream","TextEvent","TextFormat","TextFormatUpdateEvent","TextMetrics","TextTrack","TextTrackCue","TextTrackCueList","TextTrackList","TextUpdateEvent","TimeEvent","TimeRanges","ToggleEvent","Touch","TouchEvent","TouchList","TrackEvent","TransformStream","TransformStreamDefaultController","TransitionEvent","TreeWalker","TrustedHTML","TrustedScript","TrustedScriptURL","TrustedTypePolicy","TrustedTypePolicyFactory","TypeError","TypedObject","U2F","UIEvent","UNCACHED","UNIFORM","UNIFORM_ARRAY_STRIDE","UNIFORM_BLOCK_ACTIVE_UNIFORMS","UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES","UNIFORM_BLOCK_BINDING","UNIFORM_BLOCK_DATA_SIZE","UNIFORM_BLOCK_INDEX","UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER","UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER","UNIFORM_BUFFER","UNIFORM_BUFFER_BINDING","UNIFORM_BUFFER_OFFSET_ALIGNMENT","UNIFORM_BUFFER_SIZE","UNIFORM_BUFFER_START","UNIFORM_IS_ROW_MAJOR","UNIFORM_MATRIX_STRIDE","UNIFORM_OFFSET","UNIFORM_SIZE","UNIFORM_TYPE","UNKNOWN_ERR","UNKNOWN_RULE","UNMASKED_RENDERER_WEBGL","UNMASKED_VENDOR_WEBGL","UNORDERED_NODE_ITERATOR_TYPE","UNORDERED_NODE_SNAPSHOT_TYPE","UNPACK_ALIGNMENT","UNPACK_COLORSPACE_CONVERSION_WEBGL","UNPACK_FLIP_Y_WEBGL","UNPACK_IMAGE_HEIGHT","UNPACK_PREMULTIPLY_ALPHA_WEBGL","UNPACK_ROW_LENGTH","UNPACK_SKIP_IMAGES","UNPACK_SKIP_PIXELS","UNPACK_SKIP_ROWS","UNSCHEDULED_STATE","UNSENT","UNSIGNALED","UNSIGNED_BYTE","UNSIGNED_INT","UNSIGNED_INT_10F_11F_11F_REV","UNSIGNED_INT_24_8","UNSIGNED_INT_2_10_10_10_REV","UNSIGNED_INT_5_9_9_9_REV","UNSIGNED_INT_SAMPLER_2D","UNSIGNED_INT_SAMPLER_2D_ARRAY","UNSIGNED_INT_SAMPLER_3D","UNSIGNED_INT_SAMPLER_CUBE","UNSIGNED_INT_VEC2","UNSIGNED_INT_VEC3","UNSIGNED_INT_VEC4","UNSIGNED_NORMALIZED","UNSIGNED_SHORT","UNSIGNED_SHORT_4_4_4_4","UNSIGNED_SHORT_5_5_5_1","UNSIGNED_SHORT_5_6_5","UNSPECIFIED_EVENT_TYPE_ERR","UPDATEREADY","URIError","URL","URLPattern","URLSearchParams","URLUnencoded","URL_MISMATCH_ERR","USB","USBAlternateInterface","USBConfiguration","USBConnectionEvent","USBDevice","USBEndpoint","USBInTransferResult","USBInterface","USBIsochronousInTransferPacket","USBIsochronousInTransferResult","USBIsochronousOutTransferPacket","USBIsochronousOutTransferResult","USBOutTransferResult","UTC","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray","UserActivation","UserMessageHandler","UserMessageHandlersNamespace","UserProximityEvent","VALIDATE_STATUS","VALIDATION_ERR","VARIABLES_RULE","VENDOR","VERSION","VERSION_CHANGE","VERSION_ERR","VERTEX","VERTEX_ARRAY_BINDING","VERTEX_ATTRIB_ARRAY_BUFFER_BINDING","VERTEX_ATTRIB_ARRAY_DIVISOR","VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE","VERTEX_ATTRIB_ARRAY_ENABLED","VERTEX_ATTRIB_ARRAY_INTEGER","VERTEX_ATTRIB_ARRAY_NORMALIZED","VERTEX_ATTRIB_ARRAY_POINTER","VERTEX_ATTRIB_ARRAY_SIZE","VERTEX_ATTRIB_ARRAY_STRIDE","VERTEX_ATTRIB_ARRAY_TYPE","VERTEX_SHADER","VERTICAL","VERTICAL_AXIS","VER_ERR","VIEWPORT","VIEWPORT_RULE","VRDisplay","VRDisplayCapabilities","VRDisplayEvent","VREyeParameters","VRFieldOfView","VRFrameData","VRPose","VRStageParameters","VTTCue","VTTRegion","ValidityState","VideoColorSpace","VideoDecoder","VideoEncoder","VideoFrame","VideoPlaybackQuality","VideoStreamTrack","ViewTimeline","ViewTransition","VirtualKeyboard","VirtualKeyboardGeometryChangeEvent","VisibilityStateEntry","VisualViewport","WAIT_FAILED","WEBKIT_FILTER_RULE","WEBKIT_KEYFRAMES_RULE","WEBKIT_KEYFRAME_RULE","WEBKIT_REGION_RULE","WGSLLanguageFeatures","WRITE","WRONG_DOCUMENT_ERR","WakeLock","WakeLockSentinel","WasmAnyRef","WaveShaperNode","WeakMap","WeakRef","WeakSet","WebAssembly","WebGL2RenderingContext","WebGLActiveInfo","WebGLBuffer","WebGLContextEvent","WebGLFramebuffer","WebGLProgram","WebGLQuery","WebGLRenderbuffer","WebGLRenderingContext","WebGLSampler","WebGLShader","WebGLShaderPrecisionFormat","WebGLSync","WebGLTexture","WebGLTransformFeedback","WebGLUniformLocation","WebGLVertexArray","WebGLVertexArrayObject","WebKitAnimationEvent","WebKitBlobBuilder","WebKitCSSFilterRule","WebKitCSSFilterValue","WebKitCSSKeyframeRule","WebKitCSSKeyframesRule","WebKitCSSMatrix","WebKitCSSRegionRule","WebKitCSSTransformValue","WebKitDataCue","WebKitGamepad","WebKitMediaKeyError","WebKitMediaKeyMessageEvent","WebKitMediaKeySession","WebKitMediaKeys","WebKitMediaSource","WebKitMutationObserver","WebKitNamespace","WebKitPlaybackTargetAvailabilityEvent","WebKitPoint","WebKitShadowRoot","WebKitSourceBuffer","WebKitSourceBufferList","WebKitTransitionEvent","WebSocket","WebSocketError","WebSocketStream","WebTransport","WebTransportBidirectionalStream","WebTransportDatagramDuplexStream","WebTransportError","WebTransportReceiveStream","WebTransportSendStream","WebkitAlignContent","WebkitAlignItems","WebkitAlignSelf","WebkitAnimation","WebkitAnimationDelay","WebkitAnimationDirection","WebkitAnimationDuration","WebkitAnimationFillMode","WebkitAnimationIterationCount","WebkitAnimationName","WebkitAnimationPlayState","WebkitAnimationTimingFunction","WebkitAppearance","WebkitBackfaceVisibility","WebkitBackgroundClip","WebkitBackgroundOrigin","WebkitBackgroundSize","WebkitBorderBottomLeftRadius","WebkitBorderBottomRightRadius","WebkitBorderImage","WebkitBorderRadius","WebkitBorderTopLeftRadius","WebkitBorderTopRightRadius","WebkitBoxAlign","WebkitBoxDirection","WebkitBoxFlex","WebkitBoxOrdinalGroup","WebkitBoxOrient","WebkitBoxPack","WebkitBoxShadow","WebkitBoxSizing","WebkitClipPath","WebkitFilter","WebkitFlex","WebkitFlexBasis","WebkitFlexDirection","WebkitFlexFlow","WebkitFlexGrow","WebkitFlexShrink","WebkitFlexWrap","WebkitJustifyContent","WebkitLineClamp","WebkitMask","WebkitMaskClip","WebkitMaskComposite","WebkitMaskImage","WebkitMaskOrigin","WebkitMaskPosition","WebkitMaskPositionX","WebkitMaskPositionY","WebkitMaskRepeat","WebkitMaskSize","WebkitOrder","WebkitPerspective","WebkitPerspectiveOrigin","WebkitTextFillColor","WebkitTextSecurity","WebkitTextSizeAdjust","WebkitTextStroke","WebkitTextStrokeColor","WebkitTextStrokeWidth","WebkitTransform","WebkitTransformOrigin","WebkitTransformStyle","WebkitTransition","WebkitTransitionDelay","WebkitTransitionDuration","WebkitTransitionProperty","WebkitTransitionTimingFunction","WebkitUserSelect","WheelEvent","Window","WindowControlsOverlay","WindowControlsOverlayGeometryChangeEvent","Worker","Worklet","WritableStream","WritableStreamDefaultController","WritableStreamDefaultWriter","XMLDocument","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestException","XMLHttpRequestProgressEvent","XMLHttpRequestUpload","XMLSerializer","XMLStylesheetProcessingInstruction","XPathEvaluator","XPathException","XPathExpression","XPathNSResolver","XPathResult","XRAnchor","XRAnchorSet","XRBoundedReferenceSpace","XRCPUDepthInformation","XRCamera","XRDOMOverlayState","XRDepthInformation","XRFrame","XRHitTestResult","XRHitTestSource","XRInputSource","XRInputSourceArray","XRInputSourceEvent","XRInputSourcesChangeEvent","XRLayer","XRLightEstimate","XRLightProbe","XRPose","XRRay","XRReferenceSpace","XRReferenceSpaceEvent","XRRenderState","XRRigidTransform","XRSession","XRSessionEvent","XRSpace","XRSystem","XRTransientInputHitTestResult","XRTransientInputHitTestSource","XRView","XRViewerPose","XRViewport","XRWebGLBinding","XRWebGLDepthInformation","XRWebGLLayer","XSLTProcessor","ZERO","_XD0M_","_YD0M_","__REACT_DEVTOOLS_GLOBAL_HOOK__","__brand","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__","__opera","__proto__","_browserjsran","a","aLink","abbr","abort","aborted","abs","absolute","acceleration","accelerationIncludingGravity","accelerator","accent-color","accentColor","accept","acceptCharset","acceptNode","access","accessKey","accessKeyLabel","accuracy","acos","acosh","action","actionURL","actions","activated","activation","activationStart","active","activeCues","activeElement","activeSourceBuffers","activeSourceCount","activeTexture","activeVRDisplays","actualBoundingBoxAscent","actualBoundingBoxDescent","actualBoundingBoxLeft","actualBoundingBoxRight","adAuctionComponents","adAuctionHeaders","add","addAll","addBehavior","addCandidate","addColorStop","addCue","addElement","addEventListener","addFilter","addFromString","addFromUri","addIceCandidate","addImport","addListener","addModule","addNamed","addPageRule","addPath","addPointer","addRange","addRegion","addRule","addSearchEngine","addSourceBuffer","addStream","addTextTrack","addTrack","addTransceiver","addWakeLockListener","added","addedNodes","additionalName","additiveSymbols","addons","address","addressLine","addressModeU","addressModeV","addressModeW","adoptNode","adoptedCallback","adoptedStyleSheets","adr","advance","after","album","alert","algorithm","align","align-content","align-items","align-self","alignContent","alignItems","alignSelf","alignmentBaseline","alinkColor","all","allSettled","allocationSize","allow","allowFullscreen","allowPaymentRequest","allowedDirections","allowedFeatures","allowedToPlay","allowsFeature","alpha","alphaMode","alphaToCoverageEnabled","alphabeticBaseline","alt","altGraphKey","altHtml","altKey","altLeft","alternate","alternateSetting","alternates","altitude","altitudeAccuracy","altitudeAngle","amplitude","ancestorOrigins","anchor","anchorNode","anchorOffset","anchorSpace","anchors","and","angle","angularAcceleration","angularVelocity","animVal","animate","animated","animatedInstanceRoot","animatedNormalizedPathSegList","animatedPathSegList","animatedPoints","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","animationComposition","animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationStartTime","animationTimingFunction","animationsPaused","anniversary","antialias","anticipatedRemoval","any","app","appCodeName","appMinorVersion","appName","appNotifications","appVersion","appearance","append","appendBuffer","appendChild","appendData","appendItem","appendMedium","appendNamed","appendRule","appendStream","appendWindowEnd","appendWindowStart","applets","applicationCache","applicationServerKey","apply","applyConstraints","applyElement","arc","arcTo","architecture","archive","areas","arguments","ariaAtomic","ariaAutoComplete","ariaBrailleLabel","ariaBrailleRoleDescription","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColIndexText","ariaColSpan","ariaCurrent","ariaDescription","ariaDisabled","ariaExpanded","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRelevant","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowIndexText","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","arrayBuffer","arrayLayerCount","arrayStride","artist","artwork","as","asIntN","asUintN","ascentOverride","asin","asinh","aspect","aspect-ratio","aspectRatio","assert","assign","assignedElements","assignedNodes","assignedSlot","async","asyncIterator","at","atEnd","atan","atan2","atanh","atob","attachEvent","attachInternals","attachShader","attachShadow","attachedElements","attachments","attack","attestationObject","attrChange","attrName","attributeChangedCallback","attributeFilter","attributeName","attributeNamespace","attributeOldValue","attributeStyleMap","attributes","attribution","attributionSrc","audioBitrateMode","audioBitsPerSecond","audioTracks","audioWorklet","authenticatedSignedWrites","authenticatorAttachment","authenticatorData","autoIncrement","autobuffer","autocapitalize","autocomplete","autocorrect","autofocus","automationRate","autoplay","availHeight","availLeft","availTop","availWidth","availability","available","aversion","ax","axes","axis","ay","azimuth","azimuthAngle","b","back","backdrop-filter","backdropFilter","backends","backface-visibility","backfaceVisibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","backgroundAttachment","backgroundBlendMode","backgroundClip","backgroundColor","backgroundFetch","backgroundImage","backgroundOrigin","backgroundPosition","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize","badInput","badge","balance","baseArrayLayer","baseFrequencyX","baseFrequencyY","baseLatency","baseLayer","baseMipLevel","baseNode","baseOffset","basePalette","baseURI","baseVal","baseline-source","baselineShift","baselineSource","battery","bday","before","beginComputePass","beginElement","beginElementAt","beginOcclusionQuery","beginPath","beginQuery","beginRenderPass","beginTransformFeedback","beginningOfPassWriteIndex","behavior","behaviorCookie","behaviorPart","behaviorUrns","beta","bezierCurveTo","bgColor","bgProperties","bias","big","bigint64","biguint64","binaryType","bind","bindAttribLocation","bindBuffer","bindBufferBase","bindBufferRange","bindFramebuffer","bindGroupLayouts","bindRenderbuffer","bindSampler","bindTexture","bindTransformFeedback","bindVertexArray","binding","bitness","blend","blendColor","blendEquation","blendEquationSeparate","blendFunc","blendFuncSeparate","blink","blitFramebuffer","blob","block-size","blockDirection","blockSize","blockedURI","blocking","blockingDuration","blue","bluetooth","blur","body","bodyUsed","bold","bookmarks","booleanValue","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","borderBlock","borderBlockColor","borderBlockEnd","borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth","borderBlockStart","borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth","borderBlockStyle","borderBlockWidth","borderBottom","borderBottomColor","borderBottomLeftRadius","borderBottomRightRadius","borderBottomStyle","borderBottomWidth","borderBoxSize","borderCollapse","borderColor","borderColorDark","borderColorLight","borderEndEndRadius","borderEndStartRadius","borderImage","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderInline","borderInlineColor","borderInlineEnd","borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth","borderInlineStart","borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth","borderInlineStyle","borderInlineWidth","borderLeft","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRadius","borderRight","borderRightColor","borderRightStyle","borderRightWidth","borderSpacing","borderStartEndRadius","borderStartStartRadius","borderStyle","borderTop","borderTopColor","borderTopLeftRadius","borderTopRightRadius","borderTopStyle","borderTopWidth","borderWidth","bottom","bottomMargin","bound","boundElements","boundingClientRect","boundingHeight","boundingLeft","boundingRect","boundingTop","boundingWidth","bounds","boundsGeometry","box-decoration-break","box-shadow","box-sizing","boxDecorationBreak","boxShadow","boxSizing","brand","brands","break-after","break-before","break-inside","breakAfter","breakBefore","breakInside","broadcast","browserLanguage","browsingTopics","btoa","bubbles","buffer","bufferData","bufferDepth","bufferSize","bufferSubData","buffered","bufferedAmount","bufferedAmountLowThreshold","buffers","buildID","buildNumber","button","buttonID","buttons","byobRequest","byteLength","byteOffset","bytesPerRow","bytesWritten","c","cache","caches","call","caller","camera","canBeFormatted","canBeMounted","canBeShared","canConstructInDedicatedWorker","canGoBack","canGoForward","canHaveChildren","canHaveHTML","canInsertDTMF","canIntercept","canLoadAdAuctionFencedFrame","canLoadOpaqueURL","canMakePayment","canParse","canPlayType","canPresent","canShare","canTransition","canTrickleIceCandidates","cancel","cancelAndHoldAtTime","cancelAnimationFrame","cancelBubble","cancelIdleCallback","cancelScheduledValues","cancelVideoFrameCallback","cancelWatchAvailability","cancelable","candidate","canonicalUUID","canvas","cap","capabilities","caption","caption-side","captionSide","capture","captureEvents","captureStackTrace","captureStream","caret-color","caretBidiLevel","caretColor","caretPositionFromPoint","caretRangeFromPoint","cast","catch","category","cbrt","cd","ceil","cellIndex","cellPadding","cellSpacing","cells","ch","chOff","chain","challenge","changeType","changed","changedTouches","channel","channelCount","channelCountMode","channelInterpretation","char","charAt","charCode","charCodeAt","charIndex","charLength","characterBounds","characterBoundsRangeStart","characterData","characterDataOldValue","characterSet","characteristic","charging","chargingTime","charset","check","checkDCE","checkEnclosure","checkFramebufferStatus","checkIntersection","checkValidity","checkVisibility","checked","childElementCount","childList","childNodes","children","chrome","ciphertext","cite","city","claimInterface","claimed","classList","className","classid","clear","clearAppBadge","clearAttributes","clearBuffer","clearBufferfi","clearBufferfv","clearBufferiv","clearBufferuiv","clearColor","clearData","clearDepth","clearHalt","clearImmediate","clearInterval","clearLiveSeekableRange","clearMarks","clearMaxGCPauseAccumulator","clearMeasures","clearOriginJoinedAdInterestGroups","clearParameters","clearRect","clearResourceTimings","clearShadow","clearStencil","clearTimeout","clearValue","clearWatch","click","clickCount","clientDataJSON","clientHeight","clientInformation","clientLeft","clientRect","clientRects","clientTop","clientWaitSync","clientWidth","clientX","clientY","clip","clip-path","clip-rule","clipBottom","clipLeft","clipPath","clipPathUnits","clipRight","clipRule","clipTop","clipboard","clipboardData","clonable","clone","cloneContents","cloneNode","cloneRange","close","closeCode","closePath","closed","closest","clz","clz32","cm","cmp","code","codeBase","codePointAt","codeType","codedHeight","codedRect","codedWidth","colSpan","collapse","collapseToEnd","collapseToStart","collapsed","collect","collections","colno","color","color-adjust","color-interpolation","color-interpolation-filters","color-scheme","colorAdjust","colorAttachments","colorDepth","colorFormats","colorInterpolation","colorInterpolationFilters","colorMask","colorScheme","colorSpace","colorType","cols","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columnCount","columnFill","columnGap","columnNumber","columnRule","columnRuleColor","columnRuleStyle","columnRuleWidth","columnSpan","columnWidth","columns","command","commit","commitPreferences","commitStyles","commonAncestorContainer","compact","compare","compareBoundaryPoints","compareDocumentPosition","compareEndPoints","compareExchange","compareNode","comparePoint","compatMode","compatible","compile","compileShader","compileStreaming","complete","completed","component","componentFromPoint","composed","composedPath","composite","compositionEndOffset","compositionStartOffset","compressedTexImage2D","compressedTexImage3D","compressedTexSubImage2D","compressedTexSubImage3D","compute","computedStyleMap","concat","conditionText","coneInnerAngle","coneOuterAngle","coneOuterGain","config","configurable","configuration","configurationName","configurationValue","configurations","configure","confirm","confirmComposition","confirmSiteSpecificTrackingException","confirmWebWideTrackingException","congestionControl","connect","connectEnd","connectShark","connectStart","connected","connectedCallback","connection","connectionList","connectionSpeed","connectionState","connections","console","consolidate","constants","constraint","constrictionActive","construct","constructor","contactID","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","containIntrinsicBlockSize","containIntrinsicHeight","containIntrinsicInlineSize","containIntrinsicSize","containIntrinsicWidth","container","container-name","container-type","containerId","containerName","containerQuery","containerSrc","containerType","contains","containsNode","content","content-visibility","contentBoxSize","contentDocument","contentEditable","contentHint","contentOverflow","contentRect","contentScriptType","contentStyleType","contentType","contentVisibility","contentWindow","context","contextMenu","contextmenu","continue","continuePrimaryKey","continuous","control","controlTransferIn","controlTransferOut","controller","controls","controlsList","convertPointFromNode","convertQuadFromNode","convertRectFromNode","convertToBlob","convertToSpecifiedUnits","cookie","cookieEnabled","cookieStore","cookies","coords","copyBufferSubData","copyBufferToBuffer","copyBufferToTexture","copyExternalImageToTexture","copyFromChannel","copyTexImage2D","copyTexSubImage2D","copyTexSubImage3D","copyTextureToBuffer","copyTextureToTexture","copyTo","copyToChannel","copyWithin","correspondingElement","correspondingUseElement","corruptedVideoFrames","cos","cosh","count","countReset","counter-increment","counter-reset","counter-set","counterIncrement","counterReset","counterSet","country","cpuClass","cpuSleepAllowed","cqb","cqh","cqi","cqmax","cqmin","cqw","create","createAnalyser","createAnchor","createAnswer","createAttribute","createAttributeNS","createAuctionNonce","createBidirectionalStream","createBindGroup","createBindGroupLayout","createBiquadFilter","createBuffer","createBufferSource","createCDATASection","createCSSStyleSheet","createCaption","createChannelMerger","createChannelSplitter","createCommandEncoder","createComment","createComputePipeline","createComputePipelineAsync","createConicGradient","createConstantSource","createContextualFragment","createControlRange","createConvolver","createDTMFSender","createDataChannel","createDelay","createDelayNode","createDocument","createDocumentFragment","createDocumentType","createDynamicsCompressor","createElement","createElementNS","createEncodedStreams","createEntityReference","createEvent","createEventObject","createExpression","createFramebuffer","createFunction","createGain","createGainNode","createHTML","createHTMLDocument","createIIRFilter","createImageBitmap","createImageData","createIndex","createJavaScriptNode","createLinearGradient","createMediaElementSource","createMediaKeys","createMediaStreamDestination","createMediaStreamSource","createMediaStreamTrackSource","createMutableFile","createNSResolver","createNodeIterator","createNotification","createObjectStore","createObjectURL","createOffer","createOscillator","createPanner","createPattern","createPeriodicWave","createPipelineLayout","createPolicy","createPopup","createProcessingInstruction","createProgram","createQuery","createQuerySet","createRadialGradient","createRange","createRangeCollection","createReader","createRenderBundleEncoder","createRenderPipeline","createRenderPipelineAsync","createRenderbuffer","createSVGAngle","createSVGLength","createSVGMatrix","createSVGNumber","createSVGPathSegArcAbs","createSVGPathSegArcRel","createSVGPathSegClosePath","createSVGPathSegCurvetoCubicAbs","createSVGPathSegCurvetoCubicRel","createSVGPathSegCurvetoCubicSmoothAbs","createSVGPathSegCurvetoCubicSmoothRel","createSVGPathSegCurvetoQuadraticAbs","createSVGPathSegCurvetoQuadraticRel","createSVGPathSegCurvetoQuadraticSmoothAbs","createSVGPathSegCurvetoQuadraticSmoothRel","createSVGPathSegLinetoAbs","createSVGPathSegLinetoHorizontalAbs","createSVGPathSegLinetoHorizontalRel","createSVGPathSegLinetoRel","createSVGPathSegLinetoVerticalAbs","createSVGPathSegLinetoVerticalRel","createSVGPathSegMovetoAbs","createSVGPathSegMovetoRel","createSVGPoint","createSVGRect","createSVGTransform","createSVGTransformFromMatrix","createSampler","createScript","createScriptProcessor","createScriptURL","createSession","createShader","createShaderModule","createShadowRoot","createStereoPanner","createStyleSheet","createTBody","createTFoot","createTHead","createTask","createTextNode","createTextRange","createTexture","createTouch","createTouchList","createTransformFeedback","createTreeWalker","createUnidirectionalStream","createVertexArray","createView","createWaveShaper","createWritable","creationTime","credentialless","credentials","criticalCHRestart","cropTo","crossOrigin","crossOriginIsolated","crypto","csi","csp","cssFloat","cssRules","cssText","cssValueType","ctrlKey","ctrlLeft","cues","cullFace","cullMode","currentDirection","currentEntry","currentLocalDescription","currentNode","currentPage","currentRect","currentRemoteDescription","currentScale","currentScreen","currentScript","currentSrc","currentState","currentStyle","currentTarget","currentTime","currentTranslate","currentView","cursor","curve","customElements","customError","cx","cy","d","data","dataFld","dataFormatAs","dataLoss","dataLossMessage","dataPageSize","dataSrc","dataTransfer","database","databases","datagrams","dataset","dateTime","db","debug","debuggerEnabled","declare","decode","decodeAudioData","decodeQueueSize","decodeURI","decodeURIComponent","decodedBodySize","decoding","decodingInfo","decrypt","default","defaultCharset","defaultChecked","defaultMuted","defaultPlaybackRate","defaultPolicy","defaultPrevented","defaultQueue","defaultRequest","defaultSelected","defaultStatus","defaultURL","defaultValue","defaultView","defaultstatus","defer","define","defineMagicFunction","defineMagicVariable","defineProperties","defineProperty","deg","delay","delayTime","delegatesFocus","delete","deleteBuffer","deleteCaption","deleteCell","deleteContents","deleteData","deleteDatabase","deleteFramebuffer","deleteFromDocument","deleteIndex","deleteMedium","deleteObjectStore","deleteProgram","deleteProperty","deleteQuery","deleteRenderbuffer","deleteRow","deleteRule","deleteSampler","deleteShader","deleteSync","deleteTFoot","deleteTHead","deleteTexture","deleteTransformFeedback","deleteVertexArray","deleted","deliverChangeRecords","deliveredFrames","delivery","deliveryInfo","deliveryStatus","deliveryTimestamp","deliveryType","delta","deltaMode","deltaX","deltaY","deltaZ","dependentLocality","deprecatedReplaceInURN","deprecatedRunAdAuctionEnforcesKAnonymity","deprecatedURNToURL","depthBias","depthBiasClamp","depthBiasSlopeScale","depthClearValue","depthCompare","depthDataFormat","depthFailOp","depthFar","depthFunc","depthLoadOp","depthMask","depthNear","depthOrArrayLayers","depthRange","depthReadOnly","depthStencil","depthStencilAttachment","depthStencilFormat","depthStoreOp","depthUsage","depthWriteEnabled","deref","deriveBits","deriveKey","descentOverride","description","deselectAll","designMode","desiredSize","destination","destinationURL","destroy","detach","detachEvent","detachShader","detached","detail","details","detect","detune","device","deviceClass","deviceId","deviceMemory","devicePixelContentBoxSize","devicePixelRatio","deviceProtocol","deviceSubclass","deviceVersionMajor","deviceVersionMinor","deviceVersionSubminor","deviceXDPI","deviceYDPI","didTimeout","difference","diffuseConstant","digest","dimension","dimensions","dir","dirName","direction","dirxml","disable","disablePictureInPicture","disableRemotePlayback","disableVertexAttribArray","disabled","discardedFrames","dischargingTime","disconnect","disconnectShark","disconnectedCallback","dispatchEvent","dispatchWorkgroups","dispatchWorkgroupsIndirect","display","displayHeight","displayId","displayName","displayWidth","disposition","distanceModel","div","divisor","djsapi","djsproxy","doImport","doNotTrack","doScroll","doctype","document","documentElement","documentMode","documentPictureInPicture","documentURI","dolphin","dolphinGameCenter","dolphininfo","dolphinmeta","domComplete","domContentLoadedEventEnd","domContentLoadedEventStart","domInteractive","domLoading","domOverlayState","domain","domainLookupEnd","domainLookupStart","dominant-baseline","dominantBaseline","done","dopplerFactor","dotAll","downDegrees","downlink","download","downloadRequest","downloadTotal","downloaded","dpcm","dpi","dppx","dragDrop","draggable","draw","drawArrays","drawArraysInstanced","drawArraysInstancedANGLE","drawBuffers","drawCustomFocusRing","drawElements","drawElementsInstanced","drawElementsInstancedANGLE","drawFocusIfNeeded","drawImage","drawImageFromRect","drawIndexed","drawIndexedIndirect","drawIndirect","drawRangeElements","drawSystemFocusRing","drawingBufferColorSpace","drawingBufferFormat","drawingBufferHeight","drawingBufferStorage","drawingBufferWidth","drop","dropEffect","droppedVideoFrames","dropzone","dstFactor","dtmf","dump","dumpProfile","duplicate","durability","duration","dvb","dvh","dvi","dvmax","dvmin","dvname","dvnum","dvw","dx","dy","dynsrc","e","edgeMode","editContext","effect","effectAllowed","effectiveDirective","effectiveType","elapsedTime","element","elementFromPoint","elementTiming","elements","elementsFromPoint","elevation","ellipse","em","emHeightAscent","emHeightDescent","email","embeds","emit","emma","empty","empty-cells","emptyCells","emptyHTML","emptyScript","emulatedPosition","enable","enableBackground","enableDelegations","enableStyleSheetsForSet","enableVertexAttribArray","enabled","enabledFeatures","enabledPlugin","encode","encodeInto","encodeQueueSize","encodeURI","encodeURIComponent","encodedBodySize","encoding","encodingInfo","encrypt","enctype","end","endContainer","endElement","endElementAt","endOcclusionQuery","endOfPassWriteIndex","endOfStream","endOffset","endQuery","endTime","endTransformFeedback","ended","endpoint","endpointNumber","endpoints","endsWith","enqueue","enterKeyHint","entities","entries","entry","entryPoint","entryType","enumerable","enumerate","enumerateDevices","enumerateEditable","environmentBlendMode","equals","error","errorCode","errorDetail","errorText","escape","estimate","eval","evaluate","event","eventCounts","eventPhase","every","ex","exception","exchange","exec","execCommand","execCommandShowHelp","execScript","executeBundles","executionStart","exitFullscreen","exitPictureInPicture","exitPointerLock","exitPresent","exp","expand","expandEntityReferences","expando","expansion","expectedImprovement","expiration","expirationTime","expires","expiryDate","explicitOriginalTarget","expm1","exponent","exponentialRampToValueAtTime","exportKey","exports","extend","extensions","extentNode","extentOffset","external","externalResourcesRequired","externalTexture","extractContents","extractable","eye","f","face","factoryReset","failOp","failureReason","fallback","family","familyName","farthestViewportElement","fastSeek","fatal","featureId","featurePolicy","featureSettings","features","fence","fenceSync","fetch","fetchPriority","fetchStart","fftSize","fgColor","fieldOfView","file","fileCreatedDate","fileHandle","fileModifiedDate","fileName","fileSize","fileUpdatedDate","filename","files","filesystem","fill","fill-opacity","fill-rule","fillLightMode","fillOpacity","fillRect","fillRule","fillStyle","fillText","filter","filterResX","filterResY","filterUnits","filters","finally","find","findIndex","findLast","findLastIndex","findRule","findText","finish","finished","fireEvent","firesTouchEvents","firstChild","firstElementChild","firstInterimResponseStart","firstPage","firstUIEventTimestamp","fixed","flags","flat","flatMap","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","flexBasis","flexDirection","flexFlow","flexGrow","flexShrink","flexWrap","flipX","flipY","float","float32","float64","flood-color","flood-opacity","floodColor","floodOpacity","floor","flush","focus","focusNode","focusOffset","font","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","fontBoundingBoxAscent","fontBoundingBoxDescent","fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontOpticalSizing","fontPalette","fontSize","fontSizeAdjust","fontSmoothingEnabled","fontStretch","fontStyle","fontSynthesis","fontSynthesisPosition","fontSynthesisSmallCaps","fontSynthesisStyle","fontSynthesisWeight","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontVariationSettings","fontWeight","fontcolor","fontfaces","fonts","fontsize","for","forEach","force","forceFallbackAdapter","forceRedraw","forced-color-adjust","forcedColorAdjust","forcedStyleAndLayoutDuration","forget","form","formAction","formData","formEnctype","formMethod","formNoValidate","formTarget","format","formatToParts","forms","forward","forwardX","forwardY","forwardZ","foundation","fr","fragment","fragmentDirective","frame","frameBorder","frameCount","frameElement","frameSpacing","framebuffer","framebufferHeight","framebufferRenderbuffer","framebufferTexture2D","framebufferTextureLayer","framebufferWidth","frames","freeSpace","freeze","frequency","frequencyBinCount","from","fromAsync","fromCharCode","fromCodePoint","fromElement","fromEntries","fromFloat32Array","fromFloat64Array","fromMatrix","fromPoint","fromQuad","fromRect","frontFace","fround","fullName","fullPath","fullRange","fullScreen","fullVersionList","fullscreen","fullscreenElement","fullscreenEnabled","fx","fy","g","gain","gamepad","gamma","gap","gatheringState","gatt","genderIdentity","generateCertificate","generateKey","generateMipmap","generateRequest","geolocation","gestureObject","get","getActiveAttrib","getActiveUniform","getActiveUniformBlockName","getActiveUniformBlockParameter","getActiveUniforms","getAdjacentText","getAll","getAllKeys","getAllResponseHeaders","getAllowlistForFeature","getAnimations","getAsFile","getAsFileSystemHandle","getAsString","getAttachedShaders","getAttribLocation","getAttribute","getAttributeNS","getAttributeNames","getAttributeNode","getAttributeNodeNS","getAttributeType","getAudioTracks","getAuthenticatorData","getAutoplayPolicy","getAvailability","getBBox","getBattery","getBigInt64","getBigUint64","getBindGroupLayout","getBlob","getBookmark","getBoundingClientRect","getBounds","getBoxQuads","getBufferParameter","getBufferSubData","getByteFrequencyData","getByteTimeDomainData","getCSSCanvasContext","getCTM","getCameraImage","getCandidateWindowClientRect","getCanonicalLocales","getCapabilities","getCaptureHandle","getChannelData","getCharNumAtPosition","getCharacteristic","getCharacteristics","getClientExtensionResults","getClientRect","getClientRects","getCoalescedEvents","getCompilationInfo","getCompositionAlternatives","getComputedStyle","getComputedTextLength","getComputedTiming","getConfiguration","getConstraints","getContext","getContextAttributes","getContributingSources","getCounterValue","getCueAsHTML","getCueById","getCurrentPosition","getCurrentTexture","getCurrentTime","getData","getDatabaseNames","getDate","getDay","getDefaultComputedStyle","getDepthInMeters","getDepthInformation","getDescriptor","getDescriptors","getDestinationInsertionPoints","getDevices","getDirectory","getDirectoryHandle","getDisplayMedia","getDistributedNodes","getEditable","getElementById","getElementsByClassName","getElementsByName","getElementsByTagName","getElementsByTagNameNS","getEnclosureList","getEndPositionOfChar","getEntries","getEntriesByName","getEntriesByType","getError","getExtension","getExtentOfChar","getEyeParameters","getFeature","getFiberRoots","getFile","getFileHandle","getFiles","getFilesAndDirectories","getFingerprints","getFloat32","getFloat64","getFloatFrequencyData","getFloatTimeDomainData","getFloatValue","getFragDataLocation","getFrameData","getFramebufferAttachmentParameter","getFrequencyResponse","getFullYear","getGamepads","getHeaderExtensionsToNegotiate","getHighEntropyValues","getHitTestResults","getHitTestResultsForTransientInput","getHours","getIdentityAssertion","getIds","getImageData","getIndexedParameter","getInfo","getInnerHTML","getInstalledRelatedApps","getInt16","getInt32","getInt8","getInternalModuleRanges","getInternalformatParameter","getIntersectionList","getItem","getItems","getKey","getKeyframes","getLayers","getLayoutMap","getLightEstimate","getLineDash","getLocalCandidates","getLocalParameters","getLocalStreams","getManagedConfiguration","getMappedRange","getMarks","getMatchedCSSRules","getMaxGCPauseSinceClear","getMeasures","getMetadata","getMilliseconds","getMinutes","getModifierState","getMonth","getName","getNamedItem","getNamedItemNS","getNativeFramebufferScaleFactor","getNegotiatedHeaderExtensions","getNestedConfigs","getNotifications","getNotifier","getNumberOfChars","getOffsetReferenceSpace","getOutputTimestamp","getOverrideHistoryNavigationMode","getOverrideStyle","getOwnPropertyDescriptor","getOwnPropertyDescriptors","getOwnPropertyNames","getOwnPropertySymbols","getParameter","getParameters","getParent","getPathSegAtLength","getPhotoCapabilities","getPhotoSettings","getPointAtLength","getPorts","getPose","getPredictedEvents","getPreference","getPreferenceDefault","getPreferredCanvasFormat","getPresentationAttribute","getPreventDefault","getPrimaryService","getPrimaryServices","getProgramInfoLog","getProgramParameter","getPropertyCSSValue","getPropertyPriority","getPropertyShorthand","getPropertyType","getPropertyValue","getPrototypeOf","getPublicKey","getPublicKeyAlgorithm","getQuery","getQueryParameter","getRGBColorValue","getRandomValues","getRangeAt","getReader","getReceivers","getRectValue","getReflectionCubeMap","getRegistration","getRegistrations","getRemoteCandidates","getRemoteCertificates","getRemoteParameters","getRemoteStreams","getRenderbufferParameter","getResponseHeader","getRoot","getRootNode","getRotationOfChar","getSVGDocument","getSamplerParameter","getScreenCTM","getScreenDetails","getSeconds","getSelectedCandidatePair","getSelection","getSenders","getService","getSetCookie","getSettings","getShaderInfoLog","getShaderParameter","getShaderPrecisionFormat","getShaderSource","getSignals","getSimpleDuration","getSiteIcons","getSources","getSpeculativeParserUrls","getStartPositionOfChar","getStartTime","getState","getStats","getStatusForPolicy","getStorageUpdates","getStreamById","getStringValue","getSubStringLength","getSubscription","getSubscriptions","getSupportedConstraints","getSupportedExtensions","getSupportedFormats","getSyncParameter","getSynchronizationSources","getTags","getTargetRanges","getTexParameter","getTextFormats","getTime","getTimezoneOffset","getTiming","getTitlebarAreaRect","getTotalLength","getTrackById","getTracks","getTransceivers","getTransform","getTransformFeedbackVarying","getTransformToElement","getTransports","getType","getTypeMapping","getUTCDate","getUTCDay","getUTCFullYear","getUTCHours","getUTCMilliseconds","getUTCMinutes","getUTCMonth","getUTCSeconds","getUint16","getUint32","getUint8","getUniform","getUniformBlockIndex","getUniformIndices","getUniformLocation","getUserInfo","getUserMedia","getVRDisplays","getValues","getVarDate","getVariableValue","getVertexAttrib","getVertexAttribOffset","getVideoPlaybackQuality","getVideoTracks","getViewerPose","getViewport","getVoices","getWakeLockState","getWriter","getYear","givenName","global","globalAlpha","globalCompositeOperation","globalPrivacyControl","globalThis","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","go","gpu","grabFrame","grad","gradientTransform","gradientUnits","grammars","green","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","gridArea","gridAutoColumns","gridAutoFlow","gridAutoRows","gridColumn","gridColumnEnd","gridColumnGap","gridColumnStart","gridGap","gridRow","gridRowEnd","gridRowGap","gridRowStart","gridTemplate","gridTemplateAreas","gridTemplateColumns","gridTemplateRows","gripSpace","group","groupBy","groupCollapsed","groupEnd","groupId","groups","hadRecentInput","hand","handedness","hangingBaseline","hapticActuators","hardwareConcurrency","has","hasAttribute","hasAttributeNS","hasAttributes","hasBeenActive","hasChildNodes","hasComposition","hasDynamicOffset","hasEnrolledInstrument","hasExtension","hasExternalDisplay","hasFeature","hasFocus","hasIndices","hasInstance","hasLayout","hasOrientation","hasOwn","hasOwnProperty","hasPointerCapture","hasPosition","hasPrivateToken","hasReading","hasRedemptionRecord","hasRegExpGroups","hasStorageAccess","hasUAVisualTransition","hash","hashChange","head","headers","heading","height","hid","hidden","hide","hideFocus","hidePopover","high","highWaterMark","highlights","hint","hints","history","honorificPrefix","honorificSuffix","horizontalOverflow","host","hostCandidate","hostname","href","hrefTranslate","hreflang","hspace","html5TagCheckInerface","htmlFor","htmlText","httpEquiv","httpRequestStatusCode","hwTimestamp","hyphenate-character","hyphenateCharacter","hyphens","hypot","ic","iccId","iceConnectionState","iceGatheringState","iceTransport","icon","iconURL","id","identifier","identity","ideographicBaseline","idpLoginUrl","ignoreBOM","ignoreCase","ignoreDepthValues","image","image-orientation","image-rendering","imageHeight","imageOrientation","imageRendering","imageSizes","imageSmoothingEnabled","imageSmoothingQuality","imageSrcset","imageWidth","images","ime-mode","imeMode","implementation","importExternalTexture","importKey","importNode","importStylesheet","imports","impp","imul","in","in1","in2","inBandMetadataTrackDispatchType","inRange","includes","incomingBidirectionalStreams","incomingHighWaterMark","incomingMaxAge","incomingUnidirectionalStreams","incremental","indeterminate","index","indexNames","indexOf","indexedDB","indicate","indices","inert","inertiaDestinationX","inertiaDestinationY","info","inherits","init","initAnimationEvent","initBeforeLoadEvent","initClipboardEvent","initCloseEvent","initCommandEvent","initCompositionEvent","initCustomEvent","initData","initDataType","initDeviceMotionEvent","initDeviceOrientationEvent","initDragEvent","initErrorEvent","initEvent","initFocusEvent","initGestureEvent","initHashChangeEvent","initKeyEvent","initKeyboardEvent","initMSManipulationEvent","initMessageEvent","initMouseEvent","initMouseScrollEvent","initMouseWheelEvent","initMutationEvent","initNSMouseEvent","initOverflowEvent","initPageEvent","initPageTransitionEvent","initPointerEvent","initPopStateEvent","initProgressEvent","initScrollAreaEvent","initSimpleGestureEvent","initStorageEvent","initTextEvent","initTimeEvent","initTouchEvent","initTransitionEvent","initUIEvent","initWebKitAnimationEvent","initWebKitTransitionEvent","initWebKitWheelEvent","initWheelEvent","initialTime","initialValue","initialize","initiatorType","inject","ink","inline-size","inlineSize","inlineVerticalFieldOfView","inner","innerHTML","innerHeight","innerText","innerWidth","input","inputBuffer","inputEncoding","inputMethod","inputMode","inputSource","inputSources","inputType","inputs","insertAdjacentElement","insertAdjacentHTML","insertAdjacentText","insertBefore","insertCell","insertDTMF","insertData","insertDebugMarker","insertItemBefore","insertNode","insertRow","insertRule","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","insetBlock","insetBlockEnd","insetBlockStart","insetInline","insetInlineEnd","insetInlineStart","installing","instanceRoot","instantiate","instantiateStreaming","instruments","int16","int32","int8","integrity","interactionId","interactionMode","intercept","interfaceClass","interfaceName","interfaceNumber","interfaceProtocol","interfaceSubclass","interfaces","interimResults","internalSubset","interpretation","intersection","intersectionRatio","intersectionRect","intersectsNode","interval","invalidIteratorState","invalidateFramebuffer","invalidateSubFramebuffer","inverse","invertSelf","invoker","invokerType","is","is2D","isActive","isAlternate","isArray","isAutoSelected","isBingCurrentSearchDefault","isBuffer","isCandidateWindowVisible","isChar","isCollapsed","isComposing","isConcatSpreadable","isConditionalMediationAvailable","isConfigSupported","isConnected","isContentEditable","isContentHandlerRegistered","isContextLost","isDefaultNamespace","isDirectory","isDisabled","isDisjointFrom","isEnabled","isEqual","isEqualNode","isExtended","isExtensible","isExternalCTAP2SecurityKeySupported","isFallbackAdapter","isFile","isFinite","isFirstPersonObserver","isFramebuffer","isFrozen","isGenerator","isHTML","isHistoryNavigation","isId","isIdentity","isInjected","isInputPending","isInteger","isInternal","isIntersecting","isLockFree","isMap","isMultiLine","isNaN","isOpen","isPointInFill","isPointInPath","isPointInRange","isPointInStroke","isPrefAlternate","isPresenting","isPrimary","isProgram","isPropertyImplicit","isProtocolHandlerRegistered","isPrototypeOf","isQuery","isRawJSON","isRenderbuffer","isSafeInteger","isSameEntry","isSameNode","isSampler","isScript","isScriptURL","isSealed","isSecureContext","isSessionSupported","isShader","isSubsetOf","isSupersetOf","isSupported","isSync","isTextEdit","isTexture","isTransformFeedback","isTrusted","isTypeSupported","isUserVerifyingPlatformAuthenticatorAvailable","isVertexArray","isView","isVisible","isWellFormed","isochronousTransferIn","isochronousTransferOut","isolation","italics","item","itemId","itemProp","itemRef","itemScope","itemType","itemValue","items","iterateNext","iterationComposite","iterator","javaEnabled","jitterBufferTarget","jobTitle","join","joinAdInterestGroup","json","justify-content","justify-items","justify-self","justifyContent","justifyItems","justifySelf","k1","k2","k3","k4","kHz","keepalive","kernelMatrix","kernelUnitLengthX","kernelUnitLengthY","kerning","key","keyCode","keyFor","keyIdentifier","keyLightEnabled","keyLocation","keyPath","keyStatuses","keySystem","keyText","keyUsage","keyboard","keys","keytype","kind","knee","label","labels","lang","language","languages","largeArcFlag","lastChild","lastElementChild","lastEventId","lastIndex","lastIndexOf","lastInputTime","lastMatch","lastMessageSubject","lastMessageType","lastModified","lastModifiedDate","lastPage","lastParen","lastState","lastStyleSheetSet","latitude","launchQueue","layerName","layerX","layerY","layout","layoutFlow","layoutGrid","layoutGridChar","layoutGridLine","layoutGridMode","layoutGridType","lbound","leaveAdInterestGroup","left","leftContext","leftDegrees","leftMargin","leftProjectionMatrix","leftViewMatrix","length","lengthAdjust","lengthComputable","letter-spacing","letterSpacing","level","lh","lighting-color","lightingColor","limitingConeAngle","limits","line","line-break","line-height","lineAlign","lineBreak","lineCap","lineDashOffset","lineGapOverride","lineHeight","lineJoin","lineNum","lineNumber","linePos","lineTo","lineWidth","linearAcceleration","linearRampToValueAtTime","linearVelocity","lineno","lines","link","linkColor","linkProgram","links","list","list-style","list-style-image","list-style-position","list-style-type","listStyle","listStyleImage","listStylePosition","listStyleType","listener","listeners","load","loadEventEnd","loadEventStart","loadOp","loadTime","loadTimes","loaded","loading","localDescription","localName","localService","localStorage","locale","localeCompare","location","locationbar","lock","locked","lockedFile","locks","lodMaxClamp","lodMinClamp","log","log10","log1p","log2","logicalXDPI","logicalYDPI","login","loglevel","longDesc","longitude","lookupNamespaceURI","lookupPrefix","loop","loopEnd","loopStart","looping","lost","low","lower","lowerBound","lowerOpen","lowsrc","lvb","lvh","lvi","lvmax","lvmin","lvw","m11","m12","m13","m14","m21","m22","m23","m24","m31","m32","m33","m34","m41","m42","m43","m44","magFilter","makeXRCompatible","managed","manifest","manufacturer","manufacturerName","map","mapAsync","mapState","mappedAtCreation","mapping","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marginBlock","marginBlockEnd","marginBlockStart","marginBottom","marginHeight","marginInline","marginInlineEnd","marginInlineStart","marginLeft","marginRight","marginTop","marginWidth","mark","marker","marker-end","marker-mid","marker-offset","marker-start","markerEnd","markerHeight","markerMid","markerOffset","markerStart","markerUnits","markerWidth","marks","mask","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-position-x","mask-position-y","mask-repeat","mask-size","mask-type","maskClip","maskComposite","maskContentUnits","maskImage","maskMode","maskOrigin","maskPosition","maskPositionX","maskPositionY","maskRepeat","maskSize","maskType","maskUnits","match","matchAll","matchMedia","matchMedium","matches","math-depth","math-style","mathDepth","mathStyle","matrix","matrixTransform","max","max-block-size","max-height","max-inline-size","max-width","maxActions","maxAlternatives","maxAnisotropy","maxBindGroups","maxBindGroupsPlusVertexBuffers","maxBindingsPerBindGroup","maxBlockSize","maxBufferSize","maxByteLength","maxChannelCount","maxChannels","maxColorAttachmentBytesPerSample","maxColorAttachments","maxComputeInvocationsPerWorkgroup","maxComputeWorkgroupSizeX","maxComputeWorkgroupSizeY","maxComputeWorkgroupSizeZ","maxComputeWorkgroupStorageSize","maxComputeWorkgroupsPerDimension","maxConnectionsPerServer","maxDatagramSize","maxDecibels","maxDistance","maxDrawCount","maxDynamicStorageBuffersPerPipelineLayout","maxDynamicUniformBuffersPerPipelineLayout","maxHeight","maxInlineSize","maxInterStageShaderComponents","maxInterStageShaderVariables","maxLayers","maxLength","maxMessageSize","maxPacketLifeTime","maxRetransmits","maxSampledTexturesPerShaderStage","maxSamplersPerShaderStage","maxStorageBufferBindingSize","maxStorageBuffersPerShaderStage","maxStorageTexturesPerShaderStage","maxTextureArrayLayers","maxTextureDimension1D","maxTextureDimension2D","maxTextureDimension3D","maxTouchPoints","maxUniformBufferBindingSize","maxUniformBuffersPerShaderStage","maxValue","maxVertexAttributes","maxVertexBufferArrayStride","maxVertexBuffers","maxWidth","measure","measureText","media","mediaCapabilities","mediaDevices","mediaElement","mediaGroup","mediaKeys","mediaSession","mediaStream","mediaText","meetOrSlice","memory","menubar","mergeAttributes","message","messageClass","messageHandlers","messageType","messages","metaKey","metadata","method","methodDetails","methodName","mid","mimeType","mimeTypes","min","min-block-size","min-height","min-inline-size","min-width","minBindingSize","minBlockSize","minDecibels","minFilter","minHeight","minInlineSize","minLength","minStorageBufferOffsetAlignment","minUniformBufferOffsetAlignment","minValue","minWidth","mipLevel","mipLevelCount","mipmapFilter","miterLimit","mix-blend-mode","mixBlendMode","mm","mobile","mode","model","modify","module","mount","move","moveBy","moveEnd","moveFirst","moveFocusDown","moveFocusLeft","moveFocusRight","moveFocusUp","moveNext","moveRow","moveStart","moveTo","moveToBookmark","moveToElementText","moveToPoint","movementX","movementY","mozAdd","mozAnimationStartTime","mozAnon","mozApps","mozAudioCaptured","mozAudioChannelType","mozAutoplayEnabled","mozCancelAnimationFrame","mozCancelFullScreen","mozCancelRequestAnimationFrame","mozCaptureStream","mozCaptureStreamUntilEnded","mozClearDataAt","mozContact","mozContacts","mozCreateFileHandle","mozCurrentTransform","mozCurrentTransformInverse","mozCursor","mozDash","mozDashOffset","mozDecodedFrames","mozExitPointerLock","mozFillRule","mozFragmentEnd","mozFrameDelay","mozFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozGetAll","mozGetAllKeys","mozGetAsFile","mozGetDataAt","mozGetMetadata","mozGetUserMedia","mozHasAudio","mozHasItem","mozHidden","mozImageSmoothingEnabled","mozIndexedDB","mozInnerScreenX","mozInnerScreenY","mozInputSource","mozIsTextField","mozItem","mozItemCount","mozItems","mozLength","mozLockOrientation","mozMatchesSelector","mozMovementX","mozMovementY","mozOpaque","mozOrientation","mozPaintCount","mozPaintedFrames","mozParsedFrames","mozPay","mozPointerLockElement","mozPresentedFrames","mozPreservesPitch","mozPressure","mozPrintCallback","mozRTCIceCandidate","mozRTCPeerConnection","mozRTCSessionDescription","mozRemove","mozRequestAnimationFrame","mozRequestFullScreen","mozRequestPointerLock","mozSetDataAt","mozSetImageElement","mozSourceNode","mozSrcObject","mozSystem","mozTCPSocket","mozTextStyle","mozTypesAt","mozUnlockOrientation","mozUserCancelled","mozVisibilityState","ms","msAnimation","msAnimationDelay","msAnimationDirection","msAnimationDuration","msAnimationFillMode","msAnimationIterationCount","msAnimationName","msAnimationPlayState","msAnimationStartTime","msAnimationTimingFunction","msBackfaceVisibility","msBlockProgression","msCSSOMElementFloatMetrics","msCaching","msCachingEnabled","msCancelRequestAnimationFrame","msCapsLockWarningOff","msClearImmediate","msClose","msContentZoomChaining","msContentZoomFactor","msContentZoomLimit","msContentZoomLimitMax","msContentZoomLimitMin","msContentZoomSnap","msContentZoomSnapPoints","msContentZoomSnapType","msContentZooming","msConvertURL","msCrypto","msDoNotTrack","msElementsFromPoint","msElementsFromRect","msExitFullscreen","msExtendedCode","msFillRule","msFirstPaint","msFlex","msFlexAlign","msFlexDirection","msFlexFlow","msFlexItemAlign","msFlexLinePack","msFlexNegative","msFlexOrder","msFlexPack","msFlexPositive","msFlexPreferredSize","msFlexWrap","msFlowFrom","msFlowInto","msFontFeatureSettings","msFullscreenElement","msFullscreenEnabled","msGetInputContext","msGetRegionContent","msGetUntransformedBounds","msGraphicsTrustStatus","msGridColumn","msGridColumnAlign","msGridColumnSpan","msGridColumns","msGridRow","msGridRowAlign","msGridRowSpan","msGridRows","msHidden","msHighContrastAdjust","msHyphenateLimitChars","msHyphenateLimitLines","msHyphenateLimitZone","msHyphens","msImageSmoothingEnabled","msImeAlign","msIndexedDB","msInterpolationMode","msIsStaticHTML","msKeySystem","msKeys","msLaunchUri","msLockOrientation","msManipulationViewsEnabled","msMatchMedia","msMatchesSelector","msMaxTouchPoints","msOrientation","msOverflowStyle","msPerspective","msPerspectiveOrigin","msPlayToDisabled","msPlayToPreferredSourceUri","msPlayToPrimary","msPointerEnabled","msRegionOverflow","msReleasePointerCapture","msRequestAnimationFrame","msRequestFullscreen","msSaveBlob","msSaveOrOpenBlob","msScrollChaining","msScrollLimit","msScrollLimitXMax","msScrollLimitXMin","msScrollLimitYMax","msScrollLimitYMin","msScrollRails","msScrollSnapPointsX","msScrollSnapPointsY","msScrollSnapType","msScrollSnapX","msScrollSnapY","msScrollTranslation","msSetImmediate","msSetMediaKeys","msSetPointerCapture","msTextCombineHorizontal","msTextSizeAdjust","msToBlob","msTouchAction","msTouchSelect","msTraceAsyncCallbackCompleted","msTraceAsyncCallbackStarting","msTraceAsyncOperationCompleted","msTraceAsyncOperationStarting","msTransform","msTransformOrigin","msTransformStyle","msTransition","msTransitionDelay","msTransitionDuration","msTransitionProperty","msTransitionTimingFunction","msUnlockOrientation","msUpdateAsyncCallbackRelation","msUserSelect","msVisibilityState","msWrapFlow","msWrapMargin","msWrapThrough","msWriteProfilerMark","msZoom","msZoomTo","mt","mul","multiEntry","multiSelectionObj","multiline","multiple","multiply","multiplySelf","multisample","multisampled","mutableFile","muted","n","name","nameList","nameProp","namedItem","namedRecordset","names","namespaceURI","namespaces","nativeMap","nativeObjectCreate","nativeSet","nativeWeakMap","naturalHeight","naturalWidth","navigate","navigation","navigationMode","navigationPreload","navigationStart","navigationType","navigator","near","nearestViewportElement","negative","negotiated","netscape","networkState","newScale","newState","newTranslate","newURL","newValue","newValueSpecifiedUnits","newVersion","newhome","next","nextElementSibling","nextHopProtocol","nextNode","nextPage","nextSibling","nickname","noHref","noModule","noResize","noShade","noValidate","noWrap","node","nodeName","nodeType","nodeValue","nonce","normDepthBufferFromNormView","normalize","normalizedPathSegList","notRestoredReasons","notationName","notations","note","noteGrainOn","noteOff","noteOn","notify","now","numOctaves","number","numberOfChannels","numberOfFrames","numberOfInputs","numberOfItems","numberOfOutputs","numberValue","oMatchesSelector","object","object-fit","object-position","objectFit","objectPosition","objectStore","objectStoreNames","objectType","observe","occlusionQuerySet","of","off","offscreenBuffering","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","offsetAnchor","offsetDistance","offsetHeight","offsetLeft","offsetNode","offsetParent","offsetPath","offsetPosition","offsetRotate","offsetTop","offsetWidth","offsetX","offsetY","ok","oldState","oldURL","oldValue","oldVersion","olderShadowRoot","on","onCommitFiberRoot","onCommitFiberUnmount","onLine","onPostCommitFiberRoot","onSubmittedWorkDone","onabort","onabsolutedeviceorientation","onactivate","onactive","onaddsourcebuffer","onaddstream","onaddtrack","onafterprint","onafterscriptexecute","onafterupdate","onanimationcancel","onanimationend","onanimationiteration","onanimationstart","onappinstalled","onaudioend","onaudioprocess","onaudiostart","onautocomplete","onautocompleteerror","onauxclick","onbeforeactivate","onbeforecopy","onbeforecut","onbeforedeactivate","onbeforeeditfocus","onbeforeinput","onbeforeinstallprompt","onbeforematch","onbeforepaste","onbeforeprint","onbeforescriptexecute","onbeforetoggle","onbeforeunload","onbeforeupdate","onbeforexrselect","onbegin","onblocked","onblur","onbounce","onboundary","onbufferedamountlow","oncached","oncancel","oncandidatewindowhide","oncandidatewindowshow","oncandidatewindowupdate","oncanplay","oncanplaythrough","oncapturehandlechange","once","oncellchange","onchange","oncharacterboundsupdate","oncharacteristicvaluechanged","onchargingchange","onchargingtimechange","onchecking","onclick","onclose","onclosing","oncompassneedscalibration","oncomplete","oncompositionend","oncompositionstart","onconnect","onconnecting","onconnectionavailable","onconnectionstatechange","oncontentvisibilityautostatechange","oncontextlost","oncontextmenu","oncontextrestored","oncontrollerchange","oncontrolselect","oncopy","oncuechange","oncurrententrychange","oncurrentscreenchange","oncut","ondataavailable","ondatachannel","ondatasetchanged","ondatasetcomplete","ondblclick","ondeactivate","ondequeue","ondevicechange","ondevicelight","ondevicemotion","ondeviceorientation","ondeviceorientationabsolute","ondeviceproximity","ondischargingtimechange","ondisconnect","ondisplay","ondispose","ondownloading","ondrag","ondragend","ondragenter","ondragexit","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onencrypted","onend","onended","onenter","onenterpictureinpicture","onerror","onerrorupdate","onexit","onfencedtreeclick","onfilterchange","onfinish","onfocus","onfocusin","onfocusout","onformdata","onfreeze","onfullscreenchange","onfullscreenerror","ongamepadconnected","ongamepaddisconnected","ongatheringstatechange","ongattserverdisconnected","ongeometrychange","ongesturechange","ongestureend","ongesturestart","ongotpointercapture","onhashchange","onhelp","onicecandidate","onicecandidateerror","oniceconnectionstatechange","onicegatheringstatechange","oninactive","oninput","oninputreport","oninputsourceschange","oninvalid","onkeydown","onkeypress","onkeystatuseschange","onkeyup","onlanguagechange","onlayoutcomplete","onleavepictureinpicture","onlevelchange","onload","onloadeddata","onloadedmetadata","onloadend","onloading","onloadingdone","onloadingerror","onloadstart","onlosecapture","onlostpointercapture","only","onmanagedconfigurationchange","onmark","onmessage","onmessageerror","onmidimessage","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onmousewheel","onmove","onmoveend","onmovestart","onmozfullscreenchange","onmozfullscreenerror","onmozorientationchange","onmozpointerlockchange","onmozpointerlockerror","onmscontentzoom","onmsfullscreenchange","onmsfullscreenerror","onmsgesturechange","onmsgesturedoubletap","onmsgestureend","onmsgesturehold","onmsgesturestart","onmsgesturetap","onmsgotpointercapture","onmsinertiastart","onmslostpointercapture","onmsmanipulationstatechanged","onmsneedkey","onmsorientationchange","onmspointercancel","onmspointerdown","onmspointerenter","onmspointerhover","onmspointerleave","onmspointermove","onmspointerout","onmspointerover","onmspointerup","onmssitemodejumplistitemremoved","onmsthumbnailclick","onmute","onnavigate","onnavigateerror","onnavigatesuccess","onnegotiationneeded","onnomatch","onnoupdate","onobsolete","onoffline","ononline","onopen","onorientationchange","onpagechange","onpagehide","onpagereveal","onpageshow","onpageswap","onpaste","onpause","onpayerdetailchange","onpaymentmethodchange","onplay","onplaying","onpluginstreamstart","onpointercancel","onpointerdown","onpointerenter","onpointerleave","onpointerlockchange","onpointerlockerror","onpointermove","onpointerout","onpointerover","onpointerrawupdate","onpointerup","onpopstate","onprerenderingchange","onprioritychange","onprocessorerror","onprogress","onpropertychange","onratechange","onreading","onreadystatechange","onreflectionchange","onrejectionhandled","onrelease","onremove","onremovesourcebuffer","onremovestream","onremovetrack","onrepeat","onreset","onresize","onresizeend","onresizestart","onresourcetimingbufferfull","onresult","onresume","onrowenter","onrowexit","onrowsdelete","onrowsinserted","onscreenschange","onscroll","onscrollend","onsearch","onsecuritypolicyviolation","onseeked","onseeking","onselect","onselectedcandidatepairchange","onselectend","onselectionchange","onselectstart","onshippingaddresschange","onshippingoptionchange","onshow","onsignalingstatechange","onsinkchange","onslotchange","onsoundend","onsoundstart","onsourceclose","onsourceclosed","onsourceended","onsourceopen","onspeechend","onspeechstart","onsqueeze","onsqueezeend","onsqueezestart","onstalled","onstart","onstatechange","onstop","onstorage","onstoragecommit","onsubmit","onsuccess","onsuspend","onterminate","ontextformatupdate","ontextinput","ontextupdate","ontimeout","ontimeupdate","ontoggle","ontonechange","ontouchcancel","ontouchend","ontouchmove","ontouchstart","ontrack","ontransitioncancel","ontransitionend","ontransitionrun","ontransitionstart","onuncapturederror","onunhandledrejection","onunload","onunmute","onupdate","onupdateend","onupdatefound","onupdateready","onupdatestart","onupgradeneeded","onuserproximity","onversionchange","onvisibilitychange","onvoiceschanged","onvolumechange","onvrdisplayactivate","onvrdisplayconnect","onvrdisplaydeactivate","onvrdisplaydisconnect","onvrdisplaypresentchange","onwaiting","onwaitingforkey","onwarning","onwebkitanimationend","onwebkitanimationiteration","onwebkitanimationstart","onwebkitcurrentplaybacktargetiswirelesschanged","onwebkitfullscreenchange","onwebkitfullscreenerror","onwebkitkeyadded","onwebkitkeyerror","onwebkitkeymessage","onwebkitneedkey","onwebkitorientationchange","onwebkitplaybacktargetavailabilitychanged","onwebkitpointerlockchange","onwebkitpointerlockerror","onwebkitresourcetimingbufferfull","onwebkittransitionend","onwheel","onzoom","opacity","open","openCursor","openDatabase","openKeyCursor","opened","opener","opera","operation","operationType","operator","opr","optimum","options","or","order","orderX","orderY","ordered","org","organization","orient","orientAngle","orientType","orientation","orientationX","orientationY","orientationZ","origin","originAgentCluster","originalPolicy","originalTarget","orphans","oscpu","outerHTML","outerHeight","outerText","outerWidth","outgoingHighWaterMark","outgoingMaxAge","outline","outline-color","outline-offset","outline-style","outline-width","outlineColor","outlineOffset","outlineStyle","outlineWidth","outputBuffer","outputChannelCount","outputLatency","outputs","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overflowAnchor","overflowBlock","overflowClipMargin","overflowInline","overflowWrap","overflowX","overflowY","overlaysContent","overrideColors","overrideMimeType","oversample","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","overscrollBehavior","overscrollBehaviorBlock","overscrollBehaviorInline","overscrollBehaviorX","overscrollBehaviorY","ownKeys","ownerDocument","ownerElement","ownerNode","ownerRule","ownerSVGElement","owningElement","p1","p2","p3","p4","packetSize","packets","pad","padEnd","padStart","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","paddingBlock","paddingBlockEnd","paddingBlockStart","paddingBottom","paddingInline","paddingInlineEnd","paddingInlineStart","paddingLeft","paddingRight","paddingTop","page","page-break-after","page-break-before","page-break-inside","pageBreakAfter","pageBreakBefore","pageBreakInside","pageCount","pageLeft","pageTop","pageX","pageXOffset","pageY","pageYOffset","pages","paint-order","paintOrder","paintRequests","paintType","paintWorklet","palette","pan","panningModel","parameterData","parameters","parent","parentElement","parentNode","parentRule","parentStyleSheet","parentTextEdit","parentWindow","parse","parseAll","parseCreationOptionsFromJSON","parseFloat","parseFromString","parseHTMLUnsafe","parseInt","parseRequestOptionsFromJSON","part","participants","passOp","passive","password","pasteHTML","path","pathLength","pathSegList","pathSegType","pathSegTypeAsLetter","pathname","pattern","patternContentUnits","patternMismatch","patternTransform","patternUnits","pause","pauseAnimations","pauseDuration","pauseOnExit","pauseProfilers","pauseTransformFeedback","paused","payerEmail","payerName","payerPhone","paymentManager","pc","pdfViewerEnabled","peerIdentity","pending","pendingLocalDescription","pendingRemoteDescription","percent","performance","periodicSync","permission","permissionState","permissions","persist","persisted","personalbar","perspective","perspective-origin","perspectiveOrigin","phone","phoneticFamilyName","phoneticGivenName","photo","pictureInPictureElement","pictureInPictureEnabled","pictureInPictureWindow","ping","pipeThrough","pipeTo","pitch","pixelBottom","pixelDepth","pixelHeight","pixelLeft","pixelRight","pixelStorei","pixelTop","pixelUnitToMillimeterX","pixelUnitToMillimeterY","pixelWidth","place-content","place-items","place-self","placeContent","placeItems","placeSelf","placeholder","platform","platformVersion","platforms","play","playEffect","playState","playbackRate","playbackState","playbackTime","played","playoutDelayHint","playsInline","plugins","pluginspage","pname","pointer-events","pointerBeforeReferenceNode","pointerEnabled","pointerEvents","pointerId","pointerLockElement","pointerType","points","pointsAtX","pointsAtY","pointsAtZ","polygonOffset","pop","popDebugGroup","popErrorScope","popover","popoverTargetAction","popoverTargetElement","populateMatrix","popupWindowFeatures","popupWindowName","popupWindowURI","port","port1","port2","ports","posBottom","posHeight","posLeft","posRight","posTop","posWidth","pose","position","positionAlign","positionX","positionY","positionZ","postError","postMessage","postTask","postalCode","poster","postscriptName","pow","powerEfficient","powerOff","powerPreference","preMultiplySelf","precision","preferredReflectionFormat","preferredStyleSheetSet","preferredStylesheetSet","prefix","preload","premultipliedAlpha","prepend","prerendering","presentation","presentationArea","preserveAlpha","preserveAspectRatio","preserveAspectRatioString","preservesPitch","pressed","pressure","prevValue","preventDefault","preventExtensions","preventSilentAccess","previousElementSibling","previousNode","previousPage","previousPriority","previousRect","previousScale","previousSibling","previousTranslate","primaries","primaryKey","primaryLightDirection","primaryLightIntensity","primitive","primitiveType","primitiveUnits","principals","print","print-color-adjust","printColorAdjust","priority","privateKey","privateToken","probablySupportsContext","probeSpace","process","processIceMessage","processingEnd","processingStart","processorOptions","product","productId","productName","productSub","profile","profileEnd","profiles","projectionMatrix","promise","prompt","properties","propertyIsEnumerable","propertyName","protocol","protocolLong","prototype","provider","pseudoClass","pseudoElement","pt","publicId","publicKey","published","pulse","push","pushDebugGroup","pushErrorScope","pushManager","pushNotification","pushState","put","putImageData","px","quadraticCurveTo","qualifier","quaternion","query","queryCommandEnabled","queryCommandIndeterm","queryCommandState","queryCommandSupported","queryCommandText","queryCommandValue","queryLocalFonts","queryPermission","querySelector","querySelectorAll","querySet","queue","queueMicrotask","quote","quotes","r","r1","r2","race","rad","radiogroup","radiusX","radiusY","random","randomUUID","range","rangeCount","rangeEnd","rangeMax","rangeMin","rangeOffset","rangeOverflow","rangeParent","rangeStart","rangeUnderflow","rate","ratio","raw","rawId","rawJSON","rawValueToMeters","rcap","rch","read","readAsArrayBuffer","readAsBinaryString","readAsBlob","readAsDataURL","readAsText","readBuffer","readEntries","readOnly","readPixels","readReportRequested","readText","readValue","readable","ready","readyState","reason","reasons","reboot","receiveFeatureReport","receivedAlert","receiver","receivers","recipient","recommendedViewportScale","reconnect","recordNumber","recordsAvailable","recordset","rect","red","redEyeReduction","redirect","redirectCount","redirectEnd","redirectStart","redirected","reduce","reduceRight","reduction","refDistance","refX","refY","referenceNode","referenceSpace","referrer","referrerPolicy","refresh","region","regionAnchorX","regionAnchorY","regionId","regions","register","registerContentHandler","registerElement","registerInternalModuleStart","registerInternalModuleStop","registerProperty","registerProtocolHandler","reject","rel","relList","relatedAddress","relatedNode","relatedPort","relatedTarget","relayProtocol","release","releaseCapture","releaseEvents","releaseInterface","releaseLock","releasePointerCapture","releaseShaderCompiler","released","reliability","reliable","reliableWrite","reload","rem","remainingSpace","remote","remoteDescription","remove","removeAllRanges","removeAttribute","removeAttributeNS","removeAttributeNode","removeBehavior","removeChild","removeCue","removeEntry","removeEventListener","removeFilter","removeImport","removeItem","removeListener","removeNamedItem","removeNamedItemNS","removeNode","removeParameter","removeProperty","removeRange","removeRegion","removeRule","removeSiteSpecificTrackingException","removeSourceBuffer","removeStream","removeTrack","removeVariable","removeWakeLockListener","removeWebWideTrackingException","removed","removedNodes","renderBlockingStatus","renderHeight","renderStart","renderState","renderTime","renderWidth","renderbufferStorage","renderbufferStorageMultisample","renderedBuffer","rendererInterfaces","renderers","renderingMode","renotify","repeat","repetitionCount","replace","replaceAdjacentText","replaceAll","replaceChild","replaceChildren","replaceData","replaceId","replaceItem","replaceNode","replaceState","replaceSync","replaceTrack","replaceWholeText","replaceWith","reportError","reportEvent","reportId","reportValidity","request","requestAdapter","requestAdapterInfo","requestAnimationFrame","requestAutocomplete","requestData","requestDevice","requestFrame","requestFullscreen","requestHitTestSource","requestHitTestSourceForTransientInput","requestId","requestIdleCallback","requestLightProbe","requestMIDIAccess","requestMediaKeySystemAccess","requestPermission","requestPictureInPicture","requestPointerLock","requestPort","requestPresent","requestPresenter","requestReferenceSpace","requestSession","requestStart","requestStorageAccess","requestStorageAccessFor","requestSubmit","requestVideoFrameCallback","requestViewportScale","requestWindow","requestingWindow","requireInteraction","required","requiredExtensions","requiredFeatures","requiredLimits","reset","resetPose","resetTransform","resizable","resize","resizeBy","resizeTo","resolve","resolveQuerySet","resolveTarget","resource","respond","respondWithNewView","response","responseBody","responseEnd","responseReady","responseStart","responseStatus","responseText","responseType","responseURL","responseXML","restartIce","restore","result","resultIndex","resultType","results","resume","resumeProfilers","resumeTransformFeedback","retry","returnValue","rev","reverse","reversed","revocable","revokeObjectURL","rex","rgbColor","ric","right","rightContext","rightDegrees","rightMargin","rightProjectionMatrix","rightViewMatrix","rlh","role","rolloffFactor","root","rootBounds","rootElement","rootMargin","rotate","rotateAxisAngle","rotateAxisAngleSelf","rotateFromVector","rotateFromVectorSelf","rotateSelf","rotation","rotationAngle","rotationRate","round","roundRect","row-gap","rowGap","rowIndex","rowSpan","rows","rowsPerImage","rtcpTransport","rtt","ruby-align","ruby-position","rubyAlign","rubyOverhang","rubyPosition","rules","run","runAdAuction","runtime","runtimeStyle","rx","ry","s","safari","sameDocument","sample","sampleCount","sampleCoverage","sampleInterval","sampleRate","sampleType","sampler","samplerParameterf","samplerParameteri","sandbox","save","saveData","scale","scale3d","scale3dSelf","scaleNonUniform","scaleNonUniformSelf","scaleSelf","scheduler","scheduling","scheme","scissor","scope","scopeName","scoped","screen","screenBrightness","screenEnabled","screenLeft","screenPixelToMillimeterX","screenPixelToMillimeterY","screenState","screenTop","screenX","screenY","screens","scriptURL","scripts","scroll","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollAmount","scrollBehavior","scrollBy","scrollByLines","scrollByPages","scrollDelay","scrollHeight","scrollIntoView","scrollIntoViewIfNeeded","scrollLeft","scrollLeftMax","scrollMargin","scrollMarginBlock","scrollMarginBlockEnd","scrollMarginBlockStart","scrollMarginBottom","scrollMarginInline","scrollMarginInlineEnd","scrollMarginInlineStart","scrollMarginLeft","scrollMarginRight","scrollMarginTop","scrollMaxX","scrollMaxY","scrollPadding","scrollPaddingBlock","scrollPaddingBlockEnd","scrollPaddingBlockStart","scrollPaddingBottom","scrollPaddingInline","scrollPaddingInlineEnd","scrollPaddingInlineStart","scrollPaddingLeft","scrollPaddingRight","scrollPaddingTop","scrollRestoration","scrollSnapAlign","scrollSnapStop","scrollSnapType","scrollTo","scrollTop","scrollTopMax","scrollWidth","scrollX","scrollY","scrollbar-color","scrollbar-gutter","scrollbar-width","scrollbar3dLightColor","scrollbarArrowColor","scrollbarBaseColor","scrollbarColor","scrollbarDarkShadowColor","scrollbarFaceColor","scrollbarGutter","scrollbarHighlightColor","scrollbarShadowColor","scrollbarTrackColor","scrollbarWidth","scrollbars","scrolling","scrollingElement","sctp","sctpCauseCode","sdp","sdpLineNumber","sdpMLineIndex","sdpMid","seal","search","searchBox","searchBoxJavaBridge_","searchParams","sectionRowIndex","secureConnectionStart","security","seed","seek","seekToNextFrame","seekable","seeking","select","selectAllChildren","selectAlternateInterface","selectAudioOutput","selectConfiguration","selectNode","selectNodeContents","selectNodes","selectSingleNode","selectSubString","selectURL","selected","selectedIndex","selectedOptions","selectedStyleSheetSet","selectedStylesheetSet","selectedTrack","selection","selectionDirection","selectionEnd","selectionStart","selector","selectorText","self","send","sendAsBinary","sendBeacon","sendFeatureReport","sendOrder","sendReport","sender","sentAlert","sentTimestamp","separator","serial","serialNumber","serializeToString","serverTiming","service","serviceWorker","session","sessionId","sessionStorage","set","setActionHandler","setActive","setAlpha","setAppBadge","setAttribute","setAttributeNS","setAttributeNode","setAttributeNodeNS","setAttributionReporting","setBaseAndExtent","setBigInt64","setBigUint64","setBindGroup","setBingCurrentSearchDefault","setBlendConstant","setCameraActive","setCapture","setCaptureHandleConfig","setCodecPreferences","setColor","setCompositeOperation","setConfiguration","setConsumer","setCurrentTime","setCustomValidity","setData","setDate","setDragImage","setEnd","setEndAfter","setEndBefore","setEndPoint","setExpires","setFillColor","setFilterRes","setFloat32","setFloat64","setFloatValue","setFocusBehavior","setFormValue","setFullYear","setHTMLUnsafe","setHeaderExtensionsToNegotiate","setHeaderValue","setHours","setIdentityProvider","setImmediate","setIndexBuffer","setInt16","setInt32","setInt8","setInterval","setItem","setKeyframes","setLineCap","setLineDash","setLineJoin","setLineWidth","setLiveSeekableRange","setLocalDescription","setMatrix","setMatrixValue","setMediaKeys","setMicrophoneActive","setMilliseconds","setMinutes","setMiterLimit","setMonth","setNamedItem","setNamedItemNS","setNonUserCodeExceptions","setOrientToAngle","setOrientToAuto","setOrientation","setOverrideHistoryNavigationMode","setPaint","setParameter","setParameters","setPeriodicWave","setPipeline","setPointerCapture","setPosition","setPositionState","setPreference","setPriority","setPrivateToken","setProperty","setPrototypeOf","setRGBColor","setRGBColorICCColor","setRadius","setRangeText","setRemoteDescription","setReportEventDataForAutomaticBeacons","setRequestHeader","setResizable","setResourceTimingBufferSize","setRotate","setScale","setScissorRect","setSeconds","setSelectionRange","setServerCertificate","setShadow","setSharedStorageContext","setSignals","setSinkId","setSkewX","setSkewY","setStart","setStartAfter","setStartBefore","setStatus","setStdDeviation","setStencilReference","setStreams","setStrictMode","setStringValue","setStrokeColor","setSuggestResult","setTargetAtTime","setTargetValueAtTime","setTime","setTimeout","setTransform","setTranslate","setUTCDate","setUTCFullYear","setUTCHours","setUTCMilliseconds","setUTCMinutes","setUTCMonth","setUTCSeconds","setUint16","setUint32","setUint8","setUri","setValidity","setValueAtTime","setValueCurveAtTime","setVariable","setVelocity","setVersion","setVertexBuffer","setViewport","setYear","settingName","settingValue","sex","shaderLocation","shaderSource","shadowBlur","shadowColor","shadowOffsetX","shadowOffsetY","shadowRoot","shadowRootClonable","shadowRootDelegatesFocus","shadowRootMode","shape","shape-image-threshold","shape-margin","shape-outside","shape-rendering","shapeImageThreshold","shapeMargin","shapeOutside","shapeRendering","share","sharedStorage","sharedStorageWritable","sheet","shift","shiftKey","shiftLeft","shippingAddress","shippingOption","shippingType","show","showDirectoryPicker","showHelp","showModal","showModalDialog","showModelessDialog","showNotification","showOpenFilePicker","showPicker","showPopover","showSaveFilePicker","sidebar","sign","signal","signalingState","signature","silent","sin","singleNodeValue","sinh","sinkId","sittingToStandingTransform","size","sizeAdjust","sizeToContent","sizeX","sizeZ","sizes","skewX","skewXSelf","skewY","skewYSelf","skipTransition","skipped","slice","slope","slot","slotAssignment","small","smil","smooth","smoothingTimeConstant","snapToLines","snapshotItem","snapshotLength","some","sort","sortingCode","source","sourceBuffer","sourceBuffers","sourceCapabilities","sourceCharPosition","sourceFile","sourceFunctionName","sourceIndex","sourceMap","sourceURL","sources","spacing","span","speak","speakAs","speaking","species","specified","specularConstant","specularExponent","speechSynthesis","speed","speedOfSound","spellcheck","sphericalHarmonicsCoefficients","splice","split","splitText","spreadMethod","sqrt","src","srcElement","srcFactor","srcFilter","srcObject","srcUrn","srcdoc","srclang","srcset","stack","stackTraceLimit","stacktrace","stageParameters","standalone","standby","start","startContainer","startIce","startMessages","startNotifications","startOffset","startProfiling","startRendering","startShark","startTime","startViewTransition","startsWith","state","states","stats","status","statusCode","statusMessage","statusText","statusbar","stdDeviationX","stdDeviationY","stencilBack","stencilClearValue","stencilFront","stencilFunc","stencilFuncSeparate","stencilLoadOp","stencilMask","stencilMaskSeparate","stencilOp","stencilOpSeparate","stencilReadMask","stencilReadOnly","stencilStoreOp","stencilWriteMask","step","stepDown","stepMismatch","stepMode","stepUp","sticky","stitchTiles","stop","stop-color","stop-opacity","stopColor","stopImmediatePropagation","stopNotifications","stopOpacity","stopProfiling","stopPropagation","stopShark","stopped","storage","storageArea","storageBuckets","storageName","storageStatus","storageTexture","store","storeOp","storeSiteSpecificTrackingException","storeWebWideTrackingException","stpVersion","stream","streamErrorCode","streams","stretch","strike","string","stringValue","stringify","stripIndexFormat","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeRect","strokeStyle","strokeText","strokeWidth","structuredClone","style","styleAndLayoutStart","styleFloat","styleMap","styleMedia","styleSheet","styleSheetSets","styleSheets","sub","subarray","subject","submit","submitFrame","submitter","subscribe","substr","substring","substringData","subtle","subtree","suffix","suffixes","summary","sup","supported","supportedContentEncodings","supportedEntryTypes","supportedValuesOf","supports","supportsFiber","supportsSession","supportsText","surfaceScale","surroundContents","suspend","suspendRedraw","svb","svh","svi","svmax","svmin","svw","swapCache","swapNode","sweepFlag","symbols","symmetricDifference","sync","syntax","sysexEnabled","system","systemCode","systemId","systemLanguage","systemXDPI","systemYDPI","tBodies","tFoot","tHead","tab-size","tabIndex","tabSize","table","table-layout","tableLayout","tableValues","tag","tagName","tagUrn","tags","taintEnabled","take","takePhoto","takeRecords","tan","tangentialPressure","tanh","target","targetAddressSpace","targetElement","targetRayMode","targetRaySpace","targetTouches","targetURL","targetX","targetY","targets","tcpType","tee","tel","terminate","test","texImage2D","texImage3D","texParameterf","texParameteri","texStorage2D","texStorage3D","texSubImage2D","texSubImage3D","text","text-align","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","textAlign","textAlignLast","textAnchor","textAutospace","textBaseline","textCombineUpright","textContent","textDecoration","textDecorationBlink","textDecorationColor","textDecorationLine","textDecorationLineThrough","textDecorationNone","textDecorationOverline","textDecorationSkipInk","textDecorationStyle","textDecorationThickness","textDecorationUnderline","textEmphasis","textEmphasisColor","textEmphasisPosition","textEmphasisStyle","textIndent","textJustify","textJustifyTrim","textKashida","textKashidaSpace","textLength","textOrientation","textOverflow","textRendering","textShadow","textTracks","textTransform","textUnderlineOffset","textUnderlinePosition","textWrap","textWrapMode","textWrapStyle","texture","then","threadId","threshold","thresholds","throwIfAborted","tiltX","tiltY","time","timeEnd","timeLog","timeOrigin","timeRemaining","timeStamp","timecode","timeline","timelineTime","timeout","timestamp","timestampOffset","timestampWrites","timing","title","titlebarAreaRect","to","toArray","toBlob","toDataURL","toDateString","toElement","toExponential","toFixed","toFloat32Array","toFloat64Array","toGMTString","toISOString","toJSON","toLocaleDateString","toLocaleFormat","toLocaleLowerCase","toLocaleString","toLocaleTimeString","toLocaleUpperCase","toLowerCase","toMatrix","toMethod","toPrecision","toPrimitive","toReversed","toSdp","toSorted","toSource","toSpliced","toStaticHTML","toString","toStringTag","toSum","toTimeString","toUTCString","toUpperCase","toWellFormed","toggle","toggleAttribute","toggleLongPressEnabled","togglePopover","token","tone","toneBuffer","tooLong","tooShort","toolbar","top","topMargin","topology","total","totalFrameDelay","totalFrames","totalVideoFrames","touch-action","touchAction","touched","touches","trace","track","trackVisibility","trackedAnchors","tracks","transaction","transactions","transceiver","transfer","transferControlToOffscreen","transferFromImageBitmap","transferImageBitmap","transferIn","transferOut","transferSize","transferToFixedLength","transferToImageBitmap","transform","transform-box","transform-origin","transform-style","transformBox","transformFeedbackVaryings","transformOrigin","transformPoint","transformString","transformStyle","transformToDocument","transformToFragment","transition","transition-delay","transition-duration","transition-property","transition-timing-function","transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction","translate","translateSelf","translationX","translationY","transport","traverseTo","trim","trimEnd","trimLeft","trimRight","trimStart","trueSpeed","trunc","truncate","trustedTypes","turn","twist","type","typeDetail","typeMismatch","typeMustMatch","types","u2f","ubound","uint16","uint32","uint8","uint8Clamped","unclippedDepth","unconfigure","undefined","underlineStyle","underlineThickness","unescape","uneval","unicode","unicode-bidi","unicodeBidi","unicodeRange","unicodeSets","uniform1f","uniform1fv","uniform1i","uniform1iv","uniform1ui","uniform1uiv","uniform2f","uniform2fv","uniform2i","uniform2iv","uniform2ui","uniform2uiv","uniform3f","uniform3fv","uniform3i","uniform3iv","uniform3ui","uniform3uiv","uniform4f","uniform4fv","uniform4i","uniform4iv","uniform4ui","uniform4uiv","uniformBlockBinding","uniformMatrix2fv","uniformMatrix2x3fv","uniformMatrix2x4fv","uniformMatrix3fv","uniformMatrix3x2fv","uniformMatrix3x4fv","uniformMatrix4fv","uniformMatrix4x2fv","uniformMatrix4x3fv","union","unique","uniqueID","uniqueNumber","unit","unitType","units","unloadEventEnd","unloadEventStart","unlock","unmap","unmount","unobserve","unpackColorSpace","unpause","unpauseAnimations","unreadCount","unregister","unregisterContentHandler","unregisterProtocolHandler","unscopables","unselectable","unshift","unsubscribe","unsuspendRedraw","unsuspendRedrawAll","unwatch","unwrapKey","upDegrees","upX","upY","upZ","update","updateAdInterestGroups","updateCallbackDone","updateCharacterBounds","updateCommands","updateControlBounds","updateCurrentEntry","updateIce","updateInkTrailStartPoint","updateInterval","updatePlaybackRate","updateRangeEnd","updateRangeStart","updateRenderState","updateSelection","updateSelectionBounds","updateSettings","updateText","updateTiming","updateViaCache","updateWith","updated","updating","upgrade","upload","uploadTotal","uploaded","upper","upperBound","upperOpen","uri","url","urn","urns","usage","usages","usb","usbVersionMajor","usbVersionMinor","usbVersionSubminor","useCurrentView","useMap","useProgram","usedSpace","user-select","userActivation","userAgent","userAgentData","userChoice","userHandle","userHint","userInitiated","userLanguage","userSelect","userState","userVisibleOnly","username","usernameFragment","utterance","uuid","v8BreakIterator","vAlign","vLink","valid","validate","validateProgram","validationMessage","validity","value","valueAsDate","valueAsNumber","valueAsString","valueInSpecifiedUnits","valueMissing","valueOf","valueText","valueType","values","variable","variant","variationSettings","vb","vector-effect","vectorEffect","velocityAngular","velocityExpansion","velocityX","velocityY","vendor","vendorId","vendorSub","verify","version","vertex","vertexAttrib1f","vertexAttrib1fv","vertexAttrib2f","vertexAttrib2fv","vertexAttrib3f","vertexAttrib3fv","vertexAttrib4f","vertexAttrib4fv","vertexAttribDivisor","vertexAttribDivisorANGLE","vertexAttribI4i","vertexAttribI4iv","vertexAttribI4ui","vertexAttribI4uiv","vertexAttribIPointer","vertexAttribPointer","vertical","vertical-align","verticalAlign","verticalOverflow","vh","vi","vibrate","vibrationActuator","videoBitsPerSecond","videoHeight","videoTracks","videoWidth","view","viewBox","viewBoxString","viewDimension","viewFormats","viewTarget","viewTargetString","viewport","viewportAnchorX","viewportAnchorY","viewportElement","views","violatedDirective","virtualKeyboard","virtualKeyboardPolicy","visibility","visibilityState","visible","visibleRect","visualViewport","vlinkColor","vmax","vmin","voice","voiceURI","volume","vrml","vspace","vw","w","wait","waitAsync","waitSync","waiting","wake","wakeLock","wand","warn","wasClean","wasDiscarded","watch","watchAvailability","watchPosition","webdriver","webkitAddKey","webkitAlignContent","webkitAlignItems","webkitAlignSelf","webkitAnimation","webkitAnimationDelay","webkitAnimationDirection","webkitAnimationDuration","webkitAnimationFillMode","webkitAnimationIterationCount","webkitAnimationName","webkitAnimationPlayState","webkitAnimationTimingFunction","webkitAppearance","webkitAudioContext","webkitAudioDecodedByteCount","webkitAudioPannerNode","webkitBackfaceVisibility","webkitBackground","webkitBackgroundAttachment","webkitBackgroundClip","webkitBackgroundColor","webkitBackgroundImage","webkitBackgroundOrigin","webkitBackgroundPosition","webkitBackgroundPositionX","webkitBackgroundPositionY","webkitBackgroundRepeat","webkitBackgroundSize","webkitBackingStorePixelRatio","webkitBorderBottomLeftRadius","webkitBorderBottomRightRadius","webkitBorderImage","webkitBorderImageOutset","webkitBorderImageRepeat","webkitBorderImageSlice","webkitBorderImageSource","webkitBorderImageWidth","webkitBorderRadius","webkitBorderTopLeftRadius","webkitBorderTopRightRadius","webkitBoxAlign","webkitBoxDirection","webkitBoxFlex","webkitBoxOrdinalGroup","webkitBoxOrient","webkitBoxPack","webkitBoxShadow","webkitBoxSizing","webkitCancelAnimationFrame","webkitCancelFullScreen","webkitCancelKeyRequest","webkitCancelRequestAnimationFrame","webkitClearResourceTimings","webkitClipPath","webkitClosedCaptionsVisible","webkitConvertPointFromNodeToPage","webkitConvertPointFromPageToNode","webkitCreateShadowRoot","webkitCurrentFullScreenElement","webkitCurrentPlaybackTargetIsWireless","webkitDecodedFrameCount","webkitDirectionInvertedFromDevice","webkitDisplayingFullscreen","webkitDroppedFrameCount","webkitEnterFullScreen","webkitEnterFullscreen","webkitEntries","webkitExitFullScreen","webkitExitFullscreen","webkitExitPointerLock","webkitFilter","webkitFlex","webkitFlexBasis","webkitFlexDirection","webkitFlexFlow","webkitFlexGrow","webkitFlexShrink","webkitFlexWrap","webkitFullScreenKeyboardInputAllowed","webkitFullscreenElement","webkitFullscreenEnabled","webkitGenerateKeyRequest","webkitGetAsEntry","webkitGetDatabaseNames","webkitGetEntries","webkitGetEntriesByName","webkitGetEntriesByType","webkitGetFlowByName","webkitGetGamepads","webkitGetImageDataHD","webkitGetNamedFlows","webkitGetRegionFlowRanges","webkitGetUserMedia","webkitHasClosedCaptions","webkitHidden","webkitIDBCursor","webkitIDBDatabase","webkitIDBDatabaseError","webkitIDBDatabaseException","webkitIDBFactory","webkitIDBIndex","webkitIDBKeyRange","webkitIDBObjectStore","webkitIDBRequest","webkitIDBTransaction","webkitImageSmoothingEnabled","webkitIndexedDB","webkitInitMessageEvent","webkitIsFullScreen","webkitJustifyContent","webkitKeys","webkitLineClamp","webkitLineDashOffset","webkitLockOrientation","webkitMask","webkitMaskClip","webkitMaskComposite","webkitMaskImage","webkitMaskOrigin","webkitMaskPosition","webkitMaskPositionX","webkitMaskPositionY","webkitMaskRepeat","webkitMaskSize","webkitMatchesSelector","webkitMediaStream","webkitNotifications","webkitOfflineAudioContext","webkitOrder","webkitOrientation","webkitPeerConnection00","webkitPersistentStorage","webkitPerspective","webkitPerspectiveOrigin","webkitPointerLockElement","webkitPostMessage","webkitPreservesPitch","webkitPutImageDataHD","webkitRTCPeerConnection","webkitRegionOverset","webkitRelativePath","webkitRequestAnimationFrame","webkitRequestFileSystem","webkitRequestFullScreen","webkitRequestFullscreen","webkitRequestPointerLock","webkitResolveLocalFileSystemURL","webkitSetMediaKeys","webkitSetResourceTimingBufferSize","webkitShadowRoot","webkitShowPlaybackTargetPicker","webkitSlice","webkitSpeechGrammar","webkitSpeechGrammarList","webkitSpeechRecognition","webkitSpeechRecognitionError","webkitSpeechRecognitionEvent","webkitStorageInfo","webkitSupportsFullscreen","webkitTemporaryStorage","webkitTextFillColor","webkitTextSecurity","webkitTextSizeAdjust","webkitTextStroke","webkitTextStrokeColor","webkitTextStrokeWidth","webkitTransform","webkitTransformOrigin","webkitTransformStyle","webkitTransition","webkitTransitionDelay","webkitTransitionDuration","webkitTransitionProperty","webkitTransitionTimingFunction","webkitURL","webkitUnlockOrientation","webkitUserSelect","webkitVideoDecodedByteCount","webkitVisibilityState","webkitWirelessVideoPlaybackDisabled","webkitdirectory","webkitdropzone","webstore","weight","wgslLanguageFeatures","whatToShow","wheelDelta","wheelDeltaX","wheelDeltaY","whenDefined","which","white-space","white-space-collapse","whiteSpace","whiteSpaceCollapse","wholeText","widows","width","will-change","willChange","willValidate","window","windowAttribution","windowControlsOverlay","with","withCredentials","withResolvers","word-break","word-spacing","word-wrap","wordBreak","wordSpacing","wordWrap","workerStart","worklet","wow64","wrap","wrapKey","writable","writableAuxiliaries","write","writeBuffer","writeMask","writeText","writeTexture","writeTimestamp","writeValue","writeValueWithResponse","writeValueWithoutResponse","writeWithoutResponse","writeln","writing-mode","writingMode","writingSuggestions","x","x1","x2","xChannelSelector","xmlEncoding","xmlStandalone","xmlVersion","xmlbase","xmllang","xmlspace","xor","xr","y","y1","y2","yChannelSelector","yandex","z","z-index","zIndex","zoom","zoomAndPan","zoomRectScreen"];function pv(t){hv.forEach(a);var e=["Symbol","Map","Promise","Proxy","Reflect","Set","WeakMap","WeakSet"],n={},r=typeof global=="object"?global:self;e.forEach(function(c){n[c]=r[c]||function(){}}),["null","true","false","NaN","Infinity","-Infinity","undefined"].forEach(a),[Object,Array,Function,Number,String,Boolean,Error,Math,Date,RegExp,n.Symbol,ArrayBuffer,DataView,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,eval,EvalError,Float32Array,Float64Array,Int8Array,Int16Array,Int32Array,isFinite,isNaN,JSON,n.Map,parseFloat,parseInt,n.Promise,n.Proxy,RangeError,ReferenceError,n.Reflect,n.Set,SyntaxError,TypeError,Uint8Array,Uint8ClampedArray,Uint16Array,Uint32Array,URIError,n.WeakMap,n.WeakSet].forEach(function(c){Object.getOwnPropertyNames(c).map(a),c.prototype&&Object.getOwnPropertyNames(c.prototype).map(a)});function a(c){t.add(c)}}function dv(t,e){function n(r){Co(e,r)}t.walk(new Vn(function(r){r instanceof an&&r.quote?n(r.key):r instanceof _n&&r.quote?n(r.key.name):r instanceof kn&&jo(r.property,n)}))}function jo(t,e){t.walk(new Vn(function(n){return n instanceof mt?jo(n.tail_node(),e):n instanceof bt?e(n.value):n instanceof it&&(jo(n.consequent,e),jo(n.alternative,e)),!0}))}function _v(t,e){var n=-1,r=new Map,a=e.nth_identifier||Ts;return t=t.transform(new br(function(h){h instanceof Di||h instanceof Ci||h instanceof ci||h instanceof Ai||h instanceof fi?h.key.name=c(h.key.name):h instanceof Zr&&(h.property=c(h.property))})),t;function c(h){let d=r.get(h);return d||(d=a.get(++n),r.set(h,d)),d}}function i_(t){var e=new Set;return Un(t,n=>{n instanceof Di||n instanceof Ci||n instanceof ci||n instanceof Ai||n instanceof Zr||(n instanceof an?typeof n.key=="string"&&pr(n,Ss)&&e.add(n.key):n instanceof _n?pr(n,Ss)&&e.add(n.key.name):n instanceof Jt?pr(n,Ss)&&e.add(n.property):n instanceof kn&&n.property instanceof bt&&pr(n,Ss)&&e.add(n.property.value))}),e}function mv(t,e,n=i_(t)){e=xi(e,{builtins:!1,cache:null,debug:!1,keep_quoted:!1,nth_identifier:Ts,only_cache:!1,regex:null,reserved:null,undeclared:!1,only_annotated:!1},!0);var r=e.nth_identifier,a=e.reserved;Array.isArray(a)||(a=[a]);var c=new Set(a);e.builtins||pv(c);var h=-1,d;e.cache?d=e.cache.props:d=new Map;var E=e.only_annotated,b=e.regex&&new RegExp(e.regex),T=e.debug!==!1,x;T&&(x=e.debug===!0?"":e.debug);var w=new Set,F=new Set;d.forEach(k=>F.add(k));var R=!!e.keep_quoted;return t.walk(new Vn(function(k){if(!(k instanceof Di||k instanceof Ci||k instanceof ci||k instanceof Ai||k instanceof Zr))if(k instanceof an)typeof k.key=="string"&&(!R||!k.quote)&&g(k.key);else if(k instanceof _n)(!R||!k.quote)&&g(k.key.name);else if(k instanceof Jt){var P=!!e.undeclared;if(!P){for(var L=k;L.expression;)L=L.expression;P=!(L.thedef&&L.thedef.undeclared)}P&&(!R||!k.quote)&&g(k.property)}else k instanceof kn?R||jo(k.property,g):k instanceof He&&k.expression.print_to_string()=="Object.defineProperty"?jo(k.args[1],g):k instanceof pe&&k.operator==="in"?jo(k.left,g):k instanceof bt&&pr(k,xs)&&g(k.value)})),t.transform(new br(function(k){k instanceof Di||k instanceof Ci||k instanceof ci||k instanceof Ai||k instanceof Zr||(k instanceof an?typeof k.key=="string"&&(!R||!k.quote)&&(k.key=A(k.key)):k instanceof _n?(!R||!k.quote)&&(k.key.name=A(k.key.name)):k instanceof Jt?(!R||!k.quote)&&(k.property=A(k.property)):!R&&k instanceof kn?k.property=O(k.property):k instanceof He&&k.expression.print_to_string()=="Object.defineProperty"?k.args[1]=O(k.args[1]):k instanceof pe&&k.operator==="in"?k.left=O(k.left):k instanceof bt&&pr(k,xs)&&(bd(k,xs),k.value=A(k.value)))}));function v(k){return F.has(k)||c.has(k)?!1:e.only_cache?d.has(k):!/^-?[0-9]+(\.[0-9]+)?(e[+-][0-9]+)?$/.test(k)}function p(k){return E&&!n.has(k)?!1:b&&!b.test(k)?n.has(k):c.has(k)?!1:d.has(k)||w.has(k)}function g(k){v(k)&&w.add(k),p(k)||F.add(k)}function A(k){if(!p(k))return k;var P=d.get(k);if(!P){if(T){var L="_$"+k+"$"+x+"_";v(L)&&(P=L)}if(!P)do P=r.get(++h);while(!v(P));d.set(k,P)}return P}function O(k){return k.transform(new br(function(P){if(P instanceof mt){var L=P.expressions.length-1;P.expressions[L]=O(P.expressions[L])}else P instanceof bt?(bd(P,xs),P.value=A(P.value)):P instanceof it&&(P.consequent=O(P.consequent),P.alternative=O(P.alternative));return P}))}}var yv=typeof Buffer<"u"?t=>Buffer.from(t,"base64").toString():t=>decodeURIComponent(escape(atob(t))),gv=typeof Buffer<"u"?t=>Buffer.from(t).toString("base64"):t=>btoa(unescape(encodeURIComponent(t)));function vv(t){var e=/(?:^|[^.])\/\/# sourceMappingURL=data:application\/json(;[\w=-]*)?;base64,([+/0-9A-Za-z]*=*)\s*$/.exec(t);return e?yv(e[2]):(console.warn("inline source map not found"),null)}function go(t,e,n){e[t]&&n.forEach(function(r){e[r]&&(typeof e[r]!="object"&&(e[r]={}),t in e[r]||(e[r][t]=e[t]))})}function o_(t){t&&("props"in t?t.props instanceof Map||(t.props=sg(t.props)):t.props=new Map)}function a_(t){return{props:ug(t.props)}}function bv(t,e,n,r){if(!(n&&n.writeFileSync&&n.mkdirSync))return;try{n.mkdirSync(r)}catch(d){if(d.code!=="EEXIST")throw d}const a=`${r}/terser-debug-${Math.random()*9999999|0}.log`;e=e||{};const c=JSON.stringify(e,(d,E)=>typeof E=="function"?"[Function "+E.toString()+"]":E instanceof RegExp?"[RegExp "+E.toString()+"]":E,4),h=d=>typeof d=="object"&&e.parse&&e.parse.spidermonkey?JSON.stringify(d,null,2):typeof d=="object"?Object.keys(d).map(E=>E+": "+h(d[E])).join(`
|
194
|
+
|
195
|
+
`):typeof d=="string"?"```\n"+d+"\n```":d;n.writeFileSync(a,`Options:
|
196
|
+
`+c+`
|
197
|
+
|
198
|
+
Input files:
|
199
|
+
|
200
|
+
`+h(t)+`
|
201
|
+
`)}function*Ev(t,e,n){n&&typeof process=="object"&&process.env&&typeof process.env.TERSER_DEBUG_DIR=="string"&&bv(t,e,n,process.env.TERSER_DEBUG_DIR),e=xi(e,{compress:{},ecma:void 0,enclose:!1,ie8:!1,keep_classnames:void 0,keep_fnames:!1,mangle:{},module:!1,nameCache:null,output:null,format:null,parse:{},rename:void 0,safari10:!1,sourceMap:!1,spidermonkey:!1,timings:!1,toplevel:!1,warnings:!1,wrap:!1},!0);var r=e.timings&&{start:Date.now()};if(e.keep_classnames===void 0&&(e.keep_classnames=e.keep_fnames),e.rename===void 0&&(e.rename=e.compress&&e.mangle),e.output&&e.format)throw new Error("Please only specify either output or format option, preferrably format.");e.format=e.format||e.output||{},go("ecma",e,["parse","compress","format"]),go("ie8",e,["compress","mangle","format"]),go("keep_classnames",e,["compress","mangle"]),go("keep_fnames",e,["compress","mangle"]),go("module",e,["parse","compress","mangle"]),go("safari10",e,["mangle","format"]),go("toplevel",e,["compress","mangle"]),go("warnings",e,["compress"]);var a;e.mangle&&(e.mangle=xi(e.mangle,{cache:e.nameCache&&(e.nameCache.vars||{}),eval:!1,ie8:!1,keep_classnames:!1,keep_fnames:!1,module:!1,nth_identifier:Ts,properties:!1,reserved:[],safari10:!1,toplevel:!1},!0),e.mangle.properties&&(typeof e.mangle.properties!="object"&&(e.mangle.properties={}),e.mangle.properties.keep_quoted&&(a=e.mangle.properties.reserved,Array.isArray(a)||(a=[]),e.mangle.properties.reserved=a),e.nameCache&&!("cache"in e.mangle.properties)&&(e.mangle.properties.cache=e.nameCache.props||{})),o_(e.mangle.cache),o_(e.mangle.properties.cache)),e.sourceMap&&(e.sourceMap=xi(e.sourceMap,{asObject:!1,content:null,filename:null,includeSources:!1,root:null,url:null},!0)),r&&(r.parse=Date.now());var c;if(t instanceof Qt)c=t;else{if((typeof t=="string"||e.parse.spidermonkey&&!Array.isArray(t))&&(t=[t]),e.parse=e.parse||{},e.parse.toplevel=null,e.parse.spidermonkey)e.parse.toplevel=Oe.from_mozilla_ast(Object.keys(t).reduce(function(w,F){return w?(w.body=w.body.concat(t[F].body),w):t[F]},null));else{delete e.parse.spidermonkey;for(var h in t)if(sr(t,h)&&(e.parse.filename=h,e.parse.toplevel=ms(t[h],e.parse),e.sourceMap&&e.sourceMap.content=="inline")){if(Object.keys(t).length>1)throw new Error("inline source map only works with singular input");e.sourceMap.content=vv(t[h])}}if(e.parse.toplevel===null)throw new Error("no source file given");c=e.parse.toplevel}a&&e.mangle.properties.keep_quoted!=="strict"&&dv(c,a);var d;e.mangle&&e.mangle.properties&&(d=i_(c)),e.wrap&&(c=c.wrap_commonjs(e.wrap)),e.enclose&&(c=c.wrap_enclose(e.enclose)),r&&(r.rename=Date.now()),r&&(r.compress=Date.now()),e.compress&&(c=new Jd(e.compress,{mangle_options:e.mangle}).compress(c)),r&&(r.scope=Date.now()),e.mangle&&c.figure_out_scope(e.mangle),r&&(r.mangle=Date.now()),e.mangle&&(c.compute_char_frequency(e.mangle),c.mangle_names(e.mangle),c=_v(c,e.mangle)),r&&(r.properties=Date.now()),e.mangle&&e.mangle.properties&&(c=mv(c,e.mangle.properties,d)),r&&(r.format=Date.now());var E={};e.format.ast&&(E.ast=c),e.format.spidermonkey&&(E.ast=c.to_mozilla_ast());let b;if(!sr(e.format,"code")||e.format.code){if(b={...e.format},b.ast||(b._destroy_ast=!0,Un(c,w=>{w instanceof Ye&&(w.variables=void 0,w.enclosed=void 0,w.parent_scope=void 0),w.block_scope&&(w.block_scope.variables=void 0,w.block_scope.enclosed=void 0,w.parent_scope=void 0)})),e.sourceMap){if(e.sourceMap.includeSources&&t instanceof Qt)throw new Error("original source content unavailable");b.source_map=yield*fv({file:e.sourceMap.filename,orig:e.sourceMap.content,root:e.sourceMap.root,files:e.sourceMap.includeSources?t:null})}delete b.ast,delete b.code,delete b.spidermonkey;var T=wf(b);if(c.print(T),E.code=T.get(),e.sourceMap)if(Object.defineProperty(E,"map",{configurable:!0,enumerable:!0,get(){const w=b.source_map.getEncoded();return E.map=e.sourceMap.asObject?w:JSON.stringify(w)},set(w){Object.defineProperty(E,"map",{value:w,writable:!0})}}),E.decoded_map=b.source_map.getDecoded(),e.sourceMap.url=="inline"){var x=typeof E.map=="object"?JSON.stringify(E.map):E.map;E.code+=`
|
202
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,`+gv(x)}else e.sourceMap.url&&(E.code+=`
|
203
|
+
//# sourceMappingURL=`+e.sourceMap.url)}return e.nameCache&&e.mangle&&(e.mangle.cache&&(e.nameCache.vars=a_(e.mangle.cache)),e.mangle.properties&&e.mangle.properties.cache&&(e.nameCache.props=a_(e.mangle.properties.cache))),b&&b.source_map&&b.source_map.destroy(),r&&(r.end=Date.now(),E.timings={parse:.001*(r.rename-r.parse),rename:.001*(r.compress-r.rename),compress:.001*(r.scope-r.compress),scope:.001*(r.mangle-r.scope),mangle:.001*(r.properties-r.mangle),properties:.001*(r.format-r.properties),format:.001*(r.end-r.format),total:.001*(r.end-r.start)}),E}async function s_(t,e,n){const r=Ev(t,e,n);let a,c;do c=r.next(await a),a=c.value;while(!c.done);return c.value}function u_(t){const e=new Nm(t),n=new kl(e);n.removeErrorListeners();const r=new wm(n),a=new j(r);a._interp.predictionMode=Um.SLL,a.removeErrorListeners();const c=new Tv;n.addErrorListener(c),a.addErrorListener(c),a.buildParseTrees=!0;const h=a.program(),d=r.tokens.filter(E=>E.channel===2);return{errors:c.errors,ast:h,comments:d}}async function xv(t,e,n,r){const{errors:a,ast:c,comments:h}=u_(t+`
|
204
|
+
|
205
|
+
`),d=new Ap(r,h,n),E=await d.visit(c);let b=a.splice(0,1);b.length||(b=d.errors);let T="";const x=new zy("$"),w=e?"":x.preParser(E);if(e&&!b.some(F=>F.type===Pn.Error)){const F=x.parser(E)||"";T=(await s_(F,{compress:!0,mangle:!0})).code||"";const v={message:xe.indiRunErr,type:Pn.Error,startColumn:0,startLineNumber:0,endColumn:0,endLineNumber:0};if(d.hasUseDrawFunc){if(d.scriptType===Ui.library)d.exportPositions.length||(v.message=xe.libraryExportErr,b.push(v));else if(d.exportPositions.length){const p=d.exportPositions.map(g=>{const{type:A,...O}=g;return{message:Se(xe.exportUseErr,{type:A}),type:Pn.Error,...O}});b.push(...p)}}else switch(d.scriptType){case Ui.indicator:b.push(v);break;case Ui.strategy:d.hasUseCreateOrderFunc||(v.message=xe.strategyRunErr,b.push(v));break}}return{errors:b,functions:Object.fromEntries(d.userFunctions),variables:Object.fromEntries(d.userVariables),types:Object.fromEntries(d.userTypes),methods:Object.fromEntries(d.userMethods),overloadsFuncs:d.overloadsFuncs,imports:Object.fromEntries(d.imports),enums:Object.fromEntries(d.userEnums),codeStr:T,preParserCode:w}}async function Sv(t,e,n,r){const{ast:a,comments:c}=u_(t+`
|
206
|
+
|
207
|
+
`),h=new Ap(r,c,n),d=await h.visit(a),{name:E,index:b}=h.endExport,T=d.findIndex(v=>v.name===E&&v.index===b),x=d.slice(0,T+1),F=new Ky("$",e).parser(x)||"",R=await s_(F,{compress:!0,mangle:!0});return{...h.exportLibs,description:h.description,codeStr:R.code||""}}class Tv extends Rm{constructor(){super(...arguments);I(this,"errors",[])}syntaxError(n,r,a,c,h){this.errors.push({message:`syntax error: ${h.replace(/expecting.+/,"")}`,type:Pn.Error,startColumn:c,startLineNumber:a,endColumn:c,endLineNumber:a})}}yf({parseTcc:xv,parseLibraryCode:Sv})})();
|