@guihz/trading-vue-editor-tes 0.0.151 → 0.0.152

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,244 +0,0 @@
1
- var t1=Object.defineProperty;var n1=(bo,vi,Fr)=>vi in bo?t1(bo,vi,{enumerable:!0,configurable:!0,writable:!0,value:Fr}):bo[vi]=Fr;var I=(bo,vi,Fr)=>(n1(bo,typeof vi!="symbol"?vi+"":vi,Fr),Fr);(function(){"use strict";var bo={92:()=>{}},vi={};function Fr(t){var e=vi[t];if(e!==void 0)return e.exports;var n=vi[t]={exports:{}};return bo[t](n,n.exports,Fr),n.exports}Fr.d=(t,e)=>{for(var n in e)Fr.o(e,n)&&!Fr.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},Fr.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var Mt={};(()=>{function t(h){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(h)}function e(h,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(h,(_=function(l,y){if(t(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(t(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),t(_)==="symbol"?_:String(_)),s)}var _}Fr.d(Mt,{dx:()=>bn,q2:()=>t0,FO:()=>pm,xf:()=>su,Gy:()=>ym,s4:()=>Us,c7:()=>bm,_7:()=>um,gp:()=>lm,cK:()=>Ls,zs:()=>w0,AV:()=>su,Xp:()=>_e,VS:()=>J,ul:()=>Go,hW:()=>hr,x1:()=>Wa,z5:()=>Hc,oN:()=>A0,TB:()=>cm,u1:()=>zc,_b:()=>K0,$F:()=>om,_T:()=>X0,db:()=>am,Zx:()=>Wn,_x:()=>zo,r8:()=>ro,JI:()=>Le,TP:()=>hn,WU:()=>n,Nj:()=>F,ZP:()=>e1});var n=function(){function h(){(function(s,_){if(!(s instanceof _))throw new TypeError("Cannot call a class as a function")})(this,h),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=h,(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}),h}();function r(h,i){if(!Array.isArray(h)||!Array.isArray(i))return!1;if(h===i)return!0;if(h.length!==i.length)return!1;for(var m=0;m<h.length;m++)if(!(h[m]===i[m]||h[m].equals&&h[m].equals(i[m])))return!1;return!0}function a(h){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(h)}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 f(h){if(!h)return 0;var i,m,s=a(h),_=s==="string"?h:!(s!=="object"||!h.toString)&&h.toString();if(!_)return 0;for(var l=3&_.length,y=_.length-l,o=c,u=3432918353,S=461845907,k=0;k<y;)m=255&_.charCodeAt(k)|(255&_.charCodeAt(++k))<<8|(255&_.charCodeAt(++k))<<16|(255&_.charCodeAt(++k))<<24,++k,o=27492+(65535&(i=5*(65535&(o=(o^=m=(65535&(m=(m=(65535&m)*u+(((m>>>16)*u&65535)<<16)&4294967295)<<15|m>>>17))*S+(((m>>>16)*S&65535)<<16)&4294967295)<<13|o>>>19))+((5*(o>>>16)&65535)<<16)&4294967295))+((58964+(i>>>16)&65535)<<16);switch(m=0,l){case 3:m^=(255&_.charCodeAt(k+2))<<16;case 2:m^=(255&_.charCodeAt(k+1))<<8;case 1:o^=m=(65535&(m=(m=(65535&(m^=255&_.charCodeAt(k)))*u+(((m>>>16)*u&65535)<<16)&4294967295)<<15|m>>>17))*S+(((m>>>16)*S&65535)<<16)&4294967295}return o^=_.length,o=2246822507*(65535&(o^=o>>>16))+((2246822507*(o>>>16)&65535)<<16)&4294967295,o=3266489909*(65535&(o^=o>>>13))+((3266489909*(o>>>16)&65535)<<16)&4294967295,(o^=o>>>16)>>>0}function p(h){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(h)}function E(h,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(h,(_=function(l,y){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(_)==="symbol"?_:String(_)),s)}var _}var b=function(){function h(){(function(_,l){if(!(_ instanceof l))throw new TypeError("Cannot call a class as a function")})(this,h),this.count=0,this.hash=0}var i,m,s;return i=h,m=[{key:"update",value:function(){for(var _=0;_<arguments.length;_++){var l=arguments[_];if(l!=null)if(Array.isArray(l))this.update.apply(this,l);else{var y=0;switch(p(l)){case"undefined":case"function":continue;case"number":case"boolean":y=l;break;case"string":y=f(l);break;default:l.updateHashCode?l.updateHashCode(this):console.log("No updateHashCode for "+l.toString());continue}y=(y*=3432918353)<<15|y>>>17,y*=461845907,this.count=this.count+1;var o=this.hash^y;o=5*(o=o<<13|o>>>19)+3864292196,this.hash=o}}}},{key:"finish",value:function(){var _=this.hash^4*this.count;return _^=_>>>16,_*=2246822507,_^=_>>>13,(_*=3266489909)^_>>>16}}],s=[{key:"hashStuff",value:function(){var _=new h;return _.update.apply(_,arguments),_.finish()}}],m&&E(i.prototype,m),s&&E(i,s),Object.defineProperty(i,"prototype",{writable:!1}),h}();function T(h){return h?typeof h=="string"?f(h):h.hashCode():-1}function x(h,i){return h?h.equals(i):h===i}function w(h){return h===null?"null":h}function F(h){return Array.isArray(h)?"["+h.map(w).join(", ")+"]":"null"}function R(h){return R=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},R(h)}function v(h,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(h,(_=function(l,y){if(R(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(R(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),R(_)==="symbol"?_:String(_)),s)}var _}var d="h-",g=function(){function h(s,_){(function(l,y){if(!(l instanceof y))throw new TypeError("Cannot call a class as a function")})(this,h),this.data={},this.hashFunction=s||T,this.equalsFunction=_||x}var i,m;return i=h,(m=[{key:"add",value:function(s){var _=d+this.hashFunction(s);if(_ in this.data){for(var l=this.data[_],y=0;y<l.length;y++)if(this.equalsFunction(s,l[y]))return l[y];return l.push(s),s}return this.data[_]=[s],s}},{key:"has",value:function(s){return this.get(s)!=null}},{key:"get",value:function(s){var _=d+this.hashFunction(s);if(_ in this.data){for(var l=this.data[_],y=0;y<l.length;y++)if(this.equalsFunction(s,l[y]))return l[y]}return null}},{key:"values",value:function(){var s=this;return Object.keys(this.data).filter(function(_){return _.startsWith(d)}).flatMap(function(_){return s.data[_]},this)}},{key:"toString",value:function(){return F(this.values())}},{key:"length",get:function(){var s=this;return Object.keys(this.data).filter(function(_){return _.startsWith(d)}).map(function(_){return s.data[_].length},this).reduce(function(_,l){return _+l},0)}}])&&v(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),h}();function A(h,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");h.prototype=Object.create(i&&i.prototype,{constructor:{value:h,writable:!0,configurable:!0}}),Object.defineProperty(h,"prototype",{writable:!1}),i&&O(h,i)}function O(h,i){return O=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},O(h,i)}function D(h){var i=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var m,s=P(h);if(i){var _=P(this).constructor;m=Reflect.construct(s,arguments,_)}else m=s.apply(this,arguments);return function(l,y){if(y&&(U(y)==="object"||typeof y=="function"))return y;if(y!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(o){if(o===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}(l)}(this,m)}}function P(h){return P=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},P(h)}function U(h){return U=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},U(h)}function H(h,i){if(!(h instanceof i))throw new TypeError("Cannot call a class as a function")}function B(h,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(h,(_=function(l,y){if(U(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(U(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),U(_)==="symbol"?_:String(_)),s)}var _}function G(h,i,m){return i&&B(h.prototype,i),m&&B(h,m),Object.defineProperty(h,"prototype",{writable:!1}),h}var N=function(){function h(){H(this,h)}return G(h,[{key:"hashCode",value:function(){var i=new b;return this.updateHashCode(i),i.finish()}},{key:"evaluate",value:function(i,m){}},{key:"evalPrecedence",value:function(i,m){return this}}],[{key:"andContext",value:function(i,m){if(i===null||i===h.NONE)return m;if(m===null||m===h.NONE)return i;var s=new K(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===h.NONE||m===h.NONE)return h.NONE;var s=new Y(i,m);return s.opnds.length===1?s.opnds[0]:s}}]),h}(),K=function(h){A(m,h);var i=D(m);function m(s,_){var l;H(this,m),l=i.call(this);var y=new g;s instanceof m?s.opnds.map(function(S){y.add(S)}):y.add(s),_ instanceof m?_.opnds.map(function(S){y.add(S)}):y.add(_);var o=ne(y);if(o.length>0){var u=null;o.map(function(S){(u===null||S.precedence<u.precedence)&&(u=S)}),y.add(u)}return l.opnds=Array.from(y.values()),l}return G(m,[{key:"equals",value:function(s){return this===s||s instanceof m&&r(this.opnds,s.opnds)}},{key:"updateHashCode",value:function(s){s.update(this.opnds,"AND")}},{key:"evaluate",value:function(s,_){for(var l=0;l<this.opnds.length;l++)if(!this.opnds[l].evaluate(s,_))return!1;return!0}},{key:"evalPrecedence",value:function(s,_){for(var l=!1,y=[],o=0;o<this.opnds.length;o++){var u=this.opnds[o],S=u.evalPrecedence(s,_);if(l|=S!==u,S===null)return null;S!==N.NONE&&y.push(S)}if(!l)return this;if(y.length===0)return N.NONE;var k=null;return y.map(function(C){k=k===null?C:N.andContext(k,C)}),k}},{key:"toString",value:function(){var s=this.opnds.map(function(_){return _.toString()});return(s.length>3?s.slice(3):s).join("&&")}}]),m}(N),Y=function(h){A(m,h);var i=D(m);function m(s,_){var l;H(this,m),l=i.call(this);var y=new g;s instanceof m?s.opnds.map(function(k){y.add(k)}):y.add(s),_ instanceof m?_.opnds.map(function(k){y.add(k)}):y.add(_);var o=ne(y);if(o.length>0){var u=o.sort(function(k,C){return k.compareTo(C)}),S=u[u.length-1];y.add(S)}return l.opnds=Array.from(y.values()),l}return G(m,[{key:"equals",value:function(s){return this===s||s instanceof m&&r(this.opnds,s.opnds)}},{key:"updateHashCode",value:function(s){s.update(this.opnds,"OR")}},{key:"evaluate",value:function(s,_){for(var l=0;l<this.opnds.length;l++)if(this.opnds[l].evaluate(s,_))return!0;return!1}},{key:"evalPrecedence",value:function(s,_){for(var l=!1,y=[],o=0;o<this.opnds.length;o++){var u=this.opnds[o],S=u.evalPrecedence(s,_);if(l|=S!==u,S===N.NONE)return N.NONE;S!==null&&y.push(S)}return l?(y.length===0||y.map(function(k){return k}),null):this}},{key:"toString",value:function(){var s=this.opnds.map(function(_){return _.toString()});return(s.length>3?s.slice(3):s).join("||")}}]),m}(N);function ne(h){var i=[];return h.values().map(function(m){m instanceof N.PrecedencePredicate&&i.push(m)}),i}function se(h){return se=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},se(h)}function re(h,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(h,(_=function(l,y){if(se(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(se(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),se(_)==="symbol"?_:String(_)),s)}var _}function ue(h,i){if(h===null){var m={state:null,alt:null,context:null,semanticContext:null};return i&&(m.reachesIntoOuterContext=0),m}var s={};return s.state=h.state||null,s.alt=h.alt===void 0?null:h.alt,s.context=h.context||null,s.semanticContext=h.semanticContext||null,i&&(s.reachesIntoOuterContext=h.reachesIntoOuterContext||0,s.precedenceFilterSuppressed=h.precedenceFilterSuppressed||!1),s}var ce=function(){function h(s,_){(function(l,y){if(!(l instanceof y))throw new TypeError("Cannot call a class as a function")})(this,h),this.checkContext(s,_),s=ue(s),_=ue(_,!0),this.state=s.state!==null?s.state:_.state,this.alt=s.alt!==null?s.alt:_.alt,this.context=s.context!==null?s.context:_.context,this.semanticContext=s.semanticContext!==null?s.semanticContext:_.semanticContext!==null?_.semanticContext:N.NONE,this.reachesIntoOuterContext=_.reachesIntoOuterContext,this.precedenceFilterSuppressed=_.precedenceFilterSuppressed}var i,m;return i=h,(m=[{key:"checkContext",value:function(s,_){s.context!==null&&s.context!==void 0||_!==null&&_.context!==null&&_.context!==void 0||(this.context=null)}},{key:"hashCode",value:function(){var s=new b;return this.updateHashCode(s),s.finish()}},{key:"updateHashCode",value:function(s){s.update(this.state.stateNumber,this.alt,this.context,this.semanticContext)}},{key:"equals",value:function(s){return this===s||s instanceof h&&this.state.stateNumber===s.state.stateNumber&&this.alt===s.alt&&(this.context===null?s.context===null:this.context.equals(s.context))&&this.semanticContext.equals(s.semanticContext)&&this.precedenceFilterSuppressed===s.precedenceFilterSuppressed}},{key:"hashCodeForConfigSet",value:function(){var s=new b;return s.update(this.state.stateNumber,this.alt,this.semanticContext),s.finish()}},{key:"equalsForConfigSet",value:function(s){return this===s||s instanceof h&&this.state.stateNumber===s.state.stateNumber&&this.alt===s.alt&&this.semanticContext.equals(s.semanticContext)}},{key:"toString",value:function(){return"("+this.state+","+this.alt+(this.context!==null?",["+this.context.toString()+"]":"")+(this.semanticContext!==N.NONE?","+this.semanticContext.toString():"")+(this.reachesIntoOuterContext>0?",up="+this.reachesIntoOuterContext:"")+")"}}])&&re(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),h}();function Ee(h){return Ee=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ee(h)}function Te(h,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(h,(_=function(l,y){if(Ee(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ee(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ee(_)==="symbol"?_:String(_)),s)}var _}var _e=function(){function h(s,_){(function(l,y){if(!(l instanceof y))throw new TypeError("Cannot call a class as a function")})(this,h),this.start=s,this.stop=_}var i,m;return i=h,(m=[{key:"clone",value:function(){return new h(this.start,this.stop)}},{key:"contains",value:function(s){return s>=this.start&&s<this.stop}},{key:"toString",value:function(){return this.start===this.stop-1?this.start.toString():this.start.toString()+".."+(this.stop-1).toString()}},{key:"length",get:function(){return this.stop-this.start}}])&&Te(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),h}();function oe(h){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(h)}function Z(h,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(h,(_=function(l,y){if(oe(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(oe(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),oe(_)==="symbol"?_:String(_)),s)}var _}_e.INVALID_INTERVAL=new _e(-1,-2);var J=function(){function h(){(function(s,_){if(!(s instanceof _))throw new TypeError("Cannot call a class as a function")})(this,h),this.intervals=null,this.readOnly=!1}var i,m;return i=h,(m=[{key:"first",value:function(s){return this.intervals===null||this.intervals.length===0?n.INVALID_TYPE:this.intervals[0].start}},{key:"addOne",value:function(s){this.addInterval(new _e(s,s+1))}},{key:"addRange",value:function(s,_){this.addInterval(new _e(s,_+1))}},{key:"addInterval",value:function(s){if(this.intervals===null)this.intervals=[],this.intervals.push(s.clone());else{for(var _=0;_<this.intervals.length;_++){var l=this.intervals[_];if(s.stop<l.start)return void this.intervals.splice(_,0,s);if(s.stop===l.start)return void(this.intervals[_]=new _e(s.start,l.stop));if(s.start<=l.stop)return this.intervals[_]=new _e(Math.min(l.start,s.start),Math.max(l.stop,s.stop)),void this.reduce(_)}this.intervals.push(s.clone())}}},{key:"addSet",value:function(s){var _=this;return s.intervals!==null&&s.intervals.forEach(function(l){return _.addInterval(l)},this),this}},{key:"reduce",value:function(s){if(s<this.intervals.length-1){var _=this.intervals[s],l=this.intervals[s+1];_.stop>=l.stop?(this.intervals.splice(s+1,1),this.reduce(s)):_.stop>=l.start&&(this.intervals[s]=new _e(_.start,l.stop),this.intervals.splice(s+1,1))}}},{key:"complement",value:function(s,_){var l=new h;return l.addInterval(new _e(s,_+1)),this.intervals!==null&&this.intervals.forEach(function(y){return l.removeRange(y)}),l}},{key:"contains",value:function(s){if(this.intervals===null)return!1;for(var _=0;_<this.intervals.length;_++)if(this.intervals[_].contains(s))return!0;return!1}},{key:"removeRange",value:function(s){if(s.start===s.stop-1)this.removeOne(s.start);else if(this.intervals!==null)for(var _=0,l=0;l<this.intervals.length;l++){var y=this.intervals[_];if(s.stop<=y.start)return;if(s.start>y.start&&s.stop<y.stop){this.intervals[_]=new _e(y.start,s.start);var o=new _e(s.stop,y.stop);return void this.intervals.splice(_,0,o)}s.start<=y.start&&s.stop>=y.stop?(this.intervals.splice(_,1),_-=1):s.start<y.stop?this.intervals[_]=new _e(y.start,s.start):s.stop<y.stop&&(this.intervals[_]=new _e(s.stop,y.stop)),_+=1}}},{key:"removeOne",value:function(s){if(this.intervals!==null)for(var _=0;_<this.intervals.length;_++){var l=this.intervals[_];if(s<l.start)return;if(s===l.start&&s===l.stop-1)return void this.intervals.splice(_,1);if(s===l.start)return void(this.intervals[_]=new _e(l.start+1,l.stop));if(s===l.stop-1)return void(this.intervals[_]=new _e(l.start,l.stop-1));if(s<l.stop-1){var y=new _e(l.start,s);return l.start=s+1,void this.intervals.splice(_,0,y)}}}},{key:"toString",value:function(s,_,l){return s=s||null,_=_||null,l=l||!1,this.intervals===null?"{}":s!==null||_!==null?this.toTokenString(s,_):l?this.toCharString():this.toIndexString()}},{key:"toCharString",value:function(){for(var s=[],_=0;_<this.intervals.length;_++){var l=this.intervals[_];l.stop===l.start+1?l.start===n.EOF?s.push("<EOF>"):s.push("'"+String.fromCharCode(l.start)+"'"):s.push("'"+String.fromCharCode(l.start)+"'..'"+String.fromCharCode(l.stop-1)+"'")}return s.length>1?"{"+s.join(", ")+"}":s[0]}},{key:"toIndexString",value:function(){for(var s=[],_=0;_<this.intervals.length;_++){var l=this.intervals[_];l.stop===l.start+1?l.start===n.EOF?s.push("<EOF>"):s.push(l.start.toString()):s.push(l.start.toString()+".."+(l.stop-1).toString())}return s.length>1?"{"+s.join(", ")+"}":s[0]}},{key:"toTokenString",value:function(s,_){for(var l=[],y=0;y<this.intervals.length;y++)for(var o=this.intervals[y],u=o.start;u<o.stop;u++)l.push(this.elementName(s,_,u));return l.length>1?"{"+l.join(", ")+"}":l[0]}},{key:"elementName",value:function(s,_,l){return l===n.EOF?"<EOF>":l===n.EPSILON?"<EPSILON>":s[l]||_[l]}},{key:"length",get:function(){return this.intervals.map(function(s){return s.length}).reduce(function(s,_){return s+_})}}])&&Z(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),h}();function te(h){return te=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},te(h)}function ve(h,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(h,(_=function(l,y){if(te(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(te(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),te(_)==="symbol"?_:String(_)),s)}var _}var me=function(){function h(){(function(s,_){if(!(s instanceof _))throw new TypeError("Cannot call a class as a function")})(this,h),this.atn=null,this.stateNumber=h.INVALID_STATE_NUMBER,this.stateType=null,this.ruleIndex=0,this.epsilonOnlyTransitions=!1,this.transitions=[],this.nextTokenWithinRule=null}var i,m;return i=h,(m=[{key:"toString",value:function(){return this.stateNumber}},{key:"equals",value:function(s){return s instanceof h&&this.stateNumber===s.stateNumber}},{key:"isNonGreedyExitState",value:function(){return!1}},{key:"addTransition",value:function(s,_){_===void 0&&(_=-1),this.transitions.length===0?this.epsilonOnlyTransitions=s.isEpsilon:this.epsilonOnlyTransitions!==s.isEpsilon&&(this.epsilonOnlyTransitions=!1),_===-1?this.transitions.push(s):this.transitions.splice(_,1,s)}}])&&ve(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),h}();function Ze(h){return Ze=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ze(h)}function Ve(h,i){return Ve=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Ve(h,i)}function ht(h,i){if(i&&(Ze(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return wt(h)}function wt(h){if(h===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h}function yt(h){return yt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},yt(h)}me.INVALID_TYPE=0,me.BASIC=1,me.RULE_START=2,me.BLOCK_START=3,me.PLUS_BLOCK_START=4,me.STAR_BLOCK_START=5,me.TOKEN_START=6,me.RULE_STOP=7,me.BLOCK_END=8,me.STAR_LOOP_BACK=9,me.STAR_LOOP_ENTRY=10,me.PLUS_LOOP_BACK=11,me.LOOP_END=12,me.serializationNames=["INVALID","BASIC","RULE_START","BLOCK_START","PLUS_BLOCK_START","STAR_BLOCK_START","TOKEN_START","RULE_STOP","BLOCK_END","STAR_LOOP_BACK","STAR_LOOP_ENTRY","PLUS_LOOP_BACK","LOOP_END"],me.INVALID_STATE_NUMBER=-1;var St=function(h){(function(y,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(o&&o.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),o&&Ve(y,o)})(l,h);var i,m,s,_=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var y,o=yt(m);if(s){var u=yt(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return ht(this,y)});function l(){var y;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,l),(y=_.call(this)).stateType=me.RULE_STOP,ht(y,wt(y))}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(me);function Ct(h){return Ct=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ct(h)}function le(h,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(h,(_=function(l,y){if(Ct(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ct(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ct(_)==="symbol"?_:String(_)),s)}var _}function we(h,i,m){return i&&le(h.prototype,i),m&&le(h,m),Object.defineProperty(h,"prototype",{writable:!1}),h}var be=we(function h(i){if(function(m,s){if(!(m instanceof s))throw new TypeError("Cannot call a class as a function")}(this,h),i==null)throw"target cannot be null.";this.target=i,this.isEpsilon=!1,this.label=null});function pt(h){return pt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},pt(h)}function Et(h,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(h,(_=function(l,y){if(pt(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(pt(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),pt(_)==="symbol"?_:String(_)),s)}var _}function Rt(h,i){return Rt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Rt(h,i)}function yn(h){return yn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},yn(h)}be.EPSILON=1,be.RANGE=2,be.RULE=3,be.PREDICATE=4,be.ATOM=5,be.ACTION=6,be.SET=7,be.NOT_SET=8,be.WILDCARD=9,be.PRECEDENCE=10,be.serializationNames=["INVALID","EPSILON","RANGE","RULE","PREDICATE","ATOM","ACTION","SET","NOT_SET","WILDCARD","PRECEDENCE"],be.serializationTypes={EpsilonTransition:be.EPSILON,RangeTransition:be.RANGE,RuleTransition:be.RULE,PredicateTransition:be.PREDICATE,AtomTransition:be.ATOM,ActionTransition:be.ACTION,SetTransition:be.SET,NotSetTransition:be.NOT_SET,WildcardTransition:be.WILDCARD,PrecedencePredicateTransition:be.PRECEDENCE};var Dt=function(h){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Rt(o,u)})(y,h);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=yn(s);if(_){var S=yn(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(k,C){if(C&&(pt(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(k)}(this,o)});function y(o,u,S,k){var C;return function(M,fe){if(!(M instanceof fe))throw new TypeError("Cannot call a class as a function")}(this,y),(C=l.call(this,o)).ruleIndex=u,C.precedence=S,C.followState=k,C.serializationType=be.RULE,C.isEpsilon=!0,C}return i=y,(m=[{key:"matches",value:function(o,u,S){return!1}}])&&Et(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(be);function It(h){return It=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},It(h)}function kt(h,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(h,(_=function(l,y){if(It(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(It(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),It(_)==="symbol"?_:String(_)),s)}var _}function Pt(h,i){return Pt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Pt(h,i)}function nn(h){return nn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},nn(h)}var ir=function(h){(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)})(y,h);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=nn(s);if(_){var S=nn(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(k,C){if(C&&(It(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(k)}(this,o)});function y(o,u){var S;return function(k,C){if(!(k instanceof C))throw new TypeError("Cannot call a class as a function")}(this,y),(S=l.call(this,o)).serializationType=be.SET,u!=null?S.label=u:(S.label=new J,S.label.addOne(n.INVALID_TYPE)),S}return i=y,(m=[{key:"matches",value:function(o,u,S){return this.label.contains(o)}},{key:"toString",value:function(){return this.label.toString()}}])&&kt(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(be);function W(h){return W=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},W(h)}function Fe(h,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(h,(_=function(l,y){if(W(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(W(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),W(_)==="symbol"?_:String(_)),s)}var _}function Ue(){return Ue=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(h,i,m){var s=function(l,y){for(;!Object.prototype.hasOwnProperty.call(l,y)&&(l=Qe(l))!==null;);return l}(h,i);if(s){var _=Object.getOwnPropertyDescriptor(s,i);return _.get?_.get.call(arguments.length<3?h:m):_.value}},Ue.apply(this,arguments)}function Pe(h,i){return Pe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Pe(h,i)}function Qe(h){return Qe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Qe(h)}var Ht=function(h){(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&&Pe(o,u)})(y,h);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Qe(s);if(_){var S=Qe(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(k,C){if(C&&(W(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(k)}(this,o)});function y(o,u){var S;return function(k,C){if(!(k instanceof C))throw new TypeError("Cannot call a class as a function")}(this,y),(S=l.call(this,o,u)).serializationType=be.NOT_SET,S}return i=y,(m=[{key:"matches",value:function(o,u,S){return o>=u&&o<=S&&!Ue(Qe(y.prototype),"matches",this).call(this,o,u,S)}},{key:"toString",value:function(){return"~"+Ue(Qe(y.prototype),"toString",this).call(this)}}])&&Fe(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(ir);function ft(h){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(h)}function fn(h,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(h,(_=function(l,y){if(ft(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(ft(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),ft(_)==="symbol"?_:String(_)),s)}var _}function gn(h,i){return gn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},gn(h,i)}function jr(h){return jr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},jr(h)}var On=function(h){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&gn(o,u)})(y,h);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=jr(s);if(_){var S=jr(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(k,C){if(C&&(ft(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(k)}(this,o)});function y(o){var u;return function(S,k){if(!(S instanceof k))throw new TypeError("Cannot call a class as a function")}(this,y),(u=l.call(this,o)).serializationType=be.WILDCARD,u}return i=y,(m=[{key:"matches",value:function(o,u,S){return o>=u&&o<=S}},{key:"toString",value:function(){return"."}}])&&fn(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(be);function rn(h){return rn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},rn(h)}function Ri(h,i){return Ri=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Ri(h,i)}function $r(h){return $r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},$r(h)}var Fi=function(h){(function(y,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(o&&o.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),o&&Ri(y,o)})(l,h);var i,m,s,_=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var y,o=$r(m);if(s){var u=$r(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return function(S,k){if(k&&(rn(k)==="object"||typeof k=="function"))return k;if(k!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(C){if(C===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C}(S)}(this,y)});function l(y){return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,l),_.call(this,y)}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(be);function or(h){return or=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},or(h)}function Or(h,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(h,(_=function(l,y){if(or(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(or(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),or(_)==="symbol"?_:String(_)),s)}var _}function eo(h,i,m){return i&&Or(h.prototype,i),m&&Or(h,m),Object.defineProperty(h,"prototype",{writable:!1}),h}function gi(h){return gi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},gi(h)}function fr(h,i){return fr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},fr(h,i)}function Hr(h){return Hr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Hr(h)}function to(h){return to=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},to(h)}function dt(h,i){return dt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},dt(h,i)}function er(h){return er=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},er(h)}var L=function(h){(function(y,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(o&&o.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),o&&dt(y,o)})(l,h);var i,m,s,_=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var y,o=er(m);if(s){var u=er(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return function(S,k){if(k&&(to(k)==="object"||typeof k=="function"))return k;if(k!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(C){if(C===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C}(S)}(this,y)});function l(){return function(y,o){if(!(y instanceof o))throw new TypeError("Cannot call a class as a function")}(this,l),_.apply(this,arguments)}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(function(h){(function(y,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(o&&o.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),o&&fr(y,o)})(l,h);var i,m,s,_=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var y,o=Hr(m);if(s){var u=Hr(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return function(S,k){if(k&&(gi(k)==="object"||typeof k=="function"))return k;if(k!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(C){if(C===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C}(S)}(this,y)});function l(){return function(y,o){if(!(y instanceof o))throw new TypeError("Cannot call a class as a function")}(this,l),_.apply(this,arguments)}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(eo(function h(){(function(i,m){if(!(i instanceof m))throw new TypeError("Cannot call a class as a function")})(this,h)})));function q(h){return q=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},q(h)}function ee(h,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(h,(_=function(l,y){if(q(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(q(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),q(_)==="symbol"?_:String(_)),s)}var _}function ae(h,i){return ae=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},ae(h,i)}function he(h){return he=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},he(h)}var Le=function(h){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&ae(o,u)})(y,h);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=he(s);if(_){var S=he(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(k,C){if(C&&(q(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(k)}(this,o)});function y(){return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,y),l.apply(this,arguments)}return i=y,(m=[{key:"ruleContext",get:function(){throw new Error("missing interface implementation")}}])&&ee(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(L);function Be(h){return Be=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Be(h)}function at(h,i){return at=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},at(h,i)}function Xt(h){return Xt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Xt(h)}var hn=function(h){(function(y,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(o&&o.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),o&&at(y,o)})(l,h);var i,m,s,_=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var y,o=Xt(m);if(s){var u=Xt(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return function(S,k){if(k&&(Be(k)==="object"||typeof k=="function"))return k;if(k!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(C){if(C===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C}(S)}(this,y)});function l(){return function(y,o){if(!(y instanceof o))throw new TypeError("Cannot call a class as a function")}(this,l),_.apply(this,arguments)}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(L);function An(h){return An=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},An(h)}function Gr(h,i){return Gr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Gr(h,i)}function zt(h){return zt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},zt(h)}var ti=function(h){(function(y,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(o&&o.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),o&&Gr(y,o)})(l,h);var i,m,s,_=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var y,o=zt(m);if(s){var u=zt(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return function(S,k){if(k&&(An(k)==="object"||typeof k=="function"))return k;if(k!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(C){if(C===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C}(S)}(this,y)});function l(){return function(y,o){if(!(y instanceof o))throw new TypeError("Cannot call a class as a function")}(this,l),_.apply(this,arguments)}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(hn),wr={toStringTree:function(h,i,m){i=i||null,(m=m||null)!==null&&(i=m.ruleNames);var s=wr.getNodeText(h,i);s=function(o,u){return o=o.replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r")}(s);var _=h.getChildCount();if(_===0)return s;var l="("+s+" ";_>0&&(s=wr.toStringTree(h.getChild(0),i),l=l.concat(s));for(var y=1;y<_;y++)s=wr.toStringTree(h.getChild(y),i),l=l.concat(" "+s);return l.concat(")")},getNodeText:function(h,i,m){if(i=i||null,(m=m||null)!==null&&(i=m.ruleNames),i!==null){if(h instanceof Le){var s=h.ruleContext.getAltNumber();return s!=0?i[h.ruleIndex]+":"+s:i[h.ruleIndex]}if(h instanceof ti)return h.toString();if(h instanceof hn&&h.symbol!==null)return h.symbol.text}var _=h.getPayload();return _ instanceof n?_.text:h.getPayload().toString()},getChildren:function(h){for(var i=[],m=0;m<h.getChildCount();m++)i.push(h.getChild(m));return i},getAncestors:function(h){var i=[];for(h=h.getParent();h!==null;)i=[h].concat(i),h=h.getParent();return i},findAllTokenNodes:function(h,i){return wr.findAllNodes(h,i,!0)},findAllRuleNodes:function(h,i){return wr.findAllNodes(h,i,!1)},findAllNodes:function(h,i,m){var s=[];return wr._findAllNodes(h,i,m,s),s},_findAllNodes:function(h,i,m,s){m&&h instanceof hn?h.symbol.type===i&&s.push(h):!m&&h instanceof Le&&h.ruleIndex===i&&s.push(h);for(var _=0;_<h.getChildCount();_++)wr._findAllNodes(h.getChild(_),i,m,s)},descendants:function(h){for(var i=[h],m=0;m<h.getChildCount();m++)i=i.concat(wr.descendants(h.getChild(m)));return i}};const Ju=wr;function no(h){return no=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},no(h)}function ih(h,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(h,(_=function(l,y){if(no(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(no(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),no(_)==="symbol"?_:String(_)),s)}var _}function $o(h,i){return $o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},$o(h,i)}function pa(h){return pa=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},pa(h)}var ro=function(h){(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&&$o(o,u)})(y,h);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=pa(s);if(_){var S=pa(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(k,C){if(C&&(no(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(k)}(this,o)});function y(o,u){var S;return function(k,C){if(!(k instanceof C))throw new TypeError("Cannot call a class as a function")}(this,y),(S=l.call(this)).parentCtx=o||null,S.invokingState=u||-1,S}return i=y,(m=[{key:"depth",value:function(){for(var o=0,u=this;u!==null;)u=u.parentCtx,o+=1;return o}},{key:"isEmpty",value:function(){return this.invokingState===-1}},{key:"getSourceInterval",value:function(){return _e.INVALID_INTERVAL}},{key:"ruleContext",get:function(){return this}},{key:"getPayload",value:function(){return this}},{key:"getText",value:function(){return this.getChildCount()===0?"":this.children.map(function(o){return o.getText()}).join("")}},{key:"getAltNumber",value:function(){return 0}},{key:"setAltNumber",value:function(o){}},{key:"getChild",value:function(o){return null}},{key:"getChildCount",value:function(){return 0}},{key:"accept",value:function(o){return o.visitChildren(this)}},{key:"toStringTree",value:function(o,u){return Ju.toStringTree(this,o,u)}},{key:"toString",value:function(o,u){o=o||null,u=u||null;for(var S=this,k="[";S!==null&&S!==u;){if(o===null)S.isEmpty()||(k+=S.invokingState);else{var C=S.ruleIndex;k+=C>=0&&C<o.length?o[C]:""+C}S.parentCtx===null||o===null&&S.parentCtx.isEmpty()||(k+=" "),S=S.parentCtx}return k+"]"}}])&&ih(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(Le);function Ho(h){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(h)}function da(h,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(h,(_=function(l,y){if(Ho(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ho(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ho(_)==="symbol"?_:String(_)),s)}var _}var st=function(){function h(s){(function(_,l){if(!(_ instanceof l))throw new TypeError("Cannot call a class as a function")})(this,h),this.cachedHashCode=s}var i,m;return i=h,(m=[{key:"isEmpty",value:function(){return this===h.EMPTY}},{key:"hasEmptyPath",value:function(){return this.getReturnState(this.length-1)===h.EMPTY_RETURN_STATE}},{key:"hashCode",value:function(){return this.cachedHashCode}},{key:"updateHashCode",value:function(s){s.update(this.cachedHashCode)}}])&&da(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),h}();function X(h){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(h)}function Q(h,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(h,(_=function(l,y){if(X(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(X(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),X(_)==="symbol"?_:String(_)),s)}var _}function ie(h,i){return ie=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},ie(h,i)}function de(h,i){if(i&&(X(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Ce(h)}function Ce(h){if(h===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h}function Ae(h){return Ae=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Ae(h)}st.EMPTY=null,st.EMPTY_RETURN_STATE=2147483647,st.globalNodeCount=1,st.id=st.globalNodeCount,st.trace_atn_sim=!1;var De=function(h){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&ie(o,u)})(y,h);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Ae(s);if(_){var S=Ae(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return de(this,o)});function y(o,u){var S;(function(M,fe){if(!(M instanceof fe))throw new TypeError("Cannot call a class as a function")})(this,y);var k=new b;k.update(o,u);var C=k.finish();return(S=l.call(this,C)).parents=o,S.returnStates=u,de(S,Ce(S))}return i=y,(m=[{key:"isEmpty",value:function(){return this.returnStates[0]===st.EMPTY_RETURN_STATE}},{key:"getParent",value:function(o){return this.parents[o]}},{key:"getReturnState",value:function(o){return this.returnStates[o]}},{key:"equals",value:function(o){return this===o||o instanceof y&&this.hashCode()===o.hashCode()&&r(this.returnStates,o.returnStates)&&r(this.parents,o.parents)}},{key:"toString",value:function(){if(this.isEmpty())return"[]";for(var o="[",u=0;u<this.returnStates.length;u++)u>0&&(o+=", "),this.returnStates[u]!==st.EMPTY_RETURN_STATE?(o+=this.returnStates[u],this.parents[u]!==null?o=o+" "+this.parents[u]:o+="null"):o+="$";return o+"]"}},{key:"length",get:function(){return this.returnStates.length}}])&&Q(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(st);function ze(h){return ze=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},ze(h)}function Me(h,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(h,(_=function(l,y){if(ze(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(ze(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),ze(_)==="symbol"?_:String(_)),s)}var _}function ut(h,i){return ut=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},ut(h,i)}function Wt(h){return Wt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Wt(h)}var _t=function(h){(function(u,S){if(typeof S!="function"&&S!==null)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(S&&S.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),S&&ut(u,S)})(o,h);var i,m,s,_,l,y=(_=o,l=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var u,S=Wt(_);if(l){var k=Wt(this).constructor;u=Reflect.construct(S,arguments,k)}else u=S.apply(this,arguments);return function(C,M){if(M&&(ze(M)==="object"||typeof M=="function"))return M;if(M!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(fe){if(fe===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return fe}(C)}(this,u)});function o(u,S){var k;(function(fe,Ne){if(!(fe instanceof Ne))throw new TypeError("Cannot call a class as a function")})(this,o);var C,M=new b;return u!==null?M.update(u,S):M.update(1),C=M.finish(),(k=y.call(this,C)).parentCtx=u,k.returnState=S,k}return i=o,s=[{key:"create",value:function(u,S){return S===st.EMPTY_RETURN_STATE&&u===null?st.EMPTY:new o(u,S)}}],(m=[{key:"getParent",value:function(u){return this.parentCtx}},{key:"getReturnState",value:function(u){return this.returnState}},{key:"equals",value:function(u){return this===u||u instanceof o&&this.hashCode()===u.hashCode()&&this.returnState===u.returnState&&(this.parentCtx==null?u.parentCtx==null:this.parentCtx.equals(u.parentCtx))}},{key:"toString",value:function(){var u=this.parentCtx===null?"":this.parentCtx.toString();return u.length===0?this.returnState===st.EMPTY_RETURN_STATE?"$":""+this.returnState:this.returnState+" "+u}},{key:"length",get:function(){return 1}}])&&Me(i.prototype,m),s&&Me(i,s),Object.defineProperty(i,"prototype",{writable:!1}),o}(st);function Yt(h){return Yt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Yt(h)}function wn(h,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(h,(_=function(l,y){if(Yt(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Yt(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Yt(_)==="symbol"?_:String(_)),s)}var _}function zn(h,i){return zn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},zn(h,i)}function tr(h){return tr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},tr(h)}var Kr=function(h){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&zn(o,u)})(y,h);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=tr(s);if(_){var S=tr(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(k,C){if(C&&(Yt(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(k)}(this,o)});function y(){return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,y),l.call(this,null,st.EMPTY_RETURN_STATE)}return i=y,(m=[{key:"isEmpty",value:function(){return!0}},{key:"getParent",value:function(o){return null}},{key:"getReturnState",value:function(o){return this.returnState}},{key:"equals",value:function(o){return this===o}},{key:"toString",value:function(){return"$"}}])&&wn(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(_t);function ni(h){return ni=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},ni(h)}function Os(h,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(h,(_=function(l,y){if(ni(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(ni(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),ni(_)==="symbol"?_:String(_)),s)}var _}st.EMPTY=new Kr;var nr="h-",io=function(){function h(s,_){(function(l,y){if(!(l instanceof y))throw new TypeError("Cannot call a class as a function")})(this,h),this.data={},this.hashFunction=s||T,this.equalsFunction=_||x}var i,m;return i=h,(m=[{key:"set",value:function(s,_){var l=nr+this.hashFunction(s);if(l in this.data){for(var y=this.data[l],o=0;o<y.length;o++){var u=y[o];if(this.equalsFunction(s,u.key)){var S=u.value;return u.value=_,S}}return y.push({key:s,value:_}),_}return this.data[l]=[{key:s,value:_}],_}},{key:"containsKey",value:function(s){var _=nr+this.hashFunction(s);if(_ in this.data)for(var l=this.data[_],y=0;y<l.length;y++){var o=l[y];if(this.equalsFunction(s,o.key))return!0}return!1}},{key:"get",value:function(s){var _=nr+this.hashFunction(s);if(_ in this.data)for(var l=this.data[_],y=0;y<l.length;y++){var o=l[y];if(this.equalsFunction(s,o.key))return o.value}return null}},{key:"entries",value:function(){var s=this;return Object.keys(this.data).filter(function(_){return _.startsWith(nr)}).flatMap(function(_){return s.data[_]},this)}},{key:"getKeys",value:function(){return this.entries().map(function(s){return s.key})}},{key:"getValues",value:function(){return this.entries().map(function(s){return s.value})}},{key:"toString",value:function(){return"["+this.entries().map(function(s){return"{"+s.key+":"+s.value+"}"}).join(", ")+"]"}},{key:"length",get:function(){var s=this;return Object.keys(this.data).filter(function(_){return _.startsWith(nr)}).map(function(_){return s.data[_].length},this).reduce(function(_,l){return _+l},0)}}])&&Os(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),h}();function _a(h,i){if(i==null&&(i=ro.EMPTY),i.parentCtx===null||i===ro.EMPTY)return st.EMPTY;var m=_a(h,i.parentCtx),s=h.states[i.invokingState].transitions[0];return _t.create(m,s.followState.stateNumber)}function ec(h,i,m){if(h.isEmpty())return h;var s=m.get(h)||null;if(s!==null)return s;if((s=i.get(h))!==null)return m.set(h,s),s;for(var _=!1,l=[],y=0;y<l.length;y++){var o=ec(h.getParent(y),i,m);if(_||o!==h.getParent(y)){if(!_){l=[];for(var u=0;u<h.length;u++)l[u]=h.getParent(u);_=!0}l[y]=o}}if(!_)return i.add(h),m.set(h,h),h;var S;return S=l.length===0?st.EMPTY:l.length===1?_t.create(l[0],h.getReturnState(0)):new De(l,h.returnStates),i.add(S),m.set(S,S),m.set(h,S),S}function ma(h,i,m,s){if(h===i)return h;if(h instanceof _t&&i instanceof _t)return function(_,l,y,o){if(o!==null){var u=o.get(_,l);if(u!==null||(u=o.get(l,_))!==null)return u}var S=function(We,En,vn){if(vn){if(We===st.EMPTY||En===st.EMPTY)return st.EMPTY}else{if(We===st.EMPTY&&En===st.EMPTY)return st.EMPTY;if(We===st.EMPTY){var qn=[En.returnState,st.EMPTY_RETURN_STATE],qr=[En.parentCtx,null];return new De(qr,qn)}if(En===st.EMPTY){var Bi=[We.returnState,st.EMPTY_RETURN_STATE],Li=[We.parentCtx,null];return new De(Li,Bi)}}return null}(_,l,y);if(S!==null)return o!==null&&o.set(_,l,S),S;if(_.returnState===l.returnState){var k=ma(_.parentCtx,l.parentCtx,y,o);if(k===_.parentCtx)return _;if(k===l.parentCtx)return l;var C=_t.create(k,_.returnState);return o!==null&&o.set(_,l,C),C}var M=null;if((_===l||_.parentCtx!==null&&_.parentCtx===l.parentCtx)&&(M=_.parentCtx),M!==null){var fe=[_.returnState,l.returnState];_.returnState>l.returnState&&(fe[0]=l.returnState,fe[1]=_.returnState);var Ne=new De([M,M],fe);return o!==null&&o.set(_,l,Ne),Ne}var Re=[_.returnState,l.returnState],Ge=[_.parentCtx,l.parentCtx];_.returnState>l.returnState&&(Re[0]=l.returnState,Re[1]=_.returnState,Ge=[l.parentCtx,_.parentCtx]);var ct=new De(Ge,Re);return o!==null&&o.set(_,l,ct),ct}(h,i,m,s);if(m){if(h instanceof Kr)return h;if(i instanceof Kr)return i}return h instanceof _t&&(h=new De([h.getParent()],[h.returnState])),i instanceof _t&&(i=new De([i.getParent()],[i.returnState])),function(_,l,y,o){if(o!==null){var u=o.get(_,l);if(u!==null||(u=o.get(l,_))!==null)return st.trace_atn_sim&&console.log("mergeArrays a="+_+",b="+l+" -> previous"),u}for(var S=0,k=0,C=0,M=new Array(_.returnStates.length+l.returnStates.length).fill(0),fe=new Array(_.returnStates.length+l.returnStates.length).fill(null);S<_.returnStates.length&&k<l.returnStates.length;){var Ne=_.parents[S],Re=l.parents[k];if(_.returnStates[S]===l.returnStates[k]){var Ge=_.returnStates[S];Ge===st.EMPTY_RETURN_STATE&&Ne===null&&Re===null||Ne!==null&&Re!==null&&Ne===Re?(fe[C]=Ne,M[C]=Ge):(fe[C]=ma(Ne,Re,y,o),M[C]=Ge),S+=1,k+=1}else _.returnStates[S]<l.returnStates[k]?(fe[C]=Ne,M[C]=_.returnStates[S],S+=1):(fe[C]=Re,M[C]=l.returnStates[k],k+=1);C+=1}if(S<_.returnStates.length)for(var ct=S;ct<_.returnStates.length;ct++)fe[C]=_.parents[ct],M[C]=_.returnStates[ct],C+=1;else for(var We=k;We<l.returnStates.length;We++)fe[C]=l.parents[We],M[C]=l.returnStates[We],C+=1;if(C<fe.length){if(C===1){var En=_t.create(fe[0],M[0]);return o!==null&&o.set(_,l,En),En}fe=fe.slice(0,C),M=M.slice(0,C)}var vn=new De(fe,M);return vn.equals(_)?(o!==null&&o.set(_,l,_),st.trace_atn_sim&&console.log("mergeArrays a="+_+",b="+l+" -> a"),_):vn.equals(l)?(o!==null&&o.set(_,l,l),st.trace_atn_sim&&console.log("mergeArrays a="+_+",b="+l+" -> b"),l):(function(qn){for(var qr=new io,Bi=0;Bi<qn.length;Bi++){var Li=qn[Bi];qr.containsKey(Li)||qr.set(Li,Li)}for(var Rr=0;Rr<qn.length;Rr++)qn[Rr]=qr.get(qn[Rr])}(fe),o!==null&&o.set(_,l,vn),st.trace_atn_sim&&console.log("mergeArrays a="+_+",b="+l+" -> "+vn),vn)}(h,i,m,s)}function oo(h){return oo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},oo(h)}function ao(h,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(h,(_=function(l,y){if(oo(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(oo(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),oo(_)==="symbol"?_:String(_)),s)}var _}var zr=function(){function h(){(function(s,_){if(!(s instanceof _))throw new TypeError("Cannot call a class as a function")})(this,h),this.data=[]}var i,m;return i=h,(m=[{key:"add",value:function(s){this.data[s]=!0}},{key:"or",value:function(s){var _=this;Object.keys(s.data).map(function(l){return _.add(l)},this)}},{key:"remove",value:function(s){delete this.data[s]}},{key:"has",value:function(s){return this.data[s]===!0}},{key:"values",value:function(){return Object.keys(this.data)}},{key:"minValue",value:function(){return Math.min.apply(null,this.values())}},{key:"hashCode",value:function(){return b.hashStuff(this.values())}},{key:"equals",value:function(s){return s instanceof h&&r(this.data,s.data)}},{key:"toString",value:function(){return"{"+this.values().join(", ")+"}"}},{key:"length",get:function(){return this.values().length}}])&&ao(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),h}();function vo(h){return vo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},vo(h)}function tc(h,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(h,(_=function(l,y){if(vo(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(vo(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),vo(_)==="symbol"?_:String(_)),s)}var _}var Go=function(){function h(s){(function(_,l){if(!(_ instanceof l))throw new TypeError("Cannot call a class as a function")})(this,h),this.atn=s}var i,m;return i=h,(m=[{key:"getDecisionLookahead",value:function(s){if(s===null)return null;for(var _=s.transitions.length,l=[],y=0;y<_;y++){l[y]=new J;var o=new g;this._LOOK(s.transition(y).target,null,st.EMPTY,l[y],o,new zr,!1,!1),(l[y].length===0||l[y].contains(h.HIT_PRED))&&(l[y]=null)}return l}},{key:"LOOK",value:function(s,_,l){var y=new J,o=(l=l||null)!==null?_a(s.atn,l):null;return this._LOOK(s,_,o,y,new g,new zr,!0,!0),y}},{key:"_LOOK",value:function(s,_,l,y,o,u,S,k){var C=new ce({state:s,alt:0,context:l},null);if(!o.has(C)){if(o.add(C),s===_){if(l===null)return void y.addOne(n.EPSILON);if(l.isEmpty()&&k)return void y.addOne(n.EOF)}if(s instanceof St){if(l===null)return void y.addOne(n.EPSILON);if(l.isEmpty()&&k)return void y.addOne(n.EOF);if(l!==st.EMPTY){var M=u.has(s.ruleIndex);try{u.remove(s.ruleIndex);for(var fe=0;fe<l.length;fe++){var Ne=this.atn.states[l.getReturnState(fe)];this._LOOK(Ne,_,l.getParent(fe),y,o,u,S,k)}}finally{M&&u.add(s.ruleIndex)}return}}for(var Re=0;Re<s.transitions.length;Re++){var Ge=s.transitions[Re];if(Ge.constructor===Dt){if(u.has(Ge.target.ruleIndex))continue;var ct=_t.create(l,Ge.followState.stateNumber);try{u.add(Ge.target.ruleIndex),this._LOOK(Ge.target,_,ct,y,o,u,S,k)}finally{u.remove(Ge.target.ruleIndex)}}else if(Ge instanceof Fi)S?this._LOOK(Ge.target,_,l,y,o,u,S,k):y.addOne(h.HIT_PRED);else if(Ge.isEpsilon)this._LOOK(Ge.target,_,l,y,o,u,S,k);else if(Ge.constructor===On)y.addRange(n.MIN_USER_TOKEN_TYPE,this.atn.maxTokenType);else{var We=Ge.label;We!==null&&(Ge instanceof Ht&&(We=We.complement(n.MIN_USER_TOKEN_TYPE,this.atn.maxTokenType)),y.addSet(We))}}}}}])&&tc(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),h}();function ws(h){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(h)}function Av(h,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(h,(_=function(l,y){if(ws(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(ws(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),ws(_)==="symbol"?_:String(_)),s)}var _}Go.HIT_PRED=n.INVALID_TYPE;var bn=function(){function h(s,_){(function(l,y){if(!(l instanceof y))throw new TypeError("Cannot call a class as a function")})(this,h),this.grammarType=s,this.maxTokenType=_,this.states=[],this.decisionToState=[],this.ruleToStartState=[],this.ruleToStopState=null,this.modeNameToStartState={},this.ruleToTokenType=null,this.lexerActions=null,this.modeToStartState=[]}var i,m;return i=h,(m=[{key:"nextTokensInContext",value:function(s,_){return new Go(this).LOOK(s,null,_)}},{key:"nextTokensNoContext",value:function(s){return s.nextTokenWithinRule!==null||(s.nextTokenWithinRule=this.nextTokensInContext(s,null),s.nextTokenWithinRule.readOnly=!0),s.nextTokenWithinRule}},{key:"nextTokens",value:function(s,_){return _===void 0?this.nextTokensNoContext(s):this.nextTokensInContext(s,_)}},{key:"addState",value:function(s){s!==null&&(s.atn=this,s.stateNumber=this.states.length),this.states.push(s)}},{key:"removeState",value:function(s){this.states[s.stateNumber]=null}},{key:"defineDecisionState",value:function(s){return this.decisionToState.push(s),s.decision=this.decisionToState.length-1,s.decision}},{key:"getDecisionState",value:function(s){return this.decisionToState.length===0?null:this.decisionToState[s]}},{key:"getExpectedTokens",value:function(s,_){if(s<0||s>=this.states.length)throw"Invalid state number.";var l=this.states[s],y=this.nextTokens(l);if(!y.contains(n.EPSILON))return y;var o=new J;for(o.addSet(y),o.removeOne(n.EPSILON);_!==null&&_.invokingState>=0&&y.contains(n.EPSILON);){var u=this.states[_.invokingState].transitions[0];y=this.nextTokens(u.followState),o.addSet(y),o.removeOne(n.EPSILON),_=_.parentCtx}return y.contains(n.EPSILON)&&o.addOne(n.EOF),o}}])&&Av(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),h}();bn.INVALID_ALT_NUMBER=0;function oh(h){return oh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},oh(h)}function ah(h,i){return ah=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},ah(h,i)}function nc(h){return nc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},nc(h)}var c_=function(h){(function(y,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(o&&o.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),o&&ah(y,o)})(l,h);var i,m,s,_=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var y,o=nc(m);if(s){var u=nc(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return function(S,k){if(k&&(oh(k)==="object"||typeof k=="function"))return k;if(k!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(C){if(C===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C}(S)}(this,y)});function l(){var y;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,l),(y=_.call(this)).stateType=me.BASIC,y}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(me);function sh(h){return sh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},sh(h)}function uh(h,i){return uh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},uh(h,i)}function l_(h,i){if(i&&(sh(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return f_(h)}function f_(h){if(h===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h}function rc(h){return rc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},rc(h)}var ya=function(h){(function(y,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(o&&o.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),o&&uh(y,o)})(l,h);var i,m,s,_=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var y,o=rc(m);if(s){var u=rc(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return l_(this,y)});function l(){var y;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,l),(y=_.call(this)).decision=-1,y.nonGreedy=!1,l_(y,f_(y))}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(me);function ch(h){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(h)}function lh(h,i){return lh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},lh(h,i)}function h_(h,i){if(i&&(ch(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return p_(h)}function p_(h){if(h===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h}function ic(h){return ic=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},ic(h)}var ga=function(h){(function(y,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(o&&o.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),o&&lh(y,o)})(l,h);var i,m,s,_=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var y,o=ic(m);if(s){var u=ic(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return h_(this,y)});function l(){var y;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,l),(y=_.call(this)).endState=null,h_(y,p_(y))}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(ya);function fh(h){return fh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},fh(h)}function hh(h,i){return hh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},hh(h,i)}function d_(h,i){if(i&&(fh(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return __(h)}function __(h){if(h===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h}function oc(h){return oc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},oc(h)}var ph=function(h){(function(y,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(o&&o.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),o&&hh(y,o)})(l,h);var i,m,s,_=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var y,o=oc(m);if(s){var u=oc(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return d_(this,y)});function l(){var y;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,l),(y=_.call(this)).stateType=me.BLOCK_END,y.startState=null,d_(y,__(y))}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(me);function dh(h){return dh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},dh(h)}function _h(h,i){return _h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},_h(h,i)}function m_(h,i){if(i&&(dh(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return y_(h)}function y_(h){if(h===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h}function ac(h){return ac=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},ac(h)}var va=function(h){(function(y,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(o&&o.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),o&&_h(y,o)})(l,h);var i,m,s,_=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var y,o=ac(m);if(s){var u=ac(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return m_(this,y)});function l(){var y;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,l),(y=_.call(this)).stateType=me.LOOP_END,y.loopBackState=null,m_(y,y_(y))}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(me);function mh(h){return mh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},mh(h)}function yh(h,i){return yh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},yh(h,i)}function g_(h,i){if(i&&(mh(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return v_(h)}function v_(h){if(h===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h}function sc(h){return sc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},sc(h)}var b_=function(h){(function(y,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(o&&o.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),o&&yh(y,o)})(l,h);var i,m,s,_=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var y,o=sc(m);if(s){var u=sc(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return g_(this,y)});function l(){var y;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,l),(y=_.call(this)).stateType=me.RULE_START,y.stopState=null,y.isPrecedenceRule=!1,g_(y,v_(y))}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(me);function gh(h){return gh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},gh(h)}function vh(h,i){return vh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},vh(h,i)}function E_(h,i){if(i&&(gh(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return x_(h)}function x_(h){if(h===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h}function uc(h){return uc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},uc(h)}var Cv=function(h){(function(y,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(o&&o.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),o&&vh(y,o)})(l,h);var i,m,s,_=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var y,o=uc(m);if(s){var u=uc(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return E_(this,y)});function l(){var y;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,l),(y=_.call(this)).stateType=me.TOKEN_START,E_(y,x_(y))}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(ya);function bh(h){return bh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},bh(h)}function Eh(h,i){return Eh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Eh(h,i)}function S_(h,i){if(i&&(bh(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return T_(h)}function T_(h){if(h===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h}function cc(h){return cc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},cc(h)}var A_=function(h){(function(y,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(o&&o.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),o&&Eh(y,o)})(l,h);var i,m,s,_=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var y,o=cc(m);if(s){var u=cc(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return S_(this,y)});function l(){var y;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,l),(y=_.call(this)).stateType=me.PLUS_LOOP_BACK,S_(y,T_(y))}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(ya);function xh(h){return xh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},xh(h)}function Sh(h,i){return Sh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Sh(h,i)}function C_(h,i){if(i&&(xh(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return D_(h)}function D_(h){if(h===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h}function lc(h){return lc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},lc(h)}var Th=function(h){(function(y,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(o&&o.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),o&&Sh(y,o)})(l,h);var i,m,s,_=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var y,o=lc(m);if(s){var u=lc(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return C_(this,y)});function l(){var y;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,l),(y=_.call(this)).stateType=me.STAR_LOOP_BACK,C_(y,D_(y))}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(me);function Ah(h){return Ah=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ah(h)}function Ch(h,i){return Ch=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Ch(h,i)}function k_(h,i){if(i&&(Ah(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return O_(h)}function O_(h){if(h===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h}function fc(h){return fc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},fc(h)}var Ko=function(h){(function(y,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(o&&o.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),o&&Ch(y,o)})(l,h);var i,m,s,_=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var y,o=fc(m);if(s){var u=fc(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return k_(this,y)});function l(){var y;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,l),(y=_.call(this)).stateType=me.STAR_LOOP_ENTRY,y.loopBackState=null,y.isPrecedenceDecision=null,k_(y,O_(y))}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(ya);function Dh(h){return Dh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Dh(h)}function kh(h,i){return kh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},kh(h,i)}function w_(h,i){if(i&&(Dh(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return R_(h)}function R_(h){if(h===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h}function hc(h){return hc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},hc(h)}var Oh=function(h){(function(y,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(o&&o.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),o&&kh(y,o)})(l,h);var i,m,s,_=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var y,o=hc(m);if(s){var u=hc(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return w_(this,y)});function l(){var y;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,l),(y=_.call(this)).stateType=me.PLUS_BLOCK_START,y.loopBackState=null,w_(y,R_(y))}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(ga);function wh(h){return wh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},wh(h)}function Rh(h,i){return Rh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Rh(h,i)}function F_(h,i){if(i&&(wh(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return N_(h)}function N_(h){if(h===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h}function pc(h){return pc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},pc(h)}var Fh=function(h){(function(y,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(o&&o.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),o&&Rh(y,o)})(l,h);var i,m,s,_=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var y,o=pc(m);if(s){var u=pc(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return F_(this,y)});function l(){var y;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,l),(y=_.call(this)).stateType=me.STAR_BLOCK_START,F_(y,N_(y))}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(ga);function Nh(h){return Nh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Nh(h)}function Ih(h,i){return Ih=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Ih(h,i)}function I_(h,i){if(i&&(Nh(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return P_(h)}function P_(h){if(h===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h}function dc(h){return dc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},dc(h)}var B_=function(h){(function(y,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(o&&o.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),o&&Ih(y,o)})(l,h);var i,m,s,_=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var y,o=dc(m);if(s){var u=dc(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return I_(this,y)});function l(){var y;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,l),(y=_.call(this)).stateType=me.BLOCK_START,I_(y,P_(y))}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(ga);function ba(h){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(h)}function Dv(h,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(h,(_=function(l,y){if(ba(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(ba(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),ba(_)==="symbol"?_:String(_)),s)}var _}function Ph(h,i){return Ph=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Ph(h,i)}function _c(h){return _c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},_c(h)}var Bh=function(h){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Ph(o,u)})(y,h);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=_c(s);if(_){var S=_c(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(k,C){if(C&&(ba(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(k)}(this,o)});function y(o,u){var S;return function(k,C){if(!(k instanceof C))throw new TypeError("Cannot call a class as a function")}(this,y),(S=l.call(this,o)).label_=u,S.label=S.makeLabel(),S.serializationType=be.ATOM,S}return i=y,(m=[{key:"makeLabel",value:function(){var o=new J;return o.addOne(this.label_),o}},{key:"matches",value:function(o,u,S){return this.label_===o}},{key:"toString",value:function(){return this.label_}}])&&Dv(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(be);function Ea(h){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(h)}function kv(h,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(h,(_=function(l,y){if(Ea(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ea(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ea(_)==="symbol"?_:String(_)),s)}var _}function Lh(h,i){return Lh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Lh(h,i)}function mc(h){return mc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},mc(h)}var Ov=function(h){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Lh(o,u)})(y,h);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=mc(s);if(_){var S=mc(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(k,C){if(C&&(Ea(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(k)}(this,o)});function y(o,u,S){var k;return function(C,M){if(!(C instanceof M))throw new TypeError("Cannot call a class as a function")}(this,y),(k=l.call(this,o)).serializationType=be.RANGE,k.start=u,k.stop=S,k.label=k.makeLabel(),k}return i=y,(m=[{key:"makeLabel",value:function(){var o=new J;return o.addRange(this.start,this.stop),o}},{key:"matches",value:function(o,u,S){return o>=this.start&&o<=this.stop}},{key:"toString",value:function(){return"'"+String.fromCharCode(this.start)+"'..'"+String.fromCharCode(this.stop)+"'"}}])&&kv(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(be);function xa(h){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(h)}function wv(h,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(h,(_=function(l,y){if(xa(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(xa(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),xa(_)==="symbol"?_:String(_)),s)}var _}function Mh(h,i){return Mh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Mh(h,i)}function yc(h){return yc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},yc(h)}var L_=function(h){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Mh(o,u)})(y,h);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=yc(s);if(_){var S=yc(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(k,C){if(C&&(xa(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(k)}(this,o)});function y(o,u,S,k){var C;return function(M,fe){if(!(M instanceof fe))throw new TypeError("Cannot call a class as a function")}(this,y),(C=l.call(this,o)).serializationType=be.ACTION,C.ruleIndex=u,C.actionIndex=S===void 0?-1:S,C.isCtxDependent=k!==void 0&&k,C.isEpsilon=!0,C}return i=y,(m=[{key:"matches",value:function(o,u,S){return!1}},{key:"toString",value:function(){return"action_"+this.ruleIndex+":"+this.actionIndex}}])&&wv(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(be);function Sa(h){return Sa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Sa(h)}function Rv(h,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(h,(_=function(l,y){if(Sa(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Sa(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Sa(_)==="symbol"?_:String(_)),s)}var _}function Uh(h,i){return Uh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Uh(h,i)}function gc(h){return gc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},gc(h)}var Rs=function(h){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Uh(o,u)})(y,h);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=gc(s);if(_){var S=gc(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(k,C){if(C&&(Sa(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(k)}(this,o)});function y(o,u){var S;return function(k,C){if(!(k instanceof C))throw new TypeError("Cannot call a class as a function")}(this,y),(S=l.call(this,o)).serializationType=be.EPSILON,S.isEpsilon=!0,S.outermostPrecedenceReturn=u,S}return i=y,(m=[{key:"matches",value:function(o,u,S){return!1}},{key:"toString",value:function(){return"epsilon"}}])&&Rv(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(be);function Ta(h){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(h)}function Fv(h,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(h,(_=function(l,y){if(Ta(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ta(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ta(_)==="symbol"?_:String(_)),s)}var _}function Vh(h,i){return Vh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Vh(h,i)}function vc(h){return vc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},vc(h)}var M_=function(h){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Vh(o,u)})(y,h);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=vc(s);if(_){var S=vc(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(k,C){if(C&&(Ta(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(k)}(this,o)});function y(o,u,S){var k;return function(C,M){if(!(C instanceof M))throw new TypeError("Cannot call a class as a function")}(this,y),(k=l.call(this)).ruleIndex=o===void 0?-1:o,k.predIndex=u===void 0?-1:u,k.isCtxDependent=S!==void 0&&S,k}return i=y,(m=[{key:"evaluate",value:function(o,u){var S=this.isCtxDependent?u:null;return o.sempred(S,this.ruleIndex,this.predIndex)}},{key:"updateHashCode",value:function(o){o.update(this.ruleIndex,this.predIndex,this.isCtxDependent)}},{key:"equals",value:function(o){return this===o||o instanceof y&&this.ruleIndex===o.ruleIndex&&this.predIndex===o.predIndex&&this.isCtxDependent===o.isCtxDependent}},{key:"toString",value:function(){return"{"+this.ruleIndex+":"+this.predIndex+"}?"}}])&&Fv(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(N);function Aa(h){return Aa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Aa(h)}function Nv(h,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(h,(_=function(l,y){if(Aa(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Aa(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Aa(_)==="symbol"?_:String(_)),s)}var _}function jh(h,i){return jh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},jh(h,i)}function bc(h){return bc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},bc(h)}N.NONE=new M_;var U_=function(h){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&jh(o,u)})(y,h);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=bc(s);if(_){var S=bc(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(k,C){if(C&&(Aa(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(k)}(this,o)});function y(o,u,S,k){var C;return function(M,fe){if(!(M instanceof fe))throw new TypeError("Cannot call a class as a function")}(this,y),(C=l.call(this,o)).serializationType=be.PREDICATE,C.ruleIndex=u,C.predIndex=S,C.isCtxDependent=k,C.isEpsilon=!0,C}return i=y,(m=[{key:"matches",value:function(o,u,S){return!1}},{key:"getPredicate",value:function(){return new M_(this.ruleIndex,this.predIndex,this.isCtxDependent)}},{key:"toString",value:function(){return"pred_"+this.ruleIndex+":"+this.predIndex}}])&&Nv(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(Fi);function Ca(h){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(h)}function Iv(h,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(h,(_=function(l,y){if(Ca(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ca(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ca(_)==="symbol"?_:String(_)),s)}var _}function $h(h,i){return $h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},$h(h,i)}function Ec(h){return Ec=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Ec(h)}var V_=function(h){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&$h(o,u)})(y,h);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Ec(s);if(_){var S=Ec(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(k,C){if(C&&(Ca(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(k)}(this,o)});function y(o){var u;return function(S,k){if(!(S instanceof k))throw new TypeError("Cannot call a class as a function")}(this,y),(u=l.call(this)).precedence=o===void 0?0:o,u}return i=y,(m=[{key:"evaluate",value:function(o,u){return o.precpred(u,this.precedence)}},{key:"evalPrecedence",value:function(o,u){return o.precpred(u,this.precedence)?N.NONE:null}},{key:"compareTo",value:function(o){return this.precedence-o.precedence}},{key:"updateHashCode",value:function(o){o.update(this.precedence)}},{key:"equals",value:function(o){return this===o||o instanceof y&&this.precedence===o.precedence}},{key:"toString",value:function(){return"{"+this.precedence+">=prec}?"}}])&&Iv(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(N);function Da(h){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(h)}function Pv(h,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(h,(_=function(l,y){if(Da(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Da(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Da(_)==="symbol"?_:String(_)),s)}var _}function Hh(h,i){return Hh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Hh(h,i)}function xc(h){return xc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},xc(h)}N.PrecedencePredicate=V_;var Bv=function(h){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Hh(o,u)})(y,h);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=xc(s);if(_){var S=xc(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(k,C){if(C&&(Da(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(k)}(this,o)});function y(o,u){var S;return function(k,C){if(!(k instanceof C))throw new TypeError("Cannot call a class as a function")}(this,y),(S=l.call(this,o)).serializationType=be.PRECEDENCE,S.precedence=u,S.isEpsilon=!0,S}return i=y,(m=[{key:"matches",value:function(o,u,S){return!1}},{key:"getPredicate",value:function(){return new V_(this.precedence)}},{key:"toString",value:function(){return this.precedence+" >= _p"}}])&&Pv(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(Fi);function Fs(h){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(h)}function j_(h,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(h,(_=function(l,y){if(Fs(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Fs(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Fs(_)==="symbol"?_:String(_)),s)}var _}function Lv(h,i,m){return i&&j_(h.prototype,i),m&&j_(h,m),Object.defineProperty(h,"prototype",{writable:!1}),h}var Ns=Lv(function h(i){(function(m,s){if(!(m instanceof s))throw new TypeError("Cannot call a class as a function")})(this,h),i===void 0&&(i=null),this.readOnly=!1,this.verifyATN=i===null||i.verifyATN,this.generateRuleBypassTransitions=i!==null&&i.generateRuleBypassTransitions});Ns.defaultOptions=new Ns,Ns.defaultOptions.readOnly=!0;function Is(h){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(h)}function Mv(h,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(h,(_=function(l,y){if(Is(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Is(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Is(_)==="symbol"?_:String(_)),s)}var _}var so=function(){function h(s){(function(_,l){if(!(_ instanceof l))throw new TypeError("Cannot call a class as a function")})(this,h),this.actionType=s,this.isPositionDependent=!1}var i,m;return i=h,(m=[{key:"hashCode",value:function(){var s=new b;return this.updateHashCode(s),s.finish()}},{key:"updateHashCode",value:function(s){s.update(this.actionType)}},{key:"equals",value:function(s){return this===s}}])&&Mv(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),h}();function ka(h){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(h)}function Uv(h,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(h,(_=function(l,y){if(ka(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(ka(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),ka(_)==="symbol"?_:String(_)),s)}var _}function Gh(h,i){return Gh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Gh(h,i)}function Sc(h){return Sc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Sc(h)}var Kh=function(h){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Gh(o,u)})(y,h);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Sc(s);if(_){var S=Sc(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(k,C){if(C&&(ka(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(k)}(this,o)});function y(){return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,y),l.call(this,6)}return i=y,(m=[{key:"execute",value:function(o){o.skip()}},{key:"toString",value:function(){return"skip"}}])&&Uv(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(so);function Oa(h){return Oa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Oa(h)}function Vv(h,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(h,(_=function(l,y){if(Oa(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Oa(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Oa(_)==="symbol"?_:String(_)),s)}var _}function zh(h,i){return zh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},zh(h,i)}function Tc(h){return Tc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Tc(h)}Kh.INSTANCE=new Kh;var jv=function(h){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&zh(o,u)})(y,h);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Tc(s);if(_){var S=Tc(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(k,C){if(C&&(Oa(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(k)}(this,o)});function y(o){var u;return function(S,k){if(!(S instanceof k))throw new TypeError("Cannot call a class as a function")}(this,y),(u=l.call(this,0)).channel=o,u}return i=y,(m=[{key:"execute",value:function(o){o._channel=this.channel}},{key:"updateHashCode",value:function(o){o.update(this.actionType,this.channel)}},{key:"equals",value:function(o){return this===o||o instanceof y&&this.channel===o.channel}},{key:"toString",value:function(){return"channel("+this.channel+")"}}])&&Vv(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(so);function wa(h){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(h)}function $v(h,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(h,(_=function(l,y){if(wa(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(wa(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),wa(_)==="symbol"?_:String(_)),s)}var _}function Wh(h,i){return Wh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Wh(h,i)}function Ac(h){return Ac=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Ac(h)}var Hv=function(h){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Wh(o,u)})(y,h);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Ac(s);if(_){var S=Ac(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(k,C){if(C&&(wa(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(k)}(this,o)});function y(o,u){var S;return function(k,C){if(!(k instanceof C))throw new TypeError("Cannot call a class as a function")}(this,y),(S=l.call(this,1)).ruleIndex=o,S.actionIndex=u,S.isPositionDependent=!0,S}return i=y,(m=[{key:"execute",value:function(o){o.action(null,this.ruleIndex,this.actionIndex)}},{key:"updateHashCode",value:function(o){o.update(this.actionType,this.ruleIndex,this.actionIndex)}},{key:"equals",value:function(o){return this===o||o instanceof y&&this.ruleIndex===o.ruleIndex&&this.actionIndex===o.actionIndex}}])&&$v(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(so);function Ra(h){return Ra=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ra(h)}function Gv(h,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(h,(_=function(l,y){if(Ra(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ra(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ra(_)==="symbol"?_:String(_)),s)}var _}function qh(h,i){return qh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},qh(h,i)}function Cc(h){return Cc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Cc(h)}var Xh=function(h){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&qh(o,u)})(y,h);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Cc(s);if(_){var S=Cc(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(k,C){if(C&&(Ra(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(k)}(this,o)});function y(){return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,y),l.call(this,3)}return i=y,(m=[{key:"execute",value:function(o){o.more()}},{key:"toString",value:function(){return"more"}}])&&Gv(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(so);function Fa(h){return Fa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Fa(h)}function Kv(h,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(h,(_=function(l,y){if(Fa(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Fa(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Fa(_)==="symbol"?_:String(_)),s)}var _}function Yh(h,i){return Yh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Yh(h,i)}function Dc(h){return Dc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Dc(h)}Xh.INSTANCE=new Xh;var zv=function(h){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Yh(o,u)})(y,h);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Dc(s);if(_){var S=Dc(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(k,C){if(C&&(Fa(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(k)}(this,o)});function y(o){var u;return function(S,k){if(!(S instanceof k))throw new TypeError("Cannot call a class as a function")}(this,y),(u=l.call(this,7)).type=o,u}return i=y,(m=[{key:"execute",value:function(o){o.type=this.type}},{key:"updateHashCode",value:function(o){o.update(this.actionType,this.type)}},{key:"equals",value:function(o){return this===o||o instanceof y&&this.type===o.type}},{key:"toString",value:function(){return"type("+this.type+")"}}])&&Kv(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(so);function Na(h){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(h)}function Wv(h,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(h,(_=function(l,y){if(Na(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Na(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Na(_)==="symbol"?_:String(_)),s)}var _}function Zh(h,i){return Zh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Zh(h,i)}function kc(h){return kc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},kc(h)}var qv=function(h){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Zh(o,u)})(y,h);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=kc(s);if(_){var S=kc(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(k,C){if(C&&(Na(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(k)}(this,o)});function y(o){var u;return function(S,k){if(!(S instanceof k))throw new TypeError("Cannot call a class as a function")}(this,y),(u=l.call(this,5)).mode=o,u}return i=y,(m=[{key:"execute",value:function(o){o.pushMode(this.mode)}},{key:"updateHashCode",value:function(o){o.update(this.actionType,this.mode)}},{key:"equals",value:function(o){return this===o||o instanceof y&&this.mode===o.mode}},{key:"toString",value:function(){return"pushMode("+this.mode+")"}}])&&Wv(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(so);function Ia(h){return Ia=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ia(h)}function Xv(h,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(h,(_=function(l,y){if(Ia(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ia(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ia(_)==="symbol"?_:String(_)),s)}var _}function Qh(h,i){return Qh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Qh(h,i)}function Oc(h){return Oc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Oc(h)}var Jh=function(h){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Qh(o,u)})(y,h);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Oc(s);if(_){var S=Oc(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(k,C){if(C&&(Ia(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(k)}(this,o)});function y(){return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,y),l.call(this,4)}return i=y,(m=[{key:"execute",value:function(o){o.popMode()}},{key:"toString",value:function(){return"popMode"}}])&&Xv(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(so);function Pa(h){return Pa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Pa(h)}function Yv(h,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(h,(_=function(l,y){if(Pa(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Pa(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Pa(_)==="symbol"?_:String(_)),s)}var _}function e0(h,i){return e0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},e0(h,i)}function wc(h){return wc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},wc(h)}Jh.INSTANCE=new Jh;var Zv=function(h){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&e0(o,u)})(y,h);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=wc(s);if(_){var S=wc(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(k,C){if(C&&(Pa(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(k)}(this,o)});function y(o){var u;return function(S,k){if(!(S instanceof k))throw new TypeError("Cannot call a class as a function")}(this,y),(u=l.call(this,2)).mode=o,u}return i=y,(m=[{key:"execute",value:function(o){o.mode(this.mode)}},{key:"updateHashCode",value:function(o){o.update(this.actionType,this.mode)}},{key:"equals",value:function(o){return this===o||o instanceof y&&this.mode===o.mode}},{key:"toString",value:function(){return"mode("+this.mode+")"}}])&&Yv(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(so);function Ps(h){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(h)}function Qv(h,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(h,(_=function(l,y){if(Ps(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ps(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ps(_)==="symbol"?_:String(_)),s)}var _}function Rc(h,i){var m=[];return m[h-1]=i,m.map(function(s){return i})}var t0=function(){function h(s){(function(_,l){if(!(_ instanceof l))throw new TypeError("Cannot call a class as a function")})(this,h),s==null&&(s=Ns.defaultOptions),this.deserializationOptions=s,this.stateFactories=null,this.actionFactories=null}var i,m;return i=h,m=[{key:"deserialize",value:function(s){var _=this.reset(s);this.checkVersion(_),_&&this.skipUUID();var l=this.readATN();this.readStates(l,_),this.readRules(l,_),this.readModes(l);var y=[];return this.readSets(l,y,this.readInt.bind(this)),_&&this.readSets(l,y,this.readInt32.bind(this)),this.readEdges(l,y),this.readDecisions(l),this.readLexerActions(l,_),this.markPrecedenceDecisions(l),this.verifyATN(l),this.deserializationOptions.generateRuleBypassTransitions&&l.grammarType===1&&(this.generateRuleBypassTransitions(l),this.verifyATN(l)),l}},{key:"reset",value:function(s){if((s.charCodeAt?s.charCodeAt(0):s[0])===3){var _=s.split("").map(function(l){var y=l.charCodeAt(0);return y>1?y-2:y+65534});return _[0]=s.charCodeAt(0),this.data=_,this.pos=0,!0}return this.data=s,this.pos=0,!1}},{key:"skipUUID",value:function(){for(var s=0;s++<8;)this.readInt()}},{key:"checkVersion",value:function(s){var _=this.readInt();if(!s&&_!==4)throw"Could not deserialize ATN with version "+_+" (expected 4)."}},{key:"readATN",value:function(){var s=this.readInt(),_=this.readInt();return new bn(s,_)}},{key:"readStates",value:function(s,_){for(var l,y,o,u=[],S=[],k=this.readInt(),C=0;C<k;C++){var M=this.readInt();if(M!==me.INVALID_TYPE){var fe=this.readInt();_&&fe===65535&&(fe=-1);var Ne=this.stateFactory(M,fe);if(M===me.LOOP_END){var Re=this.readInt();u.push([Ne,Re])}else if(Ne instanceof ga){var Ge=this.readInt();S.push([Ne,Ge])}s.addState(Ne)}else s.addState(null)}for(l=0;l<u.length;l++)(y=u[l])[0].loopBackState=s.states[y[1]];for(l=0;l<S.length;l++)(y=S[l])[0].endState=s.states[y[1]];var ct=this.readInt();for(l=0;l<ct;l++)o=this.readInt(),s.states[o].nonGreedy=!0;var We=this.readInt();for(l=0;l<We;l++)o=this.readInt(),s.states[o].isPrecedenceRule=!0}},{key:"readRules",value:function(s,_){var l,y=this.readInt();for(s.grammarType===0&&(s.ruleToTokenType=Rc(y,0)),s.ruleToStartState=Rc(y,0),l=0;l<y;l++){var o=this.readInt();if(s.ruleToStartState[l]=s.states[o],s.grammarType===0){var u=this.readInt();_&&u===65535&&(u=n.EOF),s.ruleToTokenType[l]=u}}for(s.ruleToStopState=Rc(y,0),l=0;l<s.states.length;l++){var S=s.states[l];S instanceof St&&(s.ruleToStopState[S.ruleIndex]=S,s.ruleToStartState[S.ruleIndex].stopState=S)}}},{key:"readModes",value:function(s){for(var _=this.readInt(),l=0;l<_;l++){var y=this.readInt();s.modeToStartState.push(s.states[y])}}},{key:"readSets",value:function(s,_,l){for(var y=this.readInt(),o=0;o<y;o++){var u=new J;_.push(u);var S=this.readInt();this.readInt()!==0&&u.addOne(-1);for(var k=0;k<S;k++){var C=l(),M=l();u.addRange(C,M)}}}},{key:"readEdges",value:function(s,_){var l,y,o,u,S,k=this.readInt();for(l=0;l<k;l++){var C=this.readInt(),M=this.readInt(),fe=this.readInt(),Ne=this.readInt(),Re=this.readInt(),Ge=this.readInt();u=this.edgeFactory(s,fe,C,M,Ne,Re,Ge,_),s.states[C].addTransition(u)}for(l=0;l<s.states.length;l++)for(o=s.states[l],y=0;y<o.transitions.length;y++){var ct=o.transitions[y];if(ct instanceof Dt){var We=-1;s.ruleToStartState[ct.target.ruleIndex].isPrecedenceRule&&ct.precedence===0&&(We=ct.target.ruleIndex),u=new Rs(ct.followState,We),s.ruleToStopState[ct.target.ruleIndex].addTransition(u)}}for(l=0;l<s.states.length;l++){if((o=s.states[l])instanceof ga){if(o.endState===null||o.endState.startState!==null)throw"IllegalState";o.endState.startState=o}if(o instanceof A_)for(y=0;y<o.transitions.length;y++)(S=o.transitions[y].target)instanceof Oh&&(S.loopBackState=o);else if(o instanceof Th)for(y=0;y<o.transitions.length;y++)(S=o.transitions[y].target)instanceof Ko&&(S.loopBackState=o)}}},{key:"readDecisions",value:function(s){for(var _=this.readInt(),l=0;l<_;l++){var y=this.readInt(),o=s.states[y];s.decisionToState.push(o),o.decision=l}}},{key:"readLexerActions",value:function(s,_){if(s.grammarType===0){var l=this.readInt();s.lexerActions=Rc(l,null);for(var y=0;y<l;y++){var o=this.readInt(),u=this.readInt();_&&u===65535&&(u=-1);var S=this.readInt();_&&S===65535&&(S=-1),s.lexerActions[y]=this.lexerActionFactory(o,u,S)}}}},{key:"generateRuleBypassTransitions",value:function(s){var _,l=s.ruleToStartState.length;for(_=0;_<l;_++)s.ruleToTokenType[_]=s.maxTokenType+_+1;for(_=0;_<l;_++)this.generateRuleBypassTransition(s,_)}},{key:"generateRuleBypassTransition",value:function(s,_){var l,y,o=new B_;o.ruleIndex=_,s.addState(o);var u=new ph;u.ruleIndex=_,s.addState(u),o.endState=u,s.defineDecisionState(o),u.startState=o;var S=null,k=null;if(s.ruleToStartState[_].isPrecedenceRule){for(k=null,l=0;l<s.states.length;l++)if(y=s.states[l],this.stateIsEndStateFor(y,_)){k=y,S=y.loopBackState.transitions[0];break}if(S===null)throw"Couldn't identify final state of the precedence rule prefix section."}else k=s.ruleToStopState[_];for(l=0;l<s.states.length;l++){y=s.states[l];for(var C=0;C<y.transitions.length;C++){var M=y.transitions[C];M!==S&&M.target===k&&(M.target=u)}}for(var fe=s.ruleToStartState[_],Ne=fe.transitions.length;Ne>0;)o.addTransition(fe.transitions[Ne-1]),fe.transitions=fe.transitions.slice(-1);s.ruleToStartState[_].addTransition(new Rs(o)),u.addTransition(new Rs(k));var Re=new c_;s.addState(Re),Re.addTransition(new Bh(u,s.ruleToTokenType[_])),o.addTransition(new Rs(Re))}},{key:"stateIsEndStateFor",value:function(s,_){if(s.ruleIndex!==_||!(s instanceof Ko))return null;var l=s.transitions[s.transitions.length-1].target;return l instanceof va&&l.epsilonOnlyTransitions&&l.transitions[0].target instanceof St?s:null}},{key:"markPrecedenceDecisions",value:function(s){for(var _=0;_<s.states.length;_++){var l=s.states[_];if(l instanceof Ko&&s.ruleToStartState[l.ruleIndex].isPrecedenceRule){var y=l.transitions[l.transitions.length-1].target;y instanceof va&&y.epsilonOnlyTransitions&&y.transitions[0].target instanceof St&&(l.isPrecedenceDecision=!0)}}}},{key:"verifyATN",value:function(s){if(this.deserializationOptions.verifyATN)for(var _=0;_<s.states.length;_++){var l=s.states[_];if(l!==null)if(this.checkCondition(l.epsilonOnlyTransitions||l.transitions.length<=1),l instanceof Oh)this.checkCondition(l.loopBackState!==null);else if(l instanceof Ko)if(this.checkCondition(l.loopBackState!==null),this.checkCondition(l.transitions.length===2),l.transitions[0].target instanceof Fh)this.checkCondition(l.transitions[1].target instanceof va),this.checkCondition(!l.nonGreedy);else{if(!(l.transitions[0].target instanceof va))throw"IllegalState";this.checkCondition(l.transitions[1].target instanceof Fh),this.checkCondition(l.nonGreedy)}else l instanceof Th?(this.checkCondition(l.transitions.length===1),this.checkCondition(l.transitions[0].target instanceof Ko)):l instanceof va?this.checkCondition(l.loopBackState!==null):l instanceof b_?this.checkCondition(l.stopState!==null):l instanceof ga?this.checkCondition(l.endState!==null):l instanceof ph?this.checkCondition(l.startState!==null):l instanceof ya?this.checkCondition(l.transitions.length<=1||l.decision>=0):this.checkCondition(l.transitions.length<=1||l instanceof St)}}},{key:"checkCondition",value:function(s,_){if(!s)throw _==null&&(_="IllegalState"),_}},{key:"readInt",value:function(){return this.data[this.pos++]}},{key:"readInt32",value:function(){return this.readInt()|this.readInt()<<16}},{key:"edgeFactory",value:function(s,_,l,y,o,u,S,k){var C=s.states[y];switch(_){case be.EPSILON:return new Rs(C);case be.RANGE:return new Ov(C,S!==0?n.EOF:o,u);case be.RULE:return new Dt(s.states[o],u,S,C);case be.PREDICATE:return new U_(C,o,u,S!==0);case be.PRECEDENCE:return new Bv(C,o);case be.ATOM:return new Bh(C,S!==0?n.EOF:o);case be.ACTION:return new L_(C,o,u,S!==0);case be.SET:return new ir(C,k[o]);case be.NOT_SET:return new Ht(C,k[o]);case be.WILDCARD:return new On(C);default:throw"The specified transition type: "+_+" is not valid."}}},{key:"stateFactory",value:function(s,_){if(this.stateFactories===null){var l=[];l[me.INVALID_TYPE]=null,l[me.BASIC]=function(){return new c_},l[me.RULE_START]=function(){return new b_},l[me.BLOCK_START]=function(){return new B_},l[me.PLUS_BLOCK_START]=function(){return new Oh},l[me.STAR_BLOCK_START]=function(){return new Fh},l[me.TOKEN_START]=function(){return new Cv},l[me.RULE_STOP]=function(){return new St},l[me.BLOCK_END]=function(){return new ph},l[me.STAR_LOOP_BACK]=function(){return new Th},l[me.STAR_LOOP_ENTRY]=function(){return new Ko},l[me.PLUS_LOOP_BACK]=function(){return new A_},l[me.LOOP_END]=function(){return new va},this.stateFactories=l}if(s>this.stateFactories.length||this.stateFactories[s]===null)throw"The specified state type "+s+" is not valid.";var y=this.stateFactories[s]();if(y!==null)return y.ruleIndex=_,y}},{key:"lexerActionFactory",value:function(s,_,l){if(this.actionFactories===null){var y=[];y[0]=function(o,u){return new jv(o)},y[1]=function(o,u){return new Hv(o,u)},y[2]=function(o,u){return new Zv(o)},y[3]=function(o,u){return Xh.INSTANCE},y[4]=function(o,u){return Jh.INSTANCE},y[5]=function(o,u){return new qv(o)},y[6]=function(o,u){return Kh.INSTANCE},y[7]=function(o,u){return new zv(o)},this.actionFactories=y}if(s>this.actionFactories.length||this.actionFactories[s]===null)throw"The specified lexer action type "+s+" is not valid.";return this.actionFactories[s](_,l)}}],m&&Qv(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),h}();function Bs(h){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(h)}function Jv(h,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(h,(_=function(l,y){if(Bs(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Bs(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Bs(_)==="symbol"?_:String(_)),s)}var _}var Ls=function(){function h(){(function(s,_){if(!(s instanceof _))throw new TypeError("Cannot call a class as a function")})(this,h)}var i,m;return i=h,(m=[{key:"syntaxError",value:function(s,_,l,y,o,u){}},{key:"reportAmbiguity",value:function(s,_,l,y,o,u,S){}},{key:"reportAttemptingFullContext",value:function(s,_,l,y,o,u){}},{key:"reportContextSensitivity",value:function(s,_,l,y,o,u){}}])&&Jv(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),h}();function Ba(h){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(h)}function eb(h,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(h,(_=function(l,y){if(Ba(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ba(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ba(_)==="symbol"?_:String(_)),s)}var _}function n0(h,i){return n0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},n0(h,i)}function Fc(h){return Fc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Fc(h)}var r0=function(h){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&n0(o,u)})(y,h);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Fc(s);if(_){var S=Fc(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(k,C){if(C&&(Ba(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(k)}(this,o)});function y(){return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,y),l.call(this)}return i=y,(m=[{key:"syntaxError",value:function(o,u,S,k,C,M){console.error("line "+S+":"+k+" "+C)}}])&&eb(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(Ls);function La(h){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(h)}function tb(h,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(h,(_=function(l,y){if(La(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(La(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),La(_)==="symbol"?_:String(_)),s)}var _}function i0(h,i){return i0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},i0(h,i)}function $_(h,i){if(i&&(La(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return H_(h)}function H_(h){if(h===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h}function Nc(h){return Nc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Nc(h)}r0.INSTANCE=new r0;var nb=function(h){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&i0(o,u)})(y,h);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Nc(s);if(_){var S=Nc(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return $_(this,o)});function y(o){var u;if(function(S,k){if(!(S instanceof k))throw new TypeError("Cannot call a class as a function")}(this,y),u=l.call(this),o===null)throw"delegates";return u.delegates=o,$_(u,H_(u))}return i=y,m=[{key:"syntaxError",value:function(o,u,S,k,C,M){this.delegates.map(function(fe){return fe.syntaxError(o,u,S,k,C,M)})}},{key:"reportAmbiguity",value:function(o,u,S,k,C,M,fe){this.delegates.map(function(Ne){return Ne.reportAmbiguity(o,u,S,k,C,M,fe)})}},{key:"reportAttemptingFullContext",value:function(o,u,S,k,C,M){this.delegates.map(function(fe){return fe.reportAttemptingFullContext(o,u,S,k,C,M)})}},{key:"reportContextSensitivity",value:function(o,u,S,k,C,M){this.delegates.map(function(fe){return fe.reportContextSensitivity(o,u,S,k,C,M)})}}],m&&tb(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(Ls);function Ms(h){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(h)}function rb(h,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(h,(_=function(l,y){if(Ms(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ms(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ms(_)==="symbol"?_:String(_)),s)}var _}var Ic=function(){function h(){(function(s,_){if(!(s instanceof _))throw new TypeError("Cannot call a class as a function")})(this,h),this._listeners=[r0.INSTANCE],this._interp=null,this._stateNumber=-1}var i,m;return i=h,(m=[{key:"checkVersion",value:function(s){var _="4.13.0";_!==s&&console.log("ANTLR runtime and generated code versions disagree: "+_+"!="+s)}},{key:"addErrorListener",value:function(s){this._listeners.push(s)}},{key:"removeErrorListeners",value:function(){this._listeners=[]}},{key:"getLiteralNames",value:function(){return Object.getPrototypeOf(this).constructor.literalNames||[]}},{key:"getSymbolicNames",value:function(){return Object.getPrototypeOf(this).constructor.symbolicNames||[]}},{key:"getTokenNames",value:function(){if(!this.tokenNames){var s=this.getLiteralNames(),_=this.getSymbolicNames(),l=s.length>_.length?s.length:_.length;this.tokenNames=[];for(var y=0;y<l;y++)this.tokenNames[y]=s[y]||_[y]||"<INVALID"}return this.tokenNames}},{key:"getTokenTypeMap",value:function(){var s=this.getTokenNames();if(s===null)throw"The current recognizer does not provide a list of token names.";var _=this.tokenTypeMapCache[s];return _===void 0&&((_=s.reduce(function(l,y,o){l[y]=o})).EOF=n.EOF,this.tokenTypeMapCache[s]=_),_}},{key:"getRuleIndexMap",value:function(){var s=this.ruleNames;if(s===null)throw"The current recognizer does not provide a list of rule names.";var _=this.ruleIndexMapCache[s];return _===void 0&&(_=s.reduce(function(l,y,o){l[y]=o}),this.ruleIndexMapCache[s]=_),_}},{key:"getTokenType",value:function(s){var _=this.getTokenTypeMap()[s];return _!==void 0?_:n.INVALID_TYPE}},{key:"getErrorHeader",value:function(s){return"line "+s.getOffendingToken().line+":"+s.getOffendingToken().column}},{key:"getTokenErrorDisplay",value:function(s){if(s===null)return"<no token>";var _=s.text;return _===null&&(_=s.type===n.EOF?"<EOF>":"<"+s.type+">"),"'"+(_=_.replace(`
2
- `,"\\n").replace("\r","\\r").replace(" ","\\t"))+"'"}},{key:"getErrorListenerDispatch",value:function(){return new nb(this._listeners)}},{key:"sempred",value:function(s,_,l){return!0}},{key:"precpred",value:function(s,_){return!0}},{key:"atn",get:function(){return this._interp.atn}},{key:"state",get:function(){return this._stateNumber},set:function(s){this._stateNumber=s}}])&&rb(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),h}();function Ma(h){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(h)}function ib(h,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(h,(_=function(l,y){if(Ma(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ma(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ma(_)==="symbol"?_:String(_)),s)}var _}function o0(h,i){return o0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},o0(h,i)}function Pc(h){return Pc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Pc(h)}Ic.tokenTypeMapCache={},Ic.ruleIndexMapCache={};var Us=function(h){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&o0(o,u)})(y,h);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Pc(s);if(_){var S=Pc(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(k,C){if(C&&(Ma(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(k)}(this,o)});function y(o,u,S,k,C){var M;return function(fe,Ne){if(!(fe instanceof Ne))throw new TypeError("Cannot call a class as a function")}(this,y),(M=l.call(this)).source=o!==void 0?o:y.EMPTY_SOURCE,M.type=u!==void 0?u:null,M.channel=S!==void 0?S:n.DEFAULT_CHANNEL,M.start=k!==void 0?k:-1,M.stop=C!==void 0?C:-1,M.tokenIndex=-1,M.source[0]!==null?(M.line=o[0].line,M.column=o[0].column):M.column=-1,M}return i=y,(m=[{key:"clone",value:function(){var o=new y(this.source,this.type,this.channel,this.start,this.stop);return o.tokenIndex=this.tokenIndex,o.line=this.line,o.column=this.column,o.text=this.text,o}},{key:"cloneWithType",value:function(o){var u=new y(this.source,o,this.channel,this.start,this.stop);return u.tokenIndex=this.tokenIndex,u.line=this.line,u.column=this.column,o===n.EOF&&(u.text=""),u}},{key:"toString",value:function(){var o=this.text;return o=o!==null?o.replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t"):"<no text>","[@"+this.tokenIndex+","+this.start+":"+this.stop+"='"+o+"',<"+this.type+">"+(this.channel>0?",channel="+this.channel:"")+","+this.line+":"+this.column+"]"}},{key:"text",get:function(){if(this._text!==null)return this._text;var o=this.getInputStream();if(o===null)return null;var u=o.size;return this.start<u&&this.stop<u?o.getText(this.start,this.stop):"<EOF>"},set:function(o){this._text=o}}])&&ib(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(n);function Ua(h){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(h)}function a0(h,i){return a0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},a0(h,i)}function Bc(h){return Bc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Bc(h)}function G_(h,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(h,(_=function(l,y){if(Ua(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ua(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ua(_)==="symbol"?_:String(_)),s)}var _}function K_(h,i,m){return i&&G_(h.prototype,i),m&&G_(h,m),Object.defineProperty(h,"prototype",{writable:!1}),h}function z_(h,i){if(!(h instanceof i))throw new TypeError("Cannot call a class as a function")}Us.EMPTY_SOURCE=[null,null];var s0=function(h){(function(l,y){if(typeof y!="function"&&y!==null)throw new TypeError("Super expression must either be null or a function");l.prototype=Object.create(y&&y.prototype,{constructor:{value:l,writable:!0,configurable:!0}}),Object.defineProperty(l,"prototype",{writable:!1}),y&&a0(l,y)})(_,h);var i,m,s=(i=_,m=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var l,y=Bc(i);if(m){var o=Bc(this).constructor;l=Reflect.construct(y,arguments,o)}else l=y.apply(this,arguments);return function(u,S){if(S&&(Ua(S)==="object"||typeof S=="function"))return S;if(S!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(k){if(k===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return k}(u)}(this,l)});function _(l){var y;return z_(this,_),(y=s.call(this)).copyText=l!==void 0&&l,y}return K_(_,[{key:"create",value:function(l,y,o,u,S,k,C,M){var fe=new Us(l,y,u,S,k);return fe.line=C,fe.column=M,o!==null?fe.text=o:this.copyText&&l[1]!==null&&(fe.text=l[1].getText(S,k)),fe}},{key:"createThin",value:function(l,y){var o=new Us(null,l);return o.text=y,o}}]),_}(K_(function h(){z_(this,h)}));function Va(h){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(h)}function ob(h,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(h,(_=function(l,y){if(Va(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Va(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Va(_)==="symbol"?_:String(_)),s)}var _}function W_(h){if(h===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h}function u0(h){var i=typeof Map=="function"?new Map:void 0;return u0=function(m){if(m===null||(s=m,Function.toString.call(s).indexOf("[native code]")===-1))return m;var s;if(typeof m!="function")throw new TypeError("Super expression must either be null or a function");if(i!==void 0){if(i.has(m))return i.get(m);i.set(m,_)}function _(){return c0(m,arguments,js(this).constructor)}return _.prototype=Object.create(m.prototype,{constructor:{value:_,enumerable:!1,writable:!0,configurable:!0}}),Vs(_,m)},u0(h)}function c0(h,i,m){return c0=q_()?Reflect.construct.bind():function(s,_,l){var y=[null];y.push.apply(y,_);var o=new(Function.bind.apply(s,y));return l&&Vs(o,l.prototype),o},c0.apply(null,arguments)}function q_(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Vs(h,i){return Vs=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Vs(h,i)}function js(h){return js=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},js(h)}s0.DEFAULT=new s0;var zo=function(h){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&Vs(o,u)})(y,h);var i,m,s,_,l=(s=y,_=q_(),function(){var o,u=js(s);if(_){var S=js(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(k,C){if(C&&(Va(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return W_(k)}(this,o)});function y(o){var u;return function(S,k){if(!(S instanceof k))throw new TypeError("Cannot call a class as a function")}(this,y),u=l.call(this,o.message),Error.captureStackTrace&&Error.captureStackTrace(W_(u),y),u.message=o.message,u.recognizer=o.recognizer,u.input=o.input,u.ctx=o.ctx,u.offendingToken=null,u.offendingState=-1,u.recognizer!==null&&(u.offendingState=u.recognizer.state),u}return i=y,(m=[{key:"getExpectedTokens",value:function(){return this.recognizer!==null?this.recognizer.atn.getExpectedTokens(this.offendingState,this.ctx):null}},{key:"toString",value:function(){return this.message}}])&&ob(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(u0(Error));function ja(h){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(h)}function ab(h,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(h,(_=function(l,y){if(ja(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(ja(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),ja(_)==="symbol"?_:String(_)),s)}var _}function l0(h,i){return l0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},l0(h,i)}function Lc(h){return Lc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Lc(h)}var f0=function(h){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&l0(o,u)})(y,h);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Lc(s);if(_){var S=Lc(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(k,C){if(C&&(ja(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(k)}(this,o)});function y(o,u,S,k){var C;return function(M,fe){if(!(M instanceof fe))throw new TypeError("Cannot call a class as a function")}(this,y),(C=l.call(this,{message:"",recognizer:o,input:u,ctx:null})).startIndex=S,C.deadEndConfigs=k,C}return i=y,(m=[{key:"toString",value:function(){var o="";return this.startIndex>=0&&this.startIndex<this.input.size&&(o=this.input.getText(new _e(this.startIndex,this.startIndex))),"LexerNoViableAltException"+o}}])&&ab(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(zo);function $a(h){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(h)}function sb(h,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(h,(_=function(l,y){if($a(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if($a(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),$a(_)==="symbol"?_:String(_)),s)}var _}function h0(h,i){return h0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},h0(h,i)}function X_(h){if(h===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h}function Mc(h){return Mc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Mc(h)}var hr=function(h){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&h0(o,u)})(y,h);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Mc(s);if(_){var S=Mc(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(k,C){if(C&&($a(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return X_(k)}(this,o)});function y(o){var u;return function(S,k){if(!(S instanceof k))throw new TypeError("Cannot call a class as a function")}(this,y),(u=l.call(this))._input=o,u._factory=s0.DEFAULT,u._tokenFactorySourcePair=[X_(u),o],u._interp=null,u._token=null,u._tokenStartCharIndex=-1,u._tokenStartLine=-1,u._tokenStartColumn=-1,u._hitEOF=!1,u._channel=n.DEFAULT_CHANNEL,u._type=n.INVALID_TYPE,u._modeStack=[],u._mode=y.DEFAULT_MODE,u._text=null,u}return i=y,(m=[{key:"reset",value:function(){this._input!==null&&this._input.seek(0),this._token=null,this._type=n.INVALID_TYPE,this._channel=n.DEFAULT_CHANNEL,this._tokenStartCharIndex=-1,this._tokenStartColumn=-1,this._tokenStartLine=-1,this._text=null,this._hitEOF=!1,this._mode=y.DEFAULT_MODE,this._modeStack=[],this._interp.reset()}},{key:"nextToken",value:function(){if(this._input===null)throw"nextToken requires a non-null input stream.";var o=this._input.mark();try{for(;;){if(this._hitEOF)return this.emitEOF(),this._token;this._token=null,this._channel=n.DEFAULT_CHANNEL,this._tokenStartCharIndex=this._input.index,this._tokenStartColumn=this._interp.column,this._tokenStartLine=this._interp.line,this._text=null;for(var u=!1;;){this._type=n.INVALID_TYPE;var S=y.SKIP;try{S=this._interp.match(this._input,this._mode)}catch(k){if(!(k instanceof zo))throw console.log(k.stack),k;this.notifyListeners(k),this.recover(k)}if(this._input.LA(1)===n.EOF&&(this._hitEOF=!0),this._type===n.INVALID_TYPE&&(this._type=S),this._type===y.SKIP){u=!0;break}if(this._type!==y.MORE)break}if(!u)return this._token===null&&this.emit(),this._token}}finally{this._input.release(o)}}},{key:"skip",value:function(){this._type=y.SKIP}},{key:"more",value:function(){this._type=y.MORE}},{key:"mode",value:function(o){this._mode=o}},{key:"pushMode",value:function(o){this._interp.debug&&console.log("pushMode "+o),this._modeStack.push(this._mode),this.mode(o)}},{key:"popMode",value:function(){if(this._modeStack.length===0)throw"Empty Stack";return this._interp.debug&&console.log("popMode back to "+this._modeStack.slice(0,-1)),this.mode(this._modeStack.pop()),this._mode}},{key:"emitToken",value:function(o){this._token=o}},{key:"emit",value:function(){var o=this._factory.create(this._tokenFactorySourcePair,this._type,this._text,this._channel,this._tokenStartCharIndex,this.getCharIndex()-1,this._tokenStartLine,this._tokenStartColumn);return this.emitToken(o),o}},{key:"emitEOF",value:function(){var o=this.column,u=this.line,S=this._factory.create(this._tokenFactorySourcePair,n.EOF,null,n.DEFAULT_CHANNEL,this._input.index,this._input.index-1,u,o);return this.emitToken(S),S}},{key:"getCharIndex",value:function(){return this._input.index}},{key:"getAllTokens",value:function(){for(var o=[],u=this.nextToken();u.type!==n.EOF;)o.push(u),u=this.nextToken();return o}},{key:"notifyListeners",value:function(o){var u=this._tokenStartCharIndex,S=this._input.index,k=this._input.getText(u,S),C="token recognition error at: '"+this.getErrorDisplay(k)+"'";this.getErrorListenerDispatch().syntaxError(this,null,this._tokenStartLine,this._tokenStartColumn,C,o)}},{key:"getErrorDisplay",value:function(o){for(var u=[],S=0;S<o.length;S++)u.push(o[S]);return u.join("")}},{key:"getErrorDisplayForChar",value:function(o){return o.charCodeAt(0)===n.EOF?"<EOF>":o===`
3
- `?"\\n":o===" "?"\\t":o==="\r"?"\\r":o}},{key:"getCharErrorDisplay",value:function(o){return"'"+this.getErrorDisplayForChar(o)+"'"}},{key:"recover",value:function(o){this._input.LA(1)!==n.EOF&&(o instanceof f0?this._interp.consume(this._input):this._input.consume())}},{key:"inputStream",get:function(){return this._input},set:function(o){this._input=null,this._tokenFactorySourcePair=[this,this._input],this.reset(),this._input=o,this._tokenFactorySourcePair=[this,this._input]}},{key:"sourceName",get:function(){return this._input.sourceName}},{key:"type",get:function(){return this._type},set:function(o){this._type=o}},{key:"line",get:function(){return this._interp.line},set:function(o){this._interp.line=o}},{key:"column",get:function(){return this._interp.column},set:function(o){this._interp.column=o}},{key:"text",get:function(){return this._text!==null?this._text:this._interp.getText(this._input)},set:function(o){this._text=o}}])&&sb(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(Ic);function $s(h){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(h)}function ub(h,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(h,(_=function(l,y){if($s(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if($s(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),$s(_)==="symbol"?_:String(_)),s)}var _}function cb(h){return h.hashCodeForConfigSet()}function lb(h,i){return h===i||h!==null&&i!==null&&h.equalsForConfigSet(i)}hr.DEFAULT_MODE=0,hr.MORE=-2,hr.SKIP=-3,hr.DEFAULT_TOKEN_CHANNEL=n.DEFAULT_CHANNEL,hr.HIDDEN=n.HIDDEN_CHANNEL,hr.MIN_CHAR_VALUE=0,hr.MAX_CHAR_VALUE=1114111;var Wr=function(){function h(s){(function(_,l){if(!(_ instanceof l))throw new TypeError("Cannot call a class as a function")})(this,h),this.configLookup=new g(cb,lb),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=h,(m=[{key:"add",value:function(s,_){if(_===void 0&&(_=null),this.readOnly)throw"This set is readonly";s.semanticContext!==N.NONE&&(this.hasSemanticContext=!0),s.reachesIntoOuterContext>0&&(this.dipsIntoOuterContext=!0);var l=this.configLookup.add(s);if(l===s)return this.cachedHashCode=-1,this.configs.push(s),!0;var y=!this.fullCtx,o=ma(l.context,s.context,y,_);return l.reachesIntoOuterContext=Math.max(l.reachesIntoOuterContext,s.reachesIntoOuterContext),s.precedenceFilterSuppressed&&(l.precedenceFilterSuppressed=!0),l.context=o,!0}},{key:"getStates",value:function(){for(var s=new g,_=0;_<this.configs.length;_++)s.add(this.configs[_].state);return s}},{key:"getPredicates",value:function(){for(var s=[],_=0;_<this.configs.length;_++){var l=this.configs[_].semanticContext;l!==N.NONE&&s.push(l.semanticContext)}return s}},{key:"optimizeConfigs",value:function(s){if(this.readOnly)throw"This set is readonly";if(this.configLookup.length!==0)for(var _=0;_<this.configs.length;_++){var l=this.configs[_];l.context=s.getCachedContext(l.context)}}},{key:"addAll",value:function(s){for(var _=0;_<s.length;_++)this.add(s[_]);return!1}},{key:"equals",value:function(s){return this===s||s instanceof h&&r(this.configs,s.configs)&&this.fullCtx===s.fullCtx&&this.uniqueAlt===s.uniqueAlt&&this.conflictingAlts===s.conflictingAlts&&this.hasSemanticContext===s.hasSemanticContext&&this.dipsIntoOuterContext===s.dipsIntoOuterContext}},{key:"hashCode",value:function(){var s=new b;return s.update(this.configs),s.finish()}},{key:"updateHashCode",value:function(s){this.readOnly?(this.cachedHashCode===-1&&(this.cachedHashCode=this.hashCode()),s.update(this.cachedHashCode)):s.update(this.hashCode())}},{key:"isEmpty",value:function(){return this.configs.length===0}},{key:"contains",value:function(s){if(this.configLookup===null)throw"This method is not implemented for readonly sets.";return this.configLookup.contains(s)}},{key:"containsFast",value:function(s){if(this.configLookup===null)throw"This method is not implemented for readonly sets.";return this.configLookup.containsFast(s)}},{key:"clear",value:function(){if(this.readOnly)throw"This set is readonly";this.configs=[],this.cachedHashCode=-1,this.configLookup=new g}},{key:"setReadonly",value:function(s){this.readOnly=s,s&&(this.configLookup=null)}},{key:"toString",value:function(){return F(this.configs)+(this.hasSemanticContext?",hasSemanticContext="+this.hasSemanticContext:"")+(this.uniqueAlt!==bn.INVALID_ALT_NUMBER?",uniqueAlt="+this.uniqueAlt:"")+(this.conflictingAlts!==null?",conflictingAlts="+this.conflictingAlts:"")+(this.dipsIntoOuterContext?",dipsIntoOuterContext":"")}},{key:"items",get:function(){return this.configs}},{key:"length",get:function(){return this.configs.length}}])&&ub(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),h}();function Hs(h){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(h)}function fb(h,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(h,(_=function(l,y){if(Hs(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Hs(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Hs(_)==="symbol"?_:String(_)),s)}var _}var Wo=function(){function h(s,_){return function(l,y){if(!(l instanceof y))throw new TypeError("Cannot call a class as a function")}(this,h),s===null&&(s=-1),_===null&&(_=new Wr),this.stateNumber=s,this.configs=_,this.edges=null,this.isAcceptState=!1,this.prediction=0,this.lexerActionExecutor=null,this.requiresFullContext=!1,this.predicates=null,this}var i,m;return i=h,(m=[{key:"getAltSet",value:function(){var s=new g;if(this.configs!==null)for(var _=0;_<this.configs.length;_++){var l=this.configs[_];s.add(l.alt)}return s.length===0?null:s}},{key:"equals",value:function(s){return this===s||s instanceof h&&this.configs.equals(s.configs)}},{key:"toString",value:function(){var s=this.stateNumber+":"+this.configs;return this.isAcceptState&&(s+="=>",this.predicates!==null?s+=this.predicates:s+=this.prediction),s}},{key:"hashCode",value:function(){var s=new b;return s.update(this.configs),s.finish()}}])&&fb(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),h}();function Gs(h){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(h)}function hb(h,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(h,(_=function(l,y){if(Gs(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Gs(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Gs(_)==="symbol"?_:String(_)),s)}var _}var Ni=function(){function h(s,_){return function(l,y){if(!(l instanceof y))throw new TypeError("Cannot call a class as a function")}(this,h),this.atn=s,this.sharedContextCache=_,this}var i,m;return i=h,m=[{key:"getCachedContext",value:function(s){if(this.sharedContextCache===null)return s;var _=new io;return ec(s,this.sharedContextCache,_)}}],m&&hb(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),h}();function p0(h){return p0=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},p0(h)}function d0(h,i){return d0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},d0(h,i)}function Uc(h){return Uc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Uc(h)}Ni.ERROR=new Wo(2147483647,new Wr);var Y_=function(h){(function(y,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(o&&o.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),o&&d0(y,o)})(l,h);var i,m,s,_=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var y,o=Uc(m);if(s){var u=Uc(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return function(S,k){if(k&&(p0(k)==="object"||typeof k=="function"))return k;if(k!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(C){if(C===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C}(S)}(this,y)});function l(){var y;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,l),(y=_.call(this)).configLookup=new g,y}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(Wr);function Ha(h){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(h)}function pb(h,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(h,(_=function(l,y){if(Ha(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ha(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ha(_)==="symbol"?_:String(_)),s)}var _}function _0(){return _0=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(h,i,m){var s=function(l,y){for(;!Object.prototype.hasOwnProperty.call(l,y)&&(l=Ga(l))!==null;);return l}(h,i);if(s){var _=Object.getOwnPropertyDescriptor(s,i);return _.get?_.get.call(arguments.length<3?h:m):_.value}},_0.apply(this,arguments)}function m0(h,i){return m0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},m0(h,i)}function Z_(h,i){if(i&&(Ha(i)==="object"||typeof i=="function"))return i;if(i!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Q_(h)}function Q_(h){if(h===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h}function Ga(h){return Ga=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Ga(h)}var Ii=function(h){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&m0(o,u)})(y,h);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Ga(s);if(_){var S=Ga(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return Z_(this,o)});function y(o,u){var S;(function(C,M){if(!(C instanceof M))throw new TypeError("Cannot call a class as a function")})(this,y),S=l.call(this,o,u);var k=o.lexerActionExecutor||null;return S.lexerActionExecutor=k||(u!==null?u.lexerActionExecutor:null),S.passedThroughNonGreedyDecision=u!==null&&S.checkNonGreedyDecision(u,S.state),S.hashCodeForConfigSet=y.prototype.hashCode,S.equalsForConfigSet=y.prototype.equals,Z_(S,Q_(S))}return i=y,(m=[{key:"updateHashCode",value:function(o){o.update(this.state.stateNumber,this.alt,this.context,this.semanticContext,this.passedThroughNonGreedyDecision,this.lexerActionExecutor)}},{key:"equals",value:function(o){return this===o||o instanceof y&&this.passedThroughNonGreedyDecision===o.passedThroughNonGreedyDecision&&(this.lexerActionExecutor?this.lexerActionExecutor.equals(o.lexerActionExecutor):!o.lexerActionExecutor)&&_0(Ga(y.prototype),"equals",this).call(this,o)}},{key:"checkNonGreedyDecision",value:function(o,u){return o.passedThroughNonGreedyDecision||u instanceof ya&&u.nonGreedy}}])&&pb(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(ce);function Ka(h){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(h)}function db(h,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(h,(_=function(l,y){if(Ka(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ka(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ka(_)==="symbol"?_:String(_)),s)}var _}function y0(h,i){return y0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},y0(h,i)}function Vc(h){return Vc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Vc(h)}var g0=function(h){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&y0(o,u)})(y,h);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Vc(s);if(_){var S=Vc(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(k,C){if(C&&(Ka(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(k)}(this,o)});function y(o,u){var S;return function(k,C){if(!(k instanceof C))throw new TypeError("Cannot call a class as a function")}(this,y),(S=l.call(this,u.actionType)).offset=o,S.action=u,S.isPositionDependent=!0,S}return i=y,(m=[{key:"execute",value:function(o){this.action.execute(o)}},{key:"updateHashCode",value:function(o){o.update(this.actionType,this.offset,this.action)}},{key:"equals",value:function(o){return this===o||o instanceof y&&this.offset===o.offset&&this.action===o.action}}])&&db(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(so);function Ks(h){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(h)}function J_(h,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(h,(_=function(l,y){if(Ks(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ks(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ks(_)==="symbol"?_:String(_)),s)}var _}var _b=function(){function h(_){return function(l,y){if(!(l instanceof y))throw new TypeError("Cannot call a class as a function")}(this,h),this.lexerActions=_===null?[]:_,this.cachedHashCode=b.hashStuff(_),this}var i,m,s;return i=h,s=[{key:"append",value:function(_,l){return new h(_===null?[l]:_.lexerActions.concat([l]))}}],(m=[{key:"fixOffsetBeforeMatch",value:function(_){for(var l=null,y=0;y<this.lexerActions.length;y++)!this.lexerActions[y].isPositionDependent||this.lexerActions[y]instanceof g0||(l===null&&(l=this.lexerActions.concat([])),l[y]=new g0(_,this.lexerActions[y]));return l===null?this:new h(l)}},{key:"execute",value:function(_,l,y){var o=!1,u=l.index;try{for(var S=0;S<this.lexerActions.length;S++){var k=this.lexerActions[S];if(k instanceof g0){var C=k.offset;l.seek(y+C),k=k.action,o=y+C!==u}else k.isPositionDependent&&(l.seek(u),o=!1);k.execute(_)}}finally{o&&l.seek(u)}}},{key:"hashCode",value:function(){return this.cachedHashCode}},{key:"updateHashCode",value:function(_){_.update(this.cachedHashCode)}},{key:"equals",value:function(_){if(this===_)return!0;if(_ instanceof h){if(this.cachedHashCode!=_.cachedHashCode||this.lexerActions.length!=_.lexerActions.length)return!1;for(var l=this.lexerActions.length,y=0;y<l;++y)if(!this.lexerActions[y].equals(_.lexerActions[y]))return!1;return!0}return!1}}])&&J_(i.prototype,m),s&&J_(i,s),Object.defineProperty(i,"prototype",{writable:!1}),h}();function v0(h,i){return v0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},v0(h,i)}function jc(h){return jc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},jc(h)}function za(h){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(h)}function em(h,i){if(!(h instanceof i))throw new TypeError("Cannot call a class as a function")}function tm(h,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(h,(_=function(l,y){if(za(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(za(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),za(_)==="symbol"?_:String(_)),s)}var _}function nm(h,i,m){return i&&tm(h.prototype,i),m&&tm(h,m),Object.defineProperty(h,"prototype",{writable:!1}),h}function rm(h){h.index=-1,h.line=0,h.column=-1,h.dfaState=null}var mb=function(){function h(){em(this,h),rm(this)}return nm(h,[{key:"reset",value:function(){rm(this)}}]),h}(),Wa=function(h){(function(l,y){if(typeof y!="function"&&y!==null)throw new TypeError("Super expression must either be null or a function");l.prototype=Object.create(y&&y.prototype,{constructor:{value:l,writable:!0,configurable:!0}}),Object.defineProperty(l,"prototype",{writable:!1}),y&&v0(l,y)})(_,h);var i,m,s=(i=_,m=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var l,y=jc(i);if(m){var o=jc(this).constructor;l=Reflect.construct(y,arguments,o)}else l=y.apply(this,arguments);return function(u,S){if(S&&(za(S)==="object"||typeof S=="function"))return S;if(S!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(k){if(k===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return k}(u)}(this,l)});function _(l,y,o,u){var S;return em(this,_),(S=s.call(this,y,u)).decisionToDFA=o,S.recog=l,S.startIndex=-1,S.line=1,S.column=0,S.mode=hr.DEFAULT_MODE,S.prevAccept=new mb,S}return nm(_,[{key:"copyState",value:function(l){this.column=l.column,this.line=l.line,this.mode=l.mode,this.startIndex=l.startIndex}},{key:"match",value:function(l,y){this.mode=y;var o=l.mark();try{this.startIndex=l.index,this.prevAccept.reset();var u=this.decisionToDFA[y];return u.s0===null?this.matchATN(l):this.execATN(l,u.s0)}finally{l.release(o)}}},{key:"reset",value:function(){this.prevAccept.reset(),this.startIndex=-1,this.line=1,this.column=0,this.mode=hr.DEFAULT_MODE}},{key:"matchATN",value:function(l){var y=this.atn.modeToStartState[this.mode];_.debug&&console.log("matchATN mode "+this.mode+" start: "+y);var o=this.mode,u=this.computeStartState(l,y),S=u.hasSemanticContext;u.hasSemanticContext=!1;var k=this.addDFAState(u);S||(this.decisionToDFA[this.mode].s0=k);var C=this.execATN(l,k);return _.debug&&console.log("DFA after matchATN: "+this.decisionToDFA[o].toLexerString()),C}},{key:"execATN",value:function(l,y){_.debug&&console.log("start state closure="+y.configs),y.isAcceptState&&this.captureSimState(this.prevAccept,l,y);for(var o=l.LA(1),u=y;;){_.debug&&console.log("execATN loop starting closure: "+u.configs);var S=this.getExistingTargetState(u,o);if(S===null&&(S=this.computeTargetState(l,u,o)),S===Ni.ERROR||(o!==n.EOF&&this.consume(l),S.isAcceptState&&(this.captureSimState(this.prevAccept,l,S),o===n.EOF)))break;o=l.LA(1),u=S}return this.failOrAccept(this.prevAccept,l,u.configs,o)}},{key:"getExistingTargetState",value:function(l,y){if(l.edges===null||y<_.MIN_DFA_EDGE||y>_.MAX_DFA_EDGE)return null;var o=l.edges[y-_.MIN_DFA_EDGE];return o===void 0&&(o=null),_.debug&&o!==null&&console.log("reuse state "+l.stateNumber+" edge to "+o.stateNumber),o}},{key:"computeTargetState",value:function(l,y,o){var u=new Y_;return this.getReachableConfigSet(l,y.configs,u,o),u.items.length===0?(u.hasSemanticContext||this.addDFAEdge(y,o,Ni.ERROR),Ni.ERROR):this.addDFAEdge(y,o,null,u)}},{key:"failOrAccept",value:function(l,y,o,u){if(this.prevAccept.dfaState!==null){var S=l.dfaState.lexerActionExecutor;return this.accept(y,S,this.startIndex,l.index,l.line,l.column),l.dfaState.prediction}if(u===n.EOF&&y.index===this.startIndex)return n.EOF;throw new f0(this.recog,y,this.startIndex,o)}},{key:"getReachableConfigSet",value:function(l,y,o,u){for(var S=bn.INVALID_ALT_NUMBER,k=0;k<y.items.length;k++){var C=y.items[k],M=C.alt===S;if(!M||!C.passedThroughNonGreedyDecision){_.debug&&console.log(`testing %s at %s
4
- `,this.getTokenName(u),C.toString(this.recog,!0));for(var fe=0;fe<C.state.transitions.length;fe++){var Ne=C.state.transitions[fe],Re=this.getReachableTarget(Ne,u);if(Re!==null){var Ge=C.lexerActionExecutor;Ge!==null&&(Ge=Ge.fixOffsetBeforeMatch(l.index-this.startIndex));var ct=u===n.EOF,We=new Ii({state:Re,lexerActionExecutor:Ge},C);this.closure(l,We,o,M,!0,ct)&&(S=C.alt)}}}}}},{key:"accept",value:function(l,y,o,u,S,k){_.debug&&console.log(`ACTION %s
5
- `,y),l.seek(u),this.line=S,this.column=k,y!==null&&this.recog!==null&&y.execute(this.recog,l,o)}},{key:"getReachableTarget",value:function(l,y){return l.matches(y,0,hr.MAX_CHAR_VALUE)?l.target:null}},{key:"computeStartState",value:function(l,y){for(var o=st.EMPTY,u=new Y_,S=0;S<y.transitions.length;S++){var k=y.transitions[S].target,C=new Ii({state:k,alt:S+1,context:o},null);this.closure(l,C,u,!1,!1,!1)}return u}},{key:"closure",value:function(l,y,o,u,S,k){var C=null;if(_.debug&&console.log("closure("+y.toString(this.recog,!0)+")"),y.state instanceof St){if(_.debug&&(this.recog!==null?console.log(`closure at %s rule stop %s
6
- `,this.recog.ruleNames[y.state.ruleIndex],y):console.log(`closure at rule stop %s
7
- `,y)),y.context===null||y.context.hasEmptyPath()){if(y.context===null||y.context.isEmpty())return o.add(y),!0;o.add(new Ii({state:y.state,context:st.EMPTY},y)),u=!0}if(y.context!==null&&!y.context.isEmpty()){for(var M=0;M<y.context.length;M++)if(y.context.getReturnState(M)!==st.EMPTY_RETURN_STATE){var fe=y.context.getParent(M),Ne=this.atn.states[y.context.getReturnState(M)];C=new Ii({state:Ne,context:fe},y),u=this.closure(l,C,o,u,S,k)}}return u}y.state.epsilonOnlyTransitions||u&&y.passedThroughNonGreedyDecision||o.add(y);for(var Re=0;Re<y.state.transitions.length;Re++){var Ge=y.state.transitions[Re];(C=this.getEpsilonTarget(l,y,Ge,o,S,k))!==null&&(u=this.closure(l,C,o,u,S,k))}return u}},{key:"getEpsilonTarget",value:function(l,y,o,u,S,k){var C=null;if(o.serializationType===be.RULE){var M=_t.create(y.context,o.followState.stateNumber);C=new Ii({state:o.target,context:M},y)}else{if(o.serializationType===be.PRECEDENCE)throw"Precedence predicates are not supported in lexers.";if(o.serializationType===be.PREDICATE)_.debug&&console.log("EVAL rule "+o.ruleIndex+":"+o.predIndex),u.hasSemanticContext=!0,this.evaluatePredicate(l,o.ruleIndex,o.predIndex,S)&&(C=new Ii({state:o.target},y));else if(o.serializationType===be.ACTION)if(y.context===null||y.context.hasEmptyPath()){var fe=_b.append(y.lexerActionExecutor,this.atn.lexerActions[o.actionIndex]);C=new Ii({state:o.target,lexerActionExecutor:fe},y)}else C=new Ii({state:o.target},y);else o.serializationType===be.EPSILON?C=new Ii({state:o.target},y):o.serializationType!==be.ATOM&&o.serializationType!==be.RANGE&&o.serializationType!==be.SET||k&&o.matches(n.EOF,0,hr.MAX_CHAR_VALUE)&&(C=new Ii({state:o.target},y))}return C}},{key:"evaluatePredicate",value:function(l,y,o,u){if(this.recog===null)return!0;if(!u)return this.recog.sempred(null,y,o);var S=this.column,k=this.line,C=l.index,M=l.mark();try{return this.consume(l),this.recog.sempred(null,y,o)}finally{this.column=S,this.line=k,l.seek(C),l.release(M)}}},{key:"captureSimState",value:function(l,y,o){l.index=y.index,l.line=this.line,l.column=this.column,l.dfaState=o}},{key:"addDFAEdge",value:function(l,y,o,u){if(o===void 0&&(o=null),u===void 0&&(u=null),o===null&&u!==null){var S=u.hasSemanticContext;if(u.hasSemanticContext=!1,o=this.addDFAState(u),S)return o}return y<_.MIN_DFA_EDGE||y>_.MAX_DFA_EDGE||(_.debug&&console.log("EDGE "+l+" -> "+o+" upon "+y),l.edges===null&&(l.edges=[]),l.edges[y-_.MIN_DFA_EDGE]=o),o}},{key:"addDFAState",value:function(l){for(var y=new Wo(null,l),o=null,u=0;u<l.items.length;u++){var S=l.items[u];if(S.state instanceof St){o=S;break}}o!==null&&(y.isAcceptState=!0,y.lexerActionExecutor=o.lexerActionExecutor,y.prediction=this.atn.ruleToTokenType[o.state.ruleIndex]);var k=this.decisionToDFA[this.mode],C=k.states.get(y);if(C!==null)return C;var M=y;return M.stateNumber=k.states.length,l.setReadonly(!0),M.configs=l,k.states.add(M),M}},{key:"getDFA",value:function(l){return this.decisionToDFA[l]}},{key:"getText",value:function(l){return l.getText(this.startIndex,l.index-1)}},{key:"consume",value:function(l){l.LA(1)===10?(this.line+=1,this.column=0):this.column+=1,l.consume()}},{key:"getTokenName",value:function(l){return l===-1?"EOF":"'"+String.fromCharCode(l)+"'"}}]),_}(Ni);function zs(h){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(h)}function yb(h,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(h,(_=function(l,y){if(zs(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(zs(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),zs(_)==="symbol"?_:String(_)),s)}var _}Wa.debug=!1,Wa.dfa_debug=!1,Wa.MIN_DFA_EDGE=0,Wa.MAX_DFA_EDGE=127;var im=function(){function h(s,_){(function(l,y){if(!(l instanceof y))throw new TypeError("Cannot call a class as a function")})(this,h),this.alt=_,this.pred=s}var i,m;return i=h,(m=[{key:"toString",value:function(){return"("+this.pred+", "+this.alt+")"}}])&&yb(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),h}();function Ws(h){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(h)}function gb(h,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(h,(_=function(l,y){if(Ws(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ws(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ws(_)==="symbol"?_:String(_)),s)}var _}var vb=function(){function h(){(function(s,_){if(!(s instanceof _))throw new TypeError("Cannot call a class as a function")})(this,h),this.data={}}var i,m;return i=h,(m=[{key:"get",value:function(s){return this.data["k-"+s]||null}},{key:"set",value:function(s,_){this.data["k-"+s]=_}},{key:"values",value:function(){var s=this;return Object.keys(this.data).filter(function(_){return _.startsWith("k-")}).map(function(_){return s.data[_]},this)}}])&&gb(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),h}(),Pi={SLL:0,LL:1,LL_EXACT_AMBIG_DETECTION:2,hasSLLConflictTerminatingPrediction:function(h,i){if(Pi.allConfigsInRuleStopStates(i))return!0;if(h===Pi.SLL&&i.hasSemanticContext){for(var m=new Wr,s=0;s<i.items.length;s++){var _=i.items[s];_=new ce({semanticContext:N.NONE},_),m.add(_)}i=m}var l=Pi.getConflictingAltSubsets(i);return Pi.hasConflictingAltSet(l)&&!Pi.hasStateAssociatedWithOneAlt(i)},hasConfigInRuleStopState:function(h){for(var i=0;i<h.items.length;i++)if(h.items[i].state instanceof St)return!0;return!1},allConfigsInRuleStopStates:function(h){for(var i=0;i<h.items.length;i++)if(!(h.items[i].state instanceof St))return!1;return!0},resolvesToJustOneViableAlt:function(h){return Pi.getSingleViableAlt(h)},allSubsetsConflict:function(h){return!Pi.hasNonConflictingAltSet(h)},hasNonConflictingAltSet:function(h){for(var i=0;i<h.length;i++)if(h[i].length===1)return!0;return!1},hasConflictingAltSet:function(h){for(var i=0;i<h.length;i++)if(h[i].length>1)return!0;return!1},allSubsetsEqual:function(h){for(var i=null,m=0;m<h.length;m++){var s=h[m];if(i===null)i=s;else if(s!==i)return!1}return!0},getUniqueAlt:function(h){var i=Pi.getAlts(h);return i.length===1?i.minValue():bn.INVALID_ALT_NUMBER},getAlts:function(h){var i=new zr;return h.map(function(m){i.or(m)}),i},getConflictingAltSubsets:function(h){var i=new io;return i.hashFunction=function(m){b.hashStuff(m.state.stateNumber,m.context)},i.equalsFunction=function(m,s){return m.state.stateNumber===s.state.stateNumber&&m.context.equals(s.context)},h.items.map(function(m){var s=i.get(m);s===null&&(s=new zr,i.set(m,s)),s.add(m.alt)}),i.getValues()},getStateToAltMap:function(h){var i=new vb;return h.items.map(function(m){var s=i.get(m.state);s===null&&(s=new zr,i.set(m.state,s)),s.add(m.alt)}),i},hasStateAssociatedWithOneAlt:function(h){for(var i=Pi.getStateToAltMap(h).values(),m=0;m<i.length;m++)if(i[m].length===1)return!0;return!1},getSingleViableAlt:function(h){for(var i=null,m=0;m<h.length;m++){var s=h[m].minValue();if(i===null)i=s;else if(i!==s)return bn.INVALID_ALT_NUMBER}return i}};const Wn=Pi;function b0(h){return b0=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},b0(h)}function E0(h,i){return E0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},E0(h,i)}function $c(h){return $c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},$c(h)}var Hc=function(h){(function(y,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(o&&o.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),o&&E0(y,o)})(l,h);var i,m,s,_=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var y,o=$c(m);if(s){var u=$c(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return function(S,k){if(k&&(b0(k)==="object"||typeof k=="function"))return k;if(k!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(C){if(C===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C}(S)}(this,y)});function l(y,o,u,S,k,C){var M;return function(fe,Ne){if(!(fe instanceof Ne))throw new TypeError("Cannot call a class as a function")}(this,l),C=C||y._ctx,S=S||y.getCurrentToken(),u=u||y.getCurrentToken(),o=o||y.getInputStream(),(M=_.call(this,{message:"",recognizer:y,input:o,ctx:C})).deadEndConfigs=k,M.startToken=u,M.offendingToken=S,M}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(zo);function qs(h){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(h)}function bb(h,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(h,(_=function(l,y){if(qs(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(qs(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),qs(_)==="symbol"?_:String(_)),s)}var _}var Eb=function(){function h(s){(function(_,l){if(!(_ instanceof l))throw new TypeError("Cannot call a class as a function")})(this,h),this.defaultMapCtor=s||io,this.cacheMap=new this.defaultMapCtor}var i,m;return i=h,(m=[{key:"get",value:function(s,_){var l=this.cacheMap.get(s)||null;return l===null?null:l.get(_)||null}},{key:"set",value:function(s,_,l){var y=this.cacheMap.get(s)||null;y===null&&(y=new this.defaultMapCtor,this.cacheMap.set(s,y)),y.set(_,l)}}])&&bb(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),h}();function qa(h){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(h)}function xb(h,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(h,(_=function(l,y){if(qa(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(qa(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),qa(_)==="symbol"?_:String(_)),s)}var _}function x0(h,i){return x0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},x0(h,i)}function Gc(h){return Gc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Gc(h)}var om=function(h){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&x0(o,u)})(y,h);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Gc(s);if(_){var S=Gc(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(k,C){if(C&&(qa(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(k)}(this,o)});function y(o,u,S,k){var C;return function(M,fe){if(!(M instanceof fe))throw new TypeError("Cannot call a class as a function")}(this,y),(C=l.call(this,u,k)).parser=o,C.decisionToDFA=S,C.predictionMode=Wn.LL,C._input=null,C._startIndex=0,C._outerContext=null,C._dfa=null,C.mergeCache=null,C.debug=!1,C.debug_closure=!1,C.debug_add=!1,C.trace_atn_sim=!1,C.dfa_debug=!1,C.retry_debug=!1,C}return i=y,m=[{key:"reset",value:function(){}},{key:"adaptivePredict",value:function(o,u,S){(this.debug||this.trace_atn_sim)&&console.log("adaptivePredict decision "+u+" exec LA(1)=="+this.getLookaheadName(o)+" line "+o.LT(1).line+":"+o.LT(1).column),this._input=o,this._startIndex=o.index,this._outerContext=S;var k=this.decisionToDFA[u];this._dfa=k;var C=o.mark(),M=o.index;try{var fe;if((fe=k.precedenceDfa?k.getPrecedenceStartState(this.parser.getPrecedence()):k.s0)===null){S===null&&(S=ro.EMPTY),this.debug&&console.log("predictATN decision "+k.decision+" exec LA(1)=="+this.getLookaheadName(o)+", outerContext="+S.toString(this.parser.ruleNames));var Ne=this.computeStartState(k.atnStartState,ro.EMPTY,!1);k.precedenceDfa?(k.s0.configs=Ne,Ne=this.applyPrecedenceFilter(Ne),fe=this.addDFAState(k,new Wo(null,Ne)),k.setPrecedenceStartState(this.parser.getPrecedence(),fe)):(fe=this.addDFAState(k,new Wo(null,Ne)),k.s0=fe)}var Re=this.execATN(k,fe,o,M,S);return this.debug&&console.log("DFA after predictATN: "+k.toString(this.parser.literalNames,this.parser.symbolicNames)),Re}finally{this._dfa=null,this.mergeCache=null,o.seek(M),o.release(C)}}},{key:"execATN",value:function(o,u,S,k,C){var M;(this.debug||this.trace_atn_sim)&&console.log("execATN decision "+o.decision+", DFA state "+u+", LA(1)=="+this.getLookaheadName(S)+" line "+S.LT(1).line+":"+S.LT(1).column);var fe=u;this.debug&&console.log("s0 = "+u);for(var Ne=S.LA(1);;){var Re=this.getExistingTargetState(fe,Ne);if(Re===null&&(Re=this.computeTargetState(o,fe,Ne)),Re===Ni.ERROR){var Ge=this.noViableAlt(S,C,fe.configs,k);if(S.seek(k),(M=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(fe.configs,C))!==bn.INVALID_ALT_NUMBER)return M;throw Ge}if(Re.requiresFullContext&&this.predictionMode!==Wn.SLL){var ct=null;if(Re.predicates!==null){this.debug&&console.log("DFA state has preds in DFA sim LL failover");var We=S.index;if(We!==k&&S.seek(k),(ct=this.evalSemanticContext(Re.predicates,C,!0)).length===1)return this.debug&&console.log("Full LL avoided"),ct.minValue();We!==k&&S.seek(We)}this.dfa_debug&&console.log("ctx sensitive state "+C+" in "+Re);var En=this.computeStartState(o.atnStartState,C,!0);return this.reportAttemptingFullContext(o,ct,Re.configs,k,S.index),this.execATNWithFullContext(o,Re,En,S,k,C)}if(Re.isAcceptState){if(Re.predicates===null)return Re.prediction;var vn=S.index;S.seek(k);var qn=this.evalSemanticContext(Re.predicates,C,!0);if(qn.length===0)throw this.noViableAlt(S,C,Re.configs,k);return qn.length===1||this.reportAmbiguity(o,Re,k,vn,!1,qn,Re.configs),qn.minValue()}fe=Re,Ne!==n.EOF&&(S.consume(),Ne=S.LA(1))}}},{key:"getExistingTargetState",value:function(o,u){var S=o.edges;return S===null?null:S[u+1]||null}},{key:"computeTargetState",value:function(o,u,S){var k=this.computeReachSet(u.configs,S,!1);if(k===null)return this.addDFAEdge(o,u,S,Ni.ERROR),Ni.ERROR;var C=new Wo(null,k),M=this.getUniqueAlt(k);if(this.debug){var fe=Wn.getConflictingAltSubsets(k);console.log("SLL altSubSets="+F(fe)+", configs="+k+", predict="+M+", allSubsetsConflict="+Wn.allSubsetsConflict(fe)+", conflictingAlts="+this.getConflictingAlts(k))}return M!==bn.INVALID_ALT_NUMBER?(C.isAcceptState=!0,C.configs.uniqueAlt=M,C.prediction=M):Wn.hasSLLConflictTerminatingPrediction(this.predictionMode,k)&&(C.configs.conflictingAlts=this.getConflictingAlts(k),C.requiresFullContext=!0,C.isAcceptState=!0,C.prediction=C.configs.conflictingAlts.minValue()),C.isAcceptState&&C.configs.hasSemanticContext&&(this.predicateDFAState(C,this.atn.getDecisionState(o.decision)),C.predicates!==null&&(C.prediction=bn.INVALID_ALT_NUMBER)),this.addDFAEdge(o,u,S,C)}},{key:"predicateDFAState",value:function(o,u){var S=u.transitions.length,k=this.getConflictingAltsOrUniqueAlt(o.configs),C=this.getPredsForAmbigAlts(k,o.configs,S);C!==null?(o.predicates=this.getPredicatePredictions(k,C),o.prediction=bn.INVALID_ALT_NUMBER):o.prediction=k.minValue()}},{key:"execATNWithFullContext",value:function(o,u,S,k,C,M){(this.debug||this.trace_atn_sim)&&console.log("execATNWithFullContext "+S);var fe,Ne=!1,Re=S;k.seek(C);for(var Ge=k.LA(1),ct=-1;;){if((fe=this.computeReachSet(Re,Ge,!0))===null){var We=this.noViableAlt(k,M,Re,C);k.seek(C);var En=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(Re,M);if(En!==bn.INVALID_ALT_NUMBER)return En;throw We}var vn=Wn.getConflictingAltSubsets(fe);if(this.debug&&console.log("LL altSubSets="+vn+", predict="+Wn.getUniqueAlt(vn)+", resolvesToJustOneViableAlt="+Wn.resolvesToJustOneViableAlt(vn)),fe.uniqueAlt=this.getUniqueAlt(fe),fe.uniqueAlt!==bn.INVALID_ALT_NUMBER){ct=fe.uniqueAlt;break}if(this.predictionMode!==Wn.LL_EXACT_AMBIG_DETECTION){if((ct=Wn.resolvesToJustOneViableAlt(vn))!==bn.INVALID_ALT_NUMBER)break}else if(Wn.allSubsetsConflict(vn)&&Wn.allSubsetsEqual(vn)){Ne=!0,ct=Wn.getSingleViableAlt(vn);break}Re=fe,Ge!==n.EOF&&(k.consume(),Ge=k.LA(1))}return fe.uniqueAlt!==bn.INVALID_ALT_NUMBER?(this.reportContextSensitivity(o,ct,fe,C,k.index),ct):(this.reportAmbiguity(o,u,C,k.index,Ne,null,fe),ct)}},{key:"computeReachSet",value:function(o,u,S){this.debug&&console.log("in computeReachSet, starting closure: "+o),this.mergeCache===null&&(this.mergeCache=new Eb);for(var k=new Wr(S),C=null,M=0;M<o.items.length;M++){var fe=o.items[M];if(this.debug&&console.log("testing "+this.getTokenName(u)+" at "+fe),fe.state instanceof St)(S||u===n.EOF)&&(C===null&&(C=[]),C.push(fe),this.debug_add&&console.log("added "+fe+" to skippedStopStates"));else for(var Ne=0;Ne<fe.state.transitions.length;Ne++){var Re=fe.state.transitions[Ne],Ge=this.getReachableTarget(Re,u);if(Ge!==null){var ct=new ce({state:Ge},fe);k.add(ct,this.mergeCache),this.debug_add&&console.log("added "+ct+" to intermediate")}}}var We=null;if(C===null&&u!==n.EOF&&(k.items.length===1||this.getUniqueAlt(k)!==bn.INVALID_ALT_NUMBER)&&(We=k),We===null){We=new Wr(S);for(var En=new g,vn=u===n.EOF,qn=0;qn<k.items.length;qn++)this.closure(k.items[qn],We,En,!1,S,vn)}if(u===n.EOF&&(We=this.removeAllConfigsNotInRuleStopState(We,We===k)),!(C===null||S&&Wn.hasConfigInRuleStopState(We)))for(var qr=0;qr<C.length;qr++)We.add(C[qr],this.mergeCache);return this.trace_atn_sim&&console.log("computeReachSet "+o+" -> "+We),We.items.length===0?null:We}},{key:"removeAllConfigsNotInRuleStopState",value:function(o,u){if(Wn.allConfigsInRuleStopStates(o))return o;for(var S=new Wr(o.fullCtx),k=0;k<o.items.length;k++){var C=o.items[k];if(C.state instanceof St)S.add(C,this.mergeCache);else if(u&&C.state.epsilonOnlyTransitions&&this.atn.nextTokens(C.state).contains(n.EPSILON)){var M=this.atn.ruleToStopState[C.state.ruleIndex];S.add(new ce({state:M},C),this.mergeCache)}}return S}},{key:"computeStartState",value:function(o,u,S){var k=_a(this.atn,u),C=new Wr(S);this.trace_atn_sim&&console.log("computeStartState from ATN state "+o+" initialContext="+k.toString(this.parser));for(var M=0;M<o.transitions.length;M++){var fe=o.transitions[M].target,Ne=new ce({state:fe,alt:M+1,context:k},null),Re=new g;this.closure(Ne,C,Re,!0,S,!1)}return C}},{key:"applyPrecedenceFilter",value:function(o){for(var u,S=[],k=new Wr(o.fullCtx),C=0;C<o.items.length;C++)if((u=o.items[C]).alt===1){var M=u.semanticContext.evalPrecedence(this.parser,this._outerContext);M!==null&&(S[u.state.stateNumber]=u.context,M!==u.semanticContext?k.add(new ce({semanticContext:M},u),this.mergeCache):k.add(u,this.mergeCache))}for(var fe=0;fe<o.items.length;fe++)if((u=o.items[fe]).alt!==1){if(!u.precedenceFilterSuppressed){var Ne=S[u.state.stateNumber]||null;if(Ne!==null&&Ne.equals(u.context))continue}k.add(u,this.mergeCache)}return k}},{key:"getReachableTarget",value:function(o,u){return o.matches(u,0,this.atn.maxTokenType)?o.target:null}},{key:"getPredsForAmbigAlts",value:function(o,u,S){for(var k=[],C=0;C<u.items.length;C++){var M=u.items[C];o.has(M.alt)&&(k[M.alt]=N.orContext(k[M.alt]||null,M.semanticContext))}for(var fe=0,Ne=1;Ne<S+1;Ne++){var Re=k[Ne]||null;Re===null?k[Ne]=N.NONE:Re!==N.NONE&&(fe+=1)}return fe===0&&(k=null),this.debug&&console.log("getPredsForAmbigAlts result "+F(k)),k}},{key:"getPredicatePredictions",value:function(o,u){for(var S=[],k=!1,C=1;C<u.length;C++){var M=u[C];o!==null&&o.has(C)&&S.push(new im(M,C)),M!==N.NONE&&(k=!0)}return k?S:null}},{key:"getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule",value:function(o,u){var S=this.splitAccordingToSemanticValidity(o,u),k=S[0],C=S[1],M=this.getAltThatFinishedDecisionEntryRule(k);return M!==bn.INVALID_ALT_NUMBER||C.items.length>0&&(M=this.getAltThatFinishedDecisionEntryRule(C))!==bn.INVALID_ALT_NUMBER?M:bn.INVALID_ALT_NUMBER}},{key:"getAltThatFinishedDecisionEntryRule",value:function(o){for(var u=[],S=0;S<o.items.length;S++){var k=o.items[S];(k.reachesIntoOuterContext>0||k.state instanceof St&&k.context.hasEmptyPath())&&u.indexOf(k.alt)<0&&u.push(k.alt)}return u.length===0?bn.INVALID_ALT_NUMBER:Math.min.apply(null,u)}},{key:"splitAccordingToSemanticValidity",value:function(o,u){for(var S=new Wr(o.fullCtx),k=new Wr(o.fullCtx),C=0;C<o.items.length;C++){var M=o.items[C];M.semanticContext!==N.NONE?M.semanticContext.evaluate(this.parser,u)?S.add(M):k.add(M):S.add(M)}return[S,k]}},{key:"evalSemanticContext",value:function(o,u,S){for(var k=new zr,C=0;C<o.length;C++){var M=o[C];if(M.pred!==N.NONE){var fe=M.pred.evaluate(this.parser,u);if((this.debug||this.dfa_debug)&&console.log("eval pred "+M+"="+fe),fe&&((this.debug||this.dfa_debug)&&console.log("PREDICT "+M.alt),k.add(M.alt),!S))break}else if(k.add(M.alt),!S)break}return k}},{key:"closure",value:function(o,u,S,k,C,M){this.closureCheckingStopState(o,u,S,k,C,0,M)}},{key:"closureCheckingStopState",value:function(o,u,S,k,C,M,fe){if((this.trace_atn_sim||this.debug_closure)&&console.log("closure("+o.toString(this.parser,!0)+")"),o.state instanceof St){if(!o.context.isEmpty()){for(var Ne=0;Ne<o.context.length;Ne++)if(o.context.getReturnState(Ne)!==st.EMPTY_RETURN_STATE){var Re=this.atn.states[o.context.getReturnState(Ne)],Ge=o.context.getParent(Ne),ct={state:Re,alt:o.alt,context:Ge,semanticContext:o.semanticContext},We=new ce(ct,null);We.reachesIntoOuterContext=o.reachesIntoOuterContext,this.closureCheckingStopState(We,u,S,k,C,M-1,fe)}else{if(C){u.add(new ce({state:o.state,context:st.EMPTY},o),this.mergeCache);continue}this.debug&&console.log("FALLING off rule "+this.getRuleName(o.state.ruleIndex)),this.closure_(o,u,S,k,C,M,fe)}return}if(C)return void u.add(o,this.mergeCache);this.debug&&console.log("FALLING off rule "+this.getRuleName(o.state.ruleIndex))}this.closure_(o,u,S,k,C,M,fe)}},{key:"closure_",value:function(o,u,S,k,C,M,fe){var Ne=o.state;Ne.epsilonOnlyTransitions||u.add(o,this.mergeCache);for(var Re=0;Re<Ne.transitions.length;Re++)if(Re!==0||!this.canDropLoopEntryEdgeInLeftRecursiveRule(o)){var Ge=Ne.transitions[Re],ct=k&&!(Ge instanceof L_),We=this.getEpsilonTarget(o,Ge,ct,M===0,C,fe);if(We!==null){var En=M;if(o.state instanceof St){if(this._dfa!==null&&this._dfa.precedenceDfa&&Ge.outermostPrecedenceReturn===this._dfa.atnStartState.ruleIndex&&(We.precedenceFilterSuppressed=!0),We.reachesIntoOuterContext+=1,S.add(We)!==We)continue;u.dipsIntoOuterContext=!0,En-=1,this.debug&&console.log("dips into outer ctx: "+We)}else{if(!Ge.isEpsilon&&S.add(We)!==We)continue;Ge instanceof Dt&&En>=0&&(En+=1)}this.closureCheckingStopState(We,u,S,ct,C,En,fe)}}}},{key:"canDropLoopEntryEdgeInLeftRecursiveRule",value:function(o){var u=o.state;if(u.stateType!==me.STAR_LOOP_ENTRY||u.stateType!==me.STAR_LOOP_ENTRY||!u.isPrecedenceDecision||o.context.isEmpty()||o.context.hasEmptyPath())return!1;for(var S=o.context.length,k=0;k<S;k++)if(this.atn.states[o.context.getReturnState(k)].ruleIndex!==u.ruleIndex)return!1;for(var C=u.transitions[0].target.endState.stateNumber,M=this.atn.states[C],fe=0;fe<S;fe++){var Ne=o.context.getReturnState(fe),Re=this.atn.states[Ne];if(Re.transitions.length!==1||!Re.transitions[0].isEpsilon)return!1;var Ge=Re.transitions[0].target;if(!(Re.stateType===me.BLOCK_END&&Ge===u||Re===M||Ge===M||Ge.stateType===me.BLOCK_END&&Ge.transitions.length===1&&Ge.transitions[0].isEpsilon&&Ge.transitions[0].target===u))return!1}return!0}},{key:"getRuleName",value:function(o){return this.parser!==null&&o>=0?this.parser.ruleNames[o]:"<rule "+o+">"}},{key:"getEpsilonTarget",value:function(o,u,S,k,C,M){switch(u.serializationType){case be.RULE:return this.ruleTransition(o,u);case be.PRECEDENCE:return this.precedenceTransition(o,u,S,k,C);case be.PREDICATE:return this.predTransition(o,u,S,k,C);case be.ACTION:return this.actionTransition(o,u);case be.EPSILON:return new ce({state:u.target},o);case be.ATOM:case be.RANGE:case be.SET:return M&&u.matches(n.EOF,0,1)?new ce({state:u.target},o):null;default:return null}}},{key:"actionTransition",value:function(o,u){if(this.debug){var S=u.actionIndex===-1?65535:u.actionIndex;console.log("ACTION edge "+u.ruleIndex+":"+S)}return new ce({state:u.target},o)}},{key:"precedenceTransition",value:function(o,u,S,k,C){this.debug&&(console.log("PRED (collectPredicates="+S+") "+u.precedence+">=_p, ctx dependent=true"),this.parser!==null&&console.log("context surrounding pred is "+F(this.parser.getRuleInvocationStack())));var M=null;if(S&&k)if(C){var fe=this._input.index;this._input.seek(this._startIndex);var Ne=u.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(fe),Ne&&(M=new ce({state:u.target},o))}else{var Re=N.andContext(o.semanticContext,u.getPredicate());M=new ce({state:u.target,semanticContext:Re},o)}else M=new ce({state:u.target},o);return this.debug&&console.log("config from pred transition="+M),M}},{key:"predTransition",value:function(o,u,S,k,C){this.debug&&(console.log("PRED (collectPredicates="+S+") "+u.ruleIndex+":"+u.predIndex+", ctx dependent="+u.isCtxDependent),this.parser!==null&&console.log("context surrounding pred is "+F(this.parser.getRuleInvocationStack())));var M=null;if(S&&(u.isCtxDependent&&k||!u.isCtxDependent))if(C){var fe=this._input.index;this._input.seek(this._startIndex);var Ne=u.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(fe),Ne&&(M=new ce({state:u.target},o))}else{var Re=N.andContext(o.semanticContext,u.getPredicate());M=new ce({state:u.target,semanticContext:Re},o)}else M=new ce({state:u.target},o);return this.debug&&console.log("config from pred transition="+M),M}},{key:"ruleTransition",value:function(o,u){this.debug&&console.log("CALL rule "+this.getRuleName(u.target.ruleIndex)+", ctx="+o.context);var S=u.followState,k=_t.create(o.context,S.stateNumber);return new ce({state:u.target,context:k},o)}},{key:"getConflictingAlts",value:function(o){var u=Wn.getConflictingAltSubsets(o);return Wn.getAlts(u)}},{key:"getConflictingAltsOrUniqueAlt",value:function(o){var u=null;return o.uniqueAlt!==bn.INVALID_ALT_NUMBER?(u=new zr).add(o.uniqueAlt):u=o.conflictingAlts,u}},{key:"getTokenName",value:function(o){if(o===n.EOF)return"EOF";if(this.parser!==null&&this.parser.literalNames!==null){if(!(o>=this.parser.literalNames.length&&o>=this.parser.symbolicNames.length))return(this.parser.literalNames[o]||this.parser.symbolicNames[o])+"<"+o+">";console.log(o+" ttype out of range: "+this.parser.literalNames),console.log(""+this.parser.getInputStream().getTokens())}return""+o}},{key:"getLookaheadName",value:function(o){return this.getTokenName(o.LA(1))}},{key:"dumpDeadEndConfigs",value:function(o){console.log("dead end configs: ");for(var u=o.getDeadEndConfigs(),S=0;S<u.length;S++){var k=u[S],C="no edges";if(k.state.transitions.length>0){var M=k.state.transitions[0];M instanceof Bh?C="Atom "+this.getTokenName(M.label):M instanceof ir&&(C=(M instanceof Ht?"~":"")+"Set "+M.set)}console.error(k.toString(this.parser,!0)+":"+C)}}},{key:"noViableAlt",value:function(o,u,S,k){return new Hc(this.parser,o,o.get(k),o.LT(1),S,u)}},{key:"getUniqueAlt",value:function(o){for(var u=bn.INVALID_ALT_NUMBER,S=0;S<o.items.length;S++){var k=o.items[S];if(u===bn.INVALID_ALT_NUMBER)u=k.alt;else if(k.alt!==u)return bn.INVALID_ALT_NUMBER}return u}},{key:"addDFAEdge",value:function(o,u,S,k){if(this.debug&&console.log("EDGE "+u+" -> "+k+" upon "+this.getTokenName(S)),k===null)return null;if(k=this.addDFAState(o,k),u===null||S<-1||S>this.atn.maxTokenType)return k;if(u.edges===null&&(u.edges=[]),u.edges[S+1]=k,this.debug){var C=this.parser===null?null:this.parser.literalNames,M=this.parser===null?null:this.parser.symbolicNames;console.log(`DFA=
8
- `+o.toString(C,M))}return k}},{key:"addDFAState",value:function(o,u){if(u===Ni.ERROR)return u;var S=o.states.get(u);return S!==null?(this.trace_atn_sim&&console.log("addDFAState "+u+" exists"),S):(u.stateNumber=o.states.length,u.configs.readOnly||(u.configs.optimizeConfigs(this),u.configs.setReadonly(!0)),this.trace_atn_sim&&console.log("addDFAState new "+u),o.states.add(u),this.debug&&console.log("adding new DFA state: "+u),u)}},{key:"reportAttemptingFullContext",value:function(o,u,S,k,C){if(this.debug||this.retry_debug){var M=new _e(k,C+1);console.log("reportAttemptingFullContext decision="+o.decision+":"+S+", input="+this.parser.getTokenStream().getText(M))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportAttemptingFullContext(this.parser,o,k,C,u,S)}},{key:"reportContextSensitivity",value:function(o,u,S,k,C){if(this.debug||this.retry_debug){var M=new _e(k,C+1);console.log("reportContextSensitivity decision="+o.decision+":"+S+", input="+this.parser.getTokenStream().getText(M))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportContextSensitivity(this.parser,o,k,C,u,S)}},{key:"reportAmbiguity",value:function(o,u,S,k,C,M,fe){if(this.debug||this.retry_debug){var Ne=new _e(S,k+1);console.log("reportAmbiguity "+M+":"+fe+", input="+this.parser.getTokenStream().getText(Ne))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportAmbiguity(this.parser,o,S,k,C,M,fe)}}],m&&xb(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(Ni);function Xs(h){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(h)}function Sb(h,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(h,(_=function(l,y){if(Xs(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Xs(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Xs(_)==="symbol"?_:String(_)),s)}var _}var am=function(){function h(){(function(s,_){if(!(s instanceof _))throw new TypeError("Cannot call a class as a function")})(this,h),this.cache=new io}var i,m;return i=h,(m=[{key:"add",value:function(s){if(s===st.EMPTY)return st.EMPTY;var _=this.cache.get(s)||null;return _!==null?_:(this.cache.set(s,s),s)}},{key:"get",value:function(s){return this.cache.get(s)||null}},{key:"length",get:function(){return this.cache.length}}])&&Sb(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),h}();const Tb={ATN:bn,ATNDeserializer:t0,LexerATNSimulator:Wa,ParserATNSimulator:om,PredictionMode:Wn,PredictionContextCache:am};function Ys(h){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(h)}function Ab(h,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(h,(_=function(l,y){if(Ys(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ys(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ys(_)==="symbol"?_:String(_)),s)}var _}var S0=function(){function h(s,_,l){(function(y,o){if(!(y instanceof o))throw new TypeError("Cannot call a class as a function")})(this,h),this.dfa=s,this.literalNames=_||[],this.symbolicNames=l||[]}var i,m;return i=h,(m=[{key:"toString",value:function(){if(this.dfa.s0===null)return null;for(var s="",_=this.dfa.sortedStates(),l=0;l<_.length;l++){var y=_[l];if(y.edges!==null)for(var o=y.edges.length,u=0;u<o;u++){var S=y.edges[u]||null;S!==null&&S.stateNumber!==2147483647&&(s=(s=(s=(s=(s=(s=s.concat(this.getStateString(y))).concat("-")).concat(this.getEdgeLabel(u))).concat("->")).concat(this.getStateString(S))).concat(`
9
- `))}}return s.length===0?null:s}},{key:"getEdgeLabel",value:function(s){return s===0?"EOF":this.literalNames!==null||this.symbolicNames!==null?this.literalNames[s-1]||this.symbolicNames[s-1]:String.fromCharCode(s-1)}},{key:"getStateString",value:function(s){var _=(s.isAcceptState?":":"")+"s"+s.stateNumber+(s.requiresFullContext?"^":"");return s.isAcceptState?s.predicates!==null?_+"=>"+F(s.predicates):_+"=>"+s.prediction.toString():_}}])&&Ab(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),h}();function Xa(h){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(h)}function Cb(h,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(h,(_=function(l,y){if(Xa(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Xa(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Xa(_)==="symbol"?_:String(_)),s)}var _}function T0(h,i){return T0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},T0(h,i)}function Kc(h){return Kc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Kc(h)}var sm=function(h){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&T0(o,u)})(y,h);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Kc(s);if(_){var S=Kc(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(k,C){if(C&&(Xa(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(k)}(this,o)});function y(o){return function(u,S){if(!(u instanceof S))throw new TypeError("Cannot call a class as a function")}(this,y),l.call(this,o,null)}return i=y,(m=[{key:"getEdgeLabel",value:function(o){return"'"+String.fromCharCode(o)+"'"}}])&&Cb(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(S0);function Zs(h){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(h)}function Db(h,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(h,(_=function(l,y){if(Zs(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Zs(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Zs(_)==="symbol"?_:String(_)),s)}var _}var um=function(){function h(s,_){if(function(y,o){if(!(y instanceof o))throw new TypeError("Cannot call a class as a function")}(this,h),_===void 0&&(_=0),this.atnStartState=s,this.decision=_,this._states=new g,this.s0=null,this.precedenceDfa=!1,s instanceof Ko&&s.isPrecedenceDecision){this.precedenceDfa=!0;var l=new Wo(null,new Wr);l.edges=[],l.isAcceptState=!1,l.requiresFullContext=!1,this.s0=l}}var i,m;return i=h,(m=[{key:"getPrecedenceStartState",value:function(s){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";return s<0||s>=this.s0.edges.length?null:this.s0.edges[s]||null}},{key:"setPrecedenceStartState",value:function(s,_){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";s<0||(this.s0.edges[s]=_)}},{key:"setPrecedenceDfa",value:function(s){if(this.precedenceDfa!==s){if(this._states=new g,s){var _=new Wo(null,new Wr);_.edges=[],_.isAcceptState=!1,_.requiresFullContext=!1,this.s0=_}else this.s0=null;this.precedenceDfa=s}}},{key:"sortedStates",value:function(){return this._states.values().sort(function(s,_){return s.stateNumber-_.stateNumber})}},{key:"toString",value:function(s,_){return s=s||null,_=_||null,this.s0===null?"":new S0(this,s,_).toString()}},{key:"toLexerString",value:function(){return this.s0===null?"":new sm(this).toString()}},{key:"states",get:function(){return this._states}}])&&Db(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),h}();const kb={DFA:um,DFASerializer:S0,LexerDFASerializer:sm,PredPrediction:im},Ob={PredictionContext:st},wb={Interval:_e,IntervalSet:J};function Qs(h){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(h)}function Rb(h,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(h,(_=function(l,y){if(Qs(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Qs(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Qs(_)==="symbol"?_:String(_)),s)}var _}var A0=function(){function h(){(function(s,_){if(!(s instanceof _))throw new TypeError("Cannot call a class as a function")})(this,h)}var i,m;return i=h,(m=[{key:"visitTerminal",value:function(s){}},{key:"visitErrorNode",value:function(s){}},{key:"enterEveryRule",value:function(s){}},{key:"exitEveryRule",value:function(s){}}])&&Rb(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),h}();function Js(h){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(h)}function Fb(h,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(h,(_=function(l,y){if(Js(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Js(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Js(_)==="symbol"?_:String(_)),s)}var _}var cm=function(){function h(){(function(s,_){if(!(s instanceof _))throw new TypeError("Cannot call a class as a function")})(this,h)}var i,m;return i=h,(m=[{key:"visit",value:function(s){return Array.isArray(s)?s.map(function(_){return _.accept(this)},this):s.accept(this)}},{key:"visitChildren",value:function(s){return s.children?this.visit(s.children):null}},{key:"visitTerminal",value:function(s){}},{key:"visitErrorNode",value:function(s){}}])&&Fb(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),h}();function eu(h){return eu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},eu(h)}function Nb(h,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(h,(_=function(l,y){if(eu(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(eu(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),eu(_)==="symbol"?_:String(_)),s)}var _}var zc=function(){function h(){(function(s,_){if(!(s instanceof _))throw new TypeError("Cannot call a class as a function")})(this,h)}var i,m;return i=h,(m=[{key:"walk",value:function(s,_){if(_ instanceof ti||_.isErrorNode!==void 0&&_.isErrorNode())s.visitErrorNode(_);else if(_ instanceof hn)s.visitTerminal(_);else{this.enterRule(s,_);for(var l=0;l<_.getChildCount();l++){var y=_.getChild(l);this.walk(s,y)}this.exitRule(s,_)}}},{key:"enterRule",value:function(s,_){var l=_.ruleContext;s.enterEveryRule(l),l.enterRule(s)}},{key:"exitRule",value:function(s,_){var l=_.ruleContext;l.exitRule(s),s.exitEveryRule(l)}}])&&Nb(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),h}();zc.DEFAULT=new zc;const Ib={Trees:Ju,RuleNode:Le,ErrorNode:ti,TerminalNode:hn,ParseTreeListener:A0,ParseTreeVisitor:cm,ParseTreeWalker:zc};function C0(h){return C0=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},C0(h)}function D0(h,i){return D0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},D0(h,i)}function Wc(h){return Wc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Wc(h)}var tu=function(h){(function(y,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(o&&o.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),o&&D0(y,o)})(l,h);var i,m,s,_=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var y,o=Wc(m);if(s){var u=Wc(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return function(S,k){if(k&&(C0(k)==="object"||typeof k=="function"))return k;if(k!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(C){if(C===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C}(S)}(this,y)});function l(y){var o;return function(u,S){if(!(u instanceof S))throw new TypeError("Cannot call a class as a function")}(this,l),(o=_.call(this,{message:"",recognizer:y,input:y.getInputStream(),ctx:y._ctx})).offendingToken=y.getCurrentToken(),o}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(zo);function k0(h){return k0=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},k0(h)}function O0(h,i){return O0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},O0(h,i)}function qc(h){return qc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},qc(h)}var w0=function(h){(function(y,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(o&&o.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),o&&O0(y,o)})(l,h);var i,m,s,_=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var y,o=qc(m);if(s){var u=qc(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return function(S,k){if(k&&(k0(k)==="object"||typeof k=="function"))return k;if(k!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(C){if(C===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C}(S)}(this,y)});function l(y,o,u){var S;(function(C,M){if(!(C instanceof M))throw new TypeError("Cannot call a class as a function")})(this,l),S=_.call(this,{message:Pb(o,u||null),recognizer:y,input:y.getInputStream(),ctx:y._ctx});var k=y._interp.atn.states[y.state].transitions[0];return k instanceof U_?(S.ruleIndex=k.ruleIndex,S.predicateIndex=k.predIndex):(S.ruleIndex=0,S.predicateIndex=0),S.predicate=o,S.offendingToken=y.getCurrentToken(),S}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(zo);function Pb(h,i){return i!==null?i:"failed predicate: {"+h+"}?"}function Ya(h){return Ya=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ya(h)}function Bb(h,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(h,(_=function(l,y){if(Ya(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ya(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ya(_)==="symbol"?_:String(_)),s)}var _}function R0(h,i){return R0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},R0(h,i)}function Xc(h){return Xc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Xc(h)}var lm=function(h){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&R0(o,u)})(y,h);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Xc(s);if(_){var S=Xc(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(k,C){if(C&&(Ya(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(k)}(this,o)});function y(o){var u;return function(S,k){if(!(S instanceof k))throw new TypeError("Cannot call a class as a function")}(this,y),o=o||!0,(u=l.call(this)).exactOnly=o,u}return i=y,m=[{key:"reportAmbiguity",value:function(o,u,S,k,C,M,fe){if(!this.exactOnly||C){var Ne="reportAmbiguity d="+this.getDecisionDescription(o,u)+": ambigAlts="+this.getConflictingAlts(M,fe)+", input='"+o.getTokenStream().getText(new _e(S,k))+"'";o.notifyErrorListeners(Ne)}}},{key:"reportAttemptingFullContext",value:function(o,u,S,k,C,M){var fe="reportAttemptingFullContext d="+this.getDecisionDescription(o,u)+", input='"+o.getTokenStream().getText(new _e(S,k))+"'";o.notifyErrorListeners(fe)}},{key:"reportContextSensitivity",value:function(o,u,S,k,C,M){var fe="reportContextSensitivity d="+this.getDecisionDescription(o,u)+", input='"+o.getTokenStream().getText(new _e(S,k))+"'";o.notifyErrorListeners(fe)}},{key:"getDecisionDescription",value:function(o,u){var S=u.decision,k=u.atnStartState.ruleIndex,C=o.ruleNames;if(k<0||k>=C.length)return""+S;var M=C[k]||null;return M===null||M.length===0?""+S:"".concat(S," (").concat(M,")")}},{key:"getConflictingAlts",value:function(o,u){if(o!==null)return o;for(var S=new zr,k=0;k<u.items.length;k++)S.add(u.items[k].alt);return"{".concat(S.values().join(", "),"}")}}],m&&Bb(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(Ls);function F0(h){return F0=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},F0(h)}function fm(h){if(h===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h}function N0(h){var i=typeof Map=="function"?new Map:void 0;return N0=function(m){if(m===null||(s=m,Function.toString.call(s).indexOf("[native code]")===-1))return m;var s;if(typeof m!="function")throw new TypeError("Super expression must either be null or a function");if(i!==void 0){if(i.has(m))return i.get(m);i.set(m,_)}function _(){return I0(m,arguments,ru(this).constructor)}return _.prototype=Object.create(m.prototype,{constructor:{value:_,enumerable:!1,writable:!0,configurable:!0}}),nu(_,m)},N0(h)}function I0(h,i,m){return I0=hm()?Reflect.construct.bind():function(s,_,l){var y=[null];y.push.apply(y,_);var o=new(Function.bind.apply(s,y));return l&&nu(o,l.prototype),o},I0.apply(null,arguments)}function hm(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function nu(h,i){return nu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},nu(h,i)}function ru(h){return ru=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},ru(h)}var Lb=function(h){(function(y,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(o&&o.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),o&&nu(y,o)})(l,h);var i,m,s,_=(m=l,s=hm(),function(){var y,o=ru(m);if(s){var u=ru(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return function(S,k){if(k&&(F0(k)==="object"||typeof k=="function"))return k;if(k!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return fm(S)}(this,y)});function l(){var y;return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,l),y=_.call(this),Error.captureStackTrace(fm(y),l),y}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(N0(Error));function iu(h){return iu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},iu(h)}function Mb(h,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(h,(_=function(l,y){if(iu(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(iu(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),iu(_)==="symbol"?_:String(_)),s)}var _}function Za(h){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(h)}function Ub(h,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(h,(_=function(l,y){if(Za(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Za(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Za(_)==="symbol"?_:String(_)),s)}var _}function P0(h,i){return P0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},P0(h,i)}function Yc(h){return Yc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Yc(h)}var B0=function(h){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&P0(o,u)})(y,h);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Yc(s);if(_){var S=Yc(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(k,C){if(C&&(Za(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(k)}(this,o)});function y(){var o;return function(u,S){if(!(u instanceof S))throw new TypeError("Cannot call a class as a function")}(this,y),(o=l.call(this)).errorRecoveryMode=!1,o.lastErrorIndex=-1,o.lastErrorStates=null,o.nextTokensContext=null,o.nextTokenState=0,o}return i=y,m=[{key:"reset",value:function(o){this.endErrorCondition(o)}},{key:"beginErrorCondition",value:function(o){this.errorRecoveryMode=!0}},{key:"inErrorRecoveryMode",value:function(o){return this.errorRecoveryMode}},{key:"endErrorCondition",value:function(o){this.errorRecoveryMode=!1,this.lastErrorStates=null,this.lastErrorIndex=-1}},{key:"reportMatch",value:function(o){this.endErrorCondition(o)}},{key:"reportError",value:function(o,u){this.inErrorRecoveryMode(o)||(this.beginErrorCondition(o),u instanceof Hc?this.reportNoViableAlternative(o,u):u instanceof tu?this.reportInputMismatch(o,u):u instanceof w0?this.reportFailedPredicate(o,u):(console.log("unknown recognition error type: "+u.constructor.name),console.log(u.stack),o.notifyErrorListeners(u.getOffendingToken(),u.getMessage(),u)))}},{key:"recover",value:function(o,u){this.lastErrorIndex===o.getInputStream().index&&this.lastErrorStates!==null&&this.lastErrorStates.indexOf(o.state)>=0&&o.consume(),this.lastErrorIndex=o._input.index,this.lastErrorStates===null&&(this.lastErrorStates=[]),this.lastErrorStates.push(o.state);var S=this.getErrorRecoverySet(o);this.consumeUntil(o,S)}},{key:"sync",value:function(o){if(!this.inErrorRecoveryMode(o)){var u=o._interp.atn.states[o.state],S=o.getTokenStream().LA(1),k=o.atn.nextTokens(u);if(k.contains(S))return this.nextTokensContext=null,void(this.nextTokenState=me.INVALID_STATE_NUMBER);if(k.contains(n.EPSILON))this.nextTokensContext===null&&(this.nextTokensContext=o._ctx,this.nextTokensState=o._stateNumber);else switch(u.stateType){case me.BLOCK_START:case me.STAR_BLOCK_START:case me.PLUS_BLOCK_START:case me.STAR_LOOP_ENTRY:if(this.singleTokenDeletion(o)!==null)return;throw new tu(o);case me.PLUS_LOOP_BACK:case me.STAR_LOOP_BACK:this.reportUnwantedToken(o);var C=new J;C.addSet(o.getExpectedTokens());var M=C.addSet(this.getErrorRecoverySet(o));this.consumeUntil(o,M)}}}},{key:"reportNoViableAlternative",value:function(o,u){var S,k=o.getTokenStream();S=k!==null?u.startToken.type===n.EOF?"<EOF>":k.getText(new _e(u.startToken.tokenIndex,u.offendingToken.tokenIndex)):"<unknown input>";var C="no viable alternative at input "+this.escapeWSAndQuote(S);o.notifyErrorListeners(C,u.offendingToken,u)}},{key:"reportInputMismatch",value:function(o,u){var S="mismatched input "+this.getTokenErrorDisplay(u.offendingToken)+" expecting "+u.getExpectedTokens().toString(o.literalNames,o.symbolicNames);o.notifyErrorListeners(S,u.offendingToken,u)}},{key:"reportFailedPredicate",value:function(o,u){var S="rule "+o.ruleNames[o._ctx.ruleIndex]+" "+u.message;o.notifyErrorListeners(S,u.offendingToken,u)}},{key:"reportUnwantedToken",value:function(o){if(!this.inErrorRecoveryMode(o)){this.beginErrorCondition(o);var u=o.getCurrentToken(),S="extraneous input "+this.getTokenErrorDisplay(u)+" expecting "+this.getExpectedTokens(o).toString(o.literalNames,o.symbolicNames);o.notifyErrorListeners(S,u,null)}}},{key:"reportMissingToken",value:function(o){if(!this.inErrorRecoveryMode(o)){this.beginErrorCondition(o);var u=o.getCurrentToken(),S="missing "+this.getExpectedTokens(o).toString(o.literalNames,o.symbolicNames)+" at "+this.getTokenErrorDisplay(u);o.notifyErrorListeners(S,u,null)}}},{key:"recoverInline",value:function(o){var u=this.singleTokenDeletion(o);if(u!==null)return o.consume(),u;if(this.singleTokenInsertion(o))return this.getMissingSymbol(o);throw new tu(o)}},{key:"singleTokenInsertion",value:function(o){var u=o.getTokenStream().LA(1),S=o._interp.atn,k=S.states[o.state].transitions[0].target;return!!S.nextTokens(k,o._ctx).contains(u)&&(this.reportMissingToken(o),!0)}},{key:"singleTokenDeletion",value:function(o){var u=o.getTokenStream().LA(2);if(this.getExpectedTokens(o).contains(u)){this.reportUnwantedToken(o),o.consume();var S=o.getCurrentToken();return this.reportMatch(o),S}return null}},{key:"getMissingSymbol",value:function(o){var u,S=o.getCurrentToken(),k=this.getExpectedTokens(o).first();u=k===n.EOF?"<missing EOF>":"<missing "+o.literalNames[k]+">";var C=S,M=o.getTokenStream().LT(-1);return C.type===n.EOF&&M!==null&&(C=M),o.getTokenFactory().create(C.source,k,u,n.DEFAULT_CHANNEL,-1,-1,C.line,C.column)}},{key:"getExpectedTokens",value:function(o){return o.getExpectedTokens()}},{key:"getTokenErrorDisplay",value:function(o){if(o===null)return"<no token>";var u=o.text;return u===null&&(u=o.type===n.EOF?"<EOF>":"<"+o.type+">"),this.escapeWSAndQuote(u)}},{key:"escapeWSAndQuote",value:function(o){return"'"+(o=(o=(o=o.replace(/\n/g,"\\n")).replace(/\r/g,"\\r")).replace(/\t/g,"\\t"))+"'"}},{key:"getErrorRecoverySet",value:function(o){for(var u=o._interp.atn,S=o._ctx,k=new J;S!==null&&S.invokingState>=0;){var C=u.states[S.invokingState].transitions[0],M=u.nextTokens(C.followState);k.addSet(M),S=S.parentCtx}return k.removeOne(n.EPSILON),k}},{key:"consumeUntil",value:function(o,u){for(var S=o.getTokenStream().LA(1);S!==n.EOF&&!u.contains(S);)o.consume(),S=o.getTokenStream().LA(1)}}],m&&Ub(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(function(){function h(){(function(s,_){if(!(s instanceof _))throw new TypeError("Cannot call a class as a function")})(this,h)}var i,m;return i=h,(m=[{key:"reset",value:function(s){}},{key:"recoverInline",value:function(s){}},{key:"recover",value:function(s,_){}},{key:"sync",value:function(s){}},{key:"inErrorRecoveryMode",value:function(s){}},{key:"reportError",value:function(s){}}])&&Mb(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),h}());function Qa(h){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(h)}function Vb(h,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(h,(_=function(l,y){if(Qa(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Qa(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Qa(_)==="symbol"?_:String(_)),s)}var _}function L0(h,i){return L0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},L0(h,i)}function Zc(h){return Zc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Zc(h)}var pm=function(h){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&L0(o,u)})(y,h);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Zc(s);if(_){var S=Zc(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(k,C){if(C&&(Qa(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(k)}(this,o)});function y(){return function(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}(this,y),l.call(this)}return i=y,m=[{key:"recover",value:function(o,u){for(var S=o._ctx;S!==null;)S.exception=u,S=S.parentCtx;throw new Lb(u)}},{key:"recoverInline",value:function(o){this.recover(o,new tu(o))}},{key:"sync",value:function(o){}}],m&&Vb(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(B0);const jb={RecognitionException:zo,NoViableAltException:Hc,LexerNoViableAltException:f0,InputMismatchException:tu,FailedPredicateException:w0,DiagnosticErrorListener:lm,BailErrorStrategy:pm,DefaultErrorStrategy:B0,ErrorListener:Ls};function ou(h){return ou=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},ou(h)}function $b(h,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(h,(_=function(l,y){if(ou(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(ou(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),ou(_)==="symbol"?_:String(_)),s)}var _}var au=function(){function h(s,_){if(function(u,S){if(!(u instanceof S))throw new TypeError("Cannot call a class as a function")}(this,h),this.name="<empty>",this.strdata=s,this.decodeToUnicodeCodePoints=_||!1,this._index=0,this.data=[],this.decodeToUnicodeCodePoints)for(var l=0;l<this.strdata.length;){var y=this.strdata.codePointAt(l);this.data.push(y),l+=y<=65535?1:2}else{this.data=new Array(this.strdata.length);for(var o=0;o<this.strdata.length;o++)this.data[o]=this.strdata.charCodeAt(o)}this._size=this.data.length}var i,m;return i=h,(m=[{key:"reset",value:function(){this._index=0}},{key:"consume",value:function(){if(this._index>=this._size)throw"cannot consume EOF";this._index+=1}},{key:"LA",value:function(s){if(s===0)return 0;s<0&&(s+=1);var _=this._index+s-1;return _<0||_>=this._size?n.EOF:this.data[_]}},{key:"LT",value:function(s){return this.LA(s)}},{key:"mark",value:function(){return-1}},{key:"release",value:function(s){}},{key:"seek",value:function(s){s<=this._index?this._index=s:this._index=Math.min(s,this._size)}},{key:"getText",value:function(s,_){if(_>=this._size&&(_=this._size-1),s>=this._size)return"";if(this.decodeToUnicodeCodePoints){for(var l="",y=s;y<=_;y++)l+=String.fromCodePoint(this.data[y]);return l}return this.strdata.slice(s,_+1)}},{key:"toString",value:function(){return this.strdata}},{key:"index",get:function(){return this._index}},{key:"size",get:function(){return this._size}}])&&$b(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),h}();function M0(h){return M0=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},M0(h)}function U0(h,i){return U0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},U0(h,i)}function Qc(h){return Qc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Qc(h)}var su=function(h){(function(y,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(o&&o.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),Object.defineProperty(y,"prototype",{writable:!1}),o&&U0(y,o)})(l,h);var i,m,s,_=(m=l,s=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var y,o=Qc(m);if(s){var u=Qc(this).constructor;y=Reflect.construct(o,arguments,u)}else y=o.apply(this,arguments);return function(S,k){if(k&&(M0(k)==="object"||typeof k=="function"))return k;if(k!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(C){if(C===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C}(S)}(this,y)});function l(y,o){return function(u,S){if(!(u instanceof S))throw new TypeError("Cannot call a class as a function")}(this,l),_.call(this,y,o)}return i=l,Object.defineProperty(i,"prototype",{writable:!1}),i}(au),dm=Fr(92);function Ja(h){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(h)}function Hb(h,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(h,(_=function(l,y){if(Ja(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(Ja(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),Ja(_)==="symbol"?_:String(_)),s)}var _}function V0(h,i){return V0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},V0(h,i)}function Jc(h){return Jc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Jc(h)}var _m=typeof process<"u"&&process.versions!=null&&process.versions.node!=null,mm=function(h){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&V0(o,u)})(y,h);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=Jc(s);if(_){var S=Jc(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(k,C){if(C&&(Ja(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(k)}(this,o)});function y(o,u,S){var k;if(function(M,fe){if(!(M instanceof fe))throw new TypeError("Cannot call a class as a function")}(this,y),!_m)throw new Error("FileStream is only available when running in Node!");var C=dm.readFileSync(o,u||"utf-8");return(k=l.call(this,C,S)).fileName=o,k}return i=y,m=[{key:"fromPath",value:function(o,u,S){if(!_m)throw new Error("FileStream is only available when running in Node!");dm.readFile(o,u,function(k,C){var M=null;C!==null&&(M=new au(C,!0)),S(k,M)})}}],m&&Hb(i,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(su);const ym={fromString:function(h){return new au(h,!0)},fromBlob:function(h,i,m,s){var _=new window.FileReader;_.onload=function(l){var y=new au(l.target.result,!0);m(y)},_.onerror=s,_.readAsText(h,i)},fromBuffer:function(h,i){return new au(h.toString(i),!0)},fromPath:function(h,i,m){mm.fromPath(h,i,m)},fromPathSync:function(h,i){return new mm(h,i)}},Gb={arrayToString:F,stringToCharArray:function(h){for(var i=new Uint16Array(h.length),m=0;m<h.length;m++)i[m]=h.charCodeAt(m);return i}};function uu(h){return uu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},uu(h)}function gm(h,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(h,(_=function(l,y){if(uu(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(uu(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),uu(_)==="symbol"?_:String(_)),s)}var _}function Kb(h,i,m){return i&&gm(h.prototype,i),m&&gm(h,m),Object.defineProperty(h,"prototype",{writable:!1}),h}function es(h){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(h)}function zb(h,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(h,(_=function(l,y){if(es(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(es(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),es(_)==="symbol"?_:String(_)),s)}var _}function j0(h,i){return j0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},j0(h,i)}function el(h){return el=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},el(h)}var vm=function(h){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&j0(o,u)})(y,h);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=el(s);if(_){var S=el(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(k,C){if(C&&(es(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(k)}(this,o)});function y(o){var u;return function(S,k){if(!(S instanceof k))throw new TypeError("Cannot call a class as a function")}(this,y),(u=l.call(this)).tokenSource=o,u.tokens=[],u.index=-1,u.fetchedEOF=!1,u}return i=y,(m=[{key:"mark",value:function(){return 0}},{key:"release",value:function(o){}},{key:"reset",value:function(){this.seek(0)}},{key:"seek",value:function(o){this.lazyInit(),this.index=this.adjustSeekIndex(o)}},{key:"size",get:function(){return this.tokens.length}},{key:"get",value:function(o){return this.lazyInit(),this.tokens[o]}},{key:"consume",value:function(){if(!(this.index>=0&&(this.fetchedEOF?this.index<this.tokens.length-1:this.index<this.tokens.length))&&this.LA(1)===n.EOF)throw"cannot consume EOF";this.sync(this.index+1)&&(this.index=this.adjustSeekIndex(this.index+1))}},{key:"sync",value:function(o){var u=o-this.tokens.length+1;return!(u>0)||this.fetch(u)>=u}},{key:"fetch",value:function(o){if(this.fetchedEOF)return 0;for(var u=0;u<o;u++){var S=this.tokenSource.nextToken();if(S.tokenIndex=this.tokens.length,this.tokens.push(S),S.type===n.EOF)return this.fetchedEOF=!0,u+1}return o}},{key:"getTokens",value:function(o,u,S){if(S===void 0&&(S=null),o<0||u<0)return null;this.lazyInit();var k=[];u>=this.tokens.length&&(u=this.tokens.length-1);for(var C=o;C<u;C++){var M=this.tokens[C];if(M.type===n.EOF)break;(S===null||S.contains(M.type))&&k.push(M)}return k}},{key:"LA",value:function(o){return this.LT(o).type}},{key:"LB",value:function(o){return this.index-o<0?null:this.tokens[this.index-o]}},{key:"LT",value:function(o){if(this.lazyInit(),o===0)return null;if(o<0)return this.LB(-o);var u=this.index+o-1;return this.sync(u),u>=this.tokens.length?this.tokens[this.tokens.length-1]:this.tokens[u]}},{key:"adjustSeekIndex",value:function(o){return o}},{key:"lazyInit",value:function(){this.index===-1&&this.setup()}},{key:"setup",value:function(){this.sync(0),this.index=this.adjustSeekIndex(0)}},{key:"setTokenSource",value:function(o){this.tokenSource=o,this.tokens=[],this.index=-1,this.fetchedEOF=!1}},{key:"nextTokenOnChannel",value:function(o,u){if(this.sync(o),o>=this.tokens.length)return-1;for(var S=this.tokens[o];S.channel!==this.channel;){if(S.type===n.EOF)return-1;o+=1,this.sync(o),S=this.tokens[o]}return o}},{key:"previousTokenOnChannel",value:function(o,u){for(;o>=0&&this.tokens[o].channel!==u;)o-=1;return o}},{key:"getHiddenTokensToRight",value:function(o,u){if(u===void 0&&(u=-1),this.lazyInit(),o<0||o>=this.tokens.length)throw o+" not in 0.."+this.tokens.length-1;var S=this.nextTokenOnChannel(o+1,hr.DEFAULT_TOKEN_CHANNEL),k=o+1,C=S===-1?this.tokens.length-1:S;return this.filterForChannel(k,C,u)}},{key:"getHiddenTokensToLeft",value:function(o,u){if(u===void 0&&(u=-1),this.lazyInit(),o<0||o>=this.tokens.length)throw o+" not in 0.."+this.tokens.length-1;var S=this.previousTokenOnChannel(o-1,hr.DEFAULT_TOKEN_CHANNEL);if(S===o-1)return null;var k=S+1,C=o-1;return this.filterForChannel(k,C,u)}},{key:"filterForChannel",value:function(o,u,S){for(var k=[],C=o;C<u+1;C++){var M=this.tokens[C];S===-1?M.channel!==hr.DEFAULT_TOKEN_CHANNEL&&k.push(M):M.channel===S&&k.push(M)}return k.length===0?null:k}},{key:"getSourceName",value:function(){return this.tokenSource.getSourceName()}},{key:"getText",value:function(o){this.lazyInit(),this.fill(),o||(o=new _e(0,this.tokens.length-1));var u=o.start;u instanceof n&&(u=u.tokenIndex);var S=o.stop;if(S instanceof n&&(S=S.tokenIndex),u===null||S===null||u<0||S<0)return"";S>=this.tokens.length&&(S=this.tokens.length-1);for(var k="",C=u;C<S+1;C++){var M=this.tokens[C];if(M.type===n.EOF)break;k+=M.text}return k}},{key:"fill",value:function(){for(this.lazyInit();this.fetch(1e3)===1e3;);}}])&&zb(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(Kb(function h(){(function(i,m){if(!(i instanceof m))throw new TypeError("Cannot call a class as a function")})(this,h)}));function ts(h){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(h)}function Wb(h,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(h,(_=function(l,y){if(ts(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(ts(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),ts(_)==="symbol"?_:String(_)),s)}var _}function $0(h,i){return $0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},$0(h,i)}function tl(h){return tl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},tl(h)}Object.defineProperty(vm,"size",{get:function(){return this.tokens.length}});var bm=function(h){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&$0(o,u)})(y,h);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=tl(s);if(_){var S=tl(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(k,C){if(C&&(ts(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(k)}(this,o)});function y(o,u){var S;return function(k,C){if(!(k instanceof C))throw new TypeError("Cannot call a class as a function")}(this,y),(S=l.call(this,o)).channel=u===void 0?n.DEFAULT_CHANNEL:u,S}return i=y,(m=[{key:"adjustSeekIndex",value:function(o){return this.nextTokenOnChannel(o,this.channel)}},{key:"LB",value:function(o){if(o===0||this.index-o<0)return null;for(var u=this.index,S=1;S<=o;)u=this.previousTokenOnChannel(u-1,this.channel),S+=1;return u<0?null:this.tokens[u]}},{key:"LT",value:function(o){if(this.lazyInit(),o===0)return null;if(o<0)return this.LB(-o);for(var u=this.index,S=1;S<o;)this.sync(u+1)&&(u=this.nextTokenOnChannel(u+1,this.channel)),S+=1;return this.tokens[u]}},{key:"getNumberOfOnChannelTokens",value:function(){var o=0;this.fill();for(var u=0;u<this.tokens.length;u++){var S=this.tokens[u];if(S.channel===this.channel&&(o+=1),S.type===n.EOF)break}return o}}])&&Wb(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(vm);function ns(h){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(h)}function qb(h,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(h,(_=function(l,y){if(ns(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(ns(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),ns(_)==="symbol"?_:String(_)),s)}var _}function H0(h,i){return H0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},H0(h,i)}function nl(h){return nl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},nl(h)}var Xb=function(h){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&H0(o,u)})(y,h);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=nl(s);if(_){var S=nl(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(k,C){if(C&&(ns(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(k)}(this,o)});function y(o){var u;return function(S,k){if(!(S instanceof k))throw new TypeError("Cannot call a class as a function")}(this,y),(u=l.call(this)).parser=o,u}return i=y,(m=[{key:"enterEveryRule",value:function(o){console.log("enter "+this.parser.ruleNames[o.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}},{key:"visitTerminal",value:function(o){console.log("consume "+o.symbol+" rule "+this.parser.ruleNames[this.parser._ctx.ruleIndex])}},{key:"exitEveryRule",value:function(o){console.log("exit "+this.parser.ruleNames[o.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}}])&&qb(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(A0);function rs(h){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(h)}function Yb(h,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(h,(_=function(l,y){if(rs(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(rs(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),rs(_)==="symbol"?_:String(_)),s)}var _}function G0(h,i){return G0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},G0(h,i)}function rl(h){return rl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},rl(h)}var K0=function(h){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&G0(o,u)})(y,h);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=rl(s);if(_){var S=rl(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(k,C){if(C&&(rs(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(k)}(this,o)});function y(o){var u;return function(S,k){if(!(S instanceof k))throw new TypeError("Cannot call a class as a function")}(this,y),(u=l.call(this))._input=null,u._errHandler=new B0,u._precedenceStack=[],u._precedenceStack.push(0),u._ctx=null,u.buildParseTrees=!0,u._tracer=null,u._parseListeners=null,u._syntaxErrors=0,u.setInputStream(o),u}return i=y,m=[{key:"reset",value:function(){this._input!==null&&this._input.seek(0),this._errHandler.reset(this),this._ctx=null,this._syntaxErrors=0,this.setTrace(!1),this._precedenceStack=[],this._precedenceStack.push(0),this._interp!==null&&this._interp.reset()}},{key:"match",value:function(o){var u=this.getCurrentToken();return u.type===o?(this._errHandler.reportMatch(this),this.consume()):(u=this._errHandler.recoverInline(this),this.buildParseTrees&&u.tokenIndex===-1&&this._ctx.addErrorNode(u)),u}},{key:"matchWildcard",value:function(){var o=this.getCurrentToken();return o.type>0?(this._errHandler.reportMatch(this),this.consume()):(o=this._errHandler.recoverInline(this),this.buildParseTrees&&o.tokenIndex===-1&&this._ctx.addErrorNode(o)),o}},{key:"getParseListeners",value:function(){return this._parseListeners||[]}},{key:"addParseListener",value:function(o){if(o===null)throw"listener";this._parseListeners===null&&(this._parseListeners=[]),this._parseListeners.push(o)}},{key:"removeParseListener",value:function(o){if(this._parseListeners!==null){var u=this._parseListeners.indexOf(o);u>=0&&this._parseListeners.splice(u,1),this._parseListeners.length===0&&(this._parseListeners=null)}}},{key:"removeParseListeners",value:function(){this._parseListeners=null}},{key:"triggerEnterRuleEvent",value:function(){if(this._parseListeners!==null){var o=this._ctx;this._parseListeners.forEach(function(u){u.enterEveryRule(o),o.enterRule(u)})}}},{key:"triggerExitRuleEvent",value:function(){if(this._parseListeners!==null){var o=this._ctx;this._parseListeners.slice(0).reverse().forEach(function(u){o.exitRule(u),u.exitEveryRule(o)})}}},{key:"getTokenFactory",value:function(){return this._input.tokenSource._factory}},{key:"setTokenFactory",value:function(o){this._input.tokenSource._factory=o}},{key:"getATNWithBypassAlts",value:function(){var o=this.getSerializedATN();if(o===null)throw"The current parser does not support an ATN with bypass alternatives.";var u=this.bypassAltsAtnCache[o];if(u===null){var S=new Ns;S.generateRuleBypassTransitions=!0,u=new t0(S).deserialize(o),this.bypassAltsAtnCache[o]=u}return u}},{key:"getInputStream",value:function(){return this.getTokenStream()}},{key:"setInputStream",value:function(o){this.setTokenStream(o)}},{key:"getTokenStream",value:function(){return this._input}},{key:"setTokenStream",value:function(o){this._input=null,this.reset(),this._input=o}},{key:"syntaxErrorsCount",get:function(){return this._syntaxErrors}},{key:"getCurrentToken",value:function(){return this._input.LT(1)}},{key:"notifyErrorListeners",value:function(o,u,S){S=S||null,(u=u||null)===null&&(u=this.getCurrentToken()),this._syntaxErrors+=1;var k=u.line,C=u.column;this.getErrorListenerDispatch().syntaxError(this,u,k,C,o,S)}},{key:"consume",value:function(){var o=this.getCurrentToken();o.type!==n.EOF&&this.getInputStream().consume();var u,S=this._parseListeners!==null&&this._parseListeners.length>0;return(this.buildParseTrees||S)&&((u=this._errHandler.inErrorRecoveryMode(this)?this._ctx.addErrorNode(o):this._ctx.addTokenNode(o)).invokingState=this.state,S&&this._parseListeners.forEach(function(k){u instanceof ti||u.isErrorNode!==void 0&&u.isErrorNode()?k.visitErrorNode(u):u instanceof hn&&k.visitTerminal(u)})),o}},{key:"addContextToParseTree",value:function(){this._ctx.parentCtx!==null&&this._ctx.parentCtx.addChild(this._ctx)}},{key:"enterRule",value:function(o,u,S){this.state=u,this._ctx=o,this._ctx.start=this._input.LT(1),this.buildParseTrees&&this.addContextToParseTree(),this.triggerEnterRuleEvent()}},{key:"exitRule",value:function(){this._ctx.stop=this._input.LT(-1),this.triggerExitRuleEvent(),this.state=this._ctx.invokingState,this._ctx=this._ctx.parentCtx}},{key:"enterOuterAlt",value:function(o,u){o.setAltNumber(u),this.buildParseTrees&&this._ctx!==o&&this._ctx.parentCtx!==null&&(this._ctx.parentCtx.removeLastChild(),this._ctx.parentCtx.addChild(o)),this._ctx=o}},{key:"getPrecedence",value:function(){return this._precedenceStack.length===0?-1:this._precedenceStack[this._precedenceStack.length-1]}},{key:"enterRecursionRule",value:function(o,u,S,k){this.state=u,this._precedenceStack.push(k),this._ctx=o,this._ctx.start=this._input.LT(1),this.triggerEnterRuleEvent()}},{key:"pushNewRecursionContext",value:function(o,u,S){var k=this._ctx;k.parentCtx=o,k.invokingState=u,k.stop=this._input.LT(-1),this._ctx=o,this._ctx.start=k.start,this.buildParseTrees&&this._ctx.addChild(k),this.triggerEnterRuleEvent()}},{key:"unrollRecursionContexts",value:function(o){this._precedenceStack.pop(),this._ctx.stop=this._input.LT(-1);var u=this._ctx,S=this.getParseListeners();if(S!==null&&S.length>0)for(;this._ctx!==o;)this.triggerExitRuleEvent(),this._ctx=this._ctx.parentCtx;else this._ctx=o;u.parentCtx=o,this.buildParseTrees&&o!==null&&o.addChild(u)}},{key:"getInvokingContext",value:function(o){for(var u=this._ctx;u!==null;){if(u.ruleIndex===o)return u;u=u.parentCtx}return null}},{key:"precpred",value:function(o,u){return u>=this._precedenceStack[this._precedenceStack.length-1]}},{key:"inContext",value:function(o){return!1}},{key:"isExpectedToken",value:function(o){var u=this._interp.atn,S=this._ctx,k=u.states[this.state],C=u.nextTokens(k);if(C.contains(o))return!0;if(!C.contains(n.EPSILON))return!1;for(;S!==null&&S.invokingState>=0&&C.contains(n.EPSILON);){var M=u.states[S.invokingState].transitions[0];if((C=u.nextTokens(M.followState)).contains(o))return!0;S=S.parentCtx}return!(!C.contains(n.EPSILON)||o!==n.EOF)}},{key:"getExpectedTokens",value:function(){return this._interp.atn.getExpectedTokens(this.state,this._ctx)}},{key:"getExpectedTokensWithinCurrentRule",value:function(){var o=this._interp.atn,u=o.states[this.state];return o.nextTokens(u)}},{key:"getRuleIndex",value:function(o){var u=this.getRuleIndexMap()[o];return u!==null?u:-1}},{key:"getRuleInvocationStack",value:function(o){(o=o||null)===null&&(o=this._ctx);for(var u=[];o!==null;){var S=o.ruleIndex;S<0?u.push("n/a"):u.push(this.ruleNames[S]),o=o.parentCtx}return u}},{key:"getDFAStrings",value:function(){return this._interp.decisionToDFA.toString()}},{key:"dumpDFA",value:function(){for(var o=!1,u=0;u<this._interp.decisionToDFA.length;u++){var S=this._interp.decisionToDFA[u];S.states.length>0&&(o&&console.log(),this.printer.println("Decision "+S.decision+":"),this.printer.print(S.toString(this.literalNames,this.symbolicNames)),o=!0)}}},{key:"getSourceName",value:function(){return this._input.sourceName}},{key:"setTrace",value:function(o){o?(this._tracer!==null&&this.removeParseListener(this._tracer),this._tracer=new Xb(this),this.addParseListener(this._tracer)):(this.removeParseListener(this._tracer),this._tracer=null)}}],m&&Yb(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(Ic);function is(h){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(h)}function Zb(h,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(h,(_=function(l,y){if(is(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(is(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),is(_)==="symbol"?_:String(_)),s)}var _}function z0(h,i){return z0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},z0(h,i)}function il(h){return il=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},il(h)}K0.bypassAltsAtnCache={};var Em=function(h){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&z0(o,u)})(y,h);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=il(s);if(_){var S=il(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(k,C){if(C&&(is(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(k)}(this,o)});function y(o){var u;return function(S,k){if(!(S instanceof k))throw new TypeError("Cannot call a class as a function")}(this,y),(u=l.call(this)).parentCtx=null,u.symbol=o,u}return i=y,(m=[{key:"getChild",value:function(o){return null}},{key:"getSymbol",value:function(){return this.symbol}},{key:"getParent",value:function(){return this.parentCtx}},{key:"getPayload",value:function(){return this.symbol}},{key:"getSourceInterval",value:function(){if(this.symbol===null)return _e.INVALID_INTERVAL;var o=this.symbol.tokenIndex;return new _e(o,o)}},{key:"getChildCount",value:function(){return 0}},{key:"accept",value:function(o){return o.visitTerminal(this)}},{key:"getText",value:function(){return this.symbol.text}},{key:"toString",value:function(){return this.symbol.type===n.EOF?"<EOF>":this.symbol.text}}])&&Zb(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(hn);function os(h){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(h)}function Qb(h,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(h,(_=function(l,y){if(os(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(os(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),os(_)==="symbol"?_:String(_)),s)}var _}function W0(h,i){return W0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},W0(h,i)}function ol(h){return ol=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},ol(h)}var xm=function(h){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&W0(o,u)})(y,h);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=ol(s);if(_){var S=ol(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(k,C){if(C&&(os(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(k)}(this,o)});function y(o){return function(u,S){if(!(u instanceof S))throw new TypeError("Cannot call a class as a function")}(this,y),l.call(this,o)}return i=y,(m=[{key:"isErrorNode",value:function(){return!0}},{key:"accept",value:function(o){return o.visitErrorNode(this)}}])&&Qb(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(Em);function as(h){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(h)}function Jb(h,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(h,(_=function(l,y){if(as(l)!=="object"||l===null)return l;var o=l[Symbol.toPrimitive];if(o!==void 0){var u=o.call(l,"string");if(as(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(l)}(s.key),as(_)==="symbol"?_:String(_)),s)}var _}function q0(h,i){return q0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},q0(h,i)}function al(h){return al=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},al(h)}var X0=function(h){(function(o,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(u&&u.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),u&&q0(o,u)})(y,h);var i,m,s,_,l=(s=y,_=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var o,u=al(s);if(_){var S=al(this).constructor;o=Reflect.construct(u,arguments,S)}else o=u.apply(this,arguments);return function(k,C){if(C&&(as(C)==="object"||typeof C=="function"))return C;if(C!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(k)}(this,o)});function y(o,u){var S;return function(k,C){if(!(k instanceof C))throw new TypeError("Cannot call a class as a function")}(this,y),(S=l.call(this,o,u)).children=null,S.start=null,S.stop=null,S.exception=null,S}return i=y,(m=[{key:"copyFrom",value:function(o){this.parentCtx=o.parentCtx,this.invokingState=o.invokingState,this.children=null,this.start=o.start,this.stop=o.stop,o.children&&(this.children=[],o.children.map(function(u){u instanceof xm&&(this.children.push(u),u.parentCtx=this)},this))}},{key:"enterRule",value:function(o){}},{key:"exitRule",value:function(o){}},{key:"addChild",value:function(o){return this.children===null&&(this.children=[]),this.children.push(o),o}},{key:"removeLastChild",value:function(){this.children!==null&&this.children.pop()}},{key:"addTokenNode",value:function(o){var u=new Em(o);return this.addChild(u),u.parentCtx=this,u}},{key:"addErrorNode",value:function(o){var u=new xm(o);return this.addChild(u),u.parentCtx=this,u}},{key:"getChild",value:function(o,u){if(u=u||null,this.children===null||o<0||o>=this.children.length)return null;if(u===null)return this.children[o];for(var S=0;S<this.children.length;S++){var k=this.children[S];if(k instanceof u){if(o===0)return k;o-=1}}return null}},{key:"getToken",value:function(o,u){if(this.children===null||u<0||u>=this.children.length)return null;for(var S=0;S<this.children.length;S++){var k=this.children[S];if(k instanceof hn&&k.symbol.type===o){if(u===0)return k;u-=1}}return null}},{key:"getTokens",value:function(o){if(this.children===null)return[];for(var u=[],S=0;S<this.children.length;S++){var k=this.children[S];k instanceof hn&&k.symbol.type===o&&u.push(k)}return u}},{key:"getTypedRuleContext",value:function(o,u){return this.getChild(u,o)}},{key:"getTypedRuleContexts",value:function(o){if(this.children===null)return[];for(var u=[],S=0;S<this.children.length;S++){var k=this.children[S];k instanceof o&&u.push(k)}return u}},{key:"getChildCount",value:function(){return this.children===null?0:this.children.length}},{key:"getSourceInterval",value:function(){return this.start===null||this.stop===null?_e.INVALID_INTERVAL:new _e(this.start.tokenIndex,this.stop.tokenIndex)}}])&&Jb(i.prototype,m),Object.defineProperty(i,"prototype",{writable:!1}),y}(ro);function Y0(h,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");h.prototype=Object.create(i&&i.prototype,{constructor:{value:h,writable:!0,configurable:!0}}),Object.defineProperty(h,"prototype",{writable:!1}),i&&Z0(h,i)}function Z0(h,i){return Z0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,s){return m.__proto__=s,m},Z0(h,i)}function Q0(h){var i=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var m,s=sl(h);if(i){var _=sl(this).constructor;m=Reflect.construct(s,arguments,_)}else m=s.apply(this,arguments);return function(l,y){if(y&&(ss(y)==="object"||typeof y=="function"))return y;if(y!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(o){if(o===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}(l)}(this,m)}}function sl(h){return sl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},sl(h)}function ss(h){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(h)}function us(h,i){var m=typeof Symbol<"u"&&h[Symbol.iterator]||h["@@iterator"];if(!m){if(Array.isArray(h)||(m=function(u,S){if(u){if(typeof u=="string")return Sm(u,S);var k=Object.prototype.toString.call(u).slice(8,-1);return k==="Object"&&u.constructor&&(k=u.constructor.name),k==="Map"||k==="Set"?Array.from(u):k==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(k)?Sm(u,S):void 0}}(h))||i&&h&&typeof h.length=="number"){m&&(h=m);var s=0,_=function(){};return{s:_,n:function(){return s>=h.length?{done:!0}:{done:!1,value:h[s++]}},e:function(u){throw u},f:_}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
10
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var l,y=!0,o=!1;return{s:function(){m=m.call(h)},n:function(){var u=m.next();return y=u.done,u},e:function(u){o=!0,l=u},f:function(){try{y||m.return==null||m.return()}finally{if(o)throw l}}}}function Sm(h,i){(i==null||i>h.length)&&(i=h.length);for(var m=0,s=new Array(i);m<i;m++)s[m]=h[m];return s}function cu(h,i){if(!(h instanceof i))throw new TypeError("Cannot call a class as a function")}function Tm(h,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(h,Am(s.key),s)}}function lu(h,i,m){return i&&Tm(h.prototype,i),m&&Tm(h,m),Object.defineProperty(h,"prototype",{writable:!1}),h}function Am(h){var i=function(m,s){if(ss(m)!=="object"||m===null)return m;var _=m[Symbol.toPrimitive];if(_!==void 0){var l=_.call(m,"string");if(ss(l)!=="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(m)}(h);return ss(i)==="symbol"?i:String(i)}ro.EMPTY=new X0;var ul,cl,J0,Cm=function(){function h(i){cu(this,h),this.tokens=i,this.programs=new Map}return lu(h,[{key:"getTokenStream",value:function(){return this.tokens}},{key:"insertAfter",value:function(i,m){var s,_=arguments.length>2&&arguments[2]!==void 0?arguments[2]:h.DEFAULT_PROGRAM_NAME;s=typeof i=="number"?i:i.tokenIndex;var l=this.getProgram(_),y=new km(this.tokens,s,l.length,m);l.push(y)}},{key:"insertBefore",value:function(i,m){var s,_=arguments.length>2&&arguments[2]!==void 0?arguments[2]:h.DEFAULT_PROGRAM_NAME;s=typeof i=="number"?i:i.tokenIndex;var l=this.getProgram(_),y=new cs(this.tokens,s,l.length,m);l.push(y)}},{key:"replaceSingle",value:function(i,m){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:h.DEFAULT_PROGRAM_NAME;this.replace(i,i,m,s)}},{key:"replace",value:function(i,m,s){var _=arguments.length>3&&arguments[3]!==void 0?arguments[3]:h.DEFAULT_PROGRAM_NAME;if(typeof i!="number"&&(i=i.tokenIndex),typeof m!="number"&&(m=m.tokenIndex),i>m||i<0||m<0||m>=this.tokens.size)throw new RangeError("replace: range invalid: ".concat(i,"..").concat(m,"(size=").concat(this.tokens.size,")"));var l=this.getProgram(_),y=new ll(this.tokens,i,m,l.length,s);l.push(y)}},{key:"delete",value:function(i,m){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:h.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]:h.DEFAULT_PROGRAM_NAME;m=i instanceof _e?i:new _e(0,this.tokens.size-1),typeof i=="string"&&(s=i);var _=this.programs.get(s),l=m.start,y=m.stop;if(y>this.tokens.size-1&&(y=this.tokens.size-1),l<0&&(l=0),_==null||_.length===0)return this.tokens.getText(new _e(l,y));for(var o=[],u=this.reduceToSingleOperationPerIndex(_),S=l;S<=y&&S<this.tokens.size;){var k=u.get(S);u.delete(S);var C=this.tokens.get(S);k==null?(C.type!==n.EOF&&o.push(String(C.text)),S++):S=k.execute(o)}if(y===this.tokens.size-1){var M,fe=us(u.values());try{for(fe.s();!(M=fe.n()).done;){var Ne=M.value;Ne.index>=this.tokens.size-1&&o.push(Ne.text.toString())}}catch(Re){fe.e(Re)}finally{fe.f()}}return o.join("")}},{key:"reduceToSingleOperationPerIndex",value:function(i){for(var m=0;m<i.length;m++){var s=i[m];if(s!=null&&s instanceof ll){var _,l=s,y=us(this.getKindOfOps(i,cs,m));try{for(y.s();!(_=y.n()).done;){var o=_.value;o.index===l.index?(i[o.instructionIndex]=void 0,l.text=o.text.toString()+(l.text!=null?l.text.toString():"")):o.index>l.index&&o.index<=l.lastIndex&&(i[o.instructionIndex]=void 0)}}catch(Rr){y.e(Rr)}finally{y.f()}var u,S=us(this.getKindOfOps(i,ll,m));try{for(S.s();!(u=S.n()).done;){var k=u.value;if(k.index>=l.index&&k.lastIndex<=l.lastIndex)i[k.instructionIndex]=void 0;else{var C=k.lastIndex<l.index||k.index>l.lastIndex;if(k.text!=null||l.text!=null||C){if(!C)throw new Error("replace op boundaries of ".concat(l," overlap with previous ").concat(k))}else i[k.instructionIndex]=void 0,l.index=Math.min(k.index,l.index),l.lastIndex=Math.max(k.lastIndex,l.lastIndex)}}}catch(Rr){S.e(Rr)}finally{S.f()}}}for(var M=0;M<i.length;M++){var fe=i[M];if(fe!=null&&fe instanceof cs){var Ne,Re=fe,Ge=us(this.getKindOfOps(i,cs,M));try{for(Ge.s();!(Ne=Ge.n()).done;){var ct=Ne.value;ct.index===Re.index&&(ct instanceof km?(Re.text=this.catOpText(ct.text,Re.text),i[ct.instructionIndex]=void 0):ct instanceof cs&&(Re.text=this.catOpText(Re.text,ct.text),i[ct.instructionIndex]=void 0))}}catch(Rr){Ge.e(Rr)}finally{Ge.f()}var We,En=us(this.getKindOfOps(i,ll,M));try{for(En.s();!(We=En.n()).done;){var vn=We.value;if(Re.index!==vn.index){if(Re.index>=vn.index&&Re.index<=vn.lastIndex)throw new Error("insert op ".concat(Re," within boundaries of previous ").concat(vn))}else vn.text=this.catOpText(Re.text,vn.text),i[M]=void 0}}catch(Rr){En.e(Rr)}finally{En.f()}}}var qn,qr=new Map,Bi=us(i);try{for(Bi.s();!(qn=Bi.n()).done;){var Li=qn.value;if(Li!=null){if(qr.get(Li.index)!=null)throw new Error("should only be one op per index");qr.set(Li.index,Li)}}}catch(Rr){Bi.e(Rr)}finally{Bi.f()}return qr}},{key:"catOpText",value:function(i,m){var s="",_="";return i!=null&&(s=i.toString()),m!=null&&(_=m.toString()),s+_}},{key:"getKindOfOps",value:function(i,m,s){return i.slice(0,s).filter(function(_){return _&&_ instanceof m})}}]),h}();ul=Cm,J0="default",(cl=Am(cl="DEFAULT_PROGRAM_NAME"))in ul?Object.defineProperty(ul,cl,{value:J0,enumerable:!0,configurable:!0,writable:!0}):ul[cl]=J0;var Dm=function(){function h(i,m,s,_){cu(this,h),this.tokens=i,this.instructionIndex=s,this.index=m,this.text=_===void 0?"":_}return lu(h,[{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+'">'}}]),h}(),cs=function(h){Y0(m,h);var i=Q0(m);function m(s,_,l,y){return cu(this,m),i.call(this,s,_,l,y)}return lu(m,[{key:"execute",value:function(s){return this.text&&s.push(this.text.toString()),this.tokens.get(this.index).type!==n.EOF&&s.push(String(this.tokens.get(this.index).text)),this.index+1}}]),m}(Dm),km=function(h){Y0(m,h);var i=Q0(m);function m(s,_,l,y){return cu(this,m),i.call(this,s,_+1,l,y)}return lu(m)}(cs),ll=function(h){Y0(m,h);var i=Q0(m);function m(s,_,l,y,o){var u;return cu(this,m),(u=i.call(this,s,_,y,o)).lastIndex=l,u}return lu(m,[{key:"execute",value:function(s){return this.text&&s.push(this.text.toString()),this.lastIndex+1}},{key:"toString",value:function(){return this.text==null?"<DeleteOp@"+this.tokens.get(this.index)+".."+this.tokens.get(this.lastIndex)+">":"<ReplaceOp@"+this.tokens.get(this.index)+".."+this.tokens.get(this.lastIndex)+':"'+this.text+'">'}}]),m}(Dm);const e1={atn:Tb,dfa:kb,context:Ob,misc:wb,tree:Ib,error:jb,Token:n,CommonToken:Us,CharStreams:ym,CharStream:su,InputStream:su,CommonTokenStream:bm,Lexer:hr,Parser:K0,ParserRuleContext:X0,Interval:_e,IntervalSet:J,LL1Analyzer:Go,Utils:Gb,TokenStreamRewriter:Cm}})();var Nr=Mt.dx,ep=Mt.q2;Mt.FO,Mt.xf,Mt.Gy;var Om=Mt.s4,wm=Mt.c7,tp=Mt._7;Mt.gp;var Rm=Mt.cK,Fm=Mt.zs,Nm=Mt.AV;Mt.Xp,Mt.VS,Mt.ul;var Im=Mt.hW,Pm=Mt.x1,bi=Mt.z5;Mt.oN;var Bm=Mt.TB;Mt.u1;var Lm=Mt._b,Mm=Mt.$F,Je=Mt._T,np=Mt.db,Um=Mt.Zx,et=Mt._x;Mt.r8,Mt.JI,Mt.TP;var rp=Mt.WU;Mt.Nj,Mt.ZP;const $=class $ extends Lm{get grammarFileName(){return"tccScriptParser.g4"}get literalNames(){return $.literalNames}get symbolicNames(){return $.symbolicNames}get ruleNames(){return $.ruleNames}get serializedATN(){return $._serializedATN}createFailedPredicateException(e,n){return new Fm(this,e,n)}constructor(e){super(e),this._interp=new Mm(this,$._ATN,$.DecisionsToDFA,new np)}program(){let e=new Vm(this,this._ctx,this.state);this.enterRule(e,0,$.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($.NEWLINE);break;case 4:case 6:case 36:case 37:case 38:case 40:case 41:case 42:case 43:case 47:case 51:case 52:case 54:case 55:case 58:this.state=103,this.globalStmt();break;default:throw new bi(this)}this.state=108,this._errHandler.sync(this),n=this._input.LA(1)}this.state=109,this.match($.EOF)}}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}globalStmt(){let e=new fl(this,this._ctx,this.state);this.enterRule(e,2,$.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($.Comma)),this.state=115,this.match($.NEWLINE);break;case 2:this.enterOuterAlt(e,2),this.state=117,this.blockStmt();break;case 3:this.enterOuterAlt(e,3),this.state=118,this.importStmt();break;case 4:this.enterOuterAlt(e,4),this.state=119,this.arrowFunction();break;case 5:this.enterOuterAlt(e,5),this.state=120,this.arrowMethod();break;case 6:this.enterOuterAlt(e,6),this.state=121,this.typeStatement();break;case 7:this.enterOuterAlt(e,7),this.state=122,this.enumStatement();break}}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}blockStmt(){let e=new ip(this,this._ctx,this.state);this.enterRule(e,4,$.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!==Nr.INVALID_ALT_NUMBER;)n===1&&(this.state=125,this.variableDeclarationStmt(),this.state=126,this.match($.Comma)),this.state=132,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,4,this._ctx);switch(this.state=135,this._errHandler.sync(this),this._input.LA(1)){case 4:case 6:case 38:case 40:case 51:case 54:case 55:case 58:this.state=133,this.varBlockStmt();break;case 37:case 41:case 42:case 43:this.state=134,this.blockExpression();break;default:throw new bi(this)}}}catch(n){if(n instanceof et)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}stmt(){let e=new hl(this,this._ctx,this.state);this.enterRule(e,6,$.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($.Comma)),this.state=141,this.match($.NEWLINE);break;case 2:this.enterOuterAlt(e,2),this.state=143,this.expressionBlockSequence();break}}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}simpleStmt(){let e=new pl(this,this._ctx,this.state);this.enterRule(e,8,$.RULE_simpleStmt);try{switch(this.state=150,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,8,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=146,this.expressionSequence();break;case 2:this.enterOuterAlt(e,2),this.state=147,this.blockSequence();break;case 3:this.enterOuterAlt(e,3),this.state=148,this.brackethesized();break;case 4:this.enterOuterAlt(e,4),this.state=149,this.flowStmt();break}}catch(n){if(n instanceof et)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}flowStmt(){let e=new op(this,this._ctx,this.state);this.enterRule(e,10,$.RULE_flowStmt);let n;try{this.enterOuterAlt(e,1),this.state=152,n=this._input.LA(1),n===34||n===39?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}block(){let e=new ls(this,this._ctx,this.state);this.enterRule(e,12,$.RULE_block);let n;try{switch(this.state=161,this._errHandler.sync(this),this._input.LA(1)){case 4:case 6:case 12:case 13:case 31:case 32:case 33:case 34:case 38:case 39:case 40:case 46:case 51:case 54:case 55:case 56:case 57:case 58:this.enterOuterAlt(e,1),this.state=154,this.simpleStmt(),this.state=156,this._errHandler.sync(this),n=this._input.LA(1),n===8&&(this.state=155,this.match($.Comma)),this.state=158,this.match($.NEWLINE);break;case 61:this.enterOuterAlt(e,2),this.state=160,this.blockLine();break;default:throw new bi(this)}}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}blockLine(){let e=new Eo(this,this._ctx,this.state);this.enterRule(e,14,$.RULE_blockLine);let n;try{this.enterOuterAlt(e,1);{this.state=163,this.match($.NEWLINE),this.state=164,this.match($.INDENT),this.state=166,this._errHandler.sync(this),n=this._input.LA(1);do this.state=165,this.stmt(),this.state=168,this._errHandler.sync(this),n=this._input.LA(1);while(!(n&-32)&&1<<n&2147496016||!(n-32&-32)&&1<<n-32&130568167);this.state=170,this.match($.DEDENT)}}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}variableDeclarationStmt(){let e=new fu(this,this._ctx,this.state);this.enterRule(e,16,$.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!==Nr.INVALID_ALT_NUMBER;){if(n===1)switch(this.state=176,this.match($.Comma),this.state=179,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,13,this._ctx)){case 1:this.state=177,this.methodStmt();break;case 2:this.state=178,this.variableDeclarationList();break}this.state=185,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,14,this._ctx)}}}catch(n){if(n instanceof et)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}variableDeclarationList(){let e=new Mi(this,this._ctx,this.state);this.enterRule(e,18,$.RULE_variableDeclarationList);try{switch(this.state=194,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,15,this._ctx)){case 1:e=new $m(this,e),this.enterOuterAlt(e,1),this.state=186,this.varArrayDeclaration(),this.state=187,this.match($.Assign),this.state=188,this.singleExpression(0);break;case 2:e=new jm(this,e),this.enterOuterAlt(e,2),this.state=190,this.name(),this.state=191,this.assignmentOperator(),this.state=192,this.singleExpression(0);break}}catch(n){if(n instanceof et)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}varModifier(){let e=new dl(this,this._ctx,this.state);this.enterRule(e,20,$.RULE_varModifier);let n;try{this.enterOuterAlt(e,1),this.state=196,n=this._input.LA(1),n===38||n===40?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}blockSequence(){let e=new ap(this,this._ctx,this.state);this.enterRule(e,22,$.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!==Nr.INVALID_ALT_NUMBER;){if(n===1)switch(this.state=202,this.match($.Comma),this.state=205,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,17,this._ctx)){case 1:this.state=203,this.singleExpression(0);break;case 2:this.state=204,this.variableDeclarationList();break}this.state=211,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,18,this._ctx)}}}catch(n){if(n instanceof et)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}expressionSequence(){let e=new _l(this,this._ctx,this.state);this.enterRule(e,24,$.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!==Nr.INVALID_ALT_NUMBER;)n===1&&(this.state=213,this.match($.Comma),this.state=214,this.singleExpression(0)),this.state=219,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,19,this._ctx)}catch(n){if(n instanceof et)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}expressionBlockSequence(){let e=new sp(this,this._ctx,this.state);this.enterRule(e,26,$.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!==Nr.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($.Comma)}this.state=230,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,21,this._ctx)}switch(this.state=233,this._errHandler.sync(this),this._input.LA(1)){case 4:case 6:case 38:case 40:case 51:case 54:case 55:case 58:this.state=231,this.varBlockStmt();break;case 37:case 41:case 42:case 43:this.state=232,this.blockExpression();break;default:throw new bi(this)}}}catch(n){if(n instanceof et)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}varBlockStmt(){let e=new ml(this,this._ctx,this.state);this.enterRule(e,28,$.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($.Assign);break;case 2:this.state=238,this.name(),this.state=239,this.assignmentOperator();break}this.state=243,this.blockExpression()}}catch(n){if(n instanceof et)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}varArrayDeclaration(){let e=new fs(this,this._ctx,this.state);this.enterRule(e,30,$.RULE_varArrayDeclaration);let n;try{switch(this.state=263,this._errHandler.sync(this),this._input.LA(1)){case 38:case 40:case 51:case 54:case 55:case 58:e=new Gm(this,e),this.enterOuterAlt(e,1);{switch(this.state=246,this._errHandler.sync(this),n=this._input.LA(1),(n===38||n===40)&&(this.state=245,this.varModifier()),this.state=249,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,25,this._ctx)){case 1:this.state=248,this.typeGather();break}this.state=251,this.identifier()}break;case 4:e=new Hm(this,e),this.enterOuterAlt(e,2);{for(this.state=252,this.match($.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($.Comma),this.state=255,this.identifier(),this.state=260,this._errHandler.sync(this),n=this._input.LA(1);this.state=261,this.match($.CloseBracket)}break;default:throw new bi(this)}}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}blockExpression(){let e=new hu(this,this._ctx,this.state);this.enterRule(e,32,$.RULE_blockExpression);try{switch(this.state=269,this._errHandler.sync(this),this._input.LA(1)){case 43:this.enterOuterAlt(e,1),this.state=265,this.ifStatement();break;case 37:this.enterOuterAlt(e,2),this.state=266,this.forStatement();break;case 42:this.enterOuterAlt(e,3),this.state=267,this.whileStatement();break;case 41:this.enterOuterAlt(e,4),this.state=268,this.switchStatement();break;default:throw new bi(this)}}catch(n){if(n instanceof et)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}singleExpression(e){e===void 0&&(e=0);let n=this._ctx,r=this.state,a=new je(this,this._ctx,r),c=a,f=34;this.enterRecursionRule(a,34,$.RULE_singleExpression,e);let p;try{let E;this.enterOuterAlt(a,1);{switch(this.state=283,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,29,this._ctx)){case 1:a=new ny(this,a),this._ctx=a,c=a,this.state=272,this.methodStmt();break;case 2:a=new Jm(this,a),this._ctx=a,c=a,this.state=273,p=this._input.LA(1),p===12||p===13?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=274,this.singleExpression(12);break;case 3:a=new ey(this,a),this._ctx=a,c=a,this.state=275,this.match($.Not),this.state=276,this.singleExpression(11);break;case 4:a=new Ym(this,a),this._ctx=a,c=a,this.state=277,this.name();break;case 5:a=new Zm(this,a),this._ctx=a,c=a,this.state=278,this.literal();break;case 6:a=new Km(this,a),this._ctx=a,c=a,this.state=279,this.match($.OpenParen),this.state=280,this.singleExpression(0),this.state=281,this.match($.CloseParen);break}for(this._ctx.stop=this._input.LT(-1),this.state=316,this._errHandler.sync(this),E=this._interp.adaptivePredict(this._input,31,this._ctx);E!==2&&E!==Nr.INVALID_ALT_NUMBER;){if(E===1)switch(this._parseListeners!=null&&this.triggerExitRuleEvent(),c=a,this.state=314,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,30,this._ctx)){case 1:{if(a=new iy(this,new je(this,n,r)),this.pushNewRecursionContext(a,f,$.RULE_singleExpression),this.state=285,!this.precpred(this._ctx,10))throw this.createFailedPredicateException("this.precpred(this._ctx, 10)");this.state=286,p=this._input.LA(1),!(p&-32)&&1<<p&114688?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=287,this.singleExpression(11)}break;case 2:{if(a=new zm(this,new je(this,n,r)),this.pushNewRecursionContext(a,f,$.RULE_singleExpression),this.state=288,!this.precpred(this._ctx,9))throw this.createFailedPredicateException("this.precpred(this._ctx, 9)");this.state=289,p=this._input.LA(1),p===12||p===13?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=290,this.singleExpression(10)}break;case 3:{if(a=new Wm(this,new je(this,n,r)),this.pushNewRecursionContext(a,f,$.RULE_singleExpression),this.state=291,!this.precpred(this._ctx,8))throw this.createFailedPredicateException("this.precpred(this._ctx, 8)");this.state=292,p=this._input.LA(1),!(p&-32)&&1<<p&3932160?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=293,this.singleExpression(9)}break;case 4:{if(a=new ry(this,new je(this,n,r)),this.pushNewRecursionContext(a,f,$.RULE_singleExpression),this.state=294,!this.precpred(this._ctx,7))throw this.createFailedPredicateException("this.precpred(this._ctx, 7)");this.state=295,p=this._input.LA(1),p===22||p===23?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=296,this.singleExpression(8)}break;case 5:{if(a=new Xm(this,new je(this,n,r)),this.pushNewRecursionContext(a,f,$.RULE_singleExpression),this.state=297,!this.precpred(this._ctx,6))throw this.createFailedPredicateException("this.precpred(this._ctx, 6)");this.state=298,this.match($.And),this.state=299,this.singleExpression(7)}break;case 6:{if(a=new Qm(this,new je(this,n,r)),this.pushNewRecursionContext(a,f,$.RULE_singleExpression),this.state=300,!this.precpred(this._ctx,5))throw this.createFailedPredicateException("this.precpred(this._ctx, 5)");this.state=301,this.match($.Or),this.state=302,this.singleExpression(6)}break;case 7:{if(a=new qm(this,new je(this,n,r)),this.pushNewRecursionContext(a,f,$.RULE_singleExpression),this.state=303,!this.precpred(this._ctx,4))throw this.createFailedPredicateException("this.precpred(this._ctx, 4)");this.state=304,this.match($.QuestionMark),this.state=305,this.singleExpression(0),this.state=306,this.match($.Colon),this.state=307,this.singleExpression(4)}break;case 8:{if(a=new ty(this,new je(this,n,r)),this.pushNewRecursionContext(a,f,$.RULE_singleExpression),this.state=309,!this.precpred(this._ctx,13))throw this.createFailedPredicateException("this.precpred(this._ctx, 13)");this.state=310,this.match($.OpenBracket),this.state=311,this.singleExpression(0),this.state=312,this.match($.CloseBracket)}break}this.state=318,this._errHandler.sync(this),E=this._interp.adaptivePredict(this._input,31,this._ctx)}}}catch(E){if(E instanceof et)a.exception=E,this._errHandler.reportError(this,E),this._errHandler.recover(this,E);else throw E}finally{this.unrollRecursionContexts(n)}return a}brackethesized(){let e=new yl(this,this._ctx,this.state);this.enterRule(e,36,$.RULE_brackethesized);try{this.enterOuterAlt(e,1),this.state=319,this.match($.OpenBracket),this.state=320,this.expressionSequence(),this.state=321,this.match($.CloseBracket)}catch(n){if(n instanceof et)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}arguments(){let e=new up(this,this._ctx,this.state);this.enterRule(e,38,$.RULE_arguments);let n;try{let r;this.enterOuterAlt(e,1);{if(this.state=323,this.match($.OpenParen),this.state=335,this._errHandler.sync(this),n=this._input.LA(1),!(n&-32)&&1<<n&2147496016||!(n-32&-32)&&1<<n-32&130564099){for(this.state=324,this.argument(),this.state=329,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,32,this._ctx);r!==2&&r!==Nr.INVALID_ALT_NUMBER;)r===1&&(this.state=325,this.match($.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($.Comma))}this.state=337,this.match($.CloseParen)}}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}argument(){let e=new gl(this,this._ctx,this.state);this.enterRule(e,40,$.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($.Assign);break}switch(this.state=346,this._errHandler.sync(this),this._input.LA(1)){case 6:case 12:case 13:case 31:case 32:case 33:case 46:case 51:case 54:case 55:case 56:case 57:case 58:this.state=344,this.singleExpression(0);break;case 4:this.state=345,this.brackethesized();break;default:throw new bi(this)}}}catch(n){if(n instanceof et)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}ifStatement(){let e=new cp(this,this._ctx,this.state);this.enterRule(e,42,$.RULE_ifStatement);let n;try{let r;this.enterOuterAlt(e,1);{for(this.state=348,this.match($.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!==Nr.INVALID_ALT_NUMBER;)r===1&&(this.state=351,this.match($.Else),this.state=352,this.match($.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($.Else),this.state=362,this.blockLine())}}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}forStatement(){let e=new pu(this,this._ctx,this.state);this.enterRule(e,44,$.RULE_forStatement);let n;try{switch(this.state=397,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,43,this._ctx)){case 1:e=new oy(this,e),this.enterOuterAlt(e,1);{switch(this.state=365,this.match($.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($.Assign),this.state=374,this.singleExpression(0),this.state=375,this.match($.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($.By),this.state=378,this.singleExpression(0)),this.state=381,this.blockLine()}break;case 2:e=new ay(this,e),this.enterOuterAlt(e,2);{switch(this.state=383,this.match($.For),this.state=391,this._errHandler.sync(this),this._input.LA(1)){case 51:case 54:case 55:case 58:this.state=384,this.identifier();break;case 4:this.state=385,this.match($.OpenBracket),this.state=386,this.identifier(),this.state=387,this.match($.Comma),this.state=388,this.identifier(),this.state=389,this.match($.CloseBracket);break;default:throw new bi(this)}this.state=393,this.match($.In),this.state=394,this.singleExpression(0),this.state=395,this.blockLine()}break}}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}switchStatement(){let e=new lp(this,this._ctx,this.state);this.enterRule(e,46,$.RULE_switchStatement);let n;try{this.enterOuterAlt(e,1);{switch(this.state=399,this.match($.Switch),this.state=401,this._errHandler.sync(this),n=this._input.LA(1),(!(n&-32)&&1<<n&2147496e3||!(n-32&-32)&&1<<n-32&130564099)&&(this.state=400,this.singleExpression(0)),this.state=403,this.match($.NEWLINE),this.state=404,this.match($.INDENT),this.state=417,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,47,this._ctx)){case 1:{this.state=406,this._errHandler.sync(this),n=this._input.LA(1);do this.state=405,this.caseClause(),this.state=408,this._errHandler.sync(this),n=this._input.LA(1);while(!(n&-32)&&1<<n&2147496e3||!(n-32&-32)&&1<<n-32&130564099)}break;case 2:{for(this.state=413,this._errHandler.sync(this),n=this._input.LA(1);!(n&-32)&&1<<n&2147496e3||!(n-32&-32)&&1<<n-32&130564099;)this.state=410,this.caseClause(),this.state=415,this._errHandler.sync(this),n=this._input.LA(1);this.state=416,this.defaultCaluse()}break}this.state=419,this.match($.DEDENT)}}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}caseClause(){let e=new vl(this,this._ctx,this.state);this.enterRule(e,48,$.RULE_caseClause);try{this.enterOuterAlt(e,1),this.state=421,this.singleExpression(0),this.state=422,this.match($.ARROW),this.state=423,this.block()}catch(n){if(n instanceof et)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}defaultCaluse(){let e=new fp(this,this._ctx,this.state);this.enterRule(e,50,$.RULE_defaultCaluse);try{this.enterOuterAlt(e,1),this.state=425,this.match($.ARROW),this.state=426,this.block()}catch(n){if(n instanceof et)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}whileStatement(){let e=new hp(this,this._ctx,this.state);this.enterRule(e,52,$.RULE_whileStatement);try{this.enterOuterAlt(e,1),this.state=428,this.match($.While),this.state=429,this.singleExpression(0),this.state=430,this.blockLine()}catch(n){if(n instanceof et)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}importStmt(){let e=new pp(this,this._ctx,this.state);this.enterRule(e,54,$.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!==Nr.INVALID_ALT_NUMBER;)r===1&&(this.state=433,this.match($.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($.Comma)),this.state=443,this.match($.NEWLINE)}}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}importElement(){let e=new bl(this,this._ctx,this.state);this.enterRule(e,56,$.RULE_importElement);let n;try{this.enterOuterAlt(e,1),this.state=445,this.match($.Import),this.state=446,this.identifier(),this.state=447,this.match($.Divide),this.state=448,this.identifier(),this.state=449,this.match($.Divide),this.state=450,this.match($.IntegerLiteral),this.state=453,this._errHandler.sync(this),n=this._input.LA(1),n===53&&(this.state=451,this.match($.As),this.state=452,this.identifier())}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}literal(){let e=new dp(this,this._ctx,this.state);this.enterRule(e,58,$.RULE_literal);let n;try{this.enterOuterAlt(e,1),this.state=455,n=this._input.LA(1),!(n-31&-32)&&1<<n-31&100663303?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}methodStmt(){let e=new du(this,this._ctx,this.state);this.enterRule(e,60,$.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!==Nr.INVALID_ALT_NUMBER;)n===1&&(this.state=458,this.match($.Point),this.state=459,this.methodElement()),this.state=464,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,51,this._ctx)}catch(n){if(n instanceof et)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}methodElement(){let e=new hs(this,this._ctx,this.state);this.enterRule(e,62,$.RULE_methodElement);try{this.enterOuterAlt(e,1),this.state=465,this.methodName(),this.state=466,this.arguments()}catch(n){if(n instanceof et)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}methodName(){let e=new _p(this,this._ctx,this.state);this.enterRule(e,64,$.RULE_methodName);let n;try{let r;this.enterOuterAlt(e,1);{switch(this.state=481,this._errHandler.sync(this),this._input.LA(1)){case 51:case 54:case 55:case 58:for(this.state=473,this._errHandler.sync(this),r=this._interp.adaptivePredict(this._input,52,this._ctx);r!==2&&r!==Nr.INVALID_ALT_NUMBER;)r===1&&(this.state=468,this.identifier(),this.state=469,this.match($.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($.OpenParen),this.state=477,this.singleExpression(0),this.state=478,this.match($.CloseParen),this.state=479,this.match($.Point);break;default:throw new bi(this)}this.state=483,this.identifier(),this.state=492,this._errHandler.sync(this),n=this._input.LA(1),n===18&&(this.state=484,this.match($.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($.Comma),this.state=487,this.typeName()),this.state=490,this.match($.MoreThan))}}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}arrowFunction(){let e=new mp(this,this._ctx,this.state);this.enterRule(e,66,$.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($.Export)),this.state=497,this.identifier(),this.state=498,this.arrowFunctionParameters(),this.state=499,this.match($.ARROW),this.state=500,this.block()}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}arrowFunctionParameters(){let e=new yp(this,this._ctx,this.state);this.enterRule(e,68,$.RULE_arrowFunctionParameters);let n;try{this.enterOuterAlt(e,1),this.state=502,this.match($.OpenParen),this.state=504,this._errHandler.sync(this),n=this._input.LA(1),!(n-51&-32)&&1<<n-51&153&&(this.state=503,this.formalParameterList()),this.state=506,this.match($.CloseParen)}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}formalParameterList(){let e=new El(this,this._ctx,this.state);this.enterRule(e,70,$.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($.Comma),this.state=510,this.formalParameterArg(),this.state=515,this._errHandler.sync(this),n=this._input.LA(1)}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}formalParameterArg(){let e=new xl(this,this._ctx,this.state);this.enterRule(e,72,$.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($.Assign),this.state=521,this.singleExpression(0))}}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}arrowMethod(){let e=new gp(this,this._ctx,this.state);this.enterRule(e,74,$.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($.Export)),this.state=527,this.match($.Method),this.state=528,this.identifier(),this.state=529,this.arrowMethodParameters(),this.state=530,this.match($.ARROW),this.state=531,this.block()}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}arrowMethodParameters(){let e=new vp(this,this._ctx,this.state);this.enterRule(e,76,$.RULE_arrowMethodParameters);let n;try{this.enterOuterAlt(e,1),this.state=533,this.match($.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($.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($.Comma),this.state=541,this.formalParameterList()),this.state=544,this.match($.CloseParen)}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}typeStatement(){let e=new bp(this,this._ctx,this.state);this.enterRule(e,78,$.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($.Export)),this.state=549,this.match($.Type),this.state=550,this.identifier(),this.state=551,this.match($.NEWLINE),this.state=552,this.match($.INDENT),this.state=554,this._errHandler.sync(this),n=this._input.LA(1);do this.state=553,this.typeElement(),this.state=556,this._errHandler.sync(this),n=this._input.LA(1);while(!(n-40&-32)&&1<<n-40&313345);this.state=558,this.match($.DEDENT)}}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}typeElement(){let e=new Sl(this,this._ctx,this.state);this.enterRule(e,80,$.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($.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($.Assign),this.state=568,this.singleExpression(0)),this.state=571,this.match($.NEWLINE)}}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}assignmentOperator(){let e=new Tl(this,this._ctx,this.state);this.enterRule(e,82,$.RULE_assignmentOperator);let n;try{this.enterOuterAlt(e,1),this.state=573,n=this._input.LA(1),!(n&-32)&&1<<n&1593835520?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}typeMap(){let e=new Al(this,this._ctx,this.state);this.enterRule(e,84,$.RULE_typeMap);try{this.enterOuterAlt(e,1),this.state=575,this.match($.Map),this.state=576,this.match($.LessThan),this.state=577,this.typeName(),this.state=578,this.match($.Comma),this.state=579,this.typeName(),this.state=580,this.match($.MoreThan)}catch(n){if(n instanceof et)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}typeSeries(){let e=new Ep(this,this._ctx,this.state);this.enterRule(e,86,$.RULE_typeSeries);try{switch(this.enterOuterAlt(e,1),this.state=582,this.typeName(),this.state=586,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,69,this._ctx)){case 1:this.state=583,this.typeName();break;case 2:this.state=584,this.typeArray();break;case 3:this.state=585,this.typeMap();break}}catch(n){if(n instanceof et)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}typeArray(){let e=new Cl(this,this._ctx,this.state);this.enterRule(e,88,$.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($.LessThan),this.state=590,this.typeName(),this.state=591,this.match($.MoreThan);break;case 2:this.enterOuterAlt(e,2),this.state=593,this.typeName(),this.state=594,this.match($.OpenBracket),this.state=595,this.match($.CloseBracket);break}}catch(n){if(n instanceof et)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}typeGather(){let e=new qo(this,this._ctx,this.state);this.enterRule(e,90,$.RULE_typeGather);try{switch(this.state=603,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,71,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=599,this.typeName();break;case 2:this.enterOuterAlt(e,2),this.state=600,this.typeArray();break;case 3:this.enterOuterAlt(e,3),this.state=601,this.typeMap();break;case 4:this.enterOuterAlt(e,4),this.state=602,this.typeSeries();break}}catch(n){if(n instanceof et)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}identifier(){let e=new xn(this,this._ctx,this.state);this.enterRule(e,92,$.RULE_identifier);let n;try{this.enterOuterAlt(e,1),this.state=605,n=this._input.LA(1),!(n-51&-32)&&1<<n-51&153?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}typeName(){let e=new Ei(this,this._ctx,this.state);this.enterRule(e,94,$.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($.Point),this.state=609,this.identifier())}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}name(){let e=new _u(this,this._ctx,this.state);this.enterRule(e,96,$.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!==Nr.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($.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($.OpenParen),this.state=625,this.singleExpression(0),this.state=626,this.match($.CloseParen),this.state=629,this._errHandler.sync(this),n=1;do{switch(n){case 1:this.state=627,this.match($.Point),this.state=628,this.identifier();break;default:throw new bi(this)}this.state=631,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,75,this._ctx)}while(n!==2&&n!==Nr.INVALID_ALT_NUMBER)}break}}catch(n){if(n instanceof et)e.exception=n,this._errHandler.reportError(this,n),this._errHandler.recover(this,n);else throw n}finally{this.exitRule()}return e}enumStatement(){let e=new xp(this,this._ctx,this.state);this.enterRule(e,98,$.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($.Export)),this.state=638,this.match($.Enum),this.state=639,this.identifier(),this.state=640,this.match($.NEWLINE),this.state=641,this.match($.INDENT),this.state=643,this._errHandler.sync(this),n=this._input.LA(1);do this.state=642,this.enumElement(),this.state=645,this._errHandler.sync(this),n=this._input.LA(1);while(!(n-51&-32)&&1<<n-51&153);this.state=647,this.match($.DEDENT)}}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}enumElement(){let e=new Dl(this,this._ctx,this.state);this.enterRule(e,100,$.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($.Assign),this.state=651,this.match($.StringLiteral)),this.state=654,this.match($.NEWLINE)}catch(r){if(r instanceof et)e.exception=r,this._errHandler.reportError(this,r),this._errHandler.recover(this,r);else throw r}finally{this.exitRule()}return e}sempred(e,n,r){switch(n){case 17:return this.singleExpression_sempred(e,r)}return!0}singleExpression_sempred(e,n){switch(n){case 0:return this.precpred(this._ctx,10);case 1:return this.precpred(this._ctx,9);case 2:return this.precpred(this._ctx,8);case 3:return this.precpred(this._ctx,7);case 4:return this.precpred(this._ctx,6);case 5:return this.precpred(this._ctx,5);case 6:return this.precpred(this._ctx,4);case 7:return this.precpred(this._ctx,13)}return!0}static get _ATN(){return $.__ATN||($.__ATN=new ep().deserialize($._serializedATN)),$.__ATN}};I($,"INDENT",1),I($,"DEDENT",2),I($,"Point",3),I($,"OpenBracket",4),I($,"CloseBracket",5),I($,"OpenParen",6),I($,"CloseParen",7),I($,"Comma",8),I($,"Assign",9),I($,"QuestionMark",10),I($,"Colon",11),I($,"Plus",12),I($,"Minus",13),I($,"Multiply",14),I($,"Divide",15),I($,"Modulus",16),I($,"Hashtag",17),I($,"LessThan",18),I($,"MoreThan",19),I($,"LessThanEquals",20),I($,"GreaterThanEquals",21),I($,"Equals_",22),I($,"NotEquals",23),I($,"MultiplyAssign",24),I($,"DivideAssign",25),I($,"ModulusAssign",26),I($,"PlusAssign",27),I($,"MinusAssign",28),I($,"ARROW",29),I($,"ColonEquals",30),I($,"BooleanLiteral",31),I($,"IntegerLiteral",32),I($,"DecimalLiteral",33),I($,"Break",34),I($,"And",35),I($,"Export",36),I($,"For",37),I($,"Var",38),I($,"Continue",39),I($,"Varip",40),I($,"Switch",41),I($,"While",42),I($,"If",43),I($,"In",44),I($,"Or",45),I($,"Not",46),I($,"Method",47),I($,"Else",48),I($,"To",49),I($,"By",50),I($,"Type",51),I($,"Import",52),I($,"As",53),I($,"Enum",54),I($,"Map",55),I($,"ColorLiteral",56),I($,"StringLiteral",57),I($,"Identifier",58),I($,"HIDDEN_",59),I($,"COMMENT_",60),I($,"NEWLINE",61),I($,"EOF",rp.EOF),I($,"RULE_program",0),I($,"RULE_globalStmt",1),I($,"RULE_blockStmt",2),I($,"RULE_stmt",3),I($,"RULE_simpleStmt",4),I($,"RULE_flowStmt",5),I($,"RULE_block",6),I($,"RULE_blockLine",7),I($,"RULE_variableDeclarationStmt",8),I($,"RULE_variableDeclarationList",9),I($,"RULE_varModifier",10),I($,"RULE_blockSequence",11),I($,"RULE_expressionSequence",12),I($,"RULE_expressionBlockSequence",13),I($,"RULE_varBlockStmt",14),I($,"RULE_varArrayDeclaration",15),I($,"RULE_blockExpression",16),I($,"RULE_singleExpression",17),I($,"RULE_brackethesized",18),I($,"RULE_arguments",19),I($,"RULE_argument",20),I($,"RULE_ifStatement",21),I($,"RULE_forStatement",22),I($,"RULE_switchStatement",23),I($,"RULE_caseClause",24),I($,"RULE_defaultCaluse",25),I($,"RULE_whileStatement",26),I($,"RULE_importStmt",27),I($,"RULE_importElement",28),I($,"RULE_literal",29),I($,"RULE_methodStmt",30),I($,"RULE_methodElement",31),I($,"RULE_methodName",32),I($,"RULE_arrowFunction",33),I($,"RULE_arrowFunctionParameters",34),I($,"RULE_formalParameterList",35),I($,"RULE_formalParameterArg",36),I($,"RULE_arrowMethod",37),I($,"RULE_arrowMethodParameters",38),I($,"RULE_typeStatement",39),I($,"RULE_typeElement",40),I($,"RULE_assignmentOperator",41),I($,"RULE_typeMap",42),I($,"RULE_typeSeries",43),I($,"RULE_typeArray",44),I($,"RULE_typeGather",45),I($,"RULE_identifier",46),I($,"RULE_typeName",47),I($,"RULE_name",48),I($,"RULE_enumStatement",49),I($,"RULE_enumElement",50),I($,"literalNames",[null,null,null,"'.'","'['","']'","'('","')'","','","'='","'?'","':'","'+'","'-'","'*'","'/'","'%'","'#'","'<'","'>'","'<='","'>='","'=='","'!='","'*='","'/='","'%='","'+='","'-='","'=>'","':='",null,null,null,"'break'","'and'","'export'","'for'","'var'","'continue'","'varip'","'switch'","'while'","'if'","'in'","'or'","'not'","'method'","'else'","'to'","'by'","'type'","'import'","'as'","'enum'","'map'"]),I($,"symbolicNames",[null,"INDENT","DEDENT","Point","OpenBracket","CloseBracket","OpenParen","CloseParen","Comma","Assign","QuestionMark","Colon","Plus","Minus","Multiply","Divide","Modulus","Hashtag","LessThan","MoreThan","LessThanEquals","GreaterThanEquals","Equals_","NotEquals","MultiplyAssign","DivideAssign","ModulusAssign","PlusAssign","MinusAssign","ARROW","ColonEquals","BooleanLiteral","IntegerLiteral","DecimalLiteral","Break","And","Export","For","Var","Continue","Varip","Switch","While","If","In","Or","Not","Method","Else","To","By","Type","Import","As","Enum","Map","ColorLiteral","StringLiteral","Identifier","HIDDEN_","COMMENT_","NEWLINE"]),I($,"ruleNames",["program","globalStmt","blockStmt","stmt","simpleStmt","flowStmt","block","blockLine","variableDeclarationStmt","variableDeclarationList","varModifier","blockSequence","expressionSequence","expressionBlockSequence","varBlockStmt","varArrayDeclaration","blockExpression","singleExpression","brackethesized","arguments","argument","ifStatement","forStatement","switchStatement","caseClause","defaultCaluse","whileStatement","importStmt","importElement","literal","methodStmt","methodElement","methodName","arrowFunction","arrowFunctionParameters","formalParameterList","formalParameterArg","arrowMethod","arrowMethodParameters","typeStatement","typeElement","assignmentOperator","typeMap","typeSeries","typeArray","typeGather","identifier","typeName","name","enumStatement","enumElement"]),I($,"_serializedATN",[4,1,61,657,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5,2,6,7,6,2,7,7,7,2,8,7,8,2,9,7,9,2,10,7,10,2,11,7,11,2,12,7,12,2,13,7,13,2,14,7,14,2,15,7,15,2,16,7,16,2,17,7,17,2,18,7,18,2,19,7,19,2,20,7,20,2,21,7,21,2,22,7,22,2,23,7,23,2,24,7,24,2,25,7,25,2,26,7,26,2,27,7,27,2,28,7,28,2,29,7,29,2,30,7,30,2,31,7,31,2,32,7,32,2,33,7,33,2,34,7,34,2,35,7,35,2,36,7,36,2,37,7,37,2,38,7,38,2,39,7,39,2,40,7,40,2,41,7,41,2,42,7,42,2,43,7,43,2,44,7,44,2,45,7,45,2,46,7,46,2,47,7,47,2,48,7,48,2,49,7,49,2,50,7,50,1,0,1,0,5,0,105,8,0,10,0,12,0,108,9,0,1,0,1,0,1,1,1,1,3,1,114,8,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,1,124,8,1,1,2,1,2,1,2,5,2,129,8,2,10,2,12,2,132,9,2,1,2,1,2,3,2,136,8,2,1,3,1,3,3,3,140,8,3,1,3,1,3,1,3,3,3,145,8,3,1,4,1,4,1,4,1,4,3,4,151,8,4,1,5,1,5,1,6,1,6,3,6,157,8,6,1,6,1,6,1,6,3,6,162,8,6,1,7,1,7,1,7,4,7,167,8,7,11,7,12,7,168,1,7,1,7,1,8,1,8,3,8,175,8,8,1,8,1,8,1,8,3,8,180,8,8,5,8,182,8,8,10,8,12,8,185,9,8,1,9,1,9,1,9,1,9,1,9,1,9,1,9,1,9,3,9,195,8,9,1,10,1,10,1,11,1,11,3,11,201,8,11,1,11,1,11,1,11,3,11,206,8,11,5,11,208,8,11,10,11,12,11,211,9,11,1,12,1,12,1,12,5,12,216,8,12,10,12,12,12,219,9,12,1,13,1,13,3,13,223,8,13,1,13,1,13,5,13,227,8,13,10,13,12,13,230,9,13,1,13,1,13,3,13,234,8,13,1,14,1,14,1,14,1,14,1,14,1,14,3,14,242,8,14,1,14,1,14,1,15,3,15,247,8,15,1,15,3,15,250,8,15,1,15,1,15,1,15,1,15,1,15,5,15,257,8,15,10,15,12,15,260,9,15,1,15,1,15,3,15,264,8,15,1,16,1,16,1,16,1,16,3,16,270,8,16,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,3,17,284,8,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,5,17,315,8,17,10,17,12,17,318,9,17,1,18,1,18,1,18,1,18,1,19,1,19,1,19,1,19,5,19,328,8,19,10,19,12,19,331,9,19,1,19,3,19,334,8,19,3,19,336,8,19,1,19,1,19,1,20,1,20,1,20,3,20,343,8,20,1,20,1,20,3,20,347,8,20,1,21,1,21,1,21,1,21,1,21,1,21,1,21,1,21,5,21,357,8,21,10,21,12,21,360,9,21,1,21,1,21,3,21,364,8,21,1,22,1,22,3,22,368,8,22,1,22,3,22,371,8,22,1,22,1,22,1,22,1,22,1,22,1,22,1,22,3,22,380,8,22,1,22,1,22,1,22,1,22,1,22,1,22,1,22,1,22,1,22,1,22,3,22,392,8,22,1,22,1,22,1,22,1,22,3,22,398,8,22,1,23,1,23,3,23,402,8,23,1,23,1,23,1,23,4,23,407,8,23,11,23,12,23,408,1,23,5,23,412,8,23,10,23,12,23,415,9,23,1,23,3,23,418,8,23,1,23,1,23,1,24,1,24,1,24,1,24,1,25,1,25,1,25,1,26,1,26,1,26,1,26,1,27,1,27,1,27,5,27,436,8,27,10,27,12,27,439,9,27,1,27,3,27,442,8,27,1,27,1,27,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,3,28,454,8,28,1,29,1,29,1,30,1,30,1,30,5,30,461,8,30,10,30,12,30,464,9,30,1,31,1,31,1,31,1,32,1,32,1,32,5,32,472,8,32,10,32,12,32,475,9,32,1,32,1,32,1,32,1,32,1,32,3,32,482,8,32,1,32,1,32,1,32,1,32,1,32,3,32,489,8,32,1,32,1,32,3,32,493,8,32,1,33,3,33,496,8,33,1,33,1,33,1,33,1,33,1,33,1,34,1,34,3,34,505,8,34,1,34,1,34,1,35,1,35,1,35,5,35,512,8,35,10,35,12,35,515,9,35,1,36,3,36,518,8,36,1,36,1,36,1,36,3,36,523,8,36,1,37,3,37,526,8,37,1,37,1,37,1,37,1,37,1,37,1,37,1,38,1,38,1,38,1,38,1,38,3,38,539,8,38,1,38,1,38,3,38,543,8,38,1,38,1,38,1,39,3,39,548,8,39,1,39,1,39,1,39,1,39,1,39,4,39,555,8,39,11,39,12,39,556,1,39,1,39,1,40,3,40,562,8,40,1,40,3,40,565,8,40,1,40,1,40,1,40,3,40,570,8,40,1,40,1,40,1,41,1,41,1,42,1,42,1,42,1,42,1,42,1,42,1,42,1,43,1,43,1,43,1,43,3,43,587,8,43,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,3,44,598,8,44,1,45,1,45,1,45,1,45,3,45,604,8,45,1,46,1,46,1,47,1,47,1,47,3,47,611,8,47,1,48,1,48,3,48,615,8,48,1,48,1,48,5,48,619,8,48,10,48,12,48,622,9,48,1,48,1,48,1,48,1,48,1,48,1,48,4,48,630,8,48,11,48,12,48,631,3,48,634,8,48,1,49,3,49,637,8,49,1,49,1,49,1,49,1,49,1,49,4,49,644,8,49,11,49,12,49,645,1,49,1,49,1,50,1,50,1,50,3,50,653,8,50,1,50,1,50,1,50,0,1,34,51,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,0,9,2,0,34,34,39,39,2,0,38,38,40,40,1,0,12,13,1,0,14,16,1,0,18,21,1,0,22,23,2,0,31,33,56,57,2,0,24,28,30,30,3,0,51,51,54,55,58,58,707,0,106,1,0,0,0,2,123,1,0,0,0,4,130,1,0,0,0,6,144,1,0,0,0,8,150,1,0,0,0,10,152,1,0,0,0,12,161,1,0,0,0,14,163,1,0,0,0,16,174,1,0,0,0,18,194,1,0,0,0,20,196,1,0,0,0,22,200,1,0,0,0,24,212,1,0,0,0,26,228,1,0,0,0,28,241,1,0,0,0,30,263,1,0,0,0,32,269,1,0,0,0,34,283,1,0,0,0,36,319,1,0,0,0,38,323,1,0,0,0,40,342,1,0,0,0,42,348,1,0,0,0,44,397,1,0,0,0,46,399,1,0,0,0,48,421,1,0,0,0,50,425,1,0,0,0,52,428,1,0,0,0,54,432,1,0,0,0,56,445,1,0,0,0,58,455,1,0,0,0,60,457,1,0,0,0,62,465,1,0,0,0,64,481,1,0,0,0,66,495,1,0,0,0,68,502,1,0,0,0,70,508,1,0,0,0,72,517,1,0,0,0,74,525,1,0,0,0,76,533,1,0,0,0,78,547,1,0,0,0,80,561,1,0,0,0,82,573,1,0,0,0,84,575,1,0,0,0,86,582,1,0,0,0,88,597,1,0,0,0,90,603,1,0,0,0,92,605,1,0,0,0,94,607,1,0,0,0,96,633,1,0,0,0,98,636,1,0,0,0,100,649,1,0,0,0,102,105,5,61,0,0,103,105,3,2,1,0,104,102,1,0,0,0,104,103,1,0,0,0,105,108,1,0,0,0,106,104,1,0,0,0,106,107,1,0,0,0,107,109,1,0,0,0,108,106,1,0,0,0,109,110,5,0,0,1,110,1,1,0,0,0,111,113,3,16,8,0,112,114,5,8,0,0,113,112,1,0,0,0,113,114,1,0,0,0,114,115,1,0,0,0,115,116,5,61,0,0,116,124,1,0,0,0,117,124,3,4,2,0,118,124,3,54,27,0,119,124,3,66,33,0,120,124,3,74,37,0,121,124,3,78,39,0,122,124,3,98,49,0,123,111,1,0,0,0,123,117,1,0,0,0,123,118,1,0,0,0,123,119,1,0,0,0,123,120,1,0,0,0,123,121,1,0,0,0,123,122,1,0,0,0,124,3,1,0,0,0,125,126,3,16,8,0,126,127,5,8,0,0,127,129,1,0,0,0,128,125,1,0,0,0,129,132,1,0,0,0,130,128,1,0,0,0,130,131,1,0,0,0,131,135,1,0,0,0,132,130,1,0,0,0,133,136,3,28,14,0,134,136,3,32,16,0,135,133,1,0,0,0,135,134,1,0,0,0,136,5,1,0,0,0,137,139,3,8,4,0,138,140,5,8,0,0,139,138,1,0,0,0,139,140,1,0,0,0,140,141,1,0,0,0,141,142,5,61,0,0,142,145,1,0,0,0,143,145,3,26,13,0,144,137,1,0,0,0,144,143,1,0,0,0,145,7,1,0,0,0,146,151,3,24,12,0,147,151,3,22,11,0,148,151,3,36,18,0,149,151,3,10,5,0,150,146,1,0,0,0,150,147,1,0,0,0,150,148,1,0,0,0,150,149,1,0,0,0,151,9,1,0,0,0,152,153,7,0,0,0,153,11,1,0,0,0,154,156,3,8,4,0,155,157,5,8,0,0,156,155,1,0,0,0,156,157,1,0,0,0,157,158,1,0,0,0,158,159,5,61,0,0,159,162,1,0,0,0,160,162,3,14,7,0,161,154,1,0,0,0,161,160,1,0,0,0,162,13,1,0,0,0,163,164,5,61,0,0,164,166,5,1,0,0,165,167,3,6,3,0,166,165,1,0,0,0,167,168,1,0,0,0,168,166,1,0,0,0,168,169,1,0,0,0,169,170,1,0,0,0,170,171,5,2,0,0,171,15,1,0,0,0,172,175,3,60,30,0,173,175,3,18,9,0,174,172,1,0,0,0,174,173,1,0,0,0,175,183,1,0,0,0,176,179,5,8,0,0,177,180,3,60,30,0,178,180,3,18,9,0,179,177,1,0,0,0,179,178,1,0,0,0,180,182,1,0,0,0,181,176,1,0,0,0,182,185,1,0,0,0,183,181,1,0,0,0,183,184,1,0,0,0,184,17,1,0,0,0,185,183,1,0,0,0,186,187,3,30,15,0,187,188,5,9,0,0,188,189,3,34,17,0,189,195,1,0,0,0,190,191,3,96,48,0,191,192,3,82,41,0,192,193,3,34,17,0,193,195,1,0,0,0,194,186,1,0,0,0,194,190,1,0,0,0,195,19,1,0,0,0,196,197,7,1,0,0,197,21,1,0,0,0,198,201,3,34,17,0,199,201,3,18,9,0,200,198,1,0,0,0,200,199,1,0,0,0,201,209,1,0,0,0,202,205,5,8,0,0,203,206,3,34,17,0,204,206,3,18,9,0,205,203,1,0,0,0,205,204,1,0,0,0,206,208,1,0,0,0,207,202,1,0,0,0,208,211,1,0,0,0,209,207,1,0,0,0,209,210,1,0,0,0,210,23,1,0,0,0,211,209,1,0,0,0,212,217,3,34,17,0,213,214,5,8,0,0,214,216,3,34,17,0,215,213,1,0,0,0,216,219,1,0,0,0,217,215,1,0,0,0,217,218,1,0,0,0,218,25,1,0,0,0,219,217,1,0,0,0,220,223,3,34,17,0,221,223,3,18,9,0,222,220,1,0,0,0,222,221,1,0,0,0,223,224,1,0,0,0,224,225,5,8,0,0,225,227,1,0,0,0,226,222,1,0,0,0,227,230,1,0,0,0,228,226,1,0,0,0,228,229,1,0,0,0,229,233,1,0,0,0,230,228,1,0,0,0,231,234,3,28,14,0,232,234,3,32,16,0,233,231,1,0,0,0,233,232,1,0,0,0,234,27,1,0,0,0,235,236,3,30,15,0,236,237,5,9,0,0,237,242,1,0,0,0,238,239,3,96,48,0,239,240,3,82,41,0,240,242,1,0,0,0,241,235,1,0,0,0,241,238,1,0,0,0,242,243,1,0,0,0,243,244,3,32,16,0,244,29,1,0,0,0,245,247,3,20,10,0,246,245,1,0,0,0,246,247,1,0,0,0,247,249,1,0,0,0,248,250,3,90,45,0,249,248,1,0,0,0,249,250,1,0,0,0,250,251,1,0,0,0,251,264,3,92,46,0,252,253,5,4,0,0,253,258,3,92,46,0,254,255,5,8,0,0,255,257,3,92,46,0,256,254,1,0,0,0,257,260,1,0,0,0,258,256,1,0,0,0,258,259,1,0,0,0,259,261,1,0,0,0,260,258,1,0,0,0,261,262,5,5,0,0,262,264,1,0,0,0,263,246,1,0,0,0,263,252,1,0,0,0,264,31,1,0,0,0,265,270,3,42,21,0,266,270,3,44,22,0,267,270,3,52,26,0,268,270,3,46,23,0,269,265,1,0,0,0,269,266,1,0,0,0,269,267,1,0,0,0,269,268,1,0,0,0,270,33,1,0,0,0,271,272,6,17,-1,0,272,284,3,60,30,0,273,274,7,2,0,0,274,284,3,34,17,12,275,276,5,46,0,0,276,284,3,34,17,11,277,284,3,96,48,0,278,284,3,58,29,0,279,280,5,6,0,0,280,281,3,34,17,0,281,282,5,7,0,0,282,284,1,0,0,0,283,271,1,0,0,0,283,273,1,0,0,0,283,275,1,0,0,0,283,277,1,0,0,0,283,278,1,0,0,0,283,279,1,0,0,0,284,316,1,0,0,0,285,286,10,10,0,0,286,287,7,3,0,0,287,315,3,34,17,11,288,289,10,9,0,0,289,290,7,2,0,0,290,315,3,34,17,10,291,292,10,8,0,0,292,293,7,4,0,0,293,315,3,34,17,9,294,295,10,7,0,0,295,296,7,5,0,0,296,315,3,34,17,8,297,298,10,6,0,0,298,299,5,35,0,0,299,315,3,34,17,7,300,301,10,5,0,0,301,302,5,45,0,0,302,315,3,34,17,6,303,304,10,4,0,0,304,305,5,10,0,0,305,306,3,34,17,0,306,307,5,11,0,0,307,308,3,34,17,4,308,315,1,0,0,0,309,310,10,13,0,0,310,311,5,4,0,0,311,312,3,34,17,0,312,313,5,5,0,0,313,315,1,0,0,0,314,285,1,0,0,0,314,288,1,0,0,0,314,291,1,0,0,0,314,294,1,0,0,0,314,297,1,0,0,0,314,300,1,0,0,0,314,303,1,0,0,0,314,309,1,0,0,0,315,318,1,0,0,0,316,314,1,0,0,0,316,317,1,0,0,0,317,35,1,0,0,0,318,316,1,0,0,0,319,320,5,4,0,0,320,321,3,24,12,0,321,322,5,5,0,0,322,37,1,0,0,0,323,335,5,6,0,0,324,329,3,40,20,0,325,326,5,8,0,0,326,328,3,40,20,0,327,325,1,0,0,0,328,331,1,0,0,0,329,327,1,0,0,0,329,330,1,0,0,0,330,333,1,0,0,0,331,329,1,0,0,0,332,334,5,8,0,0,333,332,1,0,0,0,333,334,1,0,0,0,334,336,1,0,0,0,335,324,1,0,0,0,335,336,1,0,0,0,336,337,1,0,0,0,337,338,5,7,0,0,338,39,1,0,0,0,339,340,3,92,46,0,340,341,5,9,0,0,341,343,1,0,0,0,342,339,1,0,0,0,342,343,1,0,0,0,343,346,1,0,0,0,344,347,3,34,17,0,345,347,3,36,18,0,346,344,1,0,0,0,346,345,1,0,0,0,347,41,1,0,0,0,348,349,5,43,0,0,349,350,3,34,17,0,350,358,3,14,7,0,351,352,5,48,0,0,352,353,5,43,0,0,353,354,3,34,17,0,354,355,3,14,7,0,355,357,1,0,0,0,356,351,1,0,0,0,357,360,1,0,0,0,358,356,1,0,0,0,358,359,1,0,0,0,359,363,1,0,0,0,360,358,1,0,0,0,361,362,5,48,0,0,362,364,3,14,7,0,363,361,1,0,0,0,363,364,1,0,0,0,364,43,1,0,0,0,365,367,5,37,0,0,366,368,3,20,10,0,367,366,1,0,0,0,367,368,1,0,0,0,368,370,1,0,0,0,369,371,3,90,45,0,370,369,1,0,0,0,370,371,1,0,0,0,371,372,1,0,0,0,372,373,3,92,46,0,373,374,5,9,0,0,374,375,3,34,17,0,375,376,5,49,0,0,376,379,3,34,17,0,377,378,5,50,0,0,378,380,3,34,17,0,379,377,1,0,0,0,379,380,1,0,0,0,380,381,1,0,0,0,381,382,3,14,7,0,382,398,1,0,0,0,383,391,5,37,0,0,384,392,3,92,46,0,385,386,5,4,0,0,386,387,3,92,46,0,387,388,5,8,0,0,388,389,3,92,46,0,389,390,5,5,0,0,390,392,1,0,0,0,391,384,1,0,0,0,391,385,1,0,0,0,392,393,1,0,0,0,393,394,5,44,0,0,394,395,3,34,17,0,395,396,3,14,7,0,396,398,1,0,0,0,397,365,1,0,0,0,397,383,1,0,0,0,398,45,1,0,0,0,399,401,5,41,0,0,400,402,3,34,17,0,401,400,1,0,0,0,401,402,1,0,0,0,402,403,1,0,0,0,403,404,5,61,0,0,404,417,5,1,0,0,405,407,3,48,24,0,406,405,1,0,0,0,407,408,1,0,0,0,408,406,1,0,0,0,408,409,1,0,0,0,409,418,1,0,0,0,410,412,3,48,24,0,411,410,1,0,0,0,412,415,1,0,0,0,413,411,1,0,0,0,413,414,1,0,0,0,414,416,1,0,0,0,415,413,1,0,0,0,416,418,3,50,25,0,417,406,1,0,0,0,417,413,1,0,0,0,418,419,1,0,0,0,419,420,5,2,0,0,420,47,1,0,0,0,421,422,3,34,17,0,422,423,5,29,0,0,423,424,3,12,6,0,424,49,1,0,0,0,425,426,5,29,0,0,426,427,3,12,6,0,427,51,1,0,0,0,428,429,5,42,0,0,429,430,3,34,17,0,430,431,3,14,7,0,431,53,1,0,0,0,432,437,3,56,28,0,433,434,5,8,0,0,434,436,3,56,28,0,435,433,1,0,0,0,436,439,1,0,0,0,437,435,1,0,0,0,437,438,1,0,0,0,438,441,1,0,0,0,439,437,1,0,0,0,440,442,5,8,0,0,441,440,1,0,0,0,441,442,1,0,0,0,442,443,1,0,0,0,443,444,5,61,0,0,444,55,1,0,0,0,445,446,5,52,0,0,446,447,3,92,46,0,447,448,5,15,0,0,448,449,3,92,46,0,449,450,5,15,0,0,450,453,5,32,0,0,451,452,5,53,0,0,452,454,3,92,46,0,453,451,1,0,0,0,453,454,1,0,0,0,454,57,1,0,0,0,455,456,7,6,0,0,456,59,1,0,0,0,457,462,3,62,31,0,458,459,5,3,0,0,459,461,3,62,31,0,460,458,1,0,0,0,461,464,1,0,0,0,462,460,1,0,0,0,462,463,1,0,0,0,463,61,1,0,0,0,464,462,1,0,0,0,465,466,3,64,32,0,466,467,3,38,19,0,467,63,1,0,0,0,468,469,3,92,46,0,469,470,5,3,0,0,470,472,1,0,0,0,471,468,1,0,0,0,472,475,1,0,0,0,473,471,1,0,0,0,473,474,1,0,0,0,474,482,1,0,0,0,475,473,1,0,0,0,476,477,5,6,0,0,477,478,3,34,17,0,478,479,5,7,0,0,479,480,5,3,0,0,480,482,1,0,0,0,481,473,1,0,0,0,481,476,1,0,0,0,482,483,1,0,0,0,483,492,3,92,46,0,484,485,5,18,0,0,485,488,3,94,47,0,486,487,5,8,0,0,487,489,3,94,47,0,488,486,1,0,0,0,488,489,1,0,0,0,489,490,1,0,0,0,490,491,5,19,0,0,491,493,1,0,0,0,492,484,1,0,0,0,492,493,1,0,0,0,493,65,1,0,0,0,494,496,5,36,0,0,495,494,1,0,0,0,495,496,1,0,0,0,496,497,1,0,0,0,497,498,3,92,46,0,498,499,3,68,34,0,499,500,5,29,0,0,500,501,3,12,6,0,501,67,1,0,0,0,502,504,5,6,0,0,503,505,3,70,35,0,504,503,1,0,0,0,504,505,1,0,0,0,505,506,1,0,0,0,506,507,5,7,0,0,507,69,1,0,0,0,508,513,3,72,36,0,509,510,5,8,0,0,510,512,3,72,36,0,511,509,1,0,0,0,512,515,1,0,0,0,513,511,1,0,0,0,513,514,1,0,0,0,514,71,1,0,0,0,515,513,1,0,0,0,516,518,3,90,45,0,517,516,1,0,0,0,517,518,1,0,0,0,518,519,1,0,0,0,519,522,3,92,46,0,520,521,5,9,0,0,521,523,3,34,17,0,522,520,1,0,0,0,522,523,1,0,0,0,523,73,1,0,0,0,524,526,5,36,0,0,525,524,1,0,0,0,525,526,1,0,0,0,526,527,1,0,0,0,527,528,5,47,0,0,528,529,3,92,46,0,529,530,3,76,38,0,530,531,5,29,0,0,531,532,3,12,6,0,532,75,1,0,0,0,533,534,5,6,0,0,534,535,3,90,45,0,535,538,3,92,46,0,536,537,5,9,0,0,537,539,3,34,17,0,538,536,1,0,0,0,538,539,1,0,0,0,539,542,1,0,0,0,540,541,5,8,0,0,541,543,3,70,35,0,542,540,1,0,0,0,542,543,1,0,0,0,543,544,1,0,0,0,544,545,5,7,0,0,545,77,1,0,0,0,546,548,5,36,0,0,547,546,1,0,0,0,547,548,1,0,0,0,548,549,1,0,0,0,549,550,5,51,0,0,550,551,3,92,46,0,551,552,5,61,0,0,552,554,5,1,0,0,553,555,3,80,40,0,554,553,1,0,0,0,555,556,1,0,0,0,556,554,1,0,0,0,556,557,1,0,0,0,557,558,1,0,0,0,558,559,5,2,0,0,559,79,1,0,0,0,560,562,5,40,0,0,561,560,1,0,0,0,561,562,1,0,0,0,562,564,1,0,0,0,563,565,3,90,45,0,564,563,1,0,0,0,564,565,1,0,0,0,565,566,1,0,0,0,566,569,3,92,46,0,567,568,5,9,0,0,568,570,3,34,17,0,569,567,1,0,0,0,569,570,1,0,0,0,570,571,1,0,0,0,571,572,5,61,0,0,572,81,1,0,0,0,573,574,7,7,0,0,574,83,1,0,0,0,575,576,5,55,0,0,576,577,5,18,0,0,577,578,3,94,47,0,578,579,5,8,0,0,579,580,3,94,47,0,580,581,5,19,0,0,581,85,1,0,0,0,582,586,3,94,47,0,583,587,3,94,47,0,584,587,3,88,44,0,585,587,3,84,42,0,586,583,1,0,0,0,586,584,1,0,0,0,586,585,1,0,0,0,587,87,1,0,0,0,588,589,3,94,47,0,589,590,5,18,0,0,590,591,3,94,47,0,591,592,5,19,0,0,592,598,1,0,0,0,593,594,3,94,47,0,594,595,5,4,0,0,595,596,5,5,0,0,596,598,1,0,0,0,597,588,1,0,0,0,597,593,1,0,0,0,598,89,1,0,0,0,599,604,3,94,47,0,600,604,3,88,44,0,601,604,3,84,42,0,602,604,3,86,43,0,603,599,1,0,0,0,603,600,1,0,0,0,603,601,1,0,0,0,603,602,1,0,0,0,604,91,1,0,0,0,605,606,7,8,0,0,606,93,1,0,0,0,607,610,3,92,46,0,608,609,5,3,0,0,609,611,3,92,46,0,610,608,1,0,0,0,610,611,1,0,0,0,611,95,1,0,0,0,612,615,3,92,46,0,613,615,3,62,31,0,614,612,1,0,0,0,614,613,1,0,0,0,615,616,1,0,0,0,616,617,5,3,0,0,617,619,1,0,0,0,618,614,1,0,0,0,619,622,1,0,0,0,620,618,1,0,0,0,620,621,1,0,0,0,621,623,1,0,0,0,622,620,1,0,0,0,623,634,3,92,46,0,624,625,5,6,0,0,625,626,3,34,17,0,626,629,5,7,0,0,627,628,5,3,0,0,628,630,3,92,46,0,629,627,1,0,0,0,630,631,1,0,0,0,631,629,1,0,0,0,631,632,1,0,0,0,632,634,1,0,0,0,633,620,1,0,0,0,633,624,1,0,0,0,634,97,1,0,0,0,635,637,5,36,0,0,636,635,1,0,0,0,636,637,1,0,0,0,637,638,1,0,0,0,638,639,5,54,0,0,639,640,3,92,46,0,640,641,5,61,0,0,641,643,5,1,0,0,642,644,3,100,50,0,643,642,1,0,0,0,644,645,1,0,0,0,645,643,1,0,0,0,645,646,1,0,0,0,646,647,1,0,0,0,647,648,5,2,0,0,648,99,1,0,0,0,649,652,3,92,46,0,650,651,5,9,0,0,651,653,5,57,0,0,652,650,1,0,0,0,652,653,1,0,0,0,653,654,1,0,0,0,654,655,5,61,0,0,655,101,1,0,0,0,80,104,106,113,123,130,135,139,144,150,156,161,168,174,179,183,194,200,205,209,217,222,228,233,241,246,249,258,263,269,283,314,316,329,333,335,342,346,358,363,367,370,379,391,397,401,408,413,417,437,441,453,462,473,481,488,492,495,504,513,517,522,525,538,542,547,556,561,564,569,586,597,603,610,614,620,631,633,636,645,652]),I($,"__ATN"),I($,"DecisionsToDFA",$._ATN.decisionToState.map((e,n)=>new tp(e,n)));let j=$;class Vm extends Je{constructor(e,n,r){super(n,r),this.parser=e}EOF(){return this.getToken(j.EOF,0)}NEWLINE_list(){return this.getTokens(j.NEWLINE)}NEWLINE(e){return this.getToken(j.NEWLINE,e)}globalStmt_list(){return this.getTypedRuleContexts(fl)}globalStmt(e){return this.getTypedRuleContext(fl,e)}get ruleIndex(){return j.RULE_program}accept(e){return e.visitProgram?e.visitProgram(this):e.visitChildren(this)}}class fl extends Je{constructor(e,n,r){super(n,r),this.parser=e}variableDeclarationStmt(){return this.getTypedRuleContext(fu,0)}NEWLINE(){return this.getToken(j.NEWLINE,0)}Comma(){return this.getToken(j.Comma,0)}blockStmt(){return this.getTypedRuleContext(ip,0)}importStmt(){return this.getTypedRuleContext(pp,0)}arrowFunction(){return this.getTypedRuleContext(mp,0)}arrowMethod(){return this.getTypedRuleContext(gp,0)}typeStatement(){return this.getTypedRuleContext(bp,0)}enumStatement(){return this.getTypedRuleContext(xp,0)}get ruleIndex(){return j.RULE_globalStmt}accept(e){return e.visitGlobalStmt?e.visitGlobalStmt(this):e.visitChildren(this)}}class ip extends Je{constructor(e,n,r){super(n,r),this.parser=e}varBlockStmt(){return this.getTypedRuleContext(ml,0)}blockExpression(){return this.getTypedRuleContext(hu,0)}variableDeclarationStmt_list(){return this.getTypedRuleContexts(fu)}variableDeclarationStmt(e){return this.getTypedRuleContext(fu,e)}Comma_list(){return this.getTokens(j.Comma)}Comma(e){return this.getToken(j.Comma,e)}get ruleIndex(){return j.RULE_blockStmt}accept(e){return e.visitBlockStmt?e.visitBlockStmt(this):e.visitChildren(this)}}class hl extends Je{constructor(e,n,r){super(n,r),this.parser=e}simpleStmt(){return this.getTypedRuleContext(pl,0)}NEWLINE(){return this.getToken(j.NEWLINE,0)}Comma(){return this.getToken(j.Comma,0)}expressionBlockSequence(){return this.getTypedRuleContext(sp,0)}get ruleIndex(){return j.RULE_stmt}accept(e){return e.visitStmt?e.visitStmt(this):e.visitChildren(this)}}class pl extends Je{constructor(e,n,r){super(n,r),this.parser=e}expressionSequence(){return this.getTypedRuleContext(_l,0)}blockSequence(){return this.getTypedRuleContext(ap,0)}brackethesized(){return this.getTypedRuleContext(yl,0)}flowStmt(){return this.getTypedRuleContext(op,0)}get ruleIndex(){return j.RULE_simpleStmt}accept(e){return e.visitSimpleStmt?e.visitSimpleStmt(this):e.visitChildren(this)}}class op extends Je{constructor(e,n,r){super(n,r),this.parser=e}Break(){return this.getToken(j.Break,0)}Continue(){return this.getToken(j.Continue,0)}get ruleIndex(){return j.RULE_flowStmt}accept(e){return e.visitFlowStmt?e.visitFlowStmt(this):e.visitChildren(this)}}class ls extends Je{constructor(e,n,r){super(n,r),this.parser=e}simpleStmt(){return this.getTypedRuleContext(pl,0)}NEWLINE(){return this.getToken(j.NEWLINE,0)}Comma(){return this.getToken(j.Comma,0)}blockLine(){return this.getTypedRuleContext(Eo,0)}get ruleIndex(){return j.RULE_block}accept(e){return e.visitBlock?e.visitBlock(this):e.visitChildren(this)}}class Eo extends Je{constructor(e,n,r){super(n,r),this.parser=e}NEWLINE(){return this.getToken(j.NEWLINE,0)}INDENT(){return this.getToken(j.INDENT,0)}DEDENT(){return this.getToken(j.DEDENT,0)}stmt_list(){return this.getTypedRuleContexts(hl)}stmt(e){return this.getTypedRuleContext(hl,e)}get ruleIndex(){return j.RULE_blockLine}accept(e){return e.visitBlockLine?e.visitBlockLine(this):e.visitChildren(this)}}class fu extends Je{constructor(e,n,r){super(n,r),this.parser=e}methodStmt_list(){return this.getTypedRuleContexts(du)}methodStmt(e){return this.getTypedRuleContext(du,e)}variableDeclarationList_list(){return this.getTypedRuleContexts(Mi)}variableDeclarationList(e){return this.getTypedRuleContext(Mi,e)}Comma_list(){return this.getTokens(j.Comma)}Comma(e){return this.getToken(j.Comma,e)}get ruleIndex(){return j.RULE_variableDeclarationStmt}accept(e){return e.visitVariableDeclarationStmt?e.visitVariableDeclarationStmt(this):e.visitChildren(this)}}class Mi extends Je{constructor(e,n,r){super(n,r),this.parser=e}get ruleIndex(){return j.RULE_variableDeclarationList}copyFrom(e){super.copyFrom(e)}}class jm extends Mi{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}name(){return this.getTypedRuleContext(_u,0)}assignmentOperator(){return this.getTypedRuleContext(Tl,0)}singleExpression(){return this.getTypedRuleContext(je,0)}accept(e){return e.visitAgainAssign?e.visitAgainAssign(this):e.visitChildren(this)}}class $m extends Mi{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}varArrayDeclaration(){return this.getTypedRuleContext(fs,0)}Assign(){return this.getToken(j.Assign,0)}singleExpression(){return this.getTypedRuleContext(je,0)}accept(e){return e.visitDeclareAssign?e.visitDeclareAssign(this):e.visitChildren(this)}}class dl extends Je{constructor(e,n,r){super(n,r),this.parser=e}Var(){return this.getToken(j.Var,0)}Varip(){return this.getToken(j.Varip,0)}get ruleIndex(){return j.RULE_varModifier}accept(e){return e.visitVarModifier?e.visitVarModifier(this):e.visitChildren(this)}}class ap extends Je{constructor(e,n,r){super(n,r),this.parser=e}singleExpression_list(){return this.getTypedRuleContexts(je)}singleExpression(e){return this.getTypedRuleContext(je,e)}variableDeclarationList_list(){return this.getTypedRuleContexts(Mi)}variableDeclarationList(e){return this.getTypedRuleContext(Mi,e)}Comma_list(){return this.getTokens(j.Comma)}Comma(e){return this.getToken(j.Comma,e)}get ruleIndex(){return j.RULE_blockSequence}accept(e){return e.visitBlockSequence?e.visitBlockSequence(this):e.visitChildren(this)}}class _l extends Je{constructor(e,n,r){super(n,r),this.parser=e}singleExpression_list(){return this.getTypedRuleContexts(je)}singleExpression(e){return this.getTypedRuleContext(je,e)}Comma_list(){return this.getTokens(j.Comma)}Comma(e){return this.getToken(j.Comma,e)}get ruleIndex(){return j.RULE_expressionSequence}accept(e){return e.visitExpressionSequence?e.visitExpressionSequence(this):e.visitChildren(this)}}class sp extends Je{constructor(e,n,r){super(n,r),this.parser=e}varBlockStmt(){return this.getTypedRuleContext(ml,0)}blockExpression(){return this.getTypedRuleContext(hu,0)}Comma_list(){return this.getTokens(j.Comma)}Comma(e){return this.getToken(j.Comma,e)}singleExpression_list(){return this.getTypedRuleContexts(je)}singleExpression(e){return this.getTypedRuleContext(je,e)}variableDeclarationList_list(){return this.getTypedRuleContexts(Mi)}variableDeclarationList(e){return this.getTypedRuleContext(Mi,e)}get ruleIndex(){return j.RULE_expressionBlockSequence}accept(e){return e.visitExpressionBlockSequence?e.visitExpressionBlockSequence(this):e.visitChildren(this)}}class ml extends Je{constructor(e,n,r){super(n,r),this.parser=e}blockExpression(){return this.getTypedRuleContext(hu,0)}varArrayDeclaration(){return this.getTypedRuleContext(fs,0)}Assign(){return this.getToken(j.Assign,0)}name(){return this.getTypedRuleContext(_u,0)}assignmentOperator(){return this.getTypedRuleContext(Tl,0)}get ruleIndex(){return j.RULE_varBlockStmt}accept(e){return e.visitVarBlockStmt?e.visitVarBlockStmt(this):e.visitChildren(this)}}class fs extends Je{constructor(e,n,r){super(n,r),this.parser=e}get ruleIndex(){return j.RULE_varArrayDeclaration}copyFrom(e){super.copyFrom(e)}}class Hm extends fs{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}OpenBracket(){return this.getToken(j.OpenBracket,0)}identifier_list(){return this.getTypedRuleContexts(xn)}identifier(e){return this.getTypedRuleContext(xn,e)}CloseBracket(){return this.getToken(j.CloseBracket,0)}Comma_list(){return this.getTokens(j.Comma)}Comma(e){return this.getToken(j.Comma,e)}accept(e){return e.visitVarMultiple?e.visitVarMultiple(this):e.visitChildren(this)}}class Gm extends fs{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}identifier(){return this.getTypedRuleContext(xn,0)}varModifier(){return this.getTypedRuleContext(dl,0)}typeGather(){return this.getTypedRuleContext(qo,0)}accept(e){return e.visitVarSingle?e.visitVarSingle(this):e.visitChildren(this)}}class hu extends Je{constructor(e,n,r){super(n,r),this.parser=e}ifStatement(){return this.getTypedRuleContext(cp,0)}forStatement(){return this.getTypedRuleContext(pu,0)}whileStatement(){return this.getTypedRuleContext(hp,0)}switchStatement(){return this.getTypedRuleContext(lp,0)}get ruleIndex(){return j.RULE_blockExpression}accept(e){return e.visitBlockExpression?e.visitBlockExpression(this):e.visitChildren(this)}}class je extends Je{constructor(e,n,r){super(n,r),this.parser=e}get ruleIndex(){return j.RULE_singleExpression}copyFrom(e){super.copyFrom(e)}}class Km extends je{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}OpenParen(){return this.getToken(j.OpenParen,0)}singleExpression(){return this.getTypedRuleContext(je,0)}CloseParen(){return this.getToken(j.CloseParen,0)}accept(e){return e.visitParenthesizedExpression?e.visitParenthesizedExpression(this):e.visitChildren(this)}}class zm extends je{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}singleExpression_list(){return this.getTypedRuleContexts(je)}singleExpression(e){return this.getTypedRuleContext(je,e)}Plus(){return this.getToken(j.Plus,0)}Minus(){return this.getToken(j.Minus,0)}accept(e){return e.visitAdditiveExpression?e.visitAdditiveExpression(this):e.visitChildren(this)}}class Wm extends je{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}singleExpression_list(){return this.getTypedRuleContexts(je)}singleExpression(e){return this.getTypedRuleContext(je,e)}LessThan(){return this.getToken(j.LessThan,0)}MoreThan(){return this.getToken(j.MoreThan,0)}LessThanEquals(){return this.getToken(j.LessThanEquals,0)}GreaterThanEquals(){return this.getToken(j.GreaterThanEquals,0)}accept(e){return e.visitRelationalExpression?e.visitRelationalExpression(this):e.visitChildren(this)}}class qm extends je{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}singleExpression_list(){return this.getTypedRuleContexts(je)}singleExpression(e){return this.getTypedRuleContext(je,e)}QuestionMark(){return this.getToken(j.QuestionMark,0)}Colon(){return this.getToken(j.Colon,0)}accept(e){return e.visitTernaryExpression?e.visitTernaryExpression(this):e.visitChildren(this)}}class Xm extends je{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}singleExpression_list(){return this.getTypedRuleContexts(je)}singleExpression(e){return this.getTypedRuleContext(je,e)}And(){return this.getToken(j.And,0)}accept(e){return e.visitLogicalAndExpression?e.visitLogicalAndExpression(this):e.visitChildren(this)}}class Ym extends je{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}name(){return this.getTypedRuleContext(_u,0)}accept(e){return e.visitNameExpression?e.visitNameExpression(this):e.visitChildren(this)}}class Zm extends je{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}literal(){return this.getTypedRuleContext(dp,0)}accept(e){return e.visitLiteralExpression?e.visitLiteralExpression(this):e.visitChildren(this)}}class Qm extends je{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}singleExpression_list(){return this.getTypedRuleContexts(je)}singleExpression(e){return this.getTypedRuleContext(je,e)}Or(){return this.getToken(j.Or,0)}accept(e){return e.visitLogicalOrExpression?e.visitLogicalOrExpression(this):e.visitChildren(this)}}class Jm extends je{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}singleExpression(){return this.getTypedRuleContext(je,0)}Minus(){return this.getToken(j.Minus,0)}Plus(){return this.getToken(j.Plus,0)}accept(e){return e.visitUnaryExpression?e.visitUnaryExpression(this):e.visitChildren(this)}}class ey extends je{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}Not(){return this.getToken(j.Not,0)}singleExpression(){return this.getTypedRuleContext(je,0)}accept(e){return e.visitNotExpression?e.visitNotExpression(this):e.visitChildren(this)}}class ty extends je{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}singleExpression_list(){return this.getTypedRuleContexts(je)}singleExpression(e){return this.getTypedRuleContext(je,e)}OpenBracket(){return this.getToken(j.OpenBracket,0)}CloseBracket(){return this.getToken(j.CloseBracket,0)}accept(e){return e.visitMemberIndexExpression?e.visitMemberIndexExpression(this):e.visitChildren(this)}}class ny extends je{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}methodStmt(){return this.getTypedRuleContext(du,0)}accept(e){return e.visitMethodExpression?e.visitMethodExpression(this):e.visitChildren(this)}}class ry extends je{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}singleExpression_list(){return this.getTypedRuleContexts(je)}singleExpression(e){return this.getTypedRuleContext(je,e)}Equals_(){return this.getToken(j.Equals_,0)}NotEquals(){return this.getToken(j.NotEquals,0)}accept(e){return e.visitEqualityExpression?e.visitEqualityExpression(this):e.visitChildren(this)}}class iy extends je{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}singleExpression_list(){return this.getTypedRuleContexts(je)}singleExpression(e){return this.getTypedRuleContext(je,e)}Multiply(){return this.getToken(j.Multiply,0)}Divide(){return this.getToken(j.Divide,0)}Modulus(){return this.getToken(j.Modulus,0)}accept(e){return e.visitMultiplicativeExpression?e.visitMultiplicativeExpression(this):e.visitChildren(this)}}class yl extends Je{constructor(e,n,r){super(n,r),this.parser=e}OpenBracket(){return this.getToken(j.OpenBracket,0)}expressionSequence(){return this.getTypedRuleContext(_l,0)}CloseBracket(){return this.getToken(j.CloseBracket,0)}get ruleIndex(){return j.RULE_brackethesized}accept(e){return e.visitBrackethesized?e.visitBrackethesized(this):e.visitChildren(this)}}class up extends Je{constructor(e,n,r){super(n,r),this.parser=e}OpenParen(){return this.getToken(j.OpenParen,0)}CloseParen(){return this.getToken(j.CloseParen,0)}argument_list(){return this.getTypedRuleContexts(gl)}argument(e){return this.getTypedRuleContext(gl,e)}Comma_list(){return this.getTokens(j.Comma)}Comma(e){return this.getToken(j.Comma,e)}get ruleIndex(){return j.RULE_arguments}accept(e){return e.visitArguments?e.visitArguments(this):e.visitChildren(this)}}class gl extends Je{constructor(e,n,r){super(n,r),this.parser=e}singleExpression(){return this.getTypedRuleContext(je,0)}brackethesized(){return this.getTypedRuleContext(yl,0)}identifier(){return this.getTypedRuleContext(xn,0)}Assign(){return this.getToken(j.Assign,0)}get ruleIndex(){return j.RULE_argument}accept(e){return e.visitArgument?e.visitArgument(this):e.visitChildren(this)}}class cp extends Je{constructor(e,n,r){super(n,r),this.parser=e}If_list(){return this.getTokens(j.If)}If(e){return this.getToken(j.If,e)}singleExpression_list(){return this.getTypedRuleContexts(je)}singleExpression(e){return this.getTypedRuleContext(je,e)}blockLine_list(){return this.getTypedRuleContexts(Eo)}blockLine(e){return this.getTypedRuleContext(Eo,e)}Else_list(){return this.getTokens(j.Else)}Else(e){return this.getToken(j.Else,e)}get ruleIndex(){return j.RULE_ifStatement}accept(e){return e.visitIfStatement?e.visitIfStatement(this):e.visitChildren(this)}}class pu extends Je{constructor(e,n,r){super(n,r),this.parser=e}get ruleIndex(){return j.RULE_forStatement}copyFrom(e){super.copyFrom(e)}}class oy extends pu{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}For(){return this.getToken(j.For,0)}identifier(){return this.getTypedRuleContext(xn,0)}Assign(){return this.getToken(j.Assign,0)}singleExpression_list(){return this.getTypedRuleContexts(je)}singleExpression(e){return this.getTypedRuleContext(je,e)}To(){return this.getToken(j.To,0)}blockLine(){return this.getTypedRuleContext(Eo,0)}varModifier(){return this.getTypedRuleContext(dl,0)}typeGather(){return this.getTypedRuleContext(qo,0)}By(){return this.getToken(j.By,0)}accept(e){return e.visitForToStatement?e.visitForToStatement(this):e.visitChildren(this)}}class ay extends pu{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}For(){return this.getToken(j.For,0)}In(){return this.getToken(j.In,0)}singleExpression(){return this.getTypedRuleContext(je,0)}blockLine(){return this.getTypedRuleContext(Eo,0)}identifier_list(){return this.getTypedRuleContexts(xn)}identifier(e){return this.getTypedRuleContext(xn,e)}OpenBracket(){return this.getToken(j.OpenBracket,0)}Comma(){return this.getToken(j.Comma,0)}CloseBracket(){return this.getToken(j.CloseBracket,0)}accept(e){return e.visitForInStatement?e.visitForInStatement(this):e.visitChildren(this)}}class lp extends Je{constructor(e,n,r){super(n,r),this.parser=e}Switch(){return this.getToken(j.Switch,0)}NEWLINE(){return this.getToken(j.NEWLINE,0)}INDENT(){return this.getToken(j.INDENT,0)}DEDENT(){return this.getToken(j.DEDENT,0)}singleExpression(){return this.getTypedRuleContext(je,0)}defaultCaluse(){return this.getTypedRuleContext(fp,0)}caseClause_list(){return this.getTypedRuleContexts(vl)}caseClause(e){return this.getTypedRuleContext(vl,e)}get ruleIndex(){return j.RULE_switchStatement}accept(e){return e.visitSwitchStatement?e.visitSwitchStatement(this):e.visitChildren(this)}}class vl extends Je{constructor(e,n,r){super(n,r),this.parser=e}singleExpression(){return this.getTypedRuleContext(je,0)}ARROW(){return this.getToken(j.ARROW,0)}block(){return this.getTypedRuleContext(ls,0)}get ruleIndex(){return j.RULE_caseClause}accept(e){return e.visitCaseClause?e.visitCaseClause(this):e.visitChildren(this)}}class fp extends Je{constructor(e,n,r){super(n,r),this.parser=e}ARROW(){return this.getToken(j.ARROW,0)}block(){return this.getTypedRuleContext(ls,0)}get ruleIndex(){return j.RULE_defaultCaluse}accept(e){return e.visitDefaultCaluse?e.visitDefaultCaluse(this):e.visitChildren(this)}}class hp extends Je{constructor(e,n,r){super(n,r),this.parser=e}While(){return this.getToken(j.While,0)}singleExpression(){return this.getTypedRuleContext(je,0)}blockLine(){return this.getTypedRuleContext(Eo,0)}get ruleIndex(){return j.RULE_whileStatement}accept(e){return e.visitWhileStatement?e.visitWhileStatement(this):e.visitChildren(this)}}class pp extends Je{constructor(e,n,r){super(n,r),this.parser=e}importElement_list(){return this.getTypedRuleContexts(bl)}importElement(e){return this.getTypedRuleContext(bl,e)}NEWLINE(){return this.getToken(j.NEWLINE,0)}Comma_list(){return this.getTokens(j.Comma)}Comma(e){return this.getToken(j.Comma,e)}get ruleIndex(){return j.RULE_importStmt}accept(e){return e.visitImportStmt?e.visitImportStmt(this):e.visitChildren(this)}}class bl extends Je{constructor(e,n,r){super(n,r),this.parser=e}Import(){return this.getToken(j.Import,0)}identifier_list(){return this.getTypedRuleContexts(xn)}identifier(e){return this.getTypedRuleContext(xn,e)}Divide_list(){return this.getTokens(j.Divide)}Divide(e){return this.getToken(j.Divide,e)}IntegerLiteral(){return this.getToken(j.IntegerLiteral,0)}As(){return this.getToken(j.As,0)}get ruleIndex(){return j.RULE_importElement}accept(e){return e.visitImportElement?e.visitImportElement(this):e.visitChildren(this)}}class dp extends Je{constructor(e,n,r){super(n,r),this.parser=e}BooleanLiteral(){return this.getToken(j.BooleanLiteral,0)}ColorLiteral(){return this.getToken(j.ColorLiteral,0)}StringLiteral(){return this.getToken(j.StringLiteral,0)}IntegerLiteral(){return this.getToken(j.IntegerLiteral,0)}DecimalLiteral(){return this.getToken(j.DecimalLiteral,0)}get ruleIndex(){return j.RULE_literal}accept(e){return e.visitLiteral?e.visitLiteral(this):e.visitChildren(this)}}class du extends Je{constructor(e,n,r){super(n,r),this.parser=e}methodElement_list(){return this.getTypedRuleContexts(hs)}methodElement(e){return this.getTypedRuleContext(hs,e)}Point_list(){return this.getTokens(j.Point)}Point(e){return this.getToken(j.Point,e)}get ruleIndex(){return j.RULE_methodStmt}accept(e){return e.visitMethodStmt?e.visitMethodStmt(this):e.visitChildren(this)}}class hs extends Je{constructor(e,n,r){super(n,r),this.parser=e}methodName(){return this.getTypedRuleContext(_p,0)}arguments(){return this.getTypedRuleContext(up,0)}get ruleIndex(){return j.RULE_methodElement}accept(e){return e.visitMethodElement?e.visitMethodElement(this):e.visitChildren(this)}}class _p extends Je{constructor(e,n,r){super(n,r),this.parser=e}identifier_list(){return this.getTypedRuleContexts(xn)}identifier(e){return this.getTypedRuleContext(xn,e)}OpenParen(){return this.getToken(j.OpenParen,0)}singleExpression(){return this.getTypedRuleContext(je,0)}CloseParen(){return this.getToken(j.CloseParen,0)}Point_list(){return this.getTokens(j.Point)}Point(e){return this.getToken(j.Point,e)}LessThan(){return this.getToken(j.LessThan,0)}typeName_list(){return this.getTypedRuleContexts(Ei)}typeName(e){return this.getTypedRuleContext(Ei,e)}MoreThan(){return this.getToken(j.MoreThan,0)}Comma(){return this.getToken(j.Comma,0)}get ruleIndex(){return j.RULE_methodName}accept(e){return e.visitMethodName?e.visitMethodName(this):e.visitChildren(this)}}class mp extends Je{constructor(e,n,r){super(n,r),this.parser=e}identifier(){return this.getTypedRuleContext(xn,0)}arrowFunctionParameters(){return this.getTypedRuleContext(yp,0)}ARROW(){return this.getToken(j.ARROW,0)}block(){return this.getTypedRuleContext(ls,0)}Export(){return this.getToken(j.Export,0)}get ruleIndex(){return j.RULE_arrowFunction}accept(e){return e.visitArrowFunction?e.visitArrowFunction(this):e.visitChildren(this)}}class yp extends Je{constructor(e,n,r){super(n,r),this.parser=e}OpenParen(){return this.getToken(j.OpenParen,0)}CloseParen(){return this.getToken(j.CloseParen,0)}formalParameterList(){return this.getTypedRuleContext(El,0)}get ruleIndex(){return j.RULE_arrowFunctionParameters}accept(e){return e.visitArrowFunctionParameters?e.visitArrowFunctionParameters(this):e.visitChildren(this)}}class El extends Je{constructor(e,n,r){super(n,r),this.parser=e}formalParameterArg_list(){return this.getTypedRuleContexts(xl)}formalParameterArg(e){return this.getTypedRuleContext(xl,e)}Comma_list(){return this.getTokens(j.Comma)}Comma(e){return this.getToken(j.Comma,e)}get ruleIndex(){return j.RULE_formalParameterList}accept(e){return e.visitFormalParameterList?e.visitFormalParameterList(this):e.visitChildren(this)}}class xl extends Je{constructor(e,n,r){super(n,r),this.parser=e}identifier(){return this.getTypedRuleContext(xn,0)}typeGather(){return this.getTypedRuleContext(qo,0)}Assign(){return this.getToken(j.Assign,0)}singleExpression(){return this.getTypedRuleContext(je,0)}get ruleIndex(){return j.RULE_formalParameterArg}accept(e){return e.visitFormalParameterArg?e.visitFormalParameterArg(this):e.visitChildren(this)}}class gp extends Je{constructor(e,n,r){super(n,r),this.parser=e}Method(){return this.getToken(j.Method,0)}identifier(){return this.getTypedRuleContext(xn,0)}arrowMethodParameters(){return this.getTypedRuleContext(vp,0)}ARROW(){return this.getToken(j.ARROW,0)}block(){return this.getTypedRuleContext(ls,0)}Export(){return this.getToken(j.Export,0)}get ruleIndex(){return j.RULE_arrowMethod}accept(e){return e.visitArrowMethod?e.visitArrowMethod(this):e.visitChildren(this)}}class vp extends Je{constructor(e,n,r){super(n,r),this.parser=e}OpenParen(){return this.getToken(j.OpenParen,0)}typeGather(){return this.getTypedRuleContext(qo,0)}identifier(){return this.getTypedRuleContext(xn,0)}CloseParen(){return this.getToken(j.CloseParen,0)}Assign(){return this.getToken(j.Assign,0)}singleExpression(){return this.getTypedRuleContext(je,0)}Comma(){return this.getToken(j.Comma,0)}formalParameterList(){return this.getTypedRuleContext(El,0)}get ruleIndex(){return j.RULE_arrowMethodParameters}accept(e){return e.visitArrowMethodParameters?e.visitArrowMethodParameters(this):e.visitChildren(this)}}class bp extends Je{constructor(e,n,r){super(n,r),this.parser=e}Type(){return this.getToken(j.Type,0)}identifier(){return this.getTypedRuleContext(xn,0)}NEWLINE(){return this.getToken(j.NEWLINE,0)}INDENT(){return this.getToken(j.INDENT,0)}DEDENT(){return this.getToken(j.DEDENT,0)}Export(){return this.getToken(j.Export,0)}typeElement_list(){return this.getTypedRuleContexts(Sl)}typeElement(e){return this.getTypedRuleContext(Sl,e)}get ruleIndex(){return j.RULE_typeStatement}accept(e){return e.visitTypeStatement?e.visitTypeStatement(this):e.visitChildren(this)}}class Sl extends Je{constructor(e,n,r){super(n,r),this.parser=e}identifier(){return this.getTypedRuleContext(xn,0)}NEWLINE(){return this.getToken(j.NEWLINE,0)}Varip(){return this.getToken(j.Varip,0)}typeGather(){return this.getTypedRuleContext(qo,0)}Assign(){return this.getToken(j.Assign,0)}singleExpression(){return this.getTypedRuleContext(je,0)}get ruleIndex(){return j.RULE_typeElement}accept(e){return e.visitTypeElement?e.visitTypeElement(this):e.visitChildren(this)}}class Tl extends Je{constructor(e,n,r){super(n,r),this.parser=e}ColonEquals(){return this.getToken(j.ColonEquals,0)}MultiplyAssign(){return this.getToken(j.MultiplyAssign,0)}DivideAssign(){return this.getToken(j.DivideAssign,0)}ModulusAssign(){return this.getToken(j.ModulusAssign,0)}PlusAssign(){return this.getToken(j.PlusAssign,0)}MinusAssign(){return this.getToken(j.MinusAssign,0)}get ruleIndex(){return j.RULE_assignmentOperator}accept(e){return e.visitAssignmentOperator?e.visitAssignmentOperator(this):e.visitChildren(this)}}class Al extends Je{constructor(e,n,r){super(n,r),this.parser=e}Map(){return this.getToken(j.Map,0)}LessThan(){return this.getToken(j.LessThan,0)}Comma(){return this.getToken(j.Comma,0)}typeName_list(){return this.getTypedRuleContexts(Ei)}typeName(e){return this.getTypedRuleContext(Ei,e)}MoreThan(){return this.getToken(j.MoreThan,0)}get ruleIndex(){return j.RULE_typeMap}accept(e){return e.visitTypeMap?e.visitTypeMap(this):e.visitChildren(this)}}class Ep extends Je{constructor(e,n,r){super(n,r),this.parser=e}typeName_list(){return this.getTypedRuleContexts(Ei)}typeName(e){return this.getTypedRuleContext(Ei,e)}typeArray(){return this.getTypedRuleContext(Cl,0)}typeMap(){return this.getTypedRuleContext(Al,0)}get ruleIndex(){return j.RULE_typeSeries}accept(e){return e.visitTypeSeries?e.visitTypeSeries(this):e.visitChildren(this)}}class Cl extends Je{constructor(e,n,r){super(n,r),this.parser=e}typeName_list(){return this.getTypedRuleContexts(Ei)}typeName(e){return this.getTypedRuleContext(Ei,e)}LessThan(){return this.getToken(j.LessThan,0)}MoreThan(){return this.getToken(j.MoreThan,0)}OpenBracket(){return this.getToken(j.OpenBracket,0)}CloseBracket(){return this.getToken(j.CloseBracket,0)}get ruleIndex(){return j.RULE_typeArray}accept(e){return e.visitTypeArray?e.visitTypeArray(this):e.visitChildren(this)}}class qo extends Je{constructor(e,n,r){super(n,r),this.parser=e}typeName(){return this.getTypedRuleContext(Ei,0)}typeArray(){return this.getTypedRuleContext(Cl,0)}typeMap(){return this.getTypedRuleContext(Al,0)}typeSeries(){return this.getTypedRuleContext(Ep,0)}get ruleIndex(){return j.RULE_typeGather}accept(e){return e.visitTypeGather?e.visitTypeGather(this):e.visitChildren(this)}}class xn extends Je{constructor(e,n,r){super(n,r),this.parser=e}Identifier(){return this.getToken(j.Identifier,0)}Map(){return this.getToken(j.Map,0)}Type(){return this.getToken(j.Type,0)}Enum(){return this.getToken(j.Enum,0)}get ruleIndex(){return j.RULE_identifier}accept(e){return e.visitIdentifier?e.visitIdentifier(this):e.visitChildren(this)}}class Ei extends Je{constructor(e,n,r){super(n,r),this.parser=e}identifier_list(){return this.getTypedRuleContexts(xn)}identifier(e){return this.getTypedRuleContext(xn,e)}Point(){return this.getToken(j.Point,0)}get ruleIndex(){return j.RULE_typeName}accept(e){return e.visitTypeName?e.visitTypeName(this):e.visitChildren(this)}}class _u extends Je{constructor(e,n,r){super(n,r),this.parser=e}identifier_list(){return this.getTypedRuleContexts(xn)}identifier(e){return this.getTypedRuleContext(xn,e)}Point_list(){return this.getTokens(j.Point)}Point(e){return this.getToken(j.Point,e)}methodElement_list(){return this.getTypedRuleContexts(hs)}methodElement(e){return this.getTypedRuleContext(hs,e)}OpenParen(){return this.getToken(j.OpenParen,0)}singleExpression(){return this.getTypedRuleContext(je,0)}CloseParen(){return this.getToken(j.CloseParen,0)}get ruleIndex(){return j.RULE_name}accept(e){return e.visitName?e.visitName(this):e.visitChildren(this)}}class xp extends Je{constructor(e,n,r){super(n,r),this.parser=e}Enum(){return this.getToken(j.Enum,0)}identifier(){return this.getTypedRuleContext(xn,0)}NEWLINE(){return this.getToken(j.NEWLINE,0)}INDENT(){return this.getToken(j.INDENT,0)}DEDENT(){return this.getToken(j.DEDENT,0)}Export(){return this.getToken(j.Export,0)}enumElement_list(){return this.getTypedRuleContexts(Dl)}enumElement(e){return this.getTypedRuleContext(Dl,e)}get ruleIndex(){return j.RULE_enumStatement}accept(e){return e.visitEnumStatement?e.visitEnumStatement(this):e.visitChildren(this)}}class Dl extends Je{constructor(e,n,r){super(n,r),this.parser=e}identifier(){return this.getTypedRuleContext(xn,0)}NEWLINE(){return this.getToken(j.NEWLINE,0)}Assign(){return this.getToken(j.Assign,0)}StringLiteral(){return this.getToken(j.StringLiteral,0)}get ruleIndex(){return j.RULE_enumElement}accept(e){return e.visitEnumElement?e.visitEnumElement(this):e.visitChildren(this)}}class sy extends Im{constructor(n){super(n);I(this,"tokens");I(this,"indents");I(this,"opened");this.tokens=[],this.indents=[],this.opened=0}reset(){this.tokens=[],this.indents=[],this.opened=0,super.reset()}emitToken(n){super.emitToken(n),this.tokens.push(n)}nextToken(){if(this._input.LA(1)===j.EOF&&this.indents.length){for(this.tokens=this.tokens.filter(function(r){return r.type!==j.EOF}),this.emitToken(this.commonToken(j.NEWLINE,`
11
- `));this.indents.length;)this.emitToken(this.createDedent()),this.indents.pop();this.emitToken(this.commonToken(j.EOF,"<EOF>"))}const n=super.nextToken();return this.tokens.length?this.tokens.shift():n}createDedent(){return this.commonToken(j.DEDENT,"")}getCharIndex(){return this._input.index}commonToken(n,r){const a=this.getCharIndex()-1,c=r.length?a-r.length+1:a;return new Om([this,this._input],n,0,c,a)}getIndentationCount(n){let r=0;for(let a=0;a<n.length;a++)n[a]===" "?r+=4-r%4:r++;return r}atStartOfInput(){return this.getCharIndex()===0}openBrace(){this.opened++}closeBrace(){this.opened--}onNewLine(){const n=this.text.replace(/[^\r\n]+/g,""),r=this.text.replace(/[\r\n]+/g,""),a=this._input.LA(1),c=this._input.LA(2),f=this.getIndentationCount(r);if(this.opened>0||c!=-1&&(a===13||a===10||a===47&&c===47||f%4))this.skip();else{this.emitToken(this.commonToken(j.NEWLINE,n));const p=this.indents.length?this.indents[this.indents.length-1]:0;if(f===p)this.skip();else if(f>p)this.indents.push(f),this.emitToken(this.commonToken(j.INDENT,r));else for(;this.indents.length&&this.indents[this.indents.length-1]>f;)this.emitToken(this.createDedent()),this.indents.pop()}}}const Ie=class Ie extends sy{constructor(e){super(e),this._interp=new Pm(this,Ie._ATN,Ie.DecisionsToDFA,new np)}get grammarFileName(){return"tccScriptLexer.g4"}get literalNames(){return Ie.literalNames}get symbolicNames(){return Ie.symbolicNames}get ruleNames(){return Ie.ruleNames}get serializedATN(){return Ie._serializedATN}get channelNames(){return Ie.channelNames}get modeNames(){return Ie.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 Ie.__ATN||(Ie.__ATN=new ep().deserialize(Ie._serializedATN)),Ie.__ATN}};I(Ie,"INDENT",1),I(Ie,"DEDENT",2),I(Ie,"Point",3),I(Ie,"OpenBracket",4),I(Ie,"CloseBracket",5),I(Ie,"OpenParen",6),I(Ie,"CloseParen",7),I(Ie,"Comma",8),I(Ie,"Assign",9),I(Ie,"QuestionMark",10),I(Ie,"Colon",11),I(Ie,"Plus",12),I(Ie,"Minus",13),I(Ie,"Multiply",14),I(Ie,"Divide",15),I(Ie,"Modulus",16),I(Ie,"Hashtag",17),I(Ie,"LessThan",18),I(Ie,"MoreThan",19),I(Ie,"LessThanEquals",20),I(Ie,"GreaterThanEquals",21),I(Ie,"Equals_",22),I(Ie,"NotEquals",23),I(Ie,"MultiplyAssign",24),I(Ie,"DivideAssign",25),I(Ie,"ModulusAssign",26),I(Ie,"PlusAssign",27),I(Ie,"MinusAssign",28),I(Ie,"ARROW",29),I(Ie,"ColonEquals",30),I(Ie,"BooleanLiteral",31),I(Ie,"IntegerLiteral",32),I(Ie,"DecimalLiteral",33),I(Ie,"Break",34),I(Ie,"And",35),I(Ie,"Export",36),I(Ie,"For",37),I(Ie,"Var",38),I(Ie,"Continue",39),I(Ie,"Varip",40),I(Ie,"Switch",41),I(Ie,"While",42),I(Ie,"If",43),I(Ie,"In",44),I(Ie,"Or",45),I(Ie,"Not",46),I(Ie,"Method",47),I(Ie,"Else",48),I(Ie,"To",49),I(Ie,"By",50),I(Ie,"Type",51),I(Ie,"Import",52),I(Ie,"As",53),I(Ie,"Enum",54),I(Ie,"Map",55),I(Ie,"ColorLiteral",56),I(Ie,"StringLiteral",57),I(Ie,"Identifier",58),I(Ie,"HIDDEN_",59),I(Ie,"COMMENT_",60),I(Ie,"NEWLINE",61),I(Ie,"EOF",rp.EOF),I(Ie,"channelNames",["DEFAULT_TOKEN_CHANNEL","HIDDEN"]),I(Ie,"literalNames",[null,null,null,"'.'","'['","']'","'('","')'","','","'='","'?'","':'","'+'","'-'","'*'","'/'","'%'","'#'","'<'","'>'","'<='","'>='","'=='","'!='","'*='","'/='","'%='","'+='","'-='","'=>'","':='",null,null,null,"'break'","'and'","'export'","'for'","'var'","'continue'","'varip'","'switch'","'while'","'if'","'in'","'or'","'not'","'method'","'else'","'to'","'by'","'type'","'import'","'as'","'enum'","'map'"]),I(Ie,"symbolicNames",[null,"INDENT","DEDENT","Point","OpenBracket","CloseBracket","OpenParen","CloseParen","Comma","Assign","QuestionMark","Colon","Plus","Minus","Multiply","Divide","Modulus","Hashtag","LessThan","MoreThan","LessThanEquals","GreaterThanEquals","Equals_","NotEquals","MultiplyAssign","DivideAssign","ModulusAssign","PlusAssign","MinusAssign","ARROW","ColonEquals","BooleanLiteral","IntegerLiteral","DecimalLiteral","Break","And","Export","For","Var","Continue","Varip","Switch","While","If","In","Or","Not","Method","Else","To","By","Type","Import","As","Enum","Map","ColorLiteral","StringLiteral","Identifier","HIDDEN_","COMMENT_","NEWLINE"]),I(Ie,"modeNames",["DEFAULT_MODE"]),I(Ie,"ruleNames",["Point","OpenBracket","CloseBracket","OpenParen","CloseParen","Comma","Assign","QuestionMark","Colon","Plus","Minus","Multiply","Divide","Modulus","Hashtag","LessThan","MoreThan","LessThanEquals","GreaterThanEquals","Equals_","NotEquals","MultiplyAssign","DivideAssign","ModulusAssign","PlusAssign","MinusAssign","ARROW","ColonEquals","BooleanLiteral","IntegerLiteral","DecimalLiteral","Break","And","Export","For","Var","Continue","Varip","Switch","While","If","In","Or","Not","Method","Else","To","By","Type","Import","As","Enum","Map","ColorLiteral","StringLiteral","Identifier","HIDDEN_","COMMENT_","NEWLINE","SHORT_STRING","DIGIT","DIGITS","HEX_DIGIT","SPACES","COMMENT","EXP"]),I(Ie,"_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]),I(Ie,"__ATN"),I(Ie,"DecisionsToDFA",Ie._ATN.decisionToState.map((e,n)=>new tp(e,n)));let kl=Ie;var z=(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))(z||{}),ye=(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))(ye||{}),Zt=(t=>(t.description="description",t.field="field",t.function="function",t.param="param",t.returns="returns",t.type="type",t.variable="variable",t.enum="enum",t))(Zt||{}),Ui=(t=>(t.library="library",t.indicator="indicator",t.strategy="strategy",t))(Ui||{});const xe={onlyInLoop:"'$text' is only allowed inside loops",invalidType:"Invalid argument 'expr$index' in 'operator SQBR' call",typeUseError:"Cannot specify a type form '$text' without also specifying the type.",notTypeKeyword:"'$text' is not a valid type keyword in variable declaration",undeclared:"Undeclared identifier '$name'",repeatVar:"'$name' is already defined",typeRepeatErr:"$keyword '$name' is already defined.",typeMismatch:"Cannot call '$operator' with argument '$index'. An argument of '$typeE' type was used but a '$typeR' is expected.",assignTypeMismatch:"Cannot assign a value of the `$typeE` type to the '$name' variable. The variable is declared with the `$typeR` type.",voidNotVar:"Void expression cannot be assigned to a variable",declareTypeErr:"Declared type '$type' is not compatible with assigned type '$valueType'",mapKeyValErr:"Cannot put <$typeA, $typeB> pairs into a map containing `$typeC` keys and `$typeD` values. The maps passed into the `$name()` function must have the same key types and value types.",inputSourceErr:"Invalid value for the '$name' parameter of the '$funcName' function. Possible values: [open, high, low, close, hl2, hlc3, ohlc4, hlcc4, volume].",buildInUseErr:"Cannot use '$name' as the default value of a type's field. The default value cannot be a function, variable or calculation.",argsLenErr:"Too many arguments passed into the `$name()` function call. Passed $lenA arguments but expected $lenB.",requiredParamErr:"No value assigned to the `$argName` parameter in $name()",argsSyntaxErr:"Syntax error after the argument for `$argName`. Arguments without their parameter name cannot be used after arguments with parameter names.",requestArgsErr:"Type $type cannot be used in $name '$argName' argument",mapKeyErr:"Incorrect `key` type `$type` in the variable. The `key` type must be one of the following: int, float, string, bool, color.",templateErr:"Incorrect number of arguments for the template: $countA expected, $countB passed.",templateNoSupportErr:"The '$name()' function does not support templates",ifOrSwitchTypeErr:"Return type of one of the '$keyword' blocks is not compatible with return type of other block(s) ($types)",argsNameErr:"The '$name' function does not have an argument with the name '$argName'",noFiledErr:"Object has no field $name",methodNotExistErr:"Could not find method or method reference '$methodName' for '$name'",tupleVarErr:"Syntax error: The quantities of tuple elements on each side of the assignment operator do not match. The right side has $indexA but the left side has $indexB.",tupleLeftVarErr:"Invalid assignment. Cannot assign a tuple to a variable '$name'.",tupleRightVarErr:"Cannot assign a variable to a tuple. The right side must be a function call or structure ('if', 'switch', 'for', 'while') returning a tuple with the same number of elements.",tempateTypeErr:"Syntax error: Only templates for arrays and matrices consist of a single type identifier enclosed in angle brackets.",qualifierErr:"'$name' is not a valid type qualifier. Possible values: 'const', 'simple', 'series'",notFindFuncErr:"Could not find function or function reference '$name'",naVarErr:"Value with NA type cannot be assigned to a variable that was defined without type keyword",notHistoryErr:"Variable '$name' doesn't have history values",defaultValueErr:"The default value cannot be a function, variable or calculation.",defaultValueTypeErr:"Default value of type $typeE can not be assigned to an argument of type $typeR",typeFieldErr:"In a type declaration, all fields without a default value must be explicitly typified.",unaryErr:"Syntax error at input '$sign'",funcArgAssignErr:"Function arguments cannot be mutable ('$name')",declaredErr:"A variable declared with the '$prefix' keyword cannot accept values of the '$type' form. Assign a '$prefix' value to this variable or remove the '$prefix' keyword from its declaration.",globalFuncErr:"Cannot use '$name' in local scope",onlyStatementErr:"Scripts must contain one declaration statement: `indicator()`, `strategy()` or `library()`, Your script has $count.",modifyGlobalVarErr:"Cannot modify global variable '$name' in function",inputDefvalErr:"Arguments of input function must be of constant type, or 'source' builtin variables.",objectIsNaErr:"Cannot access the '$name' $type of an na object. The object is 'na'.",buidinAssignErr:"Cannot assign a new value to the built-in variable '$name'.",buidinVarErr:"Cannot shadow the built-in variable `$name` because it has already been used as a built-in.",useNaErr:"Cannot use an `na` value of an unspecified type in the `$name` function.",libraryTitleErr:"Invalid argument 'title' in 'library' call. It cannot contain spaces, special characters or begin with a digit.",exportFuncArgErr:"All exported functions args should be typified",indiRunErr:"An indicator must contain at least one of the following: any `plot*()` function, `barcolor()`, `bgcolor()`, `hline()`, `alertcondition()`, or any drawing (line, label, box, table, polyline).",libraryExportErr:"A library must contain at least one exported function, method, or type.",strategyRunErr:"A strategy must contain at least one of the following: any `strategy.*()` function that creates orders, any `plot*()` function, `barcolor()`, `bgcolor()`, `hline()`, or any drawing (line, label, box, table, polyline).",exportUseErr:"Only libraries can contain exported $type.",funcRepeatErr:"The '$name' function has overloads with the same parameters. The type of parameters must be different in overloaded versions of functions.",importMultipleErr:"Cannot import a library more than once",importNotExitErr:"The user '$username' does not have a published library titled '$libraryName'",importNameRepeatErr:"More than one import uses the same alias: $name. Previous usage at line: $line",exportFuncHasInputErr:"The exported function '$func' depends on the '$name' input variable, which is not allowed.",libraryTitleIsKeywordErr:"Invalid argument 'title' in 'library' call. Token: '$name' can't be used as library title.",exportFuncUseGlobalVarErr:"Cannot use global variables in exported functions. Function: $func",loopRuntimeErr:"Loop takes too long to execute (> 500 ms)",paramsErr:"Invalid value '$value' for '$param' parameter of the '$func' function. Possible values: $targetVal",displayErr:"Invalid argument 'display' in '$func' call. Possible values: $values",exportFuncUseReqErr:"Cannot use `request.*()` call in exported function `$name()`",requestExprErr:"Type series $type cannot be used in $name 'expression' argument",argDefaultErr:"The default value assigned to a parameter must be either a literal value (e.g., `5`) or a built-in variable (e.g., `close`)",overloadFuncErr:"Cannot use global variables or any values qualified as 'input' in the local scopes of overloaded functions or methods. Remove any global variables or inputs from the scopes of all '$name()' overloads.",againAssignErr:"Unable to determine the object for the field assignment. Try putting the object into a separate variable before assigning values to its fields.",requestUserInLoopErr:"Cannot use `request.*()` call within loops or conditional structures.",enumVarNameErr:"Invalid enum name '$name': `bool`, `int`, `float`, `string`, and `color` are not allowed.",enumVarNameBuiltinErr:"Invalid object name: $name. Namespaces of built-ins cannot be used.",typeNameErr:"Invalid user-defined type name '$name': `bool`, `int`, `float`, `string`, and `color` are not allowed.",enumUseErr:"Cannot use the '$name' as a value. Use one of the enum's fields instead.",conditionalErr:"'$name' conditional expression must be of a bool type!",fortoErr:'The value of the "for" loop must be a number.',indicatorUseStrategyFuncErr:"You cannot use strategy $type ($name) in indicator script.",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"},Ir={repeatVar:"Shadowing variable '$name' which exists in parent scope. Did you want to use the ':=' operator instead of '=' ?",typeMismatch:"The `$index` parameter of the `$operator` function accepts a '$type' argument. To avoid potential unexpected results, pass a '$type' value or expression to this parameter.",moreSameArg:"More than one '$arg' arguments are supplied. Only the first one will be used.",localScopeGetHistory:"The variable '$name' is declared in local scope, which may not be executed at every update. So, obtaining its historical values may lead to unexpected results",localScopeWarning:"The function '$name' should be called on each calculation for consistency. It is recommended to extract the call from this scope",strategyCalcTickWarn:"Strategies without `calc_on_every_tick = true` only calculate on confirmed chart bars. In this case, `barstate.islast` may not initially return `true` on realtime bars, as the last bar is unconfirmed until it closes. If you need to check whether a bar is the latest before it closes, enable `calc_on_every_tick` in the `strategy()` function.",conditionWarning:"The `condition` parameter of the `$name` accepts a 'bool' argument. To avoid potential unexpected results, pass a 'bool' value or expression to this parameter."},Vi=[z.SERIES,z.SIMPLE,z.INPUT,z.CONST],mu=[z.INT,z.FLOAT,z.BOOL,z.COLOR,z.STRING],Ol=["indicator","strategy","library"],wl=["plot","plotbar","plotchar","plotarrow","plotshape","plotcandle","hline","alertcondition","barcolor","bgcolor","fill"],uy=[...wl,"indicator","library","strategy","strategy.risk.max_drawdown","strategy.risk.allow_entry_in","strategy.risk.max_cons_loss_days","max_intraday_filled_orders","strategy.risk.max_intraday_loss","strategy.risk.max_position_size"],cy=[...wl,"table.new","label.new","line.new","box.new","polyline.new","linefill.new"],ly=["strategy.entry","strategy.order","strategy.exit","strategy.close","strategy.cancel","strategy.close_all","strategy.cancel_all"],Sp=["strategy","input","table","color","line","linefill","label","box"],Rl=["close","open","high","low","hl2","hlc3","hlcc4","ohlc4","volume"],fy=/^\/\/\s*@(description|field|function|param|returns|type|enum|variable)/,Nn=["case","catch","default","delete","do","finally","function","instanceof","new","return","this","throw","try","typeof","void","with"],Tp=["session","ta","syminfo","timeframe","strategy","barstate","label","line","linefill","box","table","chart","earnings","polyline","math","adjustment","hline","position","size","plot","format","dayofweek","shape","location","scale","currency","barmerge","xloc","yloc","extend","display","text","font","order","alert","dividends","splits","color","input","str","request","ticker","array","matrix","runtime","log","map"];var Tt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function hy(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var a=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,a.get?a:{enumerable:!0,get:function(){return t[r]}})}),n}var py={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(Tt,function(){var n=1e3,r=6e4,a=36e5,c="millisecond",f="second",p="minute",E="hour",b="day",T="week",x="month",w="quarter",F="year",R="date",v="Invalid Date",d=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,A={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(se){var re=["th","st","nd","rd"],ue=se%100;return"["+se+(re[(ue-20)%10]||re[ue]||re[0])+"]"}},O=function(se,re,ue){var ce=String(se);return!ce||ce.length>=re?se:""+Array(re+1-ce.length).join(ue)+se},D={s:O,z:function(se){var re=-se.utcOffset(),ue=Math.abs(re),ce=Math.floor(ue/60),Ee=ue%60;return(re<=0?"+":"-")+O(ce,2,"0")+":"+O(Ee,2,"0")},m:function se(re,ue){if(re.date()<ue.date())return-se(ue,re);var ce=12*(ue.year()-re.year())+(ue.month()-re.month()),Ee=re.clone().add(ce,x),Te=ue-Ee<0,_e=re.clone().add(ce+(Te?-1:1),x);return+(-(ce+(ue-Ee)/(Te?Ee-_e:_e-Ee))||0)},a:function(se){return se<0?Math.ceil(se)||0:Math.floor(se)},p:function(se){return{M:x,y:F,w:T,d:b,D:R,h:E,m:p,s:f,ms:c,Q:w}[se]||String(se||"").toLowerCase().replace(/s$/,"")},u:function(se){return se===void 0}},P="en",U={};U[P]=A;var H="$isDayjsObject",B=function(se){return se instanceof Y||!(!se||!se[H])},G=function se(re,ue,ce){var Ee;if(!re)return P;if(typeof re=="string"){var Te=re.toLowerCase();U[Te]&&(Ee=Te),ue&&(U[Te]=ue,Ee=Te);var _e=re.split("-");if(!Ee&&_e.length>1)return se(_e[0])}else{var oe=re.name;U[oe]=re,Ee=oe}return!ce&&Ee&&(P=Ee),Ee||!ce&&P},N=function(se,re){if(B(se))return se.clone();var ue=typeof re=="object"?re:{};return ue.date=se,ue.args=arguments,new Y(ue)},K=D;K.l=G,K.i=B,K.w=function(se,re){return N(se,{locale:re.$L,utc:re.$u,x:re.$x,$offset:re.$offset})};var Y=function(){function se(ue){this.$L=G(ue.locale,null,!0),this.parse(ue),this.$x=this.$x||ue.x||{},this[H]=!0}var re=se.prototype;return re.parse=function(ue){this.$d=function(ce){var Ee=ce.date,Te=ce.utc;if(Ee===null)return new Date(NaN);if(K.u(Ee))return new Date;if(Ee instanceof Date)return new Date(Ee);if(typeof Ee=="string"&&!/Z$/i.test(Ee)){var _e=Ee.match(d);if(_e){var oe=_e[2]-1||0,Z=(_e[7]||"0").substring(0,3);return Te?new Date(Date.UTC(_e[1],oe,_e[3]||1,_e[4]||0,_e[5]||0,_e[6]||0,Z)):new Date(_e[1],oe,_e[3]||1,_e[4]||0,_e[5]||0,_e[6]||0,Z)}}return new Date(Ee)}(ue),this.init()},re.init=function(){var ue=this.$d;this.$y=ue.getFullYear(),this.$M=ue.getMonth(),this.$D=ue.getDate(),this.$W=ue.getDay(),this.$H=ue.getHours(),this.$m=ue.getMinutes(),this.$s=ue.getSeconds(),this.$ms=ue.getMilliseconds()},re.$utils=function(){return K},re.isValid=function(){return this.$d.toString()!==v},re.isSame=function(ue,ce){var Ee=N(ue);return this.startOf(ce)<=Ee&&Ee<=this.endOf(ce)},re.isAfter=function(ue,ce){return N(ue)<this.startOf(ce)},re.isBefore=function(ue,ce){return this.endOf(ce)<N(ue)},re.$g=function(ue,ce,Ee){return K.u(ue)?this[ce]:this.set(Ee,ue)},re.unix=function(){return Math.floor(this.valueOf()/1e3)},re.valueOf=function(){return this.$d.getTime()},re.startOf=function(ue,ce){var Ee=this,Te=!!K.u(ce)||ce,_e=K.p(ue),oe=function(ht,wt){var yt=K.w(Ee.$u?Date.UTC(Ee.$y,wt,ht):new Date(Ee.$y,wt,ht),Ee);return Te?yt:yt.endOf(b)},Z=function(ht,wt){return K.w(Ee.toDate()[ht].apply(Ee.toDate("s"),(Te?[0,0,0,0]:[23,59,59,999]).slice(wt)),Ee)},J=this.$W,te=this.$M,ve=this.$D,me="set"+(this.$u?"UTC":"");switch(_e){case F:return Te?oe(1,0):oe(31,11);case x:return Te?oe(1,te):oe(0,te+1);case T:var Ze=this.$locale().weekStart||0,Ve=(J<Ze?J+7:J)-Ze;return oe(Te?ve-Ve:ve+(6-Ve),te);case b:case R:return Z(me+"Hours",0);case E:return Z(me+"Minutes",1);case p:return Z(me+"Seconds",2);case f:return Z(me+"Milliseconds",3);default:return this.clone()}},re.endOf=function(ue){return this.startOf(ue,!1)},re.$set=function(ue,ce){var Ee,Te=K.p(ue),_e="set"+(this.$u?"UTC":""),oe=(Ee={},Ee[b]=_e+"Date",Ee[R]=_e+"Date",Ee[x]=_e+"Month",Ee[F]=_e+"FullYear",Ee[E]=_e+"Hours",Ee[p]=_e+"Minutes",Ee[f]=_e+"Seconds",Ee[c]=_e+"Milliseconds",Ee)[Te],Z=Te===b?this.$D+(ce-this.$W):ce;if(Te===x||Te===F){var J=this.clone().set(R,1);J.$d[oe](Z),J.init(),this.$d=J.set(R,Math.min(this.$D,J.daysInMonth())).$d}else oe&&this.$d[oe](Z);return this.init(),this},re.set=function(ue,ce){return this.clone().$set(ue,ce)},re.get=function(ue){return this[K.p(ue)]()},re.add=function(ue,ce){var Ee,Te=this;ue=Number(ue);var _e=K.p(ce),oe=function(te){var ve=N(Te);return K.w(ve.date(ve.date()+Math.round(te*ue)),Te)};if(_e===x)return this.set(x,this.$M+ue);if(_e===F)return this.set(F,this.$y+ue);if(_e===b)return oe(1);if(_e===T)return oe(7);var Z=(Ee={},Ee[p]=r,Ee[E]=a,Ee[f]=n,Ee)[_e]||1,J=this.$d.getTime()+ue*Z;return K.w(J,this)},re.subtract=function(ue,ce){return this.add(-1*ue,ce)},re.format=function(ue){var ce=this,Ee=this.$locale();if(!this.isValid())return Ee.invalidDate||v;var Te=ue||"YYYY-MM-DDTHH:mm:ssZ",_e=K.z(this),oe=this.$H,Z=this.$m,J=this.$M,te=Ee.weekdays,ve=Ee.months,me=Ee.meridiem,Ze=function(wt,yt,St,Ct){return wt&&(wt[yt]||wt(ce,Te))||St[yt].slice(0,Ct)},Ve=function(wt){return K.s(oe%12||12,wt,"0")},ht=me||function(wt,yt,St){var Ct=wt<12?"AM":"PM";return St?Ct.toLowerCase():Ct};return Te.replace(g,function(wt,yt){return yt||function(St){switch(St){case"YY":return String(ce.$y).slice(-2);case"YYYY":return K.s(ce.$y,4,"0");case"M":return J+1;case"MM":return K.s(J+1,2,"0");case"MMM":return Ze(Ee.monthsShort,J,ve,3);case"MMMM":return Ze(ve,J);case"D":return ce.$D;case"DD":return K.s(ce.$D,2,"0");case"d":return String(ce.$W);case"dd":return Ze(Ee.weekdaysMin,ce.$W,te,2);case"ddd":return Ze(Ee.weekdaysShort,ce.$W,te,3);case"dddd":return te[ce.$W];case"H":return String(oe);case"HH":return K.s(oe,2,"0");case"h":return Ve(1);case"hh":return Ve(2);case"a":return ht(oe,Z,!0);case"A":return ht(oe,Z,!1);case"m":return String(Z);case"mm":return K.s(Z,2,"0");case"s":return String(ce.$s);case"ss":return K.s(ce.$s,2,"0");case"SSS":return K.s(ce.$ms,3,"0");case"Z":return _e}return null}(wt)||_e.replace(":","")})},re.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},re.diff=function(ue,ce,Ee){var Te,_e=this,oe=K.p(ce),Z=N(ue),J=(Z.utcOffset()-this.utcOffset())*r,te=this-Z,ve=function(){return K.m(_e,Z)};switch(oe){case F:Te=ve()/12;break;case x:Te=ve();break;case w:Te=ve()/3;break;case T:Te=(te-J)/6048e5;break;case b:Te=(te-J)/864e5;break;case E:Te=te/a;break;case p:Te=te/r;break;case f:Te=te/n;break;default:Te=te}return Ee?Te:K.a(Te)},re.daysInMonth=function(){return this.endOf(x).$D},re.$locale=function(){return U[this.$L]},re.locale=function(ue,ce){if(!ue)return this.$L;var Ee=this.clone(),Te=G(ue,ce,!0);return Te&&(Ee.$L=Te),Ee},re.clone=function(){return K.w(this.$d,this)},re.toDate=function(){return new Date(this.valueOf())},re.toJSON=function(){return this.isValid()?this.toISOString():null},re.toISOString=function(){return this.$d.toISOString()},re.toString=function(){return this.$d.toUTCString()},se}(),ne=Y.prototype;return N.prototype=ne,[["$ms",c],["$s",f],["$m",p],["$H",E],["$W",b],["$M",x],["$y",F],["$D",R]].forEach(function(se){ne[se[1]]=function(re){return this.$g(re,se[0],se[1])}}),N.extend=function(se,re){return se.$i||(se(re,Y,N),se.$i=!0),N},N.locale=G,N.isDayjs=B,N.unix=function(se){return N(1e3*se)},N.en=U[P],N.Ls=U,N.p={},N})})(py);function Se(t,e){return t.replace(/\$(\w+)/g,(n,r)=>String(e[r])||n)}class dy extends Bm{constructor(){super(...arguments);I(this,"visitProgram");I(this,"visitGlobalStmt");I(this,"visitBlockStmt");I(this,"visitStmt");I(this,"visitSimpleStmt");I(this,"visitFlowStmt");I(this,"visitBlock");I(this,"visitBlockLine");I(this,"visitVariableDeclarationStmt");I(this,"visitDeclareAssign");I(this,"visitAgainAssign");I(this,"visitVarModifier");I(this,"visitBlockSequence");I(this,"visitExpressionSequence");I(this,"visitExpressionBlockSequence");I(this,"visitVarBlockStmt");I(this,"visitVarSingle");I(this,"visitVarMultiple");I(this,"visitBlockExpression");I(this,"visitParenthesizedExpression");I(this,"visitAdditiveExpression");I(this,"visitRelationalExpression");I(this,"visitTernaryExpression");I(this,"visitLogicalAndExpression");I(this,"visitNameExpression");I(this,"visitLiteralExpression");I(this,"visitLogicalOrExpression");I(this,"visitUnaryExpression");I(this,"visitNotExpression");I(this,"visitMemberIndexExpression");I(this,"visitMethodExpression");I(this,"visitEqualityExpression");I(this,"visitMultiplicativeExpression");I(this,"visitBrackethesized");I(this,"visitArguments");I(this,"visitArgument");I(this,"visitIfStatement");I(this,"visitForToStatement");I(this,"visitForInStatement");I(this,"visitSwitchStatement");I(this,"visitCaseClause");I(this,"visitDefaultCaluse");I(this,"visitWhileStatement");I(this,"visitImportStmt");I(this,"visitImportElement");I(this,"visitLiteral");I(this,"visitMethodStmt");I(this,"visitMethodElement");I(this,"visitMethodName");I(this,"visitArrowFunction");I(this,"visitArrowFunctionParameters");I(this,"visitFormalParameterList");I(this,"visitFormalParameterArg");I(this,"visitArrowMethod");I(this,"visitArrowMethodParameters");I(this,"visitTypeStatement");I(this,"visitTypeElement");I(this,"visitAssignmentOperator");I(this,"visitTypeMap");I(this,"visitTypeSeries");I(this,"visitTypeArray");I(this,"visitTypeGather");I(this,"visitIdentifier");I(this,"visitTypeName");I(this,"visitName");I(this,"visitEnumStatement");I(this,"visitEnumElement")}}class _y extends dy{constructor(n){super();I(this,"_buildinVariables");I(this,"_buildinTypes");I(this,"_buildinConstants");I(this,"_buildinMethods");I(this,"_buildinFunctions");this._buildinVariables=new Map,this._buildinConstants=new Map,this._buildinFunctions=new Map,this._buildinTypes=new Map,this._buildinMethods=new Map,this._buildinHandle(n)}_buildinHandle(n){for(const r in n){const a=new Map(Object.entries(n[r]));switch(r){case"constants":this._buildinConstants=a;break;case"functions":this._buildinFunctions=a;break;case"methods":this._buildinMethods=a;break;case"types":this._buildinTypes=a;break;case"variables":this._buildinVariables=a;break}}}_typeHandle(n=[],r){if(!n.length)return z.UNDETERMINED;if(n=n.filter(f=>!f.endsWith(z.NA)),!n.length)return`${z.SIMPLE} ${z.NA}`;let a=100,c="";for(const f of n){if(f===z.UNDETERMINED)return z.UNDETERMINED;f.startsWith(z.SERIES)?a=0:f.startsWith(z.SIMPLE)&&a>0?a=1:f.startsWith(z.INPUT)&&a>1?a=2:f.startsWith(z.CONST)&&a>2&&(a=3);const p=this._removePrefix(f);(p!==z.INT||!c)&&(c=p)}return a===100?c:`${Vi[a]} ${r||c}`}_returnTypesOtherHandle(n,r,a,c){if(!a.length||a[0].includes("<>")){const f=n.type;let p=f;if(!f||f===z.UNDETERMINED)return[z.UNDETERMINED];switch(r){case"series <type>":p=this._getArrayType(f),p||(p=this._removePrefix(f)),a=[this._typeAddSeries(p)];break;case"array<type>":case"matrix<type>":case"type[]":if(this._isMapType(f)){const E=this._getMapType(f)||[];c.includes("keys")?p=E[0]:p=E[1]}else p=this._getArrayType(f),p||(p=this._removePrefix(f));a=[this._typeReplace(r,p)];break;case"<matrix_type>":p=this._getArrayType(f),a=[this._typeAddSeries(p)];break;case"map<keyType, valueType>":a=[p];break;case"<value_type>":p=this._getMapType(f),a=[p[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)!==z.INT;{const a=this._getPrefix(n),c=this._getPrefix(r);return a===c?!!n.endsWith(z.INT):!(Vi.indexOf(a)<Vi.indexOf(c))}}_compareType(n,r){if(n===z.UNDETERMINED||r===z.UNDETERMINED)return!0;const a=[z.FLOAT,z.INT];if(this._isArrayType(n)||this._isMatrixType(n)){const c=this._getArrayType(n)||"",f=this._getArrayType(r)||"";return c===f||a.includes(c)&&a.includes(f)}else if(this._isMapType(n)){const c=this._getMapType(n)||[],f=this._getMapType(r)||[];return(c[0]===f[0]||a.includes(c[0])&&a.includes(f[0]))&&(c[1]===f[1]||a.includes(c[1])&&a.includes(f[1]))}else{const c=this._removePrefix(n),f=this._removePrefix(r);return c===z.NA||f===z.NA||c===f||a.includes(c)&&a.includes(f)}}_typeAddSeries(n){return this._buildinTypes.get(n)&&n!==z.CHART_POINT?`${z.SERIES} ${n}`:n}_typeAddConst(n){return mu.includes(n)?`${z.CONST} ${n}`:this._typeAddSeries(n)}_getOriginMethodName(n,r){let a="";return this._isArrayType(n)?a=`${z.ARRAY}.${r}`:this._isMatrixType(n)?a=`${z.MATRIX}.${r}`:this._isMapType(n)?a=`${z.MAP}.${r}`:a=`${this._removePrefix(n)}.${r}`,a}_returnedTypesParse(n){if(!n||!n.length)return[];const r=n[0];return/^\[.+\]$/.test(r)?r.replace(/[[\]]/g,"").split(",").map(a=>a.trim()):n}_removePrefix(n=""){return n.replace(/(series|simple|const|input)\s+([\w\d.]+)/,"$2")}_getPrefix(n){if(!n)return"";const r=n.replace(/(series|simple|const|input).+/,"$1");return Vi.includes(r)?r:""}_getArrayType(n){let r=/\w+<([\w\d.]+)>/.exec(n);return r||(r=/([\w\d.]+)\[\]/.exec(n)),r==null?void 0:r[1]}_getMapType(n){const r=/\w+<(\w+),\s*([\w\d.]+)>/.exec(n);return(r==null?void 0:r[1])&&(r==null?void 0:r[2])&&[r==null?void 0:r[1],r==null?void 0:r[2]]}_isMatrixType(n){return/^matrix<[\w\d.]+>$/.test(n)}_isArrayType(n){return/^array<[\w\d.]+>$/.test(n)||/^[\w\d.]+\[\]$/.test(n)}_isMapType(n){return/^map<\w+,\s*[\w\d.]+>$/.test(n)}_arrayTypeConvert(n){return!this._isArrayType(n)||!n.includes("<")?n:`${this._getArrayType(n)}[]`}_getMethodTypeName(n){return this._isArrayType(n)?z.ARRAY:this._isMapType(n)?z.MAP:this._isMatrixType(n)?z.MATRIX:this._removePrefix(n)}_typeReplace(n,r){return r===z.UNDETERMINED?r:(r=this._removePrefix(r),this._arrayTypeConvert(n.startsWith(z.SERIES)?n.replace("<type>",r):n.replace("type",r)))}}var Vn=(t=>(t[t.Hint=1]="Hint",t[t.Info=2]="Info",t[t.Warning=4]="Warning",t[t.Error=8]="Error",t))(Vn||{});class Ap extends _y{constructor(n,r,a){super(n);I(this,"_loopCount");I(this,"_errors");I(this,"_variables");I(this,"_functions");I(this,"_methods");I(this,"_types");I(this,"_enums");I(this,"_currentBlockVars");I(this,"_currentFuncParams");I(this,"_isNeedCalc");I(this,"_blockCount");I(this,"_isInFunc");I(this,"_currentExportFunc");I(this,"_onlyStatementsCount");I(this,"_blockRanges");I(this,"_overloadsFuncs");I(this,"_hasMemberIndex");I(this,"_isInLocalScop");I(this,"_comments");I(this,"_currentLine",0);I(this,"_hasDrawFunc",!1);I(this,"_hasCreateOrderFunc",!1);I(this,"_scriptType");I(this,"_exportFunctions");I(this,"_exportMethods");I(this,"_exportTypes");I(this,"_exportEnums");I(this,"_exportPositions");I(this,"_description","");I(this,"_endExport");I(this,"_importLibs");I(this,"_getImportLibraryFunc");I(this,"_isEndExpr");I(this,"_inputVarName");I(this,"_hasRequest");I(this,"_strategyFuncName");I(this,"_strategyVarName");I(this,"visitProgram",async n=>{const{children:r}=n;let a=0;const c=[];for(this._pushBlockRanges(n);a<r.length;a++){const f=r[a];f.ruleIndex===j.RULE_globalStmt&&c.push(await this.visit(f))}return this._onlyStatementsCount<=0?this._errors.push({startColumn:0,endColumn:0,startLineNumber:0,endLineNumber:0,type:Vn.Error,message:Se(xe.onlyStatementErr,{count:this._onlyStatementsCount})}):this._scriptType===Ui.indicator&&(this._strategyFuncName?this._errorHandle(Se(xe.indicatorUseStrategyFuncErr,{name:this._strategyFuncName.name,type:"functions"}),this._strategyFuncName.ctx):this._strategyVarName&&this._errorHandle(Se(xe.indicatorUseStrategyFuncErr,{name:this._strategyVarName.name,type:"variables"}),this._strategyVarName.ctx)),c});I(this,"visitGlobalStmt",async n=>{const{children:r}=n;if(r&&r.length){const a=r[0],c=await this.visit(a);return a.ruleIndex===j.RULE_methodStmt&&Ol.includes(c.exprs[0].name)&&(this._onlyStatementsCount++,this._onlyStatementsCount>1?this._errorHandle(Se(xe.onlyStatementErr,{count:this._onlyStatementsCount}),a):this._scriptType=c.exprs[0].name),c}return null});I(this,"visitBlockStmt",n=>{const{children:r}=n;let a=0;const c=[];for(;a<r.length;a++){const f=r[a];switch(f.ruleIndex){case j.RULE_variableDeclarationStmt:c.push(...this.visit(f));break;case j.RULE_varBlockStmt:c.push(this.visit(f));break;case j.RULE_blockExpression:c.push(this.visit(f));break}}return c});I(this,"visitStmt",n=>{const{children:r}=n;if(r&&r.length){const a=r[0];return this.visit(a)}return null});I(this,"visitSimpleStmt",n=>{const{children:r}=n;if(r&&r.length){const a=r[0];return this.visit(a)}return null});I(this,"visitFlowStmt",n=>{const{children:r}=n,{column:a,line:c,text:f}=r[0].symbol;if(this._currentLine=c,this._loopCount<=0){const p=a+1;this._errors.push({startColumn:p,endColumn:parseInt(p+f.length),startLineNumber:c,endLineNumber:c,message:Se(xe.onlyInLoop,{text:f})})}return{ruleType:ye.FlowStmt,value:f}});I(this,"visitBlock",n=>{const{children:r}=n;if(r&&r.length){const a=r[0];return a.ruleIndex===j.RULE_simpleStmt?this._inBlock(a):this.visit(a)}return null});I(this,"visitBlockLine",n=>{const{children:r}=n;if(!r)return null;let a=0;const c=[];this._blockCount++,this._pushBlockRanges(n);const f=this._isEndExpr;for(;a<r.length;a++){const p=r[a];p.ruleIndex===j.RULE_stmt&&(this._isInFunc&&(this._isEndExpr=r.length-2===a&&f),c.push(this.visit(p)))}return this._blockCount--,this._blockRanges.pop(),this._currentBlockVars.splice(this._blockCount+1),c});I(this,"visitDeclareAssign",n=>{var f;const{children:r}=n;let a=0;const c={ruleType:ye.DeclareAssign};for(;a<r.length;a++){const p=r[a];switch(p.ruleIndex){case j.RULE_varArrayDeclaration:c.nameList=this.visit(p),this._inputVarName=(f=c.nameList)==null?void 0:f.name;break;case j.RULE_singleExpression:c.value=this.visit(p),this._inputVarName=void 0;break}}return this._variablesHandle(c,n),c});I(this,"visitAgainAssign",n=>{const{children:r,start:a}=n;if(this._currentLine=a.line,r.length>=3){const c=this.visit(r[0]);this._verifyGloablVar(c,r[0]);const f=this.visit(r[2]),p=this.visit(r[1]);return c.type?this._againAssignHandle([c,f],[r[0],r[2]],p):null}return null});I(this,"visitVarModifier",n=>{const{children:r}=n;return r[0].symbol.text});I(this,"visitExpressionSequence",n=>{const{children:r,start:a}=n;let c=0;const f=[];for(this._currentLine=a.line;c<r.length;c++){const p=r[c];if(p.ruleIndex===j.RULE_singleExpression){const E=this.visit(p);E&&(E.ctx=p,f.push(E))}}return f});I(this,"visitExpressionBlockSequence",n=>{const{children:r}=n;let a=0;const c=[];for(;a<r.length;a++){const f=r[a];switch(f.ruleIndex){case j.RULE_singleExpression:c.push(this.visit(f));break;case j.RULE_variableDeclarationList:c.push(this.visit(f));break;case j.RULE_blockExpression:c.push(this.visit(f));break;case j.RULE_varBlockStmt:c.push(this.visit(f));break}}return c});I(this,"visitBlockSequence",n=>{const{children:r}=n;let a=0;const c=[];for(;a<r.length;a++){const f=r[a];switch(f.ruleIndex){case j.RULE_variableDeclarationList:c.push(this.visit(f));break;case j.RULE_singleExpression:c.push(this.visit(f));break}}return c});I(this,"visitVariableDeclarationStmt",n=>{const{children:r}=n;let a=0;const c=[];for(;a<r.length;a++){const f=r[a];switch(f.ruleIndex){case j.RULE_variableDeclarationList:c.push(this.visit(f));break;case j.RULE_methodStmt:const p=this.visit(f);Ol.includes(p.exprs[0].name)&&(this._onlyStatementsCount++,this._onlyStatementsCount>1?this._errorHandle(Se(xe.onlyStatementErr,{count:this._onlyStatementsCount}),f):this._scriptType=p.exprs[0].name),c.push(p);break}}return c});I(this,"visitVarBlockStmt",n=>{const{children:r}=n;let a=0;const c={ruleType:ye.VarBlockStmt,ctx:n},f=[];for(;a<r.length;a++){const p=r[a];switch(p.ruleIndex){case j.RULE_varArrayDeclaration:c.nameList=this.visit(p);break;case j.RULE_assignmentOperator:c.operator=this.visit(p);break;case j.RULE_name:f.push(p),c.name=this.visit(p);break;case j.RULE_blockExpression:if(this._isNeedCalc=!0,c.value=this.visit(p),!c.value)break;f.push(p);const E=this._getBlockReturnTypes(c.value);E.length===1?c.value.type=E[0]:c.value.types=E,this._isNeedCalc=!1;break}}return c.name?this._againAssignHandle([c.name,c.value],f,c.operator):(this._variablesHandle(c,n),c)});I(this,"visitVarSingle",n=>{const{children:r,start:a}=n,c={ruleType:ye.VarSingle};let f=0;const p=this._commentsParser(a.line,[Zt.variable]);c.desc=p==null?void 0:p[Zt.variable],this._currentLine=a.line;let E={lineNumber:0,column:0};for(;f<r.length;f++){const b=r[f];switch(b.ruleIndex){case j.RULE_varModifier:c.declare=this.visit(b);break;case j.RULE_typeGather:const T=this.visit(b);c.prefix=this._getPrefix(T),c.type=T&&this._typeAddConst(T);break;case j.RULE_identifier:const x=this.visit(b);this._repeatVarJudge(x,b),E={lineNumber:b.start.line,column:b.start.column},c.name=x,c.pos=E;break}}return c});I(this,"_commentsParser",(n,r,a=!1)=>{var b;const c=this._comments.filter(T=>T.line<n&&T.line>=this._currentLine),f={},p={line:0,key:"",secKey:""},E=[Zt.field,Zt.param];for(const T of c){const[x,w]=fy.exec(T.text)||[];if(w&&r.includes(w)){const F=T.text.replace(x,"").trim();if(Object.assign(p,{line:T.line,key:w}),E.includes(w)){const[R,...v]=F.split(" ");R&&(Object.assign(p,{secKey:R}),f[w]=Object.assign(f[w]||{},{[R]:v.join(" ").trim()}))}else f[w]=[F]}else if(a&&p.key){const F=T.text.replace("//","").trim();E.includes(p.key)?f[p.key][p.secKey]+=` ${F}`:(b=f[p.key])==null||b.push(F)}}return f});I(this,"visitVarMultiple",n=>{const{children:r,start:a}=n;let c=0;const f=[],p=[];for(this._currentLine=a.line;c<r.length;c++){const E=r[c];if(E.ruleIndex===j.RULE_identifier){const b=this.visit(E);this._repeatVarJudge(b,E),f.push(b),p.push({lineNumber:E.start.line,column:E.start.column})}}return{ruleType:ye.VarMultiple,names:f,posList:p}});I(this,"visitBlockExpression",n=>{const{children:r,start:a}=n;if(this._currentLine=a.line,r&&r.length){const c=r[0];return this.visit(c)}return null});I(this,"visitParenthesizedExpression",n=>{const{children:r}=n,a=r[1],c=this.visit(a);return{ruleType:ye.ParenthesizedExpression,type:c.type,ctx:n,exprs:c}});I(this,"visitAdditiveExpression",n=>{const{children:r}=n;let a=0,c="";const f=[];for(;a<r.length;a++){const E=r[a];E.ruleIndex===j.RULE_singleExpression?f.push(this.visit(E)):c=E.symbol.text}const p={ruleType:ye.AdditiveExpression,operator:c,ctx:n,exprs:f};if(["+","-"].includes(c)){const E=[z.UNDETERMINED,z.INT,z.FLOAT];c==="+"&&E.push(z.STRING);const b=this._sameTypeJudge(f,[r[0],r[2]],c,E);p.type=this._typeHandle(b)}else{const E=this._calcTypeJudge(f[0],r[0],c),b=this._calcTypeJudge(f[1],r[2],c,1);p.type=this._typeHandle([E,b])}return p});I(this,"visitRelationalExpression",n=>{const{children:r}=n;let a=0,c="";const f=[];for(;a<r.length;a++){const b=r[a];b.ruleIndex===j.RULE_singleExpression?f.push(this.visit(b)):c=b.symbol.text}const p=this._calcTypeJudge(f[0],r[0],c),E=this._calcTypeJudge(f[1],r[2],c,1);return{ruleType:ye.RelationalExpression,operator:c,ctx:n,type:this._typeHandle([p,E],z.BOOL),exprs:f}});I(this,"visitEqualityExpression",n=>{const{children:r}=n;let a=0,c="";const f=[];for(;a<r.length;a++){const E=r[a];E.ruleIndex===j.RULE_singleExpression?f.push(this.visit(E)):c=E.symbol.text}const p=this._sameTypeJudge(f,[r[0],r[2]],c,[z.UNDETERMINED,z.COLOR,z.STRING,z.BOOL,z.INT,z.FLOAT]);return{ruleType:ye.EqualityExpression,operator:c,ctx:n,type:this._typeHandle(p,z.BOOL),exprs:f}});I(this,"visitTernaryExpression",n=>{const{children:r}=n;let a=0;const c=[];for(;a<r.length;a++){const p=r[a];p.ruleIndex===j.RULE_singleExpression&&c.push(this.visit(p))}let f=z.UNDETERMINED;if(c.length>=3){this._boolTypeJudge(c[0],r[0],"?:");const p=this._sameTypeJudge(c.slice(1),[r[2],r[4]],"?:",[]),E=this._getPrefix(c[0].type);f=this._typeHandle(p),E&&this._getPrefix(f)&&(f=this._typeHandle([f,`${E} ${this._removePrefix(f)}`]))}return{ruleType:ye.TernaryExpression,type:f,ctx:n,exprs:c}});I(this,"visitNameExpression",n=>{const{children:r}=n;if(r&&r.length){const a=r[0];return this.visit(a)}return null});I(this,"visitLiteralExpression",n=>{const{children:r}=n;if(r&&r.length){const a=r[0];return this.visit(a)}return null});I(this,"visitUnaryExpression",n=>{var b;const{children:r}=n,[a,c]=r,f=[this.visit(c)],p=a.symbol.text,E=this._calcTypeJudge(f[0],c,p);return((b=f[0])==null?void 0:b.ruleType)===ye.UnaryExpression&&this._errors.push({message:Se(xe.unaryErr,{sign:p}),startColumn:a.symbol.column+1,startLineNumber:a.symbol.line,endColumn:a.symbol.column+2,endLineNumber:a.symbol.line}),{ruleType:ye.UnaryExpression,operator:p,type:E,ctx:n,exprs:f}});I(this,"visitNotExpression",n=>{const{children:r}=n,a=r[1],c=[this.visit(a)],f=this._boolTypeJudge(c[0],a,"not");return{ruleType:ye.NotExpression,ctx:n,type:this._typeHandle([f],z.BOOL),exprs:c}});I(this,"visitMemberIndexExpression",n=>{var f,p;const{children:r}=n;let a=0;const c=[];for(;a<r.length;a++){const E=r[a];E.ruleIndex===j.RULE_singleExpression&&c.push(this.visit(E))}if(this._memberIndexVerify(c[0],n),this._hasMemberIndex=!0,((f=c[0])==null?void 0:f.ruleType)===ye.MemberIndexExpression){const E=r[1];this._errors.push({message:Se(xe.unaryErr,{sign:"["}),startColumn:E.symbol.column+1,startLineNumber:E.symbol.line,endColumn:E.symbol.column+2,endLineNumber:E.symbol.line}),this._hasMemberIndex=!1}return{ruleType:ye.MemberIndexExpression,type:(p=c[0])==null?void 0:p.type,ctx:n,isInFunc:this._isInFunc,exprs:c}});I(this,"visitMethodStmt",n=>{var T;const{children:r,start:a}=n;let c=0;const f=[],p=[],E=this._commentsParser(a.line,[Zt.description],!0);this._currentLine=a.line;let b;for(;c<r.length;c++){const x=r[c];x.ruleIndex===j.RULE_methodElement&&(f.push(this.visit(x)),p.push(x))}return((T=f[0])==null?void 0:T.name)===Ui.library&&E.description&&(this._description=E.description.join(`
12
- `)),b=this._getMethodTypes(f,p)||[],this._inputFuncTitleVerify(f,n),{ruleType:ye.MethodExpression,types:b.length>1||b.isBrackethesized||b.isUnknown?b:void 0,ctx:n,type:b.length===1?b[0]:void 0,exprs:f}});I(this,"visitMethodExpression",n=>{const{children:r}=n;if(r&&r.length){const a=r[0];return this.visit(a)}return null});I(this,"visitLogicalAndExpression",n=>{const{children:r}=n;let a=0,c="";const f=[];for(;a<r.length;a++){const b=r[a];b.ruleIndex===j.RULE_singleExpression?f.push(this.visit(b)):c=b.symbol.text}const p=this._boolTypeJudge(f[0],r[0],c),E=this._boolTypeJudge(f[1],r[2],c,1);return{ruleType:ye.LogicalAndExpression,type:this._typeHandle([p,E],z.BOOL),operator:c,ctx:n,exprs:f}});I(this,"visitLogicalOrExpression",n=>{const{children:r}=n;let a=0,c="";const f=[];for(;a<r.length;a++){const b=r[a];b.ruleIndex===j.RULE_singleExpression?f.push(this.visit(b)):c=b.symbol.text}const p=this._boolTypeJudge(f[0],r[0],c),E=this._boolTypeJudge(f[1],r[2],c,1);return{ruleType:ye.LogicalOrExpression,operator:c,ctx:n,type:this._typeHandle([p,E],z.BOOL),exprs:f}});I(this,"visitMultiplicativeExpression",n=>{const{children:r}=n;let a=0,c="";const f=[];for(;a<r.length;a++){const b=r[a];b.ruleIndex===j.RULE_singleExpression?f.push(this.visit(b)):c=b.symbol.text}const p=this._calcTypeJudge(f[0],r[0],c),E=this._calcTypeJudge(f[1],r[2],c,1);return{ruleType:ye.MultiplicativeExpression,operator:c,ctx:n,type:this._typeHandle([p,E]),exprs:f}});I(this,"visitBrackethesized",n=>{const{children:r,start:a}=n,c=r[1];return this._currentLine=a.line,{ruleType:ye.Brackethesized,ctx:n,exprs:this.visit(c)}});I(this,"visitArguments",n=>{const{children:r}=n;let a=0;const c={params:[]};let f="";for(;a<r.length;a++){const p=r[a];if(p.ruleIndex===j.RULE_argument){const E=this.visit(p),b=E.paramKey;b?(f=b,c[b]?this._errorHandle(Se(Ir.moreSameArg,{arg:b}),n.parentCtx,Vn.Warning):(c[b]=E.param,c[b].ctx=p)):f?this._errorHandle(Se(xe.argsSyntaxErr,{argName:f}),p):(E.ctx=p,c.params.push(E))}}return c});I(this,"visitArgument",n=>{const{children:r}=n;return r.length===1?this.visit(r[0]):{paramKey:this.visit(r[0]),param:this.visit(r[2])}});I(this,"visitIfStatement",n=>{const{children:r}=n;let a=0;const c={ruleType:ye.IfStatement,condition:[],block:[],ctx:n,typeList:[]};for(;a<r.length;a++){const f=r[a];switch(f.ruleIndex){case j.RULE_singleExpression:const p=this.visit(f);if(!p)break;p.ctx=f,c.condition.push(p);break;case j.RULE_blockLine:const E=this._isInLocalScop;this._isInLocalScop=!0;const b=this.visit(f);c.typeList.push(this._getBlockReturnTypes(b)),c.block.push(b),this._isInLocalScop=E;break}}return this._verifyIf(c),c});I(this,"visitForToStatement",n=>{const{children:r}=n;let a=0;const c={ruleType:ye.ForToStatement,numerical:[],ctx:n,block:[]};for(;a<r.length;a++){const f=r[a];switch(f.ruleIndex){case j.RULE_varModifier:c.declare=this.visit(f);break;case j.RULE_typeGather:const p=this.visit(f);c.type=p&&this._typeAddSeries(p);break;case j.RULE_identifier:c.name=this.visit(f);break;case j.RULE_singleExpression:const E=this.visit(f);E&&(E.ctx=f,c.numerical.push(E));break;case j.RULE_blockLine:if(this._blockCount++,this._pushBlockRanges(n),c.name){const T=c.numerical[0].type;this._variablesHandle({nameList:{name:c.name,isForVar:!0,type:c.type},value:{type:T||`${z.SERIES} ${z.INT}`}},n)}this._blockCount--,this._blockRanges.pop(),this._loopCount++;const b=this._isInLocalScop;this._isInLocalScop=!0,c.block=this.visit(f),this._loopCount--,this._isInLocalScop=b,c.returnedTypes=this._getBlockReturnTypes(c.block);break}}return this._verifyForTo(c),c});I(this,"visitForInStatement",n=>{const{children:r}=n;let a=0;const c={ruleType:ye.ForInStatement,ctx:n,names:[]};for(;a<r.length;a++){const f=r[a];switch(f.ruleIndex){case j.RULE_identifier:const p=this.visit(f);c.names.push(p);break;case j.RULE_singleExpression:c.array=this.visit(f);const E=c.array.type;this._isArrayType(E)||this._isMatrixType(E)||E===z.UNDETERMINED||this._errorHandle(Se(xe.typeMismatch,{operator:"foreach",index:"id",typeE:E,typeR:"array<fun_arg>"}),f);break;case j.RULE_blockLine:if(this._blockCount++,this._pushBlockRanges(n),c.names.length){let[T,x]=c.names;const w=c.array.type;x?this._variablesHandle({nameList:{name:T,isForVar:!0,type:`${z.SERIES} ${z.INT}`},value:{type:`${z.SERIES} ${z.INT}`}},n):x=T;const F=w===z.UNDETERMINED?w:this._isMatrixType(w)?`${this._getArrayType(w)}[]`:this._typeAddSeries(this._getArrayType(w));this._variablesHandle({nameList:{name:x,isForVar:!0,type:F},value:{type:F}},n)}this._blockCount--,this._blockRanges.pop(),this._loopCount++;const b=this._isInLocalScop;this._isInLocalScop=!0,c.block=this.visit(f),this._isInLocalScop=b,this._loopCount--,c.returnedTypes=this._getBlockReturnTypes(c.block);break}}return c});I(this,"visitSwitchStatement",n=>{const{children:r}=n;let a=0;const c={ruleType:ye.SwitchStatement,condition:!0,ctx:n,cases:[],defaultCase:void 0};for(;a<r.length;a++){const f=r[a];switch(f.ruleIndex){case j.RULE_singleExpression:if(c.condition=this.visit(f),!f.children)break;c.condition.ctx=f;break;case j.RULE_caseClause:c.cases.push(this.visit(f));break;case j.RULE_defaultCaluse:c.defaultCase=this.visit(f);break}}return this._verifySwitch(c),c});I(this,"visitCaseClause",n=>{const{children:r}=n,a={ruleType:ye.CaseClause},c=this._isInLocalScop;return this._isInLocalScop=!0,a.condition=this.visit(r[0]),a.condition&&(a.condition.ctx=r[0],a.block=this.visit(r[2]),this._isInLocalScop=c,a.returnedTypes=this._getBlockReturnTypes(a.block)),a});I(this,"visitDefaultCaluse",n=>{const{children:r}=n,a={ruleType:ye.DefaultCaluse},c=this._isInLocalScop;return this._isInLocalScop=!0,a.block=this.visit(r[1]),this._isInLocalScop=c,a.returnedTypes=this._getBlockReturnTypes(a.block),a});I(this,"visitWhileStatement",n=>{const{children:r}=n,a={ruleType:ye.WhileStatement,ctx:n};if(a.condition=this.visit(r[1]),!a.condition)return a;a.condition.ctx=r[1],this._loopCount++;const c=this._isInLocalScop;return this._isInLocalScop=!0,a.block=this.visit(r[2]),this._isInLocalScop=c,this._loopCount--,a.returnedTypes=this._getBlockReturnTypes(a.block),this._verifyWhile(a),a});I(this,"visitImportStmt",async n=>{const{children:r,start:a}=n;let c=0;const f=[];for(this._currentLine=a.line;c<r.length;c++){const p=r[c];if(p.ruleIndex===j.RULE_importElement){const E=await this.visit(p);E&&f.push(E)}}return f});I(this,"visitImportElement",async n=>{const{children:r}=n;if(!r||!r.length)return;let a=0;const c=[],f={ruleType:ye.ImportElement,ctx:n};for(;a<r.length;a++){const p=r[a];p.ruleIndex===j.RULE_identifier?c.push(this.visit(p)):p.symbol&&p.symbol.type===j.IntegerLiteral&&(f.libraryVersion=p.symbol.text)}return f.username=c[0],f.libraryName=c[1],f.name=c[2],await this._importHandle(f,n),f});I(this,"visitLiteral",n=>{const{children:r}=n,a=r[0],{type:c,text:f}=a.symbol,p={ruleType:ye.Literal,ctx:n,type:"",value:f};switch(c){case j.ColorLiteral:p.type=z.COLOR;break;case j.BooleanLiteral:p.type=z.BOOL;break;case j.StringLiteral:if(p.type=z.STRING,f.includes(`
13
- `)){const E=f.replace(/\s*(\n|\r)\s*/g," ");p.value=`\`${E.substring(1,E.length-1)}\``}break;case j.IntegerLiteral:p.type=z.INT;break;case j.DecimalLiteral:p.type=z.FLOAT;break}return p.type&&(p.type=`${z.CONST} ${p.type}`),p});I(this,"visitMethodElement",n=>{const{children:r}=n,[a,c]=r,[f,p,E]=this.visit(a),b=this.visit(c);return f.startsWith("request.")&&this._isInFunc&&(this._currentExportFunc&&this._errorHandle(Se(xe.exportFuncUseReqErr,{name:f}),n),this._hasRequest=!0),{name:f,type:p,args:b,expr:E}});I(this,"visitMethodName",n=>{const{children:r}=n,a=[],c=[];let f=0,p=null;for(;f<r.length;f++){const b=r[f],T=b.ruleIndex,x=b.symbol;switch(T){case j.RULE_identifier:a.push(this.visit(b));break;case j.RULE_singleExpression:p=this.visit(b);break;case j.RULE_typeName:const w=this.visit(b);c.push(w),this._typeCheck(w,j.RULE_typeName,b);break;default:x&&x.text==="."&&a.push(".")}}const E=a.join("");return cy.includes(E)?this._hasDrawFunc=!0:ly.includes(E)&&(this._hasCreateOrderFunc=!0),[E,c,p]});I(this,"visitArrowFunction",n=>{const{children:r,start:a,stop:c}=n,f={ruleType:ye.ArrowFunction,returnedTypes:[]};let p=0,E={lineNumber:0,column:0};const b=this._commentsParser(a.line,[Zt.function,Zt.param,Zt.returns],!0);Object.assign(f,{desc:b[Zt.function],paramsDesc:b[Zt.param],returnsDesc:b[Zt.returns]}),this._currentLine=a.line;let T=null;for(;p<r.length;p++){const x=r[p],w=x.ruleIndex,F=x.symbol;switch(w){case j.RULE_identifier:E={lineNumber:x.start.line,column:x.start.column},f.name=this.visit(x);break;case j.RULE_arrowFunctionParameters:f.params=this.visit(x),f.isExport&&this._exportArgsTypeVerify(f.params),this._setFuncParams(f,{endColumn:c.column,endLineNumber:c.line-1,startColumn:a.column,startLineNumber:a.line}),T=x;break;case j.RULE_block:this._isInFunc=!0,f.isExport&&(this._currentExportFunc=f.name),this._hasMemberIndex=!1,this._hasRequest=!1,f.block=this.visit(x),f.hasMemberIndex=this._hasMemberIndex,f.returnedTypes=this._getBlockReturnTypes(f.block),this._isInFunc=!1,this._currentExportFunc="";break;default:F&&F.type===j.Export&&(f.isExport=!0,this._addExportPos(F,"functions"))}}return f.hasRequest=this._hasRequest,this._setFunc(f,E,T,c.line-1),this._hasRequest=!1,this._currentFuncParams.clear(),f});I(this,"visitArrowFunctionParameters",n=>{const{children:r}=n;let a=0,c=[];for(;a<r.length;a++){const f=r[a];f.ruleIndex===j.RULE_formalParameterList&&(c=this.visit(f))}return c});I(this,"visitFormalParameterList",n=>{const{children:r}=n;let a=0;const c=[];for(;a<r.length;a++){const f=r[a];f.ruleIndex===j.RULE_formalParameterArg&&c.push(this.visit(f))}return c});I(this,"visitFormalParameterArg",n=>{const{children:r}=n;let a=0;const c={};for(;a<r.length;a++){const f=r[a];switch(f.ruleIndex){case j.RULE_typeGather:const p=this.visit(f);c.type=p&&this._typeAddSeries(p);break;case j.RULE_identifier:c.name=this.visit(f);break;case j.RULE_singleExpression:c.defaultValue=this.visit(f),delete c.defaultValue.ctx}}return c.ctx=n,this._verifyArgsDefaultValue(c,n),c.type=c.type||z.UNDETERMINED,c});I(this,"visitArrowMethod",n=>{const{children:r,start:a,stop:c}=n;let f=0;const p={ruleType:ye.ArrowMethod,returnedTypes:[]};let E={lineNumber:0,column:0};const b=this._commentsParser(a.line,[Zt.function,Zt.param,Zt.returns],!0);Object.assign(p,{desc:b[Zt.function],paramsDesc:b[Zt.param],returnsDesc:b[Zt.returns]}),this._currentLine=a.line;let T=null;for(;f<r.length;f++){const x=r[f];switch(x.ruleIndex){case j.RULE_identifier:E={lineNumber:x.start.line,column:x.start.column},p.name=this.visit(x);break;case j.RULE_arrowMethodParameters:p.params=this.visit(x),p.isExport&&this._exportArgsTypeVerify(p.params),this._setFuncParams(p,{endColumn:c.column,endLineNumber:c.line-1,startColumn:a.column,startLineNumber:a.line}),T=x;break;case j.RULE_block:this._isInFunc=!0,p.isExport&&(this._currentExportFunc=p.name),this._hasMemberIndex=!1,this._hasRequest=!1,p.block=this.visit(x),p.hasMemberIndex=this._hasMemberIndex,p.returnedTypes=this._getBlockReturnTypes(p.block),this._isInFunc=!1,this._currentExportFunc="";break;default:x.symbol&&x.symbol.type===j.Export&&(p.isExport=!0,this._addExportPos(x.symbol,"methods"));break}}return p.hasRequest=this._hasRequest,this._setFunc(p,E,T,c.line-1),this._setMethod(p,E),this._hasRequest=!1,this._currentFuncParams.clear(),p});I(this,"visitArrowMethodParameters",n=>{const{children:r}=n;let a=0;const c={};let f=[];for(;a<r.length;a++){const p=r[a];switch(p.ruleIndex){case j.RULE_typeGather:const E=this.visit(p);c.type=E&&this._typeAddSeries(E);break;case j.RULE_identifier:c.ctx=p,c.name=this.visit(p);break;case j.RULE_formalParameterList:f=this.visit(p);break}}return[c,...f]});I(this,"visitTypeStatement",n=>{const{children:r,start:a,stop:c}=n;let f=0;const p={ruleType:ye.TypeStatement,fields:[]},E=this._commentsParser(a.line,[Zt.type,Zt.field]);Object.assign(p,{desc:E[Zt.type],fieldsDesc:E[Zt.field]}),this._currentLine=a.line;let b={lineNumber:0,column:0},T=null;for(;f<r.length;f++){const x=r[f];switch(x.ruleIndex){case j.RULE_identifier:b={lineNumber:x.start.line,column:x.start.column},T=x,p.name=this.visit(x),this._verifyTypeName(p.name,x);break;case j.RULE_typeElement:p.fields.push(this.visit(x));break;default:x.symbol&&x.symbol.type===j.Export&&(p.isExport=!0,this._addExportPos(x.symbol,"types"));break}}if(p.isExport){const x=c.line-1,{line:w=0}=this._endExport;x>w&&(this._endExport={line:x,name:p.name})}return this._setUserType(p,b,T),this._setNewFunc(p,b),this._setCopyFunc(p,b),this._setCopyMethod(p,b),p});I(this,"visitTypeElement",n=>{const{children:r,start:a}=n;let c=0;const f={};let p=null,E=null;for(this._currentLine=a.line;c<r.length;c++){const b=r[c];switch(b.ruleIndex){case j.RULE_typeGather:const T=this.visit(b);if(b.children[0].ruleIndex===j.RULE_typeSeries){const{column:x,line:w,text:F}=b.start,R=x+1;this._errors.push({startColumn:R,endColumn:parseInt(R+F.length),startLineNumber:w,endLineNumber:w,message:Se(this._buildinTypes.has(F)?xe.typeUseError:xe.notTypeKeyword,{text:F})}),f.type=z.UNDETERMINED}else f.type=T&&this._typeAddSeries(T);break;case j.RULE_identifier:f.name=this.visit(b),E=b;break;case j.RULE_singleExpression:p=b,f.value=this.visit(b);break;default:b.symbol&&b.symbol.type===j.Varip&&(f.isVarip=!0);break}}return this._typeElementVerify(f,p,E),f});I(this,"visitAssignmentOperator",n=>{const{children:r}=n;return r&&r[0].symbol.text});I(this,"visitTypeMap",n=>{const{children:r}=n;let a=0;const c=[];for(;a<r.length;a++){const f=r[a];if(f.ruleIndex===j.RULE_typeName){const p=this.visit(f);c.push(p),this._typeCheck(p,j.RULE_typeName,f)}}return`map<${c[0]},${c[1]}>`});I(this,"visitTypeSeries",n=>{const{children:r}=n,[a,c]=r,f=this.visit(a),p=this.visit(c);return this._typeCheck(f,j.RULE_typeSeries,a),this._typeCheck(p,j.RULE_typeName,c),`${f} ${p}`});I(this,"visitTypeArray",n=>{const{children:r}=n,a=r[0];let c=this.visit(a),f=c;if(r.length===3)c=z.ARRAY;else{this._typeCheck(c,j.RULE_typeArray,a);let p=1;for(;p<r.length;p++){const E=r[p];E.ruleIndex===j.RULE_typeName&&(f=this.visit(E),this._typeCheck(f,j.RULE_typeName,E))}}return this._arrayTypeConvert(`${c}<${f}>`)});I(this,"visitTypeGather",n=>{const{children:r}=n;if(r&&r.length){const a=r[0],c=this.visit(a);return a.ruleIndex===j.RULE_typeName&&this._typeCheck(c,j.RULE_typeName,a),c}return null});I(this,"visitIdentifier",n=>n.children&&n.children[0].symbol.text);I(this,"visitTypeName",n=>{const{children:r}=n;let a=0,c="";for(;a<r.length;a++){const f=r[a];f.ruleIndex===j.RULE_identifier?c=`${c}${this.visit(f)}`:c=`${c}.`}return c});I(this,"visitEnumStatement",n=>{const{children:r,start:a,stop:c}=n;let f=0;const p={ruleType:ye.EnumStatement,fields:[]},E=this._commentsParser(a.line,[Zt.enum,Zt.field]);Object.assign(p,{desc:E[Zt.enum],fieldsDesc:E[Zt.field]}),this._currentLine=a.line;let b={lineNumber:0,column:0},T=null;for(;f<r.length;f++){const x=r[f];switch(x.ruleIndex){case j.RULE_identifier:b={lineNumber:x.start.line,column:x.start.column},T=x,p.name=this.visit(x),this._verifyEnumName(p.name,x);break;case j.RULE_enumElement:p.fields.push(this.visit(x));break;default:x.symbol&&x.symbol.type===j.Export&&(p.isExport=!0,this._addExportPos(x.symbol,"enums"));break}}if(p.isExport){const x=c.line-1,{line:w=0}=this._endExport;x>w&&(this._endExport={line:x,name:p.name})}return this._setUserEnum(p,b,T),p});I(this,"visitEnumElement",n=>{const{children:r,start:a}=n;let c=0;const f={};for(this._currentLine=a.line;c<r.length;c++){const p=r[c];switch(p.ruleIndex){case j.RULE_identifier:f.name=this.visit(p);break;default:p.symbol&&p.symbol.type===j.StringLiteral&&(f.value=p.symbol.text);break}}return f});I(this,"visitName",n=>{const{children:r}=n;let a=0,c=!1;const f=[];let p=null;for(;a<r.length;a++){const E=r[a];switch(E.ruleIndex){case j.RULE_identifier:f.push(this.visit(E));break;case j.RULE_singleExpression:p=this.visit(E);break;case j.RULE_methodElement:c=!0;const b=this.visit(E);b.ctx=E,f.push(b);break}}return this._nameHandle(c,f,p,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:f}=n;if(f&&this._errorHandle(Se(xe.buidinAssignErr,{name:a}),r),!c)return;const p=this._currentBlockVars[0].get(a);if(!p)return;const{column:E,lineNumber:b}=p.pos||{};this._isInFunc&&E===c.column&&b===c.lineNumber?this._errorHandle(Se(xe.modifyGlobalVarErr,{name:a}),r):p.hasAssigned=!0}_inputFuncTitleVerify(n,r){if(!(n!=null&&n.length)||n.length>1)return;const{name:a,args:c,isBuiltIn:f}=n[0];if(f&&!this._strategyFuncName&&a.startsWith(Ui.strategy))this._strategyFuncName={ctx:r,name:a};else if(!a.startsWith(z.INPUT))return;this._inputVarName&&!(c.params.some(p=>p.originName==="title")||c.title)&&(c.title={value:`"${this._inputVarName}"`,ruleType:ye.Literal,type:`${z.CONST} ${z.STRING}`})}_verifyIf(n){const{condition:r}=n;if(r!=null&&r.length)for(const a of r){const{type:c,ctx:f}=a;if(c===z.UNDETERMINED)continue;const p=this._removePrefix(c);[z.INT,z.FLOAT].includes(p)?this._errorHandle(Se(Ir.conditionWarning,{name:"if"}),f,Vn.Warning):p!==z.BOOL&&this._errorHandle(Se(xe.conditionalErr,{name:"if"}),f)}}_verifyForTo(n){const{numerical:r}=n;if(r!=null&&r.length)for(const a of r){const{type:c,ctx:f}=a;if(c===z.UNDETERMINED)continue;const p=this._removePrefix(c);[z.INT,z.FLOAT].includes(p)||this._errorHandle(xe.fortoErr,f)}}_verifySwitch(n){var r;if(n.cases){const a=(r=n.condition)==null?void 0:r.type;if(a===z.UNDETERMINED)return;if(a&&this._types.has(a)){this._errorHandle(Se(xe.typeMismatch,{operator:"switch",index:"expr0",typeE:a,typeR:`${z.SIMPLE} ${z.STRING}`}),n.condition.ctx);return}for(const c of n.cases){const{condition:{type:f,ctx:p}}=c;if(f!==z.UNDETERMINED)if(this._types.has(f))this._errorHandle(Se(xe.typeMismatch,{operator:"case",index:"expr1",typeE:f,typeR:`${z.SIMPLE} ${z.STRING}`}),p);else if(a){if(!this._compareType(a,f)){const E=this._removePrefix(a),b=this._removePrefix(f);E===z.BOOL&&[z.INT,z.FLOAT].includes(b)?this._errorHandle(Se(Ir.conditionWarning,{name:"switch"}),p,Vn.Warning):[z.INT,z.FLOAT].includes(E)&&b===z.BOOL?this._errorHandle(Se(Ir.conditionWarning,{name:"switch"}),n.condition.ctx,Vn.Warning):this._errorHandle(Se(xe.typeMismatch,{operator:"case",index:"expr1",typeE:f,typeR:`${a}`}),p)}}else{const E=this._removePrefix(f);[z.INT,z.FLOAT].includes(E)?this._errorHandle(Se(Ir.conditionWarning,{name:"switch"}),p,Vn.Warning):E!==z.BOOL&&this._errorHandle(Se(xe.conditionalErr,{name:"switch"}),p)}}}}_verifyWhile(n){const{condition:r}=n;if(r){const{type:a,ctx:c}=r;if(a===z.UNDETERMINED)return;const f=this._removePrefix(a);[z.INT,z.FLOAT].includes(f)?this._errorHandle(Se(Ir.conditionWarning,{name:"while"}),c,Vn.Warning):f!==z.BOOL&&this._errorHandle(Se(xe.conditionalErr,{name:"while"}),c)}}async _importHandle(n,r){const{stop:a,start:c}=r,{username:f,libraryName:p,libraryVersion:E,name:b}=n,T=`${f}/${p}/${E}`;if(this._importLibs.has(T))return this._errorHandle(xe.importMultipleErr,r),n;for(const[F,R]of this._importLibs)if(R.name&&R.name===b||!R.name&&!b&&R.libraryName===p)return this._errorHandle(Se(xe.importNameRepeatErr,{name:b,line:R.startLine}),r),n;let x=b||p;const w=await this._getImportLibraryFunc({...n,libraryId:T,ctx:void 0,startLine:c.line,endLine:a.line,startColumn:c.column,endColumn:a.column+a.text.length+1});if(w){const{codeStr:F,description:R}=w;this._importLibs.set(T,{...n,libraryId:T,startLine:c.line,endLine:a.line,ctx:void 0,desc:R}),this._importDataHandle(w,x),Nn.includes(x)&&(x=`$${x}`),n.code=F.replace("$name",x)}else this._errorHandle(Se(xe.importNotExitErr,{username:f,libraryName:p}),r)}_importDataHandle(n,r){const{functions:a,methods:c,types:f}=n;for(const p of a){const{name:E}=p,b=`${r}.${E}`,T=this._functions.get(b)||[];T.push({...this._importTypeUpdate(p,f,r),name:b,isUser:void 0,isImport:!0}),this._functions.set(b,T)}for(const p of c){const E=this._importTypeUpdate(p,f,r),b=E.originalName||E.name,T=this._methods.get(b)||[];T.push({...E,isImport:!0,isUser:void 0}),this._methods.set(b,T)}for(const p of f){const E=`${r}.${p.name}`,b=this._types.get(E)||[];b.push({...this._importTypeUpdate(p,f,r),name:E,isImport:!0}),this._types.set(E,b)}}_importTypeUpdate(n,r,a){var F;let{args:c,returnedTypes:f,thisType:p,fields:E,name:b,originalName:T}=n,x="";if(c&&c.length&&(c=c.map(R=>{const{allowedTypeIDs:v,displayType:d,name:g}=R,A=d&&this._replaceTypeName(d,r,a);return x=x?`${x}, ${A} ${g}`:`${A} ${g}`,{...R,allowedTypeIDs:v==null?void 0:v.map(O=>this._replaceTypeName(O,r,a)),displayType:A}})),f!=null&&f.length&&(f=[this._replaceTypeName(f[0],r,a)]),p!=null&&p.length){const R=this._replaceTypeName(p[0],r,a);R!==p[0]&&(T=`${a}.${T||b}`),p=[R]}E!=null&&E.length&&(E=E.map(R=>{const{type:v}=R;return{...R,type:v&&this._replaceTypeName(v,r,a)}}));const w={...n,args:c,returnedTypes:f,thisType:p,fields:E,originalName:T};return(F=w.syntax)!=null&&F.length&&(w.syntax=[`${T||`${a}.${b}`}(${x}) → ${(f==null?void 0:f[0])||"void"}`]),w}_replaceTypeName(n,r,a){const c=r.find(f=>n.includes(f.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:f,isBuiltIn:p,type:E}=a,b=this._removePrefix(E);if(f!==ye.Literal&&!p)delete n.defaultValue,this._errorHandle(xe.argDefaultErr,r);else if(c&&c!==z.UNDETERMINED&&E!==z.UNDETERMINED){const T=this._removePrefix(c);if(T===z.FLOAT&&b===z.INT)return;b!==T&&this._errorHandle(Se(xe.defaultValueTypeErr,{typeE:E,typeR:c}),r)}else c||(n.type=this._typeAddSeries(b===z.INT?z.FLOAT:b))}_exportArgsTypeVerify(n){for(const r of n)(r.type===z.UNDETERMINED||!r.type)&&this._errorHandle(xe.exportFuncArgErr,r.ctx)}_verifyTypeName(n,r){mu.includes(n)?this._errorHandle(Se(xe.typeNameErr,{name:n}),r):Tp.includes(n)&&this._errorHandle(Se(xe.enumVarNameBuiltinErr,{name:n}),r)}_addExportPos(n,r){const{line:a,column:c,text:f}=n;this._exportPositions.push({startLineNumber:a,startColumn:c,endLineNumber:a,endColumn:c+f.length+1,type:r})}_verifyEnumName(n,r){mu.includes(n)?this._errorHandle(Se(xe.enumVarNameErr,{name:n}),r):Tp.includes(n)&&this._errorHandle(Se(xe.enumVarNameBuiltinErr,{name:n}),r)}_nameHandle(n,r,a,c){var p,E;const f={ruleType:ye.Name,hasMethod:n,exprs:r,expr:a};if(n){let b="";const T=[];for(const w of r)typeof w=="string"?b=b?`${b}.${w}`:w:(b&&(w.name=`${b}.${w.name}`),T.push(w),b="");f.exprs=[...T,b];const x=this._getMethodTypes(T,Array.from(T,()=>c));if(x&&x.length){const w=Se(xe.noFiledErr,{name:b});x.length>1&&this._errorHandle(w,c),f.type=((E=this._nameCheck(this._getOriginMethodName(x[0],b),c,w))==null?void 0:E.type)||z.UNDETERMINED}}else{let b=r.join(".");if(a&&a.type&&a.type===z.UNDETERMINED)f.type=z.UNDETERMINED,b=`expr0.${b}`;else{a&&a.type&&(b=`${this._getMethodTypeName(a.type)}.${b}`);const T=this._nameCheck(b,c)||{};(p=T.title)!=null&&p.startsWith("built-in")&&(f.isBuiltIn=!0,f.isConst=T.isConst,!this._strategyVarName&&b.startsWith(Ui.strategy)&&(this._strategyVarName={ctx:c,name:b})),f.enumName=T.enumName,f.varPos=T.pos,f.varScope=T.scope,f.declare=T.declare,f.type=(T==null?void 0:T.type)||z.UNDETERMINED,T!=null&&T.isArg&&(f.arg=T),f.scope=this._blockCount,T.isEnum?this._errorHandle(Se(xe.enumUseErr,{name:b}),c):this._isInFunc&&this._currentExportFunc&&(f.type.startsWith(z.INPUT)?this._errorHandle(Se(xe.exportFuncHasInputErr,{name:b,func:this._currentExportFunc}),c):T.scope===0&&T.hasAssigned&&this._errorHandle(Se(xe.exportFuncUseGlobalVarErr,{func:this._currentExportFunc}),c))}f.name=b}return f}_typeElementVerify(n,r,a){var E,b;const{type:c,value:f}=n;if(!f){c||this._errorHandle(xe.typeFieldErr,a);return}if(![ye.Literal,ye.UnaryExpression].includes(f.ruleType)&&!f.isBuiltIn){this._errorHandle(xe.defaultValueErr,r);return}else if(f.ruleType===ye.UnaryExpression){const{exprs:T}=f;if(![ye.Literal,ye.UnaryExpression].includes((E=T[0])==null?void 0:E.ruleType)&&!((b=T[0])!=null&&b.isBuiltIn)){this._errorHandle(xe.defaultValueErr,r);return}}if(!c){const T=f.type,x=this._getPrefix(T);n.type=x?this._typeAddSeries(this._removePrefix(T)):T;return}(!this._compareType(c,f.type)||c.endsWith(z.INT)&&f.type.endsWith(z.FLOAT))&&this._errorHandle(Se(xe.defaultValueTypeErr,{typeE:f.type,typeR:c}),r)}_memberIndexVerify(n,r){if(n.ruleType===ye.Name&&!n.hasMethod&&this._blockCount){const c=this._currentBlockVars[this._blockCount],f=c&&c.get(n.name);f&&(f.isForVar?this._errorHandle(Se(xe.notHistoryErr,{name:n.name}),r):!(this._blockCount===1&&this._isInFunc)&&this._errorHandle(Se(Ir.localScopeGetHistory,{name:n.name}),r,Vn.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!==z.UNDETERMINED&&this._errorHandle(Se(xe.invalidType,{index:0}),r)}}_setFuncParams(n,r){var a;for(const c of n.params){const f=(a=this._types.get(c.type))==null?void 0:a[0];if(c.scope=this._blockCount+1,f&&f.fields)for(const p of f.fields){const E=`${c.name}.${p.name}`;this._currentFuncParams.set(E,{...p,originName:E,varScope:c.scope})}delete c.ctx,c.range=r,this._setVariablesMap(c,!0),this._currentFuncParams.set(c.name,c)}}_pushBlockRanges(n){!n||!n.start||!n.stop||this._blockRanges.push({startColumn:n.start.column,endColumn:n.stop.column,startLineNumber:n.start.line,endLineNumber:n.stop.line})}_setUserEnum(n,r,a){const{fields:c,name:f,desc:p,fieldsDesc:E}=n,b={members:c.map(T=>({name:T.name,value:T.value,enumName:f,isEnumMember:!0,desc:E==null?void 0:E[T.name],type:`${z.CONST} ${f}`})),name:f,desc:p,pos:r};if(this._enums.has(f)){this._errorHandle(Se(xe.typeRepeatErr,{name:f,keyword:Zt.enum}),a);return}else if(this._types.has(f)){this._errorHandle(Se(xe.typeRepeatErr,{name:f,keyword:Zt.type}),a);return}n.isExport&&this._exportEnums.push(b),this._enums.set(f,[{...b}]),this._addEnumToMap(f,f,r)}_setUserType(n,r,a){const{fields:c,name:f,desc:p,fieldsDesc:E}=n,b={fields:c.map(T=>({name:T.name,desc:E==null?void 0:E[T.name],type:T.type})),name:f,desc:p,pos:r};if(this._enums.has(f)){this._errorHandle(Se(xe.typeRepeatErr,{name:f,keyword:Zt.enum}),a);return}else if(this._types.has(f)){this._errorHandle(Se(xe.typeRepeatErr,{name:f,keyword:Zt.type}),a);return}n.isExport&&this._exportTypes.push(b),this._types.set(f,[{...b}]),this._addVarToMap(f,f,r,!1,!1)}_againAssignHandle(n,r,a){const c=a!==":="?a.replace("=",""):a,f=a!==":="?[z.UNDETERMINED,z.INT,z.FLOAT]:[];c==="+"&&f.push(z.STRING);const[p,E]=n;p.arg&&!p.name.includes(".")&&this._errorHandle(Se(xe.funcArgAssignErr,{name:p.name}),r[0]);const b=this._sameTypeJudge(n,r,c,f);let T=this._typeHandle(b);return this._updateUserVar(p.name,T,E.type),p.type=T,{ruleType:ye.AgainAssign,name:p,operator:a,type:T,value:E}}_typeCheck(n,r,a){const c=[z.SERIES,z.SIMPLE,z.CONST];switch(r){case j.RULE_typeName:const f=this._buildinTypes.get(n);f&&![...c,z.ARRAY,z.MATRIX,z.MAP].includes(f[0].name)||this._types.get(n)||this._errorHandle(Se(xe.notTypeKeyword,{text:n}),a);break;case j.RULE_typeArray:[z.ARRAY,z.MATRIX].includes(n)||this._errorHandle(xe.tempateTypeErr,a);break;case j.RULE_typeSeries:c.includes(n)||this._errorHandle(Se(xe.qualifierErr,{name:n}),a);break}}_getBuildVar(n){const r=this._buildinVariables.get(n);if(r&&r[0])return r[0];const a=this._buildinConstants.get(n);return a&&a[0]?Object.assign(a[0],{isConst:!0}):this._specialTreatmentChartPoint(n)}_specialTreatmentChartPoint(n){var r,a;if(n.startsWith("chart.point")){const c=n.split("."),f=c.pop(),p=c.join(".");return(((a=(r=this._buildinTypes.get(p))==null?void 0:r[0])==null?void 0:a.fields)||[]).find(b=>b.name===f)}}_verifyName(n,r){var c,f;const a=this._getBuildVar(n);if(a)return a;if(n.includes(".")){const p=n.split("."),E=p.pop(),b=p.join(".");let T=this._blockCount;for(;T>=0;){if(!this._currentBlockVars[T]){T--;continue}const w=this._currentBlockVars[T].get(b);if(r&&this._judgeGatherValue(E||"",r,w==null?void 0:w.valueType,!0),(w==null?void 0:w.type)==="chart.point"){const R=(((f=(c=this._buildinTypes.get(w.type))==null?void 0:c[0])==null?void 0:f.fields)||[]).find(v=>v.name===E);if(R)return Object.assign(R,{pos:w.pos})}T--}const x=this._specialTreatmentChartPoint(n);if(x)return x}return this._getUserVar(n)}_judgeGatherValue(n,r,a,c){return a!==`${z.SIMPLE} ${z.NA}`?!0:(c&&this._errorHandle(Se(xe.objectIsNaErr,{name:n,type:"field"}),r),!1)}_nameCheck(n,r,a=Se(xe.undeclared,{name:n})){const c=this._verifyName(n,r);return c||this._errorHandle(a,r),c}_inBlock(n){this._blockCount++,this._pushBlockRanges(n);const r=this.visit(n);return this._blockCount--,this._blockRanges.pop(),this._currentBlockVars.splice(this._blockCount+1),r}_errorHandle(n,r,a=Vn.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,z.BOOL,[z.UNDETERMINED,z.INT,z.FLOAT,z.BOOL],c)}_calcTypeJudge(n,r,a,c=0){return this._typeJudge(n,r,a,"int/float",[z.UNDETERMINED,z.INT,z.FLOAT],c)}_typeJudge(n,r,a,c,f,p=0){const E=n&&n.type;if(E){const b=this._removePrefix(E);if(!f.includes(b)&&b!==z.NA)return this._errorHandle(Se(xe.typeMismatch,{operator:`operator ${a}`,index:`expr${p}`,typeE:b,typeR:c}),r),z.UNDETERMINED;c===z.BOOL&&[z.INT,z.FLOAT].includes(b)&&this._errorHandle(Se(Ir.typeMismatch,{operator:`operator ${a}`,index:`expr${p}`,type:z.BOOL}),r,Vn.Warning)}return E||z.UNDETERMINED}_sameTypeJudge(n,r,a,c){let f="";const p=[],E=["plot_display","plot_simple_display"];["+","-","+=","-="].includes(a)&&(c=c.concat(E));for(const[b,T]of n.entries()){let x=T&&T.type||z.UNDETERMINED;const w=this._removePrefix(x);if(f||(f=w),!c.includes(w)&&c.length&&w!==z.NA){this._errorHandle(Se(xe.typeMismatch,{operator:`operator ${a}`,index:`expr${b}`,typeE:x,typeR:c.slice(1).join("/")}),r[b]),f=z.UNDETERMINED,p.push(f);continue}if(f===z.UNDETERMINED||w===z.UNDETERMINED)x=f=z.UNDETERMINED;else if(f!==w&&f!==z.NA&&w!==z.NA&&(![z.INT,z.FLOAT].includes(f)||![z.INT,z.FLOAT].includes(w)))if(a===":=")this._errorHandle(Se(xe.assignTypeMismatch,{typeE:w,name:n[0].name,typeR:f}),r[0]),x=f=z.UNDETERMINED;else if(["==","!=","?:"].includes(a)&&[z.INT,z.FLOAT,z.BOOL].includes(f)&&[z.INT,z.FLOAT,z.BOOL].includes(w))this._errorHandle(Se(Ir.typeMismatch,{operator:`operator ${a}`,index:`expr${b}`,type:f}),r[b],Vn.Warning),x=f=z.UNDETERMINED;else if(E.includes(f)&&E.includes(w)){if(f!==w){const F=this._getPrefix(x);p[b-1]=`${this._getPrefix(p[b-1])} ${E[0]}`,x=f=`${F} ${E[0]}`}}else this._errorHandle(Se(xe.typeMismatch,{operator:`operator ${a}`,index:`expr${b}`,typeE:w,typeR:f}),r[b]),x=f=z.UNDETERMINED;p.push(x)}return p}_getUserVar(n,r=!1){for(let a=this._blockCount;a>=0;a--){const c=this._currentBlockVars[a];if(a<=0){const f=this._currentFuncParams.get(n);if(f)return f.isArg=!0,f}if(c){const f=c.get(n);if(f)return f}}if(n.includes(".")&&!r){let a=!1,c=null;if(n.split(".").reduce((f,p)=>{let E=f?`${f}.${p}`:p;const b=this._getUserVar(E,!0);return b!=null&&b.type?b.type===z.UNDETERMINED?a=!0:(E=b.type,c=b):c=null,E},""),a)return{name:n,type:z.UNDETERMINED};if(c)return c}return null}_repeatVarJudge(n,r){this._getBuildVar(n)&&this._errorHandle(Se(xe.buidinVarErr,{name:n}),r);for(let c=0;c<=this._blockCount;c++){const f=this._currentBlockVars[c];if(f&&f.get(n)){if(this._blockCount===c)return this._errorHandle(Se(xe.repeatVar,{name:n}),r),!0;this._errorHandle(Se(Ir.repeatVar,{name:n}),r,Vn.Warning)}}}_judgeVarBuildIn(n){for(let r=0;r<=this._blockCount;r++){const a=this._currentBlockVars[r];if(a&&a.get(n))return!0}return!1}_updateUserVar(n,r,a){for(let c=0;c<=this._blockCount;c++){const f=this._currentBlockVars[c];if(f){const p=f.get(n);if(p){p.type=r,p.valueType=a;return}}}}_variablesHandle(n,r){var f,p,E,b;if(!(n&&n.nameList))return;const a=n.nameList;if(a.name==="_")return;const c=n.value;if(a.ruleType===ye.VarMultiple){a.types=[],this._checkVarMultiple(a.names,c,r);for(const[T,x]of a.names.entries()){const w=this._varTypeJudge("",((f=c==null?void 0:c.types)==null?void 0:f[T])||z.UNDETERMINED,r);a.types.push(w),this._addVarToMap(x,w,a.posList[T],!0)}}else{const T=(c==null?void 0:c.type)||((p=c==null?void 0:c.returnedTypes)==null?void 0:p[0]);((E=c==null?void 0:c.types)!=null&&E.isBrackethesized||(b=c==null?void 0:c.returnedTypes)!=null&&b.isBrackethesized)&&this._errorHandle(Se(xe.tupleLeftVarErr,{name:a.name}),r),!a.type&&T===`${z.SIMPLE} ${z.NA}`&&this._errorHandle(xe.naVarErr,r),a.prefix&&Vi.indexOf(a.prefix)>Vi.indexOf(this._getPrefix(T))&&this._errorHandle(Se(xe.declaredErr,{prefix:a.prefix,type:T}),r);const x=this._varTypeJudge(a.type,T||z.UNDETERMINED,r);a.type=x,this._addVarToMap(a.name,x,a.pos,!0,a.isForVar,a.declare,c==null?void 0:c.type,a.desc)}}_checkVarMultiple(n,r,a){var b,T,x,w;const c=n.length,f=((r==null?void 0:r.types)||(r==null?void 0:r.returnedTypes)||[]).length,p=((b=r==null?void 0:r.types)==null?void 0:b.isBrackethesized)||((T=r==null?void 0:r.returnedTypes)==null?void 0:T.isBrackethesized);(x=r==null?void 0:r.types)!=null&&x.isUnknown||(w=r==null?void 0:r.returnedTypes)!=null&&w.isUnknown||(f===1&&!p||!f?this._errorHandle(xe.tupleRightVarErr,a):c!==f&&this._errorHandle(Se(xe.tupleVarErr,{indexA:f,indexB:c}),a))}_addEnumToMap(n,r,a){var E;const c=this._currentBlockVars[this._blockCount]||new Map,f=(E=this._enums.get(n))==null?void 0:E[0];if(f&&f.members)for(const b of f.members)c.set(`${n}.${b.name}`,b);const p={name:n,isEnum:!0,type:`${z.CONST} ${r}`,pos:a};c.set(n,p),this._currentBlockVars[this._blockCount]=c}_addVarToMap(n,r,a,c=!0,f=!1,p,E,b){var F;const T=this._currentBlockVars[this._blockCount]||new Map,x=(F=this._types.get(r))==null?void 0:F[0];if(x&&x.fields)for(const R of x.fields)T.set(`${n}.${R.name}`,R);const w={name:n,type:r,pos:a,valueType:E,desc:b};c&&this._setVariablesMap(w),T.set(n,Object.assign(w,{isForVar:f,declare:p})),this._currentBlockVars[this._blockCount]=T}_setVariablesMap(n,r=!1){const a=this._blockRanges[this._blockCount];r||(n.range=a,n.scope=this._blockCount);const c=this._variables.get(n.name)||[];c.push(n),this._variables.set(n.name,c)}_varTypeJudge(n,r,a){if(r===z.VOID)return this._errorHandle(xe.voidNotVar,a),z.UNDETERMINED;if(n&&r!==z.UNDETERMINED){const c=this._removePrefix(n),f=this._removePrefix(r);return f!==c&&f!==z.NA&&!(c===z.FLOAT&&f===z.INT)?(this._errorHandle(Se(xe.declareTypeErr,{type:n,valueType:r}),a),z.UNDETERMINED):this._typeHandle([n,r])}else if(r===z.UNDETERMINED)return z.UNDETERMINED;return n||r||z.UNDETERMINED}_getAllowTypes(n){const r=[];if(n===z.UNDETERMINED)return r;const a=this._getPrefix(n);if(a){const c=this._removePrefix(n);let f=-1;for(const[p,E]of Vi.entries())E===a&&(f=p),f>=0&&f<=p&&(c===z.FLOAT&&r.push(`${E} ${z.INT}`),r.push(`${E} ${c}`))}else n=this._arrayTypeConvert(n)||"",r.push(n),n.includes(z.FLOAT)&&r.push(n.replace(/float/,z.INT));return r}_setNewFunc(n,r){const a=`${n.name}.new`,c=[],f=[];for(const E of n.fields)c.push({name:E.name,required:!1,allowedTypeIDs:this._getAllowTypes(E.type),displayType:E.type}),f.push(`${E.type} ${E.name}`);const p={name:a,args:c,returnedTypes:[n.name],pos:r,syntax:[`${a}(${f.join(", ")}) → ${n.name}`]};n.isExport&&this._exportFunctions.push(p),this._functions.set(a,[{...p,isUser:!0}])}_setCopyFunc(n,r){const a=n.name,c=`${a}.copy`,f={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(f),this._functions.set(c,[{...f,isUser:!0}])}_setCopyMethod(n,r){const a=n.name,c=`${a}.copy`,f={name:c,originalName:c,args:[],returnedTypes:[a],thisType:[a],pos:r,syntax:[`${c}() → ${a}`]};n.isExport&&this._exportMethods.push(f),this._methods.set(c,[{...f,isUser:!0}])}_setFunc(n,r,a,c){const f=[],p=[],{desc:E,paramsDesc:b,returnsDesc:T,params:x,hasMemberIndex:w}=n;for(const A of x){const{type:O,name:D,defaultValue:P}=A;f.push({name:D,desc:b==null?void 0:b[D],required:!P,allowedTypeIDs:this._getAllowTypes(O),displayType:O}),p.push(`${O===z.UNDETERMINED?"":`${O} `}${D}`)}const{returnedTypes:F=[]}=n,R=n.name,v=F.length>1?`[${F.join(", ")}]`:F.toString(),d={name:R,desc:E,args:f,syntax:[`${R}(${p.join(", ")}) → ${v||"void"}`],hasMemberIndex:w,pos:r,isUser:!0,returnedTypes:F,returns:T,hasRequest:this._hasRequest};let g=this._functions.get(R);if(g){const A=g.length;d.index=A,n.index=A,this._verifyFuncRepeat(g,d,a),g.push(d),this._overloadsFuncs.push({name:R,index:A,line:r.lineNumber,startColumn:r.column+1,endColumn:r.column+R.length})}else g=[d];if(n.isExport){const{line:A=0}=this._endExport;c>A&&(this._endExport={line:c,name:R,index:d.index}),this._exportFunctions.push(d)}this._functions.set(R,g)}_setMethod(n,r){var O;const{name:a,returnedTypes:c,params:f,desc:p,paramsDesc:E,returnsDesc:b}=n,T=f[0].type,x=[],w=[];for(const D of f.slice(1)){const{type:P,name:U,defaultValue:H}=D;x.push({name:U,desc:E==null?void 0:E[U],required:!H,allowedTypeIDs:this._getAllowTypes(P),displayType:P}),w.push(`${P} ${U}`)}const F=c.length>1?`[${c.join(", ")}]`:c.toString(),R=this._getMethodTypeName(T),v=`${R}.${a}`;n.typeName=R;const d={name:a,args:x,desc:p,originalName:v,syntax:[`${a}(${w.join(", ")}) → ${F||"void"}`],returnedTypes:c,hasMemberIndex:n.hasMemberIndex,pos:r,thisType:[T],returns:b,hasRequest:this._hasRequest};let g=this._methods.get(v),A=this._functions.get(a);if(A){const D=A.filter(H=>!H.isImport).length,P=((O=g==null?void 0:g.filter(H=>!H.isImport))==null?void 0:O.length)||0;let U=D;D>P&&(U=D-1),d.index=U,n.index=U}g?g.push(d):g=[d],n.isExport&&this._exportMethods.push(d),this._methods.set(v,g)}_verifyFuncRepeat(n,r,a){const{args:c}=r;n.some(p=>{const{args:E}=p;return(E==null?void 0:E.length)!=(c==null?void 0:c.length)?!1:!(E!=null&&E.length)&&!(c!=null&&c.length)?!0:E==null?void 0:E.every((b,T)=>{var x;return b.displayType===((x=c==null?void 0:c[T])==null?void 0:x.displayType)})})&&this._errorHandle(Se(xe.funcRepeatErr,{name:r.name}),a)}_getMethodTypes(n,r){let a;for(const[c,f]of n.entries()){const{type:p,expr:E,args:b}=f;let{name:T}=f;const x=r[c];if(E){if(E.type===z.UNDETERMINED)return[z.UNDETERMINED];T=`${this._getMethodTypeName(E.type)}${T}`,b.params.unshift(E)}if(a&&a.length>=1)if(a.length===1){const w=a[0];if(w===z.UNDETERMINED)return[z.UNDETERMINED];const F=this._getOriginMethodName(w,T);T.includes(".")?a=this._getOtherNamesMethodType(F,a,x,b,f):a=this._expandMethodHandle(F,x,b,{type:w},w,f)}else this._errorHandle(Se(xe.noFiledErr,{name:T}),x);else{const[w,F]=this._tempFuncNameHandle(T,x,p);T=F;const R=this._buildinFunctions.get(w);if(R)this._globalFuncVerify(R[0],x),this._hasMemberIndexVerify(R[0],x,f),f.isBuiltIn=!0,a=this._getBuildInReturnTypes(R,b,T,x,void 0,p);else{const v=this._functions.get(T);if(v)if(v.length<=1){this._hasMemberIndexVerify(v[0],x,f),a=v[0].returnedTypes;const{hasErr:d}=this._checkArgs(b,v[0].args||[],T,x,a[0]);if(d)return[z.UNDETERMINED]}else{const d=this._overloadsFuncGetTypes(v,b,x,void 0,f);a=this._returnedTypesParse([d])}else a=this._getOtherNamesMethodType(T,a,x,b,f)}}f.returnTypes=a}return a===void 0&&this._errorHandle(Se(xe.notFindFuncErr,{name:n[0].name}),r[0]),a}_globalFuncVerify(n,r){this._blockCount!==0&&uy.includes(n.name)&&this._errorHandle(Se(xe.globalFuncErr,{name:n.name}),r)}_hasMemberIndexVerify(n,r,a){n.hasRequest&&(a.hasRequest=!0,this._hasRequest=!0),n.hasMemberIndex||n.name.startsWith("ta.")||n.name==="math.sum"?(this._hasMemberIndex=this._isInFunc,a.hasMemberIndex=!0,a.position=r.start.tokenIndex):n.name.startsWith("request.")&&this._isInLocalScop&&this._errorHandle(xe.requestUserInLoopErr,r)}_tempFuncNameHandle(n,r,a){let c=n;if(a&&a.length>=1){const f=["array.new","matrix.new"].includes(n),p=n==="map.new";if(a.length===1)if(f)c=`${n}<type>`,n=`${n}<${a[0]}>`;else return p?this._errorHandle(Se(xe.templateErr,{countA:2,countB:1}),r):this._errorHandle(Se(xe.templateNoSupportErr,{name:n}),r),[z.UNDETERMINED];else{if(!p)return f?this._errorHandle(Se(xe.templateErr,{countA:1,countB:2}),r):this._errorHandle(Se(xe.templateNoSupportErr,{name:n}),r),[z.UNDETERMINED];if(!mu.includes(a[0]))return this._errorHandle(Se(xe.mapKeyErr,{type:this._typeAddSeries(a[0])}),r),[z.UNDETERMINED];c=`${n}<type,type>`,n=`${n}<${a[0]},${a[1]}>`}}return[c,n]}_getOtherNamesMethodType(n,r,a,c,f){const p=n.split("."),E=p.length-1,b=p.slice(0,E).join("."),T=this._getUserVar(b);this._judgeGatherValue(p[E],a,T==null?void 0:T.valueType)||(f.name=`${b}?.${p[E]}`);const w=T==null?void 0:T.type;if(w){if(w===z.UNDETERMINED)return r=[z.UNDETERMINED],r.isUnknown=!0,r;const F=this._getOriginMethodName(w,p[E]);f.varScope=T.scope,r=this._expandMethodHandle(F,a,c,T,b,f)}else{let F="",R="",v="";for(const d of p.slice(0,E)){F?R=this._getOriginMethodName(F,d):R=R?`${R}.${d}`:d;const g=this._verifyName(R);if(g!=null&&g.type){if(F=g.type,v="",g.title.startsWith("built-in variable")){const A=this._getOriginMethodName(F,p[E]);r=this._expandMethodHandle(A,a,c,T,b,f),f.hasVarPrefix=!0}}else this._buildinTypes.get(R)?v=Se(xe.methodNotExistErr,{name:R,methodName:p[E]}):v=Se(xe.noFiledErr,{name:d})}v&&this._errorHandle(v,a)}return r}_expandMethodHandle(n,r,a,c,f,p){var T,x;let E;const b=this._buildinMethods.get(n);if(b)p.name=p.name.split(".").join("?."),E=this._getBuildInReturnTypes(b,a,n,r,c);else{const w=this._methods.get(n);if(w&&w.length)if(w.length<=1){const F=w[0],R=this._getMethodTypeName(((T=F.thisType)==null?void 0:T[0])||"");if(this._types.get(R))p.name=p.name.split(".").join("?.");else{const g=this._functions.get(F.name);g&&(p.selfArg=(x=g[F.index||0].args)==null?void 0:x[0])}p.funcName=F.name,p.index=F.index,this._hasMemberIndexVerify(F,r,p),E=F.returnedTypes;const{hasErr:d}=this._checkArgs(a,F.args||[],n,r,(E==null?void 0:E[0])||"");if(d)return[z.UNDETERMINED]}else{const F=this._overloadsFuncGetTypes(w,a,r,c,p);E=this._returnedTypesParse([F])}else this._errorHandle(Se(xe.methodNotExistErr,{methodName:n.split(".").slice(-1)[0],name:f}),r)}return E}_getBuildInReturnTypes(n,r,a,c,f,p){var b;let E;if(n.length===1){const{returnedTypes:T,syntax:x,args:w=[],thisType:F}=n[0],R=x[0].split("→")[1].trim(),v=f||r.params[0]||((b=w[0])==null?void 0:b.name)&&r[w[0].name];v&&!this._checkMethodThisType(F,v.type)&&this._errorHandle(Se(xe.typeMismatch,{operator:a,index:v.name||"id",typeE:v.type,typeR:F[0]}),c);const{hasErr:d,types:g}=this._checkArgs(r,w,a,c,R,v);if(d)return[z.UNDETERMINED];if(E=g.length&&g||this._returnedTypesParse(T),E.length>1)return E;(p==null?void 0:p.length)===1?E=[this._typeReplace(R,p[0])]:(p==null?void 0:p.length)===2&&(E=[`${z.MAP}<${p[0]},${p[1]}>`]),E=this._returnTypesOtherHandle(v,R,E,a)}else{const T=this._overloadsFuncGetTypes(n,r,c,f);E=this._returnedTypesParse([T])}return E}_overloadsFuncGetTypes(n,r,a,c,f){var R,v,d;let p="",E=[],b=[],T=0,x=0;for(const[g,A]of n.entries()){const{args:O,returnedTypes:D,name:P,thisType:U}=A,H=c||r.params[0]||r[O[0].name],{errMsg:B,warnMsg:G,matchCount:N}=this._overloadsCheckArgs(r,O,P,a,H);N>x&&(T=g,x=N),H&&!this._checkMethodThisType(U,H.type)&&B.unshift({msg:Se(xe.typeMismatch,{operator:P,index:H.name||"id",typeE:H.type,typeR:U[0]}),ctx:a}),g===0?(E=B,b=G,!B.length&&(p=D[0])):B.length?((R=E[0])!=null&&R.isLenErr&&!((v=B[0])!=null&&v.isLenErr)||E.length>B.length)&&(E=B,b=G,T=g):this._priorityComparison(p,D[0])||(D[0]===`${z.ARRAY}<>`?p=`${H.type}[]`:p=D[0],E=B,b=G,T=g)}for(const g of E)this._errorHandle(g.msg,g.ctx);for(const g of b)this._errorHandle(g.msg,g.ctx,Vn.Warning);const w=a.children[0],F=n[0].name;if(w&&this._overloadsFuncs.push({name:F,index:T,line:w.start.line,startColumn:w.start.column+1,endColumn:w.start.column+F.length}),f){const g=n[T],{thisType:A,name:O,index:D}=g;if(this._hasMemberIndexVerify(g,a,f),f.index=D||T,A){const P=this._getMethodTypeName((A==null?void 0:A[0])||"");if(this._types.get(P))f.name=f.name.split(".").join("?.");else{const H=this._functions.get(O);H&&(f.selfArg=(d=H[0].args)==null?void 0:d[0])}}}return this._funcArgsAddOriginName(r,n[T].args,F),p||z.UNDETERMINED}_funcArgsAddOriginName(n,r,a){const c=n.params||[];for(const[f,p]of r.entries())f<c.length&&(c[f].originName=p.name);if(a==="input"){const f=c[0]||n.defval;Object.assign(n,{inputType:{name:`'${f!=null&&f.isSourceType?"source":this._removePrefix(f==null?void 0:f.type)}'`}})}}_overloadsCheckArgs(n,r,a,c,f){const p={...n},E=p.params;delete p.params;const b=Object.keys(p).length+E.length,T=r.length,x=[],w=[];let F=0;b>T&&(r.some(v=>["arg0, arg1, ...","number0, number1, ..."].includes(v.name))||x.push({msg:Se(xe.argsLenErr,{name:a,lenA:b,lenB:T}),isLenErr:!0,ctx:c}));for(const[R,v]of r.entries()){let d=p[v.name];if(R<E.length&&(d&&w.push({msg:Se(Ir.moreSameArg,{arg:v.name}),ctx:c}),d=E[R]),!d)v.required&&x.push({msg:Se(xe.requiredParamErr,{name:a,argName:v.name}),ctx:c});else{const g=d.type!==`${z.SIMPLE} na`?this._checkArg(d,v,a,f,d.ctx,!0):"";g?x.push({msg:g,ctx:d.ctx}):g!==!1&&F++,delete p[v.name]}if(["arg0, arg1, ...","number0, number1, ..."].includes(v.name)&&E.length>R+1){const g=E.slice(R+1);let A=E[R];for(const O of g){A.type===`${z.SIMPLE} ${z.NA}`&&(A=O);const D=O.type!==`${z.SIMPLE} ${z.NA}`?this._checkArg(O,v,a,A,O.ctx,!0):"";D&&x.push({msg:D,ctx:O.ctx})}}}if(Object.keys(p).length)for(const R of Object.keys(p))x.push({msg:Se(xe.argsNameErr,{name:a,argName:R}),ctx:p[R].ctx});return{errMsg:x,warnMsg:w,matchCount:F}}_checkArgs(n,r,a,c,f,p){var R;const E={...n},b=E.params;delete E.params;const T=Object.keys(E).length+b.length,x=r.length;let w=!1,F=[];if(T>x&&!r.some(d=>["arg0, arg1, ...","number0, number1, ..."].includes(d.name)))return this._errorHandle(Se(xe.argsLenErr,{name:a,lenA:T,lenB:x}),c),w=!0,{hasErr:w,types:F};for(const[v,d]of r.entries()){let g=E[d.name];if(v<b.length&&(g&&this._errorHandle(Se(Ir.moreSameArg,{arg:d.name}),c,Vn.Warning),g=b[v],g.originName=d.name),!g)d.required&&(this._errorHandle(Se(xe.requiredParamErr,{name:a,argName:d.name}),c),w=!0);else{const A=g.type!==`${z.SIMPLE} ${z.NA}`?this._checkArg(g,d,a,p,g.ctx):"";if(A)this._errorHandle(A,g.ctx),w=!0;else if(A===!1)w=!0;else if(a.startsWith("request.")&&d.name==="expression")if(g.ruleType===ye.Brackethesized)F=g.exprs.map(O=>this._typeReplace(f,O.type));else if((R=g.types||g.returnedTypes)!=null&&R.isBrackethesized)F=(g.types||g.returnedTypes).map(O=>this._typeReplace(f,O));else{const O=this._typeReplace(f,g.type);F.push(O)}else if(a==="input.enum"&&d.name==="defval"){const O=this._removePrefix(g.type);F.push(`${z.INPUT} ${O}`)}delete E[d.name]}}if(Object.keys(E).length)for(const v of Object.keys(E))this._errorHandle(Se(xe.argsNameErr,{name:a,argName:v}),E[v].ctx),w=!0;return{hasErr:w,types:F}}_checkArg(n,r,a,c,f,p){var v,d;const{ruleType:E,exprs:b,name:T}=n;let x=n.type;E===ye.Brackethesized&&(x=`[${b.map(g=>g.type).join(", ")}]`);const{allowedTypeIDs:w=[],displayType:F,name:R}=r;if(!(!x||x===z.UNDETERMINED||F===z.UNDETERMINED)){if(a==="input"&&R==="defval"&&!x.startsWith(z.CONST))if(Rl.includes(T))n.isSourceType=!0;else return xe.inputDefvalErr;if(!(this._checkMethodThisType(w,this._arrayTypeConvert(x))&&!(["input.source","input.enum"].includes(a)&&R==="defval"))){if(R==="condition"&&(F!=null&&F.endsWith(z.BOOL))){if(x.endsWith(z.INT)||x.endsWith(z.FLOAT)){f&&this._errorHandle(Se(Ir.typeMismatch,{index:R,operator:a,type:z.BOOL}),f,Vn.Warning);return}}else if(a==="str.tostring"&&R==="value"){const g=this._removePrefix(x);if(this._enums.get(g))return}switch(F){case"tuple of const string values: [val1, val2, ...]":return this._tupleToCheck(n,r,[`${z.CONST} ${z.STRING}`],a,x);case"tuple of const int/float values: [val1, val2, ...]":return this._tupleToCheck(n,r,[`${z.CONST} ${z.FLOAT}`,`${z.CONST} ${z.INT}`],a,x);case"tuple of const int values: [val1, val2, ...]":return this._tupleToCheck(n,r,[`${z.CONST} ${z.INT}`],a,x);case"open/high/low/close/hl2/hlc3/ohlc4/hlcc4":if(!T||!Rl.includes(T))return Se(xe.inputSourceErr,{name:R,funcName:a});if(this._judgeVarBuildIn(T))return Se(xe.buildInUseErr,{name:T});n.isSourceType=!0;break;case"<matrix_type>":case"<array_type>":const g=this._getArrayType(a)||"";if(!x.endsWith(g)&&!(x.endsWith(z.INT)&&g===z.FLOAT))return Se(xe.typeMismatch,{operator:a,index:R,typeE:x,typeR:this._typeAddSeries(g)});break;case"any matrix type":if(this._isMatrixType(x)){if(R==="id2"){const G=this._getArrayType(c==null?void 0:c.type);if(!G)return;const N=this._getArrayType(x)||"";if(G!==N)return Se(xe.typeMismatch,{operator:a,index:R,typeE:N,typeR:G})}}else return Se(xe.typeMismatch,{operator:a,index:R,typeE:x,typeR:"matrix<fun_arg>"});break;case"any array type":if(this._isArrayType(x)){if(R==="id2"){const G=this._getArrayType(c==null?void 0:c.type);if(!G)return;const N=this._getArrayType(x)||"";if(G!==N)return Se(xe.typeMismatch,{operator:a,index:R,typeE:N,typeR:G})}}else return Se(xe.typeMismatch,{operator:a,index:R,typeE:x,typeR:"array<fun_arg>"});break;case"series <type of the matrix's elements>":case"series <type of the array's elements>":const A=this._getArrayType(c==null?void 0:c.type)||"";if(!x.endsWith(A)&&!(x.endsWith(z.INT)&&A===z.FLOAT))return Se(xe.typeMismatch,{operator:a,index:R,typeE:x,typeR:this._typeAddSeries(A)});break;case"any map type":if(this._isMapType(x)){if(R==="id2"){const G=this._getMapType(c==null?void 0:c.type);if(!G)return;const N=this._getMapType(x)||[];if(G[0]!==N[0]||G[1]!==N[1])return Se(xe.mapKeyValErr,{typeA:this._typeAddSeries(N[0]),typeB:this._typeAddSeries(N[1]),typeC:this._typeAddSeries(G[0]),typeD:this._typeAddSeries(G[1]),name:a})}}else return Se(xe.typeMismatch,{operator:a,index:R,typeE:x,typeR:"map<type, type>"});break;case"series <type of the map's elements>":const O=this._getMapType(c==null?void 0:c.type);if(!O)return;const D=R==="key"?0:1;if(!x.endsWith(O[D])&&!(x.endsWith(z.INT)&&O[D]===z.FLOAT))return Se(xe.typeMismatch,{operator:a,index:R,typeE:x,typeR:this._typeAddSeries(O[D])});break;case"<arg_expr_type>":if(E===ye.Brackethesized)return Se(xe.typeMismatch,{operator:a,index:R,typeE:x,typeR:F||""});break;case"<arg_type>":case"variable, function, object, array or matrix of series int/float/bool/string/color, or a tuple of these":const P=this._removePrefix(x);if([z.BOX,z.LABEL,z.LINE,z.LINEFILL,z.POLYLINE,z.TABLE].includes(P))return f&&this._errorHandle(Se(xe.requestExprErr,{type:P,name:a}),f),!1;break;case"variable, object or function of series int/float/bool/string/color, or a tuple of these":if(E===ye.Brackethesized){for(const G of b)if(!w.includes(G.type))return this._errorHandle(Se(xe.requestArgsErr,{name:a,argName:R,type:G.type}),G.ctx),!1}break;case"const int/float/bool/string/color or source-type built-ins":if(Rl.includes(n.name)&&w[0].endsWith(this._removePrefix(x)))n.isSourceType=!0;else return Se(xe.typeMismatch,{operator:a,index:R,typeE:x,typeR:"const int/float/bool/string/color"});break;case"<arg..._type>":if(E===ye.Brackethesized||this._isArrayType(x)||this._isMapType(x)||this._isMatrixType(x))return Se(xe.typeMismatch,{operator:a,index:R,typeE:x,typeR:`${z.SERIES} ${z.INT}`});if(x!==(c==null?void 0:c.type))return Se(xe.typeMismatch,{operator:a,index:R,typeE:x,typeR:c==null?void 0:c.type});break;case"simple enum":const U=this._removePrefix(x);if(!this._enums.has(U))return Se(xe.typeMismatch,{operator:a,index:R,typeE:x,typeR:"const enum"});break;case"tuple of enum fields: [enumName.field1, enumName.field2, ...]":const H=c==null?void 0:c.enumName;if(H&&!((v=n.exprs)==null?void 0:v.every(N=>N.enumName===H)))return Se(xe.typeMismatch,{operator:a,index:R,typeE:`${n.exprs?`[${(d=n.exprs)==null?void 0:d.map(N=>N.type).join(", ")}]`:n.type}`,typeR:`[const ${H}...]`});break;default:const B=this._removePrefix(n.type);if(n.arg&&n.arg.isArg&&!p){const G=w.find(N=>N.endsWith(B));if(G){n.type=G,n.arg.type=G;return}}if(w.length===1&&this._removePrefix(w[0])===B){const G=this._getPrefix(n.type),N=this._getPrefix(w[0]);if(Vi.indexOf(G)>=Vi.indexOf(N))return}if(F)return Se(xe.typeMismatch,{operator:a,index:R,typeE:x,typeR:F})}}}}_tupleToCheck(n,r,a,c,f){var p,E;if(a.push(`${z.SIMPLE} ${z.NA}`),n.ruleType===ye.Brackethesized){const b=[];let T=!1;for(const x of n.exprs)b.push(x.type),a.includes(x.type)||(T=!0);if(T)return Se(xe.typeMismatch,{operator:c,index:r.name,typeE:`[${b.join(", ")}]`,typeR:((p=r.allowedTypeIDs)==null?void 0:p[0])||""})}else return Se(xe.typeMismatch,{operator:c,index:r.name,typeE:f,typeR:((E=r.allowedTypeIDs)==null?void 0:E[0])||""})}_getBlockReturnTypes(n){var w,F;let r=n;if(Array.isArray(n)&&(r=n.slice(-1)[0],Array.isArray(r)&&(r=r.slice(-1)[0])),!r)return[z.UNDETERMINED];const{ruleType:a,type:c,types:f,returnedTypes:p,exprs:E,nameList:b,typeList:T,block:x}=r;if(f&&f.length)return f;if(p&&p.length)return p;if(c)return[c];switch(a){case ye.Brackethesized:const R=E.map(H=>H.type);return R.isBrackethesized=!0,R;case ye.VarBlockStmt:case ye.DeclareAssign:return b?b.ruleType===ye.VarMultiple?b.types:[b.type]:[((w=r.name)==null?void 0:w.type)||z.UNDETERMINED];case ye.SwitchStatement:if(!this._isNeedCalc&&this._isInFunc&&this._isEndExpr===!1)return[z.UNDETERMINED];const v=[...r.cases];r.defaultCase&&v.push(r.defaultCase);let d=((F=v[0])==null?void 0:F.returnedTypes)||[],g=d.length<=1?d[0]:`[${d.join(", ")}]`,A=null;for(const H of v.slice(1)){const B=H.returnedTypes||[z.UNDETERMINED];g+=B.length<=1?`; ${B[0]}`:`; [${B.join(", ")}]`;const G=Array.isArray(H.block)?H.block.slice(-1)[0]:H.block;if(B.length!==d.length)A=G.ctx;else for(const[N,K]of d.entries())if(this._compareType(B[N],K))(B[N].includes(z.FLOAT)&&!K.includes(z.FLOAT)||d[N]===`${z.SIMPLE} ${z.NA}`||d[N]===z.UNDETERMINED)&&(d[N]=B[N]);else{A=G.ctx;break}}return A&&(this._errorHandle(Se(xe.ifOrSwitchTypeErr,{keyword:"switch",types:g}),A),d=d.map(()=>z.UNDETERMINED)),r.returnedTypes=d,d;case ye.IfStatement:if(!this._isNeedCalc&&!this._isInFunc)return[z.UNDETERMINED];if(!T.filter(H=>H&&H.length).length)return[z.UNDETERMINED];let O=T[0]||[],D=O.length<=1?O[0]:`[${O.join(", ")}]`,P=0,U=0;for(const H of T.slice(1))if(H)if(P++,D+=H.length<=1?`; ${H[0]}`:`; [${H.join(", ")}]`,H.length!==O.length)U=P;else for(const[B,G]of O.entries())if(this._compareType(H[B],G))(H[B].includes(z.FLOAT)&&!G.includes(z.FLOAT)||O[B]===`${z.SIMPLE} ${z.NA}`)&&(O[B]=H[B]);else{U=P;break}if(U){const H=x[U].slice(-1)[0],B=Array.isArray(H)?H.slice(-1)[0]:H;this._errorHandle(Se(xe.ifOrSwitchTypeErr,{keyword:"if",types:D}),B.ctx),O=O.map(()=>z.UNDETERMINED)}return r.returnedTypes=O,O}return[z.UNDETERMINED]}}var Cp={exports:{}};function my(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Fl={exports:{}},yy={},gy=Object.freeze({__proto__:null,default:yy}),vy=hy(gy),Dp;function Lt(){return Dp||(Dp=1,function(t,e){(function(n,r){t.exports=r()})(Tt,function(){var n=n||function(r,a){var c;if(typeof window<"u"&&window.crypto&&(c=window.crypto),typeof self<"u"&&self.crypto&&(c=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(c=globalThis.crypto),!c&&typeof window<"u"&&window.msCrypto&&(c=window.msCrypto),!c&&typeof Tt<"u"&&Tt.crypto&&(c=Tt.crypto),!c&&typeof my=="function")try{c=vy}catch{}var f=function(){if(c){if(typeof c.getRandomValues=="function")try{return c.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof c.randomBytes=="function")try{return c.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},p=Object.create||function(){function A(){}return function(O){var D;return A.prototype=O,D=new A,A.prototype=null,D}}(),E={},b=E.lib={},T=b.Base=function(){return{extend:function(A){var O=p(this);return A&&O.mixIn(A),(!O.hasOwnProperty("init")||this.init===O.init)&&(O.init=function(){O.$super.init.apply(this,arguments)}),O.init.prototype=O,O.$super=this,O},create:function(){var A=this.extend();return A.init.apply(A,arguments),A},init:function(){},mixIn:function(A){for(var O in A)A.hasOwnProperty(O)&&(this[O]=A[O]);A.hasOwnProperty("toString")&&(this.toString=A.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),x=b.WordArray=T.extend({init:function(A,O){A=this.words=A||[],O!=a?this.sigBytes=O:this.sigBytes=A.length*4},toString:function(A){return(A||F).stringify(this)},concat:function(A){var O=this.words,D=A.words,P=this.sigBytes,U=A.sigBytes;if(this.clamp(),P%4)for(var H=0;H<U;H++){var B=D[H>>>2]>>>24-H%4*8&255;O[P+H>>>2]|=B<<24-(P+H)%4*8}else for(var G=0;G<U;G+=4)O[P+G>>>2]=D[G>>>2];return this.sigBytes+=U,this},clamp:function(){var A=this.words,O=this.sigBytes;A[O>>>2]&=4294967295<<32-O%4*8,A.length=r.ceil(O/4)},clone:function(){var A=T.clone.call(this);return A.words=this.words.slice(0),A},random:function(A){for(var O=[],D=0;D<A;D+=4)O.push(f());return new x.init(O,A)}}),w=E.enc={},F=w.Hex={stringify:function(A){for(var O=A.words,D=A.sigBytes,P=[],U=0;U<D;U++){var H=O[U>>>2]>>>24-U%4*8&255;P.push((H>>>4).toString(16)),P.push((H&15).toString(16))}return P.join("")},parse:function(A){for(var O=A.length,D=[],P=0;P<O;P+=2)D[P>>>3]|=parseInt(A.substr(P,2),16)<<24-P%8*4;return new x.init(D,O/2)}},R=w.Latin1={stringify:function(A){for(var O=A.words,D=A.sigBytes,P=[],U=0;U<D;U++){var H=O[U>>>2]>>>24-U%4*8&255;P.push(String.fromCharCode(H))}return P.join("")},parse:function(A){for(var O=A.length,D=[],P=0;P<O;P++)D[P>>>2]|=(A.charCodeAt(P)&255)<<24-P%4*8;return new x.init(D,O)}},v=w.Utf8={stringify:function(A){try{return decodeURIComponent(escape(R.stringify(A)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(A){return R.parse(unescape(encodeURIComponent(A)))}},d=b.BufferedBlockAlgorithm=T.extend({reset:function(){this._data=new x.init,this._nDataBytes=0},_append:function(A){typeof A=="string"&&(A=v.parse(A)),this._data.concat(A),this._nDataBytes+=A.sigBytes},_process:function(A){var O,D=this._data,P=D.words,U=D.sigBytes,H=this.blockSize,B=H*4,G=U/B;A?G=r.ceil(G):G=r.max((G|0)-this._minBufferSize,0);var N=G*H,K=r.min(N*4,U);if(N){for(var Y=0;Y<N;Y+=H)this._doProcessBlock(P,Y);O=P.splice(0,N),D.sigBytes-=K}return new x.init(O,K)},clone:function(){var A=T.clone.call(this);return A._data=this._data.clone(),A},_minBufferSize:0});b.Hasher=d.extend({cfg:T.extend(),init:function(A){this.cfg=this.cfg.extend(A),this.reset()},reset:function(){d.reset.call(this),this._doReset()},update:function(A){return this._append(A),this._process(),this},finalize:function(A){A&&this._append(A);var O=this._doFinalize();return O},blockSize:16,_createHelper:function(A){return function(O,D){return new A.init(D).finalize(O)}},_createHmacHelper:function(A){return function(O,D){return new g.HMAC.init(A,D).finalize(O)}}});var g=E.algo={};return E}(Math);return n})}(Fl)),Fl.exports}var Nl={exports:{}},kp;function yu(){return kp||(kp=1,function(t,e){(function(n,r){t.exports=r(Lt())})(Tt,function(n){return function(r){var a=n,c=a.lib,f=c.Base,p=c.WordArray,E=a.x64={};E.Word=f.extend({init:function(b,T){this.high=b,this.low=T}}),E.WordArray=f.extend({init:function(b,T){b=this.words=b||[],T!=r?this.sigBytes=T:this.sigBytes=b.length*8},toX32:function(){for(var b=this.words,T=b.length,x=[],w=0;w<T;w++){var F=b[w];x.push(F.high),x.push(F.low)}return p.create(x,this.sigBytes)},clone:function(){for(var b=f.clone.call(this),T=b.words=this.words.slice(0),x=T.length,w=0;w<x;w++)T[w]=T[w].clone();return b}})}(),n})}(Nl)),Nl.exports}var Il={exports:{}},Op;function by(){return Op||(Op=1,function(t,e){(function(n,r){t.exports=r(Lt())})(Tt,function(n){return function(){if(typeof ArrayBuffer=="function"){var r=n,a=r.lib,c=a.WordArray,f=c.init,p=c.init=function(E){if(E instanceof ArrayBuffer&&(E=new Uint8Array(E)),(E instanceof Int8Array||typeof Uint8ClampedArray<"u"&&E instanceof Uint8ClampedArray||E instanceof Int16Array||E instanceof Uint16Array||E instanceof Int32Array||E instanceof Uint32Array||E instanceof Float32Array||E instanceof Float64Array)&&(E=new Uint8Array(E.buffer,E.byteOffset,E.byteLength)),E instanceof Uint8Array){for(var b=E.byteLength,T=[],x=0;x<b;x++)T[x>>>2]|=E[x]<<24-x%4*8;f.call(this,T,b)}else f.apply(this,arguments)};p.prototype=c}}(),n.lib.WordArray})}(Il)),Il.exports}var Pl={exports:{}},wp;function Ey(){return wp||(wp=1,function(t,e){(function(n,r){t.exports=r(Lt())})(Tt,function(n){return function(){var r=n,a=r.lib,c=a.WordArray,f=r.enc;f.Utf16=f.Utf16BE={stringify:function(E){for(var b=E.words,T=E.sigBytes,x=[],w=0;w<T;w+=2){var F=b[w>>>2]>>>16-w%4*8&65535;x.push(String.fromCharCode(F))}return x.join("")},parse:function(E){for(var b=E.length,T=[],x=0;x<b;x++)T[x>>>1]|=E.charCodeAt(x)<<16-x%2*16;return c.create(T,b*2)}},f.Utf16LE={stringify:function(E){for(var b=E.words,T=E.sigBytes,x=[],w=0;w<T;w+=2){var F=p(b[w>>>2]>>>16-w%4*8&65535);x.push(String.fromCharCode(F))}return x.join("")},parse:function(E){for(var b=E.length,T=[],x=0;x<b;x++)T[x>>>1]|=p(E.charCodeAt(x)<<16-x%2*16);return c.create(T,b*2)}};function p(E){return E<<8&4278255360|E>>>8&16711935}}(),n.enc.Utf16})}(Pl)),Pl.exports}var Bl={exports:{}},Rp;function xo(){return Rp||(Rp=1,function(t,e){(function(n,r){t.exports=r(Lt())})(Tt,function(n){return function(){var r=n,a=r.lib,c=a.WordArray,f=r.enc;f.Base64={stringify:function(E){var b=E.words,T=E.sigBytes,x=this._map;E.clamp();for(var w=[],F=0;F<T;F+=3)for(var R=b[F>>>2]>>>24-F%4*8&255,v=b[F+1>>>2]>>>24-(F+1)%4*8&255,d=b[F+2>>>2]>>>24-(F+2)%4*8&255,g=R<<16|v<<8|d,A=0;A<4&&F+A*.75<T;A++)w.push(x.charAt(g>>>6*(3-A)&63));var O=x.charAt(64);if(O)for(;w.length%4;)w.push(O);return w.join("")},parse:function(E){var b=E.length,T=this._map,x=this._reverseMap;if(!x){x=this._reverseMap=[];for(var w=0;w<T.length;w++)x[T.charCodeAt(w)]=w}var F=T.charAt(64);if(F){var R=E.indexOf(F);R!==-1&&(b=R)}return p(E,b,x)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function p(E,b,T){for(var x=[],w=0,F=0;F<b;F++)if(F%4){var R=T[E.charCodeAt(F-1)]<<F%4*2,v=T[E.charCodeAt(F)]>>>6-F%4*2,d=R|v;x[w>>>2]|=d<<24-w%4*8,w++}return c.create(x,w)}}(),n.enc.Base64})}(Bl)),Bl.exports}var Ll={exports:{}},Fp;function xy(){return Fp||(Fp=1,function(t,e){(function(n,r){t.exports=r(Lt())})(Tt,function(n){return function(){var r=n,a=r.lib,c=a.WordArray,f=r.enc;f.Base64url={stringify:function(E,b){b===void 0&&(b=!0);var T=E.words,x=E.sigBytes,w=b?this._safe_map:this._map;E.clamp();for(var F=[],R=0;R<x;R+=3)for(var v=T[R>>>2]>>>24-R%4*8&255,d=T[R+1>>>2]>>>24-(R+1)%4*8&255,g=T[R+2>>>2]>>>24-(R+2)%4*8&255,A=v<<16|d<<8|g,O=0;O<4&&R+O*.75<x;O++)F.push(w.charAt(A>>>6*(3-O)&63));var D=w.charAt(64);if(D)for(;F.length%4;)F.push(D);return F.join("")},parse:function(E,b){b===void 0&&(b=!0);var T=E.length,x=b?this._safe_map:this._map,w=this._reverseMap;if(!w){w=this._reverseMap=[];for(var F=0;F<x.length;F++)w[x.charCodeAt(F)]=F}var R=x.charAt(64);if(R){var v=E.indexOf(R);v!==-1&&(T=v)}return p(E,T,w)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function p(E,b,T){for(var x=[],w=0,F=0;F<b;F++)if(F%4){var R=T[E.charCodeAt(F-1)]<<F%4*2,v=T[E.charCodeAt(F)]>>>6-F%4*2,d=R|v;x[w>>>2]|=d<<24-w%4*8,w++}return c.create(x,w)}}(),n.enc.Base64url})}(Ll)),Ll.exports}var Ml={exports:{}},Np;function So(){return Np||(Np=1,function(t,e){(function(n,r){t.exports=r(Lt())})(Tt,function(n){return function(r){var a=n,c=a.lib,f=c.WordArray,p=c.Hasher,E=a.algo,b=[];(function(){for(var v=0;v<64;v++)b[v]=r.abs(r.sin(v+1))*4294967296|0})();var T=E.MD5=p.extend({_doReset:function(){this._hash=new f.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(v,d){for(var g=0;g<16;g++){var A=d+g,O=v[A];v[A]=(O<<8|O>>>24)&16711935|(O<<24|O>>>8)&4278255360}var D=this._hash.words,P=v[d+0],U=v[d+1],H=v[d+2],B=v[d+3],G=v[d+4],N=v[d+5],K=v[d+6],Y=v[d+7],ne=v[d+8],se=v[d+9],re=v[d+10],ue=v[d+11],ce=v[d+12],Ee=v[d+13],Te=v[d+14],_e=v[d+15],oe=D[0],Z=D[1],J=D[2],te=D[3];oe=x(oe,Z,J,te,P,7,b[0]),te=x(te,oe,Z,J,U,12,b[1]),J=x(J,te,oe,Z,H,17,b[2]),Z=x(Z,J,te,oe,B,22,b[3]),oe=x(oe,Z,J,te,G,7,b[4]),te=x(te,oe,Z,J,N,12,b[5]),J=x(J,te,oe,Z,K,17,b[6]),Z=x(Z,J,te,oe,Y,22,b[7]),oe=x(oe,Z,J,te,ne,7,b[8]),te=x(te,oe,Z,J,se,12,b[9]),J=x(J,te,oe,Z,re,17,b[10]),Z=x(Z,J,te,oe,ue,22,b[11]),oe=x(oe,Z,J,te,ce,7,b[12]),te=x(te,oe,Z,J,Ee,12,b[13]),J=x(J,te,oe,Z,Te,17,b[14]),Z=x(Z,J,te,oe,_e,22,b[15]),oe=w(oe,Z,J,te,U,5,b[16]),te=w(te,oe,Z,J,K,9,b[17]),J=w(J,te,oe,Z,ue,14,b[18]),Z=w(Z,J,te,oe,P,20,b[19]),oe=w(oe,Z,J,te,N,5,b[20]),te=w(te,oe,Z,J,re,9,b[21]),J=w(J,te,oe,Z,_e,14,b[22]),Z=w(Z,J,te,oe,G,20,b[23]),oe=w(oe,Z,J,te,se,5,b[24]),te=w(te,oe,Z,J,Te,9,b[25]),J=w(J,te,oe,Z,B,14,b[26]),Z=w(Z,J,te,oe,ne,20,b[27]),oe=w(oe,Z,J,te,Ee,5,b[28]),te=w(te,oe,Z,J,H,9,b[29]),J=w(J,te,oe,Z,Y,14,b[30]),Z=w(Z,J,te,oe,ce,20,b[31]),oe=F(oe,Z,J,te,N,4,b[32]),te=F(te,oe,Z,J,ne,11,b[33]),J=F(J,te,oe,Z,ue,16,b[34]),Z=F(Z,J,te,oe,Te,23,b[35]),oe=F(oe,Z,J,te,U,4,b[36]),te=F(te,oe,Z,J,G,11,b[37]),J=F(J,te,oe,Z,Y,16,b[38]),Z=F(Z,J,te,oe,re,23,b[39]),oe=F(oe,Z,J,te,Ee,4,b[40]),te=F(te,oe,Z,J,P,11,b[41]),J=F(J,te,oe,Z,B,16,b[42]),Z=F(Z,J,te,oe,K,23,b[43]),oe=F(oe,Z,J,te,se,4,b[44]),te=F(te,oe,Z,J,ce,11,b[45]),J=F(J,te,oe,Z,_e,16,b[46]),Z=F(Z,J,te,oe,H,23,b[47]),oe=R(oe,Z,J,te,P,6,b[48]),te=R(te,oe,Z,J,Y,10,b[49]),J=R(J,te,oe,Z,Te,15,b[50]),Z=R(Z,J,te,oe,N,21,b[51]),oe=R(oe,Z,J,te,ce,6,b[52]),te=R(te,oe,Z,J,B,10,b[53]),J=R(J,te,oe,Z,re,15,b[54]),Z=R(Z,J,te,oe,U,21,b[55]),oe=R(oe,Z,J,te,ne,6,b[56]),te=R(te,oe,Z,J,_e,10,b[57]),J=R(J,te,oe,Z,K,15,b[58]),Z=R(Z,J,te,oe,Ee,21,b[59]),oe=R(oe,Z,J,te,G,6,b[60]),te=R(te,oe,Z,J,ue,10,b[61]),J=R(J,te,oe,Z,H,15,b[62]),Z=R(Z,J,te,oe,se,21,b[63]),D[0]=D[0]+oe|0,D[1]=D[1]+Z|0,D[2]=D[2]+J|0,D[3]=D[3]+te|0},_doFinalize:function(){var v=this._data,d=v.words,g=this._nDataBytes*8,A=v.sigBytes*8;d[A>>>5]|=128<<24-A%32;var O=r.floor(g/4294967296),D=g;d[(A+64>>>9<<4)+15]=(O<<8|O>>>24)&16711935|(O<<24|O>>>8)&4278255360,d[(A+64>>>9<<4)+14]=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360,v.sigBytes=(d.length+1)*4,this._process();for(var P=this._hash,U=P.words,H=0;H<4;H++){var B=U[H];U[H]=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360}return P},clone:function(){var v=p.clone.call(this);return v._hash=this._hash.clone(),v}});function x(v,d,g,A,O,D,P){var U=v+(d&g|~d&A)+O+P;return(U<<D|U>>>32-D)+d}function w(v,d,g,A,O,D,P){var U=v+(d&A|g&~A)+O+P;return(U<<D|U>>>32-D)+d}function F(v,d,g,A,O,D,P){var U=v+(d^g^A)+O+P;return(U<<D|U>>>32-D)+d}function R(v,d,g,A,O,D,P){var U=v+(g^(d|~A))+O+P;return(U<<D|U>>>32-D)+d}a.MD5=p._createHelper(T),a.HmacMD5=p._createHmacHelper(T)}(Math),n.MD5})}(Ml)),Ml.exports}var Ul={exports:{}},Ip;function Pp(){return Ip||(Ip=1,function(t,e){(function(n,r){t.exports=r(Lt())})(Tt,function(n){return function(){var r=n,a=r.lib,c=a.WordArray,f=a.Hasher,p=r.algo,E=[],b=p.SHA1=f.extend({_doReset:function(){this._hash=new c.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(T,x){for(var w=this._hash.words,F=w[0],R=w[1],v=w[2],d=w[3],g=w[4],A=0;A<80;A++){if(A<16)E[A]=T[x+A]|0;else{var O=E[A-3]^E[A-8]^E[A-14]^E[A-16];E[A]=O<<1|O>>>31}var D=(F<<5|F>>>27)+g+E[A];A<20?D+=(R&v|~R&d)+1518500249:A<40?D+=(R^v^d)+1859775393:A<60?D+=(R&v|R&d|v&d)-1894007588:D+=(R^v^d)-899497514,g=d,d=v,v=R<<30|R>>>2,R=F,F=D}w[0]=w[0]+F|0,w[1]=w[1]+R|0,w[2]=w[2]+v|0,w[3]=w[3]+d|0,w[4]=w[4]+g|0},_doFinalize:function(){var T=this._data,x=T.words,w=this._nDataBytes*8,F=T.sigBytes*8;return x[F>>>5]|=128<<24-F%32,x[(F+64>>>9<<4)+14]=Math.floor(w/4294967296),x[(F+64>>>9<<4)+15]=w,T.sigBytes=x.length*4,this._process(),this._hash},clone:function(){var T=f.clone.call(this);return T._hash=this._hash.clone(),T}});r.SHA1=f._createHelper(b),r.HmacSHA1=f._createHmacHelper(b)}(),n.SHA1})}(Ul)),Ul.exports}var Vl={exports:{}},Bp;function jl(){return Bp||(Bp=1,function(t,e){(function(n,r){t.exports=r(Lt())})(Tt,function(n){return function(r){var a=n,c=a.lib,f=c.WordArray,p=c.Hasher,E=a.algo,b=[],T=[];(function(){function F(g){for(var A=r.sqrt(g),O=2;O<=A;O++)if(!(g%O))return!1;return!0}function R(g){return(g-(g|0))*4294967296|0}for(var v=2,d=0;d<64;)F(v)&&(d<8&&(b[d]=R(r.pow(v,1/2))),T[d]=R(r.pow(v,1/3)),d++),v++})();var x=[],w=E.SHA256=p.extend({_doReset:function(){this._hash=new f.init(b.slice(0))},_doProcessBlock:function(F,R){for(var v=this._hash.words,d=v[0],g=v[1],A=v[2],O=v[3],D=v[4],P=v[5],U=v[6],H=v[7],B=0;B<64;B++){if(B<16)x[B]=F[R+B]|0;else{var G=x[B-15],N=(G<<25|G>>>7)^(G<<14|G>>>18)^G>>>3,K=x[B-2],Y=(K<<15|K>>>17)^(K<<13|K>>>19)^K>>>10;x[B]=N+x[B-7]+Y+x[B-16]}var ne=D&P^~D&U,se=d&g^d&A^g&A,re=(d<<30|d>>>2)^(d<<19|d>>>13)^(d<<10|d>>>22),ue=(D<<26|D>>>6)^(D<<21|D>>>11)^(D<<7|D>>>25),ce=H+ue+ne+T[B]+x[B],Ee=re+se;H=U,U=P,P=D,D=O+ce|0,O=A,A=g,g=d,d=ce+Ee|0}v[0]=v[0]+d|0,v[1]=v[1]+g|0,v[2]=v[2]+A|0,v[3]=v[3]+O|0,v[4]=v[4]+D|0,v[5]=v[5]+P|0,v[6]=v[6]+U|0,v[7]=v[7]+H|0},_doFinalize:function(){var F=this._data,R=F.words,v=this._nDataBytes*8,d=F.sigBytes*8;return R[d>>>5]|=128<<24-d%32,R[(d+64>>>9<<4)+14]=r.floor(v/4294967296),R[(d+64>>>9<<4)+15]=v,F.sigBytes=R.length*4,this._process(),this._hash},clone:function(){var F=p.clone.call(this);return F._hash=this._hash.clone(),F}});a.SHA256=p._createHelper(w),a.HmacSHA256=p._createHmacHelper(w)}(Math),n.SHA256})}(Vl)),Vl.exports}var $l={exports:{}},Lp;function Sy(){return Lp||(Lp=1,function(t,e){(function(n,r,a){t.exports=r(Lt(),jl())})(Tt,function(n){return function(){var r=n,a=r.lib,c=a.WordArray,f=r.algo,p=f.SHA256,E=f.SHA224=p.extend({_doReset:function(){this._hash=new c.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var b=p._doFinalize.call(this);return b.sigBytes-=4,b}});r.SHA224=p._createHelper(E),r.HmacSHA224=p._createHmacHelper(E)}(),n.SHA224})}($l)),$l.exports}var Hl={exports:{}},Mp;function Up(){return Mp||(Mp=1,function(t,e){(function(n,r,a){t.exports=r(Lt(),yu())})(Tt,function(n){return function(){var r=n,a=r.lib,c=a.Hasher,f=r.x64,p=f.Word,E=f.WordArray,b=r.algo;function T(){return p.create.apply(p,arguments)}var x=[T(1116352408,3609767458),T(1899447441,602891725),T(3049323471,3964484399),T(3921009573,2173295548),T(961987163,4081628472),T(1508970993,3053834265),T(2453635748,2937671579),T(2870763221,3664609560),T(3624381080,2734883394),T(310598401,1164996542),T(607225278,1323610764),T(1426881987,3590304994),T(1925078388,4068182383),T(2162078206,991336113),T(2614888103,633803317),T(3248222580,3479774868),T(3835390401,2666613458),T(4022224774,944711139),T(264347078,2341262773),T(604807628,2007800933),T(770255983,1495990901),T(1249150122,1856431235),T(1555081692,3175218132),T(1996064986,2198950837),T(2554220882,3999719339),T(2821834349,766784016),T(2952996808,2566594879),T(3210313671,3203337956),T(3336571891,1034457026),T(3584528711,2466948901),T(113926993,3758326383),T(338241895,168717936),T(666307205,1188179964),T(773529912,1546045734),T(1294757372,1522805485),T(1396182291,2643833823),T(1695183700,2343527390),T(1986661051,1014477480),T(2177026350,1206759142),T(2456956037,344077627),T(2730485921,1290863460),T(2820302411,3158454273),T(3259730800,3505952657),T(3345764771,106217008),T(3516065817,3606008344),T(3600352804,1432725776),T(4094571909,1467031594),T(275423344,851169720),T(430227734,3100823752),T(506948616,1363258195),T(659060556,3750685593),T(883997877,3785050280),T(958139571,3318307427),T(1322822218,3812723403),T(1537002063,2003034995),T(1747873779,3602036899),T(1955562222,1575990012),T(2024104815,1125592928),T(2227730452,2716904306),T(2361852424,442776044),T(2428436474,593698344),T(2756734187,3733110249),T(3204031479,2999351573),T(3329325298,3815920427),T(3391569614,3928383900),T(3515267271,566280711),T(3940187606,3454069534),T(4118630271,4000239992),T(116418474,1914138554),T(174292421,2731055270),T(289380356,3203993006),T(460393269,320620315),T(685471733,587496836),T(852142971,1086792851),T(1017036298,365543100),T(1126000580,2618297676),T(1288033470,3409855158),T(1501505948,4234509866),T(1607167915,987167468),T(1816402316,1246189591)],w=[];(function(){for(var R=0;R<80;R++)w[R]=T()})();var F=b.SHA512=c.extend({_doReset:function(){this._hash=new E.init([new p.init(1779033703,4089235720),new p.init(3144134277,2227873595),new p.init(1013904242,4271175723),new p.init(2773480762,1595750129),new p.init(1359893119,2917565137),new p.init(2600822924,725511199),new p.init(528734635,4215389547),new p.init(1541459225,327033209)])},_doProcessBlock:function(R,v){for(var d=this._hash.words,g=d[0],A=d[1],O=d[2],D=d[3],P=d[4],U=d[5],H=d[6],B=d[7],G=g.high,N=g.low,K=A.high,Y=A.low,ne=O.high,se=O.low,re=D.high,ue=D.low,ce=P.high,Ee=P.low,Te=U.high,_e=U.low,oe=H.high,Z=H.low,J=B.high,te=B.low,ve=G,me=N,Ze=K,Ve=Y,ht=ne,wt=se,yt=re,St=ue,Ct=ce,le=Ee,we=Te,be=_e,pt=oe,Et=Z,Rt=J,yn=te,Dt=0;Dt<80;Dt++){var It,kt,Pt=w[Dt];if(Dt<16)kt=Pt.high=R[v+Dt*2]|0,It=Pt.low=R[v+Dt*2+1]|0;else{var nn=w[Dt-15],ir=nn.high,W=nn.low,Fe=(ir>>>1|W<<31)^(ir>>>8|W<<24)^ir>>>7,Ue=(W>>>1|ir<<31)^(W>>>8|ir<<24)^(W>>>7|ir<<25),Pe=w[Dt-2],Qe=Pe.high,Ht=Pe.low,ft=(Qe>>>19|Ht<<13)^(Qe<<3|Ht>>>29)^Qe>>>6,fn=(Ht>>>19|Qe<<13)^(Ht<<3|Qe>>>29)^(Ht>>>6|Qe<<26),gn=w[Dt-7],jr=gn.high,On=gn.low,rn=w[Dt-16],Ri=rn.high,$r=rn.low;It=Ue+On,kt=Fe+jr+(It>>>0<Ue>>>0?1:0),It=It+fn,kt=kt+ft+(It>>>0<fn>>>0?1:0),It=It+$r,kt=kt+Ri+(It>>>0<$r>>>0?1:0),Pt.high=kt,Pt.low=It}var Fi=Ct&we^~Ct&pt,or=le&be^~le&Et,Or=ve&Ze^ve&ht^Ze&ht,eo=me&Ve^me&wt^Ve&wt,gi=(ve>>>28|me<<4)^(ve<<30|me>>>2)^(ve<<25|me>>>7),fr=(me>>>28|ve<<4)^(me<<30|ve>>>2)^(me<<25|ve>>>7),Hr=(Ct>>>14|le<<18)^(Ct>>>18|le<<14)^(Ct<<23|le>>>9),to=(le>>>14|Ct<<18)^(le>>>18|Ct<<14)^(le<<23|Ct>>>9),dt=x[Dt],er=dt.high,L=dt.low,q=yn+to,ee=Rt+Hr+(q>>>0<yn>>>0?1:0),q=q+or,ee=ee+Fi+(q>>>0<or>>>0?1:0),q=q+L,ee=ee+er+(q>>>0<L>>>0?1:0),q=q+It,ee=ee+kt+(q>>>0<It>>>0?1:0),ae=fr+eo,he=gi+Or+(ae>>>0<fr>>>0?1:0);Rt=pt,yn=Et,pt=we,Et=be,we=Ct,be=le,le=St+q|0,Ct=yt+ee+(le>>>0<St>>>0?1:0)|0,yt=ht,St=wt,ht=Ze,wt=Ve,Ze=ve,Ve=me,me=q+ae|0,ve=ee+he+(me>>>0<q>>>0?1:0)|0}N=g.low=N+me,g.high=G+ve+(N>>>0<me>>>0?1:0),Y=A.low=Y+Ve,A.high=K+Ze+(Y>>>0<Ve>>>0?1:0),se=O.low=se+wt,O.high=ne+ht+(se>>>0<wt>>>0?1:0),ue=D.low=ue+St,D.high=re+yt+(ue>>>0<St>>>0?1:0),Ee=P.low=Ee+le,P.high=ce+Ct+(Ee>>>0<le>>>0?1:0),_e=U.low=_e+be,U.high=Te+we+(_e>>>0<be>>>0?1:0),Z=H.low=Z+Et,H.high=oe+pt+(Z>>>0<Et>>>0?1:0),te=B.low=te+yn,B.high=J+Rt+(te>>>0<yn>>>0?1:0)},_doFinalize:function(){var R=this._data,v=R.words,d=this._nDataBytes*8,g=R.sigBytes*8;v[g>>>5]|=128<<24-g%32,v[(g+128>>>10<<5)+30]=Math.floor(d/4294967296),v[(g+128>>>10<<5)+31]=d,R.sigBytes=v.length*4,this._process();var A=this._hash.toX32();return A},clone:function(){var R=c.clone.call(this);return R._hash=this._hash.clone(),R},blockSize:1024/32});r.SHA512=c._createHelper(F),r.HmacSHA512=c._createHmacHelper(F)}(),n.SHA512})}(Hl)),Hl.exports}var Gl={exports:{}},Vp;function Ty(){return Vp||(Vp=1,function(t,e){(function(n,r,a){t.exports=r(Lt(),yu(),Up())})(Tt,function(n){return function(){var r=n,a=r.x64,c=a.Word,f=a.WordArray,p=r.algo,E=p.SHA512,b=p.SHA384=E.extend({_doReset:function(){this._hash=new f.init([new c.init(3418070365,3238371032),new c.init(1654270250,914150663),new c.init(2438529370,812702999),new c.init(355462360,4144912697),new c.init(1731405415,4290775857),new c.init(2394180231,1750603025),new c.init(3675008525,1694076839),new c.init(1203062813,3204075428)])},_doFinalize:function(){var T=E._doFinalize.call(this);return T.sigBytes-=16,T}});r.SHA384=E._createHelper(b),r.HmacSHA384=E._createHmacHelper(b)}(),n.SHA384})}(Gl)),Gl.exports}var Kl={exports:{}},jp;function Ay(){return jp||(jp=1,function(t,e){(function(n,r,a){t.exports=r(Lt(),yu())})(Tt,function(n){return function(r){var a=n,c=a.lib,f=c.WordArray,p=c.Hasher,E=a.x64,b=E.Word,T=a.algo,x=[],w=[],F=[];(function(){for(var d=1,g=0,A=0;A<24;A++){x[d+5*g]=(A+1)*(A+2)/2%64;var O=g%5,D=(2*d+3*g)%5;d=O,g=D}for(var d=0;d<5;d++)for(var g=0;g<5;g++)w[d+5*g]=g+(2*d+3*g)%5*5;for(var P=1,U=0;U<24;U++){for(var H=0,B=0,G=0;G<7;G++){if(P&1){var N=(1<<G)-1;N<32?B^=1<<N:H^=1<<N-32}P&128?P=P<<1^113:P<<=1}F[U]=b.create(H,B)}})();var R=[];(function(){for(var d=0;d<25;d++)R[d]=b.create()})();var v=T.SHA3=p.extend({cfg:p.cfg.extend({outputLength:512}),_doReset:function(){for(var d=this._state=[],g=0;g<25;g++)d[g]=new b.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(d,g){for(var A=this._state,O=this.blockSize/2,D=0;D<O;D++){var P=d[g+2*D],U=d[g+2*D+1];P=(P<<8|P>>>24)&16711935|(P<<24|P>>>8)&4278255360,U=(U<<8|U>>>24)&16711935|(U<<24|U>>>8)&4278255360;var H=A[D];H.high^=U,H.low^=P}for(var B=0;B<24;B++){for(var G=0;G<5;G++){for(var N=0,K=0,Y=0;Y<5;Y++){var H=A[G+5*Y];N^=H.high,K^=H.low}var ne=R[G];ne.high=N,ne.low=K}for(var G=0;G<5;G++)for(var se=R[(G+4)%5],re=R[(G+1)%5],ue=re.high,ce=re.low,N=se.high^(ue<<1|ce>>>31),K=se.low^(ce<<1|ue>>>31),Y=0;Y<5;Y++){var H=A[G+5*Y];H.high^=N,H.low^=K}for(var Ee=1;Ee<25;Ee++){var N,K,H=A[Ee],Te=H.high,_e=H.low,oe=x[Ee];oe<32?(N=Te<<oe|_e>>>32-oe,K=_e<<oe|Te>>>32-oe):(N=_e<<oe-32|Te>>>64-oe,K=Te<<oe-32|_e>>>64-oe);var Z=R[w[Ee]];Z.high=N,Z.low=K}var J=R[0],te=A[0];J.high=te.high,J.low=te.low;for(var G=0;G<5;G++)for(var Y=0;Y<5;Y++){var Ee=G+5*Y,H=A[Ee],ve=R[Ee],me=R[(G+1)%5+5*Y],Ze=R[(G+2)%5+5*Y];H.high=ve.high^~me.high&Ze.high,H.low=ve.low^~me.low&Ze.low}var H=A[0],Ve=F[B];H.high^=Ve.high,H.low^=Ve.low}},_doFinalize:function(){var d=this._data,g=d.words;this._nDataBytes*8;var A=d.sigBytes*8,O=this.blockSize*32;g[A>>>5]|=1<<24-A%32,g[(r.ceil((A+1)/O)*O>>>5)-1]|=128,d.sigBytes=g.length*4,this._process();for(var D=this._state,P=this.cfg.outputLength/8,U=P/8,H=[],B=0;B<U;B++){var G=D[B],N=G.high,K=G.low;N=(N<<8|N>>>24)&16711935|(N<<24|N>>>8)&4278255360,K=(K<<8|K>>>24)&16711935|(K<<24|K>>>8)&4278255360,H.push(K),H.push(N)}return new f.init(H,P)},clone:function(){for(var d=p.clone.call(this),g=d._state=this._state.slice(0),A=0;A<25;A++)g[A]=g[A].clone();return d}});a.SHA3=p._createHelper(v),a.HmacSHA3=p._createHmacHelper(v)}(Math),n.SHA3})}(Kl)),Kl.exports}var zl={exports:{}},$p;function Cy(){return $p||($p=1,function(t,e){(function(n,r){t.exports=r(Lt())})(Tt,function(n){/** @preserve
14
- (c) 2012 by Cédric Mesnil. All rights reserved.
15
-
16
- Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
17
-
18
- - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
19
- - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
20
-
21
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
22
- */return function(r){var a=n,c=a.lib,f=c.WordArray,p=c.Hasher,E=a.algo,b=f.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),T=f.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),x=f.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),w=f.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),F=f.create([0,1518500249,1859775393,2400959708,2840853838]),R=f.create([1352829926,1548603684,1836072691,2053994217,0]),v=E.RIPEMD160=p.extend({_doReset:function(){this._hash=f.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(U,H){for(var B=0;B<16;B++){var G=H+B,N=U[G];U[G]=(N<<8|N>>>24)&16711935|(N<<24|N>>>8)&4278255360}var K=this._hash.words,Y=F.words,ne=R.words,se=b.words,re=T.words,ue=x.words,ce=w.words,Ee,Te,_e,oe,Z,J,te,ve,me,Ze;J=Ee=K[0],te=Te=K[1],ve=_e=K[2],me=oe=K[3],Ze=Z=K[4];for(var Ve,B=0;B<80;B+=1)Ve=Ee+U[H+se[B]]|0,B<16?Ve+=d(Te,_e,oe)+Y[0]:B<32?Ve+=g(Te,_e,oe)+Y[1]:B<48?Ve+=A(Te,_e,oe)+Y[2]:B<64?Ve+=O(Te,_e,oe)+Y[3]:Ve+=D(Te,_e,oe)+Y[4],Ve=Ve|0,Ve=P(Ve,ue[B]),Ve=Ve+Z|0,Ee=Z,Z=oe,oe=P(_e,10),_e=Te,Te=Ve,Ve=J+U[H+re[B]]|0,B<16?Ve+=D(te,ve,me)+ne[0]:B<32?Ve+=O(te,ve,me)+ne[1]:B<48?Ve+=A(te,ve,me)+ne[2]:B<64?Ve+=g(te,ve,me)+ne[3]:Ve+=d(te,ve,me)+ne[4],Ve=Ve|0,Ve=P(Ve,ce[B]),Ve=Ve+Ze|0,J=Ze,Ze=me,me=P(ve,10),ve=te,te=Ve;Ve=K[1]+_e+me|0,K[1]=K[2]+oe+Ze|0,K[2]=K[3]+Z+J|0,K[3]=K[4]+Ee+te|0,K[4]=K[0]+Te+ve|0,K[0]=Ve},_doFinalize:function(){var U=this._data,H=U.words,B=this._nDataBytes*8,G=U.sigBytes*8;H[G>>>5]|=128<<24-G%32,H[(G+64>>>9<<4)+14]=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360,U.sigBytes=(H.length+1)*4,this._process();for(var N=this._hash,K=N.words,Y=0;Y<5;Y++){var ne=K[Y];K[Y]=(ne<<8|ne>>>24)&16711935|(ne<<24|ne>>>8)&4278255360}return N},clone:function(){var U=p.clone.call(this);return U._hash=this._hash.clone(),U}});function d(U,H,B){return U^H^B}function g(U,H,B){return U&H|~U&B}function A(U,H,B){return(U|~H)^B}function O(U,H,B){return U&B|H&~B}function D(U,H,B){return U^(H|~B)}function P(U,H){return U<<H|U>>>32-H}a.RIPEMD160=p._createHelper(v),a.HmacRIPEMD160=p._createHmacHelper(v)}(),n.RIPEMD160})}(zl)),zl.exports}var Wl={exports:{}},Hp;function ql(){return Hp||(Hp=1,function(t,e){(function(n,r){t.exports=r(Lt())})(Tt,function(n){(function(){var r=n,a=r.lib,c=a.Base,f=r.enc,p=f.Utf8,E=r.algo;E.HMAC=c.extend({init:function(b,T){b=this._hasher=new b.init,typeof T=="string"&&(T=p.parse(T));var x=b.blockSize,w=x*4;T.sigBytes>w&&(T=b.finalize(T)),T.clamp();for(var F=this._oKey=T.clone(),R=this._iKey=T.clone(),v=F.words,d=R.words,g=0;g<x;g++)v[g]^=1549556828,d[g]^=909522486;F.sigBytes=R.sigBytes=w,this.reset()},reset:function(){var b=this._hasher;b.reset(),b.update(this._iKey)},update:function(b){return this._hasher.update(b),this},finalize:function(b){var T=this._hasher,x=T.finalize(b);T.reset();var w=T.finalize(this._oKey.clone().concat(x));return w}})})()})}(Wl)),Wl.exports}var Xl={exports:{}},Gp;function Dy(){return Gp||(Gp=1,function(t,e){(function(n,r,a){t.exports=r(Lt(),jl(),ql())})(Tt,function(n){return function(){var r=n,a=r.lib,c=a.Base,f=a.WordArray,p=r.algo,E=p.SHA256,b=p.HMAC,T=p.PBKDF2=c.extend({cfg:c.extend({keySize:128/32,hasher:E,iterations:25e4}),init:function(x){this.cfg=this.cfg.extend(x)},compute:function(x,w){for(var F=this.cfg,R=b.create(F.hasher,x),v=f.create(),d=f.create([1]),g=v.words,A=d.words,O=F.keySize,D=F.iterations;g.length<O;){var P=R.update(w).finalize(d);R.reset();for(var U=P.words,H=U.length,B=P,G=1;G<D;G++){B=R.finalize(B),R.reset();for(var N=B.words,K=0;K<H;K++)U[K]^=N[K]}v.concat(P),A[0]++}return v.sigBytes=O*4,v}});r.PBKDF2=function(x,w,F){return T.create(F).compute(x,w)}}(),n.PBKDF2})}(Xl)),Xl.exports}var Yl={exports:{}},Kp;function uo(){return Kp||(Kp=1,function(t,e){(function(n,r,a){t.exports=r(Lt(),Pp(),ql())})(Tt,function(n){return function(){var r=n,a=r.lib,c=a.Base,f=a.WordArray,p=r.algo,E=p.MD5,b=p.EvpKDF=c.extend({cfg:c.extend({keySize:128/32,hasher:E,iterations:1}),init:function(T){this.cfg=this.cfg.extend(T)},compute:function(T,x){for(var w,F=this.cfg,R=F.hasher.create(),v=f.create(),d=v.words,g=F.keySize,A=F.iterations;d.length<g;){w&&R.update(w),w=R.update(T).finalize(x),R.reset();for(var O=1;O<A;O++)w=R.finalize(w),R.reset();v.concat(w)}return v.sigBytes=g*4,v}});r.EvpKDF=function(T,x,w){return b.create(w).compute(T,x)}}(),n.EvpKDF})}(Yl)),Yl.exports}var Zl={exports:{}},zp;function Xn(){return zp||(zp=1,function(t,e){(function(n,r,a){t.exports=r(Lt(),uo())})(Tt,function(n){n.lib.Cipher||function(r){var a=n,c=a.lib,f=c.Base,p=c.WordArray,E=c.BufferedBlockAlgorithm,b=a.enc;b.Utf8;var T=b.Base64,x=a.algo,w=x.EvpKDF,F=c.Cipher=E.extend({cfg:f.extend(),createEncryptor:function(N,K){return this.create(this._ENC_XFORM_MODE,N,K)},createDecryptor:function(N,K){return this.create(this._DEC_XFORM_MODE,N,K)},init:function(N,K,Y){this.cfg=this.cfg.extend(Y),this._xformMode=N,this._key=K,this.reset()},reset:function(){E.reset.call(this),this._doReset()},process:function(N){return this._append(N),this._process()},finalize:function(N){N&&this._append(N);var K=this._doFinalize();return K},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function N(K){return typeof K=="string"?G:U}return function(K){return{encrypt:function(Y,ne,se){return N(ne).encrypt(K,Y,ne,se)},decrypt:function(Y,ne,se){return N(ne).decrypt(K,Y,ne,se)}}}}()});c.StreamCipher=F.extend({_doFinalize:function(){var N=this._process(!0);return N},blockSize:1});var R=a.mode={},v=c.BlockCipherMode=f.extend({createEncryptor:function(N,K){return this.Encryptor.create(N,K)},createDecryptor:function(N,K){return this.Decryptor.create(N,K)},init:function(N,K){this._cipher=N,this._iv=K}}),d=R.CBC=function(){var N=v.extend();N.Encryptor=N.extend({processBlock:function(Y,ne){var se=this._cipher,re=se.blockSize;K.call(this,Y,ne,re),se.encryptBlock(Y,ne),this._prevBlock=Y.slice(ne,ne+re)}}),N.Decryptor=N.extend({processBlock:function(Y,ne){var se=this._cipher,re=se.blockSize,ue=Y.slice(ne,ne+re);se.decryptBlock(Y,ne),K.call(this,Y,ne,re),this._prevBlock=ue}});function K(Y,ne,se){var re,ue=this._iv;ue?(re=ue,this._iv=r):re=this._prevBlock;for(var ce=0;ce<se;ce++)Y[ne+ce]^=re[ce]}return N}(),g=a.pad={},A=g.Pkcs7={pad:function(N,K){for(var Y=K*4,ne=Y-N.sigBytes%Y,se=ne<<24|ne<<16|ne<<8|ne,re=[],ue=0;ue<ne;ue+=4)re.push(se);var ce=p.create(re,ne);N.concat(ce)},unpad:function(N){var K=N.words[N.sigBytes-1>>>2]&255;N.sigBytes-=K}};c.BlockCipher=F.extend({cfg:F.cfg.extend({mode:d,padding:A}),reset:function(){var N;F.reset.call(this);var K=this.cfg,Y=K.iv,ne=K.mode;this._xformMode==this._ENC_XFORM_MODE?N=ne.createEncryptor:(N=ne.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==N?this._mode.init(this,Y&&Y.words):(this._mode=N.call(ne,this,Y&&Y.words),this._mode.__creator=N)},_doProcessBlock:function(N,K){this._mode.processBlock(N,K)},_doFinalize:function(){var N,K=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(K.pad(this._data,this.blockSize),N=this._process(!0)):(N=this._process(!0),K.unpad(N)),N},blockSize:128/32});var O=c.CipherParams=f.extend({init:function(N){this.mixIn(N)},toString:function(N){return(N||this.formatter).stringify(this)}}),D=a.format={},P=D.OpenSSL={stringify:function(N){var K,Y=N.ciphertext,ne=N.salt;return ne?K=p.create([1398893684,1701076831]).concat(ne).concat(Y):K=Y,K.toString(T)},parse:function(N){var K,Y=T.parse(N),ne=Y.words;return ne[0]==1398893684&&ne[1]==1701076831&&(K=p.create(ne.slice(2,4)),ne.splice(0,4),Y.sigBytes-=16),O.create({ciphertext:Y,salt:K})}},U=c.SerializableCipher=f.extend({cfg:f.extend({format:P}),encrypt:function(N,K,Y,ne){ne=this.cfg.extend(ne);var se=N.createEncryptor(Y,ne),re=se.finalize(K),ue=se.cfg;return O.create({ciphertext:re,key:Y,iv:ue.iv,algorithm:N,mode:ue.mode,padding:ue.padding,blockSize:N.blockSize,formatter:ne.format})},decrypt:function(N,K,Y,ne){ne=this.cfg.extend(ne),K=this._parse(K,ne.format);var se=N.createDecryptor(Y,ne).finalize(K.ciphertext);return se},_parse:function(N,K){return typeof N=="string"?K.parse(N,this):N}}),H=a.kdf={},B=H.OpenSSL={execute:function(N,K,Y,ne,se){if(ne||(ne=p.random(64/8)),se)var re=w.create({keySize:K+Y,hasher:se}).compute(N,ne);else var re=w.create({keySize:K+Y}).compute(N,ne);var ue=p.create(re.words.slice(K),Y*4);return re.sigBytes=K*4,O.create({key:re,iv:ue,salt:ne})}},G=c.PasswordBasedCipher=U.extend({cfg:U.cfg.extend({kdf:B}),encrypt:function(N,K,Y,ne){ne=this.cfg.extend(ne);var se=ne.kdf.execute(Y,N.keySize,N.ivSize,ne.salt,ne.hasher);ne.iv=se.iv;var re=U.encrypt.call(this,N,K,se.key,ne);return re.mixIn(se),re},decrypt:function(N,K,Y,ne){ne=this.cfg.extend(ne),K=this._parse(K,ne.format);var se=ne.kdf.execute(Y,N.keySize,N.ivSize,K.salt,ne.hasher);ne.iv=se.iv;var re=U.decrypt.call(this,N,K,se.key,ne);return re}})}()})}(Zl)),Zl.exports}var Ql={exports:{}},Wp;function ky(){return Wp||(Wp=1,function(t,e){(function(n,r,a){t.exports=r(Lt(),Xn())})(Tt,function(n){return n.mode.CFB=function(){var r=n.lib.BlockCipherMode.extend();r.Encryptor=r.extend({processBlock:function(c,f){var p=this._cipher,E=p.blockSize;a.call(this,c,f,E,p),this._prevBlock=c.slice(f,f+E)}}),r.Decryptor=r.extend({processBlock:function(c,f){var p=this._cipher,E=p.blockSize,b=c.slice(f,f+E);a.call(this,c,f,E,p),this._prevBlock=b}});function a(c,f,p,E){var b,T=this._iv;T?(b=T.slice(0),this._iv=void 0):b=this._prevBlock,E.encryptBlock(b,0);for(var x=0;x<p;x++)c[f+x]^=b[x]}return r}(),n.mode.CFB})}(Ql)),Ql.exports}var Jl={exports:{}},qp;function Oy(){return qp||(qp=1,function(t,e){(function(n,r,a){t.exports=r(Lt(),Xn())})(Tt,function(n){return n.mode.CTR=function(){var r=n.lib.BlockCipherMode.extend(),a=r.Encryptor=r.extend({processBlock:function(c,f){var p=this._cipher,E=p.blockSize,b=this._iv,T=this._counter;b&&(T=this._counter=b.slice(0),this._iv=void 0);var x=T.slice(0);p.encryptBlock(x,0),T[E-1]=T[E-1]+1|0;for(var w=0;w<E;w++)c[f+w]^=x[w]}});return r.Decryptor=a,r}(),n.mode.CTR})}(Jl)),Jl.exports}var ef={exports:{}},Xp;function wy(){return Xp||(Xp=1,function(t,e){(function(n,r,a){t.exports=r(Lt(),Xn())})(Tt,function(n){/** @preserve
23
- * Counter block mode compatible with Dr Brian Gladman fileenc.c
24
- * derived from CryptoJS.mode.CTR
25
- * Jan Hruby jhruby.web@gmail.com
26
- */return n.mode.CTRGladman=function(){var r=n.lib.BlockCipherMode.extend();function a(p){if((p>>24&255)===255){var E=p>>16&255,b=p>>8&255,T=p&255;E===255?(E=0,b===255?(b=0,T===255?T=0:++T):++b):++E,p=0,p+=E<<16,p+=b<<8,p+=T}else p+=1<<24;return p}function c(p){return(p[0]=a(p[0]))===0&&(p[1]=a(p[1])),p}var f=r.Encryptor=r.extend({processBlock:function(p,E){var b=this._cipher,T=b.blockSize,x=this._iv,w=this._counter;x&&(w=this._counter=x.slice(0),this._iv=void 0),c(w);var F=w.slice(0);b.encryptBlock(F,0);for(var R=0;R<T;R++)p[E+R]^=F[R]}});return r.Decryptor=f,r}(),n.mode.CTRGladman})}(ef)),ef.exports}var tf={exports:{}},Yp;function Ry(){return Yp||(Yp=1,function(t,e){(function(n,r,a){t.exports=r(Lt(),Xn())})(Tt,function(n){return n.mode.OFB=function(){var r=n.lib.BlockCipherMode.extend(),a=r.Encryptor=r.extend({processBlock:function(c,f){var p=this._cipher,E=p.blockSize,b=this._iv,T=this._keystream;b&&(T=this._keystream=b.slice(0),this._iv=void 0),p.encryptBlock(T,0);for(var x=0;x<E;x++)c[f+x]^=T[x]}});return r.Decryptor=a,r}(),n.mode.OFB})}(tf)),tf.exports}var nf={exports:{}},Zp;function Fy(){return Zp||(Zp=1,function(t,e){(function(n,r,a){t.exports=r(Lt(),Xn())})(Tt,function(n){return n.mode.ECB=function(){var r=n.lib.BlockCipherMode.extend();return r.Encryptor=r.extend({processBlock:function(a,c){this._cipher.encryptBlock(a,c)}}),r.Decryptor=r.extend({processBlock:function(a,c){this._cipher.decryptBlock(a,c)}}),r}(),n.mode.ECB})}(nf)),nf.exports}var rf={exports:{}},Qp;function Ny(){return Qp||(Qp=1,function(t,e){(function(n,r,a){t.exports=r(Lt(),Xn())})(Tt,function(n){return n.pad.AnsiX923={pad:function(r,a){var c=r.sigBytes,f=a*4,p=f-c%f,E=c+p-1;r.clamp(),r.words[E>>>2]|=p<<24-E%4*8,r.sigBytes+=p},unpad:function(r){var a=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=a}},n.pad.Ansix923})}(rf)),rf.exports}var of={exports:{}},Jp;function Iy(){return Jp||(Jp=1,function(t,e){(function(n,r,a){t.exports=r(Lt(),Xn())})(Tt,function(n){return n.pad.Iso10126={pad:function(r,a){var c=a*4,f=c-r.sigBytes%c;r.concat(n.lib.WordArray.random(f-1)).concat(n.lib.WordArray.create([f<<24],1))},unpad:function(r){var a=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=a}},n.pad.Iso10126})}(of)),of.exports}var af={exports:{}},ed;function Py(){return ed||(ed=1,function(t,e){(function(n,r,a){t.exports=r(Lt(),Xn())})(Tt,function(n){return n.pad.Iso97971={pad:function(r,a){r.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(r,a)},unpad:function(r){n.pad.ZeroPadding.unpad(r),r.sigBytes--}},n.pad.Iso97971})}(af)),af.exports}var sf={exports:{}},td;function By(){return td||(td=1,function(t,e){(function(n,r,a){t.exports=r(Lt(),Xn())})(Tt,function(n){return n.pad.ZeroPadding={pad:function(r,a){var c=a*4;r.clamp(),r.sigBytes+=c-(r.sigBytes%c||c)},unpad:function(r){for(var a=r.words,c=r.sigBytes-1,c=r.sigBytes-1;c>=0;c--)if(a[c>>>2]>>>24-c%4*8&255){r.sigBytes=c+1;break}}},n.pad.ZeroPadding})}(sf)),sf.exports}var uf={exports:{}},nd;function Ly(){return nd||(nd=1,function(t,e){(function(n,r,a){t.exports=r(Lt(),Xn())})(Tt,function(n){return n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding})}(uf)),uf.exports}var cf={exports:{}},rd;function My(){return rd||(rd=1,function(t,e){(function(n,r,a){t.exports=r(Lt(),Xn())})(Tt,function(n){return function(r){var a=n,c=a.lib,f=c.CipherParams,p=a.enc,E=p.Hex,b=a.format;b.Hex={stringify:function(T){return T.ciphertext.toString(E)},parse:function(T){var x=E.parse(T);return f.create({ciphertext:x})}}}(),n.format.Hex})}(cf)),cf.exports}var lf={exports:{}},id;function Uy(){return id||(id=1,function(t,e){(function(n,r,a){t.exports=r(Lt(),xo(),So(),uo(),Xn())})(Tt,function(n){return function(){var r=n,a=r.lib,c=a.BlockCipher,f=r.algo,p=[],E=[],b=[],T=[],x=[],w=[],F=[],R=[],v=[],d=[];(function(){for(var O=[],D=0;D<256;D++)D<128?O[D]=D<<1:O[D]=D<<1^283;for(var P=0,U=0,D=0;D<256;D++){var H=U^U<<1^U<<2^U<<3^U<<4;H=H>>>8^H&255^99,p[P]=H,E[H]=P;var B=O[P],G=O[B],N=O[G],K=O[H]*257^H*16843008;b[P]=K<<24|K>>>8,T[P]=K<<16|K>>>16,x[P]=K<<8|K>>>24,w[P]=K;var K=N*16843009^G*65537^B*257^P*16843008;F[H]=K<<24|K>>>8,R[H]=K<<16|K>>>16,v[H]=K<<8|K>>>24,d[H]=K,P?(P=B^O[O[O[N^B]]],U^=O[O[U]]):P=U=1}})();var g=[0,1,2,4,8,16,32,64,128,27,54],A=f.AES=c.extend({_doReset:function(){var O;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var D=this._keyPriorReset=this._key,P=D.words,U=D.sigBytes/4,H=this._nRounds=U+6,B=(H+1)*4,G=this._keySchedule=[],N=0;N<B;N++)N<U?G[N]=P[N]:(O=G[N-1],N%U?U>6&&N%U==4&&(O=p[O>>>24]<<24|p[O>>>16&255]<<16|p[O>>>8&255]<<8|p[O&255]):(O=O<<8|O>>>24,O=p[O>>>24]<<24|p[O>>>16&255]<<16|p[O>>>8&255]<<8|p[O&255],O^=g[N/U|0]<<24),G[N]=G[N-U]^O);for(var K=this._invKeySchedule=[],Y=0;Y<B;Y++){var N=B-Y;if(Y%4)var O=G[N];else var O=G[N-4];Y<4||N<=4?K[Y]=O:K[Y]=F[p[O>>>24]]^R[p[O>>>16&255]]^v[p[O>>>8&255]]^d[p[O&255]]}}},encryptBlock:function(O,D){this._doCryptBlock(O,D,this._keySchedule,b,T,x,w,p)},decryptBlock:function(O,D){var P=O[D+1];O[D+1]=O[D+3],O[D+3]=P,this._doCryptBlock(O,D,this._invKeySchedule,F,R,v,d,E);var P=O[D+1];O[D+1]=O[D+3],O[D+3]=P},_doCryptBlock:function(O,D,P,U,H,B,G,N){for(var K=this._nRounds,Y=O[D]^P[0],ne=O[D+1]^P[1],se=O[D+2]^P[2],re=O[D+3]^P[3],ue=4,ce=1;ce<K;ce++){var Ee=U[Y>>>24]^H[ne>>>16&255]^B[se>>>8&255]^G[re&255]^P[ue++],Te=U[ne>>>24]^H[se>>>16&255]^B[re>>>8&255]^G[Y&255]^P[ue++],_e=U[se>>>24]^H[re>>>16&255]^B[Y>>>8&255]^G[ne&255]^P[ue++],oe=U[re>>>24]^H[Y>>>16&255]^B[ne>>>8&255]^G[se&255]^P[ue++];Y=Ee,ne=Te,se=_e,re=oe}var Ee=(N[Y>>>24]<<24|N[ne>>>16&255]<<16|N[se>>>8&255]<<8|N[re&255])^P[ue++],Te=(N[ne>>>24]<<24|N[se>>>16&255]<<16|N[re>>>8&255]<<8|N[Y&255])^P[ue++],_e=(N[se>>>24]<<24|N[re>>>16&255]<<16|N[Y>>>8&255]<<8|N[ne&255])^P[ue++],oe=(N[re>>>24]<<24|N[Y>>>16&255]<<16|N[ne>>>8&255]<<8|N[se&255])^P[ue++];O[D]=Ee,O[D+1]=Te,O[D+2]=_e,O[D+3]=oe},keySize:256/32});r.AES=c._createHelper(A)}(),n.AES})}(lf)),lf.exports}var ff={exports:{}},od;function Vy(){return od||(od=1,function(t,e){(function(n,r,a){t.exports=r(Lt(),xo(),So(),uo(),Xn())})(Tt,function(n){return function(){var r=n,a=r.lib,c=a.WordArray,f=a.BlockCipher,p=r.algo,E=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],b=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],T=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],x=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],w=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],F=p.DES=f.extend({_doReset:function(){for(var g=this._key,A=g.words,O=[],D=0;D<56;D++){var P=E[D]-1;O[D]=A[P>>>5]>>>31-P%32&1}for(var U=this._subKeys=[],H=0;H<16;H++){for(var B=U[H]=[],G=T[H],D=0;D<24;D++)B[D/6|0]|=O[(b[D]-1+G)%28]<<31-D%6,B[4+(D/6|0)]|=O[28+(b[D+24]-1+G)%28]<<31-D%6;B[0]=B[0]<<1|B[0]>>>31;for(var D=1;D<7;D++)B[D]=B[D]>>>(D-1)*4+3;B[7]=B[7]<<5|B[7]>>>27}for(var N=this._invSubKeys=[],D=0;D<16;D++)N[D]=U[15-D]},encryptBlock:function(g,A){this._doCryptBlock(g,A,this._subKeys)},decryptBlock:function(g,A){this._doCryptBlock(g,A,this._invSubKeys)},_doCryptBlock:function(g,A,O){this._lBlock=g[A],this._rBlock=g[A+1],R.call(this,4,252645135),R.call(this,16,65535),v.call(this,2,858993459),v.call(this,8,16711935),R.call(this,1,1431655765);for(var D=0;D<16;D++){for(var P=O[D],U=this._lBlock,H=this._rBlock,B=0,G=0;G<8;G++)B|=x[G][((H^P[G])&w[G])>>>0];this._lBlock=H,this._rBlock=U^B}var N=this._lBlock;this._lBlock=this._rBlock,this._rBlock=N,R.call(this,1,1431655765),v.call(this,8,16711935),v.call(this,2,858993459),R.call(this,16,65535),R.call(this,4,252645135),g[A]=this._lBlock,g[A+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function R(g,A){var O=(this._lBlock>>>g^this._rBlock)&A;this._rBlock^=O,this._lBlock^=O<<g}function v(g,A){var O=(this._rBlock>>>g^this._lBlock)&A;this._lBlock^=O,this._rBlock^=O<<g}r.DES=f._createHelper(F);var d=p.TripleDES=f.extend({_doReset:function(){var g=this._key,A=g.words;if(A.length!==2&&A.length!==4&&A.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var O=A.slice(0,2),D=A.length<4?A.slice(0,2):A.slice(2,4),P=A.length<6?A.slice(0,2):A.slice(4,6);this._des1=F.createEncryptor(c.create(O)),this._des2=F.createEncryptor(c.create(D)),this._des3=F.createEncryptor(c.create(P))},encryptBlock:function(g,A){this._des1.encryptBlock(g,A),this._des2.decryptBlock(g,A),this._des3.encryptBlock(g,A)},decryptBlock:function(g,A){this._des3.decryptBlock(g,A),this._des2.encryptBlock(g,A),this._des1.decryptBlock(g,A)},keySize:192/32,ivSize:64/32,blockSize:64/32});r.TripleDES=f._createHelper(d)}(),n.TripleDES})}(ff)),ff.exports}var hf={exports:{}},ad;function jy(){return ad||(ad=1,function(t,e){(function(n,r,a){t.exports=r(Lt(),xo(),So(),uo(),Xn())})(Tt,function(n){return function(){var r=n,a=r.lib,c=a.StreamCipher,f=r.algo,p=f.RC4=c.extend({_doReset:function(){for(var T=this._key,x=T.words,w=T.sigBytes,F=this._S=[],R=0;R<256;R++)F[R]=R;for(var R=0,v=0;R<256;R++){var d=R%w,g=x[d>>>2]>>>24-d%4*8&255;v=(v+F[R]+g)%256;var A=F[R];F[R]=F[v],F[v]=A}this._i=this._j=0},_doProcessBlock:function(T,x){T[x]^=E.call(this)},keySize:256/32,ivSize:0});function E(){for(var T=this._S,x=this._i,w=this._j,F=0,R=0;R<4;R++){x=(x+1)%256,w=(w+T[x])%256;var v=T[x];T[x]=T[w],T[w]=v,F|=T[(T[x]+T[w])%256]<<24-R*8}return this._i=x,this._j=w,F}r.RC4=c._createHelper(p);var b=f.RC4Drop=p.extend({cfg:p.cfg.extend({drop:192}),_doReset:function(){p._doReset.call(this);for(var T=this.cfg.drop;T>0;T--)E.call(this)}});r.RC4Drop=c._createHelper(b)}(),n.RC4})}(hf)),hf.exports}var pf={exports:{}},sd;function $y(){return sd||(sd=1,function(t,e){(function(n,r,a){t.exports=r(Lt(),xo(),So(),uo(),Xn())})(Tt,function(n){return function(){var r=n,a=r.lib,c=a.StreamCipher,f=r.algo,p=[],E=[],b=[],T=f.Rabbit=c.extend({_doReset:function(){for(var w=this._key.words,F=this.cfg.iv,R=0;R<4;R++)w[R]=(w[R]<<8|w[R]>>>24)&16711935|(w[R]<<24|w[R]>>>8)&4278255360;var v=this._X=[w[0],w[3]<<16|w[2]>>>16,w[1],w[0]<<16|w[3]>>>16,w[2],w[1]<<16|w[0]>>>16,w[3],w[2]<<16|w[1]>>>16],d=this._C=[w[2]<<16|w[2]>>>16,w[0]&4294901760|w[1]&65535,w[3]<<16|w[3]>>>16,w[1]&4294901760|w[2]&65535,w[0]<<16|w[0]>>>16,w[2]&4294901760|w[3]&65535,w[1]<<16|w[1]>>>16,w[3]&4294901760|w[0]&65535];this._b=0;for(var R=0;R<4;R++)x.call(this);for(var R=0;R<8;R++)d[R]^=v[R+4&7];if(F){var g=F.words,A=g[0],O=g[1],D=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,P=(O<<8|O>>>24)&16711935|(O<<24|O>>>8)&4278255360,U=D>>>16|P&4294901760,H=P<<16|D&65535;d[0]^=D,d[1]^=U,d[2]^=P,d[3]^=H,d[4]^=D,d[5]^=U,d[6]^=P,d[7]^=H;for(var R=0;R<4;R++)x.call(this)}},_doProcessBlock:function(w,F){var R=this._X;x.call(this),p[0]=R[0]^R[5]>>>16^R[3]<<16,p[1]=R[2]^R[7]>>>16^R[5]<<16,p[2]=R[4]^R[1]>>>16^R[7]<<16,p[3]=R[6]^R[3]>>>16^R[1]<<16;for(var v=0;v<4;v++)p[v]=(p[v]<<8|p[v]>>>24)&16711935|(p[v]<<24|p[v]>>>8)&4278255360,w[F+v]^=p[v]},blockSize:128/32,ivSize:64/32});function x(){for(var w=this._X,F=this._C,R=0;R<8;R++)E[R]=F[R];F[0]=F[0]+1295307597+this._b|0,F[1]=F[1]+3545052371+(F[0]>>>0<E[0]>>>0?1:0)|0,F[2]=F[2]+886263092+(F[1]>>>0<E[1]>>>0?1:0)|0,F[3]=F[3]+1295307597+(F[2]>>>0<E[2]>>>0?1:0)|0,F[4]=F[4]+3545052371+(F[3]>>>0<E[3]>>>0?1:0)|0,F[5]=F[5]+886263092+(F[4]>>>0<E[4]>>>0?1:0)|0,F[6]=F[6]+1295307597+(F[5]>>>0<E[5]>>>0?1:0)|0,F[7]=F[7]+3545052371+(F[6]>>>0<E[6]>>>0?1:0)|0,this._b=F[7]>>>0<E[7]>>>0?1:0;for(var R=0;R<8;R++){var v=w[R]+F[R],d=v&65535,g=v>>>16,A=((d*d>>>17)+d*g>>>15)+g*g,O=((v&4294901760)*v|0)+((v&65535)*v|0);b[R]=A^O}w[0]=b[0]+(b[7]<<16|b[7]>>>16)+(b[6]<<16|b[6]>>>16)|0,w[1]=b[1]+(b[0]<<8|b[0]>>>24)+b[7]|0,w[2]=b[2]+(b[1]<<16|b[1]>>>16)+(b[0]<<16|b[0]>>>16)|0,w[3]=b[3]+(b[2]<<8|b[2]>>>24)+b[1]|0,w[4]=b[4]+(b[3]<<16|b[3]>>>16)+(b[2]<<16|b[2]>>>16)|0,w[5]=b[5]+(b[4]<<8|b[4]>>>24)+b[3]|0,w[6]=b[6]+(b[5]<<16|b[5]>>>16)+(b[4]<<16|b[4]>>>16)|0,w[7]=b[7]+(b[6]<<8|b[6]>>>24)+b[5]|0}r.Rabbit=c._createHelper(T)}(),n.Rabbit})}(pf)),pf.exports}var df={exports:{}},ud;function Hy(){return ud||(ud=1,function(t,e){(function(n,r,a){t.exports=r(Lt(),xo(),So(),uo(),Xn())})(Tt,function(n){return function(){var r=n,a=r.lib,c=a.StreamCipher,f=r.algo,p=[],E=[],b=[],T=f.RabbitLegacy=c.extend({_doReset:function(){var w=this._key.words,F=this.cfg.iv,R=this._X=[w[0],w[3]<<16|w[2]>>>16,w[1],w[0]<<16|w[3]>>>16,w[2],w[1]<<16|w[0]>>>16,w[3],w[2]<<16|w[1]>>>16],v=this._C=[w[2]<<16|w[2]>>>16,w[0]&4294901760|w[1]&65535,w[3]<<16|w[3]>>>16,w[1]&4294901760|w[2]&65535,w[0]<<16|w[0]>>>16,w[2]&4294901760|w[3]&65535,w[1]<<16|w[1]>>>16,w[3]&4294901760|w[0]&65535];this._b=0;for(var d=0;d<4;d++)x.call(this);for(var d=0;d<8;d++)v[d]^=R[d+4&7];if(F){var g=F.words,A=g[0],O=g[1],D=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,P=(O<<8|O>>>24)&16711935|(O<<24|O>>>8)&4278255360,U=D>>>16|P&4294901760,H=P<<16|D&65535;v[0]^=D,v[1]^=U,v[2]^=P,v[3]^=H,v[4]^=D,v[5]^=U,v[6]^=P,v[7]^=H;for(var d=0;d<4;d++)x.call(this)}},_doProcessBlock:function(w,F){var R=this._X;x.call(this),p[0]=R[0]^R[5]>>>16^R[3]<<16,p[1]=R[2]^R[7]>>>16^R[5]<<16,p[2]=R[4]^R[1]>>>16^R[7]<<16,p[3]=R[6]^R[3]>>>16^R[1]<<16;for(var v=0;v<4;v++)p[v]=(p[v]<<8|p[v]>>>24)&16711935|(p[v]<<24|p[v]>>>8)&4278255360,w[F+v]^=p[v]},blockSize:128/32,ivSize:64/32});function x(){for(var w=this._X,F=this._C,R=0;R<8;R++)E[R]=F[R];F[0]=F[0]+1295307597+this._b|0,F[1]=F[1]+3545052371+(F[0]>>>0<E[0]>>>0?1:0)|0,F[2]=F[2]+886263092+(F[1]>>>0<E[1]>>>0?1:0)|0,F[3]=F[3]+1295307597+(F[2]>>>0<E[2]>>>0?1:0)|0,F[4]=F[4]+3545052371+(F[3]>>>0<E[3]>>>0?1:0)|0,F[5]=F[5]+886263092+(F[4]>>>0<E[4]>>>0?1:0)|0,F[6]=F[6]+1295307597+(F[5]>>>0<E[5]>>>0?1:0)|0,F[7]=F[7]+3545052371+(F[6]>>>0<E[6]>>>0?1:0)|0,this._b=F[7]>>>0<E[7]>>>0?1:0;for(var R=0;R<8;R++){var v=w[R]+F[R],d=v&65535,g=v>>>16,A=((d*d>>>17)+d*g>>>15)+g*g,O=((v&4294901760)*v|0)+((v&65535)*v|0);b[R]=A^O}w[0]=b[0]+(b[7]<<16|b[7]>>>16)+(b[6]<<16|b[6]>>>16)|0,w[1]=b[1]+(b[0]<<8|b[0]>>>24)+b[7]|0,w[2]=b[2]+(b[1]<<16|b[1]>>>16)+(b[0]<<16|b[0]>>>16)|0,w[3]=b[3]+(b[2]<<8|b[2]>>>24)+b[1]|0,w[4]=b[4]+(b[3]<<16|b[3]>>>16)+(b[2]<<16|b[2]>>>16)|0,w[5]=b[5]+(b[4]<<8|b[4]>>>24)+b[3]|0,w[6]=b[6]+(b[5]<<16|b[5]>>>16)+(b[4]<<16|b[4]>>>16)|0,w[7]=b[7]+(b[6]<<8|b[6]>>>24)+b[5]|0}r.RabbitLegacy=c._createHelper(T)}(),n.RabbitLegacy})}(df)),df.exports}var _f={exports:{}},cd;function Gy(){return cd||(cd=1,function(t,e){(function(n,r,a){t.exports=r(Lt(),xo(),So(),uo(),Xn())})(Tt,function(n){return function(){var r=n,a=r.lib,c=a.BlockCipher,f=r.algo;const p=16,E=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],b=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var T={pbox:[],sbox:[]};function x(d,g){let A=g>>24&255,O=g>>16&255,D=g>>8&255,P=g&255,U=d.sbox[0][A]+d.sbox[1][O];return U=U^d.sbox[2][D],U=U+d.sbox[3][P],U}function w(d,g,A){let O=g,D=A,P;for(let U=0;U<p;++U)O=O^d.pbox[U],D=x(d,O)^D,P=O,O=D,D=P;return P=O,O=D,D=P,D=D^d.pbox[p],O=O^d.pbox[p+1],{left:O,right:D}}function F(d,g,A){let O=g,D=A,P;for(let U=p+1;U>1;--U)O=O^d.pbox[U],D=x(d,O)^D,P=O,O=D,D=P;return P=O,O=D,D=P,D=D^d.pbox[1],O=O^d.pbox[0],{left:O,right:D}}function R(d,g,A){for(let H=0;H<4;H++){d.sbox[H]=[];for(let B=0;B<256;B++)d.sbox[H][B]=b[H][B]}let O=0;for(let H=0;H<p+2;H++)d.pbox[H]=E[H]^g[O],O++,O>=A&&(O=0);let D=0,P=0,U=0;for(let H=0;H<p+2;H+=2)U=w(d,D,P),D=U.left,P=U.right,d.pbox[H]=D,d.pbox[H+1]=P;for(let H=0;H<4;H++)for(let B=0;B<256;B+=2)U=w(d,D,P),D=U.left,P=U.right,d.sbox[H][B]=D,d.sbox[H][B+1]=P;return!0}var v=f.Blowfish=c.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var d=this._keyPriorReset=this._key,g=d.words,A=d.sigBytes/4;R(T,g,A)}},encryptBlock:function(d,g){var A=w(T,d[g],d[g+1]);d[g]=A.left,d[g+1]=A.right},decryptBlock:function(d,g){var A=F(T,d[g],d[g+1]);d[g]=A.left,d[g+1]=A.right},blockSize:64/32,keySize:128/32,ivSize:64/32});r.Blowfish=c._createHelper(v)}(),n.Blowfish})}(_f)),_f.exports}(function(t,e){(function(n,r,a){t.exports=r(Lt(),yu(),by(),Ey(),xo(),xy(),So(),Pp(),jl(),Sy(),Up(),Ty(),Ay(),Cy(),ql(),Dy(),uo(),Xn(),ky(),Oy(),wy(),Ry(),Fy(),Ny(),Iy(),Py(),By(),Ly(),My(),Uy(),Vy(),jy(),$y(),Hy(),Gy())})(Tt,function(n){return n})})(Cp);var ld=Cp.exports;class Ky{constructor(e){I(this,"_nameMap");I(this,"_prefixNameVar");I(this,"_prefixNameFunc");I(this,"_prefixNameConst");I(this,"_userTypes");I(this,"_isInFunc");I(this,"_currentFuncName");I(this,"_varlist");I(this,"_memberIndexList");I(this,"_blockCount");I(this,"_inputCount");I(this,"_count");I(this,"_isSwitch",!1);I(this,"_isInLoop",!1);I(this,"_codesCol");I(this,"_dependsObj");I(this,"_enums");I(this,"_preRunMembers");I(this,"_isInConditionalStmt",!1);I(this,"_preRunMembersFuncs");I(this,"_preRunMemberFuncsCount",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._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 f of c)if(n.push(this._parserStmt(f)),Ol.includes((a=(r=f.exprs)==null?void 0:r[0])==null?void 0:a.name))return n.join(`;
27
- `).replace(/;+/g,";")}else n.push(this._parserStmt(c))}return""}parser(e){const n=[];for(const a of e){if(!a)return;if(Array.isArray(a))for(const c of a)n.push(this._parserStmt(c));else n.push(this._parserStmt(a))}const r=this._memberIndexList[this._blockCount]||{};return n.push(...Object.values(r)),n.join(`;
28
- `).replace(/;+/g,";")}_parserStmt(e,n=!1){let r="";switch(e==null?void 0:e.ruleType){case ye.DeclareAssign:r=this._parserDeclareAssign(e);break;case ye.MethodExpression:r=`${this._parserMethodExpression(e)}`;break;case ye.ArrowFunction:r=this._parserArrowFunction(e);break;case ye.ArrowMethod:r=this._parserArrowMethod(e);break;case ye.IfStatement:r=this._parserIfStatement(e,n);break;case ye.WhileStatement:r=this._parserWhileStatement(e,n);break;case ye.SwitchStatement:r=this._parserSwitchStatement(e,n);break;case ye.ForInStatement:r=this._parserForInStatement(e,n);break;case ye.ForToStatement:r=this._parserForToStatement(e,n);break;case ye.AgainAssign:r=this._parserAgainAssign(e);break;case ye.ImportElement:r=e.code||"";break;case ye.TypeStatement:r=this._parserTypeStatement(e);break;case ye.VarBlockStmt:r=this._parserVarBlockStmt(e);break;case ye.FlowStmt:if(this._isSwitch&&e.value==="break"){if(this._isInLoop){r="$$isBreak = true;";break}r="";break}r=`${e.value};`;break;case ye.Brackethesized:r=this._parserBrackethesized(e);break;case ye.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(`;
29
- `),this._preRunMembersFuncs[this._blockCount]=[]);const f=this._preRunMembers[this._blockCount];return f!=null&&f.length&&(a=`${a}
30
- ${f.join(`;
31
- `)}`,this._preRunMembers[this._blockCount]=[]),a&&(r=`${a}${n?`
32
- /****/
33
- `:`;
34
- `}${r}`),r}_parserEnumStatement(e){let{name:n,fields:r}=e;const a=[],c=[];for(const p of r){const{name:E,value:b}=p,T=b===void 0?`"${E}"`:b;c.push(T),a.push(`${E}: ${T}`)}Nn.includes(n)&&(n=`$${n}`),this._enums.set(n,c);const f=`const ${n} = {${a.join(", ")}}`;return this._codesCol[this._blockCount].push({code:f,varNames:[n],depends:[]}),f}_parserTypeStatement(e){const n=[],r=[];for(const f of e.fields){const{name:p,value:E}=f;f.isVarip&&r.push(`"${p}"`),n.push(`${p}: ${E?this._parserSingleExpression(E):"undefined"}`)}this._userTypes.push(e.name);let a=e.name;Nn.includes(a)&&(a=`$${a}`);const c=`const ${a} = ${this._prefixNameVar}.getTypeInstance({${n.join(", ")}}, [${r.join()}])`;return this._codesCol[this._blockCount].push({code:c,varNames:[a],depends:[]}),c}_parserVarBlockStmt(e){const{nameList:n,value:r}=e;this._addVarList(n);const a=this._parserDeclareAssignNames(n),c=`$${a}_${this._blockCount}`;this._dependsObj[c]=new Map;const f=this._parserStmt(r,!0),p=f.split(`
35
- /****/
36
- `);let E="";p.length>1?E=`${p[0]}
37
- let ${a} = ${p[1]}
38
- `:E=`let ${a} = ${f}`;const b={code:E,varNames:a.replace(/[\[\]]/g,"").split(", "),depends:this._getDepends(c)};return this._codesCol[this._blockCount].push(b),E}_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[f,p,E]=r,b=this._isInLoop;this._isInLoop=!0;const T=`$start${this._count++}`,x=`$$count${this._count}`,w=`$forTo${this._blockCount}`;n||(this._dependsObj[w]=new Map);const F=this._parserSingleExpression(f),R=this._parserSingleExpression(p),v=E?this._parserSingleExpression(E):"",d=this._parserBlockLine(a,n,!1,!0);Nn.includes(c)&&(c=`$${c}`);const g=`const ${T} = Date.now()`,A=`for (let ${c}=${F}; ${c}>=(${R}); ${c}-=(${v||"1"})){
39
- if (Date.now() - ${T} > 500) {
40
- throw new Error('${xe.loopRuntimeErr}')
41
- }
42
- ${x}++
43
- ${d}
44
- }`,O=`for (let ${c}=${F};${c}<=(${R}); ${c}+=(${v||"1"})){
45
- if (Date.now() - ${T} > 500) {
46
- throw new Error('${xe.loopRuntimeErr}')
47
- }
48
- ${x}++
49
- ${d}
50
- }`;let D="";return(f==null?void 0:f.ruleType)==="Literal"&&(p==null?void 0:p.ruleType)==="Literal"?D=Number(f.value)>Number(p.value)?A:O:D=`if ((${F})>(${R})) {
51
- ${A}
52
- } else {
53
- ${O}
54
- }`,D=`${g};
55
- let ${x} = 0
56
- ${D}`,n||this._codesCol[this._blockCount].push({code:D,depends:this._getDepends(w)}),this._isInLoop=b,n?this._functionalProcess(D):D}_parserForInStatement(e,n=!1){const{names:r,block:a,array:c}=e,f=this._isInLoop;this._isInLoop=!0;const p=`$start${this._count++}`,E=`$$count${this._count}`,b=this._parserBlockLine(a,n,!1,!0);let T="",[x,w]=r;Nn.includes(x)&&(x=`$${x}`);const F=`const ${p} = Date.now()`;return r.length===1?T=`for (const ${x} of ${this._parserSingleExpression(c)}._value) {
57
- if (Date.now() - ${p} > 500) {
58
- throw new Error('${xe.loopRuntimeErr}')
59
- }
60
- ${E}++
61
- ${b}
62
- }`:(Nn.includes(w)&&(w=`$${w}`),T=`for (const [${x},${w}] of (${this._parserSingleExpression(c)})._value.entries()) {
63
- if (Date.now() - ${p} > 500) {
64
- throw new Error('${xe.loopRuntimeErr}')
65
- }
66
- ${E}++
67
- ${b}
68
- }`),this._isInLoop=f,T=`${F};
69
- let ${E} = 0;
70
- ${T}`,n?this._functionalProcess(T):T}_parserAgainAssign(e){const{operator:n,name:r,value:a}=e,{varPos:c,declare:f}=r,p=`$againAssign${this._blockCount}`;this._dependsObj[p]=new Map;const E=this._parserName(r,!0);let b="",T=this._parserStmt(a,!0);const x=T.split(`
71
- /****/
72
- `);let w="";x.length>1&&(w=x[0],T=x[1]);const F=`$_tmp_${E.split(".").pop()}`;n===":="&&(w=`${w}
73
- var ${F} = ${T}`);let R=`${E} ${n===":="?`= ${F}`:`${n} ${T}`}`;const v=`${c==null?void 0:c.column}_${c==null?void 0:c.lineNumber}`;if(f){const g=this._isInFunc?`$posStr + "_${v}"`:`"${v}"`;b=`;
74
- ${this._prefixNameVar}.setVarValue("${E}", ${g}, ${E}, "${f}")`}n==="-="?R=`${E} = ${this._prefixNameVar}.sub(${E}, ${T})`:n==="+="?R=`${E} = ${this._prefixNameVar}.add(${E}, ${T})`:n===":="&&(w=`${w};
75
- ${this._prefixNameVar}.againAssignParse(${E}, ${F});
76
- `);const d=`${w}${R}${b}`;return this._codesCol[this._blockCount].push({code:d,depends:this._getDepends(p)}),d}_parserSwitchStatement(e,n=!1){const{condition:r,cases:a,defaultCase:c}=e;let f=`$switch${this._blockCount}`;n||(this._dependsObj[f]=new Map);const p=this._isSwitch;this._isSwitch=!0;const E=a.length?this._parserCases(a,n):"",b=c?this._parserDefaultCase(c,n):"",T=`switch (${r===!0?r:this._parserSingleExpression(r)}) {
77
- ${E}
78
- ${b}
79
- }`;n||this._codesCol[this._blockCount].push({code:T,depends:this._getDepends(f)});const x=n?this._functionalProcess(T):T;return this._isSwitch=p,x}_parserCases(e,n=!1){const r=[];for(const a of e)r.push(this._parserCase(a,n));return r.join(`
80
- `)}_parserDefaultCase(e,n=!1){return`default:
81
- { ${this._parserBlock(e.block,n)} }
82
- break;`}_parserCase(e,n=!1){const{condition:r,block:a}=e;return`case ${this._parserSingleExpression(r)}:
83
- { ${this._parserBlock(a,n)} }
84
- break;`}_parserWhileStatement(e,n=!1){const{condition:r,block:a}=e;let c=`$while${this._blockCount}`;n||(this._dependsObj[c]=new Map);const f=this._isInLoop;this._isInLoop=!0;const p=`$start${this._count++}`,E=`const ${p} = Date.now()`,b=`$$count${this._count}`;let T=`while (${this._parserSingleExpression(r)}) {
85
- if (Date.now() - ${p} > 500) {
86
- throw new Error('${xe.loopRuntimeErr}')
87
- }
88
- ${b}++
89
- ${this._parserBlockLine(a,n,!1,!0)}
90
- }`;return T=`${E};
91
- let ${b} = 0;
92
- ${T}`,n||this._codesCol[this._blockCount].push({code:T,depends:this._getDepends(c)}),this._isInLoop=f,n?this._functionalProcess(T):T}_parserIfStatement(e,n=!1){const{condition:r,block:a}=e;let c="",f=`$if${this._blockCount}`;n||(this._dependsObj[f]=new Map);for(const[p,E]of a.entries()){const b=this._parserBlockLine(E,n),T=r[p]&&this._parserSingleExpression(r[p]);p===0?c=`if (${T}) {
93
- ${b}
94
- }`:T?c+=`else if (${T}) {
95
- ${b}
96
- }`:c+=`else {
97
- ${b}
98
- }`}return n||this._codesCol[this._blockCount].push({code:c,depends:this._getDepends(f)}),n?this._functionalProcess(c):c}_parserBlockLine(e,n=!1,r=!1,a=!1){const c=[],f=e.length;this._blockCount++,this._codesCol[this._blockCount]=[];let p=e.slice(-1)[0];(p==null?void 0:p.ruleType)===ye.FlowStmt&&(p=e.slice(-2)[0]),a&&c.push("let $$isBreak = false;");for(const[E,b]of e.entries()){const T=n&&E===f-1;if(Array.isArray(b)){const x=[...b];T&&(p=x.pop(),(p==null?void 0:p.ruleType)===ye.FlowStmt&&(p=x.pop()));for(const w of x){const F=this._parserStmt(w);F&&c.push(F),(w==null?void 0:w.ruleType)===ye.SwitchStatement&&a&&c.push(`
99
- if ($$isBreak) {
100
- break;
101
- }
102
- `)}}else T||(c.push(this._parserStmt(b)),(b==null?void 0:b.ruleType)===ye.SwitchStatement&&a&&c.push(`
103
- if ($$isBreak) {
104
- break;
105
- }
106
- `))}if(n&&p){const E=this._parserReturnBlock(p,r);c.push(E),(p==null?void 0:p.ruleType)===ye.SwitchStatement&&a&&c.push(`
107
- if ($$isBreak) {
108
- break;
109
- }
110
- `)}else c.push(this._getMembersCode());return this._varlist[this._blockCount]={},this._memberIndexList[this._blockCount]={},this._codesCol[this._blockCount]=[],this._blockCount--,`${c.filter(E=>E).join(`;
111
- `)}`}_parserReturnBlock(e,n=!1){let r="",a="",c="";switch(e.ruleType){case ye.AgainAssign:return r=this._parserStmt(e),a=this._getMembersCode(),n?`${r};
112
- ${a}
113
- return ${this._parserName(e.name,!0)}`:`${r};
114
- ${a}
115
- $$_result = ${this._parserName(e.name,!0)}`;case ye.DeclareAssign:c=this._parserStmt(e),a=`${c}
116
- ${this._getMembersCode()}`,r=this._parserDeclareAssignNames(e.nameList);break;case ye.FlowStmt:return this._getMembersCode();case ye.VarBlockStmt:c=this._parserStmt(e),a=`${c}
117
- ${this._getMembersCode()}`,r=this._parserDeclareAssignNames(e.nameList);break;default:r=this._parserStmt(e,!0),a=this._getMembersCode();const f=r.split(`
118
- /****/
119
- `);f.length>1&&(a=`${a}
120
- ${f[0]}`,r=f[1]);break}return n?`${a}
121
- return ${r}`:`${a}
122
- $$_result = ${r}`}_getMembersCode(){const e=this._memberIndexList[this._blockCount]||{};return Object.values(e).join(`;
123
- `)}_parserArrowMethod(e){let n=`$_${e.name}`;this._nameMap.set(e.name,n);const r=[...e.params],a=e.index?`$${e.index}`:"";e.hasMemberIndex&&r.push({name:`${this._prefixNameVar}_position`}),n=`${n}${a}`,this._currentFuncName=n,this._dependsObj[n]=new Map;const c=this._parserBlock(e.block,!0,!0),f=e.hasRequest?", $paramsExpr":"";let p=`const ${n} = (${this._parserParameters(r)}$posStr${f}) => {
124
- ${c}
125
- }`;if(this._userTypes.includes(e.typeName)){let E=e.typeName;Nn.includes(E)&&(E=`$${E}`),p=`${p}
126
- ${E}.addNewMethod("${e.name}${a}", function (${this._parserParameters(r.slice(1))}$posStr${f}) {
127
- const ${r[0].name} = this;
128
- ${c}
129
- })
130
- `}return this._isInFunc=!1,this._currentFuncName="",this._codesCol[this._blockCount].push({funcName:n,depends:this._getDepends(n),hasRequest:e.hasRequest,code:p}),p}_parserArrowFunction(e){let n=`$_${e.name}`;this._nameMap.set(e.name,n);const r=[...e.params];e.hasMemberIndex&&r.push({name:`${this._prefixNameVar}_position`}),n=`${n}${e.index?`$${e.index}`:""}`,this._currentFuncName=n,this._dependsObj[n]=new Map;const a=e.hasRequest?", $paramsExpr":"",c=`const ${n} = (${this._parserParameters(r)}$posStr${a}) => {
131
- ${this._parserBlock(e.block,!0,!0)}
132
- }`;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 f=this._parserSingleExpression(a);c=`${c} = ${f}`}return c}).join(", ")}},`:""}_parserBlock(e,n=!1,r=!1){return r&&(this._isInFunc=!0),this._parserBlockLine(Array.isArray(e)?e:[e],n,r)}_addVarList(e){const n=this._varlist[this._blockCount]||{};if(e.names)for(const[r,a]of e.names.entries())n[a]=e.posList[r];else n[e.name]=e.pos;this._varlist[this._blockCount]=n}_parserDeclareAssign(e){var b;const{nameList:n,value:r}=e;if(n.name==="_")return"";const a=this._parserDeclareAssignNames(n);this._addVarList(n);const c={code:"",varNames:a.replace(/[\[\]]/g,"").split(", "),depends:[]},f=`$${a}_${this._blockCount}`;this._dependsObj[f]=new Map;const p=this._parserSingleExpression(r);let E=`let ${a} = ${p}`;if(n.declare){const T=`${n.pos.column}_${n.pos.lineNumber}`,x=this._isInFunc?`$posStr + "_${T}"`:`"${T}"`;E=`let ${a} = ${this._prefixNameVar}.getVarValue("${a}", ${x}, "${n.declare}") || ${this._prefixNameVar}.setVarValue("${a}", ${x}, ${p}, "${n.declare}")`}return c.code=E,c.depends=this._getDepends(f),(b=this._codesCol[this._blockCount])==null||b.push(c),E}_parserDeclareAssignNames(e){switch(e==null?void 0:e.ruleType){case"VarMultiple":return`[${e.names.map(n=>Nn.includes(n)?`$${n}`:n).join(", ")}]`;case"VarSingle":return Nn.includes(e.name)?`$${e.name}`:e.name}return""}_parserSingleExpression(e){if(!e)return"";const{exprs:n,operator:r}=e;let a="",c=this._isInConditionalStmt;switch(e.ruleType){case ye.MemberIndexExpression:return this._parserMemberIndexExpression(e);case ye.MethodExpression:return this._parserMethodExpression(e);case ye.UnaryExpression:return`${r}${this._parserSingleExpression(n[0])}`;case ye.NotExpression:return`!${this._parserSingleExpression(n[0])}`;case ye.AdditiveExpression:return this._parserAdditiveExpression(e);case ye.MultiplicativeExpression:case ye.RelationalExpression:case ye.EqualityExpression:return`${this._parserSingleExpression(n[0])} ${r} ${this._parserSingleExpression(n[1])}`;case ye.LogicalAndExpression:return this._isInConditionalStmt=!0,a=`${this._parserSingleExpression(n[0])} && ${this._parserSingleExpression(n[1])}`,this._isInConditionalStmt=c,a;case ye.LogicalOrExpression:return this._isInConditionalStmt=!0,a=`${this._parserSingleExpression(n[0])} || ${this._parserSingleExpression(n[1])}`,this._isInConditionalStmt=c,a;case ye.TernaryExpression:return this._isInConditionalStmt=!0,a=`${this._parserSingleExpression(n[0])} ? ${this._parserSingleExpression(n[1])} : ${this._parserSingleExpression(n[2])}`,this._isInConditionalStmt=c,a;case ye.Name:return this._parserName(e);case ye.Literal:return this._parseLiteral(e);case ye.ParenthesizedExpression:return`(${this._parserSingleExpression(e.exprs)})`;default:return e.name||""}}_parserAdditiveExpression(e){const{exprs:n,operator:r}=e,a=this._parserSingleExpression(n[0]),c=this._parserSingleExpression(n[1]);return r==="-"?`${this._prefixNameVar}.sub(${a}, ${c})`:`${this._prefixNameVar}.add(${a}, ${c})`}_parserMemberIndexExpression(e){const{exprs:n,isInFunc:r,ctx:a}=e,c=n[0],f=this._parserSingleExpression(n[1]);let p=this._parserSingleExpression(c);const E=a.start.tokenIndex,b=r?`${this._prefixNameVar}_position`:E;if(c.ruleType===ye.Name&&!c.hasMethod){let T=this._blockCount;const x=c.name;for(c.isBuiltIn||this._setDepend({name:x,scope:c.varScope});T>=0;){const w=this._varlist[T]||{},F=w[x];if(F)return this._getUserVarMemberIndexs(F,x,T,f,r);if(c.isBuiltIn){const R=this._memberIndexList[0]||{};return R[x]=`${this._prefixNameVar}.setCacheData("${x}", ${p})`,`${this._prefixNameVar}.getCacheData("${x}", ${f}, ${p})`}if(x.includes(".")){const R=x.split(".")[0],v=w[R];if(v)return this._getUserVarMemberIndexs(v,x,T,f,r)}T--}return this._getOtherVarMemberIndexs(`${x}_${c.varScope||c.scope}`,x,c.varScope||c.scope,f,r)}else{const T=this._preRunMembers[this._blockCount]||[],x=`$$m${E}_${b}`;T.push(`const ${x} = ${p};
133
- ${this._prefixNameVar}.setCacheData("m${E}_" + ${b}, ${x})`),this._preRunMembers[this._blockCount]=T}return`${this._prefixNameVar}.getCacheData("m${E}_" + ${b}, ${f}, ${p})`}_getOtherVarMemberIndexs(e,n,r,a,c){const f=this._memberIndexList[r]||{};return e=c&&r!==0?`"${e}_" + $posStr`:`"${e}"`,f[e]=`${this._prefixNameVar}.setCacheData(${e}, ${n})`,this._memberIndexList[r]=f,`${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(z.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),f=e.substring(7);return f?n=parseInt(f,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:f}=e,p=r.map(E=>{var w;if(typeof E=="string")return E;const{column:b,line:T}=((w=E==null?void 0:E.ctx)==null?void 0:w.start)||{},x=`${T}_${b}`;return this._parserMethodElement(E,x)});if(e.expr&&p.unshift(`(${this._parserSingleExpression(e.expr)})`),e.isBuiltIn)p.join(".")==="strategy.opentrades"&&p.push("opentrades"),p.unshift(e.isConst?this._prefixNameConst:this._prefixNameVar);else if(Nn.includes(p[0])&&(p[0]=`$${p[0]}`),!c){const E={name:p[0],scope:a||(f==null?void 0:f.varScope)||0,isAgainAssign:n,isArg:f==null?void 0:f.isArg,functionName:this._currentFuncName};this._setDepend(E)}return p.join(".")}_setDepend(e){const n=e.name;for(const r of Object.values(this._dependsObj)){const a=r.get(n),c={...e};a&&a.isAgainAssign&&(c.isAgainAssign=!0),r.set(n,c)}}_parserMethodExpression(e){const{exprs:n,ctx:r}=e,{column:a,line:c}=r.start,f=`${c}_${a}`;let p=this._isInFunc?`$posStr + "__${f}"`:`"${f}"`;p=this._isInLoop?`$$count${this._count} + ${p}`:p;let E=!1;const T=n.map(x=>(x.hasMemberIndex&&(E=!0),this._parserMethodElement(x,p))).join(".");if(this._isInConditionalStmt&&E){const x=`$$result_${this._preRunMemberFuncsCount}`;this._preRunMemberFuncsCount++;const w=this._preRunMembersFuncs[this._blockCount]||[];return w.push(`const ${x} = ${T}`),this._preRunMembersFuncs[this._blockCount]=w,x}return T}_parserMethodElement(e,n){let r="",a="";const c={...e.args};e.hasMemberIndex&&(a=`${this._prefixNameVar}_position: ${e.position}`),e.expr&&(r=`(${this._parserSingleExpression(e.expr)})`),r=r?`${r}.${e.name}`:this._nameMap.get(e.name)||e.name,e.hasVarPrefix&&(r=`${this._prefixNameVar}.${r}`);let f=!1;if(e.isBuiltIn){if(Sp.includes(r))r=`${r}.${r}`;else if(r==="max_bars_back"){const{name:E,varPos:b}=c.var||c.params[0];a=`var_name: "${b?`${E}_${b.lineNumber}_${b.column}`:E}"`}r.startsWith(z.INPUT)?(a=`index: ${this._inputCount}`,this._inputCount++):r.startsWith("request.")&&(f=!0),r=`${this._prefixNameFunc}.${r}`}else{const E=r.split(".");let b=E[0];Nn.includes(b)&&(b=`$${b}`,r=E.join("."))}if(e.selfArg){const E=r.split("."),b=E.length;Object.assign(c,{[e.selfArg.name]:{name:E.slice(0,b-1).join(".")}}),r=E[b-1],r=this._nameMap.get(r)||r,this._setDepend({name:E[0],scope:e.varScope||0})}r=`${r}${e.index?`$${e.index}`:""}`;const p=this._parserArguments(c,a,n,f,e.hasRequest,r);if(!e.isBuiltIn){const E=r.split(".");if(E.length>1?this._setDepend({name:E[0],scope:e.varScope||0}):this._setDepend({name:r,scope:0,hasRequest:e.hasRequest,isFunc:!0}),e.funcName){const b=this._nameMap.get(e.funcName)||e.funcName;this._setDepend({name:b,originName:r,scope:0,hasRequest:e.hasRequest,isFunc:!0})}}return r+p}_parserArguments(e,n,r,a=!1,c=!1,f){const p=e.params||[];delete e.params;const E=[],b=[];let T=[],x;const w=(R,v)=>{c&&(this._dependsObj[r]=new Map),a&&v==="expression"&&(this._dependsObj[`$arg_${v}${r}`]=new Map);let d=R.ruleType===ye.Brackethesized?this._parserBrackethesized(R):this._parserSingleExpression(R);if(v&&!["arg0, arg1, ...","number0, number1, ..."].includes(v)){R.isSourceType?E.push(`sourceTypeName: "${R.name}"`):v==="defval"&&f===`${this._prefixNameFunc}.input.enum`&&(x=this._enums.get(R.enumName));const g=this._requestParamsHandle(a,v,r,c,d,f);d=(g==null?void 0:g.code)||d,g!=null&&g.paramsExpr&&T.push(g==null?void 0:g.paramsExpr),E.push(`${v}: ${d}`)}else b.push(d)};for(const R of p)w(R,R.originName);for(const R of Object.keys(e))w(e[R],R);a&&this._isInFunc&&E.push("paramsExpr: $paramsExpr"),n&&E.push(n),x&&E.unshift(`options: [${x.join(", ")}]`);const F=T.length?`, [${this._isInFunc?"...$paramsExpr, ":""}${T.join(", ")}]`:"";return b.length?`({${E.join(", ")}}, [${b.join(", ")}], ${r}${F})`:E.length?`({${E.join(", ")}}, ${r}${F})`:`(${r}${F})`}_requestParamsHandle(e,n,r,a,c,f){if(e&&n==="expression"){const p=this._getDepends(`$arg_${n}${r}`),E=this._getExpressionContext(p);return E.push({scope:1,depends:p.map(b=>(b.isArg&&(b.functionName=this._currentFuncName),b)),code:c}),{code:`'${ld.AES.encrypt(JSON.stringify(E),"1234").toString()}'`}}else if(a){const p=this._getDepends(r),E=this._getExpressionContext(p);return E.push({scope:2,varNames:n,methodName:f,depends:p,dependSelf:p.some(b=>b.name===n),code:`${n} = ${c}`}),{paramsExpr:`'${ld.AES.encrypt(JSON.stringify(E),"1234").toString()}'`}}}_getExpressionContext(e){const n=[],r=[];return this._getDependsCode(e,n,r),n}_getDependsCode(e,n,r){var a,c;for(const f of e)if(!f.isArg){const p=this._codesCol[f.scope||0],E=p.find(T=>{var x;return((x=T.varNames)==null?void 0:x.includes(f.name))||T.funcName===f.name});E&&(r.includes(E)||(r.push(E),E.depends.length&&this._getDependsCode(E.depends,n,r),n.push({scope:f.scope||0,code:E.code,depends:E.depends,funcName:E.funcName,varNames:(a=E.varNames)==null?void 0:a.join(", ")})));const b=p.filter(T=>T.depends.some(x=>x.name===f.name&&x.scope===f.scope&&x.isAgainAssign));for(const T of b)r.includes(T)||(r.push(T),T.depends.length&&this._getDependsCode(T.depends,n,r),n.push({scope:f.scope||0,code:T.code,depends:T.depends,funcName:T.funcName,varNames:(c=T.varNames)==null?void 0:c.join(", ")}))}}_parserBrackethesized(e){return`[${e.exprs.map(r=>this._parserSingleExpression(r)).join(", ")}]`}_functionalProcess(e){return`(function () {
134
- let $$_result=undefined;
135
- ${e}
136
- return $$_result
137
- })()`}}class zy{constructor(e,n){I(this,"_nameMap");I(this,"_prefixNameVar");I(this,"_prefixNameFunc");I(this,"_prefixNameConst");I(this,"_userTypes");I(this,"_isInFunc");I(this,"_varlist");I(this,"_memberIndexList");I(this,"_blockCount");I(this,"_libTitle");I(this,"_exportEles");I(this,"_inputCount");this._nameMap=new Map,this._prefixNameVar=`${e}_var`,this._prefixNameFunc=`${e}_func`,this._prefixNameConst=`${e}_const`,this._userTypes=[],this._isInFunc=!1,this._varlist=[{}],this._memberIndexList=[{}],this._blockCount=0,this._libTitle=n,this._exportEles=[],this._inputCount=0}parser(e){const n=[];for(const c of e){if(!c)return;if(Array.isArray(c))for(const f of c)n.push(this._parserStmt(f));else n.push(this._parserStmt(c))}const r=this._memberIndexList[this._blockCount]||{};return n.push(...Object.values(r)),`const $name = (function () {
138
- ${n.join(`;
139
- `).replace(/;+/g,";")}
140
- return {
141
- ${this._exportEles.map(c=>`${c.key}: ${c.name}`).join(", ")}
142
- }
143
- })();`}_parserStmt(e,n=!1){switch(e==null?void 0:e.ruleType){case ye.DeclareAssign:return this._parserDeclareAssign(e);case ye.MethodExpression:return`${this._parserMethodExpression(e)}`;case ye.ArrowFunction:return this._parserArrowFunction(e);case ye.ArrowMethod:return this._parserArrowMethod(e);case ye.IfStatement:return this._parserIfStatement(e,n);case ye.WhileStatement:return this._parserWhileStatement(e,n);case ye.SwitchStatement:return this._parserSwitchStatement(e,n);case ye.ForInStatement:return this._parserForInStatement(e,n);case ye.ForToStatement:return this._parserForToStatement(e,n);case ye.AgainAssign:return this._parserAgainAssign(e);case ye.ImportElement:return e.code||"";case ye.TypeStatement:return this._parserTypeStatement(e);case ye.VarBlockStmt:return this._parserVarBlockStmt(e);case ye.FlowStmt:return`${e.value};`;case ye.Brackethesized:return this._parserBrackethesized(e);case ye.EnumStatement:return this._parserEnumStatement(e);default:return this._parserSingleExpression(e)}}_parserEnumStatement(e){let{name:n,fields:r}=e;const a=[];for(const f of r){const{name:p,value:E}=f;a.push(`${p}: ${E===void 0?`"${p}"`:E}`)}return Nn.includes(n)&&(n=`$${n}`),`const ${n} = {${a.join(", ")}}`}_parserTypeStatement(e){const n=[],r=[];for(const c of e.fields){const{name:f,value:p}=c;c.isVarip&&r.push(`"${f}"`),n.push(`${f}: ${p?this._parserSingleExpression(p):"undefined"}`)}this._userTypes.push(e.name),e.isExport&&this._exportEles.push({key:e.name,name:e.name});let a=e.name;return Nn.includes(a)&&(a=`$${a}`),`const ${a} = ${this._prefixNameVar}.getTypeInstance({${n.join(", ")}}, [${r.join()}])`}_parserVarBlockStmt(e){const{nameList:n,value:r}=e,a=this._parserStmt(r,!0);return this._addVarList(n),`let ${this._parserDeclareAssignNames(n)} = ${a}`}_parserForToStatement(e,n=!1){let{numerical:r,block:a,name:c}=e;const[f,p,E]=r,b=this._parserBlockLine(a,n),T=this._parserSingleExpression(f),x=this._parserSingleExpression(p),w=E?this._parserSingleExpression(E):"";Nn.includes(c)&&(c=`$${c}`);const F=`for (let ${c}=${T}; ${c}>=(${x}); ${c}+=(${w||"-1"})){
144
- ${b}
145
- }`,R=`for (let ${c}=${T};${c}<=(${x}); ${c}+=(${w||"1"})){
146
- ${b}
147
- }`;let v="";return(f==null?void 0:f.ruleType)==="Literal"&&(p==null?void 0:p.ruleType)==="Literal"?v=Number(f.value)>Number(p.value)?F:R:v=`if ((${T})>(${x})) {
148
- ${F}
149
- } else {
150
- ${R}
151
- }`,n?this._functionalProcess(v):v}_parserForInStatement(e,n=!1){const{names:r,block:a,array:c}=e,f=this._parserBlockLine(a,n);let p="",[E,b]=r;return Nn.includes(E)&&(E=`$${E}`),r.length===1?p=`for (const ${E} of ${this._parserSingleExpression(c)}._value) {
152
- ${f}
153
- }`:(Nn.includes(b)&&(b=`$${b}`),p=`for (const [${E},${b}] of (${this._parserSingleExpression(c)})._value.entries()) {
154
- ${f}
155
- }`),n?this._functionalProcess(p):p}_parserAgainAssign(e){const{operator:n,name:r,value:a}=e,{varPos:c,declare:f}=r,p=this._parserName(r);let E="";const b=this._parserStmt(a,!0);let T="";const x=`$_tmp_${p.split(".").pop()}`;n===":="&&(T=`var ${x} = ${b}`);let w=`${p} ${n===":="?`= ${x}`:`${n} ${b}`}`;const F=`${c==null?void 0:c.column}_${c==null?void 0:c.lineNumber}`;if(f){const R=this._isInFunc?`posStr + '_${F}'`:`"export_${this._libTitle}_${F}"`;E=`;
156
- ${this._prefixNameVar}.setVarValue("${p}", ${R}, ${p}, "${f}")`}return n==="-="?w=`${p} = ${this._prefixNameVar}.sub(${p}, ${b})`:n==="+="?w=`${p} = ${this._prefixNameVar}.add(${p}, ${b})`:n===":="&&(T=`${T};
157
- ${this._prefixNameVar}.againAssignParse(${p}, ${x});
158
- `),`${T}${w}${E}`}_parserSwitchStatement(e,n=!1){const{condition:r,cases:a,defaultCase:c}=e,f=a.length?this._parserCases(a,n):"",p=c?this._parserDefaultCase(c,n):"",E=`switch (${r===!0?r:this._parserSingleExpression(r)}) {
159
- ${f}
160
- ${p}
161
- }`;return n?this._functionalProcess(E):E}_parserCases(e,n=!1){const r=[];for(const a of e)r.push(this._parserCase(a,n));return r.join(`
162
- `)}_parserDefaultCase(e,n=!1){return`default:
163
- ${this._parserBlock(e.block,n)};`}_parserCase(e,n=!1){const{condition:r,block:a}=e;return`case ${this._parserSingleExpression(r)}:
164
- ${this._parserBlock(a,n)}
165
- break;`}_parserWhileStatement(e,n=!1){const{condition:r,block:a}=e,c=`while (${this._parserSingleExpression(r)}) {
166
- ${this._parserBlockLine(a,n)}
167
- }`;return n?this._functionalProcess(c):c}_parserIfStatement(e,n=!1){const{condition:r,block:a}=e;let c="";for(const[f,p]of a.entries()){const E=this._parserBlockLine(p,n),b=r[f]&&this._parserSingleExpression(r[f]);f===0?c=`if (${b}) {
168
- ${E}
169
- }`:b?c+=`else if (${b}) {
170
- ${E}
171
- }`:c+=`else {
172
- ${E}
173
- }`}return n?this._functionalProcess(c):c}_parserBlockLine(e,n=!1,r=!1){const a=[],c=e.length;this._blockCount++;let f=e.slice(-1)[0];for(const[p,E]of e.entries()){const b=n&&p===c-1;if(Array.isArray(E)){const T=[...E];b&&(f=T.pop());const x=T.map(w=>this._parserStmt(w)).join(`;
174
- `);x&&a.push(x)}else b||a.push(this._parserStmt(E))}if(n&&f){const p=this._parserReturnBlock(f,r);a.push(p)}else a.push(this._getMembersCode());return this._varlist[this._blockCount]={},this._memberIndexList[this._blockCount]={},this._blockCount--,`${a.join(`;
175
- `)};`}_parserReturnBlock(e,n=!1){let r="",a="";switch(e.ruleType){case ye.AgainAssign:return r=this._parserAgainAssign(e),a=this._getMembersCode(),n?`${r};
176
- ${a}
177
- return ${this._parserName(e.name)}`:`${r};
178
- ${a}
179
- $_result = ${this._parserName(e.name)}`;case ye.DeclareAssign:r=this._parserSingleExpression(e.value),a=this._getMembersCode();break;default:r=this._parserStmt(e,!0),a=this._getMembersCode()}return n?`${a}
180
-
181
- return ${r}`:`${a}
182
-
183
- $_result = ${r}`}_getMembersCode(){const e=this._memberIndexList[this._blockCount]||{};return Object.values(e).join(`;
184
- `)}_parserArrowMethod(e){let n=`$_${e.name}`;this._nameMap.set(e.name,n);const r=e.index?`$${e.index}`:"";n=`${n}${r}`,e.isExport&&this._exportEles.push({key:`${e.name}${r}`,name:n});const a=[...e.params];e.hasMemberIndex&&a.push({name:`${this._prefixNameVar}_position`});let c=`const ${n} = (${this._parserParameters(a)}posStr) => {
185
- if (posStr.startsWith('export')) return;
186
- ${this._parserBlock(e.block,!0,!0)}
187
- }`;if(this._userTypes.includes(e.typeName)){let f=e.typeName;Nn.includes(f)&&(f=`$${f}`),c=`${c}
188
- ${f}.addNewMethod("${e.name}${r}", function (${this._parserParameters(a.slice(1))}posStr) {
189
- if (posStr.startsWith('export')) return;
190
- const ${a[0].name} = this;
191
- ${this._parserBlock(e.block,!0,!0)}
192
- })
193
- `}return this._isInFunc=!1,c}_parserArrowFunction(e){let n=`$_${e.name}`;this._nameMap.set(e.name,n);const r=e.index?`$${e.index}`:"";n=`${n}${r}`,e.isExport&&this._exportEles.push({key:`${e.name}${r}`,name:n});const a=[...e.params];e.hasMemberIndex&&a.push({name:`${this._prefixNameVar}_position`});const c=`const ${n} = (${this._parserParameters(a)}posStr) => {
194
- if (posStr.startsWith('export')) return;
195
- ${this._parserBlock(e.block,!0,!0)}
196
- }`;return this._isInFunc=!1,c}_parserParameters(e){return e.length?`{${e.map(n=>{const{name:r,defaultValue:a}=n;let c=r;if(a){const f=this._parserSingleExpression(a);c=`${c} = ${f}`}return c}).join(", ")}},`:""}_parserBlock(e,n=!1,r=!1){return r&&(this._isInFunc=!0),this._parserBlockLine(Array.isArray(e)?e:[e],n,r)}_addVarList(e){const n=this._varlist[this._blockCount]||{};if(e.names)for(const[r,a]of e.names.entries())n[a]=e.posList[r];else n[e.name]=e.pos;this._varlist[this._blockCount]=n}_parserDeclareAssign(e){const{nameList:n,value:r}=e;if(n.name==="_")return"";const a=this._parserDeclareAssignNames(n);this._addVarList(n);const c=this._parserSingleExpression(r);if(n.declare){const f=`${n.pos.column}_${n.pos.lineNumber}`,p=this._isInFunc?`posStr + '_' + '${f}'`:`"export_${this._libTitle}_${f}"`;return`let ${a} = ${this._prefixNameVar}.getVarValue("${a}", ${p}, "${n.declare}") || ${this._prefixNameVar}.setVarValue("${a}", ${p}, ${c}, "${n.declare}")`}return`let ${a} = ${c}`}_parserDeclareAssignNames(e){switch(e==null?void 0:e.ruleType){case"VarMultiple":return`[${e.names.map(n=>Nn.includes(n)?`$${n}`:n).join(", ")}]`;case"VarSingle":return Nn.includes(e.name)?`$${e.name}`:e.name}return""}_parserSingleExpression(e){if(!e)return"";const{exprs:n,operator:r}=e;switch(e.ruleType){case ye.MemberIndexExpression:return this._parserMemberIndexExpression(e);case ye.MethodExpression:return this._parserMethodExpression(e);case ye.UnaryExpression:return`${r}${this._parserSingleExpression(n[0])}`;case ye.NotExpression:return`!${this._parserSingleExpression(n[0])}`;case ye.AdditiveExpression:return this._parserAdditiveExpression(e);case ye.MultiplicativeExpression:case ye.RelationalExpression:case ye.EqualityExpression:return`${this._parserSingleExpression(n[0])} ${r} ${this._parserSingleExpression(n[1])}`;case ye.LogicalAndExpression:return`${this._parserSingleExpression(n[0])} && ${this._parserSingleExpression(n[1])}`;case ye.LogicalOrExpression:return`${this._parserSingleExpression(n[0])} || ${this._parserSingleExpression(n[1])}`;case ye.TernaryExpression:return`${this._parserSingleExpression(n[0])} ? ${this._parserSingleExpression(n[1])} : ${this._parserSingleExpression(n[2])}`;case ye.Name:return this._parserName(e);case ye.Literal:return this._parseLiteral(e);case ye.ParenthesizedExpression:return`(${this._parserSingleExpression(e.exprs)})`;default:return e.name||""}}_parserAdditiveExpression(e){const{exprs:n,operator:r}=e,a=this._parserSingleExpression(n[0]),c=this._parserSingleExpression(n[1]);return r==="-"?`${this._prefixNameVar}.sub(${a}, ${c})`:`${this._prefixNameVar}.add(${a}, ${c})`}_parserMemberIndexExpression(e){const{exprs:n,isInFunc:r,ctx:a}=e,c=n[0],f=this._parserSingleExpression(n[1]);if(c.ruleType===ye.Name&&!c.hasMethod){let T=this._blockCount;const x=c.name;for(;T>=0;){const w=this._varlist[T]||{},F=w[x];if(F)return this._getUserVarMemberIndexs(F,x,T,f,r);if(c.isBuiltIn){const R=this._parserSingleExpression(c),v=this._memberIndexList[0]||{};return v[x]=`${this._prefixNameVar}.setCacheData('${x}', ${R})`,`${this._prefixNameVar}.getCacheData('${x}', ${f}, ${R})`}else if(x.includes(".")){const R=x.split(".")[0],v=w[R];if(v)return this._getUserVarMemberIndexs(v,x,T,f,r)}T--}}const p=a.start.tokenIndex,E=this._parserSingleExpression(c),b=r?`${this._prefixNameVar}_position`:p;return`${this._prefixNameVar}.getCacheData('m${p}_' + ${b}, ${f}, ${E})`}_getUserVarMemberIndexs(e,n,r,a,c){const f=this._memberIndexList[r]||{};let p=`${n}_${e.lineNumber}_${e.column}`;return p=c&&r!==0?`'${p}' + '_' + posStr`:`'${p}'`,f[p]=`${this._prefixNameVar}.setCacheData(${p}, ${n})`,this._memberIndexList[r]=f,`${this._prefixNameVar}.getCacheData(${p}, ${a}, ${n})`}_parseLiteral(e){return e.type.endsWith(z.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),f=e.substring(7);return f?n=(255-parseInt(f,16))/255:n=1,`rgba(${Math.round(r)}, ${Math.round(a)}, ${Math.round(c)}, ${n.toFixed(2)})`}return e}_parserName(e){const{exprs:n,ctx:r}=e,{column:a,line:c}=(r==null?void 0:r.start)||{},f=this._isInFunc?`${c}_${a}`:`export_${this._libTitle}_${c}_${a}`,p=n.map(E=>typeof E=="string"?E:this._parserMethodElement(E,f));return e.expr&&p.unshift(`(${this._parserSingleExpression(e.expr)})`),e.isBuiltIn?(p.join(".")==="strategy.opentrades"&&p.push("opentrades"),p.unshift(e.isConst?this._prefixNameConst:this._prefixNameVar)):Nn.includes(p[0])&&(p[0]=`$${p[0]}`),p.join(".")}_parserMethodExpression(e){const{exprs:n,ctx:r}=e,{column:a,line:c}=r.start,f=`${c}_${a}`,p=this._isInFunc?`posStr + "_${f}"`:`"export_${this._libTitle}_${f}"`,E=n.map(b=>this._parserMethodElement(b,p));return E.length===1&&[...wl,Ui.library].some(b=>E[0].startsWith(`${this._prefixNameFunc}.${b}`))?"":E.join(".")}_parserMethodElement(e,n){let r="",a="";const c={...e.args};if(e.hasMemberIndex&&(a=`${this._prefixNameVar}_position: ${e.position}`),e.expr&&(r=`(${this._parserSingleExpression(e.expr)})`),r=r?`${r}.${e.name}`:this._nameMap.get(e.name)||e.name,e.isBuiltIn){if(Sp.includes(r))r=`${r}.${r}`;else if(r==="max_bars_back"){const{name:p,varPos:E}=c.var||c.params[0];a=`var_name: '${E?`${p}_${E.lineNumber}_${E.column}`:p}'`}r.startsWith(z.INPUT)&&(a=`index: ${this._inputCount}`,this._inputCount++),r=`${this._prefixNameFunc}.${r}`}else{const p=r.split(".");Nn.includes(p[0])&&(p[0]=`$${p[0]}`,r=p.join("."))}if(e.selfArg){const p=r.split("."),E=p.length;Object.assign(c,{[e.selfArg.name]:{name:p.slice(0,E-1).join(".")}}),r=p[E-1],r=this._nameMap.get(r)||r}r=`${r}${e.index?`$${e.index}`:""}`;const f=this._parserArguments(c,a,n);return r+f}_parserArguments(e,n,r){const a=e.params||[];delete e.params;const c=[],f=[],p=[];for(const E of a){const b=E.ruleType===ye.Brackethesized?this._parserBrackethesized(E):this._parserSingleExpression(E);E.originName&&!["arg0, arg1, ...","number0, number1, ..."].includes(E.originName)?(c.push(`${E.originName}: ${b}`),E.isSourceType?c.push(`sourceTypeName: '${E.name}'`):E.type===`${z.SERIES} ${z.COLOR}`&&p.push(`'${E.originName}'`)):f.push(b)}for(const E of Object.keys(e)){const b=e[E],T=b.ruleType===ye.Brackethesized?this._parserBrackethesized(b):this._parserSingleExpression(b);c.push(`${E}: ${T}`),b.type===`${z.SERIES} ${z.COLOR}`&&p.push(`'${E}'`)}return p.length&&c.push(`seriesColors: [${p.join(",")}]`),n&&c.push(n),f.length?`({${c.join(", ")}}, [${f.join(", ")}], ${r})`:c.length?`({${c.join(", ")}}, ${r})`:`(${r})`}_parserBrackethesized(e){return`[${e.exprs.map(r=>this._parserSingleExpression(r)).join(", ")}]`}_functionalProcess(e){return`(function () {
197
- let $_result=undefined;
198
- ${e}
199
- return $_result
200
- })();`}}/**
201
- * @license
202
- * Copyright 2019 Google LLC
203
- * SPDX-License-Identifier: Apache-2.0
204
- */const fd=Symbol("Comlink.proxy"),Wy=Symbol("Comlink.endpoint"),qy=Symbol("Comlink.releaseProxy"),mf=Symbol("Comlink.finalizer"),gu=Symbol("Comlink.thrown"),hd=t=>typeof t=="object"&&t!==null||typeof t=="function",Xy={canHandle:t=>hd(t)&&t[fd],serialize(t){const{port1:e,port2:n}=new MessageChannel;return yf(t,e),[n,[n]]},deserialize(t){return t.start(),Jy(t)}},Yy={canHandle:t=>hd(t)&&gu in t,serialize({value:t}){let e;return t instanceof Error?e={isError:!0,value:{message:t.message,name:t.name,stack:t.stack}}:e={isError:!1,value:t},[e,[]]},deserialize(t){throw t.isError?Object.assign(new Error(t.value.message),t.value):t.value}},pd=new Map([["proxy",Xy],["throw",Yy]]);function Zy(t,e){for(const n of t)if(e===n||n==="*"||n instanceof RegExp&&n.test(e))return!0;return!1}function yf(t,e=globalThis,n=["*"]){e.addEventListener("message",function r(a){if(!a||!a.data)return;if(!Zy(n,a.origin)){console.warn(`Invalid origin '${a.origin}' for comlink proxy`);return}const{id:c,type:f,path:p}=Object.assign({path:[]},a.data),E=(a.data.argumentList||[]).map(To);let b;try{const T=p.slice(0,-1).reduce((w,F)=>w[F],t),x=p.reduce((w,F)=>w[F],t);switch(f){case"GET":b=x;break;case"SET":T[p.slice(-1)[0]]=To(a.data.value),b=!0;break;case"APPLY":b=x.apply(T,E);break;case"CONSTRUCT":{const w=new x(...E);b=ig(w)}break;case"ENDPOINT":{const{port1:w,port2:F}=new MessageChannel;yf(t,F),b=rg(w,[w])}break;case"RELEASE":b=void 0;break;default:return}}catch(T){b={value:T,[gu]:0}}Promise.resolve(b).catch(T=>({value:T,[gu]:0})).then(T=>{const[x,w]=xu(T);e.postMessage(Object.assign(Object.assign({},x),{id:c}),w),f==="RELEASE"&&(e.removeEventListener("message",r),dd(e),mf in t&&typeof t[mf]=="function"&&t[mf]())}).catch(T=>{const[x,w]=xu({value:new TypeError("Unserializable return value"),[gu]:0});e.postMessage(Object.assign(Object.assign({},x),{id:c}),w)})}),e.start&&e.start()}function Qy(t){return t.constructor.name==="MessagePort"}function dd(t){Qy(t)&&t.close()}function Jy(t,e){return gf(t,[],e)}function vu(t){if(t)throw new Error("Proxy has been released and is not useable")}function _d(t){return Xo(t,{type:"RELEASE"}).then(()=>{dd(t)})}const bu=new WeakMap,Eu="FinalizationRegistry"in globalThis&&new FinalizationRegistry(t=>{const e=(bu.get(t)||0)-1;bu.set(t,e),e===0&&_d(t)});function eg(t,e){const n=(bu.get(e)||0)+1;bu.set(e,n),Eu&&Eu.register(t,e,t)}function tg(t){Eu&&Eu.unregister(t)}function gf(t,e=[],n=function(){}){let r=!1;const a=new Proxy(n,{get(c,f){if(vu(r),f===qy)return()=>{tg(a),_d(t),r=!0};if(f==="then"){if(e.length===0)return{then:()=>a};const p=Xo(t,{type:"GET",path:e.map(E=>E.toString())}).then(To);return p.then.bind(p)}return gf(t,[...e,f])},set(c,f,p){vu(r);const[E,b]=xu(p);return Xo(t,{type:"SET",path:[...e,f].map(T=>T.toString()),value:E},b).then(To)},apply(c,f,p){vu(r);const E=e[e.length-1];if(E===Wy)return Xo(t,{type:"ENDPOINT"}).then(To);if(E==="bind")return gf(t,e.slice(0,-1));const[b,T]=md(p);return Xo(t,{type:"APPLY",path:e.map(x=>x.toString()),argumentList:b},T).then(To)},construct(c,f){vu(r);const[p,E]=md(f);return Xo(t,{type:"CONSTRUCT",path:e.map(b=>b.toString()),argumentList:p},E).then(To)}});return eg(a,t),a}function ng(t){return Array.prototype.concat.apply([],t)}function md(t){const e=t.map(xu);return[e.map(n=>n[0]),ng(e.map(n=>n[1]))]}const yd=new WeakMap;function rg(t,e){return yd.set(t,e),t}function ig(t){return Object.assign(t,{[fd]:!0})}function xu(t){for(const[e,n]of pd)if(n.canHandle(t)){const[r,a]=n.serialize(t);return[{type:"HANDLER",name:e,value:r},a]}return[{type:"RAW",value:t},yd.get(t)||[]]}function To(t){switch(t.type){case"HANDLER":return pd.get(t.name).deserialize(t.value);case"RAW":return t.value}}function Xo(t,e,n){return new Promise(r=>{const a=og();t.addEventListener("message",function c(f){!f.data||!f.data.id||f.data.id!==a||(t.removeEventListener("message",c),r(f.data))}),t.start&&t.start(),t.postMessage(Object.assign({id:a},e),n)})}function og(){return new Array(4).fill(0).map(()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16)).join("-")}function Yo(t){return t.split("")}function vf(t,e){return e.includes(t)}class ag extends Error{constructor(e,n){super(),this.name="DefaultsError",this.message=e,this.defs=n}}function xi(t,e,n){t===!0?t={}:t!=null&&typeof t=="object"&&(t={...t});const r=t||{};if(n){for(const a in r)if(sr(r,a)&&!sr(e,a))throw new ag("`"+a+"` is not a supported option",e)}for(const a in e)if(sr(e,a))if(!t||!sr(t,a))r[a]=e[a];else if(a==="ecma"){let c=t[a]|0;c>5&&c<2015&&(c+=2009),r[a]=c}else r[a]=t&&sr(t,a)?t[a]:e[a];return r}function Er(){}function Ot(){return!1}function ar(){return!0}function Ao(){return this}function co(){return null}var tn=function(){function t(n,r,a=!0){const c=[];for(let f=0;f<n.length;++f){let E=n[f].transform(r,a);E instanceof Oe?c.push(E):E instanceof e&&c.push(...E.v)}return c}t.splice=function(n){return new e(n)},t.skip={};function e(n){this.v=n}return t}();function V(t,e,n){return n||(n={}),e&&(n.start||(n.start=e.start),n.end||(n.end=e.end)),new t(n)}function Co(t,e){t.includes(e)||t.push(e)}function Su(t,e){return t.replace(/{(.+?)}/g,function(n,r){return e&&e[r]})}function Zo(t,e){for(var n=t.length;--n>=0;)t[n]===e&&t.splice(n,1)}function gd(t,e){if(t.length<2)return t.slice();function n(a,c){for(var f=[],p=0,E=0,b=0;p<a.length&&E<c.length;)e(a[p],c[E])<=0?f[b++]=a[p++]:f[b++]=c[E++];return p<a.length&&f.push.apply(f,a.slice(p)),E<c.length&&f.push.apply(f,c.slice(E)),f}function r(a){if(a.length<=1)return a;var c=Math.floor(a.length/2),f=a.slice(0,c),p=a.slice(c);return f=r(f),p=r(p),n(f,p)}return r(t)}function Bt(t){return Array.isArray(t)||(t=t.split(" ")),new Set(t.sort())}function Tu(t,e,n){t.has(e)?t.get(e).push(n):t.set(e,[n])}function sg(t){var e=new Map;for(var n in t)sr(t,n)&&n.charAt(0)==="$"&&e.set(n.substr(1),t[n]);return e}function ug(t){var e=Object.create(null);return t.forEach(function(n,r){e["$"+r]=n}),e}function sr(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Qo(t,e){return t===!0||t instanceof RegExp&&t.test(e)}var cg={"\0":"0","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function Au(t){return t.replace(/[\0\n\r\u2028\u2029]/g,function(e,n){var r=t[n-1]=="\\"&&(t[n-2]!="\\"||/(?:^|[^\\])(?:\\{2})*$/.test(t.slice(0,n-1)));return(r?"":"\\")+cg[e]})}const lg=/^[\\/|\0\s\w^$.[\]()]*$/,vd=t=>lg.test(t),fg="dgimsuyv";function hg(t){const e=new Set(t.split(""));let n="";for(const r of fg)e.has(r)&&(n+=r,e.delete(r));return e.size&&e.forEach(r=>{n+=r}),n}function pr(t,e){return t._annotations&e}function ps(t,e){t._annotations|=e}function bd(t,e){t._annotations&=~e}var Cu="",ds=new Map,Du="break case catch class const continue debugger default delete do else export extends finally for function if in instanceof let new return switch throw try typeof var void while with",ku="false null true",_s="enum import super this "+ku+" "+Du,lo="implements interface package private protected public static "+_s,bf="return new delete throw else case yield await";Du=Bt(Du),_s=Bt(_s),bf=Bt(bf),ku=Bt(ku),lo=Bt(lo);var pg=Bt(Yo("+-*&%=<>!?|~^")),dg=/[0-9a-f]/i,Ed=/^0x[0-9a-f]+$/i,xd=/^0[0-7]+$/,_g=/^0o[0-7]+$/i,mg=/^0b[01]+$/i,yg=/^\d*\.?\d*(?:e[+-]?\d*(?:\d\.?|\.?\d)\d*)?$/i,gg=/^(0[xob])?[0-9a-f]+n$/i,Sd=Bt(["in","instanceof","typeof","new","void","delete","++","--","+","-","!","~","&","|","^","*","**","/","%",">>","<<",">>>","<",">","<=",">=","==","===","!=","!==","?","=","+=","-=","||=","&&=","??=","/=","*=","**=","%=",">>=","<<=",">>>=","|=","^=","&=","&&","??","||"]),vg=Bt(Yo(`  
205
- \r \f\v​           \u2028\u2029   \uFEFF`)),Ef=Bt(Yo(`
206
- \r\u2028\u2029`)),bg=Bt(Yo(";]),:")),Eg=Bt(Yo("[{(,;:")),xg=Bt(Yo("[]{}(),;:")),Ou={ID_Start:/[$A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,ID_Continue:/(?:[$0-9A-Z_a-z\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF])+/};function wu(t,e){if(Ru(t.charCodeAt(e))){if(xf(t.charCodeAt(e+1)))return t.charAt(e)+t.charAt(e+1)}else if(xf(t.charCodeAt(e))&&Ru(t.charCodeAt(e-1)))return t.charAt(e-1)+t.charAt(e);return t.charAt(e)}function Sg(t,e){return Ru(t.charCodeAt(e))?65536+(t.charCodeAt(e)-55296<<10)+t.charCodeAt(e+1)-56320:t.charCodeAt(e)}function Tg(t){for(var e=0,n=0;n<t.length;n++)Ru(t.charCodeAt(n))&&xf(t.charCodeAt(n+1))&&(e++,n++);return t.length-e}function Ag(t){return t>65535?(t-=65536,String.fromCharCode((t>>10)+55296)+String.fromCharCode(t%1024+56320)):String.fromCharCode(t)}function Ru(t){return t>=55296&&t<=56319}function xf(t){return t>=56320&&t<=57343}function Td(t){return t>=48&&t<=57}function Sf(t){return Ou.ID_Start.test(t)}function Fu(t){return Ou.ID_Continue.test(t)}const Ad=/^[a-z_$][a-z0-9_$]*$/i;function Nu(t){return Ad.test(t)}function Cd(t,e){if(Ad.test(t))return!0;if(!e&&/[\ud800-\udfff]/.test(t))return!1;var n=Ou.ID_Start.exec(t);return!n||n.index!==0?!1:(t=t.slice(n[0].length),t?(n=Ou.ID_Continue.exec(t),!!n&&n[0].length===t.length):!0)}function Dd(t,e=!0){if(!e&&t.includes("e"))return NaN;if(Ed.test(t))return parseInt(t.substr(2),16);if(xd.test(t))return parseInt(t.substr(1),8);if(_g.test(t))return parseInt(t.substr(2),8);if(mg.test(t))return parseInt(t.substr(2),2);if(yg.test(t))return parseFloat(t);var n=parseFloat(t);if(n==t)return n}class kd extends Error{constructor(e,n,r,a,c){super(),this.name="SyntaxError",this.message=e,this.filename=n,this.line=r,this.col=a,this.pos=c}}function Iu(t,e,n,r,a){throw new kd(t,e,n,r,a)}function dr(t,e,n){return t.type==e&&(n==null||t.value==n)}var Tf={};function Cg(t,e,n,r){var a={text:t,filename:e,pos:0,tokpos:0,line:1,tokline:0,col:0,tokcol:0,newline_before:!1,regex_allowed:!1,brace_counter:0,template_braces:[],comments_before:[],directives:{},directive_stack:[]};function c(){return wu(a.text,a.pos)}function f(){if(!(a.text.charCodeAt(a.pos+1)===46))return!1;const J=a.text.charCodeAt(a.pos+2);return J<48||J>57}function p(Z,J){var te=wu(a.text,a.pos++);if(Z&&!te)throw Tf;return Ef.has(te)?(a.newline_before=a.newline_before||!J,++a.line,a.col=0,te=="\r"&&c()==`
207
- `&&(++a.pos,te=`
208
- `)):(te.length>1&&(++a.pos,++a.col),++a.col),te}function E(Z){for(;Z--;)p()}function b(Z){return a.text.substr(a.pos,Z.length)==Z}function T(){for(var Z=a.text,J=a.pos,te=a.text.length;J<te;++J){var ve=Z[J];if(Ef.has(ve))return J}return-1}function x(Z,J){var te=a.text.indexOf(Z,a.pos);if(J&&te==-1)throw Tf;return te}function w(){a.tokline=a.line,a.tokcol=a.col,a.tokpos=a.pos}var F=!1,R=null;function v(Z,J,te){a.regex_allowed=Z=="operator"&&!Od.has(J)||Z=="keyword"&&bf.has(J)||Z=="punc"&&Eg.has(J)||Z=="arrow",Z=="punc"&&(J=="."||J=="?.")?F=!0:te||(F=!1);const ve=a.tokline,me=a.tokcol,Ze=a.tokpos,Ve=a.newline_before,ht=e;let wt=[],yt=[];te||(wt=a.comments_before,yt=a.comments_before=[]),a.newline_before=!1;const St=new Af(Z,J,ve,me,Ze,Ve,wt,yt,ht);return te||(R=St),St}function d(){for(;vg.has(c());)p()}function g(Z){for(var J="",te,ve=0;(te=c())&&Z(te,ve++);)J+=p();return J}function A(Z){Iu(Z,e,a.tokline,a.tokcol,a.tokpos)}function O(Z){var J=!1,te=!1,ve=!1,me=Z==".",Ze=!1,Ve=!1,ht=g(function(yt,St){if(Ze)return!1;var Ct=yt.charCodeAt(0);switch(Ct){case 95:return Ve=!0;case 98:case 66:return ve=!0;case 111:case 79:case 120:case 88:return ve?!1:ve=!0;case 101:case 69:return ve?!0:J?!1:J=te=!0;case 45:return te||St==0&&!Z;case 43:return te;case(te=!1,46):return!me&&!ve&&!J?me=!0:!1}return yt==="n"?(Ze=!0,!0):dg.test(yt)});if(Z&&(ht=Z+ht),Cu=ht,xd.test(ht)&&oe.has_directive("use strict")&&A("Legacy octal literals are not allowed in strict mode"),Ve&&(ht.endsWith("_")?A("Numeric separators are not allowed at the end of numeric literals"):ht.includes("__")&&A("Only one underscore is allowed as numeric separator"),ht=ht.replace(/_/g,"")),ht.endsWith("n")){const yt=ht.slice(0,-1),St=Ed.test(yt),Ct=Dd(yt,St);if(!me&&gg.test(ht)&&!isNaN(Ct))return v("big_int",yt);A("Invalid or unexpected token")}var wt=Dd(ht);if(isNaN(wt))A("Invalid syntax: "+ht);else return v("num",wt)}function D(Z){return Z>="0"&&Z<="7"}function P(Z,J,te){var ve=p(!0,Z);switch(ve.charCodeAt(0)){case 110:return`
209
- `;case 114:return"\r";case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 120:return String.fromCharCode(H(2,J));case 117:if(c()=="{"){for(p(!0),c()==="}"&&A("Expecting hex-character between {}");c()=="0";)p(!0);var me,Ze=x("}",!0)-a.pos;return(Ze>6||(me=H(Ze,J))>1114111)&&A("Unicode reference out of bounds"),p(!0),Ag(me)}return String.fromCharCode(H(4,J));case 10:return"";case 13:if(c()==`
210
- `)return p(!0,Z),""}return D(ve)?(te&&J&&(ve==="0"&&!D(c())||A("Octal escape sequences are not allowed in template strings")),U(ve,J)):ve}function U(Z,J){var te=c();return te>="0"&&te<="7"&&(Z+=p(!0),Z[0]<="3"&&(te=c())>="0"&&te<="7"&&(Z+=p(!0))),Z==="0"?"\0":(Z.length>0&&oe.has_directive("use strict")&&J&&A("Legacy octal escape sequences are not allowed in strict mode"),String.fromCharCode(parseInt(Z,8)))}function H(Z,J){for(var te=0;Z>0;--Z){if(!J&&isNaN(parseInt(c(),16)))return parseInt(te,16)||"";var ve=p(!0);isNaN(parseInt(ve,16))&&A("Invalid hex-character pattern in string"),te+=ve}return parseInt(te,16)}var B=_e("Unterminated string constant",function(){const Z=a.pos;for(var J=p(),te=[];;){var ve=p(!0,!0);if(ve=="\\")ve=P(!0,!0);else if(ve=="\r"||ve==`
211
- `)A("Unterminated string constant");else if(ve==J)break;te.push(ve)}var me=v("string",te.join(""));return Cu=a.text.slice(Z,a.pos),me.quote=J,me}),G=_e("Unterminated template",function(Z){Z&&a.template_braces.push(a.brace_counter);var J="",te="",ve,me;for(p(!0,!0);(ve=p(!0,!0))!="`";){if(ve=="\r")c()==`
212
- `&&++a.pos,ve=`
213
- `;else if(ve=="$"&&c()=="{")return p(!0,!0),a.brace_counter++,me=v(Z?"template_head":"template_substitution",J),ds.set(me,te),me.template_end=!1,me;if(te+=ve,ve=="\\"){var Ze=a.pos,Ve=R&&(R.type==="name"||R.type==="punc"&&(R.value===")"||R.value==="]"));ve=P(!0,!Ve,!0),te+=a.text.substr(Ze,a.pos-Ze)}J+=ve}return a.template_braces.pop(),me=v(Z?"template_head":"template_substitution",J),ds.set(me,te),me.template_end=!0,me});function N(Z){var J=a.regex_allowed,te=T(),ve;return te==-1?(ve=a.text.substr(a.pos),a.pos=a.text.length):(ve=a.text.substring(a.pos,te),a.pos=te),a.col=a.tokcol+(a.pos-a.tokpos),a.comments_before.push(v(Z,ve,!0)),a.regex_allowed=J,oe}var K=_e("Unterminated multiline comment",function(){var Z=a.regex_allowed,J=x("*/",!0),te=a.text.substring(a.pos,J).replace(/\r\n|\r|\u2028|\u2029/g,`
214
- `);return E(Tg(te)+2),a.comments_before.push(v("comment2",te,!0)),a.newline_before=a.newline_before||te.includes(`
215
- `),a.regex_allowed=Z,oe}),Y=_e("Unterminated identifier name",function(){var Z=[],J,te=!1,ve=function(){return te=!0,p(),c()!=="u"&&A("Expecting UnicodeEscapeSequence -- uXXXX or u{XXXX}"),P(!1,!0)};if((J=c())==="\\")J=ve(),Sf(J)||A("First identifier char is an invalid identifier char");else if(Sf(J))p();else return"";for(Z.push(J);(J=c())!=null;){if((J=c())==="\\")J=ve(),Fu(J)||A("Invalid escaped identifier char");else{if(!Fu(J))break;p()}Z.push(J)}const me=Z.join("");return _s.has(me)&&te&&A("Escaped characters are not allowed in keywords"),me}),ne=_e("Unterminated regular expression",function(Z){for(var J=!1,te,ve=!1;te=p(!0);)if(Ef.has(te))A("Unexpected line terminator");else if(J)/^[\u0000-\u007F]$/.test(te)?Z+="\\"+te:Z+=te,J=!1;else if(te=="[")ve=!0,Z+=te;else if(te=="]"&&ve)ve=!1,Z+=te;else{if(te=="/"&&!ve)break;te=="\\"?J=!0:Z+=te}const me=Y();return v("regexp","/"+Z+"/"+me)});function se(Z){function J(te){if(!c())return te;var ve=te+c();return Sd.has(ve)?(p(),J(ve)):te}return v("operator",J(Z||p()))}function re(){switch(p(),c()){case"/":return p(),N("comment1");case"*":return p(),K()}return a.regex_allowed?ne(""):se("/")}function ue(){return p(),c()===">"?(p(),v("arrow","=>")):se("=")}function ce(){return p(),Td(c().charCodeAt(0))?O("."):c()==="."?(p(),p(),v("expand","...")):v("punc",".")}function Ee(){var Z=Y();return F?v("name",Z):ku.has(Z)?v("atom",Z):Du.has(Z)?Sd.has(Z)?v("operator",Z):v("keyword",Z):v("name",Z)}function Te(){return p(),v("privatename",Y())}function _e(Z,J){return function(te){try{return J(te)}catch(ve){if(ve===Tf)A(Z);else throw ve}}}function oe(Z){if(Z!=null)return ne(Z);for(r&&a.pos==0&&b("#!")&&(w(),E(2),N("comment5"));;){if(d(),w(),n){if(b("<!--")){E(4),N("comment3");continue}if(b("-->")&&a.newline_before){E(3),N("comment4");continue}}var J=c();if(!J)return v("eof");var te=J.charCodeAt(0);switch(te){case 34:case 39:return B();case 46:return ce();case 47:{var ve=re();if(ve===oe)continue;return ve}case 61:return ue();case 63:{if(!f())break;return p(),p(),v("punc","?.")}case 96:return G(!0);case 123:a.brace_counter++;break;case 125:if(a.brace_counter--,a.template_braces.length>0&&a.template_braces[a.template_braces.length-1]===a.brace_counter)return G(!1);break}if(Td(te))return O();if(xg.has(J))return v("punc",p());if(pg.has(J))return se();if(te==92||Sf(J))return Ee();if(te==35)return Te();break}A("Unexpected character '"+J+"'")}return oe.next=p,oe.peek=c,oe.context=function(Z){return Z&&(a=Z),a},oe.add_directive=function(Z){a.directive_stack[a.directive_stack.length-1].push(Z),a.directives[Z]===void 0?a.directives[Z]=1:a.directives[Z]++},oe.push_directives_stack=function(){a.directive_stack.push([])},oe.pop_directives_stack=function(){for(var Z=a.directive_stack[a.directive_stack.length-1],J=0;J<Z.length;J++)a.directives[Z[J]]--;a.directive_stack.pop()},oe.has_directive=function(Z){return a.directives[Z]>0},oe}var Dg=Bt(["typeof","void","delete","--","++","!","~","-","+"]),Od=Bt(["--","++"]),kg=Bt(["=","+=","-=","??=","&&=","||=","/=","*=","**=","%=",">>=","<<=",">>>=","|=","^=","&="]),Og=Bt(["??=","&&=","||="]),Pr=function(t,e){for(var n=0;n<t.length;++n)for(const r of t[n])e[r]=n+1;return e}([["||"],["??"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]],{}),wg=Bt(["atom","num","big_int","string","regexp","name"]);function ms(t,e){const n=new WeakMap;e=xi(e,{bare_returns:!1,ecma:null,expression:!1,filename:null,html5_comments:!0,module:!1,shebang:!0,strict:!1,toplevel:null},!0);var r={input:typeof t=="string"?Cg(t,e.filename,e.html5_comments,e.shebang):t,token:null,prev:null,peeked:null,in_function:0,in_async:-1,in_generator:-1,in_directives:!0,in_loop:0,labels:[]};r.token=f();function a(L,q){return dr(r.token,L,q)}function c(){return r.peeked||(r.peeked=r.input())}function f(){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 p(){return r.prev}function E(L,q,ee,ae){var he=r.input.context();Iu(L,he.filename,q??he.tokline,ee??he.tokcol,ae??he.tokpos)}function b(L,q){E(q,L.line,L.col)}function T(L){L==null&&(L=r.token),b(L,"Unexpected token: "+L.type+" ("+L.value+")")}function x(L,q){if(a(L,q))return f();b(r.token,"Unexpected token "+r.token.type+" «"+r.token.value+"», expected "+L+" «"+q+"»")}function w(L){return x("punc",L)}function F(L){return L.nlb||!L.comments_before.every(q=>!q.nlb)}function R(){return!e.strict&&(a("eof")||a("punc","}")||F(r.token))}function v(){return r.in_generator===r.in_function}function d(){return r.in_async===r.in_function}function g(){return r.in_async===r.in_function||r.in_function===0&&r.input.has_directive("use strict")}function A(L){a("punc",";")?f():!L&&!R()&&T()}function O(){w("(");var L=dt(!0);return w(")"),L}function D(L){return function(...ee){const ae=r.token,he=L(...ee);return he.start=ae,he.end=p(),he}}function P(){(a("operator","/")||a("operator","/="))&&(r.peeked=null,r.token=r.input(r.token.value.substr(1)))}var U=D(function L(q,ee,ae){switch(P(),r.token.type){case"string":if(r.in_directives){var he=c();!Cu.includes("\\")&&(dr(he,"punc",";")||dr(he,"punc","}")||F(he)||dr(he,"eof"))?r.input.add_directive(r.token.value):r.in_directives=!1}var Le=r.in_directives,Be=B();return Le&&Be.body instanceof bt?new ur(Be.body):Be;case"template_head":case"num":case"big_int":case"regexp":case"operator":case"atom":return B();case"name":case"privatename":if(a("privatename")&&!r.in_class&&E("Private field must be used in an enclosing class"),r.token.value=="async"&&dr(c(),"keyword","function"))return f(),f(),ee&&E("functions are not allowed as the body of a loop"),re(sn,!1,!0,q);if(r.token.value=="import"&&!dr(c(),"punc","(")&&!dr(c(),"punc",".")){f();var at=nn();return A(),at}return dr(c(),"punc",":")?H():B();case"punc":switch(r.token.value){case"{":return new tt({start:r.token,body:ve(),end:p()});case"[":case"(":return B();case";":return r.in_directives=!1,f(),new Ut;default:T()}case"keyword":switch(r.token.value){case"break":return f(),G(Br);case"continue":return f(),G(fo);case"debugger":return f(),A(),new ji;case"do":f();var Xt=er(L);x("keyword","while");var hn=O();return A(!0),new Si({body:Xt,condition:hn});case"while":return f(),new $i({condition:O(),body:er(function(){return L(!1,!0)})});case"for":return f(),N();case"class":return f(),ee&&E("classes are not allowed as the body of a loop"),ae&&E("classes are not allowed as the body of an if"),Dt(Jr,q);case"function":return f(),ee&&E("functions are not allowed as the body of a loop"),re(sn,!1,!1,q);case"if":return f(),te();case"return":r.in_function==0&&!e.bare_returns&&E("'return' outside of function"),f();var An=null;return a("punc",";")?f():R()||(An=dt(!0),A()),new pn({value:An});case"switch":return f(),new Qn({expression:O(),body:er(me)});case"throw":f(),F(r.token)&&E("Illegal newline after 'throw'");var An=dt(!0);return A(),new gs({value:An});case"try":return f(),Ze();case"var":f();var at=ht();return A(),at;case"let":f();var at=wt();return A(),at;case"const":f();var at=yt();return A(),at;case"with":return r.input.has_directive("use strict")&&E("Strict mode may not include a with statement"),f(),new xr({expression:O(),body:L()});case"export":if(!dr(c(),"punc","(")){f();var at=Pe();return a("punc",";")&&A(),at}}}T()});function H(){var L=gn(vs);L.name==="await"&&d()&&b(r.prev,"await cannot be used as label inside async function"),r.labels.some(ee=>ee.name===L.name)&&E("Label "+L.name+" defined twice"),w(":"),r.labels.push(L);var q=U();return r.labels.pop(),q instanceof Xr||L.references.forEach(function(ee){ee instanceof fo&&(ee=ee.label.start,E("Continue label `"+L.name+"` refers to non-IterationStatement.",ee.line,ee.col,ee.pos))}),new rr({body:q,label:L})}function B(L){return new He({body:(L=dt(!0),A(),L)})}function G(L){var q=null,ee;R()||(q=gn(Df,!0)),q!=null?(ee=r.labels.find(he=>he.name===q.name),ee||E("Undefined label "+q.name),q.thedef=ee):r.in_loop==0&&E(L.TYPE+" not inside a loop or switch"),A();var ae=new L({label:q});return ee&&ee.references.push(ae),ae}function N(){var L="`for await` invalid in this context",q=r.token;q.type=="name"&&q.value=="await"?(g()||b(q,L),f()):q=!1,w("(");var ee=null;if(a("punc",";"))q&&b(q,L);else{ee=a("keyword","var")?(f(),ht(!0)):a("keyword","let")?(f(),wt(!0)):a("keyword","const")?(f(),yt(!0)):dt(!0,!0);var ae=a("operator","in"),he=a("name","of");if(q&&!he&&b(q,L),ae||he)return ee instanceof dn?ee.definitions.length>1&&b(ee.start,"Only one variable declaration allowed in for..in loop"):gi(ee)||(ee=fr(ee))instanceof qt||b(ee.start,"Invalid left-hand side in for..in loop"),f(),ae?ne(ee):Y(ee,!!q)}return K(ee)}function K(L){w(";");var q=a("punc",";")?null:dt(!0);w(";");var ee=a("punc",")")?null:dt(!0);return w(")"),new Dn({init:L,condition:q,step:ee,body:er(function(){return U(!1,!0)})})}function Y(L,q){var ee=L instanceof dn?L.definitions[0].name:null,ae=dt(!0);return w(")"),new Oo({await:q,init:L,name:ee,object:ae,body:er(function(){return U(!1,!0)})})}function ne(L){var q=dt(!0);return w(")"),new Yn({init:L,object:q,body:er(function(){return U(!1,!0)})})}var se=function(L,q,ee){F(r.token)&&E("Unexpected newline before arrow (=>)"),x("arrow","=>");var ae=oe(a("punc","{"),!1,ee),he=ae instanceof Array&&ae.length?ae[ae.length-1].end:ae instanceof Array?L:ae.end;return new on({start:L,end:he,async:ee,argnames:q,body:ae})},re=function(L,q,ee,ae){var he=L===sn,Le=a("operator","*");Le&&f();var Be=a("name")?gn(he?Oi:hi):null;he&&!Be&&(ae?L=Gt:T()),Be&&L!==Hi&&!(Be instanceof Bn)&&T(p());var at=[],Xt=oe(!0,Le||q,ee,Be,at);return new L({start:at.start,end:Xt.end,is_generator:Le,async:ee,name:Be,argnames:at,body:Xt})};class ue{constructor(q,ee,ae=!1){this.is_parameter=q,this.duplicates_ok=ae,this.parameters=new Set,this.duplicate=null,this.default_assignment=!1,this.spread=!1,this.strict_mode=!!ee}add_parameter(q){if(this.parameters.has(q.value))this.duplicate===null&&(this.duplicate=q),this.check_strict();else if(this.parameters.add(q.value),this.is_parameter)switch(q.value){case"arguments":case"eval":case"yield":this.strict_mode&&b(q,"Unexpected "+q.value+" identifier as parameter inside strict mode");break;default:_s.has(q.value)&&T()}}mark_default_assignment(q){this.default_assignment===!1&&(this.default_assignment=q)}mark_spread(q){this.spread===!1&&(this.spread=q)}mark_strict_mode(){this.strict_mode=!0}is_strict(){return this.default_assignment!==!1||this.spread!==!1||this.strict_mode}check_strict(){this.is_strict()&&this.duplicate!==null&&!this.duplicates_ok&&b(this.duplicate,"Parameter "+this.duplicate.value+" was used already")}}function ce(L){var q=new ue(!0,r.input.has_directive("use strict"));for(w("(");!a("punc",")");){var ee=Ee(q);if(L.push(ee),a("punc",")")||w(","),ee instanceof gt)break}f()}function Ee(L,q){var ee,ae=!1;return L===void 0&&(L=new ue(!0,r.input.has_directive("use strict"))),a("expand","...")&&(ae=r.token,L.mark_spread(r.token),f()),ee=Te(L,q),a("operator","=")&&ae===!1&&(L.mark_default_assignment(r.token),f(),ee=new Mr({start:ee.start,left:ee,operator:"=",right:dt(!1),end:r.token})),ae!==!1&&(a("punc",")")||T(),ee=new gt({start:ae,expression:ee,end:ae})),L.check_strict(),ee}function Te(L,q){var ee=[],ae=!0,he=!1,Le,Be=r.token;if(L===void 0){const Gr=r.input.has_directive("use strict"),zt=q===Wi;L=new ue(!1,Gr,zt)}if(q=q===void 0?Ln:q,a("punc","[")){for(f();!a("punc","]");){if(ae?ae=!1:w(","),a("expand","...")&&(he=!0,Le=r.token,L.mark_spread(r.token),f()),a("punc"))switch(r.token.value){case",":ee.push(new Ur({start:r.token,end:r.token}));continue;case"]":break;case"[":case"{":ee.push(Te(L,q));break;default:T()}else a("name")?(L.add_parameter(r.token),ee.push(gn(q))):E("Invalid function parameter");a("operator","=")&&he===!1&&(L.mark_default_assignment(r.token),f(),ee[ee.length-1]=new Mr({start:ee[ee.length-1].start,left:ee[ee.length-1],operator:"=",right:dt(!1),end:r.token})),he&&(a("punc","]")||E("Rest element must be last element"),ee[ee.length-1]=new gt({start:Le,expression:ee[ee.length-1],end:Le}))}return w("]"),L.check_strict(),new qt({start:Be,names:ee,is_array:!0,end:p()})}else if(a("punc","{")){for(f();!a("punc","}");){if(ae?ae=!1:w(","),a("expand","...")&&(he=!0,Le=r.token,L.mark_spread(r.token),f()),a("name")&&(dr(c(),"punc")||dr(c(),"operator"))&&[",","}","="].includes(c().value)){L.add_parameter(r.token);var at=p(),Xt=gn(q);he?ee.push(new gt({start:Le,expression:Xt,end:Xt.end})):ee.push(new an({start:at,key:Xt.name,value:Xt,end:Xt.end}))}else{if(a("punc","}"))continue;var hn=r.token,An=Qe();An===null?T(p()):p().type==="name"&&!a("punc",":")?ee.push(new an({start:p(),key:An,value:new q({start:p(),name:An,end:p()}),end:p()})):(w(":"),ee.push(new an({start:hn,quote:hn.quote,key:An,value:Te(L,q),end:p()})))}he?a("punc","}")||E("Rest element must be last element"):a("operator","=")&&(L.mark_default_assignment(r.token),f(),ee[ee.length-1].value=new Mr({start:ee[ee.length-1].value.start,left:ee[ee.length-1].value,operator:"=",right:dt(!1),end:r.token}))}return w("}"),L.check_strict(),new qt({start:Be,names:ee,is_array:!1,end:p()})}else{if(a("name"))return L.add_parameter(r.token),gn(q);E("Invalid function parameter")}}function _e(L,q){var ee,ae,he,Le=[];for(w("(");!a("punc",")");)ee&&T(ee),a("expand","...")?(ee=r.token,q&&(ae=r.token),f(),Le.push(new gt({start:p(),expression:dt(),end:r.token}))):Le.push(dt()),a("punc",")")||(w(","),a("punc",")")&&(he=p(),q&&(ae=he)));return w(")"),L&&a("arrow","=>")?ee&&he&&T(he):ae&&T(ae),Le}function oe(L,q,ee,ae,he){var Le=r.in_loop,Be=r.labels,at=r.in_generator,Xt=r.in_async;if(++r.in_function,q&&(r.in_generator=r.in_function),ee&&(r.in_async=r.in_function),he&&ce(he),L&&(r.in_directives=!0),r.in_loop=0,r.labels=[],L){r.input.push_directives_stack();var hn=ve();ae&&fn(ae),he&&he.forEach(fn),r.input.pop_directives_stack()}else var hn=[new pn({start:r.token,value:dt(!1),end:r.token})];return--r.in_function,r.in_loop=Le,r.labels=Be,r.in_generator=at,r.in_async=Xt,hn}function Z(){return g()||E("Unexpected await expression outside async function",r.prev.line,r.prev.col,r.prev.pos),new Sr({start:p(),end:r.token,expression:$r(!0)})}function J(){v()||E("Unexpected yield expression outside generator function",r.prev.line,r.prev.col,r.prev.pos);var L=r.token,q=!1,ee=!0;return R()||a("punc")&&bg.has(r.token.value)?ee=!1:a("operator","*")&&(q=!0,f()),new Tr({start:L,is_star:q,expression:ee?dt():null,end:p()})}function te(){var L=O(),q=U(!1,!1,!0),ee=null;return a("keyword","else")&&(f(),ee=U(!1,!1,!0)),new Vt({condition:L,body:q,alternative:ee})}function ve(){w("{");for(var L=[];!a("punc","}");)a("eof")&&T(),L.push(U());return f(),L}function me(){w("{");for(var L=[],q=null,ee=null,ae;!a("punc","}");)a("eof")&&T(),a("keyword","case")?(ee&&(ee.end=p()),q=[],ee=new ii({start:(ae=r.token,f(),ae),expression:dt(!0),body:q}),L.push(ee),w(":")):a("keyword","default")?(ee&&(ee.end=p()),q=[],ee=new wo({start:(ae=r.token,f(),w(":"),ae),body:q}),L.push(ee)):(q||T(),q.push(U()));return ee&&(ee.end=p()),f(),L}function Ze(){var L,q=null,ee=null;if(L=new Mu({start:r.token,body:ve(),end:p()}),a("keyword","catch")){var ae=r.token;if(f(),a("punc","{"))var he=null;else{w("(");var he=Ee(void 0,ei);w(")")}q=new oi({start:ae,argname:he,body:ve(),end:p()})}if(a("keyword","finally")){var ae=r.token;f(),ee=new Jo({start:ae,body:ve(),end:p()})}return!q&&!ee&&E("Missing catch/finally blocks"),new Ar({body:L,bcatch:q,bfinally:ee})}function Ve(L,q){for(var ee=[],ae;;){var he=q==="var"?Wi:q==="const"?ho:q==="let"?ta:null;if(a("punc","{")||a("punc","[")?ae=new Kt({start:r.token,name:Te(void 0,he),value:a("operator","=")?(x("operator","="),dt(!1,L)):null,end:p()}):(ae=new Kt({start:r.token,name:gn(he),value:a("operator","=")?(f(),dt(!1,L)):!L&&q==="const"?E("Missing initializer in const declaration"):null,end:p()}),ae.name.name=="import"&&E("Unexpected token: import")),ee.push(ae),!a("punc",","))break;f()}return ee}var ht=function(L){return new Pn({start:p(),definitions:Ve(L,"var"),end:p()})},wt=function(L){return new ai({start:p(),definitions:Ve(L,"let"),end:p()})},yt=function(L){return new si({start:p(),definitions:Ve(L,"const"),end:p()})},St=function(L){var q=r.token;if(x("operator","new"),a("punc","."))return f(),x("name","target"),rn(new ea({start:q,end:p()}),L);var ee=we(!1),ae;a("punc","(")?(f(),ae=pt(")",!0)):ae=[];var he=new cr({start:q,expression:ee,args:ae,end:p()});return On(he),rn(he,L)};function Ct(){var L=r.token,q;switch(L.type){case"name":q=ft(ke);break;case"num":q=new nt({start:L,end:L,value:L.value,raw:Cu});break;case"big_int":q=new pi({start:L,end:L,value:L.value});break;case"string":q=new bt({start:L,end:L,value:L.value,quote:L.quote}),On(q);break;case"regexp":const[ee,ae,he]=L.value.match(/^\/(.*)\/(\w*)$/);q=new yr({start:L,end:L,value:{source:ae,flags:he}});break;case"atom":switch(L.value){case"false":q=new Yi({start:L,end:L});break;case"true":q=new Cr({start:L,end:L});break;case"null":q=new gr({start:L,end:L});break}break}return f(),q}function le(L,q){var ee=function(ae,he){return he?new Mr({start:ae.start,left:ae,operator:"=",right:he,end:he.end}):ae};if(L instanceof jt)return ee(new qt({start:L.start,end:L.end,is_array:!1,names:L.properties.map(ae=>le(ae))}),q);if(L instanceof an)return L.value=le(L.value),ee(L,q);if(L instanceof Ur)return L;if(L instanceof qt)return L.names=L.names.map(ae=>le(ae)),ee(L,q);if(L instanceof ke)return ee(new Ln({name:L.name,start:L.start,end:L.end}),q);if(L instanceof gt)return L.expression=le(L.expression),ee(L,q);if(L instanceof Ft)return ee(new qt({start:L.start,end:L.end,is_array:!0,names:L.elements.map(ae=>le(ae))}),q);if(L instanceof lt)return ee(le(L.left,L.right),q);if(L instanceof Mr)return L.left=le(L.left),L;E("Invalid function parameter",L.start.line,L.start.col)}var we=function(L,q){if(a("operator","new"))return St(L);if(a("name","import")&&dr(c(),"punc","."))return ir(L);var ee=r.token,ae,he=a("name","async")&&(ae=c()).value!="["&&ae.type!="arrow"&&Ct();if(a("punc")){switch(r.token.value){case"(":if(he&&!L)break;var Le=_e(q,!he);if(q&&a("arrow","=>"))return se(ee,Le.map(zt=>le(zt)),!!he);var Be=he?new $e({expression:he,args:Le}):to(ee,Le);if(Be.start){const zt=ee.comments_before.length;if(n.set(ee,zt),Be.start.comments_before.unshift(...ee.comments_before),ee.comments_before=Be.start.comments_before,zt==0&&ee.comments_before.length>0){var at=ee.comments_before[0];at.nlb||(at.nlb=ee.nlb,ee.nlb=!1)}ee.comments_after=Be.start.comments_after}Be.start=ee;var Xt=p();return Be.end&&(Xt.comments_before=Be.end.comments_before,Be.end.comments_after.push(...Xt.comments_after),Xt.comments_after=Be.end.comments_after),Be.end=Xt,Be instanceof $e&&On(Be),rn(Be,L);case"[":return rn(Et(),L);case"{":return rn(yn(),L)}he||T()}if(q&&a("name")&&dr(c(),"arrow")){var hn=new Ln({name:r.token.value,start:ee,end:ee});return f(),se(ee,[hn],!!he)}if(a("keyword","function")){f();var An=re(Gt,!1,!!he);return An.start=ee,An.end=p(),rn(An,L)}if(he)return rn(he,L);if(a("keyword","class")){f();var Gr=Dt(ki);return Gr.start=ee,Gr.end=p(),rn(Gr,L)}if(a("template_head"))return rn(be(),L);if(wg.has(r.token.type))return rn(Ct(),L);T()};function be(){var L=[],q=r.token;for(L.push(new Ti({start:r.token,raw:ds.get(r.token),value:r.token.value,end:r.token}));!r.token.template_end;)f(),P(),L.push(dt(!0)),L.push(new Ti({start:r.token,raw:ds.get(r.token),value:r.token.value,end:r.token}));return f(),new Zn({start:q,segments:L,end:r.token})}function pt(L,q,ee){for(var ae=!0,he=[];!a("punc",L)&&(ae?ae=!1:w(","),!(q&&a("punc",L)));)a("punc",",")&&ee?he.push(new Ur({start:r.token,end:r.token})):a("expand","...")?(f(),he.push(new gt({start:p(),expression:dt(),end:r.token}))):he.push(dt(!1));return f(),he}var Et=D(function(){return w("["),new Ft({elements:pt("]",!e.strict,!0)})}),Rt=D((L,q)=>re(Hi,L,q)),yn=D(function(){var q=r.token,ee=!0,ae=[];for(w("{");!a("punc","}")&&(ee?ee=!1:w(","),!(!e.strict&&a("punc","}")));){if(q=r.token,q.type=="expand"){f(),ae.push(new gt({start:q,expression:dt(!1),end:p()}));continue}a("privatename")&&E("private fields are not allowed in an object");var he=Qe(),Le;if(a("punc",":"))he===null?T(p()):(f(),Le=dt(!1));else{var Be=It(he,q);if(Be){ae.push(Be);continue}Le=new ke({start:p(),name:he,end:p()})}a("operator","=")&&(f(),Le=new lt({start:q,left:Le,operator:"=",right:dt(!1),logical:!1,end:p()}));const at=new an({start:q,quote:q.quote,key:he instanceof Oe?he:""+he,value:Le,end:p()});ae.push(On(at))}return f(),new jt({properties:ae})});function Dt(L,q){var ee,ae,he,Le,Be=[];r.input.push_directives_stack(),r.input.add_directive("use strict"),r.token.type=="name"&&r.token.value!="extends"&&(he=gn(L===Jr?Uu:Vu)),L===Jr&&!he&&(q?L=ki:T()),r.token.value=="extends"&&(f(),Le=dt(!0)),w("{");const at=r.in_class;for(r.in_class=!0;a("punc",";");)f();for(;!a("punc","}");)for(ee=r.token,ae=It(Qe(),ee,!0),ae||T(),Be.push(ae);a("punc",";");)f();return r.in_class=at,r.input.pop_directives_stack(),f(),new L({start:ee,name:he,extends:Le,properties:Be,end:p()})}function It(L,q,ee){const ae=(zt,ti=$n)=>typeof zt=="string"||typeof zt=="number"?new ti({start:q,name:""+zt,end:p()}):(zt===null&&T(),zt),he=()=>!a("punc","(")&&!a("punc",",")&&!a("punc","}")&&!a("punc",";")&&!a("operator","=");var Le=!1,Be=!1,at=!1,Xt=!1,hn=null;if(ee&&L==="static"&&he()){const zt=kt();if(zt!=null)return zt;Be=!0,L=Qe()}L==="async"&&he()&&(Le=!0,L=Qe()),p().type==="operator"&&p().value==="*"&&(at=!0,L=Qe()),(L==="get"||L==="set")&&he()&&(hn=L,L=Qe()),p().type==="privatename"&&(Xt=!0);const An=p();if(hn!=null)if(Xt){const zt=hn==="get"?ci:Ai;return On(new zt({start:q,static:Be,key:ae(L),value:Rt(),end:p()}))}else{const zt=hn==="get"?Qr:li;return L=ae(L),On(new zt({start:q,static:Be,key:L,quote:L instanceof $n?An.quote:void 0,value:Rt(),end:p()}))}if(a("punc","(")){L=ae(L);const zt=Xt?Ci:jn;var Gr=new zt({start:q,static:Be,is_generator:at,async:Le,key:L,quote:L instanceof $n?An.quote:void 0,value:Rt(at,Le),end:p()});return On(Gr)}if(ee){const zt=ae(L,Xi),ti=zt instanceof Xi?An.quote:void 0,wr=Xt?Di:mr;if(a("operator","="))return f(),On(new wr({start:q,static:Be,quote:ti,key:zt,value:dt(!1),end:p()}));if(a("name")||a("privatename")||a("operator","*")||a("punc",";")||a("punc","}"))return On(new wr({start:q,static:Be,quote:ti,key:zt,end:p()}))}}function kt(){if(!a("punc","{"))return null;const L=r.token,q=[];for(f();!a("punc","}");)q.push(U());return f(),new Jn({start:L,body:q,end:p()})}function Pt(){return a("name","assert")&&!F(r.token)?(f(),yn()):null}function nn(){var L=p(),q,ee;a("name")&&(q=gn(na)),a("punc",",")&&f(),ee=Ue(!0),(ee||q)&&x("name","from");var ae=r.token;ae.type!=="string"&&T(),f();const he=Pt();return new Lr({start:L,imported_name:q,imported_names:ee,module_name:new bt({start:ae,value:ae.value,quote:ae.quote,end:ae}),assert_clause:he,end:r.token})}function ir(L){var q=r.token;return x("name","import"),x("punc","."),x("name","meta"),rn(new Ki({start:q,end:p()}),L)}function W(L){function q(at,Xt){return new at({name:Qe(),quote:Xt||void 0,start:p(),end:p()})}var ee=L?Ro:wi,ae=L?na:Fo,he=r.token,Le,Be;return L?Le=q(ee,he.quote):Be=q(ae,he.quote),a("name","as")?(f(),L?Be=q(ae):Le=q(ee,r.token.quote)):L?Be=new ae(Le):Le=new ee(Be),new ui({start:he,foreign_name:Le,name:Be,end:p()})}function Fe(L,q){var ee=L?Ro:wi,ae=L?na:Fo,he=r.token,Le,Be,at=p();return L?Le=q:Be=q,Le=Le||new ae({start:he,name:"*",end:at}),Be=Be||new ee({start:he,name:"*",end:at}),new ui({start:he,foreign_name:Be,name:Le,end:at})}function Ue(L){var q;if(a("punc","{")){for(f(),q=[];!a("punc","}");)q.push(W(L)),a("punc",",")&&f();f()}else if(a("operator","*")){var ee;f(),a("name","as")&&(f(),ee=L?gn(na):jr(wi)),q=[Fe(L,ee)]}return q}function Pe(){var L=r.token,q,ee;if(a("keyword","default"))q=!0,f();else if(ee=Ue(!1))if(a("name","from")){f();var ae=r.token;ae.type!=="string"&&T(),f();const at=Pt();return new Rn({start:L,is_default:q,exported_names:ee,module_name:new bt({start:ae,value:ae.value,quote:ae.quote,end:ae}),end:p(),assert_clause:at})}else return new Rn({start:L,is_default:q,exported_names:ee,end:p()});var he,Le,Be;return a("punc","{")||q&&(a("keyword","class")||a("keyword","function"))&&dr(c(),"punc")?(Le=dt(!1),A()):(he=U(q))instanceof dn&&q?T(he.start):he instanceof dn||he instanceof sn||he instanceof Jr?Be=he:he instanceof ki||he instanceof Gt?Le=he:he instanceof He?Le=he.body:T(he.start),new Rn({start:L,is_default:q,exported_value:Le,exported_definition:Be,end:p(),assert_clause:null})}function Qe(){var L=r.token;switch(L.type){case"punc":if(L.value==="["){f();var q=dt(!1);return w("]"),q}else T(L);case"operator":if(L.value==="*")return f(),null;["delete","in","instanceof","new","typeof","void"].includes(L.value)||T(L);case"name":case"privatename":case"string":case"num":case"big_int":case"keyword":case"atom":return f(),L.value;default:T(L)}}function Ht(){var L=r.token;return L.type!="name"&&L.type!="privatename"&&T(),f(),L.value}function ft(L){var q=r.token.value;return new(q=="this"?Hn:q=="super"?ra:L)({name:String(q),start:r.token,end:r.token})}function fn(L){var q=L.name;v()&&q=="yield"&&b(L.start,"Yield cannot be used as identifier inside generators"),r.input.has_directive("use strict")&&(q=="yield"&&b(L.start,"Unexpected yield identifier inside strict mode"),L instanceof Bn&&(q=="arguments"||q=="eval")&&b(L.start,"Unexpected "+q+" in strict mode"))}function gn(L,q){if(!a("name"))return q||E("Name expected"),null;var ee=ft(L);return fn(ee),f(),ee}function jr(L){if(!a("name")){a("string")||E("Name or string expected");var q=r.token,ee=new L({start:q,end:q,name:q.value,quote:q.quote});return f(),ee}var ae=ft(L);return fn(ae),f(),ae}function On(L,q=L.start){var ee=q.comments_before;const ae=n.get(q);for(var he=ae??ee.length;--he>=0;){var Le=ee[he];if(/[@#]__/.test(Le.value)){if(/[@#]__PURE__/.test(Le.value)){ps(L,kf);break}if(/[@#]__INLINE__/.test(Le.value)){ps(L,Of);break}if(/[@#]__NOINLINE__/.test(Le.value)){ps(L,No);break}if(/[@#]__KEY__/.test(Le.value)){ps(L,xs);break}if(/[@#]__MANGLE_PROP__/.test(Le.value)){ps(L,Ss);break}}}return L}var rn=function(L,q,ee){var ae=L.start;if(a("punc",".")){f(),a("privatename")&&!r.in_class&&E("Private field must be used in an enclosing class");const Be=a("privatename")?Zr:Jt;return On(rn(new Be({start:ae,expression:L,optional:!1,property:Ht(),end:p()}),q,ee))}if(a("punc","[")){f();var he=dt(!0);return w("]"),On(rn(new kn({start:ae,expression:L,optional:!1,property:he,end:p()}),q,ee))}if(q&&a("punc","(")){f();var Le=new $e({start:ae,expression:L,optional:!1,args:Ri(),end:p()});return On(Le),rn(Le,!0,ee)}if(a("punc","?.")){f();let Be;if(q&&a("punc","(")){f();const at=new $e({start:ae,optional:!0,expression:L,args:Ri(),end:p()});On(at),Be=rn(at,!0,!0)}else if(a("name")||a("privatename")){a("privatename")&&!r.in_class&&E("Private field must be used in an enclosing class");const at=a("privatename")?Zr:Jt;Be=On(rn(new at({start:ae,expression:L,optional:!0,property:Ht(),end:p()}),q,!0))}else if(a("punc","[")){f();const at=dt(!0);w("]"),Be=On(rn(new kn({start:ae,expression:L,optional:!0,property:at,end:p()}),q,!0))}return Be||T(),Be instanceof Sn?Be:new Sn({start:ae,expression:Be,end:p()})}return a("template_head")?(ee&&T(),rn(new Yr({start:ae,prefix:L,template_string:be(),end:p()}),q)):L};function Ri(){for(var L=[];!a("punc",")");)a("expand","...")?(f(),L.push(new gt({start:p(),expression:dt(!1),end:p()}))):L.push(dt(!1)),a("punc",")")||w(",");return f(),L}var $r=function(L,q){var ee=r.token;if(ee.type=="name"&&ee.value=="await"&&g())return f(),Z();if(a("operator")&&Dg.has(ee.value)){f(),P();var ae=Fi(qe,ee,$r(L));return ae.start=ee,ae.end=p(),ae}for(var he=we(L,q);a("operator")&&Od.has(r.token.value)&&!F(r.token);)he instanceof on&&T(),he=Fi(zi,r.token,he),he.start=ee,he.end=r.token,f();return he};function Fi(L,q,ee){var ae=q.value;switch(ae){case"++":case"--":gi(ee)||E("Invalid use of "+ae+" operator",q.line,q.col,q.pos);break;case"delete":ee instanceof ke&&r.input.has_directive("use strict")&&E("Calling delete on expression not allowed in strict mode",ee.start.line,ee.start.col,ee.start.pos);break}return new L({operator:ae,expression:ee})}var or=function(L,q,ee){var ae=a("operator")?r.token.value:null;ae=="in"&&ee&&(ae=null),ae=="**"&&L instanceof qe&&!dr(L.start,"punc","(")&&L.operator!=="--"&&L.operator!=="++"&&T(L.start);var he=ae!=null?Pr[ae]:null;if(he!=null&&(he>q||ae==="**"&&q===he)){f();var Le=Or(ee,he,!0);return or(new pe({start:L.start,left:L,operator:ae,right:Le,end:Le.end}),q,ee)}return L};function Or(L,q,ee,ae){if(!L&&q<Pr.in&&a("privatename")){r.in_class||E("Private field must be used in an enclosing class");const he=r.token,Le=new bs({start:he,name:he.value,end:he});f(),x("operator","in");const Be=new fi({start:he,key:Le,value:Or(L,Pr.in,!0),end:p()});return or(Be,0,L)}else return or($r(ee,ae),q,L)}var eo=function(L){var q=r.token,ee=Or(L,0,!0,!0);if(a("operator","?")){f();var ae=dt(!1);return w(":"),new it({start:q,condition:ee,consequent:ae,alternative:dt(!1,L),end:p()})}return ee};function gi(L){return L instanceof Xe||L instanceof ke}function fr(L){if(L instanceof jt)L=new qt({start:L.start,names:L.properties.map(fr),is_array:!1,end:L.end});else if(L instanceof Ft){for(var q=[],ee=0;ee<L.elements.length;ee++)L.elements[ee]instanceof gt&&(ee+1!==L.elements.length&&b(L.elements[ee].start,"Spread must the be last element in destructuring array"),L.elements[ee].expression=fr(L.elements[ee].expression)),q.push(fr(L.elements[ee]));L=new qt({start:L.start,names:q,is_array:!0,end:L.end})}else L instanceof _n?L.value=fr(L.value):L instanceof lt&&(L=new Mr({start:L.start,left:L.left,operator:"=",right:L.right,end:L.end}));return L}var Hr=function(L){P();var q=r.token;if(q.type=="name"&&q.value=="yield"){if(v())return f(),J();r.input.has_directive("use strict")&&b(r.token,"Unexpected yield identifier inside strict mode")}var ee=eo(L),ae=r.token.value;if(a("operator")&&kg.has(ae)){if(gi(ee)||(ee=fr(ee))instanceof qt)return f(),new lt({start:q,left:ee,operator:ae,right:Hr(L),logical:Og.has(ae),end:p()});E("Invalid assignment")}return ee},to=function(L,q){if(q.length===1)return q[0];if(q.length>1)return new mt({start:L,expressions:q,end:c()});E("Invalid parenthesized expression")},dt=function(L,q){for(var ee=r.token,ae=[];ae.push(Hr(q)),!(!L||!a("punc",","));)f(),L=!0;return to(ee,ae)};function er(L){++r.in_loop;var q=L();return--r.in_loop,q}return e.expression?dt(!0):function(){var q=r.token,ee=[];for(r.input.push_directives_stack(),e.module&&r.input.add_directive("use strict");!a("eof");)ee.push(U());r.input.pop_directives_stack();var ae=p(),he=e.toplevel;return he?(he.body=he.body.concat(ee),he.end=ae):he=new Qt({start:q,body:ee,end:ae}),ds=new Map,he}()}function ge(t,e,n,r,a=Oe){e?e=e.split(/\s+/):e=[];var c=e;a&&a.PROPS&&(e=e.concat(a.PROPS));const f=a&&Object.create(a.prototype);if(f&&(n.prototype=f,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 p in r)sr(r,p)&&(p[0]==="$"?n[p.substr(1)]=r[p]:n.prototype[p]=r[p]);return n.DEFMETHOD=function(p,E){this.prototype[p]=E},n}const Pu=(t,e)=>!!(t.flags&e),Bu=(t,e,n)=>{n?t.flags|=e:t.flags&=~e},wd=1,Rd=2,Fd=4,Nd=8;class Af{constructor(e,n,r,a,c,f,p,E,b){this.flags=f?1:0,this.type=e,this.value=n,this.line=r,this.col=a,this.pos=c,this.comments_before=p,this.comments_after=E,this.file=b,Object.seal(this)}[Symbol.for("nodejs.util.inspect.custom")](e,n){const r=f=>n.stylize(f,"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 Pu(this,wd)}set nlb(e){Bu(this,wd,e)}get quote(){return Pu(this,Fd)?Pu(this,Rd)?"'":'"':""}set quote(e){Bu(this,Rd,e==="'"),Bu(this,Fd,!!e)}get template_end(){return Pu(this,Nd)}set template_end(e){Bu(this,Nd,e)}}var Oe=ge("Node","start end",function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{_clone:function(t){if(t){var e=this.clone();return e.transform(new br(function(n){if(n!==e)return n.clone(!0)}))}return new this.CTOR(this)},clone:function(t){return this._clone(t)},$documentation:"Base class of all AST nodes",$propdoc:{start:"[AST_Token] The first token of this node",end:"[AST_Token] The last token of this node"},_walk:function(t){return t._visit(this)},walk:function(t){return this._walk(t)},_children_backwards:()=>{}},null),In=ge("Statement",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class of all statements"}),ji=ge("Debugger",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Represents a debugger statement"},In),ur=ge("Directive","value quote",function(e){e&&(this.value=e.value,this.quote=e.quote,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:'Represents a directive, like "use strict";',$propdoc:{value:"[string] The value of this directive as a plain string (it's not an AST_String!)",quote:"[string] the original quote character"}},In),He=ge("SimpleStatement","body",function(e){e&&(this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A statement consisting of an expression, i.e. a = 1 + 2",$propdoc:{body:"[AST_Node] an expression node (should not be instanceof AST_Statement)"},_walk:function(t){return t._visit(this,function(){this.body._walk(t)})},_children_backwards(t){t(this.body)}},In);function Do(t,e){const n=t.body;for(var r=0,a=n.length;r<a;r++)n[r]._walk(e)}function Cf(t){var e=this._clone(t);return this.block_scope&&(e.block_scope=this.block_scope.clone()),e}var Cn=ge("Block","body block_scope",function(e){e&&(this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A body of statements (usually braced)",$propdoc:{body:"[AST_Statement*] an array of statements",block_scope:"[AST_Scope] the block scope"},_walk:function(t){return t._visit(this,function(){Do(this,t)})},_children_backwards(t){let e=this.body.length;for(;e--;)t(this.body[e])},clone:Cf},In),tt=ge("BlockStatement",null,function(e){e&&(this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A block statement"},Cn),Ut=ge("EmptyStatement",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The empty statement (empty block or simply a semicolon)"},In),ko=ge("StatementWithBody","body",function(e){e&&(this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for all statements that contain one nested body: `For`, `ForIn`, `Do`, `While`, `With`",$propdoc:{body:"[AST_Statement] the body; this should always be present, even if it's an AST_EmptyStatement"}},In),rr=ge("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 Un(function(a){a instanceof ri&&a.label&&a.label.thedef===r&&(a.label.thedef=n,n.references.push(a))}))}return e}},ko),Xr=ge("IterationStatement","block_scope",function(e){e&&(this.block_scope=e.block_scope,this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Internal class. All loops inherit from it.",$propdoc:{block_scope:"[AST_Scope] the block scope for this iteration statement."},clone:Cf},ko),Lu=ge("DWLoop","condition",function(e){e&&(this.condition=e.condition,this.block_scope=e.block_scope,this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for do/while statements",$propdoc:{condition:"[AST_Node] the loop condition. Should not be instanceof AST_Statement"}},Xr),Si=ge("Do",null,function(e){e&&(this.condition=e.condition,this.block_scope=e.block_scope,this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `do` statement",_walk:function(t){return t._visit(this,function(){this.body._walk(t),this.condition._walk(t)})},_children_backwards(t){t(this.condition),t(this.body)}},Lu),$i=ge("While",null,function(e){e&&(this.condition=e.condition,this.block_scope=e.block_scope,this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `while` statement",_walk:function(t){return t._visit(this,function(){this.condition._walk(t),this.body._walk(t)})},_children_backwards(t){t(this.body),t(this.condition)}},Lu),Dn=ge("For","init condition step",function(e){e&&(this.init=e.init,this.condition=e.condition,this.step=e.step,this.block_scope=e.block_scope,this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `for` statement",$propdoc:{init:"[AST_Node?] the `for` initialization code, or null if empty",condition:"[AST_Node?] the `for` termination clause, or null if empty",step:"[AST_Node?] the `for` update clause, or null if empty"},_walk:function(t){return t._visit(this,function(){this.init&&this.init._walk(t),this.condition&&this.condition._walk(t),this.step&&this.step._walk(t),this.body._walk(t)})},_children_backwards(t){t(this.body),this.step&&t(this.step),this.condition&&t(this.condition),this.init&&t(this.init)}},Xr),Yn=ge("ForIn","init object",function(e){e&&(this.init=e.init,this.object=e.object,this.block_scope=e.block_scope,this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `for ... in` statement",$propdoc:{init:"[AST_Node] the `for/in` initialization code",object:"[AST_Node] the object that we're looping through"},_walk:function(t){return t._visit(this,function(){this.init._walk(t),this.object._walk(t),this.body._walk(t)})},_children_backwards(t){t(this.body),this.object&&t(this.object),this.init&&t(this.init)}},Xr),Oo=ge("ForOf","await",function(e){e&&(this.await=e.await,this.init=e.init,this.object=e.object,this.block_scope=e.block_scope,this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `for ... of` statement"},Yn),xr=ge("With","expression",function(e){e&&(this.expression=e.expression,this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `with` statement",$propdoc:{expression:"[AST_Node] the `with` expression"},_walk:function(t){return t._visit(this,function(){this.expression._walk(t),this.body._walk(t)})},_children_backwards(t){t(this.body),t(this.expression)}},ko),Ye=ge("Scope","variables uses_with uses_eval parent_scope enclosed cname",function(e){e&&(this.variables=e.variables,this.uses_with=e.uses_with,this.uses_eval=e.uses_eval,this.parent_scope=e.parent_scope,this.enclosed=e.enclosed,this.cname=e.cname,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for all statements introducing a lexical scope",$propdoc:{variables:"[Map/S] a map of name -> SymbolDef for all variables/functions defined in this scope",uses_with:"[boolean/S] tells whether this scope uses the `with` statement",uses_eval:"[boolean/S] tells whether this scope contains a direct call to the global `eval`",parent_scope:"[AST_Scope?/S] link to the parent scope",enclosed:"[SymbolDef*/S] a list of all symbol definitions that are accessed from this scope or any subscopes",cname:"[integer/S] current index for mangling variables (used internally by the mangler)"},get_defun_scope:function(){for(var t=this;t.is_block_scope();)t=t.parent_scope;return t},clone:function(t,e){var n=this._clone(t);return t&&this.variables&&e&&!this._block_scope?n.figure_out_scope({},{toplevel:e,parent_scope:this.parent_scope}):(this.variables&&(n.variables=new Map(this.variables)),this.enclosed&&(n.enclosed=this.enclosed.slice()),this._block_scope&&(n._block_scope=this._block_scope)),n},pinned:function(){return this.uses_eval||this.uses_with}},Cn),Qt=ge("Toplevel","globals",function(e){e&&(this.globals=e.globals,this.variables=e.variables,this.uses_with=e.uses_with,this.uses_eval=e.uses_eval,this.parent_scope=e.parent_scope,this.enclosed=e.enclosed,this.cname=e.cname,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The toplevel scope",$propdoc:{globals:"[Map/S] a map of name -> SymbolDef for all undeclared names"},wrap_commonjs:function(t){var e=this.body,n="(function(exports){'$ORIG';})(typeof "+t+"=='undefined'?("+t+"={}):"+t+");";return n=ms(n),n=n.transform(new br(function(r){if(r instanceof ur&&r.value=="$ORIG")return tn.splice(e)})),n},wrap_enclose:function(t){typeof t!="string"&&(t="");var e=t.indexOf(":");e<0&&(e=t.length);var n=this.body;return ms(["(function(",t.slice(0,e),'){"$ORIG"})(',t.slice(e+1),")"].join("")).transform(new br(function(r){if(r instanceof ur&&r.value=="$ORIG")return tn.splice(n)}))}},Ye),gt=ge("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)}}),Ke=ge("Lambda","name argnames uses_arguments is_generator async",function(e){e&&(this.name=e.name,this.argnames=e.argnames,this.uses_arguments=e.uses_arguments,this.is_generator=e.is_generator,this.async=e.async,this.variables=e.variables,this.uses_with=e.uses_with,this.uses_eval=e.uses_eval,this.parent_scope=e.parent_scope,this.enclosed=e.enclosed,this.cname=e.cname,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for functions",$propdoc:{name:"[AST_SymbolDeclaration?] the name of this function",argnames:"[AST_SymbolFunarg|AST_Destructuring|AST_Expansion|AST_DefaultAssign*] array of function arguments, destructurings, or expanding arguments",uses_arguments:"[boolean/S] tells whether this function accesses the arguments array",is_generator:"[boolean] is this a generator method",async:"[boolean] is this method async"},args_as_names:function(){for(var t=[],e=0;e<this.argnames.length;e++)this.argnames[e]instanceof qt?t.push(...this.argnames[e].all_symbols()):t.push(this.argnames[e]);return t},_walk:function(t){return t._visit(this,function(){this.name&&this.name._walk(t);for(var e=this.argnames,n=0,r=e.length;n<r;n++)e[n]._walk(t);Do(this,t)})},_children_backwards(t){let e=this.body.length;for(;e--;)t(this.body[e]);for(e=this.argnames.length;e--;)t(this.argnames[e]);this.name&&t(this.name)},is_braceless(){return this.body[0]instanceof pn&&this.body[0].value},length_property(){let t=0;for(const e of this.argnames)(e instanceof Ln||e instanceof qt)&&t++;return t}},Ye),Hi=ge("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."},Ke),Gt=ge("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"},Ke),on=ge("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)"},Ke),sn=ge("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"},Ke),qt=ge("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 Mn(this,e=>{if(e instanceof Bn&&t.push(e),e instanceof Ke)return!0}),t}}),Yr=ge("PrefixedTemplateString","template_string prefix",function(e){e&&(this.template_string=e.template_string,this.prefix=e.prefix,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A templatestring with a prefix, such as String.raw`foobarbaz`",$propdoc:{template_string:"[AST_TemplateString] The template string",prefix:"[AST_Node] The prefix, which will get called."},_walk:function(t){return t._visit(this,function(){this.prefix._walk(t),this.template_string._walk(t)})},_children_backwards(t){t(this.template_string),t(this.prefix)}}),Zn=ge("TemplateString","segments",function(e){e&&(this.segments=e.segments,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A template string literal",$propdoc:{segments:"[AST_Node*] One or more segments, starting with AST_TemplateSegment. AST_Node may follow AST_TemplateSegment, but each AST_Node must be followed by AST_TemplateSegment."},_walk:function(t){return t._visit(this,function(){this.segments.forEach(function(e){e._walk(t)})})},_children_backwards(t){let e=this.segments.length;for(;e--;)t(this.segments[e])}}),Ti=ge("TemplateSegment","value raw",function(e){e&&(this.value=e.value,this.raw=e.raw,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A segment of a template string literal",$propdoc:{value:"Content of the segment",raw:"Raw source of the segment"}}),ys=ge("Jump",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for “jumps” (for now that's `return`, `throw`, `break` and `continue`)"},In),_r=ge("Exit","value",function(e){e&&(this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for “exits” (`return` and `throw`)",$propdoc:{value:"[AST_Node?] the value returned or thrown by this statement; could be null for AST_Return"},_walk:function(t){return t._visit(this,this.value&&function(){this.value._walk(t)})},_children_backwards(t){this.value&&t(this.value)}},ys),pn=ge("Return",null,function(e){e&&(this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `return` statement"},_r),gs=ge("Throw",null,function(e){e&&(this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `throw` statement"},_r),ri=ge("LoopControl","label",function(e){e&&(this.label=e.label,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for loop control statements (`break` and `continue`)",$propdoc:{label:"[AST_LabelRef?] the label, or null if none"},_walk:function(t){return t._visit(this,this.label&&function(){this.label._walk(t)})},_children_backwards(t){this.label&&t(this.label)}},ys),Br=ge("Break",null,function(e){e&&(this.label=e.label,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `break` statement"},ri),fo=ge("Continue",null,function(e){e&&(this.label=e.label,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `continue` statement"},ri),Sr=ge("Await","expression",function(e){e&&(this.expression=e.expression,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"An `await` statement",$propdoc:{expression:"[AST_Node] the mandatory expression being awaited"},_walk:function(t){return t._visit(this,function(){this.expression._walk(t)})},_children_backwards(t){t(this.expression)}}),Tr=ge("Yield","expression is_star",function(e){e&&(this.expression=e.expression,this.is_star=e.is_star,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `yield` statement",$propdoc:{expression:"[AST_Node?] the value returned or thrown by this statement; could be null (representing undefined) but only when is_star is set to false",is_star:"[Boolean] Whether this is a yield or yield* statement"},_walk:function(t){return t._visit(this,this.expression&&function(){this.expression._walk(t)})},_children_backwards(t){this.expression&&t(this.expression)}}),Vt=ge("If","condition alternative",function(e){e&&(this.condition=e.condition,this.alternative=e.alternative,this.body=e.body,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `if` statement",$propdoc:{condition:"[AST_Node] the `if` condition",alternative:"[AST_Statement?] the `else` part, or null if not present"},_walk:function(t){return t._visit(this,function(){this.condition._walk(t),this.body._walk(t),this.alternative&&this.alternative._walk(t)})},_children_backwards(t){this.alternative&&t(this.alternative),t(this.body),t(this.condition)}},ko),Qn=ge("Switch","expression",function(e){e&&(this.expression=e.expression,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `switch` statement",$propdoc:{expression:"[AST_Node] the `switch` “discriminant”"},_walk:function(t){return t._visit(this,function(){this.expression._walk(t),Do(this,t)})},_children_backwards(t){let e=this.body.length;for(;e--;)t(this.body[e]);t(this.expression)}},Cn),Gi=ge("SwitchBranch",null,function(e){e&&(this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for `switch` branches"},Cn),wo=ge("Default",null,function(e){e&&(this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `default` switch branch"},Gi),ii=ge("Case","expression",function(e){e&&(this.expression=e.expression,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `case` switch branch",$propdoc:{expression:"[AST_Node] the `case` expression"},_walk:function(t){return t._visit(this,function(){this.expression._walk(t),Do(this,t)})},_children_backwards(t){let e=this.body.length;for(;e--;)t(this.body[e]);t(this.expression)}},Gi),Ar=ge("Try","body bcatch bfinally",function(e){e&&(this.body=e.body,this.bcatch=e.bcatch,this.bfinally=e.bfinally,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `try` statement",$propdoc:{body:"[AST_TryBlock] the try block",bcatch:"[AST_Catch?] the catch block, or null if not present",bfinally:"[AST_Finally?] the finally block, or null if not present"},_walk:function(t){return t._visit(this,function(){this.body._walk(t),this.bcatch&&this.bcatch._walk(t),this.bfinally&&this.bfinally._walk(t)})},_children_backwards(t){this.bfinally&&t(this.bfinally),this.bcatch&&t(this.bcatch),t(this.body)}},In),Mu=ge("TryBlock",null,function(e){e&&(this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `try` block of a try statement"},Cn),oi=ge("Catch","argname",function(e){e&&(this.argname=e.argname,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `catch` node; only makes sense as part of a `try` statement",$propdoc:{argname:"[AST_SymbolCatch|AST_Destructuring|AST_Expansion|AST_DefaultAssign] symbol for the exception"},_walk:function(t){return t._visit(this,function(){this.argname&&this.argname._walk(t),Do(this,t)})},_children_backwards(t){let e=this.body.length;for(;e--;)t(this.body[e]);this.argname&&t(this.argname)}},Cn),Jo=ge("Finally",null,function(e){e&&(this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `finally` node; only makes sense as part of a `try` statement"},Cn),dn=ge("Definitions","definitions",function(e){e&&(this.definitions=e.definitions,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for `var` or `const` nodes (variable declarations/initializations)",$propdoc:{definitions:"[AST_VarDef*] array of variable definitions"},_walk:function(t){return t._visit(this,function(){for(var e=this.definitions,n=0,r=e.length;n<r;n++)e[n]._walk(t)})},_children_backwards(t){let e=this.definitions.length;for(;e--;)t(this.definitions[e])}},In),Pn=ge("Var",null,function(e){e&&(this.definitions=e.definitions,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `var` statement"},dn),ai=ge("Let",null,function(e){e&&(this.definitions=e.definitions,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `let` statement"},dn),si=ge("Const",null,function(e){e&&(this.definitions=e.definitions,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `const` statement"},dn),Kt=ge("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 Bn?[this]:this.name.all_symbols()}}),ui=ge("NameMapping","foreign_name name",function(e){e&&(this.foreign_name=e.foreign_name,this.name=e.name,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The part of the export/import statement that declare names from a module.",$propdoc:{foreign_name:"[AST_SymbolExportForeign|AST_SymbolImportForeign] The name being exported/imported (as specified in the module)",name:"[AST_SymbolExport|AST_SymbolImport] The name as it is visible to this module."},_walk:function(t){return t._visit(this,function(){this.foreign_name._walk(t),this.name._walk(t)})},_children_backwards(t){t(this.name),t(this.foreign_name)}}),Lr=ge("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)}}),Ki=ge("ImportMeta",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A reference to import.meta"}),Rn=ge("Export","exported_definition exported_value is_default exported_names module_name assert_clause",function(e){e&&(this.exported_definition=e.exported_definition,this.exported_value=e.exported_value,this.is_default=e.is_default,this.exported_names=e.exported_names,this.module_name=e.module_name,this.assert_clause=e.assert_clause,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"An `export` statement",$propdoc:{exported_definition:"[AST_Defun|AST_Definitions|AST_DefClass?] An exported definition",exported_value:"[AST_Node?] An exported value",exported_names:"[AST_NameMapping*?] List of exported names",module_name:"[AST_String?] Name of the file to load exports from",is_default:"[Boolean] Whether this is the default exported value of this module",assert_clause:"[AST_Object?] The import assertion"},_walk:function(t){return t._visit(this,function(){this.exported_definition&&this.exported_definition._walk(t),this.exported_value&&this.exported_value._walk(t),this.exported_names&&this.exported_names.forEach(function(e){e._walk(t)}),this.module_name&&this.module_name._walk(t)})},_children_backwards(t){if(this.module_name&&t(this.module_name),this.exported_names){let e=this.exported_names.length;for(;e--;)t(this.exported_names[e])}this.exported_value&&t(this.exported_value),this.exported_definition&&t(this.exported_definition)}},In),$e=ge("Call","expression args optional _annotations",function(e){e&&(this.expression=e.expression,this.args=e.args,this.optional=e.optional,this._annotations=e._annotations,this.start=e.start,this.end=e.end,this.initialize()),this.flags=0},{$documentation:"A function call expression",$propdoc:{expression:"[AST_Node] expression to invoke as function",args:"[AST_Node*] array of arguments",optional:"[boolean] whether this is an optional call (IE ?.() )",_annotations:"[number] bitfield containing information about the call"},initialize(){this._annotations==null&&(this._annotations=0)},_walk(t){return t._visit(this,function(){for(var e=this.args,n=0,r=e.length;n<r;n++)e[n]._walk(t);this.expression._walk(t)})},_children_backwards(t){let e=this.args.length;for(;e--;)t(this.args[e]);t(this.expression)}}),cr=ge("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"},$e),mt=ge("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=ge("PropAccess","expression property optional",function(e){e&&(this.expression=e.expression,this.property=e.property,this.optional=e.optional,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:'Base class for property access expressions, i.e. `a.foo` or `a["foo"]`',$propdoc:{expression:"[AST_Node] the “container” expression",property:"[AST_Node|string] the property to access. For AST_Dot & AST_DotHash this is always a plain string, while for AST_Sub it's an arbitrary AST_Node",optional:"[boolean] whether this is an optional property access (IE ?.)"}}),Jt=ge("Dot","quote",function(e){e&&(this.quote=e.quote,this.expression=e.expression,this.property=e.property,this.optional=e.optional,this._annotations=e._annotations,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A dotted property access expression",$propdoc:{quote:"[string] the original quote character when transformed from AST_Sub"},_walk:function(t){return t._visit(this,function(){this.expression._walk(t)})},_children_backwards(t){t(this.expression)}},Xe),Zr=ge("DotHash","",function(e){e&&(this.expression=e.expression,this.property=e.property,this.optional=e.optional,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A dotted property access to a private property",_walk:function(t){return t._visit(this,function(){this.expression._walk(t)})},_children_backwards(t){t(this.expression)}},Xe),kn=ge("Sub",null,function(e){e&&(this.expression=e.expression,this.property=e.property,this.optional=e.optional,this._annotations=e._annotations,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:'Index-style property access, i.e. `a["foo"]`',_walk:function(t){return t._visit(this,function(){this.expression._walk(t),this.property._walk(t)})},_children_backwards(t){t(this.property),t(this.expression)}},Xe),Sn=ge("Chain","expression",function(e){e&&(this.expression=e.expression,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A chain expression like a?.b?.(c)?.[d]",$propdoc:{expression:"[AST_Call|AST_Dot|AST_DotHash|AST_Sub] chain element."},_walk:function(t){return t._visit(this,function(){this.expression._walk(t)})},_children_backwards(t){t(this.expression)}}),en=ge("Unary","operator expression",function(e){e&&(this.operator=e.operator,this.expression=e.expression,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for unary expressions",$propdoc:{operator:"[string] the operator",expression:"[AST_Node] expression that this unary operator applies to"},_walk:function(t){return t._visit(this,function(){this.expression._walk(t)})},_children_backwards(t){t(this.expression)}}),qe=ge("UnaryPrefix",null,function(e){e&&(this.operator=e.operator,this.expression=e.expression,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Unary prefix expression, i.e. `typeof i` or `++i`"},en),zi=ge("UnaryPostfix",null,function(e){e&&(this.operator=e.operator,this.expression=e.expression,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Unary postfix expression, i.e. `i++`"},en),pe=ge("Binary","operator left right",function(e){e&&(this.operator=e.operator,this.left=e.left,this.right=e.right,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Binary expression, i.e. `a + b`",$propdoc:{left:"[AST_Node] left-hand side expression",operator:"[string] the operator",right:"[AST_Node] right-hand side expression"},_walk:function(t){return t._visit(this,function(){this.left._walk(t),this.right._walk(t)})},_children_backwards(t){t(this.right),t(this.left)}}),it=ge("Conditional","condition consequent alternative",function(e){e&&(this.condition=e.condition,this.consequent=e.consequent,this.alternative=e.alternative,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Conditional expression using the ternary operator, i.e. `a ? b : c`",$propdoc:{condition:"[AST_Node]",consequent:"[AST_Node]",alternative:"[AST_Node]"},_walk:function(t){return t._visit(this,function(){this.condition._walk(t),this.consequent._walk(t),this.alternative._walk(t)})},_children_backwards(t){t(this.alternative),t(this.consequent),t(this.condition)}}),lt=ge("Assign","logical",function(e){e&&(this.logical=e.logical,this.operator=e.operator,this.left=e.left,this.right=e.right,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"An assignment expression — `a = b + 5`",$propdoc:{logical:"Whether it's a logical assignment"}},pe),Mr=ge("DefaultAssign",null,function(e){e&&(this.operator=e.operator,this.left=e.left,this.right=e.right,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A default assignment expression like in `(a = 3) => a`"},pe),Ft=ge("Array","elements",function(e){e&&(this.elements=e.elements,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"An array literal",$propdoc:{elements:"[AST_Node*] array of elements"},_walk:function(t){return t._visit(this,function(){for(var e=this.elements,n=0,r=e.length;n<r;n++)e[n]._walk(t)})},_children_backwards(t){let e=this.elements.length;for(;e--;)t(this.elements[e])}}),jt=ge("Object","properties",function(e){e&&(this.properties=e.properties,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"An object literal",$propdoc:{properties:"[AST_ObjectProperty*] array of properties"},_walk:function(t){return t._visit(this,function(){for(var e=this.properties,n=0,r=e.length;n<r;n++)e[n]._walk(t)})},_children_backwards(t){let e=this.properties.length;for(;e--;)t(this.properties[e])}}),_n=ge("ObjectProperty","key value",function(e){e&&(this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end,this._annotations=e._annotations),this.flags=0},{$documentation:"Base class for literal object properties",$propdoc:{key:"[string|AST_Node] property name. For ObjectKeyVal this is a string. For getters, setters and computed property this is an AST_Node.",value:"[AST_Node] property value. For getters and setters this is an AST_Accessor."},_walk:function(t){return t._visit(this,function(){this.key instanceof Oe&&this.key._walk(t),this.value._walk(t)})},_children_backwards(t){t(this.value),this.key instanceof Oe&&t(this.key)}}),an=ge("ObjectKeyVal","quote",function(e){e&&(this.quote=e.quote,this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end,this._annotations=e._annotations),this.flags=0},{$documentation:"A key: value object property",$propdoc:{quote:"[string] the original quote character"},computed_key(){return this.key instanceof Oe}},_n),Ai=ge("PrivateSetter","static",function(e){e&&(this.static=e.static,this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$propdoc:{static:"[boolean] whether this is a static private setter"},$documentation:"A private setter property",computed_key(){return!1}},_n),ci=ge("PrivateGetter","static",function(e){e&&(this.static=e.static,this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$propdoc:{static:"[boolean] whether this is a static private getter"},$documentation:"A private getter property",computed_key(){return!1}},_n),li=ge("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)}},_n),Qr=ge("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)}},_n),jn=ge("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)}},_n),Ci=ge("PrivateMethod","",function(e){e&&(this.quote=e.quote,this.static=e.static,this.is_generator=e.is_generator,this.async=e.async,this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A private class method inside a class"},jn),At=ge("Class","name extends properties",function(e){e&&(this.name=e.name,this.extends=e.extends,this.properties=e.properties,this.variables=e.variables,this.uses_with=e.uses_with,this.uses_eval=e.uses_eval,this.parent_scope=e.parent_scope,this.enclosed=e.enclosed,this.cname=e.cname,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$propdoc:{name:"[AST_SymbolClass|AST_SymbolDefClass?] optional class name.",extends:"[AST_Node]? optional parent class",properties:"[AST_ObjectProperty*] array of properties"},$documentation:"An ES6 class",_walk:function(t){return t._visit(this,function(){this.name&&this.name._walk(t),this.extends&&this.extends._walk(t),this.properties.forEach(e=>e._walk(t))})},_children_backwards(t){let e=this.properties.length;for(;e--;)t(this.properties[e]);this.extends&&t(this.extends),this.name&&t(this.name)},visit_nondeferred_class_parts(t){this.extends&&this.extends._walk(t),this.properties.forEach(e=>{if(e instanceof Jn){e._walk(t);return}e.computed_key()&&(t.push(e),e.key._walk(t),t.pop()),(e instanceof Di||e instanceof mr)&&e.static&&e.value&&(t.push(e),e.value._walk(t),t.pop())})},visit_deferred_class_parts(t){this.properties.forEach(e=>{e instanceof jn?e.walk(t):e instanceof mr&&!e.static&&e.value&&(t.push(e),e.value._walk(t),t.pop())})},is_self_referential:function(){const t=this.name&&this.name.definition().id;let e=!1,n=!0;return this.visit_nondeferred_class_parts(new Un((r,a)=>{if(e)return!0;if(r instanceof Hn)return e=n;if(r instanceof ke)return e=r.definition().id===t;if(r instanceof Ke&&!(r instanceof on)){const c=n;return n=!1,a(),n=c,!0}})),e}},Ye),mr=ge("ClassProperty","static quote",function(e){e&&(this.static=e.static,this.quote=e.quote,this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end,this._annotations=e._annotations),this.flags=0},{$documentation:"A class property",$propdoc:{static:"[boolean] whether this is a static key",quote:"[string] which quote is being used"},_walk:function(t){return t._visit(this,function(){this.key instanceof Oe&&this.key._walk(t),this.value instanceof Oe&&this.value._walk(t)})},_children_backwards(t){this.value instanceof Oe&&t(this.value),this.key instanceof Oe&&t(this.key)},computed_key(){return!(this.key instanceof Xi)}},_n),Di=ge("ClassPrivateProperty","",function(e){e&&(this.static=e.static,this.quote=e.quote,this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A class property for a private property"},mr),fi=ge("PrivateIn","key value",function(e){e&&(this.key=e.key,this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"An `in` binop when the key is private, eg #x in this",_walk:function(t){return t._visit(this,function(){this.key._walk(t),this.value._walk(t)})},_children_backwards(t){t(this.value),t(this.key)}}),Jr=ge("DefClass",null,function(e){e&&(this.name=e.name,this.extends=e.extends,this.properties=e.properties,this.variables=e.variables,this.uses_with=e.uses_with,this.uses_eval=e.uses_eval,this.parent_scope=e.parent_scope,this.enclosed=e.enclosed,this.cname=e.cname,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A class definition"},At),Jn=ge("ClassStaticBlock","body block_scope",function(e){this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end},{$documentation:"A block containing statements to be executed in the context of the class",$propdoc:{body:"[AST_Statement*] an array of statements"},_walk:function(t){return t._visit(this,function(){Do(this,t)})},_children_backwards(t){let e=this.body.length;for(;e--;)t(this.body[e])},clone:Cf,computed_key:()=>!1},Ye),ki=ge("ClassExpression",null,function(e){e&&(this.name=e.name,this.extends=e.extends,this.properties=e.properties,this.variables=e.variables,this.uses_with=e.uses_with,this.uses_eval=e.uses_eval,this.parent_scope=e.parent_scope,this.enclosed=e.enclosed,this.cname=e.cname,this.body=e.body,this.block_scope=e.block_scope,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A class expression."},At),vt=ge("Symbol","scope name thedef",function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$propdoc:{name:"[string] name of this symbol",scope:"[AST_Scope/S] the current scope (not necessarily the definition scope)",thedef:"[SymbolDef/S] the definition of this symbol"},$documentation:"Base class for all symbols"}),ea=ge("NewTarget",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A reference to new.target"}),Bn=ge("SymbolDeclaration","init",function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A declaration symbol (symbol in var/const, function name or argument, symbol in catch)"},vt),Wi=ge("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"},Bn),qi=ge("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"},Bn),ho=ge("SymbolConst",null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A constant declaration"},qi),ta=ge("SymbolLet",null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A block-scoped `let` declaration"},qi),Ln=ge("SymbolFunarg",null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Symbol naming a function argument"},Wi),Oi=ge("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"},Bn),$n=ge("SymbolMethod",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Symbol in an object defining a method"},vt),Xi=ge("SymbolClassProperty",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Symbol for a class property"},vt),hi=ge("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"},Bn),Uu=ge("SymbolDefClass",null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Symbol naming a class's name in a class declaration. Lexically scoped to its containing scope, and accessible within the class."},qi),Vu=ge("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."},Bn),ei=ge("SymbolCatch",null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Symbol naming the exception in catch"},qi),na=ge("SymbolImport",null,function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Symbol referring to an imported name"},qi),Ro=ge("SymbolImportForeign",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.quote=e.quote,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A symbol imported from a module, but it is defined in the other module, and its real name is irrelevant for this module's purposes"},vt),vs=ge("Label","references",function(e){e&&(this.references=e.references,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end,this.initialize()),this.flags=0},{$documentation:"Symbol naming a label (declaration)",$propdoc:{references:"[AST_LoopControl*] a list of nodes referring to this label"},initialize:function(){this.references=[],this.thedef=this}},vt),ke=ge("SymbolRef",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Reference to some symbol (not definition/declaration)"},vt),Fo=ge("SymbolExport",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.quote=e.quote,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Symbol referring to a name to export"},ke),wi=ge("SymbolExportForeign",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.quote=e.quote,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A symbol exported from this module, but it is used in the other module, and its real name is irrelevant for this module's purposes"},vt),Df=ge("LabelRef",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Reference to a label symbol"},vt),bs=ge("SymbolPrivateProperty",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A symbol that refers to a private property"},vt),Hn=ge("This",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `this` symbol"},vt),ra=ge("Super",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `super` symbol"},Hn),Nt=ge("Constant",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for all constants",getValue:function(){return this.value}}),bt=ge("String","value quote",function(e){e&&(this.value=e.value,this.quote=e.quote,this.start=e.start,this.end=e.end,this._annotations=e._annotations),this.flags=0},{$documentation:"A string literal",$propdoc:{value:"[string] the contents of this string",quote:"[string] the original quote character"}},Nt),nt=ge("Number","value raw",function(e){e&&(this.value=e.value,this.raw=e.raw,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A number literal",$propdoc:{value:"[number] the numeric value",raw:"[string] numeric value as string"}},Nt),pi=ge("BigInt","value",function(e){e&&(this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A big int literal",$propdoc:{value:"[string] big int value"}},Nt),yr=ge("RegExp","value",function(e){e&&(this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A regexp literal",$propdoc:{value:"[RegExp] the actual regexp"}},Nt),po=ge("Atom",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for atoms"},Nt),gr=ge("Null",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `null` atom",value:null},po),Es=ge("NaN",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The impossible value",value:NaN},po),un=ge("Undefined",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `undefined` value",value:function(){}()},po),Ur=ge("Hole",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A hole in an array",value:function(){}()},po),_o=ge("Infinity",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `Infinity` value",value:1/0},po),ju=ge("Boolean",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for booleans"},po),Yi=ge("False",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `false` atom",value:!1},ju),Cr=ge("True",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `true` atom",value:!0},ju);function Mn(t,e,n=[t]){const r=n.push.bind(n);for(;n.length;){const a=n.pop(),c=e(a,n);if(c){if(c===vr)return!0;continue}a._children_backwards(r)}return!1}function Id(t,e,n){const r=[t],a=r.push.bind(r),c=n?n.slice():[],f=[];let p;const E={parent:(b=0)=>b===-1?p:n&&b>=c.length?(b-=c.length,n[n.length-(b+1)]):c[c.length-(1+b)]};for(;r.length;){for(p=r.pop();f.length&&r.length==f[f.length-1];)c.pop(),f.pop();const b=e(p,E);if(b){if(b===vr)return!0;continue}const T=r.length;p._children_backwards(a),r.length>T&&(c.push(p),f.push(T-1))}return!1}const vr=Symbol("abort walk");class Un{constructor(e){this.visit=e,this.stack=[],this.directives=Object.create(null)}_visit(e,n){this.push(e);var r=this.visit(e,n?function(){n.call(e)}:Er);return!r&&n&&n.call(e),this.pop(),r}parent(e){return this.stack[this.stack.length-2-(e||0)]}push(e){e instanceof Ke?this.directives=Object.create(this.directives):e instanceof ur&&!this.directives[e.value]?this.directives[e.value]=e:e instanceof At&&(this.directives=Object.create(this.directives),this.directives["use strict"]||(this.directives["use strict"]=e)),this.stack.push(e)}pop(){var e=this.stack.pop();(e instanceof Ke||e instanceof At)&&(this.directives=Object.getPrototypeOf(this.directives))}self(){return this.stack[this.stack.length-1]}find_parent(e){for(var n=this.stack,r=n.length;--r>=0;){var a=n[r];if(a instanceof e)return a}}find_scope(){for(var e=this.stack,n=e.length;--n>=0;){const r=e[n];if(r instanceof Qt||r instanceof Ke)return r;if(r.block_scope)return r.block_scope}}has_directive(e){var n=this.directives[e];if(n)return n;var r=this.stack[this.stack.length-1];if(r instanceof Ye&&r.body)for(var a=0;a<r.body.length;++a){var c=r.body[a];if(!(c instanceof ur))break;if(c.value==e)return c}}loopcontrol_target(e){var n=this.stack;if(e.label)for(var r=n.length;--r>=0;){var a=n[r];if(a instanceof rr&&a.label.name==e.label.name)return a.body}else for(var r=n.length;--r>=0;){var a=n[r];if(a instanceof Xr||e instanceof Br&&a instanceof Qn)return a}}}class br extends Un{constructor(e,n){super(),this.before=e,this.after=n}}const kf=1,Of=2,No=4,xs=8,Ss=16;function xt(t,e){t.DEFMETHOD("transform",function(n,r){let a;if(n.push(this),n.before&&(a=n.before(this,e,r)),a===void 0&&(a=this,e(a,n),n.after)){const c=n.after(a,r);c!==void 0&&(a=c)}return n.pop(),a})}xt(Oe,Er),xt(rr,function(t,e){t.label=t.label.transform(e),t.body=t.body.transform(e)}),xt(He,function(t,e){t.body=t.body.transform(e)}),xt(Cn,function(t,e){t.body=tn(t.body,e)}),xt(Si,function(t,e){t.body=t.body.transform(e),t.condition=t.condition.transform(e)}),xt($i,function(t,e){t.condition=t.condition.transform(e),t.body=t.body.transform(e)}),xt(Dn,function(t,e){t.init&&(t.init=t.init.transform(e)),t.condition&&(t.condition=t.condition.transform(e)),t.step&&(t.step=t.step.transform(e)),t.body=t.body.transform(e)}),xt(Yn,function(t,e){t.init=t.init.transform(e),t.object=t.object.transform(e),t.body=t.body.transform(e)}),xt(xr,function(t,e){t.expression=t.expression.transform(e),t.body=t.body.transform(e)}),xt(_r,function(t,e){t.value&&(t.value=t.value.transform(e))}),xt(ri,function(t,e){t.label&&(t.label=t.label.transform(e))}),xt(Vt,function(t,e){t.condition=t.condition.transform(e),t.body=t.body.transform(e),t.alternative&&(t.alternative=t.alternative.transform(e))}),xt(Qn,function(t,e){t.expression=t.expression.transform(e),t.body=tn(t.body,e)}),xt(ii,function(t,e){t.expression=t.expression.transform(e),t.body=tn(t.body,e)}),xt(Ar,function(t,e){t.body=t.body.transform(e),t.bcatch&&(t.bcatch=t.bcatch.transform(e)),t.bfinally&&(t.bfinally=t.bfinally.transform(e))}),xt(oi,function(t,e){t.argname&&(t.argname=t.argname.transform(e)),t.body=tn(t.body,e)}),xt(dn,function(t,e){t.definitions=tn(t.definitions,e)}),xt(Kt,function(t,e){t.name=t.name.transform(e),t.value&&(t.value=t.value.transform(e))}),xt(qt,function(t,e){t.names=tn(t.names,e)}),xt(Ke,function(t,e){t.name&&(t.name=t.name.transform(e)),t.argnames=tn(t.argnames,e,!1),t.body instanceof Oe?t.body=t.body.transform(e):t.body=tn(t.body,e)}),xt($e,function(t,e){t.expression=t.expression.transform(e),t.args=tn(t.args,e,!1)}),xt(mt,function(t,e){const n=tn(t.expressions,e);t.expressions=n.length?n:[new nt({value:0})]}),xt(Xe,function(t,e){t.expression=t.expression.transform(e)}),xt(kn,function(t,e){t.expression=t.expression.transform(e),t.property=t.property.transform(e)}),xt(Sn,function(t,e){t.expression=t.expression.transform(e)}),xt(Tr,function(t,e){t.expression&&(t.expression=t.expression.transform(e))}),xt(Sr,function(t,e){t.expression=t.expression.transform(e)}),xt(en,function(t,e){t.expression=t.expression.transform(e)}),xt(pe,function(t,e){t.left=t.left.transform(e),t.right=t.right.transform(e)}),xt(fi,function(t,e){t.key=t.key.transform(e),t.value=t.value.transform(e)}),xt(it,function(t,e){t.condition=t.condition.transform(e),t.consequent=t.consequent.transform(e),t.alternative=t.alternative.transform(e)}),xt(Ft,function(t,e){t.elements=tn(t.elements,e)}),xt(jt,function(t,e){t.properties=tn(t.properties,e)}),xt(_n,function(t,e){t.key instanceof Oe&&(t.key=t.key.transform(e)),t.value&&(t.value=t.value.transform(e))}),xt(At,function(t,e){t.name&&(t.name=t.name.transform(e)),t.extends&&(t.extends=t.extends.transform(e)),t.properties=tn(t.properties,e)}),xt(Jn,function(t,e){t.body=tn(t.body,e)}),xt(gt,function(t,e){t.expression=t.expression.transform(e)}),xt(ui,function(t,e){t.foreign_name=t.foreign_name.transform(e),t.name=t.name.transform(e)}),xt(Lr,function(t,e){t.imported_name&&(t.imported_name=t.imported_name.transform(e)),t.imported_names&&tn(t.imported_names,e),t.module_name=t.module_name.transform(e)}),xt(Rn,function(t,e){t.exported_definition&&(t.exported_definition=t.exported_definition.transform(e)),t.exported_value&&(t.exported_value=t.exported_value.transform(e)),t.exported_names&&tn(t.exported_names,e),t.module_name&&(t.module_name=t.module_name.transform(e))}),xt(Zn,function(t,e){t.segments=tn(t.segments,e)}),xt(Yr,function(t,e){t.prefix=t.prefix.transform(e),t.template_string=t.template_string.transform(e)}),function(){var t=function(v){for(var d=0;d<v.length;d++)if(v[d]instanceof In&&v[d].body instanceof bt)v[d]=new ur({start:v[d].start,end:v[d].end,value:v[d].body.value});else return v;return v};const e=v=>v&&v.length>0?new jt({start:a(v),end:c(v),properties:v.map(d=>new an({start:a(d),end:c(d),key:d.key.name||d.key.value,value:p(d.value)}))}):null;var n={Program:function(v){return new Qt({start:a(v),end:c(v),body:t(v.body.map(p))})},ArrayPattern:function(v){return new qt({start:a(v),end:c(v),names:v.elements.map(function(d){return d===null?new Ur:p(d)}),is_array:!0})},ObjectPattern:function(v){return new qt({start:a(v),end:c(v),names:v.properties.map(p),is_array:!1})},AssignmentPattern:function(v){return new Mr({start:a(v),end:c(v),left:p(v.left),operator:"=",right:p(v.right)})},SpreadElement:function(v){return new gt({start:a(v),end:c(v),expression:p(v.argument)})},RestElement:function(v){return new gt({start:a(v),end:c(v),expression:p(v.argument)})},TemplateElement:function(v){return new Ti({start:a(v),end:c(v),value:v.value.cooked,raw:v.value.raw})},TemplateLiteral:function(v){for(var d=[],g=0;g<v.quasis.length;g++)d.push(p(v.quasis[g])),v.expressions[g]&&d.push(p(v.expressions[g]));return new Zn({start:a(v),end:c(v),segments:d})},TaggedTemplateExpression:function(v){return new Yr({start:a(v),end:c(v),template_string:p(v.quasi),prefix:p(v.tag)})},FunctionDeclaration:function(v){return new sn({start:a(v),end:c(v),name:p(v.id),argnames:v.params.map(p),is_generator:v.generator,async:v.async,body:t(p(v.body).body)})},FunctionExpression:function(v){return new Gt({start:a(v),end:c(v),name:p(v.id),argnames:v.params.map(p),is_generator:v.generator,async:v.async,body:t(p(v.body).body)})},ArrowFunctionExpression:function(v){const d=v.body.type==="BlockStatement"?p(v.body).body:[V(pn,{},{value:p(v.body)})];return new on({start:a(v),end:c(v),argnames:v.params.map(p),body:d,async:v.async})},ExpressionStatement:function(v){return new He({start:a(v),end:c(v),body:p(v.expression)})},TryStatement:function(v){var d=v.handlers||[v.handler];if(d.length>1||v.guardedHandlers&&v.guardedHandlers.length)throw new Error("Multiple catch clauses are not supported.");return new Ar({start:a(v),end:c(v),body:new Mu(p(v.block)),bcatch:p(d[0]),bfinally:v.finalizer?new Jo(p(v.finalizer)):null})},Property:function(v){var d=v.key,g={start:a(d||v.value),end:c(v.value),key:d.type=="Identifier"?d.name:d.value,value:p(v.value)};if(v.computed&&(g.key=p(v.key)),v.method)return g.is_generator=v.value.generator,g.async=v.value.async,v.computed?g.key=p(v.key):g.key=new $n({name:g.key}),new jn(g);if(v.kind=="init")return d.type!="Identifier"&&d.type!="Literal"&&(g.key=p(d)),new an(g);if((typeof g.key=="string"||typeof g.key=="number")&&(g.key=new $n({name:g.key})),g.value=new Hi(g.value),v.kind=="get")return new Qr(g);if(v.kind=="set")return new li(g);if(v.kind=="method")return g.async=v.value.async,g.is_generator=v.value.generator,g.quote=v.computed?'"':null,new jn(g)},MethodDefinition:function(v){const d=v.key.type==="PrivateIdentifier",g=v.computed?p(v.key):new $n({name:v.key.name||v.key.value});var A={start:a(v),end:c(v),key:g,value:p(v.value),static:v.static};return v.kind=="get"?new(d?ci:Qr)(A):v.kind=="set"?new(d?Ai:li)(A):(A.is_generator=v.value.generator,A.async=v.value.async,new(d?Ci:jn)(A))},FieldDefinition:function(v){let d;if(v.computed)d=p(v.key);else{if(v.key.type!=="Identifier")throw new Error("Non-Identifier key in FieldDefinition");d=p(v.key)}return new mr({start:a(v),end:c(v),key:d,value:p(v.value),static:v.static})},PropertyDefinition:function(v){let d;if(v.computed)d=p(v.key);else{if(v.key.type==="PrivateIdentifier")return new Di({start:a(v),end:c(v),key:p(v.key),value:p(v.value),static:v.static});if(v.key.type!=="Identifier")throw new Error("Non-Identifier key in PropertyDefinition");d=p(v.key)}return new mr({start:a(v),end:c(v),key:d,value:p(v.value),static:v.static})},PrivateIdentifier:function(v){return new bs({start:a(v),end:c(v),name:v.name})},StaticBlock:function(v){return new Jn({start:a(v),end:c(v),body:v.body.map(p)})},ArrayExpression:function(v){return new Ft({start:a(v),end:c(v),elements:v.elements.map(function(d){return d===null?new Ur:p(d)})})},ObjectExpression:function(v){return new jt({start:a(v),end:c(v),properties:v.properties.map(function(d){return d.type==="SpreadElement"||(d.type="Property"),p(d)})})},SequenceExpression:function(v){return new mt({start:a(v),end:c(v),expressions:v.expressions.map(p)})},MemberExpression:function(v){return v.property.type==="PrivateIdentifier"?new Zr({start:a(v),end:c(v),property:v.property.name,expression:p(v.object),optional:v.optional||!1}):new(v.computed?kn:Jt)({start:a(v),end:c(v),property:v.computed?p(v.property):v.property.name,expression:p(v.object),optional:v.optional||!1})},ChainExpression:function(v){return new Sn({start:a(v),end:c(v),expression:p(v.expression)})},SwitchCase:function(v){return new(v.test?ii:wo)({start:a(v),end:c(v),expression:p(v.test),body:v.consequent.map(p)})},VariableDeclaration:function(v){return new(v.kind==="const"?si:v.kind==="let"?ai:Pn)({start:a(v),end:c(v),definitions:v.declarations.map(p)})},ImportDeclaration:function(v){var d=null,g=null;return v.specifiers.forEach(function(A){A.type==="ImportSpecifier"||A.type==="ImportNamespaceSpecifier"?(g||(g=[]),g.push(p(A))):A.type==="ImportDefaultSpecifier"&&(d=p(A))}),new Lr({start:a(v),end:c(v),imported_name:d,imported_names:g,module_name:p(v.source),assert_clause:e(v.assertions)})},ImportSpecifier:function(v){return new ui({start:a(v),end:c(v),foreign_name:p(v.imported),name:p(v.local)})},ImportDefaultSpecifier:function(v){return p(v.local)},ImportNamespaceSpecifier:function(v){return new ui({start:a(v),end:c(v),foreign_name:new Ro({name:"*"}),name:p(v.local)})},ExportAllDeclaration:function(v){var d=v.exported==null?new wi({name:"*"}):p(v.exported);return new Rn({start:a(v),end:c(v),exported_names:[new ui({name:new wi({name:"*"}),foreign_name:d})],module_name:p(v.source),assert_clause:e(v.assertions)})},ExportNamedDeclaration:function(v){return new Rn({start:a(v),end:c(v),exported_definition:p(v.declaration),exported_names:v.specifiers&&v.specifiers.length?v.specifiers.map(p):null,module_name:p(v.source),assert_clause:e(v.assertions)})},ExportDefaultDeclaration:function(v){return new Rn({start:a(v),end:c(v),exported_value:p(v.declaration),is_default:!0})},ExportSpecifier:function(v){return new ui({foreign_name:p(v.exported),name:p(v.local)})},Literal:function(v){var d=v.value,g={start:a(v),end:c(v)},A=v.regex;if(A&&A.pattern)return g.value={source:A.pattern,flags:A.flags},new yr(g);if(A){const D=v.raw||d,P=D.match(/^\/(.*)\/(\w*)$/);if(!P)throw new Error("Invalid regex source "+D);const[U,H,B]=P;return g.value={source:H,flags:B},new yr(g)}if(d===null)return new gr(g);switch(typeof d){case"string":g.quote='"';var O=f[f.length-2];return O.type=="ImportSpecifier"?(g.name=d,new Ro(g)):O.type=="ExportSpecifier"?(g.name=d,v==O.exported?new wi(g):new Fo(g)):O.type=="ExportAllDeclaration"&&v==O.exported?(g.name=d,new wi(g)):(g.value=d,new bt(g));case"number":return g.value=d,g.raw=v.raw||d.toString(),new nt(g);case"boolean":return new(d?Cr:Yi)(g)}},MetaProperty:function(v){if(v.meta.name==="new"&&v.property.name==="target")return new ea({start:a(v),end:c(v)});if(v.meta.name==="import"&&v.property.name==="meta")return new Ki({start:a(v),end:c(v)})},Identifier:function(v){var d=f[f.length-2];return new(d.type=="LabeledStatement"?vs:d.type=="VariableDeclarator"&&d.id===v?d.kind=="const"?ho:d.kind=="let"?ta:Wi:/Import.*Specifier/.test(d.type)?d.local===v?na:Ro:d.type=="ExportSpecifier"?d.local===v?Fo:wi:d.type=="FunctionExpression"?d.id===v?hi:Ln:d.type=="FunctionDeclaration"?d.id===v?Oi:Ln:d.type=="ArrowFunctionExpression"?d.params.includes(v)?Ln:ke:d.type=="ClassExpression"?d.id===v?Vu:ke:d.type=="Property"?d.key===v&&d.computed||d.value===v?ke:$n:d.type=="PropertyDefinition"||d.type==="FieldDefinition"?d.key===v&&d.computed||d.value===v?ke:Xi:d.type=="ClassDeclaration"?d.id===v?Uu:ke:d.type=="MethodDefinition"?d.computed?ke:$n:d.type=="CatchClause"?ei:d.type=="BreakStatement"||d.type=="ContinueStatement"?Df:ke)({start:a(v),end:c(v),name:v.name})},BigIntLiteral(v){return new pi({start:a(v),end:c(v),value:v.value})},EmptyStatement:function(v){return new Ut({start:a(v),end:c(v)})},BlockStatement:function(v){return new tt({start:a(v),end:c(v),body:v.body.map(p)})},IfStatement:function(v){return new Vt({start:a(v),end:c(v),condition:p(v.test),body:p(v.consequent),alternative:p(v.alternate)})},LabeledStatement:function(v){return new rr({start:a(v),end:c(v),label:p(v.label),body:p(v.body)})},BreakStatement:function(v){return new Br({start:a(v),end:c(v),label:p(v.label)})},ContinueStatement:function(v){return new fo({start:a(v),end:c(v),label:p(v.label)})},WithStatement:function(v){return new xr({start:a(v),end:c(v),expression:p(v.object),body:p(v.body)})},SwitchStatement:function(v){return new Qn({start:a(v),end:c(v),expression:p(v.discriminant),body:v.cases.map(p)})},ReturnStatement:function(v){return new pn({start:a(v),end:c(v),value:p(v.argument)})},ThrowStatement:function(v){return new gs({start:a(v),end:c(v),value:p(v.argument)})},WhileStatement:function(v){return new $i({start:a(v),end:c(v),condition:p(v.test),body:p(v.body)})},DoWhileStatement:function(v){return new Si({start:a(v),end:c(v),condition:p(v.test),body:p(v.body)})},ForStatement:function(v){return new Dn({start:a(v),end:c(v),init:p(v.init),condition:p(v.test),step:p(v.update),body:p(v.body)})},ForInStatement:function(v){return new Yn({start:a(v),end:c(v),init:p(v.left),object:p(v.right),body:p(v.body)})},ForOfStatement:function(v){return new Oo({start:a(v),end:c(v),init:p(v.left),object:p(v.right),body:p(v.body),await:v.await})},AwaitExpression:function(v){return new Sr({start:a(v),end:c(v),expression:p(v.argument)})},YieldExpression:function(v){return new Tr({start:a(v),end:c(v),expression:p(v.argument),is_star:v.delegate})},DebuggerStatement:function(v){return new ji({start:a(v),end:c(v)})},VariableDeclarator:function(v){return new Kt({start:a(v),end:c(v),name:p(v.id),value:p(v.init)})},CatchClause:function(v){return new oi({start:a(v),end:c(v),argname:p(v.param),body:p(v.body).body})},ThisExpression:function(v){return new Hn({start:a(v),end:c(v)})},Super:function(v){return new ra({start:a(v),end:c(v)})},BinaryExpression:function(v){return v.left.type==="PrivateIdentifier"?new fi({start:a(v),end:c(v),key:new bs({start:a(v.left),end:c(v.left),name:v.left.name}),value:p(v.right)}):new pe({start:a(v),end:c(v),operator:v.operator,left:p(v.left),right:p(v.right)})},LogicalExpression:function(v){return new pe({start:a(v),end:c(v),operator:v.operator,left:p(v.left),right:p(v.right)})},AssignmentExpression:function(v){return new lt({start:a(v),end:c(v),operator:v.operator,left:p(v.left),right:p(v.right)})},ConditionalExpression:function(v){return new it({start:a(v),end:c(v),condition:p(v.test),consequent:p(v.consequent),alternative:p(v.alternate)})},NewExpression:function(v){return new cr({start:a(v),end:c(v),expression:p(v.callee),args:v.arguments.map(p)})},CallExpression:function(v){return new $e({start:a(v),end:c(v),expression:p(v.callee),optional:v.optional,args:v.arguments.map(p)})}};n.UpdateExpression=n.UnaryExpression=function(d){var g="prefix"in d?d.prefix:d.type=="UnaryExpression";return new(g?qe:zi)({start:a(d),end:c(d),operator:d.operator,expression:p(d.argument)})},n.ClassDeclaration=n.ClassExpression=function(d){return new(d.type==="ClassDeclaration"?Jr:ki)({start:a(d),end:c(d),name:p(d.id),extends:p(d.superClass),properties:d.body.body.map(p)})},b(Ut,function(){return{type:"EmptyStatement"}}),b(tt,function(d){return{type:"BlockStatement",body:d.body.map(x)}}),b(Vt,function(d){return{type:"IfStatement",test:x(d.condition),consequent:x(d.body),alternate:x(d.alternative)}}),b(rr,function(d){return{type:"LabeledStatement",label:x(d.label),body:x(d.body)}}),b(Br,function(d){return{type:"BreakStatement",label:x(d.label)}}),b(fo,function(d){return{type:"ContinueStatement",label:x(d.label)}}),b(xr,function(d){return{type:"WithStatement",object:x(d.expression),body:x(d.body)}}),b(Qn,function(d){return{type:"SwitchStatement",discriminant:x(d.expression),cases:d.body.map(x)}}),b(pn,function(d){return{type:"ReturnStatement",argument:x(d.value)}}),b(gs,function(d){return{type:"ThrowStatement",argument:x(d.value)}}),b($i,function(d){return{type:"WhileStatement",test:x(d.condition),body:x(d.body)}}),b(Si,function(d){return{type:"DoWhileStatement",test:x(d.condition),body:x(d.body)}}),b(Dn,function(d){return{type:"ForStatement",init:x(d.init),test:x(d.condition),update:x(d.step),body:x(d.body)}}),b(Yn,function(d){return{type:"ForInStatement",left:x(d.init),right:x(d.object),body:x(d.body)}}),b(Oo,function(d){return{type:"ForOfStatement",left:x(d.init),right:x(d.object),body:x(d.body),await:d.await}}),b(Sr,function(d){return{type:"AwaitExpression",argument:x(d.expression)}}),b(Tr,function(d){return{type:"YieldExpression",argument:x(d.expression),delegate:d.is_star}}),b(ji,function(){return{type:"DebuggerStatement"}}),b(Kt,function(d){return{type:"VariableDeclarator",id:x(d.name),init:x(d.value)}}),b(oi,function(d){return{type:"CatchClause",param:x(d.argname),body:F(d)}}),b(Hn,function(){return{type:"ThisExpression"}}),b(ra,function(){return{type:"Super"}}),b(pe,function(d){return{type:"BinaryExpression",operator:d.operator,left:x(d.left),right:x(d.right)}}),b(pe,function(d){return{type:"LogicalExpression",operator:d.operator,left:x(d.left),right:x(d.right)}}),b(lt,function(d){return{type:"AssignmentExpression",operator:d.operator,left:x(d.left),right:x(d.right)}}),b(it,function(d){return{type:"ConditionalExpression",test:x(d.condition),consequent:x(d.consequent),alternate:x(d.alternative)}}),b(cr,function(d){return{type:"NewExpression",callee:x(d.expression),arguments:d.args.map(x)}}),b($e,function(d){return{type:"CallExpression",callee:x(d.expression),optional:d.optional,arguments:d.args.map(x)}}),b(Qt,function(d){return R("Program",d)}),b(gt,function(d){return{type:w()?"RestElement":"SpreadElement",argument:x(d.expression)}}),b(Yr,function(d){return{type:"TaggedTemplateExpression",tag:x(d.prefix),quasi:x(d.template_string)}}),b(Zn,function(d){for(var g=[],A=[],O=0;O<d.segments.length;O++)O%2!==0?A.push(x(d.segments[O])):g.push({type:"TemplateElement",value:{raw:d.segments[O].raw,cooked:d.segments[O].value},tail:O===d.segments.length-1});return{type:"TemplateLiteral",quasis:g,expressions:A}}),b(sn,function(d){return{type:"FunctionDeclaration",id:x(d.name),params:d.argnames.map(x),generator:d.is_generator,async:d.async,body:R("BlockStatement",d)}}),b(Gt,function(d,g){var A=g.is_generator!==void 0?g.is_generator:d.is_generator;return{type:"FunctionExpression",id:x(d.name),params:d.argnames.map(x),generator:A,async:d.async,body:R("BlockStatement",d)}}),b(on,function(d){var g={type:"BlockStatement",body:d.body.map(x)};return{type:"ArrowFunctionExpression",params:d.argnames.map(x),async:d.async,body:g}}),b(qt,function(d){return d.is_array?{type:"ArrayPattern",elements:d.names.map(x)}:{type:"ObjectPattern",properties:d.names.map(x)}}),b(ur,function(d){return{type:"ExpressionStatement",expression:{type:"Literal",value:d.value,raw:d.print_to_string()},directive:d.value}}),b(He,function(d){return{type:"ExpressionStatement",expression:x(d.body)}}),b(Gi,function(d){return{type:"SwitchCase",test:x(d.expression),consequent:d.body.map(x)}}),b(Ar,function(d){return{type:"TryStatement",block:F(d.body),handler:x(d.bcatch),guardedHandlers:[],finalizer:x(d.bfinally)}}),b(oi,function(d){return{type:"CatchClause",param:x(d.argname),guard:null,body:F(d)}}),b(dn,function(d){return{type:"VariableDeclaration",kind:d instanceof si?"const":d instanceof ai?"let":"var",declarations:d.definitions.map(x)}});const r=v=>{const d=[];if(v)for(const{key:g,value:A}of v.properties){const O=Nu(g)?{type:"Identifier",name:g}:{type:"Literal",value:g,raw:JSON.stringify(g)};d.push({type:"ImportAttribute",key:O,value:x(A)})}return d};b(Rn,function(d){if(d.exported_names){var g=d.exported_names[0],A=g.name;if(A.name==="*"&&!A.quote){var O=g.foreign_name,D=O.name==="*"&&!O.quote?null:x(O);return{type:"ExportAllDeclaration",source:x(d.module_name),exported:D,assertions:r(d.assert_clause)}}return{type:"ExportNamedDeclaration",specifiers:d.exported_names.map(function(P){return{type:"ExportSpecifier",exported:x(P.foreign_name),local:x(P.name)}}),declaration:x(d.exported_definition),source:x(d.module_name),assertions:r(d.assert_clause)}}return{type:d.is_default?"ExportDefaultDeclaration":"ExportNamedDeclaration",declaration:x(d.exported_value||d.exported_definition)}}),b(Lr,function(d){var g=[];if(d.imported_name&&g.push({type:"ImportDefaultSpecifier",local:x(d.imported_name)}),d.imported_names){var A=d.imported_names[0].foreign_name;A.name==="*"&&!A.quote?g.push({type:"ImportNamespaceSpecifier",local:x(d.imported_names[0].name)}):d.imported_names.forEach(function(O){g.push({type:"ImportSpecifier",local:x(O.name),imported:x(O.foreign_name)})})}return{type:"ImportDeclaration",specifiers:g,source:x(d.module_name),assertions:r(d.assert_clause)}}),b(Ki,function(){return{type:"MetaProperty",meta:{type:"Identifier",name:"import"},property:{type:"Identifier",name:"meta"}}}),b(mt,function(d){return{type:"SequenceExpression",expressions:d.expressions.map(x)}}),b(Zr,function(d){return{type:"MemberExpression",object:x(d.expression),computed:!1,property:{type:"PrivateIdentifier",name:d.property},optional:d.optional}}),b(Xe,function(d){var g=d instanceof kn;return{type:"MemberExpression",object:x(d.expression),computed:g,property:g?x(d.property):{type:"Identifier",name:d.property},optional:d.optional}}),b(Sn,function(d){return{type:"ChainExpression",expression:x(d.expression)}}),b(en,function(d){return{type:d.operator=="++"||d.operator=="--"?"UpdateExpression":"UnaryExpression",operator:d.operator,prefix:d instanceof qe,argument:x(d.expression)}}),b(pe,function(d){return d.operator=="="&&w()?{type:"AssignmentPattern",left:x(d.left),right:x(d.right)}:{type:d.operator=="&&"||d.operator=="||"||d.operator==="??"?"LogicalExpression":"BinaryExpression",left:x(d.left),operator:d.operator,right:x(d.right)}}),b(fi,function(d){return{type:"BinaryExpression",left:{type:"PrivateIdentifier",name:d.key.name},operator:"in",right:x(d.value)}}),b(Ft,function(d){return{type:"ArrayExpression",elements:d.elements.map(x)}}),b(jt,function(d){return{type:"ObjectExpression",properties:d.properties.map(x)}}),b(_n,function(d,g){var A=d.key instanceof Oe?x(d.key):{type:"Identifier",value:d.key};typeof d.key=="number"&&(A={type:"Literal",value:Number(d.key)}),typeof d.key=="string"&&(A={type:"Identifier",name:d.key});var O,D=typeof d.key=="string"||typeof d.key=="number",P=D?!1:!(d.key instanceof vt)||d.key instanceof ke;return d instanceof an?(O="init",P=!D):d instanceof Qr?O="get":d instanceof li&&(O="set"),d instanceof ci||d instanceof Ai?{type:"MethodDefinition",computed:!1,kind:d instanceof ci?"get":"set",static:d.static,key:{type:"PrivateIdentifier",name:d.key.name},value:x(d.value)}:d instanceof Di?{type:"PropertyDefinition",key:{type:"PrivateIdentifier",name:d.key.name},value:x(d.value),computed:!1,static:d.static}:d instanceof mr?{type:"PropertyDefinition",key:A,value:x(d.value),computed:P,static:d.static}:g instanceof At?{type:"MethodDefinition",computed:P,kind:O,static:d.static,key:x(d.key),value:x(d.value)}:{type:"Property",computed:P,kind:O,key:A,value:x(d.value)}}),b(jn,function(d,g){if(g instanceof jt)return{type:"Property",computed:!(d.key instanceof vt)||d.key instanceof ke,kind:"init",method:!0,shorthand:!1,key:x(d.key),value:x(d.value)};const A=d instanceof Ci?{type:"PrivateIdentifier",name:d.key.name}:x(d.key);return{type:"MethodDefinition",kind:d.key==="constructor"?"constructor":"method",key:A,value:x(d.value),computed:!(d.key instanceof vt)||d.key instanceof ke,static:d.static}}),b(At,function(d){var g=d instanceof ki?"ClassExpression":"ClassDeclaration";return{type:g,superClass:x(d.extends),id:d.name?x(d.name):null,body:{type:"ClassBody",body:d.properties.map(x)}}}),b(Jn,function(d){return{type:"StaticBlock",body:d.body.map(x)}}),b(ea,function(){return{type:"MetaProperty",meta:{type:"Identifier",name:"new"},property:{type:"Identifier",name:"target"}}}),b(vt,function(d,g){if(d instanceof $n&&g.quote||(d instanceof Ro||d instanceof wi||d instanceof Fo)&&d.quote)return{type:"Literal",value:d.name};var A=d.definition();return{type:"Identifier",name:A?A.mangled_name||A.name:d.name}}),b(yr,function(d){const g=d.value.source,A=d.value.flags;return{type:"Literal",value:null,raw:d.print_to_string(),regex:{pattern:g,flags:A}}}),b(Nt,function(d){var g=d.value;return{type:"Literal",value:g,raw:d.raw||d.print_to_string()}}),b(po,function(d){return{type:"Identifier",name:String(d.value)}}),b(pi,v=>({type:"BigIntLiteral",value:v.value})),ju.DEFMETHOD("to_mozilla_ast",Nt.prototype.to_mozilla_ast),gr.DEFMETHOD("to_mozilla_ast",Nt.prototype.to_mozilla_ast),Ur.DEFMETHOD("to_mozilla_ast",function(){return null}),Cn.DEFMETHOD("to_mozilla_ast",tt.prototype.to_mozilla_ast),Ke.DEFMETHOD("to_mozilla_ast",Gt.prototype.to_mozilla_ast);function a(v){var d=v.loc,g=d&&d.start,A=v.range;return new Af("","",g&&g.line||0,g&&g.column||0,A?A[0]:v.start,!1,[],[],d&&d.source)}function c(v){var d=v.loc,g=d&&d.end,A=v.range;return new Af("","",g&&g.line||0,g&&g.column||0,A?A[0]:v.end,!1,[],[],d&&d.source)}var f=null;function p(v){f.push(v);var d=v!=null?n[v.type](v):null;return f.pop(),d}Oe.from_mozilla_ast=function(v){var d=f;f=[];var g=p(v);return f=d,g};function E(v,d){var g=v.start,A=v.end;return g&&A&&(g.pos!=null&&A.endpos!=null&&(d.range=[g.pos,A.endpos]),g.line&&(d.loc={start:{line:g.line,column:g.col},end:A.endline?{line:A.endline,column:A.endcol}:null},g.file&&(d.loc.source=g.file))),d}function b(v,d){v.DEFMETHOD("to_mozilla_ast",function(g){return E(this,d(this,g))})}var T=null;function x(v){T===null&&(T=[]),T.push(v);var d=v!=null?v.to_mozilla_ast(T[T.length-2]):null;return T.pop(),T.length===0&&(T=null),d}function w(){for(var v=T.length;v--;)if(T[v]instanceof qt)return!0;return!1}function F(v){return{type:"BlockStatement",body:v.body.map(x)}}function R(v,d){var g=d.body.map(x);return d.body[0]instanceof He&&d.body[0].body instanceof bt&&g.unshift(x(new Ut(d.body[0]))),{type:v,body:g}}}();function di(t){let e=t.parent(-1);for(let n=0,r;r=t.parent(n);n++){if(r instanceof In&&r.body===e)return!0;if(r instanceof mt&&r.expressions[0]===e||r.TYPE==="Call"&&r.expression===e||r instanceof Yr&&r.prefix===e||r instanceof Jt&&r.expression===e||r instanceof kn&&r.expression===e||r instanceof Sn&&r.expression===e||r instanceof it&&r.condition===e||r instanceof pe&&r.left===e||r instanceof zi&&r.expression===e)e=r;else return!1}}function Zi(t){return t instanceof jt?!0:t instanceof mt?Zi(t.expressions[0]):t.TYPE==="Call"?Zi(t.expression):t instanceof Yr?Zi(t.prefix):t instanceof Jt||t instanceof kn||t instanceof Sn?Zi(t.expression):t instanceof it?Zi(t.condition):t instanceof pe?Zi(t.left):t instanceof zi?Zi(t.expression):!1}const Pd=10,Bd=32,Ld=/[@#]__(PURE|INLINE|NOINLINE)__/;function Rg(t){return(t.type==="comment2"||t.type==="comment1")&&/@preserve|@copyright|@lic|@cc_on|^\**!/i.test(t.value)}const Fg=8*1e3;class Ng{constructor(){this.committed="",this.current=""}append(e){this.current.length>Fg?(this.committed+=this.current+e,this.current=""):this.current+=e}insertAt(e,n){const{committed:r,current:a}=this;n<r.length?this.committed=r.slice(0,n)+e+r.slice(n):n===r.length?this.committed+=e:(n-=r.length,this.committed+=a.slice(0,n)+e,this.current=a.slice(n))}charAt(e){const{committed:n}=this;return e<n.length?n[e]:this.current[e-n.length]}charCodeAt(e){const{committed:n}=this;return e<n.length?n.charCodeAt(e):this.current.charCodeAt(e-n.length)}length(){return this.committed.length+this.current.length}expectDirective(){let e,n=this.length();if(n<=0)return!0;for(;(e=this.charCodeAt(--n))&&(e==Bd||e==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!==Bd)return!1}return!0}toString(){return this.committed+this.current}}function wf(t){var e=!t;t=xi(t,{ascii_only:!1,beautify:!1,braces:!1,comments:"some",ecma:5,ie8:!1,indent_level:4,indent_start:0,inline_script:!0,keep_numbers:!1,keep_quoted_props:!1,max_line_len:!1,preamble:null,preserve_annotations:!1,quote_keys:!1,quote_style:0,safari10:!1,semicolons:!0,shebang:!0,shorthand:void 0,source_map:null,webkit:!1,width:80,wrap_iife:!1,wrap_func_args:!0,_destroy_ast:!1},!0),t.shorthand===void 0&&(t.shorthand=t.ecma>5);var n=Ot;if(t.comments){let le=t.comments;if(typeof t.comments=="string"&&/^\/.*\/[a-zA-Z]*$/.test(t.comments)){var r=t.comments.lastIndexOf("/");le=new RegExp(t.comments.substr(1,r-1),t.comments.substr(r+1))}le instanceof RegExp?n=function(we){return we.type!="comment5"&&le.test(we.value)}:typeof le=="function"?n=function(we){return we.type!="comment5"&&le(this,we)}:le==="some"?n=Rg:n=ar}if(t.preserve_annotations){let le=n;n=function(we){return Ld.test(we.value)||le.apply(this,arguments)}}var a=0,c=0,f=1,p=0,E=new Ng;let b=new Set;var T=t.ascii_only?function(le,we=!1,be=!1){return t.ecma>=2015&&!t.safari10&&!be&&(le=le.replace(/[\ud800-\udbff][\udc00-\udfff]/g,function(pt){var Et=Sg(pt,0).toString(16);return"\\u{"+Et+"}"})),le.replace(/[\u0000-\u001f\u007f-\uffff]/g,function(pt){var Et=pt.charCodeAt(0).toString(16);if(Et.length<=2&&!we){for(;Et.length<2;)Et="0"+Et;return"\\x"+Et}else{for(;Et.length<4;)Et="0"+Et;return"\\u"+Et}})}:function(le){return le.replace(/[\ud800-\udbff][\udc00-\udfff]|([\ud800-\udbff]|[\udc00-\udfff])/g,function(we,be){return be?"\\u"+be.charCodeAt(0).toString(16):we})};function x(le,we){var be=0,pt=0;le=le.replace(/[\\\b\f\n\r\v\t\x22\x27\u2028\u2029\0\ufeff]/g,function(Dt,It){switch(Dt){case'"':return++be,'"';case"'":return++pt,"'";case"\\":return"\\\\";case`
216
- `:return"\\n";case"\r":return"\\r";case" ":return"\\t";case"\b":return"\\b";case"\f":return"\\f";case"\v":return t.ie8?"\\x0B":"\\v";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";case"\uFEFF":return"\\ufeff";case"\0":return/[0-9]/.test(wu(le,It+1))?"\\x00":"\\0"}return Dt});function Et(){return"'"+le.replace(/\x27/g,"\\'")+"'"}function Rt(){return'"'+le.replace(/\x22/g,'\\"')+'"'}function yn(){return"`"+le.replace(/`/g,"\\`")+"`"}if(le=T(le),we==="`")return yn();switch(t.quote_style){case 1:return Et();case 2:return Rt();case 3:return we=="'"?Et():Rt();default:return be>pt?Et():Rt()}}function w(le,we){var be=x(le,we);return t.inline_script&&(be=be.replace(/<\x2f(script)([>\/\t\n\f\r ])/gi,"<\\/$1$2"),be=be.replace(/\x3c!--/g,"\\x3c!--"),be=be.replace(/--\x3e/g,"--\\x3e")),be}function F(le){return le=le.toString(),le=T(le,!0),le}function R(le){return" ".repeat(t.indent_start+a-le*t.indent_level)}var v=!1,d=!1,g=!1,A=0,O=!1,D=!1,P=-1,U="",H,B,G=t.source_map&&[],N=G?function(){G.forEach(function(le){try{let{name:we,token:be}=le;we!==!1&&(be.type=="name"||be.type==="privatename"?we=be.value:we instanceof vt&&(we=be.type==="string"?be.value:we.name)),t.source_map.add(le.token.file,le.line,le.col,le.token.line,le.token.col,Nu(we)?we:void 0)}catch{}}),G=[]}:Er,K=t.max_line_len?function(){if(c>t.max_line_len&&A){E.insertAt(`
217
- `,A);const we=E.length()-A-1;if(G){var le=we-c;G.forEach(function(be){be.line++,be.col+=le})}f++,p++,c=we}A&&(A=0,N())}:Er,Y=Bt("( [ + * / - , . `");function ne(le){le=String(le);var we=wu(le,0);O&&we&&(O=!1,we!==`
218
- `&&(ne(`
219
- `),ue())),D&&we&&(D=!1,/[\s;})]/.test(we)||re()),P=-1;var be=U.charAt(U.length-1);g&&(g=!1,(be===":"&&we==="}"||(!we||!";}".includes(we))&&be!==";")&&(t.semicolons||Y.has(we)?(E.append(";"),c++,p++):(K(),c>0&&(E.append(`
220
- `),p++,f++,c=0),/^\s+$/.test(le)&&(g=!0)),t.beautify||(d=!1))),d&&((Fu(be)&&(Fu(we)||we=="\\")||we=="/"&&we==be||(we=="+"||we=="-")&&we==U)&&(E.append(" "),c++,p++),d=!1),H&&(G.push({token:H,name:B,line:f,col:c}),H=!1,A||N()),E.append(le),v=le[le.length-1]=="(",p+=le.length;var pt=le.split(/\r?\n/),Et=pt.length-1;f+=Et,c+=pt[0].length,Et>0&&(K(),c=pt[Et].length),U=le}var se=function(){ne("*")},re=t.beautify?function(){ne(" ")}:function(){d=!0},ue=t.beautify?function(le){t.beautify&&ne(R(le?.5:0))}:Er,ce=t.beautify?function(le,we){le===!0&&(le=oe());var be=a;a=le;var pt=we();return a=be,pt}:function(le,we){return we()},Ee=t.beautify?function(){if(P<0)return ne(`
221
- `);E.charAt(P)!=`
222
- `&&(E.insertAt(`
223
- `,P),p++,f++),P++}:t.max_line_len?function(){K(),A=E.length()}:Er,Te=t.beautify?function(){ne(";")}:function(){g=!0};function _e(){g=!1,ne(";")}function oe(){return a+t.indent_level}function Z(le){var we;return ne("{"),Ee(),ce(oe(),function(){we=le()}),ue(),ne("}"),we}function J(le){ne("(");var we=le();return ne(")"),we}function te(le){ne("[");var we=le();return ne("]"),we}function ve(){ne(","),re()}function me(){ne(":"),re()}var Ze=G?function(le,we){H=le,B=we}:Er;function Ve(){return A&&K(),E.toString()}function ht(le){return t.preserve_annotations||(le=le.replace(Ld," ")),/^\s*$/.test(le)?"":le.replace(/(<\s*\/\s*)(script)/i,"<\\/$2")}function wt(le){var we=this,be=le.start;if(!be)return;var pt=we.printed_comments;const Et=le instanceof _r&&le.value||(le instanceof Sr||le instanceof Tr)&&le.expression;if(be.comments_before&&pt.has(be.comments_before))if(Et)be.comments_before=[];else return;var Rt=be.comments_before;if(Rt||(Rt=be.comments_before=[]),pt.add(Rt),Et){var yn=new Un(function(kt){var Pt=yn.parent();if(Pt instanceof _r||Pt instanceof Sr||Pt instanceof Tr||Pt instanceof pe&&Pt.left===kt||Pt.TYPE=="Call"&&Pt.expression===kt||Pt instanceof it&&Pt.condition===kt||Pt instanceof Jt&&Pt.expression===kt||Pt instanceof mt&&Pt.expressions[0]===kt||Pt instanceof kn&&Pt.expression===kt||Pt instanceof zi){if(!kt.start)return;var nn=kt.start.comments_before;nn&&!pt.has(nn)&&(pt.add(nn),Rt=Rt.concat(nn))}else return!0});yn.push(le),Et.walk(yn)}if(p==0){Rt.length>0&&t.shebang&&Rt[0].type==="comment5"&&!pt.has(Rt[0])&&(ne("#!"+Rt.shift().value+`
224
- `),ue());var Dt=t.preamble;Dt&&ne(Dt.replace(/\r\n?|[\n\u2028\u2029]|\s*$/g,`
225
- `))}if(Rt=Rt.filter(n,le).filter(kt=>!pt.has(kt)),Rt.length!=0){var It=E.hasNLB();Rt.forEach(function(kt,Pt){if(pt.add(kt),It||(kt.nlb?(ne(`
226
- `),ue(),It=!0):Pt>0&&re()),/comment[134]/.test(kt.type)){var nn=ht(kt.value);nn&&(ne("//"+nn+`
227
- `),ue()),It=!0}else if(kt.type=="comment2"){var nn=ht(kt.value);nn&&ne("/*"+nn+"*/"),It=!1}}),It||(be.nlb?(ne(`
228
- `),ue()):re())}}function yt(le,we){var be=this,pt=le.end;if(pt){var Et=be.printed_comments,Rt=pt[we?"comments_before":"comments_after"];if(!(!Rt||Et.has(Rt))&&(le instanceof In||Rt.every(Dt=>!/comment[134]/.test(Dt.type)))){Et.add(Rt);var yn=E.length();Rt.filter(n,le).forEach(function(Dt,It){if(!Et.has(Dt)){if(Et.add(Dt),D=!1,O?(ne(`
229
- `),ue(),O=!1):Dt.nlb&&(It>0||!E.hasNLB())?(ne(`
230
- `),ue()):(It>0||!we)&&re(),/comment[134]/.test(Dt.type)){const kt=ht(Dt.value);kt&&ne("//"+kt),O=!0}else if(Dt.type=="comment2"){const kt=ht(Dt.value);kt&&ne("/*"+kt+"*/"),D=!0}}}),E.length()>yn&&(P=yn)}}}const St=t._destroy_ast?function(we){we.body.length=0,we.argnames.length=0}:Er;var Ct=[];return{get:Ve,toString:Ve,indent:ue,in_directive:!1,use_asm:null,active_scope:null,indentation:function(){return a},current_width:function(){return c-a},should_break:function(){return t.width&&this.current_width()>=t.width},has_parens:function(){return v},newline:Ee,print:ne,star:se,space:re,comma:ve,colon:me,last:function(){return U},semicolon:Te,force_semicolon:_e,to_utf8:T,print_name:function(le){ne(F(le))},print_string:function(le,we,be){var pt=w(le,we);be===!0&&!pt.includes("\\")&&(E.expectDirective()||_e(),_e()),ne(pt)},print_template_string_chars:function(le){var we=w(le,"`").replace(/\${/g,"\\${");return ne(we.substr(1,we.length-2))},encode_string:w,next_indent:oe,with_indent:ce,with_block:Z,with_parens:J,with_square:te,add_mapping:Ze,option:function(le){return t[le]},gc_scope:St,printed_comments:b,prepend_comments:e?Er:wt,append_comments:e||n===Ot?Er:yt,line:function(){return f},col:function(){return c},pos:function(){return p},push_node:function(le){Ct.push(le)},pop_node:function(){return Ct.pop()},parent:function(le){return Ct[Ct.length-2-(le||0)]}}}(function(){function t(d,g){d.DEFMETHOD("_codegen",g)}Oe.DEFMETHOD("print",function(d,g){var A=this,O=A._codegen;A instanceof Ye?d.active_scope=A:!d.use_asm&&A instanceof ur&&A.value=="use asm"&&(d.use_asm=d.active_scope);function D(){d.prepend_comments(A),A.add_source_map(d),O(A,d),d.append_comments(A)}d.push_node(A),g||A.needs_parens(d)?d.with_parens(D):D(),d.pop_node(),A===d.use_asm&&(d.use_asm=null)}),Oe.DEFMETHOD("_print",Oe.prototype.print),Oe.DEFMETHOD("print_to_string",function(d){var g=wf(d);return this.print(g),g.get()});function e(d,g){Array.isArray(d)?d.forEach(function(A){e(A,g)}):d.DEFMETHOD("needs_parens",g)}e(Oe,Ot),e(Gt,function(d){if(!d.has_parens()&&di(d))return!0;if(d.option("webkit")){var g=d.parent();if(g instanceof Xe&&g.expression===this)return!0}if(d.option("wrap_iife")){var g=d.parent();if(g instanceof $e&&g.expression===this)return!0}if(d.option("wrap_func_args")){var g=d.parent();if(g instanceof $e&&g.args.includes(this))return!0}return!1}),e(on,function(d){var g=d.parent();return d.option("wrap_func_args")&&g instanceof $e&&g.args.includes(this)?!0:g instanceof Xe&&g.expression===this||g instanceof it&&g.condition===this}),e(jt,function(d){return!d.has_parens()&&di(d)}),e(ki,di),e(en,function(d){var g=d.parent();return g instanceof Xe&&g.expression===this||g instanceof $e&&g.expression===this||g instanceof pe&&g.operator==="**"&&this instanceof qe&&g.left===this&&this.operator!=="++"&&this.operator!=="--"}),e(Sr,function(d){var g=d.parent();return g instanceof Xe&&g.expression===this||g instanceof $e&&g.expression===this||g instanceof pe&&g.operator==="**"&&g.left===this||d.option("safari10")&&g instanceof qe}),e(mt,function(d){var g=d.parent();return g instanceof $e||g instanceof en||g instanceof pe||g instanceof Kt||g instanceof Xe||g instanceof Ft||g instanceof _n||g instanceof it||g instanceof on||g instanceof Mr||g instanceof gt||g instanceof Oo&&this===g.object||g instanceof Tr||g instanceof Rn}),e(pe,function(d){var g=d.parent();if(g instanceof $e&&g.expression===this||g instanceof en||g instanceof Xe&&g.expression===this)return!0;if(g instanceof pe){const A=g.operator,O=this.operator;if(O==="??"&&(A==="||"||A==="&&")||A==="??"&&(O==="||"||O==="&&"))return!0;const D=Pr[A],P=Pr[O];if(D>P||D==P&&(this===g.right||A=="**"))return!0}if(g instanceof fi){const A=this.operator,O=Pr.in,D=Pr[A];if(O>D||O==D&&this===g.value)return!0}}),e(fi,function(d){var g=d.parent();if(g instanceof $e&&g.expression===this||g instanceof en||g instanceof Xe&&g.expression===this)return!0;if(g instanceof pe){const A=g.operator,O=Pr[A],D=Pr.in;if(O>D||O==D&&(this===g.right||A=="**"))return!0}if(g instanceof fi&&this===g.value)return!0}),e(Tr,function(d){var g=d.parent();if(g instanceof pe&&g.operator!=="="||g instanceof $e&&g.expression===this||g instanceof it&&g.condition===this||g instanceof en||g instanceof Xe&&g.expression===this)return!0}),e(Sn,function(d){var g=d.parent();return g instanceof $e||g instanceof Xe?g.expression===this:!1}),e(Xe,function(d){var g=d.parent();if(g instanceof cr&&g.expression===this)return Mn(this,A=>{if(A instanceof Ye)return!0;if(A instanceof $e)return vr})}),e($e,function(d){var g=d.parent(),A;return g instanceof cr&&g.expression===this||g instanceof Rn&&g.is_default&&this.expression instanceof Gt?!0:this.expression instanceof Gt&&g instanceof Xe&&g.expression===this&&(A=d.parent(1))instanceof lt&&A.left===g}),e(cr,function(d){var g=d.parent();if(this.args.length===0&&(g instanceof Xe||g instanceof $e&&g.expression===this||g instanceof Yr&&g.prefix===this))return!0}),e(nt,function(d){var g=d.parent();if(g instanceof Xe&&g.expression===this){var A=this.getValue();if(A<0||/^0/.test(F(A)))return!0}}),e(pi,function(d){var g=d.parent();if(g instanceof Xe&&g.expression===this){var A=this.getValue();if(A.startsWith("-"))return!0}}),e([lt,it],function(d){var g=d.parent();if(g instanceof en||g instanceof pe&&!(g instanceof lt)||g instanceof $e&&g.expression===this||g instanceof it&&g.condition===this||g instanceof Xe&&g.expression===this||this instanceof lt&&this.left instanceof qt&&this.left.is_array===!1)return!0}),t(ur,function(d,g){g.print_string(d.value,d.quote),g.semicolon()}),t(gt,function(d,g){g.print("..."),d.expression.print(g)}),t(qt,function(d,g){g.print(d.is_array?"[":"{");var A=d.names.length;d.names.forEach(function(O,D){D>0&&g.comma(),O.print(g),D==A-1&&O instanceof Ur&&g.comma()}),g.print(d.is_array?"]":"}")}),t(ji,function(d,g){g.print("debugger"),g.semicolon()});function n(d,g,A,O){var D=d.length-1;A.in_directive=O,d.forEach(function(P,U){A.in_directive===!0&&!(P instanceof ur||P instanceof Ut||P instanceof He&&P.body instanceof bt)&&(A.in_directive=!1),P instanceof Ut||(A.indent(),P.print(A),U==D&&g||(A.newline(),g&&A.newline())),A.in_directive===!0&&P instanceof He&&P.body instanceof bt&&(A.in_directive=!1)}),A.in_directive=!1}ko.DEFMETHOD("_do_print_body",function(d){x(this.body,d)}),t(In,function(d,g){d.body.print(g),g.semicolon()}),t(Qt,function(d,g){n(d.body,!0,g,!0),g.print("")}),t(rr,function(d,g){d.label.print(g),g.colon(),d.body.print(g)}),t(He,function(d,g){d.body.print(g),g.semicolon()});function r(d,g){g.print("{"),g.with_indent(g.next_indent(),function(){g.append_comments(d,!0)}),g.add_mapping(d.end),g.print("}")}function a(d,g,A){d.body.length>0?g.with_block(function(){n(d.body,!1,g,A),g.add_mapping(d.end)}):r(d,g)}t(tt,function(d,g){a(d,g)}),t(Ut,function(d,g){g.semicolon()}),t(Si,function(d,g){g.print("do"),g.space(),R(d.body,g),g.space(),g.print("while"),g.space(),g.with_parens(function(){d.condition.print(g)}),g.semicolon()}),t($i,function(d,g){g.print("while"),g.space(),g.with_parens(function(){d.condition.print(g)}),g.space(),d._do_print_body(g)}),t(Dn,function(d,g){g.print("for"),g.space(),g.with_parens(function(){d.init?(d.init instanceof dn?d.init.print(g):f(d.init,g,!0),g.print(";"),g.space()):g.print(";"),d.condition?(d.condition.print(g),g.print(";"),g.space()):g.print(";"),d.step&&d.step.print(g)}),g.space(),d._do_print_body(g)}),t(Yn,function(d,g){g.print("for"),d.await&&(g.space(),g.print("await")),g.space(),g.with_parens(function(){d.init.print(g),g.space(),g.print(d instanceof Oo?"of":"in"),g.space(),d.object.print(g)}),g.space(),d._do_print_body(g)}),t(xr,function(d,g){g.print("with"),g.space(),g.with_parens(function(){d.expression.print(g)}),g.space(),d._do_print_body(g)}),Ke.DEFMETHOD("_do_print",function(d,g){var A=this;g||(A.async&&(d.print("async"),d.space()),d.print("function"),A.is_generator&&d.star(),A.name&&d.space()),A.name instanceof vt?A.name.print(d):g&&A.name instanceof Oe&&d.with_square(function(){A.name.print(d)}),d.with_parens(function(){A.argnames.forEach(function(O,D){D&&d.comma(),O.print(d)})}),d.space(),a(A,d,!0)}),t(Ke,function(d,g){d._do_print(g),g.gc_scope(d)}),t(Yr,function(d,g){var A=d.prefix,O=A instanceof Ke||A instanceof pe||A instanceof it||A instanceof mt||A instanceof en||A instanceof Jt&&A.expression instanceof jt;O&&g.print("("),d.prefix.print(g),O&&g.print(")"),d.template_string.print(g)}),t(Zn,function(d,g){var A=g.parent()instanceof Yr;g.print("`");for(var O=0;O<d.segments.length;O++)d.segments[O]instanceof Ti?A?g.print(d.segments[O].raw):g.print_template_string_chars(d.segments[O].value):(g.print("${"),d.segments[O].print(g),g.print("}"));g.print("`")}),t(Ti,function(d,g){g.print_template_string_chars(d.value)}),on.DEFMETHOD("_do_print",function(d){var g=this,A=d.parent(),O=A instanceof pe&&!(A instanceof lt)||A instanceof en||A instanceof $e&&g===A.expression;O&&d.print("("),g.async&&(d.print("async"),d.space()),g.argnames.length===1&&g.argnames[0]instanceof vt?g.argnames[0].print(d):d.with_parens(function(){g.argnames.forEach(function(P,U){U&&d.comma(),P.print(d)})}),d.space(),d.print("=>"),d.space();const D=g.body[0];if(g.body.length===1&&D instanceof pn){const P=D.value;P?Zi(P)?(d.print("("),P.print(d),d.print(")")):P.print(d):d.print("{}")}else a(g,d);O&&d.print(")"),d.gc_scope(g)}),_r.DEFMETHOD("_do_print",function(d,g){if(d.print(g),this.value){d.space();const A=this.value.start.comments_before;A&&A.length&&!d.printed_comments.has(A)?(d.print("("),this.value.print(d),d.print(")")):this.value.print(d)}d.semicolon()}),t(pn,function(d,g){d._do_print(g,"return")}),t(gs,function(d,g){d._do_print(g,"throw")}),t(Tr,function(d,g){var A=d.is_star?"*":"";g.print("yield"+A),d.expression&&(g.space(),d.expression.print(g))}),t(Sr,function(d,g){g.print("await"),g.space();var A=d.expression,O=!(A instanceof $e||A instanceof ke||A instanceof Xe||A instanceof en||A instanceof Nt||A instanceof Sr||A instanceof jt);O&&g.print("("),d.expression.print(g),O&&g.print(")")}),ri.DEFMETHOD("_do_print",function(d,g){d.print(g),this.label&&(d.space(),this.label.print(d)),d.semicolon()}),t(Br,function(d,g){d._do_print(g,"break")}),t(fo,function(d,g){d._do_print(g,"continue")});function c(d,g){var A=d.body;if(g.option("braces")||g.option("ie8")&&A instanceof Si)return R(A,g);if(!A)return g.force_semicolon();for(;;)if(A instanceof Vt){if(!A.alternative){R(d.body,g);return}A=A.alternative}else if(A instanceof ko)A=A.body;else break;x(d.body,g)}t(Vt,function(d,g){g.print("if"),g.space(),g.with_parens(function(){d.condition.print(g)}),g.space(),d.alternative?(c(d,g),g.space(),g.print("else"),g.space(),d.alternative instanceof Vt?d.alternative.print(g):x(d.alternative,g)):d._do_print_body(g)}),t(Qn,function(d,g){g.print("switch"),g.space(),g.with_parens(function(){d.expression.print(g)}),g.space();var A=d.body.length-1;A<0?r(d,g):g.with_block(function(){d.body.forEach(function(O,D){g.indent(!0),O.print(g),D<A&&O.body.length>0&&g.newline()})})}),Gi.DEFMETHOD("_do_print_body",function(d){d.newline(),this.body.forEach(function(g){d.indent(),g.print(d),d.newline()})}),t(wo,function(d,g){g.print("default:"),d._do_print_body(g)}),t(ii,function(d,g){g.print("case"),g.space(),d.expression.print(g),g.print(":"),d._do_print_body(g)}),t(Ar,function(d,g){g.print("try"),g.space(),d.body.print(g),d.bcatch&&(g.space(),d.bcatch.print(g)),d.bfinally&&(g.space(),d.bfinally.print(g))}),t(Mu,function(d,g){a(d,g)}),t(oi,function(d,g){g.print("catch"),d.argname&&(g.space(),g.with_parens(function(){d.argname.print(g)})),g.space(),a(d,g)}),t(Jo,function(d,g){g.print("finally"),g.space(),a(d,g)}),dn.DEFMETHOD("_do_print",function(d,g){d.print(g),d.space(),this.definitions.forEach(function(P,U){U&&d.comma(),P.print(d)});var A=d.parent(),O=A instanceof Dn||A instanceof Yn,D=!O||A&&A.init!==this;D&&d.semicolon()}),t(ai,function(d,g){d._do_print(g,"let")}),t(Pn,function(d,g){d._do_print(g,"var")}),t(si,function(d,g){d._do_print(g,"const")}),t(Lr,function(d,g){g.print("import"),g.space(),d.imported_name&&d.imported_name.print(g),d.imported_name&&d.imported_names&&(g.print(","),g.space()),d.imported_names&&(d.imported_names.length===1&&d.imported_names[0].foreign_name.name==="*"&&!d.imported_names[0].foreign_name.quote?d.imported_names[0].print(g):(g.print("{"),d.imported_names.forEach(function(A,O){g.space(),A.print(g),O<d.imported_names.length-1&&g.print(",")}),g.space(),g.print("}"))),(d.imported_name||d.imported_names)&&(g.space(),g.print("from"),g.space()),d.module_name.print(g),d.assert_clause&&(g.print("assert"),d.assert_clause.print(g)),g.semicolon()}),t(Ki,function(d,g){g.print("import.meta")}),t(ui,function(d,g){var A=g.parent()instanceof Lr,O=d.name.definition(),D=d.foreign_name,P=(O&&O.mangled_name||d.name.name)!==D.name;!P&&D.name==="*"&&D.quote!=d.name.quote&&(P=!0);var U=D.quote==null;P?(A?U?g.print(D.name):g.print_string(D.name,D.quote):d.name.quote==null?d.name.print(g):g.print_string(d.name.name,d.name.quote),g.space(),g.print("as"),g.space(),A?d.name.print(g):U?g.print(D.name):g.print_string(D.name,D.quote)):d.name.quote==null?d.name.print(g):g.print_string(d.name.name,d.name.quote)}),t(Rn,function(d,g){if(g.print("export"),g.space(),d.is_default&&(g.print("default"),g.space()),d.exported_names)d.exported_names.length===1&&d.exported_names[0].name.name==="*"&&!d.exported_names[0].name.quote?d.exported_names[0].print(g):(g.print("{"),d.exported_names.forEach(function(A,O){g.space(),A.print(g),O<d.exported_names.length-1&&g.print(",")}),g.space(),g.print("}"));else if(d.exported_value)d.exported_value.print(g);else if(d.exported_definition&&(d.exported_definition.print(g),d.exported_definition instanceof dn))return;d.module_name&&(g.space(),g.print("from"),g.space(),d.module_name.print(g)),d.assert_clause&&(g.print("assert"),d.assert_clause.print(g)),(d.exported_value&&!(d.exported_value instanceof sn||d.exported_value instanceof Gt||d.exported_value instanceof At)||d.module_name||d.exported_names)&&g.semicolon()});function f(d,g,A){var O=!1;A&&(O=Mn(d,D=>{if(D instanceof Ye&&!(D instanceof on))return!0;if(D instanceof pe&&D.operator=="in"||D instanceof fi)return vr})),d.print(g,O)}t(Kt,function(d,g){if(d.name.print(g),d.value){g.space(),g.print("="),g.space();var A=g.parent(1),O=A instanceof Dn||A instanceof Yn;f(d.value,g,O)}}),t($e,function(d,g){d.expression.print(g),!(d instanceof cr&&d.args.length===0)&&((d.expression instanceof $e||d.expression instanceof Ke)&&g.add_mapping(d.start),d.optional&&g.print("?."),g.with_parens(function(){d.args.forEach(function(A,O){O&&g.comma(),A.print(g)})}))}),t(cr,function(d,g){g.print("new"),g.space(),$e.prototype._codegen(d,g)}),mt.DEFMETHOD("_do_print",function(d){this.expressions.forEach(function(g,A){A>0&&(d.comma(),d.should_break()&&(d.newline(),d.indent())),g.print(d)})}),t(mt,function(d,g){d._do_print(g)}),t(Jt,function(d,g){var A=d.expression;A.print(g);var O=d.property,D=lo.has(O)?g.option("ie8"):!Cd(O,g.option("ecma")>=2015&&!g.option("safari10"));d.optional&&g.print("?."),D?(g.print("["),g.add_mapping(d.end),g.print_string(O),g.print("]")):(A instanceof nt&&A.getValue()>=0&&(/[xa-f.)]/i.test(g.last())||g.print(".")),d.optional||g.print("."),g.add_mapping(d.end),g.print_name(O))}),t(Zr,function(d,g){var A=d.expression;A.print(g);var O=d.property;d.optional&&g.print("?"),g.print(".#"),g.add_mapping(d.end),g.print_name(O)}),t(kn,function(d,g){d.expression.print(g),d.optional&&g.print("?."),g.print("["),d.property.print(g),g.print("]")}),t(Sn,function(d,g){d.expression.print(g)}),t(qe,function(d,g){var A=d.operator;A==="--"&&g.last().endsWith("!")&&g.print(" "),g.print(A),(/^[a-z]/i.test(A)||/[+-]$/.test(A)&&d.expression instanceof qe&&/^[+-]/.test(d.expression.operator))&&g.space(),d.expression.print(g)}),t(zi,function(d,g){d.expression.print(g),g.print(d.operator)}),t(pe,function(d,g){var A=d.operator;d.left.print(g),A[0]==">"&&g.last().endsWith("--")?g.print(" "):g.space(),g.print(A),g.space(),d.right.print(g)}),t(it,function(d,g){d.condition.print(g),g.space(),g.print("?"),g.space(),d.consequent.print(g),g.space(),g.colon(),d.alternative.print(g)}),t(Ft,function(d,g){g.with_square(function(){var A=d.elements,O=A.length;O>0&&g.space(),A.forEach(function(D,P){P&&g.comma(),D.print(g),P===O-1&&D instanceof Ur&&g.comma()}),O>0&&g.space()})}),t(jt,function(d,g){d.properties.length>0?g.with_block(function(){d.properties.forEach(function(A,O){O&&(g.print(","),g.newline()),g.indent(),A.print(g)}),g.newline()}):r(d,g)}),t(At,function(d,g){if(g.print("class"),g.space(),d.name&&(d.name.print(g),g.space()),d.extends){var A=!(d.extends instanceof ke)&&!(d.extends instanceof Xe)&&!(d.extends instanceof ki)&&!(d.extends instanceof Gt);g.print("extends"),A?g.print("("):g.space(),d.extends.print(g),A?g.print(")"):g.space()}d.properties.length>0?g.with_block(function(){d.properties.forEach(function(O,D){D&&g.newline(),g.indent(),O.print(g)}),g.newline()}):g.print("{}")}),t(ea,function(d,g){g.print("new.target")});function p(d,g,A){if(A.option("quote_keys"))return A.print_string(d),!1;if(""+ +d==d&&d>=0)return A.option("keep_numbers")?(A.print(d),!1):(A.print(F(d)),!1);var O=lo.has(d)?A.option("ie8"):A.option("ecma")<2015||A.option("safari10")?!Nu(d):!Cd(d,!0);return O||g&&A.option("keep_quoted_props")?(A.print_string(d,g),!1):(A.print_name(d),!0)}t(an,function(d,g){function A(D){var P=D.definition();return P?P.mangled_name||P.name:D.name}const O=g.option("shorthand")&&!(d.key instanceof Oe);O&&d.value instanceof vt&&A(d.value)===d.key&&!lo.has(d.key)?p(d.key,d.quote,g)||(g.colon(),d.value.print(g)):O&&d.value instanceof Mr&&d.value.left instanceof vt&&A(d.value.left)===d.key?(p(d.key,d.quote,g)||(g.colon(),d.value.left.print(g)),g.space(),g.print("="),g.space(),d.value.right.print(g)):(d.key instanceof Oe?g.with_square(function(){d.key.print(g)}):p(d.key,d.quote,g),g.colon(),d.value.print(g))}),t(Di,(d,g)=>{d.static&&(g.print("static"),g.space()),g.print("#"),p(d.key.name,d.quote,g),d.value&&(g.print("="),d.value.print(g)),g.semicolon()}),t(mr,(d,g)=>{d.static&&(g.print("static"),g.space()),d.key instanceof Xi?p(d.key.name,d.quote,g):(g.print("["),d.key.print(g),g.print("]")),d.value&&(g.print("="),d.value.print(g)),g.semicolon()}),_n.DEFMETHOD("_print_getter_setter",function(d,g,A){var O=this;O.static&&(A.print("static"),A.space()),d&&(A.print(d),A.space()),O.key instanceof $n?(g&&A.print("#"),p(O.key.name,O.quote,A),O.key.add_source_map(A)):A.with_square(function(){O.key.print(A)}),O.value._do_print(A,!0)}),t(li,function(d,g){d._print_getter_setter("set",!1,g)}),t(Qr,function(d,g){d._print_getter_setter("get",!1,g)}),t(Ai,function(d,g){d._print_getter_setter("set",!0,g)}),t(ci,function(d,g){d._print_getter_setter("get",!0,g)}),t(Ci,function(d,g){var A;d.is_generator&&d.async?A="async*":d.is_generator?A="*":d.async&&(A="async"),d._print_getter_setter(A,!0,g)}),t(fi,function(d,g){d.key.print(g),g.space(),g.print("in"),g.space(),d.value.print(g)}),t(bs,function(d,g){g.print("#"+d.name)}),t(jn,function(d,g){var A;d.is_generator&&d.async?A="async*":d.is_generator?A="*":d.async&&(A="async"),d._print_getter_setter(A,!1,g)}),t(Jn,function(d,g){g.print("static"),g.space(),a(d,g)}),vt.DEFMETHOD("_do_print",function(d){var g=this.definition();d.print_name(g?g.mangled_name||g.name:this.name)}),t(vt,function(d,g){d._do_print(g)}),t(Ur,Er),t(Hn,function(d,g){g.print("this")}),t(ra,function(d,g){g.print("super")}),t(Nt,function(d,g){g.print(d.getValue())}),t(bt,function(d,g){g.print_string(d.getValue(),d.quote,g.in_directive)}),t(nt,function(d,g){(g.option("keep_numbers")||g.use_asm)&&d.raw?g.print(d.raw):g.print(F(d.getValue()))}),t(pi,function(d,g){g.print(d.getValue()+"n")});const E=/(<\s*\/\s*script)/i,b=/^\s*script/i,T=(d,g)=>g.replace("/","\\/");t(yr,function(d,g){let{source:A,flags:O}=d.getValue();A=Au(A),O=O?hg(O):"",A=A.replace(E,T),b.test(A)&&g.last().endsWith("<")&&g.print(" "),g.print(g.to_utf8(`/${A}/${O}`,!1,!0));const D=g.parent();D instanceof pe&&/^\w/.test(D.operator)&&D.left===d&&g.print(" ")});function x(d,g){g.option("braces")?R(d,g):!d||d instanceof Ut?g.force_semicolon():d instanceof ai||d instanceof si||d instanceof At?R(d,g):d.print(g)}function w(d){for(var g=d[0],A=g.length,O=1;O<d.length;++O)d[O].length<A&&(g=d[O],A=g.length);return g}function F(d){var g=d.toString(10).replace(/^0\./,".").replace("e+","e"),A=[g];Math.floor(d)===d&&(d<0?A.push("-0x"+(-d).toString(16).toLowerCase()):A.push("0x"+d.toString(16).toLowerCase()));var O,D,P;return(O=/^\.0+/.exec(g))?(D=O[0].length,P=g.slice(D),A.push(P+"e-"+(P.length+D-1))):(O=/0+$/.exec(g))?(D=O[0].length,A.push(g.slice(0,-D)+"e"+D)):(O=/^(\d)\.(\d+)e(-?\d+)$/.exec(g))&&A.push(O[1]+O[2]+"e"+(O[3]-O[2].length)),w(A)}function R(d,g){!d||d instanceof Ut?g.print("{}"):d instanceof tt?d.print(g):g.with_block(function(){g.indent(),d.print(g),g.newline()})}function v(d,g){d.forEach(function(A){A.DEFMETHOD("add_source_map",g)})}v([Oe,rr,Qt],Er),v([Ft,tt,oi,At,Nt,ji,dn,ur,Jo,ys,Ke,cr,jt,ko,vt,Qn,Gi,Zn,Ti,Ar],function(d){d.add_mapping(this.start)}),v([Qr,li,ci,Ai,jn,Ci],function(d){d.add_mapping(this.start,!1)}),v([$n,bs],function(d){const g=this.end&&this.end.type;g==="name"||g==="privatename"?d.add_mapping(this.end,this.name):d.add_mapping(this.end)}),v([_n],function(d){d.add_mapping(this.start,this.key)})})();const Md=(t,e)=>t===null&&e===null||t.TYPE===e.TYPE&&t.shallow_cmp(e),Ig=(t,e)=>{if(!Md(t,e))return!1;const n=[t],r=[e],a=n.push.bind(n),c=r.push.bind(r);for(;n.length&&r.length;){const f=n.pop(),p=r.pop();if(!Md(f,p)||(f._children_backwards(a),p._children_backwards(c),n.length!==r.length))return!1}return n.length==0&&r.length==0},$t=()=>!0;Oe.prototype.shallow_cmp=function(){throw new Error("did not find a shallow_cmp function for "+this.constructor.name)},ji.prototype.shallow_cmp=$t,ur.prototype.shallow_cmp=function(t){return this.value===t.value},He.prototype.shallow_cmp=$t,Cn.prototype.shallow_cmp=$t,Ut.prototype.shallow_cmp=$t,rr.prototype.shallow_cmp=function(t){return this.label.name===t.label.name},Si.prototype.shallow_cmp=$t,$i.prototype.shallow_cmp=$t,Dn.prototype.shallow_cmp=function(t){return(this.init==null?t.init==null:this.init===t.init)&&(this.condition==null?t.condition==null:this.condition===t.condition)&&(this.step==null?t.step==null:this.step===t.step)},Yn.prototype.shallow_cmp=$t,Oo.prototype.shallow_cmp=$t,xr.prototype.shallow_cmp=$t,Qt.prototype.shallow_cmp=$t,gt.prototype.shallow_cmp=$t,Ke.prototype.shallow_cmp=function(t){return this.is_generator===t.is_generator&&this.async===t.async},qt.prototype.shallow_cmp=function(t){return this.is_array===t.is_array},Yr.prototype.shallow_cmp=$t,Zn.prototype.shallow_cmp=$t,Ti.prototype.shallow_cmp=function(t){return this.value===t.value},ys.prototype.shallow_cmp=$t,ri.prototype.shallow_cmp=$t,Sr.prototype.shallow_cmp=$t,Tr.prototype.shallow_cmp=function(t){return this.is_star===t.is_star},Vt.prototype.shallow_cmp=function(t){return this.alternative==null?t.alternative==null:this.alternative===t.alternative},Qn.prototype.shallow_cmp=$t,Gi.prototype.shallow_cmp=$t,Ar.prototype.shallow_cmp=function(t){return this.body===t.body&&(this.bcatch==null?t.bcatch==null:this.bcatch===t.bcatch)&&(this.bfinally==null?t.bfinally==null:this.bfinally===t.bfinally)},oi.prototype.shallow_cmp=function(t){return this.argname==null?t.argname==null:this.argname===t.argname},Jo.prototype.shallow_cmp=$t,dn.prototype.shallow_cmp=$t,Kt.prototype.shallow_cmp=function(t){return this.value==null?t.value==null:this.value===t.value},ui.prototype.shallow_cmp=$t,Lr.prototype.shallow_cmp=function(t){return(this.imported_name==null?t.imported_name==null:this.imported_name===t.imported_name)&&(this.imported_names==null?t.imported_names==null:this.imported_names===t.imported_names)},Ki.prototype.shallow_cmp=$t,Rn.prototype.shallow_cmp=function(t){return(this.exported_definition==null?t.exported_definition==null:this.exported_definition===t.exported_definition)&&(this.exported_value==null?t.exported_value==null:this.exported_value===t.exported_value)&&(this.exported_names==null?t.exported_names==null:this.exported_names===t.exported_names)&&this.module_name===t.module_name&&this.is_default===t.is_default},$e.prototype.shallow_cmp=$t,mt.prototype.shallow_cmp=$t,Xe.prototype.shallow_cmp=$t,Sn.prototype.shallow_cmp=$t,Jt.prototype.shallow_cmp=function(t){return this.property===t.property},Zr.prototype.shallow_cmp=function(t){return this.property===t.property},en.prototype.shallow_cmp=function(t){return this.operator===t.operator},pe.prototype.shallow_cmp=function(t){return this.operator===t.operator},it.prototype.shallow_cmp=$t,Ft.prototype.shallow_cmp=$t,jt.prototype.shallow_cmp=$t,_n.prototype.shallow_cmp=$t,an.prototype.shallow_cmp=function(t){return this.key===t.key},li.prototype.shallow_cmp=function(t){return this.static===t.static},Qr.prototype.shallow_cmp=function(t){return this.static===t.static},jn.prototype.shallow_cmp=function(t){return this.static===t.static&&this.is_generator===t.is_generator&&this.async===t.async},At.prototype.shallow_cmp=function(t){return(this.name==null?t.name==null:this.name===t.name)&&(this.extends==null?t.extends==null:this.extends===t.extends)},mr.prototype.shallow_cmp=function(t){return this.static===t.static},vt.prototype.shallow_cmp=function(t){return this.name===t.name},ea.prototype.shallow_cmp=$t,Hn.prototype.shallow_cmp=$t,ra.prototype.shallow_cmp=$t,bt.prototype.shallow_cmp=function(t){return this.value===t.value},nt.prototype.shallow_cmp=function(t){return this.value===t.value},pi.prototype.shallow_cmp=function(t){return this.value===t.value},yr.prototype.shallow_cmp=function(t){return this.value.flags===t.value.flags&&this.value.source===t.value.source},po.prototype.shallow_cmp=$t;const $u=1,Pg=2;let ia=null,oa=null,aa=null;class sa{constructor(e,n,r){this.name=n.name,this.orig=[n],this.init=r,this.eliminated=0,this.assignments=0,this.scope=e,this.replaced=0,this.global=!1,this.export=0,this.mangled_name=null,this.undeclared=!1,this.id=sa.next_id++,this.chained=!1,this.direct_access=!1,this.escaped=0,this.recursive_refs=0,this.references=[],this.should_replace=void 0,this.single_use=!1,this.fixed=!1,Object.seal(this)}fixed_value(){return!this.fixed||this.fixed instanceof Oe?this.fixed:this.fixed()}unmangleable(e){return e||(e={}),ia&&ia.has(this.id)&&Qo(e.keep_fnames,this.orig[0].name)?!0:this.global&&!e.toplevel||this.export&$u||this.undeclared||!e.eval&&this.scope.pinned()||(this.orig[0]instanceof hi||this.orig[0]instanceof Oi)&&Qo(e.keep_fnames,this.orig[0].name)||this.orig[0]instanceof $n||(this.orig[0]instanceof Vu||this.orig[0]instanceof Uu)&&Qo(e.keep_classnames,this.orig[0].name)}mangle(e){const n=e.cache&&e.cache.props;if(this.global&&n&&n.has(this.name))this.mangled_name=n.get(this.name);else if(!this.mangled_name&&!this.unmangleable(e)){var r=this.scope,a=this.orig[0];e.ie8&&a instanceof hi&&(r=r.parent_scope);const c=Rf(this);this.mangled_name=c?c.mangled_name||c.name:r.next_mangled(e,this),this.global&&n&&n.set(this.name,this.mangled_name)}}}sa.next_id=1;function Rf(t){if(t.orig[0]instanceof ei&&t.scope.is_block_scope())return t.scope.get_defun_scope().variables.get(t.name)}Ye.DEFMETHOD("figure_out_scope",function(t,{parent_scope:e=null,toplevel:n=this}={}){if(t=xi(t,{cache:null,ie8:!1,safari10:!1,module:!1}),!(n instanceof Qt))throw new Error("Invalid toplevel scope");var r=this.parent_scope=e,a=new Map,c=null,f=null,p=[],T=new Un((x,w)=>{if(x.is_block_scope()){const D=r;if(x.block_scope=r=new Ye(x),r._block_scope=!0,r.init_scope_vars(D),r.uses_with=D.uses_with,r.uses_eval=D.uses_eval,t.safari10&&(x instanceof Dn||x instanceof Yn||x instanceof Oo)&&p.push(r),x instanceof Qn){const P=r;r=D,x.expression.walk(T),r=P;for(let U=0;U<x.body.length;U++)x.body[U].walk(T)}else w();return r=D,!0}if(x instanceof qt){const D=f;return f=x,w(),f=D,!0}if(x instanceof Ye){x.init_scope_vars(r);var F=r,R=c,v=a;return c=r=x,a=new Map,w(),r=F,c=R,a=v,!0}if(x instanceof rr){var d=x.label;if(a.has(d.name))throw new Error(Su("Label {name} defined twice",d));return a.set(d.name,d),w(),a.delete(d.name),!0}if(x instanceof xr){for(var g=r;g;g=g.parent_scope)g.uses_with=!0;return}if(x instanceof vt&&(x.scope=r),x instanceof vs&&(x.thedef=x,x.references=[]),x instanceof hi)c.def_function(x,x.name=="arguments"?void 0:c);else if(x instanceof Oi){const D=c.parent_scope;x.scope=T.directives["use strict"]?D:D.get_defun_scope(),E(x.scope.def_function(x,c),1)}else if(x instanceof Vu)E(c.def_variable(x,c),1);else if(x instanceof na)r.def_variable(x);else if(x instanceof Uu)E((x.scope=c.parent_scope).def_function(x,c),1);else if(x instanceof Wi||x instanceof ta||x instanceof ho||x instanceof ei){var A;if(x instanceof qi?A=r.def_variable(x,null):A=c.def_variable(x,x.TYPE=="SymbolVar"?null:void 0),A.orig.every(D=>D===x?!0:x instanceof qi?D instanceof hi:!(D instanceof ta||D instanceof ho))||Iu(`"${x.name}" is redeclared`,x.start.file,x.start.line,x.start.col,x.start.pos),x instanceof Ln||E(A,2),c!==r){x.mark_enclosed();var A=r.find_variable(x);x.thedef!==A&&(x.thedef=A,x.reference())}}else if(x instanceof Df){var O=a.get(x.name);if(!O)throw new Error(Su("Undefined label {name} [{line},{col}]",{name:x.name,line:x.start.line,col:x.start.col}));x.thedef=O}!(r instanceof Qt)&&(x instanceof Rn||x instanceof Lr)&&Iu(`"${x.TYPE}" statement may only appear at the top level`,x.start.file,x.start.line,x.start.col,x.start.pos)});t.module&&(T.directives["use strict"]=!0),this.walk(T);function E(x,w){if(f){var F=0;do w++;while(T.parent(F++)!==f)}var R=T.parent(w);if(x.export=R instanceof Rn?$u:0){var v=R.exported_definition;(v instanceof sn||v instanceof Jr)&&R.is_default&&(x.export=Pg)}}this instanceof Qt&&(this.globals=new Map);var T=new Un(x=>{if(x instanceof ri&&x.label)return x.label.thedef.references.push(x),!0;if(x instanceof ke){var w=x.name;if(w=="eval"&&T.parent()instanceof $e)for(var F=x.scope;F&&!F.uses_eval;F=F.parent_scope)F.uses_eval=!0;var R;return T.parent()instanceof ui&&T.parent(1).module_name||!(R=x.scope.find_variable(w))?(R=n.def_global(x),x instanceof Fo&&(R.export=$u)):R.scope instanceof Ke&&w=="arguments"&&(R.scope.get_defun_scope().uses_arguments=!0),x.thedef=R,x.reference(),x.scope.is_block_scope()&&!(R.orig[0]instanceof qi)&&(x.scope=x.scope.get_defun_scope()),!0}var v;if(x instanceof ei&&(v=Rf(x.definition())))for(var F=x.scope;F&&(Co(F.enclosed,v),F!==v.scope);)F=F.parent_scope});if(this.walk(T),(t.ie8||t.safari10)&&Mn(this,x=>{if(x instanceof ei){var w=x.name,F=x.thedef.references,R=x.scope.get_defun_scope(),v=R.find_variable(w)||n.globals.get(w)||R.def_variable(x);return F.forEach(function(d){d.thedef=v,d.reference()}),x.thedef=v,x.reference(),!0}}),t.safari10)for(const x of p)x.parent_scope.variables.forEach(function(w){Co(x.enclosed,w)})}),Qt.DEFMETHOD("def_global",function(t){var e=this.globals,n=t.name;if(e.has(n))return e.get(n);var r=new sa(this,t);return r.undeclared=!0,r.global=!0,e.set(n,r),r}),Ye.DEFMETHOD("init_scope_vars",function(t){this.variables=new Map,this.uses_with=!1,this.uses_eval=!1,this.parent_scope=t,this.enclosed=[],this.cname=-1}),Ye.DEFMETHOD("conflicting_def",function(t){return this.enclosed.find(e=>e.name===t)||this.variables.has(t)||this.parent_scope&&this.parent_scope.conflicting_def(t)}),Ye.DEFMETHOD("conflicting_def_shallow",function(t){return this.enclosed.find(e=>e.name===t)||this.variables.has(t)}),Ye.DEFMETHOD("add_child_scope",function(t){if(t.parent_scope===this)return;t.parent_scope=this,t instanceof on&&!this.uses_arguments&&(this.uses_arguments=Mn(t,a=>{if(a instanceof ke&&a.scope instanceof Ke&&a.name==="arguments")return vr;if(a instanceof Ke&&!(a instanceof on))return!0})),this.uses_with=this.uses_with||t.uses_with,this.uses_eval=this.uses_eval||t.uses_eval;const e=(()=>{const a=[];let c=this;do a.push(c);while(c=c.parent_scope);return a.reverse(),a})(),n=new Set(t.enclosed),r=[];for(const a of e){r.forEach(c=>Co(a.enclosed,c));for(const c of a.variables.values())n.has(c)&&(Co(r,c),Co(a.enclosed,c))}});function Bg(t){const e=new Set;for(const n of new Set(t))(function r(a){a==null||e.has(a)||(e.add(a),r(a.parent_scope))})(n);return[...e]}Ye.DEFMETHOD("create_symbol",function(t,{source:e,tentative_name:n,scope:r,conflict_scopes:a=[r],init:c=null}={}){let f;if(a=Bg(a),n){n=f=n.replace(/(?:^[^a-z_$]|[^a-z0-9_$])/ig,"_");let E=0;for(;a.find(b=>b.conflicting_def_shallow(f));)f=n+"$"+E++}if(!f)throw new Error("No symbol name could be generated in create_symbol()");const p=V(t,e,{name:f,scope:r});return this.def_variable(p,c||null),p.mark_enclosed(),p}),Oe.DEFMETHOD("is_block_scope",Ot),At.DEFMETHOD("is_block_scope",Ot),Ke.DEFMETHOD("is_block_scope",Ot),Qt.DEFMETHOD("is_block_scope",Ot),Gi.DEFMETHOD("is_block_scope",Ot),Cn.DEFMETHOD("is_block_scope",ar),Ye.DEFMETHOD("is_block_scope",function(){return this._block_scope||!1}),Xr.DEFMETHOD("is_block_scope",ar),Ke.DEFMETHOD("init_scope_vars",function(){Ye.prototype.init_scope_vars.apply(this,arguments),this.uses_arguments=!1,this.def_variable(new Ln({name:"arguments",start:this.start,end:this.end}))}),on.DEFMETHOD("init_scope_vars",function(){Ye.prototype.init_scope_vars.apply(this,arguments),this.uses_arguments=!1}),vt.DEFMETHOD("mark_enclosed",function(){for(var t=this.definition(),e=this.scope;e&&(Co(e.enclosed,t),e!==t.scope);)e=e.parent_scope}),vt.DEFMETHOD("reference",function(){this.definition().references.push(this),this.mark_enclosed()}),Ye.DEFMETHOD("find_variable",function(t){return t instanceof vt&&(t=t.name),this.variables.get(t)||this.parent_scope&&this.parent_scope.find_variable(t)}),Ye.DEFMETHOD("def_function",function(t,e){var n=this.def_variable(t,e);return(!n.init||n.init instanceof sn)&&(n.init=e),n}),Ye.DEFMETHOD("def_variable",function(t,e){var n=this.variables.get(t.name);return n?(n.orig.push(t),n.init&&(n.scope!==t.scope||n.init instanceof Gt)&&(n.init=e)):(n=new sa(this,t,e),this.variables.set(t.name,n),n.global=!this.parent_scope),t.thedef=n});function Ff(t,e){let n;aa&&(n=t.get_defun_scope())&&aa.has(n)&&(t=n);var r=t.enclosed,a=e.nth_identifier;e:for(;;){var c=a.get(++t.cname);if(!lo.has(c)&&!e.reserved.has(c)){if(oa&&oa.has(c))continue e;for(let f=r.length;--f>=0;){const p=r[f],E=p.mangled_name||p.unmangleable(e)&&p.name;if(c==E)continue e}return c}}}Ye.DEFMETHOD("next_mangled",function(t){return Ff(this,t)}),Qt.DEFMETHOD("next_mangled",function(t){let e;const n=this.mangled_names;do e=Ff(this,t);while(n.has(e));return e}),Gt.DEFMETHOD("next_mangled",function(t,e){for(var n=e.orig[0]instanceof Ln&&this.name&&this.name.definition(),r=n?n.mangled_name||n.name:null;;){var a=Ff(this,t);if(!r||r!=a)return a}}),vt.DEFMETHOD("unmangleable",function(t){var e=this.definition();return!e||e.unmangleable(t)}),vs.DEFMETHOD("unmangleable",Ot),vt.DEFMETHOD("unreferenced",function(){return!this.definition().references.length&&!this.scope.pinned()}),vt.DEFMETHOD("definition",function(){return this.thedef}),vt.DEFMETHOD("global",function(){return this.thedef.global});function Hu(t){return t=xi(t,{eval:!1,nth_identifier:Ts,ie8:!1,keep_classnames:!1,keep_fnames:!1,module:!1,reserved:[],toplevel:!1}),t.module&&(t.toplevel=!0),!Array.isArray(t.reserved)&&!(t.reserved instanceof Set)&&(t.reserved=[]),t.reserved=new Set(t.reserved),t.reserved.add("arguments"),t}Qt.DEFMETHOD("mangle_names",function(t){t=Hu(t);var e=t.nth_identifier,n=-1,r=[];t.keep_fnames&&(ia=new Set);const a=this.mangled_names=new Set;oa=new Set,t.cache&&(this.globals.forEach(f),t.cache.props&&t.cache.props.forEach(function(p){a.add(p)}));var c=new Un(function(p,E){if(p instanceof rr){var b=n;return E(),n=b,!0}if(p instanceof sn&&!(c.parent()instanceof Ye)&&(aa=aa||new Set,aa.add(p.parent_scope.get_defun_scope())),p instanceof Ye){p.variables.forEach(f);return}if(p.is_block_scope()){p.block_scope.variables.forEach(f);return}if(ia&&p instanceof Kt&&p.value instanceof Ke&&!p.value.name&&Qo(t.keep_fnames,p.name.name)){ia.add(p.name.definition().id);return}if(p instanceof vs){let T;do T=e.get(++n);while(lo.has(T));return p.mangled_name=T,!0}if(!(t.ie8||t.safari10)&&p instanceof ei){r.push(p.definition());return}});this.walk(c),(t.keep_fnames||t.keep_classnames)&&r.forEach(p=>{p.name.length<6&&p.unmangleable(t)&&oa.add(p.name)}),r.forEach(p=>{p.mangle(t)}),ia=null,oa=null,aa=null;function f(p){p.export&$u?oa.add(p.name):t.reserved.has(p.name)||r.push(p)}}),Qt.DEFMETHOD("find_colliding_names",function(t){const e=t.cache&&t.cache.props,n=new Set;return t.reserved.forEach(r),this.globals.forEach(a),this.walk(new Un(function(c){c instanceof Ye&&c.variables.forEach(a),c instanceof ei&&a(c.definition())})),n;function r(c){n.add(c)}function a(c){var f=c.name;if(c.global&&e&&e.has(f))f=e.get(f);else if(!c.unmangleable(t))return;r(f)}}),Qt.DEFMETHOD("expand_names",function(t){t=Hu(t);var e=t.nth_identifier;e.reset&&e.sort&&(e.reset(),e.sort());var n=this.find_colliding_names(t),r=0;this.globals.forEach(c),this.walk(new Un(function(f){f instanceof Ye&&f.variables.forEach(c),f instanceof ei&&c(f.definition())}));function a(){var f;do f=e.get(r++);while(n.has(f)||lo.has(f));return f}function c(f){if(f.global&&t.cache||f.unmangleable(t)||t.reserved.has(f.name))return;const p=Rf(f),E=f.name=p?p.name:a();f.orig.forEach(function(b){b.name=E}),f.references.forEach(function(b){b.name=E})}}),Oe.DEFMETHOD("tail_node",Ao),mt.DEFMETHOD("tail_node",function(){return this.expressions[this.expressions.length-1]}),Qt.DEFMETHOD("compute_char_frequency",function(t){t=Hu(t);var e=t.nth_identifier;if(!e.reset||!e.consider||!e.sort)return;e.reset();try{Oe.prototype.print=function(r,a){this._print(r,a),this instanceof vt&&!this.unmangleable(t)?e.consider(this.name,-1):t.properties&&(this instanceof Zr?e.consider("#"+this.property,-1):this instanceof Jt?e.consider(this.property,-1):this instanceof kn&&n(this.property))},e.consider(this.print_to_string(),1)}finally{Oe.prototype.print=Oe.prototype._print}e.sort();function n(r){r instanceof bt?e.consider(r.value,-1):r instanceof it?(n(r.consequent),n(r.alternative)):r instanceof mt&&n(r.tail_node())}});const Ts=(()=>{const t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_".split(""),e="0123456789".split("");let n,r;function a(){r=new Map,t.forEach(function(b){r.set(b,0)}),e.forEach(function(b){r.set(b,0)})}function c(b,T){for(var x=b.length;--x>=0;)r.set(b[x],r.get(b[x])+T)}function f(b,T){return r.get(T)-r.get(b)}function p(){n=gd(t,f).concat(gd(e,f))}a(),p();function E(b){var T="",x=54;b++;do b--,T+=n[b%x],b=Math.floor(b/x),x=64;while(b>0);return T}return{get:E,consider:c,reset:a,sort:p}})();let Gu;Oe.prototype.size=function(t,e){Gu=t&&t._mangle_options;let n=0;return Id(this,(r,a)=>{if(n+=r._size(a),r instanceof on&&r.is_braceless())return n+=r.body[0].value._size(a),!0},e||t&&t.stack),Gu=void 0,n},Oe.prototype._size=()=>0,ji.prototype._size=()=>8,ur.prototype._size=function(){return 2+this.value.length};const cn=t=>t.length&&t.length-1;Cn.prototype._size=function(){return 2+cn(this.body)},Qt.prototype._size=function(){return cn(this.body)},Ut.prototype._size=()=>1,rr.prototype._size=()=>2,Si.prototype._size=()=>9,$i.prototype._size=()=>7,Dn.prototype._size=()=>8,Yn.prototype._size=()=>8,xr.prototype._size=()=>6,gt.prototype._size=()=>3;const As=t=>(t.is_generator?1:0)+(t.async?6:0);Hi.prototype._size=function(){return As(this)+4+cn(this.argnames)+cn(this.body)},Gt.prototype._size=function(t){return!!di(t)*2+As(this)+12+cn(this.argnames)+cn(this.body)},sn.prototype._size=function(){return As(this)+13+cn(this.argnames)+cn(this.body)},on.prototype._size=function(){let t=2+cn(this.argnames);this.argnames.length===1&&this.argnames[0]instanceof vt||(t+=2);const e=this.is_braceless()?0:cn(this.body)+2;return As(this)+t+e},qt.prototype._size=()=>2,Zn.prototype._size=function(){return 2+Math.floor(this.segments.length/2)*3},Ti.prototype._size=function(){return this.value.length},pn.prototype._size=function(){return this.value?7:6},gs.prototype._size=()=>6,Br.prototype._size=function(){return this.label?6:5},fo.prototype._size=function(){return this.label?9:8},Vt.prototype._size=()=>4,Qn.prototype._size=function(){return 8+cn(this.body)},ii.prototype._size=function(){return 5+cn(this.body)},wo.prototype._size=function(){return 8+cn(this.body)},Ar.prototype._size=()=>3,oi.prototype._size=function(){let t=7+cn(this.body);return this.argname&&(t+=2),t},Jo.prototype._size=function(){return 7+cn(this.body)},Pn.prototype._size=function(){return 4+cn(this.definitions)},ai.prototype._size=function(){return 4+cn(this.definitions)},si.prototype._size=function(){return 6+cn(this.definitions)},Kt.prototype._size=function(){return this.value?1:0},ui.prototype._size=function(){return this.name?4:0},Lr.prototype._size=function(){let t=6;return this.imported_name&&(t+=1),(this.imported_name||this.imported_names)&&(t+=5),this.imported_names&&(t+=2+cn(this.imported_names)),t},Ki.prototype._size=()=>11,Rn.prototype._size=function(){let t=7+(this.is_default?8:0);return this.exported_value&&(t+=this.exported_value._size()),this.exported_names&&(t+=2+cn(this.exported_names)),this.module_name&&(t+=5),t},$e.prototype._size=function(){return this.optional?4+cn(this.args):2+cn(this.args)},cr.prototype._size=function(){return 6+cn(this.args)},mt.prototype._size=function(){return cn(this.expressions)},Jt.prototype._size=function(){return this.optional?this.property.length+2:this.property.length+1},Zr.prototype._size=function(){return this.optional?this.property.length+3:this.property.length+2},kn.prototype._size=function(){return this.optional?4:2},en.prototype._size=function(){return this.operator==="typeof"?7:this.operator==="void"?5:this.operator.length},pe.prototype._size=function(t){if(this.operator==="in")return 4;let e=this.operator.length;return(this.operator==="+"||this.operator==="-")&&this.right instanceof en&&this.right.operator===this.operator&&(e+=1),this.needs_parens(t)&&(e+=2),e},it.prototype._size=()=>3,Ft.prototype._size=function(){return 2+cn(this.elements)},jt.prototype._size=function(t){let e=2;return di(t)&&(e+=2),e+cn(this.properties)};const Ku=t=>typeof t=="string"?t.length:0;an.prototype._size=function(){return Ku(this.key)+1};const zu=t=>t?7:0;Qr.prototype._size=function(){return 5+zu(this.static)+Ku(this.key)},li.prototype._size=function(){return 5+zu(this.static)+Ku(this.key)},jn.prototype._size=function(){return zu(this.static)+Ku(this.key)+As(this)},Ci.prototype._size=function(){return jn.prototype._size.call(this)+1},ci.prototype._size=Ai.prototype._size=function(){return jn.prototype._size.call(this)+4},fi.prototype._size=function(){return 5},At.prototype._size=function(){return(this.name?8:7)+(this.extends?8:0)},Jn.prototype._size=function(){return 8+cn(this.body)},mr.prototype._size=function(){return zu(this.static)+(typeof this.key=="string"?this.key.length+2:0)+(this.value?1:0)},Di.prototype._size=function(){return mr.prototype._size.call(this)+1},vt.prototype._size=function(){return Gu&&this.thedef&&!this.thedef.unmangleable(Gu)?1:this.name.length},Xi.prototype._size=function(){return this.name.length},ke.prototype._size=Bn.prototype._size=function(){return this.name==="arguments"?9:vt.prototype._size.call(this)},ea.prototype._size=()=>10,Ro.prototype._size=function(){return this.name.length},wi.prototype._size=function(){return this.name.length},Hn.prototype._size=()=>4,ra.prototype._size=()=>5,bt.prototype._size=function(){return this.value.length+2},nt.prototype._size=function(){const{value:t}=this;return t===0?1:t>0&&Math.floor(t)===t?Math.floor(Math.log10(t)+1):t.toString().length},pi.prototype._size=function(){return this.value.length},yr.prototype._size=function(){return this.value.toString().length},gr.prototype._size=()=>4,Es.prototype._size=()=>3,un.prototype._size=()=>6,Ur.prototype._size=()=>0,_o.prototype._size=()=>8,Cr.prototype._size=()=>4,Yi.prototype._size=()=>5,Sr.prototype._size=()=>6,Tr.prototype._size=()=>6;const mo=1,Nf=2,If=4,Pf=8,Cs=16,ua=32,Io=256,Bf=512,Lf=1024,Lg=Io|Bf|Lf,Gn=(t,e)=>t.flags&e,Dr=(t,e)=>{t.flags|=e},ca=(t,e)=>{t.flags&=~e};function Mf(t,e){return e instanceof mt?t.push(...e.expressions):t.push(e),t}function ot(t,e){if(e.length==1)return e[0];if(e.length==0)throw new Error("trying to create a sequence with length zero!");return V(mt,t,{expressions:e.reduce(Mf,[])})}function lr(t,e){switch(typeof t){case"string":return V(bt,e,{value:t});case"number":return isNaN(t)?V(Es,e):isFinite(t)?1/t<0?V(qe,e,{operator:"-",expression:V(nt,e,{value:-t})}):V(nt,e,{value:t}):t<0?V(qe,e,{operator:"-",expression:V(_o,e)}):V(_o,e);case"bigint":return V(pi,e,{value:t.toString()});case"boolean":return V(t?Cr:Yi,e);case"undefined":return V(un,e);default:if(t===null)return V(gr,e,{value:null});if(t instanceof RegExp)return V(yr,e,{value:{source:Au(t.source),flags:t.flags}});throw new Error(Su("Can't handle constant of type: {type}",{type:typeof t}))}}function Qi(t,e){return t.size()>e.size()?e:t}function Mg(t,e){return Qi(V(He,t,{body:t}),V(He,e,{body:e})).body}function kr(t,e,n){return di(t)?Mg(e,n):Qi(e,n)}function Ud(t){if(t instanceof Nt)return t.getValue();if(!(t instanceof qe&&t.operator=="void"&&t.expression instanceof Nt))return t}function Vd(t,e){if(e=Ud(e),!(e instanceof Oe)){var n;if(t instanceof Ft){var r=t.elements;if(e=="length")return lr(r.length,t);typeof e=="number"&&e in r&&(n=r[e])}else if(t instanceof jt){e=""+e;for(var a=t.properties,c=a.length;--c>=0;){var f=a[c];if(!(f instanceof an))return;!n&&a[c].key===e&&(n=a[c].value)}}return n instanceof ke&&n.fixed_value()||n}}function Uf(t,e){var n=!1,r=new Un(function(a){if(n||a instanceof Ye)return!0;if(a instanceof ri&&r.loopcontrol_target(a)===t)return n=!0});return e instanceof rr&&r.push(e),r.push(t),t.body.walk(r),n}function Po(t,e,n){if(t instanceof qe&&t.operator=="delete"||t instanceof $e&&t.expression===e&&(n instanceof Sn||n instanceof Xe||n instanceof ke&&n.name=="eval")){const r=V(nt,e,{value:0});return ot(e,[r,n])}else return n}function Wu(t){return t instanceof on||t instanceof Gt}function Vf(t){return t.TYPE!="Call"?!1:t.expression instanceof Gt||Vf(t.expression)}function yo(t){return t===null||t instanceof Ut?!0:t instanceof tt?t.body.length==0:!1}const jd=Bt("Infinity NaN undefined");function $d(t){return t instanceof _o||t instanceof Es||t instanceof un}function jf(t,e){if(!(t instanceof ke))return!1;for(var n=t.definition().orig,r=n.length;--r>=0;)if(n[r]instanceof e)return!0}function $f(t){return!(t instanceof Jr||t instanceof sn||t instanceof ai||t instanceof si||t instanceof Rn||t instanceof Lr)}function qu(t){if(t===null)return[];if(t instanceof tt)return t.body;if(t instanceof Ut)return[];if(t instanceof In)return[t];throw new Error("Can't convert thing to statement array")}function Hd(t,e){const n=r=>{if(r instanceof ke&&e.includes(r.definition()))return vr};return Id(t,(r,a)=>{if(r instanceof Ye&&r!==t){var c=a.parent();return c instanceof $e&&c.expression===r&&!(r.async||r.is_generator)?void 0:Mn(r,n)?vr:!0}})}function Hf(t,e){for(var n,r=0;n=t.parent(r);r++)if(n instanceof Ke||n instanceof At){var a=n.name;if(a&&a.definition()===e)return!0}return!1}function Gd(t,e){return e.top_retain&&t instanceof sn&&Gn(t,Lf)&&t.name&&e.top_retain(t.name.definition())}function Gf(t){const e=new Map;for(var n of Object.keys(t))e.set(n,Bt(t[n]));return(a,c)=>{const f=e.get(a);return f!=null&&f.has(c)}}const Xu=new Set(["Number","String","Array","Object","Function","Promise"]),Bo=["constructor","toString","valueOf"],Kd=Gf({Array:["at","flat","includes","indexOf","join","lastIndexOf","slice",...Bo],Boolean:Bo,Function:Bo,Number:["toExponential","toFixed","toPrecision",...Bo],Object:Bo,RegExp:["test",...Bo],String:["at","charAt","charCodeAt","charPointAt","concat","endsWith","fromCharCode","fromCodePoint","includes","indexOf","italics","lastIndexOf","localeCompare","match","matchAll","normalize","padStart","padEnd","repeat","replace","replaceAll","search","slice","split","startsWith","substr","substring","repeat","toLocaleLowerCase","toLocaleUpperCase","toLowerCase","toUpperCase","trim","trimEnd","trimStart",...Bo]}),zd=Gf({Array:["isArray"],Math:["abs","acos","asin","atan","ceil","cos","exp","floor","log","round","sin","sqrt","tan","atan2","pow","max","min"],Number:["isFinite","isNaN"],Object:["create","getOwnPropertyDescriptor","getOwnPropertyNames","getPrototypeOf","isExtensible","isFrozen","isSealed","hasOwn","keys"],String:["fromCharCode"]}),Ug=Gf({Math:["E","LN10","LN2","LOG2E","LOG10E","PI","SQRT1_2","SQRT2"],Number:["MAX_VALUE","MIN_VALUE","NaN","NEGATIVE_INFINITY","POSITIVE_INFINITY"]}),_i=t=>t instanceof ke&&t.definition().undeclared,Kf=Bt("<<< >> << & | ^ ~"),Lo=Bt("&& || ??"),Yu=Bt("delete ++ --");(function(t){const e=Bt("! delete"),n=Bt("in instanceof == != === !== < <= >= >");t(Oe,Ot),t(qe,function(){return e.has(this.operator)}),t(pe,function(){return n.has(this.operator)||Lo.has(this.operator)&&this.left.is_boolean()&&this.right.is_boolean()}),t(it,function(){return this.consequent.is_boolean()&&this.alternative.is_boolean()}),t(lt,function(){return this.operator=="="&&this.right.is_boolean()}),t(mt,function(){return this.tail_node().is_boolean()}),t(Cr,ar),t(Yi,ar)})(function(t,e){t.DEFMETHOD("is_boolean",e)}),function(t){t(Oe,Ot),t(nt,ar);const e=Bt("+ - ~ ++ --");t(en,function(){return e.has(this.operator)&&!(this.expression instanceof pi)});const n=Bt("- * / % & | ^ << >> >>>");t(pe,function(r){return n.has(this.operator)||this.operator=="+"&&this.left.is_number(r)&&this.right.is_number(r)}),t(lt,function(r){return n.has(this.operator.slice(0,-1))||this.operator=="="&&this.right.is_number(r)}),t(mt,function(r){return this.tail_node().is_number(r)}),t(it,function(r){return this.consequent.is_number(r)&&this.alternative.is_number(r)})}(function(t,e){t.DEFMETHOD("is_number",e)}),function(t){t(Oe,Ot),t(nt,function(){return this.value===(this.value|0)}),t(qe,function(){return this.operator=="~"?this.expression.is_number():this.operator==="+"?this.expression.is_32_bit_integer():!1}),t(pe,function(){return Kf.has(this.operator)})}(function(t,e){t.DEFMETHOD("is_32_bit_integer",e)}),function(t){t(Oe,Ot),t(bt,ar),t(Zn,ar),t(qe,function(){return this.operator=="typeof"}),t(pe,function(e){return this.operator=="+"&&(this.left.is_string(e)||this.right.is_string(e))}),t(lt,function(e){return(this.operator=="="||this.operator=="+=")&&this.right.is_string(e)}),t(mt,function(e){return this.tail_node().is_string(e)}),t(it,function(e){return this.consequent.is_string(e)&&this.alternative.is_string(e)})}(function(t,e){t.DEFMETHOD("is_string",e)});function mi(t,e){return Gn(t,Pf)||t instanceof un||t instanceof qe&&t.operator=="void"&&!t.expression.has_side_effects(e)}function Wd(t,e){let n;return t instanceof gr||mi(t,e)||t instanceof ke&&(n=t.definition().fixed)instanceof Oe&&yi(n,e)}function la(t,e){return t instanceof Xe||t instanceof $e?t.optional&&Wd(t.expression,e)||la(t.expression,e):t instanceof Sn?la(t.expression,e):!1}function yi(t,e){return Wd(t,e)?!0:la(t,e)}(function(t){t(Oe,ar),t(Ut,Ot),t(Nt,Ot),t(Hn,Ot);function e(n,r){for(var a=n.length;--a>=0;)if(n[a].has_side_effects(r))return!0;return!1}t(Cn,function(n){return e(this.body,n)}),t($e,function(n){return!this.is_callee_pure(n)&&(!this.expression.is_call_pure(n)||this.expression.has_side_effects(n))?!0:e(this.args,n)}),t(Qn,function(n){return this.expression.has_side_effects(n)||e(this.body,n)}),t(ii,function(n){return this.expression.has_side_effects(n)||e(this.body,n)}),t(Ar,function(n){return this.body.has_side_effects(n)||this.bcatch&&this.bcatch.has_side_effects(n)||this.bfinally&&this.bfinally.has_side_effects(n)}),t(Vt,function(n){return this.condition.has_side_effects(n)||this.body&&this.body.has_side_effects(n)||this.alternative&&this.alternative.has_side_effects(n)}),t(Ki,Ot),t(rr,function(n){return this.body.has_side_effects(n)}),t(He,function(n){return this.body.has_side_effects(n)}),t(Ke,Ot),t(At,function(n){return this.extends&&this.extends.has_side_effects(n)?!0:e(this.properties,n)}),t(Jn,function(n){return e(this.body,n)}),t(pe,function(n){return this.left.has_side_effects(n)||this.right.has_side_effects(n)}),t(lt,ar),t(it,function(n){return this.condition.has_side_effects(n)||this.consequent.has_side_effects(n)||this.alternative.has_side_effects(n)}),t(en,function(n){return Yu.has(this.operator)||this.expression.has_side_effects(n)}),t(ke,function(n){return!this.is_declared(n)&&!Xu.has(this.name)}),t(Xi,Ot),t(Bn,Ot),t(jt,function(n){return e(this.properties,n)}),t(_n,function(n){return this.computed_key()&&this.key.has_side_effects(n)||this.value&&this.value.has_side_effects(n)}),t(mr,function(n){return this.computed_key()&&this.key.has_side_effects(n)||this.static&&this.value&&this.value.has_side_effects(n)}),t(jn,function(n){return this.computed_key()&&this.key.has_side_effects(n)}),t(Qr,function(n){return this.computed_key()&&this.key.has_side_effects(n)}),t(li,function(n){return this.computed_key()&&this.key.has_side_effects(n)}),t(Ft,function(n){return e(this.elements,n)}),t(Jt,function(n){return yi(this,n)?this.expression.has_side_effects(n):!this.optional&&this.expression.may_throw_on_access(n)?!0:this.expression.has_side_effects(n)}),t(kn,function(n){if(yi(this,n))return this.expression.has_side_effects(n);if(!this.optional&&this.expression.may_throw_on_access(n))return!0;var r=this.property.has_side_effects(n);return r&&this.optional?!0:r||this.expression.has_side_effects(n)}),t(Sn,function(n){return this.expression.has_side_effects(n)}),t(mt,function(n){return e(this.expressions,n)}),t(dn,function(n){return e(this.definitions,n)}),t(Kt,function(){return this.value}),t(Ti,Ot),t(Zn,function(n){return e(this.segments,n)})})(function(t,e){t.DEFMETHOD("has_side_effects",e)}),function(t){t(Oe,ar),t(Nt,Ot),t(Ut,Ot),t(Ke,Ot),t(Bn,Ot),t(Hn,Ot),t(Ki,Ot);function e(n,r){for(var a=n.length;--a>=0;)if(n[a].may_throw(r))return!0;return!1}t(At,function(n){return this.extends&&this.extends.may_throw(n)?!0:e(this.properties,n)}),t(Jn,function(n){return e(this.body,n)}),t(Ft,function(n){return e(this.elements,n)}),t(lt,function(n){return this.right.may_throw(n)?!0:!n.has_directive("use strict")&&this.operator=="="&&this.left instanceof ke?!1:this.left.may_throw(n)}),t(pe,function(n){return this.left.may_throw(n)||this.right.may_throw(n)}),t(Cn,function(n){return e(this.body,n)}),t($e,function(n){return yi(this,n)?!1:e(this.args,n)?!0:this.is_callee_pure(n)?!1:this.expression.may_throw(n)?!0:!(this.expression instanceof Ke)||e(this.expression.body,n)}),t(ii,function(n){return this.expression.may_throw(n)||e(this.body,n)}),t(it,function(n){return this.condition.may_throw(n)||this.consequent.may_throw(n)||this.alternative.may_throw(n)}),t(dn,function(n){return e(this.definitions,n)}),t(Vt,function(n){return this.condition.may_throw(n)||this.body&&this.body.may_throw(n)||this.alternative&&this.alternative.may_throw(n)}),t(rr,function(n){return this.body.may_throw(n)}),t(jt,function(n){return e(this.properties,n)}),t(_n,function(n){return this.value?this.value.may_throw(n):!1}),t(mr,function(n){return this.computed_key()&&this.key.may_throw(n)||this.static&&this.value&&this.value.may_throw(n)}),t(jn,function(n){return this.computed_key()&&this.key.may_throw(n)}),t(Qr,function(n){return this.computed_key()&&this.key.may_throw(n)}),t(li,function(n){return this.computed_key()&&this.key.may_throw(n)}),t(pn,function(n){return this.value&&this.value.may_throw(n)}),t(mt,function(n){return e(this.expressions,n)}),t(He,function(n){return this.body.may_throw(n)}),t(Jt,function(n){return yi(this,n)?!1:!this.optional&&this.expression.may_throw_on_access(n)||this.expression.may_throw(n)}),t(kn,function(n){return yi(this,n)?!1:!this.optional&&this.expression.may_throw_on_access(n)||this.expression.may_throw(n)||this.property.may_throw(n)}),t(Sn,function(n){return this.expression.may_throw(n)}),t(Qn,function(n){return this.expression.may_throw(n)||e(this.body,n)}),t(ke,function(n){return!this.is_declared(n)&&!Xu.has(this.name)}),t(Xi,Ot),t(Ar,function(n){return this.bcatch?this.bcatch.may_throw(n):this.body.may_throw(n)||this.bfinally&&this.bfinally.may_throw(n)}),t(en,function(n){return this.operator=="typeof"&&this.expression instanceof ke?!1:this.expression.may_throw(n)}),t(Kt,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 Mn(this,a=>{if(a instanceof ke){if(Gn(this,Cs))return r=!1,vr;var c=a.definition();if(vf(c,this.enclosed)&&!this.variables.has(c.name)){if(n){var f=n.find_variable(a);if(c.undeclared?!f:f===c)return r="f",!0}return r=!1,vr}return!0}if(a instanceof Hn&&this instanceof on)return r=!1,vr}),r}t(Oe,Ot),t(Nt,ar),t(At,function(n){if(this.extends&&!this.extends.is_constant_expression(n))return!1;for(const r of this.properties)if(r.computed_key()&&!r.key.is_constant_expression(n)||r.static&&r.value&&!r.value.is_constant_expression(n)||r instanceof Jn)return!1;return e.call(this,n)}),t(Ke,e),t(en,function(){return this.expression.is_constant_expression()}),t(pe,function(){return this.left.is_constant_expression()&&this.right.is_constant_expression()}),t(Ft,function(){return this.elements.every(n=>n.is_constant_expression())}),t(jt,function(){return this.properties.every(n=>n.is_constant_expression())}),t(_n,function(){return!!(!(this.key instanceof Oe)&&this.value&&this.value.is_constant_expression())})}(function(t,e){t.DEFMETHOD("is_constant_expression",e)}),function(t){Oe.DEFMETHOD("may_throw_on_access",function(n){return!n.option("pure_getters")||this._dot_throw(n)});function e(n){return/strict/.test(n.option("pure_getters"))}t(Oe,e),t(gr,ar),t(un,ar),t(Nt,Ot),t(Ft,Ot),t(jt,function(n){if(!e(n))return!1;for(var r=this.properties.length;--r>=0;)if(this.properties[r]._dot_throw(n))return!0;return!1}),t(At,Ot),t(_n,Ot),t(Qr,ar),t(gt,function(n){return this.expression._dot_throw(n)}),t(Gt,Ot),t(on,Ot),t(zi,Ot),t(qe,function(){return this.operator=="void"}),t(pe,function(n){return(this.operator=="&&"||this.operator=="||"||this.operator=="??")&&(this.left._dot_throw(n)||this.right._dot_throw(n))}),t(lt,function(n){return this.logical?!0:this.operator=="="&&this.right._dot_throw(n)}),t(it,function(n){return this.consequent._dot_throw(n)||this.alternative._dot_throw(n)}),t(Jt,function(n){return e(n)?this.property=="prototype"?!(this.expression instanceof Gt||this.expression instanceof At):!0:!1}),t(Sn,function(n){return this.expression._dot_throw(n)}),t(mt,function(n){return this.tail_node()._dot_throw(n)}),t(ke,function(n){if(this.name==="arguments"&&this.scope instanceof Ke)return!1;if(Gn(this,Pf))return!0;if(!e(n)||_i(this)&&this.is_declared(n)||this.is_immutable())return!1;var r=this.fixed_value();return!r||r._dot_throw(n)})}(function(t,e){t.DEFMETHOD("_dot_throw",e)});function Mo(t,e){if(e instanceof en&&Yu.has(e.operator))return e.expression;if(e instanceof lt&&e.left===t||e instanceof Yn&&e.init===t)return t}(function(t){function e(r){return V(qe,r,{operator:"!",expression:r})}function n(r,a,c){var f=e(r);if(c){var p=V(He,a,{body:a});return Qi(f,p)===p?a:f}return Qi(f,a)}t(Oe,function(){return e(this)}),t(In,function(){throw new Error("Cannot negate a statement")}),t(Gt,function(){return e(this)}),t(At,function(){return e(this)}),t(on,function(){return e(this)}),t(qe,function(){return this.operator=="!"?this.expression:e(this)}),t(mt,function(r){var a=this.expressions.slice();return a.push(a.pop().negate(r)),ot(this,a)}),t(it,function(r,a){var c=this.clone();return c.consequent=c.consequent.negate(r),c.alternative=c.alternative.negate(r),n(this,c,a)}),t(pe,function(r,a){var c=this.clone(),f=this.operator;if(r.option("unsafe_comps"))switch(f){case"<=":return c.operator=">",c;case"<":return c.operator=">=",c;case">=":return c.operator="<",c;case">":return c.operator="<=",c}switch(f){case"==":return c.operator="!=",c;case"!=":return c.operator="==",c;case"===":return c.operator="!==",c;case"!==":return c.operator="===",c;case"&&":return c.operator="||",c.left=c.left.negate(r,a),c.right=c.right.negate(r),n(this,c,a);case"||":return c.operator="&&",c.left=c.left.negate(r,a),c.right=c.right.negate(r),n(this,c,a)}return e(this)})})(function(t,e){t.DEFMETHOD("negate",function(n,r){return e.call(this,n,r)})}),function(t){function e(n){return V(qe,n,{operator:"~",expression:n})}t(Oe,function(){return e(this)}),t(nt,function(){const n=~this.value;return n.toString().length>this.value.toString().length?e(this):V(nt,this,{value:n})}),t(qe,function(n){return this.operator=="~"&&(n||this.expression.is_32_bit_integer())?this.expression:e(this)})}(function(t,e){t.DEFMETHOD("bitwise_negate",e)});var Vg=Bt("Boolean decodeURI decodeURIComponent Date encodeURI encodeURIComponent Error escape EvalError isFinite isNaN Number Object parseFloat parseInt RangeError ReferenceError String SyntaxError TypeError unescape URIError");$e.DEFMETHOD("is_callee_pure",function(t){if(t.option("unsafe")){var e=this.expression,n=this.args&&this.args[0]&&this.args[0].evaluate(t);if(e.expression&&e.expression.name==="hasOwnProperty"&&(n==null||n.thedef&&n.thedef.undeclared))return!1;if(_i(e)&&Vg.has(e.name)||e instanceof Jt&&_i(e.expression)&&zd(e.expression.name,e.property))return!0}return this instanceof cr&&t.option("pure_new")||t.option("side_effects")&&pr(this,kf)?!0:!t.pure_funcs(this)}),Oe.DEFMETHOD("is_call_pure",Ot),Jt.DEFMETHOD("is_call_pure",function(t){if(!t.option("unsafe"))return;const e=this.expression;let n;return e instanceof Ft?n="Array":e.is_boolean()?n="Boolean":e.is_number(t)?n="Number":e instanceof yr?n="RegExp":e.is_string(t)?n="String":this.may_throw_on_access(t)||(n="Object"),n!=null&&Kd(n,this.property)});const Vr=t=>t&&t.aborts();(function(t){t(In,co),t(ys,Ao);function e(){for(var n=0;n<this.body.length;n++)if(Vr(this.body[n]))return this.body[n];return null}t(Lr,co),t(tt,e),t(Gi,e),t(Jr,function(){for(const n of this.properties)if(n instanceof Jn&&n.aborts())return n;return null}),t(Jn,e),t(Vt,function(){return this.alternative&&Vr(this.body)&&Vr(this.alternative)&&this})})(function(t,e){t.DEFMETHOD("aborts",e)}),Oe.DEFMETHOD("contains_this",function(){return Mn(this,t=>{if(t instanceof Hn)return vr;if(t!==this&&t instanceof Ye&&!(t instanceof on))return!0})});function fa(t,e,n,r,a,c){var f=e.parent(a),p=Mo(n,f);if(p)return p;if(!c&&f instanceof $e&&f.expression===n&&!(r instanceof on)&&!(r instanceof At)&&!f.is_callee_pure(t)&&(!(r instanceof Gt)||!(f instanceof cr)&&r.contains_this()))return!0;if(f instanceof Ft)return fa(t,e,f,f,a+1);if(f instanceof an&&n===f.value){var E=e.parent(a+1);return fa(t,e,E,E,a+2)}if(f instanceof Xe&&f.expression===n){var b=Vd(r,f.property);return!c&&fa(t,e,f,b,a+1)}}function Kn(t,e){t.DEFMETHOD("_eval",e)}const ha=Symbol("This AST_Chain is nullish");Oe.DEFMETHOD("evaluate",function(t){if(!t.option("evaluate"))return this;var e=this._eval(t,1);if(!e||e instanceof RegExp)return e;if(typeof e=="function"||typeof e=="object"||e==ha)return this;if(typeof e=="string"){const n=this.size(t);if(e.length+2>n)return this}return e});var jg=Bt("! ~ - + void");Oe.DEFMETHOD("is_constant",function(){return this instanceof Nt?!(this instanceof yr):this instanceof qe&&this.expression instanceof Nt&&jg.has(this.operator)}),Kn(In,function(){throw new Error(Su("Cannot evaluate a statement [{file}:{line},{col}]",this.start))}),Kn(Ke,Ao),Kn(At,Ao),Kn(Oe,Ao),Kn(Nt,function(){return this.getValue()});const $g=typeof BigInt=="function";Kn(pi,function(){return $g?BigInt(this.value):this}),Kn(yr,function(t){let e=t.evaluated_regexps.get(this.value);if(e===void 0&&vd(this.value.source)){try{const{source:n,flags:r}=this.value;e=new RegExp(n,r)}catch{e=null}t.evaluated_regexps.set(this.value,e)}return e||this}),Kn(Zn,function(){return this.segments.length!==1?this:this.segments[0].value}),Kn(Gt,function(t){if(t.option("unsafe")){var e=function(){};return e.node=this,e.toString=()=>this.print_to_string(),e}return this}),Kn(Ft,function(t,e){if(t.option("unsafe")){for(var n=[],r=0,a=this.elements.length;r<a;r++){var c=this.elements[r],f=c._eval(t,e);if(c===f)return this;n.push(f)}return n}return this}),Kn(jt,function(t,e){if(t.option("unsafe")){for(var n={},r=0,a=this.properties.length;r<a;r++){var c=this.properties[r];if(c instanceof gt)return this;var f=c.key;if(f instanceof vt)f=f.name;else if(f instanceof Oe&&(f=f._eval(t,e),f===c.key))return this;if(typeof Object.prototype[f]=="function")return this;if(!(c.value instanceof Gt)&&(n[f]=c.value._eval(t,e),n[f]===c.value))return this}return n}return this});var Hg=Bt("! typeof void");Kn(qe,function(t,e){var n=this.expression;if(t.option("typeofs")&&this.operator=="typeof"&&(n instanceof Ke||n instanceof ke&&n.fixed_value()instanceof Ke))return"function";if(Hg.has(this.operator)||e++,n=n._eval(t,e),n===this.expression)return this;switch(this.operator){case"!":return!n;case"typeof":return n instanceof RegExp?this:typeof n;case"void":return;case"~":return~n;case"-":return-n;case"+":return+n}return this});var Gg=Bt("&& || ?? === !==");const Kg=Bt("== != === !=="),qd=t=>typeof t=="object"||typeof t=="function"||typeof t=="symbol";Kn(pe,function(t,e){Gg.has(this.operator)||e++;var n=this.left._eval(t,e);if(n===this.left)return this;var r=this.right._eval(t,e);if(r===this.right)return this;if(n!=null&&r!=null&&Kg.has(this.operator)&&qd(n)&&qd(r)&&typeof n==typeof r)return this;if(typeof n=="bigint"!=(typeof r=="bigint")||typeof n=="bigint"&&(this.operator===">>>"||this.operator==="/"&&Number(r)===0))return this;var a;switch(this.operator){case"&&":a=n&&r;break;case"||":a=n||r;break;case"??":a=n??r;break;case"|":a=n|r;break;case"&":a=n&r;break;case"^":a=n^r;break;case"+":a=n+r;break;case"*":a=n*r;break;case"**":a=n**r;break;case"/":a=n/r;break;case"%":a=n%r;break;case"-":a=n-r;break;case"<<":a=n<<r;break;case">>":a=n>>r;break;case">>>":a=n>>>r;break;case"==":a=n==r;break;case"===":a=n===r;break;case"!=":a=n!=r;break;case"!==":a=n!==r;break;case"<":a=n<r;break;case"<=":a=n<=r;break;case">":a=n>r;break;case">=":a=n>=r;break;default:return this}return typeof a=="number"&&isNaN(a)&&t.find_parent(xr)?this:a}),Kn(it,function(t,e){var n=this.condition._eval(t,e);if(n===this.condition)return this;var r=n?this.consequent:this.alternative,a=r._eval(t,e);return a===r?this:a});const zf=new Set;Kn(ke,function(t,e){if(zf.has(this))return this;var n=this.fixed_value();if(!n)return this;zf.add(this);const r=n._eval(t,e);if(zf.delete(this),r===n)return this;if(r&&typeof r=="object"){var a=this.definition().escaped;if(a&&e>a)return this}return r});const Xd={Array,Math,Number,Object,String},zg=new Set(["dotAll","global","ignoreCase","multiline","sticky","unicode"]);Kn(Xe,function(t,e){let n=this.expression._eval(t,e+1);if(n===ha||this.optional&&n==null)return ha;if(this.property==="length"){if(typeof n=="string")return n.length;if(n instanceof Ft&&n.elements.every(E=>!(E instanceof gt))&&n.elements.every(E=>!E.has_side_effects(t)))return n.elements.length}if(t.option("unsafe")){var r=this.property;if(r instanceof Oe&&(r=r._eval(t,e),r===this.property))return this;var a=this.expression;if(_i(a)){var c,f=a.name==="hasOwnProperty"&&r==="call"&&(c=t.parent()&&t.parent().args)&&c&&c[0]&&c[0].evaluate(t);if(f=f instanceof Jt?f.expression:f,f==null||f.thedef&&f.thedef.undeclared)return this.clone();if(!Ug(a.name,r))return this;n=Xd[a.name]}else{if(n instanceof RegExp){if(r=="source")return Au(n.source);if(r=="flags"||zg.has(r))return n[r]}if(!n||n===a||!sr(n,r))return this;if(typeof n=="function")switch(r){case"name":return n.node.name?n.node.name.name:"";case"length":return n.node.length_property();default:return this}}return n[r]}return this}),Kn(Sn,function(t,e){const n=this.expression._eval(t,e);return n===ha?void 0:n===this.expression?this:n}),Kn($e,function(t,e){var n=this.expression;const r=n._eval(t,e);if(r===ha||this.optional&&r==null)return ha;if(t.option("unsafe")&&n instanceof Xe){var a=n.property;if(a instanceof Oe&&(a=a._eval(t,e),a===n.property))return this;var c,f=n.expression;if(_i(f)){var p=f.name==="hasOwnProperty"&&a==="call"&&this.args[0]&&this.args[0].evaluate(t);if(p=p instanceof Jt?p.expression:p,p==null||p.thedef&&p.thedef.undeclared)return this.clone();if(!zd(f.name,a))return this;c=Xd[f.name]}else{if(c=f._eval(t,e+1),c===f||!c)return this;if(!Kd(c.constructor.name,a))return this}for(var E=[],b=0,T=this.args.length;b<T;b++){var x=this.args[b],w=x._eval(t,e);if(x===w)return this;if(x instanceof Ke)return this;E.push(w)}try{return c[a].apply(c,E)}catch{}}return this}),Kn(cr,Ao);function ln(t,e){t.DEFMETHOD("drop_side_effect_free",e)}function Ds(t,e,n){var r=t.length;if(!r)return null;for(var a=[],c=!1,f=0;f<r;f++){var p=t[f].drop_side_effect_free(e,n);c|=p!==t[f],p&&(a.push(p),n=!1)}return c?a.length?a:null:t}ln(Oe,Ao),ln(Nt,co),ln(Hn,co),ln($e,function(t,e){if(la(this,t))return this.expression.drop_side_effect_free(t,e);if(!this.is_callee_pure(t)){if(this.expression.is_call_pure(t)){var n=this.args.slice();return n.unshift(this.expression.expression),n=Ds(n,t,e),n&&ot(this,n)}if(Wu(this.expression)&&(!this.expression.name||!this.expression.name.definition().references.length)){var r=this.clone();return r.expression.process_expression(!1,t),r}return this}var a=Ds(this.args,t,e);return a&&ot(this,a)}),ln(Hi,co),ln(Gt,co),ln(on,co),ln(At,function(t){const e=[];if(this.is_self_referential()&&this.has_side_effects(t))return this;const n=this.extends&&this.extends.drop_side_effect_free(t);n&&e.push(n);for(const a of this.properties)if(a instanceof Jn){if(a.has_side_effects(t))return this}else{const c=a.drop_side_effect_free(t);c&&e.push(c)}if(!e.length)return null;const r=ot(this,e);return this instanceof Jr?V(He,this,{body:r}):r}),ln(mr,function(t){const e=this.computed_key()&&this.key.drop_side_effect_free(t),n=this.static&&this.value&&this.value.drop_side_effect_free(t);return e&&n?ot(this,[e,n]):e||n||null}),ln(pe,function(t,e){var n=this.right.drop_side_effect_free(t);if(!n)return this.left.drop_side_effect_free(t,e);if(Lo.has(this.operator)){if(n===this.right)return this;var r=this.clone();return r.right=n,r}else{var a=this.left.drop_side_effect_free(t,e);return a?ot(this,[a,n]):this.right.drop_side_effect_free(t,e)}}),ln(lt,function(t){if(this.logical)return this;var e=this.left;if(e.has_side_effects(t)||t.has_directive("use strict")&&e instanceof Xe&&e.expression.is_constant())return this;for(Dr(this,ua);e instanceof Xe;)e=e.expression;return e.is_constant_expression(t.find_parent(Ye))?this.right.drop_side_effect_free(t):this}),ln(it,function(t){var e=this.consequent.drop_side_effect_free(t),n=this.alternative.drop_side_effect_free(t);if(e===this.consequent&&n===this.alternative)return this;if(!e)return n?V(pe,this,{operator:"||",left:this.condition,right:n}):this.condition.drop_side_effect_free(t);if(!n)return V(pe,this,{operator:"&&",left:this.condition,right:e});var r=this.clone();return r.consequent=e,r.alternative=n,r}),ln(en,function(t,e){if(Yu.has(this.operator))return this.expression.has_side_effects(t)?ca(this,ua):Dr(this,ua),this;if(this.operator=="typeof"&&this.expression instanceof ke)return null;var n=this.expression.drop_side_effect_free(t,e);return e&&n&&Vf(n)?n===this.expression&&this.operator=="!"?this:n.negate(t,e):n}),ln(ke,function(t){return this.is_declared(t)||Xu.has(this.name)?null:this}),ln(jt,function(t,e){var n=Ds(this.properties,t,e);return n&&ot(this,n)}),ln(_n,function(t,e){const r=this instanceof an&&this.key instanceof Oe&&this.key.drop_side_effect_free(t,e),a=this.value&&this.value.drop_side_effect_free(t,e);return r&&a?ot(this,[r,a]):r||a}),ln(jn,function(){return this.computed_key()?this.key:null}),ln(Qr,function(){return this.computed_key()?this.key:null}),ln(li,function(){return this.computed_key()?this.key:null}),ln(Ft,function(t,e){var n=Ds(this.elements,t,e);return n&&ot(this,n)}),ln(Jt,function(t,e){return la(this,t)?this.expression.drop_side_effect_free(t,e):!this.optional&&this.expression.may_throw_on_access(t)?this:this.expression.drop_side_effect_free(t,e)}),ln(kn,function(t,e){if(la(this,t))return this.expression.drop_side_effect_free(t,e);if(!this.optional&&this.expression.may_throw_on_access(t))return this;var n=this.property.drop_side_effect_free(t);if(n&&this.optional)return this;var r=this.expression.drop_side_effect_free(t,e);return r&&n?ot(this,[r,n]):r||n}),ln(Sn,function(t,e){return this.expression.drop_side_effect_free(t,e)}),ln(mt,function(t){var e=this.tail_node(),n=e.drop_side_effect_free(t);if(n===e)return this;var r=this.expressions.slice(0,-1);return n&&r.push(n),r.length?ot(this,r):V(nt,this,{value:0})}),ln(gt,function(t,e){return this.expression.drop_side_effect_free(t,e)}),ln(Ti,co),ln(Zn,function(t){var e=Ds(this.segments,t,di);return e&&ot(this,e)});const Wg=/keep_assign/;Ye.DEFMETHOD("drop_unused",function(t){if(!t.option("unused")||t.has_directive("use asm")||!this.variables)return;var e=this;if(e.pinned())return;var n=!(e instanceof Qt)||t.toplevel.funcs,r=!(e instanceof Qt)||t.toplevel.vars;const a=Wg.test(t.option("unused"))?Ot:function(R){if(R instanceof lt&&!R.logical&&(Gn(R,ua)||R.operator=="="))return R.left;if(R instanceof en&&Gn(R,ua))return R.expression};var c=new Map,f=new Map;e instanceof Qt&&t.top_retain&&e.variables.forEach(function(R){t.top_retain(R)&&c.set(R.id,R)});var p=new Map,E=new Map,b=new Set,T=this,x=new Un(function(R,v){if(R instanceof Ke&&R.uses_arguments&&!x.has_directive("use strict")&&R.argnames.forEach(function(A){if(A instanceof Bn){var O=A.definition();c.set(O.id,O)}}),R===e)return;if(R instanceof At&&R.has_side_effects(t)&&(R.is_self_referential()&&b.add(R),R.visit_nondeferred_class_parts(x)),R instanceof sn||R instanceof Jr){var d=R.name.definition();return(x.parent()instanceof Rn||!n&&T===e)&&d.global&&c.set(d.id,d),Tu(E,d.id,R),!0}const g=T===e;if(R instanceof Ln&&g&&Tu(p,R.definition().id,R),R instanceof dn&&g){const A=x.parent()instanceof Rn;return R.definitions.forEach(function(O){if(O.name instanceof Wi&&Tu(p,O.name.definition().id,O),(A||!r)&&Mn(O.name,P=>{if(P instanceof Bn){const U=P.definition();U.global&&c.set(U.id,U)}}),O.name instanceof qt&&O.walk(x),O.name instanceof Bn&&O.value){var D=O.name.definition();Tu(E,D.id,O.value),!D.chained&&O.name.fixed_value()===O.value&&f.set(D.id,O),O.value.has_side_effects(t)&&O.value.walk(x)}}),!0}return F(R,v)});e.walk(x),x=new Un(F),c.forEach(function(R){var v=E.get(R.id);v&&v.forEach(function(d){d.walk(x)})}),b.forEach(function(R){R.walk(x)});var w=new br(function(v,d,g){var A=w.parent();if(r){const re=a(v);if(re instanceof ke){var D=re.definition(),O=c.has(D.id);if(v instanceof lt){if(!O||f.has(D.id)&&f.get(D.id)!==v)return Po(A,v,v.right.transform(w))}else if(!O)return g?tn.skip:V(nt,v,{value:0})}}if(T===e){var D;if(v.name&&(v instanceof ki&&!Qo(t.option("keep_classnames"),(D=v.name.definition()).name)||v instanceof Gt&&!Qo(t.option("keep_fnames"),(D=v.name.definition()).name))&&(!c.has(D.id)||D.orig.length>1)&&(v.name=null),v instanceof Ke&&!(v instanceof Hi))for(var P=!t.option("keep_fargs"),U=v.argnames,H=U.length;--H>=0;){var B=U[H];B instanceof gt&&(B=B.expression),B instanceof Mr&&(B=B.left),!(B instanceof qt)&&!c.has(B.definition().id)?(Dr(B,mo),P&&U.pop()):P=!1}if(v instanceof Jr&&v!==e){const re=v.name.definition();if(d(v,this),!(re.global&&!n||c.has(re.id))){const ce=v.drop_side_effect_free(t);return ce??(re.eliminated++,g?tn.skip:V(Ut,v))}return v}if(v instanceof sn&&v!==e){const re=v.name.definition();if(!(re.global&&!n||c.has(re.id)))return re.eliminated++,g?tn.skip:V(Ut,v)}if(v instanceof dn&&!(A instanceof Yn&&A.init===v)){var G=!(A instanceof Qt)&&!(v instanceof Pn),N=[],K=[],Y=[],ne=[];switch(v.definitions.forEach(function(re){re.value&&(re.value=re.value.transform(w));var ue=re.name instanceof qt,ce=ue?new sa(null,{name:"<destructure>"}):re.name.definition();if(G&&ce.global)return Y.push(re);if(!(r||G)||ue&&(re.name.names.length||re.name.is_array||t.option("pure_getters")!=!0)||c.has(ce.id)){if(re.value&&f.has(ce.id)&&f.get(ce.id)!==re&&(re.value=re.value.drop_side_effect_free(t)),re.name instanceof Wi){var Ee=p.get(ce.id);if(Ee.length>1&&(!re.value||ce.orig.indexOf(re.name)>ce.eliminated)){if(re.value){var Te=V(ke,re.name,re.name);ce.references.push(Te);var _e=V(lt,re,{operator:"=",logical:!1,left:Te,right:re.value});f.get(ce.id)===re&&f.set(ce.id,_e),ne.push(_e.transform(w))}Zo(Ee,re),ce.eliminated++;return}}re.value?(ne.length>0&&(Y.length>0?(ne.push(re.value),re.value=ot(re.value,ne)):N.push(V(He,v,{body:ot(v,ne)})),ne=[]),Y.push(re)):K.push(re)}else if(ce.orig[0]instanceof ei){var oe=re.value&&re.value.drop_side_effect_free(t);oe&&ne.push(oe),re.value=null,K.push(re)}else{var oe=re.value&&re.value.drop_side_effect_free(t);oe&&ne.push(oe),ce.eliminated++}}),(K.length>0||Y.length>0)&&(v.definitions=K.concat(Y),N.push(v)),ne.length>0&&N.push(V(He,v,{body:ot(v,ne)})),N.length){case 0:return g?tn.skip:V(Ut,v);case 1:return N[0];default:return g?tn.splice(N):V(tt,v,{body:N})}}if(v instanceof Dn){d(v,this);var se;return v.init instanceof tt&&(se=v.init,v.init=se.body.pop(),se.body.push(v)),v.init instanceof He?v.init=v.init.body:yo(v.init)&&(v.init=null),se?g?tn.splice(se.body):se:v}if(v instanceof rr&&v.body instanceof Dn){if(d(v,this),v.body instanceof tt){var se=v.body;return v.body=se.body.pop(),se.body.push(v),g?tn.splice(se.body):se}return v}if(v instanceof tt)return d(v,this),g&&v.body.every($f)?tn.splice(v.body):v;if(v instanceof Ye&&!(v instanceof Jn)){const re=T;return T=v,d(v,this),T=re,v}}});e.transform(w);function F(R,v){var d;const g=a(R);if(g instanceof ke&&!jf(R.left,qi)&&e.variables.get(g.name)===(d=g.definition()))return R instanceof lt&&(R.right.walk(x),!d.chained&&R.left.fixed_value()===R.right&&f.set(d.id,R)),!0;if(R instanceof ke){if(d=R.definition(),!c.has(d.id)&&(c.set(d.id,d),d.orig[0]instanceof ei)){const O=d.scope.is_block_scope()&&d.scope.get_defun_scope().variables.get(d.name);O&&c.set(O.id,O)}return!0}if(R instanceof At)return v(),!0;if(R instanceof Ye&&!(R instanceof Jn)){var A=T;return T=R,v(),T=A,!0}}});function mn(t,e){t.DEFMETHOD("reduce_vars",e)}mn(Oe,Er);function Wf(t,e){e.assignments=0,e.chained=!1,e.direct_access=!1,e.escaped=0,e.recursive_refs=0,e.references=[],e.single_use=void 0,e.scope.pinned()||e.orig[0]instanceof Ln&&e.scope.uses_arguments?e.fixed=!1:e.orig[0]instanceof ho||!t.exposed(e)?e.fixed=e.init:e.fixed=!1}function qf(t,e,n){n.variables.forEach(function(r){Wf(e,r),r.fixed===null?(t.defs_to_safe_ids.set(r.id,t.safe_ids),Ji(t,r,!0)):r.fixed&&(t.loop_ids.set(r.id,t.in_loop),Ji(t,r,!0))})}function Uo(t,e){e.block_scope&&e.block_scope.variables.forEach(n=>{Wf(t,n)})}function Tn(t){t.safe_ids=Object.create(t.safe_ids)}function Fn(t){t.safe_ids=Object.getPrototypeOf(t.safe_ids)}function Ji(t,e,n){t.safe_ids[e.id]=n}function Yd(t,e){if(e.single_use=="m")return!1;if(t.safe_ids[e.id]){if(e.fixed==null){var n=e.orig[0];if(n instanceof Ln||n.name=="arguments")return!1;e.fixed=V(un,n)}return!0}return e.fixed instanceof sn}function Xf(t,e,n,r){if(e.fixed===void 0)return!0;let a;return e.fixed===null&&(a=t.defs_to_safe_ids.get(e.id))?(a[e.id]=!1,t.defs_to_safe_ids.delete(e.id),!0):!sr(t.safe_ids,e.id)||!Yd(t,e)||e.fixed===!1||e.fixed!=null&&(!r||e.references.length>e.assignments)?!1:e.fixed instanceof sn?r instanceof Oe&&e.fixed.parent_scope===n:e.orig.every(c=>!(c instanceof ho||c instanceof Oi||c instanceof hi))}function qg(t,e,n){return e.option("unused")&&!n.scope.pinned()&&n.references.length-n.recursive_refs==1&&t.loop_ids.get(n.id)===t.in_loop}function Xg(t){return t?t.is_constant()||t instanceof Ke||t instanceof Hn:!1}function ks(t,e,n,r,a,c=0,f=1){var p=t.parent(c);if(!(a&&(a.is_constant()||a instanceof ki))){if(p instanceof lt&&(p.operator==="="||p.logical)&&r===p.right||p instanceof $e&&(r!==p.expression||p instanceof cr)||p instanceof _r&&r===p.value&&r.scope!==e.scope||p instanceof Kt&&r===p.value||p instanceof Tr&&r===p.value&&r.scope!==e.scope){f>1&&!(a&&a.is_constant_expression(n))&&(f=1),(!e.escaped||e.escaped>f)&&(e.escaped=f);return}else if(p instanceof Ft||p instanceof Sr||p instanceof pe&&Lo.has(p.operator)||p instanceof it&&r!==p.condition||p instanceof gt||p instanceof mt&&r===p.tail_node())ks(t,e,n,p,p,c+1,f);else if(p instanceof an&&r===p.value){var E=t.parent(c+1);ks(t,e,n,E,E,c+2,f)}else if(p instanceof Xe&&r===p.expression&&(a=Vd(a,p.property),ks(t,e,n,p,a,c+1,f+1),a))return;c>0||p instanceof mt&&r!==p.tail_node()||p instanceof He||(e.direct_access=!0)}}const Yf=t=>Mn(t,e=>{if(e instanceof vt){var n=e.definition();n&&(e instanceof ke&&n.references.push(e),n.fixed=!1)}});mn(Hi,function(t,e,n){return Tn(t),qf(t,n,this),e(),Fn(t),!0}),mn(lt,function(t,e,n){var r=this;if(r.left instanceof qt){Yf(r.left);return}const a=()=>{if(r.logical)return r.left.walk(t),Tn(t),r.right.walk(t),Fn(t),!0};var c=r.left;if(!(c instanceof ke))return a();var f=c.definition(),p=Xf(t,f,c.scope,r.right);if(f.assignments++,!p)return a();var E=f.fixed;if(!E&&r.operator!="="&&!r.logical)return a();var b=r.operator=="=",T=b?r.right:r;return fa(n,t,r,T,0)?a():(f.references.push(c),r.logical||(b||(f.chained=!0),f.fixed=b?function(){return r.right}:function(){return V(pe,r,{operator:r.operator.slice(0,-1),left:E instanceof Oe?E:E(),right:r.right})}),r.logical?(Ji(t,f,!1),Tn(t),r.right.walk(t),Fn(t),!0):(Ji(t,f,!1),r.right.walk(t),Ji(t,f,!0),ks(t,f,c.scope,r,T,0,1),!0))}),mn(pe,function(t){if(Lo.has(this.operator))return this.left.walk(t),Tn(t),this.right.walk(t),Fn(t),!0}),mn(Cn,function(t,e,n){Uo(n,this)}),mn(ii,function(t){return Tn(t),this.expression.walk(t),Fn(t),Tn(t),Do(this,t),Fn(t),!0}),mn(At,function(t,e){return ca(this,Cs),Tn(t),e(),Fn(t),!0}),mn(Jn,function(t,e,n){Uo(n,this)}),mn(it,function(t){return this.condition.walk(t),Tn(t),this.consequent.walk(t),Fn(t),Tn(t),this.alternative.walk(t),Fn(t),!0}),mn(Sn,function(t,e){const n=t.safe_ids;return e(),t.safe_ids=n,!0}),mn($e,function(t){this.expression.walk(t),this.optional&&Tn(t);for(const e of this.args)e.walk(t);return!0}),mn(Xe,function(t){if(this.optional)return this.expression.walk(t),Tn(t),this.property instanceof Oe&&this.property.walk(t),!0}),mn(wo,function(t,e){return Tn(t),e(),Fn(t),!0});function Yg(t,e,n){ca(this,Cs),Tn(t),qf(t,n,this);var r;return!this.name&&!this.uses_arguments&&!this.pinned()&&(r=t.parent())instanceof $e&&r.expression===this&&!r.args.some(a=>a instanceof gt)&&this.argnames.every(a=>a instanceof vt)&&this.argnames.forEach((a,c)=>{if(a.definition){var f=a.definition();f.orig.length>1||(f.fixed===void 0&&(!this.uses_arguments||t.has_directive("use strict"))?(f.fixed=function(){return r.args[c]||V(un,r)},t.loop_ids.set(f.id,t.in_loop),Ji(t,f,!0)):f.fixed=!1)}}),e(),Fn(t),Zd(this),!0}function Zd(t){const e=[];Mn(t,c=>{if(c!==t&&(c instanceof sn&&e.push(c),c instanceof Ye||c instanceof He))return!0});const n=new Set,r=new Set,a=[];for(const c of e){const f=c.name.definition(),p=e.some(E=>E!==c&&E.enclosed.indexOf(f)!==-1);for(const E of c.enclosed)if(!(E.fixed===!1||E===f||E.scope.get_defun_scope()!==t)&&!(E.assignments===0&&E.orig.length===1&&E.orig[0]instanceof Oi)){if(p){E.fixed=!1;continue}a.push({defun:c,def:E,fname_def:f}),n.add(E.id),n.add(f.id),r.add(c)}}if(a.length){const c=[],f=new Set,p=new Map;let E;t.walk(E=new Un((b,T)=>{if(b instanceof sn&&r.has(b)){const x=c.length;T();const w=c.length;return p.set(b,{start:x,end:w}),!0}if(b instanceof vt&&b.thedef){const x=b.definition().id;n.has(x)&&((b instanceof Bn||Mo(b,E))&&f.add(c.length),c.push(x))}}));for(const{def:b,defun:T,fname_def:x}of a){const w=p.get(T),F=(g,A=0,O=!1)=>{let D=A;for(;D=c.indexOf(g,D),D!==-1;)if(D>=w.start&&D<w.end){D=w.end;continue}else if(O&&!f.has(D)){D++;continue}else break;return D},R=F(x.id),v=F(b.id,R+1,!0);R!=-1&&v!=-1&&v>R&&(b.fixed=!1)}}}mn(Ke,Yg),mn(Si,function(t,e,n){Uo(n,this);const r=t.in_loop;return t.in_loop=this,Tn(t),this.body.walk(t),Uf(this)&&(Fn(t),Tn(t)),this.condition.walk(t),Fn(t),t.in_loop=r,!0}),mn(Dn,function(t,e,n){Uo(n,this),this.init&&this.init.walk(t);const r=t.in_loop;return t.in_loop=this,Tn(t),this.condition&&this.condition.walk(t),this.body.walk(t),this.step&&(Uf(this)&&(Fn(t),Tn(t)),this.step.walk(t)),Fn(t),t.in_loop=r,!0}),mn(Yn,function(t,e,n){Uo(n,this),Yf(this.init),this.object.walk(t);const r=t.in_loop;return t.in_loop=this,Tn(t),this.body.walk(t),Fn(t),t.in_loop=r,!0}),mn(Vt,function(t){return this.condition.walk(t),Tn(t),this.body.walk(t),Fn(t),this.alternative&&(Tn(t),this.alternative.walk(t),Fn(t)),!0}),mn(rr,function(t){return Tn(t),this.body.walk(t),Fn(t),!0}),mn(ei,function(){this.definition().fixed=!1}),mn(ke,function(t,e,n){var r=this.definition();r.references.push(this),r.references.length==1&&!r.fixed&&r.orig[0]instanceof Oi&&t.loop_ids.set(r.id,t.in_loop);var a;r.fixed===void 0||!Yd(t,r)?r.fixed=!1:r.fixed&&(a=this.fixed_value(),a instanceof Ke&&Hf(t,r)?r.recursive_refs++:a&&!n.exposed(r)&&qg(t,n,r)?r.single_use=a instanceof Ke&&!a.pinned()||a instanceof At||r.scope===this.scope&&a.is_constant_expression():r.single_use=!1,fa(n,t,this,a,0,Xg(a))&&(r.single_use?r.single_use="m":r.fixed=!1)),ks(t,r,this.scope,this,a,0,1)}),mn(Qt,function(t,e,n){return this.globals.forEach(function(r){Wf(n,r)}),qf(t,n,this),e(),Zd(this),!0}),mn(Ar,function(t,e,n){return Uo(n,this),Tn(t),this.body.walk(t),Fn(t),this.bcatch&&(Tn(t),this.bcatch.walk(t),Fn(t)),this.bfinally&&this.bfinally.walk(t),!0}),mn(en,function(t){var e=this;if(!(e.operator!=="++"&&e.operator!=="--")){var n=e.expression;if(n instanceof ke){var r=n.definition(),a=Xf(t,r,n.scope,!0);if(r.assignments++,!!a){var c=r.fixed;if(c)return r.references.push(n),r.chained=!0,r.fixed=function(){return V(pe,e,{operator:e.operator.slice(0,-1),left:V(qe,e,{operator:"+",expression:c instanceof Oe?c:c()}),right:V(nt,e,{value:1})})},Ji(t,r,!0),!0}}}}),mn(Kt,function(t,e){var n=this;if(n.name instanceof qt){Yf(n.name);return}var r=n.name.definition();if(n.value){if(Xf(t,r,n.name.scope,n.value))return r.fixed=function(){return n.value},t.loop_ids.set(r.id,t.in_loop),Ji(t,r,!1),e(),Ji(t,r,!0),!0;r.fixed=!1}}),mn($i,function(t,e,n){Uo(n,this);const r=t.in_loop;return t.in_loop=this,Tn(t),e(),Fn(t),t.in_loop=r,!0});function Zf(t){return t instanceof Xr&&t.body instanceof tt?t.body:t}function Qd(t){if(t instanceof Hn)return!0;if(t instanceof ke)return t.definition().orig[0]instanceof hi;if(t instanceof Xe){if(t=t.expression,t instanceof ke){if(t.is_immutable())return!1;t=t.fixed_value()}return t?t instanceof yr?!1:t instanceof Nt?!0:Qd(t):!0}return!1}function Zg(t){var e=[];return t.definitions.forEach(function(n){n.name instanceof Bn?(n.value=null,e.push(n)):n.declarations_as_names().forEach(r=>{e.push(V(Kt,n,{name:r,value:null}))})}),e.length?V(Pn,t,{definitions:e}):null}function Vo(t,e,n){Mn(e,r=>{if(r instanceof Pn){const a=Zg(r);return a&&n.push(a),!0}if(r instanceof sn&&(r===e||!t.has_directive("use strict")))return n.push(r===e?r:V(Pn,r,{definitions:[V(Kt,r,{name:V(Wi,r.name,r.name),value:null})]})),!0;if(r instanceof Rn||r instanceof Lr)return n.push(r),!0;if(r instanceof Ye)return!0})}function Zu(t,e){const n=e.find_scope(),r=n.get_defun_scope(),{in_loop:a,in_try:c}=E();var f,p=10;do f=!1,T(t),e.option("dead_code")&&w(t,e),e.option("if_return")&&x(t,e),e.sequences_limit>0&&(R(t,e),d(t,e)),e.option("join_vars")&&A(t),e.option("collapse_vars")&&b(t,e);while(f&&p-- >0);function E(){var O=e.self(),D=0,P=!1,U=!1;do if(O instanceof Xr)P=!0;else{if(O instanceof Ye)break;O instanceof Mu&&(U=!0)}while(O=e.parent(D++));return{in_loop:P,in_try:U}}function b(O,D){if(n.pinned()||r.pinned())return O;for(var P,U=[],H=O.length,B=new br(function(W){if(te)return W;if(!J)return W!==N[K]?W:(K++,K<N.length?ht(W):(J=!0,se=we(W,0),se===W&&(te=!0),W));var Fe=B.parent();if(W instanceof lt&&(W.logical||W.operator!="="&&ue.equivalent_to(W.left))||W instanceof Sr||W instanceof $e&&ue instanceof Xe&&ue.equivalent_to(W.expression)||(W instanceof $e||W instanceof Xe)&&W.optional||W instanceof ji||W instanceof qt||W instanceof gt&&W.expression instanceof vt&&(W.expression instanceof Hn||W.expression.definition().references.length>1)||W instanceof Xr&&!(W instanceof Dn)||W instanceof ri||W instanceof Ar||W instanceof xr||W instanceof Tr||W instanceof Rn||W instanceof At||Fe instanceof Dn&&W!==Fe.init||!_e&&W instanceof ke&&!W.is_declared(D)&&!Xu.has(W)||W instanceof ke&&Fe instanceof $e&&pr(Fe,No)||W instanceof _n&&W.key instanceof Oe)return te=!0,W;if(!re&&(!Ee||!_e)&&(Fe instanceof pe&&Lo.has(Fe.operator)&&Fe.left!==W||Fe instanceof it&&Fe.condition!==W||Fe instanceof Vt&&Fe.condition!==W)&&(re=Fe),me&&!(W instanceof Bn)&&ue.equivalent_to(W)&&!ir(B.find_scope()||n,ce)){if(re)return te=!0,W;if(Mo(W,Fe))return ne&&ve++,W;if(ve++,ne&&Y instanceof Kt)return W;if(f=te=!0,Y instanceof zi)return V(qe,Y,Y);if(Y instanceof Kt){var Ue=Y.name.definition(),Pe=Y.value;return Ue.references.length-Ue.replaced==1&&!D.exposed(Ue)?(Ue.replaced++,Z&&$d(Pe)?Pe.transform(D):Po(Fe,W,Pe)):V(lt,Y,{operator:"=",logical:!1,left:V(ke,Y.name,Y.name),right:Pe})}return ca(Y,ua),Y}var Qe;return(W instanceof $e||W instanceof _r&&(Te||ue instanceof Xe||Pt(ue))||W instanceof Xe&&(Te||W.expression.may_throw_on_access(D))||W instanceof ke&&(ce.has(W.name)&&ce.get(W.name).modified||Te&&Pt(W))||W instanceof Kt&&W.value&&(ce.has(W.name.name)||Te&&Pt(W.name))||(Qe=Mo(W.left,W))&&(Qe instanceof Xe||ce.has(Qe.name))||oe&&(c?W.has_side_effects(D):nn(W)))&&(se=W,W instanceof Ye&&(te=!0)),ht(W)},function(W){te||(se===W&&(te=!0),re===W&&(re=null))}),G=new br(function(W){if(te)return W;if(!J)return W!==N[K]?W:(K++,K<N.length?void 0:(J=!0,W));if(W instanceof ke&&W.name==Ve.name)return--ve||(te=!0),Mo(W,G.parent())?W:(Ve.replaced++,ne.replaced--,Y.value);if(W instanceof wo||W instanceof Ye)return W});--H>=0;){H==0&&D.option("unused")&&Ct();var N=[];for(le(O[H]);U.length>0;){N=U.pop();var K=0,Y=N[N.length-1],ne=null,se=null,re=null,ue=pt(Y);if(!(!ue||Qd(ue)||ue.has_side_effects(D))){var ce=Rt(Y),Ee=Dt(ue);ue instanceof ke&&ce.set(ue.name,{def:ue.definition(),modified:!1});var Te=It(Y),_e=kt(),oe=Y.may_throw(D),Z=Y.name instanceof Ln,J=Z,te=!1,ve=0,me=!P||!J;if(!me){for(let W=D.self().argnames.lastIndexOf(Y.name)+1;!te&&W<P.length;W++)P[W].transform(B);me=!0}for(var Ze=H;!te&&Ze<O.length;Ze++)O[Ze].transform(B);if(ne){var Ve=Y.name.definition();if(te&&Ve.references.length-Ve.replaced>ve)ve=!1;else{te=!1,K=0,J=Z;for(var Ze=H;!te&&Ze<O.length;Ze++)O[Ze].transform(G);ne.single_use=!1}}ve&&!yn(Y)&&O.splice(H,1)}}}function ht(W){if(W instanceof Ye)return W;if(W instanceof Qn){W.expression=W.expression.transform(B);for(var Fe=0,Ue=W.body.length;!te&&Fe<Ue;Fe++){var Pe=W.body[Fe];if(Pe instanceof ii){if(!J){if(Pe!==N[K])continue;K++}if(Pe.expression=Pe.expression.transform(B),!_e)break}}return te=!0,W}}function wt(W,Fe){if(W.global)return!1;let Ue=W.scope;for(;Ue&&Ue!==Fe;){if(Ue.variables.has(W.name))return!0;Ue=Ue.parent_scope}return!1}function yt(W,Fe,Ue){var Pe=!1,Qe=!(W instanceof on);return Fe.walk(new Un(function(Ht,ft){if(Pe)return!0;if(Ht instanceof ke&&(W.variables.has(Ht.name)||wt(Ht.definition(),W))){var fn=Ht.definition().scope;if(fn!==r){for(;fn=fn.parent_scope;)if(fn===r)return!0}return Pe=!0}if((Ue||Qe)&&Ht instanceof Hn)return Pe=!0;if(Ht instanceof Ye&&!(Ht instanceof on)){var gn=Qe;return Qe=!1,ft(),Qe=gn,!0}})),Pe}function St(W){return!(W instanceof gt||Mn(W,Ue=>{if(Ue instanceof Sr)return vr}))}function Ct(){var W,Fe=D.self();if(Wu(Fe)&&!Fe.name&&!Fe.uses_arguments&&!Fe.pinned()&&(W=D.parent())instanceof $e&&W.expression===Fe&&W.args.every(St)){var Ue=D.has_directive("use strict");Ue&&!vf(Ue,Fe.body)&&(Ue=!1);var Pe=Fe.argnames.length;P=W.args.slice(Pe);for(var Qe=new Set,Ht=Pe;--Ht>=0;){var ft=Fe.argnames[Ht],fn=W.args[Ht];const jr=ft.definition&&ft.definition();if(!(jr&&jr.orig.length>1)&&(P.unshift(V(Kt,ft,{name:ft,value:fn})),!Qe.has(ft.name)))if(Qe.add(ft.name),ft instanceof gt){var gn=W.args.slice(Ht);gn.every(rn=>!yt(Fe,rn,Ue))&&U.unshift([V(Kt,ft,{name:ft.expression,value:V(Ft,W,{elements:gn})})])}else fn?(fn instanceof Ke&&fn.pinned()||yt(Fe,fn,Ue))&&(fn=null):fn=V(un,ft).transform(D),fn&&U.unshift([V(Kt,ft,{name:ft,value:fn})])}}}function le(W){if(N.push(W),W instanceof lt)!W.left.has_side_effects(D)&&!(W.right instanceof Sn)&&U.push(N.slice()),le(W.right);else if(W instanceof pe)le(W.left),le(W.right);else if(W instanceof $e&&!pr(W,No))le(W.expression),W.args.forEach(le);else if(W instanceof ii)le(W.expression);else if(W instanceof it)le(W.condition),le(W.consequent),le(W.alternative);else if(W instanceof dn){var Fe=W.definitions.length,Ue=Fe-200;for(Ue<0&&(Ue=0);Ue<Fe;Ue++)le(W.definitions[Ue])}else W instanceof Lu?(le(W.condition),W.body instanceof Cn||le(W.body)):W instanceof _r?W.value&&le(W.value):W instanceof Dn?(W.init&&le(W.init),W.condition&&le(W.condition),W.step&&le(W.step),W.body instanceof Cn||le(W.body)):W instanceof Yn?(le(W.object),W.body instanceof Cn||le(W.body)):W instanceof Vt?(le(W.condition),W.body instanceof Cn||le(W.body),W.alternative&&!(W.alternative instanceof Cn)&&le(W.alternative)):W instanceof mt?W.expressions.forEach(le):W instanceof He?le(W.body):W instanceof Qn?(le(W.expression),W.body.forEach(le)):W instanceof en?(W.operator=="++"||W.operator=="--")&&U.push(N.slice()):W instanceof Kt&&W.value&&!(W.value instanceof Sn)&&(U.push(N.slice()),le(W.value));N.pop()}function we(W,Fe,Ue){var Pe=B.parent(Fe);return Pe instanceof lt?Ue&&!Pe.logical&&!(Pe.left instanceof Xe||ce.has(Pe.left.name))?we(Pe,Fe+1,Ue):W:Pe instanceof pe?Ue&&(!Lo.has(Pe.operator)||Pe.left===W)?we(Pe,Fe+1,Ue):W:Pe instanceof $e||Pe instanceof ii?W:Pe instanceof it?Ue&&Pe.condition===W?we(Pe,Fe+1,Ue):W:Pe instanceof dn?we(Pe,Fe+1,!0):Pe instanceof _r?Ue?we(Pe,Fe+1,Ue):W:Pe instanceof Vt?Ue&&Pe.condition===W?we(Pe,Fe+1,Ue):W:Pe instanceof Xr?W:Pe instanceof mt?we(Pe,Fe+1,Pe.tail_node()!==W):Pe instanceof He?we(Pe,Fe+1,!0):Pe instanceof Qn||Pe instanceof Kt?W:null}function be(W){var Fe=W.value;if(Fe instanceof ke&&Fe.name!="arguments"){var Ue=Fe.definition();if(!Ue.undeclared)return ne=Ue}}function pt(W){if(W instanceof lt&&W.logical)return!1;if(W instanceof Kt&&W.name instanceof Bn){var Fe=W.name.definition();if(!vf(W.name,Fe.orig))return;var Ue=Fe.references.length-Fe.replaced;if(!Ue)return;var Pe=Fe.orig.length-Fe.eliminated;if(Pe>1&&!(W.name instanceof Ln)||(Ue>1?be(W):!D.exposed(Fe)))return V(ke,W.name,W.name)}else{const Qe=W instanceof lt?W.left:W.expression;return!jf(Qe,ho)&&!jf(Qe,ta)&&Qe}}function Et(W){return W instanceof lt?W.right:W.value}function Rt(W){var Fe=new Map;if(W instanceof en)return Fe;var Ue=new Un(function(Pe){for(var Qe=Pe;Qe instanceof Xe;)Qe=Qe.expression;if(Qe instanceof ke){const Ht=Fe.get(Qe.name);(!Ht||!Ht.modified)&&Fe.set(Qe.name,{def:Qe.definition(),modified:fa(D,Ue,Pe,Pe,0)})}});return Et(W).walk(Ue),Fe}function yn(W){if(W.name instanceof Ln){var Fe=D.parent(),Ue=D.self().argnames,Pe=Ue.indexOf(W.name);if(Pe<0)Fe.args.length=Math.min(Fe.args.length,Ue.length-1);else{var Qe=Fe.args;Qe[Pe]&&(Qe[Pe]=V(nt,Qe[Pe],{value:0}))}return!0}var Ht=!1;return O[H].transform(new br(function(ft,fn,gn){if(Ht)return ft;if(ft===W||ft.body===W)return Ht=!0,ft instanceof Kt?(ft.value=ft.name instanceof ho?V(un,ft.value):null,ft):gn?tn.skip:null},function(ft){if(ft instanceof mt)switch(ft.expressions.length){case 0:return null;case 1:return ft.expressions[0]}}))}function Dt(W){for(;W instanceof Xe;)W=W.expression;return W instanceof ke&&W.definition().scope.get_defun_scope()===r&&!(a&&(ce.has(W.name)||Y instanceof en||Y instanceof lt&&!Y.logical&&Y.operator!="="))}function It(W){return W instanceof en?Yu.has(W.operator):Et(W).has_side_effects(D)}function kt(){if(Te)return!1;if(ne)return!0;if(ue instanceof ke){var W=ue.definition();if(W.references.length-W.replaced==(Y instanceof Kt?1:2))return!0}return!1}function Pt(W){if(!W.definition)return!0;var Fe=W.definition();return Fe.orig.length==1&&Fe.orig[0]instanceof Oi?!1:Fe.scope.get_defun_scope()!==r?!0:Fe.references.some(Ue=>Ue.scope.get_defun_scope()!==r)}function nn(W,Fe){if(W instanceof lt)return nn(W.left,!0);if(W instanceof en)return nn(W.expression,!0);if(W instanceof Kt)return W.value&&nn(W.value);if(Fe){if(W instanceof Jt||W instanceof kn)return nn(W.expression,!0);if(W instanceof ke)return W.definition().scope.get_defun_scope()!==r}return!1}function ir(W,Fe){for(const{def:Ue}of Fe.values()){const Pe=W.find_variable(Ue.name);if(Pe){if(Pe===Ue)continue;return!0}}return!1}}function T(O){for(var D=[],P=0;P<O.length;){var U=O[P];U instanceof tt&&U.body.every($f)?(f=!0,T(U.body),O.splice(P,1,...U.body),P+=U.body.length):U instanceof Ut?(f=!0,O.splice(P,1)):U instanceof ur?D.indexOf(U.value)<0?(P++,D.push(U.value)):(f=!0,O.splice(P,1)):P++}}function x(O,D){var P=D.self(),U=re(O),H=P instanceof Ke;const B=Math.min(O.length,500);for(var G=B;--G>=0;){var N=O[G],K=_e(G),Y=O[K];if(H&&!Y&&N instanceof pn){if(!N.value){f=!0,O.splice(G,1);continue}if(N.value instanceof qe&&N.value.operator=="void"){f=!0,O[G]=V(He,N,{body:N.value.expression});continue}}if(N instanceof Vt){let Z,J;if(Z=Vr(N.body),ce(Z)&&(J=Te(N.body,Z))){Z.label&&Zo(Z.label.thedef.references,Z),f=!0,N=N.clone(),N.condition=N.condition.negate(D),N.body=V(tt,N,{body:qu(N.alternative).concat(Ee())}),N.alternative=V(tt,N,{body:J}),O[G]=N.transform(D);continue}if(Z=Vr(N.alternative),ce(Z)&&(J=Te(N.alternative,Z))){Z.label&&Zo(Z.label.thedef.references,Z),f=!0,N=N.clone(),N.body=V(tt,N.body,{body:qu(N.body).concat(Ee())}),N.alternative=V(tt,N.alternative,{body:J}),O[G]=N.transform(D);continue}}if(N instanceof Vt&&N.body instanceof pn){var ne=N.body.value;if(!ne&&!N.alternative&&(H&&!Y||Y instanceof pn&&!Y.value)){f=!0,O[G]=V(He,N.condition,{body:N.condition});continue}if(ne&&!N.alternative&&Y instanceof pn&&Y.value){f=!0,N=N.clone(),N.alternative=Y,O[G]=N.transform(D),O.splice(K,1);continue}if(ne&&!N.alternative&&(!Y&&H&&U||Y instanceof pn)){f=!0,N=N.clone(),N.alternative=Y||V(pn,N,{value:null}),O[G]=N.transform(D),Y&&O.splice(K,1);continue}var se=O[oe(G)];if(D.option("sequences")&&H&&!N.alternative&&se instanceof Vt&&se.body instanceof pn&&_e(K)==O.length&&Y instanceof He){f=!0,N=N.clone(),N.alternative=V(tt,Y,{body:[Y,V(pn,Y,{value:null})]}),O[G]=N.transform(D),O.splice(K,1);continue}}}function re(Z){for(var J=0,te=Z.length;--te>=0;){var ve=Z[te];if(ve instanceof Vt&&ve.body instanceof pn&&++J>1)return!0}return!1}function ue(Z){return!Z||Z instanceof qe&&Z.operator=="void"}function ce(Z){if(!Z)return!1;for(var J=G+1,te=O.length;J<te;J++){var ve=O[J];if(ve instanceof si||ve instanceof ai)return!1}var me=Z instanceof ri?D.loopcontrol_target(Z):null;return Z instanceof pn&&H&&ue(Z.value)||Z instanceof fo&&P===Zf(me)||Z instanceof Br&&me instanceof tt&&P===me}function Ee(){var Z=O.slice(G+1);return O.length=G+1,Z.filter(function(J){return J instanceof sn?(O.push(J),!1):!0})}function Te(Z,J){var te=qu(Z);if(J===te[te.length-1])return te=te.slice(0,-1),J.value&&te.push(V(He,J.value,{body:J.value.expression})),te}function _e(Z){for(var J=Z+1,te=O.length;J<te;J++){var ve=O[J];if(!(ve instanceof Pn&&F(ve)))break}return J}function oe(Z){for(var J=Z;--J>=0;){var te=O[J];if(!(te instanceof Pn&&F(te)))break}return J}}function w(O,D){for(var P,U=D.self(),H=0,B=0,G=O.length;H<G;H++){var N=O[H];if(N instanceof ri){var K=D.loopcontrol_target(N);N instanceof Br&&!(K instanceof Xr)&&Zf(K)===U||N instanceof fo&&Zf(K)===U?N.label&&Zo(N.label.thedef.references,N):O[B++]=N}else O[B++]=N;if(Vr(N)){P=O.slice(H+1);break}}O.length=B,f=B!=G,P&&P.forEach(function(Y){Vo(D,Y,O)})}function F(O){return O.definitions.every(D=>!D.value)}function R(O,D){if(O.length<2)return;var P=[],U=0;function H(){if(P.length){var Y=ot(P[0],P);O[U++]=V(He,Y,{body:Y}),P=[]}}for(var B=0,G=O.length;B<G;B++){var N=O[B];if(N instanceof He){P.length>=D.sequences_limit&&H();var K=N.body;P.length>0&&(K=K.drop_side_effect_free(D)),K&&Mf(P,K)}else N instanceof dn&&F(N)||N instanceof sn||H(),O[U++]=N}H(),O.length=U,U!=G&&(f=!0)}function v(O,D){if(!(O instanceof tt))return O;for(var P=null,U=0,H=O.body.length;U<H;U++){var B=O.body[U];if(B instanceof Pn&&F(B))D.push(B);else{if(P||B instanceof si||B instanceof ai)return!1;P=B}}return P}function d(O,D){function P(se){U--,f=!0;var re=H.body;return ot(re,[re,se]).transform(D)}for(var U=0,H,B=0;B<O.length;B++){var G=O[B];if(H&&(G instanceof _r?G.value=P(G.value||V(un,G).transform(D)):G instanceof Dn?G.init instanceof dn||Mn(H.body,re=>{if(re instanceof Ye)return!0;if(re instanceof pe&&re.operator==="in")return vr})||(G.init?G.init=P(G.init):(G.init=H.body,U--,f=!0)):G instanceof Yn?!(G.init instanceof si)&&!(G.init instanceof ai)&&(G.object=P(G.object)):G instanceof Vt?G.condition=P(G.condition):(G instanceof Qn||G instanceof xr)&&(G.expression=P(G.expression))),D.option("conditionals")&&G instanceof Vt){var N=[],K=v(G.body,N),Y=v(G.alternative,N);if(K!==!1&&Y!==!1&&N.length>0){var ne=N.length;N.push(V(Vt,G,{condition:G.condition,body:K||V(Ut,G.body),alternative:Y})),N.unshift(U,1),[].splice.apply(O,N),B+=ne,U+=ne+1,H=null,f=!0;continue}}O[U++]=G,H=G instanceof He?G:null}O.length=U}function g(O,D){if(O instanceof dn){var P=O.definitions[O.definitions.length-1];if(P.value instanceof jt){var U;if(D instanceof lt&&!D.logical?U=[D]:D instanceof mt&&(U=D.expressions.slice()),!!U){var H=!1;do{var B=U[0];if(!(B instanceof lt)||B.operator!="="||!(B.left instanceof Xe))break;var G=B.left.expression;if(!(G instanceof ke)||P.name.name!=G.name||!B.right.is_constant_expression(n))break;var N=B.left.property;if(N instanceof Oe&&(N=N.evaluate(e)),N instanceof Oe)break;N=""+N;var K=e.option("ecma")<2015&&e.has_directive("use strict")?function(ne){return ne.key!=N&&ne.key&&ne.key.name!=N}:function(ne){return ne.key&&ne.key.name!=N};if(!P.value.properties.every(K))break;var Y=P.value.properties.filter(function(ne){return ne.key===N})[0];Y?Y.value=new mt({start:Y.start,expressions:[Y.value.clone(),B.right.clone()],end:Y.end}):P.value.properties.push(V(an,B,{key:N,value:B.right})),U.shift(),H=!0}while(U.length);return H&&U}}}}function A(O){for(var D,P=0,U=-1,H=O.length;P<H;P++){var B=O[P],G=O[U];if(B instanceof dn)G&&G.TYPE==B.TYPE?(G.definitions=G.definitions.concat(B.definitions),f=!0):D&&D.TYPE==B.TYPE&&F(B)?(D.definitions=D.definitions.concat(B.definitions),f=!0):(O[++U]=B,D=B);else if(B instanceof _r)B.value=K(B.value);else if(B instanceof Dn){var N=g(G,B.init);N?(f=!0,B.init=N.length?ot(B.init,N):null,O[++U]=B):G instanceof Pn&&(!B.init||B.init.TYPE==G.TYPE)?(B.init&&(G.definitions=G.definitions.concat(B.init.definitions)),B.init=G,O[U]=B,f=!0):D instanceof Pn&&B.init instanceof Pn&&F(B.init)?(D.definitions=D.definitions.concat(B.init.definitions),B.init=null,O[++U]=B,f=!0):O[++U]=B}else if(B instanceof Yn)B.object=K(B.object);else if(B instanceof Vt)B.condition=K(B.condition);else if(B instanceof He){var N=g(G,B.body);if(N){if(f=!0,!N.length)continue;B.body=ot(B.body,N)}O[++U]=B}else B instanceof Qn||B instanceof xr?B.expression=K(B.expression):O[++U]=B}O.length=U+1;function K(Y){O[++U]=B;var ne=g(G,Y);return ne?(f=!0,ne.length?ot(Y,ne):Y instanceof mt?Y.tail_node().left:Y.left):Y}}}function Qg(t){for(var e,n=0;e=t.parent(n++);){if(e instanceof In)return!1;if(e instanceof Ft||e instanceof an||e instanceof jt)return!0}return!1}function Qf(t,e){for(const n of e.enclosed){if(e.variables.has(n.name))continue;const r=t.find_variable(n.name);if(r){if(r===n)continue;return!0}}return!1}function Jg(t,e){if(t.orig.length===1&&e){const n=e.size(),r=t.name.length;return n>r}return!0}function ev(t,e){if(e.in_computed_key())return t;const n=e.parent(),r=t.definition(),a=e.find_scope();let c=t.fixed_value();if(e.top_retain&&r.global&&e.top_retain(r)&&Jg(r,c))return r.fixed=!1,r.single_use=!1,t;let f=r.single_use&&!(n instanceof $e&&n.is_callee_pure(e)||pr(n,No))&&!(n instanceof Rn&&c instanceof Ke&&c.name);if(f&&c instanceof Oe&&(f=!c.has_side_effects(e)&&!c.may_throw(e)),c instanceof At&&r.scope!==t.scope)return t;if(f&&(c instanceof Ke||c instanceof At)){if(Gd(c,e))f=!1;else if(r.scope!==t.scope&&(r.escaped==1||Gn(c,Cs)||Qg(e)||!e.option("reduce_funcs")))f=!1;else if(Hf(e,r))f=!1;else if((r.scope!==t.scope||r.orig[0]instanceof Ln)&&(f=c.is_constant_expression(t.scope),f=="f")){var p=t.scope;do(p instanceof sn||Wu(p))&&Dr(p,Cs);while(p=p.parent_scope)}}if(f&&(c instanceof Ke||c instanceof At)&&(f=r.scope===t.scope&&!Qf(a,c)||n instanceof $e&&n.expression===t&&!Qf(a,c)&&!(c.name&&c.name.definition().recursive_refs>0)),f&&c){if(c instanceof Jr&&(Dr(c,Io),c=V(ki,c,c)),c instanceof sn&&(Dr(c,Io),c=V(Gt,c,c)),r.recursive_refs>0&&c.name instanceof Oi){const b=c.name.definition();let T=c.variables.get(c.name.name),x=T&&T.orig[0];x instanceof hi||(x=V(hi,c.name,c.name),x.scope=c,c.name=x,T=c.def_function(x)),Mn(c,w=>{w instanceof ke&&w.definition()===b&&(w.thedef=T,T.references.push(w))})}return(c instanceof Ke||c instanceof At)&&c.parent_scope!==a&&(c=c.clone(!0,e.get_toplevel()),a.add_child_scope(c)),c.optimize(e)}if(c){let b;if(c instanceof Hn)!(r.orig[0]instanceof Ln)&&r.references.every(T=>r.scope===T.scope)&&(b=c);else{var E=c.evaluate(e);E!==c&&(e.option("unsafe_regexp")||!(E instanceof RegExp))&&(b=lr(E,c))}if(b){const T=t.size(e),x=b.size(e);let w=0;if(e.option("unused")&&!e.exposed(r)&&(w=(T+2+c.size(e))/(r.references.length-r.assignments)),x<=T+w)return b}}return t}function tv(t,e){if(e.in_computed_key())return t;var n=t.expression,r=n,a=t.args.every(B=>!(B instanceof gt));if(e.option("reduce_vars")&&r instanceof ke&&!pr(t,No)){const B=r.fixed_value();if(Gd(B,e)||!e.toplevel.funcs&&n.definition().global)return t;r=B}var c=r instanceof Ke,f=c&&r.body[0],p=c&&!r.is_generator&&!r.async,E=p&&e.option("inline")&&!t.is_callee_pure(e);if(E&&f instanceof pn){let B=f.value;if(!B||B.is_constant_expression()){B?B=B.clone(!0):B=V(un,t);const G=t.args.concat(B);return ot(t,G).optimize(e)}if(r.argnames.length===1&&r.argnames[0]instanceof Ln&&t.args.length<2&&!(t.args[0]instanceof gt)&&B instanceof ke&&B.name===r.argnames[0].name){const G=(t.args[0]||V(un)).optimize(e);let N;return G instanceof Xe&&(N=e.parent())instanceof $e&&N.expression===t?ot(t,[V(nt,t,{value:0}),G]):G}}if(E){var b,T,x=-1;let B,G,N;if(a&&!r.uses_arguments&&!(e.parent()instanceof At)&&!(r.name&&r instanceof Gt)&&(G=d(f))&&(n===r||pr(t,Of)||e.option("unused")&&(B=n.definition()).references.length==1&&!Hf(e,B)&&r.is_constant_expression(n.scope))&&!pr(t,kf|No)&&!r.contains_this()&&O()&&(N=e.find_scope())&&!Qf(N,r)&&!function(){let Y=0,ne;for(;ne=e.parent(Y++);){if(ne instanceof Mr)return!0;if(ne instanceof Cn)break}return!1}()&&!(b instanceof At))return Dr(r,Io),N.add_child_scope(r),ot(t,H(G)).optimize(e)}if(E&&pr(t,Of))return Dr(r,Io),r=V(r.CTOR===sn?Gt:r.CTOR,r,r),r=r.clone(!0),r.figure_out_scope({},{parent_scope:e.find_scope(),toplevel:e.get_toplevel()}),V($e,t,{expression:r,args:t.args}).optimize(e);if(p&&e.option("side_effects")&&r.body.every(yo)){var F=t.args.concat(V(un,t));return ot(t,F).optimize(e)}if(e.option("negate_iife")&&e.parent()instanceof He&&Vf(t))return t.negate(e,!0);var R=t.evaluate(e);if(R!==t)return R=lr(R,t).optimize(e),kr(e,R,t);return t;function v(B){if(!B)return V(un,t);if(B instanceof pn)return B.value?B.value.clone(!0):V(un,t);if(B instanceof He)return V(qe,B,{operator:"void",expression:B.body.clone(!0)})}function d(B){var G=r.body,N=G.length;if(e.option("inline")<3)return N==1&&v(B);B=null;for(var K=0;K<N;K++){var Y=G[K];if(Y instanceof Pn){if(B&&!Y.definitions.every(ne=>!ne.value))return!1}else{if(B)return!1;Y instanceof Ut||(B=Y)}}return v(B)}function g(B,G){for(var N=0,K=r.argnames.length;N<K;N++){var Y=r.argnames[N];if(Y instanceof Mr){if(Gn(Y.left,mo))continue;return!1}if(Y instanceof qt)return!1;if(Y instanceof gt){if(Gn(Y.expression,mo))continue;return!1}if(!Gn(Y,mo)){if(!G||B.has(Y.name)||jd.has(Y.name)||b.conflicting_def(Y.name))return!1;T&&T.push(Y.definition())}}return!0}function A(B,G){for(var N=r.body.length,K=0;K<N;K++){var Y=r.body[K];if(Y instanceof Pn){if(!G)return!1;for(var ne=Y.definitions.length;--ne>=0;){var se=Y.definitions[ne].name;if(se instanceof qt||B.has(se.name)||jd.has(se.name)||b.conflicting_def(se.name))return!1;T&&T.push(se.definition())}}}return!0}function O(){var B=new Set;do if(b=e.parent(++x),b.is_block_scope()&&b.block_scope&&b.block_scope.variables.forEach(function(K){B.add(K.name)}),b instanceof oi)b.argname&&B.add(b.argname.name);else if(b instanceof Xr)T=[];else if(b instanceof ke&&b.fixed_value()instanceof Ye)return!1;while(!(b instanceof Ye));var G=!(b instanceof Qt)||e.toplevel.vars,N=e.option("inline");return!A(B,N>=3&&G)||!g(B,N>=2&&G)?!1:!T||T.length==0||!Hd(r,T)}function D(B,G,N,K){var Y=N.definition();b.variables.has(N.name)||(b.variables.set(N.name,Y),b.enclosed.push(Y),B.push(V(Kt,N,{name:N,value:null})));var se=V(ke,N,N);Y.references.push(se),K&&G.push(V(lt,t,{operator:"=",logical:!1,left:se,right:K.clone()}))}function P(B,G){for(var N=r.argnames.length,K=t.args.length;--K>=N;)G.push(t.args[K]);for(K=N;--K>=0;){var Y=r.argnames[K],ne=t.args[K];if(Gn(Y,mo)||!Y.name||b.conflicting_def(Y.name))ne&&G.push(ne);else{var se=V(Wi,Y,Y);Y.definition().orig.push(se),!ne&&T&&(ne=V(un,t)),D(B,G,se,ne)}}B.reverse(),G.reverse()}function U(B,G){for(var N=G.length,K=0,Y=r.body.length;K<Y;K++){var ne=r.body[K];if(ne instanceof Pn)for(var se=0,re=ne.definitions.length;se<re;se++){var ue=ne.definitions[se],ce=ue.name;if(D(B,G,ce,ue.value),T&&r.argnames.every(_e=>_e.name!=ce.name)){var Ee=r.variables.get(ce.name),Te=V(ke,ce,ce);Ee.references.push(Te),G.splice(N++,0,V(lt,ue,{operator:"=",logical:!1,left:Te,right:V(un,ce)}))}}}}function H(B){var G=[],N=[];if(P(G,N),U(G,N),N.push(B),G.length){const K=b.body.indexOf(e.parent(x-1))+1;b.body.splice(K,0,V(Pn,r,{definitions:G}))}return N.map(K=>K.clone(!0))}}(function(t){function e(n,r){if(n instanceof Oe)return n instanceof Nt||(n=n.clone(!0)),V(n.CTOR,r,n);if(Array.isArray(n))return V(Ft,r,{elements:n.map(function(f){return e(f,r)})});if(n&&typeof n=="object"){var a=[];for(var c in n)sr(n,c)&&a.push(V(an,r,{key:c,value:e(n[c],r)}));return V(jt,r,{properties:a})}return lr(n,r)}Qt.DEFMETHOD("resolve_defines",function(n){return n.option("global_defs")?(this.figure_out_scope({ie8:n.option("ie8")}),this.transform(new br(function(r){var a=r._find_defs(n,"");if(a){for(var c=0,f=r,p;(p=this.parent(c++))&&!(!(p instanceof Xe)||p.expression!==f);)f=p;if(!Mo(f,p))return a}}))):this}),t(Oe,Er),t(Sn,function(n,r){return this.expression._find_defs(n,r)}),t(Jt,function(n,r){return this.expression._find_defs(n,"."+this.property+r)}),t(Bn,function(){this.global()}),t(ke,function(n,r){if(this.global()){var a=n.option("global_defs"),c=this.name+r;if(sr(a,c))return e(a[c],this)}}),t(Ki,function(n,r){var a=n.option("global_defs"),c="import.meta"+r;if(sr(a,c))return e(a[c],this)})})(function(t,e){t.DEFMETHOD("_find_defs",e)});class Jd extends Un{constructor(e,{false_by_default:n=!1,mangle_options:r=!1}){super(),e.defaults!==void 0&&!e.defaults&&(n=!0),this.options=xi(e,{arguments:!1,arrows:!n,booleans:!n,booleans_as_integers:!1,collapse_vars:!n,comparisons:!n,computed_props:!n,conditionals:!n,dead_code:!n,defaults:!0,directives:!n,drop_console:!1,drop_debugger:!n,ecma:5,evaluate:!n,expression:!1,global_defs:!1,hoist_funs:!1,hoist_props:!n,hoist_vars:!1,ie8:!1,if_return:!n,inline:!n,join_vars:!n,keep_classnames:!1,keep_fargs:!0,keep_fnames:!1,keep_infinity:!1,lhs_constants:!n,loops:!n,module:!1,negate_iife:!n,passes:1,properties:!n,pure_getters:!n&&"strict",pure_funcs:null,pure_new:!1,reduce_funcs:!n,reduce_vars:!n,sequences:!n,side_effects:!n,switches:!n,top_retain:null,toplevel:!!(e&&e.top_retain),typeofs:!n,unsafe:!1,unsafe_arrows:!1,unsafe_comps:!1,unsafe_Function:!1,unsafe_math:!1,unsafe_symbols:!1,unsafe_methods:!1,unsafe_proto:!1,unsafe_regexp:!1,unsafe_undefined:!1,unused:!n,warnings:!1},!0);var a=this.options.global_defs;if(typeof a=="object")for(var c in a)c[0]==="@"&&sr(a,c)&&(a[c.slice(1)]=ms(a[c],{expression:!0}));this.options.inline===!0&&(this.options.inline=3);var f=this.options.pure_funcs;typeof f=="function"?this.pure_funcs=f:this.pure_funcs=f?function(T){return!f.includes(T.expression.print_to_string())}:ar;var p=this.options.top_retain;p instanceof RegExp?this.top_retain=function(T){return p.test(T.name)}:typeof p=="function"?this.top_retain=p:p&&(typeof p=="string"&&(p=p.split(/,/)),this.top_retain=function(T){return p.includes(T.name)}),this.options.module&&(this.directives["use strict"]=!0,this.options.toplevel=!0);var E=this.options.toplevel;this.toplevel=typeof E=="string"?{funcs:/funcs/.test(E),vars:/vars/.test(E)}:{funcs:E,vars:E};var b=this.options.sequences;this.sequences_limit=b==1?800:b|0,this.evaluated_regexps=new Map,this._toplevel=void 0,this._mangle_options=r&&Hu(r)}mangle_options(){var e=this._mangle_options&&this._mangle_options.nth_identifier||Ts,n=this._mangle_options&&this._mangle_options.module||this.option("module");return{ie8:this.option("ie8"),nth_identifier:e,module:n}}option(e){return this.options[e]}exposed(e){if(e.export)return!0;if(e.global){for(var n=0,r=e.orig.length;n<r;n++)if(!this.toplevel[e.orig[n]instanceof Oi?"funcs":"vars"])return!0}return!1}in_boolean_context(){if(!this.option("booleans"))return!1;for(var e=this.self(),n=0,r;r=this.parent(n);n++){if(r instanceof He||r instanceof it&&r.condition===e||r instanceof Lu&&r.condition===e||r instanceof Dn&&r.condition===e||r instanceof Vt&&r.condition===e||r instanceof qe&&r.operator=="!"&&r.expression===e)return!0;if(r instanceof pe&&(r.operator=="&&"||r.operator=="||"||r.operator=="??")||r instanceof it||r.tail_node()===e)e=r;else return!1}}in_32_bit_context(){if(!this.option("evaluate"))return!1;for(var e=this.self(),n=0,r;r=this.parent(n);n++){if(r instanceof pe&&Kf.has(r.operator))return!0;if(r instanceof qe)return r.operator==="~";if(r instanceof pe&&(r.operator=="&&"||r.operator=="||"||r.operator=="??")||r instanceof it&&r.condition!==e||r.tail_node()===e)e=r;else return!1}}in_computed_key(){if(!this.option("evaluate"))return!1;for(var e=this.self(),n=0,r;r=this.parent(n);n++)if(r instanceof _n&&r.key===e)return!0;return!1}get_toplevel(){return this._toplevel}compress(e){e=e.resolve_defines(this),this._toplevel=e,this.option("expression")&&this._toplevel.process_expression(!0);for(var n=+this.options.passes||1,r=1/0,a=!1,c=this.mangle_options(),f=0;f<n;f++)if(this._toplevel.figure_out_scope(c),f===0&&this.option("drop_console")&&(this._toplevel=this._toplevel.drop_console(this.option("drop_console"))),(f>0||this.option("reduce_vars"))&&this._toplevel.reset_opt_flags(this),this._toplevel=this._toplevel.transform(this),n>1){let p=0;if(Mn(this._toplevel,()=>{p++}),p<r)r=p,a=!1;else{if(a)break;a=!0}}return this.option("expression")&&this._toplevel.process_expression(!1),e=this._toplevel,this._toplevel=void 0,e}before(e,n){if(Gn(e,Io))return e;var r=!1;e instanceof Ye&&(e=e.hoist_properties(this),e=e.hoist_declarations(this),r=!0),n(e,this),n(e,this);var a=e.optimize(this);return r&&a instanceof Ye&&(a.drop_unused(this),n(a,this)),a===e&&Dr(a,Io),a}is_lhs(){const e=this.stack[this.stack.length-1],n=this.stack[this.stack.length-2];return Mo(e,n)}}function rt(t,e){t.DEFMETHOD("optimize",function(n){var r=this;if(Gn(r,Bf)||n.has_directive("use asm"))return r;var a=e(r,n);return Dr(a,Bf),a})}rt(Oe,function(t){return t}),Qt.DEFMETHOD("drop_console",function(t){var e=Array.isArray(t);return this.transform(new br(function(n){if(n.TYPE==="Call"){var r=n.expression;if(r instanceof Xe&&!(e&&t.indexOf(r.property)===-1)){for(var a=r.expression;a.expression;)a=a.expression;if(_i(a)&&a.name=="console")return V(un,n)}}}))}),Oe.DEFMETHOD("equivalent_to",function(t){return Ig(this,t)}),Ye.DEFMETHOD("process_expression",function(t,e){var n=this,r=new br(function(a){if(t&&a instanceof He)return V(pn,a,{value:a.body});if(!t&&a instanceof pn){if(e){var c=a.value&&a.value.drop_side_effect_free(e,!0);return c?V(He,a,{body:c}):V(Ut,a)}return V(He,a,{body:a.value||V(qe,a,{operator:"void",expression:V(nt,a,{value:0})})})}if(a instanceof At||a instanceof Ke&&a!==n)return a;if(a instanceof Cn){var f=a.body.length-1;f>=0&&(a.body[f]=a.body[f].transform(r))}else a instanceof Vt?(a.body=a.body.transform(r),a.alternative&&(a.alternative=a.alternative.transform(r))):a instanceof xr&&(a.body=a.body.transform(r));return a});n.transform(r)}),Qt.DEFMETHOD("reset_opt_flags",function(t){const e=this,n=t.option("reduce_vars"),r=new Un(function(a,c){if(ca(a,Lg),n)return t.top_retain&&a instanceof sn&&r.parent()===e&&Dr(a,Lf),a.reduce_vars(r,c,t)});r.safe_ids=Object.create(null),r.in_loop=null,r.loop_ids=new Map,r.defs_to_safe_ids=new Map,e.walk(r)}),vt.DEFMETHOD("fixed_value",function(){var t=this.thedef.fixed;return!t||t instanceof Oe?t:t()}),ke.DEFMETHOD("is_immutable",function(){var t=this.definition().orig;return t.length==1&&t[0]instanceof hi});function Jf(t,e){for(var n,r=0;(n=t.parent(r++))&&!(n instanceof Ye);)if(n instanceof oi&&n.argname){n=n.argname.definition().scope;break}return n.find_variable(e)}var nv=Bt("Array Boolean clearInterval clearTimeout console Date decodeURI decodeURIComponent encodeURI encodeURIComponent Error escape eval EvalError Function isFinite isNaN JSON Math Number parseFloat parseInt RangeError ReferenceError RegExp Object setInterval setTimeout String SyntaxError TypeError unescape URIError");ke.DEFMETHOD("is_declared",function(t){return!this.definition().undeclared||t.option("unsafe")&&nv.has(this.name)});var rv=new Set(["use asm","use strict"]);rt(ur,function(t,e){return e.option("directives")&&(!rv.has(t.value)||e.has_directive(t.value)!==t)?V(Ut,t):t}),rt(ji,function(t,e){return e.option("drop_debugger")?V(Ut,t):t}),rt(rr,function(t,e){return t.body instanceof Br&&e.loopcontrol_target(t.body)===t.body?V(Ut,t):t.label.references.length==0?t.body:t}),rt(Cn,function(t,e){return Zu(t.body,e),t});function iv(t){return!(t instanceof si||t instanceof ai||t instanceof At)}rt(tt,function(t,e){switch(Zu(t.body,e),t.body.length){case 1:if(!e.has_directive("use strict")&&e.parent()instanceof Vt&&iv(t.body[0])||$f(t.body[0]))return t.body[0];break;case 0:return V(Ut,t)}return t});function eh(t,e){return Zu(t.body,e),e.option("side_effects")&&t.body.length==1&&t.body[0]===e.has_directive("use strict")&&(t.body.length=0),t}rt(Ke,eh),Ye.DEFMETHOD("hoist_declarations",function(t){var e=this;if(t.has_directive("use asm"))return e;var n=t.option("hoist_funs"),r=t.option("hoist_vars");if(n||r){var a=[],c=[],f=new Map,p=0,E=0;Mn(e,d=>{if(d instanceof Ye&&d!==e)return!0;if(d instanceof Pn)return++E,!0}),r=r&&E>1;var b=new br(function(g){if(g!==e){if(g instanceof ur)return a.push(g),V(Ut,g);if(n&&g instanceof sn&&!(b.parent()instanceof Rn)&&b.parent()===e)return c.push(g),V(Ut,g);if(r&&g instanceof Pn&&!g.definitions.some(P=>P.name instanceof qt)){g.definitions.forEach(function(P){f.set(P.name.name,P),++p});var A=g.to_assignments(t),O=b.parent();if(O instanceof Yn&&O.init===g){if(A==null){var D=g.definitions[0].name;return V(ke,D,D)}return A}return O instanceof Dn&&O.init===g?A:A?V(He,g,{body:A}):V(Ut,g)}if(g instanceof Ye)return g}});if(e=e.transform(b),p>0){var T=[];const d=e instanceof Ke,g=d?e.args_as_names():null;if(f.forEach((A,O)=>{d&&g.some(D=>D.name===A.name.name)?f.delete(O):(A=A.clone(),A.value=null,T.push(A),f.set(O,A))}),T.length>0){for(var x=0;x<e.body.length;){if(e.body[x]instanceof He){var w=e.body[x].body,F,R;if(w instanceof lt&&w.operator=="="&&(F=w.left)instanceof vt&&f.has(F.name)){var v=f.get(F.name);if(v.value)break;v.value=w.right,Zo(T,v),T.push(v),e.body.splice(x,1);continue}if(w instanceof mt&&(R=w.expressions[0])instanceof lt&&R.operator=="="&&(F=R.left)instanceof vt&&f.has(F.name)){var v=f.get(F.name);if(v.value)break;v.value=R.right,Zo(T,v),T.push(v),e.body[x].body=ot(w,w.expressions.slice(1));continue}}if(e.body[x]instanceof Ut){e.body.splice(x,1);continue}if(e.body[x]instanceof tt){e.body.splice(x,1,...e.body[x].body);continue}break}T=V(Pn,e,{definitions:T}),c.push(T)}}e.body=a.concat(c,e.body)}return e}),Ye.DEFMETHOD("hoist_properties",function(t){var e=this;if(!t.option("hoist_props")||t.has_directive("use asm"))return e;var n=e instanceof Qt&&t.top_retain||Ot,r=new Map,a=new br(function(c,f){if(c instanceof Kt){const p=c.name;let E,b;if(p.scope===e&&(E=p.definition()).escaped!=1&&!E.assignments&&!E.direct_access&&!E.single_use&&!t.exposed(E)&&!n(E)&&(b=p.fixed_value())===c.value&&b instanceof jt&&!b.properties.some(T=>T instanceof gt||T.computed_key())){f(c,this);const T=new Map,x=[];return b.properties.forEach(({key:w,value:F})=>{const R=a.find_scope(),v=e.create_symbol(p.CTOR,{source:p,scope:R,conflict_scopes:new Set([R,...p.definition().references.map(d=>d.scope)]),tentative_name:p.name+"_"+w});T.set(String(w),v.definition()),x.push(V(Kt,c,{name:v,value:F}))}),r.set(E.id,T),tn.splice(x)}}else if(c instanceof Xe&&c.expression instanceof ke){const p=r.get(c.expression.definition().id);if(p){const E=p.get(String(Ud(c.property))),b=V(ke,c,{name:E.name,scope:c.expression.scope,thedef:E});return b.reference({}),b}}});return e.transform(a)}),rt(He,function(t,e){if(e.option("side_effects")){var n=t.body,r=n.drop_side_effect_free(e,!0);if(!r)return V(Ut,t);if(r!==n)return V(He,t,{body:r})}return t}),rt($i,function(t,e){return e.option("loops")?V(Dn,t,t).optimize(e):t}),rt(Si,function(t,e){if(!e.option("loops"))return t;var n=t.condition.tail_node().evaluate(e);if(!(n instanceof Oe)){if(n)return V(Dn,t,{body:V(tt,t.body,{body:[t.body,V(He,t.condition,{body:t.condition})]})}).optimize(e);if(!Uf(t,e.parent()))return V(tt,t.body,{body:[t.body,V(He,t.condition,{body:t.condition})]}).optimize(e)}return t});function e_(t,e){var n=t.body instanceof tt?t.body.body[0]:t.body;if(e.option("dead_code")&&a(n)){var r=[];return t.init instanceof In?r.push(t.init):t.init&&r.push(V(He,t.init,{body:t.init})),t.condition&&r.push(V(He,t.condition,{body:t.condition})),Vo(e,t.body,r),V(tt,t,{body:r})}return n instanceof Vt&&(a(n.body)?(t.condition?t.condition=V(pe,t.condition,{left:t.condition,operator:"&&",right:n.condition.negate(e)}):t.condition=n.condition.negate(e),c(n.alternative)):a(n.alternative)&&(t.condition?t.condition=V(pe,t.condition,{left:t.condition,operator:"&&",right:n.condition}):t.condition=n.condition,c(n.body))),t;function a(f){return f instanceof Br&&e.loopcontrol_target(f)===e.self()}function c(f){f=qu(f),t.body instanceof tt?(t.body=t.body.clone(),t.body.body=f.concat(t.body.body.slice(1)),t.body=t.body.transform(e)):t.body=V(tt,t.body,{body:f}).transform(e),t=e_(t,e)}}rt(Dn,function(t,e){if(!e.option("loops"))return t;if(e.option("side_effects")&&t.init&&(t.init=t.init.drop_side_effect_free(e)),t.condition){var n=t.condition.evaluate(e);if(!(n instanceof Oe)){if(n)t.condition=null;else if(!e.option("dead_code")){var r=t.condition;t.condition=lr(n,t.condition),t.condition=Qi(t.condition.transform(e),r)}}if(e.option("dead_code")&&(n instanceof Oe&&(n=t.condition.tail_node().evaluate(e)),!n)){var a=[];return Vo(e,t.body,a),t.init instanceof In?a.push(t.init):t.init&&a.push(V(He,t.init,{body:t.init})),a.push(V(He,t.condition,{body:t.condition})),V(tt,t,{body:a}).optimize(e)}}return e_(t,e)}),rt(Vt,function(t,e){if(yo(t.alternative)&&(t.alternative=null),!e.option("conditionals"))return t;var n=t.condition.evaluate(e);if(!e.option("dead_code")&&!(n instanceof Oe)){var r=t.condition;t.condition=lr(n,r),t.condition=Qi(t.condition.transform(e),r)}if(e.option("dead_code"))if(n instanceof Oe&&(n=t.condition.tail_node().evaluate(e)),n){if(!(n instanceof Oe)){var a=[];return a.push(V(He,t.condition,{body:t.condition})),a.push(t.body),t.alternative&&Vo(e,t.alternative,a),V(tt,t,{body:a}).optimize(e)}}else{var a=[];return Vo(e,t.body,a),a.push(V(He,t.condition,{body:t.condition})),t.alternative&&a.push(t.alternative),V(tt,t,{body:a}).optimize(e)}var c=t.condition.negate(e),f=t.condition.size(),p=c.size(),E=p<f;if(t.alternative&&E){E=!1,t.condition=c;var b=t.body;t.body=t.alternative||V(Ut,t),t.alternative=b}if(yo(t.body)&&yo(t.alternative))return V(He,t.condition,{body:t.condition.clone()}).optimize(e);if(t.body instanceof He&&t.alternative instanceof He)return V(He,t,{body:V(it,t,{condition:t.condition,consequent:t.body.body,alternative:t.alternative.body})}).optimize(e);if(yo(t.alternative)&&t.body instanceof He)return f===p&&!E&&t.condition instanceof pe&&t.condition.operator=="||"&&(E=!0),E?V(He,t,{body:V(pe,t,{operator:"||",left:c,right:t.body.body})}).optimize(e):V(He,t,{body:V(pe,t,{operator:"&&",left:t.condition,right:t.body.body})}).optimize(e);if(t.body instanceof Ut&&t.alternative instanceof He)return V(He,t,{body:V(pe,t,{operator:"||",left:t.condition,right:t.alternative.body})}).optimize(e);if(t.body instanceof _r&&t.alternative instanceof _r&&t.body.TYPE==t.alternative.TYPE)return V(t.body.CTOR,t,{value:V(it,t,{condition:t.condition,consequent:t.body.value||V(un,t.body),alternative:t.alternative.value||V(un,t.alternative)}).transform(e)}).optimize(e);if(t.body instanceof Vt&&!t.body.alternative&&!t.alternative&&(t=V(Vt,t,{condition:V(pe,t.condition,{operator:"&&",left:t.condition,right:t.body.condition}),body:t.body.body,alternative:null})),Vr(t.body)&&t.alternative){var T=t.alternative;return t.alternative=null,V(tt,t,{body:[t,T]}).optimize(e)}if(Vr(t.alternative)){var a=t.body;return t.body=t.alternative,t.condition=E?c:t.condition.negate(e),t.alternative=null,V(tt,t,{body:[t,a]}).optimize(e)}return t}),rt(Qn,function(t,e){if(!e.option("switches"))return t;var n,r=t.expression.evaluate(e);if(!(r instanceof Oe)){var a=t.expression;t.expression=lr(r,a),t.expression=Qi(t.expression.transform(e),a)}if(!e.option("dead_code"))return t;r instanceof Oe&&(r=t.expression.tail_node().evaluate(e));for(var c=[],f=[],p,E,b=0,T=t.body.length;b<T&&!E;b++){if(n=t.body[b],n instanceof wo)p?R(n,f[f.length-1]):p=n;else if(!(r instanceof Oe)){var x=n.expression.evaluate(e);if(!(x instanceof Oe)&&x!==r){R(n,f[f.length-1]);continue}if(x instanceof Oe&&(x=n.expression.tail_node().evaluate(e)),x===r&&(E=n,p)){var w=f.indexOf(p);f.splice(w,1),R(p,f[w-1]),p=null}}f.push(n)}for(;b<T;)R(t.body[b++],f[f.length-1]);t.body=f;let F=p||E;if(p=null,E=null,f.every((D,P)=>(D===F||D.expression instanceof Nt)&&(D.body.length===0||Vr(D)||f.length-1===P)))for(let D=0;D<f.length;D++){const P=f[D];for(let U=D+1;U<f.length;U++){const H=f[U];if(H.body.length===0)continue;const B=U===f.length-1,G=v(H,P,!1);if(G||B&&v(H,P,!0)){!G&&B&&H.body.push(V(Br));let N=U-1,K=0;for(;N>D&&O(f[N--]);)K++;const Y=f.splice(U-K,1+K);f.splice(D+1,0,...Y),D+=Y.length}}}for(let D=0;D<f.length;D++){let P=f[D];if(P.body.length!==0&&Vr(P))for(let U=D+1;U<f.length;D++,U++){let H=f[U];if(H.body.length!==0){if(v(H,P,!1)||U===f.length-1&&v(H,P,!0)){P.body=[],P=H;continue}break}}}{let D=f.length-1;for(;D>=0;D--){let P=f[D].body;if(A(P[P.length-1],e)&&P.pop(),!O(f[D]))break}if(D++,!F||f.indexOf(F)>=D)for(let P=f.length-1;P>=D;P--){let U=f[P];if(U===F)F=null,f.pop();else if(!U.expression.has_side_effects(e))f.pop();else break}}e:if(F){let D=f.indexOf(F),P=D;for(;P<f.length-1&&O(f[P]);P++);if(P<f.length-1)break e;let U=f.length-1;for(;U>=0;U--){let H=f[U];if(H!==F&&H.expression.has_side_effects(e))break}if(P>U){let H=D-1;for(;H>=0&&O(f[H]);H--);let B=Math.max(U,H)+1,G=D;U>D?(G=U,f[U].body=f[P].body):F.body=f[P].body,f.splice(G+1,P-G),f.splice(B,D-B)}}e:if(F){let D=f.findIndex(B=>!O(B)),P;if(D===f.length-1){let B=f[D];if(g(t))break e;P=V(tt,B,{body:B.body}),B.body=[]}else if(D!==-1)break e;if(!f.find(B=>B!==F&&B.expression.has_side_effects(e)))return V(tt,t,{body:c.concat(d(t.expression),F.expression?d(F.expression):[],P||[])}).optimize(e);const H=f.indexOf(F);if(f.splice(H,1),F=null,P)return V(tt,t,{body:c.concat(t,P)}).optimize(e)}if(f.length>0&&(f[0].body=c.concat(f[0].body)),f.length==0)return V(tt,t,{body:c.concat(d(t.expression))}).optimize(e);if(f.length==1&&!g(t)){let D=f[0];return V(Vt,t,{condition:V(pe,t,{operator:"===",left:t.expression,right:D.expression}),body:V(tt,D,{body:D.body}),alternative:null}).optimize(e)}if(f.length===2&&F&&!g(t)){let D=f[0]===F?f[1]:f[0],P=F.expression&&d(F.expression);if(Vr(f[0])){let G=f[0];return A(G.body[G.body.length-1],e)&&G.body.pop(),V(Vt,t,{condition:V(pe,t,{operator:"===",left:t.expression,right:D.expression}),body:V(tt,D,{body:D.body}),alternative:V(tt,F,{body:[].concat(P||[],F.body)})}).optimize(e)}let U="===",H=V(tt,D,{body:D.body}),B=V(tt,F,{body:[].concat(P||[],F.body)});if(f[0]===F){U="!==";let G=B;B=H,H=G}return V(tt,t,{body:[V(Vt,t,{condition:V(pe,t,{operator:U,left:t.expression,right:D.expression}),body:H,alternative:null})].concat(B)}).optimize(e)}return t;function R(D,P){P&&!Vr(P)?P.body=P.body.concat(D.body):Vo(e,D,c)}function v(D,P,U){let H=D.body,B=P.body;if(U&&(H=H.concat(V(Br))),H.length!==B.length)return!1;let G=V(tt,D,{body:H}),N=V(tt,P,{body:B});return G.equivalent_to(N)}function d(D){return V(He,D,{body:D})}function g(D){let P=!1,U=new Un(H=>{if(P||H instanceof Ke||H instanceof He)return!0;if(!A(H,U))return;let B=U.parent();B instanceof Gi&&B.body[B.body.length-1]===H||(P=!0)});return D.walk(U),P}function A(D,P){return D instanceof Br&&P.loopcontrol_target(D)===t}function O(D){return!Vr(D)&&!V(tt,D,{body:D.body}).has_side_effects(e)}}),rt(Ar,function(t,e){if(t.bcatch&&t.bfinally&&t.bfinally.body.every(yo)&&(t.bfinally=null),e.option("dead_code")&&t.body.body.every(yo)){var n=[];return t.bcatch&&Vo(e,t.bcatch,n),t.bfinally&&n.push(...t.bfinally.body),V(tt,t,{body:n}).optimize(e)}return t}),dn.DEFMETHOD("to_assignments",function(t){var e=t.option("reduce_vars"),n=[];for(const a of this.definitions){if(a.value){var r=V(ke,a.name,a.name);n.push(V(lt,a,{operator:"=",logical:!1,left:r,right:a.value})),e&&(r.definition().fixed=!1)}const c=a.name.definition();c.eliminated++,c.replaced--}return n.length==0?null:ot(this,n)}),rt(dn,function(t){return t.definitions.length==0?V(Ut,t):t}),rt(Kt,function(t,e){return t.name instanceof ta&&t.value!=null&&mi(t.value,e)&&(t.value=null),t}),rt(Lr,function(t){return t}),rt($e,function(t,e){var n=t.expression,r=n;n_(t.args);var a=t.args.every(Y=>!(Y instanceof gt));e.option("reduce_vars")&&r instanceof ke&&(r=r.fixed_value());var c=r instanceof Ke;if(c&&r.pinned())return t;if(e.option("unused")&&a&&c&&!r.uses_arguments){for(var f=0,p=0,E=0,b=t.args.length;E<b;E++){if(r.argnames[E]instanceof gt){if(Gn(r.argnames[E].expression,mo))for(;E<b;){var T=t.args[E++].drop_side_effect_free(e);T&&(t.args[f++]=T)}else for(;E<b;)t.args[f++]=t.args[E++];p=f;break}var x=E>=r.argnames.length;if(x||Gn(r.argnames[E],mo)){var T=t.args[E].drop_side_effect_free(e);if(T)t.args[f++]=T;else if(!x){t.args[f++]=V(nt,t.args[E],{value:0});continue}}else t.args[f++]=t.args[E];p=f}t.args.length=p}if(e.option("unsafe")&&!n.contains_optional()){if(n instanceof Jt&&n.start.value==="Array"&&n.property==="from"&&t.args.length===1){const[Y]=t.args;if(Y instanceof Ft)return V(Ft,Y,{elements:Y.elements}).optimize(e)}if(_i(n))switch(n.name){case"Array":if(t.args.length!=1)return V(Ft,t,{elements:t.args}).optimize(e);if(t.args[0]instanceof nt&&t.args[0].value<=11){const Y=[];for(let ne=0;ne<t.args[0].value;ne++)Y.push(new Ur);return new Ft({elements:Y})}break;case"Object":if(t.args.length==0)return V(jt,t,{properties:[]});break;case"String":if(t.args.length==0)return V(bt,t,{value:""});if(t.args.length<=1)return V(pe,t,{left:t.args[0],operator:"+",right:V(bt,t,{value:""})}).optimize(e);break;case"Number":if(t.args.length==0)return V(nt,t,{value:0});if(t.args.length==1&&e.option("unsafe_math"))return V(qe,t,{expression:t.args[0],operator:"+"}).optimize(e);break;case"Symbol":t.args.length==1&&t.args[0]instanceof bt&&e.option("unsafe_symbols")&&(t.args.length=0);break;case"Boolean":if(t.args.length==0)return V(Yi,t);if(t.args.length==1)return V(qe,t,{expression:V(qe,t,{expression:t.args[0],operator:"!"}),operator:"!"}).optimize(e);break;case"RegExp":var w=[];if(t.args.length>=1&&t.args.length<=2&&t.args.every(Y=>{var ne=Y.evaluate(e);return w.push(ne),Y!==ne})&&vd(w[0])){let[Y,ne]=w;Y=Au(new RegExp(Y).source);const se=V(yr,t,{value:{source:Y,flags:ne}});if(se._eval(e)!==se)return se}break}else if(n instanceof Jt)switch(n.property){case"toString":if(t.args.length==0&&!n.expression.may_throw_on_access(e))return V(pe,t,{left:V(bt,t,{value:""}),operator:"+",right:n.expression}).optimize(e);break;case"join":if(n.expression instanceof Ft)e:{var F;if(t.args.length>0&&(F=t.args[0].evaluate(e),F===t.args[0]))break e;for(var R=[],v=[],E=0,b=n.expression.elements.length;E<b;E++){var d=n.expression.elements[E];if(d instanceof gt)break e;var g=d.evaluate(e);g!==d?v.push(g):(v.length>0&&(R.push(V(bt,t,{value:v.join(F)})),v.length=0),R.push(d))}if(v.length>0&&R.push(V(bt,t,{value:v.join(F)})),R.length==0)return V(bt,t,{value:""});if(R.length==1)return R[0].is_string(e)?R[0]:V(pe,R[0],{operator:"+",left:V(bt,t,{value:""}),right:R[0]});if(F==""){var A;return R[0].is_string(e)||R[1].is_string(e)?A=R.shift():A=V(bt,t,{value:""}),R.reduce(function(ne,se){return V(pe,se,{operator:"+",left:ne,right:se})},A).optimize(e)}var T=t.clone();return T.expression=T.expression.clone(),T.expression.expression=T.expression.expression.clone(),T.expression.expression.elements=R,kr(e,t,T)}break;case"charAt":if(n.expression.is_string(e)){var O=t.args[0],D=O?O.evaluate(e):0;if(D!==O)return V(kn,n,{expression:n.expression,property:lr(D|0,O||n)}).optimize(e)}break;case"apply":if(t.args.length==2&&t.args[1]instanceof Ft){var P=t.args[1].elements.slice();return P.unshift(t.args[0]),V($e,t,{expression:V(Jt,n,{expression:n.expression,optional:!1,property:"call"}),args:P}).optimize(e)}break;case"call":var U=n.expression;if(U instanceof ke&&(U=U.fixed_value()),U instanceof Ke&&!U.contains_this())return(t.args.length?ot(this,[t.args[0],V($e,t,{expression:n.expression,args:t.args.slice(1)})]):V($e,t,{expression:n.expression,args:[]})).optimize(e);break}}if(e.option("unsafe_Function")&&_i(n)&&n.name=="Function"){if(t.args.length==0)return V(Gt,t,{argnames:[],body:[]}).optimize(e);if(t.args.every(Y=>Y instanceof bt))try{var K="n(function("+t.args.slice(0,-1).map(function(Y){return Y.value}).join(",")+"){"+t.args[t.args.length-1].value+"})",H=ms(K),B=e.mangle_options();H.figure_out_scope(B);var G=new Jd(e.options,{mangle_options:e._mangle_options});H=H.transform(G),H.figure_out_scope(B),H.compute_char_frequency(B),H.mangle_names(B);var N;Mn(H,Y=>{if(Wu(Y))return N=Y,vr});var K=wf();return tt.prototype._codegen.call(N,N,K),t.args=[V(bt,t,{value:N.argnames.map(function(Y){return Y.print_to_string()}).join(",")}),V(bt,t.args[t.args.length-1],{value:K.get().replace(/^{|}$/g,"")})],t}catch(Y){if(!(Y instanceof kd))throw Y}}return tv(t,e)}),Oe.DEFMETHOD("contains_optional",function(){return this instanceof Xe||this instanceof $e||this instanceof Sn?this.optional?!0:this.expression.contains_optional():!1}),rt(cr,function(t,e){return e.option("unsafe")&&_i(t.expression)&&["Object","RegExp","Function","Error","Array"].includes(t.expression.name)?V($e,t,t).transform(e):t}),rt(mt,function(t,e){if(!e.option("side_effects"))return t;var n=[];a();var r=n.length-1;if(c(),r==0)return t=Po(e.parent(),e.self(),n[0]),t instanceof mt||(t=t.optimize(e)),t;return t.expressions=n,t;function a(){var f=di(e),p=t.expressions.length-1;t.expressions.forEach(function(E,b){b<p&&(E=E.drop_side_effect_free(e,f)),E&&(Mf(n,E),f=!1)})}function c(){for(;r>0&&mi(n[r],e);)r--;r<n.length-1&&(n[r]=V(qe,t,{operator:"void",expression:n[r]}),n.length=r+1)}}),en.DEFMETHOD("lift_sequences",function(t){if(t.option("sequences")&&this.expression instanceof mt){var e=this.expression.expressions.slice(),n=this.clone();return n.expression=e.pop(),e.push(n),ot(this,e).optimize(t)}return this}),rt(zi,function(t,e){return t.lift_sequences(e)}),rt(qe,function(t,e){var n=t.expression;if(t.operator=="delete"&&!(n instanceof ke||n instanceof Xe||n instanceof Sn||$d(n)))return ot(t,[n,V(Cr,t)]).optimize(e);var r=t.lift_sequences(e);if(r!==t)return r;if(e.option("side_effects")&&t.operator=="void")return n=n.drop_side_effect_free(e),n?(t.expression=n,t):V(un,t).optimize(e);if(e.in_boolean_context())switch(t.operator){case"!":if(n instanceof qe&&n.operator=="!")return n.expression;n instanceof pe&&(t=kr(e,t,n.negate(e,di(e))));break;case"typeof":return(n instanceof ke?V(Cr,t):ot(t,[n,V(Cr,t)])).optimize(e)}if(t.operator=="-"&&n instanceof _o&&(n=n.transform(e)),n instanceof pe&&(t.operator=="+"||t.operator=="-")&&(n.operator=="*"||n.operator=="/"||n.operator=="%"))return V(pe,t,{operator:n.operator,left:V(qe,n.left,{operator:t.operator,expression:n.left}),right:n.right});if(e.option("evaluate")){if(t.operator==="~"&&t.expression instanceof qe&&t.expression.operator==="~"&&(e.in_32_bit_context()||t.expression.expression.is_32_bit_integer()))return t.expression.expression;if(t.operator==="~"&&n instanceof pe&&n.operator==="^")return n.left instanceof qe&&n.left.operator==="~"?n.left=n.left.bitwise_negate(!0):n.right=n.right.bitwise_negate(!0),n}if(t.operator!="-"||!(n instanceof nt||n instanceof _o||n instanceof pi)){var a=t.evaluate(e);if(a!==t)return a=lr(a,t).optimize(e),kr(e,a,t)}return t}),pe.DEFMETHOD("lift_sequences",function(t){if(t.option("sequences")){if(this.left instanceof mt){var e=this.left.expressions.slice(),n=this.clone();return n.left=e.pop(),e.push(n),ot(this,e).optimize(t)}if(this.right instanceof mt&&!this.left.has_side_effects(t)){for(var r=this.operator=="="&&this.left instanceof ke,e=this.right.expressions,a=e.length-1,c=0;c<a&&!(!r&&e[c].has_side_effects(t));c++);if(c==a){e=e.slice();var n=this.clone();return n.right=e.pop(),e.push(n),ot(this,e).optimize(t)}else if(c>0){var n=this.clone();return n.right=ot(this.right,e.slice(c)),e=e.slice(0,c),e.push(n),ot(this,e).optimize(t)}}}return this});var ov=Bt("== === != !== * & | ^");function av(t){return t instanceof Ft||t instanceof Ke||t instanceof jt||t instanceof At}rt(pe,function(t,e){function n(){return t.left.is_constant()||t.right.is_constant()||!t.left.has_side_effects(e)&&!t.right.has_side_effects(e)}function r(U){if(n()){U&&(t.operator=U);var H=t.left;t.left=t.right,t.right=H}}if(e.option("lhs_constants")&&ov.has(t.operator)&&t.right.is_constant()&&!t.left.is_constant()&&(t.left instanceof pe&&Pr[t.left.operator]>=Pr[t.operator]||r()),t=t.lift_sequences(e),e.option("comparisons"))switch(t.operator){case"===":case"!==":var a=!0;(t.left.is_string(e)&&t.right.is_string(e)||t.left.is_number(e)&&t.right.is_number(e)||t.left.is_boolean()&&t.right.is_boolean()||t.left.equivalent_to(t.right))&&(t.operator=t.operator.substr(0,2));case"==":case"!=":if(!a&&mi(t.left,e))t.left=V(gr,t.left);else if(!a&&mi(t.right,e))t.right=V(gr,t.right);else if(e.option("typeofs")&&t.left instanceof bt&&t.left.value=="undefined"&&t.right instanceof qe&&t.right.operator=="typeof"){var c=t.right.expression;(c instanceof ke?c.is_declared(e):!(c instanceof Xe&&e.option("ie8")))&&(t.right=c,t.left=V(un,t.left).optimize(e),t.operator.length==2&&(t.operator+="="))}else if(e.option("typeofs")&&t.left instanceof qe&&t.left.operator=="typeof"&&t.right instanceof bt&&t.right.value=="undefined"){var c=t.left.expression;(c instanceof ke?c.is_declared(e):!(c instanceof Xe&&e.option("ie8")))&&(t.left=c,t.right=V(un,t.right).optimize(e),t.operator.length==2&&(t.operator+="="))}else{if(t.left instanceof ke&&t.right instanceof ke&&t.left.definition()===t.right.definition()&&av(t.left.fixed_value()))return V(t.operator[0]=="="?Cr:Yi,t);if(t.left.is_32_bit_integer()&&t.right.is_32_bit_integer()){const U=K=>V(qe,K,{operator:"!",expression:K}),H=(K,Y)=>Y?e.in_boolean_context()?K:U(U(K)):U(K);if(t.left instanceof nt&&t.left.value===0)return H(t.right,t.operator[0]==="!");if(t.right instanceof nt&&t.right.value===0)return H(t.left,t.operator[0]==="!");let B,G,N;if((B=t.left instanceof pe?t.left:t.right instanceof pe?t.right:null)&&(N=B===t.left?t.right:t.left)&&B.operator==="&"&&N instanceof nt&&N.is_32_bit_integer()&&(G=B.left.equivalent_to(N)?B.right:B.right.equivalent_to(N)?B.left:null)){let K=H(V(pe,t,{operator:"&",left:N,right:V(qe,t,{operator:"~",expression:G})}),t.operator[0]==="!");return kr(e,K,t)}}}break;case"&&":case"||":var f=t.left;if(f.operator==t.operator&&(f=f.right),f instanceof pe&&f.operator==(t.operator=="&&"?"!==":"===")&&t.right instanceof pe&&f.operator==t.right.operator&&(mi(f.left,e)&&t.right.left instanceof gr||f.left instanceof gr&&mi(t.right.left,e))&&!f.right.has_side_effects(e)&&f.right.equivalent_to(t.right.right)){var p=V(pe,t,{operator:f.operator.slice(0,-1),left:V(gr,t),right:f.right});return f!==t.left&&(p=V(pe,t,{operator:t.operator,left:t.left.left,right:p})),p}break}if(t.operator=="+"&&e.in_boolean_context()){var E=t.left.evaluate(e),b=t.right.evaluate(e);if(E&&typeof E=="string")return ot(t,[t.right,V(Cr,t)]).optimize(e);if(b&&typeof b=="string")return ot(t,[t.left,V(Cr,t)]).optimize(e)}if(e.option("comparisons")&&t.is_boolean()){if(!(e.parent()instanceof pe)||e.parent()instanceof lt){var T=V(qe,t,{operator:"!",expression:t.negate(e,di(e))});t=kr(e,t,T)}if(e.option("unsafe_comps"))switch(t.operator){case"<":r(">");break;case"<=":r(">=");break}}if(t.operator=="+"){if(t.right instanceof bt&&t.right.getValue()==""&&t.left.is_string(e))return t.left;if(t.left instanceof bt&&t.left.getValue()==""&&t.right.is_string(e))return t.right;if(t.left instanceof pe&&t.left.operator=="+"&&t.left.left instanceof bt&&t.left.left.getValue()==""&&t.right.is_string(e))return t.left=t.left.right,t}if(e.option("evaluate")){switch(t.operator){case"&&":var E=Gn(t.left,Nf)?!0:Gn(t.left,If)?!1:t.left.evaluate(e);if(E){if(!(E instanceof Oe))return ot(t,[t.left,t.right]).optimize(e)}else return Po(e.parent(),e.self(),t.left).optimize(e);var b=t.right.evaluate(e);if(b){if(!(b instanceof Oe)){var x=e.parent();if(x.operator=="&&"&&x.left===e.self()||e.in_boolean_context())return t.left.optimize(e)}}else{if(e.in_boolean_context())return ot(t,[t.left,V(Yi,t)]).optimize(e);Dr(t,If)}if(t.left.operator=="||"){var w=t.left.right.evaluate(e);if(!w)return V(it,t,{condition:t.left.left,consequent:t.right,alternative:t.left.right}).optimize(e)}break;case"||":var E=Gn(t.left,Nf)?!0:Gn(t.left,If)?!1:t.left.evaluate(e);if(E){if(!(E instanceof Oe))return Po(e.parent(),e.self(),t.left).optimize(e)}else return ot(t,[t.left,t.right]).optimize(e);var b=t.right.evaluate(e);if(b){if(!(b instanceof Oe)){if(e.in_boolean_context())return ot(t,[t.left,V(Cr,t)]).optimize(e);Dr(t,Nf)}}else{var x=e.parent();if(x.operator=="||"&&x.left===e.self()||e.in_boolean_context())return t.left.optimize(e)}if(t.left.operator=="&&"){var w=t.left.right.evaluate(e);if(w&&!(w instanceof Oe))return V(it,t,{condition:t.left.left,consequent:t.left.right,alternative:t.right}).optimize(e)}break;case"??":if(yi(t.left,e))return t.right;var E=t.left.evaluate(e);if(!(E instanceof Oe))return E==null?t.right:t.left;if(e.in_boolean_context()){const B=t.right.evaluate(e);if(!(B instanceof Oe)&&!B)return t.left}}var F=!0;switch(t.operator){case"+":if(t.right instanceof Nt&&t.left instanceof pe&&t.left.operator=="+"&&t.left.is_string(e)){var R=V(pe,t,{operator:"+",left:t.left.right,right:t.right}),v=R.optimize(e);R!==v&&(t=V(pe,t,{operator:"+",left:t.left.left,right:v}))}if(t.left instanceof pe&&t.left.operator=="+"&&t.left.is_string(e)&&t.right instanceof pe&&t.right.operator=="+"&&t.right.is_string(e)){var R=V(pe,t,{operator:"+",left:t.left.right,right:t.right.left}),d=R.optimize(e);R!==d&&(t=V(pe,t,{operator:"+",left:V(pe,t.left,{operator:"+",left:t.left.left,right:d}),right:t.right.right}))}if(t.right instanceof qe&&t.right.operator=="-"&&t.left.is_number(e)){t=V(pe,t,{operator:"-",left:t.left,right:t.right.expression});break}if(t.left instanceof qe&&t.left.operator=="-"&&n()&&t.right.is_number(e)){t=V(pe,t,{operator:"-",left:t.right,right:t.left.expression});break}if(t.left instanceof Zn){var g=t.left,v=t.right.evaluate(e);if(v!=t.right)return g.segments[g.segments.length-1].value+=String(v),g}if(t.right instanceof Zn){var v=t.right,g=t.left.evaluate(e);if(g!=t.left)return v.segments[0].value=String(g)+v.segments[0].value,v}if(t.left instanceof Zn&&t.right instanceof Zn){var g=t.left,A=g.segments,v=t.right;A[A.length-1].value+=v.segments[0].value;for(var O=1;O<v.segments.length;O++)A.push(v.segments[O]);return g}case"*":F=e.option("unsafe_math");case"&":case"|":case"^":if(t.left.is_number(e)&&t.right.is_number(e)&&n()&&!(t.left instanceof pe&&t.left.operator!=t.operator&&Pr[t.left.operator]>=Pr[t.operator])){var D=V(pe,t,{operator:t.operator,left:t.right,right:t.left});t.right instanceof Nt&&!(t.left instanceof Nt)?t=kr(e,D,t):t=kr(e,t,D)}F&&t.is_number(e)&&(t.right instanceof pe&&t.right.operator==t.operator&&(t=V(pe,t,{operator:t.operator,left:V(pe,t.left,{operator:t.operator,left:t.left,right:t.right.left,start:t.left.start,end:t.right.left.end}),right:t.right.right})),t.right instanceof Nt&&t.left instanceof pe&&t.left.operator==t.operator&&(t.left.left instanceof Nt?t=V(pe,t,{operator:t.operator,left:V(pe,t.left,{operator:t.operator,left:t.left.left,right:t.right,start:t.left.left.start,end:t.right.end}),right:t.left.right}):t.left.right instanceof Nt&&(t=V(pe,t,{operator:t.operator,left:V(pe,t.left,{operator:t.operator,left:t.left.right,right:t.right,start:t.left.right.start,end:t.right.end}),right:t.left.left}))),t.left instanceof pe&&t.left.operator==t.operator&&t.left.right instanceof Nt&&t.right instanceof pe&&t.right.operator==t.operator&&t.right.left instanceof Nt&&(t=V(pe,t,{operator:t.operator,left:V(pe,t.left,{operator:t.operator,left:V(pe,t.left.left,{operator:t.operator,left:t.left.right,right:t.right.left,start:t.left.right.start,end:t.right.left.end}),right:t.left.left}),right:t.right.right})))}if(Kf.has(t.operator)){let U,H,B,G,N=t.left;if(t.operator==="&"&&t.right instanceof pe&&t.right.operator==="|"&&typeof(H=t.left.evaluate(e))=="number"&&(typeof(U=t.right.right.evaluate(e))=="number"?(B=t.right.left,G=t.right.right):typeof(U=t.right.left.evaluate(e))=="number"&&(B=t.right.right,G=t.right.left),B&&G))if(!(U&H))t=V(pe,t,{operator:t.operator,left:N,right:B});else{const ce=V(pe,t,{operator:"|",left:V(pe,t,{operator:"&",left:B,right:N}),right:lr(U&H,G)});t=kr(e,t,ce)}if(t.left.equivalent_to(t.right)&&!t.left.has_side_effects(e)){if(t.operator==="^")return V(nt,t,{value:0});(t.operator==="|"||t.operator==="&")&&(t.left=V(nt,t,{value:0}),t.operator="|")}(t.operator==="<<"||t.operator===">>")&&t.right instanceof nt&&t.right.value===0&&(t.operator="|");const Y=t.right instanceof nt&&t.right.value===0?t.right:t.left instanceof nt&&t.left.value===0?t.left:null,ne=Y&&(Y===t.right?t.left:t.right);if(Y&&(t.operator==="|"||t.operator==="^")&&(ne.is_32_bit_integer()||e.in_32_bit_context()))return ne;if(Y&&t.operator==="&"&&!ne.has_side_effects(e))return Y;const se=ce=>ce instanceof nt&&ce.value===-1||ce instanceof qe&&(ce.operator==="-"&&ce.expression instanceof nt&&ce.expression.value===1||ce.operator==="~"&&ce.expression instanceof nt&&ce.expression.value===0),re=se(t.right)?t.right:se(t.left)?t.left:null,ue=re&&(re===t.right?t.left:t.right);switch(t.operator){case"|":if(re&&!ue.has_side_effects(e))return re;break;case"&":if(re&&(ue.is_32_bit_integer()||e.in_32_bit_context()))return ue;break;case"^":if(re)return ue.bitwise_negate(e.in_32_bit_context());t.left instanceof qe&&t.left.operator==="~"&&t.right instanceof qe&&t.right.operator==="~"&&(t=V(pe,t,{operator:"^",left:t.left.expression,right:t.right.expression}));break}}}if(t.right instanceof pe&&t.right.operator==t.operator&&(Lo.has(t.operator)||t.operator=="+"&&(t.right.left.is_string(e)||t.left.is_string(e)&&t.right.right.is_string(e))))return t.left=V(pe,t.left,{operator:t.operator,left:t.left.transform(e),right:t.right.left.transform(e)}),t.right=t.right.right.transform(e),t.transform(e);var P=t.evaluate(e);return P!==t?(P=lr(P,t).optimize(e),kr(e,P,t)):t}),rt(Fo,function(t){return t}),rt(ke,function(t,e){if(!e.option("ie8")&&_i(t)&&!e.find_parent(xr))switch(t.name){case"undefined":return V(un,t).optimize(e);case"NaN":return V(Es,t).optimize(e);case"Infinity":return V(_o,t).optimize(e)}return e.option("reduce_vars")&&!e.is_lhs()?ev(t,e):t});function Qu(t,e){return t instanceof ke||t.TYPE===e.TYPE}rt(un,function(t,e){if(e.option("unsafe_undefined")){var n=Jf(e,"undefined");if(n){var r=V(ke,t,{name:"undefined",scope:n.scope,thedef:n});return Dr(r,Pf),r}}var a=e.is_lhs();return a&&Qu(a,t)?t:V(qe,t,{operator:"void",expression:V(nt,t,{value:0})})}),rt(_o,function(t,e){var n=e.is_lhs();return n&&Qu(n,t)||e.option("keep_infinity")&&!(n&&!Qu(n,t))&&!Jf(e,"Infinity")?t:V(pe,t,{operator:"/",left:V(nt,t,{value:1}),right:V(nt,t,{value:0})})}),rt(Es,function(t,e){var n=e.is_lhs();return n&&!Qu(n,t)||Jf(e,"NaN")?V(pe,t,{operator:"/",left:V(nt,t,{value:0}),right:V(nt,t,{value:0})}):t});const sv=Bt("+ - / * % >> << >>> | ^ &"),uv=Bt("* | ^ &");rt(lt,function(t,e){if(t.logical)return t.lift_sequences(e);var n;if(t.operator==="="&&t.left instanceof ke&&t.left.name!=="arguments"&&!(n=t.left.definition()).undeclared&&t.right.equivalent_to(t.left))return t.right;if(e.option("dead_code")&&t.left instanceof ke&&(n=t.left.definition()).scope===e.find_parent(Ke)){var r=0,a,c=t;do if(a=c,c=e.parent(r++),c instanceof _r){if(f(r,c)||Hd(n.scope,[n]))break;return t.operator=="="?t.right:(n.fixed=!1,V(pe,t,{operator:t.operator.slice(0,-1),left:t.left,right:t.right}).optimize(e))}while(c instanceof pe&&c.right===a||c instanceof mt&&c.tail_node()===a)}return t=t.lift_sequences(e),t.operator=="="&&t.left instanceof ke&&t.right instanceof pe&&(t.right.left instanceof ke&&t.right.left.name==t.left.name&&sv.has(t.right.operator)?(t.operator=t.right.operator+"=",t.right=t.right.right):t.right.right instanceof ke&&t.right.right.name==t.left.name&&uv.has(t.right.operator)&&!t.right.left.has_side_effects(e)&&(t.operator=t.right.operator+"=",t.right=t.right.left)),t;function f(p,E){function b(){const w=t.right;t.right=V(gr,w);const F=E.may_throw(e);return t.right=w,F}for(var T=t.left.definition().scope.get_defun_scope(),x;(x=e.parent(p++))!==T;)if(x instanceof Ar&&(x.bfinally||x.bcatch&&b()))return!0}}),rt(Mr,function(t,e){if(!e.option("evaluate"))return t;var n=t.right.evaluate(e);let r,a;return n===void 0?(!((r=e.parent())instanceof Ke)||e.option("keep_fargs")===!1||(a=e.parent(1)).TYPE==="Call"&&a.expression===r)&&(t=t.left):n!==t.right&&(n=lr(n,t.right),t.right=Qi(n,t.right)),t});function cv(t,e,n){if(e.may_throw(n))return!1;let r;if(t instanceof pe&&t.operator==="=="&&((r=yi(t.left,n)&&t.left)||(r=yi(t.right,n)&&t.right))&&(r===t.left?t.right:t.left).equivalent_to(e))return!0;if(t instanceof pe&&t.operator==="||"){let a,c;const f=p=>{if(!(p instanceof pe&&(p.operator==="==="||p.operator==="==")))return!1;let E=0,b;return p.left instanceof gr&&(E++,a=p,b=p.right),p.right instanceof gr&&(E++,a=p,b=p.left),mi(p.left,n)&&(E++,c=p,b=p.right),mi(p.right,n)&&(E++,c=p,b=p.left),!(E!==1||!b.equivalent_to(e))};if(!f(t.left)||!f(t.right))return!1;if(a&&c&&a!==c)return!0}return!1}rt(it,function(t,e){if(!e.option("conditionals"))return t;if(t.condition instanceof mt){var n=t.condition.expressions.slice();return t.condition=n.pop(),n.push(t),ot(t,n)}var r=t.condition.evaluate(e);if(r!==t.condition)return r?Po(e.parent(),e.self(),t.consequent):Po(e.parent(),e.self(),t.alternative);var a=r.negate(e,di(e));kr(e,r,a)===a&&(t=V(it,t,{condition:a,consequent:t.alternative,alternative:t.consequent}));var c=t.condition,f=t.consequent,p=t.alternative;if(c instanceof ke&&f instanceof ke&&c.definition()===f.definition())return V(pe,t,{operator:"||",left:c,right:p});if(f instanceof lt&&p instanceof lt&&f.operator===p.operator&&f.logical===p.logical&&f.left.equivalent_to(p.left)&&(!t.condition.has_side_effects(e)||f.operator=="="&&!f.left.has_side_effects(e)))return V(lt,t,{operator:f.operator,left:f.left,logical:f.logical,right:V(it,t,{condition:t.condition,consequent:f.right,alternative:p.right})});var E;if(f instanceof $e&&p.TYPE===f.TYPE&&f.args.length>0&&f.args.length==p.args.length&&f.expression.equivalent_to(p.expression)&&!t.condition.has_side_effects(e)&&!f.expression.has_side_effects(e)&&typeof(E=R())=="number"){var b=f.clone();return b.args[E]=V(it,t,{condition:t.condition,consequent:f.args[E],alternative:p.args[E]}),b}if(p instanceof it&&f.equivalent_to(p.consequent))return V(it,t,{condition:V(pe,t,{operator:"||",left:c,right:p.condition}),consequent:f,alternative:p.alternative}).optimize(e);if(e.option("ecma")>=2020&&cv(c,p,e))return V(pe,t,{operator:"??",left:p,right:f}).optimize(e);if(p instanceof mt&&f.equivalent_to(p.expressions[p.expressions.length-1]))return ot(t,[V(pe,t,{operator:"||",left:c,right:ot(t,p.expressions.slice(0,-1))}),f]).optimize(e);if(p instanceof pe&&p.operator=="&&"&&f.equivalent_to(p.right))return V(pe,t,{operator:"&&",left:V(pe,t,{operator:"||",left:c,right:p.left}),right:f}).optimize(e);if(f instanceof it&&f.alternative.equivalent_to(p))return V(it,t,{condition:V(pe,t,{left:t.condition,operator:"&&",right:f.condition}),consequent:f.consequent,alternative:p});if(f.equivalent_to(p))return ot(t,[t.condition,f]).optimize(e);if(f instanceof pe&&f.operator=="||"&&f.right.equivalent_to(p))return V(pe,t,{operator:"||",left:V(pe,t,{operator:"&&",left:t.condition,right:f.left}),right:p}).optimize(e);const T=e.in_boolean_context();if(w(t.consequent))return F(t.alternative)?x(t.condition):V(pe,t,{operator:"||",left:x(t.condition),right:t.alternative});if(F(t.consequent))return w(t.alternative)?x(t.condition.negate(e)):V(pe,t,{operator:"&&",left:x(t.condition.negate(e)),right:t.alternative});if(w(t.alternative))return V(pe,t,{operator:"||",left:x(t.condition.negate(e)),right:t.consequent});if(F(t.alternative))return V(pe,t,{operator:"&&",left:x(t.condition),right:t.consequent});return t;function x(v){return v.is_boolean()?v:V(qe,v,{operator:"!",expression:v.negate(e)})}function w(v){return v instanceof Cr||T&&v instanceof Nt&&v.getValue()||v instanceof qe&&v.operator=="!"&&v.expression instanceof Nt&&!v.expression.getValue()}function F(v){return v instanceof Yi||T&&v instanceof Nt&&!v.getValue()||v instanceof qe&&v.operator=="!"&&v.expression instanceof Nt&&v.expression.getValue()}function R(){for(var v=f.args,d=p.args,g=0,A=v.length;g<A;g++){if(v[g]instanceof gt)return;if(!v[g].equivalent_to(d[g])){if(d[g]instanceof gt)return;for(var O=g+1;O<A;O++)if(v[O]instanceof gt||!v[O].equivalent_to(d[O]))return;return g}}}}),rt(ju,function(t,e){if(e.in_boolean_context())return V(nt,t,{value:+t.value});var n=e.parent();return e.option("booleans_as_integers")?(n instanceof pe&&(n.operator=="==="||n.operator=="!==")&&(n.operator=n.operator.replace(/=$/,"")),V(nt,t,{value:+t.value})):e.option("booleans")?n instanceof pe&&(n.operator=="=="||n.operator=="!=")?V(nt,t,{value:+t.value}):V(qe,t,{operator:"!",expression:V(nt,t,{value:1-t.value})}):t});function t_(t,e){return t instanceof ke&&(t=t.fixed_value()),t?!(t instanceof Ke||t instanceof At)||!(t instanceof Ke&&t.contains_this())?!0:e.parent()instanceof cr:!1}Xe.DEFMETHOD("flatten_object",function(t,e){if(e.option("properties")&&t!=="__proto__"){var n=e.option("unsafe_arrows")&&e.option("ecma")>=2015,r=this.expression;if(r instanceof jt)for(var a=r.properties,c=a.length;--c>=0;){var f=a[c];if(""+(f instanceof jn?f.key.name:f.key)==t)return!a.every(E=>(E instanceof an||n&&E instanceof jn&&!E.is_generator)&&!E.computed_key())||!t_(f.value,e)?void 0:V(kn,this,{expression:V(Ft,r,{elements:a.map(function(E){var b=E.value;b instanceof Hi&&(b=V(Gt,b,b));var T=E.key;return T instanceof Oe&&!(T instanceof $n)?ot(E,[T,b]):b})}),property:V(nt,this,{value:c})})}}}),rt(kn,function(t,e){var n=t.expression,r=t.property;if(e.option("properties")){var a=r.evaluate(e);if(a!==r){if(typeof a=="string")if(a=="undefined")a=void 0;else{var c=parseFloat(a);c.toString()==a&&(a=c)}r=t.property=Qi(r,lr(a,r).transform(e));var f=""+a;if(Nu(f)&&f.length<=r.size()+1)return V(Jt,t,{expression:n,optional:t.optional,property:f,quote:r.quote}).optimize(e)}}var p;e:if(e.option("arguments")&&n instanceof ke&&n.name=="arguments"&&n.definition().orig.length==1&&(p=n.scope)instanceof Ke&&p.uses_arguments&&!(p instanceof on)&&r instanceof nt){for(var E=r.getValue(),b=new Set,T=p.argnames,x=0;x<T.length;x++){if(!(T[x]instanceof Ln))break e;var w=T[x].name;if(b.has(w))break e;b.add(w)}var F=p.argnames[E];if(F&&e.has_directive("use strict")){var R=F.definition();(!e.option("reduce_vars")||R.assignments||R.orig.length>1)&&(F=null)}else if(!F&&!e.option("keep_fargs")&&E<p.argnames.length+5)for(;E>=p.argnames.length;)F=p.create_symbol(Ln,{source:p,scope:p,tentative_name:"argument_"+p.argnames.length}),p.argnames.push(F);if(F){var v=V(ke,t,F);return v.reference({}),ca(F,mo),v}}if(e.is_lhs())return t;if(a!==r){var d=t.flatten_object(f,e);d&&(n=t.expression=d.expression,r=t.property=d.property)}if(e.option("properties")&&e.option("side_effects")&&r instanceof nt&&n instanceof Ft){var E=r.getValue(),g=n.elements,A=g[E];e:if(t_(A,e)){for(var O=!0,D=[],P=g.length;--P>E;){var c=g[P].drop_side_effect_free(e);c&&(D.unshift(c),O&&c.has_side_effects(e)&&(O=!1))}if(A instanceof gt)break e;for(A=A instanceof Ur?V(un,A):A,O||D.unshift(A);--P>=0;){var c=g[P];if(c instanceof gt)break e;c=c.drop_side_effect_free(e),c?D.unshift(c):E--}return O?(D.push(A),ot(t,D).optimize(e)):V(kn,t,{expression:V(Ft,n,{elements:D}),property:V(nt,r,{value:E})})}}var U=t.evaluate(e);return U!==t?(U=lr(U,t).optimize(e),kr(e,U,t)):t}),rt(Sn,function(t,e){if(yi(t.expression,e)){let n=e.parent();return n instanceof qe&&n.operator==="delete"?lr(0,t):V(un,t)}return t}),rt(Jt,function(t,e){const n=e.parent();if(e.is_lhs())return t;if(e.option("unsafe_proto")&&t.expression instanceof Jt&&t.expression.property=="prototype"){var r=t.expression.expression;if(_i(r))switch(r.name){case"Array":t.expression=V(Ft,t.expression,{elements:[]});break;case"Function":t.expression=V(Gt,t.expression,{argnames:[],body:[]});break;case"Number":t.expression=V(nt,t.expression,{value:0});break;case"Object":t.expression=V(jt,t.expression,{properties:[]});break;case"RegExp":t.expression=V(yr,t.expression,{value:{source:"t",flags:""}});break;case"String":t.expression=V(bt,t.expression,{value:""});break}}if(!(n instanceof $e)||!pr(n,No)){const c=t.flatten_object(t.property,e);if(c)return c.optimize(e)}if(t.expression instanceof Xe&&n instanceof Xe)return t;let a=t.evaluate(e);return a!==t?(a=lr(a,t).optimize(e),kr(e,a,t)):t});function th(t,e){return e.in_boolean_context()?kr(e,t,ot(t,[t,V(Cr,t)]).optimize(e)):t}function n_(t){for(var e=0;e<t.length;e++){var n=t[e];if(n instanceof gt){var r=n.expression;r instanceof Ft&&!r.elements.some(a=>a instanceof Ur)&&(t.splice(e,1,...r.elements),e--)}}}rt(Ft,function(t,e){var n=th(t,e);return n!==t?n:(n_(t.elements),t)});function lv(t){for(var e=0;e<t.length;e++){var n=t[e];if(n instanceof gt){const r=n.expression;r instanceof jt&&r.properties.every(a=>a instanceof an)?(t.splice(e,1,...r.properties),e--):(r instanceof Nt||r.is_constant())&&!(r instanceof bt)&&(t.splice(e,1),e--)}}}rt(jt,function(t,e){var n=th(t,e);return n!==t?n:(lv(t.properties),t)}),rt(yr,th),rt(pn,function(t,e){return t.value&&mi(t.value,e)&&(t.value=null),t}),rt(on,eh),rt(Gt,function(t,e){return t=eh(t,e),e.option("unsafe_arrows")&&e.option("ecma")>=2015&&!t.name&&!t.is_generator&&!t.uses_arguments&&!t.pinned()&&!Mn(t,r=>{if(r instanceof Hn)return vr})?V(on,t,t).optimize(e):t}),rt(At,function(t){for(let e=0;e<t.properties.length;e++){const n=t.properties[e];n instanceof Jn&&n.body.length==0&&(t.properties.splice(e,1),e--)}return t}),rt(Jn,function(t,e){return Zu(t.body,e),t}),rt(Tr,function(t,e){return t.expression&&!t.is_star&&mi(t.expression,e)&&(t.expression=null),t}),rt(Zn,function(t,e){if(!e.option("evaluate")||e.parent()instanceof Yr)return t;for(var n=[],r=0;r<t.segments.length;r++){var a=t.segments[r];if(a instanceof Oe){var c=a.evaluate(e);if(c!==a&&(c+"").length<=a.size()+3){n[n.length-1].value=n[n.length-1].value+c+t.segments[++r].value;continue}if(a instanceof Zn){var f=a.segments;n[n.length-1].value+=f[0].value;for(var p=1;p<f.length;p++)a=f[p],n.push(a);continue}}n.push(a)}if(t.segments=n,n.length==1)return V(bt,t,n[0]);if(n.length===3&&n[1]instanceof Oe&&(n[1].is_string(e)||n[1].is_number(e)||yi(n[1],e)||e.option("unsafe"))){if(n[2].value==="")return V(pe,t,{operator:"+",left:V(bt,t,{value:n[0].value}),right:n[1]});if(n[0].value==="")return V(pe,t,{operator:"+",left:n[1],right:V(bt,t,{value:n[2].value})})}return t}),rt(Yr,function(t){return t});function nh(t,e){if(!e.option("computed_props")||!(t.key instanceof Nt))return t;if(t.key instanceof bt||t.key instanceof nt){const n=t.key.value.toString();if(n==="__proto__"||n=="constructor"&&e.parent()instanceof At)return t;t instanceof an?(t.quote=t.key.quote,t.key=n):t instanceof mr?(t.quote=t.key.quote,t.key=V(Xi,t.key,{name:n})):(t.quote=t.key.quote,t.key=V($n,t.key,{name:n}))}return t}rt(_n,nh),rt(jn,function(t,e){if(nh(t,e),e.option("arrows")&&e.parent()instanceof jt&&!t.is_generator&&!t.value.uses_arguments&&!t.value.pinned()&&t.value.body.length==1&&t.value.body[0]instanceof pn&&t.value.body[0].value&&!t.value.contains_this()){var n=V(on,t.value,t.value);return n.async=t.async,n.is_generator=t.is_generator,V(an,t,{key:t.key instanceof $n?t.key.name:t.key,value:n,quote:t.quote})}return t}),rt(an,function(t,e){nh(t,e);var n=e.option("unsafe_methods");if(n&&e.option("ecma")>=2015&&(!(n instanceof RegExp)||n.test(t.key+""))){var r=t.key,a=t.value,c=a instanceof on&&Array.isArray(a.body)&&!a.contains_this();if((c||a instanceof Gt)&&!a.name)return V(jn,t,{async:a.async,is_generator:a.is_generator,key:r instanceof Oe?r:V($n,t,{name:r}),value:V(Hi,a,a),quote:t.quote})}return t}),rt(qt,function(t,e){if(e.option("pure_getters")==!0&&e.option("unused")&&!t.is_array&&Array.isArray(t.names)&&!c(e)&&!(t.names[t.names.length-1]instanceof gt)){for(var n=[],r=0;r<t.names.length;r++){var a=t.names[r];a instanceof an&&typeof a.key=="string"&&a.value instanceof Bn&&!f(e,a.value.definition())||n.push(a)}n.length!=t.names.length&&(t.names=n)}return t;function c(p){for(var E=[/^VarDef$/,/^(Const|Let|Var)$/,/^Export$/],b=0,T=0,x=E.length;b<x;T++){var w=p.parent(T);if(!w)return!1;if(!(b===0&&w.TYPE=="Destructuring")){if(!E[b].test(w.TYPE))return!1;b++}}return!0}function f(p,E){return E.references.length?!0:E.global?p.toplevel.vars?p.top_retain?p.top_retain(E):!1:!0:!1}});var rh={exports:{}};(function(t,e){(function(n,r){r(e)})(Tt,function(n){const c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",f=new Uint8Array(64),p=new Uint8Array(128);for(let X=0;X<c.length;X++){const Q=c.charCodeAt(X);f[X]=Q,p[Q]=X}const E=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(X){return Buffer.from(X.buffer,X.byteOffset,X.byteLength).toString()}}:{decode(X){let Q="";for(let ie=0;ie<X.length;ie++)Q+=String.fromCharCode(X[ie]);return Q}};function b(X){const Q=new Int32Array(5),ie=[];let de=0;do{const Ce=T(X,de),Ae=[];let De=!0,ze=0;Q[0]=0;for(let Me=de;Me<Ce;Me++){let ut;Me=x(X,Me,Q,0);const Wt=Q[0];Wt<ze&&(De=!1),ze=Wt,w(X,Me,Ce)?(Me=x(X,Me,Q,1),Me=x(X,Me,Q,2),Me=x(X,Me,Q,3),w(X,Me,Ce)?(Me=x(X,Me,Q,4),ut=[Wt,Q[1],Q[2],Q[3],Q[4]]):ut=[Wt,Q[1],Q[2],Q[3]]):ut=[Wt],Ae.push(ut)}De||F(Ae),ie.push(Ae),de=Ce+1}while(de<=X.length);return ie}function T(X,Q){const ie=X.indexOf(";",Q);return ie===-1?X.length:ie}function x(X,Q,ie,de){let Ce=0,Ae=0,De=0;do{const Me=X.charCodeAt(Q++);De=p[Me],Ce|=(De&31)<<Ae,Ae+=5}while(De&32);const ze=Ce&1;return Ce>>>=1,ze&&(Ce=-2147483648|-Ce),ie[de]+=Ce,Q}function w(X,Q,ie){return Q>=ie?!1:X.charCodeAt(Q)!==44}function F(X){X.sort(R)}function R(X,Q){return X[0]-Q[0]}function v(X){const Q=new Int32Array(5),ie=1024*16,de=ie-36,Ce=new Uint8Array(ie),Ae=Ce.subarray(0,de);let De=0,ze="";for(let Me=0;Me<X.length;Me++){const ut=X[Me];if(Me>0&&(De===ie&&(ze+=E.decode(Ce),De=0),Ce[De++]=59),ut.length!==0){Q[0]=0;for(let Wt=0;Wt<ut.length;Wt++){const _t=ut[Wt];De>de&&(ze+=E.decode(Ae),Ce.copyWithin(0,de,De),De-=de),Wt>0&&(Ce[De++]=44),De=d(Ce,De,Q,_t,0),_t.length!==1&&(De=d(Ce,De,Q,_t,1),De=d(Ce,De,Q,_t,2),De=d(Ce,De,Q,_t,3),_t.length!==4&&(De=d(Ce,De,Q,_t,4)))}}}return ze+E.decode(Ce.subarray(0,De))}function d(X,Q,ie,de,Ce){const Ae=de[Ce];let De=Ae-ie[Ce];ie[Ce]=Ae,De=De<0?-De<<1|1:De<<1;do{let ze=De&31;De>>>=5,De>0&&(ze|=32),X[Q++]=f[ze]}while(De>0);return Q}const g=/^[\w+.-]+:\/\//,A=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,O=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function D(X){return g.test(X)}function P(X){return X.startsWith("//")}function U(X){return X.startsWith("/")}function H(X){return X.startsWith("file:")}function B(X){return/^[.?#]/.test(X)}function G(X){const Q=A.exec(X);return K(Q[1],Q[2]||"",Q[3],Q[4]||"",Q[5]||"/",Q[6]||"",Q[7]||"")}function N(X){const Q=O.exec(X),ie=Q[2];return K("file:","",Q[1]||"","",U(ie)?ie:"/"+ie,Q[3]||"",Q[4]||"")}function K(X,Q,ie,de,Ce,Ae,De){return{scheme:X,user:Q,host:ie,port:de,path:Ce,query:Ae,hash:De,type:7}}function Y(X){if(P(X)){const ie=G("http:"+X);return ie.scheme="",ie.type=6,ie}if(U(X)){const ie=G("http://foo.com"+X);return ie.scheme="",ie.host="",ie.type=5,ie}if(H(X))return N(X);if(D(X))return G(X);const Q=G("http://foo.com/"+X);return Q.scheme="",Q.host="",Q.type=X?X.startsWith("?")?3:X.startsWith("#")?2:4:1,Q}function ne(X){if(X.endsWith("/.."))return X;const Q=X.lastIndexOf("/");return X.slice(0,Q+1)}function se(X,Q){re(Q,Q.type),X.path==="/"?X.path=Q.path:X.path=ne(Q.path)+X.path}function re(X,Q){const ie=Q<=4,de=X.path.split("/");let Ce=1,Ae=0,De=!1;for(let Me=1;Me<de.length;Me++){const ut=de[Me];if(!ut){De=!0;continue}if(De=!1,ut!=="."){if(ut===".."){Ae?(De=!0,Ae--,Ce--):ie&&(de[Ce++]=ut);continue}de[Ce++]=ut,Ae++}}let ze="";for(let Me=1;Me<Ce;Me++)ze+="/"+de[Me];(!ze||De&&!ze.endsWith("/.."))&&(ze+="/"),X.path=ze}function ue(X,Q){if(!X&&!Q)return"";const ie=Y(X);let de=ie.type;if(Q&&de!==7){const Ae=Y(Q),De=Ae.type;switch(de){case 1:ie.hash=Ae.hash;case 2:ie.query=Ae.query;case 3:case 4:se(ie,Ae);case 5:ie.user=Ae.user,ie.host=Ae.host,ie.port=Ae.port;case 6:ie.scheme=Ae.scheme}De>de&&(de=De)}re(ie,de);const Ce=ie.query+ie.hash;switch(de){case 2:case 3:return Ce;case 4:{const Ae=ie.path.slice(1);return Ae?B(Q||X)&&!B(Ae)?"./"+Ae+Ce:Ae+Ce:Ce||"."}case 5:return ie.path+Ce;default:return ie.scheme+"//"+ie.user+ie.host+ie.port+ie.path+Ce}}function ce(X,Q){return Q&&!Q.endsWith("/")&&(Q+="/"),ue(X,Q)}function Ee(X){if(!X)return"";const Q=X.lastIndexOf("/");return X.slice(0,Q+1)}const Te=0,_e=1,oe=2,Z=3,J=4,te=1,ve=2;function me(X,Q){const ie=Ze(X,0);if(ie===X.length)return X;Q||(X=X.slice());for(let de=ie;de<X.length;de=Ze(X,de+1))X[de]=ht(X[de],Q);return X}function Ze(X,Q){for(let ie=Q;ie<X.length;ie++)if(!Ve(X[ie]))return ie;return X.length}function Ve(X){for(let Q=1;Q<X.length;Q++)if(X[Q][Te]<X[Q-1][Te])return!1;return!0}function ht(X,Q){return Q||(X=X.slice()),X.sort(wt)}function wt(X,Q){return X[Te]-Q[Te]}let yt=!1;function St(X,Q,ie,de){for(;ie<=de;){const Ce=ie+(de-ie>>1),Ae=X[Ce][Te]-Q;if(Ae===0)return yt=!0,Ce;Ae<0?ie=Ce+1:de=Ce-1}return yt=!1,ie-1}function Ct(X,Q,ie){for(let de=ie+1;de<X.length&&X[de][Te]===Q;ie=de++);return ie}function le(X,Q,ie){for(let de=ie-1;de>=0&&X[de][Te]===Q;ie=de--);return ie}function we(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function be(X,Q,ie,de){const{lastKey:Ce,lastNeedle:Ae,lastIndex:De}=ie;let ze=0,Me=X.length-1;if(de===Ce){if(Q===Ae)return yt=De!==-1&&X[De][Te]===Q,De;Q>=Ae?ze=De===-1?0:De:Me=De}return ie.lastKey=de,ie.lastNeedle=Q,ie.lastIndex=St(X,Q,ze,Me)}function pt(X,Q){const ie=Q.map(Rt);for(let de=0;de<X.length;de++){const Ce=X[de];for(let Ae=0;Ae<Ce.length;Ae++){const De=Ce[Ae];if(De.length===1)continue;const ze=De[_e],Me=De[oe],ut=De[Z],Wt=ie[ze],_t=Wt[Me]||(Wt[Me]=[]),Yt=Q[ze];let wn=Ct(_t,ut,be(_t,ut,Yt,Me));Yt.lastIndex=++wn,Et(_t,wn,[ut,de,De[Te]])}}return ie}function Et(X,Q,ie){for(let de=X.length;de>Q;de--)X[de]=X[de-1];X[Q]=ie}function Rt(){return{__proto__:null}}const yn=function(X,Q){const ie=Dt(X);if(!("sections"in ie))return new Pe(ie,Q);const de=[],Ce=[],Ae=[],De=[],ze=[];It(ie,Q,de,Ce,Ae,De,ze,0,0,1/0,1/0);const Me={version:3,file:ie.file,names:De,sources:Ce,sourcesContent:Ae,mappings:de,ignoreList:ze};return $r(Me)};function Dt(X){return typeof X=="string"?JSON.parse(X):X}function It(X,Q,ie,de,Ce,Ae,De,ze,Me,ut,Wt){const{sections:_t}=X;for(let Yt=0;Yt<_t.length;Yt++){const{map:wn,offset:zn}=_t[Yt];let tr=ut,Kr=Wt;if(Yt+1<_t.length){const ni=_t[Yt+1].offset;tr=Math.min(ut,ze+ni.line),tr===ut?Kr=Math.min(Wt,Me+ni.column):tr<ut&&(Kr=Me+ni.column)}kt(wn,Q,ie,de,Ce,Ae,De,ze+zn.line,Me+zn.column,tr,Kr)}}function kt(X,Q,ie,de,Ce,Ae,De,ze,Me,ut,Wt){const _t=Dt(X);if("sections"in _t)return It(...arguments);const Yt=new Pe(_t,Q),wn=de.length,zn=Ae.length,tr=ft(Yt),{resolvedSources:Kr,sourcesContent:ni,ignoreList:Os}=Yt;if(Pt(de,Kr),Pt(Ae,Yt.names),ni)Pt(Ce,ni);else for(let nr=0;nr<Kr.length;nr++)Ce.push(null);if(Os)for(let nr=0;nr<Os.length;nr++)De.push(Os[nr]+wn);for(let nr=0;nr<tr.length;nr++){const io=ze+nr;if(io>ut)return;const _a=nn(ie,io),ec=nr===0?Me:0,ma=tr[nr];for(let oo=0;oo<ma.length;oo++){const ao=ma[oo],zr=ec+ao[Te];if(io===ut&&zr>=Wt)return;if(ao.length===1){_a.push([zr]);continue}const vo=wn+ao[_e],tc=ao[oe],Go=ao[Z];_a.push(ao.length===4?[zr,vo,tc,Go]:[zr,vo,tc,Go,zn+ao[J]])}}}function Pt(X,Q){for(let ie=0;ie<Q.length;ie++)X.push(Q[ie])}function nn(X,Q){for(let ie=X.length;ie<=Q;ie++)X[ie]=[];return X[Q]}const ir="`line` must be greater than 0 (lines start at line 1)",W="`column` must be greater than or equal to 0 (columns start at column 0)",Fe=-1,Ue=1;class Pe{constructor(Q,ie){const de=typeof Q=="string";if(!de&&Q._decodedMemo)return Q;const Ce=de?JSON.parse(Q):Q,{version:Ae,file:De,names:ze,sourceRoot:Me,sources:ut,sourcesContent:Wt}=Ce;this.version=Ae,this.file=De,this.names=ze||[],this.sourceRoot=Me,this.sources=ut,this.sourcesContent=Wt,this.ignoreList=Ce.ignoreList||Ce.x_google_ignoreList||void 0;const _t=ce(Me||"",Ee(ie));this.resolvedSources=ut.map(wn=>ce(wn||"",_t));const{mappings:Yt}=Ce;typeof Yt=="string"?(this._encoded=Yt,this._decoded=void 0):(this._encoded=void 0,this._decoded=me(Yt,de)),this._decodedMemo=we(),this._bySources=void 0,this._bySourceMemos=void 0}}function Qe(X){return X}function Ht(X){var Q,ie;return(Q=(ie=X)._encoded)!==null&&Q!==void 0?Q:ie._encoded=v(X._decoded)}function ft(X){var Q;return(Q=X)._decoded||(Q._decoded=b(X._encoded))}function fn(X,Q){let{line:ie,column:de,bias:Ce}=Q;if(ie--,ie<0)throw new Error(ir);if(de<0)throw new Error(W);const Ae=ft(X);if(ie>=Ae.length)return or(null,null,null,null);const De=Ae[ie],ze=eo(De,X._decodedMemo,ie,de,Ce||Ue);if(ze===-1)return or(null,null,null,null);const Me=De[ze];if(Me.length===1)return or(null,null,null,null);const{names:ut,resolvedSources:Wt}=X;return or(Wt[Me[_e]],Me[oe]+1,Me[Z],Me.length===5?ut[Me[J]]:null)}function gn(X,Q){const{source:ie,line:de,column:Ce,bias:Ae}=Q;return fr(X,ie,de,Ce,Ae||Ue,!1)}function jr(X,Q){const{source:ie,line:de,column:Ce,bias:Ae}=Q;return fr(X,ie,de,Ce,Ae||Fe,!0)}function On(X,Q){const ie=ft(X),{names:de,resolvedSources:Ce}=X;for(let Ae=0;Ae<ie.length;Ae++){const De=ie[Ae];for(let ze=0;ze<De.length;ze++){const Me=De[ze],ut=Ae+1,Wt=Me[0];let _t=null,Yt=null,wn=null,zn=null;Me.length!==1&&(_t=Ce[Me[1]],Yt=Me[2]+1,wn=Me[3]),Me.length===5&&(zn=de[Me[4]]),Q({generatedLine:ut,generatedColumn:Wt,source:_t,originalLine:Yt,originalColumn:wn,name:zn})}}}function rn(X,Q){const{sources:ie,resolvedSources:de}=X;let Ce=ie.indexOf(Q);return Ce===-1&&(Ce=de.indexOf(Q)),Ce}function Ri(X,Q){const{sourcesContent:ie}=X;if(ie==null)return null;const de=rn(X,Q);return de===-1?null:ie[de]}function $r(X,Q){const ie=new Pe(Fi(X,[]),Q);return ie._decoded=X.mappings,ie}function Fi(X,Q){return{version:X.version,file:X.file,names:X.names,sourceRoot:X.sourceRoot,sources:X.sources,sourcesContent:X.sourcesContent,mappings:Q,ignoreList:X.ignoreList||X.x_google_ignoreList}}function or(X,Q,ie,de){return{source:X,line:Q,column:ie,name:de}}function Or(X,Q){return{line:X,column:Q}}function eo(X,Q,ie,de,Ce){let Ae=be(X,de,Q,ie);return yt?Ae=(Ce===Fe?Ct:le)(X,de,Ae):Ce===Fe&&Ae++,Ae===-1||Ae===X.length?-1:Ae}function gi(X,Q,ie,de,Ce){let Ae=eo(X,Q,ie,de,Ue);if(!yt&&Ce===Fe&&Ae++,Ae===-1||Ae===X.length)return[];const De=yt?de:X[Ae][Te];yt||(Ae=le(X,De,Ae));const ze=Ct(X,De,Ae),Me=[];for(;Ae<=ze;Ae++){const ut=X[Ae];Me.push(Or(ut[te]+1,ut[ve]))}return Me}function fr(X,Q,ie,de,Ce,Ae){var De;if(ie--,ie<0)throw new Error(ir);if(de<0)throw new Error(W);const{sources:ze,resolvedSources:Me}=X;let ut=ze.indexOf(Q);if(ut===-1&&(ut=Me.indexOf(Q)),ut===-1)return Ae?[]:Or(null,null);const _t=((De=X)._bySources||(De._bySources=pt(ft(X),X._bySourceMemos=ze.map(we))))[ut][ie];if(_t==null)return Ae?[]:Or(null,null);const Yt=X._bySourceMemos[ut];if(Ae)return gi(_t,Yt,ie,de,Ce);const wn=eo(_t,Yt,ie,de,Ce);if(wn===-1)return Or(null,null);const zn=_t[wn];return Or(zn[te]+1,zn[ve])}class Hr{constructor(){this._indexes={__proto__:null},this.array=[]}}function to(X){return X}function dt(X,Q){return X._indexes[Q]}function er(X,Q){const ie=dt(X,Q);if(ie!==void 0)return ie;const{array:de,_indexes:Ce}=X,Ae=de.push(Q);return Ce[Q]=Ae-1}const L=0,q=1,ee=2,ae=3,he=4,Le=-1;class Be{constructor({file:Q,sourceRoot:ie}={}){this._names=new Hr,this._sources=new Hr,this._sourcesContent=[],this._mappings=[],this.file=Q,this.sourceRoot=ie,this._ignoreList=new Hr}}function at(X){return X}const Xt=(X,Q)=>Ho(!0,X,Q);function hn(X,Q,ie){const{_sources:de,_sourcesContent:Ce}=X,Ae=er(de,Q);Ce[Ae]=ie}function An(X){const{_mappings:Q,_sources:ie,_sourcesContent:de,_names:Ce,_ignoreList:Ae}=X;return ih(Q),{version:3,file:X.file||void 0,names:Ce.array,sourceRoot:X.sourceRoot||void 0,sources:ie.array,sourcesContent:de,mappings:Q,ignoreList:Ae.array}}function Gr(X){const Q=An(X);return Object.assign(Object.assign({},Q),{mappings:v(Q.mappings)})}function zt(X){const Q=new Pe(X),ie=new Be({file:Q.file,sourceRoot:Q.sourceRoot});return $o(ie._names,Q.names),$o(ie._sources,Q.sources),ie._sourcesContent=Q.sourcesContent||Q.sources.map(()=>null),ie._mappings=ft(Q),Q.ignoreList&&$o(ie._ignoreList,Q.ignoreList),ie}function ti(X,Q,ie,de,Ce,Ae,De,ze,Me){const{_mappings:ut,_sources:Wt,_sourcesContent:_t,_names:Yt}=Q,wn=wr(ut,ie),zn=Ju(wn,de);if(!Ce)return X&&pa(wn,zn)?void 0:no(wn,zn,[de]);const tr=er(Wt,Ce),Kr=ze?er(Yt,ze):Le;if(tr===_t.length&&(_t[tr]=Me??null),!(X&&ro(wn,zn,tr,Ae,De,Kr)))return no(wn,zn,ze?[de,tr,Ae,De,Kr]:[de,tr,Ae,De])}function wr(X,Q){for(let ie=X.length;ie<=Q;ie++)X[ie]=[];return X[Q]}function Ju(X,Q){let ie=X.length;for(let de=ie-1;de>=0;ie=de--){const Ce=X[de];if(Q>=Ce[L])break}return ie}function no(X,Q,ie){for(let de=X.length;de>Q;de--)X[de]=X[de-1];X[Q]=ie}function ih(X){const{length:Q}=X;let ie=Q;for(let de=ie-1;de>=0&&!(X[de].length>0);ie=de,de--);ie<Q&&(X.length=ie)}function $o(X,Q){for(let ie=0;ie<Q.length;ie++)er(X,Q[ie])}function pa(X,Q){return Q===0?!0:X[Q-1].length===1}function ro(X,Q,ie,de,Ce,Ae){if(Q===0)return!1;const De=X[Q-1];return De.length===1?!1:ie===De[q]&&de===De[ee]&&Ce===De[ae]&&Ae===(De.length===5?De[he]:Le)}function Ho(X,Q,ie){const{generated:de,source:Ce,original:Ae,name:De,content:ze}=ie;return Ce?ti(X,Q,de.line-1,de.column,Ce,Ae.line-1,Ae.column,De,ze):ti(X,Q,de.line-1,de.column,null,null,null,null,null)}class da{constructor(Q,ie){const de=this._map=new yn(Q,ie);this.file=de.file,this.names=de.names,this.sourceRoot=de.sourceRoot,this.sources=de.resolvedSources,this.sourcesContent=de.sourcesContent,this.version=de.version}static fromSourceMap(Q,ie){return Q.toDecodedMap?new da(Q.toDecodedMap(),ie):new da(Q.toJSON(),ie)}get mappings(){return Ht(this._map)}originalPositionFor(Q){return fn(this._map,Q)}generatedPositionFor(Q){return gn(this._map,Q)}allGeneratedPositionsFor(Q){return jr(this._map,Q)}hasContentsOfAllSources(){if(!this.sourcesContent||this.sourcesContent.length!==this.sources.length)return!1;for(const Q of this.sourcesContent)if(Q==null)return!1;return!0}sourceContentFor(Q,ie){const de=Ri(this._map,Q);if(de!=null)return de;if(ie)return null;throw new Error(`"${Q}" is not in the SourceMap.`)}eachMapping(Q,ie){On(this._map,ie?Q.bind(ie):Q)}destroy(){}}class st{constructor(Q){this._map=Q instanceof Be?Q:new Be(Q)}static fromSourceMap(Q){return new st(zt(Q))}addMapping(Q){Xt(this._map,Q)}setSourceContent(Q,ie){hn(this._map,Q,ie)}toJSON(){return Gr(this._map)}toString(){return JSON.stringify(this.toJSON())}toDecodedMap(){return An(this._map)}}n.SourceMapConsumer=da,n.SourceMapGenerator=st,Object.defineProperty(n,"__esModule",{value:!0})})})(rh,rh.exports);var r_=rh.exports;function*fv(t){t=xi(t,{file:null,root:null,orig:null,files:{}});var e,n=new r_.SourceMapGenerator({file:t.file,sourceRoot:t.root});let r={__proto__:null},a=t.files;for(var c in a)sr(a,c)&&(r[c]=a[c]);t.orig&&(e=yield new r_.SourceMapConsumer(t.orig),e.sourcesContent&&e.sources.forEach(function(x,w){var F=e.sourcesContent[w];F&&(r[x]=F)}));function f(x,w,F,R,v,d){let g={line:w,column:F};if(e){var A=e.originalPositionFor({line:R,column:v});if(A.source===null){n.addMapping({generated:g,original:null,source:null,name:null});return}x=A.source,R=A.line,v=A.column,d=A.name||d}n.addMapping({generated:g,original:{line:R,column:v},source:x,name:d}),n.setSourceContent(x,r[x])}function p(x){return x.sourcesContent&&x.sourcesContent.every(F=>F==null)&&delete x.sourcesContent,x.file===void 0&&delete x.file,x.sourceRoot===void 0&&delete x.sourceRoot,x}function E(){return n.toDecodedMap?p(n.toDecodedMap()):null}function b(){return p(n.toJSON())}function T(){e&&e.destroy&&e.destroy()}return{add:f,getDecoded:E,getEncoded:b,destroy:T}}var hv=["$&","$'","$*","$+","$1","$2","$3","$4","$5","$6","$7","$8","$9","$_","$`","$input","-moz-animation","-moz-animation-delay","-moz-animation-direction","-moz-animation-duration","-moz-animation-fill-mode","-moz-animation-iteration-count","-moz-animation-name","-moz-animation-play-state","-moz-animation-timing-function","-moz-appearance","-moz-backface-visibility","-moz-border-end","-moz-border-end-color","-moz-border-end-style","-moz-border-end-width","-moz-border-image","-moz-border-start","-moz-border-start-color","-moz-border-start-style","-moz-border-start-width","-moz-box-align","-moz-box-direction","-moz-box-flex","-moz-box-ordinal-group","-moz-box-orient","-moz-box-pack","-moz-box-sizing","-moz-float-edge","-moz-font-feature-settings","-moz-font-language-override","-moz-force-broken-image-icon","-moz-hyphens","-moz-image-region","-moz-margin-end","-moz-margin-start","-moz-orient","-moz-osx-font-smoothing","-moz-outline-radius","-moz-outline-radius-bottomleft","-moz-outline-radius-bottomright","-moz-outline-radius-topleft","-moz-outline-radius-topright","-moz-padding-end","-moz-padding-start","-moz-perspective","-moz-perspective-origin","-moz-tab-size","-moz-text-size-adjust","-moz-transform","-moz-transform-origin","-moz-transform-style","-moz-transition","-moz-transition-delay","-moz-transition-duration","-moz-transition-property","-moz-transition-timing-function","-moz-user-focus","-moz-user-input","-moz-user-modify","-moz-user-select","-moz-window-dragging","-webkit-align-content","-webkit-align-items","-webkit-align-self","-webkit-animation","-webkit-animation-delay","-webkit-animation-direction","-webkit-animation-duration","-webkit-animation-fill-mode","-webkit-animation-iteration-count","-webkit-animation-name","-webkit-animation-play-state","-webkit-animation-timing-function","-webkit-appearance","-webkit-backface-visibility","-webkit-background-clip","-webkit-background-origin","-webkit-background-size","-webkit-border-bottom-left-radius","-webkit-border-bottom-right-radius","-webkit-border-image","-webkit-border-radius","-webkit-border-top-left-radius","-webkit-border-top-right-radius","-webkit-box-align","-webkit-box-direction","-webkit-box-flex","-webkit-box-ordinal-group","-webkit-box-orient","-webkit-box-pack","-webkit-box-shadow","-webkit-box-sizing","-webkit-clip-path","-webkit-filter","-webkit-flex","-webkit-flex-basis","-webkit-flex-direction","-webkit-flex-flow","-webkit-flex-grow","-webkit-flex-shrink","-webkit-flex-wrap","-webkit-justify-content","-webkit-line-clamp","-webkit-mask","-webkit-mask-clip","-webkit-mask-composite","-webkit-mask-image","-webkit-mask-origin","-webkit-mask-position","-webkit-mask-position-x","-webkit-mask-position-y","-webkit-mask-repeat","-webkit-mask-size","-webkit-order","-webkit-perspective","-webkit-perspective-origin","-webkit-text-fill-color","-webkit-text-security","-webkit-text-size-adjust","-webkit-text-stroke","-webkit-text-stroke-color","-webkit-text-stroke-width","-webkit-transform","-webkit-transform-origin","-webkit-transform-style","-webkit-transition","-webkit-transition-delay","-webkit-transition-duration","-webkit-transition-property","-webkit-transition-timing-function","-webkit-user-select","0","1","10","11","12","13","14","15","16","17","18","19","2","20","3","4","5","6","7","8","9","@@iterator","ABORT_ERR","ACTIVE","ACTIVE_ATTRIBUTES","ACTIVE_TEXTURE","ACTIVE_UNIFORMS","ACTIVE_UNIFORM_BLOCKS","ADDITION","ALIASED_LINE_WIDTH_RANGE","ALIASED_POINT_SIZE_RANGE","ALL","ALLOW_KEYBOARD_INPUT","ALLPASS","ALPHA","ALPHA_BITS","ALREADY_SIGNALED","ALT_MASK","ALWAYS","ANY_SAMPLES_PASSED","ANY_SAMPLES_PASSED_CONSERVATIVE","ANY_TYPE","ANY_UNORDERED_NODE_TYPE","ARRAY_BUFFER","ARRAY_BUFFER_BINDING","ATTACHED_SHADERS","ATTRIBUTE_NODE","AT_TARGET","AbortController","AbortSignal","AbsoluteOrientationSensor","AbstractRange","Accelerometer","AddSearchProvider","AggregateError","AnalyserNode","Animation","AnimationEffect","AnimationEvent","AnimationPlaybackEvent","AnimationTimeline","AnonXMLHttpRequest","Any","ApplicationCache","ApplicationCacheErrorEvent","Array","ArrayBuffer","ArrayType","Atomics","Attr","Audio","AudioBuffer","AudioBufferSourceNode","AudioContext","AudioData","AudioDecoder","AudioDestinationNode","AudioEncoder","AudioListener","AudioNode","AudioParam","AudioParamMap","AudioProcessingEvent","AudioScheduledSourceNode","AudioSinkInfo","AudioStreamTrack","AudioWorklet","AudioWorkletNode","AuthenticatorAssertionResponse","AuthenticatorAttestationResponse","AuthenticatorResponse","AutocompleteErrorEvent","BACK","BAD_BOUNDARYPOINTS_ERR","BAD_REQUEST","BANDPASS","BLEND","BLEND_COLOR","BLEND_DST_ALPHA","BLEND_DST_RGB","BLEND_EQUATION","BLEND_EQUATION_ALPHA","BLEND_EQUATION_RGB","BLEND_SRC_ALPHA","BLEND_SRC_RGB","BLUE","BLUE_BITS","BLUR","BOOL","BOOLEAN_TYPE","BOOL_VEC2","BOOL_VEC3","BOOL_VEC4","BOTH","BROWSER_DEFAULT_WEBGL","BUBBLING_PHASE","BUFFER_SIZE","BUFFER_USAGE","BYTE","BYTES_PER_ELEMENT","BackgroundFetchManager","BackgroundFetchRecord","BackgroundFetchRegistration","BarProp","BarcodeDetector","BaseAudioContext","BaseHref","BatteryManager","BeforeInstallPromptEvent","BeforeLoadEvent","BeforeUnloadEvent","BigInt","BigInt64Array","BigUint64Array","BiquadFilterNode","Blob","BlobEvent","Bluetooth","BluetoothCharacteristicProperties","BluetoothDevice","BluetoothRemoteGATTCharacteristic","BluetoothRemoteGATTDescriptor","BluetoothRemoteGATTServer","BluetoothRemoteGATTService","BluetoothUUID","Boolean","BroadcastChannel","BrowserCaptureMediaStreamTrack","ByteLengthQueuingStrategy","CAPTURING_PHASE","CCW","CDATASection","CDATA_SECTION_NODE","CHANGE","CHARSET_RULE","CHECKING","CLAMP_TO_EDGE","CLICK","CLOSED","CLOSING","COLOR","COLOR_ATTACHMENT0","COLOR_ATTACHMENT1","COLOR_ATTACHMENT10","COLOR_ATTACHMENT11","COLOR_ATTACHMENT12","COLOR_ATTACHMENT13","COLOR_ATTACHMENT14","COLOR_ATTACHMENT15","COLOR_ATTACHMENT2","COLOR_ATTACHMENT3","COLOR_ATTACHMENT4","COLOR_ATTACHMENT5","COLOR_ATTACHMENT6","COLOR_ATTACHMENT7","COLOR_ATTACHMENT8","COLOR_ATTACHMENT9","COLOR_BUFFER_BIT","COLOR_CLEAR_VALUE","COLOR_WRITEMASK","COMMENT_NODE","COMPARE_REF_TO_TEXTURE","COMPILE_STATUS","COMPLETION_STATUS_KHR","COMPRESSED_RGBA_S3TC_DXT1_EXT","COMPRESSED_RGBA_S3TC_DXT3_EXT","COMPRESSED_RGBA_S3TC_DXT5_EXT","COMPRESSED_RGB_S3TC_DXT1_EXT","COMPRESSED_TEXTURE_FORMATS","COMPUTE","CONDITION_SATISFIED","CONFIGURATION_UNSUPPORTED","CONNECTING","CONSTANT_ALPHA","CONSTANT_COLOR","CONSTRAINT_ERR","CONTEXT_LOST_WEBGL","CONTROL_MASK","COPY_DST","COPY_READ_BUFFER","COPY_READ_BUFFER_BINDING","COPY_SRC","COPY_WRITE_BUFFER","COPY_WRITE_BUFFER_BINDING","COUNTER_STYLE_RULE","CSS","CSS2Properties","CSSAnimation","CSSCharsetRule","CSSConditionRule","CSSContainerRule","CSSCounterStyleRule","CSSFontFaceRule","CSSFontFeatureValuesRule","CSSFontPaletteValuesRule","CSSGroupingRule","CSSImageValue","CSSImportRule","CSSKeyframeRule","CSSKeyframesRule","CSSKeywordValue","CSSLayerBlockRule","CSSLayerStatementRule","CSSMathClamp","CSSMathInvert","CSSMathMax","CSSMathMin","CSSMathNegate","CSSMathProduct","CSSMathSum","CSSMathValue","CSSMatrixComponent","CSSMediaRule","CSSMozDocumentRule","CSSNameSpaceRule","CSSNamespaceRule","CSSNumericArray","CSSNumericValue","CSSPageRule","CSSPerspective","CSSPositionValue","CSSPrimitiveValue","CSSPropertyRule","CSSRotate","CSSRule","CSSRuleList","CSSScale","CSSScopeRule","CSSSkew","CSSSkewX","CSSSkewY","CSSStartingStyleRule","CSSStyleDeclaration","CSSStyleRule","CSSStyleSheet","CSSStyleValue","CSSSupportsRule","CSSTransformComponent","CSSTransformValue","CSSTransition","CSSTranslate","CSSUnitValue","CSSUnknownRule","CSSUnparsedValue","CSSValue","CSSValueList","CSSVariableReferenceValue","CSSVariablesDeclaration","CSSVariablesRule","CSSViewportRule","CSS_ATTR","CSS_CM","CSS_COUNTER","CSS_CUSTOM","CSS_DEG","CSS_DIMENSION","CSS_EMS","CSS_EXS","CSS_FILTER_BLUR","CSS_FILTER_BRIGHTNESS","CSS_FILTER_CONTRAST","CSS_FILTER_CUSTOM","CSS_FILTER_DROP_SHADOW","CSS_FILTER_GRAYSCALE","CSS_FILTER_HUE_ROTATE","CSS_FILTER_INVERT","CSS_FILTER_OPACITY","CSS_FILTER_REFERENCE","CSS_FILTER_SATURATE","CSS_FILTER_SEPIA","CSS_GRAD","CSS_HZ","CSS_IDENT","CSS_IN","CSS_INHERIT","CSS_KHZ","CSS_MATRIX","CSS_MATRIX3D","CSS_MM","CSS_MS","CSS_NUMBER","CSS_PC","CSS_PERCENTAGE","CSS_PERSPECTIVE","CSS_PRIMITIVE_VALUE","CSS_PT","CSS_PX","CSS_RAD","CSS_RECT","CSS_RGBCOLOR","CSS_ROTATE","CSS_ROTATE3D","CSS_ROTATEX","CSS_ROTATEY","CSS_ROTATEZ","CSS_S","CSS_SCALE","CSS_SCALE3D","CSS_SCALEX","CSS_SCALEY","CSS_SCALEZ","CSS_SKEW","CSS_SKEWX","CSS_SKEWY","CSS_STRING","CSS_TRANSLATE","CSS_TRANSLATE3D","CSS_TRANSLATEX","CSS_TRANSLATEY","CSS_TRANSLATEZ","CSS_UNKNOWN","CSS_URI","CSS_VALUE_LIST","CSS_VH","CSS_VMAX","CSS_VMIN","CSS_VW","CULL_FACE","CULL_FACE_MODE","CURRENT_PROGRAM","CURRENT_QUERY","CURRENT_VERTEX_ATTRIB","CUSTOM","CW","Cache","CacheStorage","CanvasCaptureMediaStream","CanvasCaptureMediaStreamTrack","CanvasGradient","CanvasPattern","CanvasRenderingContext2D","CaptureController","CaretPosition","ChannelMergerNode","ChannelSplitterNode","CharacterBoundsUpdateEvent","CharacterData","ClientRect","ClientRectList","Clipboard","ClipboardEvent","ClipboardItem","CloseEvent","Collator","CommandEvent","Comment","CompileError","CompositionEvent","CompressionStream","Console","ConstantSourceNode","ContentVisibilityAutoStateChangeEvent","Controllers","ConvolverNode","CookieChangeEvent","CookieStore","CookieStoreManager","CountQueuingStrategy","Counter","Credential","CredentialsContainer","CropTarget","Crypto","CryptoKey","CustomElementRegistry","CustomEvent","CustomStateSet","DATABASE_ERR","DATA_CLONE_ERR","DATA_ERR","DBLCLICK","DECR","DECR_WRAP","DELETE_STATUS","DEPTH","DEPTH24_STENCIL8","DEPTH32F_STENCIL8","DEPTH_ATTACHMENT","DEPTH_BITS","DEPTH_BUFFER_BIT","DEPTH_CLEAR_VALUE","DEPTH_COMPONENT","DEPTH_COMPONENT16","DEPTH_COMPONENT24","DEPTH_COMPONENT32F","DEPTH_FUNC","DEPTH_RANGE","DEPTH_STENCIL","DEPTH_STENCIL_ATTACHMENT","DEPTH_TEST","DEPTH_WRITEMASK","DEVICE_INELIGIBLE","DIRECTION_DOWN","DIRECTION_LEFT","DIRECTION_RIGHT","DIRECTION_UP","DISABLED","DISPATCH_REQUEST_ERR","DITHER","DOCUMENT_FRAGMENT_NODE","DOCUMENT_NODE","DOCUMENT_POSITION_CONTAINED_BY","DOCUMENT_POSITION_CONTAINS","DOCUMENT_POSITION_DISCONNECTED","DOCUMENT_POSITION_FOLLOWING","DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC","DOCUMENT_POSITION_PRECEDING","DOCUMENT_TYPE_NODE","DOMCursor","DOMError","DOMException","DOMImplementation","DOMImplementationLS","DOMMatrix","DOMMatrixReadOnly","DOMParser","DOMPoint","DOMPointReadOnly","DOMQuad","DOMRect","DOMRectList","DOMRectReadOnly","DOMRequest","DOMSTRING_SIZE_ERR","DOMSettableTokenList","DOMStringList","DOMStringMap","DOMTokenList","DOMTransactionEvent","DOM_DELTA_LINE","DOM_DELTA_PAGE","DOM_DELTA_PIXEL","DOM_INPUT_METHOD_DROP","DOM_INPUT_METHOD_HANDWRITING","DOM_INPUT_METHOD_IME","DOM_INPUT_METHOD_KEYBOARD","DOM_INPUT_METHOD_MULTIMODAL","DOM_INPUT_METHOD_OPTION","DOM_INPUT_METHOD_PASTE","DOM_INPUT_METHOD_SCRIPT","DOM_INPUT_METHOD_UNKNOWN","DOM_INPUT_METHOD_VOICE","DOM_KEY_LOCATION_JOYSTICK","DOM_KEY_LOCATION_LEFT","DOM_KEY_LOCATION_MOBILE","DOM_KEY_LOCATION_NUMPAD","DOM_KEY_LOCATION_RIGHT","DOM_KEY_LOCATION_STANDARD","DOM_VK_0","DOM_VK_1","DOM_VK_2","DOM_VK_3","DOM_VK_4","DOM_VK_5","DOM_VK_6","DOM_VK_7","DOM_VK_8","DOM_VK_9","DOM_VK_A","DOM_VK_ACCEPT","DOM_VK_ADD","DOM_VK_ALT","DOM_VK_ALTGR","DOM_VK_AMPERSAND","DOM_VK_ASTERISK","DOM_VK_AT","DOM_VK_ATTN","DOM_VK_B","DOM_VK_BACKSPACE","DOM_VK_BACK_QUOTE","DOM_VK_BACK_SLASH","DOM_VK_BACK_SPACE","DOM_VK_C","DOM_VK_CANCEL","DOM_VK_CAPS_LOCK","DOM_VK_CIRCUMFLEX","DOM_VK_CLEAR","DOM_VK_CLOSE_BRACKET","DOM_VK_CLOSE_CURLY_BRACKET","DOM_VK_CLOSE_PAREN","DOM_VK_COLON","DOM_VK_COMMA","DOM_VK_CONTEXT_MENU","DOM_VK_CONTROL","DOM_VK_CONVERT","DOM_VK_CRSEL","DOM_VK_CTRL","DOM_VK_D","DOM_VK_DECIMAL","DOM_VK_DELETE","DOM_VK_DIVIDE","DOM_VK_DOLLAR","DOM_VK_DOUBLE_QUOTE","DOM_VK_DOWN","DOM_VK_E","DOM_VK_EISU","DOM_VK_END","DOM_VK_ENTER","DOM_VK_EQUALS","DOM_VK_EREOF","DOM_VK_ESCAPE","DOM_VK_EXCLAMATION","DOM_VK_EXECUTE","DOM_VK_EXSEL","DOM_VK_F","DOM_VK_F1","DOM_VK_F10","DOM_VK_F11","DOM_VK_F12","DOM_VK_F13","DOM_VK_F14","DOM_VK_F15","DOM_VK_F16","DOM_VK_F17","DOM_VK_F18","DOM_VK_F19","DOM_VK_F2","DOM_VK_F20","DOM_VK_F21","DOM_VK_F22","DOM_VK_F23","DOM_VK_F24","DOM_VK_F25","DOM_VK_F26","DOM_VK_F27","DOM_VK_F28","DOM_VK_F29","DOM_VK_F3","DOM_VK_F30","DOM_VK_F31","DOM_VK_F32","DOM_VK_F33","DOM_VK_F34","DOM_VK_F35","DOM_VK_F36","DOM_VK_F4","DOM_VK_F5","DOM_VK_F6","DOM_VK_F7","DOM_VK_F8","DOM_VK_F9","DOM_VK_FINAL","DOM_VK_FRONT","DOM_VK_G","DOM_VK_GREATER_THAN","DOM_VK_H","DOM_VK_HANGUL","DOM_VK_HANJA","DOM_VK_HASH","DOM_VK_HELP","DOM_VK_HK_TOGGLE","DOM_VK_HOME","DOM_VK_HYPHEN_MINUS","DOM_VK_I","DOM_VK_INSERT","DOM_VK_J","DOM_VK_JUNJA","DOM_VK_K","DOM_VK_KANA","DOM_VK_KANJI","DOM_VK_L","DOM_VK_LEFT","DOM_VK_LEFT_TAB","DOM_VK_LESS_THAN","DOM_VK_M","DOM_VK_META","DOM_VK_MODECHANGE","DOM_VK_MULTIPLY","DOM_VK_N","DOM_VK_NONCONVERT","DOM_VK_NUMPAD0","DOM_VK_NUMPAD1","DOM_VK_NUMPAD2","DOM_VK_NUMPAD3","DOM_VK_NUMPAD4","DOM_VK_NUMPAD5","DOM_VK_NUMPAD6","DOM_VK_NUMPAD7","DOM_VK_NUMPAD8","DOM_VK_NUMPAD9","DOM_VK_NUM_LOCK","DOM_VK_O","DOM_VK_OEM_1","DOM_VK_OEM_102","DOM_VK_OEM_2","DOM_VK_OEM_3","DOM_VK_OEM_4","DOM_VK_OEM_5","DOM_VK_OEM_6","DOM_VK_OEM_7","DOM_VK_OEM_8","DOM_VK_OEM_COMMA","DOM_VK_OEM_MINUS","DOM_VK_OEM_PERIOD","DOM_VK_OEM_PLUS","DOM_VK_OPEN_BRACKET","DOM_VK_OPEN_CURLY_BRACKET","DOM_VK_OPEN_PAREN","DOM_VK_P","DOM_VK_PA1","DOM_VK_PAGEDOWN","DOM_VK_PAGEUP","DOM_VK_PAGE_DOWN","DOM_VK_PAGE_UP","DOM_VK_PAUSE","DOM_VK_PERCENT","DOM_VK_PERIOD","DOM_VK_PIPE","DOM_VK_PLAY","DOM_VK_PLUS","DOM_VK_PRINT","DOM_VK_PRINTSCREEN","DOM_VK_PROCESSKEY","DOM_VK_PROPERITES","DOM_VK_Q","DOM_VK_QUESTION_MARK","DOM_VK_QUOTE","DOM_VK_R","DOM_VK_REDO","DOM_VK_RETURN","DOM_VK_RIGHT","DOM_VK_S","DOM_VK_SCROLL_LOCK","DOM_VK_SELECT","DOM_VK_SEMICOLON","DOM_VK_SEPARATOR","DOM_VK_SHIFT","DOM_VK_SLASH","DOM_VK_SLEEP","DOM_VK_SPACE","DOM_VK_SUBTRACT","DOM_VK_T","DOM_VK_TAB","DOM_VK_TILDE","DOM_VK_U","DOM_VK_UNDERSCORE","DOM_VK_UNDO","DOM_VK_UNICODE","DOM_VK_UP","DOM_VK_V","DOM_VK_VOLUME_DOWN","DOM_VK_VOLUME_MUTE","DOM_VK_VOLUME_UP","DOM_VK_W","DOM_VK_WIN","DOM_VK_WINDOW","DOM_VK_WIN_ICO_00","DOM_VK_WIN_ICO_CLEAR","DOM_VK_WIN_ICO_HELP","DOM_VK_WIN_OEM_ATTN","DOM_VK_WIN_OEM_AUTO","DOM_VK_WIN_OEM_BACKTAB","DOM_VK_WIN_OEM_CLEAR","DOM_VK_WIN_OEM_COPY","DOM_VK_WIN_OEM_CUSEL","DOM_VK_WIN_OEM_ENLW","DOM_VK_WIN_OEM_FINISH","DOM_VK_WIN_OEM_FJ_JISHO","DOM_VK_WIN_OEM_FJ_LOYA","DOM_VK_WIN_OEM_FJ_MASSHOU","DOM_VK_WIN_OEM_FJ_ROYA","DOM_VK_WIN_OEM_FJ_TOUROKU","DOM_VK_WIN_OEM_JUMP","DOM_VK_WIN_OEM_PA1","DOM_VK_WIN_OEM_PA2","DOM_VK_WIN_OEM_PA3","DOM_VK_WIN_OEM_RESET","DOM_VK_WIN_OEM_WSCTRL","DOM_VK_X","DOM_VK_XF86XK_ADD_FAVORITE","DOM_VK_XF86XK_APPLICATION_LEFT","DOM_VK_XF86XK_APPLICATION_RIGHT","DOM_VK_XF86XK_AUDIO_CYCLE_TRACK","DOM_VK_XF86XK_AUDIO_FORWARD","DOM_VK_XF86XK_AUDIO_LOWER_VOLUME","DOM_VK_XF86XK_AUDIO_MEDIA","DOM_VK_XF86XK_AUDIO_MUTE","DOM_VK_XF86XK_AUDIO_NEXT","DOM_VK_XF86XK_AUDIO_PAUSE","DOM_VK_XF86XK_AUDIO_PLAY","DOM_VK_XF86XK_AUDIO_PREV","DOM_VK_XF86XK_AUDIO_RAISE_VOLUME","DOM_VK_XF86XK_AUDIO_RANDOM_PLAY","DOM_VK_XF86XK_AUDIO_RECORD","DOM_VK_XF86XK_AUDIO_REPEAT","DOM_VK_XF86XK_AUDIO_REWIND","DOM_VK_XF86XK_AUDIO_STOP","DOM_VK_XF86XK_AWAY","DOM_VK_XF86XK_BACK","DOM_VK_XF86XK_BACK_FORWARD","DOM_VK_XF86XK_BATTERY","DOM_VK_XF86XK_BLUE","DOM_VK_XF86XK_BLUETOOTH","DOM_VK_XF86XK_BOOK","DOM_VK_XF86XK_BRIGHTNESS_ADJUST","DOM_VK_XF86XK_CALCULATOR","DOM_VK_XF86XK_CALENDAR","DOM_VK_XF86XK_CD","DOM_VK_XF86XK_CLOSE","DOM_VK_XF86XK_COMMUNITY","DOM_VK_XF86XK_CONTRAST_ADJUST","DOM_VK_XF86XK_COPY","DOM_VK_XF86XK_CUT","DOM_VK_XF86XK_CYCLE_ANGLE","DOM_VK_XF86XK_DISPLAY","DOM_VK_XF86XK_DOCUMENTS","DOM_VK_XF86XK_DOS","DOM_VK_XF86XK_EJECT","DOM_VK_XF86XK_EXCEL","DOM_VK_XF86XK_EXPLORER","DOM_VK_XF86XK_FAVORITES","DOM_VK_XF86XK_FINANCE","DOM_VK_XF86XK_FORWARD","DOM_VK_XF86XK_FRAME_BACK","DOM_VK_XF86XK_FRAME_FORWARD","DOM_VK_XF86XK_GAME","DOM_VK_XF86XK_GO","DOM_VK_XF86XK_GREEN","DOM_VK_XF86XK_HIBERNATE","DOM_VK_XF86XK_HISTORY","DOM_VK_XF86XK_HOME_PAGE","DOM_VK_XF86XK_HOT_LINKS","DOM_VK_XF86XK_I_TOUCH","DOM_VK_XF86XK_KBD_BRIGHTNESS_DOWN","DOM_VK_XF86XK_KBD_BRIGHTNESS_UP","DOM_VK_XF86XK_KBD_LIGHT_ON_OFF","DOM_VK_XF86XK_LAUNCH0","DOM_VK_XF86XK_LAUNCH1","DOM_VK_XF86XK_LAUNCH2","DOM_VK_XF86XK_LAUNCH3","DOM_VK_XF86XK_LAUNCH4","DOM_VK_XF86XK_LAUNCH5","DOM_VK_XF86XK_LAUNCH6","DOM_VK_XF86XK_LAUNCH7","DOM_VK_XF86XK_LAUNCH8","DOM_VK_XF86XK_LAUNCH9","DOM_VK_XF86XK_LAUNCH_A","DOM_VK_XF86XK_LAUNCH_B","DOM_VK_XF86XK_LAUNCH_C","DOM_VK_XF86XK_LAUNCH_D","DOM_VK_XF86XK_LAUNCH_E","DOM_VK_XF86XK_LAUNCH_F","DOM_VK_XF86XK_LIGHT_BULB","DOM_VK_XF86XK_LOG_OFF","DOM_VK_XF86XK_MAIL","DOM_VK_XF86XK_MAIL_FORWARD","DOM_VK_XF86XK_MARKET","DOM_VK_XF86XK_MEETING","DOM_VK_XF86XK_MEMO","DOM_VK_XF86XK_MENU_KB","DOM_VK_XF86XK_MENU_PB","DOM_VK_XF86XK_MESSENGER","DOM_VK_XF86XK_MON_BRIGHTNESS_DOWN","DOM_VK_XF86XK_MON_BRIGHTNESS_UP","DOM_VK_XF86XK_MUSIC","DOM_VK_XF86XK_MY_COMPUTER","DOM_VK_XF86XK_MY_SITES","DOM_VK_XF86XK_NEW","DOM_VK_XF86XK_NEWS","DOM_VK_XF86XK_OFFICE_HOME","DOM_VK_XF86XK_OPEN","DOM_VK_XF86XK_OPEN_URL","DOM_VK_XF86XK_OPTION","DOM_VK_XF86XK_PASTE","DOM_VK_XF86XK_PHONE","DOM_VK_XF86XK_PICTURES","DOM_VK_XF86XK_POWER_DOWN","DOM_VK_XF86XK_POWER_OFF","DOM_VK_XF86XK_RED","DOM_VK_XF86XK_REFRESH","DOM_VK_XF86XK_RELOAD","DOM_VK_XF86XK_REPLY","DOM_VK_XF86XK_ROCKER_DOWN","DOM_VK_XF86XK_ROCKER_ENTER","DOM_VK_XF86XK_ROCKER_UP","DOM_VK_XF86XK_ROTATE_WINDOWS","DOM_VK_XF86XK_ROTATION_KB","DOM_VK_XF86XK_ROTATION_PB","DOM_VK_XF86XK_SAVE","DOM_VK_XF86XK_SCREEN_SAVER","DOM_VK_XF86XK_SCROLL_CLICK","DOM_VK_XF86XK_SCROLL_DOWN","DOM_VK_XF86XK_SCROLL_UP","DOM_VK_XF86XK_SEARCH","DOM_VK_XF86XK_SEND","DOM_VK_XF86XK_SHOP","DOM_VK_XF86XK_SPELL","DOM_VK_XF86XK_SPLIT_SCREEN","DOM_VK_XF86XK_STANDBY","DOM_VK_XF86XK_START","DOM_VK_XF86XK_STOP","DOM_VK_XF86XK_SUBTITLE","DOM_VK_XF86XK_SUPPORT","DOM_VK_XF86XK_SUSPEND","DOM_VK_XF86XK_TASK_PANE","DOM_VK_XF86XK_TERMINAL","DOM_VK_XF86XK_TIME","DOM_VK_XF86XK_TOOLS","DOM_VK_XF86XK_TOP_MENU","DOM_VK_XF86XK_TO_DO_LIST","DOM_VK_XF86XK_TRAVEL","DOM_VK_XF86XK_USER1KB","DOM_VK_XF86XK_USER2KB","DOM_VK_XF86XK_USER_PB","DOM_VK_XF86XK_UWB","DOM_VK_XF86XK_VENDOR_HOME","DOM_VK_XF86XK_VIDEO","DOM_VK_XF86XK_VIEW","DOM_VK_XF86XK_WAKE_UP","DOM_VK_XF86XK_WEB_CAM","DOM_VK_XF86XK_WHEEL_BUTTON","DOM_VK_XF86XK_WLAN","DOM_VK_XF86XK_WORD","DOM_VK_XF86XK_WWW","DOM_VK_XF86XK_XFER","DOM_VK_XF86XK_YELLOW","DOM_VK_XF86XK_ZOOM_IN","DOM_VK_XF86XK_ZOOM_OUT","DOM_VK_Y","DOM_VK_Z","DOM_VK_ZOOM","DONE","DONT_CARE","DOWNLOADING","DRAGDROP","DRAW_BUFFER0","DRAW_BUFFER1","DRAW_BUFFER10","DRAW_BUFFER11","DRAW_BUFFER12","DRAW_BUFFER13","DRAW_BUFFER14","DRAW_BUFFER15","DRAW_BUFFER2","DRAW_BUFFER3","DRAW_BUFFER4","DRAW_BUFFER5","DRAW_BUFFER6","DRAW_BUFFER7","DRAW_BUFFER8","DRAW_BUFFER9","DRAW_FRAMEBUFFER","DRAW_FRAMEBUFFER_BINDING","DST_ALPHA","DST_COLOR","DYNAMIC_COPY","DYNAMIC_DRAW","DYNAMIC_READ","DataChannel","DataTransfer","DataTransferItem","DataTransferItemList","DataView","Date","DateTimeFormat","DecompressionStream","DelayNode","DelegatedInkTrailPresenter","DeprecationReportBody","DesktopNotification","DesktopNotificationCenter","DeviceLightEvent","DeviceMotionEvent","DeviceMotionEventAcceleration","DeviceMotionEventRotationRate","DeviceOrientationEvent","DeviceProximityEvent","DeviceStorage","DeviceStorageChangeEvent","Directory","DisplayNames","Document","DocumentFragment","DocumentPictureInPicture","DocumentPictureInPictureEvent","DocumentTimeline","DocumentType","DragEvent","DynamicsCompressorNode","E","ELEMENT_ARRAY_BUFFER","ELEMENT_ARRAY_BUFFER_BINDING","ELEMENT_NODE","EMPTY","ENCODING_ERR","ENDED","END_TO_END","END_TO_START","ENTITY_NODE","ENTITY_REFERENCE_NODE","EPSILON","EQUAL","EQUALPOWER","ERROR","EXPONENTIAL_DISTANCE","EditContext","Element","ElementInternals","ElementQuery","EncodedAudioChunk","EncodedVideoChunk","EnterPictureInPictureEvent","Entity","EntityReference","Error","ErrorEvent","EvalError","Event","EventCounts","EventException","EventSource","EventTarget","Exception","External","EyeDropper","FASTEST","FIDOSDK","FILTER_ACCEPT","FILTER_INTERRUPT","FILTER_REJECT","FILTER_SKIP","FINISHED_STATE","FIRST_ORDERED_NODE_TYPE","FLOAT","FLOAT_32_UNSIGNED_INT_24_8_REV","FLOAT_MAT2","FLOAT_MAT2x3","FLOAT_MAT2x4","FLOAT_MAT3","FLOAT_MAT3x2","FLOAT_MAT3x4","FLOAT_MAT4","FLOAT_MAT4x2","FLOAT_MAT4x3","FLOAT_VEC2","FLOAT_VEC3","FLOAT_VEC4","FOCUS","FONT_FACE_RULE","FONT_FEATURE_VALUES_RULE","FRAGMENT","FRAGMENT_SHADER","FRAGMENT_SHADER_DERIVATIVE_HINT","FRAGMENT_SHADER_DERIVATIVE_HINT_OES","FRAMEBUFFER","FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE","FRAMEBUFFER_ATTACHMENT_BLUE_SIZE","FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING","FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE","FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE","FRAMEBUFFER_ATTACHMENT_GREEN_SIZE","FRAMEBUFFER_ATTACHMENT_OBJECT_NAME","FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE","FRAMEBUFFER_ATTACHMENT_RED_SIZE","FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE","FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE","FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER","FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL","FRAMEBUFFER_BINDING","FRAMEBUFFER_COMPLETE","FRAMEBUFFER_DEFAULT","FRAMEBUFFER_INCOMPLETE_ATTACHMENT","FRAMEBUFFER_INCOMPLETE_DIMENSIONS","FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT","FRAMEBUFFER_INCOMPLETE_MULTISAMPLE","FRAMEBUFFER_UNSUPPORTED","FRONT","FRONT_AND_BACK","FRONT_FACE","FUNC_ADD","FUNC_REVERSE_SUBTRACT","FUNC_SUBTRACT","FeaturePolicy","FeaturePolicyViolationReportBody","FederatedCredential","Feed","FeedEntry","Fence","FencedFrameConfig","File","FileError","FileList","FileReader","FileSystem","FileSystemDirectoryEntry","FileSystemDirectoryHandle","FileSystemDirectoryReader","FileSystemEntry","FileSystemFileEntry","FileSystemFileHandle","FileSystemHandle","FileSystemWritableFileStream","FinalizationRegistry","FindInPage","Float32Array","Float64Array","FocusEvent","FontData","FontFace","FontFaceSet","FontFaceSetLoadEvent","FormData","FormDataEvent","FragmentDirective","Function","GENERATE_MIPMAP_HINT","GEQUAL","GPU","GPUAdapter","GPUAdapterInfo","GPUBindGroup","GPUBindGroupLayout","GPUBuffer","GPUBufferUsage","GPUCanvasContext","GPUColorWrite","GPUCommandBuffer","GPUCommandEncoder","GPUCompilationInfo","GPUCompilationMessage","GPUComputePassEncoder","GPUComputePipeline","GPUDevice","GPUDeviceLostInfo","GPUError","GPUExternalTexture","GPUInternalError","GPUMapMode","GPUOutOfMemoryError","GPUPipelineError","GPUPipelineLayout","GPUQuerySet","GPUQueue","GPURenderBundle","GPURenderBundleEncoder","GPURenderPassEncoder","GPURenderPipeline","GPUSampler","GPUShaderModule","GPUShaderStage","GPUSupportedFeatures","GPUSupportedLimits","GPUTexture","GPUTextureUsage","GPUTextureView","GPUUncapturedErrorEvent","GPUValidationError","GREATER","GREEN","GREEN_BITS","GainNode","Gamepad","GamepadAxisMoveEvent","GamepadButton","GamepadButtonEvent","GamepadEvent","GamepadHapticActuator","GamepadPose","Geolocation","GeolocationCoordinates","GeolocationPosition","GeolocationPositionError","GestureEvent","Global","GravitySensor","Gyroscope","HALF_FLOAT","HAVE_CURRENT_DATA","HAVE_ENOUGH_DATA","HAVE_FUTURE_DATA","HAVE_METADATA","HAVE_NOTHING","HEADERS_RECEIVED","HID","HIDConnectionEvent","HIDDEN","HIDDevice","HIDInputReportEvent","HIERARCHY_REQUEST_ERR","HIGHPASS","HIGHSHELF","HIGH_FLOAT","HIGH_INT","HORIZONTAL","HORIZONTAL_AXIS","HRTF","HTMLAllCollection","HTMLAnchorElement","HTMLAppletElement","HTMLAreaElement","HTMLAudioElement","HTMLBRElement","HTMLBaseElement","HTMLBaseFontElement","HTMLBlockquoteElement","HTMLBodyElement","HTMLButtonElement","HTMLCanvasElement","HTMLCollection","HTMLCommandElement","HTMLContentElement","HTMLDListElement","HTMLDataElement","HTMLDataListElement","HTMLDetailsElement","HTMLDialogElement","HTMLDirectoryElement","HTMLDivElement","HTMLDocument","HTMLElement","HTMLEmbedElement","HTMLFencedFrameElement","HTMLFieldSetElement","HTMLFontElement","HTMLFormControlsCollection","HTMLFormElement","HTMLFrameElement","HTMLFrameSetElement","HTMLHRElement","HTMLHeadElement","HTMLHeadingElement","HTMLHtmlElement","HTMLIFrameElement","HTMLImageElement","HTMLInputElement","HTMLIsIndexElement","HTMLKeygenElement","HTMLLIElement","HTMLLabelElement","HTMLLegendElement","HTMLLinkElement","HTMLMapElement","HTMLMarqueeElement","HTMLMediaElement","HTMLMenuElement","HTMLMenuItemElement","HTMLMetaElement","HTMLMeterElement","HTMLModElement","HTMLOListElement","HTMLObjectElement","HTMLOptGroupElement","HTMLOptionElement","HTMLOptionsCollection","HTMLOutputElement","HTMLParagraphElement","HTMLParamElement","HTMLPictureElement","HTMLPreElement","HTMLProgressElement","HTMLPropertiesCollection","HTMLQuoteElement","HTMLScriptElement","HTMLSelectElement","HTMLShadowElement","HTMLSlotElement","HTMLSourceElement","HTMLSpanElement","HTMLStyleElement","HTMLTableCaptionElement","HTMLTableCellElement","HTMLTableColElement","HTMLTableElement","HTMLTableRowElement","HTMLTableSectionElement","HTMLTemplateElement","HTMLTextAreaElement","HTMLTimeElement","HTMLTitleElement","HTMLTrackElement","HTMLUListElement","HTMLUnknownElement","HTMLVideoElement","HashChangeEvent","Headers","Highlight","HighlightRegistry","History","Hz","ICE_CHECKING","ICE_CLOSED","ICE_COMPLETED","ICE_CONNECTED","ICE_FAILED","ICE_GATHERING","ICE_WAITING","IDBCursor","IDBCursorWithValue","IDBDatabase","IDBDatabaseException","IDBFactory","IDBFileHandle","IDBFileRequest","IDBIndex","IDBKeyRange","IDBMutableFile","IDBObjectStore","IDBOpenDBRequest","IDBRequest","IDBTransaction","IDBVersionChangeEvent","IDLE","IIRFilterNode","IMPLEMENTATION_COLOR_READ_FORMAT","IMPLEMENTATION_COLOR_READ_TYPE","IMPORT_RULE","INCR","INCR_WRAP","INDEX","INDEX_SIZE_ERR","INDIRECT","INT","INTERLEAVED_ATTRIBS","INT_2_10_10_10_REV","INT_SAMPLER_2D","INT_SAMPLER_2D_ARRAY","INT_SAMPLER_3D","INT_SAMPLER_CUBE","INT_VEC2","INT_VEC3","INT_VEC4","INUSE_ATTRIBUTE_ERR","INVALID_ACCESS_ERR","INVALID_CHARACTER_ERR","INVALID_ENUM","INVALID_EXPRESSION_ERR","INVALID_FRAMEBUFFER_OPERATION","INVALID_INDEX","INVALID_MODIFICATION_ERR","INVALID_NODE_TYPE_ERR","INVALID_OPERATION","INVALID_STATE_ERR","INVALID_VALUE","INVERSE_DISTANCE","INVERT","IceCandidate","IdentityCredential","IdentityCredentialError","IdentityProvider","IdleDeadline","IdleDetector","Image","ImageBitmap","ImageBitmapRenderingContext","ImageCapture","ImageData","ImageDecoder","ImageTrack","ImageTrackList","Infinity","Ink","InputDeviceCapabilities","InputDeviceInfo","InputEvent","InputMethodContext","InstallTrigger","InstallTriggerImpl","Instance","Int16Array","Int32Array","Int8Array","Intent","InternalError","IntersectionObserver","IntersectionObserverEntry","Intl","IsSearchProviderInstalled","Iterator","JSON","JSTag","KEEP","KEYDOWN","KEYFRAMES_RULE","KEYFRAME_RULE","KEYPRESS","KEYUP","KeyEvent","Keyboard","KeyboardEvent","KeyboardLayoutMap","KeyframeEffect","LENGTHADJUST_SPACING","LENGTHADJUST_SPACINGANDGLYPHS","LENGTHADJUST_UNKNOWN","LEQUAL","LESS","LINEAR","LINEAR_DISTANCE","LINEAR_MIPMAP_LINEAR","LINEAR_MIPMAP_NEAREST","LINES","LINE_LOOP","LINE_STRIP","LINE_WIDTH","LINK_STATUS","LIVE","LN10","LN2","LOADED","LOADING","LOG10E","LOG2E","LOWPASS","LOWSHELF","LOW_FLOAT","LOW_INT","LSException","LSParserFilter","LUMINANCE","LUMINANCE_ALPHA","LargestContentfulPaint","LaunchParams","LaunchQueue","LayoutShift","LayoutShiftAttribution","LinearAccelerationSensor","LinkError","ListFormat","LocalMediaStream","Locale","Location","Lock","LockManager","MAP_READ","MAP_WRITE","MAX","MAX_3D_TEXTURE_SIZE","MAX_ARRAY_TEXTURE_LAYERS","MAX_CLIENT_WAIT_TIMEOUT_WEBGL","MAX_COLOR_ATTACHMENTS","MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS","MAX_COMBINED_TEXTURE_IMAGE_UNITS","MAX_COMBINED_UNIFORM_BLOCKS","MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS","MAX_CUBE_MAP_TEXTURE_SIZE","MAX_DRAW_BUFFERS","MAX_ELEMENTS_INDICES","MAX_ELEMENTS_VERTICES","MAX_ELEMENT_INDEX","MAX_FRAGMENT_INPUT_COMPONENTS","MAX_FRAGMENT_UNIFORM_BLOCKS","MAX_FRAGMENT_UNIFORM_COMPONENTS","MAX_FRAGMENT_UNIFORM_VECTORS","MAX_PROGRAM_TEXEL_OFFSET","MAX_RENDERBUFFER_SIZE","MAX_SAFE_INTEGER","MAX_SAMPLES","MAX_SERVER_WAIT_TIMEOUT","MAX_TEXTURE_IMAGE_UNITS","MAX_TEXTURE_LOD_BIAS","MAX_TEXTURE_MAX_ANISOTROPY_EXT","MAX_TEXTURE_SIZE","MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS","MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS","MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS","MAX_UNIFORM_BLOCK_SIZE","MAX_UNIFORM_BUFFER_BINDINGS","MAX_VALUE","MAX_VARYING_COMPONENTS","MAX_VARYING_VECTORS","MAX_VERTEX_ATTRIBS","MAX_VERTEX_OUTPUT_COMPONENTS","MAX_VERTEX_TEXTURE_IMAGE_UNITS","MAX_VERTEX_UNIFORM_BLOCKS","MAX_VERTEX_UNIFORM_COMPONENTS","MAX_VERTEX_UNIFORM_VECTORS","MAX_VIEWPORT_DIMS","MEDIA_ERR_ABORTED","MEDIA_ERR_DECODE","MEDIA_ERR_ENCRYPTED","MEDIA_ERR_NETWORK","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_KEYERR_CLIENT","MEDIA_KEYERR_DOMAIN","MEDIA_KEYERR_HARDWARECHANGE","MEDIA_KEYERR_OUTPUT","MEDIA_KEYERR_SERVICE","MEDIA_KEYERR_UNKNOWN","MEDIA_RULE","MEDIUM_FLOAT","MEDIUM_INT","META_MASK","MIDIAccess","MIDIConnectionEvent","MIDIInput","MIDIInputMap","MIDIMessageEvent","MIDIOutput","MIDIOutputMap","MIDIPort","MIN","MIN_PROGRAM_TEXEL_OFFSET","MIN_SAFE_INTEGER","MIN_VALUE","MIRRORED_REPEAT","MODE_ASYNCHRONOUS","MODE_SYNCHRONOUS","MODIFICATION","MOUSEDOWN","MOUSEDRAG","MOUSEMOVE","MOUSEOUT","MOUSEOVER","MOUSEUP","MOZ_KEYFRAMES_RULE","MOZ_KEYFRAME_RULE","MOZ_SOURCE_CURSOR","MOZ_SOURCE_ERASER","MOZ_SOURCE_KEYBOARD","MOZ_SOURCE_MOUSE","MOZ_SOURCE_PEN","MOZ_SOURCE_TOUCH","MOZ_SOURCE_UNKNOWN","MSGESTURE_FLAG_BEGIN","MSGESTURE_FLAG_CANCEL","MSGESTURE_FLAG_END","MSGESTURE_FLAG_INERTIA","MSGESTURE_FLAG_NONE","MSPOINTER_TYPE_MOUSE","MSPOINTER_TYPE_PEN","MSPOINTER_TYPE_TOUCH","MS_ASYNC_CALLBACK_STATUS_ASSIGN_DELEGATE","MS_ASYNC_CALLBACK_STATUS_CANCEL","MS_ASYNC_CALLBACK_STATUS_CHOOSEANY","MS_ASYNC_CALLBACK_STATUS_ERROR","MS_ASYNC_CALLBACK_STATUS_JOIN","MS_ASYNC_OP_STATUS_CANCELED","MS_ASYNC_OP_STATUS_ERROR","MS_ASYNC_OP_STATUS_SUCCESS","MS_MANIPULATION_STATE_ACTIVE","MS_MANIPULATION_STATE_CANCELLED","MS_MANIPULATION_STATE_COMMITTED","MS_MANIPULATION_STATE_DRAGGING","MS_MANIPULATION_STATE_INERTIA","MS_MANIPULATION_STATE_PRESELECT","MS_MANIPULATION_STATE_SELECTING","MS_MANIPULATION_STATE_STOPPED","MS_MEDIA_ERR_ENCRYPTED","MS_MEDIA_KEYERR_CLIENT","MS_MEDIA_KEYERR_DOMAIN","MS_MEDIA_KEYERR_HARDWARECHANGE","MS_MEDIA_KEYERR_OUTPUT","MS_MEDIA_KEYERR_SERVICE","MS_MEDIA_KEYERR_UNKNOWN","Map","Math","MathMLElement","MediaCapabilities","MediaCapabilitiesInfo","MediaController","MediaDeviceInfo","MediaDevices","MediaElementAudioSourceNode","MediaEncryptedEvent","MediaError","MediaKeyError","MediaKeyEvent","MediaKeyMessageEvent","MediaKeyNeededEvent","MediaKeySession","MediaKeyStatusMap","MediaKeySystemAccess","MediaKeys","MediaList","MediaMetadata","MediaQueryList","MediaQueryListEvent","MediaRecorder","MediaRecorderErrorEvent","MediaSession","MediaSettingsRange","MediaSource","MediaSourceHandle","MediaStream","MediaStreamAudioDestinationNode","MediaStreamAudioSourceNode","MediaStreamEvent","MediaStreamTrack","MediaStreamTrackAudioSourceNode","MediaStreamTrackEvent","MediaStreamTrackGenerator","MediaStreamTrackProcessor","MediaStreamTrackVideoStats","Memory","MessageChannel","MessageEvent","MessagePort","Methods","MimeType","MimeTypeArray","Module","MouseEvent","MouseScrollEvent","MozAnimation","MozAnimationDelay","MozAnimationDirection","MozAnimationDuration","MozAnimationFillMode","MozAnimationIterationCount","MozAnimationName","MozAnimationPlayState","MozAnimationTimingFunction","MozAppearance","MozBackfaceVisibility","MozBinding","MozBorderBottomColors","MozBorderEnd","MozBorderEndColor","MozBorderEndStyle","MozBorderEndWidth","MozBorderImage","MozBorderLeftColors","MozBorderRightColors","MozBorderStart","MozBorderStartColor","MozBorderStartStyle","MozBorderStartWidth","MozBorderTopColors","MozBoxAlign","MozBoxDirection","MozBoxFlex","MozBoxOrdinalGroup","MozBoxOrient","MozBoxPack","MozBoxSizing","MozCSSKeyframeRule","MozCSSKeyframesRule","MozColumnCount","MozColumnFill","MozColumnGap","MozColumnRule","MozColumnRuleColor","MozColumnRuleStyle","MozColumnRuleWidth","MozColumnWidth","MozColumns","MozContactChangeEvent","MozFloatEdge","MozFontFeatureSettings","MozFontLanguageOverride","MozForceBrokenImageIcon","MozHyphens","MozImageRegion","MozMarginEnd","MozMarginStart","MozMmsEvent","MozMmsMessage","MozMobileMessageThread","MozOSXFontSmoothing","MozOrient","MozOsxFontSmoothing","MozOutlineRadius","MozOutlineRadiusBottomleft","MozOutlineRadiusBottomright","MozOutlineRadiusTopleft","MozOutlineRadiusTopright","MozPaddingEnd","MozPaddingStart","MozPerspective","MozPerspectiveOrigin","MozPowerManager","MozSettingsEvent","MozSmsEvent","MozSmsMessage","MozStackSizing","MozTabSize","MozTextAlignLast","MozTextDecorationColor","MozTextDecorationLine","MozTextDecorationStyle","MozTextSizeAdjust","MozTransform","MozTransformOrigin","MozTransformStyle","MozTransition","MozTransitionDelay","MozTransitionDuration","MozTransitionProperty","MozTransitionTimingFunction","MozUserFocus","MozUserInput","MozUserModify","MozUserSelect","MozWindowDragging","MozWindowShadow","MutationEvent","MutationObserver","MutationRecord","NAMESPACE_ERR","NAMESPACE_RULE","NEAREST","NEAREST_MIPMAP_LINEAR","NEAREST_MIPMAP_NEAREST","NEGATIVE_INFINITY","NETWORK_EMPTY","NETWORK_ERR","NETWORK_IDLE","NETWORK_LOADED","NETWORK_LOADING","NETWORK_NO_SOURCE","NEVER","NEW","NEXT","NEXT_NO_DUPLICATE","NICEST","NODE_AFTER","NODE_BEFORE","NODE_BEFORE_AND_AFTER","NODE_INSIDE","NONE","NON_TRANSIENT_ERR","NOTATION_NODE","NOTCH","NOTEQUAL","NOT_ALLOWED_ERR","NOT_FOUND_ERR","NOT_READABLE_ERR","NOT_SUPPORTED_ERR","NO_DATA_ALLOWED_ERR","NO_ERR","NO_ERROR","NO_MODIFICATION_ALLOWED_ERR","NUMBER_TYPE","NUM_COMPRESSED_TEXTURE_FORMATS","NaN","NamedNodeMap","NavigateEvent","Navigation","NavigationActivation","NavigationCurrentEntryChangeEvent","NavigationDestination","NavigationHistoryEntry","NavigationPreloadManager","NavigationTransition","Navigator","NavigatorLogin","NavigatorManagedData","NavigatorUAData","NearbyLinks","NetworkInformation","Node","NodeFilter","NodeIterator","NodeList","NotRestoredReasonDetails","NotRestoredReasons","Notation","Notification","NotifyPaintEvent","Number","NumberFormat","OBJECT_TYPE","OBSOLETE","OK","ONE","ONE_MINUS_CONSTANT_ALPHA","ONE_MINUS_CONSTANT_COLOR","ONE_MINUS_DST_ALPHA","ONE_MINUS_DST_COLOR","ONE_MINUS_SRC_ALPHA","ONE_MINUS_SRC_COLOR","OPEN","OPENED","OPENING","ORDERED_NODE_ITERATOR_TYPE","ORDERED_NODE_SNAPSHOT_TYPE","OTHER_ERROR","OTPCredential","OUT_OF_MEMORY","Object","OfflineAudioCompletionEvent","OfflineAudioContext","OfflineResourceList","OffscreenCanvas","OffscreenCanvasRenderingContext2D","Option","OrientationSensor","OscillatorNode","OverconstrainedError","OverflowEvent","PACK_ALIGNMENT","PACK_ROW_LENGTH","PACK_SKIP_PIXELS","PACK_SKIP_ROWS","PAGE_RULE","PARSE_ERR","PATHSEG_ARC_ABS","PATHSEG_ARC_REL","PATHSEG_CLOSEPATH","PATHSEG_CURVETO_CUBIC_ABS","PATHSEG_CURVETO_CUBIC_REL","PATHSEG_CURVETO_CUBIC_SMOOTH_ABS","PATHSEG_CURVETO_CUBIC_SMOOTH_REL","PATHSEG_CURVETO_QUADRATIC_ABS","PATHSEG_CURVETO_QUADRATIC_REL","PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS","PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL","PATHSEG_LINETO_ABS","PATHSEG_LINETO_HORIZONTAL_ABS","PATHSEG_LINETO_HORIZONTAL_REL","PATHSEG_LINETO_REL","PATHSEG_LINETO_VERTICAL_ABS","PATHSEG_LINETO_VERTICAL_REL","PATHSEG_MOVETO_ABS","PATHSEG_MOVETO_REL","PATHSEG_UNKNOWN","PATH_EXISTS_ERR","PEAKING","PERMISSION_DENIED","PERSISTENT","PI","PIXEL_PACK_BUFFER","PIXEL_PACK_BUFFER_BINDING","PIXEL_UNPACK_BUFFER","PIXEL_UNPACK_BUFFER_BINDING","PLAYING_STATE","POINTS","POLYGON_OFFSET_FACTOR","POLYGON_OFFSET_FILL","POLYGON_OFFSET_UNITS","POSITION_UNAVAILABLE","POSITIVE_INFINITY","PREV","PREV_NO_DUPLICATE","PROCESSING_INSTRUCTION_NODE","PageChangeEvent","PageRevealEvent","PageSwapEvent","PageTransitionEvent","PaintRequest","PaintRequestList","PannerNode","PasswordCredential","Path2D","PaymentAddress","PaymentInstruments","PaymentManager","PaymentMethodChangeEvent","PaymentRequest","PaymentRequestUpdateEvent","PaymentResponse","Performance","PerformanceElementTiming","PerformanceEntry","PerformanceEventTiming","PerformanceLongAnimationFrameTiming","PerformanceLongTaskTiming","PerformanceMark","PerformanceMeasure","PerformanceNavigation","PerformanceNavigationTiming","PerformanceObserver","PerformanceObserverEntryList","PerformancePaintTiming","PerformanceResourceTiming","PerformanceScriptTiming","PerformanceServerTiming","PerformanceTiming","PeriodicSyncManager","PeriodicWave","PermissionStatus","Permissions","PhotoCapabilities","PictureInPictureEvent","PictureInPictureWindow","Plugin","PluginArray","PluralRules","PointerEvent","PopStateEvent","PopupBlockedEvent","Presentation","PresentationAvailability","PresentationConnection","PresentationConnectionAvailableEvent","PresentationConnectionCloseEvent","PresentationConnectionList","PresentationReceiver","PresentationRequest","ProcessingInstruction","Profiler","ProgressEvent","Promise","PromiseRejectionEvent","PropertyNodeList","Proxy","PublicKeyCredential","PushManager","PushSubscription","PushSubscriptionOptions","Q","QUERY_RESOLVE","QUERY_RESULT","QUERY_RESULT_AVAILABLE","QUOTA_ERR","QUOTA_EXCEEDED_ERR","QueryInterface","R11F_G11F_B10F","R16F","R16I","R16UI","R32F","R32I","R32UI","R8","R8I","R8UI","R8_SNORM","RASTERIZER_DISCARD","READ","READ_BUFFER","READ_FRAMEBUFFER","READ_FRAMEBUFFER_BINDING","READ_ONLY","READ_ONLY_ERR","READ_WRITE","RED","RED_BITS","RED_INTEGER","REMOVAL","RENDERBUFFER","RENDERBUFFER_ALPHA_SIZE","RENDERBUFFER_BINDING","RENDERBUFFER_BLUE_SIZE","RENDERBUFFER_DEPTH_SIZE","RENDERBUFFER_GREEN_SIZE","RENDERBUFFER_HEIGHT","RENDERBUFFER_INTERNAL_FORMAT","RENDERBUFFER_RED_SIZE","RENDERBUFFER_SAMPLES","RENDERBUFFER_STENCIL_SIZE","RENDERBUFFER_WIDTH","RENDERER","RENDERING_INTENT_ABSOLUTE_COLORIMETRIC","RENDERING_INTENT_AUTO","RENDERING_INTENT_PERCEPTUAL","RENDERING_INTENT_RELATIVE_COLORIMETRIC","RENDERING_INTENT_SATURATION","RENDERING_INTENT_UNKNOWN","RENDER_ATTACHMENT","REPEAT","REPLACE","RG","RG16F","RG16I","RG16UI","RG32F","RG32I","RG32UI","RG8","RG8I","RG8UI","RG8_SNORM","RGB","RGB10_A2","RGB10_A2UI","RGB16F","RGB16I","RGB16UI","RGB32F","RGB32I","RGB32UI","RGB565","RGB5_A1","RGB8","RGB8I","RGB8UI","RGB8_SNORM","RGB9_E5","RGBA","RGBA16F","RGBA16I","RGBA16UI","RGBA32F","RGBA32I","RGBA32UI","RGBA4","RGBA8","RGBA8I","RGBA8UI","RGBA8_SNORM","RGBA_INTEGER","RGBColor","RGB_INTEGER","RG_INTEGER","ROTATION_CLOCKWISE","ROTATION_COUNTERCLOCKWISE","RTCCertificate","RTCDTMFSender","RTCDTMFToneChangeEvent","RTCDataChannel","RTCDataChannelEvent","RTCDtlsTransport","RTCEncodedAudioFrame","RTCEncodedVideoFrame","RTCError","RTCErrorEvent","RTCIceCandidate","RTCIceTransport","RTCPeerConnection","RTCPeerConnectionIceErrorEvent","RTCPeerConnectionIceEvent","RTCRtpReceiver","RTCRtpScriptTransform","RTCRtpSender","RTCRtpTransceiver","RTCSctpTransport","RTCSessionDescription","RTCStatsReport","RTCTrackEvent","RadioNodeList","Range","RangeError","RangeException","ReadableByteStreamController","ReadableStream","ReadableStreamBYOBReader","ReadableStreamBYOBRequest","ReadableStreamDefaultController","ReadableStreamDefaultReader","RecordErrorEvent","Rect","ReferenceError","Reflect","RegExp","RelativeOrientationSensor","RelativeTimeFormat","RemotePlayback","Report","ReportBody","ReportingObserver","Request","ResizeObserver","ResizeObserverEntry","ResizeObserverSize","Response","RuntimeError","SAMPLER_2D","SAMPLER_2D_ARRAY","SAMPLER_2D_ARRAY_SHADOW","SAMPLER_2D_SHADOW","SAMPLER_3D","SAMPLER_BINDING","SAMPLER_CUBE","SAMPLER_CUBE_SHADOW","SAMPLES","SAMPLE_ALPHA_TO_COVERAGE","SAMPLE_BUFFERS","SAMPLE_COVERAGE","SAMPLE_COVERAGE_INVERT","SAMPLE_COVERAGE_VALUE","SAWTOOTH","SCHEDULED_STATE","SCISSOR_BOX","SCISSOR_TEST","SCROLL_PAGE_DOWN","SCROLL_PAGE_UP","SDP_ANSWER","SDP_OFFER","SDP_PRANSWER","SECURITY_ERR","SELECT","SEPARATE_ATTRIBS","SERIALIZE_ERR","SEVERITY_ERROR","SEVERITY_FATAL_ERROR","SEVERITY_WARNING","SHADER_COMPILER","SHADER_TYPE","SHADING_LANGUAGE_VERSION","SHIFT_MASK","SHORT","SHOWING","SHOW_ALL","SHOW_ATTRIBUTE","SHOW_CDATA_SECTION","SHOW_COMMENT","SHOW_DOCUMENT","SHOW_DOCUMENT_FRAGMENT","SHOW_DOCUMENT_TYPE","SHOW_ELEMENT","SHOW_ENTITY","SHOW_ENTITY_REFERENCE","SHOW_NOTATION","SHOW_PROCESSING_INSTRUCTION","SHOW_TEXT","SIGNALED","SIGNED_NORMALIZED","SINE","SOUNDFIELD","SQLException","SQRT1_2","SQRT2","SQUARE","SRC_ALPHA","SRC_ALPHA_SATURATE","SRC_COLOR","SRGB","SRGB8","SRGB8_ALPHA8","START_TO_END","START_TO_START","STATIC_COPY","STATIC_DRAW","STATIC_READ","STENCIL","STENCIL_ATTACHMENT","STENCIL_BACK_FAIL","STENCIL_BACK_FUNC","STENCIL_BACK_PASS_DEPTH_FAIL","STENCIL_BACK_PASS_DEPTH_PASS","STENCIL_BACK_REF","STENCIL_BACK_VALUE_MASK","STENCIL_BACK_WRITEMASK","STENCIL_BITS","STENCIL_BUFFER_BIT","STENCIL_CLEAR_VALUE","STENCIL_FAIL","STENCIL_FUNC","STENCIL_INDEX","STENCIL_INDEX8","STENCIL_PASS_DEPTH_FAIL","STENCIL_PASS_DEPTH_PASS","STENCIL_REF","STENCIL_TEST","STENCIL_VALUE_MASK","STENCIL_WRITEMASK","STORAGE","STORAGE_BINDING","STREAM_COPY","STREAM_DRAW","STREAM_READ","STRING_TYPE","STYLE_RULE","SUBPIXEL_BITS","SUPPORTS_RULE","SVGAElement","SVGAltGlyphDefElement","SVGAltGlyphElement","SVGAltGlyphItemElement","SVGAngle","SVGAnimateColorElement","SVGAnimateElement","SVGAnimateMotionElement","SVGAnimateTransformElement","SVGAnimatedAngle","SVGAnimatedBoolean","SVGAnimatedEnumeration","SVGAnimatedInteger","SVGAnimatedLength","SVGAnimatedLengthList","SVGAnimatedNumber","SVGAnimatedNumberList","SVGAnimatedPreserveAspectRatio","SVGAnimatedRect","SVGAnimatedString","SVGAnimatedTransformList","SVGAnimationElement","SVGCircleElement","SVGClipPathElement","SVGColor","SVGComponentTransferFunctionElement","SVGCursorElement","SVGDefsElement","SVGDescElement","SVGDiscardElement","SVGDocument","SVGElement","SVGElementInstance","SVGElementInstanceList","SVGEllipseElement","SVGException","SVGFEBlendElement","SVGFEColorMatrixElement","SVGFEComponentTransferElement","SVGFECompositeElement","SVGFEConvolveMatrixElement","SVGFEDiffuseLightingElement","SVGFEDisplacementMapElement","SVGFEDistantLightElement","SVGFEDropShadowElement","SVGFEFloodElement","SVGFEFuncAElement","SVGFEFuncBElement","SVGFEFuncGElement","SVGFEFuncRElement","SVGFEGaussianBlurElement","SVGFEImageElement","SVGFEMergeElement","SVGFEMergeNodeElement","SVGFEMorphologyElement","SVGFEOffsetElement","SVGFEPointLightElement","SVGFESpecularLightingElement","SVGFESpotLightElement","SVGFETileElement","SVGFETurbulenceElement","SVGFilterElement","SVGFontElement","SVGFontFaceElement","SVGFontFaceFormatElement","SVGFontFaceNameElement","SVGFontFaceSrcElement","SVGFontFaceUriElement","SVGForeignObjectElement","SVGGElement","SVGGeometryElement","SVGGlyphElement","SVGGlyphRefElement","SVGGradientElement","SVGGraphicsElement","SVGHKernElement","SVGImageElement","SVGLength","SVGLengthList","SVGLineElement","SVGLinearGradientElement","SVGMPathElement","SVGMarkerElement","SVGMaskElement","SVGMatrix","SVGMetadataElement","SVGMissingGlyphElement","SVGNumber","SVGNumberList","SVGPaint","SVGPathElement","SVGPathSeg","SVGPathSegArcAbs","SVGPathSegArcRel","SVGPathSegClosePath","SVGPathSegCurvetoCubicAbs","SVGPathSegCurvetoCubicRel","SVGPathSegCurvetoCubicSmoothAbs","SVGPathSegCurvetoCubicSmoothRel","SVGPathSegCurvetoQuadraticAbs","SVGPathSegCurvetoQuadraticRel","SVGPathSegCurvetoQuadraticSmoothAbs","SVGPathSegCurvetoQuadraticSmoothRel","SVGPathSegLinetoAbs","SVGPathSegLinetoHorizontalAbs","SVGPathSegLinetoHorizontalRel","SVGPathSegLinetoRel","SVGPathSegLinetoVerticalAbs","SVGPathSegLinetoVerticalRel","SVGPathSegList","SVGPathSegMovetoAbs","SVGPathSegMovetoRel","SVGPatternElement","SVGPoint","SVGPointList","SVGPolygonElement","SVGPolylineElement","SVGPreserveAspectRatio","SVGRadialGradientElement","SVGRect","SVGRectElement","SVGRenderingIntent","SVGSVGElement","SVGScriptElement","SVGSetElement","SVGStopElement","SVGStringList","SVGStyleElement","SVGSwitchElement","SVGSymbolElement","SVGTRefElement","SVGTSpanElement","SVGTextContentElement","SVGTextElement","SVGTextPathElement","SVGTextPositioningElement","SVGTitleElement","SVGTransform","SVGTransformList","SVGUnitTypes","SVGUseElement","SVGVKernElement","SVGViewElement","SVGViewSpec","SVGZoomAndPan","SVGZoomEvent","SVG_ANGLETYPE_DEG","SVG_ANGLETYPE_GRAD","SVG_ANGLETYPE_RAD","SVG_ANGLETYPE_UNKNOWN","SVG_ANGLETYPE_UNSPECIFIED","SVG_CHANNEL_A","SVG_CHANNEL_B","SVG_CHANNEL_G","SVG_CHANNEL_R","SVG_CHANNEL_UNKNOWN","SVG_COLORTYPE_CURRENTCOLOR","SVG_COLORTYPE_RGBCOLOR","SVG_COLORTYPE_RGBCOLOR_ICCCOLOR","SVG_COLORTYPE_UNKNOWN","SVG_EDGEMODE_DUPLICATE","SVG_EDGEMODE_NONE","SVG_EDGEMODE_UNKNOWN","SVG_EDGEMODE_WRAP","SVG_FEBLEND_MODE_COLOR","SVG_FEBLEND_MODE_COLOR_BURN","SVG_FEBLEND_MODE_COLOR_DODGE","SVG_FEBLEND_MODE_DARKEN","SVG_FEBLEND_MODE_DIFFERENCE","SVG_FEBLEND_MODE_EXCLUSION","SVG_FEBLEND_MODE_HARD_LIGHT","SVG_FEBLEND_MODE_HUE","SVG_FEBLEND_MODE_LIGHTEN","SVG_FEBLEND_MODE_LUMINOSITY","SVG_FEBLEND_MODE_MULTIPLY","SVG_FEBLEND_MODE_NORMAL","SVG_FEBLEND_MODE_OVERLAY","SVG_FEBLEND_MODE_SATURATION","SVG_FEBLEND_MODE_SCREEN","SVG_FEBLEND_MODE_SOFT_LIGHT","SVG_FEBLEND_MODE_UNKNOWN","SVG_FECOLORMATRIX_TYPE_HUEROTATE","SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA","SVG_FECOLORMATRIX_TYPE_MATRIX","SVG_FECOLORMATRIX_TYPE_SATURATE","SVG_FECOLORMATRIX_TYPE_UNKNOWN","SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE","SVG_FECOMPONENTTRANSFER_TYPE_GAMMA","SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY","SVG_FECOMPONENTTRANSFER_TYPE_LINEAR","SVG_FECOMPONENTTRANSFER_TYPE_TABLE","SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN","SVG_FECOMPOSITE_OPERATOR_ARITHMETIC","SVG_FECOMPOSITE_OPERATOR_ATOP","SVG_FECOMPOSITE_OPERATOR_IN","SVG_FECOMPOSITE_OPERATOR_LIGHTER","SVG_FECOMPOSITE_OPERATOR_OUT","SVG_FECOMPOSITE_OPERATOR_OVER","SVG_FECOMPOSITE_OPERATOR_UNKNOWN","SVG_FECOMPOSITE_OPERATOR_XOR","SVG_INVALID_VALUE_ERR","SVG_LENGTHTYPE_CM","SVG_LENGTHTYPE_EMS","SVG_LENGTHTYPE_EXS","SVG_LENGTHTYPE_IN","SVG_LENGTHTYPE_MM","SVG_LENGTHTYPE_NUMBER","SVG_LENGTHTYPE_PC","SVG_LENGTHTYPE_PERCENTAGE","SVG_LENGTHTYPE_PT","SVG_LENGTHTYPE_PX","SVG_LENGTHTYPE_UNKNOWN","SVG_MARKERUNITS_STROKEWIDTH","SVG_MARKERUNITS_UNKNOWN","SVG_MARKERUNITS_USERSPACEONUSE","SVG_MARKER_ORIENT_ANGLE","SVG_MARKER_ORIENT_AUTO","SVG_MARKER_ORIENT_AUTO_START_REVERSE","SVG_MARKER_ORIENT_UNKNOWN","SVG_MASKTYPE_ALPHA","SVG_MASKTYPE_LUMINANCE","SVG_MATRIX_NOT_INVERTABLE","SVG_MEETORSLICE_MEET","SVG_MEETORSLICE_SLICE","SVG_MEETORSLICE_UNKNOWN","SVG_MORPHOLOGY_OPERATOR_DILATE","SVG_MORPHOLOGY_OPERATOR_ERODE","SVG_MORPHOLOGY_OPERATOR_UNKNOWN","SVG_PAINTTYPE_CURRENTCOLOR","SVG_PAINTTYPE_NONE","SVG_PAINTTYPE_RGBCOLOR","SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR","SVG_PAINTTYPE_UNKNOWN","SVG_PAINTTYPE_URI","SVG_PAINTTYPE_URI_CURRENTCOLOR","SVG_PAINTTYPE_URI_NONE","SVG_PAINTTYPE_URI_RGBCOLOR","SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR","SVG_PRESERVEASPECTRATIO_NONE","SVG_PRESERVEASPECTRATIO_UNKNOWN","SVG_PRESERVEASPECTRATIO_XMAXYMAX","SVG_PRESERVEASPECTRATIO_XMAXYMID","SVG_PRESERVEASPECTRATIO_XMAXYMIN","SVG_PRESERVEASPECTRATIO_XMIDYMAX","SVG_PRESERVEASPECTRATIO_XMIDYMID","SVG_PRESERVEASPECTRATIO_XMIDYMIN","SVG_PRESERVEASPECTRATIO_XMINYMAX","SVG_PRESERVEASPECTRATIO_XMINYMID","SVG_PRESERVEASPECTRATIO_XMINYMIN","SVG_SPREADMETHOD_PAD","SVG_SPREADMETHOD_REFLECT","SVG_SPREADMETHOD_REPEAT","SVG_SPREADMETHOD_UNKNOWN","SVG_STITCHTYPE_NOSTITCH","SVG_STITCHTYPE_STITCH","SVG_STITCHTYPE_UNKNOWN","SVG_TRANSFORM_MATRIX","SVG_TRANSFORM_ROTATE","SVG_TRANSFORM_SCALE","SVG_TRANSFORM_SKEWX","SVG_TRANSFORM_SKEWY","SVG_TRANSFORM_TRANSLATE","SVG_TRANSFORM_UNKNOWN","SVG_TURBULENCE_TYPE_FRACTALNOISE","SVG_TURBULENCE_TYPE_TURBULENCE","SVG_TURBULENCE_TYPE_UNKNOWN","SVG_UNIT_TYPE_OBJECTBOUNDINGBOX","SVG_UNIT_TYPE_UNKNOWN","SVG_UNIT_TYPE_USERSPACEONUSE","SVG_WRONG_TYPE_ERR","SVG_ZOOMANDPAN_DISABLE","SVG_ZOOMANDPAN_MAGNIFY","SVG_ZOOMANDPAN_UNKNOWN","SYNC_CONDITION","SYNC_FENCE","SYNC_FLAGS","SYNC_FLUSH_COMMANDS_BIT","SYNC_GPU_COMMANDS_COMPLETE","SYNC_STATUS","SYNTAX_ERR","SavedPages","Scheduler","Scheduling","Screen","ScreenDetailed","ScreenDetails","ScreenOrientation","Script","ScriptProcessorNode","ScrollAreaEvent","ScrollTimeline","SecurityPolicyViolationEvent","Segmenter","Selection","Sensor","SensorErrorEvent","Serial","SerialPort","ServiceWorker","ServiceWorkerContainer","ServiceWorkerRegistration","SessionDescription","Set","ShadowRoot","SharedArrayBuffer","SharedStorage","SharedStorageWorklet","SharedWorker","SimpleGestureEvent","SourceBuffer","SourceBufferList","SpeechSynthesis","SpeechSynthesisErrorEvent","SpeechSynthesisEvent","SpeechSynthesisUtterance","SpeechSynthesisVoice","StaticRange","StereoPannerNode","StopIteration","Storage","StorageBucket","StorageBucketManager","StorageEvent","StorageManager","String","StructType","StylePropertyMap","StylePropertyMapReadOnly","StyleSheet","StyleSheetList","SubmitEvent","SubtleCrypto","Symbol","SyncManager","SyntaxError","TEMPORARY","TEXTPATH_METHODTYPE_ALIGN","TEXTPATH_METHODTYPE_STRETCH","TEXTPATH_METHODTYPE_UNKNOWN","TEXTPATH_SPACINGTYPE_AUTO","TEXTPATH_SPACINGTYPE_EXACT","TEXTPATH_SPACINGTYPE_UNKNOWN","TEXTURE","TEXTURE0","TEXTURE1","TEXTURE10","TEXTURE11","TEXTURE12","TEXTURE13","TEXTURE14","TEXTURE15","TEXTURE16","TEXTURE17","TEXTURE18","TEXTURE19","TEXTURE2","TEXTURE20","TEXTURE21","TEXTURE22","TEXTURE23","TEXTURE24","TEXTURE25","TEXTURE26","TEXTURE27","TEXTURE28","TEXTURE29","TEXTURE3","TEXTURE30","TEXTURE31","TEXTURE4","TEXTURE5","TEXTURE6","TEXTURE7","TEXTURE8","TEXTURE9","TEXTURE_2D","TEXTURE_2D_ARRAY","TEXTURE_3D","TEXTURE_BASE_LEVEL","TEXTURE_BINDING","TEXTURE_BINDING_2D","TEXTURE_BINDING_2D_ARRAY","TEXTURE_BINDING_3D","TEXTURE_BINDING_CUBE_MAP","TEXTURE_COMPARE_FUNC","TEXTURE_COMPARE_MODE","TEXTURE_CUBE_MAP","TEXTURE_CUBE_MAP_NEGATIVE_X","TEXTURE_CUBE_MAP_NEGATIVE_Y","TEXTURE_CUBE_MAP_NEGATIVE_Z","TEXTURE_CUBE_MAP_POSITIVE_X","TEXTURE_CUBE_MAP_POSITIVE_Y","TEXTURE_CUBE_MAP_POSITIVE_Z","TEXTURE_IMMUTABLE_FORMAT","TEXTURE_IMMUTABLE_LEVELS","TEXTURE_MAG_FILTER","TEXTURE_MAX_ANISOTROPY_EXT","TEXTURE_MAX_LEVEL","TEXTURE_MAX_LOD","TEXTURE_MIN_FILTER","TEXTURE_MIN_LOD","TEXTURE_WRAP_R","TEXTURE_WRAP_S","TEXTURE_WRAP_T","TEXT_NODE","TIMEOUT","TIMEOUT_ERR","TIMEOUT_EXPIRED","TIMEOUT_IGNORED","TOO_LARGE_ERR","TRANSACTION_INACTIVE_ERR","TRANSFORM_FEEDBACK","TRANSFORM_FEEDBACK_ACTIVE","TRANSFORM_FEEDBACK_BINDING","TRANSFORM_FEEDBACK_BUFFER","TRANSFORM_FEEDBACK_BUFFER_BINDING","TRANSFORM_FEEDBACK_BUFFER_MODE","TRANSFORM_FEEDBACK_BUFFER_SIZE","TRANSFORM_FEEDBACK_BUFFER_START","TRANSFORM_FEEDBACK_PAUSED","TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN","TRANSFORM_FEEDBACK_VARYINGS","TRIANGLE","TRIANGLES","TRIANGLE_FAN","TRIANGLE_STRIP","TYPE_BACK_FORWARD","TYPE_ERR","TYPE_MISMATCH_ERR","TYPE_NAVIGATE","TYPE_RELOAD","TYPE_RESERVED","Table","Tag","TaskAttributionTiming","TaskController","TaskPriorityChangeEvent","TaskSignal","Text","TextDecoder","TextDecoderStream","TextEncoder","TextEncoderStream","TextEvent","TextFormat","TextFormatUpdateEvent","TextMetrics","TextTrack","TextTrackCue","TextTrackCueList","TextTrackList","TextUpdateEvent","TimeEvent","TimeRanges","ToggleEvent","Touch","TouchEvent","TouchList","TrackEvent","TransformStream","TransformStreamDefaultController","TransitionEvent","TreeWalker","TrustedHTML","TrustedScript","TrustedScriptURL","TrustedTypePolicy","TrustedTypePolicyFactory","TypeError","TypedObject","U2F","UIEvent","UNCACHED","UNIFORM","UNIFORM_ARRAY_STRIDE","UNIFORM_BLOCK_ACTIVE_UNIFORMS","UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES","UNIFORM_BLOCK_BINDING","UNIFORM_BLOCK_DATA_SIZE","UNIFORM_BLOCK_INDEX","UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER","UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER","UNIFORM_BUFFER","UNIFORM_BUFFER_BINDING","UNIFORM_BUFFER_OFFSET_ALIGNMENT","UNIFORM_BUFFER_SIZE","UNIFORM_BUFFER_START","UNIFORM_IS_ROW_MAJOR","UNIFORM_MATRIX_STRIDE","UNIFORM_OFFSET","UNIFORM_SIZE","UNIFORM_TYPE","UNKNOWN_ERR","UNKNOWN_RULE","UNMASKED_RENDERER_WEBGL","UNMASKED_VENDOR_WEBGL","UNORDERED_NODE_ITERATOR_TYPE","UNORDERED_NODE_SNAPSHOT_TYPE","UNPACK_ALIGNMENT","UNPACK_COLORSPACE_CONVERSION_WEBGL","UNPACK_FLIP_Y_WEBGL","UNPACK_IMAGE_HEIGHT","UNPACK_PREMULTIPLY_ALPHA_WEBGL","UNPACK_ROW_LENGTH","UNPACK_SKIP_IMAGES","UNPACK_SKIP_PIXELS","UNPACK_SKIP_ROWS","UNSCHEDULED_STATE","UNSENT","UNSIGNALED","UNSIGNED_BYTE","UNSIGNED_INT","UNSIGNED_INT_10F_11F_11F_REV","UNSIGNED_INT_24_8","UNSIGNED_INT_2_10_10_10_REV","UNSIGNED_INT_5_9_9_9_REV","UNSIGNED_INT_SAMPLER_2D","UNSIGNED_INT_SAMPLER_2D_ARRAY","UNSIGNED_INT_SAMPLER_3D","UNSIGNED_INT_SAMPLER_CUBE","UNSIGNED_INT_VEC2","UNSIGNED_INT_VEC3","UNSIGNED_INT_VEC4","UNSIGNED_NORMALIZED","UNSIGNED_SHORT","UNSIGNED_SHORT_4_4_4_4","UNSIGNED_SHORT_5_5_5_1","UNSIGNED_SHORT_5_6_5","UNSPECIFIED_EVENT_TYPE_ERR","UPDATEREADY","URIError","URL","URLPattern","URLSearchParams","URLUnencoded","URL_MISMATCH_ERR","USB","USBAlternateInterface","USBConfiguration","USBConnectionEvent","USBDevice","USBEndpoint","USBInTransferResult","USBInterface","USBIsochronousInTransferPacket","USBIsochronousInTransferResult","USBIsochronousOutTransferPacket","USBIsochronousOutTransferResult","USBOutTransferResult","UTC","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray","UserActivation","UserMessageHandler","UserMessageHandlersNamespace","UserProximityEvent","VALIDATE_STATUS","VALIDATION_ERR","VARIABLES_RULE","VENDOR","VERSION","VERSION_CHANGE","VERSION_ERR","VERTEX","VERTEX_ARRAY_BINDING","VERTEX_ATTRIB_ARRAY_BUFFER_BINDING","VERTEX_ATTRIB_ARRAY_DIVISOR","VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE","VERTEX_ATTRIB_ARRAY_ENABLED","VERTEX_ATTRIB_ARRAY_INTEGER","VERTEX_ATTRIB_ARRAY_NORMALIZED","VERTEX_ATTRIB_ARRAY_POINTER","VERTEX_ATTRIB_ARRAY_SIZE","VERTEX_ATTRIB_ARRAY_STRIDE","VERTEX_ATTRIB_ARRAY_TYPE","VERTEX_SHADER","VERTICAL","VERTICAL_AXIS","VER_ERR","VIEWPORT","VIEWPORT_RULE","VRDisplay","VRDisplayCapabilities","VRDisplayEvent","VREyeParameters","VRFieldOfView","VRFrameData","VRPose","VRStageParameters","VTTCue","VTTRegion","ValidityState","VideoColorSpace","VideoDecoder","VideoEncoder","VideoFrame","VideoPlaybackQuality","VideoStreamTrack","ViewTimeline","ViewTransition","VirtualKeyboard","VirtualKeyboardGeometryChangeEvent","VisibilityStateEntry","VisualViewport","WAIT_FAILED","WEBKIT_FILTER_RULE","WEBKIT_KEYFRAMES_RULE","WEBKIT_KEYFRAME_RULE","WEBKIT_REGION_RULE","WGSLLanguageFeatures","WRITE","WRONG_DOCUMENT_ERR","WakeLock","WakeLockSentinel","WasmAnyRef","WaveShaperNode","WeakMap","WeakRef","WeakSet","WebAssembly","WebGL2RenderingContext","WebGLActiveInfo","WebGLBuffer","WebGLContextEvent","WebGLFramebuffer","WebGLProgram","WebGLQuery","WebGLRenderbuffer","WebGLRenderingContext","WebGLSampler","WebGLShader","WebGLShaderPrecisionFormat","WebGLSync","WebGLTexture","WebGLTransformFeedback","WebGLUniformLocation","WebGLVertexArray","WebGLVertexArrayObject","WebKitAnimationEvent","WebKitBlobBuilder","WebKitCSSFilterRule","WebKitCSSFilterValue","WebKitCSSKeyframeRule","WebKitCSSKeyframesRule","WebKitCSSMatrix","WebKitCSSRegionRule","WebKitCSSTransformValue","WebKitDataCue","WebKitGamepad","WebKitMediaKeyError","WebKitMediaKeyMessageEvent","WebKitMediaKeySession","WebKitMediaKeys","WebKitMediaSource","WebKitMutationObserver","WebKitNamespace","WebKitPlaybackTargetAvailabilityEvent","WebKitPoint","WebKitShadowRoot","WebKitSourceBuffer","WebKitSourceBufferList","WebKitTransitionEvent","WebSocket","WebSocketError","WebSocketStream","WebTransport","WebTransportBidirectionalStream","WebTransportDatagramDuplexStream","WebTransportError","WebTransportReceiveStream","WebTransportSendStream","WebkitAlignContent","WebkitAlignItems","WebkitAlignSelf","WebkitAnimation","WebkitAnimationDelay","WebkitAnimationDirection","WebkitAnimationDuration","WebkitAnimationFillMode","WebkitAnimationIterationCount","WebkitAnimationName","WebkitAnimationPlayState","WebkitAnimationTimingFunction","WebkitAppearance","WebkitBackfaceVisibility","WebkitBackgroundClip","WebkitBackgroundOrigin","WebkitBackgroundSize","WebkitBorderBottomLeftRadius","WebkitBorderBottomRightRadius","WebkitBorderImage","WebkitBorderRadius","WebkitBorderTopLeftRadius","WebkitBorderTopRightRadius","WebkitBoxAlign","WebkitBoxDirection","WebkitBoxFlex","WebkitBoxOrdinalGroup","WebkitBoxOrient","WebkitBoxPack","WebkitBoxShadow","WebkitBoxSizing","WebkitClipPath","WebkitFilter","WebkitFlex","WebkitFlexBasis","WebkitFlexDirection","WebkitFlexFlow","WebkitFlexGrow","WebkitFlexShrink","WebkitFlexWrap","WebkitJustifyContent","WebkitLineClamp","WebkitMask","WebkitMaskClip","WebkitMaskComposite","WebkitMaskImage","WebkitMaskOrigin","WebkitMaskPosition","WebkitMaskPositionX","WebkitMaskPositionY","WebkitMaskRepeat","WebkitMaskSize","WebkitOrder","WebkitPerspective","WebkitPerspectiveOrigin","WebkitTextFillColor","WebkitTextSecurity","WebkitTextSizeAdjust","WebkitTextStroke","WebkitTextStrokeColor","WebkitTextStrokeWidth","WebkitTransform","WebkitTransformOrigin","WebkitTransformStyle","WebkitTransition","WebkitTransitionDelay","WebkitTransitionDuration","WebkitTransitionProperty","WebkitTransitionTimingFunction","WebkitUserSelect","WheelEvent","Window","WindowControlsOverlay","WindowControlsOverlayGeometryChangeEvent","Worker","Worklet","WritableStream","WritableStreamDefaultController","WritableStreamDefaultWriter","XMLDocument","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestException","XMLHttpRequestProgressEvent","XMLHttpRequestUpload","XMLSerializer","XMLStylesheetProcessingInstruction","XPathEvaluator","XPathException","XPathExpression","XPathNSResolver","XPathResult","XRAnchor","XRAnchorSet","XRBoundedReferenceSpace","XRCPUDepthInformation","XRCamera","XRDOMOverlayState","XRDepthInformation","XRFrame","XRHitTestResult","XRHitTestSource","XRInputSource","XRInputSourceArray","XRInputSourceEvent","XRInputSourcesChangeEvent","XRLayer","XRLightEstimate","XRLightProbe","XRPose","XRRay","XRReferenceSpace","XRReferenceSpaceEvent","XRRenderState","XRRigidTransform","XRSession","XRSessionEvent","XRSpace","XRSystem","XRTransientInputHitTestResult","XRTransientInputHitTestSource","XRView","XRViewerPose","XRViewport","XRWebGLBinding","XRWebGLDepthInformation","XRWebGLLayer","XSLTProcessor","ZERO","_XD0M_","_YD0M_","__REACT_DEVTOOLS_GLOBAL_HOOK__","__brand","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__","__opera","__proto__","_browserjsran","a","aLink","abbr","abort","aborted","abs","absolute","acceleration","accelerationIncludingGravity","accelerator","accent-color","accentColor","accept","acceptCharset","acceptNode","access","accessKey","accessKeyLabel","accuracy","acos","acosh","action","actionURL","actions","activated","activation","activationStart","active","activeCues","activeElement","activeSourceBuffers","activeSourceCount","activeTexture","activeVRDisplays","actualBoundingBoxAscent","actualBoundingBoxDescent","actualBoundingBoxLeft","actualBoundingBoxRight","adAuctionComponents","adAuctionHeaders","add","addAll","addBehavior","addCandidate","addColorStop","addCue","addElement","addEventListener","addFilter","addFromString","addFromUri","addIceCandidate","addImport","addListener","addModule","addNamed","addPageRule","addPath","addPointer","addRange","addRegion","addRule","addSearchEngine","addSourceBuffer","addStream","addTextTrack","addTrack","addTransceiver","addWakeLockListener","added","addedNodes","additionalName","additiveSymbols","addons","address","addressLine","addressModeU","addressModeV","addressModeW","adoptNode","adoptedCallback","adoptedStyleSheets","adr","advance","after","album","alert","algorithm","align","align-content","align-items","align-self","alignContent","alignItems","alignSelf","alignmentBaseline","alinkColor","all","allSettled","allocationSize","allow","allowFullscreen","allowPaymentRequest","allowedDirections","allowedFeatures","allowedToPlay","allowsFeature","alpha","alphaMode","alphaToCoverageEnabled","alphabeticBaseline","alt","altGraphKey","altHtml","altKey","altLeft","alternate","alternateSetting","alternates","altitude","altitudeAccuracy","altitudeAngle","amplitude","ancestorOrigins","anchor","anchorNode","anchorOffset","anchorSpace","anchors","and","angle","angularAcceleration","angularVelocity","animVal","animate","animated","animatedInstanceRoot","animatedNormalizedPathSegList","animatedPathSegList","animatedPoints","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","animationComposition","animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationStartTime","animationTimingFunction","animationsPaused","anniversary","antialias","anticipatedRemoval","any","app","appCodeName","appMinorVersion","appName","appNotifications","appVersion","appearance","append","appendBuffer","appendChild","appendData","appendItem","appendMedium","appendNamed","appendRule","appendStream","appendWindowEnd","appendWindowStart","applets","applicationCache","applicationServerKey","apply","applyConstraints","applyElement","arc","arcTo","architecture","archive","areas","arguments","ariaAtomic","ariaAutoComplete","ariaBrailleLabel","ariaBrailleRoleDescription","ariaBusy","ariaChecked","ariaColCount","ariaColIndex","ariaColIndexText","ariaColSpan","ariaCurrent","ariaDescription","ariaDisabled","ariaExpanded","ariaHasPopup","ariaHidden","ariaInvalid","ariaKeyShortcuts","ariaLabel","ariaLevel","ariaLive","ariaModal","ariaMultiLine","ariaMultiSelectable","ariaOrientation","ariaPlaceholder","ariaPosInSet","ariaPressed","ariaReadOnly","ariaRelevant","ariaRequired","ariaRoleDescription","ariaRowCount","ariaRowIndex","ariaRowIndexText","ariaRowSpan","ariaSelected","ariaSetSize","ariaSort","ariaValueMax","ariaValueMin","ariaValueNow","ariaValueText","arrayBuffer","arrayLayerCount","arrayStride","artist","artwork","as","asIntN","asUintN","ascentOverride","asin","asinh","aspect","aspect-ratio","aspectRatio","assert","assign","assignedElements","assignedNodes","assignedSlot","async","asyncIterator","at","atEnd","atan","atan2","atanh","atob","attachEvent","attachInternals","attachShader","attachShadow","attachedElements","attachments","attack","attestationObject","attrChange","attrName","attributeChangedCallback","attributeFilter","attributeName","attributeNamespace","attributeOldValue","attributeStyleMap","attributes","attribution","attributionSrc","audioBitrateMode","audioBitsPerSecond","audioTracks","audioWorklet","authenticatedSignedWrites","authenticatorAttachment","authenticatorData","autoIncrement","autobuffer","autocapitalize","autocomplete","autocorrect","autofocus","automationRate","autoplay","availHeight","availLeft","availTop","availWidth","availability","available","aversion","ax","axes","axis","ay","azimuth","azimuthAngle","b","back","backdrop-filter","backdropFilter","backends","backface-visibility","backfaceVisibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","backgroundAttachment","backgroundBlendMode","backgroundClip","backgroundColor","backgroundFetch","backgroundImage","backgroundOrigin","backgroundPosition","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize","badInput","badge","balance","baseArrayLayer","baseFrequencyX","baseFrequencyY","baseLatency","baseLayer","baseMipLevel","baseNode","baseOffset","basePalette","baseURI","baseVal","baseline-source","baselineShift","baselineSource","battery","bday","before","beginComputePass","beginElement","beginElementAt","beginOcclusionQuery","beginPath","beginQuery","beginRenderPass","beginTransformFeedback","beginningOfPassWriteIndex","behavior","behaviorCookie","behaviorPart","behaviorUrns","beta","bezierCurveTo","bgColor","bgProperties","bias","big","bigint64","biguint64","binaryType","bind","bindAttribLocation","bindBuffer","bindBufferBase","bindBufferRange","bindFramebuffer","bindGroupLayouts","bindRenderbuffer","bindSampler","bindTexture","bindTransformFeedback","bindVertexArray","binding","bitness","blend","blendColor","blendEquation","blendEquationSeparate","blendFunc","blendFuncSeparate","blink","blitFramebuffer","blob","block-size","blockDirection","blockSize","blockedURI","blocking","blockingDuration","blue","bluetooth","blur","body","bodyUsed","bold","bookmarks","booleanValue","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","borderBlock","borderBlockColor","borderBlockEnd","borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth","borderBlockStart","borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth","borderBlockStyle","borderBlockWidth","borderBottom","borderBottomColor","borderBottomLeftRadius","borderBottomRightRadius","borderBottomStyle","borderBottomWidth","borderBoxSize","borderCollapse","borderColor","borderColorDark","borderColorLight","borderEndEndRadius","borderEndStartRadius","borderImage","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderInline","borderInlineColor","borderInlineEnd","borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth","borderInlineStart","borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth","borderInlineStyle","borderInlineWidth","borderLeft","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRadius","borderRight","borderRightColor","borderRightStyle","borderRightWidth","borderSpacing","borderStartEndRadius","borderStartStartRadius","borderStyle","borderTop","borderTopColor","borderTopLeftRadius","borderTopRightRadius","borderTopStyle","borderTopWidth","borderWidth","bottom","bottomMargin","bound","boundElements","boundingClientRect","boundingHeight","boundingLeft","boundingRect","boundingTop","boundingWidth","bounds","boundsGeometry","box-decoration-break","box-shadow","box-sizing","boxDecorationBreak","boxShadow","boxSizing","brand","brands","break-after","break-before","break-inside","breakAfter","breakBefore","breakInside","broadcast","browserLanguage","browsingTopics","btoa","bubbles","buffer","bufferData","bufferDepth","bufferSize","bufferSubData","buffered","bufferedAmount","bufferedAmountLowThreshold","buffers","buildID","buildNumber","button","buttonID","buttons","byobRequest","byteLength","byteOffset","bytesPerRow","bytesWritten","c","cache","caches","call","caller","camera","canBeFormatted","canBeMounted","canBeShared","canConstructInDedicatedWorker","canGoBack","canGoForward","canHaveChildren","canHaveHTML","canInsertDTMF","canIntercept","canLoadAdAuctionFencedFrame","canLoadOpaqueURL","canMakePayment","canParse","canPlayType","canPresent","canShare","canTransition","canTrickleIceCandidates","cancel","cancelAndHoldAtTime","cancelAnimationFrame","cancelBubble","cancelIdleCallback","cancelScheduledValues","cancelVideoFrameCallback","cancelWatchAvailability","cancelable","candidate","canonicalUUID","canvas","cap","capabilities","caption","caption-side","captionSide","capture","captureEvents","captureStackTrace","captureStream","caret-color","caretBidiLevel","caretColor","caretPositionFromPoint","caretRangeFromPoint","cast","catch","category","cbrt","cd","ceil","cellIndex","cellPadding","cellSpacing","cells","ch","chOff","chain","challenge","changeType","changed","changedTouches","channel","channelCount","channelCountMode","channelInterpretation","char","charAt","charCode","charCodeAt","charIndex","charLength","characterBounds","characterBoundsRangeStart","characterData","characterDataOldValue","characterSet","characteristic","charging","chargingTime","charset","check","checkDCE","checkEnclosure","checkFramebufferStatus","checkIntersection","checkValidity","checkVisibility","checked","childElementCount","childList","childNodes","children","chrome","ciphertext","cite","city","claimInterface","claimed","classList","className","classid","clear","clearAppBadge","clearAttributes","clearBuffer","clearBufferfi","clearBufferfv","clearBufferiv","clearBufferuiv","clearColor","clearData","clearDepth","clearHalt","clearImmediate","clearInterval","clearLiveSeekableRange","clearMarks","clearMaxGCPauseAccumulator","clearMeasures","clearOriginJoinedAdInterestGroups","clearParameters","clearRect","clearResourceTimings","clearShadow","clearStencil","clearTimeout","clearValue","clearWatch","click","clickCount","clientDataJSON","clientHeight","clientInformation","clientLeft","clientRect","clientRects","clientTop","clientWaitSync","clientWidth","clientX","clientY","clip","clip-path","clip-rule","clipBottom","clipLeft","clipPath","clipPathUnits","clipRight","clipRule","clipTop","clipboard","clipboardData","clonable","clone","cloneContents","cloneNode","cloneRange","close","closeCode","closePath","closed","closest","clz","clz32","cm","cmp","code","codeBase","codePointAt","codeType","codedHeight","codedRect","codedWidth","colSpan","collapse","collapseToEnd","collapseToStart","collapsed","collect","collections","colno","color","color-adjust","color-interpolation","color-interpolation-filters","color-scheme","colorAdjust","colorAttachments","colorDepth","colorFormats","colorInterpolation","colorInterpolationFilters","colorMask","colorScheme","colorSpace","colorType","cols","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columnCount","columnFill","columnGap","columnNumber","columnRule","columnRuleColor","columnRuleStyle","columnRuleWidth","columnSpan","columnWidth","columns","command","commit","commitPreferences","commitStyles","commonAncestorContainer","compact","compare","compareBoundaryPoints","compareDocumentPosition","compareEndPoints","compareExchange","compareNode","comparePoint","compatMode","compatible","compile","compileShader","compileStreaming","complete","completed","component","componentFromPoint","composed","composedPath","composite","compositionEndOffset","compositionStartOffset","compressedTexImage2D","compressedTexImage3D","compressedTexSubImage2D","compressedTexSubImage3D","compute","computedStyleMap","concat","conditionText","coneInnerAngle","coneOuterAngle","coneOuterGain","config","configurable","configuration","configurationName","configurationValue","configurations","configure","confirm","confirmComposition","confirmSiteSpecificTrackingException","confirmWebWideTrackingException","congestionControl","connect","connectEnd","connectShark","connectStart","connected","connectedCallback","connection","connectionList","connectionSpeed","connectionState","connections","console","consolidate","constants","constraint","constrictionActive","construct","constructor","contactID","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","containIntrinsicBlockSize","containIntrinsicHeight","containIntrinsicInlineSize","containIntrinsicSize","containIntrinsicWidth","container","container-name","container-type","containerId","containerName","containerQuery","containerSrc","containerType","contains","containsNode","content","content-visibility","contentBoxSize","contentDocument","contentEditable","contentHint","contentOverflow","contentRect","contentScriptType","contentStyleType","contentType","contentVisibility","contentWindow","context","contextMenu","contextmenu","continue","continuePrimaryKey","continuous","control","controlTransferIn","controlTransferOut","controller","controls","controlsList","convertPointFromNode","convertQuadFromNode","convertRectFromNode","convertToBlob","convertToSpecifiedUnits","cookie","cookieEnabled","cookieStore","cookies","coords","copyBufferSubData","copyBufferToBuffer","copyBufferToTexture","copyExternalImageToTexture","copyFromChannel","copyTexImage2D","copyTexSubImage2D","copyTexSubImage3D","copyTextureToBuffer","copyTextureToTexture","copyTo","copyToChannel","copyWithin","correspondingElement","correspondingUseElement","corruptedVideoFrames","cos","cosh","count","countReset","counter-increment","counter-reset","counter-set","counterIncrement","counterReset","counterSet","country","cpuClass","cpuSleepAllowed","cqb","cqh","cqi","cqmax","cqmin","cqw","create","createAnalyser","createAnchor","createAnswer","createAttribute","createAttributeNS","createAuctionNonce","createBidirectionalStream","createBindGroup","createBindGroupLayout","createBiquadFilter","createBuffer","createBufferSource","createCDATASection","createCSSStyleSheet","createCaption","createChannelMerger","createChannelSplitter","createCommandEncoder","createComment","createComputePipeline","createComputePipelineAsync","createConicGradient","createConstantSource","createContextualFragment","createControlRange","createConvolver","createDTMFSender","createDataChannel","createDelay","createDelayNode","createDocument","createDocumentFragment","createDocumentType","createDynamicsCompressor","createElement","createElementNS","createEncodedStreams","createEntityReference","createEvent","createEventObject","createExpression","createFramebuffer","createFunction","createGain","createGainNode","createHTML","createHTMLDocument","createIIRFilter","createImageBitmap","createImageData","createIndex","createJavaScriptNode","createLinearGradient","createMediaElementSource","createMediaKeys","createMediaStreamDestination","createMediaStreamSource","createMediaStreamTrackSource","createMutableFile","createNSResolver","createNodeIterator","createNotification","createObjectStore","createObjectURL","createOffer","createOscillator","createPanner","createPattern","createPeriodicWave","createPipelineLayout","createPolicy","createPopup","createProcessingInstruction","createProgram","createQuery","createQuerySet","createRadialGradient","createRange","createRangeCollection","createReader","createRenderBundleEncoder","createRenderPipeline","createRenderPipelineAsync","createRenderbuffer","createSVGAngle","createSVGLength","createSVGMatrix","createSVGNumber","createSVGPathSegArcAbs","createSVGPathSegArcRel","createSVGPathSegClosePath","createSVGPathSegCurvetoCubicAbs","createSVGPathSegCurvetoCubicRel","createSVGPathSegCurvetoCubicSmoothAbs","createSVGPathSegCurvetoCubicSmoothRel","createSVGPathSegCurvetoQuadraticAbs","createSVGPathSegCurvetoQuadraticRel","createSVGPathSegCurvetoQuadraticSmoothAbs","createSVGPathSegCurvetoQuadraticSmoothRel","createSVGPathSegLinetoAbs","createSVGPathSegLinetoHorizontalAbs","createSVGPathSegLinetoHorizontalRel","createSVGPathSegLinetoRel","createSVGPathSegLinetoVerticalAbs","createSVGPathSegLinetoVerticalRel","createSVGPathSegMovetoAbs","createSVGPathSegMovetoRel","createSVGPoint","createSVGRect","createSVGTransform","createSVGTransformFromMatrix","createSampler","createScript","createScriptProcessor","createScriptURL","createSession","createShader","createShaderModule","createShadowRoot","createStereoPanner","createStyleSheet","createTBody","createTFoot","createTHead","createTask","createTextNode","createTextRange","createTexture","createTouch","createTouchList","createTransformFeedback","createTreeWalker","createUnidirectionalStream","createVertexArray","createView","createWaveShaper","createWritable","creationTime","credentialless","credentials","criticalCHRestart","cropTo","crossOrigin","crossOriginIsolated","crypto","csi","csp","cssFloat","cssRules","cssText","cssValueType","ctrlKey","ctrlLeft","cues","cullFace","cullMode","currentDirection","currentEntry","currentLocalDescription","currentNode","currentPage","currentRect","currentRemoteDescription","currentScale","currentScreen","currentScript","currentSrc","currentState","currentStyle","currentTarget","currentTime","currentTranslate","currentView","cursor","curve","customElements","customError","cx","cy","d","data","dataFld","dataFormatAs","dataLoss","dataLossMessage","dataPageSize","dataSrc","dataTransfer","database","databases","datagrams","dataset","dateTime","db","debug","debuggerEnabled","declare","decode","decodeAudioData","decodeQueueSize","decodeURI","decodeURIComponent","decodedBodySize","decoding","decodingInfo","decrypt","default","defaultCharset","defaultChecked","defaultMuted","defaultPlaybackRate","defaultPolicy","defaultPrevented","defaultQueue","defaultRequest","defaultSelected","defaultStatus","defaultURL","defaultValue","defaultView","defaultstatus","defer","define","defineMagicFunction","defineMagicVariable","defineProperties","defineProperty","deg","delay","delayTime","delegatesFocus","delete","deleteBuffer","deleteCaption","deleteCell","deleteContents","deleteData","deleteDatabase","deleteFramebuffer","deleteFromDocument","deleteIndex","deleteMedium","deleteObjectStore","deleteProgram","deleteProperty","deleteQuery","deleteRenderbuffer","deleteRow","deleteRule","deleteSampler","deleteShader","deleteSync","deleteTFoot","deleteTHead","deleteTexture","deleteTransformFeedback","deleteVertexArray","deleted","deliverChangeRecords","deliveredFrames","delivery","deliveryInfo","deliveryStatus","deliveryTimestamp","deliveryType","delta","deltaMode","deltaX","deltaY","deltaZ","dependentLocality","deprecatedReplaceInURN","deprecatedRunAdAuctionEnforcesKAnonymity","deprecatedURNToURL","depthBias","depthBiasClamp","depthBiasSlopeScale","depthClearValue","depthCompare","depthDataFormat","depthFailOp","depthFar","depthFunc","depthLoadOp","depthMask","depthNear","depthOrArrayLayers","depthRange","depthReadOnly","depthStencil","depthStencilAttachment","depthStencilFormat","depthStoreOp","depthUsage","depthWriteEnabled","deref","deriveBits","deriveKey","descentOverride","description","deselectAll","designMode","desiredSize","destination","destinationURL","destroy","detach","detachEvent","detachShader","detached","detail","details","detect","detune","device","deviceClass","deviceId","deviceMemory","devicePixelContentBoxSize","devicePixelRatio","deviceProtocol","deviceSubclass","deviceVersionMajor","deviceVersionMinor","deviceVersionSubminor","deviceXDPI","deviceYDPI","didTimeout","difference","diffuseConstant","digest","dimension","dimensions","dir","dirName","direction","dirxml","disable","disablePictureInPicture","disableRemotePlayback","disableVertexAttribArray","disabled","discardedFrames","dischargingTime","disconnect","disconnectShark","disconnectedCallback","dispatchEvent","dispatchWorkgroups","dispatchWorkgroupsIndirect","display","displayHeight","displayId","displayName","displayWidth","disposition","distanceModel","div","divisor","djsapi","djsproxy","doImport","doNotTrack","doScroll","doctype","document","documentElement","documentMode","documentPictureInPicture","documentURI","dolphin","dolphinGameCenter","dolphininfo","dolphinmeta","domComplete","domContentLoadedEventEnd","domContentLoadedEventStart","domInteractive","domLoading","domOverlayState","domain","domainLookupEnd","domainLookupStart","dominant-baseline","dominantBaseline","done","dopplerFactor","dotAll","downDegrees","downlink","download","downloadRequest","downloadTotal","downloaded","dpcm","dpi","dppx","dragDrop","draggable","draw","drawArrays","drawArraysInstanced","drawArraysInstancedANGLE","drawBuffers","drawCustomFocusRing","drawElements","drawElementsInstanced","drawElementsInstancedANGLE","drawFocusIfNeeded","drawImage","drawImageFromRect","drawIndexed","drawIndexedIndirect","drawIndirect","drawRangeElements","drawSystemFocusRing","drawingBufferColorSpace","drawingBufferFormat","drawingBufferHeight","drawingBufferStorage","drawingBufferWidth","drop","dropEffect","droppedVideoFrames","dropzone","dstFactor","dtmf","dump","dumpProfile","duplicate","durability","duration","dvb","dvh","dvi","dvmax","dvmin","dvname","dvnum","dvw","dx","dy","dynsrc","e","edgeMode","editContext","effect","effectAllowed","effectiveDirective","effectiveType","elapsedTime","element","elementFromPoint","elementTiming","elements","elementsFromPoint","elevation","ellipse","em","emHeightAscent","emHeightDescent","email","embeds","emit","emma","empty","empty-cells","emptyCells","emptyHTML","emptyScript","emulatedPosition","enable","enableBackground","enableDelegations","enableStyleSheetsForSet","enableVertexAttribArray","enabled","enabledFeatures","enabledPlugin","encode","encodeInto","encodeQueueSize","encodeURI","encodeURIComponent","encodedBodySize","encoding","encodingInfo","encrypt","enctype","end","endContainer","endElement","endElementAt","endOcclusionQuery","endOfPassWriteIndex","endOfStream","endOffset","endQuery","endTime","endTransformFeedback","ended","endpoint","endpointNumber","endpoints","endsWith","enqueue","enterKeyHint","entities","entries","entry","entryPoint","entryType","enumerable","enumerate","enumerateDevices","enumerateEditable","environmentBlendMode","equals","error","errorCode","errorDetail","errorText","escape","estimate","eval","evaluate","event","eventCounts","eventPhase","every","ex","exception","exchange","exec","execCommand","execCommandShowHelp","execScript","executeBundles","executionStart","exitFullscreen","exitPictureInPicture","exitPointerLock","exitPresent","exp","expand","expandEntityReferences","expando","expansion","expectedImprovement","expiration","expirationTime","expires","expiryDate","explicitOriginalTarget","expm1","exponent","exponentialRampToValueAtTime","exportKey","exports","extend","extensions","extentNode","extentOffset","external","externalResourcesRequired","externalTexture","extractContents","extractable","eye","f","face","factoryReset","failOp","failureReason","fallback","family","familyName","farthestViewportElement","fastSeek","fatal","featureId","featurePolicy","featureSettings","features","fence","fenceSync","fetch","fetchPriority","fetchStart","fftSize","fgColor","fieldOfView","file","fileCreatedDate","fileHandle","fileModifiedDate","fileName","fileSize","fileUpdatedDate","filename","files","filesystem","fill","fill-opacity","fill-rule","fillLightMode","fillOpacity","fillRect","fillRule","fillStyle","fillText","filter","filterResX","filterResY","filterUnits","filters","finally","find","findIndex","findLast","findLastIndex","findRule","findText","finish","finished","fireEvent","firesTouchEvents","firstChild","firstElementChild","firstInterimResponseStart","firstPage","firstUIEventTimestamp","fixed","flags","flat","flatMap","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","flexBasis","flexDirection","flexFlow","flexGrow","flexShrink","flexWrap","flipX","flipY","float","float32","float64","flood-color","flood-opacity","floodColor","floodOpacity","floor","flush","focus","focusNode","focusOffset","font","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","fontBoundingBoxAscent","fontBoundingBoxDescent","fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontOpticalSizing","fontPalette","fontSize","fontSizeAdjust","fontSmoothingEnabled","fontStretch","fontStyle","fontSynthesis","fontSynthesisPosition","fontSynthesisSmallCaps","fontSynthesisStyle","fontSynthesisWeight","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontVariationSettings","fontWeight","fontcolor","fontfaces","fonts","fontsize","for","forEach","force","forceFallbackAdapter","forceRedraw","forced-color-adjust","forcedColorAdjust","forcedStyleAndLayoutDuration","forget","form","formAction","formData","formEnctype","formMethod","formNoValidate","formTarget","format","formatToParts","forms","forward","forwardX","forwardY","forwardZ","foundation","fr","fragment","fragmentDirective","frame","frameBorder","frameCount","frameElement","frameSpacing","framebuffer","framebufferHeight","framebufferRenderbuffer","framebufferTexture2D","framebufferTextureLayer","framebufferWidth","frames","freeSpace","freeze","frequency","frequencyBinCount","from","fromAsync","fromCharCode","fromCodePoint","fromElement","fromEntries","fromFloat32Array","fromFloat64Array","fromMatrix","fromPoint","fromQuad","fromRect","frontFace","fround","fullName","fullPath","fullRange","fullScreen","fullVersionList","fullscreen","fullscreenElement","fullscreenEnabled","fx","fy","g","gain","gamepad","gamma","gap","gatheringState","gatt","genderIdentity","generateCertificate","generateKey","generateMipmap","generateRequest","geolocation","gestureObject","get","getActiveAttrib","getActiveUniform","getActiveUniformBlockName","getActiveUniformBlockParameter","getActiveUniforms","getAdjacentText","getAll","getAllKeys","getAllResponseHeaders","getAllowlistForFeature","getAnimations","getAsFile","getAsFileSystemHandle","getAsString","getAttachedShaders","getAttribLocation","getAttribute","getAttributeNS","getAttributeNames","getAttributeNode","getAttributeNodeNS","getAttributeType","getAudioTracks","getAuthenticatorData","getAutoplayPolicy","getAvailability","getBBox","getBattery","getBigInt64","getBigUint64","getBindGroupLayout","getBlob","getBookmark","getBoundingClientRect","getBounds","getBoxQuads","getBufferParameter","getBufferSubData","getByteFrequencyData","getByteTimeDomainData","getCSSCanvasContext","getCTM","getCameraImage","getCandidateWindowClientRect","getCanonicalLocales","getCapabilities","getCaptureHandle","getChannelData","getCharNumAtPosition","getCharacteristic","getCharacteristics","getClientExtensionResults","getClientRect","getClientRects","getCoalescedEvents","getCompilationInfo","getCompositionAlternatives","getComputedStyle","getComputedTextLength","getComputedTiming","getConfiguration","getConstraints","getContext","getContextAttributes","getContributingSources","getCounterValue","getCueAsHTML","getCueById","getCurrentPosition","getCurrentTexture","getCurrentTime","getData","getDatabaseNames","getDate","getDay","getDefaultComputedStyle","getDepthInMeters","getDepthInformation","getDescriptor","getDescriptors","getDestinationInsertionPoints","getDevices","getDirectory","getDirectoryHandle","getDisplayMedia","getDistributedNodes","getEditable","getElementById","getElementsByClassName","getElementsByName","getElementsByTagName","getElementsByTagNameNS","getEnclosureList","getEndPositionOfChar","getEntries","getEntriesByName","getEntriesByType","getError","getExtension","getExtentOfChar","getEyeParameters","getFeature","getFiberRoots","getFile","getFileHandle","getFiles","getFilesAndDirectories","getFingerprints","getFloat32","getFloat64","getFloatFrequencyData","getFloatTimeDomainData","getFloatValue","getFragDataLocation","getFrameData","getFramebufferAttachmentParameter","getFrequencyResponse","getFullYear","getGamepads","getHeaderExtensionsToNegotiate","getHighEntropyValues","getHitTestResults","getHitTestResultsForTransientInput","getHours","getIdentityAssertion","getIds","getImageData","getIndexedParameter","getInfo","getInnerHTML","getInstalledRelatedApps","getInt16","getInt32","getInt8","getInternalModuleRanges","getInternalformatParameter","getIntersectionList","getItem","getItems","getKey","getKeyframes","getLayers","getLayoutMap","getLightEstimate","getLineDash","getLocalCandidates","getLocalParameters","getLocalStreams","getManagedConfiguration","getMappedRange","getMarks","getMatchedCSSRules","getMaxGCPauseSinceClear","getMeasures","getMetadata","getMilliseconds","getMinutes","getModifierState","getMonth","getName","getNamedItem","getNamedItemNS","getNativeFramebufferScaleFactor","getNegotiatedHeaderExtensions","getNestedConfigs","getNotifications","getNotifier","getNumberOfChars","getOffsetReferenceSpace","getOutputTimestamp","getOverrideHistoryNavigationMode","getOverrideStyle","getOwnPropertyDescriptor","getOwnPropertyDescriptors","getOwnPropertyNames","getOwnPropertySymbols","getParameter","getParameters","getParent","getPathSegAtLength","getPhotoCapabilities","getPhotoSettings","getPointAtLength","getPorts","getPose","getPredictedEvents","getPreference","getPreferenceDefault","getPreferredCanvasFormat","getPresentationAttribute","getPreventDefault","getPrimaryService","getPrimaryServices","getProgramInfoLog","getProgramParameter","getPropertyCSSValue","getPropertyPriority","getPropertyShorthand","getPropertyType","getPropertyValue","getPrototypeOf","getPublicKey","getPublicKeyAlgorithm","getQuery","getQueryParameter","getRGBColorValue","getRandomValues","getRangeAt","getReader","getReceivers","getRectValue","getReflectionCubeMap","getRegistration","getRegistrations","getRemoteCandidates","getRemoteCertificates","getRemoteParameters","getRemoteStreams","getRenderbufferParameter","getResponseHeader","getRoot","getRootNode","getRotationOfChar","getSVGDocument","getSamplerParameter","getScreenCTM","getScreenDetails","getSeconds","getSelectedCandidatePair","getSelection","getSenders","getService","getSetCookie","getSettings","getShaderInfoLog","getShaderParameter","getShaderPrecisionFormat","getShaderSource","getSignals","getSimpleDuration","getSiteIcons","getSources","getSpeculativeParserUrls","getStartPositionOfChar","getStartTime","getState","getStats","getStatusForPolicy","getStorageUpdates","getStreamById","getStringValue","getSubStringLength","getSubscription","getSubscriptions","getSupportedConstraints","getSupportedExtensions","getSupportedFormats","getSyncParameter","getSynchronizationSources","getTags","getTargetRanges","getTexParameter","getTextFormats","getTime","getTimezoneOffset","getTiming","getTitlebarAreaRect","getTotalLength","getTrackById","getTracks","getTransceivers","getTransform","getTransformFeedbackVarying","getTransformToElement","getTransports","getType","getTypeMapping","getUTCDate","getUTCDay","getUTCFullYear","getUTCHours","getUTCMilliseconds","getUTCMinutes","getUTCMonth","getUTCSeconds","getUint16","getUint32","getUint8","getUniform","getUniformBlockIndex","getUniformIndices","getUniformLocation","getUserInfo","getUserMedia","getVRDisplays","getValues","getVarDate","getVariableValue","getVertexAttrib","getVertexAttribOffset","getVideoPlaybackQuality","getVideoTracks","getViewerPose","getViewport","getVoices","getWakeLockState","getWriter","getYear","givenName","global","globalAlpha","globalCompositeOperation","globalPrivacyControl","globalThis","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","go","gpu","grabFrame","grad","gradientTransform","gradientUnits","grammars","green","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","gridArea","gridAutoColumns","gridAutoFlow","gridAutoRows","gridColumn","gridColumnEnd","gridColumnGap","gridColumnStart","gridGap","gridRow","gridRowEnd","gridRowGap","gridRowStart","gridTemplate","gridTemplateAreas","gridTemplateColumns","gridTemplateRows","gripSpace","group","groupBy","groupCollapsed","groupEnd","groupId","groups","hadRecentInput","hand","handedness","hangingBaseline","hapticActuators","hardwareConcurrency","has","hasAttribute","hasAttributeNS","hasAttributes","hasBeenActive","hasChildNodes","hasComposition","hasDynamicOffset","hasEnrolledInstrument","hasExtension","hasExternalDisplay","hasFeature","hasFocus","hasIndices","hasInstance","hasLayout","hasOrientation","hasOwn","hasOwnProperty","hasPointerCapture","hasPosition","hasPrivateToken","hasReading","hasRedemptionRecord","hasRegExpGroups","hasStorageAccess","hasUAVisualTransition","hash","hashChange","head","headers","heading","height","hid","hidden","hide","hideFocus","hidePopover","high","highWaterMark","highlights","hint","hints","history","honorificPrefix","honorificSuffix","horizontalOverflow","host","hostCandidate","hostname","href","hrefTranslate","hreflang","hspace","html5TagCheckInerface","htmlFor","htmlText","httpEquiv","httpRequestStatusCode","hwTimestamp","hyphenate-character","hyphenateCharacter","hyphens","hypot","ic","iccId","iceConnectionState","iceGatheringState","iceTransport","icon","iconURL","id","identifier","identity","ideographicBaseline","idpLoginUrl","ignoreBOM","ignoreCase","ignoreDepthValues","image","image-orientation","image-rendering","imageHeight","imageOrientation","imageRendering","imageSizes","imageSmoothingEnabled","imageSmoothingQuality","imageSrcset","imageWidth","images","ime-mode","imeMode","implementation","importExternalTexture","importKey","importNode","importStylesheet","imports","impp","imul","in","in1","in2","inBandMetadataTrackDispatchType","inRange","includes","incomingBidirectionalStreams","incomingHighWaterMark","incomingMaxAge","incomingUnidirectionalStreams","incremental","indeterminate","index","indexNames","indexOf","indexedDB","indicate","indices","inert","inertiaDestinationX","inertiaDestinationY","info","inherits","init","initAnimationEvent","initBeforeLoadEvent","initClipboardEvent","initCloseEvent","initCommandEvent","initCompositionEvent","initCustomEvent","initData","initDataType","initDeviceMotionEvent","initDeviceOrientationEvent","initDragEvent","initErrorEvent","initEvent","initFocusEvent","initGestureEvent","initHashChangeEvent","initKeyEvent","initKeyboardEvent","initMSManipulationEvent","initMessageEvent","initMouseEvent","initMouseScrollEvent","initMouseWheelEvent","initMutationEvent","initNSMouseEvent","initOverflowEvent","initPageEvent","initPageTransitionEvent","initPointerEvent","initPopStateEvent","initProgressEvent","initScrollAreaEvent","initSimpleGestureEvent","initStorageEvent","initTextEvent","initTimeEvent","initTouchEvent","initTransitionEvent","initUIEvent","initWebKitAnimationEvent","initWebKitTransitionEvent","initWebKitWheelEvent","initWheelEvent","initialTime","initialValue","initialize","initiatorType","inject","ink","inline-size","inlineSize","inlineVerticalFieldOfView","inner","innerHTML","innerHeight","innerText","innerWidth","input","inputBuffer","inputEncoding","inputMethod","inputMode","inputSource","inputSources","inputType","inputs","insertAdjacentElement","insertAdjacentHTML","insertAdjacentText","insertBefore","insertCell","insertDTMF","insertData","insertDebugMarker","insertItemBefore","insertNode","insertRow","insertRule","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","insetBlock","insetBlockEnd","insetBlockStart","insetInline","insetInlineEnd","insetInlineStart","installing","instanceRoot","instantiate","instantiateStreaming","instruments","int16","int32","int8","integrity","interactionId","interactionMode","intercept","interfaceClass","interfaceName","interfaceNumber","interfaceProtocol","interfaceSubclass","interfaces","interimResults","internalSubset","interpretation","intersection","intersectionRatio","intersectionRect","intersectsNode","interval","invalidIteratorState","invalidateFramebuffer","invalidateSubFramebuffer","inverse","invertSelf","invoker","invokerType","is","is2D","isActive","isAlternate","isArray","isAutoSelected","isBingCurrentSearchDefault","isBuffer","isCandidateWindowVisible","isChar","isCollapsed","isComposing","isConcatSpreadable","isConditionalMediationAvailable","isConfigSupported","isConnected","isContentEditable","isContentHandlerRegistered","isContextLost","isDefaultNamespace","isDirectory","isDisabled","isDisjointFrom","isEnabled","isEqual","isEqualNode","isExtended","isExtensible","isExternalCTAP2SecurityKeySupported","isFallbackAdapter","isFile","isFinite","isFirstPersonObserver","isFramebuffer","isFrozen","isGenerator","isHTML","isHistoryNavigation","isId","isIdentity","isInjected","isInputPending","isInteger","isInternal","isIntersecting","isLockFree","isMap","isMultiLine","isNaN","isOpen","isPointInFill","isPointInPath","isPointInRange","isPointInStroke","isPrefAlternate","isPresenting","isPrimary","isProgram","isPropertyImplicit","isProtocolHandlerRegistered","isPrototypeOf","isQuery","isRawJSON","isRenderbuffer","isSafeInteger","isSameEntry","isSameNode","isSampler","isScript","isScriptURL","isSealed","isSecureContext","isSessionSupported","isShader","isSubsetOf","isSupersetOf","isSupported","isSync","isTextEdit","isTexture","isTransformFeedback","isTrusted","isTypeSupported","isUserVerifyingPlatformAuthenticatorAvailable","isVertexArray","isView","isVisible","isWellFormed","isochronousTransferIn","isochronousTransferOut","isolation","italics","item","itemId","itemProp","itemRef","itemScope","itemType","itemValue","items","iterateNext","iterationComposite","iterator","javaEnabled","jitterBufferTarget","jobTitle","join","joinAdInterestGroup","json","justify-content","justify-items","justify-self","justifyContent","justifyItems","justifySelf","k1","k2","k3","k4","kHz","keepalive","kernelMatrix","kernelUnitLengthX","kernelUnitLengthY","kerning","key","keyCode","keyFor","keyIdentifier","keyLightEnabled","keyLocation","keyPath","keyStatuses","keySystem","keyText","keyUsage","keyboard","keys","keytype","kind","knee","label","labels","lang","language","languages","largeArcFlag","lastChild","lastElementChild","lastEventId","lastIndex","lastIndexOf","lastInputTime","lastMatch","lastMessageSubject","lastMessageType","lastModified","lastModifiedDate","lastPage","lastParen","lastState","lastStyleSheetSet","latitude","launchQueue","layerName","layerX","layerY","layout","layoutFlow","layoutGrid","layoutGridChar","layoutGridLine","layoutGridMode","layoutGridType","lbound","leaveAdInterestGroup","left","leftContext","leftDegrees","leftMargin","leftProjectionMatrix","leftViewMatrix","length","lengthAdjust","lengthComputable","letter-spacing","letterSpacing","level","lh","lighting-color","lightingColor","limitingConeAngle","limits","line","line-break","line-height","lineAlign","lineBreak","lineCap","lineDashOffset","lineGapOverride","lineHeight","lineJoin","lineNum","lineNumber","linePos","lineTo","lineWidth","linearAcceleration","linearRampToValueAtTime","linearVelocity","lineno","lines","link","linkColor","linkProgram","links","list","list-style","list-style-image","list-style-position","list-style-type","listStyle","listStyleImage","listStylePosition","listStyleType","listener","listeners","load","loadEventEnd","loadEventStart","loadOp","loadTime","loadTimes","loaded","loading","localDescription","localName","localService","localStorage","locale","localeCompare","location","locationbar","lock","locked","lockedFile","locks","lodMaxClamp","lodMinClamp","log","log10","log1p","log2","logicalXDPI","logicalYDPI","login","loglevel","longDesc","longitude","lookupNamespaceURI","lookupPrefix","loop","loopEnd","loopStart","looping","lost","low","lower","lowerBound","lowerOpen","lowsrc","lvb","lvh","lvi","lvmax","lvmin","lvw","m11","m12","m13","m14","m21","m22","m23","m24","m31","m32","m33","m34","m41","m42","m43","m44","magFilter","makeXRCompatible","managed","manifest","manufacturer","manufacturerName","map","mapAsync","mapState","mappedAtCreation","mapping","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marginBlock","marginBlockEnd","marginBlockStart","marginBottom","marginHeight","marginInline","marginInlineEnd","marginInlineStart","marginLeft","marginRight","marginTop","marginWidth","mark","marker","marker-end","marker-mid","marker-offset","marker-start","markerEnd","markerHeight","markerMid","markerOffset","markerStart","markerUnits","markerWidth","marks","mask","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-position-x","mask-position-y","mask-repeat","mask-size","mask-type","maskClip","maskComposite","maskContentUnits","maskImage","maskMode","maskOrigin","maskPosition","maskPositionX","maskPositionY","maskRepeat","maskSize","maskType","maskUnits","match","matchAll","matchMedia","matchMedium","matches","math-depth","math-style","mathDepth","mathStyle","matrix","matrixTransform","max","max-block-size","max-height","max-inline-size","max-width","maxActions","maxAlternatives","maxAnisotropy","maxBindGroups","maxBindGroupsPlusVertexBuffers","maxBindingsPerBindGroup","maxBlockSize","maxBufferSize","maxByteLength","maxChannelCount","maxChannels","maxColorAttachmentBytesPerSample","maxColorAttachments","maxComputeInvocationsPerWorkgroup","maxComputeWorkgroupSizeX","maxComputeWorkgroupSizeY","maxComputeWorkgroupSizeZ","maxComputeWorkgroupStorageSize","maxComputeWorkgroupsPerDimension","maxConnectionsPerServer","maxDatagramSize","maxDecibels","maxDistance","maxDrawCount","maxDynamicStorageBuffersPerPipelineLayout","maxDynamicUniformBuffersPerPipelineLayout","maxHeight","maxInlineSize","maxInterStageShaderComponents","maxInterStageShaderVariables","maxLayers","maxLength","maxMessageSize","maxPacketLifeTime","maxRetransmits","maxSampledTexturesPerShaderStage","maxSamplersPerShaderStage","maxStorageBufferBindingSize","maxStorageBuffersPerShaderStage","maxStorageTexturesPerShaderStage","maxTextureArrayLayers","maxTextureDimension1D","maxTextureDimension2D","maxTextureDimension3D","maxTouchPoints","maxUniformBufferBindingSize","maxUniformBuffersPerShaderStage","maxValue","maxVertexAttributes","maxVertexBufferArrayStride","maxVertexBuffers","maxWidth","measure","measureText","media","mediaCapabilities","mediaDevices","mediaElement","mediaGroup","mediaKeys","mediaSession","mediaStream","mediaText","meetOrSlice","memory","menubar","mergeAttributes","message","messageClass","messageHandlers","messageType","messages","metaKey","metadata","method","methodDetails","methodName","mid","mimeType","mimeTypes","min","min-block-size","min-height","min-inline-size","min-width","minBindingSize","minBlockSize","minDecibels","minFilter","minHeight","minInlineSize","minLength","minStorageBufferOffsetAlignment","minUniformBufferOffsetAlignment","minValue","minWidth","mipLevel","mipLevelCount","mipmapFilter","miterLimit","mix-blend-mode","mixBlendMode","mm","mobile","mode","model","modify","module","mount","move","moveBy","moveEnd","moveFirst","moveFocusDown","moveFocusLeft","moveFocusRight","moveFocusUp","moveNext","moveRow","moveStart","moveTo","moveToBookmark","moveToElementText","moveToPoint","movementX","movementY","mozAdd","mozAnimationStartTime","mozAnon","mozApps","mozAudioCaptured","mozAudioChannelType","mozAutoplayEnabled","mozCancelAnimationFrame","mozCancelFullScreen","mozCancelRequestAnimationFrame","mozCaptureStream","mozCaptureStreamUntilEnded","mozClearDataAt","mozContact","mozContacts","mozCreateFileHandle","mozCurrentTransform","mozCurrentTransformInverse","mozCursor","mozDash","mozDashOffset","mozDecodedFrames","mozExitPointerLock","mozFillRule","mozFragmentEnd","mozFrameDelay","mozFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozGetAll","mozGetAllKeys","mozGetAsFile","mozGetDataAt","mozGetMetadata","mozGetUserMedia","mozHasAudio","mozHasItem","mozHidden","mozImageSmoothingEnabled","mozIndexedDB","mozInnerScreenX","mozInnerScreenY","mozInputSource","mozIsTextField","mozItem","mozItemCount","mozItems","mozLength","mozLockOrientation","mozMatchesSelector","mozMovementX","mozMovementY","mozOpaque","mozOrientation","mozPaintCount","mozPaintedFrames","mozParsedFrames","mozPay","mozPointerLockElement","mozPresentedFrames","mozPreservesPitch","mozPressure","mozPrintCallback","mozRTCIceCandidate","mozRTCPeerConnection","mozRTCSessionDescription","mozRemove","mozRequestAnimationFrame","mozRequestFullScreen","mozRequestPointerLock","mozSetDataAt","mozSetImageElement","mozSourceNode","mozSrcObject","mozSystem","mozTCPSocket","mozTextStyle","mozTypesAt","mozUnlockOrientation","mozUserCancelled","mozVisibilityState","ms","msAnimation","msAnimationDelay","msAnimationDirection","msAnimationDuration","msAnimationFillMode","msAnimationIterationCount","msAnimationName","msAnimationPlayState","msAnimationStartTime","msAnimationTimingFunction","msBackfaceVisibility","msBlockProgression","msCSSOMElementFloatMetrics","msCaching","msCachingEnabled","msCancelRequestAnimationFrame","msCapsLockWarningOff","msClearImmediate","msClose","msContentZoomChaining","msContentZoomFactor","msContentZoomLimit","msContentZoomLimitMax","msContentZoomLimitMin","msContentZoomSnap","msContentZoomSnapPoints","msContentZoomSnapType","msContentZooming","msConvertURL","msCrypto","msDoNotTrack","msElementsFromPoint","msElementsFromRect","msExitFullscreen","msExtendedCode","msFillRule","msFirstPaint","msFlex","msFlexAlign","msFlexDirection","msFlexFlow","msFlexItemAlign","msFlexLinePack","msFlexNegative","msFlexOrder","msFlexPack","msFlexPositive","msFlexPreferredSize","msFlexWrap","msFlowFrom","msFlowInto","msFontFeatureSettings","msFullscreenElement","msFullscreenEnabled","msGetInputContext","msGetRegionContent","msGetUntransformedBounds","msGraphicsTrustStatus","msGridColumn","msGridColumnAlign","msGridColumnSpan","msGridColumns","msGridRow","msGridRowAlign","msGridRowSpan","msGridRows","msHidden","msHighContrastAdjust","msHyphenateLimitChars","msHyphenateLimitLines","msHyphenateLimitZone","msHyphens","msImageSmoothingEnabled","msImeAlign","msIndexedDB","msInterpolationMode","msIsStaticHTML","msKeySystem","msKeys","msLaunchUri","msLockOrientation","msManipulationViewsEnabled","msMatchMedia","msMatchesSelector","msMaxTouchPoints","msOrientation","msOverflowStyle","msPerspective","msPerspectiveOrigin","msPlayToDisabled","msPlayToPreferredSourceUri","msPlayToPrimary","msPointerEnabled","msRegionOverflow","msReleasePointerCapture","msRequestAnimationFrame","msRequestFullscreen","msSaveBlob","msSaveOrOpenBlob","msScrollChaining","msScrollLimit","msScrollLimitXMax","msScrollLimitXMin","msScrollLimitYMax","msScrollLimitYMin","msScrollRails","msScrollSnapPointsX","msScrollSnapPointsY","msScrollSnapType","msScrollSnapX","msScrollSnapY","msScrollTranslation","msSetImmediate","msSetMediaKeys","msSetPointerCapture","msTextCombineHorizontal","msTextSizeAdjust","msToBlob","msTouchAction","msTouchSelect","msTraceAsyncCallbackCompleted","msTraceAsyncCallbackStarting","msTraceAsyncOperationCompleted","msTraceAsyncOperationStarting","msTransform","msTransformOrigin","msTransformStyle","msTransition","msTransitionDelay","msTransitionDuration","msTransitionProperty","msTransitionTimingFunction","msUnlockOrientation","msUpdateAsyncCallbackRelation","msUserSelect","msVisibilityState","msWrapFlow","msWrapMargin","msWrapThrough","msWriteProfilerMark","msZoom","msZoomTo","mt","mul","multiEntry","multiSelectionObj","multiline","multiple","multiply","multiplySelf","multisample","multisampled","mutableFile","muted","n","name","nameList","nameProp","namedItem","namedRecordset","names","namespaceURI","namespaces","nativeMap","nativeObjectCreate","nativeSet","nativeWeakMap","naturalHeight","naturalWidth","navigate","navigation","navigationMode","navigationPreload","navigationStart","navigationType","navigator","near","nearestViewportElement","negative","negotiated","netscape","networkState","newScale","newState","newTranslate","newURL","newValue","newValueSpecifiedUnits","newVersion","newhome","next","nextElementSibling","nextHopProtocol","nextNode","nextPage","nextSibling","nickname","noHref","noModule","noResize","noShade","noValidate","noWrap","node","nodeName","nodeType","nodeValue","nonce","normDepthBufferFromNormView","normalize","normalizedPathSegList","notRestoredReasons","notationName","notations","note","noteGrainOn","noteOff","noteOn","notify","now","numOctaves","number","numberOfChannels","numberOfFrames","numberOfInputs","numberOfItems","numberOfOutputs","numberValue","oMatchesSelector","object","object-fit","object-position","objectFit","objectPosition","objectStore","objectStoreNames","objectType","observe","occlusionQuerySet","of","off","offscreenBuffering","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","offsetAnchor","offsetDistance","offsetHeight","offsetLeft","offsetNode","offsetParent","offsetPath","offsetPosition","offsetRotate","offsetTop","offsetWidth","offsetX","offsetY","ok","oldState","oldURL","oldValue","oldVersion","olderShadowRoot","on","onCommitFiberRoot","onCommitFiberUnmount","onLine","onPostCommitFiberRoot","onSubmittedWorkDone","onabort","onabsolutedeviceorientation","onactivate","onactive","onaddsourcebuffer","onaddstream","onaddtrack","onafterprint","onafterscriptexecute","onafterupdate","onanimationcancel","onanimationend","onanimationiteration","onanimationstart","onappinstalled","onaudioend","onaudioprocess","onaudiostart","onautocomplete","onautocompleteerror","onauxclick","onbeforeactivate","onbeforecopy","onbeforecut","onbeforedeactivate","onbeforeeditfocus","onbeforeinput","onbeforeinstallprompt","onbeforematch","onbeforepaste","onbeforeprint","onbeforescriptexecute","onbeforetoggle","onbeforeunload","onbeforeupdate","onbeforexrselect","onbegin","onblocked","onblur","onbounce","onboundary","onbufferedamountlow","oncached","oncancel","oncandidatewindowhide","oncandidatewindowshow","oncandidatewindowupdate","oncanplay","oncanplaythrough","oncapturehandlechange","once","oncellchange","onchange","oncharacterboundsupdate","oncharacteristicvaluechanged","onchargingchange","onchargingtimechange","onchecking","onclick","onclose","onclosing","oncompassneedscalibration","oncomplete","oncompositionend","oncompositionstart","onconnect","onconnecting","onconnectionavailable","onconnectionstatechange","oncontentvisibilityautostatechange","oncontextlost","oncontextmenu","oncontextrestored","oncontrollerchange","oncontrolselect","oncopy","oncuechange","oncurrententrychange","oncurrentscreenchange","oncut","ondataavailable","ondatachannel","ondatasetchanged","ondatasetcomplete","ondblclick","ondeactivate","ondequeue","ondevicechange","ondevicelight","ondevicemotion","ondeviceorientation","ondeviceorientationabsolute","ondeviceproximity","ondischargingtimechange","ondisconnect","ondisplay","ondispose","ondownloading","ondrag","ondragend","ondragenter","ondragexit","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onencrypted","onend","onended","onenter","onenterpictureinpicture","onerror","onerrorupdate","onexit","onfencedtreeclick","onfilterchange","onfinish","onfocus","onfocusin","onfocusout","onformdata","onfreeze","onfullscreenchange","onfullscreenerror","ongamepadconnected","ongamepaddisconnected","ongatheringstatechange","ongattserverdisconnected","ongeometrychange","ongesturechange","ongestureend","ongesturestart","ongotpointercapture","onhashchange","onhelp","onicecandidate","onicecandidateerror","oniceconnectionstatechange","onicegatheringstatechange","oninactive","oninput","oninputreport","oninputsourceschange","oninvalid","onkeydown","onkeypress","onkeystatuseschange","onkeyup","onlanguagechange","onlayoutcomplete","onleavepictureinpicture","onlevelchange","onload","onloadeddata","onloadedmetadata","onloadend","onloading","onloadingdone","onloadingerror","onloadstart","onlosecapture","onlostpointercapture","only","onmanagedconfigurationchange","onmark","onmessage","onmessageerror","onmidimessage","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onmousewheel","onmove","onmoveend","onmovestart","onmozfullscreenchange","onmozfullscreenerror","onmozorientationchange","onmozpointerlockchange","onmozpointerlockerror","onmscontentzoom","onmsfullscreenchange","onmsfullscreenerror","onmsgesturechange","onmsgesturedoubletap","onmsgestureend","onmsgesturehold","onmsgesturestart","onmsgesturetap","onmsgotpointercapture","onmsinertiastart","onmslostpointercapture","onmsmanipulationstatechanged","onmsneedkey","onmsorientationchange","onmspointercancel","onmspointerdown","onmspointerenter","onmspointerhover","onmspointerleave","onmspointermove","onmspointerout","onmspointerover","onmspointerup","onmssitemodejumplistitemremoved","onmsthumbnailclick","onmute","onnavigate","onnavigateerror","onnavigatesuccess","onnegotiationneeded","onnomatch","onnoupdate","onobsolete","onoffline","ononline","onopen","onorientationchange","onpagechange","onpagehide","onpagereveal","onpageshow","onpageswap","onpaste","onpause","onpayerdetailchange","onpaymentmethodchange","onplay","onplaying","onpluginstreamstart","onpointercancel","onpointerdown","onpointerenter","onpointerleave","onpointerlockchange","onpointerlockerror","onpointermove","onpointerout","onpointerover","onpointerrawupdate","onpointerup","onpopstate","onprerenderingchange","onprioritychange","onprocessorerror","onprogress","onpropertychange","onratechange","onreading","onreadystatechange","onreflectionchange","onrejectionhandled","onrelease","onremove","onremovesourcebuffer","onremovestream","onremovetrack","onrepeat","onreset","onresize","onresizeend","onresizestart","onresourcetimingbufferfull","onresult","onresume","onrowenter","onrowexit","onrowsdelete","onrowsinserted","onscreenschange","onscroll","onscrollend","onsearch","onsecuritypolicyviolation","onseeked","onseeking","onselect","onselectedcandidatepairchange","onselectend","onselectionchange","onselectstart","onshippingaddresschange","onshippingoptionchange","onshow","onsignalingstatechange","onsinkchange","onslotchange","onsoundend","onsoundstart","onsourceclose","onsourceclosed","onsourceended","onsourceopen","onspeechend","onspeechstart","onsqueeze","onsqueezeend","onsqueezestart","onstalled","onstart","onstatechange","onstop","onstorage","onstoragecommit","onsubmit","onsuccess","onsuspend","onterminate","ontextformatupdate","ontextinput","ontextupdate","ontimeout","ontimeupdate","ontoggle","ontonechange","ontouchcancel","ontouchend","ontouchmove","ontouchstart","ontrack","ontransitioncancel","ontransitionend","ontransitionrun","ontransitionstart","onuncapturederror","onunhandledrejection","onunload","onunmute","onupdate","onupdateend","onupdatefound","onupdateready","onupdatestart","onupgradeneeded","onuserproximity","onversionchange","onvisibilitychange","onvoiceschanged","onvolumechange","onvrdisplayactivate","onvrdisplayconnect","onvrdisplaydeactivate","onvrdisplaydisconnect","onvrdisplaypresentchange","onwaiting","onwaitingforkey","onwarning","onwebkitanimationend","onwebkitanimationiteration","onwebkitanimationstart","onwebkitcurrentplaybacktargetiswirelesschanged","onwebkitfullscreenchange","onwebkitfullscreenerror","onwebkitkeyadded","onwebkitkeyerror","onwebkitkeymessage","onwebkitneedkey","onwebkitorientationchange","onwebkitplaybacktargetavailabilitychanged","onwebkitpointerlockchange","onwebkitpointerlockerror","onwebkitresourcetimingbufferfull","onwebkittransitionend","onwheel","onzoom","opacity","open","openCursor","openDatabase","openKeyCursor","opened","opener","opera","operation","operationType","operator","opr","optimum","options","or","order","orderX","orderY","ordered","org","organization","orient","orientAngle","orientType","orientation","orientationX","orientationY","orientationZ","origin","originAgentCluster","originalPolicy","originalTarget","orphans","oscpu","outerHTML","outerHeight","outerText","outerWidth","outgoingHighWaterMark","outgoingMaxAge","outline","outline-color","outline-offset","outline-style","outline-width","outlineColor","outlineOffset","outlineStyle","outlineWidth","outputBuffer","outputChannelCount","outputLatency","outputs","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overflowAnchor","overflowBlock","overflowClipMargin","overflowInline","overflowWrap","overflowX","overflowY","overlaysContent","overrideColors","overrideMimeType","oversample","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","overscrollBehavior","overscrollBehaviorBlock","overscrollBehaviorInline","overscrollBehaviorX","overscrollBehaviorY","ownKeys","ownerDocument","ownerElement","ownerNode","ownerRule","ownerSVGElement","owningElement","p1","p2","p3","p4","packetSize","packets","pad","padEnd","padStart","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","paddingBlock","paddingBlockEnd","paddingBlockStart","paddingBottom","paddingInline","paddingInlineEnd","paddingInlineStart","paddingLeft","paddingRight","paddingTop","page","page-break-after","page-break-before","page-break-inside","pageBreakAfter","pageBreakBefore","pageBreakInside","pageCount","pageLeft","pageTop","pageX","pageXOffset","pageY","pageYOffset","pages","paint-order","paintOrder","paintRequests","paintType","paintWorklet","palette","pan","panningModel","parameterData","parameters","parent","parentElement","parentNode","parentRule","parentStyleSheet","parentTextEdit","parentWindow","parse","parseAll","parseCreationOptionsFromJSON","parseFloat","parseFromString","parseHTMLUnsafe","parseInt","parseRequestOptionsFromJSON","part","participants","passOp","passive","password","pasteHTML","path","pathLength","pathSegList","pathSegType","pathSegTypeAsLetter","pathname","pattern","patternContentUnits","patternMismatch","patternTransform","patternUnits","pause","pauseAnimations","pauseDuration","pauseOnExit","pauseProfilers","pauseTransformFeedback","paused","payerEmail","payerName","payerPhone","paymentManager","pc","pdfViewerEnabled","peerIdentity","pending","pendingLocalDescription","pendingRemoteDescription","percent","performance","periodicSync","permission","permissionState","permissions","persist","persisted","personalbar","perspective","perspective-origin","perspectiveOrigin","phone","phoneticFamilyName","phoneticGivenName","photo","pictureInPictureElement","pictureInPictureEnabled","pictureInPictureWindow","ping","pipeThrough","pipeTo","pitch","pixelBottom","pixelDepth","pixelHeight","pixelLeft","pixelRight","pixelStorei","pixelTop","pixelUnitToMillimeterX","pixelUnitToMillimeterY","pixelWidth","place-content","place-items","place-self","placeContent","placeItems","placeSelf","placeholder","platform","platformVersion","platforms","play","playEffect","playState","playbackRate","playbackState","playbackTime","played","playoutDelayHint","playsInline","plugins","pluginspage","pname","pointer-events","pointerBeforeReferenceNode","pointerEnabled","pointerEvents","pointerId","pointerLockElement","pointerType","points","pointsAtX","pointsAtY","pointsAtZ","polygonOffset","pop","popDebugGroup","popErrorScope","popover","popoverTargetAction","popoverTargetElement","populateMatrix","popupWindowFeatures","popupWindowName","popupWindowURI","port","port1","port2","ports","posBottom","posHeight","posLeft","posRight","posTop","posWidth","pose","position","positionAlign","positionX","positionY","positionZ","postError","postMessage","postTask","postalCode","poster","postscriptName","pow","powerEfficient","powerOff","powerPreference","preMultiplySelf","precision","preferredReflectionFormat","preferredStyleSheetSet","preferredStylesheetSet","prefix","preload","premultipliedAlpha","prepend","prerendering","presentation","presentationArea","preserveAlpha","preserveAspectRatio","preserveAspectRatioString","preservesPitch","pressed","pressure","prevValue","preventDefault","preventExtensions","preventSilentAccess","previousElementSibling","previousNode","previousPage","previousPriority","previousRect","previousScale","previousSibling","previousTranslate","primaries","primaryKey","primaryLightDirection","primaryLightIntensity","primitive","primitiveType","primitiveUnits","principals","print","print-color-adjust","printColorAdjust","priority","privateKey","privateToken","probablySupportsContext","probeSpace","process","processIceMessage","processingEnd","processingStart","processorOptions","product","productId","productName","productSub","profile","profileEnd","profiles","projectionMatrix","promise","prompt","properties","propertyIsEnumerable","propertyName","protocol","protocolLong","prototype","provider","pseudoClass","pseudoElement","pt","publicId","publicKey","published","pulse","push","pushDebugGroup","pushErrorScope","pushManager","pushNotification","pushState","put","putImageData","px","quadraticCurveTo","qualifier","quaternion","query","queryCommandEnabled","queryCommandIndeterm","queryCommandState","queryCommandSupported","queryCommandText","queryCommandValue","queryLocalFonts","queryPermission","querySelector","querySelectorAll","querySet","queue","queueMicrotask","quote","quotes","r","r1","r2","race","rad","radiogroup","radiusX","radiusY","random","randomUUID","range","rangeCount","rangeEnd","rangeMax","rangeMin","rangeOffset","rangeOverflow","rangeParent","rangeStart","rangeUnderflow","rate","ratio","raw","rawId","rawJSON","rawValueToMeters","rcap","rch","read","readAsArrayBuffer","readAsBinaryString","readAsBlob","readAsDataURL","readAsText","readBuffer","readEntries","readOnly","readPixels","readReportRequested","readText","readValue","readable","ready","readyState","reason","reasons","reboot","receiveFeatureReport","receivedAlert","receiver","receivers","recipient","recommendedViewportScale","reconnect","recordNumber","recordsAvailable","recordset","rect","red","redEyeReduction","redirect","redirectCount","redirectEnd","redirectStart","redirected","reduce","reduceRight","reduction","refDistance","refX","refY","referenceNode","referenceSpace","referrer","referrerPolicy","refresh","region","regionAnchorX","regionAnchorY","regionId","regions","register","registerContentHandler","registerElement","registerInternalModuleStart","registerInternalModuleStop","registerProperty","registerProtocolHandler","reject","rel","relList","relatedAddress","relatedNode","relatedPort","relatedTarget","relayProtocol","release","releaseCapture","releaseEvents","releaseInterface","releaseLock","releasePointerCapture","releaseShaderCompiler","released","reliability","reliable","reliableWrite","reload","rem","remainingSpace","remote","remoteDescription","remove","removeAllRanges","removeAttribute","removeAttributeNS","removeAttributeNode","removeBehavior","removeChild","removeCue","removeEntry","removeEventListener","removeFilter","removeImport","removeItem","removeListener","removeNamedItem","removeNamedItemNS","removeNode","removeParameter","removeProperty","removeRange","removeRegion","removeRule","removeSiteSpecificTrackingException","removeSourceBuffer","removeStream","removeTrack","removeVariable","removeWakeLockListener","removeWebWideTrackingException","removed","removedNodes","renderBlockingStatus","renderHeight","renderStart","renderState","renderTime","renderWidth","renderbufferStorage","renderbufferStorageMultisample","renderedBuffer","rendererInterfaces","renderers","renderingMode","renotify","repeat","repetitionCount","replace","replaceAdjacentText","replaceAll","replaceChild","replaceChildren","replaceData","replaceId","replaceItem","replaceNode","replaceState","replaceSync","replaceTrack","replaceWholeText","replaceWith","reportError","reportEvent","reportId","reportValidity","request","requestAdapter","requestAdapterInfo","requestAnimationFrame","requestAutocomplete","requestData","requestDevice","requestFrame","requestFullscreen","requestHitTestSource","requestHitTestSourceForTransientInput","requestId","requestIdleCallback","requestLightProbe","requestMIDIAccess","requestMediaKeySystemAccess","requestPermission","requestPictureInPicture","requestPointerLock","requestPort","requestPresent","requestPresenter","requestReferenceSpace","requestSession","requestStart","requestStorageAccess","requestStorageAccessFor","requestSubmit","requestVideoFrameCallback","requestViewportScale","requestWindow","requestingWindow","requireInteraction","required","requiredExtensions","requiredFeatures","requiredLimits","reset","resetPose","resetTransform","resizable","resize","resizeBy","resizeTo","resolve","resolveQuerySet","resolveTarget","resource","respond","respondWithNewView","response","responseBody","responseEnd","responseReady","responseStart","responseStatus","responseText","responseType","responseURL","responseXML","restartIce","restore","result","resultIndex","resultType","results","resume","resumeProfilers","resumeTransformFeedback","retry","returnValue","rev","reverse","reversed","revocable","revokeObjectURL","rex","rgbColor","ric","right","rightContext","rightDegrees","rightMargin","rightProjectionMatrix","rightViewMatrix","rlh","role","rolloffFactor","root","rootBounds","rootElement","rootMargin","rotate","rotateAxisAngle","rotateAxisAngleSelf","rotateFromVector","rotateFromVectorSelf","rotateSelf","rotation","rotationAngle","rotationRate","round","roundRect","row-gap","rowGap","rowIndex","rowSpan","rows","rowsPerImage","rtcpTransport","rtt","ruby-align","ruby-position","rubyAlign","rubyOverhang","rubyPosition","rules","run","runAdAuction","runtime","runtimeStyle","rx","ry","s","safari","sameDocument","sample","sampleCount","sampleCoverage","sampleInterval","sampleRate","sampleType","sampler","samplerParameterf","samplerParameteri","sandbox","save","saveData","scale","scale3d","scale3dSelf","scaleNonUniform","scaleNonUniformSelf","scaleSelf","scheduler","scheduling","scheme","scissor","scope","scopeName","scoped","screen","screenBrightness","screenEnabled","screenLeft","screenPixelToMillimeterX","screenPixelToMillimeterY","screenState","screenTop","screenX","screenY","screens","scriptURL","scripts","scroll","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollAmount","scrollBehavior","scrollBy","scrollByLines","scrollByPages","scrollDelay","scrollHeight","scrollIntoView","scrollIntoViewIfNeeded","scrollLeft","scrollLeftMax","scrollMargin","scrollMarginBlock","scrollMarginBlockEnd","scrollMarginBlockStart","scrollMarginBottom","scrollMarginInline","scrollMarginInlineEnd","scrollMarginInlineStart","scrollMarginLeft","scrollMarginRight","scrollMarginTop","scrollMaxX","scrollMaxY","scrollPadding","scrollPaddingBlock","scrollPaddingBlockEnd","scrollPaddingBlockStart","scrollPaddingBottom","scrollPaddingInline","scrollPaddingInlineEnd","scrollPaddingInlineStart","scrollPaddingLeft","scrollPaddingRight","scrollPaddingTop","scrollRestoration","scrollSnapAlign","scrollSnapStop","scrollSnapType","scrollTo","scrollTop","scrollTopMax","scrollWidth","scrollX","scrollY","scrollbar-color","scrollbar-gutter","scrollbar-width","scrollbar3dLightColor","scrollbarArrowColor","scrollbarBaseColor","scrollbarColor","scrollbarDarkShadowColor","scrollbarFaceColor","scrollbarGutter","scrollbarHighlightColor","scrollbarShadowColor","scrollbarTrackColor","scrollbarWidth","scrollbars","scrolling","scrollingElement","sctp","sctpCauseCode","sdp","sdpLineNumber","sdpMLineIndex","sdpMid","seal","search","searchBox","searchBoxJavaBridge_","searchParams","sectionRowIndex","secureConnectionStart","security","seed","seek","seekToNextFrame","seekable","seeking","select","selectAllChildren","selectAlternateInterface","selectAudioOutput","selectConfiguration","selectNode","selectNodeContents","selectNodes","selectSingleNode","selectSubString","selectURL","selected","selectedIndex","selectedOptions","selectedStyleSheetSet","selectedStylesheetSet","selectedTrack","selection","selectionDirection","selectionEnd","selectionStart","selector","selectorText","self","send","sendAsBinary","sendBeacon","sendFeatureReport","sendOrder","sendReport","sender","sentAlert","sentTimestamp","separator","serial","serialNumber","serializeToString","serverTiming","service","serviceWorker","session","sessionId","sessionStorage","set","setActionHandler","setActive","setAlpha","setAppBadge","setAttribute","setAttributeNS","setAttributeNode","setAttributeNodeNS","setAttributionReporting","setBaseAndExtent","setBigInt64","setBigUint64","setBindGroup","setBingCurrentSearchDefault","setBlendConstant","setCameraActive","setCapture","setCaptureHandleConfig","setCodecPreferences","setColor","setCompositeOperation","setConfiguration","setConsumer","setCurrentTime","setCustomValidity","setData","setDate","setDragImage","setEnd","setEndAfter","setEndBefore","setEndPoint","setExpires","setFillColor","setFilterRes","setFloat32","setFloat64","setFloatValue","setFocusBehavior","setFormValue","setFullYear","setHTMLUnsafe","setHeaderExtensionsToNegotiate","setHeaderValue","setHours","setIdentityProvider","setImmediate","setIndexBuffer","setInt16","setInt32","setInt8","setInterval","setItem","setKeyframes","setLineCap","setLineDash","setLineJoin","setLineWidth","setLiveSeekableRange","setLocalDescription","setMatrix","setMatrixValue","setMediaKeys","setMicrophoneActive","setMilliseconds","setMinutes","setMiterLimit","setMonth","setNamedItem","setNamedItemNS","setNonUserCodeExceptions","setOrientToAngle","setOrientToAuto","setOrientation","setOverrideHistoryNavigationMode","setPaint","setParameter","setParameters","setPeriodicWave","setPipeline","setPointerCapture","setPosition","setPositionState","setPreference","setPriority","setPrivateToken","setProperty","setPrototypeOf","setRGBColor","setRGBColorICCColor","setRadius","setRangeText","setRemoteDescription","setReportEventDataForAutomaticBeacons","setRequestHeader","setResizable","setResourceTimingBufferSize","setRotate","setScale","setScissorRect","setSeconds","setSelectionRange","setServerCertificate","setShadow","setSharedStorageContext","setSignals","setSinkId","setSkewX","setSkewY","setStart","setStartAfter","setStartBefore","setStatus","setStdDeviation","setStencilReference","setStreams","setStrictMode","setStringValue","setStrokeColor","setSuggestResult","setTargetAtTime","setTargetValueAtTime","setTime","setTimeout","setTransform","setTranslate","setUTCDate","setUTCFullYear","setUTCHours","setUTCMilliseconds","setUTCMinutes","setUTCMonth","setUTCSeconds","setUint16","setUint32","setUint8","setUri","setValidity","setValueAtTime","setValueCurveAtTime","setVariable","setVelocity","setVersion","setVertexBuffer","setViewport","setYear","settingName","settingValue","sex","shaderLocation","shaderSource","shadowBlur","shadowColor","shadowOffsetX","shadowOffsetY","shadowRoot","shadowRootClonable","shadowRootDelegatesFocus","shadowRootMode","shape","shape-image-threshold","shape-margin","shape-outside","shape-rendering","shapeImageThreshold","shapeMargin","shapeOutside","shapeRendering","share","sharedStorage","sharedStorageWritable","sheet","shift","shiftKey","shiftLeft","shippingAddress","shippingOption","shippingType","show","showDirectoryPicker","showHelp","showModal","showModalDialog","showModelessDialog","showNotification","showOpenFilePicker","showPicker","showPopover","showSaveFilePicker","sidebar","sign","signal","signalingState","signature","silent","sin","singleNodeValue","sinh","sinkId","sittingToStandingTransform","size","sizeAdjust","sizeToContent","sizeX","sizeZ","sizes","skewX","skewXSelf","skewY","skewYSelf","skipTransition","skipped","slice","slope","slot","slotAssignment","small","smil","smooth","smoothingTimeConstant","snapToLines","snapshotItem","snapshotLength","some","sort","sortingCode","source","sourceBuffer","sourceBuffers","sourceCapabilities","sourceCharPosition","sourceFile","sourceFunctionName","sourceIndex","sourceMap","sourceURL","sources","spacing","span","speak","speakAs","speaking","species","specified","specularConstant","specularExponent","speechSynthesis","speed","speedOfSound","spellcheck","sphericalHarmonicsCoefficients","splice","split","splitText","spreadMethod","sqrt","src","srcElement","srcFactor","srcFilter","srcObject","srcUrn","srcdoc","srclang","srcset","stack","stackTraceLimit","stacktrace","stageParameters","standalone","standby","start","startContainer","startIce","startMessages","startNotifications","startOffset","startProfiling","startRendering","startShark","startTime","startViewTransition","startsWith","state","states","stats","status","statusCode","statusMessage","statusText","statusbar","stdDeviationX","stdDeviationY","stencilBack","stencilClearValue","stencilFront","stencilFunc","stencilFuncSeparate","stencilLoadOp","stencilMask","stencilMaskSeparate","stencilOp","stencilOpSeparate","stencilReadMask","stencilReadOnly","stencilStoreOp","stencilWriteMask","step","stepDown","stepMismatch","stepMode","stepUp","sticky","stitchTiles","stop","stop-color","stop-opacity","stopColor","stopImmediatePropagation","stopNotifications","stopOpacity","stopProfiling","stopPropagation","stopShark","stopped","storage","storageArea","storageBuckets","storageName","storageStatus","storageTexture","store","storeOp","storeSiteSpecificTrackingException","storeWebWideTrackingException","stpVersion","stream","streamErrorCode","streams","stretch","strike","string","stringValue","stringify","stripIndexFormat","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeRect","strokeStyle","strokeText","strokeWidth","structuredClone","style","styleAndLayoutStart","styleFloat","styleMap","styleMedia","styleSheet","styleSheetSets","styleSheets","sub","subarray","subject","submit","submitFrame","submitter","subscribe","substr","substring","substringData","subtle","subtree","suffix","suffixes","summary","sup","supported","supportedContentEncodings","supportedEntryTypes","supportedValuesOf","supports","supportsFiber","supportsSession","supportsText","surfaceScale","surroundContents","suspend","suspendRedraw","svb","svh","svi","svmax","svmin","svw","swapCache","swapNode","sweepFlag","symbols","symmetricDifference","sync","syntax","sysexEnabled","system","systemCode","systemId","systemLanguage","systemXDPI","systemYDPI","tBodies","tFoot","tHead","tab-size","tabIndex","tabSize","table","table-layout","tableLayout","tableValues","tag","tagName","tagUrn","tags","taintEnabled","take","takePhoto","takeRecords","tan","tangentialPressure","tanh","target","targetAddressSpace","targetElement","targetRayMode","targetRaySpace","targetTouches","targetURL","targetX","targetY","targets","tcpType","tee","tel","terminate","test","texImage2D","texImage3D","texParameterf","texParameteri","texStorage2D","texStorage3D","texSubImage2D","texSubImage3D","text","text-align","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","textAlign","textAlignLast","textAnchor","textAutospace","textBaseline","textCombineUpright","textContent","textDecoration","textDecorationBlink","textDecorationColor","textDecorationLine","textDecorationLineThrough","textDecorationNone","textDecorationOverline","textDecorationSkipInk","textDecorationStyle","textDecorationThickness","textDecorationUnderline","textEmphasis","textEmphasisColor","textEmphasisPosition","textEmphasisStyle","textIndent","textJustify","textJustifyTrim","textKashida","textKashidaSpace","textLength","textOrientation","textOverflow","textRendering","textShadow","textTracks","textTransform","textUnderlineOffset","textUnderlinePosition","textWrap","textWrapMode","textWrapStyle","texture","then","threadId","threshold","thresholds","throwIfAborted","tiltX","tiltY","time","timeEnd","timeLog","timeOrigin","timeRemaining","timeStamp","timecode","timeline","timelineTime","timeout","timestamp","timestampOffset","timestampWrites","timing","title","titlebarAreaRect","to","toArray","toBlob","toDataURL","toDateString","toElement","toExponential","toFixed","toFloat32Array","toFloat64Array","toGMTString","toISOString","toJSON","toLocaleDateString","toLocaleFormat","toLocaleLowerCase","toLocaleString","toLocaleTimeString","toLocaleUpperCase","toLowerCase","toMatrix","toMethod","toPrecision","toPrimitive","toReversed","toSdp","toSorted","toSource","toSpliced","toStaticHTML","toString","toStringTag","toSum","toTimeString","toUTCString","toUpperCase","toWellFormed","toggle","toggleAttribute","toggleLongPressEnabled","togglePopover","token","tone","toneBuffer","tooLong","tooShort","toolbar","top","topMargin","topology","total","totalFrameDelay","totalFrames","totalVideoFrames","touch-action","touchAction","touched","touches","trace","track","trackVisibility","trackedAnchors","tracks","transaction","transactions","transceiver","transfer","transferControlToOffscreen","transferFromImageBitmap","transferImageBitmap","transferIn","transferOut","transferSize","transferToFixedLength","transferToImageBitmap","transform","transform-box","transform-origin","transform-style","transformBox","transformFeedbackVaryings","transformOrigin","transformPoint","transformString","transformStyle","transformToDocument","transformToFragment","transition","transition-delay","transition-duration","transition-property","transition-timing-function","transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction","translate","translateSelf","translationX","translationY","transport","traverseTo","trim","trimEnd","trimLeft","trimRight","trimStart","trueSpeed","trunc","truncate","trustedTypes","turn","twist","type","typeDetail","typeMismatch","typeMustMatch","types","u2f","ubound","uint16","uint32","uint8","uint8Clamped","unclippedDepth","unconfigure","undefined","underlineStyle","underlineThickness","unescape","uneval","unicode","unicode-bidi","unicodeBidi","unicodeRange","unicodeSets","uniform1f","uniform1fv","uniform1i","uniform1iv","uniform1ui","uniform1uiv","uniform2f","uniform2fv","uniform2i","uniform2iv","uniform2ui","uniform2uiv","uniform3f","uniform3fv","uniform3i","uniform3iv","uniform3ui","uniform3uiv","uniform4f","uniform4fv","uniform4i","uniform4iv","uniform4ui","uniform4uiv","uniformBlockBinding","uniformMatrix2fv","uniformMatrix2x3fv","uniformMatrix2x4fv","uniformMatrix3fv","uniformMatrix3x2fv","uniformMatrix3x4fv","uniformMatrix4fv","uniformMatrix4x2fv","uniformMatrix4x3fv","union","unique","uniqueID","uniqueNumber","unit","unitType","units","unloadEventEnd","unloadEventStart","unlock","unmap","unmount","unobserve","unpackColorSpace","unpause","unpauseAnimations","unreadCount","unregister","unregisterContentHandler","unregisterProtocolHandler","unscopables","unselectable","unshift","unsubscribe","unsuspendRedraw","unsuspendRedrawAll","unwatch","unwrapKey","upDegrees","upX","upY","upZ","update","updateAdInterestGroups","updateCallbackDone","updateCharacterBounds","updateCommands","updateControlBounds","updateCurrentEntry","updateIce","updateInkTrailStartPoint","updateInterval","updatePlaybackRate","updateRangeEnd","updateRangeStart","updateRenderState","updateSelection","updateSelectionBounds","updateSettings","updateText","updateTiming","updateViaCache","updateWith","updated","updating","upgrade","upload","uploadTotal","uploaded","upper","upperBound","upperOpen","uri","url","urn","urns","usage","usages","usb","usbVersionMajor","usbVersionMinor","usbVersionSubminor","useCurrentView","useMap","useProgram","usedSpace","user-select","userActivation","userAgent","userAgentData","userChoice","userHandle","userHint","userInitiated","userLanguage","userSelect","userState","userVisibleOnly","username","usernameFragment","utterance","uuid","v8BreakIterator","vAlign","vLink","valid","validate","validateProgram","validationMessage","validity","value","valueAsDate","valueAsNumber","valueAsString","valueInSpecifiedUnits","valueMissing","valueOf","valueText","valueType","values","variable","variant","variationSettings","vb","vector-effect","vectorEffect","velocityAngular","velocityExpansion","velocityX","velocityY","vendor","vendorId","vendorSub","verify","version","vertex","vertexAttrib1f","vertexAttrib1fv","vertexAttrib2f","vertexAttrib2fv","vertexAttrib3f","vertexAttrib3fv","vertexAttrib4f","vertexAttrib4fv","vertexAttribDivisor","vertexAttribDivisorANGLE","vertexAttribI4i","vertexAttribI4iv","vertexAttribI4ui","vertexAttribI4uiv","vertexAttribIPointer","vertexAttribPointer","vertical","vertical-align","verticalAlign","verticalOverflow","vh","vi","vibrate","vibrationActuator","videoBitsPerSecond","videoHeight","videoTracks","videoWidth","view","viewBox","viewBoxString","viewDimension","viewFormats","viewTarget","viewTargetString","viewport","viewportAnchorX","viewportAnchorY","viewportElement","views","violatedDirective","virtualKeyboard","virtualKeyboardPolicy","visibility","visibilityState","visible","visibleRect","visualViewport","vlinkColor","vmax","vmin","voice","voiceURI","volume","vrml","vspace","vw","w","wait","waitAsync","waitSync","waiting","wake","wakeLock","wand","warn","wasClean","wasDiscarded","watch","watchAvailability","watchPosition","webdriver","webkitAddKey","webkitAlignContent","webkitAlignItems","webkitAlignSelf","webkitAnimation","webkitAnimationDelay","webkitAnimationDirection","webkitAnimationDuration","webkitAnimationFillMode","webkitAnimationIterationCount","webkitAnimationName","webkitAnimationPlayState","webkitAnimationTimingFunction","webkitAppearance","webkitAudioContext","webkitAudioDecodedByteCount","webkitAudioPannerNode","webkitBackfaceVisibility","webkitBackground","webkitBackgroundAttachment","webkitBackgroundClip","webkitBackgroundColor","webkitBackgroundImage","webkitBackgroundOrigin","webkitBackgroundPosition","webkitBackgroundPositionX","webkitBackgroundPositionY","webkitBackgroundRepeat","webkitBackgroundSize","webkitBackingStorePixelRatio","webkitBorderBottomLeftRadius","webkitBorderBottomRightRadius","webkitBorderImage","webkitBorderImageOutset","webkitBorderImageRepeat","webkitBorderImageSlice","webkitBorderImageSource","webkitBorderImageWidth","webkitBorderRadius","webkitBorderTopLeftRadius","webkitBorderTopRightRadius","webkitBoxAlign","webkitBoxDirection","webkitBoxFlex","webkitBoxOrdinalGroup","webkitBoxOrient","webkitBoxPack","webkitBoxShadow","webkitBoxSizing","webkitCancelAnimationFrame","webkitCancelFullScreen","webkitCancelKeyRequest","webkitCancelRequestAnimationFrame","webkitClearResourceTimings","webkitClipPath","webkitClosedCaptionsVisible","webkitConvertPointFromNodeToPage","webkitConvertPointFromPageToNode","webkitCreateShadowRoot","webkitCurrentFullScreenElement","webkitCurrentPlaybackTargetIsWireless","webkitDecodedFrameCount","webkitDirectionInvertedFromDevice","webkitDisplayingFullscreen","webkitDroppedFrameCount","webkitEnterFullScreen","webkitEnterFullscreen","webkitEntries","webkitExitFullScreen","webkitExitFullscreen","webkitExitPointerLock","webkitFilter","webkitFlex","webkitFlexBasis","webkitFlexDirection","webkitFlexFlow","webkitFlexGrow","webkitFlexShrink","webkitFlexWrap","webkitFullScreenKeyboardInputAllowed","webkitFullscreenElement","webkitFullscreenEnabled","webkitGenerateKeyRequest","webkitGetAsEntry","webkitGetDatabaseNames","webkitGetEntries","webkitGetEntriesByName","webkitGetEntriesByType","webkitGetFlowByName","webkitGetGamepads","webkitGetImageDataHD","webkitGetNamedFlows","webkitGetRegionFlowRanges","webkitGetUserMedia","webkitHasClosedCaptions","webkitHidden","webkitIDBCursor","webkitIDBDatabase","webkitIDBDatabaseError","webkitIDBDatabaseException","webkitIDBFactory","webkitIDBIndex","webkitIDBKeyRange","webkitIDBObjectStore","webkitIDBRequest","webkitIDBTransaction","webkitImageSmoothingEnabled","webkitIndexedDB","webkitInitMessageEvent","webkitIsFullScreen","webkitJustifyContent","webkitKeys","webkitLineClamp","webkitLineDashOffset","webkitLockOrientation","webkitMask","webkitMaskClip","webkitMaskComposite","webkitMaskImage","webkitMaskOrigin","webkitMaskPosition","webkitMaskPositionX","webkitMaskPositionY","webkitMaskRepeat","webkitMaskSize","webkitMatchesSelector","webkitMediaStream","webkitNotifications","webkitOfflineAudioContext","webkitOrder","webkitOrientation","webkitPeerConnection00","webkitPersistentStorage","webkitPerspective","webkitPerspectiveOrigin","webkitPointerLockElement","webkitPostMessage","webkitPreservesPitch","webkitPutImageDataHD","webkitRTCPeerConnection","webkitRegionOverset","webkitRelativePath","webkitRequestAnimationFrame","webkitRequestFileSystem","webkitRequestFullScreen","webkitRequestFullscreen","webkitRequestPointerLock","webkitResolveLocalFileSystemURL","webkitSetMediaKeys","webkitSetResourceTimingBufferSize","webkitShadowRoot","webkitShowPlaybackTargetPicker","webkitSlice","webkitSpeechGrammar","webkitSpeechGrammarList","webkitSpeechRecognition","webkitSpeechRecognitionError","webkitSpeechRecognitionEvent","webkitStorageInfo","webkitSupportsFullscreen","webkitTemporaryStorage","webkitTextFillColor","webkitTextSecurity","webkitTextSizeAdjust","webkitTextStroke","webkitTextStrokeColor","webkitTextStrokeWidth","webkitTransform","webkitTransformOrigin","webkitTransformStyle","webkitTransition","webkitTransitionDelay","webkitTransitionDuration","webkitTransitionProperty","webkitTransitionTimingFunction","webkitURL","webkitUnlockOrientation","webkitUserSelect","webkitVideoDecodedByteCount","webkitVisibilityState","webkitWirelessVideoPlaybackDisabled","webkitdirectory","webkitdropzone","webstore","weight","wgslLanguageFeatures","whatToShow","wheelDelta","wheelDeltaX","wheelDeltaY","whenDefined","which","white-space","white-space-collapse","whiteSpace","whiteSpaceCollapse","wholeText","widows","width","will-change","willChange","willValidate","window","windowAttribution","windowControlsOverlay","with","withCredentials","withResolvers","word-break","word-spacing","word-wrap","wordBreak","wordSpacing","wordWrap","workerStart","worklet","wow64","wrap","wrapKey","writable","writableAuxiliaries","write","writeBuffer","writeMask","writeText","writeTexture","writeTimestamp","writeValue","writeValueWithResponse","writeValueWithoutResponse","writeWithoutResponse","writeln","writing-mode","writingMode","writingSuggestions","x","x1","x2","xChannelSelector","xmlEncoding","xmlStandalone","xmlVersion","xmlbase","xmllang","xmlspace","xor","xr","y","y1","y2","yChannelSelector","yandex","z","z-index","zIndex","zoom","zoomAndPan","zoomRectScreen"];function pv(t){hv.forEach(a);var e=["Symbol","Map","Promise","Proxy","Reflect","Set","WeakMap","WeakSet"],n={},r=typeof global=="object"?global:self;e.forEach(function(c){n[c]=r[c]||function(){}}),["null","true","false","NaN","Infinity","-Infinity","undefined"].forEach(a),[Object,Array,Function,Number,String,Boolean,Error,Math,Date,RegExp,n.Symbol,ArrayBuffer,DataView,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,eval,EvalError,Float32Array,Float64Array,Int8Array,Int16Array,Int32Array,isFinite,isNaN,JSON,n.Map,parseFloat,parseInt,n.Promise,n.Proxy,RangeError,ReferenceError,n.Reflect,n.Set,SyntaxError,TypeError,Uint8Array,Uint8ClampedArray,Uint16Array,Uint32Array,URIError,n.WeakMap,n.WeakSet].forEach(function(c){Object.getOwnPropertyNames(c).map(a),c.prototype&&Object.getOwnPropertyNames(c.prototype).map(a)});function a(c){t.add(c)}}function dv(t,e){function n(r){Co(e,r)}t.walk(new Un(function(r){r instanceof an&&r.quote?n(r.key):r instanceof _n&&r.quote?n(r.key.name):r instanceof kn&&jo(r.property,n)}))}function jo(t,e){t.walk(new Un(function(n){return n instanceof mt?jo(n.tail_node(),e):n instanceof bt?e(n.value):n instanceof it&&(jo(n.consequent,e),jo(n.alternative,e)),!0}))}function _v(t,e){var n=-1,r=new Map,a=e.nth_identifier||Ts;return t=t.transform(new br(function(f){f instanceof Di||f instanceof Ci||f instanceof ci||f instanceof Ai||f instanceof fi?f.key.name=c(f.key.name):f instanceof Zr&&(f.property=c(f.property))})),t;function c(f){let p=r.get(f);return p||(p=a.get(++n),r.set(f,p)),p}}function i_(t){var e=new Set;return Mn(t,n=>{n instanceof Di||n instanceof Ci||n instanceof ci||n instanceof Ai||n instanceof Zr||(n instanceof an?typeof n.key=="string"&&pr(n,Ss)&&e.add(n.key):n instanceof _n?pr(n,Ss)&&e.add(n.key.name):n instanceof Jt?pr(n,Ss)&&e.add(n.property):n instanceof kn&&n.property instanceof bt&&pr(n,Ss)&&e.add(n.property.value))}),e}function mv(t,e,n=i_(t)){e=xi(e,{builtins:!1,cache:null,debug:!1,keep_quoted:!1,nth_identifier:Ts,only_cache:!1,regex:null,reserved:null,undeclared:!1,only_annotated:!1},!0);var r=e.nth_identifier,a=e.reserved;Array.isArray(a)||(a=[a]);var c=new Set(a);e.builtins||pv(c);var f=-1,p;e.cache?p=e.cache.props:p=new Map;var E=e.only_annotated,b=e.regex&&new RegExp(e.regex),T=e.debug!==!1,x;T&&(x=e.debug===!0?"":e.debug);var w=new Set,F=new Set;p.forEach(D=>F.add(D));var R=!!e.keep_quoted;return t.walk(new Un(function(D){if(!(D instanceof Di||D instanceof Ci||D instanceof ci||D instanceof Ai||D instanceof Zr))if(D instanceof an)typeof D.key=="string"&&(!R||!D.quote)&&g(D.key);else if(D instanceof _n)(!R||!D.quote)&&g(D.key.name);else if(D instanceof Jt){var P=!!e.undeclared;if(!P){for(var U=D;U.expression;)U=U.expression;P=!(U.thedef&&U.thedef.undeclared)}P&&(!R||!D.quote)&&g(D.property)}else D instanceof kn?R||jo(D.property,g):D instanceof $e&&D.expression.print_to_string()=="Object.defineProperty"?jo(D.args[1],g):D instanceof pe&&D.operator==="in"?jo(D.left,g):D instanceof bt&&pr(D,xs)&&g(D.value)})),t.transform(new br(function(D){D instanceof Di||D instanceof Ci||D instanceof ci||D instanceof Ai||D instanceof Zr||(D instanceof an?typeof D.key=="string"&&(!R||!D.quote)&&(D.key=A(D.key)):D instanceof _n?(!R||!D.quote)&&(D.key.name=A(D.key.name)):D instanceof Jt?(!R||!D.quote)&&(D.property=A(D.property)):!R&&D instanceof kn?D.property=O(D.property):D instanceof $e&&D.expression.print_to_string()=="Object.defineProperty"?D.args[1]=O(D.args[1]):D instanceof pe&&D.operator==="in"?D.left=O(D.left):D instanceof bt&&pr(D,xs)&&(bd(D,xs),D.value=A(D.value)))}));function v(D){return F.has(D)||c.has(D)?!1:e.only_cache?p.has(D):!/^-?[0-9]+(\.[0-9]+)?(e[+-][0-9]+)?$/.test(D)}function d(D){return E&&!n.has(D)?!1:b&&!b.test(D)?n.has(D):c.has(D)?!1:p.has(D)||w.has(D)}function g(D){v(D)&&w.add(D),d(D)||F.add(D)}function A(D){if(!d(D))return D;var P=p.get(D);if(!P){if(T){var U="_$"+D+"$"+x+"_";v(U)&&(P=U)}if(!P)do P=r.get(++f);while(!v(P));p.set(D,P)}return P}function O(D){return D.transform(new br(function(P){if(P instanceof mt){var U=P.expressions.length-1;P.expressions[U]=O(P.expressions[U])}else P instanceof bt?(bd(P,xs),P.value=A(P.value)):P instanceof it&&(P.consequent=O(P.consequent),P.alternative=O(P.alternative));return P}))}}var yv=typeof Buffer<"u"?t=>Buffer.from(t,"base64").toString():t=>decodeURIComponent(escape(atob(t))),gv=typeof Buffer<"u"?t=>Buffer.from(t).toString("base64"):t=>btoa(unescape(encodeURIComponent(t)));function vv(t){var e=/(?:^|[^.])\/\/# sourceMappingURL=data:application\/json(;[\w=-]*)?;base64,([+/0-9A-Za-z]*=*)\s*$/.exec(t);return e?yv(e[2]):(console.warn("inline source map not found"),null)}function go(t,e,n){e[t]&&n.forEach(function(r){e[r]&&(typeof e[r]!="object"&&(e[r]={}),t in e[r]||(e[r][t]=e[t]))})}function o_(t){t&&("props"in t?t.props instanceof Map||(t.props=sg(t.props)):t.props=new Map)}function a_(t){return{props:ug(t.props)}}function bv(t,e,n,r){if(!(n&&n.writeFileSync&&n.mkdirSync))return;try{n.mkdirSync(r)}catch(p){if(p.code!=="EEXIST")throw p}const a=`${r}/terser-debug-${Math.random()*9999999|0}.log`;e=e||{};const c=JSON.stringify(e,(p,E)=>typeof E=="function"?"[Function "+E.toString()+"]":E instanceof RegExp?"[RegExp "+E.toString()+"]":E,4),f=p=>typeof p=="object"&&e.parse&&e.parse.spidermonkey?JSON.stringify(p,null,2):typeof p=="object"?Object.keys(p).map(E=>E+": "+f(p[E])).join(`
231
-
232
- `):typeof p=="string"?"```\n"+p+"\n```":p;n.writeFileSync(a,`Options:
233
- `+c+`
234
-
235
- Input files:
236
-
237
- `+f(t)+`
238
- `)}function*Ev(t,e,n){n&&typeof process=="object"&&process.env&&typeof process.env.TERSER_DEBUG_DIR=="string"&&bv(t,e,n,process.env.TERSER_DEBUG_DIR),e=xi(e,{compress:{},ecma:void 0,enclose:!1,ie8:!1,keep_classnames:void 0,keep_fnames:!1,mangle:{},module:!1,nameCache:null,output:null,format:null,parse:{},rename:void 0,safari10:!1,sourceMap:!1,spidermonkey:!1,timings:!1,toplevel:!1,warnings:!1,wrap:!1},!0);var r=e.timings&&{start:Date.now()};if(e.keep_classnames===void 0&&(e.keep_classnames=e.keep_fnames),e.rename===void 0&&(e.rename=e.compress&&e.mangle),e.output&&e.format)throw new Error("Please only specify either output or format option, preferrably format.");e.format=e.format||e.output||{},go("ecma",e,["parse","compress","format"]),go("ie8",e,["compress","mangle","format"]),go("keep_classnames",e,["compress","mangle"]),go("keep_fnames",e,["compress","mangle"]),go("module",e,["parse","compress","mangle"]),go("safari10",e,["mangle","format"]),go("toplevel",e,["compress","mangle"]),go("warnings",e,["compress"]);var a;e.mangle&&(e.mangle=xi(e.mangle,{cache:e.nameCache&&(e.nameCache.vars||{}),eval:!1,ie8:!1,keep_classnames:!1,keep_fnames:!1,module:!1,nth_identifier:Ts,properties:!1,reserved:[],safari10:!1,toplevel:!1},!0),e.mangle.properties&&(typeof e.mangle.properties!="object"&&(e.mangle.properties={}),e.mangle.properties.keep_quoted&&(a=e.mangle.properties.reserved,Array.isArray(a)||(a=[]),e.mangle.properties.reserved=a),e.nameCache&&!("cache"in e.mangle.properties)&&(e.mangle.properties.cache=e.nameCache.props||{})),o_(e.mangle.cache),o_(e.mangle.properties.cache)),e.sourceMap&&(e.sourceMap=xi(e.sourceMap,{asObject:!1,content:null,filename:null,includeSources:!1,root:null,url:null},!0)),r&&(r.parse=Date.now());var c;if(t instanceof Qt)c=t;else{if((typeof t=="string"||e.parse.spidermonkey&&!Array.isArray(t))&&(t=[t]),e.parse=e.parse||{},e.parse.toplevel=null,e.parse.spidermonkey)e.parse.toplevel=Oe.from_mozilla_ast(Object.keys(t).reduce(function(w,F){return w?(w.body=w.body.concat(t[F].body),w):t[F]},null));else{delete e.parse.spidermonkey;for(var f in t)if(sr(t,f)&&(e.parse.filename=f,e.parse.toplevel=ms(t[f],e.parse),e.sourceMap&&e.sourceMap.content=="inline")){if(Object.keys(t).length>1)throw new Error("inline source map only works with singular input");e.sourceMap.content=vv(t[f])}}if(e.parse.toplevel===null)throw new Error("no source file given");c=e.parse.toplevel}a&&e.mangle.properties.keep_quoted!=="strict"&&dv(c,a);var p;e.mangle&&e.mangle.properties&&(p=i_(c)),e.wrap&&(c=c.wrap_commonjs(e.wrap)),e.enclose&&(c=c.wrap_enclose(e.enclose)),r&&(r.rename=Date.now()),r&&(r.compress=Date.now()),e.compress&&(c=new Jd(e.compress,{mangle_options:e.mangle}).compress(c)),r&&(r.scope=Date.now()),e.mangle&&c.figure_out_scope(e.mangle),r&&(r.mangle=Date.now()),e.mangle&&(c.compute_char_frequency(e.mangle),c.mangle_names(e.mangle),c=_v(c,e.mangle)),r&&(r.properties=Date.now()),e.mangle&&e.mangle.properties&&(c=mv(c,e.mangle.properties,p)),r&&(r.format=Date.now());var E={};e.format.ast&&(E.ast=c),e.format.spidermonkey&&(E.ast=c.to_mozilla_ast());let b;if(!sr(e.format,"code")||e.format.code){if(b={...e.format},b.ast||(b._destroy_ast=!0,Mn(c,w=>{w instanceof Ye&&(w.variables=void 0,w.enclosed=void 0,w.parent_scope=void 0),w.block_scope&&(w.block_scope.variables=void 0,w.block_scope.enclosed=void 0,w.parent_scope=void 0)})),e.sourceMap){if(e.sourceMap.includeSources&&t instanceof Qt)throw new Error("original source content unavailable");b.source_map=yield*fv({file:e.sourceMap.filename,orig:e.sourceMap.content,root:e.sourceMap.root,files:e.sourceMap.includeSources?t:null})}delete b.ast,delete b.code,delete b.spidermonkey;var T=wf(b);if(c.print(T),E.code=T.get(),e.sourceMap)if(Object.defineProperty(E,"map",{configurable:!0,enumerable:!0,get(){const w=b.source_map.getEncoded();return E.map=e.sourceMap.asObject?w:JSON.stringify(w)},set(w){Object.defineProperty(E,"map",{value:w,writable:!0})}}),E.decoded_map=b.source_map.getDecoded(),e.sourceMap.url=="inline"){var x=typeof E.map=="object"?JSON.stringify(E.map):E.map;E.code+=`
239
- //# sourceMappingURL=data:application/json;charset=utf-8;base64,`+gv(x)}else e.sourceMap.url&&(E.code+=`
240
- //# sourceMappingURL=`+e.sourceMap.url)}return e.nameCache&&e.mangle&&(e.mangle.cache&&(e.nameCache.vars=a_(e.mangle.cache)),e.mangle.properties&&e.mangle.properties.cache&&(e.nameCache.props=a_(e.mangle.properties.cache))),b&&b.source_map&&b.source_map.destroy(),r&&(r.end=Date.now(),E.timings={parse:.001*(r.rename-r.parse),rename:.001*(r.compress-r.rename),compress:.001*(r.scope-r.compress),scope:.001*(r.mangle-r.scope),mangle:.001*(r.properties-r.mangle),properties:.001*(r.format-r.properties),format:.001*(r.end-r.format),total:.001*(r.end-r.start)}),E}async function s_(t,e,n){const r=Ev(t,e,n);let a,c;do c=r.next(await a),a=c.value;while(!c.done);return c.value}function u_(t){const e=new Nm(t),n=new kl(e);n.removeErrorListeners();const r=new wm(n),a=new j(r);a._interp.predictionMode=Um.SLL,a.removeErrorListeners();const c=new Tv;n.addErrorListener(c),a.addErrorListener(c),a.buildParseTrees=!0;const f=a.program(),p=r.tokens.filter(E=>E.channel===2);return{errors:c.errors,ast:f,comments:p}}async function xv(t,e,n,r){const{errors:a,ast:c,comments:f}=u_(t+`
241
-
242
- `),p=new Ap(r,f,n),E=await p.visit(c);let b=a.splice(0,1);b.length||(b=p.errors);let T="";const x=new Ky("$"),w=e?"":x.preParser(E);if(e&&!b.some(F=>F.type===Vn.Error)){const F=x.parser(E)||"";T=(await s_(F,{compress:!0,mangle:!0})).code||"";const v={message:xe.indiRunErr,type:Vn.Error,startColumn:0,startLineNumber:0,endColumn:0,endLineNumber:0};if(p.hasUseDrawFunc){if(p.scriptType===Ui.library)p.exportPositions.length||(v.message=xe.libraryExportErr,b.push(v));else if(p.exportPositions.length){const d=p.exportPositions.map(g=>{const{type:A,...O}=g;return{message:Se(xe.exportUseErr,{type:A}),type:Vn.Error,...O}});b.push(...d)}}else switch(p.scriptType){case Ui.indicator:b.push(v);break;case Ui.strategy:p.hasUseCreateOrderFunc||(v.message=xe.strategyRunErr,b.push(v));break}}return{errors:b,functions:Object.fromEntries(p.userFunctions),variables:Object.fromEntries(p.userVariables),types:Object.fromEntries(p.userTypes),methods:Object.fromEntries(p.userMethods),overloadsFuncs:p.overloadsFuncs,imports:Object.fromEntries(p.imports),enums:Object.fromEntries(p.userEnums),codeStr:T,preParserCode:w}}async function Sv(t,e,n,r){const{ast:a,comments:c}=u_(t+`
243
-
244
- `),f=new Ap(r,c,n),p=await f.visit(a),{name:E,index:b}=f.endExport,T=p.findIndex(v=>v.name===E&&v.index===b),x=p.slice(0,T+1),F=new zy("$",e).parser(x)||"",R=await s_(F,{compress:!0,mangle:!0});return{...f.exportLibs,description:f.description,codeStr:R.code||""}}class Tv extends Rm{constructor(){super(...arguments);I(this,"errors",[])}syntaxError(n,r,a,c,f){this.errors.push({message:`syntax error: ${f.replace(/expecting.+/,"")}`,type:Vn.Error,startColumn:c,startLineNumber:a,endColumn:c,endLineNumber:a})}}yf({parseTcc:xv,parseLibraryCode:Sv})})();