@guihz/trading-vue-editor-tes 0.0.87 → 0.0.89

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,207 @@
1
+ var Qb=Object.defineProperty;var Jb=(vo,gi,Fr)=>gi in vo?Qb(vo,gi,{enumerable:!0,configurable:!0,writable:!0,value:Fr}):vo[gi]=Fr;var I=(vo,gi,Fr)=>(Jb(vo,typeof gi!="symbol"?gi+"":gi,Fr),Fr);(function(){"use strict";var vo={92:()=>{}},gi={};function Fr(t){var e=gi[t];if(e!==void 0)return e.exports;var n=gi[t]={exports:{}};return vo[t](n,n.exports,Fr),n.exports}Fr.d=(t,e)=>{for(var n in e)Fr.o(e,n)&&!Fr.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},Fr.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 a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),t(_)==="symbol"?_:String(_)),a)}var _}Fr.d(Mt,{dx:()=>vn,q2:()=>eh,FO:()=>lm,xf:()=>su,Gy:()=>dm,s4:()=>Us,c7:()=>ym,_7:()=>om,gp:()=>sm,cK:()=>Ls,zs:()=>Oh,AV:()=>su,Xp:()=>_e,VS:()=>J,ul:()=>$o,hW:()=>hr,x1:()=>Wa,z5:()=>Hc,oN:()=>Th,TB:()=>am,u1:()=>zc,_b:()=>Gh,$F:()=>nm,_T:()=>qh,db:()=>rm,Zx:()=>Kn,_x:()=>zo,r8:()=>no,JI:()=>Le,TP:()=>fn,WU:()=>n,Nj:()=>F,ZP:()=>Zb});var n=function(){function f(){(function(a,_){if(!(a 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(a){this._text=a}}])&&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 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)}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 p(f){if(!f)return 0;var i,m,a=s(f),_=a==="string"?f:!(a!=="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 a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),d(_)==="symbol"?_:String(_)),a)}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,a;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=p(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}}],a=[{key:"hashStuff",value:function(){var _=new f;return _.update.apply(_,arguments),_.finish()}}],m&&E(i.prototype,m),a&&E(i,a),Object.defineProperty(i,"prototype",{writable:!1}),f}();function T(f){return f?typeof f=="string"?p(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 a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),R(_)==="symbol"?_:String(_)),a)}var _}var h="h-",g=function(){function f(a,_){(function(l,y){if(!(l instanceof y))throw new TypeError("Cannot call a class as a function")})(this,f),this.data={},this.hashFunction=a||T,this.equalsFunction=_||x}var i,m;return i=f,(m=[{key:"add",value:function(a){var _=h+this.hashFunction(a);if(_ in this.data){for(var l=this.data[_],y=0;y<l.length;y++)if(this.equalsFunction(a,l[y]))return l[y];return l.push(a),a}return this.data[_]=[a],a}},{key:"has",value:function(a){return this.get(a)!=null}},{key:"get",value:function(a){var _=h+this.hashFunction(a);if(_ in this.data){for(var l=this.data[_],y=0;y<l.length;y++)if(this.equalsFunction(a,l[y]))return l[y]}return null}},{key:"values",value:function(){var a=this;return Object.keys(this.data).filter(function(_){return _.startsWith(h)}).flatMap(function(_){return a.data[_]},this)}},{key:"toString",value:function(){return F(this.values())}},{key:"length",get:function(){var a=this;return Object.keys(this.data).filter(function(_){return _.startsWith(h)}).map(function(_){return a.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,a){return m.__proto__=a,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,a=N(f);if(i){var _=N(this).constructor;m=Reflect.construct(a,arguments,_)}else m=a.apply(this,arguments);return function(l,y){if(y&&(B(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 N(f){return N=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},N(f)}function B(f){return B=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},B(f)}function H(f,i){if(!(f instanceof i))throw new TypeError("Cannot call a class as a function")}function U(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(_=function(l,y){if(B(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(B(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(a.key),B(_)==="symbol"?_:String(_)),a)}var _}function Y(f,i,m){return i&&U(f.prototype,i),m&&U(f,m),Object.defineProperty(f,"prototype",{writable:!1}),f}var P=function(){function f(){H(this,f)}return Y(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 a=new G(i,m);return a.opnds.length===1?a.opnds[0]:a}},{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 a=new q(i,m);return a.opnds.length===1?a.opnds[0]:a}}]),f}(),G=function(f){A(m,f);var i=k(m);function m(a,_){var l;H(this,m),l=i.call(this);var y=new g;a instanceof m?a.opnds.map(function(S){y.add(S)}):y.add(a),_ 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 Y(m,[{key:"equals",value:function(a){return this===a||a instanceof m&&r(this.opnds,a.opnds)}},{key:"updateHashCode",value:function(a){a.update(this.opnds,"AND")}},{key:"evaluate",value:function(a,_){for(var l=0;l<this.opnds.length;l++)if(!this.opnds[l].evaluate(a,_))return!1;return!0}},{key:"evalPrecedence",value:function(a,_){for(var l=!1,y=[],o=0;o<this.opnds.length;o++){var u=this.opnds[o],S=u.evalPrecedence(a,_);if(l|=S!==u,S===null)return null;S!==P.NONE&&y.push(S)}if(!l)return this;if(y.length===0)return P.NONE;var D=null;return y.map(function(C){D=D===null?C:P.andContext(D,C)}),D}},{key:"toString",value:function(){var a=this.opnds.map(function(_){return _.toString()});return(a.length>3?a.slice(3):a).join("&&")}}]),m}(P),q=function(f){A(m,f);var i=k(m);function m(a,_){var l;H(this,m),l=i.call(this);var y=new g;a instanceof m?a.opnds.map(function(D){y.add(D)}):y.add(a),_ 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 Y(m,[{key:"equals",value:function(a){return this===a||a instanceof m&&r(this.opnds,a.opnds)}},{key:"updateHashCode",value:function(a){a.update(this.opnds,"OR")}},{key:"evaluate",value:function(a,_){for(var l=0;l<this.opnds.length;l++)if(this.opnds[l].evaluate(a,_))return!0;return!1}},{key:"evalPrecedence",value:function(a,_){for(var l=!1,y=[],o=0;o<this.opnds.length;o++){var u=this.opnds[o],S=u.evalPrecedence(a,_);if(l|=S!==u,S===P.NONE)return P.NONE;S!==null&&y.push(S)}return l?(y.length===0||y.map(function(D){return D}),null):this}},{key:"toString",value:function(){var a=this.opnds.map(function(_){return _.toString()});return(a.length>3?a.slice(3):a).join("||")}}]),m}(P);function ne(f){var i=[];return f.values().map(function(m){m instanceof P.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 a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),se(_)==="symbol"?_:String(_)),a)}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 a={};return a.state=f.state||null,a.alt=f.alt===void 0?null:f.alt,a.context=f.context||null,a.semanticContext=f.semanticContext||null,i&&(a.reachesIntoOuterContext=f.reachesIntoOuterContext||0,a.precedenceFilterSuppressed=f.precedenceFilterSuppressed||!1),a}var ce=function(){function f(a,_){(function(l,y){if(!(l instanceof y))throw new TypeError("Cannot call a class as a function")})(this,f),this.checkContext(a,_),a=ue(a),_=ue(_,!0),this.state=a.state!==null?a.state:_.state,this.alt=a.alt!==null?a.alt:_.alt,this.context=a.context!==null?a.context:_.context,this.semanticContext=a.semanticContext!==null?a.semanticContext:_.semanticContext!==null?_.semanticContext:P.NONE,this.reachesIntoOuterContext=_.reachesIntoOuterContext,this.precedenceFilterSuppressed=_.precedenceFilterSuppressed}var i,m;return i=f,(m=[{key:"checkContext",value:function(a,_){a.context!==null&&a.context!==void 0||_!==null&&_.context!==null&&_.context!==void 0||(this.context=null)}},{key:"hashCode",value:function(){var a=new b;return this.updateHashCode(a),a.finish()}},{key:"updateHashCode",value:function(a){a.update(this.state.stateNumber,this.alt,this.context,this.semanticContext)}},{key:"equals",value:function(a){return this===a||a instanceof f&&this.state.stateNumber===a.state.stateNumber&&this.alt===a.alt&&(this.context===null?a.context===null:this.context.equals(a.context))&&this.semanticContext.equals(a.semanticContext)&&this.precedenceFilterSuppressed===a.precedenceFilterSuppressed}},{key:"hashCodeForConfigSet",value:function(){var a=new b;return a.update(this.state.stateNumber,this.alt,this.semanticContext),a.finish()}},{key:"equalsForConfigSet",value:function(a){return this===a||a instanceof f&&this.state.stateNumber===a.state.stateNumber&&this.alt===a.alt&&this.semanticContext.equals(a.semanticContext)}},{key:"toString",value:function(){return"("+this.state+","+this.alt+(this.context!==null?",["+this.context.toString()+"]":"")+(this.semanticContext!==P.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 xe(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),Ee(_)==="symbol"?_:String(_)),a)}var _}var _e=function(){function f(a,_){(function(l,y){if(!(l instanceof y))throw new TypeError("Cannot call a class as a function")})(this,f),this.start=a,this.stop=_}var i,m;return i=f,(m=[{key:"clone",value:function(){return new f(this.start,this.stop)}},{key:"contains",value:function(a){return a>=this.start&&a<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}}])&&xe(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 X(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),oe(_)==="symbol"?_:String(_)),a)}var _}_e.INVALID_INTERVAL=new _e(-1,-2);var J=function(){function f(){(function(a,_){if(!(a 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(a){return this.intervals===null||this.intervals.length===0?n.INVALID_TYPE:this.intervals[0].start}},{key:"addOne",value:function(a){this.addInterval(new _e(a,a+1))}},{key:"addRange",value:function(a,_){this.addInterval(new _e(a,_+1))}},{key:"addInterval",value:function(a){if(this.intervals===null)this.intervals=[],this.intervals.push(a.clone());else{for(var _=0;_<this.intervals.length;_++){var l=this.intervals[_];if(a.stop<l.start)return void this.intervals.splice(_,0,a);if(a.stop===l.start)return void(this.intervals[_]=new _e(a.start,l.stop));if(a.start<=l.stop)return this.intervals[_]=new _e(Math.min(l.start,a.start),Math.max(l.stop,a.stop)),void this.reduce(_)}this.intervals.push(a.clone())}}},{key:"addSet",value:function(a){var _=this;return a.intervals!==null&&a.intervals.forEach(function(l){return _.addInterval(l)},this),this}},{key:"reduce",value:function(a){if(a<this.intervals.length-1){var _=this.intervals[a],l=this.intervals[a+1];_.stop>=l.stop?(this.intervals.splice(a+1,1),this.reduce(a)):_.stop>=l.start&&(this.intervals[a]=new _e(_.start,l.stop),this.intervals.splice(a+1,1))}}},{key:"complement",value:function(a,_){var l=new f;return l.addInterval(new _e(a,_+1)),this.intervals!==null&&this.intervals.forEach(function(y){return l.removeRange(y)}),l}},{key:"contains",value:function(a){if(this.intervals===null)return!1;for(var _=0;_<this.intervals.length;_++)if(this.intervals[_].contains(a))return!0;return!1}},{key:"removeRange",value:function(a){if(a.start===a.stop-1)this.removeOne(a.start);else if(this.intervals!==null)for(var _=0,l=0;l<this.intervals.length;l++){var y=this.intervals[_];if(a.stop<=y.start)return;if(a.start>y.start&&a.stop<y.stop){this.intervals[_]=new _e(y.start,a.start);var o=new _e(a.stop,y.stop);return void this.intervals.splice(_,0,o)}a.start<=y.start&&a.stop>=y.stop?(this.intervals.splice(_,1),_-=1):a.start<y.stop?this.intervals[_]=new _e(y.start,a.start):a.stop<y.stop&&(this.intervals[_]=new _e(a.stop,y.stop)),_+=1}}},{key:"removeOne",value:function(a){if(this.intervals!==null)for(var _=0;_<this.intervals.length;_++){var l=this.intervals[_];if(a<l.start)return;if(a===l.start&&a===l.stop-1)return void this.intervals.splice(_,1);if(a===l.start)return void(this.intervals[_]=new _e(l.start+1,l.stop));if(a===l.stop-1)return void(this.intervals[_]=new _e(l.start,l.stop-1));if(a<l.stop-1){var y=new _e(l.start,a);return l.start=a+1,void this.intervals.splice(_,0,y)}}}},{key:"toString",value:function(a,_,l){return a=a||null,_=_||null,l=l||!1,this.intervals===null?"{}":a!==null||_!==null?this.toTokenString(a,_):l?this.toCharString():this.toIndexString()}},{key:"toCharString",value:function(){for(var a=[],_=0;_<this.intervals.length;_++){var l=this.intervals[_];l.stop===l.start+1?l.start===n.EOF?a.push("<EOF>"):a.push("'"+String.fromCharCode(l.start)+"'"):a.push("'"+String.fromCharCode(l.start)+"'..'"+String.fromCharCode(l.stop-1)+"'")}return a.length>1?"{"+a.join(", ")+"}":a[0]}},{key:"toIndexString",value:function(){for(var a=[],_=0;_<this.intervals.length;_++){var l=this.intervals[_];l.stop===l.start+1?l.start===n.EOF?a.push("<EOF>"):a.push(l.start.toString()):a.push(l.start.toString()+".."+(l.stop-1).toString())}return a.length>1?"{"+a.join(", ")+"}":a[0]}},{key:"toTokenString",value:function(a,_){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(a,_,u));return l.length>1?"{"+l.join(", ")+"}":l[0]}},{key:"elementName",value:function(a,_,l){return l===n.EOF?"<EOF>":l===n.EPSILON?"<EPSILON>":a[l]||_[l]}},{key:"length",get:function(){return this.intervals.map(function(a){return a.length}).reduce(function(a,_){return a+_})}}])&&X(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 a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),te(_)==="symbol"?_:String(_)),a)}var _}var me=function(){function f(){(function(a,_){if(!(a 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(a){return a instanceof f&&this.stateNumber===a.stateNumber}},{key:"isNonGreedyExitState",value:function(){return!1}},{key:"addTransition",value:function(a,_){_===void 0&&(_=-1),this.transitions.length===0?this.epsilonOnlyTransitions=a.isEpsilon:this.epsilonOnlyTransitions!==a.isEpsilon&&(this.epsilonOnlyTransitions=!1),_===-1?this.transitions.push(a):this.transitions.splice(_,1,a)}}])&&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,a){return m.__proto__=a,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,a,_=(m=l,a=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(a){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 a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),Ct(_)==="symbol"?_:String(_)),a)}var _}function Oe(f,i,m){return i&&le(f.prototype,i),m&&le(f,m),Object.defineProperty(f,"prototype",{writable:!1}),f}var be=Oe(function f(i){if(function(m,a){if(!(m instanceof a))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 a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),pt(_)==="symbol"?_:String(_)),a)}var _}function Rt(f,i){return Rt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},Rt(f,i)}function mn(f){return mn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},mn(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,a,_,l=(a=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=mn(a);if(_){var S=mn(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(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(D)}(this,o)});function y(o,u,S,D){var C;return function(M,fe){if(!(M 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 a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),Pt(_)==="symbol"?_:String(_)),a)}var _}function It(f,i){return It=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},It(f,i)}function tn(f){return tn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},tn(f)}var rr=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,a,_,l=(a=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=tn(a);if(_){var S=tn(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(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(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 z(f){return z=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},z(f)}function Fe(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(_=function(l,y){if(z(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(z(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(a.key),z(_)==="symbol"?_:String(_)),a)}var _}function Ue(){return Ue=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(f,i,m){var a=function(l,y){for(;!Object.prototype.hasOwnProperty.call(l,y)&&(l=Qe(l))!==null;);return l}(f,i);if(a){var _=Object.getOwnPropertyDescriptor(a,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,a){return m.__proto__=a,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,a,_,l=(a=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(a);if(_){var S=Qe(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(D,C){if(C&&(z(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(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}(rr);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 ln(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),ft(_)==="symbol"?_:String(_)),a)}var _}function yn(f,i){return yn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},yn(f,i)}function Vr(f){return Vr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Vr(f)}var Dn=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&&yn(o,u)})(y,f);var i,m,a,_,l=(a=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=Vr(a);if(_){var S=Vr(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(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(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"."}}])&&ln(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(be);function nn(f){return nn=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},nn(f)}function wi(f,i){return wi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},wi(f,i)}function jr(f){return jr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},jr(f)}var Ri=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&&wi(y,o)})(l,f);var i,m,a,_=(m=l,a=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=jr(m);if(a){var u=jr(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return function(S,D){if(D&&(nn(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 ir(f){return ir=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},ir(f)}function Or(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(_=function(l,y){if(ir(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(ir(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(a.key),ir(_)==="symbol"?_:String(_)),a)}var _}function Ji(f,i,m){return i&&Or(f.prototype,i),m&&Or(f,m),Object.defineProperty(f,"prototype",{writable:!1}),f}function yi(f){return yi=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},yi(f)}function fr(f,i){return fr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},fr(f,i)}function Hr(f){return Hr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Hr(f)}function eo(f){return eo=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},eo(f)}function dt(f,i){return dt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},dt(f,i)}function Jn(f){return Jn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Jn(f)}var L=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,a,_=(m=l,a=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=Jn(m);if(a){var u=Jn(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return function(S,D){if(D&&(eo(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,a,_=(m=l,a=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(a){var u=Hr(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return function(S,D){if(D&&(yi(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}(Ji(function f(){(function(i,m){if(!(i instanceof m))throw new TypeError("Cannot call a class as a function")})(this,f)})));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 ee(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),K(_)==="symbol"?_:String(_)),a)}var _}function ae(f,i){return ae=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,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,a,_,l=(a=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(a);if(_){var S=he(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(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(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}(L);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,a){return m.__proto__=a,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 fn=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,a,_=(m=l,a=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(a){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}(L);function Sn(f){return Sn=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},Sn(f)}function $r(f,i){return $r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},$r(f,i)}function Kt(f){return Kt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Kt(f)}var ei=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&&$r(y,o)})(l,f);var i,m,a,_=(m=l,a=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(a){var u=Kt(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return function(S,D){if(D&&(Sn(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}(fn),wr={toStringTree:function(f,i,m){i=i||null,(m=m||null)!==null&&(i=m.ruleNames);var a=wr.getNodeText(f,i);a=function(o,u){return o=o.replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r")}(a);var _=f.getChildCount();if(_===0)return a;var l="("+a+" ";_>0&&(a=wr.toStringTree(f.getChild(0),i),l=l.concat(a));for(var y=1;y<_;y++)a=wr.toStringTree(f.getChild(y),i),l=l.concat(" "+a);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 a=f.ruleContext.getAltNumber();return a!=0?i[f.ruleIndex]+":"+a:i[f.ruleIndex]}if(f instanceof ei)return f.toString();if(f instanceof fn&&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 wr.findAllNodes(f,i,!0)},findAllRuleNodes:function(f,i){return wr.findAllNodes(f,i,!1)},findAllNodes:function(f,i,m){var a=[];return wr._findAllNodes(f,i,m,a),a},_findAllNodes:function(f,i,m,a){m&&f instanceof fn?f.symbol.type===i&&a.push(f):!m&&f instanceof Le&&f.ruleIndex===i&&a.push(f);for(var _=0;_<f.getChildCount();_++)wr._findAllNodes(f.getChild(_),i,m,a)},descendants:function(f){for(var i=[f],m=0;m<f.getChildCount();m++)i=i.concat(wr.descendants(f.getChild(m)));return i}};const Qu=wr;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 r0(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(_=function(l,y){if(to(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(to(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(a.key),to(_)==="symbol"?_:String(_)),a)}var _}function jo(f,i){return jo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},jo(f,i)}function pa(f){return pa=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},pa(f)}var no=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&&jo(o,u)})(y,f);var i,m,a,_,l=(a=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(a);if(_){var S=pa(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(D,C){if(C&&(to(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(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 Qu.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+"]"}}])&&r0(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(Le);function Ho(f){return Ho=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},Ho(f)}function da(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(_=function(l,y){if(Ho(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ho(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(a.key),Ho(_)==="symbol"?_:String(_)),a)}var _}var st=function(){function f(a){(function(_,l){if(!(_ instanceof l))throw new TypeError("Cannot call a class as a function")})(this,f),this.cachedHashCode=a}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(a){a.update(this.cachedHashCode)}}])&&da(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();function W(f){return W=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},W(f)}function Z(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(_=function(l,y){if(W(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(W(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(a.key),W(_)==="symbol"?_:String(_)),a)}var _}function ie(f,i){return ie=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},ie(f,i)}function de(f,i){if(i&&(W(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Te(f)}function Te(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function Se(f){return Se=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Se(f)}st.EMPTY=null,st.EMPTY_RETURN_STATE=2147483647,st.globalNodeCount=1,st.id=st.globalNodeCount,st.trace_atn_sim=!1;var Ce=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,a,_,l=(a=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=Se(a);if(_){var S=Se(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(M,fe){if(!(M 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,Te(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}}])&&Z(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 a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),Ke(_)==="symbol"?_:String(_)),a)}var _}function ut(f,i){return ut=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,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,a,_,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,M){if(M&&(Ke(M)==="object"||typeof M=="function"))return M;if(M!==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,M=new b;return u!==null?M.update(u,S):M.update(1),C=M.finish(),(D=y.call(this,C)).parentCtx=u,D.returnState=S,D}return i=o,a=[{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),a&&Me(i,a),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 kn(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),Yt(_)==="symbol"?_:String(_)),a)}var _}function zn(f,i){return zn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},zn(f,i)}function er(f){return er=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},er(f)}var Gr=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&&zn(o,u)})(y,f);var i,m,a,_,l=(a=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=er(a);if(_){var S=er(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(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(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"$"}}])&&kn(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(_t);function ti(f){return ti=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},ti(f)}function Os(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(_=function(l,y){if(ti(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(ti(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(a.key),ti(_)==="symbol"?_:String(_)),a)}var _}st.EMPTY=new Gr;var tr="h-",ro=function(){function f(a,_){(function(l,y){if(!(l instanceof y))throw new TypeError("Cannot call a class as a function")})(this,f),this.data={},this.hashFunction=a||T,this.equalsFunction=_||x}var i,m;return i=f,(m=[{key:"set",value:function(a,_){var l=tr+this.hashFunction(a);if(l in this.data){for(var y=this.data[l],o=0;o<y.length;o++){var u=y[o];if(this.equalsFunction(a,u.key)){var S=u.value;return u.value=_,S}}return y.push({key:a,value:_}),_}return this.data[l]=[{key:a,value:_}],_}},{key:"containsKey",value:function(a){var _=tr+this.hashFunction(a);if(_ in this.data)for(var l=this.data[_],y=0;y<l.length;y++){var o=l[y];if(this.equalsFunction(a,o.key))return!0}return!1}},{key:"get",value:function(a){var _=tr+this.hashFunction(a);if(_ in this.data)for(var l=this.data[_],y=0;y<l.length;y++){var o=l[y];if(this.equalsFunction(a,o.key))return o.value}return null}},{key:"entries",value:function(){var a=this;return Object.keys(this.data).filter(function(_){return _.startsWith(tr)}).flatMap(function(_){return a.data[_]},this)}},{key:"getKeys",value:function(){return this.entries().map(function(a){return a.key})}},{key:"getValues",value:function(){return this.entries().map(function(a){return a.value})}},{key:"toString",value:function(){return"["+this.entries().map(function(a){return"{"+a.key+":"+a.value+"}"}).join(", ")+"]"}},{key:"length",get:function(){var a=this;return Object.keys(this.data).filter(function(_){return _.startsWith(tr)}).map(function(_){return a.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=no.EMPTY),i.parentCtx===null||i===no.EMPTY)return st.EMPTY;var m=_a(f,i.parentCtx),a=f.states[i.invokingState].transitions[0];return _t.create(m,a.followState.stateNumber)}function Ju(f,i,m){if(f.isEmpty())return f;var a=m.get(f)||null;if(a!==null)return a;if((a=i.get(f))!==null)return m.set(f,a),a;for(var _=!1,l=[],y=0;y<l.length;y++){var o=Ju(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 Ce(l,f.returnStates),i.add(S),m.set(S,S),m.set(f,S),S}function ma(f,i,m,a){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,bn,gn){if(gn){if(We===st.EMPTY||bn===st.EMPTY)return st.EMPTY}else{if(We===st.EMPTY&&bn===st.EMPTY)return st.EMPTY;if(We===st.EMPTY){var Wn=[bn.returnState,st.EMPTY_RETURN_STATE],Wr=[bn.parentCtx,null];return new Ce(Wr,Wn)}if(bn===st.EMPTY){var Ii=[We.returnState,st.EMPTY_RETURN_STATE],Bi=[We.parentCtx,null];return new Ce(Bi,Ii)}}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 M=null;if((_===l||_.parentCtx!==null&&_.parentCtx===l.parentCtx)&&(M=_.parentCtx),M!==null){var fe=[_.returnState,l.returnState];_.returnState>l.returnState&&(fe[0]=l.returnState,fe[1]=_.returnState);var Ne=new Ce([M,M],fe);return o!==null&&o.set(_,l,Ne),Ne}var we=[_.returnState,l.returnState],Ge=[_.parentCtx,l.parentCtx];_.returnState>l.returnState&&(we[0]=l.returnState,we[1]=_.returnState,Ge=[l.parentCtx,_.parentCtx]);var ct=new Ce(Ge,we);return o!==null&&o.set(_,l,ct),ct}(f,i,m,a);if(m){if(f instanceof Gr)return f;if(i instanceof Gr)return i}return f instanceof _t&&(f=new Ce([f.getParent()],[f.returnState])),i instanceof _t&&(i=new Ce([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,M=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],we=l.parents[D];if(_.returnStates[S]===l.returnStates[D]){var Ge=_.returnStates[S];Ge===st.EMPTY_RETURN_STATE&&Ne===null&&we===null||Ne!==null&&we!==null&&Ne===we?(fe[C]=Ne,M[C]=Ge):(fe[C]=ma(Ne,we,y,o),M[C]=Ge),S+=1,D+=1}else _.returnStates[S]<l.returnStates[D]?(fe[C]=Ne,M[C]=_.returnStates[S],S+=1):(fe[C]=we,M[C]=l.returnStates[D],D+=1);C+=1}if(S<_.returnStates.length)for(var ct=S;ct<_.returnStates.length;ct++)fe[C]=_.parents[ct],M[C]=_.returnStates[ct],C+=1;else for(var We=D;We<l.returnStates.length;We++)fe[C]=l.parents[We],M[C]=l.returnStates[We],C+=1;if(C<fe.length){if(C===1){var bn=_t.create(fe[0],M[0]);return o!==null&&o.set(_,l,bn),bn}fe=fe.slice(0,C),M=M.slice(0,C)}var gn=new Ce(fe,M);return gn.equals(_)?(o!==null&&o.set(_,l,_),st.trace_atn_sim&&console.log("mergeArrays a="+_+",b="+l+" -> a"),_):gn.equals(l)?(o!==null&&o.set(_,l,l),st.trace_atn_sim&&console.log("mergeArrays a="+_+",b="+l+" -> b"),l):(function(Wn){for(var Wr=new ro,Ii=0;Ii<Wn.length;Ii++){var Bi=Wn[Ii];Wr.containsKey(Bi)||Wr.set(Bi,Bi)}for(var Rr=0;Rr<Wn.length;Rr++)Wn[Rr]=Wr.get(Wn[Rr])}(fe),o!==null&&o.set(_,l,gn),st.trace_atn_sim&&console.log("mergeArrays a="+_+",b="+l+" -> "+gn),gn)}(f,i,m,a)}function io(f){return io=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},io(f)}function oo(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(_=function(l,y){if(io(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(io(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(a.key),io(_)==="symbol"?_:String(_)),a)}var _}var zr=function(){function f(){(function(a,_){if(!(a 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(a){this.data[a]=!0}},{key:"or",value:function(a){var _=this;Object.keys(a.data).map(function(l){return _.add(l)},this)}},{key:"remove",value:function(a){delete this.data[a]}},{key:"has",value:function(a){return this.data[a]===!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(a){return a instanceof f&&r(this.data,a.data)}},{key:"toString",value:function(){return"{"+this.values().join(", ")+"}"}},{key:"length",get:function(){return this.values().length}}])&&oo(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();function go(f){return go=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},go(f)}function ec(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,(_=function(l,y){if(go(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(go(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(a.key),go(_)==="symbol"?_:String(_)),a)}var _}var $o=function(){function f(a){(function(_,l){if(!(_ instanceof l))throw new TypeError("Cannot call a class as a function")})(this,f),this.atn=a}var i,m;return i=f,(m=[{key:"getDecisionLookahead",value:function(a){if(a===null)return null;for(var _=a.transitions.length,l=[],y=0;y<_;y++){l[y]=new J;var o=new g;this._LOOK(a.transition(y).target,null,st.EMPTY,l[y],o,new zr,!1,!1),(l[y].length===0||l[y].contains(f.HIT_PRED))&&(l[y]=null)}return l}},{key:"LOOK",value:function(a,_,l){var y=new J,o=(l=l||null)!==null?_a(a.atn,l):null;return this._LOOK(a,_,o,y,new g,new zr,!0,!0),y}},{key:"_LOOK",value:function(a,_,l,y,o,u,S,D){var C=new ce({state:a,alt:0,context:l},null);if(!o.has(C)){if(o.add(C),a===_){if(l===null)return void y.addOne(n.EPSILON);if(l.isEmpty()&&D)return void y.addOne(n.EOF)}if(a 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 M=u.has(a.ruleIndex);try{u.remove(a.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{M&&u.add(a.ruleIndex)}return}}for(var we=0;we<a.transitions.length;we++){var Ge=a.transitions[we];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 Ri)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===Dn)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))}}}}}])&&ec(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 xv(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),ws(_)==="symbol"?_:String(_)),a)}var _}$o.HIT_PRED=n.INVALID_TYPE;var vn=function(){function f(a,_){(function(l,y){if(!(l instanceof y))throw new TypeError("Cannot call a class as a function")})(this,f),this.grammarType=a,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(a,_){return new $o(this).LOOK(a,null,_)}},{key:"nextTokensNoContext",value:function(a){return a.nextTokenWithinRule!==null||(a.nextTokenWithinRule=this.nextTokensInContext(a,null),a.nextTokenWithinRule.readOnly=!0),a.nextTokenWithinRule}},{key:"nextTokens",value:function(a,_){return _===void 0?this.nextTokensNoContext(a):this.nextTokensInContext(a,_)}},{key:"addState",value:function(a){a!==null&&(a.atn=this,a.stateNumber=this.states.length),this.states.push(a)}},{key:"removeState",value:function(a){this.states[a.stateNumber]=null}},{key:"defineDecisionState",value:function(a){return this.decisionToState.push(a),a.decision=this.decisionToState.length-1,a.decision}},{key:"getDecisionState",value:function(a){return this.decisionToState.length===0?null:this.decisionToState[a]}},{key:"getExpectedTokens",value:function(a,_){if(a<0||a>=this.states.length)throw"Invalid state number.";var l=this.states[a],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}}])&&xv(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();vn.INVALID_ALT_NUMBER=0;function i0(f){return i0=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},i0(f)}function o0(f,i){return o0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},o0(f,i)}function tc(f){return tc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},tc(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&&o0(y,o)})(l,f);var i,m,a,_=(m=l,a=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=tc(m);if(a){var u=tc(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return function(S,D){if(D&&(i0(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 a0(f){return a0=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},a0(f)}function s0(f,i){return s0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},s0(f,i)}function s_(f,i){if(i&&(a0(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return u_(f)}function u_(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)}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&&s0(y,o)})(l,f);var i,m,a,_=(m=l,a=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(a){var u=nc(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)).decision=-1,y.nonGreedy=!1,s_(y,u_(y))}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(me);function u0(f){return u0=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},u0(f)}function c0(f,i){return c0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},c0(f,i)}function c_(f,i){if(i&&(u0(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return l_(f)}function l_(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 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&&c0(y,o)})(l,f);var i,m,a,_=(m=l,a=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(a){var u=rc(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)).endState=null,c_(y,l_(y))}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(ya);function l0(f){return l0=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},l0(f)}function f0(f,i){return f0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},f0(f,i)}function f_(f,i){if(i&&(l0(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return h_(f)}function h_(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 h0=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&&f0(y,o)})(l,f);var i,m,a,_=(m=l,a=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(a){var u=ic(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.BLOCK_END,y.startState=null,f_(y,h_(y))}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(me);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,a){return m.__proto__=a,m},d0(f,i)}function p_(f,i){if(i&&(p0(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 oc(f){return oc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},oc(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&&d0(y,o)})(l,f);var i,m,a,_=(m=l,a=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(a){var u=oc(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.LOOP_END,y.loopBackState=null,p_(y,d_(y))}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(me);function _0(f){return _0=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},_0(f)}function m0(f,i){return m0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},m0(f,i)}function __(f,i){if(i&&(_0(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return m_(f)}function m_(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 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&&m0(y,o)})(l,f);var i,m,a,_=(m=l,a=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(a){var u=ac(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return __(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,__(y,m_(y))}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(me);function y0(f){return y0=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},y0(f)}function g0(f,i){return g0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},g0(f,i)}function g_(f,i){if(i&&(y0(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 Sv=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&&g0(y,o)})(l,f);var i,m,a,_=(m=l,a=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(a){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.TOKEN_START,g_(y,v_(y))}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(ya);function v0(f){return v0=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},v0(f)}function b0(f,i){return b0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},b0(f,i)}function b_(f,i){if(i&&(v0(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return E_(f)}function E_(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 x_=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&&b0(y,o)})(l,f);var i,m,a,_=(m=l,a=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(a){var u=uc(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return b_(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,b_(y,E_(y))}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(ya);function E0(f){return E0=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},E0(f)}function x0(f,i){return x0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},x0(f,i)}function S_(f,i){if(i&&(E0(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 S0=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&&x0(y,o)})(l,f);var i,m,a,_=(m=l,a=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(a){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.STAR_LOOP_BACK,S_(y,T_(y))}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(me);function T0(f){return T0=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},T0(f)}function A0(f,i){return A0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},A0(f,i)}function A_(f,i){if(i&&(T0(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return C_(f)}function C_(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 Go=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&&A0(y,o)})(l,f);var i,m,a,_=(m=l,a=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(a){var u=lc(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return A_(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,A_(y,C_(y))}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(ya);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,a){return m.__proto__=a,m},D0(f,i)}function D_(f,i){if(i&&(C0(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return k_(f)}function k_(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 k0=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,a,_=(m=l,a=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(a){var u=fc(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.PLUS_BLOCK_START,y.loopBackState=null,D_(y,k_(y))}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(ga);function O0(f){return O0=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},O0(f)}function w0(f,i){return w0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},w0(f,i)}function O_(f,i){if(i&&(O0(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return w_(f)}function w_(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 R0=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&&w0(y,o)})(l,f);var i,m,a,_=(m=l,a=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(a){var u=hc(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return O_(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,O_(y,w_(y))}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(ga);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 N0(f,i){return N0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},N0(f,i)}function R_(f,i){if(i&&(F0(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 pc(f){return pc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},pc(f)}var N_=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&&N0(y,o)})(l,f);var i,m,a,_=(m=l,a=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(a){var u=pc(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return R_(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,R_(y,F_(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 Tv(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),ba(_)==="symbol"?_:String(_)),a)}var _}function P0(f,i){return P0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},P0(f,i)}function dc(f){return dc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},dc(f)}var I0=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&&P0(o,u)})(y,f);var i,m,a,_,l=(a=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(a);if(_){var S=dc(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(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(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_}}])&&Tv(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 Av(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),Ea(_)==="symbol"?_:String(_)),a)}var _}function B0(f,i){return B0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},B0(f,i)}function _c(f){return _c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},_c(f)}var Cv=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&&B0(o,u)})(y,f);var i,m,a,_,l=(a=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(a);if(_){var S=_c(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(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(D)}(this,o)});function y(o,u,S){var D;return function(C,M){if(!(C instanceof M))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)+"'"}}])&&Av(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 Dv(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),xa(_)==="symbol"?_:String(_)),a)}var _}function L0(f,i){return L0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},L0(f,i)}function mc(f){return mc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},mc(f)}var P_=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,a,_,l=(a=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(a);if(_){var S=mc(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(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(D)}(this,o)});function y(o,u,S,D){var C;return function(M,fe){if(!(M 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}}])&&Dv(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 kv(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),Sa(_)==="symbol"?_:String(_)),a)}var _}function M0(f,i){return M0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},M0(f,i)}function yc(f){return yc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},yc(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&&M0(o,u)})(y,f);var i,m,a,_,l=(a=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(a);if(_){var S=yc(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(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(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"}}])&&kv(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 Ov(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),Ta(_)==="symbol"?_:String(_)),a)}var _}function U0(f,i){return U0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},U0(f,i)}function gc(f){return gc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},gc(f)}var I_=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&&U0(o,u)})(y,f);var i,m,a,_,l=(a=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(a);if(_){var S=gc(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(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(D)}(this,o)});function y(o,u,S){var D;return function(C,M){if(!(C instanceof M))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+"}?"}}])&&Ov(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(P);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 wv(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),Aa(_)==="symbol"?_:String(_)),a)}var _}function V0(f,i){return V0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},V0(f,i)}function vc(f){return vc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},vc(f)}P.NONE=new I_;var B_=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,a,_,l=(a=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(a);if(_){var S=vc(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(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(D)}(this,o)});function y(o,u,S,D){var C;return function(M,fe){if(!(M 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 I_(this.ruleIndex,this.predIndex,this.isCtxDependent)}},{key:"toString",value:function(){return"pred_"+this.ruleIndex+":"+this.predIndex}}])&&wv(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(Ri);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 Rv(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),Ca(_)==="symbol"?_:String(_)),a)}var _}function j0(f,i){return j0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},j0(f,i)}function bc(f){return bc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},bc(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&&j0(o,u)})(y,f);var i,m,a,_,l=(a=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(a);if(_){var S=bc(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(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(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)?P.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}?"}}])&&Rv(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(P);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 Fv(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),Da(_)==="symbol"?_:String(_)),a)}var _}function H0(f,i){return H0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},H0(f,i)}function Ec(f){return Ec=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Ec(f)}P.PrecedencePredicate=L_;var Nv=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,a,_,l=(a=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(a);if(_){var S=Ec(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(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(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 L_(this.precedence)}},{key:"toString",value:function(){return this.precedence+" >= _p"}}])&&Fv(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(Ri);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 M_(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),Fs(_)==="symbol"?_:String(_)),a)}var _}function Pv(f,i,m){return i&&M_(f.prototype,i),m&&M_(f,m),Object.defineProperty(f,"prototype",{writable:!1}),f}var Ns=Pv(function f(i){(function(m,a){if(!(m instanceof a))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 Iv(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),Ps(_)==="symbol"?_:String(_)),a)}var _}var ao=function(){function f(a){(function(_,l){if(!(_ instanceof l))throw new TypeError("Cannot call a class as a function")})(this,f),this.actionType=a,this.isPositionDependent=!1}var i,m;return i=f,(m=[{key:"hashCode",value:function(){var a=new b;return this.updateHashCode(a),a.finish()}},{key:"updateHashCode",value:function(a){a.update(this.actionType)}},{key:"equals",value:function(a){return this===a}}])&&Iv(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 Bv(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),ka(_)==="symbol"?_:String(_)),a)}var _}function $0(f,i){return $0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},$0(f,i)}function xc(f){return xc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},xc(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&&$0(o,u)})(y,f);var i,m,a,_,l=(a=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(a);if(_){var S=xc(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(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(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"}}])&&Bv(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(ao);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 Lv(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),Oa(_)==="symbol"?_:String(_)),a)}var _}function z0(f,i){return z0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},z0(f,i)}function Sc(f){return Sc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Sc(f)}G0.INSTANCE=new G0;var Mv=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&&z0(o,u)})(y,f);var i,m,a,_,l=(a=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(a);if(_){var S=Sc(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(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(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+")"}}])&&Lv(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(ao);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 Uv(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),wa(_)==="symbol"?_:String(_)),a)}var _}function K0(f,i){return K0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},K0(f,i)}function Tc(f){return Tc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Tc(f)}var Vv=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,a,_,l=(a=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(a);if(_){var S=Tc(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(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(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}}])&&Uv(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(ao);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 jv(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),Ra(_)==="symbol"?_:String(_)),a)}var _}function W0(f,i){return W0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},W0(f,i)}function Ac(f){return Ac=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Ac(f)}var q0=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,a,_,l=(a=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(a);if(_){var S=Ac(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(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(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"}}])&&jv(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(ao);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 Hv(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),Fa(_)==="symbol"?_:String(_)),a)}var _}function X0(f,i){return X0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},X0(f,i)}function Cc(f){return Cc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Cc(f)}q0.INSTANCE=new q0;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&&X0(o,u)})(y,f);var i,m,a,_,l=(a=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(a);if(_){var S=Cc(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(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(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+")"}}])&&Hv(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(ao);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 Gv(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),Na(_)==="symbol"?_:String(_)),a)}var _}function Y0(f,i){return Y0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},Y0(f,i)}function Dc(f){return Dc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Dc(f)}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&&Y0(o,u)})(y,f);var i,m,a,_,l=(a=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(a);if(_){var S=Dc(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(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(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+")"}}])&&Gv(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(ao);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 Kv(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),Pa(_)==="symbol"?_:String(_)),a)}var _}function Z0(f,i){return Z0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},Z0(f,i)}function kc(f){return kc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},kc(f)}var Q0=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&&Z0(o,u)})(y,f);var i,m,a,_,l=(a=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(a);if(_){var S=kc(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(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(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"}}])&&Kv(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(ao);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 Wv(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),Ia(_)==="symbol"?_:String(_)),a)}var _}function J0(f,i){return J0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},J0(f,i)}function Oc(f){return Oc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Oc(f)}Q0.INSTANCE=new Q0;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&&J0(o,u)})(y,f);var i,m,a,_,l=(a=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(a);if(_){var S=Oc(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(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(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+")"}}])&&Wv(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(ao);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 Xv(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),Is(_)==="symbol"?_:String(_)),a)}var _}function wc(f,i){var m=[];return m[f-1]=i,m.map(function(a){return i})}var eh=function(){function f(a){(function(_,l){if(!(_ instanceof l))throw new TypeError("Cannot call a class as a function")})(this,f),a==null&&(a=Ns.defaultOptions),this.deserializationOptions=a,this.stateFactories=null,this.actionFactories=null}var i,m;return i=f,m=[{key:"deserialize",value:function(a){var _=this.reset(a);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(a){if((a.charCodeAt?a.charCodeAt(0):a[0])===3){var _=a.split("").map(function(l){var y=l.charCodeAt(0);return y>1?y-2:y+65534});return _[0]=a.charCodeAt(0),this.data=_,this.pos=0,!0}return this.data=a,this.pos=0,!1}},{key:"skipUUID",value:function(){for(var a=0;a++<8;)this.readInt()}},{key:"checkVersion",value:function(a){var _=this.readInt();if(!a&&_!==4)throw"Could not deserialize ATN with version "+_+" (expected 4)."}},{key:"readATN",value:function(){var a=this.readInt(),_=this.readInt();return new vn(a,_)}},{key:"readStates",value:function(a,_){for(var l,y,o,u=[],S=[],D=this.readInt(),C=0;C<D;C++){var M=this.readInt();if(M!==me.INVALID_TYPE){var fe=this.readInt();_&&fe===65535&&(fe=-1);var Ne=this.stateFactory(M,fe);if(M===me.LOOP_END){var we=this.readInt();u.push([Ne,we])}else if(Ne instanceof ga){var Ge=this.readInt();S.push([Ne,Ge])}a.addState(Ne)}else a.addState(null)}for(l=0;l<u.length;l++)(y=u[l])[0].loopBackState=a.states[y[1]];for(l=0;l<S.length;l++)(y=S[l])[0].endState=a.states[y[1]];var ct=this.readInt();for(l=0;l<ct;l++)o=this.readInt(),a.states[o].nonGreedy=!0;var We=this.readInt();for(l=0;l<We;l++)o=this.readInt(),a.states[o].isPrecedenceRule=!0}},{key:"readRules",value:function(a,_){var l,y=this.readInt();for(a.grammarType===0&&(a.ruleToTokenType=wc(y,0)),a.ruleToStartState=wc(y,0),l=0;l<y;l++){var o=this.readInt();if(a.ruleToStartState[l]=a.states[o],a.grammarType===0){var u=this.readInt();_&&u===65535&&(u=n.EOF),a.ruleToTokenType[l]=u}}for(a.ruleToStopState=wc(y,0),l=0;l<a.states.length;l++){var S=a.states[l];S instanceof St&&(a.ruleToStopState[S.ruleIndex]=S,a.ruleToStartState[S.ruleIndex].stopState=S)}}},{key:"readModes",value:function(a){for(var _=this.readInt(),l=0;l<_;l++){var y=this.readInt();a.modeToStartState.push(a.states[y])}}},{key:"readSets",value:function(a,_,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(),M=l();u.addRange(C,M)}}}},{key:"readEdges",value:function(a,_){var l,y,o,u,S,D=this.readInt();for(l=0;l<D;l++){var C=this.readInt(),M=this.readInt(),fe=this.readInt(),Ne=this.readInt(),we=this.readInt(),Ge=this.readInt();u=this.edgeFactory(a,fe,C,M,Ne,we,Ge,_),a.states[C].addTransition(u)}for(l=0;l<a.states.length;l++)for(o=a.states[l],y=0;y<o.transitions.length;y++){var ct=o.transitions[y];if(ct instanceof Dt){var We=-1;a.ruleToStartState[ct.target.ruleIndex].isPrecedenceRule&&ct.precedence===0&&(We=ct.target.ruleIndex),u=new Rs(ct.followState,We),a.ruleToStopState[ct.target.ruleIndex].addTransition(u)}}for(l=0;l<a.states.length;l++){if((o=a.states[l])instanceof ga){if(o.endState===null||o.endState.startState!==null)throw"IllegalState";o.endState.startState=o}if(o instanceof x_)for(y=0;y<o.transitions.length;y++)(S=o.transitions[y].target)instanceof k0&&(S.loopBackState=o);else if(o instanceof S0)for(y=0;y<o.transitions.length;y++)(S=o.transitions[y].target)instanceof Go&&(S.loopBackState=o)}}},{key:"readDecisions",value:function(a){for(var _=this.readInt(),l=0;l<_;l++){var y=this.readInt(),o=a.states[y];a.decisionToState.push(o),o.decision=l}}},{key:"readLexerActions",value:function(a,_){if(a.grammarType===0){var l=this.readInt();a.lexerActions=wc(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),a.lexerActions[y]=this.lexerActionFactory(o,u,S)}}}},{key:"generateRuleBypassTransitions",value:function(a){var _,l=a.ruleToStartState.length;for(_=0;_<l;_++)a.ruleToTokenType[_]=a.maxTokenType+_+1;for(_=0;_<l;_++)this.generateRuleBypassTransition(a,_)}},{key:"generateRuleBypassTransition",value:function(a,_){var l,y,o=new N_;o.ruleIndex=_,a.addState(o);var u=new h0;u.ruleIndex=_,a.addState(u),o.endState=u,a.defineDecisionState(o),u.startState=o;var S=null,D=null;if(a.ruleToStartState[_].isPrecedenceRule){for(D=null,l=0;l<a.states.length;l++)if(y=a.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=a.ruleToStopState[_];for(l=0;l<a.states.length;l++){y=a.states[l];for(var C=0;C<y.transitions.length;C++){var M=y.transitions[C];M!==S&&M.target===D&&(M.target=u)}}for(var fe=a.ruleToStartState[_],Ne=fe.transitions.length;Ne>0;)o.addTransition(fe.transitions[Ne-1]),fe.transitions=fe.transitions.slice(-1);a.ruleToStartState[_].addTransition(new Rs(o)),u.addTransition(new Rs(D));var we=new a_;a.addState(we),we.addTransition(new I0(u,a.ruleToTokenType[_])),o.addTransition(new Rs(we))}},{key:"stateIsEndStateFor",value:function(a,_){if(a.ruleIndex!==_||!(a instanceof Go))return null;var l=a.transitions[a.transitions.length-1].target;return l instanceof va&&l.epsilonOnlyTransitions&&l.transitions[0].target instanceof St?a:null}},{key:"markPrecedenceDecisions",value:function(a){for(var _=0;_<a.states.length;_++){var l=a.states[_];if(l instanceof Go&&a.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(a){if(this.deserializationOptions.verifyATN)for(var _=0;_<a.states.length;_++){var l=a.states[_];if(l!==null)if(this.checkCondition(l.epsilonOnlyTransitions||l.transitions.length<=1),l instanceof k0)this.checkCondition(l.loopBackState!==null);else if(l instanceof Go)if(this.checkCondition(l.loopBackState!==null),this.checkCondition(l.transitions.length===2),l.transitions[0].target instanceof R0)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 R0),this.checkCondition(l.nonGreedy)}else l instanceof S0?(this.checkCondition(l.transitions.length===1),this.checkCondition(l.transitions[0].target instanceof Go)):l instanceof va?this.checkCondition(l.loopBackState!==null):l instanceof y_?this.checkCondition(l.stopState!==null):l instanceof ga?this.checkCondition(l.endState!==null):l instanceof h0?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(a,_){if(!a)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(a,_,l,y,o,u,S,D){var C=a.states[y];switch(_){case be.EPSILON:return new Rs(C);case be.RANGE:return new Cv(C,S!==0?n.EOF:o,u);case be.RULE:return new Dt(a.states[o],u,S,C);case be.PREDICATE:return new B_(C,o,u,S!==0);case be.PRECEDENCE:return new Nv(C,o);case be.ATOM:return new I0(C,S!==0?n.EOF:o);case be.ACTION:return new P_(C,o,u,S!==0);case be.SET:return new rr(C,D[o]);case be.NOT_SET:return new $t(C,D[o]);case be.WILDCARD:return new Dn(C);default:throw"The specified transition type: "+_+" is not valid."}}},{key:"stateFactory",value:function(a,_){if(this.stateFactories===null){var l=[];l[me.INVALID_TYPE]=null,l[me.BASIC]=function(){return new a_},l[me.RULE_START]=function(){return new y_},l[me.BLOCK_START]=function(){return new N_},l[me.PLUS_BLOCK_START]=function(){return new k0},l[me.STAR_BLOCK_START]=function(){return new R0},l[me.TOKEN_START]=function(){return new Sv},l[me.RULE_STOP]=function(){return new St},l[me.BLOCK_END]=function(){return new h0},l[me.STAR_LOOP_BACK]=function(){return new S0},l[me.STAR_LOOP_ENTRY]=function(){return new Go},l[me.PLUS_LOOP_BACK]=function(){return new x_},l[me.LOOP_END]=function(){return new va},this.stateFactories=l}if(a>this.stateFactories.length||this.stateFactories[a]===null)throw"The specified state type "+a+" is not valid.";var y=this.stateFactories[a]();if(y!==null)return y.ruleIndex=_,y}},{key:"lexerActionFactory",value:function(a,_,l){if(this.actionFactories===null){var y=[];y[0]=function(o,u){return new Mv(o)},y[1]=function(o,u){return new Vv(o,u)},y[2]=function(o,u){return new qv(o)},y[3]=function(o,u){return q0.INSTANCE},y[4]=function(o,u){return Q0.INSTANCE},y[5]=function(o,u){return new zv(o)},y[6]=function(o,u){return G0.INSTANCE},y[7]=function(o,u){return new $v(o)},this.actionFactories=y}if(a>this.actionFactories.length||this.actionFactories[a]===null)throw"The specified lexer action type "+a+" is not valid.";return this.actionFactories[a](_,l)}}],m&&Xv(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 Yv(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),Bs(_)==="symbol"?_:String(_)),a)}var _}var Ls=function(){function f(){(function(a,_){if(!(a instanceof _))throw new TypeError("Cannot call a class as a function")})(this,f)}var i,m;return i=f,(m=[{key:"syntaxError",value:function(a,_,l,y,o,u){}},{key:"reportAmbiguity",value:function(a,_,l,y,o,u,S){}},{key:"reportAttemptingFullContext",value:function(a,_,l,y,o,u){}},{key:"reportContextSensitivity",value:function(a,_,l,y,o,u){}}])&&Yv(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 Zv(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),Ba(_)==="symbol"?_:String(_)),a)}var _}function th(f,i){return th=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},th(f,i)}function Rc(f){return Rc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Rc(f)}var nh=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&&th(o,u)})(y,f);var i,m,a,_,l=(a=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=Rc(a);if(_){var S=Rc(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(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(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,M){console.error("line "+S+":"+D+" "+C)}}])&&Zv(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 Qv(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),La(_)==="symbol"?_:String(_)),a)}var _}function rh(f,i){return rh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},rh(f,i)}function U_(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 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 Fc(f){return Fc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Fc(f)}nh.INSTANCE=new nh;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&&rh(o,u)})(y,f);var i,m,a,_,l=(a=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(a);if(_){var S=Fc(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return U_(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,U_(u,V_(u))}return i=y,m=[{key:"syntaxError",value:function(o,u,S,D,C,M){this.delegates.map(function(fe){return fe.syntaxError(o,u,S,D,C,M)})}},{key:"reportAmbiguity",value:function(o,u,S,D,C,M,fe){this.delegates.map(function(Ne){return Ne.reportAmbiguity(o,u,S,D,C,M,fe)})}},{key:"reportAttemptingFullContext",value:function(o,u,S,D,C,M){this.delegates.map(function(fe){return fe.reportAttemptingFullContext(o,u,S,D,C,M)})}},{key:"reportContextSensitivity",value:function(o,u,S,D,C,M){this.delegates.map(function(fe){return fe.reportContextSensitivity(o,u,S,D,C,M)})}}],m&&Qv(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 eb(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),Ms(_)==="symbol"?_:String(_)),a)}var _}var Nc=function(){function f(){(function(a,_){if(!(a instanceof _))throw new TypeError("Cannot call a class as a function")})(this,f),this._listeners=[nh.INSTANCE],this._interp=null,this._stateNumber=-1}var i,m;return i=f,(m=[{key:"checkVersion",value:function(a){var _="4.13.0";_!==a&&console.log("ANTLR runtime and generated code versions disagree: "+_+"!="+a)}},{key:"addErrorListener",value:function(a){this._listeners.push(a)}},{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 a=this.getLiteralNames(),_=this.getSymbolicNames(),l=a.length>_.length?a.length:_.length;this.tokenNames=[];for(var y=0;y<l;y++)this.tokenNames[y]=a[y]||_[y]||"<INVALID"}return this.tokenNames}},{key:"getTokenTypeMap",value:function(){var a=this.getTokenNames();if(a===null)throw"The current recognizer does not provide a list of token names.";var _=this.tokenTypeMapCache[a];return _===void 0&&((_=a.reduce(function(l,y,o){l[y]=o})).EOF=n.EOF,this.tokenTypeMapCache[a]=_),_}},{key:"getRuleIndexMap",value:function(){var a=this.ruleNames;if(a===null)throw"The current recognizer does not provide a list of rule names.";var _=this.ruleIndexMapCache[a];return _===void 0&&(_=a.reduce(function(l,y,o){l[y]=o}),this.ruleIndexMapCache[a]=_),_}},{key:"getTokenType",value:function(a){var _=this.getTokenTypeMap()[a];return _!==void 0?_:n.INVALID_TYPE}},{key:"getErrorHeader",value:function(a){return"line "+a.getOffendingToken().line+":"+a.getOffendingToken().column}},{key:"getTokenErrorDisplay",value:function(a){if(a===null)return"<no token>";var _=a.text;return _===null&&(_=a.type===n.EOF?"<EOF>":"<"+a.type+">"),"'"+(_=_.replace(`
2
+ `,"\\n").replace("\r","\\r").replace(" ","\\t"))+"'"}},{key:"getErrorListenerDispatch",value:function(){return new Jv(this._listeners)}},{key:"sempred",value:function(a,_,l){return!0}},{key:"precpred",value:function(a,_){return!0}},{key:"atn",get:function(){return this._interp.atn}},{key:"state",get:function(){return this._stateNumber},set:function(a){this._stateNumber=a}}])&&eb(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 tb(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),Ma(_)==="symbol"?_:String(_)),a)}var _}function ih(f,i){return ih=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},ih(f,i)}function Pc(f){return Pc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Pc(f)}Nc.tokenTypeMapCache={},Nc.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&&ih(o,u)})(y,f);var i,m,a,_,l=(a=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=Pc(a);if(_){var S=Pc(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(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(D)}(this,o)});function y(o,u,S,D,C){var M;return function(fe,Ne){if(!(fe instanceof Ne))throw new TypeError("Cannot call a class as a function")}(this,y),(M=l.call(this)).source=o!==void 0?o:y.EMPTY_SOURCE,M.type=u!==void 0?u:null,M.channel=S!==void 0?S:n.DEFAULT_CHANNEL,M.start=D!==void 0?D:-1,M.stop=C!==void 0?C:-1,M.tokenIndex=-1,M.source[0]!==null?(M.line=o[0].line,M.column=o[0].column):M.column=-1,M}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}}])&&tb(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 oh(f,i){return oh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},oh(f,i)}function Ic(f){return Ic=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Ic(f)}function j_(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),Ua(_)==="symbol"?_:String(_)),a)}var _}function H_(f,i,m){return i&&j_(f.prototype,i),m&&j_(f,m),Object.defineProperty(f,"prototype",{writable:!1}),f}function $_(f,i){if(!(f instanceof i))throw new TypeError("Cannot call a class as a function")}Us.EMPTY_SOURCE=[null,null];var ah=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&&oh(l,y)})(_,f);var i,m,a=(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=Ic(i);if(m){var o=Ic(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 $_(this,_),(y=a.call(this)).copyText=l!==void 0&&l,y}return H_(_,[{key:"create",value:function(l,y,o,u,S,D,C,M){var fe=new Us(l,y,u,S,D);return fe.line=C,fe.column=M,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}}]),_}(H_(function f(){$_(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 nb(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),Va(_)==="symbol"?_:String(_)),a)}var _}function G_(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function sh(f){var i=typeof Map=="function"?new Map:void 0;return sh=function(m){if(m===null||(a=m,Function.toString.call(a).indexOf("[native code]")===-1))return m;var a;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 uh(m,arguments,js(this).constructor)}return _.prototype=Object.create(m.prototype,{constructor:{value:_,enumerable:!1,writable:!0,configurable:!0}}),Vs(_,m)},sh(f)}function uh(f,i,m){return uh=z_()?Reflect.construct.bind():function(a,_,l){var y=[null];y.push.apply(y,_);var o=new(Function.bind.apply(a,y));return l&&Vs(o,l.prototype),o},uh.apply(null,arguments)}function z_(){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,a){return m.__proto__=a,m},Vs(f,i)}function js(f){return js=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},js(f)}ah.DEFAULT=new ah;var zo=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,a,_,l=(a=y,_=z_(),function(){var o,u=js(a);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 G_(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(G_(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}}])&&nb(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(sh(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 rb(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),ja(_)==="symbol"?_:String(_)),a)}var _}function ch(f,i){return ch=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},ch(f,i)}function Bc(f){return Bc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Bc(f)}var lh=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&&ch(o,u)})(y,f);var i,m,a,_,l=(a=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(a);if(_){var S=Bc(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(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(D)}(this,o)});function y(o,u,S,D){var C;return function(M,fe){if(!(M 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}}])&&rb(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(zo);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 ib(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),Ha(_)==="symbol"?_:String(_)),a)}var _}function fh(f,i){return fh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},fh(f,i)}function K_(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 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&&fh(o,u)})(y,f);var i,m,a,_,l=(a=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(a);if(_){var S=Lc(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 K_(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=ah.DEFAULT,u._tokenFactorySourcePair=[K_(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 zo))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 lh?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}}])&&ib(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(Nc);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 ob(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),Hs(_)==="symbol"?_:String(_)),a)}var _}function ab(f){return f.hashCodeForConfigSet()}function sb(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 Kr=function(){function f(a){(function(_,l){if(!(_ instanceof l))throw new TypeError("Cannot call a class as a function")})(this,f),this.configLookup=new g(ab,sb),this.fullCtx=a===void 0||a,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(a,_){if(_===void 0&&(_=null),this.readOnly)throw"This set is readonly";a.semanticContext!==P.NONE&&(this.hasSemanticContext=!0),a.reachesIntoOuterContext>0&&(this.dipsIntoOuterContext=!0);var l=this.configLookup.add(a);if(l===a)return this.cachedHashCode=-1,this.configs.push(a),!0;var y=!this.fullCtx,o=ma(l.context,a.context,y,_);return l.reachesIntoOuterContext=Math.max(l.reachesIntoOuterContext,a.reachesIntoOuterContext),a.precedenceFilterSuppressed&&(l.precedenceFilterSuppressed=!0),l.context=o,!0}},{key:"getStates",value:function(){for(var a=new g,_=0;_<this.configs.length;_++)a.add(this.configs[_].state);return a}},{key:"getPredicates",value:function(){for(var a=[],_=0;_<this.configs.length;_++){var l=this.configs[_].semanticContext;l!==P.NONE&&a.push(l.semanticContext)}return a}},{key:"optimizeConfigs",value:function(a){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=a.getCachedContext(l.context)}}},{key:"addAll",value:function(a){for(var _=0;_<a.length;_++)this.add(a[_]);return!1}},{key:"equals",value:function(a){return this===a||a instanceof f&&r(this.configs,a.configs)&&this.fullCtx===a.fullCtx&&this.uniqueAlt===a.uniqueAlt&&this.conflictingAlts===a.conflictingAlts&&this.hasSemanticContext===a.hasSemanticContext&&this.dipsIntoOuterContext===a.dipsIntoOuterContext}},{key:"hashCode",value:function(){var a=new b;return a.update(this.configs),a.finish()}},{key:"updateHashCode",value:function(a){this.readOnly?(this.cachedHashCode===-1&&(this.cachedHashCode=this.hashCode()),a.update(this.cachedHashCode)):a.update(this.hashCode())}},{key:"isEmpty",value:function(){return this.configs.length===0}},{key:"contains",value:function(a){if(this.configLookup===null)throw"This method is not implemented for readonly sets.";return this.configLookup.contains(a)}},{key:"containsFast",value:function(a){if(this.configLookup===null)throw"This method is not implemented for readonly sets.";return this.configLookup.containsFast(a)}},{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(a){this.readOnly=a,a&&(this.configLookup=null)}},{key:"toString",value:function(){return F(this.configs)+(this.hasSemanticContext?",hasSemanticContext="+this.hasSemanticContext:"")+(this.uniqueAlt!==vn.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}}])&&ob(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 ub(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),$s(_)==="symbol"?_:String(_)),a)}var _}var Ko=function(){function f(a,_){return function(l,y){if(!(l instanceof y))throw new TypeError("Cannot call a class as a function")}(this,f),a===null&&(a=-1),_===null&&(_=new Kr),this.stateNumber=a,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 a=new g;if(this.configs!==null)for(var _=0;_<this.configs.length;_++){var l=this.configs[_];a.add(l.alt)}return a.length===0?null:a}},{key:"equals",value:function(a){return this===a||a instanceof f&&this.configs.equals(a.configs)}},{key:"toString",value:function(){var a=this.stateNumber+":"+this.configs;return this.isAcceptState&&(a+="=>",this.predicates!==null?a+=this.predicates:a+=this.prediction),a}},{key:"hashCode",value:function(){var a=new b;return a.update(this.configs),a.finish()}}])&&ub(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 cb(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),Gs(_)==="symbol"?_:String(_)),a)}var _}var Fi=function(){function f(a,_){return function(l,y){if(!(l instanceof y))throw new TypeError("Cannot call a class as a function")}(this,f),this.atn=a,this.sharedContextCache=_,this}var i,m;return i=f,m=[{key:"getCachedContext",value:function(a){if(this.sharedContextCache===null)return a;var _=new ro;return Ju(a,this.sharedContextCache,_)}}],m&&cb(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();function hh(f){return hh=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},hh(f)}function ph(f,i){return ph=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},ph(f,i)}function Mc(f){return Mc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Mc(f)}Fi.ERROR=new Ko(2147483647,new Kr);var W_=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,a,_=(m=l,a=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=Mc(m);if(a){var u=Mc(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return function(S,D){if(D&&(hh(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}(Kr);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 lb(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),$a(_)==="symbol"?_:String(_)),a)}var _}function dh(){return dh=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(f,i,m){var a=function(l,y){for(;!Object.prototype.hasOwnProperty.call(l,y)&&(l=Ga(l))!==null;);return l}(f,i);if(a){var _=Object.getOwnPropertyDescriptor(a,i);return _.get?_.get.call(arguments.length<3?f:m):_.value}},dh.apply(this,arguments)}function _h(f,i){return _h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},_h(f,i)}function q_(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 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 Ga(f){return Ga=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Ga(f)}var Ni=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,a,_,l=(a=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(a);if(_){var S=Ga(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return q_(this,o)});function y(o,u){var S;(function(C,M){if(!(C instanceof M))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,q_(S,X_(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)&&dh(Ga(y.prototype),"equals",this).call(this,o)}},{key:"checkNonGreedyDecision",value:function(o,u){return o.passedThroughNonGreedyDecision||u instanceof ya&&u.nonGreedy}}])&&lb(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 fb(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),za(_)==="symbol"?_:String(_)),a)}var _}function mh(f,i){return mh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},mh(f,i)}function Uc(f){return Uc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Uc(f)}var yh=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,a,_,l=(a=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=Uc(a);if(_){var S=Uc(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(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(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}}])&&fb(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(ao);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 Y_(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),zs(_)==="symbol"?_:String(_)),a)}var _}var hb=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,a;return i=f,a=[{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 yh||(l===null&&(l=this.lexerActions.concat([])),l[y]=new yh(_,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 yh){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}}])&&Y_(i.prototype,m),a&&Y_(i,a),Object.defineProperty(i,"prototype",{writable:!1}),f}();function gh(f,i){return gh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},gh(f,i)}function Vc(f){return Vc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Vc(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 Z_(f,i){if(!(f instanceof i))throw new TypeError("Cannot call a class as a function")}function Q_(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),Ka(_)==="symbol"?_:String(_)),a)}var _}function J_(f,i,m){return i&&Q_(f.prototype,i),m&&Q_(f,m),Object.defineProperty(f,"prototype",{writable:!1}),f}function em(f){f.index=-1,f.line=0,f.column=-1,f.dfaState=null}var pb=function(){function f(){Z_(this,f),em(this)}return J_(f,[{key:"reset",value:function(){em(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&&gh(l,y)})(_,f);var i,m,a=(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=Vc(i);if(m){var o=Vc(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 Z_(this,_),(S=a.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 pb,S}return J_(_,[{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===Fi.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 W_;return this.getReachableConfigSet(l,y.configs,u,o),u.items.length===0?(u.hasSemanticContext||this.addDFAEdge(y,o,Fi.ERROR),Fi.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 lh(this.recog,y,this.startIndex,o)}},{key:"getReachableConfigSet",value:function(l,y,o,u){for(var S=vn.INVALID_ALT_NUMBER,D=0;D<y.items.length;D++){var C=y.items[D],M=C.alt===S;if(!M||!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],we=this.getReachableTarget(Ne,u);if(we!==null){var Ge=C.lexerActionExecutor;Ge!==null&&(Ge=Ge.fixOffsetBeforeMatch(l.index-this.startIndex));var ct=u===n.EOF,We=new Ni({state:we,lexerActionExecutor:Ge},C);this.closure(l,We,o,M,!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 W_,S=0;S<y.transitions.length;S++){var D=y.transitions[S].target,C=new Ni({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 Ni({state:y.state,context:st.EMPTY},y)),u=!0}if(y.context!==null&&!y.context.isEmpty()){for(var M=0;M<y.context.length;M++)if(y.context.getReturnState(M)!==st.EMPTY_RETURN_STATE){var fe=y.context.getParent(M),Ne=this.atn.states[y.context.getReturnState(M)];C=new Ni({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 we=0;we<y.state.transitions.length;we++){var Ge=y.state.transitions[we];(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 M=_t.create(y.context,o.followState.stateNumber);C=new Ni({state:o.target,context:M},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 Ni({state:o.target},y));else if(o.serializationType===be.ACTION)if(y.context===null||y.context.hasEmptyPath()){var fe=hb.append(y.lexerActionExecutor,this.atn.lexerActions[o.actionIndex]);C=new Ni({state:o.target,lexerActionExecutor:fe},y)}else C=new Ni({state:o.target},y);else o.serializationType===be.EPSILON?C=new Ni({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 Ni({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,M=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(M)}}},{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 Ko(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 M=y;return M.stateNumber=D.states.length,l.setReadonly(!0),M.configs=l,D.states.add(M),M}},{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)+"'"}}]),_}(Fi);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 db(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),Ks(_)==="symbol"?_:String(_)),a)}var _}Wa.debug=!1,Wa.dfa_debug=!1,Wa.MIN_DFA_EDGE=0,Wa.MAX_DFA_EDGE=127;var tm=function(){function f(a,_){(function(l,y){if(!(l instanceof y))throw new TypeError("Cannot call a class as a function")})(this,f),this.alt=_,this.pred=a}var i,m;return i=f,(m=[{key:"toString",value:function(){return"("+this.pred+", "+this.alt+")"}}])&&db(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 _b(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),Ws(_)==="symbol"?_:String(_)),a)}var _}var mb=function(){function f(){(function(a,_){if(!(a 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(a){return this.data["k-"+a]||null}},{key:"set",value:function(a,_){this.data["k-"+a]=_}},{key:"values",value:function(){var a=this;return Object.keys(this.data).filter(function(_){return _.startsWith("k-")}).map(function(_){return a.data[_]},this)}}])&&_b(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}(),Pi={SLL:0,LL:1,LL_EXACT_AMBIG_DETECTION:2,hasSLLConflictTerminatingPrediction:function(f,i){if(Pi.allConfigsInRuleStopStates(i))return!0;if(f===Pi.SLL&&i.hasSemanticContext){for(var m=new Kr,a=0;a<i.items.length;a++){var _=i.items[a];_=new ce({semanticContext:P.NONE},_),m.add(_)}i=m}var l=Pi.getConflictingAltSubsets(i);return Pi.hasConflictingAltSet(l)&&!Pi.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 Pi.getSingleViableAlt(f)},allSubsetsConflict:function(f){return!Pi.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 a=f[m];if(i===null)i=a;else if(a!==i)return!1}return!0},getUniqueAlt:function(f){var i=Pi.getAlts(f);return i.length===1?i.minValue():vn.INVALID_ALT_NUMBER},getAlts:function(f){var i=new zr;return f.map(function(m){i.or(m)}),i},getConflictingAltSubsets:function(f){var i=new ro;return i.hashFunction=function(m){b.hashStuff(m.state.stateNumber,m.context)},i.equalsFunction=function(m,a){return m.state.stateNumber===a.state.stateNumber&&m.context.equals(a.context)},f.items.map(function(m){var a=i.get(m);a===null&&(a=new zr,i.set(m,a)),a.add(m.alt)}),i.getValues()},getStateToAltMap:function(f){var i=new mb;return f.items.map(function(m){var a=i.get(m.state);a===null&&(a=new zr,i.set(m.state,a)),a.add(m.alt)}),i},hasStateAssociatedWithOneAlt:function(f){for(var i=Pi.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 a=f[m].minValue();if(i===null)i=a;else if(i!==a)return vn.INVALID_ALT_NUMBER}return i}};const Kn=Pi;function vh(f){return vh=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},vh(f)}function bh(f,i){return bh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},bh(f,i)}function jc(f){return jc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},jc(f)}var Hc=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&&bh(y,o)})(l,f);var i,m,a,_=(m=l,a=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=jc(m);if(a){var u=jc(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return function(S,D){if(D&&(vh(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 M;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(),(M=_.call(this,{message:"",recognizer:y,input:o,ctx:C})).deadEndConfigs=D,M.startToken=u,M.offendingToken=S,M}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(zo);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 yb(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),qs(_)==="symbol"?_:String(_)),a)}var _}var gb=function(){function f(a){(function(_,l){if(!(_ instanceof l))throw new TypeError("Cannot call a class as a function")})(this,f),this.defaultMapCtor=a||ro,this.cacheMap=new this.defaultMapCtor}var i,m;return i=f,(m=[{key:"get",value:function(a,_){var l=this.cacheMap.get(a)||null;return l===null?null:l.get(_)||null}},{key:"set",value:function(a,_,l){var y=this.cacheMap.get(a)||null;y===null&&(y=new this.defaultMapCtor,this.cacheMap.set(a,y)),y.set(_,l)}}])&&yb(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 vb(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),qa(_)==="symbol"?_:String(_)),a)}var _}function Eh(f,i){return Eh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},Eh(f,i)}function $c(f){return $c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},$c(f)}var nm=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&&Eh(o,u)})(y,f);var i,m,a,_,l=(a=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(a);if(_){var S=$c(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(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(D)}(this,o)});function y(o,u,S,D){var C;return function(M,fe){if(!(M 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=Kn.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(),M=o.index;try{var fe;if((fe=D.precedenceDfa?D.getPrecedenceStartState(this.parser.getPrecedence()):D.s0)===null){S===null&&(S=no.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,no.EMPTY,!1);D.precedenceDfa?(D.s0.configs=Ne,Ne=this.applyPrecedenceFilter(Ne),fe=this.addDFAState(D,new Ko(null,Ne)),D.setPrecedenceStartState(this.parser.getPrecedence(),fe)):(fe=this.addDFAState(D,new Ko(null,Ne)),D.s0=fe)}var we=this.execATN(D,fe,o,M,S);return this.debug&&console.log("DFA after predictATN: "+D.toString(this.parser.literalNames,this.parser.symbolicNames)),we}finally{this._dfa=null,this.mergeCache=null,o.seek(M),o.release(C)}}},{key:"execATN",value:function(o,u,S,D,C){var M;(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 we=this.getExistingTargetState(fe,Ne);if(we===null&&(we=this.computeTargetState(o,fe,Ne)),we===Fi.ERROR){var Ge=this.noViableAlt(S,C,fe.configs,D);if(S.seek(D),(M=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(fe.configs,C))!==vn.INVALID_ALT_NUMBER)return M;throw Ge}if(we.requiresFullContext&&this.predictionMode!==Kn.SLL){var ct=null;if(we.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(we.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 "+we);var bn=this.computeStartState(o.atnStartState,C,!0);return this.reportAttemptingFullContext(o,ct,we.configs,D,S.index),this.execATNWithFullContext(o,we,bn,S,D,C)}if(we.isAcceptState){if(we.predicates===null)return we.prediction;var gn=S.index;S.seek(D);var Wn=this.evalSemanticContext(we.predicates,C,!0);if(Wn.length===0)throw this.noViableAlt(S,C,we.configs,D);return Wn.length===1||this.reportAmbiguity(o,we,D,gn,!1,Wn,we.configs),Wn.minValue()}fe=we,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,Fi.ERROR),Fi.ERROR;var C=new Ko(null,D),M=this.getUniqueAlt(D);if(this.debug){var fe=Kn.getConflictingAltSubsets(D);console.log("SLL altSubSets="+F(fe)+", configs="+D+", predict="+M+", allSubsetsConflict="+Kn.allSubsetsConflict(fe)+", conflictingAlts="+this.getConflictingAlts(D))}return M!==vn.INVALID_ALT_NUMBER?(C.isAcceptState=!0,C.configs.uniqueAlt=M,C.prediction=M):Kn.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=vn.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=vn.INVALID_ALT_NUMBER):o.prediction=D.minValue()}},{key:"execATNWithFullContext",value:function(o,u,S,D,C,M){(this.debug||this.trace_atn_sim)&&console.log("execATNWithFullContext "+S);var fe,Ne=!1,we=S;D.seek(C);for(var Ge=D.LA(1),ct=-1;;){if((fe=this.computeReachSet(we,Ge,!0))===null){var We=this.noViableAlt(D,M,we,C);D.seek(C);var bn=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(we,M);if(bn!==vn.INVALID_ALT_NUMBER)return bn;throw We}var gn=Kn.getConflictingAltSubsets(fe);if(this.debug&&console.log("LL altSubSets="+gn+", predict="+Kn.getUniqueAlt(gn)+", resolvesToJustOneViableAlt="+Kn.resolvesToJustOneViableAlt(gn)),fe.uniqueAlt=this.getUniqueAlt(fe),fe.uniqueAlt!==vn.INVALID_ALT_NUMBER){ct=fe.uniqueAlt;break}if(this.predictionMode!==Kn.LL_EXACT_AMBIG_DETECTION){if((ct=Kn.resolvesToJustOneViableAlt(gn))!==vn.INVALID_ALT_NUMBER)break}else if(Kn.allSubsetsConflict(gn)&&Kn.allSubsetsEqual(gn)){Ne=!0,ct=Kn.getSingleViableAlt(gn);break}we=fe,Ge!==n.EOF&&(D.consume(),Ge=D.LA(1))}return fe.uniqueAlt!==vn.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 gb);for(var D=new Kr(S),C=null,M=0;M<o.items.length;M++){var fe=o.items[M];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 we=fe.state.transitions[Ne],Ge=this.getReachableTarget(we,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)!==vn.INVALID_ALT_NUMBER)&&(We=D),We===null){We=new Kr(S);for(var bn=new g,gn=u===n.EOF,Wn=0;Wn<D.items.length;Wn++)this.closure(D.items[Wn],We,bn,!1,S,gn)}if(u===n.EOF&&(We=this.removeAllConfigsNotInRuleStopState(We,We===D)),!(C===null||S&&Kn.hasConfigInRuleStopState(We)))for(var Wr=0;Wr<C.length;Wr++)We.add(C[Wr],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(Kn.allConfigsInRuleStopStates(o))return o;for(var S=new Kr(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 M=this.atn.ruleToStopState[C.state.ruleIndex];S.add(new ce({state:M},C),this.mergeCache)}}return S}},{key:"computeStartState",value:function(o,u,S){var D=_a(this.atn,u),C=new Kr(S);this.trace_atn_sim&&console.log("computeStartState from ATN state "+o+" initialContext="+D.toString(this.parser));for(var M=0;M<o.transitions.length;M++){var fe=o.transitions[M].target,Ne=new ce({state:fe,alt:M+1,context:D},null),we=new g;this.closure(Ne,C,we,!0,S,!1)}return C}},{key:"applyPrecedenceFilter",value:function(o){for(var u,S=[],D=new Kr(o.fullCtx),C=0;C<o.items.length;C++)if((u=o.items[C]).alt===1){var M=u.semanticContext.evalPrecedence(this.parser,this._outerContext);M!==null&&(S[u.state.stateNumber]=u.context,M!==u.semanticContext?D.add(new ce({semanticContext:M},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 M=u.items[C];o.has(M.alt)&&(D[M.alt]=P.orContext(D[M.alt]||null,M.semanticContext))}for(var fe=0,Ne=1;Ne<S+1;Ne++){var we=D[Ne]||null;we===null?D[Ne]=P.NONE:we!==P.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 M=u[C];o!==null&&o.has(C)&&S.push(new tm(M,C)),M!==P.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],M=this.getAltThatFinishedDecisionEntryRule(D);return M!==vn.INVALID_ALT_NUMBER||C.items.length>0&&(M=this.getAltThatFinishedDecisionEntryRule(C))!==vn.INVALID_ALT_NUMBER?M:vn.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?vn.INVALID_ALT_NUMBER:Math.min.apply(null,u)}},{key:"splitAccordingToSemanticValidity",value:function(o,u){for(var S=new Kr(o.fullCtx),D=new Kr(o.fullCtx),C=0;C<o.items.length;C++){var M=o.items[C];M.semanticContext!==P.NONE?M.semanticContext.evaluate(this.parser,u)?S.add(M):D.add(M):S.add(M)}return[S,D]}},{key:"evalSemanticContext",value:function(o,u,S){for(var D=new zr,C=0;C<o.length;C++){var M=o[C];if(M.pred!==P.NONE){var fe=M.pred.evaluate(this.parser,u);if((this.debug||this.dfa_debug)&&console.log("eval pred "+M+"="+fe),fe&&((this.debug||this.dfa_debug)&&console.log("PREDICT "+M.alt),D.add(M.alt),!S))break}else if(D.add(M.alt),!S)break}return D}},{key:"closure",value:function(o,u,S,D,C,M){this.closureCheckingStopState(o,u,S,D,C,0,M)}},{key:"closureCheckingStopState",value:function(o,u,S,D,C,M,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 we=this.atn.states[o.context.getReturnState(Ne)],Ge=o.context.getParent(Ne),ct={state:we,alt:o.alt,context:Ge,semanticContext:o.semanticContext},We=new ce(ct,null);We.reachesIntoOuterContext=o.reachesIntoOuterContext,this.closureCheckingStopState(We,u,S,D,C,M-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,M,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,M,fe)}},{key:"closure_",value:function(o,u,S,D,C,M,fe){var Ne=o.state;Ne.epsilonOnlyTransitions||u.add(o,this.mergeCache);for(var we=0;we<Ne.transitions.length;we++)if(we!==0||!this.canDropLoopEntryEdgeInLeftRecursiveRule(o)){var Ge=Ne.transitions[we],ct=D&&!(Ge instanceof P_),We=this.getEpsilonTarget(o,Ge,ct,M===0,C,fe);if(We!==null){var bn=M;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,bn-=1,this.debug&&console.log("dips into outer ctx: "+We)}else{if(!Ge.isEpsilon&&S.add(We)!==We)continue;Ge instanceof Dt&&bn>=0&&(bn+=1)}this.closureCheckingStopState(We,u,S,ct,C,bn,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,M=this.atn.states[C],fe=0;fe<S;fe++){var Ne=o.context.getReturnState(fe),we=this.atn.states[Ne];if(we.transitions.length!==1||!we.transitions[0].isEpsilon)return!1;var Ge=we.transitions[0].target;if(!(we.stateType===me.BLOCK_END&&Ge===u||we===M||Ge===M||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,M){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 M&&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 M=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&&(M=new ce({state:u.target},o))}else{var we=P.andContext(o.semanticContext,u.getPredicate());M=new ce({state:u.target,semanticContext:we},o)}else M=new ce({state:u.target},o);return this.debug&&console.log("config from pred transition="+M),M}},{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 M=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&&(M=new ce({state:u.target},o))}else{var we=P.andContext(o.semanticContext,u.getPredicate());M=new ce({state:u.target,semanticContext:we},o)}else M=new ce({state:u.target},o);return this.debug&&console.log("config from pred transition="+M),M}},{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=Kn.getConflictingAltSubsets(o);return Kn.getAlts(u)}},{key:"getConflictingAltsOrUniqueAlt",value:function(o){var u=null;return o.uniqueAlt!==vn.INVALID_ALT_NUMBER?(u=new zr).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 M=D.state.transitions[0];M instanceof I0?C="Atom "+this.getTokenName(M.label):M instanceof rr&&(C=(M instanceof $t?"~":"")+"Set "+M.set)}console.error(D.toString(this.parser,!0)+":"+C)}}},{key:"noViableAlt",value:function(o,u,S,D){return new Hc(this.parser,o,o.get(D),o.LT(1),S,u)}},{key:"getUniqueAlt",value:function(o){for(var u=vn.INVALID_ALT_NUMBER,S=0;S<o.items.length;S++){var D=o.items[S];if(u===vn.INVALID_ALT_NUMBER)u=D.alt;else if(D.alt!==u)return vn.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,M=this.parser===null?null:this.parser.symbolicNames;console.log(`DFA=
8
+ `+o.toString(C,M))}return D}},{key:"addDFAState",value:function(o,u){if(u===Fi.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 M=new _e(D,C+1);console.log("reportAttemptingFullContext decision="+o.decision+":"+S+", input="+this.parser.getTokenStream().getText(M))}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 M=new _e(D,C+1);console.log("reportContextSensitivity decision="+o.decision+":"+S+", input="+this.parser.getTokenStream().getText(M))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportContextSensitivity(this.parser,o,D,C,u,S)}},{key:"reportAmbiguity",value:function(o,u,S,D,C,M,fe){if(this.debug||this.retry_debug){var Ne=new _e(S,D+1);console.log("reportAmbiguity "+M+":"+fe+", input="+this.parser.getTokenStream().getText(Ne))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportAmbiguity(this.parser,o,S,D,C,M,fe)}}],m&&vb(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(Fi);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 bb(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),Xs(_)==="symbol"?_:String(_)),a)}var _}var rm=function(){function f(){(function(a,_){if(!(a instanceof _))throw new TypeError("Cannot call a class as a function")})(this,f),this.cache=new ro}var i,m;return i=f,(m=[{key:"add",value:function(a){if(a===st.EMPTY)return st.EMPTY;var _=this.cache.get(a)||null;return _!==null?_:(this.cache.set(a,a),a)}},{key:"get",value:function(a){return this.cache.get(a)||null}},{key:"length",get:function(){return this.cache.length}}])&&bb(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();const Eb={ATN:vn,ATNDeserializer:eh,LexerATNSimulator:Wa,ParserATNSimulator:nm,PredictionMode:Kn,PredictionContextCache:rm};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 xb(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),Ys(_)==="symbol"?_:String(_)),a)}var _}var xh=function(){function f(a,_,l){(function(y,o){if(!(y instanceof o))throw new TypeError("Cannot call a class as a function")})(this,f),this.dfa=a,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 a="",_=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&&(a=(a=(a=(a=(a=(a=a.concat(this.getStateString(y))).concat("-")).concat(this.getEdgeLabel(u))).concat("->")).concat(this.getStateString(S))).concat(`
9
+ `))}}return a.length===0?null:a}},{key:"getEdgeLabel",value:function(a){return a===0?"EOF":this.literalNames!==null||this.symbolicNames!==null?this.literalNames[a-1]||this.symbolicNames[a-1]:String.fromCharCode(a-1)}},{key:"getStateString",value:function(a){var _=(a.isAcceptState?":":"")+"s"+a.stateNumber+(a.requiresFullContext?"^":"");return a.isAcceptState?a.predicates!==null?_+"=>"+F(a.predicates):_+"=>"+a.prediction.toString():_}}])&&xb(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 Sb(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),Xa(_)==="symbol"?_:String(_)),a)}var _}function Sh(f,i){return Sh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},Sh(f,i)}function Gc(f){return Gc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Gc(f)}var im=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&&Sh(o,u)})(y,f);var i,m,a,_,l=(a=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(a);if(_){var S=Gc(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(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(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)+"'"}}])&&Sb(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(xh);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 Tb(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),Zs(_)==="symbol"?_:String(_)),a)}var _}var om=function(){function f(a,_){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=a,this.decision=_,this._states=new g,this.s0=null,this.precedenceDfa=!1,a instanceof Go&&a.isPrecedenceDecision){this.precedenceDfa=!0;var l=new Ko(null,new Kr);l.edges=[],l.isAcceptState=!1,l.requiresFullContext=!1,this.s0=l}}var i,m;return i=f,(m=[{key:"getPrecedenceStartState",value:function(a){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";return a<0||a>=this.s0.edges.length?null:this.s0.edges[a]||null}},{key:"setPrecedenceStartState",value:function(a,_){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";a<0||(this.s0.edges[a]=_)}},{key:"setPrecedenceDfa",value:function(a){if(this.precedenceDfa!==a){if(this._states=new g,a){var _=new Ko(null,new Kr);_.edges=[],_.isAcceptState=!1,_.requiresFullContext=!1,this.s0=_}else this.s0=null;this.precedenceDfa=a}}},{key:"sortedStates",value:function(){return this._states.values().sort(function(a,_){return a.stateNumber-_.stateNumber})}},{key:"toString",value:function(a,_){return a=a||null,_=_||null,this.s0===null?"":new xh(this,a,_).toString()}},{key:"toLexerString",value:function(){return this.s0===null?"":new im(this).toString()}},{key:"states",get:function(){return this._states}}])&&Tb(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();const Ab={DFA:om,DFASerializer:xh,LexerDFASerializer:im,PredPrediction:tm},Cb={PredictionContext:st},Db={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 kb(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),Qs(_)==="symbol"?_:String(_)),a)}var _}var Th=function(){function f(){(function(a,_){if(!(a instanceof _))throw new TypeError("Cannot call a class as a function")})(this,f)}var i,m;return i=f,(m=[{key:"visitTerminal",value:function(a){}},{key:"visitErrorNode",value:function(a){}},{key:"enterEveryRule",value:function(a){}},{key:"exitEveryRule",value:function(a){}}])&&kb(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 Ob(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),Js(_)==="symbol"?_:String(_)),a)}var _}var am=function(){function f(){(function(a,_){if(!(a instanceof _))throw new TypeError("Cannot call a class as a function")})(this,f)}var i,m;return i=f,(m=[{key:"visit",value:function(a){return Array.isArray(a)?a.map(function(_){return _.accept(this)},this):a.accept(this)}},{key:"visitChildren",value:function(a){return a.children?this.visit(a.children):null}},{key:"visitTerminal",value:function(a){}},{key:"visitErrorNode",value:function(a){}}])&&Ob(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 wb(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),eu(_)==="symbol"?_:String(_)),a)}var _}var zc=function(){function f(){(function(a,_){if(!(a instanceof _))throw new TypeError("Cannot call a class as a function")})(this,f)}var i,m;return i=f,(m=[{key:"walk",value:function(a,_){if(_ instanceof ei||_.isErrorNode!==void 0&&_.isErrorNode())a.visitErrorNode(_);else if(_ instanceof fn)a.visitTerminal(_);else{this.enterRule(a,_);for(var l=0;l<_.getChildCount();l++){var y=_.getChild(l);this.walk(a,y)}this.exitRule(a,_)}}},{key:"enterRule",value:function(a,_){var l=_.ruleContext;a.enterEveryRule(l),l.enterRule(a)}},{key:"exitRule",value:function(a,_){var l=_.ruleContext;l.exitRule(a),a.exitEveryRule(l)}}])&&wb(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();zc.DEFAULT=new zc;const Rb={Trees:Qu,RuleNode:Le,ErrorNode:ei,TerminalNode:fn,ParseTreeListener:Th,ParseTreeVisitor:am,ParseTreeWalker:zc};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,a){return m.__proto__=a,m},Ch(f,i)}function Kc(f){return Kc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Kc(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&&Ch(y,o)})(l,f);var i,m,a,_=(m=l,a=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=Kc(m);if(a){var u=Kc(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return function(S,D){if(D&&(Ah(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}(zo);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,a){return m.__proto__=a,m},kh(f,i)}function Wc(f){return Wc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Wc(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,a,_=(m=l,a=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(a){var u=Wc(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return function(S,D){if(D&&(Dh(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,M){if(!(C instanceof M))throw new TypeError("Cannot call a class as a function")})(this,l),S=_.call(this,{message:Fb(o,u||null),recognizer:y,input:y.getInputStream(),ctx:y._ctx});var D=y._interp.atn.states[y.state].transitions[0];return D instanceof B_?(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}(zo);function Fb(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 Nb(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),Ya(_)==="symbol"?_:String(_)),a)}var _}function wh(f,i){return wh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},wh(f,i)}function qc(f){return qc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},qc(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&&wh(o,u)})(y,f);var i,m,a,_,l=(a=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=qc(a);if(_){var S=qc(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(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(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,M,fe){if(!this.exactOnly||C){var Ne="reportAmbiguity d="+this.getDecisionDescription(o,u)+": ambigAlts="+this.getConflictingAlts(M,fe)+", input='"+o.getTokenStream().getText(new _e(S,D))+"'";o.notifyErrorListeners(Ne)}}},{key:"reportAttemptingFullContext",value:function(o,u,S,D,C,M){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,M){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 M=C[D]||null;return M===null||M.length===0?""+S:"".concat(S," (").concat(M,")")}},{key:"getConflictingAlts",value:function(o,u){if(o!==null)return o;for(var S=new zr,D=0;D<u.items.length;D++)S.add(u.items[D].alt);return"{".concat(S.values().join(", "),"}")}}],m&&Nb(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(Ls);function Rh(f){return Rh=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},Rh(f)}function um(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function Fh(f){var i=typeof Map=="function"?new Map:void 0;return Fh=function(m){if(m===null||(a=m,Function.toString.call(a).indexOf("[native code]")===-1))return m;var a;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 Nh(m,arguments,ru(this).constructor)}return _.prototype=Object.create(m.prototype,{constructor:{value:_,enumerable:!1,writable:!0,configurable:!0}}),nu(_,m)},Fh(f)}function Nh(f,i,m){return Nh=cm()?Reflect.construct.bind():function(a,_,l){var y=[null];y.push.apply(y,_);var o=new(Function.bind.apply(a,y));return l&&nu(o,l.prototype),o},Nh.apply(null,arguments)}function cm(){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,a){return m.__proto__=a,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 Pb=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,a,_=(m=l,a=cm(),function(){var y,o=ru(m);if(a){var u=ru(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return function(S,D){if(D&&(Rh(D)==="object"||typeof D=="function"))return D;if(D!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return um(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(um(y),l),y}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(Fh(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 Ib(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),iu(_)==="symbol"?_:String(_)),a)}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 Bb(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),Za(_)==="symbol"?_:String(_)),a)}var _}function Ph(f,i){return Ph=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},Ph(f,i)}function Xc(f){return Xc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Xc(f)}var Ih=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&&Ph(o,u)})(y,f);var i,m,a,_,l=(a=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(a);if(_){var S=Xc(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(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(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 Hc?this.reportNoViableAlternative(o,u):u instanceof tu?this.reportInputMismatch(o,u):u instanceof Oh?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 M=C.addSet(this.getErrorRecoverySet(o));this.consumeUntil(o,M)}}}},{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,M=o.getTokenStream().LT(-1);return C.type===n.EOF&&M!==null&&(C=M),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],M=u.nextTokens(C.followState);D.addSet(M),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&&Bb(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(function(){function f(){(function(a,_){if(!(a instanceof _))throw new TypeError("Cannot call a class as a function")})(this,f)}var i,m;return i=f,(m=[{key:"reset",value:function(a){}},{key:"recoverInline",value:function(a){}},{key:"recover",value:function(a,_){}},{key:"sync",value:function(a){}},{key:"inErrorRecoveryMode",value:function(a){}},{key:"reportError",value:function(a){}}])&&Ib(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 Lb(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),Qa(_)==="symbol"?_:String(_)),a)}var _}function Bh(f,i){return Bh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},Bh(f,i)}function Yc(f){return Yc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Yc(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&&Bh(o,u)})(y,f);var i,m,a,_,l=(a=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(a);if(_){var S=Yc(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(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(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 Pb(u)}},{key:"recoverInline",value:function(o){this.recover(o,new tu(o))}},{key:"sync",value:function(o){}}],m&&Lb(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(Ih);const Mb={RecognitionException:zo,NoViableAltException:Hc,LexerNoViableAltException:lh,InputMismatchException:tu,FailedPredicateException:Oh,DiagnosticErrorListener:sm,BailErrorStrategy:lm,DefaultErrorStrategy:Ih,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 Ub(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),ou(_)==="symbol"?_:String(_)),a)}var _}var au=function(){function f(a,_){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=a,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(a){if(a===0)return 0;a<0&&(a+=1);var _=this._index+a-1;return _<0||_>=this._size?n.EOF:this.data[_]}},{key:"LT",value:function(a){return this.LA(a)}},{key:"mark",value:function(){return-1}},{key:"release",value:function(a){}},{key:"seek",value:function(a){a<=this._index?this._index=a:this._index=Math.min(a,this._size)}},{key:"getText",value:function(a,_){if(_>=this._size&&(_=this._size-1),a>=this._size)return"";if(this.decodeToUnicodeCodePoints){for(var l="",y=a;y<=_;y++)l+=String.fromCodePoint(this.data[y]);return l}return this.strdata.slice(a,_+1)}},{key:"toString",value:function(){return this.strdata}},{key:"index",get:function(){return this._index}},{key:"size",get:function(){return this._size}}])&&Ub(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();function Lh(f){return Lh=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},Lh(f)}function Mh(f,i){return Mh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},Mh(f,i)}function Zc(f){return Zc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Zc(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&&Mh(y,o)})(l,f);var i,m,a,_=(m=l,a=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=Zc(m);if(a){var u=Zc(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return function(S,D){if(D&&(Lh(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),fm=Fr(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 Vb(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),Ja(_)==="symbol"?_:String(_)),a)}var _}function Uh(f,i){return Uh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},Uh(f,i)}function Qc(f){return Qc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Qc(f)}var hm=typeof process<"u"&&process.versions!=null&&process.versions.node!=null,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&&Uh(o,u)})(y,f);var i,m,a,_,l=(a=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=Qc(a);if(_){var S=Qc(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(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(D)}(this,o)});function y(o,u,S){var D;if(function(M,fe){if(!(M instanceof fe))throw new TypeError("Cannot call a class as a function")}(this,y),!hm)throw new Error("FileStream is only available when running in Node!");var C=fm.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(!hm)throw new Error("FileStream is only available when running in Node!");fm.readFile(o,u,function(D,C){var M=null;C!==null&&(M=new au(C,!0)),S(D,M)})}}],m&&Vb(i,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(su);const dm={fromString:function(f){return new au(f,!0)},fromBlob:function(f,i,m,a){var _=new window.FileReader;_.onload=function(l){var y=new au(l.target.result,!0);m(y)},_.onerror=a,_.readAsText(f,i)},fromBuffer:function(f,i){return new au(f.toString(i),!0)},fromPath:function(f,i,m){pm.fromPath(f,i,m)},fromPathSync:function(f,i){return new pm(f,i)}},jb={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 _m(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),uu(_)==="symbol"?_:String(_)),a)}var _}function Hb(f,i,m){return i&&_m(f.prototype,i),m&&_m(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 $b(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),es(_)==="symbol"?_:String(_)),a)}var _}function Vh(f,i){return Vh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},Vh(f,i)}function Jc(f){return Jc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Jc(f)}var 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&&Vh(o,u)})(y,f);var i,m,a,_,l=(a=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(a);if(_){var S=Jc(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(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(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 M=this.tokens[C];if(M.type===n.EOF)break;(S===null||S.contains(M.type))&&D.push(M)}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 M=this.tokens[C];S===-1?M.channel!==hr.DEFAULT_TOKEN_CHANNEL&&D.push(M):M.channel===S&&D.push(M)}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 M=this.tokens[C];if(M.type===n.EOF)break;D+=M.text}return D}},{key:"fill",value:function(){for(this.lazyInit();this.fetch(1e3)===1e3;);}}])&&$b(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(Hb(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 Gb(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),ts(_)==="symbol"?_:String(_)),a)}var _}function jh(f,i){return jh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},jh(f,i)}function el(f){return el=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},el(f)}Object.defineProperty(mm,"size",{get:function(){return this.tokens.length}});var ym=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,a,_,l=(a=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(a);if(_){var S=el(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(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(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}}])&&Gb(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(mm);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 zb(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),ns(_)==="symbol"?_:String(_)),a)}var _}function Hh(f,i){return Hh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},Hh(f,i)}function tl(f){return tl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},tl(f)}var Kb=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,a,_,l=(a=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(a);if(_){var S=tl(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(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(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)}}])&&zb(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(Th);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 Wb(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),rs(_)==="symbol"?_:String(_)),a)}var _}function $h(f,i){return $h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},$h(f,i)}function nl(f){return nl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},nl(f)}var Gh=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,a,_,l=(a=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(a);if(_){var S=nl(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(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(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 Ih,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 eh(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 ei||u.isErrorNode!==void 0&&u.isErrorNode()?D.visitErrorNode(u):u instanceof fn&&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 M=u.states[S.invokingState].transitions[0];if((C=u.nextTokens(M.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 Kb(this),this.addParseListener(this._tracer)):(this.removeParseListener(this._tracer),this._tracer=null)}}],m&&Wb(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(Nc);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 qb(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),is(_)==="symbol"?_:String(_)),a)}var _}function zh(f,i){return zh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},zh(f,i)}function rl(f){return rl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},rl(f)}Gh.bypassAltsAtnCache={};var gm=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,a,_,l=(a=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(a);if(_){var S=rl(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(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(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}}])&&qb(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(fn);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 Xb(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),os(_)==="symbol"?_:String(_)),a)}var _}function Kh(f,i){return Kh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},Kh(f,i)}function il(f){return il=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},il(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&&Kh(o,u)})(y,f);var i,m,a,_,l=(a=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(a);if(_){var S=il(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(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(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)}}])&&Xb(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(gm);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 Yb(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.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)}(a.key),as(_)==="symbol"?_:String(_)),a)}var _}function Wh(f,i){return Wh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},Wh(f,i)}function ol(f){return ol=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},ol(f)}var qh=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,a,_,l=(a=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(a);if(_){var S=ol(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(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(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 vm&&(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 gm(o);return this.addChild(u),u.parentCtx=this,u}},{key:"addErrorNode",value:function(o){var u=new vm(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 fn&&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 fn&&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)}}])&&Yb(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(no);function Xh(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&&Yh(f,i)}function Yh(f,i){return Yh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,a){return m.__proto__=a,m},Yh(f,i)}function Zh(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,a=al(f);if(i){var _=al(this).constructor;m=Reflect.construct(a,arguments,_)}else m=a.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 al(f){return al=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},al(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 bm(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)?bm(u,S):void 0}}(f))||i&&f&&typeof f.length=="number"){m&&(f=m);var a=0,_=function(){};return{s:_,n:function(){return a>=f.length?{done:!0}:{done:!1,value:f[a++]}},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 bm(f,i){(i==null||i>f.length)&&(i=f.length);for(var m=0,a=new Array(i);m<i;m++)a[m]=f[m];return a}function cu(f,i){if(!(f instanceof i))throw new TypeError("Cannot call a class as a function")}function Em(f,i){for(var m=0;m<i.length;m++){var a=i[m];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(f,xm(a.key),a)}}function lu(f,i,m){return i&&Em(f.prototype,i),m&&Em(f,m),Object.defineProperty(f,"prototype",{writable:!1}),f}function xm(f){var i=function(m,a){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)}no.EMPTY=new qh;var sl,ul,Qh,Sm=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 a,_=arguments.length>2&&arguments[2]!==void 0?arguments[2]:f.DEFAULT_PROGRAM_NAME;a=typeof i=="number"?i:i.tokenIndex;var l=this.getProgram(_),y=new Am(this.tokens,a,l.length,m);l.push(y)}},{key:"insertBefore",value:function(i,m){var a,_=arguments.length>2&&arguments[2]!==void 0?arguments[2]:f.DEFAULT_PROGRAM_NAME;a=typeof i=="number"?i:i.tokenIndex;var l=this.getProgram(_),y=new cs(this.tokens,a,l.length,m);l.push(y)}},{key:"replaceSingle",value:function(i,m){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:f.DEFAULT_PROGRAM_NAME;this.replace(i,i,m,a)}},{key:"replace",value:function(i,m,a){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 cl(this.tokens,i,m,l.length,a);l.push(y)}},{key:"delete",value:function(i,m){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:f.DEFAULT_PROGRAM_NAME;m===void 0&&(m=i),this.replace(i,m,null,a)}},{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,a=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"&&(a=i);var _=this.programs.get(a),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 M,fe=us(u.values());try{for(fe.s();!(M=fe.n()).done;){var Ne=M.value;Ne.index>=this.tokens.size-1&&o.push(Ne.text.toString())}}catch(we){fe.e(we)}finally{fe.f()}}return o.join("")}},{key:"reduceToSingleOperationPerIndex",value:function(i){for(var m=0;m<i.length;m++){var a=i[m];if(a!=null&&a instanceof cl){var _,l=a,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(Rr){y.e(Rr)}finally{y.f()}var u,S=us(this.getKindOfOps(i,cl,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(Rr){S.e(Rr)}finally{S.f()}}}for(var M=0;M<i.length;M++){var fe=i[M];if(fe!=null&&fe instanceof cs){var Ne,we=fe,Ge=us(this.getKindOfOps(i,cs,M));try{for(Ge.s();!(Ne=Ge.n()).done;){var ct=Ne.value;ct.index===we.index&&(ct instanceof Am?(we.text=this.catOpText(ct.text,we.text),i[ct.instructionIndex]=void 0):ct instanceof cs&&(we.text=this.catOpText(we.text,ct.text),i[ct.instructionIndex]=void 0))}}catch(Rr){Ge.e(Rr)}finally{Ge.f()}var We,bn=us(this.getKindOfOps(i,cl,M));try{for(bn.s();!(We=bn.n()).done;){var gn=We.value;if(we.index!==gn.index){if(we.index>=gn.index&&we.index<=gn.lastIndex)throw new Error("insert op ".concat(we," within boundaries of previous ").concat(gn))}else gn.text=this.catOpText(we.text,gn.text),i[M]=void 0}}catch(Rr){bn.e(Rr)}finally{bn.f()}}}var Wn,Wr=new Map,Ii=us(i);try{for(Ii.s();!(Wn=Ii.n()).done;){var Bi=Wn.value;if(Bi!=null){if(Wr.get(Bi.index)!=null)throw new Error("should only be one op per index");Wr.set(Bi.index,Bi)}}}catch(Rr){Ii.e(Rr)}finally{Ii.f()}return Wr}},{key:"catOpText",value:function(i,m){var a="",_="";return i!=null&&(a=i.toString()),m!=null&&(_=m.toString()),a+_}},{key:"getKindOfOps",value:function(i,m,a){return i.slice(0,a).filter(function(_){return _&&_ instanceof m})}}]),f}();sl=Sm,Qh="default",(ul=xm(ul="DEFAULT_PROGRAM_NAME"))in sl?Object.defineProperty(sl,ul,{value:Qh,enumerable:!0,configurable:!0,writable:!0}):sl[ul]=Qh;var Tm=function(){function f(i,m,a,_){cu(this,f),this.tokens=i,this.instructionIndex=a,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){Xh(m,f);var i=Zh(m);function m(a,_,l,y){return cu(this,m),i.call(this,a,_,l,y)}return lu(m,[{key:"execute",value:function(a){return this.text&&a.push(this.text.toString()),this.tokens.get(this.index).type!==n.EOF&&a.push(String(this.tokens.get(this.index).text)),this.index+1}}]),m}(Tm),Am=function(f){Xh(m,f);var i=Zh(m);function m(a,_,l,y){return cu(this,m),i.call(this,a,_+1,l,y)}return lu(m)}(cs),cl=function(f){Xh(m,f);var i=Zh(m);function m(a,_,l,y,o){var u;return cu(this,m),(u=i.call(this,a,_,y,o)).lastIndex=l,u}return lu(m,[{key:"execute",value:function(a){return this.text&&a.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}(Tm);const Zb={atn:Eb,dfa:Ab,context:Cb,misc:Db,tree:Rb,error:Mb,Token:n,CommonToken:Us,CharStreams:dm,CharStream:su,InputStream:su,CommonTokenStream:ym,Lexer:hr,Parser:Gh,ParserRuleContext:qh,Interval:_e,IntervalSet:J,LL1Analyzer:$o,Utils:jb,TokenStreamRewriter:Sm}})();var Nr=Mt.dx,Jh=Mt.q2;Mt.FO,Mt.xf,Mt.Gy;var Cm=Mt.s4,Dm=Mt.c7,ep=Mt._7;Mt.gp;var km=Mt.cK,Om=Mt.zs,wm=Mt.AV;Mt.Xp,Mt.VS,Mt.ul;var Rm=Mt.hW,Fm=Mt.x1,vi=Mt.z5;Mt.oN;var Nm=Mt.TB;Mt.u1;var Pm=Mt._b,Im=Mt.$F,nt=Mt._T,tp=Mt.db,Bm=Mt.Zx,rt=Mt._x;Mt.r8,Mt.JI,Mt.TP;var np=Mt.WU;Mt.Nj,Mt.ZP;const $=class $ extends Pm{get grammarFileName(){return"tccScriptParser.g4"}get literalNames(){return $.literalNames}get symbolicNames(){return $.symbolicNames}get ruleNames(){return $.ruleNames}get serializedATN(){return $._serializedATN}createFailedPredicateException(e,n){return new Om(this,e,n)}constructor(e){super(e),this._interp=new Im(this,$._ATN,$.DecisionsToDFA,new tp)}program(){let e=new Lm(this,this._ctx,this.state);this.enterRule(e,0,$.RULE_program);let n;try{this.enterOuterAlt(e,1);{for(this.state=102,this._errHandler.sync(this),n=this._input.LA(1);n===4||n===6||!(n-36&-32)&&1<<n-36&19237111;){switch(this.state=100,this._errHandler.sync(this),this._input.LA(1)){case 60:this.state=98,this.match($.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 57:this.state=99,this.globalStmt();break;default:throw new vi(this)}this.state=104,this._errHandler.sync(this),n=this._input.LA(1)}this.state=105,this.match($.EOF)}}catch(r){if(r instanceof rt)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 ll(this,this._ctx,this.state);this.enterRule(e,2,$.RULE_globalStmt);let n;try{switch(this.state=118,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,3,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=107,this.variableDeclarationStmt(),this.state=109,this._errHandler.sync(this),n=this._input.LA(1),n===8&&(this.state=108,this.match($.Comma)),this.state=111,this.match($.NEWLINE);break;case 2:this.enterOuterAlt(e,2),this.state=113,this.blockStmt();break;case 3:this.enterOuterAlt(e,3),this.state=114,this.importStmt();break;case 4:this.enterOuterAlt(e,4),this.state=115,this.arrowFunction();break;case 5:this.enterOuterAlt(e,5),this.state=116,this.arrowMethod();break;case 6:this.enterOuterAlt(e,6),this.state=117,this.typeStatement();break}}catch(r){if(r instanceof rt)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 rp(this,this._ctx,this.state);this.enterRule(e,4,$.RULE_blockStmt);try{let n;this.enterOuterAlt(e,1);{for(this.state=125,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,4,this._ctx);n!==2&&n!==Nr.INVALID_ALT_NUMBER;)n===1&&(this.state=120,this.variableDeclarationStmt(),this.state=121,this.match($.Comma)),this.state=127,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,4,this._ctx);switch(this.state=130,this._errHandler.sync(this),this._input.LA(1)){case 4:case 6:case 38:case 40:case 51:case 54:case 57:this.state=128,this.varBlockStmt();break;case 37:case 41:case 42:case 43:this.state=129,this.blockExpression();break;default:throw new vi(this)}}}catch(n){if(n instanceof rt)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 fl(this,this._ctx,this.state);this.enterRule(e,6,$.RULE_stmt);let n;try{switch(this.state=139,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,7,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=132,this.simpleStmt(),this.state=134,this._errHandler.sync(this),n=this._input.LA(1),n===8&&(this.state=133,this.match($.Comma)),this.state=136,this.match($.NEWLINE);break;case 2:this.enterOuterAlt(e,2),this.state=138,this.expressionBlockSequence();break}}catch(r){if(r instanceof rt)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 hl(this,this._ctx,this.state);this.enterRule(e,8,$.RULE_simpleStmt);try{switch(this.state=145,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,8,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=141,this.expressionSequence();break;case 2:this.enterOuterAlt(e,2),this.state=142,this.blockSequence();break;case 3:this.enterOuterAlt(e,3),this.state=143,this.brackethesized();break;case 4:this.enterOuterAlt(e,4),this.state=144,this.flowStmt();break}}catch(n){if(n instanceof rt)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 ip(this,this._ctx,this.state);this.enterRule(e,10,$.RULE_flowStmt);let n;try{this.enterOuterAlt(e,1),this.state=147,n=this._input.LA(1),n===34||n===39?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof rt)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,$.RULE_block);let n;try{switch(this.state=156,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:this.enterOuterAlt(e,1),this.state=149,this.simpleStmt(),this.state=151,this._errHandler.sync(this),n=this._input.LA(1),n===8&&(this.state=150,this.match($.Comma)),this.state=153,this.match($.NEWLINE);break;case 60:this.enterOuterAlt(e,2),this.state=155,this.blockLine();break;default:throw new vi(this)}}catch(r){if(r instanceof rt)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 bo(this,this._ctx,this.state);this.enterRule(e,14,$.RULE_blockLine);let n;try{this.enterOuterAlt(e,1);{this.state=158,this.match($.NEWLINE),this.state=159,this.match($.INDENT),this.state=161,this._errHandler.sync(this),n=this._input.LA(1);do this.state=160,this.stmt(),this.state=163,this._errHandler.sync(this),n=this._input.LA(1);while(!(n&-32)&&1<<n&2147496016||!(n-32&-32)&&1<<n-32&63459303);this.state=165,this.match($.DEDENT)}}catch(r){if(r instanceof rt)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,$.RULE_variableDeclarationStmt);try{let n;this.enterOuterAlt(e,1);{switch(this.state=169,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,12,this._ctx)){case 1:this.state=167,this.methodStmt();break;case 2:this.state=168,this.variableDeclarationList();break}for(this.state=178,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,14,this._ctx);n!==2&&n!==Nr.INVALID_ALT_NUMBER;){if(n===1)switch(this.state=171,this.match($.Comma),this.state=174,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,13,this._ctx)){case 1:this.state=172,this.methodStmt();break;case 2:this.state=173,this.variableDeclarationList();break}this.state=180,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,14,this._ctx)}}}catch(n){if(n instanceof rt)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 Li(this,this._ctx,this.state);this.enterRule(e,18,$.RULE_variableDeclarationList);try{switch(this.state=189,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,15,this._ctx)){case 1:e=new Um(this,e),this.enterOuterAlt(e,1),this.state=181,this.varArrayDeclaration(),this.state=182,this.match($.Assign),this.state=183,this.singleExpression(0);break;case 2:e=new Mm(this,e),this.enterOuterAlt(e,2),this.state=185,this.name(),this.state=186,this.assignmentOperator(),this.state=187,this.singleExpression(0);break}}catch(n){if(n instanceof rt)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 pl(this,this._ctx,this.state);this.enterRule(e,20,$.RULE_varModifier);let n;try{this.enterOuterAlt(e,1),this.state=191,n=this._input.LA(1),n===38||n===40?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof rt)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 op(this,this._ctx,this.state);this.enterRule(e,22,$.RULE_blockSequence);try{let n;this.enterOuterAlt(e,1);{switch(this.state=195,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,16,this._ctx)){case 1:this.state=193,this.singleExpression(0);break;case 2:this.state=194,this.variableDeclarationList();break}for(this.state=204,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,18,this._ctx);n!==2&&n!==Nr.INVALID_ALT_NUMBER;){if(n===1)switch(this.state=197,this.match($.Comma),this.state=200,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,17,this._ctx)){case 1:this.state=198,this.singleExpression(0);break;case 2:this.state=199,this.variableDeclarationList();break}this.state=206,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,18,this._ctx)}}}catch(n){if(n instanceof rt)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 dl(this,this._ctx,this.state);this.enterRule(e,24,$.RULE_expressionSequence);try{let n;for(this.enterOuterAlt(e,1),this.state=207,this.singleExpression(0),this.state=212,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,19,this._ctx);n!==2&&n!==Nr.INVALID_ALT_NUMBER;)n===1&&(this.state=208,this.match($.Comma),this.state=209,this.singleExpression(0)),this.state=214,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,19,this._ctx)}catch(n){if(n instanceof rt)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 ap(this,this._ctx,this.state);this.enterRule(e,26,$.RULE_expressionBlockSequence);try{let n;this.enterOuterAlt(e,1);{for(this.state=223,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,21,this._ctx);n!==2&&n!==Nr.INVALID_ALT_NUMBER;){if(n===1){switch(this.state=217,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,20,this._ctx)){case 1:this.state=215,this.singleExpression(0);break;case 2:this.state=216,this.variableDeclarationList();break}this.state=219,this.match($.Comma)}this.state=225,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,21,this._ctx)}switch(this.state=228,this._errHandler.sync(this),this._input.LA(1)){case 4:case 6:case 38:case 40:case 51:case 54:case 57:this.state=226,this.varBlockStmt();break;case 37:case 41:case 42:case 43:this.state=227,this.blockExpression();break;default:throw new vi(this)}}}catch(n){if(n instanceof rt)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 _l(this,this._ctx,this.state);this.enterRule(e,28,$.RULE_varBlockStmt);try{this.enterOuterAlt(e,1);{switch(this.state=236,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,23,this._ctx)){case 1:this.state=230,this.varArrayDeclaration(),this.state=231,this.match($.Assign);break;case 2:this.state=233,this.name(),this.state=234,this.assignmentOperator();break}this.state=238,this.blockExpression()}}catch(n){if(n instanceof rt)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,$.RULE_varArrayDeclaration);let n;try{switch(this.state=258,this._errHandler.sync(this),this._input.LA(1)){case 38:case 40:case 51:case 54:case 57:e=new jm(this,e),this.enterOuterAlt(e,1);{switch(this.state=241,this._errHandler.sync(this),n=this._input.LA(1),(n===38||n===40)&&(this.state=240,this.varModifier()),this.state=244,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,25,this._ctx)){case 1:this.state=243,this.typeGather();break}this.state=246,this.identifier()}break;case 4:e=new Vm(this,e),this.enterOuterAlt(e,2);{for(this.state=247,this.match($.OpenBracket),this.state=248,this.identifier(),this.state=253,this._errHandler.sync(this),n=this._input.LA(1);n===8;)this.state=249,this.match($.Comma),this.state=250,this.identifier(),this.state=255,this._errHandler.sync(this),n=this._input.LA(1);this.state=256,this.match($.CloseBracket)}break;default:throw new vi(this)}}catch(r){if(r instanceof rt)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,$.RULE_blockExpression);try{switch(this.state=264,this._errHandler.sync(this),this._input.LA(1)){case 43:this.enterOuterAlt(e,1),this.state=260,this.ifStatement();break;case 37:this.enterOuterAlt(e,2),this.state=261,this.forStatement();break;case 42:this.enterOuterAlt(e,3),this.state=262,this.whileStatement();break;case 41:this.enterOuterAlt(e,4),this.state=263,this.switchStatement();break;default:throw new vi(this)}}catch(n){if(n instanceof rt)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,s=new je(this,this._ctx,r),c=s,p=34;this.enterRecursionRule(s,34,$.RULE_singleExpression,e);let d;try{let E;this.enterOuterAlt(s,1);{switch(this.state=278,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,29,this._ctx)){case 1:s=new Jm(this,s),this._ctx=s,c=s,this.state=267,this.methodStmt();break;case 2:s=new Ym(this,s),this._ctx=s,c=s,this.state=268,d=this._input.LA(1),d===12||d===13?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=269,this.singleExpression(12);break;case 3:s=new Zm(this,s),this._ctx=s,c=s,this.state=270,this.match($.Not),this.state=271,this.singleExpression(11);break;case 4:s=new Wm(this,s),this._ctx=s,c=s,this.state=272,this.name();break;case 5:s=new qm(this,s),this._ctx=s,c=s,this.state=273,this.literal();break;case 6:s=new Hm(this,s),this._ctx=s,c=s,this.state=274,this.match($.OpenParen),this.state=275,this.singleExpression(0),this.state=276,this.match($.CloseParen);break}for(this._ctx.stop=this._input.LT(-1),this.state=311,this._errHandler.sync(this),E=this._interp.adaptivePredict(this._input,31,this._ctx);E!==2&&E!==Nr.INVALID_ALT_NUMBER;){if(E===1)switch(this._parseListeners!=null&&this.triggerExitRuleEvent(),c=s,this.state=309,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,30,this._ctx)){case 1:{if(s=new ty(this,new je(this,n,r)),this.pushNewRecursionContext(s,p,$.RULE_singleExpression),this.state=280,!this.precpred(this._ctx,10))throw this.createFailedPredicateException("this.precpred(this._ctx, 10)");this.state=281,d=this._input.LA(1),!(d&-32)&&1<<d&114688?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=282,this.singleExpression(11)}break;case 2:{if(s=new $m(this,new je(this,n,r)),this.pushNewRecursionContext(s,p,$.RULE_singleExpression),this.state=283,!this.precpred(this._ctx,9))throw this.createFailedPredicateException("this.precpred(this._ctx, 9)");this.state=284,d=this._input.LA(1),d===12||d===13?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=285,this.singleExpression(10)}break;case 3:{if(s=new Gm(this,new je(this,n,r)),this.pushNewRecursionContext(s,p,$.RULE_singleExpression),this.state=286,!this.precpred(this._ctx,8))throw this.createFailedPredicateException("this.precpred(this._ctx, 8)");this.state=287,d=this._input.LA(1),!(d&-32)&&1<<d&3932160?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=288,this.singleExpression(9)}break;case 4:{if(s=new ey(this,new je(this,n,r)),this.pushNewRecursionContext(s,p,$.RULE_singleExpression),this.state=289,!this.precpred(this._ctx,7))throw this.createFailedPredicateException("this.precpred(this._ctx, 7)");this.state=290,d=this._input.LA(1),d===22||d===23?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=291,this.singleExpression(8)}break;case 5:{if(s=new Km(this,new je(this,n,r)),this.pushNewRecursionContext(s,p,$.RULE_singleExpression),this.state=292,!this.precpred(this._ctx,6))throw this.createFailedPredicateException("this.precpred(this._ctx, 6)");this.state=293,this.match($.And),this.state=294,this.singleExpression(7)}break;case 6:{if(s=new Xm(this,new je(this,n,r)),this.pushNewRecursionContext(s,p,$.RULE_singleExpression),this.state=295,!this.precpred(this._ctx,5))throw this.createFailedPredicateException("this.precpred(this._ctx, 5)");this.state=296,this.match($.Or),this.state=297,this.singleExpression(6)}break;case 7:{if(s=new zm(this,new je(this,n,r)),this.pushNewRecursionContext(s,p,$.RULE_singleExpression),this.state=298,!this.precpred(this._ctx,4))throw this.createFailedPredicateException("this.precpred(this._ctx, 4)");this.state=299,this.match($.QuestionMark),this.state=300,this.singleExpression(0),this.state=301,this.match($.Colon),this.state=302,this.singleExpression(4)}break;case 8:{if(s=new Qm(this,new je(this,n,r)),this.pushNewRecursionContext(s,p,$.RULE_singleExpression),this.state=304,!this.precpred(this._ctx,13))throw this.createFailedPredicateException("this.precpred(this._ctx, 13)");this.state=305,this.match($.OpenBracket),this.state=306,this.singleExpression(0),this.state=307,this.match($.CloseBracket)}break}this.state=313,this._errHandler.sync(this),E=this._interp.adaptivePredict(this._input,31,this._ctx)}}}catch(E){if(E instanceof rt)s.exception=E,this._errHandler.reportError(this,E),this._errHandler.recover(this,E);else throw E}finally{this.unrollRecursionContexts(n)}return s}brackethesized(){let e=new ml(this,this._ctx,this.state);this.enterRule(e,36,$.RULE_brackethesized);try{this.enterOuterAlt(e,1),this.state=314,this.match($.OpenBracket),this.state=315,this.expressionSequence(),this.state=316,this.match($.CloseBracket)}catch(n){if(n instanceof rt)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 sp(this,this._ctx,this.state);this.enterRule(e,38,$.RULE_arguments);let n;try{let r;this.enterOuterAlt(e,1);{if(this.state=318,this.match($.OpenParen),this.state=330,this._errHandler.sync(this),n=this._input.LA(1),!(n&-32)&&1<<n&2147496016||!(n-32&-32)&&1<<n-32&63455235){for(this.state=319,this.argument(),this.state=324,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,32,this._ctx);r!==2&&r!==Nr.INVALID_ALT_NUMBER;)r===1&&(this.state=320,this.match($.Comma),this.state=321,this.argument()),this.state=326,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,32,this._ctx);this.state=328,this._errHandler.sync(this),n=this._input.LA(1),n===8&&(this.state=327,this.match($.Comma))}this.state=332,this.match($.CloseParen)}}catch(r){if(r instanceof rt)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 yl(this,this._ctx,this.state);this.enterRule(e,40,$.RULE_argument);try{this.enterOuterAlt(e,1);{switch(this.state=337,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,35,this._ctx)){case 1:this.state=334,this.identifier(),this.state=335,this.match($.Assign);break}switch(this.state=341,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:this.state=339,this.singleExpression(0);break;case 4:this.state=340,this.brackethesized();break;default:throw new vi(this)}}}catch(n){if(n instanceof rt)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 up(this,this._ctx,this.state);this.enterRule(e,42,$.RULE_ifStatement);let n;try{let r;this.enterOuterAlt(e,1);{for(this.state=343,this.match($.If),this.state=344,this.singleExpression(0),this.state=345,this.blockLine(),this.state=353,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,37,this._ctx);r!==2&&r!==Nr.INVALID_ALT_NUMBER;)r===1&&(this.state=346,this.match($.Else),this.state=347,this.match($.If),this.state=348,this.singleExpression(0),this.state=349,this.blockLine()),this.state=355,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,37,this._ctx);this.state=358,this._errHandler.sync(this),n=this._input.LA(1),n===48&&(this.state=356,this.match($.Else),this.state=357,this.blockLine())}}catch(r){if(r instanceof rt)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,$.RULE_forStatement);let n;try{switch(this.state=392,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,43,this._ctx)){case 1:e=new ny(this,e),this.enterOuterAlt(e,1);{switch(this.state=360,this.match($.For),this.state=362,this._errHandler.sync(this),n=this._input.LA(1),(n===38||n===40)&&(this.state=361,this.varModifier()),this.state=365,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,40,this._ctx)){case 1:this.state=364,this.typeGather();break}this.state=367,this.identifier(),this.state=368,this.match($.Assign),this.state=369,this.singleExpression(0),this.state=370,this.match($.To),this.state=371,this.singleExpression(0),this.state=374,this._errHandler.sync(this),n=this._input.LA(1),n===50&&(this.state=372,this.match($.By),this.state=373,this.singleExpression(0)),this.state=376,this.blockLine()}break;case 2:e=new ry(this,e),this.enterOuterAlt(e,2);{switch(this.state=378,this.match($.For),this.state=386,this._errHandler.sync(this),this._input.LA(1)){case 51:case 54:case 57:this.state=379,this.identifier();break;case 4:this.state=380,this.match($.OpenBracket),this.state=381,this.identifier(),this.state=382,this.match($.Comma),this.state=383,this.identifier(),this.state=384,this.match($.CloseBracket);break;default:throw new vi(this)}this.state=388,this.match($.In),this.state=389,this.singleExpression(0),this.state=390,this.blockLine()}break}}catch(r){if(r instanceof rt)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 cp(this,this._ctx,this.state);this.enterRule(e,46,$.RULE_switchStatement);let n;try{this.enterOuterAlt(e,1);{this.state=394,this.match($.Switch),this.state=396,this._errHandler.sync(this),n=this._input.LA(1),(!(n&-32)&&1<<n&2147496e3||!(n-32&-32)&&1<<n-32&63455235)&&(this.state=395,this.singleExpression(0)),this.state=398,this.match($.NEWLINE),this.state=399,this.match($.INDENT);{for(this.state=403,this._errHandler.sync(this),n=this._input.LA(1);!(n&-32)&&1<<n&2147496e3||!(n-32&-32)&&1<<n-32&63455235;)this.state=400,this.caseClause(),this.state=405,this._errHandler.sync(this),n=this._input.LA(1);this.state=407,this._errHandler.sync(this),n=this._input.LA(1),n===29&&(this.state=406,this.defaultCaluse())}this.state=409,this.match($.DEDENT)}}catch(r){if(r instanceof rt)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 gl(this,this._ctx,this.state);this.enterRule(e,48,$.RULE_caseClause);try{this.enterOuterAlt(e,1),this.state=411,this.singleExpression(0),this.state=412,this.match($.ARROW),this.state=413,this.block()}catch(n){if(n instanceof rt)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 lp(this,this._ctx,this.state);this.enterRule(e,50,$.RULE_defaultCaluse);try{this.enterOuterAlt(e,1),this.state=415,this.match($.ARROW),this.state=416,this.block()}catch(n){if(n instanceof rt)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 fp(this,this._ctx,this.state);this.enterRule(e,52,$.RULE_whileStatement);try{this.enterOuterAlt(e,1),this.state=418,this.match($.While),this.state=419,this.singleExpression(0),this.state=420,this.blockLine()}catch(n){if(n instanceof rt)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 hp(this,this._ctx,this.state);this.enterRule(e,54,$.RULE_importStmt);let n;try{let r;this.enterOuterAlt(e,1);{for(this.state=422,this.importElement(),this.state=427,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,47,this._ctx);r!==2&&r!==Nr.INVALID_ALT_NUMBER;)r===1&&(this.state=423,this.match($.Comma),this.state=424,this.importElement()),this.state=429,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,47,this._ctx);this.state=431,this._errHandler.sync(this),n=this._input.LA(1),n===8&&(this.state=430,this.match($.Comma)),this.state=433,this.match($.NEWLINE)}}catch(r){if(r instanceof rt)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 vl(this,this._ctx,this.state);this.enterRule(e,56,$.RULE_importElement);let n;try{this.enterOuterAlt(e,1),this.state=435,this.match($.Import),this.state=436,this.identifier(),this.state=437,this.match($.Divide),this.state=438,this.identifier(),this.state=439,this.match($.Divide),this.state=440,this.match($.IntegerLiteral),this.state=443,this._errHandler.sync(this),n=this._input.LA(1),n===53&&(this.state=441,this.match($.As),this.state=442,this.identifier())}catch(r){if(r instanceof rt)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 pp(this,this._ctx,this.state);this.enterRule(e,58,$.RULE_literal);let n;try{this.enterOuterAlt(e,1),this.state=445,n=this._input.LA(1),!(n-31&-32)&&1<<n-31&50331655?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof rt)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,$.RULE_methodStmt);try{let n;for(this.enterOuterAlt(e,1),this.state=447,this.methodElement(),this.state=452,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,50,this._ctx);n!==2&&n!==Nr.INVALID_ALT_NUMBER;)n===1&&(this.state=448,this.match($.Point),this.state=449,this.methodElement()),this.state=454,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,50,this._ctx)}catch(n){if(n instanceof rt)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,$.RULE_methodElement);try{this.enterOuterAlt(e,1),this.state=455,this.methodName(),this.state=456,this.arguments()}catch(n){if(n instanceof rt)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 dp(this,this._ctx,this.state);this.enterRule(e,64,$.RULE_methodName);let n;try{let r;this.enterOuterAlt(e,1);{switch(this.state=471,this._errHandler.sync(this),this._input.LA(1)){case 51:case 54:case 57:for(this.state=463,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,51,this._ctx);r!==2&&r!==Nr.INVALID_ALT_NUMBER;)r===1&&(this.state=458,this.identifier(),this.state=459,this.match($.Point)),this.state=465,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,51,this._ctx);break;case 6:this.state=466,this.match($.OpenParen),this.state=467,this.singleExpression(0),this.state=468,this.match($.CloseParen),this.state=469,this.match($.Point);break;default:throw new vi(this)}this.state=473,this.identifier(),this.state=482,this._errHandler.sync(this),n=this._input.LA(1),n===18&&(this.state=474,this.match($.LessThan),this.state=475,this.typeName(),this.state=478,this._errHandler.sync(this),n=this._input.LA(1),n===8&&(this.state=476,this.match($.Comma),this.state=477,this.typeName()),this.state=480,this.match($.MoreThan))}}catch(r){if(r instanceof rt)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 _p(this,this._ctx,this.state);this.enterRule(e,66,$.RULE_arrowFunction);let n;try{this.enterOuterAlt(e,1),this.state=485,this._errHandler.sync(this),n=this._input.LA(1),n===36&&(this.state=484,this.match($.Export)),this.state=487,this.identifier(),this.state=488,this.arrowFunctionParameters(),this.state=489,this.match($.ARROW),this.state=490,this.block()}catch(r){if(r instanceof rt)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 mp(this,this._ctx,this.state);this.enterRule(e,68,$.RULE_arrowFunctionParameters);let n;try{this.enterOuterAlt(e,1),this.state=492,this.match($.OpenParen),this.state=494,this._errHandler.sync(this),n=this._input.LA(1),!(n-51&-32)&&1<<n-51&73&&(this.state=493,this.formalParameterList()),this.state=496,this.match($.CloseParen)}catch(r){if(r instanceof rt)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 bl(this,this._ctx,this.state);this.enterRule(e,70,$.RULE_formalParameterList);let n;try{for(this.enterOuterAlt(e,1),this.state=498,this.formalParameterArg(),this.state=503,this._errHandler.sync(this),n=this._input.LA(1);n===8;)this.state=499,this.match($.Comma),this.state=500,this.formalParameterArg(),this.state=505,this._errHandler.sync(this),n=this._input.LA(1)}catch(r){if(r instanceof rt)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 El(this,this._ctx,this.state);this.enterRule(e,72,$.RULE_formalParameterArg);let n;try{this.enterOuterAlt(e,1);{switch(this.state=507,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,58,this._ctx)){case 1:this.state=506,this.typeGather();break}this.state=509,this.identifier(),this.state=512,this._errHandler.sync(this),n=this._input.LA(1),n===9&&(this.state=510,this.match($.Assign),this.state=511,this.singleExpression(0))}}catch(r){if(r instanceof rt)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 yp(this,this._ctx,this.state);this.enterRule(e,74,$.RULE_arrowMethod);let n;try{this.enterOuterAlt(e,1),this.state=515,this._errHandler.sync(this),n=this._input.LA(1),n===36&&(this.state=514,this.match($.Export)),this.state=517,this.match($.Method),this.state=518,this.identifier(),this.state=519,this.arrowMethodParameters(),this.state=520,this.match($.ARROW),this.state=521,this.block()}catch(r){if(r instanceof rt)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 gp(this,this._ctx,this.state);this.enterRule(e,76,$.RULE_arrowMethodParameters);let n;try{this.enterOuterAlt(e,1),this.state=523,this.match($.OpenParen),this.state=524,this.typeGather(),this.state=525,this.identifier(),this.state=528,this._errHandler.sync(this),n=this._input.LA(1),n===9&&(this.state=526,this.match($.Assign),this.state=527,this.singleExpression(0)),this.state=532,this._errHandler.sync(this),n=this._input.LA(1),n===8&&(this.state=530,this.match($.Comma),this.state=531,this.formalParameterList()),this.state=534,this.match($.CloseParen)}catch(r){if(r instanceof rt)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 vp(this,this._ctx,this.state);this.enterRule(e,78,$.RULE_typeStatement);let n;try{this.enterOuterAlt(e,1);{this.state=537,this._errHandler.sync(this),n=this._input.LA(1),n===36&&(this.state=536,this.match($.Export)),this.state=539,this.match($.Type),this.state=540,this.identifier(),this.state=541,this.match($.NEWLINE),this.state=542,this.match($.INDENT),this.state=544,this._errHandler.sync(this),n=this._input.LA(1);do this.state=543,this.typeElement(),this.state=546,this._errHandler.sync(this),n=this._input.LA(1);while(!(n-40&-32)&&1<<n-40&149505);this.state=548,this.match($.DEDENT)}}catch(r){if(r instanceof rt)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 xl(this,this._ctx,this.state);this.enterRule(e,80,$.RULE_typeElement);let n;try{this.enterOuterAlt(e,1);{switch(this.state=551,this._errHandler.sync(this),n=this._input.LA(1),n===40&&(this.state=550,this.match($.Varip)),this.state=554,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,66,this._ctx)){case 1:this.state=553,this.typeGather();break}this.state=556,this.identifier(),this.state=559,this._errHandler.sync(this),n=this._input.LA(1),n===9&&(this.state=557,this.match($.Assign),this.state=558,this.singleExpression(0)),this.state=561,this.match($.NEWLINE)}}catch(r){if(r instanceof rt)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 Sl(this,this._ctx,this.state);this.enterRule(e,82,$.RULE_assignmentOperator);let n;try{this.enterOuterAlt(e,1),this.state=563,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 rt)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 Tl(this,this._ctx,this.state);this.enterRule(e,84,$.RULE_typeMap);try{this.enterOuterAlt(e,1),this.state=565,this.match($.Map),this.state=566,this.match($.LessThan),this.state=567,this.typeName(),this.state=568,this.match($.Comma),this.state=569,this.typeName(),this.state=570,this.match($.MoreThan)}catch(n){if(n instanceof rt)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 bp(this,this._ctx,this.state);this.enterRule(e,86,$.RULE_typeSeries);try{switch(this.enterOuterAlt(e,1),this.state=572,this.typeName(),this.state=576,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,68,this._ctx)){case 1:this.state=573,this.typeName();break;case 2:this.state=574,this.typeArray();break;case 3:this.state=575,this.typeMap();break}}catch(n){if(n instanceof rt)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 Al(this,this._ctx,this.state);this.enterRule(e,88,$.RULE_typeArray);try{switch(this.state=587,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,69,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=578,this.typeName(),this.state=579,this.match($.LessThan),this.state=580,this.typeName(),this.state=581,this.match($.MoreThan);break;case 2:this.enterOuterAlt(e,2),this.state=583,this.typeName(),this.state=584,this.match($.OpenBracket),this.state=585,this.match($.CloseBracket);break}}catch(n){if(n instanceof rt)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 Wo(this,this._ctx,this.state);this.enterRule(e,90,$.RULE_typeGather);try{switch(this.state=593,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,70,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=589,this.typeName();break;case 2:this.enterOuterAlt(e,2),this.state=590,this.typeArray();break;case 3:this.enterOuterAlt(e,3),this.state=591,this.typeMap();break;case 4:this.enterOuterAlt(e,4),this.state=592,this.typeSeries();break}}catch(n){if(n instanceof rt)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 On(this,this._ctx,this.state);this.enterRule(e,92,$.RULE_identifier);let n;try{this.enterOuterAlt(e,1),this.state=595,n=this._input.LA(1),!(n-51&-32)&&1<<n-51&73?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof rt)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 bi(this,this._ctx,this.state);this.enterRule(e,94,$.RULE_typeName);let n;try{this.enterOuterAlt(e,1),this.state=597,this.identifier(),this.state=600,this._errHandler.sync(this),n=this._input.LA(1),n===3&&(this.state=598,this.match($.Point),this.state=599,this.identifier())}catch(r){if(r instanceof rt)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,$.RULE_name);try{let n;switch(this.state=623,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,75,this._ctx)){case 1:this.enterOuterAlt(e,1);{for(this.state=610,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,73,this._ctx);n!==2&&n!==Nr.INVALID_ALT_NUMBER;){if(n===1){switch(this.state=604,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,72,this._ctx)){case 1:this.state=602,this.identifier();break;case 2:this.state=603,this.methodElement();break}this.state=606,this.match($.Point)}this.state=612,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,73,this._ctx)}this.state=613,this.identifier()}break;case 2:this.enterOuterAlt(e,2);{this.state=614,this.match($.OpenParen),this.state=615,this.singleExpression(0),this.state=616,this.match($.CloseParen),this.state=619,this._errHandler.sync(this),n=1;do{switch(n){case 1:this.state=617,this.match($.Point),this.state=618,this.identifier();break;default:throw new vi(this)}this.state=621,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,74,this._ctx)}while(n!==2&&n!==Nr.INVALID_ALT_NUMBER)}break}}catch(n){if(n instanceof rt)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}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 $.__ATN||($.__ATN=new Jh().deserialize($._serializedATN)),$.__ATN}};I($,"INDENT",1),I($,"DEDENT",2),I($,"Point",3),I($,"OpenBracket",4),I($,"CloseBracket",5),I($,"OpenParen",6),I($,"CloseParen",7),I($,"Comma",8),I($,"Assign",9),I($,"QuestionMark",10),I($,"Colon",11),I($,"Plus",12),I($,"Minus",13),I($,"Multiply",14),I($,"Divide",15),I($,"Modulus",16),I($,"Hashtag",17),I($,"LessThan",18),I($,"MoreThan",19),I($,"LessThanEquals",20),I($,"GreaterThanEquals",21),I($,"Equals_",22),I($,"NotEquals",23),I($,"MultiplyAssign",24),I($,"DivideAssign",25),I($,"ModulusAssign",26),I($,"PlusAssign",27),I($,"MinusAssign",28),I($,"ARROW",29),I($,"ColonEquals",30),I($,"BooleanLiteral",31),I($,"IntegerLiteral",32),I($,"DecimalLiteral",33),I($,"Break",34),I($,"And",35),I($,"Export",36),I($,"For",37),I($,"Var",38),I($,"Continue",39),I($,"Varip",40),I($,"Switch",41),I($,"While",42),I($,"If",43),I($,"In",44),I($,"Or",45),I($,"Not",46),I($,"Method",47),I($,"Else",48),I($,"To",49),I($,"By",50),I($,"Type",51),I($,"Import",52),I($,"As",53),I($,"Map",54),I($,"ColorLiteral",55),I($,"StringLiteral",56),I($,"Identifier",57),I($,"HIDDEN_",58),I($,"COMMENT_",59),I($,"NEWLINE",60),I($,"EOF",np.EOF),I($,"RULE_program",0),I($,"RULE_globalStmt",1),I($,"RULE_blockStmt",2),I($,"RULE_stmt",3),I($,"RULE_simpleStmt",4),I($,"RULE_flowStmt",5),I($,"RULE_block",6),I($,"RULE_blockLine",7),I($,"RULE_variableDeclarationStmt",8),I($,"RULE_variableDeclarationList",9),I($,"RULE_varModifier",10),I($,"RULE_blockSequence",11),I($,"RULE_expressionSequence",12),I($,"RULE_expressionBlockSequence",13),I($,"RULE_varBlockStmt",14),I($,"RULE_varArrayDeclaration",15),I($,"RULE_blockExpression",16),I($,"RULE_singleExpression",17),I($,"RULE_brackethesized",18),I($,"RULE_arguments",19),I($,"RULE_argument",20),I($,"RULE_ifStatement",21),I($,"RULE_forStatement",22),I($,"RULE_switchStatement",23),I($,"RULE_caseClause",24),I($,"RULE_defaultCaluse",25),I($,"RULE_whileStatement",26),I($,"RULE_importStmt",27),I($,"RULE_importElement",28),I($,"RULE_literal",29),I($,"RULE_methodStmt",30),I($,"RULE_methodElement",31),I($,"RULE_methodName",32),I($,"RULE_arrowFunction",33),I($,"RULE_arrowFunctionParameters",34),I($,"RULE_formalParameterList",35),I($,"RULE_formalParameterArg",36),I($,"RULE_arrowMethod",37),I($,"RULE_arrowMethodParameters",38),I($,"RULE_typeStatement",39),I($,"RULE_typeElement",40),I($,"RULE_assignmentOperator",41),I($,"RULE_typeMap",42),I($,"RULE_typeSeries",43),I($,"RULE_typeArray",44),I($,"RULE_typeGather",45),I($,"RULE_identifier",46),I($,"RULE_typeName",47),I($,"RULE_name",48),I($,"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'","'map'"]),I($,"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","Map","ColorLiteral","StringLiteral","Identifier","HIDDEN_","COMMENT_","NEWLINE"]),I($,"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"]),I($,"_serializedATN",[4,1,60,626,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,1,0,1,0,5,0,101,8,0,10,0,12,0,104,9,0,1,0,1,0,1,1,1,1,3,1,110,8,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,1,119,8,1,1,2,1,2,1,2,5,2,124,8,2,10,2,12,2,127,9,2,1,2,1,2,3,2,131,8,2,1,3,1,3,3,3,135,8,3,1,3,1,3,1,3,3,3,140,8,3,1,4,1,4,1,4,1,4,3,4,146,8,4,1,5,1,5,1,6,1,6,3,6,152,8,6,1,6,1,6,1,6,3,6,157,8,6,1,7,1,7,1,7,4,7,162,8,7,11,7,12,7,163,1,7,1,7,1,8,1,8,3,8,170,8,8,1,8,1,8,1,8,3,8,175,8,8,5,8,177,8,8,10,8,12,8,180,9,8,1,9,1,9,1,9,1,9,1,9,1,9,1,9,1,9,3,9,190,8,9,1,10,1,10,1,11,1,11,3,11,196,8,11,1,11,1,11,1,11,3,11,201,8,11,5,11,203,8,11,10,11,12,11,206,9,11,1,12,1,12,1,12,5,12,211,8,12,10,12,12,12,214,9,12,1,13,1,13,3,13,218,8,13,1,13,1,13,5,13,222,8,13,10,13,12,13,225,9,13,1,13,1,13,3,13,229,8,13,1,14,1,14,1,14,1,14,1,14,1,14,3,14,237,8,14,1,14,1,14,1,15,3,15,242,8,15,1,15,3,15,245,8,15,1,15,1,15,1,15,1,15,1,15,5,15,252,8,15,10,15,12,15,255,9,15,1,15,1,15,3,15,259,8,15,1,16,1,16,1,16,1,16,3,16,265,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,279,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,310,8,17,10,17,12,17,313,9,17,1,18,1,18,1,18,1,18,1,19,1,19,1,19,1,19,5,19,323,8,19,10,19,12,19,326,9,19,1,19,3,19,329,8,19,3,19,331,8,19,1,19,1,19,1,20,1,20,1,20,3,20,338,8,20,1,20,1,20,3,20,342,8,20,1,21,1,21,1,21,1,21,1,21,1,21,1,21,1,21,5,21,352,8,21,10,21,12,21,355,9,21,1,21,1,21,3,21,359,8,21,1,22,1,22,3,22,363,8,22,1,22,3,22,366,8,22,1,22,1,22,1,22,1,22,1,22,1,22,1,22,3,22,375,8,22,1,22,1,22,1,22,1,22,1,22,1,22,1,22,1,22,1,22,1,22,3,22,387,8,22,1,22,1,22,1,22,1,22,3,22,393,8,22,1,23,1,23,3,23,397,8,23,1,23,1,23,1,23,5,23,402,8,23,10,23,12,23,405,9,23,1,23,3,23,408,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,426,8,27,10,27,12,27,429,9,27,1,27,3,27,432,8,27,1,27,1,27,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,3,28,444,8,28,1,29,1,29,1,30,1,30,1,30,5,30,451,8,30,10,30,12,30,454,9,30,1,31,1,31,1,31,1,32,1,32,1,32,5,32,462,8,32,10,32,12,32,465,9,32,1,32,1,32,1,32,1,32,1,32,3,32,472,8,32,1,32,1,32,1,32,1,32,1,32,3,32,479,8,32,1,32,1,32,3,32,483,8,32,1,33,3,33,486,8,33,1,33,1,33,1,33,1,33,1,33,1,34,1,34,3,34,495,8,34,1,34,1,34,1,35,1,35,1,35,5,35,502,8,35,10,35,12,35,505,9,35,1,36,3,36,508,8,36,1,36,1,36,1,36,3,36,513,8,36,1,37,3,37,516,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,529,8,38,1,38,1,38,3,38,533,8,38,1,38,1,38,1,39,3,39,538,8,39,1,39,1,39,1,39,1,39,1,39,4,39,545,8,39,11,39,12,39,546,1,39,1,39,1,40,3,40,552,8,40,1,40,3,40,555,8,40,1,40,1,40,1,40,3,40,560,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,577,8,43,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,3,44,588,8,44,1,45,1,45,1,45,1,45,3,45,594,8,45,1,46,1,46,1,47,1,47,1,47,3,47,601,8,47,1,48,1,48,3,48,605,8,48,1,48,1,48,5,48,609,8,48,10,48,12,48,612,9,48,1,48,1,48,1,48,1,48,1,48,1,48,4,48,620,8,48,11,48,12,48,621,3,48,624,8,48,1,48,0,1,34,49,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,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,55,56,2,0,24,28,30,30,3,0,51,51,54,54,57,57,673,0,102,1,0,0,0,2,118,1,0,0,0,4,125,1,0,0,0,6,139,1,0,0,0,8,145,1,0,0,0,10,147,1,0,0,0,12,156,1,0,0,0,14,158,1,0,0,0,16,169,1,0,0,0,18,189,1,0,0,0,20,191,1,0,0,0,22,195,1,0,0,0,24,207,1,0,0,0,26,223,1,0,0,0,28,236,1,0,0,0,30,258,1,0,0,0,32,264,1,0,0,0,34,278,1,0,0,0,36,314,1,0,0,0,38,318,1,0,0,0,40,337,1,0,0,0,42,343,1,0,0,0,44,392,1,0,0,0,46,394,1,0,0,0,48,411,1,0,0,0,50,415,1,0,0,0,52,418,1,0,0,0,54,422,1,0,0,0,56,435,1,0,0,0,58,445,1,0,0,0,60,447,1,0,0,0,62,455,1,0,0,0,64,471,1,0,0,0,66,485,1,0,0,0,68,492,1,0,0,0,70,498,1,0,0,0,72,507,1,0,0,0,74,515,1,0,0,0,76,523,1,0,0,0,78,537,1,0,0,0,80,551,1,0,0,0,82,563,1,0,0,0,84,565,1,0,0,0,86,572,1,0,0,0,88,587,1,0,0,0,90,593,1,0,0,0,92,595,1,0,0,0,94,597,1,0,0,0,96,623,1,0,0,0,98,101,5,60,0,0,99,101,3,2,1,0,100,98,1,0,0,0,100,99,1,0,0,0,101,104,1,0,0,0,102,100,1,0,0,0,102,103,1,0,0,0,103,105,1,0,0,0,104,102,1,0,0,0,105,106,5,0,0,1,106,1,1,0,0,0,107,109,3,16,8,0,108,110,5,8,0,0,109,108,1,0,0,0,109,110,1,0,0,0,110,111,1,0,0,0,111,112,5,60,0,0,112,119,1,0,0,0,113,119,3,4,2,0,114,119,3,54,27,0,115,119,3,66,33,0,116,119,3,74,37,0,117,119,3,78,39,0,118,107,1,0,0,0,118,113,1,0,0,0,118,114,1,0,0,0,118,115,1,0,0,0,118,116,1,0,0,0,118,117,1,0,0,0,119,3,1,0,0,0,120,121,3,16,8,0,121,122,5,8,0,0,122,124,1,0,0,0,123,120,1,0,0,0,124,127,1,0,0,0,125,123,1,0,0,0,125,126,1,0,0,0,126,130,1,0,0,0,127,125,1,0,0,0,128,131,3,28,14,0,129,131,3,32,16,0,130,128,1,0,0,0,130,129,1,0,0,0,131,5,1,0,0,0,132,134,3,8,4,0,133,135,5,8,0,0,134,133,1,0,0,0,134,135,1,0,0,0,135,136,1,0,0,0,136,137,5,60,0,0,137,140,1,0,0,0,138,140,3,26,13,0,139,132,1,0,0,0,139,138,1,0,0,0,140,7,1,0,0,0,141,146,3,24,12,0,142,146,3,22,11,0,143,146,3,36,18,0,144,146,3,10,5,0,145,141,1,0,0,0,145,142,1,0,0,0,145,143,1,0,0,0,145,144,1,0,0,0,146,9,1,0,0,0,147,148,7,0,0,0,148,11,1,0,0,0,149,151,3,8,4,0,150,152,5,8,0,0,151,150,1,0,0,0,151,152,1,0,0,0,152,153,1,0,0,0,153,154,5,60,0,0,154,157,1,0,0,0,155,157,3,14,7,0,156,149,1,0,0,0,156,155,1,0,0,0,157,13,1,0,0,0,158,159,5,60,0,0,159,161,5,1,0,0,160,162,3,6,3,0,161,160,1,0,0,0,162,163,1,0,0,0,163,161,1,0,0,0,163,164,1,0,0,0,164,165,1,0,0,0,165,166,5,2,0,0,166,15,1,0,0,0,167,170,3,60,30,0,168,170,3,18,9,0,169,167,1,0,0,0,169,168,1,0,0,0,170,178,1,0,0,0,171,174,5,8,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,177,1,0,0,0,176,171,1,0,0,0,177,180,1,0,0,0,178,176,1,0,0,0,178,179,1,0,0,0,179,17,1,0,0,0,180,178,1,0,0,0,181,182,3,30,15,0,182,183,5,9,0,0,183,184,3,34,17,0,184,190,1,0,0,0,185,186,3,96,48,0,186,187,3,82,41,0,187,188,3,34,17,0,188,190,1,0,0,0,189,181,1,0,0,0,189,185,1,0,0,0,190,19,1,0,0,0,191,192,7,1,0,0,192,21,1,0,0,0,193,196,3,34,17,0,194,196,3,18,9,0,195,193,1,0,0,0,195,194,1,0,0,0,196,204,1,0,0,0,197,200,5,8,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,203,1,0,0,0,202,197,1,0,0,0,203,206,1,0,0,0,204,202,1,0,0,0,204,205,1,0,0,0,205,23,1,0,0,0,206,204,1,0,0,0,207,212,3,34,17,0,208,209,5,8,0,0,209,211,3,34,17,0,210,208,1,0,0,0,211,214,1,0,0,0,212,210,1,0,0,0,212,213,1,0,0,0,213,25,1,0,0,0,214,212,1,0,0,0,215,218,3,34,17,0,216,218,3,18,9,0,217,215,1,0,0,0,217,216,1,0,0,0,218,219,1,0,0,0,219,220,5,8,0,0,220,222,1,0,0,0,221,217,1,0,0,0,222,225,1,0,0,0,223,221,1,0,0,0,223,224,1,0,0,0,224,228,1,0,0,0,225,223,1,0,0,0,226,229,3,28,14,0,227,229,3,32,16,0,228,226,1,0,0,0,228,227,1,0,0,0,229,27,1,0,0,0,230,231,3,30,15,0,231,232,5,9,0,0,232,237,1,0,0,0,233,234,3,96,48,0,234,235,3,82,41,0,235,237,1,0,0,0,236,230,1,0,0,0,236,233,1,0,0,0,237,238,1,0,0,0,238,239,3,32,16,0,239,29,1,0,0,0,240,242,3,20,10,0,241,240,1,0,0,0,241,242,1,0,0,0,242,244,1,0,0,0,243,245,3,90,45,0,244,243,1,0,0,0,244,245,1,0,0,0,245,246,1,0,0,0,246,259,3,92,46,0,247,248,5,4,0,0,248,253,3,92,46,0,249,250,5,8,0,0,250,252,3,92,46,0,251,249,1,0,0,0,252,255,1,0,0,0,253,251,1,0,0,0,253,254,1,0,0,0,254,256,1,0,0,0,255,253,1,0,0,0,256,257,5,5,0,0,257,259,1,0,0,0,258,241,1,0,0,0,258,247,1,0,0,0,259,31,1,0,0,0,260,265,3,42,21,0,261,265,3,44,22,0,262,265,3,52,26,0,263,265,3,46,23,0,264,260,1,0,0,0,264,261,1,0,0,0,264,262,1,0,0,0,264,263,1,0,0,0,265,33,1,0,0,0,266,267,6,17,-1,0,267,279,3,60,30,0,268,269,7,2,0,0,269,279,3,34,17,12,270,271,5,46,0,0,271,279,3,34,17,11,272,279,3,96,48,0,273,279,3,58,29,0,274,275,5,6,0,0,275,276,3,34,17,0,276,277,5,7,0,0,277,279,1,0,0,0,278,266,1,0,0,0,278,268,1,0,0,0,278,270,1,0,0,0,278,272,1,0,0,0,278,273,1,0,0,0,278,274,1,0,0,0,279,311,1,0,0,0,280,281,10,10,0,0,281,282,7,3,0,0,282,310,3,34,17,11,283,284,10,9,0,0,284,285,7,2,0,0,285,310,3,34,17,10,286,287,10,8,0,0,287,288,7,4,0,0,288,310,3,34,17,9,289,290,10,7,0,0,290,291,7,5,0,0,291,310,3,34,17,8,292,293,10,6,0,0,293,294,5,35,0,0,294,310,3,34,17,7,295,296,10,5,0,0,296,297,5,45,0,0,297,310,3,34,17,6,298,299,10,4,0,0,299,300,5,10,0,0,300,301,3,34,17,0,301,302,5,11,0,0,302,303,3,34,17,4,303,310,1,0,0,0,304,305,10,13,0,0,305,306,5,4,0,0,306,307,3,34,17,0,307,308,5,5,0,0,308,310,1,0,0,0,309,280,1,0,0,0,309,283,1,0,0,0,309,286,1,0,0,0,309,289,1,0,0,0,309,292,1,0,0,0,309,295,1,0,0,0,309,298,1,0,0,0,309,304,1,0,0,0,310,313,1,0,0,0,311,309,1,0,0,0,311,312,1,0,0,0,312,35,1,0,0,0,313,311,1,0,0,0,314,315,5,4,0,0,315,316,3,24,12,0,316,317,5,5,0,0,317,37,1,0,0,0,318,330,5,6,0,0,319,324,3,40,20,0,320,321,5,8,0,0,321,323,3,40,20,0,322,320,1,0,0,0,323,326,1,0,0,0,324,322,1,0,0,0,324,325,1,0,0,0,325,328,1,0,0,0,326,324,1,0,0,0,327,329,5,8,0,0,328,327,1,0,0,0,328,329,1,0,0,0,329,331,1,0,0,0,330,319,1,0,0,0,330,331,1,0,0,0,331,332,1,0,0,0,332,333,5,7,0,0,333,39,1,0,0,0,334,335,3,92,46,0,335,336,5,9,0,0,336,338,1,0,0,0,337,334,1,0,0,0,337,338,1,0,0,0,338,341,1,0,0,0,339,342,3,34,17,0,340,342,3,36,18,0,341,339,1,0,0,0,341,340,1,0,0,0,342,41,1,0,0,0,343,344,5,43,0,0,344,345,3,34,17,0,345,353,3,14,7,0,346,347,5,48,0,0,347,348,5,43,0,0,348,349,3,34,17,0,349,350,3,14,7,0,350,352,1,0,0,0,351,346,1,0,0,0,352,355,1,0,0,0,353,351,1,0,0,0,353,354,1,0,0,0,354,358,1,0,0,0,355,353,1,0,0,0,356,357,5,48,0,0,357,359,3,14,7,0,358,356,1,0,0,0,358,359,1,0,0,0,359,43,1,0,0,0,360,362,5,37,0,0,361,363,3,20,10,0,362,361,1,0,0,0,362,363,1,0,0,0,363,365,1,0,0,0,364,366,3,90,45,0,365,364,1,0,0,0,365,366,1,0,0,0,366,367,1,0,0,0,367,368,3,92,46,0,368,369,5,9,0,0,369,370,3,34,17,0,370,371,5,49,0,0,371,374,3,34,17,0,372,373,5,50,0,0,373,375,3,34,17,0,374,372,1,0,0,0,374,375,1,0,0,0,375,376,1,0,0,0,376,377,3,14,7,0,377,393,1,0,0,0,378,386,5,37,0,0,379,387,3,92,46,0,380,381,5,4,0,0,381,382,3,92,46,0,382,383,5,8,0,0,383,384,3,92,46,0,384,385,5,5,0,0,385,387,1,0,0,0,386,379,1,0,0,0,386,380,1,0,0,0,387,388,1,0,0,0,388,389,5,44,0,0,389,390,3,34,17,0,390,391,3,14,7,0,391,393,1,0,0,0,392,360,1,0,0,0,392,378,1,0,0,0,393,45,1,0,0,0,394,396,5,41,0,0,395,397,3,34,17,0,396,395,1,0,0,0,396,397,1,0,0,0,397,398,1,0,0,0,398,399,5,60,0,0,399,403,5,1,0,0,400,402,3,48,24,0,401,400,1,0,0,0,402,405,1,0,0,0,403,401,1,0,0,0,403,404,1,0,0,0,404,407,1,0,0,0,405,403,1,0,0,0,406,408,3,50,25,0,407,406,1,0,0,0,407,408,1,0,0,0,408,409,1,0,0,0,409,410,5,2,0,0,410,47,1,0,0,0,411,412,3,34,17,0,412,413,5,29,0,0,413,414,3,12,6,0,414,49,1,0,0,0,415,416,5,29,0,0,416,417,3,12,6,0,417,51,1,0,0,0,418,419,5,42,0,0,419,420,3,34,17,0,420,421,3,14,7,0,421,53,1,0,0,0,422,427,3,56,28,0,423,424,5,8,0,0,424,426,3,56,28,0,425,423,1,0,0,0,426,429,1,0,0,0,427,425,1,0,0,0,427,428,1,0,0,0,428,431,1,0,0,0,429,427,1,0,0,0,430,432,5,8,0,0,431,430,1,0,0,0,431,432,1,0,0,0,432,433,1,0,0,0,433,434,5,60,0,0,434,55,1,0,0,0,435,436,5,52,0,0,436,437,3,92,46,0,437,438,5,15,0,0,438,439,3,92,46,0,439,440,5,15,0,0,440,443,5,32,0,0,441,442,5,53,0,0,442,444,3,92,46,0,443,441,1,0,0,0,443,444,1,0,0,0,444,57,1,0,0,0,445,446,7,6,0,0,446,59,1,0,0,0,447,452,3,62,31,0,448,449,5,3,0,0,449,451,3,62,31,0,450,448,1,0,0,0,451,454,1,0,0,0,452,450,1,0,0,0,452,453,1,0,0,0,453,61,1,0,0,0,454,452,1,0,0,0,455,456,3,64,32,0,456,457,3,38,19,0,457,63,1,0,0,0,458,459,3,92,46,0,459,460,5,3,0,0,460,462,1,0,0,0,461,458,1,0,0,0,462,465,1,0,0,0,463,461,1,0,0,0,463,464,1,0,0,0,464,472,1,0,0,0,465,463,1,0,0,0,466,467,5,6,0,0,467,468,3,34,17,0,468,469,5,7,0,0,469,470,5,3,0,0,470,472,1,0,0,0,471,463,1,0,0,0,471,466,1,0,0,0,472,473,1,0,0,0,473,482,3,92,46,0,474,475,5,18,0,0,475,478,3,94,47,0,476,477,5,8,0,0,477,479,3,94,47,0,478,476,1,0,0,0,478,479,1,0,0,0,479,480,1,0,0,0,480,481,5,19,0,0,481,483,1,0,0,0,482,474,1,0,0,0,482,483,1,0,0,0,483,65,1,0,0,0,484,486,5,36,0,0,485,484,1,0,0,0,485,486,1,0,0,0,486,487,1,0,0,0,487,488,3,92,46,0,488,489,3,68,34,0,489,490,5,29,0,0,490,491,3,12,6,0,491,67,1,0,0,0,492,494,5,6,0,0,493,495,3,70,35,0,494,493,1,0,0,0,494,495,1,0,0,0,495,496,1,0,0,0,496,497,5,7,0,0,497,69,1,0,0,0,498,503,3,72,36,0,499,500,5,8,0,0,500,502,3,72,36,0,501,499,1,0,0,0,502,505,1,0,0,0,503,501,1,0,0,0,503,504,1,0,0,0,504,71,1,0,0,0,505,503,1,0,0,0,506,508,3,90,45,0,507,506,1,0,0,0,507,508,1,0,0,0,508,509,1,0,0,0,509,512,3,92,46,0,510,511,5,9,0,0,511,513,3,34,17,0,512,510,1,0,0,0,512,513,1,0,0,0,513,73,1,0,0,0,514,516,5,36,0,0,515,514,1,0,0,0,515,516,1,0,0,0,516,517,1,0,0,0,517,518,5,47,0,0,518,519,3,92,46,0,519,520,3,76,38,0,520,521,5,29,0,0,521,522,3,12,6,0,522,75,1,0,0,0,523,524,5,6,0,0,524,525,3,90,45,0,525,528,3,92,46,0,526,527,5,9,0,0,527,529,3,34,17,0,528,526,1,0,0,0,528,529,1,0,0,0,529,532,1,0,0,0,530,531,5,8,0,0,531,533,3,70,35,0,532,530,1,0,0,0,532,533,1,0,0,0,533,534,1,0,0,0,534,535,5,7,0,0,535,77,1,0,0,0,536,538,5,36,0,0,537,536,1,0,0,0,537,538,1,0,0,0,538,539,1,0,0,0,539,540,5,51,0,0,540,541,3,92,46,0,541,542,5,60,0,0,542,544,5,1,0,0,543,545,3,80,40,0,544,543,1,0,0,0,545,546,1,0,0,0,546,544,1,0,0,0,546,547,1,0,0,0,547,548,1,0,0,0,548,549,5,2,0,0,549,79,1,0,0,0,550,552,5,40,0,0,551,550,1,0,0,0,551,552,1,0,0,0,552,554,1,0,0,0,553,555,3,90,45,0,554,553,1,0,0,0,554,555,1,0,0,0,555,556,1,0,0,0,556,559,3,92,46,0,557,558,5,9,0,0,558,560,3,34,17,0,559,557,1,0,0,0,559,560,1,0,0,0,560,561,1,0,0,0,561,562,5,60,0,0,562,81,1,0,0,0,563,564,7,7,0,0,564,83,1,0,0,0,565,566,5,54,0,0,566,567,5,18,0,0,567,568,3,94,47,0,568,569,5,8,0,0,569,570,3,94,47,0,570,571,5,19,0,0,571,85,1,0,0,0,572,576,3,94,47,0,573,577,3,94,47,0,574,577,3,88,44,0,575,577,3,84,42,0,576,573,1,0,0,0,576,574,1,0,0,0,576,575,1,0,0,0,577,87,1,0,0,0,578,579,3,94,47,0,579,580,5,18,0,0,580,581,3,94,47,0,581,582,5,19,0,0,582,588,1,0,0,0,583,584,3,94,47,0,584,585,5,4,0,0,585,586,5,5,0,0,586,588,1,0,0,0,587,578,1,0,0,0,587,583,1,0,0,0,588,89,1,0,0,0,589,594,3,94,47,0,590,594,3,88,44,0,591,594,3,84,42,0,592,594,3,86,43,0,593,589,1,0,0,0,593,590,1,0,0,0,593,591,1,0,0,0,593,592,1,0,0,0,594,91,1,0,0,0,595,596,7,8,0,0,596,93,1,0,0,0,597,600,3,92,46,0,598,599,5,3,0,0,599,601,3,92,46,0,600,598,1,0,0,0,600,601,1,0,0,0,601,95,1,0,0,0,602,605,3,92,46,0,603,605,3,62,31,0,604,602,1,0,0,0,604,603,1,0,0,0,605,606,1,0,0,0,606,607,5,3,0,0,607,609,1,0,0,0,608,604,1,0,0,0,609,612,1,0,0,0,610,608,1,0,0,0,610,611,1,0,0,0,611,613,1,0,0,0,612,610,1,0,0,0,613,624,3,92,46,0,614,615,5,6,0,0,615,616,3,34,17,0,616,619,5,7,0,0,617,618,5,3,0,0,618,620,3,92,46,0,619,617,1,0,0,0,620,621,1,0,0,0,621,619,1,0,0,0,621,622,1,0,0,0,622,624,1,0,0,0,623,610,1,0,0,0,623,614,1,0,0,0,624,97,1,0,0,0,76,100,102,109,118,125,130,134,139,145,151,156,163,169,174,178,189,195,200,204,212,217,223,228,236,241,244,253,258,264,278,309,311,324,328,330,337,341,353,358,362,365,374,386,392,396,403,407,427,431,443,452,463,471,478,482,485,494,503,507,512,515,528,532,537,546,551,554,559,576,587,593,600,604,610,621,623]),I($,"__ATN"),I($,"DecisionsToDFA",$._ATN.decisionToState.map((e,n)=>new ep(e,n)));let j=$;class Lm extends nt{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(ll)}globalStmt(e){return this.getTypedRuleContext(ll,e)}get ruleIndex(){return j.RULE_program}accept(e){return e.visitProgram?e.visitProgram(this):e.visitChildren(this)}}class ll extends nt{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(rp,0)}importStmt(){return this.getTypedRuleContext(hp,0)}arrowFunction(){return this.getTypedRuleContext(_p,0)}arrowMethod(){return this.getTypedRuleContext(yp,0)}typeStatement(){return this.getTypedRuleContext(vp,0)}get ruleIndex(){return j.RULE_globalStmt}accept(e){return e.visitGlobalStmt?e.visitGlobalStmt(this):e.visitChildren(this)}}class rp extends nt{constructor(e,n,r){super(n,r),this.parser=e}varBlockStmt(){return this.getTypedRuleContext(_l,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 fl extends nt{constructor(e,n,r){super(n,r),this.parser=e}simpleStmt(){return this.getTypedRuleContext(hl,0)}NEWLINE(){return this.getToken(j.NEWLINE,0)}Comma(){return this.getToken(j.Comma,0)}expressionBlockSequence(){return this.getTypedRuleContext(ap,0)}get ruleIndex(){return j.RULE_stmt}accept(e){return e.visitStmt?e.visitStmt(this):e.visitChildren(this)}}class hl extends nt{constructor(e,n,r){super(n,r),this.parser=e}expressionSequence(){return this.getTypedRuleContext(dl,0)}blockSequence(){return this.getTypedRuleContext(op,0)}brackethesized(){return this.getTypedRuleContext(ml,0)}flowStmt(){return this.getTypedRuleContext(ip,0)}get ruleIndex(){return j.RULE_simpleStmt}accept(e){return e.visitSimpleStmt?e.visitSimpleStmt(this):e.visitChildren(this)}}class ip extends nt{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 nt{constructor(e,n,r){super(n,r),this.parser=e}simpleStmt(){return this.getTypedRuleContext(hl,0)}NEWLINE(){return this.getToken(j.NEWLINE,0)}Comma(){return this.getToken(j.Comma,0)}blockLine(){return this.getTypedRuleContext(bo,0)}get ruleIndex(){return j.RULE_block}accept(e){return e.visitBlock?e.visitBlock(this):e.visitChildren(this)}}class bo extends nt{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(fl)}stmt(e){return this.getTypedRuleContext(fl,e)}get ruleIndex(){return j.RULE_blockLine}accept(e){return e.visitBlockLine?e.visitBlockLine(this):e.visitChildren(this)}}class fu extends nt{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(Li)}variableDeclarationList(e){return this.getTypedRuleContext(Li,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 Li extends nt{constructor(e,n,r){super(n,r),this.parser=e}get ruleIndex(){return j.RULE_variableDeclarationList}copyFrom(e){super.copyFrom(e)}}class Mm extends Li{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}name(){return this.getTypedRuleContext(_u,0)}assignmentOperator(){return this.getTypedRuleContext(Sl,0)}singleExpression(){return this.getTypedRuleContext(je,0)}accept(e){return e.visitAgainAssign?e.visitAgainAssign(this):e.visitChildren(this)}}class Um extends Li{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 pl extends nt{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 op extends nt{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(Li)}variableDeclarationList(e){return this.getTypedRuleContext(Li,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 dl extends nt{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 ap extends nt{constructor(e,n,r){super(n,r),this.parser=e}varBlockStmt(){return this.getTypedRuleContext(_l,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(Li)}variableDeclarationList(e){return this.getTypedRuleContext(Li,e)}get ruleIndex(){return j.RULE_expressionBlockSequence}accept(e){return e.visitExpressionBlockSequence?e.visitExpressionBlockSequence(this):e.visitChildren(this)}}class _l extends nt{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(Sl,0)}get ruleIndex(){return j.RULE_varBlockStmt}accept(e){return e.visitVarBlockStmt?e.visitVarBlockStmt(this):e.visitChildren(this)}}class fs extends nt{constructor(e,n,r){super(n,r),this.parser=e}get ruleIndex(){return j.RULE_varArrayDeclaration}copyFrom(e){super.copyFrom(e)}}class Vm 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(On)}identifier(e){return this.getTypedRuleContext(On,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 jm extends fs{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}identifier(){return this.getTypedRuleContext(On,0)}varModifier(){return this.getTypedRuleContext(pl,0)}typeGather(){return this.getTypedRuleContext(Wo,0)}accept(e){return e.visitVarSingle?e.visitVarSingle(this):e.visitChildren(this)}}class hu extends nt{constructor(e,n,r){super(n,r),this.parser=e}ifStatement(){return this.getTypedRuleContext(up,0)}forStatement(){return this.getTypedRuleContext(pu,0)}whileStatement(){return this.getTypedRuleContext(fp,0)}switchStatement(){return this.getTypedRuleContext(cp,0)}get ruleIndex(){return j.RULE_blockExpression}accept(e){return e.visitBlockExpression?e.visitBlockExpression(this):e.visitChildren(this)}}class je extends nt{constructor(e,n,r){super(n,r),this.parser=e}get ruleIndex(){return j.RULE_singleExpression}copyFrom(e){super.copyFrom(e)}}class Hm 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 $m 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 Gm 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 zm 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 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)}And(){return this.getToken(j.And,0)}accept(e){return e.visitLogicalAndExpression?e.visitLogicalAndExpression(this):e.visitChildren(this)}}class Wm 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 qm extends je{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}literal(){return this.getTypedRuleContext(pp,0)}accept(e){return e.visitLiteralExpression?e.visitLiteralExpression(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)}Or(){return this.getToken(j.Or,0)}accept(e){return e.visitLogicalOrExpression?e.visitLogicalOrExpression(this):e.visitChildren(this)}}class Ym 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 Zm 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 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)}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 Jm 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 ey 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 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)}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 ml extends nt{constructor(e,n,r){super(n,r),this.parser=e}OpenBracket(){return this.getToken(j.OpenBracket,0)}expressionSequence(){return this.getTypedRuleContext(dl,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 sp extends nt{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(yl)}argument(e){return this.getTypedRuleContext(yl,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 yl extends nt{constructor(e,n,r){super(n,r),this.parser=e}singleExpression(){return this.getTypedRuleContext(je,0)}brackethesized(){return this.getTypedRuleContext(ml,0)}identifier(){return this.getTypedRuleContext(On,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 up extends nt{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(bo)}blockLine(e){return this.getTypedRuleContext(bo,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 nt{constructor(e,n,r){super(n,r),this.parser=e}get ruleIndex(){return j.RULE_forStatement}copyFrom(e){super.copyFrom(e)}}class ny 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(On,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(bo,0)}varModifier(){return this.getTypedRuleContext(pl,0)}typeGather(){return this.getTypedRuleContext(Wo,0)}By(){return this.getToken(j.By,0)}accept(e){return e.visitForToStatement?e.visitForToStatement(this):e.visitChildren(this)}}class ry 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(bo,0)}identifier_list(){return this.getTypedRuleContexts(On)}identifier(e){return this.getTypedRuleContext(On,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 cp extends nt{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)}caseClause_list(){return this.getTypedRuleContexts(gl)}caseClause(e){return this.getTypedRuleContext(gl,e)}defaultCaluse(){return this.getTypedRuleContext(lp,0)}get ruleIndex(){return j.RULE_switchStatement}accept(e){return e.visitSwitchStatement?e.visitSwitchStatement(this):e.visitChildren(this)}}class gl extends nt{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 lp extends nt{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 fp extends nt{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(bo,0)}get ruleIndex(){return j.RULE_whileStatement}accept(e){return e.visitWhileStatement?e.visitWhileStatement(this):e.visitChildren(this)}}class hp extends nt{constructor(e,n,r){super(n,r),this.parser=e}importElement_list(){return this.getTypedRuleContexts(vl)}importElement(e){return this.getTypedRuleContext(vl,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 vl extends nt{constructor(e,n,r){super(n,r),this.parser=e}Import(){return this.getToken(j.Import,0)}identifier_list(){return this.getTypedRuleContexts(On)}identifier(e){return this.getTypedRuleContext(On,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 pp extends nt{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 nt{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 nt{constructor(e,n,r){super(n,r),this.parser=e}methodName(){return this.getTypedRuleContext(dp,0)}arguments(){return this.getTypedRuleContext(sp,0)}get ruleIndex(){return j.RULE_methodElement}accept(e){return e.visitMethodElement?e.visitMethodElement(this):e.visitChildren(this)}}class dp extends nt{constructor(e,n,r){super(n,r),this.parser=e}identifier_list(){return this.getTypedRuleContexts(On)}identifier(e){return this.getTypedRuleContext(On,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(bi)}typeName(e){return this.getTypedRuleContext(bi,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 _p extends nt{constructor(e,n,r){super(n,r),this.parser=e}identifier(){return this.getTypedRuleContext(On,0)}arrowFunctionParameters(){return this.getTypedRuleContext(mp,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 mp extends nt{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(bl,0)}get ruleIndex(){return j.RULE_arrowFunctionParameters}accept(e){return e.visitArrowFunctionParameters?e.visitArrowFunctionParameters(this):e.visitChildren(this)}}class bl extends nt{constructor(e,n,r){super(n,r),this.parser=e}formalParameterArg_list(){return this.getTypedRuleContexts(El)}formalParameterArg(e){return this.getTypedRuleContext(El,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 El extends nt{constructor(e,n,r){super(n,r),this.parser=e}identifier(){return this.getTypedRuleContext(On,0)}typeGather(){return this.getTypedRuleContext(Wo,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 yp extends nt{constructor(e,n,r){super(n,r),this.parser=e}Method(){return this.getToken(j.Method,0)}identifier(){return this.getTypedRuleContext(On,0)}arrowMethodParameters(){return this.getTypedRuleContext(gp,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 gp extends nt{constructor(e,n,r){super(n,r),this.parser=e}OpenParen(){return this.getToken(j.OpenParen,0)}typeGather(){return this.getTypedRuleContext(Wo,0)}identifier(){return this.getTypedRuleContext(On,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(bl,0)}get ruleIndex(){return j.RULE_arrowMethodParameters}accept(e){return e.visitArrowMethodParameters?e.visitArrowMethodParameters(this):e.visitChildren(this)}}class vp extends nt{constructor(e,n,r){super(n,r),this.parser=e}Type(){return this.getToken(j.Type,0)}identifier(){return this.getTypedRuleContext(On,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(xl)}typeElement(e){return this.getTypedRuleContext(xl,e)}get ruleIndex(){return j.RULE_typeStatement}accept(e){return e.visitTypeStatement?e.visitTypeStatement(this):e.visitChildren(this)}}class xl extends nt{constructor(e,n,r){super(n,r),this.parser=e}identifier(){return this.getTypedRuleContext(On,0)}NEWLINE(){return this.getToken(j.NEWLINE,0)}Varip(){return this.getToken(j.Varip,0)}typeGather(){return this.getTypedRuleContext(Wo,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 Sl extends nt{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 Tl extends nt{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(bi)}typeName(e){return this.getTypedRuleContext(bi,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 bp extends nt{constructor(e,n,r){super(n,r),this.parser=e}typeName_list(){return this.getTypedRuleContexts(bi)}typeName(e){return this.getTypedRuleContext(bi,e)}typeArray(){return this.getTypedRuleContext(Al,0)}typeMap(){return this.getTypedRuleContext(Tl,0)}get ruleIndex(){return j.RULE_typeSeries}accept(e){return e.visitTypeSeries?e.visitTypeSeries(this):e.visitChildren(this)}}class Al extends nt{constructor(e,n,r){super(n,r),this.parser=e}typeName_list(){return this.getTypedRuleContexts(bi)}typeName(e){return this.getTypedRuleContext(bi,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 Wo extends nt{constructor(e,n,r){super(n,r),this.parser=e}typeName(){return this.getTypedRuleContext(bi,0)}typeArray(){return this.getTypedRuleContext(Al,0)}typeMap(){return this.getTypedRuleContext(Tl,0)}typeSeries(){return this.getTypedRuleContext(bp,0)}get ruleIndex(){return j.RULE_typeGather}accept(e){return e.visitTypeGather?e.visitTypeGather(this):e.visitChildren(this)}}class On extends nt{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)}get ruleIndex(){return j.RULE_identifier}accept(e){return e.visitIdentifier?e.visitIdentifier(this):e.visitChildren(this)}}class bi extends nt{constructor(e,n,r){super(n,r),this.parser=e}identifier_list(){return this.getTypedRuleContexts(On)}identifier(e){return this.getTypedRuleContext(On,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 nt{constructor(e,n,r){super(n,r),this.parser=e}identifier_list(){return this.getTypedRuleContexts(On)}identifier(e){return this.getTypedRuleContext(On,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 iy extends Rm{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 s=this.getCharIndex()-1,c=r.length?s-r.length+1:s;return new Cm([this,this._input],n,0,c,s)}getIndentationCount(n){let r=0;for(let s=0;s<n.length;s++)n[s]===" "?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,""),s=this._input.LA(1),c=this._input.LA(2),p=this.getIndentationCount(r);if(this.opened>0||c!=-1&&(s===13||s===10||s===47&&c===47||p%4))this.skip();else{this.emitToken(this.commonToken(j.NEWLINE,n));const d=this.indents.length?this.indents[this.indents.length-1]:0;if(p===d)this.skip();else if(p>d)this.indents.push(p),this.emitToken(this.commonToken(j.INDENT,r));else for(;this.indents.length&&this.indents[this.indents.length-1]>p;)this.emitToken(this.createDedent()),this.indents.pop()}}}const Pe=class Pe extends iy{constructor(e){super(e),this._interp=new Fm(this,Pe._ATN,Pe.DecisionsToDFA,new tp)}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 57: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 57: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 Jh().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,"Map",54),I(Pe,"ColorLiteral",55),I(Pe,"StringLiteral",56),I(Pe,"Identifier",57),I(Pe,"HIDDEN_",58),I(Pe,"COMMENT_",59),I(Pe,"NEWLINE",60),I(Pe,"EOF",np.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'","'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","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","Map","ColorLiteral","StringLiteral","Identifier","HIDDEN_","COMMENT_","NEWLINE","SHORT_STRING","DIGIT","DIGITS","HEX_DIGIT","SPACES","COMMENT","EXP"]),I(Pe,"_serializedATN",[4,0,60,440,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,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,212,8,28,1,29,1,29,1,30,1,30,1,30,3,30,219,8,30,1,30,1,30,1,30,1,30,3,30,225,8,30,3,30,227,8,30,1,30,3,30,230,8,30,3,30,232,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,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,3,52,355,8,52,1,53,1,53,1,54,1,54,5,54,361,8,54,10,54,12,54,364,9,54,1,55,1,55,1,55,1,55,1,56,1,56,1,56,1,56,1,57,1,57,1,57,3,57,377,8,57,1,57,1,57,3,57,381,8,57,1,57,3,57,384,8,57,3,57,386,8,57,1,57,1,57,1,58,1,58,1,58,1,58,5,58,394,8,58,10,58,12,58,397,9,58,1,58,1,58,1,58,1,58,1,58,5,58,404,8,58,10,58,12,58,407,9,58,1,58,3,58,410,8,58,1,59,1,59,1,60,4,60,415,8,60,11,60,12,60,416,1,61,1,61,1,62,4,62,422,8,62,11,62,12,62,423,1,63,1,63,1,63,1,63,5,63,430,8,63,10,63,12,63,433,9,63,1,64,1,64,3,64,437,8,64,1,64,1,64,0,0,65,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,0,119,0,121,0,123,0,125,0,127,0,129,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,453,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,1,131,1,0,0,0,3,133,1,0,0,0,5,136,1,0,0,0,7,139,1,0,0,0,9,142,1,0,0,0,11,145,1,0,0,0,13,147,1,0,0,0,15,149,1,0,0,0,17,151,1,0,0,0,19,153,1,0,0,0,21,155,1,0,0,0,23,157,1,0,0,0,25,159,1,0,0,0,27,161,1,0,0,0,29,163,1,0,0,0,31,165,1,0,0,0,33,167,1,0,0,0,35,169,1,0,0,0,37,172,1,0,0,0,39,175,1,0,0,0,41,178,1,0,0,0,43,181,1,0,0,0,45,184,1,0,0,0,47,187,1,0,0,0,49,190,1,0,0,0,51,193,1,0,0,0,53,196,1,0,0,0,55,199,1,0,0,0,57,211,1,0,0,0,59,213,1,0,0,0,61,231,1,0,0,0,63,233,1,0,0,0,65,239,1,0,0,0,67,243,1,0,0,0,69,250,1,0,0,0,71,254,1,0,0,0,73,258,1,0,0,0,75,267,1,0,0,0,77,273,1,0,0,0,79,280,1,0,0,0,81,286,1,0,0,0,83,289,1,0,0,0,85,292,1,0,0,0,87,295,1,0,0,0,89,299,1,0,0,0,91,306,1,0,0,0,93,311,1,0,0,0,95,314,1,0,0,0,97,317,1,0,0,0,99,322,1,0,0,0,101,329,1,0,0,0,103,332,1,0,0,0,105,354,1,0,0,0,107,356,1,0,0,0,109,358,1,0,0,0,111,365,1,0,0,0,113,369,1,0,0,0,115,385,1,0,0,0,117,409,1,0,0,0,119,411,1,0,0,0,121,414,1,0,0,0,123,418,1,0,0,0,125,421,1,0,0,0,127,425,1,0,0,0,129,434,1,0,0,0,131,132,5,46,0,0,132,2,1,0,0,0,133,134,5,91,0,0,134,135,6,1,0,0,135,4,1,0,0,0,136,137,5,93,0,0,137,138,6,2,1,0,138,6,1,0,0,0,139,140,5,40,0,0,140,141,6,3,2,0,141,8,1,0,0,0,142,143,5,41,0,0,143,144,6,4,3,0,144,10,1,0,0,0,145,146,5,44,0,0,146,12,1,0,0,0,147,148,5,61,0,0,148,14,1,0,0,0,149,150,5,63,0,0,150,16,1,0,0,0,151,152,5,58,0,0,152,18,1,0,0,0,153,154,5,43,0,0,154,20,1,0,0,0,155,156,5,45,0,0,156,22,1,0,0,0,157,158,5,42,0,0,158,24,1,0,0,0,159,160,5,47,0,0,160,26,1,0,0,0,161,162,5,37,0,0,162,28,1,0,0,0,163,164,5,35,0,0,164,30,1,0,0,0,165,166,5,60,0,0,166,32,1,0,0,0,167,168,5,62,0,0,168,34,1,0,0,0,169,170,5,60,0,0,170,171,5,61,0,0,171,36,1,0,0,0,172,173,5,62,0,0,173,174,5,61,0,0,174,38,1,0,0,0,175,176,5,61,0,0,176,177,5,61,0,0,177,40,1,0,0,0,178,179,5,33,0,0,179,180,5,61,0,0,180,42,1,0,0,0,181,182,5,42,0,0,182,183,5,61,0,0,183,44,1,0,0,0,184,185,5,47,0,0,185,186,5,61,0,0,186,46,1,0,0,0,187,188,5,37,0,0,188,189,5,61,0,0,189,48,1,0,0,0,190,191,5,43,0,0,191,192,5,61,0,0,192,50,1,0,0,0,193,194,5,45,0,0,194,195,5,61,0,0,195,52,1,0,0,0,196,197,5,61,0,0,197,198,5,62,0,0,198,54,1,0,0,0,199,200,5,58,0,0,200,201,5,61,0,0,201,56,1,0,0,0,202,203,5,116,0,0,203,204,5,114,0,0,204,205,5,117,0,0,205,212,5,101,0,0,206,207,5,102,0,0,207,208,5,97,0,0,208,209,5,108,0,0,209,210,5,115,0,0,210,212,5,101,0,0,211,202,1,0,0,0,211,206,1,0,0,0,212,58,1,0,0,0,213,214,3,121,60,0,214,60,1,0,0,0,215,216,5,46,0,0,216,218,3,121,60,0,217,219,3,129,64,0,218,217,1,0,0,0,218,219,1,0,0,0,219,232,1,0,0,0,220,229,3,121,60,0,221,226,5,46,0,0,222,224,3,121,60,0,223,225,3,129,64,0,224,223,1,0,0,0,224,225,1,0,0,0,225,227,1,0,0,0,226,222,1,0,0,0,226,227,1,0,0,0,227,230,1,0,0,0,228,230,3,129,64,0,229,221,1,0,0,0,229,228,1,0,0,0,230,232,1,0,0,0,231,215,1,0,0,0,231,220,1,0,0,0,232,62,1,0,0,0,233,234,5,98,0,0,234,235,5,114,0,0,235,236,5,101,0,0,236,237,5,97,0,0,237,238,5,107,0,0,238,64,1,0,0,0,239,240,5,97,0,0,240,241,5,110,0,0,241,242,5,100,0,0,242,66,1,0,0,0,243,244,5,101,0,0,244,245,5,120,0,0,245,246,5,112,0,0,246,247,5,111,0,0,247,248,5,114,0,0,248,249,5,116,0,0,249,68,1,0,0,0,250,251,5,102,0,0,251,252,5,111,0,0,252,253,5,114,0,0,253,70,1,0,0,0,254,255,5,118,0,0,255,256,5,97,0,0,256,257,5,114,0,0,257,72,1,0,0,0,258,259,5,99,0,0,259,260,5,111,0,0,260,261,5,110,0,0,261,262,5,116,0,0,262,263,5,105,0,0,263,264,5,110,0,0,264,265,5,117,0,0,265,266,5,101,0,0,266,74,1,0,0,0,267,268,5,118,0,0,268,269,5,97,0,0,269,270,5,114,0,0,270,271,5,105,0,0,271,272,5,112,0,0,272,76,1,0,0,0,273,274,5,115,0,0,274,275,5,119,0,0,275,276,5,105,0,0,276,277,5,116,0,0,277,278,5,99,0,0,278,279,5,104,0,0,279,78,1,0,0,0,280,281,5,119,0,0,281,282,5,104,0,0,282,283,5,105,0,0,283,284,5,108,0,0,284,285,5,101,0,0,285,80,1,0,0,0,286,287,5,105,0,0,287,288,5,102,0,0,288,82,1,0,0,0,289,290,5,105,0,0,290,291,5,110,0,0,291,84,1,0,0,0,292,293,5,111,0,0,293,294,5,114,0,0,294,86,1,0,0,0,295,296,5,110,0,0,296,297,5,111,0,0,297,298,5,116,0,0,298,88,1,0,0,0,299,300,5,109,0,0,300,301,5,101,0,0,301,302,5,116,0,0,302,303,5,104,0,0,303,304,5,111,0,0,304,305,5,100,0,0,305,90,1,0,0,0,306,307,5,101,0,0,307,308,5,108,0,0,308,309,5,115,0,0,309,310,5,101,0,0,310,92,1,0,0,0,311,312,5,116,0,0,312,313,5,111,0,0,313,94,1,0,0,0,314,315,5,98,0,0,315,316,5,121,0,0,316,96,1,0,0,0,317,318,5,116,0,0,318,319,5,121,0,0,319,320,5,112,0,0,320,321,5,101,0,0,321,98,1,0,0,0,322,323,5,105,0,0,323,324,5,109,0,0,324,325,5,112,0,0,325,326,5,111,0,0,326,327,5,114,0,0,327,328,5,116,0,0,328,100,1,0,0,0,329,330,5,97,0,0,330,331,5,115,0,0,331,102,1,0,0,0,332,333,5,109,0,0,333,334,5,97,0,0,334,335,5,112,0,0,335,104,1,0,0,0,336,337,5,35,0,0,337,338,3,123,61,0,338,339,3,123,61,0,339,340,3,123,61,0,340,341,3,123,61,0,341,342,3,123,61,0,342,343,3,123,61,0,343,355,1,0,0,0,344,345,5,35,0,0,345,346,3,123,61,0,346,347,3,123,61,0,347,348,3,123,61,0,348,349,3,123,61,0,349,350,3,123,61,0,350,351,3,123,61,0,351,352,3,123,61,0,352,353,3,123,61,0,353,355,1,0,0,0,354,336,1,0,0,0,354,344,1,0,0,0,355,106,1,0,0,0,356,357,3,117,58,0,357,108,1,0,0,0,358,362,7,0,0,0,359,361,7,1,0,0,360,359,1,0,0,0,361,364,1,0,0,0,362,360,1,0,0,0,362,363,1,0,0,0,363,110,1,0,0,0,364,362,1,0,0,0,365,366,3,125,62,0,366,367,1,0,0,0,367,368,6,55,4,0,368,112,1,0,0,0,369,370,3,127,63,0,370,371,1,0,0,0,371,372,6,56,5,0,372,114,1,0,0,0,373,374,4,57,0,0,374,386,3,125,62,0,375,377,5,13,0,0,376,375,1,0,0,0,376,377,1,0,0,0,377,378,1,0,0,0,378,381,5,10,0,0,379,381,2,12,13,0,380,376,1,0,0,0,380,379,1,0,0,0,381,383,1,0,0,0,382,384,3,125,62,0,383,382,1,0,0,0,383,384,1,0,0,0,384,386,1,0,0,0,385,373,1,0,0,0,385,380,1,0,0,0,386,387,1,0,0,0,387,388,6,57,6,0,388,116,1,0,0,0,389,395,5,39,0,0,390,394,8,2,0,0,391,392,5,92,0,0,392,394,5,39,0,0,393,390,1,0,0,0,393,391,1,0,0,0,394,397,1,0,0,0,395,393,1,0,0,0,395,396,1,0,0,0,396,398,1,0,0,0,397,395,1,0,0,0,398,410,5,39,0,0,399,405,5,34,0,0,400,404,8,3,0,0,401,402,5,92,0,0,402,404,5,34,0,0,403,400,1,0,0,0,403,401,1,0,0,0,404,407,1,0,0,0,405,403,1,0,0,0,405,406,1,0,0,0,406,408,1,0,0,0,407,405,1,0,0,0,408,410,5,34,0,0,409,389,1,0,0,0,409,399,1,0,0,0,410,118,1,0,0,0,411,412,7,4,0,0,412,120,1,0,0,0,413,415,3,119,59,0,414,413,1,0,0,0,415,416,1,0,0,0,416,414,1,0,0,0,416,417,1,0,0,0,417,122,1,0,0,0,418,419,7,5,0,0,419,124,1,0,0,0,420,422,7,6,0,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,126,1,0,0,0,425,426,5,47,0,0,426,427,5,47,0,0,427,431,1,0,0,0,428,430,8,7,0,0,429,428,1,0,0,0,430,433,1,0,0,0,431,429,1,0,0,0,431,432,1,0,0,0,432,128,1,0,0,0,433,431,1,0,0,0,434,436,7,8,0,0,435,437,7,9,0,0,436,435,1,0,0,0,436,437,1,0,0,0,437,438,1,0,0,0,438,439,3,121,60,0,439,130,1,0,0,0,22,0,211,218,224,226,229,231,354,362,376,380,383,385,393,395,403,405,409,416,423,431,436,7,1,1,0,1,2,1,1,3,2,1,4,3,0,1,0,0,2,0,1,57,4]),I(Pe,"__ATN"),I(Pe,"DecisionsToDFA",Pe._ATN.decisionToState.map((e,n)=>new ep(e,n)));let Cl=Pe;var Q=(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))(Q||{}),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))(ge||{}),wn=(t=>(t.description="description",t.field="field",t.function="function",t.param="param",t.returns="returns",t.type="type",t.variable="variable",t))(wn||{}),qo=(t=>(t.library="library",t.indicator="indicator",t.strategy="strategy",t))(qo||{});const Ae={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:"type '$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."},Mi={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"},Ui=[Q.SERIES,Q.SIMPLE,Q.INPUT,Q.CONST],Ep=[Q.INT,Q.FLOAT,Q.BOOL,Q.COLOR,Q.STRING],Dl=["indicator","strategy","library"],kl=["plot","plotbar","plotchar","plotarrow","plotshape","plotcandle","hline","alertcondition","barcolor","bgcolor","fill"],oy=[...kl,"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"],ay=[...kl,"table.new","label.new","line.new","box.new","polyline.new","linefill.new"],sy=["strategy.entry","strategy.order","strategy.exit","strategy.close","strategy.cancel","strategy.close_all","strategy.cancel_all"],xp=["strategy","input","table","color","line","linefill","label","box"],Ol=["close","open","high","low","hl2","hlc3","hlcc4","ohlc4","volume"],uy=/^\/\/\s*@(description|field|function|param|returns|type|variable)/,Vn=["case","catch","default","delete","do","finally","function","instanceof","new","return","this","throw","try","typeof","void","with"];var Tt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function cy(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 s=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,s.get?s:{enumerable:!0,get:function(){return t[r]}})}),n}var ly={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(Tt,function(){var n=1e3,r=6e4,s=36e5,c="millisecond",p="second",d="minute",E="hour",b="day",T="week",x="month",w="quarter",F="year",R="date",v="Invalid Date",h=/^(\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),xe=ue-Ee<0,_e=re.clone().add(ce+(xe?-1:1),x);return+(-(ce+(ue-Ee)/(xe?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:p,ms:c,Q:w}[se]||String(se||"").toLowerCase().replace(/s$/,"")},u:function(se){return se===void 0}},N="en",B={};B[N]=A;var H="$isDayjsObject",U=function(se){return se instanceof q||!(!se||!se[H])},Y=function se(re,ue,ce){var Ee;if(!re)return N;if(typeof re=="string"){var xe=re.toLowerCase();B[xe]&&(Ee=xe),ue&&(B[xe]=ue,Ee=xe);var _e=re.split("-");if(!Ee&&_e.length>1)return se(_e[0])}else{var oe=re.name;B[oe]=re,Ee=oe}return!ce&&Ee&&(N=Ee),Ee||!ce&&N},P=function(se,re){if(U(se))return se.clone();var ue=typeof re=="object"?re:{};return ue.date=se,ue.args=arguments,new q(ue)},G=k;G.l=Y,G.i=U,G.w=function(se,re){return P(se,{locale:re.$L,utc:re.$u,x:re.$x,$offset:re.$offset})};var q=function(){function se(ue){this.$L=Y(ue.locale,null,!0),this.parse(ue),this.$x=this.$x||ue.x||{},this[H]=!0}var re=se.prototype;return re.parse=function(ue){this.$d=function(ce){var Ee=ce.date,xe=ce.utc;if(Ee===null)return new Date(NaN);if(G.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(h);if(_e){var oe=_e[2]-1||0,X=(_e[7]||"0").substring(0,3);return xe?new Date(Date.UTC(_e[1],oe,_e[3]||1,_e[4]||0,_e[5]||0,_e[6]||0,X)):new Date(_e[1],oe,_e[3]||1,_e[4]||0,_e[5]||0,_e[6]||0,X)}}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 G},re.isValid=function(){return this.$d.toString()!==v},re.isSame=function(ue,ce){var Ee=P(ue);return this.startOf(ce)<=Ee&&Ee<=this.endOf(ce)},re.isAfter=function(ue,ce){return P(ue)<this.startOf(ce)},re.isBefore=function(ue,ce){return this.endOf(ce)<P(ue)},re.$g=function(ue,ce,Ee){return G.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,xe=!!G.u(ce)||ce,_e=G.p(ue),oe=function(ht,wt){var yt=G.w(Ee.$u?Date.UTC(Ee.$y,wt,ht):new Date(Ee.$y,wt,ht),Ee);return xe?yt:yt.endOf(b)},X=function(ht,wt){return G.w(Ee.toDate()[ht].apply(Ee.toDate("s"),(xe?[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 xe?oe(1,0):oe(31,11);case x:return xe?oe(1,te):oe(0,te+1);case T:var Ze=this.$locale().weekStart||0,Ve=(J<Ze?J+7:J)-Ze;return oe(xe?ve-Ve:ve+(6-Ve),te);case b:case R:return X(me+"Hours",0);case E:return X(me+"Minutes",1);case d:return X(me+"Seconds",2);case p:return X(me+"Milliseconds",3);default:return this.clone()}},re.endOf=function(ue){return this.startOf(ue,!1)},re.$set=function(ue,ce){var Ee,xe=G.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[p]=_e+"Seconds",Ee[c]=_e+"Milliseconds",Ee)[xe],X=xe===b?this.$D+(ce-this.$W):ce;if(xe===x||xe===F){var J=this.clone().set(R,1);J.$d[oe](X),J.init(),this.$d=J.set(R,Math.min(this.$D,J.daysInMonth())).$d}else oe&&this.$d[oe](X);return this.init(),this},re.set=function(ue,ce){return this.clone().$set(ue,ce)},re.get=function(ue){return this[G.p(ue)]()},re.add=function(ue,ce){var Ee,xe=this;ue=Number(ue);var _e=G.p(ce),oe=function(te){var ve=P(xe);return G.w(ve.date(ve.date()+Math.round(te*ue)),xe)};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 X=(Ee={},Ee[d]=r,Ee[E]=s,Ee[p]=n,Ee)[_e]||1,J=this.$d.getTime()+ue*X;return G.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 xe=ue||"YYYY-MM-DDTHH:mm:ssZ",_e=G.z(this),oe=this.$H,X=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,xe))||St[yt].slice(0,Ct)},Ve=function(wt){return G.s(oe%12||12,wt,"0")},ht=me||function(wt,yt,St){var Ct=wt<12?"AM":"PM";return St?Ct.toLowerCase():Ct};return xe.replace(g,function(wt,yt){return yt||function(St){switch(St){case"YY":return String(ce.$y).slice(-2);case"YYYY":return G.s(ce.$y,4,"0");case"M":return J+1;case"MM":return G.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 G.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 G.s(oe,2,"0");case"h":return Ve(1);case"hh":return Ve(2);case"a":return ht(oe,X,!0);case"A":return ht(oe,X,!1);case"m":return String(X);case"mm":return G.s(X,2,"0");case"s":return String(ce.$s);case"ss":return G.s(ce.$s,2,"0");case"SSS":return G.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 xe,_e=this,oe=G.p(ce),X=P(ue),J=(X.utcOffset()-this.utcOffset())*r,te=this-X,ve=function(){return G.m(_e,X)};switch(oe){case F:xe=ve()/12;break;case x:xe=ve();break;case w:xe=ve()/3;break;case T:xe=(te-J)/6048e5;break;case b:xe=(te-J)/864e5;break;case E:xe=te/s;break;case d:xe=te/r;break;case p:xe=te/n;break;default:xe=te}return Ee?xe:G.a(xe)},re.daysInMonth=function(){return this.endOf(x).$D},re.$locale=function(){return B[this.$L]},re.locale=function(ue,ce){if(!ue)return this.$L;var Ee=this.clone(),xe=Y(ue,ce,!0);return xe&&(Ee.$L=xe),Ee},re.clone=function(){return G.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=q.prototype;return P.prototype=ne,[["$ms",c],["$s",p],["$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])}}),P.extend=function(se,re){return se.$i||(se(re,q,P),se.$i=!0),P},P.locale=Y,P.isDayjs=U,P.unix=function(se){return P(1e3*se)},P.en=B[N],P.Ls=B,P.p={},P})})(ly);function Re(t,e){return t.replace(/\$(\w+)/g,(n,r)=>String(e[r])||n)}class fy extends Nm{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")}}class hy extends fy{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 s=new Map(Object.entries(n[r]));switch(r){case"constants":this._buildinConstants=s;break;case"functions":this._buildinFunctions=s;break;case"methods":this._buildinMethods=s;break;case"types":this._buildinTypes=s;break;case"variables":this._buildinVariables=s;break}}}_typeHandle(n=[],r){if(!n.length)return Q.UNDETERMINED;if(n=n.filter(p=>!p.endsWith(Q.NA)),!n.length)return`${Q.SIMPLE} ${Q.NA}`;let s=100,c="";for(const p of n){if(p===Q.UNDETERMINED)return Q.UNDETERMINED;p.startsWith(Q.SERIES)?s=0:p.startsWith(Q.SIMPLE)&&s>0?s=1:p.startsWith(Q.INPUT)&&s>1?s=2:p.startsWith(Q.CONST)&&s>2&&(s=3);const d=this._removePrefix(p);(d!==Q.INT||!c)&&(c=d)}return s===100?c:`${Ui[s]} ${r||c}`}_returnTypesOtherHandle(n,r,s,c){if(!s.length||s[0].includes("<>")){const p=n.type;let d=p;if(!p||p===Q.UNDETERMINED)return[Q.UNDETERMINED];switch(r){case"series <type>":d=this._getArrayType(p),d||(d=this._removePrefix(p)),s=[this._typeAddSeries(d)];break;case"array<type>":case"matrix<type>":case"type[]":if(this._isMapType(p)){const E=this._getMapType(p)||[];c.includes("keys")?d=E[0]:d=E[1]}else d=this._getArrayType(p),d||(d=this._removePrefix(p));s=[this._typeReplace(r,d)];break;case"<matrix_type>":d=this._getArrayType(p),s=[this._typeAddSeries(d)];break;case"map<keyType, valueType>":s=[d];break;case"<value_type>":d=this._getMapType(p),s=[d[1]];break}}return s}_checkMethodThisType(n,r){if(!n||!n.length||n[0].includes("<>"))return!0;const s=r.replace("int","float");return n.some(c=>c===r||s===c||c.endsWith(r))}_priorityComparison(n,r){if(!n)return!1;if(this._isArrayType(n)||this._isMatrixType(n))return this._getArrayType(r)!==Q.INT;{const s=this._getPrefix(n),c=this._getPrefix(r);return s===c?!!n.endsWith(Q.INT):!(Ui.indexOf(s)<Ui.indexOf(c))}}_compareType(n,r){if(n===Q.UNDETERMINED||r===Q.UNDETERMINED)return!0;const s=[Q.FLOAT,Q.INT];if(this._isArrayType(n)||this._isMatrixType(n)){const c=this._getArrayType(n)||"",p=this._getArrayType(r)||"";return c===p||s.includes(c)&&s.includes(p)}else if(this._isMapType(n)){const c=this._getMapType(n)||[],p=this._getMapType(r)||[];return(c[0]===p[0]||s.includes(c[0])&&s.includes(p[0]))&&(c[1]===p[1]||s.includes(c[1])&&s.includes(p[1]))}else{const c=this._removePrefix(n),p=this._removePrefix(r);return c===Q.NA||p===Q.NA||c===p||s.includes(c)&&s.includes(p)}}_typeAddSeries(n){return this._buildinTypes.get(n)&&n!==Q.CHART_POINT?`${Q.SERIES} ${n}`:n}_typeAddConst(n){return Ep.includes(n)?`${Q.CONST} ${n}`:this._typeAddSeries(n)}_getOriginMethodName(n,r){let s="";return this._isArrayType(n)?s=`${Q.ARRAY}.${r}`:this._isMatrixType(n)?s=`${Q.MATRIX}.${r}`:this._isMapType(n)?s=`${Q.MAP}.${r}`:s=`${this._removePrefix(n)}.${r}`,s}_returnedTypesParse(n){if(!n||!n.length)return[];const r=n[0];return/^\[.+\]$/.test(r)?r.replace(/[[\]]/g,"").split(",").map(s=>s.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 Ui.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)?Q.ARRAY:this._isMapType(n)?Q.MAP:this._isMatrixType(n)?Q.MATRIX:this._removePrefix(n)}_typeReplace(n,r){return r===Q.UNDETERMINED?r:(r=this._removePrefix(r),this._arrayTypeConvert(n.startsWith(Q.SERIES)?n.replace("<type>",r):n.replace("type",r)))}}var or=(t=>(t[t.Hint=1]="Hint",t[t.Info=2]="Info",t[t.Warning=4]="Warning",t[t.Error=8]="Error",t))(or||{});class Sp extends hy{constructor(n,r,s){super(n);I(this,"_loopCount");I(this,"_errors");I(this,"_variables");I(this,"_functions");I(this,"_methods");I(this,"_types");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,"_exportPositions");I(this,"_description","");I(this,"_endExport");I(this,"_importLibs");I(this,"_getImportLibraryFunc");I(this,"_isEndExpr");I(this,"_inputVarName");I(this,"_hasRequest");I(this,"visitProgram",async n=>{const{children:r}=n;let s=0;const c=[];for(this._pushBlockRanges(n);s<r.length;s++){const p=r[s];p.ruleIndex===j.RULE_globalStmt&&c.push(await this.visit(p))}return this._onlyStatementsCount<=0&&this._errors.push({startColumn:0,endColumn:0,startLineNumber:0,endLineNumber:0,type:or.Error,message:Re(Ae.onlyStatementErr,{count:this._onlyStatementsCount})}),c});I(this,"visitGlobalStmt",async n=>{const{children:r}=n;if(r&&r.length){const s=r[0],c=await this.visit(s);return s.ruleIndex===j.RULE_methodStmt&&Dl.includes(c.exprs[0].name)&&(this._onlyStatementsCount++,this._onlyStatementsCount>1?this._errorHandle(Re(Ae.onlyStatementErr,{count:this._onlyStatementsCount}),s):this._scriptType=c.exprs[0].name),c}return null});I(this,"visitBlockStmt",n=>{const{children:r}=n;let s=0;const c=[];for(;s<r.length;s++){const p=r[s];switch(p.ruleIndex){case j.RULE_variableDeclarationStmt:c.push(...this.visit(p));break;case j.RULE_varBlockStmt:c.push(this.visit(p));break;case j.RULE_blockExpression:c.push(this.visit(p));break}}return c});I(this,"visitStmt",n=>{const{children:r}=n;if(r&&r.length){const s=r[0];return this.visit(s)}return null});I(this,"visitSimpleStmt",n=>{const{children:r}=n;if(r&&r.length){const s=r[0];return this.visit(s)}return null});I(this,"visitFlowStmt",n=>{const{children:r}=n,{column:s,line:c,text:p}=r[0].symbol;if(this._currentLine=c,this._loopCount<=0){const d=s+1;this._errors.push({startColumn:d,endColumn:parseInt(d+p.length),startLineNumber:c,endLineNumber:c,message:Re(Ae.onlyInLoop,{text:p})})}return{ruleType:ge.FlowStmt,value:p}});I(this,"visitBlock",n=>{const{children:r}=n;if(r&&r.length){const s=r[0];return s.ruleIndex===j.RULE_simpleStmt?this._inBlock(s):this.visit(s)}return null});I(this,"visitBlockLine",n=>{const{children:r}=n;if(!r)return null;let s=0;const c=[];this._blockCount++,this._pushBlockRanges(n);const p=this._isEndExpr;for(;s<r.length;s++){const d=r[s];d.ruleIndex===j.RULE_stmt&&(this._isInFunc&&(this._isEndExpr=r.length-2===s&&p),c.push(this.visit(d)))}return this._blockCount--,this._blockRanges.pop(),this._currentBlockVars.splice(this._blockCount+1),c});I(this,"visitDeclareAssign",n=>{var p;const{children:r}=n;let s=0;const c={ruleType:ge.DeclareAssign};for(;s<r.length;s++){const d=r[s];switch(d.ruleIndex){case j.RULE_varArrayDeclaration:c.nameList=this.visit(d),this._inputVarName=(p=c.nameList)==null?void 0:p.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:s}=n;if(this._currentLine=s.line,r.length>=3){const c=this.visit(r[0]);this._verifyGloablVar(c,r[0]);const p=this.visit(r[2]),d=this.visit(r[1]);return c.type?this._againAssignHandle([c,p],[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:s}=n;let c=0;const p=[];for(this._currentLine=s.line;c<r.length;c++){const d=r[c];if(d.ruleIndex===j.RULE_singleExpression){const E=this.visit(d);E&&(E.ctx=d,p.push(E))}}return p});I(this,"visitExpressionBlockSequence",n=>{const{children:r}=n;let s=0;const c=[];for(;s<r.length;s++){const p=r[s];switch(p.ruleIndex){case j.RULE_singleExpression:c.push(this.visit(p));break;case j.RULE_variableDeclarationList:c.push(this.visit(p));break;case j.RULE_blockExpression:c.push(this.visit(p));break;case j.RULE_varBlockStmt:c.push(this.visit(p));break}}return c});I(this,"visitBlockSequence",n=>{const{children:r}=n;let s=0;const c=[];for(;s<r.length;s++){const p=r[s];switch(p.ruleIndex){case j.RULE_variableDeclarationList:c.push(this.visit(p));break;case j.RULE_singleExpression:c.push(this.visit(p));break}}return c});I(this,"visitVariableDeclarationStmt",n=>{const{children:r}=n;let s=0;const c=[];for(;s<r.length;s++){const p=r[s];switch(p.ruleIndex){case j.RULE_variableDeclarationList:c.push(this.visit(p));break;case j.RULE_methodStmt:const d=this.visit(p);Dl.includes(d.exprs[0].name)&&(this._onlyStatementsCount++,this._onlyStatementsCount>1?this._errorHandle(Re(Ae.onlyStatementErr,{count:this._onlyStatementsCount}),p):this._scriptType=d.exprs[0].name),c.push(d);break}}return c});I(this,"visitVarBlockStmt",n=>{const{children:r}=n;let s=0;const c={ruleType:ge.VarBlockStmt,ctx:n},p=[];for(;s<r.length;s++){const d=r[s];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:p.push(d),c.name=this.visit(d);break;case j.RULE_blockExpression:this._isNeedCalc=!0,c.value=this.visit(d),p.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],p,c.operator):(this._variablesHandle(c,n),c)});I(this,"visitVarSingle",n=>{const{children:r,start:s}=n,c={ruleType:ge.VarSingle};let p=0;const d=this._commentsParser(s.line,[wn.variable]);c.desc=d==null?void 0:d[wn.variable],this._currentLine=s.line;let E={lineNumber:0,column:0};for(;p<r.length;p++){const b=r[p];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,s=!1)=>{var b;const c=this._comments.filter(T=>T.line<n&&T.line>=this._currentLine),p={},d={line:0,key:"",secKey:""},E=[wn.field,wn.param];for(const T of c){const[x,w]=uy.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}),p[w]=Object.assign(p[w]||{},{[R]:v.join(" ").trim()}))}else p[w]=[F]}else if(s&&d.key){const F=T.text.replace("//","").trim();E.includes(d.key)?p[d.key][d.secKey]+=` ${F}`:(b=p[d.key])==null||b.push(F)}}return p});I(this,"visitVarMultiple",n=>{const{children:r,start:s}=n;let c=0;const p=[],d=[];for(this._currentLine=s.line;c<r.length;c++){const E=r[c];if(E.ruleIndex===j.RULE_identifier){const b=this.visit(E);this._repeatVarJudge(b,E),p.push(b),d.push({lineNumber:E.start.line,column:E.start.column})}}return{ruleType:ge.VarMultiple,names:p,posList:d}});I(this,"visitBlockExpression",n=>{const{children:r,start:s}=n;if(this._currentLine=s.line,r&&r.length){const c=r[0];return this.visit(c)}return null});I(this,"visitParenthesizedExpression",n=>{const{children:r}=n,s=r[1],c=this.visit(s);return{ruleType:ge.ParenthesizedExpression,type:c.type,ctx:n,exprs:c}});I(this,"visitAdditiveExpression",n=>{const{children:r}=n;let s=0,c="";const p=[];for(;s<r.length;s++){const E=r[s];E.ruleIndex===j.RULE_singleExpression?p.push(this.visit(E)):c=E.symbol.text}const d={ruleType:ge.AdditiveExpression,operator:c,ctx:n,exprs:p};if(["+","-"].includes(c)){const E=[Q.UNDETERMINED,Q.INT,Q.FLOAT];c==="+"&&E.push(Q.STRING);const b=this._sameTypeJudge(p,[r[0],r[2]],c,E);d.type=this._typeHandle(b)}else{const E=this._calcTypeJudge(p[0],r[0],c),b=this._calcTypeJudge(p[1],r[2],c,1);d.type=this._typeHandle([E,b])}return d});I(this,"visitRelationalExpression",n=>{const{children:r}=n;let s=0,c="";const p=[];for(;s<r.length;s++){const b=r[s];b.ruleIndex===j.RULE_singleExpression?p.push(this.visit(b)):c=b.symbol.text}const d=this._calcTypeJudge(p[0],r[0],c),E=this._calcTypeJudge(p[1],r[2],c,1);return{ruleType:ge.RelationalExpression,operator:c,ctx:n,type:this._typeHandle([d,E],Q.BOOL),exprs:p}});I(this,"visitEqualityExpression",n=>{const{children:r}=n;let s=0,c="";const p=[];for(;s<r.length;s++){const E=r[s];E.ruleIndex===j.RULE_singleExpression?p.push(this.visit(E)):c=E.symbol.text}const d=this._sameTypeJudge(p,[r[0],r[2]],c,[Q.UNDETERMINED,Q.COLOR,Q.STRING,Q.BOOL,Q.INT,Q.FLOAT]);return{ruleType:ge.EqualityExpression,operator:c,ctx:n,type:this._typeHandle(d,Q.BOOL),exprs:p}});I(this,"visitTernaryExpression",n=>{const{children:r}=n;let s=0;const c=[];for(;s<r.length;s++){const d=r[s];d.ruleIndex===j.RULE_singleExpression&&c.push(this.visit(d))}let p=Q.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);p=this._typeHandle(d),E&&this._getPrefix(p)&&(p=this._typeHandle([p,`${E} ${this._removePrefix(p)}`]))}return{ruleType:ge.TernaryExpression,type:p,ctx:n,exprs:c}});I(this,"visitNameExpression",n=>{const{children:r}=n;if(r&&r.length){const s=r[0];return this.visit(s)}return null});I(this,"visitLiteralExpression",n=>{const{children:r}=n;if(r&&r.length){const s=r[0];return this.visit(s)}return null});I(this,"visitUnaryExpression",n=>{var b;const{children:r}=n,[s,c]=r,p=[this.visit(c)],d=s.symbol.text,E=this._calcTypeJudge(p[0],c,d);return((b=p[0])==null?void 0:b.ruleType)===ge.UnaryExpression&&this._errors.push({message:Re(Ae.unaryErr,{sign:d}),startColumn:s.symbol.column+1,startLineNumber:s.symbol.line,endColumn:s.symbol.column+2,endLineNumber:s.symbol.line}),{ruleType:ge.UnaryExpression,operator:d,type:E,ctx:n,exprs:p}});I(this,"visitNotExpression",n=>{const{children:r}=n,s=r[1],c=[this.visit(s)],p=this._boolTypeJudge(c[0],s,"not");return{ruleType:ge.NotExpression,ctx:n,type:this._typeHandle([p],Q.BOOL),exprs:c}});I(this,"visitMemberIndexExpression",n=>{var p,d;const{children:r}=n;let s=0;const c=[];for(;s<r.length;s++){const E=r[s];E.ruleIndex===j.RULE_singleExpression&&c.push(this.visit(E))}if(this._memberIndexVerify(c[0],n),this._hasMemberIndex=!0,((p=c[0])==null?void 0:p.ruleType)===ge.MemberIndexExpression){const E=r[1];this._errors.push({message:Re(Ae.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:s}=n;let c=0;const p=[],d=[],E=this._commentsParser(s.line,[wn.description],!0);this._currentLine=s.line;let b;for(;c<r.length;c++){const x=r[c];x.ruleIndex===j.RULE_methodElement&&(p.push(this.visit(x)),d.push(x))}return((T=p[0])==null?void 0:T.name)===qo.library&&E.description&&(this._description=E.description.join(`
12
+ `)),b=this._getMethodTypes(p,d)||[],this._inputFuncTitleVerify(p),{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:p}});I(this,"visitMethodExpression",n=>{const{children:r}=n;if(r&&r.length){const s=r[0];return this.visit(s)}return null});I(this,"visitLogicalAndExpression",n=>{const{children:r}=n;let s=0,c="";const p=[];for(;s<r.length;s++){const b=r[s];b.ruleIndex===j.RULE_singleExpression?p.push(this.visit(b)):c=b.symbol.text}const d=this._boolTypeJudge(p[0],r[0],c),E=this._boolTypeJudge(p[1],r[2],c,1);return{ruleType:ge.LogicalAndExpression,type:this._typeHandle([d,E],Q.BOOL),operator:c,ctx:n,exprs:p}});I(this,"visitLogicalOrExpression",n=>{const{children:r}=n;let s=0,c="";const p=[];for(;s<r.length;s++){const b=r[s];b.ruleIndex===j.RULE_singleExpression?p.push(this.visit(b)):c=b.symbol.text}const d=this._boolTypeJudge(p[0],r[0],c),E=this._boolTypeJudge(p[1],r[2],c,1);return{ruleType:ge.LogicalOrExpression,operator:c,ctx:n,type:this._typeHandle([d,E],Q.BOOL),exprs:p}});I(this,"visitMultiplicativeExpression",n=>{const{children:r}=n;let s=0,c="";const p=[];for(;s<r.length;s++){const b=r[s];b.ruleIndex===j.RULE_singleExpression?p.push(this.visit(b)):c=b.symbol.text}const d=this._calcTypeJudge(p[0],r[0],c),E=this._calcTypeJudge(p[1],r[2],c,1);return{ruleType:ge.MultiplicativeExpression,operator:c,ctx:n,type:this._typeHandle([d,E]),exprs:p}});I(this,"visitBrackethesized",n=>{const{children:r,start:s}=n,c=r[1];return this._currentLine=s.line,{ruleType:ge.Brackethesized,ctx:n,exprs:this.visit(c)}});I(this,"visitArguments",n=>{const{children:r}=n;let s=0;const c={params:[]};let p="";for(;s<r.length;s++){const d=r[s];if(d.ruleIndex===j.RULE_argument){const E=this.visit(d),b=E.paramKey;b?(p=b,c[b]?this._errorHandle(Re(Mi.moreSameArg,{arg:b}),n.parentCtx,or.Warning):(c[b]=E.param,c[b].ctx=d)):p?this._errorHandle(Re(Ae.argsSyntaxErr,{argName:p}),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 s=0;const c={ruleType:ge.IfStatement,condition:[],block:[],ctx:n,typeList:[]};for(;s<r.length;s++){const p=r[s];switch(p.ruleIndex){case j.RULE_singleExpression:c.condition.push(this.visit(p));break;case j.RULE_blockLine:const d=this._isInLocalScop;this._isInLocalScop=!0;const E=this.visit(p);c.typeList.push(this._getBlockReturnTypes(E)),c.block.push(E),this._isInLocalScop=d;break}}return c});I(this,"visitForToStatement",n=>{const{children:r}=n;let s=0;const c={ruleType:ge.ForToStatement,numerical:[],ctx:n,block:[]};for(;s<r.length;s++){const p=r[s];switch(p.ruleIndex){case j.RULE_varModifier:c.declare=this.visit(p);break;case j.RULE_typeGather:const d=this.visit(p);c.type=d&&this._typeAddSeries(d);break;case j.RULE_identifier:c.name=this.visit(p),this._repeatVarJudge(c.name,p);break;case j.RULE_singleExpression:c.numerical.push(this.visit(p));break;case j.RULE_blockLine:this._blockCount++,this._pushBlockRanges(n),c.name&&this._variablesHandle({nameList:{name:c.name,isForVar:!0,type:c.type},value:{type:c.type||`${Q.SERIES} ${Q.INT}`}},n),this._blockCount--,this._blockRanges.pop(),this._loopCount++;const E=this._isInLocalScop;this._isInLocalScop=!0,c.block=this.visit(p),this._loopCount--,this._isInLocalScop=E,c.returnedTypes=this._getBlockReturnTypes(c.block);break}}return c});I(this,"visitForInStatement",n=>{const{children:r}=n;let s=0;const c={ruleType:ge.ForInStatement,ctx:n,names:[]};for(;s<r.length;s++){const p=r[s];switch(p.ruleIndex){case j.RULE_identifier:const d=this.visit(p);this._repeatVarJudge(d,p),c.names.push(d);break;case j.RULE_singleExpression:c.array=this.visit(p);const E=c.array.type;this._isArrayType(E)||this._isMatrixType(E)||E===Q.UNDETERMINED||this._errorHandle(Re(Ae.typeMismatch,{operator:"foreach",index:"id",typeE:E,typeR:"array<fun_arg>"}),p);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:`${Q.SERIES} ${Q.INT}`},value:{type:`${Q.SERIES} ${Q.INT}`}},n):x=T;const F=w===Q.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(p),this._isInLocalScop=b,this._loopCount--,c.returnedTypes=this._getBlockReturnTypes(c.block);break}}return c});I(this,"visitSwitchStatement",n=>{const{children:r}=n;let s=0;const c={ruleType:ge.SwitchStatement,condition:!0,ctx:n,cases:[],defaultCase:void 0};for(;s<r.length;s++){const p=r[s];switch(p.ruleIndex){case j.RULE_singleExpression:c.condition=this.visit(p);break;case j.RULE_caseClause:c.cases.push(this.visit(p));break;case j.RULE_defaultCaluse:c.defaultCase=this.visit(p);break}}return c});I(this,"visitCaseClause",n=>{const{children:r}=n,s={ruleType:ge.CaseClause},c=this._isInLocalScop;return this._isInLocalScop=!0,s.condition=this.visit(r[0]),s.block=this.visit(r[2]),this._isInLocalScop=c,s.returnedTypes=this._getBlockReturnTypes(s.block),s});I(this,"visitDefaultCaluse",n=>{const{children:r}=n,s={ruleType:ge.DefaultCaluse},c=this._isInLocalScop;return this._isInLocalScop=!0,s.block=this.visit(r[1]),this._isInLocalScop=c,s.returnedTypes=this._getBlockReturnTypes(s.block),s});I(this,"visitWhileStatement",n=>{const{children:r}=n,s={ruleType:ge.WhileStatement,ctx:n};s.condition=this.visit(r[1]),this._loopCount++;const c=this._isInLocalScop;return this._isInLocalScop=!0,s.block=this.visit(r[2]),this._isInLocalScop=c,this._loopCount--,s.returnedTypes=this._getBlockReturnTypes(s.block),s});I(this,"visitImportStmt",async n=>{const{children:r,start:s}=n;let c=0;const p=[];for(this._currentLine=s.line;c<r.length;c++){const d=r[c];if(d.ruleIndex===j.RULE_importElement){const E=await this.visit(d);E&&p.push(E)}}return p});I(this,"visitImportElement",async n=>{const{children:r}=n;if(!r||!r.length)return;let s=0;const c=[],p={ruleType:ge.ImportElement,ctx:n};for(;s<r.length;s++){const d=r[s];d.ruleIndex===j.RULE_identifier?c.push(this.visit(d)):d.symbol&&d.symbol.type===j.IntegerLiteral&&(p.libraryVersion=d.symbol.text)}return p.username=c[0],p.libraryName=c[1],p.name=c[2],await this._importHandle(p,n),p});I(this,"visitLiteral",n=>{const{children:r}=n,s=r[0],{type:c,text:p}=s.symbol,d={ruleType:ge.Literal,ctx:n,type:"",value:p};switch(c){case j.ColorLiteral:d.type=Q.COLOR;break;case j.BooleanLiteral:d.type=Q.BOOL;break;case j.StringLiteral:if(d.type=Q.STRING,p.includes(`
13
+ `)){const E=p.replace(/\s*(\n|\r)\s*/g," ");d.value=`\`${E.substring(1,E.length-1)}\``}break;case j.IntegerLiteral:d.type=Q.INT;break;case j.DecimalLiteral:d.type=Q.FLOAT;break}return d.type&&(d.type=`${Q.CONST} ${d.type}`),d});I(this,"visitMethodElement",n=>{const{children:r}=n,[s,c]=r,[p,d,E]=this.visit(s),b=this.visit(c);return p.startsWith("request.")&&this._isInFunc&&(this._currentExportFunc&&this._errorHandle(Re(Ae.exportFuncUseReqErr,{name:p}),n),this._hasRequest=!0),{name:p,type:d,args:b,expr:E}});I(this,"visitMethodName",n=>{const{children:r}=n,s=[],c=[];let p=0,d=null;for(;p<r.length;p++){const b=r[p],T=b.ruleIndex,x=b.symbol;switch(T){case j.RULE_identifier:s.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==="."&&s.push(".")}}const E=s.join("");return ay.includes(E)?this._hasDrawFunc=!0:sy.includes(E)&&(this._hasCreateOrderFunc=!0),[E,c,d]});I(this,"visitArrowFunction",n=>{const{children:r,start:s,stop:c}=n,p={ruleType:ge.ArrowFunction,returnedTypes:[]};let d=0,E={lineNumber:0,column:0};const b=this._commentsParser(s.line,[wn.function,wn.param,wn.returns],!0);Object.assign(p,{desc:b[wn.function],paramsDesc:b[wn.param],returnsDesc:b[wn.returns]}),this._currentLine=s.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},p.name=this.visit(x);break;case j.RULE_arrowFunctionParameters:p.params=this.visit(x),p.isExport&&this._exportArgsTypeVerify(p.params),this._setFuncParams(p,{endColumn:c.column,endLineNumber:c.line-1,startColumn:s.column,startLineNumber:s.line}),T=x;break;case j.RULE_block:this._isInFunc=!0,p.isExport&&(this._currentExportFunc=p.name),this._hasMemberIndex=!1,this._hasRequest=!1,p.block=this.visit(x),p.hasMemberIndex=this._hasMemberIndex,p.returnedTypes=this._getBlockReturnTypes(p.block),this._isInFunc=!1,this._currentExportFunc="";break;default:F&&F.type===j.Export&&(p.isExport=!0,this._addExportPos(F,"functions"))}}return p.hasRequest=this._hasRequest,this._setFunc(p,E,T,c.line-1),this._hasRequest=!1,this._currentFuncParams.clear(),p});I(this,"visitArrowFunctionParameters",n=>{const{children:r}=n;let s=0,c=[];for(;s<r.length;s++){const p=r[s];p.ruleIndex===j.RULE_formalParameterList&&(c=this.visit(p))}return c});I(this,"visitFormalParameterList",n=>{const{children:r}=n;let s=0;const c=[];for(;s<r.length;s++){const p=r[s];p.ruleIndex===j.RULE_formalParameterArg&&c.push(this.visit(p))}return c});I(this,"visitFormalParameterArg",n=>{const{children:r}=n;let s=0;const c={};for(;s<r.length;s++){const p=r[s];switch(p.ruleIndex){case j.RULE_typeGather:const d=this.visit(p);c.type=d&&this._typeAddSeries(d);break;case j.RULE_identifier:c.name=this.visit(p);break;case j.RULE_singleExpression:c.defaultValue=this.visit(p),delete c.defaultValue.ctx}}return c.ctx=n,this._verifyArgsDefaultValue(c,n),c.type=c.type||Q.UNDETERMINED,c});I(this,"visitArrowMethod",n=>{const{children:r,start:s,stop:c}=n;let p=0;const d={ruleType:ge.ArrowMethod,returnedTypes:[]};let E={lineNumber:0,column:0};const b=this._commentsParser(s.line,[wn.function,wn.param,wn.returns],!0);Object.assign(d,{desc:b[wn.function],paramsDesc:b[wn.param],returnsDesc:b[wn.returns]}),this._currentLine=s.line;let T=null;for(;p<r.length;p++){const x=r[p];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:s.column,startLineNumber:s.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 s=0;const c={};let p=[];for(;s<r.length;s++){const d=r[s];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:p=this.visit(d);break}}return[c,...p]});I(this,"visitTypeStatement",n=>{const{children:r,start:s,stop:c}=n;let p=0;const d={ruleType:ge.TypeStatement,fields:[]},E=this._commentsParser(s.line,[wn.type,wn.field]);Object.assign(d,{desc:E[wn.type],fieldsDesc:E[wn.field]}),this._currentLine=s.line;let b={lineNumber:0,column:0},T=null;for(;p<r.length;p++){const x=r[p];switch(x.ruleIndex){case j.RULE_identifier:b={lineNumber:x.start.line,column:x.start.column},T=x,d.name=this.visit(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:s}=n;let c=0;const p={};let d=null,E=null;for(this._currentLine=s.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:Re(this._buildinTypes.has(F)?Ae.typeUseError:Ae.notTypeKeyword,{text:F})}),p.type=Q.UNDETERMINED}else p.type=T&&this._typeAddSeries(T);break;case j.RULE_identifier:p.name=this.visit(b),E=b;break;case j.RULE_singleExpression:d=b,p.value=this.visit(b);break;default:b.symbol&&b.symbol.type===j.Varip&&(p.isVarip=!0);break}}return this._typeElementVerify(p,d,E),p});I(this,"visitAssignmentOperator",n=>{const{children:r}=n;return r&&r[0].symbol.text});I(this,"visitTypeMap",n=>{const{children:r}=n;let s=0;const c=[];for(;s<r.length;s++){const p=r[s];if(p.ruleIndex===j.RULE_typeName){const d=this.visit(p);c.push(d),this._typeCheck(d,j.RULE_typeName,p)}}return`map<${c[0]},${c[1]}>`});I(this,"visitTypeSeries",n=>{const{children:r}=n,[s,c]=r,p=this.visit(s),d=this.visit(c);return this._typeCheck(p,j.RULE_typeSeries,s),this._typeCheck(d,j.RULE_typeName,c),`${p} ${d}`});I(this,"visitTypeArray",n=>{const{children:r}=n,s=r[0];let c=this.visit(s),p=c;if(r.length===3)c=Q.ARRAY;else{this._typeCheck(c,j.RULE_typeArray,s);let d=1;for(;d<r.length;d++){const E=r[d];E.ruleIndex===j.RULE_typeName&&(p=this.visit(E),this._typeCheck(p,j.RULE_typeName,E))}}return this._arrayTypeConvert(`${c}<${p}>`)});I(this,"visitTypeGather",n=>{const{children:r}=n;if(r&&r.length){const s=r[0],c=this.visit(s);return s.ruleIndex===j.RULE_typeName&&this._typeCheck(c,j.RULE_typeName,s),c}return null});I(this,"visitIdentifier",n=>n.children&&n.children[0].symbol.text);I(this,"visitTypeName",n=>{const{children:r}=n;let s=0,c="";for(;s<r.length;s++){const p=r[s];p.ruleIndex===j.RULE_identifier?c=`${c}${this.visit(p)}`:c=`${c}.`}return c});I(this,"visitName",n=>{const{children:r}=n;let s=0,c=!1;const p=[];let d=null;for(;s<r.length;s++){const E=r[s];switch(E.ruleIndex){case j.RULE_identifier:p.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,p.push(b);break}}return this._nameHandle(c,p,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._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._exportPositions=[],this._endExport={},this._importLibs=new Map,this._getImportLibraryFunc=s}get overloadsFuncs(){return this._overloadsFuncs}get errors(){return this._errors}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]}}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:s,varPos:c,isBuiltIn:p}=n;if(p&&this._errorHandle(Re(Ae.buidinAssignErr,{name:s}),r),!c)return;const d=this._currentBlockVars[0].get(s);if(!d)return;const{column:E,lineNumber:b}=d.pos||{};this._isInFunc&&E===c.column&&b===c.lineNumber&&this._errorHandle(Re(Ae.modifyGlobalVarErr,{name:s}),r)}_inputFuncTitleVerify(n){if(!(n!=null&&n.length)||n.length>1)return;const{name:r,args:s}=n[0];r.startsWith(Q.INPUT)&&this._inputVarName&&!(s.params.some(c=>c.originName==="title")||s.title)&&(s.title={value:`"${this._inputVarName}"`,ruleType:ge.Literal,type:`${Q.CONST} ${Q.STRING}`})}async _importHandle(n,r){const{stop:s,start:c}=r,{username:p,libraryName:d,libraryVersion:E,name:b}=n,T=`${p}/${d}/${E}`;if(this._importLibs.has(T))return this._errorHandle(Ae.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(Re(Ae.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:s.line,startColumn:c.column,endColumn:s.column+s.text.length+1});if(w){const{codeStr:F,description:R}=w;this._importLibs.set(T,{...n,libraryId:T,startLine:c.line,endLine:s.line,ctx:void 0,desc:R}),this._importDataHandle(w,x),Vn.includes(x)&&(x=`$${x}`),n.code=F.replace("$name",x)}else this._errorHandle(Re(Ae.importNotExitErr,{username:p,libraryName:d}),r)}_importDataHandle(n,r){const{functions:s,methods:c,types:p}=n;for(const d of s){const{name:E}=d,b=`${r}.${E}`,T=this._functions.get(b)||[];T.push({...this._importTypeUpdate(d,p,r),name:b,isUser:void 0,isImport:!0}),this._functions.set(b,T)}for(const d of c){const E=this._importTypeUpdate(d,p,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 p){const E=`${r}.${d.name}`,b=this._types.get(E)||[];b.push({...this._importTypeUpdate(d,p,r),name:E,isImport:!0}),this._types.set(E,b)}}_importTypeUpdate(n,r,s){var F;let{args:c,returnedTypes:p,thisType:d,fields:E,name:b,originalName:T}=n,x="";if(c&&c.length&&(c=c.map(R=>{const{allowedTypeIDs:v,displayType:h,name:g}=R,A=h&&this._replaceTypeName(h,r,s);return x=x?`${x}, ${A} ${g}`:`${A} ${g}`,{...R,allowedTypeIDs:v==null?void 0:v.map(O=>this._replaceTypeName(O,r,s)),displayType:A}})),p!=null&&p.length&&(p=[this._replaceTypeName(p[0],r,s)]),d!=null&&d.length){const R=this._replaceTypeName(d[0],r,s);R!==d[0]&&(T=`${s}.${T||b}`),d=[R]}E!=null&&E.length&&(E=E.map(R=>{const{type:v}=R;return{...R,type:v&&this._replaceTypeName(v,r,s)}}));const w={...n,args:c,returnedTypes:p,thisType:d,fields:E,originalName:T};return(F=w.syntax)!=null&&F.length&&(w.syntax=[`${T||`${s}.${b}`}(${x}) → ${(p==null?void 0:p[0])||"void"}`]),w}_replaceTypeName(n,r,s){const c=r.find(p=>n.includes(p.name));return c?n.replace(c.name,`${s}.${c.name}`):n}_verifyArgsDefaultValue(n,r){const{defaultValue:s,type:c}=n;if(!s)return;const{ruleType:p,isBuiltIn:d,type:E}=s,b=this._removePrefix(E);if(p!==ge.Literal&&!d)delete n.defaultValue,this._errorHandle(Ae.argDefaultErr,r);else if(c&&c!==Q.UNDETERMINED&&E!==Q.UNDETERMINED){const T=this._removePrefix(c);if(T===Q.FLOAT&&b===Q.INT)return;b!==T&&this._errorHandle(Re(Ae.defaultValueTypeErr,{typeE:E,typeR:c}),r)}else c||(n.type=this._typeAddSeries(b===Q.INT?Q.FLOAT:b))}_exportArgsTypeVerify(n){for(const r of n)(r.type===Q.UNDETERMINED||!r.type)&&this._errorHandle(Ae.exportFuncArgErr,r.ctx)}_addExportPos(n,r){const{line:s,column:c,text:p}=n;this._exportPositions.push({startLineNumber:s,startColumn:c,endLineNumber:s,endColumn:c+p.length+1,type:r})}_nameHandle(n,r,s,c){var d,E;const p={ruleType:ge.Name,hasMethod:n,exprs:r,expr:s};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="");p.exprs=[...T,b];const x=this._getMethodTypes(T,Array.from(T,()=>c));if(x&&x.length){const w=Re(Ae.noFiledErr,{name:b});x.length>1&&this._errorHandle(w,c),p.type=((E=this._nameCheck(this._getOriginMethodName(x[0],b),c,w))==null?void 0:E.type)||Q.UNDETERMINED}}else{let b=r.join(".");if(s&&s.type&&s.type===Q.UNDETERMINED)p.type=Q.UNDETERMINED,b=`expr0.${b}`;else{s&&s.type&&(b=`${this._getMethodTypeName(s.type)}.${b}`);const T=this._nameCheck(b,c)||{};(d=T.title)!=null&&d.startsWith("built-in")&&(p.isBuiltIn=!0,p.isConst=T.isConst),p.varPos=T.pos,p.varScope=T.scope,p.declare=T.declare,p.type=(T==null?void 0:T.type)||Q.UNDETERMINED,T!=null&&T.isArg&&(p.arg=T),p.scope=this._blockCount,this._isInFunc&&this._currentExportFunc&&(p.type.startsWith(Q.INPUT)?this._errorHandle(Re(Ae.exportFuncHasInputErr,{name:b,func:this._currentExportFunc}),c):T.scope===0&&this._errorHandle(Re(Ae.exportFuncUseGlobalVarErr,{func:this._currentExportFunc}),c))}p.name=b}return p}_typeElementVerify(n,r,s){var E,b;const{type:c,value:p}=n;if(!p){c||this._errorHandle(Ae.typeFieldErr,s);return}if(![ge.Literal,ge.UnaryExpression].includes(p.ruleType)&&!p.isBuiltIn){this._errorHandle(Ae.defaultValueErr,r);return}else if(p.ruleType===ge.UnaryExpression){const{exprs:T}=p;if(![ge.Literal,ge.UnaryExpression].includes((E=T[0])==null?void 0:E.ruleType)&&!((b=T[0])!=null&&b.isBuiltIn)){this._errorHandle(Ae.defaultValueErr,r);return}}if(!c){const T=p.type,x=this._getPrefix(T);n.type=x?this._typeAddSeries(this._removePrefix(T)):T;return}(!this._compareType(c,p.type)||c.endsWith(Q.INT)&&p.type.endsWith(Q.FLOAT))&&this._errorHandle(Re(Ae.defaultValueTypeErr,{typeE:p.type,typeR:c}),r)}_memberIndexVerify(n,r){if(n.ruleType===ge.Name&&!n.hasMethod&&this._blockCount){const c=this._currentBlockVars[this._blockCount],p=c&&c.get(n.name);p&&(p.isForVar?this._errorHandle(Re(Ae.notHistoryErr,{name:n.name}),r):!(this._blockCount===1&&this._isInFunc)&&this._errorHandle(Re(Mi.localScopeGetHistory,{name:n.name}),r,or.Warning))}const s=n&&n.type;if(s){const c=this._removePrefix(s);!this._types.has(c)&&!this._buildinTypes.has(c)&&!this._isArrayType(c)&&!this._isMatrixType(c)&&!this._isMapType(c)&&c!==Q.UNDETERMINED&&this._errorHandle(Re(Ae.invalidType,{index:0}),r)}}_setFuncParams(n,r){var s;for(const c of n.params){const p=(s=this._types.get(c.type))==null?void 0:s[0];if(c.scope=this._blockCount+1,p&&p.fields)for(const d of p.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})}_setUserType(n,r,s){const{fields:c,name:p,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:p,desc:d,pos:r};if(this._types.has(p)){this._errorHandle(Re(Ae.typeRepeatErr,{name:p}),s);return}n.isExport&&this._exportTypes.push(b),this._types.set(p,[{...b}]),this._addVarToMap(p,p,r,!1,!1)}_againAssignHandle(n,r,s){const c=s!==":="?s.replace("=",""):s,p=s!==":="?[Q.UNDETERMINED,Q.INT,Q.FLOAT]:[];c==="+"&&p.push(Q.STRING);const[d,E]=n;d.arg&&!d.name.includes(".")&&this._errorHandle(Re(Ae.funcArgAssignErr,{name:d.name}),r[0]);const b=this._sameTypeJudge(n,r,c,p),T=this._typeHandle(b);return this._updateUserVar(d.name,T,E.type),d.type=T,{ruleType:ge.AgainAssign,name:d,operator:s,type:T,value:E}}_typeCheck(n,r,s){const c=[Q.SERIES,Q.SIMPLE,Q.CONST];switch(r){case j.RULE_typeName:const p=this._buildinTypes.get(n);p&&![...c,Q.ARRAY,Q.MATRIX,Q.MAP].includes(p[0].name)||this._types.get(n)||this._errorHandle(Re(Ae.notTypeKeyword,{text:n}),s);break;case j.RULE_typeArray:[Q.ARRAY,Q.MATRIX].includes(n)||this._errorHandle(Ae.tempateTypeErr,s);break;case j.RULE_typeSeries:c.includes(n)||this._errorHandle(Re(Ae.qualifierErr,{name:n}),s);break}}_getBuildVar(n){const r=this._buildinVariables.get(n);if(r&&r[0])return r[0];const s=this._buildinConstants.get(n);return s&&s[0]?Object.assign(s[0],{isConst:!0}):this._specialTreatmentChartPoint(n)}_specialTreatmentChartPoint(n){var r,s;if(n.startsWith("chart.point")){const c=n.split("."),p=c.pop(),d=c.join(".");return(((s=(r=this._buildinTypes.get(d))==null?void 0:r[0])==null?void 0:s.fields)||[]).find(b=>b.name===p)}}_verifyName(n,r){var c,p;const s=this._getBuildVar(n);if(s)return s;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=(((p=(c=this._buildinTypes.get(w.type))==null?void 0:c[0])==null?void 0:p.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,s,c){return s!==`${Q.SIMPLE} ${Q.NA}`?!0:(c&&this._errorHandle(Re(Ae.objectIsNaErr,{name:n,type:"field"}),r),!1)}_nameCheck(n,r,s=Re(Ae.undeclared,{name:n})){const c=this._verifyName(n,r);return c||this._errorHandle(s,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,s=or.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:s})}_boolTypeJudge(n,r,s,c=0){return this._typeJudge(n,r,s,Q.BOOL,[Q.UNDETERMINED,Q.INT,Q.FLOAT,Q.BOOL],c)}_calcTypeJudge(n,r,s,c=0){return this._typeJudge(n,r,s,"int/float",[Q.UNDETERMINED,Q.INT,Q.FLOAT],c)}_typeJudge(n,r,s,c,p,d=0){const E=n&&n.type;if(E){const b=this._removePrefix(E);if(!p.includes(b)&&b!==Q.NA)return this._errorHandle(Re(Ae.typeMismatch,{operator:`operator ${s}`,index:`expr${d}`,typeE:b,typeR:c}),r),Q.UNDETERMINED;c===Q.BOOL&&[Q.INT,Q.FLOAT].includes(b)&&this._errorHandle(Re(Mi.typeMismatch,{operator:`operator ${s}`,index:`expr${d}`,type:Q.BOOL}),r,or.Warning)}return E||Q.UNDETERMINED}_sameTypeJudge(n,r,s,c){let p="";const d=[],E=["plot_display","plot_simple_display"];["+","-","+=","-="].includes(s)&&(c=c.concat(E));for(const[b,T]of n.entries()){let x=T&&T.type||Q.UNDETERMINED;const w=this._removePrefix(x);if(p||(p=w),!c.includes(w)&&c.length&&w!==Q.NA){this._errorHandle(Re(Ae.typeMismatch,{operator:`operator ${s}`,index:`expr${b}`,typeE:x,typeR:c.slice(1).join("/")}),r[b]),p=Q.UNDETERMINED,d.push(p);continue}if(p===Q.UNDETERMINED||w===Q.UNDETERMINED)x=p=Q.UNDETERMINED;else if(p!==w&&p!==Q.NA&&w!==Q.NA&&(![Q.INT,Q.FLOAT].includes(p)||![Q.INT,Q.FLOAT].includes(w)))if(s===":=")this._errorHandle(Re(Ae.assignTypeMismatch,{typeE:w,name:n[0].name,typeR:p}),r[0]),x=p=Q.UNDETERMINED;else if(["==","!=","?:"].includes(s)&&[Q.INT,Q.FLOAT,Q.BOOL].includes(p)&&[Q.INT,Q.FLOAT,Q.BOOL].includes(w))this._errorHandle(Re(Mi.typeMismatch,{operator:`operator ${s}`,index:`expr${b}`,type:p}),r[b],or.Warning),x=p=Q.UNDETERMINED;else if(E.includes(p)&&E.includes(w)){if(p!==w){const F=this._getPrefix(x);d[b-1]=`${this._getPrefix(d[b-1])} ${E[0]}`,x=p=`${F} ${E[0]}`}}else this._errorHandle(Re(Ae.typeMismatch,{operator:`operator ${s}`,index:`expr${b}`,typeE:w,typeR:p}),r[b]),x=p=Q.UNDETERMINED;d.push(x)}return d}_getUserVar(n,r=!1){for(let s=this._blockCount;s>=0;s--){const c=this._currentBlockVars[s];if(s<=0){const p=this._currentFuncParams.get(n);if(p)return p.isArg=!0,p}if(c){const p=c.get(n);if(p)return p}}if(n.includes(".")&&!r){let s=!1,c=null;if(n.split(".").reduce((p,d)=>{let E=p?`${p}.${d}`:d;const b=this._getUserVar(E,!0);return b!=null&&b.type?b.type===Q.UNDETERMINED?s=!0:(E=b.type,c=b):c=null,E},""),s)return{name:n,type:Q.UNDETERMINED};if(c)return c}return null}_repeatVarJudge(n,r){this._getBuildVar(n)&&this._errorHandle(Re(Ae.buidinVarErr,{name:n}),r);for(let c=0;c<=this._blockCount;c++){const p=this._currentBlockVars[c];if(p&&p.get(n)){if(this._blockCount===c)return this._errorHandle(Re(Ae.repeatVar,{name:n}),r),!0;this._errorHandle(Re(Mi.repeatVar,{name:n}),r,or.Warning)}}}_judgeVarBuildIn(n){for(let r=0;r<=this._blockCount;r++){const s=this._currentBlockVars[r];if(s&&s.get(n))return!0}return!1}_updateUserVar(n,r,s){for(let c=0;c<=this._blockCount;c++){const p=this._currentBlockVars[c];if(p){const d=p.get(n);if(d){d.type=r,d.valueType=s;return}}}}_variablesHandle(n,r){var p,d,E,b;if(!(n&&n.nameList))return;const s=n.nameList;if(s.name==="_")return;const c=n.value;if(s.ruleType===ge.VarMultiple){s.types=[],this._checkVarMultiple(s.names,c,r);for(const[T,x]of s.names.entries()){const w=this._varTypeJudge("",((p=c==null?void 0:c.types)==null?void 0:p[T])||Q.UNDETERMINED,r);s.types.push(w),this._addVarToMap(x,w,s.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(Re(Ae.tupleLeftVarErr,{name:s.name}),r),!s.type&&T===`${Q.SIMPLE} ${Q.NA}`&&this._errorHandle(Ae.naVarErr,r),s.prefix&&Ui.indexOf(s.prefix)>Ui.indexOf(this._getPrefix(T))&&this._errorHandle(Re(Ae.declaredErr,{prefix:s.prefix,type:T}),r);const x=this._varTypeJudge(s.type,T||Q.UNDETERMINED,r);s.type=x,this._addVarToMap(s.name,x,s.pos,!0,s.isForVar,s.declare,c.type,s.desc)}}_checkVarMultiple(n,r,s){var b,T,x,w;const c=n.length,p=(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||(p===1&&!d||!p?this._errorHandle(Ae.tupleRightVarErr,s):c!==p&&this._errorHandle(Re(Ae.tupleVarErr,{indexA:p,indexB:c}),s))}_addVarToMap(n,r,s,c=!0,p=!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:s,valueType:E,desc:b};c&&this._setVariablesMap(w),T.set(n,Object.assign(w,{isForVar:p,declare:d})),this._currentBlockVars[this._blockCount]=T}_setVariablesMap(n,r=!1){const s=this._blockRanges[this._blockCount];r||(n.range=s,n.scope=this._blockCount);const c=this._variables.get(n.name)||[];c.push(n),this._variables.set(n.name,c)}_varTypeJudge(n,r,s){if(r===Q.VOID)return this._errorHandle(Ae.voidNotVar,s),Q.UNDETERMINED;if(n&&r!==Q.UNDETERMINED){const c=this._removePrefix(n),p=this._removePrefix(r);return p!==c&&p!==Q.NA&&!(c===Q.FLOAT&&p===Q.INT)?(this._errorHandle(Re(Ae.declareTypeErr,{type:n,valueType:r}),s),Q.UNDETERMINED):this._typeHandle([n,r])}else if(r===Q.UNDETERMINED)return Q.UNDETERMINED;return n||r||Q.UNDETERMINED}_getAllowTypes(n){const r=[];if(n===Q.UNDETERMINED)return r;const s=this._getPrefix(n);if(s){const c=this._removePrefix(n);let p=-1;for(const[d,E]of Ui.entries())E===s&&(p=d),p>=0&&p<=d&&(c===Q.FLOAT&&r.push(`${E} ${Q.INT}`),r.push(`${E} ${c}`))}else n=this._arrayTypeConvert(n)||"",r.push(n),n.includes(Q.FLOAT)&&r.push(n.replace(/float/,Q.INT));return r}_setNewFunc(n,r){const s=`${n.name}.new`,c=[],p=[];for(const E of n.fields)c.push({name:E.name,required:!1,allowedTypeIDs:this._getAllowTypes(E.type),displayType:E.type}),p.push(`${E.type} ${E.name}`);const d={name:s,args:c,returnedTypes:[n.name],pos:r,syntax:[`${s}(${p.join(", ")}) → ${n.name}`]};n.isExport&&this._exportFunctions.push(d),this._functions.set(s,[{...d,isUser:!0}])}_setCopyFunc(n,r){const s=n.name,c=`${s}.copy`,p={name:c,args:[{name:"object",required:!0,allowedTypeIDs:[s],displayType:s}],returnedTypes:[s],pos:r,info:"The identifier of the object to be copied.",syntax:[`${c}(${s} object) → ${s}`]};n.isExport&&this._exportFunctions.push(p),this._functions.set(c,[{...p,isUser:!0}])}_setCopyMethod(n,r){const s=n.name,c=`${s}.copy`,p={name:c,originalName:c,args:[],returnedTypes:[s],thisType:[s],pos:r,syntax:[`${c}() → ${s}`]};n.isExport&&this._exportMethods.push(p),this._methods.set(c,[{...p,isUser:!0}])}_setFunc(n,r,s,c){const p=[],d=[],{desc:E,paramsDesc:b,returnsDesc:T,params:x,hasMemberIndex:w}=n;for(const A of x){const{type:O,name:k,defaultValue:N}=A;p.push({name:k,desc:b==null?void 0:b[k],required:!N,allowedTypeIDs:this._getAllowTypes(O),displayType:O}),d.push(`${O===Q.UNDETERMINED?"":`${O} `}${k}`)}const{returnedTypes:F=[]}=n,R=n.name,v=F.length>1?`[${F.join(", ")}]`:F.toString(),h={name:R,desc:E,args:p,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;h.index=A,n.index=A,this._verifyFuncRepeat(g,h,s),g.push(h),this._overloadsFuncs.push({name:R,index:A,line:r.lineNumber,startColumn:r.column+1,endColumn:r.column+R.length})}else g=[h];if(n.isExport){const{line:A=0}=this._endExport;c>A&&(this._endExport={line:c,name:R,index:h.index}),this._exportFunctions.push(h)}this._functions.set(R,g)}_setMethod(n,r){var O;const{name:s,returnedTypes:c,params:p,desc:d,paramsDesc:E,returnsDesc:b}=n,T=p[0].type,x=[],w=[];for(const k of p.slice(1)){const{type:N,name:B,defaultValue:H}=k;x.push({name:B,desc:E==null?void 0:E[B],required:!H,allowedTypeIDs:this._getAllowTypes(N),displayType:N}),w.push(`${N} ${B}`)}const F=c.length>1?`[${c.join(", ")}]`:c.toString(),R=this._getMethodTypeName(T),v=`${R}.${s}`;n.typeName=R;const h={name:s,args:x,desc:d,originalName:v,syntax:[`${s}(${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(s);if(A){const k=A.filter(H=>!H.isImport).length,N=((O=g==null?void 0:g.filter(H=>!H.isImport))==null?void 0:O.length)||0;let B=k;k>N&&(B=k-1),h.index=B,n.index=B}g?g.push(h):g=[h],n.isExport&&this._exportMethods.push(h),this._methods.set(v,g)}_verifyFuncRepeat(n,r,s){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(Re(Ae.funcRepeatErr,{name:r.name}),s)}_getMethodTypes(n,r){let s;for(const[c,p]of n.entries()){const{type:d,expr:E,args:b}=p;let{name:T}=p;const x=r[c];if(E){if(E.type===Q.UNDETERMINED)return[Q.UNDETERMINED];T=`${this._getMethodTypeName(E.type)}${T}`,b.params.unshift(E)}if(s&&s.length>=1)if(s.length===1){const w=s[0];if(w===Q.UNDETERMINED)return[Q.UNDETERMINED];const F=this._getOriginMethodName(w,T);T.includes(".")?s=this._getOtherNamesMethodType(F,s,x,b,p):s=this._expandMethodHandle(F,x,b,{type:w},w,p)}else this._errorHandle(Re(Ae.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,p),p.isBuiltIn=!0,s=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,p),s=v[0].returnedTypes;const{hasErr:h}=this._checkArgs(b,v[0].args||[],T,x,s[0]);if(h)return[Q.UNDETERMINED]}else{const h=this._overloadsFuncGetTypes(v,b,x,void 0,p);s=this._returnedTypesParse([h])}else s=this._getOtherNamesMethodType(T,s,x,b,p)}}p.returnTypes=s}return s===void 0&&this._errorHandle(Re(Ae.notFindFuncErr,{name:n[0].name}),r[0]),s}_globalFuncVerify(n,r){this._blockCount!==0&&oy.includes(n.name)&&this._errorHandle(Re(Ae.globalFuncErr,{name:n.name}),r)}_hasMemberIndexVerify(n,r,s){n.hasRequest&&(s.hasRequest=!0,this._hasRequest=!0),n.hasMemberIndex||n.name.startsWith("ta.")||n.name==="math.sum"?(this._hasMemberIndex=this._isInFunc,s.hasMemberIndex=!0,s.position=r.start.tokenIndex,this._isInLocalScop&&this._errorHandle(Re(Mi.localScopeWarning,{name:s.name}),r,or.Warning)):n.name.startsWith("request.")&&this._isInLocalScop&&this._errorHandle(Ae.requestUserInLoopErr,r)}_tempFuncNameHandle(n,r,s){let c=n;if(s&&s.length>=1){const p=["array.new","matrix.new"].includes(n),d=n==="map.new";if(s.length===1)if(p)c=`${n}<type>`,n=`${n}<${s[0]}>`;else return d?this._errorHandle(Re(Ae.templateErr,{countA:2,countB:1}),r):this._errorHandle(Re(Ae.templateNoSupportErr,{name:n}),r),[Q.UNDETERMINED];else{if(!d)return p?this._errorHandle(Re(Ae.templateErr,{countA:1,countB:2}),r):this._errorHandle(Re(Ae.templateNoSupportErr,{name:n}),r),[Q.UNDETERMINED];if(!Ep.includes(s[0]))return this._errorHandle(Re(Ae.mapKeyErr,{type:this._typeAddSeries(s[0])}),r),[Q.UNDETERMINED];c=`${n}<type,type>`,n=`${n}<${s[0]},${s[1]}>`}}return[c,n]}_getOtherNamesMethodType(n,r,s,c,p){const d=n.split("."),E=d.length-1,b=d.slice(0,E).join("."),T=this._getUserVar(b);this._judgeGatherValue(d[E],s,T==null?void 0:T.valueType)||(p.name=`${b}?.${d[E]}`);const w=T==null?void 0:T.type;if(w){if(w===Q.UNDETERMINED)return r=[Q.UNDETERMINED],r.isUnknown=!0,r;const F=this._getOriginMethodName(w,d[E]);p.varScope=T.scope,r=this._expandMethodHandle(F,s,c,T,b,p)}else{let F="",R="",v="";for(const h of d.slice(0,E)){F?R=this._getOriginMethodName(F,h):R=R?`${R}.${h}`:h;const g=this._verifyName(R);g!=null&&g.type?(F=g.type,v=""):this._buildinTypes.get(R)?v=Re(Ae.methodNotExistErr,{name:R,methodName:d[E]}):v=Re(Ae.noFiledErr,{name:h})}v&&this._errorHandle(v,s)}return r}_expandMethodHandle(n,r,s,c,p,d){var T,x;let E;const b=this._buildinMethods.get(n);if(b)E=this._getBuildInReturnTypes(b,s,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:h}=this._checkArgs(s,F.args||[],n,r,(E==null?void 0:E[0])||"");if(h)return[Q.UNDETERMINED]}else{const F=this._overloadsFuncGetTypes(w,s,r,c,d);E=this._returnedTypesParse([F])}else this._errorHandle(Re(Ae.methodNotExistErr,{methodName:n.split(".").slice(-1)[0],name:p}),r)}return E}_getBuildInReturnTypes(n,r,s,c,p,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=p||r.params[0]||((b=w[0])==null?void 0:b.name)&&r[w[0].name];v&&!this._checkMethodThisType(F,v.type)&&this._errorHandle(Re(Ae.typeMismatch,{operator:s,index:v.name||"id",typeE:v.type,typeR:F[0]}),c);const{hasErr:h,types:g}=this._checkArgs(r,w,s,c,R,v);if(h)return[Q.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=[`${Q.MAP}<${d[0]},${d[1]}>`]),E=this._returnTypesOtherHandle(v,R,E,s)}else{const T=this._overloadsFuncGetTypes(n,r,c,p);E=this._returnedTypesParse([T])}return E}_overloadsFuncGetTypes(n,r,s,c,p){var F,R,v;let d="",E=[],b=[],T=0;for(const[h,g]of n.entries()){const{args:A,returnedTypes:O,name:k,thisType:N}=g,B=c||r.params[0]||r[A[0].name],{errMsg:H,warnMsg:U}=this._overloadsCheckArgs(r,A,k,s,B);B&&!this._checkMethodThisType(N,B.type)&&H.unshift({msg:Re(Ae.typeMismatch,{operator:k,index:B.name||"id",typeE:B.type,typeR:N[0]}),ctx:s}),h===0?(E=H,b=U,!H.length&&(d=O[0])):H.length?((F=E[0])!=null&&F.isLenErr&&!((R=H[0])!=null&&R.isLenErr)||E.length>H.length)&&(E=H,b=U,T=h):this._priorityComparison(d,O[0])||(O[0]===`${Q.ARRAY}<>`?d=`${B.type}[]`:d=O[0],E=H,b=U,T=h)}for(const h of E)this._errorHandle(h.msg,h.ctx);for(const h of b)this._errorHandle(h.msg,h.ctx,or.Warning);const x=s.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}),p){const h=n[T],{thisType:g,name:A,index:O}=h;if(this._hasMemberIndexVerify(h,s,p),p.index=O||T,g){const k=this._getMethodTypeName((g==null?void 0:g[0])||"");if(!this._types.get(k)){const B=this._functions.get(A);B&&(p.selfArg=(v=B[0].args)==null?void 0:v[0])}}}return this._funcArgsAddOriginName(r,n[T].args,w),d||Q.UNDETERMINED}_funcArgsAddOriginName(n,r,s){const c=n.params||[];for(const[p,d]of r.entries())p<c.length&&(c[p].originName=d.name);if(s==="input"){const p=c[0]||n.defval;Object.assign(n,{inputType:{name:`'${p!=null&&p.isSourceType?"source":this._removePrefix(p==null?void 0:p.type)}'`}})}}_overloadsCheckArgs(n,r,s,c,p){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:Re(Ae.argsLenErr,{name:s,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:Re(Mi.moreSameArg,{arg:R.name}),ctx:c}),v=E[F]),!v)R.required&&x.push({msg:Re(Ae.requiredParamErr,{name:s,argName:R.name}),ctx:c});else{const h=v.type!==`${Q.SIMPLE} na`?this._checkArg(v,R,s,p,v.ctx,!0):"";h&&x.push({msg:h,ctx:v.ctx}),delete d[R.name]}if(["arg0, arg1, ...","number0, number1, ..."].includes(R.name)&&E.length>F+1){const h=E.slice(F+1);let g=E[F];for(const A of h){g.type===`${Q.SIMPLE} ${Q.NA}`&&(g=A);const O=A.type!==`${Q.SIMPLE} ${Q.NA}`?this._checkArg(A,R,s,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:Re(Ae.argsNameErr,{name:s,argName:F}),ctx:d[F].ctx});return{errMsg:x,warnMsg:w}}_checkArgs(n,r,s,c,p,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(h=>["arg0, arg1, ...","number0, number1, ..."].includes(h.name)))return this._errorHandle(Re(Ae.argsLenErr,{name:s,lenA:T,lenB:x}),c),w=!0,{hasErr:w,types:F};for(const[v,h]of r.entries()){let g=E[h.name];if(v<b.length&&(g&&this._errorHandle(Re(Mi.moreSameArg,{arg:h.name}),c,or.Warning),g=b[v],g.originName=h.name),!g)h.required&&(this._errorHandle(Re(Ae.requiredParamErr,{name:s,argName:h.name}),c),w=!0);else{const A=g.type!==`${Q.SIMPLE} ${Q.NA}`?this._checkArg(g,h,s,d,g.ctx):"";if(A)this._errorHandle(A,g.ctx),w=!0;else if(A===!1)w=!0;else if(s.startsWith("request.")&&h.name==="expression")if(g.ruleType===ge.Brackethesized)F=g.exprs.map(O=>this._typeReplace(p,O.type));else if((R=g.types||g.returnedTypes)!=null&&R.isBrackethesized)F=(g.types||g.returnedTypes).map(O=>this._typeReplace(p,O));else{const O=this._typeReplace(p,g.type);F.push(O)}delete E[h.name]}}if(Object.keys(E).length)for(const v of Object.keys(E))this._errorHandle(Re(Ae.argsNameErr,{name:s,argName:v}),E[v].ctx),w=!0;return{hasErr:w,types:F}}_checkArg(n,r,s,c,p,d){const{ruleType:E,exprs:b,name:T}=n;let x=n.type;E===ge.Brackethesized&&(x=`[${b.map(v=>v.type).join(", ")}]`);const{allowedTypeIDs:w=[],displayType:F,name:R}=r;if(!(!x||x===Q.UNDETERMINED||F===Q.UNDETERMINED)){if(s==="input"&&R==="defval"&&!x.startsWith(Q.CONST))if(Ol.includes(T))n.isSourceType=!0;else return Ae.inputDefvalErr;if(!(this._checkMethodThisType(w,this._arrayTypeConvert(x))&&!(s==="input.source"&&R==="defval"))){if(R==="condition"&&(F!=null&&F.endsWith(Q.BOOL))&&(x.endsWith(Q.INT)||x.endsWith(Q.FLOAT))){p&&this._errorHandle(Re(Mi.typeMismatch,{index:R,operator:s,type:Q.BOOL}),p,or.Warning);return}switch(F){case"tuple of const string values: [val1, val2, ...]":return this._tupleToCheck(n,r,[`${Q.CONST} ${Q.STRING}`],s,x);case"tuple of const int/float values: [val1, val2, ...]":return this._tupleToCheck(n,r,[`${Q.CONST} ${Q.FLOAT}`,`${Q.CONST} ${Q.INT}`],s,x);case"tuple of const int values: [val1, val2, ...]":return this._tupleToCheck(n,r,[`${Q.CONST} ${Q.INT}`],s,x);case"open/high/low/close/hl2/hlc3/ohlc4/hlcc4":if(!T||!Ol.includes(T))return Re(Ae.inputSourceErr,{name:R,funcName:s});if(this._judgeVarBuildIn(T))return Re(Ae.buildInUseErr,{name:T});n.isSourceType=!0;break;case"<matrix_type>":case"<array_type>":const v=this._getArrayType(s)||"";if(!x.endsWith(v)&&!(x.endsWith(Q.INT)&&v===Q.FLOAT))return Re(Ae.typeMismatch,{operator:s,index:R,typeE:x,typeR:this._typeAddSeries(v)});break;case"any matrix type":if(this._isMatrixType(x)){if(R==="id2"){const N=this._getArrayType(c==null?void 0:c.type);if(!N)return;const B=this._getArrayType(x)||"";if(N!==B)return Re(Ae.typeMismatch,{operator:s,index:R,typeE:B,typeR:N})}}else return Re(Ae.typeMismatch,{operator:s,index:R,typeE:x,typeR:"matrix<fun_arg>"});break;case"any array type":if(this._isArrayType(x)){if(R==="id2"){const N=this._getArrayType(c==null?void 0:c.type);if(!N)return;const B=this._getArrayType(x)||"";if(N!==B)return Re(Ae.typeMismatch,{operator:s,index:R,typeE:B,typeR:N})}}else return Re(Ae.typeMismatch,{operator:s,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 h=this._getArrayType(c==null?void 0:c.type)||"";if(!x.endsWith(h)&&!(x.endsWith(Q.INT)&&h===Q.FLOAT))return Re(Ae.typeMismatch,{operator:s,index:R,typeE:x,typeR:this._typeAddSeries(h)});break;case"any map type":if(this._isMapType(x)){if(R==="id2"){const N=this._getMapType(c==null?void 0:c.type);if(!N)return;const B=this._getMapType(x)||[];if(N[0]!==B[0]||N[1]!==B[1])return Re(Ae.mapKeyValErr,{typeA:this._typeAddSeries(B[0]),typeB:this._typeAddSeries(B[1]),typeC:this._typeAddSeries(N[0]),typeD:this._typeAddSeries(N[1]),name:s})}}else return Re(Ae.typeMismatch,{operator:s,index:R,typeE:x,typeR:"map<type, type>"});break;case"series <type of the map's elements>":const g=this._getMapType(c==null?void 0:c.type);if(!g)return;const A=R==="key"?0:1;if(!x.endsWith(g[A])&&!(x.endsWith(Q.INT)&&g[A]===Q.FLOAT))return Re(Ae.typeMismatch,{operator:s,index:R,typeE:x,typeR:this._typeAddSeries(g[A])});break;case"<arg_expr_type>":if(E===ge.Brackethesized)return Re(Ae.typeMismatch,{operator:s,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 O=this._removePrefix(x);[Q.BOX,Q.LABEL,Q.LINE,Q.LINEFILL,Q.POLYLINE,Q.TABLE].includes(O)&&p&&this._errorHandle(Re(Ae.requestExprErr,{type:O,name:s}),p);break;case"variable, object or function of series int/float/bool/string/color, or a tuple of these":if(E===ge.Brackethesized){for(const N of b)if(!w.includes(N.type))return this._errorHandle(Re(Ae.requestArgsErr,{name:s,argName:R,type:N.type}),N.ctx),!1}break;case"const int/float/bool/string/color or source-type built-ins":if(Ol.includes(n.name)&&w[0].endsWith(this._removePrefix(x)))n.isSourceType=!0;else return Re(Ae.typeMismatch,{operator:s,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 Re(Ae.typeMismatch,{operator:s,index:R,typeE:x,typeR:`${Q.SERIES} ${Q.INT}`});if(x!==(c==null?void 0:c.type))return Re(Ae.typeMismatch,{operator:s,index:R,typeE:x,typeR:c==null?void 0:c.type});break;default:const k=this._removePrefix(n.type);if(n.arg&&n.arg.isArg&&!d){const N=w.find(B=>B.endsWith(k));if(N){n.type=N,n.arg.type=N;return}}if(w.length===1&&w[0].endsWith(k)){const N=this._getPrefix(n.type),B=this._getPrefix(w[0]);if(Ui.indexOf(N)>=Ui.indexOf(B))return}if(F)return Re(Ae.typeMismatch,{operator:s,index:R,typeE:x,typeR:F})}}}}_tupleToCheck(n,r,s,c,p){var d,E;if(s.push(`${Q.SIMPLE} ${Q.NA}`),n.ruleType===ge.Brackethesized){const b=[];let T=!1;for(const x of n.exprs)b.push(x.type),s.includes(x.type)||(T=!0);if(T)return Re(Ae.typeMismatch,{operator:c,index:r.name,typeE:`[${b.join(", ")}]`,typeR:((d=r.allowedTypeIDs)==null?void 0:d[0])||""})}else return Re(Ae.typeMismatch,{operator:c,index:r.name,typeE:p,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[Q.UNDETERMINED];const{ruleType:s,type:c,types:p,returnedTypes:d,exprs:E,nameList:b,typeList:T,block:x}=r;if(p&&p.length)return p;if(d&&d.length)return d;if(c)return[c];switch(s){case ge.Brackethesized:const R=E.map(H=>H.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)||Q.UNDETERMINED];case ge.SwitchStatement:if(!this._isNeedCalc&&this._isInFunc&&this._isEndExpr===!1)return[Q.UNDETERMINED];const v=[...r.cases];r.defaultCase&&v.push(r.defaultCase);let h=((F=v[0])==null?void 0:F.returnedTypes)||[],g=h.length<=1?h[0]:`[${h.join(", ")}]`,A=null;for(const H of v.slice(1)){const U=H.returnedTypes||[Q.UNDETERMINED];g+=U.length<=1?`; ${U[0]}`:`; [${U.join(", ")}]`;const Y=Array.isArray(H.block)?H.block.slice(-1)[0]:H.block;if(U.length!==h.length)A=Y.ctx;else for(const[P,G]of h.entries())if(this._compareType(U[P],G))(U[P].includes(Q.FLOAT)&&!G.includes(Q.FLOAT)||h[P]===`${Q.SIMPLE} ${Q.NA}`||h[P]===Q.UNDETERMINED)&&(h[P]=U[P]);else{A=Y.ctx;break}}return A&&(this._errorHandle(Re(Ae.ifOrSwitchTypeErr,{keyword:"switch",types:g}),A),h=h.map(()=>Q.UNDETERMINED)),r.returnedTypes=h,h;case ge.IfStatement:if(!this._isNeedCalc&&!this._isInFunc)return[Q.UNDETERMINED];if(!T.filter(H=>H&&H.length).length)return[Q.UNDETERMINED];let O=T[0]||[],k=O.length<=1?O[0]:`[${O.join(", ")}]`,N=0,B=0;for(const H of T.slice(1))if(H)if(N++,k+=H.length<=1?`; ${H[0]}`:`; [${H.join(", ")}]`,H.length!==O.length)B=N;else for(const[U,Y]of O.entries())if(this._compareType(H[U],Y))(H[U].includes(Q.FLOAT)&&!Y.includes(Q.FLOAT)||O[U]===`${Q.SIMPLE} ${Q.NA}`)&&(O[U]=H[U]);else{B=N;break}if(B){const H=x[B].slice(-1)[0],U=Array.isArray(H)?H.slice(-1)[0]:H;this._errorHandle(Re(Ae.ifOrSwitchTypeErr,{keyword:"if",types:k}),U.ctx),O=O.map(()=>Q.UNDETERMINED)}return r.returnedTypes=O,O}return[Q.UNDETERMINED]}}var Tp={exports:{}};function py(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 wl={exports:{}},dy={},_y=Object.freeze({__proto__:null,default:dy}),my=cy(_y),Ap;function Lt(){return Ap||(Ap=1,function(t,e){(function(n,r){t.exports=r()})(Tt,function(){var n=n||function(r,s){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 py=="function")try{c=my}catch{}var p=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!=s?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,N=this.sigBytes,B=A.sigBytes;if(this.clamp(),N%4)for(var H=0;H<B;H++){var U=k[H>>>2]>>>24-H%4*8&255;O[N+H>>>2]|=U<<24-(N+H)%4*8}else for(var Y=0;Y<B;Y+=4)O[N+Y>>>2]=k[Y>>>2];return this.sigBytes+=B,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(p());return new x.init(O,A)}}),w=E.enc={},F=w.Hex={stringify:function(A){for(var O=A.words,k=A.sigBytes,N=[],B=0;B<k;B++){var H=O[B>>>2]>>>24-B%4*8&255;N.push((H>>>4).toString(16)),N.push((H&15).toString(16))}return N.join("")},parse:function(A){for(var O=A.length,k=[],N=0;N<O;N+=2)k[N>>>3]|=parseInt(A.substr(N,2),16)<<24-N%8*4;return new x.init(k,O/2)}},R=w.Latin1={stringify:function(A){for(var O=A.words,k=A.sigBytes,N=[],B=0;B<k;B++){var H=O[B>>>2]>>>24-B%4*8&255;N.push(String.fromCharCode(H))}return N.join("")},parse:function(A){for(var O=A.length,k=[],N=0;N<O;N++)k[N>>>2]|=(A.charCodeAt(N)&255)<<24-N%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)))}},h=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,N=k.words,B=k.sigBytes,H=this.blockSize,U=H*4,Y=B/U;A?Y=r.ceil(Y):Y=r.max((Y|0)-this._minBufferSize,0);var P=Y*H,G=r.min(P*4,B);if(P){for(var q=0;q<P;q+=H)this._doProcessBlock(N,q);O=N.splice(0,P),k.sigBytes-=G}return new x.init(O,G)},clone:function(){var A=T.clone.call(this);return A._data=this._data.clone(),A},_minBufferSize:0});b.Hasher=h.extend({cfg:T.extend(),init:function(A){this.cfg=this.cfg.extend(A),this.reset()},reset:function(){h.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})}(wl)),wl.exports}var Rl={exports:{}},Cp;function mu(){return Cp||(Cp=1,function(t,e){(function(n,r){t.exports=r(Lt())})(Tt,function(n){return function(r){var s=n,c=s.lib,p=c.Base,d=c.WordArray,E=s.x64={};E.Word=p.extend({init:function(b,T){this.high=b,this.low=T}}),E.WordArray=p.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=p.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})}(Rl)),Rl.exports}var Fl={exports:{}},Dp;function yy(){return Dp||(Dp=1,function(t,e){(function(n,r){t.exports=r(Lt())})(Tt,function(n){return function(){if(typeof ArrayBuffer=="function"){var r=n,s=r.lib,c=s.WordArray,p=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;p.call(this,T,b)}else p.apply(this,arguments)};d.prototype=c}}(),n.lib.WordArray})}(Fl)),Fl.exports}var Nl={exports:{}},kp;function gy(){return kp||(kp=1,function(t,e){(function(n,r){t.exports=r(Lt())})(Tt,function(n){return function(){var r=n,s=r.lib,c=s.WordArray,p=r.enc;p.Utf16=p.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)}},p.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})}(Nl)),Nl.exports}var Pl={exports:{}},Op;function Eo(){return Op||(Op=1,function(t,e){(function(n,r){t.exports=r(Lt())})(Tt,function(n){return function(){var r=n,s=r.lib,c=s.WordArray,p=r.enc;p.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,h=b[F+2>>>2]>>>24-(F+2)%4*8&255,g=R<<16|v<<8|h,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,h=R|v;x[w>>>2]|=h<<24-w%4*8,w++}return c.create(x,w)}}(),n.enc.Base64})}(Pl)),Pl.exports}var Il={exports:{}},wp;function vy(){return wp||(wp=1,function(t,e){(function(n,r){t.exports=r(Lt())})(Tt,function(n){return function(){var r=n,s=r.lib,c=s.WordArray,p=r.enc;p.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,h=T[R+1>>>2]>>>24-(R+1)%4*8&255,g=T[R+2>>>2]>>>24-(R+2)%4*8&255,A=v<<16|h<<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,h=R|v;x[w>>>2]|=h<<24-w%4*8,w++}return c.create(x,w)}}(),n.enc.Base64url})}(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(r){var s=n,c=s.lib,p=c.WordArray,d=c.Hasher,E=s.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 p.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(v,h){for(var g=0;g<16;g++){var A=h+g,O=v[A];v[A]=(O<<8|O>>>24)&16711935|(O<<24|O>>>8)&4278255360}var k=this._hash.words,N=v[h+0],B=v[h+1],H=v[h+2],U=v[h+3],Y=v[h+4],P=v[h+5],G=v[h+6],q=v[h+7],ne=v[h+8],se=v[h+9],re=v[h+10],ue=v[h+11],ce=v[h+12],Ee=v[h+13],xe=v[h+14],_e=v[h+15],oe=k[0],X=k[1],J=k[2],te=k[3];oe=x(oe,X,J,te,N,7,b[0]),te=x(te,oe,X,J,B,12,b[1]),J=x(J,te,oe,X,H,17,b[2]),X=x(X,J,te,oe,U,22,b[3]),oe=x(oe,X,J,te,Y,7,b[4]),te=x(te,oe,X,J,P,12,b[5]),J=x(J,te,oe,X,G,17,b[6]),X=x(X,J,te,oe,q,22,b[7]),oe=x(oe,X,J,te,ne,7,b[8]),te=x(te,oe,X,J,se,12,b[9]),J=x(J,te,oe,X,re,17,b[10]),X=x(X,J,te,oe,ue,22,b[11]),oe=x(oe,X,J,te,ce,7,b[12]),te=x(te,oe,X,J,Ee,12,b[13]),J=x(J,te,oe,X,xe,17,b[14]),X=x(X,J,te,oe,_e,22,b[15]),oe=w(oe,X,J,te,B,5,b[16]),te=w(te,oe,X,J,G,9,b[17]),J=w(J,te,oe,X,ue,14,b[18]),X=w(X,J,te,oe,N,20,b[19]),oe=w(oe,X,J,te,P,5,b[20]),te=w(te,oe,X,J,re,9,b[21]),J=w(J,te,oe,X,_e,14,b[22]),X=w(X,J,te,oe,Y,20,b[23]),oe=w(oe,X,J,te,se,5,b[24]),te=w(te,oe,X,J,xe,9,b[25]),J=w(J,te,oe,X,U,14,b[26]),X=w(X,J,te,oe,ne,20,b[27]),oe=w(oe,X,J,te,Ee,5,b[28]),te=w(te,oe,X,J,H,9,b[29]),J=w(J,te,oe,X,q,14,b[30]),X=w(X,J,te,oe,ce,20,b[31]),oe=F(oe,X,J,te,P,4,b[32]),te=F(te,oe,X,J,ne,11,b[33]),J=F(J,te,oe,X,ue,16,b[34]),X=F(X,J,te,oe,xe,23,b[35]),oe=F(oe,X,J,te,B,4,b[36]),te=F(te,oe,X,J,Y,11,b[37]),J=F(J,te,oe,X,q,16,b[38]),X=F(X,J,te,oe,re,23,b[39]),oe=F(oe,X,J,te,Ee,4,b[40]),te=F(te,oe,X,J,N,11,b[41]),J=F(J,te,oe,X,U,16,b[42]),X=F(X,J,te,oe,G,23,b[43]),oe=F(oe,X,J,te,se,4,b[44]),te=F(te,oe,X,J,ce,11,b[45]),J=F(J,te,oe,X,_e,16,b[46]),X=F(X,J,te,oe,H,23,b[47]),oe=R(oe,X,J,te,N,6,b[48]),te=R(te,oe,X,J,q,10,b[49]),J=R(J,te,oe,X,xe,15,b[50]),X=R(X,J,te,oe,P,21,b[51]),oe=R(oe,X,J,te,ce,6,b[52]),te=R(te,oe,X,J,U,10,b[53]),J=R(J,te,oe,X,re,15,b[54]),X=R(X,J,te,oe,B,21,b[55]),oe=R(oe,X,J,te,ne,6,b[56]),te=R(te,oe,X,J,_e,10,b[57]),J=R(J,te,oe,X,G,15,b[58]),X=R(X,J,te,oe,Ee,21,b[59]),oe=R(oe,X,J,te,Y,6,b[60]),te=R(te,oe,X,J,ue,10,b[61]),J=R(J,te,oe,X,H,15,b[62]),X=R(X,J,te,oe,se,21,b[63]),k[0]=k[0]+oe|0,k[1]=k[1]+X|0,k[2]=k[2]+J|0,k[3]=k[3]+te|0},_doFinalize:function(){var v=this._data,h=v.words,g=this._nDataBytes*8,A=v.sigBytes*8;h[A>>>5]|=128<<24-A%32;var O=r.floor(g/4294967296),k=g;h[(A+64>>>9<<4)+15]=(O<<8|O>>>24)&16711935|(O<<24|O>>>8)&4278255360,h[(A+64>>>9<<4)+14]=(k<<8|k>>>24)&16711935|(k<<24|k>>>8)&4278255360,v.sigBytes=(h.length+1)*4,this._process();for(var N=this._hash,B=N.words,H=0;H<4;H++){var U=B[H];B[H]=(U<<8|U>>>24)&16711935|(U<<24|U>>>8)&4278255360}return N},clone:function(){var v=d.clone.call(this);return v._hash=this._hash.clone(),v}});function x(v,h,g,A,O,k,N){var B=v+(h&g|~h&A)+O+N;return(B<<k|B>>>32-k)+h}function w(v,h,g,A,O,k,N){var B=v+(h&A|g&~A)+O+N;return(B<<k|B>>>32-k)+h}function F(v,h,g,A,O,k,N){var B=v+(h^g^A)+O+N;return(B<<k|B>>>32-k)+h}function R(v,h,g,A,O,k,N){var B=v+(g^(h|~A))+O+N;return(B<<k|B>>>32-k)+h}s.MD5=d._createHelper(T),s.HmacMD5=d._createHmacHelper(T)}(Math),n.MD5})}(Bl)),Bl.exports}var Ll={exports:{}},Fp;function Np(){return Fp||(Fp=1,function(t,e){(function(n,r){t.exports=r(Lt())})(Tt,function(n){return function(){var r=n,s=r.lib,c=s.WordArray,p=s.Hasher,d=r.algo,E=[],b=d.SHA1=p.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],h=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&h)+1518500249:A<40?k+=(R^v^h)+1859775393:A<60?k+=(R&v|R&h|v&h)-1894007588:k+=(R^v^h)-899497514,g=h,h=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]+h|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=p.clone.call(this);return T._hash=this._hash.clone(),T}});r.SHA1=p._createHelper(b),r.HmacSHA1=p._createHmacHelper(b)}(),n.SHA1})}(Ll)),Ll.exports}var Ml={exports:{}},Pp;function Ul(){return Pp||(Pp=1,function(t,e){(function(n,r){t.exports=r(Lt())})(Tt,function(n){return function(r){var s=n,c=s.lib,p=c.WordArray,d=c.Hasher,E=s.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,h=0;h<64;)F(v)&&(h<8&&(b[h]=R(r.pow(v,1/2))),T[h]=R(r.pow(v,1/3)),h++),v++})();var x=[],w=E.SHA256=d.extend({_doReset:function(){this._hash=new p.init(b.slice(0))},_doProcessBlock:function(F,R){for(var v=this._hash.words,h=v[0],g=v[1],A=v[2],O=v[3],k=v[4],N=v[5],B=v[6],H=v[7],U=0;U<64;U++){if(U<16)x[U]=F[R+U]|0;else{var Y=x[U-15],P=(Y<<25|Y>>>7)^(Y<<14|Y>>>18)^Y>>>3,G=x[U-2],q=(G<<15|G>>>17)^(G<<13|G>>>19)^G>>>10;x[U]=P+x[U-7]+q+x[U-16]}var ne=k&N^~k&B,se=h&g^h&A^g&A,re=(h<<30|h>>>2)^(h<<19|h>>>13)^(h<<10|h>>>22),ue=(k<<26|k>>>6)^(k<<21|k>>>11)^(k<<7|k>>>25),ce=H+ue+ne+T[U]+x[U],Ee=re+se;H=B,B=N,N=k,k=O+ce|0,O=A,A=g,g=h,h=ce+Ee|0}v[0]=v[0]+h|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]+N|0,v[6]=v[6]+B|0,v[7]=v[7]+H|0},_doFinalize:function(){var F=this._data,R=F.words,v=this._nDataBytes*8,h=F.sigBytes*8;return R[h>>>5]|=128<<24-h%32,R[(h+64>>>9<<4)+14]=r.floor(v/4294967296),R[(h+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}});s.SHA256=d._createHelper(w),s.HmacSHA256=d._createHmacHelper(w)}(Math),n.SHA256})}(Ml)),Ml.exports}var Vl={exports:{}},Ip;function by(){return Ip||(Ip=1,function(t,e){(function(n,r,s){t.exports=r(Lt(),Ul())})(Tt,function(n){return function(){var r=n,s=r.lib,c=s.WordArray,p=r.algo,d=p.SHA256,E=p.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})}(Vl)),Vl.exports}var jl={exports:{}},Bp;function Lp(){return Bp||(Bp=1,function(t,e){(function(n,r,s){t.exports=r(Lt(),mu())})(Tt,function(n){return function(){var r=n,s=r.lib,c=s.Hasher,p=r.x64,d=p.Word,E=p.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 h=this._hash.words,g=h[0],A=h[1],O=h[2],k=h[3],N=h[4],B=h[5],H=h[6],U=h[7],Y=g.high,P=g.low,G=A.high,q=A.low,ne=O.high,se=O.low,re=k.high,ue=k.low,ce=N.high,Ee=N.low,xe=B.high,_e=B.low,oe=H.high,X=H.low,J=U.high,te=U.low,ve=Y,me=P,Ze=G,Ve=q,ht=ne,wt=se,yt=re,St=ue,Ct=ce,le=Ee,Oe=xe,be=_e,pt=oe,Et=X,Rt=J,mn=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 tn=w[Dt-15],rr=tn.high,z=tn.low,Fe=(rr>>>1|z<<31)^(rr>>>8|z<<24)^rr>>>7,Ue=(z>>>1|rr<<31)^(z>>>8|rr<<24)^(z>>>7|rr<<25),Ie=w[Dt-2],Qe=Ie.high,$t=Ie.low,ft=(Qe>>>19|$t<<13)^(Qe<<3|$t>>>29)^Qe>>>6,ln=($t>>>19|Qe<<13)^($t<<3|Qe>>>29)^($t>>>6|Qe<<26),yn=w[Dt-7],Vr=yn.high,Dn=yn.low,nn=w[Dt-16],wi=nn.high,jr=nn.low;Pt=Ue+Dn,kt=Fe+Vr+(Pt>>>0<Ue>>>0?1:0),Pt=Pt+ln,kt=kt+ft+(Pt>>>0<ln>>>0?1:0),Pt=Pt+jr,kt=kt+wi+(Pt>>>0<jr>>>0?1:0),It.high=kt,It.low=Pt}var Ri=Ct&Oe^~Ct&pt,ir=le&be^~le&Et,Or=ve&Ze^ve&ht^Ze&ht,Ji=me&Ve^me&wt^Ve&wt,yi=(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),Hr=(Ct>>>14|le<<18)^(Ct>>>18|le<<14)^(Ct<<23|le>>>9),eo=(le>>>14|Ct<<18)^(le>>>18|Ct<<14)^(le<<23|Ct>>>9),dt=x[Dt],Jn=dt.high,L=dt.low,K=mn+eo,ee=Rt+Hr+(K>>>0<mn>>>0?1:0),K=K+ir,ee=ee+Ri+(K>>>0<ir>>>0?1:0),K=K+L,ee=ee+Jn+(K>>>0<L>>>0?1:0),K=K+Pt,ee=ee+kt+(K>>>0<Pt>>>0?1:0),ae=fr+Ji,he=yi+Or+(ae>>>0<fr>>>0?1:0);Rt=pt,mn=Et,pt=Oe,Et=be,Oe=Ct,be=le,le=St+K|0,Ct=yt+ee+(le>>>0<St>>>0?1:0)|0,yt=ht,St=wt,ht=Ze,wt=Ve,Ze=ve,Ve=me,me=K+ae|0,ve=ee+he+(me>>>0<K>>>0?1:0)|0}P=g.low=P+me,g.high=Y+ve+(P>>>0<me>>>0?1:0),q=A.low=q+Ve,A.high=G+Ze+(q>>>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=N.low=Ee+le,N.high=ce+Ct+(Ee>>>0<le>>>0?1:0),_e=B.low=_e+be,B.high=xe+Oe+(_e>>>0<be>>>0?1:0),X=H.low=X+Et,H.high=oe+pt+(X>>>0<Et>>>0?1:0),te=U.low=te+mn,U.high=J+Rt+(te>>>0<mn>>>0?1:0)},_doFinalize:function(){var R=this._data,v=R.words,h=this._nDataBytes*8,g=R.sigBytes*8;v[g>>>5]|=128<<24-g%32,v[(g+128>>>10<<5)+30]=Math.floor(h/4294967296),v[(g+128>>>10<<5)+31]=h,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})}(jl)),jl.exports}var Hl={exports:{}},Mp;function Ey(){return Mp||(Mp=1,function(t,e){(function(n,r,s){t.exports=r(Lt(),mu(),Lp())})(Tt,function(n){return function(){var r=n,s=r.x64,c=s.Word,p=s.WordArray,d=r.algo,E=d.SHA512,b=d.SHA384=E.extend({_doReset:function(){this._hash=new p.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})}(Hl)),Hl.exports}var $l={exports:{}},Up;function xy(){return Up||(Up=1,function(t,e){(function(n,r,s){t.exports=r(Lt(),mu())})(Tt,function(n){return function(r){var s=n,c=s.lib,p=c.WordArray,d=c.Hasher,E=s.x64,b=E.Word,T=s.algo,x=[],w=[],F=[];(function(){for(var h=1,g=0,A=0;A<24;A++){x[h+5*g]=(A+1)*(A+2)/2%64;var O=g%5,k=(2*h+3*g)%5;h=O,g=k}for(var h=0;h<5;h++)for(var g=0;g<5;g++)w[h+5*g]=g+(2*h+3*g)%5*5;for(var N=1,B=0;B<24;B++){for(var H=0,U=0,Y=0;Y<7;Y++){if(N&1){var P=(1<<Y)-1;P<32?U^=1<<P:H^=1<<P-32}N&128?N=N<<1^113:N<<=1}F[B]=b.create(H,U)}})();var R=[];(function(){for(var h=0;h<25;h++)R[h]=b.create()})();var v=T.SHA3=d.extend({cfg:d.cfg.extend({outputLength:512}),_doReset:function(){for(var h=this._state=[],g=0;g<25;g++)h[g]=new b.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(h,g){for(var A=this._state,O=this.blockSize/2,k=0;k<O;k++){var N=h[g+2*k],B=h[g+2*k+1];N=(N<<8|N>>>24)&16711935|(N<<24|N>>>8)&4278255360,B=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360;var H=A[k];H.high^=B,H.low^=N}for(var U=0;U<24;U++){for(var Y=0;Y<5;Y++){for(var P=0,G=0,q=0;q<5;q++){var H=A[Y+5*q];P^=H.high,G^=H.low}var ne=R[Y];ne.high=P,ne.low=G}for(var Y=0;Y<5;Y++)for(var se=R[(Y+4)%5],re=R[(Y+1)%5],ue=re.high,ce=re.low,P=se.high^(ue<<1|ce>>>31),G=se.low^(ce<<1|ue>>>31),q=0;q<5;q++){var H=A[Y+5*q];H.high^=P,H.low^=G}for(var Ee=1;Ee<25;Ee++){var P,G,H=A[Ee],xe=H.high,_e=H.low,oe=x[Ee];oe<32?(P=xe<<oe|_e>>>32-oe,G=_e<<oe|xe>>>32-oe):(P=_e<<oe-32|xe>>>64-oe,G=xe<<oe-32|_e>>>64-oe);var X=R[w[Ee]];X.high=P,X.low=G}var J=R[0],te=A[0];J.high=te.high,J.low=te.low;for(var Y=0;Y<5;Y++)for(var q=0;q<5;q++){var Ee=Y+5*q,H=A[Ee],ve=R[Ee],me=R[(Y+1)%5+5*q],Ze=R[(Y+2)%5+5*q];H.high=ve.high^~me.high&Ze.high,H.low=ve.low^~me.low&Ze.low}var H=A[0],Ve=F[U];H.high^=Ve.high,H.low^=Ve.low}},_doFinalize:function(){var h=this._data,g=h.words;this._nDataBytes*8;var A=h.sigBytes*8,O=this.blockSize*32;g[A>>>5]|=1<<24-A%32,g[(r.ceil((A+1)/O)*O>>>5)-1]|=128,h.sigBytes=g.length*4,this._process();for(var k=this._state,N=this.cfg.outputLength/8,B=N/8,H=[],U=0;U<B;U++){var Y=k[U],P=Y.high,G=Y.low;P=(P<<8|P>>>24)&16711935|(P<<24|P>>>8)&4278255360,G=(G<<8|G>>>24)&16711935|(G<<24|G>>>8)&4278255360,H.push(G),H.push(P)}return new p.init(H,N)},clone:function(){for(var h=d.clone.call(this),g=h._state=this._state.slice(0),A=0;A<25;A++)g[A]=g[A].clone();return h}});s.SHA3=d._createHelper(v),s.HmacSHA3=d._createHmacHelper(v)}(Math),n.SHA3})}($l)),$l.exports}var Gl={exports:{}},Vp;function Sy(){return Vp||(Vp=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 s=n,c=s.lib,p=c.WordArray,d=c.Hasher,E=s.algo,b=p.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=p.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=p.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=p.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=p.create([0,1518500249,1859775393,2400959708,2840853838]),R=p.create([1352829926,1548603684,1836072691,2053994217,0]),v=E.RIPEMD160=d.extend({_doReset:function(){this._hash=p.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(B,H){for(var U=0;U<16;U++){var Y=H+U,P=B[Y];B[Y]=(P<<8|P>>>24)&16711935|(P<<24|P>>>8)&4278255360}var G=this._hash.words,q=F.words,ne=R.words,se=b.words,re=T.words,ue=x.words,ce=w.words,Ee,xe,_e,oe,X,J,te,ve,me,Ze;J=Ee=G[0],te=xe=G[1],ve=_e=G[2],me=oe=G[3],Ze=X=G[4];for(var Ve,U=0;U<80;U+=1)Ve=Ee+B[H+se[U]]|0,U<16?Ve+=h(xe,_e,oe)+q[0]:U<32?Ve+=g(xe,_e,oe)+q[1]:U<48?Ve+=A(xe,_e,oe)+q[2]:U<64?Ve+=O(xe,_e,oe)+q[3]:Ve+=k(xe,_e,oe)+q[4],Ve=Ve|0,Ve=N(Ve,ue[U]),Ve=Ve+X|0,Ee=X,X=oe,oe=N(_e,10),_e=xe,xe=Ve,Ve=J+B[H+re[U]]|0,U<16?Ve+=k(te,ve,me)+ne[0]:U<32?Ve+=O(te,ve,me)+ne[1]:U<48?Ve+=A(te,ve,me)+ne[2]:U<64?Ve+=g(te,ve,me)+ne[3]:Ve+=h(te,ve,me)+ne[4],Ve=Ve|0,Ve=N(Ve,ce[U]),Ve=Ve+Ze|0,J=Ze,Ze=me,me=N(ve,10),ve=te,te=Ve;Ve=G[1]+_e+me|0,G[1]=G[2]+oe+Ze|0,G[2]=G[3]+X+J|0,G[3]=G[4]+Ee+te|0,G[4]=G[0]+xe+ve|0,G[0]=Ve},_doFinalize:function(){var B=this._data,H=B.words,U=this._nDataBytes*8,Y=B.sigBytes*8;H[Y>>>5]|=128<<24-Y%32,H[(Y+64>>>9<<4)+14]=(U<<8|U>>>24)&16711935|(U<<24|U>>>8)&4278255360,B.sigBytes=(H.length+1)*4,this._process();for(var P=this._hash,G=P.words,q=0;q<5;q++){var ne=G[q];G[q]=(ne<<8|ne>>>24)&16711935|(ne<<24|ne>>>8)&4278255360}return P},clone:function(){var B=d.clone.call(this);return B._hash=this._hash.clone(),B}});function h(B,H,U){return B^H^U}function g(B,H,U){return B&H|~B&U}function A(B,H,U){return(B|~H)^U}function O(B,H,U){return B&U|H&~U}function k(B,H,U){return B^(H|~U)}function N(B,H){return B<<H|B>>>32-H}s.RIPEMD160=d._createHelper(v),s.HmacRIPEMD160=d._createHmacHelper(v)}(),n.RIPEMD160})}(Gl)),Gl.exports}var zl={exports:{}},jp;function Kl(){return jp||(jp=1,function(t,e){(function(n,r){t.exports=r(Lt())})(Tt,function(n){(function(){var r=n,s=r.lib,c=s.Base,p=r.enc,d=p.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,h=R.words,g=0;g<x;g++)v[g]^=1549556828,h[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}})})()})}(zl)),zl.exports}var Wl={exports:{}},Hp;function Ty(){return Hp||(Hp=1,function(t,e){(function(n,r,s){t.exports=r(Lt(),Ul(),Kl())})(Tt,function(n){return function(){var r=n,s=r.lib,c=s.Base,p=s.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=p.create(),h=p.create([1]),g=v.words,A=h.words,O=F.keySize,k=F.iterations;g.length<O;){var N=R.update(w).finalize(h);R.reset();for(var B=N.words,H=B.length,U=N,Y=1;Y<k;Y++){U=R.finalize(U),R.reset();for(var P=U.words,G=0;G<H;G++)B[G]^=P[G]}v.concat(N),A[0]++}return v.sigBytes=O*4,v}});r.PBKDF2=function(x,w,F){return T.create(F).compute(x,w)}}(),n.PBKDF2})}(Wl)),Wl.exports}var ql={exports:{}},$p;function so(){return $p||($p=1,function(t,e){(function(n,r,s){t.exports=r(Lt(),Np(),Kl())})(Tt,function(n){return function(){var r=n,s=r.lib,c=s.Base,p=s.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=p.create(),h=v.words,g=F.keySize,A=F.iterations;h.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})}(ql)),ql.exports}var Xl={exports:{}},Gp;function qn(){return Gp||(Gp=1,function(t,e){(function(n,r,s){t.exports=r(Lt(),so())})(Tt,function(n){n.lib.Cipher||function(r){var s=n,c=s.lib,p=c.Base,d=c.WordArray,E=c.BufferedBlockAlgorithm,b=s.enc;b.Utf8;var T=b.Base64,x=s.algo,w=x.EvpKDF,F=c.Cipher=E.extend({cfg:p.extend(),createEncryptor:function(P,G){return this.create(this._ENC_XFORM_MODE,P,G)},createDecryptor:function(P,G){return this.create(this._DEC_XFORM_MODE,P,G)},init:function(P,G,q){this.cfg=this.cfg.extend(q),this._xformMode=P,this._key=G,this.reset()},reset:function(){E.reset.call(this),this._doReset()},process:function(P){return this._append(P),this._process()},finalize:function(P){P&&this._append(P);var G=this._doFinalize();return G},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function P(G){return typeof G=="string"?Y:B}return function(G){return{encrypt:function(q,ne,se){return P(ne).encrypt(G,q,ne,se)},decrypt:function(q,ne,se){return P(ne).decrypt(G,q,ne,se)}}}}()});c.StreamCipher=F.extend({_doFinalize:function(){var P=this._process(!0);return P},blockSize:1});var R=s.mode={},v=c.BlockCipherMode=p.extend({createEncryptor:function(P,G){return this.Encryptor.create(P,G)},createDecryptor:function(P,G){return this.Decryptor.create(P,G)},init:function(P,G){this._cipher=P,this._iv=G}}),h=R.CBC=function(){var P=v.extend();P.Encryptor=P.extend({processBlock:function(q,ne){var se=this._cipher,re=se.blockSize;G.call(this,q,ne,re),se.encryptBlock(q,ne),this._prevBlock=q.slice(ne,ne+re)}}),P.Decryptor=P.extend({processBlock:function(q,ne){var se=this._cipher,re=se.blockSize,ue=q.slice(ne,ne+re);se.decryptBlock(q,ne),G.call(this,q,ne,re),this._prevBlock=ue}});function G(q,ne,se){var re,ue=this._iv;ue?(re=ue,this._iv=r):re=this._prevBlock;for(var ce=0;ce<se;ce++)q[ne+ce]^=re[ce]}return P}(),g=s.pad={},A=g.Pkcs7={pad:function(P,G){for(var q=G*4,ne=q-P.sigBytes%q,se=ne<<24|ne<<16|ne<<8|ne,re=[],ue=0;ue<ne;ue+=4)re.push(se);var ce=d.create(re,ne);P.concat(ce)},unpad:function(P){var G=P.words[P.sigBytes-1>>>2]&255;P.sigBytes-=G}};c.BlockCipher=F.extend({cfg:F.cfg.extend({mode:h,padding:A}),reset:function(){var P;F.reset.call(this);var G=this.cfg,q=G.iv,ne=G.mode;this._xformMode==this._ENC_XFORM_MODE?P=ne.createEncryptor:(P=ne.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==P?this._mode.init(this,q&&q.words):(this._mode=P.call(ne,this,q&&q.words),this._mode.__creator=P)},_doProcessBlock:function(P,G){this._mode.processBlock(P,G)},_doFinalize:function(){var P,G=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(G.pad(this._data,this.blockSize),P=this._process(!0)):(P=this._process(!0),G.unpad(P)),P},blockSize:128/32});var O=c.CipherParams=p.extend({init:function(P){this.mixIn(P)},toString:function(P){return(P||this.formatter).stringify(this)}}),k=s.format={},N=k.OpenSSL={stringify:function(P){var G,q=P.ciphertext,ne=P.salt;return ne?G=d.create([1398893684,1701076831]).concat(ne).concat(q):G=q,G.toString(T)},parse:function(P){var G,q=T.parse(P),ne=q.words;return ne[0]==1398893684&&ne[1]==1701076831&&(G=d.create(ne.slice(2,4)),ne.splice(0,4),q.sigBytes-=16),O.create({ciphertext:q,salt:G})}},B=c.SerializableCipher=p.extend({cfg:p.extend({format:N}),encrypt:function(P,G,q,ne){ne=this.cfg.extend(ne);var se=P.createEncryptor(q,ne),re=se.finalize(G),ue=se.cfg;return O.create({ciphertext:re,key:q,iv:ue.iv,algorithm:P,mode:ue.mode,padding:ue.padding,blockSize:P.blockSize,formatter:ne.format})},decrypt:function(P,G,q,ne){ne=this.cfg.extend(ne),G=this._parse(G,ne.format);var se=P.createDecryptor(q,ne).finalize(G.ciphertext);return se},_parse:function(P,G){return typeof P=="string"?G.parse(P,this):P}}),H=s.kdf={},U=H.OpenSSL={execute:function(P,G,q,ne,se){if(ne||(ne=d.random(64/8)),se)var re=w.create({keySize:G+q,hasher:se}).compute(P,ne);else var re=w.create({keySize:G+q}).compute(P,ne);var ue=d.create(re.words.slice(G),q*4);return re.sigBytes=G*4,O.create({key:re,iv:ue,salt:ne})}},Y=c.PasswordBasedCipher=B.extend({cfg:B.cfg.extend({kdf:U}),encrypt:function(P,G,q,ne){ne=this.cfg.extend(ne);var se=ne.kdf.execute(q,P.keySize,P.ivSize,ne.salt,ne.hasher);ne.iv=se.iv;var re=B.encrypt.call(this,P,G,se.key,ne);return re.mixIn(se),re},decrypt:function(P,G,q,ne){ne=this.cfg.extend(ne),G=this._parse(G,ne.format);var se=ne.kdf.execute(q,P.keySize,P.ivSize,G.salt,ne.hasher);ne.iv=se.iv;var re=B.decrypt.call(this,P,G,se.key,ne);return re}})}()})}(Xl)),Xl.exports}var Yl={exports:{}},zp;function Ay(){return zp||(zp=1,function(t,e){(function(n,r,s){t.exports=r(Lt(),qn())})(Tt,function(n){return n.mode.CFB=function(){var r=n.lib.BlockCipherMode.extend();r.Encryptor=r.extend({processBlock:function(c,p){var d=this._cipher,E=d.blockSize;s.call(this,c,p,E,d),this._prevBlock=c.slice(p,p+E)}}),r.Decryptor=r.extend({processBlock:function(c,p){var d=this._cipher,E=d.blockSize,b=c.slice(p,p+E);s.call(this,c,p,E,d),this._prevBlock=b}});function s(c,p,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[p+x]^=b[x]}return r}(),n.mode.CFB})}(Yl)),Yl.exports}var Zl={exports:{}},Kp;function Cy(){return Kp||(Kp=1,function(t,e){(function(n,r,s){t.exports=r(Lt(),qn())})(Tt,function(n){return n.mode.CTR=function(){var r=n.lib.BlockCipherMode.extend(),s=r.Encryptor=r.extend({processBlock:function(c,p){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[p+w]^=x[w]}});return r.Decryptor=s,r}(),n.mode.CTR})}(Zl)),Zl.exports}var Ql={exports:{}},Wp;function Dy(){return Wp||(Wp=1,function(t,e){(function(n,r,s){t.exports=r(Lt(),qn())})(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 s(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]=s(d[0]))===0&&(d[1]=s(d[1])),d}var p=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=p,r}(),n.mode.CTRGladman})}(Ql)),Ql.exports}var Jl={exports:{}},qp;function ky(){return qp||(qp=1,function(t,e){(function(n,r,s){t.exports=r(Lt(),qn())})(Tt,function(n){return n.mode.OFB=function(){var r=n.lib.BlockCipherMode.extend(),s=r.Encryptor=r.extend({processBlock:function(c,p){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[p+x]^=T[x]}});return r.Decryptor=s,r}(),n.mode.OFB})}(Jl)),Jl.exports}var ef={exports:{}},Xp;function Oy(){return Xp||(Xp=1,function(t,e){(function(n,r,s){t.exports=r(Lt(),qn())})(Tt,function(n){return n.mode.ECB=function(){var r=n.lib.BlockCipherMode.extend();return r.Encryptor=r.extend({processBlock:function(s,c){this._cipher.encryptBlock(s,c)}}),r.Decryptor=r.extend({processBlock:function(s,c){this._cipher.decryptBlock(s,c)}}),r}(),n.mode.ECB})}(ef)),ef.exports}var tf={exports:{}},Yp;function wy(){return Yp||(Yp=1,function(t,e){(function(n,r,s){t.exports=r(Lt(),qn())})(Tt,function(n){return n.pad.AnsiX923={pad:function(r,s){var c=r.sigBytes,p=s*4,d=p-c%p,E=c+d-1;r.clamp(),r.words[E>>>2]|=d<<24-E%4*8,r.sigBytes+=d},unpad:function(r){var s=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=s}},n.pad.Ansix923})}(tf)),tf.exports}var nf={exports:{}},Zp;function Ry(){return Zp||(Zp=1,function(t,e){(function(n,r,s){t.exports=r(Lt(),qn())})(Tt,function(n){return n.pad.Iso10126={pad:function(r,s){var c=s*4,p=c-r.sigBytes%c;r.concat(n.lib.WordArray.random(p-1)).concat(n.lib.WordArray.create([p<<24],1))},unpad:function(r){var s=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=s}},n.pad.Iso10126})}(nf)),nf.exports}var rf={exports:{}},Qp;function Fy(){return Qp||(Qp=1,function(t,e){(function(n,r,s){t.exports=r(Lt(),qn())})(Tt,function(n){return n.pad.Iso97971={pad:function(r,s){r.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(r,s)},unpad:function(r){n.pad.ZeroPadding.unpad(r),r.sigBytes--}},n.pad.Iso97971})}(rf)),rf.exports}var of={exports:{}},Jp;function Ny(){return Jp||(Jp=1,function(t,e){(function(n,r,s){t.exports=r(Lt(),qn())})(Tt,function(n){return n.pad.ZeroPadding={pad:function(r,s){var c=s*4;r.clamp(),r.sigBytes+=c-(r.sigBytes%c||c)},unpad:function(r){for(var s=r.words,c=r.sigBytes-1,c=r.sigBytes-1;c>=0;c--)if(s[c>>>2]>>>24-c%4*8&255){r.sigBytes=c+1;break}}},n.pad.ZeroPadding})}(of)),of.exports}var af={exports:{}},ed;function Py(){return ed||(ed=1,function(t,e){(function(n,r,s){t.exports=r(Lt(),qn())})(Tt,function(n){return n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding})}(af)),af.exports}var sf={exports:{}},td;function Iy(){return td||(td=1,function(t,e){(function(n,r,s){t.exports=r(Lt(),qn())})(Tt,function(n){return function(r){var s=n,c=s.lib,p=c.CipherParams,d=s.enc,E=d.Hex,b=s.format;b.Hex={stringify:function(T){return T.ciphertext.toString(E)},parse:function(T){var x=E.parse(T);return p.create({ciphertext:x})}}}(),n.format.Hex})}(sf)),sf.exports}var uf={exports:{}},nd;function By(){return nd||(nd=1,function(t,e){(function(n,r,s){t.exports=r(Lt(),Eo(),xo(),so(),qn())})(Tt,function(n){return function(){var r=n,s=r.lib,c=s.BlockCipher,p=r.algo,d=[],E=[],b=[],T=[],x=[],w=[],F=[],R=[],v=[],h=[];(function(){for(var O=[],k=0;k<256;k++)k<128?O[k]=k<<1:O[k]=k<<1^283;for(var N=0,B=0,k=0;k<256;k++){var H=B^B<<1^B<<2^B<<3^B<<4;H=H>>>8^H&255^99,d[N]=H,E[H]=N;var U=O[N],Y=O[U],P=O[Y],G=O[H]*257^H*16843008;b[N]=G<<24|G>>>8,T[N]=G<<16|G>>>16,x[N]=G<<8|G>>>24,w[N]=G;var G=P*16843009^Y*65537^U*257^N*16843008;F[H]=G<<24|G>>>8,R[H]=G<<16|G>>>16,v[H]=G<<8|G>>>24,h[H]=G,N?(N=U^O[O[O[P^U]]],B^=O[O[B]]):N=B=1}})();var g=[0,1,2,4,8,16,32,64,128,27,54],A=p.AES=c.extend({_doReset:function(){var O;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var k=this._keyPriorReset=this._key,N=k.words,B=k.sigBytes/4,H=this._nRounds=B+6,U=(H+1)*4,Y=this._keySchedule=[],P=0;P<U;P++)P<B?Y[P]=N[P]:(O=Y[P-1],P%B?B>6&&P%B==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[P/B|0]<<24),Y[P]=Y[P-B]^O);for(var G=this._invKeySchedule=[],q=0;q<U;q++){var P=U-q;if(q%4)var O=Y[P];else var O=Y[P-4];q<4||P<=4?G[q]=O:G[q]=F[d[O>>>24]]^R[d[O>>>16&255]]^v[d[O>>>8&255]]^h[d[O&255]]}}},encryptBlock:function(O,k){this._doCryptBlock(O,k,this._keySchedule,b,T,x,w,d)},decryptBlock:function(O,k){var N=O[k+1];O[k+1]=O[k+3],O[k+3]=N,this._doCryptBlock(O,k,this._invKeySchedule,F,R,v,h,E);var N=O[k+1];O[k+1]=O[k+3],O[k+3]=N},_doCryptBlock:function(O,k,N,B,H,U,Y,P){for(var G=this._nRounds,q=O[k]^N[0],ne=O[k+1]^N[1],se=O[k+2]^N[2],re=O[k+3]^N[3],ue=4,ce=1;ce<G;ce++){var Ee=B[q>>>24]^H[ne>>>16&255]^U[se>>>8&255]^Y[re&255]^N[ue++],xe=B[ne>>>24]^H[se>>>16&255]^U[re>>>8&255]^Y[q&255]^N[ue++],_e=B[se>>>24]^H[re>>>16&255]^U[q>>>8&255]^Y[ne&255]^N[ue++],oe=B[re>>>24]^H[q>>>16&255]^U[ne>>>8&255]^Y[se&255]^N[ue++];q=Ee,ne=xe,se=_e,re=oe}var Ee=(P[q>>>24]<<24|P[ne>>>16&255]<<16|P[se>>>8&255]<<8|P[re&255])^N[ue++],xe=(P[ne>>>24]<<24|P[se>>>16&255]<<16|P[re>>>8&255]<<8|P[q&255])^N[ue++],_e=(P[se>>>24]<<24|P[re>>>16&255]<<16|P[q>>>8&255]<<8|P[ne&255])^N[ue++],oe=(P[re>>>24]<<24|P[q>>>16&255]<<16|P[ne>>>8&255]<<8|P[se&255])^N[ue++];O[k]=Ee,O[k+1]=xe,O[k+2]=_e,O[k+3]=oe},keySize:256/32});r.AES=c._createHelper(A)}(),n.AES})}(uf)),uf.exports}var cf={exports:{}},rd;function Ly(){return rd||(rd=1,function(t,e){(function(n,r,s){t.exports=r(Lt(),Eo(),xo(),so(),qn())})(Tt,function(n){return function(){var r=n,s=r.lib,c=s.WordArray,p=s.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=p.extend({_doReset:function(){for(var g=this._key,A=g.words,O=[],k=0;k<56;k++){var N=E[k]-1;O[k]=A[N>>>5]>>>31-N%32&1}for(var B=this._subKeys=[],H=0;H<16;H++){for(var U=B[H]=[],Y=T[H],k=0;k<24;k++)U[k/6|0]|=O[(b[k]-1+Y)%28]<<31-k%6,U[4+(k/6|0)]|=O[28+(b[k+24]-1+Y)%28]<<31-k%6;U[0]=U[0]<<1|U[0]>>>31;for(var k=1;k<7;k++)U[k]=U[k]>>>(k-1)*4+3;U[7]=U[7]<<5|U[7]>>>27}for(var P=this._invSubKeys=[],k=0;k<16;k++)P[k]=B[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 N=O[k],B=this._lBlock,H=this._rBlock,U=0,Y=0;Y<8;Y++)U|=x[Y][((H^N[Y])&w[Y])>>>0];this._lBlock=H,this._rBlock=B^U}var P=this._lBlock;this._lBlock=this._rBlock,this._rBlock=P,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=p._createHelper(F);var h=d.TripleDES=p.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),N=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(N))},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=p._createHelper(h)}(),n.TripleDES})}(cf)),cf.exports}var lf={exports:{}},id;function My(){return id||(id=1,function(t,e){(function(n,r,s){t.exports=r(Lt(),Eo(),xo(),so(),qn())})(Tt,function(n){return function(){var r=n,s=r.lib,c=s.StreamCipher,p=r.algo,d=p.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 h=R%w,g=x[h>>>2]>>>24-h%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=p.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})}(lf)),lf.exports}var ff={exports:{}},od;function Uy(){return od||(od=1,function(t,e){(function(n,r,s){t.exports=r(Lt(),Eo(),xo(),so(),qn())})(Tt,function(n){return function(){var r=n,s=r.lib,c=s.StreamCipher,p=r.algo,d=[],E=[],b=[],T=p.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],h=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++)h[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,N=(O<<8|O>>>24)&16711935|(O<<24|O>>>8)&4278255360,B=k>>>16|N&4294901760,H=N<<16|k&65535;h[0]^=k,h[1]^=B,h[2]^=N,h[3]^=H,h[4]^=k,h[5]^=B,h[6]^=N,h[7]^=H;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],h=v&65535,g=v>>>16,A=((h*h>>>17)+h*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})}(ff)),ff.exports}var hf={exports:{}},ad;function Vy(){return ad||(ad=1,function(t,e){(function(n,r,s){t.exports=r(Lt(),Eo(),xo(),so(),qn())})(Tt,function(n){return function(){var r=n,s=r.lib,c=s.StreamCipher,p=r.algo,d=[],E=[],b=[],T=p.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 h=0;h<4;h++)x.call(this);for(var h=0;h<8;h++)v[h]^=R[h+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,N=(O<<8|O>>>24)&16711935|(O<<24|O>>>8)&4278255360,B=k>>>16|N&4294901760,H=N<<16|k&65535;v[0]^=k,v[1]^=B,v[2]^=N,v[3]^=H,v[4]^=k,v[5]^=B,v[6]^=N,v[7]^=H;for(var h=0;h<4;h++)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],h=v&65535,g=v>>>16,A=((h*h>>>17)+h*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})}(hf)),hf.exports}var pf={exports:{}},sd;function jy(){return sd||(sd=1,function(t,e){(function(n,r,s){t.exports=r(Lt(),Eo(),xo(),so(),qn())})(Tt,function(n){return function(){var r=n,s=r.lib,c=s.BlockCipher,p=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(h,g){let A=g>>24&255,O=g>>16&255,k=g>>8&255,N=g&255,B=h.sbox[0][A]+h.sbox[1][O];return B=B^h.sbox[2][k],B=B+h.sbox[3][N],B}function w(h,g,A){let O=g,k=A,N;for(let B=0;B<d;++B)O=O^h.pbox[B],k=x(h,O)^k,N=O,O=k,k=N;return N=O,O=k,k=N,k=k^h.pbox[d],O=O^h.pbox[d+1],{left:O,right:k}}function F(h,g,A){let O=g,k=A,N;for(let B=d+1;B>1;--B)O=O^h.pbox[B],k=x(h,O)^k,N=O,O=k,k=N;return N=O,O=k,k=N,k=k^h.pbox[1],O=O^h.pbox[0],{left:O,right:k}}function R(h,g,A){for(let H=0;H<4;H++){h.sbox[H]=[];for(let U=0;U<256;U++)h.sbox[H][U]=b[H][U]}let O=0;for(let H=0;H<d+2;H++)h.pbox[H]=E[H]^g[O],O++,O>=A&&(O=0);let k=0,N=0,B=0;for(let H=0;H<d+2;H+=2)B=w(h,k,N),k=B.left,N=B.right,h.pbox[H]=k,h.pbox[H+1]=N;for(let H=0;H<4;H++)for(let U=0;U<256;U+=2)B=w(h,k,N),k=B.left,N=B.right,h.sbox[H][U]=k,h.sbox[H][U+1]=N;return!0}var v=p.Blowfish=c.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var h=this._keyPriorReset=this._key,g=h.words,A=h.sigBytes/4;R(T,g,A)}},encryptBlock:function(h,g){var A=w(T,h[g],h[g+1]);h[g]=A.left,h[g+1]=A.right},decryptBlock:function(h,g){var A=F(T,h[g],h[g+1]);h[g]=A.left,h[g+1]=A.right},blockSize:64/32,keySize:128/32,ivSize:64/32});r.Blowfish=c._createHelper(v)}(),n.Blowfish})}(pf)),pf.exports}(function(t,e){(function(n,r,s){t.exports=r(Lt(),mu(),yy(),gy(),Eo(),vy(),xo(),Np(),Ul(),by(),Lp(),Ey(),xy(),Sy(),Kl(),Ty(),so(),qn(),Ay(),Cy(),Dy(),ky(),Oy(),wy(),Ry(),Fy(),Ny(),Py(),Iy(),By(),Ly(),My(),Uy(),Vy(),jy())})(Tt,function(n){return n})})(Tp);var ud=Tp.exports;class Hy{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");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={}}preParser(e){var r,s;const n=[];for(const c of e){if(!c)return;if(Array.isArray(c)){for(const p of c)if(n.push(this._parserStmt(p)),Dl.includes((s=(r=p.exprs)==null?void 0:r[0])==null?void 0:s.name))return n.join(`;
27
+ `).replace(/;+/g,";")}else n.push(this._parserStmt(c))}return""}parser(e){const n=[];for(const s of e){if(!s)return;if(Array.isArray(s))for(const c of s)n.push(this._parserStmt(c));else n.push(this._parserStmt(s))}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);default:return this._parserSingleExpression(e)}}_parserTypeStatement(e){const n=[],r=[];for(const p of e.fields){const{name:d,value:E}=p;p.isVarip&&r.push(`"${d}"`),n.push(`${d}: ${E?this._parserSingleExpression(E):"undefined"}`)}this._userTypes.push(e.name);let s=e.name;Vn.includes(s)&&(s=`$${s}`);const c=`const ${s} = ${this._prefixNameVar}.getTypeInstance({${n.join(", ")}}, [${r.join()}])`;return this._codesCol[this._blockCount].push({code:c,varNames:[s],depends:[]}),c}_parserVarBlockStmt(e){const{nameList:n,value:r}=e;this._addVarList(n);const s=this._parserDeclareAssignNames(n);this._dependsObj[s]=new Map;const c=this._parserStmt(r,!0),p=`let ${s} = ${c}`,d={code:p,varNames:s.replace(/[\[\]]/g,"").split(", "),depends:this._getDepends(s)};return this._codesCol[this._blockCount].push(d),p}_getDepends(e){const n=[];for(const[r,s]of this._dependsObj[e])(s.scope||0)>this._blockCount||n.push(s);return delete this._dependsObj[e],n}_parserForToStatement(e,n=!1){let{numerical:r,block:s,name:c}=e;const[p,d,E]=r,b=`$forTo${this._blockCount}`;n||(this._dependsObj[b]=new Map);const T=this._parserSingleExpression(p),x=this._parserSingleExpression(d),w=E?this._parserSingleExpression(E):"",F=this._parserBlockLine(s,n);Vn.includes(c)&&(c=`$${c}`);const R=`$start${this._count++}`,v=`const ${R} = Date.now()`,h=`for (let ${c}=${T}; ${c}>=(${x}); ${c}+=(${w||"-1"})){
29
+ ${F}
30
+ if (Date.now() - ${R} > 500) {
31
+ throw new Error('${Ae.loopRuntimeErr}')
32
+ }
33
+ }`,g=`for (let ${c}=${T};${c}<=(${x}); ${c}+=(${w||"1"})){
34
+ ${F}
35
+ if (Date.now() - ${R} > 500) {
36
+ throw new Error('${Ae.loopRuntimeErr}')
37
+ }
38
+ }`;let A="";return(p==null?void 0:p.ruleType)==="Literal"&&(d==null?void 0:d.ruleType)==="Literal"?A=Number(p.value)>Number(d.value)?h:g:A=`if ((${T})>(${x})) {
39
+ ${h}
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:s,array:c}=e,p=this._parserBlockLine(s,n);let d="",[E,b]=r;Vn.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
+ ${p}
45
+ if (Date.now() - ${T} > 500) {
46
+ throw new Error('${Ae.loopRuntimeErr}')
47
+ }
48
+ }`:(Vn.includes(b)&&(b=`$${b}`),d=`for (const [${E},${b}] of (${this._parserSingleExpression(c)})._value.entries()) {
49
+ ${p}
50
+ if (Date.now() - ${T} > 500) {
51
+ throw new Error('${Ae.loopRuntimeErr}')
52
+ }
53
+ }`),d=`${x};
54
+ ${d}`,n?this._functionalProcess(d):d}_parserAgainAssign(e){const{operator:n,name:r,value:s}=e,{varPos:c,declare:p}=r,d=`$againAssign${this._blockCount}`;this._dependsObj[d]=new Map;const E=this._parserName(r,!0);let b="";const T=this._parserStmt(s,!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(p){const h=this._isInFunc?`$posStr + "_${R}"`:`"${R}"`;b=`;
55
+ ${this._prefixNameVar}.setVarValue("${E}", ${h}, ${E}, "${p}")`}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:s,defaultCase:c}=e;let p=`$switch${this._blockCount}`;n||(this._dependsObj[p]=new Map);const d=s.length?this._parserCases(s,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(p)}),n?this._functionalProcess(b):b}_parserCases(e,n=!1){const r=[];for(const s of e)r.push(this._parserCase(s,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:s}=e;return`case ${this._parserSingleExpression(r)}:
63
+ ${this._parserBlock(s,n)}
64
+ break;`}_parserWhileStatement(e,n=!1){const{condition:r,block:s}=e;let c=`$while${this._blockCount}`;n||(this._dependsObj[c]=new Map);const p=`$start${this._count++}`,d=`const ${p} = Date.now()`;let E=`while (${this._parserSingleExpression(r)}) {
65
+ ${this._parserBlockLine(s,n)}
66
+ if (Date.now() - ${p} > 500) {
67
+ throw new Error('${Ae.loopRuntimeErr}')
68
+ }
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:s}=e;let c="",p=`$if${this._blockCount}`;n||(this._dependsObj[p]=new Map);for(const[d,E]of s.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(p)}),n?this._functionalProcess(c):c}_parserBlockLine(e,n=!1,r=!1){const s=[],c=e.length;this._blockCount++,this._codesCol[this._blockCount]=[];let p=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&&(p=T.pop());const x=T.map(w=>this._parserStmt(w)).join(`;
77
+ `);x&&s.push(x)}else b||s.push(this._parserStmt(E))}if(n&&p){const d=this._parserReturnBlock(p,r);s.push(d)}else s.push(this._getMembersCode());return this._varlist[this._blockCount]={},this._memberIndexList[this._blockCount]={},this._codesCol[this._blockCount]=[],this._blockCount--,`${s.join(`;
78
+ `)};`}_parserReturnBlock(e,n=!1){let r="",s="";switch(e.ruleType){case ge.AgainAssign:return r=this._parserAgainAssign(e),s=this._getMembersCode(),n?`${r};
79
+ ${s}
80
+ return ${this._parserName(e.name,!0)}`:`${r};
81
+ ${s}
82
+ $$_result = ${this._parserName(e.name,!0)}`;case ge.DeclareAssign:r=this._parserSingleExpression(e.value),s=this._getMembersCode();break;default:r=this._parserStmt(e,!0),s=this._getMembersCode()}return n?`${s}
83
+
84
+ return ${r}`:`${s}
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],s=e.index?`$${e.index}`:"";e.hasMemberIndex&&r.push({name:`${this._prefixNameVar}_position`}),n=`${n}${s}`,this._currentFuncName=n,this._dependsObj[n]=new Map;const c=this._parserBlock(e.block,!0,!0),p=e.hasRequest?", $paramsExpr":"";let d=`const ${n} = (${this._parserParameters(r)}$posStr${p}) => {
88
+ ${c}
89
+ }`;if(this._userTypes.includes(e.typeName)){let E=e.typeName;Vn.includes(E)&&(E=`$${E}`),d=`${d}
90
+ ${E}.addNewMethod("${e.name}${s}", function (${this._parserParameters(r.slice(1))}$posStr${p}) {
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,params:r}),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 s=e.hasRequest?", $paramsExpr":"",c=`const ${n} = (${this._parserParameters(r)}$posStr${s}) => {
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,params:r}),c}_parserParameters(e){return e.length?`{${e.map(n=>{const{name:r,defaultValue:s}=n;let c=r;if(s){const p=this._parserSingleExpression(s);c=`${c} = ${p}`}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,s]of e.names.entries())n[s]=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 s=this._parserDeclareAssignNames(n);this._addVarList(n);const c={code:"",varNames:s.replace(/[\[\]]/g,"").split(", "),depends:[]};this._dependsObj[s]=new Map;const p=this._parserSingleExpression(r);let d=`let ${s} = ${p}`;if(n.declare){const b=`${n.pos.column}_${n.pos.lineNumber}`,T=this._isInFunc?`$posStr + "_${b}"`:`"${b}"`;d=`let ${s} = ${this._prefixNameVar}.getVarValue("${s}", ${T}, "${n.declare}") || ${this._prefixNameVar}.setVarValue("${s}", ${T}, ${p}, "${n.declare}")`}return c.code=d,c.depends=this._getDepends(s),(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=>Vn.includes(n)?`$${n}`:n).join(", ")}]`;case"VarSingle":return Vn.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,s=this._parserSingleExpression(n[0]),c=this._parserSingleExpression(n[1]);return r==="-"?`${this._prefixNameVar}.sub(${s}, ${c})`:`${this._prefixNameVar}.add(${s}, ${c})`}_parserMemberIndexExpression(e){const{exprs:n,isInFunc:r,ctx:s}=e,c=n[0],p=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,p,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}", ${p}, ${R})`}else if(x.includes(".")){const R=x.split(".")[0],v=w[R];if(v)return this._getUserVarMemberIndexs(v,x,T,p,r)}T--}}const d=s.start.tokenIndex,E=this._parserSingleExpression(c),b=r?`${this._prefixNameVar}_position`:d;return`${this._prefixNameVar}.getCacheData("m${d}_" + ${b}, ${p}, ${E})`}_getUserVarMemberIndexs(e,n,r,s,c){const p=this._memberIndexList[r]||{};let d=`${n}_${e.lineNumber}_${e.column}`;return d=c&&r!==0?`"${d}_" + $posStr`:`"${d}"`,p[d]=`${this._prefixNameVar}.setCacheData(${d}, ${n})`,this._memberIndexList[r]=p,`${this._prefixNameVar}.getCacheData(${d}, ${s}, ${n})`}_parseLiteral(e){return e.type.endsWith(Q.COLOR)?`"${this._colorToRgba(e.value)}"`:e.value}_colorToRgba(e){if(e.startsWith("#")){let n;const r=parseInt(e.substring(1,3),16),s=parseInt(e.substring(3,5),16),c=parseInt(e.substring(5,7),16),p=e.substring(7);return p?n=(255-parseInt(p,16))/255:n=1,`rgba(${Math.round(r)}, ${Math.round(s)}, ${Math.round(c)}, ${n.toFixed(2)})`}return e}_parserName(e,n=!1){const{exprs:r,varScope:s,hasMethod:c,arg:p}=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(Vn.includes(d[0])&&(d[0]=`$${d[0]}`),!c){const E={name:r[0],scope:s||(p==null?void 0:p.varScope)||0,isAgainAssign:n,isArg:p==null?void 0:p.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 s=r.get(n),c={...e};s&&s.isAgainAssign&&(c.isAgainAssign=!0),r.set(n,c)}}_parserMethodExpression(e){const{exprs:n,ctx:r}=e,{column:s,line:c}=r.start,p=`${c}_${s}`,d=this._isInFunc?`$posStr + "__${p}"`:`"${p}"`;return n.map(b=>this._parserMethodElement(b,d)).join(".")}_parserMethodElement(e,n){let r="",s="";const c={...e.args};e.hasMemberIndex&&(s=`${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 p=!1;if(e.isBuiltIn){if(xp.includes(r))r=`${r}.${r}`;else if(r==="max_bars_back"){const{name:b,varPos:T}=c.var||c.params[0];s=`var_name: "${T?`${b}_${T.lineNumber}_${T.column}`:b}"`}r.startsWith(Q.INPUT)?(s=`index: ${this._inputCount}`,this._inputCount++):r.startsWith("request.")&&(p=!0),r=`${this._prefixNameFunc}.${r}`}else{const b=r.split(".");let T=b[0];Vn.includes(T)&&(T=`$${T}`,r=b.join("."))}if(e.selfArg){const b=r.split("."),T=b.length;Object.assign(c,{[e.selfArg.name]:{name:b.slice(0,T-1).join(".")}}),r=b[T-1],r=this._nameMap.get(r)||r,this._setDepend({name:b[0],scope:e.varScope||0})}r=`${r}${e.index?`$${e.index}`:""}`;const[d,E]=this._parserArguments(c,s,n,p,e.hasRequest,r);if(!e.isBuiltIn){const b=r.split(".");if(b.length>1?this._setDepend({name:b[0],scope:e.varScope||0}):this._setDepend({name:r,scope:0,hasRequest:e.hasRequest,isFunc:!0,params:d}),e.funcName){const T=this._nameMap.get(e.funcName)||e.funcName;this._setDepend({name:T,originName:r,scope:0,hasRequest:e.hasRequest,isFunc:!0,params:d})}}return r+E}_parserArguments(e,n,r,s=!1,c=!1,p){const d=e.params||[];delete e.params;const E=[],b=[],T=[],x={};let w=[];for(const R of d){c&&(this._dependsObj[r]=new Map),s&&R.originName==="expression"&&(this._dependsObj[`$arg_${R.originName}${r}`]=new Map);let v=R.ruleType===ge.Brackethesized?this._parserBrackethesized(R):this._parserSingleExpression(R);if(R.originName&&!["arg0, arg1, ...","number0, number1, ..."].includes(R.originName)){R.isSourceType?E.push(`sourceTypeName: "${R.name}"`):R.type===`${Q.SERIES} ${Q.COLOR}`&&T.push(`"${R.originName}"`);const h=this._requestParamsHandle(s,R.originName,r,c,v,p);v=(h==null?void 0:h.code)||v,h!=null&&h.paramsExpr&&w.push(h==null?void 0:h.paramsExpr),E.push(`${R.originName}: ${v}`),x[`${R.originName}`]=`${v}`}else b.push(v)}for(const R of Object.keys(e)){c&&(this._dependsObj[r]=new Map);const v=e[R];let h=v.ruleType===ge.Brackethesized?this._parserBrackethesized(v):this._parserSingleExpression(v);const g=this._requestParamsHandle(s,R,r,c,h,p);h=(g==null?void 0:g.code)||h,g!=null&&g.paramsExpr&&w.push(g==null?void 0:g.paramsExpr),E.push(`${R}: ${h}`),x[`${R}`]=`${h}`,v.type===`${Q.SERIES} ${Q.COLOR}`&&T.push(`"${R}"`)}T.length&&E.push(`seriesColors: [${T.join(",")}]`),s&&this._isInFunc&&E.push("paramsExpr: $paramsExpr"),n&&E.push(n);const F=w.length?`, [${this._isInFunc?"...$paramsExpr, ":""}${w.join(", ")}]`:"";return[x,b.length?`({${E.join(", ")}}, [${b.join(", ")}], ${r}${F})`:E.length?`({${E.join(", ")}}, ${r}${F})`:`(${r}${F})`]}_requestParamsHandle(e,n,r,s,c,p){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:`'${ud.AES.encrypt(JSON.stringify(E),"1234").toString()}'`}}else if(s){const d=this._getDepends(r),E=this._getExpressionContext(d);return E.push({scope:2,varNames:n,methodName:p,depends:d,dependSelf:d.some(b=>b.name===n),code:`${n} = ${c}`}),{paramsExpr:`'${ud.AES.encrypt(JSON.stringify(E),"1234").toString()}'`}}}_getExpressionContext(e){const n=[],r=[];return this._getDependsCode(e,n,r),n}_getDependsCode(e,n,r){var s,c;for(const p of e)if(!p.isArg){const d=this._codesCol[p.scope||0],E=d.find(T=>{var x;return((x=T.varNames)==null?void 0:x.includes(p.name))||T.funcName===p.name});E&&(r.includes(E)||(r.push(E),E.depends.length&&this._getDependsCode(E.depends,n,r),n.push({scope:p.scope||0,code:E.code,depends:E.depends,funcName:E.funcName,varNames:(s=E.varNames)==null?void 0:s.join(", ")})));const b=d.filter(T=>T.depends.some(x=>x.name===p.name&&x.scope===p.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:p.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 $y{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 p of c)n.push(this._parserStmt(p));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);default:return this._parserSingleExpression(e)}}_parserTypeStatement(e){const n=[],r=[];for(const c of e.fields){const{name:p,value:d}=c;c.isVarip&&r.push(`"${p}"`),n.push(`${p}: ${d?this._parserSingleExpression(d):"undefined"}`)}this._userTypes.push(e.name),e.isExport&&this._exportEles.push({key:e.name,name:e.name});let s=e.name;return Vn.includes(s)&&(s=`$${s}`),`const ${s} = ${this._prefixNameVar}.getTypeInstance({${n.join(", ")}}, [${r.join()}])`}_parserVarBlockStmt(e){const{nameList:n,operator:r,name:s,value:c}=e,p=this._parserStmt(c,!0);return s?`${this._parserName(s)} ${r===":="?"=":r} ${p}`:`let ${this._parserDeclareAssignNames(n)} = ${p}`}_parserForToStatement(e,n=!1){let{numerical:r,block:s,name:c}=e;const[p,d,E]=r,b=this._parserBlockLine(s,n),T=this._parserSingleExpression(p),x=this._parserSingleExpression(d),w=E?this._parserSingleExpression(E):"";Vn.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(p==null?void 0:p.ruleType)==="Literal"&&(d==null?void 0:d.ruleType)==="Literal"?v=Number(p.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:s,array:c}=e,p=this._parserBlockLine(s,n);let d="",[E,b]=r;return Vn.includes(E)&&(E=`$${E}`),r.length===1?d=`for (const ${E} of ${this._parserSingleExpression(c)}._value) {
115
+ ${p}
116
+ }`:(Vn.includes(b)&&(b=`$${b}`),d=`for (const [${E},${b}] of (${this._parserSingleExpression(c)})._value.entries()) {
117
+ ${p}
118
+ }`),n?this._functionalProcess(d):d}_parserAgainAssign(e){const{operator:n,name:r,value:s}=e,{varPos:c,declare:p}=r,d=this._parserName(r);let E="";const b=this._parserStmt(s,!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(p){const R=this._isInFunc?`posStr + '_${F}'`:`"export_${this._libTitle}_${F}"`;E=`;
119
+ ${this._prefixNameVar}.setVarValue("${d}", ${R}, ${d}, "${p}")`}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:s,defaultCase:c}=e,p=s.length?this._parserCases(s,n):"",d=c?this._parserDefaultCase(c,n):"",E=`switch (${r===!0?r:this._parserSingleExpression(r)}) {
122
+ ${p}
123
+ ${d}
124
+ }`;return n?this._functionalProcess(E):E}_parserCases(e,n=!1){const r=[];for(const s of e)r.push(this._parserCase(s,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:s}=e;return`case ${this._parserSingleExpression(r)}:
127
+ ${this._parserBlock(s,n)}
128
+ break;`}_parserWhileStatement(e,n=!1){const{condition:r,block:s}=e,c=`while (${this._parserSingleExpression(r)}) {
129
+ ${this._parserBlockLine(s,n)}
130
+ }`;return n?this._functionalProcess(c):c}_parserIfStatement(e,n=!1){const{condition:r,block:s}=e;let c="";for(const[p,d]of s.entries()){const E=this._parserBlockLine(d,n),b=r[p]&&this._parserSingleExpression(r[p]);p===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 s=[],c=e.length;this._blockCount++;let p=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&&(p=T.pop());const x=T.map(w=>this._parserStmt(w)).join(`;
137
+ `);x&&s.push(x)}else b||s.push(this._parserStmt(E))}if(n&&p){const d=this._parserReturnBlock(p,r);s.push(d)}else s.push(this._getMembersCode());return this._varlist[this._blockCount]={},this._memberIndexList[this._blockCount]={},this._blockCount--,`${s.join(`;
138
+ `)};`}_parserReturnBlock(e,n=!1){let r="",s="";switch(e.ruleType){case ge.AgainAssign:return r=this._parserAgainAssign(e),s=this._getMembersCode(),n?`${r};
139
+ ${s}
140
+ return ${this._parserName(e.name)}`:`${r};
141
+ ${s}
142
+ $_result = ${this._parserName(e.name)}`;case ge.DeclareAssign:r=this._parserSingleExpression(e.value),s=this._getMembersCode();break;default:r=this._parserStmt(e,!0),s=this._getMembersCode()}return n?`${s}
143
+
144
+ return ${r}`:`${s}
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 s=[...e.params];e.hasMemberIndex&&s.push({name:`${this._prefixNameVar}_position`});let c=`const ${n} = (${this._parserParameters(s)}posStr) => {
148
+ if (posStr.startsWith('export')) return;
149
+ ${this._parserBlock(e.block,!0,!0)}
150
+ }`;if(this._userTypes.includes(e.typeName)){let p=e.typeName;Vn.includes(p)&&(p=`$${p}`),c=`${c}
151
+ ${p}.addNewMethod("${e.name}${r}", function (${this._parserParameters(s.slice(1))}posStr) {
152
+ if (posStr.startsWith('export')) return;
153
+ const ${s[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 s=[...e.params];e.hasMemberIndex&&s.push({name:`${this._prefixNameVar}_position`});const c=`const ${n} = (${this._parserParameters(s)}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:s}=n;let c=r;if(s){const p=this._parserSingleExpression(s);c=`${c} = ${p}`}return c}).join(", ")}},`:""}_parserBlock(e,n=!1,r=!1){return r&&(this._isInFunc=!0),this._parserBlockLine(Array.isArray(e)?e:[e],n,r)}_parserDeclareAssign(e){const{nameList:n,value:r}=e,s=this._parserDeclareAssignNames(n),c=this._varlist[this._blockCount]||{};if(n.name==="_")return"";if(n.names)for(const[d,E]of n.names.entries())c[E]=n.posList[d];else c[n.name]=n.pos;this._varlist[this._blockCount]=c;const p=this._parserSingleExpression(r);if(n.declare){const d=`${n.pos.column}_${n.pos.lineNumber}`,E=this._isInFunc?`posStr + '_' + '${d}'`:`"export_${this._libTitle}_${d}"`;return`let ${s} = ${this._prefixNameVar}.getVarValue("${s}", ${E}, "${n.declare}") || ${this._prefixNameVar}.setVarValue("${s}", ${E}, ${p}, "${n.declare}")`}return`let ${s} = ${p}`}_parserDeclareAssignNames(e){switch(e==null?void 0:e.ruleType){case"VarMultiple":return`[${e.names.map(n=>Vn.includes(n)?`$${n}`:n).join(", ")}]`;case"VarSingle":return Vn.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,s=this._parserSingleExpression(n[0]),c=this._parserSingleExpression(n[1]);return r==="-"?`${this._prefixNameVar}.sub(${s}, ${c})`:`${this._prefixNameVar}.add(${s}, ${c})`}_parserMemberIndexExpression(e){const{exprs:n,isInFunc:r,ctx:s}=e,c=n[0],p=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,p,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}', ${p}, ${R})`}else if(x.includes(".")){const R=x.split(".")[0],v=w[R];if(v)return this._getUserVarMemberIndexs(v,x,T,p,r)}T--}}const d=s.start.tokenIndex,E=this._parserSingleExpression(c),b=r?`${this._prefixNameVar}_position`:d;return`${this._prefixNameVar}.getCacheData('m${d}_' + ${b}, ${p}, ${E})`}_getUserVarMemberIndexs(e,n,r,s,c){const p=this._memberIndexList[r]||{};let d=`${n}_${e.lineNumber}_${e.column}`;return d=c&&r!==0?`'${d}' + '_' + posStr`:`'${d}'`,p[d]=`${this._prefixNameVar}.setCacheData(${d}, ${n})`,this._memberIndexList[r]=p,`${this._prefixNameVar}.getCacheData(${d}, ${s}, ${n})`}_parseLiteral(e){return e.type.endsWith(Q.COLOR)?`"${this._colorToRgba(e.value)}"`:e.value}_colorToRgba(e){if(e.startsWith("#")){let n;const r=parseInt(e.substring(1,3),16),s=parseInt(e.substring(3,5),16),c=parseInt(e.substring(5,7),16),p=e.substring(7);return p?n=(255-parseInt(p,16))/255:n=1,`rgba(${Math.round(r)}, ${Math.round(s)}, ${Math.round(c)}, ${n.toFixed(2)})`}return e}_parserName(e){const{exprs:n,ctx:r}=e,{column:s,line:c}=(r==null?void 0:r.start)||{},p=this._isInFunc?`${c}_${s}`:`export_${this._libTitle}_${c}_${s}`,d=n.map(E=>typeof E=="string"?E:this._parserMethodElement(E,p));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)):Vn.includes(d[0])&&(d[0]=`$${d[0]}`),d.join(".")}_parserMethodExpression(e){const{exprs:n,ctx:r}=e,{column:s,line:c}=r.start,p=`${c}_${s}`,d=this._isInFunc?`posStr + "_${p}"`:`"export_${this._libTitle}_${p}"`,E=n.map(b=>this._parserMethodElement(b,d));return E.length===1&&[...kl,qo.library].some(b=>E[0].startsWith(`${this._prefixNameFunc}.${b}`))?"":E.join(".")}_parserMethodElement(e,n){let r="",s="";const c={...e.args};if(e.hasMemberIndex&&(s=`${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(xp.includes(r))r=`${r}.${r}`;else if(r==="max_bars_back"){const{name:d,varPos:E}=c.var||c.params[0];s=`var_name: '${E?`${d}_${E.lineNumber}_${E.column}`:d}'`}r.startsWith(Q.INPUT)&&(s=`index: ${this._inputCount}`,this._inputCount++),r=`${this._prefixNameFunc}.${r}`}else{const d=r.split(".");Vn.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 p=this._parserArguments(c,s,n);return r+p}_parserArguments(e,n,r){const s=e.params||[];delete e.params;const c=[],p=[],d=[];for(const E of s){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===`${Q.SERIES} ${Q.COLOR}`&&d.push(`'${E.originName}'`)):p.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===`${Q.SERIES} ${Q.COLOR}`&&d.push(`'${E}'`)}return d.length&&c.push(`seriesColors: [${d.join(",")}]`),n&&c.push(n),p.length?`({${c.join(", ")}}, [${p.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 cd=Symbol("Comlink.proxy"),Gy=Symbol("Comlink.endpoint"),zy=Symbol("Comlink.releaseProxy"),df=Symbol("Comlink.finalizer"),yu=Symbol("Comlink.thrown"),ld=t=>typeof t=="object"&&t!==null||typeof t=="function",Ky={canHandle:t=>ld(t)&&t[cd],serialize(t){const{port1:e,port2:n}=new MessageChannel;return _f(t,e),[n,[n]]},deserialize(t){return t.start(),Yy(t)}},Wy={canHandle:t=>ld(t)&&yu 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}},fd=new Map([["proxy",Ky],["throw",Wy]]);function qy(t,e){for(const n of t)if(e===n||n==="*"||n instanceof RegExp&&n.test(e))return!0;return!1}function _f(t,e=globalThis,n=["*"]){e.addEventListener("message",function r(s){if(!s||!s.data)return;if(!qy(n,s.origin)){console.warn(`Invalid origin '${s.origin}' for comlink proxy`);return}const{id:c,type:p,path:d}=Object.assign({path:[]},s.data),E=(s.data.argumentList||[]).map(So);let b;try{const T=d.slice(0,-1).reduce((w,F)=>w[F],t),x=d.reduce((w,F)=>w[F],t);switch(p){case"GET":b=x;break;case"SET":T[d.slice(-1)[0]]=So(s.data.value),b=!0;break;case"APPLY":b=x.apply(T,E);break;case"CONSTRUCT":{const w=new x(...E);b=tg(w)}break;case"ENDPOINT":{const{port1:w,port2:F}=new MessageChannel;_f(t,F),b=eg(w,[w])}break;case"RELEASE":b=void 0;break;default:return}}catch(T){b={value:T,[yu]:0}}Promise.resolve(b).catch(T=>({value:T,[yu]:0})).then(T=>{const[x,w]=Eu(T);e.postMessage(Object.assign(Object.assign({},x),{id:c}),w),p==="RELEASE"&&(e.removeEventListener("message",r),hd(e),df in t&&typeof t[df]=="function"&&t[df]())}).catch(T=>{const[x,w]=Eu({value:new TypeError("Unserializable return value"),[yu]:0});e.postMessage(Object.assign(Object.assign({},x),{id:c}),w)})}),e.start&&e.start()}function Xy(t){return t.constructor.name==="MessagePort"}function hd(t){Xy(t)&&t.close()}function Yy(t,e){return mf(t,[],e)}function gu(t){if(t)throw new Error("Proxy has been released and is not useable")}function pd(t){return Xo(t,{type:"RELEASE"}).then(()=>{hd(t)})}const vu=new WeakMap,bu="FinalizationRegistry"in globalThis&&new FinalizationRegistry(t=>{const e=(vu.get(t)||0)-1;vu.set(t,e),e===0&&pd(t)});function Zy(t,e){const n=(vu.get(e)||0)+1;vu.set(e,n),bu&&bu.register(t,e,t)}function Qy(t){bu&&bu.unregister(t)}function mf(t,e=[],n=function(){}){let r=!1;const s=new Proxy(n,{get(c,p){if(gu(r),p===zy)return()=>{Qy(s),pd(t),r=!0};if(p==="then"){if(e.length===0)return{then:()=>s};const d=Xo(t,{type:"GET",path:e.map(E=>E.toString())}).then(So);return d.then.bind(d)}return mf(t,[...e,p])},set(c,p,d){gu(r);const[E,b]=Eu(d);return Xo(t,{type:"SET",path:[...e,p].map(T=>T.toString()),value:E},b).then(So)},apply(c,p,d){gu(r);const E=e[e.length-1];if(E===Gy)return Xo(t,{type:"ENDPOINT"}).then(So);if(E==="bind")return mf(t,e.slice(0,-1));const[b,T]=dd(d);return Xo(t,{type:"APPLY",path:e.map(x=>x.toString()),argumentList:b},T).then(So)},construct(c,p){gu(r);const[d,E]=dd(p);return Xo(t,{type:"CONSTRUCT",path:e.map(b=>b.toString()),argumentList:d},E).then(So)}});return Zy(s,t),s}function Jy(t){return Array.prototype.concat.apply([],t)}function dd(t){const e=t.map(Eu);return[e.map(n=>n[0]),Jy(e.map(n=>n[1]))]}const _d=new WeakMap;function eg(t,e){return _d.set(t,e),t}function tg(t){return Object.assign(t,{[cd]:!0})}function Eu(t){for(const[e,n]of fd)if(n.canHandle(t)){const[r,s]=n.serialize(t);return[{type:"HANDLER",name:e,value:r},s]}return[{type:"RAW",value:t},_d.get(t)||[]]}function So(t){switch(t.type){case"HANDLER":return fd.get(t.name).deserialize(t.value);case"RAW":return t.value}}function Xo(t,e,n){return new Promise(r=>{const s=ng();t.addEventListener("message",function c(p){!p.data||!p.data.id||p.data.id!==s||(t.removeEventListener("message",c),r(p.data))}),t.start&&t.start(),t.postMessage(Object.assign({id:s},e),n)})}function ng(){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 yf(t,e){return e.includes(t)}class rg extends Error{constructor(e,n){super(),this.name="DefaultsError",this.message=e,this.defs=n}}function Ei(t,e,n){t===!0?t={}:t!=null&&typeof t=="object"&&(t={...t});const r=t||{};if(n){for(const s in r)if(sr(r,s)&&!sr(e,s))throw new rg("`"+s+"` is not a supported option",e)}for(const s in e)if(sr(e,s))if(!t||!sr(t,s))r[s]=e[s];else if(s==="ecma"){let c=t[s]|0;c>5&&c<2015&&(c+=2009),r[s]=c}else r[s]=t&&sr(t,s)?t[s]:e[s];return r}function Er(){}function Ot(){return!1}function ar(){return!0}function To(){return this}function uo(){return null}var en=function(){function t(n,r,s=!0){const c=[];for(let p=0;p<n.length;++p){let E=n[p].transform(r,s);E instanceof ke?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 Ao(t,e){t.includes(e)||t.push(e)}function xu(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 md(t,e){if(t.length<2)return t.slice();function n(s,c){for(var p=[],d=0,E=0,b=0;d<s.length&&E<c.length;)e(s[d],c[E])<=0?p[b++]=s[d++]:p[b++]=c[E++];return d<s.length&&p.push.apply(p,s.slice(d)),E<c.length&&p.push.apply(p,c.slice(E)),p}function r(s){if(s.length<=1)return s;var c=Math.floor(s.length/2),p=s.slice(0,c),d=s.slice(c);return p=r(p),d=r(d),n(p,d)}return r(t)}function Bt(t){return Array.isArray(t)||(t=t.split(" ")),new Set(t.sort())}function Su(t,e,n){t.has(e)?t.get(e).push(n):t.set(e,[n])}function ig(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 og(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 ag={"\0":"0","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function Tu(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?"":"\\")+ag[e]})}const sg=/^[\\/|\0\s\w^$.[\]()]*$/,yd=t=>sg.test(t),ug="dgimsuyv";function cg(t){const e=new Set(t.split(""));let n="";for(const r of ug)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 gd(t,e){t._annotations&=~e}var Au="",ds=new Map,Cu="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",Du="false null true",_s="enum import super this "+Du+" "+Cu,co="implements interface package private protected public static "+_s,gf="return new delete throw else case yield await";Cu=Bt(Cu),_s=Bt(_s),gf=Bt(gf),Du=Bt(Du),co=Bt(co);var lg=Bt(Yo("+-*&%=<>!?|~^")),fg=/[0-9a-f]/i,vd=/^0x[0-9a-f]+$/i,bd=/^0[0-7]+$/,hg=/^0o[0-7]+$/i,pg=/^0b[01]+$/i,dg=/^\d*\.?\d*(?:e[+-]?\d*(?:\d\.?|\.?\d)\d*)?$/i,_g=/^(0[xob])?[0-9a-f]+n$/i,Ed=Bt(["in","instanceof","typeof","new","void","delete","++","--","+","-","!","~","&","|","^","*","**","/","%",">>","<<",">>>","<",">","<=",">=","==","===","!=","!==","?","=","+=","-=","||=","&&=","??=","/=","*=","**=","%=",">>=","<<=",">>>=","|=","^=","&=","&&","??","||"]),mg=Bt(Yo(`  
168
+ \r \f\v​           \u2028\u2029   \uFEFF`)),vf=Bt(Yo(`
169
+ \r\u2028\u2029`)),yg=Bt(Yo(";]),:")),gg=Bt(Yo("[{(,;:")),vg=Bt(Yo("[]{}(),;:")),ku={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 Ou(t,e){if(wu(t.charCodeAt(e))){if(bf(t.charCodeAt(e+1)))return t.charAt(e)+t.charAt(e+1)}else if(bf(t.charCodeAt(e))&&wu(t.charCodeAt(e-1)))return t.charAt(e-1)+t.charAt(e);return t.charAt(e)}function bg(t,e){return wu(t.charCodeAt(e))?65536+(t.charCodeAt(e)-55296<<10)+t.charCodeAt(e+1)-56320:t.charCodeAt(e)}function Eg(t){for(var e=0,n=0;n<t.length;n++)wu(t.charCodeAt(n))&&bf(t.charCodeAt(n+1))&&(e++,n++);return t.length-e}function xg(t){return t>65535?(t-=65536,String.fromCharCode((t>>10)+55296)+String.fromCharCode(t%1024+56320)):String.fromCharCode(t)}function wu(t){return t>=55296&&t<=56319}function bf(t){return t>=56320&&t<=57343}function xd(t){return t>=48&&t<=57}function Ef(t){return ku.ID_Start.test(t)}function Ru(t){return ku.ID_Continue.test(t)}const Sd=/^[a-z_$][a-z0-9_$]*$/i;function Fu(t){return Sd.test(t)}function Td(t,e){if(Sd.test(t))return!0;if(!e&&/[\ud800-\udfff]/.test(t))return!1;var n=ku.ID_Start.exec(t);return!n||n.index!==0?!1:(t=t.slice(n[0].length),t?(n=ku.ID_Continue.exec(t),!!n&&n[0].length===t.length):!0)}function Ad(t,e=!0){if(!e&&t.includes("e"))return NaN;if(vd.test(t))return parseInt(t.substr(2),16);if(bd.test(t))return parseInt(t.substr(1),8);if(hg.test(t))return parseInt(t.substr(2),8);if(pg.test(t))return parseInt(t.substr(2),2);if(dg.test(t))return parseFloat(t);var n=parseFloat(t);if(n==t)return n}class Cd extends Error{constructor(e,n,r,s,c){super(),this.name="SyntaxError",this.message=e,this.filename=n,this.line=r,this.col=s,this.pos=c}}function Nu(t,e,n,r,s){throw new Cd(t,e,n,r,s)}function dr(t,e,n){return t.type==e&&(n==null||t.value==n)}var xf={};function Sg(t,e,n,r){var s={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 Ou(s.text,s.pos)}function p(){if(!(s.text.charCodeAt(s.pos+1)===46))return!1;const J=s.text.charCodeAt(s.pos+2);return J<48||J>57}function d(X,J){var te=Ou(s.text,s.pos++);if(X&&!te)throw xf;return vf.has(te)?(s.newline_before=s.newline_before||!J,++s.line,s.col=0,te=="\r"&&c()==`
170
+ `&&(++s.pos,te=`
171
+ `)):(te.length>1&&(++s.pos,++s.col),++s.col),te}function E(X){for(;X--;)d()}function b(X){return s.text.substr(s.pos,X.length)==X}function T(){for(var X=s.text,J=s.pos,te=s.text.length;J<te;++J){var ve=X[J];if(vf.has(ve))return J}return-1}function x(X,J){var te=s.text.indexOf(X,s.pos);if(J&&te==-1)throw xf;return te}function w(){s.tokline=s.line,s.tokcol=s.col,s.tokpos=s.pos}var F=!1,R=null;function v(X,J,te){s.regex_allowed=X=="operator"&&!Dd.has(J)||X=="keyword"&&gf.has(J)||X=="punc"&&gg.has(J)||X=="arrow",X=="punc"&&(J=="."||J=="?.")?F=!0:te||(F=!1);const ve=s.tokline,me=s.tokcol,Ze=s.tokpos,Ve=s.newline_before,ht=e;let wt=[],yt=[];te||(wt=s.comments_before,yt=s.comments_before=[]),s.newline_before=!1;const St=new Sf(X,J,ve,me,Ze,Ve,wt,yt,ht);return te||(R=St),St}function h(){for(;mg.has(c());)d()}function g(X){for(var J="",te,ve=0;(te=c())&&X(te,ve++);)J+=d();return J}function A(X){Nu(X,e,s.tokline,s.tokcol,s.tokpos)}function O(X){var J=!1,te=!1,ve=!1,me=X==".",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&&!X;case 43:return te;case(te=!1,46):return!me&&!ve&&!J?me=!0:!1}return yt==="n"?(Ze=!0,!0):fg.test(yt)});if(X&&(ht=X+ht),Au=ht,bd.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=vd.test(yt),Ct=Ad(yt,St);if(!me&&_g.test(ht)&&!isNaN(Ct))return v("big_int",yt);A("Invalid or unexpected token")}var wt=Ad(ht);if(isNaN(wt))A("Invalid syntax: "+ht);else return v("num",wt)}function k(X){return X>="0"&&X<="7"}function N(X,J,te){var ve=d(!0,X);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(H(2,J));case 117:if(c()=="{"){for(d(!0),c()==="}"&&A("Expecting hex-character between {}");c()=="0";)d(!0);var me,Ze=x("}",!0)-s.pos;return(Ze>6||(me=H(Ze,J))>1114111)&&A("Unicode reference out of bounds"),d(!0),xg(me)}return String.fromCharCode(H(4,J));case 10:return"";case 13:if(c()==`
173
+ `)return d(!0,X),""}return k(ve)?(te&&J&&(ve==="0"&&!k(c())||A("Octal escape sequences are not allowed in template strings")),B(ve,J)):ve}function B(X,J){var te=c();return te>="0"&&te<="7"&&(X+=d(!0),X[0]<="3"&&(te=c())>="0"&&te<="7"&&(X+=d(!0))),X==="0"?"\0":(X.length>0&&oe.has_directive("use strict")&&J&&A("Legacy octal escape sequences are not allowed in strict mode"),String.fromCharCode(parseInt(X,8)))}function H(X,J){for(var te=0;X>0;--X){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 U=_e("Unterminated string constant",function(){const X=s.pos;for(var J=d(),te=[];;){var ve=d(!0,!0);if(ve=="\\")ve=N(!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 Au=s.text.slice(X,s.pos),me.quote=J,me}),Y=_e("Unterminated template",function(X){X&&s.template_braces.push(s.brace_counter);var J="",te="",ve,me;for(d(!0,!0);(ve=d(!0,!0))!="`";){if(ve=="\r")c()==`
175
+ `&&++s.pos,ve=`
176
+ `;else if(ve=="$"&&c()=="{")return d(!0,!0),s.brace_counter++,me=v(X?"template_head":"template_substitution",J),ds.set(me,te),me.template_end=!1,me;if(te+=ve,ve=="\\"){var Ze=s.pos,Ve=R&&(R.type==="name"||R.type==="punc"&&(R.value===")"||R.value==="]"));ve=N(!0,!Ve,!0),te+=s.text.substr(Ze,s.pos-Ze)}J+=ve}return s.template_braces.pop(),me=v(X?"template_head":"template_substitution",J),ds.set(me,te),me.template_end=!0,me});function P(X){var J=s.regex_allowed,te=T(),ve;return te==-1?(ve=s.text.substr(s.pos),s.pos=s.text.length):(ve=s.text.substring(s.pos,te),s.pos=te),s.col=s.tokcol+(s.pos-s.tokpos),s.comments_before.push(v(X,ve,!0)),s.regex_allowed=J,oe}var G=_e("Unterminated multiline comment",function(){var X=s.regex_allowed,J=x("*/",!0),te=s.text.substring(s.pos,J).replace(/\r\n|\r|\u2028|\u2029/g,`
177
+ `);return E(Eg(te)+2),s.comments_before.push(v("comment2",te,!0)),s.newline_before=s.newline_before||te.includes(`
178
+ `),s.regex_allowed=X,oe}),q=_e("Unterminated identifier name",function(){var X=[],J,te=!1,ve=function(){return te=!0,d(),c()!=="u"&&A("Expecting UnicodeEscapeSequence -- uXXXX or u{XXXX}"),N(!1,!0)};if((J=c())==="\\")J=ve(),Ef(J)||A("First identifier char is an invalid identifier char");else if(Ef(J))d();else return"";for(X.push(J);(J=c())!=null;){if((J=c())==="\\")J=ve(),Ru(J)||A("Invalid escaped identifier char");else{if(!Ru(J))break;d()}X.push(J)}const me=X.join("");return _s.has(me)&&te&&A("Escaped characters are not allowed in keywords"),me}),ne=_e("Unterminated regular expression",function(X){for(var J=!1,te,ve=!1;te=d(!0);)if(vf.has(te))A("Unexpected line terminator");else if(J)/^[\u0000-\u007F]$/.test(te)?X+="\\"+te:X+=te,J=!1;else if(te=="[")ve=!0,X+=te;else if(te=="]"&&ve)ve=!1,X+=te;else{if(te=="/"&&!ve)break;te=="\\"?J=!0:X+=te}const me=q();return v("regexp","/"+X+"/"+me)});function se(X){function J(te){if(!c())return te;var ve=te+c();return Ed.has(ve)?(d(),J(ve)):te}return v("operator",J(X||d()))}function re(){switch(d(),c()){case"/":return d(),P("comment1");case"*":return d(),G()}return s.regex_allowed?ne(""):se("/")}function ue(){return d(),c()===">"?(d(),v("arrow","=>")):se("=")}function ce(){return d(),xd(c().charCodeAt(0))?O("."):c()==="."?(d(),d(),v("expand","...")):v("punc",".")}function Ee(){var X=q();return F?v("name",X):Du.has(X)?v("atom",X):Cu.has(X)?Ed.has(X)?v("operator",X):v("keyword",X):v("name",X)}function xe(){return d(),v("privatename",q())}function _e(X,J){return function(te){try{return J(te)}catch(ve){if(ve===xf)A(X);else throw ve}}}function oe(X){if(X!=null)return ne(X);for(r&&s.pos==0&&b("#!")&&(w(),E(2),P("comment5"));;){if(h(),w(),n){if(b("<!--")){E(4),P("comment3");continue}if(b("-->")&&s.newline_before){E(3),P("comment4");continue}}var J=c();if(!J)return v("eof");var te=J.charCodeAt(0);switch(te){case 34:case 39:return U();case 46:return ce();case 47:{var ve=re();if(ve===oe)continue;return ve}case 61:return ue();case 63:{if(!p())break;return d(),d(),v("punc","?.")}case 96:return Y(!0);case 123:s.brace_counter++;break;case 125:if(s.brace_counter--,s.template_braces.length>0&&s.template_braces[s.template_braces.length-1]===s.brace_counter)return Y(!1);break}if(xd(te))return O();if(vg.has(J))return v("punc",d());if(lg.has(J))return se();if(te==92||Ef(J))return Ee();if(te==35)return xe();break}A("Unexpected character '"+J+"'")}return oe.next=d,oe.peek=c,oe.context=function(X){return X&&(s=X),s},oe.add_directive=function(X){s.directive_stack[s.directive_stack.length-1].push(X),s.directives[X]===void 0?s.directives[X]=1:s.directives[X]++},oe.push_directives_stack=function(){s.directive_stack.push([])},oe.pop_directives_stack=function(){for(var X=s.directive_stack[s.directive_stack.length-1],J=0;J<X.length;J++)s.directives[X[J]]--;s.directive_stack.pop()},oe.has_directive=function(X){return s.directives[X]>0},oe}var Tg=Bt(["typeof","void","delete","--","++","!","~","-","+"]),Dd=Bt(["--","++"]),Ag=Bt(["=","+=","-=","??=","&&=","||=","/=","*=","**=","%=",">>=","<<=",">>>=","|=","^=","&="]),Cg=Bt(["??=","&&=","||="]),Pr=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"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]],{}),Dg=Bt(["atom","num","big_int","string","regexp","name"]);function ms(t,e){const n=new WeakMap;e=Ei(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"?Sg(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=p();function s(L,K){return dr(r.token,L,K)}function c(){return r.peeked||(r.peeked=r.input())}function p(){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"||s("punc",";")),r.token}function d(){return r.prev}function E(L,K,ee,ae){var he=r.input.context();Nu(L,he.filename,K??he.tokline,ee??he.tokcol,ae??he.tokpos)}function b(L,K){E(K,L.line,L.col)}function T(L){L==null&&(L=r.token),b(L,"Unexpected token: "+L.type+" ("+L.value+")")}function x(L,K){if(s(L,K))return p();b(r.token,"Unexpected token "+r.token.type+" «"+r.token.value+"», expected "+L+" «"+K+"»")}function w(L){return x("punc",L)}function F(L){return L.nlb||!L.comments_before.every(K=>!K.nlb)}function R(){return!e.strict&&(s("eof")||s("punc","}")||F(r.token))}function v(){return r.in_generator===r.in_function}function h(){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(L){s("punc",";")?p():!L&&!R()&&T()}function O(){w("(");var L=dt(!0);return w(")"),L}function k(L){return function(...ee){const ae=r.token,he=L(...ee);return he.start=ae,he.end=d(),he}}function N(){(s("operator","/")||s("operator","/="))&&(r.peeked=null,r.token=r.input(r.token.value.substr(1)))}var B=k(function L(K,ee,ae){switch(N(),r.token.type){case"string":if(r.in_directives){var he=c();!Au.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=U();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 U();case"name":case"privatename":if(s("privatename")&&!r.in_class&&E("Private field must be used in an enclosing class"),r.token.value=="async"&&dr(c(),"keyword","function"))return p(),p(),ee&&E("functions are not allowed as the body of a loop"),re(an,!1,!0,K);if(r.token.value=="import"&&!dr(c(),"punc","(")&&!dr(c(),"punc",".")){p();var at=tn();return A(),at}return dr(c(),"punc",":")?H():U();case"punc":switch(r.token.value){case"{":return new Je({start:r.token,body:ve(),end:d()});case"[":case"(":return U();case";":return r.in_directives=!1,p(),new Ut;default:T()}case"keyword":switch(r.token.value){case"break":return p(),Y(Ir);case"continue":return p(),Y(lo);case"debugger":return p(),A(),new Vi;case"do":p();var Xt=Jn(L);x("keyword","while");var fn=O();return A(!0),new xi({body:Xt,condition:fn});case"while":return p(),new ji({condition:O(),body:Jn(function(){return L(!1,!0)})});case"for":return p(),P();case"class":return p(),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(Qr,K);case"function":return p(),ee&&E("functions are not allowed as the body of a loop"),re(an,!1,!1,K);case"if":return p(),te();case"return":r.in_function==0&&!e.bare_returns&&E("'return' outside of function"),p();var Sn=null;return s("punc",";")?p():R()||(Sn=dt(!0),A()),new hn({value:Sn});case"switch":return p(),new Zn({expression:O(),body:Jn(me)});case"throw":p(),F(r.token)&&E("Illegal newline after 'throw'");var Sn=dt(!0);return A(),new gs({value:Sn});case"try":return p(),Ze();case"var":p();var at=ht();return A(),at;case"let":p();var at=wt();return A(),at;case"const":p();var at=yt();return A(),at;case"with":return r.input.has_directive("use strict")&&E("Strict mode may not include a with statement"),p(),new xr({expression:O(),body:L()});case"export":if(!dr(c(),"punc","(")){p();var at=Ie();return s("punc",";")&&A(),at}}}T()});function H(){var L=yn(vs);L.name==="await"&&h()&&b(r.prev,"await cannot be used as label inside async function"),r.labels.some(ee=>ee.name===L.name)&&E("Label "+L.name+" defined twice"),w(":"),r.labels.push(L);var K=B();return r.labels.pop(),K instanceof qr||L.references.forEach(function(ee){ee instanceof lo&&(ee=ee.label.start,E("Continue label `"+L.name+"` refers to non-IterationStatement.",ee.line,ee.col,ee.pos))}),new nr({body:K,label:L})}function U(L){return new $e({body:(L=dt(!0),A(),L)})}function Y(L){var K=null,ee;R()||(K=yn(Af,!0)),K!=null?(ee=r.labels.find(he=>he.name===K.name),ee||E("Undefined label "+K.name),K.thedef=ee):r.in_loop==0&&E(L.TYPE+" not inside a loop or switch"),A();var ae=new L({label:K});return ee&&ee.references.push(ae),ae}function P(){var L="`for await` invalid in this context",K=r.token;K.type=="name"&&K.value=="await"?(g()||b(K,L),p()):K=!1,w("(");var ee=null;if(s("punc",";"))K&&b(K,L);else{ee=s("keyword","var")?(p(),ht(!0)):s("keyword","let")?(p(),wt(!0)):s("keyword","const")?(p(),yt(!0)):dt(!0,!0);var ae=s("operator","in"),he=s("name","of");if(K&&!he&&b(K,L),ae||he)return ee instanceof pn?ee.definitions.length>1&&b(ee.start,"Only one variable declaration allowed in for..in loop"):yi(ee)||(ee=fr(ee))instanceof qt||b(ee.start,"Invalid left-hand side in for..in loop"),p(),ae?ne(ee):q(ee,!!K)}return G(ee)}function G(L){w(";");var K=s("punc",";")?null:dt(!0);w(";");var ee=s("punc",")")?null:dt(!0);return w(")"),new An({init:L,condition:K,step:ee,body:Jn(function(){return B(!1,!0)})})}function q(L,K){var ee=L instanceof pn?L.definitions[0].name:null,ae=dt(!0);return w(")"),new ko({await:K,init:L,name:ee,object:ae,body:Jn(function(){return B(!1,!0)})})}function ne(L){var K=dt(!0);return w(")"),new Xn({init:L,object:K,body:Jn(function(){return B(!1,!0)})})}var se=function(L,K,ee){F(r.token)&&E("Unexpected newline before arrow (=>)"),x("arrow","=>");var ae=oe(s("punc","{"),!1,ee),he=ae instanceof Array&&ae.length?ae[ae.length-1].end:ae instanceof Array?L:ae.end;return new rn({start:L,end:he,async:ee,argnames:K,body:ae})},re=function(L,K,ee,ae){var he=L===an,Le=s("operator","*");Le&&p();var Be=s("name")?yn(he?ki:fi):null;he&&!Be&&(ae?L=Gt:T()),Be&&L!==Hi&&!(Be instanceof In)&&T(d());var at=[],Xt=oe(!0,Le||K,ee,Be,at);return new L({start:at.start,end:Xt.end,is_generator:Le,async:ee,name:Be,argnames:at,body:Xt})};class ue{constructor(K,ee,ae=!1){this.is_parameter=K,this.duplicates_ok=ae,this.parameters=new Set,this.duplicate=null,this.default_assignment=!1,this.spread=!1,this.strict_mode=!!ee}add_parameter(K){if(this.parameters.has(K.value))this.duplicate===null&&(this.duplicate=K),this.check_strict();else if(this.parameters.add(K.value),this.is_parameter)switch(K.value){case"arguments":case"eval":case"yield":this.strict_mode&&b(K,"Unexpected "+K.value+" identifier as parameter inside strict mode");break;default:_s.has(K.value)&&T()}}mark_default_assignment(K){this.default_assignment===!1&&(this.default_assignment=K)}mark_spread(K){this.spread===!1&&(this.spread=K)}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(L){var K=new ue(!0,r.input.has_directive("use strict"));for(w("(");!s("punc",")");){var ee=Ee(K);if(L.push(ee),s("punc",")")||w(","),ee instanceof gt)break}p()}function Ee(L,K){var ee,ae=!1;return L===void 0&&(L=new ue(!0,r.input.has_directive("use strict"))),s("expand","...")&&(ae=r.token,L.mark_spread(r.token),p()),ee=xe(L,K),s("operator","=")&&ae===!1&&(L.mark_default_assignment(r.token),p(),ee=new Lr({start:ee.start,left:ee,operator:"=",right:dt(!1),end:r.token})),ae!==!1&&(s("punc",")")||T(),ee=new gt({start:ae,expression:ee,end:ae})),L.check_strict(),ee}function xe(L,K){var ee=[],ae=!0,he=!1,Le,Be=r.token;if(L===void 0){const $r=r.input.has_directive("use strict"),Kt=K===Ki;L=new ue(!1,$r,Kt)}if(K=K===void 0?Bn:K,s("punc","[")){for(p();!s("punc","]");){if(ae?ae=!1:w(","),s("expand","...")&&(he=!0,Le=r.token,L.mark_spread(r.token),p()),s("punc"))switch(r.token.value){case",":ee.push(new Mr({start:r.token,end:r.token}));continue;case"]":break;case"[":case"{":ee.push(xe(L,K));break;default:T()}else s("name")?(L.add_parameter(r.token),ee.push(yn(K))):E("Invalid function parameter");s("operator","=")&&he===!1&&(L.mark_default_assignment(r.token),p(),ee[ee.length-1]=new Lr({start:ee[ee.length-1].start,left:ee[ee.length-1],operator:"=",right:dt(!1),end:r.token})),he&&(s("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("]"),L.check_strict(),new qt({start:Be,names:ee,is_array:!0,end:d()})}else if(s("punc","{")){for(p();!s("punc","}");){if(ae?ae=!1:w(","),s("expand","...")&&(he=!0,Le=r.token,L.mark_spread(r.token),p()),s("name")&&(dr(c(),"punc")||dr(c(),"operator"))&&[",","}","="].includes(c().value)){L.add_parameter(r.token);var at=d(),Xt=yn(K);he?ee.push(new gt({start:Le,expression:Xt,end:Xt.end})):ee.push(new on({start:at,key:Xt.name,value:Xt,end:Xt.end}))}else{if(s("punc","}"))continue;var fn=r.token,Sn=Qe();Sn===null?T(d()):d().type==="name"&&!s("punc",":")?ee.push(new on({start:d(),key:Sn,value:new K({start:d(),name:Sn,end:d()}),end:d()})):(w(":"),ee.push(new on({start:fn,quote:fn.quote,key:Sn,value:xe(L,K),end:d()})))}he?s("punc","}")||E("Rest element must be last element"):s("operator","=")&&(L.mark_default_assignment(r.token),p(),ee[ee.length-1].value=new Lr({start:ee[ee.length-1].value.start,left:ee[ee.length-1].value,operator:"=",right:dt(!1),end:r.token}))}return w("}"),L.check_strict(),new qt({start:Be,names:ee,is_array:!1,end:d()})}else{if(s("name"))return L.add_parameter(r.token),yn(K);E("Invalid function parameter")}}function _e(L,K){var ee,ae,he,Le=[];for(w("(");!s("punc",")");)ee&&T(ee),s("expand","...")?(ee=r.token,K&&(ae=r.token),p(),Le.push(new gt({start:d(),expression:dt(),end:r.token}))):Le.push(dt()),s("punc",")")||(w(","),s("punc",")")&&(he=d(),K&&(ae=he)));return w(")"),L&&s("arrow","=>")?ee&&he&&T(he):ae&&T(ae),Le}function oe(L,K,ee,ae,he){var Le=r.in_loop,Be=r.labels,at=r.in_generator,Xt=r.in_async;if(++r.in_function,K&&(r.in_generator=r.in_function),ee&&(r.in_async=r.in_function),he&&ce(he),L&&(r.in_directives=!0),r.in_loop=0,r.labels=[],L){r.input.push_directives_stack();var fn=ve();ae&&ln(ae),he&&he.forEach(ln),r.input.pop_directives_stack()}else var fn=[new hn({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,fn}function X(){return g()||E("Unexpected await expression outside async function",r.prev.line,r.prev.col,r.prev.pos),new Sr({start:d(),end:r.token,expression:jr(!0)})}function J(){v()||E("Unexpected yield expression outside generator function",r.prev.line,r.prev.col,r.prev.pos);var L=r.token,K=!1,ee=!0;return R()||s("punc")&&yg.has(r.token.value)?ee=!1:s("operator","*")&&(K=!0,p()),new Tr({start:L,is_star:K,expression:ee?dt():null,end:d()})}function te(){var L=O(),K=B(!1,!1,!0),ee=null;return s("keyword","else")&&(p(),ee=B(!1,!1,!0)),new Vt({condition:L,body:K,alternative:ee})}function ve(){w("{");for(var L=[];!s("punc","}");)s("eof")&&T(),L.push(B());return p(),L}function me(){w("{");for(var L=[],K=null,ee=null,ae;!s("punc","}");)s("eof")&&T(),s("keyword","case")?(ee&&(ee.end=d()),K=[],ee=new ri({start:(ae=r.token,p(),ae),expression:dt(!0),body:K}),L.push(ee),w(":")):s("keyword","default")?(ee&&(ee.end=d()),K=[],ee=new Oo({start:(ae=r.token,p(),w(":"),ae),body:K}),L.push(ee)):(K||T(),K.push(B()));return ee&&(ee.end=d()),p(),L}function Ze(){var L,K=null,ee=null;if(L=new Lu({start:r.token,body:ve(),end:d()}),s("keyword","catch")){var ae=r.token;if(p(),s("punc","{"))var he=null;else{w("(");var he=Ee(void 0,Jr);w(")")}K=new ii({start:ae,argname:he,body:ve(),end:d()})}if(s("keyword","finally")){var ae=r.token;p(),ee=new Jo({start:ae,body:ve(),end:d()})}return!K&&!ee&&E("Missing catch/finally blocks"),new Ar({body:L,bcatch:K,bfinally:ee})}function Ve(L,K){for(var ee=[],ae;;){var he=K==="var"?Ki:K==="const"?fo:K==="let"?ta:null;if(s("punc","{")||s("punc","[")?ae=new zt({start:r.token,name:xe(void 0,he),value:s("operator","=")?(x("operator","="),dt(!1,L)):null,end:d()}):(ae=new zt({start:r.token,name:yn(he),value:s("operator","=")?(p(),dt(!1,L)):!L&&K==="const"?E("Missing initializer in const declaration"):null,end:d()}),ae.name.name=="import"&&E("Unexpected token: import")),ee.push(ae),!s("punc",","))break;p()}return ee}var ht=function(L){return new Pn({start:d(),definitions:Ve(L,"var"),end:d()})},wt=function(L){return new oi({start:d(),definitions:Ve(L,"let"),end:d()})},yt=function(L){return new ai({start:d(),definitions:Ve(L,"const"),end:d()})},St=function(L){var K=r.token;if(x("operator","new"),s("punc","."))return p(),x("name","target"),nn(new ea({start:K,end:d()}),L);var ee=Oe(!1),ae;s("punc","(")?(p(),ae=pt(")",!0)):ae=[];var he=new cr({start:K,expression:ee,args:ae,end:d()});return Dn(he),nn(he,L)};function Ct(){var L=r.token,K;switch(L.type){case"name":K=ft(De);break;case"num":K=new et({start:L,end:L,value:L.value,raw:Au});break;case"big_int":K=new hi({start:L,end:L,value:L.value});break;case"string":K=new bt({start:L,end:L,value:L.value,quote:L.quote}),Dn(K);break;case"regexp":const[ee,ae,he]=L.value.match(/^\/(.*)\/(\w*)$/);K=new yr({start:L,end:L,value:{source:ae,flags:he}});break;case"atom":switch(L.value){case"false":K=new Xi({start:L,end:L});break;case"true":K=new Cr({start:L,end:L});break;case"null":K=new gr({start:L,end:L});break}break}return p(),K}function le(L,K){var ee=function(ae,he){return he?new Lr({start:ae.start,left:ae,operator:"=",right:he,end:he.end}):ae};if(L instanceof jt)return ee(new qt({start:L.start,end:L.end,is_array:!1,names:L.properties.map(ae=>le(ae))}),K);if(L instanceof on)return L.value=le(L.value),ee(L,K);if(L instanceof Mr)return L;if(L instanceof qt)return L.names=L.names.map(ae=>le(ae)),ee(L,K);if(L instanceof De)return ee(new Bn({name:L.name,start:L.start,end:L.end}),K);if(L instanceof gt)return L.expression=le(L.expression),ee(L,K);if(L instanceof Ft)return ee(new qt({start:L.start,end:L.end,is_array:!0,names:L.elements.map(ae=>le(ae))}),K);if(L instanceof lt)return ee(le(L.left,L.right),K);if(L instanceof Lr)return L.left=le(L.left),L;E("Invalid function parameter",L.start.line,L.start.col)}var Oe=function(L,K){if(s("operator","new"))return St(L);if(s("name","import")&&dr(c(),"punc","."))return rr(L);var ee=r.token,ae,he=s("name","async")&&(ae=c()).value!="["&&ae.type!="arrow"&&Ct();if(s("punc")){switch(r.token.value){case"(":if(he&&!L)break;var Le=_e(K,!he);if(K&&s("arrow","=>"))return se(ee,Le.map(Kt=>le(Kt)),!!he);var Be=he?new He({expression:he,args:Le}):eo(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&&Dn(Be),nn(Be,L);case"[":return nn(Et(),L);case"{":return nn(mn(),L)}he||T()}if(K&&s("name")&&dr(c(),"arrow")){var fn=new Bn({name:r.token.value,start:ee,end:ee});return p(),se(ee,[fn],!!he)}if(s("keyword","function")){p();var Sn=re(Gt,!1,!!he);return Sn.start=ee,Sn.end=d(),nn(Sn,L)}if(he)return nn(he,L);if(s("keyword","class")){p();var $r=Dt(Di);return $r.start=ee,$r.end=d(),nn($r,L)}if(s("template_head"))return nn(be(),L);if(Dg.has(r.token.type))return nn(Ct(),L);T()};function be(){var L=[],K=r.token;for(L.push(new Si({start:r.token,raw:ds.get(r.token),value:r.token.value,end:r.token}));!r.token.template_end;)p(),N(),L.push(dt(!0)),L.push(new Si({start:r.token,raw:ds.get(r.token),value:r.token.value,end:r.token}));return p(),new Yn({start:K,segments:L,end:r.token})}function pt(L,K,ee){for(var ae=!0,he=[];!s("punc",L)&&(ae?ae=!1:w(","),!(K&&s("punc",L)));)s("punc",",")&&ee?he.push(new Mr({start:r.token,end:r.token})):s("expand","...")?(p(),he.push(new gt({start:d(),expression:dt(),end:r.token}))):he.push(dt(!1));return p(),he}var Et=k(function(){return w("["),new Ft({elements:pt("]",!e.strict,!0)})}),Rt=k((L,K)=>re(Hi,L,K)),mn=k(function(){var K=r.token,ee=!0,ae=[];for(w("{");!s("punc","}")&&(ee?ee=!1:w(","),!(!e.strict&&s("punc","}")));){if(K=r.token,K.type=="expand"){p(),ae.push(new gt({start:K,expression:dt(!1),end:d()}));continue}s("privatename")&&E("private fields are not allowed in an object");var he=Qe(),Le;if(s("punc",":"))he===null?T(d()):(p(),Le=dt(!1));else{var Be=Pt(he,K);if(Be){ae.push(Be);continue}Le=new De({start:d(),name:he,end:d()})}s("operator","=")&&(p(),Le=new lt({start:K,left:Le,operator:"=",right:dt(!1),logical:!1,end:d()}));const at=new on({start:K,quote:K.quote,key:he instanceof ke?he:""+he,value:Le,end:d()});ae.push(Dn(at))}return p(),new jt({properties:ae})});function Dt(L,K){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=yn(L===Qr?Mu:Uu)),L===Qr&&!he&&(K?L=Di:T()),r.token.value=="extends"&&(p(),Le=dt(!0)),w("{");const at=r.in_class;for(r.in_class=!0;s("punc",";");)p();for(;!s("punc","}");)for(ee=r.token,ae=Pt(Qe(),ee,!0),ae||T(),Be.push(ae);s("punc",";");)p();return r.in_class=at,r.input.pop_directives_stack(),p(),new L({start:ee,name:he,extends:Le,properties:Be,end:d()})}function Pt(L,K,ee){const ae=(Kt,ei=jn)=>typeof Kt=="string"||typeof Kt=="number"?new ei({start:K,name:""+Kt,end:d()}):(Kt===null&&T(),Kt),he=()=>!s("punc","(")&&!s("punc",",")&&!s("punc","}")&&!s("punc",";")&&!s("operator","=");var Le=!1,Be=!1,at=!1,Xt=!1,fn=null;if(ee&&L==="static"&&he()){const Kt=kt();if(Kt!=null)return Kt;Be=!0,L=Qe()}L==="async"&&he()&&(Le=!0,L=Qe()),d().type==="operator"&&d().value==="*"&&(at=!0,L=Qe()),(L==="get"||L==="set")&&he()&&(fn=L,L=Qe()),d().type==="privatename"&&(Xt=!0);const Sn=d();if(fn!=null)if(Xt){const Kt=fn==="get"?ui:Ti;return Dn(new Kt({start:K,static:Be,key:ae(L),value:Rt(),end:d()}))}else{const Kt=fn==="get"?Zr:ci;return L=ae(L),Dn(new Kt({start:K,static:Be,key:L,quote:L instanceof jn?Sn.quote:void 0,value:Rt(),end:d()}))}if(s("punc","(")){L=ae(L);const Kt=Xt?Ai:Un;var $r=new Kt({start:K,static:Be,is_generator:at,async:Le,key:L,quote:L instanceof jn?Sn.quote:void 0,value:Rt(at,Le),end:d()});return Dn($r)}if(ee){const Kt=ae(L,qi),ei=Kt instanceof qi?Sn.quote:void 0,wr=Xt?Ci:mr;if(s("operator","="))return p(),Dn(new wr({start:K,static:Be,quote:ei,key:Kt,value:dt(!1),end:d()}));if(s("name")||s("privatename")||s("operator","*")||s("punc",";")||s("punc","}"))return Dn(new wr({start:K,static:Be,quote:ei,key:Kt,end:d()}))}}function kt(){if(!s("punc","{"))return null;const L=r.token,K=[];for(p();!s("punc","}");)K.push(B());return p(),new Qn({start:L,body:K,end:d()})}function It(){return s("name","assert")&&!F(r.token)?(p(),mn()):null}function tn(){var L=d(),K,ee;s("name")&&(K=yn(na)),s("punc",",")&&p(),ee=Ue(!0),(ee||K)&&x("name","from");var ae=r.token;ae.type!=="string"&&T(),p();const he=It();return new Br({start:L,imported_name:K,imported_names:ee,module_name:new bt({start:ae,value:ae.value,quote:ae.quote,end:ae}),assert_clause:he,end:r.token})}function rr(L){var K=r.token;return x("name","import"),x("punc","."),x("name","meta"),nn(new Gi({start:K,end:d()}),L)}function z(L){function K(at,Xt){return new at({name:Qe(),quote:Xt||void 0,start:d(),end:d()})}var ee=L?wo:Oi,ae=L?na:Ro,he=r.token,Le,Be;return L?Le=K(ee,he.quote):Be=K(ae,he.quote),s("name","as")?(p(),L?Be=K(ae):Le=K(ee,r.token.quote)):L?Be=new ae(Le):Le=new ee(Be),new si({start:he,foreign_name:Le,name:Be,end:d()})}function Fe(L,K){var ee=L?wo:Oi,ae=L?na:Ro,he=r.token,Le,Be,at=d();return L?Le=K:Be=K,Le=Le||new ae({start:he,name:"*",end:at}),Be=Be||new ee({start:he,name:"*",end:at}),new si({start:he,foreign_name:Be,name:Le,end:at})}function Ue(L){var K;if(s("punc","{")){for(p(),K=[];!s("punc","}");)K.push(z(L)),s("punc",",")&&p();p()}else if(s("operator","*")){var ee;p(),s("name","as")&&(p(),ee=L?yn(na):Vr(Oi)),K=[Fe(L,ee)]}return K}function Ie(){var L=r.token,K,ee;if(s("keyword","default"))K=!0,p();else if(ee=Ue(!1))if(s("name","from")){p();var ae=r.token;ae.type!=="string"&&T(),p();const at=It();return new Rn({start:L,is_default:K,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:L,is_default:K,exported_names:ee,end:d()});var he,Le,Be;return s("punc","{")||K&&(s("keyword","class")||s("keyword","function"))&&dr(c(),"punc")?(Le=dt(!1),A()):(he=B(K))instanceof pn&&K?T(he.start):he instanceof pn||he instanceof an||he instanceof Qr?Be=he:he instanceof Di||he instanceof Gt?Le=he:he instanceof $e?Le=he.body:T(he.start),new Rn({start:L,is_default:K,exported_value:Le,exported_definition:Be,end:d(),assert_clause:null})}function Qe(){var L=r.token;switch(L.type){case"punc":if(L.value==="["){p();var K=dt(!1);return w("]"),K}else T(L);case"operator":if(L.value==="*")return p(),null;["delete","in","instanceof","new","typeof","void"].includes(L.value)||T(L);case"name":case"privatename":case"string":case"num":case"big_int":case"keyword":case"atom":return p(),L.value;default:T(L)}}function $t(){var L=r.token;return L.type!="name"&&L.type!="privatename"&&T(),p(),L.value}function ft(L){var K=r.token.value;return new(K=="this"?Hn:K=="super"?ra:L)({name:String(K),start:r.token,end:r.token})}function ln(L){var K=L.name;v()&&K=="yield"&&b(L.start,"Yield cannot be used as identifier inside generators"),r.input.has_directive("use strict")&&(K=="yield"&&b(L.start,"Unexpected yield identifier inside strict mode"),L instanceof In&&(K=="arguments"||K=="eval")&&b(L.start,"Unexpected "+K+" in strict mode"))}function yn(L,K){if(!s("name"))return K||E("Name expected"),null;var ee=ft(L);return ln(ee),p(),ee}function Vr(L){if(!s("name")){s("string")||E("Name or string expected");var K=r.token,ee=new L({start:K,end:K,name:K.value,quote:K.quote});return p(),ee}var ae=ft(L);return ln(ae),p(),ae}function Dn(L,K=L.start){var ee=K.comments_before;const ae=n.get(K);for(var he=ae??ee.length;--he>=0;){var Le=ee[he];if(/[@#]__/.test(Le.value)){if(/[@#]__PURE__/.test(Le.value)){ps(L,Cf);break}if(/[@#]__INLINE__/.test(Le.value)){ps(L,Df);break}if(/[@#]__NOINLINE__/.test(Le.value)){ps(L,Fo);break}if(/[@#]__KEY__/.test(Le.value)){ps(L,xs);break}if(/[@#]__MANGLE_PROP__/.test(Le.value)){ps(L,Ss);break}}}return L}var nn=function(L,K,ee){var ae=L.start;if(s("punc",".")){p(),s("privatename")&&!r.in_class&&E("Private field must be used in an enclosing class");const Be=s("privatename")?Yr:Qt;return Dn(nn(new Be({start:ae,expression:L,optional:!1,property:$t(),end:d()}),K,ee))}if(s("punc","[")){p();var he=dt(!0);return w("]"),Dn(nn(new Cn({start:ae,expression:L,optional:!1,property:he,end:d()}),K,ee))}if(K&&s("punc","(")){p();var Le=new He({start:ae,expression:L,optional:!1,args:wi(),end:d()});return Dn(Le),nn(Le,!0,ee)}if(s("punc","?.")){p();let Be;if(K&&s("punc","(")){p();const at=new He({start:ae,optional:!0,expression:L,args:wi(),end:d()});Dn(at),Be=nn(at,!0,!0)}else if(s("name")||s("privatename")){s("privatename")&&!r.in_class&&E("Private field must be used in an enclosing class");const at=s("privatename")?Yr:Qt;Be=Dn(nn(new at({start:ae,expression:L,optional:!0,property:$t(),end:d()}),K,!0))}else if(s("punc","[")){p();const at=dt(!0);w("]"),Be=Dn(nn(new Cn({start:ae,expression:L,optional:!0,property:at,end:d()}),K,!0))}return Be||T(),Be instanceof En?Be:new En({start:ae,expression:Be,end:d()})}return s("template_head")?(ee&&T(),nn(new Xr({start:ae,prefix:L,template_string:be(),end:d()}),K)):L};function wi(){for(var L=[];!s("punc",")");)s("expand","...")?(p(),L.push(new gt({start:d(),expression:dt(!1),end:d()}))):L.push(dt(!1)),s("punc",")")||w(",");return p(),L}var jr=function(L,K){var ee=r.token;if(ee.type=="name"&&ee.value=="await"&&g())return p(),X();if(s("operator")&&Tg.has(ee.value)){p(),N();var ae=Ri(qe,ee,jr(L));return ae.start=ee,ae.end=d(),ae}for(var he=Oe(L,K);s("operator")&&Dd.has(r.token.value)&&!F(r.token);)he instanceof rn&&T(),he=Ri(zi,r.token,he),he.start=ee,he.end=r.token,p();return he};function Ri(L,K,ee){var ae=K.value;switch(ae){case"++":case"--":yi(ee)||E("Invalid use of "+ae+" operator",K.line,K.col,K.pos);break;case"delete":ee instanceof De&&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 L({operator:ae,expression:ee})}var ir=function(L,K,ee){var ae=s("operator")?r.token.value:null;ae=="in"&&ee&&(ae=null),ae=="**"&&L instanceof qe&&!dr(L.start,"punc","(")&&L.operator!=="--"&&L.operator!=="++"&&T(L.start);var he=ae!=null?Pr[ae]:null;if(he!=null&&(he>K||ae==="**"&&K===he)){p();var Le=Or(ee,he,!0);return ir(new pe({start:L.start,left:L,operator:ae,right:Le,end:Le.end}),K,ee)}return L};function Or(L,K,ee,ae){if(!L&&K<Pr.in&&s("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});p(),x("operator","in");const Be=new li({start:he,key:Le,value:Or(L,Pr.in,!0),end:d()});return ir(Be,0,L)}else return ir(jr(ee,ae),K,L)}var Ji=function(L){var K=r.token,ee=Or(L,0,!0,!0);if(s("operator","?")){p();var ae=dt(!1);return w(":"),new it({start:K,condition:ee,consequent:ae,alternative:dt(!1,L),end:d()})}return ee};function yi(L){return L instanceof Xe||L instanceof De}function fr(L){if(L instanceof jt)L=new qt({start:L.start,names:L.properties.map(fr),is_array:!1,end:L.end});else if(L instanceof Ft){for(var K=[],ee=0;ee<L.elements.length;ee++)L.elements[ee]instanceof gt&&(ee+1!==L.elements.length&&b(L.elements[ee].start,"Spread must the be last element in destructuring array"),L.elements[ee].expression=fr(L.elements[ee].expression)),K.push(fr(L.elements[ee]));L=new qt({start:L.start,names:K,is_array:!0,end:L.end})}else L instanceof dn?L.value=fr(L.value):L instanceof lt&&(L=new Lr({start:L.start,left:L.left,operator:"=",right:L.right,end:L.end}));return L}var Hr=function(L){N();var K=r.token;if(K.type=="name"&&K.value=="yield"){if(v())return p(),J();r.input.has_directive("use strict")&&b(r.token,"Unexpected yield identifier inside strict mode")}var ee=Ji(L),ae=r.token.value;if(s("operator")&&Ag.has(ae)){if(yi(ee)||(ee=fr(ee))instanceof qt)return p(),new lt({start:K,left:ee,operator:ae,right:Hr(L),logical:Cg.has(ae),end:d()});E("Invalid assignment")}return ee},eo=function(L,K){if(K.length===1)return K[0];if(K.length>1)return new mt({start:L,expressions:K,end:c()});E("Invalid parenthesized expression")},dt=function(L,K){for(var ee=r.token,ae=[];ae.push(Hr(K)),!(!L||!s("punc",","));)p(),L=!0;return eo(ee,ae)};function Jn(L){++r.in_loop;var K=L();return--r.in_loop,K}return e.expression?dt(!0):function(){var K=r.token,ee=[];for(r.input.push_directives_stack(),e.module&&r.input.add_directive("use strict");!s("eof");)ee.push(B());r.input.pop_directives_stack();var ae=d(),he=e.toplevel;return he?(he.body=he.body.concat(ee),he.end=ae):he=new Zt({start:K,body:ee,end:ae}),ds=new Map,he}()}function ye(t,e,n,r,s=ke){e?e=e.split(/\s+/):e=[];var c=e;s&&s.PROPS&&(e=e.concat(s.PROPS));const p=s&&Object.create(s.prototype);if(p&&(n.prototype=p,n.BASE=s),s&&s.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 Pu=(t,e)=>!!(t.flags&e),Iu=(t,e,n)=>{n?t.flags|=e:t.flags&=~e},kd=1,Od=2,wd=4,Rd=8;class Sf{constructor(e,n,r,s,c,p,d,E,b){this.flags=p?1:0,this.type=e,this.value=n,this.line=r,this.col=s,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=p=>n.stylize(p,"special"),s=typeof this.value=="string"&&this.value.includes("`")?"'":"`",c=`${s}${this.value}${s}`;return`${r("[AST_Token")} ${c} at ${this.line}:${this.col}${r("]")}`}get nlb(){return Pu(this,kd)}set nlb(e){Iu(this,kd,e)}get quote(){return Pu(this,wd)?Pu(this,Od)?"'":'"':""}set quote(e){Iu(this,Od,e==="'"),Iu(this,wd,!!e)}get template_end(){return Pu(this,Rd)}set template_end(e){Iu(this,Rd,e)}}var ke=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),Nn=ye("Statement",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class of all statements"}),Vi=ye("Debugger",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Represents a debugger statement"},Nn),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"}},Nn),$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)}},Nn);function Co(t,e){const n=t.body;for(var r=0,s=n.length;r<s;r++)n[r]._walk(e)}function Tf(t){var e=this._clone(t);return this.block_scope&&(e.block_scope=this.block_scope.clone()),e}var Tn=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(){Co(this,t)})},_children_backwards(t){let e=this.body.length;for(;e--;)t(this.body[e])},clone:Tf},Nn),Je=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"},Tn),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)"},Nn),Do=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"}},Nn),nr=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 Mn(function(s){s instanceof ni&&s.label&&s.label.thedef===r&&(s.label.thedef=n,n.references.push(s))}))}return e}},Do),qr=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:Tf},Do),Bu=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"}},qr),xi=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)}},Bu),ji=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)}},Bu),An=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)}},qr),Xn=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)}},qr),ko=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"},Xn),xr=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)}},Do),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}},Tn),Zt=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 en.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 en.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);Co(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 hn&&this.body[0].value},length_property(){let t=0;for(const e of this.argnames)(e instanceof Bn||e instanceof qt)&&t++;return t}},Ye),Hi=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),rn=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),an=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 Ln(this,e=>{if(e instanceof In&&t.push(e),e instanceof ze)return!0}),t}}),Xr=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)}}),Yn=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])}}),Si=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`)"},Nn),_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),hn=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),ni=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),Ir=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"},ni),lo=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"},ni),Sr=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)}}),Tr=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)}},Do),Zn=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),Co(this,t)})},_children_backwards(t){let e=this.body.length;for(;e--;)t(this.body[e]);t(this.expression)}},Tn),$i=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"},Tn),Oo=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"},$i),ri=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),Co(this,t)})},_children_backwards(t){let e=this.body.length;for(;e--;)t(this.body[e]);t(this.expression)}},$i),Ar=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)}},Nn),Lu=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"},Tn),ii=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),Co(this,t)})},_children_backwards(t){let e=this.body.length;for(;e--;)t(this.body[e]);this.argname&&t(this.argname)}},Tn),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"},Tn),pn=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])}},Nn),Pn=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"},pn),oi=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"},pn),ai=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"},pn),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 In?[this]:this.name.all_symbols()}}),si=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)}}),Br=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)}}),Gi=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)}},Nn),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 ?.)"}}),Qt=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),Yr=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),Cn=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),En=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)}}),Jt=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`"},Jt),zi=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++`"},Jt),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),Lr=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])}}),dn=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 ke&&this.key._walk(t),this.value._walk(t)})},_children_backwards(t){t(this.value),this.key instanceof ke&&t(this.key)}}),on=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 ke}},dn),Ti=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}},dn),ui=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}},dn),ci=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 jn)}},dn),Zr=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 jn)}},dn),Un=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 jn)}},dn),Ai=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"},Un),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 Qn){e._walk(t);return}e.computed_key()&&(t.push(e),e.key._walk(t),t.pop()),(e instanceof Ci||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 Un?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 Mn((r,s)=>{if(e)return!0;if(r instanceof Hn)return e=n;if(r instanceof De)return e=r.definition().id===t;if(r instanceof ze&&!(r instanceof rn)){const c=n;return n=!1,s(),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 ke&&this.key._walk(t),this.value instanceof ke&&this.value._walk(t)})},_children_backwards(t){this.value instanceof ke&&t(this.value),this.key instanceof ke&&t(this.key)},computed_key(){return!(this.key instanceof qi)}},dn),Ci=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),li=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)}}),Qr=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),Qn=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(){Co(this,t)})},_children_backwards(t){let e=this.body.length;for(;e--;)t(this.body[e])},clone:Tf,computed_key:()=>!1},Ye),Di=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"}),In=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),Ki=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"},In),Wi=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"},In),fo=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"},Wi),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"},Wi),Bn=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"},Ki),ki=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"},In),jn=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),qi=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),fi=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"},In),Mu=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."},Wi),Uu=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."},In),Jr=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"},Wi),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"},Wi),wo=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),De=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),Ro=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"},De),Oi=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),Af=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),Hn=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"},Hn),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),et=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),hi=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),ho=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},ho),Es=ye("NaN",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The impossible value",value:NaN},ho),sn=ye("Undefined",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `undefined` value",value:function(){}()},ho),Mr=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(){}()},ho),po=ye("Infinity",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `Infinity` value",value:1/0},ho),Vu=ye("Boolean",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for booleans"},ho),Xi=ye("False",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `false` atom",value:!1},Vu),Cr=ye("True",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `true` atom",value:!0},Vu);function Ln(t,e,n=[t]){const r=n.push.bind(n);for(;n.length;){const s=n.pop(),c=e(s,n);if(c){if(c===vr)return!0;continue}s._children_backwards(r)}return!1}function Fd(t,e,n){const r=[t],s=r.push.bind(r),c=n?n.slice():[],p=[];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();p.length&&r.length==p[p.length-1];)c.pop(),p.pop();const b=e(d,E);if(b){if(b===vr)return!0;continue}const T=r.length;d._children_backwards(s),r.length>T&&(c.push(d),p.push(T-1))}return!1}const vr=Symbol("abort walk");class Mn{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)}:Er);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 s=n[r];if(s instanceof e)return s}}find_scope(){for(var e=this.stack,n=e.length;--n>=0;){const r=e[n];if(r instanceof Zt||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 s=0;s<r.body.length;++s){var c=r.body[s];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 s=n[r];if(s instanceof nr&&s.label.name==e.label.name)return s.body}else for(var r=n.length;--r>=0;){var s=n[r];if(s instanceof qr||e instanceof Ir&&s instanceof Zn)return s}}}class br extends Mn{constructor(e,n){super(),this.before=e,this.after=n}}const Cf=1,Df=2,Fo=4,xs=8,Ss=16;function xt(t,e){t.DEFMETHOD("transform",function(n,r){let s;if(n.push(this),n.before&&(s=n.before(this,e,r)),s===void 0&&(s=this,e(s,n),n.after)){const c=n.after(s,r);c!==void 0&&(s=c)}return n.pop(),s})}xt(ke,Er),xt(nr,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(Tn,function(t,e){t.body=en(t.body,e)}),xt(xi,function(t,e){t.body=t.body.transform(e),t.condition=t.condition.transform(e)}),xt(ji,function(t,e){t.condition=t.condition.transform(e),t.body=t.body.transform(e)}),xt(An,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(Xn,function(t,e){t.init=t.init.transform(e),t.object=t.object.transform(e),t.body=t.body.transform(e)}),xt(xr,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(ni,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(Zn,function(t,e){t.expression=t.expression.transform(e),t.body=en(t.body,e)}),xt(ri,function(t,e){t.expression=t.expression.transform(e),t.body=en(t.body,e)}),xt(Ar,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(ii,function(t,e){t.argname&&(t.argname=t.argname.transform(e)),t.body=en(t.body,e)}),xt(pn,function(t,e){t.definitions=en(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=en(t.names,e)}),xt(ze,function(t,e){t.name&&(t.name=t.name.transform(e)),t.argnames=en(t.argnames,e,!1),t.body instanceof ke?t.body=t.body.transform(e):t.body=en(t.body,e)}),xt(He,function(t,e){t.expression=t.expression.transform(e),t.args=en(t.args,e,!1)}),xt(mt,function(t,e){const n=en(t.expressions,e);t.expressions=n.length?n:[new et({value:0})]}),xt(Xe,function(t,e){t.expression=t.expression.transform(e)}),xt(Cn,function(t,e){t.expression=t.expression.transform(e),t.property=t.property.transform(e)}),xt(En,function(t,e){t.expression=t.expression.transform(e)}),xt(Tr,function(t,e){t.expression&&(t.expression=t.expression.transform(e))}),xt(Sr,function(t,e){t.expression=t.expression.transform(e)}),xt(Jt,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(li,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=en(t.elements,e)}),xt(jt,function(t,e){t.properties=en(t.properties,e)}),xt(dn,function(t,e){t.key instanceof ke&&(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=en(t.properties,e)}),xt(Qn,function(t,e){t.body=en(t.body,e)}),xt(gt,function(t,e){t.expression=t.expression.transform(e)}),xt(si,function(t,e){t.foreign_name=t.foreign_name.transform(e),t.name=t.name.transform(e)}),xt(Br,function(t,e){t.imported_name&&(t.imported_name=t.imported_name.transform(e)),t.imported_names&&en(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&&en(t.exported_names,e),t.module_name&&(t.module_name=t.module_name.transform(e))}),xt(Yn,function(t,e){t.segments=en(t.segments,e)}),xt(Xr,function(t,e){t.prefix=t.prefix.transform(e),t.template_string=t.template_string.transform(e)}),function(){var t=function(v){for(var h=0;h<v.length;h++)if(v[h]instanceof Nn&&v[h].body instanceof bt)v[h]=new ur({start:v[h].start,end:v[h].end,value:v[h].body.value});else return v;return v};const e=v=>v&&v.length>0?new jt({start:s(v),end:c(v),properties:v.map(h=>new on({start:s(h),end:c(h),key:h.key.name||h.key.value,value:d(h.value)}))}):null;var n={Program:function(v){return new Zt({start:s(v),end:c(v),body:t(v.body.map(d))})},ArrayPattern:function(v){return new qt({start:s(v),end:c(v),names:v.elements.map(function(h){return h===null?new Mr:d(h)}),is_array:!0})},ObjectPattern:function(v){return new qt({start:s(v),end:c(v),names:v.properties.map(d),is_array:!1})},AssignmentPattern:function(v){return new Lr({start:s(v),end:c(v),left:d(v.left),operator:"=",right:d(v.right)})},SpreadElement:function(v){return new gt({start:s(v),end:c(v),expression:d(v.argument)})},RestElement:function(v){return new gt({start:s(v),end:c(v),expression:d(v.argument)})},TemplateElement:function(v){return new Si({start:s(v),end:c(v),value:v.value.cooked,raw:v.value.raw})},TemplateLiteral:function(v){for(var h=[],g=0;g<v.quasis.length;g++)h.push(d(v.quasis[g])),v.expressions[g]&&h.push(d(v.expressions[g]));return new Yn({start:s(v),end:c(v),segments:h})},TaggedTemplateExpression:function(v){return new Xr({start:s(v),end:c(v),template_string:d(v.quasi),prefix:d(v.tag)})},FunctionDeclaration:function(v){return new an({start:s(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:s(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 h=v.body.type==="BlockStatement"?d(v.body).body:[V(hn,{},{value:d(v.body)})];return new rn({start:s(v),end:c(v),argnames:v.params.map(d),body:h,async:v.async})},ExpressionStatement:function(v){return new $e({start:s(v),end:c(v),body:d(v.expression)})},TryStatement:function(v){var h=v.handlers||[v.handler];if(h.length>1||v.guardedHandlers&&v.guardedHandlers.length)throw new Error("Multiple catch clauses are not supported.");return new Ar({start:s(v),end:c(v),body:new Lu(d(v.block)),bcatch:d(h[0]),bfinally:v.finalizer?new Jo(d(v.finalizer)):null})},Property:function(v){var h=v.key,g={start:s(h||v.value),end:c(v.value),key:h.type=="Identifier"?h.name:h.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 jn({name:g.key}),new Un(g);if(v.kind=="init")return h.type!="Identifier"&&h.type!="Literal"&&(g.key=d(h)),new on(g);if((typeof g.key=="string"||typeof g.key=="number")&&(g.key=new jn({name:g.key})),g.value=new Hi(g.value),v.kind=="get")return new Zr(g);if(v.kind=="set")return new ci(g);if(v.kind=="method")return g.async=v.value.async,g.is_generator=v.value.generator,g.quote=v.computed?'"':null,new Un(g)},MethodDefinition:function(v){const h=v.key.type==="PrivateIdentifier",g=v.computed?d(v.key):new jn({name:v.key.name||v.key.value});var A={start:s(v),end:c(v),key:g,value:d(v.value),static:v.static};return v.kind=="get"?new(h?ui:Zr)(A):v.kind=="set"?new(h?Ti:ci)(A):(A.is_generator=v.value.generator,A.async=v.value.async,new(h?Ai:Un)(A))},FieldDefinition:function(v){let h;if(v.computed)h=d(v.key);else{if(v.key.type!=="Identifier")throw new Error("Non-Identifier key in FieldDefinition");h=d(v.key)}return new mr({start:s(v),end:c(v),key:h,value:d(v.value),static:v.static})},PropertyDefinition:function(v){let h;if(v.computed)h=d(v.key);else{if(v.key.type==="PrivateIdentifier")return new Ci({start:s(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");h=d(v.key)}return new mr({start:s(v),end:c(v),key:h,value:d(v.value),static:v.static})},PrivateIdentifier:function(v){return new bs({start:s(v),end:c(v),name:v.name})},StaticBlock:function(v){return new Qn({start:s(v),end:c(v),body:v.body.map(d)})},ArrayExpression:function(v){return new Ft({start:s(v),end:c(v),elements:v.elements.map(function(h){return h===null?new Mr:d(h)})})},ObjectExpression:function(v){return new jt({start:s(v),end:c(v),properties:v.properties.map(function(h){return h.type==="SpreadElement"||(h.type="Property"),d(h)})})},SequenceExpression:function(v){return new mt({start:s(v),end:c(v),expressions:v.expressions.map(d)})},MemberExpression:function(v){return v.property.type==="PrivateIdentifier"?new Yr({start:s(v),end:c(v),property:v.property.name,expression:d(v.object),optional:v.optional||!1}):new(v.computed?Cn:Qt)({start:s(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 En({start:s(v),end:c(v),expression:d(v.expression)})},SwitchCase:function(v){return new(v.test?ri:Oo)({start:s(v),end:c(v),expression:d(v.test),body:v.consequent.map(d)})},VariableDeclaration:function(v){return new(v.kind==="const"?ai:v.kind==="let"?oi:Pn)({start:s(v),end:c(v),definitions:v.declarations.map(d)})},ImportDeclaration:function(v){var h=null,g=null;return v.specifiers.forEach(function(A){A.type==="ImportSpecifier"||A.type==="ImportNamespaceSpecifier"?(g||(g=[]),g.push(d(A))):A.type==="ImportDefaultSpecifier"&&(h=d(A))}),new Br({start:s(v),end:c(v),imported_name:h,imported_names:g,module_name:d(v.source),assert_clause:e(v.assertions)})},ImportSpecifier:function(v){return new si({start:s(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 si({start:s(v),end:c(v),foreign_name:new wo({name:"*"}),name:d(v.local)})},ExportAllDeclaration:function(v){var h=v.exported==null?new Oi({name:"*"}):d(v.exported);return new Rn({start:s(v),end:c(v),exported_names:[new si({name:new Oi({name:"*"}),foreign_name:h})],module_name:d(v.source),assert_clause:e(v.assertions)})},ExportNamedDeclaration:function(v){return new Rn({start:s(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:s(v),end:c(v),exported_value:d(v.declaration),is_default:!0})},ExportSpecifier:function(v){return new si({foreign_name:d(v.exported),name:d(v.local)})},Literal:function(v){var h=v.value,g={start:s(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||h,N=k.match(/^\/(.*)\/(\w*)$/);if(!N)throw new Error("Invalid regex source "+k);const[B,H,U]=N;return g.value={source:H,flags:U},new yr(g)}if(h===null)return new gr(g);switch(typeof h){case"string":g.quote='"';var O=p[p.length-2];return O.type=="ImportSpecifier"?(g.name=h,new wo(g)):O.type=="ExportSpecifier"?(g.name=h,v==O.exported?new Oi(g):new Ro(g)):O.type=="ExportAllDeclaration"&&v==O.exported?(g.name=h,new Oi(g)):(g.value=h,new bt(g));case"number":return g.value=h,g.raw=v.raw||h.toString(),new et(g);case"boolean":return new(h?Cr:Xi)(g)}},MetaProperty:function(v){if(v.meta.name==="new"&&v.property.name==="target")return new ea({start:s(v),end:c(v)});if(v.meta.name==="import"&&v.property.name==="meta")return new Gi({start:s(v),end:c(v)})},Identifier:function(v){var h=p[p.length-2];return new(h.type=="LabeledStatement"?vs:h.type=="VariableDeclarator"&&h.id===v?h.kind=="const"?fo:h.kind=="let"?ta:Ki:/Import.*Specifier/.test(h.type)?h.local===v?na:wo:h.type=="ExportSpecifier"?h.local===v?Ro:Oi:h.type=="FunctionExpression"?h.id===v?fi:Bn:h.type=="FunctionDeclaration"?h.id===v?ki:Bn:h.type=="ArrowFunctionExpression"?h.params.includes(v)?Bn:De:h.type=="ClassExpression"?h.id===v?Uu:De:h.type=="Property"?h.key===v&&h.computed||h.value===v?De:jn:h.type=="PropertyDefinition"||h.type==="FieldDefinition"?h.key===v&&h.computed||h.value===v?De:qi:h.type=="ClassDeclaration"?h.id===v?Mu:De:h.type=="MethodDefinition"?h.computed?De:jn:h.type=="CatchClause"?Jr:h.type=="BreakStatement"||h.type=="ContinueStatement"?Af:De)({start:s(v),end:c(v),name:v.name})},BigIntLiteral(v){return new hi({start:s(v),end:c(v),value:v.value})},EmptyStatement:function(v){return new Ut({start:s(v),end:c(v)})},BlockStatement:function(v){return new Je({start:s(v),end:c(v),body:v.body.map(d)})},IfStatement:function(v){return new Vt({start:s(v),end:c(v),condition:d(v.test),body:d(v.consequent),alternative:d(v.alternate)})},LabeledStatement:function(v){return new nr({start:s(v),end:c(v),label:d(v.label),body:d(v.body)})},BreakStatement:function(v){return new Ir({start:s(v),end:c(v),label:d(v.label)})},ContinueStatement:function(v){return new lo({start:s(v),end:c(v),label:d(v.label)})},WithStatement:function(v){return new xr({start:s(v),end:c(v),expression:d(v.object),body:d(v.body)})},SwitchStatement:function(v){return new Zn({start:s(v),end:c(v),expression:d(v.discriminant),body:v.cases.map(d)})},ReturnStatement:function(v){return new hn({start:s(v),end:c(v),value:d(v.argument)})},ThrowStatement:function(v){return new gs({start:s(v),end:c(v),value:d(v.argument)})},WhileStatement:function(v){return new ji({start:s(v),end:c(v),condition:d(v.test),body:d(v.body)})},DoWhileStatement:function(v){return new xi({start:s(v),end:c(v),condition:d(v.test),body:d(v.body)})},ForStatement:function(v){return new An({start:s(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 Xn({start:s(v),end:c(v),init:d(v.left),object:d(v.right),body:d(v.body)})},ForOfStatement:function(v){return new ko({start:s(v),end:c(v),init:d(v.left),object:d(v.right),body:d(v.body),await:v.await})},AwaitExpression:function(v){return new Sr({start:s(v),end:c(v),expression:d(v.argument)})},YieldExpression:function(v){return new Tr({start:s(v),end:c(v),expression:d(v.argument),is_star:v.delegate})},DebuggerStatement:function(v){return new Vi({start:s(v),end:c(v)})},VariableDeclarator:function(v){return new zt({start:s(v),end:c(v),name:d(v.id),value:d(v.init)})},CatchClause:function(v){return new ii({start:s(v),end:c(v),argname:d(v.param),body:d(v.body).body})},ThisExpression:function(v){return new Hn({start:s(v),end:c(v)})},Super:function(v){return new ra({start:s(v),end:c(v)})},BinaryExpression:function(v){return v.left.type==="PrivateIdentifier"?new li({start:s(v),end:c(v),key:new bs({start:s(v.left),end:c(v.left),name:v.left.name}),value:d(v.right)}):new pe({start:s(v),end:c(v),operator:v.operator,left:d(v.left),right:d(v.right)})},LogicalExpression:function(v){return new pe({start:s(v),end:c(v),operator:v.operator,left:d(v.left),right:d(v.right)})},AssignmentExpression:function(v){return new lt({start:s(v),end:c(v),operator:v.operator,left:d(v.left),right:d(v.right)})},ConditionalExpression:function(v){return new it({start:s(v),end:c(v),condition:d(v.test),consequent:d(v.consequent),alternative:d(v.alternate)})},NewExpression:function(v){return new cr({start:s(v),end:c(v),expression:d(v.callee),args:v.arguments.map(d)})},CallExpression:function(v){return new He({start:s(v),end:c(v),expression:d(v.callee),optional:v.optional,args:v.arguments.map(d)})}};n.UpdateExpression=n.UnaryExpression=function(h){var g="prefix"in h?h.prefix:h.type=="UnaryExpression";return new(g?qe:zi)({start:s(h),end:c(h),operator:h.operator,expression:d(h.argument)})},n.ClassDeclaration=n.ClassExpression=function(h){return new(h.type==="ClassDeclaration"?Qr:Di)({start:s(h),end:c(h),name:d(h.id),extends:d(h.superClass),properties:h.body.body.map(d)})},b(Ut,function(){return{type:"EmptyStatement"}}),b(Je,function(h){return{type:"BlockStatement",body:h.body.map(x)}}),b(Vt,function(h){return{type:"IfStatement",test:x(h.condition),consequent:x(h.body),alternate:x(h.alternative)}}),b(nr,function(h){return{type:"LabeledStatement",label:x(h.label),body:x(h.body)}}),b(Ir,function(h){return{type:"BreakStatement",label:x(h.label)}}),b(lo,function(h){return{type:"ContinueStatement",label:x(h.label)}}),b(xr,function(h){return{type:"WithStatement",object:x(h.expression),body:x(h.body)}}),b(Zn,function(h){return{type:"SwitchStatement",discriminant:x(h.expression),cases:h.body.map(x)}}),b(hn,function(h){return{type:"ReturnStatement",argument:x(h.value)}}),b(gs,function(h){return{type:"ThrowStatement",argument:x(h.value)}}),b(ji,function(h){return{type:"WhileStatement",test:x(h.condition),body:x(h.body)}}),b(xi,function(h){return{type:"DoWhileStatement",test:x(h.condition),body:x(h.body)}}),b(An,function(h){return{type:"ForStatement",init:x(h.init),test:x(h.condition),update:x(h.step),body:x(h.body)}}),b(Xn,function(h){return{type:"ForInStatement",left:x(h.init),right:x(h.object),body:x(h.body)}}),b(ko,function(h){return{type:"ForOfStatement",left:x(h.init),right:x(h.object),body:x(h.body),await:h.await}}),b(Sr,function(h){return{type:"AwaitExpression",argument:x(h.expression)}}),b(Tr,function(h){return{type:"YieldExpression",argument:x(h.expression),delegate:h.is_star}}),b(Vi,function(){return{type:"DebuggerStatement"}}),b(zt,function(h){return{type:"VariableDeclarator",id:x(h.name),init:x(h.value)}}),b(ii,function(h){return{type:"CatchClause",param:x(h.argname),body:F(h)}}),b(Hn,function(){return{type:"ThisExpression"}}),b(ra,function(){return{type:"Super"}}),b(pe,function(h){return{type:"BinaryExpression",operator:h.operator,left:x(h.left),right:x(h.right)}}),b(pe,function(h){return{type:"LogicalExpression",operator:h.operator,left:x(h.left),right:x(h.right)}}),b(lt,function(h){return{type:"AssignmentExpression",operator:h.operator,left:x(h.left),right:x(h.right)}}),b(it,function(h){return{type:"ConditionalExpression",test:x(h.condition),consequent:x(h.consequent),alternate:x(h.alternative)}}),b(cr,function(h){return{type:"NewExpression",callee:x(h.expression),arguments:h.args.map(x)}}),b(He,function(h){return{type:"CallExpression",callee:x(h.expression),optional:h.optional,arguments:h.args.map(x)}}),b(Zt,function(h){return R("Program",h)}),b(gt,function(h){return{type:w()?"RestElement":"SpreadElement",argument:x(h.expression)}}),b(Xr,function(h){return{type:"TaggedTemplateExpression",tag:x(h.prefix),quasi:x(h.template_string)}}),b(Yn,function(h){for(var g=[],A=[],O=0;O<h.segments.length;O++)O%2!==0?A.push(x(h.segments[O])):g.push({type:"TemplateElement",value:{raw:h.segments[O].raw,cooked:h.segments[O].value},tail:O===h.segments.length-1});return{type:"TemplateLiteral",quasis:g,expressions:A}}),b(an,function(h){return{type:"FunctionDeclaration",id:x(h.name),params:h.argnames.map(x),generator:h.is_generator,async:h.async,body:R("BlockStatement",h)}}),b(Gt,function(h,g){var A=g.is_generator!==void 0?g.is_generator:h.is_generator;return{type:"FunctionExpression",id:x(h.name),params:h.argnames.map(x),generator:A,async:h.async,body:R("BlockStatement",h)}}),b(rn,function(h){var g={type:"BlockStatement",body:h.body.map(x)};return{type:"ArrowFunctionExpression",params:h.argnames.map(x),async:h.async,body:g}}),b(qt,function(h){return h.is_array?{type:"ArrayPattern",elements:h.names.map(x)}:{type:"ObjectPattern",properties:h.names.map(x)}}),b(ur,function(h){return{type:"ExpressionStatement",expression:{type:"Literal",value:h.value,raw:h.print_to_string()},directive:h.value}}),b($e,function(h){return{type:"ExpressionStatement",expression:x(h.body)}}),b($i,function(h){return{type:"SwitchCase",test:x(h.expression),consequent:h.body.map(x)}}),b(Ar,function(h){return{type:"TryStatement",block:F(h.body),handler:x(h.bcatch),guardedHandlers:[],finalizer:x(h.bfinally)}}),b(ii,function(h){return{type:"CatchClause",param:x(h.argname),guard:null,body:F(h)}}),b(pn,function(h){return{type:"VariableDeclaration",kind:h instanceof ai?"const":h instanceof oi?"let":"var",declarations:h.definitions.map(x)}});const r=v=>{const h=[];if(v)for(const{key:g,value:A}of v.properties){const O=Fu(g)?{type:"Identifier",name:g}:{type:"Literal",value:g,raw:JSON.stringify(g)};h.push({type:"ImportAttribute",key:O,value:x(A)})}return h};b(Rn,function(h){if(h.exported_names){var g=h.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(h.module_name),exported:k,assertions:r(h.assert_clause)}}return{type:"ExportNamedDeclaration",specifiers:h.exported_names.map(function(N){return{type:"ExportSpecifier",exported:x(N.foreign_name),local:x(N.name)}}),declaration:x(h.exported_definition),source:x(h.module_name),assertions:r(h.assert_clause)}}return{type:h.is_default?"ExportDefaultDeclaration":"ExportNamedDeclaration",declaration:x(h.exported_value||h.exported_definition)}}),b(Br,function(h){var g=[];if(h.imported_name&&g.push({type:"ImportDefaultSpecifier",local:x(h.imported_name)}),h.imported_names){var A=h.imported_names[0].foreign_name;A.name==="*"&&!A.quote?g.push({type:"ImportNamespaceSpecifier",local:x(h.imported_names[0].name)}):h.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(h.module_name),assertions:r(h.assert_clause)}}),b(Gi,function(){return{type:"MetaProperty",meta:{type:"Identifier",name:"import"},property:{type:"Identifier",name:"meta"}}}),b(mt,function(h){return{type:"SequenceExpression",expressions:h.expressions.map(x)}}),b(Yr,function(h){return{type:"MemberExpression",object:x(h.expression),computed:!1,property:{type:"PrivateIdentifier",name:h.property},optional:h.optional}}),b(Xe,function(h){var g=h instanceof Cn;return{type:"MemberExpression",object:x(h.expression),computed:g,property:g?x(h.property):{type:"Identifier",name:h.property},optional:h.optional}}),b(En,function(h){return{type:"ChainExpression",expression:x(h.expression)}}),b(Jt,function(h){return{type:h.operator=="++"||h.operator=="--"?"UpdateExpression":"UnaryExpression",operator:h.operator,prefix:h instanceof qe,argument:x(h.expression)}}),b(pe,function(h){return h.operator=="="&&w()?{type:"AssignmentPattern",left:x(h.left),right:x(h.right)}:{type:h.operator=="&&"||h.operator=="||"||h.operator==="??"?"LogicalExpression":"BinaryExpression",left:x(h.left),operator:h.operator,right:x(h.right)}}),b(li,function(h){return{type:"BinaryExpression",left:{type:"PrivateIdentifier",name:h.key.name},operator:"in",right:x(h.value)}}),b(Ft,function(h){return{type:"ArrayExpression",elements:h.elements.map(x)}}),b(jt,function(h){return{type:"ObjectExpression",properties:h.properties.map(x)}}),b(dn,function(h,g){var A=h.key instanceof ke?x(h.key):{type:"Identifier",value:h.key};typeof h.key=="number"&&(A={type:"Literal",value:Number(h.key)}),typeof h.key=="string"&&(A={type:"Identifier",name:h.key});var O,k=typeof h.key=="string"||typeof h.key=="number",N=k?!1:!(h.key instanceof vt)||h.key instanceof De;return h instanceof on?(O="init",N=!k):h instanceof Zr?O="get":h instanceof ci&&(O="set"),h instanceof ui||h instanceof Ti?{type:"MethodDefinition",computed:!1,kind:h instanceof ui?"get":"set",static:h.static,key:{type:"PrivateIdentifier",name:h.key.name},value:x(h.value)}:h instanceof Ci?{type:"PropertyDefinition",key:{type:"PrivateIdentifier",name:h.key.name},value:x(h.value),computed:!1,static:h.static}:h instanceof mr?{type:"PropertyDefinition",key:A,value:x(h.value),computed:N,static:h.static}:g instanceof At?{type:"MethodDefinition",computed:N,kind:O,static:h.static,key:x(h.key),value:x(h.value)}:{type:"Property",computed:N,kind:O,key:A,value:x(h.value)}}),b(Un,function(h,g){if(g instanceof jt)return{type:"Property",computed:!(h.key instanceof vt)||h.key instanceof De,kind:"init",method:!0,shorthand:!1,key:x(h.key),value:x(h.value)};const A=h instanceof Ai?{type:"PrivateIdentifier",name:h.key.name}:x(h.key);return{type:"MethodDefinition",kind:h.key==="constructor"?"constructor":"method",key:A,value:x(h.value),computed:!(h.key instanceof vt)||h.key instanceof De,static:h.static}}),b(At,function(h){var g=h instanceof Di?"ClassExpression":"ClassDeclaration";return{type:g,superClass:x(h.extends),id:h.name?x(h.name):null,body:{type:"ClassBody",body:h.properties.map(x)}}}),b(Qn,function(h){return{type:"StaticBlock",body:h.body.map(x)}}),b(ea,function(){return{type:"MetaProperty",meta:{type:"Identifier",name:"new"},property:{type:"Identifier",name:"target"}}}),b(vt,function(h,g){if(h instanceof jn&&g.quote||(h instanceof wo||h instanceof Oi||h instanceof Ro)&&h.quote)return{type:"Literal",value:h.name};var A=h.definition();return{type:"Identifier",name:A?A.mangled_name||A.name:h.name}}),b(yr,function(h){const g=h.value.source,A=h.value.flags;return{type:"Literal",value:null,raw:h.print_to_string(),regex:{pattern:g,flags:A}}}),b(Nt,function(h){var g=h.value;return{type:"Literal",value:g,raw:h.raw||h.print_to_string()}}),b(ho,function(h){return{type:"Identifier",name:String(h.value)}}),b(hi,v=>({type:"BigIntLiteral",value:v.value})),Vu.DEFMETHOD("to_mozilla_ast",Nt.prototype.to_mozilla_ast),gr.DEFMETHOD("to_mozilla_ast",Nt.prototype.to_mozilla_ast),Mr.DEFMETHOD("to_mozilla_ast",function(){return null}),Tn.DEFMETHOD("to_mozilla_ast",Je.prototype.to_mozilla_ast),ze.DEFMETHOD("to_mozilla_ast",Gt.prototype.to_mozilla_ast);function s(v){var h=v.loc,g=h&&h.start,A=v.range;return new Sf("","",g&&g.line||0,g&&g.column||0,A?A[0]:v.start,!1,[],[],h&&h.source)}function c(v){var h=v.loc,g=h&&h.end,A=v.range;return new Sf("","",g&&g.line||0,g&&g.column||0,A?A[0]:v.end,!1,[],[],h&&h.source)}var p=null;function d(v){p.push(v);var h=v!=null?n[v.type](v):null;return p.pop(),h}ke.from_mozilla_ast=function(v){var h=p;p=[];var g=d(v);return p=h,g};function E(v,h){var g=v.start,A=v.end;return g&&A&&(g.pos!=null&&A.endpos!=null&&(h.range=[g.pos,A.endpos]),g.line&&(h.loc={start:{line:g.line,column:g.col},end:A.endline?{line:A.endline,column:A.endcol}:null},g.file&&(h.loc.source=g.file))),h}function b(v,h){v.DEFMETHOD("to_mozilla_ast",function(g){return E(this,h(this,g))})}var T=null;function x(v){T===null&&(T=[]),T.push(v);var h=v!=null?v.to_mozilla_ast(T[T.length-2]):null;return T.pop(),T.length===0&&(T=null),h}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,h){var g=h.body.map(x);return h.body[0]instanceof $e&&h.body[0].body instanceof bt&&g.unshift(x(new Ut(h.body[0]))),{type:v,body:g}}}();function pi(t){let e=t.parent(-1);for(let n=0,r;r=t.parent(n);n++){if(r instanceof Nn&&r.body===e)return!0;if(r instanceof mt&&r.expressions[0]===e||r.TYPE==="Call"&&r.expression===e||r instanceof Xr&&r.prefix===e||r instanceof Qt&&r.expression===e||r instanceof Cn&&r.expression===e||r instanceof En&&r.expression===e||r instanceof it&&r.condition===e||r instanceof pe&&r.left===e||r instanceof zi&&r.expression===e)e=r;else return!1}}function Yi(t){return t instanceof jt?!0:t instanceof mt?Yi(t.expressions[0]):t.TYPE==="Call"?Yi(t.expression):t instanceof Xr?Yi(t.prefix):t instanceof Qt||t instanceof Cn||t instanceof En?Yi(t.expression):t instanceof it?Yi(t.condition):t instanceof pe?Yi(t.left):t instanceof zi?Yi(t.expression):!1}const Nd=10,Pd=32,Id=/[@#]__(PURE|INLINE|NOINLINE)__/;function kg(t){return(t.type==="comment2"||t.type==="comment1")&&/@preserve|@copyright|@lic|@cc_on|^\**!/i.test(t.value)}const Og=8*1e3;class wg{constructor(){this.committed="",this.current=""}append(e){this.current.length>Og?(this.committed+=this.current+e,this.current=""):this.current+=e}insertAt(e,n){const{committed:r,current:s}=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+=s.slice(0,n)+e,this.current=s.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==Pd||e==Nd););return!e||e===59||e===123}hasNLB(){let e=this.length()-1;for(;e>=0;){const n=this.charCodeAt(e--);if(n===Nd)return!0;if(n!==Pd)return!1}return!0}toString(){return this.committed+this.current}}function kf(t){var e=!t;t=Ei(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(Oe){return Oe.type!="comment5"&&le.test(Oe.value)}:typeof le=="function"?n=function(Oe){return Oe.type!="comment5"&&le(this,Oe)}:le==="some"?n=kg:n=ar}if(t.preserve_annotations){let le=n;n=function(Oe){return Id.test(Oe.value)||le.apply(this,arguments)}}var s=0,c=0,p=1,d=0,E=new wg;let b=new Set;var T=t.ascii_only?function(le,Oe=!1,be=!1){return t.ecma>=2015&&!t.safari10&&!be&&(le=le.replace(/[\ud800-\udbff][\udc00-\udfff]/g,function(pt){var Et=bg(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&&!Oe){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(Oe,be){return be?"\\u"+be.charCodeAt(0).toString(16):Oe})};function x(le,Oe){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(Ou(le,Pt+1))?"\\x00":"\\0"}return Dt});function Et(){return"'"+le.replace(/\x27/g,"\\'")+"'"}function Rt(){return'"'+le.replace(/\x22/g,'\\"')+'"'}function mn(){return"`"+le.replace(/`/g,"\\`")+"`"}if(le=T(le),Oe==="`")return mn();switch(t.quote_style){case 1:return Et();case 2:return Rt();case 3:return Oe=="'"?Et():Rt();default:return be>pt?Et():Rt()}}function w(le,Oe){var be=x(le,Oe);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+s-le*t.indent_level)}var v=!1,h=!1,g=!1,A=0,O=!1,k=!1,N=-1,B="",H,U,Y=t.source_map&&[],P=Y?function(){Y.forEach(function(le){try{let{name:Oe,token:be}=le;Oe!==!1&&(be.type=="name"||be.type==="privatename"?Oe=be.value:Oe instanceof vt&&(Oe=be.type==="string"?be.value:Oe.name)),t.source_map.add(le.token.file,le.line,le.col,le.token.line,le.token.col,Fu(Oe)?Oe:void 0)}catch{}}),Y=[]}:Er,G=t.max_line_len?function(){if(c>t.max_line_len&&A){E.insertAt(`
180
+ `,A);const Oe=E.length()-A-1;if(Y){var le=Oe-c;Y.forEach(function(be){be.line++,be.col+=le})}p++,d++,c=Oe}A&&(A=0,P())}:Er,q=Bt("( [ + * / - , . `");function ne(le){le=String(le);var Oe=Ou(le,0);O&&Oe&&(O=!1,Oe!==`
181
+ `&&(ne(`
182
+ `),ue())),k&&Oe&&(k=!1,/[\s;})]/.test(Oe)||re()),N=-1;var be=B.charAt(B.length-1);g&&(g=!1,(be===":"&&Oe==="}"||(!Oe||!";}".includes(Oe))&&be!==";")&&(t.semicolons||q.has(Oe)?(E.append(";"),c++,d++):(G(),c>0&&(E.append(`
183
+ `),d++,p++,c=0),/^\s+$/.test(le)&&(g=!0)),t.beautify||(h=!1))),h&&((Ru(be)&&(Ru(Oe)||Oe=="\\")||Oe=="/"&&Oe==be||(Oe=="+"||Oe=="-")&&Oe==B)&&(E.append(" "),c++,d++),h=!1),H&&(Y.push({token:H,name:U,line:p,col:c}),H=!1,A||P()),E.append(le),v=le[le.length-1]=="(",d+=le.length;var pt=le.split(/\r?\n/),Et=pt.length-1;p+=Et,c+=pt[0].length,Et>0&&(G(),c=pt[Et].length),B=le}var se=function(){ne("*")},re=t.beautify?function(){ne(" ")}:function(){h=!0},ue=t.beautify?function(le){t.beautify&&ne(R(le?.5:0))}:Er,ce=t.beautify?function(le,Oe){le===!0&&(le=oe());var be=s;s=le;var pt=Oe();return s=be,pt}:function(le,Oe){return Oe()},Ee=t.beautify?function(){if(N<0)return ne(`
184
+ `);E.charAt(N)!=`
185
+ `&&(E.insertAt(`
186
+ `,N),d++,p++),N++}:t.max_line_len?function(){G(),A=E.length()}:Er,xe=t.beautify?function(){ne(";")}:function(){g=!0};function _e(){g=!1,ne(";")}function oe(){return s+t.indent_level}function X(le){var Oe;return ne("{"),Ee(),ce(oe(),function(){Oe=le()}),ue(),ne("}"),Oe}function J(le){ne("(");var Oe=le();return ne(")"),Oe}function te(le){ne("[");var Oe=le();return ne("]"),Oe}function ve(){ne(","),re()}function me(){ne(":"),re()}var Ze=Y?function(le,Oe){H=le,U=Oe}:Er;function Ve(){return A&&G(),E.toString()}function ht(le){return t.preserve_annotations||(le=le.replace(Id," ")),/^\s*$/.test(le)?"":le.replace(/(<\s*\/\s*)(script)/i,"<\\/$2")}function wt(le){var Oe=this,be=le.start;if(!be)return;var pt=Oe.printed_comments;const Et=le instanceof _r&&le.value||(le instanceof Sr||le instanceof Tr)&&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 mn=new Mn(function(kt){var It=mn.parent();if(It instanceof _r||It instanceof Sr||It instanceof Tr||It instanceof pe&&It.left===kt||It.TYPE=="Call"&&It.expression===kt||It instanceof it&&It.condition===kt||It instanceof Qt&&It.expression===kt||It instanceof mt&&It.expressions[0]===kt||It instanceof Cn&&It.expression===kt||It instanceof zi){if(!kt.start)return;var tn=kt.start.comments_before;tn&&!pt.has(tn)&&(pt.add(tn),Rt=Rt.concat(tn))}else return!0});mn.push(le),Et.walk(mn)}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 tn=ht(kt.value);tn&&(ne("//"+tn+`
190
+ `),ue()),Pt=!0}else if(kt.type=="comment2"){var tn=ht(kt.value);tn&&ne("/*"+tn+"*/"),Pt=!1}}),Pt||(be.nlb?(ne(`
191
+ `),ue()):re())}}function yt(le,Oe){var be=this,pt=le.end;if(pt){var Et=be.printed_comments,Rt=pt[Oe?"comments_before":"comments_after"];if(!(!Rt||Et.has(Rt))&&(le instanceof Nn||Rt.every(Dt=>!/comment[134]/.test(Dt.type)))){Et.add(Rt);var mn=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||!Oe)&&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()>mn&&(N=mn)}}}const St=t._destroy_ast?function(Oe){Oe.body.length=0,Oe.argnames.length=0}:Er;var Ct=[];return{get:Ve,toString:Ve,indent:ue,in_directive:!1,use_asm:null,active_scope:null,indentation:function(){return s},current_width:function(){return c-s},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 B},semicolon:xe,force_semicolon:_e,to_utf8:T,print_name:function(le){ne(F(le))},print_string:function(le,Oe,be){var pt=w(le,Oe);be===!0&&!pt.includes("\\")&&(E.expectDirective()||_e(),_e()),ne(pt)},print_template_string_chars:function(le){var Oe=w(le,"`").replace(/\${/g,"\\${");return ne(Oe.substr(1,Oe.length-2))},encode_string:w,next_indent:oe,with_indent:ce,with_block:X,with_parens:J,with_square:te,add_mapping:Ze,option:function(le){return t[le]},gc_scope:St,printed_comments:b,prepend_comments:e?Er:wt,append_comments:e||n===Ot?Er:yt,line:function(){return p},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(h,g){h.DEFMETHOD("_codegen",g)}ke.DEFMETHOD("print",function(h,g){var A=this,O=A._codegen;A instanceof Ye?h.active_scope=A:!h.use_asm&&A instanceof ur&&A.value=="use asm"&&(h.use_asm=h.active_scope);function k(){h.prepend_comments(A),A.add_source_map(h),O(A,h),h.append_comments(A)}h.push_node(A),g||A.needs_parens(h)?h.with_parens(k):k(),h.pop_node(),A===h.use_asm&&(h.use_asm=null)}),ke.DEFMETHOD("_print",ke.prototype.print),ke.DEFMETHOD("print_to_string",function(h){var g=kf(h);return this.print(g),g.get()});function e(h,g){Array.isArray(h)?h.forEach(function(A){e(A,g)}):h.DEFMETHOD("needs_parens",g)}e(ke,Ot),e(Gt,function(h){if(!h.has_parens()&&pi(h))return!0;if(h.option("webkit")){var g=h.parent();if(g instanceof Xe&&g.expression===this)return!0}if(h.option("wrap_iife")){var g=h.parent();if(g instanceof He&&g.expression===this)return!0}if(h.option("wrap_func_args")){var g=h.parent();if(g instanceof He&&g.args.includes(this))return!0}return!1}),e(rn,function(h){var g=h.parent();return h.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(h){return!h.has_parens()&&pi(h)}),e(Di,pi),e(Jt,function(h){var g=h.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(Sr,function(h){var g=h.parent();return g instanceof Xe&&g.expression===this||g instanceof He&&g.expression===this||g instanceof pe&&g.operator==="**"&&g.left===this||h.option("safari10")&&g instanceof qe}),e(mt,function(h){var g=h.parent();return g instanceof He||g instanceof Jt||g instanceof pe||g instanceof zt||g instanceof Xe||g instanceof Ft||g instanceof dn||g instanceof it||g instanceof rn||g instanceof Lr||g instanceof gt||g instanceof ko&&this===g.object||g instanceof Tr||g instanceof Rn}),e(pe,function(h){var g=h.parent();if(g instanceof He&&g.expression===this||g instanceof Jt||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=Pr[A],N=Pr[O];if(k>N||k==N&&(this===g.right||A=="**"))return!0}if(g instanceof li){const A=this.operator,O=Pr.in,k=Pr[A];if(O>k||O==k&&this===g.value)return!0}}),e(li,function(h){var g=h.parent();if(g instanceof He&&g.expression===this||g instanceof Jt||g instanceof Xe&&g.expression===this)return!0;if(g instanceof pe){const A=g.operator,O=Pr[A],k=Pr.in;if(O>k||O==k&&(this===g.right||A=="**"))return!0}if(g instanceof li&&this===g.value)return!0}),e(Tr,function(h){var g=h.parent();if(g instanceof pe&&g.operator!=="="||g instanceof He&&g.expression===this||g instanceof it&&g.condition===this||g instanceof Jt||g instanceof Xe&&g.expression===this)return!0}),e(En,function(h){var g=h.parent();return g instanceof He||g instanceof Xe?g.expression===this:!1}),e(Xe,function(h){var g=h.parent();if(g instanceof cr&&g.expression===this)return Ln(this,A=>{if(A instanceof Ye)return!0;if(A instanceof He)return vr})}),e(He,function(h){var g=h.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=h.parent(1))instanceof lt&&A.left===g}),e(cr,function(h){var g=h.parent();if(this.args.length===0&&(g instanceof Xe||g instanceof He&&g.expression===this||g instanceof Xr&&g.prefix===this))return!0}),e(et,function(h){var g=h.parent();if(g instanceof Xe&&g.expression===this){var A=this.getValue();if(A<0||/^0/.test(F(A)))return!0}}),e(hi,function(h){var g=h.parent();if(g instanceof Xe&&g.expression===this){var A=this.getValue();if(A.startsWith("-"))return!0}}),e([lt,it],function(h){var g=h.parent();if(g instanceof Jt||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(h,g){g.print_string(h.value,h.quote),g.semicolon()}),t(gt,function(h,g){g.print("..."),h.expression.print(g)}),t(qt,function(h,g){g.print(h.is_array?"[":"{");var A=h.names.length;h.names.forEach(function(O,k){k>0&&g.comma(),O.print(g),k==A-1&&O instanceof Mr&&g.comma()}),g.print(h.is_array?"]":"}")}),t(Vi,function(h,g){g.print("debugger"),g.semicolon()});function n(h,g,A,O){var k=h.length-1;A.in_directive=O,h.forEach(function(N,B){A.in_directive===!0&&!(N instanceof ur||N instanceof Ut||N instanceof $e&&N.body instanceof bt)&&(A.in_directive=!1),N instanceof Ut||(A.indent(),N.print(A),B==k&&g||(A.newline(),g&&A.newline())),A.in_directive===!0&&N instanceof $e&&N.body instanceof bt&&(A.in_directive=!1)}),A.in_directive=!1}Do.DEFMETHOD("_do_print_body",function(h){x(this.body,h)}),t(Nn,function(h,g){h.body.print(g),g.semicolon()}),t(Zt,function(h,g){n(h.body,!0,g,!0),g.print("")}),t(nr,function(h,g){h.label.print(g),g.colon(),h.body.print(g)}),t($e,function(h,g){h.body.print(g),g.semicolon()});function r(h,g){g.print("{"),g.with_indent(g.next_indent(),function(){g.append_comments(h,!0)}),g.add_mapping(h.end),g.print("}")}function s(h,g,A){h.body.length>0?g.with_block(function(){n(h.body,!1,g,A),g.add_mapping(h.end)}):r(h,g)}t(Je,function(h,g){s(h,g)}),t(Ut,function(h,g){g.semicolon()}),t(xi,function(h,g){g.print("do"),g.space(),R(h.body,g),g.space(),g.print("while"),g.space(),g.with_parens(function(){h.condition.print(g)}),g.semicolon()}),t(ji,function(h,g){g.print("while"),g.space(),g.with_parens(function(){h.condition.print(g)}),g.space(),h._do_print_body(g)}),t(An,function(h,g){g.print("for"),g.space(),g.with_parens(function(){h.init?(h.init instanceof pn?h.init.print(g):p(h.init,g,!0),g.print(";"),g.space()):g.print(";"),h.condition?(h.condition.print(g),g.print(";"),g.space()):g.print(";"),h.step&&h.step.print(g)}),g.space(),h._do_print_body(g)}),t(Xn,function(h,g){g.print("for"),h.await&&(g.space(),g.print("await")),g.space(),g.with_parens(function(){h.init.print(g),g.space(),g.print(h instanceof ko?"of":"in"),g.space(),h.object.print(g)}),g.space(),h._do_print_body(g)}),t(xr,function(h,g){g.print("with"),g.space(),g.with_parens(function(){h.expression.print(g)}),g.space(),h._do_print_body(g)}),ze.DEFMETHOD("_do_print",function(h,g){var A=this;g||(A.async&&(h.print("async"),h.space()),h.print("function"),A.is_generator&&h.star(),A.name&&h.space()),A.name instanceof vt?A.name.print(h):g&&A.name instanceof ke&&h.with_square(function(){A.name.print(h)}),h.with_parens(function(){A.argnames.forEach(function(O,k){k&&h.comma(),O.print(h)})}),h.space(),s(A,h,!0)}),t(ze,function(h,g){h._do_print(g),g.gc_scope(h)}),t(Xr,function(h,g){var A=h.prefix,O=A instanceof ze||A instanceof pe||A instanceof it||A instanceof mt||A instanceof Jt||A instanceof Qt&&A.expression instanceof jt;O&&g.print("("),h.prefix.print(g),O&&g.print(")"),h.template_string.print(g)}),t(Yn,function(h,g){var A=g.parent()instanceof Xr;g.print("`");for(var O=0;O<h.segments.length;O++)h.segments[O]instanceof Si?A?g.print(h.segments[O].raw):g.print_template_string_chars(h.segments[O].value):(g.print("${"),h.segments[O].print(g),g.print("}"));g.print("`")}),t(Si,function(h,g){g.print_template_string_chars(h.value)}),rn.DEFMETHOD("_do_print",function(h){var g=this,A=h.parent(),O=A instanceof pe&&!(A instanceof lt)||A instanceof Jt||A instanceof He&&g===A.expression;O&&h.print("("),g.async&&(h.print("async"),h.space()),g.argnames.length===1&&g.argnames[0]instanceof vt?g.argnames[0].print(h):h.with_parens(function(){g.argnames.forEach(function(N,B){B&&h.comma(),N.print(h)})}),h.space(),h.print("=>"),h.space();const k=g.body[0];if(g.body.length===1&&k instanceof hn){const N=k.value;N?Yi(N)?(h.print("("),N.print(h),h.print(")")):N.print(h):h.print("{}")}else s(g,h);O&&h.print(")"),h.gc_scope(g)}),_r.DEFMETHOD("_do_print",function(h,g){if(h.print(g),this.value){h.space();const A=this.value.start.comments_before;A&&A.length&&!h.printed_comments.has(A)?(h.print("("),this.value.print(h),h.print(")")):this.value.print(h)}h.semicolon()}),t(hn,function(h,g){h._do_print(g,"return")}),t(gs,function(h,g){h._do_print(g,"throw")}),t(Tr,function(h,g){var A=h.is_star?"*":"";g.print("yield"+A),h.expression&&(g.space(),h.expression.print(g))}),t(Sr,function(h,g){g.print("await"),g.space();var A=h.expression,O=!(A instanceof He||A instanceof De||A instanceof Xe||A instanceof Jt||A instanceof Nt||A instanceof Sr||A instanceof jt);O&&g.print("("),h.expression.print(g),O&&g.print(")")}),ni.DEFMETHOD("_do_print",function(h,g){h.print(g),this.label&&(h.space(),this.label.print(h)),h.semicolon()}),t(Ir,function(h,g){h._do_print(g,"break")}),t(lo,function(h,g){h._do_print(g,"continue")});function c(h,g){var A=h.body;if(g.option("braces")||g.option("ie8")&&A instanceof xi)return R(A,g);if(!A)return g.force_semicolon();for(;;)if(A instanceof Vt){if(!A.alternative){R(h.body,g);return}A=A.alternative}else if(A instanceof Do)A=A.body;else break;x(h.body,g)}t(Vt,function(h,g){g.print("if"),g.space(),g.with_parens(function(){h.condition.print(g)}),g.space(),h.alternative?(c(h,g),g.space(),g.print("else"),g.space(),h.alternative instanceof Vt?h.alternative.print(g):x(h.alternative,g)):h._do_print_body(g)}),t(Zn,function(h,g){g.print("switch"),g.space(),g.with_parens(function(){h.expression.print(g)}),g.space();var A=h.body.length-1;A<0?r(h,g):g.with_block(function(){h.body.forEach(function(O,k){g.indent(!0),O.print(g),k<A&&O.body.length>0&&g.newline()})})}),$i.DEFMETHOD("_do_print_body",function(h){h.newline(),this.body.forEach(function(g){h.indent(),g.print(h),h.newline()})}),t(Oo,function(h,g){g.print("default:"),h._do_print_body(g)}),t(ri,function(h,g){g.print("case"),g.space(),h.expression.print(g),g.print(":"),h._do_print_body(g)}),t(Ar,function(h,g){g.print("try"),g.space(),h.body.print(g),h.bcatch&&(g.space(),h.bcatch.print(g)),h.bfinally&&(g.space(),h.bfinally.print(g))}),t(Lu,function(h,g){s(h,g)}),t(ii,function(h,g){g.print("catch"),h.argname&&(g.space(),g.with_parens(function(){h.argname.print(g)})),g.space(),s(h,g)}),t(Jo,function(h,g){g.print("finally"),g.space(),s(h,g)}),pn.DEFMETHOD("_do_print",function(h,g){h.print(g),h.space(),this.definitions.forEach(function(N,B){B&&h.comma(),N.print(h)});var A=h.parent(),O=A instanceof An||A instanceof Xn,k=!O||A&&A.init!==this;k&&h.semicolon()}),t(oi,function(h,g){h._do_print(g,"let")}),t(Pn,function(h,g){h._do_print(g,"var")}),t(ai,function(h,g){h._do_print(g,"const")}),t(Br,function(h,g){g.print("import"),g.space(),h.imported_name&&h.imported_name.print(g),h.imported_name&&h.imported_names&&(g.print(","),g.space()),h.imported_names&&(h.imported_names.length===1&&h.imported_names[0].foreign_name.name==="*"&&!h.imported_names[0].foreign_name.quote?h.imported_names[0].print(g):(g.print("{"),h.imported_names.forEach(function(A,O){g.space(),A.print(g),O<h.imported_names.length-1&&g.print(",")}),g.space(),g.print("}"))),(h.imported_name||h.imported_names)&&(g.space(),g.print("from"),g.space()),h.module_name.print(g),h.assert_clause&&(g.print("assert"),h.assert_clause.print(g)),g.semicolon()}),t(Gi,function(h,g){g.print("import.meta")}),t(si,function(h,g){var A=g.parent()instanceof Br,O=h.name.definition(),k=h.foreign_name,N=(O&&O.mangled_name||h.name.name)!==k.name;!N&&k.name==="*"&&k.quote!=h.name.quote&&(N=!0);var B=k.quote==null;N?(A?B?g.print(k.name):g.print_string(k.name,k.quote):h.name.quote==null?h.name.print(g):g.print_string(h.name.name,h.name.quote),g.space(),g.print("as"),g.space(),A?h.name.print(g):B?g.print(k.name):g.print_string(k.name,k.quote)):h.name.quote==null?h.name.print(g):g.print_string(h.name.name,h.name.quote)}),t(Rn,function(h,g){if(g.print("export"),g.space(),h.is_default&&(g.print("default"),g.space()),h.exported_names)h.exported_names.length===1&&h.exported_names[0].name.name==="*"&&!h.exported_names[0].name.quote?h.exported_names[0].print(g):(g.print("{"),h.exported_names.forEach(function(A,O){g.space(),A.print(g),O<h.exported_names.length-1&&g.print(",")}),g.space(),g.print("}"));else if(h.exported_value)h.exported_value.print(g);else if(h.exported_definition&&(h.exported_definition.print(g),h.exported_definition instanceof pn))return;h.module_name&&(g.space(),g.print("from"),g.space(),h.module_name.print(g)),h.assert_clause&&(g.print("assert"),h.assert_clause.print(g)),(h.exported_value&&!(h.exported_value instanceof an||h.exported_value instanceof Gt||h.exported_value instanceof At)||h.module_name||h.exported_names)&&g.semicolon()});function p(h,g,A){var O=!1;A&&(O=Ln(h,k=>{if(k instanceof Ye&&!(k instanceof rn))return!0;if(k instanceof pe&&k.operator=="in"||k instanceof li)return vr})),h.print(g,O)}t(zt,function(h,g){if(h.name.print(g),h.value){g.space(),g.print("="),g.space();var A=g.parent(1),O=A instanceof An||A instanceof Xn;p(h.value,g,O)}}),t(He,function(h,g){h.expression.print(g),!(h instanceof cr&&h.args.length===0)&&((h.expression instanceof He||h.expression instanceof ze)&&g.add_mapping(h.start),h.optional&&g.print("?."),g.with_parens(function(){h.args.forEach(function(A,O){O&&g.comma(),A.print(g)})}))}),t(cr,function(h,g){g.print("new"),g.space(),He.prototype._codegen(h,g)}),mt.DEFMETHOD("_do_print",function(h){this.expressions.forEach(function(g,A){A>0&&(h.comma(),h.should_break()&&(h.newline(),h.indent())),g.print(h)})}),t(mt,function(h,g){h._do_print(g)}),t(Qt,function(h,g){var A=h.expression;A.print(g);var O=h.property,k=co.has(O)?g.option("ie8"):!Td(O,g.option("ecma")>=2015&&!g.option("safari10"));h.optional&&g.print("?."),k?(g.print("["),g.add_mapping(h.end),g.print_string(O),g.print("]")):(A instanceof et&&A.getValue()>=0&&(/[xa-f.)]/i.test(g.last())||g.print(".")),h.optional||g.print("."),g.add_mapping(h.end),g.print_name(O))}),t(Yr,function(h,g){var A=h.expression;A.print(g);var O=h.property;h.optional&&g.print("?"),g.print(".#"),g.add_mapping(h.end),g.print_name(O)}),t(Cn,function(h,g){h.expression.print(g),h.optional&&g.print("?."),g.print("["),h.property.print(g),g.print("]")}),t(En,function(h,g){h.expression.print(g)}),t(qe,function(h,g){var A=h.operator;A==="--"&&g.last().endsWith("!")&&g.print(" "),g.print(A),(/^[a-z]/i.test(A)||/[+-]$/.test(A)&&h.expression instanceof qe&&/^[+-]/.test(h.expression.operator))&&g.space(),h.expression.print(g)}),t(zi,function(h,g){h.expression.print(g),g.print(h.operator)}),t(pe,function(h,g){var A=h.operator;h.left.print(g),A[0]==">"&&g.last().endsWith("--")?g.print(" "):g.space(),g.print(A),g.space(),h.right.print(g)}),t(it,function(h,g){h.condition.print(g),g.space(),g.print("?"),g.space(),h.consequent.print(g),g.space(),g.colon(),h.alternative.print(g)}),t(Ft,function(h,g){g.with_square(function(){var A=h.elements,O=A.length;O>0&&g.space(),A.forEach(function(k,N){N&&g.comma(),k.print(g),N===O-1&&k instanceof Mr&&g.comma()}),O>0&&g.space()})}),t(jt,function(h,g){h.properties.length>0?g.with_block(function(){h.properties.forEach(function(A,O){O&&(g.print(","),g.newline()),g.indent(),A.print(g)}),g.newline()}):r(h,g)}),t(At,function(h,g){if(g.print("class"),g.space(),h.name&&(h.name.print(g),g.space()),h.extends){var A=!(h.extends instanceof De)&&!(h.extends instanceof Xe)&&!(h.extends instanceof Di)&&!(h.extends instanceof Gt);g.print("extends"),A?g.print("("):g.space(),h.extends.print(g),A?g.print(")"):g.space()}h.properties.length>0?g.with_block(function(){h.properties.forEach(function(O,k){k&&g.newline(),g.indent(),O.print(g)}),g.newline()}):g.print("{}")}),t(ea,function(h,g){g.print("new.target")});function d(h,g,A){if(A.option("quote_keys"))return A.print_string(h),!1;if(""+ +h==h&&h>=0)return A.option("keep_numbers")?(A.print(h),!1):(A.print(F(h)),!1);var O=co.has(h)?A.option("ie8"):A.option("ecma")<2015||A.option("safari10")?!Fu(h):!Td(h,!0);return O||g&&A.option("keep_quoted_props")?(A.print_string(h,g),!1):(A.print_name(h),!0)}t(on,function(h,g){function A(k){var N=k.definition();return N?N.mangled_name||N.name:k.name}const O=g.option("shorthand")&&!(h.key instanceof ke);O&&h.value instanceof vt&&A(h.value)===h.key&&!co.has(h.key)?d(h.key,h.quote,g)||(g.colon(),h.value.print(g)):O&&h.value instanceof Lr&&h.value.left instanceof vt&&A(h.value.left)===h.key?(d(h.key,h.quote,g)||(g.colon(),h.value.left.print(g)),g.space(),g.print("="),g.space(),h.value.right.print(g)):(h.key instanceof ke?g.with_square(function(){h.key.print(g)}):d(h.key,h.quote,g),g.colon(),h.value.print(g))}),t(Ci,(h,g)=>{h.static&&(g.print("static"),g.space()),g.print("#"),d(h.key.name,h.quote,g),h.value&&(g.print("="),h.value.print(g)),g.semicolon()}),t(mr,(h,g)=>{h.static&&(g.print("static"),g.space()),h.key instanceof qi?d(h.key.name,h.quote,g):(g.print("["),h.key.print(g),g.print("]")),h.value&&(g.print("="),h.value.print(g)),g.semicolon()}),dn.DEFMETHOD("_print_getter_setter",function(h,g,A){var O=this;O.static&&(A.print("static"),A.space()),h&&(A.print(h),A.space()),O.key instanceof jn?(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(ci,function(h,g){h._print_getter_setter("set",!1,g)}),t(Zr,function(h,g){h._print_getter_setter("get",!1,g)}),t(Ti,function(h,g){h._print_getter_setter("set",!0,g)}),t(ui,function(h,g){h._print_getter_setter("get",!0,g)}),t(Ai,function(h,g){var A;h.is_generator&&h.async?A="async*":h.is_generator?A="*":h.async&&(A="async"),h._print_getter_setter(A,!0,g)}),t(li,function(h,g){h.key.print(g),g.space(),g.print("in"),g.space(),h.value.print(g)}),t(bs,function(h,g){g.print("#"+h.name)}),t(Un,function(h,g){var A;h.is_generator&&h.async?A="async*":h.is_generator?A="*":h.async&&(A="async"),h._print_getter_setter(A,!1,g)}),t(Qn,function(h,g){g.print("static"),g.space(),s(h,g)}),vt.DEFMETHOD("_do_print",function(h){var g=this.definition();h.print_name(g?g.mangled_name||g.name:this.name)}),t(vt,function(h,g){h._do_print(g)}),t(Mr,Er),t(Hn,function(h,g){g.print("this")}),t(ra,function(h,g){g.print("super")}),t(Nt,function(h,g){g.print(h.getValue())}),t(bt,function(h,g){g.print_string(h.getValue(),h.quote,g.in_directive)}),t(et,function(h,g){(g.option("keep_numbers")||g.use_asm)&&h.raw?g.print(h.raw):g.print(F(h.getValue()))}),t(hi,function(h,g){g.print(h.getValue()+"n")});const E=/(<\s*\/\s*script)/i,b=/^\s*script/i,T=(h,g)=>g.replace("/","\\/");t(yr,function(h,g){let{source:A,flags:O}=h.getValue();A=Tu(A),O=O?cg(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===h&&g.print(" ")});function x(h,g){g.option("braces")?R(h,g):!h||h instanceof Ut?g.force_semicolon():h instanceof oi||h instanceof ai||h instanceof At?R(h,g):h.print(g)}function w(h){for(var g=h[0],A=g.length,O=1;O<h.length;++O)h[O].length<A&&(g=h[O],A=g.length);return g}function F(h){var g=h.toString(10).replace(/^0\./,".").replace("e+","e"),A=[g];Math.floor(h)===h&&(h<0?A.push("-0x"+(-h).toString(16).toLowerCase()):A.push("0x"+h.toString(16).toLowerCase()));var O,k,N;return(O=/^\.0+/.exec(g))?(k=O[0].length,N=g.slice(k),A.push(N+"e-"+(N.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(h,g){!h||h instanceof Ut?g.print("{}"):h instanceof Je?h.print(g):g.with_block(function(){g.indent(),h.print(g),g.newline()})}function v(h,g){h.forEach(function(A){A.DEFMETHOD("add_source_map",g)})}v([ke,nr,Zt],Er),v([Ft,Je,ii,At,Nt,Vi,pn,ur,Jo,ys,ze,cr,jt,Do,vt,Zn,$i,Yn,Si,Ar],function(h){h.add_mapping(this.start)}),v([Zr,ci,ui,Ti,Un,Ai],function(h){h.add_mapping(this.start,!1)}),v([jn,bs],function(h){const g=this.end&&this.end.type;g==="name"||g==="privatename"?h.add_mapping(this.end,this.name):h.add_mapping(this.end)}),v([dn],function(h){h.add_mapping(this.start,this.key)})})();const Bd=(t,e)=>t===null&&e===null||t.TYPE===e.TYPE&&t.shallow_cmp(e),Rg=(t,e)=>{if(!Bd(t,e))return!1;const n=[t],r=[e],s=n.push.bind(n),c=r.push.bind(r);for(;n.length&&r.length;){const p=n.pop(),d=r.pop();if(!Bd(p,d)||(p._children_backwards(s),d._children_backwards(c),n.length!==r.length))return!1}return n.length==0&&r.length==0},Ht=()=>!0;ke.prototype.shallow_cmp=function(){throw new Error("did not find a shallow_cmp function for "+this.constructor.name)},Vi.prototype.shallow_cmp=Ht,ur.prototype.shallow_cmp=function(t){return this.value===t.value},$e.prototype.shallow_cmp=Ht,Tn.prototype.shallow_cmp=Ht,Ut.prototype.shallow_cmp=Ht,nr.prototype.shallow_cmp=function(t){return this.label.name===t.label.name},xi.prototype.shallow_cmp=Ht,ji.prototype.shallow_cmp=Ht,An.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)},Xn.prototype.shallow_cmp=Ht,ko.prototype.shallow_cmp=Ht,xr.prototype.shallow_cmp=Ht,Zt.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},Xr.prototype.shallow_cmp=Ht,Yn.prototype.shallow_cmp=Ht,Si.prototype.shallow_cmp=function(t){return this.value===t.value},ys.prototype.shallow_cmp=Ht,ni.prototype.shallow_cmp=Ht,Sr.prototype.shallow_cmp=Ht,Tr.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},Zn.prototype.shallow_cmp=Ht,$i.prototype.shallow_cmp=Ht,Ar.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)},ii.prototype.shallow_cmp=function(t){return this.argname==null?t.argname==null:this.argname===t.argname},Jo.prototype.shallow_cmp=Ht,pn.prototype.shallow_cmp=Ht,zt.prototype.shallow_cmp=function(t){return this.value==null?t.value==null:this.value===t.value},si.prototype.shallow_cmp=Ht,Br.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)},Gi.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,En.prototype.shallow_cmp=Ht,Qt.prototype.shallow_cmp=function(t){return this.property===t.property},Yr.prototype.shallow_cmp=function(t){return this.property===t.property},Jt.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,dn.prototype.shallow_cmp=Ht,on.prototype.shallow_cmp=function(t){return this.key===t.key},ci.prototype.shallow_cmp=function(t){return this.static===t.static},Zr.prototype.shallow_cmp=function(t){return this.static===t.static},Un.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,Hn.prototype.shallow_cmp=Ht,ra.prototype.shallow_cmp=Ht,bt.prototype.shallow_cmp=function(t){return this.value===t.value},et.prototype.shallow_cmp=function(t){return this.value===t.value},hi.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},ho.prototype.shallow_cmp=Ht;const ju=1,Fg=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 ke?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&ju||this.undeclared||!e.eval&&this.scope.pinned()||(this.orig[0]instanceof fi||this.orig[0]instanceof ki)&&Qo(e.keep_fnames,this.orig[0].name)||this.orig[0]instanceof jn||(this.orig[0]instanceof Uu||this.orig[0]instanceof Mu)&&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,s=this.orig[0];e.ie8&&s instanceof fi&&(r=r.parent_scope);const c=Of(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 Of(t){if(t.orig[0]instanceof Jr&&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=Ei(t,{cache:null,ie8:!1,safari10:!1,module:!1}),!(n instanceof Zt))throw new Error("Invalid toplevel scope");var r=this.parent_scope=e,s=new Map,c=null,p=null,d=[],T=new Mn((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 An||x instanceof Xn||x instanceof ko)&&d.push(r),x instanceof Zn){const N=r;r=k,x.expression.walk(T),r=N;for(let B=0;B<x.body.length;B++)x.body[B].walk(T)}else w();return r=k,!0}if(x instanceof qt){const k=p;return p=x,w(),p=k,!0}if(x instanceof Ye){x.init_scope_vars(r);var F=r,R=c,v=s;return c=r=x,s=new Map,w(),r=F,c=R,s=v,!0}if(x instanceof nr){var h=x.label;if(s.has(h.name))throw new Error(xu("Label {name} defined twice",h));return s.set(h.name,h),w(),s.delete(h.name),!0}if(x instanceof xr){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 fi)c.def_function(x,x.name=="arguments"?void 0:c);else if(x instanceof ki){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 Uu)E(c.def_variable(x,c),1);else if(x instanceof na)r.def_variable(x);else if(x instanceof Mu)E((x.scope=c.parent_scope).def_function(x,c),1);else if(x instanceof Ki||x instanceof ta||x instanceof fo||x instanceof Jr){var A;if(x instanceof Wi?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 Wi?k instanceof fi:!(k instanceof ta||k instanceof fo))||Nu(`"${x.name}" is redeclared`,x.start.file,x.start.line,x.start.col,x.start.pos),x instanceof Bn||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 Af){var O=s.get(x.name);if(!O)throw new Error(xu("Undefined label {name} [{line},{col}]",{name:x.name,line:x.start.line,col:x.start.col}));x.thedef=O}!(r instanceof Zt)&&(x instanceof Rn||x instanceof Br)&&Nu(`"${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(p){var F=0;do w++;while(T.parent(F++)!==p)}var R=T.parent(w);if(x.export=R instanceof Rn?ju:0){var v=R.exported_definition;(v instanceof an||v instanceof Qr)&&R.is_default&&(x.export=Fg)}}this instanceof Zt&&(this.globals=new Map);var T=new Mn(x=>{if(x instanceof ni&&x.label)return x.label.thedef.references.push(x),!0;if(x instanceof De){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 si&&T.parent(1).module_name||!(R=x.scope.find_variable(w))?(R=n.def_global(x),x instanceof Ro&&(R.export=ju)):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 Wi)&&(x.scope=x.scope.get_defun_scope()),!0}var v;if(x instanceof Jr&&(v=Of(x.definition())))for(var F=x.scope;F&&(Ao(F.enclosed,v),F!==v.scope);)F=F.parent_scope});if(this.walk(T),(t.ie8||t.safari10)&&Ln(this,x=>{if(x instanceof Jr){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(h){h.thedef=v,h.reference()}),x.thedef=v,x.reference(),!0}}),t.safari10)for(const x of d)x.parent_scope.variables.forEach(function(w){Ao(x.enclosed,w)})}),Zt.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 rn&&!this.uses_arguments&&(this.uses_arguments=Ln(t,s=>{if(s instanceof De&&s.scope instanceof ze&&s.name==="arguments")return vr;if(s instanceof ze&&!(s instanceof rn))return!0})),this.uses_with=this.uses_with||t.uses_with,this.uses_eval=this.uses_eval||t.uses_eval;const e=(()=>{const s=[];let c=this;do s.push(c);while(c=c.parent_scope);return s.reverse(),s})(),n=new Set(t.enclosed),r=[];for(const s of e){r.forEach(c=>Ao(s.enclosed,c));for(const c of s.variables.values())n.has(c)&&(Ao(r,c),Ao(s.enclosed,c))}});function Ng(t){const e=new Set;for(const n of new Set(t))(function r(s){s==null||e.has(s)||(e.add(s),r(s.parent_scope))})(n);return[...e]}Ye.DEFMETHOD("create_symbol",function(t,{source:e,tentative_name:n,scope:r,conflict_scopes:s=[r],init:c=null}={}){let p;if(s=Ng(s),n){n=p=n.replace(/(?:^[^a-z_$]|[^a-z0-9_$])/ig,"_");let E=0;for(;s.find(b=>b.conflicting_def_shallow(p));)p=n+"$"+E++}if(!p)throw new Error("No symbol name could be generated in create_symbol()");const d=V(t,e,{name:p,scope:r});return this.def_variable(d,c||null),d.mark_enclosed(),d}),ke.DEFMETHOD("is_block_scope",Ot),At.DEFMETHOD("is_block_scope",Ot),ze.DEFMETHOD("is_block_scope",Ot),Zt.DEFMETHOD("is_block_scope",Ot),$i.DEFMETHOD("is_block_scope",Ot),Tn.DEFMETHOD("is_block_scope",ar),Ye.DEFMETHOD("is_block_scope",function(){return this._block_scope||!1}),qr.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 Bn({name:"arguments",start:this.start,end:this.end}))}),rn.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&&(Ao(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 an)&&(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 wf(t,e){let n;aa&&(n=t.get_defun_scope())&&aa.has(n)&&(t=n);var r=t.enclosed,s=e.nth_identifier;e:for(;;){var c=s.get(++t.cname);if(!co.has(c)&&!e.reserved.has(c)){if(oa&&oa.has(c))continue e;for(let p=r.length;--p>=0;){const d=r[p],E=d.mangled_name||d.unmangleable(e)&&d.name;if(c==E)continue e}return c}}}Ye.DEFMETHOD("next_mangled",function(t){return wf(this,t)}),Zt.DEFMETHOD("next_mangled",function(t){let e;const n=this.mangled_names;do e=wf(this,t);while(n.has(e));return e}),Gt.DEFMETHOD("next_mangled",function(t,e){for(var n=e.orig[0]instanceof Bn&&this.name&&this.name.definition(),r=n?n.mangled_name||n.name:null;;){var s=wf(this,t);if(!r||r!=s)return s}}),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 Hu(t){return t=Ei(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}Zt.DEFMETHOD("mangle_names",function(t){t=Hu(t);var e=t.nth_identifier,n=-1,r=[];t.keep_fnames&&(ia=new Set);const s=this.mangled_names=new Set;oa=new Set,t.cache&&(this.globals.forEach(p),t.cache.props&&t.cache.props.forEach(function(d){s.add(d)}));var c=new Mn(function(d,E){if(d instanceof nr){var b=n;return E(),n=b,!0}if(d instanceof an&&!(c.parent()instanceof Ye)&&(aa=aa||new Set,aa.add(d.parent_scope.get_defun_scope())),d instanceof Ye){d.variables.forEach(p);return}if(d.is_block_scope()){d.block_scope.variables.forEach(p);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(co.has(T));return d.mangled_name=T,!0}if(!(t.ie8||t.safari10)&&d instanceof Jr){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 p(d){d.export&ju?oa.add(d.name):t.reserved.has(d.name)||r.push(d)}}),Zt.DEFMETHOD("find_colliding_names",function(t){const e=t.cache&&t.cache.props,n=new Set;return t.reserved.forEach(r),this.globals.forEach(s),this.walk(new Mn(function(c){c instanceof Ye&&c.variables.forEach(s),c instanceof Jr&&s(c.definition())})),n;function r(c){n.add(c)}function s(c){var p=c.name;if(c.global&&e&&e.has(p))p=e.get(p);else if(!c.unmangleable(t))return;r(p)}}),Zt.DEFMETHOD("expand_names",function(t){t=Hu(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 Mn(function(p){p instanceof Ye&&p.variables.forEach(c),p instanceof Jr&&c(p.definition())}));function s(){var p;do p=e.get(r++);while(n.has(p)||co.has(p));return p}function c(p){if(p.global&&t.cache||p.unmangleable(t)||t.reserved.has(p.name))return;const d=Of(p),E=p.name=d?d.name:s();p.orig.forEach(function(b){b.name=E}),p.references.forEach(function(b){b.name=E})}}),ke.DEFMETHOD("tail_node",To),mt.DEFMETHOD("tail_node",function(){return this.expressions[this.expressions.length-1]}),Zt.DEFMETHOD("compute_char_frequency",function(t){t=Hu(t);var e=t.nth_identifier;if(!e.reset||!e.consider||!e.sort)return;e.reset();try{ke.prototype.print=function(r,s){this._print(r,s),this instanceof vt&&!this.unmangleable(t)?e.consider(this.name,-1):t.properties&&(this instanceof Yr?e.consider("#"+this.property,-1):this instanceof Qt?e.consider(this.property,-1):this instanceof Cn&&n(this.property))},e.consider(this.print_to_string(),1)}finally{ke.prototype.print=ke.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 s(){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 p(b,T){return r.get(T)-r.get(b)}function d(){n=md(t,p).concat(md(e,p))}s(),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:s,sort:d}})();let $u;ke.prototype.size=function(t,e){$u=t&&t._mangle_options;let n=0;return Fd(this,(r,s)=>{if(n+=r._size(s),r instanceof rn&&r.is_braceless())return n+=r.body[0].value._size(s),!0},e||t&&t.stack),$u=void 0,n},ke.prototype._size=()=>0,Vi.prototype._size=()=>8,ur.prototype._size=function(){return 2+this.value.length};const un=t=>t.length&&t.length-1;Tn.prototype._size=function(){return 2+un(this.body)},Zt.prototype._size=function(){return un(this.body)},Ut.prototype._size=()=>1,nr.prototype._size=()=>2,xi.prototype._size=()=>9,ji.prototype._size=()=>7,An.prototype._size=()=>8,Xn.prototype._size=()=>8,xr.prototype._size=()=>6,gt.prototype._size=()=>3;const As=t=>(t.is_generator?1:0)+(t.async?6:0);Hi.prototype._size=function(){return As(this)+4+un(this.argnames)+un(this.body)},Gt.prototype._size=function(t){return!!pi(t)*2+As(this)+12+un(this.argnames)+un(this.body)},an.prototype._size=function(){return As(this)+13+un(this.argnames)+un(this.body)},rn.prototype._size=function(){let t=2+un(this.argnames);this.argnames.length===1&&this.argnames[0]instanceof vt||(t+=2);const e=this.is_braceless()?0:un(this.body)+2;return As(this)+t+e},qt.prototype._size=()=>2,Yn.prototype._size=function(){return 2+Math.floor(this.segments.length/2)*3},Si.prototype._size=function(){return this.value.length},hn.prototype._size=function(){return this.value?7:6},gs.prototype._size=()=>6,Ir.prototype._size=function(){return this.label?6:5},lo.prototype._size=function(){return this.label?9:8},Vt.prototype._size=()=>4,Zn.prototype._size=function(){return 8+un(this.body)},ri.prototype._size=function(){return 5+un(this.body)},Oo.prototype._size=function(){return 8+un(this.body)},Ar.prototype._size=()=>3,ii.prototype._size=function(){let t=7+un(this.body);return this.argname&&(t+=2),t},Jo.prototype._size=function(){return 7+un(this.body)},Pn.prototype._size=function(){return 4+un(this.definitions)},oi.prototype._size=function(){return 4+un(this.definitions)},ai.prototype._size=function(){return 6+un(this.definitions)},zt.prototype._size=function(){return this.value?1:0},si.prototype._size=function(){return this.name?4:0},Br.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+un(this.imported_names)),t},Gi.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+un(this.exported_names)),this.module_name&&(t+=5),t},He.prototype._size=function(){return this.optional?4+un(this.args):2+un(this.args)},cr.prototype._size=function(){return 6+un(this.args)},mt.prototype._size=function(){return un(this.expressions)},Qt.prototype._size=function(){return this.optional?this.property.length+2:this.property.length+1},Yr.prototype._size=function(){return this.optional?this.property.length+3:this.property.length+2},Cn.prototype._size=function(){return this.optional?4:2},Jt.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 Jt&&this.right.operator===this.operator&&(e+=1),this.needs_parens(t)&&(e+=2),e},it.prototype._size=()=>3,Ft.prototype._size=function(){return 2+un(this.elements)},jt.prototype._size=function(t){let e=2;return pi(t)&&(e+=2),e+un(this.properties)};const Gu=t=>typeof t=="string"?t.length:0;on.prototype._size=function(){return Gu(this.key)+1};const zu=t=>t?7:0;Zr.prototype._size=function(){return 5+zu(this.static)+Gu(this.key)},ci.prototype._size=function(){return 5+zu(this.static)+Gu(this.key)},Un.prototype._size=function(){return zu(this.static)+Gu(this.key)+As(this)},Ai.prototype._size=function(){return Un.prototype._size.call(this)+1},ui.prototype._size=Ti.prototype._size=function(){return Un.prototype._size.call(this)+4},li.prototype._size=function(){return 5},At.prototype._size=function(){return(this.name?8:7)+(this.extends?8:0)},Qn.prototype._size=function(){return 8+un(this.body)},mr.prototype._size=function(){return zu(this.static)+(typeof this.key=="string"?this.key.length+2:0)+(this.value?1:0)},Ci.prototype._size=function(){return mr.prototype._size.call(this)+1},vt.prototype._size=function(){return $u&&this.thedef&&!this.thedef.unmangleable($u)?1:this.name.length},qi.prototype._size=function(){return this.name.length},De.prototype._size=In.prototype._size=function(){return this.name==="arguments"?9:vt.prototype._size.call(this)},ea.prototype._size=()=>10,wo.prototype._size=function(){return this.name.length},Oi.prototype._size=function(){return this.name.length},Hn.prototype._size=()=>4,ra.prototype._size=()=>5,bt.prototype._size=function(){return this.value.length+2},et.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},hi.prototype._size=function(){return this.value.length},yr.prototype._size=function(){return this.value.toString().length},gr.prototype._size=()=>4,Es.prototype._size=()=>3,sn.prototype._size=()=>6,Mr.prototype._size=()=>0,po.prototype._size=()=>8,Cr.prototype._size=()=>4,Xi.prototype._size=()=>5,Sr.prototype._size=()=>6,Tr.prototype._size=()=>6;const _o=1,Rf=2,Ff=4,Nf=8,Cs=16,ua=32,No=256,Pf=512,If=1024,Pg=No|Pf|If,$n=(t,e)=>t.flags&e,Dr=(t,e)=>{t.flags|=e},ca=(t,e)=>{t.flags&=~e};function Bf(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(Bf,[])})}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(et,e,{value:-t})}):V(et,e,{value:t}):t<0?V(qe,e,{operator:"-",expression:V(po,e)}):V(po,e);case"bigint":return V(hi,e,{value:t.toString()});case"boolean":return V(t?Cr:Xi,e);case"undefined":return V(sn,e);default:if(t===null)return V(gr,e,{value:null});if(t instanceof RegExp)return V(yr,e,{value:{source:Tu(t.source),flags:t.flags}});throw new Error(xu("Can't handle constant of type: {type}",{type:typeof t}))}}function Zi(t,e){return t.size()>e.size()?e:t}function Ig(t,e){return Zi(V($e,t,{body:t}),V($e,e,{body:e})).body}function kr(t,e,n){return pi(t)?Ig(e,n):Zi(e,n)}function Ld(t){if(t instanceof Nt)return t.getValue();if(!(t instanceof qe&&t.operator=="void"&&t.expression instanceof Nt))return t}function Md(t,e){if(e=Ld(e),!(e instanceof ke)){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 s=t.properties,c=s.length;--c>=0;){var p=s[c];if(!(p instanceof on))return;!n&&s[c].key===e&&(n=s[c].value)}}return n instanceof De&&n.fixed_value()||n}}function Lf(t,e){var n=!1,r=new Mn(function(s){if(n||s instanceof Ye)return!0;if(s instanceof ni&&r.loopcontrol_target(s)===t)return n=!0});return e instanceof nr&&r.push(e),r.push(t),t.body.walk(r),n}function Po(t,e,n){if(t instanceof qe&&t.operator=="delete"||t instanceof He&&t.expression===e&&(n instanceof En||n instanceof Xe||n instanceof De&&n.name=="eval")){const r=V(et,e,{value:0});return ot(e,[r,n])}else return n}function Ku(t){return t instanceof rn||t instanceof Gt}function Mf(t){return t.TYPE!="Call"?!1:t.expression instanceof Gt||Mf(t.expression)}function mo(t){return t===null||t instanceof Ut?!0:t instanceof Je?t.body.length==0:!1}const Ud=Bt("Infinity NaN undefined");function Vd(t){return t instanceof po||t instanceof Es||t instanceof sn}function Uf(t,e){if(!(t instanceof De))return!1;for(var n=t.definition().orig,r=n.length;--r>=0;)if(n[r]instanceof e)return!0}function Vf(t){return!(t instanceof Qr||t instanceof an||t instanceof oi||t instanceof ai||t instanceof Rn||t instanceof Br)}function Wu(t){if(t===null)return[];if(t instanceof Je)return t.body;if(t instanceof Ut)return[];if(t instanceof Nn)return[t];throw new Error("Can't convert thing to statement array")}function jd(t,e){const n=r=>{if(r instanceof De&&e.includes(r.definition()))return vr};return Fd(t,(r,s)=>{if(r instanceof Ye&&r!==t){var c=s.parent();return c instanceof He&&c.expression===r&&!(r.async||r.is_generator)?void 0:Ln(r,n)?vr:!0}})}function jf(t,e){for(var n,r=0;n=t.parent(r);r++)if(n instanceof ze||n instanceof At){var s=n.name;if(s&&s.definition()===e)return!0}return!1}function Hd(t,e){return e.top_retain&&t instanceof an&&$n(t,If)&&t.name&&e.top_retain(t.name.definition())}function Hf(t){const e=new Map;for(var n of Object.keys(t))e.set(n,Bt(t[n]));return(s,c)=>{const p=e.get(s);return p!=null&&p.has(c)}}const qu=new Set(["Number","String","Array","Object","Function","Promise"]),Io=["constructor","toString","valueOf"],$d=Hf({Array:["at","flat","includes","indexOf","join","lastIndexOf","slice",...Io],Boolean:Io,Function:Io,Number:["toExponential","toFixed","toPrecision",...Io],Object:Io,RegExp:["test",...Io],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",...Io]}),Gd=Hf({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"]}),Bg=Hf({Math:["E","LN10","LN2","LOG2E","LOG10E","PI","SQRT1_2","SQRT2"],Number:["MAX_VALUE","MIN_VALUE","NaN","NEGATIVE_INFINITY","POSITIVE_INFINITY"]}),di=t=>t instanceof De&&t.definition().undeclared,$f=Bt("<<< >> << & | ^ ~"),Bo=Bt("&& || ??"),Xu=Bt("delete ++ --");(function(t){const e=Bt("! delete"),n=Bt("in instanceof == != === !== < <= >= >");t(ke,Ot),t(qe,function(){return e.has(this.operator)}),t(pe,function(){return n.has(this.operator)||Bo.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(Cr,ar),t(Xi,ar)})(function(t,e){t.DEFMETHOD("is_boolean",e)}),function(t){t(ke,Ot),t(et,ar);const e=Bt("+ - ~ ++ --");t(Jt,function(){return e.has(this.operator)&&!(this.expression instanceof hi)});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(ke,Ot),t(et,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 $f.has(this.operator)})}(function(t,e){t.DEFMETHOD("is_32_bit_integer",e)}),function(t){t(ke,Ot),t(bt,ar),t(Yn,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 _i(t,e){return $n(t,Nf)||t instanceof sn||t instanceof qe&&t.operator=="void"&&!t.expression.has_side_effects(e)}function zd(t,e){let n;return t instanceof gr||_i(t,e)||t instanceof De&&(n=t.definition().fixed)instanceof ke&&mi(n,e)}function la(t,e){return t instanceof Xe||t instanceof He?t.optional&&zd(t.expression,e)||la(t.expression,e):t instanceof En?la(t.expression,e):!1}function mi(t,e){return zd(t,e)?!0:la(t,e)}(function(t){t(ke,ar),t(Ut,Ot),t(Nt,Ot),t(Hn,Ot);function e(n,r){for(var s=n.length;--s>=0;)if(n[s].has_side_effects(r))return!0;return!1}t(Tn,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(Zn,function(n){return this.expression.has_side_effects(n)||e(this.body,n)}),t(ri,function(n){return this.expression.has_side_effects(n)||e(this.body,n)}),t(Ar,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(Gi,Ot),t(nr,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(Qn,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(Jt,function(n){return Xu.has(this.operator)||this.expression.has_side_effects(n)}),t(De,function(n){return!this.is_declared(n)&&!qu.has(this.name)}),t(qi,Ot),t(In,Ot),t(jt,function(n){return e(this.properties,n)}),t(dn,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(Un,function(n){return this.computed_key()&&this.key.has_side_effects(n)}),t(Zr,function(n){return this.computed_key()&&this.key.has_side_effects(n)}),t(ci,function(n){return this.computed_key()&&this.key.has_side_effects(n)}),t(Ft,function(n){return e(this.elements,n)}),t(Qt,function(n){return mi(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(Cn,function(n){if(mi(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(En,function(n){return this.expression.has_side_effects(n)}),t(mt,function(n){return e(this.expressions,n)}),t(pn,function(n){return e(this.definitions,n)}),t(zt,function(){return this.value}),t(Si,Ot),t(Yn,function(n){return e(this.segments,n)})})(function(t,e){t.DEFMETHOD("has_side_effects",e)}),function(t){t(ke,ar),t(Nt,Ot),t(Ut,Ot),t(ze,Ot),t(In,Ot),t(Hn,Ot),t(Gi,Ot);function e(n,r){for(var s=n.length;--s>=0;)if(n[s].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(Qn,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 De?!1:this.left.may_throw(n)}),t(pe,function(n){return this.left.may_throw(n)||this.right.may_throw(n)}),t(Tn,function(n){return e(this.body,n)}),t(He,function(n){return mi(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(ri,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(pn,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(nr,function(n){return this.body.may_throw(n)}),t(jt,function(n){return e(this.properties,n)}),t(dn,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(Un,function(n){return this.computed_key()&&this.key.may_throw(n)}),t(Zr,function(n){return this.computed_key()&&this.key.may_throw(n)}),t(ci,function(n){return this.computed_key()&&this.key.may_throw(n)}),t(hn,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(Qt,function(n){return mi(this,n)?!1:!this.optional&&this.expression.may_throw_on_access(n)||this.expression.may_throw(n)}),t(Cn,function(n){return mi(this,n)?!1:!this.optional&&this.expression.may_throw_on_access(n)||this.expression.may_throw(n)||this.property.may_throw(n)}),t(En,function(n){return this.expression.may_throw(n)}),t(Zn,function(n){return this.expression.may_throw(n)||e(this.body,n)}),t(De,function(n){return!this.is_declared(n)&&!qu.has(this.name)}),t(qi,Ot),t(Ar,function(n){return this.bcatch?this.bcatch.may_throw(n):this.body.may_throw(n)||this.bfinally&&this.bfinally.may_throw(n)}),t(Jt,function(n){return this.operator=="typeof"&&this.expression instanceof De?!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 Ln(this,s=>{if(s instanceof De){if($n(this,Cs))return r=!1,vr;var c=s.definition();if(yf(c,this.enclosed)&&!this.variables.has(c.name)){if(n){var p=n.find_variable(s);if(c.undeclared?!p:p===c)return r="f",!0}return r=!1,vr}return!0}if(s instanceof Hn&&this instanceof rn)return r=!1,vr}),r}t(ke,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 Qn)return!1;return e.call(this,n)}),t(ze,e),t(Jt,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(dn,function(){return!!(!(this.key instanceof ke)&&this.value&&this.value.is_constant_expression())})}(function(t,e){t.DEFMETHOD("is_constant_expression",e)}),function(t){ke.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(ke,e),t(gr,ar),t(sn,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(dn,Ot),t(Zr,ar),t(gt,function(n){return this.expression._dot_throw(n)}),t(Gt,Ot),t(rn,Ot),t(zi,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(Qt,function(n){return e(n)?this.property=="prototype"?!(this.expression instanceof Gt||this.expression instanceof At):!0:!1}),t(En,function(n){return this.expression._dot_throw(n)}),t(mt,function(n){return this.tail_node()._dot_throw(n)}),t(De,function(n){if(this.name==="arguments"&&this.scope instanceof ze)return!1;if($n(this,Nf))return!0;if(!e(n)||di(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 Lo(t,e){if(e instanceof Jt&&Xu.has(e.operator))return e.expression;if(e instanceof lt&&e.left===t||e instanceof Xn&&e.init===t)return t}(function(t){function e(r){return V(qe,r,{operator:"!",expression:r})}function n(r,s,c){var p=e(r);if(c){var d=V($e,s,{body:s});return Zi(p,d)===d?s:p}return Zi(p,s)}t(ke,function(){return e(this)}),t(Nn,function(){throw new Error("Cannot negate a statement")}),t(Gt,function(){return e(this)}),t(At,function(){return e(this)}),t(rn,function(){return e(this)}),t(qe,function(){return this.operator=="!"?this.expression:e(this)}),t(mt,function(r){var s=this.expressions.slice();return s.push(s.pop().negate(r)),ot(this,s)}),t(it,function(r,s){var c=this.clone();return c.consequent=c.consequent.negate(r),c.alternative=c.alternative.negate(r),n(this,c,s)}),t(pe,function(r,s){var c=this.clone(),p=this.operator;if(r.option("unsafe_comps"))switch(p){case"<=":return c.operator=">",c;case"<":return c.operator=">=",c;case">=":return c.operator="<",c;case">":return c.operator="<=",c}switch(p){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,s),c.right=c.right.negate(r),n(this,c,s);case"||":return c.operator="&&",c.left=c.left.negate(r,s),c.right=c.right.negate(r),n(this,c,s)}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(ke,function(){return e(this)}),t(et,function(){const n=~this.value;return n.toString().length>this.value.toString().length?e(this):V(et,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 Lg=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(di(e)&&Lg.has(e.name)||e instanceof Qt&&di(e.expression)&&Gd(e.expression.name,e.property))return!0}return this instanceof cr&&t.option("pure_new")||t.option("side_effects")&&pr(this,Cf)?!0:!t.pure_funcs(this)}),ke.DEFMETHOD("is_call_pure",Ot),Qt.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&&$d(n,this.property)});const Ur=t=>t&&t.aborts();(function(t){t(Nn,uo),t(ys,To);function e(){for(var n=0;n<this.body.length;n++)if(Ur(this.body[n]))return this.body[n];return null}t(Br,uo),t(Je,e),t($i,e),t(Qr,function(){for(const n of this.properties)if(n instanceof Qn&&n.aborts())return n;return null}),t(Qn,e),t(Vt,function(){return this.alternative&&Ur(this.body)&&Ur(this.alternative)&&this})})(function(t,e){t.DEFMETHOD("aborts",e)}),ke.DEFMETHOD("contains_this",function(){return Ln(this,t=>{if(t instanceof Hn)return vr;if(t!==this&&t instanceof Ye&&!(t instanceof rn))return!0})});function fa(t,e,n,r,s,c){var p=e.parent(s),d=Lo(n,p);if(d)return d;if(!c&&p instanceof He&&p.expression===n&&!(r instanceof rn)&&!(r instanceof At)&&!p.is_callee_pure(t)&&(!(r instanceof Gt)||!(p instanceof cr)&&r.contains_this()))return!0;if(p instanceof Ft)return fa(t,e,p,p,s+1);if(p instanceof on&&n===p.value){var E=e.parent(s+1);return fa(t,e,E,E,s+2)}if(p instanceof Xe&&p.expression===n){var b=Md(r,p.property);return!c&&fa(t,e,p,b,s+1)}}function Gn(t,e){t.DEFMETHOD("_eval",e)}const ha=Symbol("This AST_Chain is nullish");ke.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 Mg=Bt("! ~ - + void");ke.DEFMETHOD("is_constant",function(){return this instanceof Nt?!(this instanceof yr):this instanceof qe&&this.expression instanceof Nt&&Mg.has(this.operator)}),Gn(Nn,function(){throw new Error(xu("Cannot evaluate a statement [{file}:{line},{col}]",this.start))}),Gn(ze,To),Gn(At,To),Gn(ke,To),Gn(Nt,function(){return this.getValue()});const Ug=typeof BigInt=="function";Gn(hi,function(){return Ug?BigInt(this.value):this}),Gn(yr,function(t){let e=t.evaluated_regexps.get(this.value);if(e===void 0&&yd(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}),Gn(Yn,function(){return this.segments.length!==1?this:this.segments[0].value}),Gn(Gt,function(t){if(t.option("unsafe")){var e=function(){};return e.node=this,e.toString=()=>this.print_to_string(),e}return this}),Gn(Ft,function(t,e){if(t.option("unsafe")){for(var n=[],r=0,s=this.elements.length;r<s;r++){var c=this.elements[r],p=c._eval(t,e);if(c===p)return this;n.push(p)}return n}return this}),Gn(jt,function(t,e){if(t.option("unsafe")){for(var n={},r=0,s=this.properties.length;r<s;r++){var c=this.properties[r];if(c instanceof gt)return this;var p=c.key;if(p instanceof vt)p=p.name;else if(p instanceof ke&&(p=p._eval(t,e),p===c.key))return this;if(typeof Object.prototype[p]=="function")return this;if(!(c.value instanceof Gt)&&(n[p]=c.value._eval(t,e),n[p]===c.value))return this}return n}return this});var Vg=Bt("! typeof void");Gn(qe,function(t,e){var n=this.expression;if(t.option("typeofs")&&this.operator=="typeof"&&(n instanceof ze||n instanceof De&&n.fixed_value()instanceof ze))return"function";if(Vg.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 jg=Bt("&& || ?? === !==");const Hg=Bt("== != === !=="),Kd=t=>typeof t=="object"||typeof t=="function"||typeof t=="symbol";Gn(pe,function(t,e){jg.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&&Hg.has(this.operator)&&Kd(n)&&Kd(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 s;switch(this.operator){case"&&":s=n&&r;break;case"||":s=n||r;break;case"??":s=n??r;break;case"|":s=n|r;break;case"&":s=n&r;break;case"^":s=n^r;break;case"+":s=n+r;break;case"*":s=n*r;break;case"**":s=n**r;break;case"/":s=n/r;break;case"%":s=n%r;break;case"-":s=n-r;break;case"<<":s=n<<r;break;case">>":s=n>>r;break;case">>>":s=n>>>r;break;case"==":s=n==r;break;case"===":s=n===r;break;case"!=":s=n!=r;break;case"!==":s=n!==r;break;case"<":s=n<r;break;case"<=":s=n<=r;break;case">":s=n>r;break;case">=":s=n>=r;break;default:return this}return typeof s=="number"&&isNaN(s)&&t.find_parent(xr)?this:s}),Gn(it,function(t,e){var n=this.condition._eval(t,e);if(n===this.condition)return this;var r=n?this.consequent:this.alternative,s=r._eval(t,e);return s===r?this:s});const Gf=new Set;Gn(De,function(t,e){if(Gf.has(this))return this;var n=this.fixed_value();if(!n)return this;Gf.add(this);const r=n._eval(t,e);if(Gf.delete(this),r===n)return this;if(r&&typeof r=="object"){var s=this.definition().escaped;if(s&&e>s)return this}return r});const Wd={Array,Math,Number,Object,String},$g=new Set(["dotAll","global","ignoreCase","multiline","sticky","unicode"]);Gn(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 ke&&(r=r._eval(t,e),r===this.property))return this;var s=this.expression;if(di(s)){var c,p=s.name==="hasOwnProperty"&&r==="call"&&(c=t.parent()&&t.parent().args)&&c&&c[0]&&c[0].evaluate(t);if(p=p instanceof Qt?p.expression:p,p==null||p.thedef&&p.thedef.undeclared)return this.clone();if(!Bg(s.name,r))return this;n=Wd[s.name]}else{if(n instanceof RegExp){if(r=="source")return Tu(n.source);if(r=="flags"||$g.has(r))return n[r]}if(!n||n===s||!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}),Gn(En,function(t,e){const n=this.expression._eval(t,e);return n===ha?void 0:n===this.expression?this:n}),Gn(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 s=n.property;if(s instanceof ke&&(s=s._eval(t,e),s===n.property))return this;var c,p=n.expression;if(di(p)){var d=p.name==="hasOwnProperty"&&s==="call"&&this.args[0]&&this.args[0].evaluate(t);if(d=d instanceof Qt?d.expression:d,d==null||d.thedef&&d.thedef.undeclared)return this.clone();if(!Gd(p.name,s))return this;c=Wd[p.name]}else{if(c=p._eval(t,e+1),c===p||!c)return this;if(!$d(c.constructor.name,s))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[s].apply(c,E)}catch{}}return this}),Gn(cr,To);function cn(t,e){t.DEFMETHOD("drop_side_effect_free",e)}function Ds(t,e,n){var r=t.length;if(!r)return null;for(var s=[],c=!1,p=0;p<r;p++){var d=t[p].drop_side_effect_free(e,n);c|=d!==t[p],d&&(s.push(d),n=!1)}return c?s.length?s:null:t}cn(ke,To),cn(Nt,uo),cn(Hn,uo),cn(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(Ku(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 s=Ds(this.args,t,e);return s&&ot(this,s)}),cn(Hi,uo),cn(Gt,uo),cn(rn,uo),cn(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 s of this.properties)if(s instanceof Qn){if(s.has_side_effects(t))return this}else{const c=s.drop_side_effect_free(t);c&&e.push(c)}if(!e.length)return null;const r=ot(this,e);return this instanceof Qr?V($e,this,{body:r}):r}),cn(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}),cn(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(Bo.has(this.operator)){if(n===this.right)return this;var r=this.clone();return r.right=n,r}else{var s=this.left.drop_side_effect_free(t,e);return s?ot(this,[s,n]):this.right.drop_side_effect_free(t,e)}}),cn(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(Dr(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}),cn(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}),cn(Jt,function(t,e){if(Xu.has(this.operator))return this.expression.has_side_effects(t)?ca(this,ua):Dr(this,ua),this;if(this.operator=="typeof"&&this.expression instanceof De)return null;var n=this.expression.drop_side_effect_free(t,e);return e&&n&&Mf(n)?n===this.expression&&this.operator=="!"?this:n.negate(t,e):n}),cn(De,function(t){return this.is_declared(t)||qu.has(this.name)?null:this}),cn(jt,function(t,e){var n=Ds(this.properties,t,e);return n&&ot(this,n)}),cn(dn,function(t,e){const r=this instanceof on&&this.key instanceof ke&&this.key.drop_side_effect_free(t,e),s=this.value&&this.value.drop_side_effect_free(t,e);return r&&s?ot(this,[r,s]):r||s}),cn(Un,function(){return this.computed_key()?this.key:null}),cn(Zr,function(){return this.computed_key()?this.key:null}),cn(ci,function(){return this.computed_key()?this.key:null}),cn(Ft,function(t,e){var n=Ds(this.elements,t,e);return n&&ot(this,n)}),cn(Qt,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)}),cn(Cn,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}),cn(En,function(t,e){return this.expression.drop_side_effect_free(t,e)}),cn(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(et,this,{value:0})}),cn(gt,function(t,e){return this.expression.drop_side_effect_free(t,e)}),cn(Si,uo),cn(Yn,function(t){var e=Ds(this.segments,t,pi);return e&&ot(this,e)});const Gg=/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 Zt)||t.toplevel.funcs,r=!(e instanceof Zt)||t.toplevel.vars;const s=Gg.test(t.option("unused"))?Ot:function(R){if(R instanceof lt&&!R.logical&&($n(R,ua)||R.operator=="="))return R.left;if(R instanceof Jt&&$n(R,ua))return R.expression};var c=new Map,p=new Map;e instanceof Zt&&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 Mn(function(R,v){if(R instanceof ze&&R.uses_arguments&&!x.has_directive("use strict")&&R.argnames.forEach(function(A){if(A instanceof In){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 an||R instanceof Qr){var h=R.name.definition();return(x.parent()instanceof Rn||!n&&T===e)&&h.global&&c.set(h.id,h),Su(E,h.id,R),!0}const g=T===e;if(R instanceof Bn&&g&&Su(d,R.definition().id,R),R instanceof pn&&g){const A=x.parent()instanceof Rn;return R.definitions.forEach(function(O){if(O.name instanceof Ki&&Su(d,O.name.definition().id,O),(A||!r)&&Ln(O.name,N=>{if(N instanceof In){const B=N.definition();B.global&&c.set(B.id,B)}}),O.name instanceof qt&&O.walk(x),O.name instanceof In&&O.value){var k=O.name.definition();Su(E,k.id,O.value),!k.chained&&O.name.fixed_value()===O.value&&p.set(k.id,O),O.value.has_side_effects(t)&&O.value.walk(x)}}),!0}return F(R,v)});e.walk(x),x=new Mn(F),c.forEach(function(R){var v=E.get(R.id);v&&v.forEach(function(h){h.walk(x)})}),b.forEach(function(R){R.walk(x)});var w=new br(function(v,h,g){var A=w.parent();if(r){const re=s(v);if(re instanceof De){var k=re.definition(),O=c.has(k.id);if(v instanceof lt){if(!O||p.has(k.id)&&p.get(k.id)!==v)return Po(A,v,v.right.transform(w))}else if(!O)return g?en.skip:V(et,v,{value:0})}}if(T===e){var k;if(v.name&&(v instanceof Di&&!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 Hi))for(var N=!t.option("keep_fargs"),B=v.argnames,H=B.length;--H>=0;){var U=B[H];U instanceof gt&&(U=U.expression),U instanceof Lr&&(U=U.left),!(U instanceof qt)&&!c.has(U.definition().id)?(Dr(U,_o),N&&B.pop()):N=!1}if(v instanceof Qr&&v!==e){const re=v.name.definition();if(h(v,this),!(re.global&&!n||c.has(re.id))){const ce=v.drop_side_effect_free(t);return ce??(re.eliminated++,g?en.skip:V(Ut,v))}return v}if(v instanceof an&&v!==e){const re=v.name.definition();if(!(re.global&&!n||c.has(re.id)))return re.eliminated++,g?en.skip:V(Ut,v)}if(v instanceof pn&&!(A instanceof Xn&&A.init===v)){var Y=!(A instanceof Zt)&&!(v instanceof Pn),P=[],G=[],q=[],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(Y&&ce.global)return q.push(re);if(!(r||Y)||ue&&(re.name.names.length||re.name.is_array||t.option("pure_getters")!=!0)||c.has(ce.id)){if(re.value&&p.has(ce.id)&&p.get(ce.id)!==re&&(re.value=re.value.drop_side_effect_free(t)),re.name instanceof Ki){var Ee=d.get(ce.id);if(Ee.length>1&&(!re.value||ce.orig.indexOf(re.name)>ce.eliminated)){if(re.value){var xe=V(De,re.name,re.name);ce.references.push(xe);var _e=V(lt,re,{operator:"=",logical:!1,left:xe,right:re.value});p.get(ce.id)===re&&p.set(ce.id,_e),ne.push(_e.transform(w))}Zo(Ee,re),ce.eliminated++;return}}re.value?(ne.length>0&&(q.length>0?(ne.push(re.value),re.value=ot(re.value,ne)):P.push(V($e,v,{body:ot(v,ne)})),ne=[]),q.push(re)):G.push(re)}else if(ce.orig[0]instanceof Jr){var oe=re.value&&re.value.drop_side_effect_free(t);oe&&ne.push(oe),re.value=null,G.push(re)}else{var oe=re.value&&re.value.drop_side_effect_free(t);oe&&ne.push(oe),ce.eliminated++}}),(G.length>0||q.length>0)&&(v.definitions=G.concat(q),P.push(v)),ne.length>0&&P.push(V($e,v,{body:ot(v,ne)})),P.length){case 0:return g?en.skip:V(Ut,v);case 1:return P[0];default:return g?en.splice(P):V(Je,v,{body:P})}}if(v instanceof An){h(v,this);var se;return v.init instanceof Je&&(se=v.init,v.init=se.body.pop(),se.body.push(v)),v.init instanceof $e?v.init=v.init.body:mo(v.init)&&(v.init=null),se?g?en.splice(se.body):se:v}if(v instanceof nr&&v.body instanceof An){if(h(v,this),v.body instanceof Je){var se=v.body;return v.body=se.body.pop(),se.body.push(v),g?en.splice(se.body):se}return v}if(v instanceof Je)return h(v,this),g&&v.body.every(Vf)?en.splice(v.body):v;if(v instanceof Ye&&!(v instanceof Qn)){const re=T;return T=v,h(v,this),T=re,v}}});e.transform(w);function F(R,v){var h;const g=s(R);if(g instanceof De&&!Uf(R.left,Wi)&&e.variables.get(g.name)===(h=g.definition()))return R instanceof lt&&(R.right.walk(x),!h.chained&&R.left.fixed_value()===R.right&&p.set(h.id,R)),!0;if(R instanceof De){if(h=R.definition(),!c.has(h.id)&&(c.set(h.id,h),h.orig[0]instanceof Jr)){const O=h.scope.is_block_scope()&&h.scope.get_defun_scope().variables.get(h.name);O&&c.set(O.id,O)}return!0}if(R instanceof At)return v(),!0;if(R instanceof Ye&&!(R instanceof Qn)){var A=T;return T=R,v(),T=A,!0}}});function _n(t,e){t.DEFMETHOD("reduce_vars",e)}_n(ke,Er);function zf(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 Bn&&e.scope.uses_arguments?e.fixed=!1:e.orig[0]instanceof fo||!t.exposed(e)?e.fixed=e.init:e.fixed=!1}function Kf(t,e,n){n.variables.forEach(function(r){zf(e,r),r.fixed===null?(t.defs_to_safe_ids.set(r.id,t.safe_ids),Qi(t,r,!0)):r.fixed&&(t.loop_ids.set(r.id,t.in_loop),Qi(t,r,!0))})}function Mo(t,e){e.block_scope&&e.block_scope.variables.forEach(n=>{zf(t,n)})}function xn(t){t.safe_ids=Object.create(t.safe_ids)}function Fn(t){t.safe_ids=Object.getPrototypeOf(t.safe_ids)}function Qi(t,e,n){t.safe_ids[e.id]=n}function qd(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 Bn||n.name=="arguments")return!1;e.fixed=V(sn,n)}return!0}return e.fixed instanceof an}function Wf(t,e,n,r){if(e.fixed===void 0)return!0;let s;return e.fixed===null&&(s=t.defs_to_safe_ids.get(e.id))?(s[e.id]=!1,t.defs_to_safe_ids.delete(e.id),!0):!sr(t.safe_ids,e.id)||!qd(t,e)||e.fixed===!1||e.fixed!=null&&(!r||e.references.length>e.assignments)?!1:e.fixed instanceof an?r instanceof ke&&e.fixed.parent_scope===n:e.orig.every(c=>!(c instanceof fo||c instanceof ki||c instanceof fi))}function zg(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 Kg(t){return t?t.is_constant()||t instanceof ze||t instanceof Hn:!1}function ks(t,e,n,r,s,c=0,p=1){var d=t.parent(c);if(!(s&&(s.is_constant()||s instanceof Di))){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 Tr&&r===d.value&&r.scope!==e.scope){p>1&&!(s&&s.is_constant_expression(n))&&(p=1),(!e.escaped||e.escaped>p)&&(e.escaped=p);return}else if(d instanceof Ft||d instanceof Sr||d instanceof pe&&Bo.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,p);else if(d instanceof on&&r===d.value){var E=t.parent(c+1);ks(t,e,n,E,E,c+2,p)}else if(d instanceof Xe&&r===d.expression&&(s=Md(s,d.property),ks(t,e,n,d,s,c+1,p+1),s))return;c>0||d instanceof mt&&r!==d.tail_node()||d instanceof $e||(e.direct_access=!0)}}const qf=t=>Ln(t,e=>{if(e instanceof vt){var n=e.definition();n&&(e instanceof De&&n.references.push(e),n.fixed=!1)}});_n(Hi,function(t,e,n){return xn(t),Kf(t,n,this),e(),Fn(t),!0}),_n(lt,function(t,e,n){var r=this;if(r.left instanceof qt){qf(r.left);return}const s=()=>{if(r.logical)return r.left.walk(t),xn(t),r.right.walk(t),Fn(t),!0};var c=r.left;if(!(c instanceof De))return s();var p=c.definition(),d=Wf(t,p,c.scope,r.right);if(p.assignments++,!d)return s();var E=p.fixed;if(!E&&r.operator!="="&&!r.logical)return s();var b=r.operator=="=",T=b?r.right:r;return fa(n,t,r,T,0)?s():(p.references.push(c),r.logical||(b||(p.chained=!0),p.fixed=b?function(){return r.right}:function(){return V(pe,r,{operator:r.operator.slice(0,-1),left:E instanceof ke?E:E(),right:r.right})}),r.logical?(Qi(t,p,!1),xn(t),r.right.walk(t),Fn(t),!0):(Qi(t,p,!1),r.right.walk(t),Qi(t,p,!0),ks(t,p,c.scope,r,T,0,1),!0))}),_n(pe,function(t){if(Bo.has(this.operator))return this.left.walk(t),xn(t),this.right.walk(t),Fn(t),!0}),_n(Tn,function(t,e,n){Mo(n,this)}),_n(ri,function(t){return xn(t),this.expression.walk(t),Fn(t),xn(t),Co(this,t),Fn(t),!0}),_n(At,function(t,e){return ca(this,Cs),xn(t),e(),Fn(t),!0}),_n(Qn,function(t,e,n){Mo(n,this)}),_n(it,function(t){return this.condition.walk(t),xn(t),this.consequent.walk(t),Fn(t),xn(t),this.alternative.walk(t),Fn(t),!0}),_n(En,function(t,e){const n=t.safe_ids;return e(),t.safe_ids=n,!0}),_n(He,function(t){this.expression.walk(t),this.optional&&xn(t);for(const e of this.args)e.walk(t);return!0}),_n(Xe,function(t){if(this.optional)return this.expression.walk(t),xn(t),this.property instanceof ke&&this.property.walk(t),!0}),_n(Oo,function(t,e){return xn(t),e(),Fn(t),!0});function Wg(t,e,n){ca(this,Cs),xn(t),Kf(t,n,this);var r;return!this.name&&!this.uses_arguments&&!this.pinned()&&(r=t.parent())instanceof He&&r.expression===this&&!r.args.some(s=>s instanceof gt)&&this.argnames.every(s=>s instanceof vt)&&this.argnames.forEach((s,c)=>{if(s.definition){var p=s.definition();p.orig.length>1||(p.fixed===void 0&&(!this.uses_arguments||t.has_directive("use strict"))?(p.fixed=function(){return r.args[c]||V(sn,r)},t.loop_ids.set(p.id,t.in_loop),Qi(t,p,!0)):p.fixed=!1)}}),e(),Fn(t),Xd(this),!0}function Xd(t){const e=[];Ln(t,c=>{if(c!==t&&(c instanceof an&&e.push(c),c instanceof Ye||c instanceof $e))return!0});const n=new Set,r=new Set,s=[];for(const c of e){const p=c.name.definition(),d=e.some(E=>E!==c&&E.enclosed.indexOf(p)!==-1);for(const E of c.enclosed)if(!(E.fixed===!1||E===p||E.scope.get_defun_scope()!==t)&&!(E.assignments===0&&E.orig.length===1&&E.orig[0]instanceof ki)){if(d){E.fixed=!1;continue}s.push({defun:c,def:E,fname_def:p}),n.add(E.id),n.add(p.id),r.add(c)}}if(s.length){const c=[],p=new Set,d=new Map;let E;t.walk(E=new Mn((b,T)=>{if(b instanceof an&&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 In||Lo(b,E))&&p.add(c.length),c.push(x))}}));for(const{def:b,defun:T,fname_def:x}of s){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&&!p.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)}}}_n(ze,Wg),_n(xi,function(t,e,n){Mo(n,this);const r=t.in_loop;return t.in_loop=this,xn(t),this.body.walk(t),Lf(this)&&(Fn(t),xn(t)),this.condition.walk(t),Fn(t),t.in_loop=r,!0}),_n(An,function(t,e,n){Mo(n,this),this.init&&this.init.walk(t);const r=t.in_loop;return t.in_loop=this,xn(t),this.condition&&this.condition.walk(t),this.body.walk(t),this.step&&(Lf(this)&&(Fn(t),xn(t)),this.step.walk(t)),Fn(t),t.in_loop=r,!0}),_n(Xn,function(t,e,n){Mo(n,this),qf(this.init),this.object.walk(t);const r=t.in_loop;return t.in_loop=this,xn(t),this.body.walk(t),Fn(t),t.in_loop=r,!0}),_n(Vt,function(t){return this.condition.walk(t),xn(t),this.body.walk(t),Fn(t),this.alternative&&(xn(t),this.alternative.walk(t),Fn(t)),!0}),_n(nr,function(t){return xn(t),this.body.walk(t),Fn(t),!0}),_n(Jr,function(){this.definition().fixed=!1}),_n(De,function(t,e,n){var r=this.definition();r.references.push(this),r.references.length==1&&!r.fixed&&r.orig[0]instanceof ki&&t.loop_ids.set(r.id,t.in_loop);var s;r.fixed===void 0||!qd(t,r)?r.fixed=!1:r.fixed&&(s=this.fixed_value(),s instanceof ze&&jf(t,r)?r.recursive_refs++:s&&!n.exposed(r)&&zg(t,n,r)?r.single_use=s instanceof ze&&!s.pinned()||s instanceof At||r.scope===this.scope&&s.is_constant_expression():r.single_use=!1,fa(n,t,this,s,0,Kg(s))&&(r.single_use?r.single_use="m":r.fixed=!1)),ks(t,r,this.scope,this,s,0,1)}),_n(Zt,function(t,e,n){return this.globals.forEach(function(r){zf(n,r)}),Kf(t,n,this),e(),Xd(this),!0}),_n(Ar,function(t,e,n){return Mo(n,this),xn(t),this.body.walk(t),Fn(t),this.bcatch&&(xn(t),this.bcatch.walk(t),Fn(t)),this.bfinally&&this.bfinally.walk(t),!0}),_n(Jt,function(t){var e=this;if(!(e.operator!=="++"&&e.operator!=="--")){var n=e.expression;if(n instanceof De){var r=n.definition(),s=Wf(t,r,n.scope,!0);if(r.assignments++,!!s){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 ke?c:c()}),right:V(et,e,{value:1})})},Qi(t,r,!0),!0}}}}),_n(zt,function(t,e){var n=this;if(n.name instanceof qt){qf(n.name);return}var r=n.name.definition();if(n.value){if(Wf(t,r,n.name.scope,n.value))return r.fixed=function(){return n.value},t.loop_ids.set(r.id,t.in_loop),Qi(t,r,!1),e(),Qi(t,r,!0),!0;r.fixed=!1}}),_n(ji,function(t,e,n){Mo(n,this);const r=t.in_loop;return t.in_loop=this,xn(t),e(),Fn(t),t.in_loop=r,!0});function Xf(t){return t instanceof qr&&t.body instanceof Je?t.body:t}function Yd(t){if(t instanceof Hn)return!0;if(t instanceof De)return t.definition().orig[0]instanceof fi;if(t instanceof Xe){if(t=t.expression,t instanceof De){if(t.is_immutable())return!1;t=t.fixed_value()}return t?t instanceof yr?!1:t instanceof Nt?!0:Yd(t):!0}return!1}function qg(t){var e=[];return t.definitions.forEach(function(n){n.name instanceof In?(n.value=null,e.push(n)):n.declarations_as_names().forEach(r=>{e.push(V(zt,n,{name:r,value:null}))})}),e.length?V(Pn,t,{definitions:e}):null}function Uo(t,e,n){Ln(e,r=>{if(r instanceof Pn){const s=qg(r);return s&&n.push(s),!0}if(r instanceof an&&(r===e||!t.has_directive("use strict")))return n.push(r===e?r:V(Pn,r,{definitions:[V(zt,r,{name:V(Ki,r.name,r.name),value:null})]})),!0;if(r instanceof Rn||r instanceof Br)return n.push(r),!0;if(r instanceof Ye)return!0})}function Yu(t,e){const n=e.find_scope(),r=n.get_defun_scope(),{in_loop:s,in_try:c}=E();var p,d=10;do p=!1,T(t),e.option("dead_code")&&w(t,e),e.option("if_return")&&x(t,e),e.sequences_limit>0&&(R(t,e),h(t,e)),e.option("join_vars")&&A(t),e.option("collapse_vars")&&b(t,e);while(p&&d-- >0);function E(){var O=e.self(),k=0,N=!1,B=!1;do if(O instanceof qr)N=!0;else{if(O instanceof Ye)break;O instanceof Lu&&(B=!0)}while(O=e.parent(k++));return{in_loop:N,in_try:B}}function b(O,k){if(n.pinned()||r.pinned())return O;for(var N,B=[],H=O.length,U=new br(function(z){if(te)return z;if(!J)return z!==P[G]?z:(G++,G<P.length?ht(z):(J=!0,se=Oe(z,0),se===z&&(te=!0),z));var Fe=U.parent();if(z instanceof lt&&(z.logical||z.operator!="="&&ue.equivalent_to(z.left))||z instanceof Sr||z instanceof He&&ue instanceof Xe&&ue.equivalent_to(z.expression)||(z instanceof He||z instanceof Xe)&&z.optional||z instanceof Vi||z instanceof qt||z instanceof gt&&z.expression instanceof vt&&(z.expression instanceof Hn||z.expression.definition().references.length>1)||z instanceof qr&&!(z instanceof An)||z instanceof ni||z instanceof Ar||z instanceof xr||z instanceof Tr||z instanceof Rn||z instanceof At||Fe instanceof An&&z!==Fe.init||!_e&&z instanceof De&&!z.is_declared(k)&&!qu.has(z)||z instanceof De&&Fe instanceof He&&pr(Fe,Fo)||z instanceof dn&&z.key instanceof ke)return te=!0,z;if(!re&&(!Ee||!_e)&&(Fe instanceof pe&&Bo.has(Fe.operator)&&Fe.left!==z||Fe instanceof it&&Fe.condition!==z||Fe instanceof Vt&&Fe.condition!==z)&&(re=Fe),me&&!(z instanceof In)&&ue.equivalent_to(z)&&!rr(U.find_scope()||n,ce)){if(re)return te=!0,z;if(Lo(z,Fe))return ne&&ve++,z;if(ve++,ne&&q instanceof zt)return z;if(p=te=!0,q instanceof zi)return V(qe,q,q);if(q instanceof zt){var Ue=q.name.definition(),Ie=q.value;return Ue.references.length-Ue.replaced==1&&!k.exposed(Ue)?(Ue.replaced++,X&&Vd(Ie)?Ie.transform(k):Po(Fe,z,Ie)):V(lt,q,{operator:"=",logical:!1,left:V(De,q.name,q.name),right:Ie})}return ca(q,ua),q}var Qe;return(z instanceof He||z instanceof _r&&(xe||ue instanceof Xe||It(ue))||z instanceof Xe&&(xe||z.expression.may_throw_on_access(k))||z instanceof De&&(ce.has(z.name)&&ce.get(z.name).modified||xe&&It(z))||z instanceof zt&&z.value&&(ce.has(z.name.name)||xe&&It(z.name))||(Qe=Lo(z.left,z))&&(Qe instanceof Xe||ce.has(Qe.name))||oe&&(c?z.has_side_effects(k):tn(z)))&&(se=z,z instanceof Ye&&(te=!0)),ht(z)},function(z){te||(se===z&&(te=!0),re===z&&(re=null))}),Y=new br(function(z){if(te)return z;if(!J)return z!==P[G]?z:(G++,G<P.length?void 0:(J=!0,z));if(z instanceof De&&z.name==Ve.name)return--ve||(te=!0),Lo(z,Y.parent())?z:(Ve.replaced++,ne.replaced--,q.value);if(z instanceof Oo||z instanceof Ye)return z});--H>=0;){H==0&&k.option("unused")&&Ct();var P=[];for(le(O[H]);B.length>0;){P=B.pop();var G=0,q=P[P.length-1],ne=null,se=null,re=null,ue=pt(q);if(!(!ue||Yd(ue)||ue.has_side_effects(k))){var ce=Rt(q),Ee=Dt(ue);ue instanceof De&&ce.set(ue.name,{def:ue.definition(),modified:!1});var xe=Pt(q),_e=kt(),oe=q.may_throw(k),X=q.name instanceof Bn,J=X,te=!1,ve=0,me=!N||!J;if(!me){for(let z=k.self().argnames.lastIndexOf(q.name)+1;!te&&z<N.length;z++)N[z].transform(U);me=!0}for(var Ze=H;!te&&Ze<O.length;Ze++)O[Ze].transform(U);if(ne){var Ve=q.name.definition();if(te&&Ve.references.length-Ve.replaced>ve)ve=!1;else{te=!1,G=0,J=X;for(var Ze=H;!te&&Ze<O.length;Ze++)O[Ze].transform(Y);ne.single_use=!1}}ve&&!mn(q)&&O.splice(H,1)}}}function ht(z){if(z instanceof Ye)return z;if(z instanceof Zn){z.expression=z.expression.transform(U);for(var Fe=0,Ue=z.body.length;!te&&Fe<Ue;Fe++){var Ie=z.body[Fe];if(Ie instanceof ri){if(!J){if(Ie!==P[G])continue;G++}if(Ie.expression=Ie.expression.transform(U),!_e)break}}return te=!0,z}}function wt(z,Fe){if(z.global)return!1;let Ue=z.scope;for(;Ue&&Ue!==Fe;){if(Ue.variables.has(z.name))return!0;Ue=Ue.parent_scope}return!1}function yt(z,Fe,Ue){var Ie=!1,Qe=!(z instanceof rn);return Fe.walk(new Mn(function($t,ft){if(Ie)return!0;if($t instanceof De&&(z.variables.has($t.name)||wt($t.definition(),z))){var ln=$t.definition().scope;if(ln!==r){for(;ln=ln.parent_scope;)if(ln===r)return!0}return Ie=!0}if((Ue||Qe)&&$t instanceof Hn)return Ie=!0;if($t instanceof Ye&&!($t instanceof rn)){var yn=Qe;return Qe=!1,ft(),Qe=yn,!0}})),Ie}function St(z){return!(z instanceof gt||Ln(z,Ue=>{if(Ue instanceof Sr)return vr}))}function Ct(){var z,Fe=k.self();if(Ku(Fe)&&!Fe.name&&!Fe.uses_arguments&&!Fe.pinned()&&(z=k.parent())instanceof He&&z.expression===Fe&&z.args.every(St)){var Ue=k.has_directive("use strict");Ue&&!yf(Ue,Fe.body)&&(Ue=!1);var Ie=Fe.argnames.length;N=z.args.slice(Ie);for(var Qe=new Set,$t=Ie;--$t>=0;){var ft=Fe.argnames[$t],ln=z.args[$t];const Vr=ft.definition&&ft.definition();if(!(Vr&&Vr.orig.length>1)&&(N.unshift(V(zt,ft,{name:ft,value:ln})),!Qe.has(ft.name)))if(Qe.add(ft.name),ft instanceof gt){var yn=z.args.slice($t);yn.every(nn=>!yt(Fe,nn,Ue))&&B.unshift([V(zt,ft,{name:ft.expression,value:V(Ft,z,{elements:yn})})])}else ln?(ln instanceof ze&&ln.pinned()||yt(Fe,ln,Ue))&&(ln=null):ln=V(sn,ft).transform(k),ln&&B.unshift([V(zt,ft,{name:ft,value:ln})])}}}function le(z){if(P.push(z),z instanceof lt)!z.left.has_side_effects(k)&&!(z.right instanceof En)&&B.push(P.slice()),le(z.right);else if(z instanceof pe)le(z.left),le(z.right);else if(z instanceof He&&!pr(z,Fo))le(z.expression),z.args.forEach(le);else if(z instanceof ri)le(z.expression);else if(z instanceof it)le(z.condition),le(z.consequent),le(z.alternative);else if(z instanceof pn){var Fe=z.definitions.length,Ue=Fe-200;for(Ue<0&&(Ue=0);Ue<Fe;Ue++)le(z.definitions[Ue])}else z instanceof Bu?(le(z.condition),z.body instanceof Tn||le(z.body)):z instanceof _r?z.value&&le(z.value):z instanceof An?(z.init&&le(z.init),z.condition&&le(z.condition),z.step&&le(z.step),z.body instanceof Tn||le(z.body)):z instanceof Xn?(le(z.object),z.body instanceof Tn||le(z.body)):z instanceof Vt?(le(z.condition),z.body instanceof Tn||le(z.body),z.alternative&&!(z.alternative instanceof Tn)&&le(z.alternative)):z instanceof mt?z.expressions.forEach(le):z instanceof $e?le(z.body):z instanceof Zn?(le(z.expression),z.body.forEach(le)):z instanceof Jt?(z.operator=="++"||z.operator=="--")&&B.push(P.slice()):z instanceof zt&&z.value&&!(z.value instanceof En)&&(B.push(P.slice()),le(z.value));P.pop()}function Oe(z,Fe,Ue){var Ie=U.parent(Fe);return Ie instanceof lt?Ue&&!Ie.logical&&!(Ie.left instanceof Xe||ce.has(Ie.left.name))?Oe(Ie,Fe+1,Ue):z:Ie instanceof pe?Ue&&(!Bo.has(Ie.operator)||Ie.left===z)?Oe(Ie,Fe+1,Ue):z:Ie instanceof He||Ie instanceof ri?z:Ie instanceof it?Ue&&Ie.condition===z?Oe(Ie,Fe+1,Ue):z:Ie instanceof pn?Oe(Ie,Fe+1,!0):Ie instanceof _r?Ue?Oe(Ie,Fe+1,Ue):z:Ie instanceof Vt?Ue&&Ie.condition===z?Oe(Ie,Fe+1,Ue):z:Ie instanceof qr?z:Ie instanceof mt?Oe(Ie,Fe+1,Ie.tail_node()!==z):Ie instanceof $e?Oe(Ie,Fe+1,!0):Ie instanceof Zn||Ie instanceof zt?z:null}function be(z){var Fe=z.value;if(Fe instanceof De&&Fe.name!="arguments"){var Ue=Fe.definition();if(!Ue.undeclared)return ne=Ue}}function pt(z){if(z instanceof lt&&z.logical)return!1;if(z instanceof zt&&z.name instanceof In){var Fe=z.name.definition();if(!yf(z.name,Fe.orig))return;var Ue=Fe.references.length-Fe.replaced;if(!Ue)return;var Ie=Fe.orig.length-Fe.eliminated;if(Ie>1&&!(z.name instanceof Bn)||(Ue>1?be(z):!k.exposed(Fe)))return V(De,z.name,z.name)}else{const Qe=z instanceof lt?z.left:z.expression;return!Uf(Qe,fo)&&!Uf(Qe,ta)&&Qe}}function Et(z){return z instanceof lt?z.right:z.value}function Rt(z){var Fe=new Map;if(z instanceof Jt)return Fe;var Ue=new Mn(function(Ie){for(var Qe=Ie;Qe instanceof Xe;)Qe=Qe.expression;if(Qe instanceof De){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(z).walk(Ue),Fe}function mn(z){if(z.name instanceof Bn){var Fe=k.parent(),Ue=k.self().argnames,Ie=Ue.indexOf(z.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(et,Qe[Ie],{value:0}))}return!0}var $t=!1;return O[H].transform(new br(function(ft,ln,yn){if($t)return ft;if(ft===z||ft.body===z)return $t=!0,ft instanceof zt?(ft.value=ft.name instanceof fo?V(sn,ft.value):null,ft):yn?en.skip:null},function(ft){if(ft instanceof mt)switch(ft.expressions.length){case 0:return null;case 1:return ft.expressions[0]}}))}function Dt(z){for(;z instanceof Xe;)z=z.expression;return z instanceof De&&z.definition().scope.get_defun_scope()===r&&!(s&&(ce.has(z.name)||q instanceof Jt||q instanceof lt&&!q.logical&&q.operator!="="))}function Pt(z){return z instanceof Jt?Xu.has(z.operator):Et(z).has_side_effects(k)}function kt(){if(xe)return!1;if(ne)return!0;if(ue instanceof De){var z=ue.definition();if(z.references.length-z.replaced==(q instanceof zt?1:2))return!0}return!1}function It(z){if(!z.definition)return!0;var Fe=z.definition();return Fe.orig.length==1&&Fe.orig[0]instanceof ki?!1:Fe.scope.get_defun_scope()!==r?!0:Fe.references.some(Ue=>Ue.scope.get_defun_scope()!==r)}function tn(z,Fe){if(z instanceof lt)return tn(z.left,!0);if(z instanceof Jt)return tn(z.expression,!0);if(z instanceof zt)return z.value&&tn(z.value);if(Fe){if(z instanceof Qt||z instanceof Cn)return tn(z.expression,!0);if(z instanceof De)return z.definition().scope.get_defun_scope()!==r}return!1}function rr(z,Fe){for(const{def:Ue}of Fe.values()){const Ie=z.find_variable(Ue.name);if(Ie){if(Ie===Ue)continue;return!0}}return!1}}function T(O){for(var k=[],N=0;N<O.length;){var B=O[N];B instanceof Je&&B.body.every(Vf)?(p=!0,T(B.body),O.splice(N,1,...B.body),N+=B.body.length):B instanceof Ut?(p=!0,O.splice(N,1)):B instanceof ur?k.indexOf(B.value)<0?(N++,k.push(B.value)):(p=!0,O.splice(N,1)):N++}}function x(O,k){var N=k.self(),B=re(O),H=N instanceof ze;const U=Math.min(O.length,500);for(var Y=U;--Y>=0;){var P=O[Y],G=_e(Y),q=O[G];if(H&&!q&&P instanceof hn){if(!P.value){p=!0,O.splice(Y,1);continue}if(P.value instanceof qe&&P.value.operator=="void"){p=!0,O[Y]=V($e,P,{body:P.value.expression});continue}}if(P instanceof Vt){let X,J;if(X=Ur(P.body),ce(X)&&(J=xe(P.body,X))){X.label&&Zo(X.label.thedef.references,X),p=!0,P=P.clone(),P.condition=P.condition.negate(k),P.body=V(Je,P,{body:Wu(P.alternative).concat(Ee())}),P.alternative=V(Je,P,{body:J}),O[Y]=P.transform(k);continue}if(X=Ur(P.alternative),ce(X)&&(J=xe(P.alternative,X))){X.label&&Zo(X.label.thedef.references,X),p=!0,P=P.clone(),P.body=V(Je,P.body,{body:Wu(P.body).concat(Ee())}),P.alternative=V(Je,P.alternative,{body:J}),O[Y]=P.transform(k);continue}}if(P instanceof Vt&&P.body instanceof hn){var ne=P.body.value;if(!ne&&!P.alternative&&(H&&!q||q instanceof hn&&!q.value)){p=!0,O[Y]=V($e,P.condition,{body:P.condition});continue}if(ne&&!P.alternative&&q instanceof hn&&q.value){p=!0,P=P.clone(),P.alternative=q,O[Y]=P.transform(k),O.splice(G,1);continue}if(ne&&!P.alternative&&(!q&&H&&B||q instanceof hn)){p=!0,P=P.clone(),P.alternative=q||V(hn,P,{value:null}),O[Y]=P.transform(k),q&&O.splice(G,1);continue}var se=O[oe(Y)];if(k.option("sequences")&&H&&!P.alternative&&se instanceof Vt&&se.body instanceof hn&&_e(G)==O.length&&q instanceof $e){p=!0,P=P.clone(),P.alternative=V(Je,q,{body:[q,V(hn,q,{value:null})]}),O[Y]=P.transform(k),O.splice(G,1);continue}}}function re(X){for(var J=0,te=X.length;--te>=0;){var ve=X[te];if(ve instanceof Vt&&ve.body instanceof hn&&++J>1)return!0}return!1}function ue(X){return!X||X instanceof qe&&X.operator=="void"}function ce(X){if(!X)return!1;for(var J=Y+1,te=O.length;J<te;J++){var ve=O[J];if(ve instanceof ai||ve instanceof oi)return!1}var me=X instanceof ni?k.loopcontrol_target(X):null;return X instanceof hn&&H&&ue(X.value)||X instanceof lo&&N===Xf(me)||X instanceof Ir&&me instanceof Je&&N===me}function Ee(){var X=O.slice(Y+1);return O.length=Y+1,X.filter(function(J){return J instanceof an?(O.push(J),!1):!0})}function xe(X,J){var te=Wu(X);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(X){for(var J=X+1,te=O.length;J<te;J++){var ve=O[J];if(!(ve instanceof Pn&&F(ve)))break}return J}function oe(X){for(var J=X;--J>=0;){var te=O[J];if(!(te instanceof Pn&&F(te)))break}return J}}function w(O,k){for(var N,B=k.self(),H=0,U=0,Y=O.length;H<Y;H++){var P=O[H];if(P instanceof ni){var G=k.loopcontrol_target(P);P instanceof Ir&&!(G instanceof qr)&&Xf(G)===B||P instanceof lo&&Xf(G)===B?P.label&&Zo(P.label.thedef.references,P):O[U++]=P}else O[U++]=P;if(Ur(P)){N=O.slice(H+1);break}}O.length=U,p=U!=Y,N&&N.forEach(function(q){Uo(k,q,O)})}function F(O){return O.definitions.every(k=>!k.value)}function R(O,k){if(O.length<2)return;var N=[],B=0;function H(){if(N.length){var q=ot(N[0],N);O[B++]=V($e,q,{body:q}),N=[]}}for(var U=0,Y=O.length;U<Y;U++){var P=O[U];if(P instanceof $e){N.length>=k.sequences_limit&&H();var G=P.body;N.length>0&&(G=G.drop_side_effect_free(k)),G&&Bf(N,G)}else P instanceof pn&&F(P)||P instanceof an||H(),O[B++]=P}H(),O.length=B,B!=Y&&(p=!0)}function v(O,k){if(!(O instanceof Je))return O;for(var N=null,B=0,H=O.body.length;B<H;B++){var U=O.body[B];if(U instanceof Pn&&F(U))k.push(U);else{if(N||U instanceof ai||U instanceof oi)return!1;N=U}}return N}function h(O,k){function N(se){B--,p=!0;var re=H.body;return ot(re,[re,se]).transform(k)}for(var B=0,H,U=0;U<O.length;U++){var Y=O[U];if(H&&(Y instanceof _r?Y.value=N(Y.value||V(sn,Y).transform(k)):Y instanceof An?Y.init instanceof pn||Ln(H.body,re=>{if(re instanceof Ye)return!0;if(re instanceof pe&&re.operator==="in")return vr})||(Y.init?Y.init=N(Y.init):(Y.init=H.body,B--,p=!0)):Y instanceof Xn?!(Y.init instanceof ai)&&!(Y.init instanceof oi)&&(Y.object=N(Y.object)):Y instanceof Vt?Y.condition=N(Y.condition):(Y instanceof Zn||Y instanceof xr)&&(Y.expression=N(Y.expression))),k.option("conditionals")&&Y instanceof Vt){var P=[],G=v(Y.body,P),q=v(Y.alternative,P);if(G!==!1&&q!==!1&&P.length>0){var ne=P.length;P.push(V(Vt,Y,{condition:Y.condition,body:G||V(Ut,Y.body),alternative:q})),P.unshift(B,1),[].splice.apply(O,P),U+=ne,B+=ne+1,H=null,p=!0;continue}}O[B++]=Y,H=Y instanceof $e?Y:null}O.length=B}function g(O,k){if(O instanceof pn){var N=O.definitions[O.definitions.length-1];if(N.value instanceof jt){var B;if(k instanceof lt&&!k.logical?B=[k]:k instanceof mt&&(B=k.expressions.slice()),!!B){var H=!1;do{var U=B[0];if(!(U instanceof lt)||U.operator!="="||!(U.left instanceof Xe))break;var Y=U.left.expression;if(!(Y instanceof De)||N.name.name!=Y.name||!U.right.is_constant_expression(n))break;var P=U.left.property;if(P instanceof ke&&(P=P.evaluate(e)),P instanceof ke)break;P=""+P;var G=e.option("ecma")<2015&&e.has_directive("use strict")?function(ne){return ne.key!=P&&ne.key&&ne.key.name!=P}:function(ne){return ne.key&&ne.key.name!=P};if(!N.value.properties.every(G))break;var q=N.value.properties.filter(function(ne){return ne.key===P})[0];q?q.value=new mt({start:q.start,expressions:[q.value.clone(),U.right.clone()],end:q.end}):N.value.properties.push(V(on,U,{key:P,value:U.right})),B.shift(),H=!0}while(B.length);return H&&B}}}}function A(O){for(var k,N=0,B=-1,H=O.length;N<H;N++){var U=O[N],Y=O[B];if(U instanceof pn)Y&&Y.TYPE==U.TYPE?(Y.definitions=Y.definitions.concat(U.definitions),p=!0):k&&k.TYPE==U.TYPE&&F(U)?(k.definitions=k.definitions.concat(U.definitions),p=!0):(O[++B]=U,k=U);else if(U instanceof _r)U.value=G(U.value);else if(U instanceof An){var P=g(Y,U.init);P?(p=!0,U.init=P.length?ot(U.init,P):null,O[++B]=U):Y instanceof Pn&&(!U.init||U.init.TYPE==Y.TYPE)?(U.init&&(Y.definitions=Y.definitions.concat(U.init.definitions)),U.init=Y,O[B]=U,p=!0):k instanceof Pn&&U.init instanceof Pn&&F(U.init)?(k.definitions=k.definitions.concat(U.init.definitions),U.init=null,O[++B]=U,p=!0):O[++B]=U}else if(U instanceof Xn)U.object=G(U.object);else if(U instanceof Vt)U.condition=G(U.condition);else if(U instanceof $e){var P=g(Y,U.body);if(P){if(p=!0,!P.length)continue;U.body=ot(U.body,P)}O[++B]=U}else U instanceof Zn||U instanceof xr?U.expression=G(U.expression):O[++B]=U}O.length=B+1;function G(q){O[++B]=U;var ne=g(Y,q);return ne?(p=!0,ne.length?ot(q,ne):q instanceof mt?q.tail_node().left:q.left):q}}}function Xg(t){for(var e,n=0;e=t.parent(n++);){if(e instanceof Nn)return!1;if(e instanceof Ft||e instanceof on||e instanceof jt)return!0}return!1}function Yf(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 Yg(t,e){if(t.orig.length===1&&e){const n=e.size(),r=t.name.length;return n>r}return!0}function Zg(t,e){if(e.in_computed_key())return t;const n=e.parent(),r=t.definition(),s=e.find_scope();let c=t.fixed_value();if(e.top_retain&&r.global&&e.top_retain(r)&&Yg(r,c))return r.fixed=!1,r.single_use=!1,t;let p=r.single_use&&!(n instanceof He&&n.is_callee_pure(e)||pr(n,Fo))&&!(n instanceof Rn&&c instanceof ze&&c.name);if(p&&c instanceof ke&&(p=!c.has_side_effects(e)&&!c.may_throw(e)),c instanceof At&&r.scope!==t.scope)return t;if(p&&(c instanceof ze||c instanceof At)){if(Hd(c,e))p=!1;else if(r.scope!==t.scope&&(r.escaped==1||$n(c,Cs)||Xg(e)||!e.option("reduce_funcs")))p=!1;else if(jf(e,r))p=!1;else if((r.scope!==t.scope||r.orig[0]instanceof Bn)&&(p=c.is_constant_expression(t.scope),p=="f")){var d=t.scope;do(d instanceof an||Ku(d))&&Dr(d,Cs);while(d=d.parent_scope)}}if(p&&(c instanceof ze||c instanceof At)&&(p=r.scope===t.scope&&!Yf(s,c)||n instanceof He&&n.expression===t&&!Yf(s,c)&&!(c.name&&c.name.definition().recursive_refs>0)),p&&c){if(c instanceof Qr&&(Dr(c,No),c=V(Di,c,c)),c instanceof an&&(Dr(c,No),c=V(Gt,c,c)),r.recursive_refs>0&&c.name instanceof ki){const b=c.name.definition();let T=c.variables.get(c.name.name),x=T&&T.orig[0];x instanceof fi||(x=V(fi,c.name,c.name),x.scope=c,c.name=x,T=c.def_function(x)),Ln(c,w=>{w instanceof De&&w.definition()===b&&(w.thedef=T,T.references.push(w))})}return(c instanceof ze||c instanceof At)&&c.parent_scope!==s&&(c=c.clone(!0,e.get_toplevel()),s.add_child_scope(c)),c.optimize(e)}if(c){let b;if(c instanceof Hn)!(r.orig[0]instanceof Bn)&&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 Qg(t,e){if(e.in_computed_key())return t;var n=t.expression,r=n,s=t.args.every(U=>!(U instanceof gt));if(e.option("reduce_vars")&&r instanceof De&&!pr(t,Fo)){const U=r.fixed_value();if(Hd(U,e)||!e.toplevel.funcs&&n.definition().global)return t;r=U}var c=r instanceof ze,p=c&&r.body[0],d=c&&!r.is_generator&&!r.async,E=d&&e.option("inline")&&!t.is_callee_pure(e);if(E&&p instanceof hn){let U=p.value;if(!U||U.is_constant_expression()){U?U=U.clone(!0):U=V(sn,t);const Y=t.args.concat(U);return ot(t,Y).optimize(e)}if(r.argnames.length===1&&r.argnames[0]instanceof Bn&&t.args.length<2&&!(t.args[0]instanceof gt)&&U instanceof De&&U.name===r.argnames[0].name){const Y=(t.args[0]||V(sn)).optimize(e);let P;return Y instanceof Xe&&(P=e.parent())instanceof He&&P.expression===t?ot(t,[V(et,t,{value:0}),Y]):Y}}if(E){var b,T,x=-1;let U,Y,P;if(s&&!r.uses_arguments&&!(e.parent()instanceof At)&&!(r.name&&r instanceof Gt)&&(Y=h(p))&&(n===r||pr(t,Df)||e.option("unused")&&(U=n.definition()).references.length==1&&!jf(e,U)&&r.is_constant_expression(n.scope))&&!pr(t,Cf|Fo)&&!r.contains_this()&&O()&&(P=e.find_scope())&&!Yf(P,r)&&!function(){let q=0,ne;for(;ne=e.parent(q++);){if(ne instanceof Lr)return!0;if(ne instanceof Tn)break}return!1}()&&!(b instanceof At))return Dr(r,No),P.add_child_scope(r),ot(t,H(Y)).optimize(e)}if(E&&pr(t,Df))return Dr(r,No),r=V(r.CTOR===an?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(mo)){var F=t.args.concat(V(sn,t));return ot(t,F).optimize(e)}if(e.option("negate_iife")&&e.parent()instanceof $e&&Mf(t))return t.negate(e,!0);var R=t.evaluate(e);if(R!==t)return R=lr(R,t).optimize(e),kr(e,R,t);return t;function v(U){if(!U)return V(sn,t);if(U instanceof hn)return U.value?U.value.clone(!0):V(sn,t);if(U instanceof $e)return V(qe,U,{operator:"void",expression:U.body.clone(!0)})}function h(U){var Y=r.body,P=Y.length;if(e.option("inline")<3)return P==1&&v(U);U=null;for(var G=0;G<P;G++){var q=Y[G];if(q instanceof Pn){if(U&&!q.definitions.every(ne=>!ne.value))return!1}else{if(U)return!1;q instanceof Ut||(U=q)}}return v(U)}function g(U,Y){for(var P=0,G=r.argnames.length;P<G;P++){var q=r.argnames[P];if(q instanceof Lr){if($n(q.left,_o))continue;return!1}if(q instanceof qt)return!1;if(q instanceof gt){if($n(q.expression,_o))continue;return!1}if(!$n(q,_o)){if(!Y||U.has(q.name)||Ud.has(q.name)||b.conflicting_def(q.name))return!1;T&&T.push(q.definition())}}return!0}function A(U,Y){for(var P=r.body.length,G=0;G<P;G++){var q=r.body[G];if(q instanceof Pn){if(!Y)return!1;for(var ne=q.definitions.length;--ne>=0;){var se=q.definitions[ne].name;if(se instanceof qt||U.has(se.name)||Ud.has(se.name)||b.conflicting_def(se.name))return!1;T&&T.push(se.definition())}}}return!0}function O(){var U=new Set;do if(b=e.parent(++x),b.is_block_scope()&&b.block_scope&&b.block_scope.variables.forEach(function(G){U.add(G.name)}),b instanceof ii)b.argname&&U.add(b.argname.name);else if(b instanceof qr)T=[];else if(b instanceof De&&b.fixed_value()instanceof Ye)return!1;while(!(b instanceof Ye));var Y=!(b instanceof Zt)||e.toplevel.vars,P=e.option("inline");return!A(U,P>=3&&Y)||!g(U,P>=2&&Y)?!1:!T||T.length==0||!jd(r,T)}function k(U,Y,P,G){var q=P.definition();b.variables.has(P.name)||(b.variables.set(P.name,q),b.enclosed.push(q),U.push(V(zt,P,{name:P,value:null})));var se=V(De,P,P);q.references.push(se),G&&Y.push(V(lt,t,{operator:"=",logical:!1,left:se,right:G.clone()}))}function N(U,Y){for(var P=r.argnames.length,G=t.args.length;--G>=P;)Y.push(t.args[G]);for(G=P;--G>=0;){var q=r.argnames[G],ne=t.args[G];if($n(q,_o)||!q.name||b.conflicting_def(q.name))ne&&Y.push(ne);else{var se=V(Ki,q,q);q.definition().orig.push(se),!ne&&T&&(ne=V(sn,t)),k(U,Y,se,ne)}}U.reverse(),Y.reverse()}function B(U,Y){for(var P=Y.length,G=0,q=r.body.length;G<q;G++){var ne=r.body[G];if(ne instanceof Pn)for(var se=0,re=ne.definitions.length;se<re;se++){var ue=ne.definitions[se],ce=ue.name;if(k(U,Y,ce,ue.value),T&&r.argnames.every(_e=>_e.name!=ce.name)){var Ee=r.variables.get(ce.name),xe=V(De,ce,ce);Ee.references.push(xe),Y.splice(P++,0,V(lt,ue,{operator:"=",logical:!1,left:xe,right:V(sn,ce)}))}}}}function H(U){var Y=[],P=[];if(N(Y,P),B(Y,P),P.push(U),Y.length){const G=b.body.indexOf(e.parent(x-1))+1;b.body.splice(G,0,V(Pn,r,{definitions:Y}))}return P.map(G=>G.clone(!0))}}(function(t){function e(n,r){if(n instanceof ke)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(p){return e(p,r)})});if(n&&typeof n=="object"){var s=[];for(var c in n)sr(n,c)&&s.push(V(on,r,{key:c,value:e(n[c],r)}));return V(jt,r,{properties:s})}return lr(n,r)}Zt.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 s=r._find_defs(n,"");if(s){for(var c=0,p=r,d;(d=this.parent(c++))&&!(!(d instanceof Xe)||d.expression!==p);)p=d;if(!Lo(p,d))return s}}))):this}),t(ke,Er),t(En,function(n,r){return this.expression._find_defs(n,r)}),t(Qt,function(n,r){return this.expression._find_defs(n,"."+this.property+r)}),t(In,function(){this.global()}),t(De,function(n,r){if(this.global()){var s=n.option("global_defs"),c=this.name+r;if(sr(s,c))return e(s[c],this)}}),t(Gi,function(n,r){var s=n.option("global_defs"),c="import.meta"+r;if(sr(s,c))return e(s[c],this)})})(function(t,e){t.DEFMETHOD("_find_defs",e)});class Zd extends Mn{constructor(e,{false_by_default:n=!1,mangle_options:r=!1}){super(),e.defaults!==void 0&&!e.defaults&&(n=!0),this.options=Ei(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 s=this.options.global_defs;if(typeof s=="object")for(var c in s)c[0]==="@"&&sr(s,c)&&(s[c.slice(1)]=ms(s[c],{expression:!0}));this.options.inline===!0&&(this.options.inline=3);var p=this.options.pure_funcs;typeof p=="function"?this.pure_funcs=p:this.pure_funcs=p?function(T){return!p.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&&Hu(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 ki?"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 Bu&&r.condition===e||r instanceof An&&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&&$f.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 dn&&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,s=!1,c=this.mangle_options(),p=0;p<n;p++)if(this._toplevel.figure_out_scope(c),p===0&&this.option("drop_console")&&(this._toplevel=this._toplevel.drop_console(this.option("drop_console"))),(p>0||this.option("reduce_vars"))&&this._toplevel.reset_opt_flags(this),this._toplevel=this._toplevel.transform(this),n>1){let d=0;if(Ln(this._toplevel,()=>{d++}),d<r)r=d,s=!1;else{if(s)break;s=!0}}return this.option("expression")&&this._toplevel.process_expression(!1),e=this._toplevel,this._toplevel=void 0,e}before(e,n){if($n(e,No))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 s=e.optimize(this);return r&&s instanceof Ye&&(s.drop_unused(this),n(s,this)),s===e&&Dr(s,No),s}is_lhs(){const e=this.stack[this.stack.length-1],n=this.stack[this.stack.length-2];return Lo(e,n)}}function tt(t,e){t.DEFMETHOD("optimize",function(n){var r=this;if($n(r,Pf)||n.has_directive("use asm"))return r;var s=e(r,n);return Dr(s,Pf),s})}tt(ke,function(t){return t}),Zt.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 s=r.expression;s.expression;)s=s.expression;if(di(s)&&s.name=="console")return V(sn,n)}}}))}),ke.DEFMETHOD("equivalent_to",function(t){return Rg(this,t)}),Ye.DEFMETHOD("process_expression",function(t,e){var n=this,r=new br(function(s){if(t&&s instanceof $e)return V(hn,s,{value:s.body});if(!t&&s instanceof hn){if(e){var c=s.value&&s.value.drop_side_effect_free(e,!0);return c?V($e,s,{body:c}):V(Ut,s)}return V($e,s,{body:s.value||V(qe,s,{operator:"void",expression:V(et,s,{value:0})})})}if(s instanceof At||s instanceof ze&&s!==n)return s;if(s instanceof Tn){var p=s.body.length-1;p>=0&&(s.body[p]=s.body[p].transform(r))}else s instanceof Vt?(s.body=s.body.transform(r),s.alternative&&(s.alternative=s.alternative.transform(r))):s instanceof xr&&(s.body=s.body.transform(r));return s});n.transform(r)}),Zt.DEFMETHOD("reset_opt_flags",function(t){const e=this,n=t.option("reduce_vars"),r=new Mn(function(s,c){if(ca(s,Pg),n)return t.top_retain&&s instanceof an&&r.parent()===e&&Dr(s,If),s.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 ke?t:t()}),De.DEFMETHOD("is_immutable",function(){var t=this.definition().orig;return t.length==1&&t[0]instanceof fi});function Zf(t,e){for(var n,r=0;(n=t.parent(r++))&&!(n instanceof Ye);)if(n instanceof ii&&n.argname){n=n.argname.definition().scope;break}return n.find_variable(e)}var Jg=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");De.DEFMETHOD("is_declared",function(t){return!this.definition().undeclared||t.option("unsafe")&&Jg.has(this.name)});var ev=new Set(["use asm","use strict"]);tt(ur,function(t,e){return e.option("directives")&&(!ev.has(t.value)||e.has_directive(t.value)!==t)?V(Ut,t):t}),tt(Vi,function(t,e){return e.option("drop_debugger")?V(Ut,t):t}),tt(nr,function(t,e){return t.body instanceof Ir&&e.loopcontrol_target(t.body)===t.body?V(Ut,t):t.label.references.length==0?t.body:t}),tt(Tn,function(t,e){return Yu(t.body,e),t});function tv(t){return!(t instanceof ai||t instanceof oi||t instanceof At)}tt(Je,function(t,e){switch(Yu(t.body,e),t.body.length){case 1:if(!e.has_directive("use strict")&&e.parent()instanceof Vt&&tv(t.body[0])||Vf(t.body[0]))return t.body[0];break;case 0:return V(Ut,t)}return t});function Qf(t,e){return Yu(t.body,e),e.option("side_effects")&&t.body.length==1&&t.body[0]===e.has_directive("use strict")&&(t.body.length=0),t}tt(ze,Qf),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 s=[],c=[],p=new Map,d=0,E=0;Ln(e,h=>{if(h instanceof Ye&&h!==e)return!0;if(h instanceof Pn)return++E,!0}),r=r&&E>1;var b=new br(function(g){if(g!==e){if(g instanceof ur)return s.push(g),V(Ut,g);if(n&&g instanceof an&&!(b.parent()instanceof Rn)&&b.parent()===e)return c.push(g),V(Ut,g);if(r&&g instanceof Pn&&!g.definitions.some(N=>N.name instanceof qt)){g.definitions.forEach(function(N){p.set(N.name.name,N),++d});var A=g.to_assignments(t),O=b.parent();if(O instanceof Xn&&O.init===g){if(A==null){var k=g.definitions[0].name;return V(De,k,k)}return A}return O instanceof An&&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 h=e instanceof ze,g=h?e.args_as_names():null;if(p.forEach((A,O)=>{h&&g.some(k=>k.name===A.name.name)?p.delete(O):(A=A.clone(),A.value=null,T.push(A),p.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&&p.has(F.name)){var v=p.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&&p.has(F.name)){var v=p.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 Je){e.body.splice(x,1,...e.body[x].body);continue}break}T=V(Pn,e,{definitions:T}),c.push(T)}}e.body=s.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 Zt&&t.top_retain||Ot,r=new Map,s=new br(function(c,p){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())){p(c,this);const T=new Map,x=[];return b.properties.forEach(({key:w,value:F})=>{const R=s.find_scope(),v=e.create_symbol(d.CTOR,{source:d,scope:R,conflict_scopes:new Set([R,...d.definition().references.map(h=>h.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),en.splice(x)}}else if(c instanceof Xe&&c.expression instanceof De){const d=r.get(c.expression.definition().id);if(d){const E=d.get(String(Ld(c.property))),b=V(De,c,{name:E.name,scope:c.expression.scope,thedef:E});return b.reference({}),b}}});return e.transform(s)}),tt($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}),tt(ji,function(t,e){return e.option("loops")?V(An,t,t).optimize(e):t}),tt(xi,function(t,e){if(!e.option("loops"))return t;var n=t.condition.tail_node().evaluate(e);if(!(n instanceof ke)){if(n)return V(An,t,{body:V(Je,t.body,{body:[t.body,V($e,t.condition,{body:t.condition})]})}).optimize(e);if(!Lf(t,e.parent()))return V(Je,t.body,{body:[t.body,V($e,t.condition,{body:t.condition})]}).optimize(e)}return t});function Qd(t,e){var n=t.body instanceof Je?t.body.body[0]:t.body;if(e.option("dead_code")&&s(n)){var r=[];return t.init instanceof Nn?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})),Uo(e,t.body,r),V(Je,t,{body:r})}return n instanceof Vt&&(s(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)):s(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 s(p){return p instanceof Ir&&e.loopcontrol_target(p)===e.self()}function c(p){p=Wu(p),t.body instanceof Je?(t.body=t.body.clone(),t.body.body=p.concat(t.body.body.slice(1)),t.body=t.body.transform(e)):t.body=V(Je,t.body,{body:p}).transform(e),t=Qd(t,e)}}tt(An,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 ke)){if(n)t.condition=null;else if(!e.option("dead_code")){var r=t.condition;t.condition=lr(n,t.condition),t.condition=Zi(t.condition.transform(e),r)}}if(e.option("dead_code")&&(n instanceof ke&&(n=t.condition.tail_node().evaluate(e)),!n)){var s=[];return Uo(e,t.body,s),t.init instanceof Nn?s.push(t.init):t.init&&s.push(V($e,t.init,{body:t.init})),s.push(V($e,t.condition,{body:t.condition})),V(Je,t,{body:s}).optimize(e)}}return Qd(t,e)}),tt(Vt,function(t,e){if(mo(t.alternative)&&(t.alternative=null),!e.option("conditionals"))return t;var n=t.condition.evaluate(e);if(!e.option("dead_code")&&!(n instanceof ke)){var r=t.condition;t.condition=lr(n,r),t.condition=Zi(t.condition.transform(e),r)}if(e.option("dead_code"))if(n instanceof ke&&(n=t.condition.tail_node().evaluate(e)),n){if(!(n instanceof ke)){var s=[];return s.push(V($e,t.condition,{body:t.condition})),s.push(t.body),t.alternative&&Uo(e,t.alternative,s),V(Je,t,{body:s}).optimize(e)}}else{var s=[];return Uo(e,t.body,s),s.push(V($e,t.condition,{body:t.condition})),t.alternative&&s.push(t.alternative),V(Je,t,{body:s}).optimize(e)}var c=t.condition.negate(e),p=t.condition.size(),d=c.size(),E=d<p;if(t.alternative&&E){E=!1,t.condition=c;var b=t.body;t.body=t.alternative||V(Ut,t),t.alternative=b}if(mo(t.body)&&mo(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(mo(t.alternative)&&t.body instanceof $e)return p===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(sn,t.body),alternative:t.alternative.value||V(sn,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})),Ur(t.body)&&t.alternative){var T=t.alternative;return t.alternative=null,V(Je,t,{body:[t,T]}).optimize(e)}if(Ur(t.alternative)){var s=t.body;return t.body=t.alternative,t.condition=E?c:t.condition.negate(e),t.alternative=null,V(Je,t,{body:[t,s]}).optimize(e)}return t}),tt(Zn,function(t,e){if(!e.option("switches"))return t;var n,r=t.expression.evaluate(e);if(!(r instanceof ke)){var s=t.expression;t.expression=lr(r,s),t.expression=Zi(t.expression.transform(e),s)}if(!e.option("dead_code"))return t;r instanceof ke&&(r=t.expression.tail_node().evaluate(e));for(var c=[],p=[],d,E,b=0,T=t.body.length;b<T&&!E;b++){if(n=t.body[b],n instanceof Oo)d?R(n,p[p.length-1]):d=n;else if(!(r instanceof ke)){var x=n.expression.evaluate(e);if(!(x instanceof ke)&&x!==r){R(n,p[p.length-1]);continue}if(x instanceof ke&&(x=n.expression.tail_node().evaluate(e)),x===r&&(E=n,d)){var w=p.indexOf(d);p.splice(w,1),R(d,p[w-1]),d=null}}p.push(n)}for(;b<T;)R(t.body[b++],p[p.length-1]);t.body=p;let F=d||E;if(d=null,E=null,p.every((k,N)=>(k===F||k.expression instanceof Nt)&&(k.body.length===0||Ur(k)||p.length-1===N)))for(let k=0;k<p.length;k++){const N=p[k];for(let B=k+1;B<p.length;B++){const H=p[B];if(H.body.length===0)continue;const U=B===p.length-1,Y=v(H,N,!1);if(Y||U&&v(H,N,!0)){!Y&&U&&H.body.push(V(Ir));let P=B-1,G=0;for(;P>k&&O(p[P--]);)G++;const q=p.splice(B-G,1+G);p.splice(k+1,0,...q),k+=q.length}}}for(let k=0;k<p.length;k++){let N=p[k];if(N.body.length!==0&&Ur(N))for(let B=k+1;B<p.length;k++,B++){let H=p[B];if(H.body.length!==0){if(v(H,N,!1)||B===p.length-1&&v(H,N,!0)){N.body=[],N=H;continue}break}}}{let k=p.length-1;for(;k>=0;k--){let N=p[k].body;if(A(N[N.length-1],e)&&N.pop(),!O(p[k]))break}if(k++,!F||p.indexOf(F)>=k)for(let N=p.length-1;N>=k;N--){let B=p[N];if(B===F)F=null,p.pop();else if(!B.expression.has_side_effects(e))p.pop();else break}}e:if(F){let k=p.indexOf(F),N=k;for(;N<p.length-1&&O(p[N]);N++);if(N<p.length-1)break e;let B=p.length-1;for(;B>=0;B--){let H=p[B];if(H!==F&&H.expression.has_side_effects(e))break}if(N>B){let H=k-1;for(;H>=0&&O(p[H]);H--);let U=Math.max(B,H)+1,Y=k;B>k?(Y=B,p[B].body=p[N].body):F.body=p[N].body,p.splice(Y+1,N-Y),p.splice(U,k-U)}}e:if(F){let k=p.findIndex(U=>!O(U)),N;if(k===p.length-1){let U=p[k];if(g(t))break e;N=V(Je,U,{body:U.body}),U.body=[]}else if(k!==-1)break e;if(!p.find(U=>U!==F&&U.expression.has_side_effects(e)))return V(Je,t,{body:c.concat(h(t.expression),F.expression?h(F.expression):[],N||[])}).optimize(e);const H=p.indexOf(F);if(p.splice(H,1),F=null,N)return V(Je,t,{body:c.concat(t,N)}).optimize(e)}if(p.length>0&&(p[0].body=c.concat(p[0].body)),p.length==0)return V(Je,t,{body:c.concat(h(t.expression))}).optimize(e);if(p.length==1&&!g(t)){let k=p[0];return V(Vt,t,{condition:V(pe,t,{operator:"===",left:t.expression,right:k.expression}),body:V(Je,k,{body:k.body}),alternative:null}).optimize(e)}if(p.length===2&&F&&!g(t)){let k=p[0]===F?p[1]:p[0],N=F.expression&&h(F.expression);if(Ur(p[0])){let Y=p[0];return A(Y.body[Y.body.length-1],e)&&Y.body.pop(),V(Vt,t,{condition:V(pe,t,{operator:"===",left:t.expression,right:k.expression}),body:V(Je,k,{body:k.body}),alternative:V(Je,F,{body:[].concat(N||[],F.body)})}).optimize(e)}let B="===",H=V(Je,k,{body:k.body}),U=V(Je,F,{body:[].concat(N||[],F.body)});if(p[0]===F){B="!==";let Y=U;U=H,H=Y}return V(Je,t,{body:[V(Vt,t,{condition:V(pe,t,{operator:B,left:t.expression,right:k.expression}),body:H,alternative:null})].concat(U)}).optimize(e)}return t;function R(k,N){N&&!Ur(N)?N.body=N.body.concat(k.body):Uo(e,k,c)}function v(k,N,B){let H=k.body,U=N.body;if(B&&(H=H.concat(V(Ir))),H.length!==U.length)return!1;let Y=V(Je,k,{body:H}),P=V(Je,N,{body:U});return Y.equivalent_to(P)}function h(k){return V($e,k,{body:k})}function g(k){let N=!1,B=new Mn(H=>{if(N||H instanceof ze||H instanceof $e)return!0;if(!A(H,B))return;let U=B.parent();U instanceof $i&&U.body[U.body.length-1]===H||(N=!0)});return k.walk(B),N}function A(k,N){return k instanceof Ir&&N.loopcontrol_target(k)===t}function O(k){return!Ur(k)&&!V(Je,k,{body:k.body}).has_side_effects(e)}}),tt(Ar,function(t,e){if(t.bcatch&&t.bfinally&&t.bfinally.body.every(mo)&&(t.bfinally=null),e.option("dead_code")&&t.body.body.every(mo)){var n=[];return t.bcatch&&Uo(e,t.bcatch,n),t.bfinally&&n.push(...t.bfinally.body),V(Je,t,{body:n}).optimize(e)}return t}),pn.DEFMETHOD("to_assignments",function(t){var e=t.option("reduce_vars"),n=[];for(const s of this.definitions){if(s.value){var r=V(De,s.name,s.name);n.push(V(lt,s,{operator:"=",logical:!1,left:r,right:s.value})),e&&(r.definition().fixed=!1)}const c=s.name.definition();c.eliminated++,c.replaced--}return n.length==0?null:ot(this,n)}),tt(pn,function(t){return t.definitions.length==0?V(Ut,t):t}),tt(zt,function(t,e){return t.name instanceof ta&&t.value!=null&&_i(t.value,e)&&(t.value=null),t}),tt(Br,function(t){return t}),tt(He,function(t,e){var n=t.expression,r=n;e_(t.args);var s=t.args.every(q=>!(q instanceof gt));e.option("reduce_vars")&&r instanceof De&&(r=r.fixed_value());var c=r instanceof ze;if(c&&r.pinned())return t;if(e.option("unused")&&s&&c&&!r.uses_arguments){for(var p=0,d=0,E=0,b=t.args.length;E<b;E++){if(r.argnames[E]instanceof gt){if($n(r.argnames[E].expression,_o))for(;E<b;){var T=t.args[E++].drop_side_effect_free(e);T&&(t.args[p++]=T)}else for(;E<b;)t.args[p++]=t.args[E++];d=p;break}var x=E>=r.argnames.length;if(x||$n(r.argnames[E],_o)){var T=t.args[E].drop_side_effect_free(e);if(T)t.args[p++]=T;else if(!x){t.args[p++]=V(et,t.args[E],{value:0});continue}}else t.args[p++]=t.args[E];d=p}t.args.length=d}if(e.option("unsafe")&&!n.contains_optional()){if(n instanceof Qt&&n.start.value==="Array"&&n.property==="from"&&t.args.length===1){const[q]=t.args;if(q instanceof Ft)return V(Ft,q,{elements:q.elements}).optimize(e)}if(di(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 et&&t.args[0].value<=11){const q=[];for(let ne=0;ne<t.args[0].value;ne++)q.push(new Mr);return new Ft({elements:q})}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(et,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(Xi,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(q=>{var ne=q.evaluate(e);return w.push(ne),q!==ne})&&yd(w[0])){let[q,ne]=w;q=Tu(new RegExp(q).source);const se=V(yr,t,{value:{source:q,flags:ne}});if(se._eval(e)!==se)return se}break}else if(n instanceof Qt)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 h=n.expression.elements[E];if(h instanceof gt)break e;var g=h.evaluate(e);g!==h?v.push(g):(v.length>0&&(R.push(V(bt,t,{value:v.join(F)})),v.length=0),R.push(h))}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,kr(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(Cn,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 N=t.args[1].elements.slice();return N.unshift(t.args[0]),V(He,t,{expression:V(Qt,n,{expression:n.expression,optional:!1,property:"call"}),args:N}).optimize(e)}break;case"call":var B=n.expression;if(B instanceof De&&(B=B.fixed_value()),B instanceof ze&&!B.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")&&di(n)&&n.name=="Function"){if(t.args.length==0)return V(Gt,t,{argnames:[],body:[]}).optimize(e);if(t.args.every(q=>q instanceof bt))try{var G="n(function("+t.args.slice(0,-1).map(function(q){return q.value}).join(",")+"){"+t.args[t.args.length-1].value+"})",H=ms(G),U=e.mangle_options();H.figure_out_scope(U);var Y=new Zd(e.options,{mangle_options:e._mangle_options});H=H.transform(Y),H.figure_out_scope(U),H.compute_char_frequency(U),H.mangle_names(U);var P;Ln(H,q=>{if(Ku(q))return P=q,vr});var G=kf();return Je.prototype._codegen.call(P,P,G),t.args=[V(bt,t,{value:P.argnames.map(function(q){return q.print_to_string()}).join(",")}),V(bt,t.args[t.args.length-1],{value:G.get().replace(/^{|}$/g,"")})],t}catch(q){if(!(q instanceof Cd))throw q}}return Qg(t,e)}),ke.DEFMETHOD("contains_optional",function(){return this instanceof Xe||this instanceof He||this instanceof En?this.optional?!0:this.expression.contains_optional():!1}),tt(cr,function(t,e){return e.option("unsafe")&&di(t.expression)&&["Object","RegExp","Function","Error","Array"].includes(t.expression.name)?V(He,t,t).transform(e):t}),tt(mt,function(t,e){if(!e.option("side_effects"))return t;var n=[];s();var r=n.length-1;if(c(),r==0)return t=Po(e.parent(),e.self(),n[0]),t instanceof mt||(t=t.optimize(e)),t;return t.expressions=n,t;function s(){var p=pi(e),d=t.expressions.length-1;t.expressions.forEach(function(E,b){b<d&&(E=E.drop_side_effect_free(e,p)),E&&(Bf(n,E),p=!1)})}function c(){for(;r>0&&_i(n[r],e);)r--;r<n.length-1&&(n[r]=V(qe,t,{operator:"void",expression:n[r]}),n.length=r+1)}}),Jt.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}),tt(zi,function(t,e){return t.lift_sequences(e)}),tt(qe,function(t,e){var n=t.expression;if(t.operator=="delete"&&!(n instanceof De||n instanceof Xe||n instanceof En||Vd(n)))return ot(t,[n,V(Cr,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(sn,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=kr(e,t,n.negate(e,pi(e))));break;case"typeof":return(n instanceof De?V(Cr,t):ot(t,[n,V(Cr,t)])).optimize(e)}if(t.operator=="-"&&n instanceof po&&(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 et||n instanceof po||n instanceof hi)){var s=t.evaluate(e);if(s!==t)return s=lr(s,t).optimize(e),kr(e,s,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 De,e=this.right.expressions,s=e.length-1,c=0;c<s&&!(!r&&e[c].has_side_effects(t));c++);if(c==s){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 nv=Bt("== === != !== * & | ^");function rv(t){return t instanceof Ft||t instanceof ze||t instanceof jt||t instanceof At}tt(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(B){if(n()){B&&(t.operator=B);var H=t.left;t.left=t.right,t.right=H}}if(e.option("lhs_constants")&&nv.has(t.operator)&&t.right.is_constant()&&!t.left.is_constant()&&(t.left instanceof pe&&Pr[t.left.operator]>=Pr[t.operator]||r()),t=t.lift_sequences(e),e.option("comparisons"))switch(t.operator){case"===":case"!==":var s=!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(!s&&_i(t.left,e))t.left=V(gr,t.left);else if(!s&&_i(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 De?c.is_declared(e):!(c instanceof Xe&&e.option("ie8")))&&(t.right=c,t.left=V(sn,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 De?c.is_declared(e):!(c instanceof Xe&&e.option("ie8")))&&(t.left=c,t.right=V(sn,t.right).optimize(e),t.operator.length==2&&(t.operator+="="))}else{if(t.left instanceof De&&t.right instanceof De&&t.left.definition()===t.right.definition()&&rv(t.left.fixed_value()))return V(t.operator[0]=="="?Cr:Xi,t);if(t.left.is_32_bit_integer()&&t.right.is_32_bit_integer()){const B=G=>V(qe,G,{operator:"!",expression:G}),H=(G,q)=>q?e.in_boolean_context()?G:B(B(G)):B(G);if(t.left instanceof et&&t.left.value===0)return H(t.right,t.operator[0]==="!");if(t.right instanceof et&&t.right.value===0)return H(t.left,t.operator[0]==="!");let U,Y,P;if((U=t.left instanceof pe?t.left:t.right instanceof pe?t.right:null)&&(P=U===t.left?t.right:t.left)&&U.operator==="&"&&P instanceof et&&P.is_32_bit_integer()&&(Y=U.left.equivalent_to(P)?U.right:U.right.equivalent_to(P)?U.left:null)){let G=H(V(pe,t,{operator:"&",left:P,right:V(qe,t,{operator:"~",expression:Y})}),t.operator[0]==="!");return kr(e,G,t)}}}break;case"&&":case"||":var p=t.left;if(p.operator==t.operator&&(p=p.right),p instanceof pe&&p.operator==(t.operator=="&&"?"!==":"===")&&t.right instanceof pe&&p.operator==t.right.operator&&(_i(p.left,e)&&t.right.left instanceof gr||p.left instanceof gr&&_i(t.right.left,e))&&!p.right.has_side_effects(e)&&p.right.equivalent_to(t.right.right)){var d=V(pe,t,{operator:p.operator.slice(0,-1),left:V(gr,t),right:p.right});return p!==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(Cr,t)]).optimize(e);if(b&&typeof b=="string")return ot(t,[t.left,V(Cr,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,pi(e))});t=kr(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=$n(t.left,Rf)?!0:$n(t.left,Ff)?!1:t.left.evaluate(e);if(E){if(!(E instanceof ke))return ot(t,[t.left,t.right]).optimize(e)}else return Po(e.parent(),e.self(),t.left).optimize(e);var b=t.right.evaluate(e);if(b){if(!(b instanceof ke)){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(Xi,t)]).optimize(e);Dr(t,Ff)}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=$n(t.left,Rf)?!0:$n(t.left,Ff)?!1:t.left.evaluate(e);if(E){if(!(E instanceof ke))return Po(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 ke)){if(e.in_boolean_context())return ot(t,[t.left,V(Cr,t)]).optimize(e);Dr(t,Rf)}}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 ke))return V(it,t,{condition:t.left.left,consequent:t.left.right,alternative:t.right}).optimize(e)}break;case"??":if(mi(t.left,e))return t.right;var E=t.left.evaluate(e);if(!(E instanceof ke))return E==null?t.right:t.left;if(e.in_boolean_context()){const U=t.right.evaluate(e);if(!(U instanceof ke)&&!U)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}),h=R.optimize(e);R!==h&&(t=V(pe,t,{operator:"+",left:V(pe,t.left,{operator:"+",left:t.left.left,right:h}),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 Yn){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 Yn){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 Yn&&t.right instanceof Yn){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&&Pr[t.left.operator]>=Pr[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=kr(e,k,t):t=kr(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($f.has(t.operator)){let B,H,U,Y,P=t.left;if(t.operator==="&"&&t.right instanceof pe&&t.right.operator==="|"&&typeof(H=t.left.evaluate(e))=="number"&&(typeof(B=t.right.right.evaluate(e))=="number"?(U=t.right.left,Y=t.right.right):typeof(B=t.right.left.evaluate(e))=="number"&&(U=t.right.right,Y=t.right.left),U&&Y))if(!(B&H))t=V(pe,t,{operator:t.operator,left:P,right:U});else{const ce=V(pe,t,{operator:"|",left:V(pe,t,{operator:"&",left:U,right:P}),right:lr(B&H,Y)});t=kr(e,t,ce)}if(t.left.equivalent_to(t.right)&&!t.left.has_side_effects(e)){if(t.operator==="^")return V(et,t,{value:0});(t.operator==="|"||t.operator==="&")&&(t.left=V(et,t,{value:0}),t.operator="|")}(t.operator==="<<"||t.operator===">>")&&t.right instanceof et&&t.right.value===0&&(t.operator="|");const q=t.right instanceof et&&t.right.value===0?t.right:t.left instanceof et&&t.left.value===0?t.left:null,ne=q&&(q===t.right?t.left:t.right);if(q&&(t.operator==="|"||t.operator==="^")&&(ne.is_32_bit_integer()||e.in_32_bit_context()))return ne;if(q&&t.operator==="&"&&!ne.has_side_effects(e))return q;const se=ce=>ce instanceof et&&ce.value===-1||ce instanceof qe&&(ce.operator==="-"&&ce.expression instanceof et&&ce.expression.value===1||ce.operator==="~"&&ce.expression instanceof et&&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&&(Bo.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 N=t.evaluate(e);return N!==t?(N=lr(N,t).optimize(e),kr(e,N,t)):t}),tt(Ro,function(t){return t}),tt(De,function(t,e){if(!e.option("ie8")&&di(t)&&!e.find_parent(xr))switch(t.name){case"undefined":return V(sn,t).optimize(e);case"NaN":return V(Es,t).optimize(e);case"Infinity":return V(po,t).optimize(e)}return e.option("reduce_vars")&&!e.is_lhs()?Zg(t,e):t});function Zu(t,e){return t instanceof De||t.TYPE===e.TYPE}tt(sn,function(t,e){if(e.option("unsafe_undefined")){var n=Zf(e,"undefined");if(n){var r=V(De,t,{name:"undefined",scope:n.scope,thedef:n});return Dr(r,Nf),r}}var s=e.is_lhs();return s&&Zu(s,t)?t:V(qe,t,{operator:"void",expression:V(et,t,{value:0})})}),tt(po,function(t,e){var n=e.is_lhs();return n&&Zu(n,t)||e.option("keep_infinity")&&!(n&&!Zu(n,t))&&!Zf(e,"Infinity")?t:V(pe,t,{operator:"/",left:V(et,t,{value:1}),right:V(et,t,{value:0})})}),tt(Es,function(t,e){var n=e.is_lhs();return n&&!Zu(n,t)||Zf(e,"NaN")?V(pe,t,{operator:"/",left:V(et,t,{value:0}),right:V(et,t,{value:0})}):t});const iv=Bt("+ - / * % >> << >>> | ^ &"),ov=Bt("* | ^ &");tt(lt,function(t,e){if(t.logical)return t.lift_sequences(e);var n;if(t.operator==="="&&t.left instanceof De&&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 De&&(n=t.left.definition()).scope===e.find_parent(ze)){var r=0,s,c=t;do if(s=c,c=e.parent(r++),c instanceof _r){if(p(r,c)||jd(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===s||c instanceof mt&&c.tail_node()===s)}return t=t.lift_sequences(e),t.operator=="="&&t.left instanceof De&&t.right instanceof pe&&(t.right.left instanceof De&&t.right.left.name==t.left.name&&iv.has(t.right.operator)?(t.operator=t.right.operator+"=",t.right=t.right.right):t.right.right instanceof De&&t.right.right.name==t.left.name&&ov.has(t.right.operator)&&!t.right.left.has_side_effects(e)&&(t.operator=t.right.operator+"=",t.right=t.right.left)),t;function p(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 Ar&&(x.bfinally||x.bcatch&&b()))return!0}}),tt(Lr,function(t,e){if(!e.option("evaluate"))return t;var n=t.right.evaluate(e);let r,s;return n===void 0?(!((r=e.parent())instanceof ze)||e.option("keep_fargs")===!1||(s=e.parent(1)).TYPE==="Call"&&s.expression===r)&&(t=t.left):n!==t.right&&(n=lr(n,t.right),t.right=Zi(n,t.right)),t});function av(t,e,n){if(e.may_throw(n))return!1;let r;if(t instanceof pe&&t.operator==="=="&&((r=mi(t.left,n)&&t.left)||(r=mi(t.right,n)&&t.right))&&(r===t.left?t.right:t.left).equivalent_to(e))return!0;if(t instanceof pe&&t.operator==="||"){let s,c;const p=d=>{if(!(d instanceof pe&&(d.operator==="==="||d.operator==="==")))return!1;let E=0,b;return d.left instanceof gr&&(E++,s=d,b=d.right),d.right instanceof gr&&(E++,s=d,b=d.left),_i(d.left,n)&&(E++,c=d,b=d.right),_i(d.right,n)&&(E++,c=d,b=d.left),!(E!==1||!b.equivalent_to(e))};if(!p(t.left)||!p(t.right))return!1;if(s&&c&&s!==c)return!0}return!1}tt(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?Po(e.parent(),e.self(),t.consequent):Po(e.parent(),e.self(),t.alternative);var s=r.negate(e,pi(e));kr(e,r,s)===s&&(t=V(it,t,{condition:s,consequent:t.alternative,alternative:t.consequent}));var c=t.condition,p=t.consequent,d=t.alternative;if(c instanceof De&&p instanceof De&&c.definition()===p.definition())return V(pe,t,{operator:"||",left:c,right:d});if(p instanceof lt&&d instanceof lt&&p.operator===d.operator&&p.logical===d.logical&&p.left.equivalent_to(d.left)&&(!t.condition.has_side_effects(e)||p.operator=="="&&!p.left.has_side_effects(e)))return V(lt,t,{operator:p.operator,left:p.left,logical:p.logical,right:V(it,t,{condition:t.condition,consequent:p.right,alternative:d.right})});var E;if(p instanceof He&&d.TYPE===p.TYPE&&p.args.length>0&&p.args.length==d.args.length&&p.expression.equivalent_to(d.expression)&&!t.condition.has_side_effects(e)&&!p.expression.has_side_effects(e)&&typeof(E=R())=="number"){var b=p.clone();return b.args[E]=V(it,t,{condition:t.condition,consequent:p.args[E],alternative:d.args[E]}),b}if(d instanceof it&&p.equivalent_to(d.consequent))return V(it,t,{condition:V(pe,t,{operator:"||",left:c,right:d.condition}),consequent:p,alternative:d.alternative}).optimize(e);if(e.option("ecma")>=2020&&av(c,d,e))return V(pe,t,{operator:"??",left:d,right:p}).optimize(e);if(d instanceof mt&&p.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))}),p]).optimize(e);if(d instanceof pe&&d.operator=="&&"&&p.equivalent_to(d.right))return V(pe,t,{operator:"&&",left:V(pe,t,{operator:"||",left:c,right:d.left}),right:p}).optimize(e);if(p instanceof it&&p.alternative.equivalent_to(d))return V(it,t,{condition:V(pe,t,{left:t.condition,operator:"&&",right:p.condition}),consequent:p.consequent,alternative:d});if(p.equivalent_to(d))return ot(t,[t.condition,p]).optimize(e);if(p instanceof pe&&p.operator=="||"&&p.right.equivalent_to(d))return V(pe,t,{operator:"||",left:V(pe,t,{operator:"&&",left:t.condition,right:p.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 Cr||T&&v instanceof Nt&&v.getValue()||v instanceof qe&&v.operator=="!"&&v.expression instanceof Nt&&!v.expression.getValue()}function F(v){return v instanceof Xi||T&&v instanceof Nt&&!v.getValue()||v instanceof qe&&v.operator=="!"&&v.expression instanceof Nt&&v.expression.getValue()}function R(){for(var v=p.args,h=d.args,g=0,A=v.length;g<A;g++){if(v[g]instanceof gt)return;if(!v[g].equivalent_to(h[g])){if(h[g]instanceof gt)return;for(var O=g+1;O<A;O++)if(v[O]instanceof gt||!v[O].equivalent_to(h[O]))return;return g}}}}),tt(Vu,function(t,e){if(e.in_boolean_context())return V(et,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(et,t,{value:+t.value})):e.option("booleans")?n instanceof pe&&(n.operator=="=="||n.operator=="!=")?V(et,t,{value:+t.value}):V(qe,t,{operator:"!",expression:V(et,t,{value:1-t.value})}):t});function Jd(t,e){return t instanceof De&&(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 s=r.properties,c=s.length;--c>=0;){var p=s[c];if(""+(p instanceof Un?p.key.name:p.key)==t)return!s.every(E=>(E instanceof on||n&&E instanceof Un&&!E.is_generator)&&!E.computed_key())||!Jd(p.value,e)?void 0:V(Cn,this,{expression:V(Ft,r,{elements:s.map(function(E){var b=E.value;b instanceof Hi&&(b=V(Gt,b,b));var T=E.key;return T instanceof ke&&!(T instanceof jn)?ot(E,[T,b]):b})}),property:V(et,this,{value:c})})}}}),tt(Cn,function(t,e){var n=t.expression,r=t.property;if(e.option("properties")){var s=r.evaluate(e);if(s!==r){if(typeof s=="string")if(s=="undefined")s=void 0;else{var c=parseFloat(s);c.toString()==s&&(s=c)}r=t.property=Zi(r,lr(s,r).transform(e));var p=""+s;if(Fu(p)&&p.length<=r.size()+1)return V(Qt,t,{expression:n,optional:t.optional,property:p,quote:r.quote}).optimize(e)}}var d;e:if(e.option("arguments")&&n instanceof De&&n.name=="arguments"&&n.definition().orig.length==1&&(d=n.scope)instanceof ze&&d.uses_arguments&&!(d instanceof rn)&&r instanceof et){for(var E=r.getValue(),b=new Set,T=d.argnames,x=0;x<T.length;x++){if(!(T[x]instanceof Bn))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(Bn,{source:d,scope:d,tentative_name:"argument_"+d.argnames.length}),d.argnames.push(F);if(F){var v=V(De,t,F);return v.reference({}),ca(F,_o),v}}if(e.is_lhs())return t;if(s!==r){var h=t.flatten_object(p,e);h&&(n=t.expression=h.expression,r=t.property=h.property)}if(e.option("properties")&&e.option("side_effects")&&r instanceof et&&n instanceof Ft){var E=r.getValue(),g=n.elements,A=g[E];e:if(Jd(A,e)){for(var O=!0,k=[],N=g.length;--N>E;){var c=g[N].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 Mr?V(sn,A):A,O||k.unshift(A);--N>=0;){var c=g[N];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(Cn,t,{expression:V(Ft,n,{elements:k}),property:V(et,r,{value:E})})}}var B=t.evaluate(e);return B!==t?(B=lr(B,t).optimize(e),kr(e,B,t)):t}),tt(En,function(t,e){if(mi(t.expression,e)){let n=e.parent();return n instanceof qe&&n.operator==="delete"?lr(0,t):V(sn,t)}return t}),tt(Qt,function(t,e){const n=e.parent();if(e.is_lhs())return t;if(e.option("unsafe_proto")&&t.expression instanceof Qt&&t.expression.property=="prototype"){var r=t.expression.expression;if(di(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(et,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,Fo)){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 s=t.evaluate(e);return s!==t?(s=lr(s,t).optimize(e),kr(e,s,t)):t});function Jf(t,e){return e.in_boolean_context()?kr(e,t,ot(t,[t,V(Cr,t)]).optimize(e)):t}function e_(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(s=>s instanceof Mr)&&(t.splice(e,1,...r.elements),e--)}}}tt(Ft,function(t,e){var n=Jf(t,e);return n!==t?n:(e_(t.elements),t)});function sv(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(s=>s instanceof on)?(t.splice(e,1,...r.properties),e--):(r instanceof Nt||r.is_constant())&&!(r instanceof bt)&&(t.splice(e,1),e--)}}}tt(jt,function(t,e){var n=Jf(t,e);return n!==t?n:(sv(t.properties),t)}),tt(yr,Jf),tt(hn,function(t,e){return t.value&&_i(t.value,e)&&(t.value=null),t}),tt(rn,Qf),tt(Gt,function(t,e){return t=Qf(t,e),e.option("unsafe_arrows")&&e.option("ecma")>=2015&&!t.name&&!t.is_generator&&!t.uses_arguments&&!t.pinned()&&!Ln(t,r=>{if(r instanceof Hn)return vr})?V(rn,t,t).optimize(e):t}),tt(At,function(t){for(let e=0;e<t.properties.length;e++){const n=t.properties[e];n instanceof Qn&&n.body.length==0&&(t.properties.splice(e,1),e--)}return t}),tt(Qn,function(t,e){return Yu(t.body,e),t}),tt(Tr,function(t,e){return t.expression&&!t.is_star&&_i(t.expression,e)&&(t.expression=null),t}),tt(Yn,function(t,e){if(!e.option("evaluate")||e.parent()instanceof Xr)return t;for(var n=[],r=0;r<t.segments.length;r++){var s=t.segments[r];if(s instanceof ke){var c=s.evaluate(e);if(c!==s&&(c+"").length<=s.size()+3){n[n.length-1].value=n[n.length-1].value+c+t.segments[++r].value;continue}if(s instanceof Yn){var p=s.segments;n[n.length-1].value+=p[0].value;for(var d=1;d<p.length;d++)s=p[d],n.push(s);continue}}n.push(s)}if(t.segments=n,n.length==1)return V(bt,t,n[0]);if(n.length===3&&n[1]instanceof ke&&(n[1].is_string(e)||n[1].is_number(e)||mi(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}),tt(Xr,function(t){return t});function e0(t,e){if(!e.option("computed_props")||!(t.key instanceof Nt))return t;if(t.key instanceof bt||t.key instanceof et){const n=t.key.value.toString();if(n==="__proto__"||n=="constructor"&&e.parent()instanceof At)return t;t instanceof on?(t.quote=t.key.quote,t.key=n):t instanceof mr?(t.quote=t.key.quote,t.key=V(qi,t.key,{name:n})):(t.quote=t.key.quote,t.key=V(jn,t.key,{name:n}))}return t}tt(dn,e0),tt(Un,function(t,e){if(e0(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 hn&&t.value.body[0].value&&!t.value.contains_this()){var n=V(rn,t.value,t.value);return n.async=t.async,n.is_generator=t.is_generator,V(on,t,{key:t.key instanceof jn?t.key.name:t.key,value:n,quote:t.quote})}return t}),tt(on,function(t,e){e0(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,s=t.value,c=s instanceof rn&&Array.isArray(s.body)&&!s.contains_this();if((c||s instanceof Gt)&&!s.name)return V(Un,t,{async:s.async,is_generator:s.is_generator,key:r instanceof ke?r:V(jn,t,{name:r}),value:V(Hi,s,s),quote:t.quote})}return t}),tt(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 s=t.names[r];s instanceof on&&typeof s.key=="string"&&s.value instanceof In&&!p(e,s.value.definition())||n.push(s)}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 p(d,E){return E.references.length?!0:E.global?d.toplevel.vars?d.top_retain?d.top_retain(E):!1:!0:!1}});var t0={exports:{}};(function(t,e){(function(n,r){r(e)})(Tt,function(n){const c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p=new Uint8Array(64),d=new Uint8Array(128);for(let W=0;W<c.length;W++){const Z=c.charCodeAt(W);p[W]=Z,d[Z]=W}const E=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(W){return Buffer.from(W.buffer,W.byteOffset,W.byteLength).toString()}}:{decode(W){let Z="";for(let ie=0;ie<W.length;ie++)Z+=String.fromCharCode(W[ie]);return Z}};function b(W){const Z=new Int32Array(5),ie=[];let de=0;do{const Te=T(W,de),Se=[];let Ce=!0,Ke=0;Z[0]=0;for(let Me=de;Me<Te;Me++){let ut;Me=x(W,Me,Z,0);const Wt=Z[0];Wt<Ke&&(Ce=!1),Ke=Wt,w(W,Me,Te)?(Me=x(W,Me,Z,1),Me=x(W,Me,Z,2),Me=x(W,Me,Z,3),w(W,Me,Te)?(Me=x(W,Me,Z,4),ut=[Wt,Z[1],Z[2],Z[3],Z[4]]):ut=[Wt,Z[1],Z[2],Z[3]]):ut=[Wt],Se.push(ut)}Ce||F(Se),ie.push(Se),de=Te+1}while(de<=W.length);return ie}function T(W,Z){const ie=W.indexOf(";",Z);return ie===-1?W.length:ie}function x(W,Z,ie,de){let Te=0,Se=0,Ce=0;do{const Me=W.charCodeAt(Z++);Ce=d[Me],Te|=(Ce&31)<<Se,Se+=5}while(Ce&32);const Ke=Te&1;return Te>>>=1,Ke&&(Te=-2147483648|-Te),ie[de]+=Te,Z}function w(W,Z,ie){return Z>=ie?!1:W.charCodeAt(Z)!==44}function F(W){W.sort(R)}function R(W,Z){return W[0]-Z[0]}function v(W){const Z=new Int32Array(5),ie=1024*16,de=ie-36,Te=new Uint8Array(ie),Se=Te.subarray(0,de);let Ce=0,Ke="";for(let Me=0;Me<W.length;Me++){const ut=W[Me];if(Me>0&&(Ce===ie&&(Ke+=E.decode(Te),Ce=0),Te[Ce++]=59),ut.length!==0){Z[0]=0;for(let Wt=0;Wt<ut.length;Wt++){const _t=ut[Wt];Ce>de&&(Ke+=E.decode(Se),Te.copyWithin(0,de,Ce),Ce-=de),Wt>0&&(Te[Ce++]=44),Ce=h(Te,Ce,Z,_t,0),_t.length!==1&&(Ce=h(Te,Ce,Z,_t,1),Ce=h(Te,Ce,Z,_t,2),Ce=h(Te,Ce,Z,_t,3),_t.length!==4&&(Ce=h(Te,Ce,Z,_t,4)))}}}return Ke+E.decode(Te.subarray(0,Ce))}function h(W,Z,ie,de,Te){const Se=de[Te];let Ce=Se-ie[Te];ie[Te]=Se,Ce=Ce<0?-Ce<<1|1:Ce<<1;do{let Ke=Ce&31;Ce>>>=5,Ce>0&&(Ke|=32),W[Z++]=p[Ke]}while(Ce>0);return Z}const g=/^[\w+.-]+:\/\//,A=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,O=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function k(W){return g.test(W)}function N(W){return W.startsWith("//")}function B(W){return W.startsWith("/")}function H(W){return W.startsWith("file:")}function U(W){return/^[.?#]/.test(W)}function Y(W){const Z=A.exec(W);return G(Z[1],Z[2]||"",Z[3],Z[4]||"",Z[5]||"/",Z[6]||"",Z[7]||"")}function P(W){const Z=O.exec(W),ie=Z[2];return G("file:","",Z[1]||"","",B(ie)?ie:"/"+ie,Z[3]||"",Z[4]||"")}function G(W,Z,ie,de,Te,Se,Ce){return{scheme:W,user:Z,host:ie,port:de,path:Te,query:Se,hash:Ce,type:7}}function q(W){if(N(W)){const ie=Y("http:"+W);return ie.scheme="",ie.type=6,ie}if(B(W)){const ie=Y("http://foo.com"+W);return ie.scheme="",ie.host="",ie.type=5,ie}if(H(W))return P(W);if(k(W))return Y(W);const Z=Y("http://foo.com/"+W);return Z.scheme="",Z.host="",Z.type=W?W.startsWith("?")?3:W.startsWith("#")?2:4:1,Z}function ne(W){if(W.endsWith("/.."))return W;const Z=W.lastIndexOf("/");return W.slice(0,Z+1)}function se(W,Z){re(Z,Z.type),W.path==="/"?W.path=Z.path:W.path=ne(Z.path)+W.path}function re(W,Z){const ie=Z<=4,de=W.path.split("/");let Te=1,Se=0,Ce=!1;for(let Me=1;Me<de.length;Me++){const ut=de[Me];if(!ut){Ce=!0;continue}if(Ce=!1,ut!=="."){if(ut===".."){Se?(Ce=!0,Se--,Te--):ie&&(de[Te++]=ut);continue}de[Te++]=ut,Se++}}let Ke="";for(let Me=1;Me<Te;Me++)Ke+="/"+de[Me];(!Ke||Ce&&!Ke.endsWith("/.."))&&(Ke+="/"),W.path=Ke}function ue(W,Z){if(!W&&!Z)return"";const ie=q(W);let de=ie.type;if(Z&&de!==7){const Se=q(Z),Ce=Se.type;switch(de){case 1:ie.hash=Se.hash;case 2:ie.query=Se.query;case 3:case 4:se(ie,Se);case 5:ie.user=Se.user,ie.host=Se.host,ie.port=Se.port;case 6:ie.scheme=Se.scheme}Ce>de&&(de=Ce)}re(ie,de);const Te=ie.query+ie.hash;switch(de){case 2:case 3:return Te;case 4:{const Se=ie.path.slice(1);return Se?U(Z||W)&&!U(Se)?"./"+Se+Te:Se+Te:Te||"."}case 5:return ie.path+Te;default:return ie.scheme+"//"+ie.user+ie.host+ie.port+ie.path+Te}}function ce(W,Z){return Z&&!Z.endsWith("/")&&(Z+="/"),ue(W,Z)}function Ee(W){if(!W)return"";const Z=W.lastIndexOf("/");return W.slice(0,Z+1)}const xe=0,_e=1,oe=2,X=3,J=4,te=1,ve=2;function me(W,Z){const ie=Ze(W,0);if(ie===W.length)return W;Z||(W=W.slice());for(let de=ie;de<W.length;de=Ze(W,de+1))W[de]=ht(W[de],Z);return W}function Ze(W,Z){for(let ie=Z;ie<W.length;ie++)if(!Ve(W[ie]))return ie;return W.length}function Ve(W){for(let Z=1;Z<W.length;Z++)if(W[Z][xe]<W[Z-1][xe])return!1;return!0}function ht(W,Z){return Z||(W=W.slice()),W.sort(wt)}function wt(W,Z){return W[xe]-Z[xe]}let yt=!1;function St(W,Z,ie,de){for(;ie<=de;){const Te=ie+(de-ie>>1),Se=W[Te][xe]-Z;if(Se===0)return yt=!0,Te;Se<0?ie=Te+1:de=Te-1}return yt=!1,ie-1}function Ct(W,Z,ie){for(let de=ie+1;de<W.length&&W[de][xe]===Z;ie=de++);return ie}function le(W,Z,ie){for(let de=ie-1;de>=0&&W[de][xe]===Z;ie=de--);return ie}function Oe(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function be(W,Z,ie,de){const{lastKey:Te,lastNeedle:Se,lastIndex:Ce}=ie;let Ke=0,Me=W.length-1;if(de===Te){if(Z===Se)return yt=Ce!==-1&&W[Ce][xe]===Z,Ce;Z>=Se?Ke=Ce===-1?0:Ce:Me=Ce}return ie.lastKey=de,ie.lastNeedle=Z,ie.lastIndex=St(W,Z,Ke,Me)}function pt(W,Z){const ie=Z.map(Rt);for(let de=0;de<W.length;de++){const Te=W[de];for(let Se=0;Se<Te.length;Se++){const Ce=Te[Se];if(Ce.length===1)continue;const Ke=Ce[_e],Me=Ce[oe],ut=Ce[X],Wt=ie[Ke],_t=Wt[Me]||(Wt[Me]=[]),Yt=Z[Ke];let kn=Ct(_t,ut,be(_t,ut,Yt,Me));Yt.lastIndex=++kn,Et(_t,kn,[ut,de,Ce[xe]])}}return ie}function Et(W,Z,ie){for(let de=W.length;de>Z;de--)W[de]=W[de-1];W[Z]=ie}function Rt(){return{__proto__:null}}const mn=function(W,Z){const ie=Dt(W);if(!("sections"in ie))return new Ie(ie,Z);const de=[],Te=[],Se=[],Ce=[],Ke=[];Pt(ie,Z,de,Te,Se,Ce,Ke,0,0,1/0,1/0);const Me={version:3,file:ie.file,names:Ce,sources:Te,sourcesContent:Se,mappings:de,ignoreList:Ke};return jr(Me)};function Dt(W){return typeof W=="string"?JSON.parse(W):W}function Pt(W,Z,ie,de,Te,Se,Ce,Ke,Me,ut,Wt){const{sections:_t}=W;for(let Yt=0;Yt<_t.length;Yt++){const{map:kn,offset:zn}=_t[Yt];let er=ut,Gr=Wt;if(Yt+1<_t.length){const ti=_t[Yt+1].offset;er=Math.min(ut,Ke+ti.line),er===ut?Gr=Math.min(Wt,Me+ti.column):er<ut&&(Gr=Me+ti.column)}kt(kn,Z,ie,de,Te,Se,Ce,Ke+zn.line,Me+zn.column,er,Gr)}}function kt(W,Z,ie,de,Te,Se,Ce,Ke,Me,ut,Wt){const _t=Dt(W);if("sections"in _t)return Pt(...arguments);const Yt=new Ie(_t,Z),kn=de.length,zn=Se.length,er=ft(Yt),{resolvedSources:Gr,sourcesContent:ti,ignoreList:Os}=Yt;if(It(de,Gr),It(Se,Yt.names),ti)It(Te,ti);else for(let tr=0;tr<Gr.length;tr++)Te.push(null);if(Os)for(let tr=0;tr<Os.length;tr++)Ce.push(Os[tr]+kn);for(let tr=0;tr<er.length;tr++){const ro=Ke+tr;if(ro>ut)return;const _a=tn(ie,ro),Ju=tr===0?Me:0,ma=er[tr];for(let io=0;io<ma.length;io++){const oo=ma[io],zr=Ju+oo[xe];if(ro===ut&&zr>=Wt)return;if(oo.length===1){_a.push([zr]);continue}const go=kn+oo[_e],ec=oo[oe],$o=oo[X];_a.push(oo.length===4?[zr,go,ec,$o]:[zr,go,ec,$o,zn+oo[J]])}}}function It(W,Z){for(let ie=0;ie<Z.length;ie++)W.push(Z[ie])}function tn(W,Z){for(let ie=W.length;ie<=Z;ie++)W[ie]=[];return W[Z]}const rr="`line` must be greater than 0 (lines start at line 1)",z="`column` must be greater than or equal to 0 (columns start at column 0)",Fe=-1,Ue=1;class Ie{constructor(Z,ie){const de=typeof Z=="string";if(!de&&Z._decodedMemo)return Z;const Te=de?JSON.parse(Z):Z,{version:Se,file:Ce,names:Ke,sourceRoot:Me,sources:ut,sourcesContent:Wt}=Te;this.version=Se,this.file=Ce,this.names=Ke||[],this.sourceRoot=Me,this.sources=ut,this.sourcesContent=Wt,this.ignoreList=Te.ignoreList||Te.x_google_ignoreList||void 0;const _t=ce(Me||"",Ee(ie));this.resolvedSources=ut.map(kn=>ce(kn||"",_t));const{mappings:Yt}=Te;typeof Yt=="string"?(this._encoded=Yt,this._decoded=void 0):(this._encoded=void 0,this._decoded=me(Yt,de)),this._decodedMemo=Oe(),this._bySources=void 0,this._bySourceMemos=void 0}}function Qe(W){return W}function $t(W){var Z,ie;return(Z=(ie=W)._encoded)!==null&&Z!==void 0?Z:ie._encoded=v(W._decoded)}function ft(W){var Z;return(Z=W)._decoded||(Z._decoded=b(W._encoded))}function ln(W,Z){let{line:ie,column:de,bias:Te}=Z;if(ie--,ie<0)throw new Error(rr);if(de<0)throw new Error(z);const Se=ft(W);if(ie>=Se.length)return ir(null,null,null,null);const Ce=Se[ie],Ke=Ji(Ce,W._decodedMemo,ie,de,Te||Ue);if(Ke===-1)return ir(null,null,null,null);const Me=Ce[Ke];if(Me.length===1)return ir(null,null,null,null);const{names:ut,resolvedSources:Wt}=W;return ir(Wt[Me[_e]],Me[oe]+1,Me[X],Me.length===5?ut[Me[J]]:null)}function yn(W,Z){const{source:ie,line:de,column:Te,bias:Se}=Z;return fr(W,ie,de,Te,Se||Ue,!1)}function Vr(W,Z){const{source:ie,line:de,column:Te,bias:Se}=Z;return fr(W,ie,de,Te,Se||Fe,!0)}function Dn(W,Z){const ie=ft(W),{names:de,resolvedSources:Te}=W;for(let Se=0;Se<ie.length;Se++){const Ce=ie[Se];for(let Ke=0;Ke<Ce.length;Ke++){const Me=Ce[Ke],ut=Se+1,Wt=Me[0];let _t=null,Yt=null,kn=null,zn=null;Me.length!==1&&(_t=Te[Me[1]],Yt=Me[2]+1,kn=Me[3]),Me.length===5&&(zn=de[Me[4]]),Z({generatedLine:ut,generatedColumn:Wt,source:_t,originalLine:Yt,originalColumn:kn,name:zn})}}}function nn(W,Z){const{sources:ie,resolvedSources:de}=W;let Te=ie.indexOf(Z);return Te===-1&&(Te=de.indexOf(Z)),Te}function wi(W,Z){const{sourcesContent:ie}=W;if(ie==null)return null;const de=nn(W,Z);return de===-1?null:ie[de]}function jr(W,Z){const ie=new Ie(Ri(W,[]),Z);return ie._decoded=W.mappings,ie}function Ri(W,Z){return{version:W.version,file:W.file,names:W.names,sourceRoot:W.sourceRoot,sources:W.sources,sourcesContent:W.sourcesContent,mappings:Z,ignoreList:W.ignoreList||W.x_google_ignoreList}}function ir(W,Z,ie,de){return{source:W,line:Z,column:ie,name:de}}function Or(W,Z){return{line:W,column:Z}}function Ji(W,Z,ie,de,Te){let Se=be(W,de,Z,ie);return yt?Se=(Te===Fe?Ct:le)(W,de,Se):Te===Fe&&Se++,Se===-1||Se===W.length?-1:Se}function yi(W,Z,ie,de,Te){let Se=Ji(W,Z,ie,de,Ue);if(!yt&&Te===Fe&&Se++,Se===-1||Se===W.length)return[];const Ce=yt?de:W[Se][xe];yt||(Se=le(W,Ce,Se));const Ke=Ct(W,Ce,Se),Me=[];for(;Se<=Ke;Se++){const ut=W[Se];Me.push(Or(ut[te]+1,ut[ve]))}return Me}function fr(W,Z,ie,de,Te,Se){var Ce;if(ie--,ie<0)throw new Error(rr);if(de<0)throw new Error(z);const{sources:Ke,resolvedSources:Me}=W;let ut=Ke.indexOf(Z);if(ut===-1&&(ut=Me.indexOf(Z)),ut===-1)return Se?[]:Or(null,null);const _t=((Ce=W)._bySources||(Ce._bySources=pt(ft(W),W._bySourceMemos=Ke.map(Oe))))[ut][ie];if(_t==null)return Se?[]:Or(null,null);const Yt=W._bySourceMemos[ut];if(Se)return yi(_t,Yt,ie,de,Te);const kn=Ji(_t,Yt,ie,de,Te);if(kn===-1)return Or(null,null);const zn=_t[kn];return Or(zn[te]+1,zn[ve])}class Hr{constructor(){this._indexes={__proto__:null},this.array=[]}}function eo(W){return W}function dt(W,Z){return W._indexes[Z]}function Jn(W,Z){const ie=dt(W,Z);if(ie!==void 0)return ie;const{array:de,_indexes:Te}=W,Se=de.push(Z);return Te[Z]=Se-1}const L=0,K=1,ee=2,ae=3,he=4,Le=-1;class Be{constructor({file:Z,sourceRoot:ie}={}){this._names=new Hr,this._sources=new Hr,this._sourcesContent=[],this._mappings=[],this.file=Z,this.sourceRoot=ie,this._ignoreList=new Hr}}function at(W){return W}const Xt=(W,Z)=>Ho(!0,W,Z);function fn(W,Z,ie){const{_sources:de,_sourcesContent:Te}=W,Se=Jn(de,Z);Te[Se]=ie}function Sn(W){const{_mappings:Z,_sources:ie,_sourcesContent:de,_names:Te,_ignoreList:Se}=W;return r0(Z),{version:3,file:W.file||void 0,names:Te.array,sourceRoot:W.sourceRoot||void 0,sources:ie.array,sourcesContent:de,mappings:Z,ignoreList:Se.array}}function $r(W){const Z=Sn(W);return Object.assign(Object.assign({},Z),{mappings:v(Z.mappings)})}function Kt(W){const Z=new Ie(W),ie=new Be({file:Z.file,sourceRoot:Z.sourceRoot});return jo(ie._names,Z.names),jo(ie._sources,Z.sources),ie._sourcesContent=Z.sourcesContent||Z.sources.map(()=>null),ie._mappings=ft(Z),Z.ignoreList&&jo(ie._ignoreList,Z.ignoreList),ie}function ei(W,Z,ie,de,Te,Se,Ce,Ke,Me){const{_mappings:ut,_sources:Wt,_sourcesContent:_t,_names:Yt}=Z,kn=wr(ut,ie),zn=Qu(kn,de);if(!Te)return W&&pa(kn,zn)?void 0:to(kn,zn,[de]);const er=Jn(Wt,Te),Gr=Ke?Jn(Yt,Ke):Le;if(er===_t.length&&(_t[er]=Me??null),!(W&&no(kn,zn,er,Se,Ce,Gr)))return to(kn,zn,Ke?[de,er,Se,Ce,Gr]:[de,er,Se,Ce])}function wr(W,Z){for(let ie=W.length;ie<=Z;ie++)W[ie]=[];return W[Z]}function Qu(W,Z){let ie=W.length;for(let de=ie-1;de>=0;ie=de--){const Te=W[de];if(Z>=Te[L])break}return ie}function to(W,Z,ie){for(let de=W.length;de>Z;de--)W[de]=W[de-1];W[Z]=ie}function r0(W){const{length:Z}=W;let ie=Z;for(let de=ie-1;de>=0&&!(W[de].length>0);ie=de,de--);ie<Z&&(W.length=ie)}function jo(W,Z){for(let ie=0;ie<Z.length;ie++)Jn(W,Z[ie])}function pa(W,Z){return Z===0?!0:W[Z-1].length===1}function no(W,Z,ie,de,Te,Se){if(Z===0)return!1;const Ce=W[Z-1];return Ce.length===1?!1:ie===Ce[K]&&de===Ce[ee]&&Te===Ce[ae]&&Se===(Ce.length===5?Ce[he]:Le)}function Ho(W,Z,ie){const{generated:de,source:Te,original:Se,name:Ce,content:Ke}=ie;return Te?ei(W,Z,de.line-1,de.column,Te,Se.line-1,Se.column,Ce,Ke):ei(W,Z,de.line-1,de.column,null,null,null,null,null)}class da{constructor(Z,ie){const de=this._map=new mn(Z,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(Z,ie){return Z.toDecodedMap?new da(Z.toDecodedMap(),ie):new da(Z.toJSON(),ie)}get mappings(){return $t(this._map)}originalPositionFor(Z){return ln(this._map,Z)}generatedPositionFor(Z){return yn(this._map,Z)}allGeneratedPositionsFor(Z){return Vr(this._map,Z)}hasContentsOfAllSources(){if(!this.sourcesContent||this.sourcesContent.length!==this.sources.length)return!1;for(const Z of this.sourcesContent)if(Z==null)return!1;return!0}sourceContentFor(Z,ie){const de=wi(this._map,Z);if(de!=null)return de;if(ie)return null;throw new Error(`"${Z}" is not in the SourceMap.`)}eachMapping(Z,ie){Dn(this._map,ie?Z.bind(ie):Z)}destroy(){}}class st{constructor(Z){this._map=Z instanceof Be?Z:new Be(Z)}static fromSourceMap(Z){return new st(Kt(Z))}addMapping(Z){Xt(this._map,Z)}setSourceContent(Z,ie){fn(this._map,Z,ie)}toJSON(){return $r(this._map)}toString(){return JSON.stringify(this.toJSON())}toDecodedMap(){return Sn(this._map)}}n.SourceMapConsumer=da,n.SourceMapGenerator=st,Object.defineProperty(n,"__esModule",{value:!0})})})(t0,t0.exports);var t_=t0.exports;function*uv(t){t=Ei(t,{file:null,root:null,orig:null,files:{}});var e,n=new t_.SourceMapGenerator({file:t.file,sourceRoot:t.root});let r={__proto__:null},s=t.files;for(var c in s)sr(s,c)&&(r[c]=s[c]);t.orig&&(e=yield new t_.SourceMapConsumer(t.orig),e.sourcesContent&&e.sources.forEach(function(x,w){var F=e.sourcesContent[w];F&&(r[x]=F)}));function p(x,w,F,R,v,h){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,h=A.name||h}n.addMapping({generated:g,original:{line:R,column:v},source:x,name:h}),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:p,getDecoded:E,getEncoded:b,destroy:T}}var cv=["$&","$'","$*","$+","$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 lv(t){cv.forEach(s);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(s),[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(s),c.prototype&&Object.getOwnPropertyNames(c.prototype).map(s)});function s(c){t.add(c)}}function fv(t,e){function n(r){Ao(e,r)}t.walk(new Mn(function(r){r instanceof on&&r.quote?n(r.key):r instanceof dn&&r.quote?n(r.key.name):r instanceof Cn&&Vo(r.property,n)}))}function Vo(t,e){t.walk(new Mn(function(n){return n instanceof mt?Vo(n.tail_node(),e):n instanceof bt?e(n.value):n instanceof it&&(Vo(n.consequent,e),Vo(n.alternative,e)),!0}))}function hv(t,e){var n=-1,r=new Map,s=e.nth_identifier||Ts;return t=t.transform(new br(function(p){p instanceof Ci||p instanceof Ai||p instanceof ui||p instanceof Ti||p instanceof li?p.key.name=c(p.key.name):p instanceof Yr&&(p.property=c(p.property))})),t;function c(p){let d=r.get(p);return d||(d=s.get(++n),r.set(p,d)),d}}function n_(t){var e=new Set;return Ln(t,n=>{n instanceof Ci||n instanceof Ai||n instanceof ui||n instanceof Ti||n instanceof Yr||(n instanceof on?typeof n.key=="string"&&pr(n,Ss)&&e.add(n.key):n instanceof dn?pr(n,Ss)&&e.add(n.key.name):n instanceof Qt?pr(n,Ss)&&e.add(n.property):n instanceof Cn&&n.property instanceof bt&&pr(n,Ss)&&e.add(n.property.value))}),e}function pv(t,e,n=n_(t)){e=Ei(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,s=e.reserved;Array.isArray(s)||(s=[s]);var c=new Set(s);e.builtins||lv(c);var p=-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 Mn(function(k){if(!(k instanceof Ci||k instanceof Ai||k instanceof ui||k instanceof Ti||k instanceof Yr))if(k instanceof on)typeof k.key=="string"&&(!R||!k.quote)&&g(k.key);else if(k instanceof dn)(!R||!k.quote)&&g(k.key.name);else if(k instanceof Qt){var N=!!e.undeclared;if(!N){for(var B=k;B.expression;)B=B.expression;N=!(B.thedef&&B.thedef.undeclared)}N&&(!R||!k.quote)&&g(k.property)}else k instanceof Cn?R||Vo(k.property,g):k instanceof He&&k.expression.print_to_string()=="Object.defineProperty"?Vo(k.args[1],g):k instanceof pe&&k.operator==="in"?Vo(k.left,g):k instanceof bt&&pr(k,xs)&&g(k.value)})),t.transform(new br(function(k){k instanceof Ci||k instanceof Ai||k instanceof ui||k instanceof Ti||k instanceof Yr||(k instanceof on?typeof k.key=="string"&&(!R||!k.quote)&&(k.key=A(k.key)):k instanceof dn?(!R||!k.quote)&&(k.key.name=A(k.key.name)):k instanceof Qt?(!R||!k.quote)&&(k.property=A(k.property)):!R&&k instanceof Cn?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)&&(gd(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 h(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),h(k)||F.add(k)}function A(k){if(!h(k))return k;var N=d.get(k);if(!N){if(T){var B="_$"+k+"$"+x+"_";v(B)&&(N=B)}if(!N)do N=r.get(++p);while(!v(N));d.set(k,N)}return N}function O(k){return k.transform(new br(function(N){if(N instanceof mt){var B=N.expressions.length-1;N.expressions[B]=O(N.expressions[B])}else N instanceof bt?(gd(N,xs),N.value=A(N.value)):N instanceof it&&(N.consequent=O(N.consequent),N.alternative=O(N.alternative));return N}))}}var dv=typeof Buffer<"u"?t=>Buffer.from(t,"base64").toString():t=>decodeURIComponent(escape(atob(t))),_v=typeof Buffer<"u"?t=>Buffer.from(t).toString("base64"):t=>btoa(unescape(encodeURIComponent(t)));function mv(t){var e=/(?:^|[^.])\/\/# sourceMappingURL=data:application\/json(;[\w=-]*)?;base64,([+/0-9A-Za-z]*=*)\s*$/.exec(t);return e?dv(e[2]):(console.warn("inline source map not found"),null)}function yo(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 r_(t){t&&("props"in t?t.props instanceof Map||(t.props=ig(t.props)):t.props=new Map)}function i_(t){return{props:og(t.props)}}function yv(t,e,n,r){if(!(n&&n.writeFileSync&&n.mkdirSync))return;try{n.mkdirSync(r)}catch(d){if(d.code!=="EEXIST")throw d}const s=`${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),p=d=>typeof d=="object"&&e.parse&&e.parse.spidermonkey?JSON.stringify(d,null,2):typeof d=="object"?Object.keys(d).map(E=>E+": "+p(d[E])).join(`
194
+
195
+ `):typeof d=="string"?"```\n"+d+"\n```":d;n.writeFileSync(s,`Options:
196
+ `+c+`
197
+
198
+ Input files:
199
+
200
+ `+p(t)+`
201
+ `)}function*gv(t,e,n){n&&typeof process=="object"&&process.env&&typeof process.env.TERSER_DEBUG_DIR=="string"&&yv(t,e,n,process.env.TERSER_DEBUG_DIR),e=Ei(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||{},yo("ecma",e,["parse","compress","format"]),yo("ie8",e,["compress","mangle","format"]),yo("keep_classnames",e,["compress","mangle"]),yo("keep_fnames",e,["compress","mangle"]),yo("module",e,["parse","compress","mangle"]),yo("safari10",e,["mangle","format"]),yo("toplevel",e,["compress","mangle"]),yo("warnings",e,["compress"]);var s;e.mangle&&(e.mangle=Ei(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&&(s=e.mangle.properties.reserved,Array.isArray(s)||(s=[]),e.mangle.properties.reserved=s),e.nameCache&&!("cache"in e.mangle.properties)&&(e.mangle.properties.cache=e.nameCache.props||{})),r_(e.mangle.cache),r_(e.mangle.properties.cache)),e.sourceMap&&(e.sourceMap=Ei(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 Zt)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=ke.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 p in t)if(sr(t,p)&&(e.parse.filename=p,e.parse.toplevel=ms(t[p],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=mv(t[p])}}if(e.parse.toplevel===null)throw new Error("no source file given");c=e.parse.toplevel}s&&e.mangle.properties.keep_quoted!=="strict"&&fv(c,s);var d;e.mangle&&e.mangle.properties&&(d=n_(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 Zd(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=hv(c,e.mangle)),r&&(r.properties=Date.now()),e.mangle&&e.mangle.properties&&(c=pv(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,Ln(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 Zt)throw new Error("original source content unavailable");b.source_map=yield*uv({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=kf(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,`+_v(x)}else e.sourceMap.url&&(E.code+=`
203
+ //# sourceMappingURL=`+e.sourceMap.url)}return e.nameCache&&e.mangle&&(e.mangle.cache&&(e.nameCache.vars=i_(e.mangle.cache)),e.mangle.properties&&e.mangle.properties.cache&&(e.nameCache.props=i_(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 n0(t,e,n){const r=gv(t,e,n);let s,c;do c=r.next(await s),s=c.value;while(!c.done);return c.value}function o_(t){const e=new wm(t),n=new Cl(e);n.removeErrorListeners();const r=new Dm(n),s=new j(r);s._interp.predictionMode=Bm.SLL,s.removeErrorListeners();const c=new Ev;n.addErrorListener(c),s.addErrorListener(c),s.buildParseTrees=!0;const p=s.program(),d=r.tokens.filter(E=>E.channel===2);return{errors:c.errors,ast:p,comments:d}}async function vv(t,e,n,r){const{errors:s,ast:c,comments:p}=o_(t+`
204
+
205
+ `),d=new Sp(r,p,n),E=await d.visit(c);let b=s.splice(0,1);b.length||(b=d.errors);let T="";const x=new Hy("$"),w=e?"":x.preParser(E);if(console.log((await n0(w||"",{compress:!0,mangle:!0})).code),e&&!b.some(F=>F.type===or.Error)){const F=x.parser(E)||"";T=(await n0(F,{compress:!0,mangle:!0})).code||"";const v={message:Ae.indiRunErr,type:or.Error,startColumn:0,startLineNumber:0,endColumn:0,endLineNumber:0};if(d.hasUseDrawFunc){if(d.scriptType===qo.library)d.exportPositions.length||(v.message=Ae.libraryExportErr,b.push(v));else if(d.exportPositions.length){const h=d.exportPositions.map(g=>{const{type:A,...O}=g;return{message:Re(Ae.exportUseErr,{type:A}),type:or.Error,...O}});b.push(...h)}}else switch(d.scriptType){case qo.indicator:b.push(v);break;case qo.strategy:d.hasUseCreateOrderFunc||(v.message=Ae.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),codeStr:T,preParserCode:w}}async function bv(t,e,n,r){const{ast:s,comments:c}=o_(t+`
206
+
207
+ `),p=new Sp(r,c,n),d=await p.visit(s),{name:E,index:b}=p.endExport,T=d.findIndex(v=>v.name===E&&v.index===b),x=d.slice(0,T+1),F=new $y("$",e).parser(x)||"",R=await n0(F,{compress:!0,mangle:!0});return{...p.exportLibs,description:p.description,codeStr:R.code||""}}class Ev extends km{constructor(){super(...arguments);I(this,"errors",[])}syntaxError(n,r,s,c,p){this.errors.push({message:`syntax error: ${p.replace(/expecting.+/,"")}`,type:or.Error,startColumn:c,startLineNumber:s,endColumn:c,endLineNumber:s})}}_f({parseTcc:vv,parseLibraryCode:bv})})();