@guihz/trading-vue-editor-tes 0.0.211 → 0.0.212

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,284 @@
1
+ var ab=Object.defineProperty;var ub=(po,pi,Or)=>pi in po?ab(po,pi,{enumerable:!0,configurable:!0,writable:!0,value:Or}):po[pi]=Or;var w=(po,pi,Or)=>(ub(po,typeof pi!="symbol"?pi+"":pi,Or),Or);(function(){"use strict";var po={92:()=>{}},pi={};function Or(t){var e=pi[t];if(e!==void 0)return e.exports;var n=pi[t]={exports:{}};return po[t](n,n.exports,Or),n.exports}Or.d=(t,e)=>{for(var n in e)Or.o(e,n)&&!Or.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},Or.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var kt={};(()=>{function t(f){return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},t(f)}function e(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(t(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(t(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),t(p)==="symbol"?p:String(p)),s)}var p}Or.d(kt,{dx:()=>mn,q2:()=>dh,FO:()=>Km,xf:()=>tu,Gy:()=>qm,s4:()=>Ia,c7:()=>Zm,_7:()=>$m,gp:()=>jm,cK:()=>Ra,zs:()=>Hh,AV:()=>tu,Xp:()=>ve,VS:()=>ie,ul:()=>Bo,hW:()=>sr,x1:()=>Vs,z5:()=>Uc,oN:()=>Bh,TB:()=>Vm,u1:()=>jc,_b:()=>ip,$F:()=>Mm,_T:()=>up,db:()=>Bm,Zx:()=>Kn,_x:()=>$o,r8:()=>Yi,JI:()=>Fe,TP:()=>sn,WU:()=>n,Nj:()=>M,ZP:()=>sb});var n=function(){function f(){(function(s,p){if(!(s instanceof p))throw new TypeError("Cannot call a class as a function")})(this,f),this.source=null,this.type=null,this.channel=null,this.start=null,this.stop=null,this.tokenIndex=null,this.line=null,this.column=null,this._text=null}var i,m;return i=f,(m=[{key:"getTokenSource",value:function(){return this.source[0]}},{key:"getInputStream",value:function(){return this.source[1]}},{key:"text",get:function(){return this._text},set:function(s){this._text=s}}])&&e(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();function r(f,i){if(!Array.isArray(f)||!Array.isArray(i))return!1;if(f===i)return!0;if(f.length!==i.length)return!1;for(var m=0;m<f.length;m++)if(!(f[m]===i[m]||f[m].equals&&f[m].equals(i[m])))return!1;return!0}function a(f){return a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},a(f)}n.INVALID_TYPE=0,n.EPSILON=-2,n.MIN_USER_TOKEN_TYPE=1,n.EOF=-1,n.DEFAULT_CHANNEL=0,n.HIDDEN_CHANNEL=1;var c=Math.round(Math.random()*Math.pow(2,32));function h(f){if(!f)return 0;var i,m,s=a(f),p=s==="string"?f:!(s!=="object"||!f.toString)&&f.toString();if(!p)return 0;for(var l=3&p.length,_=p.length-l,o=c,u=3432918353,E=461845907,A=0;A<_;)m=255&p.charCodeAt(A)|(255&p.charCodeAt(++A))<<8|(255&p.charCodeAt(++A))<<16|(255&p.charCodeAt(++A))<<24,++A,o=27492+(65535&(i=5*(65535&(o=(o^=m=(65535&(m=(m=(65535&m)*u+(((m>>>16)*u&65535)<<16)&4294967295)<<15|m>>>17))*E+(((m>>>16)*E&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&p.charCodeAt(A+2))<<16;case 2:m^=(255&p.charCodeAt(A+1))<<8;case 1:o^=m=(65535&(m=(m=(65535&(m^=255&p.charCodeAt(A)))*u+(((m>>>16)*u&65535)<<16)&4294967295)<<15|m>>>17))*E+(((m>>>16)*E&65535)<<16)&4294967295}return o^=p.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 v(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(d(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(d(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),d(p)==="symbol"?p:String(p)),s)}var p}var S=function(){function f(){(function(p,l){if(!(p instanceof l))throw new TypeError("Cannot call a class as a function")})(this,f),this.count=0,this.hash=0}var i,m,s;return i=f,m=[{key:"update",value:function(){for(var p=0;p<arguments.length;p++){var l=arguments[p];if(l!=null)if(Array.isArray(l))this.update.apply(this,l);else{var _=0;switch(d(l)){case"undefined":case"function":continue;case"number":case"boolean":_=l;break;case"string":_=h(l);break;default:l.updateHashCode?l.updateHashCode(this):console.log("No updateHashCode for "+l.toString());continue}_=(_*=3432918353)<<15|_>>>17,_*=461845907,this.count=this.count+1;var o=this.hash^_;o=5*(o=o<<13|o>>>19)+3864292196,this.hash=o}}}},{key:"finish",value:function(){var p=this.hash^4*this.count;return p^=p>>>16,p*=2246822507,p^=p>>>13,(p*=3266489909)^p>>>16}}],s=[{key:"hashStuff",value:function(){var p=new f;return p.update.apply(p,arguments),p.finish()}}],m&&v(i.prototype,m),s&&v(i,s),Object.defineProperty(i,"prototype",{writable:!1}),f}();function C(f){return f?typeof f=="string"?h(f):f.hashCode():-1}function T(f,i){return f?f.equals(i):f===i}function D(f){return f===null?"null":f}function M(f){return Array.isArray(f)?"["+f.map(D).join(", ")+"]":"null"}function P(f){return P=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},P(f)}function b(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(P(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(P(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),P(p)==="symbol"?p:String(p)),s)}var p}var y="h-",g=function(){function f(s,p){(function(l,_){if(!(l instanceof _))throw new TypeError("Cannot call a class as a function")})(this,f),this.data={},this.hashFunction=s||C,this.equalsFunction=p||T}var i,m;return i=f,(m=[{key:"add",value:function(s){var p=y+this.hashFunction(s);if(p in this.data){for(var l=this.data[p],_=0;_<l.length;_++)if(this.equalsFunction(s,l[_]))return l[_];return l.push(s),s}return this.data[p]=[s],s}},{key:"has",value:function(s){return this.get(s)!=null}},{key:"get",value:function(s){var p=y+this.hashFunction(s);if(p in this.data){for(var l=this.data[p],_=0;_<l.length;_++)if(this.equalsFunction(s,l[_]))return l[_]}return null}},{key:"values",value:function(){var s=this;return Object.keys(this.data).filter(function(p){return p.startsWith(y)}).flatMap(function(p){return s.data[p]},this)}},{key:"toString",value:function(){return M(this.values())}},{key:"length",get:function(){var s=this;return Object.keys(this.data).filter(function(p){return p.startsWith(y)}).map(function(p){return s.data[p].length},this).reduce(function(p,l){return p+l},0)}}])&&b(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();function O(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&&R(f,i)}function R(f,i){return R=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},R(f,i)}function k(f){var i=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var m,s=U(f);if(i){var p=U(this).constructor;m=Reflect.construct(s,arguments,p)}else m=s.apply(this,arguments);return function(l,_){if(_&&(X(_)==="object"||typeof _=="function"))return _;if(_!==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 U(f){return U=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},U(f)}function X(f){return X=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},X(f)}function J(f,i){if(!(f instanceof i))throw new TypeError("Cannot call a class as a function")}function G(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(X(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(X(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),X(p)==="symbol"?p:String(p)),s)}var p}function Y(f,i,m){return i&&G(f.prototype,i),m&&G(f,m),Object.defineProperty(f,"prototype",{writable:!1}),f}var $=function(){function f(){J(this,f)}return Y(f,[{key:"hashCode",value:function(){var i=new S;return this.updateHashCode(i),i.finish()}},{key:"evaluate",value:function(i,m){}},{key:"evalPrecedence",value:function(i,m){return this}}],[{key:"andContext",value:function(i,m){if(i===null||i===f.NONE)return m;if(m===null||m===f.NONE)return i;var s=new te(i,m);return s.opnds.length===1?s.opnds[0]:s}},{key:"orContext",value:function(i,m){if(i===null)return m;if(m===null)return i;if(i===f.NONE||m===f.NONE)return f.NONE;var s=new ee(i,m);return s.opnds.length===1?s.opnds[0]:s}}]),f}(),te=function(f){O(m,f);var i=k(m);function m(s,p){var l;J(this,m),l=i.call(this);var _=new g;s instanceof m?s.opnds.map(function(E){_.add(E)}):_.add(s),p instanceof m?p.opnds.map(function(E){_.add(E)}):_.add(p);var o=_e(_);if(o.length>0){var u=null;o.map(function(E){(u===null||E.precedence<u.precedence)&&(u=E)}),_.add(u)}return l.opnds=Array.from(_.values()),l}return Y(m,[{key:"equals",value:function(s){return this===s||s instanceof m&&r(this.opnds,s.opnds)}},{key:"updateHashCode",value:function(s){s.update(this.opnds,"AND")}},{key:"evaluate",value:function(s,p){for(var l=0;l<this.opnds.length;l++)if(!this.opnds[l].evaluate(s,p))return!1;return!0}},{key:"evalPrecedence",value:function(s,p){for(var l=!1,_=[],o=0;o<this.opnds.length;o++){var u=this.opnds[o],E=u.evalPrecedence(s,p);if(l|=E!==u,E===null)return null;E!==$.NONE&&_.push(E)}if(!l)return this;if(_.length===0)return $.NONE;var A=null;return _.map(function(x){A=A===null?x:$.andContext(A,x)}),A}},{key:"toString",value:function(){var s=this.opnds.map(function(p){return p.toString()});return(s.length>3?s.slice(3):s).join("&&")}}]),m}($),ee=function(f){O(m,f);var i=k(m);function m(s,p){var l;J(this,m),l=i.call(this);var _=new g;s instanceof m?s.opnds.map(function(A){_.add(A)}):_.add(s),p instanceof m?p.opnds.map(function(A){_.add(A)}):_.add(p);var o=_e(_);if(o.length>0){var u=o.sort(function(A,x){return A.compareTo(x)}),E=u[u.length-1];_.add(E)}return l.opnds=Array.from(_.values()),l}return Y(m,[{key:"equals",value:function(s){return this===s||s instanceof m&&r(this.opnds,s.opnds)}},{key:"updateHashCode",value:function(s){s.update(this.opnds,"OR")}},{key:"evaluate",value:function(s,p){for(var l=0;l<this.opnds.length;l++)if(this.opnds[l].evaluate(s,p))return!0;return!1}},{key:"evalPrecedence",value:function(s,p){for(var l=!1,_=[],o=0;o<this.opnds.length;o++){var u=this.opnds[o],E=u.evalPrecedence(s,p);if(l|=E!==u,E===$.NONE)return $.NONE;E!==null&&_.push(E)}return l?(_.length===0||_.map(function(A){return A}),null):this}},{key:"toString",value:function(){var s=this.opnds.map(function(p){return p.toString()});return(s.length>3?s.slice(3):s).join("||")}}]),m}($);function _e(f){var i=[];return f.values().map(function(m){m instanceof $.PrecedencePredicate&&i.push(m)}),i}function ge(f){return ge=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},ge(f)}function re(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(ge(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(ge(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),ge(p)==="symbol"?p:String(p)),s)}var p}function de(f,i){if(f===null){var m={state:null,alt:null,context:null,semanticContext:null};return i&&(m.reachesIntoOuterContext=0),m}var s={};return s.state=f.state||null,s.alt=f.alt===void 0?null:f.alt,s.context=f.context||null,s.semanticContext=f.semanticContext||null,i&&(s.reachesIntoOuterContext=f.reachesIntoOuterContext||0,s.precedenceFilterSuppressed=f.precedenceFilterSuppressed||!1),s}var fe=function(){function f(s,p){(function(l,_){if(!(l instanceof _))throw new TypeError("Cannot call a class as a function")})(this,f),this.checkContext(s,p),s=de(s),p=de(p,!0),this.state=s.state!==null?s.state:p.state,this.alt=s.alt!==null?s.alt:p.alt,this.context=s.context!==null?s.context:p.context,this.semanticContext=s.semanticContext!==null?s.semanticContext:p.semanticContext!==null?p.semanticContext:$.NONE,this.reachesIntoOuterContext=p.reachesIntoOuterContext,this.precedenceFilterSuppressed=p.precedenceFilterSuppressed}var i,m;return i=f,(m=[{key:"checkContext",value:function(s,p){s.context!==null&&s.context!==void 0||p!==null&&p.context!==null&&p.context!==void 0||(this.context=null)}},{key:"hashCode",value:function(){var s=new S;return this.updateHashCode(s),s.finish()}},{key:"updateHashCode",value:function(s){s.update(this.state.stateNumber,this.alt,this.context,this.semanticContext)}},{key:"equals",value:function(s){return this===s||s instanceof f&&this.state.stateNumber===s.state.stateNumber&&this.alt===s.alt&&(this.context===null?s.context===null:this.context.equals(s.context))&&this.semanticContext.equals(s.semanticContext)&&this.precedenceFilterSuppressed===s.precedenceFilterSuppressed}},{key:"hashCodeForConfigSet",value:function(){var s=new S;return s.update(this.state.stateNumber,this.alt,this.semanticContext),s.finish()}},{key:"equalsForConfigSet",value:function(s){return this===s||s instanceof f&&this.state.stateNumber===s.state.stateNumber&&this.alt===s.alt&&this.semanticContext.equals(s.semanticContext)}},{key:"toString",value:function(){return"("+this.state+","+this.alt+(this.context!==null?",["+this.context.toString()+"]":"")+(this.semanticContext!==$.NONE?","+this.semanticContext.toString():"")+(this.reachesIntoOuterContext>0?",up="+this.reachesIntoOuterContext:"")+")"}}])&&re(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 Ie(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(Oe(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Oe(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Oe(p)==="symbol"?p:String(p)),s)}var p}var ve=function(){function f(s,p){(function(l,_){if(!(l instanceof _))throw new TypeError("Cannot call a class as a function")})(this,f),this.start=s,this.stop=p}var i,m;return i=f,(m=[{key:"clone",value:function(){return new f(this.start,this.stop)}},{key:"contains",value:function(s){return s>=this.start&&s<this.stop}},{key:"toString",value:function(){return this.start===this.stop-1?this.start.toString():this.start.toString()+".."+(this.stop-1).toString()}},{key:"length",get:function(){return this.stop-this.start}}])&&Ie(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();function Ue(f){return Ue=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},Ue(f)}function Z(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(Ue(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ue(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ue(p)==="symbol"?p:String(p)),s)}var p}ve.INVALID_INTERVAL=new ve(-1,-2);var ie=function(){function f(){(function(s,p){if(!(s instanceof p))throw new TypeError("Cannot call a class as a function")})(this,f),this.intervals=null,this.readOnly=!1}var i,m;return i=f,(m=[{key:"first",value:function(s){return this.intervals===null||this.intervals.length===0?n.INVALID_TYPE:this.intervals[0].start}},{key:"addOne",value:function(s){this.addInterval(new ve(s,s+1))}},{key:"addRange",value:function(s,p){this.addInterval(new ve(s,p+1))}},{key:"addInterval",value:function(s){if(this.intervals===null)this.intervals=[],this.intervals.push(s.clone());else{for(var p=0;p<this.intervals.length;p++){var l=this.intervals[p];if(s.stop<l.start)return void this.intervals.splice(p,0,s);if(s.stop===l.start)return void(this.intervals[p]=new ve(s.start,l.stop));if(s.start<=l.stop)return this.intervals[p]=new ve(Math.min(l.start,s.start),Math.max(l.stop,s.stop)),void this.reduce(p)}this.intervals.push(s.clone())}}},{key:"addSet",value:function(s){var p=this;return s.intervals!==null&&s.intervals.forEach(function(l){return p.addInterval(l)},this),this}},{key:"reduce",value:function(s){if(s<this.intervals.length-1){var p=this.intervals[s],l=this.intervals[s+1];p.stop>=l.stop?(this.intervals.splice(s+1,1),this.reduce(s)):p.stop>=l.start&&(this.intervals[s]=new ve(p.start,l.stop),this.intervals.splice(s+1,1))}}},{key:"complement",value:function(s,p){var l=new f;return l.addInterval(new ve(s,p+1)),this.intervals!==null&&this.intervals.forEach(function(_){return l.removeRange(_)}),l}},{key:"contains",value:function(s){if(this.intervals===null)return!1;for(var p=0;p<this.intervals.length;p++)if(this.intervals[p].contains(s))return!0;return!1}},{key:"removeRange",value:function(s){if(s.start===s.stop-1)this.removeOne(s.start);else if(this.intervals!==null)for(var p=0,l=0;l<this.intervals.length;l++){var _=this.intervals[p];if(s.stop<=_.start)return;if(s.start>_.start&&s.stop<_.stop){this.intervals[p]=new ve(_.start,s.start);var o=new ve(s.stop,_.stop);return void this.intervals.splice(p,0,o)}s.start<=_.start&&s.stop>=_.stop?(this.intervals.splice(p,1),p-=1):s.start<_.stop?this.intervals[p]=new ve(_.start,s.start):s.stop<_.stop&&(this.intervals[p]=new ve(s.stop,_.stop)),p+=1}}},{key:"removeOne",value:function(s){if(this.intervals!==null)for(var p=0;p<this.intervals.length;p++){var l=this.intervals[p];if(s<l.start)return;if(s===l.start&&s===l.stop-1)return void this.intervals.splice(p,1);if(s===l.start)return void(this.intervals[p]=new ve(l.start+1,l.stop));if(s===l.stop-1)return void(this.intervals[p]=new ve(l.start,l.stop-1));if(s<l.stop-1){var _=new ve(l.start,s);return l.start=s+1,void this.intervals.splice(p,0,_)}}}},{key:"toString",value:function(s,p,l){return s=s||null,p=p||null,l=l||!1,this.intervals===null?"{}":s!==null||p!==null?this.toTokenString(s,p):l?this.toCharString():this.toIndexString()}},{key:"toCharString",value:function(){for(var s=[],p=0;p<this.intervals.length;p++){var l=this.intervals[p];l.stop===l.start+1?l.start===n.EOF?s.push("<EOF>"):s.push("'"+String.fromCharCode(l.start)+"'"):s.push("'"+String.fromCharCode(l.start)+"'..'"+String.fromCharCode(l.stop-1)+"'")}return s.length>1?"{"+s.join(", ")+"}":s[0]}},{key:"toIndexString",value:function(){for(var s=[],p=0;p<this.intervals.length;p++){var l=this.intervals[p];l.stop===l.start+1?l.start===n.EOF?s.push("<EOF>"):s.push(l.start.toString()):s.push(l.start.toString()+".."+(l.stop-1).toString())}return s.length>1?"{"+s.join(", ")+"}":s[0]}},{key:"toTokenString",value:function(s,p){for(var l=[],_=0;_<this.intervals.length;_++)for(var o=this.intervals[_],u=o.start;u<o.stop;u++)l.push(this.elementName(s,p,u));return l.length>1?"{"+l.join(", ")+"}":l[0]}},{key:"elementName",value:function(s,p,l){return l===n.EOF?"<EOF>":l===n.EPSILON?"<EPSILON>":s[l]||p[l]}},{key:"length",get:function(){return this.intervals.map(function(s){return s.length}).reduce(function(s,p){return s+p})}}])&&Z(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();function ue(f){return ue=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},ue(f)}function xe(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(ue(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(ue(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),ue(p)==="symbol"?p:String(p)),s)}var p}var be=function(){function f(){(function(s,p){if(!(s instanceof p))throw new TypeError("Cannot call a class as a function")})(this,f),this.atn=null,this.stateNumber=f.INVALID_STATE_NUMBER,this.stateType=null,this.ruleIndex=0,this.epsilonOnlyTransitions=!1,this.transitions=[],this.nextTokenWithinRule=null}var i,m;return i=f,(m=[{key:"toString",value:function(){return this.stateNumber}},{key:"equals",value:function(s){return s instanceof f&&this.stateNumber===s.stateNumber}},{key:"isNonGreedyExitState",value:function(){return!1}},{key:"addTransition",value:function(s,p){p===void 0&&(p=-1),this.transitions.length===0?this.epsilonOnlyTransitions=s.isEpsilon:this.epsilonOnlyTransitions!==s.isEpsilon&&(this.epsilonOnlyTransitions=!1),p===-1?this.transitions.push(s):this.transitions.splice(p,1,s)}}])&&xe(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();function xt(f){return xt=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},xt(f)}function Vt(f,i){return Vt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Vt(f,i)}function Et(f,i){if(i&&(xt(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Mt(f)}function Mt(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function gt(f){return gt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},gt(f)}be.INVALID_TYPE=0,be.BASIC=1,be.RULE_START=2,be.BLOCK_START=3,be.PLUS_BLOCK_START=4,be.STAR_BLOCK_START=5,be.TOKEN_START=6,be.RULE_STOP=7,be.BLOCK_END=8,be.STAR_LOOP_BACK=9,be.STAR_LOOP_ENTRY=10,be.PLUS_LOOP_BACK=11,be.LOOP_END=12,be.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"],be.INVALID_STATE_NUMBER=-1;var Ot=function(f){(function(_,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(o&&o.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),o&&Vt(_,o)})(l,f);var i,m,s,p=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,o=gt(m);if(s){var u=gt(this).constructor;_=Reflect.construct(o,arguments,u)}else _=o.apply(this,arguments);return Et(this,_)});function l(){var _;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,l),(_=p.call(this)).stateType=be.RULE_STOP,Et(_,Mt(_))}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(be);function Zt(f){return Zt=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},Zt(f)}function se(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(Zt(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Zt(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Zt(p)==="symbol"?p:String(p)),s)}var p}function ke(f,i,m){return i&&se(f.prototype,i),m&&se(f,m),Object.defineProperty(f,"prototype",{writable:!1}),f}var me=ke(function f(i){if(function(m,s){if(!(m instanceof s))throw new TypeError("Cannot call a class as a function")}(this,f),i==null)throw"target cannot be null.";this.target=i,this.isEpsilon=!1,this.label=null});function bt(f){return bt=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},bt(f)}function At(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(bt(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(bt(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),bt(p)==="symbol"?p:String(p)),s)}var p}function Dt(f,i){return Dt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Dt(f,i)}function Un(f){return Un=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Un(f)}me.EPSILON=1,me.RANGE=2,me.RULE=3,me.PREDICATE=4,me.ATOM=5,me.ACTION=6,me.SET=7,me.NOT_SET=8,me.WILDCARD=9,me.PRECEDENCE=10,me.serializationNames=["INVALID","EPSILON","RANGE","RULE","PREDICATE","ATOM","ACTION","SET","NOT_SET","WILDCARD","PRECEDENCE"],me.serializationTypes={EpsilonTransition:me.EPSILON,RangeTransition:me.RANGE,RuleTransition:me.RULE,PredicateTransition:me.PREDICATE,AtomTransition:me.ATOM,ActionTransition:me.ACTION,SetTransition:me.SET,NotSetTransition:me.NOT_SET,WildcardTransition:me.WILDCARD,PrecedencePredicateTransition:me.PRECEDENCE};var Qt=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&&Dt(o,u)})(_,f);var i,m,s,p,l=(s=_,p=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=Un(s);if(p){var E=Un(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(A,x){if(x&&(bt(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}(A)}(this,o)});function _(o,u,E,A){var x;return function(I,ne){if(!(I instanceof ne))throw new TypeError("Cannot call a class as a function")}(this,_),(x=l.call(this,o)).ruleIndex=u,x.precedence=E,x.followState=A,x.serializationType=me.RULE,x.isEpsilon=!0,x}return i=_,(m=[{key:"matches",value:function(o,u,E){return!1}}])&&At(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),_}(me);function dn(f){return dn=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},dn(f)}function jt(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(dn(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(dn(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),dn(p)==="symbol"?p:String(p)),s)}var p}function Pt(f,i){return Pt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Pt(f,i)}function fn(f){return fn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},fn(f)}var Ai=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&&Pt(o,u)})(_,f);var i,m,s,p,l=(s=_,p=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=fn(s);if(p){var E=fn(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(A,x){if(x&&(dn(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}(A)}(this,o)});function _(o,u){var E;return function(A,x){if(!(A instanceof x))throw new TypeError("Cannot call a class as a function")}(this,_),(E=l.call(this,o)).serializationType=me.SET,u!=null?E.label=u:(E.label=new ie,E.label.addOne(n.INVALID_TYPE)),E}return i=_,(m=[{key:"matches",value:function(o,u,E){return this.label.contains(o)}},{key:"toString",value:function(){return this.label.toString()}}])&&jt(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),_}(me);function j(f){return j=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},j(f)}function Ne(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(j(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(j(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),j(p)==="symbol"?p:String(p)),s)}var p}function Be(){return Be=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(f,i,m){var s=function(l,_){for(;!Object.prototype.hasOwnProperty.call(l,_)&&(l=ut(l))!==null;);return l}(f,i);if(s){var p=Object.getOwnPropertyDescriptor(s,i);return p.get?p.get.call(arguments.length<3?f:m):p.value}},Be.apply(this,arguments)}function Me(f,i){return Me=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Me(f,i)}function ut(f){return ut=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},ut(f)}var on=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Me(o,u)})(_,f);var i,m,s,p,l=(s=_,p=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=ut(s);if(p){var E=ut(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(A,x){if(x&&(j(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}(A)}(this,o)});function _(o,u){var E;return function(A,x){if(!(A instanceof x))throw new TypeError("Cannot call a class as a function")}(this,_),(E=l.call(this,o,u)).serializationType=me.NOT_SET,E}return i=_,(m=[{key:"matches",value:function(o,u,E){return o>=u&&o<=E&&!Be(ut(_.prototype),"matches",this).call(this,o,u,E)}},{key:"toString",value:function(){return"~"+Be(ut(_.prototype),"toString",this).call(this)}}])&&Ne(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),_}(Ai);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 vn(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(ft(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(ft(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),ft(p)==="symbol"?p:String(p)),s)}var p}function Cn(f,i){return Cn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Cn(f,i)}function fi(f){return fi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},fi(f)}var Mn=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&&Cn(o,u)})(_,f);var i,m,s,p,l=(s=_,p=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=fi(s);if(p){var E=fi(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(A,x){if(x&&(ft(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}(A)}(this,o)});function _(o){var u;return function(E,A){if(!(E instanceof A))throw new TypeError("Cannot call a class as a function")}(this,_),(u=l.call(this,o)).serializationType=me.WILDCARD,u}return i=_,(m=[{key:"matches",value:function(o,u,E){return o>=u&&o<=E}},{key:"toString",value:function(){return"."}}])&&vn(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),_}(me);function hn(f){return hn=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},hn(f)}function lo(f,i){return lo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},lo(f,i)}function Ci(f){return Ci=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Ci(f)}var fo=function(f){(function(_,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(o&&o.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),o&&lo(_,o)})(l,f);var i,m,s,p=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,o=Ci(m);if(s){var u=Ci(this).constructor;_=Reflect.construct(o,arguments,u)}else _=o.apply(this,arguments);return function(E,A){if(A&&(hn(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(x){if(x===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x}(E)}(this,_)});function l(_){return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,l),p.call(this,_)}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(me);function xr(f){return xr=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},xr(f)}function Wr(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(xr(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(xr(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),xr(p)==="symbol"?p:String(p)),s)}var p}function Po(f,i,m){return i&&Wr(f.prototype,i),m&&Wr(f,m),Object.defineProperty(f,"prototype",{writable:!1}),f}function Xi(f){return Xi=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},Xi(f)}function Fr(f,i){return Fr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Fr(f,i)}function hi(f){return hi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},hi(f)}function Fo(f){return Fo=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},Fo(f)}function _t(f,i){return _t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},_t(f,i)}function or(f){return or=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},or(f)}var N=function(f){(function(_,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(o&&o.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),o&&_t(_,o)})(l,f);var i,m,s,p=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,o=or(m);if(s){var u=or(this).constructor;_=Reflect.construct(o,arguments,u)}else _=o.apply(this,arguments);return function(E,A){if(A&&(Fo(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(x){if(x===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x}(E)}(this,_)});function l(){return function(_,o){if(!(_ instanceof o))throw new TypeError("Cannot call a class as a function")}(this,l),p.apply(this,arguments)}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(function(f){(function(_,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(o&&o.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),o&&Fr(_,o)})(l,f);var i,m,s,p=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,o=hi(m);if(s){var u=hi(this).constructor;_=Reflect.construct(o,arguments,u)}else _=o.apply(this,arguments);return function(E,A){if(A&&(Xi(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(x){if(x===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x}(E)}(this,_)});function l(){return function(_,o){if(!(_ instanceof o))throw new TypeError("Cannot call a class as a function")}(this,l),p.apply(this,arguments)}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(Po(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 W(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(K(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(K(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),K(p)==="symbol"?p:String(p)),s)}var p}function Q(f,i){return Q=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Q(f,i)}function oe(f){return oe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},oe(f)}var Fe=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&&Q(o,u)})(_,f);var i,m,s,p,l=(s=_,p=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=oe(s);if(p){var E=oe(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(A,x){if(x&&(K(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}(A)}(this,o)});function _(){return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,_),l.apply(this,arguments)}return i=_,(m=[{key:"ruleContext",get:function(){throw new Error("missing interface implementation")}}])&&W(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),_}(N);function Pe(f){return Pe=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},Pe(f)}function rt(f,i){return rt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},rt(f,i)}function Ht(f){return Ht=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Ht(f)}var sn=function(f){(function(_,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(o&&o.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),o&&rt(_,o)})(l,f);var i,m,s,p=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,o=Ht(m);if(s){var u=Ht(this).constructor;_=Reflect.construct(o,arguments,u)}else _=o.apply(this,arguments);return function(E,A){if(A&&(Pe(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(x){if(x===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x}(E)}(this,_)});function l(){return function(_,o){if(!(_ instanceof o))throw new TypeError("Cannot call a class as a function")}(this,l),p.apply(this,arguments)}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(N);function En(f){return En=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},En(f)}function Lr(f,i){return Lr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Lr(f,i)}function Bt(f){return Bt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Bt(f)}var Xr=function(f){(function(_,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(o&&o.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),o&&Lr(_,o)})(l,f);var i,m,s,p=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,o=Bt(m);if(s){var u=Bt(this).constructor;_=Reflect.construct(o,arguments,u)}else _=o.apply(this,arguments);return function(E,A){if(A&&(En(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(x){if(x===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x}(E)}(this,_)});function l(){return function(_,o){if(!(_ instanceof o))throw new TypeError("Cannot call a class as a function")}(this,l),p.apply(this,arguments)}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(sn),Ar={toStringTree:function(f,i,m){i=i||null,(m=m||null)!==null&&(i=m.ruleNames);var s=Ar.getNodeText(f,i);s=function(o,u){return o=o.replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r")}(s);var p=f.getChildCount();if(p===0)return s;var l="("+s+" ";p>0&&(s=Ar.toStringTree(f.getChild(0),i),l=l.concat(s));for(var _=1;_<p;_++)s=Ar.toStringTree(f.getChild(_),i),l=l.concat(" "+s);return l.concat(")")},getNodeText:function(f,i,m){if(i=i||null,(m=m||null)!==null&&(i=m.ruleNames),i!==null){if(f instanceof Fe){var s=f.ruleContext.getAltNumber();return s!=0?i[f.ruleIndex]+":"+s:i[f.ruleIndex]}if(f instanceof Xr)return f.toString();if(f instanceof sn&&f.symbol!==null)return f.symbol.text}var p=f.getPayload();return p instanceof n?p.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 Ar.findAllNodes(f,i,!0)},findAllRuleNodes:function(f,i){return Ar.findAllNodes(f,i,!1)},findAllNodes:function(f,i,m){var s=[];return Ar._findAllNodes(f,i,m,s),s},_findAllNodes:function(f,i,m,s){m&&f instanceof sn?f.symbol.type===i&&s.push(f):!m&&f instanceof Fe&&f.ruleIndex===i&&s.push(f);for(var p=0;p<f.getChildCount();p++)Ar._findAllNodes(f.getChild(p),i,m,s)},descendants:function(f){for(var i=[f],m=0;m<f.getChildCount();m++)i=i.concat(Ar.descendants(f.getChild(m)));return i}};const qu=Ar;function qi(f){return qi=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},qi(f)}function yf(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(qi(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(qi(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),qi(p)==="symbol"?p:String(p)),s)}var p}function Lo(f,i){return Lo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Lo(f,i)}function as(f){return as=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},as(f)}var Yi=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&&Lo(o,u)})(_,f);var i,m,s,p,l=(s=_,p=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=as(s);if(p){var E=as(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(A,x){if(x&&(qi(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}(A)}(this,o)});function _(o,u){var E;return function(A,x){if(!(A instanceof x))throw new TypeError("Cannot call a class as a function")}(this,_),(E=l.call(this)).parentCtx=o||null,E.invokingState=u||-1,E}return i=_,(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 ve.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 E=this,A="[";E!==null&&E!==u;){if(o===null)E.isEmpty()||(A+=E.invokingState);else{var x=E.ruleIndex;A+=x>=0&&x<o.length?o[x]:""+x}E.parentCtx===null||o===null&&E.parentCtx.isEmpty()||(A+=" "),E=E.parentCtx}return A+"]"}}])&&yf(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),_}(Fe);function Mo(f){return Mo=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},Mo(f)}function us(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(Mo(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Mo(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Mo(p)==="symbol"?p:String(p)),s)}var p}var it=function(){function f(s){(function(p,l){if(!(p instanceof l))throw new TypeError("Cannot call a class as a function")})(this,f),this.cachedHashCode=s}var i,m;return i=f,(m=[{key:"isEmpty",value:function(){return this===f.EMPTY}},{key:"hasEmptyPath",value:function(){return this.getReturnState(this.length-1)===f.EMPTY_RETURN_STATE}},{key:"hashCode",value:function(){return this.cachedHashCode}},{key:"updateHashCode",value:function(s){s.update(this.cachedHashCode)}}])&&us(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();function H(f){return H=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},H(f)}function z(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(H(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(H(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),H(p)==="symbol"?p:String(p)),s)}var p}function q(f,i){return q=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},q(f,i)}function ce(f,i){if(i&&(H(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Se(f)}function Se(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function Ee(f){return Ee=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Ee(f)}it.EMPTY=null,it.EMPTY_RETURN_STATE=2147483647,it.globalNodeCount=1,it.id=it.globalNodeCount,it.trace_atn_sim=!1;var Te=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&&q(o,u)})(_,f);var i,m,s,p,l=(s=_,p=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=Ee(s);if(p){var E=Ee(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return ce(this,o)});function _(o,u){var E;(function(I,ne){if(!(I instanceof ne))throw new TypeError("Cannot call a class as a function")})(this,_);var A=new S;A.update(o,u);var x=A.finish();return(E=l.call(this,x)).parents=o,E.returnStates=u,ce(E,Se(E))}return i=_,(m=[{key:"isEmpty",value:function(){return this.returnStates[0]===it.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 _&&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]!==it.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}),_}(it);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 Le(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(Ke(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ke(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ke(p)==="symbol"?p:String(p)),s)}var p}function ot(f,i){return ot=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},ot(f,i)}function Ut(f){return Ut=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Ut(f)}var ct=function(f){(function(u,E){if(typeof E!="function"&&E!==null)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(E&&E.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),E&&ot(u,E)})(o,f);var i,m,s,p,l,_=(p=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,E=Ut(p);if(l){var A=Ut(this).constructor;u=Reflect.construct(E,arguments,A)}else u=E.apply(this,arguments);return function(x,I){if(I&&(Ke(I)==="object"||typeof I=="function"))return I;if(I!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(ne){if(ne===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ne}(x)}(this,u)});function o(u,E){var A;(function(ne,we){if(!(ne instanceof we))throw new TypeError("Cannot call a class as a function")})(this,o);var x,I=new S;return u!==null?I.update(u,E):I.update(1),x=I.finish(),(A=_.call(this,x)).parentCtx=u,A.returnState=E,A}return i=o,s=[{key:"create",value:function(u,E){return E===it.EMPTY_RETURN_STATE&&u===null?it.EMPTY:new o(u,E)}}],(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===it.EMPTY_RETURN_STATE?"$":""+this.returnState:this.returnState+" "+u}},{key:"length",get:function(){return 1}}])&&Le(i.prototype,m),s&&Le(i,s),Object.defineProperty(i,"prototype",{writable:!1}),o}(it);function Gt(f){return Gt=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},Gt(f)}function On(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(Gt(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Gt(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Gt(p)==="symbol"?p:String(p)),s)}var p}function Gn(f,i){return Gn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Gn(f,i)}function Jn(f){return Jn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Jn(f)}var Mr=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Gn(o,u)})(_,f);var i,m,s,p,l=(s=_,p=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=Jn(s);if(p){var E=Jn(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(A,x){if(x&&(Gt(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}(A)}(this,o)});function _(){return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,_),l.call(this,null,it.EMPTY_RETURN_STATE)}return i=_,(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"$"}}])&&On(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),_}(ct);function qr(f){return qr=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},qr(f)}function Ta(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(qr(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(qr(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),qr(p)==="symbol"?p:String(p)),s)}var p}it.EMPTY=new Mr;var Zn="h-",Ji=function(){function f(s,p){(function(l,_){if(!(l instanceof _))throw new TypeError("Cannot call a class as a function")})(this,f),this.data={},this.hashFunction=s||C,this.equalsFunction=p||T}var i,m;return i=f,(m=[{key:"set",value:function(s,p){var l=Zn+this.hashFunction(s);if(l in this.data){for(var _=this.data[l],o=0;o<_.length;o++){var u=_[o];if(this.equalsFunction(s,u.key)){var E=u.value;return u.value=p,E}}return _.push({key:s,value:p}),p}return this.data[l]=[{key:s,value:p}],p}},{key:"containsKey",value:function(s){var p=Zn+this.hashFunction(s);if(p in this.data)for(var l=this.data[p],_=0;_<l.length;_++){var o=l[_];if(this.equalsFunction(s,o.key))return!0}return!1}},{key:"get",value:function(s){var p=Zn+this.hashFunction(s);if(p in this.data)for(var l=this.data[p],_=0;_<l.length;_++){var o=l[_];if(this.equalsFunction(s,o.key))return o.value}return null}},{key:"entries",value:function(){var s=this;return Object.keys(this.data).filter(function(p){return p.startsWith(Zn)}).flatMap(function(p){return s.data[p]},this)}},{key:"getKeys",value:function(){return this.entries().map(function(s){return s.key})}},{key:"getValues",value:function(){return this.entries().map(function(s){return s.value})}},{key:"toString",value:function(){return"["+this.entries().map(function(s){return"{"+s.key+":"+s.value+"}"}).join(", ")+"]"}},{key:"length",get:function(){var s=this;return Object.keys(this.data).filter(function(p){return p.startsWith(Zn)}).map(function(p){return s.data[p].length},this).reduce(function(p,l){return p+l},0)}}])&&Ta(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();function cs(f,i){if(i==null&&(i=Yi.EMPTY),i.parentCtx===null||i===Yi.EMPTY)return it.EMPTY;var m=cs(f,i.parentCtx),s=f.states[i.invokingState].transitions[0];return ct.create(m,s.followState.stateNumber)}function Yu(f,i,m){if(f.isEmpty())return f;var s=m.get(f)||null;if(s!==null)return s;if((s=i.get(f))!==null)return m.set(f,s),s;for(var p=!1,l=[],_=0;_<l.length;_++){var o=Yu(f.getParent(_),i,m);if(p||o!==f.getParent(_)){if(!p){l=[];for(var u=0;u<f.length;u++)l[u]=f.getParent(u);p=!0}l[_]=o}}if(!p)return i.add(f),m.set(f,f),f;var E;return E=l.length===0?it.EMPTY:l.length===1?ct.create(l[0],f.getReturnState(0)):new Te(l,f.returnStates),i.add(E),m.set(E,E),m.set(f,E),E}function ls(f,i,m,s){if(f===i)return f;if(f instanceof ct&&i instanceof ct)return function(p,l,_,o){if(o!==null){var u=o.get(p,l);if(u!==null||(u=o.get(l,p))!==null)return u}var E=function(ze,_n,pn){if(pn){if(ze===it.EMPTY||_n===it.EMPTY)return it.EMPTY}else{if(ze===it.EMPTY&&_n===it.EMPTY)return it.EMPTY;if(ze===it.EMPTY){var zn=[_n.returnState,it.EMPTY_RETURN_STATE],$r=[_n.parentCtx,null];return new Te($r,zn)}if(_n===it.EMPTY){var wi=[ze.returnState,it.EMPTY_RETURN_STATE],Ri=[ze.parentCtx,null];return new Te(Ri,wi)}}return null}(p,l,_);if(E!==null)return o!==null&&o.set(p,l,E),E;if(p.returnState===l.returnState){var A=ls(p.parentCtx,l.parentCtx,_,o);if(A===p.parentCtx)return p;if(A===l.parentCtx)return l;var x=ct.create(A,p.returnState);return o!==null&&o.set(p,l,x),x}var I=null;if((p===l||p.parentCtx!==null&&p.parentCtx===l.parentCtx)&&(I=p.parentCtx),I!==null){var ne=[p.returnState,l.returnState];p.returnState>l.returnState&&(ne[0]=l.returnState,ne[1]=p.returnState);var we=new Te([I,I],ne);return o!==null&&o.set(p,l,we),we}var De=[p.returnState,l.returnState],He=[p.parentCtx,l.parentCtx];p.returnState>l.returnState&&(De[0]=l.returnState,De[1]=p.returnState,He=[l.parentCtx,p.parentCtx]);var st=new Te(He,De);return o!==null&&o.set(p,l,st),st}(f,i,m,s);if(m){if(f instanceof Mr)return f;if(i instanceof Mr)return i}return f instanceof ct&&(f=new Te([f.getParent()],[f.returnState])),i instanceof ct&&(i=new Te([i.getParent()],[i.returnState])),function(p,l,_,o){if(o!==null){var u=o.get(p,l);if(u!==null||(u=o.get(l,p))!==null)return it.trace_atn_sim&&console.log("mergeArrays a="+p+",b="+l+" -> previous"),u}for(var E=0,A=0,x=0,I=new Array(p.returnStates.length+l.returnStates.length).fill(0),ne=new Array(p.returnStates.length+l.returnStates.length).fill(null);E<p.returnStates.length&&A<l.returnStates.length;){var we=p.parents[E],De=l.parents[A];if(p.returnStates[E]===l.returnStates[A]){var He=p.returnStates[E];He===it.EMPTY_RETURN_STATE&&we===null&&De===null||we!==null&&De!==null&&we===De?(ne[x]=we,I[x]=He):(ne[x]=ls(we,De,_,o),I[x]=He),E+=1,A+=1}else p.returnStates[E]<l.returnStates[A]?(ne[x]=we,I[x]=p.returnStates[E],E+=1):(ne[x]=De,I[x]=l.returnStates[A],A+=1);x+=1}if(E<p.returnStates.length)for(var st=E;st<p.returnStates.length;st++)ne[x]=p.parents[st],I[x]=p.returnStates[st],x+=1;else for(var ze=A;ze<l.returnStates.length;ze++)ne[x]=l.parents[ze],I[x]=l.returnStates[ze],x+=1;if(x<ne.length){if(x===1){var _n=ct.create(ne[0],I[0]);return o!==null&&o.set(p,l,_n),_n}ne=ne.slice(0,x),I=I.slice(0,x)}var pn=new Te(ne,I);return pn.equals(p)?(o!==null&&o.set(p,l,p),it.trace_atn_sim&&console.log("mergeArrays a="+p+",b="+l+" -> a"),p):pn.equals(l)?(o!==null&&o.set(p,l,l),it.trace_atn_sim&&console.log("mergeArrays a="+p+",b="+l+" -> b"),l):(function(zn){for(var $r=new Ji,wi=0;wi<zn.length;wi++){var Ri=zn[wi];$r.containsKey(Ri)||$r.set(Ri,Ri)}for(var Cr=0;Cr<zn.length;Cr++)zn[Cr]=$r.get(zn[Cr])}(ne),o!==null&&o.set(p,l,pn),it.trace_atn_sim&&console.log("mergeArrays a="+p+",b="+l+" -> "+pn),pn)}(f,i,m,s)}function Zi(f){return Zi=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},Zi(f)}function Qi(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(Zi(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Zi(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Zi(p)==="symbol"?p:String(p)),s)}var p}var Br=function(){function f(){(function(s,p){if(!(s instanceof p))throw new TypeError("Cannot call a class as a function")})(this,f),this.data=[]}var i,m;return i=f,(m=[{key:"add",value:function(s){this.data[s]=!0}},{key:"or",value:function(s){var p=this;Object.keys(s.data).map(function(l){return p.add(l)},this)}},{key:"remove",value:function(s){delete this.data[s]}},{key:"has",value:function(s){return this.data[s]===!0}},{key:"values",value:function(){return Object.keys(this.data)}},{key:"minValue",value:function(){return Math.min.apply(null,this.values())}},{key:"hashCode",value:function(){return S.hashStuff(this.values())}},{key:"equals",value:function(s){return s instanceof f&&r(this.data,s.data)}},{key:"toString",value:function(){return"{"+this.values().join(", ")+"}"}},{key:"length",get:function(){return this.values().length}}])&&Qi(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();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 Ju(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){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)}(s.key),ho(p)==="symbol"?p:String(p)),s)}var p}var Bo=function(){function f(s){(function(p,l){if(!(p instanceof l))throw new TypeError("Cannot call a class as a function")})(this,f),this.atn=s}var i,m;return i=f,(m=[{key:"getDecisionLookahead",value:function(s){if(s===null)return null;for(var p=s.transitions.length,l=[],_=0;_<p;_++){l[_]=new ie;var o=new g;this._LOOK(s.transition(_).target,null,it.EMPTY,l[_],o,new Br,!1,!1),(l[_].length===0||l[_].contains(f.HIT_PRED))&&(l[_]=null)}return l}},{key:"LOOK",value:function(s,p,l){var _=new ie,o=(l=l||null)!==null?cs(s.atn,l):null;return this._LOOK(s,p,o,_,new g,new Br,!0,!0),_}},{key:"_LOOK",value:function(s,p,l,_,o,u,E,A){var x=new fe({state:s,alt:0,context:l},null);if(!o.has(x)){if(o.add(x),s===p){if(l===null)return void _.addOne(n.EPSILON);if(l.isEmpty()&&A)return void _.addOne(n.EOF)}if(s instanceof Ot){if(l===null)return void _.addOne(n.EPSILON);if(l.isEmpty()&&A)return void _.addOne(n.EOF);if(l!==it.EMPTY){var I=u.has(s.ruleIndex);try{u.remove(s.ruleIndex);for(var ne=0;ne<l.length;ne++){var we=this.atn.states[l.getReturnState(ne)];this._LOOK(we,p,l.getParent(ne),_,o,u,E,A)}}finally{I&&u.add(s.ruleIndex)}return}}for(var De=0;De<s.transitions.length;De++){var He=s.transitions[De];if(He.constructor===Qt){if(u.has(He.target.ruleIndex))continue;var st=ct.create(l,He.followState.stateNumber);try{u.add(He.target.ruleIndex),this._LOOK(He.target,p,st,_,o,u,E,A)}finally{u.remove(He.target.ruleIndex)}}else if(He instanceof fo)E?this._LOOK(He.target,p,l,_,o,u,E,A):_.addOne(f.HIT_PRED);else if(He.isEpsilon)this._LOOK(He.target,p,l,_,o,u,E,A);else if(He.constructor===Mn)_.addRange(n.MIN_USER_TOKEN_TYPE,this.atn.maxTokenType);else{var ze=He.label;ze!==null&&(He instanceof on&&(ze=ze.complement(n.MIN_USER_TOKEN_TYPE,this.atn.maxTokenType)),_.addSet(ze))}}}}}])&&Ju(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 R0(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(xa(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(xa(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),xa(p)==="symbol"?p:String(p)),s)}var p}Bo.HIT_PRED=n.INVALID_TYPE;var mn=function(){function f(s,p){(function(l,_){if(!(l instanceof _))throw new TypeError("Cannot call a class as a function")})(this,f),this.grammarType=s,this.maxTokenType=p,this.states=[],this.decisionToState=[],this.ruleToStartState=[],this.ruleToStopState=null,this.modeNameToStartState={},this.ruleToTokenType=null,this.lexerActions=null,this.modeToStartState=[]}var i,m;return i=f,(m=[{key:"nextTokensInContext",value:function(s,p){return new Bo(this).LOOK(s,null,p)}},{key:"nextTokensNoContext",value:function(s){return s.nextTokenWithinRule!==null||(s.nextTokenWithinRule=this.nextTokensInContext(s,null),s.nextTokenWithinRule.readOnly=!0),s.nextTokenWithinRule}},{key:"nextTokens",value:function(s,p){return p===void 0?this.nextTokensNoContext(s):this.nextTokensInContext(s,p)}},{key:"addState",value:function(s){s!==null&&(s.atn=this,s.stateNumber=this.states.length),this.states.push(s)}},{key:"removeState",value:function(s){this.states[s.stateNumber]=null}},{key:"defineDecisionState",value:function(s){return this.decisionToState.push(s),s.decision=this.decisionToState.length-1,s.decision}},{key:"getDecisionState",value:function(s){return this.decisionToState.length===0?null:this.decisionToState[s]}},{key:"getExpectedTokens",value:function(s,p){if(s<0||s>=this.states.length)throw"Invalid state number.";var l=this.states[s],_=this.nextTokens(l);if(!_.contains(n.EPSILON))return _;var o=new ie;for(o.addSet(_),o.removeOne(n.EPSILON);p!==null&&p.invokingState>=0&&_.contains(n.EPSILON);){var u=this.states[p.invokingState].transitions[0];_=this.nextTokens(u.followState),o.addSet(_),o.removeOne(n.EPSILON),p=p.parentCtx}return _.contains(n.EPSILON)&&o.addOne(n.EOF),o}}])&&R0(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();mn.INVALID_ALT_NUMBER=0;function gf(f){return gf=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},gf(f)}function bf(f,i){return bf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},bf(f,i)}function Zu(f){return Zu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Zu(f)}var Vd=function(f){(function(_,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(o&&o.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),o&&bf(_,o)})(l,f);var i,m,s,p=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,o=Zu(m);if(s){var u=Zu(this).constructor;_=Reflect.construct(o,arguments,u)}else _=o.apply(this,arguments);return function(E,A){if(A&&(gf(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(x){if(x===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x}(E)}(this,_)});function l(){var _;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,l),(_=p.call(this)).stateType=be.BASIC,_}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(be);function vf(f){return vf=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},vf(f)}function Ef(f,i){return Ef=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Ef(f,i)}function jd(f,i){if(i&&(vf(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Hd(f)}function Hd(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function Qu(f){return Qu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Qu(f)}var fs=function(f){(function(_,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(o&&o.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),o&&Ef(_,o)})(l,f);var i,m,s,p=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,o=Qu(m);if(s){var u=Qu(this).constructor;_=Reflect.construct(o,arguments,u)}else _=o.apply(this,arguments);return jd(this,_)});function l(){var _;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,l),(_=p.call(this)).decision=-1,_.nonGreedy=!1,jd(_,Hd(_))}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(be);function Sf(f){return Sf=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},Sf(f)}function Tf(f,i){return Tf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Tf(f,i)}function Gd(f,i){if(i&&(Sf(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Kd(f)}function Kd(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function ec(f){return ec=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},ec(f)}var hs=function(f){(function(_,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(o&&o.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),o&&Tf(_,o)})(l,f);var i,m,s,p=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,o=ec(m);if(s){var u=ec(this).constructor;_=Reflect.construct(o,arguments,u)}else _=o.apply(this,arguments);return Gd(this,_)});function l(){var _;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,l),(_=p.call(this)).endState=null,Gd(_,Kd(_))}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(fs);function xf(f){return xf=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},xf(f)}function Af(f,i){return Af=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Af(f,i)}function zd(f,i){if(i&&(xf(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Wd(f)}function Wd(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function tc(f){return tc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},tc(f)}var Cf=function(f){(function(_,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(o&&o.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),o&&Af(_,o)})(l,f);var i,m,s,p=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,o=tc(m);if(s){var u=tc(this).constructor;_=Reflect.construct(o,arguments,u)}else _=o.apply(this,arguments);return zd(this,_)});function l(){var _;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,l),(_=p.call(this)).stateType=be.BLOCK_END,_.startState=null,zd(_,Wd(_))}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(be);function Of(f){return Of=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},Of(f)}function Df(f,i){return Df=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Df(f,i)}function Xd(f,i){if(i&&(Of(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return qd(f)}function qd(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 ps=function(f){(function(_,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(o&&o.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),o&&Df(_,o)})(l,f);var i,m,s,p=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,o=nc(m);if(s){var u=nc(this).constructor;_=Reflect.construct(o,arguments,u)}else _=o.apply(this,arguments);return Xd(this,_)});function l(){var _;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,l),(_=p.call(this)).stateType=be.LOOP_END,_.loopBackState=null,Xd(_,qd(_))}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(be);function kf(f){return kf=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},kf(f)}function wf(f,i){return wf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},wf(f,i)}function Yd(f,i){if(i&&(kf(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Jd(f)}function Jd(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 Zd=function(f){(function(_,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(o&&o.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),o&&wf(_,o)})(l,f);var i,m,s,p=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,o=rc(m);if(s){var u=rc(this).constructor;_=Reflect.construct(o,arguments,u)}else _=o.apply(this,arguments);return Yd(this,_)});function l(){var _;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,l),(_=p.call(this)).stateType=be.RULE_START,_.stopState=null,_.isPrecedenceRule=!1,Yd(_,Jd(_))}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(be);function Rf(f){return Rf=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},Rf(f)}function Nf(f,i){return Nf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Nf(f,i)}function Qd(f,i){if(i&&(Rf(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return em(f)}function em(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 N0=function(f){(function(_,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(o&&o.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),o&&Nf(_,o)})(l,f);var i,m,s,p=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,o=ic(m);if(s){var u=ic(this).constructor;_=Reflect.construct(o,arguments,u)}else _=o.apply(this,arguments);return Qd(this,_)});function l(){var _;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,l),(_=p.call(this)).stateType=be.TOKEN_START,Qd(_,em(_))}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(fs);function If(f){return If=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},If(f)}function Pf(f,i){return Pf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Pf(f,i)}function tm(f,i){if(i&&(If(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return nm(f)}function nm(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 rm=function(f){(function(_,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(o&&o.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),o&&Pf(_,o)})(l,f);var i,m,s,p=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,o=oc(m);if(s){var u=oc(this).constructor;_=Reflect.construct(o,arguments,u)}else _=o.apply(this,arguments);return tm(this,_)});function l(){var _;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,l),(_=p.call(this)).stateType=be.PLUS_LOOP_BACK,tm(_,nm(_))}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(fs);function Ff(f){return Ff=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},Ff(f)}function Lf(f,i){return Lf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Lf(f,i)}function im(f,i){if(i&&(Ff(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return om(f)}function om(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 Mf=function(f){(function(_,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(o&&o.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),o&&Lf(_,o)})(l,f);var i,m,s,p=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,o=sc(m);if(s){var u=sc(this).constructor;_=Reflect.construct(o,arguments,u)}else _=o.apply(this,arguments);return im(this,_)});function l(){var _;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,l),(_=p.call(this)).stateType=be.STAR_LOOP_BACK,im(_,om(_))}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(be);function Bf(f){return Bf=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},Bf(f)}function Uf(f,i){return Uf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Uf(f,i)}function sm(f,i){if(i&&(Bf(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return am(f)}function am(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 Uo=function(f){(function(_,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(o&&o.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),o&&Uf(_,o)})(l,f);var i,m,s,p=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,o=ac(m);if(s){var u=ac(this).constructor;_=Reflect.construct(o,arguments,u)}else _=o.apply(this,arguments);return sm(this,_)});function l(){var _;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,l),(_=p.call(this)).stateType=be.STAR_LOOP_ENTRY,_.loopBackState=null,_.isPrecedenceDecision=null,sm(_,am(_))}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(fs);function $f(f){return $f=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},$f(f)}function Vf(f,i){return Vf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Vf(f,i)}function um(f,i){if(i&&($f(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return cm(f)}function cm(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 jf=function(f){(function(_,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(o&&o.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),o&&Vf(_,o)})(l,f);var i,m,s,p=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,o=uc(m);if(s){var u=uc(this).constructor;_=Reflect.construct(o,arguments,u)}else _=o.apply(this,arguments);return um(this,_)});function l(){var _;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,l),(_=p.call(this)).stateType=be.PLUS_BLOCK_START,_.loopBackState=null,um(_,cm(_))}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(hs);function Hf(f){return Hf=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},Hf(f)}function Gf(f,i){return Gf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Gf(f,i)}function lm(f,i){if(i&&(Hf(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return fm(f)}function fm(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 Kf=function(f){(function(_,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(o&&o.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),o&&Gf(_,o)})(l,f);var i,m,s,p=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,o=cc(m);if(s){var u=cc(this).constructor;_=Reflect.construct(o,arguments,u)}else _=o.apply(this,arguments);return lm(this,_)});function l(){var _;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,l),(_=p.call(this)).stateType=be.STAR_BLOCK_START,lm(_,fm(_))}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(hs);function zf(f){return zf=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},zf(f)}function Wf(f,i){return Wf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Wf(f,i)}function hm(f,i){if(i&&(zf(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return pm(f)}function pm(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 dm=function(f){(function(_,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(o&&o.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),o&&Wf(_,o)})(l,f);var i,m,s,p=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,o=lc(m);if(s){var u=lc(this).constructor;_=Reflect.construct(o,arguments,u)}else _=o.apply(this,arguments);return hm(this,_)});function l(){var _;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,l),(_=p.call(this)).stateType=be.BLOCK_START,hm(_,pm(_))}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(hs);function ds(f){return ds=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},ds(f)}function I0(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(ds(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(ds(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),ds(p)==="symbol"?p:String(p)),s)}var p}function Xf(f,i){return Xf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Xf(f,i)}function fc(f){return fc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},fc(f)}var qf=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&&Xf(o,u)})(_,f);var i,m,s,p,l=(s=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=fc(s);if(p){var E=fc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(A,x){if(x&&(ds(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}(A)}(this,o)});function _(o,u){var E;return function(A,x){if(!(A instanceof x))throw new TypeError("Cannot call a class as a function")}(this,_),(E=l.call(this,o)).label_=u,E.label=E.makeLabel(),E.serializationType=me.ATOM,E}return i=_,(m=[{key:"makeLabel",value:function(){var o=new ie;return o.addOne(this.label_),o}},{key:"matches",value:function(o,u,E){return this.label_===o}},{key:"toString",value:function(){return this.label_}}])&&I0(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),_}(me);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 P0(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(ms(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(ms(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),ms(p)==="symbol"?p:String(p)),s)}var p}function Yf(f,i){return Yf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Yf(f,i)}function hc(f){return hc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},hc(f)}var F0=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Yf(o,u)})(_,f);var i,m,s,p,l=(s=_,p=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=hc(s);if(p){var E=hc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(A,x){if(x&&(ms(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}(A)}(this,o)});function _(o,u,E){var A;return function(x,I){if(!(x instanceof I))throw new TypeError("Cannot call a class as a function")}(this,_),(A=l.call(this,o)).serializationType=me.RANGE,A.start=u,A.stop=E,A.label=A.makeLabel(),A}return i=_,(m=[{key:"makeLabel",value:function(){var o=new ie;return o.addRange(this.start,this.stop),o}},{key:"matches",value:function(o,u,E){return o>=this.start&&o<=this.stop}},{key:"toString",value:function(){return"'"+String.fromCharCode(this.start)+"'..'"+String.fromCharCode(this.stop)+"'"}}])&&P0(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),_}(me);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 L0(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(_s(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(_s(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),_s(p)==="symbol"?p:String(p)),s)}var p}function Jf(f,i){return Jf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Jf(f,i)}function pc(f){return pc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},pc(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&&Jf(o,u)})(_,f);var i,m,s,p,l=(s=_,p=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(s);if(p){var E=pc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(A,x){if(x&&(_s(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}(A)}(this,o)});function _(o,u,E,A){var x;return function(I,ne){if(!(I instanceof ne))throw new TypeError("Cannot call a class as a function")}(this,_),(x=l.call(this,o)).serializationType=me.ACTION,x.ruleIndex=u,x.actionIndex=E===void 0?-1:E,x.isCtxDependent=A!==void 0&&A,x.isEpsilon=!0,x}return i=_,(m=[{key:"matches",value:function(o,u,E){return!1}},{key:"toString",value:function(){return"action_"+this.ruleIndex+":"+this.actionIndex}}])&&L0(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),_}(me);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 M0(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(ys(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(ys(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),ys(p)==="symbol"?p:String(p)),s)}var p}function Zf(f,i){return Zf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Zf(f,i)}function dc(f){return dc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},dc(f)}var Aa=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&&Zf(o,u)})(_,f);var i,m,s,p,l=(s=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=dc(s);if(p){var E=dc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(A,x){if(x&&(ys(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}(A)}(this,o)});function _(o,u){var E;return function(A,x){if(!(A instanceof x))throw new TypeError("Cannot call a class as a function")}(this,_),(E=l.call(this,o)).serializationType=me.EPSILON,E.isEpsilon=!0,E.outermostPrecedenceReturn=u,E}return i=_,(m=[{key:"matches",value:function(o,u,E){return!1}},{key:"toString",value:function(){return"epsilon"}}])&&M0(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),_}(me);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 B0(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(gs(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(gs(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),gs(p)==="symbol"?p:String(p)),s)}var p}function Qf(f,i){return Qf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Qf(f,i)}function mc(f){return mc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},mc(f)}var _m=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Qf(o,u)})(_,f);var i,m,s,p,l=(s=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=mc(s);if(p){var E=mc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(A,x){if(x&&(gs(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}(A)}(this,o)});function _(o,u,E){var A;return function(x,I){if(!(x instanceof I))throw new TypeError("Cannot call a class as a function")}(this,_),(A=l.call(this)).ruleIndex=o===void 0?-1:o,A.predIndex=u===void 0?-1:u,A.isCtxDependent=E!==void 0&&E,A}return i=_,(m=[{key:"evaluate",value:function(o,u){var E=this.isCtxDependent?u:null;return o.sempred(E,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 _&&this.ruleIndex===o.ruleIndex&&this.predIndex===o.predIndex&&this.isCtxDependent===o.isCtxDependent}},{key:"toString",value:function(){return"{"+this.ruleIndex+":"+this.predIndex+"}?"}}])&&B0(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),_}($);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 U0(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(bs(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(bs(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),bs(p)==="symbol"?p:String(p)),s)}var p}function eh(f,i){return eh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},eh(f,i)}function _c(f){return _c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},_c(f)}$.NONE=new _m;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&&eh(o,u)})(_,f);var i,m,s,p,l=(s=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=_c(s);if(p){var E=_c(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(A,x){if(x&&(bs(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}(A)}(this,o)});function _(o,u,E,A){var x;return function(I,ne){if(!(I instanceof ne))throw new TypeError("Cannot call a class as a function")}(this,_),(x=l.call(this,o)).serializationType=me.PREDICATE,x.ruleIndex=u,x.predIndex=E,x.isCtxDependent=A,x.isEpsilon=!0,x}return i=_,(m=[{key:"matches",value:function(o,u,E){return!1}},{key:"getPredicate",value:function(){return new _m(this.ruleIndex,this.predIndex,this.isCtxDependent)}},{key:"toString",value:function(){return"pred_"+this.ruleIndex+":"+this.predIndex}}])&&U0(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),_}(fo);function vs(f){return vs=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},vs(f)}function $0(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(vs(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(vs(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),vs(p)==="symbol"?p:String(p)),s)}var p}function th(f,i){return th=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},th(f,i)}function yc(f){return yc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},yc(f)}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&&th(o,u)})(_,f);var i,m,s,p,l=(s=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=yc(s);if(p){var E=yc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(A,x){if(x&&(vs(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}(A)}(this,o)});function _(o){var u;return function(E,A){if(!(E instanceof A))throw new TypeError("Cannot call a class as a function")}(this,_),(u=l.call(this)).precedence=o===void 0?0:o,u}return i=_,(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)?$.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 _&&this.precedence===o.precedence}},{key:"toString",value:function(){return"{"+this.precedence+">=prec}?"}}])&&$0(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),_}($);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 V0(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(Es(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Es(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Es(p)==="symbol"?p:String(p)),s)}var p}function nh(f,i){return nh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},nh(f,i)}function gc(f){return gc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},gc(f)}$.PrecedencePredicate=gm;var j0=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&&nh(o,u)})(_,f);var i,m,s,p,l=(s=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=gc(s);if(p){var E=gc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(A,x){if(x&&(Es(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}(A)}(this,o)});function _(o,u){var E;return function(A,x){if(!(A instanceof x))throw new TypeError("Cannot call a class as a function")}(this,_),(E=l.call(this,o)).serializationType=me.PRECEDENCE,E.precedence=u,E.isEpsilon=!0,E}return i=_,(m=[{key:"matches",value:function(o,u,E){return!1}},{key:"getPredicate",value:function(){return new gm(this.precedence)}},{key:"toString",value:function(){return this.precedence+" >= _p"}}])&&V0(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),_}(fo);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 bm(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(Ca(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ca(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ca(p)==="symbol"?p:String(p)),s)}var p}function H0(f,i,m){return i&&bm(f.prototype,i),m&&bm(f,m),Object.defineProperty(f,"prototype",{writable:!1}),f}var Oa=H0(function f(i){(function(m,s){if(!(m instanceof s))throw new TypeError("Cannot call a class as a function")})(this,f),i===void 0&&(i=null),this.readOnly=!1,this.verifyATN=i===null||i.verifyATN,this.generateRuleBypassTransitions=i!==null&&i.generateRuleBypassTransitions});Oa.defaultOptions=new Oa,Oa.defaultOptions.readOnly=!0;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 G0(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(Da(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Da(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Da(p)==="symbol"?p:String(p)),s)}var p}var eo=function(){function f(s){(function(p,l){if(!(p instanceof l))throw new TypeError("Cannot call a class as a function")})(this,f),this.actionType=s,this.isPositionDependent=!1}var i,m;return i=f,(m=[{key:"hashCode",value:function(){var s=new S;return this.updateHashCode(s),s.finish()}},{key:"updateHashCode",value:function(s){s.update(this.actionType)}},{key:"equals",value:function(s){return this===s}}])&&G0(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),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 K0(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(Ss(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ss(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ss(p)==="symbol"?p:String(p)),s)}var p}function rh(f,i){return rh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},rh(f,i)}function bc(f){return bc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},bc(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&&rh(o,u)})(_,f);var i,m,s,p,l=(s=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=bc(s);if(p){var E=bc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(A,x){if(x&&(Ss(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}(A)}(this,o)});function _(){return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,_),l.call(this,6)}return i=_,(m=[{key:"execute",value:function(o){o.skip()}},{key:"toString",value:function(){return"skip"}}])&&K0(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),_}(eo);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 z0(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(Ts(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ts(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ts(p)==="symbol"?p:String(p)),s)}var p}function oh(f,i){return oh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},oh(f,i)}function vc(f){return vc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},vc(f)}ih.INSTANCE=new ih;var W0=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&&oh(o,u)})(_,f);var i,m,s,p,l=(s=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=vc(s);if(p){var E=vc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(A,x){if(x&&(Ts(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}(A)}(this,o)});function _(o){var u;return function(E,A){if(!(E instanceof A))throw new TypeError("Cannot call a class as a function")}(this,_),(u=l.call(this,0)).channel=o,u}return i=_,(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 _&&this.channel===o.channel}},{key:"toString",value:function(){return"channel("+this.channel+")"}}])&&z0(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),_}(eo);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 X0(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(xs(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(xs(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),xs(p)==="symbol"?p:String(p)),s)}var p}function sh(f,i){return sh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},sh(f,i)}function Ec(f){return Ec=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Ec(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&&sh(o,u)})(_,f);var i,m,s,p,l=(s=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Ec(s);if(p){var E=Ec(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(A,x){if(x&&(xs(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}(A)}(this,o)});function _(o,u){var E;return function(A,x){if(!(A instanceof x))throw new TypeError("Cannot call a class as a function")}(this,_),(E=l.call(this,1)).ruleIndex=o,E.actionIndex=u,E.isPositionDependent=!0,E}return i=_,(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 _&&this.ruleIndex===o.ruleIndex&&this.actionIndex===o.actionIndex}}])&&X0(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),_}(eo);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 Y0(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(As(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(As(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),As(p)==="symbol"?p:String(p)),s)}var p}function ah(f,i){return ah=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},ah(f,i)}function Sc(f){return Sc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Sc(f)}var uh=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&&ah(o,u)})(_,f);var i,m,s,p,l=(s=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Sc(s);if(p){var E=Sc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(A,x){if(x&&(As(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}(A)}(this,o)});function _(){return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,_),l.call(this,3)}return i=_,(m=[{key:"execute",value:function(o){o.more()}},{key:"toString",value:function(){return"more"}}])&&Y0(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),_}(eo);function Cs(f){return Cs=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},Cs(f)}function J0(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(Cs(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Cs(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Cs(p)==="symbol"?p:String(p)),s)}var p}function ch(f,i){return ch=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},ch(f,i)}function Tc(f){return Tc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Tc(f)}uh.INSTANCE=new uh;var Z0=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&ch(o,u)})(_,f);var i,m,s,p,l=(s=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Tc(s);if(p){var E=Tc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(A,x){if(x&&(Cs(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}(A)}(this,o)});function _(o){var u;return function(E,A){if(!(E instanceof A))throw new TypeError("Cannot call a class as a function")}(this,_),(u=l.call(this,7)).type=o,u}return i=_,(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 _&&this.type===o.type}},{key:"toString",value:function(){return"type("+this.type+")"}}])&&J0(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),_}(eo);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 Q0(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(Os(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Os(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Os(p)==="symbol"?p:String(p)),s)}var p}function lh(f,i){return lh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},lh(f,i)}function xc(f){return xc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},xc(f)}var eg=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&lh(o,u)})(_,f);var i,m,s,p,l=(s=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=xc(s);if(p){var E=xc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(A,x){if(x&&(Os(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}(A)}(this,o)});function _(o){var u;return function(E,A){if(!(E instanceof A))throw new TypeError("Cannot call a class as a function")}(this,_),(u=l.call(this,5)).mode=o,u}return i=_,(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 _&&this.mode===o.mode}},{key:"toString",value:function(){return"pushMode("+this.mode+")"}}])&&Q0(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),_}(eo);function Ds(f){return Ds=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},Ds(f)}function tg(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(Ds(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ds(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ds(p)==="symbol"?p:String(p)),s)}var p}function fh(f,i){return fh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},fh(f,i)}function Ac(f){return Ac=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Ac(f)}var hh=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)})(_,f);var i,m,s,p,l=(s=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Ac(s);if(p){var E=Ac(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(A,x){if(x&&(Ds(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}(A)}(this,o)});function _(){return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,_),l.call(this,4)}return i=_,(m=[{key:"execute",value:function(o){o.popMode()}},{key:"toString",value:function(){return"popMode"}}])&&tg(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),_}(eo);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 ng(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(ks(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(ks(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),ks(p)==="symbol"?p:String(p)),s)}var p}function ph(f,i){return ph=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},ph(f,i)}function Cc(f){return Cc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Cc(f)}hh.INSTANCE=new hh;var rg=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)})(_,f);var i,m,s,p,l=(s=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Cc(s);if(p){var E=Cc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(A,x){if(x&&(ks(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}(A)}(this,o)});function _(o){var u;return function(E,A){if(!(E instanceof A))throw new TypeError("Cannot call a class as a function")}(this,_),(u=l.call(this,2)).mode=o,u}return i=_,(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 _&&this.mode===o.mode}},{key:"toString",value:function(){return"mode("+this.mode+")"}}])&&ng(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),_}(eo);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 ig(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(ka(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(ka(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),ka(p)==="symbol"?p:String(p)),s)}var p}function Oc(f,i){var m=[];return m[f-1]=i,m.map(function(s){return i})}var dh=function(){function f(s){(function(p,l){if(!(p instanceof l))throw new TypeError("Cannot call a class as a function")})(this,f),s==null&&(s=Oa.defaultOptions),this.deserializationOptions=s,this.stateFactories=null,this.actionFactories=null}var i,m;return i=f,m=[{key:"deserialize",value:function(s){var p=this.reset(s);this.checkVersion(p),p&&this.skipUUID();var l=this.readATN();this.readStates(l,p),this.readRules(l,p),this.readModes(l);var _=[];return this.readSets(l,_,this.readInt.bind(this)),p&&this.readSets(l,_,this.readInt32.bind(this)),this.readEdges(l,_),this.readDecisions(l),this.readLexerActions(l,p),this.markPrecedenceDecisions(l),this.verifyATN(l),this.deserializationOptions.generateRuleBypassTransitions&&l.grammarType===1&&(this.generateRuleBypassTransitions(l),this.verifyATN(l)),l}},{key:"reset",value:function(s){if((s.charCodeAt?s.charCodeAt(0):s[0])===3){var p=s.split("").map(function(l){var _=l.charCodeAt(0);return _>1?_-2:_+65534});return p[0]=s.charCodeAt(0),this.data=p,this.pos=0,!0}return this.data=s,this.pos=0,!1}},{key:"skipUUID",value:function(){for(var s=0;s++<8;)this.readInt()}},{key:"checkVersion",value:function(s){var p=this.readInt();if(!s&&p!==4)throw"Could not deserialize ATN with version "+p+" (expected 4)."}},{key:"readATN",value:function(){var s=this.readInt(),p=this.readInt();return new mn(s,p)}},{key:"readStates",value:function(s,p){for(var l,_,o,u=[],E=[],A=this.readInt(),x=0;x<A;x++){var I=this.readInt();if(I!==be.INVALID_TYPE){var ne=this.readInt();p&&ne===65535&&(ne=-1);var we=this.stateFactory(I,ne);if(I===be.LOOP_END){var De=this.readInt();u.push([we,De])}else if(we instanceof hs){var He=this.readInt();E.push([we,He])}s.addState(we)}else s.addState(null)}for(l=0;l<u.length;l++)(_=u[l])[0].loopBackState=s.states[_[1]];for(l=0;l<E.length;l++)(_=E[l])[0].endState=s.states[_[1]];var st=this.readInt();for(l=0;l<st;l++)o=this.readInt(),s.states[o].nonGreedy=!0;var ze=this.readInt();for(l=0;l<ze;l++)o=this.readInt(),s.states[o].isPrecedenceRule=!0}},{key:"readRules",value:function(s,p){var l,_=this.readInt();for(s.grammarType===0&&(s.ruleToTokenType=Oc(_,0)),s.ruleToStartState=Oc(_,0),l=0;l<_;l++){var o=this.readInt();if(s.ruleToStartState[l]=s.states[o],s.grammarType===0){var u=this.readInt();p&&u===65535&&(u=n.EOF),s.ruleToTokenType[l]=u}}for(s.ruleToStopState=Oc(_,0),l=0;l<s.states.length;l++){var E=s.states[l];E instanceof Ot&&(s.ruleToStopState[E.ruleIndex]=E,s.ruleToStartState[E.ruleIndex].stopState=E)}}},{key:"readModes",value:function(s){for(var p=this.readInt(),l=0;l<p;l++){var _=this.readInt();s.modeToStartState.push(s.states[_])}}},{key:"readSets",value:function(s,p,l){for(var _=this.readInt(),o=0;o<_;o++){var u=new ie;p.push(u);var E=this.readInt();this.readInt()!==0&&u.addOne(-1);for(var A=0;A<E;A++){var x=l(),I=l();u.addRange(x,I)}}}},{key:"readEdges",value:function(s,p){var l,_,o,u,E,A=this.readInt();for(l=0;l<A;l++){var x=this.readInt(),I=this.readInt(),ne=this.readInt(),we=this.readInt(),De=this.readInt(),He=this.readInt();u=this.edgeFactory(s,ne,x,I,we,De,He,p),s.states[x].addTransition(u)}for(l=0;l<s.states.length;l++)for(o=s.states[l],_=0;_<o.transitions.length;_++){var st=o.transitions[_];if(st instanceof Qt){var ze=-1;s.ruleToStartState[st.target.ruleIndex].isPrecedenceRule&&st.precedence===0&&(ze=st.target.ruleIndex),u=new Aa(st.followState,ze),s.ruleToStopState[st.target.ruleIndex].addTransition(u)}}for(l=0;l<s.states.length;l++){if((o=s.states[l])instanceof hs){if(o.endState===null||o.endState.startState!==null)throw"IllegalState";o.endState.startState=o}if(o instanceof rm)for(_=0;_<o.transitions.length;_++)(E=o.transitions[_].target)instanceof jf&&(E.loopBackState=o);else if(o instanceof Mf)for(_=0;_<o.transitions.length;_++)(E=o.transitions[_].target)instanceof Uo&&(E.loopBackState=o)}}},{key:"readDecisions",value:function(s){for(var p=this.readInt(),l=0;l<p;l++){var _=this.readInt(),o=s.states[_];s.decisionToState.push(o),o.decision=l}}},{key:"readLexerActions",value:function(s,p){if(s.grammarType===0){var l=this.readInt();s.lexerActions=Oc(l,null);for(var _=0;_<l;_++){var o=this.readInt(),u=this.readInt();p&&u===65535&&(u=-1);var E=this.readInt();p&&E===65535&&(E=-1),s.lexerActions[_]=this.lexerActionFactory(o,u,E)}}}},{key:"generateRuleBypassTransitions",value:function(s){var p,l=s.ruleToStartState.length;for(p=0;p<l;p++)s.ruleToTokenType[p]=s.maxTokenType+p+1;for(p=0;p<l;p++)this.generateRuleBypassTransition(s,p)}},{key:"generateRuleBypassTransition",value:function(s,p){var l,_,o=new dm;o.ruleIndex=p,s.addState(o);var u=new Cf;u.ruleIndex=p,s.addState(u),o.endState=u,s.defineDecisionState(o),u.startState=o;var E=null,A=null;if(s.ruleToStartState[p].isPrecedenceRule){for(A=null,l=0;l<s.states.length;l++)if(_=s.states[l],this.stateIsEndStateFor(_,p)){A=_,E=_.loopBackState.transitions[0];break}if(E===null)throw"Couldn't identify final state of the precedence rule prefix section."}else A=s.ruleToStopState[p];for(l=0;l<s.states.length;l++){_=s.states[l];for(var x=0;x<_.transitions.length;x++){var I=_.transitions[x];I!==E&&I.target===A&&(I.target=u)}}for(var ne=s.ruleToStartState[p],we=ne.transitions.length;we>0;)o.addTransition(ne.transitions[we-1]),ne.transitions=ne.transitions.slice(-1);s.ruleToStartState[p].addTransition(new Aa(o)),u.addTransition(new Aa(A));var De=new Vd;s.addState(De),De.addTransition(new qf(u,s.ruleToTokenType[p])),o.addTransition(new Aa(De))}},{key:"stateIsEndStateFor",value:function(s,p){if(s.ruleIndex!==p||!(s instanceof Uo))return null;var l=s.transitions[s.transitions.length-1].target;return l instanceof ps&&l.epsilonOnlyTransitions&&l.transitions[0].target instanceof Ot?s:null}},{key:"markPrecedenceDecisions",value:function(s){for(var p=0;p<s.states.length;p++){var l=s.states[p];if(l instanceof Uo&&s.ruleToStartState[l.ruleIndex].isPrecedenceRule){var _=l.transitions[l.transitions.length-1].target;_ instanceof ps&&_.epsilonOnlyTransitions&&_.transitions[0].target instanceof Ot&&(l.isPrecedenceDecision=!0)}}}},{key:"verifyATN",value:function(s){if(this.deserializationOptions.verifyATN)for(var p=0;p<s.states.length;p++){var l=s.states[p];if(l!==null)if(this.checkCondition(l.epsilonOnlyTransitions||l.transitions.length<=1),l instanceof jf)this.checkCondition(l.loopBackState!==null);else if(l instanceof Uo)if(this.checkCondition(l.loopBackState!==null),this.checkCondition(l.transitions.length===2),l.transitions[0].target instanceof Kf)this.checkCondition(l.transitions[1].target instanceof ps),this.checkCondition(!l.nonGreedy);else{if(!(l.transitions[0].target instanceof ps))throw"IllegalState";this.checkCondition(l.transitions[1].target instanceof Kf),this.checkCondition(l.nonGreedy)}else l instanceof Mf?(this.checkCondition(l.transitions.length===1),this.checkCondition(l.transitions[0].target instanceof Uo)):l instanceof ps?this.checkCondition(l.loopBackState!==null):l instanceof Zd?this.checkCondition(l.stopState!==null):l instanceof hs?this.checkCondition(l.endState!==null):l instanceof Cf?this.checkCondition(l.startState!==null):l instanceof fs?this.checkCondition(l.transitions.length<=1||l.decision>=0):this.checkCondition(l.transitions.length<=1||l instanceof Ot)}}},{key:"checkCondition",value:function(s,p){if(!s)throw p==null&&(p="IllegalState"),p}},{key:"readInt",value:function(){return this.data[this.pos++]}},{key:"readInt32",value:function(){return this.readInt()|this.readInt()<<16}},{key:"edgeFactory",value:function(s,p,l,_,o,u,E,A){var x=s.states[_];switch(p){case me.EPSILON:return new Aa(x);case me.RANGE:return new F0(x,E!==0?n.EOF:o,u);case me.RULE:return new Qt(s.states[o],u,E,x);case me.PREDICATE:return new ym(x,o,u,E!==0);case me.PRECEDENCE:return new j0(x,o);case me.ATOM:return new qf(x,E!==0?n.EOF:o);case me.ACTION:return new mm(x,o,u,E!==0);case me.SET:return new Ai(x,A[o]);case me.NOT_SET:return new on(x,A[o]);case me.WILDCARD:return new Mn(x);default:throw"The specified transition type: "+p+" is not valid."}}},{key:"stateFactory",value:function(s,p){if(this.stateFactories===null){var l=[];l[be.INVALID_TYPE]=null,l[be.BASIC]=function(){return new Vd},l[be.RULE_START]=function(){return new Zd},l[be.BLOCK_START]=function(){return new dm},l[be.PLUS_BLOCK_START]=function(){return new jf},l[be.STAR_BLOCK_START]=function(){return new Kf},l[be.TOKEN_START]=function(){return new N0},l[be.RULE_STOP]=function(){return new Ot},l[be.BLOCK_END]=function(){return new Cf},l[be.STAR_LOOP_BACK]=function(){return new Mf},l[be.STAR_LOOP_ENTRY]=function(){return new Uo},l[be.PLUS_LOOP_BACK]=function(){return new rm},l[be.LOOP_END]=function(){return new ps},this.stateFactories=l}if(s>this.stateFactories.length||this.stateFactories[s]===null)throw"The specified state type "+s+" is not valid.";var _=this.stateFactories[s]();if(_!==null)return _.ruleIndex=p,_}},{key:"lexerActionFactory",value:function(s,p,l){if(this.actionFactories===null){var _=[];_[0]=function(o,u){return new W0(o)},_[1]=function(o,u){return new q0(o,u)},_[2]=function(o,u){return new rg(o)},_[3]=function(o,u){return uh.INSTANCE},_[4]=function(o,u){return hh.INSTANCE},_[5]=function(o,u){return new eg(o)},_[6]=function(o,u){return ih.INSTANCE},_[7]=function(o,u){return new Z0(o)},this.actionFactories=_}if(s>this.actionFactories.length||this.actionFactories[s]===null)throw"The specified lexer action type "+s+" is not valid.";return this.actionFactories[s](p,l)}}],m&&ig(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();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 og(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(wa(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(wa(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),wa(p)==="symbol"?p:String(p)),s)}var p}var Ra=function(){function f(){(function(s,p){if(!(s instanceof p))throw new TypeError("Cannot call a class as a function")})(this,f)}var i,m;return i=f,(m=[{key:"syntaxError",value:function(s,p,l,_,o,u){}},{key:"reportAmbiguity",value:function(s,p,l,_,o,u,E){}},{key:"reportAttemptingFullContext",value:function(s,p,l,_,o,u){}},{key:"reportContextSensitivity",value:function(s,p,l,_,o,u){}}])&&og(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 sg(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(ws(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(ws(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),ws(p)==="symbol"?p:String(p)),s)}var p}function mh(f,i){return mh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},mh(f,i)}function Dc(f){return Dc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Dc(f)}var _h=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)})(_,f);var i,m,s,p,l=(s=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Dc(s);if(p){var E=Dc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(A,x){if(x&&(ws(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}(A)}(this,o)});function _(){return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,_),l.call(this)}return i=_,(m=[{key:"syntaxError",value:function(o,u,E,A,x,I){console.error("line "+E+":"+A+" "+x)}}])&&sg(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),_}(Ra);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 ag(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(Rs(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Rs(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Rs(p)==="symbol"?p:String(p)),s)}var p}function yh(f,i){return yh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},yh(f,i)}function vm(f,i){if(i&&(Rs(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Em(f)}function Em(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function kc(f){return kc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},kc(f)}_h.INSTANCE=new _h;var ug=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&yh(o,u)})(_,f);var i,m,s,p,l=(s=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=kc(s);if(p){var E=kc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return vm(this,o)});function _(o){var u;if(function(E,A){if(!(E instanceof A))throw new TypeError("Cannot call a class as a function")}(this,_),u=l.call(this),o===null)throw"delegates";return u.delegates=o,vm(u,Em(u))}return i=_,m=[{key:"syntaxError",value:function(o,u,E,A,x,I){this.delegates.map(function(ne){return ne.syntaxError(o,u,E,A,x,I)})}},{key:"reportAmbiguity",value:function(o,u,E,A,x,I,ne){this.delegates.map(function(we){return we.reportAmbiguity(o,u,E,A,x,I,ne)})}},{key:"reportAttemptingFullContext",value:function(o,u,E,A,x,I){this.delegates.map(function(ne){return ne.reportAttemptingFullContext(o,u,E,A,x,I)})}},{key:"reportContextSensitivity",value:function(o,u,E,A,x,I){this.delegates.map(function(ne){return ne.reportContextSensitivity(o,u,E,A,x,I)})}}],m&&ag(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),_}(Ra);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 cg(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(Na(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Na(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Na(p)==="symbol"?p:String(p)),s)}var p}var wc=function(){function f(){(function(s,p){if(!(s instanceof p))throw new TypeError("Cannot call a class as a function")})(this,f),this._listeners=[_h.INSTANCE],this._interp=null,this._stateNumber=-1}var i,m;return i=f,(m=[{key:"checkVersion",value:function(s){var p="4.13.0";p!==s&&console.log("ANTLR runtime and generated code versions disagree: "+p+"!="+s)}},{key:"addErrorListener",value:function(s){this._listeners.push(s)}},{key:"removeErrorListeners",value:function(){this._listeners=[]}},{key:"getLiteralNames",value:function(){return Object.getPrototypeOf(this).constructor.literalNames||[]}},{key:"getSymbolicNames",value:function(){return Object.getPrototypeOf(this).constructor.symbolicNames||[]}},{key:"getTokenNames",value:function(){if(!this.tokenNames){var s=this.getLiteralNames(),p=this.getSymbolicNames(),l=s.length>p.length?s.length:p.length;this.tokenNames=[];for(var _=0;_<l;_++)this.tokenNames[_]=s[_]||p[_]||"<INVALID"}return this.tokenNames}},{key:"getTokenTypeMap",value:function(){var s=this.getTokenNames();if(s===null)throw"The current recognizer does not provide a list of token names.";var p=this.tokenTypeMapCache[s];return p===void 0&&((p=s.reduce(function(l,_,o){l[_]=o})).EOF=n.EOF,this.tokenTypeMapCache[s]=p),p}},{key:"getRuleIndexMap",value:function(){var s=this.ruleNames;if(s===null)throw"The current recognizer does not provide a list of rule names.";var p=this.ruleIndexMapCache[s];return p===void 0&&(p=s.reduce(function(l,_,o){l[_]=o}),this.ruleIndexMapCache[s]=p),p}},{key:"getTokenType",value:function(s){var p=this.getTokenTypeMap()[s];return p!==void 0?p:n.INVALID_TYPE}},{key:"getErrorHeader",value:function(s){return"line "+s.getOffendingToken().line+":"+s.getOffendingToken().column}},{key:"getTokenErrorDisplay",value:function(s){if(s===null)return"<no token>";var p=s.text;return p===null&&(p=s.type===n.EOF?"<EOF>":"<"+s.type+">"),"'"+(p=p.replace(`
2
+ `,"\\n").replace("\r","\\r").replace(" ","\\t"))+"'"}},{key:"getErrorListenerDispatch",value:function(){return new ug(this._listeners)}},{key:"sempred",value:function(s,p,l){return!0}},{key:"precpred",value:function(s,p){return!0}},{key:"atn",get:function(){return this._interp.atn}},{key:"state",get:function(){return this._stateNumber},set:function(s){this._stateNumber=s}}])&&cg(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();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 lg(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(Ns(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ns(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ns(p)==="symbol"?p:String(p)),s)}var p}function gh(f,i){return gh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},gh(f,i)}function Rc(f){return Rc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Rc(f)}wc.tokenTypeMapCache={},wc.ruleIndexMapCache={};var Ia=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&gh(o,u)})(_,f);var i,m,s,p,l=(s=_,p=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(s);if(p){var E=Rc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(A,x){if(x&&(Ns(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}(A)}(this,o)});function _(o,u,E,A,x){var I;return function(ne,we){if(!(ne instanceof we))throw new TypeError("Cannot call a class as a function")}(this,_),(I=l.call(this)).source=o!==void 0?o:_.EMPTY_SOURCE,I.type=u!==void 0?u:null,I.channel=E!==void 0?E:n.DEFAULT_CHANNEL,I.start=A!==void 0?A:-1,I.stop=x!==void 0?x:-1,I.tokenIndex=-1,I.source[0]!==null?(I.line=o[0].line,I.column=o[0].column):I.column=-1,I}return i=_,(m=[{key:"clone",value:function(){var o=new _(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 _(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}}])&&lg(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),_}(n);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 bh(f,i){return bh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},bh(f,i)}function Nc(f){return Nc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Nc(f)}function Sm(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(Is(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Is(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Is(p)==="symbol"?p:String(p)),s)}var p}function Tm(f,i,m){return i&&Sm(f.prototype,i),m&&Sm(f,m),Object.defineProperty(f,"prototype",{writable:!1}),f}function xm(f,i){if(!(f instanceof i))throw new TypeError("Cannot call a class as a function")}Ia.EMPTY_SOURCE=[null,null];var vh=function(f){(function(l,_){if(typeof _!="function"&&_!==null)throw new TypeError("Super expression must either be null or a function");l.prototype=Object.create(_&&_.prototype,{constructor:{value:l,writable:!0,configurable:!0}}),Object.defineProperty(l,"prototype",{writable:!1}),_&&bh(l,_)})(p,f);var i,m,s=(i=p,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,_=Nc(i);if(m){var o=Nc(this).constructor;l=Reflect.construct(_,arguments,o)}else l=_.apply(this,arguments);return function(u,E){if(E&&(Is(E)==="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(A){if(A===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A}(u)}(this,l)});function p(l){var _;return xm(this,p),(_=s.call(this)).copyText=l!==void 0&&l,_}return Tm(p,[{key:"create",value:function(l,_,o,u,E,A,x,I){var ne=new Ia(l,_,u,E,A);return ne.line=x,ne.column=I,o!==null?ne.text=o:this.copyText&&l[1]!==null&&(ne.text=l[1].getText(E,A)),ne}},{key:"createThin",value:function(l,_){var o=new Ia(null,l);return o.text=_,o}}]),p}(Tm(function f(){xm(this,f)}));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 fg(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(Ps(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ps(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ps(p)==="symbol"?p:String(p)),s)}var p}function Am(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function Eh(f){var i=typeof Map=="function"?new Map:void 0;return Eh=function(m){if(m===null||(s=m,Function.toString.call(s).indexOf("[native code]")===-1))return m;var s;if(typeof m!="function")throw new TypeError("Super expression must either be null or a function");if(i!==void 0){if(i.has(m))return i.get(m);i.set(m,p)}function p(){return Sh(m,arguments,Fa(this).constructor)}return p.prototype=Object.create(m.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}),Pa(p,m)},Eh(f)}function Sh(f,i,m){return Sh=Cm()?Reflect.construct.bind():function(s,p,l){var _=[null];_.push.apply(_,p);var o=new(Function.bind.apply(s,_));return l&&Pa(o,l.prototype),o},Sh.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 Pa(f,i){return Pa=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Pa(f,i)}function Fa(f){return Fa=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Fa(f)}vh.DEFAULT=new vh;var $o=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&&Pa(o,u)})(_,f);var i,m,s,p,l=(s=_,p=Cm(),function(){var o,u=Fa(s);if(p){var E=Fa(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(A,x){if(x&&(Ps(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Am(A)}(this,o)});function _(o){var u;return function(E,A){if(!(E instanceof A))throw new TypeError("Cannot call a class as a function")}(this,_),u=l.call(this,o.message),Error.captureStackTrace&&Error.captureStackTrace(Am(u),_),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=_,(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}}])&&fg(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),_}(Eh(Error));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 hg(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(Fs(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Fs(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Fs(p)==="symbol"?p:String(p)),s)}var p}function Th(f,i){return Th=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Th(f,i)}function Ic(f){return Ic=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Ic(f)}var xh=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Th(o,u)})(_,f);var i,m,s,p,l=(s=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Ic(s);if(p){var E=Ic(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(A,x){if(x&&(Fs(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}(A)}(this,o)});function _(o,u,E,A){var x;return function(I,ne){if(!(I instanceof ne))throw new TypeError("Cannot call a class as a function")}(this,_),(x=l.call(this,{message:"",recognizer:o,input:u,ctx:null})).startIndex=E,x.deadEndConfigs=A,x}return i=_,(m=[{key:"toString",value:function(){var o="";return this.startIndex>=0&&this.startIndex<this.input.size&&(o=this.input.getText(new ve(this.startIndex,this.startIndex))),"LexerNoViableAltException"+o}}])&&hg(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),_}($o);function Ls(f){return Ls=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},Ls(f)}function pg(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(Ls(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ls(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ls(p)==="symbol"?p:String(p)),s)}var p}function Ah(f,i){return Ah=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Ah(f,i)}function Om(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 sr=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&&Ah(o,u)})(_,f);var i,m,s,p,l=(s=_,p=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(s);if(p){var E=Pc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(A,x){if(x&&(Ls(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Om(A)}(this,o)});function _(o){var u;return function(E,A){if(!(E instanceof A))throw new TypeError("Cannot call a class as a function")}(this,_),(u=l.call(this))._input=o,u._factory=vh.DEFAULT,u._tokenFactorySourcePair=[Om(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=_.DEFAULT_MODE,u._text=null,u}return i=_,(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=_.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 E=_.SKIP;try{E=this._interp.match(this._input,this._mode)}catch(A){if(!(A instanceof $o))throw console.log(A.stack),A;this.notifyListeners(A),this.recover(A)}if(this._input.LA(1)===n.EOF&&(this._hitEOF=!0),this._type===n.INVALID_TYPE&&(this._type=E),this._type===_.SKIP){u=!0;break}if(this._type!==_.MORE)break}if(!u)return this._token===null&&this.emit(),this._token}}finally{this._input.release(o)}}},{key:"skip",value:function(){this._type=_.SKIP}},{key:"more",value:function(){this._type=_.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,E=this._factory.create(this._tokenFactorySourcePair,n.EOF,null,n.DEFAULT_CHANNEL,this._input.index,this._input.index-1,u,o);return this.emitToken(E),E}},{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,E=this._input.index,A=this._input.getText(u,E),x="token recognition error at: '"+this.getErrorDisplay(A)+"'";this.getErrorListenerDispatch().syntaxError(this,null,this._tokenStartLine,this._tokenStartColumn,x,o)}},{key:"getErrorDisplay",value:function(o){for(var u=[],E=0;E<o.length;E++)u.push(o[E]);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 xh?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}}])&&pg(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),_}(wc);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 dg(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(La(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(La(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),La(p)==="symbol"?p:String(p)),s)}var p}function mg(f){return f.hashCodeForConfigSet()}function _g(f,i){return f===i||f!==null&&i!==null&&f.equalsForConfigSet(i)}sr.DEFAULT_MODE=0,sr.MORE=-2,sr.SKIP=-3,sr.DEFAULT_TOKEN_CHANNEL=n.DEFAULT_CHANNEL,sr.HIDDEN=n.HIDDEN_CHANNEL,sr.MIN_CHAR_VALUE=0,sr.MAX_CHAR_VALUE=1114111;var Ur=function(){function f(s){(function(p,l){if(!(p instanceof l))throw new TypeError("Cannot call a class as a function")})(this,f),this.configLookup=new g(mg,_g),this.fullCtx=s===void 0||s,this.readOnly=!1,this.configs=[],this.uniqueAlt=0,this.conflictingAlts=null,this.hasSemanticContext=!1,this.dipsIntoOuterContext=!1,this.cachedHashCode=-1}var i,m;return i=f,(m=[{key:"add",value:function(s,p){if(p===void 0&&(p=null),this.readOnly)throw"This set is readonly";s.semanticContext!==$.NONE&&(this.hasSemanticContext=!0),s.reachesIntoOuterContext>0&&(this.dipsIntoOuterContext=!0);var l=this.configLookup.add(s);if(l===s)return this.cachedHashCode=-1,this.configs.push(s),!0;var _=!this.fullCtx,o=ls(l.context,s.context,_,p);return l.reachesIntoOuterContext=Math.max(l.reachesIntoOuterContext,s.reachesIntoOuterContext),s.precedenceFilterSuppressed&&(l.precedenceFilterSuppressed=!0),l.context=o,!0}},{key:"getStates",value:function(){for(var s=new g,p=0;p<this.configs.length;p++)s.add(this.configs[p].state);return s}},{key:"getPredicates",value:function(){for(var s=[],p=0;p<this.configs.length;p++){var l=this.configs[p].semanticContext;l!==$.NONE&&s.push(l.semanticContext)}return s}},{key:"optimizeConfigs",value:function(s){if(this.readOnly)throw"This set is readonly";if(this.configLookup.length!==0)for(var p=0;p<this.configs.length;p++){var l=this.configs[p];l.context=s.getCachedContext(l.context)}}},{key:"addAll",value:function(s){for(var p=0;p<s.length;p++)this.add(s[p]);return!1}},{key:"equals",value:function(s){return this===s||s instanceof f&&r(this.configs,s.configs)&&this.fullCtx===s.fullCtx&&this.uniqueAlt===s.uniqueAlt&&this.conflictingAlts===s.conflictingAlts&&this.hasSemanticContext===s.hasSemanticContext&&this.dipsIntoOuterContext===s.dipsIntoOuterContext}},{key:"hashCode",value:function(){var s=new S;return s.update(this.configs),s.finish()}},{key:"updateHashCode",value:function(s){this.readOnly?(this.cachedHashCode===-1&&(this.cachedHashCode=this.hashCode()),s.update(this.cachedHashCode)):s.update(this.hashCode())}},{key:"isEmpty",value:function(){return this.configs.length===0}},{key:"contains",value:function(s){if(this.configLookup===null)throw"This method is not implemented for readonly sets.";return this.configLookup.contains(s)}},{key:"containsFast",value:function(s){if(this.configLookup===null)throw"This method is not implemented for readonly sets.";return this.configLookup.containsFast(s)}},{key:"clear",value:function(){if(this.readOnly)throw"This set is readonly";this.configs=[],this.cachedHashCode=-1,this.configLookup=new g}},{key:"setReadonly",value:function(s){this.readOnly=s,s&&(this.configLookup=null)}},{key:"toString",value:function(){return M(this.configs)+(this.hasSemanticContext?",hasSemanticContext="+this.hasSemanticContext:"")+(this.uniqueAlt!==mn.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}}])&&dg(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 yg(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(Ma(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ma(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ma(p)==="symbol"?p:String(p)),s)}var p}var Vo=function(){function f(s,p){return function(l,_){if(!(l instanceof _))throw new TypeError("Cannot call a class as a function")}(this,f),s===null&&(s=-1),p===null&&(p=new Ur),this.stateNumber=s,this.configs=p,this.edges=null,this.isAcceptState=!1,this.prediction=0,this.lexerActionExecutor=null,this.requiresFullContext=!1,this.predicates=null,this}var i,m;return i=f,(m=[{key:"getAltSet",value:function(){var s=new g;if(this.configs!==null)for(var p=0;p<this.configs.length;p++){var l=this.configs[p];s.add(l.alt)}return s.length===0?null:s}},{key:"equals",value:function(s){return this===s||s instanceof f&&this.configs.equals(s.configs)}},{key:"toString",value:function(){var s=this.stateNumber+":"+this.configs;return this.isAcceptState&&(s+="=>",this.predicates!==null?s+=this.predicates:s+=this.prediction),s}},{key:"hashCode",value:function(){var s=new S;return s.update(this.configs),s.finish()}}])&&yg(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 gg(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(Ba(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ba(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ba(p)==="symbol"?p:String(p)),s)}var p}var Oi=function(){function f(s,p){return function(l,_){if(!(l instanceof _))throw new TypeError("Cannot call a class as a function")}(this,f),this.atn=s,this.sharedContextCache=p,this}var i,m;return i=f,m=[{key:"getCachedContext",value:function(s){if(this.sharedContextCache===null)return s;var p=new Ji;return Yu(s,this.sharedContextCache,p)}}],m&&gg(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();function Ch(f){return Ch=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ch(f)}function Oh(f,i){return Oh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Oh(f,i)}function Fc(f){return Fc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Fc(f)}Oi.ERROR=new Vo(2147483647,new Ur);var Dm=function(f){(function(_,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(o&&o.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),o&&Oh(_,o)})(l,f);var i,m,s,p=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,o=Fc(m);if(s){var u=Fc(this).constructor;_=Reflect.construct(o,arguments,u)}else _=o.apply(this,arguments);return function(E,A){if(A&&(Ch(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(x){if(x===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x}(E)}(this,_)});function l(){var _;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,l),(_=p.call(this)).configLookup=new g,_}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(Ur);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 bg(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(Ms(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ms(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ms(p)==="symbol"?p:String(p)),s)}var p}function Dh(){return Dh=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(f,i,m){var s=function(l,_){for(;!Object.prototype.hasOwnProperty.call(l,_)&&(l=Bs(l))!==null;);return l}(f,i);if(s){var p=Object.getOwnPropertyDescriptor(s,i);return p.get?p.get.call(arguments.length<3?f:m):p.value}},Dh.apply(this,arguments)}function kh(f,i){return kh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},kh(f,i)}function km(f,i){if(i&&(Ms(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return wm(f)}function wm(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function Bs(f){return Bs=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Bs(f)}var Di=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)})(_,f);var i,m,s,p,l=(s=_,p=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=Bs(s);if(p){var E=Bs(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return km(this,o)});function _(o,u){var E;(function(x,I){if(!(x instanceof I))throw new TypeError("Cannot call a class as a function")})(this,_),E=l.call(this,o,u);var A=o.lexerActionExecutor||null;return E.lexerActionExecutor=A||(u!==null?u.lexerActionExecutor:null),E.passedThroughNonGreedyDecision=u!==null&&E.checkNonGreedyDecision(u,E.state),E.hashCodeForConfigSet=_.prototype.hashCode,E.equalsForConfigSet=_.prototype.equals,km(E,wm(E))}return i=_,(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 _&&this.passedThroughNonGreedyDecision===o.passedThroughNonGreedyDecision&&(this.lexerActionExecutor?this.lexerActionExecutor.equals(o.lexerActionExecutor):!o.lexerActionExecutor)&&Dh(Bs(_.prototype),"equals",this).call(this,o)}},{key:"checkNonGreedyDecision",value:function(o,u){return o.passedThroughNonGreedyDecision||u instanceof fs&&u.nonGreedy}}])&&bg(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),_}(fe);function Us(f){return Us=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},Us(f)}function vg(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(Us(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Us(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Us(p)==="symbol"?p:String(p)),s)}var p}function wh(f,i){return wh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},wh(f,i)}function Lc(f){return Lc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Lc(f)}var Rh=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)})(_,f);var i,m,s,p,l=(s=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Lc(s);if(p){var E=Lc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(A,x){if(x&&(Us(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}(A)}(this,o)});function _(o,u){var E;return function(A,x){if(!(A instanceof x))throw new TypeError("Cannot call a class as a function")}(this,_),(E=l.call(this,u.actionType)).offset=o,E.action=u,E.isPositionDependent=!0,E}return i=_,(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 _&&this.offset===o.offset&&this.action===o.action}}])&&vg(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),_}(eo);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 Rm(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(Ua(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ua(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ua(p)==="symbol"?p:String(p)),s)}var p}var Eg=function(){function f(p){return function(l,_){if(!(l instanceof _))throw new TypeError("Cannot call a class as a function")}(this,f),this.lexerActions=p===null?[]:p,this.cachedHashCode=S.hashStuff(p),this}var i,m,s;return i=f,s=[{key:"append",value:function(p,l){return new f(p===null?[l]:p.lexerActions.concat([l]))}}],(m=[{key:"fixOffsetBeforeMatch",value:function(p){for(var l=null,_=0;_<this.lexerActions.length;_++)!this.lexerActions[_].isPositionDependent||this.lexerActions[_]instanceof Rh||(l===null&&(l=this.lexerActions.concat([])),l[_]=new Rh(p,this.lexerActions[_]));return l===null?this:new f(l)}},{key:"execute",value:function(p,l,_){var o=!1,u=l.index;try{for(var E=0;E<this.lexerActions.length;E++){var A=this.lexerActions[E];if(A instanceof Rh){var x=A.offset;l.seek(_+x),A=A.action,o=_+x!==u}else A.isPositionDependent&&(l.seek(u),o=!1);A.execute(p)}}finally{o&&l.seek(u)}}},{key:"hashCode",value:function(){return this.cachedHashCode}},{key:"updateHashCode",value:function(p){p.update(this.cachedHashCode)}},{key:"equals",value:function(p){if(this===p)return!0;if(p instanceof f){if(this.cachedHashCode!=p.cachedHashCode||this.lexerActions.length!=p.lexerActions.length)return!1;for(var l=this.lexerActions.length,_=0;_<l;++_)if(!this.lexerActions[_].equals(p.lexerActions[_]))return!1;return!0}return!1}}])&&Rm(i.prototype,m),s&&Rm(i,s),Object.defineProperty(i,"prototype",{writable:!1}),f}();function Nh(f,i){return Nh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Nh(f,i)}function Mc(f){return Mc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Mc(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 Nm(f,i){if(!(f instanceof i))throw new TypeError("Cannot call a class as a function")}function Im(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if($s(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if($s(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),$s(p)==="symbol"?p:String(p)),s)}var p}function Pm(f,i,m){return i&&Im(f.prototype,i),m&&Im(f,m),Object.defineProperty(f,"prototype",{writable:!1}),f}function Fm(f){f.index=-1,f.line=0,f.column=-1,f.dfaState=null}var Sg=function(){function f(){Nm(this,f),Fm(this)}return Pm(f,[{key:"reset",value:function(){Fm(this)}}]),f}(),Vs=function(f){(function(l,_){if(typeof _!="function"&&_!==null)throw new TypeError("Super expression must either be null or a function");l.prototype=Object.create(_&&_.prototype,{constructor:{value:l,writable:!0,configurable:!0}}),Object.defineProperty(l,"prototype",{writable:!1}),_&&Nh(l,_)})(p,f);var i,m,s=(i=p,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,_=Mc(i);if(m){var o=Mc(this).constructor;l=Reflect.construct(_,arguments,o)}else l=_.apply(this,arguments);return function(u,E){if(E&&($s(E)==="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(A){if(A===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A}(u)}(this,l)});function p(l,_,o,u){var E;return Nm(this,p),(E=s.call(this,_,u)).decisionToDFA=o,E.recog=l,E.startIndex=-1,E.line=1,E.column=0,E.mode=sr.DEFAULT_MODE,E.prevAccept=new Sg,E}return Pm(p,[{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,_){this.mode=_;var o=l.mark();try{this.startIndex=l.index,this.prevAccept.reset();var u=this.decisionToDFA[_];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=sr.DEFAULT_MODE}},{key:"matchATN",value:function(l){var _=this.atn.modeToStartState[this.mode];p.debug&&console.log("matchATN mode "+this.mode+" start: "+_);var o=this.mode,u=this.computeStartState(l,_),E=u.hasSemanticContext;u.hasSemanticContext=!1;var A=this.addDFAState(u);E||(this.decisionToDFA[this.mode].s0=A);var x=this.execATN(l,A);return p.debug&&console.log("DFA after matchATN: "+this.decisionToDFA[o].toLexerString()),x}},{key:"execATN",value:function(l,_){p.debug&&console.log("start state closure="+_.configs),_.isAcceptState&&this.captureSimState(this.prevAccept,l,_);for(var o=l.LA(1),u=_;;){p.debug&&console.log("execATN loop starting closure: "+u.configs);var E=this.getExistingTargetState(u,o);if(E===null&&(E=this.computeTargetState(l,u,o)),E===Oi.ERROR||(o!==n.EOF&&this.consume(l),E.isAcceptState&&(this.captureSimState(this.prevAccept,l,E),o===n.EOF)))break;o=l.LA(1),u=E}return this.failOrAccept(this.prevAccept,l,u.configs,o)}},{key:"getExistingTargetState",value:function(l,_){if(l.edges===null||_<p.MIN_DFA_EDGE||_>p.MAX_DFA_EDGE)return null;var o=l.edges[_-p.MIN_DFA_EDGE];return o===void 0&&(o=null),p.debug&&o!==null&&console.log("reuse state "+l.stateNumber+" edge to "+o.stateNumber),o}},{key:"computeTargetState",value:function(l,_,o){var u=new Dm;return this.getReachableConfigSet(l,_.configs,u,o),u.items.length===0?(u.hasSemanticContext||this.addDFAEdge(_,o,Oi.ERROR),Oi.ERROR):this.addDFAEdge(_,o,null,u)}},{key:"failOrAccept",value:function(l,_,o,u){if(this.prevAccept.dfaState!==null){var E=l.dfaState.lexerActionExecutor;return this.accept(_,E,this.startIndex,l.index,l.line,l.column),l.dfaState.prediction}if(u===n.EOF&&_.index===this.startIndex)return n.EOF;throw new xh(this.recog,_,this.startIndex,o)}},{key:"getReachableConfigSet",value:function(l,_,o,u){for(var E=mn.INVALID_ALT_NUMBER,A=0;A<_.items.length;A++){var x=_.items[A],I=x.alt===E;if(!I||!x.passedThroughNonGreedyDecision){p.debug&&console.log(`testing %s at %s
4
+ `,this.getTokenName(u),x.toString(this.recog,!0));for(var ne=0;ne<x.state.transitions.length;ne++){var we=x.state.transitions[ne],De=this.getReachableTarget(we,u);if(De!==null){var He=x.lexerActionExecutor;He!==null&&(He=He.fixOffsetBeforeMatch(l.index-this.startIndex));var st=u===n.EOF,ze=new Di({state:De,lexerActionExecutor:He},x);this.closure(l,ze,o,I,!0,st)&&(E=x.alt)}}}}}},{key:"accept",value:function(l,_,o,u,E,A){p.debug&&console.log(`ACTION %s
5
+ `,_),l.seek(u),this.line=E,this.column=A,_!==null&&this.recog!==null&&_.execute(this.recog,l,o)}},{key:"getReachableTarget",value:function(l,_){return l.matches(_,0,sr.MAX_CHAR_VALUE)?l.target:null}},{key:"computeStartState",value:function(l,_){for(var o=it.EMPTY,u=new Dm,E=0;E<_.transitions.length;E++){var A=_.transitions[E].target,x=new Di({state:A,alt:E+1,context:o},null);this.closure(l,x,u,!1,!1,!1)}return u}},{key:"closure",value:function(l,_,o,u,E,A){var x=null;if(p.debug&&console.log("closure("+_.toString(this.recog,!0)+")"),_.state instanceof Ot){if(p.debug&&(this.recog!==null?console.log(`closure at %s rule stop %s
6
+ `,this.recog.ruleNames[_.state.ruleIndex],_):console.log(`closure at rule stop %s
7
+ `,_)),_.context===null||_.context.hasEmptyPath()){if(_.context===null||_.context.isEmpty())return o.add(_),!0;o.add(new Di({state:_.state,context:it.EMPTY},_)),u=!0}if(_.context!==null&&!_.context.isEmpty()){for(var I=0;I<_.context.length;I++)if(_.context.getReturnState(I)!==it.EMPTY_RETURN_STATE){var ne=_.context.getParent(I),we=this.atn.states[_.context.getReturnState(I)];x=new Di({state:we,context:ne},_),u=this.closure(l,x,o,u,E,A)}}return u}_.state.epsilonOnlyTransitions||u&&_.passedThroughNonGreedyDecision||o.add(_);for(var De=0;De<_.state.transitions.length;De++){var He=_.state.transitions[De];(x=this.getEpsilonTarget(l,_,He,o,E,A))!==null&&(u=this.closure(l,x,o,u,E,A))}return u}},{key:"getEpsilonTarget",value:function(l,_,o,u,E,A){var x=null;if(o.serializationType===me.RULE){var I=ct.create(_.context,o.followState.stateNumber);x=new Di({state:o.target,context:I},_)}else{if(o.serializationType===me.PRECEDENCE)throw"Precedence predicates are not supported in lexers.";if(o.serializationType===me.PREDICATE)p.debug&&console.log("EVAL rule "+o.ruleIndex+":"+o.predIndex),u.hasSemanticContext=!0,this.evaluatePredicate(l,o.ruleIndex,o.predIndex,E)&&(x=new Di({state:o.target},_));else if(o.serializationType===me.ACTION)if(_.context===null||_.context.hasEmptyPath()){var ne=Eg.append(_.lexerActionExecutor,this.atn.lexerActions[o.actionIndex]);x=new Di({state:o.target,lexerActionExecutor:ne},_)}else x=new Di({state:o.target},_);else o.serializationType===me.EPSILON?x=new Di({state:o.target},_):o.serializationType!==me.ATOM&&o.serializationType!==me.RANGE&&o.serializationType!==me.SET||A&&o.matches(n.EOF,0,sr.MAX_CHAR_VALUE)&&(x=new Di({state:o.target},_))}return x}},{key:"evaluatePredicate",value:function(l,_,o,u){if(this.recog===null)return!0;if(!u)return this.recog.sempred(null,_,o);var E=this.column,A=this.line,x=l.index,I=l.mark();try{return this.consume(l),this.recog.sempred(null,_,o)}finally{this.column=E,this.line=A,l.seek(x),l.release(I)}}},{key:"captureSimState",value:function(l,_,o){l.index=_.index,l.line=this.line,l.column=this.column,l.dfaState=o}},{key:"addDFAEdge",value:function(l,_,o,u){if(o===void 0&&(o=null),u===void 0&&(u=null),o===null&&u!==null){var E=u.hasSemanticContext;if(u.hasSemanticContext=!1,o=this.addDFAState(u),E)return o}return _<p.MIN_DFA_EDGE||_>p.MAX_DFA_EDGE||(p.debug&&console.log("EDGE "+l+" -> "+o+" upon "+_),l.edges===null&&(l.edges=[]),l.edges[_-p.MIN_DFA_EDGE]=o),o}},{key:"addDFAState",value:function(l){for(var _=new Vo(null,l),o=null,u=0;u<l.items.length;u++){var E=l.items[u];if(E.state instanceof Ot){o=E;break}}o!==null&&(_.isAcceptState=!0,_.lexerActionExecutor=o.lexerActionExecutor,_.prediction=this.atn.ruleToTokenType[o.state.ruleIndex]);var A=this.decisionToDFA[this.mode],x=A.states.get(_);if(x!==null)return x;var I=_;return I.stateNumber=A.states.length,l.setReadonly(!0),I.configs=l,A.states.add(I),I}},{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)+"'"}}]),p}(Oi);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 Tg(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if($a(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if($a(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),$a(p)==="symbol"?p:String(p)),s)}var p}Vs.debug=!1,Vs.dfa_debug=!1,Vs.MIN_DFA_EDGE=0,Vs.MAX_DFA_EDGE=127;var Lm=function(){function f(s,p){(function(l,_){if(!(l instanceof _))throw new TypeError("Cannot call a class as a function")})(this,f),this.alt=p,this.pred=s}var i,m;return i=f,(m=[{key:"toString",value:function(){return"("+this.pred+", "+this.alt+")"}}])&&Tg(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),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 xg(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(Va(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Va(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Va(p)==="symbol"?p:String(p)),s)}var p}var Ag=function(){function f(){(function(s,p){if(!(s instanceof p))throw new TypeError("Cannot call a class as a function")})(this,f),this.data={}}var i,m;return i=f,(m=[{key:"get",value:function(s){return this.data["k-"+s]||null}},{key:"set",value:function(s,p){this.data["k-"+s]=p}},{key:"values",value:function(){var s=this;return Object.keys(this.data).filter(function(p){return p.startsWith("k-")}).map(function(p){return s.data[p]},this)}}])&&xg(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}(),ki={SLL:0,LL:1,LL_EXACT_AMBIG_DETECTION:2,hasSLLConflictTerminatingPrediction:function(f,i){if(ki.allConfigsInRuleStopStates(i))return!0;if(f===ki.SLL&&i.hasSemanticContext){for(var m=new Ur,s=0;s<i.items.length;s++){var p=i.items[s];p=new fe({semanticContext:$.NONE},p),m.add(p)}i=m}var l=ki.getConflictingAltSubsets(i);return ki.hasConflictingAltSet(l)&&!ki.hasStateAssociatedWithOneAlt(i)},hasConfigInRuleStopState:function(f){for(var i=0;i<f.items.length;i++)if(f.items[i].state instanceof Ot)return!0;return!1},allConfigsInRuleStopStates:function(f){for(var i=0;i<f.items.length;i++)if(!(f.items[i].state instanceof Ot))return!1;return!0},resolvesToJustOneViableAlt:function(f){return ki.getSingleViableAlt(f)},allSubsetsConflict:function(f){return!ki.hasNonConflictingAltSet(f)},hasNonConflictingAltSet:function(f){for(var i=0;i<f.length;i++)if(f[i].length===1)return!0;return!1},hasConflictingAltSet:function(f){for(var i=0;i<f.length;i++)if(f[i].length>1)return!0;return!1},allSubsetsEqual:function(f){for(var i=null,m=0;m<f.length;m++){var s=f[m];if(i===null)i=s;else if(s!==i)return!1}return!0},getUniqueAlt:function(f){var i=ki.getAlts(f);return i.length===1?i.minValue():mn.INVALID_ALT_NUMBER},getAlts:function(f){var i=new Br;return f.map(function(m){i.or(m)}),i},getConflictingAltSubsets:function(f){var i=new Ji;return i.hashFunction=function(m){S.hashStuff(m.state.stateNumber,m.context)},i.equalsFunction=function(m,s){return m.state.stateNumber===s.state.stateNumber&&m.context.equals(s.context)},f.items.map(function(m){var s=i.get(m);s===null&&(s=new Br,i.set(m,s)),s.add(m.alt)}),i.getValues()},getStateToAltMap:function(f){var i=new Ag;return f.items.map(function(m){var s=i.get(m.state);s===null&&(s=new Br,i.set(m.state,s)),s.add(m.alt)}),i},hasStateAssociatedWithOneAlt:function(f){for(var i=ki.getStateToAltMap(f).values(),m=0;m<i.length;m++)if(i[m].length===1)return!0;return!1},getSingleViableAlt:function(f){for(var i=null,m=0;m<f.length;m++){var s=f[m].minValue();if(i===null)i=s;else if(i!==s)return mn.INVALID_ALT_NUMBER}return i}};const Kn=ki;function Ih(f){return Ih=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},Ih(f)}function Ph(f,i){return Ph=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Ph(f,i)}function Bc(f){return Bc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Bc(f)}var Uc=function(f){(function(_,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(o&&o.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),o&&Ph(_,o)})(l,f);var i,m,s,p=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,o=Bc(m);if(s){var u=Bc(this).constructor;_=Reflect.construct(o,arguments,u)}else _=o.apply(this,arguments);return function(E,A){if(A&&(Ih(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(x){if(x===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x}(E)}(this,_)});function l(_,o,u,E,A,x){var I;return function(ne,we){if(!(ne instanceof we))throw new TypeError("Cannot call a class as a function")}(this,l),x=x||_._ctx,E=E||_.getCurrentToken(),u=u||_.getCurrentToken(),o=o||_.getInputStream(),(I=p.call(this,{message:"",recognizer:_,input:o,ctx:x})).deadEndConfigs=A,I.startToken=u,I.offendingToken=E,I}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}($o);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 Cg(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(ja(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(ja(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),ja(p)==="symbol"?p:String(p)),s)}var p}var Og=function(){function f(s){(function(p,l){if(!(p instanceof l))throw new TypeError("Cannot call a class as a function")})(this,f),this.defaultMapCtor=s||Ji,this.cacheMap=new this.defaultMapCtor}var i,m;return i=f,(m=[{key:"get",value:function(s,p){var l=this.cacheMap.get(s)||null;return l===null?null:l.get(p)||null}},{key:"set",value:function(s,p,l){var _=this.cacheMap.get(s)||null;_===null&&(_=new this.defaultMapCtor,this.cacheMap.set(s,_)),_.set(p,l)}}])&&Cg(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 Dg(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(js(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(js(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),js(p)==="symbol"?p:String(p)),s)}var p}function Fh(f,i){return Fh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Fh(f,i)}function $c(f){return $c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},$c(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&&Fh(o,u)})(_,f);var i,m,s,p,l=(s=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=$c(s);if(p){var E=$c(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(A,x){if(x&&(js(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}(A)}(this,o)});function _(o,u,E,A){var x;return function(I,ne){if(!(I instanceof ne))throw new TypeError("Cannot call a class as a function")}(this,_),(x=l.call(this,u,A)).parser=o,x.decisionToDFA=E,x.predictionMode=Kn.LL,x._input=null,x._startIndex=0,x._outerContext=null,x._dfa=null,x.mergeCache=null,x.debug=!1,x.debug_closure=!1,x.debug_add=!1,x.trace_atn_sim=!1,x.dfa_debug=!1,x.retry_debug=!1,x}return i=_,m=[{key:"reset",value:function(){}},{key:"adaptivePredict",value:function(o,u,E){(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=E;var A=this.decisionToDFA[u];this._dfa=A;var x=o.mark(),I=o.index;try{var ne;if((ne=A.precedenceDfa?A.getPrecedenceStartState(this.parser.getPrecedence()):A.s0)===null){E===null&&(E=Yi.EMPTY),this.debug&&console.log("predictATN decision "+A.decision+" exec LA(1)=="+this.getLookaheadName(o)+", outerContext="+E.toString(this.parser.ruleNames));var we=this.computeStartState(A.atnStartState,Yi.EMPTY,!1);A.precedenceDfa?(A.s0.configs=we,we=this.applyPrecedenceFilter(we),ne=this.addDFAState(A,new Vo(null,we)),A.setPrecedenceStartState(this.parser.getPrecedence(),ne)):(ne=this.addDFAState(A,new Vo(null,we)),A.s0=ne)}var De=this.execATN(A,ne,o,I,E);return this.debug&&console.log("DFA after predictATN: "+A.toString(this.parser.literalNames,this.parser.symbolicNames)),De}finally{this._dfa=null,this.mergeCache=null,o.seek(I),o.release(x)}}},{key:"execATN",value:function(o,u,E,A,x){var I;(this.debug||this.trace_atn_sim)&&console.log("execATN decision "+o.decision+", DFA state "+u+", LA(1)=="+this.getLookaheadName(E)+" line "+E.LT(1).line+":"+E.LT(1).column);var ne=u;this.debug&&console.log("s0 = "+u);for(var we=E.LA(1);;){var De=this.getExistingTargetState(ne,we);if(De===null&&(De=this.computeTargetState(o,ne,we)),De===Oi.ERROR){var He=this.noViableAlt(E,x,ne.configs,A);if(E.seek(A),(I=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(ne.configs,x))!==mn.INVALID_ALT_NUMBER)return I;throw He}if(De.requiresFullContext&&this.predictionMode!==Kn.SLL){var st=null;if(De.predicates!==null){this.debug&&console.log("DFA state has preds in DFA sim LL failover");var ze=E.index;if(ze!==A&&E.seek(A),(st=this.evalSemanticContext(De.predicates,x,!0)).length===1)return this.debug&&console.log("Full LL avoided"),st.minValue();ze!==A&&E.seek(ze)}this.dfa_debug&&console.log("ctx sensitive state "+x+" in "+De);var _n=this.computeStartState(o.atnStartState,x,!0);return this.reportAttemptingFullContext(o,st,De.configs,A,E.index),this.execATNWithFullContext(o,De,_n,E,A,x)}if(De.isAcceptState){if(De.predicates===null)return De.prediction;var pn=E.index;E.seek(A);var zn=this.evalSemanticContext(De.predicates,x,!0);if(zn.length===0)throw this.noViableAlt(E,x,De.configs,A);return zn.length===1||this.reportAmbiguity(o,De,A,pn,!1,zn,De.configs),zn.minValue()}ne=De,we!==n.EOF&&(E.consume(),we=E.LA(1))}}},{key:"getExistingTargetState",value:function(o,u){var E=o.edges;return E===null?null:E[u+1]||null}},{key:"computeTargetState",value:function(o,u,E){var A=this.computeReachSet(u.configs,E,!1);if(A===null)return this.addDFAEdge(o,u,E,Oi.ERROR),Oi.ERROR;var x=new Vo(null,A),I=this.getUniqueAlt(A);if(this.debug){var ne=Kn.getConflictingAltSubsets(A);console.log("SLL altSubSets="+M(ne)+", configs="+A+", predict="+I+", allSubsetsConflict="+Kn.allSubsetsConflict(ne)+", conflictingAlts="+this.getConflictingAlts(A))}return I!==mn.INVALID_ALT_NUMBER?(x.isAcceptState=!0,x.configs.uniqueAlt=I,x.prediction=I):Kn.hasSLLConflictTerminatingPrediction(this.predictionMode,A)&&(x.configs.conflictingAlts=this.getConflictingAlts(A),x.requiresFullContext=!0,x.isAcceptState=!0,x.prediction=x.configs.conflictingAlts.minValue()),x.isAcceptState&&x.configs.hasSemanticContext&&(this.predicateDFAState(x,this.atn.getDecisionState(o.decision)),x.predicates!==null&&(x.prediction=mn.INVALID_ALT_NUMBER)),this.addDFAEdge(o,u,E,x)}},{key:"predicateDFAState",value:function(o,u){var E=u.transitions.length,A=this.getConflictingAltsOrUniqueAlt(o.configs),x=this.getPredsForAmbigAlts(A,o.configs,E);x!==null?(o.predicates=this.getPredicatePredictions(A,x),o.prediction=mn.INVALID_ALT_NUMBER):o.prediction=A.minValue()}},{key:"execATNWithFullContext",value:function(o,u,E,A,x,I){(this.debug||this.trace_atn_sim)&&console.log("execATNWithFullContext "+E);var ne,we=!1,De=E;A.seek(x);for(var He=A.LA(1),st=-1;;){if((ne=this.computeReachSet(De,He,!0))===null){var ze=this.noViableAlt(A,I,De,x);A.seek(x);var _n=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(De,I);if(_n!==mn.INVALID_ALT_NUMBER)return _n;throw ze}var pn=Kn.getConflictingAltSubsets(ne);if(this.debug&&console.log("LL altSubSets="+pn+", predict="+Kn.getUniqueAlt(pn)+", resolvesToJustOneViableAlt="+Kn.resolvesToJustOneViableAlt(pn)),ne.uniqueAlt=this.getUniqueAlt(ne),ne.uniqueAlt!==mn.INVALID_ALT_NUMBER){st=ne.uniqueAlt;break}if(this.predictionMode!==Kn.LL_EXACT_AMBIG_DETECTION){if((st=Kn.resolvesToJustOneViableAlt(pn))!==mn.INVALID_ALT_NUMBER)break}else if(Kn.allSubsetsConflict(pn)&&Kn.allSubsetsEqual(pn)){we=!0,st=Kn.getSingleViableAlt(pn);break}De=ne,He!==n.EOF&&(A.consume(),He=A.LA(1))}return ne.uniqueAlt!==mn.INVALID_ALT_NUMBER?(this.reportContextSensitivity(o,st,ne,x,A.index),st):(this.reportAmbiguity(o,u,x,A.index,we,null,ne),st)}},{key:"computeReachSet",value:function(o,u,E){this.debug&&console.log("in computeReachSet, starting closure: "+o),this.mergeCache===null&&(this.mergeCache=new Og);for(var A=new Ur(E),x=null,I=0;I<o.items.length;I++){var ne=o.items[I];if(this.debug&&console.log("testing "+this.getTokenName(u)+" at "+ne),ne.state instanceof Ot)(E||u===n.EOF)&&(x===null&&(x=[]),x.push(ne),this.debug_add&&console.log("added "+ne+" to skippedStopStates"));else for(var we=0;we<ne.state.transitions.length;we++){var De=ne.state.transitions[we],He=this.getReachableTarget(De,u);if(He!==null){var st=new fe({state:He},ne);A.add(st,this.mergeCache),this.debug_add&&console.log("added "+st+" to intermediate")}}}var ze=null;if(x===null&&u!==n.EOF&&(A.items.length===1||this.getUniqueAlt(A)!==mn.INVALID_ALT_NUMBER)&&(ze=A),ze===null){ze=new Ur(E);for(var _n=new g,pn=u===n.EOF,zn=0;zn<A.items.length;zn++)this.closure(A.items[zn],ze,_n,!1,E,pn)}if(u===n.EOF&&(ze=this.removeAllConfigsNotInRuleStopState(ze,ze===A)),!(x===null||E&&Kn.hasConfigInRuleStopState(ze)))for(var $r=0;$r<x.length;$r++)ze.add(x[$r],this.mergeCache);return this.trace_atn_sim&&console.log("computeReachSet "+o+" -> "+ze),ze.items.length===0?null:ze}},{key:"removeAllConfigsNotInRuleStopState",value:function(o,u){if(Kn.allConfigsInRuleStopStates(o))return o;for(var E=new Ur(o.fullCtx),A=0;A<o.items.length;A++){var x=o.items[A];if(x.state instanceof Ot)E.add(x,this.mergeCache);else if(u&&x.state.epsilonOnlyTransitions&&this.atn.nextTokens(x.state).contains(n.EPSILON)){var I=this.atn.ruleToStopState[x.state.ruleIndex];E.add(new fe({state:I},x),this.mergeCache)}}return E}},{key:"computeStartState",value:function(o,u,E){var A=cs(this.atn,u),x=new Ur(E);this.trace_atn_sim&&console.log("computeStartState from ATN state "+o+" initialContext="+A.toString(this.parser));for(var I=0;I<o.transitions.length;I++){var ne=o.transitions[I].target,we=new fe({state:ne,alt:I+1,context:A},null),De=new g;this.closure(we,x,De,!0,E,!1)}return x}},{key:"applyPrecedenceFilter",value:function(o){for(var u,E=[],A=new Ur(o.fullCtx),x=0;x<o.items.length;x++)if((u=o.items[x]).alt===1){var I=u.semanticContext.evalPrecedence(this.parser,this._outerContext);I!==null&&(E[u.state.stateNumber]=u.context,I!==u.semanticContext?A.add(new fe({semanticContext:I},u),this.mergeCache):A.add(u,this.mergeCache))}for(var ne=0;ne<o.items.length;ne++)if((u=o.items[ne]).alt!==1){if(!u.precedenceFilterSuppressed){var we=E[u.state.stateNumber]||null;if(we!==null&&we.equals(u.context))continue}A.add(u,this.mergeCache)}return A}},{key:"getReachableTarget",value:function(o,u){return o.matches(u,0,this.atn.maxTokenType)?o.target:null}},{key:"getPredsForAmbigAlts",value:function(o,u,E){for(var A=[],x=0;x<u.items.length;x++){var I=u.items[x];o.has(I.alt)&&(A[I.alt]=$.orContext(A[I.alt]||null,I.semanticContext))}for(var ne=0,we=1;we<E+1;we++){var De=A[we]||null;De===null?A[we]=$.NONE:De!==$.NONE&&(ne+=1)}return ne===0&&(A=null),this.debug&&console.log("getPredsForAmbigAlts result "+M(A)),A}},{key:"getPredicatePredictions",value:function(o,u){for(var E=[],A=!1,x=1;x<u.length;x++){var I=u[x];o!==null&&o.has(x)&&E.push(new Lm(I,x)),I!==$.NONE&&(A=!0)}return A?E:null}},{key:"getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule",value:function(o,u){var E=this.splitAccordingToSemanticValidity(o,u),A=E[0],x=E[1],I=this.getAltThatFinishedDecisionEntryRule(A);return I!==mn.INVALID_ALT_NUMBER||x.items.length>0&&(I=this.getAltThatFinishedDecisionEntryRule(x))!==mn.INVALID_ALT_NUMBER?I:mn.INVALID_ALT_NUMBER}},{key:"getAltThatFinishedDecisionEntryRule",value:function(o){for(var u=[],E=0;E<o.items.length;E++){var A=o.items[E];(A.reachesIntoOuterContext>0||A.state instanceof Ot&&A.context.hasEmptyPath())&&u.indexOf(A.alt)<0&&u.push(A.alt)}return u.length===0?mn.INVALID_ALT_NUMBER:Math.min.apply(null,u)}},{key:"splitAccordingToSemanticValidity",value:function(o,u){for(var E=new Ur(o.fullCtx),A=new Ur(o.fullCtx),x=0;x<o.items.length;x++){var I=o.items[x];I.semanticContext!==$.NONE?I.semanticContext.evaluate(this.parser,u)?E.add(I):A.add(I):E.add(I)}return[E,A]}},{key:"evalSemanticContext",value:function(o,u,E){for(var A=new Br,x=0;x<o.length;x++){var I=o[x];if(I.pred!==$.NONE){var ne=I.pred.evaluate(this.parser,u);if((this.debug||this.dfa_debug)&&console.log("eval pred "+I+"="+ne),ne&&((this.debug||this.dfa_debug)&&console.log("PREDICT "+I.alt),A.add(I.alt),!E))break}else if(A.add(I.alt),!E)break}return A}},{key:"closure",value:function(o,u,E,A,x,I){this.closureCheckingStopState(o,u,E,A,x,0,I)}},{key:"closureCheckingStopState",value:function(o,u,E,A,x,I,ne){if((this.trace_atn_sim||this.debug_closure)&&console.log("closure("+o.toString(this.parser,!0)+")"),o.state instanceof Ot){if(!o.context.isEmpty()){for(var we=0;we<o.context.length;we++)if(o.context.getReturnState(we)!==it.EMPTY_RETURN_STATE){var De=this.atn.states[o.context.getReturnState(we)],He=o.context.getParent(we),st={state:De,alt:o.alt,context:He,semanticContext:o.semanticContext},ze=new fe(st,null);ze.reachesIntoOuterContext=o.reachesIntoOuterContext,this.closureCheckingStopState(ze,u,E,A,x,I-1,ne)}else{if(x){u.add(new fe({state:o.state,context:it.EMPTY},o),this.mergeCache);continue}this.debug&&console.log("FALLING off rule "+this.getRuleName(o.state.ruleIndex)),this.closure_(o,u,E,A,x,I,ne)}return}if(x)return void u.add(o,this.mergeCache);this.debug&&console.log("FALLING off rule "+this.getRuleName(o.state.ruleIndex))}this.closure_(o,u,E,A,x,I,ne)}},{key:"closure_",value:function(o,u,E,A,x,I,ne){var we=o.state;we.epsilonOnlyTransitions||u.add(o,this.mergeCache);for(var De=0;De<we.transitions.length;De++)if(De!==0||!this.canDropLoopEntryEdgeInLeftRecursiveRule(o)){var He=we.transitions[De],st=A&&!(He instanceof mm),ze=this.getEpsilonTarget(o,He,st,I===0,x,ne);if(ze!==null){var _n=I;if(o.state instanceof Ot){if(this._dfa!==null&&this._dfa.precedenceDfa&&He.outermostPrecedenceReturn===this._dfa.atnStartState.ruleIndex&&(ze.precedenceFilterSuppressed=!0),ze.reachesIntoOuterContext+=1,E.add(ze)!==ze)continue;u.dipsIntoOuterContext=!0,_n-=1,this.debug&&console.log("dips into outer ctx: "+ze)}else{if(!He.isEpsilon&&E.add(ze)!==ze)continue;He instanceof Qt&&_n>=0&&(_n+=1)}this.closureCheckingStopState(ze,u,E,st,x,_n,ne)}}}},{key:"canDropLoopEntryEdgeInLeftRecursiveRule",value:function(o){var u=o.state;if(u.stateType!==be.STAR_LOOP_ENTRY||u.stateType!==be.STAR_LOOP_ENTRY||!u.isPrecedenceDecision||o.context.isEmpty()||o.context.hasEmptyPath())return!1;for(var E=o.context.length,A=0;A<E;A++)if(this.atn.states[o.context.getReturnState(A)].ruleIndex!==u.ruleIndex)return!1;for(var x=u.transitions[0].target.endState.stateNumber,I=this.atn.states[x],ne=0;ne<E;ne++){var we=o.context.getReturnState(ne),De=this.atn.states[we];if(De.transitions.length!==1||!De.transitions[0].isEpsilon)return!1;var He=De.transitions[0].target;if(!(De.stateType===be.BLOCK_END&&He===u||De===I||He===I||He.stateType===be.BLOCK_END&&He.transitions.length===1&&He.transitions[0].isEpsilon&&He.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,E,A,x,I){switch(u.serializationType){case me.RULE:return this.ruleTransition(o,u);case me.PRECEDENCE:return this.precedenceTransition(o,u,E,A,x);case me.PREDICATE:return this.predTransition(o,u,E,A,x);case me.ACTION:return this.actionTransition(o,u);case me.EPSILON:return new fe({state:u.target},o);case me.ATOM:case me.RANGE:case me.SET:return I&&u.matches(n.EOF,0,1)?new fe({state:u.target},o):null;default:return null}}},{key:"actionTransition",value:function(o,u){if(this.debug){var E=u.actionIndex===-1?65535:u.actionIndex;console.log("ACTION edge "+u.ruleIndex+":"+E)}return new fe({state:u.target},o)}},{key:"precedenceTransition",value:function(o,u,E,A,x){this.debug&&(console.log("PRED (collectPredicates="+E+") "+u.precedence+">=_p, ctx dependent=true"),this.parser!==null&&console.log("context surrounding pred is "+M(this.parser.getRuleInvocationStack())));var I=null;if(E&&A)if(x){var ne=this._input.index;this._input.seek(this._startIndex);var we=u.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(ne),we&&(I=new fe({state:u.target},o))}else{var De=$.andContext(o.semanticContext,u.getPredicate());I=new fe({state:u.target,semanticContext:De},o)}else I=new fe({state:u.target},o);return this.debug&&console.log("config from pred transition="+I),I}},{key:"predTransition",value:function(o,u,E,A,x){this.debug&&(console.log("PRED (collectPredicates="+E+") "+u.ruleIndex+":"+u.predIndex+", ctx dependent="+u.isCtxDependent),this.parser!==null&&console.log("context surrounding pred is "+M(this.parser.getRuleInvocationStack())));var I=null;if(E&&(u.isCtxDependent&&A||!u.isCtxDependent))if(x){var ne=this._input.index;this._input.seek(this._startIndex);var we=u.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(ne),we&&(I=new fe({state:u.target},o))}else{var De=$.andContext(o.semanticContext,u.getPredicate());I=new fe({state:u.target,semanticContext:De},o)}else I=new fe({state:u.target},o);return this.debug&&console.log("config from pred transition="+I),I}},{key:"ruleTransition",value:function(o,u){this.debug&&console.log("CALL rule "+this.getRuleName(u.target.ruleIndex)+", ctx="+o.context);var E=u.followState,A=ct.create(o.context,E.stateNumber);return new fe({state:u.target,context:A},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!==mn.INVALID_ALT_NUMBER?(u=new Br).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(),E=0;E<u.length;E++){var A=u[E],x="no edges";if(A.state.transitions.length>0){var I=A.state.transitions[0];I instanceof qf?x="Atom "+this.getTokenName(I.label):I instanceof Ai&&(x=(I instanceof on?"~":"")+"Set "+I.set)}console.error(A.toString(this.parser,!0)+":"+x)}}},{key:"noViableAlt",value:function(o,u,E,A){return new Uc(this.parser,o,o.get(A),o.LT(1),E,u)}},{key:"getUniqueAlt",value:function(o){for(var u=mn.INVALID_ALT_NUMBER,E=0;E<o.items.length;E++){var A=o.items[E];if(u===mn.INVALID_ALT_NUMBER)u=A.alt;else if(A.alt!==u)return mn.INVALID_ALT_NUMBER}return u}},{key:"addDFAEdge",value:function(o,u,E,A){if(this.debug&&console.log("EDGE "+u+" -> "+A+" upon "+this.getTokenName(E)),A===null)return null;if(A=this.addDFAState(o,A),u===null||E<-1||E>this.atn.maxTokenType)return A;if(u.edges===null&&(u.edges=[]),u.edges[E+1]=A,this.debug){var x=this.parser===null?null:this.parser.literalNames,I=this.parser===null?null:this.parser.symbolicNames;console.log(`DFA=
8
+ `+o.toString(x,I))}return A}},{key:"addDFAState",value:function(o,u){if(u===Oi.ERROR)return u;var E=o.states.get(u);return E!==null?(this.trace_atn_sim&&console.log("addDFAState "+u+" exists"),E):(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,E,A,x){if(this.debug||this.retry_debug){var I=new ve(A,x+1);console.log("reportAttemptingFullContext decision="+o.decision+":"+E+", input="+this.parser.getTokenStream().getText(I))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportAttemptingFullContext(this.parser,o,A,x,u,E)}},{key:"reportContextSensitivity",value:function(o,u,E,A,x){if(this.debug||this.retry_debug){var I=new ve(A,x+1);console.log("reportContextSensitivity decision="+o.decision+":"+E+", input="+this.parser.getTokenStream().getText(I))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportContextSensitivity(this.parser,o,A,x,u,E)}},{key:"reportAmbiguity",value:function(o,u,E,A,x,I,ne){if(this.debug||this.retry_debug){var we=new ve(E,A+1);console.log("reportAmbiguity "+I+":"+ne+", input="+this.parser.getTokenStream().getText(we))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportAmbiguity(this.parser,o,E,A,x,I,ne)}}],m&&Dg(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),_}(Oi);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 kg(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(Ha(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ha(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ha(p)==="symbol"?p:String(p)),s)}var p}var Bm=function(){function f(){(function(s,p){if(!(s instanceof p))throw new TypeError("Cannot call a class as a function")})(this,f),this.cache=new Ji}var i,m;return i=f,(m=[{key:"add",value:function(s){if(s===it.EMPTY)return it.EMPTY;var p=this.cache.get(s)||null;return p!==null?p:(this.cache.set(s,s),s)}},{key:"get",value:function(s){return this.cache.get(s)||null}},{key:"length",get:function(){return this.cache.length}}])&&kg(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();const wg={ATN:mn,ATNDeserializer:dh,LexerATNSimulator:Vs,ParserATNSimulator:Mm,PredictionMode:Kn,PredictionContextCache:Bm};function Ga(f){return Ga=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},Ga(f)}function Rg(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(Ga(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ga(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ga(p)==="symbol"?p:String(p)),s)}var p}var Lh=function(){function f(s,p,l){(function(_,o){if(!(_ instanceof o))throw new TypeError("Cannot call a class as a function")})(this,f),this.dfa=s,this.literalNames=p||[],this.symbolicNames=l||[]}var i,m;return i=f,(m=[{key:"toString",value:function(){if(this.dfa.s0===null)return null;for(var s="",p=this.dfa.sortedStates(),l=0;l<p.length;l++){var _=p[l];if(_.edges!==null)for(var o=_.edges.length,u=0;u<o;u++){var E=_.edges[u]||null;E!==null&&E.stateNumber!==2147483647&&(s=(s=(s=(s=(s=(s=s.concat(this.getStateString(_))).concat("-")).concat(this.getEdgeLabel(u))).concat("->")).concat(this.getStateString(E))).concat(`
9
+ `))}}return s.length===0?null:s}},{key:"getEdgeLabel",value:function(s){return s===0?"EOF":this.literalNames!==null||this.symbolicNames!==null?this.literalNames[s-1]||this.symbolicNames[s-1]:String.fromCharCode(s-1)}},{key:"getStateString",value:function(s){var p=(s.isAcceptState?":":"")+"s"+s.stateNumber+(s.requiresFullContext?"^":"");return s.isAcceptState?s.predicates!==null?p+"=>"+M(s.predicates):p+"=>"+s.prediction.toString():p}}])&&Rg(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();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 Ng(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(Hs(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Hs(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Hs(p)==="symbol"?p:String(p)),s)}var p}function Mh(f,i){return Mh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Mh(f,i)}function Vc(f){return Vc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Vc(f)}var Um=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)})(_,f);var i,m,s,p,l=(s=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Vc(s);if(p){var E=Vc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(A,x){if(x&&(Hs(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}(A)}(this,o)});function _(o){return function(u,E){if(!(u instanceof E))throw new TypeError("Cannot call a class as a function")}(this,_),l.call(this,o,null)}return i=_,(m=[{key:"getEdgeLabel",value:function(o){return"'"+String.fromCharCode(o)+"'"}}])&&Ng(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),_}(Lh);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 Ig(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(Ka(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ka(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ka(p)==="symbol"?p:String(p)),s)}var p}var $m=function(){function f(s,p){if(function(_,o){if(!(_ instanceof o))throw new TypeError("Cannot call a class as a function")}(this,f),p===void 0&&(p=0),this.atnStartState=s,this.decision=p,this._states=new g,this.s0=null,this.precedenceDfa=!1,s instanceof Uo&&s.isPrecedenceDecision){this.precedenceDfa=!0;var l=new Vo(null,new Ur);l.edges=[],l.isAcceptState=!1,l.requiresFullContext=!1,this.s0=l}}var i,m;return i=f,(m=[{key:"getPrecedenceStartState",value:function(s){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";return s<0||s>=this.s0.edges.length?null:this.s0.edges[s]||null}},{key:"setPrecedenceStartState",value:function(s,p){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";s<0||(this.s0.edges[s]=p)}},{key:"setPrecedenceDfa",value:function(s){if(this.precedenceDfa!==s){if(this._states=new g,s){var p=new Vo(null,new Ur);p.edges=[],p.isAcceptState=!1,p.requiresFullContext=!1,this.s0=p}else this.s0=null;this.precedenceDfa=s}}},{key:"sortedStates",value:function(){return this._states.values().sort(function(s,p){return s.stateNumber-p.stateNumber})}},{key:"toString",value:function(s,p){return s=s||null,p=p||null,this.s0===null?"":new Lh(this,s,p).toString()}},{key:"toLexerString",value:function(){return this.s0===null?"":new Um(this).toString()}},{key:"states",get:function(){return this._states}}])&&Ig(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();const Pg={DFA:$m,DFASerializer:Lh,LexerDFASerializer:Um,PredPrediction:Lm},Fg={PredictionContext:it},Lg={Interval:ve,IntervalSet:ie};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 Mg(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(za(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(za(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),za(p)==="symbol"?p:String(p)),s)}var p}var Bh=function(){function f(){(function(s,p){if(!(s instanceof p))throw new TypeError("Cannot call a class as a function")})(this,f)}var i,m;return i=f,(m=[{key:"visitTerminal",value:function(s){}},{key:"visitErrorNode",value:function(s){}},{key:"enterEveryRule",value:function(s){}},{key:"exitEveryRule",value:function(s){}}])&&Mg(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();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 Bg(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(Wa(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Wa(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Wa(p)==="symbol"?p:String(p)),s)}var p}var Vm=function(){function f(){(function(s,p){if(!(s instanceof p))throw new TypeError("Cannot call a class as a function")})(this,f)}var i,m;return i=f,(m=[{key:"visit",value:function(s){return Array.isArray(s)?s.map(function(p){return p.accept(this)},this):s.accept(this)}},{key:"visitChildren",value:function(s){return s.children?this.visit(s.children):null}},{key:"visitTerminal",value:function(s){}},{key:"visitErrorNode",value:function(s){}}])&&Bg(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 Ug(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(Xa(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Xa(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Xa(p)==="symbol"?p:String(p)),s)}var p}var jc=function(){function f(){(function(s,p){if(!(s instanceof p))throw new TypeError("Cannot call a class as a function")})(this,f)}var i,m;return i=f,(m=[{key:"walk",value:function(s,p){if(p instanceof Xr||p.isErrorNode!==void 0&&p.isErrorNode())s.visitErrorNode(p);else if(p instanceof sn)s.visitTerminal(p);else{this.enterRule(s,p);for(var l=0;l<p.getChildCount();l++){var _=p.getChild(l);this.walk(s,_)}this.exitRule(s,p)}}},{key:"enterRule",value:function(s,p){var l=p.ruleContext;s.enterEveryRule(l),l.enterRule(s)}},{key:"exitRule",value:function(s,p){var l=p.ruleContext;l.exitRule(s),s.exitEveryRule(l)}}])&&Ug(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();jc.DEFAULT=new jc;const $g={Trees:qu,RuleNode:Fe,ErrorNode:Xr,TerminalNode:sn,ParseTreeListener:Bh,ParseTreeVisitor:Vm,ParseTreeWalker:jc};function Uh(f){return Uh=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},Uh(f)}function $h(f,i){return $h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},$h(f,i)}function Hc(f){return Hc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Hc(f)}var qa=function(f){(function(_,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(o&&o.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),o&&$h(_,o)})(l,f);var i,m,s,p=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,o=Hc(m);if(s){var u=Hc(this).constructor;_=Reflect.construct(o,arguments,u)}else _=o.apply(this,arguments);return function(E,A){if(A&&(Uh(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(x){if(x===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x}(E)}(this,_)});function l(_){var o;return function(u,E){if(!(u instanceof E))throw new TypeError("Cannot call a class as a function")}(this,l),(o=p.call(this,{message:"",recognizer:_,input:_.getInputStream(),ctx:_._ctx})).offendingToken=_.getCurrentToken(),o}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}($o);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 jh(f,i){return jh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},jh(f,i)}function Gc(f){return Gc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Gc(f)}var Hh=function(f){(function(_,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(o&&o.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),o&&jh(_,o)})(l,f);var i,m,s,p=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,o=Gc(m);if(s){var u=Gc(this).constructor;_=Reflect.construct(o,arguments,u)}else _=o.apply(this,arguments);return function(E,A){if(A&&(Vh(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(x){if(x===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x}(E)}(this,_)});function l(_,o,u){var E;(function(x,I){if(!(x instanceof I))throw new TypeError("Cannot call a class as a function")})(this,l),E=p.call(this,{message:Vg(o,u||null),recognizer:_,input:_.getInputStream(),ctx:_._ctx});var A=_._interp.atn.states[_.state].transitions[0];return A instanceof ym?(E.ruleIndex=A.ruleIndex,E.predicateIndex=A.predIndex):(E.ruleIndex=0,E.predicateIndex=0),E.predicate=o,E.offendingToken=_.getCurrentToken(),E}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}($o);function Vg(f,i){return i!==null?i:"failed predicate: {"+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 jg(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(Gs(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Gs(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Gs(p)==="symbol"?p:String(p)),s)}var p}function Gh(f,i){return Gh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Gh(f,i)}function Kc(f){return Kc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Kc(f)}var jm=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Gh(o,u)})(_,f);var i,m,s,p,l=(s=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Kc(s);if(p){var E=Kc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(A,x){if(x&&(Gs(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}(A)}(this,o)});function _(o){var u;return function(E,A){if(!(E instanceof A))throw new TypeError("Cannot call a class as a function")}(this,_),o=o||!0,(u=l.call(this)).exactOnly=o,u}return i=_,m=[{key:"reportAmbiguity",value:function(o,u,E,A,x,I,ne){if(!this.exactOnly||x){var we="reportAmbiguity d="+this.getDecisionDescription(o,u)+": ambigAlts="+this.getConflictingAlts(I,ne)+", input='"+o.getTokenStream().getText(new ve(E,A))+"'";o.notifyErrorListeners(we)}}},{key:"reportAttemptingFullContext",value:function(o,u,E,A,x,I){var ne="reportAttemptingFullContext d="+this.getDecisionDescription(o,u)+", input='"+o.getTokenStream().getText(new ve(E,A))+"'";o.notifyErrorListeners(ne)}},{key:"reportContextSensitivity",value:function(o,u,E,A,x,I){var ne="reportContextSensitivity d="+this.getDecisionDescription(o,u)+", input='"+o.getTokenStream().getText(new ve(E,A))+"'";o.notifyErrorListeners(ne)}},{key:"getDecisionDescription",value:function(o,u){var E=u.decision,A=u.atnStartState.ruleIndex,x=o.ruleNames;if(A<0||A>=x.length)return""+E;var I=x[A]||null;return I===null||I.length===0?""+E:"".concat(E," (").concat(I,")")}},{key:"getConflictingAlts",value:function(o,u){if(o!==null)return o;for(var E=new Br,A=0;A<u.items.length;A++)E.add(u.items[A].alt);return"{".concat(E.values().join(", "),"}")}}],m&&jg(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),_}(Ra);function Kh(f){return Kh=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},Kh(f)}function Hm(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function zh(f){var i=typeof Map=="function"?new Map:void 0;return zh=function(m){if(m===null||(s=m,Function.toString.call(s).indexOf("[native code]")===-1))return m;var s;if(typeof m!="function")throw new TypeError("Super expression must either be null or a function");if(i!==void 0){if(i.has(m))return i.get(m);i.set(m,p)}function p(){return Wh(m,arguments,Ja(this).constructor)}return p.prototype=Object.create(m.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}),Ya(p,m)},zh(f)}function Wh(f,i,m){return Wh=Gm()?Reflect.construct.bind():function(s,p,l){var _=[null];_.push.apply(_,p);var o=new(Function.bind.apply(s,_));return l&&Ya(o,l.prototype),o},Wh.apply(null,arguments)}function Gm(){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 Ya(f,i){return Ya=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Ya(f,i)}function Ja(f){return Ja=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Ja(f)}var Hg=function(f){(function(_,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(o&&o.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),o&&Ya(_,o)})(l,f);var i,m,s,p=(m=l,s=Gm(),function(){var _,o=Ja(m);if(s){var u=Ja(this).constructor;_=Reflect.construct(o,arguments,u)}else _=o.apply(this,arguments);return function(E,A){if(A&&(Kh(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Hm(E)}(this,_)});function l(){var _;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,l),_=p.call(this),Error.captureStackTrace(Hm(_),l),_}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(zh(Error));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 Gg(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(Za(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Za(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Za(p)==="symbol"?p:String(p)),s)}var p}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 Kg(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(Ks(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ks(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ks(p)==="symbol"?p:String(p)),s)}var p}function Xh(f,i){return Xh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Xh(f,i)}function zc(f){return zc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},zc(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&&Xh(o,u)})(_,f);var i,m,s,p,l=(s=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=zc(s);if(p){var E=zc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(A,x){if(x&&(Ks(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}(A)}(this,o)});function _(){var o;return function(u,E){if(!(u instanceof E))throw new TypeError("Cannot call a class as a function")}(this,_),(o=l.call(this)).errorRecoveryMode=!1,o.lastErrorIndex=-1,o.lastErrorStates=null,o.nextTokensContext=null,o.nextTokenState=0,o}return i=_,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 Uc?this.reportNoViableAlternative(o,u):u instanceof qa?this.reportInputMismatch(o,u):u instanceof Hh?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 E=this.getErrorRecoverySet(o);this.consumeUntil(o,E)}},{key:"sync",value:function(o){if(!this.inErrorRecoveryMode(o)){var u=o._interp.atn.states[o.state],E=o.getTokenStream().LA(1),A=o.atn.nextTokens(u);if(A.contains(E))return this.nextTokensContext=null,void(this.nextTokenState=be.INVALID_STATE_NUMBER);if(A.contains(n.EPSILON))this.nextTokensContext===null&&(this.nextTokensContext=o._ctx,this.nextTokensState=o._stateNumber);else switch(u.stateType){case be.BLOCK_START:case be.STAR_BLOCK_START:case be.PLUS_BLOCK_START:case be.STAR_LOOP_ENTRY:if(this.singleTokenDeletion(o)!==null)return;throw new qa(o);case be.PLUS_LOOP_BACK:case be.STAR_LOOP_BACK:this.reportUnwantedToken(o);var x=new ie;x.addSet(o.getExpectedTokens());var I=x.addSet(this.getErrorRecoverySet(o));this.consumeUntil(o,I)}}}},{key:"reportNoViableAlternative",value:function(o,u){var E,A=o.getTokenStream();E=A!==null?u.startToken.type===n.EOF?"<EOF>":A.getText(new ve(u.startToken.tokenIndex,u.offendingToken.tokenIndex)):"<unknown input>";var x="no viable alternative at input "+this.escapeWSAndQuote(E);o.notifyErrorListeners(x,u.offendingToken,u)}},{key:"reportInputMismatch",value:function(o,u){var E="mismatched input "+this.getTokenErrorDisplay(u.offendingToken)+" expecting "+u.getExpectedTokens().toString(o.literalNames,o.symbolicNames);o.notifyErrorListeners(E,u.offendingToken,u)}},{key:"reportFailedPredicate",value:function(o,u){var E="rule "+o.ruleNames[o._ctx.ruleIndex]+" "+u.message;o.notifyErrorListeners(E,u.offendingToken,u)}},{key:"reportUnwantedToken",value:function(o){if(!this.inErrorRecoveryMode(o)){this.beginErrorCondition(o);var u=o.getCurrentToken(),E="extraneous input "+this.getTokenErrorDisplay(u)+" expecting "+this.getExpectedTokens(o).toString(o.literalNames,o.symbolicNames);o.notifyErrorListeners(E,u,null)}}},{key:"reportMissingToken",value:function(o){if(!this.inErrorRecoveryMode(o)){this.beginErrorCondition(o);var u=o.getCurrentToken(),E="missing "+this.getExpectedTokens(o).toString(o.literalNames,o.symbolicNames)+" at "+this.getTokenErrorDisplay(u);o.notifyErrorListeners(E,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 qa(o)}},{key:"singleTokenInsertion",value:function(o){var u=o.getTokenStream().LA(1),E=o._interp.atn,A=E.states[o.state].transitions[0].target;return!!E.nextTokens(A,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 E=o.getCurrentToken();return this.reportMatch(o),E}return null}},{key:"getMissingSymbol",value:function(o){var u,E=o.getCurrentToken(),A=this.getExpectedTokens(o).first();u=A===n.EOF?"<missing EOF>":"<missing "+o.literalNames[A]+">";var x=E,I=o.getTokenStream().LT(-1);return x.type===n.EOF&&I!==null&&(x=I),o.getTokenFactory().create(x.source,A,u,n.DEFAULT_CHANNEL,-1,-1,x.line,x.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,E=o._ctx,A=new ie;E!==null&&E.invokingState>=0;){var x=u.states[E.invokingState].transitions[0],I=u.nextTokens(x.followState);A.addSet(I),E=E.parentCtx}return A.removeOne(n.EPSILON),A}},{key:"consumeUntil",value:function(o,u){for(var E=o.getTokenStream().LA(1);E!==n.EOF&&!u.contains(E);)o.consume(),E=o.getTokenStream().LA(1)}}],m&&Kg(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),_}(function(){function f(){(function(s,p){if(!(s instanceof p))throw new TypeError("Cannot call a class as a function")})(this,f)}var i,m;return i=f,(m=[{key:"reset",value:function(s){}},{key:"recoverInline",value:function(s){}},{key:"recover",value:function(s,p){}},{key:"sync",value:function(s){}},{key:"inErrorRecoveryMode",value:function(s){}},{key:"reportError",value:function(s){}}])&&Gg(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}());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 zg(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(zs(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(zs(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),zs(p)==="symbol"?p:String(p)),s)}var p}function Yh(f,i){return Yh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Yh(f,i)}function Wc(f){return Wc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Wc(f)}var Km=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Yh(o,u)})(_,f);var i,m,s,p,l=(s=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Wc(s);if(p){var E=Wc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(A,x){if(x&&(zs(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}(A)}(this,o)});function _(){return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,_),l.call(this)}return i=_,m=[{key:"recover",value:function(o,u){for(var E=o._ctx;E!==null;)E.exception=u,E=E.parentCtx;throw new Hg(u)}},{key:"recoverInline",value:function(o){this.recover(o,new qa(o))}},{key:"sync",value:function(o){}}],m&&zg(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),_}(qh);const Wg={RecognitionException:$o,NoViableAltException:Uc,LexerNoViableAltException:xh,InputMismatchException:qa,FailedPredicateException:Hh,DiagnosticErrorListener:jm,BailErrorStrategy:Km,DefaultErrorStrategy:qh,ErrorListener:Ra};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 Xg(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(Qa(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Qa(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Qa(p)==="symbol"?p:String(p)),s)}var p}var eu=function(){function f(s,p){if(function(u,E){if(!(u instanceof E))throw new TypeError("Cannot call a class as a function")}(this,f),this.name="<empty>",this.strdata=s,this.decodeToUnicodeCodePoints=p||!1,this._index=0,this.data=[],this.decodeToUnicodeCodePoints)for(var l=0;l<this.strdata.length;){var _=this.strdata.codePointAt(l);this.data.push(_),l+=_<=65535?1:2}else{this.data=new Array(this.strdata.length);for(var o=0;o<this.strdata.length;o++)this.data[o]=this.strdata.charCodeAt(o)}this._size=this.data.length}var i,m;return i=f,(m=[{key:"reset",value:function(){this._index=0}},{key:"consume",value:function(){if(this._index>=this._size)throw"cannot consume EOF";this._index+=1}},{key:"LA",value:function(s){if(s===0)return 0;s<0&&(s+=1);var p=this._index+s-1;return p<0||p>=this._size?n.EOF:this.data[p]}},{key:"LT",value:function(s){return this.LA(s)}},{key:"mark",value:function(){return-1}},{key:"release",value:function(s){}},{key:"seek",value:function(s){s<=this._index?this._index=s:this._index=Math.min(s,this._size)}},{key:"getText",value:function(s,p){if(p>=this._size&&(p=this._size-1),s>=this._size)return"";if(this.decodeToUnicodeCodePoints){for(var l="",_=s;_<=p;_++)l+=String.fromCodePoint(this.data[_]);return l}return this.strdata.slice(s,p+1)}},{key:"toString",value:function(){return this.strdata}},{key:"index",get:function(){return this._index}},{key:"size",get:function(){return this._size}}])&&Xg(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),f}();function Jh(f){return Jh=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},Jh(f)}function Zh(f,i){return Zh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Zh(f,i)}function Xc(f){return Xc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Xc(f)}var tu=function(f){(function(_,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(o&&o.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),o&&Zh(_,o)})(l,f);var i,m,s,p=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,o=Xc(m);if(s){var u=Xc(this).constructor;_=Reflect.construct(o,arguments,u)}else _=o.apply(this,arguments);return function(E,A){if(A&&(Jh(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(x){if(x===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x}(E)}(this,_)});function l(_,o){return function(u,E){if(!(u instanceof E))throw new TypeError("Cannot call a class as a function")}(this,l),p.call(this,_,o)}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(eu),zm=Or(92);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 qg(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(Ws(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ws(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ws(p)==="symbol"?p:String(p)),s)}var p}function Qh(f,i){return Qh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Qh(f,i)}function qc(f){return qc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},qc(f)}var Wm=typeof process<"u"&&process.versions!=null&&process.versions.node!=null,Xm=function(f){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Qh(o,u)})(_,f);var i,m,s,p,l=(s=_,p=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(s);if(p){var E=qc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(A,x){if(x&&(Ws(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}(A)}(this,o)});function _(o,u,E){var A;if(function(I,ne){if(!(I instanceof ne))throw new TypeError("Cannot call a class as a function")}(this,_),!Wm)throw new Error("FileStream is only available when running in Node!");var x=zm.readFileSync(o,u||"utf-8");return(A=l.call(this,x,E)).fileName=o,A}return i=_,m=[{key:"fromPath",value:function(o,u,E){if(!Wm)throw new Error("FileStream is only available when running in Node!");zm.readFile(o,u,function(A,x){var I=null;x!==null&&(I=new eu(x,!0)),E(A,I)})}}],m&&qg(i,m),Object.defineProperty(i,"prototype",{writable:!1}),_}(tu);const qm={fromString:function(f){return new eu(f,!0)},fromBlob:function(f,i,m,s){var p=new window.FileReader;p.onload=function(l){var _=new eu(l.target.result,!0);m(_)},p.onerror=s,p.readAsText(f,i)},fromBuffer:function(f,i){return new eu(f.toString(i),!0)},fromPath:function(f,i,m){Xm.fromPath(f,i,m)},fromPathSync:function(f,i){return new Xm(f,i)}},Yg={arrayToString:M,stringToCharArray:function(f){for(var i=new Uint16Array(f.length),m=0;m<f.length;m++)i[m]=f.charCodeAt(m);return i}};function nu(f){return nu=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},nu(f)}function Ym(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(nu(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(nu(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),nu(p)==="symbol"?p:String(p)),s)}var p}function Jg(f,i,m){return i&&Ym(f.prototype,i),m&&Ym(f,m),Object.defineProperty(f,"prototype",{writable:!1}),f}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 Zg(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(Xs(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Xs(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Xs(p)==="symbol"?p:String(p)),s)}var p}function ep(f,i){return ep=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},ep(f,i)}function Yc(f){return Yc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Yc(f)}var Jm=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&&ep(o,u)})(_,f);var i,m,s,p,l=(s=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Yc(s);if(p){var E=Yc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(A,x){if(x&&(Xs(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}(A)}(this,o)});function _(o){var u;return function(E,A){if(!(E instanceof A))throw new TypeError("Cannot call a class as a function")}(this,_),(u=l.call(this)).tokenSource=o,u.tokens=[],u.index=-1,u.fetchedEOF=!1,u}return i=_,(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 E=this.tokenSource.nextToken();if(E.tokenIndex=this.tokens.length,this.tokens.push(E),E.type===n.EOF)return this.fetchedEOF=!0,u+1}return o}},{key:"getTokens",value:function(o,u,E){if(E===void 0&&(E=null),o<0||u<0)return null;this.lazyInit();var A=[];u>=this.tokens.length&&(u=this.tokens.length-1);for(var x=o;x<u;x++){var I=this.tokens[x];if(I.type===n.EOF)break;(E===null||E.contains(I.type))&&A.push(I)}return A}},{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 E=this.tokens[o];E.channel!==this.channel;){if(E.type===n.EOF)return-1;o+=1,this.sync(o),E=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 E=this.nextTokenOnChannel(o+1,sr.DEFAULT_TOKEN_CHANNEL),A=o+1,x=E===-1?this.tokens.length-1:E;return this.filterForChannel(A,x,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 E=this.previousTokenOnChannel(o-1,sr.DEFAULT_TOKEN_CHANNEL);if(E===o-1)return null;var A=E+1,x=o-1;return this.filterForChannel(A,x,u)}},{key:"filterForChannel",value:function(o,u,E){for(var A=[],x=o;x<u+1;x++){var I=this.tokens[x];E===-1?I.channel!==sr.DEFAULT_TOKEN_CHANNEL&&A.push(I):I.channel===E&&A.push(I)}return A.length===0?null:A}},{key:"getSourceName",value:function(){return this.tokenSource.getSourceName()}},{key:"getText",value:function(o){this.lazyInit(),this.fill(),o||(o=new ve(0,this.tokens.length-1));var u=o.start;u instanceof n&&(u=u.tokenIndex);var E=o.stop;if(E instanceof n&&(E=E.tokenIndex),u===null||E===null||u<0||E<0)return"";E>=this.tokens.length&&(E=this.tokens.length-1);for(var A="",x=u;x<E+1;x++){var I=this.tokens[x];if(I.type===n.EOF)break;A+=I.text}return A}},{key:"fill",value:function(){for(this.lazyInit();this.fetch(1e3)===1e3;);}}])&&Zg(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),_}(Jg(function f(){(function(i,m){if(!(i instanceof m))throw new TypeError("Cannot call a class as a function")})(this,f)}));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 Qg(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(qs(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(qs(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),qs(p)==="symbol"?p:String(p)),s)}var p}function tp(f,i){return tp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},tp(f,i)}function Jc(f){return Jc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Jc(f)}Object.defineProperty(Jm,"size",{get:function(){return this.tokens.length}});var Zm=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&&tp(o,u)})(_,f);var i,m,s,p,l=(s=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Jc(s);if(p){var E=Jc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(A,x){if(x&&(qs(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}(A)}(this,o)});function _(o,u){var E;return function(A,x){if(!(A instanceof x))throw new TypeError("Cannot call a class as a function")}(this,_),(E=l.call(this,o)).channel=u===void 0?n.DEFAULT_CHANNEL:u,E}return i=_,(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,E=1;E<=o;)u=this.previousTokenOnChannel(u-1,this.channel),E+=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,E=1;E<o;)this.sync(u+1)&&(u=this.nextTokenOnChannel(u+1,this.channel)),E+=1;return this.tokens[u]}},{key:"getNumberOfOnChannelTokens",value:function(){var o=0;this.fill();for(var u=0;u<this.tokens.length;u++){var E=this.tokens[u];if(E.channel===this.channel&&(o+=1),E.type===n.EOF)break}return o}}])&&Qg(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),_}(Jm);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 eb(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(Ys(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ys(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ys(p)==="symbol"?p:String(p)),s)}var p}function np(f,i){return np=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},np(f,i)}function Zc(f){return Zc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Zc(f)}var tb=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&&np(o,u)})(_,f);var i,m,s,p,l=(s=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Zc(s);if(p){var E=Zc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(A,x){if(x&&(Ys(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}(A)}(this,o)});function _(o){var u;return function(E,A){if(!(E instanceof A))throw new TypeError("Cannot call a class as a function")}(this,_),(u=l.call(this)).parser=o,u}return i=_,(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)}}])&&eb(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),_}(Bh);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 nb(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(Js(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Js(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Js(p)==="symbol"?p:String(p)),s)}var p}function rp(f,i){return rp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},rp(f,i)}function Qc(f){return Qc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Qc(f)}var ip=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&&rp(o,u)})(_,f);var i,m,s,p,l=(s=_,p=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(s);if(p){var E=Qc(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(A,x){if(x&&(Js(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}(A)}(this,o)});function _(o){var u;return function(E,A){if(!(E instanceof A))throw new TypeError("Cannot call a class as a function")}(this,_),(u=l.call(this))._input=null,u._errHandler=new qh,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=_,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 E=new Oa;E.generateRuleBypassTransitions=!0,u=new dh(E).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,E){E=E||null,(u=u||null)===null&&(u=this.getCurrentToken()),this._syntaxErrors+=1;var A=u.line,x=u.column;this.getErrorListenerDispatch().syntaxError(this,u,A,x,o,E)}},{key:"consume",value:function(){var o=this.getCurrentToken();o.type!==n.EOF&&this.getInputStream().consume();var u,E=this._parseListeners!==null&&this._parseListeners.length>0;return(this.buildParseTrees||E)&&((u=this._errHandler.inErrorRecoveryMode(this)?this._ctx.addErrorNode(o):this._ctx.addTokenNode(o)).invokingState=this.state,E&&this._parseListeners.forEach(function(A){u instanceof Xr||u.isErrorNode!==void 0&&u.isErrorNode()?A.visitErrorNode(u):u instanceof sn&&A.visitTerminal(u)})),o}},{key:"addContextToParseTree",value:function(){this._ctx.parentCtx!==null&&this._ctx.parentCtx.addChild(this._ctx)}},{key:"enterRule",value:function(o,u,E){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,E,A){this.state=u,this._precedenceStack.push(A),this._ctx=o,this._ctx.start=this._input.LT(1),this.triggerEnterRuleEvent()}},{key:"pushNewRecursionContext",value:function(o,u,E){var A=this._ctx;A.parentCtx=o,A.invokingState=u,A.stop=this._input.LT(-1),this._ctx=o,this._ctx.start=A.start,this.buildParseTrees&&this._ctx.addChild(A),this.triggerEnterRuleEvent()}},{key:"unrollRecursionContexts",value:function(o){this._precedenceStack.pop(),this._ctx.stop=this._input.LT(-1);var u=this._ctx,E=this.getParseListeners();if(E!==null&&E.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,E=this._ctx,A=u.states[this.state],x=u.nextTokens(A);if(x.contains(o))return!0;if(!x.contains(n.EPSILON))return!1;for(;E!==null&&E.invokingState>=0&&x.contains(n.EPSILON);){var I=u.states[E.invokingState].transitions[0];if((x=u.nextTokens(I.followState)).contains(o))return!0;E=E.parentCtx}return!(!x.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 E=o.ruleIndex;E<0?u.push("n/a"):u.push(this.ruleNames[E]),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 E=this._interp.decisionToDFA[u];E.states.length>0&&(o&&console.log(),this.printer.println("Decision "+E.decision+":"),this.printer.print(E.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 tb(this),this.addParseListener(this._tracer)):(this.removeParseListener(this._tracer),this._tracer=null)}}],m&&nb(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),_}(wc);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 rb(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(Zs(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Zs(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Zs(p)==="symbol"?p:String(p)),s)}var p}function op(f,i){return op=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},op(f,i)}function el(f){return el=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},el(f)}ip.bypassAltsAtnCache={};var Qm=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&&op(o,u)})(_,f);var i,m,s,p,l=(s=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=el(s);if(p){var E=el(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(A,x){if(x&&(Zs(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}(A)}(this,o)});function _(o){var u;return function(E,A){if(!(E instanceof A))throw new TypeError("Cannot call a class as a function")}(this,_),(u=l.call(this)).parentCtx=null,u.symbol=o,u}return i=_,(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 ve.INVALID_INTERVAL;var o=this.symbol.tokenIndex;return new ve(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}}])&&rb(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),_}(sn);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 ib(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(Qs(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Qs(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Qs(p)==="symbol"?p:String(p)),s)}var p}function sp(f,i){return sp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},sp(f,i)}function tl(f){return tl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},tl(f)}var e_=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&&sp(o,u)})(_,f);var i,m,s,p,l=(s=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=tl(s);if(p){var E=tl(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(A,x){if(x&&(Qs(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}(A)}(this,o)});function _(o){return function(u,E){if(!(u instanceof E))throw new TypeError("Cannot call a class as a function")}(this,_),l.call(this,o)}return i=_,(m=[{key:"isErrorNode",value:function(){return!0}},{key:"accept",value:function(o){return o.visitErrorNode(this)}}])&&ib(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),_}(Qm);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 ob(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,(p=function(l,_){if(ea(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(ea(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),ea(p)==="symbol"?p:String(p)),s)}var p}function ap(f,i){return ap=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},ap(f,i)}function nl(f){return nl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},nl(f)}var up=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&&ap(o,u)})(_,f);var i,m,s,p,l=(s=_,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=nl(s);if(p){var E=nl(this).constructor;o=Reflect.construct(u,arguments,E)}else o=u.apply(this,arguments);return function(A,x){if(x&&(ea(x)==="object"||typeof x=="function"))return x;if(x!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}(A)}(this,o)});function _(o,u){var E;return function(A,x){if(!(A instanceof x))throw new TypeError("Cannot call a class as a function")}(this,_),(E=l.call(this,o,u)).children=null,E.start=null,E.stop=null,E.exception=null,E}return i=_,(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 e_&&(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 Qm(o);return this.addChild(u),u.parentCtx=this,u}},{key:"addErrorNode",value:function(o){var u=new e_(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 E=0;E<this.children.length;E++){var A=this.children[E];if(A instanceof u){if(o===0)return A;o-=1}}return null}},{key:"getToken",value:function(o,u){if(this.children===null||u<0||u>=this.children.length)return null;for(var E=0;E<this.children.length;E++){var A=this.children[E];if(A instanceof sn&&A.symbol.type===o){if(u===0)return A;u-=1}}return null}},{key:"getTokens",value:function(o){if(this.children===null)return[];for(var u=[],E=0;E<this.children.length;E++){var A=this.children[E];A instanceof sn&&A.symbol.type===o&&u.push(A)}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=[],E=0;E<this.children.length;E++){var A=this.children[E];A instanceof o&&u.push(A)}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?ve.INVALID_INTERVAL:new ve(this.start.tokenIndex,this.stop.tokenIndex)}}])&&ob(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),_}(Yi);function cp(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&&lp(f,i)}function lp(f,i){return lp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},lp(f,i)}function fp(f){var i=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var m,s=rl(f);if(i){var p=rl(this).constructor;m=Reflect.construct(s,arguments,p)}else m=s.apply(this,arguments);return function(l,_){if(_&&(ta(_)==="object"||typeof _=="function"))return _;if(_!==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 rl(f){return rl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},rl(f)}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 na(f,i){var m=typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(!m){if(Array.isArray(f)||(m=function(u,E){if(u){if(typeof u=="string")return t_(u,E);var A=Object.prototype.toString.call(u).slice(8,-1);return A==="Object"&&u.constructor&&(A=u.constructor.name),A==="Map"||A==="Set"?Array.from(u):A==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(A)?t_(u,E):void 0}}(f))||i&&f&&typeof f.length=="number"){m&&(f=m);var s=0,p=function(){};return{s:p,n:function(){return s>=f.length?{done:!0}:{done:!1,value:f[s++]}},e:function(u){throw u},f:p}}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,_=!0,o=!1;return{s:function(){m=m.call(f)},n:function(){var u=m.next();return _=u.done,u},e:function(u){o=!0,l=u},f:function(){try{_||m.return==null||m.return()}finally{if(o)throw l}}}}function t_(f,i){(i==null||i>f.length)&&(i=f.length);for(var m=0,s=new Array(i);m<i;m++)s[m]=f[m];return s}function ru(f,i){if(!(f instanceof i))throw new TypeError("Cannot call a class as a function")}function n_(f,i){for(var m=0;m<i.length;m++){var s=i[m];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(f,r_(s.key),s)}}function iu(f,i,m){return i&&n_(f.prototype,i),m&&n_(f,m),Object.defineProperty(f,"prototype",{writable:!1}),f}function r_(f){var i=function(m,s){if(ta(m)!=="object"||m===null)return m;var p=m[Symbol.toPrimitive];if(p!==void 0){var l=p.call(m,"string");if(ta(l)!=="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(m)}(f);return ta(i)==="symbol"?i:String(i)}Yi.EMPTY=new up;var il,ol,hp,i_=function(){function f(i){ru(this,f),this.tokens=i,this.programs=new Map}return iu(f,[{key:"getTokenStream",value:function(){return this.tokens}},{key:"insertAfter",value:function(i,m){var s,p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:f.DEFAULT_PROGRAM_NAME;s=typeof i=="number"?i:i.tokenIndex;var l=this.getProgram(p),_=new s_(this.tokens,s,l.length,m);l.push(_)}},{key:"insertBefore",value:function(i,m){var s,p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:f.DEFAULT_PROGRAM_NAME;s=typeof i=="number"?i:i.tokenIndex;var l=this.getProgram(p),_=new ra(this.tokens,s,l.length,m);l.push(_)}},{key:"replaceSingle",value:function(i,m){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:f.DEFAULT_PROGRAM_NAME;this.replace(i,i,m,s)}},{key:"replace",value:function(i,m,s){var p=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(p),_=new sl(this.tokens,i,m,l.length,s);l.push(_)}},{key:"delete",value:function(i,m){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:f.DEFAULT_PROGRAM_NAME;m===void 0&&(m=i),this.replace(i,m,null,s)}},{key:"getProgram",value:function(i){var m=this.programs.get(i);return m==null&&(m=this.initializeProgram(i)),m}},{key:"initializeProgram",value:function(i){var m=[];return this.programs.set(i,m),m}},{key:"getText",value:function(i){var m,s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:f.DEFAULT_PROGRAM_NAME;m=i instanceof ve?i:new ve(0,this.tokens.size-1),typeof i=="string"&&(s=i);var p=this.programs.get(s),l=m.start,_=m.stop;if(_>this.tokens.size-1&&(_=this.tokens.size-1),l<0&&(l=0),p==null||p.length===0)return this.tokens.getText(new ve(l,_));for(var o=[],u=this.reduceToSingleOperationPerIndex(p),E=l;E<=_&&E<this.tokens.size;){var A=u.get(E);u.delete(E);var x=this.tokens.get(E);A==null?(x.type!==n.EOF&&o.push(String(x.text)),E++):E=A.execute(o)}if(_===this.tokens.size-1){var I,ne=na(u.values());try{for(ne.s();!(I=ne.n()).done;){var we=I.value;we.index>=this.tokens.size-1&&o.push(we.text.toString())}}catch(De){ne.e(De)}finally{ne.f()}}return o.join("")}},{key:"reduceToSingleOperationPerIndex",value:function(i){for(var m=0;m<i.length;m++){var s=i[m];if(s!=null&&s instanceof sl){var p,l=s,_=na(this.getKindOfOps(i,ra,m));try{for(_.s();!(p=_.n()).done;){var o=p.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(Cr){_.e(Cr)}finally{_.f()}var u,E=na(this.getKindOfOps(i,sl,m));try{for(E.s();!(u=E.n()).done;){var A=u.value;if(A.index>=l.index&&A.lastIndex<=l.lastIndex)i[A.instructionIndex]=void 0;else{var x=A.lastIndex<l.index||A.index>l.lastIndex;if(A.text!=null||l.text!=null||x){if(!x)throw new Error("replace op boundaries of ".concat(l," overlap with previous ").concat(A))}else i[A.instructionIndex]=void 0,l.index=Math.min(A.index,l.index),l.lastIndex=Math.max(A.lastIndex,l.lastIndex)}}}catch(Cr){E.e(Cr)}finally{E.f()}}}for(var I=0;I<i.length;I++){var ne=i[I];if(ne!=null&&ne instanceof ra){var we,De=ne,He=na(this.getKindOfOps(i,ra,I));try{for(He.s();!(we=He.n()).done;){var st=we.value;st.index===De.index&&(st instanceof s_?(De.text=this.catOpText(st.text,De.text),i[st.instructionIndex]=void 0):st instanceof ra&&(De.text=this.catOpText(De.text,st.text),i[st.instructionIndex]=void 0))}}catch(Cr){He.e(Cr)}finally{He.f()}var ze,_n=na(this.getKindOfOps(i,sl,I));try{for(_n.s();!(ze=_n.n()).done;){var pn=ze.value;if(De.index!==pn.index){if(De.index>=pn.index&&De.index<=pn.lastIndex)throw new Error("insert op ".concat(De," within boundaries of previous ").concat(pn))}else pn.text=this.catOpText(De.text,pn.text),i[I]=void 0}}catch(Cr){_n.e(Cr)}finally{_n.f()}}}var zn,$r=new Map,wi=na(i);try{for(wi.s();!(zn=wi.n()).done;){var Ri=zn.value;if(Ri!=null){if($r.get(Ri.index)!=null)throw new Error("should only be one op per index");$r.set(Ri.index,Ri)}}}catch(Cr){wi.e(Cr)}finally{wi.f()}return $r}},{key:"catOpText",value:function(i,m){var s="",p="";return i!=null&&(s=i.toString()),m!=null&&(p=m.toString()),s+p}},{key:"getKindOfOps",value:function(i,m,s){return i.slice(0,s).filter(function(p){return p&&p instanceof m})}}]),f}();il=i_,hp="default",(ol=r_(ol="DEFAULT_PROGRAM_NAME"))in il?Object.defineProperty(il,ol,{value:hp,enumerable:!0,configurable:!0,writable:!0}):il[ol]=hp;var o_=function(){function f(i,m,s,p){ru(this,f),this.tokens=i,this.instructionIndex=s,this.index=m,this.text=p===void 0?"":p}return iu(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}(),ra=function(f){cp(m,f);var i=fp(m);function m(s,p,l,_){return ru(this,m),i.call(this,s,p,l,_)}return iu(m,[{key:"execute",value:function(s){return this.text&&s.push(this.text.toString()),this.tokens.get(this.index).type!==n.EOF&&s.push(String(this.tokens.get(this.index).text)),this.index+1}}]),m}(o_),s_=function(f){cp(m,f);var i=fp(m);function m(s,p,l,_){return ru(this,m),i.call(this,s,p+1,l,_)}return iu(m)}(ra),sl=function(f){cp(m,f);var i=fp(m);function m(s,p,l,_,o){var u;return ru(this,m),(u=i.call(this,s,p,_,o)).lastIndex=l,u}return iu(m,[{key:"execute",value:function(s){return this.text&&s.push(this.text.toString()),this.lastIndex+1}},{key:"toString",value:function(){return this.text==null?"<DeleteOp@"+this.tokens.get(this.index)+".."+this.tokens.get(this.lastIndex)+">":"<ReplaceOp@"+this.tokens.get(this.index)+".."+this.tokens.get(this.lastIndex)+':"'+this.text+'">'}}]),m}(o_);const sb={atn:wg,dfa:Pg,context:Fg,misc:Lg,tree:$g,error:Wg,Token:n,CommonToken:Ia,CharStreams:qm,CharStream:tu,InputStream:tu,CommonTokenStream:Zm,Lexer:sr,Parser:ip,ParserRuleContext:up,Interval:ve,IntervalSet:ie,LL1Analyzer:Bo,Utils:Yg,TokenStreamRewriter:i_}})();var Dr=kt.dx,pp=kt.q2;kt.FO,kt.xf,kt.Gy;var a_=kt.s4,u_=kt.c7,dp=kt._7;kt.gp;var c_=kt.cK,l_=kt.zs,f_=kt.AV;kt.Xp,kt.VS,kt.ul;var h_=kt.hW,p_=kt.x1,di=kt.z5;kt.oN;var d_=kt.TB;kt.u1;var m_=kt._b,__=kt.$F,Ye=kt._T,mp=kt.db,y_=kt.Zx,Je=kt._x;kt.r8,kt.JI,kt.TP;var _p=kt.WU;kt.Nj,kt.ZP;const B=class B extends m_{get grammarFileName(){return"tccScriptParser.g4"}get literalNames(){return B.literalNames}get symbolicNames(){return B.symbolicNames}get ruleNames(){return B.ruleNames}get serializedATN(){return B._serializedATN}createFailedPredicateException(e,n){return new l_(this,e,n)}constructor(e){super(e),this._interp=new __(this,B._ATN,B.DecisionsToDFA,new mp)}program(){let e=new g_(this,this._ctx,this.state);this.enterRule(e,0,B.RULE_program);let n;try{this.enterOuterAlt(e,1);{for(this.state=106,this._errHandler.sync(this),n=this._input.LA(1);n===4||n===6||!(n-36&-32)&&1<<n-36&38635767;){switch(this.state=104,this._errHandler.sync(this),this._input.LA(1)){case 61:this.state=102,this.match(B.NEWLINE);break;case 4:case 6:case 36:case 37:case 38:case 40:case 41:case 42:case 43:case 47:case 51:case 52:case 54:case 55:case 58:this.state=103,this.globalStmt();break;default:throw new di(this)}this.state=108,this._errHandler.sync(this),n=this._input.LA(1)}this.state=109,this.match(B.EOF)}}catch(r){if(r instanceof Je)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 al(this,this._ctx,this.state);this.enterRule(e,2,B.RULE_globalStmt);let n;try{switch(this.state=123,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,3,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=111,this.variableDeclarationStmt(),this.state=113,this._errHandler.sync(this),n=this._input.LA(1),n===8&&(this.state=112,this.match(B.Comma)),this.state=115,this.match(B.NEWLINE);break;case 2:this.enterOuterAlt(e,2),this.state=117,this.blockStmt();break;case 3:this.enterOuterAlt(e,3),this.state=118,this.importStmt();break;case 4:this.enterOuterAlt(e,4),this.state=119,this.arrowFunction();break;case 5:this.enterOuterAlt(e,5),this.state=120,this.arrowMethod();break;case 6:this.enterOuterAlt(e,6),this.state=121,this.typeStatement();break;case 7:this.enterOuterAlt(e,7),this.state=122,this.enumStatement();break}}catch(r){if(r instanceof Je)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 yp(this,this._ctx,this.state);this.enterRule(e,4,B.RULE_blockStmt);try{let n;this.enterOuterAlt(e,1);{for(this.state=130,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,4,this._ctx);n!==2&&n!==Dr.INVALID_ALT_NUMBER;)n===1&&(this.state=125,this.variableDeclarationStmt(),this.state=126,this.match(B.Comma)),this.state=132,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,4,this._ctx);switch(this.state=135,this._errHandler.sync(this),this._input.LA(1)){case 4:case 6:case 38:case 40:case 47:case 51:case 54:case 55:case 58:this.state=133,this.varBlockStmt();break;case 37:case 41:case 42:case 43:this.state=134,this.blockExpression();break;default:throw new di(this)}}}catch(n){if(n instanceof Je)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 ul(this,this._ctx,this.state);this.enterRule(e,6,B.RULE_stmt);let n;try{switch(this.state=144,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,7,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=137,this.simpleStmt(),this.state=139,this._errHandler.sync(this),n=this._input.LA(1),n===8&&(this.state=138,this.match(B.Comma)),this.state=141,this.match(B.NEWLINE);break;case 2:this.enterOuterAlt(e,2),this.state=143,this.expressionBlockSequence();break}}catch(r){if(r instanceof Je)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 cl(this,this._ctx,this.state);this.enterRule(e,8,B.RULE_simpleStmt);try{switch(this.state=150,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,8,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=146,this.expressionSequence();break;case 2:this.enterOuterAlt(e,2),this.state=147,this.blockSequence();break;case 3:this.enterOuterAlt(e,3),this.state=148,this.brackethesized();break;case 4:this.enterOuterAlt(e,4),this.state=149,this.flowStmt();break}}catch(n){if(n instanceof Je)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 gp(this,this._ctx,this.state);this.enterRule(e,10,B.RULE_flowStmt);let n;try{this.enterOuterAlt(e,1),this.state=152,n=this._input.LA(1),n===34||n===39?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof Je)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 ia(this,this._ctx,this.state);this.enterRule(e,12,B.RULE_block);let n;try{switch(this.state=161,this._errHandler.sync(this),this._input.LA(1)){case 4:case 6:case 12:case 13:case 31:case 32:case 33:case 34:case 38:case 39:case 40:case 46:case 47:case 51:case 54:case 55:case 56:case 57:case 58:this.enterOuterAlt(e,1),this.state=154,this.simpleStmt(),this.state=156,this._errHandler.sync(this),n=this._input.LA(1),n===8&&(this.state=155,this.match(B.Comma)),this.state=158,this.match(B.NEWLINE);break;case 61:this.enterOuterAlt(e,2),this.state=160,this.blockLine();break;default:throw new di(this)}}catch(r){if(r instanceof Je)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 mo(this,this._ctx,this.state);this.enterRule(e,14,B.RULE_blockLine);let n;try{this.enterOuterAlt(e,1);{this.state=163,this.match(B.NEWLINE),this.state=164,this.match(B.INDENT),this.state=166,this._errHandler.sync(this),n=this._input.LA(1);do this.state=165,this.stmt(),this.state=168,this._errHandler.sync(this),n=this._input.LA(1);while(!(n&-32)&&1<<n&2147496016||!(n-32&-32)&&1<<n-32&130600935);this.state=170,this.match(B.DEDENT)}}catch(r){if(r instanceof Je)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 ou(this,this._ctx,this.state);this.enterRule(e,16,B.RULE_variableDeclarationStmt);try{let n;this.enterOuterAlt(e,1);{switch(this.state=174,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,12,this._ctx)){case 1:this.state=172,this.methodStmt();break;case 2:this.state=173,this.variableDeclarationList();break}for(this.state=183,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,14,this._ctx);n!==2&&n!==Dr.INVALID_ALT_NUMBER;){if(n===1)switch(this.state=176,this.match(B.Comma),this.state=179,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,13,this._ctx)){case 1:this.state=177,this.methodStmt();break;case 2:this.state=178,this.variableDeclarationList();break}this.state=185,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,14,this._ctx)}}}catch(n){if(n instanceof Je)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 Ni(this,this._ctx,this.state);this.enterRule(e,18,B.RULE_variableDeclarationList);try{switch(this.state=194,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,15,this._ctx)){case 1:e=new v_(this,e),this.enterOuterAlt(e,1),this.state=186,this.varArrayDeclaration(),this.state=187,this.match(B.Assign),this.state=188,this.singleExpression(0);break;case 2:e=new b_(this,e),this.enterOuterAlt(e,2),this.state=190,this.name(),this.state=191,this.assignmentOperator(),this.state=192,this.singleExpression(0);break}}catch(n){if(n instanceof Je)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 ll(this,this._ctx,this.state);this.enterRule(e,20,B.RULE_varModifier);let n;try{this.enterOuterAlt(e,1),this.state=196,n=this._input.LA(1),n===38||n===40?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof Je)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 bp(this,this._ctx,this.state);this.enterRule(e,22,B.RULE_blockSequence);try{let n;this.enterOuterAlt(e,1);{switch(this.state=200,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,16,this._ctx)){case 1:this.state=198,this.singleExpression(0);break;case 2:this.state=199,this.variableDeclarationList();break}for(this.state=209,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,18,this._ctx);n!==2&&n!==Dr.INVALID_ALT_NUMBER;){if(n===1)switch(this.state=202,this.match(B.Comma),this.state=205,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,17,this._ctx)){case 1:this.state=203,this.singleExpression(0);break;case 2:this.state=204,this.variableDeclarationList();break}this.state=211,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,18,this._ctx)}}}catch(n){if(n instanceof Je)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 fl(this,this._ctx,this.state);this.enterRule(e,24,B.RULE_expressionSequence);try{let n;for(this.enterOuterAlt(e,1),this.state=212,this.singleExpression(0),this.state=217,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,19,this._ctx);n!==2&&n!==Dr.INVALID_ALT_NUMBER;)n===1&&(this.state=213,this.match(B.Comma),this.state=214,this.singleExpression(0)),this.state=219,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,19,this._ctx)}catch(n){if(n instanceof Je)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 vp(this,this._ctx,this.state);this.enterRule(e,26,B.RULE_expressionBlockSequence);try{let n;this.enterOuterAlt(e,1);{for(this.state=228,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,21,this._ctx);n!==2&&n!==Dr.INVALID_ALT_NUMBER;){if(n===1){switch(this.state=222,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,20,this._ctx)){case 1:this.state=220,this.singleExpression(0);break;case 2:this.state=221,this.variableDeclarationList();break}this.state=224,this.match(B.Comma)}this.state=230,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,21,this._ctx)}switch(this.state=233,this._errHandler.sync(this),this._input.LA(1)){case 4:case 6:case 38:case 40:case 47:case 51:case 54:case 55:case 58:this.state=231,this.varBlockStmt();break;case 37:case 41:case 42:case 43:this.state=232,this.blockExpression();break;default:throw new di(this)}}}catch(n){if(n instanceof Je)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 hl(this,this._ctx,this.state);this.enterRule(e,28,B.RULE_varBlockStmt);try{this.enterOuterAlt(e,1);{switch(this.state=241,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,23,this._ctx)){case 1:this.state=235,this.varArrayDeclaration(),this.state=236,this.match(B.Assign);break;case 2:this.state=238,this.name(),this.state=239,this.assignmentOperator();break}this.state=243,this.blockExpression()}}catch(n){if(n instanceof Je)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 oa(this,this._ctx,this.state);this.enterRule(e,30,B.RULE_varArrayDeclaration);let n;try{switch(this.state=263,this._errHandler.sync(this),this._input.LA(1)){case 38:case 40:case 47:case 51:case 54:case 55:case 58:e=new S_(this,e),this.enterOuterAlt(e,1);{switch(this.state=246,this._errHandler.sync(this),n=this._input.LA(1),(n===38||n===40)&&(this.state=245,this.varModifier()),this.state=249,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,25,this._ctx)){case 1:this.state=248,this.typeGather();break}this.state=251,this.identifier()}break;case 4:e=new E_(this,e),this.enterOuterAlt(e,2);{for(this.state=252,this.match(B.OpenBracket),this.state=253,this.identifier(),this.state=258,this._errHandler.sync(this),n=this._input.LA(1);n===8;)this.state=254,this.match(B.Comma),this.state=255,this.identifier(),this.state=260,this._errHandler.sync(this),n=this._input.LA(1);this.state=261,this.match(B.CloseBracket)}break;default:throw new di(this)}}catch(r){if(r instanceof Je)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 su(this,this._ctx,this.state);this.enterRule(e,32,B.RULE_blockExpression);try{switch(this.state=269,this._errHandler.sync(this),this._input.LA(1)){case 43:this.enterOuterAlt(e,1),this.state=265,this.ifStatement();break;case 37:this.enterOuterAlt(e,2),this.state=266,this.forStatement();break;case 42:this.enterOuterAlt(e,3),this.state=267,this.whileStatement();break;case 41:this.enterOuterAlt(e,4),this.state=268,this.switchStatement();break;default:throw new di(this)}}catch(n){if(n instanceof Je)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}singleExpression(e){e===void 0&&(e=0);let n=this._ctx,r=this.state,a=new $e(this,this._ctx,r),c=a,h=34;this.enterRecursionRule(a,34,B.RULE_singleExpression,e);let d;try{let v;this.enterOuterAlt(a,1);{switch(this.state=283,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,29,this._ctx)){case 1:a=new P_(this,a),this._ctx=a,c=a,this.state=272,this.methodStmt();break;case 2:a=new R_(this,a),this._ctx=a,c=a,this.state=273,d=this._input.LA(1),d===12||d===13?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=274,this.singleExpression(12);break;case 3:a=new N_(this,a),this._ctx=a,c=a,this.state=275,this.match(B.Not),this.state=276,this.singleExpression(11);break;case 4:a=new D_(this,a),this._ctx=a,c=a,this.state=277,this.name();break;case 5:a=new k_(this,a),this._ctx=a,c=a,this.state=278,this.literal();break;case 6:a=new T_(this,a),this._ctx=a,c=a,this.state=279,this.match(B.OpenParen),this.state=280,this.singleExpression(0),this.state=281,this.match(B.CloseParen);break}for(this._ctx.stop=this._input.LT(-1),this.state=316,this._errHandler.sync(this),v=this._interp.adaptivePredict(this._input,31,this._ctx);v!==2&&v!==Dr.INVALID_ALT_NUMBER;){if(v===1)switch(this._parseListeners!=null&&this.triggerExitRuleEvent(),c=a,this.state=314,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,30,this._ctx)){case 1:{if(a=new L_(this,new $e(this,n,r)),this.pushNewRecursionContext(a,h,B.RULE_singleExpression),this.state=285,!this.precpred(this._ctx,10))throw this.createFailedPredicateException("this.precpred(this._ctx, 10)");this.state=286,d=this._input.LA(1),!(d&-32)&&1<<d&114688?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=287,this.singleExpression(11)}break;case 2:{if(a=new x_(this,new $e(this,n,r)),this.pushNewRecursionContext(a,h,B.RULE_singleExpression),this.state=288,!this.precpred(this._ctx,9))throw this.createFailedPredicateException("this.precpred(this._ctx, 9)");this.state=289,d=this._input.LA(1),d===12||d===13?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=290,this.singleExpression(10)}break;case 3:{if(a=new A_(this,new $e(this,n,r)),this.pushNewRecursionContext(a,h,B.RULE_singleExpression),this.state=291,!this.precpred(this._ctx,8))throw this.createFailedPredicateException("this.precpred(this._ctx, 8)");this.state=292,d=this._input.LA(1),!(d&-32)&&1<<d&3932160?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=293,this.singleExpression(9)}break;case 4:{if(a=new F_(this,new $e(this,n,r)),this.pushNewRecursionContext(a,h,B.RULE_singleExpression),this.state=294,!this.precpred(this._ctx,7))throw this.createFailedPredicateException("this.precpred(this._ctx, 7)");this.state=295,d=this._input.LA(1),d===22||d===23?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=296,this.singleExpression(8)}break;case 5:{if(a=new O_(this,new $e(this,n,r)),this.pushNewRecursionContext(a,h,B.RULE_singleExpression),this.state=297,!this.precpred(this._ctx,6))throw this.createFailedPredicateException("this.precpred(this._ctx, 6)");this.state=298,this.match(B.And),this.state=299,this.singleExpression(7)}break;case 6:{if(a=new w_(this,new $e(this,n,r)),this.pushNewRecursionContext(a,h,B.RULE_singleExpression),this.state=300,!this.precpred(this._ctx,5))throw this.createFailedPredicateException("this.precpred(this._ctx, 5)");this.state=301,this.match(B.Or),this.state=302,this.singleExpression(6)}break;case 7:{if(a=new C_(this,new $e(this,n,r)),this.pushNewRecursionContext(a,h,B.RULE_singleExpression),this.state=303,!this.precpred(this._ctx,4))throw this.createFailedPredicateException("this.precpred(this._ctx, 4)");this.state=304,this.match(B.QuestionMark),this.state=305,this.singleExpression(0),this.state=306,this.match(B.Colon),this.state=307,this.singleExpression(4)}break;case 8:{if(a=new I_(this,new $e(this,n,r)),this.pushNewRecursionContext(a,h,B.RULE_singleExpression),this.state=309,!this.precpred(this._ctx,13))throw this.createFailedPredicateException("this.precpred(this._ctx, 13)");this.state=310,this.match(B.OpenBracket),this.state=311,this.singleExpression(0),this.state=312,this.match(B.CloseBracket)}break}this.state=318,this._errHandler.sync(this),v=this._interp.adaptivePredict(this._input,31,this._ctx)}}}catch(v){if(v instanceof Je)a.exception=v,this._errHandler.reportError(this,v),this._errHandler.recover(this,v);else throw v}finally{this.unrollRecursionContexts(n)}return a}brackethesized(){let e=new pl(this,this._ctx,this.state);this.enterRule(e,36,B.RULE_brackethesized);try{this.enterOuterAlt(e,1),this.state=319,this.match(B.OpenBracket),this.state=320,this.expressionSequence(),this.state=321,this.match(B.CloseBracket)}catch(n){if(n instanceof Je)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 Ep(this,this._ctx,this.state);this.enterRule(e,38,B.RULE_arguments);let n;try{let r;this.enterOuterAlt(e,1);{if(this.state=323,this.match(B.OpenParen),this.state=335,this._errHandler.sync(this),n=this._input.LA(1),!(n&-32)&&1<<n&2147496016||!(n-32&-32)&&1<<n-32&130596867){for(this.state=324,this.argument(),this.state=329,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,32,this._ctx);r!==2&&r!==Dr.INVALID_ALT_NUMBER;)r===1&&(this.state=325,this.match(B.Comma),this.state=326,this.argument()),this.state=331,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,32,this._ctx);this.state=333,this._errHandler.sync(this),n=this._input.LA(1),n===8&&(this.state=332,this.match(B.Comma))}this.state=337,this.match(B.CloseParen)}}catch(r){if(r instanceof Je)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 dl(this,this._ctx,this.state);this.enterRule(e,40,B.RULE_argument);try{this.enterOuterAlt(e,1);{switch(this.state=342,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,35,this._ctx)){case 1:this.state=339,this.identifier(),this.state=340,this.match(B.Assign);break}switch(this.state=346,this._errHandler.sync(this),this._input.LA(1)){case 6:case 12:case 13:case 31:case 32:case 33:case 46:case 47:case 51:case 54:case 55:case 56:case 57:case 58:this.state=344,this.singleExpression(0);break;case 4:this.state=345,this.brackethesized();break;default:throw new di(this)}}}catch(n){if(n instanceof Je)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 Sp(this,this._ctx,this.state);this.enterRule(e,42,B.RULE_ifStatement);let n;try{let r;this.enterOuterAlt(e,1);{for(this.state=348,this.match(B.If),this.state=349,this.singleExpression(0),this.state=350,this.blockLine(),this.state=358,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,37,this._ctx);r!==2&&r!==Dr.INVALID_ALT_NUMBER;)r===1&&(this.state=351,this.match(B.Else),this.state=352,this.match(B.If),this.state=353,this.singleExpression(0),this.state=354,this.blockLine()),this.state=360,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,37,this._ctx);this.state=363,this._errHandler.sync(this),n=this._input.LA(1),n===48&&(this.state=361,this.match(B.Else),this.state=362,this.blockLine())}}catch(r){if(r instanceof Je)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 au(this,this._ctx,this.state);this.enterRule(e,44,B.RULE_forStatement);let n;try{switch(this.state=397,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,43,this._ctx)){case 1:e=new M_(this,e),this.enterOuterAlt(e,1);{switch(this.state=365,this.match(B.For),this.state=367,this._errHandler.sync(this),n=this._input.LA(1),(n===38||n===40)&&(this.state=366,this.varModifier()),this.state=370,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,40,this._ctx)){case 1:this.state=369,this.typeGather();break}this.state=372,this.identifier(),this.state=373,this.match(B.Assign),this.state=374,this.singleExpression(0),this.state=375,this.match(B.To),this.state=376,this.singleExpression(0),this.state=379,this._errHandler.sync(this),n=this._input.LA(1),n===50&&(this.state=377,this.match(B.By),this.state=378,this.singleExpression(0)),this.state=381,this.blockLine()}break;case 2:e=new B_(this,e),this.enterOuterAlt(e,2);{switch(this.state=383,this.match(B.For),this.state=391,this._errHandler.sync(this),this._input.LA(1)){case 47:case 51:case 54:case 55:case 58:this.state=384,this.identifier();break;case 4:this.state=385,this.match(B.OpenBracket),this.state=386,this.identifier(),this.state=387,this.match(B.Comma),this.state=388,this.identifier(),this.state=389,this.match(B.CloseBracket);break;default:throw new di(this)}this.state=393,this.match(B.In),this.state=394,this.singleExpression(0),this.state=395,this.blockLine()}break}}catch(r){if(r instanceof Je)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 Tp(this,this._ctx,this.state);this.enterRule(e,46,B.RULE_switchStatement);let n;try{this.enterOuterAlt(e,1);{switch(this.state=399,this.match(B.Switch),this.state=401,this._errHandler.sync(this),n=this._input.LA(1),(!(n&-32)&&1<<n&2147496e3||!(n-32&-32)&&1<<n-32&130596867)&&(this.state=400,this.singleExpression(0)),this.state=403,this.match(B.NEWLINE),this.state=404,this.match(B.INDENT),this.state=417,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,47,this._ctx)){case 1:{this.state=406,this._errHandler.sync(this),n=this._input.LA(1);do this.state=405,this.caseClause(),this.state=408,this._errHandler.sync(this),n=this._input.LA(1);while(!(n&-32)&&1<<n&2147496e3||!(n-32&-32)&&1<<n-32&130596867)}break;case 2:{for(this.state=413,this._errHandler.sync(this),n=this._input.LA(1);!(n&-32)&&1<<n&2147496e3||!(n-32&-32)&&1<<n-32&130596867;)this.state=410,this.caseClause(),this.state=415,this._errHandler.sync(this),n=this._input.LA(1);this.state=416,this.defaultCaluse()}break}this.state=419,this.match(B.DEDENT)}}catch(r){if(r instanceof Je)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 ml(this,this._ctx,this.state);this.enterRule(e,48,B.RULE_caseClause);try{this.enterOuterAlt(e,1),this.state=421,this.singleExpression(0),this.state=422,this.match(B.ARROW),this.state=423,this.block()}catch(n){if(n instanceof Je)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 xp(this,this._ctx,this.state);this.enterRule(e,50,B.RULE_defaultCaluse);try{this.enterOuterAlt(e,1),this.state=425,this.match(B.ARROW),this.state=426,this.block()}catch(n){if(n instanceof Je)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 Ap(this,this._ctx,this.state);this.enterRule(e,52,B.RULE_whileStatement);try{this.enterOuterAlt(e,1),this.state=428,this.match(B.While),this.state=429,this.singleExpression(0),this.state=430,this.blockLine()}catch(n){if(n instanceof Je)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 Cp(this,this._ctx,this.state);this.enterRule(e,54,B.RULE_importStmt);let n;try{let r;this.enterOuterAlt(e,1);{for(this.state=432,this.importElement(),this.state=437,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,48,this._ctx);r!==2&&r!==Dr.INVALID_ALT_NUMBER;)r===1&&(this.state=433,this.match(B.Comma),this.state=434,this.importElement()),this.state=439,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,48,this._ctx);this.state=441,this._errHandler.sync(this),n=this._input.LA(1),n===8&&(this.state=440,this.match(B.Comma)),this.state=443,this.match(B.NEWLINE)}}catch(r){if(r instanceof Je)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 _l(this,this._ctx,this.state);this.enterRule(e,56,B.RULE_importElement);let n;try{this.enterOuterAlt(e,1),this.state=445,this.match(B.Import),this.state=446,this.identifier(),this.state=447,this.match(B.Divide),this.state=448,this.identifier(),this.state=449,this.match(B.Divide),this.state=450,this.match(B.IntegerLiteral),this.state=453,this._errHandler.sync(this),n=this._input.LA(1),n===53&&(this.state=451,this.match(B.As),this.state=452,this.identifier())}catch(r){if(r instanceof Je)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 Op(this,this._ctx,this.state);this.enterRule(e,58,B.RULE_literal);let n;try{this.enterOuterAlt(e,1),this.state=455,n=this._input.LA(1),!(n-31&-32)&&1<<n-31&100663303?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof Je)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 uu(this,this._ctx,this.state);this.enterRule(e,60,B.RULE_methodStmt);try{let n;for(this.enterOuterAlt(e,1),this.state=457,this.methodElement(),this.state=462,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,51,this._ctx);n!==2&&n!==Dr.INVALID_ALT_NUMBER;)n===1&&(this.state=458,this.match(B.Point),this.state=459,this.methodElement()),this.state=464,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,51,this._ctx)}catch(n){if(n instanceof Je)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 sa(this,this._ctx,this.state);this.enterRule(e,62,B.RULE_methodElement);try{this.enterOuterAlt(e,1),this.state=465,this.methodName(),this.state=466,this.arguments()}catch(n){if(n instanceof Je)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,B.RULE_methodName);let n;try{let r;this.enterOuterAlt(e,1);{switch(this.state=481,this._errHandler.sync(this),this._input.LA(1)){case 47:case 51:case 54:case 55:case 58:for(this.state=473,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,52,this._ctx);r!==2&&r!==Dr.INVALID_ALT_NUMBER;)r===1&&(this.state=468,this.identifier(),this.state=469,this.match(B.Point)),this.state=475,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,52,this._ctx);break;case 6:this.state=476,this.match(B.OpenParen),this.state=477,this.singleExpression(0),this.state=478,this.match(B.CloseParen),this.state=479,this.match(B.Point);break;default:throw new di(this)}this.state=483,this.identifier(),this.state=492,this._errHandler.sync(this),n=this._input.LA(1),n===18&&(this.state=484,this.match(B.LessThan),this.state=485,this.typeName(),this.state=488,this._errHandler.sync(this),n=this._input.LA(1),n===8&&(this.state=486,this.match(B.Comma),this.state=487,this.typeName()),this.state=490,this.match(B.MoreThan))}}catch(r){if(r instanceof Je)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 kp(this,this._ctx,this.state);this.enterRule(e,66,B.RULE_arrowFunction);let n;try{this.enterOuterAlt(e,1),this.state=495,this._errHandler.sync(this),n=this._input.LA(1),n===36&&(this.state=494,this.match(B.Export)),this.state=497,this.identifier(),this.state=498,this.arrowFunctionParameters(),this.state=499,this.match(B.ARROW),this.state=500,this.block()}catch(r){if(r instanceof Je)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 wp(this,this._ctx,this.state);this.enterRule(e,68,B.RULE_arrowFunctionParameters);let n;try{this.enterOuterAlt(e,1),this.state=502,this.match(B.OpenParen),this.state=504,this._errHandler.sync(this),n=this._input.LA(1),!(n-47&-32)&&1<<n-47&2449&&(this.state=503,this.formalParameterList()),this.state=506,this.match(B.CloseParen)}catch(r){if(r instanceof Je)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 yl(this,this._ctx,this.state);this.enterRule(e,70,B.RULE_formalParameterList);let n;try{for(this.enterOuterAlt(e,1),this.state=508,this.formalParameterArg(),this.state=513,this._errHandler.sync(this),n=this._input.LA(1);n===8;)this.state=509,this.match(B.Comma),this.state=510,this.formalParameterArg(),this.state=515,this._errHandler.sync(this),n=this._input.LA(1)}catch(r){if(r instanceof Je)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 gl(this,this._ctx,this.state);this.enterRule(e,72,B.RULE_formalParameterArg);let n;try{this.enterOuterAlt(e,1);{switch(this.state=517,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,59,this._ctx)){case 1:this.state=516,this.typeGather();break}this.state=519,this.identifier(),this.state=522,this._errHandler.sync(this),n=this._input.LA(1),n===9&&(this.state=520,this.match(B.Assign),this.state=521,this.singleExpression(0))}}catch(r){if(r instanceof Je)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 Rp(this,this._ctx,this.state);this.enterRule(e,74,B.RULE_arrowMethod);let n;try{this.enterOuterAlt(e,1),this.state=525,this._errHandler.sync(this),n=this._input.LA(1),n===36&&(this.state=524,this.match(B.Export)),this.state=527,this.match(B.Method),this.state=528,this.identifier(),this.state=529,this.arrowMethodParameters(),this.state=530,this.match(B.ARROW),this.state=531,this.block()}catch(r){if(r instanceof Je)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 Np(this,this._ctx,this.state);this.enterRule(e,76,B.RULE_arrowMethodParameters);let n;try{this.enterOuterAlt(e,1),this.state=533,this.match(B.OpenParen),this.state=534,this.typeGather(),this.state=535,this.identifier(),this.state=538,this._errHandler.sync(this),n=this._input.LA(1),n===9&&(this.state=536,this.match(B.Assign),this.state=537,this.singleExpression(0)),this.state=542,this._errHandler.sync(this),n=this._input.LA(1),n===8&&(this.state=540,this.match(B.Comma),this.state=541,this.formalParameterList()),this.state=544,this.match(B.CloseParen)}catch(r){if(r instanceof Je)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 Ip(this,this._ctx,this.state);this.enterRule(e,78,B.RULE_typeStatement);let n;try{this.enterOuterAlt(e,1);{this.state=547,this._errHandler.sync(this),n=this._input.LA(1),n===36&&(this.state=546,this.match(B.Export)),this.state=549,this.match(B.Type),this.state=550,this.identifier(),this.state=551,this.match(B.NEWLINE),this.state=552,this.match(B.INDENT),this.state=554,this._errHandler.sync(this),n=this._input.LA(1);do this.state=553,this.typeElement(),this.state=556,this._errHandler.sync(this),n=this._input.LA(1);while(!(n-40&-32)&&1<<n-40&313473);this.state=558,this.match(B.DEDENT)}}catch(r){if(r instanceof Je)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 bl(this,this._ctx,this.state);this.enterRule(e,80,B.RULE_typeElement);let n;try{this.enterOuterAlt(e,1);{switch(this.state=561,this._errHandler.sync(this),n=this._input.LA(1),n===40&&(this.state=560,this.match(B.Varip)),this.state=564,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,67,this._ctx)){case 1:this.state=563,this.typeGather();break}this.state=566,this.identifier(),this.state=569,this._errHandler.sync(this),n=this._input.LA(1),n===9&&(this.state=567,this.match(B.Assign),this.state=568,this.singleExpression(0)),this.state=571,this.match(B.NEWLINE)}}catch(r){if(r instanceof Je)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 vl(this,this._ctx,this.state);this.enterRule(e,82,B.RULE_assignmentOperator);let n;try{this.enterOuterAlt(e,1),this.state=573,n=this._input.LA(1),!(n&-32)&&1<<n&1593835520?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof Je)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 El(this,this._ctx,this.state);this.enterRule(e,84,B.RULE_typeMap);try{this.enterOuterAlt(e,1),this.state=575,this.match(B.Map),this.state=576,this.match(B.LessThan),this.state=577,this.typeName(),this.state=578,this.match(B.Comma),this.state=579,this.typeName(),this.state=580,this.match(B.MoreThan)}catch(n){if(n instanceof Je)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 Pp(this,this._ctx,this.state);this.enterRule(e,86,B.RULE_typeSeries);try{switch(this.enterOuterAlt(e,1),this.state=582,this.typeName(),this.state=586,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,69,this._ctx)){case 1:this.state=583,this.typeName();break;case 2:this.state=584,this.typeArray();break;case 3:this.state=585,this.typeMap();break}}catch(n){if(n instanceof Je)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 Sl(this,this._ctx,this.state);this.enterRule(e,88,B.RULE_typeArray);try{switch(this.state=597,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,70,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=588,this.typeName(),this.state=589,this.match(B.LessThan),this.state=590,this.typeName(),this.state=591,this.match(B.MoreThan);break;case 2:this.enterOuterAlt(e,2),this.state=593,this.typeName(),this.state=594,this.match(B.OpenBracket),this.state=595,this.match(B.CloseBracket);break}}catch(n){if(n instanceof Je)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 jo(this,this._ctx,this.state);this.enterRule(e,90,B.RULE_typeGather);try{switch(this.state=603,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,71,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=599,this.typeName();break;case 2:this.enterOuterAlt(e,2),this.state=600,this.typeArray();break;case 3:this.enterOuterAlt(e,3),this.state=601,this.typeMap();break;case 4:this.enterOuterAlt(e,4),this.state=602,this.typeSeries();break}}catch(n){if(n instanceof Je)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 yn(this,this._ctx,this.state);this.enterRule(e,92,B.RULE_identifier);let n;try{this.enterOuterAlt(e,1),this.state=605,n=this._input.LA(1),!(n-47&-32)&&1<<n-47&2449?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof Je)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 mi(this,this._ctx,this.state);this.enterRule(e,94,B.RULE_typeName);let n;try{this.enterOuterAlt(e,1),this.state=607,this.identifier(),this.state=610,this._errHandler.sync(this),n=this._input.LA(1),n===3&&(this.state=608,this.match(B.Point),this.state=609,this.identifier())}catch(r){if(r instanceof Je)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 cu(this,this._ctx,this.state);this.enterRule(e,96,B.RULE_name);try{let n;switch(this.state=633,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,76,this._ctx)){case 1:this.enterOuterAlt(e,1);{for(this.state=620,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,74,this._ctx);n!==2&&n!==Dr.INVALID_ALT_NUMBER;){if(n===1){switch(this.state=614,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,73,this._ctx)){case 1:this.state=612,this.identifier();break;case 2:this.state=613,this.methodElement();break}this.state=616,this.match(B.Point)}this.state=622,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,74,this._ctx)}this.state=623,this.identifier()}break;case 2:this.enterOuterAlt(e,2);{this.state=624,this.match(B.OpenParen),this.state=625,this.singleExpression(0),this.state=626,this.match(B.CloseParen),this.state=629,this._errHandler.sync(this),n=1;do{switch(n){case 1:this.state=627,this.match(B.Point),this.state=628,this.identifier();break;default:throw new di(this)}this.state=631,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,75,this._ctx)}while(n!==2&&n!==Dr.INVALID_ALT_NUMBER)}break}}catch(n){if(n instanceof Je)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}enumStatement(){let e=new Fp(this,this._ctx,this.state);this.enterRule(e,98,B.RULE_enumStatement);let n;try{this.enterOuterAlt(e,1);{this.state=636,this._errHandler.sync(this),n=this._input.LA(1),n===36&&(this.state=635,this.match(B.Export)),this.state=638,this.match(B.Enum),this.state=639,this.identifier(),this.state=640,this.match(B.NEWLINE),this.state=641,this.match(B.INDENT),this.state=643,this._errHandler.sync(this),n=this._input.LA(1);do this.state=642,this.enumElement(),this.state=645,this._errHandler.sync(this),n=this._input.LA(1);while(!(n-47&-32)&&1<<n-47&2449);this.state=647,this.match(B.DEDENT)}}catch(r){if(r instanceof Je)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}enumElement(){let e=new Tl(this,this._ctx,this.state);this.enterRule(e,100,B.RULE_enumElement);let n;try{this.enterOuterAlt(e,1),this.state=649,this.identifier(),this.state=652,this._errHandler.sync(this),n=this._input.LA(1),n===9&&(this.state=650,this.match(B.Assign),this.state=651,this.match(B.StringLiteral)),this.state=654,this.match(B.NEWLINE)}catch(r){if(r instanceof Je)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}sempred(e,n,r){switch(n){case 17:return this.singleExpression_sempred(e,r)}return!0}singleExpression_sempred(e,n){switch(n){case 0:return this.precpred(this._ctx,10);case 1:return this.precpred(this._ctx,9);case 2:return this.precpred(this._ctx,8);case 3:return this.precpred(this._ctx,7);case 4:return this.precpred(this._ctx,6);case 5:return this.precpred(this._ctx,5);case 6:return this.precpred(this._ctx,4);case 7:return this.precpred(this._ctx,13)}return!0}static get _ATN(){return B.__ATN||(B.__ATN=new pp().deserialize(B._serializedATN)),B.__ATN}};w(B,"INDENT",1),w(B,"DEDENT",2),w(B,"Point",3),w(B,"OpenBracket",4),w(B,"CloseBracket",5),w(B,"OpenParen",6),w(B,"CloseParen",7),w(B,"Comma",8),w(B,"Assign",9),w(B,"QuestionMark",10),w(B,"Colon",11),w(B,"Plus",12),w(B,"Minus",13),w(B,"Multiply",14),w(B,"Divide",15),w(B,"Modulus",16),w(B,"Hashtag",17),w(B,"LessThan",18),w(B,"MoreThan",19),w(B,"LessThanEquals",20),w(B,"GreaterThanEquals",21),w(B,"Equals_",22),w(B,"NotEquals",23),w(B,"MultiplyAssign",24),w(B,"DivideAssign",25),w(B,"ModulusAssign",26),w(B,"PlusAssign",27),w(B,"MinusAssign",28),w(B,"ARROW",29),w(B,"ColonEquals",30),w(B,"BooleanLiteral",31),w(B,"IntegerLiteral",32),w(B,"DecimalLiteral",33),w(B,"Break",34),w(B,"And",35),w(B,"Export",36),w(B,"For",37),w(B,"Var",38),w(B,"Continue",39),w(B,"Varip",40),w(B,"Switch",41),w(B,"While",42),w(B,"If",43),w(B,"In",44),w(B,"Or",45),w(B,"Not",46),w(B,"Method",47),w(B,"Else",48),w(B,"To",49),w(B,"By",50),w(B,"Type",51),w(B,"Import",52),w(B,"As",53),w(B,"Enum",54),w(B,"Map",55),w(B,"ColorLiteral",56),w(B,"StringLiteral",57),w(B,"Identifier",58),w(B,"HIDDEN_",59),w(B,"COMMENT_",60),w(B,"NEWLINE",61),w(B,"EOF",_p.EOF),w(B,"RULE_program",0),w(B,"RULE_globalStmt",1),w(B,"RULE_blockStmt",2),w(B,"RULE_stmt",3),w(B,"RULE_simpleStmt",4),w(B,"RULE_flowStmt",5),w(B,"RULE_block",6),w(B,"RULE_blockLine",7),w(B,"RULE_variableDeclarationStmt",8),w(B,"RULE_variableDeclarationList",9),w(B,"RULE_varModifier",10),w(B,"RULE_blockSequence",11),w(B,"RULE_expressionSequence",12),w(B,"RULE_expressionBlockSequence",13),w(B,"RULE_varBlockStmt",14),w(B,"RULE_varArrayDeclaration",15),w(B,"RULE_blockExpression",16),w(B,"RULE_singleExpression",17),w(B,"RULE_brackethesized",18),w(B,"RULE_arguments",19),w(B,"RULE_argument",20),w(B,"RULE_ifStatement",21),w(B,"RULE_forStatement",22),w(B,"RULE_switchStatement",23),w(B,"RULE_caseClause",24),w(B,"RULE_defaultCaluse",25),w(B,"RULE_whileStatement",26),w(B,"RULE_importStmt",27),w(B,"RULE_importElement",28),w(B,"RULE_literal",29),w(B,"RULE_methodStmt",30),w(B,"RULE_methodElement",31),w(B,"RULE_methodName",32),w(B,"RULE_arrowFunction",33),w(B,"RULE_arrowFunctionParameters",34),w(B,"RULE_formalParameterList",35),w(B,"RULE_formalParameterArg",36),w(B,"RULE_arrowMethod",37),w(B,"RULE_arrowMethodParameters",38),w(B,"RULE_typeStatement",39),w(B,"RULE_typeElement",40),w(B,"RULE_assignmentOperator",41),w(B,"RULE_typeMap",42),w(B,"RULE_typeSeries",43),w(B,"RULE_typeArray",44),w(B,"RULE_typeGather",45),w(B,"RULE_identifier",46),w(B,"RULE_typeName",47),w(B,"RULE_name",48),w(B,"RULE_enumStatement",49),w(B,"RULE_enumElement",50),w(B,"literalNames",[null,null,null,"'.'","'['","']'","'('","')'","','","'='","'?'","':'","'+'","'-'","'*'","'/'","'%'","'#'","'<'","'>'","'<='","'>='","'=='","'!='","'*='","'/='","'%='","'+='","'-='","'=>'","':='",null,null,null,"'break'","'and'","'export'","'for'","'var'","'continue'","'varip'","'switch'","'while'","'if'","'in'","'or'","'not'","'method'","'else'","'to'","'by'","'type'","'import'","'as'","'enum'","'map'"]),w(B,"symbolicNames",[null,"INDENT","DEDENT","Point","OpenBracket","CloseBracket","OpenParen","CloseParen","Comma","Assign","QuestionMark","Colon","Plus","Minus","Multiply","Divide","Modulus","Hashtag","LessThan","MoreThan","LessThanEquals","GreaterThanEquals","Equals_","NotEquals","MultiplyAssign","DivideAssign","ModulusAssign","PlusAssign","MinusAssign","ARROW","ColonEquals","BooleanLiteral","IntegerLiteral","DecimalLiteral","Break","And","Export","For","Var","Continue","Varip","Switch","While","If","In","Or","Not","Method","Else","To","By","Type","Import","As","Enum","Map","ColorLiteral","StringLiteral","Identifier","HIDDEN_","COMMENT_","NEWLINE"]),w(B,"ruleNames",["program","globalStmt","blockStmt","stmt","simpleStmt","flowStmt","block","blockLine","variableDeclarationStmt","variableDeclarationList","varModifier","blockSequence","expressionSequence","expressionBlockSequence","varBlockStmt","varArrayDeclaration","blockExpression","singleExpression","brackethesized","arguments","argument","ifStatement","forStatement","switchStatement","caseClause","defaultCaluse","whileStatement","importStmt","importElement","literal","methodStmt","methodElement","methodName","arrowFunction","arrowFunctionParameters","formalParameterList","formalParameterArg","arrowMethod","arrowMethodParameters","typeStatement","typeElement","assignmentOperator","typeMap","typeSeries","typeArray","typeGather","identifier","typeName","name","enumStatement","enumElement"]),w(B,"_serializedATN",[4,1,61,657,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5,2,6,7,6,2,7,7,7,2,8,7,8,2,9,7,9,2,10,7,10,2,11,7,11,2,12,7,12,2,13,7,13,2,14,7,14,2,15,7,15,2,16,7,16,2,17,7,17,2,18,7,18,2,19,7,19,2,20,7,20,2,21,7,21,2,22,7,22,2,23,7,23,2,24,7,24,2,25,7,25,2,26,7,26,2,27,7,27,2,28,7,28,2,29,7,29,2,30,7,30,2,31,7,31,2,32,7,32,2,33,7,33,2,34,7,34,2,35,7,35,2,36,7,36,2,37,7,37,2,38,7,38,2,39,7,39,2,40,7,40,2,41,7,41,2,42,7,42,2,43,7,43,2,44,7,44,2,45,7,45,2,46,7,46,2,47,7,47,2,48,7,48,2,49,7,49,2,50,7,50,1,0,1,0,5,0,105,8,0,10,0,12,0,108,9,0,1,0,1,0,1,1,1,1,3,1,114,8,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,1,124,8,1,1,2,1,2,1,2,5,2,129,8,2,10,2,12,2,132,9,2,1,2,1,2,3,2,136,8,2,1,3,1,3,3,3,140,8,3,1,3,1,3,1,3,3,3,145,8,3,1,4,1,4,1,4,1,4,3,4,151,8,4,1,5,1,5,1,6,1,6,3,6,157,8,6,1,6,1,6,1,6,3,6,162,8,6,1,7,1,7,1,7,4,7,167,8,7,11,7,12,7,168,1,7,1,7,1,8,1,8,3,8,175,8,8,1,8,1,8,1,8,3,8,180,8,8,5,8,182,8,8,10,8,12,8,185,9,8,1,9,1,9,1,9,1,9,1,9,1,9,1,9,1,9,3,9,195,8,9,1,10,1,10,1,11,1,11,3,11,201,8,11,1,11,1,11,1,11,3,11,206,8,11,5,11,208,8,11,10,11,12,11,211,9,11,1,12,1,12,1,12,5,12,216,8,12,10,12,12,12,219,9,12,1,13,1,13,3,13,223,8,13,1,13,1,13,5,13,227,8,13,10,13,12,13,230,9,13,1,13,1,13,3,13,234,8,13,1,14,1,14,1,14,1,14,1,14,1,14,3,14,242,8,14,1,14,1,14,1,15,3,15,247,8,15,1,15,3,15,250,8,15,1,15,1,15,1,15,1,15,1,15,5,15,257,8,15,10,15,12,15,260,9,15,1,15,1,15,3,15,264,8,15,1,16,1,16,1,16,1,16,3,16,270,8,16,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,3,17,284,8,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,5,17,315,8,17,10,17,12,17,318,9,17,1,18,1,18,1,18,1,18,1,19,1,19,1,19,1,19,5,19,328,8,19,10,19,12,19,331,9,19,1,19,3,19,334,8,19,3,19,336,8,19,1,19,1,19,1,20,1,20,1,20,3,20,343,8,20,1,20,1,20,3,20,347,8,20,1,21,1,21,1,21,1,21,1,21,1,21,1,21,1,21,5,21,357,8,21,10,21,12,21,360,9,21,1,21,1,21,3,21,364,8,21,1,22,1,22,3,22,368,8,22,1,22,3,22,371,8,22,1,22,1,22,1,22,1,22,1,22,1,22,1,22,3,22,380,8,22,1,22,1,22,1,22,1,22,1,22,1,22,1,22,1,22,1,22,1,22,3,22,392,8,22,1,22,1,22,1,22,1,22,3,22,398,8,22,1,23,1,23,3,23,402,8,23,1,23,1,23,1,23,4,23,407,8,23,11,23,12,23,408,1,23,5,23,412,8,23,10,23,12,23,415,9,23,1,23,3,23,418,8,23,1,23,1,23,1,24,1,24,1,24,1,24,1,25,1,25,1,25,1,26,1,26,1,26,1,26,1,27,1,27,1,27,5,27,436,8,27,10,27,12,27,439,9,27,1,27,3,27,442,8,27,1,27,1,27,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,3,28,454,8,28,1,29,1,29,1,30,1,30,1,30,5,30,461,8,30,10,30,12,30,464,9,30,1,31,1,31,1,31,1,32,1,32,1,32,5,32,472,8,32,10,32,12,32,475,9,32,1,32,1,32,1,32,1,32,1,32,3,32,482,8,32,1,32,1,32,1,32,1,32,1,32,3,32,489,8,32,1,32,1,32,3,32,493,8,32,1,33,3,33,496,8,33,1,33,1,33,1,33,1,33,1,33,1,34,1,34,3,34,505,8,34,1,34,1,34,1,35,1,35,1,35,5,35,512,8,35,10,35,12,35,515,9,35,1,36,3,36,518,8,36,1,36,1,36,1,36,3,36,523,8,36,1,37,3,37,526,8,37,1,37,1,37,1,37,1,37,1,37,1,37,1,38,1,38,1,38,1,38,1,38,3,38,539,8,38,1,38,1,38,3,38,543,8,38,1,38,1,38,1,39,3,39,548,8,39,1,39,1,39,1,39,1,39,1,39,4,39,555,8,39,11,39,12,39,556,1,39,1,39,1,40,3,40,562,8,40,1,40,3,40,565,8,40,1,40,1,40,1,40,3,40,570,8,40,1,40,1,40,1,41,1,41,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,43,1,43,1,43,1,43,3,43,587,8,43,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,3,44,598,8,44,1,45,1,45,1,45,1,45,3,45,604,8,45,1,46,1,46,1,47,1,47,1,47,3,47,611,8,47,1,48,1,48,3,48,615,8,48,1,48,1,48,5,48,619,8,48,10,48,12,48,622,9,48,1,48,1,48,1,48,1,48,1,48,1,48,4,48,630,8,48,11,48,12,48,631,3,48,634,8,48,1,49,3,49,637,8,49,1,49,1,49,1,49,1,49,1,49,4,49,644,8,49,11,49,12,49,645,1,49,1,49,1,50,1,50,1,50,3,50,653,8,50,1,50,1,50,1,50,0,1,34,51,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,0,9,2,0,34,34,39,39,2,0,38,38,40,40,1,0,12,13,1,0,14,16,1,0,18,21,1,0,22,23,2,0,31,33,56,57,2,0,24,28,30,30,4,0,47,47,51,51,54,55,58,58,707,0,106,1,0,0,0,2,123,1,0,0,0,4,130,1,0,0,0,6,144,1,0,0,0,8,150,1,0,0,0,10,152,1,0,0,0,12,161,1,0,0,0,14,163,1,0,0,0,16,174,1,0,0,0,18,194,1,0,0,0,20,196,1,0,0,0,22,200,1,0,0,0,24,212,1,0,0,0,26,228,1,0,0,0,28,241,1,0,0,0,30,263,1,0,0,0,32,269,1,0,0,0,34,283,1,0,0,0,36,319,1,0,0,0,38,323,1,0,0,0,40,342,1,0,0,0,42,348,1,0,0,0,44,397,1,0,0,0,46,399,1,0,0,0,48,421,1,0,0,0,50,425,1,0,0,0,52,428,1,0,0,0,54,432,1,0,0,0,56,445,1,0,0,0,58,455,1,0,0,0,60,457,1,0,0,0,62,465,1,0,0,0,64,481,1,0,0,0,66,495,1,0,0,0,68,502,1,0,0,0,70,508,1,0,0,0,72,517,1,0,0,0,74,525,1,0,0,0,76,533,1,0,0,0,78,547,1,0,0,0,80,561,1,0,0,0,82,573,1,0,0,0,84,575,1,0,0,0,86,582,1,0,0,0,88,597,1,0,0,0,90,603,1,0,0,0,92,605,1,0,0,0,94,607,1,0,0,0,96,633,1,0,0,0,98,636,1,0,0,0,100,649,1,0,0,0,102,105,5,61,0,0,103,105,3,2,1,0,104,102,1,0,0,0,104,103,1,0,0,0,105,108,1,0,0,0,106,104,1,0,0,0,106,107,1,0,0,0,107,109,1,0,0,0,108,106,1,0,0,0,109,110,5,0,0,1,110,1,1,0,0,0,111,113,3,16,8,0,112,114,5,8,0,0,113,112,1,0,0,0,113,114,1,0,0,0,114,115,1,0,0,0,115,116,5,61,0,0,116,124,1,0,0,0,117,124,3,4,2,0,118,124,3,54,27,0,119,124,3,66,33,0,120,124,3,74,37,0,121,124,3,78,39,0,122,124,3,98,49,0,123,111,1,0,0,0,123,117,1,0,0,0,123,118,1,0,0,0,123,119,1,0,0,0,123,120,1,0,0,0,123,121,1,0,0,0,123,122,1,0,0,0,124,3,1,0,0,0,125,126,3,16,8,0,126,127,5,8,0,0,127,129,1,0,0,0,128,125,1,0,0,0,129,132,1,0,0,0,130,128,1,0,0,0,130,131,1,0,0,0,131,135,1,0,0,0,132,130,1,0,0,0,133,136,3,28,14,0,134,136,3,32,16,0,135,133,1,0,0,0,135,134,1,0,0,0,136,5,1,0,0,0,137,139,3,8,4,0,138,140,5,8,0,0,139,138,1,0,0,0,139,140,1,0,0,0,140,141,1,0,0,0,141,142,5,61,0,0,142,145,1,0,0,0,143,145,3,26,13,0,144,137,1,0,0,0,144,143,1,0,0,0,145,7,1,0,0,0,146,151,3,24,12,0,147,151,3,22,11,0,148,151,3,36,18,0,149,151,3,10,5,0,150,146,1,0,0,0,150,147,1,0,0,0,150,148,1,0,0,0,150,149,1,0,0,0,151,9,1,0,0,0,152,153,7,0,0,0,153,11,1,0,0,0,154,156,3,8,4,0,155,157,5,8,0,0,156,155,1,0,0,0,156,157,1,0,0,0,157,158,1,0,0,0,158,159,5,61,0,0,159,162,1,0,0,0,160,162,3,14,7,0,161,154,1,0,0,0,161,160,1,0,0,0,162,13,1,0,0,0,163,164,5,61,0,0,164,166,5,1,0,0,165,167,3,6,3,0,166,165,1,0,0,0,167,168,1,0,0,0,168,166,1,0,0,0,168,169,1,0,0,0,169,170,1,0,0,0,170,171,5,2,0,0,171,15,1,0,0,0,172,175,3,60,30,0,173,175,3,18,9,0,174,172,1,0,0,0,174,173,1,0,0,0,175,183,1,0,0,0,176,179,5,8,0,0,177,180,3,60,30,0,178,180,3,18,9,0,179,177,1,0,0,0,179,178,1,0,0,0,180,182,1,0,0,0,181,176,1,0,0,0,182,185,1,0,0,0,183,181,1,0,0,0,183,184,1,0,0,0,184,17,1,0,0,0,185,183,1,0,0,0,186,187,3,30,15,0,187,188,5,9,0,0,188,189,3,34,17,0,189,195,1,0,0,0,190,191,3,96,48,0,191,192,3,82,41,0,192,193,3,34,17,0,193,195,1,0,0,0,194,186,1,0,0,0,194,190,1,0,0,0,195,19,1,0,0,0,196,197,7,1,0,0,197,21,1,0,0,0,198,201,3,34,17,0,199,201,3,18,9,0,200,198,1,0,0,0,200,199,1,0,0,0,201,209,1,0,0,0,202,205,5,8,0,0,203,206,3,34,17,0,204,206,3,18,9,0,205,203,1,0,0,0,205,204,1,0,0,0,206,208,1,0,0,0,207,202,1,0,0,0,208,211,1,0,0,0,209,207,1,0,0,0,209,210,1,0,0,0,210,23,1,0,0,0,211,209,1,0,0,0,212,217,3,34,17,0,213,214,5,8,0,0,214,216,3,34,17,0,215,213,1,0,0,0,216,219,1,0,0,0,217,215,1,0,0,0,217,218,1,0,0,0,218,25,1,0,0,0,219,217,1,0,0,0,220,223,3,34,17,0,221,223,3,18,9,0,222,220,1,0,0,0,222,221,1,0,0,0,223,224,1,0,0,0,224,225,5,8,0,0,225,227,1,0,0,0,226,222,1,0,0,0,227,230,1,0,0,0,228,226,1,0,0,0,228,229,1,0,0,0,229,233,1,0,0,0,230,228,1,0,0,0,231,234,3,28,14,0,232,234,3,32,16,0,233,231,1,0,0,0,233,232,1,0,0,0,234,27,1,0,0,0,235,236,3,30,15,0,236,237,5,9,0,0,237,242,1,0,0,0,238,239,3,96,48,0,239,240,3,82,41,0,240,242,1,0,0,0,241,235,1,0,0,0,241,238,1,0,0,0,242,243,1,0,0,0,243,244,3,32,16,0,244,29,1,0,0,0,245,247,3,20,10,0,246,245,1,0,0,0,246,247,1,0,0,0,247,249,1,0,0,0,248,250,3,90,45,0,249,248,1,0,0,0,249,250,1,0,0,0,250,251,1,0,0,0,251,264,3,92,46,0,252,253,5,4,0,0,253,258,3,92,46,0,254,255,5,8,0,0,255,257,3,92,46,0,256,254,1,0,0,0,257,260,1,0,0,0,258,256,1,0,0,0,258,259,1,0,0,0,259,261,1,0,0,0,260,258,1,0,0,0,261,262,5,5,0,0,262,264,1,0,0,0,263,246,1,0,0,0,263,252,1,0,0,0,264,31,1,0,0,0,265,270,3,42,21,0,266,270,3,44,22,0,267,270,3,52,26,0,268,270,3,46,23,0,269,265,1,0,0,0,269,266,1,0,0,0,269,267,1,0,0,0,269,268,1,0,0,0,270,33,1,0,0,0,271,272,6,17,-1,0,272,284,3,60,30,0,273,274,7,2,0,0,274,284,3,34,17,12,275,276,5,46,0,0,276,284,3,34,17,11,277,284,3,96,48,0,278,284,3,58,29,0,279,280,5,6,0,0,280,281,3,34,17,0,281,282,5,7,0,0,282,284,1,0,0,0,283,271,1,0,0,0,283,273,1,0,0,0,283,275,1,0,0,0,283,277,1,0,0,0,283,278,1,0,0,0,283,279,1,0,0,0,284,316,1,0,0,0,285,286,10,10,0,0,286,287,7,3,0,0,287,315,3,34,17,11,288,289,10,9,0,0,289,290,7,2,0,0,290,315,3,34,17,10,291,292,10,8,0,0,292,293,7,4,0,0,293,315,3,34,17,9,294,295,10,7,0,0,295,296,7,5,0,0,296,315,3,34,17,8,297,298,10,6,0,0,298,299,5,35,0,0,299,315,3,34,17,7,300,301,10,5,0,0,301,302,5,45,0,0,302,315,3,34,17,6,303,304,10,4,0,0,304,305,5,10,0,0,305,306,3,34,17,0,306,307,5,11,0,0,307,308,3,34,17,4,308,315,1,0,0,0,309,310,10,13,0,0,310,311,5,4,0,0,311,312,3,34,17,0,312,313,5,5,0,0,313,315,1,0,0,0,314,285,1,0,0,0,314,288,1,0,0,0,314,291,1,0,0,0,314,294,1,0,0,0,314,297,1,0,0,0,314,300,1,0,0,0,314,303,1,0,0,0,314,309,1,0,0,0,315,318,1,0,0,0,316,314,1,0,0,0,316,317,1,0,0,0,317,35,1,0,0,0,318,316,1,0,0,0,319,320,5,4,0,0,320,321,3,24,12,0,321,322,5,5,0,0,322,37,1,0,0,0,323,335,5,6,0,0,324,329,3,40,20,0,325,326,5,8,0,0,326,328,3,40,20,0,327,325,1,0,0,0,328,331,1,0,0,0,329,327,1,0,0,0,329,330,1,0,0,0,330,333,1,0,0,0,331,329,1,0,0,0,332,334,5,8,0,0,333,332,1,0,0,0,333,334,1,0,0,0,334,336,1,0,0,0,335,324,1,0,0,0,335,336,1,0,0,0,336,337,1,0,0,0,337,338,5,7,0,0,338,39,1,0,0,0,339,340,3,92,46,0,340,341,5,9,0,0,341,343,1,0,0,0,342,339,1,0,0,0,342,343,1,0,0,0,343,346,1,0,0,0,344,347,3,34,17,0,345,347,3,36,18,0,346,344,1,0,0,0,346,345,1,0,0,0,347,41,1,0,0,0,348,349,5,43,0,0,349,350,3,34,17,0,350,358,3,14,7,0,351,352,5,48,0,0,352,353,5,43,0,0,353,354,3,34,17,0,354,355,3,14,7,0,355,357,1,0,0,0,356,351,1,0,0,0,357,360,1,0,0,0,358,356,1,0,0,0,358,359,1,0,0,0,359,363,1,0,0,0,360,358,1,0,0,0,361,362,5,48,0,0,362,364,3,14,7,0,363,361,1,0,0,0,363,364,1,0,0,0,364,43,1,0,0,0,365,367,5,37,0,0,366,368,3,20,10,0,367,366,1,0,0,0,367,368,1,0,0,0,368,370,1,0,0,0,369,371,3,90,45,0,370,369,1,0,0,0,370,371,1,0,0,0,371,372,1,0,0,0,372,373,3,92,46,0,373,374,5,9,0,0,374,375,3,34,17,0,375,376,5,49,0,0,376,379,3,34,17,0,377,378,5,50,0,0,378,380,3,34,17,0,379,377,1,0,0,0,379,380,1,0,0,0,380,381,1,0,0,0,381,382,3,14,7,0,382,398,1,0,0,0,383,391,5,37,0,0,384,392,3,92,46,0,385,386,5,4,0,0,386,387,3,92,46,0,387,388,5,8,0,0,388,389,3,92,46,0,389,390,5,5,0,0,390,392,1,0,0,0,391,384,1,0,0,0,391,385,1,0,0,0,392,393,1,0,0,0,393,394,5,44,0,0,394,395,3,34,17,0,395,396,3,14,7,0,396,398,1,0,0,0,397,365,1,0,0,0,397,383,1,0,0,0,398,45,1,0,0,0,399,401,5,41,0,0,400,402,3,34,17,0,401,400,1,0,0,0,401,402,1,0,0,0,402,403,1,0,0,0,403,404,5,61,0,0,404,417,5,1,0,0,405,407,3,48,24,0,406,405,1,0,0,0,407,408,1,0,0,0,408,406,1,0,0,0,408,409,1,0,0,0,409,418,1,0,0,0,410,412,3,48,24,0,411,410,1,0,0,0,412,415,1,0,0,0,413,411,1,0,0,0,413,414,1,0,0,0,414,416,1,0,0,0,415,413,1,0,0,0,416,418,3,50,25,0,417,406,1,0,0,0,417,413,1,0,0,0,418,419,1,0,0,0,419,420,5,2,0,0,420,47,1,0,0,0,421,422,3,34,17,0,422,423,5,29,0,0,423,424,3,12,6,0,424,49,1,0,0,0,425,426,5,29,0,0,426,427,3,12,6,0,427,51,1,0,0,0,428,429,5,42,0,0,429,430,3,34,17,0,430,431,3,14,7,0,431,53,1,0,0,0,432,437,3,56,28,0,433,434,5,8,0,0,434,436,3,56,28,0,435,433,1,0,0,0,436,439,1,0,0,0,437,435,1,0,0,0,437,438,1,0,0,0,438,441,1,0,0,0,439,437,1,0,0,0,440,442,5,8,0,0,441,440,1,0,0,0,441,442,1,0,0,0,442,443,1,0,0,0,443,444,5,61,0,0,444,55,1,0,0,0,445,446,5,52,0,0,446,447,3,92,46,0,447,448,5,15,0,0,448,449,3,92,46,0,449,450,5,15,0,0,450,453,5,32,0,0,451,452,5,53,0,0,452,454,3,92,46,0,453,451,1,0,0,0,453,454,1,0,0,0,454,57,1,0,0,0,455,456,7,6,0,0,456,59,1,0,0,0,457,462,3,62,31,0,458,459,5,3,0,0,459,461,3,62,31,0,460,458,1,0,0,0,461,464,1,0,0,0,462,460,1,0,0,0,462,463,1,0,0,0,463,61,1,0,0,0,464,462,1,0,0,0,465,466,3,64,32,0,466,467,3,38,19,0,467,63,1,0,0,0,468,469,3,92,46,0,469,470,5,3,0,0,470,472,1,0,0,0,471,468,1,0,0,0,472,475,1,0,0,0,473,471,1,0,0,0,473,474,1,0,0,0,474,482,1,0,0,0,475,473,1,0,0,0,476,477,5,6,0,0,477,478,3,34,17,0,478,479,5,7,0,0,479,480,5,3,0,0,480,482,1,0,0,0,481,473,1,0,0,0,481,476,1,0,0,0,482,483,1,0,0,0,483,492,3,92,46,0,484,485,5,18,0,0,485,488,3,94,47,0,486,487,5,8,0,0,487,489,3,94,47,0,488,486,1,0,0,0,488,489,1,0,0,0,489,490,1,0,0,0,490,491,5,19,0,0,491,493,1,0,0,0,492,484,1,0,0,0,492,493,1,0,0,0,493,65,1,0,0,0,494,496,5,36,0,0,495,494,1,0,0,0,495,496,1,0,0,0,496,497,1,0,0,0,497,498,3,92,46,0,498,499,3,68,34,0,499,500,5,29,0,0,500,501,3,12,6,0,501,67,1,0,0,0,502,504,5,6,0,0,503,505,3,70,35,0,504,503,1,0,0,0,504,505,1,0,0,0,505,506,1,0,0,0,506,507,5,7,0,0,507,69,1,0,0,0,508,513,3,72,36,0,509,510,5,8,0,0,510,512,3,72,36,0,511,509,1,0,0,0,512,515,1,0,0,0,513,511,1,0,0,0,513,514,1,0,0,0,514,71,1,0,0,0,515,513,1,0,0,0,516,518,3,90,45,0,517,516,1,0,0,0,517,518,1,0,0,0,518,519,1,0,0,0,519,522,3,92,46,0,520,521,5,9,0,0,521,523,3,34,17,0,522,520,1,0,0,0,522,523,1,0,0,0,523,73,1,0,0,0,524,526,5,36,0,0,525,524,1,0,0,0,525,526,1,0,0,0,526,527,1,0,0,0,527,528,5,47,0,0,528,529,3,92,46,0,529,530,3,76,38,0,530,531,5,29,0,0,531,532,3,12,6,0,532,75,1,0,0,0,533,534,5,6,0,0,534,535,3,90,45,0,535,538,3,92,46,0,536,537,5,9,0,0,537,539,3,34,17,0,538,536,1,0,0,0,538,539,1,0,0,0,539,542,1,0,0,0,540,541,5,8,0,0,541,543,3,70,35,0,542,540,1,0,0,0,542,543,1,0,0,0,543,544,1,0,0,0,544,545,5,7,0,0,545,77,1,0,0,0,546,548,5,36,0,0,547,546,1,0,0,0,547,548,1,0,0,0,548,549,1,0,0,0,549,550,5,51,0,0,550,551,3,92,46,0,551,552,5,61,0,0,552,554,5,1,0,0,553,555,3,80,40,0,554,553,1,0,0,0,555,556,1,0,0,0,556,554,1,0,0,0,556,557,1,0,0,0,557,558,1,0,0,0,558,559,5,2,0,0,559,79,1,0,0,0,560,562,5,40,0,0,561,560,1,0,0,0,561,562,1,0,0,0,562,564,1,0,0,0,563,565,3,90,45,0,564,563,1,0,0,0,564,565,1,0,0,0,565,566,1,0,0,0,566,569,3,92,46,0,567,568,5,9,0,0,568,570,3,34,17,0,569,567,1,0,0,0,569,570,1,0,0,0,570,571,1,0,0,0,571,572,5,61,0,0,572,81,1,0,0,0,573,574,7,7,0,0,574,83,1,0,0,0,575,576,5,55,0,0,576,577,5,18,0,0,577,578,3,94,47,0,578,579,5,8,0,0,579,580,3,94,47,0,580,581,5,19,0,0,581,85,1,0,0,0,582,586,3,94,47,0,583,587,3,94,47,0,584,587,3,88,44,0,585,587,3,84,42,0,586,583,1,0,0,0,586,584,1,0,0,0,586,585,1,0,0,0,587,87,1,0,0,0,588,589,3,94,47,0,589,590,5,18,0,0,590,591,3,94,47,0,591,592,5,19,0,0,592,598,1,0,0,0,593,594,3,94,47,0,594,595,5,4,0,0,595,596,5,5,0,0,596,598,1,0,0,0,597,588,1,0,0,0,597,593,1,0,0,0,598,89,1,0,0,0,599,604,3,94,47,0,600,604,3,88,44,0,601,604,3,84,42,0,602,604,3,86,43,0,603,599,1,0,0,0,603,600,1,0,0,0,603,601,1,0,0,0,603,602,1,0,0,0,604,91,1,0,0,0,605,606,7,8,0,0,606,93,1,0,0,0,607,610,3,92,46,0,608,609,5,3,0,0,609,611,3,92,46,0,610,608,1,0,0,0,610,611,1,0,0,0,611,95,1,0,0,0,612,615,3,92,46,0,613,615,3,62,31,0,614,612,1,0,0,0,614,613,1,0,0,0,615,616,1,0,0,0,616,617,5,3,0,0,617,619,1,0,0,0,618,614,1,0,0,0,619,622,1,0,0,0,620,618,1,0,0,0,620,621,1,0,0,0,621,623,1,0,0,0,622,620,1,0,0,0,623,634,3,92,46,0,624,625,5,6,0,0,625,626,3,34,17,0,626,629,5,7,0,0,627,628,5,3,0,0,628,630,3,92,46,0,629,627,1,0,0,0,630,631,1,0,0,0,631,629,1,0,0,0,631,632,1,0,0,0,632,634,1,0,0,0,633,620,1,0,0,0,633,624,1,0,0,0,634,97,1,0,0,0,635,637,5,36,0,0,636,635,1,0,0,0,636,637,1,0,0,0,637,638,1,0,0,0,638,639,5,54,0,0,639,640,3,92,46,0,640,641,5,61,0,0,641,643,5,1,0,0,642,644,3,100,50,0,643,642,1,0,0,0,644,645,1,0,0,0,645,643,1,0,0,0,645,646,1,0,0,0,646,647,1,0,0,0,647,648,5,2,0,0,648,99,1,0,0,0,649,652,3,92,46,0,650,651,5,9,0,0,651,653,5,57,0,0,652,650,1,0,0,0,652,653,1,0,0,0,653,654,1,0,0,0,654,655,5,61,0,0,655,101,1,0,0,0,80,104,106,113,123,130,135,139,144,150,156,161,168,174,179,183,194,200,205,209,217,222,228,233,241,246,249,258,263,269,283,314,316,329,333,335,342,346,358,363,367,370,379,391,397,401,408,413,417,437,441,453,462,473,481,488,492,495,504,513,517,522,525,538,542,547,556,561,564,569,586,597,603,610,614,620,631,633,636,645,652]),w(B,"__ATN"),w(B,"DecisionsToDFA",B._ATN.decisionToState.map((e,n)=>new dp(e,n)));let L=B;class g_ extends Ye{constructor(e,n,r){super(n,r),this.parser=e}EOF(){return this.getToken(L.EOF,0)}NEWLINE_list(){return this.getTokens(L.NEWLINE)}NEWLINE(e){return this.getToken(L.NEWLINE,e)}globalStmt_list(){return this.getTypedRuleContexts(al)}globalStmt(e){return this.getTypedRuleContext(al,e)}get ruleIndex(){return L.RULE_program}accept(e){return e.visitProgram?e.visitProgram(this):e.visitChildren(this)}}class al extends Ye{constructor(e,n,r){super(n,r),this.parser=e}variableDeclarationStmt(){return this.getTypedRuleContext(ou,0)}NEWLINE(){return this.getToken(L.NEWLINE,0)}Comma(){return this.getToken(L.Comma,0)}blockStmt(){return this.getTypedRuleContext(yp,0)}importStmt(){return this.getTypedRuleContext(Cp,0)}arrowFunction(){return this.getTypedRuleContext(kp,0)}arrowMethod(){return this.getTypedRuleContext(Rp,0)}typeStatement(){return this.getTypedRuleContext(Ip,0)}enumStatement(){return this.getTypedRuleContext(Fp,0)}get ruleIndex(){return L.RULE_globalStmt}accept(e){return e.visitGlobalStmt?e.visitGlobalStmt(this):e.visitChildren(this)}}class yp extends Ye{constructor(e,n,r){super(n,r),this.parser=e}varBlockStmt(){return this.getTypedRuleContext(hl,0)}blockExpression(){return this.getTypedRuleContext(su,0)}variableDeclarationStmt_list(){return this.getTypedRuleContexts(ou)}variableDeclarationStmt(e){return this.getTypedRuleContext(ou,e)}Comma_list(){return this.getTokens(L.Comma)}Comma(e){return this.getToken(L.Comma,e)}get ruleIndex(){return L.RULE_blockStmt}accept(e){return e.visitBlockStmt?e.visitBlockStmt(this):e.visitChildren(this)}}class ul extends Ye{constructor(e,n,r){super(n,r),this.parser=e}simpleStmt(){return this.getTypedRuleContext(cl,0)}NEWLINE(){return this.getToken(L.NEWLINE,0)}Comma(){return this.getToken(L.Comma,0)}expressionBlockSequence(){return this.getTypedRuleContext(vp,0)}get ruleIndex(){return L.RULE_stmt}accept(e){return e.visitStmt?e.visitStmt(this):e.visitChildren(this)}}class cl extends Ye{constructor(e,n,r){super(n,r),this.parser=e}expressionSequence(){return this.getTypedRuleContext(fl,0)}blockSequence(){return this.getTypedRuleContext(bp,0)}brackethesized(){return this.getTypedRuleContext(pl,0)}flowStmt(){return this.getTypedRuleContext(gp,0)}get ruleIndex(){return L.RULE_simpleStmt}accept(e){return e.visitSimpleStmt?e.visitSimpleStmt(this):e.visitChildren(this)}}class gp extends Ye{constructor(e,n,r){super(n,r),this.parser=e}Break(){return this.getToken(L.Break,0)}Continue(){return this.getToken(L.Continue,0)}get ruleIndex(){return L.RULE_flowStmt}accept(e){return e.visitFlowStmt?e.visitFlowStmt(this):e.visitChildren(this)}}class ia extends Ye{constructor(e,n,r){super(n,r),this.parser=e}simpleStmt(){return this.getTypedRuleContext(cl,0)}NEWLINE(){return this.getToken(L.NEWLINE,0)}Comma(){return this.getToken(L.Comma,0)}blockLine(){return this.getTypedRuleContext(mo,0)}get ruleIndex(){return L.RULE_block}accept(e){return e.visitBlock?e.visitBlock(this):e.visitChildren(this)}}class mo extends Ye{constructor(e,n,r){super(n,r),this.parser=e}NEWLINE(){return this.getToken(L.NEWLINE,0)}INDENT(){return this.getToken(L.INDENT,0)}DEDENT(){return this.getToken(L.DEDENT,0)}stmt_list(){return this.getTypedRuleContexts(ul)}stmt(e){return this.getTypedRuleContext(ul,e)}get ruleIndex(){return L.RULE_blockLine}accept(e){return e.visitBlockLine?e.visitBlockLine(this):e.visitChildren(this)}}class ou extends Ye{constructor(e,n,r){super(n,r),this.parser=e}methodStmt_list(){return this.getTypedRuleContexts(uu)}methodStmt(e){return this.getTypedRuleContext(uu,e)}variableDeclarationList_list(){return this.getTypedRuleContexts(Ni)}variableDeclarationList(e){return this.getTypedRuleContext(Ni,e)}Comma_list(){return this.getTokens(L.Comma)}Comma(e){return this.getToken(L.Comma,e)}get ruleIndex(){return L.RULE_variableDeclarationStmt}accept(e){return e.visitVariableDeclarationStmt?e.visitVariableDeclarationStmt(this):e.visitChildren(this)}}class Ni extends Ye{constructor(e,n,r){super(n,r),this.parser=e}get ruleIndex(){return L.RULE_variableDeclarationList}copyFrom(e){super.copyFrom(e)}}class b_ extends Ni{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}name(){return this.getTypedRuleContext(cu,0)}assignmentOperator(){return this.getTypedRuleContext(vl,0)}singleExpression(){return this.getTypedRuleContext($e,0)}accept(e){return e.visitAgainAssign?e.visitAgainAssign(this):e.visitChildren(this)}}class v_ extends Ni{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}varArrayDeclaration(){return this.getTypedRuleContext(oa,0)}Assign(){return this.getToken(L.Assign,0)}singleExpression(){return this.getTypedRuleContext($e,0)}accept(e){return e.visitDeclareAssign?e.visitDeclareAssign(this):e.visitChildren(this)}}class ll extends Ye{constructor(e,n,r){super(n,r),this.parser=e}Var(){return this.getToken(L.Var,0)}Varip(){return this.getToken(L.Varip,0)}get ruleIndex(){return L.RULE_varModifier}accept(e){return e.visitVarModifier?e.visitVarModifier(this):e.visitChildren(this)}}class bp extends Ye{constructor(e,n,r){super(n,r),this.parser=e}singleExpression_list(){return this.getTypedRuleContexts($e)}singleExpression(e){return this.getTypedRuleContext($e,e)}variableDeclarationList_list(){return this.getTypedRuleContexts(Ni)}variableDeclarationList(e){return this.getTypedRuleContext(Ni,e)}Comma_list(){return this.getTokens(L.Comma)}Comma(e){return this.getToken(L.Comma,e)}get ruleIndex(){return L.RULE_blockSequence}accept(e){return e.visitBlockSequence?e.visitBlockSequence(this):e.visitChildren(this)}}class fl extends Ye{constructor(e,n,r){super(n,r),this.parser=e}singleExpression_list(){return this.getTypedRuleContexts($e)}singleExpression(e){return this.getTypedRuleContext($e,e)}Comma_list(){return this.getTokens(L.Comma)}Comma(e){return this.getToken(L.Comma,e)}get ruleIndex(){return L.RULE_expressionSequence}accept(e){return e.visitExpressionSequence?e.visitExpressionSequence(this):e.visitChildren(this)}}class vp extends Ye{constructor(e,n,r){super(n,r),this.parser=e}varBlockStmt(){return this.getTypedRuleContext(hl,0)}blockExpression(){return this.getTypedRuleContext(su,0)}Comma_list(){return this.getTokens(L.Comma)}Comma(e){return this.getToken(L.Comma,e)}singleExpression_list(){return this.getTypedRuleContexts($e)}singleExpression(e){return this.getTypedRuleContext($e,e)}variableDeclarationList_list(){return this.getTypedRuleContexts(Ni)}variableDeclarationList(e){return this.getTypedRuleContext(Ni,e)}get ruleIndex(){return L.RULE_expressionBlockSequence}accept(e){return e.visitExpressionBlockSequence?e.visitExpressionBlockSequence(this):e.visitChildren(this)}}class hl extends Ye{constructor(e,n,r){super(n,r),this.parser=e}blockExpression(){return this.getTypedRuleContext(su,0)}varArrayDeclaration(){return this.getTypedRuleContext(oa,0)}Assign(){return this.getToken(L.Assign,0)}name(){return this.getTypedRuleContext(cu,0)}assignmentOperator(){return this.getTypedRuleContext(vl,0)}get ruleIndex(){return L.RULE_varBlockStmt}accept(e){return e.visitVarBlockStmt?e.visitVarBlockStmt(this):e.visitChildren(this)}}class oa extends Ye{constructor(e,n,r){super(n,r),this.parser=e}get ruleIndex(){return L.RULE_varArrayDeclaration}copyFrom(e){super.copyFrom(e)}}class E_ extends oa{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}OpenBracket(){return this.getToken(L.OpenBracket,0)}identifier_list(){return this.getTypedRuleContexts(yn)}identifier(e){return this.getTypedRuleContext(yn,e)}CloseBracket(){return this.getToken(L.CloseBracket,0)}Comma_list(){return this.getTokens(L.Comma)}Comma(e){return this.getToken(L.Comma,e)}accept(e){return e.visitVarMultiple?e.visitVarMultiple(this):e.visitChildren(this)}}class S_ extends oa{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}identifier(){return this.getTypedRuleContext(yn,0)}varModifier(){return this.getTypedRuleContext(ll,0)}typeGather(){return this.getTypedRuleContext(jo,0)}accept(e){return e.visitVarSingle?e.visitVarSingle(this):e.visitChildren(this)}}class su extends Ye{constructor(e,n,r){super(n,r),this.parser=e}ifStatement(){return this.getTypedRuleContext(Sp,0)}forStatement(){return this.getTypedRuleContext(au,0)}whileStatement(){return this.getTypedRuleContext(Ap,0)}switchStatement(){return this.getTypedRuleContext(Tp,0)}get ruleIndex(){return L.RULE_blockExpression}accept(e){return e.visitBlockExpression?e.visitBlockExpression(this):e.visitChildren(this)}}class $e extends Ye{constructor(e,n,r){super(n,r),this.parser=e}get ruleIndex(){return L.RULE_singleExpression}copyFrom(e){super.copyFrom(e)}}class T_ extends $e{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}OpenParen(){return this.getToken(L.OpenParen,0)}singleExpression(){return this.getTypedRuleContext($e,0)}CloseParen(){return this.getToken(L.CloseParen,0)}accept(e){return e.visitParenthesizedExpression?e.visitParenthesizedExpression(this):e.visitChildren(this)}}class x_ extends $e{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}singleExpression_list(){return this.getTypedRuleContexts($e)}singleExpression(e){return this.getTypedRuleContext($e,e)}Plus(){return this.getToken(L.Plus,0)}Minus(){return this.getToken(L.Minus,0)}accept(e){return e.visitAdditiveExpression?e.visitAdditiveExpression(this):e.visitChildren(this)}}class A_ extends $e{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}singleExpression_list(){return this.getTypedRuleContexts($e)}singleExpression(e){return this.getTypedRuleContext($e,e)}LessThan(){return this.getToken(L.LessThan,0)}MoreThan(){return this.getToken(L.MoreThan,0)}LessThanEquals(){return this.getToken(L.LessThanEquals,0)}GreaterThanEquals(){return this.getToken(L.GreaterThanEquals,0)}accept(e){return e.visitRelationalExpression?e.visitRelationalExpression(this):e.visitChildren(this)}}class C_ extends $e{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}singleExpression_list(){return this.getTypedRuleContexts($e)}singleExpression(e){return this.getTypedRuleContext($e,e)}QuestionMark(){return this.getToken(L.QuestionMark,0)}Colon(){return this.getToken(L.Colon,0)}accept(e){return e.visitTernaryExpression?e.visitTernaryExpression(this):e.visitChildren(this)}}class O_ extends $e{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}singleExpression_list(){return this.getTypedRuleContexts($e)}singleExpression(e){return this.getTypedRuleContext($e,e)}And(){return this.getToken(L.And,0)}accept(e){return e.visitLogicalAndExpression?e.visitLogicalAndExpression(this):e.visitChildren(this)}}class D_ extends $e{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}name(){return this.getTypedRuleContext(cu,0)}accept(e){return e.visitNameExpression?e.visitNameExpression(this):e.visitChildren(this)}}class k_ extends $e{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}literal(){return this.getTypedRuleContext(Op,0)}accept(e){return e.visitLiteralExpression?e.visitLiteralExpression(this):e.visitChildren(this)}}class w_ extends $e{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}singleExpression_list(){return this.getTypedRuleContexts($e)}singleExpression(e){return this.getTypedRuleContext($e,e)}Or(){return this.getToken(L.Or,0)}accept(e){return e.visitLogicalOrExpression?e.visitLogicalOrExpression(this):e.visitChildren(this)}}class R_ extends $e{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}singleExpression(){return this.getTypedRuleContext($e,0)}Minus(){return this.getToken(L.Minus,0)}Plus(){return this.getToken(L.Plus,0)}accept(e){return e.visitUnaryExpression?e.visitUnaryExpression(this):e.visitChildren(this)}}class N_ extends $e{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}Not(){return this.getToken(L.Not,0)}singleExpression(){return this.getTypedRuleContext($e,0)}accept(e){return e.visitNotExpression?e.visitNotExpression(this):e.visitChildren(this)}}class I_ extends $e{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}singleExpression_list(){return this.getTypedRuleContexts($e)}singleExpression(e){return this.getTypedRuleContext($e,e)}OpenBracket(){return this.getToken(L.OpenBracket,0)}CloseBracket(){return this.getToken(L.CloseBracket,0)}accept(e){return e.visitMemberIndexExpression?e.visitMemberIndexExpression(this):e.visitChildren(this)}}class P_ extends $e{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}methodStmt(){return this.getTypedRuleContext(uu,0)}accept(e){return e.visitMethodExpression?e.visitMethodExpression(this):e.visitChildren(this)}}class F_ extends $e{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}singleExpression_list(){return this.getTypedRuleContexts($e)}singleExpression(e){return this.getTypedRuleContext($e,e)}Equals_(){return this.getToken(L.Equals_,0)}NotEquals(){return this.getToken(L.NotEquals,0)}accept(e){return e.visitEqualityExpression?e.visitEqualityExpression(this):e.visitChildren(this)}}class L_ extends $e{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}singleExpression_list(){return this.getTypedRuleContexts($e)}singleExpression(e){return this.getTypedRuleContext($e,e)}Multiply(){return this.getToken(L.Multiply,0)}Divide(){return this.getToken(L.Divide,0)}Modulus(){return this.getToken(L.Modulus,0)}accept(e){return e.visitMultiplicativeExpression?e.visitMultiplicativeExpression(this):e.visitChildren(this)}}class pl extends Ye{constructor(e,n,r){super(n,r),this.parser=e}OpenBracket(){return this.getToken(L.OpenBracket,0)}expressionSequence(){return this.getTypedRuleContext(fl,0)}CloseBracket(){return this.getToken(L.CloseBracket,0)}get ruleIndex(){return L.RULE_brackethesized}accept(e){return e.visitBrackethesized?e.visitBrackethesized(this):e.visitChildren(this)}}class Ep extends Ye{constructor(e,n,r){super(n,r),this.parser=e}OpenParen(){return this.getToken(L.OpenParen,0)}CloseParen(){return this.getToken(L.CloseParen,0)}argument_list(){return this.getTypedRuleContexts(dl)}argument(e){return this.getTypedRuleContext(dl,e)}Comma_list(){return this.getTokens(L.Comma)}Comma(e){return this.getToken(L.Comma,e)}get ruleIndex(){return L.RULE_arguments}accept(e){return e.visitArguments?e.visitArguments(this):e.visitChildren(this)}}class dl extends Ye{constructor(e,n,r){super(n,r),this.parser=e}singleExpression(){return this.getTypedRuleContext($e,0)}brackethesized(){return this.getTypedRuleContext(pl,0)}identifier(){return this.getTypedRuleContext(yn,0)}Assign(){return this.getToken(L.Assign,0)}get ruleIndex(){return L.RULE_argument}accept(e){return e.visitArgument?e.visitArgument(this):e.visitChildren(this)}}class Sp extends Ye{constructor(e,n,r){super(n,r),this.parser=e}If_list(){return this.getTokens(L.If)}If(e){return this.getToken(L.If,e)}singleExpression_list(){return this.getTypedRuleContexts($e)}singleExpression(e){return this.getTypedRuleContext($e,e)}blockLine_list(){return this.getTypedRuleContexts(mo)}blockLine(e){return this.getTypedRuleContext(mo,e)}Else_list(){return this.getTokens(L.Else)}Else(e){return this.getToken(L.Else,e)}get ruleIndex(){return L.RULE_ifStatement}accept(e){return e.visitIfStatement?e.visitIfStatement(this):e.visitChildren(this)}}class au extends Ye{constructor(e,n,r){super(n,r),this.parser=e}get ruleIndex(){return L.RULE_forStatement}copyFrom(e){super.copyFrom(e)}}class M_ extends au{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}For(){return this.getToken(L.For,0)}identifier(){return this.getTypedRuleContext(yn,0)}Assign(){return this.getToken(L.Assign,0)}singleExpression_list(){return this.getTypedRuleContexts($e)}singleExpression(e){return this.getTypedRuleContext($e,e)}To(){return this.getToken(L.To,0)}blockLine(){return this.getTypedRuleContext(mo,0)}varModifier(){return this.getTypedRuleContext(ll,0)}typeGather(){return this.getTypedRuleContext(jo,0)}By(){return this.getToken(L.By,0)}accept(e){return e.visitForToStatement?e.visitForToStatement(this):e.visitChildren(this)}}class B_ extends au{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}For(){return this.getToken(L.For,0)}In(){return this.getToken(L.In,0)}singleExpression(){return this.getTypedRuleContext($e,0)}blockLine(){return this.getTypedRuleContext(mo,0)}identifier_list(){return this.getTypedRuleContexts(yn)}identifier(e){return this.getTypedRuleContext(yn,e)}OpenBracket(){return this.getToken(L.OpenBracket,0)}Comma(){return this.getToken(L.Comma,0)}CloseBracket(){return this.getToken(L.CloseBracket,0)}accept(e){return e.visitForInStatement?e.visitForInStatement(this):e.visitChildren(this)}}class Tp extends Ye{constructor(e,n,r){super(n,r),this.parser=e}Switch(){return this.getToken(L.Switch,0)}NEWLINE(){return this.getToken(L.NEWLINE,0)}INDENT(){return this.getToken(L.INDENT,0)}DEDENT(){return this.getToken(L.DEDENT,0)}singleExpression(){return this.getTypedRuleContext($e,0)}defaultCaluse(){return this.getTypedRuleContext(xp,0)}caseClause_list(){return this.getTypedRuleContexts(ml)}caseClause(e){return this.getTypedRuleContext(ml,e)}get ruleIndex(){return L.RULE_switchStatement}accept(e){return e.visitSwitchStatement?e.visitSwitchStatement(this):e.visitChildren(this)}}class ml extends Ye{constructor(e,n,r){super(n,r),this.parser=e}singleExpression(){return this.getTypedRuleContext($e,0)}ARROW(){return this.getToken(L.ARROW,0)}block(){return this.getTypedRuleContext(ia,0)}get ruleIndex(){return L.RULE_caseClause}accept(e){return e.visitCaseClause?e.visitCaseClause(this):e.visitChildren(this)}}class xp extends Ye{constructor(e,n,r){super(n,r),this.parser=e}ARROW(){return this.getToken(L.ARROW,0)}block(){return this.getTypedRuleContext(ia,0)}get ruleIndex(){return L.RULE_defaultCaluse}accept(e){return e.visitDefaultCaluse?e.visitDefaultCaluse(this):e.visitChildren(this)}}class Ap extends Ye{constructor(e,n,r){super(n,r),this.parser=e}While(){return this.getToken(L.While,0)}singleExpression(){return this.getTypedRuleContext($e,0)}blockLine(){return this.getTypedRuleContext(mo,0)}get ruleIndex(){return L.RULE_whileStatement}accept(e){return e.visitWhileStatement?e.visitWhileStatement(this):e.visitChildren(this)}}class Cp extends Ye{constructor(e,n,r){super(n,r),this.parser=e}importElement_list(){return this.getTypedRuleContexts(_l)}importElement(e){return this.getTypedRuleContext(_l,e)}NEWLINE(){return this.getToken(L.NEWLINE,0)}Comma_list(){return this.getTokens(L.Comma)}Comma(e){return this.getToken(L.Comma,e)}get ruleIndex(){return L.RULE_importStmt}accept(e){return e.visitImportStmt?e.visitImportStmt(this):e.visitChildren(this)}}class _l extends Ye{constructor(e,n,r){super(n,r),this.parser=e}Import(){return this.getToken(L.Import,0)}identifier_list(){return this.getTypedRuleContexts(yn)}identifier(e){return this.getTypedRuleContext(yn,e)}Divide_list(){return this.getTokens(L.Divide)}Divide(e){return this.getToken(L.Divide,e)}IntegerLiteral(){return this.getToken(L.IntegerLiteral,0)}As(){return this.getToken(L.As,0)}get ruleIndex(){return L.RULE_importElement}accept(e){return e.visitImportElement?e.visitImportElement(this):e.visitChildren(this)}}class Op extends Ye{constructor(e,n,r){super(n,r),this.parser=e}BooleanLiteral(){return this.getToken(L.BooleanLiteral,0)}ColorLiteral(){return this.getToken(L.ColorLiteral,0)}StringLiteral(){return this.getToken(L.StringLiteral,0)}IntegerLiteral(){return this.getToken(L.IntegerLiteral,0)}DecimalLiteral(){return this.getToken(L.DecimalLiteral,0)}get ruleIndex(){return L.RULE_literal}accept(e){return e.visitLiteral?e.visitLiteral(this):e.visitChildren(this)}}class uu extends Ye{constructor(e,n,r){super(n,r),this.parser=e}methodElement_list(){return this.getTypedRuleContexts(sa)}methodElement(e){return this.getTypedRuleContext(sa,e)}Point_list(){return this.getTokens(L.Point)}Point(e){return this.getToken(L.Point,e)}get ruleIndex(){return L.RULE_methodStmt}accept(e){return e.visitMethodStmt?e.visitMethodStmt(this):e.visitChildren(this)}}class sa extends Ye{constructor(e,n,r){super(n,r),this.parser=e}methodName(){return this.getTypedRuleContext(Dp,0)}arguments(){return this.getTypedRuleContext(Ep,0)}get ruleIndex(){return L.RULE_methodElement}accept(e){return e.visitMethodElement?e.visitMethodElement(this):e.visitChildren(this)}}class Dp extends Ye{constructor(e,n,r){super(n,r),this.parser=e}identifier_list(){return this.getTypedRuleContexts(yn)}identifier(e){return this.getTypedRuleContext(yn,e)}OpenParen(){return this.getToken(L.OpenParen,0)}singleExpression(){return this.getTypedRuleContext($e,0)}CloseParen(){return this.getToken(L.CloseParen,0)}Point_list(){return this.getTokens(L.Point)}Point(e){return this.getToken(L.Point,e)}LessThan(){return this.getToken(L.LessThan,0)}typeName_list(){return this.getTypedRuleContexts(mi)}typeName(e){return this.getTypedRuleContext(mi,e)}MoreThan(){return this.getToken(L.MoreThan,0)}Comma(){return this.getToken(L.Comma,0)}get ruleIndex(){return L.RULE_methodName}accept(e){return e.visitMethodName?e.visitMethodName(this):e.visitChildren(this)}}class kp extends Ye{constructor(e,n,r){super(n,r),this.parser=e}identifier(){return this.getTypedRuleContext(yn,0)}arrowFunctionParameters(){return this.getTypedRuleContext(wp,0)}ARROW(){return this.getToken(L.ARROW,0)}block(){return this.getTypedRuleContext(ia,0)}Export(){return this.getToken(L.Export,0)}get ruleIndex(){return L.RULE_arrowFunction}accept(e){return e.visitArrowFunction?e.visitArrowFunction(this):e.visitChildren(this)}}class wp extends Ye{constructor(e,n,r){super(n,r),this.parser=e}OpenParen(){return this.getToken(L.OpenParen,0)}CloseParen(){return this.getToken(L.CloseParen,0)}formalParameterList(){return this.getTypedRuleContext(yl,0)}get ruleIndex(){return L.RULE_arrowFunctionParameters}accept(e){return e.visitArrowFunctionParameters?e.visitArrowFunctionParameters(this):e.visitChildren(this)}}class yl extends Ye{constructor(e,n,r){super(n,r),this.parser=e}formalParameterArg_list(){return this.getTypedRuleContexts(gl)}formalParameterArg(e){return this.getTypedRuleContext(gl,e)}Comma_list(){return this.getTokens(L.Comma)}Comma(e){return this.getToken(L.Comma,e)}get ruleIndex(){return L.RULE_formalParameterList}accept(e){return e.visitFormalParameterList?e.visitFormalParameterList(this):e.visitChildren(this)}}class gl extends Ye{constructor(e,n,r){super(n,r),this.parser=e}identifier(){return this.getTypedRuleContext(yn,0)}typeGather(){return this.getTypedRuleContext(jo,0)}Assign(){return this.getToken(L.Assign,0)}singleExpression(){return this.getTypedRuleContext($e,0)}get ruleIndex(){return L.RULE_formalParameterArg}accept(e){return e.visitFormalParameterArg?e.visitFormalParameterArg(this):e.visitChildren(this)}}class Rp extends Ye{constructor(e,n,r){super(n,r),this.parser=e}Method(){return this.getToken(L.Method,0)}identifier(){return this.getTypedRuleContext(yn,0)}arrowMethodParameters(){return this.getTypedRuleContext(Np,0)}ARROW(){return this.getToken(L.ARROW,0)}block(){return this.getTypedRuleContext(ia,0)}Export(){return this.getToken(L.Export,0)}get ruleIndex(){return L.RULE_arrowMethod}accept(e){return e.visitArrowMethod?e.visitArrowMethod(this):e.visitChildren(this)}}class Np extends Ye{constructor(e,n,r){super(n,r),this.parser=e}OpenParen(){return this.getToken(L.OpenParen,0)}typeGather(){return this.getTypedRuleContext(jo,0)}identifier(){return this.getTypedRuleContext(yn,0)}CloseParen(){return this.getToken(L.CloseParen,0)}Assign(){return this.getToken(L.Assign,0)}singleExpression(){return this.getTypedRuleContext($e,0)}Comma(){return this.getToken(L.Comma,0)}formalParameterList(){return this.getTypedRuleContext(yl,0)}get ruleIndex(){return L.RULE_arrowMethodParameters}accept(e){return e.visitArrowMethodParameters?e.visitArrowMethodParameters(this):e.visitChildren(this)}}class Ip extends Ye{constructor(e,n,r){super(n,r),this.parser=e}Type(){return this.getToken(L.Type,0)}identifier(){return this.getTypedRuleContext(yn,0)}NEWLINE(){return this.getToken(L.NEWLINE,0)}INDENT(){return this.getToken(L.INDENT,0)}DEDENT(){return this.getToken(L.DEDENT,0)}Export(){return this.getToken(L.Export,0)}typeElement_list(){return this.getTypedRuleContexts(bl)}typeElement(e){return this.getTypedRuleContext(bl,e)}get ruleIndex(){return L.RULE_typeStatement}accept(e){return e.visitTypeStatement?e.visitTypeStatement(this):e.visitChildren(this)}}class bl extends Ye{constructor(e,n,r){super(n,r),this.parser=e}identifier(){return this.getTypedRuleContext(yn,0)}NEWLINE(){return this.getToken(L.NEWLINE,0)}Varip(){return this.getToken(L.Varip,0)}typeGather(){return this.getTypedRuleContext(jo,0)}Assign(){return this.getToken(L.Assign,0)}singleExpression(){return this.getTypedRuleContext($e,0)}get ruleIndex(){return L.RULE_typeElement}accept(e){return e.visitTypeElement?e.visitTypeElement(this):e.visitChildren(this)}}class vl extends Ye{constructor(e,n,r){super(n,r),this.parser=e}ColonEquals(){return this.getToken(L.ColonEquals,0)}MultiplyAssign(){return this.getToken(L.MultiplyAssign,0)}DivideAssign(){return this.getToken(L.DivideAssign,0)}ModulusAssign(){return this.getToken(L.ModulusAssign,0)}PlusAssign(){return this.getToken(L.PlusAssign,0)}MinusAssign(){return this.getToken(L.MinusAssign,0)}get ruleIndex(){return L.RULE_assignmentOperator}accept(e){return e.visitAssignmentOperator?e.visitAssignmentOperator(this):e.visitChildren(this)}}class El extends Ye{constructor(e,n,r){super(n,r),this.parser=e}Map(){return this.getToken(L.Map,0)}LessThan(){return this.getToken(L.LessThan,0)}Comma(){return this.getToken(L.Comma,0)}typeName_list(){return this.getTypedRuleContexts(mi)}typeName(e){return this.getTypedRuleContext(mi,e)}MoreThan(){return this.getToken(L.MoreThan,0)}get ruleIndex(){return L.RULE_typeMap}accept(e){return e.visitTypeMap?e.visitTypeMap(this):e.visitChildren(this)}}class Pp extends Ye{constructor(e,n,r){super(n,r),this.parser=e}typeName_list(){return this.getTypedRuleContexts(mi)}typeName(e){return this.getTypedRuleContext(mi,e)}typeArray(){return this.getTypedRuleContext(Sl,0)}typeMap(){return this.getTypedRuleContext(El,0)}get ruleIndex(){return L.RULE_typeSeries}accept(e){return e.visitTypeSeries?e.visitTypeSeries(this):e.visitChildren(this)}}class Sl extends Ye{constructor(e,n,r){super(n,r),this.parser=e}typeName_list(){return this.getTypedRuleContexts(mi)}typeName(e){return this.getTypedRuleContext(mi,e)}LessThan(){return this.getToken(L.LessThan,0)}MoreThan(){return this.getToken(L.MoreThan,0)}OpenBracket(){return this.getToken(L.OpenBracket,0)}CloseBracket(){return this.getToken(L.CloseBracket,0)}get ruleIndex(){return L.RULE_typeArray}accept(e){return e.visitTypeArray?e.visitTypeArray(this):e.visitChildren(this)}}class jo extends Ye{constructor(e,n,r){super(n,r),this.parser=e}typeName(){return this.getTypedRuleContext(mi,0)}typeArray(){return this.getTypedRuleContext(Sl,0)}typeMap(){return this.getTypedRuleContext(El,0)}typeSeries(){return this.getTypedRuleContext(Pp,0)}get ruleIndex(){return L.RULE_typeGather}accept(e){return e.visitTypeGather?e.visitTypeGather(this):e.visitChildren(this)}}class yn extends Ye{constructor(e,n,r){super(n,r),this.parser=e}Identifier(){return this.getToken(L.Identifier,0)}Map(){return this.getToken(L.Map,0)}Type(){return this.getToken(L.Type,0)}Enum(){return this.getToken(L.Enum,0)}Method(){return this.getToken(L.Method,0)}get ruleIndex(){return L.RULE_identifier}accept(e){return e.visitIdentifier?e.visitIdentifier(this):e.visitChildren(this)}}class mi extends Ye{constructor(e,n,r){super(n,r),this.parser=e}identifier_list(){return this.getTypedRuleContexts(yn)}identifier(e){return this.getTypedRuleContext(yn,e)}Point(){return this.getToken(L.Point,0)}get ruleIndex(){return L.RULE_typeName}accept(e){return e.visitTypeName?e.visitTypeName(this):e.visitChildren(this)}}class cu extends Ye{constructor(e,n,r){super(n,r),this.parser=e}identifier_list(){return this.getTypedRuleContexts(yn)}identifier(e){return this.getTypedRuleContext(yn,e)}Point_list(){return this.getTokens(L.Point)}Point(e){return this.getToken(L.Point,e)}methodElement_list(){return this.getTypedRuleContexts(sa)}methodElement(e){return this.getTypedRuleContext(sa,e)}OpenParen(){return this.getToken(L.OpenParen,0)}singleExpression(){return this.getTypedRuleContext($e,0)}CloseParen(){return this.getToken(L.CloseParen,0)}get ruleIndex(){return L.RULE_name}accept(e){return e.visitName?e.visitName(this):e.visitChildren(this)}}class Fp extends Ye{constructor(e,n,r){super(n,r),this.parser=e}Enum(){return this.getToken(L.Enum,0)}identifier(){return this.getTypedRuleContext(yn,0)}NEWLINE(){return this.getToken(L.NEWLINE,0)}INDENT(){return this.getToken(L.INDENT,0)}DEDENT(){return this.getToken(L.DEDENT,0)}Export(){return this.getToken(L.Export,0)}enumElement_list(){return this.getTypedRuleContexts(Tl)}enumElement(e){return this.getTypedRuleContext(Tl,e)}get ruleIndex(){return L.RULE_enumStatement}accept(e){return e.visitEnumStatement?e.visitEnumStatement(this):e.visitChildren(this)}}class Tl extends Ye{constructor(e,n,r){super(n,r),this.parser=e}identifier(){return this.getTypedRuleContext(yn,0)}NEWLINE(){return this.getToken(L.NEWLINE,0)}Assign(){return this.getToken(L.Assign,0)}StringLiteral(){return this.getToken(L.StringLiteral,0)}get ruleIndex(){return L.RULE_enumElement}accept(e){return e.visitEnumElement?e.visitEnumElement(this):e.visitChildren(this)}}class U_ extends h_{constructor(n){super(n);w(this,"tokens");w(this,"indents");w(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)===L.EOF&&this.indents.length){for(this.tokens=this.tokens.filter(function(r){return r.type!==L.EOF}),this.emitToken(this.commonToken(L.NEWLINE,`
11
+ `));this.indents.length;)this.emitToken(this.createDedent()),this.indents.pop();this.emitToken(this.commonToken(L.EOF,"<EOF>"))}const n=super.nextToken();return this.tokens.length?this.tokens.shift():n}createDedent(){return this.commonToken(L.DEDENT,"")}getCharIndex(){return this._input.index}commonToken(n,r){const a=this.getCharIndex()-1,c=r.length?a-r.length+1:a;return new a_([this,this._input],n,0,c,a)}getIndentationCount(n){let r=0;for(let a=0;a<n.length;a++)n[a]===" "?r+=4-r%4:r++;return r}atStartOfInput(){return this.getCharIndex()===0}openBrace(){this.opened++}closeBrace(){this.opened--}onNewLine(){const n=this.text.replace(/[^\r\n]+/g,""),r=this.text.replace(/[\r\n]+/g,""),a=this._input.LA(1),c=this._input.LA(2),h=this.getIndentationCount(r);if(this.opened>0||c!=-1&&(a===13||a===10||a===47&&c===47||h%4))this.skip();else{this.emitToken(this.commonToken(L.NEWLINE,n));const d=this.indents.length?this.indents[this.indents.length-1]:0;if(h===d)this.skip();else if(h>d)this.indents.push(h),this.emitToken(this.commonToken(L.INDENT,r));else for(;this.indents.length&&this.indents[this.indents.length-1]>h;)this.emitToken(this.createDedent()),this.indents.pop()}}}const Re=class Re extends U_{constructor(e){super(e),this._interp=new p_(this,Re._ATN,Re.DecisionsToDFA,new mp)}get grammarFileName(){return"tccScriptLexer.g4"}get literalNames(){return Re.literalNames}get symbolicNames(){return Re.symbolicNames}get ruleNames(){return Re.ruleNames}get serializedATN(){return Re._serializedATN}get channelNames(){return Re.channelNames}get modeNames(){return Re.modeNames}action(e,n,r){switch(n){case 1:this.OpenBracket_action(e,r);break;case 2:this.CloseBracket_action(e,r);break;case 3:this.OpenParen_action(e,r);break;case 4:this.CloseParen_action(e,r);break;case 58:this.NEWLINE_action(e,r);break}}OpenBracket_action(e,n){switch(n){case 0:this.openBrace();break}}CloseBracket_action(e,n){switch(n){case 1:this.closeBrace();break}}OpenParen_action(e,n){switch(n){case 2:this.openBrace();break}}CloseParen_action(e,n){switch(n){case 3:this.closeBrace();break}}NEWLINE_action(e,n){switch(n){case 4:this.onNewLine();break}}sempred(e,n,r){switch(n){case 58:return this.NEWLINE_sempred(e,r)}return!0}NEWLINE_sempred(e,n){switch(n){case 0:return this.atStartOfInput()}return!0}static get _ATN(){return Re.__ATN||(Re.__ATN=new pp().deserialize(Re._serializedATN)),Re.__ATN}};w(Re,"INDENT",1),w(Re,"DEDENT",2),w(Re,"Point",3),w(Re,"OpenBracket",4),w(Re,"CloseBracket",5),w(Re,"OpenParen",6),w(Re,"CloseParen",7),w(Re,"Comma",8),w(Re,"Assign",9),w(Re,"QuestionMark",10),w(Re,"Colon",11),w(Re,"Plus",12),w(Re,"Minus",13),w(Re,"Multiply",14),w(Re,"Divide",15),w(Re,"Modulus",16),w(Re,"Hashtag",17),w(Re,"LessThan",18),w(Re,"MoreThan",19),w(Re,"LessThanEquals",20),w(Re,"GreaterThanEquals",21),w(Re,"Equals_",22),w(Re,"NotEquals",23),w(Re,"MultiplyAssign",24),w(Re,"DivideAssign",25),w(Re,"ModulusAssign",26),w(Re,"PlusAssign",27),w(Re,"MinusAssign",28),w(Re,"ARROW",29),w(Re,"ColonEquals",30),w(Re,"BooleanLiteral",31),w(Re,"IntegerLiteral",32),w(Re,"DecimalLiteral",33),w(Re,"Break",34),w(Re,"And",35),w(Re,"Export",36),w(Re,"For",37),w(Re,"Var",38),w(Re,"Continue",39),w(Re,"Varip",40),w(Re,"Switch",41),w(Re,"While",42),w(Re,"If",43),w(Re,"In",44),w(Re,"Or",45),w(Re,"Not",46),w(Re,"Method",47),w(Re,"Else",48),w(Re,"To",49),w(Re,"By",50),w(Re,"Type",51),w(Re,"Import",52),w(Re,"As",53),w(Re,"Enum",54),w(Re,"Map",55),w(Re,"ColorLiteral",56),w(Re,"StringLiteral",57),w(Re,"Identifier",58),w(Re,"HIDDEN_",59),w(Re,"COMMENT_",60),w(Re,"NEWLINE",61),w(Re,"EOF",_p.EOF),w(Re,"channelNames",["DEFAULT_TOKEN_CHANNEL","HIDDEN"]),w(Re,"literalNames",[null,null,null,"'.'","'['","']'","'('","')'","','","'='","'?'","':'","'+'","'-'","'*'","'/'","'%'","'#'","'<'","'>'","'<='","'>='","'=='","'!='","'*='","'/='","'%='","'+='","'-='","'=>'","':='",null,null,null,"'break'","'and'","'export'","'for'","'var'","'continue'","'varip'","'switch'","'while'","'if'","'in'","'or'","'not'","'method'","'else'","'to'","'by'","'type'","'import'","'as'","'enum'","'map'"]),w(Re,"symbolicNames",[null,"INDENT","DEDENT","Point","OpenBracket","CloseBracket","OpenParen","CloseParen","Comma","Assign","QuestionMark","Colon","Plus","Minus","Multiply","Divide","Modulus","Hashtag","LessThan","MoreThan","LessThanEquals","GreaterThanEquals","Equals_","NotEquals","MultiplyAssign","DivideAssign","ModulusAssign","PlusAssign","MinusAssign","ARROW","ColonEquals","BooleanLiteral","IntegerLiteral","DecimalLiteral","Break","And","Export","For","Var","Continue","Varip","Switch","While","If","In","Or","Not","Method","Else","To","By","Type","Import","As","Enum","Map","ColorLiteral","StringLiteral","Identifier","HIDDEN_","COMMENT_","NEWLINE"]),w(Re,"modeNames",["DEFAULT_MODE"]),w(Re,"ruleNames",["Point","OpenBracket","CloseBracket","OpenParen","CloseParen","Comma","Assign","QuestionMark","Colon","Plus","Minus","Multiply","Divide","Modulus","Hashtag","LessThan","MoreThan","LessThanEquals","GreaterThanEquals","Equals_","NotEquals","MultiplyAssign","DivideAssign","ModulusAssign","PlusAssign","MinusAssign","ARROW","ColonEquals","BooleanLiteral","IntegerLiteral","DecimalLiteral","Break","And","Export","For","Var","Continue","Varip","Switch","While","If","In","Or","Not","Method","Else","To","By","Type","Import","As","Enum","Map","ColorLiteral","StringLiteral","Identifier","HIDDEN_","COMMENT_","NEWLINE","SHORT_STRING","DIGIT","DIGITS","HEX_DIGIT","SPACES","COMMENT","EXP"]),w(Re,"_serializedATN",[4,0,61,447,6,-1,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5,2,6,7,6,2,7,7,7,2,8,7,8,2,9,7,9,2,10,7,10,2,11,7,11,2,12,7,12,2,13,7,13,2,14,7,14,2,15,7,15,2,16,7,16,2,17,7,17,2,18,7,18,2,19,7,19,2,20,7,20,2,21,7,21,2,22,7,22,2,23,7,23,2,24,7,24,2,25,7,25,2,26,7,26,2,27,7,27,2,28,7,28,2,29,7,29,2,30,7,30,2,31,7,31,2,32,7,32,2,33,7,33,2,34,7,34,2,35,7,35,2,36,7,36,2,37,7,37,2,38,7,38,2,39,7,39,2,40,7,40,2,41,7,41,2,42,7,42,2,43,7,43,2,44,7,44,2,45,7,45,2,46,7,46,2,47,7,47,2,48,7,48,2,49,7,49,2,50,7,50,2,51,7,51,2,52,7,52,2,53,7,53,2,54,7,54,2,55,7,55,2,56,7,56,2,57,7,57,2,58,7,58,2,59,7,59,2,60,7,60,2,61,7,61,2,62,7,62,2,63,7,63,2,64,7,64,2,65,7,65,1,0,1,0,1,1,1,1,1,1,1,2,1,2,1,2,1,3,1,3,1,3,1,4,1,4,1,4,1,5,1,5,1,6,1,6,1,7,1,7,1,8,1,8,1,9,1,9,1,10,1,10,1,11,1,11,1,12,1,12,1,13,1,13,1,14,1,14,1,15,1,15,1,16,1,16,1,17,1,17,1,17,1,18,1,18,1,18,1,19,1,19,1,19,1,20,1,20,1,20,1,21,1,21,1,21,1,22,1,22,1,22,1,23,1,23,1,23,1,24,1,24,1,24,1,25,1,25,1,25,1,26,1,26,1,26,1,27,1,27,1,27,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,3,28,214,8,28,1,29,1,29,1,30,1,30,1,30,3,30,221,8,30,1,30,1,30,1,30,1,30,3,30,227,8,30,3,30,229,8,30,1,30,3,30,232,8,30,3,30,234,8,30,1,31,1,31,1,31,1,31,1,31,1,31,1,32,1,32,1,32,1,32,1,33,1,33,1,33,1,33,1,33,1,33,1,33,1,34,1,34,1,34,1,34,1,35,1,35,1,35,1,35,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,37,1,37,1,37,1,37,1,37,1,37,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,39,1,39,1,39,1,39,1,39,1,39,1,40,1,40,1,40,1,41,1,41,1,41,1,42,1,42,1,42,1,43,1,43,1,43,1,43,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,45,1,45,1,45,1,45,1,45,1,46,1,46,1,46,1,47,1,47,1,47,1,48,1,48,1,48,1,48,1,48,1,49,1,49,1,49,1,49,1,49,1,49,1,49,1,50,1,50,1,50,1,51,1,51,1,51,1,51,1,51,1,52,1,52,1,52,1,52,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,1,53,3,53,362,8,53,1,54,1,54,1,55,1,55,5,55,368,8,55,10,55,12,55,371,9,55,1,56,1,56,1,56,1,56,1,57,1,57,1,57,1,57,1,58,1,58,1,58,3,58,384,8,58,1,58,1,58,3,58,388,8,58,1,58,3,58,391,8,58,3,58,393,8,58,1,58,1,58,1,59,1,59,1,59,1,59,5,59,401,8,59,10,59,12,59,404,9,59,1,59,1,59,1,59,1,59,1,59,5,59,411,8,59,10,59,12,59,414,9,59,1,59,3,59,417,8,59,1,60,1,60,1,61,4,61,422,8,61,11,61,12,61,423,1,62,1,62,1,63,4,63,429,8,63,11,63,12,63,430,1,64,1,64,1,64,1,64,5,64,437,8,64,10,64,12,64,440,9,64,1,65,1,65,3,65,444,8,65,1,65,1,65,0,0,66,1,3,3,4,5,5,7,6,9,7,11,8,13,9,15,10,17,11,19,12,21,13,23,14,25,15,27,16,29,17,31,18,33,19,35,20,37,21,39,22,41,23,43,24,45,25,47,26,49,27,51,28,53,29,55,30,57,31,59,32,61,33,63,34,65,35,67,36,69,37,71,38,73,39,75,40,77,41,79,42,81,43,83,44,85,45,87,46,89,47,91,48,93,49,95,50,97,51,99,52,101,53,103,54,105,55,107,56,109,57,111,58,113,59,115,60,117,61,119,0,121,0,123,0,125,0,127,0,129,0,131,0,1,0,10,3,0,65,90,95,95,97,122,4,0,48,57,65,90,95,95,97,122,1,0,39,39,1,0,34,34,1,0,48,57,3,0,48,57,65,70,97,102,3,0,9,9,32,32,160,160,2,0,10,10,12,13,2,0,69,69,101,101,2,0,43,43,45,45,460,0,1,1,0,0,0,0,3,1,0,0,0,0,5,1,0,0,0,0,7,1,0,0,0,0,9,1,0,0,0,0,11,1,0,0,0,0,13,1,0,0,0,0,15,1,0,0,0,0,17,1,0,0,0,0,19,1,0,0,0,0,21,1,0,0,0,0,23,1,0,0,0,0,25,1,0,0,0,0,27,1,0,0,0,0,29,1,0,0,0,0,31,1,0,0,0,0,33,1,0,0,0,0,35,1,0,0,0,0,37,1,0,0,0,0,39,1,0,0,0,0,41,1,0,0,0,0,43,1,0,0,0,0,45,1,0,0,0,0,47,1,0,0,0,0,49,1,0,0,0,0,51,1,0,0,0,0,53,1,0,0,0,0,55,1,0,0,0,0,57,1,0,0,0,0,59,1,0,0,0,0,61,1,0,0,0,0,63,1,0,0,0,0,65,1,0,0,0,0,67,1,0,0,0,0,69,1,0,0,0,0,71,1,0,0,0,0,73,1,0,0,0,0,75,1,0,0,0,0,77,1,0,0,0,0,79,1,0,0,0,0,81,1,0,0,0,0,83,1,0,0,0,0,85,1,0,0,0,0,87,1,0,0,0,0,89,1,0,0,0,0,91,1,0,0,0,0,93,1,0,0,0,0,95,1,0,0,0,0,97,1,0,0,0,0,99,1,0,0,0,0,101,1,0,0,0,0,103,1,0,0,0,0,105,1,0,0,0,0,107,1,0,0,0,0,109,1,0,0,0,0,111,1,0,0,0,0,113,1,0,0,0,0,115,1,0,0,0,0,117,1,0,0,0,1,133,1,0,0,0,3,135,1,0,0,0,5,138,1,0,0,0,7,141,1,0,0,0,9,144,1,0,0,0,11,147,1,0,0,0,13,149,1,0,0,0,15,151,1,0,0,0,17,153,1,0,0,0,19,155,1,0,0,0,21,157,1,0,0,0,23,159,1,0,0,0,25,161,1,0,0,0,27,163,1,0,0,0,29,165,1,0,0,0,31,167,1,0,0,0,33,169,1,0,0,0,35,171,1,0,0,0,37,174,1,0,0,0,39,177,1,0,0,0,41,180,1,0,0,0,43,183,1,0,0,0,45,186,1,0,0,0,47,189,1,0,0,0,49,192,1,0,0,0,51,195,1,0,0,0,53,198,1,0,0,0,55,201,1,0,0,0,57,213,1,0,0,0,59,215,1,0,0,0,61,233,1,0,0,0,63,235,1,0,0,0,65,241,1,0,0,0,67,245,1,0,0,0,69,252,1,0,0,0,71,256,1,0,0,0,73,260,1,0,0,0,75,269,1,0,0,0,77,275,1,0,0,0,79,282,1,0,0,0,81,288,1,0,0,0,83,291,1,0,0,0,85,294,1,0,0,0,87,297,1,0,0,0,89,301,1,0,0,0,91,308,1,0,0,0,93,313,1,0,0,0,95,316,1,0,0,0,97,319,1,0,0,0,99,324,1,0,0,0,101,331,1,0,0,0,103,334,1,0,0,0,105,339,1,0,0,0,107,361,1,0,0,0,109,363,1,0,0,0,111,365,1,0,0,0,113,372,1,0,0,0,115,376,1,0,0,0,117,392,1,0,0,0,119,416,1,0,0,0,121,418,1,0,0,0,123,421,1,0,0,0,125,425,1,0,0,0,127,428,1,0,0,0,129,432,1,0,0,0,131,441,1,0,0,0,133,134,5,46,0,0,134,2,1,0,0,0,135,136,5,91,0,0,136,137,6,1,0,0,137,4,1,0,0,0,138,139,5,93,0,0,139,140,6,2,1,0,140,6,1,0,0,0,141,142,5,40,0,0,142,143,6,3,2,0,143,8,1,0,0,0,144,145,5,41,0,0,145,146,6,4,3,0,146,10,1,0,0,0,147,148,5,44,0,0,148,12,1,0,0,0,149,150,5,61,0,0,150,14,1,0,0,0,151,152,5,63,0,0,152,16,1,0,0,0,153,154,5,58,0,0,154,18,1,0,0,0,155,156,5,43,0,0,156,20,1,0,0,0,157,158,5,45,0,0,158,22,1,0,0,0,159,160,5,42,0,0,160,24,1,0,0,0,161,162,5,47,0,0,162,26,1,0,0,0,163,164,5,37,0,0,164,28,1,0,0,0,165,166,5,35,0,0,166,30,1,0,0,0,167,168,5,60,0,0,168,32,1,0,0,0,169,170,5,62,0,0,170,34,1,0,0,0,171,172,5,60,0,0,172,173,5,61,0,0,173,36,1,0,0,0,174,175,5,62,0,0,175,176,5,61,0,0,176,38,1,0,0,0,177,178,5,61,0,0,178,179,5,61,0,0,179,40,1,0,0,0,180,181,5,33,0,0,181,182,5,61,0,0,182,42,1,0,0,0,183,184,5,42,0,0,184,185,5,61,0,0,185,44,1,0,0,0,186,187,5,47,0,0,187,188,5,61,0,0,188,46,1,0,0,0,189,190,5,37,0,0,190,191,5,61,0,0,191,48,1,0,0,0,192,193,5,43,0,0,193,194,5,61,0,0,194,50,1,0,0,0,195,196,5,45,0,0,196,197,5,61,0,0,197,52,1,0,0,0,198,199,5,61,0,0,199,200,5,62,0,0,200,54,1,0,0,0,201,202,5,58,0,0,202,203,5,61,0,0,203,56,1,0,0,0,204,205,5,116,0,0,205,206,5,114,0,0,206,207,5,117,0,0,207,214,5,101,0,0,208,209,5,102,0,0,209,210,5,97,0,0,210,211,5,108,0,0,211,212,5,115,0,0,212,214,5,101,0,0,213,204,1,0,0,0,213,208,1,0,0,0,214,58,1,0,0,0,215,216,3,123,61,0,216,60,1,0,0,0,217,218,5,46,0,0,218,220,3,123,61,0,219,221,3,131,65,0,220,219,1,0,0,0,220,221,1,0,0,0,221,234,1,0,0,0,222,231,3,123,61,0,223,228,5,46,0,0,224,226,3,123,61,0,225,227,3,131,65,0,226,225,1,0,0,0,226,227,1,0,0,0,227,229,1,0,0,0,228,224,1,0,0,0,228,229,1,0,0,0,229,232,1,0,0,0,230,232,3,131,65,0,231,223,1,0,0,0,231,230,1,0,0,0,232,234,1,0,0,0,233,217,1,0,0,0,233,222,1,0,0,0,234,62,1,0,0,0,235,236,5,98,0,0,236,237,5,114,0,0,237,238,5,101,0,0,238,239,5,97,0,0,239,240,5,107,0,0,240,64,1,0,0,0,241,242,5,97,0,0,242,243,5,110,0,0,243,244,5,100,0,0,244,66,1,0,0,0,245,246,5,101,0,0,246,247,5,120,0,0,247,248,5,112,0,0,248,249,5,111,0,0,249,250,5,114,0,0,250,251,5,116,0,0,251,68,1,0,0,0,252,253,5,102,0,0,253,254,5,111,0,0,254,255,5,114,0,0,255,70,1,0,0,0,256,257,5,118,0,0,257,258,5,97,0,0,258,259,5,114,0,0,259,72,1,0,0,0,260,261,5,99,0,0,261,262,5,111,0,0,262,263,5,110,0,0,263,264,5,116,0,0,264,265,5,105,0,0,265,266,5,110,0,0,266,267,5,117,0,0,267,268,5,101,0,0,268,74,1,0,0,0,269,270,5,118,0,0,270,271,5,97,0,0,271,272,5,114,0,0,272,273,5,105,0,0,273,274,5,112,0,0,274,76,1,0,0,0,275,276,5,115,0,0,276,277,5,119,0,0,277,278,5,105,0,0,278,279,5,116,0,0,279,280,5,99,0,0,280,281,5,104,0,0,281,78,1,0,0,0,282,283,5,119,0,0,283,284,5,104,0,0,284,285,5,105,0,0,285,286,5,108,0,0,286,287,5,101,0,0,287,80,1,0,0,0,288,289,5,105,0,0,289,290,5,102,0,0,290,82,1,0,0,0,291,292,5,105,0,0,292,293,5,110,0,0,293,84,1,0,0,0,294,295,5,111,0,0,295,296,5,114,0,0,296,86,1,0,0,0,297,298,5,110,0,0,298,299,5,111,0,0,299,300,5,116,0,0,300,88,1,0,0,0,301,302,5,109,0,0,302,303,5,101,0,0,303,304,5,116,0,0,304,305,5,104,0,0,305,306,5,111,0,0,306,307,5,100,0,0,307,90,1,0,0,0,308,309,5,101,0,0,309,310,5,108,0,0,310,311,5,115,0,0,311,312,5,101,0,0,312,92,1,0,0,0,313,314,5,116,0,0,314,315,5,111,0,0,315,94,1,0,0,0,316,317,5,98,0,0,317,318,5,121,0,0,318,96,1,0,0,0,319,320,5,116,0,0,320,321,5,121,0,0,321,322,5,112,0,0,322,323,5,101,0,0,323,98,1,0,0,0,324,325,5,105,0,0,325,326,5,109,0,0,326,327,5,112,0,0,327,328,5,111,0,0,328,329,5,114,0,0,329,330,5,116,0,0,330,100,1,0,0,0,331,332,5,97,0,0,332,333,5,115,0,0,333,102,1,0,0,0,334,335,5,101,0,0,335,336,5,110,0,0,336,337,5,117,0,0,337,338,5,109,0,0,338,104,1,0,0,0,339,340,5,109,0,0,340,341,5,97,0,0,341,342,5,112,0,0,342,106,1,0,0,0,343,344,5,35,0,0,344,345,3,125,62,0,345,346,3,125,62,0,346,347,3,125,62,0,347,348,3,125,62,0,348,349,3,125,62,0,349,350,3,125,62,0,350,362,1,0,0,0,351,352,5,35,0,0,352,353,3,125,62,0,353,354,3,125,62,0,354,355,3,125,62,0,355,356,3,125,62,0,356,357,3,125,62,0,357,358,3,125,62,0,358,359,3,125,62,0,359,360,3,125,62,0,360,362,1,0,0,0,361,343,1,0,0,0,361,351,1,0,0,0,362,108,1,0,0,0,363,364,3,119,59,0,364,110,1,0,0,0,365,369,7,0,0,0,366,368,7,1,0,0,367,366,1,0,0,0,368,371,1,0,0,0,369,367,1,0,0,0,369,370,1,0,0,0,370,112,1,0,0,0,371,369,1,0,0,0,372,373,3,127,63,0,373,374,1,0,0,0,374,375,6,56,4,0,375,114,1,0,0,0,376,377,3,129,64,0,377,378,1,0,0,0,378,379,6,57,5,0,379,116,1,0,0,0,380,381,4,58,0,0,381,393,3,127,63,0,382,384,5,13,0,0,383,382,1,0,0,0,383,384,1,0,0,0,384,385,1,0,0,0,385,388,5,10,0,0,386,388,2,12,13,0,387,383,1,0,0,0,387,386,1,0,0,0,388,390,1,0,0,0,389,391,3,127,63,0,390,389,1,0,0,0,390,391,1,0,0,0,391,393,1,0,0,0,392,380,1,0,0,0,392,387,1,0,0,0,393,394,1,0,0,0,394,395,6,58,6,0,395,118,1,0,0,0,396,402,5,39,0,0,397,401,8,2,0,0,398,399,5,92,0,0,399,401,5,39,0,0,400,397,1,0,0,0,400,398,1,0,0,0,401,404,1,0,0,0,402,400,1,0,0,0,402,403,1,0,0,0,403,405,1,0,0,0,404,402,1,0,0,0,405,417,5,39,0,0,406,412,5,34,0,0,407,411,8,3,0,0,408,409,5,92,0,0,409,411,5,34,0,0,410,407,1,0,0,0,410,408,1,0,0,0,411,414,1,0,0,0,412,410,1,0,0,0,412,413,1,0,0,0,413,415,1,0,0,0,414,412,1,0,0,0,415,417,5,34,0,0,416,396,1,0,0,0,416,406,1,0,0,0,417,120,1,0,0,0,418,419,7,4,0,0,419,122,1,0,0,0,420,422,3,121,60,0,421,420,1,0,0,0,422,423,1,0,0,0,423,421,1,0,0,0,423,424,1,0,0,0,424,124,1,0,0,0,425,426,7,5,0,0,426,126,1,0,0,0,427,429,7,6,0,0,428,427,1,0,0,0,429,430,1,0,0,0,430,428,1,0,0,0,430,431,1,0,0,0,431,128,1,0,0,0,432,433,5,47,0,0,433,434,5,47,0,0,434,438,1,0,0,0,435,437,8,7,0,0,436,435,1,0,0,0,437,440,1,0,0,0,438,436,1,0,0,0,438,439,1,0,0,0,439,130,1,0,0,0,440,438,1,0,0,0,441,443,7,8,0,0,442,444,7,9,0,0,443,442,1,0,0,0,443,444,1,0,0,0,444,445,1,0,0,0,445,446,3,123,61,0,446,132,1,0,0,0,22,0,213,220,226,228,231,233,361,369,383,387,390,392,400,402,410,412,416,423,430,438,443,7,1,1,0,1,2,1,1,3,2,1,4,3,0,1,0,0,2,0,1,58,4]),w(Re,"__ATN"),w(Re,"DecisionsToDFA",Re._ATN.decisionToState.map((e,n)=>new dp(e,n)));let xl=Re;var V=(t=>(t.BOOL="bool",t.INT="int",t.FLOAT="float",t.ARRAY="array",t.BOX="box",t.CHART_POINT="chart.point",t.COLOR="color",t.CONST="const",t.LABEL="label",t.LINE="line",t.LINEFILL="linefill",t.MAP="map",t.MATRIX="matrix",t.POLYLINE="polyline",t.SERIES="series",t.SIMPLE="simple",t.STRING="string",t.TABLE="table",t.UNDETERMINED="undetermined type",t.INPUT="input",t.NA="na",t.VOID="void",t.ENUM="enum",t))(V||{}),le=(t=>(t.FlowStmt="FlowStmt",t.DeclareAssign="DeclareAssign",t.VarBlockStmt="VarBlockStmt",t.VarSingle="VarSingle",t.VarMultiple="VarMultiple",t.ParenthesizedExpression="ParenthesizedExpression",t.AdditiveExpression="AdditiveExpression",t.RelationalExpression="RelationalExpression",t.EqualityExpression="EqualityExpression",t.TernaryExpression="TernaryExpression",t.UnaryExpression="UnaryExpression",t.NotExpression="NotExpression",t.MemberIndexExpression="MemberIndexExpression",t.MethodExpression="MethodExpression",t.LogicalAndExpression="LogicalAndExpression",t.LogicalOrExpression="LogicalOrExpression",t.MultiplicativeExpression="MultiplicativeExpression",t.Brackethesized="Brackethesized",t.IfStatement="IfStatement",t.ForToStatement="ForToStatement",t.ForInStatement="ForInStatement",t.SwitchStatement="SwitchStatement",t.CaseClause="CaseClause",t.DefaultCaluse="DefaultCaluse",t.WhileStatement="WhileStatement",t.ImportElement="ImportElement",t.Literal="Literal",t.ArrowFunction="ArrowFunction",t.ArrowMethod="ArrowMethod",t.TypeStatement="TypeStatement",t.Name="Name",t.AgainAssign="AgainAssign",t.EnumStatement="EnumStatement",t))(le||{}),Kt=(t=>(t.description="description",t.field="field",t.function="function",t.param="param",t.returns="returns",t.type="type",t.variable="variable",t.enum="enum",t))(Kt||{}),Ii=(t=>(t.library="library",t.indicator="indicator",t.strategy="strategy",t))(Ii||{});const pe={onlyInLoop:"'$text' is only allowed inside loops",invalidType:"Invalid argument 'expr$index' in 'operator SQBR' call",typeUseError:"Cannot specify a type form '$text' without also specifying the type.",notTypeKeyword:"'$text' is not a valid type keyword in variable declaration",undeclared:"Undeclared identifier '$name'",repeatVar:"'$name' is already defined",typeRepeatErr:"$keyword '$name' is already defined.",typeMismatch:"Cannot call '$operator' with argument '$index'. An argument of '$typeE' type was used but a '$typeR' is expected.",assignTypeMismatch:"Cannot assign a value of the `$typeE` type to the '$name' variable. The variable is declared with the `$typeR` type.",voidNotVar:"Void expression cannot be assigned to a variable",declareTypeErr:"Declared type '$type' is not compatible with assigned type '$valueType'",mapKeyValErr:"Cannot put <$typeA, $typeB> pairs into a map containing `$typeC` keys and `$typeD` values. The maps passed into the `$name()` function must have the same key types and value types.",inputSourceErr:"Invalid value for the '$name' parameter of the '$funcName' function. Possible values: [open, high, low, close, hl2, hlc3, ohlc4, hlcc4, volume].",buildInUseErr:"Cannot use '$name' as the default value of a type's field. The default value cannot be a function, variable or calculation.",argsLenErr:"Too many arguments passed into the `$name()` function call. Passed $lenA arguments but expected $lenB.",requiredParamErr:"No value assigned to the `$argName` parameter in $name()",argsSyntaxErr:"Syntax error after the argument for `$argName`. Arguments without their parameter name cannot be used after arguments with parameter names.",requestArgsErr:"Type $type cannot be used in $name '$argName' argument",mapKeyErr:"Incorrect `key` type `$type` in the variable. The `key` type must be one of the following: int, float, string, bool, color.",templateErr:"Incorrect number of arguments for the template: $countA expected, $countB passed.",templateNoSupportErr:"The '$name()' function does not support templates",ifOrSwitchTypeErr:"Return type of one of the '$keyword' blocks is not compatible with return type of other block(s) ($types)",argsNameErr:"The '$name' function does not have an argument with the name '$argName'",noFiledErr:"Object has no field $name",methodNotExistErr:"Could not find method or method reference '$methodName' for '$name'",tupleVarErr:"Syntax error: The quantities of tuple elements on each side of the assignment operator do not match. The right side has $indexA but the left side has $indexB.",tupleLeftVarErr:"Invalid assignment. Cannot assign a tuple to a variable '$name'.",tupleRightVarErr:"Cannot assign a variable to a tuple. The right side must be a function call or structure ('if', 'switch', 'for', 'while') returning a tuple with the same number of elements.",tempateTypeErr:"Syntax error: Only templates for arrays and matrices consist of a single type identifier enclosed in angle brackets.",qualifierErr:"'$name' is not a valid type qualifier. Possible values: 'const', 'simple', 'series'",notFindFuncErr:"Could not find function or function reference '$name'",naVarErr:"Value with NA type cannot be assigned to a variable that was defined without type keyword",notHistoryErr:"Variable '$name' doesn't have history values",defaultValueErr:"The default value cannot be a function, variable or calculation.",defaultValueTypeErr:"Default value of type $typeE can not be assigned to an argument of type $typeR",typeFieldErr:"In a type declaration, all fields without a default value must be explicitly typified.",unaryErr:"Syntax error at input '$sign'",funcArgAssignErr:"Function arguments cannot be mutable ('$name')",declaredErr:"A variable declared with the '$prefix' keyword cannot accept values of the '$type' form. Assign a '$prefix' value to this variable or remove the '$prefix' keyword from its declaration.",globalFuncErr:"Cannot use '$name' in local scope",onlyStatementErr:"Scripts must contain one declaration statement: `indicator()`, `strategy()` or `library()`, Your script has $count.",modifyGlobalVarErr:"Cannot modify global variable '$name' in function",inputDefvalErr:"Arguments of input function must be of constant type, or 'source' builtin variables.",objectIsNaErr:"Cannot access the '$name' $type of an na object. The object is 'na'.",buidinAssignErr:"Cannot assign a new value to the built-in variable '$name'.",buidinVarErr:"Cannot shadow the built-in variable `$name` because it has already been used as a built-in.",useNaErr:"Cannot use an `na` value of an unspecified type in the `$name` function.",libraryTitleErr:"Invalid argument 'title' in 'library' call. It cannot contain spaces, special characters or begin with a digit.",exportFuncArgErr:"All exported functions args should be typified",indiRunErr:"An indicator must contain at least one of the following: any `plot*()` function, `barcolor()`, `bgcolor()`, `hline()`, `alertcondition()`, or any drawing (line, label, box, table, polyline).",libraryExportErr:"A library must contain at least one exported function, method, or type.",strategyRunErr:"A strategy must contain at least one of the following: any `strategy.*()` function that creates orders, any `plot*()` function, `barcolor()`, `bgcolor()`, `hline()`, or any drawing (line, label, box, table, polyline).",exportUseErr:"Only libraries can contain exported $type.",funcRepeatErr:"The '$name' function has overloads with the same parameters. The type of parameters must be different in overloaded versions of functions.",importMultipleErr:"Cannot import a library more than once",importNotExitErr:"The user '$username' does not have a published library titled '$libraryName'",importNameRepeatErr:"More than one import uses the same alias: $name. Previous usage at line: $line",exportFuncHasInputErr:"The exported function '$func' depends on the '$name' input variable, which is not allowed.",libraryTitleIsKeywordErr:"Invalid argument 'title' in 'library' call. Token: '$name' can't be used as library title.",exportFuncUseGlobalVarErr:"Cannot use global variables in exported functions. Function: $func",loopRuntimeErr:"Loop takes too long to execute (> 500 ms)",paramsErr:"Invalid value '$value' for '$param' parameter of the '$func' function. Possible values: $targetVal",displayErr:"Invalid argument 'display' in '$func' call. Possible values: $values",exportFuncUseReqErr:"Cannot use `request.*()` call in exported function `$name()`",requestExprErr:"Type series $type cannot be used in $name 'expression' argument",argDefaultErr:"The default value assigned to a parameter must be either a literal value (e.g., `5`) or a built-in variable (e.g., `close`)",overloadFuncErr:"Cannot use global variables or any values qualified as 'input' in the local scopes of overloaded functions or methods. Remove any global variables or inputs from the scopes of all '$name()' overloads.",againAssignErr:"Unable to determine the object for the field assignment. Try putting the object into a separate variable before assigning values to its fields.",requestUserInLoopErr:"Cannot use `request.*()` call within loops or conditional structures.",enumVarNameErr:"Invalid enum name '$name': `bool`, `int`, `float`, `string`, and `color` are not allowed.",enumVarNameBuiltinErr:"Invalid object name: $name. Namespaces of built-ins cannot be used.",typeNameErr:"Invalid user-defined type name '$name': `bool`, `int`, `float`, `string`, and `color` are not allowed.",enumUseErr:"Cannot use the '$name' as a value. Use one of the enum's fields instead.",conditionalErr:"'$name' conditional expression must be of a bool type!",fortoErr:'The value of the "for" loop must be a number.',indicatorUseStrategyFuncErr:"You cannot use strategy $type ($name) in indicator script.",arrEmptyErr:"Array must not be empty",arrLengthDiffErr:"Arrays have different lengths",arrTypeErr:"数组类型错误,array.$name方法只能使用$type类型数组!",inputOptErr:"input's defval should be in options, but '$defval' is not in [$args]",mathRandomErr:"min must be less than max",matrixRehapeErr:"New matrix must be of same area as original matrix",strategyExitErr:"strategy.exit must have at least one of the following parameters: 'profit', 'limit', 'loss', 'stop' or one of the following pairs: 'trail_offset' and 'trail_price' / 'trail_points'. To close the position at market price, use 'strategy.close'",arrLenErr:"Invalid array length",mergeCellErr:"error: start_column > end_column or start_row > end_row",minOrMaxErr:"Input's `defval` value must be between `minval` and `maxval`"},ar={repeatVar:"Shadowing variable '$name' which exists in parent scope. Did you want to use the ':=' operator instead of '=' ?",typeMismatch:"The `$index` parameter of the `$operator` function accepts a '$type' argument. To avoid potential unexpected results, pass a '$type' value or expression to this parameter.",moreSameArg:"More than one '$arg' arguments are supplied. Only the first one will be used.",localScopeGetHistory:"The variable '$name' is declared in local scope, which may not be executed at every update. So, obtaining its historical values may lead to unexpected results",localScopeWarning:"The function '$name' should be called on each calculation for consistency. It is recommended to extract the call from this scope",strategyCalcTickWarn:"Strategies without `calc_on_every_tick = true` only calculate on confirmed chart bars. In this case, `barstate.islast` may not initially return `true` on realtime bars, as the last bar is unconfirmed until it closes. If you need to check whether a bar is the latest before it closes, enable `calc_on_every_tick` in the `strategy()` function.",conditionWarning:"The `condition` parameter of the `$name` accepts a 'bool' argument. To avoid potential unexpected results, pass a 'bool' value or expression to this parameter.",lineWidthWarning:"Passing a value below 1 to `linewidth` will be replaced with 1 during compilation.",boolVarNumWarning:"The `$name` variable casts a numeric value to the 'bool' type. To avoid potential unexpected results, assign a 'bool' value to this variable."},Pi=[V.SERIES,V.SIMPLE,V.INPUT,V.CONST],lu=[V.INT,V.FLOAT,V.BOOL,V.COLOR,V.STRING],fu=["indicator","strategy","library"],Al=["plot","plotbar","plotchar","plotarrow","plotshape","plotcandle","hline","alertcondition","barcolor","bgcolor","fill"],$_=[...Al,"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"],V_=[...Al,"table.new","label.new","line.new","box.new","polyline.new","linefill.new"],j_=["strategy.entry","strategy.order","strategy.exit","strategy.close","strategy.cancel","strategy.close_all","strategy.cancel_all"],Lp=["strategy","input","table","color","line","linefill","label","box"],Cl=["close","open","high","low","hl2","hlc3","hlcc4","ohlc4","volume"],H_=/^\/\/\s*@(description|field|function|param|returns|type|enum|variable)/,wn=["case","catch","default","delete","do","finally","function","instanceof","new","return","this","throw","try","typeof","void","with"],Mp=["session","ta","syminfo","timeframe","strategy","barstate","label","line","linefill","box","table","chart","earnings","polyline","math","adjustment","hline","position","size","plot","format","dayofweek","shape","location","scale","currency","barmerge","xloc","yloc","extend","display","text","font","order","alert","dividends","splits","color","input","str","request","ticker","array","matrix","runtime","log","map"];var hu=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ol(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Bp={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(hu,function(){var n=1e3,r=6e4,a=36e5,c="millisecond",h="second",d="minute",v="hour",S="day",C="week",T="month",D="quarter",M="year",P="date",b="Invalid Date",y=/^(\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,O={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(ge){var re=["th","st","nd","rd"],de=ge%100;return"["+ge+(re[(de-20)%10]||re[de]||re[0])+"]"}},R=function(ge,re,de){var fe=String(ge);return!fe||fe.length>=re?ge:""+Array(re+1-fe.length).join(de)+ge},k={s:R,z:function(ge){var re=-ge.utcOffset(),de=Math.abs(re),fe=Math.floor(de/60),Oe=de%60;return(re<=0?"+":"-")+R(fe,2,"0")+":"+R(Oe,2,"0")},m:function ge(re,de){if(re.date()<de.date())return-ge(de,re);var fe=12*(de.year()-re.year())+(de.month()-re.month()),Oe=re.clone().add(fe,T),Ie=de-Oe<0,ve=re.clone().add(fe+(Ie?-1:1),T);return+(-(fe+(de-Oe)/(Ie?Oe-ve:ve-Oe))||0)},a:function(ge){return ge<0?Math.ceil(ge)||0:Math.floor(ge)},p:function(ge){return{M:T,y:M,w:C,d:S,D:P,h:v,m:d,s:h,ms:c,Q:D}[ge]||String(ge||"").toLowerCase().replace(/s$/,"")},u:function(ge){return ge===void 0}},U="en",X={};X[U]=O;var J="$isDayjsObject",G=function(ge){return ge instanceof ee||!(!ge||!ge[J])},Y=function ge(re,de,fe){var Oe;if(!re)return U;if(typeof re=="string"){var Ie=re.toLowerCase();X[Ie]&&(Oe=Ie),de&&(X[Ie]=de,Oe=Ie);var ve=re.split("-");if(!Oe&&ve.length>1)return ge(ve[0])}else{var Ue=re.name;X[Ue]=re,Oe=Ue}return!fe&&Oe&&(U=Oe),Oe||!fe&&U},$=function(ge,re){if(G(ge))return ge.clone();var de=typeof re=="object"?re:{};return de.date=ge,de.args=arguments,new ee(de)},te=k;te.l=Y,te.i=G,te.w=function(ge,re){return $(ge,{locale:re.$L,utc:re.$u,x:re.$x,$offset:re.$offset})};var ee=function(){function ge(de){this.$L=Y(de.locale,null,!0),this.parse(de),this.$x=this.$x||de.x||{},this[J]=!0}var re=ge.prototype;return re.parse=function(de){this.$d=function(fe){var Oe=fe.date,Ie=fe.utc;if(Oe===null)return new Date(NaN);if(te.u(Oe))return new Date;if(Oe instanceof Date)return new Date(Oe);if(typeof Oe=="string"&&!/Z$/i.test(Oe)){var ve=Oe.match(y);if(ve){var Ue=ve[2]-1||0,Z=(ve[7]||"0").substring(0,3);return Ie?new Date(Date.UTC(ve[1],Ue,ve[3]||1,ve[4]||0,ve[5]||0,ve[6]||0,Z)):new Date(ve[1],Ue,ve[3]||1,ve[4]||0,ve[5]||0,ve[6]||0,Z)}}return new Date(Oe)}(de),this.init()},re.init=function(){var de=this.$d;this.$y=de.getFullYear(),this.$M=de.getMonth(),this.$D=de.getDate(),this.$W=de.getDay(),this.$H=de.getHours(),this.$m=de.getMinutes(),this.$s=de.getSeconds(),this.$ms=de.getMilliseconds()},re.$utils=function(){return te},re.isValid=function(){return this.$d.toString()!==b},re.isSame=function(de,fe){var Oe=$(de);return this.startOf(fe)<=Oe&&Oe<=this.endOf(fe)},re.isAfter=function(de,fe){return $(de)<this.startOf(fe)},re.isBefore=function(de,fe){return this.endOf(fe)<$(de)},re.$g=function(de,fe,Oe){return te.u(de)?this[fe]:this.set(Oe,de)},re.unix=function(){return Math.floor(this.valueOf()/1e3)},re.valueOf=function(){return this.$d.getTime()},re.startOf=function(de,fe){var Oe=this,Ie=!!te.u(fe)||fe,ve=te.p(de),Ue=function(Et,Mt){var gt=te.w(Oe.$u?Date.UTC(Oe.$y,Mt,Et):new Date(Oe.$y,Mt,Et),Oe);return Ie?gt:gt.endOf(S)},Z=function(Et,Mt){return te.w(Oe.toDate()[Et].apply(Oe.toDate("s"),(Ie?[0,0,0,0]:[23,59,59,999]).slice(Mt)),Oe)},ie=this.$W,ue=this.$M,xe=this.$D,be="set"+(this.$u?"UTC":"");switch(ve){case M:return Ie?Ue(1,0):Ue(31,11);case T:return Ie?Ue(1,ue):Ue(0,ue+1);case C:var xt=this.$locale().weekStart||0,Vt=(ie<xt?ie+7:ie)-xt;return Ue(Ie?xe-Vt:xe+(6-Vt),ue);case S:case P:return Z(be+"Hours",0);case v:return Z(be+"Minutes",1);case d:return Z(be+"Seconds",2);case h:return Z(be+"Milliseconds",3);default:return this.clone()}},re.endOf=function(de){return this.startOf(de,!1)},re.$set=function(de,fe){var Oe,Ie=te.p(de),ve="set"+(this.$u?"UTC":""),Ue=(Oe={},Oe[S]=ve+"Date",Oe[P]=ve+"Date",Oe[T]=ve+"Month",Oe[M]=ve+"FullYear",Oe[v]=ve+"Hours",Oe[d]=ve+"Minutes",Oe[h]=ve+"Seconds",Oe[c]=ve+"Milliseconds",Oe)[Ie],Z=Ie===S?this.$D+(fe-this.$W):fe;if(Ie===T||Ie===M){var ie=this.clone().set(P,1);ie.$d[Ue](Z),ie.init(),this.$d=ie.set(P,Math.min(this.$D,ie.daysInMonth())).$d}else Ue&&this.$d[Ue](Z);return this.init(),this},re.set=function(de,fe){return this.clone().$set(de,fe)},re.get=function(de){return this[te.p(de)]()},re.add=function(de,fe){var Oe,Ie=this;de=Number(de);var ve=te.p(fe),Ue=function(ue){var xe=$(Ie);return te.w(xe.date(xe.date()+Math.round(ue*de)),Ie)};if(ve===T)return this.set(T,this.$M+de);if(ve===M)return this.set(M,this.$y+de);if(ve===S)return Ue(1);if(ve===C)return Ue(7);var Z=(Oe={},Oe[d]=r,Oe[v]=a,Oe[h]=n,Oe)[ve]||1,ie=this.$d.getTime()+de*Z;return te.w(ie,this)},re.subtract=function(de,fe){return this.add(-1*de,fe)},re.format=function(de){var fe=this,Oe=this.$locale();if(!this.isValid())return Oe.invalidDate||b;var Ie=de||"YYYY-MM-DDTHH:mm:ssZ",ve=te.z(this),Ue=this.$H,Z=this.$m,ie=this.$M,ue=Oe.weekdays,xe=Oe.months,be=Oe.meridiem,xt=function(Mt,gt,Ot,Zt){return Mt&&(Mt[gt]||Mt(fe,Ie))||Ot[gt].slice(0,Zt)},Vt=function(Mt){return te.s(Ue%12||12,Mt,"0")},Et=be||function(Mt,gt,Ot){var Zt=Mt<12?"AM":"PM";return Ot?Zt.toLowerCase():Zt};return Ie.replace(g,function(Mt,gt){return gt||function(Ot){switch(Ot){case"YY":return String(fe.$y).slice(-2);case"YYYY":return te.s(fe.$y,4,"0");case"M":return ie+1;case"MM":return te.s(ie+1,2,"0");case"MMM":return xt(Oe.monthsShort,ie,xe,3);case"MMMM":return xt(xe,ie);case"D":return fe.$D;case"DD":return te.s(fe.$D,2,"0");case"d":return String(fe.$W);case"dd":return xt(Oe.weekdaysMin,fe.$W,ue,2);case"ddd":return xt(Oe.weekdaysShort,fe.$W,ue,3);case"dddd":return ue[fe.$W];case"H":return String(Ue);case"HH":return te.s(Ue,2,"0");case"h":return Vt(1);case"hh":return Vt(2);case"a":return Et(Ue,Z,!0);case"A":return Et(Ue,Z,!1);case"m":return String(Z);case"mm":return te.s(Z,2,"0");case"s":return String(fe.$s);case"ss":return te.s(fe.$s,2,"0");case"SSS":return te.s(fe.$ms,3,"0");case"Z":return ve}return null}(Mt)||ve.replace(":","")})},re.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},re.diff=function(de,fe,Oe){var Ie,ve=this,Ue=te.p(fe),Z=$(de),ie=(Z.utcOffset()-this.utcOffset())*r,ue=this-Z,xe=function(){return te.m(ve,Z)};switch(Ue){case M:Ie=xe()/12;break;case T:Ie=xe();break;case D:Ie=xe()/3;break;case C:Ie=(ue-ie)/6048e5;break;case S:Ie=(ue-ie)/864e5;break;case v:Ie=ue/a;break;case d:Ie=ue/r;break;case h:Ie=ue/n;break;default:Ie=ue}return Oe?Ie:te.a(Ie)},re.daysInMonth=function(){return this.endOf(T).$D},re.$locale=function(){return X[this.$L]},re.locale=function(de,fe){if(!de)return this.$L;var Oe=this.clone(),Ie=Y(de,fe,!0);return Ie&&(Oe.$L=Ie),Oe},re.clone=function(){return te.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()},ge}(),_e=ee.prototype;return $.prototype=_e,[["$ms",c],["$s",h],["$m",d],["$H",v],["$W",S],["$M",T],["$y",M],["$D",P]].forEach(function(ge){_e[ge[1]]=function(re){return this.$g(re,ge[0],ge[1])}}),$.extend=function(ge,re){return ge.$i||(ge(re,ee,$),ge.$i=!0),$},$.locale=Y,$.isDayjs=G,$.unix=function(ge){return $(1e3*ge)},$.en=X[U],$.Ls=X,$.p={},$})})(Bp);var G_=Bp.exports,Up=Ol(G_),$p={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(hu,function(){var n="minute",r=/[+-]\d\d(?::?\d\d)?/g,a=/([+-]|\d\d)/g;return function(c,h,d){var v=h.prototype;d.utc=function(b){var y={date:b,utc:!0,args:arguments};return new h(y)},v.utc=function(b){var y=d(this.toDate(),{locale:this.$L,utc:!0});return b?y.add(this.utcOffset(),n):y},v.local=function(){return d(this.toDate(),{locale:this.$L,utc:!1})};var S=v.parse;v.parse=function(b){b.utc&&(this.$u=!0),this.$utils().u(b.$offset)||(this.$offset=b.$offset),S.call(this,b)};var C=v.init;v.init=function(){if(this.$u){var b=this.$d;this.$y=b.getUTCFullYear(),this.$M=b.getUTCMonth(),this.$D=b.getUTCDate(),this.$W=b.getUTCDay(),this.$H=b.getUTCHours(),this.$m=b.getUTCMinutes(),this.$s=b.getUTCSeconds(),this.$ms=b.getUTCMilliseconds()}else C.call(this)};var T=v.utcOffset;v.utcOffset=function(b,y){var g=this.$utils().u;if(g(b))return this.$u?0:g(this.$offset)?T.call(this):this.$offset;if(typeof b=="string"&&(b=function(U){U===void 0&&(U="");var X=U.match(r);if(!X)return null;var J=(""+X[0]).match(a)||["-",0,0],G=J[0],Y=60*+J[1]+ +J[2];return Y===0?0:G==="+"?Y:-Y}(b),b===null))return this;var O=Math.abs(b)<=16?60*b:b,R=this;if(y)return R.$offset=O,R.$u=b===0,R;if(b!==0){var k=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(R=this.local().add(O+k,n)).$offset=O,R.$x.$localOffset=k}else R=this.utc();return R};var D=v.format;v.format=function(b){var y=b||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return D.call(this,y)},v.valueOf=function(){var b=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*b},v.isUTC=function(){return!!this.$u},v.toISOString=function(){return this.toDate().toISOString()},v.toString=function(){return this.toDate().toUTCString()};var M=v.toDate;v.toDate=function(b){return b==="s"&&this.$offset?d(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():M.call(this)};var P=v.diff;v.diff=function(b,y,g){if(b&&this.$u===b.$u)return P.call(this,b,y,g);var O=this.local(),R=d(b).local();return P.call(O,R,y,g)}}})})($p);var K_=$p.exports,z_=Ol(K_),Vp={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(hu,function(){var n={year:0,month:1,day:2,hour:3,minute:4,second:5},r={};return function(a,c,h){var d,v=function(D,M,P){P===void 0&&(P={});var b=new Date(D),y=function(g,O){O===void 0&&(O={});var R=O.timeZoneName||"short",k=g+"|"+R,U=r[k];return U||(U=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:g,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:R}),r[k]=U),U}(M,P);return y.formatToParts(b)},S=function(D,M){for(var P=v(D,M),b=[],y=0;y<P.length;y+=1){var g=P[y],O=g.type,R=g.value,k=n[O];k>=0&&(b[k]=parseInt(R,10))}var U=b[3],X=U===24?0:U,J=b[0]+"-"+b[1]+"-"+b[2]+" "+X+":"+b[4]+":"+b[5]+":000",G=+D;return(h.utc(J).valueOf()-(G-=G%1e3))/6e4},C=c.prototype;C.tz=function(D,M){D===void 0&&(D=d);var P=this.utcOffset(),b=this.toDate(),y=b.toLocaleString("en-US",{timeZone:D}),g=Math.round((b-new Date(y))/1e3/60),O=h(y,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(15*-Math.round(b.getTimezoneOffset()/15)-g,!0);if(M){var R=O.utcOffset();O=O.add(P-R,"minute")}return O.$x.$timezone=D,O},C.offsetName=function(D){var M=this.$x.$timezone||h.tz.guess(),P=v(this.valueOf(),M,{timeZoneName:D}).find(function(b){return b.type.toLowerCase()==="timezonename"});return P&&P.value};var T=C.startOf;C.startOf=function(D,M){if(!this.$x||!this.$x.$timezone)return T.call(this,D,M);var P=h(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return T.call(P,D,M).tz(this.$x.$timezone,!0)},h.tz=function(D,M,P){var b=P&&M,y=P||M||d,g=S(+h(),y);if(typeof D!="string")return h(D).tz(y);var O=function(X,J,G){var Y=X-60*J*1e3,$=S(Y,G);if(J===$)return[Y,J];var te=S(Y-=60*($-J)*1e3,G);return $===te?[Y,$]:[X-60*Math.min($,te)*1e3,Math.max($,te)]}(h.utc(D,b).valueOf(),g,y),R=O[0],k=O[1],U=h(R).utcOffset(k);return U.$x.$timezone=y,U},h.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},h.tz.setDefault=function(D){d=D}}})})(Vp);var W_=Vp.exports,X_=Ol(W_);Up.extend(z_),Up.extend(X_);function ye(t,e){return t.replace(/\$(\w+)/g,(n,r)=>String(e[r])||n)}function pu(t){var e=encodeURI(t),n=btoa(e);return n}class q_ extends d_{constructor(){super(...arguments);w(this,"visitProgram");w(this,"visitGlobalStmt");w(this,"visitBlockStmt");w(this,"visitStmt");w(this,"visitSimpleStmt");w(this,"visitFlowStmt");w(this,"visitBlock");w(this,"visitBlockLine");w(this,"visitVariableDeclarationStmt");w(this,"visitDeclareAssign");w(this,"visitAgainAssign");w(this,"visitVarModifier");w(this,"visitBlockSequence");w(this,"visitExpressionSequence");w(this,"visitExpressionBlockSequence");w(this,"visitVarBlockStmt");w(this,"visitVarSingle");w(this,"visitVarMultiple");w(this,"visitBlockExpression");w(this,"visitParenthesizedExpression");w(this,"visitAdditiveExpression");w(this,"visitRelationalExpression");w(this,"visitTernaryExpression");w(this,"visitLogicalAndExpression");w(this,"visitNameExpression");w(this,"visitLiteralExpression");w(this,"visitLogicalOrExpression");w(this,"visitUnaryExpression");w(this,"visitNotExpression");w(this,"visitMemberIndexExpression");w(this,"visitMethodExpression");w(this,"visitEqualityExpression");w(this,"visitMultiplicativeExpression");w(this,"visitBrackethesized");w(this,"visitArguments");w(this,"visitArgument");w(this,"visitIfStatement");w(this,"visitForToStatement");w(this,"visitForInStatement");w(this,"visitSwitchStatement");w(this,"visitCaseClause");w(this,"visitDefaultCaluse");w(this,"visitWhileStatement");w(this,"visitImportStmt");w(this,"visitImportElement");w(this,"visitLiteral");w(this,"visitMethodStmt");w(this,"visitMethodElement");w(this,"visitMethodName");w(this,"visitArrowFunction");w(this,"visitArrowFunctionParameters");w(this,"visitFormalParameterList");w(this,"visitFormalParameterArg");w(this,"visitArrowMethod");w(this,"visitArrowMethodParameters");w(this,"visitTypeStatement");w(this,"visitTypeElement");w(this,"visitAssignmentOperator");w(this,"visitTypeMap");w(this,"visitTypeSeries");w(this,"visitTypeArray");w(this,"visitTypeGather");w(this,"visitIdentifier");w(this,"visitTypeName");w(this,"visitName");w(this,"visitEnumStatement");w(this,"visitEnumElement")}}class Y_ extends q_{constructor(n){super();w(this,"_buildinVariables");w(this,"_buildinTypes");w(this,"_buildinConstants");w(this,"_buildinMethods");w(this,"_buildinFunctions");this._buildinVariables=new Map,this._buildinConstants=new Map,this._buildinFunctions=new Map,this._buildinTypes=new Map,this._buildinMethods=new Map,this._buildinHandle(n)}_buildinHandle(n){for(const r in n){const a=new Map(Object.entries(n[r]));switch(r){case"constants":this._buildinConstants=a;break;case"functions":this._buildinFunctions=a;break;case"methods":this._buildinMethods=a;break;case"types":this._buildinTypes=a;break;case"variables":this._buildinVariables=a;break}}}_typeHandle(n=[],r){if(!n.length)return V.UNDETERMINED;if(n=n.filter(h=>!h.endsWith(V.NA)),!n.length)return`${V.SIMPLE} ${V.NA}`;let a=100,c="";for(const h of n){if(h===V.UNDETERMINED)return V.UNDETERMINED;h.startsWith(V.SERIES)?a=0:h.startsWith(V.SIMPLE)&&a>0?a=1:h.startsWith(V.INPUT)&&a>1?a=2:h.startsWith(V.CONST)&&a>2&&(a=3);const d=this._removePrefix(h);(d!==V.INT||!c)&&(c=d)}return a===100?c:`${Pi[a]} ${r||c}`}_returnTypesOtherHandle(n,r,a,c){if(!a.length||a[0].includes("<>")){const h=n==null?void 0:n.type;let d=h;if(!h||h===V.UNDETERMINED)return[V.UNDETERMINED];switch(r){case"series <type>":d=this._getArrayType(h),d||(d=this._removePrefix(h)),a=[this._typeAddSeries(d)];break;case"array<type>":case"matrix<type>":case"type[]":if(this._isMapType(h)){const v=this._getMapType(h)||[];c.includes("keys")?d=v[0]:d=v[1]}else d=this._getArrayType(h),d||(d=this._removePrefix(h));a=[this._typeReplace(r,d)];break;case"<matrix_type>":d=this._getArrayType(h),a=[this._typeAddSeries(d)];break;case"map<keyType, valueType>":a=[d];break;case"<value_type>":d=this._getMapType(h),a=[d[1]];break}}return a}_checkMethodThisType(n,r){if(!n||!n.length||n[0].includes("<>"))return!0;const a=r.replace("int","float");return n.some(c=>c===r||a===c||c.endsWith(r))}_priorityComparison(n,r){if(!n)return!1;if(this._isArrayType(n)||this._isMatrixType(n))return this._getArrayType(r)!==V.INT;{const a=this._getPrefix(n),c=this._getPrefix(r);return a===c?!!n.endsWith(V.INT):!(Pi.indexOf(a)<Pi.indexOf(c))}}_compareType(n,r){if(n===V.UNDETERMINED||r===V.UNDETERMINED)return!0;const a=[V.FLOAT,V.INT];if(this._isArrayType(n)||this._isMatrixType(n)){const c=this._getArrayType(n)||"",h=this._getArrayType(r)||"";return c===h||a.includes(c)&&a.includes(h)}else if(this._isMapType(n)){const c=this._getMapType(n)||[],h=this._getMapType(r)||[];return(c[0]===h[0]||a.includes(c[0])&&a.includes(h[0]))&&(c[1]===h[1]||a.includes(c[1])&&a.includes(h[1]))}else{const c=this._removePrefix(n),h=this._removePrefix(r);return c===V.NA||h===V.NA||c===h||a.includes(c)&&a.includes(h)}}_typeAddSeries(n){return this._buildinTypes.get(n)&&n!==V.CHART_POINT?`${V.SERIES} ${n}`:n}_typeAddConst(n){return lu.includes(n)?`${V.CONST} ${n}`:this._typeAddSeries(n)}_getOriginMethodName(n,r){let a="";return this._isArrayType(n)?a=`${V.ARRAY}.${r}`:this._isMatrixType(n)?a=`${V.MATRIX}.${r}`:this._isMapType(n)?a=`${V.MAP}.${r}`:a=`${this._removePrefix(n)}.${r}`,a}_returnedTypesParse(n){if(!n||!n.length)return[];const r=n[0];return/^\[.+\]$/.test(r)?r.replace(/[[\]]/g,"").split(",").map(a=>a.trim()):n}_removePrefix(n=""){return n.replace(/(series|simple|const|input)\s+([\w\d.]+)/,"$2")}_getPrefix(n){if(!n)return"";const r=n.replace(/(series|simple|const|input).+/,"$1");return Pi.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)?V.ARRAY:this._isMapType(n)?V.MAP:this._isMatrixType(n)?V.MATRIX:this._removePrefix(n)}_typeReplace(n,r){return r===V.UNDETERMINED?r:(r=this._removePrefix(r),this._arrayTypeConvert(n.startsWith(V.SERIES)?n.replace("<type>",r):n.replace("type",r)))}}var Sn=(t=>(t[t.Hint=1]="Hint",t[t.Info=2]="Info",t[t.Warning=4]="Warning",t[t.Error=8]="Error",t))(Sn||{});class jp extends Y_{constructor(n,r,a){super(n);w(this,"_loopCount");w(this,"_errors");w(this,"_variables");w(this,"_functions");w(this,"_methods");w(this,"_types");w(this,"_enums");w(this,"_currentBlockVars");w(this,"_currentFuncParams");w(this,"_isNeedCalc");w(this,"_blockCount");w(this,"_isInFunc");w(this,"_currentExportFunc");w(this,"_onlyStatementsCount");w(this,"_blockRanges");w(this,"_overloadsFuncs");w(this,"_hasMemberIndex");w(this,"_isInLocalScop");w(this,"_comments");w(this,"_currentLine",0);w(this,"_hasDrawFunc",!1);w(this,"_hasCreateOrderFunc",!1);w(this,"_scriptType");w(this,"_exportFunctions");w(this,"_exportMethods");w(this,"_exportTypes");w(this,"_exportEnums");w(this,"_exportPositions");w(this,"_description","");w(this,"_endExport");w(this,"_importLibs");w(this,"_getImportLibraryFunc");w(this,"_isEndExpr");w(this,"_inputVarName");w(this,"_hasRequest");w(this,"_strategyFuncName");w(this,"_strategyVarName");w(this,"visitProgram",async n=>{const{children:r}=n;let a=0;const c=[];for(this._pushBlockRanges(n);a<r.length;a++){const h=r[a];h.ruleIndex===L.RULE_globalStmt&&c.push(await this.visit(h))}return this._onlyStatementsCount<=0?this._errors.push({startColumn:0,endColumn:0,startLineNumber:0,endLineNumber:0,type:Sn.Error,message:ye(pe.onlyStatementErr,{count:this._onlyStatementsCount})}):this._scriptType===Ii.indicator&&(this._strategyFuncName?this._errorHandle(ye(pe.indicatorUseStrategyFuncErr,{name:this._strategyFuncName.name,type:"functions"}),this._strategyFuncName.ctx):this._strategyVarName&&this._errorHandle(ye(pe.indicatorUseStrategyFuncErr,{name:this._strategyVarName.name,type:"variables"}),this._strategyVarName.ctx)),c});w(this,"visitGlobalStmt",async n=>{const{children:r}=n;if(r&&r.length){const a=r[0],c=await this.visit(a);return a.ruleIndex===L.RULE_methodStmt&&fu.includes(c.exprs[0].name)&&(this._onlyStatementsCount++,this._onlyStatementsCount>1?this._errorHandle(ye(pe.onlyStatementErr,{count:this._onlyStatementsCount}),a):this._scriptType=c.exprs[0].name),c}return null});w(this,"visitBlockStmt",n=>{const{children:r}=n;let a=0;const c=[];for(;a<r.length;a++){const h=r[a];switch(h.ruleIndex){case L.RULE_variableDeclarationStmt:c.push(...this.visit(h));break;case L.RULE_varBlockStmt:c.push(this.visit(h));break;case L.RULE_blockExpression:c.push(this.visit(h));break}}return c});w(this,"visitStmt",n=>{const{children:r}=n;if(r&&r.length){const a=r[0];return this.visit(a)}return null});w(this,"visitSimpleStmt",n=>{const{children:r}=n;if(r&&r.length){const a=r[0];return this.visit(a)}return null});w(this,"visitFlowStmt",n=>{const{children:r}=n,{column:a,line:c,text:h}=r[0].symbol;if(this._currentLine=c,this._loopCount<=0){const d=a+1;this._errors.push({startColumn:d,endColumn:parseInt(d+h.length),startLineNumber:c,endLineNumber:c,message:ye(pe.onlyInLoop,{text:h})})}return{ruleType:le.FlowStmt,value:h}});w(this,"visitBlock",n=>{const{children:r}=n;if(r&&r.length){const a=r[0];return a.ruleIndex===L.RULE_simpleStmt?this._inBlock(a):this.visit(a)}return null});w(this,"visitBlockLine",n=>{const{children:r}=n;if(!r)return null;let a=0;const c=[];this._blockCount++,this._pushBlockRanges(n);const h=this._isEndExpr;for(;a<r.length;a++){const d=r[a];d.ruleIndex===L.RULE_stmt&&(this._isInFunc&&(this._isEndExpr=r.length-2===a&&h),c.push(this.visit(d)))}return this._blockCount--,this._blockRanges.pop(),this._currentBlockVars.splice(this._blockCount+1),c});w(this,"visitDeclareAssign",n=>{var h;const{children:r}=n;let a=0;const c={ruleType:le.DeclareAssign};for(;a<r.length;a++){const d=r[a];switch(d.ruleIndex){case L.RULE_varArrayDeclaration:c.nameList=this.visit(d),this._inputVarName=(h=c.nameList)==null?void 0:h.name;break;case L.RULE_singleExpression:c.value=this.visit(d),this._inputVarName=void 0;break}}return this._variablesHandle(c,n),c});w(this,"visitAgainAssign",n=>{const{children:r,start:a}=n;if(this._currentLine=a.line,r.length>=3){const c=this.visit(r[0]);this._verifyGloablVar(c,r[0]);const h=this.visit(r[2]),d=this.visit(r[1]);return c.type?this._againAssignHandle([c,h],[r[0],r[2]],d):null}return null});w(this,"visitVarModifier",n=>{const{children:r}=n;return r[0].symbol.text});w(this,"visitExpressionSequence",n=>{const{children:r,start:a}=n;let c=0;const h=[];for(this._currentLine=a.line;c<r.length;c++){const d=r[c];if(d.ruleIndex===L.RULE_singleExpression){const v=this.visit(d);v&&(v.ctx=d,h.push(v))}}return h});w(this,"visitExpressionBlockSequence",n=>{const{children:r}=n;let a=0;const c=[];for(;a<r.length;a++){const h=r[a];switch(h.ruleIndex){case L.RULE_singleExpression:c.push(this.visit(h));break;case L.RULE_variableDeclarationList:c.push(this.visit(h));break;case L.RULE_blockExpression:c.push(this.visit(h));break;case L.RULE_varBlockStmt:c.push(this.visit(h));break}}return c});w(this,"visitBlockSequence",n=>{const{children:r}=n;let a=0;const c=[];for(;a<r.length;a++){const h=r[a];switch(h.ruleIndex){case L.RULE_variableDeclarationList:c.push(this.visit(h));break;case L.RULE_singleExpression:c.push(this.visit(h));break}}return c});w(this,"visitVariableDeclarationStmt",n=>{const{children:r}=n;let a=0;const c=[];for(;a<r.length;a++){const h=r[a];switch(h.ruleIndex){case L.RULE_variableDeclarationList:c.push(this.visit(h));break;case L.RULE_methodStmt:const d=this.visit(h);fu.includes(d.exprs[0].name)&&(this._onlyStatementsCount++,this._onlyStatementsCount>1?this._errorHandle(ye(pe.onlyStatementErr,{count:this._onlyStatementsCount}),h):this._scriptType=d.exprs[0].name),c.push(d);break}}return c});w(this,"visitVarBlockStmt",n=>{const{children:r}=n;let a=0;const c={ruleType:le.VarBlockStmt,ctx:n},h=[];for(;a<r.length;a++){const d=r[a];switch(d.ruleIndex){case L.RULE_varArrayDeclaration:c.nameList=this.visit(d);break;case L.RULE_assignmentOperator:c.operator=this.visit(d);break;case L.RULE_name:h.push(d),c.name=this.visit(d);break;case L.RULE_blockExpression:if(this._isNeedCalc=!0,c.value=this.visit(d),!c.value)break;h.push(d);const v=this._getBlockReturnTypes(c.value);v.length===1?c.value.type=v[0]:c.value.types=v,this._isNeedCalc=!1;break}}return c.name?this._againAssignHandle([c.name,c.value],h,c.operator):(this._variablesHandle(c,n),c)});w(this,"visitVarSingle",n=>{const{children:r,start:a}=n,c={ruleType:le.VarSingle};let h=0;const d=this._commentsParser(a.line,[Kt.variable]);c.desc=d==null?void 0:d[Kt.variable],this._currentLine=a.line;let v={lineNumber:0,column:0};for(;h<r.length;h++){const S=r[h];switch(S.ruleIndex){case L.RULE_varModifier:c.declare=this.visit(S);break;case L.RULE_typeGather:const C=this.visit(S);c.prefix=this._getPrefix(C),c.type=C&&this._typeAddConst(C);break;case L.RULE_identifier:const T=this.visit(S);v={lineNumber:S.start.line,column:S.start.column},this._repeatVarJudge(T,S,v),c.name=T,c.pos=v;break}}return c});w(this,"_commentsParser",(n,r,a=!1)=>{var S;const c=this._comments.filter(C=>C.line<n&&C.line>=this._currentLine),h={},d={line:0,key:"",secKey:""},v=[Kt.field,Kt.param];for(const C of c){const[T,D]=H_.exec(C.text)||[];if(D&&r.includes(D)){const M=C.text.replace(T,"").trim();if(Object.assign(d,{line:C.line,key:D}),v.includes(D)){const[P,...b]=M.split(" ");P&&(Object.assign(d,{secKey:P}),h[D]=Object.assign(h[D]||{},{[P]:b.join(" ").trim()}))}else h[D]=[M]}else if(a&&d.key){const M=C.text.replace("//","").trim();v.includes(d.key)?h[d.key][d.secKey]+=` ${M}`:(S=h[d.key])==null||S.push(M)}}return h});w(this,"visitVarMultiple",n=>{const{children:r,start:a}=n;let c=0;const h=[],d=[];for(this._currentLine=a.line;c<r.length;c++){const v=r[c];if(v.ruleIndex===L.RULE_identifier){const S=this.visit(v),C={lineNumber:v.start.line,column:v.start.column};this._repeatVarJudge(S,v,C,h),h.push(S),d.push(C)}}return{ruleType:le.VarMultiple,names:h,posList:d}});w(this,"visitBlockExpression",n=>{const{children:r,start:a}=n;if(this._currentLine=a.line,r&&r.length){const c=r[0];return this.visit(c)}return null});w(this,"visitParenthesizedExpression",n=>{const{children:r}=n,a=r[1],c=this.visit(a);return{ruleType:le.ParenthesizedExpression,type:c.type,ctx:n,exprs:c}});w(this,"visitAdditiveExpression",n=>{const{children:r}=n;let a=0,c="";const h=[];for(;a<r.length;a++){const v=r[a];v.ruleIndex===L.RULE_singleExpression?h.push(this.visit(v)):c=v.symbol.text}const d={ruleType:le.AdditiveExpression,operator:c,ctx:n,exprs:h};if(["+","-"].includes(c)){const v=[V.UNDETERMINED,V.INT,V.FLOAT];c==="+"&&v.push(V.STRING);const S=this._sameTypeJudge(h,[r[0],r[2]],c,v);d.type=this._typeHandle(S)}else{const v=this._calcTypeJudge(h[0],r[0],c),S=this._calcTypeJudge(h[1],r[2],c,1);d.type=this._typeHandle([v,S])}return d});w(this,"visitRelationalExpression",n=>{const{children:r}=n;let a=0,c="";const h=[];for(;a<r.length;a++){const S=r[a];S.ruleIndex===L.RULE_singleExpression?h.push(this.visit(S)):c=S.symbol.text}const d=this._calcTypeJudge(h[0],r[0],c),v=this._calcTypeJudge(h[1],r[2],c,1);return{ruleType:le.RelationalExpression,operator:c,ctx:n,type:this._typeHandle([d,v],V.BOOL),exprs:h}});w(this,"visitEqualityExpression",n=>{const{children:r}=n;let a=0,c="";const h=[];for(;a<r.length;a++){const v=r[a];v.ruleIndex===L.RULE_singleExpression?h.push(this.visit(v)):c=v.symbol.text}const d=this._sameTypeJudge(h,[r[0],r[2]],c,[]);return{ruleType:le.EqualityExpression,operator:c,ctx:n,type:this._typeHandle(d,V.BOOL),exprs:h}});w(this,"visitTernaryExpression",n=>{const{children:r}=n;let a=0;const c=[];for(;a<r.length;a++){const d=r[a];d.ruleIndex===L.RULE_singleExpression&&c.push(this.visit(d))}let h=V.UNDETERMINED;if(c.length>=3){this._boolTypeJudge(c[0],r[0],"?:");const d=this._sameTypeJudge(c.slice(1),[r[2],r[4]],"?:",[]),v=this._getPrefix(c[0].type);h=this._typeHandle(d),v&&this._getPrefix(h)&&(h=this._typeHandle([h,`${v} ${this._removePrefix(h)}`]))}return{ruleType:le.TernaryExpression,type:h,ctx:n,exprs:c}});w(this,"visitNameExpression",n=>{const{children:r}=n;if(r&&r.length){const a=r[0];return this.visit(a)}return null});w(this,"visitLiteralExpression",n=>{const{children:r}=n;if(r&&r.length){const a=r[0];return this.visit(a)}return null});w(this,"visitUnaryExpression",n=>{var S;const{children:r}=n,[a,c]=r,h=[this.visit(c)],d=a.symbol.text,v=this._calcTypeJudge(h[0],c,d);return((S=h[0])==null?void 0:S.ruleType)===le.UnaryExpression&&this._errors.push({message:ye(pe.unaryErr,{sign:d}),startColumn:a.symbol.column+1,startLineNumber:a.symbol.line,endColumn:a.symbol.column+2,endLineNumber:a.symbol.line}),{ruleType:le.UnaryExpression,operator:d,type:v,ctx:n,exprs:h}});w(this,"visitNotExpression",n=>{const{children:r}=n,a=r[1],c=[this.visit(a)],h=this._boolTypeJudge(c[0],a,"not");return{ruleType:le.NotExpression,ctx:n,type:this._typeHandle([h],V.BOOL),exprs:c}});w(this,"visitMemberIndexExpression",n=>{var h,d;const{children:r}=n;let a=0;const c=[];for(;a<r.length;a++){const v=r[a];v.ruleIndex===L.RULE_singleExpression&&c.push(this.visit(v))}if(this._memberIndexVerify(c[0],n),this._hasMemberIndex=!0,((h=c[0])==null?void 0:h.ruleType)===le.MemberIndexExpression){const v=r[1];this._errors.push({message:ye(pe.unaryErr,{sign:"["}),startColumn:v.symbol.column+1,startLineNumber:v.symbol.line,endColumn:v.symbol.column+2,endLineNumber:v.symbol.line}),this._hasMemberIndex=!1}return{ruleType:le.MemberIndexExpression,type:(d=c[0])==null?void 0:d.type,ctx:n,isInFunc:this._isInFunc,exprs:c}});w(this,"visitMethodStmt",n=>{var C;const{children:r,start:a}=n;let c=0;const h=[],d=[],v=this._commentsParser(a.line,[Kt.description],!0);this._currentLine=a.line;let S;for(;c<r.length;c++){const T=r[c];T.ruleIndex===L.RULE_methodElement&&(h.push(this.visit(T)),d.push(T))}return((C=h[0])==null?void 0:C.name)===Ii.library&&v.description&&(this._description=v.description.join(`
12
+ `)),S=this._getMethodTypes(h,d)||[],this._inputFuncTitleVerify(h,n),{ruleType:le.MethodExpression,types:S.length>1||S.isBrackethesized||S.isUnknown?S:void 0,ctx:n,type:S.length===1?S[0]:void 0,exprs:h}});w(this,"visitMethodExpression",n=>{const{children:r}=n;if(r&&r.length){const a=r[0];return this.visit(a)}return null});w(this,"visitLogicalAndExpression",n=>{const{children:r}=n;let a=0,c="";const h=[];for(;a<r.length;a++){const S=r[a];S.ruleIndex===L.RULE_singleExpression?h.push(this.visit(S)):c=S.symbol.text}const d=this._boolTypeJudge(h[0],r[0],c),v=this._boolTypeJudge(h[1],r[2],c,1);return{ruleType:le.LogicalAndExpression,type:this._typeHandle([d,v],V.BOOL),operator:c,ctx:n,exprs:h}});w(this,"visitLogicalOrExpression",n=>{const{children:r}=n;let a=0,c="";const h=[];for(;a<r.length;a++){const S=r[a];S.ruleIndex===L.RULE_singleExpression?h.push(this.visit(S)):c=S.symbol.text}const d=this._boolTypeJudge(h[0],r[0],c),v=this._boolTypeJudge(h[1],r[2],c,1);return{ruleType:le.LogicalOrExpression,operator:c,ctx:n,type:this._typeHandle([d,v],V.BOOL),exprs:h}});w(this,"visitMultiplicativeExpression",n=>{const{children:r}=n;let a=0,c="";const h=[];for(;a<r.length;a++){const S=r[a];S.ruleIndex===L.RULE_singleExpression?h.push(this.visit(S)):c=S.symbol.text}const d=this._calcTypeJudge(h[0],r[0],c),v=this._calcTypeJudge(h[1],r[2],c,1);return{ruleType:le.MultiplicativeExpression,operator:c,ctx:n,type:this._typeHandle([d,v]),exprs:h}});w(this,"visitBrackethesized",n=>{const{children:r,start:a}=n,c=r[1];return this._currentLine=a.line,{ruleType:le.Brackethesized,ctx:n,exprs:this.visit(c)}});w(this,"visitArguments",n=>{const{children:r}=n;let a=0;const c={params:[]};let h="";for(;a<r.length;a++){const d=r[a];if(d.ruleIndex===L.RULE_argument){const v=this.visit(d),S=v.paramKey;S?(h=S,c[S]?this._errorHandle(ye(ar.moreSameArg,{arg:S}),n.parentCtx,Sn.Warning):(c[S]=v.param,c[S].ctx=d)):h?this._errorHandle(ye(pe.argsSyntaxErr,{argName:h}),d):(v.ctx=d,c.params.push(v))}}return c});w(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])}});w(this,"visitIfStatement",n=>{const{children:r}=n;let a=0;const c={ruleType:le.IfStatement,condition:[],block:[],ctx:n,typeList:[]};for(;a<r.length;a++){const h=r[a];switch(h.ruleIndex){case L.RULE_singleExpression:const d=this.visit(h);if(!d)break;d.ctx=h,c.condition.push(d);break;case L.RULE_blockLine:const v=this._isInLocalScop;this._isInLocalScop=!0;const S=this.visit(h);c.typeList.push(this._getBlockReturnTypes(S)),c.block.push(S),this._isInLocalScop=v;break}}return this._verifyIf(c),c});w(this,"visitForToStatement",n=>{const{children:r}=n;let a=0;const c={ruleType:le.ForToStatement,numerical:[],ctx:n,block:[]};for(;a<r.length;a++){const h=r[a];switch(h.ruleIndex){case L.RULE_varModifier:c.declare=this.visit(h);break;case L.RULE_typeGather:const d=this.visit(h);c.type=d&&this._typeAddSeries(d);break;case L.RULE_identifier:c.name=this.visit(h);break;case L.RULE_singleExpression:this._blockCount++,this._forToNameHandle(c,n);const v=this.visit(h);v&&(v.ctx=h,c.numerical.push(v)),this._blockCount--;break;case L.RULE_blockLine:this._loopCount++;const S=this._isInLocalScop;this._isInLocalScop=!0,c.block=this.visit(h),this._loopCount--,this._isInLocalScop=S,c.returnedTypes=this._getBlockReturnTypes(c.block);break}}return this._verifyForTo(c),c});w(this,"visitForInStatement",n=>{const{children:r}=n;let a=0;const c={ruleType:le.ForInStatement,ctx:n,names:[]};for(;a<r.length;a++){const h=r[a];switch(h.ruleIndex){case L.RULE_identifier:const d=this.visit(h);c.names.push(d);break;case L.RULE_singleExpression:this._blockCount++,c.array=this.visit(h);const v=c.array.type;this._forInNameHandle(c,n),this._isArrayType(v)||this._isMatrixType(v)||v===V.UNDETERMINED||this._errorHandle(ye(pe.typeMismatch,{operator:"foreach",index:"id",typeE:v,typeR:"array<fun_arg>"}),h),this._blockCount--;break;case L.RULE_blockLine:this._loopCount++;const S=this._isInLocalScop;this._isInLocalScop=!0,c.block=this.visit(h),this._isInLocalScop=S,this._loopCount--,c.returnedTypes=this._getBlockReturnTypes(c.block);break}}return c});w(this,"visitSwitchStatement",n=>{const{children:r}=n;let a=0;const c={ruleType:le.SwitchStatement,condition:!0,ctx:n,cases:[],defaultCase:void 0};for(;a<r.length;a++){const h=r[a];switch(h.ruleIndex){case L.RULE_singleExpression:if(c.condition=this.visit(h),!h.children)break;c.condition.ctx=h;break;case L.RULE_caseClause:c.cases.push(this.visit(h));break;case L.RULE_defaultCaluse:c.defaultCase=this.visit(h);break}}return this._verifySwitch(c),c});w(this,"visitCaseClause",n=>{const{children:r}=n,a={ruleType:le.CaseClause},c=this._isInLocalScop;return this._isInLocalScop=!0,a.condition=this.visit(r[0]),a.condition&&(a.condition.ctx=r[0],a.block=this.visit(r[2]),this._isInLocalScop=c,a.returnedTypes=this._getBlockReturnTypes(a.block)),a});w(this,"visitDefaultCaluse",n=>{const{children:r}=n,a={ruleType:le.DefaultCaluse},c=this._isInLocalScop;return this._isInLocalScop=!0,a.block=this.visit(r[1]),this._isInLocalScop=c,a.returnedTypes=this._getBlockReturnTypes(a.block),a});w(this,"visitWhileStatement",n=>{const{children:r}=n,a={ruleType:le.WhileStatement,ctx:n};if(a.condition=this.visit(r[1]),!a.condition)return a;a.condition.ctx=r[1],this._loopCount++;const c=this._isInLocalScop;return this._isInLocalScop=!0,a.block=this.visit(r[2]),this._isInLocalScop=c,this._loopCount--,a.returnedTypes=this._getBlockReturnTypes(a.block),this._verifyWhile(a),a});w(this,"visitImportStmt",async n=>{const{children:r,start:a}=n;let c=0;const h=[];for(this._currentLine=a.line;c<r.length;c++){const d=r[c];if(d.ruleIndex===L.RULE_importElement){const v=await this.visit(d);v&&h.push(v)}}return h});w(this,"visitImportElement",async n=>{const{children:r}=n;if(!r||!r.length)return;let a=0;const c=[],h={ruleType:le.ImportElement,ctx:n};for(;a<r.length;a++){const d=r[a];d.ruleIndex===L.RULE_identifier?c.push(this.visit(d)):d.symbol&&d.symbol.type===L.IntegerLiteral&&(h.libraryVersion=d.symbol.text)}return h.username=c[0],h.libraryName=c[1],h.name=c[2],await this._importHandle(h,n),h});w(this,"visitLiteral",n=>{const{children:r}=n,a=r[0],{type:c,text:h}=a.symbol,d={ruleType:le.Literal,ctx:n,type:"",value:h};switch(c){case L.ColorLiteral:d.type=V.COLOR;break;case L.BooleanLiteral:d.type=V.BOOL;break;case L.StringLiteral:if(d.type=V.STRING,h.includes(`
13
+ `)){const v=h.replace(/\s*(\n|\r)\s*/g," ");d.value=`\`${v.substring(1,v.length-1)}\``}break;case L.IntegerLiteral:d.type=V.INT;break;case L.DecimalLiteral:d.type=V.FLOAT;break}return d.type&&(d.type=`${V.CONST} ${d.type}`),d});w(this,"visitMethodElement",n=>{const{children:r}=n,[a,c]=r,[h,d,v]=this.visit(a),S=this.visit(c);return h.startsWith("request.")&&this._isInFunc&&(this._currentExportFunc&&this._errorHandle(ye(pe.exportFuncUseReqErr,{name:h}),n),this._hasRequest=!0),{name:h,type:d,args:S,expr:v}});w(this,"visitMethodName",n=>{const{children:r}=n,a=[],c=[];let h=0,d=null;for(;h<r.length;h++){const S=r[h],C=S.ruleIndex,T=S.symbol;switch(C){case L.RULE_identifier:a.push(this.visit(S));break;case L.RULE_singleExpression:d=this.visit(S);break;case L.RULE_typeName:const D=this.visit(S);c.push(D),this._typeCheck(D,L.RULE_typeName,S);break;default:T&&T.text==="."&&a.push(".")}}const v=a.join("");return V_.includes(v)?this._hasDrawFunc=!0:j_.includes(v)&&(this._hasCreateOrderFunc=!0),[v,c,d]});w(this,"visitArrowFunction",n=>{const{children:r,start:a,stop:c}=n,h={ruleType:le.ArrowFunction,returnedTypes:[]};let d=0,v={lineNumber:0,column:0};const S=this._commentsParser(a.line,[Kt.function,Kt.param,Kt.returns],!0);Object.assign(h,{desc:S[Kt.function],paramsDesc:S[Kt.param],returnsDesc:S[Kt.returns]}),this._currentLine=a.line;let C=null;for(;d<r.length;d++){const T=r[d],D=T.ruleIndex,M=T.symbol;switch(D){case L.RULE_identifier:v={lineNumber:T.start.line,column:T.start.column},h.name=this.visit(T);break;case L.RULE_arrowFunctionParameters:h.params=this.visit(T),h.isExport&&this._exportArgsTypeVerify(h.params),this._setFuncParams(h,{endColumn:c.column,endLineNumber:c.line-1,startColumn:a.column,startLineNumber:a.line}),C=T;break;case L.RULE_block:this._isInFunc=!0,h.isExport&&(this._currentExportFunc=h.name),this._hasMemberIndex=!1,this._hasRequest=!1,h.block=this.visit(T),h.hasMemberIndex=this._hasMemberIndex,h.returnedTypes=this._getBlockReturnTypes(h.block),this._isInFunc=!1,this._currentExportFunc="";break;default:M&&M.type===L.Export&&(h.isExport=!0,this._addExportPos(M,"functions"))}}return h.hasRequest=this._hasRequest,this._setFunc(h,v,C,c.line-1),this._hasRequest=!1,this._currentFuncParams.clear(),h});w(this,"visitArrowFunctionParameters",n=>{const{children:r}=n;let a=0,c=[];for(;a<r.length;a++){const h=r[a];h.ruleIndex===L.RULE_formalParameterList&&(c=this.visit(h))}return c});w(this,"visitFormalParameterList",n=>{const{children:r}=n;let a=0;const c=[];for(;a<r.length;a++){const h=r[a];h.ruleIndex===L.RULE_formalParameterArg&&c.push(this.visit(h))}return c});w(this,"visitFormalParameterArg",n=>{const{children:r}=n;let a=0;const c={};for(;a<r.length;a++){const h=r[a];switch(h.ruleIndex){case L.RULE_typeGather:const d=this.visit(h);c.type=d&&this._typeAddSeries(d);break;case L.RULE_identifier:c.name=this.visit(h);break;case L.RULE_singleExpression:c.defaultValue=this.visit(h),delete c.defaultValue.ctx}}return c.ctx=n,this._verifyArgsDefaultValue(c,n),c.type=c.type||V.UNDETERMINED,c});w(this,"visitArrowMethod",n=>{const{children:r,start:a,stop:c}=n;let h=0;const d={ruleType:le.ArrowMethod,returnedTypes:[]};let v={lineNumber:0,column:0};const S=this._commentsParser(a.line,[Kt.function,Kt.param,Kt.returns],!0);Object.assign(d,{desc:S[Kt.function],paramsDesc:S[Kt.param],returnsDesc:S[Kt.returns]}),this._currentLine=a.line;let C=null;for(;h<r.length;h++){const T=r[h];switch(T.ruleIndex){case L.RULE_identifier:v={lineNumber:T.start.line,column:T.start.column},d.name=this.visit(T);break;case L.RULE_arrowMethodParameters:d.params=this.visit(T),d.isExport&&this._exportArgsTypeVerify(d.params),this._setFuncParams(d,{endColumn:c.column,endLineNumber:c.line-1,startColumn:a.column,startLineNumber:a.line}),C=T;break;case L.RULE_block:this._isInFunc=!0,d.isExport&&(this._currentExportFunc=d.name),this._hasMemberIndex=!1,this._hasRequest=!1,d.block=this.visit(T),d.hasMemberIndex=this._hasMemberIndex,d.returnedTypes=this._getBlockReturnTypes(d.block),this._isInFunc=!1,this._currentExportFunc="";break;default:T.symbol&&T.symbol.type===L.Export&&(d.isExport=!0,this._addExportPos(T.symbol,"methods"));break}}return d.hasRequest=this._hasRequest,this._setFunc(d,v,C,c.line-1),this._setMethod(d,v),this._hasRequest=!1,this._currentFuncParams.clear(),d});w(this,"visitArrowMethodParameters",n=>{const{children:r}=n;if(!r)return;let a=0;const c={};let h=[];for(;a<r.length;a++){const d=r[a];switch(d.ruleIndex){case L.RULE_typeGather:const v=this.visit(d);c.type=v&&this._typeAddSeries(v);break;case L.RULE_identifier:c.ctx=d,c.name=this.visit(d);break;case L.RULE_formalParameterList:h=this.visit(d);break}}return[c,...h]});w(this,"visitTypeStatement",n=>{const{children:r,start:a,stop:c}=n;let h=0;const d={ruleType:le.TypeStatement,fields:[]},v=this._commentsParser(a.line,[Kt.type,Kt.field]);Object.assign(d,{desc:v[Kt.type],fieldsDesc:v[Kt.field]}),this._currentLine=a.line;let S={lineNumber:0,column:0},C=null;for(;h<r.length;h++){const T=r[h];switch(T.ruleIndex){case L.RULE_identifier:S={lineNumber:T.start.line,column:T.start.column},C=T,d.name=this.visit(T),this._verifyTypeName(d.name,T);break;case L.RULE_typeElement:d.fields.push(this.visit(T));break;default:T.symbol&&T.symbol.type===L.Export&&(d.isExport=!0,this._addExportPos(T.symbol,"types"));break}}if(d.isExport){const T=c.line-1,{line:D=0}=this._endExport;T>D&&(this._endExport={line:T,name:d.name})}return this._setUserType(d,S,C),this._setNewFunc(d,S),this._setCopyFunc(d,S),this._setCopyMethod(d,S),d});w(this,"visitTypeElement",n=>{const{children:r,start:a}=n;let c=0;const h={};let d=null,v=null;for(this._currentLine=a.line;c<r.length;c++){const S=r[c];switch(S.ruleIndex){case L.RULE_typeGather:const C=this.visit(S);if(S.children[0].ruleIndex===L.RULE_typeSeries){const{column:T,line:D,text:M}=S.start,P=T+1;this._errors.push({startColumn:P,endColumn:parseInt(P+M.length),startLineNumber:D,endLineNumber:D,message:ye(this._buildinTypes.has(M)?pe.typeUseError:pe.notTypeKeyword,{text:M})}),h.type=V.UNDETERMINED}else h.type=C&&this._typeAddSeries(C);break;case L.RULE_identifier:h.name=this.visit(S),v=S;break;case L.RULE_singleExpression:d=S,h.value=this.visit(S);break;default:S.symbol&&S.symbol.type===L.Varip&&(h.isVarip=!0);break}}return this._typeElementVerify(h,d,v),h});w(this,"visitAssignmentOperator",n=>{const{children:r}=n;return r&&r[0].symbol.text});w(this,"visitTypeMap",n=>{const{children:r}=n;let a=0;const c=[];for(;a<r.length;a++){const h=r[a];if(h.ruleIndex===L.RULE_typeName){const d=this.visit(h);c.push(d),this._typeCheck(d,L.RULE_typeName,h)}}return`map<${c[0]},${c[1]}>`});w(this,"visitTypeSeries",n=>{const{children:r}=n,[a,c]=r,h=this.visit(a),d=this.visit(c);return this._typeCheck(h,L.RULE_typeSeries,a),this._typeCheck(d,L.RULE_typeName,c),`${h} ${d}`});w(this,"visitTypeArray",n=>{const{children:r}=n,a=r[0];let c=this.visit(a),h=c;if(r.length===3)c=V.ARRAY;else{this._typeCheck(c,L.RULE_typeArray,a);let d=1;for(;d<r.length;d++){const v=r[d];v.ruleIndex===L.RULE_typeName&&(h=this.visit(v),this._typeCheck(h,L.RULE_typeName,v))}}return this._arrayTypeConvert(`${c}<${h}>`)});w(this,"visitTypeGather",n=>{const{children:r}=n;if(r&&r.length){const a=r[0],c=this.visit(a);return a.ruleIndex===L.RULE_typeName&&this._typeCheck(c,L.RULE_typeName,a),c}return null});w(this,"visitIdentifier",n=>n.children&&n.children[0].symbol.text);w(this,"visitTypeName",n=>{const{children:r}=n;let a=0,c="";for(;a<r.length;a++){const h=r[a];h.ruleIndex===L.RULE_identifier?c=`${c}${this.visit(h)}`:c=`${c}.`}return c});w(this,"visitEnumStatement",n=>{const{children:r,start:a,stop:c}=n;let h=0;const d={ruleType:le.EnumStatement,fields:[]},v=this._commentsParser(a.line,[Kt.enum,Kt.field]);Object.assign(d,{desc:v[Kt.enum],fieldsDesc:v[Kt.field]}),this._currentLine=a.line;let S={lineNumber:0,column:0},C=null;for(;h<r.length;h++){const T=r[h];switch(T.ruleIndex){case L.RULE_identifier:S={lineNumber:T.start.line,column:T.start.column},C=T,d.name=this.visit(T),this._verifyEnumName(d.name,T);break;case L.RULE_enumElement:d.fields.push(this.visit(T));break;default:T.symbol&&T.symbol.type===L.Export&&(d.isExport=!0,this._addExportPos(T.symbol,"enums"));break}}if(d.isExport){const T=c.line-1,{line:D=0}=this._endExport;T>D&&(this._endExport={line:T,name:d.name})}return this._setUserEnum(d,S,C),d});w(this,"visitEnumElement",n=>{const{children:r,start:a}=n;let c=0;const h={};for(this._currentLine=a.line;c<r.length;c++){const d=r[c];switch(d.ruleIndex){case L.RULE_identifier:h.name=this.visit(d);break;default:d.symbol&&d.symbol.type===L.StringLiteral&&(h.value=d.symbol.text);break}}return h});w(this,"visitName",n=>{const{children:r}=n;let a=0,c=!1;const h=[];let d=null;for(;a<r.length;a++){const v=r[a];switch(v.ruleIndex){case L.RULE_identifier:h.push(this.visit(v));break;case L.RULE_singleExpression:d=this.visit(v);break;case L.RULE_methodElement:c=!0;const S=this.visit(v);S.ctx=v,h.push(S);break}}return this._nameHandle(c,h,d,n)});this._loopCount=0,this._errors=[],this._variables=new Map,this._functions=new Map,this._methods=new Map,this._currentFuncParams=new Map,this._types=new Map,this._enums=new Map,this._currentBlockVars=[new Map],this._blockCount=0,this._isInFunc=!1,this._isNeedCalc=!1,this._blockRanges=[],this._overloadsFuncs=[],this._hasMemberIndex=!1,this._isInLocalScop=!1,this._onlyStatementsCount=0,this._comments=r,this._exportFunctions=[],this._exportMethods=[],this._exportTypes=[],this._exportEnums=[],this._exportPositions=[],this._endExport={},this._importLibs=new Map,this._getImportLibraryFunc=a}get overloadsFuncs(){return this._overloadsFuncs}get errors(){return this._errors}get userEnums(){return this._enums}get userTypes(){return this._types}get userFunctions(){return this._functions}get userVariables(){return this._variables}get userMethods(){return this._methods}get hasUseDrawFunc(){return this._hasDrawFunc}get hasUseCreateOrderFunc(){return this._hasCreateOrderFunc}get scriptType(){return this._scriptType}get exportLibs(){return{functions:[...this._exportFunctions],methods:[...this._exportMethods],types:[...this._exportTypes],enums:[...this._exportEnums]}}get description(){return this._description}get exportPositions(){return this._exportPositions}get endExport(){return this._endExport}get imports(){return this._importLibs}_verifyGloablVar(n,r){const{name:a,varPos:c,isBuiltIn:h}=n;if(h&&this._errorHandle(ye(pe.buidinAssignErr,{name:a}),r),!c)return;const d=this._currentBlockVars[0].get(a);if(!d)return;const{column:v,lineNumber:S}=d.pos||{};this._isInFunc&&v===c.column&&S===c.lineNumber?this._errorHandle(ye(pe.modifyGlobalVarErr,{name:a}),r):d.hasAssigned=!0}_inputFuncTitleVerify(n,r){if(!(n!=null&&n.length)||n.length>1)return;const{name:a,args:c,isBuiltIn:h}=n[0];if(h&&!this._strategyFuncName&&a.startsWith(Ii.strategy))this._strategyFuncName={ctx:r,name:a};else if(!a.startsWith(V.INPUT))return;this._inputVarName&&!(c.params.some(d=>d.originName==="title")||c.title)&&(c.title={value:`"${this._inputVarName}"`,ruleType:le.Literal,type:`${V.CONST} ${V.STRING}`})}_verifyIf(n){const{condition:r}=n;if(r!=null&&r.length)for(const a of r){const{type:c,ctx:h}=a;if(c===V.UNDETERMINED)continue;const d=this._removePrefix(c);[V.INT,V.FLOAT].includes(d)?this._errorHandle(ye(ar.conditionWarning,{name:"if"}),h,Sn.Warning):d!==V.BOOL&&this._errorHandle(ye(pe.conditionalErr,{name:"if"}),h)}}_forToNameHandle(n,r){if(n.name&&n.numerical.length===1){this._pushBlockRanges(r);const a=n.numerical[0].type;this._variablesHandle({nameList:{name:n.name,isForVar:!0,type:n.type},value:{type:a||`${V.SERIES} ${V.INT}`}},r),this._blockRanges.pop()}}_verifyForTo(n){const{numerical:r}=n;if(r!=null&&r.length)for(const a of r){const{type:c,ctx:h}=a;if(c===V.UNDETERMINED)continue;const d=this._removePrefix(c);[V.INT,V.FLOAT].includes(d)||this._errorHandle(pe.fortoErr,h)}}_forInNameHandle(n,r){if(this._pushBlockRanges(r),n.names.length){let[a,c]=n.names;const h=n.array.type;c?this._variablesHandle({nameList:{name:a,isForVar:!0,type:`${V.SERIES} ${V.INT}`},value:{type:`${V.SERIES} ${V.INT}`}},r):c=a;const d=h===V.UNDETERMINED?h:this._isMatrixType(h)?`${this._getArrayType(h)}[]`:this._typeAddSeries(this._getArrayType(h));this._variablesHandle({nameList:{name:c,isForVar:!0,type:d},value:{type:d}},r)}this._blockRanges.pop()}_verifySwitch(n){var r;if(n.cases){const a=(r=n.condition)==null?void 0:r.type;if(a===V.UNDETERMINED)return;if(a&&this._types.has(a)){this._errorHandle(ye(pe.typeMismatch,{operator:"switch",index:"expr0",typeE:a,typeR:`${V.SIMPLE} ${V.STRING}`}),n.condition.ctx);return}for(const c of n.cases){const{condition:{type:h,ctx:d}}=c;if(h!==V.UNDETERMINED)if(this._types.has(h))this._errorHandle(ye(pe.typeMismatch,{operator:"case",index:"expr1",typeE:h,typeR:`${V.SIMPLE} ${V.STRING}`}),d);else if(a){if(!this._compareType(a,h)){const v=this._removePrefix(a),S=this._removePrefix(h);v===V.BOOL&&[V.INT,V.FLOAT].includes(S)?this._errorHandle(ye(ar.conditionWarning,{name:"switch"}),d,Sn.Warning):[V.INT,V.FLOAT].includes(v)&&S===V.BOOL?this._errorHandle(ye(ar.conditionWarning,{name:"switch"}),n.condition.ctx,Sn.Warning):this._errorHandle(ye(pe.typeMismatch,{operator:"case",index:"expr1",typeE:h,typeR:`${a}`}),d)}}else{const v=this._removePrefix(h);[V.INT,V.FLOAT].includes(v)?this._errorHandle(ye(ar.conditionWarning,{name:"switch"}),d,Sn.Warning):v!==V.BOOL&&this._errorHandle(ye(pe.conditionalErr,{name:"switch"}),d)}}}}_verifyWhile(n){const{condition:r}=n;if(r){const{type:a,ctx:c}=r;if(a===V.UNDETERMINED)return;const h=this._removePrefix(a);[V.INT,V.FLOAT].includes(h)?this._errorHandle(ye(ar.conditionWarning,{name:"while"}),c,Sn.Warning):h!==V.BOOL&&this._errorHandle(ye(pe.conditionalErr,{name:"while"}),c)}}async _importHandle(n,r){const{stop:a,start:c}=r,{username:h,libraryName:d,libraryVersion:v,name:S}=n,C=`${h}/${d}/${v}`;if(this._importLibs.has(C))return this._errorHandle(pe.importMultipleErr,r),n;for(const[M,P]of this._importLibs)if(P.name&&P.name===S||!P.name&&!S&&P.libraryName===d)return this._errorHandle(ye(pe.importNameRepeatErr,{name:S,line:P.startLine}),r),n;let T=S||d;const D=await this._getImportLibraryFunc({...n,libraryId:C,ctx:void 0,startLine:c.line,endLine:a.line,startColumn:c.column,endColumn:a.column+a.text.length+1});if(D){const{codeStr:M,description:P}=D;this._importLibs.set(C,{...n,libraryId:C,startLine:c.line,endLine:a.line,ctx:void 0,desc:P}),this._importDataHandle(D,T),wn.includes(T)&&(T=`$${T}`),n.code=M.replace("$name",T)}else this._errorHandle(ye(pe.importNotExitErr,{username:h,libraryName:d}),r)}_importDataHandle(n,r){const{functions:a,methods:c,types:h}=n;for(const d of a){const{name:v}=d,S=`${r}.${v}`,C=this._functions.get(S)||[];C.push({...this._importTypeUpdate(d,h,r),name:S,isUser:void 0,isImport:!0}),this._functions.set(S,C)}for(const d of c){const v=this._importTypeUpdate(d,h,r),S=v.originalName||v.name,C=this._methods.get(S)||[];C.push({...v,isImport:!0,isUser:void 0}),this._methods.set(S,C)}for(const d of h){const v=`${r}.${d.name}`,S=this._types.get(v)||[];S.push({...this._importTypeUpdate(d,h,r),name:v,isImport:!0}),this._types.set(v,S)}}_importTypeUpdate(n,r,a){var M;let{args:c,returnedTypes:h,thisType:d,fields:v,name:S,originalName:C}=n,T="";if(c&&c.length&&(c=c.map(P=>{const{allowedTypeIDs:b,displayType:y,name:g}=P,O=y&&this._replaceTypeName(y,r,a);return T=T?`${T}, ${O} ${g}`:`${O} ${g}`,{...P,allowedTypeIDs:b==null?void 0:b.map(R=>this._replaceTypeName(R,r,a)),displayType:O}})),h!=null&&h.length&&(h=[this._replaceTypeName(h[0],r,a)]),d!=null&&d.length){const P=this._replaceTypeName(d[0],r,a);P!==d[0]&&(C=`${a}.${C||S}`),d=[P]}v!=null&&v.length&&(v=v.map(P=>{const{type:b}=P;return{...P,type:b&&this._replaceTypeName(b,r,a)}}));const D={...n,args:c,returnedTypes:h,thisType:d,fields:v,originalName:C};return(M=D.syntax)!=null&&M.length&&(D.syntax=[`${C||`${a}.${S}`}(${T}) → ${(h==null?void 0:h[0])||"void"}`]),D}_replaceTypeName(n,r,a){const c=r.find(h=>n.includes(h.name));return c?n.replace(c.name,`${a}.${c.name}`):n}_verifyArgsDefaultValue(n,r){const{defaultValue:a,type:c}=n;if(!a)return;const{ruleType:h,isBuiltIn:d,type:v}=a,S=this._removePrefix(v);if(h!==le.Literal&&!d)delete n.defaultValue,this._errorHandle(pe.argDefaultErr,r);else if(c&&c!==V.UNDETERMINED&&v!==V.UNDETERMINED){const C=this._removePrefix(c);if(C===V.FLOAT&&S===V.INT)return;S!==C&&this._errorHandle(ye(pe.defaultValueTypeErr,{typeE:v,typeR:c}),r)}else c||(n.type=this._typeAddSeries(S===V.INT?V.FLOAT:S))}_exportArgsTypeVerify(n){for(const r of n)(r.type===V.UNDETERMINED||!r.type)&&this._errorHandle(pe.exportFuncArgErr,r.ctx)}_verifyTypeName(n,r){lu.includes(n)?this._errorHandle(ye(pe.typeNameErr,{name:n}),r):Mp.includes(n)&&this._errorHandle(ye(pe.enumVarNameBuiltinErr,{name:n}),r)}_addExportPos(n,r){const{line:a,column:c,text:h}=n;this._exportPositions.push({startLineNumber:a,startColumn:c,endLineNumber:a,endColumn:c+h.length+1,type:r})}_verifyEnumName(n,r){lu.includes(n)?this._errorHandle(ye(pe.enumVarNameErr,{name:n}),r):Mp.includes(n)&&this._errorHandle(ye(pe.enumVarNameBuiltinErr,{name:n}),r)}_nameHandle(n,r,a,c){var d,v;const h={ruleType:le.Name,hasMethod:n,exprs:r,expr:a};if(n){let S="";const C=[];for(const D of r)typeof D=="string"?S=S?`${S}.${D}`:D:(S&&(D.name=`${S}.${D.name}`),C.push(D),S="");h.exprs=[...C,S];const T=this._getMethodTypes(C,Array.from(C,()=>c));if(T&&T.length){const D=ye(pe.noFiledErr,{name:S});T.length>1&&this._errorHandle(D,c),h.type=((v=this._nameCheck(this._getOriginMethodName(T[0],S),c,D))==null?void 0:v.type)||V.UNDETERMINED}}else{let S=r.join(".");if(a&&a.type&&a.type===V.UNDETERMINED)h.type=V.UNDETERMINED,S=`expr0.${S}`;else{a&&a.type&&(S=`${this._getMethodTypeName(a.type)}.${S}`);const C=this._nameCheck(S,c)||{};(d=C.title)!=null&&d.startsWith("built-in")&&(h.isBuiltIn=!0,h.isConst=C.isConst,!this._strategyVarName&&S.startsWith(Ii.strategy)&&(this._strategyVarName={ctx:c,name:S})),h.enumName=C.enumName,h.varPos=C.pos,h.varScope=C.scope,h.declare=C.declare,h.type=(C==null?void 0:C.type)||V.UNDETERMINED,C!=null&&C.isArg&&(h.arg=C),h.scope=this._blockCount,C.isEnum?this._errorHandle(ye(pe.enumUseErr,{name:S}),c):this._isInFunc&&this._currentExportFunc&&(h.type.startsWith(V.INPUT)?this._errorHandle(ye(pe.exportFuncHasInputErr,{name:S,func:this._currentExportFunc}),c):C.scope===0&&C.hasAssigned&&this._errorHandle(ye(pe.exportFuncUseGlobalVarErr,{func:this._currentExportFunc}),c))}h.name=S}return h}_typeElementVerify(n,r,a){var v,S;const{type:c,value:h}=n;if(!h){c||this._errorHandle(pe.typeFieldErr,a);return}if(![le.Literal,le.UnaryExpression].includes(h.ruleType)&&!h.isBuiltIn){this._errorHandle(pe.defaultValueErr,r);return}else if(h.ruleType===le.UnaryExpression){const{exprs:C}=h;if(![le.Literal,le.UnaryExpression].includes((v=C[0])==null?void 0:v.ruleType)&&!((S=C[0])!=null&&S.isBuiltIn)){this._errorHandle(pe.defaultValueErr,r);return}}if(!c){const C=h.type,T=this._getPrefix(C);n.type=T?this._typeAddSeries(this._removePrefix(C)):C;return}(!this._compareType(c,h.type)||c.endsWith(V.INT)&&h.type.endsWith(V.FLOAT))&&this._errorHandle(ye(pe.defaultValueTypeErr,{typeE:h.type,typeR:c}),r)}_memberIndexVerify(n,r){if(n.ruleType===le.Name&&!n.hasMethod&&this._blockCount){const c=this._currentBlockVars[this._blockCount],h=c&&c.get(n.name);h&&(h.isForVar?this._errorHandle(ye(pe.notHistoryErr,{name:n.name}),r):!(this._blockCount===1&&this._isInFunc)&&this._errorHandle(ye(ar.localScopeGetHistory,{name:n.name}),r,Sn.Warning))}const a=n&&n.type;if(a){const c=this._removePrefix(a);!this._types.has(c)&&!this._buildinTypes.has(c)&&!this._isArrayType(c)&&!this._isMatrixType(c)&&!this._isMapType(c)&&c!==V.UNDETERMINED&&this._errorHandle(ye(pe.invalidType,{index:0}),r)}}_setFuncParams(n,r){var a;for(const c of n.params){const h=(a=this._types.get(c.type))==null?void 0:a[0];if(c.scope=this._blockCount+1,h&&h.fields)for(const d of h.fields){const v=`${c.name}.${d.name}`;this._currentFuncParams.set(v,{...d,originName:v,varScope:c.scope})}delete c.ctx,c.range=r,this._setVariablesMap(c,!0),this._currentFuncParams.set(c.name,c)}}_pushBlockRanges(n){!n||!n.start||!n.stop||this._blockRanges.push({startColumn:n.start.column,endColumn:n.stop.column,startLineNumber:n.start.line,endLineNumber:n.stop.line})}_setUserEnum(n,r,a){const{fields:c,name:h,desc:d,fieldsDesc:v}=n,S={members:c.map(C=>({name:C.name,value:C.value,enumName:h,isEnumMember:!0,desc:v==null?void 0:v[C.name],type:`${V.CONST} ${h}`})),name:h,desc:d,pos:r};if(this._enums.has(h)){this._errorHandle(ye(pe.typeRepeatErr,{name:h,keyword:Kt.enum}),a);return}else if(this._types.has(h)){this._errorHandle(ye(pe.typeRepeatErr,{name:h,keyword:Kt.type}),a);return}n.isExport&&this._exportEnums.push(S),this._enums.set(h,[{...S}]),this._addEnumToMap(h,h,r)}_setUserType(n,r,a){const{fields:c,name:h,desc:d,fieldsDesc:v}=n,S={fields:c.map(C=>({name:C.name,desc:v==null?void 0:v[C.name],type:C.type})),name:h,desc:d,pos:r};if(this._enums.has(h)){this._errorHandle(ye(pe.typeRepeatErr,{name:h,keyword:Kt.enum}),a);return}else if(this._types.has(h)){this._errorHandle(ye(pe.typeRepeatErr,{name:h,keyword:Kt.type}),a);return}n.isExport&&this._exportTypes.push(S),this._types.set(h,[{...S}]),this._addVarToMap(h,h,r,!1,!1)}_againAssignHandle(n,r,a){const c=a!==":="?a.replace("=",""):a,h=a!==":="?[V.UNDETERMINED,V.INT,V.FLOAT]:[];c==="+"&&h.push(V.STRING);const[d,v]=n;d.arg&&!d.name.includes(".")&&this._errorHandle(ye(pe.funcArgAssignErr,{name:d.name}),r[0]);const S=this._sameTypeJudge(n,r,c,h);let C=this._typeHandle(S);return this._updateUserVar(d.name,C,v.type),d.type=C,{ruleType:le.AgainAssign,name:d,operator:a,type:C,value:v}}_typeCheck(n,r,a){const c=[V.SERIES,V.SIMPLE,V.CONST];switch(r){case L.RULE_typeName:const h=this._buildinTypes.get(n);h&&![...c,V.ARRAY,V.MATRIX,V.MAP].includes(h[0].name)||this._types.get(n)||this._errorHandle(ye(pe.notTypeKeyword,{text:n}),a);break;case L.RULE_typeArray:[V.ARRAY,V.MATRIX].includes(n)||this._errorHandle(pe.tempateTypeErr,a);break;case L.RULE_typeSeries:c.includes(n)||this._errorHandle(ye(pe.qualifierErr,{name:n}),a);break}}_getBuildVar(n){const r=this._buildinVariables.get(n);if(r&&r[0])return r[0];const a=this._buildinConstants.get(n);return a&&a[0]?Object.assign(a[0],{isConst:!0}):this._specialTreatmentChartPoint(n)}_specialTreatmentChartPoint(n){var r,a;if(n.startsWith("chart.point")){const c=n.split("."),h=c.pop(),d=c.join(".");return(((a=(r=this._buildinTypes.get(d))==null?void 0:r[0])==null?void 0:a.fields)||[]).find(S=>S.name===h)}}_verifyName(n,r){var c,h;const a=this._getBuildVar(n);if(a)return a;if(n.includes(".")){const d=n.split("."),v=d.pop(),S=d.join(".");let C=this._blockCount;for(;C>=0;){if(!this._currentBlockVars[C]){C--;continue}const D=this._currentBlockVars[C].get(S);if(r&&this._judgeGatherValue(v||"",r,D==null?void 0:D.valueType,!0),(D==null?void 0:D.type)==="chart.point"){const P=(((h=(c=this._buildinTypes.get(D.type))==null?void 0:c[0])==null?void 0:h.fields)||[]).find(b=>b.name===v);if(P)return Object.assign(P,{pos:D.pos})}C--}const T=this._specialTreatmentChartPoint(n);if(T)return T}return this._getUserVar(n)}_judgeGatherValue(n,r,a,c){return a!==`${V.SIMPLE} ${V.NA}`?!0:(c&&this._errorHandle(ye(pe.objectIsNaErr,{name:n,type:"field"}),r),!1)}_nameCheck(n,r,a=ye(pe.undeclared,{name:n})){const c=this._verifyName(n,r);return c||this._errorHandle(a,r),c}_inBlock(n){this._blockCount++,this._pushBlockRanges(n);const r=this.visit(n);return this._blockCount--,this._blockRanges.pop(),this._currentBlockVars.splice(this._blockCount+1),r}_errorHandle(n,r,a=Sn.Error){this._errors.push({message:n,startColumn:r.start.column+1,startLineNumber:r.start.line,endColumn:r.start.column+2+r.stop.stop-r.start.start,endLineNumber:r.stop.line,type:a})}_boolTypeJudge(n,r,a,c=0){return this._typeJudge(n,r,a,V.BOOL,[V.UNDETERMINED,V.INT,V.FLOAT,V.BOOL],c)}_calcTypeJudge(n,r,a,c=0){return this._typeJudge(n,r,a,"int/float",[V.UNDETERMINED,V.INT,V.FLOAT],c)}_typeJudge(n,r,a,c,h,d=0){const v=n&&n.type;if(v){const S=this._removePrefix(v);if(!h.includes(S)&&S!==V.NA)return this._errorHandle(ye(pe.typeMismatch,{operator:`operator ${a}`,index:`expr${d}`,typeE:S,typeR:c}),r),V.UNDETERMINED;c===V.BOOL&&[V.INT,V.FLOAT].includes(S)&&this._errorHandle(ye(ar.typeMismatch,{operator:`operator ${a}`,index:`expr${d}`,type:V.BOOL}),r,Sn.Warning)}return v||V.UNDETERMINED}_sameTypeJudge(n,r,a,c){let h="";const d=[],v=["plot_display","plot_simple_display"];["+","-","+=","-="].includes(a)&&(c=c.concat(v));for(const[S,C]of n.entries()){let T=C&&C.type||V.UNDETERMINED;const D=this._removePrefix(T);if(!c.includes(D)&&c.length&&D!==V.NA){this._errorHandle(ye(pe.typeMismatch,{operator:`operator ${a}`,index:`expr${S}`,typeE:T,typeR:c.slice(1).join("/")}),r[S]),h=V.UNDETERMINED,d.push(h);continue}if(!h){h=D,d.push(T);continue}if(h===V.UNDETERMINED||D===V.UNDETERMINED)T=h=V.UNDETERMINED;else if(h!==D&&h!==V.NA&&D!==V.NA&&(![V.INT,V.FLOAT].includes(h)||![V.INT,V.FLOAT].includes(D)))if(a===":="){if(h===V.BOOL&&[V.INT,V.FLOAT].includes(D)){this._errorHandle(ye(ar.boolVarNumWarning,{name:n[0].name}),r[0],Sn.Warning),d.push(T);continue}this._errorHandle(ye(pe.assignTypeMismatch,{typeE:D,name:n[0].name,typeR:h}),r[0]),T=h=V.UNDETERMINED}else if(["==","!=","?:"].includes(a)&&[V.INT,V.FLOAT,V.BOOL].includes(h)&&[V.INT,V.FLOAT,V.BOOL].includes(D))this._errorHandle(ye(ar.typeMismatch,{operator:`operator ${a}`,index:`expr${S}`,type:h}),r[S],Sn.Warning),T=h=V.UNDETERMINED;else if(v.includes(h)&&v.includes(D)){if(h!==D){const M=this._getPrefix(T);d[S-1]=`${this._getPrefix(d[S-1])} ${v[0]}`,T=h=`${M} ${v[0]}`}}else this._errorHandle(ye(pe.typeMismatch,{operator:`operator ${a}`,index:`expr${S}`,typeE:D,typeR:h}),r[S]),T=h=V.UNDETERMINED;d.push(T)}return d}_getUserVar(n,r=!1){for(let a=this._blockCount;a>=0;a--){const c=this._currentBlockVars[a];if(a<=0){const h=this._currentFuncParams.get(n);if(h)return h.isArg=!0,h}if(c){const h=c.get(n);if(h)return h}}if(n.includes(".")&&!r){let a=!1,c=null;if(n.split(".").reduce((h,d)=>{let v=h?`${h}.${d}`:d;const S=this._getUserVar(v,!0);return S!=null&&S.type?S.type===V.UNDETERMINED?a=!0:(v=S.type,c=S):c=null,v},""),a)return{name:n,type:V.UNDETERMINED};if(c)return c}return null}_repeatVarJudge(n,r,a,c){this._getBuildVar(n)&&this._errorHandle(ye(pe.buidinVarErr,{name:n}),r);for(let d=0;d<=this._blockCount;d++){const v=this._currentBlockVars[d];if(v&&v.get(n)){if(this._blockCount===d)return this._errorHandle(ye(pe.repeatVar,{name:n}),r),!0;a.reName=`$_${n}__${this._blockCount}`,this._errorHandle(ye(ar.repeatVar,{name:n}),r,Sn.Warning)}}c!=null&&c.some(d=>d===n&&n!=="_")&&this._errorHandle(ye(pe.repeatVar,{name:n}),r)}_judgeVarBuildIn(n){for(let r=0;r<=this._blockCount;r++){const a=this._currentBlockVars[r];if(a&&a.get(n))return!0}return!1}_updateUserVar(n,r,a){for(let c=0;c<=this._blockCount;c++){const h=this._currentBlockVars[c];if(h){const d=h.get(n);if(d){d.type=r,d.valueType=a;return}}}}_variablesHandle(n,r){var h,d,v,S,C;if(!(n&&n.nameList))return;const a=n.nameList;if(a.name==="_")return;const c=n.value;if(a.ruleType===le.VarMultiple){a.types=[],this._checkVarMultiple(a.names,c,r);for(const[T,D]of a.names.entries()){if(D==="_")continue;const M=this._varTypeJudge("",((h=c==null?void 0:c.types)==null?void 0:h[T])||V.UNDETERMINED,D,r);a.types.push(M),this._addVarToMap(D,M,a.posList[T],!0)}}else{const T=(c==null?void 0:c.type)||((d=c==null?void 0:c.returnedTypes)==null?void 0:d[0]);((v=c==null?void 0:c.types)!=null&&v.isBrackethesized||(S=c==null?void 0:c.returnedTypes)!=null&&S.isBrackethesized||(C=c==null?void 0:c.types)!=null&&C.length)&&this._errorHandle(ye(pe.tupleLeftVarErr,{name:a.name}),r),!a.type&&T===`${V.SIMPLE} ${V.NA}`&&this._errorHandle(pe.naVarErr,r),a.prefix&&Pi.indexOf(a.prefix)>Pi.indexOf(this._getPrefix(T))&&this._errorHandle(ye(pe.declaredErr,{prefix:a.prefix,type:T}),r);const D=this._varTypeJudge(a.type,T||V.UNDETERMINED,a.name,r);a.type=D,this._addVarToMap(a.name,D,a.pos,!0,a.isForVar,a.declare,c==null?void 0:c.type,a.desc)}}_checkVarMultiple(n,r,a){var S,C,T,D;const c=n.length,h=((r==null?void 0:r.types)||(r==null?void 0:r.returnedTypes)||[]).length,d=((S=r==null?void 0:r.types)==null?void 0:S.isBrackethesized)||((C=r==null?void 0:r.returnedTypes)==null?void 0:C.isBrackethesized);(T=r==null?void 0:r.types)!=null&&T.isUnknown||(D=r==null?void 0:r.returnedTypes)!=null&&D.isUnknown||(h===1&&!d||!h?this._errorHandle(pe.tupleRightVarErr,a):c!==h&&this._errorHandle(ye(pe.tupleVarErr,{indexA:h,indexB:c}),a))}_addEnumToMap(n,r,a){var v;const c=this._currentBlockVars[this._blockCount]||new Map,h=(v=this._enums.get(n))==null?void 0:v[0];if(h&&h.members)for(const S of h.members)c.set(`${n}.${S.name}`,S);const d={name:n,isEnum:!0,type:`${V.CONST} ${r}`,pos:a};c.set(n,d),this._currentBlockVars[this._blockCount]=c}_addVarToMap(n,r,a,c=!0,h=!1,d,v,S){var M;const C=this._currentBlockVars[this._blockCount]||new Map,T=(M=this._types.get(r))==null?void 0:M[0];if(T&&T.fields)for(const P of T.fields)C.set(`${n}.${P.name}`,P);const D={name:n,type:r,pos:a,valueType:v,desc:S};c&&this._setVariablesMap(D),C.set(n,Object.assign(D,{isForVar:h,declare:d})),this._currentBlockVars[this._blockCount]=C}_setVariablesMap(n,r=!1){const a=this._blockRanges[this._blockCount];r||(n.range=a,n.scope=this._blockCount);const c=this._variables.get(n.name)||[];c.push(n),this._variables.set(n.name,c)}_varTypeJudge(n,r,a,c){if(r===V.VOID)return this._errorHandle(pe.voidNotVar,c),V.UNDETERMINED;if(n&&r!==V.UNDETERMINED){const h=this._removePrefix(n),d=this._removePrefix(r);return d!==h&&d!==V.NA&&!(h===V.FLOAT&&d===V.INT)?h===V.BOOL&&[V.FLOAT,V.INT].includes(d)?(this._errorHandle(ye(ar.boolVarNumWarning,{name:a}),c,Sn.Warning),n):(this._errorHandle(ye(pe.declareTypeErr,{type:n,valueType:r}),c),V.UNDETERMINED):this._typeHandle([n,r])}else if(r===V.UNDETERMINED)return V.UNDETERMINED;return n||r||V.UNDETERMINED}_getAllowTypes(n){const r=[];if(n===V.UNDETERMINED)return r;const a=this._getPrefix(n);if(a){const c=this._removePrefix(n);let h=-1;for(const[d,v]of Pi.entries())v===a&&(h=d),h>=0&&h<=d&&(c===V.FLOAT&&r.push(`${v} ${V.INT}`),r.push(`${v} ${c}`))}else n=this._arrayTypeConvert(n)||"",r.push(n),n.includes(V.FLOAT)&&r.push(n.replace(/float/,V.INT));return r}_setNewFunc(n,r){const a=`${n.name}.new`,c=[],h=[];for(const v of n.fields)c.push({name:v.name,required:!1,allowedTypeIDs:this._getAllowTypes(v.type),displayType:v.type}),h.push(`${v.type} ${v.name}`);const d={name:a,args:c,returnedTypes:[n.name],pos:r,syntax:[`${a}(${h.join(", ")}) → ${n.name}`]};n.isExport&&this._exportFunctions.push(d),this._functions.set(a,[{...d,isUser:!0}])}_setCopyFunc(n,r){const a=n.name,c=`${a}.copy`,h={name:c,args:[{name:"object",required:!0,allowedTypeIDs:[a],displayType:a}],returnedTypes:[a],pos:r,info:"The identifier of the object to be copied.",syntax:[`${c}(${a} object) → ${a}`]};n.isExport&&this._exportFunctions.push(h),this._functions.set(c,[{...h,isUser:!0}])}_setCopyMethod(n,r){const a=n.name,c=`${a}.copy`,h={name:c,originalName:c,args:[],returnedTypes:[a],thisType:[a],pos:r,syntax:[`${c}() → ${a}`]};n.isExport&&this._exportMethods.push(h),this._methods.set(c,[{...h,isUser:!0}])}_setFunc(n,r,a,c){const h=[],d=[],{desc:v,paramsDesc:S,returnsDesc:C,params:T,hasMemberIndex:D}=n;for(const O of T){const{type:R,name:k,defaultValue:U}=O;h.push({name:k,desc:S==null?void 0:S[k],required:!U,allowedTypeIDs:this._getAllowTypes(R),displayType:R}),d.push(`${R===V.UNDETERMINED?"":`${R} `}${k}`)}const{returnedTypes:M=[]}=n,P=n.name,b=M.length>1||M.isBrackethesized?`[${M.join(", ")}]`:M.toString(),y={name:P,desc:v,args:h,syntax:[`${P}(${d.join(", ")}) → ${b||"void"}`],hasMemberIndex:D,pos:r,isUser:!0,returnedTypes:M,returns:C,hasRequest:this._hasRequest};let g=this._functions.get(P);if(g){const O=g.length;y.index=O,n.index=O,this._verifyFuncRepeat(g,y,a),g.push(y),this._overloadsFuncs.push({name:P,index:O,line:r.lineNumber,startColumn:r.column+1,endColumn:r.column+P.length})}else g=[y];if(n.isExport){const{line:O=0}=this._endExport;c>O&&(this._endExport={line:c,name:P,index:y.index}),this._exportFunctions.push(y)}this._functions.set(P,g)}_setMethod(n,r){var R;const{name:a,returnedTypes:c,params:h,desc:d,paramsDesc:v,returnsDesc:S}=n,C=h[0].type,T=[],D=[];for(const k of h.slice(1)){const{type:U,name:X,defaultValue:J}=k;T.push({name:X,desc:v==null?void 0:v[X],required:!J,allowedTypeIDs:this._getAllowTypes(U),displayType:U}),D.push(`${U} ${X}`)}const M=c.length>1||c.isBrackethesized?`[${c.join(", ")}]`:c.toString(),P=this._getMethodTypeName(C),b=`${P}.${a}`;n.typeName=P;const y={name:a,args:T,desc:d,originalName:b,syntax:[`${a}(${D.join(", ")}) → ${M||"void"}`],returnedTypes:c,hasMemberIndex:n.hasMemberIndex,pos:r,thisType:[C],returns:S,hasRequest:this._hasRequest};let g=this._methods.get(b),O=this._functions.get(a);if(O){const k=O.filter(J=>!J.isImport).length,U=((R=g==null?void 0:g.filter(J=>!J.isImport))==null?void 0:R.length)||0;let X=k;k>U&&(X=k-1),y.index=X,n.index=X}g?g.push(y):g=[y],n.isExport&&this._exportMethods.push(y),this._methods.set(b,g)}_verifyFuncRepeat(n,r,a){const{args:c}=r;n.some(d=>{const{args:v}=d;return(v==null?void 0:v.length)!=(c==null?void 0:c.length)?!1:!(v!=null&&v.length)&&!(c!=null&&c.length)?!0:v==null?void 0:v.every((S,C)=>{var T;return S.displayType===((T=c==null?void 0:c[C])==null?void 0:T.displayType)})})&&this._errorHandle(ye(pe.funcRepeatErr,{name:r.name}),a)}_getMethodTypes(n,r){let a;for(const[c,h]of n.entries()){const{type:d,expr:v,args:S}=h;let{name:C}=h;const T=r[c];if(v){if(v.type===V.UNDETERMINED)return[V.UNDETERMINED];C=`${this._getMethodTypeName(v.type)}${C}`,S.params.unshift(v)}if(a&&a.length>=1)if(a.length===1){const D=a[0];if(D===V.UNDETERMINED)return[V.UNDETERMINED];const M=this._getOriginMethodName(D,C);C.includes(".")?a=this._getOtherNamesMethodType(M,a,T,S,h):a=this._expandMethodHandle(M,T,S,{type:D},D,h)}else this._errorHandle(ye(pe.noFiledErr,{name:C}),T);else{const[D,M]=this._tempFuncNameHandle(C,T,d);C=M;const P=this._buildinFunctions.get(D);if(P)this._globalFuncVerify(P[0],T),this._hasMemberIndexVerify(P[0],T,h),h.isBuiltIn=!0,a=this._getBuildInReturnTypes(P,S,C,T,void 0,d);else{const b=this._functions.get(C);if(b)if(b.length<=1){this._hasMemberIndexVerify(b[0],T,h),a=b[0].returnedTypes;const{hasErr:y}=this._checkArgs(S,b[0].args||[],C,T,a[0]);if(y)return[V.UNDETERMINED]}else{const y=this._overloadsFuncGetTypes(b,S,T,void 0,h);a=this._returnedTypesParse([y])}else a=this._getOtherNamesMethodType(C,a,T,S,h)}}h.returnTypes=a}return a===void 0&&this._errorHandle(ye(pe.notFindFuncErr,{name:n[0].name}),r[0]),a}_globalFuncVerify(n,r){this._blockCount!==0&&$_.includes(n.name)&&this._errorHandle(ye(pe.globalFuncErr,{name:n.name}),r)}_hasMemberIndexVerify(n,r,a){n.hasRequest&&(a.hasRequest=!0,this._hasRequest=!0),n.hasMemberIndex||n.name.startsWith("ta.")||n.name==="math.sum"?(this._hasMemberIndex=this._isInFunc,a.hasMemberIndex=!0,a.position=r.start.tokenIndex):n.name.startsWith("request.")&&this._isInLocalScop&&this._errorHandle(pe.requestUserInLoopErr,r)}_tempFuncNameHandle(n,r,a){let c=n;if(a&&a.length>=1){const h=["array.new","matrix.new"].includes(n),d=n==="map.new";if(a.length===1)if(h)c=`${n}<type>`,n=`${n}<${a[0]}>`;else return d?this._errorHandle(ye(pe.templateErr,{countA:2,countB:1}),r):this._errorHandle(ye(pe.templateNoSupportErr,{name:n}),r),[V.UNDETERMINED];else{if(!d)return h?this._errorHandle(ye(pe.templateErr,{countA:1,countB:2}),r):this._errorHandle(ye(pe.templateNoSupportErr,{name:n}),r),[V.UNDETERMINED];if(!lu.includes(a[0]))return this._errorHandle(ye(pe.mapKeyErr,{type:this._typeAddSeries(a[0])}),r),[V.UNDETERMINED];c=`${n}<type,type>`,n=`${n}<${a[0]},${a[1]}>`}}return[c,n]}_getOtherNamesMethodType(n,r,a,c,h){const d=n.split("."),v=d.length-1,S=d.slice(0,v).join("."),C=this._getUserVar(S);this._judgeGatherValue(d[v],a,C==null?void 0:C.valueType)||(h.name=`${S}?.${d[v]}`);const D=C==null?void 0:C.type;if(D){if(D===V.UNDETERMINED)return r=[V.UNDETERMINED],r.isUnknown=!0,r;const M=this._getOriginMethodName(D,d[v]);h.varScope=C.scope,r=this._expandMethodHandle(M,a,c,C,S,h)}else{let M="",P="",b="";for(const y of d.slice(0,v)){M?P=this._getOriginMethodName(M,y):P=P?`${P}.${y}`:y;const g=this._verifyName(P);if(g!=null&&g.type){if(M=g.type,b="",g.title.startsWith("built-in variable")){const O=this._getOriginMethodName(M,d[v]);r=this._expandMethodHandle(O,a,c,g,S,h),h.hasVarPrefix=!0}}else this._buildinTypes.get(P)?b=ye(pe.methodNotExistErr,{name:P,methodName:d[v]}):b=ye(pe.noFiledErr,{name:y})}b&&this._errorHandle(b,a)}return r}_expandMethodHandle(n,r,a,c,h,d){var C,T;let v;const S=this._buildinMethods.get(n);if(S)d.name=d.name.split(".").join("?.").replace("??","?"),v=this._getBuildInReturnTypes(S,a,n,r,c);else{const D=this._methods.get(n);if(D&&D.length)if(D.length<=1){const M=D[0],P=this._getMethodTypeName(((C=M.thisType)==null?void 0:C[0])||"");if(this._types.get(P))d.name=d.name.split(".").join("?.").replace("??","?");else{const g=this._functions.get(M.name);g&&(d.selfArg=(T=g[M.index||0].args)==null?void 0:T[0])}d.funcName=M.name,d.index=M.index,this._hasMemberIndexVerify(M,r,d),v=M.returnedTypes;const{hasErr:y}=this._checkArgs(a,M.args||[],n,r,(v==null?void 0:v[0])||"");if(y)return[V.UNDETERMINED]}else{const M=this._overloadsFuncGetTypes(D,a,r,c,d);v=this._returnedTypesParse([M])}else this._errorHandle(ye(pe.methodNotExistErr,{methodName:n.split(".").slice(-1)[0],name:h}),r)}return v}_getBuildInReturnTypes(n,r,a,c,h,d){var S;let v;if(n.length===1){const{returnedTypes:C,syntax:T,args:D=[],thisType:M}=n[0],P=T[0].split("→")[1].trim(),b=h||r.params[0]||((S=D[0])==null?void 0:S.name)&&r[D[0].name];b&&!this._checkMethodThisType(M,b.type)&&this._errorHandle(ye(pe.typeMismatch,{operator:a,index:b.name||"id",typeE:b.type,typeR:M[0]}),c);const{hasErr:y,types:g}=this._checkArgs(r,D,a,c,P,b);if(y)return[V.UNDETERMINED];if(v=g.length&&g||this._returnedTypesParse(C),v.length>1||v.isBrackethesized)return v;(d==null?void 0:d.length)===1?v=[this._typeReplace(P,d[0])]:(d==null?void 0:d.length)===2&&(v=[`${V.MAP}<${d[0]},${d[1]}>`]),v=this._returnTypesOtherHandle(b,P,v,a)}else{const C=this._overloadsFuncGetTypes(n,r,c,h);v=this._returnedTypesParse([C])}return v}_overloadsFuncGetTypes(n,r,a,c,h){var P,b,y;let d="",v=[],S=[],C=0,T=0;for(const[g,O]of n.entries()){const{args:R,returnedTypes:k,name:U,thisType:X}=O,J=c||r.params[0]||r[R[0].name],{errMsg:G,warnMsg:Y,matchCount:$}=this._overloadsCheckArgs(r,R,U,a,J);$>T&&(C=g,T=$),J&&!this._checkMethodThisType(X,J.type)&&G.unshift({msg:ye(pe.typeMismatch,{operator:U,index:J.name||"id",typeE:J.type,typeR:X[0]}),ctx:a}),g===0?(v=G,S=Y,!G.length&&(d=k[0])):G.length?((P=v[0])!=null&&P.isLenErr&&!((b=G[0])!=null&&b.isLenErr)||v.length>G.length)&&(v=G,S=Y,C=g):this._priorityComparison(d,k[0])||(k[0]===`${V.ARRAY}<>`?d=`${J.type}[]`:d=k[0],v=G,S=Y,C=g)}for(const g of v)this._errorHandle(g.msg,g.ctx);for(const g of S)this._errorHandle(g.msg,g.ctx,Sn.Warning);const D=a.children[0],M=n[0].name;if(D&&this._overloadsFuncs.push({name:M,index:C,line:D.start.line,startColumn:D.start.column+1,endColumn:D.start.column+M.length}),h){const g=n[C],{thisType:O,name:R,index:k}=g;if(this._hasMemberIndexVerify(g,a,h),h.index=k||C,O){const U=this._getMethodTypeName((O==null?void 0:O[0])||"");if(this._types.get(U))h.name=h.name.split(".").join("?.").replace("??","?");else{const J=this._functions.get(R);J&&(h.selfArg=(y=J[0].args)==null?void 0:y[0])}}}return this._funcArgsAddOriginName(r,n[C].args,M),d||V.UNDETERMINED}_funcArgsAddOriginName(n,r,a){const c=n.params||[];for(const[h,d]of r.entries())h<c.length&&(c[h].originName=d.name);if(a==="input"){const h=c[0]||n.defval;Object.assign(n,{inputType:{name:`'${h!=null&&h.isSourceType?"source":this._removePrefix(h==null?void 0:h.type)}'`}})}}_overloadsCheckArgs(n,r,a,c,h){const d={...n},v=d.params;delete d.params;const S=Object.keys(d).length+v.length,C=r.length,T=[],D=[];let M=0;S>C&&(r.some(b=>["arg0, arg1, ...","number0, number1, ..."].includes(b.name))||T.push({msg:ye(pe.argsLenErr,{name:a,lenA:S,lenB:C}),isLenErr:!0,ctx:c}));for(const[P,b]of r.entries()){let y=d[b.name];if(P<v.length&&(y&&T.push({msg:ye(ar.moreSameArg,{arg:b.name}),ctx:c}),y=v[P]),!y)b.required&&T.push({msg:ye(pe.requiredParamErr,{name:a,argName:b.name}),ctx:c});else{const g=y.type!==`${V.SIMPLE} na`?this._checkArg(y,b,a,h,y.ctx,!0,D):"";g?T.push({msg:g,ctx:y.ctx}):M++,delete d[b.name]}if(["arg0, arg1, ...","number0, number1, ..."].includes(b.name)&&v.length>P+1){const g=v.slice(P+1);let O=v[P];for(const R of g){O.type===`${V.SIMPLE} ${V.NA}`&&(O=R);const k=R.type!==`${V.SIMPLE} ${V.NA}`?this._checkArg(R,b,a,O,R.ctx,!0,D):"";k&&T.push({msg:k,ctx:R.ctx})}}}if(Object.keys(d).length)for(const P of Object.keys(d))T.push({msg:ye(pe.argsNameErr,{name:a,argName:P}),ctx:d[P].ctx});return{errMsg:T,warnMsg:D,matchCount:M}}_checkArgs(n,r,a,c,h,d){var P,b;const v={...n},S=v.params;delete v.params;const C=Object.keys(v).length+S.length,T=r.length;let D=!1,M=[];if(C>T&&!r.some(g=>["arg0, arg1, ...","number0, number1, ..."].includes(g.name)))return this._errorHandle(ye(pe.argsLenErr,{name:a,lenA:C,lenB:T}),c),D=!0,{hasErr:D,types:M};for(const[y,g]of r.entries()){let O=v[g.name];if(y<S.length&&(O&&this._errorHandle(ye(ar.moreSameArg,{arg:g.name}),c,Sn.Warning),O=S[y],O.originName=g.name),!O)g.required&&(this._errorHandle(ye(pe.requiredParamErr,{name:a,argName:g.name}),c),D=!0);else{const R=O.type!==`${V.SIMPLE} ${V.NA}`?this._checkArg(O,g,a,d,O.ctx):"";if(R)this._errorHandle(R,O.ctx),D=!0;else if(a.startsWith("request.")&&g.name==="expression")if(O.ruleType===le.Brackethesized)M=O.exprs.map(k=>this._typeReplace(h,k.type));else if((P=O.types||O.returnedTypes)!=null&&P.length)M=(O.types||O.returnedTypes).map(k=>this._typeReplace(h,k)),(b=O.types||O.returnedTypes)!=null&&b.isBrackethesized&&Object.assign(M,{isBrackethesized:!0});else{const k=this._typeReplace(h,O.type);M.push(k)}else if(a==="input.enum"&&g.name==="defval"){const k=this._removePrefix(O.type);M.push(`${V.INPUT} ${k}`)}delete v[g.name]}}if(Object.keys(v).length)for(const y of Object.keys(v))this._errorHandle(ye(pe.argsNameErr,{name:a,argName:y}),v[y].ctx),D=!0;return{hasErr:D,types:M}}_checkArg(n,r,a,c,h,d,v){var y,g;const{ruleType:S,exprs:C,name:T}=n;let D=n.type;S===le.Brackethesized&&(D=`[${C.map(O=>O.type).join(", ")}]`);const{allowedTypeIDs:M=[],displayType:P,name:b}=r;if(!(!D||D===V.UNDETERMINED||P===V.UNDETERMINED)){if(a==="input"&&b==="defval"&&!D.startsWith(V.CONST))if(Cl.includes(T))n.isSourceType=!0;else return pe.inputDefvalErr;if(!(this._checkMethodThisType(M,this._arrayTypeConvert(D))&&!(["input.source","input.enum"].includes(a)&&b==="defval"))){if(b==="condition"&&(P!=null&&P.endsWith(V.BOOL))){if(D.endsWith(V.INT)||D.endsWith(V.FLOAT)){const O=ye(ar.typeMismatch,{index:b,operator:a,type:V.BOOL});h&&(v?v.push({ctx:h,msg:O}):this._errorHandle(O,h,Sn.Warning));return}}else if(a==="str.tostring"&&b==="value"){const O=this._removePrefix(D);if(this._enums.get(O))return}switch(P){case"tuple of const string values: [val1, val2, ...]":return this._tupleToCheck(n,r,[`${V.CONST} ${V.STRING}`],a,D);case"tuple of const int/float values: [val1, val2, ...]":return this._tupleToCheck(n,r,[`${V.CONST} ${V.FLOAT}`,`${V.CONST} ${V.INT}`],a,D);case"tuple of const int values: [val1, val2, ...]":return this._tupleToCheck(n,r,[`${V.CONST} ${V.INT}`],a,D);case"open/high/low/close/hl2/hlc3/ohlc4/hlcc4":if(!T||!Cl.includes(T))return ye(pe.inputSourceErr,{name:b,funcName:a});if(this._judgeVarBuildIn(T))return ye(pe.buildInUseErr,{name:T});n.isSourceType=!0;break;case"<matrix_type>":case"<array_type>":const O=this._getArrayType(a)||"";if(!D.endsWith(O)&&!(D.endsWith(V.INT)&&O===V.FLOAT))return ye(pe.typeMismatch,{operator:a,index:b,typeE:D,typeR:this._typeAddSeries(O)});break;case"any matrix type":if(this._isMatrixType(D)){if(b==="id2"){const $=this._getArrayType(c==null?void 0:c.type);if(!$)return;const te=this._getArrayType(D)||"";if($!==te)return ye(pe.typeMismatch,{operator:a,index:b,typeE:te,typeR:$})}}else return ye(pe.typeMismatch,{operator:a,index:b,typeE:D,typeR:"matrix<fun_arg>"});break;case"any array type":if(this._isArrayType(D)){if(b==="id2"){const $=this._getArrayType(c==null?void 0:c.type);if(!$)return;const te=this._getArrayType(D)||"";if($!==te)return ye(pe.typeMismatch,{operator:a,index:b,typeE:te,typeR:$})}}else return ye(pe.typeMismatch,{operator:a,index:b,typeE:D,typeR:"array<fun_arg>"});break;case"series <type of the matrix's elements>":case"series <type of the array's elements>":const R=this._getArrayType(c==null?void 0:c.type)||"";if(!D.endsWith(R)&&!(D.endsWith(V.INT)&&R===V.FLOAT))return ye(pe.typeMismatch,{operator:a,index:b,typeE:D,typeR:this._typeAddSeries(R)});break;case"any map type":if(this._isMapType(D)){if(b==="id2"){const $=this._getMapType(c==null?void 0:c.type);if(!$)return;const te=this._getMapType(D)||[];if($[0]!==te[0]||$[1]!==te[1])return ye(pe.mapKeyValErr,{typeA:this._typeAddSeries(te[0]),typeB:this._typeAddSeries(te[1]),typeC:this._typeAddSeries($[0]),typeD:this._typeAddSeries($[1]),name:a})}}else return ye(pe.typeMismatch,{operator:a,index:b,typeE:D,typeR:"map<type, type>"});break;case"series <type of the map's elements>":const k=this._getMapType(c==null?void 0:c.type);if(!k)return;const U=b==="key"?0:1;if(!D.endsWith(k[U])&&!(D.endsWith(V.INT)&&k[U]===V.FLOAT))return ye(pe.typeMismatch,{operator:a,index:b,typeE:D,typeR:this._typeAddSeries(k[U])});break;case"<arg_expr_type>":if(S===le.Brackethesized)return ye(pe.typeMismatch,{operator:a,index:b,typeE:D,typeR:P||""});break;case"<arg_type>":case"variable, function, object, array or matrix of series int/float/bool/string/color, or a tuple of these":const X=this._removePrefix(D);if([V.BOX,V.LABEL,V.LINE,V.LINEFILL,V.POLYLINE,V.TABLE].includes(X))return ye(pe.requestExprErr,{type:X,name:a});break;case"variable, object or function of series int/float/bool/string/color, or a tuple of these":if(S===le.Brackethesized){for(const $ of C)if(!M.includes($.type))return ye(pe.requestArgsErr,{name:a,argName:b,type:$.type})}break;case"const int/float/bool/string/color or source-type built-ins":if(Cl.includes(n.name)&&M[0].endsWith(this._removePrefix(D)))n.isSourceType=!0;else return ye(pe.typeMismatch,{operator:a,index:b,typeE:D,typeR:"const int/float/bool/string/color"});break;case"<arg..._type>":if(S===le.Brackethesized||this._isArrayType(D)||this._isMapType(D)||this._isMatrixType(D))return ye(pe.typeMismatch,{operator:a,index:b,typeE:D,typeR:`${V.SERIES} ${V.INT}`});if(D!==(c==null?void 0:c.type))return ye(pe.typeMismatch,{operator:a,index:b,typeE:D,typeR:c==null?void 0:c.type});break;case"simple enum":const J=this._removePrefix(D);if(!this._enums.has(J))return ye(pe.typeMismatch,{operator:a,index:b,typeE:D,typeR:"const enum"});break;case"tuple of enum fields: [enumName.field1, enumName.field2, ...]":const G=c==null?void 0:c.enumName;if(G&&!((y=n.exprs)==null?void 0:y.every(te=>te.enumName===G)))return ye(pe.typeMismatch,{operator:a,index:b,typeE:`${n.exprs?`[${(g=n.exprs)==null?void 0:g.map(te=>te.type).join(", ")}]`:n.type}`,typeR:`[const ${G}...]`});break;default:const Y=this._removePrefix(n.type);if(n.arg&&n.arg.isArg&&!d){const $=M.find(te=>te.endsWith(Y));if($){n.type=$,n.arg.type=$;return}}if(M.length===1&&this._removePrefix(M[0])===Y){const $=this._getPrefix(n.type),te=this._getPrefix(M[0]);if(Pi.indexOf($)>=Pi.indexOf(te))return}if(P)return ye(pe.typeMismatch,{operator:a,index:b,typeE:D,typeR:P})}}}}_tupleToCheck(n,r,a,c,h){var d,v;if(a.push(`${V.SIMPLE} ${V.NA}`),n.ruleType===le.Brackethesized){const S=[];let C=!1;for(const T of n.exprs)S.push(T.type),a.includes(T.type)||(C=!0);if(C)return ye(pe.typeMismatch,{operator:c,index:r.name,typeE:`[${S.join(", ")}]`,typeR:((d=r.allowedTypeIDs)==null?void 0:d[0])||""})}else return ye(pe.typeMismatch,{operator:c,index:r.name,typeE:h,typeR:((v=r.allowedTypeIDs)==null?void 0:v[0])||""})}_getBlockReturnTypes(n){var D,M;let r=n;if(Array.isArray(n)&&(r=n.slice(-1)[0],Array.isArray(r)&&(r=r.slice(-1)[0])),!r)return[V.UNDETERMINED];const{ruleType:a,type:c,types:h,returnedTypes:d,exprs:v,nameList:S,typeList:C,block:T}=r;if(h&&h.length)return h;if(d&&d.length)return d;if(c)return[c];switch(a){case le.Brackethesized:const P=v.map(J=>J.type);return P.isBrackethesized=!0,P;case le.VarBlockStmt:case le.DeclareAssign:return S?S.ruleType===le.VarMultiple?S.types:[S.type]:[((D=r.name)==null?void 0:D.type)||V.UNDETERMINED];case le.SwitchStatement:if(!this._isNeedCalc&&this._isInFunc&&this._isEndExpr===!1)return[V.UNDETERMINED];const b=[...r.cases];r.defaultCase&&b.push(r.defaultCase);let y=((M=b[0])==null?void 0:M.returnedTypes)||[],g=y.length<=1?y[0]:`[${y.join(", ")}]`,O=null;for(const J of b.slice(1)){const G=J.returnedTypes||[V.UNDETERMINED];g+=G.length<=1?`; ${G[0]}`:`; [${G.join(", ")}]`;const Y=Array.isArray(J.block)?J.block.slice(-1)[0]:J.block;if(G.length!==y.length)O=Y.ctx;else for(const[$,te]of y.entries())if(this._compareType(G[$],te))(G[$].includes(V.FLOAT)&&!te.includes(V.FLOAT)||y[$]===`${V.SIMPLE} ${V.NA}`||y[$]===V.UNDETERMINED)&&(y[$]=G[$]);else{O=Y.ctx;break}}return O&&(this._errorHandle(ye(pe.ifOrSwitchTypeErr,{keyword:"switch",types:g}),O),y=y.map(()=>V.UNDETERMINED)),r.returnedTypes=y,y;case le.IfStatement:if(!this._isNeedCalc&&!this._isInFunc)return[V.UNDETERMINED];if(!C.filter(J=>J&&J.length).length)return[V.UNDETERMINED];let R=C[0]||[],k=R.length<=1?R[0]:`[${R.join(", ")}]`,U=0,X=0;for(const J of C.slice(1))if(J)if(U++,k+=J.length<=1?`; ${J[0]}`:`; [${J.join(", ")}]`,J.length!==R.length)X=U;else for(const[G,Y]of R.entries())if(this._compareType(J[G],Y))(J[G].includes(V.FLOAT)&&!Y.includes(V.FLOAT)||R[G]===`${V.SIMPLE} ${V.NA}`)&&(R[G]=J[G]);else{X=U;break}if(X){const J=T[X].slice(-1)[0],G=Array.isArray(J)?J.slice(-1)[0]:J;this._errorHandle(ye(pe.ifOrSwitchTypeErr,{keyword:"if",types:k}),G.ctx),R=R.map(()=>V.UNDETERMINED)}return r.returnedTypes=R,R}return[V.UNDETERMINED]}}class J_{constructor(e){w(this,"_nameMap");w(this,"_prefixNameVar");w(this,"_prefixNameFunc");w(this,"_prefixNameConst");w(this,"_userTypes");w(this,"_isInFunc");w(this,"_currentFuncName");w(this,"_varlist");w(this,"_memberIndexList");w(this,"_blockCount");w(this,"_inputCount");w(this,"_count");w(this,"_isSwitch",!1);w(this,"_isInLoop",!1);w(this,"_codesCol");w(this,"_dependsObj");w(this,"_enums");w(this,"_preRunMembers");w(this,"_isInConditionalStmt",!1);w(this,"_preRunMembersFuncs");w(this,"_preRunMemberFuncsCount",0);w(this,"__count",0);w(this,"preParseCode","");this._nameMap=new Map,this._prefixNameVar=`${e}_var`,this._prefixNameFunc=`${e}_func`,this._prefixNameConst=`${e}_const`,this._userTypes=[],this._isInFunc=!1,this._varlist=[{}],this._memberIndexList=[{}],this._blockCount=0,this._inputCount=0,this._count=0,this._codesCol=[[]],this._dependsObj={},this._enums=new Map,this._preRunMembers=[],this._preRunMembersFuncs=[]}preParser(e){var r,a;const n=[];for(const c of e){if(!c)return;if(Array.isArray(c)){for(const h of c)if(n.push(this._parserStmt(h)),fu.includes((a=(r=h.exprs)==null?void 0:r[0])==null?void 0:a.name))return n.join(`;
14
+ `).replace(/;+/g,";")}else n.push(this._parserStmt(c))}return""}parser(e){var a,c;const n=[];for(const h of e){if(!h)return;if(Array.isArray(h))for(const d of h)n.push(this._parserStmt(d)),!this.preParseCode&&fu.includes((c=(a=d.exprs)==null?void 0:a[0])==null?void 0:c.name)&&(this.preParseCode=n.join(`;
15
+ `).replace(/;+/g,";"));else n.push(this._parserStmt(h))}const r=this._memberIndexList[this._blockCount]||{};return n.push(...Object.values(r)),n.join(`;
16
+ `).replace(/;+/g,";")}_parserStmt(e,n=!1){let r="";switch(e==null?void 0:e.ruleType){case le.DeclareAssign:r=this._parserDeclareAssign(e);break;case le.MethodExpression:r=`${this._parserMethodExpression(e)}`;break;case le.ArrowFunction:r=this._parserArrowFunction(e);break;case le.ArrowMethod:r=this._parserArrowMethod(e);break;case le.IfStatement:r=this._parserIfStatement(e,n);break;case le.WhileStatement:r=this._parserWhileStatement(e,n);break;case le.SwitchStatement:r=this._parserSwitchStatement(e,n);break;case le.ForInStatement:r=this._parserForInStatement(e,n);break;case le.ForToStatement:r=this._parserForToStatement(e,n);break;case le.AgainAssign:r=this._parserAgainAssign(e);break;case le.ImportElement:r=e.code||"";break;case le.TypeStatement:r=this._parserTypeStatement(e);break;case le.VarBlockStmt:r=this._parserVarBlockStmt(e);break;case le.FlowStmt:if(this._isSwitch&&e.value==="break"){if(this._isInLoop){r="$$isBreak = true;";break}r="";break}r=`${e.value};`;break;case le.Brackethesized:r=this._parserBrackethesized(e);break;case le.EnumStatement:r=this._parserEnumStatement(e);break;default:r=this._parserSingleExpression(e);break}let a="";const c=this._preRunMembers[this._blockCount];if(c!=null&&c.length&&(a=`${a}
17
+ ${c.join(`;
18
+ `)}`,this._preRunMembers[this._blockCount]=[]),a){const h=this._codesCol[this._blockCount].pop(),d=r===(h==null?void 0:h.code);r=`${a}${n?`
19
+ /****/
20
+ `:`;
21
+ `}${r}`,d&&(h.code=r,this._codesCol[this._blockCount].push(h))}return r}_parserEnumStatement(e){let{name:n,fields:r}=e;const a=[],c=[];for(const d of r){const{name:v,value:S}=d,C=S===void 0?`"${v}"`:S;c.push(C),a.push(`${v}: ${C}`)}wn.includes(n)&&(n=`$${n}`),this._enums.set(n,c);const h=`const ${n} = {${a.join(", ")}}`;return this._codesCol[this._blockCount].push({code:h,varNames:[n],depends:[]}),h}_parserTypeStatement(e){const n=[],r=[];for(const h of e.fields){const{name:d,value:v}=h;h.isVarip&&r.push(`"${d}"`),n.push(`${d}: ${v?this._parserSingleExpression(v):"undefined"}`)}this._userTypes.push(e.name);let a=e.name;wn.includes(a)&&(a=`$${a}`);const c=`const ${a} = ${this._prefixNameVar}.getTypeInstance({${n.join(", ")}}, [${r.join()}])`;return this._codesCol[this._blockCount].push({code:c,varNames:[a],depends:[]}),c}_parserVarBlockStmt(e){const{nameList:n,value:r}=e;this._addVarList(n);const a=this._parserDeclareAssignNames(n),c=`$${a}_${this._blockCount}`;this._dependsObj[c]=new Map;const h=this._parserStmt(r,!0),d=h.split(`
22
+ /****/
23
+ `);let v="";d.length>1?v=`${d[0]}
24
+ let ${a} = ${d[1]}
25
+ `:v=`let ${a} = ${h}`;const S={code:v,varNames:a.replace(/[\[\]]/g,"").split(", "),depends:this._getDepends(c)};return this._codesCol[this._blockCount].push(S),v}_getDepends(e){const n=[];for(const[r,a]of this._dependsObj[e])(a.scope||0)>this._blockCount||n.push(a);return delete this._dependsObj[e],n}_parserForToStatement(e,n=!1){let{numerical:r,block:a,name:c}=e;const[h,d,v]=r,S=this._isInLoop;let C=this._count;this._isInLoop=!0;const T=`$start${this._count++}`,D=`$$count${this._count}`,M=`$forTo${this._blockCount}`;n||(this._dependsObj[M]=new Map);const P=this._parserSingleExpression(h),b=this._parserSingleExpression(d),y=v?this._parserSingleExpression(v):"",g=this._parserBlockLine(a,n,!1,!0);wn.includes(c)&&(c=`$${c}`);const O=`var ${T} = Date.now()`,R=`for (let ${c}=${P}; ${c}>=(${b}); ${c}-=(${y||"1"})){
26
+ if (Date.now() - ${T} > 500) {
27
+ throw new Error('${pe.loopRuntimeErr}')
28
+ }
29
+ ${D}++
30
+ ${g}
31
+ }`,k=`for (let ${c}=${P};${c}<=(${b}); ${c}+=(${y||"1"})){
32
+ if (Date.now() - ${T} > 500) {
33
+ throw new Error('${pe.loopRuntimeErr}')
34
+ }
35
+ ${D}++
36
+ ${g}
37
+ }`;let U="";return(h==null?void 0:h.ruleType)==="Literal"&&(d==null?void 0:d.ruleType)==="Literal"?U=Number(h.value)>Number(d.value)?R:k:U=`if ((${P})>(${b})) {
38
+ ${R}
39
+ } else {
40
+ ${k}
41
+ }`,U=`${O};
42
+ var ${D} = 0
43
+ ${U}`,n||this._codesCol[this._blockCount].push({code:U,depends:this._getDepends(M)}),S&&(this._count=C),this._isInLoop=S,n?this._functionalProcess(U):U}_parserForInStatement(e,n=!1){const{names:r,block:a,array:c}=e,h=this._isInLoop;let d=this._count;this._isInLoop=!0;const v=`$start${this._count++}`,S=`$$count${this._count}`,C=this._parserBlockLine(a,n,!1,!0);let T="",[D,M]=r;wn.includes(D)&&(D=`$${D}`);const P=`var ${v} = Date.now()`;return r.length===1?T=`for (const ${D} of ${this._parserSingleExpression(c)}._value) {
44
+ if (Date.now() - ${v} > 500) {
45
+ throw new Error('${pe.loopRuntimeErr}')
46
+ }
47
+ ${S}++
48
+ ${C}
49
+ }`:(wn.includes(M)&&(M=`$${M}`),T=`for (const [${D},${M}] of (${this._parserSingleExpression(c)})._value.entries()) {
50
+ if (Date.now() - ${v} > 500) {
51
+ throw new Error('${pe.loopRuntimeErr}')
52
+ }
53
+ ${S}++
54
+ ${C}
55
+ }`),this._isInLoop=h,T=`${P};
56
+ var ${S} = 0;
57
+ ${T}`,h&&(this._count=d),n?this._functionalProcess(T):T}_parserAgainAssign(e){const{operator:n,name:r,value:a}=e,{varPos:c,declare:h}=r,d=`$againAssign${this._blockCount}`;this._dependsObj[d]=new Map;const v=this._parserName(r,!0);let S="",C=this._parserStmt(a,!0);const T=C.split(`
58
+ /****/
59
+ `);let D="";T.length>1&&(D=T[0],C=T[1]);let M=`${v} ${n===":="?`= ${C}`:`${n} ${C}`}`;const P=`${c==null?void 0:c.column}_${c==null?void 0:c.lineNumber}`;if(h){const y=this._isInFunc?`$posStr + "_${P}"`:`"${P}"`;S=`;
60
+ ${this._prefixNameVar}.setVarValue("${v}", ${y}, ${v}, "${h}")`}n==="-="?M=`${v} = ${this._prefixNameVar}.sub(${v}, ${C})`:n==="+="?M=`${v} = ${this._prefixNameVar}.add(${v}, ${C})`:n===":="&&(D=`${D};
61
+ `);const b=`${D}${M}${S}`;return this._codesCol[this._blockCount].push({code:b,depends:this._getDepends(d)}),b}_parserSwitchStatement(e,n=!1){const{condition:r,cases:a,defaultCase:c}=e;let h=`$switch${this._blockCount}`;n||(this._dependsObj[h]=new Map);const d=this._isSwitch;this._isSwitch=!0;const v=a.length?this._parserCases(a,n):"",S=c?this._parserDefaultCase(c,n):"",C=`switch (${r===!0?r:this._parserSingleExpression(r)}) {
62
+ ${v}
63
+ ${S}
64
+ }`;n||this._codesCol[this._blockCount].push({code:C,depends:this._getDepends(h)});const T=n?this._functionalProcess(C):C;return this._isSwitch=d,T}_parserCases(e,n=!1){const r=[];for(const a of e)r.push(this._parserCase(a,n));return r.join(`
65
+ `)}_parserDefaultCase(e,n=!1){return`default:
66
+ { ${this._parserBlock(e.block,n)} }
67
+ break;`}_parserCase(e,n=!1){const{condition:r,block:a}=e;return`case ${this._parserSingleExpression(r)}:
68
+ { ${this._parserBlock(a,n)} }
69
+ break;`}_parserWhileStatement(e,n=!1){const{condition:r,block:a}=e;let c=`$while${this._blockCount}`;n||(this._dependsObj[c]=new Map);const h=this._isInLoop,d=this._count;this._isInLoop=!0;const v=`$start${this._count++}`,S=`var ${v} = Date.now()`,C=`$$count${this._count}`;let T=`while (${this._parserSingleExpression(r)}) {
70
+ if (Date.now() - ${v} > 500) {
71
+ throw new Error('${pe.loopRuntimeErr}')
72
+ }
73
+ ${C}++
74
+ ${this._parserBlockLine(a,n,!1,!0)}
75
+ }`;return T=`${S};
76
+ var ${C} = 0;
77
+ ${T}`,n||this._codesCol[this._blockCount].push({code:T,depends:this._getDepends(c)}),h&&(this._count=d),this._isInLoop=h,n?this._functionalProcess(T):T}_parserIfStatement(e,n=!1){const{condition:r,block:a}=e;let c="",h=`$if${this._blockCount}`;n||(this._dependsObj[h]=new Map);for(const[d,v]of a.entries()){const S=this._parserBlockLine(v,n),C=r[d]&&this._parserSingleExpression(r[d]);d===0?c=`if (${C}) {
78
+ ${S}
79
+ }`:C?c+=`else if (${C}) {
80
+ ${S}
81
+ }`:c+=`else {
82
+ ${S}
83
+ }`}return n||this._codesCol[this._blockCount].push({code:c,depends:this._getDepends(h)}),n?this._functionalProcess(c):c}_parserBlockLine(e,n=!1,r=!1,a=!1){const c=[],h=e.length;this._blockCount++,this._codesCol[this._blockCount]=[];let d=e.slice(-1)[0];(d==null?void 0:d.ruleType)===le.FlowStmt&&(d=e.slice(-2)[0]),a&&c.push("let $$isBreak = false;");for(const[v,S]of e.entries()){const C=n&&v===h-1;if(Array.isArray(S)){const T=[...S];C&&(d=T.pop(),(d==null?void 0:d.ruleType)===le.FlowStmt&&(d=T.pop()));for(const D of T){const M=this._parserStmt(D);M&&c.push(M),(D==null?void 0:D.ruleType)===le.SwitchStatement&&a&&c.push(`
84
+ if ($$isBreak) {
85
+ break;
86
+ }
87
+ `)}}else C||(c.push(this._parserStmt(S)),(S==null?void 0:S.ruleType)===le.SwitchStatement&&a&&c.push(`
88
+ if ($$isBreak) {
89
+ break;
90
+ }
91
+ `))}if(n&&d){const v=this._parserReturnBlock(d,r);c.push(v),(d==null?void 0:d.ruleType)===le.SwitchStatement&&a&&c.push(`
92
+ if ($$isBreak) {
93
+ break;
94
+ }
95
+ `)}else c.push(this._getMembersCode());return this._varlist[this._blockCount]={},this._memberIndexList[this._blockCount]={},this._codesCol[this._blockCount]=[],this._blockCount--,`${c.filter(v=>v).join(`;
96
+ `)}`}_parserReturnBlock(e,n=!1){let r="",a="",c="";switch(e.ruleType){case le.AgainAssign:return r=this._parserStmt(e),a=this._getMembersCode(),n?`${r};
97
+ ${a}
98
+ return ${this._parserName(e.name,!0)}`:`${r};
99
+ ${a}
100
+ $$_result = ${this._parserName(e.name,!0)}`;case le.DeclareAssign:c=this._parserStmt(e),a=`${c}
101
+ ${this._getMembersCode()}`,r=this._parserDeclareAssignNames(e.nameList);break;case le.FlowStmt:return this._getMembersCode();case le.VarBlockStmt:c=this._parserStmt(e),a=`${c}
102
+ ${this._getMembersCode()}`,r=this._parserDeclareAssignNames(e.nameList);break;default:r=this._parserStmt(e,!0),a=this._getMembersCode();const h=r.split(`
103
+ /****/
104
+ `);h.length>1&&(a=`${a}
105
+ ${h[0]}`,r=h[1]);break}return n?`${a}
106
+ return ${r}`:`${a}
107
+ $$_result = ${r}`}_getMembersCode(){const e=this._memberIndexList[this._blockCount]||{};return Object.values(e).join(`;
108
+ `)}_parserArrowMethod(e){let n=`$_${e.name}`;this._nameMap.set(e.name,n);const r=[...e.params],a=e.index?`$${e.index}`:"";n=`${n}${a}`,this._currentFuncName=n,this._dependsObj[n]=new Map;const c=this._parserBlock(e.block,!0,!0),h=e.hasRequest?", $paramsExpr":"";let d=`const ${n} = (${this._parserParameters(r)}$posStr${h}) => {
109
+ ${c}
110
+ }`;if(this._userTypes.includes(e.typeName)){let v=e.typeName;wn.includes(v)&&(v=`$${v}`),d=`${d}
111
+ ${v}.addNewMethod("${e.name}${a}", function (${this._parserParameters(r.slice(1))}$posStr${h}) {
112
+ const ${r[0].name} = this;
113
+ ${c}
114
+ })
115
+ `}return this._isInFunc=!1,this._currentFuncName="",this._codesCol[this._blockCount].push({funcName:n,depends:this._getDepends(n),hasRequest:e.hasRequest,code:d}),d}_parserArrowFunction(e){let n=`$_${e.name}`;this._nameMap.set(e.name,n);const r=[...e.params];n=`${n}${e.index?`$${e.index}`:""}`,this._currentFuncName=n,this._dependsObj[n]=new Map;const a=e.hasRequest?", $paramsExpr":"",c=`const ${n} = (${this._parserParameters(r)}$posStr${a}) => {
116
+ ${this._parserBlock(e.block,!0,!0)}
117
+ }`;return this._isInFunc=!1,this._currentFuncName="",this._codesCol[this._blockCount].push({funcName:n,depends:this._getDepends(n),hasRequest:e.hasRequest,code:c}),c}_parserParameters(e){return e.length?`{${e.map(n=>{const{name:r,defaultValue:a}=n;let c=r;if(a){const h=this._parserSingleExpression(a);c=`${c} = ${h}`}return c}).join(", ")}},`:""}_parserBlock(e,n=!1,r=!1){return r&&(this._isInFunc=!0),this._parserBlockLine(Array.isArray(e)?e:[e],n,r)}_addVarList(e){var r,a;const n=this._varlist[this._blockCount]||{};if(e.names){const c=e.posList;for(const[h,d]of e.names.entries()){const v=((r=c[h])==null?void 0:r.reName)||d;n[v]=c[h]}}else{const c=((a=e.pos)==null?void 0:a.reName)||e.name;n[c]=e.pos}this._varlist[this._blockCount]=n}_parserDeclareAssign(e){var S;const{nameList:n,value:r}=e,a=this._parserDeclareAssignNames(n);this._addVarList(n);const c={code:"",varNames:a.replace(/[\[\]]/g,"").split(", "),depends:[]},h=`$${a}_${this._blockCount}`;this._dependsObj[h]=new Map;const d=this._parserSingleExpression(r);let v=`let ${a} = ${d}`;if(n.declare){const C=`${n.pos.column}_${n.pos.lineNumber}`,T=this._isInFunc?`$posStr + "_${C}"`:`"${C}"`;v=`let ${a} = ${this._prefixNameVar}.verifyVarAndVarip("${a}", ${T}, "${n.declare}") ? ${this._prefixNameVar}.getVarValue("${a}", ${T}, "${n.declare}") : ${this._prefixNameVar}.setVarValue("${a}", ${T}, ${d}, "${n.declare}")`}return c.code=v,c.depends=this._getDepends(h),(S=this._codesCol[this._blockCount])==null||S.push(c),v}_parserDeclareAssignNames(e){var n,r;switch(e==null?void 0:e.ruleType){case"VarMultiple":const a=e.posList;return`[${e.names.map((c,h)=>{var d,v;return c==="_"?(this.__count++,`_$$${this.__count}`):(d=a[h])!=null&&d.reName?(v=a[h])==null?void 0:v.reName:wn.includes(c)?`$${c}`:c}).join(", ")}]`;case"VarSingle":return e.name==="_"?(this.__count++,`_$$${this.__count}`):(n=e.pos)!=null&&n.reName?(r=e.pos)==null?void 0:r.reName:wn.includes(e.name)?`$${e.name}`:e.name}return""}_parserSingleExpression(e){if(!e)return"";const{exprs:n,operator:r}=e;let a="",c=this._isInConditionalStmt;switch(e.ruleType){case le.MemberIndexExpression:return this._parserMemberIndexExpression(e);case le.MethodExpression:return this._parserMethodExpression(e);case le.UnaryExpression:return`${r}${this._parserSingleExpression(n[0])}`;case le.NotExpression:return`!${this._parserSingleExpression(n[0])}`;case le.AdditiveExpression:return this._parserAdditiveExpression(e);case le.MultiplicativeExpression:case le.RelationalExpression:case le.EqualityExpression:return`${this._parserSingleExpression(n[0])} ${r} ${this._parserSingleExpression(n[1])}`;case le.LogicalAndExpression:return this._isInConditionalStmt=!0,a=`${this._parserSingleExpression(n[0])} && ${this._parserSingleExpression(n[1])}`,this._isInConditionalStmt=c,a;case le.LogicalOrExpression:return this._isInConditionalStmt=!0,a=`${this._parserSingleExpression(n[0])} || ${this._parserSingleExpression(n[1])}`,this._isInConditionalStmt=c,a;case le.TernaryExpression:return this._isInConditionalStmt=!0,a=`${this._parserSingleExpression(n[0])} ? ${this._parserSingleExpression(n[1])} : ${this._parserSingleExpression(n[2])}`,this._isInConditionalStmt=c,a;case le.Name:return this._parserName(e);case le.Literal:return this._parseLiteral(e);case le.ParenthesizedExpression:return`(${this._parserSingleExpression(e.exprs)})`;default:return e.name||""}}_parserAdditiveExpression(e){const{exprs:n,operator:r}=e,a=this._parserSingleExpression(n[0]),c=this._parserSingleExpression(n[1]);return r==="-"?`${this._prefixNameVar}.sub(${a}, ${c})`:`${this._prefixNameVar}.add(${a}, ${c})`}_parserMemberIndexExpression(e){var C;const{exprs:n,isInFunc:r,ctx:a}=e,c=n[0],h=this._parserSingleExpression(n[1]);let d=this._parserSingleExpression(c);const v=a.start.tokenIndex,S=r?"$posStr":v;if(c.ruleType===le.Name&&!c.hasMethod){let T=this._blockCount;const D=((C=c.varPos)==null?void 0:C.reName)||c.name;for(;T>=0;){const M=this._varlist[T]||{},P=M[D];if(P)return this._getUserVarMemberIndexs(P,D,T,h,r);if(c.isBuiltIn){const b=this._memberIndexList[0]||{};return b[D]=`${this._prefixNameVar}.setCacheData("${D}", ${d})`,`${this._prefixNameVar}.getCacheData("${D}", ${h}, ${d})`}if(D.includes(".")){const b=D.split(".")[0],y=M[b];if(y)return this._getUserVarMemberIndexs(y,D,T,h,r)}T--}return this._getOtherVarMemberIndexs(`${D}_${c.varScope||c.scope}`,D,c.varScope||c.scope,h,r)}else{const T=this._preRunMembers[this._blockCount]||[],D=`$$m${v}_${S}`;T.push(`const ${D} = ${d};
118
+ ${this._prefixNameVar}.setCacheData("m${v}_" + ${S}, ${D})`),this._preRunMembers[this._blockCount]=T}return`${this._prefixNameVar}.getCacheData("m${v}_" + ${S}, ${h}, ${d})`}_getOtherVarMemberIndexs(e,n,r,a,c){const h=this._memberIndexList[r]||{};e=c&&r!==0?`"${e}_" + $posStr`:`"${e}"`;const d=`${this._prefixNameVar}.setCacheData(${e}, ${n})`;return h[e]=d,this._memberIndexList[r]=h,this._setDepend({name:n,scope:r,memberCode:d}),`${this._prefixNameVar}.getCacheData(${e}, ${a}, ${n})`}_getUserVarMemberIndexs(e,n,r,a,c){return this._getOtherVarMemberIndexs(`${n}_${e.lineNumber}_${e.column}`,n,r,a,c)}_parseLiteral(e){return e.type.endsWith(V.COLOR)?`"${this._colorToRgba(e.value)}"`:e.value}_colorToRgba(e){if(e.startsWith("#")){let n;const r=parseInt(e.substring(1,3),16),a=parseInt(e.substring(3,5),16),c=parseInt(e.substring(5,7),16),h=e.substring(7);return h?n=parseInt(h,16)/255:n=1,`rgba(${Math.round(r)}, ${Math.round(a)}, ${Math.round(c)}, ${n.toFixed(2)})`}return e}_parserName(e,n=!1){const{exprs:r,varScope:a,hasMethod:c,arg:h,varPos:d}=e,v=r.map(S=>{var M;if(typeof S=="string")return(d==null?void 0:d.reName)||S;const{column:C,line:T}=((M=S==null?void 0:S.ctx)==null?void 0:M.start)||{},D=`${T}_${C}`;return this._parserMethodElement(S,D)});if(e.expr&&v.unshift(`(${this._parserSingleExpression(e.expr)})`),e.isBuiltIn)v.join(".")==="strategy.opentrades"&&v.push("opentrades"),v.unshift(e.isConst?this._prefixNameConst:this._prefixNameVar);else if(wn.includes(v[0])&&(v[0]=`$${v[0]}`),!c){const S={name:v[0],scope:a||(h==null?void 0:h.varScope)||0,isAgainAssign:n,isArg:h==null?void 0:h.isArg,functionName:this._currentFuncName};this._setDepend(S)}return v.join(".")}_setDepend(e){const n=e.name;for(const r of Object.values(this._dependsObj)){const a=r.get(n)||{},c={...e,...a};r.set(n,c)}}_parserMethodExpression(e){const{exprs:n,ctx:r}=e,{column:a,line:c}=r.start,h=`${c}_${a}`;let d=this._isInFunc?`$posStr + "__${h}"`:`"${h}"`;return d=this._isInLoop?`$$count${this._count} + ${d}`:d,n.map(C=>(C.hasMemberIndex,this._parserMethodElement(C,d))).join(".")}_parserMethodElement(e,n){let r="",a="";const c={...e.args};e.expr&&(r=`(${this._parserSingleExpression(e.expr)})`),r=r?`${r}.${e.name}`:this._nameMap.get(e.name)||e.name,e.hasVarPrefix&&(r=`${this._prefixNameVar}.${r}`);let h=!1;if(e.isBuiltIn){if(Lp.includes(r))r=`${r}.${r}`;else if(r==="max_bars_back"){const{name:v,varPos:S}=c.var||c.params[0];a=`var_name: "${S?`${v}_${S.lineNumber}_${S.column}`:v}"`}r.startsWith(V.INPUT)?(a=`index: ${this._inputCount}`,this._inputCount++):r.startsWith("request.")&&(h=!0),r=`${this._prefixNameFunc}.${r}`}else{const v=r.split(".");let S=v[0];wn.includes(S)&&(S=`$${S}`,r=v.join("."))}if(e.selfArg){const v=r.split("."),S=v.length;Object.assign(c,{[e.selfArg.name]:{name:v.slice(0,S-1).join(".")}}),r=v[S-1],r=this._nameMap.get(r)||r,this._setDepend({name:v[0],scope:e.varScope||0})}r=`${r}${e.index?`$${e.index}`:""}`;const d=this._parserArguments(c,a,n,h,e.hasRequest,r);if(!e.isBuiltIn){const v=r.split(".");if(v.length>1?this._setDepend({name:v[0],scope:e.varScope||0}):this._setDepend({name:r,scope:0,hasRequest:e.hasRequest,isFunc:!0}),e.funcName){const S=this._nameMap.get(e.funcName)||e.funcName;this._setDepend({name:S,originName:r,scope:0,hasRequest:e.hasRequest,isFunc:!0})}}return r+d}_parserArguments(e,n,r,a=!1,c=!1,h){const d=e.params||[];delete e.params;const v=[],S=[];let C=[],T;const D=(P,b)=>{c&&(this._dependsObj[r]=new Map),a&&b==="expression"&&(this._dependsObj[`$arg_${b}${r}`]=new Map);let y=P.ruleType===le.Brackethesized?this._parserBrackethesized(P):this._parserSingleExpression(P);if(b&&!["arg0, arg1, ...","number0, number1, ..."].includes(b)){P.isSourceType?v.push(`sourceTypeName: "${P.name}"`):b==="defval"&&h===`${this._prefixNameFunc}.input.enum`&&(T=this._enums.get(P.enumName));const g=this._requestParamsHandle(a,b,r,c,y,h);y=(g==null?void 0:g.code)||y,g!=null&&g.paramsExpr&&C.push(g==null?void 0:g.paramsExpr),v.push(`${b}: ${y}`)}else S.push(y)};for(const P of d)D(P,P.originName);for(const P of Object.keys(e))D(e[P],P);a&&this._isInFunc&&v.push("paramsExpr: $paramsExpr"),n&&v.push(n),T&&v.unshift(`options: [${T.join(", ")}]`);const M=C.length?`, [${this._isInFunc?"...$paramsExpr, ":""}${C.join(", ")}]`:"";return S.length?`({${v.join(", ")}}, [${S.join(", ")}], ${r}${M})`:v.length?`({${v.join(", ")}}, ${r}${M})`:`(${r}${M})`}_requestParamsHandle(e,n,r,a,c,h){const d=this._memberIndexList[0],v={};for(const S of Object.keys(d))S.includes("_")||(v[S]=d[S]);if(e&&n==="expression"){const S=this._getDepends(`$arg_${n}${r}`),C=this._getExpressionContext(S);return C.push({scope:1,depends:S.map(T=>(T.isArg&&(T.functionName=this._currentFuncName),T)),code:c,memberCodes:v}),{code:`'${pu(JSON.stringify(C))}'`}}else if(a){const S=this._getDepends(r),C=this._getExpressionContext(S);return C.push({scope:2,varNames:n,methodName:h,depends:S,dependSelf:S.some(T=>T.name===n),code:`${n} = ${c}`,memberCodes:v}),{paramsExpr:`'${pu(JSON.stringify(C))}'`}}}_getExpressionContext(e){const n=[],r=[];return this._getDependsCode(e,n,r),n}_getDependsCode(e,n,r){var a,c;for(const h of e)if(!h.isArg){const d=this._codesCol[h.scope||0],v=d.find(C=>{var T;return((T=C.varNames)==null?void 0:T.includes(h.name))||C.funcName===h.name});v&&(r.includes(v)||(r.push(v),v.depends.length&&this._getDependsCode(v.depends,n,r),n.push({scope:h.scope||0,code:v.code,depends:v.depends,funcName:v.funcName,varNames:(a=v.varNames)==null?void 0:a.join(", ")})));const S=d.filter(C=>C.depends.some(T=>T.name===h.name&&T.scope===h.scope&&T.isAgainAssign));for(const C of S)r.includes(C)||(r.push(C),C.depends.length&&this._getDependsCode(C.depends,n,r),n.push({scope:h.scope||0,code:C.code,depends:C.depends,funcName:C.funcName,varNames:(c=C.varNames)==null?void 0:c.join(", ")}))}}_parserBrackethesized(e){return`[${e.exprs.map(r=>this._parserSingleExpression(r)).join(", ")}]`}_functionalProcess(e){return`(function () {
119
+ let $$_result=undefined;
120
+ ${e}
121
+ return $$_result
122
+ })()`}}class Z_{constructor(e,n){w(this,"_nameMap");w(this,"_prefixNameVar");w(this,"_prefixNameFunc");w(this,"_prefixNameConst");w(this,"_userTypes");w(this,"_isInFunc");w(this,"_currentFuncName");w(this,"_varlist");w(this,"_memberIndexList");w(this,"_blockCount");w(this,"_libTitle");w(this,"_exportEles");w(this,"_inputCount");w(this,"_count");w(this,"_isSwitch",!1);w(this,"_isInLoop",!1);w(this,"_codesCol");w(this,"_dependsObj");w(this,"_enums");w(this,"_preRunMembers");w(this,"_isInConditionalStmt",!1);w(this,"_preRunMembersFuncs");w(this,"_preRunMemberFuncsCount",0);w(this,"__count",0);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,this._count=0,this._codesCol=[[]],this._dependsObj={},this._enums=new Map,this._preRunMembers=[],this._preRunMembersFuncs=[]}parser(e){const n=[];for(const c of e){if(!c)return;if(Array.isArray(c))for(const h of c)n.push(this._parserStmt(h));else n.push(this._parserStmt(c))}const r=this._memberIndexList[this._blockCount]||{};return n.push(...Object.values(r)),`const $name = (function () {
123
+ ${n.join(`;
124
+ `).replace(/;+/g,";")}
125
+ return {
126
+ ${this._exportEles.map(c=>`${c.key}: ${c.name}`).join(", ")}
127
+ }
128
+ })();`}_parserStmt(e,n=!1){let r="";switch(e==null?void 0:e.ruleType){case le.DeclareAssign:r=this._parserDeclareAssign(e);break;case le.MethodExpression:r=`${this._parserMethodExpression(e)}`;break;case le.ArrowFunction:r=this._parserArrowFunction(e);break;case le.ArrowMethod:r=this._parserArrowMethod(e);break;case le.IfStatement:r=this._parserIfStatement(e,n);break;case le.WhileStatement:r=this._parserWhileStatement(e,n);break;case le.SwitchStatement:r=this._parserSwitchStatement(e,n);break;case le.ForInStatement:r=this._parserForInStatement(e,n);break;case le.ForToStatement:r=this._parserForToStatement(e,n);break;case le.AgainAssign:r=this._parserAgainAssign(e);break;case le.ImportElement:r=e.code||"";break;case le.TypeStatement:r=this._parserTypeStatement(e);break;case le.VarBlockStmt:r=this._parserVarBlockStmt(e);break;case le.FlowStmt:if(this._isSwitch&&e.value==="break"){if(this._isInLoop){r="$$isBreak = true;";break}r="";break}r=`${e.value};`;break;case le.Brackethesized:r=this._parserBrackethesized(e);break;case le.EnumStatement:r=this._parserEnumStatement(e);break;default:r=this._parserSingleExpression(e);break}let a="";const c=this._preRunMembersFuncs[this._blockCount];c!=null&&c.length&&(a=c.join(`;
129
+ `),this._preRunMembersFuncs[this._blockCount]=[]);const h=this._preRunMembers[this._blockCount];if(h!=null&&h.length&&(a=`${a}
130
+ ${h.join(`;
131
+ `)}`,this._preRunMembers[this._blockCount]=[]),a){const d=this._codesCol[this._blockCount].pop(),v=r===(d==null?void 0:d.code);r=`${a}${n?`
132
+ /****/
133
+ `:`;
134
+ `}${r}`,v&&(d.code=r,this._codesCol[this._blockCount].push(d))}return r}_parserEnumStatement(e){let{name:n,fields:r}=e;const a=[],c=[];for(const d of r){const{name:v,value:S}=d,C=S===void 0?`"${v}"`:S;c.push(C),a.push(`${v}: ${C}`)}wn.includes(n)&&(n=`$${n}`),this._enums.set(n,c),e.isExport&&this._exportEles.push({key:n,name:n});const h=`const ${n} = {${a.join(", ")}}`;return this._codesCol[this._blockCount].push({code:h,varNames:[n],depends:[]}),h}_parserTypeStatement(e){const n=[],r=[];for(const h of e.fields){const{name:d,value:v}=h;h.isVarip&&r.push(`"${d}"`),n.push(`${d}: ${v?this._parserSingleExpression(v):"undefined"}`)}this._userTypes.push(e.name),e.isExport&&this._exportEles.push({key:e.name,name:e.name});let a=e.name;wn.includes(a)&&(a=`$${a}`);const c=`const ${a} = ${this._prefixNameVar}.getTypeInstance({${n.join(", ")}}, [${r.join()}])`;return this._codesCol[this._blockCount].push({code:c,varNames:[a],depends:[]}),c}_parserVarBlockStmt(e){const{nameList:n,value:r}=e;this._addVarList(n);const a=this._parserDeclareAssignNames(n),c=`$${a}_${this._blockCount}`;this._dependsObj[c]=new Map;const h=this._parserStmt(r,!0),d=h.split(`
135
+ /****/
136
+ `);let v="";d.length>1?v=`${d[0]}
137
+ let ${a} = ${d[1]}
138
+ `:v=`let ${a} = ${h}`;const S={code:v,varNames:a.replace(/[\[\]]/g,"").split(", "),depends:this._getDepends(c)};return this._codesCol[this._blockCount].push(S),v}_getDepends(e){const n=[];for(const[r,a]of this._dependsObj[e])(a.scope||0)>this._blockCount||n.push(a);return delete this._dependsObj[e],n}_parserForToStatement(e,n=!1){let{numerical:r,block:a,name:c}=e;const[h,d,v]=r,S=this._isInLoop;let C=this._count;this._isInLoop=!0;const T=`$start${this._count++}`,D=`$$count${this._count}`,M=`$forTo${this._blockCount}`;n||(this._dependsObj[M]=new Map);const P=this._parserSingleExpression(h),b=this._parserSingleExpression(d),y=v?this._parserSingleExpression(v):"",g=this._parserBlockLine(a,n,!1,!0);wn.includes(c)&&(c=`$${c}`);const O=`var ${T} = Date.now()`,R=`for (let ${c}=${P}; ${c}>=(${b}); ${c}-=(${y||"1"})){
139
+ if (Date.now() - ${T} > 500) {
140
+ throw new Error('${pe.loopRuntimeErr}')
141
+ }
142
+ ${D}++
143
+ ${g}
144
+ }`,k=`for (let ${c}=${P};${c}<=(${b}); ${c}+=(${y||"1"})){
145
+ if (Date.now() - ${T} > 500) {
146
+ throw new Error('${pe.loopRuntimeErr}')
147
+ }
148
+ ${D}++
149
+ ${g}
150
+ }`;let U="";return(h==null?void 0:h.ruleType)==="Literal"&&(d==null?void 0:d.ruleType)==="Literal"?U=Number(h.value)>Number(d.value)?R:k:U=`if ((${P})>(${b})) {
151
+ ${R}
152
+ } else {
153
+ ${k}
154
+ }`,U=`${O};
155
+ var ${D} = 0
156
+ ${U}`,n||this._codesCol[this._blockCount].push({code:U,depends:this._getDepends(M)}),S&&(this._count=C),this._isInLoop=S,n?this._functionalProcess(U):U}_parserForInStatement(e,n=!1){const{names:r,block:a,array:c}=e,h=this._isInLoop;let d=this._count;this._isInLoop=!0;const v=`$start${this._count++}`,S=`$$count${this._count}`,C=this._parserBlockLine(a,n,!1,!0);let T="",[D,M]=r;wn.includes(D)&&(D=`$${D}`);const P=`var ${v} = Date.now()`;return r.length===1?T=`for (const ${D} of ${this._parserSingleExpression(c)}._value) {
157
+ if (Date.now() - ${v} > 500) {
158
+ throw new Error('${pe.loopRuntimeErr}')
159
+ }
160
+ ${S}++
161
+ ${C}
162
+ }`:(wn.includes(M)&&(M=`$${M}`),T=`for (const [${D},${M}] of (${this._parserSingleExpression(c)})._value.entries()) {
163
+ if (Date.now() - ${v} > 500) {
164
+ throw new Error('${pe.loopRuntimeErr}')
165
+ }
166
+ ${S}++
167
+ ${C}
168
+ }`),this._isInLoop=h,T=`${P};
169
+ var ${S} = 0;
170
+ ${T}`,h&&(this._count=d),n?this._functionalProcess(T):T}_parserAgainAssign(e){const{operator:n,name:r,value:a}=e,{varPos:c,declare:h}=r,d=`$againAssign${this._blockCount}`;this._dependsObj[d]=new Map;const v=this._parserName(r,!0);let S="",C=this._parserStmt(a,!0);const T=C.split(`
171
+ /****/
172
+ `);let D="";T.length>1&&(D=T[0],C=T[1]);const M=`$_tmp_${v.split(".").pop()}`;n===":="&&(D=`${D}
173
+ var ${M} = ${C}`);let P=`${v} ${n===":="?`= ${M}`:`${n} ${C}`}`;const b=`${c==null?void 0:c.column}_${c==null?void 0:c.lineNumber}`;if(h){const g=this._isInFunc?`$posStr + '_${b}'`:`"export_${this._libTitle}_${b}"`;S=`;
174
+ ${this._prefixNameVar}.setVarValue("${v}", ${g}, ${v}, "${h}")`}n==="-="?P=`${v} = ${this._prefixNameVar}.sub(${v}, ${C})`:n==="+="?P=`${v} = ${this._prefixNameVar}.add(${v}, ${C})`:n===":="&&(D=`${D};
175
+ ${this._prefixNameVar}.againAssignParse(${v}, ${M});
176
+ `);const y=`${D}${P}${S}`;return this._codesCol[this._blockCount].push({code:y,depends:this._getDepends(d)}),y}_parserSwitchStatement(e,n=!1){const{condition:r,cases:a,defaultCase:c}=e;let h=`$switch${this._blockCount}`;n||(this._dependsObj[h]=new Map);const d=this._isSwitch;this._isSwitch=!0;const v=a.length?this._parserCases(a,n):"",S=c?this._parserDefaultCase(c,n):"",C=`switch (${r===!0?r:this._parserSingleExpression(r)}) {
177
+ ${v}
178
+ ${S}
179
+ }`;n||this._codesCol[this._blockCount].push({code:C,depends:this._getDepends(h)});const T=n?this._functionalProcess(C):C;return this._isSwitch=d,T}_parserCases(e,n=!1){const r=[];for(const a of e)r.push(this._parserCase(a,n));return r.join(`
180
+ `)}_parserDefaultCase(e,n=!1){return`default:
181
+ { ${this._parserBlock(e.block,n)} }
182
+ break;`}_parserCase(e,n=!1){const{condition:r,block:a}=e;return`case ${this._parserSingleExpression(r)}:
183
+ ${this._parserBlock(a,n)}
184
+ break;`}_parserWhileStatement(e,n=!1){const{condition:r,block:a}=e;let c=`$while${this._blockCount}`;n||(this._dependsObj[c]=new Map);const h=this._isInLoop,d=this._count;this._isInLoop=!0;const v=`$start${this._count++}`,S=`var ${v} = Date.now()`,C=`$$count${this._count}`;let T=`while (${this._parserSingleExpression(r)}) {
185
+ if (Date.now() - ${v} > 500) {
186
+ throw new Error('${pe.loopRuntimeErr}')
187
+ }
188
+ ${C}++
189
+ ${this._parserBlockLine(a,n,!1,!0)}
190
+ }`;return T=`${S};
191
+ var ${C} = 0;
192
+ ${T}`,n||this._codesCol[this._blockCount].push({code:T,depends:this._getDepends(c)}),h&&(this._count=d),this._isInLoop=h,n?this._functionalProcess(T):T}_parserIfStatement(e,n=!1){const{condition:r,block:a}=e;let c="",h=`$if${this._blockCount}`;n||(this._dependsObj[h]=new Map);for(const[d,v]of a.entries()){const S=this._parserBlockLine(v,n),C=r[d]&&this._parserSingleExpression(r[d]);d===0?c=`if (${C}) {
193
+ ${S}
194
+ }`:C?c+=`else if (${C}) {
195
+ ${S}
196
+ }`:c+=`else {
197
+ ${S}
198
+ }`}return n||this._codesCol[this._blockCount].push({code:c,depends:this._getDepends(h)}),n?this._functionalProcess(c):c}_parserBlockLine(e,n=!1,r=!1,a=!1){const c=[],h=e.length;this._blockCount++,this._codesCol[this._blockCount]=[];let d=e.slice(-1)[0];(d==null?void 0:d.ruleType)===le.FlowStmt&&(d=e.slice(-2)[0]),a&&c.push("let $$isBreak = false;");for(const[v,S]of e.entries()){const C=n&&v===h-1;if(Array.isArray(S)){const T=[...S];C&&(d=T.pop(),(d==null?void 0:d.ruleType)===le.FlowStmt&&(d=T.pop()));for(const D of T){const M=this._parserStmt(D);M&&c.push(M),(D==null?void 0:D.ruleType)===le.SwitchStatement&&a&&c.push(`
199
+ if ($$isBreak) {
200
+ break;
201
+ }
202
+ `)}}else C||(c.push(this._parserStmt(S)),(S==null?void 0:S.ruleType)===le.SwitchStatement&&a&&c.push(`
203
+ if ($$isBreak) {
204
+ break;
205
+ }
206
+ `))}if(n&&d){const v=this._parserReturnBlock(d,r);c.push(v),(d==null?void 0:d.ruleType)===le.SwitchStatement&&a&&c.push(`
207
+ if ($$isBreak) {
208
+ break;
209
+ }
210
+ `)}else c.push(this._getMembersCode());return this._varlist[this._blockCount]={},this._memberIndexList[this._blockCount]={},this._codesCol[this._blockCount]=[],this._blockCount--,`${c.filter(v=>v).join(`;
211
+ `)}`}_parserReturnBlock(e,n=!1){let r="",a="",c="";switch(e.ruleType){case le.AgainAssign:return r=this._parserStmt(e),a=this._getMembersCode(),n?`${r};
212
+ ${a}
213
+ return ${this._parserName(e.name,!0)}`:`${r};
214
+ ${a}
215
+ $$_result = ${this._parserName(e.name,!0)}`;case le.DeclareAssign:c=this._parserStmt(e),a=`${c}
216
+ ${this._getMembersCode()}`,r=this._parserDeclareAssignNames(e.nameList);break;case le.FlowStmt:return this._getMembersCode();case le.VarBlockStmt:c=this._parserStmt(e),a=`${c}
217
+ ${this._getMembersCode()}`,r=this._parserDeclareAssignNames(e.nameList);break;default:r=this._parserStmt(e,!0),a=this._getMembersCode();const h=r.split(`
218
+ /****/
219
+ `);h.length>1&&(a=`${a}
220
+ ${h[0]}`,r=h[1]);break}return n?`${a}
221
+ return ${r}`:`${a}
222
+ $$_result = ${r}`}_getMembersCode(){const e=this._memberIndexList[this._blockCount]||{};return Object.values(e).join(`;
223
+ `)}_parserArrowMethod(e){let n=`$_${e.name}`;this._nameMap.set(e.name,n);const r=[...e.params],a=e.index?`$${e.index}`:"";n=`${n}${a}`,e.isExport&&this._exportEles.push({key:`${e.name}${a}`,name:n}),this._currentFuncName=n,this._dependsObj[n]=new Map;const c=this._parserBlock(e.block,!0,!0),h=e.hasRequest?", $paramsExpr":"";let d=`const ${n} = (${this._parserParameters(r)}$posStr${h}) => {
224
+ if ($posStr.startsWith('export')) return;
225
+ ${c}
226
+ }`;if(this._userTypes.includes(e.typeName)){let v=e.typeName;wn.includes(v)&&(v=`$${v}`),d=`${d}
227
+ ${v}.addNewMethod("${e.name}${a}", function (${this._parserParameters(r.slice(1))}$posStr${h}) {
228
+ if ($posStr.startsWith('export')) return;
229
+ const ${r[0].name} = this;
230
+ ${c}
231
+ })
232
+ `}return this._isInFunc=!1,this._currentFuncName="",this._codesCol[this._blockCount].push({funcName:n,depends:this._getDepends(n),hasRequest:e.hasRequest,code:d}),d}_parserArrowFunction(e){let n=`$_${e.name}`;this._nameMap.set(e.name,n);const r=[...e.params],a=e.index?`$${e.index}`:"";n=`${n}${a}`,e.isExport&&this._exportEles.push({key:`${e.name}${a}`,name:n}),this._currentFuncName=n,this._dependsObj[n]=new Map;const c=e.hasRequest?", $paramsExpr":"",h=`const ${n} = (${this._parserParameters(r)}$posStr${c}) => {
233
+ if ($posStr.startsWith('export')) return;
234
+ ${this._parserBlock(e.block,!0,!0)}
235
+ }`;return this._isInFunc=!1,this._currentFuncName="",this._codesCol[this._blockCount].push({funcName:n,depends:this._getDepends(n),hasRequest:e.hasRequest,code:h}),h}_parserParameters(e){return e.length?`{${e.map(n=>{const{name:r,defaultValue:a}=n;let c=r;if(a){const h=this._parserSingleExpression(a);c=`${c} = ${h}`}return c}).join(", ")}},`:""}_parserBlock(e,n=!1,r=!1){return r&&(this._isInFunc=!0),this._parserBlockLine(Array.isArray(e)?e:[e],n,r)}_addVarList(e){var r,a;const n=this._varlist[this._blockCount]||{};if(e.names){const c=e.posList;for(const[h,d]of e.names.entries()){const v=((r=c[h])==null?void 0:r.reName)||d;n[v]=c[h]}}else{const c=((a=e.pos)==null?void 0:a.reName)||e.name;n[c]=e.pos}this._varlist[this._blockCount]=n}_parserDeclareAssign(e){var S;const{nameList:n,value:r}=e,a=this._parserDeclareAssignNames(n);this._addVarList(n);const c={code:"",varNames:a.replace(/[\[\]]/g,"").split(", "),depends:[]},h=`$${a}_${this._blockCount}`;this._dependsObj[h]=new Map;const d=this._parserSingleExpression(r);let v=`let ${a} = ${d}`;if(n.declare){const C=`${n.pos.column}_${n.pos.lineNumber}`,T=this._isInFunc?`$posStr + '_' + '${C}'`:`"export_${this._libTitle}_${C}"`;v=`let ${a} = ${this._prefixNameVar}.verifyVarAndVarip("${a}", ${T}, "${n.declare}") ? ${this._prefixNameVar}.getVarValue("${a}", ${T}, "${n.declare}") : ${this._prefixNameVar}.setVarValue("${a}", ${T}, ${d}, "${n.declare}")`}return c.code=v,c.depends=this._getDepends(h),(S=this._codesCol[this._blockCount])==null||S.push(c),v}_parserDeclareAssignNames(e){var n,r;switch(e==null?void 0:e.ruleType){case"VarMultiple":const a=e.posList;return`[${e.names.map((c,h)=>{var d,v;return c==="_"?(this.__count++,`_$$${this.__count}`):(d=a[h])!=null&&d.reName?(v=a[h])==null?void 0:v.reName:wn.includes(c)?`$${c}`:c}).join(", ")}]`;case"VarSingle":return e.name==="_"?(this.__count++,`_$$${this.__count}`):(n=e.pos)!=null&&n.reName?(r=e.pos)==null?void 0:r.reName:wn.includes(e.name)?`$${e.name}`:e.name}return""}_parserSingleExpression(e){if(!e)return"";const{exprs:n,operator:r}=e;let a="",c=this._isInConditionalStmt;switch(e.ruleType){case le.MemberIndexExpression:return this._parserMemberIndexExpression(e);case le.MethodExpression:return this._parserMethodExpression(e);case le.UnaryExpression:return`${r}${this._parserSingleExpression(n[0])}`;case le.NotExpression:return`!${this._parserSingleExpression(n[0])}`;case le.AdditiveExpression:return this._parserAdditiveExpression(e);case le.MultiplicativeExpression:case le.RelationalExpression:case le.EqualityExpression:return`${this._parserSingleExpression(n[0])} ${r} ${this._parserSingleExpression(n[1])}`;case le.LogicalAndExpression:return this._isInConditionalStmt=!0,a=`${this._parserSingleExpression(n[0])} && ${this._parserSingleExpression(n[1])}`,this._isInConditionalStmt=c,a;case le.LogicalOrExpression:return this._isInConditionalStmt=!0,a=`${this._parserSingleExpression(n[0])} || ${this._parserSingleExpression(n[1])}`,this._isInConditionalStmt=c,a;case le.TernaryExpression:return this._isInConditionalStmt=!0,a=`${this._parserSingleExpression(n[0])} ? ${this._parserSingleExpression(n[1])} : ${this._parserSingleExpression(n[2])}`,this._isInConditionalStmt=c,a;case le.Name:return this._parserName(e);case le.Literal:return this._parseLiteral(e);case le.ParenthesizedExpression:return`(${this._parserSingleExpression(e.exprs)})`;default:return e.name||""}}_parserAdditiveExpression(e){const{exprs:n,operator:r}=e,a=this._parserSingleExpression(n[0]),c=this._parserSingleExpression(n[1]);return r==="-"?`${this._prefixNameVar}.sub(${a}, ${c})`:`${this._prefixNameVar}.add(${a}, ${c})`}_parserMemberIndexExpression(e){var C;const{exprs:n,isInFunc:r,ctx:a}=e,c=n[0],h=this._parserSingleExpression(n[1]);let d=this._parserSingleExpression(c);const v=a.start.tokenIndex,S=r?"$posStr":v;if(c.ruleType===le.Name&&!c.hasMethod){let T=this._blockCount;const D=((C=c.varPos)==null?void 0:C.reName)||c.name;for(;T>=0;){const M=this._varlist[T]||{},P=M[D];if(P)return this._getUserVarMemberIndexs(P,D,T,h,r);if(c.isBuiltIn){const b=this._memberIndexList[0]||{};return b[D]=`${this._prefixNameVar}.setCacheData("${D}", ${d})`,`${this._prefixNameVar}.getCacheData("${D}", ${h}, ${d})`}if(D.includes(".")){const b=D.split(".")[0],y=M[b];if(y)return this._getUserVarMemberIndexs(y,D,T,h,r)}T--}return this._getOtherVarMemberIndexs(`${D}_${c.varScope||c.scope}`,D,c.varScope||c.scope,h,r)}else{const T=this._preRunMembers[this._blockCount]||[],D=`$$m${v}_${S}`;T.push(`const ${D} = ${d};
236
+ ${this._prefixNameVar}.setCacheData("m${v}_" + ${S}, ${D})`),this._preRunMembers[this._blockCount]=T}return`${this._prefixNameVar}.getCacheData("m${v}_" + ${S}, ${h}, ${d})`}_getOtherVarMemberIndexs(e,n,r,a,c){const h=this._memberIndexList[r]||{};e=c&&r!==0?`"${e}_" + $posStr`:`"${e}"`;const d=`${this._prefixNameVar}.setCacheData(${e}, ${n})`;return h[e]=d,this._memberIndexList[r]=h,this._setDepend({name:n,scope:r,memberCode:d}),`${this._prefixNameVar}.getCacheData(${e}, ${a}, ${n})`}_getUserVarMemberIndexs(e,n,r,a,c){return this._getOtherVarMemberIndexs(`${n}_${e.lineNumber}_${e.column}`,n,r,a,c)}_parseLiteral(e){return e.type.endsWith(V.COLOR)?`"${this._colorToRgba(e.value)}"`:e.value}_colorToRgba(e){if(e.startsWith("#")){let n;const r=parseInt(e.substring(1,3),16),a=parseInt(e.substring(3,5),16),c=parseInt(e.substring(5,7),16),h=e.substring(7);return h?n=(255-parseInt(h,16))/255:n=1,`rgba(${Math.round(r)}, ${Math.round(a)}, ${Math.round(c)}, ${n.toFixed(2)})`}return e}_parserName(e,n=!1){const{exprs:r,varScope:a,hasMethod:c,arg:h,varPos:d}=e,v=r.map(S=>{var M;if(typeof S=="string")return(d==null?void 0:d.reName)||S;const{column:C,line:T}=((M=S==null?void 0:S.ctx)==null?void 0:M.start)||{},D=this._isInFunc?`${T}_${C}`:`export_${this._libTitle}_${T}_${C}`;return this._parserMethodElement(S,D)});if(e.expr&&v.unshift(`(${this._parserSingleExpression(e.expr)})`),e.isBuiltIn)v.join(".")==="strategy.opentrades"&&v.push("opentrades"),v.unshift(e.isConst?this._prefixNameConst:this._prefixNameVar);else if(wn.includes(v[0])&&(v[0]=`$${v[0]}`),!c){const S={name:v[0],scope:a||(h==null?void 0:h.varScope)||0,isAgainAssign:n,isArg:h==null?void 0:h.isArg,functionName:this._currentFuncName};this._setDepend(S)}return v.join(".")}_setDepend(e){const n=e.name;for(const r of Object.values(this._dependsObj)){const a=r.get(n)||{},c={...e,...a};r.set(n,c)}}_parserMethodExpression(e){const{exprs:n,ctx:r}=e,{column:a,line:c}=r.start,h=`${c}_${a}`;let d=this._isInFunc?`$posStr + "_${h}"`:`"export_${this._libTitle}_${h}"`;d=this._isInLoop?`$$count${this._count} + ${d}`:d;let v=!1;const S=n.map(T=>(T.hasMemberIndex&&(v=!0),this._parserMethodElement(T,d))),C=S.join(".");if(S.length===1&&[...Al,Ii.library].some(T=>S[0].startsWith(`${this._prefixNameFunc}.${T}`)))return"";if(this._isInConditionalStmt&&v){const T=`$$result_${this._preRunMemberFuncsCount}`;this._preRunMemberFuncsCount++;const D=this._preRunMembersFuncs[this._blockCount]||[];return D.push(`const ${T} = ${C}`),this._preRunMembersFuncs[this._blockCount]=D,T}return C}_parserMethodElement(e,n){let r="",a="";const c={...e.args};e.expr&&(r=`(${this._parserSingleExpression(e.expr)})`),r=r?`${r}.${e.name}`:this._nameMap.get(e.name)||e.name,e.hasVarPrefix&&(r=`${this._prefixNameVar}.${r}`);let h=!1;if(e.isBuiltIn){if(Lp.includes(r))r=`${r}.${r}`;else if(r==="max_bars_back"){const{name:v,varPos:S}=c.var||c.params[0];a=`var_name: "${S?`${v}_${S.lineNumber}_${S.column}`:v}"`}r.startsWith(V.INPUT)?(a=`index: ${this._inputCount}`,this._inputCount++):r.startsWith("request.")&&(h=!0),r=`${this._prefixNameFunc}.${r}`}else{const v=r.split(".");let S=v[0];wn.includes(S)&&(S=`$${S}`,r=v.join("."))}if(e.selfArg){const v=r.split("."),S=v.length;Object.assign(c,{[e.selfArg.name]:{name:v.slice(0,S-1).join(".")}}),r=v[S-1],r=this._nameMap.get(r)||r,this._setDepend({name:v[0],scope:e.varScope||0})}r=`${r}${e.index?`$${e.index}`:""}`;const d=this._parserArguments(c,a,n,h,e.hasRequest,r);if(!e.isBuiltIn){const v=r.split(".");if(v.length>1?this._setDepend({name:v[0],scope:e.varScope||0}):this._setDepend({name:r,scope:0,hasRequest:e.hasRequest,isFunc:!0}),e.funcName){const S=this._nameMap.get(e.funcName)||e.funcName;this._setDepend({name:S,originName:r,scope:0,hasRequest:e.hasRequest,isFunc:!0})}}return r+d}_parserArguments(e,n,r,a=!1,c=!1,h){const d=e.params||[];delete e.params;const v=[],S=[];let C=[],T;const D=(P,b)=>{c&&(this._dependsObj[r]=new Map),a&&b==="expression"&&(this._dependsObj[`$arg_${b}${r}`]=new Map);let y=P.ruleType===le.Brackethesized?this._parserBrackethesized(P):this._parserSingleExpression(P);if(b&&!["arg0, arg1, ...","number0, number1, ..."].includes(b)){P.isSourceType?v.push(`sourceTypeName: "${P.name}"`):b==="defval"&&h===`${this._prefixNameFunc}.input.enum`&&(T=this._enums.get(P.enumName));const g=this._requestParamsHandle(a,b,r,c,y,h);y=(g==null?void 0:g.code)||y,g!=null&&g.paramsExpr&&C.push(g==null?void 0:g.paramsExpr),v.push(`${b}: ${y}`)}else S.push(y)};for(const P of d)D(P,P.originName);for(const P of Object.keys(e))D(e[P],P);a&&this._isInFunc&&v.push("paramsExpr: $paramsExpr"),n&&v.push(n),T&&v.unshift(`options: [${T.join(", ")}]`);const M=C.length?`, [${this._isInFunc?"...$paramsExpr, ":""}${C.join(", ")}]`:"";return S.length?`({${v.join(", ")}}, [${S.join(", ")}], ${r}${M})`:v.length?`({${v.join(", ")}}, ${r}${M})`:`(${r}${M})`}_requestParamsHandle(e,n,r,a,c,h){const d=this._memberIndexList[0],v={};for(const S of Object.keys(d))S.includes("_")||(v[S]=d[S]);if(e&&n==="expression"){const S=this._getDepends(`$arg_${n}${r}`),C=this._getExpressionContext(S);return C.push({scope:1,depends:S.map(T=>(T.isArg&&(T.functionName=this._currentFuncName),T)),code:c,memberCodes:v}),{code:`'${pu(JSON.stringify(C))}'`}}else if(a){const S=this._getDepends(r),C=this._getExpressionContext(S);return C.push({scope:2,varNames:n,methodName:h,depends:S,dependSelf:S.some(T=>T.name===n),code:`${n} = ${c}`,memberCodes:v}),{paramsExpr:`'${pu(JSON.stringify(C))}'`}}}_getExpressionContext(e){const n=[],r=[];return this._getDependsCode(e,n,r),n}_getDependsCode(e,n,r){var a,c;for(const h of e)if(!h.isArg){const d=this._codesCol[h.scope||0],v=d.find(C=>{var T;return((T=C.varNames)==null?void 0:T.includes(h.name))||C.funcName===h.name});v&&(r.includes(v)||(r.push(v),v.depends.length&&this._getDependsCode(v.depends,n,r),n.push({scope:h.scope||0,code:v.code,depends:v.depends,funcName:v.funcName,varNames:(a=v.varNames)==null?void 0:a.join(", ")})));const S=d.filter(C=>C.depends.some(T=>T.name===h.name&&T.scope===h.scope&&T.isAgainAssign));for(const C of S)r.includes(C)||(r.push(C),C.depends.length&&this._getDependsCode(C.depends,n,r),n.push({scope:h.scope||0,code:C.code,depends:C.depends,funcName:C.funcName,varNames:(c=C.varNames)==null?void 0:c.join(", ")}))}}_parserBrackethesized(e){return`[${e.exprs.map(r=>this._parserSingleExpression(r)).join(", ")}]`}_functionalProcess(e){return`(function () {
237
+ let $$_result=undefined;
238
+ ${e}
239
+ return $$_result
240
+ })();`}}/**
241
+ * @license
242
+ * Copyright 2019 Google LLC
243
+ * SPDX-License-Identifier: Apache-2.0
244
+ */const Hp=Symbol("Comlink.proxy"),Q_=Symbol("Comlink.endpoint"),ey=Symbol("Comlink.releaseProxy"),Dl=Symbol("Comlink.finalizer"),du=Symbol("Comlink.thrown"),Gp=t=>typeof t=="object"&&t!==null||typeof t=="function",ty={canHandle:t=>Gp(t)&&t[Hp],serialize(t){const{port1:e,port2:n}=new MessageChannel;return kl(t,e),[n,[n]]},deserialize(t){return t.start(),oy(t)}},ny={canHandle:t=>Gp(t)&&du 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}},Kp=new Map([["proxy",ty],["throw",ny]]);function ry(t,e){for(const n of t)if(e===n||n==="*"||n instanceof RegExp&&n.test(e))return!0;return!1}function kl(t,e=globalThis,n=["*"]){e.addEventListener("message",function r(a){if(!a||!a.data)return;if(!ry(n,a.origin)){console.warn(`Invalid origin '${a.origin}' for comlink proxy`);return}const{id:c,type:h,path:d}=Object.assign({path:[]},a.data),v=(a.data.argumentList||[]).map(_o);let S;try{const C=d.slice(0,-1).reduce((D,M)=>D[M],t),T=d.reduce((D,M)=>D[M],t);switch(h){case"GET":S=T;break;case"SET":C[d.slice(-1)[0]]=_o(a.data.value),S=!0;break;case"APPLY":S=T.apply(C,v);break;case"CONSTRUCT":{const D=new T(...v);S=ly(D)}break;case"ENDPOINT":{const{port1:D,port2:M}=new MessageChannel;kl(t,M),S=cy(D,[D])}break;case"RELEASE":S=void 0;break;default:return}}catch(C){S={value:C,[du]:0}}Promise.resolve(S).catch(C=>({value:C,[du]:0})).then(C=>{const[T,D]=gu(C);e.postMessage(Object.assign(Object.assign({},T),{id:c}),D),h==="RELEASE"&&(e.removeEventListener("message",r),zp(e),Dl in t&&typeof t[Dl]=="function"&&t[Dl]())}).catch(C=>{const[T,D]=gu({value:new TypeError("Unserializable return value"),[du]:0});e.postMessage(Object.assign(Object.assign({},T),{id:c}),D)})}),e.start&&e.start()}function iy(t){return t.constructor.name==="MessagePort"}function zp(t){iy(t)&&t.close()}function oy(t,e){return wl(t,[],e)}function mu(t){if(t)throw new Error("Proxy has been released and is not useable")}function Wp(t){return Ho(t,{type:"RELEASE"}).then(()=>{zp(t)})}const _u=new WeakMap,yu="FinalizationRegistry"in globalThis&&new FinalizationRegistry(t=>{const e=(_u.get(t)||0)-1;_u.set(t,e),e===0&&Wp(t)});function sy(t,e){const n=(_u.get(e)||0)+1;_u.set(e,n),yu&&yu.register(t,e,t)}function ay(t){yu&&yu.unregister(t)}function wl(t,e=[],n=function(){}){let r=!1;const a=new Proxy(n,{get(c,h){if(mu(r),h===ey)return()=>{ay(a),Wp(t),r=!0};if(h==="then"){if(e.length===0)return{then:()=>a};const d=Ho(t,{type:"GET",path:e.map(v=>v.toString())}).then(_o);return d.then.bind(d)}return wl(t,[...e,h])},set(c,h,d){mu(r);const[v,S]=gu(d);return Ho(t,{type:"SET",path:[...e,h].map(C=>C.toString()),value:v},S).then(_o)},apply(c,h,d){mu(r);const v=e[e.length-1];if(v===Q_)return Ho(t,{type:"ENDPOINT"}).then(_o);if(v==="bind")return wl(t,e.slice(0,-1));const[S,C]=Xp(d);return Ho(t,{type:"APPLY",path:e.map(T=>T.toString()),argumentList:S},C).then(_o)},construct(c,h){mu(r);const[d,v]=Xp(h);return Ho(t,{type:"CONSTRUCT",path:e.map(S=>S.toString()),argumentList:d},v).then(_o)}});return sy(a,t),a}function uy(t){return Array.prototype.concat.apply([],t)}function Xp(t){const e=t.map(gu);return[e.map(n=>n[0]),uy(e.map(n=>n[1]))]}const qp=new WeakMap;function cy(t,e){return qp.set(t,e),t}function ly(t){return Object.assign(t,{[Hp]:!0})}function gu(t){for(const[e,n]of Kp)if(n.canHandle(t)){const[r,a]=n.serialize(t);return[{type:"HANDLER",name:e,value:r},a]}return[{type:"RAW",value:t},qp.get(t)||[]]}function _o(t){switch(t.type){case"HANDLER":return Kp.get(t.name).deserialize(t.value);case"RAW":return t.value}}function Ho(t,e,n){return new Promise(r=>{const a=fy();t.addEventListener("message",function c(h){!h.data||!h.data.id||h.data.id!==a||(t.removeEventListener("message",c),r(h.data))}),t.start&&t.start(),t.postMessage(Object.assign({id:a},e),n)})}function fy(){return new Array(4).fill(0).map(()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16)).join("-")}function Go(t){return t.split("")}function Rl(t,e){return e.includes(t)}class hy extends Error{constructor(e,n){super(),this.name="DefaultsError",this.message=e,this.defs=n}}function _i(t,e,n){t===!0?t={}:t!=null&&typeof t=="object"&&(t={...t});const r=t||{};if(n){for(const a in r)if(tr(r,a)&&!tr(e,a))throw new hy("`"+a+"` is not a supported option",e)}for(const a in e)if(tr(e,a))if(!t||!tr(t,a))r[a]=e[a];else if(a==="ecma"){let c=t[a]|0;c>5&&c<2015&&(c+=2009),r[a]=c}else r[a]=t&&tr(t,a)?t[a]:e[a];return r}function _r(){}function vt(){return!1}function er(){return!0}function yo(){return this}function to(){return null}var qt=function(){function t(n,r,a=!0){const c=[];for(let h=0;h<n.length;++h){let v=n[h].transform(r,a);v instanceof Ce?c.push(v):v instanceof e&&c.push(...v.v)}return c}t.splice=function(n){return new e(n)},t.skip={};function e(n){this.v=n}return t}();function F(t,e,n){return n||(n={}),e&&(n.start||(n.start=e.start),n.end||(n.end=e.end)),new t(n)}function go(t,e){t.includes(e)||t.push(e)}function bu(t,e){return t.replace(/{(.+?)}/g,function(n,r){return e&&e[r]})}function Ko(t,e){for(var n=t.length;--n>=0;)t[n]===e&&t.splice(n,1)}function Yp(t,e){if(t.length<2)return t.slice();function n(a,c){for(var h=[],d=0,v=0,S=0;d<a.length&&v<c.length;)e(a[d],c[v])<=0?h[S++]=a[d++]:h[S++]=c[v++];return d<a.length&&h.push.apply(h,a.slice(d)),v<c.length&&h.push.apply(h,c.slice(v)),h}function r(a){if(a.length<=1)return a;var c=Math.floor(a.length/2),h=a.slice(0,c),d=a.slice(c);return h=r(h),d=r(d),n(h,d)}return r(t)}function Ct(t){return Array.isArray(t)||(t=t.split(" ")),new Set(t.sort())}function vu(t,e,n){t.has(e)?t.get(e).push(n):t.set(e,[n])}function py(t){var e=new Map;for(var n in t)tr(t,n)&&n.charAt(0)==="$"&&e.set(n.substr(1),t[n]);return e}function dy(t){var e=Object.create(null);return t.forEach(function(n,r){e["$"+r]=n}),e}function tr(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function zo(t,e){return t===!0||t instanceof RegExp&&t.test(e)}var my={"\0":"0","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function Eu(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?"":"\\")+my[e]})}const _y=/^[\\/|\0\s\w^$.[\]()]*$/,Jp=t=>_y.test(t),yy="dgimsuyv";function gy(t){const e=new Set(t.split(""));let n="";for(const r of yy)e.has(r)&&(n+=r,e.delete(r));return e.size&&e.forEach(r=>{n+=r}),n}function ur(t,e){return t._annotations&e}function aa(t,e){t._annotations|=e}function Zp(t,e){t._annotations&=~e}var Su="",ua=new Map,Tu="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",xu="false null true",ca="enum import super this "+xu+" "+Tu,no="implements interface package private protected public static "+ca,Nl="return new delete throw else case yield await";Tu=Ct(Tu),ca=Ct(ca),Nl=Ct(Nl),xu=Ct(xu),no=Ct(no);var by=Ct(Go("+-*&%=<>!?|~^")),vy=/[0-9a-f]/i,Qp=/^0x[0-9a-f]+$/i,ed=/^0[0-7]+$/,Ey=/^0o[0-7]+$/i,Sy=/^0b[01]+$/i,Ty=/^\d*\.?\d*(?:e[+-]?\d*(?:\d\.?|\.?\d)\d*)?$/i,xy=/^(0[xob])?[0-9a-f]+n$/i,td=Ct(["in","instanceof","typeof","new","void","delete","++","--","+","-","!","~","&","|","^","*","**","/","%",">>","<<",">>>","<",">","<=",">=","==","===","!=","!==","?","=","+=","-=","||=","&&=","??=","/=","*=","**=","%=",">>=","<<=",">>>=","|=","^=","&=","&&","??","||"]),Ay=Ct(Go(`  
245
+ \r \f\v​           \u2028\u2029   \uFEFF`)),Il=Ct(Go(`
246
+ \r\u2028\u2029`)),Cy=Ct(Go(";]),:")),Oy=Ct(Go("[{(,;:")),Dy=Ct(Go("[]{}(),;:")),Au={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 Cu(t,e){if(Ou(t.charCodeAt(e))){if(Pl(t.charCodeAt(e+1)))return t.charAt(e)+t.charAt(e+1)}else if(Pl(t.charCodeAt(e))&&Ou(t.charCodeAt(e-1)))return t.charAt(e-1)+t.charAt(e);return t.charAt(e)}function ky(t,e){return Ou(t.charCodeAt(e))?65536+(t.charCodeAt(e)-55296<<10)+t.charCodeAt(e+1)-56320:t.charCodeAt(e)}function wy(t){for(var e=0,n=0;n<t.length;n++)Ou(t.charCodeAt(n))&&Pl(t.charCodeAt(n+1))&&(e++,n++);return t.length-e}function Ry(t){return t>65535?(t-=65536,String.fromCharCode((t>>10)+55296)+String.fromCharCode(t%1024+56320)):String.fromCharCode(t)}function Ou(t){return t>=55296&&t<=56319}function Pl(t){return t>=56320&&t<=57343}function nd(t){return t>=48&&t<=57}function Fl(t){return Au.ID_Start.test(t)}function Du(t){return Au.ID_Continue.test(t)}const rd=/^[a-z_$][a-z0-9_$]*$/i;function ku(t){return rd.test(t)}function id(t,e){if(rd.test(t))return!0;if(!e&&/[\ud800-\udfff]/.test(t))return!1;var n=Au.ID_Start.exec(t);return!n||n.index!==0?!1:(t=t.slice(n[0].length),t?(n=Au.ID_Continue.exec(t),!!n&&n[0].length===t.length):!0)}function od(t,e=!0){if(!e&&t.includes("e"))return NaN;if(Qp.test(t))return parseInt(t.substr(2),16);if(ed.test(t))return parseInt(t.substr(1),8);if(Ey.test(t))return parseInt(t.substr(2),8);if(Sy.test(t))return parseInt(t.substr(2),2);if(Ty.test(t))return parseFloat(t);var n=parseFloat(t);if(n==t)return n}class sd extends Error{constructor(e,n,r,a,c){super(),this.name="SyntaxError",this.message=e,this.filename=n,this.line=r,this.col=a,this.pos=c}}function wu(t,e,n,r,a){throw new sd(t,e,n,r,a)}function cr(t,e,n){return t.type==e&&(n==null||t.value==n)}var Ll={};function Ny(t,e,n,r){var a={text:t,filename:e,pos:0,tokpos:0,line:1,tokline:0,col:0,tokcol:0,newline_before:!1,regex_allowed:!1,brace_counter:0,template_braces:[],comments_before:[],directives:{},directive_stack:[]};function c(){return Cu(a.text,a.pos)}function h(){if(!(a.text.charCodeAt(a.pos+1)===46))return!1;const ie=a.text.charCodeAt(a.pos+2);return ie<48||ie>57}function d(Z,ie){var ue=Cu(a.text,a.pos++);if(Z&&!ue)throw Ll;return Il.has(ue)?(a.newline_before=a.newline_before||!ie,++a.line,a.col=0,ue=="\r"&&c()==`
247
+ `&&(++a.pos,ue=`
248
+ `)):(ue.length>1&&(++a.pos,++a.col),++a.col),ue}function v(Z){for(;Z--;)d()}function S(Z){return a.text.substr(a.pos,Z.length)==Z}function C(){for(var Z=a.text,ie=a.pos,ue=a.text.length;ie<ue;++ie){var xe=Z[ie];if(Il.has(xe))return ie}return-1}function T(Z,ie){var ue=a.text.indexOf(Z,a.pos);if(ie&&ue==-1)throw Ll;return ue}function D(){a.tokline=a.line,a.tokcol=a.col,a.tokpos=a.pos}var M=!1,P=null;function b(Z,ie,ue){a.regex_allowed=Z=="operator"&&!ad.has(ie)||Z=="keyword"&&Nl.has(ie)||Z=="punc"&&Oy.has(ie)||Z=="arrow",Z=="punc"&&(ie=="."||ie=="?.")?M=!0:ue||(M=!1);const xe=a.tokline,be=a.tokcol,xt=a.tokpos,Vt=a.newline_before,Et=e;let Mt=[],gt=[];ue||(Mt=a.comments_before,gt=a.comments_before=[]),a.newline_before=!1;const Ot=new Ml(Z,ie,xe,be,xt,Vt,Mt,gt,Et);return ue||(P=Ot),Ot}function y(){for(;Ay.has(c());)d()}function g(Z){for(var ie="",ue,xe=0;(ue=c())&&Z(ue,xe++);)ie+=d();return ie}function O(Z){wu(Z,e,a.tokline,a.tokcol,a.tokpos)}function R(Z){var ie=!1,ue=!1,xe=!1,be=Z==".",xt=!1,Vt=!1,Et=g(function(gt,Ot){if(xt)return!1;var Zt=gt.charCodeAt(0);switch(Zt){case 95:return Vt=!0;case 98:case 66:return xe=!0;case 111:case 79:case 120:case 88:return xe?!1:xe=!0;case 101:case 69:return xe?!0:ie?!1:ie=ue=!0;case 45:return ue||Ot==0&&!Z;case 43:return ue;case(ue=!1,46):return!be&&!xe&&!ie?be=!0:!1}return gt==="n"?(xt=!0,!0):vy.test(gt)});if(Z&&(Et=Z+Et),Su=Et,ed.test(Et)&&Ue.has_directive("use strict")&&O("Legacy octal literals are not allowed in strict mode"),Vt&&(Et.endsWith("_")?O("Numeric separators are not allowed at the end of numeric literals"):Et.includes("__")&&O("Only one underscore is allowed as numeric separator"),Et=Et.replace(/_/g,"")),Et.endsWith("n")){const gt=Et.slice(0,-1),Ot=Qp.test(gt),Zt=od(gt,Ot);if(!be&&xy.test(Et)&&!isNaN(Zt))return b("big_int",gt);O("Invalid or unexpected token")}var Mt=od(Et);if(isNaN(Mt))O("Invalid syntax: "+Et);else return b("num",Mt)}function k(Z){return Z>="0"&&Z<="7"}function U(Z,ie,ue){var xe=d(!0,Z);switch(xe.charCodeAt(0)){case 110:return`
249
+ `;case 114:return"\r";case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 120:return String.fromCharCode(J(2,ie));case 117:if(c()=="{"){for(d(!0),c()==="}"&&O("Expecting hex-character between {}");c()=="0";)d(!0);var be,xt=T("}",!0)-a.pos;return(xt>6||(be=J(xt,ie))>1114111)&&O("Unicode reference out of bounds"),d(!0),Ry(be)}return String.fromCharCode(J(4,ie));case 10:return"";case 13:if(c()==`
250
+ `)return d(!0,Z),""}return k(xe)?(ue&&ie&&(xe==="0"&&!k(c())||O("Octal escape sequences are not allowed in template strings")),X(xe,ie)):xe}function X(Z,ie){var ue=c();return ue>="0"&&ue<="7"&&(Z+=d(!0),Z[0]<="3"&&(ue=c())>="0"&&ue<="7"&&(Z+=d(!0))),Z==="0"?"\0":(Z.length>0&&Ue.has_directive("use strict")&&ie&&O("Legacy octal escape sequences are not allowed in strict mode"),String.fromCharCode(parseInt(Z,8)))}function J(Z,ie){for(var ue=0;Z>0;--Z){if(!ie&&isNaN(parseInt(c(),16)))return parseInt(ue,16)||"";var xe=d(!0);isNaN(parseInt(xe,16))&&O("Invalid hex-character pattern in string"),ue+=xe}return parseInt(ue,16)}var G=ve("Unterminated string constant",function(){const Z=a.pos;for(var ie=d(),ue=[];;){var xe=d(!0,!0);if(xe=="\\")xe=U(!0,!0);else if(xe=="\r"||xe==`
251
+ `)O("Unterminated string constant");else if(xe==ie)break;ue.push(xe)}var be=b("string",ue.join(""));return Su=a.text.slice(Z,a.pos),be.quote=ie,be}),Y=ve("Unterminated template",function(Z){Z&&a.template_braces.push(a.brace_counter);var ie="",ue="",xe,be;for(d(!0,!0);(xe=d(!0,!0))!="`";){if(xe=="\r")c()==`
252
+ `&&++a.pos,xe=`
253
+ `;else if(xe=="$"&&c()=="{")return d(!0,!0),a.brace_counter++,be=b(Z?"template_head":"template_substitution",ie),ua.set(be,ue),be.template_end=!1,be;if(ue+=xe,xe=="\\"){var xt=a.pos,Vt=P&&(P.type==="name"||P.type==="punc"&&(P.value===")"||P.value==="]"));xe=U(!0,!Vt,!0),ue+=a.text.substr(xt,a.pos-xt)}ie+=xe}return a.template_braces.pop(),be=b(Z?"template_head":"template_substitution",ie),ua.set(be,ue),be.template_end=!0,be});function $(Z){var ie=a.regex_allowed,ue=C(),xe;return ue==-1?(xe=a.text.substr(a.pos),a.pos=a.text.length):(xe=a.text.substring(a.pos,ue),a.pos=ue),a.col=a.tokcol+(a.pos-a.tokpos),a.comments_before.push(b(Z,xe,!0)),a.regex_allowed=ie,Ue}var te=ve("Unterminated multiline comment",function(){var Z=a.regex_allowed,ie=T("*/",!0),ue=a.text.substring(a.pos,ie).replace(/\r\n|\r|\u2028|\u2029/g,`
254
+ `);return v(wy(ue)+2),a.comments_before.push(b("comment2",ue,!0)),a.newline_before=a.newline_before||ue.includes(`
255
+ `),a.regex_allowed=Z,Ue}),ee=ve("Unterminated identifier name",function(){var Z=[],ie,ue=!1,xe=function(){return ue=!0,d(),c()!=="u"&&O("Expecting UnicodeEscapeSequence -- uXXXX or u{XXXX}"),U(!1,!0)};if((ie=c())==="\\")ie=xe(),Fl(ie)||O("First identifier char is an invalid identifier char");else if(Fl(ie))d();else return"";for(Z.push(ie);(ie=c())!=null;){if((ie=c())==="\\")ie=xe(),Du(ie)||O("Invalid escaped identifier char");else{if(!Du(ie))break;d()}Z.push(ie)}const be=Z.join("");return ca.has(be)&&ue&&O("Escaped characters are not allowed in keywords"),be}),_e=ve("Unterminated regular expression",function(Z){for(var ie=!1,ue,xe=!1;ue=d(!0);)if(Il.has(ue))O("Unexpected line terminator");else if(ie)/^[\u0000-\u007F]$/.test(ue)?Z+="\\"+ue:Z+=ue,ie=!1;else if(ue=="[")xe=!0,Z+=ue;else if(ue=="]"&&xe)xe=!1,Z+=ue;else{if(ue=="/"&&!xe)break;ue=="\\"?ie=!0:Z+=ue}const be=ee();return b("regexp","/"+Z+"/"+be)});function ge(Z){function ie(ue){if(!c())return ue;var xe=ue+c();return td.has(xe)?(d(),ie(xe)):ue}return b("operator",ie(Z||d()))}function re(){switch(d(),c()){case"/":return d(),$("comment1");case"*":return d(),te()}return a.regex_allowed?_e(""):ge("/")}function de(){return d(),c()===">"?(d(),b("arrow","=>")):ge("=")}function fe(){return d(),nd(c().charCodeAt(0))?R("."):c()==="."?(d(),d(),b("expand","...")):b("punc",".")}function Oe(){var Z=ee();return M?b("name",Z):xu.has(Z)?b("atom",Z):Tu.has(Z)?td.has(Z)?b("operator",Z):b("keyword",Z):b("name",Z)}function Ie(){return d(),b("privatename",ee())}function ve(Z,ie){return function(ue){try{return ie(ue)}catch(xe){if(xe===Ll)O(Z);else throw xe}}}function Ue(Z){if(Z!=null)return _e(Z);for(r&&a.pos==0&&S("#!")&&(D(),v(2),$("comment5"));;){if(y(),D(),n){if(S("<!--")){v(4),$("comment3");continue}if(S("-->")&&a.newline_before){v(3),$("comment4");continue}}var ie=c();if(!ie)return b("eof");var ue=ie.charCodeAt(0);switch(ue){case 34:case 39:return G();case 46:return fe();case 47:{var xe=re();if(xe===Ue)continue;return xe}case 61:return de();case 63:{if(!h())break;return d(),d(),b("punc","?.")}case 96:return Y(!0);case 123:a.brace_counter++;break;case 125:if(a.brace_counter--,a.template_braces.length>0&&a.template_braces[a.template_braces.length-1]===a.brace_counter)return Y(!1);break}if(nd(ue))return R();if(Dy.has(ie))return b("punc",d());if(by.has(ie))return ge();if(ue==92||Fl(ie))return Oe();if(ue==35)return Ie();break}O("Unexpected character '"+ie+"'")}return Ue.next=d,Ue.peek=c,Ue.context=function(Z){return Z&&(a=Z),a},Ue.add_directive=function(Z){a.directive_stack[a.directive_stack.length-1].push(Z),a.directives[Z]===void 0?a.directives[Z]=1:a.directives[Z]++},Ue.push_directives_stack=function(){a.directive_stack.push([])},Ue.pop_directives_stack=function(){for(var Z=a.directive_stack[a.directive_stack.length-1],ie=0;ie<Z.length;ie++)a.directives[Z[ie]]--;a.directive_stack.pop()},Ue.has_directive=function(Z){return a.directives[Z]>0},Ue}var Iy=Ct(["typeof","void","delete","--","++","!","~","-","+"]),ad=Ct(["--","++"]),Py=Ct(["=","+=","-=","??=","&&=","||=","/=","*=","**=","%=",">>=","<<=",">>>=","|=","^=","&="]),Fy=Ct(["??=","&&=","||="]),kr=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"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]],{}),Ly=Ct(["atom","num","big_int","string","regexp","name"]);function la(t,e){const n=new WeakMap;e=_i(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"?Ny(t,e.filename,e.html5_comments,e.shebang):t,token:null,prev:null,peeked:null,in_function:0,in_async:-1,in_generator:-1,in_directives:!0,in_loop:0,labels:[]};r.token=h();function a(N,K){return cr(r.token,N,K)}function c(){return r.peeked||(r.peeked=r.input())}function h(){return r.prev=r.token,r.peeked||c(),r.token=r.peeked,r.peeked=null,r.in_directives=r.in_directives&&(r.token.type=="string"||a("punc",";")),r.token}function d(){return r.prev}function v(N,K,W,Q){var oe=r.input.context();wu(N,oe.filename,K??oe.tokline,W??oe.tokcol,Q??oe.tokpos)}function S(N,K){v(K,N.line,N.col)}function C(N){N==null&&(N=r.token),S(N,"Unexpected token: "+N.type+" ("+N.value+")")}function T(N,K){if(a(N,K))return h();S(r.token,"Unexpected token "+r.token.type+" «"+r.token.value+"», expected "+N+" «"+K+"»")}function D(N){return T("punc",N)}function M(N){return N.nlb||!N.comments_before.every(K=>!K.nlb)}function P(){return!e.strict&&(a("eof")||a("punc","}")||M(r.token))}function b(){return r.in_generator===r.in_function}function y(){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 O(N){a("punc",";")?h():!N&&!P()&&C()}function R(){D("(");var N=_t(!0);return D(")"),N}function k(N){return function(...W){const Q=r.token,oe=N(...W);return oe.start=Q,oe.end=d(),oe}}function U(){(a("operator","/")||a("operator","/="))&&(r.peeked=null,r.token=r.input(r.token.value.substr(1)))}var X=k(function N(K,W,Q){switch(U(),r.token.type){case"string":if(r.in_directives){var oe=c();!Su.includes("\\")&&(cr(oe,"punc",";")||cr(oe,"punc","}")||M(oe)||cr(oe,"eof"))?r.input.add_directive(r.token.value):r.in_directives=!1}var Fe=r.in_directives,Pe=G();return Fe&&Pe.body instanceof dt?new nr(Pe.body):Pe;case"template_head":case"num":case"big_int":case"regexp":case"operator":case"atom":return G();case"name":case"privatename":if(a("privatename")&&!r.in_class&&v("Private field must be used in an enclosing class"),r.token.value=="async"&&cr(c(),"keyword","function"))return h(),h(),W&&v("functions are not allowed as the body of a loop"),re(en,!1,!0,K);if(r.token.value=="import"&&!cr(c(),"punc","(")&&!cr(c(),"punc",".")){h();var rt=fn();return O(),rt}return cr(c(),"punc",":")?J():G();case"punc":switch(r.token.value){case"{":return new Ze({start:r.token,body:xe(),end:d()});case"[":case"(":return G();case";":return r.in_directives=!1,h(),new wt;default:C()}case"keyword":switch(r.token.value){case"break":return h(),Y(wr);case"continue":return h(),Y(ro);case"debugger":return h(),O(),new Fi;case"do":h();var Ht=or(N);T("keyword","while");var sn=R();return O(!0),new yi({body:Ht,condition:sn});case"while":return h(),new Li({condition:R(),body:or(function(){return N(!1,!0)})});case"for":return h(),$();case"class":return h(),W&&v("classes are not allowed as the body of a loop"),Q&&v("classes are not allowed as the body of an if"),Qt(Kr,K);case"function":return h(),W&&v("functions are not allowed as the body of a loop"),re(en,!1,!1,K);case"if":return h(),ue();case"return":r.in_function==0&&!e.bare_returns&&v("'return' outside of function"),h();var En=null;return a("punc",";")?h():P()||(En=_t(!0),O()),new an({value:En});case"switch":return h(),new qn({expression:R(),body:or(be)});case"throw":h(),M(r.token)&&v("Illegal newline after 'throw'");var En=_t(!0);return O(),new ha({value:En});case"try":return h(),xt();case"var":h();var rt=Et();return O(),rt;case"let":h();var rt=Mt();return O(),rt;case"const":h();var rt=gt();return O(),rt;case"with":return r.input.has_directive("use strict")&&v("Strict mode may not include a with statement"),h(),new yr({expression:R(),body:N()});case"export":if(!cr(c(),"punc","(")){h();var rt=Me();return a("punc",";")&&O(),rt}}}C()});function J(){var N=Cn(pa);N.name==="await"&&y()&&S(r.prev,"await cannot be used as label inside async function"),r.labels.some(W=>W.name===N.name)&&v("Label "+N.name+" defined twice"),D(":"),r.labels.push(N);var K=X();return r.labels.pop(),K instanceof Vr||N.references.forEach(function(W){W instanceof ro&&(W=W.label.start,v("Continue label `"+N.name+"` refers to non-IterationStatement.",W.line,W.col,W.pos))}),new Qn({body:K,label:N})}function G(N){return new je({body:(N=_t(!0),O(),N)})}function Y(N){var K=null,W;P()||(K=Cn(Ul,!0)),K!=null?(W=r.labels.find(oe=>oe.name===K.name),W||v("Undefined label "+K.name),K.thedef=W):r.in_loop==0&&v(N.TYPE+" not inside a loop or switch"),O();var Q=new N({label:K});return W&&W.references.push(Q),Q}function $(){var N="`for await` invalid in this context",K=r.token;K.type=="name"&&K.value=="await"?(g()||S(K,N),h()):K=!1,D("(");var W=null;if(a("punc",";"))K&&S(K,N);else{W=a("keyword","var")?(h(),Et(!0)):a("keyword","let")?(h(),Mt(!0)):a("keyword","const")?(h(),gt(!0)):_t(!0,!0);var Q=a("operator","in"),oe=a("name","of");if(K&&!oe&&S(K,N),Q||oe)return W instanceof un?W.definitions.length>1&&S(W.start,"Only one variable declaration allowed in for..in loop"):Xi(W)||(W=Fr(W))instanceof $t||S(W.start,"Invalid left-hand side in for..in loop"),h(),Q?_e(W):ee(W,!!K)}return te(W)}function te(N){D(";");var K=a("punc",";")?null:_t(!0);D(";");var W=a("punc",")")?null:_t(!0);return D(")"),new xn({init:N,condition:K,step:W,body:or(function(){return X(!1,!0)})})}function ee(N,K){var W=N instanceof un?N.definitions[0].name:null,Q=_t(!0);return D(")"),new Eo({await:K,init:N,name:W,object:Q,body:or(function(){return X(!1,!0)})})}function _e(N){var K=_t(!0);return D(")"),new Wn({init:N,object:K,body:or(function(){return X(!1,!0)})})}var ge=function(N,K,W){M(r.token)&&v("Unexpected newline before arrow (=>)"),T("arrow","=>");var Q=Ue(a("punc","{"),!1,W),oe=Q instanceof Array&&Q.length?Q[Q.length-1].end:Q instanceof Array?N:Q.end;return new Yt({start:N,end:oe,async:W,argnames:K,body:Q})},re=function(N,K,W,Q){var oe=N===en,Fe=a("operator","*");Fe&&h();var Pe=a("name")?Cn(oe?Ti:oi):null;oe&&!Pe&&(Q?N=Ft:C()),Pe&&N!==Mi&&!(Pe instanceof In)&&C(d());var rt=[],Ht=Ue(!0,Fe||K,W,Pe,rt);return new N({start:rt.start,end:Ht.end,is_generator:Fe,async:W,name:Pe,argnames:rt,body:Ht})};class de{constructor(K,W,Q=!1){this.is_parameter=K,this.duplicates_ok=Q,this.parameters=new Set,this.duplicate=null,this.default_assignment=!1,this.spread=!1,this.strict_mode=!!W}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&&S(K,"Unexpected "+K.value+" identifier as parameter inside strict mode");break;default:ca.has(K.value)&&C()}}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&&S(this.duplicate,"Parameter "+this.duplicate.value+" was used already")}}function fe(N){var K=new de(!0,r.input.has_directive("use strict"));for(D("(");!a("punc",")");){var W=Oe(K);if(N.push(W),a("punc",")")||D(","),W instanceof ht)break}h()}function Oe(N,K){var W,Q=!1;return N===void 0&&(N=new de(!0,r.input.has_directive("use strict"))),a("expand","...")&&(Q=r.token,N.mark_spread(r.token),h()),W=Ie(N,K),a("operator","=")&&Q===!1&&(N.mark_default_assignment(r.token),h(),W=new Nr({start:W.start,left:W,operator:"=",right:_t(!1),end:r.token})),Q!==!1&&(a("punc",")")||C(),W=new ht({start:Q,expression:W,end:Q})),N.check_strict(),W}function Ie(N,K){var W=[],Q=!0,oe=!1,Fe,Pe=r.token;if(N===void 0){const Lr=r.input.has_directive("use strict"),Bt=K===Vi;N=new de(!1,Lr,Bt)}if(K=K===void 0?Pn:K,a("punc","[")){for(h();!a("punc","]");){if(Q?Q=!1:D(","),a("expand","...")&&(oe=!0,Fe=r.token,N.mark_spread(r.token),h()),a("punc"))switch(r.token.value){case",":W.push(new Ir({start:r.token,end:r.token}));continue;case"]":break;case"[":case"{":W.push(Ie(N,K));break;default:C()}else a("name")?(N.add_parameter(r.token),W.push(Cn(K))):v("Invalid function parameter");a("operator","=")&&oe===!1&&(N.mark_default_assignment(r.token),h(),W[W.length-1]=new Nr({start:W[W.length-1].start,left:W[W.length-1],operator:"=",right:_t(!1),end:r.token})),oe&&(a("punc","]")||v("Rest element must be last element"),W[W.length-1]=new ht({start:Fe,expression:W[W.length-1],end:Fe}))}return D("]"),N.check_strict(),new $t({start:Pe,names:W,is_array:!0,end:d()})}else if(a("punc","{")){for(h();!a("punc","}");){if(Q?Q=!1:D(","),a("expand","...")&&(oe=!0,Fe=r.token,N.mark_spread(r.token),h()),a("name")&&(cr(c(),"punc")||cr(c(),"operator"))&&[",","}","="].includes(c().value)){N.add_parameter(r.token);var rt=d(),Ht=Cn(K);oe?W.push(new ht({start:Fe,expression:Ht,end:Ht.end})):W.push(new Jt({start:rt,key:Ht.name,value:Ht,end:Ht.end}))}else{if(a("punc","}"))continue;var sn=r.token,En=ut();En===null?C(d()):d().type==="name"&&!a("punc",":")?W.push(new Jt({start:d(),key:En,value:new K({start:d(),name:En,end:d()}),end:d()})):(D(":"),W.push(new Jt({start:sn,quote:sn.quote,key:En,value:Ie(N,K),end:d()})))}oe?a("punc","}")||v("Rest element must be last element"):a("operator","=")&&(N.mark_default_assignment(r.token),h(),W[W.length-1].value=new Nr({start:W[W.length-1].value.start,left:W[W.length-1].value,operator:"=",right:_t(!1),end:r.token}))}return D("}"),N.check_strict(),new $t({start:Pe,names:W,is_array:!1,end:d()})}else{if(a("name"))return N.add_parameter(r.token),Cn(K);v("Invalid function parameter")}}function ve(N,K){var W,Q,oe,Fe=[];for(D("(");!a("punc",")");)W&&C(W),a("expand","...")?(W=r.token,K&&(Q=r.token),h(),Fe.push(new ht({start:d(),expression:_t(),end:r.token}))):Fe.push(_t()),a("punc",")")||(D(","),a("punc",")")&&(oe=d(),K&&(Q=oe)));return D(")"),N&&a("arrow","=>")?W&&oe&&C(oe):Q&&C(Q),Fe}function Ue(N,K,W,Q,oe){var Fe=r.in_loop,Pe=r.labels,rt=r.in_generator,Ht=r.in_async;if(++r.in_function,K&&(r.in_generator=r.in_function),W&&(r.in_async=r.in_function),oe&&fe(oe),N&&(r.in_directives=!0),r.in_loop=0,r.labels=[],N){r.input.push_directives_stack();var sn=xe();Q&&vn(Q),oe&&oe.forEach(vn),r.input.pop_directives_stack()}else var sn=[new an({start:r.token,value:_t(!1),end:r.token})];return--r.in_function,r.in_loop=Fe,r.labels=Pe,r.in_generator=rt,r.in_async=Ht,sn}function Z(){return g()||v("Unexpected await expression outside async function",r.prev.line,r.prev.col,r.prev.pos),new gr({start:d(),end:r.token,expression:Ci(!0)})}function ie(){b()||v("Unexpected yield expression outside generator function",r.prev.line,r.prev.col,r.prev.pos);var N=r.token,K=!1,W=!0;return P()||a("punc")&&Cy.has(r.token.value)?W=!1:a("operator","*")&&(K=!0,h()),new br({start:N,is_star:K,expression:W?_t():null,end:d()})}function ue(){var N=R(),K=X(!1,!1,!0),W=null;return a("keyword","else")&&(h(),W=X(!1,!1,!0)),new Rt({condition:N,body:K,alternative:W})}function xe(){D("{");for(var N=[];!a("punc","}");)a("eof")&&C(),N.push(X());return h(),N}function be(){D("{");for(var N=[],K=null,W=null,Q;!a("punc","}");)a("eof")&&C(),a("keyword","case")?(W&&(W.end=d()),K=[],W=new Jr({start:(Q=r.token,h(),Q),expression:_t(!0),body:K}),N.push(W),D(":")):a("keyword","default")?(W&&(W.end=d()),K=[],W=new So({start:(Q=r.token,h(),D(":"),Q),body:K}),N.push(W)):(K||C(),K.push(X()));return W&&(W.end=d()),h(),N}function xt(){var N,K=null,W=null;if(N=new Pu({start:r.token,body:xe(),end:d()}),a("keyword","catch")){var Q=r.token;if(h(),a("punc","{"))var oe=null;else{D("(");var oe=Oe(void 0,zr);D(")")}K=new Zr({start:Q,argname:oe,body:xe(),end:d()})}if(a("keyword","finally")){var Q=r.token;h(),W=new Wo({start:Q,body:xe(),end:d()})}return!K&&!W&&v("Missing catch/finally blocks"),new vr({body:N,bcatch:K,bfinally:W})}function Vt(N,K){for(var W=[],Q;;){var oe=K==="var"?Vi:K==="const"?io:K==="let"?qo:null;if(a("punc","{")||a("punc","[")?Q=new Lt({start:r.token,name:Ie(void 0,oe),value:a("operator","=")?(T("operator","="),_t(!1,N)):null,end:d()}):(Q=new Lt({start:r.token,name:Cn(oe),value:a("operator","=")?(h(),_t(!1,N)):!N&&K==="const"?v("Missing initializer in const declaration"):null,end:d()}),Q.name.name=="import"&&v("Unexpected token: import")),W.push(Q),!a("punc",","))break;h()}return W}var Et=function(N){return new Nn({start:d(),definitions:Vt(N,"var"),end:d()})},Mt=function(N){return new Qr({start:d(),definitions:Vt(N,"let"),end:d()})},gt=function(N){return new ei({start:d(),definitions:Vt(N,"const"),end:d()})},Ot=function(N){var K=r.token;if(T("operator","new"),a("punc","."))return h(),T("name","target"),hn(new Xo({start:K,end:d()}),N);var W=ke(!1),Q;a("punc","(")?(h(),Q=bt(")",!0)):Q=[];var oe=new rr({start:K,expression:W,args:Q,end:d()});return Mn(oe),hn(oe,N)};function Zt(){var N=r.token,K;switch(N.type){case"name":K=ft(Ae);break;case"num":K=new Qe({start:N,end:N,value:N.value,raw:Su});break;case"big_int":K=new si({start:N,end:N,value:N.value});break;case"string":K=new dt({start:N,end:N,value:N.value,quote:N.quote}),Mn(K);break;case"regexp":const[W,Q,oe]=N.value.match(/^\/(.*)\/(\w*)$/);K=new hr({start:N,end:N,value:{source:Q,flags:oe}});break;case"atom":switch(N.value){case"false":K=new Gi({start:N,end:N});break;case"true":K=new Er({start:N,end:N});break;case"null":K=new pr({start:N,end:N});break}break}return h(),K}function se(N,K){var W=function(Q,oe){return oe?new Nr({start:Q.start,left:Q,operator:"=",right:oe,end:oe.end}):Q};if(N instanceof Nt)return W(new $t({start:N.start,end:N.end,is_array:!1,names:N.properties.map(Q=>se(Q))}),K);if(N instanceof Jt)return N.value=se(N.value),W(N,K);if(N instanceof Ir)return N;if(N instanceof $t)return N.names=N.names.map(Q=>se(Q)),W(N,K);if(N instanceof Ae)return W(new Pn({name:N.name,start:N.start,end:N.end}),K);if(N instanceof ht)return N.expression=se(N.expression),W(N,K);if(N instanceof St)return W(new $t({start:N.start,end:N.end,is_array:!0,names:N.elements.map(Q=>se(Q))}),K);if(N instanceof at)return W(se(N.left,N.right),K);if(N instanceof Nr)return N.left=se(N.left),N;v("Invalid function parameter",N.start.line,N.start.col)}var ke=function(N,K){if(a("operator","new"))return Ot(N);if(a("name","import")&&cr(c(),"punc","."))return Ai(N);var W=r.token,Q,oe=a("name","async")&&(Q=c()).value!="["&&Q.type!="arrow"&&Zt();if(a("punc")){switch(r.token.value){case"(":if(oe&&!N)break;var Fe=ve(K,!oe);if(K&&a("arrow","=>"))return ge(W,Fe.map(Bt=>se(Bt)),!!oe);var Pe=oe?new Ve({expression:oe,args:Fe}):Fo(W,Fe);if(Pe.start){const Bt=W.comments_before.length;if(n.set(W,Bt),Pe.start.comments_before.unshift(...W.comments_before),W.comments_before=Pe.start.comments_before,Bt==0&&W.comments_before.length>0){var rt=W.comments_before[0];rt.nlb||(rt.nlb=W.nlb,W.nlb=!1)}W.comments_after=Pe.start.comments_after}Pe.start=W;var Ht=d();return Pe.end&&(Ht.comments_before=Pe.end.comments_before,Pe.end.comments_after.push(...Ht.comments_after),Ht.comments_after=Pe.end.comments_after),Pe.end=Ht,Pe instanceof Ve&&Mn(Pe),hn(Pe,N);case"[":return hn(At(),N);case"{":return hn(Un(),N)}oe||C()}if(K&&a("name")&&cr(c(),"arrow")){var sn=new Pn({name:r.token.value,start:W,end:W});return h(),ge(W,[sn],!!oe)}if(a("keyword","function")){h();var En=re(Ft,!1,!!oe);return En.start=W,En.end=d(),hn(En,N)}if(oe)return hn(oe,N);if(a("keyword","class")){h();var Lr=Qt(Si);return Lr.start=W,Lr.end=d(),hn(Lr,N)}if(a("template_head"))return hn(me(),N);if(Ly.has(r.token.type))return hn(Zt(),N);C()};function me(){var N=[],K=r.token;for(N.push(new gi({start:r.token,raw:ua.get(r.token),value:r.token.value,end:r.token}));!r.token.template_end;)h(),U(),N.push(_t(!0)),N.push(new gi({start:r.token,raw:ua.get(r.token),value:r.token.value,end:r.token}));return h(),new Xn({start:K,segments:N,end:r.token})}function bt(N,K,W){for(var Q=!0,oe=[];!a("punc",N)&&(Q?Q=!1:D(","),!(K&&a("punc",N)));)a("punc",",")&&W?oe.push(new Ir({start:r.token,end:r.token})):a("expand","...")?(h(),oe.push(new ht({start:d(),expression:_t(),end:r.token}))):oe.push(_t(!1));return h(),oe}var At=k(function(){return D("["),new St({elements:bt("]",!e.strict,!0)})}),Dt=k((N,K)=>re(Mi,N,K)),Un=k(function(){var K=r.token,W=!0,Q=[];for(D("{");!a("punc","}")&&(W?W=!1:D(","),!(!e.strict&&a("punc","}")));){if(K=r.token,K.type=="expand"){h(),Q.push(new ht({start:K,expression:_t(!1),end:d()}));continue}a("privatename")&&v("private fields are not allowed in an object");var oe=ut(),Fe;if(a("punc",":"))oe===null?C(d()):(h(),Fe=_t(!1));else{var Pe=dn(oe,K);if(Pe){Q.push(Pe);continue}Fe=new Ae({start:d(),name:oe,end:d()})}a("operator","=")&&(h(),Fe=new at({start:K,left:Fe,operator:"=",right:_t(!1),logical:!1,end:d()}));const rt=new Jt({start:K,quote:K.quote,key:oe instanceof Ce?oe:""+oe,value:Fe,end:d()});Q.push(Mn(rt))}return h(),new Nt({properties:Q})});function Qt(N,K){var W,Q,oe,Fe,Pe=[];r.input.push_directives_stack(),r.input.add_directive("use strict"),r.token.type=="name"&&r.token.value!="extends"&&(oe=Cn(N===Kr?Fu:Lu)),N===Kr&&!oe&&(K?N=Si:C()),r.token.value=="extends"&&(h(),Fe=_t(!0)),D("{");const rt=r.in_class;for(r.in_class=!0;a("punc",";");)h();for(;!a("punc","}");)for(W=r.token,Q=dn(ut(),W,!0),Q||C(),Pe.push(Q);a("punc",";");)h();return r.in_class=rt,r.input.pop_directives_stack(),h(),new N({start:W,name:oe,extends:Fe,properties:Pe,end:d()})}function dn(N,K,W){const Q=(Bt,Xr=$n)=>typeof Bt=="string"||typeof Bt=="number"?new Xr({start:K,name:""+Bt,end:d()}):(Bt===null&&C(),Bt),oe=()=>!a("punc","(")&&!a("punc",",")&&!a("punc","}")&&!a("punc",";")&&!a("operator","=");var Fe=!1,Pe=!1,rt=!1,Ht=!1,sn=null;if(W&&N==="static"&&oe()){const Bt=jt();if(Bt!=null)return Bt;Pe=!0,N=ut()}N==="async"&&oe()&&(Fe=!0,N=ut()),d().type==="operator"&&d().value==="*"&&(rt=!0,N=ut()),(N==="get"||N==="set")&&oe()&&(sn=N,N=ut()),d().type==="privatename"&&(Ht=!0);const En=d();if(sn!=null)if(Ht){const Bt=sn==="get"?ni:bi;return Mn(new Bt({start:K,static:Pe,key:Q(N),value:Dt(),end:d()}))}else{const Bt=sn==="get"?Gr:ri;return N=Q(N),Mn(new Bt({start:K,static:Pe,key:N,quote:N instanceof $n?En.quote:void 0,value:Dt(),end:d()}))}if(a("punc","(")){N=Q(N);const Bt=Ht?vi:Bn;var Lr=new Bt({start:K,static:Pe,is_generator:rt,async:Fe,key:N,quote:N instanceof $n?En.quote:void 0,value:Dt(rt,Fe),end:d()});return Mn(Lr)}if(W){const Bt=Q(N,Hi),Xr=Bt instanceof Hi?En.quote:void 0,Ar=Ht?Ei:fr;if(a("operator","="))return h(),Mn(new Ar({start:K,static:Pe,quote:Xr,key:Bt,value:_t(!1),end:d()}));if(a("name")||a("privatename")||a("operator","*")||a("punc",";")||a("punc","}"))return Mn(new Ar({start:K,static:Pe,quote:Xr,key:Bt,end:d()}))}}function jt(){if(!a("punc","{"))return null;const N=r.token,K=[];for(h();!a("punc","}");)K.push(X());return h(),new Yn({start:N,body:K,end:d()})}function Pt(){return a("name","assert")&&!M(r.token)?(h(),Un()):null}function fn(){var N=d(),K,W;a("name")&&(K=Cn(Yo)),a("punc",",")&&h(),W=Be(!0),(W||K)&&T("name","from");var Q=r.token;Q.type!=="string"&&C(),h();const oe=Pt();return new Rr({start:N,imported_name:K,imported_names:W,module_name:new dt({start:Q,value:Q.value,quote:Q.quote,end:Q}),assert_clause:oe,end:r.token})}function Ai(N){var K=r.token;return T("name","import"),T("punc","."),T("name","meta"),hn(new Ui({start:K,end:d()}),N)}function j(N){function K(rt,Ht){return new rt({name:ut(),quote:Ht||void 0,start:d(),end:d()})}var W=N?To:xi,Q=N?Yo:xo,oe=r.token,Fe,Pe;return N?Fe=K(W,oe.quote):Pe=K(Q,oe.quote),a("name","as")?(h(),N?Pe=K(Q):Fe=K(W,r.token.quote)):N?Pe=new Q(Fe):Fe=new W(Pe),new ti({start:oe,foreign_name:Fe,name:Pe,end:d()})}function Ne(N,K){var W=N?To:xi,Q=N?Yo:xo,oe=r.token,Fe,Pe,rt=d();return N?Fe=K:Pe=K,Fe=Fe||new Q({start:oe,name:"*",end:rt}),Pe=Pe||new W({start:oe,name:"*",end:rt}),new ti({start:oe,foreign_name:Pe,name:Fe,end:rt})}function Be(N){var K;if(a("punc","{")){for(h(),K=[];!a("punc","}");)K.push(j(N)),a("punc",",")&&h();h()}else if(a("operator","*")){var W;h(),a("name","as")&&(h(),W=N?Cn(Yo):fi(xi)),K=[Ne(N,W)]}return K}function Me(){var N=r.token,K,W;if(a("keyword","default"))K=!0,h();else if(W=Be(!1))if(a("name","from")){h();var Q=r.token;Q.type!=="string"&&C(),h();const rt=Pt();return new Dn({start:N,is_default:K,exported_names:W,module_name:new dt({start:Q,value:Q.value,quote:Q.quote,end:Q}),end:d(),assert_clause:rt})}else return new Dn({start:N,is_default:K,exported_names:W,end:d()});var oe,Fe,Pe;return a("punc","{")||K&&(a("keyword","class")||a("keyword","function"))&&cr(c(),"punc")?(Fe=_t(!1),O()):(oe=X(K))instanceof un&&K?C(oe.start):oe instanceof un||oe instanceof en||oe instanceof Kr?Pe=oe:oe instanceof Si||oe instanceof Ft?Fe=oe:oe instanceof je?Fe=oe.body:C(oe.start),new Dn({start:N,is_default:K,exported_value:Fe,exported_definition:Pe,end:d(),assert_clause:null})}function ut(){var N=r.token;switch(N.type){case"punc":if(N.value==="["){h();var K=_t(!1);return D("]"),K}else C(N);case"operator":if(N.value==="*")return h(),null;["delete","in","instanceof","new","typeof","void"].includes(N.value)||C(N);case"name":case"privatename":case"string":case"num":case"big_int":case"keyword":case"atom":return h(),N.value;default:C(N)}}function on(){var N=r.token;return N.type!="name"&&N.type!="privatename"&&C(),h(),N.value}function ft(N){var K=r.token.value;return new(K=="this"?Vn:K=="super"?Jo:N)({name:String(K),start:r.token,end:r.token})}function vn(N){var K=N.name;b()&&K=="yield"&&S(N.start,"Yield cannot be used as identifier inside generators"),r.input.has_directive("use strict")&&(K=="yield"&&S(N.start,"Unexpected yield identifier inside strict mode"),N instanceof In&&(K=="arguments"||K=="eval")&&S(N.start,"Unexpected "+K+" in strict mode"))}function Cn(N,K){if(!a("name"))return K||v("Name expected"),null;var W=ft(N);return vn(W),h(),W}function fi(N){if(!a("name")){a("string")||v("Name or string expected");var K=r.token,W=new N({start:K,end:K,name:K.value,quote:K.quote});return h(),W}var Q=ft(N);return vn(Q),h(),Q}function Mn(N,K=N.start){var W=K.comments_before;const Q=n.get(K);for(var oe=Q??W.length;--oe>=0;){var Fe=W[oe];if(/[@#]__/.test(Fe.value)){if(/[@#]__PURE__/.test(Fe.value)){aa(N,$l);break}if(/[@#]__INLINE__/.test(Fe.value)){aa(N,Vl);break}if(/[@#]__NOINLINE__/.test(Fe.value)){aa(N,Ao);break}if(/[@#]__KEY__/.test(Fe.value)){aa(N,_a);break}if(/[@#]__MANGLE_PROP__/.test(Fe.value)){aa(N,ya);break}}}return N}var hn=function(N,K,W){var Q=N.start;if(a("punc",".")){h(),a("privatename")&&!r.in_class&&v("Private field must be used in an enclosing class");const Pe=a("privatename")?Hr:Wt;return Mn(hn(new Pe({start:Q,expression:N,optional:!1,property:on(),end:d()}),K,W))}if(a("punc","[")){h();var oe=_t(!0);return D("]"),Mn(hn(new An({start:Q,expression:N,optional:!1,property:oe,end:d()}),K,W))}if(K&&a("punc","(")){h();var Fe=new Ve({start:Q,expression:N,optional:!1,args:lo(),end:d()});return Mn(Fe),hn(Fe,!0,W)}if(a("punc","?.")){h();let Pe;if(K&&a("punc","(")){h();const rt=new Ve({start:Q,optional:!0,expression:N,args:lo(),end:d()});Mn(rt),Pe=hn(rt,!0,!0)}else if(a("name")||a("privatename")){a("privatename")&&!r.in_class&&v("Private field must be used in an enclosing class");const rt=a("privatename")?Hr:Wt;Pe=Mn(hn(new rt({start:Q,expression:N,optional:!0,property:on(),end:d()}),K,!0))}else if(a("punc","[")){h();const rt=_t(!0);D("]"),Pe=Mn(hn(new An({start:Q,expression:N,optional:!0,property:rt,end:d()}),K,!0))}return Pe||C(),Pe instanceof gn?Pe:new gn({start:Q,expression:Pe,end:d()})}return a("template_head")?(W&&C(),hn(new jr({start:Q,prefix:N,template_string:me(),end:d()}),K)):N};function lo(){for(var N=[];!a("punc",")");)a("expand","...")?(h(),N.push(new ht({start:d(),expression:_t(!1),end:d()}))):N.push(_t(!1)),a("punc",")")||D(",");return h(),N}var Ci=function(N,K){var W=r.token;if(W.type=="name"&&W.value=="await"&&g())return h(),Z();if(a("operator")&&Iy.has(W.value)){h(),U();var Q=fo(We,W,Ci(N));return Q.start=W,Q.end=d(),Q}for(var oe=ke(N,K);a("operator")&&ad.has(r.token.value)&&!M(r.token);)oe instanceof Yt&&C(),oe=fo($i,r.token,oe),oe.start=W,oe.end=r.token,h();return oe};function fo(N,K,W){var Q=K.value;switch(Q){case"++":case"--":Xi(W)||v("Invalid use of "+Q+" operator",K.line,K.col,K.pos);break;case"delete":W instanceof Ae&&r.input.has_directive("use strict")&&v("Calling delete on expression not allowed in strict mode",W.start.line,W.start.col,W.start.pos);break}return new N({operator:Q,expression:W})}var xr=function(N,K,W){var Q=a("operator")?r.token.value:null;Q=="in"&&W&&(Q=null),Q=="**"&&N instanceof We&&!cr(N.start,"punc","(")&&N.operator!=="--"&&N.operator!=="++"&&C(N.start);var oe=Q!=null?kr[Q]:null;if(oe!=null&&(oe>K||Q==="**"&&K===oe)){h();var Fe=Wr(W,oe,!0);return xr(new ae({start:N.start,left:N,operator:Q,right:Fe,end:Fe.end}),K,W)}return N};function Wr(N,K,W,Q){if(!N&&K<kr.in&&a("privatename")){r.in_class||v("Private field must be used in an enclosing class");const oe=r.token,Fe=new da({start:oe,name:oe.value,end:oe});h(),T("operator","in");const Pe=new ii({start:oe,key:Fe,value:Wr(N,kr.in,!0),end:d()});return xr(Pe,0,N)}else return xr(Ci(W,Q),K,N)}var Po=function(N){var K=r.token,W=Wr(N,0,!0,!0);if(a("operator","?")){h();var Q=_t(!1);return D(":"),new tt({start:K,condition:W,consequent:Q,alternative:_t(!1,N),end:d()})}return W};function Xi(N){return N instanceof Xe||N instanceof Ae}function Fr(N){if(N instanceof Nt)N=new $t({start:N.start,names:N.properties.map(Fr),is_array:!1,end:N.end});else if(N instanceof St){for(var K=[],W=0;W<N.elements.length;W++)N.elements[W]instanceof ht&&(W+1!==N.elements.length&&S(N.elements[W].start,"Spread must the be last element in destructuring array"),N.elements[W].expression=Fr(N.elements[W].expression)),K.push(Fr(N.elements[W]));N=new $t({start:N.start,names:K,is_array:!0,end:N.end})}else N instanceof cn?N.value=Fr(N.value):N instanceof at&&(N=new Nr({start:N.start,left:N.left,operator:"=",right:N.right,end:N.end}));return N}var hi=function(N){U();var K=r.token;if(K.type=="name"&&K.value=="yield"){if(b())return h(),ie();r.input.has_directive("use strict")&&S(r.token,"Unexpected yield identifier inside strict mode")}var W=Po(N),Q=r.token.value;if(a("operator")&&Py.has(Q)){if(Xi(W)||(W=Fr(W))instanceof $t)return h(),new at({start:K,left:W,operator:Q,right:hi(N),logical:Fy.has(Q),end:d()});v("Invalid assignment")}return W},Fo=function(N,K){if(K.length===1)return K[0];if(K.length>1)return new lt({start:N,expressions:K,end:c()});v("Invalid parenthesized expression")},_t=function(N,K){for(var W=r.token,Q=[];Q.push(hi(K)),!(!N||!a("punc",","));)h(),N=!0;return Fo(W,Q)};function or(N){++r.in_loop;var K=N();return--r.in_loop,K}return e.expression?_t(!0):function(){var K=r.token,W=[];for(r.input.push_directives_stack(),e.module&&r.input.add_directive("use strict");!a("eof");)W.push(X());r.input.pop_directives_stack();var Q=d(),oe=e.toplevel;return oe?(oe.body=oe.body.concat(W),oe.end=Q):oe=new zt({start:K,body:W,end:Q}),ua=new Map,oe}()}function he(t,e,n,r,a=Ce){e?e=e.split(/\s+/):e=[];var c=e;a&&a.PROPS&&(e=e.concat(a.PROPS));const h=a&&Object.create(a.prototype);if(h&&(n.prototype=h,n.BASE=a),a&&a.SUBCLASSES.push(n),n.prototype.CTOR=n,n.prototype.constructor=n,n.PROPS=e||null,n.SELF_PROPS=c,n.SUBCLASSES=[],t&&(n.prototype.TYPE=n.TYPE=t),r)for(let d in r)tr(r,d)&&(d[0]==="$"?n[d.substr(1)]=r[d]:n.prototype[d]=r[d]);return n.DEFMETHOD=function(d,v){this.prototype[d]=v},n}const Ru=(t,e)=>!!(t.flags&e),Nu=(t,e,n)=>{n?t.flags|=e:t.flags&=~e},ud=1,cd=2,ld=4,fd=8;class Ml{constructor(e,n,r,a,c,h,d,v,S){this.flags=h?1:0,this.type=e,this.value=n,this.line=r,this.col=a,this.pos=c,this.comments_before=d,this.comments_after=v,this.file=S,Object.seal(this)}[Symbol.for("nodejs.util.inspect.custom")](e,n){const r=h=>n.stylize(h,"special"),a=typeof this.value=="string"&&this.value.includes("`")?"'":"`",c=`${a}${this.value}${a}`;return`${r("[AST_Token")} ${c} at ${this.line}:${this.col}${r("]")}`}get nlb(){return Ru(this,ud)}set nlb(e){Nu(this,ud,e)}get quote(){return Ru(this,ld)?Ru(this,cd)?"'":'"':""}set quote(e){Nu(this,cd,e==="'"),Nu(this,ld,!!e)}get template_end(){return Ru(this,fd)}set template_end(e){Nu(this,fd,e)}}var Ce=he("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 mr(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),Rn=he("Statement",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class of all statements"}),Fi=he("Debugger",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Represents a debugger statement"},Rn),nr=he("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"}},Rn),je=he("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)}},Rn);function bo(t,e){const n=t.body;for(var r=0,a=n.length;r<a;r++)n[r]._walk(e)}function Bl(t){var e=this._clone(t);return this.block_scope&&(e.block_scope=this.block_scope.clone()),e}var Tn=he("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(){bo(this,t)})},_children_backwards(t){let e=this.body.length;for(;e--;)t(this.body[e])},clone:Bl},Rn),Ze=he("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),wt=he("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)"},Rn),vo=he("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"}},Rn),Qn=he("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 Ln(function(a){a instanceof Yr&&a.label&&a.label.thedef===r&&(a.label.thedef=n,n.references.push(a))}))}return e}},vo),Vr=he("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:Bl},vo),Iu=he("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"}},Vr),yi=he("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)}},Iu),Li=he("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)}},Iu),xn=he("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)}},Vr),Wn=he("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)}},Vr),Eo=he("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"},Wn),yr=he("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)}},vo),qe=he("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=he("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=la(n),n=n.transform(new mr(function(r){if(r instanceof nr&&r.value=="$ORIG")return qt.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 la(["(function(",t.slice(0,e),'){"$ORIG"})(',t.slice(e+1),")"].join("")).transform(new mr(function(r){if(r instanceof nr&&r.value=="$ORIG")return qt.splice(n)}))}},qe),ht=he("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)}}),Ge=he("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 $t?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);bo(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 an&&this.body[0].value},length_property(){let t=0;for(const e of this.argnames)(e instanceof Pn||e instanceof $t)&&t++;return t}},qe),Mi=he("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."},Ge),Ft=he("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"},Ge),Yt=he("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)"},Ge),en=he("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"},Ge),$t=he("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 Fn(this,e=>{if(e instanceof In&&t.push(e),e instanceof Ge)return!0}),t}}),jr=he("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)}}),Xn=he("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])}}),gi=he("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"}}),fa=he("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`)"},Rn),lr=he("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)}},fa),an=he("Return",null,function(e){e&&(this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `return` statement"},lr),ha=he("Throw",null,function(e){e&&(this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `throw` statement"},lr),Yr=he("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)}},fa),wr=he("Break",null,function(e){e&&(this.label=e.label,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `break` statement"},Yr),ro=he("Continue",null,function(e){e&&(this.label=e.label,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `continue` statement"},Yr),gr=he("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)}}),br=he("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)}}),Rt=he("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)}},vo),qn=he("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),bo(this,t)})},_children_backwards(t){let e=this.body.length;for(;e--;)t(this.body[e]);t(this.expression)}},Tn),Bi=he("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),So=he("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"},Bi),Jr=he("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),bo(this,t)})},_children_backwards(t){let e=this.body.length;for(;e--;)t(this.body[e]);t(this.expression)}},Bi),vr=he("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)}},Rn),Pu=he("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),Zr=he("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),bo(this,t)})},_children_backwards(t){let e=this.body.length;for(;e--;)t(this.body[e]);this.argname&&t(this.argname)}},Tn),Wo=he("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),un=he("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])}},Rn),Nn=he("Var",null,function(e){e&&(this.definitions=e.definitions,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `var` statement"},un),Qr=he("Let",null,function(e){e&&(this.definitions=e.definitions,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `let` statement"},un),ei=he("Const",null,function(e){e&&(this.definitions=e.definitions,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `const` statement"},un),Lt=he("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()}}),ti=he("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)}}),Rr=he("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)}}),Ui=he("ImportMeta",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A reference to import.meta"}),Dn=he("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)}},Rn),Ve=he("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)}}),rr=he("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"},Ve),lt=he("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=he("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 ?.)"}}),Wt=he("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),Hr=he("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),An=he("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),gn=he("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)}}),Xt=he("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)}}),We=he("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`"},Xt),$i=he("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++`"},Xt),ae=he("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)}}),tt=he("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)}}),at=he("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"}},ae),Nr=he("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`"},ae),St=he("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])}}),Nt=he("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])}}),cn=he("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 Ce&&this.key._walk(t),this.value._walk(t)})},_children_backwards(t){t(this.value),this.key instanceof Ce&&t(this.key)}}),Jt=he("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 Ce}},cn),bi=he("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}},cn),ni=he("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}},cn),ri=he("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 $n)}},cn),Gr=he("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 $n)}},cn),Bn=he("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 $n)}},cn),vi=he("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"},Bn),yt=he("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 Yn){e._walk(t);return}e.computed_key()&&(t.push(e),e.key._walk(t),t.pop()),(e instanceof Ei||e instanceof fr)&&e.static&&e.value&&(t.push(e),e.value._walk(t),t.pop())})},visit_deferred_class_parts(t){this.properties.forEach(e=>{e instanceof Bn?e.walk(t):e instanceof fr&&!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 Ln((r,a)=>{if(e)return!0;if(r instanceof Vn)return e=n;if(r instanceof Ae)return e=r.definition().id===t;if(r instanceof Ge&&!(r instanceof Yt)){const c=n;return n=!1,a(),n=c,!0}})),e}},qe),fr=he("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 Ce&&this.key._walk(t),this.value instanceof Ce&&this.value._walk(t)})},_children_backwards(t){this.value instanceof Ce&&t(this.value),this.key instanceof Ce&&t(this.key)},computed_key(){return!(this.key instanceof Hi)}},cn),Ei=he("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"},fr),ii=he("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)}}),Kr=he("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"},yt),Yn=he("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(){bo(this,t)})},_children_backwards(t){let e=this.body.length;for(;e--;)t(this.body[e])},clone:Bl,computed_key:()=>!1},qe),Si=he("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."},yt),pt=he("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"}),Xo=he("NewTarget",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A reference to new.target"}),In=he("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)"},pt),Vi=he("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),ji=he("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),io=he("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"},ji),qo=he("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"},ji),Pn=he("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"},Vi),Ti=he("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),$n=he("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"},pt),Hi=he("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"},pt),oi=he("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),Fu=he("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."},ji),Lu=he("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),zr=he("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"},ji),Yo=he("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"},ji),To=he("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"},pt),pa=he("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}},pt),Ae=he("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)"},pt),xo=he("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"},Ae),xi=he("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"},pt),Ul=he("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"},pt),da=he("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"},pt),Vn=he("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"},pt),Jo=he("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"},Vn),Tt=he("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}}),dt=he("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"}},Tt),Qe=he("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"}},Tt),si=he("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"}},Tt),hr=he("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"}},Tt),oo=he("Atom",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for atoms"},Tt),pr=he("Null",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `null` atom",value:null},oo),ma=he("NaN",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The impossible value",value:NaN},oo),tn=he("Undefined",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `undefined` value",value:function(){}()},oo),Ir=he("Hole",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A hole in an array",value:function(){}()},oo),so=he("Infinity",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `Infinity` value",value:1/0},oo),Mu=he("Boolean",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for booleans"},oo),Gi=he("False",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `false` atom",value:!1},Mu),Er=he("True",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `true` atom",value:!0},Mu);function Fn(t,e,n=[t]){const r=n.push.bind(n);for(;n.length;){const a=n.pop(),c=e(a,n);if(c){if(c===dr)return!0;continue}a._children_backwards(r)}return!1}function hd(t,e,n){const r=[t],a=r.push.bind(r),c=n?n.slice():[],h=[];let d;const v={parent:(S=0)=>S===-1?d:n&&S>=c.length?(S-=c.length,n[n.length-(S+1)]):c[c.length-(1+S)]};for(;r.length;){for(d=r.pop();h.length&&r.length==h[h.length-1];)c.pop(),h.pop();const S=e(d,v);if(S){if(S===dr)return!0;continue}const C=r.length;d._children_backwards(a),r.length>C&&(c.push(d),h.push(C-1))}return!1}const dr=Symbol("abort walk");class Ln{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)}:_r);return!r&&n&&n.call(e),this.pop(),r}parent(e){return this.stack[this.stack.length-2-(e||0)]}push(e){e instanceof Ge?this.directives=Object.create(this.directives):e instanceof nr&&!this.directives[e.value]?this.directives[e.value]=e:e instanceof yt&&(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 Ge||e instanceof yt)&&(this.directives=Object.getPrototypeOf(this.directives))}self(){return this.stack[this.stack.length-1]}find_parent(e){for(var n=this.stack,r=n.length;--r>=0;){var a=n[r];if(a instanceof e)return a}}find_scope(){for(var e=this.stack,n=e.length;--n>=0;){const r=e[n];if(r instanceof zt||r instanceof Ge)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 qe&&r.body)for(var a=0;a<r.body.length;++a){var c=r.body[a];if(!(c instanceof nr))break;if(c.value==e)return c}}loopcontrol_target(e){var n=this.stack;if(e.label)for(var r=n.length;--r>=0;){var a=n[r];if(a instanceof Qn&&a.label.name==e.label.name)return a.body}else for(var r=n.length;--r>=0;){var a=n[r];if(a instanceof Vr||e instanceof wr&&a instanceof qn)return a}}}class mr extends Ln{constructor(e,n){super(),this.before=e,this.after=n}}const $l=1,Vl=2,Ao=4,_a=8,ya=16;function mt(t,e){t.DEFMETHOD("transform",function(n,r){let a;if(n.push(this),n.before&&(a=n.before(this,e,r)),a===void 0&&(a=this,e(a,n),n.after)){const c=n.after(a,r);c!==void 0&&(a=c)}return n.pop(),a})}mt(Ce,_r),mt(Qn,function(t,e){t.label=t.label.transform(e),t.body=t.body.transform(e)}),mt(je,function(t,e){t.body=t.body.transform(e)}),mt(Tn,function(t,e){t.body=qt(t.body,e)}),mt(yi,function(t,e){t.body=t.body.transform(e),t.condition=t.condition.transform(e)}),mt(Li,function(t,e){t.condition=t.condition.transform(e),t.body=t.body.transform(e)}),mt(xn,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)}),mt(Wn,function(t,e){t.init=t.init.transform(e),t.object=t.object.transform(e),t.body=t.body.transform(e)}),mt(yr,function(t,e){t.expression=t.expression.transform(e),t.body=t.body.transform(e)}),mt(lr,function(t,e){t.value&&(t.value=t.value.transform(e))}),mt(Yr,function(t,e){t.label&&(t.label=t.label.transform(e))}),mt(Rt,function(t,e){t.condition=t.condition.transform(e),t.body=t.body.transform(e),t.alternative&&(t.alternative=t.alternative.transform(e))}),mt(qn,function(t,e){t.expression=t.expression.transform(e),t.body=qt(t.body,e)}),mt(Jr,function(t,e){t.expression=t.expression.transform(e),t.body=qt(t.body,e)}),mt(vr,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))}),mt(Zr,function(t,e){t.argname&&(t.argname=t.argname.transform(e)),t.body=qt(t.body,e)}),mt(un,function(t,e){t.definitions=qt(t.definitions,e)}),mt(Lt,function(t,e){t.name=t.name.transform(e),t.value&&(t.value=t.value.transform(e))}),mt($t,function(t,e){t.names=qt(t.names,e)}),mt(Ge,function(t,e){t.name&&(t.name=t.name.transform(e)),t.argnames=qt(t.argnames,e,!1),t.body instanceof Ce?t.body=t.body.transform(e):t.body=qt(t.body,e)}),mt(Ve,function(t,e){t.expression=t.expression.transform(e),t.args=qt(t.args,e,!1)}),mt(lt,function(t,e){const n=qt(t.expressions,e);t.expressions=n.length?n:[new Qe({value:0})]}),mt(Xe,function(t,e){t.expression=t.expression.transform(e)}),mt(An,function(t,e){t.expression=t.expression.transform(e),t.property=t.property.transform(e)}),mt(gn,function(t,e){t.expression=t.expression.transform(e)}),mt(br,function(t,e){t.expression&&(t.expression=t.expression.transform(e))}),mt(gr,function(t,e){t.expression=t.expression.transform(e)}),mt(Xt,function(t,e){t.expression=t.expression.transform(e)}),mt(ae,function(t,e){t.left=t.left.transform(e),t.right=t.right.transform(e)}),mt(ii,function(t,e){t.key=t.key.transform(e),t.value=t.value.transform(e)}),mt(tt,function(t,e){t.condition=t.condition.transform(e),t.consequent=t.consequent.transform(e),t.alternative=t.alternative.transform(e)}),mt(St,function(t,e){t.elements=qt(t.elements,e)}),mt(Nt,function(t,e){t.properties=qt(t.properties,e)}),mt(cn,function(t,e){t.key instanceof Ce&&(t.key=t.key.transform(e)),t.value&&(t.value=t.value.transform(e))}),mt(yt,function(t,e){t.name&&(t.name=t.name.transform(e)),t.extends&&(t.extends=t.extends.transform(e)),t.properties=qt(t.properties,e)}),mt(Yn,function(t,e){t.body=qt(t.body,e)}),mt(ht,function(t,e){t.expression=t.expression.transform(e)}),mt(ti,function(t,e){t.foreign_name=t.foreign_name.transform(e),t.name=t.name.transform(e)}),mt(Rr,function(t,e){t.imported_name&&(t.imported_name=t.imported_name.transform(e)),t.imported_names&&qt(t.imported_names,e),t.module_name=t.module_name.transform(e)}),mt(Dn,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&&qt(t.exported_names,e),t.module_name&&(t.module_name=t.module_name.transform(e))}),mt(Xn,function(t,e){t.segments=qt(t.segments,e)}),mt(jr,function(t,e){t.prefix=t.prefix.transform(e),t.template_string=t.template_string.transform(e)}),function(){var t=function(b){for(var y=0;y<b.length;y++)if(b[y]instanceof Rn&&b[y].body instanceof dt)b[y]=new nr({start:b[y].start,end:b[y].end,value:b[y].body.value});else return b;return b};const e=b=>b&&b.length>0?new Nt({start:a(b),end:c(b),properties:b.map(y=>new Jt({start:a(y),end:c(y),key:y.key.name||y.key.value,value:d(y.value)}))}):null;var n={Program:function(b){return new zt({start:a(b),end:c(b),body:t(b.body.map(d))})},ArrayPattern:function(b){return new $t({start:a(b),end:c(b),names:b.elements.map(function(y){return y===null?new Ir:d(y)}),is_array:!0})},ObjectPattern:function(b){return new $t({start:a(b),end:c(b),names:b.properties.map(d),is_array:!1})},AssignmentPattern:function(b){return new Nr({start:a(b),end:c(b),left:d(b.left),operator:"=",right:d(b.right)})},SpreadElement:function(b){return new ht({start:a(b),end:c(b),expression:d(b.argument)})},RestElement:function(b){return new ht({start:a(b),end:c(b),expression:d(b.argument)})},TemplateElement:function(b){return new gi({start:a(b),end:c(b),value:b.value.cooked,raw:b.value.raw})},TemplateLiteral:function(b){for(var y=[],g=0;g<b.quasis.length;g++)y.push(d(b.quasis[g])),b.expressions[g]&&y.push(d(b.expressions[g]));return new Xn({start:a(b),end:c(b),segments:y})},TaggedTemplateExpression:function(b){return new jr({start:a(b),end:c(b),template_string:d(b.quasi),prefix:d(b.tag)})},FunctionDeclaration:function(b){return new en({start:a(b),end:c(b),name:d(b.id),argnames:b.params.map(d),is_generator:b.generator,async:b.async,body:t(d(b.body).body)})},FunctionExpression:function(b){return new Ft({start:a(b),end:c(b),name:d(b.id),argnames:b.params.map(d),is_generator:b.generator,async:b.async,body:t(d(b.body).body)})},ArrowFunctionExpression:function(b){const y=b.body.type==="BlockStatement"?d(b.body).body:[F(an,{},{value:d(b.body)})];return new Yt({start:a(b),end:c(b),argnames:b.params.map(d),body:y,async:b.async})},ExpressionStatement:function(b){return new je({start:a(b),end:c(b),body:d(b.expression)})},TryStatement:function(b){var y=b.handlers||[b.handler];if(y.length>1||b.guardedHandlers&&b.guardedHandlers.length)throw new Error("Multiple catch clauses are not supported.");return new vr({start:a(b),end:c(b),body:new Pu(d(b.block)),bcatch:d(y[0]),bfinally:b.finalizer?new Wo(d(b.finalizer)):null})},Property:function(b){var y=b.key,g={start:a(y||b.value),end:c(b.value),key:y.type=="Identifier"?y.name:y.value,value:d(b.value)};if(b.computed&&(g.key=d(b.key)),b.method)return g.is_generator=b.value.generator,g.async=b.value.async,b.computed?g.key=d(b.key):g.key=new $n({name:g.key}),new Bn(g);if(b.kind=="init")return y.type!="Identifier"&&y.type!="Literal"&&(g.key=d(y)),new Jt(g);if((typeof g.key=="string"||typeof g.key=="number")&&(g.key=new $n({name:g.key})),g.value=new Mi(g.value),b.kind=="get")return new Gr(g);if(b.kind=="set")return new ri(g);if(b.kind=="method")return g.async=b.value.async,g.is_generator=b.value.generator,g.quote=b.computed?'"':null,new Bn(g)},MethodDefinition:function(b){const y=b.key.type==="PrivateIdentifier",g=b.computed?d(b.key):new $n({name:b.key.name||b.key.value});var O={start:a(b),end:c(b),key:g,value:d(b.value),static:b.static};return b.kind=="get"?new(y?ni:Gr)(O):b.kind=="set"?new(y?bi:ri)(O):(O.is_generator=b.value.generator,O.async=b.value.async,new(y?vi:Bn)(O))},FieldDefinition:function(b){let y;if(b.computed)y=d(b.key);else{if(b.key.type!=="Identifier")throw new Error("Non-Identifier key in FieldDefinition");y=d(b.key)}return new fr({start:a(b),end:c(b),key:y,value:d(b.value),static:b.static})},PropertyDefinition:function(b){let y;if(b.computed)y=d(b.key);else{if(b.key.type==="PrivateIdentifier")return new Ei({start:a(b),end:c(b),key:d(b.key),value:d(b.value),static:b.static});if(b.key.type!=="Identifier")throw new Error("Non-Identifier key in PropertyDefinition");y=d(b.key)}return new fr({start:a(b),end:c(b),key:y,value:d(b.value),static:b.static})},PrivateIdentifier:function(b){return new da({start:a(b),end:c(b),name:b.name})},StaticBlock:function(b){return new Yn({start:a(b),end:c(b),body:b.body.map(d)})},ArrayExpression:function(b){return new St({start:a(b),end:c(b),elements:b.elements.map(function(y){return y===null?new Ir:d(y)})})},ObjectExpression:function(b){return new Nt({start:a(b),end:c(b),properties:b.properties.map(function(y){return y.type==="SpreadElement"||(y.type="Property"),d(y)})})},SequenceExpression:function(b){return new lt({start:a(b),end:c(b),expressions:b.expressions.map(d)})},MemberExpression:function(b){return b.property.type==="PrivateIdentifier"?new Hr({start:a(b),end:c(b),property:b.property.name,expression:d(b.object),optional:b.optional||!1}):new(b.computed?An:Wt)({start:a(b),end:c(b),property:b.computed?d(b.property):b.property.name,expression:d(b.object),optional:b.optional||!1})},ChainExpression:function(b){return new gn({start:a(b),end:c(b),expression:d(b.expression)})},SwitchCase:function(b){return new(b.test?Jr:So)({start:a(b),end:c(b),expression:d(b.test),body:b.consequent.map(d)})},VariableDeclaration:function(b){return new(b.kind==="const"?ei:b.kind==="let"?Qr:Nn)({start:a(b),end:c(b),definitions:b.declarations.map(d)})},ImportDeclaration:function(b){var y=null,g=null;return b.specifiers.forEach(function(O){O.type==="ImportSpecifier"||O.type==="ImportNamespaceSpecifier"?(g||(g=[]),g.push(d(O))):O.type==="ImportDefaultSpecifier"&&(y=d(O))}),new Rr({start:a(b),end:c(b),imported_name:y,imported_names:g,module_name:d(b.source),assert_clause:e(b.assertions)})},ImportSpecifier:function(b){return new ti({start:a(b),end:c(b),foreign_name:d(b.imported),name:d(b.local)})},ImportDefaultSpecifier:function(b){return d(b.local)},ImportNamespaceSpecifier:function(b){return new ti({start:a(b),end:c(b),foreign_name:new To({name:"*"}),name:d(b.local)})},ExportAllDeclaration:function(b){var y=b.exported==null?new xi({name:"*"}):d(b.exported);return new Dn({start:a(b),end:c(b),exported_names:[new ti({name:new xi({name:"*"}),foreign_name:y})],module_name:d(b.source),assert_clause:e(b.assertions)})},ExportNamedDeclaration:function(b){return new Dn({start:a(b),end:c(b),exported_definition:d(b.declaration),exported_names:b.specifiers&&b.specifiers.length?b.specifiers.map(d):null,module_name:d(b.source),assert_clause:e(b.assertions)})},ExportDefaultDeclaration:function(b){return new Dn({start:a(b),end:c(b),exported_value:d(b.declaration),is_default:!0})},ExportSpecifier:function(b){return new ti({foreign_name:d(b.exported),name:d(b.local)})},Literal:function(b){var y=b.value,g={start:a(b),end:c(b)},O=b.regex;if(O&&O.pattern)return g.value={source:O.pattern,flags:O.flags},new hr(g);if(O){const k=b.raw||y,U=k.match(/^\/(.*)\/(\w*)$/);if(!U)throw new Error("Invalid regex source "+k);const[X,J,G]=U;return g.value={source:J,flags:G},new hr(g)}if(y===null)return new pr(g);switch(typeof y){case"string":g.quote='"';var R=h[h.length-2];return R.type=="ImportSpecifier"?(g.name=y,new To(g)):R.type=="ExportSpecifier"?(g.name=y,b==R.exported?new xi(g):new xo(g)):R.type=="ExportAllDeclaration"&&b==R.exported?(g.name=y,new xi(g)):(g.value=y,new dt(g));case"number":return g.value=y,g.raw=b.raw||y.toString(),new Qe(g);case"boolean":return new(y?Er:Gi)(g)}},MetaProperty:function(b){if(b.meta.name==="new"&&b.property.name==="target")return new Xo({start:a(b),end:c(b)});if(b.meta.name==="import"&&b.property.name==="meta")return new Ui({start:a(b),end:c(b)})},Identifier:function(b){var y=h[h.length-2];return new(y.type=="LabeledStatement"?pa:y.type=="VariableDeclarator"&&y.id===b?y.kind=="const"?io:y.kind=="let"?qo:Vi:/Import.*Specifier/.test(y.type)?y.local===b?Yo:To:y.type=="ExportSpecifier"?y.local===b?xo:xi:y.type=="FunctionExpression"?y.id===b?oi:Pn:y.type=="FunctionDeclaration"?y.id===b?Ti:Pn:y.type=="ArrowFunctionExpression"?y.params.includes(b)?Pn:Ae:y.type=="ClassExpression"?y.id===b?Lu:Ae:y.type=="Property"?y.key===b&&y.computed||y.value===b?Ae:$n:y.type=="PropertyDefinition"||y.type==="FieldDefinition"?y.key===b&&y.computed||y.value===b?Ae:Hi:y.type=="ClassDeclaration"?y.id===b?Fu:Ae:y.type=="MethodDefinition"?y.computed?Ae:$n:y.type=="CatchClause"?zr:y.type=="BreakStatement"||y.type=="ContinueStatement"?Ul:Ae)({start:a(b),end:c(b),name:b.name})},BigIntLiteral(b){return new si({start:a(b),end:c(b),value:b.value})},EmptyStatement:function(b){return new wt({start:a(b),end:c(b)})},BlockStatement:function(b){return new Ze({start:a(b),end:c(b),body:b.body.map(d)})},IfStatement:function(b){return new Rt({start:a(b),end:c(b),condition:d(b.test),body:d(b.consequent),alternative:d(b.alternate)})},LabeledStatement:function(b){return new Qn({start:a(b),end:c(b),label:d(b.label),body:d(b.body)})},BreakStatement:function(b){return new wr({start:a(b),end:c(b),label:d(b.label)})},ContinueStatement:function(b){return new ro({start:a(b),end:c(b),label:d(b.label)})},WithStatement:function(b){return new yr({start:a(b),end:c(b),expression:d(b.object),body:d(b.body)})},SwitchStatement:function(b){return new qn({start:a(b),end:c(b),expression:d(b.discriminant),body:b.cases.map(d)})},ReturnStatement:function(b){return new an({start:a(b),end:c(b),value:d(b.argument)})},ThrowStatement:function(b){return new ha({start:a(b),end:c(b),value:d(b.argument)})},WhileStatement:function(b){return new Li({start:a(b),end:c(b),condition:d(b.test),body:d(b.body)})},DoWhileStatement:function(b){return new yi({start:a(b),end:c(b),condition:d(b.test),body:d(b.body)})},ForStatement:function(b){return new xn({start:a(b),end:c(b),init:d(b.init),condition:d(b.test),step:d(b.update),body:d(b.body)})},ForInStatement:function(b){return new Wn({start:a(b),end:c(b),init:d(b.left),object:d(b.right),body:d(b.body)})},ForOfStatement:function(b){return new Eo({start:a(b),end:c(b),init:d(b.left),object:d(b.right),body:d(b.body),await:b.await})},AwaitExpression:function(b){return new gr({start:a(b),end:c(b),expression:d(b.argument)})},YieldExpression:function(b){return new br({start:a(b),end:c(b),expression:d(b.argument),is_star:b.delegate})},DebuggerStatement:function(b){return new Fi({start:a(b),end:c(b)})},VariableDeclarator:function(b){return new Lt({start:a(b),end:c(b),name:d(b.id),value:d(b.init)})},CatchClause:function(b){return new Zr({start:a(b),end:c(b),argname:d(b.param),body:d(b.body).body})},ThisExpression:function(b){return new Vn({start:a(b),end:c(b)})},Super:function(b){return new Jo({start:a(b),end:c(b)})},BinaryExpression:function(b){return b.left.type==="PrivateIdentifier"?new ii({start:a(b),end:c(b),key:new da({start:a(b.left),end:c(b.left),name:b.left.name}),value:d(b.right)}):new ae({start:a(b),end:c(b),operator:b.operator,left:d(b.left),right:d(b.right)})},LogicalExpression:function(b){return new ae({start:a(b),end:c(b),operator:b.operator,left:d(b.left),right:d(b.right)})},AssignmentExpression:function(b){return new at({start:a(b),end:c(b),operator:b.operator,left:d(b.left),right:d(b.right)})},ConditionalExpression:function(b){return new tt({start:a(b),end:c(b),condition:d(b.test),consequent:d(b.consequent),alternative:d(b.alternate)})},NewExpression:function(b){return new rr({start:a(b),end:c(b),expression:d(b.callee),args:b.arguments.map(d)})},CallExpression:function(b){return new Ve({start:a(b),end:c(b),expression:d(b.callee),optional:b.optional,args:b.arguments.map(d)})}};n.UpdateExpression=n.UnaryExpression=function(y){var g="prefix"in y?y.prefix:y.type=="UnaryExpression";return new(g?We:$i)({start:a(y),end:c(y),operator:y.operator,expression:d(y.argument)})},n.ClassDeclaration=n.ClassExpression=function(y){return new(y.type==="ClassDeclaration"?Kr:Si)({start:a(y),end:c(y),name:d(y.id),extends:d(y.superClass),properties:y.body.body.map(d)})},S(wt,function(){return{type:"EmptyStatement"}}),S(Ze,function(y){return{type:"BlockStatement",body:y.body.map(T)}}),S(Rt,function(y){return{type:"IfStatement",test:T(y.condition),consequent:T(y.body),alternate:T(y.alternative)}}),S(Qn,function(y){return{type:"LabeledStatement",label:T(y.label),body:T(y.body)}}),S(wr,function(y){return{type:"BreakStatement",label:T(y.label)}}),S(ro,function(y){return{type:"ContinueStatement",label:T(y.label)}}),S(yr,function(y){return{type:"WithStatement",object:T(y.expression),body:T(y.body)}}),S(qn,function(y){return{type:"SwitchStatement",discriminant:T(y.expression),cases:y.body.map(T)}}),S(an,function(y){return{type:"ReturnStatement",argument:T(y.value)}}),S(ha,function(y){return{type:"ThrowStatement",argument:T(y.value)}}),S(Li,function(y){return{type:"WhileStatement",test:T(y.condition),body:T(y.body)}}),S(yi,function(y){return{type:"DoWhileStatement",test:T(y.condition),body:T(y.body)}}),S(xn,function(y){return{type:"ForStatement",init:T(y.init),test:T(y.condition),update:T(y.step),body:T(y.body)}}),S(Wn,function(y){return{type:"ForInStatement",left:T(y.init),right:T(y.object),body:T(y.body)}}),S(Eo,function(y){return{type:"ForOfStatement",left:T(y.init),right:T(y.object),body:T(y.body),await:y.await}}),S(gr,function(y){return{type:"AwaitExpression",argument:T(y.expression)}}),S(br,function(y){return{type:"YieldExpression",argument:T(y.expression),delegate:y.is_star}}),S(Fi,function(){return{type:"DebuggerStatement"}}),S(Lt,function(y){return{type:"VariableDeclarator",id:T(y.name),init:T(y.value)}}),S(Zr,function(y){return{type:"CatchClause",param:T(y.argname),body:M(y)}}),S(Vn,function(){return{type:"ThisExpression"}}),S(Jo,function(){return{type:"Super"}}),S(ae,function(y){return{type:"BinaryExpression",operator:y.operator,left:T(y.left),right:T(y.right)}}),S(ae,function(y){return{type:"LogicalExpression",operator:y.operator,left:T(y.left),right:T(y.right)}}),S(at,function(y){return{type:"AssignmentExpression",operator:y.operator,left:T(y.left),right:T(y.right)}}),S(tt,function(y){return{type:"ConditionalExpression",test:T(y.condition),consequent:T(y.consequent),alternate:T(y.alternative)}}),S(rr,function(y){return{type:"NewExpression",callee:T(y.expression),arguments:y.args.map(T)}}),S(Ve,function(y){return{type:"CallExpression",callee:T(y.expression),optional:y.optional,arguments:y.args.map(T)}}),S(zt,function(y){return P("Program",y)}),S(ht,function(y){return{type:D()?"RestElement":"SpreadElement",argument:T(y.expression)}}),S(jr,function(y){return{type:"TaggedTemplateExpression",tag:T(y.prefix),quasi:T(y.template_string)}}),S(Xn,function(y){for(var g=[],O=[],R=0;R<y.segments.length;R++)R%2!==0?O.push(T(y.segments[R])):g.push({type:"TemplateElement",value:{raw:y.segments[R].raw,cooked:y.segments[R].value},tail:R===y.segments.length-1});return{type:"TemplateLiteral",quasis:g,expressions:O}}),S(en,function(y){return{type:"FunctionDeclaration",id:T(y.name),params:y.argnames.map(T),generator:y.is_generator,async:y.async,body:P("BlockStatement",y)}}),S(Ft,function(y,g){var O=g.is_generator!==void 0?g.is_generator:y.is_generator;return{type:"FunctionExpression",id:T(y.name),params:y.argnames.map(T),generator:O,async:y.async,body:P("BlockStatement",y)}}),S(Yt,function(y){var g={type:"BlockStatement",body:y.body.map(T)};return{type:"ArrowFunctionExpression",params:y.argnames.map(T),async:y.async,body:g}}),S($t,function(y){return y.is_array?{type:"ArrayPattern",elements:y.names.map(T)}:{type:"ObjectPattern",properties:y.names.map(T)}}),S(nr,function(y){return{type:"ExpressionStatement",expression:{type:"Literal",value:y.value,raw:y.print_to_string()},directive:y.value}}),S(je,function(y){return{type:"ExpressionStatement",expression:T(y.body)}}),S(Bi,function(y){return{type:"SwitchCase",test:T(y.expression),consequent:y.body.map(T)}}),S(vr,function(y){return{type:"TryStatement",block:M(y.body),handler:T(y.bcatch),guardedHandlers:[],finalizer:T(y.bfinally)}}),S(Zr,function(y){return{type:"CatchClause",param:T(y.argname),guard:null,body:M(y)}}),S(un,function(y){return{type:"VariableDeclaration",kind:y instanceof ei?"const":y instanceof Qr?"let":"var",declarations:y.definitions.map(T)}});const r=b=>{const y=[];if(b)for(const{key:g,value:O}of b.properties){const R=ku(g)?{type:"Identifier",name:g}:{type:"Literal",value:g,raw:JSON.stringify(g)};y.push({type:"ImportAttribute",key:R,value:T(O)})}return y};S(Dn,function(y){if(y.exported_names){var g=y.exported_names[0],O=g.name;if(O.name==="*"&&!O.quote){var R=g.foreign_name,k=R.name==="*"&&!R.quote?null:T(R);return{type:"ExportAllDeclaration",source:T(y.module_name),exported:k,assertions:r(y.assert_clause)}}return{type:"ExportNamedDeclaration",specifiers:y.exported_names.map(function(U){return{type:"ExportSpecifier",exported:T(U.foreign_name),local:T(U.name)}}),declaration:T(y.exported_definition),source:T(y.module_name),assertions:r(y.assert_clause)}}return{type:y.is_default?"ExportDefaultDeclaration":"ExportNamedDeclaration",declaration:T(y.exported_value||y.exported_definition)}}),S(Rr,function(y){var g=[];if(y.imported_name&&g.push({type:"ImportDefaultSpecifier",local:T(y.imported_name)}),y.imported_names){var O=y.imported_names[0].foreign_name;O.name==="*"&&!O.quote?g.push({type:"ImportNamespaceSpecifier",local:T(y.imported_names[0].name)}):y.imported_names.forEach(function(R){g.push({type:"ImportSpecifier",local:T(R.name),imported:T(R.foreign_name)})})}return{type:"ImportDeclaration",specifiers:g,source:T(y.module_name),assertions:r(y.assert_clause)}}),S(Ui,function(){return{type:"MetaProperty",meta:{type:"Identifier",name:"import"},property:{type:"Identifier",name:"meta"}}}),S(lt,function(y){return{type:"SequenceExpression",expressions:y.expressions.map(T)}}),S(Hr,function(y){return{type:"MemberExpression",object:T(y.expression),computed:!1,property:{type:"PrivateIdentifier",name:y.property},optional:y.optional}}),S(Xe,function(y){var g=y instanceof An;return{type:"MemberExpression",object:T(y.expression),computed:g,property:g?T(y.property):{type:"Identifier",name:y.property},optional:y.optional}}),S(gn,function(y){return{type:"ChainExpression",expression:T(y.expression)}}),S(Xt,function(y){return{type:y.operator=="++"||y.operator=="--"?"UpdateExpression":"UnaryExpression",operator:y.operator,prefix:y instanceof We,argument:T(y.expression)}}),S(ae,function(y){return y.operator=="="&&D()?{type:"AssignmentPattern",left:T(y.left),right:T(y.right)}:{type:y.operator=="&&"||y.operator=="||"||y.operator==="??"?"LogicalExpression":"BinaryExpression",left:T(y.left),operator:y.operator,right:T(y.right)}}),S(ii,function(y){return{type:"BinaryExpression",left:{type:"PrivateIdentifier",name:y.key.name},operator:"in",right:T(y.value)}}),S(St,function(y){return{type:"ArrayExpression",elements:y.elements.map(T)}}),S(Nt,function(y){return{type:"ObjectExpression",properties:y.properties.map(T)}}),S(cn,function(y,g){var O=y.key instanceof Ce?T(y.key):{type:"Identifier",value:y.key};typeof y.key=="number"&&(O={type:"Literal",value:Number(y.key)}),typeof y.key=="string"&&(O={type:"Identifier",name:y.key});var R,k=typeof y.key=="string"||typeof y.key=="number",U=k?!1:!(y.key instanceof pt)||y.key instanceof Ae;return y instanceof Jt?(R="init",U=!k):y instanceof Gr?R="get":y instanceof ri&&(R="set"),y instanceof ni||y instanceof bi?{type:"MethodDefinition",computed:!1,kind:y instanceof ni?"get":"set",static:y.static,key:{type:"PrivateIdentifier",name:y.key.name},value:T(y.value)}:y instanceof Ei?{type:"PropertyDefinition",key:{type:"PrivateIdentifier",name:y.key.name},value:T(y.value),computed:!1,static:y.static}:y instanceof fr?{type:"PropertyDefinition",key:O,value:T(y.value),computed:U,static:y.static}:g instanceof yt?{type:"MethodDefinition",computed:U,kind:R,static:y.static,key:T(y.key),value:T(y.value)}:{type:"Property",computed:U,kind:R,key:O,value:T(y.value)}}),S(Bn,function(y,g){if(g instanceof Nt)return{type:"Property",computed:!(y.key instanceof pt)||y.key instanceof Ae,kind:"init",method:!0,shorthand:!1,key:T(y.key),value:T(y.value)};const O=y instanceof vi?{type:"PrivateIdentifier",name:y.key.name}:T(y.key);return{type:"MethodDefinition",kind:y.key==="constructor"?"constructor":"method",key:O,value:T(y.value),computed:!(y.key instanceof pt)||y.key instanceof Ae,static:y.static}}),S(yt,function(y){var g=y instanceof Si?"ClassExpression":"ClassDeclaration";return{type:g,superClass:T(y.extends),id:y.name?T(y.name):null,body:{type:"ClassBody",body:y.properties.map(T)}}}),S(Yn,function(y){return{type:"StaticBlock",body:y.body.map(T)}}),S(Xo,function(){return{type:"MetaProperty",meta:{type:"Identifier",name:"new"},property:{type:"Identifier",name:"target"}}}),S(pt,function(y,g){if(y instanceof $n&&g.quote||(y instanceof To||y instanceof xi||y instanceof xo)&&y.quote)return{type:"Literal",value:y.name};var O=y.definition();return{type:"Identifier",name:O?O.mangled_name||O.name:y.name}}),S(hr,function(y){const g=y.value.source,O=y.value.flags;return{type:"Literal",value:null,raw:y.print_to_string(),regex:{pattern:g,flags:O}}}),S(Tt,function(y){var g=y.value;return{type:"Literal",value:g,raw:y.raw||y.print_to_string()}}),S(oo,function(y){return{type:"Identifier",name:String(y.value)}}),S(si,b=>({type:"BigIntLiteral",value:b.value})),Mu.DEFMETHOD("to_mozilla_ast",Tt.prototype.to_mozilla_ast),pr.DEFMETHOD("to_mozilla_ast",Tt.prototype.to_mozilla_ast),Ir.DEFMETHOD("to_mozilla_ast",function(){return null}),Tn.DEFMETHOD("to_mozilla_ast",Ze.prototype.to_mozilla_ast),Ge.DEFMETHOD("to_mozilla_ast",Ft.prototype.to_mozilla_ast);function a(b){var y=b.loc,g=y&&y.start,O=b.range;return new Ml("","",g&&g.line||0,g&&g.column||0,O?O[0]:b.start,!1,[],[],y&&y.source)}function c(b){var y=b.loc,g=y&&y.end,O=b.range;return new Ml("","",g&&g.line||0,g&&g.column||0,O?O[0]:b.end,!1,[],[],y&&y.source)}var h=null;function d(b){h.push(b);var y=b!=null?n[b.type](b):null;return h.pop(),y}Ce.from_mozilla_ast=function(b){var y=h;h=[];var g=d(b);return h=y,g};function v(b,y){var g=b.start,O=b.end;return g&&O&&(g.pos!=null&&O.endpos!=null&&(y.range=[g.pos,O.endpos]),g.line&&(y.loc={start:{line:g.line,column:g.col},end:O.endline?{line:O.endline,column:O.endcol}:null},g.file&&(y.loc.source=g.file))),y}function S(b,y){b.DEFMETHOD("to_mozilla_ast",function(g){return v(this,y(this,g))})}var C=null;function T(b){C===null&&(C=[]),C.push(b);var y=b!=null?b.to_mozilla_ast(C[C.length-2]):null;return C.pop(),C.length===0&&(C=null),y}function D(){for(var b=C.length;b--;)if(C[b]instanceof $t)return!0;return!1}function M(b){return{type:"BlockStatement",body:b.body.map(T)}}function P(b,y){var g=y.body.map(T);return y.body[0]instanceof je&&y.body[0].body instanceof dt&&g.unshift(T(new wt(y.body[0]))),{type:b,body:g}}}();function ai(t){let e=t.parent(-1);for(let n=0,r;r=t.parent(n);n++){if(r instanceof Rn&&r.body===e)return!0;if(r instanceof lt&&r.expressions[0]===e||r.TYPE==="Call"&&r.expression===e||r instanceof jr&&r.prefix===e||r instanceof Wt&&r.expression===e||r instanceof An&&r.expression===e||r instanceof gn&&r.expression===e||r instanceof tt&&r.condition===e||r instanceof ae&&r.left===e||r instanceof $i&&r.expression===e)e=r;else return!1}}function Ki(t){return t instanceof Nt?!0:t instanceof lt?Ki(t.expressions[0]):t.TYPE==="Call"?Ki(t.expression):t instanceof jr?Ki(t.prefix):t instanceof Wt||t instanceof An||t instanceof gn?Ki(t.expression):t instanceof tt?Ki(t.condition):t instanceof ae?Ki(t.left):t instanceof $i?Ki(t.expression):!1}const pd=10,dd=32,md=/[@#]__(PURE|INLINE|NOINLINE)__/;function My(t){return(t.type==="comment2"||t.type==="comment1")&&/@preserve|@copyright|@lic|@cc_on|^\**!/i.test(t.value)}const By=8*1e3;class Uy{constructor(){this.committed="",this.current=""}append(e){this.current.length>By?(this.committed+=this.current+e,this.current=""):this.current+=e}insertAt(e,n){const{committed:r,current:a}=this;n<r.length?this.committed=r.slice(0,n)+e+r.slice(n):n===r.length?this.committed+=e:(n-=r.length,this.committed+=a.slice(0,n)+e,this.current=a.slice(n))}charAt(e){const{committed:n}=this;return e<n.length?n[e]:this.current[e-n.length]}charCodeAt(e){const{committed:n}=this;return e<n.length?n.charCodeAt(e):this.current.charCodeAt(e-n.length)}length(){return this.committed.length+this.current.length}expectDirective(){let e,n=this.length();if(n<=0)return!0;for(;(e=this.charCodeAt(--n))&&(e==dd||e==pd););return!e||e===59||e===123}hasNLB(){let e=this.length()-1;for(;e>=0;){const n=this.charCodeAt(e--);if(n===pd)return!0;if(n!==dd)return!1}return!0}toString(){return this.committed+this.current}}function jl(t){var e=!t;t=_i(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=vt;if(t.comments){let se=t.comments;if(typeof t.comments=="string"&&/^\/.*\/[a-zA-Z]*$/.test(t.comments)){var r=t.comments.lastIndexOf("/");se=new RegExp(t.comments.substr(1,r-1),t.comments.substr(r+1))}se instanceof RegExp?n=function(ke){return ke.type!="comment5"&&se.test(ke.value)}:typeof se=="function"?n=function(ke){return ke.type!="comment5"&&se(this,ke)}:se==="some"?n=My:n=er}if(t.preserve_annotations){let se=n;n=function(ke){return md.test(ke.value)||se.apply(this,arguments)}}var a=0,c=0,h=1,d=0,v=new Uy;let S=new Set;var C=t.ascii_only?function(se,ke=!1,me=!1){return t.ecma>=2015&&!t.safari10&&!me&&(se=se.replace(/[\ud800-\udbff][\udc00-\udfff]/g,function(bt){var At=ky(bt,0).toString(16);return"\\u{"+At+"}"})),se.replace(/[\u0000-\u001f\u007f-\uffff]/g,function(bt){var At=bt.charCodeAt(0).toString(16);if(At.length<=2&&!ke){for(;At.length<2;)At="0"+At;return"\\x"+At}else{for(;At.length<4;)At="0"+At;return"\\u"+At}})}:function(se){return se.replace(/[\ud800-\udbff][\udc00-\udfff]|([\ud800-\udbff]|[\udc00-\udfff])/g,function(ke,me){return me?"\\u"+me.charCodeAt(0).toString(16):ke})};function T(se,ke){var me=0,bt=0;se=se.replace(/[\\\b\f\n\r\v\t\x22\x27\u2028\u2029\0\ufeff]/g,function(Qt,dn){switch(Qt){case'"':return++me,'"';case"'":return++bt,"'";case"\\":return"\\\\";case`
256
+ `: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(Cu(se,dn+1))?"\\x00":"\\0"}return Qt});function At(){return"'"+se.replace(/\x27/g,"\\'")+"'"}function Dt(){return'"'+se.replace(/\x22/g,'\\"')+'"'}function Un(){return"`"+se.replace(/`/g,"\\`")+"`"}if(se=C(se),ke==="`")return Un();switch(t.quote_style){case 1:return At();case 2:return Dt();case 3:return ke=="'"?At():Dt();default:return me>bt?At():Dt()}}function D(se,ke){var me=T(se,ke);return t.inline_script&&(me=me.replace(/<\x2f(script)([>\/\t\n\f\r ])/gi,"<\\/$1$2"),me=me.replace(/\x3c!--/g,"\\x3c!--"),me=me.replace(/--\x3e/g,"--\\x3e")),me}function M(se){return se=se.toString(),se=C(se,!0),se}function P(se){return" ".repeat(t.indent_start+a-se*t.indent_level)}var b=!1,y=!1,g=!1,O=0,R=!1,k=!1,U=-1,X="",J,G,Y=t.source_map&&[],$=Y?function(){Y.forEach(function(se){try{let{name:ke,token:me}=se;ke!==!1&&(me.type=="name"||me.type==="privatename"?ke=me.value:ke instanceof pt&&(ke=me.type==="string"?me.value:ke.name)),t.source_map.add(se.token.file,se.line,se.col,se.token.line,se.token.col,ku(ke)?ke:void 0)}catch{}}),Y=[]}:_r,te=t.max_line_len?function(){if(c>t.max_line_len&&O){v.insertAt(`
257
+ `,O);const ke=v.length()-O-1;if(Y){var se=ke-c;Y.forEach(function(me){me.line++,me.col+=se})}h++,d++,c=ke}O&&(O=0,$())}:_r,ee=Ct("( [ + * / - , . `");function _e(se){se=String(se);var ke=Cu(se,0);R&&ke&&(R=!1,ke!==`
258
+ `&&(_e(`
259
+ `),de())),k&&ke&&(k=!1,/[\s;})]/.test(ke)||re()),U=-1;var me=X.charAt(X.length-1);g&&(g=!1,(me===":"&&ke==="}"||(!ke||!";}".includes(ke))&&me!==";")&&(t.semicolons||ee.has(ke)?(v.append(";"),c++,d++):(te(),c>0&&(v.append(`
260
+ `),d++,h++,c=0),/^\s+$/.test(se)&&(g=!0)),t.beautify||(y=!1))),y&&((Du(me)&&(Du(ke)||ke=="\\")||ke=="/"&&ke==me||(ke=="+"||ke=="-")&&ke==X)&&(v.append(" "),c++,d++),y=!1),J&&(Y.push({token:J,name:G,line:h,col:c}),J=!1,O||$()),v.append(se),b=se[se.length-1]=="(",d+=se.length;var bt=se.split(/\r?\n/),At=bt.length-1;h+=At,c+=bt[0].length,At>0&&(te(),c=bt[At].length),X=se}var ge=function(){_e("*")},re=t.beautify?function(){_e(" ")}:function(){y=!0},de=t.beautify?function(se){t.beautify&&_e(P(se?.5:0))}:_r,fe=t.beautify?function(se,ke){se===!0&&(se=Ue());var me=a;a=se;var bt=ke();return a=me,bt}:function(se,ke){return ke()},Oe=t.beautify?function(){if(U<0)return _e(`
261
+ `);v.charAt(U)!=`
262
+ `&&(v.insertAt(`
263
+ `,U),d++,h++),U++}:t.max_line_len?function(){te(),O=v.length()}:_r,Ie=t.beautify?function(){_e(";")}:function(){g=!0};function ve(){g=!1,_e(";")}function Ue(){return a+t.indent_level}function Z(se){var ke;return _e("{"),Oe(),fe(Ue(),function(){ke=se()}),de(),_e("}"),ke}function ie(se){_e("(");var ke=se();return _e(")"),ke}function ue(se){_e("[");var ke=se();return _e("]"),ke}function xe(){_e(","),re()}function be(){_e(":"),re()}var xt=Y?function(se,ke){J=se,G=ke}:_r;function Vt(){return O&&te(),v.toString()}function Et(se){return t.preserve_annotations||(se=se.replace(md," ")),/^\s*$/.test(se)?"":se.replace(/(<\s*\/\s*)(script)/i,"<\\/$2")}function Mt(se){var ke=this,me=se.start;if(!me)return;var bt=ke.printed_comments;const At=se instanceof lr&&se.value||(se instanceof gr||se instanceof br)&&se.expression;if(me.comments_before&&bt.has(me.comments_before))if(At)me.comments_before=[];else return;var Dt=me.comments_before;if(Dt||(Dt=me.comments_before=[]),bt.add(Dt),At){var Un=new Ln(function(jt){var Pt=Un.parent();if(Pt instanceof lr||Pt instanceof gr||Pt instanceof br||Pt instanceof ae&&Pt.left===jt||Pt.TYPE=="Call"&&Pt.expression===jt||Pt instanceof tt&&Pt.condition===jt||Pt instanceof Wt&&Pt.expression===jt||Pt instanceof lt&&Pt.expressions[0]===jt||Pt instanceof An&&Pt.expression===jt||Pt instanceof $i){if(!jt.start)return;var fn=jt.start.comments_before;fn&&!bt.has(fn)&&(bt.add(fn),Dt=Dt.concat(fn))}else return!0});Un.push(se),At.walk(Un)}if(d==0){Dt.length>0&&t.shebang&&Dt[0].type==="comment5"&&!bt.has(Dt[0])&&(_e("#!"+Dt.shift().value+`
264
+ `),de());var Qt=t.preamble;Qt&&_e(Qt.replace(/\r\n?|[\n\u2028\u2029]|\s*$/g,`
265
+ `))}if(Dt=Dt.filter(n,se).filter(jt=>!bt.has(jt)),Dt.length!=0){var dn=v.hasNLB();Dt.forEach(function(jt,Pt){if(bt.add(jt),dn||(jt.nlb?(_e(`
266
+ `),de(),dn=!0):Pt>0&&re()),/comment[134]/.test(jt.type)){var fn=Et(jt.value);fn&&(_e("//"+fn+`
267
+ `),de()),dn=!0}else if(jt.type=="comment2"){var fn=Et(jt.value);fn&&_e("/*"+fn+"*/"),dn=!1}}),dn||(me.nlb?(_e(`
268
+ `),de()):re())}}function gt(se,ke){var me=this,bt=se.end;if(bt){var At=me.printed_comments,Dt=bt[ke?"comments_before":"comments_after"];if(!(!Dt||At.has(Dt))&&(se instanceof Rn||Dt.every(Qt=>!/comment[134]/.test(Qt.type)))){At.add(Dt);var Un=v.length();Dt.filter(n,se).forEach(function(Qt,dn){if(!At.has(Qt)){if(At.add(Qt),k=!1,R?(_e(`
269
+ `),de(),R=!1):Qt.nlb&&(dn>0||!v.hasNLB())?(_e(`
270
+ `),de()):(dn>0||!ke)&&re(),/comment[134]/.test(Qt.type)){const jt=Et(Qt.value);jt&&_e("//"+jt),R=!0}else if(Qt.type=="comment2"){const jt=Et(Qt.value);jt&&_e("/*"+jt+"*/"),k=!0}}}),v.length()>Un&&(U=Un)}}}const Ot=t._destroy_ast?function(ke){ke.body.length=0,ke.argnames.length=0}:_r;var Zt=[];return{get:Vt,toString:Vt,indent:de,in_directive:!1,use_asm:null,active_scope:null,indentation:function(){return a},current_width:function(){return c-a},should_break:function(){return t.width&&this.current_width()>=t.width},has_parens:function(){return b},newline:Oe,print:_e,star:ge,space:re,comma:xe,colon:be,last:function(){return X},semicolon:Ie,force_semicolon:ve,to_utf8:C,print_name:function(se){_e(M(se))},print_string:function(se,ke,me){var bt=D(se,ke);me===!0&&!bt.includes("\\")&&(v.expectDirective()||ve(),ve()),_e(bt)},print_template_string_chars:function(se){var ke=D(se,"`").replace(/\${/g,"\\${");return _e(ke.substr(1,ke.length-2))},encode_string:D,next_indent:Ue,with_indent:fe,with_block:Z,with_parens:ie,with_square:ue,add_mapping:xt,option:function(se){return t[se]},gc_scope:Ot,printed_comments:S,prepend_comments:e?_r:Mt,append_comments:e||n===vt?_r:gt,line:function(){return h},col:function(){return c},pos:function(){return d},push_node:function(se){Zt.push(se)},pop_node:function(){return Zt.pop()},parent:function(se){return Zt[Zt.length-2-(se||0)]}}}(function(){function t(y,g){y.DEFMETHOD("_codegen",g)}Ce.DEFMETHOD("print",function(y,g){var O=this,R=O._codegen;O instanceof qe?y.active_scope=O:!y.use_asm&&O instanceof nr&&O.value=="use asm"&&(y.use_asm=y.active_scope);function k(){y.prepend_comments(O),O.add_source_map(y),R(O,y),y.append_comments(O)}y.push_node(O),g||O.needs_parens(y)?y.with_parens(k):k(),y.pop_node(),O===y.use_asm&&(y.use_asm=null)}),Ce.DEFMETHOD("_print",Ce.prototype.print),Ce.DEFMETHOD("print_to_string",function(y){var g=jl(y);return this.print(g),g.get()});function e(y,g){Array.isArray(y)?y.forEach(function(O){e(O,g)}):y.DEFMETHOD("needs_parens",g)}e(Ce,vt),e(Ft,function(y){if(!y.has_parens()&&ai(y))return!0;if(y.option("webkit")){var g=y.parent();if(g instanceof Xe&&g.expression===this)return!0}if(y.option("wrap_iife")){var g=y.parent();if(g instanceof Ve&&g.expression===this)return!0}if(y.option("wrap_func_args")){var g=y.parent();if(g instanceof Ve&&g.args.includes(this))return!0}return!1}),e(Yt,function(y){var g=y.parent();return y.option("wrap_func_args")&&g instanceof Ve&&g.args.includes(this)?!0:g instanceof Xe&&g.expression===this||g instanceof tt&&g.condition===this}),e(Nt,function(y){return!y.has_parens()&&ai(y)}),e(Si,ai),e(Xt,function(y){var g=y.parent();return g instanceof Xe&&g.expression===this||g instanceof Ve&&g.expression===this||g instanceof ae&&g.operator==="**"&&this instanceof We&&g.left===this&&this.operator!=="++"&&this.operator!=="--"}),e(gr,function(y){var g=y.parent();return g instanceof Xe&&g.expression===this||g instanceof Ve&&g.expression===this||g instanceof ae&&g.operator==="**"&&g.left===this||y.option("safari10")&&g instanceof We}),e(lt,function(y){var g=y.parent();return g instanceof Ve||g instanceof Xt||g instanceof ae||g instanceof Lt||g instanceof Xe||g instanceof St||g instanceof cn||g instanceof tt||g instanceof Yt||g instanceof Nr||g instanceof ht||g instanceof Eo&&this===g.object||g instanceof br||g instanceof Dn}),e(ae,function(y){var g=y.parent();if(g instanceof Ve&&g.expression===this||g instanceof Xt||g instanceof Xe&&g.expression===this)return!0;if(g instanceof ae){const O=g.operator,R=this.operator;if(R==="??"&&(O==="||"||O==="&&")||O==="??"&&(R==="||"||R==="&&"))return!0;const k=kr[O],U=kr[R];if(k>U||k==U&&(this===g.right||O=="**"))return!0}if(g instanceof ii){const O=this.operator,R=kr.in,k=kr[O];if(R>k||R==k&&this===g.value)return!0}}),e(ii,function(y){var g=y.parent();if(g instanceof Ve&&g.expression===this||g instanceof Xt||g instanceof Xe&&g.expression===this)return!0;if(g instanceof ae){const O=g.operator,R=kr[O],k=kr.in;if(R>k||R==k&&(this===g.right||O=="**"))return!0}if(g instanceof ii&&this===g.value)return!0}),e(br,function(y){var g=y.parent();if(g instanceof ae&&g.operator!=="="||g instanceof Ve&&g.expression===this||g instanceof tt&&g.condition===this||g instanceof Xt||g instanceof Xe&&g.expression===this)return!0}),e(gn,function(y){var g=y.parent();return g instanceof Ve||g instanceof Xe?g.expression===this:!1}),e(Xe,function(y){var g=y.parent();if(g instanceof rr&&g.expression===this)return Fn(this,O=>{if(O instanceof qe)return!0;if(O instanceof Ve)return dr})}),e(Ve,function(y){var g=y.parent(),O;return g instanceof rr&&g.expression===this||g instanceof Dn&&g.is_default&&this.expression instanceof Ft?!0:this.expression instanceof Ft&&g instanceof Xe&&g.expression===this&&(O=y.parent(1))instanceof at&&O.left===g}),e(rr,function(y){var g=y.parent();if(this.args.length===0&&(g instanceof Xe||g instanceof Ve&&g.expression===this||g instanceof jr&&g.prefix===this))return!0}),e(Qe,function(y){var g=y.parent();if(g instanceof Xe&&g.expression===this){var O=this.getValue();if(O<0||/^0/.test(M(O)))return!0}}),e(si,function(y){var g=y.parent();if(g instanceof Xe&&g.expression===this){var O=this.getValue();if(O.startsWith("-"))return!0}}),e([at,tt],function(y){var g=y.parent();if(g instanceof Xt||g instanceof ae&&!(g instanceof at)||g instanceof Ve&&g.expression===this||g instanceof tt&&g.condition===this||g instanceof Xe&&g.expression===this||this instanceof at&&this.left instanceof $t&&this.left.is_array===!1)return!0}),t(nr,function(y,g){g.print_string(y.value,y.quote),g.semicolon()}),t(ht,function(y,g){g.print("..."),y.expression.print(g)}),t($t,function(y,g){g.print(y.is_array?"[":"{");var O=y.names.length;y.names.forEach(function(R,k){k>0&&g.comma(),R.print(g),k==O-1&&R instanceof Ir&&g.comma()}),g.print(y.is_array?"]":"}")}),t(Fi,function(y,g){g.print("debugger"),g.semicolon()});function n(y,g,O,R){var k=y.length-1;O.in_directive=R,y.forEach(function(U,X){O.in_directive===!0&&!(U instanceof nr||U instanceof wt||U instanceof je&&U.body instanceof dt)&&(O.in_directive=!1),U instanceof wt||(O.indent(),U.print(O),X==k&&g||(O.newline(),g&&O.newline())),O.in_directive===!0&&U instanceof je&&U.body instanceof dt&&(O.in_directive=!1)}),O.in_directive=!1}vo.DEFMETHOD("_do_print_body",function(y){T(this.body,y)}),t(Rn,function(y,g){y.body.print(g),g.semicolon()}),t(zt,function(y,g){n(y.body,!0,g,!0),g.print("")}),t(Qn,function(y,g){y.label.print(g),g.colon(),y.body.print(g)}),t(je,function(y,g){y.body.print(g),g.semicolon()});function r(y,g){g.print("{"),g.with_indent(g.next_indent(),function(){g.append_comments(y,!0)}),g.add_mapping(y.end),g.print("}")}function a(y,g,O){y.body.length>0?g.with_block(function(){n(y.body,!1,g,O),g.add_mapping(y.end)}):r(y,g)}t(Ze,function(y,g){a(y,g)}),t(wt,function(y,g){g.semicolon()}),t(yi,function(y,g){g.print("do"),g.space(),P(y.body,g),g.space(),g.print("while"),g.space(),g.with_parens(function(){y.condition.print(g)}),g.semicolon()}),t(Li,function(y,g){g.print("while"),g.space(),g.with_parens(function(){y.condition.print(g)}),g.space(),y._do_print_body(g)}),t(xn,function(y,g){g.print("for"),g.space(),g.with_parens(function(){y.init?(y.init instanceof un?y.init.print(g):h(y.init,g,!0),g.print(";"),g.space()):g.print(";"),y.condition?(y.condition.print(g),g.print(";"),g.space()):g.print(";"),y.step&&y.step.print(g)}),g.space(),y._do_print_body(g)}),t(Wn,function(y,g){g.print("for"),y.await&&(g.space(),g.print("await")),g.space(),g.with_parens(function(){y.init.print(g),g.space(),g.print(y instanceof Eo?"of":"in"),g.space(),y.object.print(g)}),g.space(),y._do_print_body(g)}),t(yr,function(y,g){g.print("with"),g.space(),g.with_parens(function(){y.expression.print(g)}),g.space(),y._do_print_body(g)}),Ge.DEFMETHOD("_do_print",function(y,g){var O=this;g||(O.async&&(y.print("async"),y.space()),y.print("function"),O.is_generator&&y.star(),O.name&&y.space()),O.name instanceof pt?O.name.print(y):g&&O.name instanceof Ce&&y.with_square(function(){O.name.print(y)}),y.with_parens(function(){O.argnames.forEach(function(R,k){k&&y.comma(),R.print(y)})}),y.space(),a(O,y,!0)}),t(Ge,function(y,g){y._do_print(g),g.gc_scope(y)}),t(jr,function(y,g){var O=y.prefix,R=O instanceof Ge||O instanceof ae||O instanceof tt||O instanceof lt||O instanceof Xt||O instanceof Wt&&O.expression instanceof Nt;R&&g.print("("),y.prefix.print(g),R&&g.print(")"),y.template_string.print(g)}),t(Xn,function(y,g){var O=g.parent()instanceof jr;g.print("`");for(var R=0;R<y.segments.length;R++)y.segments[R]instanceof gi?O?g.print(y.segments[R].raw):g.print_template_string_chars(y.segments[R].value):(g.print("${"),y.segments[R].print(g),g.print("}"));g.print("`")}),t(gi,function(y,g){g.print_template_string_chars(y.value)}),Yt.DEFMETHOD("_do_print",function(y){var g=this,O=y.parent(),R=O instanceof ae&&!(O instanceof at)||O instanceof Xt||O instanceof Ve&&g===O.expression;R&&y.print("("),g.async&&(y.print("async"),y.space()),g.argnames.length===1&&g.argnames[0]instanceof pt?g.argnames[0].print(y):y.with_parens(function(){g.argnames.forEach(function(U,X){X&&y.comma(),U.print(y)})}),y.space(),y.print("=>"),y.space();const k=g.body[0];if(g.body.length===1&&k instanceof an){const U=k.value;U?Ki(U)?(y.print("("),U.print(y),y.print(")")):U.print(y):y.print("{}")}else a(g,y);R&&y.print(")"),y.gc_scope(g)}),lr.DEFMETHOD("_do_print",function(y,g){if(y.print(g),this.value){y.space();const O=this.value.start.comments_before;O&&O.length&&!y.printed_comments.has(O)?(y.print("("),this.value.print(y),y.print(")")):this.value.print(y)}y.semicolon()}),t(an,function(y,g){y._do_print(g,"return")}),t(ha,function(y,g){y._do_print(g,"throw")}),t(br,function(y,g){var O=y.is_star?"*":"";g.print("yield"+O),y.expression&&(g.space(),y.expression.print(g))}),t(gr,function(y,g){g.print("await"),g.space();var O=y.expression,R=!(O instanceof Ve||O instanceof Ae||O instanceof Xe||O instanceof Xt||O instanceof Tt||O instanceof gr||O instanceof Nt);R&&g.print("("),y.expression.print(g),R&&g.print(")")}),Yr.DEFMETHOD("_do_print",function(y,g){y.print(g),this.label&&(y.space(),this.label.print(y)),y.semicolon()}),t(wr,function(y,g){y._do_print(g,"break")}),t(ro,function(y,g){y._do_print(g,"continue")});function c(y,g){var O=y.body;if(g.option("braces")||g.option("ie8")&&O instanceof yi)return P(O,g);if(!O)return g.force_semicolon();for(;;)if(O instanceof Rt){if(!O.alternative){P(y.body,g);return}O=O.alternative}else if(O instanceof vo)O=O.body;else break;T(y.body,g)}t(Rt,function(y,g){g.print("if"),g.space(),g.with_parens(function(){y.condition.print(g)}),g.space(),y.alternative?(c(y,g),g.space(),g.print("else"),g.space(),y.alternative instanceof Rt?y.alternative.print(g):T(y.alternative,g)):y._do_print_body(g)}),t(qn,function(y,g){g.print("switch"),g.space(),g.with_parens(function(){y.expression.print(g)}),g.space();var O=y.body.length-1;O<0?r(y,g):g.with_block(function(){y.body.forEach(function(R,k){g.indent(!0),R.print(g),k<O&&R.body.length>0&&g.newline()})})}),Bi.DEFMETHOD("_do_print_body",function(y){y.newline(),this.body.forEach(function(g){y.indent(),g.print(y),y.newline()})}),t(So,function(y,g){g.print("default:"),y._do_print_body(g)}),t(Jr,function(y,g){g.print("case"),g.space(),y.expression.print(g),g.print(":"),y._do_print_body(g)}),t(vr,function(y,g){g.print("try"),g.space(),y.body.print(g),y.bcatch&&(g.space(),y.bcatch.print(g)),y.bfinally&&(g.space(),y.bfinally.print(g))}),t(Pu,function(y,g){a(y,g)}),t(Zr,function(y,g){g.print("catch"),y.argname&&(g.space(),g.with_parens(function(){y.argname.print(g)})),g.space(),a(y,g)}),t(Wo,function(y,g){g.print("finally"),g.space(),a(y,g)}),un.DEFMETHOD("_do_print",function(y,g){y.print(g),y.space(),this.definitions.forEach(function(U,X){X&&y.comma(),U.print(y)});var O=y.parent(),R=O instanceof xn||O instanceof Wn,k=!R||O&&O.init!==this;k&&y.semicolon()}),t(Qr,function(y,g){y._do_print(g,"let")}),t(Nn,function(y,g){y._do_print(g,"var")}),t(ei,function(y,g){y._do_print(g,"const")}),t(Rr,function(y,g){g.print("import"),g.space(),y.imported_name&&y.imported_name.print(g),y.imported_name&&y.imported_names&&(g.print(","),g.space()),y.imported_names&&(y.imported_names.length===1&&y.imported_names[0].foreign_name.name==="*"&&!y.imported_names[0].foreign_name.quote?y.imported_names[0].print(g):(g.print("{"),y.imported_names.forEach(function(O,R){g.space(),O.print(g),R<y.imported_names.length-1&&g.print(",")}),g.space(),g.print("}"))),(y.imported_name||y.imported_names)&&(g.space(),g.print("from"),g.space()),y.module_name.print(g),y.assert_clause&&(g.print("assert"),y.assert_clause.print(g)),g.semicolon()}),t(Ui,function(y,g){g.print("import.meta")}),t(ti,function(y,g){var O=g.parent()instanceof Rr,R=y.name.definition(),k=y.foreign_name,U=(R&&R.mangled_name||y.name.name)!==k.name;!U&&k.name==="*"&&k.quote!=y.name.quote&&(U=!0);var X=k.quote==null;U?(O?X?g.print(k.name):g.print_string(k.name,k.quote):y.name.quote==null?y.name.print(g):g.print_string(y.name.name,y.name.quote),g.space(),g.print("as"),g.space(),O?y.name.print(g):X?g.print(k.name):g.print_string(k.name,k.quote)):y.name.quote==null?y.name.print(g):g.print_string(y.name.name,y.name.quote)}),t(Dn,function(y,g){if(g.print("export"),g.space(),y.is_default&&(g.print("default"),g.space()),y.exported_names)y.exported_names.length===1&&y.exported_names[0].name.name==="*"&&!y.exported_names[0].name.quote?y.exported_names[0].print(g):(g.print("{"),y.exported_names.forEach(function(O,R){g.space(),O.print(g),R<y.exported_names.length-1&&g.print(",")}),g.space(),g.print("}"));else if(y.exported_value)y.exported_value.print(g);else if(y.exported_definition&&(y.exported_definition.print(g),y.exported_definition instanceof un))return;y.module_name&&(g.space(),g.print("from"),g.space(),y.module_name.print(g)),y.assert_clause&&(g.print("assert"),y.assert_clause.print(g)),(y.exported_value&&!(y.exported_value instanceof en||y.exported_value instanceof Ft||y.exported_value instanceof yt)||y.module_name||y.exported_names)&&g.semicolon()});function h(y,g,O){var R=!1;O&&(R=Fn(y,k=>{if(k instanceof qe&&!(k instanceof Yt))return!0;if(k instanceof ae&&k.operator=="in"||k instanceof ii)return dr})),y.print(g,R)}t(Lt,function(y,g){if(y.name.print(g),y.value){g.space(),g.print("="),g.space();var O=g.parent(1),R=O instanceof xn||O instanceof Wn;h(y.value,g,R)}}),t(Ve,function(y,g){y.expression.print(g),!(y instanceof rr&&y.args.length===0)&&((y.expression instanceof Ve||y.expression instanceof Ge)&&g.add_mapping(y.start),y.optional&&g.print("?."),g.with_parens(function(){y.args.forEach(function(O,R){R&&g.comma(),O.print(g)})}))}),t(rr,function(y,g){g.print("new"),g.space(),Ve.prototype._codegen(y,g)}),lt.DEFMETHOD("_do_print",function(y){this.expressions.forEach(function(g,O){O>0&&(y.comma(),y.should_break()&&(y.newline(),y.indent())),g.print(y)})}),t(lt,function(y,g){y._do_print(g)}),t(Wt,function(y,g){var O=y.expression;O.print(g);var R=y.property,k=no.has(R)?g.option("ie8"):!id(R,g.option("ecma")>=2015&&!g.option("safari10"));y.optional&&g.print("?."),k?(g.print("["),g.add_mapping(y.end),g.print_string(R),g.print("]")):(O instanceof Qe&&O.getValue()>=0&&(/[xa-f.)]/i.test(g.last())||g.print(".")),y.optional||g.print("."),g.add_mapping(y.end),g.print_name(R))}),t(Hr,function(y,g){var O=y.expression;O.print(g);var R=y.property;y.optional&&g.print("?"),g.print(".#"),g.add_mapping(y.end),g.print_name(R)}),t(An,function(y,g){y.expression.print(g),y.optional&&g.print("?."),g.print("["),y.property.print(g),g.print("]")}),t(gn,function(y,g){y.expression.print(g)}),t(We,function(y,g){var O=y.operator;O==="--"&&g.last().endsWith("!")&&g.print(" "),g.print(O),(/^[a-z]/i.test(O)||/[+-]$/.test(O)&&y.expression instanceof We&&/^[+-]/.test(y.expression.operator))&&g.space(),y.expression.print(g)}),t($i,function(y,g){y.expression.print(g),g.print(y.operator)}),t(ae,function(y,g){var O=y.operator;y.left.print(g),O[0]==">"&&g.last().endsWith("--")?g.print(" "):g.space(),g.print(O),g.space(),y.right.print(g)}),t(tt,function(y,g){y.condition.print(g),g.space(),g.print("?"),g.space(),y.consequent.print(g),g.space(),g.colon(),y.alternative.print(g)}),t(St,function(y,g){g.with_square(function(){var O=y.elements,R=O.length;R>0&&g.space(),O.forEach(function(k,U){U&&g.comma(),k.print(g),U===R-1&&k instanceof Ir&&g.comma()}),R>0&&g.space()})}),t(Nt,function(y,g){y.properties.length>0?g.with_block(function(){y.properties.forEach(function(O,R){R&&(g.print(","),g.newline()),g.indent(),O.print(g)}),g.newline()}):r(y,g)}),t(yt,function(y,g){if(g.print("class"),g.space(),y.name&&(y.name.print(g),g.space()),y.extends){var O=!(y.extends instanceof Ae)&&!(y.extends instanceof Xe)&&!(y.extends instanceof Si)&&!(y.extends instanceof Ft);g.print("extends"),O?g.print("("):g.space(),y.extends.print(g),O?g.print(")"):g.space()}y.properties.length>0?g.with_block(function(){y.properties.forEach(function(R,k){k&&g.newline(),g.indent(),R.print(g)}),g.newline()}):g.print("{}")}),t(Xo,function(y,g){g.print("new.target")});function d(y,g,O){if(O.option("quote_keys"))return O.print_string(y),!1;if(""+ +y==y&&y>=0)return O.option("keep_numbers")?(O.print(y),!1):(O.print(M(y)),!1);var R=no.has(y)?O.option("ie8"):O.option("ecma")<2015||O.option("safari10")?!ku(y):!id(y,!0);return R||g&&O.option("keep_quoted_props")?(O.print_string(y,g),!1):(O.print_name(y),!0)}t(Jt,function(y,g){function O(k){var U=k.definition();return U?U.mangled_name||U.name:k.name}const R=g.option("shorthand")&&!(y.key instanceof Ce);R&&y.value instanceof pt&&O(y.value)===y.key&&!no.has(y.key)?d(y.key,y.quote,g)||(g.colon(),y.value.print(g)):R&&y.value instanceof Nr&&y.value.left instanceof pt&&O(y.value.left)===y.key?(d(y.key,y.quote,g)||(g.colon(),y.value.left.print(g)),g.space(),g.print("="),g.space(),y.value.right.print(g)):(y.key instanceof Ce?g.with_square(function(){y.key.print(g)}):d(y.key,y.quote,g),g.colon(),y.value.print(g))}),t(Ei,(y,g)=>{y.static&&(g.print("static"),g.space()),g.print("#"),d(y.key.name,y.quote,g),y.value&&(g.print("="),y.value.print(g)),g.semicolon()}),t(fr,(y,g)=>{y.static&&(g.print("static"),g.space()),y.key instanceof Hi?d(y.key.name,y.quote,g):(g.print("["),y.key.print(g),g.print("]")),y.value&&(g.print("="),y.value.print(g)),g.semicolon()}),cn.DEFMETHOD("_print_getter_setter",function(y,g,O){var R=this;R.static&&(O.print("static"),O.space()),y&&(O.print(y),O.space()),R.key instanceof $n?(g&&O.print("#"),d(R.key.name,R.quote,O),R.key.add_source_map(O)):O.with_square(function(){R.key.print(O)}),R.value._do_print(O,!0)}),t(ri,function(y,g){y._print_getter_setter("set",!1,g)}),t(Gr,function(y,g){y._print_getter_setter("get",!1,g)}),t(bi,function(y,g){y._print_getter_setter("set",!0,g)}),t(ni,function(y,g){y._print_getter_setter("get",!0,g)}),t(vi,function(y,g){var O;y.is_generator&&y.async?O="async*":y.is_generator?O="*":y.async&&(O="async"),y._print_getter_setter(O,!0,g)}),t(ii,function(y,g){y.key.print(g),g.space(),g.print("in"),g.space(),y.value.print(g)}),t(da,function(y,g){g.print("#"+y.name)}),t(Bn,function(y,g){var O;y.is_generator&&y.async?O="async*":y.is_generator?O="*":y.async&&(O="async"),y._print_getter_setter(O,!1,g)}),t(Yn,function(y,g){g.print("static"),g.space(),a(y,g)}),pt.DEFMETHOD("_do_print",function(y){var g=this.definition();y.print_name(g?g.mangled_name||g.name:this.name)}),t(pt,function(y,g){y._do_print(g)}),t(Ir,_r),t(Vn,function(y,g){g.print("this")}),t(Jo,function(y,g){g.print("super")}),t(Tt,function(y,g){g.print(y.getValue())}),t(dt,function(y,g){g.print_string(y.getValue(),y.quote,g.in_directive)}),t(Qe,function(y,g){(g.option("keep_numbers")||g.use_asm)&&y.raw?g.print(y.raw):g.print(M(y.getValue()))}),t(si,function(y,g){g.print(y.getValue()+"n")});const v=/(<\s*\/\s*script)/i,S=/^\s*script/i,C=(y,g)=>g.replace("/","\\/");t(hr,function(y,g){let{source:O,flags:R}=y.getValue();O=Eu(O),R=R?gy(R):"",O=O.replace(v,C),S.test(O)&&g.last().endsWith("<")&&g.print(" "),g.print(g.to_utf8(`/${O}/${R}`,!1,!0));const k=g.parent();k instanceof ae&&/^\w/.test(k.operator)&&k.left===y&&g.print(" ")});function T(y,g){g.option("braces")?P(y,g):!y||y instanceof wt?g.force_semicolon():y instanceof Qr||y instanceof ei||y instanceof yt?P(y,g):y.print(g)}function D(y){for(var g=y[0],O=g.length,R=1;R<y.length;++R)y[R].length<O&&(g=y[R],O=g.length);return g}function M(y){var g=y.toString(10).replace(/^0\./,".").replace("e+","e"),O=[g];Math.floor(y)===y&&(y<0?O.push("-0x"+(-y).toString(16).toLowerCase()):O.push("0x"+y.toString(16).toLowerCase()));var R,k,U;return(R=/^\.0+/.exec(g))?(k=R[0].length,U=g.slice(k),O.push(U+"e-"+(U.length+k-1))):(R=/0+$/.exec(g))?(k=R[0].length,O.push(g.slice(0,-k)+"e"+k)):(R=/^(\d)\.(\d+)e(-?\d+)$/.exec(g))&&O.push(R[1]+R[2]+"e"+(R[3]-R[2].length)),D(O)}function P(y,g){!y||y instanceof wt?g.print("{}"):y instanceof Ze?y.print(g):g.with_block(function(){g.indent(),y.print(g),g.newline()})}function b(y,g){y.forEach(function(O){O.DEFMETHOD("add_source_map",g)})}b([Ce,Qn,zt],_r),b([St,Ze,Zr,yt,Tt,Fi,un,nr,Wo,fa,Ge,rr,Nt,vo,pt,qn,Bi,Xn,gi,vr],function(y){y.add_mapping(this.start)}),b([Gr,ri,ni,bi,Bn,vi],function(y){y.add_mapping(this.start,!1)}),b([$n,da],function(y){const g=this.end&&this.end.type;g==="name"||g==="privatename"?y.add_mapping(this.end,this.name):y.add_mapping(this.end)}),b([cn],function(y){y.add_mapping(this.start,this.key)})})();const _d=(t,e)=>t===null&&e===null||t.TYPE===e.TYPE&&t.shallow_cmp(e),$y=(t,e)=>{if(!_d(t,e))return!1;const n=[t],r=[e],a=n.push.bind(n),c=r.push.bind(r);for(;n.length&&r.length;){const h=n.pop(),d=r.pop();if(!_d(h,d)||(h._children_backwards(a),d._children_backwards(c),n.length!==r.length))return!1}return n.length==0&&r.length==0},It=()=>!0;Ce.prototype.shallow_cmp=function(){throw new Error("did not find a shallow_cmp function for "+this.constructor.name)},Fi.prototype.shallow_cmp=It,nr.prototype.shallow_cmp=function(t){return this.value===t.value},je.prototype.shallow_cmp=It,Tn.prototype.shallow_cmp=It,wt.prototype.shallow_cmp=It,Qn.prototype.shallow_cmp=function(t){return this.label.name===t.label.name},yi.prototype.shallow_cmp=It,Li.prototype.shallow_cmp=It,xn.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)},Wn.prototype.shallow_cmp=It,Eo.prototype.shallow_cmp=It,yr.prototype.shallow_cmp=It,zt.prototype.shallow_cmp=It,ht.prototype.shallow_cmp=It,Ge.prototype.shallow_cmp=function(t){return this.is_generator===t.is_generator&&this.async===t.async},$t.prototype.shallow_cmp=function(t){return this.is_array===t.is_array},jr.prototype.shallow_cmp=It,Xn.prototype.shallow_cmp=It,gi.prototype.shallow_cmp=function(t){return this.value===t.value},fa.prototype.shallow_cmp=It,Yr.prototype.shallow_cmp=It,gr.prototype.shallow_cmp=It,br.prototype.shallow_cmp=function(t){return this.is_star===t.is_star},Rt.prototype.shallow_cmp=function(t){return this.alternative==null?t.alternative==null:this.alternative===t.alternative},qn.prototype.shallow_cmp=It,Bi.prototype.shallow_cmp=It,vr.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)},Zr.prototype.shallow_cmp=function(t){return this.argname==null?t.argname==null:this.argname===t.argname},Wo.prototype.shallow_cmp=It,un.prototype.shallow_cmp=It,Lt.prototype.shallow_cmp=function(t){return this.value==null?t.value==null:this.value===t.value},ti.prototype.shallow_cmp=It,Rr.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)},Ui.prototype.shallow_cmp=It,Dn.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},Ve.prototype.shallow_cmp=It,lt.prototype.shallow_cmp=It,Xe.prototype.shallow_cmp=It,gn.prototype.shallow_cmp=It,Wt.prototype.shallow_cmp=function(t){return this.property===t.property},Hr.prototype.shallow_cmp=function(t){return this.property===t.property},Xt.prototype.shallow_cmp=function(t){return this.operator===t.operator},ae.prototype.shallow_cmp=function(t){return this.operator===t.operator},tt.prototype.shallow_cmp=It,St.prototype.shallow_cmp=It,Nt.prototype.shallow_cmp=It,cn.prototype.shallow_cmp=It,Jt.prototype.shallow_cmp=function(t){return this.key===t.key},ri.prototype.shallow_cmp=function(t){return this.static===t.static},Gr.prototype.shallow_cmp=function(t){return this.static===t.static},Bn.prototype.shallow_cmp=function(t){return this.static===t.static&&this.is_generator===t.is_generator&&this.async===t.async},yt.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)},fr.prototype.shallow_cmp=function(t){return this.static===t.static},pt.prototype.shallow_cmp=function(t){return this.name===t.name},Xo.prototype.shallow_cmp=It,Vn.prototype.shallow_cmp=It,Jo.prototype.shallow_cmp=It,dt.prototype.shallow_cmp=function(t){return this.value===t.value},Qe.prototype.shallow_cmp=function(t){return this.value===t.value},si.prototype.shallow_cmp=function(t){return this.value===t.value},hr.prototype.shallow_cmp=function(t){return this.value.flags===t.value.flags&&this.value.source===t.value.source},oo.prototype.shallow_cmp=It;const Bu=1,Vy=2;let Zo=null,Qo=null,es=null;class ts{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=ts.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 Ce?this.fixed:this.fixed()}unmangleable(e){return e||(e={}),Zo&&Zo.has(this.id)&&zo(e.keep_fnames,this.orig[0].name)?!0:this.global&&!e.toplevel||this.export&Bu||this.undeclared||!e.eval&&this.scope.pinned()||(this.orig[0]instanceof oi||this.orig[0]instanceof Ti)&&zo(e.keep_fnames,this.orig[0].name)||this.orig[0]instanceof $n||(this.orig[0]instanceof Lu||this.orig[0]instanceof Fu)&&zo(e.keep_classnames,this.orig[0].name)}mangle(e){const n=e.cache&&e.cache.props;if(this.global&&n&&n.has(this.name))this.mangled_name=n.get(this.name);else if(!this.mangled_name&&!this.unmangleable(e)){var r=this.scope,a=this.orig[0];e.ie8&&a instanceof oi&&(r=r.parent_scope);const c=Hl(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)}}}ts.next_id=1;function Hl(t){if(t.orig[0]instanceof zr&&t.scope.is_block_scope())return t.scope.get_defun_scope().variables.get(t.name)}qe.DEFMETHOD("figure_out_scope",function(t,{parent_scope:e=null,toplevel:n=this}={}){if(t=_i(t,{cache:null,ie8:!1,safari10:!1,module:!1}),!(n instanceof zt))throw new Error("Invalid toplevel scope");var r=this.parent_scope=e,a=new Map,c=null,h=null,d=[],C=new Ln((T,D)=>{if(T.is_block_scope()){const k=r;if(T.block_scope=r=new qe(T),r._block_scope=!0,r.init_scope_vars(k),r.uses_with=k.uses_with,r.uses_eval=k.uses_eval,t.safari10&&(T instanceof xn||T instanceof Wn||T instanceof Eo)&&d.push(r),T instanceof qn){const U=r;r=k,T.expression.walk(C),r=U;for(let X=0;X<T.body.length;X++)T.body[X].walk(C)}else D();return r=k,!0}if(T instanceof $t){const k=h;return h=T,D(),h=k,!0}if(T instanceof qe){T.init_scope_vars(r);var M=r,P=c,b=a;return c=r=T,a=new Map,D(),r=M,c=P,a=b,!0}if(T instanceof Qn){var y=T.label;if(a.has(y.name))throw new Error(bu("Label {name} defined twice",y));return a.set(y.name,y),D(),a.delete(y.name),!0}if(T instanceof yr){for(var g=r;g;g=g.parent_scope)g.uses_with=!0;return}if(T instanceof pt&&(T.scope=r),T instanceof pa&&(T.thedef=T,T.references=[]),T instanceof oi)c.def_function(T,T.name=="arguments"?void 0:c);else if(T instanceof Ti){const k=c.parent_scope;T.scope=C.directives["use strict"]?k:k.get_defun_scope(),v(T.scope.def_function(T,c),1)}else if(T instanceof Lu)v(c.def_variable(T,c),1);else if(T instanceof Yo)r.def_variable(T);else if(T instanceof Fu)v((T.scope=c.parent_scope).def_function(T,c),1);else if(T instanceof Vi||T instanceof qo||T instanceof io||T instanceof zr){var O;if(T instanceof ji?O=r.def_variable(T,null):O=c.def_variable(T,T.TYPE=="SymbolVar"?null:void 0),O.orig.every(k=>k===T?!0:T instanceof ji?k instanceof oi:!(k instanceof qo||k instanceof io))||wu(`"${T.name}" is redeclared`,T.start.file,T.start.line,T.start.col,T.start.pos),T instanceof Pn||v(O,2),c!==r){T.mark_enclosed();var O=r.find_variable(T);T.thedef!==O&&(T.thedef=O,T.reference())}}else if(T instanceof Ul){var R=a.get(T.name);if(!R)throw new Error(bu("Undefined label {name} [{line},{col}]",{name:T.name,line:T.start.line,col:T.start.col}));T.thedef=R}!(r instanceof zt)&&(T instanceof Dn||T instanceof Rr)&&wu(`"${T.TYPE}" statement may only appear at the top level`,T.start.file,T.start.line,T.start.col,T.start.pos)});t.module&&(C.directives["use strict"]=!0),this.walk(C);function v(T,D){if(h){var M=0;do D++;while(C.parent(M++)!==h)}var P=C.parent(D);if(T.export=P instanceof Dn?Bu:0){var b=P.exported_definition;(b instanceof en||b instanceof Kr)&&P.is_default&&(T.export=Vy)}}this instanceof zt&&(this.globals=new Map);var C=new Ln(T=>{if(T instanceof Yr&&T.label)return T.label.thedef.references.push(T),!0;if(T instanceof Ae){var D=T.name;if(D=="eval"&&C.parent()instanceof Ve)for(var M=T.scope;M&&!M.uses_eval;M=M.parent_scope)M.uses_eval=!0;var P;return C.parent()instanceof ti&&C.parent(1).module_name||!(P=T.scope.find_variable(D))?(P=n.def_global(T),T instanceof xo&&(P.export=Bu)):P.scope instanceof Ge&&D=="arguments"&&(P.scope.get_defun_scope().uses_arguments=!0),T.thedef=P,T.reference(),T.scope.is_block_scope()&&!(P.orig[0]instanceof ji)&&(T.scope=T.scope.get_defun_scope()),!0}var b;if(T instanceof zr&&(b=Hl(T.definition())))for(var M=T.scope;M&&(go(M.enclosed,b),M!==b.scope);)M=M.parent_scope});if(this.walk(C),(t.ie8||t.safari10)&&Fn(this,T=>{if(T instanceof zr){var D=T.name,M=T.thedef.references,P=T.scope.get_defun_scope(),b=P.find_variable(D)||n.globals.get(D)||P.def_variable(T);return M.forEach(function(y){y.thedef=b,y.reference()}),T.thedef=b,T.reference(),!0}}),t.safari10)for(const T of d)T.parent_scope.variables.forEach(function(D){go(T.enclosed,D)})}),zt.DEFMETHOD("def_global",function(t){var e=this.globals,n=t.name;if(e.has(n))return e.get(n);var r=new ts(this,t);return r.undeclared=!0,r.global=!0,e.set(n,r),r}),qe.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}),qe.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)}),qe.DEFMETHOD("conflicting_def_shallow",function(t){return this.enclosed.find(e=>e.name===t)||this.variables.has(t)}),qe.DEFMETHOD("add_child_scope",function(t){if(t.parent_scope===this)return;t.parent_scope=this,t instanceof Yt&&!this.uses_arguments&&(this.uses_arguments=Fn(t,a=>{if(a instanceof Ae&&a.scope instanceof Ge&&a.name==="arguments")return dr;if(a instanceof Ge&&!(a instanceof Yt))return!0})),this.uses_with=this.uses_with||t.uses_with,this.uses_eval=this.uses_eval||t.uses_eval;const e=(()=>{const a=[];let c=this;do a.push(c);while(c=c.parent_scope);return a.reverse(),a})(),n=new Set(t.enclosed),r=[];for(const a of e){r.forEach(c=>go(a.enclosed,c));for(const c of a.variables.values())n.has(c)&&(go(r,c),go(a.enclosed,c))}});function jy(t){const e=new Set;for(const n of new Set(t))(function r(a){a==null||e.has(a)||(e.add(a),r(a.parent_scope))})(n);return[...e]}qe.DEFMETHOD("create_symbol",function(t,{source:e,tentative_name:n,scope:r,conflict_scopes:a=[r],init:c=null}={}){let h;if(a=jy(a),n){n=h=n.replace(/(?:^[^a-z_$]|[^a-z0-9_$])/ig,"_");let v=0;for(;a.find(S=>S.conflicting_def_shallow(h));)h=n+"$"+v++}if(!h)throw new Error("No symbol name could be generated in create_symbol()");const d=F(t,e,{name:h,scope:r});return this.def_variable(d,c||null),d.mark_enclosed(),d}),Ce.DEFMETHOD("is_block_scope",vt),yt.DEFMETHOD("is_block_scope",vt),Ge.DEFMETHOD("is_block_scope",vt),zt.DEFMETHOD("is_block_scope",vt),Bi.DEFMETHOD("is_block_scope",vt),Tn.DEFMETHOD("is_block_scope",er),qe.DEFMETHOD("is_block_scope",function(){return this._block_scope||!1}),Vr.DEFMETHOD("is_block_scope",er),Ge.DEFMETHOD("init_scope_vars",function(){qe.prototype.init_scope_vars.apply(this,arguments),this.uses_arguments=!1,this.def_variable(new Pn({name:"arguments",start:this.start,end:this.end}))}),Yt.DEFMETHOD("init_scope_vars",function(){qe.prototype.init_scope_vars.apply(this,arguments),this.uses_arguments=!1}),pt.DEFMETHOD("mark_enclosed",function(){for(var t=this.definition(),e=this.scope;e&&(go(e.enclosed,t),e!==t.scope);)e=e.parent_scope}),pt.DEFMETHOD("reference",function(){this.definition().references.push(this),this.mark_enclosed()}),qe.DEFMETHOD("find_variable",function(t){return t instanceof pt&&(t=t.name),this.variables.get(t)||this.parent_scope&&this.parent_scope.find_variable(t)}),qe.DEFMETHOD("def_function",function(t,e){var n=this.def_variable(t,e);return(!n.init||n.init instanceof en)&&(n.init=e),n}),qe.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 Ft)&&(n.init=e)):(n=new ts(this,t,e),this.variables.set(t.name,n),n.global=!this.parent_scope),t.thedef=n});function Gl(t,e){let n;es&&(n=t.get_defun_scope())&&es.has(n)&&(t=n);var r=t.enclosed,a=e.nth_identifier;e:for(;;){var c=a.get(++t.cname);if(!no.has(c)&&!e.reserved.has(c)){if(Qo&&Qo.has(c))continue e;for(let h=r.length;--h>=0;){const d=r[h],v=d.mangled_name||d.unmangleable(e)&&d.name;if(c==v)continue e}return c}}}qe.DEFMETHOD("next_mangled",function(t){return Gl(this,t)}),zt.DEFMETHOD("next_mangled",function(t){let e;const n=this.mangled_names;do e=Gl(this,t);while(n.has(e));return e}),Ft.DEFMETHOD("next_mangled",function(t,e){for(var n=e.orig[0]instanceof Pn&&this.name&&this.name.definition(),r=n?n.mangled_name||n.name:null;;){var a=Gl(this,t);if(!r||r!=a)return a}}),pt.DEFMETHOD("unmangleable",function(t){var e=this.definition();return!e||e.unmangleable(t)}),pa.DEFMETHOD("unmangleable",vt),pt.DEFMETHOD("unreferenced",function(){return!this.definition().references.length&&!this.scope.pinned()}),pt.DEFMETHOD("definition",function(){return this.thedef}),pt.DEFMETHOD("global",function(){return this.thedef.global});function Uu(t){return t=_i(t,{eval:!1,nth_identifier:ga,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=Uu(t);var e=t.nth_identifier,n=-1,r=[];t.keep_fnames&&(Zo=new Set);const a=this.mangled_names=new Set;Qo=new Set,t.cache&&(this.globals.forEach(h),t.cache.props&&t.cache.props.forEach(function(d){a.add(d)}));var c=new Ln(function(d,v){if(d instanceof Qn){var S=n;return v(),n=S,!0}if(d instanceof en&&!(c.parent()instanceof qe)&&(es=es||new Set,es.add(d.parent_scope.get_defun_scope())),d instanceof qe){d.variables.forEach(h);return}if(d.is_block_scope()){d.block_scope.variables.forEach(h);return}if(Zo&&d instanceof Lt&&d.value instanceof Ge&&!d.value.name&&zo(t.keep_fnames,d.name.name)){Zo.add(d.name.definition().id);return}if(d instanceof pa){let C;do C=e.get(++n);while(no.has(C));return d.mangled_name=C,!0}if(!(t.ie8||t.safari10)&&d instanceof zr){r.push(d.definition());return}});this.walk(c),(t.keep_fnames||t.keep_classnames)&&r.forEach(d=>{d.name.length<6&&d.unmangleable(t)&&Qo.add(d.name)}),r.forEach(d=>{d.mangle(t)}),Zo=null,Qo=null,es=null;function h(d){d.export&Bu?Qo.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(a),this.walk(new Ln(function(c){c instanceof qe&&c.variables.forEach(a),c instanceof zr&&a(c.definition())})),n;function r(c){n.add(c)}function a(c){var h=c.name;if(c.global&&e&&e.has(h))h=e.get(h);else if(!c.unmangleable(t))return;r(h)}}),zt.DEFMETHOD("expand_names",function(t){t=Uu(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 Ln(function(h){h instanceof qe&&h.variables.forEach(c),h instanceof zr&&c(h.definition())}));function a(){var h;do h=e.get(r++);while(n.has(h)||no.has(h));return h}function c(h){if(h.global&&t.cache||h.unmangleable(t)||t.reserved.has(h.name))return;const d=Hl(h),v=h.name=d?d.name:a();h.orig.forEach(function(S){S.name=v}),h.references.forEach(function(S){S.name=v})}}),Ce.DEFMETHOD("tail_node",yo),lt.DEFMETHOD("tail_node",function(){return this.expressions[this.expressions.length-1]}),zt.DEFMETHOD("compute_char_frequency",function(t){t=Uu(t);var e=t.nth_identifier;if(!e.reset||!e.consider||!e.sort)return;e.reset();try{Ce.prototype.print=function(r,a){this._print(r,a),this instanceof pt&&!this.unmangleable(t)?e.consider(this.name,-1):t.properties&&(this instanceof Hr?e.consider("#"+this.property,-1):this instanceof Wt?e.consider(this.property,-1):this instanceof An&&n(this.property))},e.consider(this.print_to_string(),1)}finally{Ce.prototype.print=Ce.prototype._print}e.sort();function n(r){r instanceof dt?e.consider(r.value,-1):r instanceof tt?(n(r.consequent),n(r.alternative)):r instanceof lt&&n(r.tail_node())}});const ga=(()=>{const t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_".split(""),e="0123456789".split("");let n,r;function a(){r=new Map,t.forEach(function(S){r.set(S,0)}),e.forEach(function(S){r.set(S,0)})}function c(S,C){for(var T=S.length;--T>=0;)r.set(S[T],r.get(S[T])+C)}function h(S,C){return r.get(C)-r.get(S)}function d(){n=Yp(t,h).concat(Yp(e,h))}a(),d();function v(S){var C="",T=54;S++;do S--,C+=n[S%T],S=Math.floor(S/T),T=64;while(S>0);return C}return{get:v,consider:c,reset:a,sort:d}})();let $u;Ce.prototype.size=function(t,e){$u=t&&t._mangle_options;let n=0;return hd(this,(r,a)=>{if(n+=r._size(a),r instanceof Yt&&r.is_braceless())return n+=r.body[0].value._size(a),!0},e||t&&t.stack),$u=void 0,n},Ce.prototype._size=()=>0,Fi.prototype._size=()=>8,nr.prototype._size=function(){return 2+this.value.length};const nn=t=>t.length&&t.length-1;Tn.prototype._size=function(){return 2+nn(this.body)},zt.prototype._size=function(){return nn(this.body)},wt.prototype._size=()=>1,Qn.prototype._size=()=>2,yi.prototype._size=()=>9,Li.prototype._size=()=>7,xn.prototype._size=()=>8,Wn.prototype._size=()=>8,yr.prototype._size=()=>6,ht.prototype._size=()=>3;const ba=t=>(t.is_generator?1:0)+(t.async?6:0);Mi.prototype._size=function(){return ba(this)+4+nn(this.argnames)+nn(this.body)},Ft.prototype._size=function(t){return!!ai(t)*2+ba(this)+12+nn(this.argnames)+nn(this.body)},en.prototype._size=function(){return ba(this)+13+nn(this.argnames)+nn(this.body)},Yt.prototype._size=function(){let t=2+nn(this.argnames);this.argnames.length===1&&this.argnames[0]instanceof pt||(t+=2);const e=this.is_braceless()?0:nn(this.body)+2;return ba(this)+t+e},$t.prototype._size=()=>2,Xn.prototype._size=function(){return 2+Math.floor(this.segments.length/2)*3},gi.prototype._size=function(){return this.value.length},an.prototype._size=function(){return this.value?7:6},ha.prototype._size=()=>6,wr.prototype._size=function(){return this.label?6:5},ro.prototype._size=function(){return this.label?9:8},Rt.prototype._size=()=>4,qn.prototype._size=function(){return 8+nn(this.body)},Jr.prototype._size=function(){return 5+nn(this.body)},So.prototype._size=function(){return 8+nn(this.body)},vr.prototype._size=()=>3,Zr.prototype._size=function(){let t=7+nn(this.body);return this.argname&&(t+=2),t},Wo.prototype._size=function(){return 7+nn(this.body)},Nn.prototype._size=function(){return 4+nn(this.definitions)},Qr.prototype._size=function(){return 4+nn(this.definitions)},ei.prototype._size=function(){return 6+nn(this.definitions)},Lt.prototype._size=function(){return this.value?1:0},ti.prototype._size=function(){return this.name?4:0},Rr.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+nn(this.imported_names)),t},Ui.prototype._size=()=>11,Dn.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+nn(this.exported_names)),this.module_name&&(t+=5),t},Ve.prototype._size=function(){return this.optional?4+nn(this.args):2+nn(this.args)},rr.prototype._size=function(){return 6+nn(this.args)},lt.prototype._size=function(){return nn(this.expressions)},Wt.prototype._size=function(){return this.optional?this.property.length+2:this.property.length+1},Hr.prototype._size=function(){return this.optional?this.property.length+3:this.property.length+2},An.prototype._size=function(){return this.optional?4:2},Xt.prototype._size=function(){return this.operator==="typeof"?7:this.operator==="void"?5:this.operator.length},ae.prototype._size=function(t){if(this.operator==="in")return 4;let e=this.operator.length;return(this.operator==="+"||this.operator==="-")&&this.right instanceof Xt&&this.right.operator===this.operator&&(e+=1),this.needs_parens(t)&&(e+=2),e},tt.prototype._size=()=>3,St.prototype._size=function(){return 2+nn(this.elements)},Nt.prototype._size=function(t){let e=2;return ai(t)&&(e+=2),e+nn(this.properties)};const Vu=t=>typeof t=="string"?t.length:0;Jt.prototype._size=function(){return Vu(this.key)+1};const ju=t=>t?7:0;Gr.prototype._size=function(){return 5+ju(this.static)+Vu(this.key)},ri.prototype._size=function(){return 5+ju(this.static)+Vu(this.key)},Bn.prototype._size=function(){return ju(this.static)+Vu(this.key)+ba(this)},vi.prototype._size=function(){return Bn.prototype._size.call(this)+1},ni.prototype._size=bi.prototype._size=function(){return Bn.prototype._size.call(this)+4},ii.prototype._size=function(){return 5},yt.prototype._size=function(){return(this.name?8:7)+(this.extends?8:0)},Yn.prototype._size=function(){return 8+nn(this.body)},fr.prototype._size=function(){return ju(this.static)+(typeof this.key=="string"?this.key.length+2:0)+(this.value?1:0)},Ei.prototype._size=function(){return fr.prototype._size.call(this)+1},pt.prototype._size=function(){return $u&&this.thedef&&!this.thedef.unmangleable($u)?1:this.name.length},Hi.prototype._size=function(){return this.name.length},Ae.prototype._size=In.prototype._size=function(){return this.name==="arguments"?9:pt.prototype._size.call(this)},Xo.prototype._size=()=>10,To.prototype._size=function(){return this.name.length},xi.prototype._size=function(){return this.name.length},Vn.prototype._size=()=>4,Jo.prototype._size=()=>5,dt.prototype._size=function(){return this.value.length+2},Qe.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},si.prototype._size=function(){return this.value.length},hr.prototype._size=function(){return this.value.toString().length},pr.prototype._size=()=>4,ma.prototype._size=()=>3,tn.prototype._size=()=>6,Ir.prototype._size=()=>0,so.prototype._size=()=>8,Er.prototype._size=()=>4,Gi.prototype._size=()=>5,gr.prototype._size=()=>6,br.prototype._size=()=>6;const ao=1,Kl=2,zl=4,Wl=8,va=16,ns=32,Co=256,Xl=512,ql=1024,Hy=Co|Xl|ql,jn=(t,e)=>t.flags&e,Sr=(t,e)=>{t.flags|=e},rs=(t,e)=>{t.flags&=~e};function Yl(t,e){return e instanceof lt?t.push(...e.expressions):t.push(e),t}function nt(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 F(lt,t,{expressions:e.reduce(Yl,[])})}function ir(t,e){switch(typeof t){case"string":return F(dt,e,{value:t});case"number":return isNaN(t)?F(ma,e):isFinite(t)?1/t<0?F(We,e,{operator:"-",expression:F(Qe,e,{value:-t})}):F(Qe,e,{value:t}):t<0?F(We,e,{operator:"-",expression:F(so,e)}):F(so,e);case"bigint":return F(si,e,{value:t.toString()});case"boolean":return F(t?Er:Gi,e);case"undefined":return F(tn,e);default:if(t===null)return F(pr,e,{value:null});if(t instanceof RegExp)return F(hr,e,{value:{source:Eu(t.source),flags:t.flags}});throw new Error(bu("Can't handle constant of type: {type}",{type:typeof t}))}}function zi(t,e){return t.size()>e.size()?e:t}function Gy(t,e){return zi(F(je,t,{body:t}),F(je,e,{body:e})).body}function Tr(t,e,n){return ai(t)?Gy(e,n):zi(e,n)}function yd(t){if(t instanceof Tt)return t.getValue();if(!(t instanceof We&&t.operator=="void"&&t.expression instanceof Tt))return t}function gd(t,e){if(e=yd(e),!(e instanceof Ce)){var n;if(t instanceof St){var r=t.elements;if(e=="length")return ir(r.length,t);typeof e=="number"&&e in r&&(n=r[e])}else if(t instanceof Nt){e=""+e;for(var a=t.properties,c=a.length;--c>=0;){var h=a[c];if(!(h instanceof Jt))return;!n&&a[c].key===e&&(n=a[c].value)}}return n instanceof Ae&&n.fixed_value()||n}}function Jl(t,e){var n=!1,r=new Ln(function(a){if(n||a instanceof qe)return!0;if(a instanceof Yr&&r.loopcontrol_target(a)===t)return n=!0});return e instanceof Qn&&r.push(e),r.push(t),t.body.walk(r),n}function Oo(t,e,n){if(t instanceof We&&t.operator=="delete"||t instanceof Ve&&t.expression===e&&(n instanceof gn||n instanceof Xe||n instanceof Ae&&n.name=="eval")){const r=F(Qe,e,{value:0});return nt(e,[r,n])}else return n}function Hu(t){return t instanceof Yt||t instanceof Ft}function Zl(t){return t.TYPE!="Call"?!1:t.expression instanceof Ft||Zl(t.expression)}function uo(t){return t===null||t instanceof wt?!0:t instanceof Ze?t.body.length==0:!1}const bd=Ct("Infinity NaN undefined");function vd(t){return t instanceof so||t instanceof ma||t instanceof tn}function Ql(t,e){if(!(t instanceof Ae))return!1;for(var n=t.definition().orig,r=n.length;--r>=0;)if(n[r]instanceof e)return!0}function ef(t){return!(t instanceof Kr||t instanceof en||t instanceof Qr||t instanceof ei||t instanceof Dn||t instanceof Rr)}function Gu(t){if(t===null)return[];if(t instanceof Ze)return t.body;if(t instanceof wt)return[];if(t instanceof Rn)return[t];throw new Error("Can't convert thing to statement array")}function Ed(t,e){const n=r=>{if(r instanceof Ae&&e.includes(r.definition()))return dr};return hd(t,(r,a)=>{if(r instanceof qe&&r!==t){var c=a.parent();return c instanceof Ve&&c.expression===r&&!(r.async||r.is_generator)?void 0:Fn(r,n)?dr:!0}})}function tf(t,e){for(var n,r=0;n=t.parent(r);r++)if(n instanceof Ge||n instanceof yt){var a=n.name;if(a&&a.definition()===e)return!0}return!1}function Sd(t,e){return e.top_retain&&t instanceof en&&jn(t,ql)&&t.name&&e.top_retain(t.name.definition())}function nf(t){const e=new Map;for(var n of Object.keys(t))e.set(n,Ct(t[n]));return(a,c)=>{const h=e.get(a);return h!=null&&h.has(c)}}const Ku=new Set(["Number","String","Array","Object","Function","Promise"]),Do=["constructor","toString","valueOf"],Td=nf({Array:["at","flat","includes","indexOf","join","lastIndexOf","slice",...Do],Boolean:Do,Function:Do,Number:["toExponential","toFixed","toPrecision",...Do],Object:Do,RegExp:["test",...Do],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",...Do]}),xd=nf({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"]}),Ky=nf({Math:["E","LN10","LN2","LOG2E","LOG10E","PI","SQRT1_2","SQRT2"],Number:["MAX_VALUE","MIN_VALUE","NaN","NEGATIVE_INFINITY","POSITIVE_INFINITY"]}),ui=t=>t instanceof Ae&&t.definition().undeclared,rf=Ct("<<< >> << & | ^ ~"),ko=Ct("&& || ??"),zu=Ct("delete ++ --");(function(t){const e=Ct("! delete"),n=Ct("in instanceof == != === !== < <= >= >");t(Ce,vt),t(We,function(){return e.has(this.operator)}),t(ae,function(){return n.has(this.operator)||ko.has(this.operator)&&this.left.is_boolean()&&this.right.is_boolean()}),t(tt,function(){return this.consequent.is_boolean()&&this.alternative.is_boolean()}),t(at,function(){return this.operator=="="&&this.right.is_boolean()}),t(lt,function(){return this.tail_node().is_boolean()}),t(Er,er),t(Gi,er)})(function(t,e){t.DEFMETHOD("is_boolean",e)}),function(t){t(Ce,vt),t(Qe,er);const e=Ct("+ - ~ ++ --");t(Xt,function(){return e.has(this.operator)&&!(this.expression instanceof si)});const n=Ct("- * / % & | ^ << >> >>>");t(ae,function(r){return n.has(this.operator)||this.operator=="+"&&this.left.is_number(r)&&this.right.is_number(r)}),t(at,function(r){return n.has(this.operator.slice(0,-1))||this.operator=="="&&this.right.is_number(r)}),t(lt,function(r){return this.tail_node().is_number(r)}),t(tt,function(r){return this.consequent.is_number(r)&&this.alternative.is_number(r)})}(function(t,e){t.DEFMETHOD("is_number",e)}),function(t){t(Ce,vt),t(Qe,function(){return this.value===(this.value|0)}),t(We,function(){return this.operator=="~"?this.expression.is_number():this.operator==="+"?this.expression.is_32_bit_integer():!1}),t(ae,function(){return rf.has(this.operator)})}(function(t,e){t.DEFMETHOD("is_32_bit_integer",e)}),function(t){t(Ce,vt),t(dt,er),t(Xn,er),t(We,function(){return this.operator=="typeof"}),t(ae,function(e){return this.operator=="+"&&(this.left.is_string(e)||this.right.is_string(e))}),t(at,function(e){return(this.operator=="="||this.operator=="+=")&&this.right.is_string(e)}),t(lt,function(e){return this.tail_node().is_string(e)}),t(tt,function(e){return this.consequent.is_string(e)&&this.alternative.is_string(e)})}(function(t,e){t.DEFMETHOD("is_string",e)});function ci(t,e){return jn(t,Wl)||t instanceof tn||t instanceof We&&t.operator=="void"&&!t.expression.has_side_effects(e)}function Ad(t,e){let n;return t instanceof pr||ci(t,e)||t instanceof Ae&&(n=t.definition().fixed)instanceof Ce&&li(n,e)}function is(t,e){return t instanceof Xe||t instanceof Ve?t.optional&&Ad(t.expression,e)||is(t.expression,e):t instanceof gn?is(t.expression,e):!1}function li(t,e){return Ad(t,e)?!0:is(t,e)}(function(t){t(Ce,er),t(wt,vt),t(Tt,vt),t(Vn,vt);function e(n,r){for(var a=n.length;--a>=0;)if(n[a].has_side_effects(r))return!0;return!1}t(Tn,function(n){return e(this.body,n)}),t(Ve,function(n){return!this.is_callee_pure(n)&&(!this.expression.is_call_pure(n)||this.expression.has_side_effects(n))?!0:e(this.args,n)}),t(qn,function(n){return this.expression.has_side_effects(n)||e(this.body,n)}),t(Jr,function(n){return this.expression.has_side_effects(n)||e(this.body,n)}),t(vr,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(Rt,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(Ui,vt),t(Qn,function(n){return this.body.has_side_effects(n)}),t(je,function(n){return this.body.has_side_effects(n)}),t(Ge,vt),t(yt,function(n){return this.extends&&this.extends.has_side_effects(n)?!0:e(this.properties,n)}),t(Yn,function(n){return e(this.body,n)}),t(ae,function(n){return this.left.has_side_effects(n)||this.right.has_side_effects(n)}),t(at,er),t(tt,function(n){return this.condition.has_side_effects(n)||this.consequent.has_side_effects(n)||this.alternative.has_side_effects(n)}),t(Xt,function(n){return zu.has(this.operator)||this.expression.has_side_effects(n)}),t(Ae,function(n){return!this.is_declared(n)&&!Ku.has(this.name)}),t(Hi,vt),t(In,vt),t(Nt,function(n){return e(this.properties,n)}),t(cn,function(n){return this.computed_key()&&this.key.has_side_effects(n)||this.value&&this.value.has_side_effects(n)}),t(fr,function(n){return this.computed_key()&&this.key.has_side_effects(n)||this.static&&this.value&&this.value.has_side_effects(n)}),t(Bn,function(n){return this.computed_key()&&this.key.has_side_effects(n)}),t(Gr,function(n){return this.computed_key()&&this.key.has_side_effects(n)}),t(ri,function(n){return this.computed_key()&&this.key.has_side_effects(n)}),t(St,function(n){return e(this.elements,n)}),t(Wt,function(n){return li(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(An,function(n){if(li(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(gn,function(n){return this.expression.has_side_effects(n)}),t(lt,function(n){return e(this.expressions,n)}),t(un,function(n){return e(this.definitions,n)}),t(Lt,function(){return this.value}),t(gi,vt),t(Xn,function(n){return e(this.segments,n)})})(function(t,e){t.DEFMETHOD("has_side_effects",e)}),function(t){t(Ce,er),t(Tt,vt),t(wt,vt),t(Ge,vt),t(In,vt),t(Vn,vt),t(Ui,vt);function e(n,r){for(var a=n.length;--a>=0;)if(n[a].may_throw(r))return!0;return!1}t(yt,function(n){return this.extends&&this.extends.may_throw(n)?!0:e(this.properties,n)}),t(Yn,function(n){return e(this.body,n)}),t(St,function(n){return e(this.elements,n)}),t(at,function(n){return this.right.may_throw(n)?!0:!n.has_directive("use strict")&&this.operator=="="&&this.left instanceof Ae?!1:this.left.may_throw(n)}),t(ae,function(n){return this.left.may_throw(n)||this.right.may_throw(n)}),t(Tn,function(n){return e(this.body,n)}),t(Ve,function(n){return li(this,n)?!1:e(this.args,n)?!0:this.is_callee_pure(n)?!1:this.expression.may_throw(n)?!0:!(this.expression instanceof Ge)||e(this.expression.body,n)}),t(Jr,function(n){return this.expression.may_throw(n)||e(this.body,n)}),t(tt,function(n){return this.condition.may_throw(n)||this.consequent.may_throw(n)||this.alternative.may_throw(n)}),t(un,function(n){return e(this.definitions,n)}),t(Rt,function(n){return this.condition.may_throw(n)||this.body&&this.body.may_throw(n)||this.alternative&&this.alternative.may_throw(n)}),t(Qn,function(n){return this.body.may_throw(n)}),t(Nt,function(n){return e(this.properties,n)}),t(cn,function(n){return this.value?this.value.may_throw(n):!1}),t(fr,function(n){return this.computed_key()&&this.key.may_throw(n)||this.static&&this.value&&this.value.may_throw(n)}),t(Bn,function(n){return this.computed_key()&&this.key.may_throw(n)}),t(Gr,function(n){return this.computed_key()&&this.key.may_throw(n)}),t(ri,function(n){return this.computed_key()&&this.key.may_throw(n)}),t(an,function(n){return this.value&&this.value.may_throw(n)}),t(lt,function(n){return e(this.expressions,n)}),t(je,function(n){return this.body.may_throw(n)}),t(Wt,function(n){return li(this,n)?!1:!this.optional&&this.expression.may_throw_on_access(n)||this.expression.may_throw(n)}),t(An,function(n){return li(this,n)?!1:!this.optional&&this.expression.may_throw_on_access(n)||this.expression.may_throw(n)||this.property.may_throw(n)}),t(gn,function(n){return this.expression.may_throw(n)}),t(qn,function(n){return this.expression.may_throw(n)||e(this.body,n)}),t(Ae,function(n){return!this.is_declared(n)&&!Ku.has(this.name)}),t(Hi,vt),t(vr,function(n){return this.bcatch?this.bcatch.may_throw(n):this.body.may_throw(n)||this.bfinally&&this.bfinally.may_throw(n)}),t(Xt,function(n){return this.operator=="typeof"&&this.expression instanceof Ae?!1:this.expression.may_throw(n)}),t(Lt,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 Fn(this,a=>{if(a instanceof Ae){if(jn(this,va))return r=!1,dr;var c=a.definition();if(Rl(c,this.enclosed)&&!this.variables.has(c.name)){if(n){var h=n.find_variable(a);if(c.undeclared?!h:h===c)return r="f",!0}return r=!1,dr}return!0}if(a instanceof Vn&&this instanceof Yt)return r=!1,dr}),r}t(Ce,vt),t(Tt,er),t(yt,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 Yn)return!1;return e.call(this,n)}),t(Ge,e),t(Xt,function(){return this.expression.is_constant_expression()}),t(ae,function(){return this.left.is_constant_expression()&&this.right.is_constant_expression()}),t(St,function(){return this.elements.every(n=>n.is_constant_expression())}),t(Nt,function(){return this.properties.every(n=>n.is_constant_expression())}),t(cn,function(){return!!(!(this.key instanceof Ce)&&this.value&&this.value.is_constant_expression())})}(function(t,e){t.DEFMETHOD("is_constant_expression",e)}),function(t){Ce.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(Ce,e),t(pr,er),t(tn,er),t(Tt,vt),t(St,vt),t(Nt,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(yt,vt),t(cn,vt),t(Gr,er),t(ht,function(n){return this.expression._dot_throw(n)}),t(Ft,vt),t(Yt,vt),t($i,vt),t(We,function(){return this.operator=="void"}),t(ae,function(n){return(this.operator=="&&"||this.operator=="||"||this.operator=="??")&&(this.left._dot_throw(n)||this.right._dot_throw(n))}),t(at,function(n){return this.logical?!0:this.operator=="="&&this.right._dot_throw(n)}),t(tt,function(n){return this.consequent._dot_throw(n)||this.alternative._dot_throw(n)}),t(Wt,function(n){return e(n)?this.property=="prototype"?!(this.expression instanceof Ft||this.expression instanceof yt):!0:!1}),t(gn,function(n){return this.expression._dot_throw(n)}),t(lt,function(n){return this.tail_node()._dot_throw(n)}),t(Ae,function(n){if(this.name==="arguments"&&this.scope instanceof Ge)return!1;if(jn(this,Wl))return!0;if(!e(n)||ui(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 wo(t,e){if(e instanceof Xt&&zu.has(e.operator))return e.expression;if(e instanceof at&&e.left===t||e instanceof Wn&&e.init===t)return t}(function(t){function e(r){return F(We,r,{operator:"!",expression:r})}function n(r,a,c){var h=e(r);if(c){var d=F(je,a,{body:a});return zi(h,d)===d?a:h}return zi(h,a)}t(Ce,function(){return e(this)}),t(Rn,function(){throw new Error("Cannot negate a statement")}),t(Ft,function(){return e(this)}),t(yt,function(){return e(this)}),t(Yt,function(){return e(this)}),t(We,function(){return this.operator=="!"?this.expression:e(this)}),t(lt,function(r){var a=this.expressions.slice();return a.push(a.pop().negate(r)),nt(this,a)}),t(tt,function(r,a){var c=this.clone();return c.consequent=c.consequent.negate(r),c.alternative=c.alternative.negate(r),n(this,c,a)}),t(ae,function(r,a){var c=this.clone(),h=this.operator;if(r.option("unsafe_comps"))switch(h){case"<=":return c.operator=">",c;case"<":return c.operator=">=",c;case">=":return c.operator="<",c;case">":return c.operator="<=",c}switch(h){case"==":return c.operator="!=",c;case"!=":return c.operator="==",c;case"===":return c.operator="!==",c;case"!==":return c.operator="===",c;case"&&":return c.operator="||",c.left=c.left.negate(r,a),c.right=c.right.negate(r),n(this,c,a);case"||":return c.operator="&&",c.left=c.left.negate(r,a),c.right=c.right.negate(r),n(this,c,a)}return e(this)})})(function(t,e){t.DEFMETHOD("negate",function(n,r){return e.call(this,n,r)})}),function(t){function e(n){return F(We,n,{operator:"~",expression:n})}t(Ce,function(){return e(this)}),t(Qe,function(){const n=~this.value;return n.toString().length>this.value.toString().length?e(this):F(Qe,this,{value:n})}),t(We,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 zy=Ct("Boolean decodeURI decodeURIComponent Date encodeURI encodeURIComponent Error escape EvalError isFinite isNaN Number Object parseFloat parseInt RangeError ReferenceError String SyntaxError TypeError unescape URIError");Ve.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(ui(e)&&zy.has(e.name)||e instanceof Wt&&ui(e.expression)&&xd(e.expression.name,e.property))return!0}return this instanceof rr&&t.option("pure_new")||t.option("side_effects")&&ur(this,$l)?!0:!t.pure_funcs(this)}),Ce.DEFMETHOD("is_call_pure",vt),Wt.DEFMETHOD("is_call_pure",function(t){if(!t.option("unsafe"))return;const e=this.expression;let n;return e instanceof St?n="Array":e.is_boolean()?n="Boolean":e.is_number(t)?n="Number":e instanceof hr?n="RegExp":e.is_string(t)?n="String":this.may_throw_on_access(t)||(n="Object"),n!=null&&Td(n,this.property)});const Pr=t=>t&&t.aborts();(function(t){t(Rn,to),t(fa,yo);function e(){for(var n=0;n<this.body.length;n++)if(Pr(this.body[n]))return this.body[n];return null}t(Rr,to),t(Ze,e),t(Bi,e),t(Kr,function(){for(const n of this.properties)if(n instanceof Yn&&n.aborts())return n;return null}),t(Yn,e),t(Rt,function(){return this.alternative&&Pr(this.body)&&Pr(this.alternative)&&this})})(function(t,e){t.DEFMETHOD("aborts",e)}),Ce.DEFMETHOD("contains_this",function(){return Fn(this,t=>{if(t instanceof Vn)return dr;if(t!==this&&t instanceof qe&&!(t instanceof Yt))return!0})});function os(t,e,n,r,a,c){var h=e.parent(a),d=wo(n,h);if(d)return d;if(!c&&h instanceof Ve&&h.expression===n&&!(r instanceof Yt)&&!(r instanceof yt)&&!h.is_callee_pure(t)&&(!(r instanceof Ft)||!(h instanceof rr)&&r.contains_this()))return!0;if(h instanceof St)return os(t,e,h,h,a+1);if(h instanceof Jt&&n===h.value){var v=e.parent(a+1);return os(t,e,v,v,a+2)}if(h instanceof Xe&&h.expression===n){var S=gd(r,h.property);return!c&&os(t,e,h,S,a+1)}}function Hn(t,e){t.DEFMETHOD("_eval",e)}const ss=Symbol("This AST_Chain is nullish");Ce.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==ss)return this;if(typeof e=="string"){const n=this.size(t);if(e.length+2>n)return this}return e});var Wy=Ct("! ~ - + void");Ce.DEFMETHOD("is_constant",function(){return this instanceof Tt?!(this instanceof hr):this instanceof We&&this.expression instanceof Tt&&Wy.has(this.operator)}),Hn(Rn,function(){throw new Error(bu("Cannot evaluate a statement [{file}:{line},{col}]",this.start))}),Hn(Ge,yo),Hn(yt,yo),Hn(Ce,yo),Hn(Tt,function(){return this.getValue()});const Xy=typeof BigInt=="function";Hn(si,function(){return Xy?BigInt(this.value):this}),Hn(hr,function(t){let e=t.evaluated_regexps.get(this.value);if(e===void 0&&Jp(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}),Hn(Xn,function(){return this.segments.length!==1?this:this.segments[0].value}),Hn(Ft,function(t){if(t.option("unsafe")){var e=function(){};return e.node=this,e.toString=()=>this.print_to_string(),e}return this}),Hn(St,function(t,e){if(t.option("unsafe")){for(var n=[],r=0,a=this.elements.length;r<a;r++){var c=this.elements[r],h=c._eval(t,e);if(c===h)return this;n.push(h)}return n}return this}),Hn(Nt,function(t,e){if(t.option("unsafe")){for(var n={},r=0,a=this.properties.length;r<a;r++){var c=this.properties[r];if(c instanceof ht)return this;var h=c.key;if(h instanceof pt)h=h.name;else if(h instanceof Ce&&(h=h._eval(t,e),h===c.key))return this;if(typeof Object.prototype[h]=="function")return this;if(!(c.value instanceof Ft)&&(n[h]=c.value._eval(t,e),n[h]===c.value))return this}return n}return this});var qy=Ct("! typeof void");Hn(We,function(t,e){var n=this.expression;if(t.option("typeofs")&&this.operator=="typeof"&&(n instanceof Ge||n instanceof Ae&&n.fixed_value()instanceof Ge))return"function";if(qy.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 Yy=Ct("&& || ?? === !==");const Jy=Ct("== != === !=="),Cd=t=>typeof t=="object"||typeof t=="function"||typeof t=="symbol";Hn(ae,function(t,e){Yy.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&&Jy.has(this.operator)&&Cd(n)&&Cd(r)&&typeof n==typeof r)return this;if(typeof n=="bigint"!=(typeof r=="bigint")||typeof n=="bigint"&&(this.operator===">>>"||this.operator==="/"&&Number(r)===0))return this;var a;switch(this.operator){case"&&":a=n&&r;break;case"||":a=n||r;break;case"??":a=n??r;break;case"|":a=n|r;break;case"&":a=n&r;break;case"^":a=n^r;break;case"+":a=n+r;break;case"*":a=n*r;break;case"**":a=n**r;break;case"/":a=n/r;break;case"%":a=n%r;break;case"-":a=n-r;break;case"<<":a=n<<r;break;case">>":a=n>>r;break;case">>>":a=n>>>r;break;case"==":a=n==r;break;case"===":a=n===r;break;case"!=":a=n!=r;break;case"!==":a=n!==r;break;case"<":a=n<r;break;case"<=":a=n<=r;break;case">":a=n>r;break;case">=":a=n>=r;break;default:return this}return typeof a=="number"&&isNaN(a)&&t.find_parent(yr)?this:a}),Hn(tt,function(t,e){var n=this.condition._eval(t,e);if(n===this.condition)return this;var r=n?this.consequent:this.alternative,a=r._eval(t,e);return a===r?this:a});const of=new Set;Hn(Ae,function(t,e){if(of.has(this))return this;var n=this.fixed_value();if(!n)return this;of.add(this);const r=n._eval(t,e);if(of.delete(this),r===n)return this;if(r&&typeof r=="object"){var a=this.definition().escaped;if(a&&e>a)return this}return r});const Od={Array,Math,Number,Object,String},Zy=new Set(["dotAll","global","ignoreCase","multiline","sticky","unicode"]);Hn(Xe,function(t,e){let n=this.expression._eval(t,e+1);if(n===ss||this.optional&&n==null)return ss;if(this.property==="length"){if(typeof n=="string")return n.length;if(n instanceof St&&n.elements.every(v=>!(v instanceof ht))&&n.elements.every(v=>!v.has_side_effects(t)))return n.elements.length}if(t.option("unsafe")){var r=this.property;if(r instanceof Ce&&(r=r._eval(t,e),r===this.property))return this;var a=this.expression;if(ui(a)){var c,h=a.name==="hasOwnProperty"&&r==="call"&&(c=t.parent()&&t.parent().args)&&c&&c[0]&&c[0].evaluate(t);if(h=h instanceof Wt?h.expression:h,h==null||h.thedef&&h.thedef.undeclared)return this.clone();if(!Ky(a.name,r))return this;n=Od[a.name]}else{if(n instanceof RegExp){if(r=="source")return Eu(n.source);if(r=="flags"||Zy.has(r))return n[r]}if(!n||n===a||!tr(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}),Hn(gn,function(t,e){const n=this.expression._eval(t,e);return n===ss?void 0:n===this.expression?this:n}),Hn(Ve,function(t,e){var n=this.expression;const r=n._eval(t,e);if(r===ss||this.optional&&r==null)return ss;if(t.option("unsafe")&&n instanceof Xe){var a=n.property;if(a instanceof Ce&&(a=a._eval(t,e),a===n.property))return this;var c,h=n.expression;if(ui(h)){var d=h.name==="hasOwnProperty"&&a==="call"&&this.args[0]&&this.args[0].evaluate(t);if(d=d instanceof Wt?d.expression:d,d==null||d.thedef&&d.thedef.undeclared)return this.clone();if(!xd(h.name,a))return this;c=Od[h.name]}else{if(c=h._eval(t,e+1),c===h||!c)return this;if(!Td(c.constructor.name,a))return this}for(var v=[],S=0,C=this.args.length;S<C;S++){var T=this.args[S],D=T._eval(t,e);if(T===D)return this;if(T instanceof Ge)return this;v.push(D)}try{return c[a].apply(c,v)}catch{}}return this}),Hn(rr,yo);function rn(t,e){t.DEFMETHOD("drop_side_effect_free",e)}function Ea(t,e,n){var r=t.length;if(!r)return null;for(var a=[],c=!1,h=0;h<r;h++){var d=t[h].drop_side_effect_free(e,n);c|=d!==t[h],d&&(a.push(d),n=!1)}return c?a.length?a:null:t}rn(Ce,yo),rn(Tt,to),rn(Vn,to),rn(Ve,function(t,e){if(is(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=Ea(n,t,e),n&&nt(this,n)}if(Hu(this.expression)&&(!this.expression.name||!this.expression.name.definition().references.length)){var r=this.clone();return r.expression.process_expression(!1,t),r}return this}var a=Ea(this.args,t,e);return a&&nt(this,a)}),rn(Mi,to),rn(Ft,to),rn(Yt,to),rn(yt,function(t){const e=[];if(this.is_self_referential()&&this.has_side_effects(t))return this;const n=this.extends&&this.extends.drop_side_effect_free(t);n&&e.push(n);for(const a of this.properties)if(a instanceof Yn){if(a.has_side_effects(t))return this}else{const c=a.drop_side_effect_free(t);c&&e.push(c)}if(!e.length)return null;const r=nt(this,e);return this instanceof Kr?F(je,this,{body:r}):r}),rn(fr,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?nt(this,[e,n]):e||n||null}),rn(ae,function(t,e){var n=this.right.drop_side_effect_free(t);if(!n)return this.left.drop_side_effect_free(t,e);if(ko.has(this.operator)){if(n===this.right)return this;var r=this.clone();return r.right=n,r}else{var a=this.left.drop_side_effect_free(t,e);return a?nt(this,[a,n]):this.right.drop_side_effect_free(t,e)}}),rn(at,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(Sr(this,ns);e instanceof Xe;)e=e.expression;return e.is_constant_expression(t.find_parent(qe))?this.right.drop_side_effect_free(t):this}),rn(tt,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?F(ae,this,{operator:"||",left:this.condition,right:n}):this.condition.drop_side_effect_free(t);if(!n)return F(ae,this,{operator:"&&",left:this.condition,right:e});var r=this.clone();return r.consequent=e,r.alternative=n,r}),rn(Xt,function(t,e){if(zu.has(this.operator))return this.expression.has_side_effects(t)?rs(this,ns):Sr(this,ns),this;if(this.operator=="typeof"&&this.expression instanceof Ae)return null;var n=this.expression.drop_side_effect_free(t,e);return e&&n&&Zl(n)?n===this.expression&&this.operator=="!"?this:n.negate(t,e):n}),rn(Ae,function(t){return this.is_declared(t)||Ku.has(this.name)?null:this}),rn(Nt,function(t,e){var n=Ea(this.properties,t,e);return n&&nt(this,n)}),rn(cn,function(t,e){const r=this instanceof Jt&&this.key instanceof Ce&&this.key.drop_side_effect_free(t,e),a=this.value&&this.value.drop_side_effect_free(t,e);return r&&a?nt(this,[r,a]):r||a}),rn(Bn,function(){return this.computed_key()?this.key:null}),rn(Gr,function(){return this.computed_key()?this.key:null}),rn(ri,function(){return this.computed_key()?this.key:null}),rn(St,function(t,e){var n=Ea(this.elements,t,e);return n&&nt(this,n)}),rn(Wt,function(t,e){return is(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)}),rn(An,function(t,e){if(is(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?nt(this,[r,n]):r||n}),rn(gn,function(t,e){return this.expression.drop_side_effect_free(t,e)}),rn(lt,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?nt(this,r):F(Qe,this,{value:0})}),rn(ht,function(t,e){return this.expression.drop_side_effect_free(t,e)}),rn(gi,to),rn(Xn,function(t){var e=Ea(this.segments,t,ai);return e&&nt(this,e)});const Qy=/keep_assign/;qe.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 a=Qy.test(t.option("unused"))?vt:function(P){if(P instanceof at&&!P.logical&&(jn(P,ns)||P.operator=="="))return P.left;if(P instanceof Xt&&jn(P,ns))return P.expression};var c=new Map,h=new Map;e instanceof zt&&t.top_retain&&e.variables.forEach(function(P){t.top_retain(P)&&c.set(P.id,P)});var d=new Map,v=new Map,S=new Set,C=this,T=new Ln(function(P,b){if(P instanceof Ge&&P.uses_arguments&&!T.has_directive("use strict")&&P.argnames.forEach(function(O){if(O instanceof In){var R=O.definition();c.set(R.id,R)}}),P===e)return;if(P instanceof yt&&P.has_side_effects(t)&&(P.is_self_referential()&&S.add(P),P.visit_nondeferred_class_parts(T)),P instanceof en||P instanceof Kr){var y=P.name.definition();return(T.parent()instanceof Dn||!n&&C===e)&&y.global&&c.set(y.id,y),vu(v,y.id,P),!0}const g=C===e;if(P instanceof Pn&&g&&vu(d,P.definition().id,P),P instanceof un&&g){const O=T.parent()instanceof Dn;return P.definitions.forEach(function(R){if(R.name instanceof Vi&&vu(d,R.name.definition().id,R),(O||!r)&&Fn(R.name,U=>{if(U instanceof In){const X=U.definition();X.global&&c.set(X.id,X)}}),R.name instanceof $t&&R.walk(T),R.name instanceof In&&R.value){var k=R.name.definition();vu(v,k.id,R.value),!k.chained&&R.name.fixed_value()===R.value&&h.set(k.id,R),R.value.has_side_effects(t)&&R.value.walk(T)}}),!0}return M(P,b)});e.walk(T),T=new Ln(M),c.forEach(function(P){var b=v.get(P.id);b&&b.forEach(function(y){y.walk(T)})}),S.forEach(function(P){P.walk(T)});var D=new mr(function(b,y,g){var O=D.parent();if(r){const re=a(b);if(re instanceof Ae){var k=re.definition(),R=c.has(k.id);if(b instanceof at){if(!R||h.has(k.id)&&h.get(k.id)!==b)return Oo(O,b,b.right.transform(D))}else if(!R)return g?qt.skip:F(Qe,b,{value:0})}}if(C===e){var k;if(b.name&&(b instanceof Si&&!zo(t.option("keep_classnames"),(k=b.name.definition()).name)||b instanceof Ft&&!zo(t.option("keep_fnames"),(k=b.name.definition()).name))&&(!c.has(k.id)||k.orig.length>1)&&(b.name=null),b instanceof Ge&&!(b instanceof Mi))for(var U=!t.option("keep_fargs"),X=b.argnames,J=X.length;--J>=0;){var G=X[J];G instanceof ht&&(G=G.expression),G instanceof Nr&&(G=G.left),!(G instanceof $t)&&!c.has(G.definition().id)?(Sr(G,ao),U&&X.pop()):U=!1}if(b instanceof Kr&&b!==e){const re=b.name.definition();if(y(b,this),!(re.global&&!n||c.has(re.id))){const fe=b.drop_side_effect_free(t);return fe??(re.eliminated++,g?qt.skip:F(wt,b))}return b}if(b instanceof en&&b!==e){const re=b.name.definition();if(!(re.global&&!n||c.has(re.id)))return re.eliminated++,g?qt.skip:F(wt,b)}if(b instanceof un&&!(O instanceof Wn&&O.init===b)){var Y=!(O instanceof zt)&&!(b instanceof Nn),$=[],te=[],ee=[],_e=[];switch(b.definitions.forEach(function(re){re.value&&(re.value=re.value.transform(D));var de=re.name instanceof $t,fe=de?new ts(null,{name:"<destructure>"}):re.name.definition();if(Y&&fe.global)return ee.push(re);if(!(r||Y)||de&&(re.name.names.length||re.name.is_array||t.option("pure_getters")!=!0)||c.has(fe.id)){if(re.value&&h.has(fe.id)&&h.get(fe.id)!==re&&(re.value=re.value.drop_side_effect_free(t)),re.name instanceof Vi){var Oe=d.get(fe.id);if(Oe.length>1&&(!re.value||fe.orig.indexOf(re.name)>fe.eliminated)){if(re.value){var Ie=F(Ae,re.name,re.name);fe.references.push(Ie);var ve=F(at,re,{operator:"=",logical:!1,left:Ie,right:re.value});h.get(fe.id)===re&&h.set(fe.id,ve),_e.push(ve.transform(D))}Ko(Oe,re),fe.eliminated++;return}}re.value?(_e.length>0&&(ee.length>0?(_e.push(re.value),re.value=nt(re.value,_e)):$.push(F(je,b,{body:nt(b,_e)})),_e=[]),ee.push(re)):te.push(re)}else if(fe.orig[0]instanceof zr){var Ue=re.value&&re.value.drop_side_effect_free(t);Ue&&_e.push(Ue),re.value=null,te.push(re)}else{var Ue=re.value&&re.value.drop_side_effect_free(t);Ue&&_e.push(Ue),fe.eliminated++}}),(te.length>0||ee.length>0)&&(b.definitions=te.concat(ee),$.push(b)),_e.length>0&&$.push(F(je,b,{body:nt(b,_e)})),$.length){case 0:return g?qt.skip:F(wt,b);case 1:return $[0];default:return g?qt.splice($):F(Ze,b,{body:$})}}if(b instanceof xn){y(b,this);var ge;return b.init instanceof Ze&&(ge=b.init,b.init=ge.body.pop(),ge.body.push(b)),b.init instanceof je?b.init=b.init.body:uo(b.init)&&(b.init=null),ge?g?qt.splice(ge.body):ge:b}if(b instanceof Qn&&b.body instanceof xn){if(y(b,this),b.body instanceof Ze){var ge=b.body;return b.body=ge.body.pop(),ge.body.push(b),g?qt.splice(ge.body):ge}return b}if(b instanceof Ze)return y(b,this),g&&b.body.every(ef)?qt.splice(b.body):b;if(b instanceof qe&&!(b instanceof Yn)){const re=C;return C=b,y(b,this),C=re,b}}});e.transform(D);function M(P,b){var y;const g=a(P);if(g instanceof Ae&&!Ql(P.left,ji)&&e.variables.get(g.name)===(y=g.definition()))return P instanceof at&&(P.right.walk(T),!y.chained&&P.left.fixed_value()===P.right&&h.set(y.id,P)),!0;if(P instanceof Ae){if(y=P.definition(),!c.has(y.id)&&(c.set(y.id,y),y.orig[0]instanceof zr)){const R=y.scope.is_block_scope()&&y.scope.get_defun_scope().variables.get(y.name);R&&c.set(R.id,R)}return!0}if(P instanceof yt)return b(),!0;if(P instanceof qe&&!(P instanceof Yn)){var O=C;return C=P,b(),C=O,!0}}});function ln(t,e){t.DEFMETHOD("reduce_vars",e)}ln(Ce,_r);function sf(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 Pn&&e.scope.uses_arguments?e.fixed=!1:e.orig[0]instanceof io||!t.exposed(e)?e.fixed=e.init:e.fixed=!1}function af(t,e,n){n.variables.forEach(function(r){sf(e,r),r.fixed===null?(t.defs_to_safe_ids.set(r.id,t.safe_ids),Wi(t,r,!0)):r.fixed&&(t.loop_ids.set(r.id,t.in_loop),Wi(t,r,!0))})}function Ro(t,e){e.block_scope&&e.block_scope.variables.forEach(n=>{sf(t,n)})}function bn(t){t.safe_ids=Object.create(t.safe_ids)}function kn(t){t.safe_ids=Object.getPrototypeOf(t.safe_ids)}function Wi(t,e,n){t.safe_ids[e.id]=n}function Dd(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 Pn||n.name=="arguments")return!1;e.fixed=F(tn,n)}return!0}return e.fixed instanceof en}function uf(t,e,n,r){if(e.fixed===void 0)return!0;let a;return e.fixed===null&&(a=t.defs_to_safe_ids.get(e.id))?(a[e.id]=!1,t.defs_to_safe_ids.delete(e.id),!0):!tr(t.safe_ids,e.id)||!Dd(t,e)||e.fixed===!1||e.fixed!=null&&(!r||e.references.length>e.assignments)?!1:e.fixed instanceof en?r instanceof Ce&&e.fixed.parent_scope===n:e.orig.every(c=>!(c instanceof io||c instanceof Ti||c instanceof oi))}function e0(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 t0(t){return t?t.is_constant()||t instanceof Ge||t instanceof Vn:!1}function Sa(t,e,n,r,a,c=0,h=1){var d=t.parent(c);if(!(a&&(a.is_constant()||a instanceof Si))){if(d instanceof at&&(d.operator==="="||d.logical)&&r===d.right||d instanceof Ve&&(r!==d.expression||d instanceof rr)||d instanceof lr&&r===d.value&&r.scope!==e.scope||d instanceof Lt&&r===d.value||d instanceof br&&r===d.value&&r.scope!==e.scope){h>1&&!(a&&a.is_constant_expression(n))&&(h=1),(!e.escaped||e.escaped>h)&&(e.escaped=h);return}else if(d instanceof St||d instanceof gr||d instanceof ae&&ko.has(d.operator)||d instanceof tt&&r!==d.condition||d instanceof ht||d instanceof lt&&r===d.tail_node())Sa(t,e,n,d,d,c+1,h);else if(d instanceof Jt&&r===d.value){var v=t.parent(c+1);Sa(t,e,n,v,v,c+2,h)}else if(d instanceof Xe&&r===d.expression&&(a=gd(a,d.property),Sa(t,e,n,d,a,c+1,h+1),a))return;c>0||d instanceof lt&&r!==d.tail_node()||d instanceof je||(e.direct_access=!0)}}const cf=t=>Fn(t,e=>{if(e instanceof pt){var n=e.definition();n&&(e instanceof Ae&&n.references.push(e),n.fixed=!1)}});ln(Mi,function(t,e,n){return bn(t),af(t,n,this),e(),kn(t),!0}),ln(at,function(t,e,n){var r=this;if(r.left instanceof $t){cf(r.left);return}const a=()=>{if(r.logical)return r.left.walk(t),bn(t),r.right.walk(t),kn(t),!0};var c=r.left;if(!(c instanceof Ae))return a();var h=c.definition(),d=uf(t,h,c.scope,r.right);if(h.assignments++,!d)return a();var v=h.fixed;if(!v&&r.operator!="="&&!r.logical)return a();var S=r.operator=="=",C=S?r.right:r;return os(n,t,r,C,0)?a():(h.references.push(c),r.logical||(S||(h.chained=!0),h.fixed=S?function(){return r.right}:function(){return F(ae,r,{operator:r.operator.slice(0,-1),left:v instanceof Ce?v:v(),right:r.right})}),r.logical?(Wi(t,h,!1),bn(t),r.right.walk(t),kn(t),!0):(Wi(t,h,!1),r.right.walk(t),Wi(t,h,!0),Sa(t,h,c.scope,r,C,0,1),!0))}),ln(ae,function(t){if(ko.has(this.operator))return this.left.walk(t),bn(t),this.right.walk(t),kn(t),!0}),ln(Tn,function(t,e,n){Ro(n,this)}),ln(Jr,function(t){return bn(t),this.expression.walk(t),kn(t),bn(t),bo(this,t),kn(t),!0}),ln(yt,function(t,e){return rs(this,va),bn(t),e(),kn(t),!0}),ln(Yn,function(t,e,n){Ro(n,this)}),ln(tt,function(t){return this.condition.walk(t),bn(t),this.consequent.walk(t),kn(t),bn(t),this.alternative.walk(t),kn(t),!0}),ln(gn,function(t,e){const n=t.safe_ids;return e(),t.safe_ids=n,!0}),ln(Ve,function(t){this.expression.walk(t),this.optional&&bn(t);for(const e of this.args)e.walk(t);return!0}),ln(Xe,function(t){if(this.optional)return this.expression.walk(t),bn(t),this.property instanceof Ce&&this.property.walk(t),!0}),ln(So,function(t,e){return bn(t),e(),kn(t),!0});function n0(t,e,n){rs(this,va),bn(t),af(t,n,this);var r;return!this.name&&!this.uses_arguments&&!this.pinned()&&(r=t.parent())instanceof Ve&&r.expression===this&&!r.args.some(a=>a instanceof ht)&&this.argnames.every(a=>a instanceof pt)&&this.argnames.forEach((a,c)=>{if(a.definition){var h=a.definition();h.orig.length>1||(h.fixed===void 0&&(!this.uses_arguments||t.has_directive("use strict"))?(h.fixed=function(){return r.args[c]||F(tn,r)},t.loop_ids.set(h.id,t.in_loop),Wi(t,h,!0)):h.fixed=!1)}}),e(),kn(t),kd(this),!0}function kd(t){const e=[];Fn(t,c=>{if(c!==t&&(c instanceof en&&e.push(c),c instanceof qe||c instanceof je))return!0});const n=new Set,r=new Set,a=[];for(const c of e){const h=c.name.definition(),d=e.some(v=>v!==c&&v.enclosed.indexOf(h)!==-1);for(const v of c.enclosed)if(!(v.fixed===!1||v===h||v.scope.get_defun_scope()!==t)&&!(v.assignments===0&&v.orig.length===1&&v.orig[0]instanceof Ti)){if(d){v.fixed=!1;continue}a.push({defun:c,def:v,fname_def:h}),n.add(v.id),n.add(h.id),r.add(c)}}if(a.length){const c=[],h=new Set,d=new Map;let v;t.walk(v=new Ln((S,C)=>{if(S instanceof en&&r.has(S)){const T=c.length;C();const D=c.length;return d.set(S,{start:T,end:D}),!0}if(S instanceof pt&&S.thedef){const T=S.definition().id;n.has(T)&&((S instanceof In||wo(S,v))&&h.add(c.length),c.push(T))}}));for(const{def:S,defun:C,fname_def:T}of a){const D=d.get(C),M=(g,O=0,R=!1)=>{let k=O;for(;k=c.indexOf(g,k),k!==-1;)if(k>=D.start&&k<D.end){k=D.end;continue}else if(R&&!h.has(k)){k++;continue}else break;return k},P=M(T.id),b=M(S.id,P+1,!0);P!=-1&&b!=-1&&b>P&&(S.fixed=!1)}}}ln(Ge,n0),ln(yi,function(t,e,n){Ro(n,this);const r=t.in_loop;return t.in_loop=this,bn(t),this.body.walk(t),Jl(this)&&(kn(t),bn(t)),this.condition.walk(t),kn(t),t.in_loop=r,!0}),ln(xn,function(t,e,n){Ro(n,this),this.init&&this.init.walk(t);const r=t.in_loop;return t.in_loop=this,bn(t),this.condition&&this.condition.walk(t),this.body.walk(t),this.step&&(Jl(this)&&(kn(t),bn(t)),this.step.walk(t)),kn(t),t.in_loop=r,!0}),ln(Wn,function(t,e,n){Ro(n,this),cf(this.init),this.object.walk(t);const r=t.in_loop;return t.in_loop=this,bn(t),this.body.walk(t),kn(t),t.in_loop=r,!0}),ln(Rt,function(t){return this.condition.walk(t),bn(t),this.body.walk(t),kn(t),this.alternative&&(bn(t),this.alternative.walk(t),kn(t)),!0}),ln(Qn,function(t){return bn(t),this.body.walk(t),kn(t),!0}),ln(zr,function(){this.definition().fixed=!1}),ln(Ae,function(t,e,n){var r=this.definition();r.references.push(this),r.references.length==1&&!r.fixed&&r.orig[0]instanceof Ti&&t.loop_ids.set(r.id,t.in_loop);var a;r.fixed===void 0||!Dd(t,r)?r.fixed=!1:r.fixed&&(a=this.fixed_value(),a instanceof Ge&&tf(t,r)?r.recursive_refs++:a&&!n.exposed(r)&&e0(t,n,r)?r.single_use=a instanceof Ge&&!a.pinned()||a instanceof yt||r.scope===this.scope&&a.is_constant_expression():r.single_use=!1,os(n,t,this,a,0,t0(a))&&(r.single_use?r.single_use="m":r.fixed=!1)),Sa(t,r,this.scope,this,a,0,1)}),ln(zt,function(t,e,n){return this.globals.forEach(function(r){sf(n,r)}),af(t,n,this),e(),kd(this),!0}),ln(vr,function(t,e,n){return Ro(n,this),bn(t),this.body.walk(t),kn(t),this.bcatch&&(bn(t),this.bcatch.walk(t),kn(t)),this.bfinally&&this.bfinally.walk(t),!0}),ln(Xt,function(t){var e=this;if(!(e.operator!=="++"&&e.operator!=="--")){var n=e.expression;if(n instanceof Ae){var r=n.definition(),a=uf(t,r,n.scope,!0);if(r.assignments++,!!a){var c=r.fixed;if(c)return r.references.push(n),r.chained=!0,r.fixed=function(){return F(ae,e,{operator:e.operator.slice(0,-1),left:F(We,e,{operator:"+",expression:c instanceof Ce?c:c()}),right:F(Qe,e,{value:1})})},Wi(t,r,!0),!0}}}}),ln(Lt,function(t,e){var n=this;if(n.name instanceof $t){cf(n.name);return}var r=n.name.definition();if(n.value){if(uf(t,r,n.name.scope,n.value))return r.fixed=function(){return n.value},t.loop_ids.set(r.id,t.in_loop),Wi(t,r,!1),e(),Wi(t,r,!0),!0;r.fixed=!1}}),ln(Li,function(t,e,n){Ro(n,this);const r=t.in_loop;return t.in_loop=this,bn(t),e(),kn(t),t.in_loop=r,!0});function lf(t){return t instanceof Vr&&t.body instanceof Ze?t.body:t}function wd(t){if(t instanceof Vn)return!0;if(t instanceof Ae)return t.definition().orig[0]instanceof oi;if(t instanceof Xe){if(t=t.expression,t instanceof Ae){if(t.is_immutable())return!1;t=t.fixed_value()}return t?t instanceof hr?!1:t instanceof Tt?!0:wd(t):!0}return!1}function r0(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(F(Lt,n,{name:r,value:null}))})}),e.length?F(Nn,t,{definitions:e}):null}function No(t,e,n){Fn(e,r=>{if(r instanceof Nn){const a=r0(r);return a&&n.push(a),!0}if(r instanceof en&&(r===e||!t.has_directive("use strict")))return n.push(r===e?r:F(Nn,r,{definitions:[F(Lt,r,{name:F(Vi,r.name,r.name),value:null})]})),!0;if(r instanceof Dn||r instanceof Rr)return n.push(r),!0;if(r instanceof qe)return!0})}function Wu(t,e){const n=e.find_scope(),r=n.get_defun_scope(),{in_loop:a,in_try:c}=v();var h,d=10;do h=!1,C(t),e.option("dead_code")&&D(t,e),e.option("if_return")&&T(t,e),e.sequences_limit>0&&(P(t,e),y(t,e)),e.option("join_vars")&&O(t),e.option("collapse_vars")&&S(t,e);while(h&&d-- >0);function v(){var R=e.self(),k=0,U=!1,X=!1;do if(R instanceof Vr)U=!0;else{if(R instanceof qe)break;R instanceof Pu&&(X=!0)}while(R=e.parent(k++));return{in_loop:U,in_try:X}}function S(R,k){if(n.pinned()||r.pinned())return R;for(var U,X=[],J=R.length,G=new mr(function(j){if(ue)return j;if(!ie)return j!==$[te]?j:(te++,te<$.length?Et(j):(ie=!0,ge=ke(j,0),ge===j&&(ue=!0),j));var Ne=G.parent();if(j instanceof at&&(j.logical||j.operator!="="&&de.equivalent_to(j.left))||j instanceof gr||j instanceof Ve&&de instanceof Xe&&de.equivalent_to(j.expression)||(j instanceof Ve||j instanceof Xe)&&j.optional||j instanceof Fi||j instanceof $t||j instanceof ht&&j.expression instanceof pt&&(j.expression instanceof Vn||j.expression.definition().references.length>1)||j instanceof Vr&&!(j instanceof xn)||j instanceof Yr||j instanceof vr||j instanceof yr||j instanceof br||j instanceof Dn||j instanceof yt||Ne instanceof xn&&j!==Ne.init||!ve&&j instanceof Ae&&!j.is_declared(k)&&!Ku.has(j)||j instanceof Ae&&Ne instanceof Ve&&ur(Ne,Ao)||j instanceof cn&&j.key instanceof Ce)return ue=!0,j;if(!re&&(!Oe||!ve)&&(Ne instanceof ae&&ko.has(Ne.operator)&&Ne.left!==j||Ne instanceof tt&&Ne.condition!==j||Ne instanceof Rt&&Ne.condition!==j)&&(re=Ne),be&&!(j instanceof In)&&de.equivalent_to(j)&&!Ai(G.find_scope()||n,fe)){if(re)return ue=!0,j;if(wo(j,Ne))return _e&&xe++,j;if(xe++,_e&&ee instanceof Lt)return j;if(h=ue=!0,ee instanceof $i)return F(We,ee,ee);if(ee instanceof Lt){var Be=ee.name.definition(),Me=ee.value;return Be.references.length-Be.replaced==1&&!k.exposed(Be)?(Be.replaced++,Z&&vd(Me)?Me.transform(k):Oo(Ne,j,Me)):F(at,ee,{operator:"=",logical:!1,left:F(Ae,ee.name,ee.name),right:Me})}return rs(ee,ns),ee}var ut;return(j instanceof Ve||j instanceof lr&&(Ie||de instanceof Xe||Pt(de))||j instanceof Xe&&(Ie||j.expression.may_throw_on_access(k))||j instanceof Ae&&(fe.has(j.name)&&fe.get(j.name).modified||Ie&&Pt(j))||j instanceof Lt&&j.value&&(fe.has(j.name.name)||Ie&&Pt(j.name))||(ut=wo(j.left,j))&&(ut instanceof Xe||fe.has(ut.name))||Ue&&(c?j.has_side_effects(k):fn(j)))&&(ge=j,j instanceof qe&&(ue=!0)),Et(j)},function(j){ue||(ge===j&&(ue=!0),re===j&&(re=null))}),Y=new mr(function(j){if(ue)return j;if(!ie)return j!==$[te]?j:(te++,te<$.length?void 0:(ie=!0,j));if(j instanceof Ae&&j.name==Vt.name)return--xe||(ue=!0),wo(j,Y.parent())?j:(Vt.replaced++,_e.replaced--,ee.value);if(j instanceof So||j instanceof qe)return j});--J>=0;){J==0&&k.option("unused")&&Zt();var $=[];for(se(R[J]);X.length>0;){$=X.pop();var te=0,ee=$[$.length-1],_e=null,ge=null,re=null,de=bt(ee);if(!(!de||wd(de)||de.has_side_effects(k))){var fe=Dt(ee),Oe=Qt(de);de instanceof Ae&&fe.set(de.name,{def:de.definition(),modified:!1});var Ie=dn(ee),ve=jt(),Ue=ee.may_throw(k),Z=ee.name instanceof Pn,ie=Z,ue=!1,xe=0,be=!U||!ie;if(!be){for(let j=k.self().argnames.lastIndexOf(ee.name)+1;!ue&&j<U.length;j++)U[j].transform(G);be=!0}for(var xt=J;!ue&&xt<R.length;xt++)R[xt].transform(G);if(_e){var Vt=ee.name.definition();if(ue&&Vt.references.length-Vt.replaced>xe)xe=!1;else{ue=!1,te=0,ie=Z;for(var xt=J;!ue&&xt<R.length;xt++)R[xt].transform(Y);_e.single_use=!1}}xe&&!Un(ee)&&R.splice(J,1)}}}function Et(j){if(j instanceof qe)return j;if(j instanceof qn){j.expression=j.expression.transform(G);for(var Ne=0,Be=j.body.length;!ue&&Ne<Be;Ne++){var Me=j.body[Ne];if(Me instanceof Jr){if(!ie){if(Me!==$[te])continue;te++}if(Me.expression=Me.expression.transform(G),!ve)break}}return ue=!0,j}}function Mt(j,Ne){if(j.global)return!1;let Be=j.scope;for(;Be&&Be!==Ne;){if(Be.variables.has(j.name))return!0;Be=Be.parent_scope}return!1}function gt(j,Ne,Be){var Me=!1,ut=!(j instanceof Yt);return Ne.walk(new Ln(function(on,ft){if(Me)return!0;if(on instanceof Ae&&(j.variables.has(on.name)||Mt(on.definition(),j))){var vn=on.definition().scope;if(vn!==r){for(;vn=vn.parent_scope;)if(vn===r)return!0}return Me=!0}if((Be||ut)&&on instanceof Vn)return Me=!0;if(on instanceof qe&&!(on instanceof Yt)){var Cn=ut;return ut=!1,ft(),ut=Cn,!0}})),Me}function Ot(j){return!(j instanceof ht||Fn(j,Be=>{if(Be instanceof gr)return dr}))}function Zt(){var j,Ne=k.self();if(Hu(Ne)&&!Ne.name&&!Ne.uses_arguments&&!Ne.pinned()&&(j=k.parent())instanceof Ve&&j.expression===Ne&&j.args.every(Ot)){var Be=k.has_directive("use strict");Be&&!Rl(Be,Ne.body)&&(Be=!1);var Me=Ne.argnames.length;U=j.args.slice(Me);for(var ut=new Set,on=Me;--on>=0;){var ft=Ne.argnames[on],vn=j.args[on];const fi=ft.definition&&ft.definition();if(!(fi&&fi.orig.length>1)&&(U.unshift(F(Lt,ft,{name:ft,value:vn})),!ut.has(ft.name)))if(ut.add(ft.name),ft instanceof ht){var Cn=j.args.slice(on);Cn.every(hn=>!gt(Ne,hn,Be))&&X.unshift([F(Lt,ft,{name:ft.expression,value:F(St,j,{elements:Cn})})])}else vn?(vn instanceof Ge&&vn.pinned()||gt(Ne,vn,Be))&&(vn=null):vn=F(tn,ft).transform(k),vn&&X.unshift([F(Lt,ft,{name:ft,value:vn})])}}}function se(j){if($.push(j),j instanceof at)!j.left.has_side_effects(k)&&!(j.right instanceof gn)&&X.push($.slice()),se(j.right);else if(j instanceof ae)se(j.left),se(j.right);else if(j instanceof Ve&&!ur(j,Ao))se(j.expression),j.args.forEach(se);else if(j instanceof Jr)se(j.expression);else if(j instanceof tt)se(j.condition),se(j.consequent),se(j.alternative);else if(j instanceof un){var Ne=j.definitions.length,Be=Ne-200;for(Be<0&&(Be=0);Be<Ne;Be++)se(j.definitions[Be])}else j instanceof Iu?(se(j.condition),j.body instanceof Tn||se(j.body)):j instanceof lr?j.value&&se(j.value):j instanceof xn?(j.init&&se(j.init),j.condition&&se(j.condition),j.step&&se(j.step),j.body instanceof Tn||se(j.body)):j instanceof Wn?(se(j.object),j.body instanceof Tn||se(j.body)):j instanceof Rt?(se(j.condition),j.body instanceof Tn||se(j.body),j.alternative&&!(j.alternative instanceof Tn)&&se(j.alternative)):j instanceof lt?j.expressions.forEach(se):j instanceof je?se(j.body):j instanceof qn?(se(j.expression),j.body.forEach(se)):j instanceof Xt?(j.operator=="++"||j.operator=="--")&&X.push($.slice()):j instanceof Lt&&j.value&&!(j.value instanceof gn)&&(X.push($.slice()),se(j.value));$.pop()}function ke(j,Ne,Be){var Me=G.parent(Ne);return Me instanceof at?Be&&!Me.logical&&!(Me.left instanceof Xe||fe.has(Me.left.name))?ke(Me,Ne+1,Be):j:Me instanceof ae?Be&&(!ko.has(Me.operator)||Me.left===j)?ke(Me,Ne+1,Be):j:Me instanceof Ve||Me instanceof Jr?j:Me instanceof tt?Be&&Me.condition===j?ke(Me,Ne+1,Be):j:Me instanceof un?ke(Me,Ne+1,!0):Me instanceof lr?Be?ke(Me,Ne+1,Be):j:Me instanceof Rt?Be&&Me.condition===j?ke(Me,Ne+1,Be):j:Me instanceof Vr?j:Me instanceof lt?ke(Me,Ne+1,Me.tail_node()!==j):Me instanceof je?ke(Me,Ne+1,!0):Me instanceof qn||Me instanceof Lt?j:null}function me(j){var Ne=j.value;if(Ne instanceof Ae&&Ne.name!="arguments"){var Be=Ne.definition();if(!Be.undeclared)return _e=Be}}function bt(j){if(j instanceof at&&j.logical)return!1;if(j instanceof Lt&&j.name instanceof In){var Ne=j.name.definition();if(!Rl(j.name,Ne.orig))return;var Be=Ne.references.length-Ne.replaced;if(!Be)return;var Me=Ne.orig.length-Ne.eliminated;if(Me>1&&!(j.name instanceof Pn)||(Be>1?me(j):!k.exposed(Ne)))return F(Ae,j.name,j.name)}else{const ut=j instanceof at?j.left:j.expression;return!Ql(ut,io)&&!Ql(ut,qo)&&ut}}function At(j){return j instanceof at?j.right:j.value}function Dt(j){var Ne=new Map;if(j instanceof Xt)return Ne;var Be=new Ln(function(Me){for(var ut=Me;ut instanceof Xe;)ut=ut.expression;if(ut instanceof Ae){const on=Ne.get(ut.name);(!on||!on.modified)&&Ne.set(ut.name,{def:ut.definition(),modified:os(k,Be,Me,Me,0)})}});return At(j).walk(Be),Ne}function Un(j){if(j.name instanceof Pn){var Ne=k.parent(),Be=k.self().argnames,Me=Be.indexOf(j.name);if(Me<0)Ne.args.length=Math.min(Ne.args.length,Be.length-1);else{var ut=Ne.args;ut[Me]&&(ut[Me]=F(Qe,ut[Me],{value:0}))}return!0}var on=!1;return R[J].transform(new mr(function(ft,vn,Cn){if(on)return ft;if(ft===j||ft.body===j)return on=!0,ft instanceof Lt?(ft.value=ft.name instanceof io?F(tn,ft.value):null,ft):Cn?qt.skip:null},function(ft){if(ft instanceof lt)switch(ft.expressions.length){case 0:return null;case 1:return ft.expressions[0]}}))}function Qt(j){for(;j instanceof Xe;)j=j.expression;return j instanceof Ae&&j.definition().scope.get_defun_scope()===r&&!(a&&(fe.has(j.name)||ee instanceof Xt||ee instanceof at&&!ee.logical&&ee.operator!="="))}function dn(j){return j instanceof Xt?zu.has(j.operator):At(j).has_side_effects(k)}function jt(){if(Ie)return!1;if(_e)return!0;if(de instanceof Ae){var j=de.definition();if(j.references.length-j.replaced==(ee instanceof Lt?1:2))return!0}return!1}function Pt(j){if(!j.definition)return!0;var Ne=j.definition();return Ne.orig.length==1&&Ne.orig[0]instanceof Ti?!1:Ne.scope.get_defun_scope()!==r?!0:Ne.references.some(Be=>Be.scope.get_defun_scope()!==r)}function fn(j,Ne){if(j instanceof at)return fn(j.left,!0);if(j instanceof Xt)return fn(j.expression,!0);if(j instanceof Lt)return j.value&&fn(j.value);if(Ne){if(j instanceof Wt||j instanceof An)return fn(j.expression,!0);if(j instanceof Ae)return j.definition().scope.get_defun_scope()!==r}return!1}function Ai(j,Ne){for(const{def:Be}of Ne.values()){const Me=j.find_variable(Be.name);if(Me){if(Me===Be)continue;return!0}}return!1}}function C(R){for(var k=[],U=0;U<R.length;){var X=R[U];X instanceof Ze&&X.body.every(ef)?(h=!0,C(X.body),R.splice(U,1,...X.body),U+=X.body.length):X instanceof wt?(h=!0,R.splice(U,1)):X instanceof nr?k.indexOf(X.value)<0?(U++,k.push(X.value)):(h=!0,R.splice(U,1)):U++}}function T(R,k){var U=k.self(),X=re(R),J=U instanceof Ge;const G=Math.min(R.length,500);for(var Y=G;--Y>=0;){var $=R[Y],te=ve(Y),ee=R[te];if(J&&!ee&&$ instanceof an){if(!$.value){h=!0,R.splice(Y,1);continue}if($.value instanceof We&&$.value.operator=="void"){h=!0,R[Y]=F(je,$,{body:$.value.expression});continue}}if($ instanceof Rt){let Z,ie;if(Z=Pr($.body),fe(Z)&&(ie=Ie($.body,Z))){Z.label&&Ko(Z.label.thedef.references,Z),h=!0,$=$.clone(),$.condition=$.condition.negate(k),$.body=F(Ze,$,{body:Gu($.alternative).concat(Oe())}),$.alternative=F(Ze,$,{body:ie}),R[Y]=$.transform(k);continue}if(Z=Pr($.alternative),fe(Z)&&(ie=Ie($.alternative,Z))){Z.label&&Ko(Z.label.thedef.references,Z),h=!0,$=$.clone(),$.body=F(Ze,$.body,{body:Gu($.body).concat(Oe())}),$.alternative=F(Ze,$.alternative,{body:ie}),R[Y]=$.transform(k);continue}}if($ instanceof Rt&&$.body instanceof an){var _e=$.body.value;if(!_e&&!$.alternative&&(J&&!ee||ee instanceof an&&!ee.value)){h=!0,R[Y]=F(je,$.condition,{body:$.condition});continue}if(_e&&!$.alternative&&ee instanceof an&&ee.value){h=!0,$=$.clone(),$.alternative=ee,R[Y]=$.transform(k),R.splice(te,1);continue}if(_e&&!$.alternative&&(!ee&&J&&X||ee instanceof an)){h=!0,$=$.clone(),$.alternative=ee||F(an,$,{value:null}),R[Y]=$.transform(k),ee&&R.splice(te,1);continue}var ge=R[Ue(Y)];if(k.option("sequences")&&J&&!$.alternative&&ge instanceof Rt&&ge.body instanceof an&&ve(te)==R.length&&ee instanceof je){h=!0,$=$.clone(),$.alternative=F(Ze,ee,{body:[ee,F(an,ee,{value:null})]}),R[Y]=$.transform(k),R.splice(te,1);continue}}}function re(Z){for(var ie=0,ue=Z.length;--ue>=0;){var xe=Z[ue];if(xe instanceof Rt&&xe.body instanceof an&&++ie>1)return!0}return!1}function de(Z){return!Z||Z instanceof We&&Z.operator=="void"}function fe(Z){if(!Z)return!1;for(var ie=Y+1,ue=R.length;ie<ue;ie++){var xe=R[ie];if(xe instanceof ei||xe instanceof Qr)return!1}var be=Z instanceof Yr?k.loopcontrol_target(Z):null;return Z instanceof an&&J&&de(Z.value)||Z instanceof ro&&U===lf(be)||Z instanceof wr&&be instanceof Ze&&U===be}function Oe(){var Z=R.slice(Y+1);return R.length=Y+1,Z.filter(function(ie){return ie instanceof en?(R.push(ie),!1):!0})}function Ie(Z,ie){var ue=Gu(Z);if(ie===ue[ue.length-1])return ue=ue.slice(0,-1),ie.value&&ue.push(F(je,ie.value,{body:ie.value.expression})),ue}function ve(Z){for(var ie=Z+1,ue=R.length;ie<ue;ie++){var xe=R[ie];if(!(xe instanceof Nn&&M(xe)))break}return ie}function Ue(Z){for(var ie=Z;--ie>=0;){var ue=R[ie];if(!(ue instanceof Nn&&M(ue)))break}return ie}}function D(R,k){for(var U,X=k.self(),J=0,G=0,Y=R.length;J<Y;J++){var $=R[J];if($ instanceof Yr){var te=k.loopcontrol_target($);$ instanceof wr&&!(te instanceof Vr)&&lf(te)===X||$ instanceof ro&&lf(te)===X?$.label&&Ko($.label.thedef.references,$):R[G++]=$}else R[G++]=$;if(Pr($)){U=R.slice(J+1);break}}R.length=G,h=G!=Y,U&&U.forEach(function(ee){No(k,ee,R)})}function M(R){return R.definitions.every(k=>!k.value)}function P(R,k){if(R.length<2)return;var U=[],X=0;function J(){if(U.length){var ee=nt(U[0],U);R[X++]=F(je,ee,{body:ee}),U=[]}}for(var G=0,Y=R.length;G<Y;G++){var $=R[G];if($ instanceof je){U.length>=k.sequences_limit&&J();var te=$.body;U.length>0&&(te=te.drop_side_effect_free(k)),te&&Yl(U,te)}else $ instanceof un&&M($)||$ instanceof en||J(),R[X++]=$}J(),R.length=X,X!=Y&&(h=!0)}function b(R,k){if(!(R instanceof Ze))return R;for(var U=null,X=0,J=R.body.length;X<J;X++){var G=R.body[X];if(G instanceof Nn&&M(G))k.push(G);else{if(U||G instanceof ei||G instanceof Qr)return!1;U=G}}return U}function y(R,k){function U(ge){X--,h=!0;var re=J.body;return nt(re,[re,ge]).transform(k)}for(var X=0,J,G=0;G<R.length;G++){var Y=R[G];if(J&&(Y instanceof lr?Y.value=U(Y.value||F(tn,Y).transform(k)):Y instanceof xn?Y.init instanceof un||Fn(J.body,re=>{if(re instanceof qe)return!0;if(re instanceof ae&&re.operator==="in")return dr})||(Y.init?Y.init=U(Y.init):(Y.init=J.body,X--,h=!0)):Y instanceof Wn?!(Y.init instanceof ei)&&!(Y.init instanceof Qr)&&(Y.object=U(Y.object)):Y instanceof Rt?Y.condition=U(Y.condition):(Y instanceof qn||Y instanceof yr)&&(Y.expression=U(Y.expression))),k.option("conditionals")&&Y instanceof Rt){var $=[],te=b(Y.body,$),ee=b(Y.alternative,$);if(te!==!1&&ee!==!1&&$.length>0){var _e=$.length;$.push(F(Rt,Y,{condition:Y.condition,body:te||F(wt,Y.body),alternative:ee})),$.unshift(X,1),[].splice.apply(R,$),G+=_e,X+=_e+1,J=null,h=!0;continue}}R[X++]=Y,J=Y instanceof je?Y:null}R.length=X}function g(R,k){if(R instanceof un){var U=R.definitions[R.definitions.length-1];if(U.value instanceof Nt){var X;if(k instanceof at&&!k.logical?X=[k]:k instanceof lt&&(X=k.expressions.slice()),!!X){var J=!1;do{var G=X[0];if(!(G instanceof at)||G.operator!="="||!(G.left instanceof Xe))break;var Y=G.left.expression;if(!(Y instanceof Ae)||U.name.name!=Y.name||!G.right.is_constant_expression(n))break;var $=G.left.property;if($ instanceof Ce&&($=$.evaluate(e)),$ instanceof Ce)break;$=""+$;var te=e.option("ecma")<2015&&e.has_directive("use strict")?function(_e){return _e.key!=$&&_e.key&&_e.key.name!=$}:function(_e){return _e.key&&_e.key.name!=$};if(!U.value.properties.every(te))break;var ee=U.value.properties.filter(function(_e){return _e.key===$})[0];ee?ee.value=new lt({start:ee.start,expressions:[ee.value.clone(),G.right.clone()],end:ee.end}):U.value.properties.push(F(Jt,G,{key:$,value:G.right})),X.shift(),J=!0}while(X.length);return J&&X}}}}function O(R){for(var k,U=0,X=-1,J=R.length;U<J;U++){var G=R[U],Y=R[X];if(G instanceof un)Y&&Y.TYPE==G.TYPE?(Y.definitions=Y.definitions.concat(G.definitions),h=!0):k&&k.TYPE==G.TYPE&&M(G)?(k.definitions=k.definitions.concat(G.definitions),h=!0):(R[++X]=G,k=G);else if(G instanceof lr)G.value=te(G.value);else if(G instanceof xn){var $=g(Y,G.init);$?(h=!0,G.init=$.length?nt(G.init,$):null,R[++X]=G):Y instanceof Nn&&(!G.init||G.init.TYPE==Y.TYPE)?(G.init&&(Y.definitions=Y.definitions.concat(G.init.definitions)),G.init=Y,R[X]=G,h=!0):k instanceof Nn&&G.init instanceof Nn&&M(G.init)?(k.definitions=k.definitions.concat(G.init.definitions),G.init=null,R[++X]=G,h=!0):R[++X]=G}else if(G instanceof Wn)G.object=te(G.object);else if(G instanceof Rt)G.condition=te(G.condition);else if(G instanceof je){var $=g(Y,G.body);if($){if(h=!0,!$.length)continue;G.body=nt(G.body,$)}R[++X]=G}else G instanceof qn||G instanceof yr?G.expression=te(G.expression):R[++X]=G}R.length=X+1;function te(ee){R[++X]=G;var _e=g(Y,ee);return _e?(h=!0,_e.length?nt(ee,_e):ee instanceof lt?ee.tail_node().left:ee.left):ee}}}function i0(t){for(var e,n=0;e=t.parent(n++);){if(e instanceof Rn)return!1;if(e instanceof St||e instanceof Jt||e instanceof Nt)return!0}return!1}function ff(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 o0(t,e){if(t.orig.length===1&&e){const n=e.size(),r=t.name.length;return n>r}return!0}function s0(t,e){if(e.in_computed_key())return t;const n=e.parent(),r=t.definition(),a=e.find_scope();let c=t.fixed_value();if(e.top_retain&&r.global&&e.top_retain(r)&&o0(r,c))return r.fixed=!1,r.single_use=!1,t;let h=r.single_use&&!(n instanceof Ve&&n.is_callee_pure(e)||ur(n,Ao))&&!(n instanceof Dn&&c instanceof Ge&&c.name);if(h&&c instanceof Ce&&(h=!c.has_side_effects(e)&&!c.may_throw(e)),c instanceof yt&&r.scope!==t.scope)return t;if(h&&(c instanceof Ge||c instanceof yt)){if(Sd(c,e))h=!1;else if(r.scope!==t.scope&&(r.escaped==1||jn(c,va)||i0(e)||!e.option("reduce_funcs")))h=!1;else if(tf(e,r))h=!1;else if((r.scope!==t.scope||r.orig[0]instanceof Pn)&&(h=c.is_constant_expression(t.scope),h=="f")){var d=t.scope;do(d instanceof en||Hu(d))&&Sr(d,va);while(d=d.parent_scope)}}if(h&&(c instanceof Ge||c instanceof yt)&&(h=r.scope===t.scope&&!ff(a,c)||n instanceof Ve&&n.expression===t&&!ff(a,c)&&!(c.name&&c.name.definition().recursive_refs>0)),h&&c){if(c instanceof Kr&&(Sr(c,Co),c=F(Si,c,c)),c instanceof en&&(Sr(c,Co),c=F(Ft,c,c)),r.recursive_refs>0&&c.name instanceof Ti){const S=c.name.definition();let C=c.variables.get(c.name.name),T=C&&C.orig[0];T instanceof oi||(T=F(oi,c.name,c.name),T.scope=c,c.name=T,C=c.def_function(T)),Fn(c,D=>{D instanceof Ae&&D.definition()===S&&(D.thedef=C,C.references.push(D))})}return(c instanceof Ge||c instanceof yt)&&c.parent_scope!==a&&(c=c.clone(!0,e.get_toplevel()),a.add_child_scope(c)),c.optimize(e)}if(c){let S;if(c instanceof Vn)!(r.orig[0]instanceof Pn)&&r.references.every(C=>r.scope===C.scope)&&(S=c);else{var v=c.evaluate(e);v!==c&&(e.option("unsafe_regexp")||!(v instanceof RegExp))&&(S=ir(v,c))}if(S){const C=t.size(e),T=S.size(e);let D=0;if(e.option("unused")&&!e.exposed(r)&&(D=(C+2+c.size(e))/(r.references.length-r.assignments)),T<=C+D)return S}}return t}function a0(t,e){if(e.in_computed_key())return t;var n=t.expression,r=n,a=t.args.every(G=>!(G instanceof ht));if(e.option("reduce_vars")&&r instanceof Ae&&!ur(t,Ao)){const G=r.fixed_value();if(Sd(G,e)||!e.toplevel.funcs&&n.definition().global)return t;r=G}var c=r instanceof Ge,h=c&&r.body[0],d=c&&!r.is_generator&&!r.async,v=d&&e.option("inline")&&!t.is_callee_pure(e);if(v&&h instanceof an){let G=h.value;if(!G||G.is_constant_expression()){G?G=G.clone(!0):G=F(tn,t);const Y=t.args.concat(G);return nt(t,Y).optimize(e)}if(r.argnames.length===1&&r.argnames[0]instanceof Pn&&t.args.length<2&&!(t.args[0]instanceof ht)&&G instanceof Ae&&G.name===r.argnames[0].name){const Y=(t.args[0]||F(tn)).optimize(e);let $;return Y instanceof Xe&&($=e.parent())instanceof Ve&&$.expression===t?nt(t,[F(Qe,t,{value:0}),Y]):Y}}if(v){var S,C,T=-1;let G,Y,$;if(a&&!r.uses_arguments&&!(e.parent()instanceof yt)&&!(r.name&&r instanceof Ft)&&(Y=y(h))&&(n===r||ur(t,Vl)||e.option("unused")&&(G=n.definition()).references.length==1&&!tf(e,G)&&r.is_constant_expression(n.scope))&&!ur(t,$l|Ao)&&!r.contains_this()&&R()&&($=e.find_scope())&&!ff($,r)&&!function(){let ee=0,_e;for(;_e=e.parent(ee++);){if(_e instanceof Nr)return!0;if(_e instanceof Tn)break}return!1}()&&!(S instanceof yt))return Sr(r,Co),$.add_child_scope(r),nt(t,J(Y)).optimize(e)}if(v&&ur(t,Vl))return Sr(r,Co),r=F(r.CTOR===en?Ft:r.CTOR,r,r),r=r.clone(!0),r.figure_out_scope({},{parent_scope:e.find_scope(),toplevel:e.get_toplevel()}),F(Ve,t,{expression:r,args:t.args}).optimize(e);if(d&&e.option("side_effects")&&r.body.every(uo)){var M=t.args.concat(F(tn,t));return nt(t,M).optimize(e)}if(e.option("negate_iife")&&e.parent()instanceof je&&Zl(t))return t.negate(e,!0);var P=t.evaluate(e);if(P!==t)return P=ir(P,t).optimize(e),Tr(e,P,t);return t;function b(G){if(!G)return F(tn,t);if(G instanceof an)return G.value?G.value.clone(!0):F(tn,t);if(G instanceof je)return F(We,G,{operator:"void",expression:G.body.clone(!0)})}function y(G){var Y=r.body,$=Y.length;if(e.option("inline")<3)return $==1&&b(G);G=null;for(var te=0;te<$;te++){var ee=Y[te];if(ee instanceof Nn){if(G&&!ee.definitions.every(_e=>!_e.value))return!1}else{if(G)return!1;ee instanceof wt||(G=ee)}}return b(G)}function g(G,Y){for(var $=0,te=r.argnames.length;$<te;$++){var ee=r.argnames[$];if(ee instanceof Nr){if(jn(ee.left,ao))continue;return!1}if(ee instanceof $t)return!1;if(ee instanceof ht){if(jn(ee.expression,ao))continue;return!1}if(!jn(ee,ao)){if(!Y||G.has(ee.name)||bd.has(ee.name)||S.conflicting_def(ee.name))return!1;C&&C.push(ee.definition())}}return!0}function O(G,Y){for(var $=r.body.length,te=0;te<$;te++){var ee=r.body[te];if(ee instanceof Nn){if(!Y)return!1;for(var _e=ee.definitions.length;--_e>=0;){var ge=ee.definitions[_e].name;if(ge instanceof $t||G.has(ge.name)||bd.has(ge.name)||S.conflicting_def(ge.name))return!1;C&&C.push(ge.definition())}}}return!0}function R(){var G=new Set;do if(S=e.parent(++T),S.is_block_scope()&&S.block_scope&&S.block_scope.variables.forEach(function(te){G.add(te.name)}),S instanceof Zr)S.argname&&G.add(S.argname.name);else if(S instanceof Vr)C=[];else if(S instanceof Ae&&S.fixed_value()instanceof qe)return!1;while(!(S instanceof qe));var Y=!(S instanceof zt)||e.toplevel.vars,$=e.option("inline");return!O(G,$>=3&&Y)||!g(G,$>=2&&Y)?!1:!C||C.length==0||!Ed(r,C)}function k(G,Y,$,te){var ee=$.definition();S.variables.has($.name)||(S.variables.set($.name,ee),S.enclosed.push(ee),G.push(F(Lt,$,{name:$,value:null})));var ge=F(Ae,$,$);ee.references.push(ge),te&&Y.push(F(at,t,{operator:"=",logical:!1,left:ge,right:te.clone()}))}function U(G,Y){for(var $=r.argnames.length,te=t.args.length;--te>=$;)Y.push(t.args[te]);for(te=$;--te>=0;){var ee=r.argnames[te],_e=t.args[te];if(jn(ee,ao)||!ee.name||S.conflicting_def(ee.name))_e&&Y.push(_e);else{var ge=F(Vi,ee,ee);ee.definition().orig.push(ge),!_e&&C&&(_e=F(tn,t)),k(G,Y,ge,_e)}}G.reverse(),Y.reverse()}function X(G,Y){for(var $=Y.length,te=0,ee=r.body.length;te<ee;te++){var _e=r.body[te];if(_e instanceof Nn)for(var ge=0,re=_e.definitions.length;ge<re;ge++){var de=_e.definitions[ge],fe=de.name;if(k(G,Y,fe,de.value),C&&r.argnames.every(ve=>ve.name!=fe.name)){var Oe=r.variables.get(fe.name),Ie=F(Ae,fe,fe);Oe.references.push(Ie),Y.splice($++,0,F(at,de,{operator:"=",logical:!1,left:Ie,right:F(tn,fe)}))}}}}function J(G){var Y=[],$=[];if(U(Y,$),X(Y,$),$.push(G),Y.length){const te=S.body.indexOf(e.parent(T-1))+1;S.body.splice(te,0,F(Nn,r,{definitions:Y}))}return $.map(te=>te.clone(!0))}}(function(t){function e(n,r){if(n instanceof Ce)return n instanceof Tt||(n=n.clone(!0)),F(n.CTOR,r,n);if(Array.isArray(n))return F(St,r,{elements:n.map(function(h){return e(h,r)})});if(n&&typeof n=="object"){var a=[];for(var c in n)tr(n,c)&&a.push(F(Jt,r,{key:c,value:e(n[c],r)}));return F(Nt,r,{properties:a})}return ir(n,r)}zt.DEFMETHOD("resolve_defines",function(n){return n.option("global_defs")?(this.figure_out_scope({ie8:n.option("ie8")}),this.transform(new mr(function(r){var a=r._find_defs(n,"");if(a){for(var c=0,h=r,d;(d=this.parent(c++))&&!(!(d instanceof Xe)||d.expression!==h);)h=d;if(!wo(h,d))return a}}))):this}),t(Ce,_r),t(gn,function(n,r){return this.expression._find_defs(n,r)}),t(Wt,function(n,r){return this.expression._find_defs(n,"."+this.property+r)}),t(In,function(){this.global()}),t(Ae,function(n,r){if(this.global()){var a=n.option("global_defs"),c=this.name+r;if(tr(a,c))return e(a[c],this)}}),t(Ui,function(n,r){var a=n.option("global_defs"),c="import.meta"+r;if(tr(a,c))return e(a[c],this)})})(function(t,e){t.DEFMETHOD("_find_defs",e)});class Rd extends Ln{constructor(e,{false_by_default:n=!1,mangle_options:r=!1}){super(),e.defaults!==void 0&&!e.defaults&&(n=!0),this.options=_i(e,{arguments:!1,arrows:!n,booleans:!n,booleans_as_integers:!1,collapse_vars:!n,comparisons:!n,computed_props:!n,conditionals:!n,dead_code:!n,defaults:!0,directives:!n,drop_console:!1,drop_debugger:!n,ecma:5,evaluate:!n,expression:!1,global_defs:!1,hoist_funs:!1,hoist_props:!n,hoist_vars:!1,ie8:!1,if_return:!n,inline:!n,join_vars:!n,keep_classnames:!1,keep_fargs:!0,keep_fnames:!1,keep_infinity:!1,lhs_constants:!n,loops:!n,module:!1,negate_iife:!n,passes:1,properties:!n,pure_getters:!n&&"strict",pure_funcs:null,pure_new:!1,reduce_funcs:!n,reduce_vars:!n,sequences:!n,side_effects:!n,switches:!n,top_retain:null,toplevel:!!(e&&e.top_retain),typeofs:!n,unsafe:!1,unsafe_arrows:!1,unsafe_comps:!1,unsafe_Function:!1,unsafe_math:!1,unsafe_symbols:!1,unsafe_methods:!1,unsafe_proto:!1,unsafe_regexp:!1,unsafe_undefined:!1,unused:!n,warnings:!1},!0);var a=this.options.global_defs;if(typeof a=="object")for(var c in a)c[0]==="@"&&tr(a,c)&&(a[c.slice(1)]=la(a[c],{expression:!0}));this.options.inline===!0&&(this.options.inline=3);var h=this.options.pure_funcs;typeof h=="function"?this.pure_funcs=h:this.pure_funcs=h?function(C){return!h.includes(C.expression.print_to_string())}:er;var d=this.options.top_retain;d instanceof RegExp?this.top_retain=function(C){return d.test(C.name)}:typeof d=="function"?this.top_retain=d:d&&(typeof d=="string"&&(d=d.split(/,/)),this.top_retain=function(C){return d.includes(C.name)}),this.options.module&&(this.directives["use strict"]=!0,this.options.toplevel=!0);var v=this.options.toplevel;this.toplevel=typeof v=="string"?{funcs:/funcs/.test(v),vars:/vars/.test(v)}:{funcs:v,vars:v};var S=this.options.sequences;this.sequences_limit=S==1?800:S|0,this.evaluated_regexps=new Map,this._toplevel=void 0,this._mangle_options=r&&Uu(r)}mangle_options(){var e=this._mangle_options&&this._mangle_options.nth_identifier||ga,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 Ti?"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 je||r instanceof tt&&r.condition===e||r instanceof Iu&&r.condition===e||r instanceof xn&&r.condition===e||r instanceof Rt&&r.condition===e||r instanceof We&&r.operator=="!"&&r.expression===e)return!0;if(r instanceof ae&&(r.operator=="&&"||r.operator=="||"||r.operator=="??")||r instanceof tt||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 ae&&rf.has(r.operator))return!0;if(r instanceof We)return r.operator==="~";if(r instanceof ae&&(r.operator=="&&"||r.operator=="||"||r.operator=="??")||r instanceof tt&&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 cn&&r.key===e)return!0;return!1}get_toplevel(){return this._toplevel}compress(e){e=e.resolve_defines(this),this._toplevel=e,this.option("expression")&&this._toplevel.process_expression(!0);for(var n=+this.options.passes||1,r=1/0,a=!1,c=this.mangle_options(),h=0;h<n;h++)if(this._toplevel.figure_out_scope(c),h===0&&this.option("drop_console")&&(this._toplevel=this._toplevel.drop_console(this.option("drop_console"))),(h>0||this.option("reduce_vars"))&&this._toplevel.reset_opt_flags(this),this._toplevel=this._toplevel.transform(this),n>1){let d=0;if(Fn(this._toplevel,()=>{d++}),d<r)r=d,a=!1;else{if(a)break;a=!0}}return this.option("expression")&&this._toplevel.process_expression(!1),e=this._toplevel,this._toplevel=void 0,e}before(e,n){if(jn(e,Co))return e;var r=!1;e instanceof qe&&(e=e.hoist_properties(this),e=e.hoist_declarations(this),r=!0),n(e,this),n(e,this);var a=e.optimize(this);return r&&a instanceof qe&&(a.drop_unused(this),n(a,this)),a===e&&Sr(a,Co),a}is_lhs(){const e=this.stack[this.stack.length-1],n=this.stack[this.stack.length-2];return wo(e,n)}}function et(t,e){t.DEFMETHOD("optimize",function(n){var r=this;if(jn(r,Xl)||n.has_directive("use asm"))return r;var a=e(r,n);return Sr(a,Xl),a})}et(Ce,function(t){return t}),zt.DEFMETHOD("drop_console",function(t){var e=Array.isArray(t);return this.transform(new mr(function(n){if(n.TYPE==="Call"){var r=n.expression;if(r instanceof Xe&&!(e&&t.indexOf(r.property)===-1)){for(var a=r.expression;a.expression;)a=a.expression;if(ui(a)&&a.name=="console")return F(tn,n)}}}))}),Ce.DEFMETHOD("equivalent_to",function(t){return $y(this,t)}),qe.DEFMETHOD("process_expression",function(t,e){var n=this,r=new mr(function(a){if(t&&a instanceof je)return F(an,a,{value:a.body});if(!t&&a instanceof an){if(e){var c=a.value&&a.value.drop_side_effect_free(e,!0);return c?F(je,a,{body:c}):F(wt,a)}return F(je,a,{body:a.value||F(We,a,{operator:"void",expression:F(Qe,a,{value:0})})})}if(a instanceof yt||a instanceof Ge&&a!==n)return a;if(a instanceof Tn){var h=a.body.length-1;h>=0&&(a.body[h]=a.body[h].transform(r))}else a instanceof Rt?(a.body=a.body.transform(r),a.alternative&&(a.alternative=a.alternative.transform(r))):a instanceof yr&&(a.body=a.body.transform(r));return a});n.transform(r)}),zt.DEFMETHOD("reset_opt_flags",function(t){const e=this,n=t.option("reduce_vars"),r=new Ln(function(a,c){if(rs(a,Hy),n)return t.top_retain&&a instanceof en&&r.parent()===e&&Sr(a,ql),a.reduce_vars(r,c,t)});r.safe_ids=Object.create(null),r.in_loop=null,r.loop_ids=new Map,r.defs_to_safe_ids=new Map,e.walk(r)}),pt.DEFMETHOD("fixed_value",function(){var t=this.thedef.fixed;return!t||t instanceof Ce?t:t()}),Ae.DEFMETHOD("is_immutable",function(){var t=this.definition().orig;return t.length==1&&t[0]instanceof oi});function hf(t,e){for(var n,r=0;(n=t.parent(r++))&&!(n instanceof qe);)if(n instanceof Zr&&n.argname){n=n.argname.definition().scope;break}return n.find_variable(e)}var u0=Ct("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");Ae.DEFMETHOD("is_declared",function(t){return!this.definition().undeclared||t.option("unsafe")&&u0.has(this.name)});var c0=new Set(["use asm","use strict"]);et(nr,function(t,e){return e.option("directives")&&(!c0.has(t.value)||e.has_directive(t.value)!==t)?F(wt,t):t}),et(Fi,function(t,e){return e.option("drop_debugger")?F(wt,t):t}),et(Qn,function(t,e){return t.body instanceof wr&&e.loopcontrol_target(t.body)===t.body?F(wt,t):t.label.references.length==0?t.body:t}),et(Tn,function(t,e){return Wu(t.body,e),t});function l0(t){return!(t instanceof ei||t instanceof Qr||t instanceof yt)}et(Ze,function(t,e){switch(Wu(t.body,e),t.body.length){case 1:if(!e.has_directive("use strict")&&e.parent()instanceof Rt&&l0(t.body[0])||ef(t.body[0]))return t.body[0];break;case 0:return F(wt,t)}return t});function pf(t,e){return Wu(t.body,e),e.option("side_effects")&&t.body.length==1&&t.body[0]===e.has_directive("use strict")&&(t.body.length=0),t}et(Ge,pf),qe.DEFMETHOD("hoist_declarations",function(t){var e=this;if(t.has_directive("use asm"))return e;var n=t.option("hoist_funs"),r=t.option("hoist_vars");if(n||r){var a=[],c=[],h=new Map,d=0,v=0;Fn(e,y=>{if(y instanceof qe&&y!==e)return!0;if(y instanceof Nn)return++v,!0}),r=r&&v>1;var S=new mr(function(g){if(g!==e){if(g instanceof nr)return a.push(g),F(wt,g);if(n&&g instanceof en&&!(S.parent()instanceof Dn)&&S.parent()===e)return c.push(g),F(wt,g);if(r&&g instanceof Nn&&!g.definitions.some(U=>U.name instanceof $t)){g.definitions.forEach(function(U){h.set(U.name.name,U),++d});var O=g.to_assignments(t),R=S.parent();if(R instanceof Wn&&R.init===g){if(O==null){var k=g.definitions[0].name;return F(Ae,k,k)}return O}return R instanceof xn&&R.init===g?O:O?F(je,g,{body:O}):F(wt,g)}if(g instanceof qe)return g}});if(e=e.transform(S),d>0){var C=[];const y=e instanceof Ge,g=y?e.args_as_names():null;if(h.forEach((O,R)=>{y&&g.some(k=>k.name===O.name.name)?h.delete(R):(O=O.clone(),O.value=null,C.push(O),h.set(R,O))}),C.length>0){for(var T=0;T<e.body.length;){if(e.body[T]instanceof je){var D=e.body[T].body,M,P;if(D instanceof at&&D.operator=="="&&(M=D.left)instanceof pt&&h.has(M.name)){var b=h.get(M.name);if(b.value)break;b.value=D.right,Ko(C,b),C.push(b),e.body.splice(T,1);continue}if(D instanceof lt&&(P=D.expressions[0])instanceof at&&P.operator=="="&&(M=P.left)instanceof pt&&h.has(M.name)){var b=h.get(M.name);if(b.value)break;b.value=P.right,Ko(C,b),C.push(b),e.body[T].body=nt(D,D.expressions.slice(1));continue}}if(e.body[T]instanceof wt){e.body.splice(T,1);continue}if(e.body[T]instanceof Ze){e.body.splice(T,1,...e.body[T].body);continue}break}C=F(Nn,e,{definitions:C}),c.push(C)}}e.body=a.concat(c,e.body)}return e}),qe.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||vt,r=new Map,a=new mr(function(c,h){if(c instanceof Lt){const d=c.name;let v,S;if(d.scope===e&&(v=d.definition()).escaped!=1&&!v.assignments&&!v.direct_access&&!v.single_use&&!t.exposed(v)&&!n(v)&&(S=d.fixed_value())===c.value&&S instanceof Nt&&!S.properties.some(C=>C instanceof ht||C.computed_key())){h(c,this);const C=new Map,T=[];return S.properties.forEach(({key:D,value:M})=>{const P=a.find_scope(),b=e.create_symbol(d.CTOR,{source:d,scope:P,conflict_scopes:new Set([P,...d.definition().references.map(y=>y.scope)]),tentative_name:d.name+"_"+D});C.set(String(D),b.definition()),T.push(F(Lt,c,{name:b,value:M}))}),r.set(v.id,C),qt.splice(T)}}else if(c instanceof Xe&&c.expression instanceof Ae){const d=r.get(c.expression.definition().id);if(d){const v=d.get(String(yd(c.property))),S=F(Ae,c,{name:v.name,scope:c.expression.scope,thedef:v});return S.reference({}),S}}});return e.transform(a)}),et(je,function(t,e){if(e.option("side_effects")){var n=t.body,r=n.drop_side_effect_free(e,!0);if(!r)return F(wt,t);if(r!==n)return F(je,t,{body:r})}return t}),et(Li,function(t,e){return e.option("loops")?F(xn,t,t).optimize(e):t}),et(yi,function(t,e){if(!e.option("loops"))return t;var n=t.condition.tail_node().evaluate(e);if(!(n instanceof Ce)){if(n)return F(xn,t,{body:F(Ze,t.body,{body:[t.body,F(je,t.condition,{body:t.condition})]})}).optimize(e);if(!Jl(t,e.parent()))return F(Ze,t.body,{body:[t.body,F(je,t.condition,{body:t.condition})]}).optimize(e)}return t});function Nd(t,e){var n=t.body instanceof Ze?t.body.body[0]:t.body;if(e.option("dead_code")&&a(n)){var r=[];return t.init instanceof Rn?r.push(t.init):t.init&&r.push(F(je,t.init,{body:t.init})),t.condition&&r.push(F(je,t.condition,{body:t.condition})),No(e,t.body,r),F(Ze,t,{body:r})}return n instanceof Rt&&(a(n.body)?(t.condition?t.condition=F(ae,t.condition,{left:t.condition,operator:"&&",right:n.condition.negate(e)}):t.condition=n.condition.negate(e),c(n.alternative)):a(n.alternative)&&(t.condition?t.condition=F(ae,t.condition,{left:t.condition,operator:"&&",right:n.condition}):t.condition=n.condition,c(n.body))),t;function a(h){return h instanceof wr&&e.loopcontrol_target(h)===e.self()}function c(h){h=Gu(h),t.body instanceof Ze?(t.body=t.body.clone(),t.body.body=h.concat(t.body.body.slice(1)),t.body=t.body.transform(e)):t.body=F(Ze,t.body,{body:h}).transform(e),t=Nd(t,e)}}et(xn,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 Ce)){if(n)t.condition=null;else if(!e.option("dead_code")){var r=t.condition;t.condition=ir(n,t.condition),t.condition=zi(t.condition.transform(e),r)}}if(e.option("dead_code")&&(n instanceof Ce&&(n=t.condition.tail_node().evaluate(e)),!n)){var a=[];return No(e,t.body,a),t.init instanceof Rn?a.push(t.init):t.init&&a.push(F(je,t.init,{body:t.init})),a.push(F(je,t.condition,{body:t.condition})),F(Ze,t,{body:a}).optimize(e)}}return Nd(t,e)}),et(Rt,function(t,e){if(uo(t.alternative)&&(t.alternative=null),!e.option("conditionals"))return t;var n=t.condition.evaluate(e);if(!e.option("dead_code")&&!(n instanceof Ce)){var r=t.condition;t.condition=ir(n,r),t.condition=zi(t.condition.transform(e),r)}if(e.option("dead_code"))if(n instanceof Ce&&(n=t.condition.tail_node().evaluate(e)),n){if(!(n instanceof Ce)){var a=[];return a.push(F(je,t.condition,{body:t.condition})),a.push(t.body),t.alternative&&No(e,t.alternative,a),F(Ze,t,{body:a}).optimize(e)}}else{var a=[];return No(e,t.body,a),a.push(F(je,t.condition,{body:t.condition})),t.alternative&&a.push(t.alternative),F(Ze,t,{body:a}).optimize(e)}var c=t.condition.negate(e),h=t.condition.size(),d=c.size(),v=d<h;if(t.alternative&&v){v=!1,t.condition=c;var S=t.body;t.body=t.alternative||F(wt,t),t.alternative=S}if(uo(t.body)&&uo(t.alternative))return F(je,t.condition,{body:t.condition.clone()}).optimize(e);if(t.body instanceof je&&t.alternative instanceof je)return F(je,t,{body:F(tt,t,{condition:t.condition,consequent:t.body.body,alternative:t.alternative.body})}).optimize(e);if(uo(t.alternative)&&t.body instanceof je)return h===d&&!v&&t.condition instanceof ae&&t.condition.operator=="||"&&(v=!0),v?F(je,t,{body:F(ae,t,{operator:"||",left:c,right:t.body.body})}).optimize(e):F(je,t,{body:F(ae,t,{operator:"&&",left:t.condition,right:t.body.body})}).optimize(e);if(t.body instanceof wt&&t.alternative instanceof je)return F(je,t,{body:F(ae,t,{operator:"||",left:t.condition,right:t.alternative.body})}).optimize(e);if(t.body instanceof lr&&t.alternative instanceof lr&&t.body.TYPE==t.alternative.TYPE)return F(t.body.CTOR,t,{value:F(tt,t,{condition:t.condition,consequent:t.body.value||F(tn,t.body),alternative:t.alternative.value||F(tn,t.alternative)}).transform(e)}).optimize(e);if(t.body instanceof Rt&&!t.body.alternative&&!t.alternative&&(t=F(Rt,t,{condition:F(ae,t.condition,{operator:"&&",left:t.condition,right:t.body.condition}),body:t.body.body,alternative:null})),Pr(t.body)&&t.alternative){var C=t.alternative;return t.alternative=null,F(Ze,t,{body:[t,C]}).optimize(e)}if(Pr(t.alternative)){var a=t.body;return t.body=t.alternative,t.condition=v?c:t.condition.negate(e),t.alternative=null,F(Ze,t,{body:[t,a]}).optimize(e)}return t}),et(qn,function(t,e){if(!e.option("switches"))return t;var n,r=t.expression.evaluate(e);if(!(r instanceof Ce)){var a=t.expression;t.expression=ir(r,a),t.expression=zi(t.expression.transform(e),a)}if(!e.option("dead_code"))return t;r instanceof Ce&&(r=t.expression.tail_node().evaluate(e));for(var c=[],h=[],d,v,S=0,C=t.body.length;S<C&&!v;S++){if(n=t.body[S],n instanceof So)d?P(n,h[h.length-1]):d=n;else if(!(r instanceof Ce)){var T=n.expression.evaluate(e);if(!(T instanceof Ce)&&T!==r){P(n,h[h.length-1]);continue}if(T instanceof Ce&&(T=n.expression.tail_node().evaluate(e)),T===r&&(v=n,d)){var D=h.indexOf(d);h.splice(D,1),P(d,h[D-1]),d=null}}h.push(n)}for(;S<C;)P(t.body[S++],h[h.length-1]);t.body=h;let M=d||v;if(d=null,v=null,h.every((k,U)=>(k===M||k.expression instanceof Tt)&&(k.body.length===0||Pr(k)||h.length-1===U)))for(let k=0;k<h.length;k++){const U=h[k];for(let X=k+1;X<h.length;X++){const J=h[X];if(J.body.length===0)continue;const G=X===h.length-1,Y=b(J,U,!1);if(Y||G&&b(J,U,!0)){!Y&&G&&J.body.push(F(wr));let $=X-1,te=0;for(;$>k&&R(h[$--]);)te++;const ee=h.splice(X-te,1+te);h.splice(k+1,0,...ee),k+=ee.length}}}for(let k=0;k<h.length;k++){let U=h[k];if(U.body.length!==0&&Pr(U))for(let X=k+1;X<h.length;k++,X++){let J=h[X];if(J.body.length!==0){if(b(J,U,!1)||X===h.length-1&&b(J,U,!0)){U.body=[],U=J;continue}break}}}{let k=h.length-1;for(;k>=0;k--){let U=h[k].body;if(O(U[U.length-1],e)&&U.pop(),!R(h[k]))break}if(k++,!M||h.indexOf(M)>=k)for(let U=h.length-1;U>=k;U--){let X=h[U];if(X===M)M=null,h.pop();else if(!X.expression.has_side_effects(e))h.pop();else break}}e:if(M){let k=h.indexOf(M),U=k;for(;U<h.length-1&&R(h[U]);U++);if(U<h.length-1)break e;let X=h.length-1;for(;X>=0;X--){let J=h[X];if(J!==M&&J.expression.has_side_effects(e))break}if(U>X){let J=k-1;for(;J>=0&&R(h[J]);J--);let G=Math.max(X,J)+1,Y=k;X>k?(Y=X,h[X].body=h[U].body):M.body=h[U].body,h.splice(Y+1,U-Y),h.splice(G,k-G)}}e:if(M){let k=h.findIndex(G=>!R(G)),U;if(k===h.length-1){let G=h[k];if(g(t))break e;U=F(Ze,G,{body:G.body}),G.body=[]}else if(k!==-1)break e;if(!h.find(G=>G!==M&&G.expression.has_side_effects(e)))return F(Ze,t,{body:c.concat(y(t.expression),M.expression?y(M.expression):[],U||[])}).optimize(e);const J=h.indexOf(M);if(h.splice(J,1),M=null,U)return F(Ze,t,{body:c.concat(t,U)}).optimize(e)}if(h.length>0&&(h[0].body=c.concat(h[0].body)),h.length==0)return F(Ze,t,{body:c.concat(y(t.expression))}).optimize(e);if(h.length==1&&!g(t)){let k=h[0];return F(Rt,t,{condition:F(ae,t,{operator:"===",left:t.expression,right:k.expression}),body:F(Ze,k,{body:k.body}),alternative:null}).optimize(e)}if(h.length===2&&M&&!g(t)){let k=h[0]===M?h[1]:h[0],U=M.expression&&y(M.expression);if(Pr(h[0])){let Y=h[0];return O(Y.body[Y.body.length-1],e)&&Y.body.pop(),F(Rt,t,{condition:F(ae,t,{operator:"===",left:t.expression,right:k.expression}),body:F(Ze,k,{body:k.body}),alternative:F(Ze,M,{body:[].concat(U||[],M.body)})}).optimize(e)}let X="===",J=F(Ze,k,{body:k.body}),G=F(Ze,M,{body:[].concat(U||[],M.body)});if(h[0]===M){X="!==";let Y=G;G=J,J=Y}return F(Ze,t,{body:[F(Rt,t,{condition:F(ae,t,{operator:X,left:t.expression,right:k.expression}),body:J,alternative:null})].concat(G)}).optimize(e)}return t;function P(k,U){U&&!Pr(U)?U.body=U.body.concat(k.body):No(e,k,c)}function b(k,U,X){let J=k.body,G=U.body;if(X&&(J=J.concat(F(wr))),J.length!==G.length)return!1;let Y=F(Ze,k,{body:J}),$=F(Ze,U,{body:G});return Y.equivalent_to($)}function y(k){return F(je,k,{body:k})}function g(k){let U=!1,X=new Ln(J=>{if(U||J instanceof Ge||J instanceof je)return!0;if(!O(J,X))return;let G=X.parent();G instanceof Bi&&G.body[G.body.length-1]===J||(U=!0)});return k.walk(X),U}function O(k,U){return k instanceof wr&&U.loopcontrol_target(k)===t}function R(k){return!Pr(k)&&!F(Ze,k,{body:k.body}).has_side_effects(e)}}),et(vr,function(t,e){if(t.bcatch&&t.bfinally&&t.bfinally.body.every(uo)&&(t.bfinally=null),e.option("dead_code")&&t.body.body.every(uo)){var n=[];return t.bcatch&&No(e,t.bcatch,n),t.bfinally&&n.push(...t.bfinally.body),F(Ze,t,{body:n}).optimize(e)}return t}),un.DEFMETHOD("to_assignments",function(t){var e=t.option("reduce_vars"),n=[];for(const a of this.definitions){if(a.value){var r=F(Ae,a.name,a.name);n.push(F(at,a,{operator:"=",logical:!1,left:r,right:a.value})),e&&(r.definition().fixed=!1)}const c=a.name.definition();c.eliminated++,c.replaced--}return n.length==0?null:nt(this,n)}),et(un,function(t){return t.definitions.length==0?F(wt,t):t}),et(Lt,function(t,e){return t.name instanceof qo&&t.value!=null&&ci(t.value,e)&&(t.value=null),t}),et(Rr,function(t){return t}),et(Ve,function(t,e){var n=t.expression,r=n;Pd(t.args);var a=t.args.every(ee=>!(ee instanceof ht));e.option("reduce_vars")&&r instanceof Ae&&(r=r.fixed_value());var c=r instanceof Ge;if(c&&r.pinned())return t;if(e.option("unused")&&a&&c&&!r.uses_arguments){for(var h=0,d=0,v=0,S=t.args.length;v<S;v++){if(r.argnames[v]instanceof ht){if(jn(r.argnames[v].expression,ao))for(;v<S;){var C=t.args[v++].drop_side_effect_free(e);C&&(t.args[h++]=C)}else for(;v<S;)t.args[h++]=t.args[v++];d=h;break}var T=v>=r.argnames.length;if(T||jn(r.argnames[v],ao)){var C=t.args[v].drop_side_effect_free(e);if(C)t.args[h++]=C;else if(!T){t.args[h++]=F(Qe,t.args[v],{value:0});continue}}else t.args[h++]=t.args[v];d=h}t.args.length=d}if(e.option("unsafe")&&!n.contains_optional()){if(n instanceof Wt&&n.start.value==="Array"&&n.property==="from"&&t.args.length===1){const[ee]=t.args;if(ee instanceof St)return F(St,ee,{elements:ee.elements}).optimize(e)}if(ui(n))switch(n.name){case"Array":if(t.args.length!=1)return F(St,t,{elements:t.args}).optimize(e);if(t.args[0]instanceof Qe&&t.args[0].value<=11){const ee=[];for(let _e=0;_e<t.args[0].value;_e++)ee.push(new Ir);return new St({elements:ee})}break;case"Object":if(t.args.length==0)return F(Nt,t,{properties:[]});break;case"String":if(t.args.length==0)return F(dt,t,{value:""});if(t.args.length<=1)return F(ae,t,{left:t.args[0],operator:"+",right:F(dt,t,{value:""})}).optimize(e);break;case"Number":if(t.args.length==0)return F(Qe,t,{value:0});if(t.args.length==1&&e.option("unsafe_math"))return F(We,t,{expression:t.args[0],operator:"+"}).optimize(e);break;case"Symbol":t.args.length==1&&t.args[0]instanceof dt&&e.option("unsafe_symbols")&&(t.args.length=0);break;case"Boolean":if(t.args.length==0)return F(Gi,t);if(t.args.length==1)return F(We,t,{expression:F(We,t,{expression:t.args[0],operator:"!"}),operator:"!"}).optimize(e);break;case"RegExp":var D=[];if(t.args.length>=1&&t.args.length<=2&&t.args.every(ee=>{var _e=ee.evaluate(e);return D.push(_e),ee!==_e})&&Jp(D[0])){let[ee,_e]=D;ee=Eu(new RegExp(ee).source);const ge=F(hr,t,{value:{source:ee,flags:_e}});if(ge._eval(e)!==ge)return ge}break}else if(n instanceof Wt)switch(n.property){case"toString":if(t.args.length==0&&!n.expression.may_throw_on_access(e))return F(ae,t,{left:F(dt,t,{value:""}),operator:"+",right:n.expression}).optimize(e);break;case"join":if(n.expression instanceof St)e:{var M;if(t.args.length>0&&(M=t.args[0].evaluate(e),M===t.args[0]))break e;for(var P=[],b=[],v=0,S=n.expression.elements.length;v<S;v++){var y=n.expression.elements[v];if(y instanceof ht)break e;var g=y.evaluate(e);g!==y?b.push(g):(b.length>0&&(P.push(F(dt,t,{value:b.join(M)})),b.length=0),P.push(y))}if(b.length>0&&P.push(F(dt,t,{value:b.join(M)})),P.length==0)return F(dt,t,{value:""});if(P.length==1)return P[0].is_string(e)?P[0]:F(ae,P[0],{operator:"+",left:F(dt,t,{value:""}),right:P[0]});if(M==""){var O;return P[0].is_string(e)||P[1].is_string(e)?O=P.shift():O=F(dt,t,{value:""}),P.reduce(function(_e,ge){return F(ae,ge,{operator:"+",left:_e,right:ge})},O).optimize(e)}var C=t.clone();return C.expression=C.expression.clone(),C.expression.expression=C.expression.expression.clone(),C.expression.expression.elements=P,Tr(e,t,C)}break;case"charAt":if(n.expression.is_string(e)){var R=t.args[0],k=R?R.evaluate(e):0;if(k!==R)return F(An,n,{expression:n.expression,property:ir(k|0,R||n)}).optimize(e)}break;case"apply":if(t.args.length==2&&t.args[1]instanceof St){var U=t.args[1].elements.slice();return U.unshift(t.args[0]),F(Ve,t,{expression:F(Wt,n,{expression:n.expression,optional:!1,property:"call"}),args:U}).optimize(e)}break;case"call":var X=n.expression;if(X instanceof Ae&&(X=X.fixed_value()),X instanceof Ge&&!X.contains_this())return(t.args.length?nt(this,[t.args[0],F(Ve,t,{expression:n.expression,args:t.args.slice(1)})]):F(Ve,t,{expression:n.expression,args:[]})).optimize(e);break}}if(e.option("unsafe_Function")&&ui(n)&&n.name=="Function"){if(t.args.length==0)return F(Ft,t,{argnames:[],body:[]}).optimize(e);if(t.args.every(ee=>ee instanceof dt))try{var te="n(function("+t.args.slice(0,-1).map(function(ee){return ee.value}).join(",")+"){"+t.args[t.args.length-1].value+"})",J=la(te),G=e.mangle_options();J.figure_out_scope(G);var Y=new Rd(e.options,{mangle_options:e._mangle_options});J=J.transform(Y),J.figure_out_scope(G),J.compute_char_frequency(G),J.mangle_names(G);var $;Fn(J,ee=>{if(Hu(ee))return $=ee,dr});var te=jl();return Ze.prototype._codegen.call($,$,te),t.args=[F(dt,t,{value:$.argnames.map(function(ee){return ee.print_to_string()}).join(",")}),F(dt,t.args[t.args.length-1],{value:te.get().replace(/^{|}$/g,"")})],t}catch(ee){if(!(ee instanceof sd))throw ee}}return a0(t,e)}),Ce.DEFMETHOD("contains_optional",function(){return this instanceof Xe||this instanceof Ve||this instanceof gn?this.optional?!0:this.expression.contains_optional():!1}),et(rr,function(t,e){return e.option("unsafe")&&ui(t.expression)&&["Object","RegExp","Function","Error","Array"].includes(t.expression.name)?F(Ve,t,t).transform(e):t}),et(lt,function(t,e){if(!e.option("side_effects"))return t;var n=[];a();var r=n.length-1;if(c(),r==0)return t=Oo(e.parent(),e.self(),n[0]),t instanceof lt||(t=t.optimize(e)),t;return t.expressions=n,t;function a(){var h=ai(e),d=t.expressions.length-1;t.expressions.forEach(function(v,S){S<d&&(v=v.drop_side_effect_free(e,h)),v&&(Yl(n,v),h=!1)})}function c(){for(;r>0&&ci(n[r],e);)r--;r<n.length-1&&(n[r]=F(We,t,{operator:"void",expression:n[r]}),n.length=r+1)}}),Xt.DEFMETHOD("lift_sequences",function(t){if(t.option("sequences")&&this.expression instanceof lt){var e=this.expression.expressions.slice(),n=this.clone();return n.expression=e.pop(),e.push(n),nt(this,e).optimize(t)}return this}),et($i,function(t,e){return t.lift_sequences(e)}),et(We,function(t,e){var n=t.expression;if(t.operator=="delete"&&!(n instanceof Ae||n instanceof Xe||n instanceof gn||vd(n)))return nt(t,[n,F(Er,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):F(tn,t).optimize(e);if(e.in_boolean_context())switch(t.operator){case"!":if(n instanceof We&&n.operator=="!")return n.expression;n instanceof ae&&(t=Tr(e,t,n.negate(e,ai(e))));break;case"typeof":return(n instanceof Ae?F(Er,t):nt(t,[n,F(Er,t)])).optimize(e)}if(t.operator=="-"&&n instanceof so&&(n=n.transform(e)),n instanceof ae&&(t.operator=="+"||t.operator=="-")&&(n.operator=="*"||n.operator=="/"||n.operator=="%"))return F(ae,t,{operator:n.operator,left:F(We,n.left,{operator:t.operator,expression:n.left}),right:n.right});if(e.option("evaluate")){if(t.operator==="~"&&t.expression instanceof We&&t.expression.operator==="~"&&(e.in_32_bit_context()||t.expression.expression.is_32_bit_integer()))return t.expression.expression;if(t.operator==="~"&&n instanceof ae&&n.operator==="^")return n.left instanceof We&&n.left.operator==="~"?n.left=n.left.bitwise_negate(!0):n.right=n.right.bitwise_negate(!0),n}if(t.operator!="-"||!(n instanceof Qe||n instanceof so||n instanceof si)){var a=t.evaluate(e);if(a!==t)return a=ir(a,t).optimize(e),Tr(e,a,t)}return t}),ae.DEFMETHOD("lift_sequences",function(t){if(t.option("sequences")){if(this.left instanceof lt){var e=this.left.expressions.slice(),n=this.clone();return n.left=e.pop(),e.push(n),nt(this,e).optimize(t)}if(this.right instanceof lt&&!this.left.has_side_effects(t)){for(var r=this.operator=="="&&this.left instanceof Ae,e=this.right.expressions,a=e.length-1,c=0;c<a&&!(!r&&e[c].has_side_effects(t));c++);if(c==a){e=e.slice();var n=this.clone();return n.right=e.pop(),e.push(n),nt(this,e).optimize(t)}else if(c>0){var n=this.clone();return n.right=nt(this.right,e.slice(c)),e=e.slice(0,c),e.push(n),nt(this,e).optimize(t)}}}return this});var f0=Ct("== === != !== * & | ^");function h0(t){return t instanceof St||t instanceof Ge||t instanceof Nt||t instanceof yt}et(ae,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(X){if(n()){X&&(t.operator=X);var J=t.left;t.left=t.right,t.right=J}}if(e.option("lhs_constants")&&f0.has(t.operator)&&t.right.is_constant()&&!t.left.is_constant()&&(t.left instanceof ae&&kr[t.left.operator]>=kr[t.operator]||r()),t=t.lift_sequences(e),e.option("comparisons"))switch(t.operator){case"===":case"!==":var a=!0;(t.left.is_string(e)&&t.right.is_string(e)||t.left.is_number(e)&&t.right.is_number(e)||t.left.is_boolean()&&t.right.is_boolean()||t.left.equivalent_to(t.right))&&(t.operator=t.operator.substr(0,2));case"==":case"!=":if(!a&&ci(t.left,e))t.left=F(pr,t.left);else if(!a&&ci(t.right,e))t.right=F(pr,t.right);else if(e.option("typeofs")&&t.left instanceof dt&&t.left.value=="undefined"&&t.right instanceof We&&t.right.operator=="typeof"){var c=t.right.expression;(c instanceof Ae?c.is_declared(e):!(c instanceof Xe&&e.option("ie8")))&&(t.right=c,t.left=F(tn,t.left).optimize(e),t.operator.length==2&&(t.operator+="="))}else if(e.option("typeofs")&&t.left instanceof We&&t.left.operator=="typeof"&&t.right instanceof dt&&t.right.value=="undefined"){var c=t.left.expression;(c instanceof Ae?c.is_declared(e):!(c instanceof Xe&&e.option("ie8")))&&(t.left=c,t.right=F(tn,t.right).optimize(e),t.operator.length==2&&(t.operator+="="))}else{if(t.left instanceof Ae&&t.right instanceof Ae&&t.left.definition()===t.right.definition()&&h0(t.left.fixed_value()))return F(t.operator[0]=="="?Er:Gi,t);if(t.left.is_32_bit_integer()&&t.right.is_32_bit_integer()){const X=te=>F(We,te,{operator:"!",expression:te}),J=(te,ee)=>ee?e.in_boolean_context()?te:X(X(te)):X(te);if(t.left instanceof Qe&&t.left.value===0)return J(t.right,t.operator[0]==="!");if(t.right instanceof Qe&&t.right.value===0)return J(t.left,t.operator[0]==="!");let G,Y,$;if((G=t.left instanceof ae?t.left:t.right instanceof ae?t.right:null)&&($=G===t.left?t.right:t.left)&&G.operator==="&"&&$ instanceof Qe&&$.is_32_bit_integer()&&(Y=G.left.equivalent_to($)?G.right:G.right.equivalent_to($)?G.left:null)){let te=J(F(ae,t,{operator:"&",left:$,right:F(We,t,{operator:"~",expression:Y})}),t.operator[0]==="!");return Tr(e,te,t)}}}break;case"&&":case"||":var h=t.left;if(h.operator==t.operator&&(h=h.right),h instanceof ae&&h.operator==(t.operator=="&&"?"!==":"===")&&t.right instanceof ae&&h.operator==t.right.operator&&(ci(h.left,e)&&t.right.left instanceof pr||h.left instanceof pr&&ci(t.right.left,e))&&!h.right.has_side_effects(e)&&h.right.equivalent_to(t.right.right)){var d=F(ae,t,{operator:h.operator.slice(0,-1),left:F(pr,t),right:h.right});return h!==t.left&&(d=F(ae,t,{operator:t.operator,left:t.left.left,right:d})),d}break}if(t.operator=="+"&&e.in_boolean_context()){var v=t.left.evaluate(e),S=t.right.evaluate(e);if(v&&typeof v=="string")return nt(t,[t.right,F(Er,t)]).optimize(e);if(S&&typeof S=="string")return nt(t,[t.left,F(Er,t)]).optimize(e)}if(e.option("comparisons")&&t.is_boolean()){if(!(e.parent()instanceof ae)||e.parent()instanceof at){var C=F(We,t,{operator:"!",expression:t.negate(e,ai(e))});t=Tr(e,t,C)}if(e.option("unsafe_comps"))switch(t.operator){case"<":r(">");break;case"<=":r(">=");break}}if(t.operator=="+"){if(t.right instanceof dt&&t.right.getValue()==""&&t.left.is_string(e))return t.left;if(t.left instanceof dt&&t.left.getValue()==""&&t.right.is_string(e))return t.right;if(t.left instanceof ae&&t.left.operator=="+"&&t.left.left instanceof dt&&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 v=jn(t.left,Kl)?!0:jn(t.left,zl)?!1:t.left.evaluate(e);if(v){if(!(v instanceof Ce))return nt(t,[t.left,t.right]).optimize(e)}else return Oo(e.parent(),e.self(),t.left).optimize(e);var S=t.right.evaluate(e);if(S){if(!(S instanceof Ce)){var T=e.parent();if(T.operator=="&&"&&T.left===e.self()||e.in_boolean_context())return t.left.optimize(e)}}else{if(e.in_boolean_context())return nt(t,[t.left,F(Gi,t)]).optimize(e);Sr(t,zl)}if(t.left.operator=="||"){var D=t.left.right.evaluate(e);if(!D)return F(tt,t,{condition:t.left.left,consequent:t.right,alternative:t.left.right}).optimize(e)}break;case"||":var v=jn(t.left,Kl)?!0:jn(t.left,zl)?!1:t.left.evaluate(e);if(v){if(!(v instanceof Ce))return Oo(e.parent(),e.self(),t.left).optimize(e)}else return nt(t,[t.left,t.right]).optimize(e);var S=t.right.evaluate(e);if(S){if(!(S instanceof Ce)){if(e.in_boolean_context())return nt(t,[t.left,F(Er,t)]).optimize(e);Sr(t,Kl)}}else{var T=e.parent();if(T.operator=="||"&&T.left===e.self()||e.in_boolean_context())return t.left.optimize(e)}if(t.left.operator=="&&"){var D=t.left.right.evaluate(e);if(D&&!(D instanceof Ce))return F(tt,t,{condition:t.left.left,consequent:t.left.right,alternative:t.right}).optimize(e)}break;case"??":if(li(t.left,e))return t.right;var v=t.left.evaluate(e);if(!(v instanceof Ce))return v==null?t.right:t.left;if(e.in_boolean_context()){const G=t.right.evaluate(e);if(!(G instanceof Ce)&&!G)return t.left}}var M=!0;switch(t.operator){case"+":if(t.right instanceof Tt&&t.left instanceof ae&&t.left.operator=="+"&&t.left.is_string(e)){var P=F(ae,t,{operator:"+",left:t.left.right,right:t.right}),b=P.optimize(e);P!==b&&(t=F(ae,t,{operator:"+",left:t.left.left,right:b}))}if(t.left instanceof ae&&t.left.operator=="+"&&t.left.is_string(e)&&t.right instanceof ae&&t.right.operator=="+"&&t.right.is_string(e)){var P=F(ae,t,{operator:"+",left:t.left.right,right:t.right.left}),y=P.optimize(e);P!==y&&(t=F(ae,t,{operator:"+",left:F(ae,t.left,{operator:"+",left:t.left.left,right:y}),right:t.right.right}))}if(t.right instanceof We&&t.right.operator=="-"&&t.left.is_number(e)){t=F(ae,t,{operator:"-",left:t.left,right:t.right.expression});break}if(t.left instanceof We&&t.left.operator=="-"&&n()&&t.right.is_number(e)){t=F(ae,t,{operator:"-",left:t.right,right:t.left.expression});break}if(t.left instanceof Xn){var g=t.left,b=t.right.evaluate(e);if(b!=t.right)return g.segments[g.segments.length-1].value+=String(b),g}if(t.right instanceof Xn){var b=t.right,g=t.left.evaluate(e);if(g!=t.left)return b.segments[0].value=String(g)+b.segments[0].value,b}if(t.left instanceof Xn&&t.right instanceof Xn){var g=t.left,O=g.segments,b=t.right;O[O.length-1].value+=b.segments[0].value;for(var R=1;R<b.segments.length;R++)O.push(b.segments[R]);return g}case"*":M=e.option("unsafe_math");case"&":case"|":case"^":if(t.left.is_number(e)&&t.right.is_number(e)&&n()&&!(t.left instanceof ae&&t.left.operator!=t.operator&&kr[t.left.operator]>=kr[t.operator])){var k=F(ae,t,{operator:t.operator,left:t.right,right:t.left});t.right instanceof Tt&&!(t.left instanceof Tt)?t=Tr(e,k,t):t=Tr(e,t,k)}M&&t.is_number(e)&&(t.right instanceof ae&&t.right.operator==t.operator&&(t=F(ae,t,{operator:t.operator,left:F(ae,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 Tt&&t.left instanceof ae&&t.left.operator==t.operator&&(t.left.left instanceof Tt?t=F(ae,t,{operator:t.operator,left:F(ae,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 Tt&&(t=F(ae,t,{operator:t.operator,left:F(ae,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 ae&&t.left.operator==t.operator&&t.left.right instanceof Tt&&t.right instanceof ae&&t.right.operator==t.operator&&t.right.left instanceof Tt&&(t=F(ae,t,{operator:t.operator,left:F(ae,t.left,{operator:t.operator,left:F(ae,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(rf.has(t.operator)){let X,J,G,Y,$=t.left;if(t.operator==="&"&&t.right instanceof ae&&t.right.operator==="|"&&typeof(J=t.left.evaluate(e))=="number"&&(typeof(X=t.right.right.evaluate(e))=="number"?(G=t.right.left,Y=t.right.right):typeof(X=t.right.left.evaluate(e))=="number"&&(G=t.right.right,Y=t.right.left),G&&Y))if(!(X&J))t=F(ae,t,{operator:t.operator,left:$,right:G});else{const fe=F(ae,t,{operator:"|",left:F(ae,t,{operator:"&",left:G,right:$}),right:ir(X&J,Y)});t=Tr(e,t,fe)}if(t.left.equivalent_to(t.right)&&!t.left.has_side_effects(e)){if(t.operator==="^")return F(Qe,t,{value:0});(t.operator==="|"||t.operator==="&")&&(t.left=F(Qe,t,{value:0}),t.operator="|")}(t.operator==="<<"||t.operator===">>")&&t.right instanceof Qe&&t.right.value===0&&(t.operator="|");const ee=t.right instanceof Qe&&t.right.value===0?t.right:t.left instanceof Qe&&t.left.value===0?t.left:null,_e=ee&&(ee===t.right?t.left:t.right);if(ee&&(t.operator==="|"||t.operator==="^")&&(_e.is_32_bit_integer()||e.in_32_bit_context()))return _e;if(ee&&t.operator==="&"&&!_e.has_side_effects(e))return ee;const ge=fe=>fe instanceof Qe&&fe.value===-1||fe instanceof We&&(fe.operator==="-"&&fe.expression instanceof Qe&&fe.expression.value===1||fe.operator==="~"&&fe.expression instanceof Qe&&fe.expression.value===0),re=ge(t.right)?t.right:ge(t.left)?t.left:null,de=re&&(re===t.right?t.left:t.right);switch(t.operator){case"|":if(re&&!de.has_side_effects(e))return re;break;case"&":if(re&&(de.is_32_bit_integer()||e.in_32_bit_context()))return de;break;case"^":if(re)return de.bitwise_negate(e.in_32_bit_context());t.left instanceof We&&t.left.operator==="~"&&t.right instanceof We&&t.right.operator==="~"&&(t=F(ae,t,{operator:"^",left:t.left.expression,right:t.right.expression}));break}}}if(t.right instanceof ae&&t.right.operator==t.operator&&(ko.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=F(ae,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 U=t.evaluate(e);return U!==t?(U=ir(U,t).optimize(e),Tr(e,U,t)):t}),et(xo,function(t){return t}),et(Ae,function(t,e){if(!e.option("ie8")&&ui(t)&&!e.find_parent(yr))switch(t.name){case"undefined":return F(tn,t).optimize(e);case"NaN":return F(ma,t).optimize(e);case"Infinity":return F(so,t).optimize(e)}return e.option("reduce_vars")&&!e.is_lhs()?s0(t,e):t});function Xu(t,e){return t instanceof Ae||t.TYPE===e.TYPE}et(tn,function(t,e){if(e.option("unsafe_undefined")){var n=hf(e,"undefined");if(n){var r=F(Ae,t,{name:"undefined",scope:n.scope,thedef:n});return Sr(r,Wl),r}}var a=e.is_lhs();return a&&Xu(a,t)?t:F(We,t,{operator:"void",expression:F(Qe,t,{value:0})})}),et(so,function(t,e){var n=e.is_lhs();return n&&Xu(n,t)||e.option("keep_infinity")&&!(n&&!Xu(n,t))&&!hf(e,"Infinity")?t:F(ae,t,{operator:"/",left:F(Qe,t,{value:1}),right:F(Qe,t,{value:0})})}),et(ma,function(t,e){var n=e.is_lhs();return n&&!Xu(n,t)||hf(e,"NaN")?F(ae,t,{operator:"/",left:F(Qe,t,{value:0}),right:F(Qe,t,{value:0})}):t});const p0=Ct("+ - / * % >> << >>> | ^ &"),d0=Ct("* | ^ &");et(at,function(t,e){if(t.logical)return t.lift_sequences(e);var n;if(t.operator==="="&&t.left instanceof Ae&&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 Ae&&(n=t.left.definition()).scope===e.find_parent(Ge)){var r=0,a,c=t;do if(a=c,c=e.parent(r++),c instanceof lr){if(h(r,c)||Ed(n.scope,[n]))break;return t.operator=="="?t.right:(n.fixed=!1,F(ae,t,{operator:t.operator.slice(0,-1),left:t.left,right:t.right}).optimize(e))}while(c instanceof ae&&c.right===a||c instanceof lt&&c.tail_node()===a)}return t=t.lift_sequences(e),t.operator=="="&&t.left instanceof Ae&&t.right instanceof ae&&(t.right.left instanceof Ae&&t.right.left.name==t.left.name&&p0.has(t.right.operator)?(t.operator=t.right.operator+"=",t.right=t.right.right):t.right.right instanceof Ae&&t.right.right.name==t.left.name&&d0.has(t.right.operator)&&!t.right.left.has_side_effects(e)&&(t.operator=t.right.operator+"=",t.right=t.right.left)),t;function h(d,v){function S(){const D=t.right;t.right=F(pr,D);const M=v.may_throw(e);return t.right=D,M}for(var C=t.left.definition().scope.get_defun_scope(),T;(T=e.parent(d++))!==C;)if(T instanceof vr&&(T.bfinally||T.bcatch&&S()))return!0}}),et(Nr,function(t,e){if(!e.option("evaluate"))return t;var n=t.right.evaluate(e);let r,a;return n===void 0?(!((r=e.parent())instanceof Ge)||e.option("keep_fargs")===!1||(a=e.parent(1)).TYPE==="Call"&&a.expression===r)&&(t=t.left):n!==t.right&&(n=ir(n,t.right),t.right=zi(n,t.right)),t});function m0(t,e,n){if(e.may_throw(n))return!1;let r;if(t instanceof ae&&t.operator==="=="&&((r=li(t.left,n)&&t.left)||(r=li(t.right,n)&&t.right))&&(r===t.left?t.right:t.left).equivalent_to(e))return!0;if(t instanceof ae&&t.operator==="||"){let a,c;const h=d=>{if(!(d instanceof ae&&(d.operator==="==="||d.operator==="==")))return!1;let v=0,S;return d.left instanceof pr&&(v++,a=d,S=d.right),d.right instanceof pr&&(v++,a=d,S=d.left),ci(d.left,n)&&(v++,c=d,S=d.right),ci(d.right,n)&&(v++,c=d,S=d.left),!(v!==1||!S.equivalent_to(e))};if(!h(t.left)||!h(t.right))return!1;if(a&&c&&a!==c)return!0}return!1}et(tt,function(t,e){if(!e.option("conditionals"))return t;if(t.condition instanceof lt){var n=t.condition.expressions.slice();return t.condition=n.pop(),n.push(t),nt(t,n)}var r=t.condition.evaluate(e);if(r!==t.condition)return r?Oo(e.parent(),e.self(),t.consequent):Oo(e.parent(),e.self(),t.alternative);var a=r.negate(e,ai(e));Tr(e,r,a)===a&&(t=F(tt,t,{condition:a,consequent:t.alternative,alternative:t.consequent}));var c=t.condition,h=t.consequent,d=t.alternative;if(c instanceof Ae&&h instanceof Ae&&c.definition()===h.definition())return F(ae,t,{operator:"||",left:c,right:d});if(h instanceof at&&d instanceof at&&h.operator===d.operator&&h.logical===d.logical&&h.left.equivalent_to(d.left)&&(!t.condition.has_side_effects(e)||h.operator=="="&&!h.left.has_side_effects(e)))return F(at,t,{operator:h.operator,left:h.left,logical:h.logical,right:F(tt,t,{condition:t.condition,consequent:h.right,alternative:d.right})});var v;if(h instanceof Ve&&d.TYPE===h.TYPE&&h.args.length>0&&h.args.length==d.args.length&&h.expression.equivalent_to(d.expression)&&!t.condition.has_side_effects(e)&&!h.expression.has_side_effects(e)&&typeof(v=P())=="number"){var S=h.clone();return S.args[v]=F(tt,t,{condition:t.condition,consequent:h.args[v],alternative:d.args[v]}),S}if(d instanceof tt&&h.equivalent_to(d.consequent))return F(tt,t,{condition:F(ae,t,{operator:"||",left:c,right:d.condition}),consequent:h,alternative:d.alternative}).optimize(e);if(e.option("ecma")>=2020&&m0(c,d,e))return F(ae,t,{operator:"??",left:d,right:h}).optimize(e);if(d instanceof lt&&h.equivalent_to(d.expressions[d.expressions.length-1]))return nt(t,[F(ae,t,{operator:"||",left:c,right:nt(t,d.expressions.slice(0,-1))}),h]).optimize(e);if(d instanceof ae&&d.operator=="&&"&&h.equivalent_to(d.right))return F(ae,t,{operator:"&&",left:F(ae,t,{operator:"||",left:c,right:d.left}),right:h}).optimize(e);if(h instanceof tt&&h.alternative.equivalent_to(d))return F(tt,t,{condition:F(ae,t,{left:t.condition,operator:"&&",right:h.condition}),consequent:h.consequent,alternative:d});if(h.equivalent_to(d))return nt(t,[t.condition,h]).optimize(e);if(h instanceof ae&&h.operator=="||"&&h.right.equivalent_to(d))return F(ae,t,{operator:"||",left:F(ae,t,{operator:"&&",left:t.condition,right:h.left}),right:d}).optimize(e);const C=e.in_boolean_context();if(D(t.consequent))return M(t.alternative)?T(t.condition):F(ae,t,{operator:"||",left:T(t.condition),right:t.alternative});if(M(t.consequent))return D(t.alternative)?T(t.condition.negate(e)):F(ae,t,{operator:"&&",left:T(t.condition.negate(e)),right:t.alternative});if(D(t.alternative))return F(ae,t,{operator:"||",left:T(t.condition.negate(e)),right:t.consequent});if(M(t.alternative))return F(ae,t,{operator:"&&",left:T(t.condition),right:t.consequent});return t;function T(b){return b.is_boolean()?b:F(We,b,{operator:"!",expression:b.negate(e)})}function D(b){return b instanceof Er||C&&b instanceof Tt&&b.getValue()||b instanceof We&&b.operator=="!"&&b.expression instanceof Tt&&!b.expression.getValue()}function M(b){return b instanceof Gi||C&&b instanceof Tt&&!b.getValue()||b instanceof We&&b.operator=="!"&&b.expression instanceof Tt&&b.expression.getValue()}function P(){for(var b=h.args,y=d.args,g=0,O=b.length;g<O;g++){if(b[g]instanceof ht)return;if(!b[g].equivalent_to(y[g])){if(y[g]instanceof ht)return;for(var R=g+1;R<O;R++)if(b[R]instanceof ht||!b[R].equivalent_to(y[R]))return;return g}}}}),et(Mu,function(t,e){if(e.in_boolean_context())return F(Qe,t,{value:+t.value});var n=e.parent();return e.option("booleans_as_integers")?(n instanceof ae&&(n.operator=="==="||n.operator=="!==")&&(n.operator=n.operator.replace(/=$/,"")),F(Qe,t,{value:+t.value})):e.option("booleans")?n instanceof ae&&(n.operator=="=="||n.operator=="!=")?F(Qe,t,{value:+t.value}):F(We,t,{operator:"!",expression:F(Qe,t,{value:1-t.value})}):t});function Id(t,e){return t instanceof Ae&&(t=t.fixed_value()),t?!(t instanceof Ge||t instanceof yt)||!(t instanceof Ge&&t.contains_this())?!0:e.parent()instanceof rr:!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 Nt)for(var a=r.properties,c=a.length;--c>=0;){var h=a[c];if(""+(h instanceof Bn?h.key.name:h.key)==t)return!a.every(v=>(v instanceof Jt||n&&v instanceof Bn&&!v.is_generator)&&!v.computed_key())||!Id(h.value,e)?void 0:F(An,this,{expression:F(St,r,{elements:a.map(function(v){var S=v.value;S instanceof Mi&&(S=F(Ft,S,S));var C=v.key;return C instanceof Ce&&!(C instanceof $n)?nt(v,[C,S]):S})}),property:F(Qe,this,{value:c})})}}}),et(An,function(t,e){var n=t.expression,r=t.property;if(e.option("properties")){var a=r.evaluate(e);if(a!==r){if(typeof a=="string")if(a=="undefined")a=void 0;else{var c=parseFloat(a);c.toString()==a&&(a=c)}r=t.property=zi(r,ir(a,r).transform(e));var h=""+a;if(ku(h)&&h.length<=r.size()+1)return F(Wt,t,{expression:n,optional:t.optional,property:h,quote:r.quote}).optimize(e)}}var d;e:if(e.option("arguments")&&n instanceof Ae&&n.name=="arguments"&&n.definition().orig.length==1&&(d=n.scope)instanceof Ge&&d.uses_arguments&&!(d instanceof Yt)&&r instanceof Qe){for(var v=r.getValue(),S=new Set,C=d.argnames,T=0;T<C.length;T++){if(!(C[T]instanceof Pn))break e;var D=C[T].name;if(S.has(D))break e;S.add(D)}var M=d.argnames[v];if(M&&e.has_directive("use strict")){var P=M.definition();(!e.option("reduce_vars")||P.assignments||P.orig.length>1)&&(M=null)}else if(!M&&!e.option("keep_fargs")&&v<d.argnames.length+5)for(;v>=d.argnames.length;)M=d.create_symbol(Pn,{source:d,scope:d,tentative_name:"argument_"+d.argnames.length}),d.argnames.push(M);if(M){var b=F(Ae,t,M);return b.reference({}),rs(M,ao),b}}if(e.is_lhs())return t;if(a!==r){var y=t.flatten_object(h,e);y&&(n=t.expression=y.expression,r=t.property=y.property)}if(e.option("properties")&&e.option("side_effects")&&r instanceof Qe&&n instanceof St){var v=r.getValue(),g=n.elements,O=g[v];e:if(Id(O,e)){for(var R=!0,k=[],U=g.length;--U>v;){var c=g[U].drop_side_effect_free(e);c&&(k.unshift(c),R&&c.has_side_effects(e)&&(R=!1))}if(O instanceof ht)break e;for(O=O instanceof Ir?F(tn,O):O,R||k.unshift(O);--U>=0;){var c=g[U];if(c instanceof ht)break e;c=c.drop_side_effect_free(e),c?k.unshift(c):v--}return R?(k.push(O),nt(t,k).optimize(e)):F(An,t,{expression:F(St,n,{elements:k}),property:F(Qe,r,{value:v})})}}var X=t.evaluate(e);return X!==t?(X=ir(X,t).optimize(e),Tr(e,X,t)):t}),et(gn,function(t,e){if(li(t.expression,e)){let n=e.parent();return n instanceof We&&n.operator==="delete"?ir(0,t):F(tn,t)}return t}),et(Wt,function(t,e){const n=e.parent();if(e.is_lhs())return t;if(e.option("unsafe_proto")&&t.expression instanceof Wt&&t.expression.property=="prototype"){var r=t.expression.expression;if(ui(r))switch(r.name){case"Array":t.expression=F(St,t.expression,{elements:[]});break;case"Function":t.expression=F(Ft,t.expression,{argnames:[],body:[]});break;case"Number":t.expression=F(Qe,t.expression,{value:0});break;case"Object":t.expression=F(Nt,t.expression,{properties:[]});break;case"RegExp":t.expression=F(hr,t.expression,{value:{source:"t",flags:""}});break;case"String":t.expression=F(dt,t.expression,{value:""});break}}if(!(n instanceof Ve)||!ur(n,Ao)){const c=t.flatten_object(t.property,e);if(c)return c.optimize(e)}if(t.expression instanceof Xe&&n instanceof Xe)return t;let a=t.evaluate(e);return a!==t?(a=ir(a,t).optimize(e),Tr(e,a,t)):t});function df(t,e){return e.in_boolean_context()?Tr(e,t,nt(t,[t,F(Er,t)]).optimize(e)):t}function Pd(t){for(var e=0;e<t.length;e++){var n=t[e];if(n instanceof ht){var r=n.expression;r instanceof St&&!r.elements.some(a=>a instanceof Ir)&&(t.splice(e,1,...r.elements),e--)}}}et(St,function(t,e){var n=df(t,e);return n!==t?n:(Pd(t.elements),t)});function _0(t){for(var e=0;e<t.length;e++){var n=t[e];if(n instanceof ht){const r=n.expression;r instanceof Nt&&r.properties.every(a=>a instanceof Jt)?(t.splice(e,1,...r.properties),e--):(r instanceof Tt||r.is_constant())&&!(r instanceof dt)&&(t.splice(e,1),e--)}}}et(Nt,function(t,e){var n=df(t,e);return n!==t?n:(_0(t.properties),t)}),et(hr,df),et(an,function(t,e){return t.value&&ci(t.value,e)&&(t.value=null),t}),et(Yt,pf),et(Ft,function(t,e){return t=pf(t,e),e.option("unsafe_arrows")&&e.option("ecma")>=2015&&!t.name&&!t.is_generator&&!t.uses_arguments&&!t.pinned()&&!Fn(t,r=>{if(r instanceof Vn)return dr})?F(Yt,t,t).optimize(e):t}),et(yt,function(t){for(let e=0;e<t.properties.length;e++){const n=t.properties[e];n instanceof Yn&&n.body.length==0&&(t.properties.splice(e,1),e--)}return t}),et(Yn,function(t,e){return Wu(t.body,e),t}),et(br,function(t,e){return t.expression&&!t.is_star&&ci(t.expression,e)&&(t.expression=null),t}),et(Xn,function(t,e){if(!e.option("evaluate")||e.parent()instanceof jr)return t;for(var n=[],r=0;r<t.segments.length;r++){var a=t.segments[r];if(a instanceof Ce){var c=a.evaluate(e);if(c!==a&&(c+"").length<=a.size()+3){n[n.length-1].value=n[n.length-1].value+c+t.segments[++r].value;continue}if(a instanceof Xn){var h=a.segments;n[n.length-1].value+=h[0].value;for(var d=1;d<h.length;d++)a=h[d],n.push(a);continue}}n.push(a)}if(t.segments=n,n.length==1)return F(dt,t,n[0]);if(n.length===3&&n[1]instanceof Ce&&(n[1].is_string(e)||n[1].is_number(e)||li(n[1],e)||e.option("unsafe"))){if(n[2].value==="")return F(ae,t,{operator:"+",left:F(dt,t,{value:n[0].value}),right:n[1]});if(n[0].value==="")return F(ae,t,{operator:"+",left:n[1],right:F(dt,t,{value:n[2].value})})}return t}),et(jr,function(t){return t});function mf(t,e){if(!e.option("computed_props")||!(t.key instanceof Tt))return t;if(t.key instanceof dt||t.key instanceof Qe){const n=t.key.value.toString();if(n==="__proto__"||n=="constructor"&&e.parent()instanceof yt)return t;t instanceof Jt?(t.quote=t.key.quote,t.key=n):t instanceof fr?(t.quote=t.key.quote,t.key=F(Hi,t.key,{name:n})):(t.quote=t.key.quote,t.key=F($n,t.key,{name:n}))}return t}et(cn,mf),et(Bn,function(t,e){if(mf(t,e),e.option("arrows")&&e.parent()instanceof Nt&&!t.is_generator&&!t.value.uses_arguments&&!t.value.pinned()&&t.value.body.length==1&&t.value.body[0]instanceof an&&t.value.body[0].value&&!t.value.contains_this()){var n=F(Yt,t.value,t.value);return n.async=t.async,n.is_generator=t.is_generator,F(Jt,t,{key:t.key instanceof $n?t.key.name:t.key,value:n,quote:t.quote})}return t}),et(Jt,function(t,e){mf(t,e);var n=e.option("unsafe_methods");if(n&&e.option("ecma")>=2015&&(!(n instanceof RegExp)||n.test(t.key+""))){var r=t.key,a=t.value,c=a instanceof Yt&&Array.isArray(a.body)&&!a.contains_this();if((c||a instanceof Ft)&&!a.name)return F(Bn,t,{async:a.async,is_generator:a.is_generator,key:r instanceof Ce?r:F($n,t,{name:r}),value:F(Mi,a,a),quote:t.quote})}return t}),et($t,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 ht)){for(var n=[],r=0;r<t.names.length;r++){var a=t.names[r];a instanceof Jt&&typeof a.key=="string"&&a.value instanceof In&&!h(e,a.value.definition())||n.push(a)}n.length!=t.names.length&&(t.names=n)}return t;function c(d){for(var v=[/^VarDef$/,/^(Const|Let|Var)$/,/^Export$/],S=0,C=0,T=v.length;S<T;C++){var D=d.parent(C);if(!D)return!1;if(!(S===0&&D.TYPE=="Destructuring")){if(!v[S].test(D.TYPE))return!1;S++}}return!0}function h(d,v){return v.references.length?!0:v.global?d.toplevel.vars?d.top_retain?d.top_retain(v):!1:!0:!1}});var _f={exports:{}};(function(t,e){(function(n,r){r(e)})(hu,function(n){const c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h=new Uint8Array(64),d=new Uint8Array(128);for(let H=0;H<c.length;H++){const z=c.charCodeAt(H);h[H]=z,d[z]=H}const v=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(H){return Buffer.from(H.buffer,H.byteOffset,H.byteLength).toString()}}:{decode(H){let z="";for(let q=0;q<H.length;q++)z+=String.fromCharCode(H[q]);return z}};function S(H){const z=new Int32Array(5),q=[];let ce=0;do{const Se=C(H,ce),Ee=[];let Te=!0,Ke=0;z[0]=0;for(let Le=ce;Le<Se;Le++){let ot;Le=T(H,Le,z,0);const Ut=z[0];Ut<Ke&&(Te=!1),Ke=Ut,D(H,Le,Se)?(Le=T(H,Le,z,1),Le=T(H,Le,z,2),Le=T(H,Le,z,3),D(H,Le,Se)?(Le=T(H,Le,z,4),ot=[Ut,z[1],z[2],z[3],z[4]]):ot=[Ut,z[1],z[2],z[3]]):ot=[Ut],Ee.push(ot)}Te||M(Ee),q.push(Ee),ce=Se+1}while(ce<=H.length);return q}function C(H,z){const q=H.indexOf(";",z);return q===-1?H.length:q}function T(H,z,q,ce){let Se=0,Ee=0,Te=0;do{const Le=H.charCodeAt(z++);Te=d[Le],Se|=(Te&31)<<Ee,Ee+=5}while(Te&32);const Ke=Se&1;return Se>>>=1,Ke&&(Se=-2147483648|-Se),q[ce]+=Se,z}function D(H,z,q){return z>=q?!1:H.charCodeAt(z)!==44}function M(H){H.sort(P)}function P(H,z){return H[0]-z[0]}function b(H){const z=new Int32Array(5),q=1024*16,ce=q-36,Se=new Uint8Array(q),Ee=Se.subarray(0,ce);let Te=0,Ke="";for(let Le=0;Le<H.length;Le++){const ot=H[Le];if(Le>0&&(Te===q&&(Ke+=v.decode(Se),Te=0),Se[Te++]=59),ot.length!==0){z[0]=0;for(let Ut=0;Ut<ot.length;Ut++){const ct=ot[Ut];Te>ce&&(Ke+=v.decode(Ee),Se.copyWithin(0,ce,Te),Te-=ce),Ut>0&&(Se[Te++]=44),Te=y(Se,Te,z,ct,0),ct.length!==1&&(Te=y(Se,Te,z,ct,1),Te=y(Se,Te,z,ct,2),Te=y(Se,Te,z,ct,3),ct.length!==4&&(Te=y(Se,Te,z,ct,4)))}}}return Ke+v.decode(Se.subarray(0,Te))}function y(H,z,q,ce,Se){const Ee=ce[Se];let Te=Ee-q[Se];q[Se]=Ee,Te=Te<0?-Te<<1|1:Te<<1;do{let Ke=Te&31;Te>>>=5,Te>0&&(Ke|=32),H[z++]=h[Ke]}while(Te>0);return z}const g=/^[\w+.-]+:\/\//,O=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,R=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function k(H){return g.test(H)}function U(H){return H.startsWith("//")}function X(H){return H.startsWith("/")}function J(H){return H.startsWith("file:")}function G(H){return/^[.?#]/.test(H)}function Y(H){const z=O.exec(H);return te(z[1],z[2]||"",z[3],z[4]||"",z[5]||"/",z[6]||"",z[7]||"")}function $(H){const z=R.exec(H),q=z[2];return te("file:","",z[1]||"","",X(q)?q:"/"+q,z[3]||"",z[4]||"")}function te(H,z,q,ce,Se,Ee,Te){return{scheme:H,user:z,host:q,port:ce,path:Se,query:Ee,hash:Te,type:7}}function ee(H){if(U(H)){const q=Y("http:"+H);return q.scheme="",q.type=6,q}if(X(H)){const q=Y("http://foo.com"+H);return q.scheme="",q.host="",q.type=5,q}if(J(H))return $(H);if(k(H))return Y(H);const z=Y("http://foo.com/"+H);return z.scheme="",z.host="",z.type=H?H.startsWith("?")?3:H.startsWith("#")?2:4:1,z}function _e(H){if(H.endsWith("/.."))return H;const z=H.lastIndexOf("/");return H.slice(0,z+1)}function ge(H,z){re(z,z.type),H.path==="/"?H.path=z.path:H.path=_e(z.path)+H.path}function re(H,z){const q=z<=4,ce=H.path.split("/");let Se=1,Ee=0,Te=!1;for(let Le=1;Le<ce.length;Le++){const ot=ce[Le];if(!ot){Te=!0;continue}if(Te=!1,ot!=="."){if(ot===".."){Ee?(Te=!0,Ee--,Se--):q&&(ce[Se++]=ot);continue}ce[Se++]=ot,Ee++}}let Ke="";for(let Le=1;Le<Se;Le++)Ke+="/"+ce[Le];(!Ke||Te&&!Ke.endsWith("/.."))&&(Ke+="/"),H.path=Ke}function de(H,z){if(!H&&!z)return"";const q=ee(H);let ce=q.type;if(z&&ce!==7){const Ee=ee(z),Te=Ee.type;switch(ce){case 1:q.hash=Ee.hash;case 2:q.query=Ee.query;case 3:case 4:ge(q,Ee);case 5:q.user=Ee.user,q.host=Ee.host,q.port=Ee.port;case 6:q.scheme=Ee.scheme}Te>ce&&(ce=Te)}re(q,ce);const Se=q.query+q.hash;switch(ce){case 2:case 3:return Se;case 4:{const Ee=q.path.slice(1);return Ee?G(z||H)&&!G(Ee)?"./"+Ee+Se:Ee+Se:Se||"."}case 5:return q.path+Se;default:return q.scheme+"//"+q.user+q.host+q.port+q.path+Se}}function fe(H,z){return z&&!z.endsWith("/")&&(z+="/"),de(H,z)}function Oe(H){if(!H)return"";const z=H.lastIndexOf("/");return H.slice(0,z+1)}const Ie=0,ve=1,Ue=2,Z=3,ie=4,ue=1,xe=2;function be(H,z){const q=xt(H,0);if(q===H.length)return H;z||(H=H.slice());for(let ce=q;ce<H.length;ce=xt(H,ce+1))H[ce]=Et(H[ce],z);return H}function xt(H,z){for(let q=z;q<H.length;q++)if(!Vt(H[q]))return q;return H.length}function Vt(H){for(let z=1;z<H.length;z++)if(H[z][Ie]<H[z-1][Ie])return!1;return!0}function Et(H,z){return z||(H=H.slice()),H.sort(Mt)}function Mt(H,z){return H[Ie]-z[Ie]}let gt=!1;function Ot(H,z,q,ce){for(;q<=ce;){const Se=q+(ce-q>>1),Ee=H[Se][Ie]-z;if(Ee===0)return gt=!0,Se;Ee<0?q=Se+1:ce=Se-1}return gt=!1,q-1}function Zt(H,z,q){for(let ce=q+1;ce<H.length&&H[ce][Ie]===z;q=ce++);return q}function se(H,z,q){for(let ce=q-1;ce>=0&&H[ce][Ie]===z;q=ce--);return q}function ke(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function me(H,z,q,ce){const{lastKey:Se,lastNeedle:Ee,lastIndex:Te}=q;let Ke=0,Le=H.length-1;if(ce===Se){if(z===Ee)return gt=Te!==-1&&H[Te][Ie]===z,Te;z>=Ee?Ke=Te===-1?0:Te:Le=Te}return q.lastKey=ce,q.lastNeedle=z,q.lastIndex=Ot(H,z,Ke,Le)}function bt(H,z){const q=z.map(Dt);for(let ce=0;ce<H.length;ce++){const Se=H[ce];for(let Ee=0;Ee<Se.length;Ee++){const Te=Se[Ee];if(Te.length===1)continue;const Ke=Te[ve],Le=Te[Ue],ot=Te[Z],Ut=q[Ke],ct=Ut[Le]||(Ut[Le]=[]),Gt=z[Ke];let On=Zt(ct,ot,me(ct,ot,Gt,Le));Gt.lastIndex=++On,At(ct,On,[ot,ce,Te[Ie]])}}return q}function At(H,z,q){for(let ce=H.length;ce>z;ce--)H[ce]=H[ce-1];H[z]=q}function Dt(){return{__proto__:null}}const Un=function(H,z){const q=Qt(H);if(!("sections"in q))return new Me(q,z);const ce=[],Se=[],Ee=[],Te=[],Ke=[];dn(q,z,ce,Se,Ee,Te,Ke,0,0,1/0,1/0);const Le={version:3,file:q.file,names:Te,sources:Se,sourcesContent:Ee,mappings:ce,ignoreList:Ke};return Ci(Le)};function Qt(H){return typeof H=="string"?JSON.parse(H):H}function dn(H,z,q,ce,Se,Ee,Te,Ke,Le,ot,Ut){const{sections:ct}=H;for(let Gt=0;Gt<ct.length;Gt++){const{map:On,offset:Gn}=ct[Gt];let Jn=ot,Mr=Ut;if(Gt+1<ct.length){const qr=ct[Gt+1].offset;Jn=Math.min(ot,Ke+qr.line),Jn===ot?Mr=Math.min(Ut,Le+qr.column):Jn<ot&&(Mr=Le+qr.column)}jt(On,z,q,ce,Se,Ee,Te,Ke+Gn.line,Le+Gn.column,Jn,Mr)}}function jt(H,z,q,ce,Se,Ee,Te,Ke,Le,ot,Ut){const ct=Qt(H);if("sections"in ct)return dn(...arguments);const Gt=new Me(ct,z),On=ce.length,Gn=Ee.length,Jn=ft(Gt),{resolvedSources:Mr,sourcesContent:qr,ignoreList:Ta}=Gt;if(Pt(ce,Mr),Pt(Ee,Gt.names),qr)Pt(Se,qr);else for(let Zn=0;Zn<Mr.length;Zn++)Se.push(null);if(Ta)for(let Zn=0;Zn<Ta.length;Zn++)Te.push(Ta[Zn]+On);for(let Zn=0;Zn<Jn.length;Zn++){const Ji=Ke+Zn;if(Ji>ot)return;const cs=fn(q,Ji),Yu=Zn===0?Le:0,ls=Jn[Zn];for(let Zi=0;Zi<ls.length;Zi++){const Qi=ls[Zi],Br=Yu+Qi[Ie];if(Ji===ot&&Br>=Ut)return;if(Qi.length===1){cs.push([Br]);continue}const ho=On+Qi[ve],Ju=Qi[Ue],Bo=Qi[Z];cs.push(Qi.length===4?[Br,ho,Ju,Bo]:[Br,ho,Ju,Bo,Gn+Qi[ie]])}}}function Pt(H,z){for(let q=0;q<z.length;q++)H.push(z[q])}function fn(H,z){for(let q=H.length;q<=z;q++)H[q]=[];return H[z]}const Ai="`line` must be greater than 0 (lines start at line 1)",j="`column` must be greater than or equal to 0 (columns start at column 0)",Ne=-1,Be=1;class Me{constructor(z,q){const ce=typeof z=="string";if(!ce&&z._decodedMemo)return z;const Se=ce?JSON.parse(z):z,{version:Ee,file:Te,names:Ke,sourceRoot:Le,sources:ot,sourcesContent:Ut}=Se;this.version=Ee,this.file=Te,this.names=Ke||[],this.sourceRoot=Le,this.sources=ot,this.sourcesContent=Ut,this.ignoreList=Se.ignoreList||Se.x_google_ignoreList||void 0;const ct=fe(Le||"",Oe(q));this.resolvedSources=ot.map(On=>fe(On||"",ct));const{mappings:Gt}=Se;typeof Gt=="string"?(this._encoded=Gt,this._decoded=void 0):(this._encoded=void 0,this._decoded=be(Gt,ce)),this._decodedMemo=ke(),this._bySources=void 0,this._bySourceMemos=void 0}}function ut(H){return H}function on(H){var z,q;return(z=(q=H)._encoded)!==null&&z!==void 0?z:q._encoded=b(H._decoded)}function ft(H){var z;return(z=H)._decoded||(z._decoded=S(H._encoded))}function vn(H,z){let{line:q,column:ce,bias:Se}=z;if(q--,q<0)throw new Error(Ai);if(ce<0)throw new Error(j);const Ee=ft(H);if(q>=Ee.length)return xr(null,null,null,null);const Te=Ee[q],Ke=Po(Te,H._decodedMemo,q,ce,Se||Be);if(Ke===-1)return xr(null,null,null,null);const Le=Te[Ke];if(Le.length===1)return xr(null,null,null,null);const{names:ot,resolvedSources:Ut}=H;return xr(Ut[Le[ve]],Le[Ue]+1,Le[Z],Le.length===5?ot[Le[ie]]:null)}function Cn(H,z){const{source:q,line:ce,column:Se,bias:Ee}=z;return Fr(H,q,ce,Se,Ee||Be,!1)}function fi(H,z){const{source:q,line:ce,column:Se,bias:Ee}=z;return Fr(H,q,ce,Se,Ee||Ne,!0)}function Mn(H,z){const q=ft(H),{names:ce,resolvedSources:Se}=H;for(let Ee=0;Ee<q.length;Ee++){const Te=q[Ee];for(let Ke=0;Ke<Te.length;Ke++){const Le=Te[Ke],ot=Ee+1,Ut=Le[0];let ct=null,Gt=null,On=null,Gn=null;Le.length!==1&&(ct=Se[Le[1]],Gt=Le[2]+1,On=Le[3]),Le.length===5&&(Gn=ce[Le[4]]),z({generatedLine:ot,generatedColumn:Ut,source:ct,originalLine:Gt,originalColumn:On,name:Gn})}}}function hn(H,z){const{sources:q,resolvedSources:ce}=H;let Se=q.indexOf(z);return Se===-1&&(Se=ce.indexOf(z)),Se}function lo(H,z){const{sourcesContent:q}=H;if(q==null)return null;const ce=hn(H,z);return ce===-1?null:q[ce]}function Ci(H,z){const q=new Me(fo(H,[]),z);return q._decoded=H.mappings,q}function fo(H,z){return{version:H.version,file:H.file,names:H.names,sourceRoot:H.sourceRoot,sources:H.sources,sourcesContent:H.sourcesContent,mappings:z,ignoreList:H.ignoreList||H.x_google_ignoreList}}function xr(H,z,q,ce){return{source:H,line:z,column:q,name:ce}}function Wr(H,z){return{line:H,column:z}}function Po(H,z,q,ce,Se){let Ee=me(H,ce,z,q);return gt?Ee=(Se===Ne?Zt:se)(H,ce,Ee):Se===Ne&&Ee++,Ee===-1||Ee===H.length?-1:Ee}function Xi(H,z,q,ce,Se){let Ee=Po(H,z,q,ce,Be);if(!gt&&Se===Ne&&Ee++,Ee===-1||Ee===H.length)return[];const Te=gt?ce:H[Ee][Ie];gt||(Ee=se(H,Te,Ee));const Ke=Zt(H,Te,Ee),Le=[];for(;Ee<=Ke;Ee++){const ot=H[Ee];Le.push(Wr(ot[ue]+1,ot[xe]))}return Le}function Fr(H,z,q,ce,Se,Ee){var Te;if(q--,q<0)throw new Error(Ai);if(ce<0)throw new Error(j);const{sources:Ke,resolvedSources:Le}=H;let ot=Ke.indexOf(z);if(ot===-1&&(ot=Le.indexOf(z)),ot===-1)return Ee?[]:Wr(null,null);const ct=((Te=H)._bySources||(Te._bySources=bt(ft(H),H._bySourceMemos=Ke.map(ke))))[ot][q];if(ct==null)return Ee?[]:Wr(null,null);const Gt=H._bySourceMemos[ot];if(Ee)return Xi(ct,Gt,q,ce,Se);const On=Po(ct,Gt,q,ce,Se);if(On===-1)return Wr(null,null);const Gn=ct[On];return Wr(Gn[ue]+1,Gn[xe])}class hi{constructor(){this._indexes={__proto__:null},this.array=[]}}function Fo(H){return H}function _t(H,z){return H._indexes[z]}function or(H,z){const q=_t(H,z);if(q!==void 0)return q;const{array:ce,_indexes:Se}=H,Ee=ce.push(z);return Se[z]=Ee-1}const N=0,K=1,W=2,Q=3,oe=4,Fe=-1;class Pe{constructor({file:z,sourceRoot:q}={}){this._names=new hi,this._sources=new hi,this._sourcesContent=[],this._mappings=[],this.file=z,this.sourceRoot=q,this._ignoreList=new hi}}function rt(H){return H}const Ht=(H,z)=>Mo(!0,H,z);function sn(H,z,q){const{_sources:ce,_sourcesContent:Se}=H,Ee=or(ce,z);Se[Ee]=q}function En(H){const{_mappings:z,_sources:q,_sourcesContent:ce,_names:Se,_ignoreList:Ee}=H;return yf(z),{version:3,file:H.file||void 0,names:Se.array,sourceRoot:H.sourceRoot||void 0,sources:q.array,sourcesContent:ce,mappings:z,ignoreList:Ee.array}}function Lr(H){const z=En(H);return Object.assign(Object.assign({},z),{mappings:b(z.mappings)})}function Bt(H){const z=new Me(H),q=new Pe({file:z.file,sourceRoot:z.sourceRoot});return Lo(q._names,z.names),Lo(q._sources,z.sources),q._sourcesContent=z.sourcesContent||z.sources.map(()=>null),q._mappings=ft(z),z.ignoreList&&Lo(q._ignoreList,z.ignoreList),q}function Xr(H,z,q,ce,Se,Ee,Te,Ke,Le){const{_mappings:ot,_sources:Ut,_sourcesContent:ct,_names:Gt}=z,On=Ar(ot,q),Gn=qu(On,ce);if(!Se)return H&&as(On,Gn)?void 0:qi(On,Gn,[ce]);const Jn=or(Ut,Se),Mr=Ke?or(Gt,Ke):Fe;if(Jn===ct.length&&(ct[Jn]=Le??null),!(H&&Yi(On,Gn,Jn,Ee,Te,Mr)))return qi(On,Gn,Ke?[ce,Jn,Ee,Te,Mr]:[ce,Jn,Ee,Te])}function Ar(H,z){for(let q=H.length;q<=z;q++)H[q]=[];return H[z]}function qu(H,z){let q=H.length;for(let ce=q-1;ce>=0;q=ce--){const Se=H[ce];if(z>=Se[N])break}return q}function qi(H,z,q){for(let ce=H.length;ce>z;ce--)H[ce]=H[ce-1];H[z]=q}function yf(H){const{length:z}=H;let q=z;for(let ce=q-1;ce>=0&&!(H[ce].length>0);q=ce,ce--);q<z&&(H.length=q)}function Lo(H,z){for(let q=0;q<z.length;q++)or(H,z[q])}function as(H,z){return z===0?!0:H[z-1].length===1}function Yi(H,z,q,ce,Se,Ee){if(z===0)return!1;const Te=H[z-1];return Te.length===1?!1:q===Te[K]&&ce===Te[W]&&Se===Te[Q]&&Ee===(Te.length===5?Te[oe]:Fe)}function Mo(H,z,q){const{generated:ce,source:Se,original:Ee,name:Te,content:Ke}=q;return Se?Xr(H,z,ce.line-1,ce.column,Se,Ee.line-1,Ee.column,Te,Ke):Xr(H,z,ce.line-1,ce.column,null,null,null,null,null)}class us{constructor(z,q){const ce=this._map=new Un(z,q);this.file=ce.file,this.names=ce.names,this.sourceRoot=ce.sourceRoot,this.sources=ce.resolvedSources,this.sourcesContent=ce.sourcesContent,this.version=ce.version}static fromSourceMap(z,q){return z.toDecodedMap?new us(z.toDecodedMap(),q):new us(z.toJSON(),q)}get mappings(){return on(this._map)}originalPositionFor(z){return vn(this._map,z)}generatedPositionFor(z){return Cn(this._map,z)}allGeneratedPositionsFor(z){return fi(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,q){const ce=lo(this._map,z);if(ce!=null)return ce;if(q)return null;throw new Error(`"${z}" is not in the SourceMap.`)}eachMapping(z,q){Mn(this._map,q?z.bind(q):z)}destroy(){}}class it{constructor(z){this._map=z instanceof Pe?z:new Pe(z)}static fromSourceMap(z){return new it(Bt(z))}addMapping(z){Ht(this._map,z)}setSourceContent(z,q){sn(this._map,z,q)}toJSON(){return Lr(this._map)}toString(){return JSON.stringify(this.toJSON())}toDecodedMap(){return En(this._map)}}n.SourceMapConsumer=us,n.SourceMapGenerator=it,Object.defineProperty(n,"__esModule",{value:!0})})})(_f,_f.exports);var Fd=_f.exports;function*y0(t){t=_i(t,{file:null,root:null,orig:null,files:{}});var e,n=new Fd.SourceMapGenerator({file:t.file,sourceRoot:t.root});let r={__proto__:null},a=t.files;for(var c in a)tr(a,c)&&(r[c]=a[c]);t.orig&&(e=yield new Fd.SourceMapConsumer(t.orig),e.sourcesContent&&e.sources.forEach(function(T,D){var M=e.sourcesContent[D];M&&(r[T]=M)}));function h(T,D,M,P,b,y){let g={line:D,column:M};if(e){var O=e.originalPositionFor({line:P,column:b});if(O.source===null){n.addMapping({generated:g,original:null,source:null,name:null});return}T=O.source,P=O.line,b=O.column,y=O.name||y}n.addMapping({generated:g,original:{line:P,column:b},source:T,name:y}),n.setSourceContent(T,r[T])}function d(T){return T.sourcesContent&&T.sourcesContent.every(M=>M==null)&&delete T.sourcesContent,T.file===void 0&&delete T.file,T.sourceRoot===void 0&&delete T.sourceRoot,T}function v(){return n.toDecodedMap?d(n.toDecodedMap()):null}function S(){return d(n.toJSON())}function C(){e&&e.destroy&&e.destroy()}return{add:h,getDecoded:v,getEncoded:S,destroy:C}}var g0=["$&","$'","$*","$+","$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 b0(t){g0.forEach(a);var e=["Symbol","Map","Promise","Proxy","Reflect","Set","WeakMap","WeakSet"],n={},r=typeof global=="object"?global:self;e.forEach(function(c){n[c]=r[c]||function(){}}),["null","true","false","NaN","Infinity","-Infinity","undefined"].forEach(a),[Object,Array,Function,Number,String,Boolean,Error,Math,Date,RegExp,n.Symbol,ArrayBuffer,DataView,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,eval,EvalError,Float32Array,Float64Array,Int8Array,Int16Array,Int32Array,isFinite,isNaN,JSON,n.Map,parseFloat,parseInt,n.Promise,n.Proxy,RangeError,ReferenceError,n.Reflect,n.Set,SyntaxError,TypeError,Uint8Array,Uint8ClampedArray,Uint16Array,Uint32Array,URIError,n.WeakMap,n.WeakSet].forEach(function(c){Object.getOwnPropertyNames(c).map(a),c.prototype&&Object.getOwnPropertyNames(c.prototype).map(a)});function a(c){t.add(c)}}function v0(t,e){function n(r){go(e,r)}t.walk(new Ln(function(r){r instanceof Jt&&r.quote?n(r.key):r instanceof cn&&r.quote?n(r.key.name):r instanceof An&&Io(r.property,n)}))}function Io(t,e){t.walk(new Ln(function(n){return n instanceof lt?Io(n.tail_node(),e):n instanceof dt?e(n.value):n instanceof tt&&(Io(n.consequent,e),Io(n.alternative,e)),!0}))}function E0(t,e){var n=-1,r=new Map,a=e.nth_identifier||ga;return t=t.transform(new mr(function(h){h instanceof Ei||h instanceof vi||h instanceof ni||h instanceof bi||h instanceof ii?h.key.name=c(h.key.name):h instanceof Hr&&(h.property=c(h.property))})),t;function c(h){let d=r.get(h);return d||(d=a.get(++n),r.set(h,d)),d}}function Ld(t){var e=new Set;return Fn(t,n=>{n instanceof Ei||n instanceof vi||n instanceof ni||n instanceof bi||n instanceof Hr||(n instanceof Jt?typeof n.key=="string"&&ur(n,ya)&&e.add(n.key):n instanceof cn?ur(n,ya)&&e.add(n.key.name):n instanceof Wt?ur(n,ya)&&e.add(n.property):n instanceof An&&n.property instanceof dt&&ur(n,ya)&&e.add(n.property.value))}),e}function S0(t,e,n=Ld(t)){e=_i(e,{builtins:!1,cache:null,debug:!1,keep_quoted:!1,nth_identifier:ga,only_cache:!1,regex:null,reserved:null,undeclared:!1,only_annotated:!1},!0);var r=e.nth_identifier,a=e.reserved;Array.isArray(a)||(a=[a]);var c=new Set(a);e.builtins||b0(c);var h=-1,d;e.cache?d=e.cache.props:d=new Map;var v=e.only_annotated,S=e.regex&&new RegExp(e.regex),C=e.debug!==!1,T;C&&(T=e.debug===!0?"":e.debug);var D=new Set,M=new Set;d.forEach(k=>M.add(k));var P=!!e.keep_quoted;return t.walk(new Ln(function(k){if(!(k instanceof Ei||k instanceof vi||k instanceof ni||k instanceof bi||k instanceof Hr))if(k instanceof Jt)typeof k.key=="string"&&(!P||!k.quote)&&g(k.key);else if(k instanceof cn)(!P||!k.quote)&&g(k.key.name);else if(k instanceof Wt){var U=!!e.undeclared;if(!U){for(var X=k;X.expression;)X=X.expression;U=!(X.thedef&&X.thedef.undeclared)}U&&(!P||!k.quote)&&g(k.property)}else k instanceof An?P||Io(k.property,g):k instanceof Ve&&k.expression.print_to_string()=="Object.defineProperty"?Io(k.args[1],g):k instanceof ae&&k.operator==="in"?Io(k.left,g):k instanceof dt&&ur(k,_a)&&g(k.value)})),t.transform(new mr(function(k){k instanceof Ei||k instanceof vi||k instanceof ni||k instanceof bi||k instanceof Hr||(k instanceof Jt?typeof k.key=="string"&&(!P||!k.quote)&&(k.key=O(k.key)):k instanceof cn?(!P||!k.quote)&&(k.key.name=O(k.key.name)):k instanceof Wt?(!P||!k.quote)&&(k.property=O(k.property)):!P&&k instanceof An?k.property=R(k.property):k instanceof Ve&&k.expression.print_to_string()=="Object.defineProperty"?k.args[1]=R(k.args[1]):k instanceof ae&&k.operator==="in"?k.left=R(k.left):k instanceof dt&&ur(k,_a)&&(Zp(k,_a),k.value=O(k.value)))}));function b(k){return M.has(k)||c.has(k)?!1:e.only_cache?d.has(k):!/^-?[0-9]+(\.[0-9]+)?(e[+-][0-9]+)?$/.test(k)}function y(k){return v&&!n.has(k)?!1:S&&!S.test(k)?n.has(k):c.has(k)?!1:d.has(k)||D.has(k)}function g(k){b(k)&&D.add(k),y(k)||M.add(k)}function O(k){if(!y(k))return k;var U=d.get(k);if(!U){if(C){var X="_$"+k+"$"+T+"_";b(X)&&(U=X)}if(!U)do U=r.get(++h);while(!b(U));d.set(k,U)}return U}function R(k){return k.transform(new mr(function(U){if(U instanceof lt){var X=U.expressions.length-1;U.expressions[X]=R(U.expressions[X])}else U instanceof dt?(Zp(U,_a),U.value=O(U.value)):U instanceof tt&&(U.consequent=R(U.consequent),U.alternative=R(U.alternative));return U}))}}var T0=typeof Buffer<"u"?t=>Buffer.from(t,"base64").toString():t=>decodeURIComponent(escape(atob(t))),x0=typeof Buffer<"u"?t=>Buffer.from(t).toString("base64"):t=>btoa(unescape(encodeURIComponent(t)));function A0(t){var e=/(?:^|[^.])\/\/# sourceMappingURL=data:application\/json(;[\w=-]*)?;base64,([+/0-9A-Za-z]*=*)\s*$/.exec(t);return e?T0(e[2]):(console.warn("inline source map not found"),null)}function co(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 Md(t){t&&("props"in t?t.props instanceof Map||(t.props=py(t.props)):t.props=new Map)}function Bd(t){return{props:dy(t.props)}}function C0(t,e,n,r){if(!(n&&n.writeFileSync&&n.mkdirSync))return;try{n.mkdirSync(r)}catch(d){if(d.code!=="EEXIST")throw d}const a=`${r}/terser-debug-${Math.random()*9999999|0}.log`;e=e||{};const c=JSON.stringify(e,(d,v)=>typeof v=="function"?"[Function "+v.toString()+"]":v instanceof RegExp?"[RegExp "+v.toString()+"]":v,4),h=d=>typeof d=="object"&&e.parse&&e.parse.spidermonkey?JSON.stringify(d,null,2):typeof d=="object"?Object.keys(d).map(v=>v+": "+h(d[v])).join(`
271
+
272
+ `):typeof d=="string"?"```\n"+d+"\n```":d;n.writeFileSync(a,`Options:
273
+ `+c+`
274
+
275
+ Input files:
276
+
277
+ `+h(t)+`
278
+ `)}function*O0(t,e,n){n&&typeof process=="object"&&process.env&&typeof process.env.TERSER_DEBUG_DIR=="string"&&C0(t,e,n,process.env.TERSER_DEBUG_DIR),e=_i(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||{},co("ecma",e,["parse","compress","format"]),co("ie8",e,["compress","mangle","format"]),co("keep_classnames",e,["compress","mangle"]),co("keep_fnames",e,["compress","mangle"]),co("module",e,["parse","compress","mangle"]),co("safari10",e,["mangle","format"]),co("toplevel",e,["compress","mangle"]),co("warnings",e,["compress"]);var a;e.mangle&&(e.mangle=_i(e.mangle,{cache:e.nameCache&&(e.nameCache.vars||{}),eval:!1,ie8:!1,keep_classnames:!1,keep_fnames:!1,module:!1,nth_identifier:ga,properties:!1,reserved:[],safari10:!1,toplevel:!1},!0),e.mangle.properties&&(typeof e.mangle.properties!="object"&&(e.mangle.properties={}),e.mangle.properties.keep_quoted&&(a=e.mangle.properties.reserved,Array.isArray(a)||(a=[]),e.mangle.properties.reserved=a),e.nameCache&&!("cache"in e.mangle.properties)&&(e.mangle.properties.cache=e.nameCache.props||{})),Md(e.mangle.cache),Md(e.mangle.properties.cache)),e.sourceMap&&(e.sourceMap=_i(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=Ce.from_mozilla_ast(Object.keys(t).reduce(function(D,M){return D?(D.body=D.body.concat(t[M].body),D):t[M]},null));else{delete e.parse.spidermonkey;for(var h in t)if(tr(t,h)&&(e.parse.filename=h,e.parse.toplevel=la(t[h],e.parse),e.sourceMap&&e.sourceMap.content=="inline")){if(Object.keys(t).length>1)throw new Error("inline source map only works with singular input");e.sourceMap.content=A0(t[h])}}if(e.parse.toplevel===null)throw new Error("no source file given");c=e.parse.toplevel}a&&e.mangle.properties.keep_quoted!=="strict"&&v0(c,a);var d;e.mangle&&e.mangle.properties&&(d=Ld(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 Rd(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=E0(c,e.mangle)),r&&(r.properties=Date.now()),e.mangle&&e.mangle.properties&&(c=S0(c,e.mangle.properties,d)),r&&(r.format=Date.now());var v={};e.format.ast&&(v.ast=c),e.format.spidermonkey&&(v.ast=c.to_mozilla_ast());let S;if(!tr(e.format,"code")||e.format.code){if(S={...e.format},S.ast||(S._destroy_ast=!0,Fn(c,D=>{D instanceof qe&&(D.variables=void 0,D.enclosed=void 0,D.parent_scope=void 0),D.block_scope&&(D.block_scope.variables=void 0,D.block_scope.enclosed=void 0,D.parent_scope=void 0)})),e.sourceMap){if(e.sourceMap.includeSources&&t instanceof zt)throw new Error("original source content unavailable");S.source_map=yield*y0({file:e.sourceMap.filename,orig:e.sourceMap.content,root:e.sourceMap.root,files:e.sourceMap.includeSources?t:null})}delete S.ast,delete S.code,delete S.spidermonkey;var C=jl(S);if(c.print(C),v.code=C.get(),e.sourceMap)if(Object.defineProperty(v,"map",{configurable:!0,enumerable:!0,get(){const D=S.source_map.getEncoded();return v.map=e.sourceMap.asObject?D:JSON.stringify(D)},set(D){Object.defineProperty(v,"map",{value:D,writable:!0})}}),v.decoded_map=S.source_map.getDecoded(),e.sourceMap.url=="inline"){var T=typeof v.map=="object"?JSON.stringify(v.map):v.map;v.code+=`
279
+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,`+x0(T)}else e.sourceMap.url&&(v.code+=`
280
+ //# sourceMappingURL=`+e.sourceMap.url)}return e.nameCache&&e.mangle&&(e.mangle.cache&&(e.nameCache.vars=Bd(e.mangle.cache)),e.mangle.properties&&e.mangle.properties.cache&&(e.nameCache.props=Bd(e.mangle.properties.cache))),S&&S.source_map&&S.source_map.destroy(),r&&(r.end=Date.now(),v.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)}),v}async function Ud(t,e,n){const r=O0(t,e,n);let a,c;do c=r.next(await a),a=c.value;while(!c.done);return c.value}function $d(t){const e=new f_(t),n=new xl(e);n.removeErrorListeners();const r=new u_(n),a=new L(r);a._interp.predictionMode=y_.SLL,a.removeErrorListeners();const c=new w0;n.addErrorListener(c),a.addErrorListener(c),a.buildParseTrees=!0;const h=a.program(),d=r.tokens.filter(v=>v.channel===2);return{errors:c.errors,ast:h,comments:d}}async function D0(t,e,n,r){const{errors:a,ast:c,comments:h}=$d(t+`
281
+
282
+ `),d=new jp(r,h,n),v=await d.visit(c);let S=a.splice(0,1);S.length||(S=d.errors);let C="";const T=new J_("$");let D=e?"":T.preParser(v);if(e&&!S.some(M=>M.type===Sn.Error)){const M=T.parser(v)||"";D=T.preParseCode;try{C=(await Ud(M,{compress:!0,mangle:!0})).code||"";const b={message:pe.indiRunErr,type:Sn.Error,startColumn:0,startLineNumber:0,endColumn:0,endLineNumber:0};if(d.hasUseDrawFunc){if(d.scriptType===Ii.library)d.exportPositions.length||(b.message=pe.libraryExportErr,S.push(b));else if(d.exportPositions.length){const y=d.exportPositions.map(g=>{const{type:O,...R}=g;return{message:ye(pe.exportUseErr,{type:O}),type:Sn.Error,...R}});S.push(...y)}}else switch(d.scriptType){case Ii.indicator:S.push(b);break;case Ii.strategy:d.hasUseCreateOrderFunc||(b.message=pe.strategyRunErr,S.push(b));break}}catch(P){S.push({message:(P==null?void 0:P.message)||"minify error",type:Sn.Error,startColumn:0,startLineNumber:0,endColumn:0,endLineNumber:0})}}return{errors:S,functions:Object.fromEntries(d.userFunctions),variables:Object.fromEntries(d.userVariables),types:Object.fromEntries(d.userTypes),methods:Object.fromEntries(d.userMethods),overloadsFuncs:d.overloadsFuncs,imports:Object.fromEntries(d.imports),enums:Object.fromEntries(d.userEnums),codeStr:C,preParserCode:D}}async function k0(t,e,n,r){const{ast:a,comments:c}=$d(t+`
283
+
284
+ `),h=new jp(r,c,n),d=await h.visit(a),{name:v,index:S}=h.endExport,C=d.findIndex(b=>b.name===v&&b.index===S),T=d.slice(0,C+1),M=new Z_("$",e).parser(T)||"",P=await Ud(M,{compress:!0,mangle:!0});return{...h.exportLibs,description:h.description,codeStr:P.code||""}}class w0 extends c_{constructor(){super(...arguments);w(this,"errors",[])}syntaxError(n,r,a,c,h){this.errors.push({message:`syntax error: ${h.replace(/expecting.+/,"")}`,type:Sn.Error,startColumn:c,startLineNumber:a,endColumn:c,endLineNumber:a})}}kl({parseTcc:D0,parseLibraryCode:k0})})();