@guihz/trading-vue-editor-tes 0.0.20 → 0.0.22

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
- var Ug=Object.defineProperty;var Vg=(lo,li,Tr)=>li in lo?Ug(lo,li,{enumerable:!0,configurable:!0,writable:!0,value:Tr}):lo[li]=Tr;var w=(lo,li,Tr)=>(Vg(lo,typeof li!="symbol"?li+"":li,Tr),Tr);(function(){"use strict";var lo={92:()=>{}},li={};function Tr(t){var e=li[t];if(e!==void 0)return e.exports;var n=li[t]={exports:{}};return lo[t](n,n.exports,Tr),n.exports}Tr.d=(t,e)=>{for(var n in e)Tr.o(e,n)&&!Tr.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},Tr.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var kt={};(()=>{function t(l){return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},t(l)}function e(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(t(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(t(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),t(f)==="symbol"?f:String(f)),a)}var f}Tr.d(kt,{dx:()=>dn,q2:()=>ih,FO:()=>Dy,xf:()=>Zs,Gy:()=>wy,s4:()=>Rs,c7:()=>Iy,_7:()=>Sy,gp:()=>Ay,cK:()=>Cs,zs:()=>Ph,AV:()=>Zs,Xp:()=>_e,VS:()=>ne,ul:()=>Fo,hW:()=>rr,x1:()=>Ba,z5:()=>Nc,oN:()=>Ch,TB:()=>Ty,u1:()=>Fc,_b:()=>Xh,$F:()=>by,_T:()=>Zh,db:()=>vy,Zx:()=>Hn,_x:()=>Lo,r8:()=>Wi,JI:()=>Fe,TP:()=>on,WU:()=>n,Nj:()=>$,ZP:()=>Bg});var n=function(){function l(){(function(a,f){if(!(a instanceof f))throw new TypeError("Cannot call a class as a function")})(this,l),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 r,p;return r=l,(p=[{key:"getTokenSource",value:function(){return this.source[0]}},{key:"getInputStream",value:function(){return this.source[1]}},{key:"text",get:function(){return this._text},set:function(a){this._text=a}}])&&e(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function o(l,r){if(!Array.isArray(l)||!Array.isArray(r))return!1;if(l===r)return!0;if(l.length!==r.length)return!1;for(var p=0;p<l.length;p++)if(!(l[p]===r[p]||l[p].equals&&l[p].equals(r[p])))return!1;return!0}function u(l){return u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},u(l)}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 h=Math.round(Math.random()*Math.pow(2,32));function m(l){if(!l)return 0;var r,p,a=u(l),f=a==="string"?l:!(a!=="object"||!l.toString)&&l.toString();if(!f)return 0;for(var c=3&f.length,d=f.length-c,i=h,s=3432918353,v=461845907,S=0;S<d;)p=255&f.charCodeAt(S)|(255&f.charCodeAt(++S))<<8|(255&f.charCodeAt(++S))<<16|(255&f.charCodeAt(++S))<<24,++S,i=27492+(65535&(r=5*(65535&(i=(i^=p=(65535&(p=(p=(65535&p)*s+(((p>>>16)*s&65535)<<16)&4294967295)<<15|p>>>17))*v+(((p>>>16)*v&65535)<<16)&4294967295)<<13|i>>>19))+((5*(i>>>16)&65535)<<16)&4294967295))+((58964+(r>>>16)&65535)<<16);switch(p=0,c){case 3:p^=(255&f.charCodeAt(S+2))<<16;case 2:p^=(255&f.charCodeAt(S+1))<<8;case 1:i^=p=(65535&(p=(p=(65535&(p^=255&f.charCodeAt(S)))*s+(((p>>>16)*s&65535)<<16)&4294967295)<<15|p>>>17))*v+(((p>>>16)*v&65535)<<16)&4294967295}return i^=f.length,i=2246822507*(65535&(i^=i>>>16))+((2246822507*(i>>>16)&65535)<<16)&4294967295,i=3266489909*(65535&(i^=i>>>13))+((3266489909*(i>>>16)&65535)<<16)&4294967295,(i^=i>>>16)>>>0}function _(l){return _=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_(l)}function T(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(_(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(_(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),_(f)==="symbol"?f:String(f)),a)}var f}var x=function(){function l(){(function(f,c){if(!(f instanceof c))throw new TypeError("Cannot call a class as a function")})(this,l),this.count=0,this.hash=0}var r,p,a;return r=l,p=[{key:"update",value:function(){for(var f=0;f<arguments.length;f++){var c=arguments[f];if(c!=null)if(Array.isArray(c))this.update.apply(this,c);else{var d=0;switch(_(c)){case"undefined":case"function":continue;case"number":case"boolean":d=c;break;case"string":d=m(c);break;default:c.updateHashCode?c.updateHashCode(this):console.log("No updateHashCode for "+c.toString());continue}d=(d*=3432918353)<<15|d>>>17,d*=461845907,this.count=this.count+1;var i=this.hash^d;i=5*(i=i<<13|i>>>19)+3864292196,this.hash=i}}}},{key:"finish",value:function(){var f=this.hash^4*this.count;return f^=f>>>16,f*=2246822507,f^=f>>>13,(f*=3266489909)^f>>>16}}],a=[{key:"hashStuff",value:function(){var f=new l;return f.update.apply(f,arguments),f.finish()}}],p&&T(r.prototype,p),a&&T(r,a),Object.defineProperty(r,"prototype",{writable:!1}),l}();function P(l){return l?typeof l=="string"?m(l):l.hashCode():-1}function A(l,r){return l?l.equals(r):l===r}function F(l){return l===null?"null":l}function $(l){return Array.isArray(l)?"["+l.map(F).join(", ")+"]":"null"}function V(l){return V=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},V(l)}function b(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(V(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(V(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),V(f)==="symbol"?f:String(f)),a)}var f}var y="h-",g=function(){function l(a,f){(function(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")})(this,l),this.data={},this.hashFunction=a||P,this.equalsFunction=f||A}var r,p;return r=l,(p=[{key:"add",value:function(a){var f=y+this.hashFunction(a);if(f in this.data){for(var c=this.data[f],d=0;d<c.length;d++)if(this.equalsFunction(a,c[d]))return c[d];return c.push(a),a}return this.data[f]=[a],a}},{key:"has",value:function(a){return this.get(a)!=null}},{key:"get",value:function(a){var f=y+this.hashFunction(a);if(f in this.data){for(var c=this.data[f],d=0;d<c.length;d++)if(this.equalsFunction(a,c[d]))return c[d]}return null}},{key:"values",value:function(){var a=this;return Object.keys(this.data).filter(function(f){return f.startsWith(y)}).flatMap(function(f){return a.data[f]},this)}},{key:"toString",value:function(){return $(this.values())}},{key:"length",get:function(){var a=this;return Object.keys(this.data).filter(function(f){return f.startsWith(y)}).map(function(f){return a.data[f].length},this).reduce(function(f,c){return f+c},0)}}])&&b(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function D(l,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");l.prototype=Object.create(r&&r.prototype,{constructor:{value:l,writable:!0,configurable:!0}}),Object.defineProperty(l,"prototype",{writable:!1}),r&&R(l,r)}function R(l,r){return R=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},R(l,r)}function O(l){var r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.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 p,a=U(l);if(r){var f=U(this).constructor;p=Reflect.construct(a,arguments,f)}else p=a.apply(this,arguments);return function(c,d){if(d&&(X(d)==="object"||typeof d=="function"))return d;if(d!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}(c)}(this,p)}}function U(l){return U=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},U(l)}function X(l){return X=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},X(l)}function ue(l,r){if(!(l instanceof r))throw new TypeError("Cannot call a class as a function")}function K(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(X(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(X(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),X(f)==="symbol"?f:String(f)),a)}var f}function Y(l,r,p){return r&&K(l.prototype,r),p&&K(l,p),Object.defineProperty(l,"prototype",{writable:!1}),l}var G=function(){function l(){ue(this,l)}return Y(l,[{key:"hashCode",value:function(){var r=new x;return this.updateHashCode(r),r.finish()}},{key:"evaluate",value:function(r,p){}},{key:"evalPrecedence",value:function(r,p){return this}}],[{key:"andContext",value:function(r,p){if(r===null||r===l.NONE)return p;if(p===null||p===l.NONE)return r;var a=new ce(r,p);return a.opnds.length===1?a.opnds[0]:a}},{key:"orContext",value:function(r,p){if(r===null)return p;if(p===null)return r;if(r===l.NONE||p===l.NONE)return l.NONE;var a=new Q(r,p);return a.opnds.length===1?a.opnds[0]:a}}]),l}(),ce=function(l){D(p,l);var r=O(p);function p(a,f){var c;ue(this,p),c=r.call(this);var d=new g;a instanceof p?a.opnds.map(function(v){d.add(v)}):d.add(a),f instanceof p?f.opnds.map(function(v){d.add(v)}):d.add(f);var i=de(d);if(i.length>0){var s=null;i.map(function(v){(s===null||v.precedence<s.precedence)&&(s=v)}),d.add(s)}return c.opnds=Array.from(d.values()),c}return Y(p,[{key:"equals",value:function(a){return this===a||a instanceof p&&o(this.opnds,a.opnds)}},{key:"updateHashCode",value:function(a){a.update(this.opnds,"AND")}},{key:"evaluate",value:function(a,f){for(var c=0;c<this.opnds.length;c++)if(!this.opnds[c].evaluate(a,f))return!1;return!0}},{key:"evalPrecedence",value:function(a,f){for(var c=!1,d=[],i=0;i<this.opnds.length;i++){var s=this.opnds[i],v=s.evalPrecedence(a,f);if(c|=v!==s,v===null)return null;v!==G.NONE&&d.push(v)}if(!c)return this;if(d.length===0)return G.NONE;var S=null;return d.map(function(E){S=S===null?E:G.andContext(S,E)}),S}},{key:"toString",value:function(){var a=this.opnds.map(function(f){return f.toString()});return(a.length>3?a.slice(3):a).join("&&")}}]),p}(G),Q=function(l){D(p,l);var r=O(p);function p(a,f){var c;ue(this,p),c=r.call(this);var d=new g;a instanceof p?a.opnds.map(function(S){d.add(S)}):d.add(a),f instanceof p?f.opnds.map(function(S){d.add(S)}):d.add(f);var i=de(d);if(i.length>0){var s=i.sort(function(S,E){return S.compareTo(E)}),v=s[s.length-1];d.add(v)}return c.opnds=Array.from(d.values()),c}return Y(p,[{key:"equals",value:function(a){return this===a||a instanceof p&&o(this.opnds,a.opnds)}},{key:"updateHashCode",value:function(a){a.update(this.opnds,"OR")}},{key:"evaluate",value:function(a,f){for(var c=0;c<this.opnds.length;c++)if(this.opnds[c].evaluate(a,f))return!0;return!1}},{key:"evalPrecedence",value:function(a,f){for(var c=!1,d=[],i=0;i<this.opnds.length;i++){var s=this.opnds[i],v=s.evalPrecedence(a,f);if(c|=v!==s,v===G.NONE)return G.NONE;v!==null&&d.push(v)}return c?(d.length===0||d.map(function(S){return S}),null):this}},{key:"toString",value:function(){var a=this.opnds.map(function(f){return f.toString()});return(a.length>3?a.slice(3):a).join("||")}}]),p}(G);function de(l){var r=[];return l.values().map(function(p){p instanceof G.PrecedencePredicate&&r.push(p)}),r}function ye(l){return ye=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},ye(l)}function te(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(ye(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(ye(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),ye(f)==="symbol"?f:String(f)),a)}var f}function he(l,r){if(l===null){var p={state:null,alt:null,context:null,semanticContext:null};return r&&(p.reachesIntoOuterContext=0),p}var a={};return a.state=l.state||null,a.alt=l.alt===void 0?null:l.alt,a.context=l.context||null,a.semanticContext=l.semanticContext||null,r&&(a.reachesIntoOuterContext=l.reachesIntoOuterContext||0,a.precedenceFilterSuppressed=l.precedenceFilterSuppressed||!1),a}var le=function(){function l(a,f){(function(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")})(this,l),this.checkContext(a,f),a=he(a),f=he(f,!0),this.state=a.state!==null?a.state:f.state,this.alt=a.alt!==null?a.alt:f.alt,this.context=a.context!==null?a.context:f.context,this.semanticContext=a.semanticContext!==null?a.semanticContext:f.semanticContext!==null?f.semanticContext:G.NONE,this.reachesIntoOuterContext=f.reachesIntoOuterContext,this.precedenceFilterSuppressed=f.precedenceFilterSuppressed}var r,p;return r=l,(p=[{key:"checkContext",value:function(a,f){a.context!==null&&a.context!==void 0||f!==null&&f.context!==null&&f.context!==void 0||(this.context=null)}},{key:"hashCode",value:function(){var a=new x;return this.updateHashCode(a),a.finish()}},{key:"updateHashCode",value:function(a){a.update(this.state.stateNumber,this.alt,this.context,this.semanticContext)}},{key:"equals",value:function(a){return this===a||a instanceof l&&this.state.stateNumber===a.state.stateNumber&&this.alt===a.alt&&(this.context===null?a.context===null:this.context.equals(a.context))&&this.semanticContext.equals(a.semanticContext)&&this.precedenceFilterSuppressed===a.precedenceFilterSuppressed}},{key:"hashCodeForConfigSet",value:function(){var a=new x;return a.update(this.state.stateNumber,this.alt,this.semanticContext),a.finish()}},{key:"equalsForConfigSet",value:function(a){return this===a||a instanceof l&&this.state.stateNumber===a.state.stateNumber&&this.alt===a.alt&&this.semanticContext.equals(a.semanticContext)}},{key:"toString",value:function(){return"("+this.state+","+this.alt+(this.context!==null?",["+this.context.toString()+"]":"")+(this.semanticContext!==G.NONE?","+this.semanticContext.toString():"")+(this.reachesIntoOuterContext>0?",up="+this.reachesIntoOuterContext:"")+")"}}])&&te(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function Ae(l){return Ae=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ae(l)}function we(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ae(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ae(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ae(f)==="symbol"?f:String(f)),a)}var f}var _e=function(){function l(a,f){(function(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")})(this,l),this.start=a,this.stop=f}var r,p;return r=l,(p=[{key:"clone",value:function(){return new l(this.start,this.stop)}},{key:"contains",value:function(a){return a>=this.start&&a<this.stop}},{key:"toString",value:function(){return this.start===this.stop-1?this.start.toString():this.start.toString()+".."+(this.stop-1).toString()}},{key:"length",get:function(){return this.stop-this.start}}])&&we(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function Ue(l){return Ue=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ue(l)}function J(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ue(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ue(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ue(f)==="symbol"?f:String(f)),a)}var f}_e.INVALID_INTERVAL=new _e(-1,-2);var ne=function(){function l(){(function(a,f){if(!(a instanceof f))throw new TypeError("Cannot call a class as a function")})(this,l),this.intervals=null,this.readOnly=!1}var r,p;return r=l,(p=[{key:"first",value:function(a){return this.intervals===null||this.intervals.length===0?n.INVALID_TYPE:this.intervals[0].start}},{key:"addOne",value:function(a){this.addInterval(new _e(a,a+1))}},{key:"addRange",value:function(a,f){this.addInterval(new _e(a,f+1))}},{key:"addInterval",value:function(a){if(this.intervals===null)this.intervals=[],this.intervals.push(a.clone());else{for(var f=0;f<this.intervals.length;f++){var c=this.intervals[f];if(a.stop<c.start)return void this.intervals.splice(f,0,a);if(a.stop===c.start)return void(this.intervals[f]=new _e(a.start,c.stop));if(a.start<=c.stop)return this.intervals[f]=new _e(Math.min(c.start,a.start),Math.max(c.stop,a.stop)),void this.reduce(f)}this.intervals.push(a.clone())}}},{key:"addSet",value:function(a){var f=this;return a.intervals!==null&&a.intervals.forEach(function(c){return f.addInterval(c)},this),this}},{key:"reduce",value:function(a){if(a<this.intervals.length-1){var f=this.intervals[a],c=this.intervals[a+1];f.stop>=c.stop?(this.intervals.splice(a+1,1),this.reduce(a)):f.stop>=c.start&&(this.intervals[a]=new _e(f.start,c.stop),this.intervals.splice(a+1,1))}}},{key:"complement",value:function(a,f){var c=new l;return c.addInterval(new _e(a,f+1)),this.intervals!==null&&this.intervals.forEach(function(d){return c.removeRange(d)}),c}},{key:"contains",value:function(a){if(this.intervals===null)return!1;for(var f=0;f<this.intervals.length;f++)if(this.intervals[f].contains(a))return!0;return!1}},{key:"removeRange",value:function(a){if(a.start===a.stop-1)this.removeOne(a.start);else if(this.intervals!==null)for(var f=0,c=0;c<this.intervals.length;c++){var d=this.intervals[f];if(a.stop<=d.start)return;if(a.start>d.start&&a.stop<d.stop){this.intervals[f]=new _e(d.start,a.start);var i=new _e(a.stop,d.stop);return void this.intervals.splice(f,0,i)}a.start<=d.start&&a.stop>=d.stop?(this.intervals.splice(f,1),f-=1):a.start<d.stop?this.intervals[f]=new _e(d.start,a.start):a.stop<d.stop&&(this.intervals[f]=new _e(a.stop,d.stop)),f+=1}}},{key:"removeOne",value:function(a){if(this.intervals!==null)for(var f=0;f<this.intervals.length;f++){var c=this.intervals[f];if(a<c.start)return;if(a===c.start&&a===c.stop-1)return void this.intervals.splice(f,1);if(a===c.start)return void(this.intervals[f]=new _e(c.start+1,c.stop));if(a===c.stop-1)return void(this.intervals[f]=new _e(c.start,c.stop-1));if(a<c.stop-1){var d=new _e(c.start,a);return c.start=a+1,void this.intervals.splice(f,0,d)}}}},{key:"toString",value:function(a,f,c){return a=a||null,f=f||null,c=c||!1,this.intervals===null?"{}":a!==null||f!==null?this.toTokenString(a,f):c?this.toCharString():this.toIndexString()}},{key:"toCharString",value:function(){for(var a=[],f=0;f<this.intervals.length;f++){var c=this.intervals[f];c.stop===c.start+1?c.start===n.EOF?a.push("<EOF>"):a.push("'"+String.fromCharCode(c.start)+"'"):a.push("'"+String.fromCharCode(c.start)+"'..'"+String.fromCharCode(c.stop-1)+"'")}return a.length>1?"{"+a.join(", ")+"}":a[0]}},{key:"toIndexString",value:function(){for(var a=[],f=0;f<this.intervals.length;f++){var c=this.intervals[f];c.stop===c.start+1?c.start===n.EOF?a.push("<EOF>"):a.push(c.start.toString()):a.push(c.start.toString()+".."+(c.stop-1).toString())}return a.length>1?"{"+a.join(", ")+"}":a[0]}},{key:"toTokenString",value:function(a,f){for(var c=[],d=0;d<this.intervals.length;d++)for(var i=this.intervals[d],s=i.start;s<i.stop;s++)c.push(this.elementName(a,f,s));return c.length>1?"{"+c.join(", ")+"}":c[0]}},{key:"elementName",value:function(a,f,c){return c===n.EOF?"<EOF>":c===n.EPSILON?"<EPSILON>":a[c]||f[c]}},{key:"length",get:function(){return this.intervals.map(function(a){return a.length}).reduce(function(a,f){return a+f})}}])&&J(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function ae(l){return ae=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},ae(l)}function Ee(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(ae(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(ae(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),ae(f)==="symbol"?f:String(f)),a)}var f}var me=function(){function l(){(function(a,f){if(!(a instanceof f))throw new TypeError("Cannot call a class as a function")})(this,l),this.atn=null,this.stateNumber=l.INVALID_STATE_NUMBER,this.stateType=null,this.ruleIndex=0,this.epsilonOnlyTransitions=!1,this.transitions=[],this.nextTokenWithinRule=null}var r,p;return r=l,(p=[{key:"toString",value:function(){return this.stateNumber}},{key:"equals",value:function(a){return a instanceof l&&this.stateNumber===a.stateNumber}},{key:"isNonGreedyExitState",value:function(){return!1}},{key:"addTransition",value:function(a,f){f===void 0&&(f=-1),this.transitions.length===0?this.epsilonOnlyTransitions=a.isEpsilon:this.epsilonOnlyTransitions!==a.isEpsilon&&(this.epsilonOnlyTransitions=!1),f===-1?this.transitions.push(a):this.transitions.splice(f,1,a)}}])&&Ee(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function At(l){return At=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},At(l)}function jt(l,r){return jt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},jt(l,r)}function Et(l,r){if(r&&(At(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Lt(l)}function Lt(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function gt(l){return gt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},gt(l)}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 Dt=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&jt(d,i)})(c,l);var r,p,a,f=(p=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,i=gt(p);if(a){var s=gt(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return Et(this,d)});function c(){var d;return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,c),(d=f.call(this)).stateType=me.RULE_STOP,Et(d,Lt(d))}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(me);function Jt(l){return Jt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Jt(l)}function ie(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Jt(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Jt(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Jt(f)==="symbol"?f:String(f)),a)}var f}function De(l,r,p){return r&&ie(l.prototype,r),p&&ie(l,p),Object.defineProperty(l,"prototype",{writable:!1}),l}var pe=De(function l(r){if(function(p,a){if(!(p instanceof a))throw new TypeError("Cannot call a class as a function")}(this,l),r==null)throw"target cannot be null.";this.target=r,this.isEpsilon=!1,this.label=null});function bt(l){return bt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},bt(l)}function xt(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(bt(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(bt(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),bt(f)==="symbol"?f:String(f)),a)}var f}function Ct(l,r){return Ct=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Ct(l,r)}function Mn(l){return Mn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Mn(l)}pe.EPSILON=1,pe.RANGE=2,pe.RULE=3,pe.PREDICATE=4,pe.ATOM=5,pe.ACTION=6,pe.SET=7,pe.NOT_SET=8,pe.WILDCARD=9,pe.PRECEDENCE=10,pe.serializationNames=["INVALID","EPSILON","RANGE","RULE","PREDICATE","ATOM","ACTION","SET","NOT_SET","WILDCARD","PRECEDENCE"],pe.serializationTypes={EpsilonTransition:pe.EPSILON,RangeTransition:pe.RANGE,RuleTransition:pe.RULE,PredicateTransition:pe.PREDICATE,AtomTransition:pe.ATOM,ActionTransition:pe.ACTION,SetTransition:pe.SET,NotSetTransition:pe.NOT_SET,WildcardTransition:pe.WILDCARD,PrecedencePredicateTransition:pe.PRECEDENCE};var Zt=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Ct(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=Mn(a);if(f){var v=Mn(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(bt(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i,s,v,S){var E;return function(k,ee){if(!(k instanceof ee))throw new TypeError("Cannot call a class as a function")}(this,d),(E=c.call(this,i)).ruleIndex=s,E.precedence=v,E.followState=S,E.serializationType=pe.RULE,E.isEpsilon=!0,E}return r=d,(p=[{key:"matches",value:function(i,s,v){return!1}}])&&xt(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(pe);function pn(l){return pn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},pn(l)}function Ht(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(pn(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(pn(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),pn(f)==="symbol"?f:String(f)),a)}var f}function It(l,r){return It=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},It(l,r)}function ln(l){return ln=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ln(l)}var Si=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&It(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=ln(a);if(f){var v=ln(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(pn(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i,s){var v;return function(S,E){if(!(S instanceof E))throw new TypeError("Cannot call a class as a function")}(this,d),(v=c.call(this,i)).serializationType=pe.SET,s!=null?v.label=s:(v.label=new ne,v.label.addOne(n.INVALID_TYPE)),v}return r=d,(p=[{key:"matches",value:function(i,s,v){return this.label.contains(i)}},{key:"toString",value:function(){return this.label.toString()}}])&&Ht(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(pe);function L(l){return L=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},L(l)}function ke(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(L(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(L(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),L(f)==="symbol"?f:String(f)),a)}var f}function Be(){return Be=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(l,r,p){var a=function(c,d){for(;!Object.prototype.hasOwnProperty.call(c,d)&&(c=ut(c))!==null;);return c}(l,r);if(a){var f=Object.getOwnPropertyDescriptor(a,r);return f.get?f.get.call(arguments.length<3?l:p):f.value}},Be.apply(this,arguments)}function Le(l,r){return Le=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Le(l,r)}function ut(l){return ut=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ut(l)}var rn=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Le(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=ut(a);if(f){var v=ut(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(L(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i,s){var v;return function(S,E){if(!(S instanceof E))throw new TypeError("Cannot call a class as a function")}(this,d),(v=c.call(this,i,s)).serializationType=pe.NOT_SET,v}return r=d,(p=[{key:"matches",value:function(i,s,v){return i>=s&&i<=v&&!Be(ut(d.prototype),"matches",this).call(this,i,s,v)}},{key:"toString",value:function(){return"~"+Be(ut(d.prototype),"toString",this).call(this)}}])&&ke(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Si);function ft(l){return ft=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},ft(l)}function gn(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(ft(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(ft(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),ft(f)==="symbol"?f:String(f)),a)}var f}function Tn(l,r){return Tn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Tn(l,r)}function ui(l){return ui=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ui(l)}var In=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Tn(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=ui(a);if(f){var v=ui(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(ft(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i){var s;return function(v,S){if(!(v instanceof S))throw new TypeError("Cannot call a class as a function")}(this,d),(s=c.call(this,i)).serializationType=pe.WILDCARD,s}return r=d,(p=[{key:"matches",value:function(i,s,v){return i>=s&&i<=v}},{key:"toString",value:function(){return"."}}])&&gn(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(pe);function fn(l){return fn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},fn(l)}function so(l,r){return so=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},so(l,r)}function Ti(l){return Ti=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Ti(l)}var uo=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&so(d,i)})(c,l);var r,p,a,f=(p=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,i=Ti(p);if(a){var s=Ti(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return function(v,S){if(S&&(fn(S)==="object"||typeof S=="function"))return S;if(S!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}(v)}(this,d)});function c(d){return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,c),f.call(this,d)}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(pe);function vr(l){return vr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},vr(l)}function Gr(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(vr(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(vr(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),vr(f)==="symbol"?f:String(f)),a)}var f}function wo(l,r,p){return r&&Gr(l.prototype,r),p&&Gr(l,p),Object.defineProperty(l,"prototype",{writable:!1}),l}function zi(l){return zi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},zi(l)}function Rr(l,r){return Rr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Rr(l,r)}function ci(l){return ci=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ci(l)}function No(l){return No=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},No(l)}function mt(l,r){return mt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},mt(l,r)}function nr(l){return nr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},nr(l)}var C=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&mt(d,i)})(c,l);var r,p,a,f=(p=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,i=nr(p);if(a){var s=nr(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return function(v,S){if(S&&(No(S)==="object"||typeof S=="function"))return S;if(S!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}(v)}(this,d)});function c(){return function(d,i){if(!(d instanceof i))throw new TypeError("Cannot call a class as a function")}(this,c),f.apply(this,arguments)}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&Rr(d,i)})(c,l);var r,p,a,f=(p=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,i=ci(p);if(a){var s=ci(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return function(v,S){if(S&&(zi(S)==="object"||typeof S=="function"))return S;if(S!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}(v)}(this,d)});function c(){return function(d,i){if(!(d instanceof i))throw new TypeError("Cannot call a class as a function")}(this,c),f.apply(this,arguments)}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(wo(function l(){(function(r,p){if(!(r instanceof p))throw new TypeError("Cannot call a class as a function")})(this,l)})));function j(l){return j=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},j(l)}function z(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(j(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(j(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),j(f)==="symbol"?f:String(f)),a)}var f}function Z(l,r){return Z=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Z(l,r)}function re(l){return re=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},re(l)}var Fe=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Z(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=re(a);if(f){var v=re(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(j(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(){return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,d),c.apply(this,arguments)}return r=d,(p=[{key:"ruleContext",get:function(){throw new Error("missing interface implementation")}}])&&z(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(C);function Ie(l){return Ie=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ie(l)}function rt(l,r){return rt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},rt(l,r)}function Gt(l){return Gt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Gt(l)}var on=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&rt(d,i)})(c,l);var r,p,a,f=(p=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,i=Gt(p);if(a){var s=Gt(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return function(v,S){if(S&&(Ie(S)==="object"||typeof S=="function"))return S;if(S!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}(v)}(this,d)});function c(){return function(d,i){if(!(d instanceof i))throw new TypeError("Cannot call a class as a function")}(this,c),f.apply(this,arguments)}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(C);function bn(l){return bn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},bn(l)}function wr(l,r){return wr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},wr(l,r)}function Bt(l){return Bt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Bt(l)}var Kr=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&wr(d,i)})(c,l);var r,p,a,f=(p=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,i=Bt(p);if(a){var s=Bt(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return function(v,S){if(S&&(bn(S)==="object"||typeof S=="function"))return S;if(S!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}(v)}(this,d)});function c(){return function(d,i){if(!(d instanceof i))throw new TypeError("Cannot call a class as a function")}(this,c),f.apply(this,arguments)}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(on),Er={toStringTree:function(l,r,p){r=r||null,(p=p||null)!==null&&(r=p.ruleNames);var a=Er.getNodeText(l,r);a=function(i,s){return i=i.replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r")}(a);var f=l.getChildCount();if(f===0)return a;var c="("+a+" ";f>0&&(a=Er.toStringTree(l.getChild(0),r),c=c.concat(a));for(var d=1;d<f;d++)a=Er.toStringTree(l.getChild(d),r),c=c.concat(" "+a);return c.concat(")")},getNodeText:function(l,r,p){if(r=r||null,(p=p||null)!==null&&(r=p.ruleNames),r!==null){if(l instanceof Fe){var a=l.ruleContext.getAltNumber();return a!=0?r[l.ruleIndex]+":"+a:r[l.ruleIndex]}if(l instanceof Kr)return l.toString();if(l instanceof on&&l.symbol!==null)return l.symbol.text}var f=l.getPayload();return f instanceof n?f.text:l.getPayload().toString()},getChildren:function(l){for(var r=[],p=0;p<l.getChildCount();p++)r.push(l.getChild(p));return r},getAncestors:function(l){var r=[];for(l=l.getParent();l!==null;)r=[l].concat(r),l=l.getParent();return r},findAllTokenNodes:function(l,r){return Er.findAllNodes(l,r,!0)},findAllRuleNodes:function(l,r){return Er.findAllNodes(l,r,!1)},findAllNodes:function(l,r,p){var a=[];return Er._findAllNodes(l,r,p,a),a},_findAllNodes:function(l,r,p,a){p&&l instanceof on?l.symbol.type===r&&a.push(l):!p&&l instanceof Fe&&l.ruleIndex===r&&a.push(l);for(var f=0;f<l.getChildCount();f++)Er._findAllNodes(l.getChild(f),r,p,a)},descendants:function(l){for(var r=[l],p=0;p<l.getChildCount();p++)r=r.concat(Er.descendants(l.getChild(p)));return r}};const Hu=Er;function $i(l){return $i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},$i(l)}function sf(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if($i(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if($i(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),$i(f)==="symbol"?f:String(f)),a)}var f}function Po(l,r){return Po=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Po(l,r)}function ia(l){return ia=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ia(l)}var Wi=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Po(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=ia(a);if(f){var v=ia(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&($i(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i,s){var v;return function(S,E){if(!(S instanceof E))throw new TypeError("Cannot call a class as a function")}(this,d),(v=c.call(this)).parentCtx=i||null,v.invokingState=s||-1,v}return r=d,(p=[{key:"depth",value:function(){for(var i=0,s=this;s!==null;)s=s.parentCtx,i+=1;return i}},{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(i){return i.getText()}).join("")}},{key:"getAltNumber",value:function(){return 0}},{key:"setAltNumber",value:function(i){}},{key:"getChild",value:function(i){return null}},{key:"getChildCount",value:function(){return 0}},{key:"accept",value:function(i){return i.visitChildren(this)}},{key:"toStringTree",value:function(i,s){return Hu.toStringTree(this,i,s)}},{key:"toString",value:function(i,s){i=i||null,s=s||null;for(var v=this,S="[";v!==null&&v!==s;){if(i===null)v.isEmpty()||(S+=v.invokingState);else{var E=v.ruleIndex;S+=E>=0&&E<i.length?i[E]:""+E}v.parentCtx===null||i===null&&v.parentCtx.isEmpty()||(S+=" "),v=v.parentCtx}return S+"]"}}])&&sf(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Fe);function Io(l){return Io=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Io(l)}function oa(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Io(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Io(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Io(f)==="symbol"?f:String(f)),a)}var f}var it=function(){function l(a){(function(f,c){if(!(f instanceof c))throw new TypeError("Cannot call a class as a function")})(this,l),this.cachedHashCode=a}var r,p;return r=l,(p=[{key:"isEmpty",value:function(){return this===l.EMPTY}},{key:"hasEmptyPath",value:function(){return this.getReturnState(this.length-1)===l.EMPTY_RETURN_STATE}},{key:"hashCode",value:function(){return this.cachedHashCode}},{key:"updateHashCode",value:function(a){a.update(this.cachedHashCode)}}])&&oa(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function B(l){return B=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},B(l)}function H(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(B(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(B(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),B(f)==="symbol"?f:String(f)),a)}var f}function q(l,r){return q=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},q(l,r)}function se(l,r){if(r&&(B(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return be(l)}function be(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function ge(l){return ge=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ge(l)}it.EMPTY=null,it.EMPTY_RETURN_STATE=2147483647,it.globalNodeCount=1,it.id=it.globalNodeCount,it.trace_atn_sim=!1;var ve=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&q(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=ge(a);if(f){var v=ge(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return se(this,i)});function d(i,s){var v;(function(k,ee){if(!(k instanceof ee))throw new TypeError("Cannot call a class as a function")})(this,d);var S=new x;S.update(i,s);var E=S.finish();return(v=c.call(this,E)).parents=i,v.returnStates=s,se(v,be(v))}return r=d,(p=[{key:"isEmpty",value:function(){return this.returnStates[0]===it.EMPTY_RETURN_STATE}},{key:"getParent",value:function(i){return this.parents[i]}},{key:"getReturnState",value:function(i){return this.returnStates[i]}},{key:"equals",value:function(i){return this===i||i instanceof d&&this.hashCode()===i.hashCode()&&o(this.returnStates,i.returnStates)&&o(this.parents,i.parents)}},{key:"toString",value:function(){if(this.isEmpty())return"[]";for(var i="[",s=0;s<this.returnStates.length;s++)s>0&&(i+=", "),this.returnStates[s]!==it.EMPTY_RETURN_STATE?(i+=this.returnStates[s],this.parents[s]!==null?i=i+" "+this.parents[s]:i+="null"):i+="$";return i+"]"}},{key:"length",get:function(){return this.returnStates.length}}])&&H(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(it);function ze(l){return ze=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},ze(l)}function Me(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(ze(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(ze(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),ze(f)==="symbol"?f:String(f)),a)}var f}function ot(l,r){return ot=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},ot(l,r)}function Ut(l){return Ut=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Ut(l)}var ct=function(l){(function(s,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function");s.prototype=Object.create(v&&v.prototype,{constructor:{value:s,writable:!0,configurable:!0}}),Object.defineProperty(s,"prototype",{writable:!1}),v&&ot(s,v)})(i,l);var r,p,a,f,c,d=(f=i,c=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var s,v=Ut(f);if(c){var S=Ut(this).constructor;s=Reflect.construct(v,arguments,S)}else s=v.apply(this,arguments);return function(E,k){if(k&&(ze(k)==="object"||typeof k=="function"))return k;if(k!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(ee){if(ee===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ee}(E)}(this,s)});function i(s,v){var S;(function(ee,Ce){if(!(ee instanceof Ce))throw new TypeError("Cannot call a class as a function")})(this,i);var E,k=new x;return s!==null?k.update(s,v):k.update(1),E=k.finish(),(S=d.call(this,E)).parentCtx=s,S.returnState=v,S}return r=i,a=[{key:"create",value:function(s,v){return v===it.EMPTY_RETURN_STATE&&s===null?it.EMPTY:new i(s,v)}}],(p=[{key:"getParent",value:function(s){return this.parentCtx}},{key:"getReturnState",value:function(s){return this.returnState}},{key:"equals",value:function(s){return this===s||s instanceof i&&this.hashCode()===s.hashCode()&&this.returnState===s.returnState&&(this.parentCtx==null?s.parentCtx==null:this.parentCtx.equals(s.parentCtx))}},{key:"toString",value:function(){var s=this.parentCtx===null?"":this.parentCtx.toString();return s.length===0?this.returnState===it.EMPTY_RETURN_STATE?"$":""+this.returnState:this.returnState+" "+s}},{key:"length",get:function(){return 1}}])&&Me(r.prototype,p),a&&Me(r,a),Object.defineProperty(r,"prototype",{writable:!1}),i}(it);function Kt(l){return Kt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Kt(l)}function An(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Kt(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Kt(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Kt(f)==="symbol"?f:String(f)),a)}var f}function jn(l,r){return jn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},jn(l,r)}function Xn(l){return Xn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Xn(l)}var Nr=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&jn(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=Xn(a);if(f){var v=Xn(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(Kt(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(){return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,d),c.call(this,null,it.EMPTY_RETURN_STATE)}return r=d,(p=[{key:"isEmpty",value:function(){return!0}},{key:"getParent",value:function(i){return null}},{key:"getReturnState",value:function(i){return this.returnState}},{key:"equals",value:function(i){return this===i}},{key:"toString",value:function(){return"$"}}])&&An(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(ct);function zr(l){return zr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},zr(l)}function vs(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(zr(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(zr(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),zr(f)==="symbol"?f:String(f)),a)}var f}it.EMPTY=new Nr;var qn="h-",Xi=function(){function l(a,f){(function(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")})(this,l),this.data={},this.hashFunction=a||P,this.equalsFunction=f||A}var r,p;return r=l,(p=[{key:"set",value:function(a,f){var c=qn+this.hashFunction(a);if(c in this.data){for(var d=this.data[c],i=0;i<d.length;i++){var s=d[i];if(this.equalsFunction(a,s.key)){var v=s.value;return s.value=f,v}}return d.push({key:a,value:f}),f}return this.data[c]=[{key:a,value:f}],f}},{key:"containsKey",value:function(a){var f=qn+this.hashFunction(a);if(f in this.data)for(var c=this.data[f],d=0;d<c.length;d++){var i=c[d];if(this.equalsFunction(a,i.key))return!0}return!1}},{key:"get",value:function(a){var f=qn+this.hashFunction(a);if(f in this.data)for(var c=this.data[f],d=0;d<c.length;d++){var i=c[d];if(this.equalsFunction(a,i.key))return i.value}return null}},{key:"entries",value:function(){var a=this;return Object.keys(this.data).filter(function(f){return f.startsWith(qn)}).flatMap(function(f){return a.data[f]},this)}},{key:"getKeys",value:function(){return this.entries().map(function(a){return a.key})}},{key:"getValues",value:function(){return this.entries().map(function(a){return a.value})}},{key:"toString",value:function(){return"["+this.entries().map(function(a){return"{"+a.key+":"+a.value+"}"}).join(", ")+"]"}},{key:"length",get:function(){var a=this;return Object.keys(this.data).filter(function(f){return f.startsWith(qn)}).map(function(f){return a.data[f].length},this).reduce(function(f,c){return f+c},0)}}])&&vs(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function aa(l,r){if(r==null&&(r=Wi.EMPTY),r.parentCtx===null||r===Wi.EMPTY)return it.EMPTY;var p=aa(l,r.parentCtx),a=l.states[r.invokingState].transitions[0];return ct.create(p,a.followState.stateNumber)}function Gu(l,r,p){if(l.isEmpty())return l;var a=p.get(l)||null;if(a!==null)return a;if((a=r.get(l))!==null)return p.set(l,a),a;for(var f=!1,c=[],d=0;d<c.length;d++){var i=Gu(l.getParent(d),r,p);if(f||i!==l.getParent(d)){if(!f){c=[];for(var s=0;s<l.length;s++)c[s]=l.getParent(s);f=!0}c[d]=i}}if(!f)return r.add(l),p.set(l,l),l;var v;return v=c.length===0?it.EMPTY:c.length===1?ct.create(c[0],l.getReturnState(0)):new ve(c,l.returnStates),r.add(v),p.set(v,v),p.set(l,v),v}function sa(l,r,p,a){if(l===r)return l;if(l instanceof ct&&r instanceof ct)return function(f,c,d,i){if(i!==null){var s=i.get(f,c);if(s!==null||(s=i.get(c,f))!==null)return s}var v=function($e,yn,hn){if(hn){if($e===it.EMPTY||yn===it.EMPTY)return it.EMPTY}else{if($e===it.EMPTY&&yn===it.EMPTY)return it.EMPTY;if($e===it.EMPTY){var Gn=[yn.returnState,it.EMPTY_RETURN_STATE],Fr=[yn.parentCtx,null];return new ve(Fr,Gn)}if(yn===it.EMPTY){var Di=[$e.returnState,it.EMPTY_RETURN_STATE],Ci=[$e.parentCtx,null];return new ve(Ci,Di)}}return null}(f,c,d);if(v!==null)return i!==null&&i.set(f,c,v),v;if(f.returnState===c.returnState){var S=sa(f.parentCtx,c.parentCtx,d,i);if(S===f.parentCtx)return f;if(S===c.parentCtx)return c;var E=ct.create(S,f.returnState);return i!==null&&i.set(f,c,E),E}var k=null;if((f===c||f.parentCtx!==null&&f.parentCtx===c.parentCtx)&&(k=f.parentCtx),k!==null){var ee=[f.returnState,c.returnState];f.returnState>c.returnState&&(ee[0]=c.returnState,ee[1]=f.returnState);var Ce=new ve([k,k],ee);return i!==null&&i.set(f,c,Ce),Ce}var xe=[f.returnState,c.returnState],Ge=[f.parentCtx,c.parentCtx];f.returnState>c.returnState&&(xe[0]=c.returnState,xe[1]=f.returnState,Ge=[c.parentCtx,f.parentCtx]);var at=new ve(Ge,xe);return i!==null&&i.set(f,c,at),at}(l,r,p,a);if(p){if(l instanceof Nr)return l;if(r instanceof Nr)return r}return l instanceof ct&&(l=new ve([l.getParent()],[l.returnState])),r instanceof ct&&(r=new ve([r.getParent()],[r.returnState])),function(f,c,d,i){if(i!==null){var s=i.get(f,c);if(s!==null||(s=i.get(c,f))!==null)return it.trace_atn_sim&&console.log("mergeArrays a="+f+",b="+c+" -> previous"),s}for(var v=0,S=0,E=0,k=new Array(f.returnStates.length+c.returnStates.length).fill(0),ee=new Array(f.returnStates.length+c.returnStates.length).fill(null);v<f.returnStates.length&&S<c.returnStates.length;){var Ce=f.parents[v],xe=c.parents[S];if(f.returnStates[v]===c.returnStates[S]){var Ge=f.returnStates[v];Ge===it.EMPTY_RETURN_STATE&&Ce===null&&xe===null||Ce!==null&&xe!==null&&Ce===xe?(ee[E]=Ce,k[E]=Ge):(ee[E]=sa(Ce,xe,d,i),k[E]=Ge),v+=1,S+=1}else f.returnStates[v]<c.returnStates[S]?(ee[E]=Ce,k[E]=f.returnStates[v],v+=1):(ee[E]=xe,k[E]=c.returnStates[S],S+=1);E+=1}if(v<f.returnStates.length)for(var at=v;at<f.returnStates.length;at++)ee[E]=f.parents[at],k[E]=f.returnStates[at],E+=1;else for(var $e=S;$e<c.returnStates.length;$e++)ee[E]=c.parents[$e],k[E]=c.returnStates[$e],E+=1;if(E<ee.length){if(E===1){var yn=ct.create(ee[0],k[0]);return i!==null&&i.set(f,c,yn),yn}ee=ee.slice(0,E),k=k.slice(0,E)}var hn=new ve(ee,k);return hn.equals(f)?(i!==null&&i.set(f,c,f),it.trace_atn_sim&&console.log("mergeArrays a="+f+",b="+c+" -> a"),f):hn.equals(c)?(i!==null&&i.set(f,c,c),it.trace_atn_sim&&console.log("mergeArrays a="+f+",b="+c+" -> b"),c):(function(Gn){for(var Fr=new Xi,Di=0;Di<Gn.length;Di++){var Ci=Gn[Di];Fr.containsKey(Ci)||Fr.set(Ci,Ci)}for(var Sr=0;Sr<Gn.length;Sr++)Gn[Sr]=Fr.get(Gn[Sr])}(ee),i!==null&&i.set(f,c,hn),it.trace_atn_sim&&console.log("mergeArrays a="+f+",b="+c+" -> "+hn),hn)}(l,r,p,a)}function qi(l){return qi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},qi(l)}function Yi(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(qi(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(qi(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),qi(f)==="symbol"?f:String(f)),a)}var f}var Pr=function(){function l(){(function(a,f){if(!(a instanceof f))throw new TypeError("Cannot call a class as a function")})(this,l),this.data=[]}var r,p;return r=l,(p=[{key:"add",value:function(a){this.data[a]=!0}},{key:"or",value:function(a){var f=this;Object.keys(a.data).map(function(c){return f.add(c)},this)}},{key:"remove",value:function(a){delete this.data[a]}},{key:"has",value:function(a){return this.data[a]===!0}},{key:"values",value:function(){return Object.keys(this.data)}},{key:"minValue",value:function(){return Math.min.apply(null,this.values())}},{key:"hashCode",value:function(){return x.hashStuff(this.values())}},{key:"equals",value:function(a){return a instanceof l&&o(this.data,a.data)}},{key:"toString",value:function(){return"{"+this.values().join(", ")+"}"}},{key:"length",get:function(){return this.values().length}}])&&Yi(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function co(l){return co=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},co(l)}function Ku(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(co(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(co(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),co(f)==="symbol"?f:String(f)),a)}var f}var Fo=function(){function l(a){(function(f,c){if(!(f instanceof c))throw new TypeError("Cannot call a class as a function")})(this,l),this.atn=a}var r,p;return r=l,(p=[{key:"getDecisionLookahead",value:function(a){if(a===null)return null;for(var f=a.transitions.length,c=[],d=0;d<f;d++){c[d]=new ne;var i=new g;this._LOOK(a.transition(d).target,null,it.EMPTY,c[d],i,new Pr,!1,!1),(c[d].length===0||c[d].contains(l.HIT_PRED))&&(c[d]=null)}return c}},{key:"LOOK",value:function(a,f,c){var d=new ne,i=(c=c||null)!==null?aa(a.atn,c):null;return this._LOOK(a,f,i,d,new g,new Pr,!0,!0),d}},{key:"_LOOK",value:function(a,f,c,d,i,s,v,S){var E=new le({state:a,alt:0,context:c},null);if(!i.has(E)){if(i.add(E),a===f){if(c===null)return void d.addOne(n.EPSILON);if(c.isEmpty()&&S)return void d.addOne(n.EOF)}if(a instanceof Dt){if(c===null)return void d.addOne(n.EPSILON);if(c.isEmpty()&&S)return void d.addOne(n.EOF);if(c!==it.EMPTY){var k=s.has(a.ruleIndex);try{s.remove(a.ruleIndex);for(var ee=0;ee<c.length;ee++){var Ce=this.atn.states[c.getReturnState(ee)];this._LOOK(Ce,f,c.getParent(ee),d,i,s,v,S)}}finally{k&&s.add(a.ruleIndex)}return}}for(var xe=0;xe<a.transitions.length;xe++){var Ge=a.transitions[xe];if(Ge.constructor===Zt){if(s.has(Ge.target.ruleIndex))continue;var at=ct.create(c,Ge.followState.stateNumber);try{s.add(Ge.target.ruleIndex),this._LOOK(Ge.target,f,at,d,i,s,v,S)}finally{s.remove(Ge.target.ruleIndex)}}else if(Ge instanceof uo)v?this._LOOK(Ge.target,f,c,d,i,s,v,S):d.addOne(l.HIT_PRED);else if(Ge.isEpsilon)this._LOOK(Ge.target,f,c,d,i,s,v,S);else if(Ge.constructor===In)d.addRange(n.MIN_USER_TOKEN_TYPE,this.atn.maxTokenType);else{var $e=Ge.label;$e!==null&&(Ge instanceof rn&&($e=$e.complement(n.MIN_USER_TOKEN_TYPE,this.atn.maxTokenType)),d.addSet($e))}}}}}])&&Ku(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function Es(l){return Es=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Es(l)}function c0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Es(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Es(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Es(f)==="symbol"?f:String(f)),a)}var f}Fo.HIT_PRED=n.INVALID_TYPE;var dn=function(){function l(a,f){(function(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")})(this,l),this.grammarType=a,this.maxTokenType=f,this.states=[],this.decisionToState=[],this.ruleToStartState=[],this.ruleToStopState=null,this.modeNameToStartState={},this.ruleToTokenType=null,this.lexerActions=null,this.modeToStartState=[]}var r,p;return r=l,(p=[{key:"nextTokensInContext",value:function(a,f){return new Fo(this).LOOK(a,null,f)}},{key:"nextTokensNoContext",value:function(a){return a.nextTokenWithinRule!==null||(a.nextTokenWithinRule=this.nextTokensInContext(a,null),a.nextTokenWithinRule.readOnly=!0),a.nextTokenWithinRule}},{key:"nextTokens",value:function(a,f){return f===void 0?this.nextTokensNoContext(a):this.nextTokensInContext(a,f)}},{key:"addState",value:function(a){a!==null&&(a.atn=this,a.stateNumber=this.states.length),this.states.push(a)}},{key:"removeState",value:function(a){this.states[a.stateNumber]=null}},{key:"defineDecisionState",value:function(a){return this.decisionToState.push(a),a.decision=this.decisionToState.length-1,a.decision}},{key:"getDecisionState",value:function(a){return this.decisionToState.length===0?null:this.decisionToState[a]}},{key:"getExpectedTokens",value:function(a,f){if(a<0||a>=this.states.length)throw"Invalid state number.";var c=this.states[a],d=this.nextTokens(c);if(!d.contains(n.EPSILON))return d;var i=new ne;for(i.addSet(d),i.removeOne(n.EPSILON);f!==null&&f.invokingState>=0&&d.contains(n.EPSILON);){var s=this.states[f.invokingState].transitions[0];d=this.nextTokens(s.followState),i.addSet(d),i.removeOne(n.EPSILON),f=f.parentCtx}return d.contains(n.EPSILON)&&i.addOne(n.EOF),i}}])&&c0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();dn.INVALID_ALT_NUMBER=0;function uf(l){return uf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},uf(l)}function cf(l,r){return cf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},cf(l,r)}function zu(l){return zu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},zu(l)}var Td=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&cf(d,i)})(c,l);var r,p,a,f=(p=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,i=zu(p);if(a){var s=zu(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return function(v,S){if(S&&(uf(S)==="object"||typeof S=="function"))return S;if(S!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}(v)}(this,d)});function c(){var d;return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,c),(d=f.call(this)).stateType=me.BASIC,d}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(me);function lf(l){return lf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},lf(l)}function ff(l,r){return ff=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},ff(l,r)}function Ad(l,r){if(r&&(lf(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return xd(l)}function xd(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function $u(l){return $u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},$u(l)}var ua=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&ff(d,i)})(c,l);var r,p,a,f=(p=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,i=$u(p);if(a){var s=$u(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return Ad(this,d)});function c(){var d;return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,c),(d=f.call(this)).decision=-1,d.nonGreedy=!1,Ad(d,xd(d))}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(me);function hf(l){return hf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},hf(l)}function pf(l,r){return pf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},pf(l,r)}function Od(l,r){if(r&&(hf(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Dd(l)}function Dd(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function Wu(l){return Wu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Wu(l)}var ca=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&pf(d,i)})(c,l);var r,p,a,f=(p=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,i=Wu(p);if(a){var s=Wu(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return Od(this,d)});function c(){var d;return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,c),(d=f.call(this)).endState=null,Od(d,Dd(d))}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(ua);function df(l){return df=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},df(l)}function yf(l,r){return yf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},yf(l,r)}function Cd(l,r){if(r&&(df(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return kd(l)}function kd(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function Xu(l){return Xu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Xu(l)}var mf=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&yf(d,i)})(c,l);var r,p,a,f=(p=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,i=Xu(p);if(a){var s=Xu(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return Cd(this,d)});function c(){var d;return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,c),(d=f.call(this)).stateType=me.BLOCK_END,d.startState=null,Cd(d,kd(d))}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(me);function _f(l){return _f=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_f(l)}function gf(l,r){return gf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},gf(l,r)}function Rd(l,r){if(r&&(_f(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return wd(l)}function wd(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function qu(l){return qu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},qu(l)}var la=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&gf(d,i)})(c,l);var r,p,a,f=(p=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,i=qu(p);if(a){var s=qu(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return Rd(this,d)});function c(){var d;return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,c),(d=f.call(this)).stateType=me.LOOP_END,d.loopBackState=null,Rd(d,wd(d))}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(me);function bf(l){return bf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},bf(l)}function vf(l,r){return vf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},vf(l,r)}function Nd(l,r){if(r&&(bf(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Pd(l)}function Pd(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function Yu(l){return Yu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Yu(l)}var Id=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&vf(d,i)})(c,l);var r,p,a,f=(p=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,i=Yu(p);if(a){var s=Yu(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return Nd(this,d)});function c(){var d;return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,c),(d=f.call(this)).stateType=me.RULE_START,d.stopState=null,d.isPrecedenceRule=!1,Nd(d,Pd(d))}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(me);function Ef(l){return Ef=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ef(l)}function Sf(l,r){return Sf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Sf(l,r)}function Fd(l,r){if(r&&(Ef(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Md(l)}function Md(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function Ju(l){return Ju=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Ju(l)}var l0=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&Sf(d,i)})(c,l);var r,p,a,f=(p=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,i=Ju(p);if(a){var s=Ju(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return Fd(this,d)});function c(){var d;return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,c),(d=f.call(this)).stateType=me.TOKEN_START,Fd(d,Md(d))}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(ua);function Tf(l){return Tf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Tf(l)}function Af(l,r){return Af=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Af(l,r)}function Ld(l,r){if(r&&(Tf(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Bd(l)}function Bd(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function Zu(l){return Zu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Zu(l)}var Ud=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&Af(d,i)})(c,l);var r,p,a,f=(p=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,i=Zu(p);if(a){var s=Zu(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return Ld(this,d)});function c(){var d;return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,c),(d=f.call(this)).stateType=me.PLUS_LOOP_BACK,Ld(d,Bd(d))}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(ua);function xf(l){return xf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},xf(l)}function Of(l,r){return Of=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Of(l,r)}function Vd(l,r){if(r&&(xf(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return jd(l)}function jd(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function Qu(l){return Qu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Qu(l)}var Df=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&Of(d,i)})(c,l);var r,p,a,f=(p=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,i=Qu(p);if(a){var s=Qu(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return Vd(this,d)});function c(){var d;return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,c),(d=f.call(this)).stateType=me.STAR_LOOP_BACK,Vd(d,jd(d))}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(me);function Cf(l){return Cf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Cf(l)}function kf(l,r){return kf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},kf(l,r)}function Hd(l,r){if(r&&(Cf(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Gd(l)}function Gd(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function ec(l){return ec=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ec(l)}var Mo=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&kf(d,i)})(c,l);var r,p,a,f=(p=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,i=ec(p);if(a){var s=ec(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return Hd(this,d)});function c(){var d;return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,c),(d=f.call(this)).stateType=me.STAR_LOOP_ENTRY,d.loopBackState=null,d.isPrecedenceDecision=null,Hd(d,Gd(d))}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(ua);function Rf(l){return Rf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Rf(l)}function wf(l,r){return wf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},wf(l,r)}function Kd(l,r){if(r&&(Rf(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return zd(l)}function zd(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function tc(l){return tc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},tc(l)}var Nf=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&wf(d,i)})(c,l);var r,p,a,f=(p=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,i=tc(p);if(a){var s=tc(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return Kd(this,d)});function c(){var d;return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,c),(d=f.call(this)).stateType=me.PLUS_BLOCK_START,d.loopBackState=null,Kd(d,zd(d))}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(ca);function Pf(l){return Pf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Pf(l)}function If(l,r){return If=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},If(l,r)}function $d(l,r){if(r&&(Pf(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Wd(l)}function Wd(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function nc(l){return nc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},nc(l)}var Ff=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&If(d,i)})(c,l);var r,p,a,f=(p=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,i=nc(p);if(a){var s=nc(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return $d(this,d)});function c(){var d;return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,c),(d=f.call(this)).stateType=me.STAR_BLOCK_START,$d(d,Wd(d))}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(ca);function Mf(l){return Mf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Mf(l)}function Lf(l,r){return Lf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Lf(l,r)}function Xd(l,r){if(r&&(Mf(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return qd(l)}function qd(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function rc(l){return rc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},rc(l)}var Yd=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&Lf(d,i)})(c,l);var r,p,a,f=(p=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,i=rc(p);if(a){var s=rc(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return Xd(this,d)});function c(){var d;return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,c),(d=f.call(this)).stateType=me.BLOCK_START,Xd(d,qd(d))}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(ca);function fa(l){return fa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},fa(l)}function f0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(fa(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(fa(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),fa(f)==="symbol"?f:String(f)),a)}var f}function Bf(l,r){return Bf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Bf(l,r)}function ic(l){return ic=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ic(l)}var Uf=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Bf(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=ic(a);if(f){var v=ic(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(fa(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i,s){var v;return function(S,E){if(!(S instanceof E))throw new TypeError("Cannot call a class as a function")}(this,d),(v=c.call(this,i)).label_=s,v.label=v.makeLabel(),v.serializationType=pe.ATOM,v}return r=d,(p=[{key:"makeLabel",value:function(){var i=new ne;return i.addOne(this.label_),i}},{key:"matches",value:function(i,s,v){return this.label_===i}},{key:"toString",value:function(){return this.label_}}])&&f0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(pe);function ha(l){return ha=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},ha(l)}function h0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(ha(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(ha(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),ha(f)==="symbol"?f:String(f)),a)}var f}function Vf(l,r){return Vf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Vf(l,r)}function oc(l){return oc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},oc(l)}var p0=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Vf(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=oc(a);if(f){var v=oc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(ha(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i,s,v){var S;return function(E,k){if(!(E instanceof k))throw new TypeError("Cannot call a class as a function")}(this,d),(S=c.call(this,i)).serializationType=pe.RANGE,S.start=s,S.stop=v,S.label=S.makeLabel(),S}return r=d,(p=[{key:"makeLabel",value:function(){var i=new ne;return i.addRange(this.start,this.stop),i}},{key:"matches",value:function(i,s,v){return i>=this.start&&i<=this.stop}},{key:"toString",value:function(){return"'"+String.fromCharCode(this.start)+"'..'"+String.fromCharCode(this.stop)+"'"}}])&&h0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(pe);function pa(l){return pa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},pa(l)}function d0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(pa(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(pa(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),pa(f)==="symbol"?f:String(f)),a)}var f}function jf(l,r){return jf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},jf(l,r)}function ac(l){return ac=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ac(l)}var Jd=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&jf(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=ac(a);if(f){var v=ac(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(pa(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i,s,v,S){var E;return function(k,ee){if(!(k instanceof ee))throw new TypeError("Cannot call a class as a function")}(this,d),(E=c.call(this,i)).serializationType=pe.ACTION,E.ruleIndex=s,E.actionIndex=v===void 0?-1:v,E.isCtxDependent=S!==void 0&&S,E.isEpsilon=!0,E}return r=d,(p=[{key:"matches",value:function(i,s,v){return!1}},{key:"toString",value:function(){return"action_"+this.ruleIndex+":"+this.actionIndex}}])&&d0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(pe);function da(l){return da=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},da(l)}function y0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(da(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(da(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),da(f)==="symbol"?f:String(f)),a)}var f}function Hf(l,r){return Hf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Hf(l,r)}function sc(l){return sc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},sc(l)}var Ss=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Hf(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=sc(a);if(f){var v=sc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(da(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i,s){var v;return function(S,E){if(!(S instanceof E))throw new TypeError("Cannot call a class as a function")}(this,d),(v=c.call(this,i)).serializationType=pe.EPSILON,v.isEpsilon=!0,v.outermostPrecedenceReturn=s,v}return r=d,(p=[{key:"matches",value:function(i,s,v){return!1}},{key:"toString",value:function(){return"epsilon"}}])&&y0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(pe);function ya(l){return ya=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},ya(l)}function m0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(ya(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(ya(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),ya(f)==="symbol"?f:String(f)),a)}var f}function Gf(l,r){return Gf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Gf(l,r)}function uc(l){return uc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},uc(l)}var Zd=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Gf(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=uc(a);if(f){var v=uc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(ya(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i,s,v){var S;return function(E,k){if(!(E instanceof k))throw new TypeError("Cannot call a class as a function")}(this,d),(S=c.call(this)).ruleIndex=i===void 0?-1:i,S.predIndex=s===void 0?-1:s,S.isCtxDependent=v!==void 0&&v,S}return r=d,(p=[{key:"evaluate",value:function(i,s){var v=this.isCtxDependent?s:null;return i.sempred(v,this.ruleIndex,this.predIndex)}},{key:"updateHashCode",value:function(i){i.update(this.ruleIndex,this.predIndex,this.isCtxDependent)}},{key:"equals",value:function(i){return this===i||i instanceof d&&this.ruleIndex===i.ruleIndex&&this.predIndex===i.predIndex&&this.isCtxDependent===i.isCtxDependent}},{key:"toString",value:function(){return"{"+this.ruleIndex+":"+this.predIndex+"}?"}}])&&m0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(G);function ma(l){return ma=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},ma(l)}function _0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(ma(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(ma(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),ma(f)==="symbol"?f:String(f)),a)}var f}function Kf(l,r){return Kf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Kf(l,r)}function cc(l){return cc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},cc(l)}G.NONE=new Zd;var Qd=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Kf(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=cc(a);if(f){var v=cc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(ma(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i,s,v,S){var E;return function(k,ee){if(!(k instanceof ee))throw new TypeError("Cannot call a class as a function")}(this,d),(E=c.call(this,i)).serializationType=pe.PREDICATE,E.ruleIndex=s,E.predIndex=v,E.isCtxDependent=S,E.isEpsilon=!0,E}return r=d,(p=[{key:"matches",value:function(i,s,v){return!1}},{key:"getPredicate",value:function(){return new Zd(this.ruleIndex,this.predIndex,this.isCtxDependent)}},{key:"toString",value:function(){return"pred_"+this.ruleIndex+":"+this.predIndex}}])&&_0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(uo);function _a(l){return _a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_a(l)}function g0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(_a(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(_a(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),_a(f)==="symbol"?f:String(f)),a)}var f}function zf(l,r){return zf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},zf(l,r)}function lc(l){return lc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},lc(l)}var ey=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&zf(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=lc(a);if(f){var v=lc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(_a(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i){var s;return function(v,S){if(!(v instanceof S))throw new TypeError("Cannot call a class as a function")}(this,d),(s=c.call(this)).precedence=i===void 0?0:i,s}return r=d,(p=[{key:"evaluate",value:function(i,s){return i.precpred(s,this.precedence)}},{key:"evalPrecedence",value:function(i,s){return i.precpred(s,this.precedence)?G.NONE:null}},{key:"compareTo",value:function(i){return this.precedence-i.precedence}},{key:"updateHashCode",value:function(i){i.update(this.precedence)}},{key:"equals",value:function(i){return this===i||i instanceof d&&this.precedence===i.precedence}},{key:"toString",value:function(){return"{"+this.precedence+">=prec}?"}}])&&g0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(G);function ga(l){return ga=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},ga(l)}function b0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(ga(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(ga(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),ga(f)==="symbol"?f:String(f)),a)}var f}function $f(l,r){return $f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},$f(l,r)}function fc(l){return fc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},fc(l)}G.PrecedencePredicate=ey;var v0=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&$f(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=fc(a);if(f){var v=fc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(ga(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i,s){var v;return function(S,E){if(!(S instanceof E))throw new TypeError("Cannot call a class as a function")}(this,d),(v=c.call(this,i)).serializationType=pe.PRECEDENCE,v.precedence=s,v.isEpsilon=!0,v}return r=d,(p=[{key:"matches",value:function(i,s,v){return!1}},{key:"getPredicate",value:function(){return new ey(this.precedence)}},{key:"toString",value:function(){return this.precedence+" >= _p"}}])&&b0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(uo);function Ts(l){return Ts=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ts(l)}function ty(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ts(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ts(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ts(f)==="symbol"?f:String(f)),a)}var f}function E0(l,r,p){return r&&ty(l.prototype,r),p&&ty(l,p),Object.defineProperty(l,"prototype",{writable:!1}),l}var As=E0(function l(r){(function(p,a){if(!(p instanceof a))throw new TypeError("Cannot call a class as a function")})(this,l),r===void 0&&(r=null),this.readOnly=!1,this.verifyATN=r===null||r.verifyATN,this.generateRuleBypassTransitions=r!==null&&r.generateRuleBypassTransitions});As.defaultOptions=new As,As.defaultOptions.readOnly=!0;function xs(l){return xs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},xs(l)}function S0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(xs(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(xs(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),xs(f)==="symbol"?f:String(f)),a)}var f}var Ji=function(){function l(a){(function(f,c){if(!(f instanceof c))throw new TypeError("Cannot call a class as a function")})(this,l),this.actionType=a,this.isPositionDependent=!1}var r,p;return r=l,(p=[{key:"hashCode",value:function(){var a=new x;return this.updateHashCode(a),a.finish()}},{key:"updateHashCode",value:function(a){a.update(this.actionType)}},{key:"equals",value:function(a){return this===a}}])&&S0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function ba(l){return ba=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},ba(l)}function T0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(ba(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(ba(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),ba(f)==="symbol"?f:String(f)),a)}var f}function Wf(l,r){return Wf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Wf(l,r)}function hc(l){return hc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},hc(l)}var Xf=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Wf(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=hc(a);if(f){var v=hc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(ba(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(){return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,d),c.call(this,6)}return r=d,(p=[{key:"execute",value:function(i){i.skip()}},{key:"toString",value:function(){return"skip"}}])&&T0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Ji);function va(l){return va=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},va(l)}function A0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(va(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(va(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),va(f)==="symbol"?f:String(f)),a)}var f}function qf(l,r){return qf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},qf(l,r)}function pc(l){return pc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},pc(l)}Xf.INSTANCE=new Xf;var x0=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&qf(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=pc(a);if(f){var v=pc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(va(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i){var s;return function(v,S){if(!(v instanceof S))throw new TypeError("Cannot call a class as a function")}(this,d),(s=c.call(this,0)).channel=i,s}return r=d,(p=[{key:"execute",value:function(i){i._channel=this.channel}},{key:"updateHashCode",value:function(i){i.update(this.actionType,this.channel)}},{key:"equals",value:function(i){return this===i||i instanceof d&&this.channel===i.channel}},{key:"toString",value:function(){return"channel("+this.channel+")"}}])&&A0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Ji);function Ea(l){return Ea=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ea(l)}function O0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ea(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ea(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ea(f)==="symbol"?f:String(f)),a)}var f}function Yf(l,r){return Yf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Yf(l,r)}function dc(l){return dc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},dc(l)}var D0=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Yf(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=dc(a);if(f){var v=dc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(Ea(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i,s){var v;return function(S,E){if(!(S instanceof E))throw new TypeError("Cannot call a class as a function")}(this,d),(v=c.call(this,1)).ruleIndex=i,v.actionIndex=s,v.isPositionDependent=!0,v}return r=d,(p=[{key:"execute",value:function(i){i.action(null,this.ruleIndex,this.actionIndex)}},{key:"updateHashCode",value:function(i){i.update(this.actionType,this.ruleIndex,this.actionIndex)}},{key:"equals",value:function(i){return this===i||i instanceof d&&this.ruleIndex===i.ruleIndex&&this.actionIndex===i.actionIndex}}])&&O0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Ji);function Sa(l){return Sa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Sa(l)}function C0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Sa(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Sa(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Sa(f)==="symbol"?f:String(f)),a)}var f}function Jf(l,r){return Jf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Jf(l,r)}function yc(l){return yc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},yc(l)}var Zf=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Jf(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=yc(a);if(f){var v=yc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(Sa(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(){return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,d),c.call(this,3)}return r=d,(p=[{key:"execute",value:function(i){i.more()}},{key:"toString",value:function(){return"more"}}])&&C0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Ji);function Ta(l){return Ta=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ta(l)}function k0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ta(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ta(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ta(f)==="symbol"?f:String(f)),a)}var f}function Qf(l,r){return Qf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Qf(l,r)}function mc(l){return mc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},mc(l)}Zf.INSTANCE=new Zf;var R0=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Qf(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=mc(a);if(f){var v=mc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(Ta(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i){var s;return function(v,S){if(!(v instanceof S))throw new TypeError("Cannot call a class as a function")}(this,d),(s=c.call(this,7)).type=i,s}return r=d,(p=[{key:"execute",value:function(i){i.type=this.type}},{key:"updateHashCode",value:function(i){i.update(this.actionType,this.type)}},{key:"equals",value:function(i){return this===i||i instanceof d&&this.type===i.type}},{key:"toString",value:function(){return"type("+this.type+")"}}])&&k0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Ji);function Aa(l){return Aa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Aa(l)}function w0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Aa(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Aa(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Aa(f)==="symbol"?f:String(f)),a)}var f}function eh(l,r){return eh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},eh(l,r)}function _c(l){return _c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},_c(l)}var N0=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&eh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=_c(a);if(f){var v=_c(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(Aa(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i){var s;return function(v,S){if(!(v instanceof S))throw new TypeError("Cannot call a class as a function")}(this,d),(s=c.call(this,5)).mode=i,s}return r=d,(p=[{key:"execute",value:function(i){i.pushMode(this.mode)}},{key:"updateHashCode",value:function(i){i.update(this.actionType,this.mode)}},{key:"equals",value:function(i){return this===i||i instanceof d&&this.mode===i.mode}},{key:"toString",value:function(){return"pushMode("+this.mode+")"}}])&&w0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Ji);function xa(l){return xa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},xa(l)}function P0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(xa(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(xa(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),xa(f)==="symbol"?f:String(f)),a)}var f}function th(l,r){return th=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},th(l,r)}function gc(l){return gc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},gc(l)}var nh=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&th(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=gc(a);if(f){var v=gc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(xa(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(){return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,d),c.call(this,4)}return r=d,(p=[{key:"execute",value:function(i){i.popMode()}},{key:"toString",value:function(){return"popMode"}}])&&P0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Ji);function Oa(l){return Oa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Oa(l)}function I0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Oa(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Oa(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Oa(f)==="symbol"?f:String(f)),a)}var f}function rh(l,r){return rh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},rh(l,r)}function bc(l){return bc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},bc(l)}nh.INSTANCE=new nh;var F0=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&rh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=bc(a);if(f){var v=bc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(Oa(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i){var s;return function(v,S){if(!(v instanceof S))throw new TypeError("Cannot call a class as a function")}(this,d),(s=c.call(this,2)).mode=i,s}return r=d,(p=[{key:"execute",value:function(i){i.mode(this.mode)}},{key:"updateHashCode",value:function(i){i.update(this.actionType,this.mode)}},{key:"equals",value:function(i){return this===i||i instanceof d&&this.mode===i.mode}},{key:"toString",value:function(){return"mode("+this.mode+")"}}])&&I0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Ji);function Os(l){return Os=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Os(l)}function M0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Os(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Os(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Os(f)==="symbol"?f:String(f)),a)}var f}function vc(l,r){var p=[];return p[l-1]=r,p.map(function(a){return r})}var ih=function(){function l(a){(function(f,c){if(!(f instanceof c))throw new TypeError("Cannot call a class as a function")})(this,l),a==null&&(a=As.defaultOptions),this.deserializationOptions=a,this.stateFactories=null,this.actionFactories=null}var r,p;return r=l,p=[{key:"deserialize",value:function(a){var f=this.reset(a);this.checkVersion(f),f&&this.skipUUID();var c=this.readATN();this.readStates(c,f),this.readRules(c,f),this.readModes(c);var d=[];return this.readSets(c,d,this.readInt.bind(this)),f&&this.readSets(c,d,this.readInt32.bind(this)),this.readEdges(c,d),this.readDecisions(c),this.readLexerActions(c,f),this.markPrecedenceDecisions(c),this.verifyATN(c),this.deserializationOptions.generateRuleBypassTransitions&&c.grammarType===1&&(this.generateRuleBypassTransitions(c),this.verifyATN(c)),c}},{key:"reset",value:function(a){if((a.charCodeAt?a.charCodeAt(0):a[0])===3){var f=a.split("").map(function(c){var d=c.charCodeAt(0);return d>1?d-2:d+65534});return f[0]=a.charCodeAt(0),this.data=f,this.pos=0,!0}return this.data=a,this.pos=0,!1}},{key:"skipUUID",value:function(){for(var a=0;a++<8;)this.readInt()}},{key:"checkVersion",value:function(a){var f=this.readInt();if(!a&&f!==4)throw"Could not deserialize ATN with version "+f+" (expected 4)."}},{key:"readATN",value:function(){var a=this.readInt(),f=this.readInt();return new dn(a,f)}},{key:"readStates",value:function(a,f){for(var c,d,i,s=[],v=[],S=this.readInt(),E=0;E<S;E++){var k=this.readInt();if(k!==me.INVALID_TYPE){var ee=this.readInt();f&&ee===65535&&(ee=-1);var Ce=this.stateFactory(k,ee);if(k===me.LOOP_END){var xe=this.readInt();s.push([Ce,xe])}else if(Ce instanceof ca){var Ge=this.readInt();v.push([Ce,Ge])}a.addState(Ce)}else a.addState(null)}for(c=0;c<s.length;c++)(d=s[c])[0].loopBackState=a.states[d[1]];for(c=0;c<v.length;c++)(d=v[c])[0].endState=a.states[d[1]];var at=this.readInt();for(c=0;c<at;c++)i=this.readInt(),a.states[i].nonGreedy=!0;var $e=this.readInt();for(c=0;c<$e;c++)i=this.readInt(),a.states[i].isPrecedenceRule=!0}},{key:"readRules",value:function(a,f){var c,d=this.readInt();for(a.grammarType===0&&(a.ruleToTokenType=vc(d,0)),a.ruleToStartState=vc(d,0),c=0;c<d;c++){var i=this.readInt();if(a.ruleToStartState[c]=a.states[i],a.grammarType===0){var s=this.readInt();f&&s===65535&&(s=n.EOF),a.ruleToTokenType[c]=s}}for(a.ruleToStopState=vc(d,0),c=0;c<a.states.length;c++){var v=a.states[c];v instanceof Dt&&(a.ruleToStopState[v.ruleIndex]=v,a.ruleToStartState[v.ruleIndex].stopState=v)}}},{key:"readModes",value:function(a){for(var f=this.readInt(),c=0;c<f;c++){var d=this.readInt();a.modeToStartState.push(a.states[d])}}},{key:"readSets",value:function(a,f,c){for(var d=this.readInt(),i=0;i<d;i++){var s=new ne;f.push(s);var v=this.readInt();this.readInt()!==0&&s.addOne(-1);for(var S=0;S<v;S++){var E=c(),k=c();s.addRange(E,k)}}}},{key:"readEdges",value:function(a,f){var c,d,i,s,v,S=this.readInt();for(c=0;c<S;c++){var E=this.readInt(),k=this.readInt(),ee=this.readInt(),Ce=this.readInt(),xe=this.readInt(),Ge=this.readInt();s=this.edgeFactory(a,ee,E,k,Ce,xe,Ge,f),a.states[E].addTransition(s)}for(c=0;c<a.states.length;c++)for(i=a.states[c],d=0;d<i.transitions.length;d++){var at=i.transitions[d];if(at instanceof Zt){var $e=-1;a.ruleToStartState[at.target.ruleIndex].isPrecedenceRule&&at.precedence===0&&($e=at.target.ruleIndex),s=new Ss(at.followState,$e),a.ruleToStopState[at.target.ruleIndex].addTransition(s)}}for(c=0;c<a.states.length;c++){if((i=a.states[c])instanceof ca){if(i.endState===null||i.endState.startState!==null)throw"IllegalState";i.endState.startState=i}if(i instanceof Ud)for(d=0;d<i.transitions.length;d++)(v=i.transitions[d].target)instanceof Nf&&(v.loopBackState=i);else if(i instanceof Df)for(d=0;d<i.transitions.length;d++)(v=i.transitions[d].target)instanceof Mo&&(v.loopBackState=i)}}},{key:"readDecisions",value:function(a){for(var f=this.readInt(),c=0;c<f;c++){var d=this.readInt(),i=a.states[d];a.decisionToState.push(i),i.decision=c}}},{key:"readLexerActions",value:function(a,f){if(a.grammarType===0){var c=this.readInt();a.lexerActions=vc(c,null);for(var d=0;d<c;d++){var i=this.readInt(),s=this.readInt();f&&s===65535&&(s=-1);var v=this.readInt();f&&v===65535&&(v=-1),a.lexerActions[d]=this.lexerActionFactory(i,s,v)}}}},{key:"generateRuleBypassTransitions",value:function(a){var f,c=a.ruleToStartState.length;for(f=0;f<c;f++)a.ruleToTokenType[f]=a.maxTokenType+f+1;for(f=0;f<c;f++)this.generateRuleBypassTransition(a,f)}},{key:"generateRuleBypassTransition",value:function(a,f){var c,d,i=new Yd;i.ruleIndex=f,a.addState(i);var s=new mf;s.ruleIndex=f,a.addState(s),i.endState=s,a.defineDecisionState(i),s.startState=i;var v=null,S=null;if(a.ruleToStartState[f].isPrecedenceRule){for(S=null,c=0;c<a.states.length;c++)if(d=a.states[c],this.stateIsEndStateFor(d,f)){S=d,v=d.loopBackState.transitions[0];break}if(v===null)throw"Couldn't identify final state of the precedence rule prefix section."}else S=a.ruleToStopState[f];for(c=0;c<a.states.length;c++){d=a.states[c];for(var E=0;E<d.transitions.length;E++){var k=d.transitions[E];k!==v&&k.target===S&&(k.target=s)}}for(var ee=a.ruleToStartState[f],Ce=ee.transitions.length;Ce>0;)i.addTransition(ee.transitions[Ce-1]),ee.transitions=ee.transitions.slice(-1);a.ruleToStartState[f].addTransition(new Ss(i)),s.addTransition(new Ss(S));var xe=new Td;a.addState(xe),xe.addTransition(new Uf(s,a.ruleToTokenType[f])),i.addTransition(new Ss(xe))}},{key:"stateIsEndStateFor",value:function(a,f){if(a.ruleIndex!==f||!(a instanceof Mo))return null;var c=a.transitions[a.transitions.length-1].target;return c instanceof la&&c.epsilonOnlyTransitions&&c.transitions[0].target instanceof Dt?a:null}},{key:"markPrecedenceDecisions",value:function(a){for(var f=0;f<a.states.length;f++){var c=a.states[f];if(c instanceof Mo&&a.ruleToStartState[c.ruleIndex].isPrecedenceRule){var d=c.transitions[c.transitions.length-1].target;d instanceof la&&d.epsilonOnlyTransitions&&d.transitions[0].target instanceof Dt&&(c.isPrecedenceDecision=!0)}}}},{key:"verifyATN",value:function(a){if(this.deserializationOptions.verifyATN)for(var f=0;f<a.states.length;f++){var c=a.states[f];if(c!==null)if(this.checkCondition(c.epsilonOnlyTransitions||c.transitions.length<=1),c instanceof Nf)this.checkCondition(c.loopBackState!==null);else if(c instanceof Mo)if(this.checkCondition(c.loopBackState!==null),this.checkCondition(c.transitions.length===2),c.transitions[0].target instanceof Ff)this.checkCondition(c.transitions[1].target instanceof la),this.checkCondition(!c.nonGreedy);else{if(!(c.transitions[0].target instanceof la))throw"IllegalState";this.checkCondition(c.transitions[1].target instanceof Ff),this.checkCondition(c.nonGreedy)}else c instanceof Df?(this.checkCondition(c.transitions.length===1),this.checkCondition(c.transitions[0].target instanceof Mo)):c instanceof la?this.checkCondition(c.loopBackState!==null):c instanceof Id?this.checkCondition(c.stopState!==null):c instanceof ca?this.checkCondition(c.endState!==null):c instanceof mf?this.checkCondition(c.startState!==null):c instanceof ua?this.checkCondition(c.transitions.length<=1||c.decision>=0):this.checkCondition(c.transitions.length<=1||c instanceof Dt)}}},{key:"checkCondition",value:function(a,f){if(!a)throw f==null&&(f="IllegalState"),f}},{key:"readInt",value:function(){return this.data[this.pos++]}},{key:"readInt32",value:function(){return this.readInt()|this.readInt()<<16}},{key:"edgeFactory",value:function(a,f,c,d,i,s,v,S){var E=a.states[d];switch(f){case pe.EPSILON:return new Ss(E);case pe.RANGE:return new p0(E,v!==0?n.EOF:i,s);case pe.RULE:return new Zt(a.states[i],s,v,E);case pe.PREDICATE:return new Qd(E,i,s,v!==0);case pe.PRECEDENCE:return new v0(E,i);case pe.ATOM:return new Uf(E,v!==0?n.EOF:i);case pe.ACTION:return new Jd(E,i,s,v!==0);case pe.SET:return new Si(E,S[i]);case pe.NOT_SET:return new rn(E,S[i]);case pe.WILDCARD:return new In(E);default:throw"The specified transition type: "+f+" is not valid."}}},{key:"stateFactory",value:function(a,f){if(this.stateFactories===null){var c=[];c[me.INVALID_TYPE]=null,c[me.BASIC]=function(){return new Td},c[me.RULE_START]=function(){return new Id},c[me.BLOCK_START]=function(){return new Yd},c[me.PLUS_BLOCK_START]=function(){return new Nf},c[me.STAR_BLOCK_START]=function(){return new Ff},c[me.TOKEN_START]=function(){return new l0},c[me.RULE_STOP]=function(){return new Dt},c[me.BLOCK_END]=function(){return new mf},c[me.STAR_LOOP_BACK]=function(){return new Df},c[me.STAR_LOOP_ENTRY]=function(){return new Mo},c[me.PLUS_LOOP_BACK]=function(){return new Ud},c[me.LOOP_END]=function(){return new la},this.stateFactories=c}if(a>this.stateFactories.length||this.stateFactories[a]===null)throw"The specified state type "+a+" is not valid.";var d=this.stateFactories[a]();if(d!==null)return d.ruleIndex=f,d}},{key:"lexerActionFactory",value:function(a,f,c){if(this.actionFactories===null){var d=[];d[0]=function(i,s){return new x0(i)},d[1]=function(i,s){return new D0(i,s)},d[2]=function(i,s){return new F0(i)},d[3]=function(i,s){return Zf.INSTANCE},d[4]=function(i,s){return nh.INSTANCE},d[5]=function(i,s){return new N0(i)},d[6]=function(i,s){return Xf.INSTANCE},d[7]=function(i,s){return new R0(i)},this.actionFactories=d}if(a>this.actionFactories.length||this.actionFactories[a]===null)throw"The specified lexer action type "+a+" is not valid.";return this.actionFactories[a](f,c)}}],p&&M0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function Ds(l){return Ds=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ds(l)}function L0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ds(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ds(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ds(f)==="symbol"?f:String(f)),a)}var f}var Cs=function(){function l(){(function(a,f){if(!(a instanceof f))throw new TypeError("Cannot call a class as a function")})(this,l)}var r,p;return r=l,(p=[{key:"syntaxError",value:function(a,f,c,d,i,s){}},{key:"reportAmbiguity",value:function(a,f,c,d,i,s,v){}},{key:"reportAttemptingFullContext",value:function(a,f,c,d,i,s){}},{key:"reportContextSensitivity",value:function(a,f,c,d,i,s){}}])&&L0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function Da(l){return Da=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Da(l)}function B0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Da(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Da(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Da(f)==="symbol"?f:String(f)),a)}var f}function oh(l,r){return oh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},oh(l,r)}function Ec(l){return Ec=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Ec(l)}var ah=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&oh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=Ec(a);if(f){var v=Ec(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(Da(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(){return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,d),c.call(this)}return r=d,(p=[{key:"syntaxError",value:function(i,s,v,S,E,k){console.error("line "+v+":"+S+" "+E)}}])&&B0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Cs);function Ca(l){return Ca=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ca(l)}function U0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ca(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ca(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ca(f)==="symbol"?f:String(f)),a)}var f}function sh(l,r){return sh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},sh(l,r)}function ny(l,r){if(r&&(Ca(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ry(l)}function ry(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function Sc(l){return Sc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Sc(l)}ah.INSTANCE=new ah;var V0=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&sh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=Sc(a);if(f){var v=Sc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return ny(this,i)});function d(i){var s;if(function(v,S){if(!(v instanceof S))throw new TypeError("Cannot call a class as a function")}(this,d),s=c.call(this),i===null)throw"delegates";return s.delegates=i,ny(s,ry(s))}return r=d,p=[{key:"syntaxError",value:function(i,s,v,S,E,k){this.delegates.map(function(ee){return ee.syntaxError(i,s,v,S,E,k)})}},{key:"reportAmbiguity",value:function(i,s,v,S,E,k,ee){this.delegates.map(function(Ce){return Ce.reportAmbiguity(i,s,v,S,E,k,ee)})}},{key:"reportAttemptingFullContext",value:function(i,s,v,S,E,k){this.delegates.map(function(ee){return ee.reportAttemptingFullContext(i,s,v,S,E,k)})}},{key:"reportContextSensitivity",value:function(i,s,v,S,E,k){this.delegates.map(function(ee){return ee.reportContextSensitivity(i,s,v,S,E,k)})}}],p&&U0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Cs);function ks(l){return ks=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},ks(l)}function j0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(ks(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(ks(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),ks(f)==="symbol"?f:String(f)),a)}var f}var Tc=function(){function l(){(function(a,f){if(!(a instanceof f))throw new TypeError("Cannot call a class as a function")})(this,l),this._listeners=[ah.INSTANCE],this._interp=null,this._stateNumber=-1}var r,p;return r=l,(p=[{key:"checkVersion",value:function(a){var f="4.13.0";f!==a&&console.log("ANTLR runtime and generated code versions disagree: "+f+"!="+a)}},{key:"addErrorListener",value:function(a){this._listeners.push(a)}},{key:"removeErrorListeners",value:function(){this._listeners=[]}},{key:"getLiteralNames",value:function(){return Object.getPrototypeOf(this).constructor.literalNames||[]}},{key:"getSymbolicNames",value:function(){return Object.getPrototypeOf(this).constructor.symbolicNames||[]}},{key:"getTokenNames",value:function(){if(!this.tokenNames){var a=this.getLiteralNames(),f=this.getSymbolicNames(),c=a.length>f.length?a.length:f.length;this.tokenNames=[];for(var d=0;d<c;d++)this.tokenNames[d]=a[d]||f[d]||"<INVALID"}return this.tokenNames}},{key:"getTokenTypeMap",value:function(){var a=this.getTokenNames();if(a===null)throw"The current recognizer does not provide a list of token names.";var f=this.tokenTypeMapCache[a];return f===void 0&&((f=a.reduce(function(c,d,i){c[d]=i})).EOF=n.EOF,this.tokenTypeMapCache[a]=f),f}},{key:"getRuleIndexMap",value:function(){var a=this.ruleNames;if(a===null)throw"The current recognizer does not provide a list of rule names.";var f=this.ruleIndexMapCache[a];return f===void 0&&(f=a.reduce(function(c,d,i){c[d]=i}),this.ruleIndexMapCache[a]=f),f}},{key:"getTokenType",value:function(a){var f=this.getTokenTypeMap()[a];return f!==void 0?f:n.INVALID_TYPE}},{key:"getErrorHeader",value:function(a){return"line "+a.getOffendingToken().line+":"+a.getOffendingToken().column}},{key:"getTokenErrorDisplay",value:function(a){if(a===null)return"<no token>";var f=a.text;return f===null&&(f=a.type===n.EOF?"<EOF>":"<"+a.type+">"),"'"+(f=f.replace(`
1
+ var Ug=Object.defineProperty;var Vg=(lo,li,Tr)=>li in lo?Ug(lo,li,{enumerable:!0,configurable:!0,writable:!0,value:Tr}):lo[li]=Tr;var w=(lo,li,Tr)=>(Vg(lo,typeof li!="symbol"?li+"":li,Tr),Tr);(function(){"use strict";var lo={92:()=>{}},li={};function Tr(t){var e=li[t];if(e!==void 0)return e.exports;var n=li[t]={exports:{}};return lo[t](n,n.exports,Tr),n.exports}Tr.d=(t,e)=>{for(var n in e)Tr.o(e,n)&&!Tr.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},Tr.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var kt={};(()=>{function t(l){return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},t(l)}function e(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(t(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(t(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),t(f)==="symbol"?f:String(f)),a)}var f}Tr.d(kt,{dx:()=>dn,q2:()=>ih,FO:()=>Dy,xf:()=>Zs,Gy:()=>wy,s4:()=>Rs,c7:()=>Iy,_7:()=>Sy,gp:()=>Ay,cK:()=>Cs,zs:()=>Ph,AV:()=>Zs,Xp:()=>_e,VS:()=>ne,ul:()=>Fo,hW:()=>rr,x1:()=>Ba,z5:()=>Nc,oN:()=>Ch,TB:()=>Ty,u1:()=>Fc,_b:()=>Xh,$F:()=>by,_T:()=>Zh,db:()=>vy,Zx:()=>Hn,_x:()=>Lo,r8:()=>Wi,JI:()=>Fe,TP:()=>on,WU:()=>n,Nj:()=>$,ZP:()=>Bg});var n=function(){function l(){(function(a,f){if(!(a instanceof f))throw new TypeError("Cannot call a class as a function")})(this,l),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 r,p;return r=l,(p=[{key:"getTokenSource",value:function(){return this.source[0]}},{key:"getInputStream",value:function(){return this.source[1]}},{key:"text",get:function(){return this._text},set:function(a){this._text=a}}])&&e(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function o(l,r){if(!Array.isArray(l)||!Array.isArray(r))return!1;if(l===r)return!0;if(l.length!==r.length)return!1;for(var p=0;p<l.length;p++)if(!(l[p]===r[p]||l[p].equals&&l[p].equals(r[p])))return!1;return!0}function u(l){return u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},u(l)}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 h=Math.round(Math.random()*Math.pow(2,32));function m(l){if(!l)return 0;var r,p,a=u(l),f=a==="string"?l:!(a!=="object"||!l.toString)&&l.toString();if(!f)return 0;for(var c=3&f.length,d=f.length-c,i=h,s=3432918353,v=461845907,S=0;S<d;)p=255&f.charCodeAt(S)|(255&f.charCodeAt(++S))<<8|(255&f.charCodeAt(++S))<<16|(255&f.charCodeAt(++S))<<24,++S,i=27492+(65535&(r=5*(65535&(i=(i^=p=(65535&(p=(p=(65535&p)*s+(((p>>>16)*s&65535)<<16)&4294967295)<<15|p>>>17))*v+(((p>>>16)*v&65535)<<16)&4294967295)<<13|i>>>19))+((5*(i>>>16)&65535)<<16)&4294967295))+((58964+(r>>>16)&65535)<<16);switch(p=0,c){case 3:p^=(255&f.charCodeAt(S+2))<<16;case 2:p^=(255&f.charCodeAt(S+1))<<8;case 1:i^=p=(65535&(p=(p=(65535&(p^=255&f.charCodeAt(S)))*s+(((p>>>16)*s&65535)<<16)&4294967295)<<15|p>>>17))*v+(((p>>>16)*v&65535)<<16)&4294967295}return i^=f.length,i=2246822507*(65535&(i^=i>>>16))+((2246822507*(i>>>16)&65535)<<16)&4294967295,i=3266489909*(65535&(i^=i>>>13))+((3266489909*(i>>>16)&65535)<<16)&4294967295,(i^=i>>>16)>>>0}function _(l){return _=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_(l)}function T(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(_(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(_(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),_(f)==="symbol"?f:String(f)),a)}var f}var x=function(){function l(){(function(f,c){if(!(f instanceof c))throw new TypeError("Cannot call a class as a function")})(this,l),this.count=0,this.hash=0}var r,p,a;return r=l,p=[{key:"update",value:function(){for(var f=0;f<arguments.length;f++){var c=arguments[f];if(c!=null)if(Array.isArray(c))this.update.apply(this,c);else{var d=0;switch(_(c)){case"undefined":case"function":continue;case"number":case"boolean":d=c;break;case"string":d=m(c);break;default:c.updateHashCode?c.updateHashCode(this):console.log("No updateHashCode for "+c.toString());continue}d=(d*=3432918353)<<15|d>>>17,d*=461845907,this.count=this.count+1;var i=this.hash^d;i=5*(i=i<<13|i>>>19)+3864292196,this.hash=i}}}},{key:"finish",value:function(){var f=this.hash^4*this.count;return f^=f>>>16,f*=2246822507,f^=f>>>13,(f*=3266489909)^f>>>16}}],a=[{key:"hashStuff",value:function(){var f=new l;return f.update.apply(f,arguments),f.finish()}}],p&&T(r.prototype,p),a&&T(r,a),Object.defineProperty(r,"prototype",{writable:!1}),l}();function P(l){return l?typeof l=="string"?m(l):l.hashCode():-1}function A(l,r){return l?l.equals(r):l===r}function F(l){return l===null?"null":l}function $(l){return Array.isArray(l)?"["+l.map(F).join(", ")+"]":"null"}function V(l){return V=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},V(l)}function b(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(V(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(V(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),V(f)==="symbol"?f:String(f)),a)}var f}var y="h-",g=function(){function l(a,f){(function(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")})(this,l),this.data={},this.hashFunction=a||P,this.equalsFunction=f||A}var r,p;return r=l,(p=[{key:"add",value:function(a){var f=y+this.hashFunction(a);if(f in this.data){for(var c=this.data[f],d=0;d<c.length;d++)if(this.equalsFunction(a,c[d]))return c[d];return c.push(a),a}return this.data[f]=[a],a}},{key:"has",value:function(a){return this.get(a)!=null}},{key:"get",value:function(a){var f=y+this.hashFunction(a);if(f in this.data){for(var c=this.data[f],d=0;d<c.length;d++)if(this.equalsFunction(a,c[d]))return c[d]}return null}},{key:"values",value:function(){var a=this;return Object.keys(this.data).filter(function(f){return f.startsWith(y)}).flatMap(function(f){return a.data[f]},this)}},{key:"toString",value:function(){return $(this.values())}},{key:"length",get:function(){var a=this;return Object.keys(this.data).filter(function(f){return f.startsWith(y)}).map(function(f){return a.data[f].length},this).reduce(function(f,c){return f+c},0)}}])&&b(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function D(l,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");l.prototype=Object.create(r&&r.prototype,{constructor:{value:l,writable:!0,configurable:!0}}),Object.defineProperty(l,"prototype",{writable:!1}),r&&R(l,r)}function R(l,r){return R=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},R(l,r)}function O(l){var r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.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 p,a=U(l);if(r){var f=U(this).constructor;p=Reflect.construct(a,arguments,f)}else p=a.apply(this,arguments);return function(c,d){if(d&&(X(d)==="object"||typeof d=="function"))return d;if(d!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}(c)}(this,p)}}function U(l){return U=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},U(l)}function X(l){return X=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},X(l)}function ue(l,r){if(!(l instanceof r))throw new TypeError("Cannot call a class as a function")}function K(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(X(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(X(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),X(f)==="symbol"?f:String(f)),a)}var f}function Y(l,r,p){return r&&K(l.prototype,r),p&&K(l,p),Object.defineProperty(l,"prototype",{writable:!1}),l}var G=function(){function l(){ue(this,l)}return Y(l,[{key:"hashCode",value:function(){var r=new x;return this.updateHashCode(r),r.finish()}},{key:"evaluate",value:function(r,p){}},{key:"evalPrecedence",value:function(r,p){return this}}],[{key:"andContext",value:function(r,p){if(r===null||r===l.NONE)return p;if(p===null||p===l.NONE)return r;var a=new ce(r,p);return a.opnds.length===1?a.opnds[0]:a}},{key:"orContext",value:function(r,p){if(r===null)return p;if(p===null)return r;if(r===l.NONE||p===l.NONE)return l.NONE;var a=new Q(r,p);return a.opnds.length===1?a.opnds[0]:a}}]),l}(),ce=function(l){D(p,l);var r=O(p);function p(a,f){var c;ue(this,p),c=r.call(this);var d=new g;a instanceof p?a.opnds.map(function(v){d.add(v)}):d.add(a),f instanceof p?f.opnds.map(function(v){d.add(v)}):d.add(f);var i=de(d);if(i.length>0){var s=null;i.map(function(v){(s===null||v.precedence<s.precedence)&&(s=v)}),d.add(s)}return c.opnds=Array.from(d.values()),c}return Y(p,[{key:"equals",value:function(a){return this===a||a instanceof p&&o(this.opnds,a.opnds)}},{key:"updateHashCode",value:function(a){a.update(this.opnds,"AND")}},{key:"evaluate",value:function(a,f){for(var c=0;c<this.opnds.length;c++)if(!this.opnds[c].evaluate(a,f))return!1;return!0}},{key:"evalPrecedence",value:function(a,f){for(var c=!1,d=[],i=0;i<this.opnds.length;i++){var s=this.opnds[i],v=s.evalPrecedence(a,f);if(c|=v!==s,v===null)return null;v!==G.NONE&&d.push(v)}if(!c)return this;if(d.length===0)return G.NONE;var S=null;return d.map(function(E){S=S===null?E:G.andContext(S,E)}),S}},{key:"toString",value:function(){var a=this.opnds.map(function(f){return f.toString()});return(a.length>3?a.slice(3):a).join("&&")}}]),p}(G),Q=function(l){D(p,l);var r=O(p);function p(a,f){var c;ue(this,p),c=r.call(this);var d=new g;a instanceof p?a.opnds.map(function(S){d.add(S)}):d.add(a),f instanceof p?f.opnds.map(function(S){d.add(S)}):d.add(f);var i=de(d);if(i.length>0){var s=i.sort(function(S,E){return S.compareTo(E)}),v=s[s.length-1];d.add(v)}return c.opnds=Array.from(d.values()),c}return Y(p,[{key:"equals",value:function(a){return this===a||a instanceof p&&o(this.opnds,a.opnds)}},{key:"updateHashCode",value:function(a){a.update(this.opnds,"OR")}},{key:"evaluate",value:function(a,f){for(var c=0;c<this.opnds.length;c++)if(this.opnds[c].evaluate(a,f))return!0;return!1}},{key:"evalPrecedence",value:function(a,f){for(var c=!1,d=[],i=0;i<this.opnds.length;i++){var s=this.opnds[i],v=s.evalPrecedence(a,f);if(c|=v!==s,v===G.NONE)return G.NONE;v!==null&&d.push(v)}return c?(d.length===0||d.map(function(S){return S}),null):this}},{key:"toString",value:function(){var a=this.opnds.map(function(f){return f.toString()});return(a.length>3?a.slice(3):a).join("||")}}]),p}(G);function de(l){var r=[];return l.values().map(function(p){p instanceof G.PrecedencePredicate&&r.push(p)}),r}function ye(l){return ye=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},ye(l)}function te(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(ye(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(ye(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),ye(f)==="symbol"?f:String(f)),a)}var f}function he(l,r){if(l===null){var p={state:null,alt:null,context:null,semanticContext:null};return r&&(p.reachesIntoOuterContext=0),p}var a={};return a.state=l.state||null,a.alt=l.alt===void 0?null:l.alt,a.context=l.context||null,a.semanticContext=l.semanticContext||null,r&&(a.reachesIntoOuterContext=l.reachesIntoOuterContext||0,a.precedenceFilterSuppressed=l.precedenceFilterSuppressed||!1),a}var le=function(){function l(a,f){(function(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")})(this,l),this.checkContext(a,f),a=he(a),f=he(f,!0),this.state=a.state!==null?a.state:f.state,this.alt=a.alt!==null?a.alt:f.alt,this.context=a.context!==null?a.context:f.context,this.semanticContext=a.semanticContext!==null?a.semanticContext:f.semanticContext!==null?f.semanticContext:G.NONE,this.reachesIntoOuterContext=f.reachesIntoOuterContext,this.precedenceFilterSuppressed=f.precedenceFilterSuppressed}var r,p;return r=l,(p=[{key:"checkContext",value:function(a,f){a.context!==null&&a.context!==void 0||f!==null&&f.context!==null&&f.context!==void 0||(this.context=null)}},{key:"hashCode",value:function(){var a=new x;return this.updateHashCode(a),a.finish()}},{key:"updateHashCode",value:function(a){a.update(this.state.stateNumber,this.alt,this.context,this.semanticContext)}},{key:"equals",value:function(a){return this===a||a instanceof l&&this.state.stateNumber===a.state.stateNumber&&this.alt===a.alt&&(this.context===null?a.context===null:this.context.equals(a.context))&&this.semanticContext.equals(a.semanticContext)&&this.precedenceFilterSuppressed===a.precedenceFilterSuppressed}},{key:"hashCodeForConfigSet",value:function(){var a=new x;return a.update(this.state.stateNumber,this.alt,this.semanticContext),a.finish()}},{key:"equalsForConfigSet",value:function(a){return this===a||a instanceof l&&this.state.stateNumber===a.state.stateNumber&&this.alt===a.alt&&this.semanticContext.equals(a.semanticContext)}},{key:"toString",value:function(){return"("+this.state+","+this.alt+(this.context!==null?",["+this.context.toString()+"]":"")+(this.semanticContext!==G.NONE?","+this.semanticContext.toString():"")+(this.reachesIntoOuterContext>0?",up="+this.reachesIntoOuterContext:"")+")"}}])&&te(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function Ae(l){return Ae=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ae(l)}function we(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ae(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ae(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ae(f)==="symbol"?f:String(f)),a)}var f}var _e=function(){function l(a,f){(function(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")})(this,l),this.start=a,this.stop=f}var r,p;return r=l,(p=[{key:"clone",value:function(){return new l(this.start,this.stop)}},{key:"contains",value:function(a){return a>=this.start&&a<this.stop}},{key:"toString",value:function(){return this.start===this.stop-1?this.start.toString():this.start.toString()+".."+(this.stop-1).toString()}},{key:"length",get:function(){return this.stop-this.start}}])&&we(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function Ue(l){return Ue=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ue(l)}function J(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ue(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ue(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ue(f)==="symbol"?f:String(f)),a)}var f}_e.INVALID_INTERVAL=new _e(-1,-2);var ne=function(){function l(){(function(a,f){if(!(a instanceof f))throw new TypeError("Cannot call a class as a function")})(this,l),this.intervals=null,this.readOnly=!1}var r,p;return r=l,(p=[{key:"first",value:function(a){return this.intervals===null||this.intervals.length===0?n.INVALID_TYPE:this.intervals[0].start}},{key:"addOne",value:function(a){this.addInterval(new _e(a,a+1))}},{key:"addRange",value:function(a,f){this.addInterval(new _e(a,f+1))}},{key:"addInterval",value:function(a){if(this.intervals===null)this.intervals=[],this.intervals.push(a.clone());else{for(var f=0;f<this.intervals.length;f++){var c=this.intervals[f];if(a.stop<c.start)return void this.intervals.splice(f,0,a);if(a.stop===c.start)return void(this.intervals[f]=new _e(a.start,c.stop));if(a.start<=c.stop)return this.intervals[f]=new _e(Math.min(c.start,a.start),Math.max(c.stop,a.stop)),void this.reduce(f)}this.intervals.push(a.clone())}}},{key:"addSet",value:function(a){var f=this;return a.intervals!==null&&a.intervals.forEach(function(c){return f.addInterval(c)},this),this}},{key:"reduce",value:function(a){if(a<this.intervals.length-1){var f=this.intervals[a],c=this.intervals[a+1];f.stop>=c.stop?(this.intervals.splice(a+1,1),this.reduce(a)):f.stop>=c.start&&(this.intervals[a]=new _e(f.start,c.stop),this.intervals.splice(a+1,1))}}},{key:"complement",value:function(a,f){var c=new l;return c.addInterval(new _e(a,f+1)),this.intervals!==null&&this.intervals.forEach(function(d){return c.removeRange(d)}),c}},{key:"contains",value:function(a){if(this.intervals===null)return!1;for(var f=0;f<this.intervals.length;f++)if(this.intervals[f].contains(a))return!0;return!1}},{key:"removeRange",value:function(a){if(a.start===a.stop-1)this.removeOne(a.start);else if(this.intervals!==null)for(var f=0,c=0;c<this.intervals.length;c++){var d=this.intervals[f];if(a.stop<=d.start)return;if(a.start>d.start&&a.stop<d.stop){this.intervals[f]=new _e(d.start,a.start);var i=new _e(a.stop,d.stop);return void this.intervals.splice(f,0,i)}a.start<=d.start&&a.stop>=d.stop?(this.intervals.splice(f,1),f-=1):a.start<d.stop?this.intervals[f]=new _e(d.start,a.start):a.stop<d.stop&&(this.intervals[f]=new _e(a.stop,d.stop)),f+=1}}},{key:"removeOne",value:function(a){if(this.intervals!==null)for(var f=0;f<this.intervals.length;f++){var c=this.intervals[f];if(a<c.start)return;if(a===c.start&&a===c.stop-1)return void this.intervals.splice(f,1);if(a===c.start)return void(this.intervals[f]=new _e(c.start+1,c.stop));if(a===c.stop-1)return void(this.intervals[f]=new _e(c.start,c.stop-1));if(a<c.stop-1){var d=new _e(c.start,a);return c.start=a+1,void this.intervals.splice(f,0,d)}}}},{key:"toString",value:function(a,f,c){return a=a||null,f=f||null,c=c||!1,this.intervals===null?"{}":a!==null||f!==null?this.toTokenString(a,f):c?this.toCharString():this.toIndexString()}},{key:"toCharString",value:function(){for(var a=[],f=0;f<this.intervals.length;f++){var c=this.intervals[f];c.stop===c.start+1?c.start===n.EOF?a.push("<EOF>"):a.push("'"+String.fromCharCode(c.start)+"'"):a.push("'"+String.fromCharCode(c.start)+"'..'"+String.fromCharCode(c.stop-1)+"'")}return a.length>1?"{"+a.join(", ")+"}":a[0]}},{key:"toIndexString",value:function(){for(var a=[],f=0;f<this.intervals.length;f++){var c=this.intervals[f];c.stop===c.start+1?c.start===n.EOF?a.push("<EOF>"):a.push(c.start.toString()):a.push(c.start.toString()+".."+(c.stop-1).toString())}return a.length>1?"{"+a.join(", ")+"}":a[0]}},{key:"toTokenString",value:function(a,f){for(var c=[],d=0;d<this.intervals.length;d++)for(var i=this.intervals[d],s=i.start;s<i.stop;s++)c.push(this.elementName(a,f,s));return c.length>1?"{"+c.join(", ")+"}":c[0]}},{key:"elementName",value:function(a,f,c){return c===n.EOF?"<EOF>":c===n.EPSILON?"<EPSILON>":a[c]||f[c]}},{key:"length",get:function(){return this.intervals.map(function(a){return a.length}).reduce(function(a,f){return a+f})}}])&&J(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function ae(l){return ae=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},ae(l)}function Ee(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(ae(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(ae(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),ae(f)==="symbol"?f:String(f)),a)}var f}var me=function(){function l(){(function(a,f){if(!(a instanceof f))throw new TypeError("Cannot call a class as a function")})(this,l),this.atn=null,this.stateNumber=l.INVALID_STATE_NUMBER,this.stateType=null,this.ruleIndex=0,this.epsilonOnlyTransitions=!1,this.transitions=[],this.nextTokenWithinRule=null}var r,p;return r=l,(p=[{key:"toString",value:function(){return this.stateNumber}},{key:"equals",value:function(a){return a instanceof l&&this.stateNumber===a.stateNumber}},{key:"isNonGreedyExitState",value:function(){return!1}},{key:"addTransition",value:function(a,f){f===void 0&&(f=-1),this.transitions.length===0?this.epsilonOnlyTransitions=a.isEpsilon:this.epsilonOnlyTransitions!==a.isEpsilon&&(this.epsilonOnlyTransitions=!1),f===-1?this.transitions.push(a):this.transitions.splice(f,1,a)}}])&&Ee(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function At(l){return At=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},At(l)}function jt(l,r){return jt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},jt(l,r)}function Et(l,r){if(r&&(At(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Lt(l)}function Lt(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function gt(l){return gt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},gt(l)}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 Dt=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&jt(d,i)})(c,l);var r,p,a,f=(p=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,i=gt(p);if(a){var s=gt(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return Et(this,d)});function c(){var d;return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,c),(d=f.call(this)).stateType=me.RULE_STOP,Et(d,Lt(d))}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(me);function Jt(l){return Jt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Jt(l)}function ie(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Jt(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Jt(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Jt(f)==="symbol"?f:String(f)),a)}var f}function De(l,r,p){return r&&ie(l.prototype,r),p&&ie(l,p),Object.defineProperty(l,"prototype",{writable:!1}),l}var pe=De(function l(r){if(function(p,a){if(!(p instanceof a))throw new TypeError("Cannot call a class as a function")}(this,l),r==null)throw"target cannot be null.";this.target=r,this.isEpsilon=!1,this.label=null});function bt(l){return bt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},bt(l)}function xt(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(bt(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(bt(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),bt(f)==="symbol"?f:String(f)),a)}var f}function Ct(l,r){return Ct=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Ct(l,r)}function Mn(l){return Mn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Mn(l)}pe.EPSILON=1,pe.RANGE=2,pe.RULE=3,pe.PREDICATE=4,pe.ATOM=5,pe.ACTION=6,pe.SET=7,pe.NOT_SET=8,pe.WILDCARD=9,pe.PRECEDENCE=10,pe.serializationNames=["INVALID","EPSILON","RANGE","RULE","PREDICATE","ATOM","ACTION","SET","NOT_SET","WILDCARD","PRECEDENCE"],pe.serializationTypes={EpsilonTransition:pe.EPSILON,RangeTransition:pe.RANGE,RuleTransition:pe.RULE,PredicateTransition:pe.PREDICATE,AtomTransition:pe.ATOM,ActionTransition:pe.ACTION,SetTransition:pe.SET,NotSetTransition:pe.NOT_SET,WildcardTransition:pe.WILDCARD,PrecedencePredicateTransition:pe.PRECEDENCE};var Zt=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Ct(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=Mn(a);if(f){var v=Mn(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(bt(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i,s,v,S){var E;return function(k,ee){if(!(k instanceof ee))throw new TypeError("Cannot call a class as a function")}(this,d),(E=c.call(this,i)).ruleIndex=s,E.precedence=v,E.followState=S,E.serializationType=pe.RULE,E.isEpsilon=!0,E}return r=d,(p=[{key:"matches",value:function(i,s,v){return!1}}])&&xt(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(pe);function pn(l){return pn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},pn(l)}function Ht(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(pn(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(pn(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),pn(f)==="symbol"?f:String(f)),a)}var f}function It(l,r){return It=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},It(l,r)}function ln(l){return ln=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ln(l)}var Si=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&It(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=ln(a);if(f){var v=ln(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(pn(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i,s){var v;return function(S,E){if(!(S instanceof E))throw new TypeError("Cannot call a class as a function")}(this,d),(v=c.call(this,i)).serializationType=pe.SET,s!=null?v.label=s:(v.label=new ne,v.label.addOne(n.INVALID_TYPE)),v}return r=d,(p=[{key:"matches",value:function(i,s,v){return this.label.contains(i)}},{key:"toString",value:function(){return this.label.toString()}}])&&Ht(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(pe);function L(l){return L=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},L(l)}function ke(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(L(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(L(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),L(f)==="symbol"?f:String(f)),a)}var f}function Be(){return Be=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(l,r,p){var a=function(c,d){for(;!Object.prototype.hasOwnProperty.call(c,d)&&(c=ut(c))!==null;);return c}(l,r);if(a){var f=Object.getOwnPropertyDescriptor(a,r);return f.get?f.get.call(arguments.length<3?l:p):f.value}},Be.apply(this,arguments)}function Le(l,r){return Le=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Le(l,r)}function ut(l){return ut=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ut(l)}var rn=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Le(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=ut(a);if(f){var v=ut(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(L(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i,s){var v;return function(S,E){if(!(S instanceof E))throw new TypeError("Cannot call a class as a function")}(this,d),(v=c.call(this,i,s)).serializationType=pe.NOT_SET,v}return r=d,(p=[{key:"matches",value:function(i,s,v){return i>=s&&i<=v&&!Be(ut(d.prototype),"matches",this).call(this,i,s,v)}},{key:"toString",value:function(){return"~"+Be(ut(d.prototype),"toString",this).call(this)}}])&&ke(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Si);function ft(l){return ft=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},ft(l)}function gn(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(ft(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(ft(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),ft(f)==="symbol"?f:String(f)),a)}var f}function Tn(l,r){return Tn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Tn(l,r)}function ui(l){return ui=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ui(l)}var In=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Tn(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=ui(a);if(f){var v=ui(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(ft(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i){var s;return function(v,S){if(!(v instanceof S))throw new TypeError("Cannot call a class as a function")}(this,d),(s=c.call(this,i)).serializationType=pe.WILDCARD,s}return r=d,(p=[{key:"matches",value:function(i,s,v){return i>=s&&i<=v}},{key:"toString",value:function(){return"."}}])&&gn(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(pe);function fn(l){return fn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},fn(l)}function so(l,r){return so=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},so(l,r)}function Ti(l){return Ti=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Ti(l)}var uo=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&so(d,i)})(c,l);var r,p,a,f=(p=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,i=Ti(p);if(a){var s=Ti(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return function(v,S){if(S&&(fn(S)==="object"||typeof S=="function"))return S;if(S!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}(v)}(this,d)});function c(d){return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,c),f.call(this,d)}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(pe);function vr(l){return vr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},vr(l)}function Kr(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(vr(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(vr(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),vr(f)==="symbol"?f:String(f)),a)}var f}function wo(l,r,p){return r&&Kr(l.prototype,r),p&&Kr(l,p),Object.defineProperty(l,"prototype",{writable:!1}),l}function zi(l){return zi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},zi(l)}function Rr(l,r){return Rr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Rr(l,r)}function ci(l){return ci=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ci(l)}function No(l){return No=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},No(l)}function mt(l,r){return mt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},mt(l,r)}function nr(l){return nr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},nr(l)}var C=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&mt(d,i)})(c,l);var r,p,a,f=(p=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,i=nr(p);if(a){var s=nr(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return function(v,S){if(S&&(No(S)==="object"||typeof S=="function"))return S;if(S!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}(v)}(this,d)});function c(){return function(d,i){if(!(d instanceof i))throw new TypeError("Cannot call a class as a function")}(this,c),f.apply(this,arguments)}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&Rr(d,i)})(c,l);var r,p,a,f=(p=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,i=ci(p);if(a){var s=ci(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return function(v,S){if(S&&(zi(S)==="object"||typeof S=="function"))return S;if(S!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}(v)}(this,d)});function c(){return function(d,i){if(!(d instanceof i))throw new TypeError("Cannot call a class as a function")}(this,c),f.apply(this,arguments)}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(wo(function l(){(function(r,p){if(!(r instanceof p))throw new TypeError("Cannot call a class as a function")})(this,l)})));function j(l){return j=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},j(l)}function z(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(j(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(j(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),j(f)==="symbol"?f:String(f)),a)}var f}function Z(l,r){return Z=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Z(l,r)}function re(l){return re=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},re(l)}var Fe=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Z(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=re(a);if(f){var v=re(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(j(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(){return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,d),c.apply(this,arguments)}return r=d,(p=[{key:"ruleContext",get:function(){throw new Error("missing interface implementation")}}])&&z(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(C);function Ie(l){return Ie=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ie(l)}function rt(l,r){return rt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},rt(l,r)}function Gt(l){return Gt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Gt(l)}var on=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&rt(d,i)})(c,l);var r,p,a,f=(p=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,i=Gt(p);if(a){var s=Gt(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return function(v,S){if(S&&(Ie(S)==="object"||typeof S=="function"))return S;if(S!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}(v)}(this,d)});function c(){return function(d,i){if(!(d instanceof i))throw new TypeError("Cannot call a class as a function")}(this,c),f.apply(this,arguments)}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(C);function bn(l){return bn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},bn(l)}function wr(l,r){return wr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},wr(l,r)}function Bt(l){return Bt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Bt(l)}var zr=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&wr(d,i)})(c,l);var r,p,a,f=(p=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,i=Bt(p);if(a){var s=Bt(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return function(v,S){if(S&&(bn(S)==="object"||typeof S=="function"))return S;if(S!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}(v)}(this,d)});function c(){return function(d,i){if(!(d instanceof i))throw new TypeError("Cannot call a class as a function")}(this,c),f.apply(this,arguments)}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(on),Er={toStringTree:function(l,r,p){r=r||null,(p=p||null)!==null&&(r=p.ruleNames);var a=Er.getNodeText(l,r);a=function(i,s){return i=i.replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r")}(a);var f=l.getChildCount();if(f===0)return a;var c="("+a+" ";f>0&&(a=Er.toStringTree(l.getChild(0),r),c=c.concat(a));for(var d=1;d<f;d++)a=Er.toStringTree(l.getChild(d),r),c=c.concat(" "+a);return c.concat(")")},getNodeText:function(l,r,p){if(r=r||null,(p=p||null)!==null&&(r=p.ruleNames),r!==null){if(l instanceof Fe){var a=l.ruleContext.getAltNumber();return a!=0?r[l.ruleIndex]+":"+a:r[l.ruleIndex]}if(l instanceof zr)return l.toString();if(l instanceof on&&l.symbol!==null)return l.symbol.text}var f=l.getPayload();return f instanceof n?f.text:l.getPayload().toString()},getChildren:function(l){for(var r=[],p=0;p<l.getChildCount();p++)r.push(l.getChild(p));return r},getAncestors:function(l){var r=[];for(l=l.getParent();l!==null;)r=[l].concat(r),l=l.getParent();return r},findAllTokenNodes:function(l,r){return Er.findAllNodes(l,r,!0)},findAllRuleNodes:function(l,r){return Er.findAllNodes(l,r,!1)},findAllNodes:function(l,r,p){var a=[];return Er._findAllNodes(l,r,p,a),a},_findAllNodes:function(l,r,p,a){p&&l instanceof on?l.symbol.type===r&&a.push(l):!p&&l instanceof Fe&&l.ruleIndex===r&&a.push(l);for(var f=0;f<l.getChildCount();f++)Er._findAllNodes(l.getChild(f),r,p,a)},descendants:function(l){for(var r=[l],p=0;p<l.getChildCount();p++)r=r.concat(Er.descendants(l.getChild(p)));return r}};const Hu=Er;function $i(l){return $i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},$i(l)}function sf(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if($i(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if($i(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),$i(f)==="symbol"?f:String(f)),a)}var f}function Po(l,r){return Po=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Po(l,r)}function ia(l){return ia=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ia(l)}var Wi=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Po(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=ia(a);if(f){var v=ia(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&($i(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i,s){var v;return function(S,E){if(!(S instanceof E))throw new TypeError("Cannot call a class as a function")}(this,d),(v=c.call(this)).parentCtx=i||null,v.invokingState=s||-1,v}return r=d,(p=[{key:"depth",value:function(){for(var i=0,s=this;s!==null;)s=s.parentCtx,i+=1;return i}},{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(i){return i.getText()}).join("")}},{key:"getAltNumber",value:function(){return 0}},{key:"setAltNumber",value:function(i){}},{key:"getChild",value:function(i){return null}},{key:"getChildCount",value:function(){return 0}},{key:"accept",value:function(i){return i.visitChildren(this)}},{key:"toStringTree",value:function(i,s){return Hu.toStringTree(this,i,s)}},{key:"toString",value:function(i,s){i=i||null,s=s||null;for(var v=this,S="[";v!==null&&v!==s;){if(i===null)v.isEmpty()||(S+=v.invokingState);else{var E=v.ruleIndex;S+=E>=0&&E<i.length?i[E]:""+E}v.parentCtx===null||i===null&&v.parentCtx.isEmpty()||(S+=" "),v=v.parentCtx}return S+"]"}}])&&sf(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Fe);function Io(l){return Io=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Io(l)}function oa(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Io(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Io(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Io(f)==="symbol"?f:String(f)),a)}var f}var it=function(){function l(a){(function(f,c){if(!(f instanceof c))throw new TypeError("Cannot call a class as a function")})(this,l),this.cachedHashCode=a}var r,p;return r=l,(p=[{key:"isEmpty",value:function(){return this===l.EMPTY}},{key:"hasEmptyPath",value:function(){return this.getReturnState(this.length-1)===l.EMPTY_RETURN_STATE}},{key:"hashCode",value:function(){return this.cachedHashCode}},{key:"updateHashCode",value:function(a){a.update(this.cachedHashCode)}}])&&oa(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function B(l){return B=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},B(l)}function H(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(B(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(B(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),B(f)==="symbol"?f:String(f)),a)}var f}function q(l,r){return q=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},q(l,r)}function se(l,r){if(r&&(B(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return be(l)}function be(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function ge(l){return ge=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ge(l)}it.EMPTY=null,it.EMPTY_RETURN_STATE=2147483647,it.globalNodeCount=1,it.id=it.globalNodeCount,it.trace_atn_sim=!1;var ve=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&q(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=ge(a);if(f){var v=ge(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return se(this,i)});function d(i,s){var v;(function(k,ee){if(!(k instanceof ee))throw new TypeError("Cannot call a class as a function")})(this,d);var S=new x;S.update(i,s);var E=S.finish();return(v=c.call(this,E)).parents=i,v.returnStates=s,se(v,be(v))}return r=d,(p=[{key:"isEmpty",value:function(){return this.returnStates[0]===it.EMPTY_RETURN_STATE}},{key:"getParent",value:function(i){return this.parents[i]}},{key:"getReturnState",value:function(i){return this.returnStates[i]}},{key:"equals",value:function(i){return this===i||i instanceof d&&this.hashCode()===i.hashCode()&&o(this.returnStates,i.returnStates)&&o(this.parents,i.parents)}},{key:"toString",value:function(){if(this.isEmpty())return"[]";for(var i="[",s=0;s<this.returnStates.length;s++)s>0&&(i+=", "),this.returnStates[s]!==it.EMPTY_RETURN_STATE?(i+=this.returnStates[s],this.parents[s]!==null?i=i+" "+this.parents[s]:i+="null"):i+="$";return i+"]"}},{key:"length",get:function(){return this.returnStates.length}}])&&H(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(it);function ze(l){return ze=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},ze(l)}function Me(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(ze(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(ze(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),ze(f)==="symbol"?f:String(f)),a)}var f}function ot(l,r){return ot=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},ot(l,r)}function Ut(l){return Ut=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Ut(l)}var ct=function(l){(function(s,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function");s.prototype=Object.create(v&&v.prototype,{constructor:{value:s,writable:!0,configurable:!0}}),Object.defineProperty(s,"prototype",{writable:!1}),v&&ot(s,v)})(i,l);var r,p,a,f,c,d=(f=i,c=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var s,v=Ut(f);if(c){var S=Ut(this).constructor;s=Reflect.construct(v,arguments,S)}else s=v.apply(this,arguments);return function(E,k){if(k&&(ze(k)==="object"||typeof k=="function"))return k;if(k!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(ee){if(ee===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ee}(E)}(this,s)});function i(s,v){var S;(function(ee,Ce){if(!(ee instanceof Ce))throw new TypeError("Cannot call a class as a function")})(this,i);var E,k=new x;return s!==null?k.update(s,v):k.update(1),E=k.finish(),(S=d.call(this,E)).parentCtx=s,S.returnState=v,S}return r=i,a=[{key:"create",value:function(s,v){return v===it.EMPTY_RETURN_STATE&&s===null?it.EMPTY:new i(s,v)}}],(p=[{key:"getParent",value:function(s){return this.parentCtx}},{key:"getReturnState",value:function(s){return this.returnState}},{key:"equals",value:function(s){return this===s||s instanceof i&&this.hashCode()===s.hashCode()&&this.returnState===s.returnState&&(this.parentCtx==null?s.parentCtx==null:this.parentCtx.equals(s.parentCtx))}},{key:"toString",value:function(){var s=this.parentCtx===null?"":this.parentCtx.toString();return s.length===0?this.returnState===it.EMPTY_RETURN_STATE?"$":""+this.returnState:this.returnState+" "+s}},{key:"length",get:function(){return 1}}])&&Me(r.prototype,p),a&&Me(r,a),Object.defineProperty(r,"prototype",{writable:!1}),i}(it);function Kt(l){return Kt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Kt(l)}function An(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Kt(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Kt(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Kt(f)==="symbol"?f:String(f)),a)}var f}function jn(l,r){return jn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},jn(l,r)}function Xn(l){return Xn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Xn(l)}var Nr=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&jn(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=Xn(a);if(f){var v=Xn(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(Kt(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(){return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,d),c.call(this,null,it.EMPTY_RETURN_STATE)}return r=d,(p=[{key:"isEmpty",value:function(){return!0}},{key:"getParent",value:function(i){return null}},{key:"getReturnState",value:function(i){return this.returnState}},{key:"equals",value:function(i){return this===i}},{key:"toString",value:function(){return"$"}}])&&An(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(ct);function $r(l){return $r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},$r(l)}function vs(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if($r(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if($r(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),$r(f)==="symbol"?f:String(f)),a)}var f}it.EMPTY=new Nr;var qn="h-",Xi=function(){function l(a,f){(function(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")})(this,l),this.data={},this.hashFunction=a||P,this.equalsFunction=f||A}var r,p;return r=l,(p=[{key:"set",value:function(a,f){var c=qn+this.hashFunction(a);if(c in this.data){for(var d=this.data[c],i=0;i<d.length;i++){var s=d[i];if(this.equalsFunction(a,s.key)){var v=s.value;return s.value=f,v}}return d.push({key:a,value:f}),f}return this.data[c]=[{key:a,value:f}],f}},{key:"containsKey",value:function(a){var f=qn+this.hashFunction(a);if(f in this.data)for(var c=this.data[f],d=0;d<c.length;d++){var i=c[d];if(this.equalsFunction(a,i.key))return!0}return!1}},{key:"get",value:function(a){var f=qn+this.hashFunction(a);if(f in this.data)for(var c=this.data[f],d=0;d<c.length;d++){var i=c[d];if(this.equalsFunction(a,i.key))return i.value}return null}},{key:"entries",value:function(){var a=this;return Object.keys(this.data).filter(function(f){return f.startsWith(qn)}).flatMap(function(f){return a.data[f]},this)}},{key:"getKeys",value:function(){return this.entries().map(function(a){return a.key})}},{key:"getValues",value:function(){return this.entries().map(function(a){return a.value})}},{key:"toString",value:function(){return"["+this.entries().map(function(a){return"{"+a.key+":"+a.value+"}"}).join(", ")+"]"}},{key:"length",get:function(){var a=this;return Object.keys(this.data).filter(function(f){return f.startsWith(qn)}).map(function(f){return a.data[f].length},this).reduce(function(f,c){return f+c},0)}}])&&vs(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function aa(l,r){if(r==null&&(r=Wi.EMPTY),r.parentCtx===null||r===Wi.EMPTY)return it.EMPTY;var p=aa(l,r.parentCtx),a=l.states[r.invokingState].transitions[0];return ct.create(p,a.followState.stateNumber)}function Gu(l,r,p){if(l.isEmpty())return l;var a=p.get(l)||null;if(a!==null)return a;if((a=r.get(l))!==null)return p.set(l,a),a;for(var f=!1,c=[],d=0;d<c.length;d++){var i=Gu(l.getParent(d),r,p);if(f||i!==l.getParent(d)){if(!f){c=[];for(var s=0;s<l.length;s++)c[s]=l.getParent(s);f=!0}c[d]=i}}if(!f)return r.add(l),p.set(l,l),l;var v;return v=c.length===0?it.EMPTY:c.length===1?ct.create(c[0],l.getReturnState(0)):new ve(c,l.returnStates),r.add(v),p.set(v,v),p.set(l,v),v}function sa(l,r,p,a){if(l===r)return l;if(l instanceof ct&&r instanceof ct)return function(f,c,d,i){if(i!==null){var s=i.get(f,c);if(s!==null||(s=i.get(c,f))!==null)return s}var v=function($e,yn,hn){if(hn){if($e===it.EMPTY||yn===it.EMPTY)return it.EMPTY}else{if($e===it.EMPTY&&yn===it.EMPTY)return it.EMPTY;if($e===it.EMPTY){var Gn=[yn.returnState,it.EMPTY_RETURN_STATE],Fr=[yn.parentCtx,null];return new ve(Fr,Gn)}if(yn===it.EMPTY){var Di=[$e.returnState,it.EMPTY_RETURN_STATE],Ci=[$e.parentCtx,null];return new ve(Ci,Di)}}return null}(f,c,d);if(v!==null)return i!==null&&i.set(f,c,v),v;if(f.returnState===c.returnState){var S=sa(f.parentCtx,c.parentCtx,d,i);if(S===f.parentCtx)return f;if(S===c.parentCtx)return c;var E=ct.create(S,f.returnState);return i!==null&&i.set(f,c,E),E}var k=null;if((f===c||f.parentCtx!==null&&f.parentCtx===c.parentCtx)&&(k=f.parentCtx),k!==null){var ee=[f.returnState,c.returnState];f.returnState>c.returnState&&(ee[0]=c.returnState,ee[1]=f.returnState);var Ce=new ve([k,k],ee);return i!==null&&i.set(f,c,Ce),Ce}var xe=[f.returnState,c.returnState],Ge=[f.parentCtx,c.parentCtx];f.returnState>c.returnState&&(xe[0]=c.returnState,xe[1]=f.returnState,Ge=[c.parentCtx,f.parentCtx]);var at=new ve(Ge,xe);return i!==null&&i.set(f,c,at),at}(l,r,p,a);if(p){if(l instanceof Nr)return l;if(r instanceof Nr)return r}return l instanceof ct&&(l=new ve([l.getParent()],[l.returnState])),r instanceof ct&&(r=new ve([r.getParent()],[r.returnState])),function(f,c,d,i){if(i!==null){var s=i.get(f,c);if(s!==null||(s=i.get(c,f))!==null)return it.trace_atn_sim&&console.log("mergeArrays a="+f+",b="+c+" -> previous"),s}for(var v=0,S=0,E=0,k=new Array(f.returnStates.length+c.returnStates.length).fill(0),ee=new Array(f.returnStates.length+c.returnStates.length).fill(null);v<f.returnStates.length&&S<c.returnStates.length;){var Ce=f.parents[v],xe=c.parents[S];if(f.returnStates[v]===c.returnStates[S]){var Ge=f.returnStates[v];Ge===it.EMPTY_RETURN_STATE&&Ce===null&&xe===null||Ce!==null&&xe!==null&&Ce===xe?(ee[E]=Ce,k[E]=Ge):(ee[E]=sa(Ce,xe,d,i),k[E]=Ge),v+=1,S+=1}else f.returnStates[v]<c.returnStates[S]?(ee[E]=Ce,k[E]=f.returnStates[v],v+=1):(ee[E]=xe,k[E]=c.returnStates[S],S+=1);E+=1}if(v<f.returnStates.length)for(var at=v;at<f.returnStates.length;at++)ee[E]=f.parents[at],k[E]=f.returnStates[at],E+=1;else for(var $e=S;$e<c.returnStates.length;$e++)ee[E]=c.parents[$e],k[E]=c.returnStates[$e],E+=1;if(E<ee.length){if(E===1){var yn=ct.create(ee[0],k[0]);return i!==null&&i.set(f,c,yn),yn}ee=ee.slice(0,E),k=k.slice(0,E)}var hn=new ve(ee,k);return hn.equals(f)?(i!==null&&i.set(f,c,f),it.trace_atn_sim&&console.log("mergeArrays a="+f+",b="+c+" -> a"),f):hn.equals(c)?(i!==null&&i.set(f,c,c),it.trace_atn_sim&&console.log("mergeArrays a="+f+",b="+c+" -> b"),c):(function(Gn){for(var Fr=new Xi,Di=0;Di<Gn.length;Di++){var Ci=Gn[Di];Fr.containsKey(Ci)||Fr.set(Ci,Ci)}for(var Sr=0;Sr<Gn.length;Sr++)Gn[Sr]=Fr.get(Gn[Sr])}(ee),i!==null&&i.set(f,c,hn),it.trace_atn_sim&&console.log("mergeArrays a="+f+",b="+c+" -> "+hn),hn)}(l,r,p,a)}function qi(l){return qi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},qi(l)}function Yi(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(qi(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(qi(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),qi(f)==="symbol"?f:String(f)),a)}var f}var Pr=function(){function l(){(function(a,f){if(!(a instanceof f))throw new TypeError("Cannot call a class as a function")})(this,l),this.data=[]}var r,p;return r=l,(p=[{key:"add",value:function(a){this.data[a]=!0}},{key:"or",value:function(a){var f=this;Object.keys(a.data).map(function(c){return f.add(c)},this)}},{key:"remove",value:function(a){delete this.data[a]}},{key:"has",value:function(a){return this.data[a]===!0}},{key:"values",value:function(){return Object.keys(this.data)}},{key:"minValue",value:function(){return Math.min.apply(null,this.values())}},{key:"hashCode",value:function(){return x.hashStuff(this.values())}},{key:"equals",value:function(a){return a instanceof l&&o(this.data,a.data)}},{key:"toString",value:function(){return"{"+this.values().join(", ")+"}"}},{key:"length",get:function(){return this.values().length}}])&&Yi(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function co(l){return co=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},co(l)}function Ku(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(co(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(co(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),co(f)==="symbol"?f:String(f)),a)}var f}var Fo=function(){function l(a){(function(f,c){if(!(f instanceof c))throw new TypeError("Cannot call a class as a function")})(this,l),this.atn=a}var r,p;return r=l,(p=[{key:"getDecisionLookahead",value:function(a){if(a===null)return null;for(var f=a.transitions.length,c=[],d=0;d<f;d++){c[d]=new ne;var i=new g;this._LOOK(a.transition(d).target,null,it.EMPTY,c[d],i,new Pr,!1,!1),(c[d].length===0||c[d].contains(l.HIT_PRED))&&(c[d]=null)}return c}},{key:"LOOK",value:function(a,f,c){var d=new ne,i=(c=c||null)!==null?aa(a.atn,c):null;return this._LOOK(a,f,i,d,new g,new Pr,!0,!0),d}},{key:"_LOOK",value:function(a,f,c,d,i,s,v,S){var E=new le({state:a,alt:0,context:c},null);if(!i.has(E)){if(i.add(E),a===f){if(c===null)return void d.addOne(n.EPSILON);if(c.isEmpty()&&S)return void d.addOne(n.EOF)}if(a instanceof Dt){if(c===null)return void d.addOne(n.EPSILON);if(c.isEmpty()&&S)return void d.addOne(n.EOF);if(c!==it.EMPTY){var k=s.has(a.ruleIndex);try{s.remove(a.ruleIndex);for(var ee=0;ee<c.length;ee++){var Ce=this.atn.states[c.getReturnState(ee)];this._LOOK(Ce,f,c.getParent(ee),d,i,s,v,S)}}finally{k&&s.add(a.ruleIndex)}return}}for(var xe=0;xe<a.transitions.length;xe++){var Ge=a.transitions[xe];if(Ge.constructor===Zt){if(s.has(Ge.target.ruleIndex))continue;var at=ct.create(c,Ge.followState.stateNumber);try{s.add(Ge.target.ruleIndex),this._LOOK(Ge.target,f,at,d,i,s,v,S)}finally{s.remove(Ge.target.ruleIndex)}}else if(Ge instanceof uo)v?this._LOOK(Ge.target,f,c,d,i,s,v,S):d.addOne(l.HIT_PRED);else if(Ge.isEpsilon)this._LOOK(Ge.target,f,c,d,i,s,v,S);else if(Ge.constructor===In)d.addRange(n.MIN_USER_TOKEN_TYPE,this.atn.maxTokenType);else{var $e=Ge.label;$e!==null&&(Ge instanceof rn&&($e=$e.complement(n.MIN_USER_TOKEN_TYPE,this.atn.maxTokenType)),d.addSet($e))}}}}}])&&Ku(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function Es(l){return Es=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Es(l)}function c0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Es(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Es(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Es(f)==="symbol"?f:String(f)),a)}var f}Fo.HIT_PRED=n.INVALID_TYPE;var dn=function(){function l(a,f){(function(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")})(this,l),this.grammarType=a,this.maxTokenType=f,this.states=[],this.decisionToState=[],this.ruleToStartState=[],this.ruleToStopState=null,this.modeNameToStartState={},this.ruleToTokenType=null,this.lexerActions=null,this.modeToStartState=[]}var r,p;return r=l,(p=[{key:"nextTokensInContext",value:function(a,f){return new Fo(this).LOOK(a,null,f)}},{key:"nextTokensNoContext",value:function(a){return a.nextTokenWithinRule!==null||(a.nextTokenWithinRule=this.nextTokensInContext(a,null),a.nextTokenWithinRule.readOnly=!0),a.nextTokenWithinRule}},{key:"nextTokens",value:function(a,f){return f===void 0?this.nextTokensNoContext(a):this.nextTokensInContext(a,f)}},{key:"addState",value:function(a){a!==null&&(a.atn=this,a.stateNumber=this.states.length),this.states.push(a)}},{key:"removeState",value:function(a){this.states[a.stateNumber]=null}},{key:"defineDecisionState",value:function(a){return this.decisionToState.push(a),a.decision=this.decisionToState.length-1,a.decision}},{key:"getDecisionState",value:function(a){return this.decisionToState.length===0?null:this.decisionToState[a]}},{key:"getExpectedTokens",value:function(a,f){if(a<0||a>=this.states.length)throw"Invalid state number.";var c=this.states[a],d=this.nextTokens(c);if(!d.contains(n.EPSILON))return d;var i=new ne;for(i.addSet(d),i.removeOne(n.EPSILON);f!==null&&f.invokingState>=0&&d.contains(n.EPSILON);){var s=this.states[f.invokingState].transitions[0];d=this.nextTokens(s.followState),i.addSet(d),i.removeOne(n.EPSILON),f=f.parentCtx}return d.contains(n.EPSILON)&&i.addOne(n.EOF),i}}])&&c0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();dn.INVALID_ALT_NUMBER=0;function uf(l){return uf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},uf(l)}function cf(l,r){return cf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},cf(l,r)}function zu(l){return zu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},zu(l)}var Td=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&cf(d,i)})(c,l);var r,p,a,f=(p=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,i=zu(p);if(a){var s=zu(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return function(v,S){if(S&&(uf(S)==="object"||typeof S=="function"))return S;if(S!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}(v)}(this,d)});function c(){var d;return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,c),(d=f.call(this)).stateType=me.BASIC,d}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(me);function lf(l){return lf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},lf(l)}function ff(l,r){return ff=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},ff(l,r)}function Ad(l,r){if(r&&(lf(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return xd(l)}function xd(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function $u(l){return $u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},$u(l)}var ua=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&ff(d,i)})(c,l);var r,p,a,f=(p=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,i=$u(p);if(a){var s=$u(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return Ad(this,d)});function c(){var d;return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,c),(d=f.call(this)).decision=-1,d.nonGreedy=!1,Ad(d,xd(d))}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(me);function hf(l){return hf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},hf(l)}function pf(l,r){return pf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},pf(l,r)}function Od(l,r){if(r&&(hf(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Dd(l)}function Dd(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function Wu(l){return Wu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Wu(l)}var ca=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&pf(d,i)})(c,l);var r,p,a,f=(p=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,i=Wu(p);if(a){var s=Wu(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return Od(this,d)});function c(){var d;return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,c),(d=f.call(this)).endState=null,Od(d,Dd(d))}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(ua);function df(l){return df=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},df(l)}function yf(l,r){return yf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},yf(l,r)}function Cd(l,r){if(r&&(df(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return kd(l)}function kd(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function Xu(l){return Xu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Xu(l)}var mf=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&yf(d,i)})(c,l);var r,p,a,f=(p=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,i=Xu(p);if(a){var s=Xu(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return Cd(this,d)});function c(){var d;return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,c),(d=f.call(this)).stateType=me.BLOCK_END,d.startState=null,Cd(d,kd(d))}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(me);function _f(l){return _f=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_f(l)}function gf(l,r){return gf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},gf(l,r)}function Rd(l,r){if(r&&(_f(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return wd(l)}function wd(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function qu(l){return qu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},qu(l)}var la=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&gf(d,i)})(c,l);var r,p,a,f=(p=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,i=qu(p);if(a){var s=qu(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return Rd(this,d)});function c(){var d;return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,c),(d=f.call(this)).stateType=me.LOOP_END,d.loopBackState=null,Rd(d,wd(d))}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(me);function bf(l){return bf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},bf(l)}function vf(l,r){return vf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},vf(l,r)}function Nd(l,r){if(r&&(bf(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Pd(l)}function Pd(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function Yu(l){return Yu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Yu(l)}var Id=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&vf(d,i)})(c,l);var r,p,a,f=(p=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,i=Yu(p);if(a){var s=Yu(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return Nd(this,d)});function c(){var d;return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,c),(d=f.call(this)).stateType=me.RULE_START,d.stopState=null,d.isPrecedenceRule=!1,Nd(d,Pd(d))}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(me);function Ef(l){return Ef=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ef(l)}function Sf(l,r){return Sf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Sf(l,r)}function Fd(l,r){if(r&&(Ef(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Md(l)}function Md(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function Ju(l){return Ju=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Ju(l)}var l0=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&Sf(d,i)})(c,l);var r,p,a,f=(p=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,i=Ju(p);if(a){var s=Ju(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return Fd(this,d)});function c(){var d;return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,c),(d=f.call(this)).stateType=me.TOKEN_START,Fd(d,Md(d))}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(ua);function Tf(l){return Tf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Tf(l)}function Af(l,r){return Af=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Af(l,r)}function Ld(l,r){if(r&&(Tf(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Bd(l)}function Bd(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function Zu(l){return Zu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Zu(l)}var Ud=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&Af(d,i)})(c,l);var r,p,a,f=(p=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,i=Zu(p);if(a){var s=Zu(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return Ld(this,d)});function c(){var d;return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,c),(d=f.call(this)).stateType=me.PLUS_LOOP_BACK,Ld(d,Bd(d))}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(ua);function xf(l){return xf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},xf(l)}function Of(l,r){return Of=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Of(l,r)}function Vd(l,r){if(r&&(xf(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return jd(l)}function jd(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function Qu(l){return Qu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Qu(l)}var Df=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&Of(d,i)})(c,l);var r,p,a,f=(p=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,i=Qu(p);if(a){var s=Qu(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return Vd(this,d)});function c(){var d;return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,c),(d=f.call(this)).stateType=me.STAR_LOOP_BACK,Vd(d,jd(d))}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(me);function Cf(l){return Cf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Cf(l)}function kf(l,r){return kf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},kf(l,r)}function Hd(l,r){if(r&&(Cf(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Gd(l)}function Gd(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function ec(l){return ec=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ec(l)}var Mo=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&kf(d,i)})(c,l);var r,p,a,f=(p=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,i=ec(p);if(a){var s=ec(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return Hd(this,d)});function c(){var d;return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,c),(d=f.call(this)).stateType=me.STAR_LOOP_ENTRY,d.loopBackState=null,d.isPrecedenceDecision=null,Hd(d,Gd(d))}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(ua);function Rf(l){return Rf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Rf(l)}function wf(l,r){return wf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},wf(l,r)}function Kd(l,r){if(r&&(Rf(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return zd(l)}function zd(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function tc(l){return tc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},tc(l)}var Nf=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&wf(d,i)})(c,l);var r,p,a,f=(p=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,i=tc(p);if(a){var s=tc(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return Kd(this,d)});function c(){var d;return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,c),(d=f.call(this)).stateType=me.PLUS_BLOCK_START,d.loopBackState=null,Kd(d,zd(d))}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(ca);function Pf(l){return Pf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Pf(l)}function If(l,r){return If=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},If(l,r)}function $d(l,r){if(r&&(Pf(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Wd(l)}function Wd(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function nc(l){return nc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},nc(l)}var Ff=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&If(d,i)})(c,l);var r,p,a,f=(p=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,i=nc(p);if(a){var s=nc(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return $d(this,d)});function c(){var d;return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,c),(d=f.call(this)).stateType=me.STAR_BLOCK_START,$d(d,Wd(d))}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(ca);function Mf(l){return Mf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Mf(l)}function Lf(l,r){return Lf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Lf(l,r)}function Xd(l,r){if(r&&(Mf(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return qd(l)}function qd(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function rc(l){return rc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},rc(l)}var Yd=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&Lf(d,i)})(c,l);var r,p,a,f=(p=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,i=rc(p);if(a){var s=rc(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return Xd(this,d)});function c(){var d;return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,c),(d=f.call(this)).stateType=me.BLOCK_START,Xd(d,qd(d))}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(ca);function fa(l){return fa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},fa(l)}function f0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(fa(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(fa(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),fa(f)==="symbol"?f:String(f)),a)}var f}function Bf(l,r){return Bf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Bf(l,r)}function ic(l){return ic=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ic(l)}var Uf=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Bf(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=ic(a);if(f){var v=ic(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(fa(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i,s){var v;return function(S,E){if(!(S instanceof E))throw new TypeError("Cannot call a class as a function")}(this,d),(v=c.call(this,i)).label_=s,v.label=v.makeLabel(),v.serializationType=pe.ATOM,v}return r=d,(p=[{key:"makeLabel",value:function(){var i=new ne;return i.addOne(this.label_),i}},{key:"matches",value:function(i,s,v){return this.label_===i}},{key:"toString",value:function(){return this.label_}}])&&f0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(pe);function ha(l){return ha=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},ha(l)}function h0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(ha(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(ha(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),ha(f)==="symbol"?f:String(f)),a)}var f}function Vf(l,r){return Vf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Vf(l,r)}function oc(l){return oc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},oc(l)}var p0=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Vf(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=oc(a);if(f){var v=oc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(ha(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i,s,v){var S;return function(E,k){if(!(E instanceof k))throw new TypeError("Cannot call a class as a function")}(this,d),(S=c.call(this,i)).serializationType=pe.RANGE,S.start=s,S.stop=v,S.label=S.makeLabel(),S}return r=d,(p=[{key:"makeLabel",value:function(){var i=new ne;return i.addRange(this.start,this.stop),i}},{key:"matches",value:function(i,s,v){return i>=this.start&&i<=this.stop}},{key:"toString",value:function(){return"'"+String.fromCharCode(this.start)+"'..'"+String.fromCharCode(this.stop)+"'"}}])&&h0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(pe);function pa(l){return pa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},pa(l)}function d0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(pa(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(pa(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),pa(f)==="symbol"?f:String(f)),a)}var f}function jf(l,r){return jf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},jf(l,r)}function ac(l){return ac=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ac(l)}var Jd=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&jf(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=ac(a);if(f){var v=ac(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(pa(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i,s,v,S){var E;return function(k,ee){if(!(k instanceof ee))throw new TypeError("Cannot call a class as a function")}(this,d),(E=c.call(this,i)).serializationType=pe.ACTION,E.ruleIndex=s,E.actionIndex=v===void 0?-1:v,E.isCtxDependent=S!==void 0&&S,E.isEpsilon=!0,E}return r=d,(p=[{key:"matches",value:function(i,s,v){return!1}},{key:"toString",value:function(){return"action_"+this.ruleIndex+":"+this.actionIndex}}])&&d0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(pe);function da(l){return da=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},da(l)}function y0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(da(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(da(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),da(f)==="symbol"?f:String(f)),a)}var f}function Hf(l,r){return Hf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Hf(l,r)}function sc(l){return sc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},sc(l)}var Ss=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Hf(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=sc(a);if(f){var v=sc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(da(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i,s){var v;return function(S,E){if(!(S instanceof E))throw new TypeError("Cannot call a class as a function")}(this,d),(v=c.call(this,i)).serializationType=pe.EPSILON,v.isEpsilon=!0,v.outermostPrecedenceReturn=s,v}return r=d,(p=[{key:"matches",value:function(i,s,v){return!1}},{key:"toString",value:function(){return"epsilon"}}])&&y0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(pe);function ya(l){return ya=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},ya(l)}function m0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(ya(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(ya(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),ya(f)==="symbol"?f:String(f)),a)}var f}function Gf(l,r){return Gf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Gf(l,r)}function uc(l){return uc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},uc(l)}var Zd=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Gf(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=uc(a);if(f){var v=uc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(ya(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i,s,v){var S;return function(E,k){if(!(E instanceof k))throw new TypeError("Cannot call a class as a function")}(this,d),(S=c.call(this)).ruleIndex=i===void 0?-1:i,S.predIndex=s===void 0?-1:s,S.isCtxDependent=v!==void 0&&v,S}return r=d,(p=[{key:"evaluate",value:function(i,s){var v=this.isCtxDependent?s:null;return i.sempred(v,this.ruleIndex,this.predIndex)}},{key:"updateHashCode",value:function(i){i.update(this.ruleIndex,this.predIndex,this.isCtxDependent)}},{key:"equals",value:function(i){return this===i||i instanceof d&&this.ruleIndex===i.ruleIndex&&this.predIndex===i.predIndex&&this.isCtxDependent===i.isCtxDependent}},{key:"toString",value:function(){return"{"+this.ruleIndex+":"+this.predIndex+"}?"}}])&&m0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(G);function ma(l){return ma=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},ma(l)}function _0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(ma(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(ma(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),ma(f)==="symbol"?f:String(f)),a)}var f}function Kf(l,r){return Kf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Kf(l,r)}function cc(l){return cc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},cc(l)}G.NONE=new Zd;var Qd=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Kf(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=cc(a);if(f){var v=cc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(ma(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i,s,v,S){var E;return function(k,ee){if(!(k instanceof ee))throw new TypeError("Cannot call a class as a function")}(this,d),(E=c.call(this,i)).serializationType=pe.PREDICATE,E.ruleIndex=s,E.predIndex=v,E.isCtxDependent=S,E.isEpsilon=!0,E}return r=d,(p=[{key:"matches",value:function(i,s,v){return!1}},{key:"getPredicate",value:function(){return new Zd(this.ruleIndex,this.predIndex,this.isCtxDependent)}},{key:"toString",value:function(){return"pred_"+this.ruleIndex+":"+this.predIndex}}])&&_0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(uo);function _a(l){return _a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_a(l)}function g0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(_a(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(_a(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),_a(f)==="symbol"?f:String(f)),a)}var f}function zf(l,r){return zf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},zf(l,r)}function lc(l){return lc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},lc(l)}var ey=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&zf(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=lc(a);if(f){var v=lc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(_a(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i){var s;return function(v,S){if(!(v instanceof S))throw new TypeError("Cannot call a class as a function")}(this,d),(s=c.call(this)).precedence=i===void 0?0:i,s}return r=d,(p=[{key:"evaluate",value:function(i,s){return i.precpred(s,this.precedence)}},{key:"evalPrecedence",value:function(i,s){return i.precpred(s,this.precedence)?G.NONE:null}},{key:"compareTo",value:function(i){return this.precedence-i.precedence}},{key:"updateHashCode",value:function(i){i.update(this.precedence)}},{key:"equals",value:function(i){return this===i||i instanceof d&&this.precedence===i.precedence}},{key:"toString",value:function(){return"{"+this.precedence+">=prec}?"}}])&&g0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(G);function ga(l){return ga=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},ga(l)}function b0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(ga(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(ga(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),ga(f)==="symbol"?f:String(f)),a)}var f}function $f(l,r){return $f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},$f(l,r)}function fc(l){return fc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},fc(l)}G.PrecedencePredicate=ey;var v0=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&$f(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=fc(a);if(f){var v=fc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(ga(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i,s){var v;return function(S,E){if(!(S instanceof E))throw new TypeError("Cannot call a class as a function")}(this,d),(v=c.call(this,i)).serializationType=pe.PRECEDENCE,v.precedence=s,v.isEpsilon=!0,v}return r=d,(p=[{key:"matches",value:function(i,s,v){return!1}},{key:"getPredicate",value:function(){return new ey(this.precedence)}},{key:"toString",value:function(){return this.precedence+" >= _p"}}])&&b0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(uo);function Ts(l){return Ts=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ts(l)}function ty(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ts(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ts(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ts(f)==="symbol"?f:String(f)),a)}var f}function E0(l,r,p){return r&&ty(l.prototype,r),p&&ty(l,p),Object.defineProperty(l,"prototype",{writable:!1}),l}var As=E0(function l(r){(function(p,a){if(!(p instanceof a))throw new TypeError("Cannot call a class as a function")})(this,l),r===void 0&&(r=null),this.readOnly=!1,this.verifyATN=r===null||r.verifyATN,this.generateRuleBypassTransitions=r!==null&&r.generateRuleBypassTransitions});As.defaultOptions=new As,As.defaultOptions.readOnly=!0;function xs(l){return xs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},xs(l)}function S0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(xs(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(xs(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),xs(f)==="symbol"?f:String(f)),a)}var f}var Ji=function(){function l(a){(function(f,c){if(!(f instanceof c))throw new TypeError("Cannot call a class as a function")})(this,l),this.actionType=a,this.isPositionDependent=!1}var r,p;return r=l,(p=[{key:"hashCode",value:function(){var a=new x;return this.updateHashCode(a),a.finish()}},{key:"updateHashCode",value:function(a){a.update(this.actionType)}},{key:"equals",value:function(a){return this===a}}])&&S0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function ba(l){return ba=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},ba(l)}function T0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(ba(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(ba(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),ba(f)==="symbol"?f:String(f)),a)}var f}function Wf(l,r){return Wf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Wf(l,r)}function hc(l){return hc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},hc(l)}var Xf=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Wf(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=hc(a);if(f){var v=hc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(ba(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(){return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,d),c.call(this,6)}return r=d,(p=[{key:"execute",value:function(i){i.skip()}},{key:"toString",value:function(){return"skip"}}])&&T0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Ji);function va(l){return va=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},va(l)}function A0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(va(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(va(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),va(f)==="symbol"?f:String(f)),a)}var f}function qf(l,r){return qf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},qf(l,r)}function pc(l){return pc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},pc(l)}Xf.INSTANCE=new Xf;var x0=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&qf(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=pc(a);if(f){var v=pc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(va(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i){var s;return function(v,S){if(!(v instanceof S))throw new TypeError("Cannot call a class as a function")}(this,d),(s=c.call(this,0)).channel=i,s}return r=d,(p=[{key:"execute",value:function(i){i._channel=this.channel}},{key:"updateHashCode",value:function(i){i.update(this.actionType,this.channel)}},{key:"equals",value:function(i){return this===i||i instanceof d&&this.channel===i.channel}},{key:"toString",value:function(){return"channel("+this.channel+")"}}])&&A0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Ji);function Ea(l){return Ea=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ea(l)}function O0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ea(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ea(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ea(f)==="symbol"?f:String(f)),a)}var f}function Yf(l,r){return Yf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Yf(l,r)}function dc(l){return dc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},dc(l)}var D0=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Yf(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=dc(a);if(f){var v=dc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(Ea(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i,s){var v;return function(S,E){if(!(S instanceof E))throw new TypeError("Cannot call a class as a function")}(this,d),(v=c.call(this,1)).ruleIndex=i,v.actionIndex=s,v.isPositionDependent=!0,v}return r=d,(p=[{key:"execute",value:function(i){i.action(null,this.ruleIndex,this.actionIndex)}},{key:"updateHashCode",value:function(i){i.update(this.actionType,this.ruleIndex,this.actionIndex)}},{key:"equals",value:function(i){return this===i||i instanceof d&&this.ruleIndex===i.ruleIndex&&this.actionIndex===i.actionIndex}}])&&O0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Ji);function Sa(l){return Sa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Sa(l)}function C0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Sa(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Sa(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Sa(f)==="symbol"?f:String(f)),a)}var f}function Jf(l,r){return Jf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Jf(l,r)}function yc(l){return yc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},yc(l)}var Zf=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Jf(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=yc(a);if(f){var v=yc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(Sa(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(){return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,d),c.call(this,3)}return r=d,(p=[{key:"execute",value:function(i){i.more()}},{key:"toString",value:function(){return"more"}}])&&C0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Ji);function Ta(l){return Ta=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ta(l)}function k0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ta(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ta(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ta(f)==="symbol"?f:String(f)),a)}var f}function Qf(l,r){return Qf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Qf(l,r)}function mc(l){return mc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},mc(l)}Zf.INSTANCE=new Zf;var R0=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Qf(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=mc(a);if(f){var v=mc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(Ta(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i){var s;return function(v,S){if(!(v instanceof S))throw new TypeError("Cannot call a class as a function")}(this,d),(s=c.call(this,7)).type=i,s}return r=d,(p=[{key:"execute",value:function(i){i.type=this.type}},{key:"updateHashCode",value:function(i){i.update(this.actionType,this.type)}},{key:"equals",value:function(i){return this===i||i instanceof d&&this.type===i.type}},{key:"toString",value:function(){return"type("+this.type+")"}}])&&k0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Ji);function Aa(l){return Aa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Aa(l)}function w0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Aa(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Aa(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Aa(f)==="symbol"?f:String(f)),a)}var f}function eh(l,r){return eh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},eh(l,r)}function _c(l){return _c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},_c(l)}var N0=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&eh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=_c(a);if(f){var v=_c(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(Aa(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i){var s;return function(v,S){if(!(v instanceof S))throw new TypeError("Cannot call a class as a function")}(this,d),(s=c.call(this,5)).mode=i,s}return r=d,(p=[{key:"execute",value:function(i){i.pushMode(this.mode)}},{key:"updateHashCode",value:function(i){i.update(this.actionType,this.mode)}},{key:"equals",value:function(i){return this===i||i instanceof d&&this.mode===i.mode}},{key:"toString",value:function(){return"pushMode("+this.mode+")"}}])&&w0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Ji);function xa(l){return xa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},xa(l)}function P0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(xa(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(xa(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),xa(f)==="symbol"?f:String(f)),a)}var f}function th(l,r){return th=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},th(l,r)}function gc(l){return gc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},gc(l)}var nh=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&th(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=gc(a);if(f){var v=gc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(xa(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(){return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,d),c.call(this,4)}return r=d,(p=[{key:"execute",value:function(i){i.popMode()}},{key:"toString",value:function(){return"popMode"}}])&&P0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Ji);function Oa(l){return Oa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Oa(l)}function I0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Oa(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Oa(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Oa(f)==="symbol"?f:String(f)),a)}var f}function rh(l,r){return rh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},rh(l,r)}function bc(l){return bc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},bc(l)}nh.INSTANCE=new nh;var F0=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&rh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=bc(a);if(f){var v=bc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(Oa(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i){var s;return function(v,S){if(!(v instanceof S))throw new TypeError("Cannot call a class as a function")}(this,d),(s=c.call(this,2)).mode=i,s}return r=d,(p=[{key:"execute",value:function(i){i.mode(this.mode)}},{key:"updateHashCode",value:function(i){i.update(this.actionType,this.mode)}},{key:"equals",value:function(i){return this===i||i instanceof d&&this.mode===i.mode}},{key:"toString",value:function(){return"mode("+this.mode+")"}}])&&I0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Ji);function Os(l){return Os=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Os(l)}function M0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Os(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Os(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Os(f)==="symbol"?f:String(f)),a)}var f}function vc(l,r){var p=[];return p[l-1]=r,p.map(function(a){return r})}var ih=function(){function l(a){(function(f,c){if(!(f instanceof c))throw new TypeError("Cannot call a class as a function")})(this,l),a==null&&(a=As.defaultOptions),this.deserializationOptions=a,this.stateFactories=null,this.actionFactories=null}var r,p;return r=l,p=[{key:"deserialize",value:function(a){var f=this.reset(a);this.checkVersion(f),f&&this.skipUUID();var c=this.readATN();this.readStates(c,f),this.readRules(c,f),this.readModes(c);var d=[];return this.readSets(c,d,this.readInt.bind(this)),f&&this.readSets(c,d,this.readInt32.bind(this)),this.readEdges(c,d),this.readDecisions(c),this.readLexerActions(c,f),this.markPrecedenceDecisions(c),this.verifyATN(c),this.deserializationOptions.generateRuleBypassTransitions&&c.grammarType===1&&(this.generateRuleBypassTransitions(c),this.verifyATN(c)),c}},{key:"reset",value:function(a){if((a.charCodeAt?a.charCodeAt(0):a[0])===3){var f=a.split("").map(function(c){var d=c.charCodeAt(0);return d>1?d-2:d+65534});return f[0]=a.charCodeAt(0),this.data=f,this.pos=0,!0}return this.data=a,this.pos=0,!1}},{key:"skipUUID",value:function(){for(var a=0;a++<8;)this.readInt()}},{key:"checkVersion",value:function(a){var f=this.readInt();if(!a&&f!==4)throw"Could not deserialize ATN with version "+f+" (expected 4)."}},{key:"readATN",value:function(){var a=this.readInt(),f=this.readInt();return new dn(a,f)}},{key:"readStates",value:function(a,f){for(var c,d,i,s=[],v=[],S=this.readInt(),E=0;E<S;E++){var k=this.readInt();if(k!==me.INVALID_TYPE){var ee=this.readInt();f&&ee===65535&&(ee=-1);var Ce=this.stateFactory(k,ee);if(k===me.LOOP_END){var xe=this.readInt();s.push([Ce,xe])}else if(Ce instanceof ca){var Ge=this.readInt();v.push([Ce,Ge])}a.addState(Ce)}else a.addState(null)}for(c=0;c<s.length;c++)(d=s[c])[0].loopBackState=a.states[d[1]];for(c=0;c<v.length;c++)(d=v[c])[0].endState=a.states[d[1]];var at=this.readInt();for(c=0;c<at;c++)i=this.readInt(),a.states[i].nonGreedy=!0;var $e=this.readInt();for(c=0;c<$e;c++)i=this.readInt(),a.states[i].isPrecedenceRule=!0}},{key:"readRules",value:function(a,f){var c,d=this.readInt();for(a.grammarType===0&&(a.ruleToTokenType=vc(d,0)),a.ruleToStartState=vc(d,0),c=0;c<d;c++){var i=this.readInt();if(a.ruleToStartState[c]=a.states[i],a.grammarType===0){var s=this.readInt();f&&s===65535&&(s=n.EOF),a.ruleToTokenType[c]=s}}for(a.ruleToStopState=vc(d,0),c=0;c<a.states.length;c++){var v=a.states[c];v instanceof Dt&&(a.ruleToStopState[v.ruleIndex]=v,a.ruleToStartState[v.ruleIndex].stopState=v)}}},{key:"readModes",value:function(a){for(var f=this.readInt(),c=0;c<f;c++){var d=this.readInt();a.modeToStartState.push(a.states[d])}}},{key:"readSets",value:function(a,f,c){for(var d=this.readInt(),i=0;i<d;i++){var s=new ne;f.push(s);var v=this.readInt();this.readInt()!==0&&s.addOne(-1);for(var S=0;S<v;S++){var E=c(),k=c();s.addRange(E,k)}}}},{key:"readEdges",value:function(a,f){var c,d,i,s,v,S=this.readInt();for(c=0;c<S;c++){var E=this.readInt(),k=this.readInt(),ee=this.readInt(),Ce=this.readInt(),xe=this.readInt(),Ge=this.readInt();s=this.edgeFactory(a,ee,E,k,Ce,xe,Ge,f),a.states[E].addTransition(s)}for(c=0;c<a.states.length;c++)for(i=a.states[c],d=0;d<i.transitions.length;d++){var at=i.transitions[d];if(at instanceof Zt){var $e=-1;a.ruleToStartState[at.target.ruleIndex].isPrecedenceRule&&at.precedence===0&&($e=at.target.ruleIndex),s=new Ss(at.followState,$e),a.ruleToStopState[at.target.ruleIndex].addTransition(s)}}for(c=0;c<a.states.length;c++){if((i=a.states[c])instanceof ca){if(i.endState===null||i.endState.startState!==null)throw"IllegalState";i.endState.startState=i}if(i instanceof Ud)for(d=0;d<i.transitions.length;d++)(v=i.transitions[d].target)instanceof Nf&&(v.loopBackState=i);else if(i instanceof Df)for(d=0;d<i.transitions.length;d++)(v=i.transitions[d].target)instanceof Mo&&(v.loopBackState=i)}}},{key:"readDecisions",value:function(a){for(var f=this.readInt(),c=0;c<f;c++){var d=this.readInt(),i=a.states[d];a.decisionToState.push(i),i.decision=c}}},{key:"readLexerActions",value:function(a,f){if(a.grammarType===0){var c=this.readInt();a.lexerActions=vc(c,null);for(var d=0;d<c;d++){var i=this.readInt(),s=this.readInt();f&&s===65535&&(s=-1);var v=this.readInt();f&&v===65535&&(v=-1),a.lexerActions[d]=this.lexerActionFactory(i,s,v)}}}},{key:"generateRuleBypassTransitions",value:function(a){var f,c=a.ruleToStartState.length;for(f=0;f<c;f++)a.ruleToTokenType[f]=a.maxTokenType+f+1;for(f=0;f<c;f++)this.generateRuleBypassTransition(a,f)}},{key:"generateRuleBypassTransition",value:function(a,f){var c,d,i=new Yd;i.ruleIndex=f,a.addState(i);var s=new mf;s.ruleIndex=f,a.addState(s),i.endState=s,a.defineDecisionState(i),s.startState=i;var v=null,S=null;if(a.ruleToStartState[f].isPrecedenceRule){for(S=null,c=0;c<a.states.length;c++)if(d=a.states[c],this.stateIsEndStateFor(d,f)){S=d,v=d.loopBackState.transitions[0];break}if(v===null)throw"Couldn't identify final state of the precedence rule prefix section."}else S=a.ruleToStopState[f];for(c=0;c<a.states.length;c++){d=a.states[c];for(var E=0;E<d.transitions.length;E++){var k=d.transitions[E];k!==v&&k.target===S&&(k.target=s)}}for(var ee=a.ruleToStartState[f],Ce=ee.transitions.length;Ce>0;)i.addTransition(ee.transitions[Ce-1]),ee.transitions=ee.transitions.slice(-1);a.ruleToStartState[f].addTransition(new Ss(i)),s.addTransition(new Ss(S));var xe=new Td;a.addState(xe),xe.addTransition(new Uf(s,a.ruleToTokenType[f])),i.addTransition(new Ss(xe))}},{key:"stateIsEndStateFor",value:function(a,f){if(a.ruleIndex!==f||!(a instanceof Mo))return null;var c=a.transitions[a.transitions.length-1].target;return c instanceof la&&c.epsilonOnlyTransitions&&c.transitions[0].target instanceof Dt?a:null}},{key:"markPrecedenceDecisions",value:function(a){for(var f=0;f<a.states.length;f++){var c=a.states[f];if(c instanceof Mo&&a.ruleToStartState[c.ruleIndex].isPrecedenceRule){var d=c.transitions[c.transitions.length-1].target;d instanceof la&&d.epsilonOnlyTransitions&&d.transitions[0].target instanceof Dt&&(c.isPrecedenceDecision=!0)}}}},{key:"verifyATN",value:function(a){if(this.deserializationOptions.verifyATN)for(var f=0;f<a.states.length;f++){var c=a.states[f];if(c!==null)if(this.checkCondition(c.epsilonOnlyTransitions||c.transitions.length<=1),c instanceof Nf)this.checkCondition(c.loopBackState!==null);else if(c instanceof Mo)if(this.checkCondition(c.loopBackState!==null),this.checkCondition(c.transitions.length===2),c.transitions[0].target instanceof Ff)this.checkCondition(c.transitions[1].target instanceof la),this.checkCondition(!c.nonGreedy);else{if(!(c.transitions[0].target instanceof la))throw"IllegalState";this.checkCondition(c.transitions[1].target instanceof Ff),this.checkCondition(c.nonGreedy)}else c instanceof Df?(this.checkCondition(c.transitions.length===1),this.checkCondition(c.transitions[0].target instanceof Mo)):c instanceof la?this.checkCondition(c.loopBackState!==null):c instanceof Id?this.checkCondition(c.stopState!==null):c instanceof ca?this.checkCondition(c.endState!==null):c instanceof mf?this.checkCondition(c.startState!==null):c instanceof ua?this.checkCondition(c.transitions.length<=1||c.decision>=0):this.checkCondition(c.transitions.length<=1||c instanceof Dt)}}},{key:"checkCondition",value:function(a,f){if(!a)throw f==null&&(f="IllegalState"),f}},{key:"readInt",value:function(){return this.data[this.pos++]}},{key:"readInt32",value:function(){return this.readInt()|this.readInt()<<16}},{key:"edgeFactory",value:function(a,f,c,d,i,s,v,S){var E=a.states[d];switch(f){case pe.EPSILON:return new Ss(E);case pe.RANGE:return new p0(E,v!==0?n.EOF:i,s);case pe.RULE:return new Zt(a.states[i],s,v,E);case pe.PREDICATE:return new Qd(E,i,s,v!==0);case pe.PRECEDENCE:return new v0(E,i);case pe.ATOM:return new Uf(E,v!==0?n.EOF:i);case pe.ACTION:return new Jd(E,i,s,v!==0);case pe.SET:return new Si(E,S[i]);case pe.NOT_SET:return new rn(E,S[i]);case pe.WILDCARD:return new In(E);default:throw"The specified transition type: "+f+" is not valid."}}},{key:"stateFactory",value:function(a,f){if(this.stateFactories===null){var c=[];c[me.INVALID_TYPE]=null,c[me.BASIC]=function(){return new Td},c[me.RULE_START]=function(){return new Id},c[me.BLOCK_START]=function(){return new Yd},c[me.PLUS_BLOCK_START]=function(){return new Nf},c[me.STAR_BLOCK_START]=function(){return new Ff},c[me.TOKEN_START]=function(){return new l0},c[me.RULE_STOP]=function(){return new Dt},c[me.BLOCK_END]=function(){return new mf},c[me.STAR_LOOP_BACK]=function(){return new Df},c[me.STAR_LOOP_ENTRY]=function(){return new Mo},c[me.PLUS_LOOP_BACK]=function(){return new Ud},c[me.LOOP_END]=function(){return new la},this.stateFactories=c}if(a>this.stateFactories.length||this.stateFactories[a]===null)throw"The specified state type "+a+" is not valid.";var d=this.stateFactories[a]();if(d!==null)return d.ruleIndex=f,d}},{key:"lexerActionFactory",value:function(a,f,c){if(this.actionFactories===null){var d=[];d[0]=function(i,s){return new x0(i)},d[1]=function(i,s){return new D0(i,s)},d[2]=function(i,s){return new F0(i)},d[3]=function(i,s){return Zf.INSTANCE},d[4]=function(i,s){return nh.INSTANCE},d[5]=function(i,s){return new N0(i)},d[6]=function(i,s){return Xf.INSTANCE},d[7]=function(i,s){return new R0(i)},this.actionFactories=d}if(a>this.actionFactories.length||this.actionFactories[a]===null)throw"The specified lexer action type "+a+" is not valid.";return this.actionFactories[a](f,c)}}],p&&M0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function Ds(l){return Ds=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ds(l)}function L0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ds(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ds(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ds(f)==="symbol"?f:String(f)),a)}var f}var Cs=function(){function l(){(function(a,f){if(!(a instanceof f))throw new TypeError("Cannot call a class as a function")})(this,l)}var r,p;return r=l,(p=[{key:"syntaxError",value:function(a,f,c,d,i,s){}},{key:"reportAmbiguity",value:function(a,f,c,d,i,s,v){}},{key:"reportAttemptingFullContext",value:function(a,f,c,d,i,s){}},{key:"reportContextSensitivity",value:function(a,f,c,d,i,s){}}])&&L0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function Da(l){return Da=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Da(l)}function B0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Da(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Da(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Da(f)==="symbol"?f:String(f)),a)}var f}function oh(l,r){return oh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},oh(l,r)}function Ec(l){return Ec=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Ec(l)}var ah=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&oh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=Ec(a);if(f){var v=Ec(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(Da(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(){return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,d),c.call(this)}return r=d,(p=[{key:"syntaxError",value:function(i,s,v,S,E,k){console.error("line "+v+":"+S+" "+E)}}])&&B0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Cs);function Ca(l){return Ca=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ca(l)}function U0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ca(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ca(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ca(f)==="symbol"?f:String(f)),a)}var f}function sh(l,r){return sh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},sh(l,r)}function ny(l,r){if(r&&(Ca(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ry(l)}function ry(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function Sc(l){return Sc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Sc(l)}ah.INSTANCE=new ah;var V0=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&sh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=Sc(a);if(f){var v=Sc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return ny(this,i)});function d(i){var s;if(function(v,S){if(!(v instanceof S))throw new TypeError("Cannot call a class as a function")}(this,d),s=c.call(this),i===null)throw"delegates";return s.delegates=i,ny(s,ry(s))}return r=d,p=[{key:"syntaxError",value:function(i,s,v,S,E,k){this.delegates.map(function(ee){return ee.syntaxError(i,s,v,S,E,k)})}},{key:"reportAmbiguity",value:function(i,s,v,S,E,k,ee){this.delegates.map(function(Ce){return Ce.reportAmbiguity(i,s,v,S,E,k,ee)})}},{key:"reportAttemptingFullContext",value:function(i,s,v,S,E,k){this.delegates.map(function(ee){return ee.reportAttemptingFullContext(i,s,v,S,E,k)})}},{key:"reportContextSensitivity",value:function(i,s,v,S,E,k){this.delegates.map(function(ee){return ee.reportContextSensitivity(i,s,v,S,E,k)})}}],p&&U0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Cs);function ks(l){return ks=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},ks(l)}function j0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(ks(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(ks(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),ks(f)==="symbol"?f:String(f)),a)}var f}var Tc=function(){function l(){(function(a,f){if(!(a instanceof f))throw new TypeError("Cannot call a class as a function")})(this,l),this._listeners=[ah.INSTANCE],this._interp=null,this._stateNumber=-1}var r,p;return r=l,(p=[{key:"checkVersion",value:function(a){var f="4.13.0";f!==a&&console.log("ANTLR runtime and generated code versions disagree: "+f+"!="+a)}},{key:"addErrorListener",value:function(a){this._listeners.push(a)}},{key:"removeErrorListeners",value:function(){this._listeners=[]}},{key:"getLiteralNames",value:function(){return Object.getPrototypeOf(this).constructor.literalNames||[]}},{key:"getSymbolicNames",value:function(){return Object.getPrototypeOf(this).constructor.symbolicNames||[]}},{key:"getTokenNames",value:function(){if(!this.tokenNames){var a=this.getLiteralNames(),f=this.getSymbolicNames(),c=a.length>f.length?a.length:f.length;this.tokenNames=[];for(var d=0;d<c;d++)this.tokenNames[d]=a[d]||f[d]||"<INVALID"}return this.tokenNames}},{key:"getTokenTypeMap",value:function(){var a=this.getTokenNames();if(a===null)throw"The current recognizer does not provide a list of token names.";var f=this.tokenTypeMapCache[a];return f===void 0&&((f=a.reduce(function(c,d,i){c[d]=i})).EOF=n.EOF,this.tokenTypeMapCache[a]=f),f}},{key:"getRuleIndexMap",value:function(){var a=this.ruleNames;if(a===null)throw"The current recognizer does not provide a list of rule names.";var f=this.ruleIndexMapCache[a];return f===void 0&&(f=a.reduce(function(c,d,i){c[d]=i}),this.ruleIndexMapCache[a]=f),f}},{key:"getTokenType",value:function(a){var f=this.getTokenTypeMap()[a];return f!==void 0?f:n.INVALID_TYPE}},{key:"getErrorHeader",value:function(a){return"line "+a.getOffendingToken().line+":"+a.getOffendingToken().column}},{key:"getTokenErrorDisplay",value:function(a){if(a===null)return"<no token>";var f=a.text;return f===null&&(f=a.type===n.EOF?"<EOF>":"<"+a.type+">"),"'"+(f=f.replace(`
2
2
  `,"\\n").replace("\r","\\r").replace(" ","\\t"))+"'"}},{key:"getErrorListenerDispatch",value:function(){return new V0(this._listeners)}},{key:"sempred",value:function(a,f,c){return!0}},{key:"precpred",value:function(a,f){return!0}},{key:"atn",get:function(){return this._interp.atn}},{key:"state",get:function(){return this._stateNumber},set:function(a){this._stateNumber=a}}])&&j0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function ka(l){return ka=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},ka(l)}function H0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(ka(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(ka(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),ka(f)==="symbol"?f:String(f)),a)}var f}function uh(l,r){return uh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},uh(l,r)}function Ac(l){return Ac=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Ac(l)}Tc.tokenTypeMapCache={},Tc.ruleIndexMapCache={};var Rs=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&uh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=Ac(a);if(f){var v=Ac(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(ka(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i,s,v,S,E){var k;return function(ee,Ce){if(!(ee instanceof Ce))throw new TypeError("Cannot call a class as a function")}(this,d),(k=c.call(this)).source=i!==void 0?i:d.EMPTY_SOURCE,k.type=s!==void 0?s:null,k.channel=v!==void 0?v:n.DEFAULT_CHANNEL,k.start=S!==void 0?S:-1,k.stop=E!==void 0?E:-1,k.tokenIndex=-1,k.source[0]!==null?(k.line=i[0].line,k.column=i[0].column):k.column=-1,k}return r=d,(p=[{key:"clone",value:function(){var i=new d(this.source,this.type,this.channel,this.start,this.stop);return i.tokenIndex=this.tokenIndex,i.line=this.line,i.column=this.column,i.text=this.text,i}},{key:"cloneWithType",value:function(i){var s=new d(this.source,i,this.channel,this.start,this.stop);return s.tokenIndex=this.tokenIndex,s.line=this.line,s.column=this.column,i===n.EOF&&(s.text=""),s}},{key:"toString",value:function(){var i=this.text;return i=i!==null?i.replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t"):"<no text>","[@"+this.tokenIndex+","+this.start+":"+this.stop+"='"+i+"',<"+this.type+">"+(this.channel>0?",channel="+this.channel:"")+","+this.line+":"+this.column+"]"}},{key:"text",get:function(){if(this._text!==null)return this._text;var i=this.getInputStream();if(i===null)return null;var s=i.size;return this.start<s&&this.stop<s?i.getText(this.start,this.stop):"<EOF>"},set:function(i){this._text=i}}])&&H0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(n);function Ra(l){return Ra=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ra(l)}function ch(l,r){return ch=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},ch(l,r)}function xc(l){return xc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},xc(l)}function iy(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ra(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ra(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ra(f)==="symbol"?f:String(f)),a)}var f}function oy(l,r,p){return r&&iy(l.prototype,r),p&&iy(l,p),Object.defineProperty(l,"prototype",{writable:!1}),l}function ay(l,r){if(!(l instanceof r))throw new TypeError("Cannot call a class as a function")}Rs.EMPTY_SOURCE=[null,null];var lh=function(l){(function(c,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function");c.prototype=Object.create(d&&d.prototype,{constructor:{value:c,writable:!0,configurable:!0}}),Object.defineProperty(c,"prototype",{writable:!1}),d&&ch(c,d)})(f,l);var r,p,a=(r=f,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var c,d=xc(r);if(p){var i=xc(this).constructor;c=Reflect.construct(d,arguments,i)}else c=d.apply(this,arguments);return function(s,v){if(v&&(Ra(v)==="object"||typeof v=="function"))return v;if(v!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(S){if(S===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return S}(s)}(this,c)});function f(c){var d;return ay(this,f),(d=a.call(this)).copyText=c!==void 0&&c,d}return oy(f,[{key:"create",value:function(c,d,i,s,v,S,E,k){var ee=new Rs(c,d,s,v,S);return ee.line=E,ee.column=k,i!==null?ee.text=i:this.copyText&&c[1]!==null&&(ee.text=c[1].getText(v,S)),ee}},{key:"createThin",value:function(c,d){var i=new Rs(null,c);return i.text=d,i}}]),f}(oy(function l(){ay(this,l)}));function wa(l){return wa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},wa(l)}function G0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(wa(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(wa(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),wa(f)==="symbol"?f:String(f)),a)}var f}function sy(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function fh(l){var r=typeof Map=="function"?new Map:void 0;return fh=function(p){if(p===null||(a=p,Function.toString.call(a).indexOf("[native code]")===-1))return p;var a;if(typeof p!="function")throw new TypeError("Super expression must either be null or a function");if(r!==void 0){if(r.has(p))return r.get(p);r.set(p,f)}function f(){return hh(p,arguments,Ns(this).constructor)}return f.prototype=Object.create(p.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}}),ws(f,p)},fh(l)}function hh(l,r,p){return hh=uy()?Reflect.construct.bind():function(a,f,c){var d=[null];d.push.apply(d,f);var i=new(Function.bind.apply(a,d));return c&&ws(i,c.prototype),i},hh.apply(null,arguments)}function uy(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function ws(l,r){return ws=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},ws(l,r)}function Ns(l){return Ns=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Ns(l)}lh.DEFAULT=new lh;var Lo=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&ws(i,s)})(d,l);var r,p,a,f,c=(a=d,f=uy(),function(){var i,s=Ns(a);if(f){var v=Ns(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(wa(E)==="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return sy(S)}(this,i)});function d(i){var s;return function(v,S){if(!(v instanceof S))throw new TypeError("Cannot call a class as a function")}(this,d),s=c.call(this,i.message),Error.captureStackTrace&&Error.captureStackTrace(sy(s),d),s.message=i.message,s.recognizer=i.recognizer,s.input=i.input,s.ctx=i.ctx,s.offendingToken=null,s.offendingState=-1,s.recognizer!==null&&(s.offendingState=s.recognizer.state),s}return r=d,(p=[{key:"getExpectedTokens",value:function(){return this.recognizer!==null?this.recognizer.atn.getExpectedTokens(this.offendingState,this.ctx):null}},{key:"toString",value:function(){return this.message}}])&&G0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(fh(Error));function Na(l){return Na=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Na(l)}function K0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Na(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Na(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Na(f)==="symbol"?f:String(f)),a)}var f}function ph(l,r){return ph=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},ph(l,r)}function Oc(l){return Oc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Oc(l)}var dh=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&ph(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=Oc(a);if(f){var v=Oc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(Na(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i,s,v,S){var E;return function(k,ee){if(!(k instanceof ee))throw new TypeError("Cannot call a class as a function")}(this,d),(E=c.call(this,{message:"",recognizer:i,input:s,ctx:null})).startIndex=v,E.deadEndConfigs=S,E}return r=d,(p=[{key:"toString",value:function(){var i="";return this.startIndex>=0&&this.startIndex<this.input.size&&(i=this.input.getText(new _e(this.startIndex,this.startIndex))),"LexerNoViableAltException"+i}}])&&K0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Lo);function Pa(l){return Pa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Pa(l)}function z0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Pa(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Pa(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Pa(f)==="symbol"?f:String(f)),a)}var f}function yh(l,r){return yh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},yh(l,r)}function cy(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function Dc(l){return Dc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Dc(l)}var rr=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&yh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=Dc(a);if(f){var v=Dc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(Pa(E)==="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return cy(S)}(this,i)});function d(i){var s;return function(v,S){if(!(v instanceof S))throw new TypeError("Cannot call a class as a function")}(this,d),(s=c.call(this))._input=i,s._factory=lh.DEFAULT,s._tokenFactorySourcePair=[cy(s),i],s._interp=null,s._token=null,s._tokenStartCharIndex=-1,s._tokenStartLine=-1,s._tokenStartColumn=-1,s._hitEOF=!1,s._channel=n.DEFAULT_CHANNEL,s._type=n.INVALID_TYPE,s._modeStack=[],s._mode=d.DEFAULT_MODE,s._text=null,s}return r=d,(p=[{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=d.DEFAULT_MODE,this._modeStack=[],this._interp.reset()}},{key:"nextToken",value:function(){if(this._input===null)throw"nextToken requires a non-null input stream.";var i=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 s=!1;;){this._type=n.INVALID_TYPE;var v=d.SKIP;try{v=this._interp.match(this._input,this._mode)}catch(S){if(!(S instanceof Lo))throw console.log(S.stack),S;this.notifyListeners(S),this.recover(S)}if(this._input.LA(1)===n.EOF&&(this._hitEOF=!0),this._type===n.INVALID_TYPE&&(this._type=v),this._type===d.SKIP){s=!0;break}if(this._type!==d.MORE)break}if(!s)return this._token===null&&this.emit(),this._token}}finally{this._input.release(i)}}},{key:"skip",value:function(){this._type=d.SKIP}},{key:"more",value:function(){this._type=d.MORE}},{key:"mode",value:function(i){this._mode=i}},{key:"pushMode",value:function(i){this._interp.debug&&console.log("pushMode "+i),this._modeStack.push(this._mode),this.mode(i)}},{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(i){this._token=i}},{key:"emit",value:function(){var i=this._factory.create(this._tokenFactorySourcePair,this._type,this._text,this._channel,this._tokenStartCharIndex,this.getCharIndex()-1,this._tokenStartLine,this._tokenStartColumn);return this.emitToken(i),i}},{key:"emitEOF",value:function(){var i=this.column,s=this.line,v=this._factory.create(this._tokenFactorySourcePair,n.EOF,null,n.DEFAULT_CHANNEL,this._input.index,this._input.index-1,s,i);return this.emitToken(v),v}},{key:"getCharIndex",value:function(){return this._input.index}},{key:"getAllTokens",value:function(){for(var i=[],s=this.nextToken();s.type!==n.EOF;)i.push(s),s=this.nextToken();return i}},{key:"notifyListeners",value:function(i){var s=this._tokenStartCharIndex,v=this._input.index,S=this._input.getText(s,v),E="token recognition error at: '"+this.getErrorDisplay(S)+"'";this.getErrorListenerDispatch().syntaxError(this,null,this._tokenStartLine,this._tokenStartColumn,E,i)}},{key:"getErrorDisplay",value:function(i){for(var s=[],v=0;v<i.length;v++)s.push(i[v]);return s.join("")}},{key:"getErrorDisplayForChar",value:function(i){return i.charCodeAt(0)===n.EOF?"<EOF>":i===`
3
3
  `?"\\n":i===" "?"\\t":i==="\r"?"\\r":i}},{key:"getCharErrorDisplay",value:function(i){return"'"+this.getErrorDisplayForChar(i)+"'"}},{key:"recover",value:function(i){this._input.LA(1)!==n.EOF&&(i instanceof dh?this._interp.consume(this._input):this._input.consume())}},{key:"inputStream",get:function(){return this._input},set:function(i){this._input=null,this._tokenFactorySourcePair=[this,this._input],this.reset(),this._input=i,this._tokenFactorySourcePair=[this,this._input]}},{key:"sourceName",get:function(){return this._input.sourceName}},{key:"type",get:function(){return this._type},set:function(i){this._type=i}},{key:"line",get:function(){return this._interp.line},set:function(i){this._interp.line=i}},{key:"column",get:function(){return this._interp.column},set:function(i){this._interp.column=i}},{key:"text",get:function(){return this._text!==null?this._text:this._interp.getText(this._input)},set:function(i){this._text=i}}])&&z0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Tc);function Ps(l){return Ps=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ps(l)}function $0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ps(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ps(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ps(f)==="symbol"?f:String(f)),a)}var f}function W0(l){return l.hashCodeForConfigSet()}function X0(l,r){return l===r||l!==null&&r!==null&&l.equalsForConfigSet(r)}rr.DEFAULT_MODE=0,rr.MORE=-2,rr.SKIP=-3,rr.DEFAULT_TOKEN_CHANNEL=n.DEFAULT_CHANNEL,rr.HIDDEN=n.HIDDEN_CHANNEL,rr.MIN_CHAR_VALUE=0,rr.MAX_CHAR_VALUE=1114111;var Ir=function(){function l(a){(function(f,c){if(!(f instanceof c))throw new TypeError("Cannot call a class as a function")})(this,l),this.configLookup=new g(W0,X0),this.fullCtx=a===void 0||a,this.readOnly=!1,this.configs=[],this.uniqueAlt=0,this.conflictingAlts=null,this.hasSemanticContext=!1,this.dipsIntoOuterContext=!1,this.cachedHashCode=-1}var r,p;return r=l,(p=[{key:"add",value:function(a,f){if(f===void 0&&(f=null),this.readOnly)throw"This set is readonly";a.semanticContext!==G.NONE&&(this.hasSemanticContext=!0),a.reachesIntoOuterContext>0&&(this.dipsIntoOuterContext=!0);var c=this.configLookup.add(a);if(c===a)return this.cachedHashCode=-1,this.configs.push(a),!0;var d=!this.fullCtx,i=sa(c.context,a.context,d,f);return c.reachesIntoOuterContext=Math.max(c.reachesIntoOuterContext,a.reachesIntoOuterContext),a.precedenceFilterSuppressed&&(c.precedenceFilterSuppressed=!0),c.context=i,!0}},{key:"getStates",value:function(){for(var a=new g,f=0;f<this.configs.length;f++)a.add(this.configs[f].state);return a}},{key:"getPredicates",value:function(){for(var a=[],f=0;f<this.configs.length;f++){var c=this.configs[f].semanticContext;c!==G.NONE&&a.push(c.semanticContext)}return a}},{key:"optimizeConfigs",value:function(a){if(this.readOnly)throw"This set is readonly";if(this.configLookup.length!==0)for(var f=0;f<this.configs.length;f++){var c=this.configs[f];c.context=a.getCachedContext(c.context)}}},{key:"addAll",value:function(a){for(var f=0;f<a.length;f++)this.add(a[f]);return!1}},{key:"equals",value:function(a){return this===a||a instanceof l&&o(this.configs,a.configs)&&this.fullCtx===a.fullCtx&&this.uniqueAlt===a.uniqueAlt&&this.conflictingAlts===a.conflictingAlts&&this.hasSemanticContext===a.hasSemanticContext&&this.dipsIntoOuterContext===a.dipsIntoOuterContext}},{key:"hashCode",value:function(){var a=new x;return a.update(this.configs),a.finish()}},{key:"updateHashCode",value:function(a){this.readOnly?(this.cachedHashCode===-1&&(this.cachedHashCode=this.hashCode()),a.update(this.cachedHashCode)):a.update(this.hashCode())}},{key:"isEmpty",value:function(){return this.configs.length===0}},{key:"contains",value:function(a){if(this.configLookup===null)throw"This method is not implemented for readonly sets.";return this.configLookup.contains(a)}},{key:"containsFast",value:function(a){if(this.configLookup===null)throw"This method is not implemented for readonly sets.";return this.configLookup.containsFast(a)}},{key:"clear",value:function(){if(this.readOnly)throw"This set is readonly";this.configs=[],this.cachedHashCode=-1,this.configLookup=new g}},{key:"setReadonly",value:function(a){this.readOnly=a,a&&(this.configLookup=null)}},{key:"toString",value:function(){return $(this.configs)+(this.hasSemanticContext?",hasSemanticContext="+this.hasSemanticContext:"")+(this.uniqueAlt!==dn.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}}])&&$0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function Is(l){return Is=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Is(l)}function q0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Is(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Is(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Is(f)==="symbol"?f:String(f)),a)}var f}var Bo=function(){function l(a,f){return function(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}(this,l),a===null&&(a=-1),f===null&&(f=new Ir),this.stateNumber=a,this.configs=f,this.edges=null,this.isAcceptState=!1,this.prediction=0,this.lexerActionExecutor=null,this.requiresFullContext=!1,this.predicates=null,this}var r,p;return r=l,(p=[{key:"getAltSet",value:function(){var a=new g;if(this.configs!==null)for(var f=0;f<this.configs.length;f++){var c=this.configs[f];a.add(c.alt)}return a.length===0?null:a}},{key:"equals",value:function(a){return this===a||a instanceof l&&this.configs.equals(a.configs)}},{key:"toString",value:function(){var a=this.stateNumber+":"+this.configs;return this.isAcceptState&&(a+="=>",this.predicates!==null?a+=this.predicates:a+=this.prediction),a}},{key:"hashCode",value:function(){var a=new x;return a.update(this.configs),a.finish()}}])&&q0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function Fs(l){return Fs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Fs(l)}function Y0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Fs(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Fs(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Fs(f)==="symbol"?f:String(f)),a)}var f}var Ai=function(){function l(a,f){return function(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}(this,l),this.atn=a,this.sharedContextCache=f,this}var r,p;return r=l,p=[{key:"getCachedContext",value:function(a){if(this.sharedContextCache===null)return a;var f=new Xi;return Gu(a,this.sharedContextCache,f)}}],p&&Y0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function mh(l){return mh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},mh(l)}function _h(l,r){return _h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},_h(l,r)}function Cc(l){return Cc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Cc(l)}Ai.ERROR=new Bo(2147483647,new Ir);var ly=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&_h(d,i)})(c,l);var r,p,a,f=(p=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,i=Cc(p);if(a){var s=Cc(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return function(v,S){if(S&&(mh(S)==="object"||typeof S=="function"))return S;if(S!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}(v)}(this,d)});function c(){var d;return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,c),(d=f.call(this)).configLookup=new g,d}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(Ir);function Ia(l){return Ia=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ia(l)}function J0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ia(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ia(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ia(f)==="symbol"?f:String(f)),a)}var f}function gh(){return gh=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(l,r,p){var a=function(c,d){for(;!Object.prototype.hasOwnProperty.call(c,d)&&(c=Fa(c))!==null;);return c}(l,r);if(a){var f=Object.getOwnPropertyDescriptor(a,r);return f.get?f.get.call(arguments.length<3?l:p):f.value}},gh.apply(this,arguments)}function bh(l,r){return bh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},bh(l,r)}function fy(l,r){if(r&&(Ia(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return hy(l)}function hy(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function Fa(l){return Fa=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Fa(l)}var xi=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&bh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=Fa(a);if(f){var v=Fa(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return fy(this,i)});function d(i,s){var v;(function(E,k){if(!(E instanceof k))throw new TypeError("Cannot call a class as a function")})(this,d),v=c.call(this,i,s);var S=i.lexerActionExecutor||null;return v.lexerActionExecutor=S||(s!==null?s.lexerActionExecutor:null),v.passedThroughNonGreedyDecision=s!==null&&v.checkNonGreedyDecision(s,v.state),v.hashCodeForConfigSet=d.prototype.hashCode,v.equalsForConfigSet=d.prototype.equals,fy(v,hy(v))}return r=d,(p=[{key:"updateHashCode",value:function(i){i.update(this.state.stateNumber,this.alt,this.context,this.semanticContext,this.passedThroughNonGreedyDecision,this.lexerActionExecutor)}},{key:"equals",value:function(i){return this===i||i instanceof d&&this.passedThroughNonGreedyDecision===i.passedThroughNonGreedyDecision&&(this.lexerActionExecutor?this.lexerActionExecutor.equals(i.lexerActionExecutor):!i.lexerActionExecutor)&&gh(Fa(d.prototype),"equals",this).call(this,i)}},{key:"checkNonGreedyDecision",value:function(i,s){return i.passedThroughNonGreedyDecision||s instanceof ua&&s.nonGreedy}}])&&J0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(le);function Ma(l){return Ma=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ma(l)}function Z0(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ma(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ma(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ma(f)==="symbol"?f:String(f)),a)}var f}function vh(l,r){return vh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},vh(l,r)}function kc(l){return kc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},kc(l)}var Eh=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&vh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=kc(a);if(f){var v=kc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(Ma(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i,s){var v;return function(S,E){if(!(S instanceof E))throw new TypeError("Cannot call a class as a function")}(this,d),(v=c.call(this,s.actionType)).offset=i,v.action=s,v.isPositionDependent=!0,v}return r=d,(p=[{key:"execute",value:function(i){this.action.execute(i)}},{key:"updateHashCode",value:function(i){i.update(this.actionType,this.offset,this.action)}},{key:"equals",value:function(i){return this===i||i instanceof d&&this.offset===i.offset&&this.action===i.action}}])&&Z0(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Ji);function Ms(l){return Ms=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ms(l)}function py(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ms(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ms(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ms(f)==="symbol"?f:String(f)),a)}var f}var Q0=function(){function l(f){return function(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}(this,l),this.lexerActions=f===null?[]:f,this.cachedHashCode=x.hashStuff(f),this}var r,p,a;return r=l,a=[{key:"append",value:function(f,c){return new l(f===null?[c]:f.lexerActions.concat([c]))}}],(p=[{key:"fixOffsetBeforeMatch",value:function(f){for(var c=null,d=0;d<this.lexerActions.length;d++)!this.lexerActions[d].isPositionDependent||this.lexerActions[d]instanceof Eh||(c===null&&(c=this.lexerActions.concat([])),c[d]=new Eh(f,this.lexerActions[d]));return c===null?this:new l(c)}},{key:"execute",value:function(f,c,d){var i=!1,s=c.index;try{for(var v=0;v<this.lexerActions.length;v++){var S=this.lexerActions[v];if(S instanceof Eh){var E=S.offset;c.seek(d+E),S=S.action,i=d+E!==s}else S.isPositionDependent&&(c.seek(s),i=!1);S.execute(f)}}finally{i&&c.seek(s)}}},{key:"hashCode",value:function(){return this.cachedHashCode}},{key:"updateHashCode",value:function(f){f.update(this.cachedHashCode)}},{key:"equals",value:function(f){if(this===f)return!0;if(f instanceof l){if(this.cachedHashCode!=f.cachedHashCode||this.lexerActions.length!=f.lexerActions.length)return!1;for(var c=this.lexerActions.length,d=0;d<c;++d)if(!this.lexerActions[d].equals(f.lexerActions[d]))return!1;return!0}return!1}}])&&py(r.prototype,p),a&&py(r,a),Object.defineProperty(r,"prototype",{writable:!1}),l}();function Sh(l,r){return Sh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Sh(l,r)}function Rc(l){return Rc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Rc(l)}function La(l){return La=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},La(l)}function dy(l,r){if(!(l instanceof r))throw new TypeError("Cannot call a class as a function")}function yy(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(La(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(La(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),La(f)==="symbol"?f:String(f)),a)}var f}function my(l,r,p){return r&&yy(l.prototype,r),p&&yy(l,p),Object.defineProperty(l,"prototype",{writable:!1}),l}function _y(l){l.index=-1,l.line=0,l.column=-1,l.dfaState=null}var eg=function(){function l(){dy(this,l),_y(this)}return my(l,[{key:"reset",value:function(){_y(this)}}]),l}(),Ba=function(l){(function(c,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function");c.prototype=Object.create(d&&d.prototype,{constructor:{value:c,writable:!0,configurable:!0}}),Object.defineProperty(c,"prototype",{writable:!1}),d&&Sh(c,d)})(f,l);var r,p,a=(r=f,p=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var c,d=Rc(r);if(p){var i=Rc(this).constructor;c=Reflect.construct(d,arguments,i)}else c=d.apply(this,arguments);return function(s,v){if(v&&(La(v)==="object"||typeof v=="function"))return v;if(v!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(S){if(S===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return S}(s)}(this,c)});function f(c,d,i,s){var v;return dy(this,f),(v=a.call(this,d,s)).decisionToDFA=i,v.recog=c,v.startIndex=-1,v.line=1,v.column=0,v.mode=rr.DEFAULT_MODE,v.prevAccept=new eg,v}return my(f,[{key:"copyState",value:function(c){this.column=c.column,this.line=c.line,this.mode=c.mode,this.startIndex=c.startIndex}},{key:"match",value:function(c,d){this.mode=d;var i=c.mark();try{this.startIndex=c.index,this.prevAccept.reset();var s=this.decisionToDFA[d];return s.s0===null?this.matchATN(c):this.execATN(c,s.s0)}finally{c.release(i)}}},{key:"reset",value:function(){this.prevAccept.reset(),this.startIndex=-1,this.line=1,this.column=0,this.mode=rr.DEFAULT_MODE}},{key:"matchATN",value:function(c){var d=this.atn.modeToStartState[this.mode];f.debug&&console.log("matchATN mode "+this.mode+" start: "+d);var i=this.mode,s=this.computeStartState(c,d),v=s.hasSemanticContext;s.hasSemanticContext=!1;var S=this.addDFAState(s);v||(this.decisionToDFA[this.mode].s0=S);var E=this.execATN(c,S);return f.debug&&console.log("DFA after matchATN: "+this.decisionToDFA[i].toLexerString()),E}},{key:"execATN",value:function(c,d){f.debug&&console.log("start state closure="+d.configs),d.isAcceptState&&this.captureSimState(this.prevAccept,c,d);for(var i=c.LA(1),s=d;;){f.debug&&console.log("execATN loop starting closure: "+s.configs);var v=this.getExistingTargetState(s,i);if(v===null&&(v=this.computeTargetState(c,s,i)),v===Ai.ERROR||(i!==n.EOF&&this.consume(c),v.isAcceptState&&(this.captureSimState(this.prevAccept,c,v),i===n.EOF)))break;i=c.LA(1),s=v}return this.failOrAccept(this.prevAccept,c,s.configs,i)}},{key:"getExistingTargetState",value:function(c,d){if(c.edges===null||d<f.MIN_DFA_EDGE||d>f.MAX_DFA_EDGE)return null;var i=c.edges[d-f.MIN_DFA_EDGE];return i===void 0&&(i=null),f.debug&&i!==null&&console.log("reuse state "+c.stateNumber+" edge to "+i.stateNumber),i}},{key:"computeTargetState",value:function(c,d,i){var s=new ly;return this.getReachableConfigSet(c,d.configs,s,i),s.items.length===0?(s.hasSemanticContext||this.addDFAEdge(d,i,Ai.ERROR),Ai.ERROR):this.addDFAEdge(d,i,null,s)}},{key:"failOrAccept",value:function(c,d,i,s){if(this.prevAccept.dfaState!==null){var v=c.dfaState.lexerActionExecutor;return this.accept(d,v,this.startIndex,c.index,c.line,c.column),c.dfaState.prediction}if(s===n.EOF&&d.index===this.startIndex)return n.EOF;throw new dh(this.recog,d,this.startIndex,i)}},{key:"getReachableConfigSet",value:function(c,d,i,s){for(var v=dn.INVALID_ALT_NUMBER,S=0;S<d.items.length;S++){var E=d.items[S],k=E.alt===v;if(!k||!E.passedThroughNonGreedyDecision){f.debug&&console.log(`testing %s at %s
4
4
  `,this.getTokenName(s),E.toString(this.recog,!0));for(var ee=0;ee<E.state.transitions.length;ee++){var Ce=E.state.transitions[ee],xe=this.getReachableTarget(Ce,s);if(xe!==null){var Ge=E.lexerActionExecutor;Ge!==null&&(Ge=Ge.fixOffsetBeforeMatch(c.index-this.startIndex));var at=s===n.EOF,$e=new xi({state:xe,lexerActionExecutor:Ge},E);this.closure(c,$e,i,k,!0,at)&&(v=E.alt)}}}}}},{key:"accept",value:function(c,d,i,s,v,S){f.debug&&console.log(`ACTION %s
@@ -6,9 +6,9 @@ var Ug=Object.defineProperty;var Vg=(lo,li,Tr)=>li in lo?Ug(lo,li,{enumerable:!0
6
6
  `,this.recog.ruleNames[d.state.ruleIndex],d):console.log(`closure at rule stop %s
7
7
  `,d)),d.context===null||d.context.hasEmptyPath()){if(d.context===null||d.context.isEmpty())return i.add(d),!0;i.add(new xi({state:d.state,context:it.EMPTY},d)),s=!0}if(d.context!==null&&!d.context.isEmpty()){for(var k=0;k<d.context.length;k++)if(d.context.getReturnState(k)!==it.EMPTY_RETURN_STATE){var ee=d.context.getParent(k),Ce=this.atn.states[d.context.getReturnState(k)];E=new xi({state:Ce,context:ee},d),s=this.closure(c,E,i,s,v,S)}}return s}d.state.epsilonOnlyTransitions||s&&d.passedThroughNonGreedyDecision||i.add(d);for(var xe=0;xe<d.state.transitions.length;xe++){var Ge=d.state.transitions[xe];(E=this.getEpsilonTarget(c,d,Ge,i,v,S))!==null&&(s=this.closure(c,E,i,s,v,S))}return s}},{key:"getEpsilonTarget",value:function(c,d,i,s,v,S){var E=null;if(i.serializationType===pe.RULE){var k=ct.create(d.context,i.followState.stateNumber);E=new xi({state:i.target,context:k},d)}else{if(i.serializationType===pe.PRECEDENCE)throw"Precedence predicates are not supported in lexers.";if(i.serializationType===pe.PREDICATE)f.debug&&console.log("EVAL rule "+i.ruleIndex+":"+i.predIndex),s.hasSemanticContext=!0,this.evaluatePredicate(c,i.ruleIndex,i.predIndex,v)&&(E=new xi({state:i.target},d));else if(i.serializationType===pe.ACTION)if(d.context===null||d.context.hasEmptyPath()){var ee=Q0.append(d.lexerActionExecutor,this.atn.lexerActions[i.actionIndex]);E=new xi({state:i.target,lexerActionExecutor:ee},d)}else E=new xi({state:i.target},d);else i.serializationType===pe.EPSILON?E=new xi({state:i.target},d):i.serializationType!==pe.ATOM&&i.serializationType!==pe.RANGE&&i.serializationType!==pe.SET||S&&i.matches(n.EOF,0,rr.MAX_CHAR_VALUE)&&(E=new xi({state:i.target},d))}return E}},{key:"evaluatePredicate",value:function(c,d,i,s){if(this.recog===null)return!0;if(!s)return this.recog.sempred(null,d,i);var v=this.column,S=this.line,E=c.index,k=c.mark();try{return this.consume(c),this.recog.sempred(null,d,i)}finally{this.column=v,this.line=S,c.seek(E),c.release(k)}}},{key:"captureSimState",value:function(c,d,i){c.index=d.index,c.line=this.line,c.column=this.column,c.dfaState=i}},{key:"addDFAEdge",value:function(c,d,i,s){if(i===void 0&&(i=null),s===void 0&&(s=null),i===null&&s!==null){var v=s.hasSemanticContext;if(s.hasSemanticContext=!1,i=this.addDFAState(s),v)return i}return d<f.MIN_DFA_EDGE||d>f.MAX_DFA_EDGE||(f.debug&&console.log("EDGE "+c+" -> "+i+" upon "+d),c.edges===null&&(c.edges=[]),c.edges[d-f.MIN_DFA_EDGE]=i),i}},{key:"addDFAState",value:function(c){for(var d=new Bo(null,c),i=null,s=0;s<c.items.length;s++){var v=c.items[s];if(v.state instanceof Dt){i=v;break}}i!==null&&(d.isAcceptState=!0,d.lexerActionExecutor=i.lexerActionExecutor,d.prediction=this.atn.ruleToTokenType[i.state.ruleIndex]);var S=this.decisionToDFA[this.mode],E=S.states.get(d);if(E!==null)return E;var k=d;return k.stateNumber=S.states.length,c.setReadonly(!0),k.configs=c,S.states.add(k),k}},{key:"getDFA",value:function(c){return this.decisionToDFA[c]}},{key:"getText",value:function(c){return c.getText(this.startIndex,c.index-1)}},{key:"consume",value:function(c){c.LA(1)===10?(this.line+=1,this.column=0):this.column+=1,c.consume()}},{key:"getTokenName",value:function(c){return c===-1?"EOF":"'"+String.fromCharCode(c)+"'"}}]),f}(Ai);function Ls(l){return Ls=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ls(l)}function tg(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ls(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ls(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ls(f)==="symbol"?f:String(f)),a)}var f}Ba.debug=!1,Ba.dfa_debug=!1,Ba.MIN_DFA_EDGE=0,Ba.MAX_DFA_EDGE=127;var gy=function(){function l(a,f){(function(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")})(this,l),this.alt=f,this.pred=a}var r,p;return r=l,(p=[{key:"toString",value:function(){return"("+this.pred+", "+this.alt+")"}}])&&tg(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function Bs(l){return Bs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Bs(l)}function ng(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Bs(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Bs(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Bs(f)==="symbol"?f:String(f)),a)}var f}var rg=function(){function l(){(function(a,f){if(!(a instanceof f))throw new TypeError("Cannot call a class as a function")})(this,l),this.data={}}var r,p;return r=l,(p=[{key:"get",value:function(a){return this.data["k-"+a]||null}},{key:"set",value:function(a,f){this.data["k-"+a]=f}},{key:"values",value:function(){var a=this;return Object.keys(this.data).filter(function(f){return f.startsWith("k-")}).map(function(f){return a.data[f]},this)}}])&&ng(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}(),Oi={SLL:0,LL:1,LL_EXACT_AMBIG_DETECTION:2,hasSLLConflictTerminatingPrediction:function(l,r){if(Oi.allConfigsInRuleStopStates(r))return!0;if(l===Oi.SLL&&r.hasSemanticContext){for(var p=new Ir,a=0;a<r.items.length;a++){var f=r.items[a];f=new le({semanticContext:G.NONE},f),p.add(f)}r=p}var c=Oi.getConflictingAltSubsets(r);return Oi.hasConflictingAltSet(c)&&!Oi.hasStateAssociatedWithOneAlt(r)},hasConfigInRuleStopState:function(l){for(var r=0;r<l.items.length;r++)if(l.items[r].state instanceof Dt)return!0;return!1},allConfigsInRuleStopStates:function(l){for(var r=0;r<l.items.length;r++)if(!(l.items[r].state instanceof Dt))return!1;return!0},resolvesToJustOneViableAlt:function(l){return Oi.getSingleViableAlt(l)},allSubsetsConflict:function(l){return!Oi.hasNonConflictingAltSet(l)},hasNonConflictingAltSet:function(l){for(var r=0;r<l.length;r++)if(l[r].length===1)return!0;return!1},hasConflictingAltSet:function(l){for(var r=0;r<l.length;r++)if(l[r].length>1)return!0;return!1},allSubsetsEqual:function(l){for(var r=null,p=0;p<l.length;p++){var a=l[p];if(r===null)r=a;else if(a!==r)return!1}return!0},getUniqueAlt:function(l){var r=Oi.getAlts(l);return r.length===1?r.minValue():dn.INVALID_ALT_NUMBER},getAlts:function(l){var r=new Pr;return l.map(function(p){r.or(p)}),r},getConflictingAltSubsets:function(l){var r=new Xi;return r.hashFunction=function(p){x.hashStuff(p.state.stateNumber,p.context)},r.equalsFunction=function(p,a){return p.state.stateNumber===a.state.stateNumber&&p.context.equals(a.context)},l.items.map(function(p){var a=r.get(p);a===null&&(a=new Pr,r.set(p,a)),a.add(p.alt)}),r.getValues()},getStateToAltMap:function(l){var r=new rg;return l.items.map(function(p){var a=r.get(p.state);a===null&&(a=new Pr,r.set(p.state,a)),a.add(p.alt)}),r},hasStateAssociatedWithOneAlt:function(l){for(var r=Oi.getStateToAltMap(l).values(),p=0;p<r.length;p++)if(r[p].length===1)return!0;return!1},getSingleViableAlt:function(l){for(var r=null,p=0;p<l.length;p++){var a=l[p].minValue();if(r===null)r=a;else if(r!==a)return dn.INVALID_ALT_NUMBER}return r}};const Hn=Oi;function Th(l){return Th=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Th(l)}function Ah(l,r){return Ah=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Ah(l,r)}function wc(l){return wc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},wc(l)}var Nc=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&Ah(d,i)})(c,l);var r,p,a,f=(p=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,i=wc(p);if(a){var s=wc(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return function(v,S){if(S&&(Th(S)==="object"||typeof S=="function"))return S;if(S!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}(v)}(this,d)});function c(d,i,s,v,S,E){var k;return function(ee,Ce){if(!(ee instanceof Ce))throw new TypeError("Cannot call a class as a function")}(this,c),E=E||d._ctx,v=v||d.getCurrentToken(),s=s||d.getCurrentToken(),i=i||d.getInputStream(),(k=f.call(this,{message:"",recognizer:d,input:i,ctx:E})).deadEndConfigs=S,k.startToken=s,k.offendingToken=v,k}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(Lo);function Us(l){return Us=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Us(l)}function ig(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Us(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Us(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Us(f)==="symbol"?f:String(f)),a)}var f}var og=function(){function l(a){(function(f,c){if(!(f instanceof c))throw new TypeError("Cannot call a class as a function")})(this,l),this.defaultMapCtor=a||Xi,this.cacheMap=new this.defaultMapCtor}var r,p;return r=l,(p=[{key:"get",value:function(a,f){var c=this.cacheMap.get(a)||null;return c===null?null:c.get(f)||null}},{key:"set",value:function(a,f,c){var d=this.cacheMap.get(a)||null;d===null&&(d=new this.defaultMapCtor,this.cacheMap.set(a,d)),d.set(f,c)}}])&&ig(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function Ua(l){return Ua=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ua(l)}function ag(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ua(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ua(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ua(f)==="symbol"?f:String(f)),a)}var f}function xh(l,r){return xh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},xh(l,r)}function Pc(l){return Pc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Pc(l)}var by=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&xh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=Pc(a);if(f){var v=Pc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(Ua(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i,s,v,S){var E;return function(k,ee){if(!(k instanceof ee))throw new TypeError("Cannot call a class as a function")}(this,d),(E=c.call(this,s,S)).parser=i,E.decisionToDFA=v,E.predictionMode=Hn.LL,E._input=null,E._startIndex=0,E._outerContext=null,E._dfa=null,E.mergeCache=null,E.debug=!1,E.debug_closure=!1,E.debug_add=!1,E.trace_atn_sim=!1,E.dfa_debug=!1,E.retry_debug=!1,E}return r=d,p=[{key:"reset",value:function(){}},{key:"adaptivePredict",value:function(i,s,v){(this.debug||this.trace_atn_sim)&&console.log("adaptivePredict decision "+s+" exec LA(1)=="+this.getLookaheadName(i)+" line "+i.LT(1).line+":"+i.LT(1).column),this._input=i,this._startIndex=i.index,this._outerContext=v;var S=this.decisionToDFA[s];this._dfa=S;var E=i.mark(),k=i.index;try{var ee;if((ee=S.precedenceDfa?S.getPrecedenceStartState(this.parser.getPrecedence()):S.s0)===null){v===null&&(v=Wi.EMPTY),this.debug&&console.log("predictATN decision "+S.decision+" exec LA(1)=="+this.getLookaheadName(i)+", outerContext="+v.toString(this.parser.ruleNames));var Ce=this.computeStartState(S.atnStartState,Wi.EMPTY,!1);S.precedenceDfa?(S.s0.configs=Ce,Ce=this.applyPrecedenceFilter(Ce),ee=this.addDFAState(S,new Bo(null,Ce)),S.setPrecedenceStartState(this.parser.getPrecedence(),ee)):(ee=this.addDFAState(S,new Bo(null,Ce)),S.s0=ee)}var xe=this.execATN(S,ee,i,k,v);return this.debug&&console.log("DFA after predictATN: "+S.toString(this.parser.literalNames,this.parser.symbolicNames)),xe}finally{this._dfa=null,this.mergeCache=null,i.seek(k),i.release(E)}}},{key:"execATN",value:function(i,s,v,S,E){var k;(this.debug||this.trace_atn_sim)&&console.log("execATN decision "+i.decision+", DFA state "+s+", LA(1)=="+this.getLookaheadName(v)+" line "+v.LT(1).line+":"+v.LT(1).column);var ee=s;this.debug&&console.log("s0 = "+s);for(var Ce=v.LA(1);;){var xe=this.getExistingTargetState(ee,Ce);if(xe===null&&(xe=this.computeTargetState(i,ee,Ce)),xe===Ai.ERROR){var Ge=this.noViableAlt(v,E,ee.configs,S);if(v.seek(S),(k=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(ee.configs,E))!==dn.INVALID_ALT_NUMBER)return k;throw Ge}if(xe.requiresFullContext&&this.predictionMode!==Hn.SLL){var at=null;if(xe.predicates!==null){this.debug&&console.log("DFA state has preds in DFA sim LL failover");var $e=v.index;if($e!==S&&v.seek(S),(at=this.evalSemanticContext(xe.predicates,E,!0)).length===1)return this.debug&&console.log("Full LL avoided"),at.minValue();$e!==S&&v.seek($e)}this.dfa_debug&&console.log("ctx sensitive state "+E+" in "+xe);var yn=this.computeStartState(i.atnStartState,E,!0);return this.reportAttemptingFullContext(i,at,xe.configs,S,v.index),this.execATNWithFullContext(i,xe,yn,v,S,E)}if(xe.isAcceptState){if(xe.predicates===null)return xe.prediction;var hn=v.index;v.seek(S);var Gn=this.evalSemanticContext(xe.predicates,E,!0);if(Gn.length===0)throw this.noViableAlt(v,E,xe.configs,S);return Gn.length===1||this.reportAmbiguity(i,xe,S,hn,!1,Gn,xe.configs),Gn.minValue()}ee=xe,Ce!==n.EOF&&(v.consume(),Ce=v.LA(1))}}},{key:"getExistingTargetState",value:function(i,s){var v=i.edges;return v===null?null:v[s+1]||null}},{key:"computeTargetState",value:function(i,s,v){var S=this.computeReachSet(s.configs,v,!1);if(S===null)return this.addDFAEdge(i,s,v,Ai.ERROR),Ai.ERROR;var E=new Bo(null,S),k=this.getUniqueAlt(S);if(this.debug){var ee=Hn.getConflictingAltSubsets(S);console.log("SLL altSubSets="+$(ee)+", configs="+S+", predict="+k+", allSubsetsConflict="+Hn.allSubsetsConflict(ee)+", conflictingAlts="+this.getConflictingAlts(S))}return k!==dn.INVALID_ALT_NUMBER?(E.isAcceptState=!0,E.configs.uniqueAlt=k,E.prediction=k):Hn.hasSLLConflictTerminatingPrediction(this.predictionMode,S)&&(E.configs.conflictingAlts=this.getConflictingAlts(S),E.requiresFullContext=!0,E.isAcceptState=!0,E.prediction=E.configs.conflictingAlts.minValue()),E.isAcceptState&&E.configs.hasSemanticContext&&(this.predicateDFAState(E,this.atn.getDecisionState(i.decision)),E.predicates!==null&&(E.prediction=dn.INVALID_ALT_NUMBER)),this.addDFAEdge(i,s,v,E)}},{key:"predicateDFAState",value:function(i,s){var v=s.transitions.length,S=this.getConflictingAltsOrUniqueAlt(i.configs),E=this.getPredsForAmbigAlts(S,i.configs,v);E!==null?(i.predicates=this.getPredicatePredictions(S,E),i.prediction=dn.INVALID_ALT_NUMBER):i.prediction=S.minValue()}},{key:"execATNWithFullContext",value:function(i,s,v,S,E,k){(this.debug||this.trace_atn_sim)&&console.log("execATNWithFullContext "+v);var ee,Ce=!1,xe=v;S.seek(E);for(var Ge=S.LA(1),at=-1;;){if((ee=this.computeReachSet(xe,Ge,!0))===null){var $e=this.noViableAlt(S,k,xe,E);S.seek(E);var yn=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(xe,k);if(yn!==dn.INVALID_ALT_NUMBER)return yn;throw $e}var hn=Hn.getConflictingAltSubsets(ee);if(this.debug&&console.log("LL altSubSets="+hn+", predict="+Hn.getUniqueAlt(hn)+", resolvesToJustOneViableAlt="+Hn.resolvesToJustOneViableAlt(hn)),ee.uniqueAlt=this.getUniqueAlt(ee),ee.uniqueAlt!==dn.INVALID_ALT_NUMBER){at=ee.uniqueAlt;break}if(this.predictionMode!==Hn.LL_EXACT_AMBIG_DETECTION){if((at=Hn.resolvesToJustOneViableAlt(hn))!==dn.INVALID_ALT_NUMBER)break}else if(Hn.allSubsetsConflict(hn)&&Hn.allSubsetsEqual(hn)){Ce=!0,at=Hn.getSingleViableAlt(hn);break}xe=ee,Ge!==n.EOF&&(S.consume(),Ge=S.LA(1))}return ee.uniqueAlt!==dn.INVALID_ALT_NUMBER?(this.reportContextSensitivity(i,at,ee,E,S.index),at):(this.reportAmbiguity(i,s,E,S.index,Ce,null,ee),at)}},{key:"computeReachSet",value:function(i,s,v){this.debug&&console.log("in computeReachSet, starting closure: "+i),this.mergeCache===null&&(this.mergeCache=new og);for(var S=new Ir(v),E=null,k=0;k<i.items.length;k++){var ee=i.items[k];if(this.debug&&console.log("testing "+this.getTokenName(s)+" at "+ee),ee.state instanceof Dt)(v||s===n.EOF)&&(E===null&&(E=[]),E.push(ee),this.debug_add&&console.log("added "+ee+" to skippedStopStates"));else for(var Ce=0;Ce<ee.state.transitions.length;Ce++){var xe=ee.state.transitions[Ce],Ge=this.getReachableTarget(xe,s);if(Ge!==null){var at=new le({state:Ge},ee);S.add(at,this.mergeCache),this.debug_add&&console.log("added "+at+" to intermediate")}}}var $e=null;if(E===null&&s!==n.EOF&&(S.items.length===1||this.getUniqueAlt(S)!==dn.INVALID_ALT_NUMBER)&&($e=S),$e===null){$e=new Ir(v);for(var yn=new g,hn=s===n.EOF,Gn=0;Gn<S.items.length;Gn++)this.closure(S.items[Gn],$e,yn,!1,v,hn)}if(s===n.EOF&&($e=this.removeAllConfigsNotInRuleStopState($e,$e===S)),!(E===null||v&&Hn.hasConfigInRuleStopState($e)))for(var Fr=0;Fr<E.length;Fr++)$e.add(E[Fr],this.mergeCache);return this.trace_atn_sim&&console.log("computeReachSet "+i+" -> "+$e),$e.items.length===0?null:$e}},{key:"removeAllConfigsNotInRuleStopState",value:function(i,s){if(Hn.allConfigsInRuleStopStates(i))return i;for(var v=new Ir(i.fullCtx),S=0;S<i.items.length;S++){var E=i.items[S];if(E.state instanceof Dt)v.add(E,this.mergeCache);else if(s&&E.state.epsilonOnlyTransitions&&this.atn.nextTokens(E.state).contains(n.EPSILON)){var k=this.atn.ruleToStopState[E.state.ruleIndex];v.add(new le({state:k},E),this.mergeCache)}}return v}},{key:"computeStartState",value:function(i,s,v){var S=aa(this.atn,s),E=new Ir(v);this.trace_atn_sim&&console.log("computeStartState from ATN state "+i+" initialContext="+S.toString(this.parser));for(var k=0;k<i.transitions.length;k++){var ee=i.transitions[k].target,Ce=new le({state:ee,alt:k+1,context:S},null),xe=new g;this.closure(Ce,E,xe,!0,v,!1)}return E}},{key:"applyPrecedenceFilter",value:function(i){for(var s,v=[],S=new Ir(i.fullCtx),E=0;E<i.items.length;E++)if((s=i.items[E]).alt===1){var k=s.semanticContext.evalPrecedence(this.parser,this._outerContext);k!==null&&(v[s.state.stateNumber]=s.context,k!==s.semanticContext?S.add(new le({semanticContext:k},s),this.mergeCache):S.add(s,this.mergeCache))}for(var ee=0;ee<i.items.length;ee++)if((s=i.items[ee]).alt!==1){if(!s.precedenceFilterSuppressed){var Ce=v[s.state.stateNumber]||null;if(Ce!==null&&Ce.equals(s.context))continue}S.add(s,this.mergeCache)}return S}},{key:"getReachableTarget",value:function(i,s){return i.matches(s,0,this.atn.maxTokenType)?i.target:null}},{key:"getPredsForAmbigAlts",value:function(i,s,v){for(var S=[],E=0;E<s.items.length;E++){var k=s.items[E];i.has(k.alt)&&(S[k.alt]=G.orContext(S[k.alt]||null,k.semanticContext))}for(var ee=0,Ce=1;Ce<v+1;Ce++){var xe=S[Ce]||null;xe===null?S[Ce]=G.NONE:xe!==G.NONE&&(ee+=1)}return ee===0&&(S=null),this.debug&&console.log("getPredsForAmbigAlts result "+$(S)),S}},{key:"getPredicatePredictions",value:function(i,s){for(var v=[],S=!1,E=1;E<s.length;E++){var k=s[E];i!==null&&i.has(E)&&v.push(new gy(k,E)),k!==G.NONE&&(S=!0)}return S?v:null}},{key:"getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule",value:function(i,s){var v=this.splitAccordingToSemanticValidity(i,s),S=v[0],E=v[1],k=this.getAltThatFinishedDecisionEntryRule(S);return k!==dn.INVALID_ALT_NUMBER||E.items.length>0&&(k=this.getAltThatFinishedDecisionEntryRule(E))!==dn.INVALID_ALT_NUMBER?k:dn.INVALID_ALT_NUMBER}},{key:"getAltThatFinishedDecisionEntryRule",value:function(i){for(var s=[],v=0;v<i.items.length;v++){var S=i.items[v];(S.reachesIntoOuterContext>0||S.state instanceof Dt&&S.context.hasEmptyPath())&&s.indexOf(S.alt)<0&&s.push(S.alt)}return s.length===0?dn.INVALID_ALT_NUMBER:Math.min.apply(null,s)}},{key:"splitAccordingToSemanticValidity",value:function(i,s){for(var v=new Ir(i.fullCtx),S=new Ir(i.fullCtx),E=0;E<i.items.length;E++){var k=i.items[E];k.semanticContext!==G.NONE?k.semanticContext.evaluate(this.parser,s)?v.add(k):S.add(k):v.add(k)}return[v,S]}},{key:"evalSemanticContext",value:function(i,s,v){for(var S=new Pr,E=0;E<i.length;E++){var k=i[E];if(k.pred!==G.NONE){var ee=k.pred.evaluate(this.parser,s);if((this.debug||this.dfa_debug)&&console.log("eval pred "+k+"="+ee),ee&&((this.debug||this.dfa_debug)&&console.log("PREDICT "+k.alt),S.add(k.alt),!v))break}else if(S.add(k.alt),!v)break}return S}},{key:"closure",value:function(i,s,v,S,E,k){this.closureCheckingStopState(i,s,v,S,E,0,k)}},{key:"closureCheckingStopState",value:function(i,s,v,S,E,k,ee){if((this.trace_atn_sim||this.debug_closure)&&console.log("closure("+i.toString(this.parser,!0)+")"),i.state instanceof Dt){if(!i.context.isEmpty()){for(var Ce=0;Ce<i.context.length;Ce++)if(i.context.getReturnState(Ce)!==it.EMPTY_RETURN_STATE){var xe=this.atn.states[i.context.getReturnState(Ce)],Ge=i.context.getParent(Ce),at={state:xe,alt:i.alt,context:Ge,semanticContext:i.semanticContext},$e=new le(at,null);$e.reachesIntoOuterContext=i.reachesIntoOuterContext,this.closureCheckingStopState($e,s,v,S,E,k-1,ee)}else{if(E){s.add(new le({state:i.state,context:it.EMPTY},i),this.mergeCache);continue}this.debug&&console.log("FALLING off rule "+this.getRuleName(i.state.ruleIndex)),this.closure_(i,s,v,S,E,k,ee)}return}if(E)return void s.add(i,this.mergeCache);this.debug&&console.log("FALLING off rule "+this.getRuleName(i.state.ruleIndex))}this.closure_(i,s,v,S,E,k,ee)}},{key:"closure_",value:function(i,s,v,S,E,k,ee){var Ce=i.state;Ce.epsilonOnlyTransitions||s.add(i,this.mergeCache);for(var xe=0;xe<Ce.transitions.length;xe++)if(xe!==0||!this.canDropLoopEntryEdgeInLeftRecursiveRule(i)){var Ge=Ce.transitions[xe],at=S&&!(Ge instanceof Jd),$e=this.getEpsilonTarget(i,Ge,at,k===0,E,ee);if($e!==null){var yn=k;if(i.state instanceof Dt){if(this._dfa!==null&&this._dfa.precedenceDfa&&Ge.outermostPrecedenceReturn===this._dfa.atnStartState.ruleIndex&&($e.precedenceFilterSuppressed=!0),$e.reachesIntoOuterContext+=1,v.add($e)!==$e)continue;s.dipsIntoOuterContext=!0,yn-=1,this.debug&&console.log("dips into outer ctx: "+$e)}else{if(!Ge.isEpsilon&&v.add($e)!==$e)continue;Ge instanceof Zt&&yn>=0&&(yn+=1)}this.closureCheckingStopState($e,s,v,at,E,yn,ee)}}}},{key:"canDropLoopEntryEdgeInLeftRecursiveRule",value:function(i){var s=i.state;if(s.stateType!==me.STAR_LOOP_ENTRY||s.stateType!==me.STAR_LOOP_ENTRY||!s.isPrecedenceDecision||i.context.isEmpty()||i.context.hasEmptyPath())return!1;for(var v=i.context.length,S=0;S<v;S++)if(this.atn.states[i.context.getReturnState(S)].ruleIndex!==s.ruleIndex)return!1;for(var E=s.transitions[0].target.endState.stateNumber,k=this.atn.states[E],ee=0;ee<v;ee++){var Ce=i.context.getReturnState(ee),xe=this.atn.states[Ce];if(xe.transitions.length!==1||!xe.transitions[0].isEpsilon)return!1;var Ge=xe.transitions[0].target;if(!(xe.stateType===me.BLOCK_END&&Ge===s||xe===k||Ge===k||Ge.stateType===me.BLOCK_END&&Ge.transitions.length===1&&Ge.transitions[0].isEpsilon&&Ge.transitions[0].target===s))return!1}return!0}},{key:"getRuleName",value:function(i){return this.parser!==null&&i>=0?this.parser.ruleNames[i]:"<rule "+i+">"}},{key:"getEpsilonTarget",value:function(i,s,v,S,E,k){switch(s.serializationType){case pe.RULE:return this.ruleTransition(i,s);case pe.PRECEDENCE:return this.precedenceTransition(i,s,v,S,E);case pe.PREDICATE:return this.predTransition(i,s,v,S,E);case pe.ACTION:return this.actionTransition(i,s);case pe.EPSILON:return new le({state:s.target},i);case pe.ATOM:case pe.RANGE:case pe.SET:return k&&s.matches(n.EOF,0,1)?new le({state:s.target},i):null;default:return null}}},{key:"actionTransition",value:function(i,s){if(this.debug){var v=s.actionIndex===-1?65535:s.actionIndex;console.log("ACTION edge "+s.ruleIndex+":"+v)}return new le({state:s.target},i)}},{key:"precedenceTransition",value:function(i,s,v,S,E){this.debug&&(console.log("PRED (collectPredicates="+v+") "+s.precedence+">=_p, ctx dependent=true"),this.parser!==null&&console.log("context surrounding pred is "+$(this.parser.getRuleInvocationStack())));var k=null;if(v&&S)if(E){var ee=this._input.index;this._input.seek(this._startIndex);var Ce=s.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(ee),Ce&&(k=new le({state:s.target},i))}else{var xe=G.andContext(i.semanticContext,s.getPredicate());k=new le({state:s.target,semanticContext:xe},i)}else k=new le({state:s.target},i);return this.debug&&console.log("config from pred transition="+k),k}},{key:"predTransition",value:function(i,s,v,S,E){this.debug&&(console.log("PRED (collectPredicates="+v+") "+s.ruleIndex+":"+s.predIndex+", ctx dependent="+s.isCtxDependent),this.parser!==null&&console.log("context surrounding pred is "+$(this.parser.getRuleInvocationStack())));var k=null;if(v&&(s.isCtxDependent&&S||!s.isCtxDependent))if(E){var ee=this._input.index;this._input.seek(this._startIndex);var Ce=s.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(ee),Ce&&(k=new le({state:s.target},i))}else{var xe=G.andContext(i.semanticContext,s.getPredicate());k=new le({state:s.target,semanticContext:xe},i)}else k=new le({state:s.target},i);return this.debug&&console.log("config from pred transition="+k),k}},{key:"ruleTransition",value:function(i,s){this.debug&&console.log("CALL rule "+this.getRuleName(s.target.ruleIndex)+", ctx="+i.context);var v=s.followState,S=ct.create(i.context,v.stateNumber);return new le({state:s.target,context:S},i)}},{key:"getConflictingAlts",value:function(i){var s=Hn.getConflictingAltSubsets(i);return Hn.getAlts(s)}},{key:"getConflictingAltsOrUniqueAlt",value:function(i){var s=null;return i.uniqueAlt!==dn.INVALID_ALT_NUMBER?(s=new Pr).add(i.uniqueAlt):s=i.conflictingAlts,s}},{key:"getTokenName",value:function(i){if(i===n.EOF)return"EOF";if(this.parser!==null&&this.parser.literalNames!==null){if(!(i>=this.parser.literalNames.length&&i>=this.parser.symbolicNames.length))return(this.parser.literalNames[i]||this.parser.symbolicNames[i])+"<"+i+">";console.log(i+" ttype out of range: "+this.parser.literalNames),console.log(""+this.parser.getInputStream().getTokens())}return""+i}},{key:"getLookaheadName",value:function(i){return this.getTokenName(i.LA(1))}},{key:"dumpDeadEndConfigs",value:function(i){console.log("dead end configs: ");for(var s=i.getDeadEndConfigs(),v=0;v<s.length;v++){var S=s[v],E="no edges";if(S.state.transitions.length>0){var k=S.state.transitions[0];k instanceof Uf?E="Atom "+this.getTokenName(k.label):k instanceof Si&&(E=(k instanceof rn?"~":"")+"Set "+k.set)}console.error(S.toString(this.parser,!0)+":"+E)}}},{key:"noViableAlt",value:function(i,s,v,S){return new Nc(this.parser,i,i.get(S),i.LT(1),v,s)}},{key:"getUniqueAlt",value:function(i){for(var s=dn.INVALID_ALT_NUMBER,v=0;v<i.items.length;v++){var S=i.items[v];if(s===dn.INVALID_ALT_NUMBER)s=S.alt;else if(S.alt!==s)return dn.INVALID_ALT_NUMBER}return s}},{key:"addDFAEdge",value:function(i,s,v,S){if(this.debug&&console.log("EDGE "+s+" -> "+S+" upon "+this.getTokenName(v)),S===null)return null;if(S=this.addDFAState(i,S),s===null||v<-1||v>this.atn.maxTokenType)return S;if(s.edges===null&&(s.edges=[]),s.edges[v+1]=S,this.debug){var E=this.parser===null?null:this.parser.literalNames,k=this.parser===null?null:this.parser.symbolicNames;console.log(`DFA=
8
8
  `+i.toString(E,k))}return S}},{key:"addDFAState",value:function(i,s){if(s===Ai.ERROR)return s;var v=i.states.get(s);return v!==null?(this.trace_atn_sim&&console.log("addDFAState "+s+" exists"),v):(s.stateNumber=i.states.length,s.configs.readOnly||(s.configs.optimizeConfigs(this),s.configs.setReadonly(!0)),this.trace_atn_sim&&console.log("addDFAState new "+s),i.states.add(s),this.debug&&console.log("adding new DFA state: "+s),s)}},{key:"reportAttemptingFullContext",value:function(i,s,v,S,E){if(this.debug||this.retry_debug){var k=new _e(S,E+1);console.log("reportAttemptingFullContext decision="+i.decision+":"+v+", input="+this.parser.getTokenStream().getText(k))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportAttemptingFullContext(this.parser,i,S,E,s,v)}},{key:"reportContextSensitivity",value:function(i,s,v,S,E){if(this.debug||this.retry_debug){var k=new _e(S,E+1);console.log("reportContextSensitivity decision="+i.decision+":"+v+", input="+this.parser.getTokenStream().getText(k))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportContextSensitivity(this.parser,i,S,E,s,v)}},{key:"reportAmbiguity",value:function(i,s,v,S,E,k,ee){if(this.debug||this.retry_debug){var Ce=new _e(v,S+1);console.log("reportAmbiguity "+k+":"+ee+", input="+this.parser.getTokenStream().getText(Ce))}this.parser!==null&&this.parser.getErrorListenerDispatch().reportAmbiguity(this.parser,i,v,S,E,k,ee)}}],p&&ag(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Ai);function Vs(l){return Vs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Vs(l)}function sg(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Vs(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Vs(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Vs(f)==="symbol"?f:String(f)),a)}var f}var vy=function(){function l(){(function(a,f){if(!(a instanceof f))throw new TypeError("Cannot call a class as a function")})(this,l),this.cache=new Xi}var r,p;return r=l,(p=[{key:"add",value:function(a){if(a===it.EMPTY)return it.EMPTY;var f=this.cache.get(a)||null;return f!==null?f:(this.cache.set(a,a),a)}},{key:"get",value:function(a){return this.cache.get(a)||null}},{key:"length",get:function(){return this.cache.length}}])&&sg(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();const ug={ATN:dn,ATNDeserializer:ih,LexerATNSimulator:Ba,ParserATNSimulator:by,PredictionMode:Hn,PredictionContextCache:vy};function js(l){return js=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},js(l)}function cg(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(js(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(js(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),js(f)==="symbol"?f:String(f)),a)}var f}var Oh=function(){function l(a,f,c){(function(d,i){if(!(d instanceof i))throw new TypeError("Cannot call a class as a function")})(this,l),this.dfa=a,this.literalNames=f||[],this.symbolicNames=c||[]}var r,p;return r=l,(p=[{key:"toString",value:function(){if(this.dfa.s0===null)return null;for(var a="",f=this.dfa.sortedStates(),c=0;c<f.length;c++){var d=f[c];if(d.edges!==null)for(var i=d.edges.length,s=0;s<i;s++){var v=d.edges[s]||null;v!==null&&v.stateNumber!==2147483647&&(a=(a=(a=(a=(a=(a=a.concat(this.getStateString(d))).concat("-")).concat(this.getEdgeLabel(s))).concat("->")).concat(this.getStateString(v))).concat(`
9
- `))}}return a.length===0?null:a}},{key:"getEdgeLabel",value:function(a){return a===0?"EOF":this.literalNames!==null||this.symbolicNames!==null?this.literalNames[a-1]||this.symbolicNames[a-1]:String.fromCharCode(a-1)}},{key:"getStateString",value:function(a){var f=(a.isAcceptState?":":"")+"s"+a.stateNumber+(a.requiresFullContext?"^":"");return a.isAcceptState?a.predicates!==null?f+"=>"+$(a.predicates):f+"=>"+a.prediction.toString():f}}])&&cg(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function Va(l){return Va=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Va(l)}function lg(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Va(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Va(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Va(f)==="symbol"?f:String(f)),a)}var f}function Dh(l,r){return Dh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Dh(l,r)}function Ic(l){return Ic=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Ic(l)}var Ey=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Dh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=Ic(a);if(f){var v=Ic(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(Va(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i){return function(s,v){if(!(s instanceof v))throw new TypeError("Cannot call a class as a function")}(this,d),c.call(this,i,null)}return r=d,(p=[{key:"getEdgeLabel",value:function(i){return"'"+String.fromCharCode(i)+"'"}}])&&lg(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Oh);function Hs(l){return Hs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Hs(l)}function fg(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Hs(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Hs(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Hs(f)==="symbol"?f:String(f)),a)}var f}var Sy=function(){function l(a,f){if(function(d,i){if(!(d instanceof i))throw new TypeError("Cannot call a class as a function")}(this,l),f===void 0&&(f=0),this.atnStartState=a,this.decision=f,this._states=new g,this.s0=null,this.precedenceDfa=!1,a instanceof Mo&&a.isPrecedenceDecision){this.precedenceDfa=!0;var c=new Bo(null,new Ir);c.edges=[],c.isAcceptState=!1,c.requiresFullContext=!1,this.s0=c}}var r,p;return r=l,(p=[{key:"getPrecedenceStartState",value:function(a){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";return a<0||a>=this.s0.edges.length?null:this.s0.edges[a]||null}},{key:"setPrecedenceStartState",value:function(a,f){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";a<0||(this.s0.edges[a]=f)}},{key:"setPrecedenceDfa",value:function(a){if(this.precedenceDfa!==a){if(this._states=new g,a){var f=new Bo(null,new Ir);f.edges=[],f.isAcceptState=!1,f.requiresFullContext=!1,this.s0=f}else this.s0=null;this.precedenceDfa=a}}},{key:"sortedStates",value:function(){return this._states.values().sort(function(a,f){return a.stateNumber-f.stateNumber})}},{key:"toString",value:function(a,f){return a=a||null,f=f||null,this.s0===null?"":new Oh(this,a,f).toString()}},{key:"toLexerString",value:function(){return this.s0===null?"":new Ey(this).toString()}},{key:"states",get:function(){return this._states}}])&&fg(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();const hg={DFA:Sy,DFASerializer:Oh,LexerDFASerializer:Ey,PredPrediction:gy},pg={PredictionContext:it},dg={Interval:_e,IntervalSet:ne};function Gs(l){return Gs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Gs(l)}function yg(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Gs(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Gs(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Gs(f)==="symbol"?f:String(f)),a)}var f}var Ch=function(){function l(){(function(a,f){if(!(a instanceof f))throw new TypeError("Cannot call a class as a function")})(this,l)}var r,p;return r=l,(p=[{key:"visitTerminal",value:function(a){}},{key:"visitErrorNode",value:function(a){}},{key:"enterEveryRule",value:function(a){}},{key:"exitEveryRule",value:function(a){}}])&&yg(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function Ks(l){return Ks=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ks(l)}function mg(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ks(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ks(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ks(f)==="symbol"?f:String(f)),a)}var f}var Ty=function(){function l(){(function(a,f){if(!(a instanceof f))throw new TypeError("Cannot call a class as a function")})(this,l)}var r,p;return r=l,(p=[{key:"visit",value:function(a){return Array.isArray(a)?a.map(function(f){return f.accept(this)},this):a.accept(this)}},{key:"visitChildren",value:function(a){return a.children?this.visit(a.children):null}},{key:"visitTerminal",value:function(a){}},{key:"visitErrorNode",value:function(a){}}])&&mg(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function zs(l){return zs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},zs(l)}function _g(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(zs(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(zs(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),zs(f)==="symbol"?f:String(f)),a)}var f}var Fc=function(){function l(){(function(a,f){if(!(a instanceof f))throw new TypeError("Cannot call a class as a function")})(this,l)}var r,p;return r=l,(p=[{key:"walk",value:function(a,f){if(f instanceof Kr||f.isErrorNode!==void 0&&f.isErrorNode())a.visitErrorNode(f);else if(f instanceof on)a.visitTerminal(f);else{this.enterRule(a,f);for(var c=0;c<f.getChildCount();c++){var d=f.getChild(c);this.walk(a,d)}this.exitRule(a,f)}}},{key:"enterRule",value:function(a,f){var c=f.ruleContext;a.enterEveryRule(c),c.enterRule(a)}},{key:"exitRule",value:function(a,f){var c=f.ruleContext;c.exitRule(a),a.exitEveryRule(c)}}])&&_g(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();Fc.DEFAULT=new Fc;const gg={Trees:Hu,RuleNode:Fe,ErrorNode:Kr,TerminalNode:on,ParseTreeListener:Ch,ParseTreeVisitor:Ty,ParseTreeWalker:Fc};function kh(l){return kh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},kh(l)}function Rh(l,r){return Rh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Rh(l,r)}function Mc(l){return Mc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Mc(l)}var $s=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&Rh(d,i)})(c,l);var r,p,a,f=(p=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,i=Mc(p);if(a){var s=Mc(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return function(v,S){if(S&&(kh(S)==="object"||typeof S=="function"))return S;if(S!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}(v)}(this,d)});function c(d){var i;return function(s,v){if(!(s instanceof v))throw new TypeError("Cannot call a class as a function")}(this,c),(i=f.call(this,{message:"",recognizer:d,input:d.getInputStream(),ctx:d._ctx})).offendingToken=d.getCurrentToken(),i}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(Lo);function wh(l){return wh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},wh(l)}function Nh(l,r){return Nh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Nh(l,r)}function Lc(l){return Lc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Lc(l)}var Ph=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&Nh(d,i)})(c,l);var r,p,a,f=(p=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,i=Lc(p);if(a){var s=Lc(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return function(v,S){if(S&&(wh(S)==="object"||typeof S=="function"))return S;if(S!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}(v)}(this,d)});function c(d,i,s){var v;(function(E,k){if(!(E instanceof k))throw new TypeError("Cannot call a class as a function")})(this,c),v=f.call(this,{message:bg(i,s||null),recognizer:d,input:d.getInputStream(),ctx:d._ctx});var S=d._interp.atn.states[d.state].transitions[0];return S instanceof Qd?(v.ruleIndex=S.ruleIndex,v.predicateIndex=S.predIndex):(v.ruleIndex=0,v.predicateIndex=0),v.predicate=i,v.offendingToken=d.getCurrentToken(),v}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(Lo);function bg(l,r){return r!==null?r:"failed predicate: {"+l+"}?"}function ja(l){return ja=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},ja(l)}function vg(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(ja(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(ja(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),ja(f)==="symbol"?f:String(f)),a)}var f}function Ih(l,r){return Ih=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Ih(l,r)}function Bc(l){return Bc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Bc(l)}var Ay=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Ih(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=Bc(a);if(f){var v=Bc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(ja(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i){var s;return function(v,S){if(!(v instanceof S))throw new TypeError("Cannot call a class as a function")}(this,d),i=i||!0,(s=c.call(this)).exactOnly=i,s}return r=d,p=[{key:"reportAmbiguity",value:function(i,s,v,S,E,k,ee){if(!this.exactOnly||E){var Ce="reportAmbiguity d="+this.getDecisionDescription(i,s)+": ambigAlts="+this.getConflictingAlts(k,ee)+", input='"+i.getTokenStream().getText(new _e(v,S))+"'";i.notifyErrorListeners(Ce)}}},{key:"reportAttemptingFullContext",value:function(i,s,v,S,E,k){var ee="reportAttemptingFullContext d="+this.getDecisionDescription(i,s)+", input='"+i.getTokenStream().getText(new _e(v,S))+"'";i.notifyErrorListeners(ee)}},{key:"reportContextSensitivity",value:function(i,s,v,S,E,k){var ee="reportContextSensitivity d="+this.getDecisionDescription(i,s)+", input='"+i.getTokenStream().getText(new _e(v,S))+"'";i.notifyErrorListeners(ee)}},{key:"getDecisionDescription",value:function(i,s){var v=s.decision,S=s.atnStartState.ruleIndex,E=i.ruleNames;if(S<0||S>=E.length)return""+v;var k=E[S]||null;return k===null||k.length===0?""+v:"".concat(v," (").concat(k,")")}},{key:"getConflictingAlts",value:function(i,s){if(i!==null)return i;for(var v=new Pr,S=0;S<s.items.length;S++)v.add(s.items[S].alt);return"{".concat(v.values().join(", "),"}")}}],p&&vg(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Cs);function Fh(l){return Fh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Fh(l)}function xy(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function Mh(l){var r=typeof Map=="function"?new Map:void 0;return Mh=function(p){if(p===null||(a=p,Function.toString.call(a).indexOf("[native code]")===-1))return p;var a;if(typeof p!="function")throw new TypeError("Super expression must either be null or a function");if(r!==void 0){if(r.has(p))return r.get(p);r.set(p,f)}function f(){return Lh(p,arguments,Xs(this).constructor)}return f.prototype=Object.create(p.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}}),Ws(f,p)},Mh(l)}function Lh(l,r,p){return Lh=Oy()?Reflect.construct.bind():function(a,f,c){var d=[null];d.push.apply(d,f);var i=new(Function.bind.apply(a,d));return c&&Ws(i,c.prototype),i},Lh.apply(null,arguments)}function Oy(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Ws(l,r){return Ws=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Ws(l,r)}function Xs(l){return Xs=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Xs(l)}var Eg=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&Ws(d,i)})(c,l);var r,p,a,f=(p=c,a=Oy(),function(){var d,i=Xs(p);if(a){var s=Xs(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return function(v,S){if(S&&(Fh(S)==="object"||typeof S=="function"))return S;if(S!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return xy(v)}(this,d)});function c(){var d;return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,c),d=f.call(this),Error.captureStackTrace(xy(d),c),d}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(Mh(Error));function qs(l){return qs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},qs(l)}function Sg(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(qs(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(qs(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),qs(f)==="symbol"?f:String(f)),a)}var f}function Ha(l){return Ha=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ha(l)}function Tg(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ha(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ha(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ha(f)==="symbol"?f:String(f)),a)}var f}function Bh(l,r){return Bh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Bh(l,r)}function Uc(l){return Uc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Uc(l)}var Uh=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Bh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=Uc(a);if(f){var v=Uc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(Ha(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(){var i;return function(s,v){if(!(s instanceof v))throw new TypeError("Cannot call a class as a function")}(this,d),(i=c.call(this)).errorRecoveryMode=!1,i.lastErrorIndex=-1,i.lastErrorStates=null,i.nextTokensContext=null,i.nextTokenState=0,i}return r=d,p=[{key:"reset",value:function(i){this.endErrorCondition(i)}},{key:"beginErrorCondition",value:function(i){this.errorRecoveryMode=!0}},{key:"inErrorRecoveryMode",value:function(i){return this.errorRecoveryMode}},{key:"endErrorCondition",value:function(i){this.errorRecoveryMode=!1,this.lastErrorStates=null,this.lastErrorIndex=-1}},{key:"reportMatch",value:function(i){this.endErrorCondition(i)}},{key:"reportError",value:function(i,s){this.inErrorRecoveryMode(i)||(this.beginErrorCondition(i),s instanceof Nc?this.reportNoViableAlternative(i,s):s instanceof $s?this.reportInputMismatch(i,s):s instanceof Ph?this.reportFailedPredicate(i,s):(console.log("unknown recognition error type: "+s.constructor.name),console.log(s.stack),i.notifyErrorListeners(s.getOffendingToken(),s.getMessage(),s)))}},{key:"recover",value:function(i,s){this.lastErrorIndex===i.getInputStream().index&&this.lastErrorStates!==null&&this.lastErrorStates.indexOf(i.state)>=0&&i.consume(),this.lastErrorIndex=i._input.index,this.lastErrorStates===null&&(this.lastErrorStates=[]),this.lastErrorStates.push(i.state);var v=this.getErrorRecoverySet(i);this.consumeUntil(i,v)}},{key:"sync",value:function(i){if(!this.inErrorRecoveryMode(i)){var s=i._interp.atn.states[i.state],v=i.getTokenStream().LA(1),S=i.atn.nextTokens(s);if(S.contains(v))return this.nextTokensContext=null,void(this.nextTokenState=me.INVALID_STATE_NUMBER);if(S.contains(n.EPSILON))this.nextTokensContext===null&&(this.nextTokensContext=i._ctx,this.nextTokensState=i._stateNumber);else switch(s.stateType){case me.BLOCK_START:case me.STAR_BLOCK_START:case me.PLUS_BLOCK_START:case me.STAR_LOOP_ENTRY:if(this.singleTokenDeletion(i)!==null)return;throw new $s(i);case me.PLUS_LOOP_BACK:case me.STAR_LOOP_BACK:this.reportUnwantedToken(i);var E=new ne;E.addSet(i.getExpectedTokens());var k=E.addSet(this.getErrorRecoverySet(i));this.consumeUntil(i,k)}}}},{key:"reportNoViableAlternative",value:function(i,s){var v,S=i.getTokenStream();v=S!==null?s.startToken.type===n.EOF?"<EOF>":S.getText(new _e(s.startToken.tokenIndex,s.offendingToken.tokenIndex)):"<unknown input>";var E="no viable alternative at input "+this.escapeWSAndQuote(v);i.notifyErrorListeners(E,s.offendingToken,s)}},{key:"reportInputMismatch",value:function(i,s){var v="mismatched input "+this.getTokenErrorDisplay(s.offendingToken)+" expecting "+s.getExpectedTokens().toString(i.literalNames,i.symbolicNames);i.notifyErrorListeners(v,s.offendingToken,s)}},{key:"reportFailedPredicate",value:function(i,s){var v="rule "+i.ruleNames[i._ctx.ruleIndex]+" "+s.message;i.notifyErrorListeners(v,s.offendingToken,s)}},{key:"reportUnwantedToken",value:function(i){if(!this.inErrorRecoveryMode(i)){this.beginErrorCondition(i);var s=i.getCurrentToken(),v="extraneous input "+this.getTokenErrorDisplay(s)+" expecting "+this.getExpectedTokens(i).toString(i.literalNames,i.symbolicNames);i.notifyErrorListeners(v,s,null)}}},{key:"reportMissingToken",value:function(i){if(!this.inErrorRecoveryMode(i)){this.beginErrorCondition(i);var s=i.getCurrentToken(),v="missing "+this.getExpectedTokens(i).toString(i.literalNames,i.symbolicNames)+" at "+this.getTokenErrorDisplay(s);i.notifyErrorListeners(v,s,null)}}},{key:"recoverInline",value:function(i){var s=this.singleTokenDeletion(i);if(s!==null)return i.consume(),s;if(this.singleTokenInsertion(i))return this.getMissingSymbol(i);throw new $s(i)}},{key:"singleTokenInsertion",value:function(i){var s=i.getTokenStream().LA(1),v=i._interp.atn,S=v.states[i.state].transitions[0].target;return!!v.nextTokens(S,i._ctx).contains(s)&&(this.reportMissingToken(i),!0)}},{key:"singleTokenDeletion",value:function(i){var s=i.getTokenStream().LA(2);if(this.getExpectedTokens(i).contains(s)){this.reportUnwantedToken(i),i.consume();var v=i.getCurrentToken();return this.reportMatch(i),v}return null}},{key:"getMissingSymbol",value:function(i){var s,v=i.getCurrentToken(),S=this.getExpectedTokens(i).first();s=S===n.EOF?"<missing EOF>":"<missing "+i.literalNames[S]+">";var E=v,k=i.getTokenStream().LT(-1);return E.type===n.EOF&&k!==null&&(E=k),i.getTokenFactory().create(E.source,S,s,n.DEFAULT_CHANNEL,-1,-1,E.line,E.column)}},{key:"getExpectedTokens",value:function(i){return i.getExpectedTokens()}},{key:"getTokenErrorDisplay",value:function(i){if(i===null)return"<no token>";var s=i.text;return s===null&&(s=i.type===n.EOF?"<EOF>":"<"+i.type+">"),this.escapeWSAndQuote(s)}},{key:"escapeWSAndQuote",value:function(i){return"'"+(i=(i=(i=i.replace(/\n/g,"\\n")).replace(/\r/g,"\\r")).replace(/\t/g,"\\t"))+"'"}},{key:"getErrorRecoverySet",value:function(i){for(var s=i._interp.atn,v=i._ctx,S=new ne;v!==null&&v.invokingState>=0;){var E=s.states[v.invokingState].transitions[0],k=s.nextTokens(E.followState);S.addSet(k),v=v.parentCtx}return S.removeOne(n.EPSILON),S}},{key:"consumeUntil",value:function(i,s){for(var v=i.getTokenStream().LA(1);v!==n.EOF&&!s.contains(v);)i.consume(),v=i.getTokenStream().LA(1)}}],p&&Tg(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(function(){function l(){(function(a,f){if(!(a instanceof f))throw new TypeError("Cannot call a class as a function")})(this,l)}var r,p;return r=l,(p=[{key:"reset",value:function(a){}},{key:"recoverInline",value:function(a){}},{key:"recover",value:function(a,f){}},{key:"sync",value:function(a){}},{key:"inErrorRecoveryMode",value:function(a){}},{key:"reportError",value:function(a){}}])&&Sg(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}());function Ga(l){return Ga=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ga(l)}function Ag(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ga(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ga(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ga(f)==="symbol"?f:String(f)),a)}var f}function Vh(l,r){return Vh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Vh(l,r)}function Vc(l){return Vc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Vc(l)}var Dy=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Vh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=Vc(a);if(f){var v=Vc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(Ga(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(){return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,d),c.call(this)}return r=d,p=[{key:"recover",value:function(i,s){for(var v=i._ctx;v!==null;)v.exception=s,v=v.parentCtx;throw new Eg(s)}},{key:"recoverInline",value:function(i){this.recover(i,new $s(i))}},{key:"sync",value:function(i){}}],p&&Ag(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Uh);const xg={RecognitionException:Lo,NoViableAltException:Nc,LexerNoViableAltException:dh,InputMismatchException:$s,FailedPredicateException:Ph,DiagnosticErrorListener:Ay,BailErrorStrategy:Dy,DefaultErrorStrategy:Uh,ErrorListener:Cs};function Ys(l){return Ys=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ys(l)}function Og(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ys(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ys(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ys(f)==="symbol"?f:String(f)),a)}var f}var Js=function(){function l(a,f){if(function(s,v){if(!(s instanceof v))throw new TypeError("Cannot call a class as a function")}(this,l),this.name="<empty>",this.strdata=a,this.decodeToUnicodeCodePoints=f||!1,this._index=0,this.data=[],this.decodeToUnicodeCodePoints)for(var c=0;c<this.strdata.length;){var d=this.strdata.codePointAt(c);this.data.push(d),c+=d<=65535?1:2}else{this.data=new Array(this.strdata.length);for(var i=0;i<this.strdata.length;i++)this.data[i]=this.strdata.charCodeAt(i)}this._size=this.data.length}var r,p;return r=l,(p=[{key:"reset",value:function(){this._index=0}},{key:"consume",value:function(){if(this._index>=this._size)throw"cannot consume EOF";this._index+=1}},{key:"LA",value:function(a){if(a===0)return 0;a<0&&(a+=1);var f=this._index+a-1;return f<0||f>=this._size?n.EOF:this.data[f]}},{key:"LT",value:function(a){return this.LA(a)}},{key:"mark",value:function(){return-1}},{key:"release",value:function(a){}},{key:"seek",value:function(a){a<=this._index?this._index=a:this._index=Math.min(a,this._size)}},{key:"getText",value:function(a,f){if(f>=this._size&&(f=this._size-1),a>=this._size)return"";if(this.decodeToUnicodeCodePoints){for(var c="",d=a;d<=f;d++)c+=String.fromCodePoint(this.data[d]);return c}return this.strdata.slice(a,f+1)}},{key:"toString",value:function(){return this.strdata}},{key:"index",get:function(){return this._index}},{key:"size",get:function(){return this._size}}])&&Og(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function jh(l){return jh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},jh(l)}function Hh(l,r){return Hh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Hh(l,r)}function jc(l){return jc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},jc(l)}var Zs=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&Hh(d,i)})(c,l);var r,p,a,f=(p=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,i=jc(p);if(a){var s=jc(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return function(v,S){if(S&&(jh(S)==="object"||typeof S=="function"))return S;if(S!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}(v)}(this,d)});function c(d,i){return function(s,v){if(!(s instanceof v))throw new TypeError("Cannot call a class as a function")}(this,c),f.call(this,d,i)}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(Js),Cy=Tr(92);function Ka(l){return Ka=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ka(l)}function Dg(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ka(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ka(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ka(f)==="symbol"?f:String(f)),a)}var f}function Gh(l,r){return Gh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Gh(l,r)}function Hc(l){return Hc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Hc(l)}var ky=typeof process<"u"&&process.versions!=null&&process.versions.node!=null,Ry=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Gh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=Hc(a);if(f){var v=Hc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(Ka(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i,s,v){var S;if(function(k,ee){if(!(k instanceof ee))throw new TypeError("Cannot call a class as a function")}(this,d),!ky)throw new Error("FileStream is only available when running in Node!");var E=Cy.readFileSync(i,s||"utf-8");return(S=c.call(this,E,v)).fileName=i,S}return r=d,p=[{key:"fromPath",value:function(i,s,v){if(!ky)throw new Error("FileStream is only available when running in Node!");Cy.readFile(i,s,function(S,E){var k=null;E!==null&&(k=new Js(E,!0)),v(S,k)})}}],p&&Dg(r,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Zs);const wy={fromString:function(l){return new Js(l,!0)},fromBlob:function(l,r,p,a){var f=new window.FileReader;f.onload=function(c){var d=new Js(c.target.result,!0);p(d)},f.onerror=a,f.readAsText(l,r)},fromBuffer:function(l,r){return new Js(l.toString(r),!0)},fromPath:function(l,r,p){Ry.fromPath(l,r,p)},fromPathSync:function(l,r){return new Ry(l,r)}},Cg={arrayToString:$,stringToCharArray:function(l){for(var r=new Uint16Array(l.length),p=0;p<l.length;p++)r[p]=l.charCodeAt(p);return r}};function Qs(l){return Qs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Qs(l)}function Ny(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Qs(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Qs(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Qs(f)==="symbol"?f:String(f)),a)}var f}function kg(l,r,p){return r&&Ny(l.prototype,r),p&&Ny(l,p),Object.defineProperty(l,"prototype",{writable:!1}),l}function za(l){return za=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},za(l)}function Rg(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(za(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(za(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),za(f)==="symbol"?f:String(f)),a)}var f}function Kh(l,r){return Kh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Kh(l,r)}function Gc(l){return Gc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Gc(l)}var Py=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Kh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=Gc(a);if(f){var v=Gc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(za(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i){var s;return function(v,S){if(!(v instanceof S))throw new TypeError("Cannot call a class as a function")}(this,d),(s=c.call(this)).tokenSource=i,s.tokens=[],s.index=-1,s.fetchedEOF=!1,s}return r=d,(p=[{key:"mark",value:function(){return 0}},{key:"release",value:function(i){}},{key:"reset",value:function(){this.seek(0)}},{key:"seek",value:function(i){this.lazyInit(),this.index=this.adjustSeekIndex(i)}},{key:"size",get:function(){return this.tokens.length}},{key:"get",value:function(i){return this.lazyInit(),this.tokens[i]}},{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(i){var s=i-this.tokens.length+1;return!(s>0)||this.fetch(s)>=s}},{key:"fetch",value:function(i){if(this.fetchedEOF)return 0;for(var s=0;s<i;s++){var v=this.tokenSource.nextToken();if(v.tokenIndex=this.tokens.length,this.tokens.push(v),v.type===n.EOF)return this.fetchedEOF=!0,s+1}return i}},{key:"getTokens",value:function(i,s,v){if(v===void 0&&(v=null),i<0||s<0)return null;this.lazyInit();var S=[];s>=this.tokens.length&&(s=this.tokens.length-1);for(var E=i;E<s;E++){var k=this.tokens[E];if(k.type===n.EOF)break;(v===null||v.contains(k.type))&&S.push(k)}return S}},{key:"LA",value:function(i){return this.LT(i).type}},{key:"LB",value:function(i){return this.index-i<0?null:this.tokens[this.index-i]}},{key:"LT",value:function(i){if(this.lazyInit(),i===0)return null;if(i<0)return this.LB(-i);var s=this.index+i-1;return this.sync(s),s>=this.tokens.length?this.tokens[this.tokens.length-1]:this.tokens[s]}},{key:"adjustSeekIndex",value:function(i){return i}},{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(i){this.tokenSource=i,this.tokens=[],this.index=-1,this.fetchedEOF=!1}},{key:"nextTokenOnChannel",value:function(i,s){if(this.sync(i),i>=this.tokens.length)return-1;for(var v=this.tokens[i];v.channel!==this.channel;){if(v.type===n.EOF)return-1;i+=1,this.sync(i),v=this.tokens[i]}return i}},{key:"previousTokenOnChannel",value:function(i,s){for(;i>=0&&this.tokens[i].channel!==s;)i-=1;return i}},{key:"getHiddenTokensToRight",value:function(i,s){if(s===void 0&&(s=-1),this.lazyInit(),i<0||i>=this.tokens.length)throw i+" not in 0.."+this.tokens.length-1;var v=this.nextTokenOnChannel(i+1,rr.DEFAULT_TOKEN_CHANNEL),S=i+1,E=v===-1?this.tokens.length-1:v;return this.filterForChannel(S,E,s)}},{key:"getHiddenTokensToLeft",value:function(i,s){if(s===void 0&&(s=-1),this.lazyInit(),i<0||i>=this.tokens.length)throw i+" not in 0.."+this.tokens.length-1;var v=this.previousTokenOnChannel(i-1,rr.DEFAULT_TOKEN_CHANNEL);if(v===i-1)return null;var S=v+1,E=i-1;return this.filterForChannel(S,E,s)}},{key:"filterForChannel",value:function(i,s,v){for(var S=[],E=i;E<s+1;E++){var k=this.tokens[E];v===-1?k.channel!==rr.DEFAULT_TOKEN_CHANNEL&&S.push(k):k.channel===v&&S.push(k)}return S.length===0?null:S}},{key:"getSourceName",value:function(){return this.tokenSource.getSourceName()}},{key:"getText",value:function(i){this.lazyInit(),this.fill(),i||(i=new _e(0,this.tokens.length-1));var s=i.start;s instanceof n&&(s=s.tokenIndex);var v=i.stop;if(v instanceof n&&(v=v.tokenIndex),s===null||v===null||s<0||v<0)return"";v>=this.tokens.length&&(v=this.tokens.length-1);for(var S="",E=s;E<v+1;E++){var k=this.tokens[E];if(k.type===n.EOF)break;S+=k.text}return S}},{key:"fill",value:function(){for(this.lazyInit();this.fetch(1e3)===1e3;);}}])&&Rg(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(kg(function l(){(function(r,p){if(!(r instanceof p))throw new TypeError("Cannot call a class as a function")})(this,l)}));function $a(l){return $a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},$a(l)}function wg(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if($a(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if($a(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),$a(f)==="symbol"?f:String(f)),a)}var f}function zh(l,r){return zh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},zh(l,r)}function Kc(l){return Kc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Kc(l)}Object.defineProperty(Py,"size",{get:function(){return this.tokens.length}});var Iy=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&zh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=Kc(a);if(f){var v=Kc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&($a(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i,s){var v;return function(S,E){if(!(S instanceof E))throw new TypeError("Cannot call a class as a function")}(this,d),(v=c.call(this,i)).channel=s===void 0?n.DEFAULT_CHANNEL:s,v}return r=d,(p=[{key:"adjustSeekIndex",value:function(i){return this.nextTokenOnChannel(i,this.channel)}},{key:"LB",value:function(i){if(i===0||this.index-i<0)return null;for(var s=this.index,v=1;v<=i;)s=this.previousTokenOnChannel(s-1,this.channel),v+=1;return s<0?null:this.tokens[s]}},{key:"LT",value:function(i){if(this.lazyInit(),i===0)return null;if(i<0)return this.LB(-i);for(var s=this.index,v=1;v<i;)this.sync(s+1)&&(s=this.nextTokenOnChannel(s+1,this.channel)),v+=1;return this.tokens[s]}},{key:"getNumberOfOnChannelTokens",value:function(){var i=0;this.fill();for(var s=0;s<this.tokens.length;s++){var v=this.tokens[s];if(v.channel===this.channel&&(i+=1),v.type===n.EOF)break}return i}}])&&wg(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Py);function Wa(l){return Wa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Wa(l)}function Ng(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Wa(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Wa(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Wa(f)==="symbol"?f:String(f)),a)}var f}function $h(l,r){return $h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},$h(l,r)}function zc(l){return zc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},zc(l)}var Pg=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&$h(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=zc(a);if(f){var v=zc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(Wa(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i){var s;return function(v,S){if(!(v instanceof S))throw new TypeError("Cannot call a class as a function")}(this,d),(s=c.call(this)).parser=i,s}return r=d,(p=[{key:"enterEveryRule",value:function(i){console.log("enter "+this.parser.ruleNames[i.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}},{key:"visitTerminal",value:function(i){console.log("consume "+i.symbol+" rule "+this.parser.ruleNames[this.parser._ctx.ruleIndex])}},{key:"exitEveryRule",value:function(i){console.log("exit "+this.parser.ruleNames[i.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}}])&&Ng(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Ch);function Xa(l){return Xa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Xa(l)}function Ig(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Xa(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Xa(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Xa(f)==="symbol"?f:String(f)),a)}var f}function Wh(l,r){return Wh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Wh(l,r)}function $c(l){return $c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},$c(l)}var Xh=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Wh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=$c(a);if(f){var v=$c(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(Xa(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i){var s;return function(v,S){if(!(v instanceof S))throw new TypeError("Cannot call a class as a function")}(this,d),(s=c.call(this))._input=null,s._errHandler=new Uh,s._precedenceStack=[],s._precedenceStack.push(0),s._ctx=null,s.buildParseTrees=!0,s._tracer=null,s._parseListeners=null,s._syntaxErrors=0,s.setInputStream(i),s}return r=d,p=[{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(i){var s=this.getCurrentToken();return s.type===i?(this._errHandler.reportMatch(this),this.consume()):(s=this._errHandler.recoverInline(this),this.buildParseTrees&&s.tokenIndex===-1&&this._ctx.addErrorNode(s)),s}},{key:"matchWildcard",value:function(){var i=this.getCurrentToken();return i.type>0?(this._errHandler.reportMatch(this),this.consume()):(i=this._errHandler.recoverInline(this),this.buildParseTrees&&i.tokenIndex===-1&&this._ctx.addErrorNode(i)),i}},{key:"getParseListeners",value:function(){return this._parseListeners||[]}},{key:"addParseListener",value:function(i){if(i===null)throw"listener";this._parseListeners===null&&(this._parseListeners=[]),this._parseListeners.push(i)}},{key:"removeParseListener",value:function(i){if(this._parseListeners!==null){var s=this._parseListeners.indexOf(i);s>=0&&this._parseListeners.splice(s,1),this._parseListeners.length===0&&(this._parseListeners=null)}}},{key:"removeParseListeners",value:function(){this._parseListeners=null}},{key:"triggerEnterRuleEvent",value:function(){if(this._parseListeners!==null){var i=this._ctx;this._parseListeners.forEach(function(s){s.enterEveryRule(i),i.enterRule(s)})}}},{key:"triggerExitRuleEvent",value:function(){if(this._parseListeners!==null){var i=this._ctx;this._parseListeners.slice(0).reverse().forEach(function(s){i.exitRule(s),s.exitEveryRule(i)})}}},{key:"getTokenFactory",value:function(){return this._input.tokenSource._factory}},{key:"setTokenFactory",value:function(i){this._input.tokenSource._factory=i}},{key:"getATNWithBypassAlts",value:function(){var i=this.getSerializedATN();if(i===null)throw"The current parser does not support an ATN with bypass alternatives.";var s=this.bypassAltsAtnCache[i];if(s===null){var v=new As;v.generateRuleBypassTransitions=!0,s=new ih(v).deserialize(i),this.bypassAltsAtnCache[i]=s}return s}},{key:"getInputStream",value:function(){return this.getTokenStream()}},{key:"setInputStream",value:function(i){this.setTokenStream(i)}},{key:"getTokenStream",value:function(){return this._input}},{key:"setTokenStream",value:function(i){this._input=null,this.reset(),this._input=i}},{key:"syntaxErrorsCount",get:function(){return this._syntaxErrors}},{key:"getCurrentToken",value:function(){return this._input.LT(1)}},{key:"notifyErrorListeners",value:function(i,s,v){v=v||null,(s=s||null)===null&&(s=this.getCurrentToken()),this._syntaxErrors+=1;var S=s.line,E=s.column;this.getErrorListenerDispatch().syntaxError(this,s,S,E,i,v)}},{key:"consume",value:function(){var i=this.getCurrentToken();i.type!==n.EOF&&this.getInputStream().consume();var s,v=this._parseListeners!==null&&this._parseListeners.length>0;return(this.buildParseTrees||v)&&((s=this._errHandler.inErrorRecoveryMode(this)?this._ctx.addErrorNode(i):this._ctx.addTokenNode(i)).invokingState=this.state,v&&this._parseListeners.forEach(function(S){s instanceof Kr||s.isErrorNode!==void 0&&s.isErrorNode()?S.visitErrorNode(s):s instanceof on&&S.visitTerminal(s)})),i}},{key:"addContextToParseTree",value:function(){this._ctx.parentCtx!==null&&this._ctx.parentCtx.addChild(this._ctx)}},{key:"enterRule",value:function(i,s,v){this.state=s,this._ctx=i,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(i,s){i.setAltNumber(s),this.buildParseTrees&&this._ctx!==i&&this._ctx.parentCtx!==null&&(this._ctx.parentCtx.removeLastChild(),this._ctx.parentCtx.addChild(i)),this._ctx=i}},{key:"getPrecedence",value:function(){return this._precedenceStack.length===0?-1:this._precedenceStack[this._precedenceStack.length-1]}},{key:"enterRecursionRule",value:function(i,s,v,S){this.state=s,this._precedenceStack.push(S),this._ctx=i,this._ctx.start=this._input.LT(1),this.triggerEnterRuleEvent()}},{key:"pushNewRecursionContext",value:function(i,s,v){var S=this._ctx;S.parentCtx=i,S.invokingState=s,S.stop=this._input.LT(-1),this._ctx=i,this._ctx.start=S.start,this.buildParseTrees&&this._ctx.addChild(S),this.triggerEnterRuleEvent()}},{key:"unrollRecursionContexts",value:function(i){this._precedenceStack.pop(),this._ctx.stop=this._input.LT(-1);var s=this._ctx,v=this.getParseListeners();if(v!==null&&v.length>0)for(;this._ctx!==i;)this.triggerExitRuleEvent(),this._ctx=this._ctx.parentCtx;else this._ctx=i;s.parentCtx=i,this.buildParseTrees&&i!==null&&i.addChild(s)}},{key:"getInvokingContext",value:function(i){for(var s=this._ctx;s!==null;){if(s.ruleIndex===i)return s;s=s.parentCtx}return null}},{key:"precpred",value:function(i,s){return s>=this._precedenceStack[this._precedenceStack.length-1]}},{key:"inContext",value:function(i){return!1}},{key:"isExpectedToken",value:function(i){var s=this._interp.atn,v=this._ctx,S=s.states[this.state],E=s.nextTokens(S);if(E.contains(i))return!0;if(!E.contains(n.EPSILON))return!1;for(;v!==null&&v.invokingState>=0&&E.contains(n.EPSILON);){var k=s.states[v.invokingState].transitions[0];if((E=s.nextTokens(k.followState)).contains(i))return!0;v=v.parentCtx}return!(!E.contains(n.EPSILON)||i!==n.EOF)}},{key:"getExpectedTokens",value:function(){return this._interp.atn.getExpectedTokens(this.state,this._ctx)}},{key:"getExpectedTokensWithinCurrentRule",value:function(){var i=this._interp.atn,s=i.states[this.state];return i.nextTokens(s)}},{key:"getRuleIndex",value:function(i){var s=this.getRuleIndexMap()[i];return s!==null?s:-1}},{key:"getRuleInvocationStack",value:function(i){(i=i||null)===null&&(i=this._ctx);for(var s=[];i!==null;){var v=i.ruleIndex;v<0?s.push("n/a"):s.push(this.ruleNames[v]),i=i.parentCtx}return s}},{key:"getDFAStrings",value:function(){return this._interp.decisionToDFA.toString()}},{key:"dumpDFA",value:function(){for(var i=!1,s=0;s<this._interp.decisionToDFA.length;s++){var v=this._interp.decisionToDFA[s];v.states.length>0&&(i&&console.log(),this.printer.println("Decision "+v.decision+":"),this.printer.print(v.toString(this.literalNames,this.symbolicNames)),i=!0)}}},{key:"getSourceName",value:function(){return this._input.sourceName}},{key:"setTrace",value:function(i){i?(this._tracer!==null&&this.removeParseListener(this._tracer),this._tracer=new Pg(this),this.addParseListener(this._tracer)):(this.removeParseListener(this._tracer),this._tracer=null)}}],p&&Ig(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Tc);function qa(l){return qa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},qa(l)}function Fg(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(qa(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(qa(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),qa(f)==="symbol"?f:String(f)),a)}var f}function qh(l,r){return qh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},qh(l,r)}function Wc(l){return Wc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Wc(l)}Xh.bypassAltsAtnCache={};var Fy=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&qh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=Wc(a);if(f){var v=Wc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(qa(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i){var s;return function(v,S){if(!(v instanceof S))throw new TypeError("Cannot call a class as a function")}(this,d),(s=c.call(this)).parentCtx=null,s.symbol=i,s}return r=d,(p=[{key:"getChild",value:function(i){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 i=this.symbol.tokenIndex;return new _e(i,i)}},{key:"getChildCount",value:function(){return 0}},{key:"accept",value:function(i){return i.visitTerminal(this)}},{key:"getText",value:function(){return this.symbol.text}},{key:"toString",value:function(){return this.symbol.type===n.EOF?"<EOF>":this.symbol.text}}])&&Fg(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(on);function Ya(l){return Ya=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ya(l)}function Mg(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ya(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ya(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ya(f)==="symbol"?f:String(f)),a)}var f}function Yh(l,r){return Yh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Yh(l,r)}function Xc(l){return Xc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Xc(l)}var My=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Yh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=Xc(a);if(f){var v=Xc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(Ya(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i){return function(s,v){if(!(s instanceof v))throw new TypeError("Cannot call a class as a function")}(this,d),c.call(this,i)}return r=d,(p=[{key:"isErrorNode",value:function(){return!0}},{key:"accept",value:function(i){return i.visitErrorNode(this)}}])&&Mg(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Fy);function Ja(l){return Ja=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ja(l)}function Lg(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ja(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ja(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ja(f)==="symbol"?f:String(f)),a)}var f}function Jh(l,r){return Jh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Jh(l,r)}function qc(l){return qc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},qc(l)}var Zh=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Jh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=qc(a);if(f){var v=qc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(Ja(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i,s){var v;return function(S,E){if(!(S instanceof E))throw new TypeError("Cannot call a class as a function")}(this,d),(v=c.call(this,i,s)).children=null,v.start=null,v.stop=null,v.exception=null,v}return r=d,(p=[{key:"copyFrom",value:function(i){this.parentCtx=i.parentCtx,this.invokingState=i.invokingState,this.children=null,this.start=i.start,this.stop=i.stop,i.children&&(this.children=[],i.children.map(function(s){s instanceof My&&(this.children.push(s),s.parentCtx=this)},this))}},{key:"enterRule",value:function(i){}},{key:"exitRule",value:function(i){}},{key:"addChild",value:function(i){return this.children===null&&(this.children=[]),this.children.push(i),i}},{key:"removeLastChild",value:function(){this.children!==null&&this.children.pop()}},{key:"addTokenNode",value:function(i){var s=new Fy(i);return this.addChild(s),s.parentCtx=this,s}},{key:"addErrorNode",value:function(i){var s=new My(i);return this.addChild(s),s.parentCtx=this,s}},{key:"getChild",value:function(i,s){if(s=s||null,this.children===null||i<0||i>=this.children.length)return null;if(s===null)return this.children[i];for(var v=0;v<this.children.length;v++){var S=this.children[v];if(S instanceof s){if(i===0)return S;i-=1}}return null}},{key:"getToken",value:function(i,s){if(this.children===null||s<0||s>=this.children.length)return null;for(var v=0;v<this.children.length;v++){var S=this.children[v];if(S instanceof on&&S.symbol.type===i){if(s===0)return S;s-=1}}return null}},{key:"getTokens",value:function(i){if(this.children===null)return[];for(var s=[],v=0;v<this.children.length;v++){var S=this.children[v];S instanceof on&&S.symbol.type===i&&s.push(S)}return s}},{key:"getTypedRuleContext",value:function(i,s){return this.getChild(s,i)}},{key:"getTypedRuleContexts",value:function(i){if(this.children===null)return[];for(var s=[],v=0;v<this.children.length;v++){var S=this.children[v];S instanceof i&&s.push(S)}return s}},{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)}}])&&Lg(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Wi);function Qh(l,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");l.prototype=Object.create(r&&r.prototype,{constructor:{value:l,writable:!0,configurable:!0}}),Object.defineProperty(l,"prototype",{writable:!1}),r&&ep(l,r)}function ep(l,r){return ep=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},ep(l,r)}function tp(l){var r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.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 p,a=Yc(l);if(r){var f=Yc(this).constructor;p=Reflect.construct(a,arguments,f)}else p=a.apply(this,arguments);return function(c,d){if(d&&(Za(d)==="object"||typeof d=="function"))return d;if(d!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}(c)}(this,p)}}function Yc(l){return Yc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Yc(l)}function Za(l){return Za=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Za(l)}function Qa(l,r){var p=typeof Symbol<"u"&&l[Symbol.iterator]||l["@@iterator"];if(!p){if(Array.isArray(l)||(p=function(s,v){if(s){if(typeof s=="string")return Ly(s,v);var S=Object.prototype.toString.call(s).slice(8,-1);return S==="Object"&&s.constructor&&(S=s.constructor.name),S==="Map"||S==="Set"?Array.from(s):S==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(S)?Ly(s,v):void 0}}(l))||r&&l&&typeof l.length=="number"){p&&(l=p);var a=0,f=function(){};return{s:f,n:function(){return a>=l.length?{done:!0}:{done:!1,value:l[a++]}},e:function(s){throw s},f}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
9
+ `))}}return a.length===0?null:a}},{key:"getEdgeLabel",value:function(a){return a===0?"EOF":this.literalNames!==null||this.symbolicNames!==null?this.literalNames[a-1]||this.symbolicNames[a-1]:String.fromCharCode(a-1)}},{key:"getStateString",value:function(a){var f=(a.isAcceptState?":":"")+"s"+a.stateNumber+(a.requiresFullContext?"^":"");return a.isAcceptState?a.predicates!==null?f+"=>"+$(a.predicates):f+"=>"+a.prediction.toString():f}}])&&cg(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function Va(l){return Va=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Va(l)}function lg(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Va(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Va(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Va(f)==="symbol"?f:String(f)),a)}var f}function Dh(l,r){return Dh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Dh(l,r)}function Ic(l){return Ic=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Ic(l)}var Ey=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Dh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=Ic(a);if(f){var v=Ic(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(Va(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i){return function(s,v){if(!(s instanceof v))throw new TypeError("Cannot call a class as a function")}(this,d),c.call(this,i,null)}return r=d,(p=[{key:"getEdgeLabel",value:function(i){return"'"+String.fromCharCode(i)+"'"}}])&&lg(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Oh);function Hs(l){return Hs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Hs(l)}function fg(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Hs(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Hs(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Hs(f)==="symbol"?f:String(f)),a)}var f}var Sy=function(){function l(a,f){if(function(d,i){if(!(d instanceof i))throw new TypeError("Cannot call a class as a function")}(this,l),f===void 0&&(f=0),this.atnStartState=a,this.decision=f,this._states=new g,this.s0=null,this.precedenceDfa=!1,a instanceof Mo&&a.isPrecedenceDecision){this.precedenceDfa=!0;var c=new Bo(null,new Ir);c.edges=[],c.isAcceptState=!1,c.requiresFullContext=!1,this.s0=c}}var r,p;return r=l,(p=[{key:"getPrecedenceStartState",value:function(a){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";return a<0||a>=this.s0.edges.length?null:this.s0.edges[a]||null}},{key:"setPrecedenceStartState",value:function(a,f){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";a<0||(this.s0.edges[a]=f)}},{key:"setPrecedenceDfa",value:function(a){if(this.precedenceDfa!==a){if(this._states=new g,a){var f=new Bo(null,new Ir);f.edges=[],f.isAcceptState=!1,f.requiresFullContext=!1,this.s0=f}else this.s0=null;this.precedenceDfa=a}}},{key:"sortedStates",value:function(){return this._states.values().sort(function(a,f){return a.stateNumber-f.stateNumber})}},{key:"toString",value:function(a,f){return a=a||null,f=f||null,this.s0===null?"":new Oh(this,a,f).toString()}},{key:"toLexerString",value:function(){return this.s0===null?"":new Ey(this).toString()}},{key:"states",get:function(){return this._states}}])&&fg(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();const hg={DFA:Sy,DFASerializer:Oh,LexerDFASerializer:Ey,PredPrediction:gy},pg={PredictionContext:it},dg={Interval:_e,IntervalSet:ne};function Gs(l){return Gs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Gs(l)}function yg(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Gs(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Gs(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Gs(f)==="symbol"?f:String(f)),a)}var f}var Ch=function(){function l(){(function(a,f){if(!(a instanceof f))throw new TypeError("Cannot call a class as a function")})(this,l)}var r,p;return r=l,(p=[{key:"visitTerminal",value:function(a){}},{key:"visitErrorNode",value:function(a){}},{key:"enterEveryRule",value:function(a){}},{key:"exitEveryRule",value:function(a){}}])&&yg(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function Ks(l){return Ks=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ks(l)}function mg(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ks(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ks(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ks(f)==="symbol"?f:String(f)),a)}var f}var Ty=function(){function l(){(function(a,f){if(!(a instanceof f))throw new TypeError("Cannot call a class as a function")})(this,l)}var r,p;return r=l,(p=[{key:"visit",value:function(a){return Array.isArray(a)?a.map(function(f){return f.accept(this)},this):a.accept(this)}},{key:"visitChildren",value:function(a){return a.children?this.visit(a.children):null}},{key:"visitTerminal",value:function(a){}},{key:"visitErrorNode",value:function(a){}}])&&mg(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function zs(l){return zs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},zs(l)}function _g(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(zs(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(zs(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),zs(f)==="symbol"?f:String(f)),a)}var f}var Fc=function(){function l(){(function(a,f){if(!(a instanceof f))throw new TypeError("Cannot call a class as a function")})(this,l)}var r,p;return r=l,(p=[{key:"walk",value:function(a,f){if(f instanceof zr||f.isErrorNode!==void 0&&f.isErrorNode())a.visitErrorNode(f);else if(f instanceof on)a.visitTerminal(f);else{this.enterRule(a,f);for(var c=0;c<f.getChildCount();c++){var d=f.getChild(c);this.walk(a,d)}this.exitRule(a,f)}}},{key:"enterRule",value:function(a,f){var c=f.ruleContext;a.enterEveryRule(c),c.enterRule(a)}},{key:"exitRule",value:function(a,f){var c=f.ruleContext;c.exitRule(a),a.exitEveryRule(c)}}])&&_g(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();Fc.DEFAULT=new Fc;const gg={Trees:Hu,RuleNode:Fe,ErrorNode:zr,TerminalNode:on,ParseTreeListener:Ch,ParseTreeVisitor:Ty,ParseTreeWalker:Fc};function kh(l){return kh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},kh(l)}function Rh(l,r){return Rh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Rh(l,r)}function Mc(l){return Mc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Mc(l)}var $s=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&Rh(d,i)})(c,l);var r,p,a,f=(p=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,i=Mc(p);if(a){var s=Mc(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return function(v,S){if(S&&(kh(S)==="object"||typeof S=="function"))return S;if(S!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}(v)}(this,d)});function c(d){var i;return function(s,v){if(!(s instanceof v))throw new TypeError("Cannot call a class as a function")}(this,c),(i=f.call(this,{message:"",recognizer:d,input:d.getInputStream(),ctx:d._ctx})).offendingToken=d.getCurrentToken(),i}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(Lo);function wh(l){return wh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},wh(l)}function Nh(l,r){return Nh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Nh(l,r)}function Lc(l){return Lc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Lc(l)}var Ph=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&Nh(d,i)})(c,l);var r,p,a,f=(p=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,i=Lc(p);if(a){var s=Lc(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return function(v,S){if(S&&(wh(S)==="object"||typeof S=="function"))return S;if(S!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}(v)}(this,d)});function c(d,i,s){var v;(function(E,k){if(!(E instanceof k))throw new TypeError("Cannot call a class as a function")})(this,c),v=f.call(this,{message:bg(i,s||null),recognizer:d,input:d.getInputStream(),ctx:d._ctx});var S=d._interp.atn.states[d.state].transitions[0];return S instanceof Qd?(v.ruleIndex=S.ruleIndex,v.predicateIndex=S.predIndex):(v.ruleIndex=0,v.predicateIndex=0),v.predicate=i,v.offendingToken=d.getCurrentToken(),v}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(Lo);function bg(l,r){return r!==null?r:"failed predicate: {"+l+"}?"}function ja(l){return ja=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},ja(l)}function vg(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(ja(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(ja(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),ja(f)==="symbol"?f:String(f)),a)}var f}function Ih(l,r){return Ih=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Ih(l,r)}function Bc(l){return Bc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Bc(l)}var Ay=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Ih(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=Bc(a);if(f){var v=Bc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(ja(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i){var s;return function(v,S){if(!(v instanceof S))throw new TypeError("Cannot call a class as a function")}(this,d),i=i||!0,(s=c.call(this)).exactOnly=i,s}return r=d,p=[{key:"reportAmbiguity",value:function(i,s,v,S,E,k,ee){if(!this.exactOnly||E){var Ce="reportAmbiguity d="+this.getDecisionDescription(i,s)+": ambigAlts="+this.getConflictingAlts(k,ee)+", input='"+i.getTokenStream().getText(new _e(v,S))+"'";i.notifyErrorListeners(Ce)}}},{key:"reportAttemptingFullContext",value:function(i,s,v,S,E,k){var ee="reportAttemptingFullContext d="+this.getDecisionDescription(i,s)+", input='"+i.getTokenStream().getText(new _e(v,S))+"'";i.notifyErrorListeners(ee)}},{key:"reportContextSensitivity",value:function(i,s,v,S,E,k){var ee="reportContextSensitivity d="+this.getDecisionDescription(i,s)+", input='"+i.getTokenStream().getText(new _e(v,S))+"'";i.notifyErrorListeners(ee)}},{key:"getDecisionDescription",value:function(i,s){var v=s.decision,S=s.atnStartState.ruleIndex,E=i.ruleNames;if(S<0||S>=E.length)return""+v;var k=E[S]||null;return k===null||k.length===0?""+v:"".concat(v," (").concat(k,")")}},{key:"getConflictingAlts",value:function(i,s){if(i!==null)return i;for(var v=new Pr,S=0;S<s.items.length;S++)v.add(s.items[S].alt);return"{".concat(v.values().join(", "),"}")}}],p&&vg(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Cs);function Fh(l){return Fh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Fh(l)}function xy(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function Mh(l){var r=typeof Map=="function"?new Map:void 0;return Mh=function(p){if(p===null||(a=p,Function.toString.call(a).indexOf("[native code]")===-1))return p;var a;if(typeof p!="function")throw new TypeError("Super expression must either be null or a function");if(r!==void 0){if(r.has(p))return r.get(p);r.set(p,f)}function f(){return Lh(p,arguments,Xs(this).constructor)}return f.prototype=Object.create(p.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}}),Ws(f,p)},Mh(l)}function Lh(l,r,p){return Lh=Oy()?Reflect.construct.bind():function(a,f,c){var d=[null];d.push.apply(d,f);var i=new(Function.bind.apply(a,d));return c&&Ws(i,c.prototype),i},Lh.apply(null,arguments)}function Oy(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Ws(l,r){return Ws=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Ws(l,r)}function Xs(l){return Xs=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Xs(l)}var Eg=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&Ws(d,i)})(c,l);var r,p,a,f=(p=c,a=Oy(),function(){var d,i=Xs(p);if(a){var s=Xs(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return function(v,S){if(S&&(Fh(S)==="object"||typeof S=="function"))return S;if(S!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return xy(v)}(this,d)});function c(){var d;return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,c),d=f.call(this),Error.captureStackTrace(xy(d),c),d}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(Mh(Error));function qs(l){return qs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},qs(l)}function Sg(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(qs(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(qs(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),qs(f)==="symbol"?f:String(f)),a)}var f}function Ha(l){return Ha=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ha(l)}function Tg(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ha(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ha(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ha(f)==="symbol"?f:String(f)),a)}var f}function Bh(l,r){return Bh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Bh(l,r)}function Uc(l){return Uc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Uc(l)}var Uh=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Bh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=Uc(a);if(f){var v=Uc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(Ha(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(){var i;return function(s,v){if(!(s instanceof v))throw new TypeError("Cannot call a class as a function")}(this,d),(i=c.call(this)).errorRecoveryMode=!1,i.lastErrorIndex=-1,i.lastErrorStates=null,i.nextTokensContext=null,i.nextTokenState=0,i}return r=d,p=[{key:"reset",value:function(i){this.endErrorCondition(i)}},{key:"beginErrorCondition",value:function(i){this.errorRecoveryMode=!0}},{key:"inErrorRecoveryMode",value:function(i){return this.errorRecoveryMode}},{key:"endErrorCondition",value:function(i){this.errorRecoveryMode=!1,this.lastErrorStates=null,this.lastErrorIndex=-1}},{key:"reportMatch",value:function(i){this.endErrorCondition(i)}},{key:"reportError",value:function(i,s){this.inErrorRecoveryMode(i)||(this.beginErrorCondition(i),s instanceof Nc?this.reportNoViableAlternative(i,s):s instanceof $s?this.reportInputMismatch(i,s):s instanceof Ph?this.reportFailedPredicate(i,s):(console.log("unknown recognition error type: "+s.constructor.name),console.log(s.stack),i.notifyErrorListeners(s.getOffendingToken(),s.getMessage(),s)))}},{key:"recover",value:function(i,s){this.lastErrorIndex===i.getInputStream().index&&this.lastErrorStates!==null&&this.lastErrorStates.indexOf(i.state)>=0&&i.consume(),this.lastErrorIndex=i._input.index,this.lastErrorStates===null&&(this.lastErrorStates=[]),this.lastErrorStates.push(i.state);var v=this.getErrorRecoverySet(i);this.consumeUntil(i,v)}},{key:"sync",value:function(i){if(!this.inErrorRecoveryMode(i)){var s=i._interp.atn.states[i.state],v=i.getTokenStream().LA(1),S=i.atn.nextTokens(s);if(S.contains(v))return this.nextTokensContext=null,void(this.nextTokenState=me.INVALID_STATE_NUMBER);if(S.contains(n.EPSILON))this.nextTokensContext===null&&(this.nextTokensContext=i._ctx,this.nextTokensState=i._stateNumber);else switch(s.stateType){case me.BLOCK_START:case me.STAR_BLOCK_START:case me.PLUS_BLOCK_START:case me.STAR_LOOP_ENTRY:if(this.singleTokenDeletion(i)!==null)return;throw new $s(i);case me.PLUS_LOOP_BACK:case me.STAR_LOOP_BACK:this.reportUnwantedToken(i);var E=new ne;E.addSet(i.getExpectedTokens());var k=E.addSet(this.getErrorRecoverySet(i));this.consumeUntil(i,k)}}}},{key:"reportNoViableAlternative",value:function(i,s){var v,S=i.getTokenStream();v=S!==null?s.startToken.type===n.EOF?"<EOF>":S.getText(new _e(s.startToken.tokenIndex,s.offendingToken.tokenIndex)):"<unknown input>";var E="no viable alternative at input "+this.escapeWSAndQuote(v);i.notifyErrorListeners(E,s.offendingToken,s)}},{key:"reportInputMismatch",value:function(i,s){var v="mismatched input "+this.getTokenErrorDisplay(s.offendingToken)+" expecting "+s.getExpectedTokens().toString(i.literalNames,i.symbolicNames);i.notifyErrorListeners(v,s.offendingToken,s)}},{key:"reportFailedPredicate",value:function(i,s){var v="rule "+i.ruleNames[i._ctx.ruleIndex]+" "+s.message;i.notifyErrorListeners(v,s.offendingToken,s)}},{key:"reportUnwantedToken",value:function(i){if(!this.inErrorRecoveryMode(i)){this.beginErrorCondition(i);var s=i.getCurrentToken(),v="extraneous input "+this.getTokenErrorDisplay(s)+" expecting "+this.getExpectedTokens(i).toString(i.literalNames,i.symbolicNames);i.notifyErrorListeners(v,s,null)}}},{key:"reportMissingToken",value:function(i){if(!this.inErrorRecoveryMode(i)){this.beginErrorCondition(i);var s=i.getCurrentToken(),v="missing "+this.getExpectedTokens(i).toString(i.literalNames,i.symbolicNames)+" at "+this.getTokenErrorDisplay(s);i.notifyErrorListeners(v,s,null)}}},{key:"recoverInline",value:function(i){var s=this.singleTokenDeletion(i);if(s!==null)return i.consume(),s;if(this.singleTokenInsertion(i))return this.getMissingSymbol(i);throw new $s(i)}},{key:"singleTokenInsertion",value:function(i){var s=i.getTokenStream().LA(1),v=i._interp.atn,S=v.states[i.state].transitions[0].target;return!!v.nextTokens(S,i._ctx).contains(s)&&(this.reportMissingToken(i),!0)}},{key:"singleTokenDeletion",value:function(i){var s=i.getTokenStream().LA(2);if(this.getExpectedTokens(i).contains(s)){this.reportUnwantedToken(i),i.consume();var v=i.getCurrentToken();return this.reportMatch(i),v}return null}},{key:"getMissingSymbol",value:function(i){var s,v=i.getCurrentToken(),S=this.getExpectedTokens(i).first();s=S===n.EOF?"<missing EOF>":"<missing "+i.literalNames[S]+">";var E=v,k=i.getTokenStream().LT(-1);return E.type===n.EOF&&k!==null&&(E=k),i.getTokenFactory().create(E.source,S,s,n.DEFAULT_CHANNEL,-1,-1,E.line,E.column)}},{key:"getExpectedTokens",value:function(i){return i.getExpectedTokens()}},{key:"getTokenErrorDisplay",value:function(i){if(i===null)return"<no token>";var s=i.text;return s===null&&(s=i.type===n.EOF?"<EOF>":"<"+i.type+">"),this.escapeWSAndQuote(s)}},{key:"escapeWSAndQuote",value:function(i){return"'"+(i=(i=(i=i.replace(/\n/g,"\\n")).replace(/\r/g,"\\r")).replace(/\t/g,"\\t"))+"'"}},{key:"getErrorRecoverySet",value:function(i){for(var s=i._interp.atn,v=i._ctx,S=new ne;v!==null&&v.invokingState>=0;){var E=s.states[v.invokingState].transitions[0],k=s.nextTokens(E.followState);S.addSet(k),v=v.parentCtx}return S.removeOne(n.EPSILON),S}},{key:"consumeUntil",value:function(i,s){for(var v=i.getTokenStream().LA(1);v!==n.EOF&&!s.contains(v);)i.consume(),v=i.getTokenStream().LA(1)}}],p&&Tg(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(function(){function l(){(function(a,f){if(!(a instanceof f))throw new TypeError("Cannot call a class as a function")})(this,l)}var r,p;return r=l,(p=[{key:"reset",value:function(a){}},{key:"recoverInline",value:function(a){}},{key:"recover",value:function(a,f){}},{key:"sync",value:function(a){}},{key:"inErrorRecoveryMode",value:function(a){}},{key:"reportError",value:function(a){}}])&&Sg(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}());function Ga(l){return Ga=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ga(l)}function Ag(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ga(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ga(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ga(f)==="symbol"?f:String(f)),a)}var f}function Vh(l,r){return Vh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Vh(l,r)}function Vc(l){return Vc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Vc(l)}var Dy=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Vh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=Vc(a);if(f){var v=Vc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(Ga(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(){return function(i,s){if(!(i instanceof s))throw new TypeError("Cannot call a class as a function")}(this,d),c.call(this)}return r=d,p=[{key:"recover",value:function(i,s){for(var v=i._ctx;v!==null;)v.exception=s,v=v.parentCtx;throw new Eg(s)}},{key:"recoverInline",value:function(i){this.recover(i,new $s(i))}},{key:"sync",value:function(i){}}],p&&Ag(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Uh);const xg={RecognitionException:Lo,NoViableAltException:Nc,LexerNoViableAltException:dh,InputMismatchException:$s,FailedPredicateException:Ph,DiagnosticErrorListener:Ay,BailErrorStrategy:Dy,DefaultErrorStrategy:Uh,ErrorListener:Cs};function Ys(l){return Ys=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ys(l)}function Og(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ys(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ys(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ys(f)==="symbol"?f:String(f)),a)}var f}var Js=function(){function l(a,f){if(function(s,v){if(!(s instanceof v))throw new TypeError("Cannot call a class as a function")}(this,l),this.name="<empty>",this.strdata=a,this.decodeToUnicodeCodePoints=f||!1,this._index=0,this.data=[],this.decodeToUnicodeCodePoints)for(var c=0;c<this.strdata.length;){var d=this.strdata.codePointAt(c);this.data.push(d),c+=d<=65535?1:2}else{this.data=new Array(this.strdata.length);for(var i=0;i<this.strdata.length;i++)this.data[i]=this.strdata.charCodeAt(i)}this._size=this.data.length}var r,p;return r=l,(p=[{key:"reset",value:function(){this._index=0}},{key:"consume",value:function(){if(this._index>=this._size)throw"cannot consume EOF";this._index+=1}},{key:"LA",value:function(a){if(a===0)return 0;a<0&&(a+=1);var f=this._index+a-1;return f<0||f>=this._size?n.EOF:this.data[f]}},{key:"LT",value:function(a){return this.LA(a)}},{key:"mark",value:function(){return-1}},{key:"release",value:function(a){}},{key:"seek",value:function(a){a<=this._index?this._index=a:this._index=Math.min(a,this._size)}},{key:"getText",value:function(a,f){if(f>=this._size&&(f=this._size-1),a>=this._size)return"";if(this.decodeToUnicodeCodePoints){for(var c="",d=a;d<=f;d++)c+=String.fromCodePoint(this.data[d]);return c}return this.strdata.slice(a,f+1)}},{key:"toString",value:function(){return this.strdata}},{key:"index",get:function(){return this._index}},{key:"size",get:function(){return this._size}}])&&Og(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),l}();function jh(l){return jh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},jh(l)}function Hh(l,r){return Hh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Hh(l,r)}function jc(l){return jc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},jc(l)}var Zs=function(l){(function(d,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");d.prototype=Object.create(i&&i.prototype,{constructor:{value:d,writable:!0,configurable:!0}}),Object.defineProperty(d,"prototype",{writable:!1}),i&&Hh(d,i)})(c,l);var r,p,a,f=(p=c,a=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var d,i=jc(p);if(a){var s=jc(this).constructor;d=Reflect.construct(i,arguments,s)}else d=i.apply(this,arguments);return function(v,S){if(S&&(jh(S)==="object"||typeof S=="function"))return S;if(S!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}(v)}(this,d)});function c(d,i){return function(s,v){if(!(s instanceof v))throw new TypeError("Cannot call a class as a function")}(this,c),f.call(this,d,i)}return r=c,Object.defineProperty(r,"prototype",{writable:!1}),r}(Js),Cy=Tr(92);function Ka(l){return Ka=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ka(l)}function Dg(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ka(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ka(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ka(f)==="symbol"?f:String(f)),a)}var f}function Gh(l,r){return Gh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Gh(l,r)}function Hc(l){return Hc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Hc(l)}var ky=typeof process<"u"&&process.versions!=null&&process.versions.node!=null,Ry=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Gh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=Hc(a);if(f){var v=Hc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(Ka(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i,s,v){var S;if(function(k,ee){if(!(k instanceof ee))throw new TypeError("Cannot call a class as a function")}(this,d),!ky)throw new Error("FileStream is only available when running in Node!");var E=Cy.readFileSync(i,s||"utf-8");return(S=c.call(this,E,v)).fileName=i,S}return r=d,p=[{key:"fromPath",value:function(i,s,v){if(!ky)throw new Error("FileStream is only available when running in Node!");Cy.readFile(i,s,function(S,E){var k=null;E!==null&&(k=new Js(E,!0)),v(S,k)})}}],p&&Dg(r,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Zs);const wy={fromString:function(l){return new Js(l,!0)},fromBlob:function(l,r,p,a){var f=new window.FileReader;f.onload=function(c){var d=new Js(c.target.result,!0);p(d)},f.onerror=a,f.readAsText(l,r)},fromBuffer:function(l,r){return new Js(l.toString(r),!0)},fromPath:function(l,r,p){Ry.fromPath(l,r,p)},fromPathSync:function(l,r){return new Ry(l,r)}},Cg={arrayToString:$,stringToCharArray:function(l){for(var r=new Uint16Array(l.length),p=0;p<l.length;p++)r[p]=l.charCodeAt(p);return r}};function Qs(l){return Qs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Qs(l)}function Ny(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Qs(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Qs(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Qs(f)==="symbol"?f:String(f)),a)}var f}function kg(l,r,p){return r&&Ny(l.prototype,r),p&&Ny(l,p),Object.defineProperty(l,"prototype",{writable:!1}),l}function za(l){return za=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},za(l)}function Rg(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(za(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(za(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),za(f)==="symbol"?f:String(f)),a)}var f}function Kh(l,r){return Kh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Kh(l,r)}function Gc(l){return Gc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Gc(l)}var Py=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Kh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=Gc(a);if(f){var v=Gc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(za(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i){var s;return function(v,S){if(!(v instanceof S))throw new TypeError("Cannot call a class as a function")}(this,d),(s=c.call(this)).tokenSource=i,s.tokens=[],s.index=-1,s.fetchedEOF=!1,s}return r=d,(p=[{key:"mark",value:function(){return 0}},{key:"release",value:function(i){}},{key:"reset",value:function(){this.seek(0)}},{key:"seek",value:function(i){this.lazyInit(),this.index=this.adjustSeekIndex(i)}},{key:"size",get:function(){return this.tokens.length}},{key:"get",value:function(i){return this.lazyInit(),this.tokens[i]}},{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(i){var s=i-this.tokens.length+1;return!(s>0)||this.fetch(s)>=s}},{key:"fetch",value:function(i){if(this.fetchedEOF)return 0;for(var s=0;s<i;s++){var v=this.tokenSource.nextToken();if(v.tokenIndex=this.tokens.length,this.tokens.push(v),v.type===n.EOF)return this.fetchedEOF=!0,s+1}return i}},{key:"getTokens",value:function(i,s,v){if(v===void 0&&(v=null),i<0||s<0)return null;this.lazyInit();var S=[];s>=this.tokens.length&&(s=this.tokens.length-1);for(var E=i;E<s;E++){var k=this.tokens[E];if(k.type===n.EOF)break;(v===null||v.contains(k.type))&&S.push(k)}return S}},{key:"LA",value:function(i){return this.LT(i).type}},{key:"LB",value:function(i){return this.index-i<0?null:this.tokens[this.index-i]}},{key:"LT",value:function(i){if(this.lazyInit(),i===0)return null;if(i<0)return this.LB(-i);var s=this.index+i-1;return this.sync(s),s>=this.tokens.length?this.tokens[this.tokens.length-1]:this.tokens[s]}},{key:"adjustSeekIndex",value:function(i){return i}},{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(i){this.tokenSource=i,this.tokens=[],this.index=-1,this.fetchedEOF=!1}},{key:"nextTokenOnChannel",value:function(i,s){if(this.sync(i),i>=this.tokens.length)return-1;for(var v=this.tokens[i];v.channel!==this.channel;){if(v.type===n.EOF)return-1;i+=1,this.sync(i),v=this.tokens[i]}return i}},{key:"previousTokenOnChannel",value:function(i,s){for(;i>=0&&this.tokens[i].channel!==s;)i-=1;return i}},{key:"getHiddenTokensToRight",value:function(i,s){if(s===void 0&&(s=-1),this.lazyInit(),i<0||i>=this.tokens.length)throw i+" not in 0.."+this.tokens.length-1;var v=this.nextTokenOnChannel(i+1,rr.DEFAULT_TOKEN_CHANNEL),S=i+1,E=v===-1?this.tokens.length-1:v;return this.filterForChannel(S,E,s)}},{key:"getHiddenTokensToLeft",value:function(i,s){if(s===void 0&&(s=-1),this.lazyInit(),i<0||i>=this.tokens.length)throw i+" not in 0.."+this.tokens.length-1;var v=this.previousTokenOnChannel(i-1,rr.DEFAULT_TOKEN_CHANNEL);if(v===i-1)return null;var S=v+1,E=i-1;return this.filterForChannel(S,E,s)}},{key:"filterForChannel",value:function(i,s,v){for(var S=[],E=i;E<s+1;E++){var k=this.tokens[E];v===-1?k.channel!==rr.DEFAULT_TOKEN_CHANNEL&&S.push(k):k.channel===v&&S.push(k)}return S.length===0?null:S}},{key:"getSourceName",value:function(){return this.tokenSource.getSourceName()}},{key:"getText",value:function(i){this.lazyInit(),this.fill(),i||(i=new _e(0,this.tokens.length-1));var s=i.start;s instanceof n&&(s=s.tokenIndex);var v=i.stop;if(v instanceof n&&(v=v.tokenIndex),s===null||v===null||s<0||v<0)return"";v>=this.tokens.length&&(v=this.tokens.length-1);for(var S="",E=s;E<v+1;E++){var k=this.tokens[E];if(k.type===n.EOF)break;S+=k.text}return S}},{key:"fill",value:function(){for(this.lazyInit();this.fetch(1e3)===1e3;);}}])&&Rg(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(kg(function l(){(function(r,p){if(!(r instanceof p))throw new TypeError("Cannot call a class as a function")})(this,l)}));function $a(l){return $a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},$a(l)}function wg(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if($a(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if($a(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),$a(f)==="symbol"?f:String(f)),a)}var f}function zh(l,r){return zh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},zh(l,r)}function Kc(l){return Kc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Kc(l)}Object.defineProperty(Py,"size",{get:function(){return this.tokens.length}});var Iy=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&zh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=Kc(a);if(f){var v=Kc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&($a(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i,s){var v;return function(S,E){if(!(S instanceof E))throw new TypeError("Cannot call a class as a function")}(this,d),(v=c.call(this,i)).channel=s===void 0?n.DEFAULT_CHANNEL:s,v}return r=d,(p=[{key:"adjustSeekIndex",value:function(i){return this.nextTokenOnChannel(i,this.channel)}},{key:"LB",value:function(i){if(i===0||this.index-i<0)return null;for(var s=this.index,v=1;v<=i;)s=this.previousTokenOnChannel(s-1,this.channel),v+=1;return s<0?null:this.tokens[s]}},{key:"LT",value:function(i){if(this.lazyInit(),i===0)return null;if(i<0)return this.LB(-i);for(var s=this.index,v=1;v<i;)this.sync(s+1)&&(s=this.nextTokenOnChannel(s+1,this.channel)),v+=1;return this.tokens[s]}},{key:"getNumberOfOnChannelTokens",value:function(){var i=0;this.fill();for(var s=0;s<this.tokens.length;s++){var v=this.tokens[s];if(v.channel===this.channel&&(i+=1),v.type===n.EOF)break}return i}}])&&wg(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Py);function Wa(l){return Wa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Wa(l)}function Ng(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Wa(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Wa(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Wa(f)==="symbol"?f:String(f)),a)}var f}function $h(l,r){return $h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},$h(l,r)}function zc(l){return zc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},zc(l)}var Pg=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&$h(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=zc(a);if(f){var v=zc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(Wa(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i){var s;return function(v,S){if(!(v instanceof S))throw new TypeError("Cannot call a class as a function")}(this,d),(s=c.call(this)).parser=i,s}return r=d,(p=[{key:"enterEveryRule",value:function(i){console.log("enter "+this.parser.ruleNames[i.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}},{key:"visitTerminal",value:function(i){console.log("consume "+i.symbol+" rule "+this.parser.ruleNames[this.parser._ctx.ruleIndex])}},{key:"exitEveryRule",value:function(i){console.log("exit "+this.parser.ruleNames[i.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)}}])&&Ng(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Ch);function Xa(l){return Xa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Xa(l)}function Ig(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Xa(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Xa(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Xa(f)==="symbol"?f:String(f)),a)}var f}function Wh(l,r){return Wh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Wh(l,r)}function $c(l){return $c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},$c(l)}var Xh=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Wh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=$c(a);if(f){var v=$c(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(Xa(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i){var s;return function(v,S){if(!(v instanceof S))throw new TypeError("Cannot call a class as a function")}(this,d),(s=c.call(this))._input=null,s._errHandler=new Uh,s._precedenceStack=[],s._precedenceStack.push(0),s._ctx=null,s.buildParseTrees=!0,s._tracer=null,s._parseListeners=null,s._syntaxErrors=0,s.setInputStream(i),s}return r=d,p=[{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(i){var s=this.getCurrentToken();return s.type===i?(this._errHandler.reportMatch(this),this.consume()):(s=this._errHandler.recoverInline(this),this.buildParseTrees&&s.tokenIndex===-1&&this._ctx.addErrorNode(s)),s}},{key:"matchWildcard",value:function(){var i=this.getCurrentToken();return i.type>0?(this._errHandler.reportMatch(this),this.consume()):(i=this._errHandler.recoverInline(this),this.buildParseTrees&&i.tokenIndex===-1&&this._ctx.addErrorNode(i)),i}},{key:"getParseListeners",value:function(){return this._parseListeners||[]}},{key:"addParseListener",value:function(i){if(i===null)throw"listener";this._parseListeners===null&&(this._parseListeners=[]),this._parseListeners.push(i)}},{key:"removeParseListener",value:function(i){if(this._parseListeners!==null){var s=this._parseListeners.indexOf(i);s>=0&&this._parseListeners.splice(s,1),this._parseListeners.length===0&&(this._parseListeners=null)}}},{key:"removeParseListeners",value:function(){this._parseListeners=null}},{key:"triggerEnterRuleEvent",value:function(){if(this._parseListeners!==null){var i=this._ctx;this._parseListeners.forEach(function(s){s.enterEveryRule(i),i.enterRule(s)})}}},{key:"triggerExitRuleEvent",value:function(){if(this._parseListeners!==null){var i=this._ctx;this._parseListeners.slice(0).reverse().forEach(function(s){i.exitRule(s),s.exitEveryRule(i)})}}},{key:"getTokenFactory",value:function(){return this._input.tokenSource._factory}},{key:"setTokenFactory",value:function(i){this._input.tokenSource._factory=i}},{key:"getATNWithBypassAlts",value:function(){var i=this.getSerializedATN();if(i===null)throw"The current parser does not support an ATN with bypass alternatives.";var s=this.bypassAltsAtnCache[i];if(s===null){var v=new As;v.generateRuleBypassTransitions=!0,s=new ih(v).deserialize(i),this.bypassAltsAtnCache[i]=s}return s}},{key:"getInputStream",value:function(){return this.getTokenStream()}},{key:"setInputStream",value:function(i){this.setTokenStream(i)}},{key:"getTokenStream",value:function(){return this._input}},{key:"setTokenStream",value:function(i){this._input=null,this.reset(),this._input=i}},{key:"syntaxErrorsCount",get:function(){return this._syntaxErrors}},{key:"getCurrentToken",value:function(){return this._input.LT(1)}},{key:"notifyErrorListeners",value:function(i,s,v){v=v||null,(s=s||null)===null&&(s=this.getCurrentToken()),this._syntaxErrors+=1;var S=s.line,E=s.column;this.getErrorListenerDispatch().syntaxError(this,s,S,E,i,v)}},{key:"consume",value:function(){var i=this.getCurrentToken();i.type!==n.EOF&&this.getInputStream().consume();var s,v=this._parseListeners!==null&&this._parseListeners.length>0;return(this.buildParseTrees||v)&&((s=this._errHandler.inErrorRecoveryMode(this)?this._ctx.addErrorNode(i):this._ctx.addTokenNode(i)).invokingState=this.state,v&&this._parseListeners.forEach(function(S){s instanceof zr||s.isErrorNode!==void 0&&s.isErrorNode()?S.visitErrorNode(s):s instanceof on&&S.visitTerminal(s)})),i}},{key:"addContextToParseTree",value:function(){this._ctx.parentCtx!==null&&this._ctx.parentCtx.addChild(this._ctx)}},{key:"enterRule",value:function(i,s,v){this.state=s,this._ctx=i,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(i,s){i.setAltNumber(s),this.buildParseTrees&&this._ctx!==i&&this._ctx.parentCtx!==null&&(this._ctx.parentCtx.removeLastChild(),this._ctx.parentCtx.addChild(i)),this._ctx=i}},{key:"getPrecedence",value:function(){return this._precedenceStack.length===0?-1:this._precedenceStack[this._precedenceStack.length-1]}},{key:"enterRecursionRule",value:function(i,s,v,S){this.state=s,this._precedenceStack.push(S),this._ctx=i,this._ctx.start=this._input.LT(1),this.triggerEnterRuleEvent()}},{key:"pushNewRecursionContext",value:function(i,s,v){var S=this._ctx;S.parentCtx=i,S.invokingState=s,S.stop=this._input.LT(-1),this._ctx=i,this._ctx.start=S.start,this.buildParseTrees&&this._ctx.addChild(S),this.triggerEnterRuleEvent()}},{key:"unrollRecursionContexts",value:function(i){this._precedenceStack.pop(),this._ctx.stop=this._input.LT(-1);var s=this._ctx,v=this.getParseListeners();if(v!==null&&v.length>0)for(;this._ctx!==i;)this.triggerExitRuleEvent(),this._ctx=this._ctx.parentCtx;else this._ctx=i;s.parentCtx=i,this.buildParseTrees&&i!==null&&i.addChild(s)}},{key:"getInvokingContext",value:function(i){for(var s=this._ctx;s!==null;){if(s.ruleIndex===i)return s;s=s.parentCtx}return null}},{key:"precpred",value:function(i,s){return s>=this._precedenceStack[this._precedenceStack.length-1]}},{key:"inContext",value:function(i){return!1}},{key:"isExpectedToken",value:function(i){var s=this._interp.atn,v=this._ctx,S=s.states[this.state],E=s.nextTokens(S);if(E.contains(i))return!0;if(!E.contains(n.EPSILON))return!1;for(;v!==null&&v.invokingState>=0&&E.contains(n.EPSILON);){var k=s.states[v.invokingState].transitions[0];if((E=s.nextTokens(k.followState)).contains(i))return!0;v=v.parentCtx}return!(!E.contains(n.EPSILON)||i!==n.EOF)}},{key:"getExpectedTokens",value:function(){return this._interp.atn.getExpectedTokens(this.state,this._ctx)}},{key:"getExpectedTokensWithinCurrentRule",value:function(){var i=this._interp.atn,s=i.states[this.state];return i.nextTokens(s)}},{key:"getRuleIndex",value:function(i){var s=this.getRuleIndexMap()[i];return s!==null?s:-1}},{key:"getRuleInvocationStack",value:function(i){(i=i||null)===null&&(i=this._ctx);for(var s=[];i!==null;){var v=i.ruleIndex;v<0?s.push("n/a"):s.push(this.ruleNames[v]),i=i.parentCtx}return s}},{key:"getDFAStrings",value:function(){return this._interp.decisionToDFA.toString()}},{key:"dumpDFA",value:function(){for(var i=!1,s=0;s<this._interp.decisionToDFA.length;s++){var v=this._interp.decisionToDFA[s];v.states.length>0&&(i&&console.log(),this.printer.println("Decision "+v.decision+":"),this.printer.print(v.toString(this.literalNames,this.symbolicNames)),i=!0)}}},{key:"getSourceName",value:function(){return this._input.sourceName}},{key:"setTrace",value:function(i){i?(this._tracer!==null&&this.removeParseListener(this._tracer),this._tracer=new Pg(this),this.addParseListener(this._tracer)):(this.removeParseListener(this._tracer),this._tracer=null)}}],p&&Ig(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Tc);function qa(l){return qa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},qa(l)}function Fg(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(qa(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(qa(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),qa(f)==="symbol"?f:String(f)),a)}var f}function qh(l,r){return qh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},qh(l,r)}function Wc(l){return Wc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Wc(l)}Xh.bypassAltsAtnCache={};var Fy=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&qh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=Wc(a);if(f){var v=Wc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(qa(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i){var s;return function(v,S){if(!(v instanceof S))throw new TypeError("Cannot call a class as a function")}(this,d),(s=c.call(this)).parentCtx=null,s.symbol=i,s}return r=d,(p=[{key:"getChild",value:function(i){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 i=this.symbol.tokenIndex;return new _e(i,i)}},{key:"getChildCount",value:function(){return 0}},{key:"accept",value:function(i){return i.visitTerminal(this)}},{key:"getText",value:function(){return this.symbol.text}},{key:"toString",value:function(){return this.symbol.type===n.EOF?"<EOF>":this.symbol.text}}])&&Fg(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(on);function Ya(l){return Ya=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ya(l)}function Mg(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ya(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ya(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ya(f)==="symbol"?f:String(f)),a)}var f}function Yh(l,r){return Yh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Yh(l,r)}function Xc(l){return Xc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Xc(l)}var My=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Yh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=Xc(a);if(f){var v=Xc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(Ya(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i){return function(s,v){if(!(s instanceof v))throw new TypeError("Cannot call a class as a function")}(this,d),c.call(this,i)}return r=d,(p=[{key:"isErrorNode",value:function(){return!0}},{key:"accept",value:function(i){return i.visitErrorNode(this)}}])&&Mg(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Fy);function Ja(l){return Ja=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ja(l)}function Lg(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,(f=function(c,d){if(Ja(c)!=="object"||c===null)return c;var i=c[Symbol.toPrimitive];if(i!==void 0){var s=i.call(c,"string");if(Ja(s)!=="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(c)}(a.key),Ja(f)==="symbol"?f:String(f)),a)}var f}function Jh(l,r){return Jh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},Jh(l,r)}function qc(l){return qc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},qc(l)}var Zh=function(l){(function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),s&&Jh(i,s)})(d,l);var r,p,a,f,c=(a=d,f=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var i,s=qc(a);if(f){var v=qc(this).constructor;i=Reflect.construct(s,arguments,v)}else i=s.apply(this,arguments);return function(S,E){if(E&&(Ja(E)==="object"||typeof E=="function"))return E;if(E!==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}(S)}(this,i)});function d(i,s){var v;return function(S,E){if(!(S instanceof E))throw new TypeError("Cannot call a class as a function")}(this,d),(v=c.call(this,i,s)).children=null,v.start=null,v.stop=null,v.exception=null,v}return r=d,(p=[{key:"copyFrom",value:function(i){this.parentCtx=i.parentCtx,this.invokingState=i.invokingState,this.children=null,this.start=i.start,this.stop=i.stop,i.children&&(this.children=[],i.children.map(function(s){s instanceof My&&(this.children.push(s),s.parentCtx=this)},this))}},{key:"enterRule",value:function(i){}},{key:"exitRule",value:function(i){}},{key:"addChild",value:function(i){return this.children===null&&(this.children=[]),this.children.push(i),i}},{key:"removeLastChild",value:function(){this.children!==null&&this.children.pop()}},{key:"addTokenNode",value:function(i){var s=new Fy(i);return this.addChild(s),s.parentCtx=this,s}},{key:"addErrorNode",value:function(i){var s=new My(i);return this.addChild(s),s.parentCtx=this,s}},{key:"getChild",value:function(i,s){if(s=s||null,this.children===null||i<0||i>=this.children.length)return null;if(s===null)return this.children[i];for(var v=0;v<this.children.length;v++){var S=this.children[v];if(S instanceof s){if(i===0)return S;i-=1}}return null}},{key:"getToken",value:function(i,s){if(this.children===null||s<0||s>=this.children.length)return null;for(var v=0;v<this.children.length;v++){var S=this.children[v];if(S instanceof on&&S.symbol.type===i){if(s===0)return S;s-=1}}return null}},{key:"getTokens",value:function(i){if(this.children===null)return[];for(var s=[],v=0;v<this.children.length;v++){var S=this.children[v];S instanceof on&&S.symbol.type===i&&s.push(S)}return s}},{key:"getTypedRuleContext",value:function(i,s){return this.getChild(s,i)}},{key:"getTypedRuleContexts",value:function(i){if(this.children===null)return[];for(var s=[],v=0;v<this.children.length;v++){var S=this.children[v];S instanceof i&&s.push(S)}return s}},{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)}}])&&Lg(r.prototype,p),Object.defineProperty(r,"prototype",{writable:!1}),d}(Wi);function Qh(l,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");l.prototype=Object.create(r&&r.prototype,{constructor:{value:l,writable:!0,configurable:!0}}),Object.defineProperty(l,"prototype",{writable:!1}),r&&ep(l,r)}function ep(l,r){return ep=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,a){return p.__proto__=a,p},ep(l,r)}function tp(l){var r=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.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 p,a=Yc(l);if(r){var f=Yc(this).constructor;p=Reflect.construct(a,arguments,f)}else p=a.apply(this,arguments);return function(c,d){if(d&&(Za(d)==="object"||typeof d=="function"))return d;if(d!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}(c)}(this,p)}}function Yc(l){return Yc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Yc(l)}function Za(l){return Za=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Za(l)}function Qa(l,r){var p=typeof Symbol<"u"&&l[Symbol.iterator]||l["@@iterator"];if(!p){if(Array.isArray(l)||(p=function(s,v){if(s){if(typeof s=="string")return Ly(s,v);var S=Object.prototype.toString.call(s).slice(8,-1);return S==="Object"&&s.constructor&&(S=s.constructor.name),S==="Map"||S==="Set"?Array.from(s):S==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(S)?Ly(s,v):void 0}}(l))||r&&l&&typeof l.length=="number"){p&&(l=p);var a=0,f=function(){};return{s:f,n:function(){return a>=l.length?{done:!0}:{done:!1,value:l[a++]}},e:function(s){throw s},f}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
10
10
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var c,d=!0,i=!1;return{s:function(){p=p.call(l)},n:function(){var s=p.next();return d=s.done,s},e:function(s){i=!0,c=s},f:function(){try{d||p.return==null||p.return()}finally{if(i)throw c}}}}function Ly(l,r){(r==null||r>l.length)&&(r=l.length);for(var p=0,a=new Array(r);p<r;p++)a[p]=l[p];return a}function eu(l,r){if(!(l instanceof r))throw new TypeError("Cannot call a class as a function")}function By(l,r){for(var p=0;p<r.length;p++){var a=r[p];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(l,Uy(a.key),a)}}function tu(l,r,p){return r&&By(l.prototype,r),p&&By(l,p),Object.defineProperty(l,"prototype",{writable:!1}),l}function Uy(l){var r=function(p,a){if(Za(p)!=="object"||p===null)return p;var f=p[Symbol.toPrimitive];if(f!==void 0){var c=f.call(p,"string");if(Za(c)!=="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(p)}(l);return Za(r)==="symbol"?r:String(r)}Wi.EMPTY=new Zh;var Jc,Zc,np,Vy=function(){function l(r){eu(this,l),this.tokens=r,this.programs=new Map}return tu(l,[{key:"getTokenStream",value:function(){return this.tokens}},{key:"insertAfter",value:function(r,p){var a,f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:l.DEFAULT_PROGRAM_NAME;a=typeof r=="number"?r:r.tokenIndex;var c=this.getProgram(f),d=new Hy(this.tokens,a,c.length,p);c.push(d)}},{key:"insertBefore",value:function(r,p){var a,f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:l.DEFAULT_PROGRAM_NAME;a=typeof r=="number"?r:r.tokenIndex;var c=this.getProgram(f),d=new es(this.tokens,a,c.length,p);c.push(d)}},{key:"replaceSingle",value:function(r,p){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:l.DEFAULT_PROGRAM_NAME;this.replace(r,r,p,a)}},{key:"replace",value:function(r,p,a){var f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:l.DEFAULT_PROGRAM_NAME;if(typeof r!="number"&&(r=r.tokenIndex),typeof p!="number"&&(p=p.tokenIndex),r>p||r<0||p<0||p>=this.tokens.size)throw new RangeError("replace: range invalid: ".concat(r,"..").concat(p,"(size=").concat(this.tokens.size,")"));var c=this.getProgram(f),d=new Qc(this.tokens,r,p,c.length,a);c.push(d)}},{key:"delete",value:function(r,p){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:l.DEFAULT_PROGRAM_NAME;p===void 0&&(p=r),this.replace(r,p,null,a)}},{key:"getProgram",value:function(r){var p=this.programs.get(r);return p==null&&(p=this.initializeProgram(r)),p}},{key:"initializeProgram",value:function(r){var p=[];return this.programs.set(r,p),p}},{key:"getText",value:function(r){var p,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:l.DEFAULT_PROGRAM_NAME;p=r instanceof _e?r:new _e(0,this.tokens.size-1),typeof r=="string"&&(a=r);var f=this.programs.get(a),c=p.start,d=p.stop;if(d>this.tokens.size-1&&(d=this.tokens.size-1),c<0&&(c=0),f==null||f.length===0)return this.tokens.getText(new _e(c,d));for(var i=[],s=this.reduceToSingleOperationPerIndex(f),v=c;v<=d&&v<this.tokens.size;){var S=s.get(v);s.delete(v);var E=this.tokens.get(v);S==null?(E.type!==n.EOF&&i.push(String(E.text)),v++):v=S.execute(i)}if(d===this.tokens.size-1){var k,ee=Qa(s.values());try{for(ee.s();!(k=ee.n()).done;){var Ce=k.value;Ce.index>=this.tokens.size-1&&i.push(Ce.text.toString())}}catch(xe){ee.e(xe)}finally{ee.f()}}return i.join("")}},{key:"reduceToSingleOperationPerIndex",value:function(r){for(var p=0;p<r.length;p++){var a=r[p];if(a!=null&&a instanceof Qc){var f,c=a,d=Qa(this.getKindOfOps(r,es,p));try{for(d.s();!(f=d.n()).done;){var i=f.value;i.index===c.index?(r[i.instructionIndex]=void 0,c.text=i.text.toString()+(c.text!=null?c.text.toString():"")):i.index>c.index&&i.index<=c.lastIndex&&(r[i.instructionIndex]=void 0)}}catch(Sr){d.e(Sr)}finally{d.f()}var s,v=Qa(this.getKindOfOps(r,Qc,p));try{for(v.s();!(s=v.n()).done;){var S=s.value;if(S.index>=c.index&&S.lastIndex<=c.lastIndex)r[S.instructionIndex]=void 0;else{var E=S.lastIndex<c.index||S.index>c.lastIndex;if(S.text!=null||c.text!=null||E){if(!E)throw new Error("replace op boundaries of ".concat(c," overlap with previous ").concat(S))}else r[S.instructionIndex]=void 0,c.index=Math.min(S.index,c.index),c.lastIndex=Math.max(S.lastIndex,c.lastIndex)}}}catch(Sr){v.e(Sr)}finally{v.f()}}}for(var k=0;k<r.length;k++){var ee=r[k];if(ee!=null&&ee instanceof es){var Ce,xe=ee,Ge=Qa(this.getKindOfOps(r,es,k));try{for(Ge.s();!(Ce=Ge.n()).done;){var at=Ce.value;at.index===xe.index&&(at instanceof Hy?(xe.text=this.catOpText(at.text,xe.text),r[at.instructionIndex]=void 0):at instanceof es&&(xe.text=this.catOpText(xe.text,at.text),r[at.instructionIndex]=void 0))}}catch(Sr){Ge.e(Sr)}finally{Ge.f()}var $e,yn=Qa(this.getKindOfOps(r,Qc,k));try{for(yn.s();!($e=yn.n()).done;){var hn=$e.value;if(xe.index!==hn.index){if(xe.index>=hn.index&&xe.index<=hn.lastIndex)throw new Error("insert op ".concat(xe," within boundaries of previous ").concat(hn))}else hn.text=this.catOpText(xe.text,hn.text),r[k]=void 0}}catch(Sr){yn.e(Sr)}finally{yn.f()}}}var Gn,Fr=new Map,Di=Qa(r);try{for(Di.s();!(Gn=Di.n()).done;){var Ci=Gn.value;if(Ci!=null){if(Fr.get(Ci.index)!=null)throw new Error("should only be one op per index");Fr.set(Ci.index,Ci)}}}catch(Sr){Di.e(Sr)}finally{Di.f()}return Fr}},{key:"catOpText",value:function(r,p){var a="",f="";return r!=null&&(a=r.toString()),p!=null&&(f=p.toString()),a+f}},{key:"getKindOfOps",value:function(r,p,a){return r.slice(0,a).filter(function(f){return f&&f instanceof p})}}]),l}();Jc=Vy,np="default",(Zc=Uy(Zc="DEFAULT_PROGRAM_NAME"))in Jc?Object.defineProperty(Jc,Zc,{value:np,enumerable:!0,configurable:!0,writable:!0}):Jc[Zc]=np;var jy=function(){function l(r,p,a,f){eu(this,l),this.tokens=r,this.instructionIndex=a,this.index=p,this.text=f===void 0?"":f}return tu(l,[{key:"toString",value:function(){var r=this.constructor.name,p=r.indexOf("$");return"<"+(r=r.substring(p+1,r.length))+"@"+this.tokens.get(this.index)+':"'+this.text+'">'}}]),l}(),es=function(l){Qh(p,l);var r=tp(p);function p(a,f,c,d){return eu(this,p),r.call(this,a,f,c,d)}return tu(p,[{key:"execute",value:function(a){return this.text&&a.push(this.text.toString()),this.tokens.get(this.index).type!==n.EOF&&a.push(String(this.tokens.get(this.index).text)),this.index+1}}]),p}(jy),Hy=function(l){Qh(p,l);var r=tp(p);function p(a,f,c,d){return eu(this,p),r.call(this,a,f+1,c,d)}return tu(p)}(es),Qc=function(l){Qh(p,l);var r=tp(p);function p(a,f,c,d,i){var s;return eu(this,p),(s=r.call(this,a,f,d,i)).lastIndex=c,s}return tu(p,[{key:"execute",value:function(a){return this.text&&a.push(this.text.toString()),this.lastIndex+1}},{key:"toString",value:function(){return this.text==null?"<DeleteOp@"+this.tokens.get(this.index)+".."+this.tokens.get(this.lastIndex)+">":"<ReplaceOp@"+this.tokens.get(this.index)+".."+this.tokens.get(this.lastIndex)+':"'+this.text+'">'}}]),p}(jy);const Bg={atn:ug,dfa:hg,context:pg,misc:dg,tree:gg,error:xg,Token:n,CommonToken:Rs,CharStreams:wy,CharStream:Zs,InputStream:Zs,CommonTokenStream:Iy,Lexer:rr,Parser:Xh,ParserRuleContext:Zh,Interval:_e,IntervalSet:ne,LL1Analyzer:Fo,Utils:Cg,TokenStreamRewriter:Vy}})();var Mr=kt.dx,rp=kt.q2;kt.FO,kt.xf,kt.Gy;var Gy=kt.s4,Ky=kt.c7,ip=kt._7;kt.gp;var zy=kt.cK,$y=kt.zs,Wy=kt.AV;kt.Xp,kt.VS,kt.ul;var Xy=kt.hW,qy=kt.x1,fi=kt.z5;kt.oN;var Yy=kt.TB;kt.u1;var Jy=kt._b,Zy=kt.$F,Qe=kt._T,op=kt.db,Qy=kt.Zx,et=kt._x;kt.r8,kt.JI,kt.TP;var ap=kt.WU;kt.Nj,kt.ZP;const M=class M extends Jy{get grammarFileName(){return"tccScriptParser.g4"}get literalNames(){return M.literalNames}get symbolicNames(){return M.symbolicNames}get ruleNames(){return M.ruleNames}get serializedATN(){return M._serializedATN}createFailedPredicateException(e,n){return new $y(this,e,n)}constructor(e){super(e),this._interp=new Zy(this,M._ATN,M.DecisionsToDFA,new op)}program(){let e=new em(this,this._ctx,this.state);this.enterRule(e,0,M.RULE_program);let n;try{this.enterOuterAlt(e,1);{for(this.state=102,this._errHandler.sync(this),n=this._input.LA(1);n===4||n===6||!(n-36&-32)&&1<<n-36&10848503;){switch(this.state=100,this._errHandler.sync(this),this._input.LA(1)){case 59:this.state=98,this.match(M.NEWLINE);break;case 4:case 6:case 36:case 37:case 38:case 40:case 41:case 42:case 43:case 47:case 51:case 52:case 54:case 57:this.state=99,this.globalStmt();break;default:throw new fi(this)}this.state=104,this._errHandler.sync(this),n=this._input.LA(1)}this.state=105,this.match(M.EOF)}}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}globalStmt(){let e=new el(this,this._ctx,this.state);this.enterRule(e,2,M.RULE_globalStmt);let n;try{switch(this.state=118,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,3,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=107,this.variableDeclarationStmt(),this.state=109,this._errHandler.sync(this),n=this._input.LA(1),n===8&&(this.state=108,this.match(M.Comma)),this.state=111,this.match(M.NEWLINE);break;case 2:this.enterOuterAlt(e,2),this.state=113,this.blockStmt();break;case 3:this.enterOuterAlt(e,3),this.state=114,this.importStmt();break;case 4:this.enterOuterAlt(e,4),this.state=115,this.arrowFunction();break;case 5:this.enterOuterAlt(e,5),this.state=116,this.arrowMethod();break;case 6:this.enterOuterAlt(e,6),this.state=117,this.typeStatement();break}}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}blockStmt(){let e=new sp(this,this._ctx,this.state);this.enterRule(e,4,M.RULE_blockStmt);try{let n;this.enterOuterAlt(e,1);{for(this.state=125,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,4,this._ctx);n!==2&&n!==Mr.INVALID_ALT_NUMBER;)n===1&&(this.state=120,this.variableDeclarationStmt(),this.state=121,this.match(M.Comma)),this.state=127,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,4,this._ctx);switch(this.state=130,this._errHandler.sync(this),this._input.LA(1)){case 4:case 6:case 38:case 40:case 51:case 54:case 57:this.state=128,this.varBlockStmt();break;case 37:case 41:case 42:case 43:this.state=129,this.blockExpression();break;default:throw new fi(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 tl(this,this._ctx,this.state);this.enterRule(e,6,M.RULE_stmt);let n;try{switch(this.state=139,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,7,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=132,this.simpleStmt(),this.state=134,this._errHandler.sync(this),n=this._input.LA(1),n===8&&(this.state=133,this.match(M.Comma)),this.state=136,this.match(M.NEWLINE);break;case 2:this.enterOuterAlt(e,2),this.state=138,this.expressionBlockSequence();break}}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}simpleStmt(){let e=new nl(this,this._ctx,this.state);this.enterRule(e,8,M.RULE_simpleStmt);try{switch(this.state=145,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,8,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=141,this.expressionSequence();break;case 2:this.enterOuterAlt(e,2),this.state=142,this.blockSequence();break;case 3:this.enterOuterAlt(e,3),this.state=143,this.brackethesized();break;case 4:this.enterOuterAlt(e,4),this.state=144,this.flowStmt();break}}catch(n){if(n instanceof 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 up(this,this._ctx,this.state);this.enterRule(e,10,M.RULE_flowStmt);let n;try{this.enterOuterAlt(e,1),this.state=147,n=this._input.LA(1),n===34||n===39?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}block(){let e=new ts(this,this._ctx,this.state);this.enterRule(e,12,M.RULE_block);let n;try{switch(this.state=156,this._errHandler.sync(this),this._input.LA(1)){case 4:case 6:case 12:case 13:case 31:case 32:case 33:case 34:case 38:case 39:case 40:case 46:case 51:case 54:case 55:case 56:case 57:this.enterOuterAlt(e,1),this.state=149,this.simpleStmt(),this.state=151,this._errHandler.sync(this),n=this._input.LA(1),n===8&&(this.state=150,this.match(M.Comma)),this.state=153,this.match(M.NEWLINE);break;case 59:this.enterOuterAlt(e,2),this.state=155,this.blockLine();break;default:throw new fi(this)}}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}blockLine(){let e=new fo(this,this._ctx,this.state);this.enterRule(e,14,M.RULE_blockLine);let n;try{this.enterOuterAlt(e,1);{this.state=158,this.match(M.NEWLINE),this.state=159,this.match(M.INDENT),this.state=161,this._errHandler.sync(this),n=this._input.LA(1);do this.state=160,this.stmt(),this.state=163,this._errHandler.sync(this),n=this._input.LA(1);while(!(n&-32)&&1<<n&2147496016||!(n-32&-32)&&1<<n-32&63459303);this.state=165,this.match(M.DEDENT)}}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}variableDeclarationStmt(){let e=new nu(this,this._ctx,this.state);this.enterRule(e,16,M.RULE_variableDeclarationStmt);try{let n;this.enterOuterAlt(e,1);{switch(this.state=169,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,12,this._ctx)){case 1:this.state=167,this.methodStmt();break;case 2:this.state=168,this.variableDeclarationList();break}for(this.state=178,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,14,this._ctx);n!==2&&n!==Mr.INVALID_ALT_NUMBER;){if(n===1)switch(this.state=171,this.match(M.Comma),this.state=174,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,13,this._ctx)){case 1:this.state=172,this.methodStmt();break;case 2:this.state=173,this.variableDeclarationList();break}this.state=180,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,14,this._ctx)}}}catch(n){if(n instanceof 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 ki(this,this._ctx,this.state);this.enterRule(e,18,M.RULE_variableDeclarationList);try{switch(this.state=189,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,15,this._ctx)){case 1:e=new nm(this,e),this.enterOuterAlt(e,1),this.state=181,this.varArrayDeclaration(),this.state=182,this.match(M.Assign),this.state=183,this.singleExpression(0);break;case 2:e=new tm(this,e),this.enterOuterAlt(e,2),this.state=185,this.name(),this.state=186,this.assignmentOperator(),this.state=187,this.singleExpression(0);break}}catch(n){if(n instanceof 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 rl(this,this._ctx,this.state);this.enterRule(e,20,M.RULE_varModifier);let n;try{this.enterOuterAlt(e,1),this.state=191,n=this._input.LA(1),n===38||n===40?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}blockSequence(){let e=new cp(this,this._ctx,this.state);this.enterRule(e,22,M.RULE_blockSequence);try{let n;this.enterOuterAlt(e,1);{switch(this.state=195,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,16,this._ctx)){case 1:this.state=193,this.singleExpression(0);break;case 2:this.state=194,this.variableDeclarationList();break}for(this.state=204,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,18,this._ctx);n!==2&&n!==Mr.INVALID_ALT_NUMBER;){if(n===1)switch(this.state=197,this.match(M.Comma),this.state=200,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,17,this._ctx)){case 1:this.state=198,this.singleExpression(0);break;case 2:this.state=199,this.variableDeclarationList();break}this.state=206,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,18,this._ctx)}}}catch(n){if(n instanceof 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 il(this,this._ctx,this.state);this.enterRule(e,24,M.RULE_expressionSequence);try{let n;for(this.enterOuterAlt(e,1),this.state=207,this.singleExpression(0),this.state=212,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,19,this._ctx);n!==2&&n!==Mr.INVALID_ALT_NUMBER;)n===1&&(this.state=208,this.match(M.Comma),this.state=209,this.singleExpression(0)),this.state=214,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,19,this._ctx)}catch(n){if(n instanceof 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 lp(this,this._ctx,this.state);this.enterRule(e,26,M.RULE_expressionBlockSequence);try{let n;this.enterOuterAlt(e,1);{for(this.state=223,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,21,this._ctx);n!==2&&n!==Mr.INVALID_ALT_NUMBER;){if(n===1){switch(this.state=217,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,20,this._ctx)){case 1:this.state=215,this.singleExpression(0);break;case 2:this.state=216,this.variableDeclarationList();break}this.state=219,this.match(M.Comma)}this.state=225,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,21,this._ctx)}switch(this.state=228,this._errHandler.sync(this),this._input.LA(1)){case 4:case 6:case 38:case 40:case 51:case 54:case 57:this.state=226,this.varBlockStmt();break;case 37:case 41:case 42:case 43:this.state=227,this.blockExpression();break;default:throw new fi(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 ol(this,this._ctx,this.state);this.enterRule(e,28,M.RULE_varBlockStmt);try{this.enterOuterAlt(e,1);{switch(this.state=236,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,23,this._ctx)){case 1:this.state=230,this.varArrayDeclaration(),this.state=231,this.match(M.Assign);break;case 2:this.state=233,this.name(),this.state=234,this.assignmentOperator();break}this.state=238,this.blockExpression()}}catch(n){if(n instanceof 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 ns(this,this._ctx,this.state);this.enterRule(e,30,M.RULE_varArrayDeclaration);let n;try{switch(this.state=258,this._errHandler.sync(this),this._input.LA(1)){case 38:case 40:case 51:case 54:case 57:e=new im(this,e),this.enterOuterAlt(e,1);{switch(this.state=241,this._errHandler.sync(this),n=this._input.LA(1),(n===38||n===40)&&(this.state=240,this.varModifier()),this.state=244,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,25,this._ctx)){case 1:this.state=243,this.typeGather();break}this.state=246,this.identifier()}break;case 4:e=new rm(this,e),this.enterOuterAlt(e,2);{for(this.state=247,this.match(M.OpenBracket),this.state=248,this.identifier(),this.state=253,this._errHandler.sync(this),n=this._input.LA(1);n===8;)this.state=249,this.match(M.Comma),this.state=250,this.identifier(),this.state=255,this._errHandler.sync(this),n=this._input.LA(1);this.state=256,this.match(M.CloseBracket)}break;default:throw new fi(this)}}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}blockExpression(){let e=new ru(this,this._ctx,this.state);this.enterRule(e,32,M.RULE_blockExpression);try{switch(this.state=264,this._errHandler.sync(this),this._input.LA(1)){case 43:this.enterOuterAlt(e,1),this.state=260,this.ifStatement();break;case 37:this.enterOuterAlt(e,2),this.state=261,this.forStatement();break;case 42:this.enterOuterAlt(e,3),this.state=262,this.whileStatement();break;case 41:this.enterOuterAlt(e,4),this.state=263,this.switchStatement();break;default:throw new fi(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,o=this.state,u=new Ve(this,this._ctx,o),h=u,m=34;this.enterRecursionRule(u,34,M.RULE_singleExpression,e);let _;try{let T;this.enterOuterAlt(u,1);{switch(this.state=278,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,29,this._ctx)){case 1:u=new mm(this,u),this._ctx=u,h=u,this.state=267,this.methodStmt();break;case 2:u=new pm(this,u),this._ctx=u,h=u,this.state=268,_=this._input.LA(1),_===12||_===13?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=269,this.singleExpression(12);break;case 3:u=new dm(this,u),this._ctx=u,h=u,this.state=270,this.match(M.Not),this.state=271,this.singleExpression(11);break;case 4:u=new lm(this,u),this._ctx=u,h=u,this.state=272,this.name();break;case 5:u=new fm(this,u),this._ctx=u,h=u,this.state=273,this.literal();break;case 6:u=new om(this,u),this._ctx=u,h=u,this.state=274,this.match(M.OpenParen),this.state=275,this.singleExpression(0),this.state=276,this.match(M.CloseParen);break}for(this._ctx.stop=this._input.LT(-1),this.state=311,this._errHandler.sync(this),T=this._interp.adaptivePredict(this._input,31,this._ctx);T!==2&&T!==Mr.INVALID_ALT_NUMBER;){if(T===1)switch(this._parseListeners!=null&&this.triggerExitRuleEvent(),h=u,this.state=309,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,30,this._ctx)){case 1:{if(u=new gm(this,new Ve(this,n,o)),this.pushNewRecursionContext(u,m,M.RULE_singleExpression),this.state=280,!this.precpred(this._ctx,10))throw this.createFailedPredicateException("this.precpred(this._ctx, 10)");this.state=281,_=this._input.LA(1),!(_&-32)&&1<<_&114688?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=282,this.singleExpression(11)}break;case 2:{if(u=new am(this,new Ve(this,n,o)),this.pushNewRecursionContext(u,m,M.RULE_singleExpression),this.state=283,!this.precpred(this._ctx,9))throw this.createFailedPredicateException("this.precpred(this._ctx, 9)");this.state=284,_=this._input.LA(1),_===12||_===13?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=285,this.singleExpression(10)}break;case 3:{if(u=new sm(this,new Ve(this,n,o)),this.pushNewRecursionContext(u,m,M.RULE_singleExpression),this.state=286,!this.precpred(this._ctx,8))throw this.createFailedPredicateException("this.precpred(this._ctx, 8)");this.state=287,_=this._input.LA(1),!(_&-32)&&1<<_&3932160?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=288,this.singleExpression(9)}break;case 4:{if(u=new _m(this,new Ve(this,n,o)),this.pushNewRecursionContext(u,m,M.RULE_singleExpression),this.state=289,!this.precpred(this._ctx,7))throw this.createFailedPredicateException("this.precpred(this._ctx, 7)");this.state=290,_=this._input.LA(1),_===22||_===23?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=291,this.singleExpression(8)}break;case 5:{if(u=new cm(this,new Ve(this,n,o)),this.pushNewRecursionContext(u,m,M.RULE_singleExpression),this.state=292,!this.precpred(this._ctx,6))throw this.createFailedPredicateException("this.precpred(this._ctx, 6)");this.state=293,this.match(M.And),this.state=294,this.singleExpression(7)}break;case 6:{if(u=new hm(this,new Ve(this,n,o)),this.pushNewRecursionContext(u,m,M.RULE_singleExpression),this.state=295,!this.precpred(this._ctx,5))throw this.createFailedPredicateException("this.precpred(this._ctx, 5)");this.state=296,this.match(M.Or),this.state=297,this.singleExpression(6)}break;case 7:{if(u=new um(this,new Ve(this,n,o)),this.pushNewRecursionContext(u,m,M.RULE_singleExpression),this.state=298,!this.precpred(this._ctx,4))throw this.createFailedPredicateException("this.precpred(this._ctx, 4)");this.state=299,this.match(M.QuestionMark),this.state=300,this.singleExpression(0),this.state=301,this.match(M.Colon),this.state=302,this.singleExpression(4)}break;case 8:{if(u=new ym(this,new Ve(this,n,o)),this.pushNewRecursionContext(u,m,M.RULE_singleExpression),this.state=304,!this.precpred(this._ctx,13))throw this.createFailedPredicateException("this.precpred(this._ctx, 13)");this.state=305,this.match(M.OpenBracket),this.state=306,this.singleExpression(0),this.state=307,this.match(M.CloseBracket)}break}this.state=313,this._errHandler.sync(this),T=this._interp.adaptivePredict(this._input,31,this._ctx)}}}catch(T){if(T instanceof et)u.exception=T,this._errHandler.reportError(this,T),this._errHandler.recover(this,T);else throw T}finally{this.unrollRecursionContexts(n)}return u}brackethesized(){let e=new al(this,this._ctx,this.state);this.enterRule(e,36,M.RULE_brackethesized);try{this.enterOuterAlt(e,1),this.state=314,this.match(M.OpenBracket),this.state=315,this.expressionSequence(),this.state=316,this.match(M.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 fp(this,this._ctx,this.state);this.enterRule(e,38,M.RULE_arguments);let n;try{let o;this.enterOuterAlt(e,1);{if(this.state=318,this.match(M.OpenParen),this.state=330,this._errHandler.sync(this),n=this._input.LA(1),!(n&-32)&&1<<n&2147496016||!(n-32&-32)&&1<<n-32&63455235){for(this.state=319,this.argument(),this.state=324,this._errHandler.sync(this),o=this._interp.adaptivePredict(this._input,32,this._ctx);o!==2&&o!==Mr.INVALID_ALT_NUMBER;)o===1&&(this.state=320,this.match(M.Comma),this.state=321,this.argument()),this.state=326,this._errHandler.sync(this),o=this._interp.adaptivePredict(this._input,32,this._ctx);this.state=328,this._errHandler.sync(this),n=this._input.LA(1),n===8&&(this.state=327,this.match(M.Comma))}this.state=332,this.match(M.CloseParen)}}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}argument(){let e=new sl(this,this._ctx,this.state);this.enterRule(e,40,M.RULE_argument);try{this.enterOuterAlt(e,1);{switch(this.state=337,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,35,this._ctx)){case 1:this.state=334,this.identifier(),this.state=335,this.match(M.Assign);break}switch(this.state=341,this._errHandler.sync(this),this._input.LA(1)){case 6:case 12:case 13:case 31:case 32:case 33:case 46:case 51:case 54:case 55:case 56:case 57:this.state=339,this.singleExpression(0);break;case 4:this.state=340,this.brackethesized();break;default:throw new fi(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 hp(this,this._ctx,this.state);this.enterRule(e,42,M.RULE_ifStatement);let n;try{let o;this.enterOuterAlt(e,1);{for(this.state=343,this.match(M.If),this.state=344,this.singleExpression(0),this.state=345,this.blockLine(),this.state=353,this._errHandler.sync(this),o=this._interp.adaptivePredict(this._input,37,this._ctx);o!==2&&o!==Mr.INVALID_ALT_NUMBER;)o===1&&(this.state=346,this.match(M.Else),this.state=347,this.match(M.If),this.state=348,this.singleExpression(0),this.state=349,this.blockLine()),this.state=355,this._errHandler.sync(this),o=this._interp.adaptivePredict(this._input,37,this._ctx);this.state=358,this._errHandler.sync(this),n=this._input.LA(1),n===48&&(this.state=356,this.match(M.Else),this.state=357,this.blockLine())}}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}forStatement(){let e=new iu(this,this._ctx,this.state);this.enterRule(e,44,M.RULE_forStatement);let n;try{switch(this.state=392,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,43,this._ctx)){case 1:e=new bm(this,e),this.enterOuterAlt(e,1);{switch(this.state=360,this.match(M.For),this.state=362,this._errHandler.sync(this),n=this._input.LA(1),(n===38||n===40)&&(this.state=361,this.varModifier()),this.state=365,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,40,this._ctx)){case 1:this.state=364,this.typeGather();break}this.state=367,this.identifier(),this.state=368,this.match(M.Assign),this.state=369,this.singleExpression(0),this.state=370,this.match(M.To),this.state=371,this.singleExpression(0),this.state=374,this._errHandler.sync(this),n=this._input.LA(1),n===50&&(this.state=372,this.match(M.By),this.state=373,this.singleExpression(0)),this.state=376,this.blockLine()}break;case 2:e=new vm(this,e),this.enterOuterAlt(e,2);{switch(this.state=378,this.match(M.For),this.state=386,this._errHandler.sync(this),this._input.LA(1)){case 51:case 54:case 57:this.state=379,this.identifier();break;case 4:this.state=380,this.match(M.OpenBracket),this.state=381,this.identifier(),this.state=382,this.match(M.Comma),this.state=383,this.identifier(),this.state=384,this.match(M.CloseBracket);break;default:throw new fi(this)}this.state=388,this.match(M.In),this.state=389,this.singleExpression(0),this.state=390,this.blockLine()}break}}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}switchStatement(){let e=new pp(this,this._ctx,this.state);this.enterRule(e,46,M.RULE_switchStatement);let n;try{this.enterOuterAlt(e,1);{this.state=394,this.match(M.Switch),this.state=396,this._errHandler.sync(this),n=this._input.LA(1),(!(n&-32)&&1<<n&2147496e3||!(n-32&-32)&&1<<n-32&63455235)&&(this.state=395,this.singleExpression(0)),this.state=398,this.match(M.NEWLINE),this.state=399,this.match(M.INDENT);{for(this.state=403,this._errHandler.sync(this),n=this._input.LA(1);!(n&-32)&&1<<n&2147496e3||!(n-32&-32)&&1<<n-32&63455235;)this.state=400,this.caseClause(),this.state=405,this._errHandler.sync(this),n=this._input.LA(1);this.state=407,this._errHandler.sync(this),n=this._input.LA(1),n===29&&(this.state=406,this.defaultCaluse())}this.state=409,this.match(M.DEDENT)}}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}caseClause(){let e=new ul(this,this._ctx,this.state);this.enterRule(e,48,M.RULE_caseClause);try{this.enterOuterAlt(e,1),this.state=411,this.singleExpression(0),this.state=412,this.match(M.ARROW),this.state=413,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 dp(this,this._ctx,this.state);this.enterRule(e,50,M.RULE_defaultCaluse);try{this.enterOuterAlt(e,1),this.state=415,this.match(M.ARROW),this.state=416,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 yp(this,this._ctx,this.state);this.enterRule(e,52,M.RULE_whileStatement);try{this.enterOuterAlt(e,1),this.state=418,this.match(M.While),this.state=419,this.singleExpression(0),this.state=420,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 mp(this,this._ctx,this.state);this.enterRule(e,54,M.RULE_importStmt);let n;try{this.enterOuterAlt(e,1);{for(this.state=422,this.importElement(),this.state=427,this._errHandler.sync(this),n=this._input.LA(1);n===8;)this.state=423,this.match(M.Comma),this.state=424,this.importElement(),this.state=429,this._errHandler.sync(this),n=this._input.LA(1);this.state=430,this.match(M.NEWLINE)}}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}importElement(){let e=new cl(this,this._ctx,this.state);this.enterRule(e,56,M.RULE_importElement);let n;try{this.enterOuterAlt(e,1),this.state=432,this.match(M.Import),this.state=433,this.identifier(),this.state=434,this.match(M.Divide),this.state=435,this.identifier(),this.state=436,this.match(M.Divide),this.state=437,this.match(M.IntegerLiteral),this.state=440,this._errHandler.sync(this),n=this._input.LA(1),n===53&&(this.state=438,this.match(M.As),this.state=439,this.identifier())}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}literal(){let e=new _p(this,this._ctx,this.state);this.enterRule(e,58,M.RULE_literal);let n;try{this.enterOuterAlt(e,1),this.state=442,n=this._input.LA(1),!(n-31&-32)&&1<<n-31&50331655?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}methodStmt(){let e=new ou(this,this._ctx,this.state);this.enterRule(e,60,M.RULE_methodStmt);try{let n;for(this.enterOuterAlt(e,1),this.state=444,this.methodElement(),this.state=449,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,49,this._ctx);n!==2&&n!==Mr.INVALID_ALT_NUMBER;)n===1&&(this.state=445,this.match(M.Point),this.state=446,this.methodElement()),this.state=451,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,49,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 rs(this,this._ctx,this.state);this.enterRule(e,62,M.RULE_methodElement);try{this.enterOuterAlt(e,1),this.state=452,this.methodName(),this.state=453,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 gp(this,this._ctx,this.state);this.enterRule(e,64,M.RULE_methodName);let n;try{let o;this.enterOuterAlt(e,1);{switch(this.state=468,this._errHandler.sync(this),this._input.LA(1)){case 51:case 54:case 57:for(this.state=460,this._errHandler.sync(this),o=this._interp.adaptivePredict(this._input,50,this._ctx);o!==2&&o!==Mr.INVALID_ALT_NUMBER;)o===1&&(this.state=455,this.identifier(),this.state=456,this.match(M.Point)),this.state=462,this._errHandler.sync(this),o=this._interp.adaptivePredict(this._input,50,this._ctx);break;case 6:this.state=463,this.match(M.OpenParen),this.state=464,this.singleExpression(0),this.state=465,this.match(M.CloseParen),this.state=466,this.match(M.Point);break;default:throw new fi(this)}this.state=470,this.identifier(),this.state=479,this._errHandler.sync(this),n=this._input.LA(1),n===18&&(this.state=471,this.match(M.LessThan),this.state=472,this.typeName(),this.state=475,this._errHandler.sync(this),n=this._input.LA(1),n===8&&(this.state=473,this.match(M.Comma),this.state=474,this.typeName()),this.state=477,this.match(M.MoreThan))}}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}arrowFunction(){let e=new bp(this,this._ctx,this.state);this.enterRule(e,66,M.RULE_arrowFunction);let n;try{this.enterOuterAlt(e,1),this.state=482,this._errHandler.sync(this),n=this._input.LA(1),n===36&&(this.state=481,this.match(M.Export)),this.state=484,this.identifier(),this.state=485,this.arrowFunctionParameters(),this.state=486,this.match(M.ARROW),this.state=487,this.block()}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}arrowFunctionParameters(){let e=new vp(this,this._ctx,this.state);this.enterRule(e,68,M.RULE_arrowFunctionParameters);let n;try{this.enterOuterAlt(e,1),this.state=489,this.match(M.OpenParen),this.state=491,this._errHandler.sync(this),n=this._input.LA(1),!(n-51&-32)&&1<<n-51&73&&(this.state=490,this.formalParameterList()),this.state=493,this.match(M.CloseParen)}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}formalParameterList(){let e=new ll(this,this._ctx,this.state);this.enterRule(e,70,M.RULE_formalParameterList);let n;try{for(this.enterOuterAlt(e,1),this.state=495,this.formalParameterArg(),this.state=500,this._errHandler.sync(this),n=this._input.LA(1);n===8;)this.state=496,this.match(M.Comma),this.state=497,this.formalParameterArg(),this.state=502,this._errHandler.sync(this),n=this._input.LA(1)}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}formalParameterArg(){let e=new fl(this,this._ctx,this.state);this.enterRule(e,72,M.RULE_formalParameterArg);let n;try{this.enterOuterAlt(e,1);{switch(this.state=504,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,57,this._ctx)){case 1:this.state=503,this.typeGather();break}this.state=506,this.identifier(),this.state=509,this._errHandler.sync(this),n=this._input.LA(1),n===9&&(this.state=507,this.match(M.Assign),this.state=508,this.singleExpression(0))}}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}arrowMethod(){let e=new Ep(this,this._ctx,this.state);this.enterRule(e,74,M.RULE_arrowMethod);let n;try{this.enterOuterAlt(e,1),this.state=512,this._errHandler.sync(this),n=this._input.LA(1),n===36&&(this.state=511,this.match(M.Export)),this.state=514,this.match(M.Method),this.state=515,this.identifier(),this.state=516,this.arrowMethodParameters(),this.state=517,this.match(M.ARROW),this.state=518,this.block()}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}arrowMethodParameters(){let e=new Sp(this,this._ctx,this.state);this.enterRule(e,76,M.RULE_arrowMethodParameters);let n;try{this.enterOuterAlt(e,1),this.state=520,this.match(M.OpenParen),this.state=521,this.typeGather(),this.state=522,this.identifier(),this.state=525,this._errHandler.sync(this),n=this._input.LA(1),n===8&&(this.state=523,this.match(M.Comma),this.state=524,this.formalParameterList()),this.state=527,this.match(M.CloseParen)}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}typeStatement(){let e=new Tp(this,this._ctx,this.state);this.enterRule(e,78,M.RULE_typeStatement);let n;try{this.enterOuterAlt(e,1);{this.state=530,this._errHandler.sync(this),n=this._input.LA(1),n===36&&(this.state=529,this.match(M.Export)),this.state=532,this.match(M.Type),this.state=533,this.identifier(),this.state=534,this.match(M.NEWLINE),this.state=535,this.match(M.INDENT),this.state=537,this._errHandler.sync(this),n=this._input.LA(1);do this.state=536,this.typeElement(),this.state=539,this._errHandler.sync(this),n=this._input.LA(1);while(!(n-40&-32)&&1<<n-40&149505);this.state=541,this.match(M.DEDENT)}}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}typeElement(){let e=new hl(this,this._ctx,this.state);this.enterRule(e,80,M.RULE_typeElement);let n;try{this.enterOuterAlt(e,1),this.state=544,this._errHandler.sync(this),n=this._input.LA(1),n===40&&(this.state=543,this.match(M.Varip)),this.state=546,this.typeGather(),this.state=547,this.identifier(),this.state=550,this._errHandler.sync(this),n=this._input.LA(1),n===9&&(this.state=548,this.match(M.Assign),this.state=549,this.singleExpression(0)),this.state=552,this.match(M.NEWLINE)}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}assignmentOperator(){let e=new pl(this,this._ctx,this.state);this.enterRule(e,82,M.RULE_assignmentOperator);let n;try{this.enterOuterAlt(e,1),this.state=554,n=this._input.LA(1),!(n&-32)&&1<<n&1593835520?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}typeMap(){let e=new dl(this,this._ctx,this.state);this.enterRule(e,84,M.RULE_typeMap);try{this.enterOuterAlt(e,1),this.state=556,this.match(M.Map),this.state=557,this.match(M.LessThan),this.state=558,this.typeName(),this.state=559,this.match(M.Comma),this.state=560,this.typeName(),this.state=561,this.match(M.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 Ap(this,this._ctx,this.state);this.enterRule(e,86,M.RULE_typeSeries);try{switch(this.enterOuterAlt(e,1),this.state=563,this.typeName(),this.state=567,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,65,this._ctx)){case 1:this.state=564,this.typeName();break;case 2:this.state=565,this.typeArray();break;case 3:this.state=566,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 yl(this,this._ctx,this.state);this.enterRule(e,88,M.RULE_typeArray);try{switch(this.state=578,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,66,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=569,this.typeName(),this.state=570,this.match(M.LessThan),this.state=571,this.typeName(),this.state=572,this.match(M.MoreThan);break;case 2:this.enterOuterAlt(e,2),this.state=574,this.typeName(),this.state=575,this.match(M.OpenBracket),this.state=576,this.match(M.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 Uo(this,this._ctx,this.state);this.enterRule(e,90,M.RULE_typeGather);try{switch(this.state=584,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,67,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=580,this.typeName();break;case 2:this.enterOuterAlt(e,2),this.state=581,this.typeArray();break;case 3:this.enterOuterAlt(e,3),this.state=582,this.typeMap();break;case 4:this.enterOuterAlt(e,4),this.state=583,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,M.RULE_identifier);let n;try{this.enterOuterAlt(e,1),this.state=586,n=this._input.LA(1),!(n-51&-32)&&1<<n-51&73?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}typeName(){let e=new hi(this,this._ctx,this.state);this.enterRule(e,94,M.RULE_typeName);let n;try{this.enterOuterAlt(e,1),this.state=588,this.identifier(),this.state=591,this._errHandler.sync(this),n=this._input.LA(1),n===3&&(this.state=589,this.match(M.Point),this.state=590,this.identifier())}catch(o){if(o instanceof et)e.exception=o,this._errHandler.reportError(this,o),this._errHandler.recover(this,o);else throw o}finally{this.exitRule()}return e}name(){let e=new au(this,this._ctx,this.state);this.enterRule(e,96,M.RULE_name);try{let n;switch(this.state=614,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,72,this._ctx)){case 1:this.enterOuterAlt(e,1);{for(this.state=601,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,70,this._ctx);n!==2&&n!==Mr.INVALID_ALT_NUMBER;){if(n===1){switch(this.state=595,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,69,this._ctx)){case 1:this.state=593,this.identifier();break;case 2:this.state=594,this.methodElement();break}this.state=597,this.match(M.Point)}this.state=603,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,70,this._ctx)}this.state=604,this.identifier()}break;case 2:this.enterOuterAlt(e,2);{this.state=605,this.match(M.OpenParen),this.state=606,this.singleExpression(0),this.state=607,this.match(M.CloseParen),this.state=610,this._errHandler.sync(this),n=1;do{switch(n){case 1:this.state=608,this.match(M.Point),this.state=609,this.identifier();break;default:throw new fi(this)}this.state=612,this._errHandler.sync(this),n=this._interp.adaptivePredict(this._input,71,this._ctx)}while(n!==2&&n!==Mr.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}sempred(e,n,o){switch(n){case 17:return this.singleExpression_sempred(e,o)}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 M.__ATN||(M.__ATN=new rp().deserialize(M._serializedATN)),M.__ATN}};w(M,"INDENT",1),w(M,"DEDENT",2),w(M,"Point",3),w(M,"OpenBracket",4),w(M,"CloseBracket",5),w(M,"OpenParen",6),w(M,"CloseParen",7),w(M,"Comma",8),w(M,"Assign",9),w(M,"QuestionMark",10),w(M,"Colon",11),w(M,"Plus",12),w(M,"Minus",13),w(M,"Multiply",14),w(M,"Divide",15),w(M,"Modulus",16),w(M,"Hashtag",17),w(M,"LessThan",18),w(M,"MoreThan",19),w(M,"LessThanEquals",20),w(M,"GreaterThanEquals",21),w(M,"Equals_",22),w(M,"NotEquals",23),w(M,"MultiplyAssign",24),w(M,"DivideAssign",25),w(M,"ModulusAssign",26),w(M,"PlusAssign",27),w(M,"MinusAssign",28),w(M,"ARROW",29),w(M,"ColonEquals",30),w(M,"BooleanLiteral",31),w(M,"IntegerLiteral",32),w(M,"DecimalLiteral",33),w(M,"Break",34),w(M,"And",35),w(M,"Export",36),w(M,"For",37),w(M,"Var",38),w(M,"Continue",39),w(M,"Varip",40),w(M,"Switch",41),w(M,"While",42),w(M,"If",43),w(M,"In",44),w(M,"Or",45),w(M,"Not",46),w(M,"Method",47),w(M,"Else",48),w(M,"To",49),w(M,"By",50),w(M,"Type",51),w(M,"Import",52),w(M,"As",53),w(M,"Map",54),w(M,"ColorLiteral",55),w(M,"StringLiteral",56),w(M,"Identifier",57),w(M,"SKIP_",58),w(M,"NEWLINE",59),w(M,"EOF",ap.EOF),w(M,"RULE_program",0),w(M,"RULE_globalStmt",1),w(M,"RULE_blockStmt",2),w(M,"RULE_stmt",3),w(M,"RULE_simpleStmt",4),w(M,"RULE_flowStmt",5),w(M,"RULE_block",6),w(M,"RULE_blockLine",7),w(M,"RULE_variableDeclarationStmt",8),w(M,"RULE_variableDeclarationList",9),w(M,"RULE_varModifier",10),w(M,"RULE_blockSequence",11),w(M,"RULE_expressionSequence",12),w(M,"RULE_expressionBlockSequence",13),w(M,"RULE_varBlockStmt",14),w(M,"RULE_varArrayDeclaration",15),w(M,"RULE_blockExpression",16),w(M,"RULE_singleExpression",17),w(M,"RULE_brackethesized",18),w(M,"RULE_arguments",19),w(M,"RULE_argument",20),w(M,"RULE_ifStatement",21),w(M,"RULE_forStatement",22),w(M,"RULE_switchStatement",23),w(M,"RULE_caseClause",24),w(M,"RULE_defaultCaluse",25),w(M,"RULE_whileStatement",26),w(M,"RULE_importStmt",27),w(M,"RULE_importElement",28),w(M,"RULE_literal",29),w(M,"RULE_methodStmt",30),w(M,"RULE_methodElement",31),w(M,"RULE_methodName",32),w(M,"RULE_arrowFunction",33),w(M,"RULE_arrowFunctionParameters",34),w(M,"RULE_formalParameterList",35),w(M,"RULE_formalParameterArg",36),w(M,"RULE_arrowMethod",37),w(M,"RULE_arrowMethodParameters",38),w(M,"RULE_typeStatement",39),w(M,"RULE_typeElement",40),w(M,"RULE_assignmentOperator",41),w(M,"RULE_typeMap",42),w(M,"RULE_typeSeries",43),w(M,"RULE_typeArray",44),w(M,"RULE_typeGather",45),w(M,"RULE_identifier",46),w(M,"RULE_typeName",47),w(M,"RULE_name",48),w(M,"literalNames",[null,null,null,"'.'","'['","']'","'('","')'","','","'='","'?'","':'","'+'","'-'","'*'","'/'","'%'","'#'","'<'","'>'","'<='","'>='","'=='","'!='","'*='","'/='","'%='","'+='","'-='","'=>'","':='",null,null,null,"'break'","'and'","'export'","'for'","'var'","'continue'","'varip'","'switch'","'while'","'if'","'in'","'or'","'not'","'method'","'else'","'to'","'by'","'type'","'import'","'as'","'map'"]),w(M,"symbolicNames",[null,"INDENT","DEDENT","Point","OpenBracket","CloseBracket","OpenParen","CloseParen","Comma","Assign","QuestionMark","Colon","Plus","Minus","Multiply","Divide","Modulus","Hashtag","LessThan","MoreThan","LessThanEquals","GreaterThanEquals","Equals_","NotEquals","MultiplyAssign","DivideAssign","ModulusAssign","PlusAssign","MinusAssign","ARROW","ColonEquals","BooleanLiteral","IntegerLiteral","DecimalLiteral","Break","And","Export","For","Var","Continue","Varip","Switch","While","If","In","Or","Not","Method","Else","To","By","Type","Import","As","Map","ColorLiteral","StringLiteral","Identifier","SKIP_","NEWLINE"]),w(M,"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"]),w(M,"_serializedATN",[4,1,59,617,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,4,7,4,2,5,7,5,2,6,7,6,2,7,7,7,2,8,7,8,2,9,7,9,2,10,7,10,2,11,7,11,2,12,7,12,2,13,7,13,2,14,7,14,2,15,7,15,2,16,7,16,2,17,7,17,2,18,7,18,2,19,7,19,2,20,7,20,2,21,7,21,2,22,7,22,2,23,7,23,2,24,7,24,2,25,7,25,2,26,7,26,2,27,7,27,2,28,7,28,2,29,7,29,2,30,7,30,2,31,7,31,2,32,7,32,2,33,7,33,2,34,7,34,2,35,7,35,2,36,7,36,2,37,7,37,2,38,7,38,2,39,7,39,2,40,7,40,2,41,7,41,2,42,7,42,2,43,7,43,2,44,7,44,2,45,7,45,2,46,7,46,2,47,7,47,2,48,7,48,1,0,1,0,5,0,101,8,0,10,0,12,0,104,9,0,1,0,1,0,1,1,1,1,3,1,110,8,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,1,119,8,1,1,2,1,2,1,2,5,2,124,8,2,10,2,12,2,127,9,2,1,2,1,2,3,2,131,8,2,1,3,1,3,3,3,135,8,3,1,3,1,3,1,3,3,3,140,8,3,1,4,1,4,1,4,1,4,3,4,146,8,4,1,5,1,5,1,6,1,6,3,6,152,8,6,1,6,1,6,1,6,3,6,157,8,6,1,7,1,7,1,7,4,7,162,8,7,11,7,12,7,163,1,7,1,7,1,8,1,8,3,8,170,8,8,1,8,1,8,1,8,3,8,175,8,8,5,8,177,8,8,10,8,12,8,180,9,8,1,9,1,9,1,9,1,9,1,9,1,9,1,9,1,9,3,9,190,8,9,1,10,1,10,1,11,1,11,3,11,196,8,11,1,11,1,11,1,11,3,11,201,8,11,5,11,203,8,11,10,11,12,11,206,9,11,1,12,1,12,1,12,5,12,211,8,12,10,12,12,12,214,9,12,1,13,1,13,3,13,218,8,13,1,13,1,13,5,13,222,8,13,10,13,12,13,225,9,13,1,13,1,13,3,13,229,8,13,1,14,1,14,1,14,1,14,1,14,1,14,3,14,237,8,14,1,14,1,14,1,15,3,15,242,8,15,1,15,3,15,245,8,15,1,15,1,15,1,15,1,15,1,15,5,15,252,8,15,10,15,12,15,255,9,15,1,15,1,15,3,15,259,8,15,1,16,1,16,1,16,1,16,3,16,265,8,16,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,3,17,279,8,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,1,17,5,17,310,8,17,10,17,12,17,313,9,17,1,18,1,18,1,18,1,18,1,19,1,19,1,19,1,19,5,19,323,8,19,10,19,12,19,326,9,19,1,19,3,19,329,8,19,3,19,331,8,19,1,19,1,19,1,20,1,20,1,20,3,20,338,8,20,1,20,1,20,3,20,342,8,20,1,21,1,21,1,21,1,21,1,21,1,21,1,21,1,21,5,21,352,8,21,10,21,12,21,355,9,21,1,21,1,21,3,21,359,8,21,1,22,1,22,3,22,363,8,22,1,22,3,22,366,8,22,1,22,1,22,1,22,1,22,1,22,1,22,1,22,3,22,375,8,22,1,22,1,22,1,22,1,22,1,22,1,22,1,22,1,22,1,22,1,22,3,22,387,8,22,1,22,1,22,1,22,1,22,3,22,393,8,22,1,23,1,23,3,23,397,8,23,1,23,1,23,1,23,5,23,402,8,23,10,23,12,23,405,9,23,1,23,3,23,408,8,23,1,23,1,23,1,24,1,24,1,24,1,24,1,25,1,25,1,25,1,26,1,26,1,26,1,26,1,27,1,27,1,27,5,27,426,8,27,10,27,12,27,429,9,27,1,27,1,27,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,3,28,441,8,28,1,29,1,29,1,30,1,30,1,30,5,30,448,8,30,10,30,12,30,451,9,30,1,31,1,31,1,31,1,32,1,32,1,32,5,32,459,8,32,10,32,12,32,462,9,32,1,32,1,32,1,32,1,32,1,32,3,32,469,8,32,1,32,1,32,1,32,1,32,1,32,3,32,476,8,32,1,32,1,32,3,32,480,8,32,1,33,3,33,483,8,33,1,33,1,33,1,33,1,33,1,33,1,34,1,34,3,34,492,8,34,1,34,1,34,1,35,1,35,1,35,5,35,499,8,35,10,35,12,35,502,9,35,1,36,3,36,505,8,36,1,36,1,36,1,36,3,36,510,8,36,1,37,3,37,513,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,526,8,38,1,38,1,38,1,39,3,39,531,8,39,1,39,1,39,1,39,1,39,1,39,4,39,538,8,39,11,39,12,39,539,1,39,1,39,1,40,3,40,545,8,40,1,40,1,40,1,40,1,40,3,40,551,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,568,8,43,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,44,3,44,579,8,44,1,45,1,45,1,45,1,45,3,45,585,8,45,1,46,1,46,1,47,1,47,1,47,3,47,592,8,47,1,48,1,48,3,48,596,8,48,1,48,1,48,5,48,600,8,48,10,48,12,48,603,9,48,1,48,1,48,1,48,1,48,1,48,1,48,4,48,611,8,48,11,48,12,48,612,3,48,615,8,48,1,48,0,1,34,49,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,0,9,2,0,34,34,39,39,2,0,38,38,40,40,1,0,12,13,1,0,14,16,1,0,18,21,1,0,22,23,2,0,31,33,55,56,2,0,24,28,30,30,3,0,51,51,54,54,57,57,661,0,102,1,0,0,0,2,118,1,0,0,0,4,125,1,0,0,0,6,139,1,0,0,0,8,145,1,0,0,0,10,147,1,0,0,0,12,156,1,0,0,0,14,158,1,0,0,0,16,169,1,0,0,0,18,189,1,0,0,0,20,191,1,0,0,0,22,195,1,0,0,0,24,207,1,0,0,0,26,223,1,0,0,0,28,236,1,0,0,0,30,258,1,0,0,0,32,264,1,0,0,0,34,278,1,0,0,0,36,314,1,0,0,0,38,318,1,0,0,0,40,337,1,0,0,0,42,343,1,0,0,0,44,392,1,0,0,0,46,394,1,0,0,0,48,411,1,0,0,0,50,415,1,0,0,0,52,418,1,0,0,0,54,422,1,0,0,0,56,432,1,0,0,0,58,442,1,0,0,0,60,444,1,0,0,0,62,452,1,0,0,0,64,468,1,0,0,0,66,482,1,0,0,0,68,489,1,0,0,0,70,495,1,0,0,0,72,504,1,0,0,0,74,512,1,0,0,0,76,520,1,0,0,0,78,530,1,0,0,0,80,544,1,0,0,0,82,554,1,0,0,0,84,556,1,0,0,0,86,563,1,0,0,0,88,578,1,0,0,0,90,584,1,0,0,0,92,586,1,0,0,0,94,588,1,0,0,0,96,614,1,0,0,0,98,101,5,59,0,0,99,101,3,2,1,0,100,98,1,0,0,0,100,99,1,0,0,0,101,104,1,0,0,0,102,100,1,0,0,0,102,103,1,0,0,0,103,105,1,0,0,0,104,102,1,0,0,0,105,106,5,0,0,1,106,1,1,0,0,0,107,109,3,16,8,0,108,110,5,8,0,0,109,108,1,0,0,0,109,110,1,0,0,0,110,111,1,0,0,0,111,112,5,59,0,0,112,119,1,0,0,0,113,119,3,4,2,0,114,119,3,54,27,0,115,119,3,66,33,0,116,119,3,74,37,0,117,119,3,78,39,0,118,107,1,0,0,0,118,113,1,0,0,0,118,114,1,0,0,0,118,115,1,0,0,0,118,116,1,0,0,0,118,117,1,0,0,0,119,3,1,0,0,0,120,121,3,16,8,0,121,122,5,8,0,0,122,124,1,0,0,0,123,120,1,0,0,0,124,127,1,0,0,0,125,123,1,0,0,0,125,126,1,0,0,0,126,130,1,0,0,0,127,125,1,0,0,0,128,131,3,28,14,0,129,131,3,32,16,0,130,128,1,0,0,0,130,129,1,0,0,0,131,5,1,0,0,0,132,134,3,8,4,0,133,135,5,8,0,0,134,133,1,0,0,0,134,135,1,0,0,0,135,136,1,0,0,0,136,137,5,59,0,0,137,140,1,0,0,0,138,140,3,26,13,0,139,132,1,0,0,0,139,138,1,0,0,0,140,7,1,0,0,0,141,146,3,24,12,0,142,146,3,22,11,0,143,146,3,36,18,0,144,146,3,10,5,0,145,141,1,0,0,0,145,142,1,0,0,0,145,143,1,0,0,0,145,144,1,0,0,0,146,9,1,0,0,0,147,148,7,0,0,0,148,11,1,0,0,0,149,151,3,8,4,0,150,152,5,8,0,0,151,150,1,0,0,0,151,152,1,0,0,0,152,153,1,0,0,0,153,154,5,59,0,0,154,157,1,0,0,0,155,157,3,14,7,0,156,149,1,0,0,0,156,155,1,0,0,0,157,13,1,0,0,0,158,159,5,59,0,0,159,161,5,1,0,0,160,162,3,6,3,0,161,160,1,0,0,0,162,163,1,0,0,0,163,161,1,0,0,0,163,164,1,0,0,0,164,165,1,0,0,0,165,166,5,2,0,0,166,15,1,0,0,0,167,170,3,60,30,0,168,170,3,18,9,0,169,167,1,0,0,0,169,168,1,0,0,0,170,178,1,0,0,0,171,174,5,8,0,0,172,175,3,60,30,0,173,175,3,18,9,0,174,172,1,0,0,0,174,173,1,0,0,0,175,177,1,0,0,0,176,171,1,0,0,0,177,180,1,0,0,0,178,176,1,0,0,0,178,179,1,0,0,0,179,17,1,0,0,0,180,178,1,0,0,0,181,182,3,30,15,0,182,183,5,9,0,0,183,184,3,34,17,0,184,190,1,0,0,0,185,186,3,96,48,0,186,187,3,82,41,0,187,188,3,34,17,0,188,190,1,0,0,0,189,181,1,0,0,0,189,185,1,0,0,0,190,19,1,0,0,0,191,192,7,1,0,0,192,21,1,0,0,0,193,196,3,34,17,0,194,196,3,18,9,0,195,193,1,0,0,0,195,194,1,0,0,0,196,204,1,0,0,0,197,200,5,8,0,0,198,201,3,34,17,0,199,201,3,18,9,0,200,198,1,0,0,0,200,199,1,0,0,0,201,203,1,0,0,0,202,197,1,0,0,0,203,206,1,0,0,0,204,202,1,0,0,0,204,205,1,0,0,0,205,23,1,0,0,0,206,204,1,0,0,0,207,212,3,34,17,0,208,209,5,8,0,0,209,211,3,34,17,0,210,208,1,0,0,0,211,214,1,0,0,0,212,210,1,0,0,0,212,213,1,0,0,0,213,25,1,0,0,0,214,212,1,0,0,0,215,218,3,34,17,0,216,218,3,18,9,0,217,215,1,0,0,0,217,216,1,0,0,0,218,219,1,0,0,0,219,220,5,8,0,0,220,222,1,0,0,0,221,217,1,0,0,0,222,225,1,0,0,0,223,221,1,0,0,0,223,224,1,0,0,0,224,228,1,0,0,0,225,223,1,0,0,0,226,229,3,28,14,0,227,229,3,32,16,0,228,226,1,0,0,0,228,227,1,0,0,0,229,27,1,0,0,0,230,231,3,30,15,0,231,232,5,9,0,0,232,237,1,0,0,0,233,234,3,96,48,0,234,235,3,82,41,0,235,237,1,0,0,0,236,230,1,0,0,0,236,233,1,0,0,0,237,238,1,0,0,0,238,239,3,32,16,0,239,29,1,0,0,0,240,242,3,20,10,0,241,240,1,0,0,0,241,242,1,0,0,0,242,244,1,0,0,0,243,245,3,90,45,0,244,243,1,0,0,0,244,245,1,0,0,0,245,246,1,0,0,0,246,259,3,92,46,0,247,248,5,4,0,0,248,253,3,92,46,0,249,250,5,8,0,0,250,252,3,92,46,0,251,249,1,0,0,0,252,255,1,0,0,0,253,251,1,0,0,0,253,254,1,0,0,0,254,256,1,0,0,0,255,253,1,0,0,0,256,257,5,5,0,0,257,259,1,0,0,0,258,241,1,0,0,0,258,247,1,0,0,0,259,31,1,0,0,0,260,265,3,42,21,0,261,265,3,44,22,0,262,265,3,52,26,0,263,265,3,46,23,0,264,260,1,0,0,0,264,261,1,0,0,0,264,262,1,0,0,0,264,263,1,0,0,0,265,33,1,0,0,0,266,267,6,17,-1,0,267,279,3,60,30,0,268,269,7,2,0,0,269,279,3,34,17,12,270,271,5,46,0,0,271,279,3,34,17,11,272,279,3,96,48,0,273,279,3,58,29,0,274,275,5,6,0,0,275,276,3,34,17,0,276,277,5,7,0,0,277,279,1,0,0,0,278,266,1,0,0,0,278,268,1,0,0,0,278,270,1,0,0,0,278,272,1,0,0,0,278,273,1,0,0,0,278,274,1,0,0,0,279,311,1,0,0,0,280,281,10,10,0,0,281,282,7,3,0,0,282,310,3,34,17,11,283,284,10,9,0,0,284,285,7,2,0,0,285,310,3,34,17,10,286,287,10,8,0,0,287,288,7,4,0,0,288,310,3,34,17,9,289,290,10,7,0,0,290,291,7,5,0,0,291,310,3,34,17,8,292,293,10,6,0,0,293,294,5,35,0,0,294,310,3,34,17,7,295,296,10,5,0,0,296,297,5,45,0,0,297,310,3,34,17,6,298,299,10,4,0,0,299,300,5,10,0,0,300,301,3,34,17,0,301,302,5,11,0,0,302,303,3,34,17,4,303,310,1,0,0,0,304,305,10,13,0,0,305,306,5,4,0,0,306,307,3,34,17,0,307,308,5,5,0,0,308,310,1,0,0,0,309,280,1,0,0,0,309,283,1,0,0,0,309,286,1,0,0,0,309,289,1,0,0,0,309,292,1,0,0,0,309,295,1,0,0,0,309,298,1,0,0,0,309,304,1,0,0,0,310,313,1,0,0,0,311,309,1,0,0,0,311,312,1,0,0,0,312,35,1,0,0,0,313,311,1,0,0,0,314,315,5,4,0,0,315,316,3,24,12,0,316,317,5,5,0,0,317,37,1,0,0,0,318,330,5,6,0,0,319,324,3,40,20,0,320,321,5,8,0,0,321,323,3,40,20,0,322,320,1,0,0,0,323,326,1,0,0,0,324,322,1,0,0,0,324,325,1,0,0,0,325,328,1,0,0,0,326,324,1,0,0,0,327,329,5,8,0,0,328,327,1,0,0,0,328,329,1,0,0,0,329,331,1,0,0,0,330,319,1,0,0,0,330,331,1,0,0,0,331,332,1,0,0,0,332,333,5,7,0,0,333,39,1,0,0,0,334,335,3,92,46,0,335,336,5,9,0,0,336,338,1,0,0,0,337,334,1,0,0,0,337,338,1,0,0,0,338,341,1,0,0,0,339,342,3,34,17,0,340,342,3,36,18,0,341,339,1,0,0,0,341,340,1,0,0,0,342,41,1,0,0,0,343,344,5,43,0,0,344,345,3,34,17,0,345,353,3,14,7,0,346,347,5,48,0,0,347,348,5,43,0,0,348,349,3,34,17,0,349,350,3,14,7,0,350,352,1,0,0,0,351,346,1,0,0,0,352,355,1,0,0,0,353,351,1,0,0,0,353,354,1,0,0,0,354,358,1,0,0,0,355,353,1,0,0,0,356,357,5,48,0,0,357,359,3,14,7,0,358,356,1,0,0,0,358,359,1,0,0,0,359,43,1,0,0,0,360,362,5,37,0,0,361,363,3,20,10,0,362,361,1,0,0,0,362,363,1,0,0,0,363,365,1,0,0,0,364,366,3,90,45,0,365,364,1,0,0,0,365,366,1,0,0,0,366,367,1,0,0,0,367,368,3,92,46,0,368,369,5,9,0,0,369,370,3,34,17,0,370,371,5,49,0,0,371,374,3,34,17,0,372,373,5,50,0,0,373,375,3,34,17,0,374,372,1,0,0,0,374,375,1,0,0,0,375,376,1,0,0,0,376,377,3,14,7,0,377,393,1,0,0,0,378,386,5,37,0,0,379,387,3,92,46,0,380,381,5,4,0,0,381,382,3,92,46,0,382,383,5,8,0,0,383,384,3,92,46,0,384,385,5,5,0,0,385,387,1,0,0,0,386,379,1,0,0,0,386,380,1,0,0,0,387,388,1,0,0,0,388,389,5,44,0,0,389,390,3,34,17,0,390,391,3,14,7,0,391,393,1,0,0,0,392,360,1,0,0,0,392,378,1,0,0,0,393,45,1,0,0,0,394,396,5,41,0,0,395,397,3,34,17,0,396,395,1,0,0,0,396,397,1,0,0,0,397,398,1,0,0,0,398,399,5,59,0,0,399,403,5,1,0,0,400,402,3,48,24,0,401,400,1,0,0,0,402,405,1,0,0,0,403,401,1,0,0,0,403,404,1,0,0,0,404,407,1,0,0,0,405,403,1,0,0,0,406,408,3,50,25,0,407,406,1,0,0,0,407,408,1,0,0,0,408,409,1,0,0,0,409,410,5,2,0,0,410,47,1,0,0,0,411,412,3,34,17,0,412,413,5,29,0,0,413,414,3,12,6,0,414,49,1,0,0,0,415,416,5,29,0,0,416,417,3,12,6,0,417,51,1,0,0,0,418,419,5,42,0,0,419,420,3,34,17,0,420,421,3,14,7,0,421,53,1,0,0,0,422,427,3,56,28,0,423,424,5,8,0,0,424,426,3,56,28,0,425,423,1,0,0,0,426,429,1,0,0,0,427,425,1,0,0,0,427,428,1,0,0,0,428,430,1,0,0,0,429,427,1,0,0,0,430,431,5,59,0,0,431,55,1,0,0,0,432,433,5,52,0,0,433,434,3,92,46,0,434,435,5,15,0,0,435,436,3,92,46,0,436,437,5,15,0,0,437,440,5,32,0,0,438,439,5,53,0,0,439,441,3,92,46,0,440,438,1,0,0,0,440,441,1,0,0,0,441,57,1,0,0,0,442,443,7,6,0,0,443,59,1,0,0,0,444,449,3,62,31,0,445,446,5,3,0,0,446,448,3,62,31,0,447,445,1,0,0,0,448,451,1,0,0,0,449,447,1,0,0,0,449,450,1,0,0,0,450,61,1,0,0,0,451,449,1,0,0,0,452,453,3,64,32,0,453,454,3,38,19,0,454,63,1,0,0,0,455,456,3,92,46,0,456,457,5,3,0,0,457,459,1,0,0,0,458,455,1,0,0,0,459,462,1,0,0,0,460,458,1,0,0,0,460,461,1,0,0,0,461,469,1,0,0,0,462,460,1,0,0,0,463,464,5,6,0,0,464,465,3,34,17,0,465,466,5,7,0,0,466,467,5,3,0,0,467,469,1,0,0,0,468,460,1,0,0,0,468,463,1,0,0,0,469,470,1,0,0,0,470,479,3,92,46,0,471,472,5,18,0,0,472,475,3,94,47,0,473,474,5,8,0,0,474,476,3,94,47,0,475,473,1,0,0,0,475,476,1,0,0,0,476,477,1,0,0,0,477,478,5,19,0,0,478,480,1,0,0,0,479,471,1,0,0,0,479,480,1,0,0,0,480,65,1,0,0,0,481,483,5,36,0,0,482,481,1,0,0,0,482,483,1,0,0,0,483,484,1,0,0,0,484,485,3,92,46,0,485,486,3,68,34,0,486,487,5,29,0,0,487,488,3,12,6,0,488,67,1,0,0,0,489,491,5,6,0,0,490,492,3,70,35,0,491,490,1,0,0,0,491,492,1,0,0,0,492,493,1,0,0,0,493,494,5,7,0,0,494,69,1,0,0,0,495,500,3,72,36,0,496,497,5,8,0,0,497,499,3,72,36,0,498,496,1,0,0,0,499,502,1,0,0,0,500,498,1,0,0,0,500,501,1,0,0,0,501,71,1,0,0,0,502,500,1,0,0,0,503,505,3,90,45,0,504,503,1,0,0,0,504,505,1,0,0,0,505,506,1,0,0,0,506,509,3,92,46,0,507,508,5,9,0,0,508,510,3,34,17,0,509,507,1,0,0,0,509,510,1,0,0,0,510,73,1,0,0,0,511,513,5,36,0,0,512,511,1,0,0,0,512,513,1,0,0,0,513,514,1,0,0,0,514,515,5,47,0,0,515,516,3,92,46,0,516,517,3,76,38,0,517,518,5,29,0,0,518,519,3,12,6,0,519,75,1,0,0,0,520,521,5,6,0,0,521,522,3,90,45,0,522,525,3,92,46,0,523,524,5,8,0,0,524,526,3,70,35,0,525,523,1,0,0,0,525,526,1,0,0,0,526,527,1,0,0,0,527,528,5,7,0,0,528,77,1,0,0,0,529,531,5,36,0,0,530,529,1,0,0,0,530,531,1,0,0,0,531,532,1,0,0,0,532,533,5,51,0,0,533,534,3,92,46,0,534,535,5,59,0,0,535,537,5,1,0,0,536,538,3,80,40,0,537,536,1,0,0,0,538,539,1,0,0,0,539,537,1,0,0,0,539,540,1,0,0,0,540,541,1,0,0,0,541,542,5,2,0,0,542,79,1,0,0,0,543,545,5,40,0,0,544,543,1,0,0,0,544,545,1,0,0,0,545,546,1,0,0,0,546,547,3,90,45,0,547,550,3,92,46,0,548,549,5,9,0,0,549,551,3,34,17,0,550,548,1,0,0,0,550,551,1,0,0,0,551,552,1,0,0,0,552,553,5,59,0,0,553,81,1,0,0,0,554,555,7,7,0,0,555,83,1,0,0,0,556,557,5,54,0,0,557,558,5,18,0,0,558,559,3,94,47,0,559,560,5,8,0,0,560,561,3,94,47,0,561,562,5,19,0,0,562,85,1,0,0,0,563,567,3,94,47,0,564,568,3,94,47,0,565,568,3,88,44,0,566,568,3,84,42,0,567,564,1,0,0,0,567,565,1,0,0,0,567,566,1,0,0,0,568,87,1,0,0,0,569,570,3,94,47,0,570,571,5,18,0,0,571,572,3,94,47,0,572,573,5,19,0,0,573,579,1,0,0,0,574,575,3,94,47,0,575,576,5,4,0,0,576,577,5,5,0,0,577,579,1,0,0,0,578,569,1,0,0,0,578,574,1,0,0,0,579,89,1,0,0,0,580,585,3,94,47,0,581,585,3,88,44,0,582,585,3,84,42,0,583,585,3,86,43,0,584,580,1,0,0,0,584,581,1,0,0,0,584,582,1,0,0,0,584,583,1,0,0,0,585,91,1,0,0,0,586,587,7,8,0,0,587,93,1,0,0,0,588,591,3,92,46,0,589,590,5,3,0,0,590,592,3,92,46,0,591,589,1,0,0,0,591,592,1,0,0,0,592,95,1,0,0,0,593,596,3,92,46,0,594,596,3,62,31,0,595,593,1,0,0,0,595,594,1,0,0,0,596,597,1,0,0,0,597,598,5,3,0,0,598,600,1,0,0,0,599,595,1,0,0,0,600,603,1,0,0,0,601,599,1,0,0,0,601,602,1,0,0,0,602,604,1,0,0,0,603,601,1,0,0,0,604,615,3,92,46,0,605,606,5,6,0,0,606,607,3,34,17,0,607,610,5,7,0,0,608,609,5,3,0,0,609,611,3,92,46,0,610,608,1,0,0,0,611,612,1,0,0,0,612,610,1,0,0,0,612,613,1,0,0,0,613,615,1,0,0,0,614,601,1,0,0,0,614,605,1,0,0,0,615,97,1,0,0,0,73,100,102,109,118,125,130,134,139,145,151,156,163,169,174,178,189,195,200,204,212,217,223,228,236,241,244,253,258,264,278,309,311,324,328,330,337,341,353,358,362,365,374,386,392,396,403,407,427,440,449,460,468,475,479,482,491,500,504,509,512,525,530,539,544,550,567,578,584,591,595,601,612,614]),w(M,"__ATN"),w(M,"DecisionsToDFA",M._ATN.decisionToState.map((e,n)=>new ip(e,n)));let I=M;class em extends Qe{constructor(e,n,o){super(n,o),this.parser=e}EOF(){return this.getToken(I.EOF,0)}NEWLINE_list(){return this.getTokens(I.NEWLINE)}NEWLINE(e){return this.getToken(I.NEWLINE,e)}globalStmt_list(){return this.getTypedRuleContexts(el)}globalStmt(e){return this.getTypedRuleContext(el,e)}get ruleIndex(){return I.RULE_program}accept(e){return e.visitProgram?e.visitProgram(this):e.visitChildren(this)}}class el extends Qe{constructor(e,n,o){super(n,o),this.parser=e}variableDeclarationStmt(){return this.getTypedRuleContext(nu,0)}NEWLINE(){return this.getToken(I.NEWLINE,0)}Comma(){return this.getToken(I.Comma,0)}blockStmt(){return this.getTypedRuleContext(sp,0)}importStmt(){return this.getTypedRuleContext(mp,0)}arrowFunction(){return this.getTypedRuleContext(bp,0)}arrowMethod(){return this.getTypedRuleContext(Ep,0)}typeStatement(){return this.getTypedRuleContext(Tp,0)}get ruleIndex(){return I.RULE_globalStmt}accept(e){return e.visitGlobalStmt?e.visitGlobalStmt(this):e.visitChildren(this)}}class sp extends Qe{constructor(e,n,o){super(n,o),this.parser=e}varBlockStmt(){return this.getTypedRuleContext(ol,0)}blockExpression(){return this.getTypedRuleContext(ru,0)}variableDeclarationStmt_list(){return this.getTypedRuleContexts(nu)}variableDeclarationStmt(e){return this.getTypedRuleContext(nu,e)}Comma_list(){return this.getTokens(I.Comma)}Comma(e){return this.getToken(I.Comma,e)}get ruleIndex(){return I.RULE_blockStmt}accept(e){return e.visitBlockStmt?e.visitBlockStmt(this):e.visitChildren(this)}}class tl extends Qe{constructor(e,n,o){super(n,o),this.parser=e}simpleStmt(){return this.getTypedRuleContext(nl,0)}NEWLINE(){return this.getToken(I.NEWLINE,0)}Comma(){return this.getToken(I.Comma,0)}expressionBlockSequence(){return this.getTypedRuleContext(lp,0)}get ruleIndex(){return I.RULE_stmt}accept(e){return e.visitStmt?e.visitStmt(this):e.visitChildren(this)}}class nl extends Qe{constructor(e,n,o){super(n,o),this.parser=e}expressionSequence(){return this.getTypedRuleContext(il,0)}blockSequence(){return this.getTypedRuleContext(cp,0)}brackethesized(){return this.getTypedRuleContext(al,0)}flowStmt(){return this.getTypedRuleContext(up,0)}get ruleIndex(){return I.RULE_simpleStmt}accept(e){return e.visitSimpleStmt?e.visitSimpleStmt(this):e.visitChildren(this)}}class up extends Qe{constructor(e,n,o){super(n,o),this.parser=e}Break(){return this.getToken(I.Break,0)}Continue(){return this.getToken(I.Continue,0)}get ruleIndex(){return I.RULE_flowStmt}accept(e){return e.visitFlowStmt?e.visitFlowStmt(this):e.visitChildren(this)}}class ts extends Qe{constructor(e,n,o){super(n,o),this.parser=e}simpleStmt(){return this.getTypedRuleContext(nl,0)}NEWLINE(){return this.getToken(I.NEWLINE,0)}Comma(){return this.getToken(I.Comma,0)}blockLine(){return this.getTypedRuleContext(fo,0)}get ruleIndex(){return I.RULE_block}accept(e){return e.visitBlock?e.visitBlock(this):e.visitChildren(this)}}class fo extends Qe{constructor(e,n,o){super(n,o),this.parser=e}NEWLINE(){return this.getToken(I.NEWLINE,0)}INDENT(){return this.getToken(I.INDENT,0)}DEDENT(){return this.getToken(I.DEDENT,0)}stmt_list(){return this.getTypedRuleContexts(tl)}stmt(e){return this.getTypedRuleContext(tl,e)}get ruleIndex(){return I.RULE_blockLine}accept(e){return e.visitBlockLine?e.visitBlockLine(this):e.visitChildren(this)}}class nu extends Qe{constructor(e,n,o){super(n,o),this.parser=e}methodStmt_list(){return this.getTypedRuleContexts(ou)}methodStmt(e){return this.getTypedRuleContext(ou,e)}variableDeclarationList_list(){return this.getTypedRuleContexts(ki)}variableDeclarationList(e){return this.getTypedRuleContext(ki,e)}Comma_list(){return this.getTokens(I.Comma)}Comma(e){return this.getToken(I.Comma,e)}get ruleIndex(){return I.RULE_variableDeclarationStmt}accept(e){return e.visitVariableDeclarationStmt?e.visitVariableDeclarationStmt(this):e.visitChildren(this)}}class ki extends Qe{constructor(e,n,o){super(n,o),this.parser=e}get ruleIndex(){return I.RULE_variableDeclarationList}copyFrom(e){super.copyFrom(e)}}class tm extends ki{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}name(){return this.getTypedRuleContext(au,0)}assignmentOperator(){return this.getTypedRuleContext(pl,0)}singleExpression(){return this.getTypedRuleContext(Ve,0)}accept(e){return e.visitAgainAssign?e.visitAgainAssign(this):e.visitChildren(this)}}class nm extends ki{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}varArrayDeclaration(){return this.getTypedRuleContext(ns,0)}Assign(){return this.getToken(I.Assign,0)}singleExpression(){return this.getTypedRuleContext(Ve,0)}accept(e){return e.visitDeclareAssign?e.visitDeclareAssign(this):e.visitChildren(this)}}class rl extends Qe{constructor(e,n,o){super(n,o),this.parser=e}Var(){return this.getToken(I.Var,0)}Varip(){return this.getToken(I.Varip,0)}get ruleIndex(){return I.RULE_varModifier}accept(e){return e.visitVarModifier?e.visitVarModifier(this):e.visitChildren(this)}}class cp extends Qe{constructor(e,n,o){super(n,o),this.parser=e}singleExpression_list(){return this.getTypedRuleContexts(Ve)}singleExpression(e){return this.getTypedRuleContext(Ve,e)}variableDeclarationList_list(){return this.getTypedRuleContexts(ki)}variableDeclarationList(e){return this.getTypedRuleContext(ki,e)}Comma_list(){return this.getTokens(I.Comma)}Comma(e){return this.getToken(I.Comma,e)}get ruleIndex(){return I.RULE_blockSequence}accept(e){return e.visitBlockSequence?e.visitBlockSequence(this):e.visitChildren(this)}}class il extends Qe{constructor(e,n,o){super(n,o),this.parser=e}singleExpression_list(){return this.getTypedRuleContexts(Ve)}singleExpression(e){return this.getTypedRuleContext(Ve,e)}Comma_list(){return this.getTokens(I.Comma)}Comma(e){return this.getToken(I.Comma,e)}get ruleIndex(){return I.RULE_expressionSequence}accept(e){return e.visitExpressionSequence?e.visitExpressionSequence(this):e.visitChildren(this)}}class lp extends Qe{constructor(e,n,o){super(n,o),this.parser=e}varBlockStmt(){return this.getTypedRuleContext(ol,0)}blockExpression(){return this.getTypedRuleContext(ru,0)}Comma_list(){return this.getTokens(I.Comma)}Comma(e){return this.getToken(I.Comma,e)}singleExpression_list(){return this.getTypedRuleContexts(Ve)}singleExpression(e){return this.getTypedRuleContext(Ve,e)}variableDeclarationList_list(){return this.getTypedRuleContexts(ki)}variableDeclarationList(e){return this.getTypedRuleContext(ki,e)}get ruleIndex(){return I.RULE_expressionBlockSequence}accept(e){return e.visitExpressionBlockSequence?e.visitExpressionBlockSequence(this):e.visitChildren(this)}}class ol extends Qe{constructor(e,n,o){super(n,o),this.parser=e}blockExpression(){return this.getTypedRuleContext(ru,0)}varArrayDeclaration(){return this.getTypedRuleContext(ns,0)}Assign(){return this.getToken(I.Assign,0)}name(){return this.getTypedRuleContext(au,0)}assignmentOperator(){return this.getTypedRuleContext(pl,0)}get ruleIndex(){return I.RULE_varBlockStmt}accept(e){return e.visitVarBlockStmt?e.visitVarBlockStmt(this):e.visitChildren(this)}}class ns extends Qe{constructor(e,n,o){super(n,o),this.parser=e}get ruleIndex(){return I.RULE_varArrayDeclaration}copyFrom(e){super.copyFrom(e)}}class rm extends ns{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}OpenBracket(){return this.getToken(I.OpenBracket,0)}identifier_list(){return this.getTypedRuleContexts(xn)}identifier(e){return this.getTypedRuleContext(xn,e)}CloseBracket(){return this.getToken(I.CloseBracket,0)}Comma_list(){return this.getTokens(I.Comma)}Comma(e){return this.getToken(I.Comma,e)}accept(e){return e.visitVarMultiple?e.visitVarMultiple(this):e.visitChildren(this)}}class im extends ns{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}identifier(){return this.getTypedRuleContext(xn,0)}varModifier(){return this.getTypedRuleContext(rl,0)}typeGather(){return this.getTypedRuleContext(Uo,0)}accept(e){return e.visitVarSingle?e.visitVarSingle(this):e.visitChildren(this)}}class ru extends Qe{constructor(e,n,o){super(n,o),this.parser=e}ifStatement(){return this.getTypedRuleContext(hp,0)}forStatement(){return this.getTypedRuleContext(iu,0)}whileStatement(){return this.getTypedRuleContext(yp,0)}switchStatement(){return this.getTypedRuleContext(pp,0)}get ruleIndex(){return I.RULE_blockExpression}accept(e){return e.visitBlockExpression?e.visitBlockExpression(this):e.visitChildren(this)}}class Ve extends Qe{constructor(e,n,o){super(n,o),this.parser=e}get ruleIndex(){return I.RULE_singleExpression}copyFrom(e){super.copyFrom(e)}}class om extends Ve{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}OpenParen(){return this.getToken(I.OpenParen,0)}singleExpression(){return this.getTypedRuleContext(Ve,0)}CloseParen(){return this.getToken(I.CloseParen,0)}accept(e){return e.visitParenthesizedExpression?e.visitParenthesizedExpression(this):e.visitChildren(this)}}class am extends Ve{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}singleExpression_list(){return this.getTypedRuleContexts(Ve)}singleExpression(e){return this.getTypedRuleContext(Ve,e)}Plus(){return this.getToken(I.Plus,0)}Minus(){return this.getToken(I.Minus,0)}accept(e){return e.visitAdditiveExpression?e.visitAdditiveExpression(this):e.visitChildren(this)}}class sm extends Ve{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}singleExpression_list(){return this.getTypedRuleContexts(Ve)}singleExpression(e){return this.getTypedRuleContext(Ve,e)}LessThan(){return this.getToken(I.LessThan,0)}MoreThan(){return this.getToken(I.MoreThan,0)}LessThanEquals(){return this.getToken(I.LessThanEquals,0)}GreaterThanEquals(){return this.getToken(I.GreaterThanEquals,0)}accept(e){return e.visitRelationalExpression?e.visitRelationalExpression(this):e.visitChildren(this)}}class um extends Ve{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}singleExpression_list(){return this.getTypedRuleContexts(Ve)}singleExpression(e){return this.getTypedRuleContext(Ve,e)}QuestionMark(){return this.getToken(I.QuestionMark,0)}Colon(){return this.getToken(I.Colon,0)}accept(e){return e.visitTernaryExpression?e.visitTernaryExpression(this):e.visitChildren(this)}}class cm extends Ve{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}singleExpression_list(){return this.getTypedRuleContexts(Ve)}singleExpression(e){return this.getTypedRuleContext(Ve,e)}And(){return this.getToken(I.And,0)}accept(e){return e.visitLogicalAndExpression?e.visitLogicalAndExpression(this):e.visitChildren(this)}}class lm extends Ve{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}name(){return this.getTypedRuleContext(au,0)}accept(e){return e.visitNameExpression?e.visitNameExpression(this):e.visitChildren(this)}}class fm extends Ve{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}literal(){return this.getTypedRuleContext(_p,0)}accept(e){return e.visitLiteralExpression?e.visitLiteralExpression(this):e.visitChildren(this)}}class hm extends Ve{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}singleExpression_list(){return this.getTypedRuleContexts(Ve)}singleExpression(e){return this.getTypedRuleContext(Ve,e)}Or(){return this.getToken(I.Or,0)}accept(e){return e.visitLogicalOrExpression?e.visitLogicalOrExpression(this):e.visitChildren(this)}}class pm extends Ve{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}singleExpression(){return this.getTypedRuleContext(Ve,0)}Minus(){return this.getToken(I.Minus,0)}Plus(){return this.getToken(I.Plus,0)}accept(e){return e.visitUnaryExpression?e.visitUnaryExpression(this):e.visitChildren(this)}}class dm extends Ve{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}Not(){return this.getToken(I.Not,0)}singleExpression(){return this.getTypedRuleContext(Ve,0)}accept(e){return e.visitNotExpression?e.visitNotExpression(this):e.visitChildren(this)}}class ym extends Ve{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}singleExpression_list(){return this.getTypedRuleContexts(Ve)}singleExpression(e){return this.getTypedRuleContext(Ve,e)}OpenBracket(){return this.getToken(I.OpenBracket,0)}CloseBracket(){return this.getToken(I.CloseBracket,0)}accept(e){return e.visitMemberIndexExpression?e.visitMemberIndexExpression(this):e.visitChildren(this)}}class mm extends Ve{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}methodStmt(){return this.getTypedRuleContext(ou,0)}accept(e){return e.visitMethodExpression?e.visitMethodExpression(this):e.visitChildren(this)}}class _m extends Ve{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}singleExpression_list(){return this.getTypedRuleContexts(Ve)}singleExpression(e){return this.getTypedRuleContext(Ve,e)}Equals_(){return this.getToken(I.Equals_,0)}NotEquals(){return this.getToken(I.NotEquals,0)}accept(e){return e.visitEqualityExpression?e.visitEqualityExpression(this):e.visitChildren(this)}}class gm extends Ve{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}singleExpression_list(){return this.getTypedRuleContexts(Ve)}singleExpression(e){return this.getTypedRuleContext(Ve,e)}Multiply(){return this.getToken(I.Multiply,0)}Divide(){return this.getToken(I.Divide,0)}Modulus(){return this.getToken(I.Modulus,0)}accept(e){return e.visitMultiplicativeExpression?e.visitMultiplicativeExpression(this):e.visitChildren(this)}}class al extends Qe{constructor(e,n,o){super(n,o),this.parser=e}OpenBracket(){return this.getToken(I.OpenBracket,0)}expressionSequence(){return this.getTypedRuleContext(il,0)}CloseBracket(){return this.getToken(I.CloseBracket,0)}get ruleIndex(){return I.RULE_brackethesized}accept(e){return e.visitBrackethesized?e.visitBrackethesized(this):e.visitChildren(this)}}class fp extends Qe{constructor(e,n,o){super(n,o),this.parser=e}OpenParen(){return this.getToken(I.OpenParen,0)}CloseParen(){return this.getToken(I.CloseParen,0)}argument_list(){return this.getTypedRuleContexts(sl)}argument(e){return this.getTypedRuleContext(sl,e)}Comma_list(){return this.getTokens(I.Comma)}Comma(e){return this.getToken(I.Comma,e)}get ruleIndex(){return I.RULE_arguments}accept(e){return e.visitArguments?e.visitArguments(this):e.visitChildren(this)}}class sl extends Qe{constructor(e,n,o){super(n,o),this.parser=e}singleExpression(){return this.getTypedRuleContext(Ve,0)}brackethesized(){return this.getTypedRuleContext(al,0)}identifier(){return this.getTypedRuleContext(xn,0)}Assign(){return this.getToken(I.Assign,0)}get ruleIndex(){return I.RULE_argument}accept(e){return e.visitArgument?e.visitArgument(this):e.visitChildren(this)}}class hp extends Qe{constructor(e,n,o){super(n,o),this.parser=e}If_list(){return this.getTokens(I.If)}If(e){return this.getToken(I.If,e)}singleExpression_list(){return this.getTypedRuleContexts(Ve)}singleExpression(e){return this.getTypedRuleContext(Ve,e)}blockLine_list(){return this.getTypedRuleContexts(fo)}blockLine(e){return this.getTypedRuleContext(fo,e)}Else_list(){return this.getTokens(I.Else)}Else(e){return this.getToken(I.Else,e)}get ruleIndex(){return I.RULE_ifStatement}accept(e){return e.visitIfStatement?e.visitIfStatement(this):e.visitChildren(this)}}class iu extends Qe{constructor(e,n,o){super(n,o),this.parser=e}get ruleIndex(){return I.RULE_forStatement}copyFrom(e){super.copyFrom(e)}}class bm extends iu{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}For(){return this.getToken(I.For,0)}identifier(){return this.getTypedRuleContext(xn,0)}Assign(){return this.getToken(I.Assign,0)}singleExpression_list(){return this.getTypedRuleContexts(Ve)}singleExpression(e){return this.getTypedRuleContext(Ve,e)}To(){return this.getToken(I.To,0)}blockLine(){return this.getTypedRuleContext(fo,0)}varModifier(){return this.getTypedRuleContext(rl,0)}typeGather(){return this.getTypedRuleContext(Uo,0)}By(){return this.getToken(I.By,0)}accept(e){return e.visitForToStatement?e.visitForToStatement(this):e.visitChildren(this)}}class vm extends iu{constructor(e,n){super(e,n.parentCtx,n.invokingState),super.copyFrom(n)}For(){return this.getToken(I.For,0)}In(){return this.getToken(I.In,0)}singleExpression(){return this.getTypedRuleContext(Ve,0)}blockLine(){return this.getTypedRuleContext(fo,0)}identifier_list(){return this.getTypedRuleContexts(xn)}identifier(e){return this.getTypedRuleContext(xn,e)}OpenBracket(){return this.getToken(I.OpenBracket,0)}Comma(){return this.getToken(I.Comma,0)}CloseBracket(){return this.getToken(I.CloseBracket,0)}accept(e){return e.visitForInStatement?e.visitForInStatement(this):e.visitChildren(this)}}class pp extends Qe{constructor(e,n,o){super(n,o),this.parser=e}Switch(){return this.getToken(I.Switch,0)}NEWLINE(){return this.getToken(I.NEWLINE,0)}INDENT(){return this.getToken(I.INDENT,0)}DEDENT(){return this.getToken(I.DEDENT,0)}singleExpression(){return this.getTypedRuleContext(Ve,0)}caseClause_list(){return this.getTypedRuleContexts(ul)}caseClause(e){return this.getTypedRuleContext(ul,e)}defaultCaluse(){return this.getTypedRuleContext(dp,0)}get ruleIndex(){return I.RULE_switchStatement}accept(e){return e.visitSwitchStatement?e.visitSwitchStatement(this):e.visitChildren(this)}}class ul extends Qe{constructor(e,n,o){super(n,o),this.parser=e}singleExpression(){return this.getTypedRuleContext(Ve,0)}ARROW(){return this.getToken(I.ARROW,0)}block(){return this.getTypedRuleContext(ts,0)}get ruleIndex(){return I.RULE_caseClause}accept(e){return e.visitCaseClause?e.visitCaseClause(this):e.visitChildren(this)}}class dp extends Qe{constructor(e,n,o){super(n,o),this.parser=e}ARROW(){return this.getToken(I.ARROW,0)}block(){return this.getTypedRuleContext(ts,0)}get ruleIndex(){return I.RULE_defaultCaluse}accept(e){return e.visitDefaultCaluse?e.visitDefaultCaluse(this):e.visitChildren(this)}}class yp extends Qe{constructor(e,n,o){super(n,o),this.parser=e}While(){return this.getToken(I.While,0)}singleExpression(){return this.getTypedRuleContext(Ve,0)}blockLine(){return this.getTypedRuleContext(fo,0)}get ruleIndex(){return I.RULE_whileStatement}accept(e){return e.visitWhileStatement?e.visitWhileStatement(this):e.visitChildren(this)}}class mp extends Qe{constructor(e,n,o){super(n,o),this.parser=e}importElement_list(){return this.getTypedRuleContexts(cl)}importElement(e){return this.getTypedRuleContext(cl,e)}NEWLINE(){return this.getToken(I.NEWLINE,0)}Comma_list(){return this.getTokens(I.Comma)}Comma(e){return this.getToken(I.Comma,e)}get ruleIndex(){return I.RULE_importStmt}accept(e){return e.visitImportStmt?e.visitImportStmt(this):e.visitChildren(this)}}class cl extends Qe{constructor(e,n,o){super(n,o),this.parser=e}Import(){return this.getToken(I.Import,0)}identifier_list(){return this.getTypedRuleContexts(xn)}identifier(e){return this.getTypedRuleContext(xn,e)}Divide_list(){return this.getTokens(I.Divide)}Divide(e){return this.getToken(I.Divide,e)}IntegerLiteral(){return this.getToken(I.IntegerLiteral,0)}As(){return this.getToken(I.As,0)}get ruleIndex(){return I.RULE_importElement}accept(e){return e.visitImportElement?e.visitImportElement(this):e.visitChildren(this)}}class _p extends Qe{constructor(e,n,o){super(n,o),this.parser=e}BooleanLiteral(){return this.getToken(I.BooleanLiteral,0)}ColorLiteral(){return this.getToken(I.ColorLiteral,0)}StringLiteral(){return this.getToken(I.StringLiteral,0)}IntegerLiteral(){return this.getToken(I.IntegerLiteral,0)}DecimalLiteral(){return this.getToken(I.DecimalLiteral,0)}get ruleIndex(){return I.RULE_literal}accept(e){return e.visitLiteral?e.visitLiteral(this):e.visitChildren(this)}}class ou extends Qe{constructor(e,n,o){super(n,o),this.parser=e}methodElement_list(){return this.getTypedRuleContexts(rs)}methodElement(e){return this.getTypedRuleContext(rs,e)}Point_list(){return this.getTokens(I.Point)}Point(e){return this.getToken(I.Point,e)}get ruleIndex(){return I.RULE_methodStmt}accept(e){return e.visitMethodStmt?e.visitMethodStmt(this):e.visitChildren(this)}}class rs extends Qe{constructor(e,n,o){super(n,o),this.parser=e}methodName(){return this.getTypedRuleContext(gp,0)}arguments(){return this.getTypedRuleContext(fp,0)}get ruleIndex(){return I.RULE_methodElement}accept(e){return e.visitMethodElement?e.visitMethodElement(this):e.visitChildren(this)}}class gp extends Qe{constructor(e,n,o){super(n,o),this.parser=e}identifier_list(){return this.getTypedRuleContexts(xn)}identifier(e){return this.getTypedRuleContext(xn,e)}OpenParen(){return this.getToken(I.OpenParen,0)}singleExpression(){return this.getTypedRuleContext(Ve,0)}CloseParen(){return this.getToken(I.CloseParen,0)}Point_list(){return this.getTokens(I.Point)}Point(e){return this.getToken(I.Point,e)}LessThan(){return this.getToken(I.LessThan,0)}typeName_list(){return this.getTypedRuleContexts(hi)}typeName(e){return this.getTypedRuleContext(hi,e)}MoreThan(){return this.getToken(I.MoreThan,0)}Comma(){return this.getToken(I.Comma,0)}get ruleIndex(){return I.RULE_methodName}accept(e){return e.visitMethodName?e.visitMethodName(this):e.visitChildren(this)}}class bp extends Qe{constructor(e,n,o){super(n,o),this.parser=e}identifier(){return this.getTypedRuleContext(xn,0)}arrowFunctionParameters(){return this.getTypedRuleContext(vp,0)}ARROW(){return this.getToken(I.ARROW,0)}block(){return this.getTypedRuleContext(ts,0)}Export(){return this.getToken(I.Export,0)}get ruleIndex(){return I.RULE_arrowFunction}accept(e){return e.visitArrowFunction?e.visitArrowFunction(this):e.visitChildren(this)}}class vp extends Qe{constructor(e,n,o){super(n,o),this.parser=e}OpenParen(){return this.getToken(I.OpenParen,0)}CloseParen(){return this.getToken(I.CloseParen,0)}formalParameterList(){return this.getTypedRuleContext(ll,0)}get ruleIndex(){return I.RULE_arrowFunctionParameters}accept(e){return e.visitArrowFunctionParameters?e.visitArrowFunctionParameters(this):e.visitChildren(this)}}class ll extends Qe{constructor(e,n,o){super(n,o),this.parser=e}formalParameterArg_list(){return this.getTypedRuleContexts(fl)}formalParameterArg(e){return this.getTypedRuleContext(fl,e)}Comma_list(){return this.getTokens(I.Comma)}Comma(e){return this.getToken(I.Comma,e)}get ruleIndex(){return I.RULE_formalParameterList}accept(e){return e.visitFormalParameterList?e.visitFormalParameterList(this):e.visitChildren(this)}}class fl extends Qe{constructor(e,n,o){super(n,o),this.parser=e}identifier(){return this.getTypedRuleContext(xn,0)}typeGather(){return this.getTypedRuleContext(Uo,0)}Assign(){return this.getToken(I.Assign,0)}singleExpression(){return this.getTypedRuleContext(Ve,0)}get ruleIndex(){return I.RULE_formalParameterArg}accept(e){return e.visitFormalParameterArg?e.visitFormalParameterArg(this):e.visitChildren(this)}}class Ep extends Qe{constructor(e,n,o){super(n,o),this.parser=e}Method(){return this.getToken(I.Method,0)}identifier(){return this.getTypedRuleContext(xn,0)}arrowMethodParameters(){return this.getTypedRuleContext(Sp,0)}ARROW(){return this.getToken(I.ARROW,0)}block(){return this.getTypedRuleContext(ts,0)}Export(){return this.getToken(I.Export,0)}get ruleIndex(){return I.RULE_arrowMethod}accept(e){return e.visitArrowMethod?e.visitArrowMethod(this):e.visitChildren(this)}}class Sp extends Qe{constructor(e,n,o){super(n,o),this.parser=e}OpenParen(){return this.getToken(I.OpenParen,0)}typeGather(){return this.getTypedRuleContext(Uo,0)}identifier(){return this.getTypedRuleContext(xn,0)}CloseParen(){return this.getToken(I.CloseParen,0)}Comma(){return this.getToken(I.Comma,0)}formalParameterList(){return this.getTypedRuleContext(ll,0)}get ruleIndex(){return I.RULE_arrowMethodParameters}accept(e){return e.visitArrowMethodParameters?e.visitArrowMethodParameters(this):e.visitChildren(this)}}class Tp extends Qe{constructor(e,n,o){super(n,o),this.parser=e}Type(){return this.getToken(I.Type,0)}identifier(){return this.getTypedRuleContext(xn,0)}NEWLINE(){return this.getToken(I.NEWLINE,0)}INDENT(){return this.getToken(I.INDENT,0)}DEDENT(){return this.getToken(I.DEDENT,0)}Export(){return this.getToken(I.Export,0)}typeElement_list(){return this.getTypedRuleContexts(hl)}typeElement(e){return this.getTypedRuleContext(hl,e)}get ruleIndex(){return I.RULE_typeStatement}accept(e){return e.visitTypeStatement?e.visitTypeStatement(this):e.visitChildren(this)}}class hl extends Qe{constructor(e,n,o){super(n,o),this.parser=e}typeGather(){return this.getTypedRuleContext(Uo,0)}identifier(){return this.getTypedRuleContext(xn,0)}NEWLINE(){return this.getToken(I.NEWLINE,0)}Varip(){return this.getToken(I.Varip,0)}Assign(){return this.getToken(I.Assign,0)}singleExpression(){return this.getTypedRuleContext(Ve,0)}get ruleIndex(){return I.RULE_typeElement}accept(e){return e.visitTypeElement?e.visitTypeElement(this):e.visitChildren(this)}}class pl extends Qe{constructor(e,n,o){super(n,o),this.parser=e}ColonEquals(){return this.getToken(I.ColonEquals,0)}MultiplyAssign(){return this.getToken(I.MultiplyAssign,0)}DivideAssign(){return this.getToken(I.DivideAssign,0)}ModulusAssign(){return this.getToken(I.ModulusAssign,0)}PlusAssign(){return this.getToken(I.PlusAssign,0)}MinusAssign(){return this.getToken(I.MinusAssign,0)}get ruleIndex(){return I.RULE_assignmentOperator}accept(e){return e.visitAssignmentOperator?e.visitAssignmentOperator(this):e.visitChildren(this)}}class dl extends Qe{constructor(e,n,o){super(n,o),this.parser=e}Map(){return this.getToken(I.Map,0)}LessThan(){return this.getToken(I.LessThan,0)}Comma(){return this.getToken(I.Comma,0)}typeName_list(){return this.getTypedRuleContexts(hi)}typeName(e){return this.getTypedRuleContext(hi,e)}MoreThan(){return this.getToken(I.MoreThan,0)}get ruleIndex(){return I.RULE_typeMap}accept(e){return e.visitTypeMap?e.visitTypeMap(this):e.visitChildren(this)}}class Ap extends Qe{constructor(e,n,o){super(n,o),this.parser=e}typeName_list(){return this.getTypedRuleContexts(hi)}typeName(e){return this.getTypedRuleContext(hi,e)}typeArray(){return this.getTypedRuleContext(yl,0)}typeMap(){return this.getTypedRuleContext(dl,0)}get ruleIndex(){return I.RULE_typeSeries}accept(e){return e.visitTypeSeries?e.visitTypeSeries(this):e.visitChildren(this)}}class yl extends Qe{constructor(e,n,o){super(n,o),this.parser=e}typeName_list(){return this.getTypedRuleContexts(hi)}typeName(e){return this.getTypedRuleContext(hi,e)}LessThan(){return this.getToken(I.LessThan,0)}MoreThan(){return this.getToken(I.MoreThan,0)}OpenBracket(){return this.getToken(I.OpenBracket,0)}CloseBracket(){return this.getToken(I.CloseBracket,0)}get ruleIndex(){return I.RULE_typeArray}accept(e){return e.visitTypeArray?e.visitTypeArray(this):e.visitChildren(this)}}class Uo extends Qe{constructor(e,n,o){super(n,o),this.parser=e}typeName(){return this.getTypedRuleContext(hi,0)}typeArray(){return this.getTypedRuleContext(yl,0)}typeMap(){return this.getTypedRuleContext(dl,0)}typeSeries(){return this.getTypedRuleContext(Ap,0)}get ruleIndex(){return I.RULE_typeGather}accept(e){return e.visitTypeGather?e.visitTypeGather(this):e.visitChildren(this)}}class xn extends Qe{constructor(e,n,o){super(n,o),this.parser=e}Identifier(){return this.getToken(I.Identifier,0)}Map(){return this.getToken(I.Map,0)}Type(){return this.getToken(I.Type,0)}get ruleIndex(){return I.RULE_identifier}accept(e){return e.visitIdentifier?e.visitIdentifier(this):e.visitChildren(this)}}class hi extends Qe{constructor(e,n,o){super(n,o),this.parser=e}identifier_list(){return this.getTypedRuleContexts(xn)}identifier(e){return this.getTypedRuleContext(xn,e)}Point(){return this.getToken(I.Point,0)}get ruleIndex(){return I.RULE_typeName}accept(e){return e.visitTypeName?e.visitTypeName(this):e.visitChildren(this)}}class au extends Qe{constructor(e,n,o){super(n,o),this.parser=e}identifier_list(){return this.getTypedRuleContexts(xn)}identifier(e){return this.getTypedRuleContext(xn,e)}Point_list(){return this.getTokens(I.Point)}Point(e){return this.getToken(I.Point,e)}methodElement_list(){return this.getTypedRuleContexts(rs)}methodElement(e){return this.getTypedRuleContext(rs,e)}OpenParen(){return this.getToken(I.OpenParen,0)}singleExpression(){return this.getTypedRuleContext(Ve,0)}CloseParen(){return this.getToken(I.CloseParen,0)}get ruleIndex(){return I.RULE_name}accept(e){return e.visitName?e.visitName(this):e.visitChildren(this)}}class Em extends Xy{constructor(n){super(n);w(this,"tokens");w(this,"indents");w(this,"opened");this.tokens=[],this.indents=[],this.opened=0}reset(){this.tokens=[],this.indents=[],this.opened=0,super.reset()}emitToken(n){super.emitToken(n),this.tokens.push(n)}nextToken(){if(this._input.LA(1)===I.EOF&&this.indents.length){for(this.tokens=this.tokens.filter(function(o){return o.type!==I.EOF}),this.emitToken(this.commonToken(I.NEWLINE,`
11
- `));this.indents.length;)this.emitToken(this.createDedent()),this.indents.pop();this.emitToken(this.commonToken(I.EOF,"<EOF>"))}const n=super.nextToken();return this.tokens.length?this.tokens.shift():n}createDedent(){return this.commonToken(I.DEDENT,"")}getCharIndex(){return this._input.index}commonToken(n,o){const u=this.getCharIndex()-1,h=o.length?u-o.length+1:u;return new Gy([this,this._input],n,0,h,u)}getIndentationCount(n){let o=0;for(let u=0;u<n.length;u++)n[u]===" "?o+=4-o%4:o++;return o}atStartOfInput(){return this.getCharIndex()===0}openBrace(){this.opened++}closeBrace(){this.opened--}onNewLine(){const n=this.text.replace(/[^\r\n]+/g,""),o=this.text.replace(/[\r\n]+/g,""),u=this._input.LA(1),h=this._input.LA(2),m=this.getIndentationCount(o);if(this.opened>0||h!=-1&&(u===13||u===10||u===47&&h===47||m%4))this.skip();else{this.emitToken(this.commonToken(I.NEWLINE,n));const _=this.indents.length?this.indents[this.indents.length-1]:0;if(m===_)this.skip();else if(m>_)this.indents.push(m),this.emitToken(this.commonToken(I.INDENT,o));else for(;this.indents.length&&this.indents[this.indents.length-1]>m;)this.emitToken(this.createDedent()),this.indents.pop()}}}const Re=class Re extends Em{constructor(e){super(e),this._interp=new qy(this,Re._ATN,Re.DecisionsToDFA,new op)}get grammarFileName(){return"tccScriptLexer.g4"}get literalNames(){return Re.literalNames}get symbolicNames(){return Re.symbolicNames}get ruleNames(){return Re.ruleNames}get serializedATN(){return Re._serializedATN}get channelNames(){return Re.channelNames}get modeNames(){return Re.modeNames}action(e,n,o){switch(n){case 1:this.OpenBracket_action(e,o);break;case 2:this.CloseBracket_action(e,o);break;case 3:this.OpenParen_action(e,o);break;case 4:this.CloseParen_action(e,o);break;case 56:this.NEWLINE_action(e,o);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,o){switch(n){case 56:return this.NEWLINE_sempred(e,o)}return!0}NEWLINE_sempred(e,n){switch(n){case 0:return this.atStartOfInput()}return!0}static get _ATN(){return Re.__ATN||(Re.__ATN=new rp().deserialize(Re._serializedATN)),Re.__ATN}};w(Re,"INDENT",1),w(Re,"DEDENT",2),w(Re,"Point",3),w(Re,"OpenBracket",4),w(Re,"CloseBracket",5),w(Re,"OpenParen",6),w(Re,"CloseParen",7),w(Re,"Comma",8),w(Re,"Assign",9),w(Re,"QuestionMark",10),w(Re,"Colon",11),w(Re,"Plus",12),w(Re,"Minus",13),w(Re,"Multiply",14),w(Re,"Divide",15),w(Re,"Modulus",16),w(Re,"Hashtag",17),w(Re,"LessThan",18),w(Re,"MoreThan",19),w(Re,"LessThanEquals",20),w(Re,"GreaterThanEquals",21),w(Re,"Equals_",22),w(Re,"NotEquals",23),w(Re,"MultiplyAssign",24),w(Re,"DivideAssign",25),w(Re,"ModulusAssign",26),w(Re,"PlusAssign",27),w(Re,"MinusAssign",28),w(Re,"ARROW",29),w(Re,"ColonEquals",30),w(Re,"BooleanLiteral",31),w(Re,"IntegerLiteral",32),w(Re,"DecimalLiteral",33),w(Re,"Break",34),w(Re,"And",35),w(Re,"Export",36),w(Re,"For",37),w(Re,"Var",38),w(Re,"Continue",39),w(Re,"Varip",40),w(Re,"Switch",41),w(Re,"While",42),w(Re,"If",43),w(Re,"In",44),w(Re,"Or",45),w(Re,"Not",46),w(Re,"Method",47),w(Re,"Else",48),w(Re,"To",49),w(Re,"By",50),w(Re,"Type",51),w(Re,"Import",52),w(Re,"As",53),w(Re,"Map",54),w(Re,"ColorLiteral",55),w(Re,"StringLiteral",56),w(Re,"Identifier",57),w(Re,"SKIP_",58),w(Re,"NEWLINE",59),w(Re,"EOF",ap.EOF),w(Re,"channelNames",["DEFAULT_TOKEN_CHANNEL","HIDDEN"]),w(Re,"literalNames",[null,null,null,"'.'","'['","']'","'('","')'","','","'='","'?'","':'","'+'","'-'","'*'","'/'","'%'","'#'","'<'","'>'","'<='","'>='","'=='","'!='","'*='","'/='","'%='","'+='","'-='","'=>'","':='",null,null,null,"'break'","'and'","'export'","'for'","'var'","'continue'","'varip'","'switch'","'while'","'if'","'in'","'or'","'not'","'method'","'else'","'to'","'by'","'type'","'import'","'as'","'map'"]),w(Re,"symbolicNames",[null,"INDENT","DEDENT","Point","OpenBracket","CloseBracket","OpenParen","CloseParen","Comma","Assign","QuestionMark","Colon","Plus","Minus","Multiply","Divide","Modulus","Hashtag","LessThan","MoreThan","LessThanEquals","GreaterThanEquals","Equals_","NotEquals","MultiplyAssign","DivideAssign","ModulusAssign","PlusAssign","MinusAssign","ARROW","ColonEquals","BooleanLiteral","IntegerLiteral","DecimalLiteral","Break","And","Export","For","Var","Continue","Varip","Switch","While","If","In","Or","Not","Method","Else","To","By","Type","Import","As","Map","ColorLiteral","StringLiteral","Identifier","SKIP_","NEWLINE"]),w(Re,"modeNames",["DEFAULT_MODE"]),w(Re,"ruleNames",["Point","OpenBracket","CloseBracket","OpenParen","CloseParen","Comma","Assign","QuestionMark","Colon","Plus","Minus","Multiply","Divide","Modulus","Hashtag","LessThan","MoreThan","LessThanEquals","GreaterThanEquals","Equals_","NotEquals","MultiplyAssign","DivideAssign","ModulusAssign","PlusAssign","MinusAssign","ARROW","ColonEquals","BooleanLiteral","IntegerLiteral","DecimalLiteral","Break","And","Export","For","Var","Continue","Varip","Switch","While","If","In","Or","Not","Method","Else","To","By","Type","Import","As","Map","ColorLiteral","StringLiteral","Identifier","SKIP_","NEWLINE","SHORT_STRING","DIGIT","DIGITS","HEX_DIGIT","SPACES","COMMENT","EXP"]),w(Re,"_serializedATN",[4,0,59,436,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,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,210,8,28,1,29,1,29,1,30,1,30,1,30,3,30,217,8,30,1,30,1,30,1,30,1,30,3,30,223,8,30,3,30,225,8,30,1,30,3,30,228,8,30,3,30,230,8,30,1,31,1,31,1,31,1,31,1,31,1,31,1,32,1,32,1,32,1,32,1,33,1,33,1,33,1,33,1,33,1,33,1,33,1,34,1,34,1,34,1,34,1,35,1,35,1,35,1,35,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,37,1,37,1,37,1,37,1,37,1,37,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,39,1,39,1,39,1,39,1,39,1,39,1,40,1,40,1,40,1,41,1,41,1,41,1,42,1,42,1,42,1,43,1,43,1,43,1,43,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,45,1,45,1,45,1,45,1,45,1,46,1,46,1,46,1,47,1,47,1,47,1,48,1,48,1,48,1,48,1,48,1,49,1,49,1,49,1,49,1,49,1,49,1,49,1,50,1,50,1,50,1,51,1,51,1,51,1,51,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,3,52,353,8,52,1,53,1,53,1,54,1,54,5,54,359,8,54,10,54,12,54,362,9,54,1,55,1,55,3,55,366,8,55,1,55,1,55,1,56,1,56,1,56,3,56,373,8,56,1,56,1,56,3,56,377,8,56,1,56,3,56,380,8,56,3,56,382,8,56,1,56,1,56,1,57,1,57,1,57,1,57,5,57,390,8,57,10,57,12,57,393,9,57,1,57,1,57,1,57,1,57,1,57,5,57,400,8,57,10,57,12,57,403,9,57,1,57,3,57,406,8,57,1,58,1,58,1,59,4,59,411,8,59,11,59,12,59,412,1,60,1,60,1,61,4,61,418,8,61,11,61,12,61,419,1,62,1,62,1,62,1,62,5,62,426,8,62,10,62,12,62,429,9,62,1,63,1,63,3,63,433,8,63,1,63,1,63,0,0,64,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,0,117,0,119,0,121,0,123,0,125,0,127,0,1,0,10,3,0,65,90,95,95,97,122,4,0,48,57,65,90,95,95,97,122,1,0,39,39,1,0,34,34,1,0,48,57,3,0,48,57,65,70,97,102,2,0,9,9,32,32,2,0,10,10,12,13,2,0,69,69,101,101,2,0,43,43,45,45,450,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,1,129,1,0,0,0,3,131,1,0,0,0,5,134,1,0,0,0,7,137,1,0,0,0,9,140,1,0,0,0,11,143,1,0,0,0,13,145,1,0,0,0,15,147,1,0,0,0,17,149,1,0,0,0,19,151,1,0,0,0,21,153,1,0,0,0,23,155,1,0,0,0,25,157,1,0,0,0,27,159,1,0,0,0,29,161,1,0,0,0,31,163,1,0,0,0,33,165,1,0,0,0,35,167,1,0,0,0,37,170,1,0,0,0,39,173,1,0,0,0,41,176,1,0,0,0,43,179,1,0,0,0,45,182,1,0,0,0,47,185,1,0,0,0,49,188,1,0,0,0,51,191,1,0,0,0,53,194,1,0,0,0,55,197,1,0,0,0,57,209,1,0,0,0,59,211,1,0,0,0,61,229,1,0,0,0,63,231,1,0,0,0,65,237,1,0,0,0,67,241,1,0,0,0,69,248,1,0,0,0,71,252,1,0,0,0,73,256,1,0,0,0,75,265,1,0,0,0,77,271,1,0,0,0,79,278,1,0,0,0,81,284,1,0,0,0,83,287,1,0,0,0,85,290,1,0,0,0,87,293,1,0,0,0,89,297,1,0,0,0,91,304,1,0,0,0,93,309,1,0,0,0,95,312,1,0,0,0,97,315,1,0,0,0,99,320,1,0,0,0,101,327,1,0,0,0,103,330,1,0,0,0,105,352,1,0,0,0,107,354,1,0,0,0,109,356,1,0,0,0,111,365,1,0,0,0,113,381,1,0,0,0,115,405,1,0,0,0,117,407,1,0,0,0,119,410,1,0,0,0,121,414,1,0,0,0,123,417,1,0,0,0,125,421,1,0,0,0,127,430,1,0,0,0,129,130,5,46,0,0,130,2,1,0,0,0,131,132,5,91,0,0,132,133,6,1,0,0,133,4,1,0,0,0,134,135,5,93,0,0,135,136,6,2,1,0,136,6,1,0,0,0,137,138,5,40,0,0,138,139,6,3,2,0,139,8,1,0,0,0,140,141,5,41,0,0,141,142,6,4,3,0,142,10,1,0,0,0,143,144,5,44,0,0,144,12,1,0,0,0,145,146,5,61,0,0,146,14,1,0,0,0,147,148,5,63,0,0,148,16,1,0,0,0,149,150,5,58,0,0,150,18,1,0,0,0,151,152,5,43,0,0,152,20,1,0,0,0,153,154,5,45,0,0,154,22,1,0,0,0,155,156,5,42,0,0,156,24,1,0,0,0,157,158,5,47,0,0,158,26,1,0,0,0,159,160,5,37,0,0,160,28,1,0,0,0,161,162,5,35,0,0,162,30,1,0,0,0,163,164,5,60,0,0,164,32,1,0,0,0,165,166,5,62,0,0,166,34,1,0,0,0,167,168,5,60,0,0,168,169,5,61,0,0,169,36,1,0,0,0,170,171,5,62,0,0,171,172,5,61,0,0,172,38,1,0,0,0,173,174,5,61,0,0,174,175,5,61,0,0,175,40,1,0,0,0,176,177,5,33,0,0,177,178,5,61,0,0,178,42,1,0,0,0,179,180,5,42,0,0,180,181,5,61,0,0,181,44,1,0,0,0,182,183,5,47,0,0,183,184,5,61,0,0,184,46,1,0,0,0,185,186,5,37,0,0,186,187,5,61,0,0,187,48,1,0,0,0,188,189,5,43,0,0,189,190,5,61,0,0,190,50,1,0,0,0,191,192,5,45,0,0,192,193,5,61,0,0,193,52,1,0,0,0,194,195,5,61,0,0,195,196,5,62,0,0,196,54,1,0,0,0,197,198,5,58,0,0,198,199,5,61,0,0,199,56,1,0,0,0,200,201,5,116,0,0,201,202,5,114,0,0,202,203,5,117,0,0,203,210,5,101,0,0,204,205,5,102,0,0,205,206,5,97,0,0,206,207,5,108,0,0,207,208,5,115,0,0,208,210,5,101,0,0,209,200,1,0,0,0,209,204,1,0,0,0,210,58,1,0,0,0,211,212,3,119,59,0,212,60,1,0,0,0,213,214,5,46,0,0,214,216,3,119,59,0,215,217,3,127,63,0,216,215,1,0,0,0,216,217,1,0,0,0,217,230,1,0,0,0,218,227,3,119,59,0,219,224,5,46,0,0,220,222,3,119,59,0,221,223,3,127,63,0,222,221,1,0,0,0,222,223,1,0,0,0,223,225,1,0,0,0,224,220,1,0,0,0,224,225,1,0,0,0,225,228,1,0,0,0,226,228,3,127,63,0,227,219,1,0,0,0,227,226,1,0,0,0,228,230,1,0,0,0,229,213,1,0,0,0,229,218,1,0,0,0,230,62,1,0,0,0,231,232,5,98,0,0,232,233,5,114,0,0,233,234,5,101,0,0,234,235,5,97,0,0,235,236,5,107,0,0,236,64,1,0,0,0,237,238,5,97,0,0,238,239,5,110,0,0,239,240,5,100,0,0,240,66,1,0,0,0,241,242,5,101,0,0,242,243,5,120,0,0,243,244,5,112,0,0,244,245,5,111,0,0,245,246,5,114,0,0,246,247,5,116,0,0,247,68,1,0,0,0,248,249,5,102,0,0,249,250,5,111,0,0,250,251,5,114,0,0,251,70,1,0,0,0,252,253,5,118,0,0,253,254,5,97,0,0,254,255,5,114,0,0,255,72,1,0,0,0,256,257,5,99,0,0,257,258,5,111,0,0,258,259,5,110,0,0,259,260,5,116,0,0,260,261,5,105,0,0,261,262,5,110,0,0,262,263,5,117,0,0,263,264,5,101,0,0,264,74,1,0,0,0,265,266,5,118,0,0,266,267,5,97,0,0,267,268,5,114,0,0,268,269,5,105,0,0,269,270,5,112,0,0,270,76,1,0,0,0,271,272,5,115,0,0,272,273,5,119,0,0,273,274,5,105,0,0,274,275,5,116,0,0,275,276,5,99,0,0,276,277,5,104,0,0,277,78,1,0,0,0,278,279,5,119,0,0,279,280,5,104,0,0,280,281,5,105,0,0,281,282,5,108,0,0,282,283,5,101,0,0,283,80,1,0,0,0,284,285,5,105,0,0,285,286,5,102,0,0,286,82,1,0,0,0,287,288,5,105,0,0,288,289,5,110,0,0,289,84,1,0,0,0,290,291,5,111,0,0,291,292,5,114,0,0,292,86,1,0,0,0,293,294,5,110,0,0,294,295,5,111,0,0,295,296,5,116,0,0,296,88,1,0,0,0,297,298,5,109,0,0,298,299,5,101,0,0,299,300,5,116,0,0,300,301,5,104,0,0,301,302,5,111,0,0,302,303,5,100,0,0,303,90,1,0,0,0,304,305,5,101,0,0,305,306,5,108,0,0,306,307,5,115,0,0,307,308,5,101,0,0,308,92,1,0,0,0,309,310,5,116,0,0,310,311,5,111,0,0,311,94,1,0,0,0,312,313,5,98,0,0,313,314,5,121,0,0,314,96,1,0,0,0,315,316,5,116,0,0,316,317,5,121,0,0,317,318,5,112,0,0,318,319,5,101,0,0,319,98,1,0,0,0,320,321,5,105,0,0,321,322,5,109,0,0,322,323,5,112,0,0,323,324,5,111,0,0,324,325,5,114,0,0,325,326,5,116,0,0,326,100,1,0,0,0,327,328,5,97,0,0,328,329,5,115,0,0,329,102,1,0,0,0,330,331,5,109,0,0,331,332,5,97,0,0,332,333,5,112,0,0,333,104,1,0,0,0,334,335,5,35,0,0,335,336,3,121,60,0,336,337,3,121,60,0,337,338,3,121,60,0,338,339,3,121,60,0,339,340,3,121,60,0,340,341,3,121,60,0,341,353,1,0,0,0,342,343,5,35,0,0,343,344,3,121,60,0,344,345,3,121,60,0,345,346,3,121,60,0,346,347,3,121,60,0,347,348,3,121,60,0,348,349,3,121,60,0,349,350,3,121,60,0,350,351,3,121,60,0,351,353,1,0,0,0,352,334,1,0,0,0,352,342,1,0,0,0,353,106,1,0,0,0,354,355,3,115,57,0,355,108,1,0,0,0,356,360,7,0,0,0,357,359,7,1,0,0,358,357,1,0,0,0,359,362,1,0,0,0,360,358,1,0,0,0,360,361,1,0,0,0,361,110,1,0,0,0,362,360,1,0,0,0,363,366,3,123,61,0,364,366,3,125,62,0,365,363,1,0,0,0,365,364,1,0,0,0,366,367,1,0,0,0,367,368,6,55,4,0,368,112,1,0,0,0,369,370,4,56,0,0,370,382,3,123,61,0,371,373,5,13,0,0,372,371,1,0,0,0,372,373,1,0,0,0,373,374,1,0,0,0,374,377,5,10,0,0,375,377,2,12,13,0,376,372,1,0,0,0,376,375,1,0,0,0,377,379,1,0,0,0,378,380,3,123,61,0,379,378,1,0,0,0,379,380,1,0,0,0,380,382,1,0,0,0,381,369,1,0,0,0,381,376,1,0,0,0,382,383,1,0,0,0,383,384,6,56,5,0,384,114,1,0,0,0,385,391,5,39,0,0,386,390,8,2,0,0,387,388,5,92,0,0,388,390,5,39,0,0,389,386,1,0,0,0,389,387,1,0,0,0,390,393,1,0,0,0,391,389,1,0,0,0,391,392,1,0,0,0,392,394,1,0,0,0,393,391,1,0,0,0,394,406,5,39,0,0,395,401,5,34,0,0,396,400,8,3,0,0,397,398,5,92,0,0,398,400,5,34,0,0,399,396,1,0,0,0,399,397,1,0,0,0,400,403,1,0,0,0,401,399,1,0,0,0,401,402,1,0,0,0,402,404,1,0,0,0,403,401,1,0,0,0,404,406,5,34,0,0,405,385,1,0,0,0,405,395,1,0,0,0,406,116,1,0,0,0,407,408,7,4,0,0,408,118,1,0,0,0,409,411,3,117,58,0,410,409,1,0,0,0,411,412,1,0,0,0,412,410,1,0,0,0,412,413,1,0,0,0,413,120,1,0,0,0,414,415,7,5,0,0,415,122,1,0,0,0,416,418,7,6,0,0,417,416,1,0,0,0,418,419,1,0,0,0,419,417,1,0,0,0,419,420,1,0,0,0,420,124,1,0,0,0,421,422,5,47,0,0,422,423,5,47,0,0,423,427,1,0,0,0,424,426,8,7,0,0,425,424,1,0,0,0,426,429,1,0,0,0,427,425,1,0,0,0,427,428,1,0,0,0,428,126,1,0,0,0,429,427,1,0,0,0,430,432,7,8,0,0,431,433,7,9,0,0,432,431,1,0,0,0,432,433,1,0,0,0,433,434,1,0,0,0,434,435,3,119,59,0,435,128,1,0,0,0,23,0,209,216,222,224,227,229,352,360,365,372,376,379,381,389,391,399,401,405,412,419,427,432,6,1,1,0,1,2,1,1,3,2,1,4,3,6,0,0,1,56,4]),w(Re,"__ATN"),w(Re,"DecisionsToDFA",Re._ATN.decisionToState.map((e,n)=>new ip(e,n)));let ml=Re;var W=(t=>(t.BOOL="bool",t.INT="int",t.FLOAT="float",t.ARRAY="array",t.BOX="box",t.CHART_POINT="chart.point",t.COLOR="color",t.CONST="const",t.LABEL="label",t.LINE="line",t.LINEFILL="linefill",t.MAP="map",t.MATRIX="matrix",t.POLYLINE="polyline",t.SERIES="series",t.SIMPLE="simple",t.STRING="string",t.TABLE="table",t.UNDETERMINED="undetermined type",t.INPUT="input",t.NA="na",t.VOID="void",t))(W||{}),Oe=(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))(Oe||{});const Pe={onlyInLoop:"'$text' is only allowed inside loops",invalidType:"Invalid argument 'expr$index' in 'operator SQBR' call",typeUseError:"Cannot specify a type form '$text' without also specifying the type.",notTypeKeyword:"'$text' is not a valid type keyword in variable declaration",undeclared:"Undeclared identifier '$name'",repeatVar:"'$name' is already defined",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",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 undefined object. The object is 'na'."},Ri={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"},wi=[W.SERIES,W.SIMPLE,W.INPUT,W.CONST],Sm=[W.INT,W.FLOAT,W.BOOL,W.COLOR,W.STRING],_l=["indicator","strategy","library"],Tm=["plot","plotbar","plotchar","plotarrow","plotshape","plotcandle","hline","indicator","alertcondition","barcolor","bgcolor","fill","library","strategy"],Am=["strategy","input","table","color","line","linefill","label","box"],xp=["close","open","high","low","hl2","hlc3","hlcc4","ohlc4","volume"];var Op=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},xm={exports:{}};(function(t,e){(function(n,o){t.exports=o()})(Op,function(){var n=1e3,o=6e4,u=36e5,h="millisecond",m="second",_="minute",T="hour",x="day",P="week",A="month",F="quarter",$="year",V="date",b="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,D={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(ye){var te=["th","st","nd","rd"],he=ye%100;return"["+ye+(te[(he-20)%10]||te[he]||te[0])+"]"}},R=function(ye,te,he){var le=String(ye);return!le||le.length>=te?ye:""+Array(te+1-le.length).join(he)+ye},O={s:R,z:function(ye){var te=-ye.utcOffset(),he=Math.abs(te),le=Math.floor(he/60),Ae=he%60;return(te<=0?"+":"-")+R(le,2,"0")+":"+R(Ae,2,"0")},m:function ye(te,he){if(te.date()<he.date())return-ye(he,te);var le=12*(he.year()-te.year())+(he.month()-te.month()),Ae=te.clone().add(le,A),we=he-Ae<0,_e=te.clone().add(le+(we?-1:1),A);return+(-(le+(he-Ae)/(we?Ae-_e:_e-Ae))||0)},a:function(ye){return ye<0?Math.ceil(ye)||0:Math.floor(ye)},p:function(ye){return{M:A,y:$,w:P,d:x,D:V,h:T,m:_,s:m,ms:h,Q:F}[ye]||String(ye||"").toLowerCase().replace(/s$/,"")},u:function(ye){return ye===void 0}},U="en",X={};X[U]=D;var ue="$isDayjsObject",K=function(ye){return ye instanceof Q||!(!ye||!ye[ue])},Y=function ye(te,he,le){var Ae;if(!te)return U;if(typeof te=="string"){var we=te.toLowerCase();X[we]&&(Ae=we),he&&(X[we]=he,Ae=we);var _e=te.split("-");if(!Ae&&_e.length>1)return ye(_e[0])}else{var Ue=te.name;X[Ue]=te,Ae=Ue}return!le&&Ae&&(U=Ae),Ae||!le&&U},G=function(ye,te){if(K(ye))return ye.clone();var he=typeof te=="object"?te:{};return he.date=ye,he.args=arguments,new Q(he)},ce=O;ce.l=Y,ce.i=K,ce.w=function(ye,te){return G(ye,{locale:te.$L,utc:te.$u,x:te.$x,$offset:te.$offset})};var Q=function(){function ye(he){this.$L=Y(he.locale,null,!0),this.parse(he),this.$x=this.$x||he.x||{},this[ue]=!0}var te=ye.prototype;return te.parse=function(he){this.$d=function(le){var Ae=le.date,we=le.utc;if(Ae===null)return new Date(NaN);if(ce.u(Ae))return new Date;if(Ae instanceof Date)return new Date(Ae);if(typeof Ae=="string"&&!/Z$/i.test(Ae)){var _e=Ae.match(y);if(_e){var Ue=_e[2]-1||0,J=(_e[7]||"0").substring(0,3);return we?new Date(Date.UTC(_e[1],Ue,_e[3]||1,_e[4]||0,_e[5]||0,_e[6]||0,J)):new Date(_e[1],Ue,_e[3]||1,_e[4]||0,_e[5]||0,_e[6]||0,J)}}return new Date(Ae)}(he),this.init()},te.init=function(){var he=this.$d;this.$y=he.getFullYear(),this.$M=he.getMonth(),this.$D=he.getDate(),this.$W=he.getDay(),this.$H=he.getHours(),this.$m=he.getMinutes(),this.$s=he.getSeconds(),this.$ms=he.getMilliseconds()},te.$utils=function(){return ce},te.isValid=function(){return this.$d.toString()!==b},te.isSame=function(he,le){var Ae=G(he);return this.startOf(le)<=Ae&&Ae<=this.endOf(le)},te.isAfter=function(he,le){return G(he)<this.startOf(le)},te.isBefore=function(he,le){return this.endOf(le)<G(he)},te.$g=function(he,le,Ae){return ce.u(he)?this[le]:this.set(Ae,he)},te.unix=function(){return Math.floor(this.valueOf()/1e3)},te.valueOf=function(){return this.$d.getTime()},te.startOf=function(he,le){var Ae=this,we=!!ce.u(le)||le,_e=ce.p(he),Ue=function(Et,Lt){var gt=ce.w(Ae.$u?Date.UTC(Ae.$y,Lt,Et):new Date(Ae.$y,Lt,Et),Ae);return we?gt:gt.endOf(x)},J=function(Et,Lt){return ce.w(Ae.toDate()[Et].apply(Ae.toDate("s"),(we?[0,0,0,0]:[23,59,59,999]).slice(Lt)),Ae)},ne=this.$W,ae=this.$M,Ee=this.$D,me="set"+(this.$u?"UTC":"");switch(_e){case $:return we?Ue(1,0):Ue(31,11);case A:return we?Ue(1,ae):Ue(0,ae+1);case P:var At=this.$locale().weekStart||0,jt=(ne<At?ne+7:ne)-At;return Ue(we?Ee-jt:Ee+(6-jt),ae);case x:case V:return J(me+"Hours",0);case T:return J(me+"Minutes",1);case _:return J(me+"Seconds",2);case m:return J(me+"Milliseconds",3);default:return this.clone()}},te.endOf=function(he){return this.startOf(he,!1)},te.$set=function(he,le){var Ae,we=ce.p(he),_e="set"+(this.$u?"UTC":""),Ue=(Ae={},Ae[x]=_e+"Date",Ae[V]=_e+"Date",Ae[A]=_e+"Month",Ae[$]=_e+"FullYear",Ae[T]=_e+"Hours",Ae[_]=_e+"Minutes",Ae[m]=_e+"Seconds",Ae[h]=_e+"Milliseconds",Ae)[we],J=we===x?this.$D+(le-this.$W):le;if(we===A||we===$){var ne=this.clone().set(V,1);ne.$d[Ue](J),ne.init(),this.$d=ne.set(V,Math.min(this.$D,ne.daysInMonth())).$d}else Ue&&this.$d[Ue](J);return this.init(),this},te.set=function(he,le){return this.clone().$set(he,le)},te.get=function(he){return this[ce.p(he)]()},te.add=function(he,le){var Ae,we=this;he=Number(he);var _e=ce.p(le),Ue=function(ae){var Ee=G(we);return ce.w(Ee.date(Ee.date()+Math.round(ae*he)),we)};if(_e===A)return this.set(A,this.$M+he);if(_e===$)return this.set($,this.$y+he);if(_e===x)return Ue(1);if(_e===P)return Ue(7);var J=(Ae={},Ae[_]=o,Ae[T]=u,Ae[m]=n,Ae)[_e]||1,ne=this.$d.getTime()+he*J;return ce.w(ne,this)},te.subtract=function(he,le){return this.add(-1*he,le)},te.format=function(he){var le=this,Ae=this.$locale();if(!this.isValid())return Ae.invalidDate||b;var we=he||"YYYY-MM-DDTHH:mm:ssZ",_e=ce.z(this),Ue=this.$H,J=this.$m,ne=this.$M,ae=Ae.weekdays,Ee=Ae.months,me=Ae.meridiem,At=function(Lt,gt,Dt,Jt){return Lt&&(Lt[gt]||Lt(le,we))||Dt[gt].slice(0,Jt)},jt=function(Lt){return ce.s(Ue%12||12,Lt,"0")},Et=me||function(Lt,gt,Dt){var Jt=Lt<12?"AM":"PM";return Dt?Jt.toLowerCase():Jt};return we.replace(g,function(Lt,gt){return gt||function(Dt){switch(Dt){case"YY":return String(le.$y).slice(-2);case"YYYY":return ce.s(le.$y,4,"0");case"M":return ne+1;case"MM":return ce.s(ne+1,2,"0");case"MMM":return At(Ae.monthsShort,ne,Ee,3);case"MMMM":return At(Ee,ne);case"D":return le.$D;case"DD":return ce.s(le.$D,2,"0");case"d":return String(le.$W);case"dd":return At(Ae.weekdaysMin,le.$W,ae,2);case"ddd":return At(Ae.weekdaysShort,le.$W,ae,3);case"dddd":return ae[le.$W];case"H":return String(Ue);case"HH":return ce.s(Ue,2,"0");case"h":return jt(1);case"hh":return jt(2);case"a":return Et(Ue,J,!0);case"A":return Et(Ue,J,!1);case"m":return String(J);case"mm":return ce.s(J,2,"0");case"s":return String(le.$s);case"ss":return ce.s(le.$s,2,"0");case"SSS":return ce.s(le.$ms,3,"0");case"Z":return _e}return null}(Lt)||_e.replace(":","")})},te.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},te.diff=function(he,le,Ae){var we,_e=this,Ue=ce.p(le),J=G(he),ne=(J.utcOffset()-this.utcOffset())*o,ae=this-J,Ee=function(){return ce.m(_e,J)};switch(Ue){case $:we=Ee()/12;break;case A:we=Ee();break;case F:we=Ee()/3;break;case P:we=(ae-ne)/6048e5;break;case x:we=(ae-ne)/864e5;break;case T:we=ae/u;break;case _:we=ae/o;break;case m:we=ae/n;break;default:we=ae}return Ae?we:ce.a(we)},te.daysInMonth=function(){return this.endOf(A).$D},te.$locale=function(){return X[this.$L]},te.locale=function(he,le){if(!he)return this.$L;var Ae=this.clone(),we=Y(he,le,!0);return we&&(Ae.$L=we),Ae},te.clone=function(){return ce.w(this.$d,this)},te.toDate=function(){return new Date(this.valueOf())},te.toJSON=function(){return this.isValid()?this.toISOString():null},te.toISOString=function(){return this.$d.toISOString()},te.toString=function(){return this.$d.toUTCString()},ye}(),de=Q.prototype;return G.prototype=de,[["$ms",h],["$s",m],["$m",_],["$H",T],["$W",x],["$M",A],["$y",$],["$D",V]].forEach(function(ye){de[ye[1]]=function(te){return this.$g(te,ye[0],ye[1])}}),G.extend=function(ye,te){return ye.$i||(ye(te,Q,G),ye.$i=!0),G},G.locale=Y,G.isDayjs=K,G.unix=function(ye){return G(1e3*ye)},G.en=X[U],G.Ls=X,G.p={},G})})(xm);function Ne(t,e){return t.replace(/\$(\w+)/g,(n,o)=>String(e[o])||n)}class Om extends Yy{constructor(){super(...arguments);w(this,"visitProgram");w(this,"visitGlobalStmt");w(this,"visitBlockStmt");w(this,"visitStmt");w(this,"visitSimpleStmt");w(this,"visitFlowStmt");w(this,"visitBlock");w(this,"visitBlockLine");w(this,"visitVariableDeclarationStmt");w(this,"visitDeclareAssign");w(this,"visitAgainAssign");w(this,"visitVarModifier");w(this,"visitBlockSequence");w(this,"visitExpressionSequence");w(this,"visitExpressionBlockSequence");w(this,"visitVarBlockStmt");w(this,"visitVarSingle");w(this,"visitVarMultiple");w(this,"visitBlockExpression");w(this,"visitParenthesizedExpression");w(this,"visitAdditiveExpression");w(this,"visitRelationalExpression");w(this,"visitTernaryExpression");w(this,"visitLogicalAndExpression");w(this,"visitNameExpression");w(this,"visitLiteralExpression");w(this,"visitLogicalOrExpression");w(this,"visitUnaryExpression");w(this,"visitNotExpression");w(this,"visitMemberIndexExpression");w(this,"visitMethodExpression");w(this,"visitEqualityExpression");w(this,"visitMultiplicativeExpression");w(this,"visitBrackethesized");w(this,"visitArguments");w(this,"visitArgument");w(this,"visitIfStatement");w(this,"visitForToStatement");w(this,"visitForInStatement");w(this,"visitSwitchStatement");w(this,"visitCaseClause");w(this,"visitDefaultCaluse");w(this,"visitWhileStatement");w(this,"visitImportStmt");w(this,"visitImportElement");w(this,"visitLiteral");w(this,"visitMethodStmt");w(this,"visitMethodElement");w(this,"visitMethodName");w(this,"visitArrowFunction");w(this,"visitArrowFunctionParameters");w(this,"visitFormalParameterList");w(this,"visitFormalParameterArg");w(this,"visitArrowMethod");w(this,"visitArrowMethodParameters");w(this,"visitTypeStatement");w(this,"visitTypeElement");w(this,"visitAssignmentOperator");w(this,"visitTypeMap");w(this,"visitTypeSeries");w(this,"visitTypeArray");w(this,"visitTypeGather");w(this,"visitIdentifier");w(this,"visitTypeName");w(this,"visitName")}}class Dm extends Om{constructor(n){super();w(this,"_buildinVariables");w(this,"_buildinTypes");w(this,"_buildinConstants");w(this,"_buildinMethods");w(this,"_buildinFunctions");this._buildinVariables=new Map,this._buildinConstants=new Map,this._buildinFunctions=new Map,this._buildinTypes=new Map,this._buildinMethods=new Map,this._buildinHandle(n)}_buildinHandle(n){for(const o in n){const u=new Map(Object.entries(n[o]));switch(o){case"constants":this._buildinConstants=u;break;case"functions":this._buildinFunctions=u;break;case"methods":this._buildinMethods=u;break;case"types":this._buildinTypes=u;break;case"variables":this._buildinVariables=u;break}}}_typeHandle(n=[],o){if(!n.length)return W.UNDETERMINED;if(n=n.filter(m=>!m.endsWith(W.NA)),!n.length)return`${W.SIMPLE} ${W.NA}`;let u=100,h="";for(const m of n){if(m===W.UNDETERMINED)return W.UNDETERMINED;m.startsWith(W.SERIES)?u=0:m.startsWith(W.SIMPLE)&&u>0?u=1:m.startsWith(W.INPUT)&&u>1?u=2:m.startsWith(W.CONST)&&u>2&&(u=3);const _=this._removePrefix(m);(_!==W.INT||!h)&&(h=_)}return u===100?h:`${wi[u]} ${o||h}`}_returnTypesOtherHandle(n,o,u,h){if(!u.length||u[0].includes("<>")){const m=n.type;let _=m;if(!m||m===W.UNDETERMINED)return[W.UNDETERMINED];switch(o){case"series <type>":_=this._getArrayType(m),_||(_=this._removePrefix(m)),u=[this._typeAddSeries(_)];break;case"array<type>":case"matrix<type>":case"type[]":if(this._isMapType(m)){const T=this._getMapType(m)||[];h.includes("keys")?_=T[0]:_=T[1]}else _=this._getArrayType(m),_||(_=this._removePrefix(m));u=[this._typeReplace(o,_)];break;case"<matrix_type>":_=this._getArrayType(m),u=[this._typeAddSeries(_)];break;case"map<keyType, valueType>":u=[_];break;case"<value_type>":_=this._getMapType(m),u=_[1];break}}return u}_checkMethodThisType(n,o){if(!n||!n.length||n[0].includes("<>"))return!0;o=this._removePrefix(o);const u=o.replace("int","float");return n.some(h=>h===o||u===h||h.endsWith(o))}_priorityComparison(n,o){if(!n)return!1;if(this._isArrayType(n)||this._isMatrixType(n))return this._getArrayType(o)!==W.INT;{const u=this._getPrefix(n),h=this._getPrefix(o);return u===h?!!n.endsWith(W.INT):!(wi.indexOf(u)<wi.indexOf(h))}}_compareType(n,o){if(n===W.UNDETERMINED||o===W.UNDETERMINED)return!0;const u=[W.FLOAT,W.INT];if(this._isArrayType(n)||this._isMatrixType(n)){const h=this._getArrayType(n)||"",m=this._getArrayType(o)||"";return h===m||u.includes(h)&&u.includes(m)}else if(this._isMapType(n)){const h=this._getMapType(n)||[],m=this._getMapType(o)||[];return(h[0]===m[0]||u.includes(h[0])&&u.includes(m[0]))&&(h[1]===m[1]||u.includes(h[1])&&u.includes(m[1]))}else{const h=this._removePrefix(n),m=this._removePrefix(o);return h===W.NA||m===W.NA||h===m||u.includes(h)&&u.includes(m)}}_typeAddSeries(n){return this._buildinTypes.get(n)&&n!==W.CHART_POINT?`${W.SERIES} ${n}`:n}_typeAddConst(n){return this._buildinTypes.get(n)&&n!==W.CHART_POINT?`${W.CONST} ${n}`:n}_getOriginMethodName(n,o){let u="";return this._isArrayType(n)?u=`${W.ARRAY}.${o}`:this._isMatrixType(n)?u=`${W.MATRIX}.${o}`:this._isMapType(n)?u=`${W.MAP}.${o}`:u=`${this._removePrefix(n)}.${o}`,u}_returnedTypesParse(n){if(!n||!n.length)return[];const o=n[0];return/^\[.+\]$/.test(o)?o.replace(/[[\]]/g,"").split(",").map(u=>u.trim()):n}_removePrefix(n=""){return n.replace(/(series|simple|const|input)\s+([\w\d.]+)/,"$2")}_getPrefix(n){if(!n)return"";const o=n.replace(/(series|simple|const|input).+/,"$1");return wi.includes(o)?o:""}_getArrayType(n){let o=/\w+<([\w\d.]+)>/.exec(n);return o||(o=/([\w\d.]+)\[\]/.exec(n)),o==null?void 0:o[1]}_getMapType(n){const o=/\w+<(\w+),\s*([\w\d.]+)>/.exec(n);return(o==null?void 0:o[1])&&(o==null?void 0:o[2])&&[o==null?void 0:o[1],o==null?void 0:o[2]]}_isMatrixType(n){return/^matrix<[\w\d.]+>$/.test(n)}_isArrayType(n){return/^array<[\w\d.]+>$/.test(n)||/^[\w\d.]+\[\]$/.test(n)}_isMapType(n){return/^map<\w+,\s*[\w\d.]+>$/.test(n)}_arrayTypeConvert(n){return!this._isArrayType(n)||!n.includes("<")?n:`${this._getArrayType(n)}[]`}_getMethodTypeName(n){return this._isArrayType(n)?W.ARRAY:this._isMapType(n)?W.MAP:this._isMatrixType(n)?W.MATRIX:this._removePrefix(n)}_typeReplace(n,o){return o=this._removePrefix(o),this._arrayTypeConvert(n.startsWith(W.SERIES)?n.replace("<type>",o):n.replace("type",o))}}var $r=(t=>(t[t.Hint=1]="Hint",t[t.Info=2]="Info",t[t.Warning=4]="Warning",t[t.Error=8]="Error",t))($r||{});class Cm extends Dm{constructor(n){super(n);w(this,"_loopCount");w(this,"_errors");w(this,"_variables");w(this,"_functions");w(this,"_methods");w(this,"_types");w(this,"_currentBlockVars");w(this,"_currentFuncParams");w(this,"_isNeedCalc");w(this,"_blockCount");w(this,"_isInFunc");w(this,"_onlyStatementsCount");w(this,"_blockRanges");w(this,"_overloadsFuncs");w(this,"_hasMemberIndex");w(this,"_isInLocalScop");w(this,"visitProgram",n=>{const{children:o}=n;let u=0;const h=[];for(this._pushBlockRanges(n);u<o.length;u++){const m=o[u];m.ruleIndex===I.RULE_globalStmt&&h.push(this.visit(m))}return this._onlyStatementsCount<=0&&this._errors.push({startColumn:0,endColumn:0,startLineNumber:1,endLineNumber:1,message:Ne(Pe.onlyStatementErr,{count:this._onlyStatementsCount})}),h});w(this,"visitGlobalStmt",n=>{const{children:o}=n;if(o&&o.length){const u=o[0],h=this.visit(u);return u.ruleIndex===I.RULE_methodStmt&&_l.includes(h.exprs[0].name)&&(this._onlyStatementsCount++,this._onlyStatementsCount>1&&this._errorHandle(Ne(Pe.onlyStatementErr,{count:this._onlyStatementsCount}),u)),h}return null});w(this,"visitBlockStmt",n=>{const{children:o}=n;let u=0;const h=[];for(;u<o.length;u++){const m=o[u];switch(m.ruleIndex){case I.RULE_variableDeclarationStmt:h.push(...this.visit(m));break;case I.RULE_varBlockStmt:h.push(this.visit(m));break;case I.RULE_blockExpression:h.push(this.visit(m));break}}return h});w(this,"visitStmt",n=>{const{children:o}=n;if(o&&o.length){const u=o[0];return this.visit(u)}return null});w(this,"visitSimpleStmt",n=>{const{children:o}=n;if(o&&o.length){const u=o[0];return this.visit(u)}return null});w(this,"visitFlowStmt",n=>{const{children:o}=n,{column:u,line:h,text:m}=o[0].symbol;if(this._loopCount<=0){const _=u+1;this._errors.push({startColumn:_,endColumn:parseInt(_+m.length),startLineNumber:h,endLineNumber:h,message:Ne(Pe.onlyInLoop,{text:m})})}return{ruleType:Oe.FlowStmt,value:m}});w(this,"visitBlock",n=>{const{children:o}=n;if(o&&o.length){const u=o[0];return u.ruleIndex===I.RULE_simpleStmt?this._inBlock(u):this.visit(u)}return null});w(this,"visitBlockLine",n=>{const{children:o}=n;if(!o)return null;let u=0;const h=[];for(this._blockCount++,this._pushBlockRanges(n);u<o.length;u++){const m=o[u];m.ruleIndex===I.RULE_stmt&&h.push(this.visit(m))}return this._blockCount--,this._blockRanges.pop(),this._currentBlockVars.splice(this._blockCount+1),h});w(this,"visitDeclareAssign",n=>{const{children:o}=n;let u=0;const h={ruleType:Oe.DeclareAssign};for(;u<o.length;u++){const m=o[u];switch(m.ruleIndex){case I.RULE_varArrayDeclaration:h.nameList=this.visit(m);break;case I.RULE_singleExpression:h.value=this.visit(m);break}}return this._variablesHandle(h,n),h});w(this,"visitAgainAssign",n=>{const{children:o}=n;if(o.length>=3){const u=this.visit(o[0]);this._verifyGloablVar(u,o[0]);const h=this.visit(o[2]),m=this.visit(o[1]);return u.type?this._againAssignHandle([u,h],[o[0],o[2]],m):null}return null});w(this,"visitVarModifier",n=>{const{children:o}=n;return o[0].symbol.text});w(this,"visitExpressionSequence",n=>{const{children:o}=n;let u=0;const h=[];for(;u<o.length;u++){const m=o[u];if(m.ruleIndex===I.RULE_singleExpression){const _=this.visit(m);_&&(_.ctx=m,h.push(_))}}return h});w(this,"visitExpressionBlockSequence",n=>{const{children:o}=n;let u=0;const h=[];for(;u<o.length;u++){const m=o[u];switch(m.ruleIndex){case I.RULE_singleExpression:h.push(this.visit(m));break;case I.RULE_variableDeclarationList:h.push(this.visit(m));break;case I.RULE_blockExpression:h.push(this.visit(m));break;case I.RULE_varBlockStmt:h.push(this.visit(m));break}}return h});w(this,"visitBlockSequence",n=>{const{children:o}=n;let u=0;const h=[];for(;u<o.length;u++){const m=o[u];switch(m.ruleIndex){case I.RULE_variableDeclarationList:h.push(this.visit(m));break;case I.RULE_singleExpression:h.push(this.visit(m));break}}return h});w(this,"visitVariableDeclarationStmt",n=>{const{children:o}=n;let u=0;const h=[];for(;u<o.length;u++){const m=o[u];switch(m.ruleIndex){case I.RULE_variableDeclarationList:h.push(this.visit(m));break;case I.RULE_methodStmt:const _=this.visit(m);_l.includes(_.exprs[0].name)&&(this._onlyStatementsCount++,this._onlyStatementsCount>1&&this._errorHandle(Ne(Pe.onlyStatementErr,{count:this._onlyStatementsCount}),m)),h.push(_);break}}return h});w(this,"visitVarBlockStmt",n=>{const{children:o}=n;let u=0;const h={ruleType:Oe.VarBlockStmt,ctx:n},m=[];for(;u<o.length;u++){const _=o[u];switch(_.ruleIndex){case I.RULE_varArrayDeclaration:h.nameList=this.visit(_);break;case I.RULE_assignmentOperator:h.operator=this.visit(_);break;case I.RULE_name:m.push(_),h.name=this.visit(_);break;case I.RULE_blockExpression:this._isNeedCalc=!0,h.value=this.visit(_),m.push(_);const T=this._getBlockReturnTypes(h.value);T.length===1?h.value.type=T[0]:h.value.types=T,this._isNeedCalc=!1;break}}return h.name?this._againAssignHandle([h.name,h.value],m,h.operator):(this._variablesHandle(h,n),h)});w(this,"visitVarSingle",n=>{const{children:o}=n,u={ruleType:Oe.VarSingle};let h=0,m={lineNumber:0,column:0};for(;h<o.length;h++){const _=o[h];switch(_.ruleIndex){case I.RULE_varModifier:u.declare=this.visit(_);break;case I.RULE_typeGather:const T=this.visit(_);u.prefix=this._getPrefix(T),u.type=T&&this._typeAddConst(T);break;case I.RULE_identifier:const x=this.visit(_);this._repeatVarJudge(x,_),m={lineNumber:_.start.line,column:_.start.column},u.name=x,u.pos=m;break}}return u});w(this,"visitVarMultiple",n=>{const{children:o}=n;let u=0;const h=[],m=[];for(;u<o.length;u++){const _=o[u];if(_.ruleIndex===I.RULE_identifier){const T=this.visit(_);this._repeatVarJudge(T,_),h.push(T),m.push({lineNumber:_.start.line,column:_.start.column})}}return{ruleType:Oe.VarMultiple,names:h,posList:m}});w(this,"visitBlockExpression",n=>{const{children:o}=n;if(o&&o.length){const u=o[0];return this.visit(u)}return null});w(this,"visitParenthesizedExpression",n=>{const{children:o}=n,u=o[1],h=this.visit(u);return{ruleType:Oe.ParenthesizedExpression,type:h.type,ctx:n,exprs:h}});w(this,"visitAdditiveExpression",n=>{const{children:o}=n;let u=0,h="";const m=[];for(;u<o.length;u++){const T=o[u];T.ruleIndex===I.RULE_singleExpression?m.push(this.visit(T)):h=T.symbol.text}const _={ruleType:Oe.AdditiveExpression,operator:h,ctx:n,exprs:m};if(["+","-"].includes(h)){const T=[W.UNDETERMINED,W.INT,W.FLOAT];h==="+"&&T.push(W.STRING);const x=this._sameTypeJudge(m,[o[0],o[2]],h,T);_.type=this._typeHandle(x)}else{const T=this._calcTypeJudge(m[0],o[0],h),x=this._calcTypeJudge(m[1],o[2],h,1);_.type=this._typeHandle([T,x])}return _});w(this,"visitRelationalExpression",n=>{const{children:o}=n;let u=0,h="";const m=[];for(;u<o.length;u++){const x=o[u];x.ruleIndex===I.RULE_singleExpression?m.push(this.visit(x)):h=x.symbol.text}const _=this._calcTypeJudge(m[0],o[0],h),T=this._calcTypeJudge(m[1],o[2],h,1);return{ruleType:Oe.RelationalExpression,operator:h,ctx:n,type:this._typeHandle([_,T],W.BOOL),exprs:m}});w(this,"visitEqualityExpression",n=>{const{children:o}=n;let u=0,h="";const m=[];for(;u<o.length;u++){const T=o[u];T.ruleIndex===I.RULE_singleExpression?m.push(this.visit(T)):h=T.symbol.text}const _=this._sameTypeJudge(m,[o[0],o[2]],h,[W.UNDETERMINED,W.COLOR,W.STRING,W.BOOL,W.INT,W.FLOAT]);return{ruleType:Oe.EqualityExpression,operator:h,ctx:n,type:this._typeHandle(_,W.BOOL),exprs:m}});w(this,"visitTernaryExpression",n=>{const{children:o}=n;let u=0;const h=[];for(;u<o.length;u++){const _=o[u];if(_.ruleIndex===I.RULE_singleExpression){const T=this._isInLocalScop;u!==0&&(this._isInLocalScop=!0),h.push(this.visit(_)),this._isInLocalScop=T}}let m=W.UNDETERMINED;if(h.length>=3){this._boolTypeJudge(h[0],o[0],"?:");const _=this._sameTypeJudge(h.slice(1),[o[2],o[4]],"?:",[]),T=this._getPrefix(h[0].type);m=this._typeHandle(_),T&&(m=this._typeHandle([m,`${T} ${this._removePrefix(m)}`]))}return{ruleType:Oe.TernaryExpression,type:m,ctx:n,exprs:h}});w(this,"visitNameExpression",n=>{const{children:o}=n;if(o&&o.length){const u=o[0];return this.visit(u)}return null});w(this,"visitLiteralExpression",n=>{const{children:o}=n;if(o&&o.length){const u=o[0];return this.visit(u)}return null});w(this,"visitUnaryExpression",n=>{var x;const{children:o}=n,[u,h]=o,m=[this.visit(h)],_=u.symbol.text,T=this._calcTypeJudge(m[0],h,_);return((x=m[0])==null?void 0:x.ruleType)===Oe.UnaryExpression&&this._errors.push({message:Ne(Pe.unaryErr,{sign:_}),startColumn:u.symbol.column+1,startLineNumber:u.symbol.line,endColumn:u.symbol.column+2,endLineNumber:u.symbol.line}),{ruleType:Oe.UnaryExpression,operator:_,type:T,ctx:n,exprs:m}});w(this,"visitNotExpression",n=>{const{children:o}=n,u=o[1],h=[this.visit(u)],m=this._boolTypeJudge(h[0],u,"not");return{ruleType:Oe.NotExpression,ctx:n,type:this._typeHandle([m],W.BOOL),exprs:h}});w(this,"visitMemberIndexExpression",n=>{var m,_;const{children:o}=n;let u=0;const h=[];for(;u<o.length;u++){const T=o[u];T.ruleIndex===I.RULE_singleExpression&&h.push(this.visit(T))}if(this._memberIndexVerify(h[0],n),this._hasMemberIndex=!0,((m=h[0])==null?void 0:m.ruleType)===Oe.MemberIndexExpression){const T=o[1];this._errors.push({message:Ne(Pe.unaryErr,{sign:"["}),startColumn:T.symbol.column+1,startLineNumber:T.symbol.line,endColumn:T.symbol.column+2,endLineNumber:T.symbol.line}),this._hasMemberIndex=!1}return{ruleType:Oe.MemberIndexExpression,type:(_=h[0])==null?void 0:_.type,ctx:n,isInFunc:this._isInFunc,exprs:h}});w(this,"visitMethodStmt",n=>{const{children:o}=n;let u=0;const h=[],m=[];let _;for(;u<o.length;u++){const T=o[u];T.ruleIndex===I.RULE_methodElement&&(h.push(this.visit(T)),m.push(T))}return _=this._getMethodTypes(h,m)||[],{ruleType:Oe.MethodExpression,types:_.length>1||_.isBrackethesized||_.isUnknown?_:void 0,ctx:n,type:_.length===1?_[0]:void 0,exprs:h}});w(this,"visitMethodExpression",n=>{const{children:o}=n;if(o&&o.length){const u=o[0];return this.visit(u)}return null});w(this,"visitLogicalAndExpression",n=>{const{children:o}=n;let u=0,h="";const m=[];for(;u<o.length;u++){const x=o[u];x.ruleIndex===I.RULE_singleExpression?m.push(this.visit(x)):h=x.symbol.text}const _=this._boolTypeJudge(m[0],o[0],h),T=this._boolTypeJudge(m[1],o[2],h,1);return{ruleType:Oe.LogicalAndExpression,type:this._typeHandle([_,T],W.BOOL),operator:h,ctx:n,exprs:m}});w(this,"visitLogicalOrExpression",n=>{const{children:o}=n;let u=0,h="";const m=[];for(;u<o.length;u++){const x=o[u];x.ruleIndex===I.RULE_singleExpression?m.push(this.visit(x)):h=x.symbol.text}const _=this._boolTypeJudge(m[0],o[0],h),T=this._boolTypeJudge(m[1],o[2],h,1);return{ruleType:Oe.LogicalOrExpression,operator:h,ctx:n,type:this._typeHandle([_,T],W.BOOL),exprs:m}});w(this,"visitMultiplicativeExpression",n=>{const{children:o}=n;let u=0,h="";const m=[];for(;u<o.length;u++){const x=o[u];x.ruleIndex===I.RULE_singleExpression?m.push(this.visit(x)):h=x.symbol.text}const _=this._calcTypeJudge(m[0],o[0],h),T=this._calcTypeJudge(m[1],o[2],h,1);return{ruleType:Oe.MultiplicativeExpression,operator:h,ctx:n,type:this._typeHandle([_,T]),exprs:m}});w(this,"visitBrackethesized",n=>{const{children:o}=n,u=o[1];return{ruleType:Oe.Brackethesized,ctx:n,exprs:this.visit(u)}});w(this,"visitArguments",n=>{const{children:o}=n;let u=0;const h={params:[]};let m="";for(;u<o.length;u++){const _=o[u];if(_.ruleIndex===I.RULE_argument){const T=this.visit(_),x=T.paramKey;x?(m=x,h[x]?this._errorHandle(Ne(Ri.moreSameArg,{arg:x}),n.parentCtx,$r.Warning):(h[x]=T.param,h[x].ctx=_)):m?this._errorHandle(Ne(Pe.argsSyntaxErr,{argName:m}),_):(T.ctx=_,h.params.push(T))}}return h});w(this,"visitArgument",n=>{const{children:o}=n;return o.length===1?this.visit(o[0]):{paramKey:this.visit(o[0]),param:this.visit(o[2])}});w(this,"visitIfStatement",n=>{const{children:o}=n;let u=0;const h={ruleType:Oe.IfStatement,condition:[],block:[],ctx:n,typeList:[]};for(;u<o.length;u++){const m=o[u];switch(m.ruleIndex){case I.RULE_singleExpression:h.condition.push(this.visit(m));break;case I.RULE_blockLine:const _=this._isInLocalScop;this._isInLocalScop=!0;const T=this.visit(m);h.typeList.push(this._getBlockReturnTypes(T)),h.block.push(T),this._isInLocalScop=_;break}}return h});w(this,"visitForToStatement",n=>{const{children:o}=n;let u=0;const h={ruleType:Oe.ForToStatement,numerical:[],ctx:n,block:[]};for(;u<o.length;u++){const m=o[u];switch(m.ruleIndex){case I.RULE_varModifier:h.declare=this.visit(m);break;case I.RULE_typeGather:const _=this.visit(m);h.type=_&&this._typeAddSeries(_);break;case I.RULE_identifier:h.name=this.visit(m),this._repeatVarJudge(h.name,m);break;case I.RULE_singleExpression:h.numerical.push(this.visit(m));break;case I.RULE_blockLine:this._blockCount++,this._pushBlockRanges(n),h.name&&this._variablesHandle({nameList:{name:h.name,isForVar:!0,type:h.type},value:{type:h.type||`${W.SERIES} ${W.INT}`}},n),this._blockCount--,this._blockRanges.pop(),this._loopCount++;const T=this._isInLocalScop;this._isInLocalScop=!0,h.block=this.visit(m),this._loopCount--,this._isInLocalScop=T,h.returnedTypes=this._getBlockReturnTypes(h.block);break}}return h});w(this,"visitForInStatement",n=>{const{children:o}=n;let u=0;const h={ruleType:Oe.ForInStatement,ctx:n,names:[]};for(;u<o.length;u++){const m=o[u];switch(m.ruleIndex){case I.RULE_identifier:const _=this.visit(m);this._repeatVarJudge(_,m),h.names.push(_);break;case I.RULE_singleExpression:h.array=this.visit(m);const T=h.array.type;this._isArrayType(T)||this._isMatrixType(T)||T===W.UNDETERMINED||this._errorHandle(Ne(Pe.typeMismatch,{operator:"foreach",index:"id",typeE:T,typeR:"array<fun_arg>"}),m);break;case I.RULE_blockLine:if(this._blockCount++,this._pushBlockRanges(n),h.names.length){let[P,A]=h.names;const F=h.array.type;A?this._variablesHandle({nameList:{name:P,isForVar:!0,type:`${W.SERIES} ${W.INT}`},value:{type:`${W.SERIES} ${W.INT}`}},n):A=P;const $=F===W.UNDETERMINED?F:this._isMatrixType(F)?`${this._getArrayType(F)}[]`:this._typeAddSeries(this._getArrayType(F));this._variablesHandle({nameList:{name:A,isForVar:!0,type:$},value:{type:$}},n)}this._blockCount--,this._blockRanges.pop(),this._loopCount++;const x=this._isInLocalScop;this._isInLocalScop=!0,h.block=this.visit(m),this._isInLocalScop=x,this._loopCount--,h.returnedTypes=this._getBlockReturnTypes(h.block);break}}return h});w(this,"visitSwitchStatement",n=>{const{children:o}=n;let u=0;const h={ruleType:Oe.SwitchStatement,condition:!0,ctx:n,cases:[],defaultCase:void 0};for(;u<o.length;u++){const m=o[u];switch(m.ruleIndex){case I.RULE_singleExpression:h.condition=this.visit(m);break;case I.RULE_caseClause:h.cases.push(this.visit(m));break;case I.RULE_defaultCaluse:h.defaultCase=this.visit(m);break}}return h});w(this,"visitCaseClause",n=>{const{children:o}=n,u={ruleType:Oe.CaseClause},h=this._isInLocalScop;return this._isInLocalScop=!0,u.condition=this.visit(o[0]),u.block=this.visit(o[2]),this._isInLocalScop=h,u.returnedTypes=this._getBlockReturnTypes(u.block),u});w(this,"visitDefaultCaluse",n=>{const{children:o}=n,u={ruleType:Oe.DefaultCaluse},h=this._isInLocalScop;return this._isInLocalScop=!0,u.block=this.visit(o[1]),this._isInLocalScop=h,u.returnedTypes=this._getBlockReturnTypes(u.block),u});w(this,"visitWhileStatement",n=>{const{children:o}=n,u={ruleType:Oe.WhileStatement,ctx:n};u.condition=this.visit(o[1]),this._loopCount++;const h=this._isInLocalScop;return this._isInLocalScop=!0,u.block=this.visit(o[2]),this._isInLocalScop=h,this._loopCount--,u.returnedTypes=this._getBlockReturnTypes(u.block),u});w(this,"visitImportStmt",n=>{const{children:o}=n;let u=0;const h=[];for(;u<o.length;u++){const m=o[u];m.ruleIndex===I.RULE_importElement&&h.push(this.visit(m))}return h});w(this,"visitImportElement",n=>{const{children:o}=n;let u=0;const h=[],m={ruleType:Oe.ImportElement,ctx:n};for(;u<o.length;u++){const _=o[u];_.ruleIndex===I.RULE_identifier?h.push(this.visit(_)):_.symbol&&_.symbol.type===I.IntegerLiteral&&(m.libraryVersion=_.symbol.text)}return m.username=h[0],m.libraryName=h[1],m.name=h[2],m});w(this,"visitLiteral",n=>{const{children:o}=n,u=o[0],{type:h,text:m}=u.symbol,_={ruleType:Oe.Literal,ctx:n,type:"",value:m};switch(h){case I.ColorLiteral:_.type=W.COLOR;break;case I.BooleanLiteral:_.type=W.BOOL;break;case I.StringLiteral:_.type=W.STRING;break;case I.IntegerLiteral:_.type=W.INT;break;case I.DecimalLiteral:_.type=W.FLOAT;break}return _.type&&(_.type=`${W.CONST} ${_.type}`),_});w(this,"visitMethodElement",n=>{const{children:o}=n,[u,h]=o,[m,_,T]=this.visit(u),x=this.visit(h);return{name:m,type:_,args:x,expr:T}});w(this,"visitMethodName",n=>{const{children:o}=n,u=[],h=[];let m=0,_=null;for(;m<o.length;m++){const x=o[m],P=x.ruleIndex,A=x.symbol;switch(P){case I.RULE_identifier:u.push(this.visit(x));break;case I.RULE_singleExpression:_=this.visit(x);break;case I.RULE_typeName:const F=this.visit(x);h.push(F),this._typeCheck(F,I.RULE_typeName,x);break;default:A&&A.text==="."&&u.push(".")}}return[u.join(""),h,_]});w(this,"visitArrowFunction",n=>{const{children:o}=n,u={ruleType:Oe.ArrowFunction,returnedTypes:[]};let h=0,m={lineNumber:0,column:0};for(;h<o.length;h++){const _=o[h],T=_.ruleIndex,x=_.symbol;switch(T){case I.RULE_identifier:m={lineNumber:_.start.line,column:_.start.column},u.name=this.visit(_);break;case I.RULE_arrowFunctionParameters:u.params=this.visit(_),this._setFuncParams(u);break;case I.RULE_block:this._isInFunc=!0,this._hasMemberIndex=!1,u.block=this.visit(_),u.hasMemberIndex=this._hasMemberIndex,u.returnedTypes=this._getBlockReturnTypes(u.block),this._isInFunc=!1;break;default:x&&x.type===I.Export&&(u.isExport=!0)}}return this._setFunc(u,m),this._currentFuncParams.clear(),u});w(this,"visitArrowFunctionParameters",n=>{const{children:o}=n;let u=0,h=[];for(;u<o.length;u++){const m=o[u];m.ruleIndex===I.RULE_formalParameterList&&(h=this.visit(m))}return h});w(this,"visitFormalParameterList",n=>{const{children:o}=n;let u=0;const h=[];for(;u<o.length;u++){const m=o[u];m.ruleIndex===I.RULE_formalParameterArg&&h.push(this.visit(m))}return h});w(this,"visitFormalParameterArg",n=>{const{children:o}=n;let u=0;const h={};for(;u<o.length;u++){const m=o[u];switch(m.ruleIndex){case I.RULE_typeGather:const _=this.visit(m);h.type=_&&this._typeAddSeries(_);break;case I.RULE_identifier:h.name=this.visit(m);break;case I.RULE_singleExpression:h.defaultValue=this.visit(m)}}return h.type=h.type||W.UNDETERMINED,h});w(this,"visitArrowMethod",n=>{const{children:o}=n;let u=0;const h={ruleType:Oe.ArrowMethod,returnedTypes:[]};let m={lineNumber:0,column:0};for(;u<o.length;u++){const _=o[u];switch(_.ruleIndex){case I.RULE_identifier:m={lineNumber:_.start.line,column:_.start.column},h.name=this.visit(_);break;case I.RULE_arrowMethodParameters:h.params=this.visit(_),this._setFuncParams(h);break;case I.RULE_block:this._isInFunc=!0,this._hasMemberIndex=!1,h.block=this.visit(_),h.hasMemberIndex=this._hasMemberIndex,h.returnedTypes=this._getBlockReturnTypes(h.block),this._isInFunc=!1;break;default:_.symbol&&_.symbol.type===I.Export&&(h.isExport=!0);break}}return this._setFunc(h,m),this._setMethod(h,m),this._currentFuncParams.clear(),h});w(this,"visitArrowMethodParameters",n=>{const{children:o}=n;let u=0;const h={};let m=[];for(;u<o.length;u++){const _=o[u];switch(_.ruleIndex){case I.RULE_typeGather:const T=this.visit(_);h.type=T&&this._typeAddSeries(T);break;case I.RULE_identifier:h.name=this.visit(_);break;case I.RULE_formalParameterList:m=this.visit(_);break}}return[h,...m]});w(this,"visitTypeStatement",n=>{const{children:o}=n;let u=0;const h={ruleType:Oe.TypeStatement,fields:[]};let m={lineNumber:0,column:0};for(;u<o.length;u++){const _=o[u];switch(_.ruleIndex){case I.RULE_identifier:m={lineNumber:_.start.line,column:_.start.column},h.name=this.visit(_);break;case I.RULE_typeElement:h.fields.push(this.visit(_));break;default:_.symbol&&_.symbol.type===I.Export&&(h.isExport=!0);break}}return this._setUserType(h,m),this._setNewFunc(h,m),this._setCopyFunc(h,m),this._setCopyMethod(h,m),h});w(this,"visitTypeElement",n=>{const{children:o}=n;let u=0;const h={};let m=null;for(;u<o.length;u++){const _=o[u];switch(_.ruleIndex){case I.RULE_typeGather:const T=this.visit(_);if(_.children[0].ruleIndex===I.RULE_typeSeries){const{column:x,line:P,text:A}=_.start,F=x+1;this._errors.push({startColumn:F,endColumn:parseInt(F+A.length),startLineNumber:P,endLineNumber:P,message:Ne(this._buildinTypes.has(A)?Pe.typeUseError:Pe.notTypeKeyword,{text:A})}),h.type=W.UNDETERMINED}else h.type=T&&this._typeAddSeries(T);break;case I.RULE_identifier:h.name=this.visit(_);break;case I.RULE_singleExpression:m=_,h.value=this.visit(_);break;default:_.symbol&&_.symbol.type===I.Varip&&(h.isVarip=!0);break}}return this._typeElementVerify(h,m),h});w(this,"visitAssignmentOperator",n=>{const{children:o}=n;return o&&o[0].symbol.text});w(this,"visitTypeMap",n=>{const{children:o}=n;let u=0;const h=[];for(;u<o.length;u++){const m=o[u];if(m.ruleIndex===I.RULE_typeName){const _=this.visit(m);h.push(_),this._typeCheck(_,I.RULE_typeName,m)}}return`map<${h[0]},${h[1]}>`});w(this,"visitTypeSeries",n=>{const{children:o}=n,[u,h]=o,m=this.visit(u),_=this.visit(h);return this._typeCheck(m,I.RULE_typeSeries,u),this._typeCheck(_,I.RULE_typeName,h),`${m} ${_}`});w(this,"visitTypeArray",n=>{const{children:o}=n,u=o[0];let h=this.visit(u),m=h;if(o.length===3)h=W.ARRAY;else{this._typeCheck(h,I.RULE_typeArray,u);let _=1;for(;_<o.length;_++){const T=o[_];T.ruleIndex===I.RULE_typeName&&(m=this.visit(T),this._typeCheck(m,I.RULE_typeName,T))}}return this._arrayTypeConvert(`${h}<${m}>`)});w(this,"visitTypeGather",n=>{const{children:o}=n;if(o&&o.length){const u=o[0],h=this.visit(u);return u.ruleIndex===I.RULE_typeName&&this._typeCheck(h,I.RULE_typeName,u),h}return null});w(this,"visitIdentifier",n=>n.children&&n.children[0].symbol.text);w(this,"visitTypeName",n=>{const{children:o}=n;let u=0,h="";for(;u<o.length;u++){const m=o[u];m.ruleIndex===I.RULE_identifier?h=`${h}${this.visit(m)}`:h=`${h}.`}return h});w(this,"visitName",n=>{var x,P;const{children:o}=n;let u=0,h=!1;const m=[];let _=null;for(;u<o.length;u++){const A=o[u];switch(A.ruleIndex){case I.RULE_identifier:m.push(this.visit(A));break;case I.RULE_singleExpression:_=this.visit(A);break;case I.RULE_methodElement:h=!0,m.push(this.visit(A));break}}const T={ruleType:Oe.Name,hasMethod:h,exprs:m,expr:_};if(h){let A="";const F=[];for(const V of m)typeof V=="string"?A=A?`${A}.${V}`:V:(A&&(V.name=`${A}.${V.name}`),F.push(V),A="");T.exprs=[...F,A];const $=this._getMethodTypes(F,Array.from(F,()=>n));if($&&$.length){const V=Ne(Pe.noFiledErr,{name:A});$.length>1&&this._errorHandle(V,n),T.type=((P=this._nameCheck(this._getOriginMethodName($[0],A),n,V))==null?void 0:P.type)||W.UNDETERMINED}}else{let A=m.join(".");if(_&&_.type&&_.type===W.UNDETERMINED)T.type=W.UNDETERMINED,A=`expr0.${A}`;else{_&&_.type&&(A=`${this._getMethodTypeName(_.type)}.${A}`);const F=this._nameCheck(A,n)||{};(x=F.title)!=null&&x.startsWith("built-in")&&(T.isBuiltIn=!0,T.isConst=F.isConst),T.varPos=F.pos,T.declare=F.declare,T.type=(F==null?void 0:F.type)||W.UNDETERMINED,F!=null&&F.isArg&&(T.arg=F),T.scope=this._blockCount}T.name=A}return T});this._loopCount=0,this._errors=[],this._variables=new Map,this._functions=new Map,this._methods=new Map,this._currentFuncParams=new Map,this._types=new Map,this._currentBlockVars=[new Map],this._blockCount=0,this._isInFunc=!1,this._isNeedCalc=!1,this._blockRanges=[],this._overloadsFuncs=[],this._hasMemberIndex=!1,this._isInLocalScop=!1,this._onlyStatementsCount=0}get overloadsFuncs(){return this._overloadsFuncs}get errors(){return this._errors}get userTypes(){return this._types}get userFunctions(){return this._functions}get userVariables(){return this._variables}get userMethods(){return this._methods}_verifyGloablVar(n,o){const{name:u,varPos:h}=n;if(!h)return;const m=this._currentBlockVars[0].get(u);if(!m)return;const{column:_,lineNumber:T}=m.pos||{};this._isInFunc&&_===h.column&&T===h.lineNumber&&this._errorHandle(Ne(Pe.modifyGlobalVarErr,{name:u}),o)}_typeElementVerify(n,o){var _,T;const{type:u,value:h}=n;if(!h)return;if(![Oe.Literal,Oe.UnaryExpression].includes(h.ruleType)&&!h.isBuiltIn){this._errorHandle(Pe.defaultValueErr,o);return}else if(h.ruleType===Oe.UnaryExpression){const{exprs:x}=h;if(![Oe.Literal,Oe.UnaryExpression].includes((_=x[0])==null?void 0:_.ruleType)&&!((T=x[0])!=null&&T.isBuiltIn)){this._errorHandle(Pe.defaultValueErr,o);return}}(!this._compareType(u,h.type)||u.endsWith(W.INT)&&h.type.endsWith(W.FLOAT))&&this._errorHandle(Ne(Pe.defaultValueTypeErr,{typeE:h.type,typeR:u}),o)}_memberIndexVerify(n,o){if(n.ruleType===Oe.Name&&!n.hasMethod&&this._blockCount){const h=this._currentBlockVars[this._blockCount],m=h&&h.get(n.name);m&&(m.isForVar?this._errorHandle(Ne(Pe.notHistoryErr,{name:n.name}),o):!(this._blockCount===1&&this._isInFunc)&&this._errorHandle(Ne(Ri.localScopeGetHistory,{name:n.name}),o,$r.Warning))}const u=n&&n.type;if(u){const h=this._removePrefix(u);!this._types.has(h)&&!this._buildinTypes.has(h)&&!this._isArrayType(h)&&!this._isMatrixType(h)&&!this._isMapType(h)&&h!==W.UNDETERMINED&&this._errorHandle(Ne(Pe.invalidType,{index:0}),o)}}_setFuncParams(n){var o;for(const u of n.params){const h=(o=this._types.get(u.type))==null?void 0:o[0];if(h&&h.fields)for(const m of h.fields){const _=`${u.name}.${m.name}`;this._currentFuncParams.set(_,{...m,originName:_})}this._setVariablesMap(u),this._currentFuncParams.set(u.name,u)}}_pushBlockRanges(n){!n||!n.start||!n.stop||this._blockRanges.push({startColumn:n.start.column,endColumn:n.stop.column,startLineNumber:n.start.line,endLineNumber:n.stop.line})}_setUserType(n,o){const{fields:u,name:h}=n;this._types.set(h,[{fields:u.map(m=>({name:m.name,type:m.type})),name:h,pos:o}]),this._addVarToMap(h,h,o,!1,!1)}_againAssignHandle(n,o,u){const h=u!==":="?u.replace("=",""):u,m=u!==":="?[W.UNDETERMINED,W.INT,W.FLOAT]:[];h==="+"&&m.push(W.STRING);const[_,T]=n;_.arg&&!_.name.includes(".")&&this._errorHandle(Ne(Pe.funcArgAssignErr,{name:_.name}),o[0]);const x=this._sameTypeJudge(n,o,h,m),P=this._typeHandle(x);return this._updateUserVar(_.name,P,T.type),_.type=P,{ruleType:Oe.AgainAssign,name:_,operator:u,type:P,value:T}}_typeCheck(n,o,u){const h=[W.SERIES,W.SIMPLE,W.CONST];switch(o){case I.RULE_typeName:const m=this._buildinTypes.get(n);m&&![...h,W.ARRAY,W.MATRIX,W.MAP].includes(m[0].name)||this._types.get(n)||this._errorHandle(Ne(Pe.notTypeKeyword,{text:n}),u);break;case I.RULE_typeArray:[W.ARRAY,W.MATRIX].includes(n)||this._errorHandle(Pe.tempateTypeErr,u);break;case I.RULE_typeSeries:h.includes(n)||this._errorHandle(Ne(Pe.qualifierErr,{name:n}),u);break}}_verifyName(n,o){var m,_;const u=this._buildinVariables.get(n);if(u&&u[0])return u[0];const h=this._buildinConstants.get(n);if(h&&h[0])return Object.assign(h[0],{isConst:!0});if(n.includes(".")){const T=n.split("."),x=T.pop(),P=T.join(".");let A=this._blockCount;for(;A>=0;){const F=this._currentBlockVars[A].get(P);if(o&&this._judgeGatherValue(x||"",o,F==null?void 0:F.valueType,!0),(F==null?void 0:F.type)==="chart.point"){const V=(((_=(m=this._buildinTypes.get(F.type))==null?void 0:m[0])==null?void 0:_.fields)||[]).find(b=>b.name===x);if(V)return Object.assign(V,{pos:F.pos})}A--}}return this._getUserVar(n)}_judgeGatherValue(n,o,u,h){u===`${W.SIMPLE} ${W.NA}`&&this._errorHandle(Ne(Pe.objectIsNaErr,{name:n,type:h?"field":"method"}),o)}_nameCheck(n,o,u=Ne(Pe.undeclared,{name:n})){const h=this._verifyName(n,o);return h||this._errorHandle(u,o),h}_inBlock(n){this._blockCount++,this._pushBlockRanges(n);const o=this.visit(n);return this._blockCount--,this._blockRanges.pop(),this._currentBlockVars.splice(this._blockCount+1),o}_errorHandle(n,o,u=$r.Error){this._errors.push({message:n,startColumn:o.start.column+1,startLineNumber:o.start.line,endColumn:o.start.column+2+o.stop.stop-o.start.start,endLineNumber:o.stop.line,type:u})}_boolTypeJudge(n,o,u,h=0){return this._typeJudge(n,o,u,W.BOOL,[W.UNDETERMINED,W.INT,W.FLOAT,W.BOOL],h)}_calcTypeJudge(n,o,u,h=0){return this._typeJudge(n,o,u,"int/float",[W.UNDETERMINED,W.INT,W.FLOAT],h)}_typeJudge(n,o,u,h,m,_=0){const T=n&&n.type;if(T){const x=this._removePrefix(T);if(!m.includes(x)&&x!==W.NA)return this._errorHandle(Ne(Pe.typeMismatch,{operator:`operator ${u}`,index:`expr${_}`,typeE:x,typeR:h}),o),W.UNDETERMINED;h===W.BOOL&&[W.INT,W.FLOAT].includes(x)&&this._errorHandle(Ne(Ri.typeMismatch,{operator:`operator ${u}`,index:`expr${_}`,type:W.BOOL}),o,$r.Warning)}return T||W.UNDETERMINED}_sameTypeJudge(n,o,u,h){let m="";const _=[],T=["plot_display","plot_simple_display"];["+","-","+=","-="].includes(u)&&(h=h.concat(T));for(const[x,P]of n.entries()){let A=P&&P.type||W.UNDETERMINED;const F=this._removePrefix(A);if(m||(m=F),!h.includes(F)&&h.length&&F!==W.NA){this._errorHandle(Ne(Pe.typeMismatch,{operator:`operator ${u}`,index:`expr${x}`,typeE:A,typeR:h.slice(1).join("/")}),o[x]),m=W.UNDETERMINED,_.push(m);continue}if(m===W.UNDETERMINED||F===W.UNDETERMINED)A=m=W.UNDETERMINED;else if(m!==F&&m!==W.NA&&F!==W.NA&&(![W.INT,W.FLOAT].includes(m)||![W.INT,W.FLOAT].includes(F)))if(u===":=")this._errorHandle(Ne(Pe.assignTypeMismatch,{typeE:F,name:n[0].name,typeR:m}),o[0]),A=m=W.UNDETERMINED;else if(["==","!=","?:"].includes(u)&&[W.INT,W.FLOAT,W.BOOL].includes(m)&&[W.INT,W.FLOAT,W.BOOL].includes(F))this._errorHandle(Ne(Ri.typeMismatch,{operator:`operator ${u}`,index:`expr${x}`,type:m}),o[x],$r.Warning),A=m=W.UNDETERMINED;else if(T.includes(m)&&T.includes(F)){if(m!==F){const $=this._getPrefix(A);_[x-1]=`${this._getPrefix(_[x-1])} ${T[0]}`,A=m=`${$} ${T[0]}`}}else this._errorHandle(Ne(Pe.typeMismatch,{operator:`operator ${u}`,index:`expr${x}`,typeE:F,typeR:m}),o[x]),A=m=W.UNDETERMINED;_.push(A)}return _}_getUserVar(n,o=!1){for(let u=this._blockCount;u>=0;u--){const h=this._currentBlockVars[u];if(u<=0){const m=this._currentFuncParams.get(n);if(m)return m.isArg=!0,m}if(h){const m=h.get(n);if(m)return m}}if(n.includes(".")&&!o){let u=!1,h=null;if(n.split(".").reduce((m,_)=>{let T=m?`${m}.${_}`:_;const x=this._getUserVar(T,!0);return x!=null&&x.type?x.type===W.UNDETERMINED?u=!0:(T=x.type,h=x):h=null,T},""),u)return{name:n,type:W.UNDETERMINED};if(h)return h}return null}_repeatVarJudge(n,o){for(let u=0;u<=this._blockCount;u++){const h=this._currentBlockVars[u];if(h&&h.get(n)){if(this._blockCount===u)return this._errorHandle(Ne(Pe.repeatVar,{name:n}),o),!0;this._errorHandle(Ne(Ri.repeatVar,{name:n}),o,$r.Warning)}}}_judgeVarBuildIn(n){for(let o=0;o<=this._blockCount;o++){const u=this._currentBlockVars[o];if(u&&u.get(n))return!0}return!1}_updateUserVar(n,o,u){for(let h=0;h<=this._blockCount;h++){const m=this._currentBlockVars[h];if(m){const _=m.get(n);if(_){_.type=o,_.valueType=u;return}}}}_variablesHandle(n,o){var m,_,T,x;if(!(n&&n.nameList))return;const u=n.nameList;if(u.name==="_")return;const h=n.value;if(u.ruleType===Oe.VarMultiple){u.types=[],this._checkVarMultiple(u.names,h,o);for(const[P,A]of u.names.entries()){const F=this._varTypeJudge("",((m=h==null?void 0:h.types)==null?void 0:m[P])||W.UNDETERMINED,o);u.types.push(F),this._addVarToMap(A,F,u.posList[P],!0)}}else{const P=(h==null?void 0:h.type)||((_=h==null?void 0:h.returnedTypes)==null?void 0:_[0]);((T=h==null?void 0:h.types)!=null&&T.isBrackethesized||(x=h==null?void 0:h.returnedTypes)!=null&&x.isBrackethesized)&&this._errorHandle(Ne(Pe.tupleLeftVarErr,{name:u.name}),o),!u.type&&P===`${W.SIMPLE} ${W.NA}`&&this._errorHandle(Pe.naVarErr,o),u.prefix&&wi.indexOf(u.prefix)>wi.indexOf(this._getPrefix(P))&&this._errorHandle(Ne(Pe.declaredErr,{prefix:u.prefix,type:P}),o);const A=this._varTypeJudge(u.type,P||W.UNDETERMINED,o);u.type=A,this._addVarToMap(u.name,A,u.pos,!0,u.isForVar,u.declare,h.type)}}_checkVarMultiple(n,o,u){var x,P,A,F;const h=n.length,m=(o.types||o.returnedTypes||[]).length,_=((x=o.types)==null?void 0:x.isBrackethesized)||((P=o.returnedTypes)==null?void 0:P.isBrackethesized);(A=o.types)!=null&&A.isUnknown||(F=o.returnedTypes)!=null&&F.isUnknown||(m===1&&!_||!m?this._errorHandle(Pe.tupleRightVarErr,u):h!==m&&this._errorHandle(Ne(Pe.tupleVarErr,{indexA:m,indexB:h}),u))}_addVarToMap(n,o,u,h=!0,m=!1,_,T){var F;const x=this._currentBlockVars[this._blockCount]||new Map,P=(F=this._types.get(o))==null?void 0:F[0];if(P&&P.fields)for(const $ of P.fields)x.set(`${n}.${$.name}`,$);const A={name:n,type:o,pos:u,valueType:T};h&&this._setVariablesMap(A),x.set(n,Object.assign(A,{isForVar:m,declare:_})),this._currentBlockVars[this._blockCount]=x}_setVariablesMap(n){const o=this._blockRanges[this._blockCount];n.range=o,n.scope=this._blockCount;const u=this._variables.get(n.name)||[];u.push(n),this._variables.set(n.name,u)}_varTypeJudge(n,o,u){if(o===W.VOID)return this._errorHandle(Pe.voidNotVar,u),W.UNDETERMINED;if(n&&o!==W.UNDETERMINED){const h=this._removePrefix(n),m=this._removePrefix(o);return m!==h&&m!==W.NA&&!(h===W.FLOAT&&m===W.INT)?(this._errorHandle(Ne(Pe.declareTypeErr,{type:n,valueType:o}),u),W.UNDETERMINED):this._typeHandle([n,o])}else if(o===W.UNDETERMINED)return W.UNDETERMINED;return n||o||W.UNDETERMINED}_getAllowTypes(n){const o=[];if(n===W.UNDETERMINED)return o;const u=this._getPrefix(n);if(u){const h=this._removePrefix(n);let m=-1;for(const[_,T]of wi.entries())T===u&&(m=_),m>=0&&m<=_&&(h===W.FLOAT&&o.push(`${T} ${W.INT}`),o.push(`${T} ${h}`))}else n=this._arrayTypeConvert(n)||"",o.push(n),n.includes(W.FLOAT)&&o.push(n.replace(/float/,W.INT));return o}_setNewFunc(n,o){const u=`${n.name}.new`,h=[],m=[];for(const _ of n.fields)h.push({name:_.name,required:!1,allowedTypeIDs:this._getAllowTypes(_.type),displayType:_.type}),m.push(`${_.type} ${_.name}`);this._functions.set(u,[{name:u,args:h,returnedTypes:[n.name],isUser:!0,pos:o,syntax:[`${u}(${m.join(", ")}) → ${n.name}`]}])}_setCopyFunc(n,o){const u=n.name,h=`${u}.copy`;this._functions.set(h,[{name:h,args:[{name:"object",required:!0,allowedTypeIDs:[u],displayType:u}],returnedTypes:[u],isUser:!0,pos:o,info:"The identifier of the object to be copied.",syntax:[`${h}(${u} object) → ${u}`]}])}_setCopyMethod(n,o){const u=n.name,h=`${u}.copy`;this._methods.set(h,[{name:h,args:[],returnedTypes:[u],thisType:[u],isUser:!0,pos:o,syntax:[`${h}() → ${u}`]}])}_setFunc(n,o){const u=[],h=[];for(const x of n.params){const{type:P,name:A,defaultValue:F}=x;u.push({name:A,required:!F,allowedTypeIDs:this._getAllowTypes(P),displayType:P}),h.push(`${P===W.UNDETERMINED?"":`${P} `}${A}`)}const{returnedTypes:m=[]}=n,_=n.name,T=m.length>1?`[${m.join(", ")}]`:m.toString();this._functions.set(_,[{name:_,args:u,syntax:[`${_}(${h.join(", ")}) → ${T||"void"}`],isUser:!0,hasMemberIndex:n.hasMemberIndex,pos:o,returnedTypes:m}])}_setMethod(n,o){const{name:u,returnedTypes:h,params:m}=n,_=m[0].type,T=[],x=[];for(const $ of m.slice(1)){const{type:V,name:b,defaultValue:y}=$;T.push({name:b,required:!y,allowedTypeIDs:this._getAllowTypes(V),displayType:V}),x.push(`${V} ${b}`)}const P=h.length>1?`[${h.join(", ")}]`:h.toString(),A=this._getMethodTypeName(_),F=`${A}.${u}`;n.typeName=A,this._methods.set(F,[{name:u,args:T,originalName:F,syntax:[`${u}(${x.join(", ")}) → ${P||"void"}`],returnedTypes:h,isUser:!0,hasMemberIndex:n.hasMemberIndex,pos:o,thisType:[_]}])}_getMethodTypes(n,o){let u;for(const[h,m]of n.entries()){const{type:_,expr:T,args:x}=m;let{name:P}=m;const A=o[h];if(T){if(T.type===W.UNDETERMINED)return[W.UNDETERMINED];P=`${this._getMethodTypeName(T.type)}${P}`,x.params.unshift(T)}if(u&&u.length>=1)if(u.length===1){const F=u[0];if(F===W.UNDETERMINED)return[W.UNDETERMINED];const $=this._getOriginMethodName(F,P);P.includes(".")?u=this._getOtherNamesMethodType($,u,A,x,m):u=this._expandMethodHandle($,A,x,{type:F},F,m)}else this._errorHandle(Ne(Pe.noFiledErr,{name:P}),A);else{const[F,$]=this._tempFuncNameHandle(P,A,_);P=$;const V=this._buildinFunctions.get(F);if(V)this._globalFuncVerify(V[0],A),this._hasMemberIndexVerify(V[0],A,m),m.isBuiltIn=!0,u=this._getBuildInReturnTypes(V,x,P,A,void 0,_);else{const b=this._functions.get(P);if(b){this._hasMemberIndexVerify(b[0],A,m),u=b[0].returnedTypes;const{hasErr:y}=this._checkArgs(x,b[0].args||[],P,A,u[0]);if(y)return[W.UNDETERMINED]}else u=this._getOtherNamesMethodType(P,u,A,x,m)}}m.returnTypes=u}return u===void 0&&this._errorHandle(Ne(Pe.notFindFuncErr,{name:n[0].name}),o[0]),u}_globalFuncVerify(n,o){this._blockCount!==0&&Tm.includes(n.name)&&this._errorHandle(Ne(Pe.globalFuncErr,{name:n.name}),o)}_hasMemberIndexVerify(n,o,u){(n.hasMemberIndex||n.name.startsWith("ta.")||n.name==="math.sum")&&(this._hasMemberIndex=this._isInFunc,u.hasMemberIndex=!0,u.position=o.start.tokenIndex,this._isInLocalScop&&this._errorHandle(Ne(Ri.localScopeWarning,{name:u.name}),o,$r.Warning))}_tempFuncNameHandle(n,o,u){let h=n;if(u&&u.length>=1){const m=["array.new","matrix.new"].includes(n),_=n==="map.new";if(u.length===1)if(m)h=`${n}<type>`,n=`${n}<${u[0]}>`;else return _?this._errorHandle(Ne(Pe.templateErr,{countA:2,countB:1}),o):this._errorHandle(Ne(Pe.templateNoSupportErr,{name:n}),o),[W.UNDETERMINED];else{if(!_)return m?this._errorHandle(Ne(Pe.templateErr,{countA:1,countB:2}),o):this._errorHandle(Ne(Pe.templateNoSupportErr,{name:n}),o),[W.UNDETERMINED];if(!Sm.includes(u[0]))return this._errorHandle(Ne(Pe.mapKeyErr,{type:this._typeAddSeries(u[0])}),o),[W.UNDETERMINED];h=`${n}<type,type>`,n=`${n}<${u[0]},${u[1]}>`}}return[h,n]}_getOtherNamesMethodType(n,o,u,h,m){const _=n.split("."),T=_.length-1,x=_.slice(0,T).join("."),P=this._getUserVar(x);this._judgeGatherValue(_[T],u,P==null?void 0:P.valueType);const A=P==null?void 0:P.type;if(A){if(A===W.UNDETERMINED)return o=[W.UNDETERMINED],o.isUnknown=!0,o;const F=this._getOriginMethodName(A,_[T]);o=this._expandMethodHandle(F,u,h,P,x,m)}else{let F="",$="",V="";for(const b of _.slice(0,T)){F?$=this._getOriginMethodName(F,b):$=$?`${$}.${b}`:b;const y=this._verifyName($);y!=null&&y.type?(F=y.type,V=""):this._buildinTypes.get($)?V=Ne(Pe.methodNotExistErr,{name:$,methodName:_[T]}):V=Ne(Pe.noFiledErr,{name:b})}V&&this._errorHandle(V,u)}return o}_expandMethodHandle(n,o,u,h,m,_){var P,A;let T;const x=this._buildinMethods.get(n);if(x)T=this._getBuildInReturnTypes(x,u,n,o,h);else{const F=this._methods.get(n);if(F&&F.length){const $=F[0],V=this._getMethodTypeName(((P=$.thisType)==null?void 0:P[0])||"");if(!this._types.get(V)){const g=this._functions.get($.name);g&&(_.selfArg=(A=g[0].args)==null?void 0:A[0])}this._hasMemberIndexVerify($,o,_),T=$.returnedTypes;const{hasErr:y}=this._checkArgs(u,$.args||[],n,o,(T==null?void 0:T[0])||"");if(y)return[W.UNDETERMINED]}else this._errorHandle(Ne(Pe.methodNotExistErr,{methodName:n.split(".").slice(-1)[0],name:m}),o)}return T}_getBuildInReturnTypes(n,o,u,h,m,_){var x;let T;if(n.length===1){const{returnedTypes:P,syntax:A,args:F=[],thisType:$}=n[0],V=A[0].split("→")[1].trim(),b=m||o.params[0]||((x=F[0])==null?void 0:x.name)&&o[F[0].name];b&&!this._checkMethodThisType($,b.type)&&this._errorHandle(Ne(Pe.typeMismatch,{operator:u,index:b.name||"id",typeE:b.type,typeR:$[0]}),h);const{hasErr:y,types:g}=this._checkArgs(o,F,u,h,V,b);if(y)return[W.UNDETERMINED];if(T=g.length&&g||this._returnedTypesParse(P),T.length>1)return T;(_==null?void 0:_.length)===1?T=[this._typeReplace(V,_[0])]:(_==null?void 0:_.length)===2&&(T=[`${W.MAP}<${_[0]},${_[1]}>`]),T=this._returnTypesOtherHandle(b,V,T,u)}else{const P=this._overloadsFuncGetTypes(n,o,h,m);T=this._returnedTypesParse([P])}return T}_overloadsFuncGetTypes(n,o,u,h){var F,$;let m="",_=[],T=[],x=0;for(const[V,b]of n.entries()){const{args:y,returnedTypes:g,name:D,thisType:R}=b,O=h||o.params[0]||o[y[0].name],{errMsg:U,warnMsg:X}=this._overloadsCheckArgs(o,y,D,u,O);O&&!this._checkMethodThisType(R,O.type)&&U.unshift({msg:Ne(Pe.typeMismatch,{operator:D,index:O.name||"id",typeE:O.type,typeR:R[0]}),ctx:u}),V===0?(_=U,T=X,!U.length&&(m=g[0])):U.length?((F=_[0])!=null&&F.isLenErr&&!(($=U[0])!=null&&$.isLenErr)||_.length>U.length)&&(_=U,T=X,x=V):this._priorityComparison(m,g[0])||(g[0]===`${W.ARRAY}<>`?m=`${O.type}[]`:m=g[0],_=U,T=X,x=V)}for(const V of _)this._errorHandle(V.msg,V.ctx);for(const V of T)this._errorHandle(V.msg,V.ctx,$r.Warning);const P=u.children[0],A=n[0].name;return P&&this._overloadsFuncs.push({name:A,index:x,line:P.start.line,startColumn:P.start.column+1,endColumn:P.start.column+A.length}),this._funcArgsAddOriginName(o,n[x].args,A),m||W.UNDETERMINED}_funcArgsAddOriginName(n,o,u){const h=n.params||[];for(const[m,_]of o.entries())m<h.length&&(h[m].originName=_.name);if(u==="input"){const m=h[0]||n.defval;Object.assign(n,{inputType:{name:`'${m!=null&&m.isSourceType?"source":this._removePrefix(m==null?void 0:m.type)}'`}})}}_overloadsCheckArgs(n,o,u,h,m){const _={...n},T=_.params;delete _.params;const x=Object.keys(_).length+T.length,P=o.length,A=[],F=[];if(x>P&&!o.some(V=>["arg0, arg1, ...","number0, number1, ..."].includes(V.name)))return A.push({msg:Ne(Pe.argsLenErr,{name:u,lenA:x,lenB:P}),isLenErr:!0,ctx:h}),{errMsg:A,warnMsg:F};for(const[$,V]of o.entries()){let b=_[V.name];if($<T.length&&(b&&F.push({msg:Ne(Ri.moreSameArg,{arg:V.name}),ctx:h}),b=T[$]),!b)V.required&&A.push({msg:Ne(Pe.requiredParamErr,{name:u,argName:V.name}),ctx:h});else{const y=b.type!==`${W.SIMPLE} na`?this._checkArg(b,V,u,m,b.ctx,!0):"";y&&A.push({msg:y,ctx:b.ctx}),delete _[V.name]}if(["arg0, arg1, ...","number0, number1, ..."].includes(V.name)&&T.length>$+1){const y=T.slice($+1);let g=T[$];for(const D of y){g.type===`${W.SIMPLE} ${W.NA}`&&(g=D);const R=D.type!==`${W.SIMPLE} ${W.NA}`?this._checkArg(D,V,u,g,D.ctx,!0):"";R&&A.push({msg:R,ctx:D.ctx})}}}if(Object.keys(_).length)for(const $ of Object.keys(_))A.push({msg:Ne(Pe.argsNameErr,{name:u,argName:$}),ctx:_[$].ctx});return{errMsg:A,warnMsg:F}}_checkArgs(n,o,u,h,m,_){var V;const T={...n},x=T.params;delete T.params;const P=Object.keys(T).length+x.length,A=o.length;let F=!1,$=[];if(P>A&&!o.some(y=>["arg0, arg1, ...","number0, number1, ..."].includes(y.name)))return this._errorHandle(Ne(Pe.argsLenErr,{name:u,lenA:P,lenB:A}),h),F=!0,{hasErr:F,types:$};for(const[b,y]of o.entries()){let g=T[y.name];if(b<x.length&&(g&&this._errorHandle(Ne(Ri.moreSameArg,{arg:y.name}),h,$r.Warning),g=x[b],g.originName=y.name),!g)y.required&&(this._errorHandle(Ne(Pe.requiredParamErr,{name:u,argName:y.name}),h),F=!0);else{const D=g.type!==`${W.SIMPLE} ${W.NA}`?this._checkArg(g,y,u,_,g.ctx):"";if(D)this._errorHandle(D,g.ctx),F=!0;else if(D===!1)F=!0;else if(u.startsWith("request.")&&y.name==="expression")if(g.ruleType===Oe.Brackethesized)$=g.exprs.map(R=>this._typeReplace(m,R.type));else if((V=g.types||g.returnedTypes)!=null&&V.isBrackethesized)$=(g.types||g.returnedTypes).map(R=>this._typeReplace(m,R));else{const R=this._typeReplace(m,g.type);$.push(R)}delete T[y.name]}}if(Object.keys(T).length)for(const b of Object.keys(T))this._errorHandle(Ne(Pe.argsNameErr,{name:u,argName:b}),T[b].ctx),F=!0;return{hasErr:F,types:$}}_checkArg(n,o,u,h,m,_){const{ruleType:T,exprs:x,name:P}=n;let A=n.type;T===Oe.Brackethesized&&(A=`[${x.map(b=>b.type).join(", ")}]`);const{allowedTypeIDs:F=[],displayType:$,name:V}=o;if(!(!A||A===W.UNDETERMINED||$===W.UNDETERMINED)&&!(this._checkMethodThisType(F,this._arrayTypeConvert(A))&&!(u==="input.source"&&V==="defval"))){if(V==="condition"&&($!=null&&$.endsWith(W.BOOL))&&(A.endsWith(W.INT)||A.endsWith(W.FLOAT))){m&&this._errorHandle(Ne(Ri.typeMismatch,{index:V,operator:u,type:W.BOOL}),m,$r.Warning);return}switch($){case"tuple of const string values: [val1, val2, ...]":return this._tupleToCheck(n,o,[`${W.CONST} ${W.STRING}`],u,A);case"tuple of const int/float values: [val1, val2, ...]":return this._tupleToCheck(n,o,[`${W.CONST} ${W.FLOAT}`,`${W.CONST} ${W.INT}`],u,A);case"tuple of const int values: [val1, val2, ...]":return this._tupleToCheck(n,o,[`${W.CONST} ${W.INT}`],u,A);case"open/high/low/close/hl2/hlc3/ohlc4/hlcc4":if(!P||!xp.includes(P))return Ne(Pe.inputSourceErr,{name:V,funcName:u});if(this._judgeVarBuildIn(P))return Ne(Pe.buildInUseErr,{name:P});n.isSourceType=!0;break;case"<matrix_type>":case"<array_type>":const b=this._getArrayType(u)||"";if(!A.endsWith(b)&&!(A.endsWith(W.INT)&&b===W.FLOAT))return Ne(Pe.typeMismatch,{operator:u,index:V,typeE:A,typeR:this._typeAddSeries(b)});break;case"any matrix type":if(this._isMatrixType(A)){if(V==="id2"){const O=this._getArrayType(h==null?void 0:h.type);if(!O)return;const U=this._getArrayType(A)||"";if(O!==U)return Ne(Pe.typeMismatch,{operator:u,index:V,typeE:U,typeR:O})}}else return Ne(Pe.typeMismatch,{operator:u,index:V,typeE:A,typeR:"matrix<fun_arg>"});break;case"any array type":if(this._isArrayType(A)){if(V==="id2"){const O=this._getArrayType(h==null?void 0:h.type);if(!O)return;const U=this._getArrayType(A)||"";if(O!==U)return Ne(Pe.typeMismatch,{operator:u,index:V,typeE:U,typeR:O})}}else return Ne(Pe.typeMismatch,{operator:u,index:V,typeE:A,typeR:"array<fun_arg>"});break;case"series <type of the matrix's elements>":case"series <type of the array's elements>":const y=this._getArrayType(h==null?void 0:h.type)||"";if(!A.endsWith(y)&&!(A.endsWith(W.INT)&&y===W.FLOAT))return Ne(Pe.typeMismatch,{operator:u,index:V,typeE:A,typeR:this._typeAddSeries(y)});break;case"any map type":if(this._isMapType(A)){if(V==="id2"){const O=this._getMapType(h==null?void 0:h.type);if(!O)return;const U=this._getMapType(A)||[];if(O[0]!==U[0]||O[1]!==U[1])return Ne(Pe.mapKeyValErr,{typeA:this._typeAddSeries(U[0]),typeB:this._typeAddSeries(U[1]),typeC:this._typeAddSeries(O[0]),typeD:this._typeAddSeries(O[1]),name:u})}}else return Ne(Pe.typeMismatch,{operator:u,index:V,typeE:A,typeR:"map<type, type>"});break;case"series <type of the map's elements>":const g=this._getMapType(h==null?void 0:h.type);if(!g)return;const D=V==="key"?0:1;if(!A.endsWith(g[D])&&!(A.endsWith(W.INT)&&g[D]===W.FLOAT))return Ne(Pe.typeMismatch,{operator:u,index:V,typeE:A,typeR:this._typeAddSeries(g[D])});break;case"<arg_expr_type>":if(T===Oe.Brackethesized)return Ne(Pe.typeMismatch,{operator:u,index:V,typeE:A,typeR:$||""});break;case"<arg_type>":case"variable, function, object, array or matrix of series int/float/bool/string/color, or a tuple of these":break;case"variable, object or function of series int/float/bool/string/color, or a tuple of these":if(T===Oe.Brackethesized){for(const O of x)if(!F.includes(O.type))return this._errorHandle(Ne(Pe.requestArgsErr,{name:u,argName:V,type:O.type}),O.ctx),!1}break;case"const int/float/bool/string/color or source-type built-ins":if(xp.includes(n.name)&&F[0].endsWith(this._removePrefix(A)))n.isSourceType=!0;else return Ne(Pe.typeMismatch,{operator:u,index:V,typeE:A,typeR:"const int/float/bool/string/color"});break;case"<arg..._type>":if(T===Oe.Brackethesized||this._isArrayType(A)||this._isMapType(A)||this._isMatrixType(A))return Ne(Pe.typeMismatch,{operator:u,index:V,typeE:A,typeR:`${W.SERIES} ${W.INT}`});if(A!==(h==null?void 0:h.type))return Ne(Pe.typeMismatch,{operator:u,index:V,typeE:A,typeR:h==null?void 0:h.type});break;default:const R=this._removePrefix(n.type);if(n.arg&&n.arg.isArg&&!_){const O=F.find(U=>U.endsWith(R));if(O){n.type=O,n.arg.type=O;return}}if(F.length===1&&F[0].endsWith(R)){const O=this._getPrefix(n.type),U=this._getPrefix(F[0]);if(wi.indexOf(O)>=wi.indexOf(U))return}return Ne(Pe.typeMismatch,{operator:u,index:V,typeE:A,typeR:$||""})}}}_tupleToCheck(n,o,u,h,m){var _,T;if(u.push(`${W.SIMPLE} ${W.NA}`),n.ruleType===Oe.Brackethesized){const x=[];let P=!1;for(const A of n.exprs)x.push(A.type),u.includes(A.type)||(P=!0);if(P)return Ne(Pe.typeMismatch,{operator:h,index:o.name,typeE:`[${x.join(", ")}]`,typeR:((_=o.allowedTypeIDs)==null?void 0:_[0])||""})}else return Ne(Pe.typeMismatch,{operator:h,index:o.name,typeE:m,typeR:((T=o.allowedTypeIDs)==null?void 0:T[0])||""})}_getBlockReturnTypes(n){var F,$;let o=n;if(Array.isArray(n)&&(o=n.slice(-1)[0],Array.isArray(o)&&(o=o.slice(-1)[0])),!o)return[W.UNDETERMINED];const{ruleType:u,type:h,types:m,returnedTypes:_,exprs:T,nameList:x,typeList:P,block:A}=o;if(m&&m.length)return m;if(_&&_.length)return _;if(h)return[h];switch(u){case Oe.Brackethesized:const V=T.map(ue=>ue.type);return V.isBrackethesized=!0,V;case Oe.VarBlockStmt:case Oe.DeclareAssign:return x?x.ruleType===Oe.VarMultiple?x.types:[x.type]:[((F=o.name)==null?void 0:F.type)||W.UNDETERMINED];case Oe.SwitchStatement:if(!this._isNeedCalc&&!this._isInFunc)return[W.UNDETERMINED];const b=[...o.cases];o.defaultCase&&b.push(o.defaultCase);let y=(($=b[0])==null?void 0:$.returnedTypes)||[],g=y.length<=1?y[0]:`[${y.join(", ")}]`,D=null;for(const ue of b.slice(1)){const K=ue.returnedTypes||[W.UNDETERMINED];g+=K.length<=1?`; ${K[0]}`:`; [${K.join(", ")}]`;const Y=Array.isArray(ue.block)?ue.block.slice(-1)[0]:ue.block;if(K.length!==y.length)D=Y.ctx;else for(const[G,ce]of y.entries())if(this._compareType(K[G],ce))(K[G].includes(W.FLOAT)&&!ce.includes(W.FLOAT)||y[G]===`${W.SIMPLE} ${W.NA}`||y[G]===W.UNDETERMINED)&&(y[G]=K[G]);else{D=Y.ctx;break}}return D&&(this._errorHandle(Ne(Pe.ifOrSwitchTypeErr,{keyword:"switch",types:g}),D),y=y.map(()=>W.UNDETERMINED)),o.returnedTypes=y,y;case Oe.IfStatement:if(!this._isNeedCalc&&!this._isInFunc)return[W.UNDETERMINED];if(!P.filter(ue=>ue&&ue.length).length)return[W.UNDETERMINED];let R=P[0]||[],O=R.length<=1?R[0]:`[${R.join(", ")}]`,U=0,X=0;for(const ue of P.slice(1))if(ue)if(U++,O+=ue.length<=1?`; ${ue[0]}`:`; [${ue.join(", ")}]`,ue.length!==R.length)X=U;else for(const[K,Y]of R.entries())if(this._compareType(ue[K],Y))(ue[K].includes(W.FLOAT)&&!Y.includes(W.FLOAT)||R[K]===`${W.SIMPLE} ${W.NA}`)&&(R[K]=ue[K]);else{X=U;break}if(X){const ue=A[X].slice(-1)[0],K=Array.isArray(ue)?ue.slice(-1)[0]:ue;this._errorHandle(Ne(Pe.ifOrSwitchTypeErr,{keyword:"if",types:O}),K.ctx),R=R.map(()=>W.UNDETERMINED)}return o.returnedTypes=R,R}return[W.UNDETERMINED]}}class km{constructor(e){w(this,"_nameMap");w(this,"_prefixNameVar");w(this,"_prefixNameFunc");w(this,"_prefixNameConst");w(this,"_userTypes");w(this,"_isInFunc");w(this,"_varlist");w(this,"_memberIndexList");w(this,"_blockCount");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}preParser(e){var o,u;const n=[];for(const h of e){if(!h)return;if(Array.isArray(h)){for(const m of h)if(n.push(this._parserStmt(m)),_l.includes((u=(o=m.exprs)==null?void 0:o[0])==null?void 0:u.name))return n.join(`;
11
+ `));this.indents.length;)this.emitToken(this.createDedent()),this.indents.pop();this.emitToken(this.commonToken(I.EOF,"<EOF>"))}const n=super.nextToken();return this.tokens.length?this.tokens.shift():n}createDedent(){return this.commonToken(I.DEDENT,"")}getCharIndex(){return this._input.index}commonToken(n,o){const u=this.getCharIndex()-1,h=o.length?u-o.length+1:u;return new Gy([this,this._input],n,0,h,u)}getIndentationCount(n){let o=0;for(let u=0;u<n.length;u++)n[u]===" "?o+=4-o%4:o++;return o}atStartOfInput(){return this.getCharIndex()===0}openBrace(){this.opened++}closeBrace(){this.opened--}onNewLine(){const n=this.text.replace(/[^\r\n]+/g,""),o=this.text.replace(/[\r\n]+/g,""),u=this._input.LA(1),h=this._input.LA(2),m=this.getIndentationCount(o);if(this.opened>0||h!=-1&&(u===13||u===10||u===47&&h===47||m%4))this.skip();else{this.emitToken(this.commonToken(I.NEWLINE,n));const _=this.indents.length?this.indents[this.indents.length-1]:0;if(m===_)this.skip();else if(m>_)this.indents.push(m),this.emitToken(this.commonToken(I.INDENT,o));else for(;this.indents.length&&this.indents[this.indents.length-1]>m;)this.emitToken(this.createDedent()),this.indents.pop()}}}const Re=class Re extends Em{constructor(e){super(e),this._interp=new qy(this,Re._ATN,Re.DecisionsToDFA,new op)}get grammarFileName(){return"tccScriptLexer.g4"}get literalNames(){return Re.literalNames}get symbolicNames(){return Re.symbolicNames}get ruleNames(){return Re.ruleNames}get serializedATN(){return Re._serializedATN}get channelNames(){return Re.channelNames}get modeNames(){return Re.modeNames}action(e,n,o){switch(n){case 1:this.OpenBracket_action(e,o);break;case 2:this.CloseBracket_action(e,o);break;case 3:this.OpenParen_action(e,o);break;case 4:this.CloseParen_action(e,o);break;case 56:this.NEWLINE_action(e,o);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,o){switch(n){case 56:return this.NEWLINE_sempred(e,o)}return!0}NEWLINE_sempred(e,n){switch(n){case 0:return this.atStartOfInput()}return!0}static get _ATN(){return Re.__ATN||(Re.__ATN=new rp().deserialize(Re._serializedATN)),Re.__ATN}};w(Re,"INDENT",1),w(Re,"DEDENT",2),w(Re,"Point",3),w(Re,"OpenBracket",4),w(Re,"CloseBracket",5),w(Re,"OpenParen",6),w(Re,"CloseParen",7),w(Re,"Comma",8),w(Re,"Assign",9),w(Re,"QuestionMark",10),w(Re,"Colon",11),w(Re,"Plus",12),w(Re,"Minus",13),w(Re,"Multiply",14),w(Re,"Divide",15),w(Re,"Modulus",16),w(Re,"Hashtag",17),w(Re,"LessThan",18),w(Re,"MoreThan",19),w(Re,"LessThanEquals",20),w(Re,"GreaterThanEquals",21),w(Re,"Equals_",22),w(Re,"NotEquals",23),w(Re,"MultiplyAssign",24),w(Re,"DivideAssign",25),w(Re,"ModulusAssign",26),w(Re,"PlusAssign",27),w(Re,"MinusAssign",28),w(Re,"ARROW",29),w(Re,"ColonEquals",30),w(Re,"BooleanLiteral",31),w(Re,"IntegerLiteral",32),w(Re,"DecimalLiteral",33),w(Re,"Break",34),w(Re,"And",35),w(Re,"Export",36),w(Re,"For",37),w(Re,"Var",38),w(Re,"Continue",39),w(Re,"Varip",40),w(Re,"Switch",41),w(Re,"While",42),w(Re,"If",43),w(Re,"In",44),w(Re,"Or",45),w(Re,"Not",46),w(Re,"Method",47),w(Re,"Else",48),w(Re,"To",49),w(Re,"By",50),w(Re,"Type",51),w(Re,"Import",52),w(Re,"As",53),w(Re,"Map",54),w(Re,"ColorLiteral",55),w(Re,"StringLiteral",56),w(Re,"Identifier",57),w(Re,"SKIP_",58),w(Re,"NEWLINE",59),w(Re,"EOF",ap.EOF),w(Re,"channelNames",["DEFAULT_TOKEN_CHANNEL","HIDDEN"]),w(Re,"literalNames",[null,null,null,"'.'","'['","']'","'('","')'","','","'='","'?'","':'","'+'","'-'","'*'","'/'","'%'","'#'","'<'","'>'","'<='","'>='","'=='","'!='","'*='","'/='","'%='","'+='","'-='","'=>'","':='",null,null,null,"'break'","'and'","'export'","'for'","'var'","'continue'","'varip'","'switch'","'while'","'if'","'in'","'or'","'not'","'method'","'else'","'to'","'by'","'type'","'import'","'as'","'map'"]),w(Re,"symbolicNames",[null,"INDENT","DEDENT","Point","OpenBracket","CloseBracket","OpenParen","CloseParen","Comma","Assign","QuestionMark","Colon","Plus","Minus","Multiply","Divide","Modulus","Hashtag","LessThan","MoreThan","LessThanEquals","GreaterThanEquals","Equals_","NotEquals","MultiplyAssign","DivideAssign","ModulusAssign","PlusAssign","MinusAssign","ARROW","ColonEquals","BooleanLiteral","IntegerLiteral","DecimalLiteral","Break","And","Export","For","Var","Continue","Varip","Switch","While","If","In","Or","Not","Method","Else","To","By","Type","Import","As","Map","ColorLiteral","StringLiteral","Identifier","SKIP_","NEWLINE"]),w(Re,"modeNames",["DEFAULT_MODE"]),w(Re,"ruleNames",["Point","OpenBracket","CloseBracket","OpenParen","CloseParen","Comma","Assign","QuestionMark","Colon","Plus","Minus","Multiply","Divide","Modulus","Hashtag","LessThan","MoreThan","LessThanEquals","GreaterThanEquals","Equals_","NotEquals","MultiplyAssign","DivideAssign","ModulusAssign","PlusAssign","MinusAssign","ARROW","ColonEquals","BooleanLiteral","IntegerLiteral","DecimalLiteral","Break","And","Export","For","Var","Continue","Varip","Switch","While","If","In","Or","Not","Method","Else","To","By","Type","Import","As","Map","ColorLiteral","StringLiteral","Identifier","SKIP_","NEWLINE","SHORT_STRING","DIGIT","DIGITS","HEX_DIGIT","SPACES","COMMENT","EXP"]),w(Re,"_serializedATN",[4,0,59,436,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,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,210,8,28,1,29,1,29,1,30,1,30,1,30,3,30,217,8,30,1,30,1,30,1,30,1,30,3,30,223,8,30,3,30,225,8,30,1,30,3,30,228,8,30,3,30,230,8,30,1,31,1,31,1,31,1,31,1,31,1,31,1,32,1,32,1,32,1,32,1,33,1,33,1,33,1,33,1,33,1,33,1,33,1,34,1,34,1,34,1,34,1,35,1,35,1,35,1,35,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,36,1,37,1,37,1,37,1,37,1,37,1,37,1,38,1,38,1,38,1,38,1,38,1,38,1,38,1,39,1,39,1,39,1,39,1,39,1,39,1,40,1,40,1,40,1,41,1,41,1,41,1,42,1,42,1,42,1,43,1,43,1,43,1,43,1,44,1,44,1,44,1,44,1,44,1,44,1,44,1,45,1,45,1,45,1,45,1,45,1,46,1,46,1,46,1,47,1,47,1,47,1,48,1,48,1,48,1,48,1,48,1,49,1,49,1,49,1,49,1,49,1,49,1,49,1,50,1,50,1,50,1,51,1,51,1,51,1,51,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,1,52,3,52,353,8,52,1,53,1,53,1,54,1,54,5,54,359,8,54,10,54,12,54,362,9,54,1,55,1,55,3,55,366,8,55,1,55,1,55,1,56,1,56,1,56,3,56,373,8,56,1,56,1,56,3,56,377,8,56,1,56,3,56,380,8,56,3,56,382,8,56,1,56,1,56,1,57,1,57,1,57,1,57,5,57,390,8,57,10,57,12,57,393,9,57,1,57,1,57,1,57,1,57,1,57,5,57,400,8,57,10,57,12,57,403,9,57,1,57,3,57,406,8,57,1,58,1,58,1,59,4,59,411,8,59,11,59,12,59,412,1,60,1,60,1,61,4,61,418,8,61,11,61,12,61,419,1,62,1,62,1,62,1,62,5,62,426,8,62,10,62,12,62,429,9,62,1,63,1,63,3,63,433,8,63,1,63,1,63,0,0,64,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,0,117,0,119,0,121,0,123,0,125,0,127,0,1,0,10,3,0,65,90,95,95,97,122,4,0,48,57,65,90,95,95,97,122,1,0,39,39,1,0,34,34,1,0,48,57,3,0,48,57,65,70,97,102,2,0,9,9,32,32,2,0,10,10,12,13,2,0,69,69,101,101,2,0,43,43,45,45,450,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,1,129,1,0,0,0,3,131,1,0,0,0,5,134,1,0,0,0,7,137,1,0,0,0,9,140,1,0,0,0,11,143,1,0,0,0,13,145,1,0,0,0,15,147,1,0,0,0,17,149,1,0,0,0,19,151,1,0,0,0,21,153,1,0,0,0,23,155,1,0,0,0,25,157,1,0,0,0,27,159,1,0,0,0,29,161,1,0,0,0,31,163,1,0,0,0,33,165,1,0,0,0,35,167,1,0,0,0,37,170,1,0,0,0,39,173,1,0,0,0,41,176,1,0,0,0,43,179,1,0,0,0,45,182,1,0,0,0,47,185,1,0,0,0,49,188,1,0,0,0,51,191,1,0,0,0,53,194,1,0,0,0,55,197,1,0,0,0,57,209,1,0,0,0,59,211,1,0,0,0,61,229,1,0,0,0,63,231,1,0,0,0,65,237,1,0,0,0,67,241,1,0,0,0,69,248,1,0,0,0,71,252,1,0,0,0,73,256,1,0,0,0,75,265,1,0,0,0,77,271,1,0,0,0,79,278,1,0,0,0,81,284,1,0,0,0,83,287,1,0,0,0,85,290,1,0,0,0,87,293,1,0,0,0,89,297,1,0,0,0,91,304,1,0,0,0,93,309,1,0,0,0,95,312,1,0,0,0,97,315,1,0,0,0,99,320,1,0,0,0,101,327,1,0,0,0,103,330,1,0,0,0,105,352,1,0,0,0,107,354,1,0,0,0,109,356,1,0,0,0,111,365,1,0,0,0,113,381,1,0,0,0,115,405,1,0,0,0,117,407,1,0,0,0,119,410,1,0,0,0,121,414,1,0,0,0,123,417,1,0,0,0,125,421,1,0,0,0,127,430,1,0,0,0,129,130,5,46,0,0,130,2,1,0,0,0,131,132,5,91,0,0,132,133,6,1,0,0,133,4,1,0,0,0,134,135,5,93,0,0,135,136,6,2,1,0,136,6,1,0,0,0,137,138,5,40,0,0,138,139,6,3,2,0,139,8,1,0,0,0,140,141,5,41,0,0,141,142,6,4,3,0,142,10,1,0,0,0,143,144,5,44,0,0,144,12,1,0,0,0,145,146,5,61,0,0,146,14,1,0,0,0,147,148,5,63,0,0,148,16,1,0,0,0,149,150,5,58,0,0,150,18,1,0,0,0,151,152,5,43,0,0,152,20,1,0,0,0,153,154,5,45,0,0,154,22,1,0,0,0,155,156,5,42,0,0,156,24,1,0,0,0,157,158,5,47,0,0,158,26,1,0,0,0,159,160,5,37,0,0,160,28,1,0,0,0,161,162,5,35,0,0,162,30,1,0,0,0,163,164,5,60,0,0,164,32,1,0,0,0,165,166,5,62,0,0,166,34,1,0,0,0,167,168,5,60,0,0,168,169,5,61,0,0,169,36,1,0,0,0,170,171,5,62,0,0,171,172,5,61,0,0,172,38,1,0,0,0,173,174,5,61,0,0,174,175,5,61,0,0,175,40,1,0,0,0,176,177,5,33,0,0,177,178,5,61,0,0,178,42,1,0,0,0,179,180,5,42,0,0,180,181,5,61,0,0,181,44,1,0,0,0,182,183,5,47,0,0,183,184,5,61,0,0,184,46,1,0,0,0,185,186,5,37,0,0,186,187,5,61,0,0,187,48,1,0,0,0,188,189,5,43,0,0,189,190,5,61,0,0,190,50,1,0,0,0,191,192,5,45,0,0,192,193,5,61,0,0,193,52,1,0,0,0,194,195,5,61,0,0,195,196,5,62,0,0,196,54,1,0,0,0,197,198,5,58,0,0,198,199,5,61,0,0,199,56,1,0,0,0,200,201,5,116,0,0,201,202,5,114,0,0,202,203,5,117,0,0,203,210,5,101,0,0,204,205,5,102,0,0,205,206,5,97,0,0,206,207,5,108,0,0,207,208,5,115,0,0,208,210,5,101,0,0,209,200,1,0,0,0,209,204,1,0,0,0,210,58,1,0,0,0,211,212,3,119,59,0,212,60,1,0,0,0,213,214,5,46,0,0,214,216,3,119,59,0,215,217,3,127,63,0,216,215,1,0,0,0,216,217,1,0,0,0,217,230,1,0,0,0,218,227,3,119,59,0,219,224,5,46,0,0,220,222,3,119,59,0,221,223,3,127,63,0,222,221,1,0,0,0,222,223,1,0,0,0,223,225,1,0,0,0,224,220,1,0,0,0,224,225,1,0,0,0,225,228,1,0,0,0,226,228,3,127,63,0,227,219,1,0,0,0,227,226,1,0,0,0,228,230,1,0,0,0,229,213,1,0,0,0,229,218,1,0,0,0,230,62,1,0,0,0,231,232,5,98,0,0,232,233,5,114,0,0,233,234,5,101,0,0,234,235,5,97,0,0,235,236,5,107,0,0,236,64,1,0,0,0,237,238,5,97,0,0,238,239,5,110,0,0,239,240,5,100,0,0,240,66,1,0,0,0,241,242,5,101,0,0,242,243,5,120,0,0,243,244,5,112,0,0,244,245,5,111,0,0,245,246,5,114,0,0,246,247,5,116,0,0,247,68,1,0,0,0,248,249,5,102,0,0,249,250,5,111,0,0,250,251,5,114,0,0,251,70,1,0,0,0,252,253,5,118,0,0,253,254,5,97,0,0,254,255,5,114,0,0,255,72,1,0,0,0,256,257,5,99,0,0,257,258,5,111,0,0,258,259,5,110,0,0,259,260,5,116,0,0,260,261,5,105,0,0,261,262,5,110,0,0,262,263,5,117,0,0,263,264,5,101,0,0,264,74,1,0,0,0,265,266,5,118,0,0,266,267,5,97,0,0,267,268,5,114,0,0,268,269,5,105,0,0,269,270,5,112,0,0,270,76,1,0,0,0,271,272,5,115,0,0,272,273,5,119,0,0,273,274,5,105,0,0,274,275,5,116,0,0,275,276,5,99,0,0,276,277,5,104,0,0,277,78,1,0,0,0,278,279,5,119,0,0,279,280,5,104,0,0,280,281,5,105,0,0,281,282,5,108,0,0,282,283,5,101,0,0,283,80,1,0,0,0,284,285,5,105,0,0,285,286,5,102,0,0,286,82,1,0,0,0,287,288,5,105,0,0,288,289,5,110,0,0,289,84,1,0,0,0,290,291,5,111,0,0,291,292,5,114,0,0,292,86,1,0,0,0,293,294,5,110,0,0,294,295,5,111,0,0,295,296,5,116,0,0,296,88,1,0,0,0,297,298,5,109,0,0,298,299,5,101,0,0,299,300,5,116,0,0,300,301,5,104,0,0,301,302,5,111,0,0,302,303,5,100,0,0,303,90,1,0,0,0,304,305,5,101,0,0,305,306,5,108,0,0,306,307,5,115,0,0,307,308,5,101,0,0,308,92,1,0,0,0,309,310,5,116,0,0,310,311,5,111,0,0,311,94,1,0,0,0,312,313,5,98,0,0,313,314,5,121,0,0,314,96,1,0,0,0,315,316,5,116,0,0,316,317,5,121,0,0,317,318,5,112,0,0,318,319,5,101,0,0,319,98,1,0,0,0,320,321,5,105,0,0,321,322,5,109,0,0,322,323,5,112,0,0,323,324,5,111,0,0,324,325,5,114,0,0,325,326,5,116,0,0,326,100,1,0,0,0,327,328,5,97,0,0,328,329,5,115,0,0,329,102,1,0,0,0,330,331,5,109,0,0,331,332,5,97,0,0,332,333,5,112,0,0,333,104,1,0,0,0,334,335,5,35,0,0,335,336,3,121,60,0,336,337,3,121,60,0,337,338,3,121,60,0,338,339,3,121,60,0,339,340,3,121,60,0,340,341,3,121,60,0,341,353,1,0,0,0,342,343,5,35,0,0,343,344,3,121,60,0,344,345,3,121,60,0,345,346,3,121,60,0,346,347,3,121,60,0,347,348,3,121,60,0,348,349,3,121,60,0,349,350,3,121,60,0,350,351,3,121,60,0,351,353,1,0,0,0,352,334,1,0,0,0,352,342,1,0,0,0,353,106,1,0,0,0,354,355,3,115,57,0,355,108,1,0,0,0,356,360,7,0,0,0,357,359,7,1,0,0,358,357,1,0,0,0,359,362,1,0,0,0,360,358,1,0,0,0,360,361,1,0,0,0,361,110,1,0,0,0,362,360,1,0,0,0,363,366,3,123,61,0,364,366,3,125,62,0,365,363,1,0,0,0,365,364,1,0,0,0,366,367,1,0,0,0,367,368,6,55,4,0,368,112,1,0,0,0,369,370,4,56,0,0,370,382,3,123,61,0,371,373,5,13,0,0,372,371,1,0,0,0,372,373,1,0,0,0,373,374,1,0,0,0,374,377,5,10,0,0,375,377,2,12,13,0,376,372,1,0,0,0,376,375,1,0,0,0,377,379,1,0,0,0,378,380,3,123,61,0,379,378,1,0,0,0,379,380,1,0,0,0,380,382,1,0,0,0,381,369,1,0,0,0,381,376,1,0,0,0,382,383,1,0,0,0,383,384,6,56,5,0,384,114,1,0,0,0,385,391,5,39,0,0,386,390,8,2,0,0,387,388,5,92,0,0,388,390,5,39,0,0,389,386,1,0,0,0,389,387,1,0,0,0,390,393,1,0,0,0,391,389,1,0,0,0,391,392,1,0,0,0,392,394,1,0,0,0,393,391,1,0,0,0,394,406,5,39,0,0,395,401,5,34,0,0,396,400,8,3,0,0,397,398,5,92,0,0,398,400,5,34,0,0,399,396,1,0,0,0,399,397,1,0,0,0,400,403,1,0,0,0,401,399,1,0,0,0,401,402,1,0,0,0,402,404,1,0,0,0,403,401,1,0,0,0,404,406,5,34,0,0,405,385,1,0,0,0,405,395,1,0,0,0,406,116,1,0,0,0,407,408,7,4,0,0,408,118,1,0,0,0,409,411,3,117,58,0,410,409,1,0,0,0,411,412,1,0,0,0,412,410,1,0,0,0,412,413,1,0,0,0,413,120,1,0,0,0,414,415,7,5,0,0,415,122,1,0,0,0,416,418,7,6,0,0,417,416,1,0,0,0,418,419,1,0,0,0,419,417,1,0,0,0,419,420,1,0,0,0,420,124,1,0,0,0,421,422,5,47,0,0,422,423,5,47,0,0,423,427,1,0,0,0,424,426,8,7,0,0,425,424,1,0,0,0,426,429,1,0,0,0,427,425,1,0,0,0,427,428,1,0,0,0,428,126,1,0,0,0,429,427,1,0,0,0,430,432,7,8,0,0,431,433,7,9,0,0,432,431,1,0,0,0,432,433,1,0,0,0,433,434,1,0,0,0,434,435,3,119,59,0,435,128,1,0,0,0,23,0,209,216,222,224,227,229,352,360,365,372,376,379,381,389,391,399,401,405,412,419,427,432,6,1,1,0,1,2,1,1,3,2,1,4,3,6,0,0,1,56,4]),w(Re,"__ATN"),w(Re,"DecisionsToDFA",Re._ATN.decisionToState.map((e,n)=>new ip(e,n)));let ml=Re;var W=(t=>(t.BOOL="bool",t.INT="int",t.FLOAT="float",t.ARRAY="array",t.BOX="box",t.CHART_POINT="chart.point",t.COLOR="color",t.CONST="const",t.LABEL="label",t.LINE="line",t.LINEFILL="linefill",t.MAP="map",t.MATRIX="matrix",t.POLYLINE="polyline",t.SERIES="series",t.SIMPLE="simple",t.STRING="string",t.TABLE="table",t.UNDETERMINED="undetermined type",t.INPUT="input",t.NA="na",t.VOID="void",t))(W||{}),Oe=(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))(Oe||{});const Pe={onlyInLoop:"'$text' is only allowed inside loops",invalidType:"Invalid argument 'expr$index' in 'operator SQBR' call",typeUseError:"Cannot specify a type form '$text' without also specifying the type.",notTypeKeyword:"'$text' is not a valid type keyword in variable declaration",undeclared:"Undeclared identifier '$name'",repeatVar:"'$name' is already defined",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",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 undefined object. The object is 'na'."},Ri={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"},wi=[W.SERIES,W.SIMPLE,W.INPUT,W.CONST],Sm=[W.INT,W.FLOAT,W.BOOL,W.COLOR,W.STRING],_l=["indicator","strategy","library"],Tm=["plot","plotbar","plotchar","plotarrow","plotshape","plotcandle","hline","indicator","alertcondition","barcolor","bgcolor","fill","library","strategy"],Am=["strategy","input","table","color","line","linefill","label","box"],xp=["close","open","high","low","hl2","hlc3","hlcc4","ohlc4","volume"];var Op=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},xm={exports:{}};(function(t,e){(function(n,o){t.exports=o()})(Op,function(){var n=1e3,o=6e4,u=36e5,h="millisecond",m="second",_="minute",T="hour",x="day",P="week",A="month",F="quarter",$="year",V="date",b="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,D={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(ye){var te=["th","st","nd","rd"],he=ye%100;return"["+ye+(te[(he-20)%10]||te[he]||te[0])+"]"}},R=function(ye,te,he){var le=String(ye);return!le||le.length>=te?ye:""+Array(te+1-le.length).join(he)+ye},O={s:R,z:function(ye){var te=-ye.utcOffset(),he=Math.abs(te),le=Math.floor(he/60),Ae=he%60;return(te<=0?"+":"-")+R(le,2,"0")+":"+R(Ae,2,"0")},m:function ye(te,he){if(te.date()<he.date())return-ye(he,te);var le=12*(he.year()-te.year())+(he.month()-te.month()),Ae=te.clone().add(le,A),we=he-Ae<0,_e=te.clone().add(le+(we?-1:1),A);return+(-(le+(he-Ae)/(we?Ae-_e:_e-Ae))||0)},a:function(ye){return ye<0?Math.ceil(ye)||0:Math.floor(ye)},p:function(ye){return{M:A,y:$,w:P,d:x,D:V,h:T,m:_,s:m,ms:h,Q:F}[ye]||String(ye||"").toLowerCase().replace(/s$/,"")},u:function(ye){return ye===void 0}},U="en",X={};X[U]=D;var ue="$isDayjsObject",K=function(ye){return ye instanceof Q||!(!ye||!ye[ue])},Y=function ye(te,he,le){var Ae;if(!te)return U;if(typeof te=="string"){var we=te.toLowerCase();X[we]&&(Ae=we),he&&(X[we]=he,Ae=we);var _e=te.split("-");if(!Ae&&_e.length>1)return ye(_e[0])}else{var Ue=te.name;X[Ue]=te,Ae=Ue}return!le&&Ae&&(U=Ae),Ae||!le&&U},G=function(ye,te){if(K(ye))return ye.clone();var he=typeof te=="object"?te:{};return he.date=ye,he.args=arguments,new Q(he)},ce=O;ce.l=Y,ce.i=K,ce.w=function(ye,te){return G(ye,{locale:te.$L,utc:te.$u,x:te.$x,$offset:te.$offset})};var Q=function(){function ye(he){this.$L=Y(he.locale,null,!0),this.parse(he),this.$x=this.$x||he.x||{},this[ue]=!0}var te=ye.prototype;return te.parse=function(he){this.$d=function(le){var Ae=le.date,we=le.utc;if(Ae===null)return new Date(NaN);if(ce.u(Ae))return new Date;if(Ae instanceof Date)return new Date(Ae);if(typeof Ae=="string"&&!/Z$/i.test(Ae)){var _e=Ae.match(y);if(_e){var Ue=_e[2]-1||0,J=(_e[7]||"0").substring(0,3);return we?new Date(Date.UTC(_e[1],Ue,_e[3]||1,_e[4]||0,_e[5]||0,_e[6]||0,J)):new Date(_e[1],Ue,_e[3]||1,_e[4]||0,_e[5]||0,_e[6]||0,J)}}return new Date(Ae)}(he),this.init()},te.init=function(){var he=this.$d;this.$y=he.getFullYear(),this.$M=he.getMonth(),this.$D=he.getDate(),this.$W=he.getDay(),this.$H=he.getHours(),this.$m=he.getMinutes(),this.$s=he.getSeconds(),this.$ms=he.getMilliseconds()},te.$utils=function(){return ce},te.isValid=function(){return this.$d.toString()!==b},te.isSame=function(he,le){var Ae=G(he);return this.startOf(le)<=Ae&&Ae<=this.endOf(le)},te.isAfter=function(he,le){return G(he)<this.startOf(le)},te.isBefore=function(he,le){return this.endOf(le)<G(he)},te.$g=function(he,le,Ae){return ce.u(he)?this[le]:this.set(Ae,he)},te.unix=function(){return Math.floor(this.valueOf()/1e3)},te.valueOf=function(){return this.$d.getTime()},te.startOf=function(he,le){var Ae=this,we=!!ce.u(le)||le,_e=ce.p(he),Ue=function(Et,Lt){var gt=ce.w(Ae.$u?Date.UTC(Ae.$y,Lt,Et):new Date(Ae.$y,Lt,Et),Ae);return we?gt:gt.endOf(x)},J=function(Et,Lt){return ce.w(Ae.toDate()[Et].apply(Ae.toDate("s"),(we?[0,0,0,0]:[23,59,59,999]).slice(Lt)),Ae)},ne=this.$W,ae=this.$M,Ee=this.$D,me="set"+(this.$u?"UTC":"");switch(_e){case $:return we?Ue(1,0):Ue(31,11);case A:return we?Ue(1,ae):Ue(0,ae+1);case P:var At=this.$locale().weekStart||0,jt=(ne<At?ne+7:ne)-At;return Ue(we?Ee-jt:Ee+(6-jt),ae);case x:case V:return J(me+"Hours",0);case T:return J(me+"Minutes",1);case _:return J(me+"Seconds",2);case m:return J(me+"Milliseconds",3);default:return this.clone()}},te.endOf=function(he){return this.startOf(he,!1)},te.$set=function(he,le){var Ae,we=ce.p(he),_e="set"+(this.$u?"UTC":""),Ue=(Ae={},Ae[x]=_e+"Date",Ae[V]=_e+"Date",Ae[A]=_e+"Month",Ae[$]=_e+"FullYear",Ae[T]=_e+"Hours",Ae[_]=_e+"Minutes",Ae[m]=_e+"Seconds",Ae[h]=_e+"Milliseconds",Ae)[we],J=we===x?this.$D+(le-this.$W):le;if(we===A||we===$){var ne=this.clone().set(V,1);ne.$d[Ue](J),ne.init(),this.$d=ne.set(V,Math.min(this.$D,ne.daysInMonth())).$d}else Ue&&this.$d[Ue](J);return this.init(),this},te.set=function(he,le){return this.clone().$set(he,le)},te.get=function(he){return this[ce.p(he)]()},te.add=function(he,le){var Ae,we=this;he=Number(he);var _e=ce.p(le),Ue=function(ae){var Ee=G(we);return ce.w(Ee.date(Ee.date()+Math.round(ae*he)),we)};if(_e===A)return this.set(A,this.$M+he);if(_e===$)return this.set($,this.$y+he);if(_e===x)return Ue(1);if(_e===P)return Ue(7);var J=(Ae={},Ae[_]=o,Ae[T]=u,Ae[m]=n,Ae)[_e]||1,ne=this.$d.getTime()+he*J;return ce.w(ne,this)},te.subtract=function(he,le){return this.add(-1*he,le)},te.format=function(he){var le=this,Ae=this.$locale();if(!this.isValid())return Ae.invalidDate||b;var we=he||"YYYY-MM-DDTHH:mm:ssZ",_e=ce.z(this),Ue=this.$H,J=this.$m,ne=this.$M,ae=Ae.weekdays,Ee=Ae.months,me=Ae.meridiem,At=function(Lt,gt,Dt,Jt){return Lt&&(Lt[gt]||Lt(le,we))||Dt[gt].slice(0,Jt)},jt=function(Lt){return ce.s(Ue%12||12,Lt,"0")},Et=me||function(Lt,gt,Dt){var Jt=Lt<12?"AM":"PM";return Dt?Jt.toLowerCase():Jt};return we.replace(g,function(Lt,gt){return gt||function(Dt){switch(Dt){case"YY":return String(le.$y).slice(-2);case"YYYY":return ce.s(le.$y,4,"0");case"M":return ne+1;case"MM":return ce.s(ne+1,2,"0");case"MMM":return At(Ae.monthsShort,ne,Ee,3);case"MMMM":return At(Ee,ne);case"D":return le.$D;case"DD":return ce.s(le.$D,2,"0");case"d":return String(le.$W);case"dd":return At(Ae.weekdaysMin,le.$W,ae,2);case"ddd":return At(Ae.weekdaysShort,le.$W,ae,3);case"dddd":return ae[le.$W];case"H":return String(Ue);case"HH":return ce.s(Ue,2,"0");case"h":return jt(1);case"hh":return jt(2);case"a":return Et(Ue,J,!0);case"A":return Et(Ue,J,!1);case"m":return String(J);case"mm":return ce.s(J,2,"0");case"s":return String(le.$s);case"ss":return ce.s(le.$s,2,"0");case"SSS":return ce.s(le.$ms,3,"0");case"Z":return _e}return null}(Lt)||_e.replace(":","")})},te.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},te.diff=function(he,le,Ae){var we,_e=this,Ue=ce.p(le),J=G(he),ne=(J.utcOffset()-this.utcOffset())*o,ae=this-J,Ee=function(){return ce.m(_e,J)};switch(Ue){case $:we=Ee()/12;break;case A:we=Ee();break;case F:we=Ee()/3;break;case P:we=(ae-ne)/6048e5;break;case x:we=(ae-ne)/864e5;break;case T:we=ae/u;break;case _:we=ae/o;break;case m:we=ae/n;break;default:we=ae}return Ae?we:ce.a(we)},te.daysInMonth=function(){return this.endOf(A).$D},te.$locale=function(){return X[this.$L]},te.locale=function(he,le){if(!he)return this.$L;var Ae=this.clone(),we=Y(he,le,!0);return we&&(Ae.$L=we),Ae},te.clone=function(){return ce.w(this.$d,this)},te.toDate=function(){return new Date(this.valueOf())},te.toJSON=function(){return this.isValid()?this.toISOString():null},te.toISOString=function(){return this.$d.toISOString()},te.toString=function(){return this.$d.toUTCString()},ye}(),de=Q.prototype;return G.prototype=de,[["$ms",h],["$s",m],["$m",_],["$H",T],["$W",x],["$M",A],["$y",$],["$D",V]].forEach(function(ye){de[ye[1]]=function(te){return this.$g(te,ye[0],ye[1])}}),G.extend=function(ye,te){return ye.$i||(ye(te,Q,G),ye.$i=!0),G},G.locale=Y,G.isDayjs=K,G.unix=function(ye){return G(1e3*ye)},G.en=X[U],G.Ls=X,G.p={},G})})(xm);function Ne(t,e){return t.replace(/\$(\w+)/g,(n,o)=>String(e[o])||n)}class Om extends Yy{constructor(){super(...arguments);w(this,"visitProgram");w(this,"visitGlobalStmt");w(this,"visitBlockStmt");w(this,"visitStmt");w(this,"visitSimpleStmt");w(this,"visitFlowStmt");w(this,"visitBlock");w(this,"visitBlockLine");w(this,"visitVariableDeclarationStmt");w(this,"visitDeclareAssign");w(this,"visitAgainAssign");w(this,"visitVarModifier");w(this,"visitBlockSequence");w(this,"visitExpressionSequence");w(this,"visitExpressionBlockSequence");w(this,"visitVarBlockStmt");w(this,"visitVarSingle");w(this,"visitVarMultiple");w(this,"visitBlockExpression");w(this,"visitParenthesizedExpression");w(this,"visitAdditiveExpression");w(this,"visitRelationalExpression");w(this,"visitTernaryExpression");w(this,"visitLogicalAndExpression");w(this,"visitNameExpression");w(this,"visitLiteralExpression");w(this,"visitLogicalOrExpression");w(this,"visitUnaryExpression");w(this,"visitNotExpression");w(this,"visitMemberIndexExpression");w(this,"visitMethodExpression");w(this,"visitEqualityExpression");w(this,"visitMultiplicativeExpression");w(this,"visitBrackethesized");w(this,"visitArguments");w(this,"visitArgument");w(this,"visitIfStatement");w(this,"visitForToStatement");w(this,"visitForInStatement");w(this,"visitSwitchStatement");w(this,"visitCaseClause");w(this,"visitDefaultCaluse");w(this,"visitWhileStatement");w(this,"visitImportStmt");w(this,"visitImportElement");w(this,"visitLiteral");w(this,"visitMethodStmt");w(this,"visitMethodElement");w(this,"visitMethodName");w(this,"visitArrowFunction");w(this,"visitArrowFunctionParameters");w(this,"visitFormalParameterList");w(this,"visitFormalParameterArg");w(this,"visitArrowMethod");w(this,"visitArrowMethodParameters");w(this,"visitTypeStatement");w(this,"visitTypeElement");w(this,"visitAssignmentOperator");w(this,"visitTypeMap");w(this,"visitTypeSeries");w(this,"visitTypeArray");w(this,"visitTypeGather");w(this,"visitIdentifier");w(this,"visitTypeName");w(this,"visitName")}}class Dm extends Om{constructor(n){super();w(this,"_buildinVariables");w(this,"_buildinTypes");w(this,"_buildinConstants");w(this,"_buildinMethods");w(this,"_buildinFunctions");this._buildinVariables=new Map,this._buildinConstants=new Map,this._buildinFunctions=new Map,this._buildinTypes=new Map,this._buildinMethods=new Map,this._buildinHandle(n)}_buildinHandle(n){for(const o in n){const u=new Map(Object.entries(n[o]));switch(o){case"constants":this._buildinConstants=u;break;case"functions":this._buildinFunctions=u;break;case"methods":this._buildinMethods=u;break;case"types":this._buildinTypes=u;break;case"variables":this._buildinVariables=u;break}}}_typeHandle(n=[],o){if(!n.length)return W.UNDETERMINED;if(n=n.filter(m=>!m.endsWith(W.NA)),!n.length)return`${W.SIMPLE} ${W.NA}`;let u=100,h="";for(const m of n){if(m===W.UNDETERMINED)return W.UNDETERMINED;m.startsWith(W.SERIES)?u=0:m.startsWith(W.SIMPLE)&&u>0?u=1:m.startsWith(W.INPUT)&&u>1?u=2:m.startsWith(W.CONST)&&u>2&&(u=3);const _=this._removePrefix(m);(_!==W.INT||!h)&&(h=_)}return u===100?h:`${wi[u]} ${o||h}`}_returnTypesOtherHandle(n,o,u,h){if(!u.length||u[0].includes("<>")){const m=n.type;let _=m;if(!m||m===W.UNDETERMINED)return[W.UNDETERMINED];switch(o){case"series <type>":_=this._getArrayType(m),_||(_=this._removePrefix(m)),u=[this._typeAddSeries(_)];break;case"array<type>":case"matrix<type>":case"type[]":if(this._isMapType(m)){const T=this._getMapType(m)||[];h.includes("keys")?_=T[0]:_=T[1]}else _=this._getArrayType(m),_||(_=this._removePrefix(m));u=[this._typeReplace(o,_)];break;case"<matrix_type>":_=this._getArrayType(m),u=[this._typeAddSeries(_)];break;case"map<keyType, valueType>":u=[_];break;case"<value_type>":_=this._getMapType(m),u=_[1];break}}return u}_checkMethodThisType(n,o){if(!n||!n.length||n[0].includes("<>"))return!0;o=this._removePrefix(o);const u=o.replace("int","float");return n.some(h=>h===o||u===h||h.endsWith(o))}_priorityComparison(n,o){if(!n)return!1;if(this._isArrayType(n)||this._isMatrixType(n))return this._getArrayType(o)!==W.INT;{const u=this._getPrefix(n),h=this._getPrefix(o);return u===h?!!n.endsWith(W.INT):!(wi.indexOf(u)<wi.indexOf(h))}}_compareType(n,o){if(n===W.UNDETERMINED||o===W.UNDETERMINED)return!0;const u=[W.FLOAT,W.INT];if(this._isArrayType(n)||this._isMatrixType(n)){const h=this._getArrayType(n)||"",m=this._getArrayType(o)||"";return h===m||u.includes(h)&&u.includes(m)}else if(this._isMapType(n)){const h=this._getMapType(n)||[],m=this._getMapType(o)||[];return(h[0]===m[0]||u.includes(h[0])&&u.includes(m[0]))&&(h[1]===m[1]||u.includes(h[1])&&u.includes(m[1]))}else{const h=this._removePrefix(n),m=this._removePrefix(o);return h===W.NA||m===W.NA||h===m||u.includes(h)&&u.includes(m)}}_typeAddSeries(n){return this._buildinTypes.get(n)&&n!==W.CHART_POINT?`${W.SERIES} ${n}`:n}_typeAddConst(n){return this._buildinTypes.get(n)&&n!==W.CHART_POINT?`${W.CONST} ${n}`:n}_getOriginMethodName(n,o){let u="";return this._isArrayType(n)?u=`${W.ARRAY}.${o}`:this._isMatrixType(n)?u=`${W.MATRIX}.${o}`:this._isMapType(n)?u=`${W.MAP}.${o}`:u=`${this._removePrefix(n)}.${o}`,u}_returnedTypesParse(n){if(!n||!n.length)return[];const o=n[0];return/^\[.+\]$/.test(o)?o.replace(/[[\]]/g,"").split(",").map(u=>u.trim()):n}_removePrefix(n=""){return n.replace(/(series|simple|const|input)\s+([\w\d.]+)/,"$2")}_getPrefix(n){if(!n)return"";const o=n.replace(/(series|simple|const|input).+/,"$1");return wi.includes(o)?o:""}_getArrayType(n){let o=/\w+<([\w\d.]+)>/.exec(n);return o||(o=/([\w\d.]+)\[\]/.exec(n)),o==null?void 0:o[1]}_getMapType(n){const o=/\w+<(\w+),\s*([\w\d.]+)>/.exec(n);return(o==null?void 0:o[1])&&(o==null?void 0:o[2])&&[o==null?void 0:o[1],o==null?void 0:o[2]]}_isMatrixType(n){return/^matrix<[\w\d.]+>$/.test(n)}_isArrayType(n){return/^array<[\w\d.]+>$/.test(n)||/^[\w\d.]+\[\]$/.test(n)}_isMapType(n){return/^map<\w+,\s*[\w\d.]+>$/.test(n)}_arrayTypeConvert(n){return!this._isArrayType(n)||!n.includes("<")?n:`${this._getArrayType(n)}[]`}_getMethodTypeName(n){return this._isArrayType(n)?W.ARRAY:this._isMapType(n)?W.MAP:this._isMatrixType(n)?W.MATRIX:this._removePrefix(n)}_typeReplace(n,o){return o=this._removePrefix(o),this._arrayTypeConvert(n.startsWith(W.SERIES)?n.replace("<type>",o):n.replace("type",o))}}var Lr=(t=>(t[t.Hint=1]="Hint",t[t.Info=2]="Info",t[t.Warning=4]="Warning",t[t.Error=8]="Error",t))(Lr||{});class Cm extends Dm{constructor(n){super(n);w(this,"_loopCount");w(this,"_errors");w(this,"_variables");w(this,"_functions");w(this,"_methods");w(this,"_types");w(this,"_currentBlockVars");w(this,"_currentFuncParams");w(this,"_isNeedCalc");w(this,"_blockCount");w(this,"_isInFunc");w(this,"_onlyStatementsCount");w(this,"_blockRanges");w(this,"_overloadsFuncs");w(this,"_hasMemberIndex");w(this,"_isInLocalScop");w(this,"visitProgram",n=>{const{children:o}=n;let u=0;const h=[];for(this._pushBlockRanges(n);u<o.length;u++){const m=o[u];m.ruleIndex===I.RULE_globalStmt&&h.push(this.visit(m))}return this._onlyStatementsCount<=0&&this._errors.push({startColumn:0,endColumn:0,startLineNumber:1,endLineNumber:1,message:Ne(Pe.onlyStatementErr,{count:this._onlyStatementsCount})}),h});w(this,"visitGlobalStmt",n=>{const{children:o}=n;if(o&&o.length){const u=o[0],h=this.visit(u);return u.ruleIndex===I.RULE_methodStmt&&_l.includes(h.exprs[0].name)&&(this._onlyStatementsCount++,this._onlyStatementsCount>1&&this._errorHandle(Ne(Pe.onlyStatementErr,{count:this._onlyStatementsCount}),u)),h}return null});w(this,"visitBlockStmt",n=>{const{children:o}=n;let u=0;const h=[];for(;u<o.length;u++){const m=o[u];switch(m.ruleIndex){case I.RULE_variableDeclarationStmt:h.push(...this.visit(m));break;case I.RULE_varBlockStmt:h.push(this.visit(m));break;case I.RULE_blockExpression:h.push(this.visit(m));break}}return h});w(this,"visitStmt",n=>{const{children:o}=n;if(o&&o.length){const u=o[0];return this.visit(u)}return null});w(this,"visitSimpleStmt",n=>{const{children:o}=n;if(o&&o.length){const u=o[0];return this.visit(u)}return null});w(this,"visitFlowStmt",n=>{const{children:o}=n,{column:u,line:h,text:m}=o[0].symbol;if(this._loopCount<=0){const _=u+1;this._errors.push({startColumn:_,endColumn:parseInt(_+m.length),startLineNumber:h,endLineNumber:h,message:Ne(Pe.onlyInLoop,{text:m})})}return{ruleType:Oe.FlowStmt,value:m}});w(this,"visitBlock",n=>{const{children:o}=n;if(o&&o.length){const u=o[0];return u.ruleIndex===I.RULE_simpleStmt?this._inBlock(u):this.visit(u)}return null});w(this,"visitBlockLine",n=>{const{children:o}=n;if(!o)return null;let u=0;const h=[];for(this._blockCount++,this._pushBlockRanges(n);u<o.length;u++){const m=o[u];m.ruleIndex===I.RULE_stmt&&h.push(this.visit(m))}return this._blockCount--,this._blockRanges.pop(),this._currentBlockVars.splice(this._blockCount+1),h});w(this,"visitDeclareAssign",n=>{const{children:o}=n;let u=0;const h={ruleType:Oe.DeclareAssign};for(;u<o.length;u++){const m=o[u];switch(m.ruleIndex){case I.RULE_varArrayDeclaration:h.nameList=this.visit(m);break;case I.RULE_singleExpression:h.value=this.visit(m);break}}return this._variablesHandle(h,n),h});w(this,"visitAgainAssign",n=>{const{children:o}=n;if(o.length>=3){const u=this.visit(o[0]);this._verifyGloablVar(u,o[0]);const h=this.visit(o[2]),m=this.visit(o[1]);return u.type?this._againAssignHandle([u,h],[o[0],o[2]],m):null}return null});w(this,"visitVarModifier",n=>{const{children:o}=n;return o[0].symbol.text});w(this,"visitExpressionSequence",n=>{const{children:o}=n;let u=0;const h=[];for(;u<o.length;u++){const m=o[u];if(m.ruleIndex===I.RULE_singleExpression){const _=this.visit(m);_&&(_.ctx=m,h.push(_))}}return h});w(this,"visitExpressionBlockSequence",n=>{const{children:o}=n;let u=0;const h=[];for(;u<o.length;u++){const m=o[u];switch(m.ruleIndex){case I.RULE_singleExpression:h.push(this.visit(m));break;case I.RULE_variableDeclarationList:h.push(this.visit(m));break;case I.RULE_blockExpression:h.push(this.visit(m));break;case I.RULE_varBlockStmt:h.push(this.visit(m));break}}return h});w(this,"visitBlockSequence",n=>{const{children:o}=n;let u=0;const h=[];for(;u<o.length;u++){const m=o[u];switch(m.ruleIndex){case I.RULE_variableDeclarationList:h.push(this.visit(m));break;case I.RULE_singleExpression:h.push(this.visit(m));break}}return h});w(this,"visitVariableDeclarationStmt",n=>{const{children:o}=n;let u=0;const h=[];for(;u<o.length;u++){const m=o[u];switch(m.ruleIndex){case I.RULE_variableDeclarationList:h.push(this.visit(m));break;case I.RULE_methodStmt:const _=this.visit(m);_l.includes(_.exprs[0].name)&&(this._onlyStatementsCount++,this._onlyStatementsCount>1&&this._errorHandle(Ne(Pe.onlyStatementErr,{count:this._onlyStatementsCount}),m)),h.push(_);break}}return h});w(this,"visitVarBlockStmt",n=>{const{children:o}=n;let u=0;const h={ruleType:Oe.VarBlockStmt,ctx:n},m=[];for(;u<o.length;u++){const _=o[u];switch(_.ruleIndex){case I.RULE_varArrayDeclaration:h.nameList=this.visit(_);break;case I.RULE_assignmentOperator:h.operator=this.visit(_);break;case I.RULE_name:m.push(_),h.name=this.visit(_);break;case I.RULE_blockExpression:this._isNeedCalc=!0,h.value=this.visit(_),m.push(_);const T=this._getBlockReturnTypes(h.value);T.length===1?h.value.type=T[0]:h.value.types=T,this._isNeedCalc=!1;break}}return h.name?this._againAssignHandle([h.name,h.value],m,h.operator):(this._variablesHandle(h,n),h)});w(this,"visitVarSingle",n=>{const{children:o}=n,u={ruleType:Oe.VarSingle};let h=0,m={lineNumber:0,column:0};for(;h<o.length;h++){const _=o[h];switch(_.ruleIndex){case I.RULE_varModifier:u.declare=this.visit(_);break;case I.RULE_typeGather:const T=this.visit(_);u.prefix=this._getPrefix(T),u.type=T&&this._typeAddConst(T);break;case I.RULE_identifier:const x=this.visit(_);this._repeatVarJudge(x,_),m={lineNumber:_.start.line,column:_.start.column},u.name=x,u.pos=m;break}}return u});w(this,"visitVarMultiple",n=>{const{children:o}=n;let u=0;const h=[],m=[];for(;u<o.length;u++){const _=o[u];if(_.ruleIndex===I.RULE_identifier){const T=this.visit(_);this._repeatVarJudge(T,_),h.push(T),m.push({lineNumber:_.start.line,column:_.start.column})}}return{ruleType:Oe.VarMultiple,names:h,posList:m}});w(this,"visitBlockExpression",n=>{const{children:o}=n;if(o&&o.length){const u=o[0];return this.visit(u)}return null});w(this,"visitParenthesizedExpression",n=>{const{children:o}=n,u=o[1],h=this.visit(u);return{ruleType:Oe.ParenthesizedExpression,type:h.type,ctx:n,exprs:h}});w(this,"visitAdditiveExpression",n=>{const{children:o}=n;let u=0,h="";const m=[];for(;u<o.length;u++){const T=o[u];T.ruleIndex===I.RULE_singleExpression?m.push(this.visit(T)):h=T.symbol.text}const _={ruleType:Oe.AdditiveExpression,operator:h,ctx:n,exprs:m};if(["+","-"].includes(h)){const T=[W.UNDETERMINED,W.INT,W.FLOAT];h==="+"&&T.push(W.STRING);const x=this._sameTypeJudge(m,[o[0],o[2]],h,T);_.type=this._typeHandle(x)}else{const T=this._calcTypeJudge(m[0],o[0],h),x=this._calcTypeJudge(m[1],o[2],h,1);_.type=this._typeHandle([T,x])}return _});w(this,"visitRelationalExpression",n=>{const{children:o}=n;let u=0,h="";const m=[];for(;u<o.length;u++){const x=o[u];x.ruleIndex===I.RULE_singleExpression?m.push(this.visit(x)):h=x.symbol.text}const _=this._calcTypeJudge(m[0],o[0],h),T=this._calcTypeJudge(m[1],o[2],h,1);return{ruleType:Oe.RelationalExpression,operator:h,ctx:n,type:this._typeHandle([_,T],W.BOOL),exprs:m}});w(this,"visitEqualityExpression",n=>{const{children:o}=n;let u=0,h="";const m=[];for(;u<o.length;u++){const T=o[u];T.ruleIndex===I.RULE_singleExpression?m.push(this.visit(T)):h=T.symbol.text}const _=this._sameTypeJudge(m,[o[0],o[2]],h,[W.UNDETERMINED,W.COLOR,W.STRING,W.BOOL,W.INT,W.FLOAT]);return{ruleType:Oe.EqualityExpression,operator:h,ctx:n,type:this._typeHandle(_,W.BOOL),exprs:m}});w(this,"visitTernaryExpression",n=>{const{children:o}=n;let u=0;const h=[];for(;u<o.length;u++){const _=o[u];if(_.ruleIndex===I.RULE_singleExpression){const T=this._isInLocalScop;u!==0&&(this._isInLocalScop=!0),h.push(this.visit(_)),this._isInLocalScop=T}}let m=W.UNDETERMINED;if(h.length>=3){this._boolTypeJudge(h[0],o[0],"?:");const _=this._sameTypeJudge(h.slice(1),[o[2],o[4]],"?:",[]),T=this._getPrefix(h[0].type);m=this._typeHandle(_),T&&(m=this._typeHandle([m,`${T} ${this._removePrefix(m)}`]))}return{ruleType:Oe.TernaryExpression,type:m,ctx:n,exprs:h}});w(this,"visitNameExpression",n=>{const{children:o}=n;if(o&&o.length){const u=o[0];return this.visit(u)}return null});w(this,"visitLiteralExpression",n=>{const{children:o}=n;if(o&&o.length){const u=o[0];return this.visit(u)}return null});w(this,"visitUnaryExpression",n=>{var x;const{children:o}=n,[u,h]=o,m=[this.visit(h)],_=u.symbol.text,T=this._calcTypeJudge(m[0],h,_);return((x=m[0])==null?void 0:x.ruleType)===Oe.UnaryExpression&&this._errors.push({message:Ne(Pe.unaryErr,{sign:_}),startColumn:u.symbol.column+1,startLineNumber:u.symbol.line,endColumn:u.symbol.column+2,endLineNumber:u.symbol.line}),{ruleType:Oe.UnaryExpression,operator:_,type:T,ctx:n,exprs:m}});w(this,"visitNotExpression",n=>{const{children:o}=n,u=o[1],h=[this.visit(u)],m=this._boolTypeJudge(h[0],u,"not");return{ruleType:Oe.NotExpression,ctx:n,type:this._typeHandle([m],W.BOOL),exprs:h}});w(this,"visitMemberIndexExpression",n=>{var m,_;const{children:o}=n;let u=0;const h=[];for(;u<o.length;u++){const T=o[u];T.ruleIndex===I.RULE_singleExpression&&h.push(this.visit(T))}if(this._memberIndexVerify(h[0],n),this._hasMemberIndex=!0,((m=h[0])==null?void 0:m.ruleType)===Oe.MemberIndexExpression){const T=o[1];this._errors.push({message:Ne(Pe.unaryErr,{sign:"["}),startColumn:T.symbol.column+1,startLineNumber:T.symbol.line,endColumn:T.symbol.column+2,endLineNumber:T.symbol.line}),this._hasMemberIndex=!1}return{ruleType:Oe.MemberIndexExpression,type:(_=h[0])==null?void 0:_.type,ctx:n,isInFunc:this._isInFunc,exprs:h}});w(this,"visitMethodStmt",n=>{const{children:o}=n;let u=0;const h=[],m=[];let _;for(;u<o.length;u++){const T=o[u];T.ruleIndex===I.RULE_methodElement&&(h.push(this.visit(T)),m.push(T))}return _=this._getMethodTypes(h,m)||[],{ruleType:Oe.MethodExpression,types:_.length>1||_.isBrackethesized||_.isUnknown?_:void 0,ctx:n,type:_.length===1?_[0]:void 0,exprs:h}});w(this,"visitMethodExpression",n=>{const{children:o}=n;if(o&&o.length){const u=o[0];return this.visit(u)}return null});w(this,"visitLogicalAndExpression",n=>{const{children:o}=n;let u=0,h="";const m=[];for(;u<o.length;u++){const x=o[u];x.ruleIndex===I.RULE_singleExpression?m.push(this.visit(x)):h=x.symbol.text}const _=this._boolTypeJudge(m[0],o[0],h),T=this._boolTypeJudge(m[1],o[2],h,1);return{ruleType:Oe.LogicalAndExpression,type:this._typeHandle([_,T],W.BOOL),operator:h,ctx:n,exprs:m}});w(this,"visitLogicalOrExpression",n=>{const{children:o}=n;let u=0,h="";const m=[];for(;u<o.length;u++){const x=o[u];x.ruleIndex===I.RULE_singleExpression?m.push(this.visit(x)):h=x.symbol.text}const _=this._boolTypeJudge(m[0],o[0],h),T=this._boolTypeJudge(m[1],o[2],h,1);return{ruleType:Oe.LogicalOrExpression,operator:h,ctx:n,type:this._typeHandle([_,T],W.BOOL),exprs:m}});w(this,"visitMultiplicativeExpression",n=>{const{children:o}=n;let u=0,h="";const m=[];for(;u<o.length;u++){const x=o[u];x.ruleIndex===I.RULE_singleExpression?m.push(this.visit(x)):h=x.symbol.text}const _=this._calcTypeJudge(m[0],o[0],h),T=this._calcTypeJudge(m[1],o[2],h,1);return{ruleType:Oe.MultiplicativeExpression,operator:h,ctx:n,type:this._typeHandle([_,T]),exprs:m}});w(this,"visitBrackethesized",n=>{const{children:o}=n,u=o[1];return{ruleType:Oe.Brackethesized,ctx:n,exprs:this.visit(u)}});w(this,"visitArguments",n=>{const{children:o}=n;let u=0;const h={params:[]};let m="";for(;u<o.length;u++){const _=o[u];if(_.ruleIndex===I.RULE_argument){const T=this.visit(_),x=T.paramKey;x?(m=x,h[x]?this._errorHandle(Ne(Ri.moreSameArg,{arg:x}),n.parentCtx,Lr.Warning):(h[x]=T.param,h[x].ctx=_)):m?this._errorHandle(Ne(Pe.argsSyntaxErr,{argName:m}),_):(T.ctx=_,h.params.push(T))}}return h});w(this,"visitArgument",n=>{const{children:o}=n;return o.length===1?this.visit(o[0]):{paramKey:this.visit(o[0]),param:this.visit(o[2])}});w(this,"visitIfStatement",n=>{const{children:o}=n;let u=0;const h={ruleType:Oe.IfStatement,condition:[],block:[],ctx:n,typeList:[]};for(;u<o.length;u++){const m=o[u];switch(m.ruleIndex){case I.RULE_singleExpression:h.condition.push(this.visit(m));break;case I.RULE_blockLine:const _=this._isInLocalScop;this._isInLocalScop=!0;const T=this.visit(m);h.typeList.push(this._getBlockReturnTypes(T)),h.block.push(T),this._isInLocalScop=_;break}}return h});w(this,"visitForToStatement",n=>{const{children:o}=n;let u=0;const h={ruleType:Oe.ForToStatement,numerical:[],ctx:n,block:[]};for(;u<o.length;u++){const m=o[u];switch(m.ruleIndex){case I.RULE_varModifier:h.declare=this.visit(m);break;case I.RULE_typeGather:const _=this.visit(m);h.type=_&&this._typeAddSeries(_);break;case I.RULE_identifier:h.name=this.visit(m),this._repeatVarJudge(h.name,m);break;case I.RULE_singleExpression:h.numerical.push(this.visit(m));break;case I.RULE_blockLine:this._blockCount++,this._pushBlockRanges(n),h.name&&this._variablesHandle({nameList:{name:h.name,isForVar:!0,type:h.type},value:{type:h.type||`${W.SERIES} ${W.INT}`}},n),this._blockCount--,this._blockRanges.pop(),this._loopCount++;const T=this._isInLocalScop;this._isInLocalScop=!0,h.block=this.visit(m),this._loopCount--,this._isInLocalScop=T,h.returnedTypes=this._getBlockReturnTypes(h.block);break}}return h});w(this,"visitForInStatement",n=>{const{children:o}=n;let u=0;const h={ruleType:Oe.ForInStatement,ctx:n,names:[]};for(;u<o.length;u++){const m=o[u];switch(m.ruleIndex){case I.RULE_identifier:const _=this.visit(m);this._repeatVarJudge(_,m),h.names.push(_);break;case I.RULE_singleExpression:h.array=this.visit(m);const T=h.array.type;this._isArrayType(T)||this._isMatrixType(T)||T===W.UNDETERMINED||this._errorHandle(Ne(Pe.typeMismatch,{operator:"foreach",index:"id",typeE:T,typeR:"array<fun_arg>"}),m);break;case I.RULE_blockLine:if(this._blockCount++,this._pushBlockRanges(n),h.names.length){let[P,A]=h.names;const F=h.array.type;A?this._variablesHandle({nameList:{name:P,isForVar:!0,type:`${W.SERIES} ${W.INT}`},value:{type:`${W.SERIES} ${W.INT}`}},n):A=P;const $=F===W.UNDETERMINED?F:this._isMatrixType(F)?`${this._getArrayType(F)}[]`:this._typeAddSeries(this._getArrayType(F));this._variablesHandle({nameList:{name:A,isForVar:!0,type:$},value:{type:$}},n)}this._blockCount--,this._blockRanges.pop(),this._loopCount++;const x=this._isInLocalScop;this._isInLocalScop=!0,h.block=this.visit(m),this._isInLocalScop=x,this._loopCount--,h.returnedTypes=this._getBlockReturnTypes(h.block);break}}return h});w(this,"visitSwitchStatement",n=>{const{children:o}=n;let u=0;const h={ruleType:Oe.SwitchStatement,condition:!0,ctx:n,cases:[],defaultCase:void 0};for(;u<o.length;u++){const m=o[u];switch(m.ruleIndex){case I.RULE_singleExpression:h.condition=this.visit(m);break;case I.RULE_caseClause:h.cases.push(this.visit(m));break;case I.RULE_defaultCaluse:h.defaultCase=this.visit(m);break}}return h});w(this,"visitCaseClause",n=>{const{children:o}=n,u={ruleType:Oe.CaseClause},h=this._isInLocalScop;return this._isInLocalScop=!0,u.condition=this.visit(o[0]),u.block=this.visit(o[2]),this._isInLocalScop=h,u.returnedTypes=this._getBlockReturnTypes(u.block),u});w(this,"visitDefaultCaluse",n=>{const{children:o}=n,u={ruleType:Oe.DefaultCaluse},h=this._isInLocalScop;return this._isInLocalScop=!0,u.block=this.visit(o[1]),this._isInLocalScop=h,u.returnedTypes=this._getBlockReturnTypes(u.block),u});w(this,"visitWhileStatement",n=>{const{children:o}=n,u={ruleType:Oe.WhileStatement,ctx:n};u.condition=this.visit(o[1]),this._loopCount++;const h=this._isInLocalScop;return this._isInLocalScop=!0,u.block=this.visit(o[2]),this._isInLocalScop=h,this._loopCount--,u.returnedTypes=this._getBlockReturnTypes(u.block),u});w(this,"visitImportStmt",n=>{const{children:o}=n;let u=0;const h=[];for(;u<o.length;u++){const m=o[u];m.ruleIndex===I.RULE_importElement&&h.push(this.visit(m))}return h});w(this,"visitImportElement",n=>{const{children:o}=n;let u=0;const h=[],m={ruleType:Oe.ImportElement,ctx:n};for(;u<o.length;u++){const _=o[u];_.ruleIndex===I.RULE_identifier?h.push(this.visit(_)):_.symbol&&_.symbol.type===I.IntegerLiteral&&(m.libraryVersion=_.symbol.text)}return m.username=h[0],m.libraryName=h[1],m.name=h[2],m});w(this,"visitLiteral",n=>{const{children:o}=n,u=o[0],{type:h,text:m}=u.symbol,_={ruleType:Oe.Literal,ctx:n,type:"",value:m};switch(h){case I.ColorLiteral:_.type=W.COLOR;break;case I.BooleanLiteral:_.type=W.BOOL;break;case I.StringLiteral:_.type=W.STRING;break;case I.IntegerLiteral:_.type=W.INT;break;case I.DecimalLiteral:_.type=W.FLOAT;break}return _.type&&(_.type=`${W.CONST} ${_.type}`),_});w(this,"visitMethodElement",n=>{const{children:o}=n,[u,h]=o,[m,_,T]=this.visit(u),x=this.visit(h);return{name:m,type:_,args:x,expr:T}});w(this,"visitMethodName",n=>{const{children:o}=n,u=[],h=[];let m=0,_=null;for(;m<o.length;m++){const x=o[m],P=x.ruleIndex,A=x.symbol;switch(P){case I.RULE_identifier:u.push(this.visit(x));break;case I.RULE_singleExpression:_=this.visit(x);break;case I.RULE_typeName:const F=this.visit(x);h.push(F),this._typeCheck(F,I.RULE_typeName,x);break;default:A&&A.text==="."&&u.push(".")}}return[u.join(""),h,_]});w(this,"visitArrowFunction",n=>{const{children:o}=n,u={ruleType:Oe.ArrowFunction,returnedTypes:[]};let h=0,m={lineNumber:0,column:0};for(;h<o.length;h++){const _=o[h],T=_.ruleIndex,x=_.symbol;switch(T){case I.RULE_identifier:m={lineNumber:_.start.line,column:_.start.column},u.name=this.visit(_);break;case I.RULE_arrowFunctionParameters:u.params=this.visit(_),this._setFuncParams(u);break;case I.RULE_block:this._isInFunc=!0,this._hasMemberIndex=!1,u.block=this.visit(_),u.hasMemberIndex=this._hasMemberIndex,u.returnedTypes=this._getBlockReturnTypes(u.block),this._isInFunc=!1;break;default:x&&x.type===I.Export&&(u.isExport=!0)}}return this._setFunc(u,m),this._currentFuncParams.clear(),u});w(this,"visitArrowFunctionParameters",n=>{const{children:o}=n;let u=0,h=[];for(;u<o.length;u++){const m=o[u];m.ruleIndex===I.RULE_formalParameterList&&(h=this.visit(m))}return h});w(this,"visitFormalParameterList",n=>{const{children:o}=n;let u=0;const h=[];for(;u<o.length;u++){const m=o[u];m.ruleIndex===I.RULE_formalParameterArg&&h.push(this.visit(m))}return h});w(this,"visitFormalParameterArg",n=>{const{children:o}=n;let u=0;const h={};for(;u<o.length;u++){const m=o[u];switch(m.ruleIndex){case I.RULE_typeGather:const _=this.visit(m);h.type=_&&this._typeAddSeries(_);break;case I.RULE_identifier:h.name=this.visit(m);break;case I.RULE_singleExpression:h.defaultValue=this.visit(m)}}return h.type=h.type||W.UNDETERMINED,h});w(this,"visitArrowMethod",n=>{const{children:o}=n;let u=0;const h={ruleType:Oe.ArrowMethod,returnedTypes:[]};let m={lineNumber:0,column:0};for(;u<o.length;u++){const _=o[u];switch(_.ruleIndex){case I.RULE_identifier:m={lineNumber:_.start.line,column:_.start.column},h.name=this.visit(_);break;case I.RULE_arrowMethodParameters:h.params=this.visit(_),this._setFuncParams(h);break;case I.RULE_block:this._isInFunc=!0,this._hasMemberIndex=!1,h.block=this.visit(_),h.hasMemberIndex=this._hasMemberIndex,h.returnedTypes=this._getBlockReturnTypes(h.block),this._isInFunc=!1;break;default:_.symbol&&_.symbol.type===I.Export&&(h.isExport=!0);break}}return this._setFunc(h,m),this._setMethod(h,m),this._currentFuncParams.clear(),h});w(this,"visitArrowMethodParameters",n=>{const{children:o}=n;let u=0;const h={};let m=[];for(;u<o.length;u++){const _=o[u];switch(_.ruleIndex){case I.RULE_typeGather:const T=this.visit(_);h.type=T&&this._typeAddSeries(T);break;case I.RULE_identifier:h.name=this.visit(_);break;case I.RULE_formalParameterList:m=this.visit(_);break}}return[h,...m]});w(this,"visitTypeStatement",n=>{const{children:o}=n;let u=0;const h={ruleType:Oe.TypeStatement,fields:[]};let m={lineNumber:0,column:0};for(;u<o.length;u++){const _=o[u];switch(_.ruleIndex){case I.RULE_identifier:m={lineNumber:_.start.line,column:_.start.column},h.name=this.visit(_);break;case I.RULE_typeElement:h.fields.push(this.visit(_));break;default:_.symbol&&_.symbol.type===I.Export&&(h.isExport=!0);break}}return this._setUserType(h,m),this._setNewFunc(h,m),this._setCopyFunc(h,m),this._setCopyMethod(h,m),h});w(this,"visitTypeElement",n=>{const{children:o}=n;let u=0;const h={};let m=null;for(;u<o.length;u++){const _=o[u];switch(_.ruleIndex){case I.RULE_typeGather:const T=this.visit(_);if(_.children[0].ruleIndex===I.RULE_typeSeries){const{column:x,line:P,text:A}=_.start,F=x+1;this._errors.push({startColumn:F,endColumn:parseInt(F+A.length),startLineNumber:P,endLineNumber:P,message:Ne(this._buildinTypes.has(A)?Pe.typeUseError:Pe.notTypeKeyword,{text:A})}),h.type=W.UNDETERMINED}else h.type=T&&this._typeAddSeries(T);break;case I.RULE_identifier:h.name=this.visit(_);break;case I.RULE_singleExpression:m=_,h.value=this.visit(_);break;default:_.symbol&&_.symbol.type===I.Varip&&(h.isVarip=!0);break}}return this._typeElementVerify(h,m),h});w(this,"visitAssignmentOperator",n=>{const{children:o}=n;return o&&o[0].symbol.text});w(this,"visitTypeMap",n=>{const{children:o}=n;let u=0;const h=[];for(;u<o.length;u++){const m=o[u];if(m.ruleIndex===I.RULE_typeName){const _=this.visit(m);h.push(_),this._typeCheck(_,I.RULE_typeName,m)}}return`map<${h[0]},${h[1]}>`});w(this,"visitTypeSeries",n=>{const{children:o}=n,[u,h]=o,m=this.visit(u),_=this.visit(h);return this._typeCheck(m,I.RULE_typeSeries,u),this._typeCheck(_,I.RULE_typeName,h),`${m} ${_}`});w(this,"visitTypeArray",n=>{const{children:o}=n,u=o[0];let h=this.visit(u),m=h;if(o.length===3)h=W.ARRAY;else{this._typeCheck(h,I.RULE_typeArray,u);let _=1;for(;_<o.length;_++){const T=o[_];T.ruleIndex===I.RULE_typeName&&(m=this.visit(T),this._typeCheck(m,I.RULE_typeName,T))}}return this._arrayTypeConvert(`${h}<${m}>`)});w(this,"visitTypeGather",n=>{const{children:o}=n;if(o&&o.length){const u=o[0],h=this.visit(u);return u.ruleIndex===I.RULE_typeName&&this._typeCheck(h,I.RULE_typeName,u),h}return null});w(this,"visitIdentifier",n=>n.children&&n.children[0].symbol.text);w(this,"visitTypeName",n=>{const{children:o}=n;let u=0,h="";for(;u<o.length;u++){const m=o[u];m.ruleIndex===I.RULE_identifier?h=`${h}${this.visit(m)}`:h=`${h}.`}return h});w(this,"visitName",n=>{var x,P;const{children:o}=n;let u=0,h=!1;const m=[];let _=null;for(;u<o.length;u++){const A=o[u];switch(A.ruleIndex){case I.RULE_identifier:m.push(this.visit(A));break;case I.RULE_singleExpression:_=this.visit(A);break;case I.RULE_methodElement:h=!0,m.push(this.visit(A));break}}const T={ruleType:Oe.Name,hasMethod:h,exprs:m,expr:_};if(h){let A="";const F=[];for(const V of m)typeof V=="string"?A=A?`${A}.${V}`:V:(A&&(V.name=`${A}.${V.name}`),F.push(V),A="");T.exprs=[...F,A];const $=this._getMethodTypes(F,Array.from(F,()=>n));if($&&$.length){const V=Ne(Pe.noFiledErr,{name:A});$.length>1&&this._errorHandle(V,n),T.type=((P=this._nameCheck(this._getOriginMethodName($[0],A),n,V))==null?void 0:P.type)||W.UNDETERMINED}}else{let A=m.join(".");if(_&&_.type&&_.type===W.UNDETERMINED)T.type=W.UNDETERMINED,A=`expr0.${A}`;else{_&&_.type&&(A=`${this._getMethodTypeName(_.type)}.${A}`);const F=this._nameCheck(A,n)||{};(x=F.title)!=null&&x.startsWith("built-in")&&(T.isBuiltIn=!0,T.isConst=F.isConst),T.varPos=F.pos,T.declare=F.declare,T.type=(F==null?void 0:F.type)||W.UNDETERMINED,F!=null&&F.isArg&&(T.arg=F),T.scope=this._blockCount}T.name=A}return T});this._loopCount=0,this._errors=[],this._variables=new Map,this._functions=new Map,this._methods=new Map,this._currentFuncParams=new Map,this._types=new Map,this._currentBlockVars=[new Map],this._blockCount=0,this._isInFunc=!1,this._isNeedCalc=!1,this._blockRanges=[],this._overloadsFuncs=[],this._hasMemberIndex=!1,this._isInLocalScop=!1,this._onlyStatementsCount=0}get overloadsFuncs(){return this._overloadsFuncs}get errors(){return this._errors}get userTypes(){return this._types}get userFunctions(){return this._functions}get userVariables(){return this._variables}get userMethods(){return this._methods}_verifyGloablVar(n,o){const{name:u,varPos:h}=n;if(!h)return;const m=this._currentBlockVars[0].get(u);if(!m)return;const{column:_,lineNumber:T}=m.pos||{};this._isInFunc&&_===h.column&&T===h.lineNumber&&this._errorHandle(Ne(Pe.modifyGlobalVarErr,{name:u}),o)}_typeElementVerify(n,o){var _,T;const{type:u,value:h}=n;if(!h)return;if(![Oe.Literal,Oe.UnaryExpression].includes(h.ruleType)&&!h.isBuiltIn){this._errorHandle(Pe.defaultValueErr,o);return}else if(h.ruleType===Oe.UnaryExpression){const{exprs:x}=h;if(![Oe.Literal,Oe.UnaryExpression].includes((_=x[0])==null?void 0:_.ruleType)&&!((T=x[0])!=null&&T.isBuiltIn)){this._errorHandle(Pe.defaultValueErr,o);return}}(!this._compareType(u,h.type)||u.endsWith(W.INT)&&h.type.endsWith(W.FLOAT))&&this._errorHandle(Ne(Pe.defaultValueTypeErr,{typeE:h.type,typeR:u}),o)}_memberIndexVerify(n,o){if(n.ruleType===Oe.Name&&!n.hasMethod&&this._blockCount){const h=this._currentBlockVars[this._blockCount],m=h&&h.get(n.name);m&&(m.isForVar?this._errorHandle(Ne(Pe.notHistoryErr,{name:n.name}),o):!(this._blockCount===1&&this._isInFunc)&&this._errorHandle(Ne(Ri.localScopeGetHistory,{name:n.name}),o,Lr.Warning))}const u=n&&n.type;if(u){const h=this._removePrefix(u);!this._types.has(h)&&!this._buildinTypes.has(h)&&!this._isArrayType(h)&&!this._isMatrixType(h)&&!this._isMapType(h)&&h!==W.UNDETERMINED&&this._errorHandle(Ne(Pe.invalidType,{index:0}),o)}}_setFuncParams(n){var o;for(const u of n.params){const h=(o=this._types.get(u.type))==null?void 0:o[0];if(h&&h.fields)for(const m of h.fields){const _=`${u.name}.${m.name}`;this._currentFuncParams.set(_,{...m,originName:_})}this._setVariablesMap(u),this._currentFuncParams.set(u.name,u)}}_pushBlockRanges(n){!n||!n.start||!n.stop||this._blockRanges.push({startColumn:n.start.column,endColumn:n.stop.column,startLineNumber:n.start.line,endLineNumber:n.stop.line})}_setUserType(n,o){const{fields:u,name:h}=n;this._types.set(h,[{fields:u.map(m=>({name:m.name,type:m.type})),name:h,pos:o}]),this._addVarToMap(h,h,o,!1,!1)}_againAssignHandle(n,o,u){const h=u!==":="?u.replace("=",""):u,m=u!==":="?[W.UNDETERMINED,W.INT,W.FLOAT]:[];h==="+"&&m.push(W.STRING);const[_,T]=n;_.arg&&!_.name.includes(".")&&this._errorHandle(Ne(Pe.funcArgAssignErr,{name:_.name}),o[0]);const x=this._sameTypeJudge(n,o,h,m),P=this._typeHandle(x);return this._updateUserVar(_.name,P,T.type),_.type=P,{ruleType:Oe.AgainAssign,name:_,operator:u,type:P,value:T}}_typeCheck(n,o,u){const h=[W.SERIES,W.SIMPLE,W.CONST];switch(o){case I.RULE_typeName:const m=this._buildinTypes.get(n);m&&![...h,W.ARRAY,W.MATRIX,W.MAP].includes(m[0].name)||this._types.get(n)||this._errorHandle(Ne(Pe.notTypeKeyword,{text:n}),u);break;case I.RULE_typeArray:[W.ARRAY,W.MATRIX].includes(n)||this._errorHandle(Pe.tempateTypeErr,u);break;case I.RULE_typeSeries:h.includes(n)||this._errorHandle(Ne(Pe.qualifierErr,{name:n}),u);break}}_verifyName(n,o){var m,_;const u=this._buildinVariables.get(n);if(u&&u[0])return u[0];const h=this._buildinConstants.get(n);if(h&&h[0])return Object.assign(h[0],{isConst:!0});if(n.includes(".")){const T=n.split("."),x=T.pop(),P=T.join(".");let A=this._blockCount;for(;A>=0;){const F=this._currentBlockVars[A].get(P);if(o&&this._judgeGatherValue(x||"",o,F==null?void 0:F.valueType,!0),(F==null?void 0:F.type)==="chart.point"){const V=(((_=(m=this._buildinTypes.get(F.type))==null?void 0:m[0])==null?void 0:_.fields)||[]).find(b=>b.name===x);if(V)return Object.assign(V,{pos:F.pos})}A--}}return this._getUserVar(n)}_judgeGatherValue(n,o,u,h){u===`${W.SIMPLE} ${W.NA}`&&this._errorHandle(Ne(Pe.objectIsNaErr,{name:n,type:h?"field":"method"}),o)}_nameCheck(n,o,u=Ne(Pe.undeclared,{name:n})){const h=this._verifyName(n,o);return h||this._errorHandle(u,o),h}_inBlock(n){this._blockCount++,this._pushBlockRanges(n);const o=this.visit(n);return this._blockCount--,this._blockRanges.pop(),this._currentBlockVars.splice(this._blockCount+1),o}_errorHandle(n,o,u=Lr.Error){this._errors.push({message:n,startColumn:o.start.column+1,startLineNumber:o.start.line,endColumn:o.start.column+2+o.stop.stop-o.start.start,endLineNumber:o.stop.line,type:u})}_boolTypeJudge(n,o,u,h=0){return this._typeJudge(n,o,u,W.BOOL,[W.UNDETERMINED,W.INT,W.FLOAT,W.BOOL],h)}_calcTypeJudge(n,o,u,h=0){return this._typeJudge(n,o,u,"int/float",[W.UNDETERMINED,W.INT,W.FLOAT],h)}_typeJudge(n,o,u,h,m,_=0){const T=n&&n.type;if(T){const x=this._removePrefix(T);if(!m.includes(x)&&x!==W.NA)return this._errorHandle(Ne(Pe.typeMismatch,{operator:`operator ${u}`,index:`expr${_}`,typeE:x,typeR:h}),o),W.UNDETERMINED;h===W.BOOL&&[W.INT,W.FLOAT].includes(x)&&this._errorHandle(Ne(Ri.typeMismatch,{operator:`operator ${u}`,index:`expr${_}`,type:W.BOOL}),o,Lr.Warning)}return T||W.UNDETERMINED}_sameTypeJudge(n,o,u,h){let m="";const _=[],T=["plot_display","plot_simple_display"];["+","-","+=","-="].includes(u)&&(h=h.concat(T));for(const[x,P]of n.entries()){let A=P&&P.type||W.UNDETERMINED;const F=this._removePrefix(A);if(m||(m=F),!h.includes(F)&&h.length&&F!==W.NA){this._errorHandle(Ne(Pe.typeMismatch,{operator:`operator ${u}`,index:`expr${x}`,typeE:A,typeR:h.slice(1).join("/")}),o[x]),m=W.UNDETERMINED,_.push(m);continue}if(m===W.UNDETERMINED||F===W.UNDETERMINED)A=m=W.UNDETERMINED;else if(m!==F&&m!==W.NA&&F!==W.NA&&(![W.INT,W.FLOAT].includes(m)||![W.INT,W.FLOAT].includes(F)))if(u===":=")this._errorHandle(Ne(Pe.assignTypeMismatch,{typeE:F,name:n[0].name,typeR:m}),o[0]),A=m=W.UNDETERMINED;else if(["==","!=","?:"].includes(u)&&[W.INT,W.FLOAT,W.BOOL].includes(m)&&[W.INT,W.FLOAT,W.BOOL].includes(F))this._errorHandle(Ne(Ri.typeMismatch,{operator:`operator ${u}`,index:`expr${x}`,type:m}),o[x],Lr.Warning),A=m=W.UNDETERMINED;else if(T.includes(m)&&T.includes(F)){if(m!==F){const $=this._getPrefix(A);_[x-1]=`${this._getPrefix(_[x-1])} ${T[0]}`,A=m=`${$} ${T[0]}`}}else this._errorHandle(Ne(Pe.typeMismatch,{operator:`operator ${u}`,index:`expr${x}`,typeE:F,typeR:m}),o[x]),A=m=W.UNDETERMINED;_.push(A)}return _}_getUserVar(n,o=!1){for(let u=this._blockCount;u>=0;u--){const h=this._currentBlockVars[u];if(u<=0){const m=this._currentFuncParams.get(n);if(m)return m.isArg=!0,m}if(h){const m=h.get(n);if(m)return m}}if(n.includes(".")&&!o){let u=!1,h=null;if(n.split(".").reduce((m,_)=>{let T=m?`${m}.${_}`:_;const x=this._getUserVar(T,!0);return x!=null&&x.type?x.type===W.UNDETERMINED?u=!0:(T=x.type,h=x):h=null,T},""),u)return{name:n,type:W.UNDETERMINED};if(h)return h}return null}_repeatVarJudge(n,o){for(let u=0;u<=this._blockCount;u++){const h=this._currentBlockVars[u];if(h&&h.get(n)){if(this._blockCount===u)return this._errorHandle(Ne(Pe.repeatVar,{name:n}),o),!0;this._errorHandle(Ne(Ri.repeatVar,{name:n}),o,Lr.Warning)}}}_judgeVarBuildIn(n){for(let o=0;o<=this._blockCount;o++){const u=this._currentBlockVars[o];if(u&&u.get(n))return!0}return!1}_updateUserVar(n,o,u){for(let h=0;h<=this._blockCount;h++){const m=this._currentBlockVars[h];if(m){const _=m.get(n);if(_){_.type=o,_.valueType=u;return}}}}_variablesHandle(n,o){var m,_,T,x;if(!(n&&n.nameList))return;const u=n.nameList;if(u.name==="_")return;const h=n.value;if(u.ruleType===Oe.VarMultiple){u.types=[],this._checkVarMultiple(u.names,h,o);for(const[P,A]of u.names.entries()){const F=this._varTypeJudge("",((m=h==null?void 0:h.types)==null?void 0:m[P])||W.UNDETERMINED,o);u.types.push(F),this._addVarToMap(A,F,u.posList[P],!0)}}else{const P=(h==null?void 0:h.type)||((_=h==null?void 0:h.returnedTypes)==null?void 0:_[0]);((T=h==null?void 0:h.types)!=null&&T.isBrackethesized||(x=h==null?void 0:h.returnedTypes)!=null&&x.isBrackethesized)&&this._errorHandle(Ne(Pe.tupleLeftVarErr,{name:u.name}),o),!u.type&&P===`${W.SIMPLE} ${W.NA}`&&this._errorHandle(Pe.naVarErr,o),u.prefix&&wi.indexOf(u.prefix)>wi.indexOf(this._getPrefix(P))&&this._errorHandle(Ne(Pe.declaredErr,{prefix:u.prefix,type:P}),o);const A=this._varTypeJudge(u.type,P||W.UNDETERMINED,o);u.type=A,this._addVarToMap(u.name,A,u.pos,!0,u.isForVar,u.declare,h.type)}}_checkVarMultiple(n,o,u){var x,P,A,F;const h=n.length,m=(o.types||o.returnedTypes||[]).length,_=((x=o.types)==null?void 0:x.isBrackethesized)||((P=o.returnedTypes)==null?void 0:P.isBrackethesized);(A=o.types)!=null&&A.isUnknown||(F=o.returnedTypes)!=null&&F.isUnknown||(m===1&&!_||!m?this._errorHandle(Pe.tupleRightVarErr,u):h!==m&&this._errorHandle(Ne(Pe.tupleVarErr,{indexA:m,indexB:h}),u))}_addVarToMap(n,o,u,h=!0,m=!1,_,T){var F;const x=this._currentBlockVars[this._blockCount]||new Map,P=(F=this._types.get(o))==null?void 0:F[0];if(P&&P.fields)for(const $ of P.fields)x.set(`${n}.${$.name}`,$);const A={name:n,type:o,pos:u,valueType:T};h&&this._setVariablesMap(A),x.set(n,Object.assign(A,{isForVar:m,declare:_})),this._currentBlockVars[this._blockCount]=x}_setVariablesMap(n){const o=this._blockRanges[this._blockCount];n.range=o,n.scope=this._blockCount;const u=this._variables.get(n.name)||[];u.push(n),this._variables.set(n.name,u)}_varTypeJudge(n,o,u){if(o===W.VOID)return this._errorHandle(Pe.voidNotVar,u),W.UNDETERMINED;if(n&&o!==W.UNDETERMINED){const h=this._removePrefix(n),m=this._removePrefix(o);return m!==h&&m!==W.NA&&!(h===W.FLOAT&&m===W.INT)?(this._errorHandle(Ne(Pe.declareTypeErr,{type:n,valueType:o}),u),W.UNDETERMINED):this._typeHandle([n,o])}else if(o===W.UNDETERMINED)return W.UNDETERMINED;return n||o||W.UNDETERMINED}_getAllowTypes(n){const o=[];if(n===W.UNDETERMINED)return o;const u=this._getPrefix(n);if(u){const h=this._removePrefix(n);let m=-1;for(const[_,T]of wi.entries())T===u&&(m=_),m>=0&&m<=_&&(h===W.FLOAT&&o.push(`${T} ${W.INT}`),o.push(`${T} ${h}`))}else n=this._arrayTypeConvert(n)||"",o.push(n),n.includes(W.FLOAT)&&o.push(n.replace(/float/,W.INT));return o}_setNewFunc(n,o){const u=`${n.name}.new`,h=[],m=[];for(const _ of n.fields)h.push({name:_.name,required:!1,allowedTypeIDs:this._getAllowTypes(_.type),displayType:_.type}),m.push(`${_.type} ${_.name}`);this._functions.set(u,[{name:u,args:h,returnedTypes:[n.name],isUser:!0,pos:o,syntax:[`${u}(${m.join(", ")}) → ${n.name}`]}])}_setCopyFunc(n,o){const u=n.name,h=`${u}.copy`;this._functions.set(h,[{name:h,args:[{name:"object",required:!0,allowedTypeIDs:[u],displayType:u}],returnedTypes:[u],isUser:!0,pos:o,info:"The identifier of the object to be copied.",syntax:[`${h}(${u} object) → ${u}`]}])}_setCopyMethod(n,o){const u=n.name,h=`${u}.copy`;this._methods.set(h,[{name:h,args:[],returnedTypes:[u],thisType:[u],isUser:!0,pos:o,syntax:[`${h}() → ${u}`]}])}_setFunc(n,o){const u=[],h=[];for(const x of n.params){const{type:P,name:A,defaultValue:F}=x;u.push({name:A,required:!F,allowedTypeIDs:this._getAllowTypes(P),displayType:P}),h.push(`${P===W.UNDETERMINED?"":`${P} `}${A}`)}const{returnedTypes:m=[]}=n,_=n.name,T=m.length>1?`[${m.join(", ")}]`:m.toString();this._functions.set(_,[{name:_,args:u,syntax:[`${_}(${h.join(", ")}) → ${T||"void"}`],isUser:!0,hasMemberIndex:n.hasMemberIndex,pos:o,returnedTypes:m}])}_setMethod(n,o){const{name:u,returnedTypes:h,params:m}=n,_=m[0].type,T=[],x=[];for(const $ of m.slice(1)){const{type:V,name:b,defaultValue:y}=$;T.push({name:b,required:!y,allowedTypeIDs:this._getAllowTypes(V),displayType:V}),x.push(`${V} ${b}`)}const P=h.length>1?`[${h.join(", ")}]`:h.toString(),A=this._getMethodTypeName(_),F=`${A}.${u}`;n.typeName=A,this._methods.set(F,[{name:u,args:T,originalName:F,syntax:[`${u}(${x.join(", ")}) → ${P||"void"}`],returnedTypes:h,isUser:!0,hasMemberIndex:n.hasMemberIndex,pos:o,thisType:[_]}])}_getMethodTypes(n,o){let u;for(const[h,m]of n.entries()){const{type:_,expr:T,args:x}=m;let{name:P}=m;const A=o[h];if(T){if(T.type===W.UNDETERMINED)return[W.UNDETERMINED];P=`${this._getMethodTypeName(T.type)}${P}`,x.params.unshift(T)}if(u&&u.length>=1)if(u.length===1){const F=u[0];if(F===W.UNDETERMINED)return[W.UNDETERMINED];const $=this._getOriginMethodName(F,P);P.includes(".")?u=this._getOtherNamesMethodType($,u,A,x,m):u=this._expandMethodHandle($,A,x,{type:F},F,m)}else this._errorHandle(Ne(Pe.noFiledErr,{name:P}),A);else{const[F,$]=this._tempFuncNameHandle(P,A,_);P=$;const V=this._buildinFunctions.get(F);if(V)this._globalFuncVerify(V[0],A),this._hasMemberIndexVerify(V[0],A,m),m.isBuiltIn=!0,u=this._getBuildInReturnTypes(V,x,P,A,void 0,_);else{const b=this._functions.get(P);if(b){this._hasMemberIndexVerify(b[0],A,m),u=b[0].returnedTypes;const{hasErr:y}=this._checkArgs(x,b[0].args||[],P,A,u[0]);if(y)return[W.UNDETERMINED]}else u=this._getOtherNamesMethodType(P,u,A,x,m)}}m.returnTypes=u}return u===void 0&&this._errorHandle(Ne(Pe.notFindFuncErr,{name:n[0].name}),o[0]),u}_globalFuncVerify(n,o){this._blockCount!==0&&Tm.includes(n.name)&&this._errorHandle(Ne(Pe.globalFuncErr,{name:n.name}),o)}_hasMemberIndexVerify(n,o,u){(n.hasMemberIndex||n.name.startsWith("ta.")||n.name==="math.sum")&&(this._hasMemberIndex=this._isInFunc,u.hasMemberIndex=!0,u.position=o.start.tokenIndex,this._isInLocalScop&&this._errorHandle(Ne(Ri.localScopeWarning,{name:u.name}),o,Lr.Warning))}_tempFuncNameHandle(n,o,u){let h=n;if(u&&u.length>=1){const m=["array.new","matrix.new"].includes(n),_=n==="map.new";if(u.length===1)if(m)h=`${n}<type>`,n=`${n}<${u[0]}>`;else return _?this._errorHandle(Ne(Pe.templateErr,{countA:2,countB:1}),o):this._errorHandle(Ne(Pe.templateNoSupportErr,{name:n}),o),[W.UNDETERMINED];else{if(!_)return m?this._errorHandle(Ne(Pe.templateErr,{countA:1,countB:2}),o):this._errorHandle(Ne(Pe.templateNoSupportErr,{name:n}),o),[W.UNDETERMINED];if(!Sm.includes(u[0]))return this._errorHandle(Ne(Pe.mapKeyErr,{type:this._typeAddSeries(u[0])}),o),[W.UNDETERMINED];h=`${n}<type,type>`,n=`${n}<${u[0]},${u[1]}>`}}return[h,n]}_getOtherNamesMethodType(n,o,u,h,m){const _=n.split("."),T=_.length-1,x=_.slice(0,T).join("."),P=this._getUserVar(x);this._judgeGatherValue(_[T],u,P==null?void 0:P.valueType);const A=P==null?void 0:P.type;if(A){if(A===W.UNDETERMINED)return o=[W.UNDETERMINED],o.isUnknown=!0,o;const F=this._getOriginMethodName(A,_[T]);o=this._expandMethodHandle(F,u,h,P,x,m)}else{let F="",$="",V="";for(const b of _.slice(0,T)){F?$=this._getOriginMethodName(F,b):$=$?`${$}.${b}`:b;const y=this._verifyName($);y!=null&&y.type?(F=y.type,V=""):this._buildinTypes.get($)?V=Ne(Pe.methodNotExistErr,{name:$,methodName:_[T]}):V=Ne(Pe.noFiledErr,{name:b})}V&&this._errorHandle(V,u)}return o}_expandMethodHandle(n,o,u,h,m,_){var P,A;let T;const x=this._buildinMethods.get(n);if(x)T=this._getBuildInReturnTypes(x,u,n,o,h);else{const F=this._methods.get(n);if(F&&F.length){const $=F[0],V=this._getMethodTypeName(((P=$.thisType)==null?void 0:P[0])||"");if(!this._types.get(V)){const g=this._functions.get($.name);g&&(_.selfArg=(A=g[0].args)==null?void 0:A[0])}this._hasMemberIndexVerify($,o,_),T=$.returnedTypes;const{hasErr:y}=this._checkArgs(u,$.args||[],n,o,(T==null?void 0:T[0])||"");if(y)return[W.UNDETERMINED]}else this._errorHandle(Ne(Pe.methodNotExistErr,{methodName:n.split(".").slice(-1)[0],name:m}),o)}return T}_getBuildInReturnTypes(n,o,u,h,m,_){var x;let T;if(n.length===1){const{returnedTypes:P,syntax:A,args:F=[],thisType:$}=n[0],V=A[0].split("→")[1].trim(),b=m||o.params[0]||((x=F[0])==null?void 0:x.name)&&o[F[0].name];b&&!this._checkMethodThisType($,b.type)&&this._errorHandle(Ne(Pe.typeMismatch,{operator:u,index:b.name||"id",typeE:b.type,typeR:$[0]}),h);const{hasErr:y,types:g}=this._checkArgs(o,F,u,h,V,b);if(y)return[W.UNDETERMINED];if(T=g.length&&g||this._returnedTypesParse(P),T.length>1)return T;(_==null?void 0:_.length)===1?T=[this._typeReplace(V,_[0])]:(_==null?void 0:_.length)===2&&(T=[`${W.MAP}<${_[0]},${_[1]}>`]),T=this._returnTypesOtherHandle(b,V,T,u)}else{const P=this._overloadsFuncGetTypes(n,o,h,m);T=this._returnedTypesParse([P])}return T}_overloadsFuncGetTypes(n,o,u,h){var F,$;let m="",_=[],T=[],x=0;for(const[V,b]of n.entries()){const{args:y,returnedTypes:g,name:D,thisType:R}=b,O=h||o.params[0]||o[y[0].name],{errMsg:U,warnMsg:X}=this._overloadsCheckArgs(o,y,D,u,O);O&&!this._checkMethodThisType(R,O.type)&&U.unshift({msg:Ne(Pe.typeMismatch,{operator:D,index:O.name||"id",typeE:O.type,typeR:R[0]}),ctx:u}),V===0?(_=U,T=X,!U.length&&(m=g[0])):U.length?((F=_[0])!=null&&F.isLenErr&&!(($=U[0])!=null&&$.isLenErr)||_.length>U.length)&&(_=U,T=X,x=V):this._priorityComparison(m,g[0])||(g[0]===`${W.ARRAY}<>`?m=`${O.type}[]`:m=g[0],_=U,T=X,x=V)}for(const V of _)this._errorHandle(V.msg,V.ctx);for(const V of T)this._errorHandle(V.msg,V.ctx,Lr.Warning);const P=u.children[0],A=n[0].name;return P&&this._overloadsFuncs.push({name:A,index:x,line:P.start.line,startColumn:P.start.column+1,endColumn:P.start.column+A.length}),this._funcArgsAddOriginName(o,n[x].args,A),m||W.UNDETERMINED}_funcArgsAddOriginName(n,o,u){const h=n.params||[];for(const[m,_]of o.entries())m<h.length&&(h[m].originName=_.name);if(u==="input"){const m=h[0]||n.defval;Object.assign(n,{inputType:{name:`'${m!=null&&m.isSourceType?"source":this._removePrefix(m==null?void 0:m.type)}'`}})}}_overloadsCheckArgs(n,o,u,h,m){const _={...n},T=_.params;delete _.params;const x=Object.keys(_).length+T.length,P=o.length,A=[],F=[];if(x>P&&!o.some(V=>["arg0, arg1, ...","number0, number1, ..."].includes(V.name)))return A.push({msg:Ne(Pe.argsLenErr,{name:u,lenA:x,lenB:P}),isLenErr:!0,ctx:h}),{errMsg:A,warnMsg:F};for(const[$,V]of o.entries()){let b=_[V.name];if($<T.length&&(b&&F.push({msg:Ne(Ri.moreSameArg,{arg:V.name}),ctx:h}),b=T[$]),!b)V.required&&A.push({msg:Ne(Pe.requiredParamErr,{name:u,argName:V.name}),ctx:h});else{const y=b.type!==`${W.SIMPLE} na`?this._checkArg(b,V,u,m,b.ctx,!0):"";y&&A.push({msg:y,ctx:b.ctx}),delete _[V.name]}if(["arg0, arg1, ...","number0, number1, ..."].includes(V.name)&&T.length>$+1){const y=T.slice($+1);let g=T[$];for(const D of y){g.type===`${W.SIMPLE} ${W.NA}`&&(g=D);const R=D.type!==`${W.SIMPLE} ${W.NA}`?this._checkArg(D,V,u,g,D.ctx,!0):"";R&&A.push({msg:R,ctx:D.ctx})}}}if(Object.keys(_).length)for(const $ of Object.keys(_))A.push({msg:Ne(Pe.argsNameErr,{name:u,argName:$}),ctx:_[$].ctx});return{errMsg:A,warnMsg:F}}_checkArgs(n,o,u,h,m,_){var V;const T={...n},x=T.params;delete T.params;const P=Object.keys(T).length+x.length,A=o.length;let F=!1,$=[];if(P>A&&!o.some(y=>["arg0, arg1, ...","number0, number1, ..."].includes(y.name)))return this._errorHandle(Ne(Pe.argsLenErr,{name:u,lenA:P,lenB:A}),h),F=!0,{hasErr:F,types:$};for(const[b,y]of o.entries()){let g=T[y.name];if(b<x.length&&(g&&this._errorHandle(Ne(Ri.moreSameArg,{arg:y.name}),h,Lr.Warning),g=x[b],g.originName=y.name),!g)y.required&&(this._errorHandle(Ne(Pe.requiredParamErr,{name:u,argName:y.name}),h),F=!0);else{const D=g.type!==`${W.SIMPLE} ${W.NA}`?this._checkArg(g,y,u,_,g.ctx):"";if(D)this._errorHandle(D,g.ctx),F=!0;else if(D===!1)F=!0;else if(u.startsWith("request.")&&y.name==="expression")if(g.ruleType===Oe.Brackethesized)$=g.exprs.map(R=>this._typeReplace(m,R.type));else if((V=g.types||g.returnedTypes)!=null&&V.isBrackethesized)$=(g.types||g.returnedTypes).map(R=>this._typeReplace(m,R));else{const R=this._typeReplace(m,g.type);$.push(R)}delete T[y.name]}}if(Object.keys(T).length)for(const b of Object.keys(T))this._errorHandle(Ne(Pe.argsNameErr,{name:u,argName:b}),T[b].ctx),F=!0;return{hasErr:F,types:$}}_checkArg(n,o,u,h,m,_){const{ruleType:T,exprs:x,name:P}=n;let A=n.type;T===Oe.Brackethesized&&(A=`[${x.map(b=>b.type).join(", ")}]`);const{allowedTypeIDs:F=[],displayType:$,name:V}=o;if(!(!A||A===W.UNDETERMINED||$===W.UNDETERMINED)&&!(this._checkMethodThisType(F,this._arrayTypeConvert(A))&&!(u==="input.source"&&V==="defval"))){if(V==="condition"&&($!=null&&$.endsWith(W.BOOL))&&(A.endsWith(W.INT)||A.endsWith(W.FLOAT))){m&&this._errorHandle(Ne(Ri.typeMismatch,{index:V,operator:u,type:W.BOOL}),m,Lr.Warning);return}switch($){case"tuple of const string values: [val1, val2, ...]":return this._tupleToCheck(n,o,[`${W.CONST} ${W.STRING}`],u,A);case"tuple of const int/float values: [val1, val2, ...]":return this._tupleToCheck(n,o,[`${W.CONST} ${W.FLOAT}`,`${W.CONST} ${W.INT}`],u,A);case"tuple of const int values: [val1, val2, ...]":return this._tupleToCheck(n,o,[`${W.CONST} ${W.INT}`],u,A);case"open/high/low/close/hl2/hlc3/ohlc4/hlcc4":if(!P||!xp.includes(P))return Ne(Pe.inputSourceErr,{name:V,funcName:u});if(this._judgeVarBuildIn(P))return Ne(Pe.buildInUseErr,{name:P});n.isSourceType=!0;break;case"<matrix_type>":case"<array_type>":const b=this._getArrayType(u)||"";if(!A.endsWith(b)&&!(A.endsWith(W.INT)&&b===W.FLOAT))return Ne(Pe.typeMismatch,{operator:u,index:V,typeE:A,typeR:this._typeAddSeries(b)});break;case"any matrix type":if(this._isMatrixType(A)){if(V==="id2"){const O=this._getArrayType(h==null?void 0:h.type);if(!O)return;const U=this._getArrayType(A)||"";if(O!==U)return Ne(Pe.typeMismatch,{operator:u,index:V,typeE:U,typeR:O})}}else return Ne(Pe.typeMismatch,{operator:u,index:V,typeE:A,typeR:"matrix<fun_arg>"});break;case"any array type":if(this._isArrayType(A)){if(V==="id2"){const O=this._getArrayType(h==null?void 0:h.type);if(!O)return;const U=this._getArrayType(A)||"";if(O!==U)return Ne(Pe.typeMismatch,{operator:u,index:V,typeE:U,typeR:O})}}else return Ne(Pe.typeMismatch,{operator:u,index:V,typeE:A,typeR:"array<fun_arg>"});break;case"series <type of the matrix's elements>":case"series <type of the array's elements>":const y=this._getArrayType(h==null?void 0:h.type)||"";if(!A.endsWith(y)&&!(A.endsWith(W.INT)&&y===W.FLOAT))return Ne(Pe.typeMismatch,{operator:u,index:V,typeE:A,typeR:this._typeAddSeries(y)});break;case"any map type":if(this._isMapType(A)){if(V==="id2"){const O=this._getMapType(h==null?void 0:h.type);if(!O)return;const U=this._getMapType(A)||[];if(O[0]!==U[0]||O[1]!==U[1])return Ne(Pe.mapKeyValErr,{typeA:this._typeAddSeries(U[0]),typeB:this._typeAddSeries(U[1]),typeC:this._typeAddSeries(O[0]),typeD:this._typeAddSeries(O[1]),name:u})}}else return Ne(Pe.typeMismatch,{operator:u,index:V,typeE:A,typeR:"map<type, type>"});break;case"series <type of the map's elements>":const g=this._getMapType(h==null?void 0:h.type);if(!g)return;const D=V==="key"?0:1;if(!A.endsWith(g[D])&&!(A.endsWith(W.INT)&&g[D]===W.FLOAT))return Ne(Pe.typeMismatch,{operator:u,index:V,typeE:A,typeR:this._typeAddSeries(g[D])});break;case"<arg_expr_type>":if(T===Oe.Brackethesized)return Ne(Pe.typeMismatch,{operator:u,index:V,typeE:A,typeR:$||""});break;case"<arg_type>":case"variable, function, object, array or matrix of series int/float/bool/string/color, or a tuple of these":break;case"variable, object or function of series int/float/bool/string/color, or a tuple of these":if(T===Oe.Brackethesized){for(const O of x)if(!F.includes(O.type))return this._errorHandle(Ne(Pe.requestArgsErr,{name:u,argName:V,type:O.type}),O.ctx),!1}break;case"const int/float/bool/string/color or source-type built-ins":if(xp.includes(n.name)&&F[0].endsWith(this._removePrefix(A)))n.isSourceType=!0;else return Ne(Pe.typeMismatch,{operator:u,index:V,typeE:A,typeR:"const int/float/bool/string/color"});break;case"<arg..._type>":if(T===Oe.Brackethesized||this._isArrayType(A)||this._isMapType(A)||this._isMatrixType(A))return Ne(Pe.typeMismatch,{operator:u,index:V,typeE:A,typeR:`${W.SERIES} ${W.INT}`});if(A!==(h==null?void 0:h.type))return Ne(Pe.typeMismatch,{operator:u,index:V,typeE:A,typeR:h==null?void 0:h.type});break;default:const R=this._removePrefix(n.type);if(n.arg&&n.arg.isArg&&!_){const O=F.find(U=>U.endsWith(R));if(O){n.type=O,n.arg.type=O;return}}if(F.length===1&&F[0].endsWith(R)){const O=this._getPrefix(n.type),U=this._getPrefix(F[0]);if(wi.indexOf(O)>=wi.indexOf(U))return}return Ne(Pe.typeMismatch,{operator:u,index:V,typeE:A,typeR:$||""})}}}_tupleToCheck(n,o,u,h,m){var _,T;if(u.push(`${W.SIMPLE} ${W.NA}`),n.ruleType===Oe.Brackethesized){const x=[];let P=!1;for(const A of n.exprs)x.push(A.type),u.includes(A.type)||(P=!0);if(P)return Ne(Pe.typeMismatch,{operator:h,index:o.name,typeE:`[${x.join(", ")}]`,typeR:((_=o.allowedTypeIDs)==null?void 0:_[0])||""})}else return Ne(Pe.typeMismatch,{operator:h,index:o.name,typeE:m,typeR:((T=o.allowedTypeIDs)==null?void 0:T[0])||""})}_getBlockReturnTypes(n){var F,$;let o=n;if(Array.isArray(n)&&(o=n.slice(-1)[0],Array.isArray(o)&&(o=o.slice(-1)[0])),!o)return[W.UNDETERMINED];const{ruleType:u,type:h,types:m,returnedTypes:_,exprs:T,nameList:x,typeList:P,block:A}=o;if(m&&m.length)return m;if(_&&_.length)return _;if(h)return[h];switch(u){case Oe.Brackethesized:const V=T.map(ue=>ue.type);return V.isBrackethesized=!0,V;case Oe.VarBlockStmt:case Oe.DeclareAssign:return x?x.ruleType===Oe.VarMultiple?x.types:[x.type]:[((F=o.name)==null?void 0:F.type)||W.UNDETERMINED];case Oe.SwitchStatement:if(!this._isNeedCalc&&!this._isInFunc)return[W.UNDETERMINED];const b=[...o.cases];o.defaultCase&&b.push(o.defaultCase);let y=(($=b[0])==null?void 0:$.returnedTypes)||[],g=y.length<=1?y[0]:`[${y.join(", ")}]`,D=null;for(const ue of b.slice(1)){const K=ue.returnedTypes||[W.UNDETERMINED];g+=K.length<=1?`; ${K[0]}`:`; [${K.join(", ")}]`;const Y=Array.isArray(ue.block)?ue.block.slice(-1)[0]:ue.block;if(K.length!==y.length)D=Y.ctx;else for(const[G,ce]of y.entries())if(this._compareType(K[G],ce))(K[G].includes(W.FLOAT)&&!ce.includes(W.FLOAT)||y[G]===`${W.SIMPLE} ${W.NA}`||y[G]===W.UNDETERMINED)&&(y[G]=K[G]);else{D=Y.ctx;break}}return D&&(this._errorHandle(Ne(Pe.ifOrSwitchTypeErr,{keyword:"switch",types:g}),D),y=y.map(()=>W.UNDETERMINED)),o.returnedTypes=y,y;case Oe.IfStatement:if(!this._isNeedCalc&&!this._isInFunc)return[W.UNDETERMINED];if(!P.filter(ue=>ue&&ue.length).length)return[W.UNDETERMINED];let R=P[0]||[],O=R.length<=1?R[0]:`[${R.join(", ")}]`,U=0,X=0;for(const ue of P.slice(1))if(ue)if(U++,O+=ue.length<=1?`; ${ue[0]}`:`; [${ue.join(", ")}]`,ue.length!==R.length)X=U;else for(const[K,Y]of R.entries())if(this._compareType(ue[K],Y))(ue[K].includes(W.FLOAT)&&!Y.includes(W.FLOAT)||R[K]===`${W.SIMPLE} ${W.NA}`)&&(R[K]=ue[K]);else{X=U;break}if(X){const ue=A[X].slice(-1)[0],K=Array.isArray(ue)?ue.slice(-1)[0]:ue;this._errorHandle(Ne(Pe.ifOrSwitchTypeErr,{keyword:"if",types:O}),K.ctx),R=R.map(()=>W.UNDETERMINED)}return o.returnedTypes=R,R}return[W.UNDETERMINED]}}class km{constructor(e){w(this,"_nameMap");w(this,"_prefixNameVar");w(this,"_prefixNameFunc");w(this,"_prefixNameConst");w(this,"_userTypes");w(this,"_isInFunc");w(this,"_varlist");w(this,"_memberIndexList");w(this,"_blockCount");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}preParser(e){var o,u;const n=[];for(const h of e){if(!h)return;if(Array.isArray(h)){for(const m of h)if(n.push(this._parserStmt(m)),_l.includes((u=(o=m.exprs)==null?void 0:o[0])==null?void 0:u.name))return n.join(`;
12
12
  `).replace(/;+/g,";")}else n.push(this._parserStmt(h))}return""}parser(e){const n=[];for(const u of e){if(!u)return;if(Array.isArray(u))for(const h of u)n.push(this._parserStmt(h));else n.push(this._parserStmt(u))}const o=this._memberIndexList[this._blockCount]||{};return n.push(...Object.values(o)),n.join(`;
13
13
  `).replace(/;+/g,";")}_parserStmt(e,n=!1){switch(e==null?void 0:e.ruleType){case Oe.DeclareAssign:return this._parserDeclareAssign(e);case Oe.MethodExpression:return`${this._parserMethodExpression(e)}`;case Oe.ArrowFunction:return this._parserArrowFunction(e);case Oe.ArrowMethod:return this._parserArrowMethod(e);case Oe.IfStatement:return this._parserIfStatement(e,n);case Oe.WhileStatement:return this._parserWhileStatement(e,n);case Oe.SwitchStatement:return this._parserSwitchStatement(e,n);case Oe.ForInStatement:return this._parserForInStatement(e,n);case Oe.ForToStatement:return this._parserForToStatement(e,n);case Oe.AgainAssign:return this._parserAgainAssign(e);case Oe.ImportElement:break;case Oe.TypeStatement:return this._parserTypeStatement(e);case Oe.VarBlockStmt:return this._parserVarBlockStmt(e);case Oe.FlowStmt:return`${e.value};`;case Oe.Brackethesized:return this._parserBrackethesized(e);default:return this._parserSingleExpression(e)}return""}_parserTypeStatement(e){const n=[],o=[];for(const u of e.fields){const{name:h,value:m}=u;u.isVarip&&o.push(`"${h}"`),n.push(`${h}: ${m?this._parserSingleExpression(m):"undefined"}`)}return this._userTypes.push(e.name),`const ${e.name} = ${this._prefixNameVar}.getTypeInstance({${n.join(", ")}}, [${o.join()}])`}_parserVarBlockStmt(e){const{nameList:n,operator:o,name:u,value:h}=e,m=this._parserStmt(h,!0);return u?`${this._parserName(u)} ${o===":="?"=":o} ${m}`:`let ${this._parserDeclareAssignNames(n)} = ${m}`}_parserForToStatement(e,n=!1){const{numerical:o,block:u,name:h}=e,m=this._parserBlockLine(u,n),_=this._parserSingleExpression(o[0]),T=this._parserSingleExpression(o[1]),x=o[2]?this._parserSingleExpression(o[2]):"",P=`if ((${_})>(${T})) {
14
14
  for (let ${h}=${_}; ${h}>=(${T}); ${h}+=(${x||"-1"})){
@@ -78,7 +78,7 @@ ${this._prefixNameVar}.setVarValue("${_}", ${$}, ${_}, "${m}")`}return n==="-="?
78
78
  `&&++u.pos,Ee=`
79
79
  `;else if(Ee=="$"&&h()=="{")return _(!0,!0),u.brace_counter++,me=b(J?"template_head":"template_substitution",ne),os.set(me,ae),me.template_end=!1,me;if(ae+=Ee,Ee=="\\"){var At=u.pos,jt=V&&(V.type==="name"||V.type==="punc"&&(V.value===")"||V.value==="]"));Ee=U(!0,!jt,!0),ae+=u.text.substr(At,u.pos-At)}ne+=Ee}return u.template_braces.pop(),me=b(J?"template_head":"template_substitution",ne),os.set(me,ae),me.template_end=!0,me});function G(J){var ne=u.regex_allowed,ae=P(),Ee;return ae==-1?(Ee=u.text.substr(u.pos),u.pos=u.text.length):(Ee=u.text.substring(u.pos,ae),u.pos=ae),u.col=u.tokcol+(u.pos-u.tokpos),u.comments_before.push(b(J,Ee,!0)),u.regex_allowed=ne,Ue}var ce=_e("Unterminated multiline comment",function(){var J=u.regex_allowed,ne=A("*/",!0),ae=u.text.substring(u.pos,ne).replace(/\r\n|\r|\u2028|\u2029/g,`
80
80
  `);return T(s_(ae)+2),u.comments_before.push(b("comment2",ae,!0)),u.newline_before=u.newline_before||ae.includes(`
81
- `),u.regex_allowed=J,Ue}),Q=_e("Unterminated identifier name",function(){var J=[],ne,ae=!1,Ee=function(){return ae=!0,_(),h()!=="u"&&D("Expecting UnicodeEscapeSequence -- uXXXX or u{XXXX}"),U(!1,!0)};if((ne=h())==="\\")ne=Ee(),xl(ne)||D("First identifier char is an invalid identifier char");else if(xl(ne))_();else return"";for(J.push(ne);(ne=h())!=null;){if((ne=h())==="\\")ne=Ee(),Eu(ne)||D("Invalid escaped identifier char");else{if(!Eu(ne))break;_()}J.push(ne)}const me=J.join("");return as.has(me)&&ae&&D("Escaped characters are not allowed in keywords"),me}),de=_e("Unterminated regular expression",function(J){for(var ne=!1,ae,Ee=!1;ae=_(!0);)if(Tl.has(ae))D("Unexpected line terminator");else if(ne)/^[\u0000-\u007F]$/.test(ae)?J+="\\"+ae:J+=ae,ne=!1;else if(ae=="[")Ee=!0,J+=ae;else if(ae=="]"&&Ee)Ee=!1,J+=ae;else{if(ae=="/"&&!Ee)break;ae=="\\"?ne=!0:J+=ae}const me=Q();return b("regexp","/"+J+"/"+me)});function ye(J){function ne(ae){if(!h())return ae;var Ee=ae+h();return Up.has(Ee)?(_(),ne(Ee)):ae}return b("operator",ne(J||_()))}function te(){switch(_(),h()){case"/":return _(),G("comment1");case"*":return _(),ce()}return u.regex_allowed?de(""):ye("/")}function he(){return _(),h()===">"?(_(),b("arrow","=>")):ye("=")}function le(){return _(),Vp(h().charCodeAt(0))?R("."):h()==="."?(_(),_(),b("expand","...")):b("punc",".")}function Ae(){var J=Q();return $?b("name",J):_u.has(J)?b("atom",J):mu.has(J)?Up.has(J)?b("operator",J):b("keyword",J):b("name",J)}function we(){return _(),b("privatename",Q())}function _e(J,ne){return function(ae){try{return ne(ae)}catch(Ee){if(Ee===Ol)D(J);else throw Ee}}}function Ue(J){if(J!=null)return de(J);for(o&&u.pos==0&&x("#!")&&(F(),T(2),G("comment5"));;){if(y(),F(),n){if(x("<!--")){T(4),G("comment3");continue}if(x("-->")&&u.newline_before){T(3),G("comment4");continue}}var ne=h();if(!ne)return b("eof");var ae=ne.charCodeAt(0);switch(ae){case 34:case 39:return K();case 46:return le();case 47:{var Ee=te();if(Ee===Ue)continue;return Ee}case 61:return he();case 63:{if(!m())break;return _(),_(),b("punc","?.")}case 96:return Y(!0);case 123:u.brace_counter++;break;case 125:if(u.brace_counter--,u.template_braces.length>0&&u.template_braces[u.template_braces.length-1]===u.brace_counter)return Y(!1);break}if(Vp(ae))return R();if(o_.has(ne))return b("punc",_());if(Ym.has(ne))return ye();if(ae==92||xl(ne))return Ae();if(ae==35)return we();break}D("Unexpected character '"+ne+"'")}return Ue.next=_,Ue.peek=h,Ue.context=function(J){return J&&(u=J),u},Ue.add_directive=function(J){u.directive_stack[u.directive_stack.length-1].push(J),u.directives[J]===void 0?u.directives[J]=1:u.directives[J]++},Ue.push_directives_stack=function(){u.directive_stack.push([])},Ue.pop_directives_stack=function(){for(var J=u.directive_stack[u.directive_stack.length-1],ne=0;ne<J.length;ne++)u.directives[J[ne]]--;u.directive_stack.pop()},Ue.has_directive=function(J){return u.directives[J]>0},Ue}var l_=Ot(["typeof","void","delete","--","++","!","~","-","+"]),zp=Ot(["--","++"]),f_=Ot(["=","+=","-=","??=","&&=","||=","/=","*=","**=","%=",">>=","<<=",">>>=","|=","^=","&="]),h_=Ot(["??=","&&=","||="]),Ar=function(t,e){for(var n=0;n<t.length;++n)for(const o of t[n])e[o]=n+1;return e}([["||"],["??"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]],{}),p_=Ot(["atom","num","big_int","string","regexp","name"]);function ss(t,e){const n=new WeakMap;e=pi(e,{bare_returns:!1,ecma:null,expression:!1,filename:null,html5_comments:!0,module:!1,shebang:!0,strict:!1,toplevel:null},!0);var o={input:typeof t=="string"?c_(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:[]};o.token=m();function u(C,j){return or(o.token,C,j)}function h(){return o.peeked||(o.peeked=o.input())}function m(){return o.prev=o.token,o.peeked||h(),o.token=o.peeked,o.peeked=null,o.in_directives=o.in_directives&&(o.token.type=="string"||u("punc",";")),o.token}function _(){return o.prev}function T(C,j,z,Z){var re=o.input.context();Tu(C,re.filename,j??re.tokline,z??re.tokcol,Z??re.tokpos)}function x(C,j){T(j,C.line,C.col)}function P(C){C==null&&(C=o.token),x(C,"Unexpected token: "+C.type+" ("+C.value+")")}function A(C,j){if(u(C,j))return m();x(o.token,"Unexpected token "+o.token.type+" «"+o.token.value+"», expected "+C+" «"+j+"»")}function F(C){return A("punc",C)}function $(C){return C.nlb||!C.comments_before.every(j=>!j.nlb)}function V(){return!e.strict&&(u("eof")||u("punc","}")||$(o.token))}function b(){return o.in_generator===o.in_function}function y(){return o.in_async===o.in_function}function g(){return o.in_async===o.in_function||o.in_function===0&&o.input.has_directive("use strict")}function D(C){u("punc",";")?m():!C&&!V()&&P()}function R(){F("(");var C=mt(!0);return F(")"),C}function O(C){return function(...z){const Z=o.token,re=C(...z);return re.start=Z,re.end=_(),re}}function U(){(u("operator","/")||u("operator","/="))&&(o.peeked=null,o.token=o.input(o.token.value.substr(1)))}var X=O(function C(j,z,Z){switch(U(),o.token.type){case"string":if(o.in_directives){var re=h();!yu.includes("\\")&&(or(re,"punc",";")||or(re,"punc","}")||$(re)||or(re,"eof"))?o.input.add_directive(o.token.value):o.in_directives=!1}var Fe=o.in_directives,Ie=K();return Fe&&Ie.body instanceof dt?new Qn(Ie.body):Ie;case"template_head":case"num":case"big_int":case"regexp":case"operator":case"atom":return K();case"name":case"privatename":if(u("privatename")&&!o.in_class&&T("Private field must be used in an enclosing class"),o.token.value=="async"&&or(h(),"keyword","function"))return m(),m(),z&&T("functions are not allowed as the body of a loop"),te(Qt,!1,!0,j);if(o.token.value=="import"&&!or(h(),"punc","(")&&!or(h(),"punc",".")){m();var rt=ln();return D(),rt}return or(h(),"punc",":")?ue():K();case"punc":switch(o.token.value){case"{":return new Ye({start:o.token,body:Ee(),end:_()});case"[":case"(":return K();case";":return o.in_directives=!1,m(),new Rt;default:P()}case"keyword":switch(o.token.value){case"break":return m(),Y(xr);case"continue":return m(),Y(eo);case"debugger":return m(),D(),new Ni;case"do":m();var Gt=nr(C);A("keyword","while");var on=R();return D(!0),new di({body:Gt,condition:on});case"while":return m(),new Pi({condition:R(),body:nr(function(){return C(!1,!0)})});case"for":return m(),G();case"class":return m(),z&&T("classes are not allowed as the body of a loop"),Z&&T("classes are not allowed as the body of an if"),Zt(jr,j);case"function":return m(),z&&T("functions are not allowed as the body of a loop"),te(Qt,!1,!1,j);case"if":return m(),ae();case"return":o.in_function==0&&!e.bare_returns&&T("'return' outside of function"),m();var bn=null;return u("punc",";")?m():V()||(bn=mt(!0),D()),new an({value:bn});case"switch":return m(),new $n({expression:R(),body:nr(me)});case"throw":m(),$(o.token)&&T("Illegal newline after 'throw'");var bn=mt(!0);return D(),new cs({value:bn});case"try":return m(),At();case"var":m();var rt=Et();return D(),rt;case"let":m();var rt=Lt();return D(),rt;case"const":m();var rt=gt();return D(),rt;case"with":return o.input.has_directive("use strict")&&T("Strict mode may not include a with statement"),m(),new pr({expression:R(),body:C()});case"export":if(!or(h(),"punc","(")){m();var rt=Le();return u("punc",";")&&D(),rt}}}P()});function ue(){var C=Tn(ls);C.name==="await"&&y()&&x(o.prev,"await cannot be used as label inside async function"),o.labels.some(z=>z.name===C.name)&&T("Label "+C.name+" defined twice"),F(":"),o.labels.push(C);var j=X();return o.labels.pop(),j instanceof Lr||C.references.forEach(function(z){z instanceof eo&&(z=z.label.start,T("Continue label `"+C.name+"` refers to non-IterationStatement.",z.line,z.col,z.pos))}),new Yn({body:j,label:C})}function K(C){return new He({body:(C=mt(!0),D(),C)})}function Y(C){var j=null,z;V()||(j=Tn(kl,!0)),j!=null?(z=o.labels.find(re=>re.name===j.name),z||T("Undefined label "+j.name),j.thedef=z):o.in_loop==0&&T(C.TYPE+" not inside a loop or switch"),D();var Z=new C({label:j});return z&&z.references.push(Z),Z}function G(){var C="`for await` invalid in this context",j=o.token;j.type=="name"&&j.value=="await"?(g()||x(j,C),m()):j=!1,F("(");var z=null;if(u("punc",";"))j&&x(j,C);else{z=u("keyword","var")?(m(),Et(!0)):u("keyword","let")?(m(),Lt(!0)):u("keyword","const")?(m(),gt(!0)):mt(!0,!0);var Z=u("operator","in"),re=u("name","of");if(j&&!re&&x(j,C),Z||re)return z instanceof sn?z.definitions.length>1&&x(z.start,"Only one variable declaration allowed in for..in loop"):zi(z)||(z=Rr(z))instanceof Vt||x(z.start,"Invalid left-hand side in for..in loop"),m(),Z?de(z):Q(z,!!j)}return ce(z)}function ce(C){F(";");var j=u("punc",";")?null:mt(!0);F(";");var z=u("punc",")")?null:mt(!0);return F(")"),new En({init:C,condition:j,step:z,body:nr(function(){return X(!1,!0)})})}function Q(C,j){var z=C instanceof sn?C.definitions[0].name:null,Z=mt(!0);return F(")"),new go({await:j,init:C,name:z,object:Z,body:nr(function(){return X(!1,!0)})})}function de(C){var j=mt(!0);return F(")"),new Kn({init:C,object:j,body:nr(function(){return X(!1,!0)})})}var ye=function(C,j,z){$(o.token)&&T("Unexpected newline before arrow (=>)"),A("arrow","=>");var Z=Ue(u("punc","{"),!1,z),re=Z instanceof Array&&Z.length?Z[Z.length-1].end:Z instanceof Array?C:Z.end;return new qt({start:C,end:re,async:z,argnames:j,body:Z})},te=function(C,j,z,Z){var re=C===Qt,Fe=u("operator","*");Fe&&m();var Ie=u("name")?Tn(re?vi:ni):null;re&&!Ie&&(Z?C=Ft:P()),Ie&&C!==Ii&&!(Ie instanceof Rn)&&P(_());var rt=[],Gt=Ue(!0,Fe||j,z,Ie,rt);return new C({start:rt.start,end:Gt.end,is_generator:Fe,async:z,name:Ie,argnames:rt,body:Gt})};class he{constructor(j,z,Z=!1){this.is_parameter=j,this.duplicates_ok=Z,this.parameters=new Set,this.duplicate=null,this.default_assignment=!1,this.spread=!1,this.strict_mode=!!z}add_parameter(j){if(this.parameters.has(j.value))this.duplicate===null&&(this.duplicate=j),this.check_strict();else if(this.parameters.add(j.value),this.is_parameter)switch(j.value){case"arguments":case"eval":case"yield":this.strict_mode&&x(j,"Unexpected "+j.value+" identifier as parameter inside strict mode");break;default:as.has(j.value)&&P()}}mark_default_assignment(j){this.default_assignment===!1&&(this.default_assignment=j)}mark_spread(j){this.spread===!1&&(this.spread=j)}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&&x(this.duplicate,"Parameter "+this.duplicate.value+" was used already")}}function le(C){var j=new he(!0,o.input.has_directive("use strict"));for(F("(");!u("punc",")");){var z=Ae(j);if(C.push(z),u("punc",")")||F(","),z instanceof ht)break}m()}function Ae(C,j){var z,Z=!1;return C===void 0&&(C=new he(!0,o.input.has_directive("use strict"))),u("expand","...")&&(Z=o.token,C.mark_spread(o.token),m()),z=we(C,j),u("operator","=")&&Z===!1&&(C.mark_default_assignment(o.token),m(),z=new Dr({start:z.start,left:z,operator:"=",right:mt(!1),end:o.token})),Z!==!1&&(u("punc",")")||P(),z=new ht({start:Z,expression:z,end:Z})),C.check_strict(),z}function we(C,j){var z=[],Z=!0,re=!1,Fe,Ie=o.token;if(C===void 0){const wr=o.input.has_directive("use strict"),Bt=j===Bi;C=new he(!1,wr,Bt)}if(j=j===void 0?wn:j,u("punc","[")){for(m();!u("punc","]");){if(Z?Z=!1:F(","),u("expand","...")&&(re=!0,Fe=o.token,C.mark_spread(o.token),m()),u("punc"))switch(o.token.value){case",":z.push(new Cr({start:o.token,end:o.token}));continue;case"]":break;case"[":case"{":z.push(we(C,j));break;default:P()}else u("name")?(C.add_parameter(o.token),z.push(Tn(j))):T("Invalid function parameter");u("operator","=")&&re===!1&&(C.mark_default_assignment(o.token),m(),z[z.length-1]=new Dr({start:z[z.length-1].start,left:z[z.length-1],operator:"=",right:mt(!1),end:o.token})),re&&(u("punc","]")||T("Rest element must be last element"),z[z.length-1]=new ht({start:Fe,expression:z[z.length-1],end:Fe}))}return F("]"),C.check_strict(),new Vt({start:Ie,names:z,is_array:!0,end:_()})}else if(u("punc","{")){for(m();!u("punc","}");){if(Z?Z=!1:F(","),u("expand","...")&&(re=!0,Fe=o.token,C.mark_spread(o.token),m()),u("name")&&(or(h(),"punc")||or(h(),"operator"))&&[",","}","="].includes(h().value)){C.add_parameter(o.token);var rt=_(),Gt=Tn(j);re?z.push(new ht({start:Fe,expression:Gt,end:Gt.end})):z.push(new Yt({start:rt,key:Gt.name,value:Gt,end:Gt.end}))}else{if(u("punc","}"))continue;var on=o.token,bn=ut();bn===null?P(_()):_().type==="name"&&!u("punc",":")?z.push(new Yt({start:_(),key:bn,value:new j({start:_(),name:bn,end:_()}),end:_()})):(F(":"),z.push(new Yt({start:on,quote:on.quote,key:bn,value:we(C,j),end:_()})))}re?u("punc","}")||T("Rest element must be last element"):u("operator","=")&&(C.mark_default_assignment(o.token),m(),z[z.length-1].value=new Dr({start:z[z.length-1].value.start,left:z[z.length-1].value,operator:"=",right:mt(!1),end:o.token}))}return F("}"),C.check_strict(),new Vt({start:Ie,names:z,is_array:!1,end:_()})}else{if(u("name"))return C.add_parameter(o.token),Tn(j);T("Invalid function parameter")}}function _e(C,j){var z,Z,re,Fe=[];for(F("(");!u("punc",")");)z&&P(z),u("expand","...")?(z=o.token,j&&(Z=o.token),m(),Fe.push(new ht({start:_(),expression:mt(),end:o.token}))):Fe.push(mt()),u("punc",")")||(F(","),u("punc",")")&&(re=_(),j&&(Z=re)));return F(")"),C&&u("arrow","=>")?z&&re&&P(re):Z&&P(Z),Fe}function Ue(C,j,z,Z,re){var Fe=o.in_loop,Ie=o.labels,rt=o.in_generator,Gt=o.in_async;if(++o.in_function,j&&(o.in_generator=o.in_function),z&&(o.in_async=o.in_function),re&&le(re),C&&(o.in_directives=!0),o.in_loop=0,o.labels=[],C){o.input.push_directives_stack();var on=Ee();Z&&gn(Z),re&&re.forEach(gn),o.input.pop_directives_stack()}else var on=[new an({start:o.token,value:mt(!1),end:o.token})];return--o.in_function,o.in_loop=Fe,o.labels=Ie,o.in_generator=rt,o.in_async=Gt,on}function J(){return g()||T("Unexpected await expression outside async function",o.prev.line,o.prev.col,o.prev.pos),new dr({start:_(),end:o.token,expression:Ti(!0)})}function ne(){b()||T("Unexpected yield expression outside generator function",o.prev.line,o.prev.col,o.prev.pos);var C=o.token,j=!1,z=!0;return V()||u("punc")&&r_.has(o.token.value)?z=!1:u("operator","*")&&(j=!0,m()),new yr({start:C,is_star:j,expression:z?mt():null,end:_()})}function ae(){var C=R(),j=X(!1,!1,!0),z=null;return u("keyword","else")&&(m(),z=X(!1,!1,!0)),new wt({condition:C,body:j,alternative:z})}function Ee(){F("{");for(var C=[];!u("punc","}");)u("eof")&&P(),C.push(X());return m(),C}function me(){F("{");for(var C=[],j=null,z=null,Z;!u("punc","}");)u("eof")&&P(),u("keyword","case")?(z&&(z.end=_()),j=[],z=new Xr({start:(Z=o.token,m(),Z),expression:mt(!0),body:j}),C.push(z),F(":")):u("keyword","default")?(z&&(z.end=_()),j=[],z=new bo({start:(Z=o.token,m(),F(":"),Z),body:j}),C.push(z)):(j||P(),j.push(X()));return z&&(z.end=_()),m(),C}function At(){var C,j=null,z=null;if(C=new Du({start:o.token,body:Ee(),end:_()}),u("keyword","catch")){var Z=o.token;if(m(),u("punc","{"))var re=null;else{F("(");var re=Ae(void 0,Hr);F(")")}j=new qr({start:Z,argname:re,body:Ee(),end:_()})}if(u("keyword","finally")){var Z=o.token;m(),z=new Ko({start:Z,body:Ee(),end:_()})}return!j&&!z&&T("Missing catch/finally blocks"),new mr({body:C,bcatch:j,bfinally:z})}function jt(C,j){for(var z=[],Z;;){var re=j==="var"?Bi:j==="const"?to:j==="let"?$o:null;if(u("punc","{")||u("punc","[")?Z=new Mt({start:o.token,name:we(void 0,re),value:u("operator","=")?(A("operator","="),mt(!1,C)):null,end:_()}):(Z=new Mt({start:o.token,name:Tn(re),value:u("operator","=")?(m(),mt(!1,C)):!C&&j==="const"?T("Missing initializer in const declaration"):null,end:_()}),Z.name.name=="import"&&T("Unexpected token: import")),z.push(Z),!u("punc",","))break;m()}return z}var Et=function(C){return new kn({start:_(),definitions:jt(C,"var"),end:_()})},Lt=function(C){return new Yr({start:_(),definitions:jt(C,"let"),end:_()})},gt=function(C){return new Jr({start:_(),definitions:jt(C,"const"),end:_()})},Dt=function(C){var j=o.token;if(A("operator","new"),u("punc","."))return m(),A("name","target"),fn(new zo({start:j,end:_()}),C);var z=De(!1),Z;u("punc","(")?(m(),Z=bt(")",!0)):Z=[];var re=new er({start:j,expression:z,args:Z,end:_()});return In(re),fn(re,C)};function Jt(){var C=o.token,j;switch(C.type){case"name":j=ft(Se);break;case"num":j=new Je({start:C,end:C,value:C.value,raw:yu});break;case"big_int":j=new ri({start:C,end:C,value:C.value});break;case"string":j=new dt({start:C,end:C,value:C.value,quote:C.quote}),In(j);break;case"regexp":const[z,Z,re]=C.value.match(/^\/(.*)\/(\w*)$/);j=new ur({start:C,end:C,value:{source:Z,flags:re}});break;case"atom":switch(C.value){case"false":j=new ji({start:C,end:C});break;case"true":j=new _r({start:C,end:C});break;case"null":j=new cr({start:C,end:C});break}break}return m(),j}function ie(C,j){var z=function(Z,re){return re?new Dr({start:Z.start,left:Z,operator:"=",right:re,end:re.end}):Z};if(C instanceof Nt)return z(new Vt({start:C.start,end:C.end,is_array:!1,names:C.properties.map(Z=>ie(Z))}),j);if(C instanceof Yt)return C.value=ie(C.value),z(C,j);if(C instanceof Cr)return C;if(C instanceof Vt)return C.names=C.names.map(Z=>ie(Z)),z(C,j);if(C instanceof Se)return z(new wn({name:C.name,start:C.start,end:C.end}),j);if(C instanceof ht)return C.expression=ie(C.expression),z(C,j);if(C instanceof St)return z(new Vt({start:C.start,end:C.end,is_array:!0,names:C.elements.map(Z=>ie(Z))}),j);if(C instanceof st)return z(ie(C.left,C.right),j);if(C instanceof Dr)return C.left=ie(C.left),C;T("Invalid function parameter",C.start.line,C.start.col)}var De=function(C,j){if(u("operator","new"))return Dt(C);if(u("name","import")&&or(h(),"punc","."))return Si(C);var z=o.token,Z,re=u("name","async")&&(Z=h()).value!="["&&Z.type!="arrow"&&Jt();if(u("punc")){switch(o.token.value){case"(":if(re&&!C)break;var Fe=_e(j,!re);if(j&&u("arrow","=>"))return ye(z,Fe.map(Bt=>ie(Bt)),!!re);var Ie=re?new je({expression:re,args:Fe}):No(z,Fe);if(Ie.start){const Bt=z.comments_before.length;if(n.set(z,Bt),Ie.start.comments_before.unshift(...z.comments_before),z.comments_before=Ie.start.comments_before,Bt==0&&z.comments_before.length>0){var rt=z.comments_before[0];rt.nlb||(rt.nlb=z.nlb,z.nlb=!1)}z.comments_after=Ie.start.comments_after}Ie.start=z;var Gt=_();return Ie.end&&(Gt.comments_before=Ie.end.comments_before,Ie.end.comments_after.push(...Gt.comments_after),Gt.comments_after=Ie.end.comments_after),Ie.end=Gt,Ie instanceof je&&In(Ie),fn(Ie,C);case"[":return fn(xt(),C);case"{":return fn(Mn(),C)}re||P()}if(j&&u("name")&&or(h(),"arrow")){var on=new wn({name:o.token.value,start:z,end:z});return m(),ye(z,[on],!!re)}if(u("keyword","function")){m();var bn=te(Ft,!1,!!re);return bn.start=z,bn.end=_(),fn(bn,C)}if(re)return fn(re,C);if(u("keyword","class")){m();var wr=Zt(bi);return wr.start=z,wr.end=_(),fn(wr,C)}if(u("template_head"))return fn(pe(),C);if(p_.has(o.token.type))return fn(Jt(),C);P()};function pe(){var C=[],j=o.token;for(C.push(new yi({start:o.token,raw:os.get(o.token),value:o.token.value,end:o.token}));!o.token.template_end;)m(),U(),C.push(mt(!0)),C.push(new yi({start:o.token,raw:os.get(o.token),value:o.token.value,end:o.token}));return m(),new zn({start:j,segments:C,end:o.token})}function bt(C,j,z){for(var Z=!0,re=[];!u("punc",C)&&(Z?Z=!1:F(","),!(j&&u("punc",C)));)u("punc",",")&&z?re.push(new Cr({start:o.token,end:o.token})):u("expand","...")?(m(),re.push(new ht({start:_(),expression:mt(),end:o.token}))):re.push(mt(!1));return m(),re}var xt=O(function(){return F("["),new St({elements:bt("]",!e.strict,!0)})}),Ct=O((C,j)=>te(Ii,C,j)),Mn=O(function(){var j=o.token,z=!0,Z=[];for(F("{");!u("punc","}")&&(z?z=!1:F(","),!(!e.strict&&u("punc","}")));){if(j=o.token,j.type=="expand"){m(),Z.push(new ht({start:j,expression:mt(!1),end:_()}));continue}u("privatename")&&T("private fields are not allowed in an object");var re=ut(),Fe;if(u("punc",":"))re===null?P(_()):(m(),Fe=mt(!1));else{var Ie=pn(re,j);if(Ie){Z.push(Ie);continue}Fe=new Se({start:_(),name:re,end:_()})}u("operator","=")&&(m(),Fe=new st({start:j,left:Fe,operator:"=",right:mt(!1),logical:!1,end:_()}));const rt=new Yt({start:j,quote:j.quote,key:re instanceof Te?re:""+re,value:Fe,end:_()});Z.push(In(rt))}return m(),new Nt({properties:Z})});function Zt(C,j){var z,Z,re,Fe,Ie=[];o.input.push_directives_stack(),o.input.add_directive("use strict"),o.token.type=="name"&&o.token.value!="extends"&&(re=Tn(C===jr?Cu:ku)),C===jr&&!re&&(j?C=bi:P()),o.token.value=="extends"&&(m(),Fe=mt(!0)),F("{");const rt=o.in_class;for(o.in_class=!0;u("punc",";");)m();for(;!u("punc","}");)for(z=o.token,Z=pn(ut(),z,!0),Z||P(),Ie.push(Z);u("punc",";");)m();return o.in_class=rt,o.input.pop_directives_stack(),m(),new C({start:z,name:re,extends:Fe,properties:Ie,end:_()})}function pn(C,j,z){const Z=(Bt,Kr=Ln)=>typeof Bt=="string"||typeof Bt=="number"?new Kr({start:j,name:""+Bt,end:_()}):(Bt===null&&P(),Bt),re=()=>!u("punc","(")&&!u("punc",",")&&!u("punc","}")&&!u("punc",";")&&!u("operator","=");var Fe=!1,Ie=!1,rt=!1,Gt=!1,on=null;if(z&&C==="static"&&re()){const Bt=Ht();if(Bt!=null)return Bt;Ie=!0,C=ut()}C==="async"&&re()&&(Fe=!0,C=ut()),_().type==="operator"&&_().value==="*"&&(rt=!0,C=ut()),(C==="get"||C==="set")&&re()&&(on=C,C=ut()),_().type==="privatename"&&(Gt=!0);const bn=_();if(on!=null)if(Gt){const Bt=on==="get"?Qr:mi;return In(new Bt({start:j,static:Ie,key:Z(C),value:Ct(),end:_()}))}else{const Bt=on==="get"?Vr:ei;return C=Z(C),In(new Bt({start:j,static:Ie,key:C,quote:C instanceof Ln?bn.quote:void 0,value:Ct(),end:_()}))}if(u("punc","(")){C=Z(C);const Bt=Gt?_i:Fn;var wr=new Bt({start:j,static:Ie,is_generator:rt,async:Fe,key:C,quote:C instanceof Ln?bn.quote:void 0,value:Ct(rt,Fe),end:_()});return In(wr)}if(z){const Bt=Z(C,Vi),Kr=Bt instanceof Vi?bn.quote:void 0,Er=Gt?gi:sr;if(u("operator","="))return m(),In(new Er({start:j,static:Ie,quote:Kr,key:Bt,value:mt(!1),end:_()}));if(u("name")||u("privatename")||u("operator","*")||u("punc",";")||u("punc","}"))return In(new Er({start:j,static:Ie,quote:Kr,key:Bt,end:_()}))}}function Ht(){if(!u("punc","{"))return null;const C=o.token,j=[];for(m();!u("punc","}");)j.push(X());return m(),new Wn({start:C,body:j,end:_()})}function It(){return u("name","assert")&&!$(o.token)?(m(),Mn()):null}function ln(){var C=_(),j,z;u("name")&&(j=Tn(Wo)),u("punc",",")&&m(),z=Be(!0),(z||j)&&A("name","from");var Z=o.token;Z.type!=="string"&&P(),m();const re=It();return new Or({start:C,imported_name:j,imported_names:z,module_name:new dt({start:Z,value:Z.value,quote:Z.quote,end:Z}),assert_clause:re,end:o.token})}function Si(C){var j=o.token;return A("name","import"),A("punc","."),A("name","meta"),fn(new Mi({start:j,end:_()}),C)}function L(C){function j(rt,Gt){return new rt({name:ut(),quote:Gt||void 0,start:_(),end:_()})}var z=C?vo:Ei,Z=C?Wo:Eo,re=o.token,Fe,Ie;return C?Fe=j(z,re.quote):Ie=j(Z,re.quote),u("name","as")?(m(),C?Ie=j(Z):Fe=j(z,o.token.quote)):C?Ie=new Z(Fe):Fe=new z(Ie),new Zr({start:re,foreign_name:Fe,name:Ie,end:_()})}function ke(C,j){var z=C?vo:Ei,Z=C?Wo:Eo,re=o.token,Fe,Ie,rt=_();return C?Fe=j:Ie=j,Fe=Fe||new Z({start:re,name:"*",end:rt}),Ie=Ie||new z({start:re,name:"*",end:rt}),new Zr({start:re,foreign_name:Ie,name:Fe,end:rt})}function Be(C){var j;if(u("punc","{")){for(m(),j=[];!u("punc","}");)j.push(L(C)),u("punc",",")&&m();m()}else if(u("operator","*")){var z;m(),u("name","as")&&(m(),z=C?Tn(Wo):ui(Ei)),j=[ke(C,z)]}return j}function Le(){var C=o.token,j,z;if(u("keyword","default"))j=!0,m();else if(z=Be(!1))if(u("name","from")){m();var Z=o.token;Z.type!=="string"&&P(),m();const rt=It();return new On({start:C,is_default:j,exported_names:z,module_name:new dt({start:Z,value:Z.value,quote:Z.quote,end:Z}),end:_(),assert_clause:rt})}else return new On({start:C,is_default:j,exported_names:z,end:_()});var re,Fe,Ie;return u("punc","{")||j&&(u("keyword","class")||u("keyword","function"))&&or(h(),"punc")?(Fe=mt(!1),D()):(re=X(j))instanceof sn&&j?P(re.start):re instanceof sn||re instanceof Qt||re instanceof jr?Ie=re:re instanceof bi||re instanceof Ft?Fe=re:re instanceof He?Fe=re.body:P(re.start),new On({start:C,is_default:j,exported_value:Fe,exported_definition:Ie,end:_(),assert_clause:null})}function ut(){var C=o.token;switch(C.type){case"punc":if(C.value==="["){m();var j=mt(!1);return F("]"),j}else P(C);case"operator":if(C.value==="*")return m(),null;["delete","in","instanceof","new","typeof","void"].includes(C.value)||P(C);case"name":case"privatename":case"string":case"num":case"big_int":case"keyword":case"atom":return m(),C.value;default:P(C)}}function rn(){var C=o.token;return C.type!="name"&&C.type!="privatename"&&P(),m(),C.value}function ft(C){var j=o.token.value;return new(j=="this"?Bn:j=="super"?Xo:C)({name:String(j),start:o.token,end:o.token})}function gn(C){var j=C.name;b()&&j=="yield"&&x(C.start,"Yield cannot be used as identifier inside generators"),o.input.has_directive("use strict")&&(j=="yield"&&x(C.start,"Unexpected yield identifier inside strict mode"),C instanceof Rn&&(j=="arguments"||j=="eval")&&x(C.start,"Unexpected "+j+" in strict mode"))}function Tn(C,j){if(!u("name"))return j||T("Name expected"),null;var z=ft(C);return gn(z),m(),z}function ui(C){if(!u("name")){u("string")||T("Name or string expected");var j=o.token,z=new C({start:j,end:j,name:j.value,quote:j.quote});return m(),z}var Z=ft(C);return gn(Z),m(),Z}function In(C,j=C.start){var z=j.comments_before;const Z=n.get(j);for(var re=Z??z.length;--re>=0;){var Fe=z[re];if(/[@#]__/.test(Fe.value)){if(/[@#]__PURE__/.test(Fe.value)){is(C,Rl);break}if(/[@#]__INLINE__/.test(Fe.value)){is(C,wl);break}if(/[@#]__NOINLINE__/.test(Fe.value)){is(C,So);break}if(/[@#]__KEY__/.test(Fe.value)){is(C,ps);break}if(/[@#]__MANGLE_PROP__/.test(Fe.value)){is(C,ds);break}}}return C}var fn=function(C,j,z){var Z=C.start;if(u("punc",".")){m(),u("privatename")&&!o.in_class&&T("Private field must be used in an enclosing class");const Ie=u("privatename")?Ur:$t;return In(fn(new Ie({start:Z,expression:C,optional:!1,property:rn(),end:_()}),j,z))}if(u("punc","[")){m();var re=mt(!0);return F("]"),In(fn(new Sn({start:Z,expression:C,optional:!1,property:re,end:_()}),j,z))}if(j&&u("punc","(")){m();var Fe=new je({start:Z,expression:C,optional:!1,args:so(),end:_()});return In(Fe),fn(Fe,!0,z)}if(u("punc","?.")){m();let Ie;if(j&&u("punc","(")){m();const rt=new je({start:Z,optional:!0,expression:C,args:so(),end:_()});In(rt),Ie=fn(rt,!0,!0)}else if(u("name")||u("privatename")){u("privatename")&&!o.in_class&&T("Private field must be used in an enclosing class");const rt=u("privatename")?Ur:$t;Ie=In(fn(new rt({start:Z,expression:C,optional:!0,property:rn(),end:_()}),j,!0))}else if(u("punc","[")){m();const rt=mt(!0);F("]"),Ie=In(fn(new Sn({start:Z,expression:C,optional:!0,property:rt,end:_()}),j,!0))}return Ie||P(),Ie instanceof mn?Ie:new mn({start:Z,expression:Ie,end:_()})}return u("template_head")?(z&&P(),fn(new Br({start:Z,prefix:C,template_string:pe(),end:_()}),j)):C};function so(){for(var C=[];!u("punc",")");)u("expand","...")?(m(),C.push(new ht({start:_(),expression:mt(!1),end:_()}))):C.push(mt(!1)),u("punc",")")||F(",");return m(),C}var Ti=function(C,j){var z=o.token;if(z.type=="name"&&z.value=="await"&&g())return m(),J();if(u("operator")&&l_.has(z.value)){m(),U();var Z=uo(We,z,Ti(C));return Z.start=z,Z.end=_(),Z}for(var re=De(C,j);u("operator")&&zp.has(o.token.value)&&!$(o.token);)re instanceof qt&&P(),re=uo(Li,o.token,re),re.start=z,re.end=o.token,m();return re};function uo(C,j,z){var Z=j.value;switch(Z){case"++":case"--":zi(z)||T("Invalid use of "+Z+" operator",j.line,j.col,j.pos);break;case"delete":z instanceof Se&&o.input.has_directive("use strict")&&T("Calling delete on expression not allowed in strict mode",z.start.line,z.start.col,z.start.pos);break}return new C({operator:Z,expression:z})}var vr=function(C,j,z){var Z=u("operator")?o.token.value:null;Z=="in"&&z&&(Z=null),Z=="**"&&C instanceof We&&!or(C.start,"punc","(")&&C.operator!=="--"&&C.operator!=="++"&&P(C.start);var re=Z!=null?Ar[Z]:null;if(re!=null&&(re>j||Z==="**"&&j===re)){m();var Fe=Gr(z,re,!0);return vr(new oe({start:C.start,left:C,operator:Z,right:Fe,end:Fe.end}),j,z)}return C};function Gr(C,j,z,Z){if(!C&&j<Ar.in&&u("privatename")){o.in_class||T("Private field must be used in an enclosing class");const re=o.token,Fe=new fs({start:re,name:re.value,end:re});m(),A("operator","in");const Ie=new ti({start:re,key:Fe,value:Gr(C,Ar.in,!0),end:_()});return vr(Ie,0,C)}else return vr(Ti(z,Z),j,C)}var wo=function(C){var j=o.token,z=Gr(C,0,!0,!0);if(u("operator","?")){m();var Z=mt(!1);return F(":"),new tt({start:j,condition:z,consequent:Z,alternative:mt(!1,C),end:_()})}return z};function zi(C){return C instanceof Xe||C instanceof Se}function Rr(C){if(C instanceof Nt)C=new Vt({start:C.start,names:C.properties.map(Rr),is_array:!1,end:C.end});else if(C instanceof St){for(var j=[],z=0;z<C.elements.length;z++)C.elements[z]instanceof ht&&(z+1!==C.elements.length&&x(C.elements[z].start,"Spread must the be last element in destructuring array"),C.elements[z].expression=Rr(C.elements[z].expression)),j.push(Rr(C.elements[z]));C=new Vt({start:C.start,names:j,is_array:!0,end:C.end})}else C instanceof un?C.value=Rr(C.value):C instanceof st&&(C=new Dr({start:C.start,left:C.left,operator:"=",right:C.right,end:C.end}));return C}var ci=function(C){U();var j=o.token;if(j.type=="name"&&j.value=="yield"){if(b())return m(),ne();o.input.has_directive("use strict")&&x(o.token,"Unexpected yield identifier inside strict mode")}var z=wo(C),Z=o.token.value;if(u("operator")&&f_.has(Z)){if(zi(z)||(z=Rr(z))instanceof Vt)return m(),new st({start:j,left:z,operator:Z,right:ci(C),logical:h_.has(Z),end:_()});T("Invalid assignment")}return z},No=function(C,j){if(j.length===1)return j[0];if(j.length>1)return new lt({start:C,expressions:j,end:h()});T("Invalid parenthesized expression")},mt=function(C,j){for(var z=o.token,Z=[];Z.push(ci(j)),!(!C||!u("punc",","));)m(),C=!0;return No(z,Z)};function nr(C){++o.in_loop;var j=C();return--o.in_loop,j}return e.expression?mt(!0):function(){var j=o.token,z=[];for(o.input.push_directives_stack(),e.module&&o.input.add_directive("use strict");!u("eof");)z.push(X());o.input.pop_directives_stack();var Z=_(),re=e.toplevel;return re?(re.body=re.body.concat(z),re.end=Z):re=new zt({start:j,body:z,end:Z}),os=new Map,re}()}function fe(t,e,n,o,u=Te){e?e=e.split(/\s+/):e=[];var h=e;u&&u.PROPS&&(e=e.concat(u.PROPS));const m=u&&Object.create(u.prototype);if(m&&(n.prototype=m,n.BASE=u),u&&u.SUBCLASSES.push(n),n.prototype.CTOR=n,n.prototype.constructor=n,n.PROPS=e||null,n.SELF_PROPS=h,n.SUBCLASSES=[],t&&(n.prototype.TYPE=n.TYPE=t),o)for(let _ in o)Zn(o,_)&&(_[0]==="$"?n[_.substr(1)]=o[_]:n.prototype[_]=o[_]);return n.DEFMETHOD=function(_,T){this.prototype[_]=T},n}const Au=(t,e)=>!!(t.flags&e),xu=(t,e,n)=>{n?t.flags|=e:t.flags&=~e},$p=1,Wp=2,Xp=4,qp=8;class Dl{constructor(e,n,o,u,h,m,_,T,x){this.flags=m?1:0,this.type=e,this.value=n,this.line=o,this.col=u,this.pos=h,this.comments_before=_,this.comments_after=T,this.file=x,Object.seal(this)}[Symbol.for("nodejs.util.inspect.custom")](e,n){const o=m=>n.stylize(m,"special"),u=typeof this.value=="string"&&this.value.includes("`")?"'":"`",h=`${u}${this.value}${u}`;return`${o("[AST_Token")} ${h} at ${this.line}:${this.col}${o("]")}`}get nlb(){return Au(this,$p)}set nlb(e){xu(this,$p,e)}get quote(){return Au(this,Xp)?Au(this,Wp)?"'":'"':""}set quote(e){xu(this,Wp,e==="'"),xu(this,Xp,!!e)}get template_end(){return Au(this,qp)}set template_end(e){xu(this,qp,e)}}var Te=fe("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 fr(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),Cn=fe("Statement",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class of all statements"}),Ni=fe("Debugger",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Represents a debugger statement"},Cn),Qn=fe("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"}},Cn),He=fe("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)}},Cn);function mo(t,e){const n=t.body;for(var o=0,u=n.length;o<u;o++)n[o]._walk(e)}function Cl(t){var e=this._clone(t);return this.block_scope&&(e.block_scope=this.block_scope.clone()),e}var vn=fe("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(){mo(this,t)})},_children_backwards(t){let e=this.body.length;for(;e--;)t(this.body[e])},clone:Cl},Cn),Ye=fe("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"},vn),Rt=fe("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)"},Cn),_o=fe("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"}},Cn),Yn=fe("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,o=this.label;e.walk(new Pn(function(u){u instanceof Wr&&u.label&&u.label.thedef===o&&(u.label.thedef=n,n.references.push(u))}))}return e}},_o),Lr=fe("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:Cl},_o),Ou=fe("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"}},Lr),di=fe("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)}},Ou),Pi=fe("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)}},Ou),En=fe("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)}},Lr),Kn=fe("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)}},Lr),go=fe("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"},Kn),pr=fe("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)}},_o),qe=fe("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}},vn),zt=fe("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=ss(n),n=n.transform(new fr(function(o){if(o instanceof Qn&&o.value=="$ORIG")return Xt.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 ss(["(function(",t.slice(0,e),'){"$ORIG"})(',t.slice(e+1),")"].join("")).transform(new fr(function(o){if(o instanceof Qn&&o.value=="$ORIG")return Xt.splice(n)}))}},qe),ht=fe("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=fe("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 Vt?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,o=e.length;n<o;n++)e[n]._walk(t);mo(this,t)})},_children_backwards(t){let e=this.body.length;for(;e--;)t(this.body[e]);for(e=this.argnames.length;e--;)t(this.argnames[e]);this.name&&t(this.name)},is_braceless(){return this.body[0]instanceof an&&this.body[0].value},length_property(){let t=0;for(const e of this.argnames)(e instanceof wn||e instanceof Vt)&&t++;return t}},qe),Ii=fe("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),Ft=fe("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),qt=fe("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),Qt=fe("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),Vt=fe("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 Nn(this,e=>{if(e instanceof Rn&&t.push(e),e instanceof Ke)return!0}),t}}),Br=fe("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=fe("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])}}),yi=fe("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"}}),us=fe("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`)"},Cn),ar=fe("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)}},us),an=fe("Return",null,function(e){e&&(this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `return` statement"},ar),cs=fe("Throw",null,function(e){e&&(this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `throw` statement"},ar),Wr=fe("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)}},us),xr=fe("Break",null,function(e){e&&(this.label=e.label,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `break` statement"},Wr),eo=fe("Continue",null,function(e){e&&(this.label=e.label,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `continue` statement"},Wr),dr=fe("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)}}),yr=fe("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)}}),wt=fe("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)}},_o),$n=fe("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),mo(this,t)})},_children_backwards(t){let e=this.body.length;for(;e--;)t(this.body[e]);t(this.expression)}},vn),Fi=fe("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"},vn),bo=fe("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"},Fi),Xr=fe("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),mo(this,t)})},_children_backwards(t){let e=this.body.length;for(;e--;)t(this.body[e]);t(this.expression)}},Fi),mr=fe("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)}},Cn),Du=fe("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"},vn),qr=fe("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),mo(this,t)})},_children_backwards(t){let e=this.body.length;for(;e--;)t(this.body[e]);this.argname&&t(this.argname)}},vn),Ko=fe("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"},vn),sn=fe("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,o=e.length;n<o;n++)e[n]._walk(t)})},_children_backwards(t){let e=this.definitions.length;for(;e--;)t(this.definitions[e])}},Cn),kn=fe("Var",null,function(e){e&&(this.definitions=e.definitions,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `var` statement"},sn),Yr=fe("Let",null,function(e){e&&(this.definitions=e.definitions,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `let` statement"},sn),Jr=fe("Const",null,function(e){e&&(this.definitions=e.definitions,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `const` statement"},sn),Mt=fe("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 Rn?[this]:this.name.all_symbols()}}),Zr=fe("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)}}),Or=fe("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)}}),Mi=fe("ImportMeta",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A reference to import.meta"}),On=fe("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)}},Cn),je=fe("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,o=e.length;n<o;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)}}),er=fe("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"},je),lt=fe("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=fe("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 ?.)"}}),$t=fe("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),Ur=fe("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),Sn=fe("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),mn=fe("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)}}),Wt=fe("Unary","operator expression",function(e){e&&(this.operator=e.operator,this.expression=e.expression,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for unary expressions",$propdoc:{operator:"[string] the operator",expression:"[AST_Node] expression that this unary operator applies to"},_walk:function(t){return t._visit(this,function(){this.expression._walk(t)})},_children_backwards(t){t(this.expression)}}),We=fe("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`"},Wt),Li=fe("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++`"},Wt),oe=fe("Binary","operator left right",function(e){e&&(this.operator=e.operator,this.left=e.left,this.right=e.right,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Binary expression, i.e. `a + b`",$propdoc:{left:"[AST_Node] left-hand side expression",operator:"[string] the operator",right:"[AST_Node] right-hand side expression"},_walk:function(t){return t._visit(this,function(){this.left._walk(t),this.right._walk(t)})},_children_backwards(t){t(this.right),t(this.left)}}),tt=fe("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)}}),st=fe("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"}},oe),Dr=fe("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`"},oe),St=fe("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,o=e.length;n<o;n++)e[n]._walk(t)})},_children_backwards(t){let e=this.elements.length;for(;e--;)t(this.elements[e])}}),Nt=fe("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,o=e.length;n<o;n++)e[n]._walk(t)})},_children_backwards(t){let e=this.properties.length;for(;e--;)t(this.properties[e])}}),un=fe("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 Te&&this.key._walk(t),this.value._walk(t)})},_children_backwards(t){t(this.value),this.key instanceof Te&&t(this.key)}}),Yt=fe("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 Te}},un),mi=fe("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}},un),Qr=fe("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}},un),ei=fe("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 Ln)}},un),Vr=fe("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 Ln)}},un),Fn=fe("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 Ln)}},un),_i=fe("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"},Fn),_t=fe("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 Wn){e._walk(t);return}e.computed_key()&&(t.push(e),e.key._walk(t),t.pop()),(e instanceof gi||e instanceof sr)&&e.static&&e.value&&(t.push(e),e.value._walk(t),t.pop())})},visit_deferred_class_parts(t){this.properties.forEach(e=>{e instanceof Fn?e.walk(t):e instanceof sr&&!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 Pn((o,u)=>{if(e)return!0;if(o instanceof Bn)return e=n;if(o instanceof Se)return e=o.definition().id===t;if(o instanceof Ke&&!(o instanceof qt)){const h=n;return n=!1,u(),n=h,!0}})),e}},qe),sr=fe("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 Te&&this.key._walk(t),this.value instanceof Te&&this.value._walk(t)})},_children_backwards(t){this.value instanceof Te&&t(this.value),this.key instanceof Te&&t(this.key)},computed_key(){return!(this.key instanceof Vi)}},un),gi=fe("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"},sr),ti=fe("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=fe("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"},_t),Wn=fe("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(){mo(this,t)})},_children_backwards(t){let e=this.body.length;for(;e--;)t(this.body[e])},clone:Cl,computed_key:()=>!1},qe),bi=fe("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."},_t),pt=fe("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"}),zo=fe("NewTarget",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A reference to new.target"}),Rn=fe("SymbolDeclaration","init",function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A declaration symbol (symbol in var/const, function name or argument, symbol in catch)"},pt),Bi=fe("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"},Rn),Ui=fe("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"},Rn),to=fe("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"},Ui),$o=fe("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"},Ui),wn=fe("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"},Bi),vi=fe("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"},Rn),Ln=fe("SymbolMethod",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Symbol in an object defining a method"},pt),Vi=fe("SymbolClassProperty",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Symbol for a class property"},pt),ni=fe("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"},Rn),Cu=fe("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."},Ui),ku=fe("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."},Rn),Hr=fe("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"},Ui),Wo=fe("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"},Ui),vo=fe("SymbolImportForeign",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.quote=e.quote,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A symbol imported from a module, but it is defined in the other module, and its real name is irrelevant for this module's purposes"},pt),ls=fe("Label","references",function(e){e&&(this.references=e.references,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end,this.initialize()),this.flags=0},{$documentation:"Symbol naming a label (declaration)",$propdoc:{references:"[AST_LoopControl*] a list of nodes referring to this label"},initialize:function(){this.references=[],this.thedef=this}},pt),Se=fe("SymbolRef",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Reference to some symbol (not definition/declaration)"},pt),Eo=fe("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"},Se),Ei=fe("SymbolExportForeign",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.quote=e.quote,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A symbol exported from this module, but it is used in the other module, and its real name is irrelevant for this module's purposes"},pt),kl=fe("LabelRef",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Reference to a label symbol"},pt),fs=fe("SymbolPrivateProperty",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A symbol that refers to a private property"},pt),Bn=fe("This",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `this` symbol"},pt),Xo=fe("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"},Bn),Tt=fe("Constant",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for all constants",getValue:function(){return this.value}}),dt=fe("String","value quote",function(e){e&&(this.value=e.value,this.quote=e.quote,this.start=e.start,this.end=e.end,this._annotations=e._annotations),this.flags=0},{$documentation:"A string literal",$propdoc:{value:"[string] the contents of this string",quote:"[string] the original quote character"}},Tt),Je=fe("Number","value raw",function(e){e&&(this.value=e.value,this.raw=e.raw,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A number literal",$propdoc:{value:"[number] the numeric value",raw:"[string] numeric value as string"}},Tt),ri=fe("BigInt","value",function(e){e&&(this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A big int literal",$propdoc:{value:"[string] big int value"}},Tt),ur=fe("RegExp","value",function(e){e&&(this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A regexp literal",$propdoc:{value:"[RegExp] the actual regexp"}},Tt),no=fe("Atom",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for atoms"},Tt),cr=fe("Null",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `null` atom",value:null},no),hs=fe("NaN",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The impossible value",value:NaN},no),en=fe("Undefined",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `undefined` value",value:function(){}()},no),Cr=fe("Hole",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A hole in an array",value:function(){}()},no),ro=fe("Infinity",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `Infinity` value",value:1/0},no),Ru=fe("Boolean",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for booleans"},no),ji=fe("False",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `false` atom",value:!1},Ru),_r=fe("True",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `true` atom",value:!0},Ru);function Nn(t,e,n=[t]){const o=n.push.bind(n);for(;n.length;){const u=n.pop(),h=e(u,n);if(h){if(h===lr)return!0;continue}u._children_backwards(o)}return!1}function Yp(t,e,n){const o=[t],u=o.push.bind(o),h=n?n.slice():[],m=[];let _;const T={parent:(x=0)=>x===-1?_:n&&x>=h.length?(x-=h.length,n[n.length-(x+1)]):h[h.length-(1+x)]};for(;o.length;){for(_=o.pop();m.length&&o.length==m[m.length-1];)h.pop(),m.pop();const x=e(_,T);if(x){if(x===lr)return!0;continue}const P=o.length;_._children_backwards(u),o.length>P&&(h.push(_),m.push(P-1))}return!1}const lr=Symbol("abort walk");class Pn{constructor(e){this.visit=e,this.stack=[],this.directives=Object.create(null)}_visit(e,n){this.push(e);var o=this.visit(e,n?function(){n.call(e)}:hr);return!o&&n&&n.call(e),this.pop(),o}parent(e){return this.stack[this.stack.length-2-(e||0)]}push(e){e instanceof Ke?this.directives=Object.create(this.directives):e instanceof Qn&&!this.directives[e.value]?this.directives[e.value]=e:e instanceof _t&&(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 _t)&&(this.directives=Object.getPrototypeOf(this.directives))}self(){return this.stack[this.stack.length-1]}find_parent(e){for(var n=this.stack,o=n.length;--o>=0;){var u=n[o];if(u instanceof e)return u}}find_scope(){for(var e=this.stack,n=e.length;--n>=0;){const o=e[n];if(o instanceof zt||o instanceof Ke)return o;if(o.block_scope)return o.block_scope}}has_directive(e){var n=this.directives[e];if(n)return n;var o=this.stack[this.stack.length-1];if(o instanceof qe&&o.body)for(var u=0;u<o.body.length;++u){var h=o.body[u];if(!(h instanceof Qn))break;if(h.value==e)return h}}loopcontrol_target(e){var n=this.stack;if(e.label)for(var o=n.length;--o>=0;){var u=n[o];if(u instanceof Yn&&u.label.name==e.label.name)return u.body}else for(var o=n.length;--o>=0;){var u=n[o];if(u instanceof Lr||e instanceof xr&&u instanceof $n)return u}}}class fr extends Pn{constructor(e,n){super(),this.before=e,this.after=n}}const Rl=1,wl=2,So=4,ps=8,ds=16;function yt(t,e){t.DEFMETHOD("transform",function(n,o){let u;if(n.push(this),n.before&&(u=n.before(this,e,o)),u===void 0&&(u=this,e(u,n),n.after)){const h=n.after(u,o);h!==void 0&&(u=h)}return n.pop(),u})}yt(Te,hr),yt(Yn,function(t,e){t.label=t.label.transform(e),t.body=t.body.transform(e)}),yt(He,function(t,e){t.body=t.body.transform(e)}),yt(vn,function(t,e){t.body=Xt(t.body,e)}),yt(di,function(t,e){t.body=t.body.transform(e),t.condition=t.condition.transform(e)}),yt(Pi,function(t,e){t.condition=t.condition.transform(e),t.body=t.body.transform(e)}),yt(En,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)}),yt(Kn,function(t,e){t.init=t.init.transform(e),t.object=t.object.transform(e),t.body=t.body.transform(e)}),yt(pr,function(t,e){t.expression=t.expression.transform(e),t.body=t.body.transform(e)}),yt(ar,function(t,e){t.value&&(t.value=t.value.transform(e))}),yt(Wr,function(t,e){t.label&&(t.label=t.label.transform(e))}),yt(wt,function(t,e){t.condition=t.condition.transform(e),t.body=t.body.transform(e),t.alternative&&(t.alternative=t.alternative.transform(e))}),yt($n,function(t,e){t.expression=t.expression.transform(e),t.body=Xt(t.body,e)}),yt(Xr,function(t,e){t.expression=t.expression.transform(e),t.body=Xt(t.body,e)}),yt(mr,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))}),yt(qr,function(t,e){t.argname&&(t.argname=t.argname.transform(e)),t.body=Xt(t.body,e)}),yt(sn,function(t,e){t.definitions=Xt(t.definitions,e)}),yt(Mt,function(t,e){t.name=t.name.transform(e),t.value&&(t.value=t.value.transform(e))}),yt(Vt,function(t,e){t.names=Xt(t.names,e)}),yt(Ke,function(t,e){t.name&&(t.name=t.name.transform(e)),t.argnames=Xt(t.argnames,e,!1),t.body instanceof Te?t.body=t.body.transform(e):t.body=Xt(t.body,e)}),yt(je,function(t,e){t.expression=t.expression.transform(e),t.args=Xt(t.args,e,!1)}),yt(lt,function(t,e){const n=Xt(t.expressions,e);t.expressions=n.length?n:[new Je({value:0})]}),yt(Xe,function(t,e){t.expression=t.expression.transform(e)}),yt(Sn,function(t,e){t.expression=t.expression.transform(e),t.property=t.property.transform(e)}),yt(mn,function(t,e){t.expression=t.expression.transform(e)}),yt(yr,function(t,e){t.expression&&(t.expression=t.expression.transform(e))}),yt(dr,function(t,e){t.expression=t.expression.transform(e)}),yt(Wt,function(t,e){t.expression=t.expression.transform(e)}),yt(oe,function(t,e){t.left=t.left.transform(e),t.right=t.right.transform(e)}),yt(ti,function(t,e){t.key=t.key.transform(e),t.value=t.value.transform(e)}),yt(tt,function(t,e){t.condition=t.condition.transform(e),t.consequent=t.consequent.transform(e),t.alternative=t.alternative.transform(e)}),yt(St,function(t,e){t.elements=Xt(t.elements,e)}),yt(Nt,function(t,e){t.properties=Xt(t.properties,e)}),yt(un,function(t,e){t.key instanceof Te&&(t.key=t.key.transform(e)),t.value&&(t.value=t.value.transform(e))}),yt(_t,function(t,e){t.name&&(t.name=t.name.transform(e)),t.extends&&(t.extends=t.extends.transform(e)),t.properties=Xt(t.properties,e)}),yt(Wn,function(t,e){t.body=Xt(t.body,e)}),yt(ht,function(t,e){t.expression=t.expression.transform(e)}),yt(Zr,function(t,e){t.foreign_name=t.foreign_name.transform(e),t.name=t.name.transform(e)}),yt(Or,function(t,e){t.imported_name&&(t.imported_name=t.imported_name.transform(e)),t.imported_names&&Xt(t.imported_names,e),t.module_name=t.module_name.transform(e)}),yt(On,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&&Xt(t.exported_names,e),t.module_name&&(t.module_name=t.module_name.transform(e))}),yt(zn,function(t,e){t.segments=Xt(t.segments,e)}),yt(Br,function(t,e){t.prefix=t.prefix.transform(e),t.template_string=t.template_string.transform(e)}),function(){var t=function(b){for(var y=0;y<b.length;y++)if(b[y]instanceof Cn&&b[y].body instanceof dt)b[y]=new Qn({start:b[y].start,end:b[y].end,value:b[y].body.value});else return b;return b};const e=b=>b&&b.length>0?new Nt({start:u(b),end:h(b),properties:b.map(y=>new Yt({start:u(y),end:h(y),key:y.key.name||y.key.value,value:_(y.value)}))}):null;var n={Program:function(b){return new zt({start:u(b),end:h(b),body:t(b.body.map(_))})},ArrayPattern:function(b){return new Vt({start:u(b),end:h(b),names:b.elements.map(function(y){return y===null?new Cr:_(y)}),is_array:!0})},ObjectPattern:function(b){return new Vt({start:u(b),end:h(b),names:b.properties.map(_),is_array:!1})},AssignmentPattern:function(b){return new Dr({start:u(b),end:h(b),left:_(b.left),operator:"=",right:_(b.right)})},SpreadElement:function(b){return new ht({start:u(b),end:h(b),expression:_(b.argument)})},RestElement:function(b){return new ht({start:u(b),end:h(b),expression:_(b.argument)})},TemplateElement:function(b){return new yi({start:u(b),end:h(b),value:b.value.cooked,raw:b.value.raw})},TemplateLiteral:function(b){for(var y=[],g=0;g<b.quasis.length;g++)y.push(_(b.quasis[g])),b.expressions[g]&&y.push(_(b.expressions[g]));return new zn({start:u(b),end:h(b),segments:y})},TaggedTemplateExpression:function(b){return new Br({start:u(b),end:h(b),template_string:_(b.quasi),prefix:_(b.tag)})},FunctionDeclaration:function(b){return new Qt({start:u(b),end:h(b),name:_(b.id),argnames:b.params.map(_),is_generator:b.generator,async:b.async,body:t(_(b.body).body)})},FunctionExpression:function(b){return new Ft({start:u(b),end:h(b),name:_(b.id),argnames:b.params.map(_),is_generator:b.generator,async:b.async,body:t(_(b.body).body)})},ArrowFunctionExpression:function(b){const y=b.body.type==="BlockStatement"?_(b.body).body:[N(an,{},{value:_(b.body)})];return new qt({start:u(b),end:h(b),argnames:b.params.map(_),body:y,async:b.async})},ExpressionStatement:function(b){return new He({start:u(b),end:h(b),body:_(b.expression)})},TryStatement:function(b){var y=b.handlers||[b.handler];if(y.length>1||b.guardedHandlers&&b.guardedHandlers.length)throw new Error("Multiple catch clauses are not supported.");return new mr({start:u(b),end:h(b),body:new Du(_(b.block)),bcatch:_(y[0]),bfinally:b.finalizer?new Ko(_(b.finalizer)):null})},Property:function(b){var y=b.key,g={start:u(y||b.value),end:h(b.value),key:y.type=="Identifier"?y.name:y.value,value:_(b.value)};if(b.computed&&(g.key=_(b.key)),b.method)return g.is_generator=b.value.generator,g.async=b.value.async,b.computed?g.key=_(b.key):g.key=new Ln({name:g.key}),new Fn(g);if(b.kind=="init")return y.type!="Identifier"&&y.type!="Literal"&&(g.key=_(y)),new Yt(g);if((typeof g.key=="string"||typeof g.key=="number")&&(g.key=new Ln({name:g.key})),g.value=new Ii(g.value),b.kind=="get")return new Vr(g);if(b.kind=="set")return new ei(g);if(b.kind=="method")return g.async=b.value.async,g.is_generator=b.value.generator,g.quote=b.computed?'"':null,new Fn(g)},MethodDefinition:function(b){const y=b.key.type==="PrivateIdentifier",g=b.computed?_(b.key):new Ln({name:b.key.name||b.key.value});var D={start:u(b),end:h(b),key:g,value:_(b.value),static:b.static};return b.kind=="get"?new(y?Qr:Vr)(D):b.kind=="set"?new(y?mi:ei)(D):(D.is_generator=b.value.generator,D.async=b.value.async,new(y?_i:Fn)(D))},FieldDefinition:function(b){let y;if(b.computed)y=_(b.key);else{if(b.key.type!=="Identifier")throw new Error("Non-Identifier key in FieldDefinition");y=_(b.key)}return new sr({start:u(b),end:h(b),key:y,value:_(b.value),static:b.static})},PropertyDefinition:function(b){let y;if(b.computed)y=_(b.key);else{if(b.key.type==="PrivateIdentifier")return new gi({start:u(b),end:h(b),key:_(b.key),value:_(b.value),static:b.static});if(b.key.type!=="Identifier")throw new Error("Non-Identifier key in PropertyDefinition");y=_(b.key)}return new sr({start:u(b),end:h(b),key:y,value:_(b.value),static:b.static})},PrivateIdentifier:function(b){return new fs({start:u(b),end:h(b),name:b.name})},StaticBlock:function(b){return new Wn({start:u(b),end:h(b),body:b.body.map(_)})},ArrayExpression:function(b){return new St({start:u(b),end:h(b),elements:b.elements.map(function(y){return y===null?new Cr:_(y)})})},ObjectExpression:function(b){return new Nt({start:u(b),end:h(b),properties:b.properties.map(function(y){return y.type==="SpreadElement"||(y.type="Property"),_(y)})})},SequenceExpression:function(b){return new lt({start:u(b),end:h(b),expressions:b.expressions.map(_)})},MemberExpression:function(b){return b.property.type==="PrivateIdentifier"?new Ur({start:u(b),end:h(b),property:b.property.name,expression:_(b.object),optional:b.optional||!1}):new(b.computed?Sn:$t)({start:u(b),end:h(b),property:b.computed?_(b.property):b.property.name,expression:_(b.object),optional:b.optional||!1})},ChainExpression:function(b){return new mn({start:u(b),end:h(b),expression:_(b.expression)})},SwitchCase:function(b){return new(b.test?Xr:bo)({start:u(b),end:h(b),expression:_(b.test),body:b.consequent.map(_)})},VariableDeclaration:function(b){return new(b.kind==="const"?Jr:b.kind==="let"?Yr:kn)({start:u(b),end:h(b),definitions:b.declarations.map(_)})},ImportDeclaration:function(b){var y=null,g=null;return b.specifiers.forEach(function(D){D.type==="ImportSpecifier"||D.type==="ImportNamespaceSpecifier"?(g||(g=[]),g.push(_(D))):D.type==="ImportDefaultSpecifier"&&(y=_(D))}),new Or({start:u(b),end:h(b),imported_name:y,imported_names:g,module_name:_(b.source),assert_clause:e(b.assertions)})},ImportSpecifier:function(b){return new Zr({start:u(b),end:h(b),foreign_name:_(b.imported),name:_(b.local)})},ImportDefaultSpecifier:function(b){return _(b.local)},ImportNamespaceSpecifier:function(b){return new Zr({start:u(b),end:h(b),foreign_name:new vo({name:"*"}),name:_(b.local)})},ExportAllDeclaration:function(b){var y=b.exported==null?new Ei({name:"*"}):_(b.exported);return new On({start:u(b),end:h(b),exported_names:[new Zr({name:new Ei({name:"*"}),foreign_name:y})],module_name:_(b.source),assert_clause:e(b.assertions)})},ExportNamedDeclaration:function(b){return new On({start:u(b),end:h(b),exported_definition:_(b.declaration),exported_names:b.specifiers&&b.specifiers.length?b.specifiers.map(_):null,module_name:_(b.source),assert_clause:e(b.assertions)})},ExportDefaultDeclaration:function(b){return new On({start:u(b),end:h(b),exported_value:_(b.declaration),is_default:!0})},ExportSpecifier:function(b){return new Zr({foreign_name:_(b.exported),name:_(b.local)})},Literal:function(b){var y=b.value,g={start:u(b),end:h(b)},D=b.regex;if(D&&D.pattern)return g.value={source:D.pattern,flags:D.flags},new ur(g);if(D){const O=b.raw||y,U=O.match(/^\/(.*)\/(\w*)$/);if(!U)throw new Error("Invalid regex source "+O);const[X,ue,K]=U;return g.value={source:ue,flags:K},new ur(g)}if(y===null)return new cr(g);switch(typeof y){case"string":g.quote='"';var R=m[m.length-2];return R.type=="ImportSpecifier"?(g.name=y,new vo(g)):R.type=="ExportSpecifier"?(g.name=y,b==R.exported?new Ei(g):new Eo(g)):R.type=="ExportAllDeclaration"&&b==R.exported?(g.name=y,new Ei(g)):(g.value=y,new dt(g));case"number":return g.value=y,g.raw=b.raw||y.toString(),new Je(g);case"boolean":return new(y?_r:ji)(g)}},MetaProperty:function(b){if(b.meta.name==="new"&&b.property.name==="target")return new zo({start:u(b),end:h(b)});if(b.meta.name==="import"&&b.property.name==="meta")return new Mi({start:u(b),end:h(b)})},Identifier:function(b){var y=m[m.length-2];return new(y.type=="LabeledStatement"?ls:y.type=="VariableDeclarator"&&y.id===b?y.kind=="const"?to:y.kind=="let"?$o:Bi:/Import.*Specifier/.test(y.type)?y.local===b?Wo:vo:y.type=="ExportSpecifier"?y.local===b?Eo:Ei:y.type=="FunctionExpression"?y.id===b?ni:wn:y.type=="FunctionDeclaration"?y.id===b?vi:wn:y.type=="ArrowFunctionExpression"?y.params.includes(b)?wn:Se:y.type=="ClassExpression"?y.id===b?ku:Se:y.type=="Property"?y.key===b&&y.computed||y.value===b?Se:Ln:y.type=="PropertyDefinition"||y.type==="FieldDefinition"?y.key===b&&y.computed||y.value===b?Se:Vi:y.type=="ClassDeclaration"?y.id===b?Cu:Se:y.type=="MethodDefinition"?y.computed?Se:Ln:y.type=="CatchClause"?Hr:y.type=="BreakStatement"||y.type=="ContinueStatement"?kl:Se)({start:u(b),end:h(b),name:b.name})},BigIntLiteral(b){return new ri({start:u(b),end:h(b),value:b.value})},EmptyStatement:function(b){return new Rt({start:u(b),end:h(b)})},BlockStatement:function(b){return new Ye({start:u(b),end:h(b),body:b.body.map(_)})},IfStatement:function(b){return new wt({start:u(b),end:h(b),condition:_(b.test),body:_(b.consequent),alternative:_(b.alternate)})},LabeledStatement:function(b){return new Yn({start:u(b),end:h(b),label:_(b.label),body:_(b.body)})},BreakStatement:function(b){return new xr({start:u(b),end:h(b),label:_(b.label)})},ContinueStatement:function(b){return new eo({start:u(b),end:h(b),label:_(b.label)})},WithStatement:function(b){return new pr({start:u(b),end:h(b),expression:_(b.object),body:_(b.body)})},SwitchStatement:function(b){return new $n({start:u(b),end:h(b),expression:_(b.discriminant),body:b.cases.map(_)})},ReturnStatement:function(b){return new an({start:u(b),end:h(b),value:_(b.argument)})},ThrowStatement:function(b){return new cs({start:u(b),end:h(b),value:_(b.argument)})},WhileStatement:function(b){return new Pi({start:u(b),end:h(b),condition:_(b.test),body:_(b.body)})},DoWhileStatement:function(b){return new di({start:u(b),end:h(b),condition:_(b.test),body:_(b.body)})},ForStatement:function(b){return new En({start:u(b),end:h(b),init:_(b.init),condition:_(b.test),step:_(b.update),body:_(b.body)})},ForInStatement:function(b){return new Kn({start:u(b),end:h(b),init:_(b.left),object:_(b.right),body:_(b.body)})},ForOfStatement:function(b){return new go({start:u(b),end:h(b),init:_(b.left),object:_(b.right),body:_(b.body),await:b.await})},AwaitExpression:function(b){return new dr({start:u(b),end:h(b),expression:_(b.argument)})},YieldExpression:function(b){return new yr({start:u(b),end:h(b),expression:_(b.argument),is_star:b.delegate})},DebuggerStatement:function(b){return new Ni({start:u(b),end:h(b)})},VariableDeclarator:function(b){return new Mt({start:u(b),end:h(b),name:_(b.id),value:_(b.init)})},CatchClause:function(b){return new qr({start:u(b),end:h(b),argname:_(b.param),body:_(b.body).body})},ThisExpression:function(b){return new Bn({start:u(b),end:h(b)})},Super:function(b){return new Xo({start:u(b),end:h(b)})},BinaryExpression:function(b){return b.left.type==="PrivateIdentifier"?new ti({start:u(b),end:h(b),key:new fs({start:u(b.left),end:h(b.left),name:b.left.name}),value:_(b.right)}):new oe({start:u(b),end:h(b),operator:b.operator,left:_(b.left),right:_(b.right)})},LogicalExpression:function(b){return new oe({start:u(b),end:h(b),operator:b.operator,left:_(b.left),right:_(b.right)})},AssignmentExpression:function(b){return new st({start:u(b),end:h(b),operator:b.operator,left:_(b.left),right:_(b.right)})},ConditionalExpression:function(b){return new tt({start:u(b),end:h(b),condition:_(b.test),consequent:_(b.consequent),alternative:_(b.alternate)})},NewExpression:function(b){return new er({start:u(b),end:h(b),expression:_(b.callee),args:b.arguments.map(_)})},CallExpression:function(b){return new je({start:u(b),end:h(b),expression:_(b.callee),optional:b.optional,args:b.arguments.map(_)})}};n.UpdateExpression=n.UnaryExpression=function(y){var g="prefix"in y?y.prefix:y.type=="UnaryExpression";return new(g?We:Li)({start:u(y),end:h(y),operator:y.operator,expression:_(y.argument)})},n.ClassDeclaration=n.ClassExpression=function(y){return new(y.type==="ClassDeclaration"?jr:bi)({start:u(y),end:h(y),name:_(y.id),extends:_(y.superClass),properties:y.body.body.map(_)})},x(Rt,function(){return{type:"EmptyStatement"}}),x(Ye,function(y){return{type:"BlockStatement",body:y.body.map(A)}}),x(wt,function(y){return{type:"IfStatement",test:A(y.condition),consequent:A(y.body),alternate:A(y.alternative)}}),x(Yn,function(y){return{type:"LabeledStatement",label:A(y.label),body:A(y.body)}}),x(xr,function(y){return{type:"BreakStatement",label:A(y.label)}}),x(eo,function(y){return{type:"ContinueStatement",label:A(y.label)}}),x(pr,function(y){return{type:"WithStatement",object:A(y.expression),body:A(y.body)}}),x($n,function(y){return{type:"SwitchStatement",discriminant:A(y.expression),cases:y.body.map(A)}}),x(an,function(y){return{type:"ReturnStatement",argument:A(y.value)}}),x(cs,function(y){return{type:"ThrowStatement",argument:A(y.value)}}),x(Pi,function(y){return{type:"WhileStatement",test:A(y.condition),body:A(y.body)}}),x(di,function(y){return{type:"DoWhileStatement",test:A(y.condition),body:A(y.body)}}),x(En,function(y){return{type:"ForStatement",init:A(y.init),test:A(y.condition),update:A(y.step),body:A(y.body)}}),x(Kn,function(y){return{type:"ForInStatement",left:A(y.init),right:A(y.object),body:A(y.body)}}),x(go,function(y){return{type:"ForOfStatement",left:A(y.init),right:A(y.object),body:A(y.body),await:y.await}}),x(dr,function(y){return{type:"AwaitExpression",argument:A(y.expression)}}),x(yr,function(y){return{type:"YieldExpression",argument:A(y.expression),delegate:y.is_star}}),x(Ni,function(){return{type:"DebuggerStatement"}}),x(Mt,function(y){return{type:"VariableDeclarator",id:A(y.name),init:A(y.value)}}),x(qr,function(y){return{type:"CatchClause",param:A(y.argname),body:$(y)}}),x(Bn,function(){return{type:"ThisExpression"}}),x(Xo,function(){return{type:"Super"}}),x(oe,function(y){return{type:"BinaryExpression",operator:y.operator,left:A(y.left),right:A(y.right)}}),x(oe,function(y){return{type:"LogicalExpression",operator:y.operator,left:A(y.left),right:A(y.right)}}),x(st,function(y){return{type:"AssignmentExpression",operator:y.operator,left:A(y.left),right:A(y.right)}}),x(tt,function(y){return{type:"ConditionalExpression",test:A(y.condition),consequent:A(y.consequent),alternate:A(y.alternative)}}),x(er,function(y){return{type:"NewExpression",callee:A(y.expression),arguments:y.args.map(A)}}),x(je,function(y){return{type:"CallExpression",callee:A(y.expression),optional:y.optional,arguments:y.args.map(A)}}),x(zt,function(y){return V("Program",y)}),x(ht,function(y){return{type:F()?"RestElement":"SpreadElement",argument:A(y.expression)}}),x(Br,function(y){return{type:"TaggedTemplateExpression",tag:A(y.prefix),quasi:A(y.template_string)}}),x(zn,function(y){for(var g=[],D=[],R=0;R<y.segments.length;R++)R%2!==0?D.push(A(y.segments[R])):g.push({type:"TemplateElement",value:{raw:y.segments[R].raw,cooked:y.segments[R].value},tail:R===y.segments.length-1});return{type:"TemplateLiteral",quasis:g,expressions:D}}),x(Qt,function(y){return{type:"FunctionDeclaration",id:A(y.name),params:y.argnames.map(A),generator:y.is_generator,async:y.async,body:V("BlockStatement",y)}}),x(Ft,function(y,g){var D=g.is_generator!==void 0?g.is_generator:y.is_generator;return{type:"FunctionExpression",id:A(y.name),params:y.argnames.map(A),generator:D,async:y.async,body:V("BlockStatement",y)}}),x(qt,function(y){var g={type:"BlockStatement",body:y.body.map(A)};return{type:"ArrowFunctionExpression",params:y.argnames.map(A),async:y.async,body:g}}),x(Vt,function(y){return y.is_array?{type:"ArrayPattern",elements:y.names.map(A)}:{type:"ObjectPattern",properties:y.names.map(A)}}),x(Qn,function(y){return{type:"ExpressionStatement",expression:{type:"Literal",value:y.value,raw:y.print_to_string()},directive:y.value}}),x(He,function(y){return{type:"ExpressionStatement",expression:A(y.body)}}),x(Fi,function(y){return{type:"SwitchCase",test:A(y.expression),consequent:y.body.map(A)}}),x(mr,function(y){return{type:"TryStatement",block:$(y.body),handler:A(y.bcatch),guardedHandlers:[],finalizer:A(y.bfinally)}}),x(qr,function(y){return{type:"CatchClause",param:A(y.argname),guard:null,body:$(y)}}),x(sn,function(y){return{type:"VariableDeclaration",kind:y instanceof Jr?"const":y instanceof Yr?"let":"var",declarations:y.definitions.map(A)}});const o=b=>{const y=[];if(b)for(const{key:g,value:D}of b.properties){const R=Su(g)?{type:"Identifier",name:g}:{type:"Literal",value:g,raw:JSON.stringify(g)};y.push({type:"ImportAttribute",key:R,value:A(D)})}return y};x(On,function(y){if(y.exported_names){var g=y.exported_names[0],D=g.name;if(D.name==="*"&&!D.quote){var R=g.foreign_name,O=R.name==="*"&&!R.quote?null:A(R);return{type:"ExportAllDeclaration",source:A(y.module_name),exported:O,assertions:o(y.assert_clause)}}return{type:"ExportNamedDeclaration",specifiers:y.exported_names.map(function(U){return{type:"ExportSpecifier",exported:A(U.foreign_name),local:A(U.name)}}),declaration:A(y.exported_definition),source:A(y.module_name),assertions:o(y.assert_clause)}}return{type:y.is_default?"ExportDefaultDeclaration":"ExportNamedDeclaration",declaration:A(y.exported_value||y.exported_definition)}}),x(Or,function(y){var g=[];if(y.imported_name&&g.push({type:"ImportDefaultSpecifier",local:A(y.imported_name)}),y.imported_names){var D=y.imported_names[0].foreign_name;D.name==="*"&&!D.quote?g.push({type:"ImportNamespaceSpecifier",local:A(y.imported_names[0].name)}):y.imported_names.forEach(function(R){g.push({type:"ImportSpecifier",local:A(R.name),imported:A(R.foreign_name)})})}return{type:"ImportDeclaration",specifiers:g,source:A(y.module_name),assertions:o(y.assert_clause)}}),x(Mi,function(){return{type:"MetaProperty",meta:{type:"Identifier",name:"import"},property:{type:"Identifier",name:"meta"}}}),x(lt,function(y){return{type:"SequenceExpression",expressions:y.expressions.map(A)}}),x(Ur,function(y){return{type:"MemberExpression",object:A(y.expression),computed:!1,property:{type:"PrivateIdentifier",name:y.property},optional:y.optional}}),x(Xe,function(y){var g=y instanceof Sn;return{type:"MemberExpression",object:A(y.expression),computed:g,property:g?A(y.property):{type:"Identifier",name:y.property},optional:y.optional}}),x(mn,function(y){return{type:"ChainExpression",expression:A(y.expression)}}),x(Wt,function(y){return{type:y.operator=="++"||y.operator=="--"?"UpdateExpression":"UnaryExpression",operator:y.operator,prefix:y instanceof We,argument:A(y.expression)}}),x(oe,function(y){return y.operator=="="&&F()?{type:"AssignmentPattern",left:A(y.left),right:A(y.right)}:{type:y.operator=="&&"||y.operator=="||"||y.operator==="??"?"LogicalExpression":"BinaryExpression",left:A(y.left),operator:y.operator,right:A(y.right)}}),x(ti,function(y){return{type:"BinaryExpression",left:{type:"PrivateIdentifier",name:y.key.name},operator:"in",right:A(y.value)}}),x(St,function(y){return{type:"ArrayExpression",elements:y.elements.map(A)}}),x(Nt,function(y){return{type:"ObjectExpression",properties:y.properties.map(A)}}),x(un,function(y,g){var D=y.key instanceof Te?A(y.key):{type:"Identifier",value:y.key};typeof y.key=="number"&&(D={type:"Literal",value:Number(y.key)}),typeof y.key=="string"&&(D={type:"Identifier",name:y.key});var R,O=typeof y.key=="string"||typeof y.key=="number",U=O?!1:!(y.key instanceof pt)||y.key instanceof Se;return y instanceof Yt?(R="init",U=!O):y instanceof Vr?R="get":y instanceof ei&&(R="set"),y instanceof Qr||y instanceof mi?{type:"MethodDefinition",computed:!1,kind:y instanceof Qr?"get":"set",static:y.static,key:{type:"PrivateIdentifier",name:y.key.name},value:A(y.value)}:y instanceof gi?{type:"PropertyDefinition",key:{type:"PrivateIdentifier",name:y.key.name},value:A(y.value),computed:!1,static:y.static}:y instanceof sr?{type:"PropertyDefinition",key:D,value:A(y.value),computed:U,static:y.static}:g instanceof _t?{type:"MethodDefinition",computed:U,kind:R,static:y.static,key:A(y.key),value:A(y.value)}:{type:"Property",computed:U,kind:R,key:D,value:A(y.value)}}),x(Fn,function(y,g){if(g instanceof Nt)return{type:"Property",computed:!(y.key instanceof pt)||y.key instanceof Se,kind:"init",method:!0,shorthand:!1,key:A(y.key),value:A(y.value)};const D=y instanceof _i?{type:"PrivateIdentifier",name:y.key.name}:A(y.key);return{type:"MethodDefinition",kind:y.key==="constructor"?"constructor":"method",key:D,value:A(y.value),computed:!(y.key instanceof pt)||y.key instanceof Se,static:y.static}}),x(_t,function(y){var g=y instanceof bi?"ClassExpression":"ClassDeclaration";return{type:g,superClass:A(y.extends),id:y.name?A(y.name):null,body:{type:"ClassBody",body:y.properties.map(A)}}}),x(Wn,function(y){return{type:"StaticBlock",body:y.body.map(A)}}),x(zo,function(){return{type:"MetaProperty",meta:{type:"Identifier",name:"new"},property:{type:"Identifier",name:"target"}}}),x(pt,function(y,g){if(y instanceof Ln&&g.quote||(y instanceof vo||y instanceof Ei||y instanceof Eo)&&y.quote)return{type:"Literal",value:y.name};var D=y.definition();return{type:"Identifier",name:D?D.mangled_name||D.name:y.name}}),x(ur,function(y){const g=y.value.source,D=y.value.flags;return{type:"Literal",value:null,raw:y.print_to_string(),regex:{pattern:g,flags:D}}}),x(Tt,function(y){var g=y.value;return{type:"Literal",value:g,raw:y.raw||y.print_to_string()}}),x(no,function(y){return{type:"Identifier",name:String(y.value)}}),x(ri,b=>({type:"BigIntLiteral",value:b.value})),Ru.DEFMETHOD("to_mozilla_ast",Tt.prototype.to_mozilla_ast),cr.DEFMETHOD("to_mozilla_ast",Tt.prototype.to_mozilla_ast),Cr.DEFMETHOD("to_mozilla_ast",function(){return null}),vn.DEFMETHOD("to_mozilla_ast",Ye.prototype.to_mozilla_ast),Ke.DEFMETHOD("to_mozilla_ast",Ft.prototype.to_mozilla_ast);function u(b){var y=b.loc,g=y&&y.start,D=b.range;return new Dl("","",g&&g.line||0,g&&g.column||0,D?D[0]:b.start,!1,[],[],y&&y.source)}function h(b){var y=b.loc,g=y&&y.end,D=b.range;return new Dl("","",g&&g.line||0,g&&g.column||0,D?D[0]:b.end,!1,[],[],y&&y.source)}var m=null;function _(b){m.push(b);var y=b!=null?n[b.type](b):null;return m.pop(),y}Te.from_mozilla_ast=function(b){var y=m;m=[];var g=_(b);return m=y,g};function T(b,y){var g=b.start,D=b.end;return g&&D&&(g.pos!=null&&D.endpos!=null&&(y.range=[g.pos,D.endpos]),g.line&&(y.loc={start:{line:g.line,column:g.col},end:D.endline?{line:D.endline,column:D.endcol}:null},g.file&&(y.loc.source=g.file))),y}function x(b,y){b.DEFMETHOD("to_mozilla_ast",function(g){return T(this,y(this,g))})}var P=null;function A(b){P===null&&(P=[]),P.push(b);var y=b!=null?b.to_mozilla_ast(P[P.length-2]):null;return P.pop(),P.length===0&&(P=null),y}function F(){for(var b=P.length;b--;)if(P[b]instanceof Vt)return!0;return!1}function $(b){return{type:"BlockStatement",body:b.body.map(A)}}function V(b,y){var g=y.body.map(A);return y.body[0]instanceof He&&y.body[0].body instanceof dt&&g.unshift(A(new Rt(y.body[0]))),{type:b,body:g}}}();function ii(t){let e=t.parent(-1);for(let n=0,o;o=t.parent(n);n++){if(o instanceof Cn&&o.body===e)return!0;if(o instanceof lt&&o.expressions[0]===e||o.TYPE==="Call"&&o.expression===e||o instanceof Br&&o.prefix===e||o instanceof $t&&o.expression===e||o instanceof Sn&&o.expression===e||o instanceof mn&&o.expression===e||o instanceof tt&&o.condition===e||o instanceof oe&&o.left===e||o instanceof Li&&o.expression===e)e=o;else return!1}}function Hi(t){return t instanceof Nt?!0:t instanceof lt?Hi(t.expressions[0]):t.TYPE==="Call"?Hi(t.expression):t instanceof Br?Hi(t.prefix):t instanceof $t||t instanceof Sn||t instanceof mn?Hi(t.expression):t instanceof tt?Hi(t.condition):t instanceof oe?Hi(t.left):t instanceof Li?Hi(t.expression):!1}const Jp=10,Zp=32,Qp=/[@#]__(PURE|INLINE|NOINLINE)__/;function d_(t){return(t.type==="comment2"||t.type==="comment1")&&/@preserve|@copyright|@lic|@cc_on|^\**!/i.test(t.value)}const y_=8*1e3;class m_{constructor(){this.committed="",this.current=""}append(e){this.current.length>y_?(this.committed+=this.current+e,this.current=""):this.current+=e}insertAt(e,n){const{committed:o,current:u}=this;n<o.length?this.committed=o.slice(0,n)+e+o.slice(n):n===o.length?this.committed+=e:(n-=o.length,this.committed+=u.slice(0,n)+e,this.current=u.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==Zp||e==Jp););return!e||e===59||e===123}hasNLB(){let e=this.length()-1;for(;e>=0;){const n=this.charCodeAt(e--);if(n===Jp)return!0;if(n!==Zp)return!1}return!0}toString(){return this.committed+this.current}}function Nl(t){var e=!t;t=pi(t,{ascii_only:!1,beautify:!1,braces:!1,comments:"some",ecma:5,ie8:!1,indent_level:4,indent_start:0,inline_script:!0,keep_numbers:!1,keep_quoted_props:!1,max_line_len:!1,preamble:null,preserve_annotations:!1,quote_keys:!1,quote_style:0,safari10:!1,semicolons:!0,shebang:!0,shorthand:void 0,source_map:null,webkit:!1,width:80,wrap_iife:!1,wrap_func_args:!0,_destroy_ast:!1},!0),t.shorthand===void 0&&(t.shorthand=t.ecma>5);var n=vt;if(t.comments){let ie=t.comments;if(typeof t.comments=="string"&&/^\/.*\/[a-zA-Z]*$/.test(t.comments)){var o=t.comments.lastIndexOf("/");ie=new RegExp(t.comments.substr(1,o-1),t.comments.substr(o+1))}ie instanceof RegExp?n=function(De){return De.type!="comment5"&&ie.test(De.value)}:typeof ie=="function"?n=function(De){return De.type!="comment5"&&ie(this,De)}:ie==="some"?n=d_:n=Jn}if(t.preserve_annotations){let ie=n;n=function(De){return Qp.test(De.value)||ie.apply(this,arguments)}}var u=0,h=0,m=1,_=0,T=new m_;let x=new Set;var P=t.ascii_only?function(ie,De=!1,pe=!1){return t.ecma>=2015&&!t.safari10&&!pe&&(ie=ie.replace(/[\ud800-\udbff][\udc00-\udfff]/g,function(bt){var xt=a_(bt,0).toString(16);return"\\u{"+xt+"}"})),ie.replace(/[\u0000-\u001f\u007f-\uffff]/g,function(bt){var xt=bt.charCodeAt(0).toString(16);if(xt.length<=2&&!De){for(;xt.length<2;)xt="0"+xt;return"\\x"+xt}else{for(;xt.length<4;)xt="0"+xt;return"\\u"+xt}})}:function(ie){return ie.replace(/[\ud800-\udbff][\udc00-\udfff]|([\ud800-\udbff]|[\udc00-\udfff])/g,function(De,pe){return pe?"\\u"+pe.charCodeAt(0).toString(16):De})};function A(ie,De){var pe=0,bt=0;ie=ie.replace(/[\\\b\f\n\r\v\t\x22\x27\u2028\u2029\0\ufeff]/g,function(Zt,pn){switch(Zt){case'"':return++pe,'"';case"'":return++bt,"'";case"\\":return"\\\\";case`
81
+ `),u.regex_allowed=J,Ue}),Q=_e("Unterminated identifier name",function(){var J=[],ne,ae=!1,Ee=function(){return ae=!0,_(),h()!=="u"&&D("Expecting UnicodeEscapeSequence -- uXXXX or u{XXXX}"),U(!1,!0)};if((ne=h())==="\\")ne=Ee(),xl(ne)||D("First identifier char is an invalid identifier char");else if(xl(ne))_();else return"";for(J.push(ne);(ne=h())!=null;){if((ne=h())==="\\")ne=Ee(),Eu(ne)||D("Invalid escaped identifier char");else{if(!Eu(ne))break;_()}J.push(ne)}const me=J.join("");return as.has(me)&&ae&&D("Escaped characters are not allowed in keywords"),me}),de=_e("Unterminated regular expression",function(J){for(var ne=!1,ae,Ee=!1;ae=_(!0);)if(Tl.has(ae))D("Unexpected line terminator");else if(ne)/^[\u0000-\u007F]$/.test(ae)?J+="\\"+ae:J+=ae,ne=!1;else if(ae=="[")Ee=!0,J+=ae;else if(ae=="]"&&Ee)Ee=!1,J+=ae;else{if(ae=="/"&&!Ee)break;ae=="\\"?ne=!0:J+=ae}const me=Q();return b("regexp","/"+J+"/"+me)});function ye(J){function ne(ae){if(!h())return ae;var Ee=ae+h();return Up.has(Ee)?(_(),ne(Ee)):ae}return b("operator",ne(J||_()))}function te(){switch(_(),h()){case"/":return _(),G("comment1");case"*":return _(),ce()}return u.regex_allowed?de(""):ye("/")}function he(){return _(),h()===">"?(_(),b("arrow","=>")):ye("=")}function le(){return _(),Vp(h().charCodeAt(0))?R("."):h()==="."?(_(),_(),b("expand","...")):b("punc",".")}function Ae(){var J=Q();return $?b("name",J):_u.has(J)?b("atom",J):mu.has(J)?Up.has(J)?b("operator",J):b("keyword",J):b("name",J)}function we(){return _(),b("privatename",Q())}function _e(J,ne){return function(ae){try{return ne(ae)}catch(Ee){if(Ee===Ol)D(J);else throw Ee}}}function Ue(J){if(J!=null)return de(J);for(o&&u.pos==0&&x("#!")&&(F(),T(2),G("comment5"));;){if(y(),F(),n){if(x("<!--")){T(4),G("comment3");continue}if(x("-->")&&u.newline_before){T(3),G("comment4");continue}}var ne=h();if(!ne)return b("eof");var ae=ne.charCodeAt(0);switch(ae){case 34:case 39:return K();case 46:return le();case 47:{var Ee=te();if(Ee===Ue)continue;return Ee}case 61:return he();case 63:{if(!m())break;return _(),_(),b("punc","?.")}case 96:return Y(!0);case 123:u.brace_counter++;break;case 125:if(u.brace_counter--,u.template_braces.length>0&&u.template_braces[u.template_braces.length-1]===u.brace_counter)return Y(!1);break}if(Vp(ae))return R();if(o_.has(ne))return b("punc",_());if(Ym.has(ne))return ye();if(ae==92||xl(ne))return Ae();if(ae==35)return we();break}D("Unexpected character '"+ne+"'")}return Ue.next=_,Ue.peek=h,Ue.context=function(J){return J&&(u=J),u},Ue.add_directive=function(J){u.directive_stack[u.directive_stack.length-1].push(J),u.directives[J]===void 0?u.directives[J]=1:u.directives[J]++},Ue.push_directives_stack=function(){u.directive_stack.push([])},Ue.pop_directives_stack=function(){for(var J=u.directive_stack[u.directive_stack.length-1],ne=0;ne<J.length;ne++)u.directives[J[ne]]--;u.directive_stack.pop()},Ue.has_directive=function(J){return u.directives[J]>0},Ue}var l_=Ot(["typeof","void","delete","--","++","!","~","-","+"]),zp=Ot(["--","++"]),f_=Ot(["=","+=","-=","??=","&&=","||=","/=","*=","**=","%=",">>=","<<=",">>>=","|=","^=","&="]),h_=Ot(["??=","&&=","||="]),Ar=function(t,e){for(var n=0;n<t.length;++n)for(const o of t[n])e[o]=n+1;return e}([["||"],["??"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]],{}),p_=Ot(["atom","num","big_int","string","regexp","name"]);function ss(t,e){const n=new WeakMap;e=pi(e,{bare_returns:!1,ecma:null,expression:!1,filename:null,html5_comments:!0,module:!1,shebang:!0,strict:!1,toplevel:null},!0);var o={input:typeof t=="string"?c_(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:[]};o.token=m();function u(C,j){return or(o.token,C,j)}function h(){return o.peeked||(o.peeked=o.input())}function m(){return o.prev=o.token,o.peeked||h(),o.token=o.peeked,o.peeked=null,o.in_directives=o.in_directives&&(o.token.type=="string"||u("punc",";")),o.token}function _(){return o.prev}function T(C,j,z,Z){var re=o.input.context();Tu(C,re.filename,j??re.tokline,z??re.tokcol,Z??re.tokpos)}function x(C,j){T(j,C.line,C.col)}function P(C){C==null&&(C=o.token),x(C,"Unexpected token: "+C.type+" ("+C.value+")")}function A(C,j){if(u(C,j))return m();x(o.token,"Unexpected token "+o.token.type+" «"+o.token.value+"», expected "+C+" «"+j+"»")}function F(C){return A("punc",C)}function $(C){return C.nlb||!C.comments_before.every(j=>!j.nlb)}function V(){return!e.strict&&(u("eof")||u("punc","}")||$(o.token))}function b(){return o.in_generator===o.in_function}function y(){return o.in_async===o.in_function}function g(){return o.in_async===o.in_function||o.in_function===0&&o.input.has_directive("use strict")}function D(C){u("punc",";")?m():!C&&!V()&&P()}function R(){F("(");var C=mt(!0);return F(")"),C}function O(C){return function(...z){const Z=o.token,re=C(...z);return re.start=Z,re.end=_(),re}}function U(){(u("operator","/")||u("operator","/="))&&(o.peeked=null,o.token=o.input(o.token.value.substr(1)))}var X=O(function C(j,z,Z){switch(U(),o.token.type){case"string":if(o.in_directives){var re=h();!yu.includes("\\")&&(or(re,"punc",";")||or(re,"punc","}")||$(re)||or(re,"eof"))?o.input.add_directive(o.token.value):o.in_directives=!1}var Fe=o.in_directives,Ie=K();return Fe&&Ie.body instanceof dt?new Qn(Ie.body):Ie;case"template_head":case"num":case"big_int":case"regexp":case"operator":case"atom":return K();case"name":case"privatename":if(u("privatename")&&!o.in_class&&T("Private field must be used in an enclosing class"),o.token.value=="async"&&or(h(),"keyword","function"))return m(),m(),z&&T("functions are not allowed as the body of a loop"),te(Qt,!1,!0,j);if(o.token.value=="import"&&!or(h(),"punc","(")&&!or(h(),"punc",".")){m();var rt=ln();return D(),rt}return or(h(),"punc",":")?ue():K();case"punc":switch(o.token.value){case"{":return new Ye({start:o.token,body:Ee(),end:_()});case"[":case"(":return K();case";":return o.in_directives=!1,m(),new Rt;default:P()}case"keyword":switch(o.token.value){case"break":return m(),Y(xr);case"continue":return m(),Y(eo);case"debugger":return m(),D(),new Ni;case"do":m();var Gt=nr(C);A("keyword","while");var on=R();return D(!0),new di({body:Gt,condition:on});case"while":return m(),new Pi({condition:R(),body:nr(function(){return C(!1,!0)})});case"for":return m(),G();case"class":return m(),z&&T("classes are not allowed as the body of a loop"),Z&&T("classes are not allowed as the body of an if"),Zt(Hr,j);case"function":return m(),z&&T("functions are not allowed as the body of a loop"),te(Qt,!1,!1,j);case"if":return m(),ae();case"return":o.in_function==0&&!e.bare_returns&&T("'return' outside of function"),m();var bn=null;return u("punc",";")?m():V()||(bn=mt(!0),D()),new an({value:bn});case"switch":return m(),new $n({expression:R(),body:nr(me)});case"throw":m(),$(o.token)&&T("Illegal newline after 'throw'");var bn=mt(!0);return D(),new cs({value:bn});case"try":return m(),At();case"var":m();var rt=Et();return D(),rt;case"let":m();var rt=Lt();return D(),rt;case"const":m();var rt=gt();return D(),rt;case"with":return o.input.has_directive("use strict")&&T("Strict mode may not include a with statement"),m(),new pr({expression:R(),body:C()});case"export":if(!or(h(),"punc","(")){m();var rt=Le();return u("punc",";")&&D(),rt}}}P()});function ue(){var C=Tn(ls);C.name==="await"&&y()&&x(o.prev,"await cannot be used as label inside async function"),o.labels.some(z=>z.name===C.name)&&T("Label "+C.name+" defined twice"),F(":"),o.labels.push(C);var j=X();return o.labels.pop(),j instanceof Br||C.references.forEach(function(z){z instanceof eo&&(z=z.label.start,T("Continue label `"+C.name+"` refers to non-IterationStatement.",z.line,z.col,z.pos))}),new Yn({body:j,label:C})}function K(C){return new He({body:(C=mt(!0),D(),C)})}function Y(C){var j=null,z;V()||(j=Tn(kl,!0)),j!=null?(z=o.labels.find(re=>re.name===j.name),z||T("Undefined label "+j.name),j.thedef=z):o.in_loop==0&&T(C.TYPE+" not inside a loop or switch"),D();var Z=new C({label:j});return z&&z.references.push(Z),Z}function G(){var C="`for await` invalid in this context",j=o.token;j.type=="name"&&j.value=="await"?(g()||x(j,C),m()):j=!1,F("(");var z=null;if(u("punc",";"))j&&x(j,C);else{z=u("keyword","var")?(m(),Et(!0)):u("keyword","let")?(m(),Lt(!0)):u("keyword","const")?(m(),gt(!0)):mt(!0,!0);var Z=u("operator","in"),re=u("name","of");if(j&&!re&&x(j,C),Z||re)return z instanceof sn?z.definitions.length>1&&x(z.start,"Only one variable declaration allowed in for..in loop"):zi(z)||(z=Rr(z))instanceof Vt||x(z.start,"Invalid left-hand side in for..in loop"),m(),Z?de(z):Q(z,!!j)}return ce(z)}function ce(C){F(";");var j=u("punc",";")?null:mt(!0);F(";");var z=u("punc",")")?null:mt(!0);return F(")"),new En({init:C,condition:j,step:z,body:nr(function(){return X(!1,!0)})})}function Q(C,j){var z=C instanceof sn?C.definitions[0].name:null,Z=mt(!0);return F(")"),new go({await:j,init:C,name:z,object:Z,body:nr(function(){return X(!1,!0)})})}function de(C){var j=mt(!0);return F(")"),new Kn({init:C,object:j,body:nr(function(){return X(!1,!0)})})}var ye=function(C,j,z){$(o.token)&&T("Unexpected newline before arrow (=>)"),A("arrow","=>");var Z=Ue(u("punc","{"),!1,z),re=Z instanceof Array&&Z.length?Z[Z.length-1].end:Z instanceof Array?C:Z.end;return new qt({start:C,end:re,async:z,argnames:j,body:Z})},te=function(C,j,z,Z){var re=C===Qt,Fe=u("operator","*");Fe&&m();var Ie=u("name")?Tn(re?vi:ni):null;re&&!Ie&&(Z?C=Ft:P()),Ie&&C!==Ii&&!(Ie instanceof Rn)&&P(_());var rt=[],Gt=Ue(!0,Fe||j,z,Ie,rt);return new C({start:rt.start,end:Gt.end,is_generator:Fe,async:z,name:Ie,argnames:rt,body:Gt})};class he{constructor(j,z,Z=!1){this.is_parameter=j,this.duplicates_ok=Z,this.parameters=new Set,this.duplicate=null,this.default_assignment=!1,this.spread=!1,this.strict_mode=!!z}add_parameter(j){if(this.parameters.has(j.value))this.duplicate===null&&(this.duplicate=j),this.check_strict();else if(this.parameters.add(j.value),this.is_parameter)switch(j.value){case"arguments":case"eval":case"yield":this.strict_mode&&x(j,"Unexpected "+j.value+" identifier as parameter inside strict mode");break;default:as.has(j.value)&&P()}}mark_default_assignment(j){this.default_assignment===!1&&(this.default_assignment=j)}mark_spread(j){this.spread===!1&&(this.spread=j)}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&&x(this.duplicate,"Parameter "+this.duplicate.value+" was used already")}}function le(C){var j=new he(!0,o.input.has_directive("use strict"));for(F("(");!u("punc",")");){var z=Ae(j);if(C.push(z),u("punc",")")||F(","),z instanceof ht)break}m()}function Ae(C,j){var z,Z=!1;return C===void 0&&(C=new he(!0,o.input.has_directive("use strict"))),u("expand","...")&&(Z=o.token,C.mark_spread(o.token),m()),z=we(C,j),u("operator","=")&&Z===!1&&(C.mark_default_assignment(o.token),m(),z=new Dr({start:z.start,left:z,operator:"=",right:mt(!1),end:o.token})),Z!==!1&&(u("punc",")")||P(),z=new ht({start:Z,expression:z,end:Z})),C.check_strict(),z}function we(C,j){var z=[],Z=!0,re=!1,Fe,Ie=o.token;if(C===void 0){const wr=o.input.has_directive("use strict"),Bt=j===Bi;C=new he(!1,wr,Bt)}if(j=j===void 0?wn:j,u("punc","[")){for(m();!u("punc","]");){if(Z?Z=!1:F(","),u("expand","...")&&(re=!0,Fe=o.token,C.mark_spread(o.token),m()),u("punc"))switch(o.token.value){case",":z.push(new Cr({start:o.token,end:o.token}));continue;case"]":break;case"[":case"{":z.push(we(C,j));break;default:P()}else u("name")?(C.add_parameter(o.token),z.push(Tn(j))):T("Invalid function parameter");u("operator","=")&&re===!1&&(C.mark_default_assignment(o.token),m(),z[z.length-1]=new Dr({start:z[z.length-1].start,left:z[z.length-1],operator:"=",right:mt(!1),end:o.token})),re&&(u("punc","]")||T("Rest element must be last element"),z[z.length-1]=new ht({start:Fe,expression:z[z.length-1],end:Fe}))}return F("]"),C.check_strict(),new Vt({start:Ie,names:z,is_array:!0,end:_()})}else if(u("punc","{")){for(m();!u("punc","}");){if(Z?Z=!1:F(","),u("expand","...")&&(re=!0,Fe=o.token,C.mark_spread(o.token),m()),u("name")&&(or(h(),"punc")||or(h(),"operator"))&&[",","}","="].includes(h().value)){C.add_parameter(o.token);var rt=_(),Gt=Tn(j);re?z.push(new ht({start:Fe,expression:Gt,end:Gt.end})):z.push(new Yt({start:rt,key:Gt.name,value:Gt,end:Gt.end}))}else{if(u("punc","}"))continue;var on=o.token,bn=ut();bn===null?P(_()):_().type==="name"&&!u("punc",":")?z.push(new Yt({start:_(),key:bn,value:new j({start:_(),name:bn,end:_()}),end:_()})):(F(":"),z.push(new Yt({start:on,quote:on.quote,key:bn,value:we(C,j),end:_()})))}re?u("punc","}")||T("Rest element must be last element"):u("operator","=")&&(C.mark_default_assignment(o.token),m(),z[z.length-1].value=new Dr({start:z[z.length-1].value.start,left:z[z.length-1].value,operator:"=",right:mt(!1),end:o.token}))}return F("}"),C.check_strict(),new Vt({start:Ie,names:z,is_array:!1,end:_()})}else{if(u("name"))return C.add_parameter(o.token),Tn(j);T("Invalid function parameter")}}function _e(C,j){var z,Z,re,Fe=[];for(F("(");!u("punc",")");)z&&P(z),u("expand","...")?(z=o.token,j&&(Z=o.token),m(),Fe.push(new ht({start:_(),expression:mt(),end:o.token}))):Fe.push(mt()),u("punc",")")||(F(","),u("punc",")")&&(re=_(),j&&(Z=re)));return F(")"),C&&u("arrow","=>")?z&&re&&P(re):Z&&P(Z),Fe}function Ue(C,j,z,Z,re){var Fe=o.in_loop,Ie=o.labels,rt=o.in_generator,Gt=o.in_async;if(++o.in_function,j&&(o.in_generator=o.in_function),z&&(o.in_async=o.in_function),re&&le(re),C&&(o.in_directives=!0),o.in_loop=0,o.labels=[],C){o.input.push_directives_stack();var on=Ee();Z&&gn(Z),re&&re.forEach(gn),o.input.pop_directives_stack()}else var on=[new an({start:o.token,value:mt(!1),end:o.token})];return--o.in_function,o.in_loop=Fe,o.labels=Ie,o.in_generator=rt,o.in_async=Gt,on}function J(){return g()||T("Unexpected await expression outside async function",o.prev.line,o.prev.col,o.prev.pos),new dr({start:_(),end:o.token,expression:Ti(!0)})}function ne(){b()||T("Unexpected yield expression outside generator function",o.prev.line,o.prev.col,o.prev.pos);var C=o.token,j=!1,z=!0;return V()||u("punc")&&r_.has(o.token.value)?z=!1:u("operator","*")&&(j=!0,m()),new yr({start:C,is_star:j,expression:z?mt():null,end:_()})}function ae(){var C=R(),j=X(!1,!1,!0),z=null;return u("keyword","else")&&(m(),z=X(!1,!1,!0)),new wt({condition:C,body:j,alternative:z})}function Ee(){F("{");for(var C=[];!u("punc","}");)u("eof")&&P(),C.push(X());return m(),C}function me(){F("{");for(var C=[],j=null,z=null,Z;!u("punc","}");)u("eof")&&P(),u("keyword","case")?(z&&(z.end=_()),j=[],z=new Xr({start:(Z=o.token,m(),Z),expression:mt(!0),body:j}),C.push(z),F(":")):u("keyword","default")?(z&&(z.end=_()),j=[],z=new bo({start:(Z=o.token,m(),F(":"),Z),body:j}),C.push(z)):(j||P(),j.push(X()));return z&&(z.end=_()),m(),C}function At(){var C,j=null,z=null;if(C=new Du({start:o.token,body:Ee(),end:_()}),u("keyword","catch")){var Z=o.token;if(m(),u("punc","{"))var re=null;else{F("(");var re=Ae(void 0,Gr);F(")")}j=new qr({start:Z,argname:re,body:Ee(),end:_()})}if(u("keyword","finally")){var Z=o.token;m(),z=new Ko({start:Z,body:Ee(),end:_()})}return!j&&!z&&T("Missing catch/finally blocks"),new mr({body:C,bcatch:j,bfinally:z})}function jt(C,j){for(var z=[],Z;;){var re=j==="var"?Bi:j==="const"?to:j==="let"?$o:null;if(u("punc","{")||u("punc","[")?Z=new Mt({start:o.token,name:we(void 0,re),value:u("operator","=")?(A("operator","="),mt(!1,C)):null,end:_()}):(Z=new Mt({start:o.token,name:Tn(re),value:u("operator","=")?(m(),mt(!1,C)):!C&&j==="const"?T("Missing initializer in const declaration"):null,end:_()}),Z.name.name=="import"&&T("Unexpected token: import")),z.push(Z),!u("punc",","))break;m()}return z}var Et=function(C){return new kn({start:_(),definitions:jt(C,"var"),end:_()})},Lt=function(C){return new Yr({start:_(),definitions:jt(C,"let"),end:_()})},gt=function(C){return new Jr({start:_(),definitions:jt(C,"const"),end:_()})},Dt=function(C){var j=o.token;if(A("operator","new"),u("punc","."))return m(),A("name","target"),fn(new zo({start:j,end:_()}),C);var z=De(!1),Z;u("punc","(")?(m(),Z=bt(")",!0)):Z=[];var re=new er({start:j,expression:z,args:Z,end:_()});return In(re),fn(re,C)};function Jt(){var C=o.token,j;switch(C.type){case"name":j=ft(Se);break;case"num":j=new Je({start:C,end:C,value:C.value,raw:yu});break;case"big_int":j=new ri({start:C,end:C,value:C.value});break;case"string":j=new dt({start:C,end:C,value:C.value,quote:C.quote}),In(j);break;case"regexp":const[z,Z,re]=C.value.match(/^\/(.*)\/(\w*)$/);j=new ur({start:C,end:C,value:{source:Z,flags:re}});break;case"atom":switch(C.value){case"false":j=new ji({start:C,end:C});break;case"true":j=new _r({start:C,end:C});break;case"null":j=new cr({start:C,end:C});break}break}return m(),j}function ie(C,j){var z=function(Z,re){return re?new Dr({start:Z.start,left:Z,operator:"=",right:re,end:re.end}):Z};if(C instanceof Nt)return z(new Vt({start:C.start,end:C.end,is_array:!1,names:C.properties.map(Z=>ie(Z))}),j);if(C instanceof Yt)return C.value=ie(C.value),z(C,j);if(C instanceof Cr)return C;if(C instanceof Vt)return C.names=C.names.map(Z=>ie(Z)),z(C,j);if(C instanceof Se)return z(new wn({name:C.name,start:C.start,end:C.end}),j);if(C instanceof ht)return C.expression=ie(C.expression),z(C,j);if(C instanceof St)return z(new Vt({start:C.start,end:C.end,is_array:!0,names:C.elements.map(Z=>ie(Z))}),j);if(C instanceof st)return z(ie(C.left,C.right),j);if(C instanceof Dr)return C.left=ie(C.left),C;T("Invalid function parameter",C.start.line,C.start.col)}var De=function(C,j){if(u("operator","new"))return Dt(C);if(u("name","import")&&or(h(),"punc","."))return Si(C);var z=o.token,Z,re=u("name","async")&&(Z=h()).value!="["&&Z.type!="arrow"&&Jt();if(u("punc")){switch(o.token.value){case"(":if(re&&!C)break;var Fe=_e(j,!re);if(j&&u("arrow","=>"))return ye(z,Fe.map(Bt=>ie(Bt)),!!re);var Ie=re?new je({expression:re,args:Fe}):No(z,Fe);if(Ie.start){const Bt=z.comments_before.length;if(n.set(z,Bt),Ie.start.comments_before.unshift(...z.comments_before),z.comments_before=Ie.start.comments_before,Bt==0&&z.comments_before.length>0){var rt=z.comments_before[0];rt.nlb||(rt.nlb=z.nlb,z.nlb=!1)}z.comments_after=Ie.start.comments_after}Ie.start=z;var Gt=_();return Ie.end&&(Gt.comments_before=Ie.end.comments_before,Ie.end.comments_after.push(...Gt.comments_after),Gt.comments_after=Ie.end.comments_after),Ie.end=Gt,Ie instanceof je&&In(Ie),fn(Ie,C);case"[":return fn(xt(),C);case"{":return fn(Mn(),C)}re||P()}if(j&&u("name")&&or(h(),"arrow")){var on=new wn({name:o.token.value,start:z,end:z});return m(),ye(z,[on],!!re)}if(u("keyword","function")){m();var bn=te(Ft,!1,!!re);return bn.start=z,bn.end=_(),fn(bn,C)}if(re)return fn(re,C);if(u("keyword","class")){m();var wr=Zt(bi);return wr.start=z,wr.end=_(),fn(wr,C)}if(u("template_head"))return fn(pe(),C);if(p_.has(o.token.type))return fn(Jt(),C);P()};function pe(){var C=[],j=o.token;for(C.push(new yi({start:o.token,raw:os.get(o.token),value:o.token.value,end:o.token}));!o.token.template_end;)m(),U(),C.push(mt(!0)),C.push(new yi({start:o.token,raw:os.get(o.token),value:o.token.value,end:o.token}));return m(),new zn({start:j,segments:C,end:o.token})}function bt(C,j,z){for(var Z=!0,re=[];!u("punc",C)&&(Z?Z=!1:F(","),!(j&&u("punc",C)));)u("punc",",")&&z?re.push(new Cr({start:o.token,end:o.token})):u("expand","...")?(m(),re.push(new ht({start:_(),expression:mt(),end:o.token}))):re.push(mt(!1));return m(),re}var xt=O(function(){return F("["),new St({elements:bt("]",!e.strict,!0)})}),Ct=O((C,j)=>te(Ii,C,j)),Mn=O(function(){var j=o.token,z=!0,Z=[];for(F("{");!u("punc","}")&&(z?z=!1:F(","),!(!e.strict&&u("punc","}")));){if(j=o.token,j.type=="expand"){m(),Z.push(new ht({start:j,expression:mt(!1),end:_()}));continue}u("privatename")&&T("private fields are not allowed in an object");var re=ut(),Fe;if(u("punc",":"))re===null?P(_()):(m(),Fe=mt(!1));else{var Ie=pn(re,j);if(Ie){Z.push(Ie);continue}Fe=new Se({start:_(),name:re,end:_()})}u("operator","=")&&(m(),Fe=new st({start:j,left:Fe,operator:"=",right:mt(!1),logical:!1,end:_()}));const rt=new Yt({start:j,quote:j.quote,key:re instanceof Te?re:""+re,value:Fe,end:_()});Z.push(In(rt))}return m(),new Nt({properties:Z})});function Zt(C,j){var z,Z,re,Fe,Ie=[];o.input.push_directives_stack(),o.input.add_directive("use strict"),o.token.type=="name"&&o.token.value!="extends"&&(re=Tn(C===Hr?Cu:ku)),C===Hr&&!re&&(j?C=bi:P()),o.token.value=="extends"&&(m(),Fe=mt(!0)),F("{");const rt=o.in_class;for(o.in_class=!0;u("punc",";");)m();for(;!u("punc","}");)for(z=o.token,Z=pn(ut(),z,!0),Z||P(),Ie.push(Z);u("punc",";");)m();return o.in_class=rt,o.input.pop_directives_stack(),m(),new C({start:z,name:re,extends:Fe,properties:Ie,end:_()})}function pn(C,j,z){const Z=(Bt,zr=Ln)=>typeof Bt=="string"||typeof Bt=="number"?new zr({start:j,name:""+Bt,end:_()}):(Bt===null&&P(),Bt),re=()=>!u("punc","(")&&!u("punc",",")&&!u("punc","}")&&!u("punc",";")&&!u("operator","=");var Fe=!1,Ie=!1,rt=!1,Gt=!1,on=null;if(z&&C==="static"&&re()){const Bt=Ht();if(Bt!=null)return Bt;Ie=!0,C=ut()}C==="async"&&re()&&(Fe=!0,C=ut()),_().type==="operator"&&_().value==="*"&&(rt=!0,C=ut()),(C==="get"||C==="set")&&re()&&(on=C,C=ut()),_().type==="privatename"&&(Gt=!0);const bn=_();if(on!=null)if(Gt){const Bt=on==="get"?Qr:mi;return In(new Bt({start:j,static:Ie,key:Z(C),value:Ct(),end:_()}))}else{const Bt=on==="get"?jr:ei;return C=Z(C),In(new Bt({start:j,static:Ie,key:C,quote:C instanceof Ln?bn.quote:void 0,value:Ct(),end:_()}))}if(u("punc","(")){C=Z(C);const Bt=Gt?_i:Fn;var wr=new Bt({start:j,static:Ie,is_generator:rt,async:Fe,key:C,quote:C instanceof Ln?bn.quote:void 0,value:Ct(rt,Fe),end:_()});return In(wr)}if(z){const Bt=Z(C,Vi),zr=Bt instanceof Vi?bn.quote:void 0,Er=Gt?gi:sr;if(u("operator","="))return m(),In(new Er({start:j,static:Ie,quote:zr,key:Bt,value:mt(!1),end:_()}));if(u("name")||u("privatename")||u("operator","*")||u("punc",";")||u("punc","}"))return In(new Er({start:j,static:Ie,quote:zr,key:Bt,end:_()}))}}function Ht(){if(!u("punc","{"))return null;const C=o.token,j=[];for(m();!u("punc","}");)j.push(X());return m(),new Wn({start:C,body:j,end:_()})}function It(){return u("name","assert")&&!$(o.token)?(m(),Mn()):null}function ln(){var C=_(),j,z;u("name")&&(j=Tn(Wo)),u("punc",",")&&m(),z=Be(!0),(z||j)&&A("name","from");var Z=o.token;Z.type!=="string"&&P(),m();const re=It();return new Or({start:C,imported_name:j,imported_names:z,module_name:new dt({start:Z,value:Z.value,quote:Z.quote,end:Z}),assert_clause:re,end:o.token})}function Si(C){var j=o.token;return A("name","import"),A("punc","."),A("name","meta"),fn(new Mi({start:j,end:_()}),C)}function L(C){function j(rt,Gt){return new rt({name:ut(),quote:Gt||void 0,start:_(),end:_()})}var z=C?vo:Ei,Z=C?Wo:Eo,re=o.token,Fe,Ie;return C?Fe=j(z,re.quote):Ie=j(Z,re.quote),u("name","as")?(m(),C?Ie=j(Z):Fe=j(z,o.token.quote)):C?Ie=new Z(Fe):Fe=new z(Ie),new Zr({start:re,foreign_name:Fe,name:Ie,end:_()})}function ke(C,j){var z=C?vo:Ei,Z=C?Wo:Eo,re=o.token,Fe,Ie,rt=_();return C?Fe=j:Ie=j,Fe=Fe||new Z({start:re,name:"*",end:rt}),Ie=Ie||new z({start:re,name:"*",end:rt}),new Zr({start:re,foreign_name:Ie,name:Fe,end:rt})}function Be(C){var j;if(u("punc","{")){for(m(),j=[];!u("punc","}");)j.push(L(C)),u("punc",",")&&m();m()}else if(u("operator","*")){var z;m(),u("name","as")&&(m(),z=C?Tn(Wo):ui(Ei)),j=[ke(C,z)]}return j}function Le(){var C=o.token,j,z;if(u("keyword","default"))j=!0,m();else if(z=Be(!1))if(u("name","from")){m();var Z=o.token;Z.type!=="string"&&P(),m();const rt=It();return new On({start:C,is_default:j,exported_names:z,module_name:new dt({start:Z,value:Z.value,quote:Z.quote,end:Z}),end:_(),assert_clause:rt})}else return new On({start:C,is_default:j,exported_names:z,end:_()});var re,Fe,Ie;return u("punc","{")||j&&(u("keyword","class")||u("keyword","function"))&&or(h(),"punc")?(Fe=mt(!1),D()):(re=X(j))instanceof sn&&j?P(re.start):re instanceof sn||re instanceof Qt||re instanceof Hr?Ie=re:re instanceof bi||re instanceof Ft?Fe=re:re instanceof He?Fe=re.body:P(re.start),new On({start:C,is_default:j,exported_value:Fe,exported_definition:Ie,end:_(),assert_clause:null})}function ut(){var C=o.token;switch(C.type){case"punc":if(C.value==="["){m();var j=mt(!1);return F("]"),j}else P(C);case"operator":if(C.value==="*")return m(),null;["delete","in","instanceof","new","typeof","void"].includes(C.value)||P(C);case"name":case"privatename":case"string":case"num":case"big_int":case"keyword":case"atom":return m(),C.value;default:P(C)}}function rn(){var C=o.token;return C.type!="name"&&C.type!="privatename"&&P(),m(),C.value}function ft(C){var j=o.token.value;return new(j=="this"?Bn:j=="super"?Xo:C)({name:String(j),start:o.token,end:o.token})}function gn(C){var j=C.name;b()&&j=="yield"&&x(C.start,"Yield cannot be used as identifier inside generators"),o.input.has_directive("use strict")&&(j=="yield"&&x(C.start,"Unexpected yield identifier inside strict mode"),C instanceof Rn&&(j=="arguments"||j=="eval")&&x(C.start,"Unexpected "+j+" in strict mode"))}function Tn(C,j){if(!u("name"))return j||T("Name expected"),null;var z=ft(C);return gn(z),m(),z}function ui(C){if(!u("name")){u("string")||T("Name or string expected");var j=o.token,z=new C({start:j,end:j,name:j.value,quote:j.quote});return m(),z}var Z=ft(C);return gn(Z),m(),Z}function In(C,j=C.start){var z=j.comments_before;const Z=n.get(j);for(var re=Z??z.length;--re>=0;){var Fe=z[re];if(/[@#]__/.test(Fe.value)){if(/[@#]__PURE__/.test(Fe.value)){is(C,Rl);break}if(/[@#]__INLINE__/.test(Fe.value)){is(C,wl);break}if(/[@#]__NOINLINE__/.test(Fe.value)){is(C,So);break}if(/[@#]__KEY__/.test(Fe.value)){is(C,ps);break}if(/[@#]__MANGLE_PROP__/.test(Fe.value)){is(C,ds);break}}}return C}var fn=function(C,j,z){var Z=C.start;if(u("punc",".")){m(),u("privatename")&&!o.in_class&&T("Private field must be used in an enclosing class");const Ie=u("privatename")?Vr:$t;return In(fn(new Ie({start:Z,expression:C,optional:!1,property:rn(),end:_()}),j,z))}if(u("punc","[")){m();var re=mt(!0);return F("]"),In(fn(new Sn({start:Z,expression:C,optional:!1,property:re,end:_()}),j,z))}if(j&&u("punc","(")){m();var Fe=new je({start:Z,expression:C,optional:!1,args:so(),end:_()});return In(Fe),fn(Fe,!0,z)}if(u("punc","?.")){m();let Ie;if(j&&u("punc","(")){m();const rt=new je({start:Z,optional:!0,expression:C,args:so(),end:_()});In(rt),Ie=fn(rt,!0,!0)}else if(u("name")||u("privatename")){u("privatename")&&!o.in_class&&T("Private field must be used in an enclosing class");const rt=u("privatename")?Vr:$t;Ie=In(fn(new rt({start:Z,expression:C,optional:!0,property:rn(),end:_()}),j,!0))}else if(u("punc","[")){m();const rt=mt(!0);F("]"),Ie=In(fn(new Sn({start:Z,expression:C,optional:!0,property:rt,end:_()}),j,!0))}return Ie||P(),Ie instanceof mn?Ie:new mn({start:Z,expression:Ie,end:_()})}return u("template_head")?(z&&P(),fn(new Ur({start:Z,prefix:C,template_string:pe(),end:_()}),j)):C};function so(){for(var C=[];!u("punc",")");)u("expand","...")?(m(),C.push(new ht({start:_(),expression:mt(!1),end:_()}))):C.push(mt(!1)),u("punc",")")||F(",");return m(),C}var Ti=function(C,j){var z=o.token;if(z.type=="name"&&z.value=="await"&&g())return m(),J();if(u("operator")&&l_.has(z.value)){m(),U();var Z=uo(We,z,Ti(C));return Z.start=z,Z.end=_(),Z}for(var re=De(C,j);u("operator")&&zp.has(o.token.value)&&!$(o.token);)re instanceof qt&&P(),re=uo(Li,o.token,re),re.start=z,re.end=o.token,m();return re};function uo(C,j,z){var Z=j.value;switch(Z){case"++":case"--":zi(z)||T("Invalid use of "+Z+" operator",j.line,j.col,j.pos);break;case"delete":z instanceof Se&&o.input.has_directive("use strict")&&T("Calling delete on expression not allowed in strict mode",z.start.line,z.start.col,z.start.pos);break}return new C({operator:Z,expression:z})}var vr=function(C,j,z){var Z=u("operator")?o.token.value:null;Z=="in"&&z&&(Z=null),Z=="**"&&C instanceof We&&!or(C.start,"punc","(")&&C.operator!=="--"&&C.operator!=="++"&&P(C.start);var re=Z!=null?Ar[Z]:null;if(re!=null&&(re>j||Z==="**"&&j===re)){m();var Fe=Kr(z,re,!0);return vr(new oe({start:C.start,left:C,operator:Z,right:Fe,end:Fe.end}),j,z)}return C};function Kr(C,j,z,Z){if(!C&&j<Ar.in&&u("privatename")){o.in_class||T("Private field must be used in an enclosing class");const re=o.token,Fe=new fs({start:re,name:re.value,end:re});m(),A("operator","in");const Ie=new ti({start:re,key:Fe,value:Kr(C,Ar.in,!0),end:_()});return vr(Ie,0,C)}else return vr(Ti(z,Z),j,C)}var wo=function(C){var j=o.token,z=Kr(C,0,!0,!0);if(u("operator","?")){m();var Z=mt(!1);return F(":"),new tt({start:j,condition:z,consequent:Z,alternative:mt(!1,C),end:_()})}return z};function zi(C){return C instanceof Xe||C instanceof Se}function Rr(C){if(C instanceof Nt)C=new Vt({start:C.start,names:C.properties.map(Rr),is_array:!1,end:C.end});else if(C instanceof St){for(var j=[],z=0;z<C.elements.length;z++)C.elements[z]instanceof ht&&(z+1!==C.elements.length&&x(C.elements[z].start,"Spread must the be last element in destructuring array"),C.elements[z].expression=Rr(C.elements[z].expression)),j.push(Rr(C.elements[z]));C=new Vt({start:C.start,names:j,is_array:!0,end:C.end})}else C instanceof un?C.value=Rr(C.value):C instanceof st&&(C=new Dr({start:C.start,left:C.left,operator:"=",right:C.right,end:C.end}));return C}var ci=function(C){U();var j=o.token;if(j.type=="name"&&j.value=="yield"){if(b())return m(),ne();o.input.has_directive("use strict")&&x(o.token,"Unexpected yield identifier inside strict mode")}var z=wo(C),Z=o.token.value;if(u("operator")&&f_.has(Z)){if(zi(z)||(z=Rr(z))instanceof Vt)return m(),new st({start:j,left:z,operator:Z,right:ci(C),logical:h_.has(Z),end:_()});T("Invalid assignment")}return z},No=function(C,j){if(j.length===1)return j[0];if(j.length>1)return new lt({start:C,expressions:j,end:h()});T("Invalid parenthesized expression")},mt=function(C,j){for(var z=o.token,Z=[];Z.push(ci(j)),!(!C||!u("punc",","));)m(),C=!0;return No(z,Z)};function nr(C){++o.in_loop;var j=C();return--o.in_loop,j}return e.expression?mt(!0):function(){var j=o.token,z=[];for(o.input.push_directives_stack(),e.module&&o.input.add_directive("use strict");!u("eof");)z.push(X());o.input.pop_directives_stack();var Z=_(),re=e.toplevel;return re?(re.body=re.body.concat(z),re.end=Z):re=new zt({start:j,body:z,end:Z}),os=new Map,re}()}function fe(t,e,n,o,u=Te){e?e=e.split(/\s+/):e=[];var h=e;u&&u.PROPS&&(e=e.concat(u.PROPS));const m=u&&Object.create(u.prototype);if(m&&(n.prototype=m,n.BASE=u),u&&u.SUBCLASSES.push(n),n.prototype.CTOR=n,n.prototype.constructor=n,n.PROPS=e||null,n.SELF_PROPS=h,n.SUBCLASSES=[],t&&(n.prototype.TYPE=n.TYPE=t),o)for(let _ in o)Zn(o,_)&&(_[0]==="$"?n[_.substr(1)]=o[_]:n.prototype[_]=o[_]);return n.DEFMETHOD=function(_,T){this.prototype[_]=T},n}const Au=(t,e)=>!!(t.flags&e),xu=(t,e,n)=>{n?t.flags|=e:t.flags&=~e},$p=1,Wp=2,Xp=4,qp=8;class Dl{constructor(e,n,o,u,h,m,_,T,x){this.flags=m?1:0,this.type=e,this.value=n,this.line=o,this.col=u,this.pos=h,this.comments_before=_,this.comments_after=T,this.file=x,Object.seal(this)}[Symbol.for("nodejs.util.inspect.custom")](e,n){const o=m=>n.stylize(m,"special"),u=typeof this.value=="string"&&this.value.includes("`")?"'":"`",h=`${u}${this.value}${u}`;return`${o("[AST_Token")} ${h} at ${this.line}:${this.col}${o("]")}`}get nlb(){return Au(this,$p)}set nlb(e){xu(this,$p,e)}get quote(){return Au(this,Xp)?Au(this,Wp)?"'":'"':""}set quote(e){xu(this,Wp,e==="'"),xu(this,Xp,!!e)}get template_end(){return Au(this,qp)}set template_end(e){xu(this,qp,e)}}var Te=fe("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 fr(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),Cn=fe("Statement",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class of all statements"}),Ni=fe("Debugger",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Represents a debugger statement"},Cn),Qn=fe("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"}},Cn),He=fe("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)}},Cn);function mo(t,e){const n=t.body;for(var o=0,u=n.length;o<u;o++)n[o]._walk(e)}function Cl(t){var e=this._clone(t);return this.block_scope&&(e.block_scope=this.block_scope.clone()),e}var vn=fe("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(){mo(this,t)})},_children_backwards(t){let e=this.body.length;for(;e--;)t(this.body[e])},clone:Cl},Cn),Ye=fe("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"},vn),Rt=fe("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)"},Cn),_o=fe("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"}},Cn),Yn=fe("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,o=this.label;e.walk(new Pn(function(u){u instanceof Wr&&u.label&&u.label.thedef===o&&(u.label.thedef=n,n.references.push(u))}))}return e}},_o),Br=fe("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:Cl},_o),Ou=fe("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"}},Br),di=fe("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)}},Ou),Pi=fe("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)}},Ou),En=fe("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)}},Br),Kn=fe("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)}},Br),go=fe("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"},Kn),pr=fe("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)}},_o),qe=fe("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}},vn),zt=fe("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=ss(n),n=n.transform(new fr(function(o){if(o instanceof Qn&&o.value=="$ORIG")return Xt.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 ss(["(function(",t.slice(0,e),'){"$ORIG"})(',t.slice(e+1),")"].join("")).transform(new fr(function(o){if(o instanceof Qn&&o.value=="$ORIG")return Xt.splice(n)}))}},qe),ht=fe("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=fe("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 Vt?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,o=e.length;n<o;n++)e[n]._walk(t);mo(this,t)})},_children_backwards(t){let e=this.body.length;for(;e--;)t(this.body[e]);for(e=this.argnames.length;e--;)t(this.argnames[e]);this.name&&t(this.name)},is_braceless(){return this.body[0]instanceof an&&this.body[0].value},length_property(){let t=0;for(const e of this.argnames)(e instanceof wn||e instanceof Vt)&&t++;return t}},qe),Ii=fe("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),Ft=fe("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),qt=fe("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),Qt=fe("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),Vt=fe("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 Nn(this,e=>{if(e instanceof Rn&&t.push(e),e instanceof Ke)return!0}),t}}),Ur=fe("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=fe("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])}}),yi=fe("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"}}),us=fe("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`)"},Cn),ar=fe("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)}},us),an=fe("Return",null,function(e){e&&(this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `return` statement"},ar),cs=fe("Throw",null,function(e){e&&(this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `throw` statement"},ar),Wr=fe("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)}},us),xr=fe("Break",null,function(e){e&&(this.label=e.label,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `break` statement"},Wr),eo=fe("Continue",null,function(e){e&&(this.label=e.label,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `continue` statement"},Wr),dr=fe("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)}}),yr=fe("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)}}),wt=fe("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)}},_o),$n=fe("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),mo(this,t)})},_children_backwards(t){let e=this.body.length;for(;e--;)t(this.body[e]);t(this.expression)}},vn),Fi=fe("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"},vn),bo=fe("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"},Fi),Xr=fe("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),mo(this,t)})},_children_backwards(t){let e=this.body.length;for(;e--;)t(this.body[e]);t(this.expression)}},Fi),mr=fe("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)}},Cn),Du=fe("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"},vn),qr=fe("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),mo(this,t)})},_children_backwards(t){let e=this.body.length;for(;e--;)t(this.body[e]);this.argname&&t(this.argname)}},vn),Ko=fe("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"},vn),sn=fe("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,o=e.length;n<o;n++)e[n]._walk(t)})},_children_backwards(t){let e=this.definitions.length;for(;e--;)t(this.definitions[e])}},Cn),kn=fe("Var",null,function(e){e&&(this.definitions=e.definitions,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `var` statement"},sn),Yr=fe("Let",null,function(e){e&&(this.definitions=e.definitions,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `let` statement"},sn),Jr=fe("Const",null,function(e){e&&(this.definitions=e.definitions,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A `const` statement"},sn),Mt=fe("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 Rn?[this]:this.name.all_symbols()}}),Zr=fe("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)}}),Or=fe("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)}}),Mi=fe("ImportMeta",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A reference to import.meta"}),On=fe("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)}},Cn),je=fe("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,o=e.length;n<o;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)}}),er=fe("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"},je),lt=fe("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=fe("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 ?.)"}}),$t=fe("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),Vr=fe("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),Sn=fe("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),mn=fe("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)}}),Wt=fe("Unary","operator expression",function(e){e&&(this.operator=e.operator,this.expression=e.expression,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for unary expressions",$propdoc:{operator:"[string] the operator",expression:"[AST_Node] expression that this unary operator applies to"},_walk:function(t){return t._visit(this,function(){this.expression._walk(t)})},_children_backwards(t){t(this.expression)}}),We=fe("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`"},Wt),Li=fe("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++`"},Wt),oe=fe("Binary","operator left right",function(e){e&&(this.operator=e.operator,this.left=e.left,this.right=e.right,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Binary expression, i.e. `a + b`",$propdoc:{left:"[AST_Node] left-hand side expression",operator:"[string] the operator",right:"[AST_Node] right-hand side expression"},_walk:function(t){return t._visit(this,function(){this.left._walk(t),this.right._walk(t)})},_children_backwards(t){t(this.right),t(this.left)}}),tt=fe("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)}}),st=fe("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"}},oe),Dr=fe("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`"},oe),St=fe("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,o=e.length;n<o;n++)e[n]._walk(t)})},_children_backwards(t){let e=this.elements.length;for(;e--;)t(this.elements[e])}}),Nt=fe("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,o=e.length;n<o;n++)e[n]._walk(t)})},_children_backwards(t){let e=this.properties.length;for(;e--;)t(this.properties[e])}}),un=fe("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 Te&&this.key._walk(t),this.value._walk(t)})},_children_backwards(t){t(this.value),this.key instanceof Te&&t(this.key)}}),Yt=fe("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 Te}},un),mi=fe("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}},un),Qr=fe("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}},un),ei=fe("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 Ln)}},un),jr=fe("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 Ln)}},un),Fn=fe("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 Ln)}},un),_i=fe("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"},Fn),_t=fe("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 Wn){e._walk(t);return}e.computed_key()&&(t.push(e),e.key._walk(t),t.pop()),(e instanceof gi||e instanceof sr)&&e.static&&e.value&&(t.push(e),e.value._walk(t),t.pop())})},visit_deferred_class_parts(t){this.properties.forEach(e=>{e instanceof Fn?e.walk(t):e instanceof sr&&!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 Pn((o,u)=>{if(e)return!0;if(o instanceof Bn)return e=n;if(o instanceof Se)return e=o.definition().id===t;if(o instanceof Ke&&!(o instanceof qt)){const h=n;return n=!1,u(),n=h,!0}})),e}},qe),sr=fe("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 Te&&this.key._walk(t),this.value instanceof Te&&this.value._walk(t)})},_children_backwards(t){this.value instanceof Te&&t(this.value),this.key instanceof Te&&t(this.key)},computed_key(){return!(this.key instanceof Vi)}},un),gi=fe("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"},sr),ti=fe("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)}}),Hr=fe("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"},_t),Wn=fe("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(){mo(this,t)})},_children_backwards(t){let e=this.body.length;for(;e--;)t(this.body[e])},clone:Cl,computed_key:()=>!1},qe),bi=fe("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."},_t),pt=fe("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"}),zo=fe("NewTarget",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A reference to new.target"}),Rn=fe("SymbolDeclaration","init",function(e){e&&(this.init=e.init,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A declaration symbol (symbol in var/const, function name or argument, symbol in catch)"},pt),Bi=fe("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"},Rn),Ui=fe("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"},Rn),to=fe("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"},Ui),$o=fe("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"},Ui),wn=fe("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"},Bi),vi=fe("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"},Rn),Ln=fe("SymbolMethod",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Symbol in an object defining a method"},pt),Vi=fe("SymbolClassProperty",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Symbol for a class property"},pt),ni=fe("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"},Rn),Cu=fe("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."},Ui),ku=fe("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."},Rn),Gr=fe("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"},Ui),Wo=fe("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"},Ui),vo=fe("SymbolImportForeign",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.quote=e.quote,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A symbol imported from a module, but it is defined in the other module, and its real name is irrelevant for this module's purposes"},pt),ls=fe("Label","references",function(e){e&&(this.references=e.references,this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end,this.initialize()),this.flags=0},{$documentation:"Symbol naming a label (declaration)",$propdoc:{references:"[AST_LoopControl*] a list of nodes referring to this label"},initialize:function(){this.references=[],this.thedef=this}},pt),Se=fe("SymbolRef",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Reference to some symbol (not definition/declaration)"},pt),Eo=fe("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"},Se),Ei=fe("SymbolExportForeign",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.quote=e.quote,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A symbol exported from this module, but it is used in the other module, and its real name is irrelevant for this module's purposes"},pt),kl=fe("LabelRef",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Reference to a label symbol"},pt),fs=fe("SymbolPrivateProperty",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A symbol that refers to a private property"},pt),Bn=fe("This",null,function(e){e&&(this.scope=e.scope,this.name=e.name,this.thedef=e.thedef,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `this` symbol"},pt),Xo=fe("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"},Bn),Tt=fe("Constant",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for all constants",getValue:function(){return this.value}}),dt=fe("String","value quote",function(e){e&&(this.value=e.value,this.quote=e.quote,this.start=e.start,this.end=e.end,this._annotations=e._annotations),this.flags=0},{$documentation:"A string literal",$propdoc:{value:"[string] the contents of this string",quote:"[string] the original quote character"}},Tt),Je=fe("Number","value raw",function(e){e&&(this.value=e.value,this.raw=e.raw,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A number literal",$propdoc:{value:"[number] the numeric value",raw:"[string] numeric value as string"}},Tt),ri=fe("BigInt","value",function(e){e&&(this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A big int literal",$propdoc:{value:"[string] big int value"}},Tt),ur=fe("RegExp","value",function(e){e&&(this.value=e.value,this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A regexp literal",$propdoc:{value:"[RegExp] the actual regexp"}},Tt),no=fe("Atom",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for atoms"},Tt),cr=fe("Null",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `null` atom",value:null},no),hs=fe("NaN",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The impossible value",value:NaN},no),en=fe("Undefined",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `undefined` value",value:function(){}()},no),Cr=fe("Hole",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"A hole in an array",value:function(){}()},no),ro=fe("Infinity",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `Infinity` value",value:1/0},no),Ru=fe("Boolean",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"Base class for booleans"},no),ji=fe("False",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `false` atom",value:!1},Ru),_r=fe("True",null,function(e){e&&(this.start=e.start,this.end=e.end),this.flags=0},{$documentation:"The `true` atom",value:!0},Ru);function Nn(t,e,n=[t]){const o=n.push.bind(n);for(;n.length;){const u=n.pop(),h=e(u,n);if(h){if(h===lr)return!0;continue}u._children_backwards(o)}return!1}function Yp(t,e,n){const o=[t],u=o.push.bind(o),h=n?n.slice():[],m=[];let _;const T={parent:(x=0)=>x===-1?_:n&&x>=h.length?(x-=h.length,n[n.length-(x+1)]):h[h.length-(1+x)]};for(;o.length;){for(_=o.pop();m.length&&o.length==m[m.length-1];)h.pop(),m.pop();const x=e(_,T);if(x){if(x===lr)return!0;continue}const P=o.length;_._children_backwards(u),o.length>P&&(h.push(_),m.push(P-1))}return!1}const lr=Symbol("abort walk");class Pn{constructor(e){this.visit=e,this.stack=[],this.directives=Object.create(null)}_visit(e,n){this.push(e);var o=this.visit(e,n?function(){n.call(e)}:hr);return!o&&n&&n.call(e),this.pop(),o}parent(e){return this.stack[this.stack.length-2-(e||0)]}push(e){e instanceof Ke?this.directives=Object.create(this.directives):e instanceof Qn&&!this.directives[e.value]?this.directives[e.value]=e:e instanceof _t&&(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 _t)&&(this.directives=Object.getPrototypeOf(this.directives))}self(){return this.stack[this.stack.length-1]}find_parent(e){for(var n=this.stack,o=n.length;--o>=0;){var u=n[o];if(u instanceof e)return u}}find_scope(){for(var e=this.stack,n=e.length;--n>=0;){const o=e[n];if(o instanceof zt||o instanceof Ke)return o;if(o.block_scope)return o.block_scope}}has_directive(e){var n=this.directives[e];if(n)return n;var o=this.stack[this.stack.length-1];if(o instanceof qe&&o.body)for(var u=0;u<o.body.length;++u){var h=o.body[u];if(!(h instanceof Qn))break;if(h.value==e)return h}}loopcontrol_target(e){var n=this.stack;if(e.label)for(var o=n.length;--o>=0;){var u=n[o];if(u instanceof Yn&&u.label.name==e.label.name)return u.body}else for(var o=n.length;--o>=0;){var u=n[o];if(u instanceof Br||e instanceof xr&&u instanceof $n)return u}}}class fr extends Pn{constructor(e,n){super(),this.before=e,this.after=n}}const Rl=1,wl=2,So=4,ps=8,ds=16;function yt(t,e){t.DEFMETHOD("transform",function(n,o){let u;if(n.push(this),n.before&&(u=n.before(this,e,o)),u===void 0&&(u=this,e(u,n),n.after)){const h=n.after(u,o);h!==void 0&&(u=h)}return n.pop(),u})}yt(Te,hr),yt(Yn,function(t,e){t.label=t.label.transform(e),t.body=t.body.transform(e)}),yt(He,function(t,e){t.body=t.body.transform(e)}),yt(vn,function(t,e){t.body=Xt(t.body,e)}),yt(di,function(t,e){t.body=t.body.transform(e),t.condition=t.condition.transform(e)}),yt(Pi,function(t,e){t.condition=t.condition.transform(e),t.body=t.body.transform(e)}),yt(En,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)}),yt(Kn,function(t,e){t.init=t.init.transform(e),t.object=t.object.transform(e),t.body=t.body.transform(e)}),yt(pr,function(t,e){t.expression=t.expression.transform(e),t.body=t.body.transform(e)}),yt(ar,function(t,e){t.value&&(t.value=t.value.transform(e))}),yt(Wr,function(t,e){t.label&&(t.label=t.label.transform(e))}),yt(wt,function(t,e){t.condition=t.condition.transform(e),t.body=t.body.transform(e),t.alternative&&(t.alternative=t.alternative.transform(e))}),yt($n,function(t,e){t.expression=t.expression.transform(e),t.body=Xt(t.body,e)}),yt(Xr,function(t,e){t.expression=t.expression.transform(e),t.body=Xt(t.body,e)}),yt(mr,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))}),yt(qr,function(t,e){t.argname&&(t.argname=t.argname.transform(e)),t.body=Xt(t.body,e)}),yt(sn,function(t,e){t.definitions=Xt(t.definitions,e)}),yt(Mt,function(t,e){t.name=t.name.transform(e),t.value&&(t.value=t.value.transform(e))}),yt(Vt,function(t,e){t.names=Xt(t.names,e)}),yt(Ke,function(t,e){t.name&&(t.name=t.name.transform(e)),t.argnames=Xt(t.argnames,e,!1),t.body instanceof Te?t.body=t.body.transform(e):t.body=Xt(t.body,e)}),yt(je,function(t,e){t.expression=t.expression.transform(e),t.args=Xt(t.args,e,!1)}),yt(lt,function(t,e){const n=Xt(t.expressions,e);t.expressions=n.length?n:[new Je({value:0})]}),yt(Xe,function(t,e){t.expression=t.expression.transform(e)}),yt(Sn,function(t,e){t.expression=t.expression.transform(e),t.property=t.property.transform(e)}),yt(mn,function(t,e){t.expression=t.expression.transform(e)}),yt(yr,function(t,e){t.expression&&(t.expression=t.expression.transform(e))}),yt(dr,function(t,e){t.expression=t.expression.transform(e)}),yt(Wt,function(t,e){t.expression=t.expression.transform(e)}),yt(oe,function(t,e){t.left=t.left.transform(e),t.right=t.right.transform(e)}),yt(ti,function(t,e){t.key=t.key.transform(e),t.value=t.value.transform(e)}),yt(tt,function(t,e){t.condition=t.condition.transform(e),t.consequent=t.consequent.transform(e),t.alternative=t.alternative.transform(e)}),yt(St,function(t,e){t.elements=Xt(t.elements,e)}),yt(Nt,function(t,e){t.properties=Xt(t.properties,e)}),yt(un,function(t,e){t.key instanceof Te&&(t.key=t.key.transform(e)),t.value&&(t.value=t.value.transform(e))}),yt(_t,function(t,e){t.name&&(t.name=t.name.transform(e)),t.extends&&(t.extends=t.extends.transform(e)),t.properties=Xt(t.properties,e)}),yt(Wn,function(t,e){t.body=Xt(t.body,e)}),yt(ht,function(t,e){t.expression=t.expression.transform(e)}),yt(Zr,function(t,e){t.foreign_name=t.foreign_name.transform(e),t.name=t.name.transform(e)}),yt(Or,function(t,e){t.imported_name&&(t.imported_name=t.imported_name.transform(e)),t.imported_names&&Xt(t.imported_names,e),t.module_name=t.module_name.transform(e)}),yt(On,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&&Xt(t.exported_names,e),t.module_name&&(t.module_name=t.module_name.transform(e))}),yt(zn,function(t,e){t.segments=Xt(t.segments,e)}),yt(Ur,function(t,e){t.prefix=t.prefix.transform(e),t.template_string=t.template_string.transform(e)}),function(){var t=function(b){for(var y=0;y<b.length;y++)if(b[y]instanceof Cn&&b[y].body instanceof dt)b[y]=new Qn({start:b[y].start,end:b[y].end,value:b[y].body.value});else return b;return b};const e=b=>b&&b.length>0?new Nt({start:u(b),end:h(b),properties:b.map(y=>new Yt({start:u(y),end:h(y),key:y.key.name||y.key.value,value:_(y.value)}))}):null;var n={Program:function(b){return new zt({start:u(b),end:h(b),body:t(b.body.map(_))})},ArrayPattern:function(b){return new Vt({start:u(b),end:h(b),names:b.elements.map(function(y){return y===null?new Cr:_(y)}),is_array:!0})},ObjectPattern:function(b){return new Vt({start:u(b),end:h(b),names:b.properties.map(_),is_array:!1})},AssignmentPattern:function(b){return new Dr({start:u(b),end:h(b),left:_(b.left),operator:"=",right:_(b.right)})},SpreadElement:function(b){return new ht({start:u(b),end:h(b),expression:_(b.argument)})},RestElement:function(b){return new ht({start:u(b),end:h(b),expression:_(b.argument)})},TemplateElement:function(b){return new yi({start:u(b),end:h(b),value:b.value.cooked,raw:b.value.raw})},TemplateLiteral:function(b){for(var y=[],g=0;g<b.quasis.length;g++)y.push(_(b.quasis[g])),b.expressions[g]&&y.push(_(b.expressions[g]));return new zn({start:u(b),end:h(b),segments:y})},TaggedTemplateExpression:function(b){return new Ur({start:u(b),end:h(b),template_string:_(b.quasi),prefix:_(b.tag)})},FunctionDeclaration:function(b){return new Qt({start:u(b),end:h(b),name:_(b.id),argnames:b.params.map(_),is_generator:b.generator,async:b.async,body:t(_(b.body).body)})},FunctionExpression:function(b){return new Ft({start:u(b),end:h(b),name:_(b.id),argnames:b.params.map(_),is_generator:b.generator,async:b.async,body:t(_(b.body).body)})},ArrowFunctionExpression:function(b){const y=b.body.type==="BlockStatement"?_(b.body).body:[N(an,{},{value:_(b.body)})];return new qt({start:u(b),end:h(b),argnames:b.params.map(_),body:y,async:b.async})},ExpressionStatement:function(b){return new He({start:u(b),end:h(b),body:_(b.expression)})},TryStatement:function(b){var y=b.handlers||[b.handler];if(y.length>1||b.guardedHandlers&&b.guardedHandlers.length)throw new Error("Multiple catch clauses are not supported.");return new mr({start:u(b),end:h(b),body:new Du(_(b.block)),bcatch:_(y[0]),bfinally:b.finalizer?new Ko(_(b.finalizer)):null})},Property:function(b){var y=b.key,g={start:u(y||b.value),end:h(b.value),key:y.type=="Identifier"?y.name:y.value,value:_(b.value)};if(b.computed&&(g.key=_(b.key)),b.method)return g.is_generator=b.value.generator,g.async=b.value.async,b.computed?g.key=_(b.key):g.key=new Ln({name:g.key}),new Fn(g);if(b.kind=="init")return y.type!="Identifier"&&y.type!="Literal"&&(g.key=_(y)),new Yt(g);if((typeof g.key=="string"||typeof g.key=="number")&&(g.key=new Ln({name:g.key})),g.value=new Ii(g.value),b.kind=="get")return new jr(g);if(b.kind=="set")return new ei(g);if(b.kind=="method")return g.async=b.value.async,g.is_generator=b.value.generator,g.quote=b.computed?'"':null,new Fn(g)},MethodDefinition:function(b){const y=b.key.type==="PrivateIdentifier",g=b.computed?_(b.key):new Ln({name:b.key.name||b.key.value});var D={start:u(b),end:h(b),key:g,value:_(b.value),static:b.static};return b.kind=="get"?new(y?Qr:jr)(D):b.kind=="set"?new(y?mi:ei)(D):(D.is_generator=b.value.generator,D.async=b.value.async,new(y?_i:Fn)(D))},FieldDefinition:function(b){let y;if(b.computed)y=_(b.key);else{if(b.key.type!=="Identifier")throw new Error("Non-Identifier key in FieldDefinition");y=_(b.key)}return new sr({start:u(b),end:h(b),key:y,value:_(b.value),static:b.static})},PropertyDefinition:function(b){let y;if(b.computed)y=_(b.key);else{if(b.key.type==="PrivateIdentifier")return new gi({start:u(b),end:h(b),key:_(b.key),value:_(b.value),static:b.static});if(b.key.type!=="Identifier")throw new Error("Non-Identifier key in PropertyDefinition");y=_(b.key)}return new sr({start:u(b),end:h(b),key:y,value:_(b.value),static:b.static})},PrivateIdentifier:function(b){return new fs({start:u(b),end:h(b),name:b.name})},StaticBlock:function(b){return new Wn({start:u(b),end:h(b),body:b.body.map(_)})},ArrayExpression:function(b){return new St({start:u(b),end:h(b),elements:b.elements.map(function(y){return y===null?new Cr:_(y)})})},ObjectExpression:function(b){return new Nt({start:u(b),end:h(b),properties:b.properties.map(function(y){return y.type==="SpreadElement"||(y.type="Property"),_(y)})})},SequenceExpression:function(b){return new lt({start:u(b),end:h(b),expressions:b.expressions.map(_)})},MemberExpression:function(b){return b.property.type==="PrivateIdentifier"?new Vr({start:u(b),end:h(b),property:b.property.name,expression:_(b.object),optional:b.optional||!1}):new(b.computed?Sn:$t)({start:u(b),end:h(b),property:b.computed?_(b.property):b.property.name,expression:_(b.object),optional:b.optional||!1})},ChainExpression:function(b){return new mn({start:u(b),end:h(b),expression:_(b.expression)})},SwitchCase:function(b){return new(b.test?Xr:bo)({start:u(b),end:h(b),expression:_(b.test),body:b.consequent.map(_)})},VariableDeclaration:function(b){return new(b.kind==="const"?Jr:b.kind==="let"?Yr:kn)({start:u(b),end:h(b),definitions:b.declarations.map(_)})},ImportDeclaration:function(b){var y=null,g=null;return b.specifiers.forEach(function(D){D.type==="ImportSpecifier"||D.type==="ImportNamespaceSpecifier"?(g||(g=[]),g.push(_(D))):D.type==="ImportDefaultSpecifier"&&(y=_(D))}),new Or({start:u(b),end:h(b),imported_name:y,imported_names:g,module_name:_(b.source),assert_clause:e(b.assertions)})},ImportSpecifier:function(b){return new Zr({start:u(b),end:h(b),foreign_name:_(b.imported),name:_(b.local)})},ImportDefaultSpecifier:function(b){return _(b.local)},ImportNamespaceSpecifier:function(b){return new Zr({start:u(b),end:h(b),foreign_name:new vo({name:"*"}),name:_(b.local)})},ExportAllDeclaration:function(b){var y=b.exported==null?new Ei({name:"*"}):_(b.exported);return new On({start:u(b),end:h(b),exported_names:[new Zr({name:new Ei({name:"*"}),foreign_name:y})],module_name:_(b.source),assert_clause:e(b.assertions)})},ExportNamedDeclaration:function(b){return new On({start:u(b),end:h(b),exported_definition:_(b.declaration),exported_names:b.specifiers&&b.specifiers.length?b.specifiers.map(_):null,module_name:_(b.source),assert_clause:e(b.assertions)})},ExportDefaultDeclaration:function(b){return new On({start:u(b),end:h(b),exported_value:_(b.declaration),is_default:!0})},ExportSpecifier:function(b){return new Zr({foreign_name:_(b.exported),name:_(b.local)})},Literal:function(b){var y=b.value,g={start:u(b),end:h(b)},D=b.regex;if(D&&D.pattern)return g.value={source:D.pattern,flags:D.flags},new ur(g);if(D){const O=b.raw||y,U=O.match(/^\/(.*)\/(\w*)$/);if(!U)throw new Error("Invalid regex source "+O);const[X,ue,K]=U;return g.value={source:ue,flags:K},new ur(g)}if(y===null)return new cr(g);switch(typeof y){case"string":g.quote='"';var R=m[m.length-2];return R.type=="ImportSpecifier"?(g.name=y,new vo(g)):R.type=="ExportSpecifier"?(g.name=y,b==R.exported?new Ei(g):new Eo(g)):R.type=="ExportAllDeclaration"&&b==R.exported?(g.name=y,new Ei(g)):(g.value=y,new dt(g));case"number":return g.value=y,g.raw=b.raw||y.toString(),new Je(g);case"boolean":return new(y?_r:ji)(g)}},MetaProperty:function(b){if(b.meta.name==="new"&&b.property.name==="target")return new zo({start:u(b),end:h(b)});if(b.meta.name==="import"&&b.property.name==="meta")return new Mi({start:u(b),end:h(b)})},Identifier:function(b){var y=m[m.length-2];return new(y.type=="LabeledStatement"?ls:y.type=="VariableDeclarator"&&y.id===b?y.kind=="const"?to:y.kind=="let"?$o:Bi:/Import.*Specifier/.test(y.type)?y.local===b?Wo:vo:y.type=="ExportSpecifier"?y.local===b?Eo:Ei:y.type=="FunctionExpression"?y.id===b?ni:wn:y.type=="FunctionDeclaration"?y.id===b?vi:wn:y.type=="ArrowFunctionExpression"?y.params.includes(b)?wn:Se:y.type=="ClassExpression"?y.id===b?ku:Se:y.type=="Property"?y.key===b&&y.computed||y.value===b?Se:Ln:y.type=="PropertyDefinition"||y.type==="FieldDefinition"?y.key===b&&y.computed||y.value===b?Se:Vi:y.type=="ClassDeclaration"?y.id===b?Cu:Se:y.type=="MethodDefinition"?y.computed?Se:Ln:y.type=="CatchClause"?Gr:y.type=="BreakStatement"||y.type=="ContinueStatement"?kl:Se)({start:u(b),end:h(b),name:b.name})},BigIntLiteral(b){return new ri({start:u(b),end:h(b),value:b.value})},EmptyStatement:function(b){return new Rt({start:u(b),end:h(b)})},BlockStatement:function(b){return new Ye({start:u(b),end:h(b),body:b.body.map(_)})},IfStatement:function(b){return new wt({start:u(b),end:h(b),condition:_(b.test),body:_(b.consequent),alternative:_(b.alternate)})},LabeledStatement:function(b){return new Yn({start:u(b),end:h(b),label:_(b.label),body:_(b.body)})},BreakStatement:function(b){return new xr({start:u(b),end:h(b),label:_(b.label)})},ContinueStatement:function(b){return new eo({start:u(b),end:h(b),label:_(b.label)})},WithStatement:function(b){return new pr({start:u(b),end:h(b),expression:_(b.object),body:_(b.body)})},SwitchStatement:function(b){return new $n({start:u(b),end:h(b),expression:_(b.discriminant),body:b.cases.map(_)})},ReturnStatement:function(b){return new an({start:u(b),end:h(b),value:_(b.argument)})},ThrowStatement:function(b){return new cs({start:u(b),end:h(b),value:_(b.argument)})},WhileStatement:function(b){return new Pi({start:u(b),end:h(b),condition:_(b.test),body:_(b.body)})},DoWhileStatement:function(b){return new di({start:u(b),end:h(b),condition:_(b.test),body:_(b.body)})},ForStatement:function(b){return new En({start:u(b),end:h(b),init:_(b.init),condition:_(b.test),step:_(b.update),body:_(b.body)})},ForInStatement:function(b){return new Kn({start:u(b),end:h(b),init:_(b.left),object:_(b.right),body:_(b.body)})},ForOfStatement:function(b){return new go({start:u(b),end:h(b),init:_(b.left),object:_(b.right),body:_(b.body),await:b.await})},AwaitExpression:function(b){return new dr({start:u(b),end:h(b),expression:_(b.argument)})},YieldExpression:function(b){return new yr({start:u(b),end:h(b),expression:_(b.argument),is_star:b.delegate})},DebuggerStatement:function(b){return new Ni({start:u(b),end:h(b)})},VariableDeclarator:function(b){return new Mt({start:u(b),end:h(b),name:_(b.id),value:_(b.init)})},CatchClause:function(b){return new qr({start:u(b),end:h(b),argname:_(b.param),body:_(b.body).body})},ThisExpression:function(b){return new Bn({start:u(b),end:h(b)})},Super:function(b){return new Xo({start:u(b),end:h(b)})},BinaryExpression:function(b){return b.left.type==="PrivateIdentifier"?new ti({start:u(b),end:h(b),key:new fs({start:u(b.left),end:h(b.left),name:b.left.name}),value:_(b.right)}):new oe({start:u(b),end:h(b),operator:b.operator,left:_(b.left),right:_(b.right)})},LogicalExpression:function(b){return new oe({start:u(b),end:h(b),operator:b.operator,left:_(b.left),right:_(b.right)})},AssignmentExpression:function(b){return new st({start:u(b),end:h(b),operator:b.operator,left:_(b.left),right:_(b.right)})},ConditionalExpression:function(b){return new tt({start:u(b),end:h(b),condition:_(b.test),consequent:_(b.consequent),alternative:_(b.alternate)})},NewExpression:function(b){return new er({start:u(b),end:h(b),expression:_(b.callee),args:b.arguments.map(_)})},CallExpression:function(b){return new je({start:u(b),end:h(b),expression:_(b.callee),optional:b.optional,args:b.arguments.map(_)})}};n.UpdateExpression=n.UnaryExpression=function(y){var g="prefix"in y?y.prefix:y.type=="UnaryExpression";return new(g?We:Li)({start:u(y),end:h(y),operator:y.operator,expression:_(y.argument)})},n.ClassDeclaration=n.ClassExpression=function(y){return new(y.type==="ClassDeclaration"?Hr:bi)({start:u(y),end:h(y),name:_(y.id),extends:_(y.superClass),properties:y.body.body.map(_)})},x(Rt,function(){return{type:"EmptyStatement"}}),x(Ye,function(y){return{type:"BlockStatement",body:y.body.map(A)}}),x(wt,function(y){return{type:"IfStatement",test:A(y.condition),consequent:A(y.body),alternate:A(y.alternative)}}),x(Yn,function(y){return{type:"LabeledStatement",label:A(y.label),body:A(y.body)}}),x(xr,function(y){return{type:"BreakStatement",label:A(y.label)}}),x(eo,function(y){return{type:"ContinueStatement",label:A(y.label)}}),x(pr,function(y){return{type:"WithStatement",object:A(y.expression),body:A(y.body)}}),x($n,function(y){return{type:"SwitchStatement",discriminant:A(y.expression),cases:y.body.map(A)}}),x(an,function(y){return{type:"ReturnStatement",argument:A(y.value)}}),x(cs,function(y){return{type:"ThrowStatement",argument:A(y.value)}}),x(Pi,function(y){return{type:"WhileStatement",test:A(y.condition),body:A(y.body)}}),x(di,function(y){return{type:"DoWhileStatement",test:A(y.condition),body:A(y.body)}}),x(En,function(y){return{type:"ForStatement",init:A(y.init),test:A(y.condition),update:A(y.step),body:A(y.body)}}),x(Kn,function(y){return{type:"ForInStatement",left:A(y.init),right:A(y.object),body:A(y.body)}}),x(go,function(y){return{type:"ForOfStatement",left:A(y.init),right:A(y.object),body:A(y.body),await:y.await}}),x(dr,function(y){return{type:"AwaitExpression",argument:A(y.expression)}}),x(yr,function(y){return{type:"YieldExpression",argument:A(y.expression),delegate:y.is_star}}),x(Ni,function(){return{type:"DebuggerStatement"}}),x(Mt,function(y){return{type:"VariableDeclarator",id:A(y.name),init:A(y.value)}}),x(qr,function(y){return{type:"CatchClause",param:A(y.argname),body:$(y)}}),x(Bn,function(){return{type:"ThisExpression"}}),x(Xo,function(){return{type:"Super"}}),x(oe,function(y){return{type:"BinaryExpression",operator:y.operator,left:A(y.left),right:A(y.right)}}),x(oe,function(y){return{type:"LogicalExpression",operator:y.operator,left:A(y.left),right:A(y.right)}}),x(st,function(y){return{type:"AssignmentExpression",operator:y.operator,left:A(y.left),right:A(y.right)}}),x(tt,function(y){return{type:"ConditionalExpression",test:A(y.condition),consequent:A(y.consequent),alternate:A(y.alternative)}}),x(er,function(y){return{type:"NewExpression",callee:A(y.expression),arguments:y.args.map(A)}}),x(je,function(y){return{type:"CallExpression",callee:A(y.expression),optional:y.optional,arguments:y.args.map(A)}}),x(zt,function(y){return V("Program",y)}),x(ht,function(y){return{type:F()?"RestElement":"SpreadElement",argument:A(y.expression)}}),x(Ur,function(y){return{type:"TaggedTemplateExpression",tag:A(y.prefix),quasi:A(y.template_string)}}),x(zn,function(y){for(var g=[],D=[],R=0;R<y.segments.length;R++)R%2!==0?D.push(A(y.segments[R])):g.push({type:"TemplateElement",value:{raw:y.segments[R].raw,cooked:y.segments[R].value},tail:R===y.segments.length-1});return{type:"TemplateLiteral",quasis:g,expressions:D}}),x(Qt,function(y){return{type:"FunctionDeclaration",id:A(y.name),params:y.argnames.map(A),generator:y.is_generator,async:y.async,body:V("BlockStatement",y)}}),x(Ft,function(y,g){var D=g.is_generator!==void 0?g.is_generator:y.is_generator;return{type:"FunctionExpression",id:A(y.name),params:y.argnames.map(A),generator:D,async:y.async,body:V("BlockStatement",y)}}),x(qt,function(y){var g={type:"BlockStatement",body:y.body.map(A)};return{type:"ArrowFunctionExpression",params:y.argnames.map(A),async:y.async,body:g}}),x(Vt,function(y){return y.is_array?{type:"ArrayPattern",elements:y.names.map(A)}:{type:"ObjectPattern",properties:y.names.map(A)}}),x(Qn,function(y){return{type:"ExpressionStatement",expression:{type:"Literal",value:y.value,raw:y.print_to_string()},directive:y.value}}),x(He,function(y){return{type:"ExpressionStatement",expression:A(y.body)}}),x(Fi,function(y){return{type:"SwitchCase",test:A(y.expression),consequent:y.body.map(A)}}),x(mr,function(y){return{type:"TryStatement",block:$(y.body),handler:A(y.bcatch),guardedHandlers:[],finalizer:A(y.bfinally)}}),x(qr,function(y){return{type:"CatchClause",param:A(y.argname),guard:null,body:$(y)}}),x(sn,function(y){return{type:"VariableDeclaration",kind:y instanceof Jr?"const":y instanceof Yr?"let":"var",declarations:y.definitions.map(A)}});const o=b=>{const y=[];if(b)for(const{key:g,value:D}of b.properties){const R=Su(g)?{type:"Identifier",name:g}:{type:"Literal",value:g,raw:JSON.stringify(g)};y.push({type:"ImportAttribute",key:R,value:A(D)})}return y};x(On,function(y){if(y.exported_names){var g=y.exported_names[0],D=g.name;if(D.name==="*"&&!D.quote){var R=g.foreign_name,O=R.name==="*"&&!R.quote?null:A(R);return{type:"ExportAllDeclaration",source:A(y.module_name),exported:O,assertions:o(y.assert_clause)}}return{type:"ExportNamedDeclaration",specifiers:y.exported_names.map(function(U){return{type:"ExportSpecifier",exported:A(U.foreign_name),local:A(U.name)}}),declaration:A(y.exported_definition),source:A(y.module_name),assertions:o(y.assert_clause)}}return{type:y.is_default?"ExportDefaultDeclaration":"ExportNamedDeclaration",declaration:A(y.exported_value||y.exported_definition)}}),x(Or,function(y){var g=[];if(y.imported_name&&g.push({type:"ImportDefaultSpecifier",local:A(y.imported_name)}),y.imported_names){var D=y.imported_names[0].foreign_name;D.name==="*"&&!D.quote?g.push({type:"ImportNamespaceSpecifier",local:A(y.imported_names[0].name)}):y.imported_names.forEach(function(R){g.push({type:"ImportSpecifier",local:A(R.name),imported:A(R.foreign_name)})})}return{type:"ImportDeclaration",specifiers:g,source:A(y.module_name),assertions:o(y.assert_clause)}}),x(Mi,function(){return{type:"MetaProperty",meta:{type:"Identifier",name:"import"},property:{type:"Identifier",name:"meta"}}}),x(lt,function(y){return{type:"SequenceExpression",expressions:y.expressions.map(A)}}),x(Vr,function(y){return{type:"MemberExpression",object:A(y.expression),computed:!1,property:{type:"PrivateIdentifier",name:y.property},optional:y.optional}}),x(Xe,function(y){var g=y instanceof Sn;return{type:"MemberExpression",object:A(y.expression),computed:g,property:g?A(y.property):{type:"Identifier",name:y.property},optional:y.optional}}),x(mn,function(y){return{type:"ChainExpression",expression:A(y.expression)}}),x(Wt,function(y){return{type:y.operator=="++"||y.operator=="--"?"UpdateExpression":"UnaryExpression",operator:y.operator,prefix:y instanceof We,argument:A(y.expression)}}),x(oe,function(y){return y.operator=="="&&F()?{type:"AssignmentPattern",left:A(y.left),right:A(y.right)}:{type:y.operator=="&&"||y.operator=="||"||y.operator==="??"?"LogicalExpression":"BinaryExpression",left:A(y.left),operator:y.operator,right:A(y.right)}}),x(ti,function(y){return{type:"BinaryExpression",left:{type:"PrivateIdentifier",name:y.key.name},operator:"in",right:A(y.value)}}),x(St,function(y){return{type:"ArrayExpression",elements:y.elements.map(A)}}),x(Nt,function(y){return{type:"ObjectExpression",properties:y.properties.map(A)}}),x(un,function(y,g){var D=y.key instanceof Te?A(y.key):{type:"Identifier",value:y.key};typeof y.key=="number"&&(D={type:"Literal",value:Number(y.key)}),typeof y.key=="string"&&(D={type:"Identifier",name:y.key});var R,O=typeof y.key=="string"||typeof y.key=="number",U=O?!1:!(y.key instanceof pt)||y.key instanceof Se;return y instanceof Yt?(R="init",U=!O):y instanceof jr?R="get":y instanceof ei&&(R="set"),y instanceof Qr||y instanceof mi?{type:"MethodDefinition",computed:!1,kind:y instanceof Qr?"get":"set",static:y.static,key:{type:"PrivateIdentifier",name:y.key.name},value:A(y.value)}:y instanceof gi?{type:"PropertyDefinition",key:{type:"PrivateIdentifier",name:y.key.name},value:A(y.value),computed:!1,static:y.static}:y instanceof sr?{type:"PropertyDefinition",key:D,value:A(y.value),computed:U,static:y.static}:g instanceof _t?{type:"MethodDefinition",computed:U,kind:R,static:y.static,key:A(y.key),value:A(y.value)}:{type:"Property",computed:U,kind:R,key:D,value:A(y.value)}}),x(Fn,function(y,g){if(g instanceof Nt)return{type:"Property",computed:!(y.key instanceof pt)||y.key instanceof Se,kind:"init",method:!0,shorthand:!1,key:A(y.key),value:A(y.value)};const D=y instanceof _i?{type:"PrivateIdentifier",name:y.key.name}:A(y.key);return{type:"MethodDefinition",kind:y.key==="constructor"?"constructor":"method",key:D,value:A(y.value),computed:!(y.key instanceof pt)||y.key instanceof Se,static:y.static}}),x(_t,function(y){var g=y instanceof bi?"ClassExpression":"ClassDeclaration";return{type:g,superClass:A(y.extends),id:y.name?A(y.name):null,body:{type:"ClassBody",body:y.properties.map(A)}}}),x(Wn,function(y){return{type:"StaticBlock",body:y.body.map(A)}}),x(zo,function(){return{type:"MetaProperty",meta:{type:"Identifier",name:"new"},property:{type:"Identifier",name:"target"}}}),x(pt,function(y,g){if(y instanceof Ln&&g.quote||(y instanceof vo||y instanceof Ei||y instanceof Eo)&&y.quote)return{type:"Literal",value:y.name};var D=y.definition();return{type:"Identifier",name:D?D.mangled_name||D.name:y.name}}),x(ur,function(y){const g=y.value.source,D=y.value.flags;return{type:"Literal",value:null,raw:y.print_to_string(),regex:{pattern:g,flags:D}}}),x(Tt,function(y){var g=y.value;return{type:"Literal",value:g,raw:y.raw||y.print_to_string()}}),x(no,function(y){return{type:"Identifier",name:String(y.value)}}),x(ri,b=>({type:"BigIntLiteral",value:b.value})),Ru.DEFMETHOD("to_mozilla_ast",Tt.prototype.to_mozilla_ast),cr.DEFMETHOD("to_mozilla_ast",Tt.prototype.to_mozilla_ast),Cr.DEFMETHOD("to_mozilla_ast",function(){return null}),vn.DEFMETHOD("to_mozilla_ast",Ye.prototype.to_mozilla_ast),Ke.DEFMETHOD("to_mozilla_ast",Ft.prototype.to_mozilla_ast);function u(b){var y=b.loc,g=y&&y.start,D=b.range;return new Dl("","",g&&g.line||0,g&&g.column||0,D?D[0]:b.start,!1,[],[],y&&y.source)}function h(b){var y=b.loc,g=y&&y.end,D=b.range;return new Dl("","",g&&g.line||0,g&&g.column||0,D?D[0]:b.end,!1,[],[],y&&y.source)}var m=null;function _(b){m.push(b);var y=b!=null?n[b.type](b):null;return m.pop(),y}Te.from_mozilla_ast=function(b){var y=m;m=[];var g=_(b);return m=y,g};function T(b,y){var g=b.start,D=b.end;return g&&D&&(g.pos!=null&&D.endpos!=null&&(y.range=[g.pos,D.endpos]),g.line&&(y.loc={start:{line:g.line,column:g.col},end:D.endline?{line:D.endline,column:D.endcol}:null},g.file&&(y.loc.source=g.file))),y}function x(b,y){b.DEFMETHOD("to_mozilla_ast",function(g){return T(this,y(this,g))})}var P=null;function A(b){P===null&&(P=[]),P.push(b);var y=b!=null?b.to_mozilla_ast(P[P.length-2]):null;return P.pop(),P.length===0&&(P=null),y}function F(){for(var b=P.length;b--;)if(P[b]instanceof Vt)return!0;return!1}function $(b){return{type:"BlockStatement",body:b.body.map(A)}}function V(b,y){var g=y.body.map(A);return y.body[0]instanceof He&&y.body[0].body instanceof dt&&g.unshift(A(new Rt(y.body[0]))),{type:b,body:g}}}();function ii(t){let e=t.parent(-1);for(let n=0,o;o=t.parent(n);n++){if(o instanceof Cn&&o.body===e)return!0;if(o instanceof lt&&o.expressions[0]===e||o.TYPE==="Call"&&o.expression===e||o instanceof Ur&&o.prefix===e||o instanceof $t&&o.expression===e||o instanceof Sn&&o.expression===e||o instanceof mn&&o.expression===e||o instanceof tt&&o.condition===e||o instanceof oe&&o.left===e||o instanceof Li&&o.expression===e)e=o;else return!1}}function Hi(t){return t instanceof Nt?!0:t instanceof lt?Hi(t.expressions[0]):t.TYPE==="Call"?Hi(t.expression):t instanceof Ur?Hi(t.prefix):t instanceof $t||t instanceof Sn||t instanceof mn?Hi(t.expression):t instanceof tt?Hi(t.condition):t instanceof oe?Hi(t.left):t instanceof Li?Hi(t.expression):!1}const Jp=10,Zp=32,Qp=/[@#]__(PURE|INLINE|NOINLINE)__/;function d_(t){return(t.type==="comment2"||t.type==="comment1")&&/@preserve|@copyright|@lic|@cc_on|^\**!/i.test(t.value)}const y_=8*1e3;class m_{constructor(){this.committed="",this.current=""}append(e){this.current.length>y_?(this.committed+=this.current+e,this.current=""):this.current+=e}insertAt(e,n){const{committed:o,current:u}=this;n<o.length?this.committed=o.slice(0,n)+e+o.slice(n):n===o.length?this.committed+=e:(n-=o.length,this.committed+=u.slice(0,n)+e,this.current=u.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==Zp||e==Jp););return!e||e===59||e===123}hasNLB(){let e=this.length()-1;for(;e>=0;){const n=this.charCodeAt(e--);if(n===Jp)return!0;if(n!==Zp)return!1}return!0}toString(){return this.committed+this.current}}function Nl(t){var e=!t;t=pi(t,{ascii_only:!1,beautify:!1,braces:!1,comments:"some",ecma:5,ie8:!1,indent_level:4,indent_start:0,inline_script:!0,keep_numbers:!1,keep_quoted_props:!1,max_line_len:!1,preamble:null,preserve_annotations:!1,quote_keys:!1,quote_style:0,safari10:!1,semicolons:!0,shebang:!0,shorthand:void 0,source_map:null,webkit:!1,width:80,wrap_iife:!1,wrap_func_args:!0,_destroy_ast:!1},!0),t.shorthand===void 0&&(t.shorthand=t.ecma>5);var n=vt;if(t.comments){let ie=t.comments;if(typeof t.comments=="string"&&/^\/.*\/[a-zA-Z]*$/.test(t.comments)){var o=t.comments.lastIndexOf("/");ie=new RegExp(t.comments.substr(1,o-1),t.comments.substr(o+1))}ie instanceof RegExp?n=function(De){return De.type!="comment5"&&ie.test(De.value)}:typeof ie=="function"?n=function(De){return De.type!="comment5"&&ie(this,De)}:ie==="some"?n=d_:n=Jn}if(t.preserve_annotations){let ie=n;n=function(De){return Qp.test(De.value)||ie.apply(this,arguments)}}var u=0,h=0,m=1,_=0,T=new m_;let x=new Set;var P=t.ascii_only?function(ie,De=!1,pe=!1){return t.ecma>=2015&&!t.safari10&&!pe&&(ie=ie.replace(/[\ud800-\udbff][\udc00-\udfff]/g,function(bt){var xt=a_(bt,0).toString(16);return"\\u{"+xt+"}"})),ie.replace(/[\u0000-\u001f\u007f-\uffff]/g,function(bt){var xt=bt.charCodeAt(0).toString(16);if(xt.length<=2&&!De){for(;xt.length<2;)xt="0"+xt;return"\\x"+xt}else{for(;xt.length<4;)xt="0"+xt;return"\\u"+xt}})}:function(ie){return ie.replace(/[\ud800-\udbff][\udc00-\udfff]|([\ud800-\udbff]|[\udc00-\udfff])/g,function(De,pe){return pe?"\\u"+pe.charCodeAt(0).toString(16):De})};function A(ie,De){var pe=0,bt=0;ie=ie.replace(/[\\\b\f\n\r\v\t\x22\x27\u2028\u2029\0\ufeff]/g,function(Zt,pn){switch(Zt){case'"':return++pe,'"';case"'":return++bt,"'";case"\\":return"\\\\";case`
82
82
  `: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(bu(ie,pn+1))?"\\x00":"\\0"}return Zt});function xt(){return"'"+ie.replace(/\x27/g,"\\'")+"'"}function Ct(){return'"'+ie.replace(/\x22/g,'\\"')+'"'}function Mn(){return"`"+ie.replace(/`/g,"\\`")+"`"}if(ie=P(ie),De==="`")return Mn();switch(t.quote_style){case 1:return xt();case 2:return Ct();case 3:return De=="'"?xt():Ct();default:return pe>bt?xt():Ct()}}function F(ie,De){var pe=A(ie,De);return t.inline_script&&(pe=pe.replace(/<\x2f(script)([>\/\t\n\f\r ])/gi,"<\\/$1$2"),pe=pe.replace(/\x3c!--/g,"\\x3c!--"),pe=pe.replace(/--\x3e/g,"--\\x3e")),pe}function $(ie){return ie=ie.toString(),ie=P(ie,!0),ie}function V(ie){return" ".repeat(t.indent_start+u-ie*t.indent_level)}var b=!1,y=!1,g=!1,D=0,R=!1,O=!1,U=-1,X="",ue,K,Y=t.source_map&&[],G=Y?function(){Y.forEach(function(ie){try{let{name:De,token:pe}=ie;De!==!1&&(pe.type=="name"||pe.type==="privatename"?De=pe.value:De instanceof pt&&(De=pe.type==="string"?pe.value:De.name)),t.source_map.add(ie.token.file,ie.line,ie.col,ie.token.line,ie.token.col,Su(De)?De:void 0)}catch{}}),Y=[]}:hr,ce=t.max_line_len?function(){if(h>t.max_line_len&&D){T.insertAt(`
83
83
  `,D);const De=T.length()-D-1;if(Y){var ie=De-h;Y.forEach(function(pe){pe.line++,pe.col+=ie})}m++,_++,h=De}D&&(D=0,G())}:hr,Q=Ot("( [ + * / - , . `");function de(ie){ie=String(ie);var De=bu(ie,0);R&&De&&(R=!1,De!==`
84
84
  `&&(de(`
@@ -93,7 +93,7 @@ ${this._prefixNameVar}.setVarValue("${_}", ${$}, ${_}, "${m}")`}return n==="-="?
93
93
  `),he()),pn=!0}else if(Ht.type=="comment2"){var ln=Et(Ht.value);ln&&de("/*"+ln+"*/"),pn=!1}}),pn||(pe.nlb?(de(`
94
94
  `),he()):te())}}function gt(ie,De){var pe=this,bt=ie.end;if(bt){var xt=pe.printed_comments,Ct=bt[De?"comments_before":"comments_after"];if(!(!Ct||xt.has(Ct))&&(ie instanceof Cn||Ct.every(Zt=>!/comment[134]/.test(Zt.type)))){xt.add(Ct);var Mn=T.length();Ct.filter(n,ie).forEach(function(Zt,pn){if(!xt.has(Zt)){if(xt.add(Zt),O=!1,R?(de(`
95
95
  `),he(),R=!1):Zt.nlb&&(pn>0||!T.hasNLB())?(de(`
96
- `),he()):(pn>0||!De)&&te(),/comment[134]/.test(Zt.type)){const Ht=Et(Zt.value);Ht&&de("//"+Ht),R=!0}else if(Zt.type=="comment2"){const Ht=Et(Zt.value);Ht&&de("/*"+Ht+"*/"),O=!0}}}),T.length()>Mn&&(U=Mn)}}}const Dt=t._destroy_ast?function(De){De.body.length=0,De.argnames.length=0}:hr;var Jt=[];return{get:jt,toString:jt,indent:he,in_directive:!1,use_asm:null,active_scope:null,indentation:function(){return u},current_width:function(){return h-u},should_break:function(){return t.width&&this.current_width()>=t.width},has_parens:function(){return b},newline:Ae,print:de,star:ye,space:te,comma:Ee,colon:me,last:function(){return X},semicolon:we,force_semicolon:_e,to_utf8:P,print_name:function(ie){de($(ie))},print_string:function(ie,De,pe){var bt=F(ie,De);pe===!0&&!bt.includes("\\")&&(T.expectDirective()||_e(),_e()),de(bt)},print_template_string_chars:function(ie){var De=F(ie,"`").replace(/\${/g,"\\${");return de(De.substr(1,De.length-2))},encode_string:F,next_indent:Ue,with_indent:le,with_block:J,with_parens:ne,with_square:ae,add_mapping:At,option:function(ie){return t[ie]},gc_scope:Dt,printed_comments:x,prepend_comments:e?hr:Lt,append_comments:e||n===vt?hr:gt,line:function(){return m},col:function(){return h},pos:function(){return _},push_node:function(ie){Jt.push(ie)},pop_node:function(){return Jt.pop()},parent:function(ie){return Jt[Jt.length-2-(ie||0)]}}}(function(){function t(y,g){y.DEFMETHOD("_codegen",g)}Te.DEFMETHOD("print",function(y,g){var D=this,R=D._codegen;D instanceof qe?y.active_scope=D:!y.use_asm&&D instanceof Qn&&D.value=="use asm"&&(y.use_asm=y.active_scope);function O(){y.prepend_comments(D),D.add_source_map(y),R(D,y),y.append_comments(D)}y.push_node(D),g||D.needs_parens(y)?y.with_parens(O):O(),y.pop_node(),D===y.use_asm&&(y.use_asm=null)}),Te.DEFMETHOD("_print",Te.prototype.print),Te.DEFMETHOD("print_to_string",function(y){var g=Nl(y);return this.print(g),g.get()});function e(y,g){Array.isArray(y)?y.forEach(function(D){e(D,g)}):y.DEFMETHOD("needs_parens",g)}e(Te,vt),e(Ft,function(y){if(!y.has_parens()&&ii(y))return!0;if(y.option("webkit")){var g=y.parent();if(g instanceof Xe&&g.expression===this)return!0}if(y.option("wrap_iife")){var g=y.parent();if(g instanceof je&&g.expression===this)return!0}if(y.option("wrap_func_args")){var g=y.parent();if(g instanceof je&&g.args.includes(this))return!0}return!1}),e(qt,function(y){var g=y.parent();return y.option("wrap_func_args")&&g instanceof je&&g.args.includes(this)?!0:g instanceof Xe&&g.expression===this||g instanceof tt&&g.condition===this}),e(Nt,function(y){return!y.has_parens()&&ii(y)}),e(bi,ii),e(Wt,function(y){var g=y.parent();return g instanceof Xe&&g.expression===this||g instanceof je&&g.expression===this||g instanceof oe&&g.operator==="**"&&this instanceof We&&g.left===this&&this.operator!=="++"&&this.operator!=="--"}),e(dr,function(y){var g=y.parent();return g instanceof Xe&&g.expression===this||g instanceof je&&g.expression===this||g instanceof oe&&g.operator==="**"&&g.left===this||y.option("safari10")&&g instanceof We}),e(lt,function(y){var g=y.parent();return g instanceof je||g instanceof Wt||g instanceof oe||g instanceof Mt||g instanceof Xe||g instanceof St||g instanceof un||g instanceof tt||g instanceof qt||g instanceof Dr||g instanceof ht||g instanceof go&&this===g.object||g instanceof yr||g instanceof On}),e(oe,function(y){var g=y.parent();if(g instanceof je&&g.expression===this||g instanceof Wt||g instanceof Xe&&g.expression===this)return!0;if(g instanceof oe){const D=g.operator,R=this.operator;if(R==="??"&&(D==="||"||D==="&&")||D==="??"&&(R==="||"||R==="&&"))return!0;const O=Ar[D],U=Ar[R];if(O>U||O==U&&(this===g.right||D=="**"))return!0}if(g instanceof ti){const D=this.operator,R=Ar.in,O=Ar[D];if(R>O||R==O&&this===g.value)return!0}}),e(ti,function(y){var g=y.parent();if(g instanceof je&&g.expression===this||g instanceof Wt||g instanceof Xe&&g.expression===this)return!0;if(g instanceof oe){const D=g.operator,R=Ar[D],O=Ar.in;if(R>O||R==O&&(this===g.right||D=="**"))return!0}if(g instanceof ti&&this===g.value)return!0}),e(yr,function(y){var g=y.parent();if(g instanceof oe&&g.operator!=="="||g instanceof je&&g.expression===this||g instanceof tt&&g.condition===this||g instanceof Wt||g instanceof Xe&&g.expression===this)return!0}),e(mn,function(y){var g=y.parent();return g instanceof je||g instanceof Xe?g.expression===this:!1}),e(Xe,function(y){var g=y.parent();if(g instanceof er&&g.expression===this)return Nn(this,D=>{if(D instanceof qe)return!0;if(D instanceof je)return lr})}),e(je,function(y){var g=y.parent(),D;return g instanceof er&&g.expression===this||g instanceof On&&g.is_default&&this.expression instanceof Ft?!0:this.expression instanceof Ft&&g instanceof Xe&&g.expression===this&&(D=y.parent(1))instanceof st&&D.left===g}),e(er,function(y){var g=y.parent();if(this.args.length===0&&(g instanceof Xe||g instanceof je&&g.expression===this||g instanceof Br&&g.prefix===this))return!0}),e(Je,function(y){var g=y.parent();if(g instanceof Xe&&g.expression===this){var D=this.getValue();if(D<0||/^0/.test($(D)))return!0}}),e(ri,function(y){var g=y.parent();if(g instanceof Xe&&g.expression===this){var D=this.getValue();if(D.startsWith("-"))return!0}}),e([st,tt],function(y){var g=y.parent();if(g instanceof Wt||g instanceof oe&&!(g instanceof st)||g instanceof je&&g.expression===this||g instanceof tt&&g.condition===this||g instanceof Xe&&g.expression===this||this instanceof st&&this.left instanceof Vt&&this.left.is_array===!1)return!0}),t(Qn,function(y,g){g.print_string(y.value,y.quote),g.semicolon()}),t(ht,function(y,g){g.print("..."),y.expression.print(g)}),t(Vt,function(y,g){g.print(y.is_array?"[":"{");var D=y.names.length;y.names.forEach(function(R,O){O>0&&g.comma(),R.print(g),O==D-1&&R instanceof Cr&&g.comma()}),g.print(y.is_array?"]":"}")}),t(Ni,function(y,g){g.print("debugger"),g.semicolon()});function n(y,g,D,R){var O=y.length-1;D.in_directive=R,y.forEach(function(U,X){D.in_directive===!0&&!(U instanceof Qn||U instanceof Rt||U instanceof He&&U.body instanceof dt)&&(D.in_directive=!1),U instanceof Rt||(D.indent(),U.print(D),X==O&&g||(D.newline(),g&&D.newline())),D.in_directive===!0&&U instanceof He&&U.body instanceof dt&&(D.in_directive=!1)}),D.in_directive=!1}_o.DEFMETHOD("_do_print_body",function(y){A(this.body,y)}),t(Cn,function(y,g){y.body.print(g),g.semicolon()}),t(zt,function(y,g){n(y.body,!0,g,!0),g.print("")}),t(Yn,function(y,g){y.label.print(g),g.colon(),y.body.print(g)}),t(He,function(y,g){y.body.print(g),g.semicolon()});function o(y,g){g.print("{"),g.with_indent(g.next_indent(),function(){g.append_comments(y,!0)}),g.add_mapping(y.end),g.print("}")}function u(y,g,D){y.body.length>0?g.with_block(function(){n(y.body,!1,g,D),g.add_mapping(y.end)}):o(y,g)}t(Ye,function(y,g){u(y,g)}),t(Rt,function(y,g){g.semicolon()}),t(di,function(y,g){g.print("do"),g.space(),V(y.body,g),g.space(),g.print("while"),g.space(),g.with_parens(function(){y.condition.print(g)}),g.semicolon()}),t(Pi,function(y,g){g.print("while"),g.space(),g.with_parens(function(){y.condition.print(g)}),g.space(),y._do_print_body(g)}),t(En,function(y,g){g.print("for"),g.space(),g.with_parens(function(){y.init?(y.init instanceof sn?y.init.print(g):m(y.init,g,!0),g.print(";"),g.space()):g.print(";"),y.condition?(y.condition.print(g),g.print(";"),g.space()):g.print(";"),y.step&&y.step.print(g)}),g.space(),y._do_print_body(g)}),t(Kn,function(y,g){g.print("for"),y.await&&(g.space(),g.print("await")),g.space(),g.with_parens(function(){y.init.print(g),g.space(),g.print(y instanceof go?"of":"in"),g.space(),y.object.print(g)}),g.space(),y._do_print_body(g)}),t(pr,function(y,g){g.print("with"),g.space(),g.with_parens(function(){y.expression.print(g)}),g.space(),y._do_print_body(g)}),Ke.DEFMETHOD("_do_print",function(y,g){var D=this;g||(D.async&&(y.print("async"),y.space()),y.print("function"),D.is_generator&&y.star(),D.name&&y.space()),D.name instanceof pt?D.name.print(y):g&&D.name instanceof Te&&y.with_square(function(){D.name.print(y)}),y.with_parens(function(){D.argnames.forEach(function(R,O){O&&y.comma(),R.print(y)})}),y.space(),u(D,y,!0)}),t(Ke,function(y,g){y._do_print(g),g.gc_scope(y)}),t(Br,function(y,g){var D=y.prefix,R=D instanceof Ke||D instanceof oe||D instanceof tt||D instanceof lt||D instanceof Wt||D instanceof $t&&D.expression instanceof Nt;R&&g.print("("),y.prefix.print(g),R&&g.print(")"),y.template_string.print(g)}),t(zn,function(y,g){var D=g.parent()instanceof Br;g.print("`");for(var R=0;R<y.segments.length;R++)y.segments[R]instanceof yi?D?g.print(y.segments[R].raw):g.print_template_string_chars(y.segments[R].value):(g.print("${"),y.segments[R].print(g),g.print("}"));g.print("`")}),t(yi,function(y,g){g.print_template_string_chars(y.value)}),qt.DEFMETHOD("_do_print",function(y){var g=this,D=y.parent(),R=D instanceof oe&&!(D instanceof st)||D instanceof Wt||D instanceof je&&g===D.expression;R&&y.print("("),g.async&&(y.print("async"),y.space()),g.argnames.length===1&&g.argnames[0]instanceof pt?g.argnames[0].print(y):y.with_parens(function(){g.argnames.forEach(function(U,X){X&&y.comma(),U.print(y)})}),y.space(),y.print("=>"),y.space();const O=g.body[0];if(g.body.length===1&&O instanceof an){const U=O.value;U?Hi(U)?(y.print("("),U.print(y),y.print(")")):U.print(y):y.print("{}")}else u(g,y);R&&y.print(")"),y.gc_scope(g)}),ar.DEFMETHOD("_do_print",function(y,g){if(y.print(g),this.value){y.space();const D=this.value.start.comments_before;D&&D.length&&!y.printed_comments.has(D)?(y.print("("),this.value.print(y),y.print(")")):this.value.print(y)}y.semicolon()}),t(an,function(y,g){y._do_print(g,"return")}),t(cs,function(y,g){y._do_print(g,"throw")}),t(yr,function(y,g){var D=y.is_star?"*":"";g.print("yield"+D),y.expression&&(g.space(),y.expression.print(g))}),t(dr,function(y,g){g.print("await"),g.space();var D=y.expression,R=!(D instanceof je||D instanceof Se||D instanceof Xe||D instanceof Wt||D instanceof Tt||D instanceof dr||D instanceof Nt);R&&g.print("("),y.expression.print(g),R&&g.print(")")}),Wr.DEFMETHOD("_do_print",function(y,g){y.print(g),this.label&&(y.space(),this.label.print(y)),y.semicolon()}),t(xr,function(y,g){y._do_print(g,"break")}),t(eo,function(y,g){y._do_print(g,"continue")});function h(y,g){var D=y.body;if(g.option("braces")||g.option("ie8")&&D instanceof di)return V(D,g);if(!D)return g.force_semicolon();for(;;)if(D instanceof wt){if(!D.alternative){V(y.body,g);return}D=D.alternative}else if(D instanceof _o)D=D.body;else break;A(y.body,g)}t(wt,function(y,g){g.print("if"),g.space(),g.with_parens(function(){y.condition.print(g)}),g.space(),y.alternative?(h(y,g),g.space(),g.print("else"),g.space(),y.alternative instanceof wt?y.alternative.print(g):A(y.alternative,g)):y._do_print_body(g)}),t($n,function(y,g){g.print("switch"),g.space(),g.with_parens(function(){y.expression.print(g)}),g.space();var D=y.body.length-1;D<0?o(y,g):g.with_block(function(){y.body.forEach(function(R,O){g.indent(!0),R.print(g),O<D&&R.body.length>0&&g.newline()})})}),Fi.DEFMETHOD("_do_print_body",function(y){y.newline(),this.body.forEach(function(g){y.indent(),g.print(y),y.newline()})}),t(bo,function(y,g){g.print("default:"),y._do_print_body(g)}),t(Xr,function(y,g){g.print("case"),g.space(),y.expression.print(g),g.print(":"),y._do_print_body(g)}),t(mr,function(y,g){g.print("try"),g.space(),y.body.print(g),y.bcatch&&(g.space(),y.bcatch.print(g)),y.bfinally&&(g.space(),y.bfinally.print(g))}),t(Du,function(y,g){u(y,g)}),t(qr,function(y,g){g.print("catch"),y.argname&&(g.space(),g.with_parens(function(){y.argname.print(g)})),g.space(),u(y,g)}),t(Ko,function(y,g){g.print("finally"),g.space(),u(y,g)}),sn.DEFMETHOD("_do_print",function(y,g){y.print(g),y.space(),this.definitions.forEach(function(U,X){X&&y.comma(),U.print(y)});var D=y.parent(),R=D instanceof En||D instanceof Kn,O=!R||D&&D.init!==this;O&&y.semicolon()}),t(Yr,function(y,g){y._do_print(g,"let")}),t(kn,function(y,g){y._do_print(g,"var")}),t(Jr,function(y,g){y._do_print(g,"const")}),t(Or,function(y,g){g.print("import"),g.space(),y.imported_name&&y.imported_name.print(g),y.imported_name&&y.imported_names&&(g.print(","),g.space()),y.imported_names&&(y.imported_names.length===1&&y.imported_names[0].foreign_name.name==="*"&&!y.imported_names[0].foreign_name.quote?y.imported_names[0].print(g):(g.print("{"),y.imported_names.forEach(function(D,R){g.space(),D.print(g),R<y.imported_names.length-1&&g.print(",")}),g.space(),g.print("}"))),(y.imported_name||y.imported_names)&&(g.space(),g.print("from"),g.space()),y.module_name.print(g),y.assert_clause&&(g.print("assert"),y.assert_clause.print(g)),g.semicolon()}),t(Mi,function(y,g){g.print("import.meta")}),t(Zr,function(y,g){var D=g.parent()instanceof Or,R=y.name.definition(),O=y.foreign_name,U=(R&&R.mangled_name||y.name.name)!==O.name;!U&&O.name==="*"&&O.quote!=y.name.quote&&(U=!0);var X=O.quote==null;U?(D?X?g.print(O.name):g.print_string(O.name,O.quote):y.name.quote==null?y.name.print(g):g.print_string(y.name.name,y.name.quote),g.space(),g.print("as"),g.space(),D?y.name.print(g):X?g.print(O.name):g.print_string(O.name,O.quote)):y.name.quote==null?y.name.print(g):g.print_string(y.name.name,y.name.quote)}),t(On,function(y,g){if(g.print("export"),g.space(),y.is_default&&(g.print("default"),g.space()),y.exported_names)y.exported_names.length===1&&y.exported_names[0].name.name==="*"&&!y.exported_names[0].name.quote?y.exported_names[0].print(g):(g.print("{"),y.exported_names.forEach(function(D,R){g.space(),D.print(g),R<y.exported_names.length-1&&g.print(",")}),g.space(),g.print("}"));else if(y.exported_value)y.exported_value.print(g);else if(y.exported_definition&&(y.exported_definition.print(g),y.exported_definition instanceof sn))return;y.module_name&&(g.space(),g.print("from"),g.space(),y.module_name.print(g)),y.assert_clause&&(g.print("assert"),y.assert_clause.print(g)),(y.exported_value&&!(y.exported_value instanceof Qt||y.exported_value instanceof Ft||y.exported_value instanceof _t)||y.module_name||y.exported_names)&&g.semicolon()});function m(y,g,D){var R=!1;D&&(R=Nn(y,O=>{if(O instanceof qe&&!(O instanceof qt))return!0;if(O instanceof oe&&O.operator=="in"||O instanceof ti)return lr})),y.print(g,R)}t(Mt,function(y,g){if(y.name.print(g),y.value){g.space(),g.print("="),g.space();var D=g.parent(1),R=D instanceof En||D instanceof Kn;m(y.value,g,R)}}),t(je,function(y,g){y.expression.print(g),!(y instanceof er&&y.args.length===0)&&((y.expression instanceof je||y.expression instanceof Ke)&&g.add_mapping(y.start),y.optional&&g.print("?."),g.with_parens(function(){y.args.forEach(function(D,R){R&&g.comma(),D.print(g)})}))}),t(er,function(y,g){g.print("new"),g.space(),je.prototype._codegen(y,g)}),lt.DEFMETHOD("_do_print",function(y){this.expressions.forEach(function(g,D){D>0&&(y.comma(),y.should_break()&&(y.newline(),y.indent())),g.print(y)})}),t(lt,function(y,g){y._do_print(g)}),t($t,function(y,g){var D=y.expression;D.print(g);var R=y.property,O=Qi.has(R)?g.option("ie8"):!Hp(R,g.option("ecma")>=2015&&!g.option("safari10"));y.optional&&g.print("?."),O?(g.print("["),g.add_mapping(y.end),g.print_string(R),g.print("]")):(D instanceof Je&&D.getValue()>=0&&(/[xa-f.)]/i.test(g.last())||g.print(".")),y.optional||g.print("."),g.add_mapping(y.end),g.print_name(R))}),t(Ur,function(y,g){var D=y.expression;D.print(g);var R=y.property;y.optional&&g.print("?"),g.print(".#"),g.add_mapping(y.end),g.print_name(R)}),t(Sn,function(y,g){y.expression.print(g),y.optional&&g.print("?."),g.print("["),y.property.print(g),g.print("]")}),t(mn,function(y,g){y.expression.print(g)}),t(We,function(y,g){var D=y.operator;D==="--"&&g.last().endsWith("!")&&g.print(" "),g.print(D),(/^[a-z]/i.test(D)||/[+-]$/.test(D)&&y.expression instanceof We&&/^[+-]/.test(y.expression.operator))&&g.space(),y.expression.print(g)}),t(Li,function(y,g){y.expression.print(g),g.print(y.operator)}),t(oe,function(y,g){var D=y.operator;y.left.print(g),D[0]==">"&&g.last().endsWith("--")?g.print(" "):g.space(),g.print(D),g.space(),y.right.print(g)}),t(tt,function(y,g){y.condition.print(g),g.space(),g.print("?"),g.space(),y.consequent.print(g),g.space(),g.colon(),y.alternative.print(g)}),t(St,function(y,g){g.with_square(function(){var D=y.elements,R=D.length;R>0&&g.space(),D.forEach(function(O,U){U&&g.comma(),O.print(g),U===R-1&&O instanceof Cr&&g.comma()}),R>0&&g.space()})}),t(Nt,function(y,g){y.properties.length>0?g.with_block(function(){y.properties.forEach(function(D,R){R&&(g.print(","),g.newline()),g.indent(),D.print(g)}),g.newline()}):o(y,g)}),t(_t,function(y,g){if(g.print("class"),g.space(),y.name&&(y.name.print(g),g.space()),y.extends){var D=!(y.extends instanceof Se)&&!(y.extends instanceof Xe)&&!(y.extends instanceof bi)&&!(y.extends instanceof Ft);g.print("extends"),D?g.print("("):g.space(),y.extends.print(g),D?g.print(")"):g.space()}y.properties.length>0?g.with_block(function(){y.properties.forEach(function(R,O){O&&g.newline(),g.indent(),R.print(g)}),g.newline()}):g.print("{}")}),t(zo,function(y,g){g.print("new.target")});function _(y,g,D){if(D.option("quote_keys"))return D.print_string(y),!1;if(""+ +y==y&&y>=0)return D.option("keep_numbers")?(D.print(y),!1):(D.print($(y)),!1);var R=Qi.has(y)?D.option("ie8"):D.option("ecma")<2015||D.option("safari10")?!Su(y):!Hp(y,!0);return R||g&&D.option("keep_quoted_props")?(D.print_string(y,g),!1):(D.print_name(y),!0)}t(Yt,function(y,g){function D(O){var U=O.definition();return U?U.mangled_name||U.name:O.name}const R=g.option("shorthand")&&!(y.key instanceof Te);R&&y.value instanceof pt&&D(y.value)===y.key&&!Qi.has(y.key)?_(y.key,y.quote,g)||(g.colon(),y.value.print(g)):R&&y.value instanceof Dr&&y.value.left instanceof pt&&D(y.value.left)===y.key?(_(y.key,y.quote,g)||(g.colon(),y.value.left.print(g)),g.space(),g.print("="),g.space(),y.value.right.print(g)):(y.key instanceof Te?g.with_square(function(){y.key.print(g)}):_(y.key,y.quote,g),g.colon(),y.value.print(g))}),t(gi,(y,g)=>{y.static&&(g.print("static"),g.space()),g.print("#"),_(y.key.name,y.quote,g),y.value&&(g.print("="),y.value.print(g)),g.semicolon()}),t(sr,(y,g)=>{y.static&&(g.print("static"),g.space()),y.key instanceof Vi?_(y.key.name,y.quote,g):(g.print("["),y.key.print(g),g.print("]")),y.value&&(g.print("="),y.value.print(g)),g.semicolon()}),un.DEFMETHOD("_print_getter_setter",function(y,g,D){var R=this;R.static&&(D.print("static"),D.space()),y&&(D.print(y),D.space()),R.key instanceof Ln?(g&&D.print("#"),_(R.key.name,R.quote,D),R.key.add_source_map(D)):D.with_square(function(){R.key.print(D)}),R.value._do_print(D,!0)}),t(ei,function(y,g){y._print_getter_setter("set",!1,g)}),t(Vr,function(y,g){y._print_getter_setter("get",!1,g)}),t(mi,function(y,g){y._print_getter_setter("set",!0,g)}),t(Qr,function(y,g){y._print_getter_setter("get",!0,g)}),t(_i,function(y,g){var D;y.is_generator&&y.async?D="async*":y.is_generator?D="*":y.async&&(D="async"),y._print_getter_setter(D,!0,g)}),t(ti,function(y,g){y.key.print(g),g.space(),g.print("in"),g.space(),y.value.print(g)}),t(fs,function(y,g){g.print("#"+y.name)}),t(Fn,function(y,g){var D;y.is_generator&&y.async?D="async*":y.is_generator?D="*":y.async&&(D="async"),y._print_getter_setter(D,!1,g)}),t(Wn,function(y,g){g.print("static"),g.space(),u(y,g)}),pt.DEFMETHOD("_do_print",function(y){var g=this.definition();y.print_name(g?g.mangled_name||g.name:this.name)}),t(pt,function(y,g){y._do_print(g)}),t(Cr,hr),t(Bn,function(y,g){g.print("this")}),t(Xo,function(y,g){g.print("super")}),t(Tt,function(y,g){g.print(y.getValue())}),t(dt,function(y,g){g.print_string(y.getValue(),y.quote,g.in_directive)}),t(Je,function(y,g){(g.option("keep_numbers")||g.use_asm)&&y.raw?g.print(y.raw):g.print($(y.getValue()))}),t(ri,function(y,g){g.print(y.getValue()+"n")});const T=/(<\s*\/\s*script)/i,x=/^\s*script/i,P=(y,g)=>g.replace("/","\\/");t(ur,function(y,g){let{source:D,flags:R}=y.getValue();D=du(D),R=R?qm(R):"",D=D.replace(T,P),x.test(D)&&g.last().endsWith("<")&&g.print(" "),g.print(g.to_utf8(`/${D}/${R}`,!1,!0));const O=g.parent();O instanceof oe&&/^\w/.test(O.operator)&&O.left===y&&g.print(" ")});function A(y,g){g.option("braces")?V(y,g):!y||y instanceof Rt?g.force_semicolon():y instanceof Yr||y instanceof Jr||y instanceof _t?V(y,g):y.print(g)}function F(y){for(var g=y[0],D=g.length,R=1;R<y.length;++R)y[R].length<D&&(g=y[R],D=g.length);return g}function $(y){var g=y.toString(10).replace(/^0\./,".").replace("e+","e"),D=[g];Math.floor(y)===y&&(y<0?D.push("-0x"+(-y).toString(16).toLowerCase()):D.push("0x"+y.toString(16).toLowerCase()));var R,O,U;return(R=/^\.0+/.exec(g))?(O=R[0].length,U=g.slice(O),D.push(U+"e-"+(U.length+O-1))):(R=/0+$/.exec(g))?(O=R[0].length,D.push(g.slice(0,-O)+"e"+O)):(R=/^(\d)\.(\d+)e(-?\d+)$/.exec(g))&&D.push(R[1]+R[2]+"e"+(R[3]-R[2].length)),F(D)}function V(y,g){!y||y instanceof Rt?g.print("{}"):y instanceof Ye?y.print(g):g.with_block(function(){g.indent(),y.print(g),g.newline()})}function b(y,g){y.forEach(function(D){D.DEFMETHOD("add_source_map",g)})}b([Te,Yn,zt],hr),b([St,Ye,qr,_t,Tt,Ni,sn,Qn,Ko,us,Ke,er,Nt,_o,pt,$n,Fi,zn,yi,mr],function(y){y.add_mapping(this.start)}),b([Vr,ei,Qr,mi,Fn,_i],function(y){y.add_mapping(this.start,!1)}),b([Ln,fs],function(y){const g=this.end&&this.end.type;g==="name"||g==="privatename"?y.add_mapping(this.end,this.name):y.add_mapping(this.end)}),b([un],function(y){y.add_mapping(this.start,this.key)})})();const ed=(t,e)=>t===null&&e===null||t.TYPE===e.TYPE&&t.shallow_cmp(e),__=(t,e)=>{if(!ed(t,e))return!1;const n=[t],o=[e],u=n.push.bind(n),h=o.push.bind(o);for(;n.length&&o.length;){const m=n.pop(),_=o.pop();if(!ed(m,_)||(m._children_backwards(u),_._children_backwards(h),n.length!==o.length))return!1}return n.length==0&&o.length==0},Pt=()=>!0;Te.prototype.shallow_cmp=function(){throw new Error("did not find a shallow_cmp function for "+this.constructor.name)},Ni.prototype.shallow_cmp=Pt,Qn.prototype.shallow_cmp=function(t){return this.value===t.value},He.prototype.shallow_cmp=Pt,vn.prototype.shallow_cmp=Pt,Rt.prototype.shallow_cmp=Pt,Yn.prototype.shallow_cmp=function(t){return this.label.name===t.label.name},di.prototype.shallow_cmp=Pt,Pi.prototype.shallow_cmp=Pt,En.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)},Kn.prototype.shallow_cmp=Pt,go.prototype.shallow_cmp=Pt,pr.prototype.shallow_cmp=Pt,zt.prototype.shallow_cmp=Pt,ht.prototype.shallow_cmp=Pt,Ke.prototype.shallow_cmp=function(t){return this.is_generator===t.is_generator&&this.async===t.async},Vt.prototype.shallow_cmp=function(t){return this.is_array===t.is_array},Br.prototype.shallow_cmp=Pt,zn.prototype.shallow_cmp=Pt,yi.prototype.shallow_cmp=function(t){return this.value===t.value},us.prototype.shallow_cmp=Pt,Wr.prototype.shallow_cmp=Pt,dr.prototype.shallow_cmp=Pt,yr.prototype.shallow_cmp=function(t){return this.is_star===t.is_star},wt.prototype.shallow_cmp=function(t){return this.alternative==null?t.alternative==null:this.alternative===t.alternative},$n.prototype.shallow_cmp=Pt,Fi.prototype.shallow_cmp=Pt,mr.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)},qr.prototype.shallow_cmp=function(t){return this.argname==null?t.argname==null:this.argname===t.argname},Ko.prototype.shallow_cmp=Pt,sn.prototype.shallow_cmp=Pt,Mt.prototype.shallow_cmp=function(t){return this.value==null?t.value==null:this.value===t.value},Zr.prototype.shallow_cmp=Pt,Or.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)},Mi.prototype.shallow_cmp=Pt,On.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},je.prototype.shallow_cmp=Pt,lt.prototype.shallow_cmp=Pt,Xe.prototype.shallow_cmp=Pt,mn.prototype.shallow_cmp=Pt,$t.prototype.shallow_cmp=function(t){return this.property===t.property},Ur.prototype.shallow_cmp=function(t){return this.property===t.property},Wt.prototype.shallow_cmp=function(t){return this.operator===t.operator},oe.prototype.shallow_cmp=function(t){return this.operator===t.operator},tt.prototype.shallow_cmp=Pt,St.prototype.shallow_cmp=Pt,Nt.prototype.shallow_cmp=Pt,un.prototype.shallow_cmp=Pt,Yt.prototype.shallow_cmp=function(t){return this.key===t.key},ei.prototype.shallow_cmp=function(t){return this.static===t.static},Vr.prototype.shallow_cmp=function(t){return this.static===t.static},Fn.prototype.shallow_cmp=function(t){return this.static===t.static&&this.is_generator===t.is_generator&&this.async===t.async},_t.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)},sr.prototype.shallow_cmp=function(t){return this.static===t.static},pt.prototype.shallow_cmp=function(t){return this.name===t.name},zo.prototype.shallow_cmp=Pt,Bn.prototype.shallow_cmp=Pt,Xo.prototype.shallow_cmp=Pt,dt.prototype.shallow_cmp=function(t){return this.value===t.value},Je.prototype.shallow_cmp=function(t){return this.value===t.value},ri.prototype.shallow_cmp=function(t){return this.value===t.value},ur.prototype.shallow_cmp=function(t){return this.value.flags===t.value.flags&&this.value.source===t.value.source},no.prototype.shallow_cmp=Pt;const wu=1,g_=2;let qo=null,Yo=null,Jo=null;class Zo{constructor(e,n,o){this.name=n.name,this.orig=[n],this.init=o,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=Zo.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 Te?this.fixed:this.fixed()}unmangleable(e){return e||(e={}),qo&&qo.has(this.id)&&Go(e.keep_fnames,this.orig[0].name)?!0:this.global&&!e.toplevel||this.export&wu||this.undeclared||!e.eval&&this.scope.pinned()||(this.orig[0]instanceof ni||this.orig[0]instanceof vi)&&Go(e.keep_fnames,this.orig[0].name)||this.orig[0]instanceof Ln||(this.orig[0]instanceof ku||this.orig[0]instanceof Cu)&&Go(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 o=this.scope,u=this.orig[0];e.ie8&&u instanceof ni&&(o=o.parent_scope);const h=Pl(this);this.mangled_name=h?h.mangled_name||h.name:o.next_mangled(e,this),this.global&&n&&n.set(this.name,this.mangled_name)}}}Zo.next_id=1;function Pl(t){if(t.orig[0]instanceof Hr&&t.scope.is_block_scope())return t.scope.get_defun_scope().variables.get(t.name)}qe.DEFMETHOD("figure_out_scope",function(t,{parent_scope:e=null,toplevel:n=this}={}){if(t=pi(t,{cache:null,ie8:!1,safari10:!1,module:!1}),!(n instanceof zt))throw new Error("Invalid toplevel scope");var o=this.parent_scope=e,u=new Map,h=null,m=null,_=[],P=new Pn((A,F)=>{if(A.is_block_scope()){const O=o;if(A.block_scope=o=new qe(A),o._block_scope=!0,o.init_scope_vars(O),o.uses_with=O.uses_with,o.uses_eval=O.uses_eval,t.safari10&&(A instanceof En||A instanceof Kn||A instanceof go)&&_.push(o),A instanceof $n){const U=o;o=O,A.expression.walk(P),o=U;for(let X=0;X<A.body.length;X++)A.body[X].walk(P)}else F();return o=O,!0}if(A instanceof Vt){const O=m;return m=A,F(),m=O,!0}if(A instanceof qe){A.init_scope_vars(o);var $=o,V=h,b=u;return h=o=A,u=new Map,F(),o=$,h=V,u=b,!0}if(A instanceof Yn){var y=A.label;if(u.has(y.name))throw new Error(hu("Label {name} defined twice",y));return u.set(y.name,y),F(),u.delete(y.name),!0}if(A instanceof pr){for(var g=o;g;g=g.parent_scope)g.uses_with=!0;return}if(A instanceof pt&&(A.scope=o),A instanceof ls&&(A.thedef=A,A.references=[]),A instanceof ni)h.def_function(A,A.name=="arguments"?void 0:h);else if(A instanceof vi){const O=h.parent_scope;A.scope=P.directives["use strict"]?O:O.get_defun_scope(),T(A.scope.def_function(A,h),1)}else if(A instanceof ku)T(h.def_variable(A,h),1);else if(A instanceof Wo)o.def_variable(A);else if(A instanceof Cu)T((A.scope=h.parent_scope).def_function(A,h),1);else if(A instanceof Bi||A instanceof $o||A instanceof to||A instanceof Hr){var D;if(A instanceof Ui?D=o.def_variable(A,null):D=h.def_variable(A,A.TYPE=="SymbolVar"?null:void 0),D.orig.every(O=>O===A?!0:A instanceof Ui?O instanceof ni:!(O instanceof $o||O instanceof to))||Tu(`"${A.name}" is redeclared`,A.start.file,A.start.line,A.start.col,A.start.pos),A instanceof wn||T(D,2),h!==o){A.mark_enclosed();var D=o.find_variable(A);A.thedef!==D&&(A.thedef=D,A.reference())}}else if(A instanceof kl){var R=u.get(A.name);if(!R)throw new Error(hu("Undefined label {name} [{line},{col}]",{name:A.name,line:A.start.line,col:A.start.col}));A.thedef=R}!(o instanceof zt)&&(A instanceof On||A instanceof Or)&&Tu(`"${A.TYPE}" statement may only appear at the top level`,A.start.file,A.start.line,A.start.col,A.start.pos)});t.module&&(P.directives["use strict"]=!0),this.walk(P);function T(A,F){if(m){var $=0;do F++;while(P.parent($++)!==m)}var V=P.parent(F);if(A.export=V instanceof On?wu:0){var b=V.exported_definition;(b instanceof Qt||b instanceof jr)&&V.is_default&&(A.export=g_)}}this instanceof zt&&(this.globals=new Map);var P=new Pn(A=>{if(A instanceof Wr&&A.label)return A.label.thedef.references.push(A),!0;if(A instanceof Se){var F=A.name;if(F=="eval"&&P.parent()instanceof je)for(var $=A.scope;$&&!$.uses_eval;$=$.parent_scope)$.uses_eval=!0;var V;return P.parent()instanceof Zr&&P.parent(1).module_name||!(V=A.scope.find_variable(F))?(V=n.def_global(A),A instanceof Eo&&(V.export=wu)):V.scope instanceof Ke&&F=="arguments"&&(V.scope.get_defun_scope().uses_arguments=!0),A.thedef=V,A.reference(),A.scope.is_block_scope()&&!(V.orig[0]instanceof Ui)&&(A.scope=A.scope.get_defun_scope()),!0}var b;if(A instanceof Hr&&(b=Pl(A.definition())))for(var $=A.scope;$&&(yo($.enclosed,b),$!==b.scope);)$=$.parent_scope});if(this.walk(P),(t.ie8||t.safari10)&&Nn(this,A=>{if(A instanceof Hr){var F=A.name,$=A.thedef.references,V=A.scope.get_defun_scope(),b=V.find_variable(F)||n.globals.get(F)||V.def_variable(A);return $.forEach(function(y){y.thedef=b,y.reference()}),A.thedef=b,A.reference(),!0}}),t.safari10)for(const A of _)A.parent_scope.variables.forEach(function(F){yo(A.enclosed,F)})}),zt.DEFMETHOD("def_global",function(t){var e=this.globals,n=t.name;if(e.has(n))return e.get(n);var o=new Zo(this,t);return o.undeclared=!0,o.global=!0,e.set(n,o),o}),qe.DEFMETHOD("init_scope_vars",function(t){this.variables=new Map,this.uses_with=!1,this.uses_eval=!1,this.parent_scope=t,this.enclosed=[],this.cname=-1}),qe.DEFMETHOD("conflicting_def",function(t){return this.enclosed.find(e=>e.name===t)||this.variables.has(t)||this.parent_scope&&this.parent_scope.conflicting_def(t)}),qe.DEFMETHOD("conflicting_def_shallow",function(t){return this.enclosed.find(e=>e.name===t)||this.variables.has(t)}),qe.DEFMETHOD("add_child_scope",function(t){if(t.parent_scope===this)return;t.parent_scope=this,t instanceof qt&&!this.uses_arguments&&(this.uses_arguments=Nn(t,u=>{if(u instanceof Se&&u.scope instanceof Ke&&u.name==="arguments")return lr;if(u instanceof Ke&&!(u instanceof qt))return!0})),this.uses_with=this.uses_with||t.uses_with,this.uses_eval=this.uses_eval||t.uses_eval;const e=(()=>{const u=[];let h=this;do u.push(h);while(h=h.parent_scope);return u.reverse(),u})(),n=new Set(t.enclosed),o=[];for(const u of e){o.forEach(h=>yo(u.enclosed,h));for(const h of u.variables.values())n.has(h)&&(yo(o,h),yo(u.enclosed,h))}});function b_(t){const e=new Set;for(const n of new Set(t))(function o(u){u==null||e.has(u)||(e.add(u),o(u.parent_scope))})(n);return[...e]}qe.DEFMETHOD("create_symbol",function(t,{source:e,tentative_name:n,scope:o,conflict_scopes:u=[o],init:h=null}={}){let m;if(u=b_(u),n){n=m=n.replace(/(?:^[^a-z_$]|[^a-z0-9_$])/ig,"_");let T=0;for(;u.find(x=>x.conflicting_def_shallow(m));)m=n+"$"+T++}if(!m)throw new Error("No symbol name could be generated in create_symbol()");const _=N(t,e,{name:m,scope:o});return this.def_variable(_,h||null),_.mark_enclosed(),_}),Te.DEFMETHOD("is_block_scope",vt),_t.DEFMETHOD("is_block_scope",vt),Ke.DEFMETHOD("is_block_scope",vt),zt.DEFMETHOD("is_block_scope",vt),Fi.DEFMETHOD("is_block_scope",vt),vn.DEFMETHOD("is_block_scope",Jn),qe.DEFMETHOD("is_block_scope",function(){return this._block_scope||!1}),Lr.DEFMETHOD("is_block_scope",Jn),Ke.DEFMETHOD("init_scope_vars",function(){qe.prototype.init_scope_vars.apply(this,arguments),this.uses_arguments=!1,this.def_variable(new wn({name:"arguments",start:this.start,end:this.end}))}),qt.DEFMETHOD("init_scope_vars",function(){qe.prototype.init_scope_vars.apply(this,arguments),this.uses_arguments=!1}),pt.DEFMETHOD("mark_enclosed",function(){for(var t=this.definition(),e=this.scope;e&&(yo(e.enclosed,t),e!==t.scope);)e=e.parent_scope}),pt.DEFMETHOD("reference",function(){this.definition().references.push(this),this.mark_enclosed()}),qe.DEFMETHOD("find_variable",function(t){return t instanceof pt&&(t=t.name),this.variables.get(t)||this.parent_scope&&this.parent_scope.find_variable(t)}),qe.DEFMETHOD("def_function",function(t,e){var n=this.def_variable(t,e);return(!n.init||n.init instanceof Qt)&&(n.init=e),n}),qe.DEFMETHOD("def_variable",function(t,e){var n=this.variables.get(t.name);return n?(n.orig.push(t),n.init&&(n.scope!==t.scope||n.init instanceof Ft)&&(n.init=e)):(n=new Zo(this,t,e),this.variables.set(t.name,n),n.global=!this.parent_scope),t.thedef=n});function Il(t,e){let n;Jo&&(n=t.get_defun_scope())&&Jo.has(n)&&(t=n);var o=t.enclosed,u=e.nth_identifier;e:for(;;){var h=u.get(++t.cname);if(!Qi.has(h)&&!e.reserved.has(h)){if(Yo&&Yo.has(h))continue e;for(let m=o.length;--m>=0;){const _=o[m],T=_.mangled_name||_.unmangleable(e)&&_.name;if(h==T)continue e}return h}}}qe.DEFMETHOD("next_mangled",function(t){return Il(this,t)}),zt.DEFMETHOD("next_mangled",function(t){let e;const n=this.mangled_names;do e=Il(this,t);while(n.has(e));return e}),Ft.DEFMETHOD("next_mangled",function(t,e){for(var n=e.orig[0]instanceof wn&&this.name&&this.name.definition(),o=n?n.mangled_name||n.name:null;;){var u=Il(this,t);if(!o||o!=u)return u}}),pt.DEFMETHOD("unmangleable",function(t){var e=this.definition();return!e||e.unmangleable(t)}),ls.DEFMETHOD("unmangleable",vt),pt.DEFMETHOD("unreferenced",function(){return!this.definition().references.length&&!this.scope.pinned()}),pt.DEFMETHOD("definition",function(){return this.thedef}),pt.DEFMETHOD("global",function(){return this.thedef.global});function Nu(t){return t=pi(t,{eval:!1,nth_identifier:ys,ie8:!1,keep_classnames:!1,keep_fnames:!1,module:!1,reserved:[],toplevel:!1}),t.module&&(t.toplevel=!0),!Array.isArray(t.reserved)&&!(t.reserved instanceof Set)&&(t.reserved=[]),t.reserved=new Set(t.reserved),t.reserved.add("arguments"),t}zt.DEFMETHOD("mangle_names",function(t){t=Nu(t);var e=t.nth_identifier,n=-1,o=[];t.keep_fnames&&(qo=new Set);const u=this.mangled_names=new Set;Yo=new Set,t.cache&&(this.globals.forEach(m),t.cache.props&&t.cache.props.forEach(function(_){u.add(_)}));var h=new Pn(function(_,T){if(_ instanceof Yn){var x=n;return T(),n=x,!0}if(_ instanceof Qt&&!(h.parent()instanceof qe)&&(Jo=Jo||new Set,Jo.add(_.parent_scope.get_defun_scope())),_ instanceof qe){_.variables.forEach(m);return}if(_.is_block_scope()){_.block_scope.variables.forEach(m);return}if(qo&&_ instanceof Mt&&_.value instanceof Ke&&!_.value.name&&Go(t.keep_fnames,_.name.name)){qo.add(_.name.definition().id);return}if(_ instanceof ls){let P;do P=e.get(++n);while(Qi.has(P));return _.mangled_name=P,!0}if(!(t.ie8||t.safari10)&&_ instanceof Hr){o.push(_.definition());return}});this.walk(h),(t.keep_fnames||t.keep_classnames)&&o.forEach(_=>{_.name.length<6&&_.unmangleable(t)&&Yo.add(_.name)}),o.forEach(_=>{_.mangle(t)}),qo=null,Yo=null,Jo=null;function m(_){_.export&wu?Yo.add(_.name):t.reserved.has(_.name)||o.push(_)}}),zt.DEFMETHOD("find_colliding_names",function(t){const e=t.cache&&t.cache.props,n=new Set;return t.reserved.forEach(o),this.globals.forEach(u),this.walk(new Pn(function(h){h instanceof qe&&h.variables.forEach(u),h instanceof Hr&&u(h.definition())})),n;function o(h){n.add(h)}function u(h){var m=h.name;if(h.global&&e&&e.has(m))m=e.get(m);else if(!h.unmangleable(t))return;o(m)}}),zt.DEFMETHOD("expand_names",function(t){t=Nu(t);var e=t.nth_identifier;e.reset&&e.sort&&(e.reset(),e.sort());var n=this.find_colliding_names(t),o=0;this.globals.forEach(h),this.walk(new Pn(function(m){m instanceof qe&&m.variables.forEach(h),m instanceof Hr&&h(m.definition())}));function u(){var m;do m=e.get(o++);while(n.has(m)||Qi.has(m));return m}function h(m){if(m.global&&t.cache||m.unmangleable(t)||t.reserved.has(m.name))return;const _=Pl(m),T=m.name=_?_.name:u();m.orig.forEach(function(x){x.name=T}),m.references.forEach(function(x){x.name=T})}}),Te.DEFMETHOD("tail_node",po),lt.DEFMETHOD("tail_node",function(){return this.expressions[this.expressions.length-1]}),zt.DEFMETHOD("compute_char_frequency",function(t){t=Nu(t);var e=t.nth_identifier;if(!e.reset||!e.consider||!e.sort)return;e.reset();try{Te.prototype.print=function(o,u){this._print(o,u),this instanceof pt&&!this.unmangleable(t)?e.consider(this.name,-1):t.properties&&(this instanceof Ur?e.consider("#"+this.property,-1):this instanceof $t?e.consider(this.property,-1):this instanceof Sn&&n(this.property))},e.consider(this.print_to_string(),1)}finally{Te.prototype.print=Te.prototype._print}e.sort();function n(o){o instanceof dt?e.consider(o.value,-1):o instanceof tt?(n(o.consequent),n(o.alternative)):o instanceof lt&&n(o.tail_node())}});const ys=(()=>{const t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_".split(""),e="0123456789".split("");let n,o;function u(){o=new Map,t.forEach(function(x){o.set(x,0)}),e.forEach(function(x){o.set(x,0)})}function h(x,P){for(var A=x.length;--A>=0;)o.set(x[A],o.get(x[A])+P)}function m(x,P){return o.get(P)-o.get(x)}function _(){n=Ip(t,m).concat(Ip(e,m))}u(),_();function T(x){var P="",A=54;x++;do x--,P+=n[x%A],x=Math.floor(x/A),A=64;while(x>0);return P}return{get:T,consider:h,reset:u,sort:_}})();let Pu;Te.prototype.size=function(t,e){Pu=t&&t._mangle_options;let n=0;return Yp(this,(o,u)=>{if(n+=o._size(u),o instanceof qt&&o.is_braceless())return n+=o.body[0].value._size(u),!0},e||t&&t.stack),Pu=void 0,n},Te.prototype._size=()=>0,Ni.prototype._size=()=>8,Qn.prototype._size=function(){return 2+this.value.length};const tn=t=>t.length&&t.length-1;vn.prototype._size=function(){return 2+tn(this.body)},zt.prototype._size=function(){return tn(this.body)},Rt.prototype._size=()=>1,Yn.prototype._size=()=>2,di.prototype._size=()=>9,Pi.prototype._size=()=>7,En.prototype._size=()=>8,Kn.prototype._size=()=>8,pr.prototype._size=()=>6,ht.prototype._size=()=>3;const ms=t=>(t.is_generator?1:0)+(t.async?6:0);Ii.prototype._size=function(){return ms(this)+4+tn(this.argnames)+tn(this.body)},Ft.prototype._size=function(t){return!!ii(t)*2+ms(this)+12+tn(this.argnames)+tn(this.body)},Qt.prototype._size=function(){return ms(this)+13+tn(this.argnames)+tn(this.body)},qt.prototype._size=function(){let t=2+tn(this.argnames);this.argnames.length===1&&this.argnames[0]instanceof pt||(t+=2);const e=this.is_braceless()?0:tn(this.body)+2;return ms(this)+t+e},Vt.prototype._size=()=>2,zn.prototype._size=function(){return 2+Math.floor(this.segments.length/2)*3},yi.prototype._size=function(){return this.value.length},an.prototype._size=function(){return this.value?7:6},cs.prototype._size=()=>6,xr.prototype._size=function(){return this.label?6:5},eo.prototype._size=function(){return this.label?9:8},wt.prototype._size=()=>4,$n.prototype._size=function(){return 8+tn(this.body)},Xr.prototype._size=function(){return 5+tn(this.body)},bo.prototype._size=function(){return 8+tn(this.body)},mr.prototype._size=()=>3,qr.prototype._size=function(){let t=7+tn(this.body);return this.argname&&(t+=2),t},Ko.prototype._size=function(){return 7+tn(this.body)},kn.prototype._size=function(){return 4+tn(this.definitions)},Yr.prototype._size=function(){return 4+tn(this.definitions)},Jr.prototype._size=function(){return 6+tn(this.definitions)},Mt.prototype._size=function(){return this.value?1:0},Zr.prototype._size=function(){return this.name?4:0},Or.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+tn(this.imported_names)),t},Mi.prototype._size=()=>11,On.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+tn(this.exported_names)),this.module_name&&(t+=5),t},je.prototype._size=function(){return this.optional?4+tn(this.args):2+tn(this.args)},er.prototype._size=function(){return 6+tn(this.args)},lt.prototype._size=function(){return tn(this.expressions)},$t.prototype._size=function(){return this.optional?this.property.length+2:this.property.length+1},Ur.prototype._size=function(){return this.optional?this.property.length+3:this.property.length+2},Sn.prototype._size=function(){return this.optional?4:2},Wt.prototype._size=function(){return this.operator==="typeof"?7:this.operator==="void"?5:this.operator.length},oe.prototype._size=function(t){if(this.operator==="in")return 4;let e=this.operator.length;return(this.operator==="+"||this.operator==="-")&&this.right instanceof Wt&&this.right.operator===this.operator&&(e+=1),this.needs_parens(t)&&(e+=2),e},tt.prototype._size=()=>3,St.prototype._size=function(){return 2+tn(this.elements)},Nt.prototype._size=function(t){let e=2;return ii(t)&&(e+=2),e+tn(this.properties)};const Iu=t=>typeof t=="string"?t.length:0;Yt.prototype._size=function(){return Iu(this.key)+1};const Fu=t=>t?7:0;Vr.prototype._size=function(){return 5+Fu(this.static)+Iu(this.key)},ei.prototype._size=function(){return 5+Fu(this.static)+Iu(this.key)},Fn.prototype._size=function(){return Fu(this.static)+Iu(this.key)+ms(this)},_i.prototype._size=function(){return Fn.prototype._size.call(this)+1},Qr.prototype._size=mi.prototype._size=function(){return Fn.prototype._size.call(this)+4},ti.prototype._size=function(){return 5},_t.prototype._size=function(){return(this.name?8:7)+(this.extends?8:0)},Wn.prototype._size=function(){return 8+tn(this.body)},sr.prototype._size=function(){return Fu(this.static)+(typeof this.key=="string"?this.key.length+2:0)+(this.value?1:0)},gi.prototype._size=function(){return sr.prototype._size.call(this)+1},pt.prototype._size=function(){return Pu&&this.thedef&&!this.thedef.unmangleable(Pu)?1:this.name.length},Vi.prototype._size=function(){return this.name.length},Se.prototype._size=Rn.prototype._size=function(){return this.name==="arguments"?9:pt.prototype._size.call(this)},zo.prototype._size=()=>10,vo.prototype._size=function(){return this.name.length},Ei.prototype._size=function(){return this.name.length},Bn.prototype._size=()=>4,Xo.prototype._size=()=>5,dt.prototype._size=function(){return this.value.length+2},Je.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},ri.prototype._size=function(){return this.value.length},ur.prototype._size=function(){return this.value.toString().length},cr.prototype._size=()=>4,hs.prototype._size=()=>3,en.prototype._size=()=>6,Cr.prototype._size=()=>0,ro.prototype._size=()=>8,_r.prototype._size=()=>4,ji.prototype._size=()=>5,dr.prototype._size=()=>6,yr.prototype._size=()=>6;const io=1,Fl=2,Ml=4,Ll=8,_s=16,Qo=32,To=256,Bl=512,Ul=1024,v_=To|Bl|Ul,Un=(t,e)=>t.flags&e,gr=(t,e)=>{t.flags|=e},ea=(t,e)=>{t.flags&=~e};function Vl(t,e){return e instanceof lt?t.push(...e.expressions):t.push(e),t}function nt(t,e){if(e.length==1)return e[0];if(e.length==0)throw new Error("trying to create a sequence with length zero!");return N(lt,t,{expressions:e.reduce(Vl,[])})}function tr(t,e){switch(typeof t){case"string":return N(dt,e,{value:t});case"number":return isNaN(t)?N(hs,e):isFinite(t)?1/t<0?N(We,e,{operator:"-",expression:N(Je,e,{value:-t})}):N(Je,e,{value:t}):t<0?N(We,e,{operator:"-",expression:N(ro,e)}):N(ro,e);case"bigint":return N(ri,e,{value:t.toString()});case"boolean":return N(t?_r:ji,e);case"undefined":return N(en,e);default:if(t===null)return N(cr,e,{value:null});if(t instanceof RegExp)return N(ur,e,{value:{source:du(t.source),flags:t.flags}});throw new Error(hu("Can't handle constant of type: {type}",{type:typeof t}))}}function Gi(t,e){return t.size()>e.size()?e:t}function E_(t,e){return Gi(N(He,t,{body:t}),N(He,e,{body:e})).body}function br(t,e,n){return ii(t)?E_(e,n):Gi(e,n)}function td(t){if(t instanceof Tt)return t.getValue();if(!(t instanceof We&&t.operator=="void"&&t.expression instanceof Tt))return t}function nd(t,e){if(e=td(e),!(e instanceof Te)){var n;if(t instanceof St){var o=t.elements;if(e=="length")return tr(o.length,t);typeof e=="number"&&e in o&&(n=o[e])}else if(t instanceof Nt){e=""+e;for(var u=t.properties,h=u.length;--h>=0;){var m=u[h];if(!(m instanceof Yt))return;!n&&u[h].key===e&&(n=u[h].value)}}return n instanceof Se&&n.fixed_value()||n}}function jl(t,e){var n=!1,o=new Pn(function(u){if(n||u instanceof qe)return!0;if(u instanceof Wr&&o.loopcontrol_target(u)===t)return n=!0});return e instanceof Yn&&o.push(e),o.push(t),t.body.walk(o),n}function Ao(t,e,n){if(t instanceof We&&t.operator=="delete"||t instanceof je&&t.expression===e&&(n instanceof mn||n instanceof Xe||n instanceof Se&&n.name=="eval")){const o=N(Je,e,{value:0});return nt(e,[o,n])}else return n}function Mu(t){return t instanceof qt||t instanceof Ft}function Hl(t){return t.TYPE!="Call"?!1:t.expression instanceof Ft||Hl(t.expression)}function oo(t){return t===null||t instanceof Rt?!0:t instanceof Ye?t.body.length==0:!1}const rd=Ot("Infinity NaN undefined");function id(t){return t instanceof ro||t instanceof hs||t instanceof en}function Gl(t,e){if(!(t instanceof Se))return!1;for(var n=t.definition().orig,o=n.length;--o>=0;)if(n[o]instanceof e)return!0}function Kl(t){return!(t instanceof jr||t instanceof Qt||t instanceof Yr||t instanceof Jr||t instanceof On||t instanceof Or)}function Lu(t){if(t===null)return[];if(t instanceof Ye)return t.body;if(t instanceof Rt)return[];if(t instanceof Cn)return[t];throw new Error("Can't convert thing to statement array")}function od(t,e){const n=o=>{if(o instanceof Se&&e.includes(o.definition()))return lr};return Yp(t,(o,u)=>{if(o instanceof qe&&o!==t){var h=u.parent();return h instanceof je&&h.expression===o&&!(o.async||o.is_generator)?void 0:Nn(o,n)?lr:!0}})}function zl(t,e){for(var n,o=0;n=t.parent(o);o++)if(n instanceof Ke||n instanceof _t){var u=n.name;if(u&&u.definition()===e)return!0}return!1}function ad(t,e){return e.top_retain&&t instanceof Qt&&Un(t,Ul)&&t.name&&e.top_retain(t.name.definition())}function $l(t){const e=new Map;for(var n of Object.keys(t))e.set(n,Ot(t[n]));return(u,h)=>{const m=e.get(u);return m!=null&&m.has(h)}}const Bu=new Set(["Number","String","Array","Object","Function","Promise"]),xo=["constructor","toString","valueOf"],sd=$l({Array:["at","flat","includes","indexOf","join","lastIndexOf","slice",...xo],Boolean:xo,Function:xo,Number:["toExponential","toFixed","toPrecision",...xo],Object:xo,RegExp:["test",...xo],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",...xo]}),ud=$l({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"]}),S_=$l({Math:["E","LN10","LN2","LOG2E","LOG10E","PI","SQRT1_2","SQRT2"],Number:["MAX_VALUE","MIN_VALUE","NaN","NEGATIVE_INFINITY","POSITIVE_INFINITY"]}),oi=t=>t instanceof Se&&t.definition().undeclared,Wl=Ot("<<< >> << & | ^ ~"),Oo=Ot("&& || ??"),Uu=Ot("delete ++ --");(function(t){const e=Ot("! delete"),n=Ot("in instanceof == != === !== < <= >= >");t(Te,vt),t(We,function(){return e.has(this.operator)}),t(oe,function(){return n.has(this.operator)||Oo.has(this.operator)&&this.left.is_boolean()&&this.right.is_boolean()}),t(tt,function(){return this.consequent.is_boolean()&&this.alternative.is_boolean()}),t(st,function(){return this.operator=="="&&this.right.is_boolean()}),t(lt,function(){return this.tail_node().is_boolean()}),t(_r,Jn),t(ji,Jn)})(function(t,e){t.DEFMETHOD("is_boolean",e)}),function(t){t(Te,vt),t(Je,Jn);const e=Ot("+ - ~ ++ --");t(Wt,function(){return e.has(this.operator)&&!(this.expression instanceof ri)});const n=Ot("- * / % & | ^ << >> >>>");t(oe,function(o){return n.has(this.operator)||this.operator=="+"&&this.left.is_number(o)&&this.right.is_number(o)}),t(st,function(o){return n.has(this.operator.slice(0,-1))||this.operator=="="&&this.right.is_number(o)}),t(lt,function(o){return this.tail_node().is_number(o)}),t(tt,function(o){return this.consequent.is_number(o)&&this.alternative.is_number(o)})}(function(t,e){t.DEFMETHOD("is_number",e)}),function(t){t(Te,vt),t(Je,function(){return this.value===(this.value|0)}),t(We,function(){return this.operator=="~"?this.expression.is_number():this.operator==="+"?this.expression.is_32_bit_integer():!1}),t(oe,function(){return Wl.has(this.operator)})}(function(t,e){t.DEFMETHOD("is_32_bit_integer",e)}),function(t){t(Te,vt),t(dt,Jn),t(zn,Jn),t(We,function(){return this.operator=="typeof"}),t(oe,function(e){return this.operator=="+"&&(this.left.is_string(e)||this.right.is_string(e))}),t(st,function(e){return(this.operator=="="||this.operator=="+=")&&this.right.is_string(e)}),t(lt,function(e){return this.tail_node().is_string(e)}),t(tt,function(e){return this.consequent.is_string(e)&&this.alternative.is_string(e)})}(function(t,e){t.DEFMETHOD("is_string",e)});function ai(t,e){return Un(t,Ll)||t instanceof en||t instanceof We&&t.operator=="void"&&!t.expression.has_side_effects(e)}function cd(t,e){let n;return t instanceof cr||ai(t,e)||t instanceof Se&&(n=t.definition().fixed)instanceof Te&&si(n,e)}function ta(t,e){return t instanceof Xe||t instanceof je?t.optional&&cd(t.expression,e)||ta(t.expression,e):t instanceof mn?ta(t.expression,e):!1}function si(t,e){return cd(t,e)?!0:ta(t,e)}(function(t){t(Te,Jn),t(Rt,vt),t(Tt,vt),t(Bn,vt);function e(n,o){for(var u=n.length;--u>=0;)if(n[u].has_side_effects(o))return!0;return!1}t(vn,function(n){return e(this.body,n)}),t(je,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($n,function(n){return this.expression.has_side_effects(n)||e(this.body,n)}),t(Xr,function(n){return this.expression.has_side_effects(n)||e(this.body,n)}),t(mr,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(wt,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(Mi,vt),t(Yn,function(n){return this.body.has_side_effects(n)}),t(He,function(n){return this.body.has_side_effects(n)}),t(Ke,vt),t(_t,function(n){return this.extends&&this.extends.has_side_effects(n)?!0:e(this.properties,n)}),t(Wn,function(n){return e(this.body,n)}),t(oe,function(n){return this.left.has_side_effects(n)||this.right.has_side_effects(n)}),t(st,Jn),t(tt,function(n){return this.condition.has_side_effects(n)||this.consequent.has_side_effects(n)||this.alternative.has_side_effects(n)}),t(Wt,function(n){return Uu.has(this.operator)||this.expression.has_side_effects(n)}),t(Se,function(n){return!this.is_declared(n)&&!Bu.has(this.name)}),t(Vi,vt),t(Rn,vt),t(Nt,function(n){return e(this.properties,n)}),t(un,function(n){return this.computed_key()&&this.key.has_side_effects(n)||this.value&&this.value.has_side_effects(n)}),t(sr,function(n){return this.computed_key()&&this.key.has_side_effects(n)||this.static&&this.value&&this.value.has_side_effects(n)}),t(Fn,function(n){return this.computed_key()&&this.key.has_side_effects(n)}),t(Vr,function(n){return this.computed_key()&&this.key.has_side_effects(n)}),t(ei,function(n){return this.computed_key()&&this.key.has_side_effects(n)}),t(St,function(n){return e(this.elements,n)}),t($t,function(n){return si(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(Sn,function(n){if(si(this,n))return this.expression.has_side_effects(n);if(!this.optional&&this.expression.may_throw_on_access(n))return!0;var o=this.property.has_side_effects(n);return o&&this.optional?!0:o||this.expression.has_side_effects(n)}),t(mn,function(n){return this.expression.has_side_effects(n)}),t(lt,function(n){return e(this.expressions,n)}),t(sn,function(n){return e(this.definitions,n)}),t(Mt,function(){return this.value}),t(yi,vt),t(zn,function(n){return e(this.segments,n)})})(function(t,e){t.DEFMETHOD("has_side_effects",e)}),function(t){t(Te,Jn),t(Tt,vt),t(Rt,vt),t(Ke,vt),t(Rn,vt),t(Bn,vt),t(Mi,vt);function e(n,o){for(var u=n.length;--u>=0;)if(n[u].may_throw(o))return!0;return!1}t(_t,function(n){return this.extends&&this.extends.may_throw(n)?!0:e(this.properties,n)}),t(Wn,function(n){return e(this.body,n)}),t(St,function(n){return e(this.elements,n)}),t(st,function(n){return this.right.may_throw(n)?!0:!n.has_directive("use strict")&&this.operator=="="&&this.left instanceof Se?!1:this.left.may_throw(n)}),t(oe,function(n){return this.left.may_throw(n)||this.right.may_throw(n)}),t(vn,function(n){return e(this.body,n)}),t(je,function(n){return si(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(Xr,function(n){return this.expression.may_throw(n)||e(this.body,n)}),t(tt,function(n){return this.condition.may_throw(n)||this.consequent.may_throw(n)||this.alternative.may_throw(n)}),t(sn,function(n){return e(this.definitions,n)}),t(wt,function(n){return this.condition.may_throw(n)||this.body&&this.body.may_throw(n)||this.alternative&&this.alternative.may_throw(n)}),t(Yn,function(n){return this.body.may_throw(n)}),t(Nt,function(n){return e(this.properties,n)}),t(un,function(n){return this.value?this.value.may_throw(n):!1}),t(sr,function(n){return this.computed_key()&&this.key.may_throw(n)||this.static&&this.value&&this.value.may_throw(n)}),t(Fn,function(n){return this.computed_key()&&this.key.may_throw(n)}),t(Vr,function(n){return this.computed_key()&&this.key.may_throw(n)}),t(ei,function(n){return this.computed_key()&&this.key.may_throw(n)}),t(an,function(n){return this.value&&this.value.may_throw(n)}),t(lt,function(n){return e(this.expressions,n)}),t(He,function(n){return this.body.may_throw(n)}),t($t,function(n){return si(this,n)?!1:!this.optional&&this.expression.may_throw_on_access(n)||this.expression.may_throw(n)}),t(Sn,function(n){return si(this,n)?!1:!this.optional&&this.expression.may_throw_on_access(n)||this.expression.may_throw(n)||this.property.may_throw(n)}),t(mn,function(n){return this.expression.may_throw(n)}),t($n,function(n){return this.expression.may_throw(n)||e(this.body,n)}),t(Se,function(n){return!this.is_declared(n)&&!Bu.has(this.name)}),t(Vi,vt),t(mr,function(n){return this.bcatch?this.bcatch.may_throw(n):this.body.may_throw(n)||this.bfinally&&this.bfinally.may_throw(n)}),t(Wt,function(n){return this.operator=="typeof"&&this.expression instanceof Se?!1:this.expression.may_throw(n)}),t(Mt,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 o=!0;return Nn(this,u=>{if(u instanceof Se){if(Un(this,_s))return o=!1,lr;var h=u.definition();if(El(h,this.enclosed)&&!this.variables.has(h.name)){if(n){var m=n.find_variable(u);if(h.undeclared?!m:m===h)return o="f",!0}return o=!1,lr}return!0}if(u instanceof Bn&&this instanceof qt)return o=!1,lr}),o}t(Te,vt),t(Tt,Jn),t(_t,function(n){if(this.extends&&!this.extends.is_constant_expression(n))return!1;for(const o of this.properties)if(o.computed_key()&&!o.key.is_constant_expression(n)||o.static&&o.value&&!o.value.is_constant_expression(n)||o instanceof Wn)return!1;return e.call(this,n)}),t(Ke,e),t(Wt,function(){return this.expression.is_constant_expression()}),t(oe,function(){return this.left.is_constant_expression()&&this.right.is_constant_expression()}),t(St,function(){return this.elements.every(n=>n.is_constant_expression())}),t(Nt,function(){return this.properties.every(n=>n.is_constant_expression())}),t(un,function(){return!!(!(this.key instanceof Te)&&this.value&&this.value.is_constant_expression())})}(function(t,e){t.DEFMETHOD("is_constant_expression",e)}),function(t){Te.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(Te,e),t(cr,Jn),t(en,Jn),t(Tt,vt),t(St,vt),t(Nt,function(n){if(!e(n))return!1;for(var o=this.properties.length;--o>=0;)if(this.properties[o]._dot_throw(n))return!0;return!1}),t(_t,vt),t(un,vt),t(Vr,Jn),t(ht,function(n){return this.expression._dot_throw(n)}),t(Ft,vt),t(qt,vt),t(Li,vt),t(We,function(){return this.operator=="void"}),t(oe,function(n){return(this.operator=="&&"||this.operator=="||"||this.operator=="??")&&(this.left._dot_throw(n)||this.right._dot_throw(n))}),t(st,function(n){return this.logical?!0:this.operator=="="&&this.right._dot_throw(n)}),t(tt,function(n){return this.consequent._dot_throw(n)||this.alternative._dot_throw(n)}),t($t,function(n){return e(n)?this.property=="prototype"?!(this.expression instanceof Ft||this.expression instanceof _t):!0:!1}),t(mn,function(n){return this.expression._dot_throw(n)}),t(lt,function(n){return this.tail_node()._dot_throw(n)}),t(Se,function(n){if(this.name==="arguments"&&this.scope instanceof Ke)return!1;if(Un(this,Ll))return!0;if(!e(n)||oi(this)&&this.is_declared(n)||this.is_immutable())return!1;var o=this.fixed_value();return!o||o._dot_throw(n)})}(function(t,e){t.DEFMETHOD("_dot_throw",e)});function Do(t,e){if(e instanceof Wt&&Uu.has(e.operator))return e.expression;if(e instanceof st&&e.left===t||e instanceof Kn&&e.init===t)return t}(function(t){function e(o){return N(We,o,{operator:"!",expression:o})}function n(o,u,h){var m=e(o);if(h){var _=N(He,u,{body:u});return Gi(m,_)===_?u:m}return Gi(m,u)}t(Te,function(){return e(this)}),t(Cn,function(){throw new Error("Cannot negate a statement")}),t(Ft,function(){return e(this)}),t(_t,function(){return e(this)}),t(qt,function(){return e(this)}),t(We,function(){return this.operator=="!"?this.expression:e(this)}),t(lt,function(o){var u=this.expressions.slice();return u.push(u.pop().negate(o)),nt(this,u)}),t(tt,function(o,u){var h=this.clone();return h.consequent=h.consequent.negate(o),h.alternative=h.alternative.negate(o),n(this,h,u)}),t(oe,function(o,u){var h=this.clone(),m=this.operator;if(o.option("unsafe_comps"))switch(m){case"<=":return h.operator=">",h;case"<":return h.operator=">=",h;case">=":return h.operator="<",h;case">":return h.operator="<=",h}switch(m){case"==":return h.operator="!=",h;case"!=":return h.operator="==",h;case"===":return h.operator="!==",h;case"!==":return h.operator="===",h;case"&&":return h.operator="||",h.left=h.left.negate(o,u),h.right=h.right.negate(o),n(this,h,u);case"||":return h.operator="&&",h.left=h.left.negate(o,u),h.right=h.right.negate(o),n(this,h,u)}return e(this)})})(function(t,e){t.DEFMETHOD("negate",function(n,o){return e.call(this,n,o)})}),function(t){function e(n){return N(We,n,{operator:"~",expression:n})}t(Te,function(){return e(this)}),t(Je,function(){const n=~this.value;return n.toString().length>this.value.toString().length?e(this):N(Je,this,{value:n})}),t(We,function(n){return this.operator=="~"&&(n||this.expression.is_32_bit_integer())?this.expression:e(this)})}(function(t,e){t.DEFMETHOD("bitwise_negate",e)});var T_=Ot("Boolean decodeURI decodeURIComponent Date encodeURI encodeURIComponent Error escape EvalError isFinite isNaN Number Object parseFloat parseInt RangeError ReferenceError String SyntaxError TypeError unescape URIError");je.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(oi(e)&&T_.has(e.name)||e instanceof $t&&oi(e.expression)&&ud(e.expression.name,e.property))return!0}return this instanceof er&&t.option("pure_new")||t.option("side_effects")&&ir(this,Rl)?!0:!t.pure_funcs(this)}),Te.DEFMETHOD("is_call_pure",vt),$t.DEFMETHOD("is_call_pure",function(t){if(!t.option("unsafe"))return;const e=this.expression;let n;return e instanceof St?n="Array":e.is_boolean()?n="Boolean":e.is_number(t)?n="Number":e instanceof ur?n="RegExp":e.is_string(t)?n="String":this.may_throw_on_access(t)||(n="Object"),n!=null&&sd(n,this.property)});const kr=t=>t&&t.aborts();(function(t){t(Cn,Zi),t(us,po);function e(){for(var n=0;n<this.body.length;n++)if(kr(this.body[n]))return this.body[n];return null}t(Or,Zi),t(Ye,e),t(Fi,e),t(jr,function(){for(const n of this.properties)if(n instanceof Wn&&n.aborts())return n;return null}),t(Wn,e),t(wt,function(){return this.alternative&&kr(this.body)&&kr(this.alternative)&&this})})(function(t,e){t.DEFMETHOD("aborts",e)}),Te.DEFMETHOD("contains_this",function(){return Nn(this,t=>{if(t instanceof Bn)return lr;if(t!==this&&t instanceof qe&&!(t instanceof qt))return!0})});function na(t,e,n,o,u,h){var m=e.parent(u),_=Do(n,m);if(_)return _;if(!h&&m instanceof je&&m.expression===n&&!(o instanceof qt)&&!(o instanceof _t)&&!m.is_callee_pure(t)&&(!(o instanceof Ft)||!(m instanceof er)&&o.contains_this()))return!0;if(m instanceof St)return na(t,e,m,m,u+1);if(m instanceof Yt&&n===m.value){var T=e.parent(u+1);return na(t,e,T,T,u+2)}if(m instanceof Xe&&m.expression===n){var x=nd(o,m.property);return!h&&na(t,e,m,x,u+1)}}function Vn(t,e){t.DEFMETHOD("_eval",e)}const ra=Symbol("This AST_Chain is nullish");Te.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==ra)return this;if(typeof e=="string"){const n=this.size(t);if(e.length+2>n)return this}return e});var A_=Ot("! ~ - + void");Te.DEFMETHOD("is_constant",function(){return this instanceof Tt?!(this instanceof ur):this instanceof We&&this.expression instanceof Tt&&A_.has(this.operator)}),Vn(Cn,function(){throw new Error(hu("Cannot evaluate a statement [{file}:{line},{col}]",this.start))}),Vn(Ke,po),Vn(_t,po),Vn(Te,po),Vn(Tt,function(){return this.getValue()});const x_=typeof BigInt=="function";Vn(ri,function(){return x_?BigInt(this.value):this}),Vn(ur,function(t){let e=t.evaluated_regexps.get(this.value);if(e===void 0&&Fp(this.value.source)){try{const{source:n,flags:o}=this.value;e=new RegExp(n,o)}catch{e=null}t.evaluated_regexps.set(this.value,e)}return e||this}),Vn(zn,function(){return this.segments.length!==1?this:this.segments[0].value}),Vn(Ft,function(t){if(t.option("unsafe")){var e=function(){};return e.node=this,e.toString=()=>this.print_to_string(),e}return this}),Vn(St,function(t,e){if(t.option("unsafe")){for(var n=[],o=0,u=this.elements.length;o<u;o++){var h=this.elements[o],m=h._eval(t,e);if(h===m)return this;n.push(m)}return n}return this}),Vn(Nt,function(t,e){if(t.option("unsafe")){for(var n={},o=0,u=this.properties.length;o<u;o++){var h=this.properties[o];if(h instanceof ht)return this;var m=h.key;if(m instanceof pt)m=m.name;else if(m instanceof Te&&(m=m._eval(t,e),m===h.key))return this;if(typeof Object.prototype[m]=="function")return this;if(!(h.value instanceof Ft)&&(n[m]=h.value._eval(t,e),n[m]===h.value))return this}return n}return this});var O_=Ot("! typeof void");Vn(We,function(t,e){var n=this.expression;if(t.option("typeofs")&&this.operator=="typeof"&&(n instanceof Ke||n instanceof Se&&n.fixed_value()instanceof Ke))return"function";if(O_.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 D_=Ot("&& || ?? === !==");const C_=Ot("== != === !=="),ld=t=>typeof t=="object"||typeof t=="function"||typeof t=="symbol";Vn(oe,function(t,e){D_.has(this.operator)||e++;var n=this.left._eval(t,e);if(n===this.left)return this;var o=this.right._eval(t,e);if(o===this.right)return this;if(n!=null&&o!=null&&C_.has(this.operator)&&ld(n)&&ld(o)&&typeof n==typeof o)return this;if(typeof n=="bigint"!=(typeof o=="bigint")||typeof n=="bigint"&&(this.operator===">>>"||this.operator==="/"&&Number(o)===0))return this;var u;switch(this.operator){case"&&":u=n&&o;break;case"||":u=n||o;break;case"??":u=n??o;break;case"|":u=n|o;break;case"&":u=n&o;break;case"^":u=n^o;break;case"+":u=n+o;break;case"*":u=n*o;break;case"**":u=n**o;break;case"/":u=n/o;break;case"%":u=n%o;break;case"-":u=n-o;break;case"<<":u=n<<o;break;case">>":u=n>>o;break;case">>>":u=n>>>o;break;case"==":u=n==o;break;case"===":u=n===o;break;case"!=":u=n!=o;break;case"!==":u=n!==o;break;case"<":u=n<o;break;case"<=":u=n<=o;break;case">":u=n>o;break;case">=":u=n>=o;break;default:return this}return typeof u=="number"&&isNaN(u)&&t.find_parent(pr)?this:u}),Vn(tt,function(t,e){var n=this.condition._eval(t,e);if(n===this.condition)return this;var o=n?this.consequent:this.alternative,u=o._eval(t,e);return u===o?this:u});const Xl=new Set;Vn(Se,function(t,e){if(Xl.has(this))return this;var n=this.fixed_value();if(!n)return this;Xl.add(this);const o=n._eval(t,e);if(Xl.delete(this),o===n)return this;if(o&&typeof o=="object"){var u=this.definition().escaped;if(u&&e>u)return this}return o});const fd={Array,Math,Number,Object,String},k_=new Set(["dotAll","global","ignoreCase","multiline","sticky","unicode"]);Vn(Xe,function(t,e){let n=this.expression._eval(t,e+1);if(n===ra||this.optional&&n==null)return ra;if(this.property==="length"){if(typeof n=="string")return n.length;if(n instanceof St&&n.elements.every(T=>!(T instanceof ht))&&n.elements.every(T=>!T.has_side_effects(t)))return n.elements.length}if(t.option("unsafe")){var o=this.property;if(o instanceof Te&&(o=o._eval(t,e),o===this.property))return this;var u=this.expression;if(oi(u)){var h,m=u.name==="hasOwnProperty"&&o==="call"&&(h=t.parent()&&t.parent().args)&&h&&h[0]&&h[0].evaluate(t);if(m=m instanceof $t?m.expression:m,m==null||m.thedef&&m.thedef.undeclared)return this.clone();if(!S_(u.name,o))return this;n=fd[u.name]}else{if(n instanceof RegExp){if(o=="source")return du(n.source);if(o=="flags"||k_.has(o))return n[o]}if(!n||n===u||!Zn(n,o))return this;if(typeof n=="function")switch(o){case"name":return n.node.name?n.node.name.name:"";case"length":return n.node.length_property();default:return this}}return n[o]}return this}),Vn(mn,function(t,e){const n=this.expression._eval(t,e);return n===ra?void 0:n===this.expression?this:n}),Vn(je,function(t,e){var n=this.expression;const o=n._eval(t,e);if(o===ra||this.optional&&o==null)return ra;if(t.option("unsafe")&&n instanceof Xe){var u=n.property;if(u instanceof Te&&(u=u._eval(t,e),u===n.property))return this;var h,m=n.expression;if(oi(m)){var _=m.name==="hasOwnProperty"&&u==="call"&&this.args[0]&&this.args[0].evaluate(t);if(_=_ instanceof $t?_.expression:_,_==null||_.thedef&&_.thedef.undeclared)return this.clone();if(!ud(m.name,u))return this;h=fd[m.name]}else{if(h=m._eval(t,e+1),h===m||!h)return this;if(!sd(h.constructor.name,u))return this}for(var T=[],x=0,P=this.args.length;x<P;x++){var A=this.args[x],F=A._eval(t,e);if(A===F)return this;if(A instanceof Ke)return this;T.push(F)}try{return h[u].apply(h,T)}catch{}}return this}),Vn(er,po);function nn(t,e){t.DEFMETHOD("drop_side_effect_free",e)}function gs(t,e,n){var o=t.length;if(!o)return null;for(var u=[],h=!1,m=0;m<o;m++){var _=t[m].drop_side_effect_free(e,n);h|=_!==t[m],_&&(u.push(_),n=!1)}return h?u.length?u:null:t}nn(Te,po),nn(Tt,Zi),nn(Bn,Zi),nn(je,function(t,e){if(ta(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=gs(n,t,e),n&&nt(this,n)}if(Mu(this.expression)&&(!this.expression.name||!this.expression.name.definition().references.length)){var o=this.clone();return o.expression.process_expression(!1,t),o}return this}var u=gs(this.args,t,e);return u&&nt(this,u)}),nn(Ii,Zi),nn(Ft,Zi),nn(qt,Zi),nn(_t,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 u of this.properties)if(u instanceof Wn){if(u.has_side_effects(t))return this}else{const h=u.drop_side_effect_free(t);h&&e.push(h)}if(!e.length)return null;const o=nt(this,e);return this instanceof jr?N(He,this,{body:o}):o}),nn(sr,function(t){const e=this.computed_key()&&this.key.drop_side_effect_free(t),n=this.static&&this.value&&this.value.drop_side_effect_free(t);return e&&n?nt(this,[e,n]):e||n||null}),nn(oe,function(t,e){var n=this.right.drop_side_effect_free(t);if(!n)return this.left.drop_side_effect_free(t,e);if(Oo.has(this.operator)){if(n===this.right)return this;var o=this.clone();return o.right=n,o}else{var u=this.left.drop_side_effect_free(t,e);return u?nt(this,[u,n]):this.right.drop_side_effect_free(t,e)}}),nn(st,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(gr(this,Qo);e instanceof Xe;)e=e.expression;return e.is_constant_expression(t.find_parent(qe))?this.right.drop_side_effect_free(t):this}),nn(tt,function(t){var e=this.consequent.drop_side_effect_free(t),n=this.alternative.drop_side_effect_free(t);if(e===this.consequent&&n===this.alternative)return this;if(!e)return n?N(oe,this,{operator:"||",left:this.condition,right:n}):this.condition.drop_side_effect_free(t);if(!n)return N(oe,this,{operator:"&&",left:this.condition,right:e});var o=this.clone();return o.consequent=e,o.alternative=n,o}),nn(Wt,function(t,e){if(Uu.has(this.operator))return this.expression.has_side_effects(t)?ea(this,Qo):gr(this,Qo),this;if(this.operator=="typeof"&&this.expression instanceof Se)return null;var n=this.expression.drop_side_effect_free(t,e);return e&&n&&Hl(n)?n===this.expression&&this.operator=="!"?this:n.negate(t,e):n}),nn(Se,function(t){return this.is_declared(t)||Bu.has(this.name)?null:this}),nn(Nt,function(t,e){var n=gs(this.properties,t,e);return n&&nt(this,n)}),nn(un,function(t,e){const o=this instanceof Yt&&this.key instanceof Te&&this.key.drop_side_effect_free(t,e),u=this.value&&this.value.drop_side_effect_free(t,e);return o&&u?nt(this,[o,u]):o||u}),nn(Fn,function(){return this.computed_key()?this.key:null}),nn(Vr,function(){return this.computed_key()?this.key:null}),nn(ei,function(){return this.computed_key()?this.key:null}),nn(St,function(t,e){var n=gs(this.elements,t,e);return n&&nt(this,n)}),nn($t,function(t,e){return ta(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)}),nn(Sn,function(t,e){if(ta(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 o=this.expression.drop_side_effect_free(t,e);return o&&n?nt(this,[o,n]):o||n}),nn(mn,function(t,e){return this.expression.drop_side_effect_free(t,e)}),nn(lt,function(t){var e=this.tail_node(),n=e.drop_side_effect_free(t);if(n===e)return this;var o=this.expressions.slice(0,-1);return n&&o.push(n),o.length?nt(this,o):N(Je,this,{value:0})}),nn(ht,function(t,e){return this.expression.drop_side_effect_free(t,e)}),nn(yi,Zi),nn(zn,function(t){var e=gs(this.segments,t,ii);return e&&nt(this,e)});const R_=/keep_assign/;qe.DEFMETHOD("drop_unused",function(t){if(!t.option("unused")||t.has_directive("use asm")||!this.variables)return;var e=this;if(e.pinned())return;var n=!(e instanceof zt)||t.toplevel.funcs,o=!(e instanceof zt)||t.toplevel.vars;const u=R_.test(t.option("unused"))?vt:function(V){if(V instanceof st&&!V.logical&&(Un(V,Qo)||V.operator=="="))return V.left;if(V instanceof Wt&&Un(V,Qo))return V.expression};var h=new Map,m=new Map;e instanceof zt&&t.top_retain&&e.variables.forEach(function(V){t.top_retain(V)&&h.set(V.id,V)});var _=new Map,T=new Map,x=new Set,P=this,A=new Pn(function(V,b){if(V instanceof Ke&&V.uses_arguments&&!A.has_directive("use strict")&&V.argnames.forEach(function(D){if(D instanceof Rn){var R=D.definition();h.set(R.id,R)}}),V===e)return;if(V instanceof _t&&V.has_side_effects(t)&&(V.is_self_referential()&&x.add(V),V.visit_nondeferred_class_parts(A)),V instanceof Qt||V instanceof jr){var y=V.name.definition();return(A.parent()instanceof On||!n&&P===e)&&y.global&&h.set(y.id,y),pu(T,y.id,V),!0}const g=P===e;if(V instanceof wn&&g&&pu(_,V.definition().id,V),V instanceof sn&&g){const D=A.parent()instanceof On;return V.definitions.forEach(function(R){if(R.name instanceof Bi&&pu(_,R.name.definition().id,R),(D||!o)&&Nn(R.name,U=>{if(U instanceof Rn){const X=U.definition();X.global&&h.set(X.id,X)}}),R.name instanceof Vt&&R.walk(A),R.name instanceof Rn&&R.value){var O=R.name.definition();pu(T,O.id,R.value),!O.chained&&R.name.fixed_value()===R.value&&m.set(O.id,R),R.value.has_side_effects(t)&&R.value.walk(A)}}),!0}return $(V,b)});e.walk(A),A=new Pn($),h.forEach(function(V){var b=T.get(V.id);b&&b.forEach(function(y){y.walk(A)})}),x.forEach(function(V){V.walk(A)});var F=new fr(function(b,y,g){var D=F.parent();if(o){const te=u(b);if(te instanceof Se){var O=te.definition(),R=h.has(O.id);if(b instanceof st){if(!R||m.has(O.id)&&m.get(O.id)!==b)return Ao(D,b,b.right.transform(F))}else if(!R)return g?Xt.skip:N(Je,b,{value:0})}}if(P===e){var O;if(b.name&&(b instanceof bi&&!Go(t.option("keep_classnames"),(O=b.name.definition()).name)||b instanceof Ft&&!Go(t.option("keep_fnames"),(O=b.name.definition()).name))&&(!h.has(O.id)||O.orig.length>1)&&(b.name=null),b instanceof Ke&&!(b instanceof Ii))for(var U=!t.option("keep_fargs"),X=b.argnames,ue=X.length;--ue>=0;){var K=X[ue];K instanceof ht&&(K=K.expression),K instanceof Dr&&(K=K.left),!(K instanceof Vt)&&!h.has(K.definition().id)?(gr(K,io),U&&X.pop()):U=!1}if(b instanceof jr&&b!==e){const te=b.name.definition();if(y(b,this),!(te.global&&!n||h.has(te.id))){const le=b.drop_side_effect_free(t);return le??(te.eliminated++,g?Xt.skip:N(Rt,b))}return b}if(b instanceof Qt&&b!==e){const te=b.name.definition();if(!(te.global&&!n||h.has(te.id)))return te.eliminated++,g?Xt.skip:N(Rt,b)}if(b instanceof sn&&!(D instanceof Kn&&D.init===b)){var Y=!(D instanceof zt)&&!(b instanceof kn),G=[],ce=[],Q=[],de=[];switch(b.definitions.forEach(function(te){te.value&&(te.value=te.value.transform(F));var he=te.name instanceof Vt,le=he?new Zo(null,{name:"<destructure>"}):te.name.definition();if(Y&&le.global)return Q.push(te);if(!(o||Y)||he&&(te.name.names.length||te.name.is_array||t.option("pure_getters")!=!0)||h.has(le.id)){if(te.value&&m.has(le.id)&&m.get(le.id)!==te&&(te.value=te.value.drop_side_effect_free(t)),te.name instanceof Bi){var Ae=_.get(le.id);if(Ae.length>1&&(!te.value||le.orig.indexOf(te.name)>le.eliminated)){if(te.value){var we=N(Se,te.name,te.name);le.references.push(we);var _e=N(st,te,{operator:"=",logical:!1,left:we,right:te.value});m.get(le.id)===te&&m.set(le.id,_e),de.push(_e.transform(F))}Ho(Ae,te),le.eliminated++;return}}te.value?(de.length>0&&(Q.length>0?(de.push(te.value),te.value=nt(te.value,de)):G.push(N(He,b,{body:nt(b,de)})),de=[]),Q.push(te)):ce.push(te)}else if(le.orig[0]instanceof Hr){var Ue=te.value&&te.value.drop_side_effect_free(t);Ue&&de.push(Ue),te.value=null,ce.push(te)}else{var Ue=te.value&&te.value.drop_side_effect_free(t);Ue&&de.push(Ue),le.eliminated++}}),(ce.length>0||Q.length>0)&&(b.definitions=ce.concat(Q),G.push(b)),de.length>0&&G.push(N(He,b,{body:nt(b,de)})),G.length){case 0:return g?Xt.skip:N(Rt,b);case 1:return G[0];default:return g?Xt.splice(G):N(Ye,b,{body:G})}}if(b instanceof En){y(b,this);var ye;return b.init instanceof Ye&&(ye=b.init,b.init=ye.body.pop(),ye.body.push(b)),b.init instanceof He?b.init=b.init.body:oo(b.init)&&(b.init=null),ye?g?Xt.splice(ye.body):ye:b}if(b instanceof Yn&&b.body instanceof En){if(y(b,this),b.body instanceof Ye){var ye=b.body;return b.body=ye.body.pop(),ye.body.push(b),g?Xt.splice(ye.body):ye}return b}if(b instanceof Ye)return y(b,this),g&&b.body.every(Kl)?Xt.splice(b.body):b;if(b instanceof qe&&!(b instanceof Wn)){const te=P;return P=b,y(b,this),P=te,b}}});e.transform(F);function $(V,b){var y;const g=u(V);if(g instanceof Se&&!Gl(V.left,Ui)&&e.variables.get(g.name)===(y=g.definition()))return V instanceof st&&(V.right.walk(A),!y.chained&&V.left.fixed_value()===V.right&&m.set(y.id,V)),!0;if(V instanceof Se){if(y=V.definition(),!h.has(y.id)&&(h.set(y.id,y),y.orig[0]instanceof Hr)){const R=y.scope.is_block_scope()&&y.scope.get_defun_scope().variables.get(y.name);R&&h.set(R.id,R)}return!0}if(V instanceof _t)return b(),!0;if(V instanceof qe&&!(V instanceof Wn)){var D=P;return P=V,b(),P=D,!0}}});function cn(t,e){t.DEFMETHOD("reduce_vars",e)}cn(Te,hr);function ql(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 wn&&e.scope.uses_arguments?e.fixed=!1:e.orig[0]instanceof to||!t.exposed(e)?e.fixed=e.init:e.fixed=!1}function Yl(t,e,n){n.variables.forEach(function(o){ql(e,o),o.fixed===null?(t.defs_to_safe_ids.set(o.id,t.safe_ids),Ki(t,o,!0)):o.fixed&&(t.loop_ids.set(o.id,t.in_loop),Ki(t,o,!0))})}function Co(t,e){e.block_scope&&e.block_scope.variables.forEach(n=>{ql(t,n)})}function _n(t){t.safe_ids=Object.create(t.safe_ids)}function Dn(t){t.safe_ids=Object.getPrototypeOf(t.safe_ids)}function Ki(t,e,n){t.safe_ids[e.id]=n}function hd(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 wn||n.name=="arguments")return!1;e.fixed=N(en,n)}return!0}return e.fixed instanceof Qt}function Jl(t,e,n,o){if(e.fixed===void 0)return!0;let u;return e.fixed===null&&(u=t.defs_to_safe_ids.get(e.id))?(u[e.id]=!1,t.defs_to_safe_ids.delete(e.id),!0):!Zn(t.safe_ids,e.id)||!hd(t,e)||e.fixed===!1||e.fixed!=null&&(!o||e.references.length>e.assignments)?!1:e.fixed instanceof Qt?o instanceof Te&&e.fixed.parent_scope===n:e.orig.every(h=>!(h instanceof to||h instanceof vi||h instanceof ni))}function w_(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 N_(t){return t?t.is_constant()||t instanceof Ke||t instanceof Bn:!1}function bs(t,e,n,o,u,h=0,m=1){var _=t.parent(h);if(!(u&&(u.is_constant()||u instanceof bi))){if(_ instanceof st&&(_.operator==="="||_.logical)&&o===_.right||_ instanceof je&&(o!==_.expression||_ instanceof er)||_ instanceof ar&&o===_.value&&o.scope!==e.scope||_ instanceof Mt&&o===_.value||_ instanceof yr&&o===_.value&&o.scope!==e.scope){m>1&&!(u&&u.is_constant_expression(n))&&(m=1),(!e.escaped||e.escaped>m)&&(e.escaped=m);return}else if(_ instanceof St||_ instanceof dr||_ instanceof oe&&Oo.has(_.operator)||_ instanceof tt&&o!==_.condition||_ instanceof ht||_ instanceof lt&&o===_.tail_node())bs(t,e,n,_,_,h+1,m);else if(_ instanceof Yt&&o===_.value){var T=t.parent(h+1);bs(t,e,n,T,T,h+2,m)}else if(_ instanceof Xe&&o===_.expression&&(u=nd(u,_.property),bs(t,e,n,_,u,h+1,m+1),u))return;h>0||_ instanceof lt&&o!==_.tail_node()||_ instanceof He||(e.direct_access=!0)}}const Zl=t=>Nn(t,e=>{if(e instanceof pt){var n=e.definition();n&&(e instanceof Se&&n.references.push(e),n.fixed=!1)}});cn(Ii,function(t,e,n){return _n(t),Yl(t,n,this),e(),Dn(t),!0}),cn(st,function(t,e,n){var o=this;if(o.left instanceof Vt){Zl(o.left);return}const u=()=>{if(o.logical)return o.left.walk(t),_n(t),o.right.walk(t),Dn(t),!0};var h=o.left;if(!(h instanceof Se))return u();var m=h.definition(),_=Jl(t,m,h.scope,o.right);if(m.assignments++,!_)return u();var T=m.fixed;if(!T&&o.operator!="="&&!o.logical)return u();var x=o.operator=="=",P=x?o.right:o;return na(n,t,o,P,0)?u():(m.references.push(h),o.logical||(x||(m.chained=!0),m.fixed=x?function(){return o.right}:function(){return N(oe,o,{operator:o.operator.slice(0,-1),left:T instanceof Te?T:T(),right:o.right})}),o.logical?(Ki(t,m,!1),_n(t),o.right.walk(t),Dn(t),!0):(Ki(t,m,!1),o.right.walk(t),Ki(t,m,!0),bs(t,m,h.scope,o,P,0,1),!0))}),cn(oe,function(t){if(Oo.has(this.operator))return this.left.walk(t),_n(t),this.right.walk(t),Dn(t),!0}),cn(vn,function(t,e,n){Co(n,this)}),cn(Xr,function(t){return _n(t),this.expression.walk(t),Dn(t),_n(t),mo(this,t),Dn(t),!0}),cn(_t,function(t,e){return ea(this,_s),_n(t),e(),Dn(t),!0}),cn(Wn,function(t,e,n){Co(n,this)}),cn(tt,function(t){return this.condition.walk(t),_n(t),this.consequent.walk(t),Dn(t),_n(t),this.alternative.walk(t),Dn(t),!0}),cn(mn,function(t,e){const n=t.safe_ids;return e(),t.safe_ids=n,!0}),cn(je,function(t){this.expression.walk(t),this.optional&&_n(t);for(const e of this.args)e.walk(t);return!0}),cn(Xe,function(t){if(this.optional)return this.expression.walk(t),_n(t),this.property instanceof Te&&this.property.walk(t),!0}),cn(bo,function(t,e){return _n(t),e(),Dn(t),!0});function P_(t,e,n){ea(this,_s),_n(t),Yl(t,n,this);var o;return!this.name&&!this.uses_arguments&&!this.pinned()&&(o=t.parent())instanceof je&&o.expression===this&&!o.args.some(u=>u instanceof ht)&&this.argnames.every(u=>u instanceof pt)&&this.argnames.forEach((u,h)=>{if(u.definition){var m=u.definition();m.orig.length>1||(m.fixed===void 0&&(!this.uses_arguments||t.has_directive("use strict"))?(m.fixed=function(){return o.args[h]||N(en,o)},t.loop_ids.set(m.id,t.in_loop),Ki(t,m,!0)):m.fixed=!1)}}),e(),Dn(t),pd(this),!0}function pd(t){const e=[];Nn(t,h=>{if(h!==t&&(h instanceof Qt&&e.push(h),h instanceof qe||h instanceof He))return!0});const n=new Set,o=new Set,u=[];for(const h of e){const m=h.name.definition(),_=e.some(T=>T!==h&&T.enclosed.indexOf(m)!==-1);for(const T of h.enclosed)if(!(T.fixed===!1||T===m||T.scope.get_defun_scope()!==t)&&!(T.assignments===0&&T.orig.length===1&&T.orig[0]instanceof vi)){if(_){T.fixed=!1;continue}u.push({defun:h,def:T,fname_def:m}),n.add(T.id),n.add(m.id),o.add(h)}}if(u.length){const h=[],m=new Set,_=new Map;let T;t.walk(T=new Pn((x,P)=>{if(x instanceof Qt&&o.has(x)){const A=h.length;P();const F=h.length;return _.set(x,{start:A,end:F}),!0}if(x instanceof pt&&x.thedef){const A=x.definition().id;n.has(A)&&((x instanceof Rn||Do(x,T))&&m.add(h.length),h.push(A))}}));for(const{def:x,defun:P,fname_def:A}of u){const F=_.get(P),$=(g,D=0,R=!1)=>{let O=D;for(;O=h.indexOf(g,O),O!==-1;)if(O>=F.start&&O<F.end){O=F.end;continue}else if(R&&!m.has(O)){O++;continue}else break;return O},V=$(A.id),b=$(x.id,V+1,!0);V!=-1&&b!=-1&&b>V&&(x.fixed=!1)}}}cn(Ke,P_),cn(di,function(t,e,n){Co(n,this);const o=t.in_loop;return t.in_loop=this,_n(t),this.body.walk(t),jl(this)&&(Dn(t),_n(t)),this.condition.walk(t),Dn(t),t.in_loop=o,!0}),cn(En,function(t,e,n){Co(n,this),this.init&&this.init.walk(t);const o=t.in_loop;return t.in_loop=this,_n(t),this.condition&&this.condition.walk(t),this.body.walk(t),this.step&&(jl(this)&&(Dn(t),_n(t)),this.step.walk(t)),Dn(t),t.in_loop=o,!0}),cn(Kn,function(t,e,n){Co(n,this),Zl(this.init),this.object.walk(t);const o=t.in_loop;return t.in_loop=this,_n(t),this.body.walk(t),Dn(t),t.in_loop=o,!0}),cn(wt,function(t){return this.condition.walk(t),_n(t),this.body.walk(t),Dn(t),this.alternative&&(_n(t),this.alternative.walk(t),Dn(t)),!0}),cn(Yn,function(t){return _n(t),this.body.walk(t),Dn(t),!0}),cn(Hr,function(){this.definition().fixed=!1}),cn(Se,function(t,e,n){var o=this.definition();o.references.push(this),o.references.length==1&&!o.fixed&&o.orig[0]instanceof vi&&t.loop_ids.set(o.id,t.in_loop);var u;o.fixed===void 0||!hd(t,o)?o.fixed=!1:o.fixed&&(u=this.fixed_value(),u instanceof Ke&&zl(t,o)?o.recursive_refs++:u&&!n.exposed(o)&&w_(t,n,o)?o.single_use=u instanceof Ke&&!u.pinned()||u instanceof _t||o.scope===this.scope&&u.is_constant_expression():o.single_use=!1,na(n,t,this,u,0,N_(u))&&(o.single_use?o.single_use="m":o.fixed=!1)),bs(t,o,this.scope,this,u,0,1)}),cn(zt,function(t,e,n){return this.globals.forEach(function(o){ql(n,o)}),Yl(t,n,this),e(),pd(this),!0}),cn(mr,function(t,e,n){return Co(n,this),_n(t),this.body.walk(t),Dn(t),this.bcatch&&(_n(t),this.bcatch.walk(t),Dn(t)),this.bfinally&&this.bfinally.walk(t),!0}),cn(Wt,function(t){var e=this;if(!(e.operator!=="++"&&e.operator!=="--")){var n=e.expression;if(n instanceof Se){var o=n.definition(),u=Jl(t,o,n.scope,!0);if(o.assignments++,!!u){var h=o.fixed;if(h)return o.references.push(n),o.chained=!0,o.fixed=function(){return N(oe,e,{operator:e.operator.slice(0,-1),left:N(We,e,{operator:"+",expression:h instanceof Te?h:h()}),right:N(Je,e,{value:1})})},Ki(t,o,!0),!0}}}}),cn(Mt,function(t,e){var n=this;if(n.name instanceof Vt){Zl(n.name);return}var o=n.name.definition();if(n.value){if(Jl(t,o,n.name.scope,n.value))return o.fixed=function(){return n.value},t.loop_ids.set(o.id,t.in_loop),Ki(t,o,!1),e(),Ki(t,o,!0),!0;o.fixed=!1}}),cn(Pi,function(t,e,n){Co(n,this);const o=t.in_loop;return t.in_loop=this,_n(t),e(),Dn(t),t.in_loop=o,!0});function Ql(t){return t instanceof Lr&&t.body instanceof Ye?t.body:t}function dd(t){if(t instanceof Bn)return!0;if(t instanceof Se)return t.definition().orig[0]instanceof ni;if(t instanceof Xe){if(t=t.expression,t instanceof Se){if(t.is_immutable())return!1;t=t.fixed_value()}return t?t instanceof ur?!1:t instanceof Tt?!0:dd(t):!0}return!1}function I_(t){var e=[];return t.definitions.forEach(function(n){n.name instanceof Rn?(n.value=null,e.push(n)):n.declarations_as_names().forEach(o=>{e.push(N(Mt,n,{name:o,value:null}))})}),e.length?N(kn,t,{definitions:e}):null}function ko(t,e,n){Nn(e,o=>{if(o instanceof kn){const u=I_(o);return u&&n.push(u),!0}if(o instanceof Qt&&(o===e||!t.has_directive("use strict")))return n.push(o===e?o:N(kn,o,{definitions:[N(Mt,o,{name:N(Bi,o.name,o.name),value:null})]})),!0;if(o instanceof On||o instanceof Or)return n.push(o),!0;if(o instanceof qe)return!0})}function Vu(t,e){const n=e.find_scope(),o=n.get_defun_scope(),{in_loop:u,in_try:h}=T();var m,_=10;do m=!1,P(t),e.option("dead_code")&&F(t,e),e.option("if_return")&&A(t,e),e.sequences_limit>0&&(V(t,e),y(t,e)),e.option("join_vars")&&D(t),e.option("collapse_vars")&&x(t,e);while(m&&_-- >0);function T(){var R=e.self(),O=0,U=!1,X=!1;do if(R instanceof Lr)U=!0;else{if(R instanceof qe)break;R instanceof Du&&(X=!0)}while(R=e.parent(O++));return{in_loop:U,in_try:X}}function x(R,O){if(n.pinned()||o.pinned())return R;for(var U,X=[],ue=R.length,K=new fr(function(L){if(ae)return L;if(!ne)return L!==G[ce]?L:(ce++,ce<G.length?Et(L):(ne=!0,ye=De(L,0),ye===L&&(ae=!0),L));var ke=K.parent();if(L instanceof st&&(L.logical||L.operator!="="&&he.equivalent_to(L.left))||L instanceof dr||L instanceof je&&he instanceof Xe&&he.equivalent_to(L.expression)||(L instanceof je||L instanceof Xe)&&L.optional||L instanceof Ni||L instanceof Vt||L instanceof ht&&L.expression instanceof pt&&(L.expression instanceof Bn||L.expression.definition().references.length>1)||L instanceof Lr&&!(L instanceof En)||L instanceof Wr||L instanceof mr||L instanceof pr||L instanceof yr||L instanceof On||L instanceof _t||ke instanceof En&&L!==ke.init||!_e&&L instanceof Se&&!L.is_declared(O)&&!Bu.has(L)||L instanceof Se&&ke instanceof je&&ir(ke,So)||L instanceof un&&L.key instanceof Te)return ae=!0,L;if(!te&&(!Ae||!_e)&&(ke instanceof oe&&Oo.has(ke.operator)&&ke.left!==L||ke instanceof tt&&ke.condition!==L||ke instanceof wt&&ke.condition!==L)&&(te=ke),me&&!(L instanceof Rn)&&he.equivalent_to(L)&&!Si(K.find_scope()||n,le)){if(te)return ae=!0,L;if(Do(L,ke))return de&&Ee++,L;if(Ee++,de&&Q instanceof Mt)return L;if(m=ae=!0,Q instanceof Li)return N(We,Q,Q);if(Q instanceof Mt){var Be=Q.name.definition(),Le=Q.value;return Be.references.length-Be.replaced==1&&!O.exposed(Be)?(Be.replaced++,J&&id(Le)?Le.transform(O):Ao(ke,L,Le)):N(st,Q,{operator:"=",logical:!1,left:N(Se,Q.name,Q.name),right:Le})}return ea(Q,Qo),Q}var ut;return(L instanceof je||L instanceof ar&&(we||he instanceof Xe||It(he))||L instanceof Xe&&(we||L.expression.may_throw_on_access(O))||L instanceof Se&&(le.has(L.name)&&le.get(L.name).modified||we&&It(L))||L instanceof Mt&&L.value&&(le.has(L.name.name)||we&&It(L.name))||(ut=Do(L.left,L))&&(ut instanceof Xe||le.has(ut.name))||Ue&&(h?L.has_side_effects(O):ln(L)))&&(ye=L,L instanceof qe&&(ae=!0)),Et(L)},function(L){ae||(ye===L&&(ae=!0),te===L&&(te=null))}),Y=new fr(function(L){if(ae)return L;if(!ne)return L!==G[ce]?L:(ce++,ce<G.length?void 0:(ne=!0,L));if(L instanceof Se&&L.name==jt.name)return--Ee||(ae=!0),Do(L,Y.parent())?L:(jt.replaced++,de.replaced--,Q.value);if(L instanceof bo||L instanceof qe)return L});--ue>=0;){ue==0&&O.option("unused")&&Jt();var G=[];for(ie(R[ue]);X.length>0;){G=X.pop();var ce=0,Q=G[G.length-1],de=null,ye=null,te=null,he=bt(Q);if(!(!he||dd(he)||he.has_side_effects(O))){var le=Ct(Q),Ae=Zt(he);he instanceof Se&&le.set(he.name,{def:he.definition(),modified:!1});var we=pn(Q),_e=Ht(),Ue=Q.may_throw(O),J=Q.name instanceof wn,ne=J,ae=!1,Ee=0,me=!U||!ne;if(!me){for(let L=O.self().argnames.lastIndexOf(Q.name)+1;!ae&&L<U.length;L++)U[L].transform(K);me=!0}for(var At=ue;!ae&&At<R.length;At++)R[At].transform(K);if(de){var jt=Q.name.definition();if(ae&&jt.references.length-jt.replaced>Ee)Ee=!1;else{ae=!1,ce=0,ne=J;for(var At=ue;!ae&&At<R.length;At++)R[At].transform(Y);de.single_use=!1}}Ee&&!Mn(Q)&&R.splice(ue,1)}}}function Et(L){if(L instanceof qe)return L;if(L instanceof $n){L.expression=L.expression.transform(K);for(var ke=0,Be=L.body.length;!ae&&ke<Be;ke++){var Le=L.body[ke];if(Le instanceof Xr){if(!ne){if(Le!==G[ce])continue;ce++}if(Le.expression=Le.expression.transform(K),!_e)break}}return ae=!0,L}}function Lt(L,ke){if(L.global)return!1;let Be=L.scope;for(;Be&&Be!==ke;){if(Be.variables.has(L.name))return!0;Be=Be.parent_scope}return!1}function gt(L,ke,Be){var Le=!1,ut=!(L instanceof qt);return ke.walk(new Pn(function(rn,ft){if(Le)return!0;if(rn instanceof Se&&(L.variables.has(rn.name)||Lt(rn.definition(),L))){var gn=rn.definition().scope;if(gn!==o){for(;gn=gn.parent_scope;)if(gn===o)return!0}return Le=!0}if((Be||ut)&&rn instanceof Bn)return Le=!0;if(rn instanceof qe&&!(rn instanceof qt)){var Tn=ut;return ut=!1,ft(),ut=Tn,!0}})),Le}function Dt(L){return!(L instanceof ht||Nn(L,Be=>{if(Be instanceof dr)return lr}))}function Jt(){var L,ke=O.self();if(Mu(ke)&&!ke.name&&!ke.uses_arguments&&!ke.pinned()&&(L=O.parent())instanceof je&&L.expression===ke&&L.args.every(Dt)){var Be=O.has_directive("use strict");Be&&!El(Be,ke.body)&&(Be=!1);var Le=ke.argnames.length;U=L.args.slice(Le);for(var ut=new Set,rn=Le;--rn>=0;){var ft=ke.argnames[rn],gn=L.args[rn];const ui=ft.definition&&ft.definition();if(!(ui&&ui.orig.length>1)&&(U.unshift(N(Mt,ft,{name:ft,value:gn})),!ut.has(ft.name)))if(ut.add(ft.name),ft instanceof ht){var Tn=L.args.slice(rn);Tn.every(fn=>!gt(ke,fn,Be))&&X.unshift([N(Mt,ft,{name:ft.expression,value:N(St,L,{elements:Tn})})])}else gn?(gn instanceof Ke&&gn.pinned()||gt(ke,gn,Be))&&(gn=null):gn=N(en,ft).transform(O),gn&&X.unshift([N(Mt,ft,{name:ft,value:gn})])}}}function ie(L){if(G.push(L),L instanceof st)!L.left.has_side_effects(O)&&!(L.right instanceof mn)&&X.push(G.slice()),ie(L.right);else if(L instanceof oe)ie(L.left),ie(L.right);else if(L instanceof je&&!ir(L,So))ie(L.expression),L.args.forEach(ie);else if(L instanceof Xr)ie(L.expression);else if(L instanceof tt)ie(L.condition),ie(L.consequent),ie(L.alternative);else if(L instanceof sn){var ke=L.definitions.length,Be=ke-200;for(Be<0&&(Be=0);Be<ke;Be++)ie(L.definitions[Be])}else L instanceof Ou?(ie(L.condition),L.body instanceof vn||ie(L.body)):L instanceof ar?L.value&&ie(L.value):L instanceof En?(L.init&&ie(L.init),L.condition&&ie(L.condition),L.step&&ie(L.step),L.body instanceof vn||ie(L.body)):L instanceof Kn?(ie(L.object),L.body instanceof vn||ie(L.body)):L instanceof wt?(ie(L.condition),L.body instanceof vn||ie(L.body),L.alternative&&!(L.alternative instanceof vn)&&ie(L.alternative)):L instanceof lt?L.expressions.forEach(ie):L instanceof He?ie(L.body):L instanceof $n?(ie(L.expression),L.body.forEach(ie)):L instanceof Wt?(L.operator=="++"||L.operator=="--")&&X.push(G.slice()):L instanceof Mt&&L.value&&!(L.value instanceof mn)&&(X.push(G.slice()),ie(L.value));G.pop()}function De(L,ke,Be){var Le=K.parent(ke);return Le instanceof st?Be&&!Le.logical&&!(Le.left instanceof Xe||le.has(Le.left.name))?De(Le,ke+1,Be):L:Le instanceof oe?Be&&(!Oo.has(Le.operator)||Le.left===L)?De(Le,ke+1,Be):L:Le instanceof je||Le instanceof Xr?L:Le instanceof tt?Be&&Le.condition===L?De(Le,ke+1,Be):L:Le instanceof sn?De(Le,ke+1,!0):Le instanceof ar?Be?De(Le,ke+1,Be):L:Le instanceof wt?Be&&Le.condition===L?De(Le,ke+1,Be):L:Le instanceof Lr?L:Le instanceof lt?De(Le,ke+1,Le.tail_node()!==L):Le instanceof He?De(Le,ke+1,!0):Le instanceof $n||Le instanceof Mt?L:null}function pe(L){var ke=L.value;if(ke instanceof Se&&ke.name!="arguments"){var Be=ke.definition();if(!Be.undeclared)return de=Be}}function bt(L){if(L instanceof st&&L.logical)return!1;if(L instanceof Mt&&L.name instanceof Rn){var ke=L.name.definition();if(!El(L.name,ke.orig))return;var Be=ke.references.length-ke.replaced;if(!Be)return;var Le=ke.orig.length-ke.eliminated;if(Le>1&&!(L.name instanceof wn)||(Be>1?pe(L):!O.exposed(ke)))return N(Se,L.name,L.name)}else{const ut=L instanceof st?L.left:L.expression;return!Gl(ut,to)&&!Gl(ut,$o)&&ut}}function xt(L){return L instanceof st?L.right:L.value}function Ct(L){var ke=new Map;if(L instanceof Wt)return ke;var Be=new Pn(function(Le){for(var ut=Le;ut instanceof Xe;)ut=ut.expression;if(ut instanceof Se){const rn=ke.get(ut.name);(!rn||!rn.modified)&&ke.set(ut.name,{def:ut.definition(),modified:na(O,Be,Le,Le,0)})}});return xt(L).walk(Be),ke}function Mn(L){if(L.name instanceof wn){var ke=O.parent(),Be=O.self().argnames,Le=Be.indexOf(L.name);if(Le<0)ke.args.length=Math.min(ke.args.length,Be.length-1);else{var ut=ke.args;ut[Le]&&(ut[Le]=N(Je,ut[Le],{value:0}))}return!0}var rn=!1;return R[ue].transform(new fr(function(ft,gn,Tn){if(rn)return ft;if(ft===L||ft.body===L)return rn=!0,ft instanceof Mt?(ft.value=ft.name instanceof to?N(en,ft.value):null,ft):Tn?Xt.skip:null},function(ft){if(ft instanceof lt)switch(ft.expressions.length){case 0:return null;case 1:return ft.expressions[0]}}))}function Zt(L){for(;L instanceof Xe;)L=L.expression;return L instanceof Se&&L.definition().scope.get_defun_scope()===o&&!(u&&(le.has(L.name)||Q instanceof Wt||Q instanceof st&&!Q.logical&&Q.operator!="="))}function pn(L){return L instanceof Wt?Uu.has(L.operator):xt(L).has_side_effects(O)}function Ht(){if(we)return!1;if(de)return!0;if(he instanceof Se){var L=he.definition();if(L.references.length-L.replaced==(Q instanceof Mt?1:2))return!0}return!1}function It(L){if(!L.definition)return!0;var ke=L.definition();return ke.orig.length==1&&ke.orig[0]instanceof vi?!1:ke.scope.get_defun_scope()!==o?!0:ke.references.some(Be=>Be.scope.get_defun_scope()!==o)}function ln(L,ke){if(L instanceof st)return ln(L.left,!0);if(L instanceof Wt)return ln(L.expression,!0);if(L instanceof Mt)return L.value&&ln(L.value);if(ke){if(L instanceof $t||L instanceof Sn)return ln(L.expression,!0);if(L instanceof Se)return L.definition().scope.get_defun_scope()!==o}return!1}function Si(L,ke){for(const{def:Be}of ke.values()){const Le=L.find_variable(Be.name);if(Le){if(Le===Be)continue;return!0}}return!1}}function P(R){for(var O=[],U=0;U<R.length;){var X=R[U];X instanceof Ye&&X.body.every(Kl)?(m=!0,P(X.body),R.splice(U,1,...X.body),U+=X.body.length):X instanceof Rt?(m=!0,R.splice(U,1)):X instanceof Qn?O.indexOf(X.value)<0?(U++,O.push(X.value)):(m=!0,R.splice(U,1)):U++}}function A(R,O){var U=O.self(),X=te(R),ue=U instanceof Ke;const K=Math.min(R.length,500);for(var Y=K;--Y>=0;){var G=R[Y],ce=_e(Y),Q=R[ce];if(ue&&!Q&&G instanceof an){if(!G.value){m=!0,R.splice(Y,1);continue}if(G.value instanceof We&&G.value.operator=="void"){m=!0,R[Y]=N(He,G,{body:G.value.expression});continue}}if(G instanceof wt){let J,ne;if(J=kr(G.body),le(J)&&(ne=we(G.body,J))){J.label&&Ho(J.label.thedef.references,J),m=!0,G=G.clone(),G.condition=G.condition.negate(O),G.body=N(Ye,G,{body:Lu(G.alternative).concat(Ae())}),G.alternative=N(Ye,G,{body:ne}),R[Y]=G.transform(O);continue}if(J=kr(G.alternative),le(J)&&(ne=we(G.alternative,J))){J.label&&Ho(J.label.thedef.references,J),m=!0,G=G.clone(),G.body=N(Ye,G.body,{body:Lu(G.body).concat(Ae())}),G.alternative=N(Ye,G.alternative,{body:ne}),R[Y]=G.transform(O);continue}}if(G instanceof wt&&G.body instanceof an){var de=G.body.value;if(!de&&!G.alternative&&(ue&&!Q||Q instanceof an&&!Q.value)){m=!0,R[Y]=N(He,G.condition,{body:G.condition});continue}if(de&&!G.alternative&&Q instanceof an&&Q.value){m=!0,G=G.clone(),G.alternative=Q,R[Y]=G.transform(O),R.splice(ce,1);continue}if(de&&!G.alternative&&(!Q&&ue&&X||Q instanceof an)){m=!0,G=G.clone(),G.alternative=Q||N(an,G,{value:null}),R[Y]=G.transform(O),Q&&R.splice(ce,1);continue}var ye=R[Ue(Y)];if(O.option("sequences")&&ue&&!G.alternative&&ye instanceof wt&&ye.body instanceof an&&_e(ce)==R.length&&Q instanceof He){m=!0,G=G.clone(),G.alternative=N(Ye,Q,{body:[Q,N(an,Q,{value:null})]}),R[Y]=G.transform(O),R.splice(ce,1);continue}}}function te(J){for(var ne=0,ae=J.length;--ae>=0;){var Ee=J[ae];if(Ee instanceof wt&&Ee.body instanceof an&&++ne>1)return!0}return!1}function he(J){return!J||J instanceof We&&J.operator=="void"}function le(J){if(!J)return!1;for(var ne=Y+1,ae=R.length;ne<ae;ne++){var Ee=R[ne];if(Ee instanceof Jr||Ee instanceof Yr)return!1}var me=J instanceof Wr?O.loopcontrol_target(J):null;return J instanceof an&&ue&&he(J.value)||J instanceof eo&&U===Ql(me)||J instanceof xr&&me instanceof Ye&&U===me}function Ae(){var J=R.slice(Y+1);return R.length=Y+1,J.filter(function(ne){return ne instanceof Qt?(R.push(ne),!1):!0})}function we(J,ne){var ae=Lu(J);if(ne===ae[ae.length-1])return ae=ae.slice(0,-1),ne.value&&ae.push(N(He,ne.value,{body:ne.value.expression})),ae}function _e(J){for(var ne=J+1,ae=R.length;ne<ae;ne++){var Ee=R[ne];if(!(Ee instanceof kn&&$(Ee)))break}return ne}function Ue(J){for(var ne=J;--ne>=0;){var ae=R[ne];if(!(ae instanceof kn&&$(ae)))break}return ne}}function F(R,O){for(var U,X=O.self(),ue=0,K=0,Y=R.length;ue<Y;ue++){var G=R[ue];if(G instanceof Wr){var ce=O.loopcontrol_target(G);G instanceof xr&&!(ce instanceof Lr)&&Ql(ce)===X||G instanceof eo&&Ql(ce)===X?G.label&&Ho(G.label.thedef.references,G):R[K++]=G}else R[K++]=G;if(kr(G)){U=R.slice(ue+1);break}}R.length=K,m=K!=Y,U&&U.forEach(function(Q){ko(O,Q,R)})}function $(R){return R.definitions.every(O=>!O.value)}function V(R,O){if(R.length<2)return;var U=[],X=0;function ue(){if(U.length){var Q=nt(U[0],U);R[X++]=N(He,Q,{body:Q}),U=[]}}for(var K=0,Y=R.length;K<Y;K++){var G=R[K];if(G instanceof He){U.length>=O.sequences_limit&&ue();var ce=G.body;U.length>0&&(ce=ce.drop_side_effect_free(O)),ce&&Vl(U,ce)}else G instanceof sn&&$(G)||G instanceof Qt||ue(),R[X++]=G}ue(),R.length=X,X!=Y&&(m=!0)}function b(R,O){if(!(R instanceof Ye))return R;for(var U=null,X=0,ue=R.body.length;X<ue;X++){var K=R.body[X];if(K instanceof kn&&$(K))O.push(K);else{if(U||K instanceof Jr||K instanceof Yr)return!1;U=K}}return U}function y(R,O){function U(ye){X--,m=!0;var te=ue.body;return nt(te,[te,ye]).transform(O)}for(var X=0,ue,K=0;K<R.length;K++){var Y=R[K];if(ue&&(Y instanceof ar?Y.value=U(Y.value||N(en,Y).transform(O)):Y instanceof En?Y.init instanceof sn||Nn(ue.body,te=>{if(te instanceof qe)return!0;if(te instanceof oe&&te.operator==="in")return lr})||(Y.init?Y.init=U(Y.init):(Y.init=ue.body,X--,m=!0)):Y instanceof Kn?!(Y.init instanceof Jr)&&!(Y.init instanceof Yr)&&(Y.object=U(Y.object)):Y instanceof wt?Y.condition=U(Y.condition):(Y instanceof $n||Y instanceof pr)&&(Y.expression=U(Y.expression))),O.option("conditionals")&&Y instanceof wt){var G=[],ce=b(Y.body,G),Q=b(Y.alternative,G);if(ce!==!1&&Q!==!1&&G.length>0){var de=G.length;G.push(N(wt,Y,{condition:Y.condition,body:ce||N(Rt,Y.body),alternative:Q})),G.unshift(X,1),[].splice.apply(R,G),K+=de,X+=de+1,ue=null,m=!0;continue}}R[X++]=Y,ue=Y instanceof He?Y:null}R.length=X}function g(R,O){if(R instanceof sn){var U=R.definitions[R.definitions.length-1];if(U.value instanceof Nt){var X;if(O instanceof st&&!O.logical?X=[O]:O instanceof lt&&(X=O.expressions.slice()),!!X){var ue=!1;do{var K=X[0];if(!(K instanceof st)||K.operator!="="||!(K.left instanceof Xe))break;var Y=K.left.expression;if(!(Y instanceof Se)||U.name.name!=Y.name||!K.right.is_constant_expression(n))break;var G=K.left.property;if(G instanceof Te&&(G=G.evaluate(e)),G instanceof Te)break;G=""+G;var ce=e.option("ecma")<2015&&e.has_directive("use strict")?function(de){return de.key!=G&&de.key&&de.key.name!=G}:function(de){return de.key&&de.key.name!=G};if(!U.value.properties.every(ce))break;var Q=U.value.properties.filter(function(de){return de.key===G})[0];Q?Q.value=new lt({start:Q.start,expressions:[Q.value.clone(),K.right.clone()],end:Q.end}):U.value.properties.push(N(Yt,K,{key:G,value:K.right})),X.shift(),ue=!0}while(X.length);return ue&&X}}}}function D(R){for(var O,U=0,X=-1,ue=R.length;U<ue;U++){var K=R[U],Y=R[X];if(K instanceof sn)Y&&Y.TYPE==K.TYPE?(Y.definitions=Y.definitions.concat(K.definitions),m=!0):O&&O.TYPE==K.TYPE&&$(K)?(O.definitions=O.definitions.concat(K.definitions),m=!0):(R[++X]=K,O=K);else if(K instanceof ar)K.value=ce(K.value);else if(K instanceof En){var G=g(Y,K.init);G?(m=!0,K.init=G.length?nt(K.init,G):null,R[++X]=K):Y instanceof kn&&(!K.init||K.init.TYPE==Y.TYPE)?(K.init&&(Y.definitions=Y.definitions.concat(K.init.definitions)),K.init=Y,R[X]=K,m=!0):O instanceof kn&&K.init instanceof kn&&$(K.init)?(O.definitions=O.definitions.concat(K.init.definitions),K.init=null,R[++X]=K,m=!0):R[++X]=K}else if(K instanceof Kn)K.object=ce(K.object);else if(K instanceof wt)K.condition=ce(K.condition);else if(K instanceof He){var G=g(Y,K.body);if(G){if(m=!0,!G.length)continue;K.body=nt(K.body,G)}R[++X]=K}else K instanceof $n||K instanceof pr?K.expression=ce(K.expression):R[++X]=K}R.length=X+1;function ce(Q){R[++X]=K;var de=g(Y,Q);return de?(m=!0,de.length?nt(Q,de):Q instanceof lt?Q.tail_node().left:Q.left):Q}}}function F_(t){for(var e,n=0;e=t.parent(n++);){if(e instanceof Cn)return!1;if(e instanceof St||e instanceof Yt||e instanceof Nt)return!0}return!1}function ef(t,e){for(const n of e.enclosed){if(e.variables.has(n.name))continue;const o=t.find_variable(n.name);if(o){if(o===n)continue;return!0}}return!1}function M_(t,e){if(t.orig.length===1&&e){const n=e.size(),o=t.name.length;return n>o}return!0}function L_(t,e){if(e.in_computed_key())return t;const n=e.parent(),o=t.definition(),u=e.find_scope();let h=t.fixed_value();if(e.top_retain&&o.global&&e.top_retain(o)&&M_(o,h))return o.fixed=!1,o.single_use=!1,t;let m=o.single_use&&!(n instanceof je&&n.is_callee_pure(e)||ir(n,So))&&!(n instanceof On&&h instanceof Ke&&h.name);if(m&&h instanceof Te&&(m=!h.has_side_effects(e)&&!h.may_throw(e)),h instanceof _t&&o.scope!==t.scope)return t;if(m&&(h instanceof Ke||h instanceof _t)){if(ad(h,e))m=!1;else if(o.scope!==t.scope&&(o.escaped==1||Un(h,_s)||F_(e)||!e.option("reduce_funcs")))m=!1;else if(zl(e,o))m=!1;else if((o.scope!==t.scope||o.orig[0]instanceof wn)&&(m=h.is_constant_expression(t.scope),m=="f")){var _=t.scope;do(_ instanceof Qt||Mu(_))&&gr(_,_s);while(_=_.parent_scope)}}if(m&&(h instanceof Ke||h instanceof _t)&&(m=o.scope===t.scope&&!ef(u,h)||n instanceof je&&n.expression===t&&!ef(u,h)&&!(h.name&&h.name.definition().recursive_refs>0)),m&&h){if(h instanceof jr&&(gr(h,To),h=N(bi,h,h)),h instanceof Qt&&(gr(h,To),h=N(Ft,h,h)),o.recursive_refs>0&&h.name instanceof vi){const x=h.name.definition();let P=h.variables.get(h.name.name),A=P&&P.orig[0];A instanceof ni||(A=N(ni,h.name,h.name),A.scope=h,h.name=A,P=h.def_function(A)),Nn(h,F=>{F instanceof Se&&F.definition()===x&&(F.thedef=P,P.references.push(F))})}return(h instanceof Ke||h instanceof _t)&&h.parent_scope!==u&&(h=h.clone(!0,e.get_toplevel()),u.add_child_scope(h)),h.optimize(e)}if(h){let x;if(h instanceof Bn)!(o.orig[0]instanceof wn)&&o.references.every(P=>o.scope===P.scope)&&(x=h);else{var T=h.evaluate(e);T!==h&&(e.option("unsafe_regexp")||!(T instanceof RegExp))&&(x=tr(T,h))}if(x){const P=t.size(e),A=x.size(e);let F=0;if(e.option("unused")&&!e.exposed(o)&&(F=(P+2+h.size(e))/(o.references.length-o.assignments)),A<=P+F)return x}}return t}function B_(t,e){if(e.in_computed_key())return t;var n=t.expression,o=n,u=t.args.every(K=>!(K instanceof ht));if(e.option("reduce_vars")&&o instanceof Se&&!ir(t,So)){const K=o.fixed_value();if(ad(K,e)||!e.toplevel.funcs&&n.definition().global)return t;o=K}var h=o instanceof Ke,m=h&&o.body[0],_=h&&!o.is_generator&&!o.async,T=_&&e.option("inline")&&!t.is_callee_pure(e);if(T&&m instanceof an){let K=m.value;if(!K||K.is_constant_expression()){K?K=K.clone(!0):K=N(en,t);const Y=t.args.concat(K);return nt(t,Y).optimize(e)}if(o.argnames.length===1&&o.argnames[0]instanceof wn&&t.args.length<2&&!(t.args[0]instanceof ht)&&K instanceof Se&&K.name===o.argnames[0].name){const Y=(t.args[0]||N(en)).optimize(e);let G;return Y instanceof Xe&&(G=e.parent())instanceof je&&G.expression===t?nt(t,[N(Je,t,{value:0}),Y]):Y}}if(T){var x,P,A=-1;let K,Y,G;if(u&&!o.uses_arguments&&!(e.parent()instanceof _t)&&!(o.name&&o instanceof Ft)&&(Y=y(m))&&(n===o||ir(t,wl)||e.option("unused")&&(K=n.definition()).references.length==1&&!zl(e,K)&&o.is_constant_expression(n.scope))&&!ir(t,Rl|So)&&!o.contains_this()&&R()&&(G=e.find_scope())&&!ef(G,o)&&!function(){let Q=0,de;for(;de=e.parent(Q++);){if(de instanceof Dr)return!0;if(de instanceof vn)break}return!1}()&&!(x instanceof _t))return gr(o,To),G.add_child_scope(o),nt(t,ue(Y)).optimize(e)}if(T&&ir(t,wl))return gr(o,To),o=N(o.CTOR===Qt?Ft:o.CTOR,o,o),o=o.clone(!0),o.figure_out_scope({},{parent_scope:e.find_scope(),toplevel:e.get_toplevel()}),N(je,t,{expression:o,args:t.args}).optimize(e);if(_&&e.option("side_effects")&&o.body.every(oo)){var $=t.args.concat(N(en,t));return nt(t,$).optimize(e)}if(e.option("negate_iife")&&e.parent()instanceof He&&Hl(t))return t.negate(e,!0);var V=t.evaluate(e);if(V!==t)return V=tr(V,t).optimize(e),br(e,V,t);return t;function b(K){if(!K)return N(en,t);if(K instanceof an)return K.value?K.value.clone(!0):N(en,t);if(K instanceof He)return N(We,K,{operator:"void",expression:K.body.clone(!0)})}function y(K){var Y=o.body,G=Y.length;if(e.option("inline")<3)return G==1&&b(K);K=null;for(var ce=0;ce<G;ce++){var Q=Y[ce];if(Q instanceof kn){if(K&&!Q.definitions.every(de=>!de.value))return!1}else{if(K)return!1;Q instanceof Rt||(K=Q)}}return b(K)}function g(K,Y){for(var G=0,ce=o.argnames.length;G<ce;G++){var Q=o.argnames[G];if(Q instanceof Dr){if(Un(Q.left,io))continue;return!1}if(Q instanceof Vt)return!1;if(Q instanceof ht){if(Un(Q.expression,io))continue;return!1}if(!Un(Q,io)){if(!Y||K.has(Q.name)||rd.has(Q.name)||x.conflicting_def(Q.name))return!1;P&&P.push(Q.definition())}}return!0}function D(K,Y){for(var G=o.body.length,ce=0;ce<G;ce++){var Q=o.body[ce];if(Q instanceof kn){if(!Y)return!1;for(var de=Q.definitions.length;--de>=0;){var ye=Q.definitions[de].name;if(ye instanceof Vt||K.has(ye.name)||rd.has(ye.name)||x.conflicting_def(ye.name))return!1;P&&P.push(ye.definition())}}}return!0}function R(){var K=new Set;do if(x=e.parent(++A),x.is_block_scope()&&x.block_scope&&x.block_scope.variables.forEach(function(ce){K.add(ce.name)}),x instanceof qr)x.argname&&K.add(x.argname.name);else if(x instanceof Lr)P=[];else if(x instanceof Se&&x.fixed_value()instanceof qe)return!1;while(!(x instanceof qe));var Y=!(x instanceof zt)||e.toplevel.vars,G=e.option("inline");return!D(K,G>=3&&Y)||!g(K,G>=2&&Y)?!1:!P||P.length==0||!od(o,P)}function O(K,Y,G,ce){var Q=G.definition();x.variables.has(G.name)||(x.variables.set(G.name,Q),x.enclosed.push(Q),K.push(N(Mt,G,{name:G,value:null})));var ye=N(Se,G,G);Q.references.push(ye),ce&&Y.push(N(st,t,{operator:"=",logical:!1,left:ye,right:ce.clone()}))}function U(K,Y){for(var G=o.argnames.length,ce=t.args.length;--ce>=G;)Y.push(t.args[ce]);for(ce=G;--ce>=0;){var Q=o.argnames[ce],de=t.args[ce];if(Un(Q,io)||!Q.name||x.conflicting_def(Q.name))de&&Y.push(de);else{var ye=N(Bi,Q,Q);Q.definition().orig.push(ye),!de&&P&&(de=N(en,t)),O(K,Y,ye,de)}}K.reverse(),Y.reverse()}function X(K,Y){for(var G=Y.length,ce=0,Q=o.body.length;ce<Q;ce++){var de=o.body[ce];if(de instanceof kn)for(var ye=0,te=de.definitions.length;ye<te;ye++){var he=de.definitions[ye],le=he.name;if(O(K,Y,le,he.value),P&&o.argnames.every(_e=>_e.name!=le.name)){var Ae=o.variables.get(le.name),we=N(Se,le,le);Ae.references.push(we),Y.splice(G++,0,N(st,he,{operator:"=",logical:!1,left:we,right:N(en,le)}))}}}}function ue(K){var Y=[],G=[];if(U(Y,G),X(Y,G),G.push(K),Y.length){const ce=x.body.indexOf(e.parent(A-1))+1;x.body.splice(ce,0,N(kn,o,{definitions:Y}))}return G.map(ce=>ce.clone(!0))}}(function(t){function e(n,o){if(n instanceof Te)return n instanceof Tt||(n=n.clone(!0)),N(n.CTOR,o,n);if(Array.isArray(n))return N(St,o,{elements:n.map(function(m){return e(m,o)})});if(n&&typeof n=="object"){var u=[];for(var h in n)Zn(n,h)&&u.push(N(Yt,o,{key:h,value:e(n[h],o)}));return N(Nt,o,{properties:u})}return tr(n,o)}zt.DEFMETHOD("resolve_defines",function(n){return n.option("global_defs")?(this.figure_out_scope({ie8:n.option("ie8")}),this.transform(new fr(function(o){var u=o._find_defs(n,"");if(u){for(var h=0,m=o,_;(_=this.parent(h++))&&!(!(_ instanceof Xe)||_.expression!==m);)m=_;if(!Do(m,_))return u}}))):this}),t(Te,hr),t(mn,function(n,o){return this.expression._find_defs(n,o)}),t($t,function(n,o){return this.expression._find_defs(n,"."+this.property+o)}),t(Rn,function(){this.global()}),t(Se,function(n,o){if(this.global()){var u=n.option("global_defs"),h=this.name+o;if(Zn(u,h))return e(u[h],this)}}),t(Mi,function(n,o){var u=n.option("global_defs"),h="import.meta"+o;if(Zn(u,h))return e(u[h],this)})})(function(t,e){t.DEFMETHOD("_find_defs",e)});class yd extends Pn{constructor(e,{false_by_default:n=!1,mangle_options:o=!1}){super(),e.defaults!==void 0&&!e.defaults&&(n=!0),this.options=pi(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 u=this.options.global_defs;if(typeof u=="object")for(var h in u)h[0]==="@"&&Zn(u,h)&&(u[h.slice(1)]=ss(u[h],{expression:!0}));this.options.inline===!0&&(this.options.inline=3);var m=this.options.pure_funcs;typeof m=="function"?this.pure_funcs=m:this.pure_funcs=m?function(P){return!m.includes(P.expression.print_to_string())}:Jn;var _=this.options.top_retain;_ instanceof RegExp?this.top_retain=function(P){return _.test(P.name)}:typeof _=="function"?this.top_retain=_:_&&(typeof _=="string"&&(_=_.split(/,/)),this.top_retain=function(P){return _.includes(P.name)}),this.options.module&&(this.directives["use strict"]=!0,this.options.toplevel=!0);var T=this.options.toplevel;this.toplevel=typeof T=="string"?{funcs:/funcs/.test(T),vars:/vars/.test(T)}:{funcs:T,vars:T};var x=this.options.sequences;this.sequences_limit=x==1?800:x|0,this.evaluated_regexps=new Map,this._toplevel=void 0,this._mangle_options=o&&Nu(o)}mangle_options(){var e=this._mangle_options&&this._mangle_options.nth_identifier||ys,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,o=e.orig.length;n<o;n++)if(!this.toplevel[e.orig[n]instanceof vi?"funcs":"vars"])return!0}return!1}in_boolean_context(){if(!this.option("booleans"))return!1;for(var e=this.self(),n=0,o;o=this.parent(n);n++){if(o instanceof He||o instanceof tt&&o.condition===e||o instanceof Ou&&o.condition===e||o instanceof En&&o.condition===e||o instanceof wt&&o.condition===e||o instanceof We&&o.operator=="!"&&o.expression===e)return!0;if(o instanceof oe&&(o.operator=="&&"||o.operator=="||"||o.operator=="??")||o instanceof tt||o.tail_node()===e)e=o;else return!1}}in_32_bit_context(){if(!this.option("evaluate"))return!1;for(var e=this.self(),n=0,o;o=this.parent(n);n++){if(o instanceof oe&&Wl.has(o.operator))return!0;if(o instanceof We)return o.operator==="~";if(o instanceof oe&&(o.operator=="&&"||o.operator=="||"||o.operator=="??")||o instanceof tt&&o.condition!==e||o.tail_node()===e)e=o;else return!1}}in_computed_key(){if(!this.option("evaluate"))return!1;for(var e=this.self(),n=0,o;o=this.parent(n);n++)if(o instanceof un&&o.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,o=1/0,u=!1,h=this.mangle_options(),m=0;m<n;m++)if(this._toplevel.figure_out_scope(h),m===0&&this.option("drop_console")&&(this._toplevel=this._toplevel.drop_console(this.option("drop_console"))),(m>0||this.option("reduce_vars"))&&this._toplevel.reset_opt_flags(this),this._toplevel=this._toplevel.transform(this),n>1){let _=0;if(Nn(this._toplevel,()=>{_++}),_<o)o=_,u=!1;else{if(u)break;u=!0}}return this.option("expression")&&this._toplevel.process_expression(!1),e=this._toplevel,this._toplevel=void 0,e}before(e,n){if(Un(e,To))return e;var o=!1;e instanceof qe&&(e=e.hoist_properties(this),e=e.hoist_declarations(this),o=!0),n(e,this),n(e,this);var u=e.optimize(this);return o&&u instanceof qe&&(u.drop_unused(this),n(u,this)),u===e&&gr(u,To),u}is_lhs(){const e=this.stack[this.stack.length-1],n=this.stack[this.stack.length-2];return Do(e,n)}}function Ze(t,e){t.DEFMETHOD("optimize",function(n){var o=this;if(Un(o,Bl)||n.has_directive("use asm"))return o;var u=e(o,n);return gr(u,Bl),u})}Ze(Te,function(t){return t}),zt.DEFMETHOD("drop_console",function(t){var e=Array.isArray(t);return this.transform(new fr(function(n){if(n.TYPE==="Call"){var o=n.expression;if(o instanceof Xe&&!(e&&t.indexOf(o.property)===-1)){for(var u=o.expression;u.expression;)u=u.expression;if(oi(u)&&u.name=="console")return N(en,n)}}}))}),Te.DEFMETHOD("equivalent_to",function(t){return __(this,t)}),qe.DEFMETHOD("process_expression",function(t,e){var n=this,o=new fr(function(u){if(t&&u instanceof He)return N(an,u,{value:u.body});if(!t&&u instanceof an){if(e){var h=u.value&&u.value.drop_side_effect_free(e,!0);return h?N(He,u,{body:h}):N(Rt,u)}return N(He,u,{body:u.value||N(We,u,{operator:"void",expression:N(Je,u,{value:0})})})}if(u instanceof _t||u instanceof Ke&&u!==n)return u;if(u instanceof vn){var m=u.body.length-1;m>=0&&(u.body[m]=u.body[m].transform(o))}else u instanceof wt?(u.body=u.body.transform(o),u.alternative&&(u.alternative=u.alternative.transform(o))):u instanceof pr&&(u.body=u.body.transform(o));return u});n.transform(o)}),zt.DEFMETHOD("reset_opt_flags",function(t){const e=this,n=t.option("reduce_vars"),o=new Pn(function(u,h){if(ea(u,v_),n)return t.top_retain&&u instanceof Qt&&o.parent()===e&&gr(u,Ul),u.reduce_vars(o,h,t)});o.safe_ids=Object.create(null),o.in_loop=null,o.loop_ids=new Map,o.defs_to_safe_ids=new Map,e.walk(o)}),pt.DEFMETHOD("fixed_value",function(){var t=this.thedef.fixed;return!t||t instanceof Te?t:t()}),Se.DEFMETHOD("is_immutable",function(){var t=this.definition().orig;return t.length==1&&t[0]instanceof ni});function tf(t,e){for(var n,o=0;(n=t.parent(o++))&&!(n instanceof qe);)if(n instanceof qr&&n.argname){n=n.argname.definition().scope;break}return n.find_variable(e)}var U_=Ot("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");Se.DEFMETHOD("is_declared",function(t){return!this.definition().undeclared||t.option("unsafe")&&U_.has(this.name)});var V_=new Set(["use asm","use strict"]);Ze(Qn,function(t,e){return e.option("directives")&&(!V_.has(t.value)||e.has_directive(t.value)!==t)?N(Rt,t):t}),Ze(Ni,function(t,e){return e.option("drop_debugger")?N(Rt,t):t}),Ze(Yn,function(t,e){return t.body instanceof xr&&e.loopcontrol_target(t.body)===t.body?N(Rt,t):t.label.references.length==0?t.body:t}),Ze(vn,function(t,e){return Vu(t.body,e),t});function j_(t){return!(t instanceof Jr||t instanceof Yr||t instanceof _t)}Ze(Ye,function(t,e){switch(Vu(t.body,e),t.body.length){case 1:if(!e.has_directive("use strict")&&e.parent()instanceof wt&&j_(t.body[0])||Kl(t.body[0]))return t.body[0];break;case 0:return N(Rt,t)}return t});function nf(t,e){return Vu(t.body,e),e.option("side_effects")&&t.body.length==1&&t.body[0]===e.has_directive("use strict")&&(t.body.length=0),t}Ze(Ke,nf),qe.DEFMETHOD("hoist_declarations",function(t){var e=this;if(t.has_directive("use asm"))return e;var n=t.option("hoist_funs"),o=t.option("hoist_vars");if(n||o){var u=[],h=[],m=new Map,_=0,T=0;Nn(e,y=>{if(y instanceof qe&&y!==e)return!0;if(y instanceof kn)return++T,!0}),o=o&&T>1;var x=new fr(function(g){if(g!==e){if(g instanceof Qn)return u.push(g),N(Rt,g);if(n&&g instanceof Qt&&!(x.parent()instanceof On)&&x.parent()===e)return h.push(g),N(Rt,g);if(o&&g instanceof kn&&!g.definitions.some(U=>U.name instanceof Vt)){g.definitions.forEach(function(U){m.set(U.name.name,U),++_});var D=g.to_assignments(t),R=x.parent();if(R instanceof Kn&&R.init===g){if(D==null){var O=g.definitions[0].name;return N(Se,O,O)}return D}return R instanceof En&&R.init===g?D:D?N(He,g,{body:D}):N(Rt,g)}if(g instanceof qe)return g}});if(e=e.transform(x),_>0){var P=[];const y=e instanceof Ke,g=y?e.args_as_names():null;if(m.forEach((D,R)=>{y&&g.some(O=>O.name===D.name.name)?m.delete(R):(D=D.clone(),D.value=null,P.push(D),m.set(R,D))}),P.length>0){for(var A=0;A<e.body.length;){if(e.body[A]instanceof He){var F=e.body[A].body,$,V;if(F instanceof st&&F.operator=="="&&($=F.left)instanceof pt&&m.has($.name)){var b=m.get($.name);if(b.value)break;b.value=F.right,Ho(P,b),P.push(b),e.body.splice(A,1);continue}if(F instanceof lt&&(V=F.expressions[0])instanceof st&&V.operator=="="&&($=V.left)instanceof pt&&m.has($.name)){var b=m.get($.name);if(b.value)break;b.value=V.right,Ho(P,b),P.push(b),e.body[A].body=nt(F,F.expressions.slice(1));continue}}if(e.body[A]instanceof Rt){e.body.splice(A,1);continue}if(e.body[A]instanceof Ye){e.body.splice(A,1,...e.body[A].body);continue}break}P=N(kn,e,{definitions:P}),h.push(P)}}e.body=u.concat(h,e.body)}return e}),qe.DEFMETHOD("hoist_properties",function(t){var e=this;if(!t.option("hoist_props")||t.has_directive("use asm"))return e;var n=e instanceof zt&&t.top_retain||vt,o=new Map,u=new fr(function(h,m){if(h instanceof Mt){const _=h.name;let T,x;if(_.scope===e&&(T=_.definition()).escaped!=1&&!T.assignments&&!T.direct_access&&!T.single_use&&!t.exposed(T)&&!n(T)&&(x=_.fixed_value())===h.value&&x instanceof Nt&&!x.properties.some(P=>P instanceof ht||P.computed_key())){m(h,this);const P=new Map,A=[];return x.properties.forEach(({key:F,value:$})=>{const V=u.find_scope(),b=e.create_symbol(_.CTOR,{source:_,scope:V,conflict_scopes:new Set([V,..._.definition().references.map(y=>y.scope)]),tentative_name:_.name+"_"+F});P.set(String(F),b.definition()),A.push(N(Mt,h,{name:b,value:$}))}),o.set(T.id,P),Xt.splice(A)}}else if(h instanceof Xe&&h.expression instanceof Se){const _=o.get(h.expression.definition().id);if(_){const T=_.get(String(td(h.property))),x=N(Se,h,{name:T.name,scope:h.expression.scope,thedef:T});return x.reference({}),x}}});return e.transform(u)}),Ze(He,function(t,e){if(e.option("side_effects")){var n=t.body,o=n.drop_side_effect_free(e,!0);if(!o)return N(Rt,t);if(o!==n)return N(He,t,{body:o})}return t}),Ze(Pi,function(t,e){return e.option("loops")?N(En,t,t).optimize(e):t}),Ze(di,function(t,e){if(!e.option("loops"))return t;var n=t.condition.tail_node().evaluate(e);if(!(n instanceof Te)){if(n)return N(En,t,{body:N(Ye,t.body,{body:[t.body,N(He,t.condition,{body:t.condition})]})}).optimize(e);if(!jl(t,e.parent()))return N(Ye,t.body,{body:[t.body,N(He,t.condition,{body:t.condition})]}).optimize(e)}return t});function md(t,e){var n=t.body instanceof Ye?t.body.body[0]:t.body;if(e.option("dead_code")&&u(n)){var o=[];return t.init instanceof Cn?o.push(t.init):t.init&&o.push(N(He,t.init,{body:t.init})),t.condition&&o.push(N(He,t.condition,{body:t.condition})),ko(e,t.body,o),N(Ye,t,{body:o})}return n instanceof wt&&(u(n.body)?(t.condition?t.condition=N(oe,t.condition,{left:t.condition,operator:"&&",right:n.condition.negate(e)}):t.condition=n.condition.negate(e),h(n.alternative)):u(n.alternative)&&(t.condition?t.condition=N(oe,t.condition,{left:t.condition,operator:"&&",right:n.condition}):t.condition=n.condition,h(n.body))),t;function u(m){return m instanceof xr&&e.loopcontrol_target(m)===e.self()}function h(m){m=Lu(m),t.body instanceof Ye?(t.body=t.body.clone(),t.body.body=m.concat(t.body.body.slice(1)),t.body=t.body.transform(e)):t.body=N(Ye,t.body,{body:m}).transform(e),t=md(t,e)}}Ze(En,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 Te)){if(n)t.condition=null;else if(!e.option("dead_code")){var o=t.condition;t.condition=tr(n,t.condition),t.condition=Gi(t.condition.transform(e),o)}}if(e.option("dead_code")&&(n instanceof Te&&(n=t.condition.tail_node().evaluate(e)),!n)){var u=[];return ko(e,t.body,u),t.init instanceof Cn?u.push(t.init):t.init&&u.push(N(He,t.init,{body:t.init})),u.push(N(He,t.condition,{body:t.condition})),N(Ye,t,{body:u}).optimize(e)}}return md(t,e)}),Ze(wt,function(t,e){if(oo(t.alternative)&&(t.alternative=null),!e.option("conditionals"))return t;var n=t.condition.evaluate(e);if(!e.option("dead_code")&&!(n instanceof Te)){var o=t.condition;t.condition=tr(n,o),t.condition=Gi(t.condition.transform(e),o)}if(e.option("dead_code"))if(n instanceof Te&&(n=t.condition.tail_node().evaluate(e)),n){if(!(n instanceof Te)){var u=[];return u.push(N(He,t.condition,{body:t.condition})),u.push(t.body),t.alternative&&ko(e,t.alternative,u),N(Ye,t,{body:u}).optimize(e)}}else{var u=[];return ko(e,t.body,u),u.push(N(He,t.condition,{body:t.condition})),t.alternative&&u.push(t.alternative),N(Ye,t,{body:u}).optimize(e)}var h=t.condition.negate(e),m=t.condition.size(),_=h.size(),T=_<m;if(t.alternative&&T){T=!1,t.condition=h;var x=t.body;t.body=t.alternative||N(Rt,t),t.alternative=x}if(oo(t.body)&&oo(t.alternative))return N(He,t.condition,{body:t.condition.clone()}).optimize(e);if(t.body instanceof He&&t.alternative instanceof He)return N(He,t,{body:N(tt,t,{condition:t.condition,consequent:t.body.body,alternative:t.alternative.body})}).optimize(e);if(oo(t.alternative)&&t.body instanceof He)return m===_&&!T&&t.condition instanceof oe&&t.condition.operator=="||"&&(T=!0),T?N(He,t,{body:N(oe,t,{operator:"||",left:h,right:t.body.body})}).optimize(e):N(He,t,{body:N(oe,t,{operator:"&&",left:t.condition,right:t.body.body})}).optimize(e);if(t.body instanceof Rt&&t.alternative instanceof He)return N(He,t,{body:N(oe,t,{operator:"||",left:t.condition,right:t.alternative.body})}).optimize(e);if(t.body instanceof ar&&t.alternative instanceof ar&&t.body.TYPE==t.alternative.TYPE)return N(t.body.CTOR,t,{value:N(tt,t,{condition:t.condition,consequent:t.body.value||N(en,t.body),alternative:t.alternative.value||N(en,t.alternative)}).transform(e)}).optimize(e);if(t.body instanceof wt&&!t.body.alternative&&!t.alternative&&(t=N(wt,t,{condition:N(oe,t.condition,{operator:"&&",left:t.condition,right:t.body.condition}),body:t.body.body,alternative:null})),kr(t.body)&&t.alternative){var P=t.alternative;return t.alternative=null,N(Ye,t,{body:[t,P]}).optimize(e)}if(kr(t.alternative)){var u=t.body;return t.body=t.alternative,t.condition=T?h:t.condition.negate(e),t.alternative=null,N(Ye,t,{body:[t,u]}).optimize(e)}return t}),Ze($n,function(t,e){if(!e.option("switches"))return t;var n,o=t.expression.evaluate(e);if(!(o instanceof Te)){var u=t.expression;t.expression=tr(o,u),t.expression=Gi(t.expression.transform(e),u)}if(!e.option("dead_code"))return t;o instanceof Te&&(o=t.expression.tail_node().evaluate(e));for(var h=[],m=[],_,T,x=0,P=t.body.length;x<P&&!T;x++){if(n=t.body[x],n instanceof bo)_?V(n,m[m.length-1]):_=n;else if(!(o instanceof Te)){var A=n.expression.evaluate(e);if(!(A instanceof Te)&&A!==o){V(n,m[m.length-1]);continue}if(A instanceof Te&&(A=n.expression.tail_node().evaluate(e)),A===o&&(T=n,_)){var F=m.indexOf(_);m.splice(F,1),V(_,m[F-1]),_=null}}m.push(n)}for(;x<P;)V(t.body[x++],m[m.length-1]);t.body=m;let $=_||T;if(_=null,T=null,m.every((O,U)=>(O===$||O.expression instanceof Tt)&&(O.body.length===0||kr(O)||m.length-1===U)))for(let O=0;O<m.length;O++){const U=m[O];for(let X=O+1;X<m.length;X++){const ue=m[X];if(ue.body.length===0)continue;const K=X===m.length-1,Y=b(ue,U,!1);if(Y||K&&b(ue,U,!0)){!Y&&K&&ue.body.push(N(xr));let G=X-1,ce=0;for(;G>O&&R(m[G--]);)ce++;const Q=m.splice(X-ce,1+ce);m.splice(O+1,0,...Q),O+=Q.length}}}for(let O=0;O<m.length;O++){let U=m[O];if(U.body.length!==0&&kr(U))for(let X=O+1;X<m.length;O++,X++){let ue=m[X];if(ue.body.length!==0){if(b(ue,U,!1)||X===m.length-1&&b(ue,U,!0)){U.body=[],U=ue;continue}break}}}{let O=m.length-1;for(;O>=0;O--){let U=m[O].body;if(D(U[U.length-1],e)&&U.pop(),!R(m[O]))break}if(O++,!$||m.indexOf($)>=O)for(let U=m.length-1;U>=O;U--){let X=m[U];if(X===$)$=null,m.pop();else if(!X.expression.has_side_effects(e))m.pop();else break}}e:if($){let O=m.indexOf($),U=O;for(;U<m.length-1&&R(m[U]);U++);if(U<m.length-1)break e;let X=m.length-1;for(;X>=0;X--){let ue=m[X];if(ue!==$&&ue.expression.has_side_effects(e))break}if(U>X){let ue=O-1;for(;ue>=0&&R(m[ue]);ue--);let K=Math.max(X,ue)+1,Y=O;X>O?(Y=X,m[X].body=m[U].body):$.body=m[U].body,m.splice(Y+1,U-Y),m.splice(K,O-K)}}e:if($){let O=m.findIndex(K=>!R(K)),U;if(O===m.length-1){let K=m[O];if(g(t))break e;U=N(Ye,K,{body:K.body}),K.body=[]}else if(O!==-1)break e;if(!m.find(K=>K!==$&&K.expression.has_side_effects(e)))return N(Ye,t,{body:h.concat(y(t.expression),$.expression?y($.expression):[],U||[])}).optimize(e);const ue=m.indexOf($);if(m.splice(ue,1),$=null,U)return N(Ye,t,{body:h.concat(t,U)}).optimize(e)}if(m.length>0&&(m[0].body=h.concat(m[0].body)),m.length==0)return N(Ye,t,{body:h.concat(y(t.expression))}).optimize(e);if(m.length==1&&!g(t)){let O=m[0];return N(wt,t,{condition:N(oe,t,{operator:"===",left:t.expression,right:O.expression}),body:N(Ye,O,{body:O.body}),alternative:null}).optimize(e)}if(m.length===2&&$&&!g(t)){let O=m[0]===$?m[1]:m[0],U=$.expression&&y($.expression);if(kr(m[0])){let Y=m[0];return D(Y.body[Y.body.length-1],e)&&Y.body.pop(),N(wt,t,{condition:N(oe,t,{operator:"===",left:t.expression,right:O.expression}),body:N(Ye,O,{body:O.body}),alternative:N(Ye,$,{body:[].concat(U||[],$.body)})}).optimize(e)}let X="===",ue=N(Ye,O,{body:O.body}),K=N(Ye,$,{body:[].concat(U||[],$.body)});if(m[0]===$){X="!==";let Y=K;K=ue,ue=Y}return N(Ye,t,{body:[N(wt,t,{condition:N(oe,t,{operator:X,left:t.expression,right:O.expression}),body:ue,alternative:null})].concat(K)}).optimize(e)}return t;function V(O,U){U&&!kr(U)?U.body=U.body.concat(O.body):ko(e,O,h)}function b(O,U,X){let ue=O.body,K=U.body;if(X&&(ue=ue.concat(N(xr))),ue.length!==K.length)return!1;let Y=N(Ye,O,{body:ue}),G=N(Ye,U,{body:K});return Y.equivalent_to(G)}function y(O){return N(He,O,{body:O})}function g(O){let U=!1,X=new Pn(ue=>{if(U||ue instanceof Ke||ue instanceof He)return!0;if(!D(ue,X))return;let K=X.parent();K instanceof Fi&&K.body[K.body.length-1]===ue||(U=!0)});return O.walk(X),U}function D(O,U){return O instanceof xr&&U.loopcontrol_target(O)===t}function R(O){return!kr(O)&&!N(Ye,O,{body:O.body}).has_side_effects(e)}}),Ze(mr,function(t,e){if(t.bcatch&&t.bfinally&&t.bfinally.body.every(oo)&&(t.bfinally=null),e.option("dead_code")&&t.body.body.every(oo)){var n=[];return t.bcatch&&ko(e,t.bcatch,n),t.bfinally&&n.push(...t.bfinally.body),N(Ye,t,{body:n}).optimize(e)}return t}),sn.DEFMETHOD("to_assignments",function(t){var e=t.option("reduce_vars"),n=[];for(const u of this.definitions){if(u.value){var o=N(Se,u.name,u.name);n.push(N(st,u,{operator:"=",logical:!1,left:o,right:u.value})),e&&(o.definition().fixed=!1)}const h=u.name.definition();h.eliminated++,h.replaced--}return n.length==0?null:nt(this,n)}),Ze(sn,function(t){return t.definitions.length==0?N(Rt,t):t}),Ze(Mt,function(t,e){return t.name instanceof $o&&t.value!=null&&ai(t.value,e)&&(t.value=null),t}),Ze(Or,function(t){return t}),Ze(je,function(t,e){var n=t.expression,o=n;gd(t.args);var u=t.args.every(Q=>!(Q instanceof ht));e.option("reduce_vars")&&o instanceof Se&&(o=o.fixed_value());var h=o instanceof Ke;if(h&&o.pinned())return t;if(e.option("unused")&&u&&h&&!o.uses_arguments){for(var m=0,_=0,T=0,x=t.args.length;T<x;T++){if(o.argnames[T]instanceof ht){if(Un(o.argnames[T].expression,io))for(;T<x;){var P=t.args[T++].drop_side_effect_free(e);P&&(t.args[m++]=P)}else for(;T<x;)t.args[m++]=t.args[T++];_=m;break}var A=T>=o.argnames.length;if(A||Un(o.argnames[T],io)){var P=t.args[T].drop_side_effect_free(e);if(P)t.args[m++]=P;else if(!A){t.args[m++]=N(Je,t.args[T],{value:0});continue}}else t.args[m++]=t.args[T];_=m}t.args.length=_}if(e.option("unsafe")&&!n.contains_optional()){if(n instanceof $t&&n.start.value==="Array"&&n.property==="from"&&t.args.length===1){const[Q]=t.args;if(Q instanceof St)return N(St,Q,{elements:Q.elements}).optimize(e)}if(oi(n))switch(n.name){case"Array":if(t.args.length!=1)return N(St,t,{elements:t.args}).optimize(e);if(t.args[0]instanceof Je&&t.args[0].value<=11){const Q=[];for(let de=0;de<t.args[0].value;de++)Q.push(new Cr);return new St({elements:Q})}break;case"Object":if(t.args.length==0)return N(Nt,t,{properties:[]});break;case"String":if(t.args.length==0)return N(dt,t,{value:""});if(t.args.length<=1)return N(oe,t,{left:t.args[0],operator:"+",right:N(dt,t,{value:""})}).optimize(e);break;case"Number":if(t.args.length==0)return N(Je,t,{value:0});if(t.args.length==1&&e.option("unsafe_math"))return N(We,t,{expression:t.args[0],operator:"+"}).optimize(e);break;case"Symbol":t.args.length==1&&t.args[0]instanceof dt&&e.option("unsafe_symbols")&&(t.args.length=0);break;case"Boolean":if(t.args.length==0)return N(ji,t);if(t.args.length==1)return N(We,t,{expression:N(We,t,{expression:t.args[0],operator:"!"}),operator:"!"}).optimize(e);break;case"RegExp":var F=[];if(t.args.length>=1&&t.args.length<=2&&t.args.every(Q=>{var de=Q.evaluate(e);return F.push(de),Q!==de})&&Fp(F[0])){let[Q,de]=F;Q=du(new RegExp(Q).source);const ye=N(ur,t,{value:{source:Q,flags:de}});if(ye._eval(e)!==ye)return ye}break}else if(n instanceof $t)switch(n.property){case"toString":if(t.args.length==0&&!n.expression.may_throw_on_access(e))return N(oe,t,{left:N(dt,t,{value:""}),operator:"+",right:n.expression}).optimize(e);break;case"join":if(n.expression instanceof St)e:{var $;if(t.args.length>0&&($=t.args[0].evaluate(e),$===t.args[0]))break e;for(var V=[],b=[],T=0,x=n.expression.elements.length;T<x;T++){var y=n.expression.elements[T];if(y instanceof ht)break e;var g=y.evaluate(e);g!==y?b.push(g):(b.length>0&&(V.push(N(dt,t,{value:b.join($)})),b.length=0),V.push(y))}if(b.length>0&&V.push(N(dt,t,{value:b.join($)})),V.length==0)return N(dt,t,{value:""});if(V.length==1)return V[0].is_string(e)?V[0]:N(oe,V[0],{operator:"+",left:N(dt,t,{value:""}),right:V[0]});if($==""){var D;return V[0].is_string(e)||V[1].is_string(e)?D=V.shift():D=N(dt,t,{value:""}),V.reduce(function(de,ye){return N(oe,ye,{operator:"+",left:de,right:ye})},D).optimize(e)}var P=t.clone();return P.expression=P.expression.clone(),P.expression.expression=P.expression.expression.clone(),P.expression.expression.elements=V,br(e,t,P)}break;case"charAt":if(n.expression.is_string(e)){var R=t.args[0],O=R?R.evaluate(e):0;if(O!==R)return N(Sn,n,{expression:n.expression,property:tr(O|0,R||n)}).optimize(e)}break;case"apply":if(t.args.length==2&&t.args[1]instanceof St){var U=t.args[1].elements.slice();return U.unshift(t.args[0]),N(je,t,{expression:N($t,n,{expression:n.expression,optional:!1,property:"call"}),args:U}).optimize(e)}break;case"call":var X=n.expression;if(X instanceof Se&&(X=X.fixed_value()),X instanceof Ke&&!X.contains_this())return(t.args.length?nt(this,[t.args[0],N(je,t,{expression:n.expression,args:t.args.slice(1)})]):N(je,t,{expression:n.expression,args:[]})).optimize(e);break}}if(e.option("unsafe_Function")&&oi(n)&&n.name=="Function"){if(t.args.length==0)return N(Ft,t,{argnames:[],body:[]}).optimize(e);if(t.args.every(Q=>Q instanceof dt))try{var ce="n(function("+t.args.slice(0,-1).map(function(Q){return Q.value}).join(",")+"){"+t.args[t.args.length-1].value+"})",ue=ss(ce),K=e.mangle_options();ue.figure_out_scope(K);var Y=new yd(e.options,{mangle_options:e._mangle_options});ue=ue.transform(Y),ue.figure_out_scope(K),ue.compute_char_frequency(K),ue.mangle_names(K);var G;Nn(ue,Q=>{if(Mu(Q))return G=Q,lr});var ce=Nl();return Ye.prototype._codegen.call(G,G,ce),t.args=[N(dt,t,{value:G.argnames.map(function(Q){return Q.print_to_string()}).join(",")}),N(dt,t.args[t.args.length-1],{value:ce.get().replace(/^{|}$/g,"")})],t}catch(Q){if(!(Q instanceof Kp))throw Q}}return B_(t,e)}),Te.DEFMETHOD("contains_optional",function(){return this instanceof Xe||this instanceof je||this instanceof mn?this.optional?!0:this.expression.contains_optional():!1}),Ze(er,function(t,e){return e.option("unsafe")&&oi(t.expression)&&["Object","RegExp","Function","Error","Array"].includes(t.expression.name)?N(je,t,t).transform(e):t}),Ze(lt,function(t,e){if(!e.option("side_effects"))return t;var n=[];u();var o=n.length-1;if(h(),o==0)return t=Ao(e.parent(),e.self(),n[0]),t instanceof lt||(t=t.optimize(e)),t;return t.expressions=n,t;function u(){var m=ii(e),_=t.expressions.length-1;t.expressions.forEach(function(T,x){x<_&&(T=T.drop_side_effect_free(e,m)),T&&(Vl(n,T),m=!1)})}function h(){for(;o>0&&ai(n[o],e);)o--;o<n.length-1&&(n[o]=N(We,t,{operator:"void",expression:n[o]}),n.length=o+1)}}),Wt.DEFMETHOD("lift_sequences",function(t){if(t.option("sequences")&&this.expression instanceof lt){var e=this.expression.expressions.slice(),n=this.clone();return n.expression=e.pop(),e.push(n),nt(this,e).optimize(t)}return this}),Ze(Li,function(t,e){return t.lift_sequences(e)}),Ze(We,function(t,e){var n=t.expression;if(t.operator=="delete"&&!(n instanceof Se||n instanceof Xe||n instanceof mn||id(n)))return nt(t,[n,N(_r,t)]).optimize(e);var o=t.lift_sequences(e);if(o!==t)return o;if(e.option("side_effects")&&t.operator=="void")return n=n.drop_side_effect_free(e),n?(t.expression=n,t):N(en,t).optimize(e);if(e.in_boolean_context())switch(t.operator){case"!":if(n instanceof We&&n.operator=="!")return n.expression;n instanceof oe&&(t=br(e,t,n.negate(e,ii(e))));break;case"typeof":return(n instanceof Se?N(_r,t):nt(t,[n,N(_r,t)])).optimize(e)}if(t.operator=="-"&&n instanceof ro&&(n=n.transform(e)),n instanceof oe&&(t.operator=="+"||t.operator=="-")&&(n.operator=="*"||n.operator=="/"||n.operator=="%"))return N(oe,t,{operator:n.operator,left:N(We,n.left,{operator:t.operator,expression:n.left}),right:n.right});if(e.option("evaluate")){if(t.operator==="~"&&t.expression instanceof We&&t.expression.operator==="~"&&(e.in_32_bit_context()||t.expression.expression.is_32_bit_integer()))return t.expression.expression;if(t.operator==="~"&&n instanceof oe&&n.operator==="^")return n.left instanceof We&&n.left.operator==="~"?n.left=n.left.bitwise_negate(!0):n.right=n.right.bitwise_negate(!0),n}if(t.operator!="-"||!(n instanceof Je||n instanceof ro||n instanceof ri)){var u=t.evaluate(e);if(u!==t)return u=tr(u,t).optimize(e),br(e,u,t)}return t}),oe.DEFMETHOD("lift_sequences",function(t){if(t.option("sequences")){if(this.left instanceof lt){var e=this.left.expressions.slice(),n=this.clone();return n.left=e.pop(),e.push(n),nt(this,e).optimize(t)}if(this.right instanceof lt&&!this.left.has_side_effects(t)){for(var o=this.operator=="="&&this.left instanceof Se,e=this.right.expressions,u=e.length-1,h=0;h<u&&!(!o&&e[h].has_side_effects(t));h++);if(h==u){e=e.slice();var n=this.clone();return n.right=e.pop(),e.push(n),nt(this,e).optimize(t)}else if(h>0){var n=this.clone();return n.right=nt(this.right,e.slice(h)),e=e.slice(0,h),e.push(n),nt(this,e).optimize(t)}}}return this});var H_=Ot("== === != !== * & | ^");function G_(t){return t instanceof St||t instanceof Ke||t instanceof Nt||t instanceof _t}Ze(oe,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 o(X){if(n()){X&&(t.operator=X);var ue=t.left;t.left=t.right,t.right=ue}}if(e.option("lhs_constants")&&H_.has(t.operator)&&t.right.is_constant()&&!t.left.is_constant()&&(t.left instanceof oe&&Ar[t.left.operator]>=Ar[t.operator]||o()),t=t.lift_sequences(e),e.option("comparisons"))switch(t.operator){case"===":case"!==":var u=!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(!u&&ai(t.left,e))t.left=N(cr,t.left);else if(!u&&ai(t.right,e))t.right=N(cr,t.right);else if(e.option("typeofs")&&t.left instanceof dt&&t.left.value=="undefined"&&t.right instanceof We&&t.right.operator=="typeof"){var h=t.right.expression;(h instanceof Se?h.is_declared(e):!(h instanceof Xe&&e.option("ie8")))&&(t.right=h,t.left=N(en,t.left).optimize(e),t.operator.length==2&&(t.operator+="="))}else if(e.option("typeofs")&&t.left instanceof We&&t.left.operator=="typeof"&&t.right instanceof dt&&t.right.value=="undefined"){var h=t.left.expression;(h instanceof Se?h.is_declared(e):!(h instanceof Xe&&e.option("ie8")))&&(t.left=h,t.right=N(en,t.right).optimize(e),t.operator.length==2&&(t.operator+="="))}else{if(t.left instanceof Se&&t.right instanceof Se&&t.left.definition()===t.right.definition()&&G_(t.left.fixed_value()))return N(t.operator[0]=="="?_r:ji,t);if(t.left.is_32_bit_integer()&&t.right.is_32_bit_integer()){const X=ce=>N(We,ce,{operator:"!",expression:ce}),ue=(ce,Q)=>Q?e.in_boolean_context()?ce:X(X(ce)):X(ce);if(t.left instanceof Je&&t.left.value===0)return ue(t.right,t.operator[0]==="!");if(t.right instanceof Je&&t.right.value===0)return ue(t.left,t.operator[0]==="!");let K,Y,G;if((K=t.left instanceof oe?t.left:t.right instanceof oe?t.right:null)&&(G=K===t.left?t.right:t.left)&&K.operator==="&"&&G instanceof Je&&G.is_32_bit_integer()&&(Y=K.left.equivalent_to(G)?K.right:K.right.equivalent_to(G)?K.left:null)){let ce=ue(N(oe,t,{operator:"&",left:G,right:N(We,t,{operator:"~",expression:Y})}),t.operator[0]==="!");return br(e,ce,t)}}}break;case"&&":case"||":var m=t.left;if(m.operator==t.operator&&(m=m.right),m instanceof oe&&m.operator==(t.operator=="&&"?"!==":"===")&&t.right instanceof oe&&m.operator==t.right.operator&&(ai(m.left,e)&&t.right.left instanceof cr||m.left instanceof cr&&ai(t.right.left,e))&&!m.right.has_side_effects(e)&&m.right.equivalent_to(t.right.right)){var _=N(oe,t,{operator:m.operator.slice(0,-1),left:N(cr,t),right:m.right});return m!==t.left&&(_=N(oe,t,{operator:t.operator,left:t.left.left,right:_})),_}break}if(t.operator=="+"&&e.in_boolean_context()){var T=t.left.evaluate(e),x=t.right.evaluate(e);if(T&&typeof T=="string")return nt(t,[t.right,N(_r,t)]).optimize(e);if(x&&typeof x=="string")return nt(t,[t.left,N(_r,t)]).optimize(e)}if(e.option("comparisons")&&t.is_boolean()){if(!(e.parent()instanceof oe)||e.parent()instanceof st){var P=N(We,t,{operator:"!",expression:t.negate(e,ii(e))});t=br(e,t,P)}if(e.option("unsafe_comps"))switch(t.operator){case"<":o(">");break;case"<=":o(">=");break}}if(t.operator=="+"){if(t.right instanceof dt&&t.right.getValue()==""&&t.left.is_string(e))return t.left;if(t.left instanceof dt&&t.left.getValue()==""&&t.right.is_string(e))return t.right;if(t.left instanceof oe&&t.left.operator=="+"&&t.left.left instanceof dt&&t.left.left.getValue()==""&&t.right.is_string(e))return t.left=t.left.right,t}if(e.option("evaluate")){switch(t.operator){case"&&":var T=Un(t.left,Fl)?!0:Un(t.left,Ml)?!1:t.left.evaluate(e);if(T){if(!(T instanceof Te))return nt(t,[t.left,t.right]).optimize(e)}else return Ao(e.parent(),e.self(),t.left).optimize(e);var x=t.right.evaluate(e);if(x){if(!(x instanceof Te)){var A=e.parent();if(A.operator=="&&"&&A.left===e.self()||e.in_boolean_context())return t.left.optimize(e)}}else{if(e.in_boolean_context())return nt(t,[t.left,N(ji,t)]).optimize(e);gr(t,Ml)}if(t.left.operator=="||"){var F=t.left.right.evaluate(e);if(!F)return N(tt,t,{condition:t.left.left,consequent:t.right,alternative:t.left.right}).optimize(e)}break;case"||":var T=Un(t.left,Fl)?!0:Un(t.left,Ml)?!1:t.left.evaluate(e);if(T){if(!(T instanceof Te))return Ao(e.parent(),e.self(),t.left).optimize(e)}else return nt(t,[t.left,t.right]).optimize(e);var x=t.right.evaluate(e);if(x){if(!(x instanceof Te)){if(e.in_boolean_context())return nt(t,[t.left,N(_r,t)]).optimize(e);gr(t,Fl)}}else{var A=e.parent();if(A.operator=="||"&&A.left===e.self()||e.in_boolean_context())return t.left.optimize(e)}if(t.left.operator=="&&"){var F=t.left.right.evaluate(e);if(F&&!(F instanceof Te))return N(tt,t,{condition:t.left.left,consequent:t.left.right,alternative:t.right}).optimize(e)}break;case"??":if(si(t.left,e))return t.right;var T=t.left.evaluate(e);if(!(T instanceof Te))return T==null?t.right:t.left;if(e.in_boolean_context()){const K=t.right.evaluate(e);if(!(K instanceof Te)&&!K)return t.left}}var $=!0;switch(t.operator){case"+":if(t.right instanceof Tt&&t.left instanceof oe&&t.left.operator=="+"&&t.left.is_string(e)){var V=N(oe,t,{operator:"+",left:t.left.right,right:t.right}),b=V.optimize(e);V!==b&&(t=N(oe,t,{operator:"+",left:t.left.left,right:b}))}if(t.left instanceof oe&&t.left.operator=="+"&&t.left.is_string(e)&&t.right instanceof oe&&t.right.operator=="+"&&t.right.is_string(e)){var V=N(oe,t,{operator:"+",left:t.left.right,right:t.right.left}),y=V.optimize(e);V!==y&&(t=N(oe,t,{operator:"+",left:N(oe,t.left,{operator:"+",left:t.left.left,right:y}),right:t.right.right}))}if(t.right instanceof We&&t.right.operator=="-"&&t.left.is_number(e)){t=N(oe,t,{operator:"-",left:t.left,right:t.right.expression});break}if(t.left instanceof We&&t.left.operator=="-"&&n()&&t.right.is_number(e)){t=N(oe,t,{operator:"-",left:t.right,right:t.left.expression});break}if(t.left instanceof zn){var g=t.left,b=t.right.evaluate(e);if(b!=t.right)return g.segments[g.segments.length-1].value+=String(b),g}if(t.right instanceof zn){var b=t.right,g=t.left.evaluate(e);if(g!=t.left)return b.segments[0].value=String(g)+b.segments[0].value,b}if(t.left instanceof zn&&t.right instanceof zn){var g=t.left,D=g.segments,b=t.right;D[D.length-1].value+=b.segments[0].value;for(var R=1;R<b.segments.length;R++)D.push(b.segments[R]);return g}case"*":$=e.option("unsafe_math");case"&":case"|":case"^":if(t.left.is_number(e)&&t.right.is_number(e)&&n()&&!(t.left instanceof oe&&t.left.operator!=t.operator&&Ar[t.left.operator]>=Ar[t.operator])){var O=N(oe,t,{operator:t.operator,left:t.right,right:t.left});t.right instanceof Tt&&!(t.left instanceof Tt)?t=br(e,O,t):t=br(e,t,O)}$&&t.is_number(e)&&(t.right instanceof oe&&t.right.operator==t.operator&&(t=N(oe,t,{operator:t.operator,left:N(oe,t.left,{operator:t.operator,left:t.left,right:t.right.left,start:t.left.start,end:t.right.left.end}),right:t.right.right})),t.right instanceof Tt&&t.left instanceof oe&&t.left.operator==t.operator&&(t.left.left instanceof Tt?t=N(oe,t,{operator:t.operator,left:N(oe,t.left,{operator:t.operator,left:t.left.left,right:t.right,start:t.left.left.start,end:t.right.end}),right:t.left.right}):t.left.right instanceof Tt&&(t=N(oe,t,{operator:t.operator,left:N(oe,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 oe&&t.left.operator==t.operator&&t.left.right instanceof Tt&&t.right instanceof oe&&t.right.operator==t.operator&&t.right.left instanceof Tt&&(t=N(oe,t,{operator:t.operator,left:N(oe,t.left,{operator:t.operator,left:N(oe,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(Wl.has(t.operator)){let X,ue,K,Y,G=t.left;if(t.operator==="&"&&t.right instanceof oe&&t.right.operator==="|"&&typeof(ue=t.left.evaluate(e))=="number"&&(typeof(X=t.right.right.evaluate(e))=="number"?(K=t.right.left,Y=t.right.right):typeof(X=t.right.left.evaluate(e))=="number"&&(K=t.right.right,Y=t.right.left),K&&Y))if(!(X&ue))t=N(oe,t,{operator:t.operator,left:G,right:K});else{const le=N(oe,t,{operator:"|",left:N(oe,t,{operator:"&",left:K,right:G}),right:tr(X&ue,Y)});t=br(e,t,le)}if(t.left.equivalent_to(t.right)&&!t.left.has_side_effects(e)){if(t.operator==="^")return N(Je,t,{value:0});(t.operator==="|"||t.operator==="&")&&(t.left=N(Je,t,{value:0}),t.operator="|")}(t.operator==="<<"||t.operator===">>")&&t.right instanceof Je&&t.right.value===0&&(t.operator="|");const Q=t.right instanceof Je&&t.right.value===0?t.right:t.left instanceof Je&&t.left.value===0?t.left:null,de=Q&&(Q===t.right?t.left:t.right);if(Q&&(t.operator==="|"||t.operator==="^")&&(de.is_32_bit_integer()||e.in_32_bit_context()))return de;if(Q&&t.operator==="&"&&!de.has_side_effects(e))return Q;const ye=le=>le instanceof Je&&le.value===-1||le instanceof We&&(le.operator==="-"&&le.expression instanceof Je&&le.expression.value===1||le.operator==="~"&&le.expression instanceof Je&&le.expression.value===0),te=ye(t.right)?t.right:ye(t.left)?t.left:null,he=te&&(te===t.right?t.left:t.right);switch(t.operator){case"|":if(te&&!he.has_side_effects(e))return te;break;case"&":if(te&&(he.is_32_bit_integer()||e.in_32_bit_context()))return he;break;case"^":if(te)return he.bitwise_negate(e.in_32_bit_context());t.left instanceof We&&t.left.operator==="~"&&t.right instanceof We&&t.right.operator==="~"&&(t=N(oe,t,{operator:"^",left:t.left.expression,right:t.right.expression}));break}}}if(t.right instanceof oe&&t.right.operator==t.operator&&(Oo.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=N(oe,t.left,{operator:t.operator,left:t.left.transform(e),right:t.right.left.transform(e)}),t.right=t.right.right.transform(e),t.transform(e);var U=t.evaluate(e);return U!==t?(U=tr(U,t).optimize(e),br(e,U,t)):t}),Ze(Eo,function(t){return t}),Ze(Se,function(t,e){if(!e.option("ie8")&&oi(t)&&!e.find_parent(pr))switch(t.name){case"undefined":return N(en,t).optimize(e);case"NaN":return N(hs,t).optimize(e);case"Infinity":return N(ro,t).optimize(e)}return e.option("reduce_vars")&&!e.is_lhs()?L_(t,e):t});function ju(t,e){return t instanceof Se||t.TYPE===e.TYPE}Ze(en,function(t,e){if(e.option("unsafe_undefined")){var n=tf(e,"undefined");if(n){var o=N(Se,t,{name:"undefined",scope:n.scope,thedef:n});return gr(o,Ll),o}}var u=e.is_lhs();return u&&ju(u,t)?t:N(We,t,{operator:"void",expression:N(Je,t,{value:0})})}),Ze(ro,function(t,e){var n=e.is_lhs();return n&&ju(n,t)||e.option("keep_infinity")&&!(n&&!ju(n,t))&&!tf(e,"Infinity")?t:N(oe,t,{operator:"/",left:N(Je,t,{value:1}),right:N(Je,t,{value:0})})}),Ze(hs,function(t,e){var n=e.is_lhs();return n&&!ju(n,t)||tf(e,"NaN")?N(oe,t,{operator:"/",left:N(Je,t,{value:0}),right:N(Je,t,{value:0})}):t});const K_=Ot("+ - / * % >> << >>> | ^ &"),z_=Ot("* | ^ &");Ze(st,function(t,e){if(t.logical)return t.lift_sequences(e);var n;if(t.operator==="="&&t.left instanceof Se&&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 Se&&(n=t.left.definition()).scope===e.find_parent(Ke)){var o=0,u,h=t;do if(u=h,h=e.parent(o++),h instanceof ar){if(m(o,h)||od(n.scope,[n]))break;return t.operator=="="?t.right:(n.fixed=!1,N(oe,t,{operator:t.operator.slice(0,-1),left:t.left,right:t.right}).optimize(e))}while(h instanceof oe&&h.right===u||h instanceof lt&&h.tail_node()===u)}return t=t.lift_sequences(e),t.operator=="="&&t.left instanceof Se&&t.right instanceof oe&&(t.right.left instanceof Se&&t.right.left.name==t.left.name&&K_.has(t.right.operator)?(t.operator=t.right.operator+"=",t.right=t.right.right):t.right.right instanceof Se&&t.right.right.name==t.left.name&&z_.has(t.right.operator)&&!t.right.left.has_side_effects(e)&&(t.operator=t.right.operator+"=",t.right=t.right.left)),t;function m(_,T){function x(){const F=t.right;t.right=N(cr,F);const $=T.may_throw(e);return t.right=F,$}for(var P=t.left.definition().scope.get_defun_scope(),A;(A=e.parent(_++))!==P;)if(A instanceof mr&&(A.bfinally||A.bcatch&&x()))return!0}}),Ze(Dr,function(t,e){if(!e.option("evaluate"))return t;var n=t.right.evaluate(e);let o,u;return n===void 0?(!((o=e.parent())instanceof Ke)||e.option("keep_fargs")===!1||(u=e.parent(1)).TYPE==="Call"&&u.expression===o)&&(t=t.left):n!==t.right&&(n=tr(n,t.right),t.right=Gi(n,t.right)),t});function $_(t,e,n){if(e.may_throw(n))return!1;let o;if(t instanceof oe&&t.operator==="=="&&((o=si(t.left,n)&&t.left)||(o=si(t.right,n)&&t.right))&&(o===t.left?t.right:t.left).equivalent_to(e))return!0;if(t instanceof oe&&t.operator==="||"){let u,h;const m=_=>{if(!(_ instanceof oe&&(_.operator==="==="||_.operator==="==")))return!1;let T=0,x;return _.left instanceof cr&&(T++,u=_,x=_.right),_.right instanceof cr&&(T++,u=_,x=_.left),ai(_.left,n)&&(T++,h=_,x=_.right),ai(_.right,n)&&(T++,h=_,x=_.left),!(T!==1||!x.equivalent_to(e))};if(!m(t.left)||!m(t.right))return!1;if(u&&h&&u!==h)return!0}return!1}Ze(tt,function(t,e){if(!e.option("conditionals"))return t;if(t.condition instanceof lt){var n=t.condition.expressions.slice();return t.condition=n.pop(),n.push(t),nt(t,n)}var o=t.condition.evaluate(e);if(o!==t.condition)return o?Ao(e.parent(),e.self(),t.consequent):Ao(e.parent(),e.self(),t.alternative);var u=o.negate(e,ii(e));br(e,o,u)===u&&(t=N(tt,t,{condition:u,consequent:t.alternative,alternative:t.consequent}));var h=t.condition,m=t.consequent,_=t.alternative;if(h instanceof Se&&m instanceof Se&&h.definition()===m.definition())return N(oe,t,{operator:"||",left:h,right:_});if(m instanceof st&&_ instanceof st&&m.operator===_.operator&&m.logical===_.logical&&m.left.equivalent_to(_.left)&&(!t.condition.has_side_effects(e)||m.operator=="="&&!m.left.has_side_effects(e)))return N(st,t,{operator:m.operator,left:m.left,logical:m.logical,right:N(tt,t,{condition:t.condition,consequent:m.right,alternative:_.right})});var T;if(m instanceof je&&_.TYPE===m.TYPE&&m.args.length>0&&m.args.length==_.args.length&&m.expression.equivalent_to(_.expression)&&!t.condition.has_side_effects(e)&&!m.expression.has_side_effects(e)&&typeof(T=V())=="number"){var x=m.clone();return x.args[T]=N(tt,t,{condition:t.condition,consequent:m.args[T],alternative:_.args[T]}),x}if(_ instanceof tt&&m.equivalent_to(_.consequent))return N(tt,t,{condition:N(oe,t,{operator:"||",left:h,right:_.condition}),consequent:m,alternative:_.alternative}).optimize(e);if(e.option("ecma")>=2020&&$_(h,_,e))return N(oe,t,{operator:"??",left:_,right:m}).optimize(e);if(_ instanceof lt&&m.equivalent_to(_.expressions[_.expressions.length-1]))return nt(t,[N(oe,t,{operator:"||",left:h,right:nt(t,_.expressions.slice(0,-1))}),m]).optimize(e);if(_ instanceof oe&&_.operator=="&&"&&m.equivalent_to(_.right))return N(oe,t,{operator:"&&",left:N(oe,t,{operator:"||",left:h,right:_.left}),right:m}).optimize(e);if(m instanceof tt&&m.alternative.equivalent_to(_))return N(tt,t,{condition:N(oe,t,{left:t.condition,operator:"&&",right:m.condition}),consequent:m.consequent,alternative:_});if(m.equivalent_to(_))return nt(t,[t.condition,m]).optimize(e);if(m instanceof oe&&m.operator=="||"&&m.right.equivalent_to(_))return N(oe,t,{operator:"||",left:N(oe,t,{operator:"&&",left:t.condition,right:m.left}),right:_}).optimize(e);const P=e.in_boolean_context();if(F(t.consequent))return $(t.alternative)?A(t.condition):N(oe,t,{operator:"||",left:A(t.condition),right:t.alternative});if($(t.consequent))return F(t.alternative)?A(t.condition.negate(e)):N(oe,t,{operator:"&&",left:A(t.condition.negate(e)),right:t.alternative});if(F(t.alternative))return N(oe,t,{operator:"||",left:A(t.condition.negate(e)),right:t.consequent});if($(t.alternative))return N(oe,t,{operator:"&&",left:A(t.condition),right:t.consequent});return t;function A(b){return b.is_boolean()?b:N(We,b,{operator:"!",expression:b.negate(e)})}function F(b){return b instanceof _r||P&&b instanceof Tt&&b.getValue()||b instanceof We&&b.operator=="!"&&b.expression instanceof Tt&&!b.expression.getValue()}function $(b){return b instanceof ji||P&&b instanceof Tt&&!b.getValue()||b instanceof We&&b.operator=="!"&&b.expression instanceof Tt&&b.expression.getValue()}function V(){for(var b=m.args,y=_.args,g=0,D=b.length;g<D;g++){if(b[g]instanceof ht)return;if(!b[g].equivalent_to(y[g])){if(y[g]instanceof ht)return;for(var R=g+1;R<D;R++)if(b[R]instanceof ht||!b[R].equivalent_to(y[R]))return;return g}}}}),Ze(Ru,function(t,e){if(e.in_boolean_context())return N(Je,t,{value:+t.value});var n=e.parent();return e.option("booleans_as_integers")?(n instanceof oe&&(n.operator=="==="||n.operator=="!==")&&(n.operator=n.operator.replace(/=$/,"")),N(Je,t,{value:+t.value})):e.option("booleans")?n instanceof oe&&(n.operator=="=="||n.operator=="!=")?N(Je,t,{value:+t.value}):N(We,t,{operator:"!",expression:N(Je,t,{value:1-t.value})}):t});function _d(t,e){return t instanceof Se&&(t=t.fixed_value()),t?!(t instanceof Ke||t instanceof _t)||!(t instanceof Ke&&t.contains_this())?!0:e.parent()instanceof er:!1}Xe.DEFMETHOD("flatten_object",function(t,e){if(e.option("properties")&&t!=="__proto__"){var n=e.option("unsafe_arrows")&&e.option("ecma")>=2015,o=this.expression;if(o instanceof Nt)for(var u=o.properties,h=u.length;--h>=0;){var m=u[h];if(""+(m instanceof Fn?m.key.name:m.key)==t)return!u.every(T=>(T instanceof Yt||n&&T instanceof Fn&&!T.is_generator)&&!T.computed_key())||!_d(m.value,e)?void 0:N(Sn,this,{expression:N(St,o,{elements:u.map(function(T){var x=T.value;x instanceof Ii&&(x=N(Ft,x,x));var P=T.key;return P instanceof Te&&!(P instanceof Ln)?nt(T,[P,x]):x})}),property:N(Je,this,{value:h})})}}}),Ze(Sn,function(t,e){var n=t.expression,o=t.property;if(e.option("properties")){var u=o.evaluate(e);if(u!==o){if(typeof u=="string")if(u=="undefined")u=void 0;else{var h=parseFloat(u);h.toString()==u&&(u=h)}o=t.property=Gi(o,tr(u,o).transform(e));var m=""+u;if(Su(m)&&m.length<=o.size()+1)return N($t,t,{expression:n,optional:t.optional,property:m,quote:o.quote}).optimize(e)}}var _;e:if(e.option("arguments")&&n instanceof Se&&n.name=="arguments"&&n.definition().orig.length==1&&(_=n.scope)instanceof Ke&&_.uses_arguments&&!(_ instanceof qt)&&o instanceof Je){for(var T=o.getValue(),x=new Set,P=_.argnames,A=0;A<P.length;A++){if(!(P[A]instanceof wn))break e;var F=P[A].name;if(x.has(F))break e;x.add(F)}var $=_.argnames[T];if($&&e.has_directive("use strict")){var V=$.definition();(!e.option("reduce_vars")||V.assignments||V.orig.length>1)&&($=null)}else if(!$&&!e.option("keep_fargs")&&T<_.argnames.length+5)for(;T>=_.argnames.length;)$=_.create_symbol(wn,{source:_,scope:_,tentative_name:"argument_"+_.argnames.length}),_.argnames.push($);if($){var b=N(Se,t,$);return b.reference({}),ea($,io),b}}if(e.is_lhs())return t;if(u!==o){var y=t.flatten_object(m,e);y&&(n=t.expression=y.expression,o=t.property=y.property)}if(e.option("properties")&&e.option("side_effects")&&o instanceof Je&&n instanceof St){var T=o.getValue(),g=n.elements,D=g[T];e:if(_d(D,e)){for(var R=!0,O=[],U=g.length;--U>T;){var h=g[U].drop_side_effect_free(e);h&&(O.unshift(h),R&&h.has_side_effects(e)&&(R=!1))}if(D instanceof ht)break e;for(D=D instanceof Cr?N(en,D):D,R||O.unshift(D);--U>=0;){var h=g[U];if(h instanceof ht)break e;h=h.drop_side_effect_free(e),h?O.unshift(h):T--}return R?(O.push(D),nt(t,O).optimize(e)):N(Sn,t,{expression:N(St,n,{elements:O}),property:N(Je,o,{value:T})})}}var X=t.evaluate(e);return X!==t?(X=tr(X,t).optimize(e),br(e,X,t)):t}),Ze(mn,function(t,e){if(si(t.expression,e)){let n=e.parent();return n instanceof We&&n.operator==="delete"?tr(0,t):N(en,t)}return t}),Ze($t,function(t,e){const n=e.parent();if(e.is_lhs())return t;if(e.option("unsafe_proto")&&t.expression instanceof $t&&t.expression.property=="prototype"){var o=t.expression.expression;if(oi(o))switch(o.name){case"Array":t.expression=N(St,t.expression,{elements:[]});break;case"Function":t.expression=N(Ft,t.expression,{argnames:[],body:[]});break;case"Number":t.expression=N(Je,t.expression,{value:0});break;case"Object":t.expression=N(Nt,t.expression,{properties:[]});break;case"RegExp":t.expression=N(ur,t.expression,{value:{source:"t",flags:""}});break;case"String":t.expression=N(dt,t.expression,{value:""});break}}if(!(n instanceof je)||!ir(n,So)){const h=t.flatten_object(t.property,e);if(h)return h.optimize(e)}if(t.expression instanceof Xe&&n instanceof Xe)return t;let u=t.evaluate(e);return u!==t?(u=tr(u,t).optimize(e),br(e,u,t)):t});function rf(t,e){return e.in_boolean_context()?br(e,t,nt(t,[t,N(_r,t)]).optimize(e)):t}function gd(t){for(var e=0;e<t.length;e++){var n=t[e];if(n instanceof ht){var o=n.expression;o instanceof St&&!o.elements.some(u=>u instanceof Cr)&&(t.splice(e,1,...o.elements),e--)}}}Ze(St,function(t,e){var n=rf(t,e);return n!==t?n:(gd(t.elements),t)});function W_(t){for(var e=0;e<t.length;e++){var n=t[e];if(n instanceof ht){const o=n.expression;o instanceof Nt&&o.properties.every(u=>u instanceof Yt)?(t.splice(e,1,...o.properties),e--):(o instanceof Tt||o.is_constant())&&!(o instanceof dt)&&(t.splice(e,1),e--)}}}Ze(Nt,function(t,e){var n=rf(t,e);return n!==t?n:(W_(t.properties),t)}),Ze(ur,rf),Ze(an,function(t,e){return t.value&&ai(t.value,e)&&(t.value=null),t}),Ze(qt,nf),Ze(Ft,function(t,e){return t=nf(t,e),e.option("unsafe_arrows")&&e.option("ecma")>=2015&&!t.name&&!t.is_generator&&!t.uses_arguments&&!t.pinned()&&!Nn(t,o=>{if(o instanceof Bn)return lr})?N(qt,t,t).optimize(e):t}),Ze(_t,function(t){for(let e=0;e<t.properties.length;e++){const n=t.properties[e];n instanceof Wn&&n.body.length==0&&(t.properties.splice(e,1),e--)}return t}),Ze(Wn,function(t,e){return Vu(t.body,e),t}),Ze(yr,function(t,e){return t.expression&&!t.is_star&&ai(t.expression,e)&&(t.expression=null),t}),Ze(zn,function(t,e){if(!e.option("evaluate")||e.parent()instanceof Br)return t;for(var n=[],o=0;o<t.segments.length;o++){var u=t.segments[o];if(u instanceof Te){var h=u.evaluate(e);if(h!==u&&(h+"").length<=u.size()+3){n[n.length-1].value=n[n.length-1].value+h+t.segments[++o].value;continue}if(u instanceof zn){var m=u.segments;n[n.length-1].value+=m[0].value;for(var _=1;_<m.length;_++)u=m[_],n.push(u);continue}}n.push(u)}if(t.segments=n,n.length==1)return N(dt,t,n[0]);if(n.length===3&&n[1]instanceof Te&&(n[1].is_string(e)||n[1].is_number(e)||si(n[1],e)||e.option("unsafe"))){if(n[2].value==="")return N(oe,t,{operator:"+",left:N(dt,t,{value:n[0].value}),right:n[1]});if(n[0].value==="")return N(oe,t,{operator:"+",left:n[1],right:N(dt,t,{value:n[2].value})})}return t}),Ze(Br,function(t){return t});function of(t,e){if(!e.option("computed_props")||!(t.key instanceof Tt))return t;if(t.key instanceof dt||t.key instanceof Je){const n=t.key.value.toString();if(n==="__proto__"||n=="constructor"&&e.parent()instanceof _t)return t;t instanceof Yt?(t.quote=t.key.quote,t.key=n):t instanceof sr?(t.quote=t.key.quote,t.key=N(Vi,t.key,{name:n})):(t.quote=t.key.quote,t.key=N(Ln,t.key,{name:n}))}return t}Ze(un,of),Ze(Fn,function(t,e){if(of(t,e),e.option("arrows")&&e.parent()instanceof Nt&&!t.is_generator&&!t.value.uses_arguments&&!t.value.pinned()&&t.value.body.length==1&&t.value.body[0]instanceof an&&t.value.body[0].value&&!t.value.contains_this()){var n=N(qt,t.value,t.value);return n.async=t.async,n.is_generator=t.is_generator,N(Yt,t,{key:t.key instanceof Ln?t.key.name:t.key,value:n,quote:t.quote})}return t}),Ze(Yt,function(t,e){of(t,e);var n=e.option("unsafe_methods");if(n&&e.option("ecma")>=2015&&(!(n instanceof RegExp)||n.test(t.key+""))){var o=t.key,u=t.value,h=u instanceof qt&&Array.isArray(u.body)&&!u.contains_this();if((h||u instanceof Ft)&&!u.name)return N(Fn,t,{async:u.async,is_generator:u.is_generator,key:o instanceof Te?o:N(Ln,t,{name:o}),value:N(Ii,u,u),quote:t.quote})}return t}),Ze(Vt,function(t,e){if(e.option("pure_getters")==!0&&e.option("unused")&&!t.is_array&&Array.isArray(t.names)&&!h(e)&&!(t.names[t.names.length-1]instanceof ht)){for(var n=[],o=0;o<t.names.length;o++){var u=t.names[o];u instanceof Yt&&typeof u.key=="string"&&u.value instanceof Rn&&!m(e,u.value.definition())||n.push(u)}n.length!=t.names.length&&(t.names=n)}return t;function h(_){for(var T=[/^VarDef$/,/^(Const|Let|Var)$/,/^Export$/],x=0,P=0,A=T.length;x<A;P++){var F=_.parent(P);if(!F)return!1;if(!(x===0&&F.TYPE=="Destructuring")){if(!T[x].test(F.TYPE))return!1;x++}}return!0}function m(_,T){return T.references.length?!0:T.global?_.toplevel.vars?_.top_retain?_.top_retain(T):!1:!0:!1}});var af={exports:{}};(function(t,e){(function(n,o){o(e)})(Op,function(n){const h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",m=new Uint8Array(64),_=new Uint8Array(128);for(let B=0;B<h.length;B++){const H=h.charCodeAt(B);m[B]=H,_[H]=B}const T=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(B){return Buffer.from(B.buffer,B.byteOffset,B.byteLength).toString()}}:{decode(B){let H="";for(let q=0;q<B.length;q++)H+=String.fromCharCode(B[q]);return H}};function x(B){const H=new Int32Array(5),q=[];let se=0;do{const be=P(B,se),ge=[];let ve=!0,ze=0;H[0]=0;for(let Me=se;Me<be;Me++){let ot;Me=A(B,Me,H,0);const Ut=H[0];Ut<ze&&(ve=!1),ze=Ut,F(B,Me,be)?(Me=A(B,Me,H,1),Me=A(B,Me,H,2),Me=A(B,Me,H,3),F(B,Me,be)?(Me=A(B,Me,H,4),ot=[Ut,H[1],H[2],H[3],H[4]]):ot=[Ut,H[1],H[2],H[3]]):ot=[Ut],ge.push(ot)}ve||$(ge),q.push(ge),se=be+1}while(se<=B.length);return q}function P(B,H){const q=B.indexOf(";",H);return q===-1?B.length:q}function A(B,H,q,se){let be=0,ge=0,ve=0;do{const Me=B.charCodeAt(H++);ve=_[Me],be|=(ve&31)<<ge,ge+=5}while(ve&32);const ze=be&1;return be>>>=1,ze&&(be=-2147483648|-be),q[se]+=be,H}function F(B,H,q){return H>=q?!1:B.charCodeAt(H)!==44}function $(B){B.sort(V)}function V(B,H){return B[0]-H[0]}function b(B){const H=new Int32Array(5),q=1024*16,se=q-36,be=new Uint8Array(q),ge=be.subarray(0,se);let ve=0,ze="";for(let Me=0;Me<B.length;Me++){const ot=B[Me];if(Me>0&&(ve===q&&(ze+=T.decode(be),ve=0),be[ve++]=59),ot.length!==0){H[0]=0;for(let Ut=0;Ut<ot.length;Ut++){const ct=ot[Ut];ve>se&&(ze+=T.decode(ge),be.copyWithin(0,se,ve),ve-=se),Ut>0&&(be[ve++]=44),ve=y(be,ve,H,ct,0),ct.length!==1&&(ve=y(be,ve,H,ct,1),ve=y(be,ve,H,ct,2),ve=y(be,ve,H,ct,3),ct.length!==4&&(ve=y(be,ve,H,ct,4)))}}}return ze+T.decode(be.subarray(0,ve))}function y(B,H,q,se,be){const ge=se[be];let ve=ge-q[be];q[be]=ge,ve=ve<0?-ve<<1|1:ve<<1;do{let ze=ve&31;ve>>>=5,ve>0&&(ze|=32),B[H++]=m[ze]}while(ve>0);return H}const g=/^[\w+.-]+:\/\//,D=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,R=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function O(B){return g.test(B)}function U(B){return B.startsWith("//")}function X(B){return B.startsWith("/")}function ue(B){return B.startsWith("file:")}function K(B){return/^[.?#]/.test(B)}function Y(B){const H=D.exec(B);return ce(H[1],H[2]||"",H[3],H[4]||"",H[5]||"/",H[6]||"",H[7]||"")}function G(B){const H=R.exec(B),q=H[2];return ce("file:","",H[1]||"","",X(q)?q:"/"+q,H[3]||"",H[4]||"")}function ce(B,H,q,se,be,ge,ve){return{scheme:B,user:H,host:q,port:se,path:be,query:ge,hash:ve,type:7}}function Q(B){if(U(B)){const q=Y("http:"+B);return q.scheme="",q.type=6,q}if(X(B)){const q=Y("http://foo.com"+B);return q.scheme="",q.host="",q.type=5,q}if(ue(B))return G(B);if(O(B))return Y(B);const H=Y("http://foo.com/"+B);return H.scheme="",H.host="",H.type=B?B.startsWith("?")?3:B.startsWith("#")?2:4:1,H}function de(B){if(B.endsWith("/.."))return B;const H=B.lastIndexOf("/");return B.slice(0,H+1)}function ye(B,H){te(H,H.type),B.path==="/"?B.path=H.path:B.path=de(H.path)+B.path}function te(B,H){const q=H<=4,se=B.path.split("/");let be=1,ge=0,ve=!1;for(let Me=1;Me<se.length;Me++){const ot=se[Me];if(!ot){ve=!0;continue}if(ve=!1,ot!=="."){if(ot===".."){ge?(ve=!0,ge--,be--):q&&(se[be++]=ot);continue}se[be++]=ot,ge++}}let ze="";for(let Me=1;Me<be;Me++)ze+="/"+se[Me];(!ze||ve&&!ze.endsWith("/.."))&&(ze+="/"),B.path=ze}function he(B,H){if(!B&&!H)return"";const q=Q(B);let se=q.type;if(H&&se!==7){const ge=Q(H),ve=ge.type;switch(se){case 1:q.hash=ge.hash;case 2:q.query=ge.query;case 3:case 4:ye(q,ge);case 5:q.user=ge.user,q.host=ge.host,q.port=ge.port;case 6:q.scheme=ge.scheme}ve>se&&(se=ve)}te(q,se);const be=q.query+q.hash;switch(se){case 2:case 3:return be;case 4:{const ge=q.path.slice(1);return ge?K(H||B)&&!K(ge)?"./"+ge+be:ge+be:be||"."}case 5:return q.path+be;default:return q.scheme+"//"+q.user+q.host+q.port+q.path+be}}function le(B,H){return H&&!H.endsWith("/")&&(H+="/"),he(B,H)}function Ae(B){if(!B)return"";const H=B.lastIndexOf("/");return B.slice(0,H+1)}const we=0,_e=1,Ue=2,J=3,ne=4,ae=1,Ee=2;function me(B,H){const q=At(B,0);if(q===B.length)return B;H||(B=B.slice());for(let se=q;se<B.length;se=At(B,se+1))B[se]=Et(B[se],H);return B}function At(B,H){for(let q=H;q<B.length;q++)if(!jt(B[q]))return q;return B.length}function jt(B){for(let H=1;H<B.length;H++)if(B[H][we]<B[H-1][we])return!1;return!0}function Et(B,H){return H||(B=B.slice()),B.sort(Lt)}function Lt(B,H){return B[we]-H[we]}let gt=!1;function Dt(B,H,q,se){for(;q<=se;){const be=q+(se-q>>1),ge=B[be][we]-H;if(ge===0)return gt=!0,be;ge<0?q=be+1:se=be-1}return gt=!1,q-1}function Jt(B,H,q){for(let se=q+1;se<B.length&&B[se][we]===H;q=se++);return q}function ie(B,H,q){for(let se=q-1;se>=0&&B[se][we]===H;q=se--);return q}function De(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function pe(B,H,q,se){const{lastKey:be,lastNeedle:ge,lastIndex:ve}=q;let ze=0,Me=B.length-1;if(se===be){if(H===ge)return gt=ve!==-1&&B[ve][we]===H,ve;H>=ge?ze=ve===-1?0:ve:Me=ve}return q.lastKey=se,q.lastNeedle=H,q.lastIndex=Dt(B,H,ze,Me)}function bt(B,H){const q=H.map(Ct);for(let se=0;se<B.length;se++){const be=B[se];for(let ge=0;ge<be.length;ge++){const ve=be[ge];if(ve.length===1)continue;const ze=ve[_e],Me=ve[Ue],ot=ve[J],Ut=q[ze],ct=Ut[Me]||(Ut[Me]=[]),Kt=H[ze];let An=Jt(ct,ot,pe(ct,ot,Kt,Me));Kt.lastIndex=++An,xt(ct,An,[ot,se,ve[we]])}}return q}function xt(B,H,q){for(let se=B.length;se>H;se--)B[se]=B[se-1];B[H]=q}function Ct(){return{__proto__:null}}const Mn=function(B,H){const q=Zt(B);if(!("sections"in q))return new Le(q,H);const se=[],be=[],ge=[],ve=[],ze=[];pn(q,H,se,be,ge,ve,ze,0,0,1/0,1/0);const Me={version:3,file:q.file,names:ve,sources:be,sourcesContent:ge,mappings:se,ignoreList:ze};return Ti(Me)};function Zt(B){return typeof B=="string"?JSON.parse(B):B}function pn(B,H,q,se,be,ge,ve,ze,Me,ot,Ut){const{sections:ct}=B;for(let Kt=0;Kt<ct.length;Kt++){const{map:An,offset:jn}=ct[Kt];let Xn=ot,Nr=Ut;if(Kt+1<ct.length){const zr=ct[Kt+1].offset;Xn=Math.min(ot,ze+zr.line),Xn===ot?Nr=Math.min(Ut,Me+zr.column):Xn<ot&&(Nr=Me+zr.column)}Ht(An,H,q,se,be,ge,ve,ze+jn.line,Me+jn.column,Xn,Nr)}}function Ht(B,H,q,se,be,ge,ve,ze,Me,ot,Ut){const ct=Zt(B);if("sections"in ct)return pn(...arguments);const Kt=new Le(ct,H),An=se.length,jn=ge.length,Xn=ft(Kt),{resolvedSources:Nr,sourcesContent:zr,ignoreList:vs}=Kt;if(It(se,Nr),It(ge,Kt.names),zr)It(be,zr);else for(let qn=0;qn<Nr.length;qn++)be.push(null);if(vs)for(let qn=0;qn<vs.length;qn++)ve.push(vs[qn]+An);for(let qn=0;qn<Xn.length;qn++){const Xi=ze+qn;if(Xi>ot)return;const aa=ln(q,Xi),Gu=qn===0?Me:0,sa=Xn[qn];for(let qi=0;qi<sa.length;qi++){const Yi=sa[qi],Pr=Gu+Yi[we];if(Xi===ot&&Pr>=Ut)return;if(Yi.length===1){aa.push([Pr]);continue}const co=An+Yi[_e],Ku=Yi[Ue],Fo=Yi[J];aa.push(Yi.length===4?[Pr,co,Ku,Fo]:[Pr,co,Ku,Fo,jn+Yi[ne]])}}}function It(B,H){for(let q=0;q<H.length;q++)B.push(H[q])}function ln(B,H){for(let q=B.length;q<=H;q++)B[q]=[];return B[H]}const Si="`line` must be greater than 0 (lines start at line 1)",L="`column` must be greater than or equal to 0 (columns start at column 0)",ke=-1,Be=1;class Le{constructor(H,q){const se=typeof H=="string";if(!se&&H._decodedMemo)return H;const be=se?JSON.parse(H):H,{version:ge,file:ve,names:ze,sourceRoot:Me,sources:ot,sourcesContent:Ut}=be;this.version=ge,this.file=ve,this.names=ze||[],this.sourceRoot=Me,this.sources=ot,this.sourcesContent=Ut,this.ignoreList=be.ignoreList||be.x_google_ignoreList||void 0;const ct=le(Me||"",Ae(q));this.resolvedSources=ot.map(An=>le(An||"",ct));const{mappings:Kt}=be;typeof Kt=="string"?(this._encoded=Kt,this._decoded=void 0):(this._encoded=void 0,this._decoded=me(Kt,se)),this._decodedMemo=De(),this._bySources=void 0,this._bySourceMemos=void 0}}function ut(B){return B}function rn(B){var H,q;return(H=(q=B)._encoded)!==null&&H!==void 0?H:q._encoded=b(B._decoded)}function ft(B){var H;return(H=B)._decoded||(H._decoded=x(B._encoded))}function gn(B,H){let{line:q,column:se,bias:be}=H;if(q--,q<0)throw new Error(Si);if(se<0)throw new Error(L);const ge=ft(B);if(q>=ge.length)return vr(null,null,null,null);const ve=ge[q],ze=wo(ve,B._decodedMemo,q,se,be||Be);if(ze===-1)return vr(null,null,null,null);const Me=ve[ze];if(Me.length===1)return vr(null,null,null,null);const{names:ot,resolvedSources:Ut}=B;return vr(Ut[Me[_e]],Me[Ue]+1,Me[J],Me.length===5?ot[Me[ne]]:null)}function Tn(B,H){const{source:q,line:se,column:be,bias:ge}=H;return Rr(B,q,se,be,ge||Be,!1)}function ui(B,H){const{source:q,line:se,column:be,bias:ge}=H;return Rr(B,q,se,be,ge||ke,!0)}function In(B,H){const q=ft(B),{names:se,resolvedSources:be}=B;for(let ge=0;ge<q.length;ge++){const ve=q[ge];for(let ze=0;ze<ve.length;ze++){const Me=ve[ze],ot=ge+1,Ut=Me[0];let ct=null,Kt=null,An=null,jn=null;Me.length!==1&&(ct=be[Me[1]],Kt=Me[2]+1,An=Me[3]),Me.length===5&&(jn=se[Me[4]]),H({generatedLine:ot,generatedColumn:Ut,source:ct,originalLine:Kt,originalColumn:An,name:jn})}}}function fn(B,H){const{sources:q,resolvedSources:se}=B;let be=q.indexOf(H);return be===-1&&(be=se.indexOf(H)),be}function so(B,H){const{sourcesContent:q}=B;if(q==null)return null;const se=fn(B,H);return se===-1?null:q[se]}function Ti(B,H){const q=new Le(uo(B,[]),H);return q._decoded=B.mappings,q}function uo(B,H){return{version:B.version,file:B.file,names:B.names,sourceRoot:B.sourceRoot,sources:B.sources,sourcesContent:B.sourcesContent,mappings:H,ignoreList:B.ignoreList||B.x_google_ignoreList}}function vr(B,H,q,se){return{source:B,line:H,column:q,name:se}}function Gr(B,H){return{line:B,column:H}}function wo(B,H,q,se,be){let ge=pe(B,se,H,q);return gt?ge=(be===ke?Jt:ie)(B,se,ge):be===ke&&ge++,ge===-1||ge===B.length?-1:ge}function zi(B,H,q,se,be){let ge=wo(B,H,q,se,Be);if(!gt&&be===ke&&ge++,ge===-1||ge===B.length)return[];const ve=gt?se:B[ge][we];gt||(ge=ie(B,ve,ge));const ze=Jt(B,ve,ge),Me=[];for(;ge<=ze;ge++){const ot=B[ge];Me.push(Gr(ot[ae]+1,ot[Ee]))}return Me}function Rr(B,H,q,se,be,ge){var ve;if(q--,q<0)throw new Error(Si);if(se<0)throw new Error(L);const{sources:ze,resolvedSources:Me}=B;let ot=ze.indexOf(H);if(ot===-1&&(ot=Me.indexOf(H)),ot===-1)return ge?[]:Gr(null,null);const ct=((ve=B)._bySources||(ve._bySources=bt(ft(B),B._bySourceMemos=ze.map(De))))[ot][q];if(ct==null)return ge?[]:Gr(null,null);const Kt=B._bySourceMemos[ot];if(ge)return zi(ct,Kt,q,se,be);const An=wo(ct,Kt,q,se,be);if(An===-1)return Gr(null,null);const jn=ct[An];return Gr(jn[ae]+1,jn[Ee])}class ci{constructor(){this._indexes={__proto__:null},this.array=[]}}function No(B){return B}function mt(B,H){return B._indexes[H]}function nr(B,H){const q=mt(B,H);if(q!==void 0)return q;const{array:se,_indexes:be}=B,ge=se.push(H);return be[H]=ge-1}const C=0,j=1,z=2,Z=3,re=4,Fe=-1;class Ie{constructor({file:H,sourceRoot:q}={}){this._names=new ci,this._sources=new ci,this._sourcesContent=[],this._mappings=[],this.file=H,this.sourceRoot=q,this._ignoreList=new ci}}function rt(B){return B}const Gt=(B,H)=>Io(!0,B,H);function on(B,H,q){const{_sources:se,_sourcesContent:be}=B,ge=nr(se,H);be[ge]=q}function bn(B){const{_mappings:H,_sources:q,_sourcesContent:se,_names:be,_ignoreList:ge}=B;return sf(H),{version:3,file:B.file||void 0,names:be.array,sourceRoot:B.sourceRoot||void 0,sources:q.array,sourcesContent:se,mappings:H,ignoreList:ge.array}}function wr(B){const H=bn(B);return Object.assign(Object.assign({},H),{mappings:b(H.mappings)})}function Bt(B){const H=new Le(B),q=new Ie({file:H.file,sourceRoot:H.sourceRoot});return Po(q._names,H.names),Po(q._sources,H.sources),q._sourcesContent=H.sourcesContent||H.sources.map(()=>null),q._mappings=ft(H),H.ignoreList&&Po(q._ignoreList,H.ignoreList),q}function Kr(B,H,q,se,be,ge,ve,ze,Me){const{_mappings:ot,_sources:Ut,_sourcesContent:ct,_names:Kt}=H,An=Er(ot,q),jn=Hu(An,se);if(!be)return B&&ia(An,jn)?void 0:$i(An,jn,[se]);const Xn=nr(Ut,be),Nr=ze?nr(Kt,ze):Fe;if(Xn===ct.length&&(ct[Xn]=Me??null),!(B&&Wi(An,jn,Xn,ge,ve,Nr)))return $i(An,jn,ze?[se,Xn,ge,ve,Nr]:[se,Xn,ge,ve])}function Er(B,H){for(let q=B.length;q<=H;q++)B[q]=[];return B[H]}function Hu(B,H){let q=B.length;for(let se=q-1;se>=0;q=se--){const be=B[se];if(H>=be[C])break}return q}function $i(B,H,q){for(let se=B.length;se>H;se--)B[se]=B[se-1];B[H]=q}function sf(B){const{length:H}=B;let q=H;for(let se=q-1;se>=0&&!(B[se].length>0);q=se,se--);q<H&&(B.length=q)}function Po(B,H){for(let q=0;q<H.length;q++)nr(B,H[q])}function ia(B,H){return H===0?!0:B[H-1].length===1}function Wi(B,H,q,se,be,ge){if(H===0)return!1;const ve=B[H-1];return ve.length===1?!1:q===ve[j]&&se===ve[z]&&be===ve[Z]&&ge===(ve.length===5?ve[re]:Fe)}function Io(B,H,q){const{generated:se,source:be,original:ge,name:ve,content:ze}=q;return be?Kr(B,H,se.line-1,se.column,be,ge.line-1,ge.column,ve,ze):Kr(B,H,se.line-1,se.column,null,null,null,null,null)}class oa{constructor(H,q){const se=this._map=new Mn(H,q);this.file=se.file,this.names=se.names,this.sourceRoot=se.sourceRoot,this.sources=se.resolvedSources,this.sourcesContent=se.sourcesContent,this.version=se.version}static fromSourceMap(H,q){return H.toDecodedMap?new oa(H.toDecodedMap(),q):new oa(H.toJSON(),q)}get mappings(){return rn(this._map)}originalPositionFor(H){return gn(this._map,H)}generatedPositionFor(H){return Tn(this._map,H)}allGeneratedPositionsFor(H){return ui(this._map,H)}hasContentsOfAllSources(){if(!this.sourcesContent||this.sourcesContent.length!==this.sources.length)return!1;for(const H of this.sourcesContent)if(H==null)return!1;return!0}sourceContentFor(H,q){const se=so(this._map,H);if(se!=null)return se;if(q)return null;throw new Error(`"${H}" is not in the SourceMap.`)}eachMapping(H,q){In(this._map,q?H.bind(q):H)}destroy(){}}class it{constructor(H){this._map=H instanceof Ie?H:new Ie(H)}static fromSourceMap(H){return new it(Bt(H))}addMapping(H){Gt(this._map,H)}setSourceContent(H,q){on(this._map,H,q)}toJSON(){return wr(this._map)}toString(){return JSON.stringify(this.toJSON())}toDecodedMap(){return bn(this._map)}}n.SourceMapConsumer=oa,n.SourceMapGenerator=it,Object.defineProperty(n,"__esModule",{value:!0})})})(af,af.exports);var bd=af.exports;function*X_(t){t=pi(t,{file:null,root:null,orig:null,files:{}});var e,n=new bd.SourceMapGenerator({file:t.file,sourceRoot:t.root});let o={__proto__:null},u=t.files;for(var h in u)Zn(u,h)&&(o[h]=u[h]);t.orig&&(e=yield new bd.SourceMapConsumer(t.orig),e.sourcesContent&&e.sources.forEach(function(A,F){var $=e.sourcesContent[F];$&&(o[A]=$)}));function m(A,F,$,V,b,y){let g={line:F,column:$};if(e){var D=e.originalPositionFor({line:V,column:b});if(D.source===null){n.addMapping({generated:g,original:null,source:null,name:null});return}A=D.source,V=D.line,b=D.column,y=D.name||y}n.addMapping({generated:g,original:{line:V,column:b},source:A,name:y}),n.setSourceContent(A,o[A])}function _(A){return A.sourcesContent&&A.sourcesContent.every($=>$==null)&&delete A.sourcesContent,A.file===void 0&&delete A.file,A.sourceRoot===void 0&&delete A.sourceRoot,A}function T(){return n.toDecodedMap?_(n.toDecodedMap()):null}function x(){return _(n.toJSON())}function P(){e&&e.destroy&&e.destroy()}return{add:m,getDecoded:T,getEncoded:x,destroy:P}}var q_=["$&","$'","$*","$+","$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 Y_(t){q_.forEach(u);var e=["Symbol","Map","Promise","Proxy","Reflect","Set","WeakMap","WeakSet"],n={},o=typeof global=="object"?global:self;e.forEach(function(h){n[h]=o[h]||function(){}}),["null","true","false","NaN","Infinity","-Infinity","undefined"].forEach(u),[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(h){Object.getOwnPropertyNames(h).map(u),h.prototype&&Object.getOwnPropertyNames(h.prototype).map(u)});function u(h){t.add(h)}}function J_(t,e){function n(o){yo(e,o)}t.walk(new Pn(function(o){o instanceof Yt&&o.quote?n(o.key):o instanceof un&&o.quote?n(o.key.name):o instanceof Sn&&Ro(o.property,n)}))}function Ro(t,e){t.walk(new Pn(function(n){return n instanceof lt?Ro(n.tail_node(),e):n instanceof dt?e(n.value):n instanceof tt&&(Ro(n.consequent,e),Ro(n.alternative,e)),!0}))}function Z_(t,e){var n=-1,o=new Map,u=e.nth_identifier||ys;return t=t.transform(new fr(function(m){m instanceof gi||m instanceof _i||m instanceof Qr||m instanceof mi||m instanceof ti?m.key.name=h(m.key.name):m instanceof Ur&&(m.property=h(m.property))})),t;function h(m){let _=o.get(m);return _||(_=u.get(++n),o.set(m,_)),_}}function vd(t){var e=new Set;return Nn(t,n=>{n instanceof gi||n instanceof _i||n instanceof Qr||n instanceof mi||n instanceof Ur||(n instanceof Yt?typeof n.key=="string"&&ir(n,ds)&&e.add(n.key):n instanceof un?ir(n,ds)&&e.add(n.key.name):n instanceof $t?ir(n,ds)&&e.add(n.property):n instanceof Sn&&n.property instanceof dt&&ir(n,ds)&&e.add(n.property.value))}),e}function Q_(t,e,n=vd(t)){e=pi(e,{builtins:!1,cache:null,debug:!1,keep_quoted:!1,nth_identifier:ys,only_cache:!1,regex:null,reserved:null,undeclared:!1,only_annotated:!1},!0);var o=e.nth_identifier,u=e.reserved;Array.isArray(u)||(u=[u]);var h=new Set(u);e.builtins||Y_(h);var m=-1,_;e.cache?_=e.cache.props:_=new Map;var T=e.only_annotated,x=e.regex&&new RegExp(e.regex),P=e.debug!==!1,A;P&&(A=e.debug===!0?"":e.debug);var F=new Set,$=new Set;_.forEach(O=>$.add(O));var V=!!e.keep_quoted;return t.walk(new Pn(function(O){if(!(O instanceof gi||O instanceof _i||O instanceof Qr||O instanceof mi||O instanceof Ur))if(O instanceof Yt)typeof O.key=="string"&&(!V||!O.quote)&&g(O.key);else if(O instanceof un)(!V||!O.quote)&&g(O.key.name);else if(O instanceof $t){var U=!!e.undeclared;if(!U){for(var X=O;X.expression;)X=X.expression;U=!(X.thedef&&X.thedef.undeclared)}U&&(!V||!O.quote)&&g(O.property)}else O instanceof Sn?V||Ro(O.property,g):O instanceof je&&O.expression.print_to_string()=="Object.defineProperty"?Ro(O.args[1],g):O instanceof oe&&O.operator==="in"?Ro(O.left,g):O instanceof dt&&ir(O,ps)&&g(O.value)})),t.transform(new fr(function(O){O instanceof gi||O instanceof _i||O instanceof Qr||O instanceof mi||O instanceof Ur||(O instanceof Yt?typeof O.key=="string"&&(!V||!O.quote)&&(O.key=D(O.key)):O instanceof un?(!V||!O.quote)&&(O.key.name=D(O.key.name)):O instanceof $t?(!V||!O.quote)&&(O.property=D(O.property)):!V&&O instanceof Sn?O.property=R(O.property):O instanceof je&&O.expression.print_to_string()=="Object.defineProperty"?O.args[1]=R(O.args[1]):O instanceof oe&&O.operator==="in"?O.left=R(O.left):O instanceof dt&&ir(O,ps)&&(Mp(O,ps),O.value=D(O.value)))}));function b(O){return $.has(O)||h.has(O)?!1:e.only_cache?_.has(O):!/^-?[0-9]+(\.[0-9]+)?(e[+-][0-9]+)?$/.test(O)}function y(O){return T&&!n.has(O)?!1:x&&!x.test(O)?n.has(O):h.has(O)?!1:_.has(O)||F.has(O)}function g(O){b(O)&&F.add(O),y(O)||$.add(O)}function D(O){if(!y(O))return O;var U=_.get(O);if(!U){if(P){var X="_$"+O+"$"+A+"_";b(X)&&(U=X)}if(!U)do U=o.get(++m);while(!b(U));_.set(O,U)}return U}function R(O){return O.transform(new fr(function(U){if(U instanceof lt){var X=U.expressions.length-1;U.expressions[X]=R(U.expressions[X])}else U instanceof dt?(Mp(U,ps),U.value=D(U.value)):U instanceof tt&&(U.consequent=R(U.consequent),U.alternative=R(U.alternative));return U}))}}var e0=typeof Buffer<"u"?t=>Buffer.from(t,"base64").toString():t=>decodeURIComponent(escape(atob(t))),t0=typeof Buffer<"u"?t=>Buffer.from(t).toString("base64"):t=>btoa(unescape(encodeURIComponent(t)));function n0(t){var e=/(?:^|[^.])\/\/# sourceMappingURL=data:application\/json(;[\w=-]*)?;base64,([+/0-9A-Za-z]*=*)\s*$/.exec(t);return e?e0(e[2]):(console.warn("inline source map not found"),null)}function ao(t,e,n){e[t]&&n.forEach(function(o){e[o]&&(typeof e[o]!="object"&&(e[o]={}),t in e[o]||(e[o][t]=e[t]))})}function Ed(t){t&&("props"in t?t.props instanceof Map||(t.props=Km(t.props)):t.props=new Map)}function Sd(t){return{props:zm(t.props)}}function r0(t,e,n,o){if(!(n&&n.writeFileSync&&n.mkdirSync))return;try{n.mkdirSync(o)}catch(_){if(_.code!=="EEXIST")throw _}const u=`${o}/terser-debug-${Math.random()*9999999|0}.log`;e=e||{};const h=JSON.stringify(e,(_,T)=>typeof T=="function"?"[Function "+T.toString()+"]":T instanceof RegExp?"[RegExp "+T.toString()+"]":T,4),m=_=>typeof _=="object"&&e.parse&&e.parse.spidermonkey?JSON.stringify(_,null,2):typeof _=="object"?Object.keys(_).map(T=>T+": "+m(_[T])).join(`
96
+ `),he()):(pn>0||!De)&&te(),/comment[134]/.test(Zt.type)){const Ht=Et(Zt.value);Ht&&de("//"+Ht),R=!0}else if(Zt.type=="comment2"){const Ht=Et(Zt.value);Ht&&de("/*"+Ht+"*/"),O=!0}}}),T.length()>Mn&&(U=Mn)}}}const Dt=t._destroy_ast?function(De){De.body.length=0,De.argnames.length=0}:hr;var Jt=[];return{get:jt,toString:jt,indent:he,in_directive:!1,use_asm:null,active_scope:null,indentation:function(){return u},current_width:function(){return h-u},should_break:function(){return t.width&&this.current_width()>=t.width},has_parens:function(){return b},newline:Ae,print:de,star:ye,space:te,comma:Ee,colon:me,last:function(){return X},semicolon:we,force_semicolon:_e,to_utf8:P,print_name:function(ie){de($(ie))},print_string:function(ie,De,pe){var bt=F(ie,De);pe===!0&&!bt.includes("\\")&&(T.expectDirective()||_e(),_e()),de(bt)},print_template_string_chars:function(ie){var De=F(ie,"`").replace(/\${/g,"\\${");return de(De.substr(1,De.length-2))},encode_string:F,next_indent:Ue,with_indent:le,with_block:J,with_parens:ne,with_square:ae,add_mapping:At,option:function(ie){return t[ie]},gc_scope:Dt,printed_comments:x,prepend_comments:e?hr:Lt,append_comments:e||n===vt?hr:gt,line:function(){return m},col:function(){return h},pos:function(){return _},push_node:function(ie){Jt.push(ie)},pop_node:function(){return Jt.pop()},parent:function(ie){return Jt[Jt.length-2-(ie||0)]}}}(function(){function t(y,g){y.DEFMETHOD("_codegen",g)}Te.DEFMETHOD("print",function(y,g){var D=this,R=D._codegen;D instanceof qe?y.active_scope=D:!y.use_asm&&D instanceof Qn&&D.value=="use asm"&&(y.use_asm=y.active_scope);function O(){y.prepend_comments(D),D.add_source_map(y),R(D,y),y.append_comments(D)}y.push_node(D),g||D.needs_parens(y)?y.with_parens(O):O(),y.pop_node(),D===y.use_asm&&(y.use_asm=null)}),Te.DEFMETHOD("_print",Te.prototype.print),Te.DEFMETHOD("print_to_string",function(y){var g=Nl(y);return this.print(g),g.get()});function e(y,g){Array.isArray(y)?y.forEach(function(D){e(D,g)}):y.DEFMETHOD("needs_parens",g)}e(Te,vt),e(Ft,function(y){if(!y.has_parens()&&ii(y))return!0;if(y.option("webkit")){var g=y.parent();if(g instanceof Xe&&g.expression===this)return!0}if(y.option("wrap_iife")){var g=y.parent();if(g instanceof je&&g.expression===this)return!0}if(y.option("wrap_func_args")){var g=y.parent();if(g instanceof je&&g.args.includes(this))return!0}return!1}),e(qt,function(y){var g=y.parent();return y.option("wrap_func_args")&&g instanceof je&&g.args.includes(this)?!0:g instanceof Xe&&g.expression===this||g instanceof tt&&g.condition===this}),e(Nt,function(y){return!y.has_parens()&&ii(y)}),e(bi,ii),e(Wt,function(y){var g=y.parent();return g instanceof Xe&&g.expression===this||g instanceof je&&g.expression===this||g instanceof oe&&g.operator==="**"&&this instanceof We&&g.left===this&&this.operator!=="++"&&this.operator!=="--"}),e(dr,function(y){var g=y.parent();return g instanceof Xe&&g.expression===this||g instanceof je&&g.expression===this||g instanceof oe&&g.operator==="**"&&g.left===this||y.option("safari10")&&g instanceof We}),e(lt,function(y){var g=y.parent();return g instanceof je||g instanceof Wt||g instanceof oe||g instanceof Mt||g instanceof Xe||g instanceof St||g instanceof un||g instanceof tt||g instanceof qt||g instanceof Dr||g instanceof ht||g instanceof go&&this===g.object||g instanceof yr||g instanceof On}),e(oe,function(y){var g=y.parent();if(g instanceof je&&g.expression===this||g instanceof Wt||g instanceof Xe&&g.expression===this)return!0;if(g instanceof oe){const D=g.operator,R=this.operator;if(R==="??"&&(D==="||"||D==="&&")||D==="??"&&(R==="||"||R==="&&"))return!0;const O=Ar[D],U=Ar[R];if(O>U||O==U&&(this===g.right||D=="**"))return!0}if(g instanceof ti){const D=this.operator,R=Ar.in,O=Ar[D];if(R>O||R==O&&this===g.value)return!0}}),e(ti,function(y){var g=y.parent();if(g instanceof je&&g.expression===this||g instanceof Wt||g instanceof Xe&&g.expression===this)return!0;if(g instanceof oe){const D=g.operator,R=Ar[D],O=Ar.in;if(R>O||R==O&&(this===g.right||D=="**"))return!0}if(g instanceof ti&&this===g.value)return!0}),e(yr,function(y){var g=y.parent();if(g instanceof oe&&g.operator!=="="||g instanceof je&&g.expression===this||g instanceof tt&&g.condition===this||g instanceof Wt||g instanceof Xe&&g.expression===this)return!0}),e(mn,function(y){var g=y.parent();return g instanceof je||g instanceof Xe?g.expression===this:!1}),e(Xe,function(y){var g=y.parent();if(g instanceof er&&g.expression===this)return Nn(this,D=>{if(D instanceof qe)return!0;if(D instanceof je)return lr})}),e(je,function(y){var g=y.parent(),D;return g instanceof er&&g.expression===this||g instanceof On&&g.is_default&&this.expression instanceof Ft?!0:this.expression instanceof Ft&&g instanceof Xe&&g.expression===this&&(D=y.parent(1))instanceof st&&D.left===g}),e(er,function(y){var g=y.parent();if(this.args.length===0&&(g instanceof Xe||g instanceof je&&g.expression===this||g instanceof Ur&&g.prefix===this))return!0}),e(Je,function(y){var g=y.parent();if(g instanceof Xe&&g.expression===this){var D=this.getValue();if(D<0||/^0/.test($(D)))return!0}}),e(ri,function(y){var g=y.parent();if(g instanceof Xe&&g.expression===this){var D=this.getValue();if(D.startsWith("-"))return!0}}),e([st,tt],function(y){var g=y.parent();if(g instanceof Wt||g instanceof oe&&!(g instanceof st)||g instanceof je&&g.expression===this||g instanceof tt&&g.condition===this||g instanceof Xe&&g.expression===this||this instanceof st&&this.left instanceof Vt&&this.left.is_array===!1)return!0}),t(Qn,function(y,g){g.print_string(y.value,y.quote),g.semicolon()}),t(ht,function(y,g){g.print("..."),y.expression.print(g)}),t(Vt,function(y,g){g.print(y.is_array?"[":"{");var D=y.names.length;y.names.forEach(function(R,O){O>0&&g.comma(),R.print(g),O==D-1&&R instanceof Cr&&g.comma()}),g.print(y.is_array?"]":"}")}),t(Ni,function(y,g){g.print("debugger"),g.semicolon()});function n(y,g,D,R){var O=y.length-1;D.in_directive=R,y.forEach(function(U,X){D.in_directive===!0&&!(U instanceof Qn||U instanceof Rt||U instanceof He&&U.body instanceof dt)&&(D.in_directive=!1),U instanceof Rt||(D.indent(),U.print(D),X==O&&g||(D.newline(),g&&D.newline())),D.in_directive===!0&&U instanceof He&&U.body instanceof dt&&(D.in_directive=!1)}),D.in_directive=!1}_o.DEFMETHOD("_do_print_body",function(y){A(this.body,y)}),t(Cn,function(y,g){y.body.print(g),g.semicolon()}),t(zt,function(y,g){n(y.body,!0,g,!0),g.print("")}),t(Yn,function(y,g){y.label.print(g),g.colon(),y.body.print(g)}),t(He,function(y,g){y.body.print(g),g.semicolon()});function o(y,g){g.print("{"),g.with_indent(g.next_indent(),function(){g.append_comments(y,!0)}),g.add_mapping(y.end),g.print("}")}function u(y,g,D){y.body.length>0?g.with_block(function(){n(y.body,!1,g,D),g.add_mapping(y.end)}):o(y,g)}t(Ye,function(y,g){u(y,g)}),t(Rt,function(y,g){g.semicolon()}),t(di,function(y,g){g.print("do"),g.space(),V(y.body,g),g.space(),g.print("while"),g.space(),g.with_parens(function(){y.condition.print(g)}),g.semicolon()}),t(Pi,function(y,g){g.print("while"),g.space(),g.with_parens(function(){y.condition.print(g)}),g.space(),y._do_print_body(g)}),t(En,function(y,g){g.print("for"),g.space(),g.with_parens(function(){y.init?(y.init instanceof sn?y.init.print(g):m(y.init,g,!0),g.print(";"),g.space()):g.print(";"),y.condition?(y.condition.print(g),g.print(";"),g.space()):g.print(";"),y.step&&y.step.print(g)}),g.space(),y._do_print_body(g)}),t(Kn,function(y,g){g.print("for"),y.await&&(g.space(),g.print("await")),g.space(),g.with_parens(function(){y.init.print(g),g.space(),g.print(y instanceof go?"of":"in"),g.space(),y.object.print(g)}),g.space(),y._do_print_body(g)}),t(pr,function(y,g){g.print("with"),g.space(),g.with_parens(function(){y.expression.print(g)}),g.space(),y._do_print_body(g)}),Ke.DEFMETHOD("_do_print",function(y,g){var D=this;g||(D.async&&(y.print("async"),y.space()),y.print("function"),D.is_generator&&y.star(),D.name&&y.space()),D.name instanceof pt?D.name.print(y):g&&D.name instanceof Te&&y.with_square(function(){D.name.print(y)}),y.with_parens(function(){D.argnames.forEach(function(R,O){O&&y.comma(),R.print(y)})}),y.space(),u(D,y,!0)}),t(Ke,function(y,g){y._do_print(g),g.gc_scope(y)}),t(Ur,function(y,g){var D=y.prefix,R=D instanceof Ke||D instanceof oe||D instanceof tt||D instanceof lt||D instanceof Wt||D instanceof $t&&D.expression instanceof Nt;R&&g.print("("),y.prefix.print(g),R&&g.print(")"),y.template_string.print(g)}),t(zn,function(y,g){var D=g.parent()instanceof Ur;g.print("`");for(var R=0;R<y.segments.length;R++)y.segments[R]instanceof yi?D?g.print(y.segments[R].raw):g.print_template_string_chars(y.segments[R].value):(g.print("${"),y.segments[R].print(g),g.print("}"));g.print("`")}),t(yi,function(y,g){g.print_template_string_chars(y.value)}),qt.DEFMETHOD("_do_print",function(y){var g=this,D=y.parent(),R=D instanceof oe&&!(D instanceof st)||D instanceof Wt||D instanceof je&&g===D.expression;R&&y.print("("),g.async&&(y.print("async"),y.space()),g.argnames.length===1&&g.argnames[0]instanceof pt?g.argnames[0].print(y):y.with_parens(function(){g.argnames.forEach(function(U,X){X&&y.comma(),U.print(y)})}),y.space(),y.print("=>"),y.space();const O=g.body[0];if(g.body.length===1&&O instanceof an){const U=O.value;U?Hi(U)?(y.print("("),U.print(y),y.print(")")):U.print(y):y.print("{}")}else u(g,y);R&&y.print(")"),y.gc_scope(g)}),ar.DEFMETHOD("_do_print",function(y,g){if(y.print(g),this.value){y.space();const D=this.value.start.comments_before;D&&D.length&&!y.printed_comments.has(D)?(y.print("("),this.value.print(y),y.print(")")):this.value.print(y)}y.semicolon()}),t(an,function(y,g){y._do_print(g,"return")}),t(cs,function(y,g){y._do_print(g,"throw")}),t(yr,function(y,g){var D=y.is_star?"*":"";g.print("yield"+D),y.expression&&(g.space(),y.expression.print(g))}),t(dr,function(y,g){g.print("await"),g.space();var D=y.expression,R=!(D instanceof je||D instanceof Se||D instanceof Xe||D instanceof Wt||D instanceof Tt||D instanceof dr||D instanceof Nt);R&&g.print("("),y.expression.print(g),R&&g.print(")")}),Wr.DEFMETHOD("_do_print",function(y,g){y.print(g),this.label&&(y.space(),this.label.print(y)),y.semicolon()}),t(xr,function(y,g){y._do_print(g,"break")}),t(eo,function(y,g){y._do_print(g,"continue")});function h(y,g){var D=y.body;if(g.option("braces")||g.option("ie8")&&D instanceof di)return V(D,g);if(!D)return g.force_semicolon();for(;;)if(D instanceof wt){if(!D.alternative){V(y.body,g);return}D=D.alternative}else if(D instanceof _o)D=D.body;else break;A(y.body,g)}t(wt,function(y,g){g.print("if"),g.space(),g.with_parens(function(){y.condition.print(g)}),g.space(),y.alternative?(h(y,g),g.space(),g.print("else"),g.space(),y.alternative instanceof wt?y.alternative.print(g):A(y.alternative,g)):y._do_print_body(g)}),t($n,function(y,g){g.print("switch"),g.space(),g.with_parens(function(){y.expression.print(g)}),g.space();var D=y.body.length-1;D<0?o(y,g):g.with_block(function(){y.body.forEach(function(R,O){g.indent(!0),R.print(g),O<D&&R.body.length>0&&g.newline()})})}),Fi.DEFMETHOD("_do_print_body",function(y){y.newline(),this.body.forEach(function(g){y.indent(),g.print(y),y.newline()})}),t(bo,function(y,g){g.print("default:"),y._do_print_body(g)}),t(Xr,function(y,g){g.print("case"),g.space(),y.expression.print(g),g.print(":"),y._do_print_body(g)}),t(mr,function(y,g){g.print("try"),g.space(),y.body.print(g),y.bcatch&&(g.space(),y.bcatch.print(g)),y.bfinally&&(g.space(),y.bfinally.print(g))}),t(Du,function(y,g){u(y,g)}),t(qr,function(y,g){g.print("catch"),y.argname&&(g.space(),g.with_parens(function(){y.argname.print(g)})),g.space(),u(y,g)}),t(Ko,function(y,g){g.print("finally"),g.space(),u(y,g)}),sn.DEFMETHOD("_do_print",function(y,g){y.print(g),y.space(),this.definitions.forEach(function(U,X){X&&y.comma(),U.print(y)});var D=y.parent(),R=D instanceof En||D instanceof Kn,O=!R||D&&D.init!==this;O&&y.semicolon()}),t(Yr,function(y,g){y._do_print(g,"let")}),t(kn,function(y,g){y._do_print(g,"var")}),t(Jr,function(y,g){y._do_print(g,"const")}),t(Or,function(y,g){g.print("import"),g.space(),y.imported_name&&y.imported_name.print(g),y.imported_name&&y.imported_names&&(g.print(","),g.space()),y.imported_names&&(y.imported_names.length===1&&y.imported_names[0].foreign_name.name==="*"&&!y.imported_names[0].foreign_name.quote?y.imported_names[0].print(g):(g.print("{"),y.imported_names.forEach(function(D,R){g.space(),D.print(g),R<y.imported_names.length-1&&g.print(",")}),g.space(),g.print("}"))),(y.imported_name||y.imported_names)&&(g.space(),g.print("from"),g.space()),y.module_name.print(g),y.assert_clause&&(g.print("assert"),y.assert_clause.print(g)),g.semicolon()}),t(Mi,function(y,g){g.print("import.meta")}),t(Zr,function(y,g){var D=g.parent()instanceof Or,R=y.name.definition(),O=y.foreign_name,U=(R&&R.mangled_name||y.name.name)!==O.name;!U&&O.name==="*"&&O.quote!=y.name.quote&&(U=!0);var X=O.quote==null;U?(D?X?g.print(O.name):g.print_string(O.name,O.quote):y.name.quote==null?y.name.print(g):g.print_string(y.name.name,y.name.quote),g.space(),g.print("as"),g.space(),D?y.name.print(g):X?g.print(O.name):g.print_string(O.name,O.quote)):y.name.quote==null?y.name.print(g):g.print_string(y.name.name,y.name.quote)}),t(On,function(y,g){if(g.print("export"),g.space(),y.is_default&&(g.print("default"),g.space()),y.exported_names)y.exported_names.length===1&&y.exported_names[0].name.name==="*"&&!y.exported_names[0].name.quote?y.exported_names[0].print(g):(g.print("{"),y.exported_names.forEach(function(D,R){g.space(),D.print(g),R<y.exported_names.length-1&&g.print(",")}),g.space(),g.print("}"));else if(y.exported_value)y.exported_value.print(g);else if(y.exported_definition&&(y.exported_definition.print(g),y.exported_definition instanceof sn))return;y.module_name&&(g.space(),g.print("from"),g.space(),y.module_name.print(g)),y.assert_clause&&(g.print("assert"),y.assert_clause.print(g)),(y.exported_value&&!(y.exported_value instanceof Qt||y.exported_value instanceof Ft||y.exported_value instanceof _t)||y.module_name||y.exported_names)&&g.semicolon()});function m(y,g,D){var R=!1;D&&(R=Nn(y,O=>{if(O instanceof qe&&!(O instanceof qt))return!0;if(O instanceof oe&&O.operator=="in"||O instanceof ti)return lr})),y.print(g,R)}t(Mt,function(y,g){if(y.name.print(g),y.value){g.space(),g.print("="),g.space();var D=g.parent(1),R=D instanceof En||D instanceof Kn;m(y.value,g,R)}}),t(je,function(y,g){y.expression.print(g),!(y instanceof er&&y.args.length===0)&&((y.expression instanceof je||y.expression instanceof Ke)&&g.add_mapping(y.start),y.optional&&g.print("?."),g.with_parens(function(){y.args.forEach(function(D,R){R&&g.comma(),D.print(g)})}))}),t(er,function(y,g){g.print("new"),g.space(),je.prototype._codegen(y,g)}),lt.DEFMETHOD("_do_print",function(y){this.expressions.forEach(function(g,D){D>0&&(y.comma(),y.should_break()&&(y.newline(),y.indent())),g.print(y)})}),t(lt,function(y,g){y._do_print(g)}),t($t,function(y,g){var D=y.expression;D.print(g);var R=y.property,O=Qi.has(R)?g.option("ie8"):!Hp(R,g.option("ecma")>=2015&&!g.option("safari10"));y.optional&&g.print("?."),O?(g.print("["),g.add_mapping(y.end),g.print_string(R),g.print("]")):(D instanceof Je&&D.getValue()>=0&&(/[xa-f.)]/i.test(g.last())||g.print(".")),y.optional||g.print("."),g.add_mapping(y.end),g.print_name(R))}),t(Vr,function(y,g){var D=y.expression;D.print(g);var R=y.property;y.optional&&g.print("?"),g.print(".#"),g.add_mapping(y.end),g.print_name(R)}),t(Sn,function(y,g){y.expression.print(g),y.optional&&g.print("?."),g.print("["),y.property.print(g),g.print("]")}),t(mn,function(y,g){y.expression.print(g)}),t(We,function(y,g){var D=y.operator;D==="--"&&g.last().endsWith("!")&&g.print(" "),g.print(D),(/^[a-z]/i.test(D)||/[+-]$/.test(D)&&y.expression instanceof We&&/^[+-]/.test(y.expression.operator))&&g.space(),y.expression.print(g)}),t(Li,function(y,g){y.expression.print(g),g.print(y.operator)}),t(oe,function(y,g){var D=y.operator;y.left.print(g),D[0]==">"&&g.last().endsWith("--")?g.print(" "):g.space(),g.print(D),g.space(),y.right.print(g)}),t(tt,function(y,g){y.condition.print(g),g.space(),g.print("?"),g.space(),y.consequent.print(g),g.space(),g.colon(),y.alternative.print(g)}),t(St,function(y,g){g.with_square(function(){var D=y.elements,R=D.length;R>0&&g.space(),D.forEach(function(O,U){U&&g.comma(),O.print(g),U===R-1&&O instanceof Cr&&g.comma()}),R>0&&g.space()})}),t(Nt,function(y,g){y.properties.length>0?g.with_block(function(){y.properties.forEach(function(D,R){R&&(g.print(","),g.newline()),g.indent(),D.print(g)}),g.newline()}):o(y,g)}),t(_t,function(y,g){if(g.print("class"),g.space(),y.name&&(y.name.print(g),g.space()),y.extends){var D=!(y.extends instanceof Se)&&!(y.extends instanceof Xe)&&!(y.extends instanceof bi)&&!(y.extends instanceof Ft);g.print("extends"),D?g.print("("):g.space(),y.extends.print(g),D?g.print(")"):g.space()}y.properties.length>0?g.with_block(function(){y.properties.forEach(function(R,O){O&&g.newline(),g.indent(),R.print(g)}),g.newline()}):g.print("{}")}),t(zo,function(y,g){g.print("new.target")});function _(y,g,D){if(D.option("quote_keys"))return D.print_string(y),!1;if(""+ +y==y&&y>=0)return D.option("keep_numbers")?(D.print(y),!1):(D.print($(y)),!1);var R=Qi.has(y)?D.option("ie8"):D.option("ecma")<2015||D.option("safari10")?!Su(y):!Hp(y,!0);return R||g&&D.option("keep_quoted_props")?(D.print_string(y,g),!1):(D.print_name(y),!0)}t(Yt,function(y,g){function D(O){var U=O.definition();return U?U.mangled_name||U.name:O.name}const R=g.option("shorthand")&&!(y.key instanceof Te);R&&y.value instanceof pt&&D(y.value)===y.key&&!Qi.has(y.key)?_(y.key,y.quote,g)||(g.colon(),y.value.print(g)):R&&y.value instanceof Dr&&y.value.left instanceof pt&&D(y.value.left)===y.key?(_(y.key,y.quote,g)||(g.colon(),y.value.left.print(g)),g.space(),g.print("="),g.space(),y.value.right.print(g)):(y.key instanceof Te?g.with_square(function(){y.key.print(g)}):_(y.key,y.quote,g),g.colon(),y.value.print(g))}),t(gi,(y,g)=>{y.static&&(g.print("static"),g.space()),g.print("#"),_(y.key.name,y.quote,g),y.value&&(g.print("="),y.value.print(g)),g.semicolon()}),t(sr,(y,g)=>{y.static&&(g.print("static"),g.space()),y.key instanceof Vi?_(y.key.name,y.quote,g):(g.print("["),y.key.print(g),g.print("]")),y.value&&(g.print("="),y.value.print(g)),g.semicolon()}),un.DEFMETHOD("_print_getter_setter",function(y,g,D){var R=this;R.static&&(D.print("static"),D.space()),y&&(D.print(y),D.space()),R.key instanceof Ln?(g&&D.print("#"),_(R.key.name,R.quote,D),R.key.add_source_map(D)):D.with_square(function(){R.key.print(D)}),R.value._do_print(D,!0)}),t(ei,function(y,g){y._print_getter_setter("set",!1,g)}),t(jr,function(y,g){y._print_getter_setter("get",!1,g)}),t(mi,function(y,g){y._print_getter_setter("set",!0,g)}),t(Qr,function(y,g){y._print_getter_setter("get",!0,g)}),t(_i,function(y,g){var D;y.is_generator&&y.async?D="async*":y.is_generator?D="*":y.async&&(D="async"),y._print_getter_setter(D,!0,g)}),t(ti,function(y,g){y.key.print(g),g.space(),g.print("in"),g.space(),y.value.print(g)}),t(fs,function(y,g){g.print("#"+y.name)}),t(Fn,function(y,g){var D;y.is_generator&&y.async?D="async*":y.is_generator?D="*":y.async&&(D="async"),y._print_getter_setter(D,!1,g)}),t(Wn,function(y,g){g.print("static"),g.space(),u(y,g)}),pt.DEFMETHOD("_do_print",function(y){var g=this.definition();y.print_name(g?g.mangled_name||g.name:this.name)}),t(pt,function(y,g){y._do_print(g)}),t(Cr,hr),t(Bn,function(y,g){g.print("this")}),t(Xo,function(y,g){g.print("super")}),t(Tt,function(y,g){g.print(y.getValue())}),t(dt,function(y,g){g.print_string(y.getValue(),y.quote,g.in_directive)}),t(Je,function(y,g){(g.option("keep_numbers")||g.use_asm)&&y.raw?g.print(y.raw):g.print($(y.getValue()))}),t(ri,function(y,g){g.print(y.getValue()+"n")});const T=/(<\s*\/\s*script)/i,x=/^\s*script/i,P=(y,g)=>g.replace("/","\\/");t(ur,function(y,g){let{source:D,flags:R}=y.getValue();D=du(D),R=R?qm(R):"",D=D.replace(T,P),x.test(D)&&g.last().endsWith("<")&&g.print(" "),g.print(g.to_utf8(`/${D}/${R}`,!1,!0));const O=g.parent();O instanceof oe&&/^\w/.test(O.operator)&&O.left===y&&g.print(" ")});function A(y,g){g.option("braces")?V(y,g):!y||y instanceof Rt?g.force_semicolon():y instanceof Yr||y instanceof Jr||y instanceof _t?V(y,g):y.print(g)}function F(y){for(var g=y[0],D=g.length,R=1;R<y.length;++R)y[R].length<D&&(g=y[R],D=g.length);return g}function $(y){var g=y.toString(10).replace(/^0\./,".").replace("e+","e"),D=[g];Math.floor(y)===y&&(y<0?D.push("-0x"+(-y).toString(16).toLowerCase()):D.push("0x"+y.toString(16).toLowerCase()));var R,O,U;return(R=/^\.0+/.exec(g))?(O=R[0].length,U=g.slice(O),D.push(U+"e-"+(U.length+O-1))):(R=/0+$/.exec(g))?(O=R[0].length,D.push(g.slice(0,-O)+"e"+O)):(R=/^(\d)\.(\d+)e(-?\d+)$/.exec(g))&&D.push(R[1]+R[2]+"e"+(R[3]-R[2].length)),F(D)}function V(y,g){!y||y instanceof Rt?g.print("{}"):y instanceof Ye?y.print(g):g.with_block(function(){g.indent(),y.print(g),g.newline()})}function b(y,g){y.forEach(function(D){D.DEFMETHOD("add_source_map",g)})}b([Te,Yn,zt],hr),b([St,Ye,qr,_t,Tt,Ni,sn,Qn,Ko,us,Ke,er,Nt,_o,pt,$n,Fi,zn,yi,mr],function(y){y.add_mapping(this.start)}),b([jr,ei,Qr,mi,Fn,_i],function(y){y.add_mapping(this.start,!1)}),b([Ln,fs],function(y){const g=this.end&&this.end.type;g==="name"||g==="privatename"?y.add_mapping(this.end,this.name):y.add_mapping(this.end)}),b([un],function(y){y.add_mapping(this.start,this.key)})})();const ed=(t,e)=>t===null&&e===null||t.TYPE===e.TYPE&&t.shallow_cmp(e),__=(t,e)=>{if(!ed(t,e))return!1;const n=[t],o=[e],u=n.push.bind(n),h=o.push.bind(o);for(;n.length&&o.length;){const m=n.pop(),_=o.pop();if(!ed(m,_)||(m._children_backwards(u),_._children_backwards(h),n.length!==o.length))return!1}return n.length==0&&o.length==0},Pt=()=>!0;Te.prototype.shallow_cmp=function(){throw new Error("did not find a shallow_cmp function for "+this.constructor.name)},Ni.prototype.shallow_cmp=Pt,Qn.prototype.shallow_cmp=function(t){return this.value===t.value},He.prototype.shallow_cmp=Pt,vn.prototype.shallow_cmp=Pt,Rt.prototype.shallow_cmp=Pt,Yn.prototype.shallow_cmp=function(t){return this.label.name===t.label.name},di.prototype.shallow_cmp=Pt,Pi.prototype.shallow_cmp=Pt,En.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)},Kn.prototype.shallow_cmp=Pt,go.prototype.shallow_cmp=Pt,pr.prototype.shallow_cmp=Pt,zt.prototype.shallow_cmp=Pt,ht.prototype.shallow_cmp=Pt,Ke.prototype.shallow_cmp=function(t){return this.is_generator===t.is_generator&&this.async===t.async},Vt.prototype.shallow_cmp=function(t){return this.is_array===t.is_array},Ur.prototype.shallow_cmp=Pt,zn.prototype.shallow_cmp=Pt,yi.prototype.shallow_cmp=function(t){return this.value===t.value},us.prototype.shallow_cmp=Pt,Wr.prototype.shallow_cmp=Pt,dr.prototype.shallow_cmp=Pt,yr.prototype.shallow_cmp=function(t){return this.is_star===t.is_star},wt.prototype.shallow_cmp=function(t){return this.alternative==null?t.alternative==null:this.alternative===t.alternative},$n.prototype.shallow_cmp=Pt,Fi.prototype.shallow_cmp=Pt,mr.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)},qr.prototype.shallow_cmp=function(t){return this.argname==null?t.argname==null:this.argname===t.argname},Ko.prototype.shallow_cmp=Pt,sn.prototype.shallow_cmp=Pt,Mt.prototype.shallow_cmp=function(t){return this.value==null?t.value==null:this.value===t.value},Zr.prototype.shallow_cmp=Pt,Or.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)},Mi.prototype.shallow_cmp=Pt,On.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},je.prototype.shallow_cmp=Pt,lt.prototype.shallow_cmp=Pt,Xe.prototype.shallow_cmp=Pt,mn.prototype.shallow_cmp=Pt,$t.prototype.shallow_cmp=function(t){return this.property===t.property},Vr.prototype.shallow_cmp=function(t){return this.property===t.property},Wt.prototype.shallow_cmp=function(t){return this.operator===t.operator},oe.prototype.shallow_cmp=function(t){return this.operator===t.operator},tt.prototype.shallow_cmp=Pt,St.prototype.shallow_cmp=Pt,Nt.prototype.shallow_cmp=Pt,un.prototype.shallow_cmp=Pt,Yt.prototype.shallow_cmp=function(t){return this.key===t.key},ei.prototype.shallow_cmp=function(t){return this.static===t.static},jr.prototype.shallow_cmp=function(t){return this.static===t.static},Fn.prototype.shallow_cmp=function(t){return this.static===t.static&&this.is_generator===t.is_generator&&this.async===t.async},_t.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)},sr.prototype.shallow_cmp=function(t){return this.static===t.static},pt.prototype.shallow_cmp=function(t){return this.name===t.name},zo.prototype.shallow_cmp=Pt,Bn.prototype.shallow_cmp=Pt,Xo.prototype.shallow_cmp=Pt,dt.prototype.shallow_cmp=function(t){return this.value===t.value},Je.prototype.shallow_cmp=function(t){return this.value===t.value},ri.prototype.shallow_cmp=function(t){return this.value===t.value},ur.prototype.shallow_cmp=function(t){return this.value.flags===t.value.flags&&this.value.source===t.value.source},no.prototype.shallow_cmp=Pt;const wu=1,g_=2;let qo=null,Yo=null,Jo=null;class Zo{constructor(e,n,o){this.name=n.name,this.orig=[n],this.init=o,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=Zo.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 Te?this.fixed:this.fixed()}unmangleable(e){return e||(e={}),qo&&qo.has(this.id)&&Go(e.keep_fnames,this.orig[0].name)?!0:this.global&&!e.toplevel||this.export&wu||this.undeclared||!e.eval&&this.scope.pinned()||(this.orig[0]instanceof ni||this.orig[0]instanceof vi)&&Go(e.keep_fnames,this.orig[0].name)||this.orig[0]instanceof Ln||(this.orig[0]instanceof ku||this.orig[0]instanceof Cu)&&Go(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 o=this.scope,u=this.orig[0];e.ie8&&u instanceof ni&&(o=o.parent_scope);const h=Pl(this);this.mangled_name=h?h.mangled_name||h.name:o.next_mangled(e,this),this.global&&n&&n.set(this.name,this.mangled_name)}}}Zo.next_id=1;function Pl(t){if(t.orig[0]instanceof Gr&&t.scope.is_block_scope())return t.scope.get_defun_scope().variables.get(t.name)}qe.DEFMETHOD("figure_out_scope",function(t,{parent_scope:e=null,toplevel:n=this}={}){if(t=pi(t,{cache:null,ie8:!1,safari10:!1,module:!1}),!(n instanceof zt))throw new Error("Invalid toplevel scope");var o=this.parent_scope=e,u=new Map,h=null,m=null,_=[],P=new Pn((A,F)=>{if(A.is_block_scope()){const O=o;if(A.block_scope=o=new qe(A),o._block_scope=!0,o.init_scope_vars(O),o.uses_with=O.uses_with,o.uses_eval=O.uses_eval,t.safari10&&(A instanceof En||A instanceof Kn||A instanceof go)&&_.push(o),A instanceof $n){const U=o;o=O,A.expression.walk(P),o=U;for(let X=0;X<A.body.length;X++)A.body[X].walk(P)}else F();return o=O,!0}if(A instanceof Vt){const O=m;return m=A,F(),m=O,!0}if(A instanceof qe){A.init_scope_vars(o);var $=o,V=h,b=u;return h=o=A,u=new Map,F(),o=$,h=V,u=b,!0}if(A instanceof Yn){var y=A.label;if(u.has(y.name))throw new Error(hu("Label {name} defined twice",y));return u.set(y.name,y),F(),u.delete(y.name),!0}if(A instanceof pr){for(var g=o;g;g=g.parent_scope)g.uses_with=!0;return}if(A instanceof pt&&(A.scope=o),A instanceof ls&&(A.thedef=A,A.references=[]),A instanceof ni)h.def_function(A,A.name=="arguments"?void 0:h);else if(A instanceof vi){const O=h.parent_scope;A.scope=P.directives["use strict"]?O:O.get_defun_scope(),T(A.scope.def_function(A,h),1)}else if(A instanceof ku)T(h.def_variable(A,h),1);else if(A instanceof Wo)o.def_variable(A);else if(A instanceof Cu)T((A.scope=h.parent_scope).def_function(A,h),1);else if(A instanceof Bi||A instanceof $o||A instanceof to||A instanceof Gr){var D;if(A instanceof Ui?D=o.def_variable(A,null):D=h.def_variable(A,A.TYPE=="SymbolVar"?null:void 0),D.orig.every(O=>O===A?!0:A instanceof Ui?O instanceof ni:!(O instanceof $o||O instanceof to))||Tu(`"${A.name}" is redeclared`,A.start.file,A.start.line,A.start.col,A.start.pos),A instanceof wn||T(D,2),h!==o){A.mark_enclosed();var D=o.find_variable(A);A.thedef!==D&&(A.thedef=D,A.reference())}}else if(A instanceof kl){var R=u.get(A.name);if(!R)throw new Error(hu("Undefined label {name} [{line},{col}]",{name:A.name,line:A.start.line,col:A.start.col}));A.thedef=R}!(o instanceof zt)&&(A instanceof On||A instanceof Or)&&Tu(`"${A.TYPE}" statement may only appear at the top level`,A.start.file,A.start.line,A.start.col,A.start.pos)});t.module&&(P.directives["use strict"]=!0),this.walk(P);function T(A,F){if(m){var $=0;do F++;while(P.parent($++)!==m)}var V=P.parent(F);if(A.export=V instanceof On?wu:0){var b=V.exported_definition;(b instanceof Qt||b instanceof Hr)&&V.is_default&&(A.export=g_)}}this instanceof zt&&(this.globals=new Map);var P=new Pn(A=>{if(A instanceof Wr&&A.label)return A.label.thedef.references.push(A),!0;if(A instanceof Se){var F=A.name;if(F=="eval"&&P.parent()instanceof je)for(var $=A.scope;$&&!$.uses_eval;$=$.parent_scope)$.uses_eval=!0;var V;return P.parent()instanceof Zr&&P.parent(1).module_name||!(V=A.scope.find_variable(F))?(V=n.def_global(A),A instanceof Eo&&(V.export=wu)):V.scope instanceof Ke&&F=="arguments"&&(V.scope.get_defun_scope().uses_arguments=!0),A.thedef=V,A.reference(),A.scope.is_block_scope()&&!(V.orig[0]instanceof Ui)&&(A.scope=A.scope.get_defun_scope()),!0}var b;if(A instanceof Gr&&(b=Pl(A.definition())))for(var $=A.scope;$&&(yo($.enclosed,b),$!==b.scope);)$=$.parent_scope});if(this.walk(P),(t.ie8||t.safari10)&&Nn(this,A=>{if(A instanceof Gr){var F=A.name,$=A.thedef.references,V=A.scope.get_defun_scope(),b=V.find_variable(F)||n.globals.get(F)||V.def_variable(A);return $.forEach(function(y){y.thedef=b,y.reference()}),A.thedef=b,A.reference(),!0}}),t.safari10)for(const A of _)A.parent_scope.variables.forEach(function(F){yo(A.enclosed,F)})}),zt.DEFMETHOD("def_global",function(t){var e=this.globals,n=t.name;if(e.has(n))return e.get(n);var o=new Zo(this,t);return o.undeclared=!0,o.global=!0,e.set(n,o),o}),qe.DEFMETHOD("init_scope_vars",function(t){this.variables=new Map,this.uses_with=!1,this.uses_eval=!1,this.parent_scope=t,this.enclosed=[],this.cname=-1}),qe.DEFMETHOD("conflicting_def",function(t){return this.enclosed.find(e=>e.name===t)||this.variables.has(t)||this.parent_scope&&this.parent_scope.conflicting_def(t)}),qe.DEFMETHOD("conflicting_def_shallow",function(t){return this.enclosed.find(e=>e.name===t)||this.variables.has(t)}),qe.DEFMETHOD("add_child_scope",function(t){if(t.parent_scope===this)return;t.parent_scope=this,t instanceof qt&&!this.uses_arguments&&(this.uses_arguments=Nn(t,u=>{if(u instanceof Se&&u.scope instanceof Ke&&u.name==="arguments")return lr;if(u instanceof Ke&&!(u instanceof qt))return!0})),this.uses_with=this.uses_with||t.uses_with,this.uses_eval=this.uses_eval||t.uses_eval;const e=(()=>{const u=[];let h=this;do u.push(h);while(h=h.parent_scope);return u.reverse(),u})(),n=new Set(t.enclosed),o=[];for(const u of e){o.forEach(h=>yo(u.enclosed,h));for(const h of u.variables.values())n.has(h)&&(yo(o,h),yo(u.enclosed,h))}});function b_(t){const e=new Set;for(const n of new Set(t))(function o(u){u==null||e.has(u)||(e.add(u),o(u.parent_scope))})(n);return[...e]}qe.DEFMETHOD("create_symbol",function(t,{source:e,tentative_name:n,scope:o,conflict_scopes:u=[o],init:h=null}={}){let m;if(u=b_(u),n){n=m=n.replace(/(?:^[^a-z_$]|[^a-z0-9_$])/ig,"_");let T=0;for(;u.find(x=>x.conflicting_def_shallow(m));)m=n+"$"+T++}if(!m)throw new Error("No symbol name could be generated in create_symbol()");const _=N(t,e,{name:m,scope:o});return this.def_variable(_,h||null),_.mark_enclosed(),_}),Te.DEFMETHOD("is_block_scope",vt),_t.DEFMETHOD("is_block_scope",vt),Ke.DEFMETHOD("is_block_scope",vt),zt.DEFMETHOD("is_block_scope",vt),Fi.DEFMETHOD("is_block_scope",vt),vn.DEFMETHOD("is_block_scope",Jn),qe.DEFMETHOD("is_block_scope",function(){return this._block_scope||!1}),Br.DEFMETHOD("is_block_scope",Jn),Ke.DEFMETHOD("init_scope_vars",function(){qe.prototype.init_scope_vars.apply(this,arguments),this.uses_arguments=!1,this.def_variable(new wn({name:"arguments",start:this.start,end:this.end}))}),qt.DEFMETHOD("init_scope_vars",function(){qe.prototype.init_scope_vars.apply(this,arguments),this.uses_arguments=!1}),pt.DEFMETHOD("mark_enclosed",function(){for(var t=this.definition(),e=this.scope;e&&(yo(e.enclosed,t),e!==t.scope);)e=e.parent_scope}),pt.DEFMETHOD("reference",function(){this.definition().references.push(this),this.mark_enclosed()}),qe.DEFMETHOD("find_variable",function(t){return t instanceof pt&&(t=t.name),this.variables.get(t)||this.parent_scope&&this.parent_scope.find_variable(t)}),qe.DEFMETHOD("def_function",function(t,e){var n=this.def_variable(t,e);return(!n.init||n.init instanceof Qt)&&(n.init=e),n}),qe.DEFMETHOD("def_variable",function(t,e){var n=this.variables.get(t.name);return n?(n.orig.push(t),n.init&&(n.scope!==t.scope||n.init instanceof Ft)&&(n.init=e)):(n=new Zo(this,t,e),this.variables.set(t.name,n),n.global=!this.parent_scope),t.thedef=n});function Il(t,e){let n;Jo&&(n=t.get_defun_scope())&&Jo.has(n)&&(t=n);var o=t.enclosed,u=e.nth_identifier;e:for(;;){var h=u.get(++t.cname);if(!Qi.has(h)&&!e.reserved.has(h)){if(Yo&&Yo.has(h))continue e;for(let m=o.length;--m>=0;){const _=o[m],T=_.mangled_name||_.unmangleable(e)&&_.name;if(h==T)continue e}return h}}}qe.DEFMETHOD("next_mangled",function(t){return Il(this,t)}),zt.DEFMETHOD("next_mangled",function(t){let e;const n=this.mangled_names;do e=Il(this,t);while(n.has(e));return e}),Ft.DEFMETHOD("next_mangled",function(t,e){for(var n=e.orig[0]instanceof wn&&this.name&&this.name.definition(),o=n?n.mangled_name||n.name:null;;){var u=Il(this,t);if(!o||o!=u)return u}}),pt.DEFMETHOD("unmangleable",function(t){var e=this.definition();return!e||e.unmangleable(t)}),ls.DEFMETHOD("unmangleable",vt),pt.DEFMETHOD("unreferenced",function(){return!this.definition().references.length&&!this.scope.pinned()}),pt.DEFMETHOD("definition",function(){return this.thedef}),pt.DEFMETHOD("global",function(){return this.thedef.global});function Nu(t){return t=pi(t,{eval:!1,nth_identifier:ys,ie8:!1,keep_classnames:!1,keep_fnames:!1,module:!1,reserved:[],toplevel:!1}),t.module&&(t.toplevel=!0),!Array.isArray(t.reserved)&&!(t.reserved instanceof Set)&&(t.reserved=[]),t.reserved=new Set(t.reserved),t.reserved.add("arguments"),t}zt.DEFMETHOD("mangle_names",function(t){t=Nu(t);var e=t.nth_identifier,n=-1,o=[];t.keep_fnames&&(qo=new Set);const u=this.mangled_names=new Set;Yo=new Set,t.cache&&(this.globals.forEach(m),t.cache.props&&t.cache.props.forEach(function(_){u.add(_)}));var h=new Pn(function(_,T){if(_ instanceof Yn){var x=n;return T(),n=x,!0}if(_ instanceof Qt&&!(h.parent()instanceof qe)&&(Jo=Jo||new Set,Jo.add(_.parent_scope.get_defun_scope())),_ instanceof qe){_.variables.forEach(m);return}if(_.is_block_scope()){_.block_scope.variables.forEach(m);return}if(qo&&_ instanceof Mt&&_.value instanceof Ke&&!_.value.name&&Go(t.keep_fnames,_.name.name)){qo.add(_.name.definition().id);return}if(_ instanceof ls){let P;do P=e.get(++n);while(Qi.has(P));return _.mangled_name=P,!0}if(!(t.ie8||t.safari10)&&_ instanceof Gr){o.push(_.definition());return}});this.walk(h),(t.keep_fnames||t.keep_classnames)&&o.forEach(_=>{_.name.length<6&&_.unmangleable(t)&&Yo.add(_.name)}),o.forEach(_=>{_.mangle(t)}),qo=null,Yo=null,Jo=null;function m(_){_.export&wu?Yo.add(_.name):t.reserved.has(_.name)||o.push(_)}}),zt.DEFMETHOD("find_colliding_names",function(t){const e=t.cache&&t.cache.props,n=new Set;return t.reserved.forEach(o),this.globals.forEach(u),this.walk(new Pn(function(h){h instanceof qe&&h.variables.forEach(u),h instanceof Gr&&u(h.definition())})),n;function o(h){n.add(h)}function u(h){var m=h.name;if(h.global&&e&&e.has(m))m=e.get(m);else if(!h.unmangleable(t))return;o(m)}}),zt.DEFMETHOD("expand_names",function(t){t=Nu(t);var e=t.nth_identifier;e.reset&&e.sort&&(e.reset(),e.sort());var n=this.find_colliding_names(t),o=0;this.globals.forEach(h),this.walk(new Pn(function(m){m instanceof qe&&m.variables.forEach(h),m instanceof Gr&&h(m.definition())}));function u(){var m;do m=e.get(o++);while(n.has(m)||Qi.has(m));return m}function h(m){if(m.global&&t.cache||m.unmangleable(t)||t.reserved.has(m.name))return;const _=Pl(m),T=m.name=_?_.name:u();m.orig.forEach(function(x){x.name=T}),m.references.forEach(function(x){x.name=T})}}),Te.DEFMETHOD("tail_node",po),lt.DEFMETHOD("tail_node",function(){return this.expressions[this.expressions.length-1]}),zt.DEFMETHOD("compute_char_frequency",function(t){t=Nu(t);var e=t.nth_identifier;if(!e.reset||!e.consider||!e.sort)return;e.reset();try{Te.prototype.print=function(o,u){this._print(o,u),this instanceof pt&&!this.unmangleable(t)?e.consider(this.name,-1):t.properties&&(this instanceof Vr?e.consider("#"+this.property,-1):this instanceof $t?e.consider(this.property,-1):this instanceof Sn&&n(this.property))},e.consider(this.print_to_string(),1)}finally{Te.prototype.print=Te.prototype._print}e.sort();function n(o){o instanceof dt?e.consider(o.value,-1):o instanceof tt?(n(o.consequent),n(o.alternative)):o instanceof lt&&n(o.tail_node())}});const ys=(()=>{const t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_".split(""),e="0123456789".split("");let n,o;function u(){o=new Map,t.forEach(function(x){o.set(x,0)}),e.forEach(function(x){o.set(x,0)})}function h(x,P){for(var A=x.length;--A>=0;)o.set(x[A],o.get(x[A])+P)}function m(x,P){return o.get(P)-o.get(x)}function _(){n=Ip(t,m).concat(Ip(e,m))}u(),_();function T(x){var P="",A=54;x++;do x--,P+=n[x%A],x=Math.floor(x/A),A=64;while(x>0);return P}return{get:T,consider:h,reset:u,sort:_}})();let Pu;Te.prototype.size=function(t,e){Pu=t&&t._mangle_options;let n=0;return Yp(this,(o,u)=>{if(n+=o._size(u),o instanceof qt&&o.is_braceless())return n+=o.body[0].value._size(u),!0},e||t&&t.stack),Pu=void 0,n},Te.prototype._size=()=>0,Ni.prototype._size=()=>8,Qn.prototype._size=function(){return 2+this.value.length};const tn=t=>t.length&&t.length-1;vn.prototype._size=function(){return 2+tn(this.body)},zt.prototype._size=function(){return tn(this.body)},Rt.prototype._size=()=>1,Yn.prototype._size=()=>2,di.prototype._size=()=>9,Pi.prototype._size=()=>7,En.prototype._size=()=>8,Kn.prototype._size=()=>8,pr.prototype._size=()=>6,ht.prototype._size=()=>3;const ms=t=>(t.is_generator?1:0)+(t.async?6:0);Ii.prototype._size=function(){return ms(this)+4+tn(this.argnames)+tn(this.body)},Ft.prototype._size=function(t){return!!ii(t)*2+ms(this)+12+tn(this.argnames)+tn(this.body)},Qt.prototype._size=function(){return ms(this)+13+tn(this.argnames)+tn(this.body)},qt.prototype._size=function(){let t=2+tn(this.argnames);this.argnames.length===1&&this.argnames[0]instanceof pt||(t+=2);const e=this.is_braceless()?0:tn(this.body)+2;return ms(this)+t+e},Vt.prototype._size=()=>2,zn.prototype._size=function(){return 2+Math.floor(this.segments.length/2)*3},yi.prototype._size=function(){return this.value.length},an.prototype._size=function(){return this.value?7:6},cs.prototype._size=()=>6,xr.prototype._size=function(){return this.label?6:5},eo.prototype._size=function(){return this.label?9:8},wt.prototype._size=()=>4,$n.prototype._size=function(){return 8+tn(this.body)},Xr.prototype._size=function(){return 5+tn(this.body)},bo.prototype._size=function(){return 8+tn(this.body)},mr.prototype._size=()=>3,qr.prototype._size=function(){let t=7+tn(this.body);return this.argname&&(t+=2),t},Ko.prototype._size=function(){return 7+tn(this.body)},kn.prototype._size=function(){return 4+tn(this.definitions)},Yr.prototype._size=function(){return 4+tn(this.definitions)},Jr.prototype._size=function(){return 6+tn(this.definitions)},Mt.prototype._size=function(){return this.value?1:0},Zr.prototype._size=function(){return this.name?4:0},Or.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+tn(this.imported_names)),t},Mi.prototype._size=()=>11,On.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+tn(this.exported_names)),this.module_name&&(t+=5),t},je.prototype._size=function(){return this.optional?4+tn(this.args):2+tn(this.args)},er.prototype._size=function(){return 6+tn(this.args)},lt.prototype._size=function(){return tn(this.expressions)},$t.prototype._size=function(){return this.optional?this.property.length+2:this.property.length+1},Vr.prototype._size=function(){return this.optional?this.property.length+3:this.property.length+2},Sn.prototype._size=function(){return this.optional?4:2},Wt.prototype._size=function(){return this.operator==="typeof"?7:this.operator==="void"?5:this.operator.length},oe.prototype._size=function(t){if(this.operator==="in")return 4;let e=this.operator.length;return(this.operator==="+"||this.operator==="-")&&this.right instanceof Wt&&this.right.operator===this.operator&&(e+=1),this.needs_parens(t)&&(e+=2),e},tt.prototype._size=()=>3,St.prototype._size=function(){return 2+tn(this.elements)},Nt.prototype._size=function(t){let e=2;return ii(t)&&(e+=2),e+tn(this.properties)};const Iu=t=>typeof t=="string"?t.length:0;Yt.prototype._size=function(){return Iu(this.key)+1};const Fu=t=>t?7:0;jr.prototype._size=function(){return 5+Fu(this.static)+Iu(this.key)},ei.prototype._size=function(){return 5+Fu(this.static)+Iu(this.key)},Fn.prototype._size=function(){return Fu(this.static)+Iu(this.key)+ms(this)},_i.prototype._size=function(){return Fn.prototype._size.call(this)+1},Qr.prototype._size=mi.prototype._size=function(){return Fn.prototype._size.call(this)+4},ti.prototype._size=function(){return 5},_t.prototype._size=function(){return(this.name?8:7)+(this.extends?8:0)},Wn.prototype._size=function(){return 8+tn(this.body)},sr.prototype._size=function(){return Fu(this.static)+(typeof this.key=="string"?this.key.length+2:0)+(this.value?1:0)},gi.prototype._size=function(){return sr.prototype._size.call(this)+1},pt.prototype._size=function(){return Pu&&this.thedef&&!this.thedef.unmangleable(Pu)?1:this.name.length},Vi.prototype._size=function(){return this.name.length},Se.prototype._size=Rn.prototype._size=function(){return this.name==="arguments"?9:pt.prototype._size.call(this)},zo.prototype._size=()=>10,vo.prototype._size=function(){return this.name.length},Ei.prototype._size=function(){return this.name.length},Bn.prototype._size=()=>4,Xo.prototype._size=()=>5,dt.prototype._size=function(){return this.value.length+2},Je.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},ri.prototype._size=function(){return this.value.length},ur.prototype._size=function(){return this.value.toString().length},cr.prototype._size=()=>4,hs.prototype._size=()=>3,en.prototype._size=()=>6,Cr.prototype._size=()=>0,ro.prototype._size=()=>8,_r.prototype._size=()=>4,ji.prototype._size=()=>5,dr.prototype._size=()=>6,yr.prototype._size=()=>6;const io=1,Fl=2,Ml=4,Ll=8,_s=16,Qo=32,To=256,Bl=512,Ul=1024,v_=To|Bl|Ul,Un=(t,e)=>t.flags&e,gr=(t,e)=>{t.flags|=e},ea=(t,e)=>{t.flags&=~e};function Vl(t,e){return e instanceof lt?t.push(...e.expressions):t.push(e),t}function nt(t,e){if(e.length==1)return e[0];if(e.length==0)throw new Error("trying to create a sequence with length zero!");return N(lt,t,{expressions:e.reduce(Vl,[])})}function tr(t,e){switch(typeof t){case"string":return N(dt,e,{value:t});case"number":return isNaN(t)?N(hs,e):isFinite(t)?1/t<0?N(We,e,{operator:"-",expression:N(Je,e,{value:-t})}):N(Je,e,{value:t}):t<0?N(We,e,{operator:"-",expression:N(ro,e)}):N(ro,e);case"bigint":return N(ri,e,{value:t.toString()});case"boolean":return N(t?_r:ji,e);case"undefined":return N(en,e);default:if(t===null)return N(cr,e,{value:null});if(t instanceof RegExp)return N(ur,e,{value:{source:du(t.source),flags:t.flags}});throw new Error(hu("Can't handle constant of type: {type}",{type:typeof t}))}}function Gi(t,e){return t.size()>e.size()?e:t}function E_(t,e){return Gi(N(He,t,{body:t}),N(He,e,{body:e})).body}function br(t,e,n){return ii(t)?E_(e,n):Gi(e,n)}function td(t){if(t instanceof Tt)return t.getValue();if(!(t instanceof We&&t.operator=="void"&&t.expression instanceof Tt))return t}function nd(t,e){if(e=td(e),!(e instanceof Te)){var n;if(t instanceof St){var o=t.elements;if(e=="length")return tr(o.length,t);typeof e=="number"&&e in o&&(n=o[e])}else if(t instanceof Nt){e=""+e;for(var u=t.properties,h=u.length;--h>=0;){var m=u[h];if(!(m instanceof Yt))return;!n&&u[h].key===e&&(n=u[h].value)}}return n instanceof Se&&n.fixed_value()||n}}function jl(t,e){var n=!1,o=new Pn(function(u){if(n||u instanceof qe)return!0;if(u instanceof Wr&&o.loopcontrol_target(u)===t)return n=!0});return e instanceof Yn&&o.push(e),o.push(t),t.body.walk(o),n}function Ao(t,e,n){if(t instanceof We&&t.operator=="delete"||t instanceof je&&t.expression===e&&(n instanceof mn||n instanceof Xe||n instanceof Se&&n.name=="eval")){const o=N(Je,e,{value:0});return nt(e,[o,n])}else return n}function Mu(t){return t instanceof qt||t instanceof Ft}function Hl(t){return t.TYPE!="Call"?!1:t.expression instanceof Ft||Hl(t.expression)}function oo(t){return t===null||t instanceof Rt?!0:t instanceof Ye?t.body.length==0:!1}const rd=Ot("Infinity NaN undefined");function id(t){return t instanceof ro||t instanceof hs||t instanceof en}function Gl(t,e){if(!(t instanceof Se))return!1;for(var n=t.definition().orig,o=n.length;--o>=0;)if(n[o]instanceof e)return!0}function Kl(t){return!(t instanceof Hr||t instanceof Qt||t instanceof Yr||t instanceof Jr||t instanceof On||t instanceof Or)}function Lu(t){if(t===null)return[];if(t instanceof Ye)return t.body;if(t instanceof Rt)return[];if(t instanceof Cn)return[t];throw new Error("Can't convert thing to statement array")}function od(t,e){const n=o=>{if(o instanceof Se&&e.includes(o.definition()))return lr};return Yp(t,(o,u)=>{if(o instanceof qe&&o!==t){var h=u.parent();return h instanceof je&&h.expression===o&&!(o.async||o.is_generator)?void 0:Nn(o,n)?lr:!0}})}function zl(t,e){for(var n,o=0;n=t.parent(o);o++)if(n instanceof Ke||n instanceof _t){var u=n.name;if(u&&u.definition()===e)return!0}return!1}function ad(t,e){return e.top_retain&&t instanceof Qt&&Un(t,Ul)&&t.name&&e.top_retain(t.name.definition())}function $l(t){const e=new Map;for(var n of Object.keys(t))e.set(n,Ot(t[n]));return(u,h)=>{const m=e.get(u);return m!=null&&m.has(h)}}const Bu=new Set(["Number","String","Array","Object","Function","Promise"]),xo=["constructor","toString","valueOf"],sd=$l({Array:["at","flat","includes","indexOf","join","lastIndexOf","slice",...xo],Boolean:xo,Function:xo,Number:["toExponential","toFixed","toPrecision",...xo],Object:xo,RegExp:["test",...xo],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",...xo]}),ud=$l({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"]}),S_=$l({Math:["E","LN10","LN2","LOG2E","LOG10E","PI","SQRT1_2","SQRT2"],Number:["MAX_VALUE","MIN_VALUE","NaN","NEGATIVE_INFINITY","POSITIVE_INFINITY"]}),oi=t=>t instanceof Se&&t.definition().undeclared,Wl=Ot("<<< >> << & | ^ ~"),Oo=Ot("&& || ??"),Uu=Ot("delete ++ --");(function(t){const e=Ot("! delete"),n=Ot("in instanceof == != === !== < <= >= >");t(Te,vt),t(We,function(){return e.has(this.operator)}),t(oe,function(){return n.has(this.operator)||Oo.has(this.operator)&&this.left.is_boolean()&&this.right.is_boolean()}),t(tt,function(){return this.consequent.is_boolean()&&this.alternative.is_boolean()}),t(st,function(){return this.operator=="="&&this.right.is_boolean()}),t(lt,function(){return this.tail_node().is_boolean()}),t(_r,Jn),t(ji,Jn)})(function(t,e){t.DEFMETHOD("is_boolean",e)}),function(t){t(Te,vt),t(Je,Jn);const e=Ot("+ - ~ ++ --");t(Wt,function(){return e.has(this.operator)&&!(this.expression instanceof ri)});const n=Ot("- * / % & | ^ << >> >>>");t(oe,function(o){return n.has(this.operator)||this.operator=="+"&&this.left.is_number(o)&&this.right.is_number(o)}),t(st,function(o){return n.has(this.operator.slice(0,-1))||this.operator=="="&&this.right.is_number(o)}),t(lt,function(o){return this.tail_node().is_number(o)}),t(tt,function(o){return this.consequent.is_number(o)&&this.alternative.is_number(o)})}(function(t,e){t.DEFMETHOD("is_number",e)}),function(t){t(Te,vt),t(Je,function(){return this.value===(this.value|0)}),t(We,function(){return this.operator=="~"?this.expression.is_number():this.operator==="+"?this.expression.is_32_bit_integer():!1}),t(oe,function(){return Wl.has(this.operator)})}(function(t,e){t.DEFMETHOD("is_32_bit_integer",e)}),function(t){t(Te,vt),t(dt,Jn),t(zn,Jn),t(We,function(){return this.operator=="typeof"}),t(oe,function(e){return this.operator=="+"&&(this.left.is_string(e)||this.right.is_string(e))}),t(st,function(e){return(this.operator=="="||this.operator=="+=")&&this.right.is_string(e)}),t(lt,function(e){return this.tail_node().is_string(e)}),t(tt,function(e){return this.consequent.is_string(e)&&this.alternative.is_string(e)})}(function(t,e){t.DEFMETHOD("is_string",e)});function ai(t,e){return Un(t,Ll)||t instanceof en||t instanceof We&&t.operator=="void"&&!t.expression.has_side_effects(e)}function cd(t,e){let n;return t instanceof cr||ai(t,e)||t instanceof Se&&(n=t.definition().fixed)instanceof Te&&si(n,e)}function ta(t,e){return t instanceof Xe||t instanceof je?t.optional&&cd(t.expression,e)||ta(t.expression,e):t instanceof mn?ta(t.expression,e):!1}function si(t,e){return cd(t,e)?!0:ta(t,e)}(function(t){t(Te,Jn),t(Rt,vt),t(Tt,vt),t(Bn,vt);function e(n,o){for(var u=n.length;--u>=0;)if(n[u].has_side_effects(o))return!0;return!1}t(vn,function(n){return e(this.body,n)}),t(je,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($n,function(n){return this.expression.has_side_effects(n)||e(this.body,n)}),t(Xr,function(n){return this.expression.has_side_effects(n)||e(this.body,n)}),t(mr,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(wt,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(Mi,vt),t(Yn,function(n){return this.body.has_side_effects(n)}),t(He,function(n){return this.body.has_side_effects(n)}),t(Ke,vt),t(_t,function(n){return this.extends&&this.extends.has_side_effects(n)?!0:e(this.properties,n)}),t(Wn,function(n){return e(this.body,n)}),t(oe,function(n){return this.left.has_side_effects(n)||this.right.has_side_effects(n)}),t(st,Jn),t(tt,function(n){return this.condition.has_side_effects(n)||this.consequent.has_side_effects(n)||this.alternative.has_side_effects(n)}),t(Wt,function(n){return Uu.has(this.operator)||this.expression.has_side_effects(n)}),t(Se,function(n){return!this.is_declared(n)&&!Bu.has(this.name)}),t(Vi,vt),t(Rn,vt),t(Nt,function(n){return e(this.properties,n)}),t(un,function(n){return this.computed_key()&&this.key.has_side_effects(n)||this.value&&this.value.has_side_effects(n)}),t(sr,function(n){return this.computed_key()&&this.key.has_side_effects(n)||this.static&&this.value&&this.value.has_side_effects(n)}),t(Fn,function(n){return this.computed_key()&&this.key.has_side_effects(n)}),t(jr,function(n){return this.computed_key()&&this.key.has_side_effects(n)}),t(ei,function(n){return this.computed_key()&&this.key.has_side_effects(n)}),t(St,function(n){return e(this.elements,n)}),t($t,function(n){return si(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(Sn,function(n){if(si(this,n))return this.expression.has_side_effects(n);if(!this.optional&&this.expression.may_throw_on_access(n))return!0;var o=this.property.has_side_effects(n);return o&&this.optional?!0:o||this.expression.has_side_effects(n)}),t(mn,function(n){return this.expression.has_side_effects(n)}),t(lt,function(n){return e(this.expressions,n)}),t(sn,function(n){return e(this.definitions,n)}),t(Mt,function(){return this.value}),t(yi,vt),t(zn,function(n){return e(this.segments,n)})})(function(t,e){t.DEFMETHOD("has_side_effects",e)}),function(t){t(Te,Jn),t(Tt,vt),t(Rt,vt),t(Ke,vt),t(Rn,vt),t(Bn,vt),t(Mi,vt);function e(n,o){for(var u=n.length;--u>=0;)if(n[u].may_throw(o))return!0;return!1}t(_t,function(n){return this.extends&&this.extends.may_throw(n)?!0:e(this.properties,n)}),t(Wn,function(n){return e(this.body,n)}),t(St,function(n){return e(this.elements,n)}),t(st,function(n){return this.right.may_throw(n)?!0:!n.has_directive("use strict")&&this.operator=="="&&this.left instanceof Se?!1:this.left.may_throw(n)}),t(oe,function(n){return this.left.may_throw(n)||this.right.may_throw(n)}),t(vn,function(n){return e(this.body,n)}),t(je,function(n){return si(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(Xr,function(n){return this.expression.may_throw(n)||e(this.body,n)}),t(tt,function(n){return this.condition.may_throw(n)||this.consequent.may_throw(n)||this.alternative.may_throw(n)}),t(sn,function(n){return e(this.definitions,n)}),t(wt,function(n){return this.condition.may_throw(n)||this.body&&this.body.may_throw(n)||this.alternative&&this.alternative.may_throw(n)}),t(Yn,function(n){return this.body.may_throw(n)}),t(Nt,function(n){return e(this.properties,n)}),t(un,function(n){return this.value?this.value.may_throw(n):!1}),t(sr,function(n){return this.computed_key()&&this.key.may_throw(n)||this.static&&this.value&&this.value.may_throw(n)}),t(Fn,function(n){return this.computed_key()&&this.key.may_throw(n)}),t(jr,function(n){return this.computed_key()&&this.key.may_throw(n)}),t(ei,function(n){return this.computed_key()&&this.key.may_throw(n)}),t(an,function(n){return this.value&&this.value.may_throw(n)}),t(lt,function(n){return e(this.expressions,n)}),t(He,function(n){return this.body.may_throw(n)}),t($t,function(n){return si(this,n)?!1:!this.optional&&this.expression.may_throw_on_access(n)||this.expression.may_throw(n)}),t(Sn,function(n){return si(this,n)?!1:!this.optional&&this.expression.may_throw_on_access(n)||this.expression.may_throw(n)||this.property.may_throw(n)}),t(mn,function(n){return this.expression.may_throw(n)}),t($n,function(n){return this.expression.may_throw(n)||e(this.body,n)}),t(Se,function(n){return!this.is_declared(n)&&!Bu.has(this.name)}),t(Vi,vt),t(mr,function(n){return this.bcatch?this.bcatch.may_throw(n):this.body.may_throw(n)||this.bfinally&&this.bfinally.may_throw(n)}),t(Wt,function(n){return this.operator=="typeof"&&this.expression instanceof Se?!1:this.expression.may_throw(n)}),t(Mt,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 o=!0;return Nn(this,u=>{if(u instanceof Se){if(Un(this,_s))return o=!1,lr;var h=u.definition();if(El(h,this.enclosed)&&!this.variables.has(h.name)){if(n){var m=n.find_variable(u);if(h.undeclared?!m:m===h)return o="f",!0}return o=!1,lr}return!0}if(u instanceof Bn&&this instanceof qt)return o=!1,lr}),o}t(Te,vt),t(Tt,Jn),t(_t,function(n){if(this.extends&&!this.extends.is_constant_expression(n))return!1;for(const o of this.properties)if(o.computed_key()&&!o.key.is_constant_expression(n)||o.static&&o.value&&!o.value.is_constant_expression(n)||o instanceof Wn)return!1;return e.call(this,n)}),t(Ke,e),t(Wt,function(){return this.expression.is_constant_expression()}),t(oe,function(){return this.left.is_constant_expression()&&this.right.is_constant_expression()}),t(St,function(){return this.elements.every(n=>n.is_constant_expression())}),t(Nt,function(){return this.properties.every(n=>n.is_constant_expression())}),t(un,function(){return!!(!(this.key instanceof Te)&&this.value&&this.value.is_constant_expression())})}(function(t,e){t.DEFMETHOD("is_constant_expression",e)}),function(t){Te.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(Te,e),t(cr,Jn),t(en,Jn),t(Tt,vt),t(St,vt),t(Nt,function(n){if(!e(n))return!1;for(var o=this.properties.length;--o>=0;)if(this.properties[o]._dot_throw(n))return!0;return!1}),t(_t,vt),t(un,vt),t(jr,Jn),t(ht,function(n){return this.expression._dot_throw(n)}),t(Ft,vt),t(qt,vt),t(Li,vt),t(We,function(){return this.operator=="void"}),t(oe,function(n){return(this.operator=="&&"||this.operator=="||"||this.operator=="??")&&(this.left._dot_throw(n)||this.right._dot_throw(n))}),t(st,function(n){return this.logical?!0:this.operator=="="&&this.right._dot_throw(n)}),t(tt,function(n){return this.consequent._dot_throw(n)||this.alternative._dot_throw(n)}),t($t,function(n){return e(n)?this.property=="prototype"?!(this.expression instanceof Ft||this.expression instanceof _t):!0:!1}),t(mn,function(n){return this.expression._dot_throw(n)}),t(lt,function(n){return this.tail_node()._dot_throw(n)}),t(Se,function(n){if(this.name==="arguments"&&this.scope instanceof Ke)return!1;if(Un(this,Ll))return!0;if(!e(n)||oi(this)&&this.is_declared(n)||this.is_immutable())return!1;var o=this.fixed_value();return!o||o._dot_throw(n)})}(function(t,e){t.DEFMETHOD("_dot_throw",e)});function Do(t,e){if(e instanceof Wt&&Uu.has(e.operator))return e.expression;if(e instanceof st&&e.left===t||e instanceof Kn&&e.init===t)return t}(function(t){function e(o){return N(We,o,{operator:"!",expression:o})}function n(o,u,h){var m=e(o);if(h){var _=N(He,u,{body:u});return Gi(m,_)===_?u:m}return Gi(m,u)}t(Te,function(){return e(this)}),t(Cn,function(){throw new Error("Cannot negate a statement")}),t(Ft,function(){return e(this)}),t(_t,function(){return e(this)}),t(qt,function(){return e(this)}),t(We,function(){return this.operator=="!"?this.expression:e(this)}),t(lt,function(o){var u=this.expressions.slice();return u.push(u.pop().negate(o)),nt(this,u)}),t(tt,function(o,u){var h=this.clone();return h.consequent=h.consequent.negate(o),h.alternative=h.alternative.negate(o),n(this,h,u)}),t(oe,function(o,u){var h=this.clone(),m=this.operator;if(o.option("unsafe_comps"))switch(m){case"<=":return h.operator=">",h;case"<":return h.operator=">=",h;case">=":return h.operator="<",h;case">":return h.operator="<=",h}switch(m){case"==":return h.operator="!=",h;case"!=":return h.operator="==",h;case"===":return h.operator="!==",h;case"!==":return h.operator="===",h;case"&&":return h.operator="||",h.left=h.left.negate(o,u),h.right=h.right.negate(o),n(this,h,u);case"||":return h.operator="&&",h.left=h.left.negate(o,u),h.right=h.right.negate(o),n(this,h,u)}return e(this)})})(function(t,e){t.DEFMETHOD("negate",function(n,o){return e.call(this,n,o)})}),function(t){function e(n){return N(We,n,{operator:"~",expression:n})}t(Te,function(){return e(this)}),t(Je,function(){const n=~this.value;return n.toString().length>this.value.toString().length?e(this):N(Je,this,{value:n})}),t(We,function(n){return this.operator=="~"&&(n||this.expression.is_32_bit_integer())?this.expression:e(this)})}(function(t,e){t.DEFMETHOD("bitwise_negate",e)});var T_=Ot("Boolean decodeURI decodeURIComponent Date encodeURI encodeURIComponent Error escape EvalError isFinite isNaN Number Object parseFloat parseInt RangeError ReferenceError String SyntaxError TypeError unescape URIError");je.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(oi(e)&&T_.has(e.name)||e instanceof $t&&oi(e.expression)&&ud(e.expression.name,e.property))return!0}return this instanceof er&&t.option("pure_new")||t.option("side_effects")&&ir(this,Rl)?!0:!t.pure_funcs(this)}),Te.DEFMETHOD("is_call_pure",vt),$t.DEFMETHOD("is_call_pure",function(t){if(!t.option("unsafe"))return;const e=this.expression;let n;return e instanceof St?n="Array":e.is_boolean()?n="Boolean":e.is_number(t)?n="Number":e instanceof ur?n="RegExp":e.is_string(t)?n="String":this.may_throw_on_access(t)||(n="Object"),n!=null&&sd(n,this.property)});const kr=t=>t&&t.aborts();(function(t){t(Cn,Zi),t(us,po);function e(){for(var n=0;n<this.body.length;n++)if(kr(this.body[n]))return this.body[n];return null}t(Or,Zi),t(Ye,e),t(Fi,e),t(Hr,function(){for(const n of this.properties)if(n instanceof Wn&&n.aborts())return n;return null}),t(Wn,e),t(wt,function(){return this.alternative&&kr(this.body)&&kr(this.alternative)&&this})})(function(t,e){t.DEFMETHOD("aborts",e)}),Te.DEFMETHOD("contains_this",function(){return Nn(this,t=>{if(t instanceof Bn)return lr;if(t!==this&&t instanceof qe&&!(t instanceof qt))return!0})});function na(t,e,n,o,u,h){var m=e.parent(u),_=Do(n,m);if(_)return _;if(!h&&m instanceof je&&m.expression===n&&!(o instanceof qt)&&!(o instanceof _t)&&!m.is_callee_pure(t)&&(!(o instanceof Ft)||!(m instanceof er)&&o.contains_this()))return!0;if(m instanceof St)return na(t,e,m,m,u+1);if(m instanceof Yt&&n===m.value){var T=e.parent(u+1);return na(t,e,T,T,u+2)}if(m instanceof Xe&&m.expression===n){var x=nd(o,m.property);return!h&&na(t,e,m,x,u+1)}}function Vn(t,e){t.DEFMETHOD("_eval",e)}const ra=Symbol("This AST_Chain is nullish");Te.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==ra)return this;if(typeof e=="string"){const n=this.size(t);if(e.length+2>n)return this}return e});var A_=Ot("! ~ - + void");Te.DEFMETHOD("is_constant",function(){return this instanceof Tt?!(this instanceof ur):this instanceof We&&this.expression instanceof Tt&&A_.has(this.operator)}),Vn(Cn,function(){throw new Error(hu("Cannot evaluate a statement [{file}:{line},{col}]",this.start))}),Vn(Ke,po),Vn(_t,po),Vn(Te,po),Vn(Tt,function(){return this.getValue()});const x_=typeof BigInt=="function";Vn(ri,function(){return x_?BigInt(this.value):this}),Vn(ur,function(t){let e=t.evaluated_regexps.get(this.value);if(e===void 0&&Fp(this.value.source)){try{const{source:n,flags:o}=this.value;e=new RegExp(n,o)}catch{e=null}t.evaluated_regexps.set(this.value,e)}return e||this}),Vn(zn,function(){return this.segments.length!==1?this:this.segments[0].value}),Vn(Ft,function(t){if(t.option("unsafe")){var e=function(){};return e.node=this,e.toString=()=>this.print_to_string(),e}return this}),Vn(St,function(t,e){if(t.option("unsafe")){for(var n=[],o=0,u=this.elements.length;o<u;o++){var h=this.elements[o],m=h._eval(t,e);if(h===m)return this;n.push(m)}return n}return this}),Vn(Nt,function(t,e){if(t.option("unsafe")){for(var n={},o=0,u=this.properties.length;o<u;o++){var h=this.properties[o];if(h instanceof ht)return this;var m=h.key;if(m instanceof pt)m=m.name;else if(m instanceof Te&&(m=m._eval(t,e),m===h.key))return this;if(typeof Object.prototype[m]=="function")return this;if(!(h.value instanceof Ft)&&(n[m]=h.value._eval(t,e),n[m]===h.value))return this}return n}return this});var O_=Ot("! typeof void");Vn(We,function(t,e){var n=this.expression;if(t.option("typeofs")&&this.operator=="typeof"&&(n instanceof Ke||n instanceof Se&&n.fixed_value()instanceof Ke))return"function";if(O_.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 D_=Ot("&& || ?? === !==");const C_=Ot("== != === !=="),ld=t=>typeof t=="object"||typeof t=="function"||typeof t=="symbol";Vn(oe,function(t,e){D_.has(this.operator)||e++;var n=this.left._eval(t,e);if(n===this.left)return this;var o=this.right._eval(t,e);if(o===this.right)return this;if(n!=null&&o!=null&&C_.has(this.operator)&&ld(n)&&ld(o)&&typeof n==typeof o)return this;if(typeof n=="bigint"!=(typeof o=="bigint")||typeof n=="bigint"&&(this.operator===">>>"||this.operator==="/"&&Number(o)===0))return this;var u;switch(this.operator){case"&&":u=n&&o;break;case"||":u=n||o;break;case"??":u=n??o;break;case"|":u=n|o;break;case"&":u=n&o;break;case"^":u=n^o;break;case"+":u=n+o;break;case"*":u=n*o;break;case"**":u=n**o;break;case"/":u=n/o;break;case"%":u=n%o;break;case"-":u=n-o;break;case"<<":u=n<<o;break;case">>":u=n>>o;break;case">>>":u=n>>>o;break;case"==":u=n==o;break;case"===":u=n===o;break;case"!=":u=n!=o;break;case"!==":u=n!==o;break;case"<":u=n<o;break;case"<=":u=n<=o;break;case">":u=n>o;break;case">=":u=n>=o;break;default:return this}return typeof u=="number"&&isNaN(u)&&t.find_parent(pr)?this:u}),Vn(tt,function(t,e){var n=this.condition._eval(t,e);if(n===this.condition)return this;var o=n?this.consequent:this.alternative,u=o._eval(t,e);return u===o?this:u});const Xl=new Set;Vn(Se,function(t,e){if(Xl.has(this))return this;var n=this.fixed_value();if(!n)return this;Xl.add(this);const o=n._eval(t,e);if(Xl.delete(this),o===n)return this;if(o&&typeof o=="object"){var u=this.definition().escaped;if(u&&e>u)return this}return o});const fd={Array,Math,Number,Object,String},k_=new Set(["dotAll","global","ignoreCase","multiline","sticky","unicode"]);Vn(Xe,function(t,e){let n=this.expression._eval(t,e+1);if(n===ra||this.optional&&n==null)return ra;if(this.property==="length"){if(typeof n=="string")return n.length;if(n instanceof St&&n.elements.every(T=>!(T instanceof ht))&&n.elements.every(T=>!T.has_side_effects(t)))return n.elements.length}if(t.option("unsafe")){var o=this.property;if(o instanceof Te&&(o=o._eval(t,e),o===this.property))return this;var u=this.expression;if(oi(u)){var h,m=u.name==="hasOwnProperty"&&o==="call"&&(h=t.parent()&&t.parent().args)&&h&&h[0]&&h[0].evaluate(t);if(m=m instanceof $t?m.expression:m,m==null||m.thedef&&m.thedef.undeclared)return this.clone();if(!S_(u.name,o))return this;n=fd[u.name]}else{if(n instanceof RegExp){if(o=="source")return du(n.source);if(o=="flags"||k_.has(o))return n[o]}if(!n||n===u||!Zn(n,o))return this;if(typeof n=="function")switch(o){case"name":return n.node.name?n.node.name.name:"";case"length":return n.node.length_property();default:return this}}return n[o]}return this}),Vn(mn,function(t,e){const n=this.expression._eval(t,e);return n===ra?void 0:n===this.expression?this:n}),Vn(je,function(t,e){var n=this.expression;const o=n._eval(t,e);if(o===ra||this.optional&&o==null)return ra;if(t.option("unsafe")&&n instanceof Xe){var u=n.property;if(u instanceof Te&&(u=u._eval(t,e),u===n.property))return this;var h,m=n.expression;if(oi(m)){var _=m.name==="hasOwnProperty"&&u==="call"&&this.args[0]&&this.args[0].evaluate(t);if(_=_ instanceof $t?_.expression:_,_==null||_.thedef&&_.thedef.undeclared)return this.clone();if(!ud(m.name,u))return this;h=fd[m.name]}else{if(h=m._eval(t,e+1),h===m||!h)return this;if(!sd(h.constructor.name,u))return this}for(var T=[],x=0,P=this.args.length;x<P;x++){var A=this.args[x],F=A._eval(t,e);if(A===F)return this;if(A instanceof Ke)return this;T.push(F)}try{return h[u].apply(h,T)}catch{}}return this}),Vn(er,po);function nn(t,e){t.DEFMETHOD("drop_side_effect_free",e)}function gs(t,e,n){var o=t.length;if(!o)return null;for(var u=[],h=!1,m=0;m<o;m++){var _=t[m].drop_side_effect_free(e,n);h|=_!==t[m],_&&(u.push(_),n=!1)}return h?u.length?u:null:t}nn(Te,po),nn(Tt,Zi),nn(Bn,Zi),nn(je,function(t,e){if(ta(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=gs(n,t,e),n&&nt(this,n)}if(Mu(this.expression)&&(!this.expression.name||!this.expression.name.definition().references.length)){var o=this.clone();return o.expression.process_expression(!1,t),o}return this}var u=gs(this.args,t,e);return u&&nt(this,u)}),nn(Ii,Zi),nn(Ft,Zi),nn(qt,Zi),nn(_t,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 u of this.properties)if(u instanceof Wn){if(u.has_side_effects(t))return this}else{const h=u.drop_side_effect_free(t);h&&e.push(h)}if(!e.length)return null;const o=nt(this,e);return this instanceof Hr?N(He,this,{body:o}):o}),nn(sr,function(t){const e=this.computed_key()&&this.key.drop_side_effect_free(t),n=this.static&&this.value&&this.value.drop_side_effect_free(t);return e&&n?nt(this,[e,n]):e||n||null}),nn(oe,function(t,e){var n=this.right.drop_side_effect_free(t);if(!n)return this.left.drop_side_effect_free(t,e);if(Oo.has(this.operator)){if(n===this.right)return this;var o=this.clone();return o.right=n,o}else{var u=this.left.drop_side_effect_free(t,e);return u?nt(this,[u,n]):this.right.drop_side_effect_free(t,e)}}),nn(st,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(gr(this,Qo);e instanceof Xe;)e=e.expression;return e.is_constant_expression(t.find_parent(qe))?this.right.drop_side_effect_free(t):this}),nn(tt,function(t){var e=this.consequent.drop_side_effect_free(t),n=this.alternative.drop_side_effect_free(t);if(e===this.consequent&&n===this.alternative)return this;if(!e)return n?N(oe,this,{operator:"||",left:this.condition,right:n}):this.condition.drop_side_effect_free(t);if(!n)return N(oe,this,{operator:"&&",left:this.condition,right:e});var o=this.clone();return o.consequent=e,o.alternative=n,o}),nn(Wt,function(t,e){if(Uu.has(this.operator))return this.expression.has_side_effects(t)?ea(this,Qo):gr(this,Qo),this;if(this.operator=="typeof"&&this.expression instanceof Se)return null;var n=this.expression.drop_side_effect_free(t,e);return e&&n&&Hl(n)?n===this.expression&&this.operator=="!"?this:n.negate(t,e):n}),nn(Se,function(t){return this.is_declared(t)||Bu.has(this.name)?null:this}),nn(Nt,function(t,e){var n=gs(this.properties,t,e);return n&&nt(this,n)}),nn(un,function(t,e){const o=this instanceof Yt&&this.key instanceof Te&&this.key.drop_side_effect_free(t,e),u=this.value&&this.value.drop_side_effect_free(t,e);return o&&u?nt(this,[o,u]):o||u}),nn(Fn,function(){return this.computed_key()?this.key:null}),nn(jr,function(){return this.computed_key()?this.key:null}),nn(ei,function(){return this.computed_key()?this.key:null}),nn(St,function(t,e){var n=gs(this.elements,t,e);return n&&nt(this,n)}),nn($t,function(t,e){return ta(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)}),nn(Sn,function(t,e){if(ta(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 o=this.expression.drop_side_effect_free(t,e);return o&&n?nt(this,[o,n]):o||n}),nn(mn,function(t,e){return this.expression.drop_side_effect_free(t,e)}),nn(lt,function(t){var e=this.tail_node(),n=e.drop_side_effect_free(t);if(n===e)return this;var o=this.expressions.slice(0,-1);return n&&o.push(n),o.length?nt(this,o):N(Je,this,{value:0})}),nn(ht,function(t,e){return this.expression.drop_side_effect_free(t,e)}),nn(yi,Zi),nn(zn,function(t){var e=gs(this.segments,t,ii);return e&&nt(this,e)});const R_=/keep_assign/;qe.DEFMETHOD("drop_unused",function(t){if(!t.option("unused")||t.has_directive("use asm")||!this.variables)return;var e=this;if(e.pinned())return;var n=!(e instanceof zt)||t.toplevel.funcs,o=!(e instanceof zt)||t.toplevel.vars;const u=R_.test(t.option("unused"))?vt:function(V){if(V instanceof st&&!V.logical&&(Un(V,Qo)||V.operator=="="))return V.left;if(V instanceof Wt&&Un(V,Qo))return V.expression};var h=new Map,m=new Map;e instanceof zt&&t.top_retain&&e.variables.forEach(function(V){t.top_retain(V)&&h.set(V.id,V)});var _=new Map,T=new Map,x=new Set,P=this,A=new Pn(function(V,b){if(V instanceof Ke&&V.uses_arguments&&!A.has_directive("use strict")&&V.argnames.forEach(function(D){if(D instanceof Rn){var R=D.definition();h.set(R.id,R)}}),V===e)return;if(V instanceof _t&&V.has_side_effects(t)&&(V.is_self_referential()&&x.add(V),V.visit_nondeferred_class_parts(A)),V instanceof Qt||V instanceof Hr){var y=V.name.definition();return(A.parent()instanceof On||!n&&P===e)&&y.global&&h.set(y.id,y),pu(T,y.id,V),!0}const g=P===e;if(V instanceof wn&&g&&pu(_,V.definition().id,V),V instanceof sn&&g){const D=A.parent()instanceof On;return V.definitions.forEach(function(R){if(R.name instanceof Bi&&pu(_,R.name.definition().id,R),(D||!o)&&Nn(R.name,U=>{if(U instanceof Rn){const X=U.definition();X.global&&h.set(X.id,X)}}),R.name instanceof Vt&&R.walk(A),R.name instanceof Rn&&R.value){var O=R.name.definition();pu(T,O.id,R.value),!O.chained&&R.name.fixed_value()===R.value&&m.set(O.id,R),R.value.has_side_effects(t)&&R.value.walk(A)}}),!0}return $(V,b)});e.walk(A),A=new Pn($),h.forEach(function(V){var b=T.get(V.id);b&&b.forEach(function(y){y.walk(A)})}),x.forEach(function(V){V.walk(A)});var F=new fr(function(b,y,g){var D=F.parent();if(o){const te=u(b);if(te instanceof Se){var O=te.definition(),R=h.has(O.id);if(b instanceof st){if(!R||m.has(O.id)&&m.get(O.id)!==b)return Ao(D,b,b.right.transform(F))}else if(!R)return g?Xt.skip:N(Je,b,{value:0})}}if(P===e){var O;if(b.name&&(b instanceof bi&&!Go(t.option("keep_classnames"),(O=b.name.definition()).name)||b instanceof Ft&&!Go(t.option("keep_fnames"),(O=b.name.definition()).name))&&(!h.has(O.id)||O.orig.length>1)&&(b.name=null),b instanceof Ke&&!(b instanceof Ii))for(var U=!t.option("keep_fargs"),X=b.argnames,ue=X.length;--ue>=0;){var K=X[ue];K instanceof ht&&(K=K.expression),K instanceof Dr&&(K=K.left),!(K instanceof Vt)&&!h.has(K.definition().id)?(gr(K,io),U&&X.pop()):U=!1}if(b instanceof Hr&&b!==e){const te=b.name.definition();if(y(b,this),!(te.global&&!n||h.has(te.id))){const le=b.drop_side_effect_free(t);return le??(te.eliminated++,g?Xt.skip:N(Rt,b))}return b}if(b instanceof Qt&&b!==e){const te=b.name.definition();if(!(te.global&&!n||h.has(te.id)))return te.eliminated++,g?Xt.skip:N(Rt,b)}if(b instanceof sn&&!(D instanceof Kn&&D.init===b)){var Y=!(D instanceof zt)&&!(b instanceof kn),G=[],ce=[],Q=[],de=[];switch(b.definitions.forEach(function(te){te.value&&(te.value=te.value.transform(F));var he=te.name instanceof Vt,le=he?new Zo(null,{name:"<destructure>"}):te.name.definition();if(Y&&le.global)return Q.push(te);if(!(o||Y)||he&&(te.name.names.length||te.name.is_array||t.option("pure_getters")!=!0)||h.has(le.id)){if(te.value&&m.has(le.id)&&m.get(le.id)!==te&&(te.value=te.value.drop_side_effect_free(t)),te.name instanceof Bi){var Ae=_.get(le.id);if(Ae.length>1&&(!te.value||le.orig.indexOf(te.name)>le.eliminated)){if(te.value){var we=N(Se,te.name,te.name);le.references.push(we);var _e=N(st,te,{operator:"=",logical:!1,left:we,right:te.value});m.get(le.id)===te&&m.set(le.id,_e),de.push(_e.transform(F))}Ho(Ae,te),le.eliminated++;return}}te.value?(de.length>0&&(Q.length>0?(de.push(te.value),te.value=nt(te.value,de)):G.push(N(He,b,{body:nt(b,de)})),de=[]),Q.push(te)):ce.push(te)}else if(le.orig[0]instanceof Gr){var Ue=te.value&&te.value.drop_side_effect_free(t);Ue&&de.push(Ue),te.value=null,ce.push(te)}else{var Ue=te.value&&te.value.drop_side_effect_free(t);Ue&&de.push(Ue),le.eliminated++}}),(ce.length>0||Q.length>0)&&(b.definitions=ce.concat(Q),G.push(b)),de.length>0&&G.push(N(He,b,{body:nt(b,de)})),G.length){case 0:return g?Xt.skip:N(Rt,b);case 1:return G[0];default:return g?Xt.splice(G):N(Ye,b,{body:G})}}if(b instanceof En){y(b,this);var ye;return b.init instanceof Ye&&(ye=b.init,b.init=ye.body.pop(),ye.body.push(b)),b.init instanceof He?b.init=b.init.body:oo(b.init)&&(b.init=null),ye?g?Xt.splice(ye.body):ye:b}if(b instanceof Yn&&b.body instanceof En){if(y(b,this),b.body instanceof Ye){var ye=b.body;return b.body=ye.body.pop(),ye.body.push(b),g?Xt.splice(ye.body):ye}return b}if(b instanceof Ye)return y(b,this),g&&b.body.every(Kl)?Xt.splice(b.body):b;if(b instanceof qe&&!(b instanceof Wn)){const te=P;return P=b,y(b,this),P=te,b}}});e.transform(F);function $(V,b){var y;const g=u(V);if(g instanceof Se&&!Gl(V.left,Ui)&&e.variables.get(g.name)===(y=g.definition()))return V instanceof st&&(V.right.walk(A),!y.chained&&V.left.fixed_value()===V.right&&m.set(y.id,V)),!0;if(V instanceof Se){if(y=V.definition(),!h.has(y.id)&&(h.set(y.id,y),y.orig[0]instanceof Gr)){const R=y.scope.is_block_scope()&&y.scope.get_defun_scope().variables.get(y.name);R&&h.set(R.id,R)}return!0}if(V instanceof _t)return b(),!0;if(V instanceof qe&&!(V instanceof Wn)){var D=P;return P=V,b(),P=D,!0}}});function cn(t,e){t.DEFMETHOD("reduce_vars",e)}cn(Te,hr);function ql(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 wn&&e.scope.uses_arguments?e.fixed=!1:e.orig[0]instanceof to||!t.exposed(e)?e.fixed=e.init:e.fixed=!1}function Yl(t,e,n){n.variables.forEach(function(o){ql(e,o),o.fixed===null?(t.defs_to_safe_ids.set(o.id,t.safe_ids),Ki(t,o,!0)):o.fixed&&(t.loop_ids.set(o.id,t.in_loop),Ki(t,o,!0))})}function Co(t,e){e.block_scope&&e.block_scope.variables.forEach(n=>{ql(t,n)})}function _n(t){t.safe_ids=Object.create(t.safe_ids)}function Dn(t){t.safe_ids=Object.getPrototypeOf(t.safe_ids)}function Ki(t,e,n){t.safe_ids[e.id]=n}function hd(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 wn||n.name=="arguments")return!1;e.fixed=N(en,n)}return!0}return e.fixed instanceof Qt}function Jl(t,e,n,o){if(e.fixed===void 0)return!0;let u;return e.fixed===null&&(u=t.defs_to_safe_ids.get(e.id))?(u[e.id]=!1,t.defs_to_safe_ids.delete(e.id),!0):!Zn(t.safe_ids,e.id)||!hd(t,e)||e.fixed===!1||e.fixed!=null&&(!o||e.references.length>e.assignments)?!1:e.fixed instanceof Qt?o instanceof Te&&e.fixed.parent_scope===n:e.orig.every(h=>!(h instanceof to||h instanceof vi||h instanceof ni))}function w_(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 N_(t){return t?t.is_constant()||t instanceof Ke||t instanceof Bn:!1}function bs(t,e,n,o,u,h=0,m=1){var _=t.parent(h);if(!(u&&(u.is_constant()||u instanceof bi))){if(_ instanceof st&&(_.operator==="="||_.logical)&&o===_.right||_ instanceof je&&(o!==_.expression||_ instanceof er)||_ instanceof ar&&o===_.value&&o.scope!==e.scope||_ instanceof Mt&&o===_.value||_ instanceof yr&&o===_.value&&o.scope!==e.scope){m>1&&!(u&&u.is_constant_expression(n))&&(m=1),(!e.escaped||e.escaped>m)&&(e.escaped=m);return}else if(_ instanceof St||_ instanceof dr||_ instanceof oe&&Oo.has(_.operator)||_ instanceof tt&&o!==_.condition||_ instanceof ht||_ instanceof lt&&o===_.tail_node())bs(t,e,n,_,_,h+1,m);else if(_ instanceof Yt&&o===_.value){var T=t.parent(h+1);bs(t,e,n,T,T,h+2,m)}else if(_ instanceof Xe&&o===_.expression&&(u=nd(u,_.property),bs(t,e,n,_,u,h+1,m+1),u))return;h>0||_ instanceof lt&&o!==_.tail_node()||_ instanceof He||(e.direct_access=!0)}}const Zl=t=>Nn(t,e=>{if(e instanceof pt){var n=e.definition();n&&(e instanceof Se&&n.references.push(e),n.fixed=!1)}});cn(Ii,function(t,e,n){return _n(t),Yl(t,n,this),e(),Dn(t),!0}),cn(st,function(t,e,n){var o=this;if(o.left instanceof Vt){Zl(o.left);return}const u=()=>{if(o.logical)return o.left.walk(t),_n(t),o.right.walk(t),Dn(t),!0};var h=o.left;if(!(h instanceof Se))return u();var m=h.definition(),_=Jl(t,m,h.scope,o.right);if(m.assignments++,!_)return u();var T=m.fixed;if(!T&&o.operator!="="&&!o.logical)return u();var x=o.operator=="=",P=x?o.right:o;return na(n,t,o,P,0)?u():(m.references.push(h),o.logical||(x||(m.chained=!0),m.fixed=x?function(){return o.right}:function(){return N(oe,o,{operator:o.operator.slice(0,-1),left:T instanceof Te?T:T(),right:o.right})}),o.logical?(Ki(t,m,!1),_n(t),o.right.walk(t),Dn(t),!0):(Ki(t,m,!1),o.right.walk(t),Ki(t,m,!0),bs(t,m,h.scope,o,P,0,1),!0))}),cn(oe,function(t){if(Oo.has(this.operator))return this.left.walk(t),_n(t),this.right.walk(t),Dn(t),!0}),cn(vn,function(t,e,n){Co(n,this)}),cn(Xr,function(t){return _n(t),this.expression.walk(t),Dn(t),_n(t),mo(this,t),Dn(t),!0}),cn(_t,function(t,e){return ea(this,_s),_n(t),e(),Dn(t),!0}),cn(Wn,function(t,e,n){Co(n,this)}),cn(tt,function(t){return this.condition.walk(t),_n(t),this.consequent.walk(t),Dn(t),_n(t),this.alternative.walk(t),Dn(t),!0}),cn(mn,function(t,e){const n=t.safe_ids;return e(),t.safe_ids=n,!0}),cn(je,function(t){this.expression.walk(t),this.optional&&_n(t);for(const e of this.args)e.walk(t);return!0}),cn(Xe,function(t){if(this.optional)return this.expression.walk(t),_n(t),this.property instanceof Te&&this.property.walk(t),!0}),cn(bo,function(t,e){return _n(t),e(),Dn(t),!0});function P_(t,e,n){ea(this,_s),_n(t),Yl(t,n,this);var o;return!this.name&&!this.uses_arguments&&!this.pinned()&&(o=t.parent())instanceof je&&o.expression===this&&!o.args.some(u=>u instanceof ht)&&this.argnames.every(u=>u instanceof pt)&&this.argnames.forEach((u,h)=>{if(u.definition){var m=u.definition();m.orig.length>1||(m.fixed===void 0&&(!this.uses_arguments||t.has_directive("use strict"))?(m.fixed=function(){return o.args[h]||N(en,o)},t.loop_ids.set(m.id,t.in_loop),Ki(t,m,!0)):m.fixed=!1)}}),e(),Dn(t),pd(this),!0}function pd(t){const e=[];Nn(t,h=>{if(h!==t&&(h instanceof Qt&&e.push(h),h instanceof qe||h instanceof He))return!0});const n=new Set,o=new Set,u=[];for(const h of e){const m=h.name.definition(),_=e.some(T=>T!==h&&T.enclosed.indexOf(m)!==-1);for(const T of h.enclosed)if(!(T.fixed===!1||T===m||T.scope.get_defun_scope()!==t)&&!(T.assignments===0&&T.orig.length===1&&T.orig[0]instanceof vi)){if(_){T.fixed=!1;continue}u.push({defun:h,def:T,fname_def:m}),n.add(T.id),n.add(m.id),o.add(h)}}if(u.length){const h=[],m=new Set,_=new Map;let T;t.walk(T=new Pn((x,P)=>{if(x instanceof Qt&&o.has(x)){const A=h.length;P();const F=h.length;return _.set(x,{start:A,end:F}),!0}if(x instanceof pt&&x.thedef){const A=x.definition().id;n.has(A)&&((x instanceof Rn||Do(x,T))&&m.add(h.length),h.push(A))}}));for(const{def:x,defun:P,fname_def:A}of u){const F=_.get(P),$=(g,D=0,R=!1)=>{let O=D;for(;O=h.indexOf(g,O),O!==-1;)if(O>=F.start&&O<F.end){O=F.end;continue}else if(R&&!m.has(O)){O++;continue}else break;return O},V=$(A.id),b=$(x.id,V+1,!0);V!=-1&&b!=-1&&b>V&&(x.fixed=!1)}}}cn(Ke,P_),cn(di,function(t,e,n){Co(n,this);const o=t.in_loop;return t.in_loop=this,_n(t),this.body.walk(t),jl(this)&&(Dn(t),_n(t)),this.condition.walk(t),Dn(t),t.in_loop=o,!0}),cn(En,function(t,e,n){Co(n,this),this.init&&this.init.walk(t);const o=t.in_loop;return t.in_loop=this,_n(t),this.condition&&this.condition.walk(t),this.body.walk(t),this.step&&(jl(this)&&(Dn(t),_n(t)),this.step.walk(t)),Dn(t),t.in_loop=o,!0}),cn(Kn,function(t,e,n){Co(n,this),Zl(this.init),this.object.walk(t);const o=t.in_loop;return t.in_loop=this,_n(t),this.body.walk(t),Dn(t),t.in_loop=o,!0}),cn(wt,function(t){return this.condition.walk(t),_n(t),this.body.walk(t),Dn(t),this.alternative&&(_n(t),this.alternative.walk(t),Dn(t)),!0}),cn(Yn,function(t){return _n(t),this.body.walk(t),Dn(t),!0}),cn(Gr,function(){this.definition().fixed=!1}),cn(Se,function(t,e,n){var o=this.definition();o.references.push(this),o.references.length==1&&!o.fixed&&o.orig[0]instanceof vi&&t.loop_ids.set(o.id,t.in_loop);var u;o.fixed===void 0||!hd(t,o)?o.fixed=!1:o.fixed&&(u=this.fixed_value(),u instanceof Ke&&zl(t,o)?o.recursive_refs++:u&&!n.exposed(o)&&w_(t,n,o)?o.single_use=u instanceof Ke&&!u.pinned()||u instanceof _t||o.scope===this.scope&&u.is_constant_expression():o.single_use=!1,na(n,t,this,u,0,N_(u))&&(o.single_use?o.single_use="m":o.fixed=!1)),bs(t,o,this.scope,this,u,0,1)}),cn(zt,function(t,e,n){return this.globals.forEach(function(o){ql(n,o)}),Yl(t,n,this),e(),pd(this),!0}),cn(mr,function(t,e,n){return Co(n,this),_n(t),this.body.walk(t),Dn(t),this.bcatch&&(_n(t),this.bcatch.walk(t),Dn(t)),this.bfinally&&this.bfinally.walk(t),!0}),cn(Wt,function(t){var e=this;if(!(e.operator!=="++"&&e.operator!=="--")){var n=e.expression;if(n instanceof Se){var o=n.definition(),u=Jl(t,o,n.scope,!0);if(o.assignments++,!!u){var h=o.fixed;if(h)return o.references.push(n),o.chained=!0,o.fixed=function(){return N(oe,e,{operator:e.operator.slice(0,-1),left:N(We,e,{operator:"+",expression:h instanceof Te?h:h()}),right:N(Je,e,{value:1})})},Ki(t,o,!0),!0}}}}),cn(Mt,function(t,e){var n=this;if(n.name instanceof Vt){Zl(n.name);return}var o=n.name.definition();if(n.value){if(Jl(t,o,n.name.scope,n.value))return o.fixed=function(){return n.value},t.loop_ids.set(o.id,t.in_loop),Ki(t,o,!1),e(),Ki(t,o,!0),!0;o.fixed=!1}}),cn(Pi,function(t,e,n){Co(n,this);const o=t.in_loop;return t.in_loop=this,_n(t),e(),Dn(t),t.in_loop=o,!0});function Ql(t){return t instanceof Br&&t.body instanceof Ye?t.body:t}function dd(t){if(t instanceof Bn)return!0;if(t instanceof Se)return t.definition().orig[0]instanceof ni;if(t instanceof Xe){if(t=t.expression,t instanceof Se){if(t.is_immutable())return!1;t=t.fixed_value()}return t?t instanceof ur?!1:t instanceof Tt?!0:dd(t):!0}return!1}function I_(t){var e=[];return t.definitions.forEach(function(n){n.name instanceof Rn?(n.value=null,e.push(n)):n.declarations_as_names().forEach(o=>{e.push(N(Mt,n,{name:o,value:null}))})}),e.length?N(kn,t,{definitions:e}):null}function ko(t,e,n){Nn(e,o=>{if(o instanceof kn){const u=I_(o);return u&&n.push(u),!0}if(o instanceof Qt&&(o===e||!t.has_directive("use strict")))return n.push(o===e?o:N(kn,o,{definitions:[N(Mt,o,{name:N(Bi,o.name,o.name),value:null})]})),!0;if(o instanceof On||o instanceof Or)return n.push(o),!0;if(o instanceof qe)return!0})}function Vu(t,e){const n=e.find_scope(),o=n.get_defun_scope(),{in_loop:u,in_try:h}=T();var m,_=10;do m=!1,P(t),e.option("dead_code")&&F(t,e),e.option("if_return")&&A(t,e),e.sequences_limit>0&&(V(t,e),y(t,e)),e.option("join_vars")&&D(t),e.option("collapse_vars")&&x(t,e);while(m&&_-- >0);function T(){var R=e.self(),O=0,U=!1,X=!1;do if(R instanceof Br)U=!0;else{if(R instanceof qe)break;R instanceof Du&&(X=!0)}while(R=e.parent(O++));return{in_loop:U,in_try:X}}function x(R,O){if(n.pinned()||o.pinned())return R;for(var U,X=[],ue=R.length,K=new fr(function(L){if(ae)return L;if(!ne)return L!==G[ce]?L:(ce++,ce<G.length?Et(L):(ne=!0,ye=De(L,0),ye===L&&(ae=!0),L));var ke=K.parent();if(L instanceof st&&(L.logical||L.operator!="="&&he.equivalent_to(L.left))||L instanceof dr||L instanceof je&&he instanceof Xe&&he.equivalent_to(L.expression)||(L instanceof je||L instanceof Xe)&&L.optional||L instanceof Ni||L instanceof Vt||L instanceof ht&&L.expression instanceof pt&&(L.expression instanceof Bn||L.expression.definition().references.length>1)||L instanceof Br&&!(L instanceof En)||L instanceof Wr||L instanceof mr||L instanceof pr||L instanceof yr||L instanceof On||L instanceof _t||ke instanceof En&&L!==ke.init||!_e&&L instanceof Se&&!L.is_declared(O)&&!Bu.has(L)||L instanceof Se&&ke instanceof je&&ir(ke,So)||L instanceof un&&L.key instanceof Te)return ae=!0,L;if(!te&&(!Ae||!_e)&&(ke instanceof oe&&Oo.has(ke.operator)&&ke.left!==L||ke instanceof tt&&ke.condition!==L||ke instanceof wt&&ke.condition!==L)&&(te=ke),me&&!(L instanceof Rn)&&he.equivalent_to(L)&&!Si(K.find_scope()||n,le)){if(te)return ae=!0,L;if(Do(L,ke))return de&&Ee++,L;if(Ee++,de&&Q instanceof Mt)return L;if(m=ae=!0,Q instanceof Li)return N(We,Q,Q);if(Q instanceof Mt){var Be=Q.name.definition(),Le=Q.value;return Be.references.length-Be.replaced==1&&!O.exposed(Be)?(Be.replaced++,J&&id(Le)?Le.transform(O):Ao(ke,L,Le)):N(st,Q,{operator:"=",logical:!1,left:N(Se,Q.name,Q.name),right:Le})}return ea(Q,Qo),Q}var ut;return(L instanceof je||L instanceof ar&&(we||he instanceof Xe||It(he))||L instanceof Xe&&(we||L.expression.may_throw_on_access(O))||L instanceof Se&&(le.has(L.name)&&le.get(L.name).modified||we&&It(L))||L instanceof Mt&&L.value&&(le.has(L.name.name)||we&&It(L.name))||(ut=Do(L.left,L))&&(ut instanceof Xe||le.has(ut.name))||Ue&&(h?L.has_side_effects(O):ln(L)))&&(ye=L,L instanceof qe&&(ae=!0)),Et(L)},function(L){ae||(ye===L&&(ae=!0),te===L&&(te=null))}),Y=new fr(function(L){if(ae)return L;if(!ne)return L!==G[ce]?L:(ce++,ce<G.length?void 0:(ne=!0,L));if(L instanceof Se&&L.name==jt.name)return--Ee||(ae=!0),Do(L,Y.parent())?L:(jt.replaced++,de.replaced--,Q.value);if(L instanceof bo||L instanceof qe)return L});--ue>=0;){ue==0&&O.option("unused")&&Jt();var G=[];for(ie(R[ue]);X.length>0;){G=X.pop();var ce=0,Q=G[G.length-1],de=null,ye=null,te=null,he=bt(Q);if(!(!he||dd(he)||he.has_side_effects(O))){var le=Ct(Q),Ae=Zt(he);he instanceof Se&&le.set(he.name,{def:he.definition(),modified:!1});var we=pn(Q),_e=Ht(),Ue=Q.may_throw(O),J=Q.name instanceof wn,ne=J,ae=!1,Ee=0,me=!U||!ne;if(!me){for(let L=O.self().argnames.lastIndexOf(Q.name)+1;!ae&&L<U.length;L++)U[L].transform(K);me=!0}for(var At=ue;!ae&&At<R.length;At++)R[At].transform(K);if(de){var jt=Q.name.definition();if(ae&&jt.references.length-jt.replaced>Ee)Ee=!1;else{ae=!1,ce=0,ne=J;for(var At=ue;!ae&&At<R.length;At++)R[At].transform(Y);de.single_use=!1}}Ee&&!Mn(Q)&&R.splice(ue,1)}}}function Et(L){if(L instanceof qe)return L;if(L instanceof $n){L.expression=L.expression.transform(K);for(var ke=0,Be=L.body.length;!ae&&ke<Be;ke++){var Le=L.body[ke];if(Le instanceof Xr){if(!ne){if(Le!==G[ce])continue;ce++}if(Le.expression=Le.expression.transform(K),!_e)break}}return ae=!0,L}}function Lt(L,ke){if(L.global)return!1;let Be=L.scope;for(;Be&&Be!==ke;){if(Be.variables.has(L.name))return!0;Be=Be.parent_scope}return!1}function gt(L,ke,Be){var Le=!1,ut=!(L instanceof qt);return ke.walk(new Pn(function(rn,ft){if(Le)return!0;if(rn instanceof Se&&(L.variables.has(rn.name)||Lt(rn.definition(),L))){var gn=rn.definition().scope;if(gn!==o){for(;gn=gn.parent_scope;)if(gn===o)return!0}return Le=!0}if((Be||ut)&&rn instanceof Bn)return Le=!0;if(rn instanceof qe&&!(rn instanceof qt)){var Tn=ut;return ut=!1,ft(),ut=Tn,!0}})),Le}function Dt(L){return!(L instanceof ht||Nn(L,Be=>{if(Be instanceof dr)return lr}))}function Jt(){var L,ke=O.self();if(Mu(ke)&&!ke.name&&!ke.uses_arguments&&!ke.pinned()&&(L=O.parent())instanceof je&&L.expression===ke&&L.args.every(Dt)){var Be=O.has_directive("use strict");Be&&!El(Be,ke.body)&&(Be=!1);var Le=ke.argnames.length;U=L.args.slice(Le);for(var ut=new Set,rn=Le;--rn>=0;){var ft=ke.argnames[rn],gn=L.args[rn];const ui=ft.definition&&ft.definition();if(!(ui&&ui.orig.length>1)&&(U.unshift(N(Mt,ft,{name:ft,value:gn})),!ut.has(ft.name)))if(ut.add(ft.name),ft instanceof ht){var Tn=L.args.slice(rn);Tn.every(fn=>!gt(ke,fn,Be))&&X.unshift([N(Mt,ft,{name:ft.expression,value:N(St,L,{elements:Tn})})])}else gn?(gn instanceof Ke&&gn.pinned()||gt(ke,gn,Be))&&(gn=null):gn=N(en,ft).transform(O),gn&&X.unshift([N(Mt,ft,{name:ft,value:gn})])}}}function ie(L){if(G.push(L),L instanceof st)!L.left.has_side_effects(O)&&!(L.right instanceof mn)&&X.push(G.slice()),ie(L.right);else if(L instanceof oe)ie(L.left),ie(L.right);else if(L instanceof je&&!ir(L,So))ie(L.expression),L.args.forEach(ie);else if(L instanceof Xr)ie(L.expression);else if(L instanceof tt)ie(L.condition),ie(L.consequent),ie(L.alternative);else if(L instanceof sn){var ke=L.definitions.length,Be=ke-200;for(Be<0&&(Be=0);Be<ke;Be++)ie(L.definitions[Be])}else L instanceof Ou?(ie(L.condition),L.body instanceof vn||ie(L.body)):L instanceof ar?L.value&&ie(L.value):L instanceof En?(L.init&&ie(L.init),L.condition&&ie(L.condition),L.step&&ie(L.step),L.body instanceof vn||ie(L.body)):L instanceof Kn?(ie(L.object),L.body instanceof vn||ie(L.body)):L instanceof wt?(ie(L.condition),L.body instanceof vn||ie(L.body),L.alternative&&!(L.alternative instanceof vn)&&ie(L.alternative)):L instanceof lt?L.expressions.forEach(ie):L instanceof He?ie(L.body):L instanceof $n?(ie(L.expression),L.body.forEach(ie)):L instanceof Wt?(L.operator=="++"||L.operator=="--")&&X.push(G.slice()):L instanceof Mt&&L.value&&!(L.value instanceof mn)&&(X.push(G.slice()),ie(L.value));G.pop()}function De(L,ke,Be){var Le=K.parent(ke);return Le instanceof st?Be&&!Le.logical&&!(Le.left instanceof Xe||le.has(Le.left.name))?De(Le,ke+1,Be):L:Le instanceof oe?Be&&(!Oo.has(Le.operator)||Le.left===L)?De(Le,ke+1,Be):L:Le instanceof je||Le instanceof Xr?L:Le instanceof tt?Be&&Le.condition===L?De(Le,ke+1,Be):L:Le instanceof sn?De(Le,ke+1,!0):Le instanceof ar?Be?De(Le,ke+1,Be):L:Le instanceof wt?Be&&Le.condition===L?De(Le,ke+1,Be):L:Le instanceof Br?L:Le instanceof lt?De(Le,ke+1,Le.tail_node()!==L):Le instanceof He?De(Le,ke+1,!0):Le instanceof $n||Le instanceof Mt?L:null}function pe(L){var ke=L.value;if(ke instanceof Se&&ke.name!="arguments"){var Be=ke.definition();if(!Be.undeclared)return de=Be}}function bt(L){if(L instanceof st&&L.logical)return!1;if(L instanceof Mt&&L.name instanceof Rn){var ke=L.name.definition();if(!El(L.name,ke.orig))return;var Be=ke.references.length-ke.replaced;if(!Be)return;var Le=ke.orig.length-ke.eliminated;if(Le>1&&!(L.name instanceof wn)||(Be>1?pe(L):!O.exposed(ke)))return N(Se,L.name,L.name)}else{const ut=L instanceof st?L.left:L.expression;return!Gl(ut,to)&&!Gl(ut,$o)&&ut}}function xt(L){return L instanceof st?L.right:L.value}function Ct(L){var ke=new Map;if(L instanceof Wt)return ke;var Be=new Pn(function(Le){for(var ut=Le;ut instanceof Xe;)ut=ut.expression;if(ut instanceof Se){const rn=ke.get(ut.name);(!rn||!rn.modified)&&ke.set(ut.name,{def:ut.definition(),modified:na(O,Be,Le,Le,0)})}});return xt(L).walk(Be),ke}function Mn(L){if(L.name instanceof wn){var ke=O.parent(),Be=O.self().argnames,Le=Be.indexOf(L.name);if(Le<0)ke.args.length=Math.min(ke.args.length,Be.length-1);else{var ut=ke.args;ut[Le]&&(ut[Le]=N(Je,ut[Le],{value:0}))}return!0}var rn=!1;return R[ue].transform(new fr(function(ft,gn,Tn){if(rn)return ft;if(ft===L||ft.body===L)return rn=!0,ft instanceof Mt?(ft.value=ft.name instanceof to?N(en,ft.value):null,ft):Tn?Xt.skip:null},function(ft){if(ft instanceof lt)switch(ft.expressions.length){case 0:return null;case 1:return ft.expressions[0]}}))}function Zt(L){for(;L instanceof Xe;)L=L.expression;return L instanceof Se&&L.definition().scope.get_defun_scope()===o&&!(u&&(le.has(L.name)||Q instanceof Wt||Q instanceof st&&!Q.logical&&Q.operator!="="))}function pn(L){return L instanceof Wt?Uu.has(L.operator):xt(L).has_side_effects(O)}function Ht(){if(we)return!1;if(de)return!0;if(he instanceof Se){var L=he.definition();if(L.references.length-L.replaced==(Q instanceof Mt?1:2))return!0}return!1}function It(L){if(!L.definition)return!0;var ke=L.definition();return ke.orig.length==1&&ke.orig[0]instanceof vi?!1:ke.scope.get_defun_scope()!==o?!0:ke.references.some(Be=>Be.scope.get_defun_scope()!==o)}function ln(L,ke){if(L instanceof st)return ln(L.left,!0);if(L instanceof Wt)return ln(L.expression,!0);if(L instanceof Mt)return L.value&&ln(L.value);if(ke){if(L instanceof $t||L instanceof Sn)return ln(L.expression,!0);if(L instanceof Se)return L.definition().scope.get_defun_scope()!==o}return!1}function Si(L,ke){for(const{def:Be}of ke.values()){const Le=L.find_variable(Be.name);if(Le){if(Le===Be)continue;return!0}}return!1}}function P(R){for(var O=[],U=0;U<R.length;){var X=R[U];X instanceof Ye&&X.body.every(Kl)?(m=!0,P(X.body),R.splice(U,1,...X.body),U+=X.body.length):X instanceof Rt?(m=!0,R.splice(U,1)):X instanceof Qn?O.indexOf(X.value)<0?(U++,O.push(X.value)):(m=!0,R.splice(U,1)):U++}}function A(R,O){var U=O.self(),X=te(R),ue=U instanceof Ke;const K=Math.min(R.length,500);for(var Y=K;--Y>=0;){var G=R[Y],ce=_e(Y),Q=R[ce];if(ue&&!Q&&G instanceof an){if(!G.value){m=!0,R.splice(Y,1);continue}if(G.value instanceof We&&G.value.operator=="void"){m=!0,R[Y]=N(He,G,{body:G.value.expression});continue}}if(G instanceof wt){let J,ne;if(J=kr(G.body),le(J)&&(ne=we(G.body,J))){J.label&&Ho(J.label.thedef.references,J),m=!0,G=G.clone(),G.condition=G.condition.negate(O),G.body=N(Ye,G,{body:Lu(G.alternative).concat(Ae())}),G.alternative=N(Ye,G,{body:ne}),R[Y]=G.transform(O);continue}if(J=kr(G.alternative),le(J)&&(ne=we(G.alternative,J))){J.label&&Ho(J.label.thedef.references,J),m=!0,G=G.clone(),G.body=N(Ye,G.body,{body:Lu(G.body).concat(Ae())}),G.alternative=N(Ye,G.alternative,{body:ne}),R[Y]=G.transform(O);continue}}if(G instanceof wt&&G.body instanceof an){var de=G.body.value;if(!de&&!G.alternative&&(ue&&!Q||Q instanceof an&&!Q.value)){m=!0,R[Y]=N(He,G.condition,{body:G.condition});continue}if(de&&!G.alternative&&Q instanceof an&&Q.value){m=!0,G=G.clone(),G.alternative=Q,R[Y]=G.transform(O),R.splice(ce,1);continue}if(de&&!G.alternative&&(!Q&&ue&&X||Q instanceof an)){m=!0,G=G.clone(),G.alternative=Q||N(an,G,{value:null}),R[Y]=G.transform(O),Q&&R.splice(ce,1);continue}var ye=R[Ue(Y)];if(O.option("sequences")&&ue&&!G.alternative&&ye instanceof wt&&ye.body instanceof an&&_e(ce)==R.length&&Q instanceof He){m=!0,G=G.clone(),G.alternative=N(Ye,Q,{body:[Q,N(an,Q,{value:null})]}),R[Y]=G.transform(O),R.splice(ce,1);continue}}}function te(J){for(var ne=0,ae=J.length;--ae>=0;){var Ee=J[ae];if(Ee instanceof wt&&Ee.body instanceof an&&++ne>1)return!0}return!1}function he(J){return!J||J instanceof We&&J.operator=="void"}function le(J){if(!J)return!1;for(var ne=Y+1,ae=R.length;ne<ae;ne++){var Ee=R[ne];if(Ee instanceof Jr||Ee instanceof Yr)return!1}var me=J instanceof Wr?O.loopcontrol_target(J):null;return J instanceof an&&ue&&he(J.value)||J instanceof eo&&U===Ql(me)||J instanceof xr&&me instanceof Ye&&U===me}function Ae(){var J=R.slice(Y+1);return R.length=Y+1,J.filter(function(ne){return ne instanceof Qt?(R.push(ne),!1):!0})}function we(J,ne){var ae=Lu(J);if(ne===ae[ae.length-1])return ae=ae.slice(0,-1),ne.value&&ae.push(N(He,ne.value,{body:ne.value.expression})),ae}function _e(J){for(var ne=J+1,ae=R.length;ne<ae;ne++){var Ee=R[ne];if(!(Ee instanceof kn&&$(Ee)))break}return ne}function Ue(J){for(var ne=J;--ne>=0;){var ae=R[ne];if(!(ae instanceof kn&&$(ae)))break}return ne}}function F(R,O){for(var U,X=O.self(),ue=0,K=0,Y=R.length;ue<Y;ue++){var G=R[ue];if(G instanceof Wr){var ce=O.loopcontrol_target(G);G instanceof xr&&!(ce instanceof Br)&&Ql(ce)===X||G instanceof eo&&Ql(ce)===X?G.label&&Ho(G.label.thedef.references,G):R[K++]=G}else R[K++]=G;if(kr(G)){U=R.slice(ue+1);break}}R.length=K,m=K!=Y,U&&U.forEach(function(Q){ko(O,Q,R)})}function $(R){return R.definitions.every(O=>!O.value)}function V(R,O){if(R.length<2)return;var U=[],X=0;function ue(){if(U.length){var Q=nt(U[0],U);R[X++]=N(He,Q,{body:Q}),U=[]}}for(var K=0,Y=R.length;K<Y;K++){var G=R[K];if(G instanceof He){U.length>=O.sequences_limit&&ue();var ce=G.body;U.length>0&&(ce=ce.drop_side_effect_free(O)),ce&&Vl(U,ce)}else G instanceof sn&&$(G)||G instanceof Qt||ue(),R[X++]=G}ue(),R.length=X,X!=Y&&(m=!0)}function b(R,O){if(!(R instanceof Ye))return R;for(var U=null,X=0,ue=R.body.length;X<ue;X++){var K=R.body[X];if(K instanceof kn&&$(K))O.push(K);else{if(U||K instanceof Jr||K instanceof Yr)return!1;U=K}}return U}function y(R,O){function U(ye){X--,m=!0;var te=ue.body;return nt(te,[te,ye]).transform(O)}for(var X=0,ue,K=0;K<R.length;K++){var Y=R[K];if(ue&&(Y instanceof ar?Y.value=U(Y.value||N(en,Y).transform(O)):Y instanceof En?Y.init instanceof sn||Nn(ue.body,te=>{if(te instanceof qe)return!0;if(te instanceof oe&&te.operator==="in")return lr})||(Y.init?Y.init=U(Y.init):(Y.init=ue.body,X--,m=!0)):Y instanceof Kn?!(Y.init instanceof Jr)&&!(Y.init instanceof Yr)&&(Y.object=U(Y.object)):Y instanceof wt?Y.condition=U(Y.condition):(Y instanceof $n||Y instanceof pr)&&(Y.expression=U(Y.expression))),O.option("conditionals")&&Y instanceof wt){var G=[],ce=b(Y.body,G),Q=b(Y.alternative,G);if(ce!==!1&&Q!==!1&&G.length>0){var de=G.length;G.push(N(wt,Y,{condition:Y.condition,body:ce||N(Rt,Y.body),alternative:Q})),G.unshift(X,1),[].splice.apply(R,G),K+=de,X+=de+1,ue=null,m=!0;continue}}R[X++]=Y,ue=Y instanceof He?Y:null}R.length=X}function g(R,O){if(R instanceof sn){var U=R.definitions[R.definitions.length-1];if(U.value instanceof Nt){var X;if(O instanceof st&&!O.logical?X=[O]:O instanceof lt&&(X=O.expressions.slice()),!!X){var ue=!1;do{var K=X[0];if(!(K instanceof st)||K.operator!="="||!(K.left instanceof Xe))break;var Y=K.left.expression;if(!(Y instanceof Se)||U.name.name!=Y.name||!K.right.is_constant_expression(n))break;var G=K.left.property;if(G instanceof Te&&(G=G.evaluate(e)),G instanceof Te)break;G=""+G;var ce=e.option("ecma")<2015&&e.has_directive("use strict")?function(de){return de.key!=G&&de.key&&de.key.name!=G}:function(de){return de.key&&de.key.name!=G};if(!U.value.properties.every(ce))break;var Q=U.value.properties.filter(function(de){return de.key===G})[0];Q?Q.value=new lt({start:Q.start,expressions:[Q.value.clone(),K.right.clone()],end:Q.end}):U.value.properties.push(N(Yt,K,{key:G,value:K.right})),X.shift(),ue=!0}while(X.length);return ue&&X}}}}function D(R){for(var O,U=0,X=-1,ue=R.length;U<ue;U++){var K=R[U],Y=R[X];if(K instanceof sn)Y&&Y.TYPE==K.TYPE?(Y.definitions=Y.definitions.concat(K.definitions),m=!0):O&&O.TYPE==K.TYPE&&$(K)?(O.definitions=O.definitions.concat(K.definitions),m=!0):(R[++X]=K,O=K);else if(K instanceof ar)K.value=ce(K.value);else if(K instanceof En){var G=g(Y,K.init);G?(m=!0,K.init=G.length?nt(K.init,G):null,R[++X]=K):Y instanceof kn&&(!K.init||K.init.TYPE==Y.TYPE)?(K.init&&(Y.definitions=Y.definitions.concat(K.init.definitions)),K.init=Y,R[X]=K,m=!0):O instanceof kn&&K.init instanceof kn&&$(K.init)?(O.definitions=O.definitions.concat(K.init.definitions),K.init=null,R[++X]=K,m=!0):R[++X]=K}else if(K instanceof Kn)K.object=ce(K.object);else if(K instanceof wt)K.condition=ce(K.condition);else if(K instanceof He){var G=g(Y,K.body);if(G){if(m=!0,!G.length)continue;K.body=nt(K.body,G)}R[++X]=K}else K instanceof $n||K instanceof pr?K.expression=ce(K.expression):R[++X]=K}R.length=X+1;function ce(Q){R[++X]=K;var de=g(Y,Q);return de?(m=!0,de.length?nt(Q,de):Q instanceof lt?Q.tail_node().left:Q.left):Q}}}function F_(t){for(var e,n=0;e=t.parent(n++);){if(e instanceof Cn)return!1;if(e instanceof St||e instanceof Yt||e instanceof Nt)return!0}return!1}function ef(t,e){for(const n of e.enclosed){if(e.variables.has(n.name))continue;const o=t.find_variable(n.name);if(o){if(o===n)continue;return!0}}return!1}function M_(t,e){if(t.orig.length===1&&e){const n=e.size(),o=t.name.length;return n>o}return!0}function L_(t,e){if(e.in_computed_key())return t;const n=e.parent(),o=t.definition(),u=e.find_scope();let h=t.fixed_value();if(e.top_retain&&o.global&&e.top_retain(o)&&M_(o,h))return o.fixed=!1,o.single_use=!1,t;let m=o.single_use&&!(n instanceof je&&n.is_callee_pure(e)||ir(n,So))&&!(n instanceof On&&h instanceof Ke&&h.name);if(m&&h instanceof Te&&(m=!h.has_side_effects(e)&&!h.may_throw(e)),h instanceof _t&&o.scope!==t.scope)return t;if(m&&(h instanceof Ke||h instanceof _t)){if(ad(h,e))m=!1;else if(o.scope!==t.scope&&(o.escaped==1||Un(h,_s)||F_(e)||!e.option("reduce_funcs")))m=!1;else if(zl(e,o))m=!1;else if((o.scope!==t.scope||o.orig[0]instanceof wn)&&(m=h.is_constant_expression(t.scope),m=="f")){var _=t.scope;do(_ instanceof Qt||Mu(_))&&gr(_,_s);while(_=_.parent_scope)}}if(m&&(h instanceof Ke||h instanceof _t)&&(m=o.scope===t.scope&&!ef(u,h)||n instanceof je&&n.expression===t&&!ef(u,h)&&!(h.name&&h.name.definition().recursive_refs>0)),m&&h){if(h instanceof Hr&&(gr(h,To),h=N(bi,h,h)),h instanceof Qt&&(gr(h,To),h=N(Ft,h,h)),o.recursive_refs>0&&h.name instanceof vi){const x=h.name.definition();let P=h.variables.get(h.name.name),A=P&&P.orig[0];A instanceof ni||(A=N(ni,h.name,h.name),A.scope=h,h.name=A,P=h.def_function(A)),Nn(h,F=>{F instanceof Se&&F.definition()===x&&(F.thedef=P,P.references.push(F))})}return(h instanceof Ke||h instanceof _t)&&h.parent_scope!==u&&(h=h.clone(!0,e.get_toplevel()),u.add_child_scope(h)),h.optimize(e)}if(h){let x;if(h instanceof Bn)!(o.orig[0]instanceof wn)&&o.references.every(P=>o.scope===P.scope)&&(x=h);else{var T=h.evaluate(e);T!==h&&(e.option("unsafe_regexp")||!(T instanceof RegExp))&&(x=tr(T,h))}if(x){const P=t.size(e),A=x.size(e);let F=0;if(e.option("unused")&&!e.exposed(o)&&(F=(P+2+h.size(e))/(o.references.length-o.assignments)),A<=P+F)return x}}return t}function B_(t,e){if(e.in_computed_key())return t;var n=t.expression,o=n,u=t.args.every(K=>!(K instanceof ht));if(e.option("reduce_vars")&&o instanceof Se&&!ir(t,So)){const K=o.fixed_value();if(ad(K,e)||!e.toplevel.funcs&&n.definition().global)return t;o=K}var h=o instanceof Ke,m=h&&o.body[0],_=h&&!o.is_generator&&!o.async,T=_&&e.option("inline")&&!t.is_callee_pure(e);if(T&&m instanceof an){let K=m.value;if(!K||K.is_constant_expression()){K?K=K.clone(!0):K=N(en,t);const Y=t.args.concat(K);return nt(t,Y).optimize(e)}if(o.argnames.length===1&&o.argnames[0]instanceof wn&&t.args.length<2&&!(t.args[0]instanceof ht)&&K instanceof Se&&K.name===o.argnames[0].name){const Y=(t.args[0]||N(en)).optimize(e);let G;return Y instanceof Xe&&(G=e.parent())instanceof je&&G.expression===t?nt(t,[N(Je,t,{value:0}),Y]):Y}}if(T){var x,P,A=-1;let K,Y,G;if(u&&!o.uses_arguments&&!(e.parent()instanceof _t)&&!(o.name&&o instanceof Ft)&&(Y=y(m))&&(n===o||ir(t,wl)||e.option("unused")&&(K=n.definition()).references.length==1&&!zl(e,K)&&o.is_constant_expression(n.scope))&&!ir(t,Rl|So)&&!o.contains_this()&&R()&&(G=e.find_scope())&&!ef(G,o)&&!function(){let Q=0,de;for(;de=e.parent(Q++);){if(de instanceof Dr)return!0;if(de instanceof vn)break}return!1}()&&!(x instanceof _t))return gr(o,To),G.add_child_scope(o),nt(t,ue(Y)).optimize(e)}if(T&&ir(t,wl))return gr(o,To),o=N(o.CTOR===Qt?Ft:o.CTOR,o,o),o=o.clone(!0),o.figure_out_scope({},{parent_scope:e.find_scope(),toplevel:e.get_toplevel()}),N(je,t,{expression:o,args:t.args}).optimize(e);if(_&&e.option("side_effects")&&o.body.every(oo)){var $=t.args.concat(N(en,t));return nt(t,$).optimize(e)}if(e.option("negate_iife")&&e.parent()instanceof He&&Hl(t))return t.negate(e,!0);var V=t.evaluate(e);if(V!==t)return V=tr(V,t).optimize(e),br(e,V,t);return t;function b(K){if(!K)return N(en,t);if(K instanceof an)return K.value?K.value.clone(!0):N(en,t);if(K instanceof He)return N(We,K,{operator:"void",expression:K.body.clone(!0)})}function y(K){var Y=o.body,G=Y.length;if(e.option("inline")<3)return G==1&&b(K);K=null;for(var ce=0;ce<G;ce++){var Q=Y[ce];if(Q instanceof kn){if(K&&!Q.definitions.every(de=>!de.value))return!1}else{if(K)return!1;Q instanceof Rt||(K=Q)}}return b(K)}function g(K,Y){for(var G=0,ce=o.argnames.length;G<ce;G++){var Q=o.argnames[G];if(Q instanceof Dr){if(Un(Q.left,io))continue;return!1}if(Q instanceof Vt)return!1;if(Q instanceof ht){if(Un(Q.expression,io))continue;return!1}if(!Un(Q,io)){if(!Y||K.has(Q.name)||rd.has(Q.name)||x.conflicting_def(Q.name))return!1;P&&P.push(Q.definition())}}return!0}function D(K,Y){for(var G=o.body.length,ce=0;ce<G;ce++){var Q=o.body[ce];if(Q instanceof kn){if(!Y)return!1;for(var de=Q.definitions.length;--de>=0;){var ye=Q.definitions[de].name;if(ye instanceof Vt||K.has(ye.name)||rd.has(ye.name)||x.conflicting_def(ye.name))return!1;P&&P.push(ye.definition())}}}return!0}function R(){var K=new Set;do if(x=e.parent(++A),x.is_block_scope()&&x.block_scope&&x.block_scope.variables.forEach(function(ce){K.add(ce.name)}),x instanceof qr)x.argname&&K.add(x.argname.name);else if(x instanceof Br)P=[];else if(x instanceof Se&&x.fixed_value()instanceof qe)return!1;while(!(x instanceof qe));var Y=!(x instanceof zt)||e.toplevel.vars,G=e.option("inline");return!D(K,G>=3&&Y)||!g(K,G>=2&&Y)?!1:!P||P.length==0||!od(o,P)}function O(K,Y,G,ce){var Q=G.definition();x.variables.has(G.name)||(x.variables.set(G.name,Q),x.enclosed.push(Q),K.push(N(Mt,G,{name:G,value:null})));var ye=N(Se,G,G);Q.references.push(ye),ce&&Y.push(N(st,t,{operator:"=",logical:!1,left:ye,right:ce.clone()}))}function U(K,Y){for(var G=o.argnames.length,ce=t.args.length;--ce>=G;)Y.push(t.args[ce]);for(ce=G;--ce>=0;){var Q=o.argnames[ce],de=t.args[ce];if(Un(Q,io)||!Q.name||x.conflicting_def(Q.name))de&&Y.push(de);else{var ye=N(Bi,Q,Q);Q.definition().orig.push(ye),!de&&P&&(de=N(en,t)),O(K,Y,ye,de)}}K.reverse(),Y.reverse()}function X(K,Y){for(var G=Y.length,ce=0,Q=o.body.length;ce<Q;ce++){var de=o.body[ce];if(de instanceof kn)for(var ye=0,te=de.definitions.length;ye<te;ye++){var he=de.definitions[ye],le=he.name;if(O(K,Y,le,he.value),P&&o.argnames.every(_e=>_e.name!=le.name)){var Ae=o.variables.get(le.name),we=N(Se,le,le);Ae.references.push(we),Y.splice(G++,0,N(st,he,{operator:"=",logical:!1,left:we,right:N(en,le)}))}}}}function ue(K){var Y=[],G=[];if(U(Y,G),X(Y,G),G.push(K),Y.length){const ce=x.body.indexOf(e.parent(A-1))+1;x.body.splice(ce,0,N(kn,o,{definitions:Y}))}return G.map(ce=>ce.clone(!0))}}(function(t){function e(n,o){if(n instanceof Te)return n instanceof Tt||(n=n.clone(!0)),N(n.CTOR,o,n);if(Array.isArray(n))return N(St,o,{elements:n.map(function(m){return e(m,o)})});if(n&&typeof n=="object"){var u=[];for(var h in n)Zn(n,h)&&u.push(N(Yt,o,{key:h,value:e(n[h],o)}));return N(Nt,o,{properties:u})}return tr(n,o)}zt.DEFMETHOD("resolve_defines",function(n){return n.option("global_defs")?(this.figure_out_scope({ie8:n.option("ie8")}),this.transform(new fr(function(o){var u=o._find_defs(n,"");if(u){for(var h=0,m=o,_;(_=this.parent(h++))&&!(!(_ instanceof Xe)||_.expression!==m);)m=_;if(!Do(m,_))return u}}))):this}),t(Te,hr),t(mn,function(n,o){return this.expression._find_defs(n,o)}),t($t,function(n,o){return this.expression._find_defs(n,"."+this.property+o)}),t(Rn,function(){this.global()}),t(Se,function(n,o){if(this.global()){var u=n.option("global_defs"),h=this.name+o;if(Zn(u,h))return e(u[h],this)}}),t(Mi,function(n,o){var u=n.option("global_defs"),h="import.meta"+o;if(Zn(u,h))return e(u[h],this)})})(function(t,e){t.DEFMETHOD("_find_defs",e)});class yd extends Pn{constructor(e,{false_by_default:n=!1,mangle_options:o=!1}){super(),e.defaults!==void 0&&!e.defaults&&(n=!0),this.options=pi(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 u=this.options.global_defs;if(typeof u=="object")for(var h in u)h[0]==="@"&&Zn(u,h)&&(u[h.slice(1)]=ss(u[h],{expression:!0}));this.options.inline===!0&&(this.options.inline=3);var m=this.options.pure_funcs;typeof m=="function"?this.pure_funcs=m:this.pure_funcs=m?function(P){return!m.includes(P.expression.print_to_string())}:Jn;var _=this.options.top_retain;_ instanceof RegExp?this.top_retain=function(P){return _.test(P.name)}:typeof _=="function"?this.top_retain=_:_&&(typeof _=="string"&&(_=_.split(/,/)),this.top_retain=function(P){return _.includes(P.name)}),this.options.module&&(this.directives["use strict"]=!0,this.options.toplevel=!0);var T=this.options.toplevel;this.toplevel=typeof T=="string"?{funcs:/funcs/.test(T),vars:/vars/.test(T)}:{funcs:T,vars:T};var x=this.options.sequences;this.sequences_limit=x==1?800:x|0,this.evaluated_regexps=new Map,this._toplevel=void 0,this._mangle_options=o&&Nu(o)}mangle_options(){var e=this._mangle_options&&this._mangle_options.nth_identifier||ys,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,o=e.orig.length;n<o;n++)if(!this.toplevel[e.orig[n]instanceof vi?"funcs":"vars"])return!0}return!1}in_boolean_context(){if(!this.option("booleans"))return!1;for(var e=this.self(),n=0,o;o=this.parent(n);n++){if(o instanceof He||o instanceof tt&&o.condition===e||o instanceof Ou&&o.condition===e||o instanceof En&&o.condition===e||o instanceof wt&&o.condition===e||o instanceof We&&o.operator=="!"&&o.expression===e)return!0;if(o instanceof oe&&(o.operator=="&&"||o.operator=="||"||o.operator=="??")||o instanceof tt||o.tail_node()===e)e=o;else return!1}}in_32_bit_context(){if(!this.option("evaluate"))return!1;for(var e=this.self(),n=0,o;o=this.parent(n);n++){if(o instanceof oe&&Wl.has(o.operator))return!0;if(o instanceof We)return o.operator==="~";if(o instanceof oe&&(o.operator=="&&"||o.operator=="||"||o.operator=="??")||o instanceof tt&&o.condition!==e||o.tail_node()===e)e=o;else return!1}}in_computed_key(){if(!this.option("evaluate"))return!1;for(var e=this.self(),n=0,o;o=this.parent(n);n++)if(o instanceof un&&o.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,o=1/0,u=!1,h=this.mangle_options(),m=0;m<n;m++)if(this._toplevel.figure_out_scope(h),m===0&&this.option("drop_console")&&(this._toplevel=this._toplevel.drop_console(this.option("drop_console"))),(m>0||this.option("reduce_vars"))&&this._toplevel.reset_opt_flags(this),this._toplevel=this._toplevel.transform(this),n>1){let _=0;if(Nn(this._toplevel,()=>{_++}),_<o)o=_,u=!1;else{if(u)break;u=!0}}return this.option("expression")&&this._toplevel.process_expression(!1),e=this._toplevel,this._toplevel=void 0,e}before(e,n){if(Un(e,To))return e;var o=!1;e instanceof qe&&(e=e.hoist_properties(this),e=e.hoist_declarations(this),o=!0),n(e,this),n(e,this);var u=e.optimize(this);return o&&u instanceof qe&&(u.drop_unused(this),n(u,this)),u===e&&gr(u,To),u}is_lhs(){const e=this.stack[this.stack.length-1],n=this.stack[this.stack.length-2];return Do(e,n)}}function Ze(t,e){t.DEFMETHOD("optimize",function(n){var o=this;if(Un(o,Bl)||n.has_directive("use asm"))return o;var u=e(o,n);return gr(u,Bl),u})}Ze(Te,function(t){return t}),zt.DEFMETHOD("drop_console",function(t){var e=Array.isArray(t);return this.transform(new fr(function(n){if(n.TYPE==="Call"){var o=n.expression;if(o instanceof Xe&&!(e&&t.indexOf(o.property)===-1)){for(var u=o.expression;u.expression;)u=u.expression;if(oi(u)&&u.name=="console")return N(en,n)}}}))}),Te.DEFMETHOD("equivalent_to",function(t){return __(this,t)}),qe.DEFMETHOD("process_expression",function(t,e){var n=this,o=new fr(function(u){if(t&&u instanceof He)return N(an,u,{value:u.body});if(!t&&u instanceof an){if(e){var h=u.value&&u.value.drop_side_effect_free(e,!0);return h?N(He,u,{body:h}):N(Rt,u)}return N(He,u,{body:u.value||N(We,u,{operator:"void",expression:N(Je,u,{value:0})})})}if(u instanceof _t||u instanceof Ke&&u!==n)return u;if(u instanceof vn){var m=u.body.length-1;m>=0&&(u.body[m]=u.body[m].transform(o))}else u instanceof wt?(u.body=u.body.transform(o),u.alternative&&(u.alternative=u.alternative.transform(o))):u instanceof pr&&(u.body=u.body.transform(o));return u});n.transform(o)}),zt.DEFMETHOD("reset_opt_flags",function(t){const e=this,n=t.option("reduce_vars"),o=new Pn(function(u,h){if(ea(u,v_),n)return t.top_retain&&u instanceof Qt&&o.parent()===e&&gr(u,Ul),u.reduce_vars(o,h,t)});o.safe_ids=Object.create(null),o.in_loop=null,o.loop_ids=new Map,o.defs_to_safe_ids=new Map,e.walk(o)}),pt.DEFMETHOD("fixed_value",function(){var t=this.thedef.fixed;return!t||t instanceof Te?t:t()}),Se.DEFMETHOD("is_immutable",function(){var t=this.definition().orig;return t.length==1&&t[0]instanceof ni});function tf(t,e){for(var n,o=0;(n=t.parent(o++))&&!(n instanceof qe);)if(n instanceof qr&&n.argname){n=n.argname.definition().scope;break}return n.find_variable(e)}var U_=Ot("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");Se.DEFMETHOD("is_declared",function(t){return!this.definition().undeclared||t.option("unsafe")&&U_.has(this.name)});var V_=new Set(["use asm","use strict"]);Ze(Qn,function(t,e){return e.option("directives")&&(!V_.has(t.value)||e.has_directive(t.value)!==t)?N(Rt,t):t}),Ze(Ni,function(t,e){return e.option("drop_debugger")?N(Rt,t):t}),Ze(Yn,function(t,e){return t.body instanceof xr&&e.loopcontrol_target(t.body)===t.body?N(Rt,t):t.label.references.length==0?t.body:t}),Ze(vn,function(t,e){return Vu(t.body,e),t});function j_(t){return!(t instanceof Jr||t instanceof Yr||t instanceof _t)}Ze(Ye,function(t,e){switch(Vu(t.body,e),t.body.length){case 1:if(!e.has_directive("use strict")&&e.parent()instanceof wt&&j_(t.body[0])||Kl(t.body[0]))return t.body[0];break;case 0:return N(Rt,t)}return t});function nf(t,e){return Vu(t.body,e),e.option("side_effects")&&t.body.length==1&&t.body[0]===e.has_directive("use strict")&&(t.body.length=0),t}Ze(Ke,nf),qe.DEFMETHOD("hoist_declarations",function(t){var e=this;if(t.has_directive("use asm"))return e;var n=t.option("hoist_funs"),o=t.option("hoist_vars");if(n||o){var u=[],h=[],m=new Map,_=0,T=0;Nn(e,y=>{if(y instanceof qe&&y!==e)return!0;if(y instanceof kn)return++T,!0}),o=o&&T>1;var x=new fr(function(g){if(g!==e){if(g instanceof Qn)return u.push(g),N(Rt,g);if(n&&g instanceof Qt&&!(x.parent()instanceof On)&&x.parent()===e)return h.push(g),N(Rt,g);if(o&&g instanceof kn&&!g.definitions.some(U=>U.name instanceof Vt)){g.definitions.forEach(function(U){m.set(U.name.name,U),++_});var D=g.to_assignments(t),R=x.parent();if(R instanceof Kn&&R.init===g){if(D==null){var O=g.definitions[0].name;return N(Se,O,O)}return D}return R instanceof En&&R.init===g?D:D?N(He,g,{body:D}):N(Rt,g)}if(g instanceof qe)return g}});if(e=e.transform(x),_>0){var P=[];const y=e instanceof Ke,g=y?e.args_as_names():null;if(m.forEach((D,R)=>{y&&g.some(O=>O.name===D.name.name)?m.delete(R):(D=D.clone(),D.value=null,P.push(D),m.set(R,D))}),P.length>0){for(var A=0;A<e.body.length;){if(e.body[A]instanceof He){var F=e.body[A].body,$,V;if(F instanceof st&&F.operator=="="&&($=F.left)instanceof pt&&m.has($.name)){var b=m.get($.name);if(b.value)break;b.value=F.right,Ho(P,b),P.push(b),e.body.splice(A,1);continue}if(F instanceof lt&&(V=F.expressions[0])instanceof st&&V.operator=="="&&($=V.left)instanceof pt&&m.has($.name)){var b=m.get($.name);if(b.value)break;b.value=V.right,Ho(P,b),P.push(b),e.body[A].body=nt(F,F.expressions.slice(1));continue}}if(e.body[A]instanceof Rt){e.body.splice(A,1);continue}if(e.body[A]instanceof Ye){e.body.splice(A,1,...e.body[A].body);continue}break}P=N(kn,e,{definitions:P}),h.push(P)}}e.body=u.concat(h,e.body)}return e}),qe.DEFMETHOD("hoist_properties",function(t){var e=this;if(!t.option("hoist_props")||t.has_directive("use asm"))return e;var n=e instanceof zt&&t.top_retain||vt,o=new Map,u=new fr(function(h,m){if(h instanceof Mt){const _=h.name;let T,x;if(_.scope===e&&(T=_.definition()).escaped!=1&&!T.assignments&&!T.direct_access&&!T.single_use&&!t.exposed(T)&&!n(T)&&(x=_.fixed_value())===h.value&&x instanceof Nt&&!x.properties.some(P=>P instanceof ht||P.computed_key())){m(h,this);const P=new Map,A=[];return x.properties.forEach(({key:F,value:$})=>{const V=u.find_scope(),b=e.create_symbol(_.CTOR,{source:_,scope:V,conflict_scopes:new Set([V,..._.definition().references.map(y=>y.scope)]),tentative_name:_.name+"_"+F});P.set(String(F),b.definition()),A.push(N(Mt,h,{name:b,value:$}))}),o.set(T.id,P),Xt.splice(A)}}else if(h instanceof Xe&&h.expression instanceof Se){const _=o.get(h.expression.definition().id);if(_){const T=_.get(String(td(h.property))),x=N(Se,h,{name:T.name,scope:h.expression.scope,thedef:T});return x.reference({}),x}}});return e.transform(u)}),Ze(He,function(t,e){if(e.option("side_effects")){var n=t.body,o=n.drop_side_effect_free(e,!0);if(!o)return N(Rt,t);if(o!==n)return N(He,t,{body:o})}return t}),Ze(Pi,function(t,e){return e.option("loops")?N(En,t,t).optimize(e):t}),Ze(di,function(t,e){if(!e.option("loops"))return t;var n=t.condition.tail_node().evaluate(e);if(!(n instanceof Te)){if(n)return N(En,t,{body:N(Ye,t.body,{body:[t.body,N(He,t.condition,{body:t.condition})]})}).optimize(e);if(!jl(t,e.parent()))return N(Ye,t.body,{body:[t.body,N(He,t.condition,{body:t.condition})]}).optimize(e)}return t});function md(t,e){var n=t.body instanceof Ye?t.body.body[0]:t.body;if(e.option("dead_code")&&u(n)){var o=[];return t.init instanceof Cn?o.push(t.init):t.init&&o.push(N(He,t.init,{body:t.init})),t.condition&&o.push(N(He,t.condition,{body:t.condition})),ko(e,t.body,o),N(Ye,t,{body:o})}return n instanceof wt&&(u(n.body)?(t.condition?t.condition=N(oe,t.condition,{left:t.condition,operator:"&&",right:n.condition.negate(e)}):t.condition=n.condition.negate(e),h(n.alternative)):u(n.alternative)&&(t.condition?t.condition=N(oe,t.condition,{left:t.condition,operator:"&&",right:n.condition}):t.condition=n.condition,h(n.body))),t;function u(m){return m instanceof xr&&e.loopcontrol_target(m)===e.self()}function h(m){m=Lu(m),t.body instanceof Ye?(t.body=t.body.clone(),t.body.body=m.concat(t.body.body.slice(1)),t.body=t.body.transform(e)):t.body=N(Ye,t.body,{body:m}).transform(e),t=md(t,e)}}Ze(En,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 Te)){if(n)t.condition=null;else if(!e.option("dead_code")){var o=t.condition;t.condition=tr(n,t.condition),t.condition=Gi(t.condition.transform(e),o)}}if(e.option("dead_code")&&(n instanceof Te&&(n=t.condition.tail_node().evaluate(e)),!n)){var u=[];return ko(e,t.body,u),t.init instanceof Cn?u.push(t.init):t.init&&u.push(N(He,t.init,{body:t.init})),u.push(N(He,t.condition,{body:t.condition})),N(Ye,t,{body:u}).optimize(e)}}return md(t,e)}),Ze(wt,function(t,e){if(oo(t.alternative)&&(t.alternative=null),!e.option("conditionals"))return t;var n=t.condition.evaluate(e);if(!e.option("dead_code")&&!(n instanceof Te)){var o=t.condition;t.condition=tr(n,o),t.condition=Gi(t.condition.transform(e),o)}if(e.option("dead_code"))if(n instanceof Te&&(n=t.condition.tail_node().evaluate(e)),n){if(!(n instanceof Te)){var u=[];return u.push(N(He,t.condition,{body:t.condition})),u.push(t.body),t.alternative&&ko(e,t.alternative,u),N(Ye,t,{body:u}).optimize(e)}}else{var u=[];return ko(e,t.body,u),u.push(N(He,t.condition,{body:t.condition})),t.alternative&&u.push(t.alternative),N(Ye,t,{body:u}).optimize(e)}var h=t.condition.negate(e),m=t.condition.size(),_=h.size(),T=_<m;if(t.alternative&&T){T=!1,t.condition=h;var x=t.body;t.body=t.alternative||N(Rt,t),t.alternative=x}if(oo(t.body)&&oo(t.alternative))return N(He,t.condition,{body:t.condition.clone()}).optimize(e);if(t.body instanceof He&&t.alternative instanceof He)return N(He,t,{body:N(tt,t,{condition:t.condition,consequent:t.body.body,alternative:t.alternative.body})}).optimize(e);if(oo(t.alternative)&&t.body instanceof He)return m===_&&!T&&t.condition instanceof oe&&t.condition.operator=="||"&&(T=!0),T?N(He,t,{body:N(oe,t,{operator:"||",left:h,right:t.body.body})}).optimize(e):N(He,t,{body:N(oe,t,{operator:"&&",left:t.condition,right:t.body.body})}).optimize(e);if(t.body instanceof Rt&&t.alternative instanceof He)return N(He,t,{body:N(oe,t,{operator:"||",left:t.condition,right:t.alternative.body})}).optimize(e);if(t.body instanceof ar&&t.alternative instanceof ar&&t.body.TYPE==t.alternative.TYPE)return N(t.body.CTOR,t,{value:N(tt,t,{condition:t.condition,consequent:t.body.value||N(en,t.body),alternative:t.alternative.value||N(en,t.alternative)}).transform(e)}).optimize(e);if(t.body instanceof wt&&!t.body.alternative&&!t.alternative&&(t=N(wt,t,{condition:N(oe,t.condition,{operator:"&&",left:t.condition,right:t.body.condition}),body:t.body.body,alternative:null})),kr(t.body)&&t.alternative){var P=t.alternative;return t.alternative=null,N(Ye,t,{body:[t,P]}).optimize(e)}if(kr(t.alternative)){var u=t.body;return t.body=t.alternative,t.condition=T?h:t.condition.negate(e),t.alternative=null,N(Ye,t,{body:[t,u]}).optimize(e)}return t}),Ze($n,function(t,e){if(!e.option("switches"))return t;var n,o=t.expression.evaluate(e);if(!(o instanceof Te)){var u=t.expression;t.expression=tr(o,u),t.expression=Gi(t.expression.transform(e),u)}if(!e.option("dead_code"))return t;o instanceof Te&&(o=t.expression.tail_node().evaluate(e));for(var h=[],m=[],_,T,x=0,P=t.body.length;x<P&&!T;x++){if(n=t.body[x],n instanceof bo)_?V(n,m[m.length-1]):_=n;else if(!(o instanceof Te)){var A=n.expression.evaluate(e);if(!(A instanceof Te)&&A!==o){V(n,m[m.length-1]);continue}if(A instanceof Te&&(A=n.expression.tail_node().evaluate(e)),A===o&&(T=n,_)){var F=m.indexOf(_);m.splice(F,1),V(_,m[F-1]),_=null}}m.push(n)}for(;x<P;)V(t.body[x++],m[m.length-1]);t.body=m;let $=_||T;if(_=null,T=null,m.every((O,U)=>(O===$||O.expression instanceof Tt)&&(O.body.length===0||kr(O)||m.length-1===U)))for(let O=0;O<m.length;O++){const U=m[O];for(let X=O+1;X<m.length;X++){const ue=m[X];if(ue.body.length===0)continue;const K=X===m.length-1,Y=b(ue,U,!1);if(Y||K&&b(ue,U,!0)){!Y&&K&&ue.body.push(N(xr));let G=X-1,ce=0;for(;G>O&&R(m[G--]);)ce++;const Q=m.splice(X-ce,1+ce);m.splice(O+1,0,...Q),O+=Q.length}}}for(let O=0;O<m.length;O++){let U=m[O];if(U.body.length!==0&&kr(U))for(let X=O+1;X<m.length;O++,X++){let ue=m[X];if(ue.body.length!==0){if(b(ue,U,!1)||X===m.length-1&&b(ue,U,!0)){U.body=[],U=ue;continue}break}}}{let O=m.length-1;for(;O>=0;O--){let U=m[O].body;if(D(U[U.length-1],e)&&U.pop(),!R(m[O]))break}if(O++,!$||m.indexOf($)>=O)for(let U=m.length-1;U>=O;U--){let X=m[U];if(X===$)$=null,m.pop();else if(!X.expression.has_side_effects(e))m.pop();else break}}e:if($){let O=m.indexOf($),U=O;for(;U<m.length-1&&R(m[U]);U++);if(U<m.length-1)break e;let X=m.length-1;for(;X>=0;X--){let ue=m[X];if(ue!==$&&ue.expression.has_side_effects(e))break}if(U>X){let ue=O-1;for(;ue>=0&&R(m[ue]);ue--);let K=Math.max(X,ue)+1,Y=O;X>O?(Y=X,m[X].body=m[U].body):$.body=m[U].body,m.splice(Y+1,U-Y),m.splice(K,O-K)}}e:if($){let O=m.findIndex(K=>!R(K)),U;if(O===m.length-1){let K=m[O];if(g(t))break e;U=N(Ye,K,{body:K.body}),K.body=[]}else if(O!==-1)break e;if(!m.find(K=>K!==$&&K.expression.has_side_effects(e)))return N(Ye,t,{body:h.concat(y(t.expression),$.expression?y($.expression):[],U||[])}).optimize(e);const ue=m.indexOf($);if(m.splice(ue,1),$=null,U)return N(Ye,t,{body:h.concat(t,U)}).optimize(e)}if(m.length>0&&(m[0].body=h.concat(m[0].body)),m.length==0)return N(Ye,t,{body:h.concat(y(t.expression))}).optimize(e);if(m.length==1&&!g(t)){let O=m[0];return N(wt,t,{condition:N(oe,t,{operator:"===",left:t.expression,right:O.expression}),body:N(Ye,O,{body:O.body}),alternative:null}).optimize(e)}if(m.length===2&&$&&!g(t)){let O=m[0]===$?m[1]:m[0],U=$.expression&&y($.expression);if(kr(m[0])){let Y=m[0];return D(Y.body[Y.body.length-1],e)&&Y.body.pop(),N(wt,t,{condition:N(oe,t,{operator:"===",left:t.expression,right:O.expression}),body:N(Ye,O,{body:O.body}),alternative:N(Ye,$,{body:[].concat(U||[],$.body)})}).optimize(e)}let X="===",ue=N(Ye,O,{body:O.body}),K=N(Ye,$,{body:[].concat(U||[],$.body)});if(m[0]===$){X="!==";let Y=K;K=ue,ue=Y}return N(Ye,t,{body:[N(wt,t,{condition:N(oe,t,{operator:X,left:t.expression,right:O.expression}),body:ue,alternative:null})].concat(K)}).optimize(e)}return t;function V(O,U){U&&!kr(U)?U.body=U.body.concat(O.body):ko(e,O,h)}function b(O,U,X){let ue=O.body,K=U.body;if(X&&(ue=ue.concat(N(xr))),ue.length!==K.length)return!1;let Y=N(Ye,O,{body:ue}),G=N(Ye,U,{body:K});return Y.equivalent_to(G)}function y(O){return N(He,O,{body:O})}function g(O){let U=!1,X=new Pn(ue=>{if(U||ue instanceof Ke||ue instanceof He)return!0;if(!D(ue,X))return;let K=X.parent();K instanceof Fi&&K.body[K.body.length-1]===ue||(U=!0)});return O.walk(X),U}function D(O,U){return O instanceof xr&&U.loopcontrol_target(O)===t}function R(O){return!kr(O)&&!N(Ye,O,{body:O.body}).has_side_effects(e)}}),Ze(mr,function(t,e){if(t.bcatch&&t.bfinally&&t.bfinally.body.every(oo)&&(t.bfinally=null),e.option("dead_code")&&t.body.body.every(oo)){var n=[];return t.bcatch&&ko(e,t.bcatch,n),t.bfinally&&n.push(...t.bfinally.body),N(Ye,t,{body:n}).optimize(e)}return t}),sn.DEFMETHOD("to_assignments",function(t){var e=t.option("reduce_vars"),n=[];for(const u of this.definitions){if(u.value){var o=N(Se,u.name,u.name);n.push(N(st,u,{operator:"=",logical:!1,left:o,right:u.value})),e&&(o.definition().fixed=!1)}const h=u.name.definition();h.eliminated++,h.replaced--}return n.length==0?null:nt(this,n)}),Ze(sn,function(t){return t.definitions.length==0?N(Rt,t):t}),Ze(Mt,function(t,e){return t.name instanceof $o&&t.value!=null&&ai(t.value,e)&&(t.value=null),t}),Ze(Or,function(t){return t}),Ze(je,function(t,e){var n=t.expression,o=n;gd(t.args);var u=t.args.every(Q=>!(Q instanceof ht));e.option("reduce_vars")&&o instanceof Se&&(o=o.fixed_value());var h=o instanceof Ke;if(h&&o.pinned())return t;if(e.option("unused")&&u&&h&&!o.uses_arguments){for(var m=0,_=0,T=0,x=t.args.length;T<x;T++){if(o.argnames[T]instanceof ht){if(Un(o.argnames[T].expression,io))for(;T<x;){var P=t.args[T++].drop_side_effect_free(e);P&&(t.args[m++]=P)}else for(;T<x;)t.args[m++]=t.args[T++];_=m;break}var A=T>=o.argnames.length;if(A||Un(o.argnames[T],io)){var P=t.args[T].drop_side_effect_free(e);if(P)t.args[m++]=P;else if(!A){t.args[m++]=N(Je,t.args[T],{value:0});continue}}else t.args[m++]=t.args[T];_=m}t.args.length=_}if(e.option("unsafe")&&!n.contains_optional()){if(n instanceof $t&&n.start.value==="Array"&&n.property==="from"&&t.args.length===1){const[Q]=t.args;if(Q instanceof St)return N(St,Q,{elements:Q.elements}).optimize(e)}if(oi(n))switch(n.name){case"Array":if(t.args.length!=1)return N(St,t,{elements:t.args}).optimize(e);if(t.args[0]instanceof Je&&t.args[0].value<=11){const Q=[];for(let de=0;de<t.args[0].value;de++)Q.push(new Cr);return new St({elements:Q})}break;case"Object":if(t.args.length==0)return N(Nt,t,{properties:[]});break;case"String":if(t.args.length==0)return N(dt,t,{value:""});if(t.args.length<=1)return N(oe,t,{left:t.args[0],operator:"+",right:N(dt,t,{value:""})}).optimize(e);break;case"Number":if(t.args.length==0)return N(Je,t,{value:0});if(t.args.length==1&&e.option("unsafe_math"))return N(We,t,{expression:t.args[0],operator:"+"}).optimize(e);break;case"Symbol":t.args.length==1&&t.args[0]instanceof dt&&e.option("unsafe_symbols")&&(t.args.length=0);break;case"Boolean":if(t.args.length==0)return N(ji,t);if(t.args.length==1)return N(We,t,{expression:N(We,t,{expression:t.args[0],operator:"!"}),operator:"!"}).optimize(e);break;case"RegExp":var F=[];if(t.args.length>=1&&t.args.length<=2&&t.args.every(Q=>{var de=Q.evaluate(e);return F.push(de),Q!==de})&&Fp(F[0])){let[Q,de]=F;Q=du(new RegExp(Q).source);const ye=N(ur,t,{value:{source:Q,flags:de}});if(ye._eval(e)!==ye)return ye}break}else if(n instanceof $t)switch(n.property){case"toString":if(t.args.length==0&&!n.expression.may_throw_on_access(e))return N(oe,t,{left:N(dt,t,{value:""}),operator:"+",right:n.expression}).optimize(e);break;case"join":if(n.expression instanceof St)e:{var $;if(t.args.length>0&&($=t.args[0].evaluate(e),$===t.args[0]))break e;for(var V=[],b=[],T=0,x=n.expression.elements.length;T<x;T++){var y=n.expression.elements[T];if(y instanceof ht)break e;var g=y.evaluate(e);g!==y?b.push(g):(b.length>0&&(V.push(N(dt,t,{value:b.join($)})),b.length=0),V.push(y))}if(b.length>0&&V.push(N(dt,t,{value:b.join($)})),V.length==0)return N(dt,t,{value:""});if(V.length==1)return V[0].is_string(e)?V[0]:N(oe,V[0],{operator:"+",left:N(dt,t,{value:""}),right:V[0]});if($==""){var D;return V[0].is_string(e)||V[1].is_string(e)?D=V.shift():D=N(dt,t,{value:""}),V.reduce(function(de,ye){return N(oe,ye,{operator:"+",left:de,right:ye})},D).optimize(e)}var P=t.clone();return P.expression=P.expression.clone(),P.expression.expression=P.expression.expression.clone(),P.expression.expression.elements=V,br(e,t,P)}break;case"charAt":if(n.expression.is_string(e)){var R=t.args[0],O=R?R.evaluate(e):0;if(O!==R)return N(Sn,n,{expression:n.expression,property:tr(O|0,R||n)}).optimize(e)}break;case"apply":if(t.args.length==2&&t.args[1]instanceof St){var U=t.args[1].elements.slice();return U.unshift(t.args[0]),N(je,t,{expression:N($t,n,{expression:n.expression,optional:!1,property:"call"}),args:U}).optimize(e)}break;case"call":var X=n.expression;if(X instanceof Se&&(X=X.fixed_value()),X instanceof Ke&&!X.contains_this())return(t.args.length?nt(this,[t.args[0],N(je,t,{expression:n.expression,args:t.args.slice(1)})]):N(je,t,{expression:n.expression,args:[]})).optimize(e);break}}if(e.option("unsafe_Function")&&oi(n)&&n.name=="Function"){if(t.args.length==0)return N(Ft,t,{argnames:[],body:[]}).optimize(e);if(t.args.every(Q=>Q instanceof dt))try{var ce="n(function("+t.args.slice(0,-1).map(function(Q){return Q.value}).join(",")+"){"+t.args[t.args.length-1].value+"})",ue=ss(ce),K=e.mangle_options();ue.figure_out_scope(K);var Y=new yd(e.options,{mangle_options:e._mangle_options});ue=ue.transform(Y),ue.figure_out_scope(K),ue.compute_char_frequency(K),ue.mangle_names(K);var G;Nn(ue,Q=>{if(Mu(Q))return G=Q,lr});var ce=Nl();return Ye.prototype._codegen.call(G,G,ce),t.args=[N(dt,t,{value:G.argnames.map(function(Q){return Q.print_to_string()}).join(",")}),N(dt,t.args[t.args.length-1],{value:ce.get().replace(/^{|}$/g,"")})],t}catch(Q){if(!(Q instanceof Kp))throw Q}}return B_(t,e)}),Te.DEFMETHOD("contains_optional",function(){return this instanceof Xe||this instanceof je||this instanceof mn?this.optional?!0:this.expression.contains_optional():!1}),Ze(er,function(t,e){return e.option("unsafe")&&oi(t.expression)&&["Object","RegExp","Function","Error","Array"].includes(t.expression.name)?N(je,t,t).transform(e):t}),Ze(lt,function(t,e){if(!e.option("side_effects"))return t;var n=[];u();var o=n.length-1;if(h(),o==0)return t=Ao(e.parent(),e.self(),n[0]),t instanceof lt||(t=t.optimize(e)),t;return t.expressions=n,t;function u(){var m=ii(e),_=t.expressions.length-1;t.expressions.forEach(function(T,x){x<_&&(T=T.drop_side_effect_free(e,m)),T&&(Vl(n,T),m=!1)})}function h(){for(;o>0&&ai(n[o],e);)o--;o<n.length-1&&(n[o]=N(We,t,{operator:"void",expression:n[o]}),n.length=o+1)}}),Wt.DEFMETHOD("lift_sequences",function(t){if(t.option("sequences")&&this.expression instanceof lt){var e=this.expression.expressions.slice(),n=this.clone();return n.expression=e.pop(),e.push(n),nt(this,e).optimize(t)}return this}),Ze(Li,function(t,e){return t.lift_sequences(e)}),Ze(We,function(t,e){var n=t.expression;if(t.operator=="delete"&&!(n instanceof Se||n instanceof Xe||n instanceof mn||id(n)))return nt(t,[n,N(_r,t)]).optimize(e);var o=t.lift_sequences(e);if(o!==t)return o;if(e.option("side_effects")&&t.operator=="void")return n=n.drop_side_effect_free(e),n?(t.expression=n,t):N(en,t).optimize(e);if(e.in_boolean_context())switch(t.operator){case"!":if(n instanceof We&&n.operator=="!")return n.expression;n instanceof oe&&(t=br(e,t,n.negate(e,ii(e))));break;case"typeof":return(n instanceof Se?N(_r,t):nt(t,[n,N(_r,t)])).optimize(e)}if(t.operator=="-"&&n instanceof ro&&(n=n.transform(e)),n instanceof oe&&(t.operator=="+"||t.operator=="-")&&(n.operator=="*"||n.operator=="/"||n.operator=="%"))return N(oe,t,{operator:n.operator,left:N(We,n.left,{operator:t.operator,expression:n.left}),right:n.right});if(e.option("evaluate")){if(t.operator==="~"&&t.expression instanceof We&&t.expression.operator==="~"&&(e.in_32_bit_context()||t.expression.expression.is_32_bit_integer()))return t.expression.expression;if(t.operator==="~"&&n instanceof oe&&n.operator==="^")return n.left instanceof We&&n.left.operator==="~"?n.left=n.left.bitwise_negate(!0):n.right=n.right.bitwise_negate(!0),n}if(t.operator!="-"||!(n instanceof Je||n instanceof ro||n instanceof ri)){var u=t.evaluate(e);if(u!==t)return u=tr(u,t).optimize(e),br(e,u,t)}return t}),oe.DEFMETHOD("lift_sequences",function(t){if(t.option("sequences")){if(this.left instanceof lt){var e=this.left.expressions.slice(),n=this.clone();return n.left=e.pop(),e.push(n),nt(this,e).optimize(t)}if(this.right instanceof lt&&!this.left.has_side_effects(t)){for(var o=this.operator=="="&&this.left instanceof Se,e=this.right.expressions,u=e.length-1,h=0;h<u&&!(!o&&e[h].has_side_effects(t));h++);if(h==u){e=e.slice();var n=this.clone();return n.right=e.pop(),e.push(n),nt(this,e).optimize(t)}else if(h>0){var n=this.clone();return n.right=nt(this.right,e.slice(h)),e=e.slice(0,h),e.push(n),nt(this,e).optimize(t)}}}return this});var H_=Ot("== === != !== * & | ^");function G_(t){return t instanceof St||t instanceof Ke||t instanceof Nt||t instanceof _t}Ze(oe,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 o(X){if(n()){X&&(t.operator=X);var ue=t.left;t.left=t.right,t.right=ue}}if(e.option("lhs_constants")&&H_.has(t.operator)&&t.right.is_constant()&&!t.left.is_constant()&&(t.left instanceof oe&&Ar[t.left.operator]>=Ar[t.operator]||o()),t=t.lift_sequences(e),e.option("comparisons"))switch(t.operator){case"===":case"!==":var u=!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(!u&&ai(t.left,e))t.left=N(cr,t.left);else if(!u&&ai(t.right,e))t.right=N(cr,t.right);else if(e.option("typeofs")&&t.left instanceof dt&&t.left.value=="undefined"&&t.right instanceof We&&t.right.operator=="typeof"){var h=t.right.expression;(h instanceof Se?h.is_declared(e):!(h instanceof Xe&&e.option("ie8")))&&(t.right=h,t.left=N(en,t.left).optimize(e),t.operator.length==2&&(t.operator+="="))}else if(e.option("typeofs")&&t.left instanceof We&&t.left.operator=="typeof"&&t.right instanceof dt&&t.right.value=="undefined"){var h=t.left.expression;(h instanceof Se?h.is_declared(e):!(h instanceof Xe&&e.option("ie8")))&&(t.left=h,t.right=N(en,t.right).optimize(e),t.operator.length==2&&(t.operator+="="))}else{if(t.left instanceof Se&&t.right instanceof Se&&t.left.definition()===t.right.definition()&&G_(t.left.fixed_value()))return N(t.operator[0]=="="?_r:ji,t);if(t.left.is_32_bit_integer()&&t.right.is_32_bit_integer()){const X=ce=>N(We,ce,{operator:"!",expression:ce}),ue=(ce,Q)=>Q?e.in_boolean_context()?ce:X(X(ce)):X(ce);if(t.left instanceof Je&&t.left.value===0)return ue(t.right,t.operator[0]==="!");if(t.right instanceof Je&&t.right.value===0)return ue(t.left,t.operator[0]==="!");let K,Y,G;if((K=t.left instanceof oe?t.left:t.right instanceof oe?t.right:null)&&(G=K===t.left?t.right:t.left)&&K.operator==="&"&&G instanceof Je&&G.is_32_bit_integer()&&(Y=K.left.equivalent_to(G)?K.right:K.right.equivalent_to(G)?K.left:null)){let ce=ue(N(oe,t,{operator:"&",left:G,right:N(We,t,{operator:"~",expression:Y})}),t.operator[0]==="!");return br(e,ce,t)}}}break;case"&&":case"||":var m=t.left;if(m.operator==t.operator&&(m=m.right),m instanceof oe&&m.operator==(t.operator=="&&"?"!==":"===")&&t.right instanceof oe&&m.operator==t.right.operator&&(ai(m.left,e)&&t.right.left instanceof cr||m.left instanceof cr&&ai(t.right.left,e))&&!m.right.has_side_effects(e)&&m.right.equivalent_to(t.right.right)){var _=N(oe,t,{operator:m.operator.slice(0,-1),left:N(cr,t),right:m.right});return m!==t.left&&(_=N(oe,t,{operator:t.operator,left:t.left.left,right:_})),_}break}if(t.operator=="+"&&e.in_boolean_context()){var T=t.left.evaluate(e),x=t.right.evaluate(e);if(T&&typeof T=="string")return nt(t,[t.right,N(_r,t)]).optimize(e);if(x&&typeof x=="string")return nt(t,[t.left,N(_r,t)]).optimize(e)}if(e.option("comparisons")&&t.is_boolean()){if(!(e.parent()instanceof oe)||e.parent()instanceof st){var P=N(We,t,{operator:"!",expression:t.negate(e,ii(e))});t=br(e,t,P)}if(e.option("unsafe_comps"))switch(t.operator){case"<":o(">");break;case"<=":o(">=");break}}if(t.operator=="+"){if(t.right instanceof dt&&t.right.getValue()==""&&t.left.is_string(e))return t.left;if(t.left instanceof dt&&t.left.getValue()==""&&t.right.is_string(e))return t.right;if(t.left instanceof oe&&t.left.operator=="+"&&t.left.left instanceof dt&&t.left.left.getValue()==""&&t.right.is_string(e))return t.left=t.left.right,t}if(e.option("evaluate")){switch(t.operator){case"&&":var T=Un(t.left,Fl)?!0:Un(t.left,Ml)?!1:t.left.evaluate(e);if(T){if(!(T instanceof Te))return nt(t,[t.left,t.right]).optimize(e)}else return Ao(e.parent(),e.self(),t.left).optimize(e);var x=t.right.evaluate(e);if(x){if(!(x instanceof Te)){var A=e.parent();if(A.operator=="&&"&&A.left===e.self()||e.in_boolean_context())return t.left.optimize(e)}}else{if(e.in_boolean_context())return nt(t,[t.left,N(ji,t)]).optimize(e);gr(t,Ml)}if(t.left.operator=="||"){var F=t.left.right.evaluate(e);if(!F)return N(tt,t,{condition:t.left.left,consequent:t.right,alternative:t.left.right}).optimize(e)}break;case"||":var T=Un(t.left,Fl)?!0:Un(t.left,Ml)?!1:t.left.evaluate(e);if(T){if(!(T instanceof Te))return Ao(e.parent(),e.self(),t.left).optimize(e)}else return nt(t,[t.left,t.right]).optimize(e);var x=t.right.evaluate(e);if(x){if(!(x instanceof Te)){if(e.in_boolean_context())return nt(t,[t.left,N(_r,t)]).optimize(e);gr(t,Fl)}}else{var A=e.parent();if(A.operator=="||"&&A.left===e.self()||e.in_boolean_context())return t.left.optimize(e)}if(t.left.operator=="&&"){var F=t.left.right.evaluate(e);if(F&&!(F instanceof Te))return N(tt,t,{condition:t.left.left,consequent:t.left.right,alternative:t.right}).optimize(e)}break;case"??":if(si(t.left,e))return t.right;var T=t.left.evaluate(e);if(!(T instanceof Te))return T==null?t.right:t.left;if(e.in_boolean_context()){const K=t.right.evaluate(e);if(!(K instanceof Te)&&!K)return t.left}}var $=!0;switch(t.operator){case"+":if(t.right instanceof Tt&&t.left instanceof oe&&t.left.operator=="+"&&t.left.is_string(e)){var V=N(oe,t,{operator:"+",left:t.left.right,right:t.right}),b=V.optimize(e);V!==b&&(t=N(oe,t,{operator:"+",left:t.left.left,right:b}))}if(t.left instanceof oe&&t.left.operator=="+"&&t.left.is_string(e)&&t.right instanceof oe&&t.right.operator=="+"&&t.right.is_string(e)){var V=N(oe,t,{operator:"+",left:t.left.right,right:t.right.left}),y=V.optimize(e);V!==y&&(t=N(oe,t,{operator:"+",left:N(oe,t.left,{operator:"+",left:t.left.left,right:y}),right:t.right.right}))}if(t.right instanceof We&&t.right.operator=="-"&&t.left.is_number(e)){t=N(oe,t,{operator:"-",left:t.left,right:t.right.expression});break}if(t.left instanceof We&&t.left.operator=="-"&&n()&&t.right.is_number(e)){t=N(oe,t,{operator:"-",left:t.right,right:t.left.expression});break}if(t.left instanceof zn){var g=t.left,b=t.right.evaluate(e);if(b!=t.right)return g.segments[g.segments.length-1].value+=String(b),g}if(t.right instanceof zn){var b=t.right,g=t.left.evaluate(e);if(g!=t.left)return b.segments[0].value=String(g)+b.segments[0].value,b}if(t.left instanceof zn&&t.right instanceof zn){var g=t.left,D=g.segments,b=t.right;D[D.length-1].value+=b.segments[0].value;for(var R=1;R<b.segments.length;R++)D.push(b.segments[R]);return g}case"*":$=e.option("unsafe_math");case"&":case"|":case"^":if(t.left.is_number(e)&&t.right.is_number(e)&&n()&&!(t.left instanceof oe&&t.left.operator!=t.operator&&Ar[t.left.operator]>=Ar[t.operator])){var O=N(oe,t,{operator:t.operator,left:t.right,right:t.left});t.right instanceof Tt&&!(t.left instanceof Tt)?t=br(e,O,t):t=br(e,t,O)}$&&t.is_number(e)&&(t.right instanceof oe&&t.right.operator==t.operator&&(t=N(oe,t,{operator:t.operator,left:N(oe,t.left,{operator:t.operator,left:t.left,right:t.right.left,start:t.left.start,end:t.right.left.end}),right:t.right.right})),t.right instanceof Tt&&t.left instanceof oe&&t.left.operator==t.operator&&(t.left.left instanceof Tt?t=N(oe,t,{operator:t.operator,left:N(oe,t.left,{operator:t.operator,left:t.left.left,right:t.right,start:t.left.left.start,end:t.right.end}),right:t.left.right}):t.left.right instanceof Tt&&(t=N(oe,t,{operator:t.operator,left:N(oe,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 oe&&t.left.operator==t.operator&&t.left.right instanceof Tt&&t.right instanceof oe&&t.right.operator==t.operator&&t.right.left instanceof Tt&&(t=N(oe,t,{operator:t.operator,left:N(oe,t.left,{operator:t.operator,left:N(oe,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(Wl.has(t.operator)){let X,ue,K,Y,G=t.left;if(t.operator==="&"&&t.right instanceof oe&&t.right.operator==="|"&&typeof(ue=t.left.evaluate(e))=="number"&&(typeof(X=t.right.right.evaluate(e))=="number"?(K=t.right.left,Y=t.right.right):typeof(X=t.right.left.evaluate(e))=="number"&&(K=t.right.right,Y=t.right.left),K&&Y))if(!(X&ue))t=N(oe,t,{operator:t.operator,left:G,right:K});else{const le=N(oe,t,{operator:"|",left:N(oe,t,{operator:"&",left:K,right:G}),right:tr(X&ue,Y)});t=br(e,t,le)}if(t.left.equivalent_to(t.right)&&!t.left.has_side_effects(e)){if(t.operator==="^")return N(Je,t,{value:0});(t.operator==="|"||t.operator==="&")&&(t.left=N(Je,t,{value:0}),t.operator="|")}(t.operator==="<<"||t.operator===">>")&&t.right instanceof Je&&t.right.value===0&&(t.operator="|");const Q=t.right instanceof Je&&t.right.value===0?t.right:t.left instanceof Je&&t.left.value===0?t.left:null,de=Q&&(Q===t.right?t.left:t.right);if(Q&&(t.operator==="|"||t.operator==="^")&&(de.is_32_bit_integer()||e.in_32_bit_context()))return de;if(Q&&t.operator==="&"&&!de.has_side_effects(e))return Q;const ye=le=>le instanceof Je&&le.value===-1||le instanceof We&&(le.operator==="-"&&le.expression instanceof Je&&le.expression.value===1||le.operator==="~"&&le.expression instanceof Je&&le.expression.value===0),te=ye(t.right)?t.right:ye(t.left)?t.left:null,he=te&&(te===t.right?t.left:t.right);switch(t.operator){case"|":if(te&&!he.has_side_effects(e))return te;break;case"&":if(te&&(he.is_32_bit_integer()||e.in_32_bit_context()))return he;break;case"^":if(te)return he.bitwise_negate(e.in_32_bit_context());t.left instanceof We&&t.left.operator==="~"&&t.right instanceof We&&t.right.operator==="~"&&(t=N(oe,t,{operator:"^",left:t.left.expression,right:t.right.expression}));break}}}if(t.right instanceof oe&&t.right.operator==t.operator&&(Oo.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=N(oe,t.left,{operator:t.operator,left:t.left.transform(e),right:t.right.left.transform(e)}),t.right=t.right.right.transform(e),t.transform(e);var U=t.evaluate(e);return U!==t?(U=tr(U,t).optimize(e),br(e,U,t)):t}),Ze(Eo,function(t){return t}),Ze(Se,function(t,e){if(!e.option("ie8")&&oi(t)&&!e.find_parent(pr))switch(t.name){case"undefined":return N(en,t).optimize(e);case"NaN":return N(hs,t).optimize(e);case"Infinity":return N(ro,t).optimize(e)}return e.option("reduce_vars")&&!e.is_lhs()?L_(t,e):t});function ju(t,e){return t instanceof Se||t.TYPE===e.TYPE}Ze(en,function(t,e){if(e.option("unsafe_undefined")){var n=tf(e,"undefined");if(n){var o=N(Se,t,{name:"undefined",scope:n.scope,thedef:n});return gr(o,Ll),o}}var u=e.is_lhs();return u&&ju(u,t)?t:N(We,t,{operator:"void",expression:N(Je,t,{value:0})})}),Ze(ro,function(t,e){var n=e.is_lhs();return n&&ju(n,t)||e.option("keep_infinity")&&!(n&&!ju(n,t))&&!tf(e,"Infinity")?t:N(oe,t,{operator:"/",left:N(Je,t,{value:1}),right:N(Je,t,{value:0})})}),Ze(hs,function(t,e){var n=e.is_lhs();return n&&!ju(n,t)||tf(e,"NaN")?N(oe,t,{operator:"/",left:N(Je,t,{value:0}),right:N(Je,t,{value:0})}):t});const K_=Ot("+ - / * % >> << >>> | ^ &"),z_=Ot("* | ^ &");Ze(st,function(t,e){if(t.logical)return t.lift_sequences(e);var n;if(t.operator==="="&&t.left instanceof Se&&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 Se&&(n=t.left.definition()).scope===e.find_parent(Ke)){var o=0,u,h=t;do if(u=h,h=e.parent(o++),h instanceof ar){if(m(o,h)||od(n.scope,[n]))break;return t.operator=="="?t.right:(n.fixed=!1,N(oe,t,{operator:t.operator.slice(0,-1),left:t.left,right:t.right}).optimize(e))}while(h instanceof oe&&h.right===u||h instanceof lt&&h.tail_node()===u)}return t=t.lift_sequences(e),t.operator=="="&&t.left instanceof Se&&t.right instanceof oe&&(t.right.left instanceof Se&&t.right.left.name==t.left.name&&K_.has(t.right.operator)?(t.operator=t.right.operator+"=",t.right=t.right.right):t.right.right instanceof Se&&t.right.right.name==t.left.name&&z_.has(t.right.operator)&&!t.right.left.has_side_effects(e)&&(t.operator=t.right.operator+"=",t.right=t.right.left)),t;function m(_,T){function x(){const F=t.right;t.right=N(cr,F);const $=T.may_throw(e);return t.right=F,$}for(var P=t.left.definition().scope.get_defun_scope(),A;(A=e.parent(_++))!==P;)if(A instanceof mr&&(A.bfinally||A.bcatch&&x()))return!0}}),Ze(Dr,function(t,e){if(!e.option("evaluate"))return t;var n=t.right.evaluate(e);let o,u;return n===void 0?(!((o=e.parent())instanceof Ke)||e.option("keep_fargs")===!1||(u=e.parent(1)).TYPE==="Call"&&u.expression===o)&&(t=t.left):n!==t.right&&(n=tr(n,t.right),t.right=Gi(n,t.right)),t});function $_(t,e,n){if(e.may_throw(n))return!1;let o;if(t instanceof oe&&t.operator==="=="&&((o=si(t.left,n)&&t.left)||(o=si(t.right,n)&&t.right))&&(o===t.left?t.right:t.left).equivalent_to(e))return!0;if(t instanceof oe&&t.operator==="||"){let u,h;const m=_=>{if(!(_ instanceof oe&&(_.operator==="==="||_.operator==="==")))return!1;let T=0,x;return _.left instanceof cr&&(T++,u=_,x=_.right),_.right instanceof cr&&(T++,u=_,x=_.left),ai(_.left,n)&&(T++,h=_,x=_.right),ai(_.right,n)&&(T++,h=_,x=_.left),!(T!==1||!x.equivalent_to(e))};if(!m(t.left)||!m(t.right))return!1;if(u&&h&&u!==h)return!0}return!1}Ze(tt,function(t,e){if(!e.option("conditionals"))return t;if(t.condition instanceof lt){var n=t.condition.expressions.slice();return t.condition=n.pop(),n.push(t),nt(t,n)}var o=t.condition.evaluate(e);if(o!==t.condition)return o?Ao(e.parent(),e.self(),t.consequent):Ao(e.parent(),e.self(),t.alternative);var u=o.negate(e,ii(e));br(e,o,u)===u&&(t=N(tt,t,{condition:u,consequent:t.alternative,alternative:t.consequent}));var h=t.condition,m=t.consequent,_=t.alternative;if(h instanceof Se&&m instanceof Se&&h.definition()===m.definition())return N(oe,t,{operator:"||",left:h,right:_});if(m instanceof st&&_ instanceof st&&m.operator===_.operator&&m.logical===_.logical&&m.left.equivalent_to(_.left)&&(!t.condition.has_side_effects(e)||m.operator=="="&&!m.left.has_side_effects(e)))return N(st,t,{operator:m.operator,left:m.left,logical:m.logical,right:N(tt,t,{condition:t.condition,consequent:m.right,alternative:_.right})});var T;if(m instanceof je&&_.TYPE===m.TYPE&&m.args.length>0&&m.args.length==_.args.length&&m.expression.equivalent_to(_.expression)&&!t.condition.has_side_effects(e)&&!m.expression.has_side_effects(e)&&typeof(T=V())=="number"){var x=m.clone();return x.args[T]=N(tt,t,{condition:t.condition,consequent:m.args[T],alternative:_.args[T]}),x}if(_ instanceof tt&&m.equivalent_to(_.consequent))return N(tt,t,{condition:N(oe,t,{operator:"||",left:h,right:_.condition}),consequent:m,alternative:_.alternative}).optimize(e);if(e.option("ecma")>=2020&&$_(h,_,e))return N(oe,t,{operator:"??",left:_,right:m}).optimize(e);if(_ instanceof lt&&m.equivalent_to(_.expressions[_.expressions.length-1]))return nt(t,[N(oe,t,{operator:"||",left:h,right:nt(t,_.expressions.slice(0,-1))}),m]).optimize(e);if(_ instanceof oe&&_.operator=="&&"&&m.equivalent_to(_.right))return N(oe,t,{operator:"&&",left:N(oe,t,{operator:"||",left:h,right:_.left}),right:m}).optimize(e);if(m instanceof tt&&m.alternative.equivalent_to(_))return N(tt,t,{condition:N(oe,t,{left:t.condition,operator:"&&",right:m.condition}),consequent:m.consequent,alternative:_});if(m.equivalent_to(_))return nt(t,[t.condition,m]).optimize(e);if(m instanceof oe&&m.operator=="||"&&m.right.equivalent_to(_))return N(oe,t,{operator:"||",left:N(oe,t,{operator:"&&",left:t.condition,right:m.left}),right:_}).optimize(e);const P=e.in_boolean_context();if(F(t.consequent))return $(t.alternative)?A(t.condition):N(oe,t,{operator:"||",left:A(t.condition),right:t.alternative});if($(t.consequent))return F(t.alternative)?A(t.condition.negate(e)):N(oe,t,{operator:"&&",left:A(t.condition.negate(e)),right:t.alternative});if(F(t.alternative))return N(oe,t,{operator:"||",left:A(t.condition.negate(e)),right:t.consequent});if($(t.alternative))return N(oe,t,{operator:"&&",left:A(t.condition),right:t.consequent});return t;function A(b){return b.is_boolean()?b:N(We,b,{operator:"!",expression:b.negate(e)})}function F(b){return b instanceof _r||P&&b instanceof Tt&&b.getValue()||b instanceof We&&b.operator=="!"&&b.expression instanceof Tt&&!b.expression.getValue()}function $(b){return b instanceof ji||P&&b instanceof Tt&&!b.getValue()||b instanceof We&&b.operator=="!"&&b.expression instanceof Tt&&b.expression.getValue()}function V(){for(var b=m.args,y=_.args,g=0,D=b.length;g<D;g++){if(b[g]instanceof ht)return;if(!b[g].equivalent_to(y[g])){if(y[g]instanceof ht)return;for(var R=g+1;R<D;R++)if(b[R]instanceof ht||!b[R].equivalent_to(y[R]))return;return g}}}}),Ze(Ru,function(t,e){if(e.in_boolean_context())return N(Je,t,{value:+t.value});var n=e.parent();return e.option("booleans_as_integers")?(n instanceof oe&&(n.operator=="==="||n.operator=="!==")&&(n.operator=n.operator.replace(/=$/,"")),N(Je,t,{value:+t.value})):e.option("booleans")?n instanceof oe&&(n.operator=="=="||n.operator=="!=")?N(Je,t,{value:+t.value}):N(We,t,{operator:"!",expression:N(Je,t,{value:1-t.value})}):t});function _d(t,e){return t instanceof Se&&(t=t.fixed_value()),t?!(t instanceof Ke||t instanceof _t)||!(t instanceof Ke&&t.contains_this())?!0:e.parent()instanceof er:!1}Xe.DEFMETHOD("flatten_object",function(t,e){if(e.option("properties")&&t!=="__proto__"){var n=e.option("unsafe_arrows")&&e.option("ecma")>=2015,o=this.expression;if(o instanceof Nt)for(var u=o.properties,h=u.length;--h>=0;){var m=u[h];if(""+(m instanceof Fn?m.key.name:m.key)==t)return!u.every(T=>(T instanceof Yt||n&&T instanceof Fn&&!T.is_generator)&&!T.computed_key())||!_d(m.value,e)?void 0:N(Sn,this,{expression:N(St,o,{elements:u.map(function(T){var x=T.value;x instanceof Ii&&(x=N(Ft,x,x));var P=T.key;return P instanceof Te&&!(P instanceof Ln)?nt(T,[P,x]):x})}),property:N(Je,this,{value:h})})}}}),Ze(Sn,function(t,e){var n=t.expression,o=t.property;if(e.option("properties")){var u=o.evaluate(e);if(u!==o){if(typeof u=="string")if(u=="undefined")u=void 0;else{var h=parseFloat(u);h.toString()==u&&(u=h)}o=t.property=Gi(o,tr(u,o).transform(e));var m=""+u;if(Su(m)&&m.length<=o.size()+1)return N($t,t,{expression:n,optional:t.optional,property:m,quote:o.quote}).optimize(e)}}var _;e:if(e.option("arguments")&&n instanceof Se&&n.name=="arguments"&&n.definition().orig.length==1&&(_=n.scope)instanceof Ke&&_.uses_arguments&&!(_ instanceof qt)&&o instanceof Je){for(var T=o.getValue(),x=new Set,P=_.argnames,A=0;A<P.length;A++){if(!(P[A]instanceof wn))break e;var F=P[A].name;if(x.has(F))break e;x.add(F)}var $=_.argnames[T];if($&&e.has_directive("use strict")){var V=$.definition();(!e.option("reduce_vars")||V.assignments||V.orig.length>1)&&($=null)}else if(!$&&!e.option("keep_fargs")&&T<_.argnames.length+5)for(;T>=_.argnames.length;)$=_.create_symbol(wn,{source:_,scope:_,tentative_name:"argument_"+_.argnames.length}),_.argnames.push($);if($){var b=N(Se,t,$);return b.reference({}),ea($,io),b}}if(e.is_lhs())return t;if(u!==o){var y=t.flatten_object(m,e);y&&(n=t.expression=y.expression,o=t.property=y.property)}if(e.option("properties")&&e.option("side_effects")&&o instanceof Je&&n instanceof St){var T=o.getValue(),g=n.elements,D=g[T];e:if(_d(D,e)){for(var R=!0,O=[],U=g.length;--U>T;){var h=g[U].drop_side_effect_free(e);h&&(O.unshift(h),R&&h.has_side_effects(e)&&(R=!1))}if(D instanceof ht)break e;for(D=D instanceof Cr?N(en,D):D,R||O.unshift(D);--U>=0;){var h=g[U];if(h instanceof ht)break e;h=h.drop_side_effect_free(e),h?O.unshift(h):T--}return R?(O.push(D),nt(t,O).optimize(e)):N(Sn,t,{expression:N(St,n,{elements:O}),property:N(Je,o,{value:T})})}}var X=t.evaluate(e);return X!==t?(X=tr(X,t).optimize(e),br(e,X,t)):t}),Ze(mn,function(t,e){if(si(t.expression,e)){let n=e.parent();return n instanceof We&&n.operator==="delete"?tr(0,t):N(en,t)}return t}),Ze($t,function(t,e){const n=e.parent();if(e.is_lhs())return t;if(e.option("unsafe_proto")&&t.expression instanceof $t&&t.expression.property=="prototype"){var o=t.expression.expression;if(oi(o))switch(o.name){case"Array":t.expression=N(St,t.expression,{elements:[]});break;case"Function":t.expression=N(Ft,t.expression,{argnames:[],body:[]});break;case"Number":t.expression=N(Je,t.expression,{value:0});break;case"Object":t.expression=N(Nt,t.expression,{properties:[]});break;case"RegExp":t.expression=N(ur,t.expression,{value:{source:"t",flags:""}});break;case"String":t.expression=N(dt,t.expression,{value:""});break}}if(!(n instanceof je)||!ir(n,So)){const h=t.flatten_object(t.property,e);if(h)return h.optimize(e)}if(t.expression instanceof Xe&&n instanceof Xe)return t;let u=t.evaluate(e);return u!==t?(u=tr(u,t).optimize(e),br(e,u,t)):t});function rf(t,e){return e.in_boolean_context()?br(e,t,nt(t,[t,N(_r,t)]).optimize(e)):t}function gd(t){for(var e=0;e<t.length;e++){var n=t[e];if(n instanceof ht){var o=n.expression;o instanceof St&&!o.elements.some(u=>u instanceof Cr)&&(t.splice(e,1,...o.elements),e--)}}}Ze(St,function(t,e){var n=rf(t,e);return n!==t?n:(gd(t.elements),t)});function W_(t){for(var e=0;e<t.length;e++){var n=t[e];if(n instanceof ht){const o=n.expression;o instanceof Nt&&o.properties.every(u=>u instanceof Yt)?(t.splice(e,1,...o.properties),e--):(o instanceof Tt||o.is_constant())&&!(o instanceof dt)&&(t.splice(e,1),e--)}}}Ze(Nt,function(t,e){var n=rf(t,e);return n!==t?n:(W_(t.properties),t)}),Ze(ur,rf),Ze(an,function(t,e){return t.value&&ai(t.value,e)&&(t.value=null),t}),Ze(qt,nf),Ze(Ft,function(t,e){return t=nf(t,e),e.option("unsafe_arrows")&&e.option("ecma")>=2015&&!t.name&&!t.is_generator&&!t.uses_arguments&&!t.pinned()&&!Nn(t,o=>{if(o instanceof Bn)return lr})?N(qt,t,t).optimize(e):t}),Ze(_t,function(t){for(let e=0;e<t.properties.length;e++){const n=t.properties[e];n instanceof Wn&&n.body.length==0&&(t.properties.splice(e,1),e--)}return t}),Ze(Wn,function(t,e){return Vu(t.body,e),t}),Ze(yr,function(t,e){return t.expression&&!t.is_star&&ai(t.expression,e)&&(t.expression=null),t}),Ze(zn,function(t,e){if(!e.option("evaluate")||e.parent()instanceof Ur)return t;for(var n=[],o=0;o<t.segments.length;o++){var u=t.segments[o];if(u instanceof Te){var h=u.evaluate(e);if(h!==u&&(h+"").length<=u.size()+3){n[n.length-1].value=n[n.length-1].value+h+t.segments[++o].value;continue}if(u instanceof zn){var m=u.segments;n[n.length-1].value+=m[0].value;for(var _=1;_<m.length;_++)u=m[_],n.push(u);continue}}n.push(u)}if(t.segments=n,n.length==1)return N(dt,t,n[0]);if(n.length===3&&n[1]instanceof Te&&(n[1].is_string(e)||n[1].is_number(e)||si(n[1],e)||e.option("unsafe"))){if(n[2].value==="")return N(oe,t,{operator:"+",left:N(dt,t,{value:n[0].value}),right:n[1]});if(n[0].value==="")return N(oe,t,{operator:"+",left:n[1],right:N(dt,t,{value:n[2].value})})}return t}),Ze(Ur,function(t){return t});function of(t,e){if(!e.option("computed_props")||!(t.key instanceof Tt))return t;if(t.key instanceof dt||t.key instanceof Je){const n=t.key.value.toString();if(n==="__proto__"||n=="constructor"&&e.parent()instanceof _t)return t;t instanceof Yt?(t.quote=t.key.quote,t.key=n):t instanceof sr?(t.quote=t.key.quote,t.key=N(Vi,t.key,{name:n})):(t.quote=t.key.quote,t.key=N(Ln,t.key,{name:n}))}return t}Ze(un,of),Ze(Fn,function(t,e){if(of(t,e),e.option("arrows")&&e.parent()instanceof Nt&&!t.is_generator&&!t.value.uses_arguments&&!t.value.pinned()&&t.value.body.length==1&&t.value.body[0]instanceof an&&t.value.body[0].value&&!t.value.contains_this()){var n=N(qt,t.value,t.value);return n.async=t.async,n.is_generator=t.is_generator,N(Yt,t,{key:t.key instanceof Ln?t.key.name:t.key,value:n,quote:t.quote})}return t}),Ze(Yt,function(t,e){of(t,e);var n=e.option("unsafe_methods");if(n&&e.option("ecma")>=2015&&(!(n instanceof RegExp)||n.test(t.key+""))){var o=t.key,u=t.value,h=u instanceof qt&&Array.isArray(u.body)&&!u.contains_this();if((h||u instanceof Ft)&&!u.name)return N(Fn,t,{async:u.async,is_generator:u.is_generator,key:o instanceof Te?o:N(Ln,t,{name:o}),value:N(Ii,u,u),quote:t.quote})}return t}),Ze(Vt,function(t,e){if(e.option("pure_getters")==!0&&e.option("unused")&&!t.is_array&&Array.isArray(t.names)&&!h(e)&&!(t.names[t.names.length-1]instanceof ht)){for(var n=[],o=0;o<t.names.length;o++){var u=t.names[o];u instanceof Yt&&typeof u.key=="string"&&u.value instanceof Rn&&!m(e,u.value.definition())||n.push(u)}n.length!=t.names.length&&(t.names=n)}return t;function h(_){for(var T=[/^VarDef$/,/^(Const|Let|Var)$/,/^Export$/],x=0,P=0,A=T.length;x<A;P++){var F=_.parent(P);if(!F)return!1;if(!(x===0&&F.TYPE=="Destructuring")){if(!T[x].test(F.TYPE))return!1;x++}}return!0}function m(_,T){return T.references.length?!0:T.global?_.toplevel.vars?_.top_retain?_.top_retain(T):!1:!0:!1}});var af={exports:{}};(function(t,e){(function(n,o){o(e)})(Op,function(n){const h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",m=new Uint8Array(64),_=new Uint8Array(128);for(let B=0;B<h.length;B++){const H=h.charCodeAt(B);m[B]=H,_[H]=B}const T=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(B){return Buffer.from(B.buffer,B.byteOffset,B.byteLength).toString()}}:{decode(B){let H="";for(let q=0;q<B.length;q++)H+=String.fromCharCode(B[q]);return H}};function x(B){const H=new Int32Array(5),q=[];let se=0;do{const be=P(B,se),ge=[];let ve=!0,ze=0;H[0]=0;for(let Me=se;Me<be;Me++){let ot;Me=A(B,Me,H,0);const Ut=H[0];Ut<ze&&(ve=!1),ze=Ut,F(B,Me,be)?(Me=A(B,Me,H,1),Me=A(B,Me,H,2),Me=A(B,Me,H,3),F(B,Me,be)?(Me=A(B,Me,H,4),ot=[Ut,H[1],H[2],H[3],H[4]]):ot=[Ut,H[1],H[2],H[3]]):ot=[Ut],ge.push(ot)}ve||$(ge),q.push(ge),se=be+1}while(se<=B.length);return q}function P(B,H){const q=B.indexOf(";",H);return q===-1?B.length:q}function A(B,H,q,se){let be=0,ge=0,ve=0;do{const Me=B.charCodeAt(H++);ve=_[Me],be|=(ve&31)<<ge,ge+=5}while(ve&32);const ze=be&1;return be>>>=1,ze&&(be=-2147483648|-be),q[se]+=be,H}function F(B,H,q){return H>=q?!1:B.charCodeAt(H)!==44}function $(B){B.sort(V)}function V(B,H){return B[0]-H[0]}function b(B){const H=new Int32Array(5),q=1024*16,se=q-36,be=new Uint8Array(q),ge=be.subarray(0,se);let ve=0,ze="";for(let Me=0;Me<B.length;Me++){const ot=B[Me];if(Me>0&&(ve===q&&(ze+=T.decode(be),ve=0),be[ve++]=59),ot.length!==0){H[0]=0;for(let Ut=0;Ut<ot.length;Ut++){const ct=ot[Ut];ve>se&&(ze+=T.decode(ge),be.copyWithin(0,se,ve),ve-=se),Ut>0&&(be[ve++]=44),ve=y(be,ve,H,ct,0),ct.length!==1&&(ve=y(be,ve,H,ct,1),ve=y(be,ve,H,ct,2),ve=y(be,ve,H,ct,3),ct.length!==4&&(ve=y(be,ve,H,ct,4)))}}}return ze+T.decode(be.subarray(0,ve))}function y(B,H,q,se,be){const ge=se[be];let ve=ge-q[be];q[be]=ge,ve=ve<0?-ve<<1|1:ve<<1;do{let ze=ve&31;ve>>>=5,ve>0&&(ze|=32),B[H++]=m[ze]}while(ve>0);return H}const g=/^[\w+.-]+:\/\//,D=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,R=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function O(B){return g.test(B)}function U(B){return B.startsWith("//")}function X(B){return B.startsWith("/")}function ue(B){return B.startsWith("file:")}function K(B){return/^[.?#]/.test(B)}function Y(B){const H=D.exec(B);return ce(H[1],H[2]||"",H[3],H[4]||"",H[5]||"/",H[6]||"",H[7]||"")}function G(B){const H=R.exec(B),q=H[2];return ce("file:","",H[1]||"","",X(q)?q:"/"+q,H[3]||"",H[4]||"")}function ce(B,H,q,se,be,ge,ve){return{scheme:B,user:H,host:q,port:se,path:be,query:ge,hash:ve,type:7}}function Q(B){if(U(B)){const q=Y("http:"+B);return q.scheme="",q.type=6,q}if(X(B)){const q=Y("http://foo.com"+B);return q.scheme="",q.host="",q.type=5,q}if(ue(B))return G(B);if(O(B))return Y(B);const H=Y("http://foo.com/"+B);return H.scheme="",H.host="",H.type=B?B.startsWith("?")?3:B.startsWith("#")?2:4:1,H}function de(B){if(B.endsWith("/.."))return B;const H=B.lastIndexOf("/");return B.slice(0,H+1)}function ye(B,H){te(H,H.type),B.path==="/"?B.path=H.path:B.path=de(H.path)+B.path}function te(B,H){const q=H<=4,se=B.path.split("/");let be=1,ge=0,ve=!1;for(let Me=1;Me<se.length;Me++){const ot=se[Me];if(!ot){ve=!0;continue}if(ve=!1,ot!=="."){if(ot===".."){ge?(ve=!0,ge--,be--):q&&(se[be++]=ot);continue}se[be++]=ot,ge++}}let ze="";for(let Me=1;Me<be;Me++)ze+="/"+se[Me];(!ze||ve&&!ze.endsWith("/.."))&&(ze+="/"),B.path=ze}function he(B,H){if(!B&&!H)return"";const q=Q(B);let se=q.type;if(H&&se!==7){const ge=Q(H),ve=ge.type;switch(se){case 1:q.hash=ge.hash;case 2:q.query=ge.query;case 3:case 4:ye(q,ge);case 5:q.user=ge.user,q.host=ge.host,q.port=ge.port;case 6:q.scheme=ge.scheme}ve>se&&(se=ve)}te(q,se);const be=q.query+q.hash;switch(se){case 2:case 3:return be;case 4:{const ge=q.path.slice(1);return ge?K(H||B)&&!K(ge)?"./"+ge+be:ge+be:be||"."}case 5:return q.path+be;default:return q.scheme+"//"+q.user+q.host+q.port+q.path+be}}function le(B,H){return H&&!H.endsWith("/")&&(H+="/"),he(B,H)}function Ae(B){if(!B)return"";const H=B.lastIndexOf("/");return B.slice(0,H+1)}const we=0,_e=1,Ue=2,J=3,ne=4,ae=1,Ee=2;function me(B,H){const q=At(B,0);if(q===B.length)return B;H||(B=B.slice());for(let se=q;se<B.length;se=At(B,se+1))B[se]=Et(B[se],H);return B}function At(B,H){for(let q=H;q<B.length;q++)if(!jt(B[q]))return q;return B.length}function jt(B){for(let H=1;H<B.length;H++)if(B[H][we]<B[H-1][we])return!1;return!0}function Et(B,H){return H||(B=B.slice()),B.sort(Lt)}function Lt(B,H){return B[we]-H[we]}let gt=!1;function Dt(B,H,q,se){for(;q<=se;){const be=q+(se-q>>1),ge=B[be][we]-H;if(ge===0)return gt=!0,be;ge<0?q=be+1:se=be-1}return gt=!1,q-1}function Jt(B,H,q){for(let se=q+1;se<B.length&&B[se][we]===H;q=se++);return q}function ie(B,H,q){for(let se=q-1;se>=0&&B[se][we]===H;q=se--);return q}function De(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function pe(B,H,q,se){const{lastKey:be,lastNeedle:ge,lastIndex:ve}=q;let ze=0,Me=B.length-1;if(se===be){if(H===ge)return gt=ve!==-1&&B[ve][we]===H,ve;H>=ge?ze=ve===-1?0:ve:Me=ve}return q.lastKey=se,q.lastNeedle=H,q.lastIndex=Dt(B,H,ze,Me)}function bt(B,H){const q=H.map(Ct);for(let se=0;se<B.length;se++){const be=B[se];for(let ge=0;ge<be.length;ge++){const ve=be[ge];if(ve.length===1)continue;const ze=ve[_e],Me=ve[Ue],ot=ve[J],Ut=q[ze],ct=Ut[Me]||(Ut[Me]=[]),Kt=H[ze];let An=Jt(ct,ot,pe(ct,ot,Kt,Me));Kt.lastIndex=++An,xt(ct,An,[ot,se,ve[we]])}}return q}function xt(B,H,q){for(let se=B.length;se>H;se--)B[se]=B[se-1];B[H]=q}function Ct(){return{__proto__:null}}const Mn=function(B,H){const q=Zt(B);if(!("sections"in q))return new Le(q,H);const se=[],be=[],ge=[],ve=[],ze=[];pn(q,H,se,be,ge,ve,ze,0,0,1/0,1/0);const Me={version:3,file:q.file,names:ve,sources:be,sourcesContent:ge,mappings:se,ignoreList:ze};return Ti(Me)};function Zt(B){return typeof B=="string"?JSON.parse(B):B}function pn(B,H,q,se,be,ge,ve,ze,Me,ot,Ut){const{sections:ct}=B;for(let Kt=0;Kt<ct.length;Kt++){const{map:An,offset:jn}=ct[Kt];let Xn=ot,Nr=Ut;if(Kt+1<ct.length){const $r=ct[Kt+1].offset;Xn=Math.min(ot,ze+$r.line),Xn===ot?Nr=Math.min(Ut,Me+$r.column):Xn<ot&&(Nr=Me+$r.column)}Ht(An,H,q,se,be,ge,ve,ze+jn.line,Me+jn.column,Xn,Nr)}}function Ht(B,H,q,se,be,ge,ve,ze,Me,ot,Ut){const ct=Zt(B);if("sections"in ct)return pn(...arguments);const Kt=new Le(ct,H),An=se.length,jn=ge.length,Xn=ft(Kt),{resolvedSources:Nr,sourcesContent:$r,ignoreList:vs}=Kt;if(It(se,Nr),It(ge,Kt.names),$r)It(be,$r);else for(let qn=0;qn<Nr.length;qn++)be.push(null);if(vs)for(let qn=0;qn<vs.length;qn++)ve.push(vs[qn]+An);for(let qn=0;qn<Xn.length;qn++){const Xi=ze+qn;if(Xi>ot)return;const aa=ln(q,Xi),Gu=qn===0?Me:0,sa=Xn[qn];for(let qi=0;qi<sa.length;qi++){const Yi=sa[qi],Pr=Gu+Yi[we];if(Xi===ot&&Pr>=Ut)return;if(Yi.length===1){aa.push([Pr]);continue}const co=An+Yi[_e],Ku=Yi[Ue],Fo=Yi[J];aa.push(Yi.length===4?[Pr,co,Ku,Fo]:[Pr,co,Ku,Fo,jn+Yi[ne]])}}}function It(B,H){for(let q=0;q<H.length;q++)B.push(H[q])}function ln(B,H){for(let q=B.length;q<=H;q++)B[q]=[];return B[H]}const Si="`line` must be greater than 0 (lines start at line 1)",L="`column` must be greater than or equal to 0 (columns start at column 0)",ke=-1,Be=1;class Le{constructor(H,q){const se=typeof H=="string";if(!se&&H._decodedMemo)return H;const be=se?JSON.parse(H):H,{version:ge,file:ve,names:ze,sourceRoot:Me,sources:ot,sourcesContent:Ut}=be;this.version=ge,this.file=ve,this.names=ze||[],this.sourceRoot=Me,this.sources=ot,this.sourcesContent=Ut,this.ignoreList=be.ignoreList||be.x_google_ignoreList||void 0;const ct=le(Me||"",Ae(q));this.resolvedSources=ot.map(An=>le(An||"",ct));const{mappings:Kt}=be;typeof Kt=="string"?(this._encoded=Kt,this._decoded=void 0):(this._encoded=void 0,this._decoded=me(Kt,se)),this._decodedMemo=De(),this._bySources=void 0,this._bySourceMemos=void 0}}function ut(B){return B}function rn(B){var H,q;return(H=(q=B)._encoded)!==null&&H!==void 0?H:q._encoded=b(B._decoded)}function ft(B){var H;return(H=B)._decoded||(H._decoded=x(B._encoded))}function gn(B,H){let{line:q,column:se,bias:be}=H;if(q--,q<0)throw new Error(Si);if(se<0)throw new Error(L);const ge=ft(B);if(q>=ge.length)return vr(null,null,null,null);const ve=ge[q],ze=wo(ve,B._decodedMemo,q,se,be||Be);if(ze===-1)return vr(null,null,null,null);const Me=ve[ze];if(Me.length===1)return vr(null,null,null,null);const{names:ot,resolvedSources:Ut}=B;return vr(Ut[Me[_e]],Me[Ue]+1,Me[J],Me.length===5?ot[Me[ne]]:null)}function Tn(B,H){const{source:q,line:se,column:be,bias:ge}=H;return Rr(B,q,se,be,ge||Be,!1)}function ui(B,H){const{source:q,line:se,column:be,bias:ge}=H;return Rr(B,q,se,be,ge||ke,!0)}function In(B,H){const q=ft(B),{names:se,resolvedSources:be}=B;for(let ge=0;ge<q.length;ge++){const ve=q[ge];for(let ze=0;ze<ve.length;ze++){const Me=ve[ze],ot=ge+1,Ut=Me[0];let ct=null,Kt=null,An=null,jn=null;Me.length!==1&&(ct=be[Me[1]],Kt=Me[2]+1,An=Me[3]),Me.length===5&&(jn=se[Me[4]]),H({generatedLine:ot,generatedColumn:Ut,source:ct,originalLine:Kt,originalColumn:An,name:jn})}}}function fn(B,H){const{sources:q,resolvedSources:se}=B;let be=q.indexOf(H);return be===-1&&(be=se.indexOf(H)),be}function so(B,H){const{sourcesContent:q}=B;if(q==null)return null;const se=fn(B,H);return se===-1?null:q[se]}function Ti(B,H){const q=new Le(uo(B,[]),H);return q._decoded=B.mappings,q}function uo(B,H){return{version:B.version,file:B.file,names:B.names,sourceRoot:B.sourceRoot,sources:B.sources,sourcesContent:B.sourcesContent,mappings:H,ignoreList:B.ignoreList||B.x_google_ignoreList}}function vr(B,H,q,se){return{source:B,line:H,column:q,name:se}}function Kr(B,H){return{line:B,column:H}}function wo(B,H,q,se,be){let ge=pe(B,se,H,q);return gt?ge=(be===ke?Jt:ie)(B,se,ge):be===ke&&ge++,ge===-1||ge===B.length?-1:ge}function zi(B,H,q,se,be){let ge=wo(B,H,q,se,Be);if(!gt&&be===ke&&ge++,ge===-1||ge===B.length)return[];const ve=gt?se:B[ge][we];gt||(ge=ie(B,ve,ge));const ze=Jt(B,ve,ge),Me=[];for(;ge<=ze;ge++){const ot=B[ge];Me.push(Kr(ot[ae]+1,ot[Ee]))}return Me}function Rr(B,H,q,se,be,ge){var ve;if(q--,q<0)throw new Error(Si);if(se<0)throw new Error(L);const{sources:ze,resolvedSources:Me}=B;let ot=ze.indexOf(H);if(ot===-1&&(ot=Me.indexOf(H)),ot===-1)return ge?[]:Kr(null,null);const ct=((ve=B)._bySources||(ve._bySources=bt(ft(B),B._bySourceMemos=ze.map(De))))[ot][q];if(ct==null)return ge?[]:Kr(null,null);const Kt=B._bySourceMemos[ot];if(ge)return zi(ct,Kt,q,se,be);const An=wo(ct,Kt,q,se,be);if(An===-1)return Kr(null,null);const jn=ct[An];return Kr(jn[ae]+1,jn[Ee])}class ci{constructor(){this._indexes={__proto__:null},this.array=[]}}function No(B){return B}function mt(B,H){return B._indexes[H]}function nr(B,H){const q=mt(B,H);if(q!==void 0)return q;const{array:se,_indexes:be}=B,ge=se.push(H);return be[H]=ge-1}const C=0,j=1,z=2,Z=3,re=4,Fe=-1;class Ie{constructor({file:H,sourceRoot:q}={}){this._names=new ci,this._sources=new ci,this._sourcesContent=[],this._mappings=[],this.file=H,this.sourceRoot=q,this._ignoreList=new ci}}function rt(B){return B}const Gt=(B,H)=>Io(!0,B,H);function on(B,H,q){const{_sources:se,_sourcesContent:be}=B,ge=nr(se,H);be[ge]=q}function bn(B){const{_mappings:H,_sources:q,_sourcesContent:se,_names:be,_ignoreList:ge}=B;return sf(H),{version:3,file:B.file||void 0,names:be.array,sourceRoot:B.sourceRoot||void 0,sources:q.array,sourcesContent:se,mappings:H,ignoreList:ge.array}}function wr(B){const H=bn(B);return Object.assign(Object.assign({},H),{mappings:b(H.mappings)})}function Bt(B){const H=new Le(B),q=new Ie({file:H.file,sourceRoot:H.sourceRoot});return Po(q._names,H.names),Po(q._sources,H.sources),q._sourcesContent=H.sourcesContent||H.sources.map(()=>null),q._mappings=ft(H),H.ignoreList&&Po(q._ignoreList,H.ignoreList),q}function zr(B,H,q,se,be,ge,ve,ze,Me){const{_mappings:ot,_sources:Ut,_sourcesContent:ct,_names:Kt}=H,An=Er(ot,q),jn=Hu(An,se);if(!be)return B&&ia(An,jn)?void 0:$i(An,jn,[se]);const Xn=nr(Ut,be),Nr=ze?nr(Kt,ze):Fe;if(Xn===ct.length&&(ct[Xn]=Me??null),!(B&&Wi(An,jn,Xn,ge,ve,Nr)))return $i(An,jn,ze?[se,Xn,ge,ve,Nr]:[se,Xn,ge,ve])}function Er(B,H){for(let q=B.length;q<=H;q++)B[q]=[];return B[H]}function Hu(B,H){let q=B.length;for(let se=q-1;se>=0;q=se--){const be=B[se];if(H>=be[C])break}return q}function $i(B,H,q){for(let se=B.length;se>H;se--)B[se]=B[se-1];B[H]=q}function sf(B){const{length:H}=B;let q=H;for(let se=q-1;se>=0&&!(B[se].length>0);q=se,se--);q<H&&(B.length=q)}function Po(B,H){for(let q=0;q<H.length;q++)nr(B,H[q])}function ia(B,H){return H===0?!0:B[H-1].length===1}function Wi(B,H,q,se,be,ge){if(H===0)return!1;const ve=B[H-1];return ve.length===1?!1:q===ve[j]&&se===ve[z]&&be===ve[Z]&&ge===(ve.length===5?ve[re]:Fe)}function Io(B,H,q){const{generated:se,source:be,original:ge,name:ve,content:ze}=q;return be?zr(B,H,se.line-1,se.column,be,ge.line-1,ge.column,ve,ze):zr(B,H,se.line-1,se.column,null,null,null,null,null)}class oa{constructor(H,q){const se=this._map=new Mn(H,q);this.file=se.file,this.names=se.names,this.sourceRoot=se.sourceRoot,this.sources=se.resolvedSources,this.sourcesContent=se.sourcesContent,this.version=se.version}static fromSourceMap(H,q){return H.toDecodedMap?new oa(H.toDecodedMap(),q):new oa(H.toJSON(),q)}get mappings(){return rn(this._map)}originalPositionFor(H){return gn(this._map,H)}generatedPositionFor(H){return Tn(this._map,H)}allGeneratedPositionsFor(H){return ui(this._map,H)}hasContentsOfAllSources(){if(!this.sourcesContent||this.sourcesContent.length!==this.sources.length)return!1;for(const H of this.sourcesContent)if(H==null)return!1;return!0}sourceContentFor(H,q){const se=so(this._map,H);if(se!=null)return se;if(q)return null;throw new Error(`"${H}" is not in the SourceMap.`)}eachMapping(H,q){In(this._map,q?H.bind(q):H)}destroy(){}}class it{constructor(H){this._map=H instanceof Ie?H:new Ie(H)}static fromSourceMap(H){return new it(Bt(H))}addMapping(H){Gt(this._map,H)}setSourceContent(H,q){on(this._map,H,q)}toJSON(){return wr(this._map)}toString(){return JSON.stringify(this.toJSON())}toDecodedMap(){return bn(this._map)}}n.SourceMapConsumer=oa,n.SourceMapGenerator=it,Object.defineProperty(n,"__esModule",{value:!0})})})(af,af.exports);var bd=af.exports;function*X_(t){t=pi(t,{file:null,root:null,orig:null,files:{}});var e,n=new bd.SourceMapGenerator({file:t.file,sourceRoot:t.root});let o={__proto__:null},u=t.files;for(var h in u)Zn(u,h)&&(o[h]=u[h]);t.orig&&(e=yield new bd.SourceMapConsumer(t.orig),e.sourcesContent&&e.sources.forEach(function(A,F){var $=e.sourcesContent[F];$&&(o[A]=$)}));function m(A,F,$,V,b,y){let g={line:F,column:$};if(e){var D=e.originalPositionFor({line:V,column:b});if(D.source===null){n.addMapping({generated:g,original:null,source:null,name:null});return}A=D.source,V=D.line,b=D.column,y=D.name||y}n.addMapping({generated:g,original:{line:V,column:b},source:A,name:y}),n.setSourceContent(A,o[A])}function _(A){return A.sourcesContent&&A.sourcesContent.every($=>$==null)&&delete A.sourcesContent,A.file===void 0&&delete A.file,A.sourceRoot===void 0&&delete A.sourceRoot,A}function T(){return n.toDecodedMap?_(n.toDecodedMap()):null}function x(){return _(n.toJSON())}function P(){e&&e.destroy&&e.destroy()}return{add:m,getDecoded:T,getEncoded:x,destroy:P}}var q_=["$&","$'","$*","$+","$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 Y_(t){q_.forEach(u);var e=["Symbol","Map","Promise","Proxy","Reflect","Set","WeakMap","WeakSet"],n={},o=typeof global=="object"?global:self;e.forEach(function(h){n[h]=o[h]||function(){}}),["null","true","false","NaN","Infinity","-Infinity","undefined"].forEach(u),[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(h){Object.getOwnPropertyNames(h).map(u),h.prototype&&Object.getOwnPropertyNames(h.prototype).map(u)});function u(h){t.add(h)}}function J_(t,e){function n(o){yo(e,o)}t.walk(new Pn(function(o){o instanceof Yt&&o.quote?n(o.key):o instanceof un&&o.quote?n(o.key.name):o instanceof Sn&&Ro(o.property,n)}))}function Ro(t,e){t.walk(new Pn(function(n){return n instanceof lt?Ro(n.tail_node(),e):n instanceof dt?e(n.value):n instanceof tt&&(Ro(n.consequent,e),Ro(n.alternative,e)),!0}))}function Z_(t,e){var n=-1,o=new Map,u=e.nth_identifier||ys;return t=t.transform(new fr(function(m){m instanceof gi||m instanceof _i||m instanceof Qr||m instanceof mi||m instanceof ti?m.key.name=h(m.key.name):m instanceof Vr&&(m.property=h(m.property))})),t;function h(m){let _=o.get(m);return _||(_=u.get(++n),o.set(m,_)),_}}function vd(t){var e=new Set;return Nn(t,n=>{n instanceof gi||n instanceof _i||n instanceof Qr||n instanceof mi||n instanceof Vr||(n instanceof Yt?typeof n.key=="string"&&ir(n,ds)&&e.add(n.key):n instanceof un?ir(n,ds)&&e.add(n.key.name):n instanceof $t?ir(n,ds)&&e.add(n.property):n instanceof Sn&&n.property instanceof dt&&ir(n,ds)&&e.add(n.property.value))}),e}function Q_(t,e,n=vd(t)){e=pi(e,{builtins:!1,cache:null,debug:!1,keep_quoted:!1,nth_identifier:ys,only_cache:!1,regex:null,reserved:null,undeclared:!1,only_annotated:!1},!0);var o=e.nth_identifier,u=e.reserved;Array.isArray(u)||(u=[u]);var h=new Set(u);e.builtins||Y_(h);var m=-1,_;e.cache?_=e.cache.props:_=new Map;var T=e.only_annotated,x=e.regex&&new RegExp(e.regex),P=e.debug!==!1,A;P&&(A=e.debug===!0?"":e.debug);var F=new Set,$=new Set;_.forEach(O=>$.add(O));var V=!!e.keep_quoted;return t.walk(new Pn(function(O){if(!(O instanceof gi||O instanceof _i||O instanceof Qr||O instanceof mi||O instanceof Vr))if(O instanceof Yt)typeof O.key=="string"&&(!V||!O.quote)&&g(O.key);else if(O instanceof un)(!V||!O.quote)&&g(O.key.name);else if(O instanceof $t){var U=!!e.undeclared;if(!U){for(var X=O;X.expression;)X=X.expression;U=!(X.thedef&&X.thedef.undeclared)}U&&(!V||!O.quote)&&g(O.property)}else O instanceof Sn?V||Ro(O.property,g):O instanceof je&&O.expression.print_to_string()=="Object.defineProperty"?Ro(O.args[1],g):O instanceof oe&&O.operator==="in"?Ro(O.left,g):O instanceof dt&&ir(O,ps)&&g(O.value)})),t.transform(new fr(function(O){O instanceof gi||O instanceof _i||O instanceof Qr||O instanceof mi||O instanceof Vr||(O instanceof Yt?typeof O.key=="string"&&(!V||!O.quote)&&(O.key=D(O.key)):O instanceof un?(!V||!O.quote)&&(O.key.name=D(O.key.name)):O instanceof $t?(!V||!O.quote)&&(O.property=D(O.property)):!V&&O instanceof Sn?O.property=R(O.property):O instanceof je&&O.expression.print_to_string()=="Object.defineProperty"?O.args[1]=R(O.args[1]):O instanceof oe&&O.operator==="in"?O.left=R(O.left):O instanceof dt&&ir(O,ps)&&(Mp(O,ps),O.value=D(O.value)))}));function b(O){return $.has(O)||h.has(O)?!1:e.only_cache?_.has(O):!/^-?[0-9]+(\.[0-9]+)?(e[+-][0-9]+)?$/.test(O)}function y(O){return T&&!n.has(O)?!1:x&&!x.test(O)?n.has(O):h.has(O)?!1:_.has(O)||F.has(O)}function g(O){b(O)&&F.add(O),y(O)||$.add(O)}function D(O){if(!y(O))return O;var U=_.get(O);if(!U){if(P){var X="_$"+O+"$"+A+"_";b(X)&&(U=X)}if(!U)do U=o.get(++m);while(!b(U));_.set(O,U)}return U}function R(O){return O.transform(new fr(function(U){if(U instanceof lt){var X=U.expressions.length-1;U.expressions[X]=R(U.expressions[X])}else U instanceof dt?(Mp(U,ps),U.value=D(U.value)):U instanceof tt&&(U.consequent=R(U.consequent),U.alternative=R(U.alternative));return U}))}}var e0=typeof Buffer<"u"?t=>Buffer.from(t,"base64").toString():t=>decodeURIComponent(escape(atob(t))),t0=typeof Buffer<"u"?t=>Buffer.from(t).toString("base64"):t=>btoa(unescape(encodeURIComponent(t)));function n0(t){var e=/(?:^|[^.])\/\/# sourceMappingURL=data:application\/json(;[\w=-]*)?;base64,([+/0-9A-Za-z]*=*)\s*$/.exec(t);return e?e0(e[2]):(console.warn("inline source map not found"),null)}function ao(t,e,n){e[t]&&n.forEach(function(o){e[o]&&(typeof e[o]!="object"&&(e[o]={}),t in e[o]||(e[o][t]=e[t]))})}function Ed(t){t&&("props"in t?t.props instanceof Map||(t.props=Km(t.props)):t.props=new Map)}function Sd(t){return{props:zm(t.props)}}function r0(t,e,n,o){if(!(n&&n.writeFileSync&&n.mkdirSync))return;try{n.mkdirSync(o)}catch(_){if(_.code!=="EEXIST")throw _}const u=`${o}/terser-debug-${Math.random()*9999999|0}.log`;e=e||{};const h=JSON.stringify(e,(_,T)=>typeof T=="function"?"[Function "+T.toString()+"]":T instanceof RegExp?"[RegExp "+T.toString()+"]":T,4),m=_=>typeof _=="object"&&e.parse&&e.parse.spidermonkey?JSON.stringify(_,null,2):typeof _=="object"?Object.keys(_).map(T=>T+": "+m(_[T])).join(`
97
97
 
98
98
  `):typeof _=="string"?"```\n"+_+"\n```":_;n.writeFileSync(u,`Options:
99
99
  `+h+`
@@ -103,4 +103,4 @@ Input files:
103
103
  `+m(t)+`
104
104
  `)}function*i0(t,e,n){n&&typeof process=="object"&&process.env&&typeof process.env.TERSER_DEBUG_DIR=="string"&&r0(t,e,n,process.env.TERSER_DEBUG_DIR),e=pi(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 o=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||{},ao("ecma",e,["parse","compress","format"]),ao("ie8",e,["compress","mangle","format"]),ao("keep_classnames",e,["compress","mangle"]),ao("keep_fnames",e,["compress","mangle"]),ao("module",e,["parse","compress","mangle"]),ao("safari10",e,["mangle","format"]),ao("toplevel",e,["compress","mangle"]),ao("warnings",e,["compress"]);var u;e.mangle&&(e.mangle=pi(e.mangle,{cache:e.nameCache&&(e.nameCache.vars||{}),eval:!1,ie8:!1,keep_classnames:!1,keep_fnames:!1,module:!1,nth_identifier:ys,properties:!1,reserved:[],safari10:!1,toplevel:!1},!0),e.mangle.properties&&(typeof e.mangle.properties!="object"&&(e.mangle.properties={}),e.mangle.properties.keep_quoted&&(u=e.mangle.properties.reserved,Array.isArray(u)||(u=[]),e.mangle.properties.reserved=u),e.nameCache&&!("cache"in e.mangle.properties)&&(e.mangle.properties.cache=e.nameCache.props||{})),Ed(e.mangle.cache),Ed(e.mangle.properties.cache)),e.sourceMap&&(e.sourceMap=pi(e.sourceMap,{asObject:!1,content:null,filename:null,includeSources:!1,root:null,url:null},!0)),o&&(o.parse=Date.now());var h;if(t instanceof zt)h=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=Te.from_mozilla_ast(Object.keys(t).reduce(function(F,$){return F?(F.body=F.body.concat(t[$].body),F):t[$]},null));else{delete e.parse.spidermonkey;for(var m in t)if(Zn(t,m)&&(e.parse.filename=m,e.parse.toplevel=ss(t[m],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=n0(t[m])}}if(e.parse.toplevel===null)throw new Error("no source file given");h=e.parse.toplevel}u&&e.mangle.properties.keep_quoted!=="strict"&&J_(h,u);var _;e.mangle&&e.mangle.properties&&(_=vd(h)),e.wrap&&(h=h.wrap_commonjs(e.wrap)),e.enclose&&(h=h.wrap_enclose(e.enclose)),o&&(o.rename=Date.now()),o&&(o.compress=Date.now()),e.compress&&(h=new yd(e.compress,{mangle_options:e.mangle}).compress(h)),o&&(o.scope=Date.now()),e.mangle&&h.figure_out_scope(e.mangle),o&&(o.mangle=Date.now()),e.mangle&&(h.compute_char_frequency(e.mangle),h.mangle_names(e.mangle),h=Z_(h,e.mangle)),o&&(o.properties=Date.now()),e.mangle&&e.mangle.properties&&(h=Q_(h,e.mangle.properties,_)),o&&(o.format=Date.now());var T={};e.format.ast&&(T.ast=h),e.format.spidermonkey&&(T.ast=h.to_mozilla_ast());let x;if(!Zn(e.format,"code")||e.format.code){if(x={...e.format},x.ast||(x._destroy_ast=!0,Nn(h,F=>{F instanceof qe&&(F.variables=void 0,F.enclosed=void 0,F.parent_scope=void 0),F.block_scope&&(F.block_scope.variables=void 0,F.block_scope.enclosed=void 0,F.parent_scope=void 0)})),e.sourceMap){if(e.sourceMap.includeSources&&t instanceof zt)throw new Error("original source content unavailable");x.source_map=yield*X_({file:e.sourceMap.filename,orig:e.sourceMap.content,root:e.sourceMap.root,files:e.sourceMap.includeSources?t:null})}delete x.ast,delete x.code,delete x.spidermonkey;var P=Nl(x);if(h.print(P),T.code=P.get(),e.sourceMap)if(Object.defineProperty(T,"map",{configurable:!0,enumerable:!0,get(){const F=x.source_map.getEncoded();return T.map=e.sourceMap.asObject?F:JSON.stringify(F)},set(F){Object.defineProperty(T,"map",{value:F,writable:!0})}}),T.decoded_map=x.source_map.getDecoded(),e.sourceMap.url=="inline"){var A=typeof T.map=="object"?JSON.stringify(T.map):T.map;T.code+=`
105
105
  //# sourceMappingURL=data:application/json;charset=utf-8;base64,`+t0(A)}else e.sourceMap.url&&(T.code+=`
106
- //# sourceMappingURL=`+e.sourceMap.url)}return e.nameCache&&e.mangle&&(e.mangle.cache&&(e.nameCache.vars=Sd(e.mangle.cache)),e.mangle.properties&&e.mangle.properties.cache&&(e.nameCache.props=Sd(e.mangle.properties.cache))),x&&x.source_map&&x.source_map.destroy(),o&&(o.end=Date.now(),T.timings={parse:.001*(o.rename-o.parse),rename:.001*(o.compress-o.rename),compress:.001*(o.scope-o.compress),scope:.001*(o.mangle-o.scope),mangle:.001*(o.properties-o.mangle),properties:.001*(o.format-o.properties),format:.001*(o.end-o.format),total:.001*(o.end-o.start)}),T}async function o0(t,e,n){const o=i0(t,e,n);let u,h;do h=o.next(await u),u=h.value;while(!h.done);return h.value}function a0(t){const e=new Wy(t),n=new ml(e);n.removeErrorListeners();const o=new Ky(n),u=new I(o);u._interp.predictionMode=Qy.SLL,u.removeErrorListeners();const h=new u0;n.addErrorListener(h),u.addErrorListener(h),u.buildParseTrees=!0;const m=u.program();return{errors:h.errors,ast:m}}async function s0(t,e,n){const{errors:o,ast:u}=a0(t),h=new Cm(n),m=h.visit(u),_=h.errors.concat(o);let T="";const x=new km("$"),P=x.preParser(m)||"";if(console.log("preParserCode",P),e&&!_.some(A=>A.type===8)){const A=x.parser(m)||"";console.log(A),T=(await o0(A,{compress:!0,mangle:!0})).code||""}return{errors:_,functions:Object.fromEntries(h.userFunctions),variables:Object.fromEntries(h.userVariables),types:Object.fromEntries(h.userTypes),methods:Object.fromEntries(h.userMethods),overloadsFuncs:h.overloadsFuncs,codeStr:T,preParserCode:P}}class u0 extends zy{constructor(){super(...arguments);w(this,"errors",[])}syntaxError(n,o,u,h,m){this.errors.push({message:`syntax error: ${m.replace(/expecting.+/,"")}`,startColumn:h,startLineNumber:u,endColumn:h,endLineNumber:u})}}bl(s0)})();
106
+ //# sourceMappingURL=`+e.sourceMap.url)}return e.nameCache&&e.mangle&&(e.mangle.cache&&(e.nameCache.vars=Sd(e.mangle.cache)),e.mangle.properties&&e.mangle.properties.cache&&(e.nameCache.props=Sd(e.mangle.properties.cache))),x&&x.source_map&&x.source_map.destroy(),o&&(o.end=Date.now(),T.timings={parse:.001*(o.rename-o.parse),rename:.001*(o.compress-o.rename),compress:.001*(o.scope-o.compress),scope:.001*(o.mangle-o.scope),mangle:.001*(o.properties-o.mangle),properties:.001*(o.format-o.properties),format:.001*(o.end-o.format),total:.001*(o.end-o.start)}),T}async function o0(t,e,n){const o=i0(t,e,n);let u,h;do h=o.next(await u),u=h.value;while(!h.done);return h.value}function a0(t){const e=new Wy(t),n=new ml(e);n.removeErrorListeners();const o=new Ky(n),u=new I(o);u._interp.predictionMode=Qy.SLL,u.removeErrorListeners();const h=new u0;n.addErrorListener(h),u.addErrorListener(h),u.buildParseTrees=!0;const m=u.program();return{errors:h.errors,ast:m}}async function s0(t,e,n){const{errors:o,ast:u}=a0(t),h=new Cm(n),m=h.visit(u),_=h.errors.concat(o.splice(0,1));let T="";const x=new km("$"),P=x.preParser(m)||"";if(console.log("preParserCode",P),e&&!_.some(A=>A.type===8)){const A=x.parser(m)||"";console.log(A),T=(await o0(A,{compress:!0,mangle:!0})).code||""}return{errors:_,functions:Object.fromEntries(h.userFunctions),variables:Object.fromEntries(h.userVariables),types:Object.fromEntries(h.userTypes),methods:Object.fromEntries(h.userMethods),overloadsFuncs:h.overloadsFuncs,codeStr:T,preParserCode:P}}class u0 extends zy{constructor(){super(...arguments);w(this,"errors",[])}syntaxError(n,o,u,h,m){this.errors.push({message:`syntax error: ${m.replace(/expecting.+/,"")}`,type:Lr.Error,startColumn:h,startLineNumber:u,endColumn:h,endLineNumber:u})}}bl(s0)})();