sval 0.6.11 → 0.6.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/sval.min.js CHANGED
@@ -1 +1 @@
1
- !function(){function _array_like_to_array(arr,len){if(len==null||len>arr.length)len=arr.length;for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function _array_without_holes(arr){if(Array.isArray(arr))return _array_like_to_array(arr)}function _class_call_check(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _construct(Parent,args,Class){if(_is_native_reflect_construct()){_construct=Reflect.construct}else{_construct=function construct(Parent,args,Class){var a=[null];a.push.apply(a,args);var Constructor=Function.bind.apply(Parent,a);var instance=new Constructor;if(Class)_set_prototype_of(instance,Class.prototype);return instance}}return _construct.apply(null,arguments)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor)}}function _create_class(Constructor,protoProps,staticProps){if(protoProps)_defineProperties(Constructor.prototype,protoProps);if(staticProps)_defineProperties(Constructor,staticProps);return Constructor}function _define_property(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true})}else{obj[key]=value}return obj}function _instanceof(left,right){if(right!=null&&typeof Symbol!=="undefined"&&right[Symbol.hasInstance]){return!!right[Symbol.hasInstance](left)}else{return left instanceof right}}function _iterable_to_array(iter){if(typeof Symbol!=="undefined"&&iter[Symbol.iterator]!=null||iter["@@iterator"]!=null)return Array.from(iter)}function _non_iterable_spread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _set_prototype_of(o,p){_set_prototype_of=Object.setPrototypeOf||function setPrototypeOf(o,p){o.__proto__=p;return o};return _set_prototype_of(o,p)}function _to_consumable_array(arr){return _array_without_holes(arr)||_iterable_to_array(arr)||_unsupported_iterable_to_array(arr)||_non_iterable_spread()}function _type_of(obj){"@swc/helpers - typeof";return obj&&typeof Symbol!=="undefined"&&obj.constructor===Symbol?"symbol":typeof obj}function _unsupported_iterable_to_array(o,minLen){if(!o)return;if(typeof o==="string")return _array_like_to_array(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n==="Object"&&o.constructor)n=o.constructor.name;if(n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _array_like_to_array(o,minLen)}function _is_native_reflect_construct(){try{var result=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(_){}return(_is_native_reflect_construct=function(){return!!result})()}function _ts_generator(thisArg,body){var f,y,t,_={label:0,sent:function(){if(t[0]&1)throw t[1];return t[1]},trys:[],ops:[]},g=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return g.next=verb(0),g["throw"]=verb(1),g["return"]=verb(2),typeof Symbol==="function"&&(g[Symbol.iterator]=function(){return this}),g;function verb(n){return function(v){return step([n,v])}}function step(op){if(f)throw new TypeError("Generator is already executing.");while(g&&(g=0,op[0]&&(_=0)),_)try{if(f=1,y&&(t=op[0]&2?y["return"]:op[0]?y["throw"]||((t=y["return"])&&t.call(y),0):y.next)&&!(t=t.call(y,op[1])).done)return t;if(y=0,t)op=[op[0]&2,t.value];switch(op[0]){case 0:case 1:t=op;break;case 4:_.label++;return{value:op[1],done:false};case 5:_.label++;y=op[1];op=[0];continue;case 7:op=_.ops.pop();_.trys.pop();continue;default:if(!(t=_.trys,t=t.length>0&&t[t.length-1])&&(op[0]===6||op[0]===2)){_=0;continue}if(op[0]===3&&(!t||op[1]>t[0]&&op[1]<t[3])){_.label=op[1];break}if(op[0]===6&&_.label<t[1]){_.label=t[1];t=op;break}if(t&&_.label<t[2]){_.label=t[2];_.ops.push(op);break}if(t[2])_.ops.pop();_.trys.pop();continue}op=body.call(thisArg,_)}catch(e){op=[6,e];y=0}finally{f=t=0}if(op[0]&5)throw op[1];return{value:op[0]?op[1]:void 0,done:true}}}function _ts_values(o){var s=typeof Symbol==="function"&&Symbol.iterator,m=s&&o[s],i=0;if(m)return m.call(o);if(o&&typeof o.length==="number")return{next:function(){if(o&&i>=o.length)o=void 0;return{value:o&&o[i++],done:!o}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")}(function(Be,Oe){(typeof exports==="undefined"?"undefined":_type_of(exports))=="object"&&(typeof module==="undefined"?"undefined":_type_of(module))<"u"?module.exports=Oe():typeof define=="function"&&define.amd?define(Oe):(Be=(typeof globalThis==="undefined"?"undefined":_type_of(globalThis))<"u"?globalThis:Be||self,Be.Sval=Oe())})(this,function _target(){"use strict";var Be=Object.freeze(Object.defineProperty({__proto__:null,get BlockStatement(){return le},get BreakStatement(){return Xs},get CatchClause(){return Gi},get ContinueStatement(){return Ys},get DebuggerStatement(){return Ks},get DoWhileStatement(){return Ki},get EmptyStatement(){return Hs},get ExpressionStatement(){return Gs},get ForInStatement(){return Xi},get ForOfStatement(){return Yi},get ForStatement(){return Qi},get IfStatement(){return qi},get LabeledStatement(){return Zs},get ReturnStatement(){return Qs},get SwitchCase(){return Vt},get SwitchStatement(){return Wi},get ThrowStatement(){return Js},get TryStatement(){return zi},get WhileStatement(){return Hi},get WithStatement(){return $i}},Symbol.toStringTag,{value:"Module"})),Oe=Object.freeze(Object.defineProperty({__proto__:null,get ClassBody(){return Ji},get ClassDeclaration(){return ta},get ExportAllDeclaration(){return aa},get ExportDefaultDeclaration(){return ra},get ExportNamedDeclaration(){return sa},get FunctionDeclaration(){return ea},get ImportDeclaration(){return ia},get MethodDefinition(){return er},get PropertyDefinition(){return Nt},get StaticBlock(){return tr},get VariableDeclaration(){return we},get VariableDeclarator(){return Zi}},Symbol.toStringTag,{value:"Module"})),kr=Object.freeze(Object.defineProperty({__proto__:null,get BlockStatement(){return ce},get BreakStatement(){return Oa},get CatchClause(){return hr},get ContinueStatement(){return Da},get DebuggerStatement(){return Ra},get DoWhileStatement(){return dr},get EmptyStatement(){return Na},get ExpressionStatement(){return Va},get ForInStatement(){return mr},get ForOfStatement(){return gr},get ForStatement(){return yr},get IfStatement(){return lr},get LabeledStatement(){return Fa},get ReturnStatement(){return Ba},get SwitchCase(){return Bt},get SwitchStatement(){return cr},get ThrowStatement(){return Ma},get TryStatement(){return fr},get WhileStatement(){return pr},get WithStatement(){return ur}},Symbol.toStringTag,{value:"Module"})),Er=Object.freeze(Object.defineProperty({__proto__:null,get ClassBody(){return br},get ClassDeclaration(){return Ua},get ExportAllDeclaration(){return za},get ExportDefaultDeclaration(){return qa},get ExportNamedDeclaration(){return Wa},get FunctionDeclaration(){return ja},get ImportDeclaration(){return $a},get MethodDefinition(){return vr},get PropertyDefinition(){return Ot},get StaticBlock(){return Sr},get VariableDeclaration(){return ke},get VariableDeclarator(){return xr}},Symbol.toStringTag,{value:"Module"})),Qe=Object.freeze,v=Object.defineProperty,pe=Object.getOwnPropertyDescriptor,Cr=Object.prototype.hasOwnProperty;function dt(e,t){return Cr.call(e,t)}var yt=Object.getOwnPropertyNames,$t=Object.setPrototypeOf;function _r(e,t){$t?$t(e,t):e.__proto__=t}var qt=Object.getPrototypeOf;function Wt(e){return qt?qt(e):e.__proto__}var Ir=Object.getOwnPropertyDescriptor;function zt(e,t,r){for(;t;){var i=Ir(t,r),s=(typeof i==="undefined"?"undefined":_type_of(i))<"u"&&_type_of(i.writable)>"u"&&typeof i[e]=="function"&&i[e];if(s)return s;t=Wt(t)}}function Gt(e,t){return zt("get",e,t)}function Ht(e,t){return zt("set",e,t)}var Ce=Object.create;function Kt(e,t){_r(e,t),e.prototype=Ce(t.prototype,{constructor:{value:e,writable:!0}})}function Xe(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];var i=!1;try{i=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return i?Reflect.construct(t,r,Wt(e).constructor):t.apply(e,r)}function Ar(e){for(var t=1;t<arguments.length;++t){var r=arguments[t];for(var i in r)dt(r,i)&&(e[i]=r[i])}return e}var j=Object.assign||Ar;var Ye=[],h=Ce(null);var Ze=function(e){if(!e.Object)throw 0;Ye=yt(h=e).filter(function(t){return["webkitStorageInfo","GLOBAL","root"].indexOf(t)===-1})};try{Ze(window)}catch(e){try{Ze(self)}catch(e){try{Ze(global)}catch(e){try{Ze(globalThis)}catch(e){try{h.Object=Object}catch(e){}try{h.Function=Function}catch(e){}try{h.Array=Array}catch(e){}try{h.Number=Number}catch(e){}try{h.parseFloat=parseFloat}catch(e){}try{h.parseInt=parseInt}catch(e){}try{h.Infinity=1/0}catch(e){}try{h.NaN=NaN}catch(e){}try{h.undefined=void 0}catch(e){}try{h.Boolean=Boolean}catch(e){}try{h.String=String}catch(e){}try{h.Symbol=Symbol}catch(e){}try{h.Date=Date}catch(e){}try{h.Promise=Promise}catch(e){}try{h.RegExp=RegExp}catch(e){}try{h.Error=Error}catch(e){}try{h.EvalError=EvalError}catch(e){}try{h.RangeError=RangeError}catch(e){}try{h.ReferenceError=ReferenceError}catch(e){}try{h.SyntaxError=SyntaxError}catch(e){}try{h.TypeError=TypeError}catch(e){}try{h.URIError=URIError}catch(e){}try{h.JSON=JSON}catch(e){}try{h.Math=Math}catch(e){}try{h.console=console}catch(e){}try{h.Intl=Intl}catch(e){}try{h.ArrayBuffer=ArrayBuffer}catch(e){}try{h.Uint8Array=Uint8Array}catch(e){}try{h.Int8Array=Int8Array}catch(e){}try{h.Uint16Array=Uint16Array}catch(e){}try{h.Int16Array=Int16Array}catch(e){}try{h.Uint32Array=Uint32Array}catch(e){}try{h.Int32Array=Int32Array}catch(e){}try{h.Float32Array=Float32Array}catch(e){}try{h.Float64Array=Float64Array}catch(e){}try{h.Uint8ClampedArray=Uint8ClampedArray}catch(e){}try{h.DataView=DataView}catch(e){}try{h.Map=Map}catch(e){}try{h.Set=Set}catch(e){}try{h.WeakMap=WeakMap}catch(e){}try{h.WeakSet=WeakSet}catch(e){}try{h.Proxy=Proxy}catch(e){}try{h.Reflect=Reflect}catch(e){}try{h.BigInt=BigInt}catch(e){}try{h.decodeURI=decodeURI}catch(e){}try{h.decodeURIComponent=decodeURIComponent}catch(e){}try{h.encodeURI=encodeURI}catch(e){}try{h.encodeURIComponent=encodeURIComponent}catch(e){}try{h.escape=escape}catch(e){}try{h.unescape=unescape}catch(e){}try{h.eval=eval}catch(e){}try{h.isFinite=isFinite}catch(e){}try{h.isNaN=isNaN}catch(e){}try{h.SharedArrayBuffer=SharedArrayBuffer}catch(e){}try{h.Atomics=Atomics}catch(e){}try{h.WebAssembly=WebAssembly}catch(e){}try{h.clearInterval=clearInterval}catch(e){}try{h.clearTimeout=clearTimeout}catch(e){}try{h.setInterval=setInterval}catch(e){}try{h.setTimeout=setTimeout}catch(e){}try{h.crypto=crypto}catch(e){}try{h.URL=URL}catch(e){}Ye=yt(h)}}}}h.Symbol&&(!h.Symbol.iterator&&(h.Symbol.iterator=R("iterator")),!h.Symbol.asyncIterator&&(h.Symbol.asyncIterator=R("asynciterator")));var Qt=Ce({});for(var e=0;e<Ye.length;e++){var t=Ye[e];try{Qt[t]=h[t]}catch(e){}}var De=R("window");function Pr(){return j(Ce(_define_property({},De,h)),Qt)}function R(e){return e+Math.random().toString(36).substring(2)}function Lr(e){var t;if(typeof Symbol=="function"&&(t=e[Symbol.asyncIterator],!t&&(t=e[Symbol.iterator])),t)return t.call(e);if(typeof e.next=="function")return e;{var r=0;return{next:function next(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}}}var Tr=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239],Xt=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],Vr="‌‍\xb7̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・",Yt="\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",mt={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},gt="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",Nr={5:gt,"5module":gt+" export import",6:gt+" const class extends export import super"},Rr=/^in(stanceof)?$/,Br=new RegExp("["+Yt+"]"),Or=new RegExp("["+Yt+Vr+"]");function xt(e,t){for(var r=65536,i=0;i<t.length;i+=2){if(r+=t[i],r>e)return!1;if(r+=t[i+1],r>=e)return!0}return!1}function ae(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&Br.test(String.fromCharCode(e)):t===!1?!1:xt(e,Xt)}function _e(e,t){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&Or.test(String.fromCharCode(e)):t===!1?!1:xt(e,Xt)||xt(e,Tr)}var E=function E(t,r){r===void 0&&(r={}),this.label=t,this.keyword=r.keyword,this.beforeExpr=!!r.beforeExpr,this.startsExpr=!!r.startsExpr,this.isLoop=!!r.isLoop,this.isAssign=!!r.isAssign,this.prefix=!!r.prefix,this.postfix=!!r.postfix,this.binop=r.binop||null,this.updateContext=null};function K(e,t){return new E(e,{beforeExpr:!0,binop:t})}var Q={beforeExpr:!0},U={startsExpr:!0},bt={};function S(e,t){return t===void 0&&(t={}),t.keyword=e,bt[e]=new E(e,t)}var o={num:new E("num",U),regexp:new E("regexp",U),string:new E("string",U),name:new E("name",U),privateId:new E("privateId",U),eof:new E("eof"),bracketL:new E("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new E("]"),braceL:new E("{",{beforeExpr:!0,startsExpr:!0}),braceR:new E("}"),parenL:new E("(",{beforeExpr:!0,startsExpr:!0}),parenR:new E(")"),comma:new E(",",Q),semi:new E(";",Q),colon:new E(":",Q),dot:new E("."),question:new E("?",Q),questionDot:new E("?."),arrow:new E("=>",Q),template:new E("template"),invalidTemplate:new E("invalidTemplate"),ellipsis:new E("...",Q),backQuote:new E("`",U),dollarBraceL:new E("${",{beforeExpr:!0,startsExpr:!0}),eq:new E("=",{beforeExpr:!0,isAssign:!0}),assign:new E("_=",{beforeExpr:!0,isAssign:!0}),incDec:new E("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new E("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:K("||",1),logicalAND:K("&&",2),bitwiseOR:K("|",3),bitwiseXOR:K("^",4),bitwiseAND:K("&",5),equality:K("==/!=/===/!==",6),relational:K("</>/<=/>=",7),bitShift:K("<</>>/>>>",8),plusMin:new E("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:K("%",10),star:K("*",10),slash:K("/",10),starstar:new E("**",{beforeExpr:!0}),coalesce:K("??",1),_break:S("break"),_case:S("case",Q),_catch:S("catch"),_continue:S("continue"),_debugger:S("debugger"),_default:S("default",Q),_do:S("do",{isLoop:!0,beforeExpr:!0}),_else:S("else",Q),_finally:S("finally"),_for:S("for",{isLoop:!0}),_function:S("function",U),_if:S("if"),_return:S("return",Q),_switch:S("switch"),_throw:S("throw",Q),_try:S("try"),_var:S("var"),_const:S("const"),_while:S("while",{isLoop:!0}),_with:S("with"),_new:S("new",{beforeExpr:!0,startsExpr:!0}),_this:S("this",U),_super:S("super",U),_class:S("class",U),_extends:S("extends",Q),_export:S("export"),_import:S("import",U),_null:S("null",U),_true:S("true",U),_false:S("false",U),_in:S("in",{beforeExpr:!0,binop:7}),_instanceof:S("instanceof",{beforeExpr:!0,binop:7}),_typeof:S("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:S("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:S("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},X=/\r\n?|\n|\u2028|\u2029/,Dr=new RegExp(X.source,"g");function Ie(e){return e===10||e===13||e===8232||e===8233}function Zt(e,t,r){r===void 0&&(r=e.length);for(var i=t;i<r;i++){var s=e.charCodeAt(i);if(Ie(s))return i<r-1&&s===13&&e.charCodeAt(i+1)===10?i+2:i+1}return-1}var Jt=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,Y=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,ei=Object.prototype,Fr=ei.hasOwnProperty,Mr=ei.toString,Ae=Object.hasOwn||function(e,t){return Fr.call(e,t)},ti=Array.isArray||function(e){return Mr.call(e)==="[object Array]"},ii=Object.create(null);function de(e){return ii[e]||(ii[e]=new RegExp("^(?:"+e.replace(/ /g,"|")+")$"))}function ne(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}var jr=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,Fe=function Fe(t,r){this.line=t,this.column=r};Fe.prototype.offset=function(t){return new Fe(this.line,this.column+t)};var Je=function Je(t,r,i){this.start=r,this.end=i,t.sourceFile!==null&&(this.source=t.sourceFile)};function ri(e,t){for(var r=1,i=0;;){var s=Zt(e,i,t);if(s<0)return new Fe(r,t-i);++r,i=s}}var vt={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},si=!1;function Ur(e){var t={};for(var r in vt)t[r]=e&&Ae(e,r)?e[r]:vt[r];if(t.ecmaVersion==="latest"?t.ecmaVersion=1e8:t.ecmaVersion==null?(!si&&(typeof console==="undefined"?"undefined":_type_of(console))=="object"&&console.warn&&(si=!0,console.warn("Since Acorn 8.0.0, options.ecmaVersion is required.\nDefaulting to 2020, but this will stop working in the future.")),t.ecmaVersion=11):t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),(!e||e.allowHashBang==null)&&(t.allowHashBang=t.ecmaVersion>=14),ti(t.onToken)){var i=t.onToken;t.onToken=function(s){return i.push(s)}}return ti(t.onComment)&&(t.onComment=$r(t,t.onComment)),t}function $r(e,t){return function(r,i,s,a,n,u){var l={type:r?"Block":"Line",value:i,start:s,end:a};e.locations&&(l.loc=new Je(this,n,u)),e.ranges&&(l.range=[s,a]),t.push(l)}}var Me=1,Pe=2,St=4,ai=8,wt=16,ni=32,et=64,oi=128,be=256,je=512,tt=Me|Pe|be;function kt(e,t){return Pe|(e?St:0)|(t?ai:0)}var it=0,Et=1,oe=2,ui=3,li=4,ci=5,N=function N(t,r,i){this.options=t=Ur(t),this.sourceFile=t.sourceFile,this.keywords=de(Nr[t.ecmaVersion>=6?6:t.sourceType==="module"?"5module":5]);var s="";t.allowReserved!==!0&&(s=mt[t.ecmaVersion>=6?6:t.ecmaVersion===5?5:3],t.sourceType==="module"&&(s+=" await")),this.reservedWords=de(s);var a=(s?s+" ":"")+mt.strict;this.reservedWordsStrict=de(a),this.reservedWordsStrictBind=de(a+" "+mt.strictBind),this.input=String(r),this.containsEsc=!1,i?(this.pos=i,this.lineStart=this.input.lastIndexOf("\n",i-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(X).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=o.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=t.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&t.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(Me),this.regexpState=null,this.privateNameStack=[]},te={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};N.prototype.parse=function(){var t=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(t)},te.inFunction.get=function(){return(this.currentVarScope().flags&Pe)>0},te.inGenerator.get=function(){return(this.currentVarScope().flags&ai)>0},te.inAsync.get=function(){return(this.currentVarScope().flags&St)>0},te.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e],r=t.flags;if(r&(be|je))return!1;if(r&Pe)return(r&St)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},te.allowSuper.get=function(){var e=this.currentThisScope(),t=e.flags;return(t&et)>0||this.options.allowSuperOutsideMethod},te.allowDirectSuper.get=function(){return(this.currentThisScope().flags&oi)>0},te.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},te.allowNewDotTarget.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e],r=t.flags;if(r&(be|je)||r&Pe&&!(r&wt))return!0}return!1},te.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&be)>0},N.extend=function(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];for(var i=this,s=0;s<t.length;s++)i=t[s](i);return i},N.parse=function(t,r){return new this(r,t).parse()},N.parseExpressionAt=function(t,r,i){var s=new this(i,t,r);return s.nextToken(),s.parseExpression()},N.tokenizer=function(t,r){return new this(r,t)},Object.defineProperties(N.prototype,te);var F=N.prototype,qr=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;F.strictDirective=function(e){if(this.options.ecmaVersion<5)return!1;for(;;){Y.lastIndex=e,e+=Y.exec(this.input)[0].length;var t=qr.exec(this.input.slice(e));if(!t)return!1;if((t[1]||t[2])==="use strict"){Y.lastIndex=e+t[0].length;var r=Y.exec(this.input),i=r.index+r[0].length,s=this.input.charAt(i);return s===";"||s==="}"||X.test(r[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(s)||s==="!"&&this.input.charAt(i+1)==="=")}e+=t[0].length,Y.lastIndex=e,e+=Y.exec(this.input)[0].length,this.input[e]===";"&&e++}},F.eat=function(e){return this.type===e?(this.next(),!0):!1},F.isContextual=function(e){return this.type===o.name&&this.value===e&&!this.containsEsc},F.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1},F.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},F.canInsertSemicolon=function(){return this.type===o.eof||this.type===o.braceR||X.test(this.input.slice(this.lastTokEnd,this.start))},F.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},F.semicolon=function(){!this.eat(o.semi)&&!this.insertSemicolon()&&this.unexpected()},F.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},F.expect=function(e){this.eat(e)||this.unexpected()},F.unexpected=function(e){this.raise(e!==null&&e!==void 0?e:this.start,"Unexpected token")};var rt=function rt(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};F.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var r=t?e.parenthesizedAssign:e.parenthesizedBind;r>-1&&this.raiseRecoverable(r,t?"Assigning to rvalue":"Parenthesized pattern")}},F.checkExpressionErrors=function(e,t){if(!e)return!1;var r=e.shorthandAssign,i=e.doubleProto;if(!t)return r>=0||i>=0;r>=0&&this.raise(r,"Shorthand property assignments are valid only in destructuring patterns"),i>=0&&this.raiseRecoverable(i,"Redefinition of __proto__ property")},F.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},F.isSimpleAssignTarget=function(e){return e.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(e.expression):e.type==="Identifier"||e.type==="MemberExpression"};var m=N.prototype;m.parseTopLevel=function(e){var t=Object.create(null);for(e.body||(e.body=[]);this.type!==o.eof;){var r=this.parseStatement(null,!0,t);e.body.push(r)}if(this.inModule)for(var i=0,s=Object.keys(this.undefinedExports);i<s.length;i+=1){var a=s[i];this.raiseRecoverable(this.undefinedExports[a].start,"Export '"+a+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType,this.finishNode(e,"Program")};var Ct={kind:"loop"},Wr={kind:"switch"};m.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;Y.lastIndex=this.pos;var t=Y.exec(this.input),r=this.pos+t[0].length,i=this.input.charCodeAt(r);if(i===91||i===92)return!0;if(e)return!1;if(i===123||i>55295&&i<56320)return!0;if(ae(i,!0)){for(var s=r+1;_e(i=this.input.charCodeAt(s),!0);)++s;if(i===92||i>55295&&i<56320)return!0;var a=this.input.slice(r,s);if(!Rr.test(a))return!0}return!1},m.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;Y.lastIndex=this.pos;var e=Y.exec(this.input),t=this.pos+e[0].length,r;return!X.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!(_e(r=this.input.charCodeAt(t+8))||r>55295&&r<56320))},m.parseStatement=function(e,t,r){var i=this.type,s=this.startNode(),a;switch(this.isLet(e)&&(i=o._var,a="let"),i){case o._break:case o._continue:return this.parseBreakContinueStatement(s,i.keyword);case o._debugger:return this.parseDebuggerStatement(s);case o._do:return this.parseDoStatement(s);case o._for:return this.parseForStatement(s);case o._function:return e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(s,!1,!e);case o._class:return e&&this.unexpected(),this.parseClass(s,!0);case o._if:return this.parseIfStatement(s);case o._return:return this.parseReturnStatement(s);case o._switch:return this.parseSwitchStatement(s);case o._throw:return this.parseThrowStatement(s);case o._try:return this.parseTryStatement(s);case o._const:case o._var:return a=a||this.value,e&&a!=="var"&&this.unexpected(),this.parseVarStatement(s,a);case o._while:return this.parseWhileStatement(s);case o._with:return this.parseWithStatement(s);case o.braceL:return this.parseBlock(!0,s);case o.semi:return this.parseEmptyStatement(s);case o._export:case o._import:if(this.options.ecmaVersion>10&&i===o._import){Y.lastIndex=this.pos;var n=Y.exec(this.input),u=this.pos+n[0].length,l=this.input.charCodeAt(u);if(l===40||l===46)return this.parseExpressionStatement(s,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),i===o._import?this.parseImport(s):this.parseExport(s,r);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(s,!0,!e);var c=this.value,f=this.parseExpression();return i===o.name&&f.type==="Identifier"&&this.eat(o.colon)?this.parseLabeledStatement(s,c,f,e):this.parseExpressionStatement(s,f)}},m.parseBreakContinueStatement=function(e,t){var r=t==="break";this.next(),this.eat(o.semi)||this.insertSemicolon()?e.label=null:this.type!==o.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var i=0;i<this.labels.length;++i){var s=this.labels[i];if((e.label==null||s.name===e.label.name)&&(s.kind!=null&&(r||s.kind==="loop")||e.label&&r))break}return i===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,r?"BreakStatement":"ContinueStatement")},m.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")},m.parseDoStatement=function(e){return this.next(),this.labels.push(Ct),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(o._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(o.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},m.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Ct),this.enterScope(0),this.expect(o.parenL),this.type===o.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var r=this.isLet();if(this.type===o._var||this.type===o._const||r){var i=this.startNode(),s=r?"let":this.value;return this.next(),this.parseVar(i,!0,s),this.finishNode(i,"VariableDeclaration"),(this.type===o._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&i.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===o._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,i)):(t>-1&&this.unexpected(t),this.parseFor(e,i))}var a=this.isContextual("let"),n=!1,u=this.containsEsc,l=new rt,c=this.start,f=t>-1?this.parseExprSubscripts(l,"await"):this.parseExpression(!0,l);return this.type===o._in||(n=this.options.ecmaVersion>=6&&this.isContextual("of"))?(t>-1?(this.type===o._in&&this.unexpected(t),e.await=!0):n&&this.options.ecmaVersion>=8&&(f.start===c&&!u&&f.type==="Identifier"&&f.name==="async"?this.unexpected():this.options.ecmaVersion>=9&&(e.await=!1)),a&&n&&this.raise(f.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(f,!1,l),this.checkLValPattern(f),this.parseForIn(e,f)):(this.checkExpressionErrors(l,!0),t>-1&&this.unexpected(t),this.parseFor(e,f))},m.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,Ue|(r?0:_t),!1,t)},m.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(o._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},m.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(o.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},m.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(o.braceL),this.labels.push(Wr),this.enterScope(0);for(var t,r=!1;this.type!==o.braceR;)if(this.type===o._case||this.type===o._default){var i=this.type===o._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),i?t.test=this.parseExpression():(r&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),r=!0,t.test=null),this.expect(o.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},m.parseThrowStatement=function(e){return this.next(),X.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var zr=[];m.parseCatchClauseParam=function(){var e=this.parseBindingAtom(),t=e.type==="Identifier";return this.enterScope(t?ni:0),this.checkLValPattern(e,t?li:oe),this.expect(o.parenR),e},m.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===o._catch){var t=this.startNode();this.next(),this.eat(o.parenL)?t.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0)),t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(o._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},m.parseVarStatement=function(e,t,r){return this.next(),this.parseVar(e,!1,t,r),this.semicolon(),this.finishNode(e,"VariableDeclaration")},m.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(Ct),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},m.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")},m.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},m.parseLabeledStatement=function(e,t,r,i){for(var s=0,a=this.labels;s<a.length;s+=1){var n=a[s];n.name===t&&this.raise(r.start,"Label '"+t+"' is already declared")}for(var u=this.type.isLoop?"loop":this.type===o._switch?"switch":null,l=this.labels.length-1;l>=0;l--){var c=this.labels[l];if(c.statementStart===e.start)c.statementStart=this.start,c.kind=u;else break}return this.labels.push({name:t,kind:u,statementStart:this.start}),e.body=this.parseStatement(i?i.indexOf("label")===-1?i+"label":i:"label"),this.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")},m.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},m.parseBlock=function(e,t,r){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(o.braceL),e&&this.enterScope(0);this.type!==o.braceR;){var i=this.parseStatement(null);t.body.push(i)}return r&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")},m.parseFor=function(e,t){return e.init=t,this.expect(o.semi),e.test=this.type===o.semi?null:this.parseExpression(),this.expect(o.semi),e.update=this.type===o.parenR?null:this.parseExpression(),this.expect(o.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},m.parseForIn=function(e,t){var r=this.type===o._in;return this.next(),t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!r||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")&&this.raise(t.start,(r?"for-in":"for-of")+" loop variable declaration may not have an initializer"),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssign(),this.expect(o.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")},m.parseVar=function(e,t,r,i){for(e.declarations=[],e.kind=r;;){var s=this.startNode();if(this.parseVarId(s,r),this.eat(o.eq)?s.init=this.parseMaybeAssign(t):!i&&r==="const"&&!(this.type===o._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():!i&&s.id.type!=="Identifier"&&!(t&&(this.type===o._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):s.init=null,e.declarations.push(this.finishNode(s,"VariableDeclarator")),!this.eat(o.comma))break}return e},m.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLValPattern(e.id,t==="var"?Et:oe,!1)};var Ue=1,_t=2,fi=4;m.parseFunction=function(e,t,r,i,s){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!i)&&(this.type===o.star&&t&_t&&this.unexpected(),e.generator=this.eat(o.star)),this.options.ecmaVersion>=8&&(e.async=!!i),t&Ue&&(e.id=t&fi&&this.type!==o.name?null:this.parseIdent(),e.id&&!(t&_t)&&this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?Et:oe:ui));var a=this.yieldPos,n=this.awaitPos,u=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(kt(e.async,e.generator)),t&Ue||(e.id=this.type===o.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,r,!1,s),this.yieldPos=a,this.awaitPos=n,this.awaitIdentPos=u,this.finishNode(e,t&Ue?"FunctionDeclaration":"FunctionExpression")},m.parseFunctionParams=function(e){this.expect(o.parenL),e.params=this.parseBindingList(o.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},m.parseClass=function(e,t){this.next();var r=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var i=this.enterClassBody(),s=this.startNode(),a=!1;for(s.body=[],this.expect(o.braceL);this.type!==o.braceR;){var n=this.parseClassElement(e.superClass!==null);n&&(s.body.push(n),n.type==="MethodDefinition"&&n.kind==="constructor"?(a&&this.raiseRecoverable(n.start,"Duplicate constructor in the same class"),a=!0):n.key&&n.key.type==="PrivateIdentifier"&&Gr(i,n)&&this.raiseRecoverable(n.key.start,"Identifier '#"+n.key.name+"' has already been declared"))}return this.strict=r,this.next(),e.body=this.finishNode(s,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},m.parseClassElement=function(e){if(this.eat(o.semi))return null;var t=this.options.ecmaVersion,r=this.startNode(),i="",s=!1,a=!1,n="method",u=!1;if(this.eatContextual("static")){if(t>=13&&this.eat(o.braceL))return this.parseClassStaticBlock(r),r;this.isClassElementNameStart()||this.type===o.star?u=!0:i="static"}if(r.static=u,!i&&t>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===o.star)&&!this.canInsertSemicolon()?a=!0:i="async"),!i&&(t>=9||!a)&&this.eat(o.star)&&(s=!0),!i&&!a&&!s){var l=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?n=l:i=l)}if(i?(r.computed=!1,r.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),r.key.name=i,this.finishNode(r.key,"Identifier")):this.parseClassElementName(r),t<13||this.type===o.parenL||n!=="method"||s||a){var c=!r.static&&st(r,"constructor"),f=c&&e;c&&n!=="method"&&this.raise(r.key.start,"Constructor can't have get/set modifier"),r.kind=c?"constructor":n,this.parseClassMethod(r,s,a,f)}else this.parseClassField(r);return r},m.isClassElementNameStart=function(){return this.type===o.name||this.type===o.privateId||this.type===o.num||this.type===o.string||this.type===o.bracketL||this.type.keyword},m.parseClassElementName=function(e){this.type===o.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),e.computed=!1,e.key=this.parsePrivateIdent()):this.parsePropertyName(e)},m.parseClassMethod=function(e,t,r,i){var s=e.key;e.kind==="constructor"?(t&&this.raise(s.start,"Constructor can't be a generator"),r&&this.raise(s.start,"Constructor can't be an async method")):e.static&&st(e,"prototype")&&this.raise(s.start,"Classes may not have a static property named prototype");var a=e.value=this.parseMethod(t,r,i);return e.kind==="get"&&a.params.length!==0&&this.raiseRecoverable(a.start,"getter should have no params"),e.kind==="set"&&a.params.length!==1&&this.raiseRecoverable(a.start,"setter should have exactly one param"),e.kind==="set"&&a.params[0].type==="RestElement"&&this.raiseRecoverable(a.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")},m.parseClassField=function(e){return st(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&st(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(o.eq)?(this.enterScope(je|et),e.value=this.parseMaybeAssign(),this.exitScope()):e.value=null,this.semicolon(),this.finishNode(e,"PropertyDefinition")},m.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(be|et);this.type!==o.braceR;){var r=this.parseStatement(null);e.body.push(r)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")},m.parseClassId=function(e,t){this.type===o.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,oe,!1)):(t===!0&&this.unexpected(),e.id=null)},m.parseClassSuper=function(e){e.superClass=this.eat(o._extends)?this.parseExprSubscripts(null,!1):null},m.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared},m.exitClassBody=function(){var e=this.privateNameStack.pop(),t=e.declared,r=e.used;if(this.options.checkPrivateFields)for(var i=this.privateNameStack.length,s=i===0?null:this.privateNameStack[i-1],a=0;a<r.length;++a){var n=r[a];Ae(t,n.name)||(s?s.used.push(n):this.raiseRecoverable(n.start,"Private field '#"+n.name+"' must be declared in an enclosing class"))}};function Gr(e,t){var r=t.key.name,i=e[r],s="true";return t.type==="MethodDefinition"&&(t.kind==="get"||t.kind==="set")&&(s=(t.static?"s":"i")+t.kind),i==="iget"&&s==="iset"||i==="iset"&&s==="iget"||i==="sget"&&s==="sset"||i==="sset"&&s==="sget"?(e[r]="true",!1):i?!0:(e[r]=s,!1)}function st(e,t){var r=e.computed,i=e.key;return!r&&(i.type==="Identifier"&&i.name===t||i.type==="Literal"&&i.value===t)}m.parseExportAllDeclaration=function(e,t){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==o.string&&this.unexpected(),e.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ExportAllDeclaration")},m.parseExport=function(e,t){if(this.next(),this.eat(o.star))return this.parseExportAllDeclaration(e,t);if(this.eat(o._default))return this.checkExport(t,"default",this.lastTokStart),e.declaration=this.parseExportDefaultDeclaration(),this.finishNode(e,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())e.declaration=this.parseExportDeclaration(e),e.declaration.type==="VariableDeclaration"?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id,e.declaration.id.start),e.specifiers=[],e.source=null,this.options.ecmaVersion>=16&&(e.attributes=[]);else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==o.string&&this.unexpected(),e.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause());else{for(var r=0,i=e.specifiers;r<i.length;r+=1){var s=i[r];this.checkUnreserved(s.local),this.checkLocalExport(s.local),s.local.type==="Literal"&&this.raise(s.local.start,"A string literal cannot be used as an exported binding without `from`.")}e.source=null,this.options.ecmaVersion>=16&&(e.attributes=[])}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")},m.parseExportDeclaration=function(e){return this.parseStatement(null)},m.parseExportDefaultDeclaration=function(){var e;if(this.type===o._function||(e=this.isAsyncFunction())){var t=this.startNode();return this.next(),e&&this.next(),this.parseFunction(t,Ue|fi,!1,e)}else if(this.type===o._class){var r=this.startNode();return this.parseClass(r,"nullableID")}else{var i=this.parseMaybeAssign();return this.semicolon(),i}},m.checkExport=function(e,t,r){e&&(typeof t!="string"&&(t=t.type==="Identifier"?t.name:t.value),Ae(e,t)&&this.raiseRecoverable(r,"Duplicate export '"+t+"'"),e[t]=!0)},m.checkPatternExport=function(e,t){var r=t.type;if(r==="Identifier")this.checkExport(e,t,t.start);else if(r==="ObjectPattern")for(var i=0,s=t.properties;i<s.length;i+=1){var a=s[i];this.checkPatternExport(e,a)}else if(r==="ArrayPattern")for(var n=0,u=t.elements;n<u.length;n+=1){var l=u[n];l&&this.checkPatternExport(e,l)}else r==="Property"?this.checkPatternExport(e,t.value):r==="AssignmentPattern"?this.checkPatternExport(e,t.left):r==="RestElement"&&this.checkPatternExport(e,t.argument)},m.checkVariableExport=function(e,t){if(e)for(var r=0,i=t;r<i.length;r+=1){var s=i[r];this.checkPatternExport(e,s.id)}},m.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},m.parseExportSpecifier=function(e){var t=this.startNode();return t.local=this.parseModuleExportName(),t.exported=this.eatContextual("as")?this.parseModuleExportName():t.local,this.checkExport(e,t.exported,t.exported.start),this.finishNode(t,"ExportSpecifier")},m.parseExportSpecifiers=function(e){var t=[],r=!0;for(this.expect(o.braceL);!this.eat(o.braceR);){if(r)r=!1;else if(this.expect(o.comma),this.afterTrailingComma(o.braceR))break;t.push(this.parseExportSpecifier(e))}return t},m.parseImport=function(e){return this.next(),this.type===o.string?(e.specifiers=zr,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===o.string?this.parseExprAtom():this.unexpected()),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ImportDeclaration")},m.parseImportSpecifier=function(){var e=this.startNode();return e.imported=this.parseModuleExportName(),this.eatContextual("as")?e.local=this.parseIdent():(this.checkUnreserved(e.imported),e.local=e.imported),this.checkLValSimple(e.local,oe),this.finishNode(e,"ImportSpecifier")},m.parseImportDefaultSpecifier=function(){var e=this.startNode();return e.local=this.parseIdent(),this.checkLValSimple(e.local,oe),this.finishNode(e,"ImportDefaultSpecifier")},m.parseImportNamespaceSpecifier=function(){var e=this.startNode();return this.next(),this.expectContextual("as"),e.local=this.parseIdent(),this.checkLValSimple(e.local,oe),this.finishNode(e,"ImportNamespaceSpecifier")},m.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===o.name&&(e.push(this.parseImportDefaultSpecifier()),!this.eat(o.comma)))return e;if(this.type===o.star)return e.push(this.parseImportNamespaceSpecifier()),e;for(this.expect(o.braceL);!this.eat(o.braceR);){if(t)t=!1;else if(this.expect(o.comma),this.afterTrailingComma(o.braceR))break;e.push(this.parseImportSpecifier())}return e},m.parseWithClause=function(){var e=[];if(!this.eat(o._with))return e;this.expect(o.braceL);for(var t={},r=!0;!this.eat(o.braceR);){if(r)r=!1;else if(this.expect(o.comma),this.afterTrailingComma(o.braceR))break;var i=this.parseImportAttribute(),s=i.key.type==="Identifier"?i.key.name:i.key.value;Ae(t,s)&&this.raiseRecoverable(i.key.start,"Duplicate attribute key '"+s+"'"),t[s]=!0,e.push(i)}return e},m.parseImportAttribute=function(){var e=this.startNode();return e.key=this.type===o.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never"),this.expect(o.colon),this.type!==o.string&&this.unexpected(),e.value=this.parseExprAtom(),this.finishNode(e,"ImportAttribute")},m.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===o.string){var e=this.parseLiteral(this.value);return jr.test(e.value)&&this.raise(e.start,"An export name cannot include a lone surrogate."),e}return this.parseIdent(!0)},m.adaptDirectivePrologue=function(e){for(var t=0;t<e.length&&this.isDirectiveCandidate(e[t]);++t)e[t].directive=e[t].expression.raw.slice(1,-1)},m.isDirectiveCandidate=function(e){return this.options.ecmaVersion>=5&&e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value=="string"&&(this.input[e.start]==='"'||this.input[e.start]==="'")};var Z=N.prototype;Z.toAssignable=function(e,t,r){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&e.name==="await"&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",r&&this.checkPatternErrors(r,!0);for(var i=0,s=e.properties;i<s.length;i+=1){var a=s[i];this.toAssignable(a,t),a.type==="RestElement"&&(a.argument.type==="ArrayPattern"||a.argument.type==="ObjectPattern")&&this.raise(a.argument.start,"Unexpected token")}break;case"Property":e.kind!=="init"&&this.raise(e.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern",r&&this.checkPatternErrors(r,!0),this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement",this.toAssignable(e.argument,t),e.argument.type==="AssignmentPattern"&&this.raise(e.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":e.operator!=="="&&this.raise(e.left.end,"Only '=' operator can be used for specifying default value."),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,r);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else r&&this.checkPatternErrors(r,!0);return e},Z.toAssignableList=function(e,t){for(var r=e.length,i=0;i<r;i++){var s=e[i];s&&this.toAssignable(s,t)}if(r){var a=e[r-1];this.options.ecmaVersion===6&&t&&a&&a.type==="RestElement"&&a.argument.type!=="Identifier"&&this.unexpected(a.argument.start)}return e},Z.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")},Z.parseRestBinding=function(){var e=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==o.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")},Z.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case o.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(o.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case o.braceL:return this.parseObj(!0)}return this.parseIdent()},Z.parseBindingList=function(e,t,r,i){for(var s=[],a=!0;!this.eat(e);)if(a?a=!1:this.expect(o.comma),t&&this.type===o.comma)s.push(null);else{if(r&&this.afterTrailingComma(e))break;if(this.type===o.ellipsis){var n=this.parseRestBinding();this.parseBindingListItem(n),s.push(n),this.type===o.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}else s.push(this.parseAssignableListItem(i))}return s},Z.parseAssignableListItem=function(e){var t=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(t),t},Z.parseBindingListItem=function(e){return e},Z.parseMaybeDefault=function(e,t,r){if(r=r||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(o.eq))return r;var i=this.startNodeAt(e,t);return i.left=r,i.right=this.parseMaybeAssign(),this.finishNode(i,"AssignmentPattern")},Z.checkLValSimple=function(e,t,r){t===void 0&&(t=it);var i=t!==it;switch(e.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(i?"Binding ":"Assigning to ")+e.name+" in strict mode"),i&&(t===oe&&e.name==="let"&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),r&&(Ae(r,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),r[e.name]=!0),t!==ci&&this.declareName(e.name,t,e.start));break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":i&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ParenthesizedExpression":return i&&this.raiseRecoverable(e.start,"Binding parenthesized expression"),this.checkLValSimple(e.expression,t,r);default:this.raise(e.start,(i?"Binding":"Assigning to")+" rvalue")}},Z.checkLValPattern=function(e,t,r){switch(t===void 0&&(t=it),e.type){case"ObjectPattern":for(var i=0,s=e.properties;i<s.length;i+=1){var a=s[i];this.checkLValInnerPattern(a,t,r)}break;case"ArrayPattern":for(var n=0,u=e.elements;n<u.length;n+=1){var l=u[n];l&&this.checkLValInnerPattern(l,t,r)}break;default:this.checkLValSimple(e,t,r)}},Z.checkLValInnerPattern=function(e,t,r){switch(t===void 0&&(t=it),e.type){case"Property":this.checkLValInnerPattern(e.value,t,r);break;case"AssignmentPattern":this.checkLValPattern(e.left,t,r);break;case"RestElement":this.checkLValPattern(e.argument,t,r);break;default:this.checkLValPattern(e,t,r)}};var ee=function ee(t,r,i,s,a){this.token=t,this.isExpr=!!r,this.preserveSpace=!!i,this.override=s,this.generator=!!a},I={b_stat:new ee("{",!1),b_expr:new ee("{",!0),b_tmpl:new ee("${",!1),p_stat:new ee("(",!1),p_expr:new ee("(",!0),q_tmpl:new ee("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new ee("function",!1),f_expr:new ee("function",!0),f_expr_gen:new ee("function",!0,!1,null,!0),f_gen:new ee("function",!1,!1,null,!0)},Le=N.prototype;Le.initialContext=function(){return[I.b_stat]},Le.curContext=function(){return this.context[this.context.length-1]},Le.braceIsBlock=function(e){var t=this.curContext();return t===I.f_expr||t===I.f_stat?!0:e===o.colon&&(t===I.b_stat||t===I.b_expr)?!t.isExpr:e===o._return||e===o.name&&this.exprAllowed?X.test(this.input.slice(this.lastTokEnd,this.start)):e===o._else||e===o.semi||e===o.eof||e===o.parenR||e===o.arrow?!0:e===o.braceL?t===I.b_stat:e===o._var||e===o._const||e===o.name?!1:!this.exprAllowed},Le.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function")return t.generator}return!1},Le.updateContext=function(e){var t,r=this.type;r.keyword&&e===o.dot?this.exprAllowed=!1:(t=r.updateContext)?t.call(this,e):this.exprAllowed=r.beforeExpr},Le.overrideContext=function(e){this.curContext()!==e&&(this.context[this.context.length-1]=e)},o.parenR.updateContext=o.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var e=this.context.pop();e===I.b_stat&&this.curContext().token==="function"&&(e=this.context.pop()),this.exprAllowed=!e.isExpr},o.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?I.b_stat:I.b_expr),this.exprAllowed=!0},o.dollarBraceL.updateContext=function(){this.context.push(I.b_tmpl),this.exprAllowed=!0},o.parenL.updateContext=function(e){var t=e===o._if||e===o._for||e===o._with||e===o._while;this.context.push(t?I.p_stat:I.p_expr),this.exprAllowed=!0},o.incDec.updateContext=function(){},o._function.updateContext=o._class.updateContext=function(e){e.beforeExpr&&e!==o._else&&!(e===o.semi&&this.curContext()!==I.p_stat)&&!(e===o._return&&X.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===o.colon||e===o.braceL)&&this.curContext()===I.b_stat)?this.context.push(I.f_expr):this.context.push(I.f_stat),this.exprAllowed=!1},o.colon.updateContext=function(){this.curContext().token==="function"&&this.context.pop(),this.exprAllowed=!0},o.backQuote.updateContext=function(){this.curContext()===I.q_tmpl?this.context.pop():this.context.push(I.q_tmpl),this.exprAllowed=!1},o.star.updateContext=function(e){if(e===o._function){var t=this.context.length-1;this.context[t]===I.f_expr?this.context[t]=I.f_expr_gen:this.context[t]=I.f_gen}this.exprAllowed=!0},o.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==o.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var x=N.prototype;x.checkPropClash=function(e,t,r){if(!(this.options.ecmaVersion>=9&&e.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var i=e.key,s;switch(i.type){case"Identifier":s=i.name;break;case"Literal":s=String(i.value);break;default:return}var a=e.kind;if(this.options.ecmaVersion>=6){s==="__proto__"&&a==="init"&&(t.proto&&(r?r.doubleProto<0&&(r.doubleProto=i.start):this.raiseRecoverable(i.start,"Redefinition of __proto__ property")),t.proto=!0);return}s="$"+s;var n=t[s];if(n){var u;a==="init"?u=this.strict&&n.init||n.get||n.set:u=n.init||n[a],u&&this.raiseRecoverable(i.start,"Redefinition of property")}else n=t[s]={init:!1,get:!1,set:!1};n[a]=!0}},x.parseExpression=function(e,t){var r=this.start,i=this.startLoc,s=this.parseMaybeAssign(e,t);if(this.type===o.comma){var a=this.startNodeAt(r,i);for(a.expressions=[s];this.eat(o.comma);)a.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(a,"SequenceExpression")}return s},x.parseMaybeAssign=function(e,t,r){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var i=!1,s=-1,a=-1,n=-1;t?(s=t.parenthesizedAssign,a=t.trailingComma,n=t.doubleProto,t.parenthesizedAssign=t.trailingComma=-1):(t=new rt,i=!0);var u=this.start,l=this.startLoc;(this.type===o.parenL||this.type===o.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=e==="await");var c=this.parseMaybeConditional(e,t);if(r&&(c=r.call(this,c,u,l)),this.type.isAssign){var f=this.startNodeAt(u,l);return f.operator=this.value,this.type===o.eq&&(c=this.toAssignable(c,!1,t)),i||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=c.start&&(t.shorthandAssign=-1),this.type===o.eq?this.checkLValPattern(c):this.checkLValSimple(c),f.left=c,this.next(),f.right=this.parseMaybeAssign(e),n>-1&&(t.doubleProto=n),this.finishNode(f,"AssignmentExpression")}else i&&this.checkExpressionErrors(t,!0);return s>-1&&(t.parenthesizedAssign=s),a>-1&&(t.trailingComma=a),c},x.parseMaybeConditional=function(e,t){var r=this.start,i=this.startLoc,s=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return s;if(this.eat(o.question)){var a=this.startNodeAt(r,i);return a.test=s,a.consequent=this.parseMaybeAssign(),this.expect(o.colon),a.alternate=this.parseMaybeAssign(e),this.finishNode(a,"ConditionalExpression")}return s},x.parseExprOps=function(e,t){var r=this.start,i=this.startLoc,s=this.parseMaybeUnary(t,!1,!1,e);return this.checkExpressionErrors(t)||s.start===r&&s.type==="ArrowFunctionExpression"?s:this.parseExprOp(s,r,i,-1,e)},x.parseExprOp=function(e,t,r,i,s){var a=this.type.binop;if(a!=null&&(!s||this.type!==o._in)&&a>i){var n=this.type===o.logicalOR||this.type===o.logicalAND,u=this.type===o.coalesce;u&&(a=o.logicalAND.binop);var l=this.value;this.next();var c=this.start,f=this.startLoc,g=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,s),c,f,a,s),P=this.buildBinary(t,r,e,g,l,n||u);return(n&&this.type===o.coalesce||u&&(this.type===o.logicalOR||this.type===o.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(P,t,r,i,s)}return e},x.buildBinary=function(e,t,r,i,s,a){i.type==="PrivateIdentifier"&&this.raise(i.start,"Private identifier can only be left side of binary expression");var n=this.startNodeAt(e,t);return n.left=r,n.operator=s,n.right=i,this.finishNode(n,a?"LogicalExpression":"BinaryExpression")},x.parseMaybeUnary=function(e,t,r,i){var s=this.start,a=this.startLoc,n;if(this.isContextual("await")&&this.canAwait)n=this.parseAwait(i),t=!0;else if(this.type.prefix){var u=this.startNode(),l=this.type===o.incDec;u.operator=this.value,u.prefix=!0,this.next(),u.argument=this.parseMaybeUnary(null,!0,l,i),this.checkExpressionErrors(e,!0),l?this.checkLValSimple(u.argument):this.strict&&u.operator==="delete"&&hi(u.argument)?this.raiseRecoverable(u.start,"Deleting local variable in strict mode"):u.operator==="delete"&&It(u.argument)?this.raiseRecoverable(u.start,"Private fields can not be deleted"):t=!0,n=this.finishNode(u,l?"UpdateExpression":"UnaryExpression")}else if(!t&&this.type===o.privateId)(i||this.privateNameStack.length===0)&&this.options.checkPrivateFields&&this.unexpected(),n=this.parsePrivateIdent(),this.type!==o._in&&this.unexpected();else{if(n=this.parseExprSubscripts(e,i),this.checkExpressionErrors(e))return n;for(;this.type.postfix&&!this.canInsertSemicolon();){var c=this.startNodeAt(s,a);c.operator=this.value,c.prefix=!1,c.argument=n,this.checkLValSimple(n),this.next(),n=this.finishNode(c,"UpdateExpression")}}if(!r&&this.eat(o.starstar))if(t)this.unexpected(this.lastTokStart);else return this.buildBinary(s,a,n,this.parseMaybeUnary(null,!1,!1,i),"**",!1);else return n};function hi(e){return e.type==="Identifier"||e.type==="ParenthesizedExpression"&&hi(e.expression)}function It(e){return e.type==="MemberExpression"&&e.property.type==="PrivateIdentifier"||e.type==="ChainExpression"&&It(e.expression)||e.type==="ParenthesizedExpression"&&It(e.expression)}x.parseExprSubscripts=function(e,t){var r=this.start,i=this.startLoc,s=this.parseExprAtom(e,t);if(s.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return s;var a=this.parseSubscripts(s,r,i,!1,t);return e&&a.type==="MemberExpression"&&(e.parenthesizedAssign>=a.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=a.start&&(e.parenthesizedBind=-1),e.trailingComma>=a.start&&(e.trailingComma=-1)),a},x.parseSubscripts=function(e,t,r,i,s){for(var a=this.options.ecmaVersion>=8&&e.type==="Identifier"&&e.name==="async"&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.potentialArrowAt===e.start,n=!1;;){var u=this.parseSubscript(e,t,r,i,a,n,s);if(u.optional&&(n=!0),u===e||u.type==="ArrowFunctionExpression"){if(n){var l=this.startNodeAt(t,r);l.expression=u,u=this.finishNode(l,"ChainExpression")}return u}e=u}},x.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(o.arrow)},x.parseSubscriptAsyncArrow=function(e,t,r,i){return this.parseArrowExpression(this.startNodeAt(e,t),r,!0,i)},x.parseSubscript=function(e,t,r,i,s,a,n){var u=this.options.ecmaVersion>=11,l=u&&this.eat(o.questionDot);i&&l&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var c=this.eat(o.bracketL);if(c||l&&this.type!==o.parenL&&this.type!==o.backQuote||this.eat(o.dot)){var f=this.startNodeAt(t,r);f.object=e,c?(f.property=this.parseExpression(),this.expect(o.bracketR)):this.type===o.privateId&&e.type!=="Super"?f.property=this.parsePrivateIdent():f.property=this.parseIdent(this.options.allowReserved!=="never"),f.computed=!!c,u&&(f.optional=l),e=this.finishNode(f,"MemberExpression")}else if(!i&&this.eat(o.parenL)){var g=new rt,P=this.yieldPos,O=this.awaitPos,D=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var k=this.parseExprList(o.parenR,this.options.ecmaVersion>=8,!1,g);if(s&&!l&&this.shouldParseAsyncArrow())return this.checkPatternErrors(g,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=P,this.awaitPos=O,this.awaitIdentPos=D,this.parseSubscriptAsyncArrow(t,r,k,n);this.checkExpressionErrors(g,!0),this.yieldPos=P||this.yieldPos,this.awaitPos=O||this.awaitPos,this.awaitIdentPos=D||this.awaitIdentPos;var V=this.startNodeAt(t,r);V.callee=e,V.arguments=k,u&&(V.optional=l),e=this.finishNode(V,"CallExpression")}else if(this.type===o.backQuote){(l||a)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var L=this.startNodeAt(t,r);L.tag=e,L.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(L,"TaggedTemplateExpression")}return e},x.parseExprAtom=function(e,t,r){this.type===o.slash&&this.readRegexp();var i,s=this.potentialArrowAt===this.start;switch(this.type){case o._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),i=this.startNode(),this.next(),this.type===o.parenL&&!this.allowDirectSuper&&this.raise(i.start,"super() call outside constructor of a subclass"),this.type!==o.dot&&this.type!==o.bracketL&&this.type!==o.parenL&&this.unexpected(),this.finishNode(i,"Super");case o._this:return i=this.startNode(),this.next(),this.finishNode(i,"ThisExpression");case o.name:var a=this.start,n=this.startLoc,u=this.containsEsc,l=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!u&&l.name==="async"&&!this.canInsertSemicolon()&&this.eat(o._function))return this.overrideContext(I.f_expr),this.parseFunction(this.startNodeAt(a,n),0,!1,!0,t);if(s&&!this.canInsertSemicolon()){if(this.eat(o.arrow))return this.parseArrowExpression(this.startNodeAt(a,n),[l],!1,t);if(this.options.ecmaVersion>=8&&l.name==="async"&&this.type===o.name&&!u&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return l=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(o.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(a,n),[l],!0,t)}return l;case o.regexp:var c=this.value;return i=this.parseLiteral(c.value),i.regex={pattern:c.pattern,flags:c.flags},i;case o.num:case o.string:return this.parseLiteral(this.value);case o._null:case o._true:case o._false:return i=this.startNode(),i.value=this.type===o._null?null:this.type===o._true,i.raw=this.type.keyword,this.next(),this.finishNode(i,"Literal");case o.parenL:var f=this.start,g=this.parseParenAndDistinguishExpression(s,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(g)&&(e.parenthesizedAssign=f),e.parenthesizedBind<0&&(e.parenthesizedBind=f)),g;case o.bracketL:return i=this.startNode(),this.next(),i.elements=this.parseExprList(o.bracketR,!0,!0,e),this.finishNode(i,"ArrayExpression");case o.braceL:return this.overrideContext(I.b_expr),this.parseObj(!1,e);case o._function:return i=this.startNode(),this.next(),this.parseFunction(i,0);case o._class:return this.parseClass(this.startNode(),!1);case o._new:return this.parseNew();case o.backQuote:return this.parseTemplate();case o._import:return this.options.ecmaVersion>=11?this.parseExprImport(r):this.unexpected();default:return this.parseExprAtomDefault()}},x.parseExprAtomDefault=function(){this.unexpected()},x.parseExprImport=function(e){var t=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===o.parenL&&!e)return this.parseDynamicImport(t);if(this.type===o.dot){var r=this.startNodeAt(t.start,t.loc&&t.loc.start);return r.name="import",t.meta=this.finishNode(r,"Identifier"),this.parseImportMeta(t)}else this.unexpected()},x.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),this.options.ecmaVersion>=16)this.eat(o.parenR)?e.options=null:(this.expect(o.comma),this.afterTrailingComma(o.parenR)?e.options=null:(e.options=this.parseMaybeAssign(),this.eat(o.parenR)||(this.expect(o.comma),this.afterTrailingComma(o.parenR)||this.unexpected())));else if(!this.eat(o.parenR)){var t=this.start;this.eat(o.comma)&&this.eat(o.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")},x.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="meta"&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")},x.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),t.raw.charCodeAt(t.raw.length-1)===110&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")},x.parseParenExpression=function(){this.expect(o.parenL);var e=this.parseExpression();return this.expect(o.parenR),e},x.shouldParseArrow=function(e){return!this.canInsertSemicolon()},x.parseParenAndDistinguishExpression=function(e,t){var r=this.start,i=this.startLoc,s,a=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var n=this.start,u=this.startLoc,l=[],c=!0,f=!1,g=new rt,P=this.yieldPos,O=this.awaitPos,D;for(this.yieldPos=0,this.awaitPos=0;this.type!==o.parenR;)if(c?c=!1:this.expect(o.comma),a&&this.afterTrailingComma(o.parenR,!0)){f=!0;break}else if(this.type===o.ellipsis){D=this.start,l.push(this.parseParenItem(this.parseRestBinding())),this.type===o.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}else l.push(this.parseMaybeAssign(!1,g,this.parseParenItem));var k=this.lastTokEnd,V=this.lastTokEndLoc;if(this.expect(o.parenR),e&&this.shouldParseArrow(l)&&this.eat(o.arrow))return this.checkPatternErrors(g,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=P,this.awaitPos=O,this.parseParenArrowList(r,i,l,t);(!l.length||f)&&this.unexpected(this.lastTokStart),D&&this.unexpected(D),this.checkExpressionErrors(g,!0),this.yieldPos=P||this.yieldPos,this.awaitPos=O||this.awaitPos,l.length>1?(s=this.startNodeAt(n,u),s.expressions=l,this.finishNodeAt(s,"SequenceExpression",k,V)):s=l[0]}else s=this.parseParenExpression();if(this.options.preserveParens){var L=this.startNodeAt(r,i);return L.expression=s,this.finishNode(L,"ParenthesizedExpression")}else return s},x.parseParenItem=function(e){return e},x.parseParenArrowList=function(e,t,r,i){return this.parseArrowExpression(this.startNodeAt(e,t),r,!1,i)};var Hr=[];x.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===o.dot){var t=this.startNodeAt(e.start,e.loc&&e.loc.start);t.name="new",e.meta=this.finishNode(t,"Identifier"),this.next();var r=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="target"&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),r&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block"),this.finishNode(e,"MetaProperty")}var i=this.start,s=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),i,s,!0,!1),this.eat(o.parenL)?e.arguments=this.parseExprList(o.parenR,this.options.ecmaVersion>=8,!1):e.arguments=Hr,this.finishNode(e,"NewExpression")},x.parseTemplateElement=function(e){var t=e.isTagged,r=this.startNode();return this.type===o.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),r.value={raw:this.value.replace(/\r\n?/g,"\n"),cooked:null}):r.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),r.tail=this.type===o.backQuote,this.finishNode(r,"TemplateElement")},x.parseTemplate=function(e){e===void 0&&(e={});var t=e.isTagged;t===void 0&&(t=!1);var r=this.startNode();this.next(),r.expressions=[];var i=this.parseTemplateElement({isTagged:t});for(r.quasis=[i];!i.tail;)this.type===o.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(o.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(o.braceR),r.quasis.push(i=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(r,"TemplateLiteral")},x.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===o.name||this.type===o.num||this.type===o.string||this.type===o.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===o.star)&&!X.test(this.input.slice(this.lastTokEnd,this.start))},x.parseObj=function(e,t){var r=this.startNode(),i=!0,s={};for(r.properties=[],this.next();!this.eat(o.braceR);){if(i)i=!1;else if(this.expect(o.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(o.braceR))break;var a=this.parseProperty(e,t);e||this.checkPropClash(a,s,t),r.properties.push(a)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")},x.parseProperty=function(e,t){var r=this.startNode(),i,s,a,n;if(this.options.ecmaVersion>=9&&this.eat(o.ellipsis))return e?(r.argument=this.parseIdent(!1),this.type===o.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(r,"RestElement")):(r.argument=this.parseMaybeAssign(!1,t),this.type===o.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(r,"SpreadElement"));this.options.ecmaVersion>=6&&(r.method=!1,r.shorthand=!1,(e||t)&&(a=this.start,n=this.startLoc),e||(i=this.eat(o.star)));var u=this.containsEsc;return this.parsePropertyName(r),!e&&!u&&this.options.ecmaVersion>=8&&!i&&this.isAsyncProp(r)?(s=!0,i=this.options.ecmaVersion>=9&&this.eat(o.star),this.parsePropertyName(r)):s=!1,this.parsePropertyValue(r,e,i,s,a,n,t,u),this.finishNode(r,"Property")},x.parseGetterSetter=function(e){var t=e.key.name;this.parsePropertyName(e),e.value=this.parseMethod(!1),e.kind=t;var r=e.kind==="get"?0:1;if(e.value.params.length!==r){var i=e.value.start;e.kind==="get"?this.raiseRecoverable(i,"getter should have no params"):this.raiseRecoverable(i,"setter should have exactly one param")}else e.kind==="set"&&e.value.params[0].type==="RestElement"&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")},x.parsePropertyValue=function(e,t,r,i,s,a,n,u){(r||i)&&this.type===o.colon&&this.unexpected(),this.eat(o.colon)?(e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,n),e.kind="init"):this.options.ecmaVersion>=6&&this.type===o.parenL?(t&&this.unexpected(),e.method=!0,e.value=this.parseMethod(r,i),e.kind="init"):!t&&!u&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.type!==o.comma&&this.type!==o.braceR&&this.type!==o.eq?((r||i)&&this.unexpected(),this.parseGetterSetter(e)):this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"?((r||i)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=s),t?e.value=this.parseMaybeDefault(s,a,this.copyNode(e.key)):this.type===o.eq&&n?(n.shorthandAssign<0&&(n.shorthandAssign=this.start),e.value=this.parseMaybeDefault(s,a,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.kind="init",e.shorthand=!0):this.unexpected()},x.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(o.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(o.bracketR),e.key;e.computed=!1}return e.key=this.type===o.num||this.type===o.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},x.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},x.parseMethod=function(e,t,r){var i=this.startNode(),s=this.yieldPos,a=this.awaitPos,n=this.awaitIdentPos;return this.initFunction(i),this.options.ecmaVersion>=6&&(i.generator=e),this.options.ecmaVersion>=8&&(i.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(kt(t,i.generator)|et|(r?oi:0)),this.expect(o.parenL),i.params=this.parseBindingList(o.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(i,!1,!0,!1),this.yieldPos=s,this.awaitPos=a,this.awaitIdentPos=n,this.finishNode(i,"FunctionExpression")},x.parseArrowExpression=function(e,t,r,i){var s=this.yieldPos,a=this.awaitPos,n=this.awaitIdentPos;return this.enterScope(kt(r,!1)|wt),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!r),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1,i),this.yieldPos=s,this.awaitPos=a,this.awaitIdentPos=n,this.finishNode(e,"ArrowFunctionExpression")},x.parseFunctionBody=function(e,t,r,i){var s=t&&this.type!==o.braceL,a=this.strict,n=!1;if(s)e.body=this.parseMaybeAssign(i),e.expression=!0,this.checkParams(e,!1);else{var u=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!a||u)&&(n=this.strictDirective(this.end),n&&u&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var l=this.labels;this.labels=[],n&&(this.strict=!0),this.checkParams(e,!a&&!n&&!t&&!r&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,ci),e.body=this.parseBlock(!1,void 0,n&&!a),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=l}this.exitScope()},x.isSimpleParamList=function(e){for(var t=0,r=e;t<r.length;t+=1){var i=r[t];if(i.type!=="Identifier")return!1}return!0},x.checkParams=function(e,t){for(var r=Object.create(null),i=0,s=e.params;i<s.length;i+=1){var a=s[i];this.checkLValInnerPattern(a,Et,t?null:r)}},x.parseExprList=function(e,t,r,i){for(var s=[],a=!0;!this.eat(e);){if(a)a=!1;else if(this.expect(o.comma),t&&this.afterTrailingComma(e))break;var n=void 0;r&&this.type===o.comma?n=null:this.type===o.ellipsis?(n=this.parseSpread(i),i&&this.type===o.comma&&i.trailingComma<0&&(i.trailingComma=this.start)):n=this.parseMaybeAssign(!1,i),s.push(n)}return s},x.checkUnreserved=function(e){var t=e.start,r=e.end,i=e.name;if(this.inGenerator&&i==="yield"&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&i==="await"&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),!(this.currentThisScope().flags&tt)&&i==="arguments"&&this.raiseRecoverable(t,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&(i==="arguments"||i==="await")&&this.raise(t,"Cannot use "+i+" in class static initialization block"),this.keywords.test(i)&&this.raise(t,"Unexpected keyword '"+i+"'"),!(this.options.ecmaVersion<6&&this.input.slice(t,r).indexOf("\\")!==-1)){var s=this.strict?this.reservedWordsStrict:this.reservedWords;s.test(i)&&(!this.inAsync&&i==="await"&&this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '"+i+"' is reserved"))}},x.parseIdent=function(e){var t=this.parseIdentNode();return this.next(!!e),this.finishNode(t,"Identifier"),e||(this.checkUnreserved(t),t.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=t.start)),t},x.parseIdentNode=function(){var e=this.startNode();return this.type===o.name?e.name=this.value:this.type.keyword?(e.name=this.type.keyword,(e.name==="class"||e.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop(),this.type=o.name):this.unexpected(),e},x.parsePrivateIdent=function(){var e=this.startNode();return this.type===o.privateId?e.name=this.value:this.unexpected(),this.next(),this.finishNode(e,"PrivateIdentifier"),this.options.checkPrivateFields&&(this.privateNameStack.length===0?this.raise(e.start,"Private field '#"+e.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(e)),e},x.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===o.semi||this.canInsertSemicolon()||this.type!==o.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(o.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")},x.parseAwait=function(e){this.awaitPos||(this.awaitPos=this.start);var t=this.startNode();return this.next(),t.argument=this.parseMaybeUnary(null,!0,!1,e),this.finishNode(t,"AwaitExpression")};var at=N.prototype;at.raise=function(e,t){var r=ri(this.input,e);t+=" ("+r.line+":"+r.column+")",this.sourceFile&&(t+=" in "+this.sourceFile);var i=new SyntaxError(t);throw i.pos=e,i.loc=r,i.raisedAt=this.pos,i},at.raiseRecoverable=at.raise,at.curPosition=function(){if(this.options.locations)return new Fe(this.curLine,this.pos-this.lineStart)};var ye=N.prototype,Kr=function Kr(t){this.flags=t,this.var=[],this.lexical=[],this.functions=[]};ye.enterScope=function(e){this.scopeStack.push(new Kr(e))},ye.exitScope=function(){this.scopeStack.pop()},ye.treatFunctionsAsVarInScope=function(e){return e.flags&Pe||!this.inModule&&e.flags&Me},ye.declareName=function(e,t,r){var i=!1;if(t===oe){var s=this.currentScope();i=s.lexical.indexOf(e)>-1||s.functions.indexOf(e)>-1||s.var.indexOf(e)>-1,s.lexical.push(e),this.inModule&&s.flags&Me&&delete this.undefinedExports[e]}else if(t===li){var a=this.currentScope();a.lexical.push(e)}else if(t===ui){var n=this.currentScope();this.treatFunctionsAsVar?i=n.lexical.indexOf(e)>-1:i=n.lexical.indexOf(e)>-1||n.var.indexOf(e)>-1,n.functions.push(e)}else for(var u=this.scopeStack.length-1;u>=0;--u){var l=this.scopeStack[u];if(l.lexical.indexOf(e)>-1&&!(l.flags&ni&&l.lexical[0]===e)||!this.treatFunctionsAsVarInScope(l)&&l.functions.indexOf(e)>-1){i=!0;break}if(l.var.push(e),this.inModule&&l.flags&Me&&delete this.undefinedExports[e],l.flags&tt)break}i&&this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")},ye.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)},ye.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},ye.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&(tt|je|be))return t}},ye.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&(tt|je|be)&&!(t.flags&wt))return t}};var nt=function nt(t,r,i){this.type="",this.start=r,this.end=0,t.options.locations&&(this.loc=new Je(t,i)),t.options.directSourceFile&&(this.sourceFile=t.options.directSourceFile),t.options.ranges&&(this.range=[r,0])},$e=N.prototype;$e.startNode=function(){return new nt(this,this.start,this.startLoc)},$e.startNodeAt=function(e,t){return new nt(this,e,t)};function pi(e,t,r,i){return e.type=t,e.end=r,this.options.locations&&(e.loc.end=i),this.options.ranges&&(e.range[1]=r),e}$e.finishNode=function(e,t){return pi.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},$e.finishNodeAt=function(e,t,r,i){return pi.call(this,e,t,r,i)},$e.copyNode=function(e){var t=new nt(this,e.start,this.startLoc);for(var r in e)t[r]=e[r];return t};var Qr="Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz",di="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",yi=di+" Extended_Pictographic",mi=yi,gi=mi+" EBase EComp EMod EPres ExtPict",xi=gi,Xr=xi,Yr={9:di,10:yi,11:mi,12:gi,13:xi,14:Xr},Zr="Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji",Jr={9:"",10:"",11:"",12:"",13:"",14:Zr},bi="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",vi="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",Si=vi+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",wi=Si+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",ki=wi+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",Ei=ki+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",es=Ei+" "+Qr,ts={9:vi,10:Si,11:wi,12:ki,13:Ei,14:es},Ci={};function is(e){var t=Ci[e]={binary:de(Yr[e]+" "+bi),binaryOfStrings:de(Jr[e]),nonBinary:{General_Category:de(bi),Script:de(ts[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}for(var At=0,_i=[9,10,11,12,13,14];At<_i.length;At+=1){var rs=_i[At];is(rs)}var y=N.prototype,ot=function ot(t,r){this.parent=t,this.base=r||this};ot.prototype.separatedFrom=function(t){for(var r=this;r;r=r.parent)for(var i=t;i;i=i.parent)if(r.base===i.base&&r!==i)return!0;return!1},ot.prototype.sibling=function(){return new ot(this.parent,this.base)};var ie=function ie(t){this.parser=t,this.validFlags="gim"+(t.options.ecmaVersion>=6?"uy":"")+(t.options.ecmaVersion>=9?"s":"")+(t.options.ecmaVersion>=13?"d":"")+(t.options.ecmaVersion>=15?"v":""),this.unicodeProperties=Ci[t.options.ecmaVersion>=14?14:t.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=Object.create(null),this.backReferenceNames=[],this.branchID=null};ie.prototype.reset=function(t,r,i){var s=i.indexOf("v")!==-1,a=i.indexOf("u")!==-1;this.start=t|0,this.source=r+"",this.flags=i,s&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=a&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=a&&this.parser.options.ecmaVersion>=9)},ie.prototype.raise=function(t){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+t)},ie.prototype.at=function(t,r){r===void 0&&(r=!1);var i=this.source,s=i.length;if(t>=s)return-1;var a=i.charCodeAt(t);if(!(r||this.switchU)||a<=55295||a>=57344||t+1>=s)return a;var n=i.charCodeAt(t+1);return n>=56320&&n<=57343?(a<<10)+n-0x35fdc00:a},ie.prototype.nextIndex=function(t,r){r===void 0&&(r=!1);var i=this.source,s=i.length;if(t>=s)return s;var a=i.charCodeAt(t),n;return!(r||this.switchU)||a<=55295||a>=57344||t+1>=s||(n=i.charCodeAt(t+1))<56320||n>57343?t+1:t+2},ie.prototype.current=function(t){return t===void 0&&(t=!1),this.at(this.pos,t)},ie.prototype.lookahead=function(t){return t===void 0&&(t=!1),this.at(this.nextIndex(this.pos,t),t)},ie.prototype.advance=function(t){t===void 0&&(t=!1),this.pos=this.nextIndex(this.pos,t)},ie.prototype.eat=function(t,r){return r===void 0&&(r=!1),this.current(r)===t?(this.advance(r),!0):!1},ie.prototype.eatChars=function(t,r){r===void 0&&(r=!1);for(var i=this.pos,s=0,a=t;s<a.length;s+=1){var n=a[s],u=this.at(i,r);if(u===-1||u!==n)return!1;i=this.nextIndex(i,r)}return this.pos=i,!0},y.validateRegExpFlags=function(e){for(var t=e.validFlags,r=e.flags,i=!1,s=!1,a=0;a<r.length;a++){var n=r.charAt(a);t.indexOf(n)===-1&&this.raise(e.start,"Invalid regular expression flag"),r.indexOf(n,a+1)>-1&&this.raise(e.start,"Duplicate regular expression flag"),n==="u"&&(i=!0),n==="v"&&(s=!0)}this.options.ecmaVersion>=15&&i&&s&&this.raise(e.start,"Invalid regular expression flag")};function ss(e){for(var t in e)return!0;return!1}y.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&ss(e.groupNames)&&(e.switchN=!0,this.regexp_pattern(e))},y.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames=Object.create(null),e.backReferenceNames.length=0,e.branchID=null,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,r=e.backReferenceNames;t<r.length;t+=1){var i=r[t];e.groupNames[i]||e.raise("Invalid named capture referenced")}},y.regexp_disjunction=function(e){var t=this.options.ecmaVersion>=16;for(t&&(e.branchID=new ot(e.branchID,null)),this.regexp_alternative(e);e.eat(124);)t&&(e.branchID=e.branchID.sibling()),this.regexp_alternative(e);t&&(e.branchID=e.branchID.parent),this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")},y.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););},y.regexp_eatTerm=function(e){return this.regexp_eatAssertion(e)?(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)&&e.switchU&&e.raise("Invalid quantifier"),!0):(e.switchU?this.regexp_eatAtom(e):this.regexp_eatExtendedAtom(e))?(this.regexp_eatQuantifier(e),!0):!1},y.regexp_eatAssertion=function(e){var t=e.pos;if(e.lastAssertionIsQuantifiable=!1,e.eat(94)||e.eat(36))return!0;if(e.eat(92)){if(e.eat(66)||e.eat(98))return!0;e.pos=t}if(e.eat(40)&&e.eat(63)){var r=!1;if(this.options.ecmaVersion>=9&&(r=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!r,!0}return e.pos=t,!1},y.regexp_eatQuantifier=function(e,t){return t===void 0&&(t=!1),this.regexp_eatQuantifierPrefix(e,t)?(e.eat(63),!0):!1},y.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},y.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var i=0,s=-1;if(this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(s=e.lastIntValue),e.eat(125)))return s!==-1&&s<i&&!t&&e.raise("numbers out of order in {} quantifier"),!0;e.switchU&&!t&&e.raise("Incomplete quantifier"),e.pos=r}return!1},y.regexp_eatAtom=function(e){return this.regexp_eatPatternCharacters(e)||e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)},y.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1},y.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)){if(this.options.ecmaVersion>=16){var r=this.regexp_eatModifiers(e),i=e.eat(45);if(r||i){for(var s=0;s<r.length;s++){var a=r.charAt(s);r.indexOf(a,s+1)>-1&&e.raise("Duplicate regular expression modifiers")}if(i){var n=this.regexp_eatModifiers(e);!r&&!n&&e.current()===58&&e.raise("Invalid regular expression modifiers");for(var u=0;u<n.length;u++){var l=n.charAt(u);(n.indexOf(l,u+1)>-1||r.indexOf(l)>-1)&&e.raise("Duplicate regular expression modifiers")}}}}if(e.eat(58)){if(this.regexp_disjunction(e),e.eat(41))return!0;e.raise("Unterminated group")}}e.pos=t}return!1},y.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(e):e.current()===63&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1},y.regexp_eatModifiers=function(e){for(var t="",r=0;(r=e.current())!==-1&&as(r);)t+=ne(r),e.advance();return t};function as(e){return e===105||e===109||e===115}y.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)},y.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},y.regexp_eatSyntaxCharacter=function(e){var t=e.current();return Ii(t)?(e.lastIntValue=t,e.advance(),!0):!1};function Ii(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}y.regexp_eatPatternCharacters=function(e){for(var t=e.pos,r=0;(r=e.current())!==-1&&!Ii(r);)e.advance();return e.pos!==t},y.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124?(e.advance(),!0):!1},y.regexp_groupSpecifier=function(e){if(e.eat(63)){this.regexp_eatGroupName(e)||e.raise("Invalid group");var t=this.options.ecmaVersion>=16,r=e.groupNames[e.lastStringValue];if(r)if(t)for(var i=0,s=r;i<s.length;i+=1){var a=s[i];a.separatedFrom(e.branchID)||e.raise("Duplicate capture group name")}else e.raise("Duplicate capture group name");t?(r||(e.groupNames[e.lastStringValue]=[])).push(e.branchID):e.groupNames[e.lastStringValue]=!0}},y.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1},y.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=ne(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=ne(e.lastIntValue);return!0}return!1},y.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,i=e.current(r);return e.advance(r),i===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(i=e.lastIntValue),ns(i)?(e.lastIntValue=i,!0):(e.pos=t,!1)};function ns(e){return ae(e,!0)||e===36||e===95}y.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,i=e.current(r);return e.advance(r),i===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(i=e.lastIntValue),os(i)?(e.lastIntValue=i,!0):(e.pos=t,!1)};function os(e){return _e(e,!0)||e===36||e===95||e===8204||e===8205}y.regexp_eatAtomEscape=function(e){return this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)?!0:(e.switchU&&(e.current()===99&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)},y.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var r=e.lastIntValue;if(e.switchU)return r>e.maxBackReference&&(e.maxBackReference=r),!0;if(r<=e.numCapturingParens)return!0;e.pos=t}return!1},y.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1},y.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},y.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},y.regexp_eatZero=function(e){return e.current()===48&&!ut(e.lookahead())?(e.lastIntValue=0,e.advance(),!0):!1},y.regexp_eatControlEscape=function(e){var t=e.current();return t===116?(e.lastIntValue=9,e.advance(),!0):t===110?(e.lastIntValue=10,e.advance(),!0):t===118?(e.lastIntValue=11,e.advance(),!0):t===102?(e.lastIntValue=12,e.advance(),!0):t===114?(e.lastIntValue=13,e.advance(),!0):!1},y.regexp_eatControlLetter=function(e){var t=e.current();return Ai(t)?(e.lastIntValue=t%32,e.advance(),!0):!1};function Ai(e){return e>=65&&e<=90||e>=97&&e<=122}y.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){t===void 0&&(t=!1);var r=e.pos,i=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var s=e.lastIntValue;if(i&&s>=55296&&s<=56319){var a=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var n=e.lastIntValue;if(n>=56320&&n<=57343)return e.lastIntValue=(s-55296)*1024+(n-56320)+65536,!0}e.pos=a,e.lastIntValue=s}return!0}if(i&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&us(e.lastIntValue))return!0;i&&e.raise("Invalid unicode escape"),e.pos=r}return!1};function us(e){return e>=0&&e<=1114111}y.regexp_eatIdentityEscape=function(e){if(e.switchU)return this.regexp_eatSyntaxCharacter(e)?!0:e.eat(47)?(e.lastIntValue=47,!0):!1;var t=e.current();return t!==99&&(!e.switchN||t!==107)?(e.lastIntValue=t,e.advance(),!0):!1},y.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do e.lastIntValue=10*e.lastIntValue+(t-48),e.advance();while((t=e.current())>=48&&t<=57);return!0}return!1};var Pi=0,ue=1,J=2;y.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(ls(t))return e.lastIntValue=-1,e.advance(),ue;var r=!1;if(e.switchU&&this.options.ecmaVersion>=9&&((r=t===80)||t===112)){e.lastIntValue=-1,e.advance();var i;if(e.eat(123)&&(i=this.regexp_eatUnicodePropertyValueExpression(e))&&e.eat(125))return r&&i===J&&e.raise("Invalid property name"),i;e.raise("Invalid property name")}return Pi};function ls(e){return e===100||e===68||e===115||e===83||e===119||e===87}y.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var r=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,r,i),ue}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var s=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,s)}return Pi},y.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){Ae(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(r)||e.raise("Invalid property value")},y.regexp_validateUnicodePropertyNameOrValue=function(e,t){if(e.unicodeProperties.binary.test(t))return ue;if(e.switchV&&e.unicodeProperties.binaryOfStrings.test(t))return J;e.raise("Invalid property name")},y.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";Li(t=e.current());)e.lastStringValue+=ne(t),e.advance();return e.lastStringValue!==""};function Li(e){return Ai(e)||e===95}y.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";cs(t=e.current());)e.lastStringValue+=ne(t),e.advance();return e.lastStringValue!==""};function cs(e){return Li(e)||ut(e)}y.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},y.regexp_eatCharacterClass=function(e){if(e.eat(91)){var t=e.eat(94),r=this.regexp_classContents(e);return e.eat(93)||e.raise("Unterminated character class"),t&&r===J&&e.raise("Negated character class may contain strings"),!0}return!1},y.regexp_classContents=function(e){return e.current()===93?ue:e.switchV?this.regexp_classSetExpression(e):(this.regexp_nonEmptyClassRanges(e),ue)},y.regexp_nonEmptyClassRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var r=e.lastIntValue;e.switchU&&(t===-1||r===-1)&&e.raise("Invalid character class"),t!==-1&&r!==-1&&t>r&&e.raise("Range out of order in character class")}}},y.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var r=e.current();(r===99||Ni(r))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var i=e.current();return i!==93?(e.lastIntValue=i,e.advance(),!0):!1},y.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},y.regexp_classSetExpression=function(e){var t=ue,r;if(!this.regexp_eatClassSetRange(e))if(r=this.regexp_eatClassSetOperand(e)){r===J&&(t=J);for(var i=e.pos;e.eatChars([38,38]);){if(e.current()!==38&&(r=this.regexp_eatClassSetOperand(e))){r!==J&&(t=ue);continue}e.raise("Invalid character in character class")}if(i!==e.pos)return t;for(;e.eatChars([45,45]);)this.regexp_eatClassSetOperand(e)||e.raise("Invalid character in character class");if(i!==e.pos)return t}else e.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(e)){if(r=this.regexp_eatClassSetOperand(e),!r)return t;r===J&&(t=J)}},y.regexp_eatClassSetRange=function(e){var t=e.pos;if(this.regexp_eatClassSetCharacter(e)){var r=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassSetCharacter(e)){var i=e.lastIntValue;return r!==-1&&i!==-1&&r>i&&e.raise("Range out of order in character class"),!0}e.pos=t}return!1},y.regexp_eatClassSetOperand=function(e){return this.regexp_eatClassSetCharacter(e)?ue:this.regexp_eatClassStringDisjunction(e)||this.regexp_eatNestedClass(e)},y.regexp_eatNestedClass=function(e){var t=e.pos;if(e.eat(91)){var r=e.eat(94),i=this.regexp_classContents(e);if(e.eat(93))return r&&i===J&&e.raise("Negated character class may contain strings"),i;e.pos=t}if(e.eat(92)){var s=this.regexp_eatCharacterClassEscape(e);if(s)return s;e.pos=t}return null},y.regexp_eatClassStringDisjunction=function(e){var t=e.pos;if(e.eatChars([92,113])){if(e.eat(123)){var r=this.regexp_classStringDisjunctionContents(e);if(e.eat(125))return r}else e.raise("Invalid escape");e.pos=t}return null},y.regexp_classStringDisjunctionContents=function(e){for(var t=this.regexp_classString(e);e.eat(124);)this.regexp_classString(e)===J&&(t=J);return t},y.regexp_classString=function(e){for(var t=0;this.regexp_eatClassSetCharacter(e);)t++;return t===1?ue:J},y.regexp_eatClassSetCharacter=function(e){var t=e.pos;if(e.eat(92))return this.regexp_eatCharacterEscape(e)||this.regexp_eatClassSetReservedPunctuator(e)?!0:e.eat(98)?(e.lastIntValue=8,!0):(e.pos=t,!1);var r=e.current();return r<0||r===e.lookahead()&&fs(r)||hs(r)?!1:(e.advance(),e.lastIntValue=r,!0)};function fs(e){return e===33||e>=35&&e<=38||e>=42&&e<=44||e===46||e>=58&&e<=64||e===94||e===96||e===126}function hs(e){return e===40||e===41||e===45||e===47||e>=91&&e<=93||e>=123&&e<=125}y.regexp_eatClassSetReservedPunctuator=function(e){var t=e.current();return ps(t)?(e.lastIntValue=t,e.advance(),!0):!1};function ps(e){return e===33||e===35||e===37||e===38||e===44||e===45||e>=58&&e<=62||e===64||e===96||e===126}y.regexp_eatClassControlLetter=function(e){var t=e.current();return ut(t)||t===95?(e.lastIntValue=t%32,e.advance(),!0):!1},y.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1},y.regexp_eatDecimalDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;ut(r=e.current());)e.lastIntValue=10*e.lastIntValue+(r-48),e.advance();return e.pos!==t};function ut(e){return e>=48&&e<=57}y.regexp_eatHexDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;Ti(r=e.current());)e.lastIntValue=16*e.lastIntValue+Vi(r),e.advance();return e.pos!==t};function Ti(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function Vi(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}y.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var r=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=t*64+r*8+e.lastIntValue:e.lastIntValue=t*8+r}else e.lastIntValue=t;return!0}return!1},y.regexp_eatOctalDigit=function(e){var t=e.current();return Ni(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)};function Ni(e){return e>=48&&e<=55}y.regexp_eatFixedHexDigits=function(e,t){var r=e.pos;e.lastIntValue=0;for(var i=0;i<t;++i){var s=e.current();if(!Ti(s))return e.pos=r,!1;e.lastIntValue=16*e.lastIntValue+Vi(s),e.advance()}return!0};var Pt=function Pt(t){this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,t.options.locations&&(this.loc=new Je(t,t.startLoc,t.endLoc)),t.options.ranges&&(this.range=[t.start,t.end])},b=N.prototype;b.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Pt(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},b.getToken=function(){return this.next(),new Pt(this)},(typeof Symbol==="undefined"?"undefined":_type_of(Symbol))<"u"&&(b[Symbol.iterator]=function(){var e=this;return{next:function next(){var t=e.getToken();return{done:t.type===o.eof,value:t}}}}),b.nextToken=function(){var e=this.curContext();if((!e||!e.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(o.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())},b.readToken=function(e){return ae(e,this.options.ecmaVersion>=6)||e===92?this.readWord():this.getTokenFromCode(e)},b.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=56320)return e;var t=this.input.charCodeAt(this.pos+1);return t<=56319||t>=57344?e:(e<<10)+t-0x35fdc00},b.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(r===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(var i=void 0,s=t;(i=Zt(this.input,s,this.pos))>-1;)++this.curLine,s=this.lineStart=i;this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,r),t,this.pos,e,this.curPosition())},b.skipLineComment=function(e){for(var t=this.pos,r=this.options.onComment&&this.curPosition(),i=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!Ie(i);)i=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(t+e,this.pos),t,this.pos,r,this.curPosition())},b.skipSpace=function(){e:for(;this.pos<this.input.length;){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(e>8&&e<14||e>=5760&&Jt.test(String.fromCharCode(e)))++this.pos;else break e}}},b.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var r=this.type;this.type=e,this.value=t,this.updateContext(r)},b.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&e===46&&t===46?(this.pos+=3,this.finishToken(o.ellipsis)):(++this.pos,this.finishToken(o.dot))},b.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(o.assign,2):this.finishOp(o.slash,1)},b.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),r=1,i=e===42?o.star:o.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++r,i=o.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(o.assign,r+1):this.finishOp(i,r)},b.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61)return this.finishOp(o.assign,3)}return this.finishOp(e===124?o.logicalOR:o.logicalAND,2)}return t===61?this.finishOp(o.assign,2):this.finishOp(e===124?o.bitwiseOR:o.bitwiseAND,1)},b.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);return e===61?this.finishOp(o.assign,2):this.finishOp(o.bitwiseXOR,1)},b.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||X.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(o.incDec,2):t===61?this.finishOp(o.assign,2):this.finishOp(o.plusMin,1)},b.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),r=1;return t===e?(r=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+r)===61?this.finishOp(o.assign,r+1):this.finishOp(o.bitShift,r)):t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(t===61&&(r=2),this.finishOp(o.relational,r))},b.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(o.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(o.arrow)):this.finishOp(e===61?o.eq:o.prefix,1)},b.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var r=this.input.charCodeAt(this.pos+2);if(r<48||r>57)return this.finishOp(o.questionDot,2)}if(t===63){if(e>=12){var i=this.input.charCodeAt(this.pos+2);if(i===61)return this.finishOp(o.assign,3)}return this.finishOp(o.coalesce,2)}}return this.finishOp(o.question,1)},b.readToken_numberSign=function(){var e=this.options.ecmaVersion,t=35;if(e>=13&&(++this.pos,t=this.fullCharCodeAtPos(),ae(t,!0)||t===92))return this.finishToken(o.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+ne(t)+"'")},b.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(o.parenL);case 41:return++this.pos,this.finishToken(o.parenR);case 59:return++this.pos,this.finishToken(o.semi);case 44:return++this.pos,this.finishToken(o.comma);case 91:return++this.pos,this.finishToken(o.bracketL);case 93:return++this.pos,this.finishToken(o.bracketR);case 123:return++this.pos,this.finishToken(o.braceL);case 125:return++this.pos,this.finishToken(o.braceR);case 58:return++this.pos,this.finishToken(o.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(o.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(t===111||t===79)return this.readRadixNumber(8);if(t===98||t===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(o.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+ne(e)+"'")},b.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,r)},b.readRegexp=function(){for(var e,t,r=this.pos;;){this.pos>=this.input.length&&this.raise(r,"Unterminated regular expression");var i=this.input.charAt(this.pos);if(X.test(i)&&this.raise(r,"Unterminated regular expression"),e)e=!1;else{if(i==="[")t=!0;else if(i==="]"&&t)t=!1;else if(i==="/"&&!t)break;e=i==="\\"}++this.pos}var s=this.input.slice(r,this.pos);++this.pos;var a=this.pos,n=this.readWord1();this.containsEsc&&this.unexpected(a);var u=this.regexpState||(this.regexpState=new ie(this));u.reset(r,s,n),this.validateRegExpFlags(u),this.validateRegExpPattern(u);var l=null;try{l=new RegExp(s,n)}catch(e){}return this.finishToken(o.regexp,{pattern:s,flags:n,value:l})},b.readInt=function(e,t,r){for(var i=this.options.ecmaVersion>=12&&t===void 0,s=r&&this.input.charCodeAt(this.pos)===48,a=this.pos,n=0,u=0,l=0,c=t!==null&&t!==void 0?t:1/0;l<c;++l,++this.pos){var f=this.input.charCodeAt(this.pos),g=void 0;if(i&&f===95){s&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),u===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),l===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),u=f;continue}if(f>=97?g=f-97+10:f>=65?g=f-65+10:f>=48&&f<=57?g=f-48:g=1/0,g>=e)break;u=f,n=n*e+g}return i&&u===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===a||t!=null&&this.pos-a!==t?null:n};function ds(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function Ri(e){return typeof BigInt!="function"?null:BigInt(e.replace(/_/g,""))}b.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var r=this.readInt(e);return r==null&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(r=Ri(this.input.slice(t,this.pos)),++this.pos):ae(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(o.num,r)},b.readNumber=function(e){var t=this.pos;!e&&this.readInt(10,void 0,!0)===null&&this.raise(t,"Invalid number");var r=this.pos-t>=2&&this.input.charCodeAt(t)===48;r&&this.strict&&this.raise(t,"Invalid number");var i=this.input.charCodeAt(this.pos);if(!r&&!e&&this.options.ecmaVersion>=11&&i===110){var s=Ri(this.input.slice(t,this.pos));return++this.pos,ae(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(o.num,s)}r&&/[89]/.test(this.input.slice(t,this.pos))&&(r=!1),i===46&&!r&&(++this.pos,this.readInt(10),i=this.input.charCodeAt(this.pos)),(i===69||i===101)&&!r&&(i=this.input.charCodeAt(++this.pos),(i===43||i===45)&&++this.pos,this.readInt(10)===null&&this.raise(t,"Invalid number")),ae(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var a=ds(this.input.slice(t,this.pos),r);return this.finishToken(o.num,a)},b.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){this.options.ecmaVersion<6&&this.unexpected();var r=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(r,"Code point out of bounds")}else t=this.readHexChar(4);return t},b.readString=function(e){for(var t="",r=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var i=this.input.charCodeAt(this.pos);if(i===e)break;i===92?(t+=this.input.slice(r,this.pos),t+=this.readEscapedChar(!1),r=this.pos):i===8232||i===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(Ie(i)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(r,this.pos++),this.finishToken(o.string,t)};var Bi={};b.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===Bi)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1},b.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Bi;this.raise(e,t)},b.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var r=this.input.charCodeAt(this.pos);if(r===96||r===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===o.template||this.type===o.invalidTemplate)?r===36?(this.pos+=2,this.finishToken(o.dollarBraceL)):(++this.pos,this.finishToken(o.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(o.template,e));if(r===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(Ie(r)){switch(e+=this.input.slice(t,this.pos),++this.pos,r){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(r);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},b.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{")break;case"`":return this.finishToken(o.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":this.input[this.pos+1]==="\n"&&++this.pos;case"\n":case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1;break}this.raise(this.start,"Unterminated template")},b.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return"\n";case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return ne(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),e){var r=this.pos-1;this.invalidStringToken(r,"Invalid escape sequence in template string")}default:if(t>=48&&t<=55){var i=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],s=parseInt(i,8);return s>255&&(i=i.slice(0,-1),s=parseInt(i,8)),this.pos+=i.length-1,t=this.input.charCodeAt(this.pos),(i!=="0"||t===56||t===57)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-i.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(s)}return Ie(t)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(t)}},b.readHexChar=function(e){var t=this.pos,r=this.readInt(16,e);return r===null&&this.invalidStringToken(t,"Bad character escape sequence"),r},b.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,r=this.pos,i=this.options.ecmaVersion>=6;this.pos<this.input.length;){var s=this.fullCharCodeAtPos();if(_e(s,i))this.pos+=s<=65535?1:2;else if(s===92){this.containsEsc=!0,e+=this.input.slice(r,this.pos);var a=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var n=this.readCodePoint();(t?ae:_e)(n,i)||this.invalidStringToken(a,"Invalid Unicode escape"),e+=ne(n),r=this.pos}else break;t=!1}return e+this.input.slice(r,this.pos)},b.readWord=function(){var e=this.readWord1(),t=o.name;return this.keywords.test(e)&&(t=bt[e]),this.finishToken(t,e)};var ys="8.14.1";N.acorn={Parser:N,version:ys,defaultOptions:vt,Position:Fe,SourceLocation:Je,getLineInfo:ri,Node:nt,TokenType:E,tokTypes:o,keywordTypes:bt,TokContext:ee,tokContexts:I,isIdentifierChar:_e,isIdentifierStart:ae,Token:Pt,isNewLine:Ie,lineBreak:X,lineBreakG:Dr,nonASCIIwhitespace:Jt};function ms(e,t){return N.parse(e,t)}var ve={RES:void 0},w={RES:void 0},C={LABEL:void 0},_={LABEL:void 0},lt=R("super"),me=R("supercall"),ct=R("noctor"),Te=R("clsctor"),ft=R("newtarget"),B=R("private"),M=R("noinit"),$=R("deadzone"),A=R("optchain"),Se=R("import"),G=R("exports"),H=R("strict"),ht=R("strict-fn");var pt=/*#__PURE__*/function(){function pt(t,r){_class_call_check(this,pt);this.kind=t,this.value=r}_create_class(pt,[{key:"get",value:function get(){return this.value}},{key:"set",value:function set(t){if(this.kind==="const")throw new TypeError("Assignment to constant variable");return this.value=t}}]);return pt}();var ge=/*#__PURE__*/function(){function ge(t,r){_class_call_check(this,ge);this.object=t,this.property=r}_create_class(ge,[{key:"get",value:function get(){return this.object[this.property]}},{key:"set",value:function set(t){return this.object[this.property]=t,!0}},{key:"del",value:function del(){return delete this.object[this.property]}}]);return ge}();var T=/*#__PURE__*/function(){function T(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;_class_call_check(this,T);this.context=Ce(null),this.withContext=Ce(null),this.parent=t,this.isolated=r}_create_class(T,[{key:"global",value:function global1(){var t=this;for(;t.parent;)t=t.parent;return t}},{key:"find",value:function find(t){if(this.context[t])return this.context[t];if(t in this.withContext)return new ge(this.withContext,t);if(this.parent)return this.parent.find(t);{var r=this.global().find("window").get();return t in r?new ge(r,t):null}}},{key:"var",value:function _var(t,r){var i=this;for(;i.parent&&!i.isolated;)i=i.parent;var s=i.context[t];if(!s)i.context[t]=new pt("var",r===M?void 0:r);else if(s.kind==="var")r!==M&&s.set(r);else throw new SyntaxError("Identifier '".concat(t,"' has already been declared"));if(!i.parent){var a=i.find("window").get();r!==M&&v(a,t,{value:r,writable:!0,enumerable:!0})}}},{key:"let",value:function _let(t,r){var i=this.context[t];if(!i||i.get()===$)this.context[t]=new pt("let",r);else throw new SyntaxError("Identifier '".concat(t,"' has already been declared"))}},{key:"const",value:function _const(t,r){var i=this.context[t];if(!i||i.get()===$)this.context[t]=new pt("const",r);else throw new SyntaxError("Identifier '".concat(t,"' has already been declared"))}},{key:"func",value:function func(t,r){var i=this.context[t];if(!i||i.kind==="var")this.context[t]=new pt("var",r);else throw new SyntaxError("Identifier '".concat(t,"' has already been declared"))}},{key:"with",value:function _with(t){Object.keys(t)&&(this.withContext=t)}}]);return T}();var gs={version:"0.6.11"};function Lt(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};var r=t.res,i=t.err,s=t.ret,a=t.fullRet;return new Promise(function(n,u){var l=function l(g){var P;try{P=e.next(g)}catch(O){return u(O)}return f(P),null};var c=function c(g){var P;try{P=e.throw(g)}catch(O){return u(O)}f(P)};var f=function f(g){if(g.done)return n(a?g:g.value);if(g.value!==ve)return n(g);var P=g.value.RES;return(P&&P.then==="function"?P:Promise.resolve(P)).then(l,c)};if("ret"in t)return n(e.return(s));"err"in t?c(i):l(r)})}function Ve(e,t){var r,tmp,i,tmp1,s,a,n;var _arguments=arguments;return _ts_generator(this,function(_state){r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};tmp=r.getVar,i=tmp===void 0?!1:tmp,tmp1=r.throwErr,s=tmp1===void 0?!0:tmp1;if(e.name==="undefined")return[2];a=t.find(e.name);if(a){if(i)return[2,a];{n=a.get();if(n===$)throw new ReferenceError("".concat(e.name," is not defined"));return[2,n]}}else{if(s)throw new ReferenceError("".concat(e.name," is not defined"));return[2]}return[2]})}var xs=Object.freeze(Object.defineProperty({__proto__:null,Identifier:Ve},Symbol.toStringTag,{value:"Module"}));function Oi(e,t){return _ts_generator(this,function(_state){return[2,e.regex?new RegExp(e.regex.pattern,e.regex.flags):e.value]})}var bs=Object.freeze(Object.defineProperty({__proto__:null,Literal:Oi},Symbol.toStringTag,{value:"Module"}));function vs(e,t){var r;return _ts_generator(this,function(_state){r=t.find(me);if(r&&r.get()!==!0)throw new ReferenceError("Must call super constructor in derived class before accessing 'this' or returning from derived constructor");return[2,t.find("this").get()]})}function Ss(e,t){var r,i,s,_tmp,_,_1;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=[];i=0;_state.label=1;case 1:if(!(i<e.elements.length))return[3,7];s=e.elements[i];if(!(s.type==="SpreadElement"))return[3,3];_=r.concat;return[5,_ts_values(We(s,t))];case 2:_tmp=r=_.apply(r,[_state.sent()]);return[3,5];case 3:_1=r.push;return[5,_ts_values(p(s,t))];case 4:_tmp=_1.apply(r,[_state.sent()]);_state.label=5;case 5:_tmp;_state.label=6;case 6:i++;return[3,1];case 7:return[2,r]}})}function ws(e,t){var r,i,s,_tmp,a,n,_tmp1,_tmp2,_,u,l,c,c1;return _ts_generator(this,function(_state){switch(_state.label){case 0:r={};i=0;_state.label=1;case 1:if(!(i<e.properties.length))return[3,12];s=e.properties[i];if(!(s.type==="SpreadElement"))return[3,3];_tmp=[r];return[5,_ts_values(We(s,t,{spreadProps:!0}))];case 2:j.apply(void 0,_tmp.concat([_state.sent()]));return[3,11];case 3:a=void 0;n=s.key;if(!s.computed)return[3,5];return[5,_ts_values(p(n,t))];case 4:_tmp1=a=_state.sent();return[3,9];case 5:if(!(n.type==="Identifier"))return[3,6];_tmp2=a=n.name;return[3,8];case 6:_="";return[5,_ts_values(Oi(n))];case 7:_tmp2=a=_+_state.sent();_state.label=8;case 8:_tmp1=_tmp2;_state.label=9;case 9:_tmp1;return[5,_ts_values(p(s.value,t))];case 10:u=_state.sent(),l=s.kind;if(l==="init")r[a]=u;else if(l==="get"){c=pe(r,a);v(r,a,{get:u,set:c&&c.set,enumerable:!0,configurable:!0})}else{c1=pe(r,a);v(r,a,{get:c1&&c1.get,set:u,enumerable:!0,configurable:!0})}_state.label=11;case 11:i++;return[3,1];case 12:return[2,r]}})}function ks(e,t){var r,i;return _ts_generator(this,function(_state){if(e.id&&e.id.name){r=new T(t),i=se(e,r);return[2,(r.const(e.id.name,i),i)]}else return[2,se(e,t)];return[2]})}function Es(e,t){var r,_,_tmp;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=e.argument;_=e.operator;switch(_){case"+":return[3,1];case"-":return[3,3];case"!":return[3,5];case"~":return[3,7];case"void":return[3,9];case"typeof":return[3,11];case"delete":return[3,16]}return[3,20];case 1:return[5,_ts_values(p(r,t))];case 2:return[2,+_state.sent()];case 3:return[5,_ts_values(p(r,t))];case 4:return[2,-_state.sent()];case 5:return[5,_ts_values(p(r,t))];case 6:return[2,!_state.sent()];case 7:return[5,_ts_values(p(r,t))];case 8:return[2,~_state.sent()];case 9:return[5,_ts_values(p(r,t))];case 10:return[2,void _state.sent()];case 11:if(!(r.type==="Identifier"))return[3,13];return[5,_ts_values(Ve(r,t,{throwErr:!1}))];case 12:_tmp=_type_of.apply(void 0,[_state.sent()]);return[3,15];case 13:return[5,_ts_values(p(r,t))];case 14:_tmp=_type_of.apply(void 0,[_state.sent()]);_state.label=15;case 15:return[2,_tmp];case 16:if(!(r.type==="MemberExpression"))return[3,18];return[5,_ts_values(qe(r,t,{getVar:!0}))];case 17:return[2,_state.sent().del()];case 18:if(r.type==="Identifier")throw new SyntaxError("Delete of an unqualified identifier in strict mode");return[5,_ts_values(p(r,t))];case 19:return[2,(_state.sent(),!0)];case 20:throw new SyntaxError("Unexpected token ".concat(e.operator));case 21:return[2]}})}function Cs(e,t){var r,i,s;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=e.argument;if(!(r.type==="Identifier"))return[3,2];return[5,_ts_values(Ve(r,t,{getVar:!0}))];case 1:i=_state.sent();return[3,5];case 2:if(!(r.type==="MemberExpression"))return[3,4];return[5,_ts_values(qe(r,t,{getVar:!0}))];case 3:i=_state.sent();return[3,5];case 4:throw new SyntaxError("Unexpected token");case 5:s=i.get();if(e.operator==="++")return[2,(i.set(s+1),e.prefix?i.get():s)];if(e.operator==="--")return[2,(i.set(s-1),e.prefix?i.get():s)];throw new SyntaxError("Unexpected token ".concat(e.operator))}})}function _s(e,t){var r,i,_tmp;return _ts_generator(this,function(_state){switch(_state.label){case 0:if(!(e.left.type==="PrivateIdentifier"))return[3,2];r=e.left.name;return[5,_ts_values(p(e.right,t))];case 1:_tmp=(i=_state.sent(),i=i[B]||{});return[3,5];case 2:return[5,_ts_values(p(e.left,t))];case 3:r=_state.sent();return[5,_ts_values(p(e.right,t))];case 4:_tmp=i=_state.sent();_state.label=5;case 5:switch(_tmp,e.operator){case"==":return[2,r==i];case"!=":return[2,r!=i];case"===":return[2,r===i];case"!==":return[2,r!==i];case"<":return[2,r<i];case"<=":return[2,r<=i];case">":return[2,r>i];case">=":return[2,r>=i];case"<<":return[2,r<<i];case">>":return[2,r>>i];case">>>":return[2,r>>>i];case"+":return[2,r+i];case"-":return[2,r-i];case"*":return[2,r*i];case"**":return[2,Math.pow(r,i)];case"/":return[2,r/i];case"%":return[2,r%i];case"|":return[2,r|i];case"^":return[2,r^i];case"&":return[2,r&i];case"in":return[2,r in i];case"instanceof":return[2,_instanceof(r,i)];default:throw new SyntaxError("Unexpected token ".concat(e.operator))}return[2]}})}function Is(e,t){var r,i,a,n,a1,s,_i_get;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=e.left;if(!(r.type==="Identifier"))return[3,2];return[5,_ts_values(Ve(r,t,{getVar:!0,throwErr:!1}))];case 1:if(i=_state.sent(),!i){a=t.find(H);if(a&&a.get())throw new ReferenceError("".concat(r.name," is not defined"));n=t.global().find("window").get();i=new ge(n,r.name)}return[3,7];case 2:if(!(r.type==="MemberExpression"))return[3,4];return[5,_ts_values(qe(r,t,{getVar:!0}))];case 3:i=_state.sent();return[3,7];case 4:return[5,_ts_values(p(e.right,t))];case 5:a1=_state.sent();return[5,_ts_values(W(r,t,{feed:a1}))];case 6:return[2,_state.sent()];case 7:return[5,_ts_values(p(e.right,t))];case 8:s=_state.sent();switch(e.operator){case"=":return[2,(i.set(s),i.get())];case"+=":return[2,(i.set(i.get()+s),i.get())];case"-=":return[2,(i.set(i.get()-s),i.get())];case"*=":return[2,(i.set(i.get()*s),i.get())];case"/=":return[2,(i.set(i.get()/s),i.get())];case"%=":return[2,(i.set(i.get()%s),i.get())];case"**=":return[2,(i.set(Math.pow(i.get(),s)),i.get())];case"<<=":return[2,(i.set(i.get()<<s),i.get())];case">>=":return[2,(i.set(i.get()>>s),i.get())];case">>>=":return[2,(i.set(i.get()>>>s),i.get())];case"|=":return[2,(i.set(i.get()|s),i.get())];case"^=":return[2,(i.set(i.get()^s),i.get())];case"&=":return[2,(i.set(i.get()&s),i.get())];case"??=":;return[2,(i.set((_i_get=i.get())!==null&&_i_get!==void 0?_i_get:s),i.get())];case"&&=":return[2,(i.set(i.get()&&s),i.get())];case"||=":return[2,(i.set(i.get()||s),i.get())];default:throw new SyntaxError("Unexpected token ".concat(e.operator))}return[2]}})}function As(e,t){var _,_tmp,_tmp1,_ref,_tmp2;return _ts_generator(this,function(_state){switch(_state.label){case 0:_=e.operator;switch(_){case"||":return[3,1];case"&&":return[3,5];case"??":return[3,9]}return[3,14];case 1:return[5,_ts_values(p(e.left,t))];case 2:_tmp=_state.sent();if(_tmp)return[3,4];return[5,_ts_values(p(e.right,t))];case 3:_tmp=_state.sent();_state.label=4;case 4:return[2,_tmp];case 5:return[5,_ts_values(p(e.left,t))];case 6:_tmp1=_state.sent();if(!_tmp1)return[3,8];return[5,_ts_values(p(e.right,t))];case 7:_tmp1=_state.sent();_state.label=8;case 8:return[2,_tmp1];case 9:return[5,_ts_values(p(e.left,t))];case 10:if(!((_ref=_state.sent())!==null&&_ref!==void 0))return[3,11];_tmp2=_ref;return[3,13];case 11:return[5,_ts_values(p(e.right,t))];case 12:_tmp2=_state.sent();_state.label=13;case 13:return[2,_tmp2];case 14:throw new SyntaxError("Unexpected token ".concat(e.operator));case 15:return[2]}})}function qe(e,t){var r,tmp,i,tmp1,s,a,_tmp,n,u,_tmp1,l,c,f,l1,c1;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};tmp=r.getObj,i=tmp===void 0?!1:tmp,tmp1=r.getVar,s=tmp1===void 0?!1:tmp1;if(!(e.object.type==="Super"))return[3,2];return[5,_ts_values(Fi(e.object,t,{getProto:!0}))];case 1:_tmp=a=_state.sent();return[3,4];case 2:return[5,_ts_values(p(e.object,t))];case 3:_tmp=a=_state.sent();_state.label=4;case 4:if(_tmp,a===A)return[2,A];if(i)return[2,a];u=!1;if(!e.computed)return[3,6];return[5,_ts_values(p(e.property,t))];case 5:_tmp1=n=_state.sent();return[3,7];case 6:_tmp1=e.property.type==="PrivateIdentifier"?(n=e.property.name,u=!0):n=e.property.name;_state.label=7;case 7:if(_tmp1,u&&(a=a[B]),s){l=Ht(a,n);if(e.object.type==="Super"&&l){c=t.find("this").get(),f=R(n);return[2,(v(c,f,{set:l}),new ge(c,f))]}else return[2,new ge(a,n)]}else{l1=Gt(a,n);if(e.object.type==="Super"&&l1){c1=t.find("this").get();return[2,e.optional&&c1==null?A:l1.call(c1)]}else return[2,e.optional&&a==null?A:a[n]]}return[2]}})}function Ps(e,t){var _tmp;return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(p(e.test,t))];case 1:if(!_state.sent())return[3,3];return[5,_ts_values(p(e.consequent,t))];case 2:_tmp=_state.sent();return[3,5];case 3:return[5,_ts_values(p(e.alternate,t))];case 4:_tmp=_state.sent();_state.label=5;case 5:return[2,_tmp]}})}function Ls(e,t){var a,r,i,_$n,u,_tmp,l,c,_$n1,s,_$n2,u1,_tmp1,_,_1,u2,l1,u3;return _ts_generator(this,function(_state){switch(_state.label){case 0:if(!(e.callee.type==="MemberExpression"))return[3,5];return[5,_ts_values(qe(e.callee,t,{getObj:!0}))];case 1:if(i=_state.sent(),i===A||e.callee.optional&&i==null)return[2,A];u=!1;if(!e.callee.computed)return[3,3];return[5,_ts_values(p(e.callee.property,t))];case 2:_tmp=_$n=_state.sent();return[3,4];case 3:_tmp=e.callee.property.type==="PrivateIdentifier"?(_$n=e.callee.property.name,u=!0):_$n=e.callee.property.name;_state.label=4;case 4:_tmp;l=i;if(u&&(l=l[B]),e.callee.object.type==="Super"){c=t.find("this").get();r=l[_$n].bind(c)}else r=l[_$n];if(e.optional&&r==null)return[2,A];if(typeof r!="function")throw new TypeError("".concat(_$n," is not a function"));if(Te in r)throw new TypeError("Class constructor ".concat(_$n," cannot be invoked without 'new'"));return[3,7];case 5:return[5,_ts_values(p(e.callee,t))];case 6:if(r=_state.sent(),r===A||e.optional&&r==null)return[2,A];if(typeof r!="function"||e.callee.type!=="Super"&&Te in r){;if(e.callee.type==="Identifier")_$n1=e.callee.name;else try{_$n1=JSON.stringify(r)}catch(e){_$n1=""+r}throw typeof r!="function"?new TypeError("".concat(_$n1," is not a function")):new TypeError("Class constructor ".concat(_$n1," cannot be invoked without 'new'"))}e.callee.type==="Super"?i=t.find("this").get():i=!!((a=t.find(H))!=null&&a.get())||!!(r&&r[ht])?void 0:t.find("this").get();_state.label=7;case 7:s=[];_$n2=0;_state.label=8;case 8:if(!(_$n2<e.arguments.length))return[3,14];u1=e.arguments[_$n2];if(!(u1.type==="SpreadElement"))return[3,10];_=s.concat;return[5,_ts_values(We(u1,t))];case 9:_tmp1=s=_.apply(s,[_state.sent()]);return[3,12];case 10:_1=s.push;return[5,_ts_values(p(u1,t))];case 11:_tmp1=_1.apply(s,[_state.sent()]);_state.label=12;case 12:_tmp1;_state.label=13;case 13:_$n2++;return[3,8];case 14:if(!(e.callee.type==="Super"))return[3,16];u2=t.find(me).get();if(u2===!0)throw new ReferenceError("Super constructor may only be called once");l1=Xe(i,r,s);return[5,_ts_values(u2(l1))];case 15:return[2,(_state.sent(),t.find("this").set(l1),t.find(me).set(!0),l1)];case 16:try{return[2,r.apply(i,s)]}catch(n){if(_instanceof(n,TypeError)&&n.message==="Illegal invocation"&&r.toString().indexOf("[native code]")!==-1){u3=t.global().find("window").get();if(u3&&u3[De])return[2,r.apply(u3[De],s)]}throw n}return[2]}})}function Ts(e,t){var r,s,i,s1,a,_tmp,_,_1;return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(p(e.callee,t))];case 1:r=_state.sent();if(typeof r!="function"){;if(e.callee.type==="Identifier")s=e.callee.name;else try{s=JSON.stringify(r)}catch(e){s=""+r}throw new TypeError("".concat(s," is not a constructor"))}else if(r[ct])throw new TypeError("".concat(r.name||"(intermediate value)"," is not a constructor"));i=[];s1=0;_state.label=2;case 2:if(!(s1<e.arguments.length))return[3,8];a=e.arguments[s1];if(!(a.type==="SpreadElement"))return[3,4];_=i.concat;return[5,_ts_values(We(a,t))];case 3:_tmp=i=_.apply(i,[_state.sent()]);return[3,6];case 4:_1=i.push;return[5,_ts_values(p(a,t))];case 5:_tmp=_1.apply(i,[_state.sent()]);_state.label=6;case 6:_tmp;_state.label=7;case 7:s1++;return[3,2];case 8:return[2,_construct(r,_to_consumable_array(i))]}})}function Vs(e,t){return _ts_generator(this,function(_state){if(e.meta.name==="new"&&e.property.name==="target")return[2,t.find(ft).get()];if(e.meta.name==="import"&&e.property.name==="meta")return[2,{url:""}];return[2]})}function Ns(e,t){var r,i;return _ts_generator(this,function(_state){switch(_state.label){case 0:i=0;_state.label=1;case 1:if(!(i<e.expressions.length))return[3,4];return[5,_ts_values(p(e.expressions[i],t))];case 2:r=_state.sent();_state.label=3;case 3:i++;return[3,1];case 4:return[2,r]}})}function Rs(e,t){return _ts_generator(this,function(_state){return[2,se(e,t)]})}function Bs(e,t){var r,i,s,a,n,_tmp;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=e.quasis.slice(),i=e.expressions.slice();s="";_state.label=1;case 1:if(!(a=r.shift()))return[3,6];return[5,_ts_values(Di(a))];case 2:s+=_state.sent(),n=i.shift();_tmp=n;if(!_tmp)return[3,4];return[5,_ts_values(p(n,t))];case 3:_tmp=s+=_state.sent();_state.label=4;case 4:_tmp;_state.label=5;case 5:return[3,1];case 6:return[2,s]}})}function Os(e,t){var r,i,s,a,n,u,l,_;return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(p(e.tag,t))];case 1:r=_state.sent(),i=e.quasi.quasis,s=i.map(function(l){return l.value.cooked}),a=i.map(function(l){return l.value.raw});v(s,"raw",{value:Qe(a)});n=e.quasi.expressions,u=[];if(!n)return[3,5];l=0;_state.label=2;case 2:if(!(l<n.length))return[3,5];_=u.push;return[5,_ts_values(p(n[l],t))];case 3:_.apply(u,[_state.sent()]);_state.label=4;case 4:l++;return[3,2];case 5:return[2,r.apply(void 0,[Qe(s)].concat(_to_consumable_array(u)))]}})}function Di(e,t){return _ts_generator(this,function(_state){return[2,e.value.raw]})}function Ds(e,t){var r,i;return _ts_generator(this,function(_state){switch(_state.label){case 0:if(!(e.id&&e.id.name))return[3,2];r=new T(t);return[5,_ts_values(Ke(e,r))];case 1:i=_state.sent();return[2,(r.const(e.id.name,i),i)];case 2:return[5,_ts_values(Ke(e,t))];case 3:return[2,_state.sent()];case 4:return[2]}})}function Fi(e,t){var r,tmp,i,s;var _arguments=arguments;return _ts_generator(this,function(_state){r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};tmp=r.getProto,i=tmp===void 0?!1:tmp,s=t.find(lt).get();return[2,i?s.prototype:s]})}function We(e,t){var r,i;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};return[5,_ts_values(p(e.argument,t))];case 1:i=_state.sent();if(r.spreadProps)return[2,i];if(typeof Symbol=="function"&&typeof i[Symbol.iterator]!="function")throw new TypeError("Spread syntax requires ...iterable[Symbol.iterator] to be a function");return[2,_to_consumable_array(i)]}})}function Fs(e,t){var r;return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(p(e.expression,t))];case 1:r=_state.sent();return[2,r===A?void 0:r]}})}function Ms(e,t){var r,i,s,a,n;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=t.global();return[5,_ts_values(p(e.source,t))];case 1:i=_state.sent(),s=r.find(Se+i);if(s){n=s.get();n&&(typeof n=="function"?a=n():(typeof n==="undefined"?"undefined":_type_of(n))=="object"&&(a=n))}return[2,!a||(typeof a==="undefined"?"undefined":_type_of(a))!="object"?Promise.reject(new TypeError('Failed to resolve module specifier "'.concat(i,'"'))):Promise.resolve(a)]}})}function js(e,t){var r,_tmp;return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(p(e.argument,t))];case 1:r=_state.sent();if(!e.delegate)return[3,3];return[5,_ts_values(r)];case 2:_tmp=_state.sent();return[3,5];case 3:return[4,r];case 4:_tmp=_state.sent();_state.label=5;case 5:return[2,_tmp]}})}function Us(e,t){return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(p(e.argument,t))];case 1:ve.RES=_state.sent();return[4,ve];case 2:return[2,_state.sent()]}})}var $s=Object.freeze(Object.defineProperty({__proto__:null,ArrayExpression:Ss,ArrowFunctionExpression:Rs,AssignmentExpression:Is,AwaitExpression:Us,BinaryExpression:_s,CallExpression:Ls,ChainExpression:Fs,ClassExpression:Ds,ConditionalExpression:Ps,FunctionExpression:ks,ImportExpression:Ms,LogicalExpression:As,MemberExpression:qe,MetaProperty:Vs,NewExpression:Ts,ObjectExpression:ws,SequenceExpression:Ns,SpreadElement:We,Super:Fi,TaggedTemplateExpression:Os,TemplateElement:Di,TemplateLiteral:Bs,ThisExpression:vs,UnaryExpression:Es,UpdateExpression:Cs,YieldExpression:js},Symbol.toStringTag,{value:"Module"}));function Mi(e,t){var r,tmp,i,tmp1,s,tmp2,a,tmp3,n,u,l,c,f,_tmp,f1,_tmp1,g,_tmp2,f2,g1;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};tmp=r.kind,i=tmp===void 0?"var":tmp,tmp1=r.hoist,s=tmp1===void 0?!1:tmp1,tmp2=r.onlyBlock,a=tmp2===void 0?!1:tmp2,tmp3=r.feed,n=tmp3===void 0?{}:tmp3,u=[];l=0;_state.label=1;case 1:if(!(l<e.properties.length))return[3,18];c=e.properties[l];if(!s)return[3,8];if(!(a||i==="var"))return[3,7];if(!(c.type==="Property"))return[3,5];f=c.value;if(!(f.type==="Identifier"))return[3,2];_tmp=t[i](f.name,a?$:i==="var"?M:void 0);return[3,4];case 2:return[5,_ts_values(W(f,t,{kind:i,hoist:s,onlyBlock:a}))];case 3:_tmp=_state.sent();_state.label=4;case 4:_tmp;return[3,7];case 5:return[5,_ts_values(Ne(c,t,{kind:i,hoist:s,onlyBlock:a}))];case 6:_state.sent();_state.label=7;case 7:return[3,17];case 8:if(!(c.type==="Property"))return[3,15];f1=void 0;if(!c.computed)return[3,10];return[5,_ts_values(p(c.key,t))];case 9:_tmp1=f1=_state.sent();return[3,11];case 10:_tmp1=f1=c.key.name;_state.label=11;case 11:_tmp1,u.push(f1);g=c.value;if(!(g.type==="Identifier"))return[3,12];_tmp2=t[i](g.name,n[f1]);return[3,14];case 12:return[5,_ts_values(W(g,t,{kind:i,feed:n[f1]}))];case 13:_tmp2=_state.sent();_state.label=14;case 14:_tmp2;return[3,17];case 15:f2=j({},n);for(g1=0;g1<u.length;g1++)delete f2[u[g1]];return[5,_ts_values(Ne(c,t,{kind:i,feed:f2}))];case 16:_state.sent();_state.label=17;case 17:l++;return[3,1];case 18:return[2]}})}function ji(e,t){var r,i,tmp,s,tmp1,a,tmp2,n,u,l,c,_tmp,_tmp1,f,_tmp2;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};i=r.kind,tmp=r.hoist,s=tmp===void 0?!1:tmp,tmp1=r.onlyBlock,a=tmp1===void 0?!1:tmp1,tmp2=r.feed,n=tmp2===void 0?[]:tmp2,u=[];l=0;_state.label=1;case 1:if(!(l<e.elements.length))return[3,16];c=e.elements[l];if(!c)return[3,15];if(!s)return[3,6];_tmp=a||i==="var";if(!_tmp)return[3,5];if(!(c.type==="Identifier"))return[3,2];_tmp1=t[i](c.name,a?$:i==="var"?M:void 0);return[3,4];case 2:return[5,_ts_values(W(c,t,{kind:i,hoist:s,onlyBlock:a}))];case 3:_tmp1=_state.sent();_state.label=4;case 4:_tmp=_tmp1;_state.label=5;case 5:_tmp;return[3,15];case 6:if(!(c.type==="Identifier"))return[3,10];if(!i)return[3,7];t[i](c.name,n[l]);return[3,9];case 7:return[5,_ts_values(Ve(c,t,{getVar:!0}))];case 8:f=_state.sent();f.set(n[l]),u.push(f.get());_state.label=9;case 9:return[3,15];case 10:if(!(c.type==="RestElement"))return[3,12];return[5,_ts_values(Ne(c,t,{kind:i,feed:n.slice(l)}))];case 11:_tmp2=_state.sent();return[3,14];case 12:return[5,_ts_values(W(c,t,{kind:i,feed:n[l]}))];case 13:_tmp2=_state.sent();_state.label=14;case 14:_tmp2;_state.label=15;case 15:l++;return[3,1];case 16:if(u.length)return[2,u];return[2]}})}function Ne(e,t){var r,i,tmp,s,tmp1,a,tmp2,n,u,_tmp,_tmp1,_tmp2,_tmp3,_tmp4;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};i=r.kind,tmp=r.hoist,s=tmp===void 0?!1:tmp,tmp1=r.onlyBlock,a=tmp1===void 0?!1:tmp1,tmp2=r.feed,n=tmp2===void 0?[]:tmp2,u=e.argument;if(!s)return[3,5];_tmp1=a||i==="var";if(!_tmp1)return[3,4];if(!(u.type==="Identifier"))return[3,1];_tmp2=t[i](u.name,a?$:i==="var"?M:void 0);return[3,3];case 1:return[5,_ts_values(W(u,t,{kind:i,hoist:s,onlyBlock:a}))];case 2:_tmp2=_state.sent();_state.label=3;case 3:_tmp1=_tmp2;_state.label=4;case 4:_tmp=_tmp1;return[3,12];case 5:if(!(u.type==="Identifier"))return[3,9];if(!i)return[3,6];_tmp4=t[i](u.name,n);return[3,8];case 6:return[5,_ts_values(Ve(u,t,{getVar:!0}))];case 7:_tmp4=_state.sent().set(n);_state.label=8;case 8:_tmp3=_tmp4;return[3,11];case 9:return[5,_ts_values(W(u,t,{kind:i,feed:n}))];case 10:_tmp3=_state.sent();_state.label=11;case 11:_tmp=_tmp3;_state.label=12;case 12:_tmp;return[2]}})}function Ui(e,t){var r,tmp,i,tmp1,s,tmp2,a,tmp3,n,u,_tmp,_tmp1,_tmp2,_tmp3,_tmp4;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};tmp=r.kind,i=tmp===void 0?"var":tmp,tmp1=r.hoist,s=tmp1===void 0?!1:tmp1,tmp2=r.onlyBlock,a=tmp2===void 0?!1:tmp2,tmp3=r.feed;if(!(tmp3===void 0))return[3,2];return[5,_ts_values(p(e.right,t))];case 1:_tmp=_state.sent();return[3,3];case 2:_tmp=tmp3;_state.label=3;case 3:n=_tmp,u=e.left;if(!s)return[3,8];_tmp2=a||i==="var";if(!_tmp2)return[3,7];if(!(u.type==="Identifier"))return[3,4];_tmp3=t[i](u.name,a?$:i==="var"?M:void 0);return[3,6];case 4:return[5,_ts_values(W(u,t,{kind:i,hoist:s,onlyBlock:a}))];case 5:_tmp3=_state.sent();_state.label=6;case 6:_tmp2=_tmp3;_state.label=7;case 7:_tmp1=_tmp2;return[3,12];case 8:if(!(u.type==="Identifier"))return[3,9];_tmp4=t[i](u.name,n);return[3,11];case 9:return[5,_ts_values(W(u,t,{kind:i,feed:n}))];case 10:_tmp4=_state.sent();_state.label=11;case 11:_tmp1=_tmp4;_state.label=12;case 12:_tmp1;return[2]}})}var qs=Object.freeze(Object.defineProperty({__proto__:null,ArrayPattern:ji,AssignmentPattern:Ui,ObjectPattern:Mi,RestElement:Ne},Symbol.toStringTag,{value:"Module"}));function Ws(e,t){var r,i,r1;return _ts_generator(this,function(_state){switch(_state.label){case 0:for(r=0;r<e.body.length;r++){i=e.body[r];if(i.type==="ExpressionStatement"&&i.directive)i.directive==="use strict"&&!t.find(H)&&t.const(H,!0);else break}r1=0;_state.label=1;case 1:if(!(r1<e.body.length))return[3,4];return[5,_ts_values(p(e.body[r1],t))];case 2:_state.sent();_state.label=3;case 3:r1++;return[3,1];case 4:return[2]}})}var zs=Object.freeze(Object.defineProperty({__proto__:null,Program:Ws},Symbol.toStringTag,{value:"Module"}));var Tt;function p(e,t){var r;return _ts_generator(this,function(_state){switch(_state.label){case 0:if(!e)return[2];Tt||(Tt=j({},Oe,$s,xs,Be,bs,qs,zs));r=Tt[e.type];if(!r)return[3,2];return[5,_ts_values(r(e,t))];case 1:return[2,_state.sent()];case 2:throw new Error("".concat(e.type," isn't implemented"))}})}function Gs(e,t){return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(p(e.expression,t))];case 1:_state.sent();return[2]}})}function le(e,t){var r,tmp,i,tmp1,s,a,_tmp,n,u;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};tmp=r.invasived,i=tmp===void 0?!1:tmp,tmp1=r.hoisted,s=tmp1===void 0?!1:tmp1,a=i?t:new T(t);_tmp=s;if(_tmp)return[3,2];return[5,_ts_values(Ft(e,a,{onlyBlock:!0}))];case 1:_tmp=_state.sent();_state.label=2;case 2:_tmp;n=0;_state.label=3;case 3:if(!(n<e.body.length))return[3,6];return[5,_ts_values(p(e.body[n],a))];case 4:u=_state.sent();if(u===_){if(u.LABEL&&u.LABEL===r.label)return[3,6];return[2,u]}if(u===C||u===w)return[2,u];_state.label=5;case 5:n++;return[3,3];case 6:return[2]}})}function Hs(){return _ts_generator(this,function(_state){return[2]})}function Ks(){return _ts_generator(this,function(_state){debugger;return[2]})}function Qs(e,t){var _tmp;return _ts_generator(this,function(_state){switch(_state.label){case 0:if(!e.argument)return[3,2];return[5,_ts_values(p(e.argument,t))];case 1:_tmp=_state.sent();return[3,3];case 2:_tmp=void 0;_state.label=3;case 3:return[2,(w.RES=_tmp,w)]}})}function Xs(e){var t;return _ts_generator(this,function(_state){return[2,(_.LABEL=(t=e.label)==null?void 0:t.name,_)]})}function Ys(e){var t;return _ts_generator(this,function(_state){return[2,(C.LABEL=(t=e.label)==null?void 0:t.name,C)]})}function Zs(e,t){var r;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=e.label.name;if(!(e.body.type==="WhileStatement"))return[3,2];return[5,_ts_values(Hi(e.body,t,{label:r}))];case 1:return[2,_state.sent()];case 2:if(!(e.body.type==="DoWhileStatement"))return[3,4];return[5,_ts_values(Ki(e.body,t,{label:r}))];case 3:return[2,_state.sent()];case 4:if(!(e.body.type==="ForStatement"))return[3,6];return[5,_ts_values(Qi(e.body,t,{label:r}))];case 5:return[2,_state.sent()];case 6:if(!(e.body.type==="ForInStatement"))return[3,8];return[5,_ts_values(Xi(e.body,t,{label:r}))];case 7:return[2,_state.sent()];case 8:if(!(e.body.type==="ForOfStatement"))return[3,10];return[5,_ts_values(Yi(e.body,t,{label:r}))];case 9:return[2,_state.sent()];case 10:if(!(e.body.type==="BlockStatement"))return[3,12];return[5,_ts_values(le(e.body,t,{label:r}))];case 11:return[2,_state.sent()];case 12:if(!(e.body.type==="WithStatement"))return[3,14];return[5,_ts_values($i(e.body,t,{label:r}))];case 13:return[2,_state.sent()];case 14:if(!(e.body.type==="IfStatement"))return[3,16];return[5,_ts_values(qi(e.body,t,{label:r}))];case 15:return[2,_state.sent()];case 16:if(!(e.body.type==="SwitchStatement"))return[3,18];return[5,_ts_values(Wi(e.body,t,{label:r}))];case 17:return[2,_state.sent()];case 18:if(!(e.body.type==="TryStatement"))return[3,20];return[5,_ts_values(zi(e.body,t,{label:r}))];case 19:return[2,_state.sent()];case 20:throw new SyntaxError("".concat(e.body.type," cannot be labeled"))}})}function $i(e,t){var r,i,_1,s;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};i=new T(t);_1=i.with;return[5,_ts_values(p(e.object,t))];case 1:_1.apply(i,[_state.sent()]);return[5,_ts_values(p(e.body,i))];case 2:s=_state.sent();if(s===_)return[2,s.LABEL&&s.LABEL===r.label?void 0:s];if(s===C||s===w)return[2,s];return[2]}})}function qi(e,t){var r,i,_tmp;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};return[5,_ts_values(p(e.test,t))];case 1:if(!_state.sent())return[3,3];return[5,_ts_values(p(e.consequent,t))];case 2:_tmp=i=_state.sent();return[3,5];case 3:return[5,_ts_values(p(e.alternate,t))];case 4:_tmp=i=_state.sent();_state.label=5;case 5:if(_tmp,i===_)return[2,i.LABEL&&i.LABEL===r.label?void 0:i];if(i===C||i===w)return[2,i];return[2]}})}function Wi(e,t){var r,i,s,a,n,u,_tmp,_tmp1,l,n1,u1;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};return[5,_ts_values(p(e.discriminant,t))];case 1:i=_state.sent();s=!1,a=-1;n=0;_state.label=2;case 2:if(!(n<e.cases.length))return[3,9];u=e.cases[n];if(!u.test)return[3,5];_tmp1=!s;if(!_tmp1)return[3,4];return[5,_ts_values(p(u.test,t))];case 3:_tmp1=_state.sent()===i;_state.label=4;case 4:_tmp=_tmp1&&(s=!0,a=-1);return[3,6];case 5:_tmp=a=n;_state.label=6;case 6:if(!(_tmp,s))return[3,8];return[5,_ts_values(Vt(u,t))];case 7:l=_state.sent();if(l===_){if(l.LABEL===r.label)return[3,9];return[2,l]}if(l===C||l===w)return[2,l];_state.label=8;case 8:n++;return[3,2];case 9:if(!(!s&&a!==-1))return[3,13];n1=a;_state.label=10;case 10:if(!(n1<e.cases.length))return[3,13];return[5,_ts_values(Vt(e.cases[n1],t))];case 11:u1=_state.sent();if(u1===_){if(u1.LABEL===r.label)return[3,13];return[2,u1]}if(u1===C||u1===w)return[2,u1];_state.label=12;case 12:n1++;return[3,10];case 13:return[2]}})}function Vt(e,t){var r,i;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=0;_state.label=1;case 1:if(!(r<e.consequent.length))return[3,4];return[5,_ts_values(p(e.consequent[r],t))];case 2:i=_state.sent();if(i===_||i===C||i===w)return[2,i];_state.label=3;case 3:r++;return[3,1];case 4:return[2]}})}function Js(e,t){return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(p(e.argument,t))];case 1:throw _state.sent()}})}function zi(e,t){var r,i,s,a,n,u,_tmp;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};_state.label=1;case 1:_state.trys.push([1,3,10,13]);return[5,_ts_values(le(e.block,t))];case 2:i=_state.sent();return[3,13];case 3:s=_state.sent();if(!e.handler)return[3,8];a=new T(t),n=e.handler.param;if(!n)return[3,6];if(!(n.type==="Identifier"))return[3,4];u=n.name;a.var(u,s);return[3,6];case 4:return[5,_ts_values(W(n,t,{feed:s}))];case 5:_state.sent();_state.label=6;case 6:return[5,_ts_values(Gi(e.handler,a))];case 7:i=_state.sent();return[3,9];case 8:throw s;case 9:return[3,13];case 10:_tmp=e.finalizer;if(!_tmp)return[3,12];return[5,_ts_values(le(e.finalizer,t))];case 11:_tmp=i=_state.sent();_state.label=12;case 12:_tmp;return[7];case 13:if(i===_)return[2,i.LABEL&&i.LABEL===r.label?void 0:i];if(i===C||i===w)return[2,i];return[2]}})}function Gi(e,t){return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(le(e.body,t,{invasived:!0}))];case 1:return[2,_state.sent()]}})}function Hi(e,t){var r,i;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};_state.label=1;case 1:return[5,_ts_values(p(e.test,t))];case 2:if(!_state.sent())return[3,5];return[5,_ts_values(p(e.body,t))];case 3:i=_state.sent();if(i===_){if(i.LABEL===r.label)return[3,5];return[2,i]}else if(i===C){if(i.LABEL===r.label)return[3,4];return[2,i]}else if(i===w)return[2,i];_state.label=4;case 4:return[3,1];case 5:return[2]}})}function Ki(e,t){var r,i;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};_state.label=1;case 1:return[5,_ts_values(p(e.body,t))];case 2:i=_state.sent();if(i===_){if(i.LABEL===r.label)return[3,5];return[2,i]}else if(i===C){if(i.LABEL===r.label)return[3,3];return[2,i]}else if(i===w)return[2,i];_state.label=3;case 3:return[5,_ts_values(p(e.test,t))];case 4:if(_state.sent())return[3,1];_state.label=5;case 5:return[2]}})}function Qi(e,t){var r,i,_tmp,_tmp1,s,a,_tmp2,_tmp3;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};i=new T(t);if(!e.init)return[3,2];return[5,_ts_values(p(e.init,i))];case 1:_tmp=_state.sent();return[3,3];case 2:_tmp=void 0;_state.label=3;case 3:_tmp;_state.label=4;case 4:_tmp1=!e.test;if(_tmp1)return[3,6];return[5,_ts_values(p(e.test,i))];case 5:_tmp1=_state.sent();_state.label=6;case 6:if(!_tmp1)return[3,15];s=new T(i);a=void 0;if(!(e.body.type==="BlockStatement"))return[3,8];return[5,_ts_values(le(e.body,s,{invasived:!0}))];case 7:_tmp2=a=_state.sent();return[3,10];case 8:return[5,_ts_values(p(e.body,s))];case 9:_tmp2=a=_state.sent();_state.label=10;case 10:if(_tmp2,a===_){if(a.LABEL===r.label)return[3,15];return[2,a]}else if(a===C){if(a.LABEL===r.label)return[3,11];return[2,a]}else if(a===w)return[2,a];_state.label=11;case 11:if(!e.update)return[3,13];return[5,_ts_values(p(e.update,i))];case 12:_tmp3=_state.sent();return[3,14];case 13:_tmp3=void 0;_state.label=14;case 14:_tmp3;return[3,4];case 15:return[2]}})}function Xi(e,t){var r,_tmp,_tmp1,_i,i,s;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};_tmp=[];return[5,_ts_values(p(e.right,t))];case 1:for(_tmp1 in _state.sent())_tmp.push(_tmp1);_i=0;_state.label=2;case 2:if(!(_i<_tmp.length))return[3,5];i=_tmp[_i];return[5,_ts_values(Mt(e,t,{value:i}))];case 3:s=_state.sent();if(s===_){if(s.LABEL===r.label)return[3,5];return[2,s]}else if(s===C){if(s.LABEL===r.label)return[3,4];return[2,s]}else if(s===w)return[2,s];_state.label=4;case 4:_i++;return[3,2];case 5:return[2]}})}function Yi(e,t){var r,i,_iteratorNormalCompletion,_didIteratorError,_iteratorError,s,a,n,_iterator,_step,s1,a1,err;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};return[5,_ts_values(p(e.right,t))];case 1:i=_state.sent();_iteratorNormalCompletion=true,_didIteratorError=false,_iteratorError=undefined;if(!e.await)return[3,8];s=Lr(i);ve.RES=s.next();return[4,ve];case 2:a=_state.sent();_state.label=3;case 3:if(!!a.done)return[3,7];return[5,_ts_values(Mt(e,t,{value:a.value}))];case 4:n=_state.sent();if(n===_){if(n.LABEL===r.label)return[3,7];return[2,n]}else if(n===C){if(n.LABEL===r.label)return[3,5];return[2,n]}else if(n===w)return[2,n];_state.label=5;case 5:ve.RES=s.next();return[4,ve];case 6:a=_state.sent();return[3,3];case 7:return[3,15];case 8:_state.trys.push([8,13,14,15]);_iterator=i[Symbol.iterator]();_state.label=9;case 9:if(!!(_iteratorNormalCompletion=(_step=_iterator.next()).done))return[3,12];s1=_step.value;return[5,_ts_values(Mt(e,t,{value:s1}))];case 10:a1=_state.sent();if(a1===_){if(a1.LABEL===r.label)return[3,12];return[2,a1]}else if(a1===C){if(a1.LABEL===r.label)return[3,11];return[2,a1]}else if(a1===w)return[2,a1];_state.label=11;case 11:_iteratorNormalCompletion=true;return[3,9];case 12:return[3,15];case 13:err=_state.sent();_didIteratorError=true;_iteratorError=err;return[3,15];case 14:try{if(!_iteratorNormalCompletion&&_iterator.return!=null){_iterator.return()}}finally{if(_didIteratorError){throw _iteratorError}}return[7];case 15:return[2]}})}function ea(e,t){return _ts_generator(this,function(_state){t.func(e.id.name,se(e,t));return[2]})}function we(e,t){var r,i;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};i=0;_state.label=1;case 1:if(!(i<e.declarations.length))return[3,4];return[5,_ts_values(Zi(e.declarations[i],t,j({kind:e.kind},r)))];case 2:_state.sent();_state.label=3;case 3:i++;return[3,1];case 4:return[2]}})}function Zi(e,t){var r,tmp,i,tmp1,s,tmp2,a,n,_tmp,_tmp1,u,l,_tmp2,c;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};tmp=r.kind,i=tmp===void 0?"var":tmp,tmp1=r.hoist,s=tmp1===void 0?!1:tmp1,tmp2=r.onlyBlock,a=tmp2===void 0?!1:tmp2,n=r.feed;if(!s)return[3,5];_tmp=a||i==="var";if(!_tmp)return[3,4];if(!(e.id.type==="Identifier"))return[3,1];_tmp1=t[i](e.id.name,a?$:i==="var"?M:void 0);return[3,3];case 1:return[5,_ts_values(W(e.id,t,{kind:i,hoist:s,onlyBlock:a}))];case 2:_tmp1=_state.sent();_state.label=3;case 3:_tmp=_tmp1;_state.label=4;case 4:_tmp;return[3,11];case 5:u="feed"in r;if(!u)return[3,6];_tmp2=n;return[3,8];case 6:return[5,_ts_values(p(e.init,t))];case 7:_tmp2=_state.sent();_state.label=8;case 8:l=_tmp2;if(!(e.id.type==="Identifier"))return[3,9];c=e.id.name;i==="var"&&!e.init&&!u?t.var(c,M):t[i](c,l),e.init&&["ClassExpression","FunctionExpression","ArrowFunctionExpression"].indexOf(e.init.type)!==-1&&!l.name&&v(l,"name",{value:c,configurable:!0});return[3,11];case 9:return[5,_ts_values(W(e.id,t,{kind:i,feed:l}))];case 10:_state.sent();_state.label=11;case 11:return[2]}})}function ta(e,t){var _,_tmp;return _ts_generator(this,function(_state){switch(_state.label){case 0:_=t.func;_tmp=[e.id.name];return[5,_ts_values(Ke(e,t))];case 1:_.apply(t,_tmp.concat([_state.sent()]));return[2]}})}function Ji(e,t){var r,i,s,a,n,_tmp,_tmp1,_tmp2;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};i=r.klass,s=r.superClass;a=0;_state.label=1;case 1:if(!(a<e.body.length))return[3,11];n=e.body[a];if(!(n.type==="MethodDefinition"))return[3,3];return[5,_ts_values(er(n,t,{klass:i,superClass:s}))];case 2:_tmp=_state.sent();return[3,9];case 3:if(!(n.type==="PropertyDefinition"&&n.static))return[3,5];return[5,_ts_values(Nt(n,t,{klass:i,superClass:s}))];case 4:_tmp1=_state.sent();return[3,8];case 5:_tmp2=n.type==="StaticBlock";if(!_tmp2)return[3,7];return[5,_ts_values(tr(n,t,{klass:i}))];case 6:_tmp2=_state.sent();_state.label=7;case 7:_tmp1=_tmp2;_state.label=8;case 8:_tmp=_tmp1;_state.label=9;case 9:_tmp;_state.label=10;case 10:a++;return[3,1];case 11:return[2]}})}function er(e,t){var r,i,s,a,n,u,l,c,c1;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};i=r.klass,s=r.superClass;n=!1;if(!e.computed)return[3,2];return[5,_ts_values(p(e.key,t))];case 1:a=_state.sent();return[3,3];case 2:if(e.key.type==="Identifier")a=e.key.name;else if(e.key.type==="PrivateIdentifier")a=e.key.name,n=!0;else throw new SyntaxError("Unexpected token");_state.label=3;case 3:u=e.static?i:i.prototype;n&&(u[B]||v(u,B,{value:{}}),u=u[B]);l=se(e.value,t,{superClass:s});switch(e.kind){case"constructor":break;case"method":v(u,a,{value:l,writable:!0,configurable:!0});break;case"get":{c=pe(u,a);v(u,a,{get:l,set:c&&c.set,configurable:!0});break}case"set":{c1=pe(u,a);v(u,a,{get:c1&&c1.get,set:l,configurable:!0});break}default:throw new SyntaxError("Unexpected token")}return[2]}})}function Nt(e,t){var r,i,s,a,n,u,l,_tmp,_tmp1;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};i=r.klass,s=r.superClass;n=!1;if(!e.computed)return[3,2];return[5,_ts_values(p(e.key,t))];case 1:a=_state.sent();return[3,3];case 2:if(e.key.type==="Identifier")a=e.key.name;else if(e.key.type==="PrivateIdentifier")a=e.key.name,n=!0;else throw new SyntaxError("Unexpected token");_state.label=3;case 3:u=new T(t,!0);u.const("this",i);l=i;n&&(l[B]||v(l,B,{value:{}}),l=l[B]);if(!e.value)return[3,7];if(!(e.value.type==="FunctionExpression"||e.value.type==="ArrowFunctionExpression"))return[3,4];_tmp1=l[a]=se(e.value,u,{superClass:s});return[3,6];case 4:return[5,_ts_values(p(e.value,u))];case 5:_tmp1=l[a]=_state.sent();_state.label=6;case 6:_tmp=_tmp1;return[3,8];case 7:_tmp=l[a]=void 0;_state.label=8;case 8:_tmp;return[2]}})}function tr(e,t){var r,i,s;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};i=r.klass,s=new T(t,!0);s.const("this",i);return[5,_ts_values(le(e,s,{invasived:!0}))];case 1:return[2,_state.sent()]}})}function ia(e,t){var i,s,a,a1,n,u;return _ts_generator(this,function(_state){i=t.global().find(Se+e.source.value);if(i){a=i.get();a&&(typeof a=="function"?s=a():(typeof a==="undefined"?"undefined":_type_of(a))=="object"&&(s=a))}if(!s||(typeof s==="undefined"?"undefined":_type_of(s))!="object")throw new TypeError('Failed to resolve module specifier "'.concat(e.source.value,'"'));for(a1=0;a1<e.specifiers.length;a1++){n=e.specifiers[a1];u=void 0;if(n.type==="ImportSpecifier"?u=n.imported.type==="Identifier"?n.imported.name:n.imported.value:n.type==="ImportDefaultSpecifier"?u="default":n.type==="ImportNamespaceSpecifier"&&(u="*"),u!=="*"&&!dt(s,u))throw new SyntaxError('The requested module "'.concat(e.source.value,'" does not provide an export named "').concat(u,'"'));t.var(n.local.name,u==="*"?j({},s):s[u])}return[2]})}function ra(e,t){var r,i,_tmp,_tmp1,s,a;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=t.global();if(!(e.declaration.type==="FunctionDeclaration"))return[3,1];_tmp=(i=se(e.declaration,t),t.func(e.declaration.id.name,i));return[3,6];case 1:if(!(e.declaration.type==="ClassDeclaration"))return[3,3];return[5,_ts_values(Ke(e.declaration,t))];case 2:_tmp1=(i=_state.sent(),t.func(e.declaration.id.name,i));return[3,5];case 3:return[5,_ts_values(p(e.declaration,t))];case 4:_tmp1=i=_state.sent();_state.label=5;case 5:_tmp=_tmp1;_state.label=6;case 6:_tmp;s=r.find(G);if(s){a=s.get();a&&(typeof a==="undefined"?"undefined":_type_of(a))=="object"&&(a.default=i)}return[2]}})}function sa(e,t){var r,i,s,a,i1,s1,a1,i2,s2,a2,n,u,i3,s3,a3,n1,u1,l;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=t.global();if(!e.declaration)return[3,6];if(!(e.declaration.type==="FunctionDeclaration"))return[3,1];i=se(e.declaration,t);t.func(e.declaration.id.name,i);s=r.find(G);if(s){a=s.get();a&&(typeof a==="undefined"?"undefined":_type_of(a))=="object"&&(a[e.declaration.id.name]=i)}return[3,5];case 1:if(!(e.declaration.type==="ClassDeclaration"))return[3,3];return[5,_ts_values(Ke(e.declaration,t))];case 2:i1=_state.sent();t.func(e.declaration.id.name,i1);s1=r.find(G);if(s1){a1=s1.get();a1&&(typeof a1==="undefined"?"undefined":_type_of(a1))=="object"&&(a1[e.declaration.id.name]=i1)}return[3,5];case 3:if(!(e.declaration.type==="VariableDeclaration"))return[3,5];return[5,_ts_values(we(e.declaration,t))];case 4:_state.sent();i2=r.find(G);if(i2){s2=i2.get();if(s2&&(typeof s2==="undefined"?"undefined":_type_of(s2))=="object")for(a2=0;a2<e.declaration.declarations.length;a2++){n=e.declaration.declarations[a2].id.name,u=t.find(n);u&&(s2[n]=u.get())}}_state.label=5;case 5:return[3,7];case 6:if(e.specifiers){i3=r.find(G);if(i3){s3=i3.get();if(s3&&(typeof s3==="undefined"?"undefined":_type_of(s3))=="object")for(a3=0;a3<e.specifiers.length;a3++){n1=e.specifiers[a3],u1=n1.local.type==="Identifier"?n1.local.name:n1.local.value,l=t.find(u1);l&&(s3[n1.exported.type==="Identifier"?n1.exported.name:n1.exported.value]=l.get())}}}_state.label=7;case 7:return[2]}})}function aa(e,t){var r,i,s,n,a,n1;return _ts_generator(this,function(_state){r=t.global(),i=r.find(Se+e.source.value);if(i){n=i.get();n&&(typeof n=="function"?s=n():(typeof n==="undefined"?"undefined":_type_of(n))=="object"&&(s=n))}if(!s||(typeof s==="undefined"?"undefined":_type_of(s))!="object")throw new TypeError('Failed to resolve module specifier "'.concat(e.source.value,'"'));a=r.find(G);if(a){n1=a.get();n1&&(typeof n1==="undefined"?"undefined":_type_of(n1))=="object"&&j(n1,s)}return[2]})}function xe(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var tmp=r.getVar,i=tmp===void 0?!1:tmp,tmp1=r.throwErr,s=tmp1===void 0?!0:tmp1;if(e.name==="undefined")return;var a=t.find(e.name);if(a){if(i)return a;{var n=a.get();if(n===$)throw new ReferenceError("".concat(e.name," is not defined"));return n}}else{if(s)throw new ReferenceError("".concat(e.name," is not defined"));return}}var na=Object.freeze(Object.defineProperty({__proto__:null,Identifier:xe},Symbol.toStringTag,{value:"Module"}));function ir(e,t){return e.regex?new RegExp(e.regex.pattern,e.regex.flags):e.value}var oa=Object.freeze(Object.defineProperty({__proto__:null,Literal:ir},Symbol.toStringTag,{value:"Module"}));function ua(e,t){var r=t.find(me);if(r&&r.get()!==!0)throw new ReferenceError("Must call super constructor in derived class before accessing 'this' or returning from derived constructor");return t.find("this").get()}function la(e,t){var r=[];for(var i=0;i<e.elements.length;i++){var s=e.elements[i];s.type==="SpreadElement"?r=r.concat(Ge(s,t)):r.push(d(s,t))}return r}function ca(e,t){var r={};for(var i=0;i<e.properties.length;i++){var s=e.properties[i];if(s.type==="SpreadElement")j(r,Ge(s,t,{spreadProps:!0}));else{var a=void 0;var n=s.key;s.computed?a=d(n,t):n.type==="Identifier"?a=n.name:a=""+ir(n);var u=d(s.value,t),l=s.kind;if(l==="init")r[a]=u;else if(l==="get"){var c=pe(r,a);v(r,a,{get:u,set:c&&c.set,enumerable:!0,configurable:!0})}else{var c1=pe(r,a);v(r,a,{get:c1&&c1.get,set:u,enumerable:!0,configurable:!0})}}}return r}function fa(e,t){if(e.id&&e.id.name){var r=new T(t),i=re(e,r);return r.const(e.id.name,i),i}else return re(e,t)}function ha(e,t){var r=e.argument;switch(e.operator){case"+":return+d(r,t);case"-":return-d(r,t);case"!":return!d(r,t);case"~":return~d(r,t);case"void":return void d(r,t);case"typeof":return r.type==="Identifier"?_type_of(xe(r,t,{throwErr:!1})):_type_of(d(r,t));case"delete":if(r.type==="MemberExpression")return ze(r,t,{getVar:!0}).del();if(r.type==="Identifier")throw new SyntaxError("Delete of an unqualified identifier in strict mode");return d(r,t),!0;default:throw new SyntaxError("Unexpected token ".concat(e.operator))}}function pa(e,t){var r=e.argument;var i;if(r.type==="Identifier")i=xe(r,t,{getVar:!0});else if(r.type==="MemberExpression")i=ze(r,t,{getVar:!0});else throw new SyntaxError("Unexpected token");var s=i.get();if(e.operator==="++")return i.set(s+1),e.prefix?i.get():s;if(e.operator==="--")return i.set(s-1),e.prefix?i.get():s;throw new SyntaxError("Unexpected token ".concat(e.operator))}function da(e,t){var r,i;switch(e.left.type==="PrivateIdentifier"?(r=e.left.name,i=d(e.right,t),i=i[B]||{}):(r=d(e.left,t),i=d(e.right,t)),e.operator){case"==":return r==i;case"!=":return r!=i;case"===":return r===i;case"!==":return r!==i;case"<":return r<i;case"<=":return r<=i;case">":return r>i;case">=":return r>=i;case"<<":return r<<i;case">>":return r>>i;case">>>":return r>>>i;case"+":return r+i;case"-":return r-i;case"*":return r*i;case"**":return Math.pow(r,i);case"/":return r/i;case"%":return r%i;case"|":return r|i;case"^":return r^i;case"&":return r&i;case"in":return r in i;case"instanceof":return _instanceof(r,i);default:throw new SyntaxError("Unexpected token ".concat(e.operator))}}function ya(e,t){var r=e.left;var i;if(r.type==="Identifier"){if(i=xe(r,t,{getVar:!0,throwErr:!1}),!i){var a=t.find(H);if(a&&a.get())throw new ReferenceError("".concat(r.name," is not defined"));var n=t.global().find("window").get();i=new ge(n,r.name)}}else if(r.type==="MemberExpression")i=ze(r,t,{getVar:!0});else{var a1=d(e.right,t);return q(r,t,{feed:a1})}var s=d(e.right,t);switch(e.operator){case"=":return i.set(s),i.get();case"+=":return i.set(i.get()+s),i.get();case"-=":return i.set(i.get()-s),i.get();case"*=":return i.set(i.get()*s),i.get();case"/=":return i.set(i.get()/s),i.get();case"%=":return i.set(i.get()%s),i.get();case"**=":return i.set(Math.pow(i.get(),s)),i.get();case"<<=":return i.set(i.get()<<s),i.get();case">>=":return i.set(i.get()>>s),i.get();case">>>=":return i.set(i.get()>>>s),i.get();case"|=":return i.set(i.get()|s),i.get();case"^=":return i.set(i.get()^s),i.get();case"&=":return i.set(i.get()&s),i.get();case"??=":var _i_get;return i.set((_i_get=i.get())!==null&&_i_get!==void 0?_i_get:s),i.get();case"&&=":return i.set(i.get()&&s),i.get();case"||=":return i.set(i.get()||s),i.get();default:throw new SyntaxError("Unexpected token ".concat(e.operator))}}function ma(e,t){switch(e.operator){case"||":return d(e.left,t)||d(e.right,t);case"&&":return d(e.left,t)&&d(e.right,t);case"??":var _d;return(_d=d(e.left,t))!==null&&_d!==void 0?_d:d(e.right,t);default:throw new SyntaxError("Unexpected token ".concat(e.operator))}}function ze(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var tmp=r.getObj,i=tmp===void 0?!1:tmp,tmp1=r.getVar,s=tmp1===void 0?!1:tmp1;var a;if(e.object.type==="Super"?a=sr(e.object,t,{getProto:!0}):a=d(e.object,t),a===A)return A;if(i)return a;var n,u=!1;if(e.computed?n=d(e.property,t):e.property.type==="PrivateIdentifier"?(n=e.property.name,u=!0):n=e.property.name,u&&(a=a[B]),s){var l=Ht(a,n);if(e.object.type==="Super"&&l){var c=t.find("this").get(),f=R(n);return v(c,f,{set:l}),new ge(c,f)}else return new ge(a,n)}else{var l1=Gt(a,n);if(e.object.type==="Super"&&l1){var c1=t.find("this").get();return e.optional&&c1==null?A:l1.call(c1)}else return e.optional&&a==null?A:a[n]}}function ga(e,t){return d(e.test,t)?d(e.consequent,t):d(e.alternate,t)}function xa(e,t){var a;var r,i;if(e.callee.type==="MemberExpression"){if(i=ze(e.callee,t,{getObj:!0}),i===A||e.callee.optional&&i==null)return A;var _$n,u=!1;e.callee.computed?_$n=d(e.callee.property,t):e.callee.property.type==="PrivateIdentifier"?(_$n=e.callee.property.name,u=!0):_$n=e.callee.property.name;var l=i;if(u&&(l=l[B]),e.callee.object.type==="Super"){var c=t.find("this").get();r=l[_$n].bind(c)}else r=l[_$n];if(e.optional&&r==null)return A;if(typeof r!="function")throw new TypeError("".concat(_$n," is not a function"));if(Te in r)throw new TypeError("Class constructor ".concat(_$n," cannot be invoked without 'new'"))}else{if(r=d(e.callee,t),r===A||e.optional&&r==null)return A;if(typeof r!="function"||e.callee.type!=="Super"&&Te in r){var _$n1;if(e.callee.type==="Identifier")_$n1=e.callee.name;else try{_$n1=JSON.stringify(r)}catch(e){_$n1=""+r}throw typeof r!="function"?new TypeError("".concat(_$n1," is not a function")):new TypeError("Class constructor ".concat(_$n1," cannot be invoked without 'new'"))}e.callee.type==="Super"?i=t.find("this").get():i=!!((a=t.find(H))!=null&&a.get())||!!(r&&r[ht])?void 0:t.find("this").get()}var s=[];for(var _$n2=0;_$n2<e.arguments.length;_$n2++){var u1=e.arguments[_$n2];u1.type==="SpreadElement"?s=s.concat(Ge(u1,t)):s.push(d(u1,t))}if(e.callee.type==="Super"){var u2=t.find(me).get();if(u2===!0)throw new ReferenceError("Super constructor may only be called once");var l1=Xe(i,r,s);return u2(l1),t.find("this").set(l1),t.find(me).set(!0),l1}try{return r.apply(i,s)}catch(n){if(_instanceof(n,TypeError)&&n.message==="Illegal invocation"&&r.toString().indexOf("[native code]")!==-1){var u3=t.global().find("window").get();if(u3&&u3[De])return r.apply(u3[De],s)}throw n}}function ba(e,t){var r=d(e.callee,t);if(typeof r!="function"){var s;if(e.callee.type==="Identifier")s=e.callee.name;else try{s=JSON.stringify(r)}catch(e){s=""+r}throw new TypeError("".concat(s," is not a constructor"))}else if(r[ct])throw new TypeError("".concat(r.name||"(intermediate value)"," is not a constructor"));var i=[];for(var s1=0;s1<e.arguments.length;s1++){var a=e.arguments[s1];a.type==="SpreadElement"?i=i.concat(Ge(a,t)):i.push(d(a,t))}return _construct(r,_to_consumable_array(i))}function va(e,t){if(e.meta.name==="new"&&e.property.name==="target")return t.find(ft).get();if(e.meta.name==="import"&&e.property.name==="meta")return{url:""}}function Sa(e,t){var r;for(var i=0;i<e.expressions.length;i++)r=d(e.expressions[i],t);return r}function wa(e,t){return re(e,t)}function ka(e,t){var r=e.quasis.slice(),i=e.expressions.slice();var s="",a,n;for(;a=r.shift();)s+=rr(a),n=i.shift(),n&&(s+=d(n,t));return s}function Ea(e,t){var r=d(e.tag,t),i=e.quasi.quasis,s=i.map(function(l){return l.value.cooked}),a=i.map(function(l){return l.value.raw});v(s,"raw",{value:Qe(a)});var n=e.quasi.expressions,u=[];if(n)for(var l=0;l<n.length;l++)u.push(d(n[l],t));return r.apply(void 0,[Qe(s)].concat(_to_consumable_array(u)))}function rr(e,t){return e.value.raw}function Ca(e,t){if(e.id&&e.id.name){var r=new T(t),i=He(e,r);return r.const(e.id.name,i),i}else return He(e,t)}function sr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var tmp=r.getProto,i=tmp===void 0?!1:tmp,s=t.find(lt).get();return i?s.prototype:s}function Ge(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=d(e.argument,t);if(r.spreadProps)return i;if(typeof Symbol=="function"&&typeof i[Symbol.iterator]!="function")throw new TypeError("Spread syntax requires ...iterable[Symbol.iterator] to be a function");return _to_consumable_array(i)}function _a(e,t){var r=d(e.expression,t);return r===A?void 0:r}function Ia(e,t){var r=t.global(),i=d(e.source,t),s=r.find(Se+i);var a;if(s){var n=s.get();n&&(typeof n=="function"?a=n():(typeof n==="undefined"?"undefined":_type_of(n))=="object"&&(a=n))}return!a||(typeof a==="undefined"?"undefined":_type_of(a))!="object"?Promise.reject(new TypeError('Failed to resolve module specifier "'.concat(i,'"'))):Promise.resolve(a)}var Aa=Object.freeze(Object.defineProperty({__proto__:null,ArrayExpression:la,ArrowFunctionExpression:wa,AssignmentExpression:ya,BinaryExpression:da,CallExpression:xa,ChainExpression:_a,ClassExpression:Ca,ConditionalExpression:ga,FunctionExpression:fa,ImportExpression:Ia,LogicalExpression:ma,MemberExpression:ze,MetaProperty:va,NewExpression:ba,ObjectExpression:ca,SequenceExpression:Sa,SpreadElement:Ge,Super:sr,TaggedTemplateExpression:Ea,TemplateElement:rr,TemplateLiteral:ka,ThisExpression:ua,UnaryExpression:ha,UpdateExpression:pa},Symbol.toStringTag,{value:"Module"}));function ar(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var tmp=r.kind,i=tmp===void 0?"var":tmp,tmp1=r.hoist,s=tmp1===void 0?!1:tmp1,tmp2=r.onlyBlock,a=tmp2===void 0?!1:tmp2,tmp3=r.feed,n=tmp3===void 0?{}:tmp3,u=[];for(var l=0;l<e.properties.length;l++){var c=e.properties[l];if(s){if(a||i==="var")if(c.type==="Property"){var f=c.value;f.type==="Identifier"?t[i](f.name,a?$:i==="var"?M:void 0):q(f,t,{kind:i,hoist:s,onlyBlock:a})}else Re(c,t,{kind:i,hoist:s,onlyBlock:a})}else if(c.type==="Property"){var f1=void 0;c.computed?f1=d(c.key,t):f1=c.key.name,u.push(f1);var g=c.value;g.type==="Identifier"?t[i](g.name,n[f1]):q(g,t,{kind:i,feed:n[f1]})}else{var f2=j({},n);for(var g1=0;g1<u.length;g1++)delete f2[u[g1]];Re(c,t,{kind:i,feed:f2})}}}function nr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=r.kind,tmp=r.hoist,s=tmp===void 0?!1:tmp,tmp1=r.onlyBlock,a=tmp1===void 0?!1:tmp1,tmp2=r.feed,n=tmp2===void 0?[]:tmp2,u=[];for(var l=0;l<e.elements.length;l++){var c=e.elements[l];if(c)if(s)(a||i==="var")&&(c.type==="Identifier"?t[i](c.name,a?$:i==="var"?M:void 0):q(c,t,{kind:i,hoist:s,onlyBlock:a}));else if(c.type==="Identifier")if(i)t[i](c.name,n[l]);else{var f=xe(c,t,{getVar:!0});f.set(n[l]),u.push(f.get())}else c.type==="RestElement"?Re(c,t,{kind:i,feed:n.slice(l)}):q(c,t,{kind:i,feed:n[l]})}if(u.length)return u}function Re(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=r.kind,tmp=r.hoist,s=tmp===void 0?!1:tmp,tmp1=r.onlyBlock,a=tmp1===void 0?!1:tmp1,tmp2=r.feed,n=tmp2===void 0?[]:tmp2,u=e.argument;s?(a||i==="var")&&(u.type==="Identifier"?t[i](u.name,a?$:i==="var"?M:void 0):q(u,t,{kind:i,hoist:s,onlyBlock:a})):u.type==="Identifier"?i?t[i](u.name,n):xe(u,t,{getVar:!0}).set(n):q(u,t,{kind:i,feed:n})}function or(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var tmp=r.kind,i=tmp===void 0?"var":tmp,tmp1=r.hoist,s=tmp1===void 0?!1:tmp1,tmp2=r.onlyBlock,a=tmp2===void 0?!1:tmp2,tmp3=r.feed,n=tmp3===void 0?d(e.right,t):tmp3,u=e.left;s?(a||i==="var")&&(u.type==="Identifier"?t[i](u.name,a?$:i==="var"?M:void 0):q(u,t,{kind:i,hoist:s,onlyBlock:a})):u.type==="Identifier"?t[i](u.name,n):q(u,t,{kind:i,feed:n})}var Pa=Object.freeze(Object.defineProperty({__proto__:null,ArrayPattern:nr,AssignmentPattern:or,ObjectPattern:ar,RestElement:Re},Symbol.toStringTag,{value:"Module"}));function La(e,t){for(var r=0;r<e.body.length;r++){var i=e.body[r];if(i.type==="ExpressionStatement"&&i.directive)i.directive==="use strict"&&!t.find(H)&&t.const(H,!0);else break}for(var r1=0;r1<e.body.length;r1++)d(e.body[r1],t)}var Ta=Object.freeze(Object.defineProperty({__proto__:null,Program:La},Symbol.toStringTag,{value:"Module"}));var Rt;function d(e,t){if(!e)return;Rt||(Rt=j({},Er,Aa,na,kr,oa,Pa,Ta));var r=Rt[e.type];if(r)return r(e,t);throw new Error("".concat(e.type," isn't implemented"))}function Va(e,t){d(e.expression,t)}function ce(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var tmp=r.invasived,i=tmp===void 0?!1:tmp,tmp1=r.hoisted,s=tmp1===void 0?!1:tmp1,a=i?t:new T(t);s||Dt(e,a,{onlyBlock:!0});for(var n=0;n<e.body.length;n++){var u=d(e.body[n],a);if(u===_){if(u.LABEL&&u.LABEL===r.label)break;return u}if(u===C||u===w)return u}}function Na(){}function Ra(){debugger}function Ba(e,t){return w.RES=e.argument?d(e.argument,t):void 0,w}function Oa(e){var t;return _.LABEL=(t=e.label)==null?void 0:t.name,_}function Da(e){var t;return C.LABEL=(t=e.label)==null?void 0:t.name,C}function Fa(e,t){var r=e.label.name;if(e.body.type==="WhileStatement")return pr(e.body,t,{label:r});if(e.body.type==="DoWhileStatement")return dr(e.body,t,{label:r});if(e.body.type==="ForStatement")return yr(e.body,t,{label:r});if(e.body.type==="ForInStatement")return mr(e.body,t,{label:r});if(e.body.type==="ForOfStatement")return gr(e.body,t,{label:r});if(e.body.type==="BlockStatement")return ce(e.body,t,{label:r});if(e.body.type==="WithStatement")return ur(e.body,t,{label:r});if(e.body.type==="IfStatement")return lr(e.body,t,{label:r});if(e.body.type==="SwitchStatement")return cr(e.body,t,{label:r});if(e.body.type==="TryStatement")return fr(e.body,t,{label:r});throw new SyntaxError("".concat(e.body.type," cannot be labeled"))}function ur(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=new T(t);i.with(d(e.object,t));var s=d(e.body,i);if(s===_)return s.LABEL&&s.LABEL===r.label?void 0:s;if(s===C||s===w)return s}function lr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i;if(d(e.test,t)?i=d(e.consequent,t):i=d(e.alternate,t),i===_)return i.LABEL&&i.LABEL===r.label?void 0:i;if(i===C||i===w)return i}function cr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=d(e.discriminant,t);var s=!1,a=-1;for(var n=0;n<e.cases.length;n++){var u=e.cases[n];if(u.test?!s&&d(u.test,t)===i&&(s=!0,a=-1):a=n,s){var l=Bt(u,t);if(l===_){if(l.LABEL===r.label)break;return l}if(l===C||l===w)return l}}if(!s&&a!==-1)for(var n1=a;n1<e.cases.length;n1++){var u1=Bt(e.cases[n1],t);if(u1===_){if(u1.LABEL===r.label)break;return u1}if(u1===C||u1===w)return u1}}function Bt(e,t){for(var r=0;r<e.consequent.length;r++){var i=d(e.consequent[r],t);if(i===_||i===C||i===w)return i}}function Ma(e,t){throw d(e.argument,t)}function fr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i;try{i=ce(e.block,t)}catch(s){if(e.handler){var a=new T(t),n=e.handler.param;if(n)if(n.type==="Identifier"){var u=n.name;a.var(u,s)}else q(n,t,{feed:s});i=hr(e.handler,a)}else throw s}finally{e.finalizer&&(i=ce(e.finalizer,t))}if(i===_)return i.LABEL&&i.LABEL===r.label?void 0:i;if(i===C||i===w)return i}function hr(e,t){return ce(e.body,t,{invasived:!0})}function pr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};for(;d(e.test,t);){var i=d(e.body,t);if(i===_){if(i.LABEL===r.label)break;return i}else if(i===C){if(i.LABEL===r.label)continue;return i}else if(i===w)return i}}function dr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};do{var i=d(e.body,t);if(i===_){if(i.LABEL===r.label)break;return i}else if(i===C){if(i.LABEL===r.label)continue;return i}else if(i===w)return i}while(d(e.test,t))}function yr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=new T(t);for(e.init?d(e.init,i):void 0;!e.test||d(e.test,i);e.update?d(e.update,i):void 0){var s=new T(i);var a=void 0;if(e.body.type==="BlockStatement"?a=ce(e.body,s,{invasived:!0}):a=d(e.body,s),a===_){if(a.LABEL===r.label)break;return a}else if(a===C){if(a.LABEL===r.label)continue;return a}else if(a===w)return a}}function mr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};for(var i in d(e.right,t)){var s=wr(e,t,{value:i});if(s===_){if(s.LABEL===r.label)break;return s}else if(s===C){if(s.LABEL===r.label)continue;return s}else if(s===w)return s}}function gr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=d(e.right,t);var _iteratorNormalCompletion=true,_didIteratorError=false,_iteratorError=undefined;try{for(var _iterator=i[Symbol.iterator](),_step;!(_iteratorNormalCompletion=(_step=_iterator.next()).done);_iteratorNormalCompletion=true){var s=_step.value;var a=wr(e,t,{value:s});if(a===_){if(a.LABEL===r.label)break;return a}else if(a===C){if(a.LABEL===r.label)continue;return a}else if(a===w)return a}}catch(err){_didIteratorError=true;_iteratorError=err}finally{try{if(!_iteratorNormalCompletion&&_iterator.return!=null){_iterator.return()}}finally{if(_didIteratorError){throw _iteratorError}}}}function ja(e,t){t.func(e.id.name,re(e,t))}function ke(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};for(var i=0;i<e.declarations.length;i++)xr(e.declarations[i],t,j({kind:e.kind},r))}function xr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var tmp=r.kind,i=tmp===void 0?"var":tmp,tmp1=r.hoist,s=tmp1===void 0?!1:tmp1,tmp2=r.onlyBlock,a=tmp2===void 0?!1:tmp2,n=r.feed;if(s)(a||i==="var")&&(e.id.type==="Identifier"?t[i](e.id.name,a?$:i==="var"?M:void 0):q(e.id,t,{kind:i,hoist:s,onlyBlock:a}));else{var u="feed"in r,l=u?n:d(e.init,t);if(e.id.type==="Identifier"){var c=e.id.name;i==="var"&&!e.init&&!u?t.var(c,M):t[i](c,l),e.init&&["ClassExpression","FunctionExpression","ArrowFunctionExpression"].indexOf(e.init.type)!==-1&&!l.name&&v(l,"name",{value:c,configurable:!0})}else q(e.id,t,{kind:i,feed:l})}}function Ua(e,t){t.func(e.id.name,He(e,t))}function br(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=r.klass,s=r.superClass;for(var a=0;a<e.body.length;a++){var n=e.body[a];n.type==="MethodDefinition"?vr(n,t,{klass:i,superClass:s}):n.type==="PropertyDefinition"&&n.static?Ot(n,t,{klass:i,superClass:s}):n.type==="StaticBlock"&&Sr(n,t,{klass:i})}}function vr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=r.klass,s=r.superClass;var a,n=!1;if(e.computed)a=d(e.key,t);else if(e.key.type==="Identifier")a=e.key.name;else if(e.key.type==="PrivateIdentifier")a=e.key.name,n=!0;else throw new SyntaxError("Unexpected token");var u=e.static?i:i.prototype;n&&(u[B]||v(u,B,{value:{}}),u=u[B]);var l=re(e.value,t,{superClass:s});switch(e.kind){case"constructor":break;case"method":v(u,a,{value:l,writable:!0,configurable:!0});break;case"get":{var c=pe(u,a);v(u,a,{get:l,set:c&&c.set,configurable:!0});break}case"set":{var c1=pe(u,a);v(u,a,{get:c1&&c1.get,set:l,configurable:!0});break}default:throw new SyntaxError("Unexpected token")}}function Ot(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=r.klass,s=r.superClass;var a,n=!1;if(e.computed)a=d(e.key,t);else if(e.key.type==="Identifier")a=e.key.name;else if(e.key.type==="PrivateIdentifier")a=e.key.name,n=!0;else throw new SyntaxError("Unexpected token");var u=new T(t,!0);u.const("this",i);var l=i;n&&(l[B]||v(l,B,{value:{}}),l=l[B]),e.value?e.value.type==="FunctionExpression"||e.value.type==="ArrowFunctionExpression"?l[a]=re(e.value,u,{superClass:s}):l[a]=d(e.value,u):l[a]=void 0}function Sr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=r.klass,s=new T(t,!0);return s.const("this",i),ce(e,s,{invasived:!0})}function $a(e,t){var i=t.global().find(Se+e.source.value);var s;if(i){var a=i.get();a&&(typeof a=="function"?s=a():(typeof a==="undefined"?"undefined":_type_of(a))=="object"&&(s=a))}if(!s||(typeof s==="undefined"?"undefined":_type_of(s))!="object")throw new TypeError('Failed to resolve module specifier "'.concat(e.source.value,'"'));for(var a1=0;a1<e.specifiers.length;a1++){var n=e.specifiers[a1];var u=void 0;if(n.type==="ImportSpecifier"?u=n.imported.type==="Identifier"?n.imported.name:n.imported.value:n.type==="ImportDefaultSpecifier"?u="default":n.type==="ImportNamespaceSpecifier"&&(u="*"),u!=="*"&&!dt(s,u))throw new SyntaxError('The requested module "'.concat(e.source.value,'" does not provide an export named "').concat(u,'"'));t.var(n.local.name,u==="*"?j({},s):s[u])}}function qa(e,t){var r=t.global();var i;e.declaration.type==="FunctionDeclaration"?(i=re(e.declaration,t),t.func(e.declaration.id.name,i)):e.declaration.type==="ClassDeclaration"?(i=He(e.declaration,t),t.func(e.declaration.id.name,i)):i=d(e.declaration,t);var s=r.find(G);if(s){var a=s.get();a&&(typeof a==="undefined"?"undefined":_type_of(a))=="object"&&(a.default=i)}}function Wa(e,t){var r=t.global();if(e.declaration){if(e.declaration.type==="FunctionDeclaration"){var i=re(e.declaration,t);t.func(e.declaration.id.name,i);var s=r.find(G);if(s){var a=s.get();a&&(typeof a==="undefined"?"undefined":_type_of(a))=="object"&&(a[e.declaration.id.name]=i)}}else if(e.declaration.type==="ClassDeclaration"){var i1=He(e.declaration,t);t.func(e.declaration.id.name,i1);var s1=r.find(G);if(s1){var a1=s1.get();a1&&(typeof a1==="undefined"?"undefined":_type_of(a1))=="object"&&(a1[e.declaration.id.name]=i1)}}else if(e.declaration.type==="VariableDeclaration"){ke(e.declaration,t);var i2=r.find(G);if(i2){var s2=i2.get();if(s2&&(typeof s2==="undefined"?"undefined":_type_of(s2))=="object")for(var a2=0;a2<e.declaration.declarations.length;a2++){var n=e.declaration.declarations[a2].id.name,u=t.find(n);u&&(s2[n]=u.get())}}}}else if(e.specifiers){var i3=r.find(G);if(i3){var s3=i3.get();if(s3&&(typeof s3==="undefined"?"undefined":_type_of(s3))=="object")for(var a3=0;a3<e.specifiers.length;a3++){var n1=e.specifiers[a3],u1=n1.local.type==="Identifier"?n1.local.name:n1.local.value,l=t.find(u1);l&&(s3[n1.exported.type==="Identifier"?n1.exported.name:n1.exported.value]=l.get())}}}}function za(e,t){var r=t.global(),i=r.find(Se+e.source.value);var s;if(i){var n=i.get();n&&(typeof n=="function"?s=n():(typeof n==="undefined"?"undefined":_type_of(n))=="object"&&(s=n))}if(!s||(typeof s==="undefined"?"undefined":_type_of(s))!="object")throw new TypeError('Failed to resolve module specifier "'.concat(e.source.value,'"'));var a=r.find(G);if(a){var n1=a.get();n1&&(typeof n1==="undefined"?"undefined":_type_of(n1))=="object"&&j(n1,s)}}function Dt(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var tmp=r.onlyBlock,i=tmp===void 0?!1:tmp,s=[],a=[];for(var n=0;n<e.body.length;n++){var u=e.body[n];u.type==="FunctionDeclaration"?(s.push(u),a.push(n)):u.type==="VariableDeclaration"&&["const","let"].indexOf(u.kind)!==-1?ke(u,t,{hoist:!0,onlyBlock:!0}):i||fe(u,t)}if(a.length){for(var n1=a.length-1;n1>-1;n1--)e.body.splice(a[n1],1);e.body=s.concat(e.body)}}function fe(e,t){switch(e.type){case"VariableDeclaration":ke(e,t,{hoist:!0});break;case"ForInStatement":case"ForOfStatement":e.left.type==="VariableDeclaration"&&ke(e.left,t,{hoist:!0});case"ForStatement":e.type==="ForStatement"&&e.init&&e.init.type==="VariableDeclaration"&&ke(e.init,t,{hoist:!0});case"WhileStatement":case"DoWhileStatement":fe(e.body,t);break;case"IfStatement":fe(e.consequent,t),e.alternate&&fe(e.alternate,t);break;case"BlockStatement":for(var r=0;r<e.body.length;r++)fe(e.body[r],t);break;case"SwitchStatement":for(var r1=0;r1<e.cases.length;r1++)for(var i=0;i<e.cases[r1].consequent.length;i++)fe(e.cases[r1].consequent[i],t);break;case"TryStatement":{var r2=e.block.body;for(var a=0;a<r2.length;a++)fe(r2[a],t);var i1=e.handler&&e.handler.body.body;if(i1)for(var a1=0;a1<i1.length;a1++)fe(i1[a1],t);var s=e.finalizer&&e.finalizer.body;if(s)for(var a2=0;a2<s.length;a2++)fe(s[a2],t);break}}}function q(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};switch(e.type){case"ObjectPattern":return ar(e,t,r);case"ArrayPattern":return nr(e,t,r);case"RestElement":return Re(e,t,r);case"AssignmentPattern":return or(e,t,r);default:throw new SyntaxError("Unexpected token")}}function re(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var P,O;if(e.generator||e.async)return se(e,t,r);var i=r.superClass,s=r.construct,a=e.params,n=e.body.type==="BlockStatement"&&e.body.body.length>0&&e.body.body[0].directive==="use strict",u=!!((P=t.find(H))!=null&&P.get()),l=n||u;var f=function _target(){for(var _len=arguments.length,D=new Array(_len),_key=0;_key<_len;_key++){D[_key]=arguments[_key]}var k=new T(t,!0);n&&!u&&k.const(H,!0),e.type!=="ArrowFunctionExpression"&&(k.let("this",this),k.let("arguments",arguments),k.const(ft,_instanceof(this,_target)?this.constructor:void 0),i?(k.const(lt,i),s&&k.let(me,s)):s&&s(this));for(var L=0;L<a.length;L++){var z=a[L];z.type==="Identifier"?k.var(z.name,D[L]):z.type==="RestElement"?Re(z,k,{kind:"var",feed:D.slice(L)}):q(z,k,{kind:"var",feed:D[L]})}var V;if(e.body.type==="BlockStatement"?(Dt(e.body,k),V=ce(e.body,k,{invasived:!0,hoisted:!0})):(V=d(e.body,k),e.type==="ArrowFunctionExpression"&&(w.RES=V,V=w)),V===w)return V.RES;if(_instanceof(this,_target)?this.constructor:void 0)return k.find("this").get()};e.type==="ArrowFunctionExpression"&&v(f,ct,{value:!0}),v(f,"name",{value:e.id&&e.id.name||"",configurable:!0}),v(f,"length",{value:a.length,configurable:!0}),l&&v(f,ht,{value:!0});var g=(O=e.loc)==null?void 0:O.source;return g&&v(f,"toString",{value:function(){return g.substring(e.start,e.end)},configurable:!0}),f}function He(e,t){var r=d(e.superClass,t),i=e.body.body,s=function s(n){for(var u=0;u<i.length;u++){var l=i[u];l.type==="PropertyDefinition"&&!l.static&&Ot(l,t,{klass:n,superClass:r})}};var a=function a(){var n=r?Xe(this,r):this;return s(n),n};for(var n=0;n<i.length;n++){var u=i[n];if(u.type==="MethodDefinition"&&u.kind==="constructor"){a=re(u.value,t,{superClass:r,construct:s});break}}return r&&Kt(a,r),br(e.body,t,{klass:a,superClass:r}),v(a,Te,{value:!0}),v(a,"name",{value:e.id&&e.id.name||"",configurable:!0}),a}function wr(e,t,r){var i=r.value,s=e.left,a=new T(t);s.type==="VariableDeclaration"?ke(s,a,{feed:i}):s.type==="Identifier"?xe(s,t,{getVar:!0}).set(i):q(s,t,{feed:i});var n;return e.body.type==="BlockStatement"?n=ce(e.body,a,{invasived:!0}):n=d(e.body,a),n}function Ft(e,t){var r,tmp,i,s,a,n,u,_tmp,_tmp1,_tmp2,n1;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};tmp=r.onlyBlock,i=tmp===void 0?!1:tmp,s=[],a=[];n=0;_state.label=1;case 1:if(!(n<e.body.length))return[3,10];u=e.body[n];if(!(u.type==="FunctionDeclaration"))return[3,2];_tmp=(s.push(u),a.push(n));return[3,8];case 2:if(!(u.type==="VariableDeclaration"&&["const","let"].indexOf(u.kind)!==-1))return[3,4];return[5,_ts_values(we(u,t,{hoist:!0,onlyBlock:!0}))];case 3:_tmp1=_state.sent();return[3,7];case 4:_tmp2=i;if(_tmp2)return[3,6];return[5,_ts_values(he(u,t))];case 5:_tmp2=_state.sent();_state.label=6;case 6:_tmp1=_tmp2;_state.label=7;case 7:_tmp=_tmp1;_state.label=8;case 8:_tmp;_state.label=9;case 9:n++;return[3,1];case 10:if(a.length){for(n1=a.length-1;n1>-1;n1--)e.body.splice(a[n1],1);e.body=s.concat(e.body)}return[2]}})}function he(e,t){var _,_tmp,_tmp1,_tmp2,r,r1,i,r2,a,i1,a1,s,a2;return _ts_generator(this,function(_state){switch(_state.label){case 0:_=e.type;switch(_){case"VariableDeclaration":return[3,1];case"ForInStatement":return[3,3];case"ForOfStatement":return[3,3];case"ForStatement":return[3,6];case"WhileStatement":return[3,9];case"DoWhileStatement":return[3,9];case"IfStatement":return[3,11];case"BlockStatement":return[3,15];case"SwitchStatement":return[3,20];case"TryStatement":return[3,27]}return[3,40];case 1:return[5,_ts_values(we(e,t,{hoist:!0}))];case 2:_state.sent();return[3,40];case 3:_tmp=e.left.type==="VariableDeclaration";if(!_tmp)return[3,5];return[5,_ts_values(we(e.left,t,{hoist:!0}))];case 4:_tmp=_state.sent();_state.label=5;case 5:_tmp;_state.label=6;case 6:_tmp1=e.type==="ForStatement"&&e.init&&e.init.type==="VariableDeclaration";if(!_tmp1)return[3,8];return[5,_ts_values(we(e.init,t,{hoist:!0}))];case 7:_tmp1=_state.sent();_state.label=8;case 8:_tmp1;_state.label=9;case 9:return[5,_ts_values(he(e.body,t))];case 10:_state.sent();return[3,40];case 11:return[5,_ts_values(he(e.consequent,t))];case 12:_state.sent();_tmp2=e.alternate;if(!_tmp2)return[3,14];return[5,_ts_values(he(e.alternate,t))];case 13:_tmp2=_state.sent();_state.label=14;case 14:_tmp2;return[3,40];case 15:r=0;_state.label=16;case 16:if(!(r<e.body.length))return[3,19];return[5,_ts_values(he(e.body[r],t))];case 17:_state.sent();_state.label=18;case 18:r++;return[3,16];case 19:return[3,40];case 20:r1=0;_state.label=21;case 21:if(!(r1<e.cases.length))return[3,26];i=0;_state.label=22;case 22:if(!(i<e.cases[r1].consequent.length))return[3,25];return[5,_ts_values(he(e.cases[r1].consequent[i],t))];case 23:_state.sent();_state.label=24;case 24:i++;return[3,22];case 25:r1++;return[3,21];case 26:return[3,40];case 27:r2=e.block.body;a=0;_state.label=28;case 28:if(!(a<r2.length))return[3,31];return[5,_ts_values(he(r2[a],t))];case 29:_state.sent();_state.label=30;case 30:a++;return[3,28];case 31:i1=e.handler&&e.handler.body.body;if(!i1)return[3,35];a1=0;_state.label=32;case 32:if(!(a1<i1.length))return[3,35];return[5,_ts_values(he(i1[a1],t))];case 33:_state.sent();_state.label=34;case 34:a1++;return[3,32];case 35:s=e.finalizer&&e.finalizer.body;if(!s)return[3,39];a2=0;_state.label=36;case 36:if(!(a2<s.length))return[3,39];return[5,_ts_values(he(s[a2],t))];case 37:_state.sent();_state.label=38;case 38:a2++;return[3,36];case 39:return[3,40];case 40:return[2]}})}function W(e,t){var r,_;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};_=e.type;switch(_){case"ObjectPattern":return[3,1];case"ArrayPattern":return[3,3];case"RestElement":return[3,5];case"AssignmentPattern":return[3,7]}return[3,9];case 1:return[5,_ts_values(Mi(e,t,r))];case 2:return[2,_state.sent()];case 3:return[5,_ts_values(ji(e,t,r))];case 4:return[2,_state.sent()];case 5:return[5,_ts_values(Ne(e,t,r))];case 6:return[2,_state.sent()];case 7:return[5,_ts_values(Ui(e,t,r))];case 8:return[2,_state.sent()];case 9:throw new SyntaxError("Unexpected token");case 10:return[2]}})}function se(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var P,O;if(!e.generator&&!e.async)return re(e,t,r);var i=r.superClass,s=r.construct,a=e.params,n=e.body.type==="BlockStatement"&&e.body.body.length>0&&e.body.body[0].directive==="use strict",u=!!((P=t.find(H))!=null&&P.get()),l=n||u,c=function _target(){var _len,D,_key,k,_tmp,_tmp1,_tmp2,L,z,_tmp3,_tmp4,V,_tmp5;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:for(_len=_arguments.length,D=new Array(_len),_key=0;_key<_len;_key++){D[_key]=_arguments[_key]}k=new T(t,!0);n&&!u&&k.const(H,!0);_tmp=e.type!=="ArrowFunctionExpression";if(!_tmp)return[3,5];k.let("this",this),k.let("arguments",_arguments),k.const(ft,_instanceof(this,_target)?this.constructor:void 0);if(!i)return[3,1];_tmp1=(k.const(lt,i),s&&k.let(me,s));return[3,4];case 1:_tmp2=s;if(!_tmp2)return[3,3];return[5,_ts_values(s(this))];case 2:_tmp2=_state.sent();_state.label=3;case 3:_tmp1=_tmp2;_state.label=4;case 4:_tmp=_tmp1;_state.label=5;case 5:_tmp;L=0;_state.label=6;case 6:if(!(L<a.length))return[3,14];z=a[L];if(!(z.type==="Identifier"))return[3,7];_tmp3=k.var(z.name,D[L]);return[3,12];case 7:if(!(z.type==="RestElement"))return[3,9];return[5,_ts_values(Ne(z,k,{kind:"var",feed:D.slice(L)}))];case 8:_tmp4=_state.sent();return[3,11];case 9:return[5,_ts_values(W(z,k,{kind:"var",feed:D[L]}))];case 10:_tmp4=_state.sent();_state.label=11;case 11:_tmp3=_tmp4;_state.label=12;case 12:_tmp3;_state.label=13;case 13:L++;return[3,6];case 14:if(!(e.body.type==="BlockStatement"))return[3,17];return[5,_ts_values(Ft(e.body,k))];case 15:_state.sent();return[5,_ts_values(le(e.body,k,{invasived:!0,hoisted:!0}))];case 16:_tmp5=V=_state.sent();return[3,19];case 17:return[5,_ts_values(p(e.body,k))];case 18:_tmp5=(V=_state.sent(),e.type==="ArrowFunctionExpression"&&(w.RES=V,V=w));_state.label=19;case 19:if(_tmp5,V===w)return[2,V.RES];if(_instanceof(this,_target)?this.constructor:void 0)return[2,k.find("this").get()];return[2]}})};var f;e.async&&e.generator?f=function f(){var D=c.apply(this,arguments);var k=Promise.resolve(),V=!1;var L=function(Ee){return k=k.then(function(){return Lt(D,j({fullRet:!0},Ee))}).catch(function(Ha){if(!V)return V=!0,Promise.reject(Ha)})},z={next:function(Ee){return L({res:Ee})},throw:function(Ee){return L({err:Ee})},return:function(Ee){return L({ret:Ee})}};return typeof Symbol=="function"&&(z[Symbol.iterator]=function(){return this}),z}:e.async?f=function f(){return Lt(c.apply(this,arguments))}:f=c,v(f,ct,{value:!0}),v(f,"name",{value:e.id&&e.id.name||"",configurable:!0}),v(f,"length",{value:a.length,configurable:!0}),l&&v(f,ht,{value:!0});var g=(O=e.loc)==null?void 0:O.source;return g&&v(f,"toString",{value:function(){return g.substring(e.start,e.end)},configurable:!0}),f}function Ke(e,t){var r,i,s,a,n,u;return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(p(e.superClass,t))];case 1:r=_state.sent(),i=e.body.body,s=function s(n){var u,l,_tmp;return _ts_generator(this,function(_state){switch(_state.label){case 0:u=0;_state.label=1;case 1:if(!(u<i.length))return[3,5];l=i[u];_tmp=l.type==="PropertyDefinition"&&!l.static;if(!_tmp)return[3,3];return[5,_ts_values(Nt(l,t,{klass:n,superClass:r}))];case 2:_tmp=_state.sent();_state.label=3;case 3:_tmp;_state.label=4;case 4:u++;return[3,1];case 5:return[2]}})};a=function a(){var n;return _ts_generator(this,function(_state){switch(_state.label){case 0:n=r?Xe(this,r):this;return[5,_ts_values(s(n))];case 1:return[2,(_state.sent(),n)]}})};for(n=0;n<i.length;n++){u=i[n];if(u.type==="MethodDefinition"&&u.kind==="constructor"){a=se(u.value,t,{superClass:r,construct:s});break}}r&&Kt(a,r);return[5,_ts_values(Ji(e.body,t,{klass:a,superClass:r}))];case 2:return[2,(_state.sent(),v(a,Te,{value:!0}),v(a,"name",{value:e.id&&e.id.name||"",configurable:!0}),a)]}})}function Mt(e,t,r){var i,s,a,_tmp,_tmp1,n,_tmp2;return _ts_generator(this,function(_state){switch(_state.label){case 0:i=r.value,s=e.left,a=new T(t);if(!(s.type==="VariableDeclaration"))return[3,2];return[5,_ts_values(we(s,a,{feed:i}))];case 1:_tmp=_state.sent();return[3,7];case 2:if(!(s.type==="Identifier"))return[3,4];return[5,_ts_values(xe(s,t,{getVar:!0}))];case 3:_tmp1=_state.sent().set(i);return[3,6];case 4:return[5,_ts_values(W(s,t,{feed:i}))];case 5:_tmp1=_state.sent();_state.label=6;case 6:_tmp=_tmp1;_state.label=7;case 7:_tmp;if(!(e.body.type==="BlockStatement"))return[3,9];return[5,_ts_values(le(e.body,a,{invasived:!0}))];case 8:_tmp2=n=_state.sent();return[3,11];case 9:return[5,_ts_values(p(e.body,a))];case 10:_tmp2=n=_state.sent();_state.label=11;case 11:return[2,(_tmp2,n)]}})}var Ga=15,Ut=/*#__PURE__*/function(){function Ut(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};_class_call_check(this,Ut);this.options={ecmaVersion:"latest"},this.scope=new T(null,!0),this.exports={};var tmp=t.ecmaVer,r=tmp===void 0?"latest":tmp,tmp1=t.sandBox,i=tmp1===void 0?!0:tmp1,tmp2=t.sourceType,s=tmp2===void 0?"script":tmp2;if(typeof r=="number"&&(r-=r<2015?0:2009),r!=="latest"&&r!==3&&(r<5||r>Ga))throw new Error("unsupported ecmaVer");if(this.options.ecmaVersion=r,this.options.sourceType=s,i){var a=Pr();this.scope.let("globalThis",a),this.scope.let("window",a),this.scope.let("self",a),this.scope.let("this",s==="module"?void 0:a)}else this.scope.let("globalThis",h),this.scope.let("window",h),this.scope.let("self",h),this.scope.let("this",s==="module"?void 0:h);this.scope.const(s==="module"?G:"exports",this.exports={}),s==="module"&&this.scope.const(H,!0)}_create_class(Ut,[{key:"import",value:function _import(t,r){if(typeof t=="string"&&(t=_define_property({},t,r)),(typeof t==="undefined"?"undefined":_type_of(t))!="object")return;var i=yt(t);for(var s=0;s<i.length;s++){var a=i[s],n=this.options.sourceType==="module"?Se+a:a;this.scope.var(n,t[a])}}},{key:"parse",value:function parse(t,r){return typeof r=="function"?r(t,this.options):ms(t,this.options)}},{key:"run",value:function run(t){var r=typeof t=="string"?this.parse(t):t,i=this.scope;this.options.sourceType==="module"&&(this.options.ecmaVersion==="latest"||this.options.ecmaVersion>=13)?Lt(function(){return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(Ft(r,i))];case 1:_state.sent();return[5,_ts_values(p(r,i))];case 2:_state.sent();return[2]}})}()):(Dt(r,i),d(r,i))}}]);return Ut}();Ut.version=gs.version;var jt=Ut;return jt});}();
1
+ !function(){function _array_like_to_array(arr,len){if(len==null||len>arr.length)len=arr.length;for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function _array_without_holes(arr){if(Array.isArray(arr))return _array_like_to_array(arr)}function _class_call_check(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _construct(Parent,args,Class){if(_is_native_reflect_construct()){_construct=Reflect.construct}else{_construct=function construct(Parent,args,Class){var a=[null];a.push.apply(a,args);var Constructor=Function.bind.apply(Parent,a);var instance=new Constructor;if(Class)_set_prototype_of(instance,Class.prototype);return instance}}return _construct.apply(null,arguments)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor)}}function _create_class(Constructor,protoProps,staticProps){if(protoProps)_defineProperties(Constructor.prototype,protoProps);if(staticProps)_defineProperties(Constructor,staticProps);return Constructor}function _define_property(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true})}else{obj[key]=value}return obj}function _instanceof(left,right){if(right!=null&&typeof Symbol!=="undefined"&&right[Symbol.hasInstance]){return!!right[Symbol.hasInstance](left)}else{return left instanceof right}}function _iterable_to_array(iter){if(typeof Symbol!=="undefined"&&iter[Symbol.iterator]!=null||iter["@@iterator"]!=null)return Array.from(iter)}function _non_iterable_spread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _set_prototype_of(o,p){_set_prototype_of=Object.setPrototypeOf||function setPrototypeOf(o,p){o.__proto__=p;return o};return _set_prototype_of(o,p)}function _to_consumable_array(arr){return _array_without_holes(arr)||_iterable_to_array(arr)||_unsupported_iterable_to_array(arr)||_non_iterable_spread()}function _type_of(obj){"@swc/helpers - typeof";return obj&&typeof Symbol!=="undefined"&&obj.constructor===Symbol?"symbol":typeof obj}function _unsupported_iterable_to_array(o,minLen){if(!o)return;if(typeof o==="string")return _array_like_to_array(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n==="Object"&&o.constructor)n=o.constructor.name;if(n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _array_like_to_array(o,minLen)}function _is_native_reflect_construct(){try{var result=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(_){}return(_is_native_reflect_construct=function(){return!!result})()}function _ts_generator(thisArg,body){var f,y,t,_={label:0,sent:function(){if(t[0]&1)throw t[1];return t[1]},trys:[],ops:[]},g=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return g.next=verb(0),g["throw"]=verb(1),g["return"]=verb(2),typeof Symbol==="function"&&(g[Symbol.iterator]=function(){return this}),g;function verb(n){return function(v){return step([n,v])}}function step(op){if(f)throw new TypeError("Generator is already executing.");while(g&&(g=0,op[0]&&(_=0)),_)try{if(f=1,y&&(t=op[0]&2?y["return"]:op[0]?y["throw"]||((t=y["return"])&&t.call(y),0):y.next)&&!(t=t.call(y,op[1])).done)return t;if(y=0,t)op=[op[0]&2,t.value];switch(op[0]){case 0:case 1:t=op;break;case 4:_.label++;return{value:op[1],done:false};case 5:_.label++;y=op[1];op=[0];continue;case 7:op=_.ops.pop();_.trys.pop();continue;default:if(!(t=_.trys,t=t.length>0&&t[t.length-1])&&(op[0]===6||op[0]===2)){_=0;continue}if(op[0]===3&&(!t||op[1]>t[0]&&op[1]<t[3])){_.label=op[1];break}if(op[0]===6&&_.label<t[1]){_.label=t[1];t=op;break}if(t&&_.label<t[2]){_.label=t[2];_.ops.push(op);break}if(t[2])_.ops.pop();_.trys.pop();continue}op=body.call(thisArg,_)}catch(e){op=[6,e];y=0}finally{f=t=0}if(op[0]&5)throw op[1];return{value:op[0]?op[1]:void 0,done:true}}}function _ts_values(o){var s=typeof Symbol==="function"&&Symbol.iterator,m=s&&o[s],i=0;if(m)return m.call(o);if(o&&typeof o.length==="number")return{next:function(){if(o&&i>=o.length)o=void 0;return{value:o&&o[i++],done:!o}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")}(function(Be,Oe){(typeof exports==="undefined"?"undefined":_type_of(exports))=="object"&&(typeof module==="undefined"?"undefined":_type_of(module))<"u"?module.exports=Oe():typeof define=="function"&&define.amd?define(Oe):(Be=(typeof globalThis==="undefined"?"undefined":_type_of(globalThis))<"u"?globalThis:Be||self,Be.Sval=Oe())})(this,function _target(){"use strict";var Be=Object.freeze(Object.defineProperty({__proto__:null,get BlockStatement(){return le},get BreakStatement(){return Ys},get CatchClause(){return Ki},get ContinueStatement(){return Js},get DebuggerStatement(){return Zs},get DoWhileStatement(){return Zi},get EmptyStatement(){return Qs},get ExpressionStatement(){return Ks},get ForInStatement(){return Yi},get ForOfStatement(){return Ji},get ForStatement(){return Xi},get IfStatement(){return zi},get LabeledStatement(){return ea},get ReturnStatement(){return Xs},get SwitchCase(){return Nt},get SwitchStatement(){return Gi},get ThrowStatement(){return ta},get TryStatement(){return Hi},get WhileStatement(){return Qi},get WithStatement(){return Wi}},Symbol.toStringTag,{value:"Module"})),Oe=Object.freeze(Object.defineProperty({__proto__:null,get ClassBody(){return tr},get ClassDeclaration(){return ra},get ExportAllDeclaration(){return oa},get ExportDefaultDeclaration(){return aa},get ExportNamedDeclaration(){return na},get FunctionDeclaration(){return ia},get ImportDeclaration(){return sa},get MethodDefinition(){return ir},get PropertyDefinition(){return Rt},get StaticBlock(){return rr},get VariableDeclaration(){return we},get VariableDeclarator(){return er}},Symbol.toStringTag,{value:"Module"})),Cr=Object.freeze(Object.defineProperty({__proto__:null,get BlockStatement(){return ce},get BreakStatement(){return Fa},get CatchClause(){return dr},get ContinueStatement(){return Ma},get DebuggerStatement(){return Oa},get DoWhileStatement(){return mr},get EmptyStatement(){return Ba},get ExpressionStatement(){return Ra},get ForInStatement(){return xr},get ForOfStatement(){return br},get ForStatement(){return gr},get IfStatement(){return fr},get LabeledStatement(){return ja},get ReturnStatement(){return Da},get SwitchCase(){return Dt},get SwitchStatement(){return hr},get ThrowStatement(){return Ua},get TryStatement(){return pr},get WhileStatement(){return yr},get WithStatement(){return cr}},Symbol.toStringTag,{value:"Module"})),_r=Object.freeze(Object.defineProperty({__proto__:null,get ClassBody(){return Sr},get ClassDeclaration(){return qa},get ExportAllDeclaration(){return Ha},get ExportDefaultDeclaration(){return za},get ExportNamedDeclaration(){return Ga},get FunctionDeclaration(){return $a},get ImportDeclaration(){return Wa},get MethodDefinition(){return wr},get PropertyDefinition(){return Ft},get StaticBlock(){return kr},get VariableDeclaration(){return ke},get VariableDeclarator(){return vr}},Symbol.toStringTag,{value:"Module"})),Qe=Object.freeze,v=Object.defineProperty,pe=Object.getOwnPropertyDescriptor,Ir=Object.prototype.hasOwnProperty;function dt(e,t){return Ir.call(e,t)}var yt=Object.getOwnPropertyNames,Wt=Object.setPrototypeOf;function Ar(e,t){Wt?Wt(e,t):e.__proto__=t}var zt=Object.getPrototypeOf;function Gt(e){return zt?zt(e):e.__proto__}var Pr=Object.getOwnPropertyDescriptor;function Ht(e,t,r){for(;t;){var i=Pr(t,r),s=(typeof i==="undefined"?"undefined":_type_of(i))<"u"&&_type_of(i.writable)>"u"&&typeof i[e]=="function"&&i[e];if(s)return s;t=Gt(t)}}function Kt(e,t){return Ht("get",e,t)}function Qt(e,t){return Ht("set",e,t)}var Ce=Object.create;function Zt(e,t){Ar(e,t),e.prototype=Ce(t.prototype,{constructor:{value:e,writable:!0}})}function Ze(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];var i=!1;try{i=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return i?Reflect.construct(t,r,Gt(e).constructor):t.apply(e,r)}function Lr(e){for(var t=1;t<arguments.length;++t){var r=arguments[t];for(var i in r)dt(r,i)&&(e[i]=r[i])}return e}var j=Object.assign||Lr;var Xe=[],h=Ce(null);var Ye=function(e){if(!e.Object)throw 0;Xe=yt(h=e).filter(function(t){return["webkitStorageInfo","GLOBAL","root"].indexOf(t)===-1})};try{Ye(window)}catch(e){try{Ye(self)}catch(e){try{Ye(global)}catch(e){try{Ye(globalThis)}catch(e){try{h.Object=Object}catch(e){}try{h.Function=Function}catch(e){}try{h.Array=Array}catch(e){}try{h.Number=Number}catch(e){}try{h.parseFloat=parseFloat}catch(e){}try{h.parseInt=parseInt}catch(e){}try{h.Infinity=1/0}catch(e){}try{h.NaN=NaN}catch(e){}try{h.undefined=void 0}catch(e){}try{h.Boolean=Boolean}catch(e){}try{h.String=String}catch(e){}try{h.Symbol=Symbol}catch(e){}try{h.Date=Date}catch(e){}try{h.Promise=Promise}catch(e){}try{h.RegExp=RegExp}catch(e){}try{h.Error=Error}catch(e){}try{h.EvalError=EvalError}catch(e){}try{h.RangeError=RangeError}catch(e){}try{h.ReferenceError=ReferenceError}catch(e){}try{h.SyntaxError=SyntaxError}catch(e){}try{h.TypeError=TypeError}catch(e){}try{h.URIError=URIError}catch(e){}try{h.JSON=JSON}catch(e){}try{h.Math=Math}catch(e){}try{h.console=console}catch(e){}try{h.Intl=Intl}catch(e){}try{h.ArrayBuffer=ArrayBuffer}catch(e){}try{h.Uint8Array=Uint8Array}catch(e){}try{h.Int8Array=Int8Array}catch(e){}try{h.Uint16Array=Uint16Array}catch(e){}try{h.Int16Array=Int16Array}catch(e){}try{h.Uint32Array=Uint32Array}catch(e){}try{h.Int32Array=Int32Array}catch(e){}try{h.Float32Array=Float32Array}catch(e){}try{h.Float64Array=Float64Array}catch(e){}try{h.Uint8ClampedArray=Uint8ClampedArray}catch(e){}try{h.DataView=DataView}catch(e){}try{h.Map=Map}catch(e){}try{h.Set=Set}catch(e){}try{h.WeakMap=WeakMap}catch(e){}try{h.WeakSet=WeakSet}catch(e){}try{h.Proxy=Proxy}catch(e){}try{h.Reflect=Reflect}catch(e){}try{h.BigInt=BigInt}catch(e){}try{h.decodeURI=decodeURI}catch(e){}try{h.decodeURIComponent=decodeURIComponent}catch(e){}try{h.encodeURI=encodeURI}catch(e){}try{h.encodeURIComponent=encodeURIComponent}catch(e){}try{h.escape=escape}catch(e){}try{h.unescape=unescape}catch(e){}try{h.eval=eval}catch(e){}try{h.isFinite=isFinite}catch(e){}try{h.isNaN=isNaN}catch(e){}try{h.SharedArrayBuffer=SharedArrayBuffer}catch(e){}try{h.Atomics=Atomics}catch(e){}try{h.WebAssembly=WebAssembly}catch(e){}try{h.clearInterval=clearInterval}catch(e){}try{h.clearTimeout=clearTimeout}catch(e){}try{h.setInterval=setInterval}catch(e){}try{h.setTimeout=setTimeout}catch(e){}try{h.crypto=crypto}catch(e){}try{h.URL=URL}catch(e){}Xe=yt(h)}}}}h.Symbol&&(!h.Symbol.iterator&&(h.Symbol.iterator=R("iterator")),!h.Symbol.asyncIterator&&(h.Symbol.asyncIterator=R("asynciterator")));var Xt=Ce({});for(var e=0;e<Xe.length;e++){var t=Xe[e];try{Xt[t]=h[t]}catch(e){}}var De=R("window");function Tr(){return j(Ce(_define_property({},De,h)),Xt)}function R(e){return e+Math.random().toString(36).substring(2)}function Vr(e){var t;if(typeof Symbol=="function"&&(t=e[Symbol.asyncIterator],!t&&(t=e[Symbol.iterator])),t)return t.call(e);if(typeof e.next=="function")return e;{var r=0;return{next:function next(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}}}var Nr=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239],Yt=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],Rr="‌‍\xb7̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・",Jt="\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",mt={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},gt="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",Br={5:gt,"5module":gt+" export import",6:gt+" const class extends export import super"},Or=/^in(stanceof)?$/,Dr=new RegExp("["+Jt+"]"),Fr=new RegExp("["+Jt+Rr+"]");function xt(e,t){for(var r=65536,i=0;i<t.length;i+=2){if(r+=t[i],r>e)return!1;if(r+=t[i+1],r>=e)return!0}return!1}function ae(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&Dr.test(String.fromCharCode(e)):t===!1?!1:xt(e,Yt)}function _e(e,t){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&Fr.test(String.fromCharCode(e)):t===!1?!1:xt(e,Yt)||xt(e,Nr)}var E=function E(t,r){r===void 0&&(r={}),this.label=t,this.keyword=r.keyword,this.beforeExpr=!!r.beforeExpr,this.startsExpr=!!r.startsExpr,this.isLoop=!!r.isLoop,this.isAssign=!!r.isAssign,this.prefix=!!r.prefix,this.postfix=!!r.postfix,this.binop=r.binop||null,this.updateContext=null};function K(e,t){return new E(e,{beforeExpr:!0,binop:t})}var Q={beforeExpr:!0},U={startsExpr:!0},bt={};function S(e,t){return t===void 0&&(t={}),t.keyword=e,bt[e]=new E(e,t)}var o={num:new E("num",U),regexp:new E("regexp",U),string:new E("string",U),name:new E("name",U),privateId:new E("privateId",U),eof:new E("eof"),bracketL:new E("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new E("]"),braceL:new E("{",{beforeExpr:!0,startsExpr:!0}),braceR:new E("}"),parenL:new E("(",{beforeExpr:!0,startsExpr:!0}),parenR:new E(")"),comma:new E(",",Q),semi:new E(";",Q),colon:new E(":",Q),dot:new E("."),question:new E("?",Q),questionDot:new E("?."),arrow:new E("=>",Q),template:new E("template"),invalidTemplate:new E("invalidTemplate"),ellipsis:new E("...",Q),backQuote:new E("`",U),dollarBraceL:new E("${",{beforeExpr:!0,startsExpr:!0}),eq:new E("=",{beforeExpr:!0,isAssign:!0}),assign:new E("_=",{beforeExpr:!0,isAssign:!0}),incDec:new E("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new E("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:K("||",1),logicalAND:K("&&",2),bitwiseOR:K("|",3),bitwiseXOR:K("^",4),bitwiseAND:K("&",5),equality:K("==/!=/===/!==",6),relational:K("</>/<=/>=",7),bitShift:K("<</>>/>>>",8),plusMin:new E("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:K("%",10),star:K("*",10),slash:K("/",10),starstar:new E("**",{beforeExpr:!0}),coalesce:K("??",1),_break:S("break"),_case:S("case",Q),_catch:S("catch"),_continue:S("continue"),_debugger:S("debugger"),_default:S("default",Q),_do:S("do",{isLoop:!0,beforeExpr:!0}),_else:S("else",Q),_finally:S("finally"),_for:S("for",{isLoop:!0}),_function:S("function",U),_if:S("if"),_return:S("return",Q),_switch:S("switch"),_throw:S("throw",Q),_try:S("try"),_var:S("var"),_const:S("const"),_while:S("while",{isLoop:!0}),_with:S("with"),_new:S("new",{beforeExpr:!0,startsExpr:!0}),_this:S("this",U),_super:S("super",U),_class:S("class",U),_extends:S("extends",Q),_export:S("export"),_import:S("import",U),_null:S("null",U),_true:S("true",U),_false:S("false",U),_in:S("in",{beforeExpr:!0,binop:7}),_instanceof:S("instanceof",{beforeExpr:!0,binop:7}),_typeof:S("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:S("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:S("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},Z=/\r\n?|\n|\u2028|\u2029/,Mr=new RegExp(Z.source,"g");function Ie(e){return e===10||e===13||e===8232||e===8233}function ei(e,t,r){r===void 0&&(r=e.length);for(var i=t;i<r;i++){var s=e.charCodeAt(i);if(Ie(s))return i<r-1&&s===13&&e.charCodeAt(i+1)===10?i+2:i+1}return-1}var ti=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,X=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,ii=Object.prototype,jr=ii.hasOwnProperty,Ur=ii.toString,Ae=Object.hasOwn||function(e,t){return jr.call(e,t)},ri=Array.isArray||function(e){return Ur.call(e)==="[object Array]"},si=Object.create(null);function de(e){return si[e]||(si[e]=new RegExp("^(?:"+e.replace(/ /g,"|")+")$"))}function ne(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}var $r=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,Fe=function Fe(t,r){this.line=t,this.column=r};Fe.prototype.offset=function(t){return new Fe(this.line,this.column+t)};var Je=function Je(t,r,i){this.start=r,this.end=i,t.sourceFile!==null&&(this.source=t.sourceFile)};function ai(e,t){for(var r=1,i=0;;){var s=ei(e,i,t);if(s<0)return new Fe(r,t-i);++r,i=s}}var vt={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},ni=!1;function qr(e){var t={};for(var r in vt)t[r]=e&&Ae(e,r)?e[r]:vt[r];if(t.ecmaVersion==="latest"?t.ecmaVersion=1e8:t.ecmaVersion==null?(!ni&&(typeof console==="undefined"?"undefined":_type_of(console))=="object"&&console.warn&&(ni=!0,console.warn("Since Acorn 8.0.0, options.ecmaVersion is required.\nDefaulting to 2020, but this will stop working in the future.")),t.ecmaVersion=11):t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),(!e||e.allowHashBang==null)&&(t.allowHashBang=t.ecmaVersion>=14),ri(t.onToken)){var i=t.onToken;t.onToken=function(s){return i.push(s)}}return ri(t.onComment)&&(t.onComment=Wr(t,t.onComment)),t}function Wr(e,t){return function(r,i,s,a,n,u){var l={type:r?"Block":"Line",value:i,start:s,end:a};e.locations&&(l.loc=new Je(this,n,u)),e.ranges&&(l.range=[s,a]),t.push(l)}}var Me=1,Pe=2,St=4,oi=8,wt=16,ui=32,et=64,li=128,be=256,je=512,tt=Me|Pe|be;function kt(e,t){return Pe|(e?St:0)|(t?oi:0)}var it=0,Et=1,oe=2,ci=3,fi=4,hi=5,N=function N(t,r,i){this.options=t=qr(t),this.sourceFile=t.sourceFile,this.keywords=de(Br[t.ecmaVersion>=6?6:t.sourceType==="module"?"5module":5]);var s="";t.allowReserved!==!0&&(s=mt[t.ecmaVersion>=6?6:t.ecmaVersion===5?5:3],t.sourceType==="module"&&(s+=" await")),this.reservedWords=de(s);var a=(s?s+" ":"")+mt.strict;this.reservedWordsStrict=de(a),this.reservedWordsStrictBind=de(a+" "+mt.strictBind),this.input=String(r),this.containsEsc=!1,i?(this.pos=i,this.lineStart=this.input.lastIndexOf("\n",i-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(Z).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=o.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=t.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&t.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(Me),this.regexpState=null,this.privateNameStack=[]},te={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};N.prototype.parse=function(){var t=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(t)},te.inFunction.get=function(){return(this.currentVarScope().flags&Pe)>0},te.inGenerator.get=function(){return(this.currentVarScope().flags&oi)>0},te.inAsync.get=function(){return(this.currentVarScope().flags&St)>0},te.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e],r=t.flags;if(r&(be|je))return!1;if(r&Pe)return(r&St)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},te.allowSuper.get=function(){var e=this.currentThisScope(),t=e.flags;return(t&et)>0||this.options.allowSuperOutsideMethod},te.allowDirectSuper.get=function(){return(this.currentThisScope().flags&li)>0},te.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},te.allowNewDotTarget.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e],r=t.flags;if(r&(be|je)||r&Pe&&!(r&wt))return!0}return!1},te.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&be)>0},N.extend=function(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];for(var i=this,s=0;s<t.length;s++)i=t[s](i);return i},N.parse=function(t,r){return new this(r,t).parse()},N.parseExpressionAt=function(t,r,i){var s=new this(i,t,r);return s.nextToken(),s.parseExpression()},N.tokenizer=function(t,r){return new this(r,t)},Object.defineProperties(N.prototype,te);var F=N.prototype,zr=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;F.strictDirective=function(e){if(this.options.ecmaVersion<5)return!1;for(;;){X.lastIndex=e,e+=X.exec(this.input)[0].length;var t=zr.exec(this.input.slice(e));if(!t)return!1;if((t[1]||t[2])==="use strict"){X.lastIndex=e+t[0].length;var r=X.exec(this.input),i=r.index+r[0].length,s=this.input.charAt(i);return s===";"||s==="}"||Z.test(r[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(s)||s==="!"&&this.input.charAt(i+1)==="=")}e+=t[0].length,X.lastIndex=e,e+=X.exec(this.input)[0].length,this.input[e]===";"&&e++}},F.eat=function(e){return this.type===e?(this.next(),!0):!1},F.isContextual=function(e){return this.type===o.name&&this.value===e&&!this.containsEsc},F.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1},F.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},F.canInsertSemicolon=function(){return this.type===o.eof||this.type===o.braceR||Z.test(this.input.slice(this.lastTokEnd,this.start))},F.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},F.semicolon=function(){!this.eat(o.semi)&&!this.insertSemicolon()&&this.unexpected()},F.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},F.expect=function(e){this.eat(e)||this.unexpected()},F.unexpected=function(e){this.raise(e!==null&&e!==void 0?e:this.start,"Unexpected token")};var rt=function rt(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};F.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var r=t?e.parenthesizedAssign:e.parenthesizedBind;r>-1&&this.raiseRecoverable(r,t?"Assigning to rvalue":"Parenthesized pattern")}},F.checkExpressionErrors=function(e,t){if(!e)return!1;var r=e.shorthandAssign,i=e.doubleProto;if(!t)return r>=0||i>=0;r>=0&&this.raise(r,"Shorthand property assignments are valid only in destructuring patterns"),i>=0&&this.raiseRecoverable(i,"Redefinition of __proto__ property")},F.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},F.isSimpleAssignTarget=function(e){return e.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(e.expression):e.type==="Identifier"||e.type==="MemberExpression"};var m=N.prototype;m.parseTopLevel=function(e){var t=Object.create(null);for(e.body||(e.body=[]);this.type!==o.eof;){var r=this.parseStatement(null,!0,t);e.body.push(r)}if(this.inModule)for(var i=0,s=Object.keys(this.undefinedExports);i<s.length;i+=1){var a=s[i];this.raiseRecoverable(this.undefinedExports[a].start,"Export '"+a+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType,this.finishNode(e,"Program")};var Ct={kind:"loop"},Gr={kind:"switch"};m.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;X.lastIndex=this.pos;var t=X.exec(this.input),r=this.pos+t[0].length,i=this.input.charCodeAt(r);if(i===91||i===92)return!0;if(e)return!1;if(i===123||i>55295&&i<56320)return!0;if(ae(i,!0)){for(var s=r+1;_e(i=this.input.charCodeAt(s),!0);)++s;if(i===92||i>55295&&i<56320)return!0;var a=this.input.slice(r,s);if(!Or.test(a))return!0}return!1},m.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;X.lastIndex=this.pos;var e=X.exec(this.input),t=this.pos+e[0].length,r;return!Z.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!(_e(r=this.input.charCodeAt(t+8))||r>55295&&r<56320))},m.parseStatement=function(e,t,r){var i=this.type,s=this.startNode(),a;switch(this.isLet(e)&&(i=o._var,a="let"),i){case o._break:case o._continue:return this.parseBreakContinueStatement(s,i.keyword);case o._debugger:return this.parseDebuggerStatement(s);case o._do:return this.parseDoStatement(s);case o._for:return this.parseForStatement(s);case o._function:return e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(s,!1,!e);case o._class:return e&&this.unexpected(),this.parseClass(s,!0);case o._if:return this.parseIfStatement(s);case o._return:return this.parseReturnStatement(s);case o._switch:return this.parseSwitchStatement(s);case o._throw:return this.parseThrowStatement(s);case o._try:return this.parseTryStatement(s);case o._const:case o._var:return a=a||this.value,e&&a!=="var"&&this.unexpected(),this.parseVarStatement(s,a);case o._while:return this.parseWhileStatement(s);case o._with:return this.parseWithStatement(s);case o.braceL:return this.parseBlock(!0,s);case o.semi:return this.parseEmptyStatement(s);case o._export:case o._import:if(this.options.ecmaVersion>10&&i===o._import){X.lastIndex=this.pos;var n=X.exec(this.input),u=this.pos+n[0].length,l=this.input.charCodeAt(u);if(l===40||l===46)return this.parseExpressionStatement(s,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),i===o._import?this.parseImport(s):this.parseExport(s,r);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(s,!0,!e);var c=this.value,f=this.parseExpression();return i===o.name&&f.type==="Identifier"&&this.eat(o.colon)?this.parseLabeledStatement(s,c,f,e):this.parseExpressionStatement(s,f)}},m.parseBreakContinueStatement=function(e,t){var r=t==="break";this.next(),this.eat(o.semi)||this.insertSemicolon()?e.label=null:this.type!==o.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var i=0;i<this.labels.length;++i){var s=this.labels[i];if((e.label==null||s.name===e.label.name)&&(s.kind!=null&&(r||s.kind==="loop")||e.label&&r))break}return i===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,r?"BreakStatement":"ContinueStatement")},m.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")},m.parseDoStatement=function(e){return this.next(),this.labels.push(Ct),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(o._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(o.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},m.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Ct),this.enterScope(0),this.expect(o.parenL),this.type===o.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var r=this.isLet();if(this.type===o._var||this.type===o._const||r){var i=this.startNode(),s=r?"let":this.value;return this.next(),this.parseVar(i,!0,s),this.finishNode(i,"VariableDeclaration"),(this.type===o._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&i.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===o._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,i)):(t>-1&&this.unexpected(t),this.parseFor(e,i))}var a=this.isContextual("let"),n=!1,u=this.containsEsc,l=new rt,c=this.start,f=t>-1?this.parseExprSubscripts(l,"await"):this.parseExpression(!0,l);return this.type===o._in||(n=this.options.ecmaVersion>=6&&this.isContextual("of"))?(t>-1?(this.type===o._in&&this.unexpected(t),e.await=!0):n&&this.options.ecmaVersion>=8&&(f.start===c&&!u&&f.type==="Identifier"&&f.name==="async"?this.unexpected():this.options.ecmaVersion>=9&&(e.await=!1)),a&&n&&this.raise(f.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(f,!1,l),this.checkLValPattern(f),this.parseForIn(e,f)):(this.checkExpressionErrors(l,!0),t>-1&&this.unexpected(t),this.parseFor(e,f))},m.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,Ue|(r?0:_t),!1,t)},m.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(o._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},m.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(o.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},m.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(o.braceL),this.labels.push(Gr),this.enterScope(0);for(var t,r=!1;this.type!==o.braceR;)if(this.type===o._case||this.type===o._default){var i=this.type===o._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),i?t.test=this.parseExpression():(r&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),r=!0,t.test=null),this.expect(o.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},m.parseThrowStatement=function(e){return this.next(),Z.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var Hr=[];m.parseCatchClauseParam=function(){var e=this.parseBindingAtom(),t=e.type==="Identifier";return this.enterScope(t?ui:0),this.checkLValPattern(e,t?fi:oe),this.expect(o.parenR),e},m.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===o._catch){var t=this.startNode();this.next(),this.eat(o.parenL)?t.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0)),t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(o._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},m.parseVarStatement=function(e,t,r){return this.next(),this.parseVar(e,!1,t,r),this.semicolon(),this.finishNode(e,"VariableDeclaration")},m.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(Ct),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},m.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")},m.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},m.parseLabeledStatement=function(e,t,r,i){for(var s=0,a=this.labels;s<a.length;s+=1){var n=a[s];n.name===t&&this.raise(r.start,"Label '"+t+"' is already declared")}for(var u=this.type.isLoop?"loop":this.type===o._switch?"switch":null,l=this.labels.length-1;l>=0;l--){var c=this.labels[l];if(c.statementStart===e.start)c.statementStart=this.start,c.kind=u;else break}return this.labels.push({name:t,kind:u,statementStart:this.start}),e.body=this.parseStatement(i?i.indexOf("label")===-1?i+"label":i:"label"),this.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")},m.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},m.parseBlock=function(e,t,r){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(o.braceL),e&&this.enterScope(0);this.type!==o.braceR;){var i=this.parseStatement(null);t.body.push(i)}return r&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")},m.parseFor=function(e,t){return e.init=t,this.expect(o.semi),e.test=this.type===o.semi?null:this.parseExpression(),this.expect(o.semi),e.update=this.type===o.parenR?null:this.parseExpression(),this.expect(o.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},m.parseForIn=function(e,t){var r=this.type===o._in;return this.next(),t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!r||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")&&this.raise(t.start,(r?"for-in":"for-of")+" loop variable declaration may not have an initializer"),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssign(),this.expect(o.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")},m.parseVar=function(e,t,r,i){for(e.declarations=[],e.kind=r;;){var s=this.startNode();if(this.parseVarId(s,r),this.eat(o.eq)?s.init=this.parseMaybeAssign(t):!i&&r==="const"&&!(this.type===o._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():!i&&s.id.type!=="Identifier"&&!(t&&(this.type===o._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):s.init=null,e.declarations.push(this.finishNode(s,"VariableDeclarator")),!this.eat(o.comma))break}return e},m.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLValPattern(e.id,t==="var"?Et:oe,!1)};var Ue=1,_t=2,pi=4;m.parseFunction=function(e,t,r,i,s){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!i)&&(this.type===o.star&&t&_t&&this.unexpected(),e.generator=this.eat(o.star)),this.options.ecmaVersion>=8&&(e.async=!!i),t&Ue&&(e.id=t&pi&&this.type!==o.name?null:this.parseIdent(),e.id&&!(t&_t)&&this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?Et:oe:ci));var a=this.yieldPos,n=this.awaitPos,u=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(kt(e.async,e.generator)),t&Ue||(e.id=this.type===o.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,r,!1,s),this.yieldPos=a,this.awaitPos=n,this.awaitIdentPos=u,this.finishNode(e,t&Ue?"FunctionDeclaration":"FunctionExpression")},m.parseFunctionParams=function(e){this.expect(o.parenL),e.params=this.parseBindingList(o.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},m.parseClass=function(e,t){this.next();var r=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var i=this.enterClassBody(),s=this.startNode(),a=!1;for(s.body=[],this.expect(o.braceL);this.type!==o.braceR;){var n=this.parseClassElement(e.superClass!==null);n&&(s.body.push(n),n.type==="MethodDefinition"&&n.kind==="constructor"?(a&&this.raiseRecoverable(n.start,"Duplicate constructor in the same class"),a=!0):n.key&&n.key.type==="PrivateIdentifier"&&Kr(i,n)&&this.raiseRecoverable(n.key.start,"Identifier '#"+n.key.name+"' has already been declared"))}return this.strict=r,this.next(),e.body=this.finishNode(s,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},m.parseClassElement=function(e){if(this.eat(o.semi))return null;var t=this.options.ecmaVersion,r=this.startNode(),i="",s=!1,a=!1,n="method",u=!1;if(this.eatContextual("static")){if(t>=13&&this.eat(o.braceL))return this.parseClassStaticBlock(r),r;this.isClassElementNameStart()||this.type===o.star?u=!0:i="static"}if(r.static=u,!i&&t>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===o.star)&&!this.canInsertSemicolon()?a=!0:i="async"),!i&&(t>=9||!a)&&this.eat(o.star)&&(s=!0),!i&&!a&&!s){var l=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?n=l:i=l)}if(i?(r.computed=!1,r.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),r.key.name=i,this.finishNode(r.key,"Identifier")):this.parseClassElementName(r),t<13||this.type===o.parenL||n!=="method"||s||a){var c=!r.static&&st(r,"constructor"),f=c&&e;c&&n!=="method"&&this.raise(r.key.start,"Constructor can't have get/set modifier"),r.kind=c?"constructor":n,this.parseClassMethod(r,s,a,f)}else this.parseClassField(r);return r},m.isClassElementNameStart=function(){return this.type===o.name||this.type===o.privateId||this.type===o.num||this.type===o.string||this.type===o.bracketL||this.type.keyword},m.parseClassElementName=function(e){this.type===o.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),e.computed=!1,e.key=this.parsePrivateIdent()):this.parsePropertyName(e)},m.parseClassMethod=function(e,t,r,i){var s=e.key;e.kind==="constructor"?(t&&this.raise(s.start,"Constructor can't be a generator"),r&&this.raise(s.start,"Constructor can't be an async method")):e.static&&st(e,"prototype")&&this.raise(s.start,"Classes may not have a static property named prototype");var a=e.value=this.parseMethod(t,r,i);return e.kind==="get"&&a.params.length!==0&&this.raiseRecoverable(a.start,"getter should have no params"),e.kind==="set"&&a.params.length!==1&&this.raiseRecoverable(a.start,"setter should have exactly one param"),e.kind==="set"&&a.params[0].type==="RestElement"&&this.raiseRecoverable(a.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")},m.parseClassField=function(e){return st(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&st(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(o.eq)?(this.enterScope(je|et),e.value=this.parseMaybeAssign(),this.exitScope()):e.value=null,this.semicolon(),this.finishNode(e,"PropertyDefinition")},m.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(be|et);this.type!==o.braceR;){var r=this.parseStatement(null);e.body.push(r)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")},m.parseClassId=function(e,t){this.type===o.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,oe,!1)):(t===!0&&this.unexpected(),e.id=null)},m.parseClassSuper=function(e){e.superClass=this.eat(o._extends)?this.parseExprSubscripts(null,!1):null},m.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared},m.exitClassBody=function(){var e=this.privateNameStack.pop(),t=e.declared,r=e.used;if(this.options.checkPrivateFields)for(var i=this.privateNameStack.length,s=i===0?null:this.privateNameStack[i-1],a=0;a<r.length;++a){var n=r[a];Ae(t,n.name)||(s?s.used.push(n):this.raiseRecoverable(n.start,"Private field '#"+n.name+"' must be declared in an enclosing class"))}};function Kr(e,t){var r=t.key.name,i=e[r],s="true";return t.type==="MethodDefinition"&&(t.kind==="get"||t.kind==="set")&&(s=(t.static?"s":"i")+t.kind),i==="iget"&&s==="iset"||i==="iset"&&s==="iget"||i==="sget"&&s==="sset"||i==="sset"&&s==="sget"?(e[r]="true",!1):i?!0:(e[r]=s,!1)}function st(e,t){var r=e.computed,i=e.key;return!r&&(i.type==="Identifier"&&i.name===t||i.type==="Literal"&&i.value===t)}m.parseExportAllDeclaration=function(e,t){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==o.string&&this.unexpected(),e.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ExportAllDeclaration")},m.parseExport=function(e,t){if(this.next(),this.eat(o.star))return this.parseExportAllDeclaration(e,t);if(this.eat(o._default))return this.checkExport(t,"default",this.lastTokStart),e.declaration=this.parseExportDefaultDeclaration(),this.finishNode(e,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())e.declaration=this.parseExportDeclaration(e),e.declaration.type==="VariableDeclaration"?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id,e.declaration.id.start),e.specifiers=[],e.source=null,this.options.ecmaVersion>=16&&(e.attributes=[]);else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==o.string&&this.unexpected(),e.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause());else{for(var r=0,i=e.specifiers;r<i.length;r+=1){var s=i[r];this.checkUnreserved(s.local),this.checkLocalExport(s.local),s.local.type==="Literal"&&this.raise(s.local.start,"A string literal cannot be used as an exported binding without `from`.")}e.source=null,this.options.ecmaVersion>=16&&(e.attributes=[])}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")},m.parseExportDeclaration=function(e){return this.parseStatement(null)},m.parseExportDefaultDeclaration=function(){var e;if(this.type===o._function||(e=this.isAsyncFunction())){var t=this.startNode();return this.next(),e&&this.next(),this.parseFunction(t,Ue|pi,!1,e)}else if(this.type===o._class){var r=this.startNode();return this.parseClass(r,"nullableID")}else{var i=this.parseMaybeAssign();return this.semicolon(),i}},m.checkExport=function(e,t,r){e&&(typeof t!="string"&&(t=t.type==="Identifier"?t.name:t.value),Ae(e,t)&&this.raiseRecoverable(r,"Duplicate export '"+t+"'"),e[t]=!0)},m.checkPatternExport=function(e,t){var r=t.type;if(r==="Identifier")this.checkExport(e,t,t.start);else if(r==="ObjectPattern")for(var i=0,s=t.properties;i<s.length;i+=1){var a=s[i];this.checkPatternExport(e,a)}else if(r==="ArrayPattern")for(var n=0,u=t.elements;n<u.length;n+=1){var l=u[n];l&&this.checkPatternExport(e,l)}else r==="Property"?this.checkPatternExport(e,t.value):r==="AssignmentPattern"?this.checkPatternExport(e,t.left):r==="RestElement"&&this.checkPatternExport(e,t.argument)},m.checkVariableExport=function(e,t){if(e)for(var r=0,i=t;r<i.length;r+=1){var s=i[r];this.checkPatternExport(e,s.id)}},m.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},m.parseExportSpecifier=function(e){var t=this.startNode();return t.local=this.parseModuleExportName(),t.exported=this.eatContextual("as")?this.parseModuleExportName():t.local,this.checkExport(e,t.exported,t.exported.start),this.finishNode(t,"ExportSpecifier")},m.parseExportSpecifiers=function(e){var t=[],r=!0;for(this.expect(o.braceL);!this.eat(o.braceR);){if(r)r=!1;else if(this.expect(o.comma),this.afterTrailingComma(o.braceR))break;t.push(this.parseExportSpecifier(e))}return t},m.parseImport=function(e){return this.next(),this.type===o.string?(e.specifiers=Hr,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===o.string?this.parseExprAtom():this.unexpected()),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ImportDeclaration")},m.parseImportSpecifier=function(){var e=this.startNode();return e.imported=this.parseModuleExportName(),this.eatContextual("as")?e.local=this.parseIdent():(this.checkUnreserved(e.imported),e.local=e.imported),this.checkLValSimple(e.local,oe),this.finishNode(e,"ImportSpecifier")},m.parseImportDefaultSpecifier=function(){var e=this.startNode();return e.local=this.parseIdent(),this.checkLValSimple(e.local,oe),this.finishNode(e,"ImportDefaultSpecifier")},m.parseImportNamespaceSpecifier=function(){var e=this.startNode();return this.next(),this.expectContextual("as"),e.local=this.parseIdent(),this.checkLValSimple(e.local,oe),this.finishNode(e,"ImportNamespaceSpecifier")},m.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===o.name&&(e.push(this.parseImportDefaultSpecifier()),!this.eat(o.comma)))return e;if(this.type===o.star)return e.push(this.parseImportNamespaceSpecifier()),e;for(this.expect(o.braceL);!this.eat(o.braceR);){if(t)t=!1;else if(this.expect(o.comma),this.afterTrailingComma(o.braceR))break;e.push(this.parseImportSpecifier())}return e},m.parseWithClause=function(){var e=[];if(!this.eat(o._with))return e;this.expect(o.braceL);for(var t={},r=!0;!this.eat(o.braceR);){if(r)r=!1;else if(this.expect(o.comma),this.afterTrailingComma(o.braceR))break;var i=this.parseImportAttribute(),s=i.key.type==="Identifier"?i.key.name:i.key.value;Ae(t,s)&&this.raiseRecoverable(i.key.start,"Duplicate attribute key '"+s+"'"),t[s]=!0,e.push(i)}return e},m.parseImportAttribute=function(){var e=this.startNode();return e.key=this.type===o.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never"),this.expect(o.colon),this.type!==o.string&&this.unexpected(),e.value=this.parseExprAtom(),this.finishNode(e,"ImportAttribute")},m.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===o.string){var e=this.parseLiteral(this.value);return $r.test(e.value)&&this.raise(e.start,"An export name cannot include a lone surrogate."),e}return this.parseIdent(!0)},m.adaptDirectivePrologue=function(e){for(var t=0;t<e.length&&this.isDirectiveCandidate(e[t]);++t)e[t].directive=e[t].expression.raw.slice(1,-1)},m.isDirectiveCandidate=function(e){return this.options.ecmaVersion>=5&&e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value=="string"&&(this.input[e.start]==='"'||this.input[e.start]==="'")};var Y=N.prototype;Y.toAssignable=function(e,t,r){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&e.name==="await"&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",r&&this.checkPatternErrors(r,!0);for(var i=0,s=e.properties;i<s.length;i+=1){var a=s[i];this.toAssignable(a,t),a.type==="RestElement"&&(a.argument.type==="ArrayPattern"||a.argument.type==="ObjectPattern")&&this.raise(a.argument.start,"Unexpected token")}break;case"Property":e.kind!=="init"&&this.raise(e.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern",r&&this.checkPatternErrors(r,!0),this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement",this.toAssignable(e.argument,t),e.argument.type==="AssignmentPattern"&&this.raise(e.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":e.operator!=="="&&this.raise(e.left.end,"Only '=' operator can be used for specifying default value."),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,r);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else r&&this.checkPatternErrors(r,!0);return e},Y.toAssignableList=function(e,t){for(var r=e.length,i=0;i<r;i++){var s=e[i];s&&this.toAssignable(s,t)}if(r){var a=e[r-1];this.options.ecmaVersion===6&&t&&a&&a.type==="RestElement"&&a.argument.type!=="Identifier"&&this.unexpected(a.argument.start)}return e},Y.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")},Y.parseRestBinding=function(){var e=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==o.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")},Y.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case o.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(o.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case o.braceL:return this.parseObj(!0)}return this.parseIdent()},Y.parseBindingList=function(e,t,r,i){for(var s=[],a=!0;!this.eat(e);)if(a?a=!1:this.expect(o.comma),t&&this.type===o.comma)s.push(null);else{if(r&&this.afterTrailingComma(e))break;if(this.type===o.ellipsis){var n=this.parseRestBinding();this.parseBindingListItem(n),s.push(n),this.type===o.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}else s.push(this.parseAssignableListItem(i))}return s},Y.parseAssignableListItem=function(e){var t=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(t),t},Y.parseBindingListItem=function(e){return e},Y.parseMaybeDefault=function(e,t,r){if(r=r||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(o.eq))return r;var i=this.startNodeAt(e,t);return i.left=r,i.right=this.parseMaybeAssign(),this.finishNode(i,"AssignmentPattern")},Y.checkLValSimple=function(e,t,r){t===void 0&&(t=it);var i=t!==it;switch(e.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(i?"Binding ":"Assigning to ")+e.name+" in strict mode"),i&&(t===oe&&e.name==="let"&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),r&&(Ae(r,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),r[e.name]=!0),t!==hi&&this.declareName(e.name,t,e.start));break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":i&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ParenthesizedExpression":return i&&this.raiseRecoverable(e.start,"Binding parenthesized expression"),this.checkLValSimple(e.expression,t,r);default:this.raise(e.start,(i?"Binding":"Assigning to")+" rvalue")}},Y.checkLValPattern=function(e,t,r){switch(t===void 0&&(t=it),e.type){case"ObjectPattern":for(var i=0,s=e.properties;i<s.length;i+=1){var a=s[i];this.checkLValInnerPattern(a,t,r)}break;case"ArrayPattern":for(var n=0,u=e.elements;n<u.length;n+=1){var l=u[n];l&&this.checkLValInnerPattern(l,t,r)}break;default:this.checkLValSimple(e,t,r)}},Y.checkLValInnerPattern=function(e,t,r){switch(t===void 0&&(t=it),e.type){case"Property":this.checkLValInnerPattern(e.value,t,r);break;case"AssignmentPattern":this.checkLValPattern(e.left,t,r);break;case"RestElement":this.checkLValPattern(e.argument,t,r);break;default:this.checkLValPattern(e,t,r)}};var ee=function ee(t,r,i,s,a){this.token=t,this.isExpr=!!r,this.preserveSpace=!!i,this.override=s,this.generator=!!a},I={b_stat:new ee("{",!1),b_expr:new ee("{",!0),b_tmpl:new ee("${",!1),p_stat:new ee("(",!1),p_expr:new ee("(",!0),q_tmpl:new ee("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new ee("function",!1),f_expr:new ee("function",!0),f_expr_gen:new ee("function",!0,!1,null,!0),f_gen:new ee("function",!1,!1,null,!0)},Le=N.prototype;Le.initialContext=function(){return[I.b_stat]},Le.curContext=function(){return this.context[this.context.length-1]},Le.braceIsBlock=function(e){var t=this.curContext();return t===I.f_expr||t===I.f_stat?!0:e===o.colon&&(t===I.b_stat||t===I.b_expr)?!t.isExpr:e===o._return||e===o.name&&this.exprAllowed?Z.test(this.input.slice(this.lastTokEnd,this.start)):e===o._else||e===o.semi||e===o.eof||e===o.parenR||e===o.arrow?!0:e===o.braceL?t===I.b_stat:e===o._var||e===o._const||e===o.name?!1:!this.exprAllowed},Le.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function")return t.generator}return!1},Le.updateContext=function(e){var t,r=this.type;r.keyword&&e===o.dot?this.exprAllowed=!1:(t=r.updateContext)?t.call(this,e):this.exprAllowed=r.beforeExpr},Le.overrideContext=function(e){this.curContext()!==e&&(this.context[this.context.length-1]=e)},o.parenR.updateContext=o.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var e=this.context.pop();e===I.b_stat&&this.curContext().token==="function"&&(e=this.context.pop()),this.exprAllowed=!e.isExpr},o.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?I.b_stat:I.b_expr),this.exprAllowed=!0},o.dollarBraceL.updateContext=function(){this.context.push(I.b_tmpl),this.exprAllowed=!0},o.parenL.updateContext=function(e){var t=e===o._if||e===o._for||e===o._with||e===o._while;this.context.push(t?I.p_stat:I.p_expr),this.exprAllowed=!0},o.incDec.updateContext=function(){},o._function.updateContext=o._class.updateContext=function(e){e.beforeExpr&&e!==o._else&&!(e===o.semi&&this.curContext()!==I.p_stat)&&!(e===o._return&&Z.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===o.colon||e===o.braceL)&&this.curContext()===I.b_stat)?this.context.push(I.f_expr):this.context.push(I.f_stat),this.exprAllowed=!1},o.colon.updateContext=function(){this.curContext().token==="function"&&this.context.pop(),this.exprAllowed=!0},o.backQuote.updateContext=function(){this.curContext()===I.q_tmpl?this.context.pop():this.context.push(I.q_tmpl),this.exprAllowed=!1},o.star.updateContext=function(e){if(e===o._function){var t=this.context.length-1;this.context[t]===I.f_expr?this.context[t]=I.f_expr_gen:this.context[t]=I.f_gen}this.exprAllowed=!0},o.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==o.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var x=N.prototype;x.checkPropClash=function(e,t,r){if(!(this.options.ecmaVersion>=9&&e.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var i=e.key,s;switch(i.type){case"Identifier":s=i.name;break;case"Literal":s=String(i.value);break;default:return}var a=e.kind;if(this.options.ecmaVersion>=6){s==="__proto__"&&a==="init"&&(t.proto&&(r?r.doubleProto<0&&(r.doubleProto=i.start):this.raiseRecoverable(i.start,"Redefinition of __proto__ property")),t.proto=!0);return}s="$"+s;var n=t[s];if(n){var u;a==="init"?u=this.strict&&n.init||n.get||n.set:u=n.init||n[a],u&&this.raiseRecoverable(i.start,"Redefinition of property")}else n=t[s]={init:!1,get:!1,set:!1};n[a]=!0}},x.parseExpression=function(e,t){var r=this.start,i=this.startLoc,s=this.parseMaybeAssign(e,t);if(this.type===o.comma){var a=this.startNodeAt(r,i);for(a.expressions=[s];this.eat(o.comma);)a.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(a,"SequenceExpression")}return s},x.parseMaybeAssign=function(e,t,r){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var i=!1,s=-1,a=-1,n=-1;t?(s=t.parenthesizedAssign,a=t.trailingComma,n=t.doubleProto,t.parenthesizedAssign=t.trailingComma=-1):(t=new rt,i=!0);var u=this.start,l=this.startLoc;(this.type===o.parenL||this.type===o.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=e==="await");var c=this.parseMaybeConditional(e,t);if(r&&(c=r.call(this,c,u,l)),this.type.isAssign){var f=this.startNodeAt(u,l);return f.operator=this.value,this.type===o.eq&&(c=this.toAssignable(c,!1,t)),i||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=c.start&&(t.shorthandAssign=-1),this.type===o.eq?this.checkLValPattern(c):this.checkLValSimple(c),f.left=c,this.next(),f.right=this.parseMaybeAssign(e),n>-1&&(t.doubleProto=n),this.finishNode(f,"AssignmentExpression")}else i&&this.checkExpressionErrors(t,!0);return s>-1&&(t.parenthesizedAssign=s),a>-1&&(t.trailingComma=a),c},x.parseMaybeConditional=function(e,t){var r=this.start,i=this.startLoc,s=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return s;if(this.eat(o.question)){var a=this.startNodeAt(r,i);return a.test=s,a.consequent=this.parseMaybeAssign(),this.expect(o.colon),a.alternate=this.parseMaybeAssign(e),this.finishNode(a,"ConditionalExpression")}return s},x.parseExprOps=function(e,t){var r=this.start,i=this.startLoc,s=this.parseMaybeUnary(t,!1,!1,e);return this.checkExpressionErrors(t)||s.start===r&&s.type==="ArrowFunctionExpression"?s:this.parseExprOp(s,r,i,-1,e)},x.parseExprOp=function(e,t,r,i,s){var a=this.type.binop;if(a!=null&&(!s||this.type!==o._in)&&a>i){var n=this.type===o.logicalOR||this.type===o.logicalAND,u=this.type===o.coalesce;u&&(a=o.logicalAND.binop);var l=this.value;this.next();var c=this.start,f=this.startLoc,g=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,s),c,f,a,s),P=this.buildBinary(t,r,e,g,l,n||u);return(n&&this.type===o.coalesce||u&&(this.type===o.logicalOR||this.type===o.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(P,t,r,i,s)}return e},x.buildBinary=function(e,t,r,i,s,a){i.type==="PrivateIdentifier"&&this.raise(i.start,"Private identifier can only be left side of binary expression");var n=this.startNodeAt(e,t);return n.left=r,n.operator=s,n.right=i,this.finishNode(n,a?"LogicalExpression":"BinaryExpression")},x.parseMaybeUnary=function(e,t,r,i){var s=this.start,a=this.startLoc,n;if(this.isContextual("await")&&this.canAwait)n=this.parseAwait(i),t=!0;else if(this.type.prefix){var u=this.startNode(),l=this.type===o.incDec;u.operator=this.value,u.prefix=!0,this.next(),u.argument=this.parseMaybeUnary(null,!0,l,i),this.checkExpressionErrors(e,!0),l?this.checkLValSimple(u.argument):this.strict&&u.operator==="delete"&&di(u.argument)?this.raiseRecoverable(u.start,"Deleting local variable in strict mode"):u.operator==="delete"&&It(u.argument)?this.raiseRecoverable(u.start,"Private fields can not be deleted"):t=!0,n=this.finishNode(u,l?"UpdateExpression":"UnaryExpression")}else if(!t&&this.type===o.privateId)(i||this.privateNameStack.length===0)&&this.options.checkPrivateFields&&this.unexpected(),n=this.parsePrivateIdent(),this.type!==o._in&&this.unexpected();else{if(n=this.parseExprSubscripts(e,i),this.checkExpressionErrors(e))return n;for(;this.type.postfix&&!this.canInsertSemicolon();){var c=this.startNodeAt(s,a);c.operator=this.value,c.prefix=!1,c.argument=n,this.checkLValSimple(n),this.next(),n=this.finishNode(c,"UpdateExpression")}}if(!r&&this.eat(o.starstar))if(t)this.unexpected(this.lastTokStart);else return this.buildBinary(s,a,n,this.parseMaybeUnary(null,!1,!1,i),"**",!1);else return n};function di(e){return e.type==="Identifier"||e.type==="ParenthesizedExpression"&&di(e.expression)}function It(e){return e.type==="MemberExpression"&&e.property.type==="PrivateIdentifier"||e.type==="ChainExpression"&&It(e.expression)||e.type==="ParenthesizedExpression"&&It(e.expression)}x.parseExprSubscripts=function(e,t){var r=this.start,i=this.startLoc,s=this.parseExprAtom(e,t);if(s.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return s;var a=this.parseSubscripts(s,r,i,!1,t);return e&&a.type==="MemberExpression"&&(e.parenthesizedAssign>=a.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=a.start&&(e.parenthesizedBind=-1),e.trailingComma>=a.start&&(e.trailingComma=-1)),a},x.parseSubscripts=function(e,t,r,i,s){for(var a=this.options.ecmaVersion>=8&&e.type==="Identifier"&&e.name==="async"&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.potentialArrowAt===e.start,n=!1;;){var u=this.parseSubscript(e,t,r,i,a,n,s);if(u.optional&&(n=!0),u===e||u.type==="ArrowFunctionExpression"){if(n){var l=this.startNodeAt(t,r);l.expression=u,u=this.finishNode(l,"ChainExpression")}return u}e=u}},x.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(o.arrow)},x.parseSubscriptAsyncArrow=function(e,t,r,i){return this.parseArrowExpression(this.startNodeAt(e,t),r,!0,i)},x.parseSubscript=function(e,t,r,i,s,a,n){var u=this.options.ecmaVersion>=11,l=u&&this.eat(o.questionDot);i&&l&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var c=this.eat(o.bracketL);if(c||l&&this.type!==o.parenL&&this.type!==o.backQuote||this.eat(o.dot)){var f=this.startNodeAt(t,r);f.object=e,c?(f.property=this.parseExpression(),this.expect(o.bracketR)):this.type===o.privateId&&e.type!=="Super"?f.property=this.parsePrivateIdent():f.property=this.parseIdent(this.options.allowReserved!=="never"),f.computed=!!c,u&&(f.optional=l),e=this.finishNode(f,"MemberExpression")}else if(!i&&this.eat(o.parenL)){var g=new rt,P=this.yieldPos,O=this.awaitPos,D=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var k=this.parseExprList(o.parenR,this.options.ecmaVersion>=8,!1,g);if(s&&!l&&this.shouldParseAsyncArrow())return this.checkPatternErrors(g,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=P,this.awaitPos=O,this.awaitIdentPos=D,this.parseSubscriptAsyncArrow(t,r,k,n);this.checkExpressionErrors(g,!0),this.yieldPos=P||this.yieldPos,this.awaitPos=O||this.awaitPos,this.awaitIdentPos=D||this.awaitIdentPos;var V=this.startNodeAt(t,r);V.callee=e,V.arguments=k,u&&(V.optional=l),e=this.finishNode(V,"CallExpression")}else if(this.type===o.backQuote){(l||a)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var L=this.startNodeAt(t,r);L.tag=e,L.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(L,"TaggedTemplateExpression")}return e},x.parseExprAtom=function(e,t,r){this.type===o.slash&&this.readRegexp();var i,s=this.potentialArrowAt===this.start;switch(this.type){case o._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),i=this.startNode(),this.next(),this.type===o.parenL&&!this.allowDirectSuper&&this.raise(i.start,"super() call outside constructor of a subclass"),this.type!==o.dot&&this.type!==o.bracketL&&this.type!==o.parenL&&this.unexpected(),this.finishNode(i,"Super");case o._this:return i=this.startNode(),this.next(),this.finishNode(i,"ThisExpression");case o.name:var a=this.start,n=this.startLoc,u=this.containsEsc,l=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!u&&l.name==="async"&&!this.canInsertSemicolon()&&this.eat(o._function))return this.overrideContext(I.f_expr),this.parseFunction(this.startNodeAt(a,n),0,!1,!0,t);if(s&&!this.canInsertSemicolon()){if(this.eat(o.arrow))return this.parseArrowExpression(this.startNodeAt(a,n),[l],!1,t);if(this.options.ecmaVersion>=8&&l.name==="async"&&this.type===o.name&&!u&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return l=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(o.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(a,n),[l],!0,t)}return l;case o.regexp:var c=this.value;return i=this.parseLiteral(c.value),i.regex={pattern:c.pattern,flags:c.flags},i;case o.num:case o.string:return this.parseLiteral(this.value);case o._null:case o._true:case o._false:return i=this.startNode(),i.value=this.type===o._null?null:this.type===o._true,i.raw=this.type.keyword,this.next(),this.finishNode(i,"Literal");case o.parenL:var f=this.start,g=this.parseParenAndDistinguishExpression(s,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(g)&&(e.parenthesizedAssign=f),e.parenthesizedBind<0&&(e.parenthesizedBind=f)),g;case o.bracketL:return i=this.startNode(),this.next(),i.elements=this.parseExprList(o.bracketR,!0,!0,e),this.finishNode(i,"ArrayExpression");case o.braceL:return this.overrideContext(I.b_expr),this.parseObj(!1,e);case o._function:return i=this.startNode(),this.next(),this.parseFunction(i,0);case o._class:return this.parseClass(this.startNode(),!1);case o._new:return this.parseNew();case o.backQuote:return this.parseTemplate();case o._import:return this.options.ecmaVersion>=11?this.parseExprImport(r):this.unexpected();default:return this.parseExprAtomDefault()}},x.parseExprAtomDefault=function(){this.unexpected()},x.parseExprImport=function(e){var t=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===o.parenL&&!e)return this.parseDynamicImport(t);if(this.type===o.dot){var r=this.startNodeAt(t.start,t.loc&&t.loc.start);return r.name="import",t.meta=this.finishNode(r,"Identifier"),this.parseImportMeta(t)}else this.unexpected()},x.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),this.options.ecmaVersion>=16)this.eat(o.parenR)?e.options=null:(this.expect(o.comma),this.afterTrailingComma(o.parenR)?e.options=null:(e.options=this.parseMaybeAssign(),this.eat(o.parenR)||(this.expect(o.comma),this.afterTrailingComma(o.parenR)||this.unexpected())));else if(!this.eat(o.parenR)){var t=this.start;this.eat(o.comma)&&this.eat(o.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")},x.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="meta"&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")},x.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),t.raw.charCodeAt(t.raw.length-1)===110&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")},x.parseParenExpression=function(){this.expect(o.parenL);var e=this.parseExpression();return this.expect(o.parenR),e},x.shouldParseArrow=function(e){return!this.canInsertSemicolon()},x.parseParenAndDistinguishExpression=function(e,t){var r=this.start,i=this.startLoc,s,a=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var n=this.start,u=this.startLoc,l=[],c=!0,f=!1,g=new rt,P=this.yieldPos,O=this.awaitPos,D;for(this.yieldPos=0,this.awaitPos=0;this.type!==o.parenR;)if(c?c=!1:this.expect(o.comma),a&&this.afterTrailingComma(o.parenR,!0)){f=!0;break}else if(this.type===o.ellipsis){D=this.start,l.push(this.parseParenItem(this.parseRestBinding())),this.type===o.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}else l.push(this.parseMaybeAssign(!1,g,this.parseParenItem));var k=this.lastTokEnd,V=this.lastTokEndLoc;if(this.expect(o.parenR),e&&this.shouldParseArrow(l)&&this.eat(o.arrow))return this.checkPatternErrors(g,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=P,this.awaitPos=O,this.parseParenArrowList(r,i,l,t);(!l.length||f)&&this.unexpected(this.lastTokStart),D&&this.unexpected(D),this.checkExpressionErrors(g,!0),this.yieldPos=P||this.yieldPos,this.awaitPos=O||this.awaitPos,l.length>1?(s=this.startNodeAt(n,u),s.expressions=l,this.finishNodeAt(s,"SequenceExpression",k,V)):s=l[0]}else s=this.parseParenExpression();if(this.options.preserveParens){var L=this.startNodeAt(r,i);return L.expression=s,this.finishNode(L,"ParenthesizedExpression")}else return s},x.parseParenItem=function(e){return e},x.parseParenArrowList=function(e,t,r,i){return this.parseArrowExpression(this.startNodeAt(e,t),r,!1,i)};var Qr=[];x.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===o.dot){var t=this.startNodeAt(e.start,e.loc&&e.loc.start);t.name="new",e.meta=this.finishNode(t,"Identifier"),this.next();var r=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="target"&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),r&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block"),this.finishNode(e,"MetaProperty")}var i=this.start,s=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),i,s,!0,!1),this.eat(o.parenL)?e.arguments=this.parseExprList(o.parenR,this.options.ecmaVersion>=8,!1):e.arguments=Qr,this.finishNode(e,"NewExpression")},x.parseTemplateElement=function(e){var t=e.isTagged,r=this.startNode();return this.type===o.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),r.value={raw:this.value.replace(/\r\n?/g,"\n"),cooked:null}):r.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),r.tail=this.type===o.backQuote,this.finishNode(r,"TemplateElement")},x.parseTemplate=function(e){e===void 0&&(e={});var t=e.isTagged;t===void 0&&(t=!1);var r=this.startNode();this.next(),r.expressions=[];var i=this.parseTemplateElement({isTagged:t});for(r.quasis=[i];!i.tail;)this.type===o.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(o.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(o.braceR),r.quasis.push(i=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(r,"TemplateLiteral")},x.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===o.name||this.type===o.num||this.type===o.string||this.type===o.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===o.star)&&!Z.test(this.input.slice(this.lastTokEnd,this.start))},x.parseObj=function(e,t){var r=this.startNode(),i=!0,s={};for(r.properties=[],this.next();!this.eat(o.braceR);){if(i)i=!1;else if(this.expect(o.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(o.braceR))break;var a=this.parseProperty(e,t);e||this.checkPropClash(a,s,t),r.properties.push(a)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")},x.parseProperty=function(e,t){var r=this.startNode(),i,s,a,n;if(this.options.ecmaVersion>=9&&this.eat(o.ellipsis))return e?(r.argument=this.parseIdent(!1),this.type===o.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(r,"RestElement")):(r.argument=this.parseMaybeAssign(!1,t),this.type===o.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(r,"SpreadElement"));this.options.ecmaVersion>=6&&(r.method=!1,r.shorthand=!1,(e||t)&&(a=this.start,n=this.startLoc),e||(i=this.eat(o.star)));var u=this.containsEsc;return this.parsePropertyName(r),!e&&!u&&this.options.ecmaVersion>=8&&!i&&this.isAsyncProp(r)?(s=!0,i=this.options.ecmaVersion>=9&&this.eat(o.star),this.parsePropertyName(r)):s=!1,this.parsePropertyValue(r,e,i,s,a,n,t,u),this.finishNode(r,"Property")},x.parseGetterSetter=function(e){var t=e.key.name;this.parsePropertyName(e),e.value=this.parseMethod(!1),e.kind=t;var r=e.kind==="get"?0:1;if(e.value.params.length!==r){var i=e.value.start;e.kind==="get"?this.raiseRecoverable(i,"getter should have no params"):this.raiseRecoverable(i,"setter should have exactly one param")}else e.kind==="set"&&e.value.params[0].type==="RestElement"&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")},x.parsePropertyValue=function(e,t,r,i,s,a,n,u){(r||i)&&this.type===o.colon&&this.unexpected(),this.eat(o.colon)?(e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,n),e.kind="init"):this.options.ecmaVersion>=6&&this.type===o.parenL?(t&&this.unexpected(),e.method=!0,e.value=this.parseMethod(r,i),e.kind="init"):!t&&!u&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.type!==o.comma&&this.type!==o.braceR&&this.type!==o.eq?((r||i)&&this.unexpected(),this.parseGetterSetter(e)):this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"?((r||i)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=s),t?e.value=this.parseMaybeDefault(s,a,this.copyNode(e.key)):this.type===o.eq&&n?(n.shorthandAssign<0&&(n.shorthandAssign=this.start),e.value=this.parseMaybeDefault(s,a,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.kind="init",e.shorthand=!0):this.unexpected()},x.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(o.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(o.bracketR),e.key;e.computed=!1}return e.key=this.type===o.num||this.type===o.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},x.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},x.parseMethod=function(e,t,r){var i=this.startNode(),s=this.yieldPos,a=this.awaitPos,n=this.awaitIdentPos;return this.initFunction(i),this.options.ecmaVersion>=6&&(i.generator=e),this.options.ecmaVersion>=8&&(i.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(kt(t,i.generator)|et|(r?li:0)),this.expect(o.parenL),i.params=this.parseBindingList(o.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(i,!1,!0,!1),this.yieldPos=s,this.awaitPos=a,this.awaitIdentPos=n,this.finishNode(i,"FunctionExpression")},x.parseArrowExpression=function(e,t,r,i){var s=this.yieldPos,a=this.awaitPos,n=this.awaitIdentPos;return this.enterScope(kt(r,!1)|wt),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!r),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1,i),this.yieldPos=s,this.awaitPos=a,this.awaitIdentPos=n,this.finishNode(e,"ArrowFunctionExpression")},x.parseFunctionBody=function(e,t,r,i){var s=t&&this.type!==o.braceL,a=this.strict,n=!1;if(s)e.body=this.parseMaybeAssign(i),e.expression=!0,this.checkParams(e,!1);else{var u=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!a||u)&&(n=this.strictDirective(this.end),n&&u&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var l=this.labels;this.labels=[],n&&(this.strict=!0),this.checkParams(e,!a&&!n&&!t&&!r&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,hi),e.body=this.parseBlock(!1,void 0,n&&!a),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=l}this.exitScope()},x.isSimpleParamList=function(e){for(var t=0,r=e;t<r.length;t+=1){var i=r[t];if(i.type!=="Identifier")return!1}return!0},x.checkParams=function(e,t){for(var r=Object.create(null),i=0,s=e.params;i<s.length;i+=1){var a=s[i];this.checkLValInnerPattern(a,Et,t?null:r)}},x.parseExprList=function(e,t,r,i){for(var s=[],a=!0;!this.eat(e);){if(a)a=!1;else if(this.expect(o.comma),t&&this.afterTrailingComma(e))break;var n=void 0;r&&this.type===o.comma?n=null:this.type===o.ellipsis?(n=this.parseSpread(i),i&&this.type===o.comma&&i.trailingComma<0&&(i.trailingComma=this.start)):n=this.parseMaybeAssign(!1,i),s.push(n)}return s},x.checkUnreserved=function(e){var t=e.start,r=e.end,i=e.name;if(this.inGenerator&&i==="yield"&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&i==="await"&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),!(this.currentThisScope().flags&tt)&&i==="arguments"&&this.raiseRecoverable(t,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&(i==="arguments"||i==="await")&&this.raise(t,"Cannot use "+i+" in class static initialization block"),this.keywords.test(i)&&this.raise(t,"Unexpected keyword '"+i+"'"),!(this.options.ecmaVersion<6&&this.input.slice(t,r).indexOf("\\")!==-1)){var s=this.strict?this.reservedWordsStrict:this.reservedWords;s.test(i)&&(!this.inAsync&&i==="await"&&this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '"+i+"' is reserved"))}},x.parseIdent=function(e){var t=this.parseIdentNode();return this.next(!!e),this.finishNode(t,"Identifier"),e||(this.checkUnreserved(t),t.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=t.start)),t},x.parseIdentNode=function(){var e=this.startNode();return this.type===o.name?e.name=this.value:this.type.keyword?(e.name=this.type.keyword,(e.name==="class"||e.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop(),this.type=o.name):this.unexpected(),e},x.parsePrivateIdent=function(){var e=this.startNode();return this.type===o.privateId?e.name=this.value:this.unexpected(),this.next(),this.finishNode(e,"PrivateIdentifier"),this.options.checkPrivateFields&&(this.privateNameStack.length===0?this.raise(e.start,"Private field '#"+e.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(e)),e},x.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===o.semi||this.canInsertSemicolon()||this.type!==o.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(o.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")},x.parseAwait=function(e){this.awaitPos||(this.awaitPos=this.start);var t=this.startNode();return this.next(),t.argument=this.parseMaybeUnary(null,!0,!1,e),this.finishNode(t,"AwaitExpression")};var at=N.prototype;at.raise=function(e,t){var r=ai(this.input,e);t+=" ("+r.line+":"+r.column+")",this.sourceFile&&(t+=" in "+this.sourceFile);var i=new SyntaxError(t);throw i.pos=e,i.loc=r,i.raisedAt=this.pos,i},at.raiseRecoverable=at.raise,at.curPosition=function(){if(this.options.locations)return new Fe(this.curLine,this.pos-this.lineStart)};var ye=N.prototype,Zr=function Zr(t){this.flags=t,this.var=[],this.lexical=[],this.functions=[]};ye.enterScope=function(e){this.scopeStack.push(new Zr(e))},ye.exitScope=function(){this.scopeStack.pop()},ye.treatFunctionsAsVarInScope=function(e){return e.flags&Pe||!this.inModule&&e.flags&Me},ye.declareName=function(e,t,r){var i=!1;if(t===oe){var s=this.currentScope();i=s.lexical.indexOf(e)>-1||s.functions.indexOf(e)>-1||s.var.indexOf(e)>-1,s.lexical.push(e),this.inModule&&s.flags&Me&&delete this.undefinedExports[e]}else if(t===fi){var a=this.currentScope();a.lexical.push(e)}else if(t===ci){var n=this.currentScope();this.treatFunctionsAsVar?i=n.lexical.indexOf(e)>-1:i=n.lexical.indexOf(e)>-1||n.var.indexOf(e)>-1,n.functions.push(e)}else for(var u=this.scopeStack.length-1;u>=0;--u){var l=this.scopeStack[u];if(l.lexical.indexOf(e)>-1&&!(l.flags&ui&&l.lexical[0]===e)||!this.treatFunctionsAsVarInScope(l)&&l.functions.indexOf(e)>-1){i=!0;break}if(l.var.push(e),this.inModule&&l.flags&Me&&delete this.undefinedExports[e],l.flags&tt)break}i&&this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")},ye.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)},ye.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},ye.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&(tt|je|be))return t}},ye.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&(tt|je|be)&&!(t.flags&wt))return t}};var nt=function nt(t,r,i){this.type="",this.start=r,this.end=0,t.options.locations&&(this.loc=new Je(t,i)),t.options.directSourceFile&&(this.sourceFile=t.options.directSourceFile),t.options.ranges&&(this.range=[r,0])},$e=N.prototype;$e.startNode=function(){return new nt(this,this.start,this.startLoc)},$e.startNodeAt=function(e,t){return new nt(this,e,t)};function yi(e,t,r,i){return e.type=t,e.end=r,this.options.locations&&(e.loc.end=i),this.options.ranges&&(e.range[1]=r),e}$e.finishNode=function(e,t){return yi.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},$e.finishNodeAt=function(e,t,r,i){return yi.call(this,e,t,r,i)},$e.copyNode=function(e){var t=new nt(this,e.start,this.startLoc);for(var r in e)t[r]=e[r];return t};var Xr="Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz",mi="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",gi=mi+" Extended_Pictographic",xi=gi,bi=xi+" EBase EComp EMod EPres ExtPict",vi=bi,Yr=vi,Jr={9:mi,10:gi,11:xi,12:bi,13:vi,14:Yr},es="Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji",ts={9:"",10:"",11:"",12:"",13:"",14:es},Si="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",wi="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",ki=wi+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",Ei=ki+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",Ci=Ei+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",_i=Ci+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",is=_i+" "+Xr,rs={9:wi,10:ki,11:Ei,12:Ci,13:_i,14:is},Ii={};function ss(e){var t=Ii[e]={binary:de(Jr[e]+" "+Si),binaryOfStrings:de(ts[e]),nonBinary:{General_Category:de(Si),Script:de(rs[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}for(var At=0,Ai=[9,10,11,12,13,14];At<Ai.length;At+=1){var as=Ai[At];ss(as)}var y=N.prototype,ot=function ot(t,r){this.parent=t,this.base=r||this};ot.prototype.separatedFrom=function(t){for(var r=this;r;r=r.parent)for(var i=t;i;i=i.parent)if(r.base===i.base&&r!==i)return!0;return!1},ot.prototype.sibling=function(){return new ot(this.parent,this.base)};var ie=function ie(t){this.parser=t,this.validFlags="gim"+(t.options.ecmaVersion>=6?"uy":"")+(t.options.ecmaVersion>=9?"s":"")+(t.options.ecmaVersion>=13?"d":"")+(t.options.ecmaVersion>=15?"v":""),this.unicodeProperties=Ii[t.options.ecmaVersion>=14?14:t.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=Object.create(null),this.backReferenceNames=[],this.branchID=null};ie.prototype.reset=function(t,r,i){var s=i.indexOf("v")!==-1,a=i.indexOf("u")!==-1;this.start=t|0,this.source=r+"",this.flags=i,s&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=a&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=a&&this.parser.options.ecmaVersion>=9)},ie.prototype.raise=function(t){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+t)},ie.prototype.at=function(t,r){r===void 0&&(r=!1);var i=this.source,s=i.length;if(t>=s)return-1;var a=i.charCodeAt(t);if(!(r||this.switchU)||a<=55295||a>=57344||t+1>=s)return a;var n=i.charCodeAt(t+1);return n>=56320&&n<=57343?(a<<10)+n-0x35fdc00:a},ie.prototype.nextIndex=function(t,r){r===void 0&&(r=!1);var i=this.source,s=i.length;if(t>=s)return s;var a=i.charCodeAt(t),n;return!(r||this.switchU)||a<=55295||a>=57344||t+1>=s||(n=i.charCodeAt(t+1))<56320||n>57343?t+1:t+2},ie.prototype.current=function(t){return t===void 0&&(t=!1),this.at(this.pos,t)},ie.prototype.lookahead=function(t){return t===void 0&&(t=!1),this.at(this.nextIndex(this.pos,t),t)},ie.prototype.advance=function(t){t===void 0&&(t=!1),this.pos=this.nextIndex(this.pos,t)},ie.prototype.eat=function(t,r){return r===void 0&&(r=!1),this.current(r)===t?(this.advance(r),!0):!1},ie.prototype.eatChars=function(t,r){r===void 0&&(r=!1);for(var i=this.pos,s=0,a=t;s<a.length;s+=1){var n=a[s],u=this.at(i,r);if(u===-1||u!==n)return!1;i=this.nextIndex(i,r)}return this.pos=i,!0},y.validateRegExpFlags=function(e){for(var t=e.validFlags,r=e.flags,i=!1,s=!1,a=0;a<r.length;a++){var n=r.charAt(a);t.indexOf(n)===-1&&this.raise(e.start,"Invalid regular expression flag"),r.indexOf(n,a+1)>-1&&this.raise(e.start,"Duplicate regular expression flag"),n==="u"&&(i=!0),n==="v"&&(s=!0)}this.options.ecmaVersion>=15&&i&&s&&this.raise(e.start,"Invalid regular expression flag")};function ns(e){for(var t in e)return!0;return!1}y.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&ns(e.groupNames)&&(e.switchN=!0,this.regexp_pattern(e))},y.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames=Object.create(null),e.backReferenceNames.length=0,e.branchID=null,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,r=e.backReferenceNames;t<r.length;t+=1){var i=r[t];e.groupNames[i]||e.raise("Invalid named capture referenced")}},y.regexp_disjunction=function(e){var t=this.options.ecmaVersion>=16;for(t&&(e.branchID=new ot(e.branchID,null)),this.regexp_alternative(e);e.eat(124);)t&&(e.branchID=e.branchID.sibling()),this.regexp_alternative(e);t&&(e.branchID=e.branchID.parent),this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")},y.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););},y.regexp_eatTerm=function(e){return this.regexp_eatAssertion(e)?(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)&&e.switchU&&e.raise("Invalid quantifier"),!0):(e.switchU?this.regexp_eatAtom(e):this.regexp_eatExtendedAtom(e))?(this.regexp_eatQuantifier(e),!0):!1},y.regexp_eatAssertion=function(e){var t=e.pos;if(e.lastAssertionIsQuantifiable=!1,e.eat(94)||e.eat(36))return!0;if(e.eat(92)){if(e.eat(66)||e.eat(98))return!0;e.pos=t}if(e.eat(40)&&e.eat(63)){var r=!1;if(this.options.ecmaVersion>=9&&(r=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!r,!0}return e.pos=t,!1},y.regexp_eatQuantifier=function(e,t){return t===void 0&&(t=!1),this.regexp_eatQuantifierPrefix(e,t)?(e.eat(63),!0):!1},y.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},y.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var i=0,s=-1;if(this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(s=e.lastIntValue),e.eat(125)))return s!==-1&&s<i&&!t&&e.raise("numbers out of order in {} quantifier"),!0;e.switchU&&!t&&e.raise("Incomplete quantifier"),e.pos=r}return!1},y.regexp_eatAtom=function(e){return this.regexp_eatPatternCharacters(e)||e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)},y.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1},y.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)){if(this.options.ecmaVersion>=16){var r=this.regexp_eatModifiers(e),i=e.eat(45);if(r||i){for(var s=0;s<r.length;s++){var a=r.charAt(s);r.indexOf(a,s+1)>-1&&e.raise("Duplicate regular expression modifiers")}if(i){var n=this.regexp_eatModifiers(e);!r&&!n&&e.current()===58&&e.raise("Invalid regular expression modifiers");for(var u=0;u<n.length;u++){var l=n.charAt(u);(n.indexOf(l,u+1)>-1||r.indexOf(l)>-1)&&e.raise("Duplicate regular expression modifiers")}}}}if(e.eat(58)){if(this.regexp_disjunction(e),e.eat(41))return!0;e.raise("Unterminated group")}}e.pos=t}return!1},y.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(e):e.current()===63&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1},y.regexp_eatModifiers=function(e){for(var t="",r=0;(r=e.current())!==-1&&os(r);)t+=ne(r),e.advance();return t};function os(e){return e===105||e===109||e===115}y.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)},y.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},y.regexp_eatSyntaxCharacter=function(e){var t=e.current();return Pi(t)?(e.lastIntValue=t,e.advance(),!0):!1};function Pi(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}y.regexp_eatPatternCharacters=function(e){for(var t=e.pos,r=0;(r=e.current())!==-1&&!Pi(r);)e.advance();return e.pos!==t},y.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124?(e.advance(),!0):!1},y.regexp_groupSpecifier=function(e){if(e.eat(63)){this.regexp_eatGroupName(e)||e.raise("Invalid group");var t=this.options.ecmaVersion>=16,r=e.groupNames[e.lastStringValue];if(r)if(t)for(var i=0,s=r;i<s.length;i+=1){var a=s[i];a.separatedFrom(e.branchID)||e.raise("Duplicate capture group name")}else e.raise("Duplicate capture group name");t?(r||(e.groupNames[e.lastStringValue]=[])).push(e.branchID):e.groupNames[e.lastStringValue]=!0}},y.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1},y.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=ne(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=ne(e.lastIntValue);return!0}return!1},y.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,i=e.current(r);return e.advance(r),i===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(i=e.lastIntValue),us(i)?(e.lastIntValue=i,!0):(e.pos=t,!1)};function us(e){return ae(e,!0)||e===36||e===95}y.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,i=e.current(r);return e.advance(r),i===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(i=e.lastIntValue),ls(i)?(e.lastIntValue=i,!0):(e.pos=t,!1)};function ls(e){return _e(e,!0)||e===36||e===95||e===8204||e===8205}y.regexp_eatAtomEscape=function(e){return this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)?!0:(e.switchU&&(e.current()===99&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)},y.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var r=e.lastIntValue;if(e.switchU)return r>e.maxBackReference&&(e.maxBackReference=r),!0;if(r<=e.numCapturingParens)return!0;e.pos=t}return!1},y.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1},y.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},y.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},y.regexp_eatZero=function(e){return e.current()===48&&!ut(e.lookahead())?(e.lastIntValue=0,e.advance(),!0):!1},y.regexp_eatControlEscape=function(e){var t=e.current();return t===116?(e.lastIntValue=9,e.advance(),!0):t===110?(e.lastIntValue=10,e.advance(),!0):t===118?(e.lastIntValue=11,e.advance(),!0):t===102?(e.lastIntValue=12,e.advance(),!0):t===114?(e.lastIntValue=13,e.advance(),!0):!1},y.regexp_eatControlLetter=function(e){var t=e.current();return Li(t)?(e.lastIntValue=t%32,e.advance(),!0):!1};function Li(e){return e>=65&&e<=90||e>=97&&e<=122}y.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){t===void 0&&(t=!1);var r=e.pos,i=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var s=e.lastIntValue;if(i&&s>=55296&&s<=56319){var a=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var n=e.lastIntValue;if(n>=56320&&n<=57343)return e.lastIntValue=(s-55296)*1024+(n-56320)+65536,!0}e.pos=a,e.lastIntValue=s}return!0}if(i&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&cs(e.lastIntValue))return!0;i&&e.raise("Invalid unicode escape"),e.pos=r}return!1};function cs(e){return e>=0&&e<=1114111}y.regexp_eatIdentityEscape=function(e){if(e.switchU)return this.regexp_eatSyntaxCharacter(e)?!0:e.eat(47)?(e.lastIntValue=47,!0):!1;var t=e.current();return t!==99&&(!e.switchN||t!==107)?(e.lastIntValue=t,e.advance(),!0):!1},y.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do e.lastIntValue=10*e.lastIntValue+(t-48),e.advance();while((t=e.current())>=48&&t<=57);return!0}return!1};var Ti=0,ue=1,J=2;y.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(fs(t))return e.lastIntValue=-1,e.advance(),ue;var r=!1;if(e.switchU&&this.options.ecmaVersion>=9&&((r=t===80)||t===112)){e.lastIntValue=-1,e.advance();var i;if(e.eat(123)&&(i=this.regexp_eatUnicodePropertyValueExpression(e))&&e.eat(125))return r&&i===J&&e.raise("Invalid property name"),i;e.raise("Invalid property name")}return Ti};function fs(e){return e===100||e===68||e===115||e===83||e===119||e===87}y.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var r=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,r,i),ue}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var s=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,s)}return Ti},y.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){Ae(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(r)||e.raise("Invalid property value")},y.regexp_validateUnicodePropertyNameOrValue=function(e,t){if(e.unicodeProperties.binary.test(t))return ue;if(e.switchV&&e.unicodeProperties.binaryOfStrings.test(t))return J;e.raise("Invalid property name")},y.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";Vi(t=e.current());)e.lastStringValue+=ne(t),e.advance();return e.lastStringValue!==""};function Vi(e){return Li(e)||e===95}y.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";hs(t=e.current());)e.lastStringValue+=ne(t),e.advance();return e.lastStringValue!==""};function hs(e){return Vi(e)||ut(e)}y.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},y.regexp_eatCharacterClass=function(e){if(e.eat(91)){var t=e.eat(94),r=this.regexp_classContents(e);return e.eat(93)||e.raise("Unterminated character class"),t&&r===J&&e.raise("Negated character class may contain strings"),!0}return!1},y.regexp_classContents=function(e){return e.current()===93?ue:e.switchV?this.regexp_classSetExpression(e):(this.regexp_nonEmptyClassRanges(e),ue)},y.regexp_nonEmptyClassRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var r=e.lastIntValue;e.switchU&&(t===-1||r===-1)&&e.raise("Invalid character class"),t!==-1&&r!==-1&&t>r&&e.raise("Range out of order in character class")}}},y.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var r=e.current();(r===99||Bi(r))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var i=e.current();return i!==93?(e.lastIntValue=i,e.advance(),!0):!1},y.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},y.regexp_classSetExpression=function(e){var t=ue,r;if(!this.regexp_eatClassSetRange(e))if(r=this.regexp_eatClassSetOperand(e)){r===J&&(t=J);for(var i=e.pos;e.eatChars([38,38]);){if(e.current()!==38&&(r=this.regexp_eatClassSetOperand(e))){r!==J&&(t=ue);continue}e.raise("Invalid character in character class")}if(i!==e.pos)return t;for(;e.eatChars([45,45]);)this.regexp_eatClassSetOperand(e)||e.raise("Invalid character in character class");if(i!==e.pos)return t}else e.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(e)){if(r=this.regexp_eatClassSetOperand(e),!r)return t;r===J&&(t=J)}},y.regexp_eatClassSetRange=function(e){var t=e.pos;if(this.regexp_eatClassSetCharacter(e)){var r=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassSetCharacter(e)){var i=e.lastIntValue;return r!==-1&&i!==-1&&r>i&&e.raise("Range out of order in character class"),!0}e.pos=t}return!1},y.regexp_eatClassSetOperand=function(e){return this.regexp_eatClassSetCharacter(e)?ue:this.regexp_eatClassStringDisjunction(e)||this.regexp_eatNestedClass(e)},y.regexp_eatNestedClass=function(e){var t=e.pos;if(e.eat(91)){var r=e.eat(94),i=this.regexp_classContents(e);if(e.eat(93))return r&&i===J&&e.raise("Negated character class may contain strings"),i;e.pos=t}if(e.eat(92)){var s=this.regexp_eatCharacterClassEscape(e);if(s)return s;e.pos=t}return null},y.regexp_eatClassStringDisjunction=function(e){var t=e.pos;if(e.eatChars([92,113])){if(e.eat(123)){var r=this.regexp_classStringDisjunctionContents(e);if(e.eat(125))return r}else e.raise("Invalid escape");e.pos=t}return null},y.regexp_classStringDisjunctionContents=function(e){for(var t=this.regexp_classString(e);e.eat(124);)this.regexp_classString(e)===J&&(t=J);return t},y.regexp_classString=function(e){for(var t=0;this.regexp_eatClassSetCharacter(e);)t++;return t===1?ue:J},y.regexp_eatClassSetCharacter=function(e){var t=e.pos;if(e.eat(92))return this.regexp_eatCharacterEscape(e)||this.regexp_eatClassSetReservedPunctuator(e)?!0:e.eat(98)?(e.lastIntValue=8,!0):(e.pos=t,!1);var r=e.current();return r<0||r===e.lookahead()&&ps(r)||ds(r)?!1:(e.advance(),e.lastIntValue=r,!0)};function ps(e){return e===33||e>=35&&e<=38||e>=42&&e<=44||e===46||e>=58&&e<=64||e===94||e===96||e===126}function ds(e){return e===40||e===41||e===45||e===47||e>=91&&e<=93||e>=123&&e<=125}y.regexp_eatClassSetReservedPunctuator=function(e){var t=e.current();return ys(t)?(e.lastIntValue=t,e.advance(),!0):!1};function ys(e){return e===33||e===35||e===37||e===38||e===44||e===45||e>=58&&e<=62||e===64||e===96||e===126}y.regexp_eatClassControlLetter=function(e){var t=e.current();return ut(t)||t===95?(e.lastIntValue=t%32,e.advance(),!0):!1},y.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1},y.regexp_eatDecimalDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;ut(r=e.current());)e.lastIntValue=10*e.lastIntValue+(r-48),e.advance();return e.pos!==t};function ut(e){return e>=48&&e<=57}y.regexp_eatHexDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;Ni(r=e.current());)e.lastIntValue=16*e.lastIntValue+Ri(r),e.advance();return e.pos!==t};function Ni(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function Ri(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}y.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var r=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=t*64+r*8+e.lastIntValue:e.lastIntValue=t*8+r}else e.lastIntValue=t;return!0}return!1},y.regexp_eatOctalDigit=function(e){var t=e.current();return Bi(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)};function Bi(e){return e>=48&&e<=55}y.regexp_eatFixedHexDigits=function(e,t){var r=e.pos;e.lastIntValue=0;for(var i=0;i<t;++i){var s=e.current();if(!Ni(s))return e.pos=r,!1;e.lastIntValue=16*e.lastIntValue+Ri(s),e.advance()}return!0};var Pt=function Pt(t){this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,t.options.locations&&(this.loc=new Je(t,t.startLoc,t.endLoc)),t.options.ranges&&(this.range=[t.start,t.end])},b=N.prototype;b.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Pt(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},b.getToken=function(){return this.next(),new Pt(this)},(typeof Symbol==="undefined"?"undefined":_type_of(Symbol))<"u"&&(b[Symbol.iterator]=function(){var e=this;return{next:function next(){var t=e.getToken();return{done:t.type===o.eof,value:t}}}}),b.nextToken=function(){var e=this.curContext();if((!e||!e.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(o.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())},b.readToken=function(e){return ae(e,this.options.ecmaVersion>=6)||e===92?this.readWord():this.getTokenFromCode(e)},b.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=56320)return e;var t=this.input.charCodeAt(this.pos+1);return t<=56319||t>=57344?e:(e<<10)+t-0x35fdc00},b.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(r===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(var i=void 0,s=t;(i=ei(this.input,s,this.pos))>-1;)++this.curLine,s=this.lineStart=i;this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,r),t,this.pos,e,this.curPosition())},b.skipLineComment=function(e){for(var t=this.pos,r=this.options.onComment&&this.curPosition(),i=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!Ie(i);)i=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(t+e,this.pos),t,this.pos,r,this.curPosition())},b.skipSpace=function(){e:for(;this.pos<this.input.length;){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(e>8&&e<14||e>=5760&&ti.test(String.fromCharCode(e)))++this.pos;else break e}}},b.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var r=this.type;this.type=e,this.value=t,this.updateContext(r)},b.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&e===46&&t===46?(this.pos+=3,this.finishToken(o.ellipsis)):(++this.pos,this.finishToken(o.dot))},b.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(o.assign,2):this.finishOp(o.slash,1)},b.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),r=1,i=e===42?o.star:o.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++r,i=o.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(o.assign,r+1):this.finishOp(i,r)},b.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61)return this.finishOp(o.assign,3)}return this.finishOp(e===124?o.logicalOR:o.logicalAND,2)}return t===61?this.finishOp(o.assign,2):this.finishOp(e===124?o.bitwiseOR:o.bitwiseAND,1)},b.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);return e===61?this.finishOp(o.assign,2):this.finishOp(o.bitwiseXOR,1)},b.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||Z.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(o.incDec,2):t===61?this.finishOp(o.assign,2):this.finishOp(o.plusMin,1)},b.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),r=1;return t===e?(r=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+r)===61?this.finishOp(o.assign,r+1):this.finishOp(o.bitShift,r)):t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(t===61&&(r=2),this.finishOp(o.relational,r))},b.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(o.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(o.arrow)):this.finishOp(e===61?o.eq:o.prefix,1)},b.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var r=this.input.charCodeAt(this.pos+2);if(r<48||r>57)return this.finishOp(o.questionDot,2)}if(t===63){if(e>=12){var i=this.input.charCodeAt(this.pos+2);if(i===61)return this.finishOp(o.assign,3)}return this.finishOp(o.coalesce,2)}}return this.finishOp(o.question,1)},b.readToken_numberSign=function(){var e=this.options.ecmaVersion,t=35;if(e>=13&&(++this.pos,t=this.fullCharCodeAtPos(),ae(t,!0)||t===92))return this.finishToken(o.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+ne(t)+"'")},b.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(o.parenL);case 41:return++this.pos,this.finishToken(o.parenR);case 59:return++this.pos,this.finishToken(o.semi);case 44:return++this.pos,this.finishToken(o.comma);case 91:return++this.pos,this.finishToken(o.bracketL);case 93:return++this.pos,this.finishToken(o.bracketR);case 123:return++this.pos,this.finishToken(o.braceL);case 125:return++this.pos,this.finishToken(o.braceR);case 58:return++this.pos,this.finishToken(o.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(o.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(t===111||t===79)return this.readRadixNumber(8);if(t===98||t===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(o.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+ne(e)+"'")},b.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,r)},b.readRegexp=function(){for(var e,t,r=this.pos;;){this.pos>=this.input.length&&this.raise(r,"Unterminated regular expression");var i=this.input.charAt(this.pos);if(Z.test(i)&&this.raise(r,"Unterminated regular expression"),e)e=!1;else{if(i==="[")t=!0;else if(i==="]"&&t)t=!1;else if(i==="/"&&!t)break;e=i==="\\"}++this.pos}var s=this.input.slice(r,this.pos);++this.pos;var a=this.pos,n=this.readWord1();this.containsEsc&&this.unexpected(a);var u=this.regexpState||(this.regexpState=new ie(this));u.reset(r,s,n),this.validateRegExpFlags(u),this.validateRegExpPattern(u);var l=null;try{l=new RegExp(s,n)}catch(e){}return this.finishToken(o.regexp,{pattern:s,flags:n,value:l})},b.readInt=function(e,t,r){for(var i=this.options.ecmaVersion>=12&&t===void 0,s=r&&this.input.charCodeAt(this.pos)===48,a=this.pos,n=0,u=0,l=0,c=t!==null&&t!==void 0?t:1/0;l<c;++l,++this.pos){var f=this.input.charCodeAt(this.pos),g=void 0;if(i&&f===95){s&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),u===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),l===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),u=f;continue}if(f>=97?g=f-97+10:f>=65?g=f-65+10:f>=48&&f<=57?g=f-48:g=1/0,g>=e)break;u=f,n=n*e+g}return i&&u===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===a||t!=null&&this.pos-a!==t?null:n};function ms(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function Oi(e){return typeof BigInt!="function"?null:BigInt(e.replace(/_/g,""))}b.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var r=this.readInt(e);return r==null&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(r=Oi(this.input.slice(t,this.pos)),++this.pos):ae(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(o.num,r)},b.readNumber=function(e){var t=this.pos;!e&&this.readInt(10,void 0,!0)===null&&this.raise(t,"Invalid number");var r=this.pos-t>=2&&this.input.charCodeAt(t)===48;r&&this.strict&&this.raise(t,"Invalid number");var i=this.input.charCodeAt(this.pos);if(!r&&!e&&this.options.ecmaVersion>=11&&i===110){var s=Oi(this.input.slice(t,this.pos));return++this.pos,ae(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(o.num,s)}r&&/[89]/.test(this.input.slice(t,this.pos))&&(r=!1),i===46&&!r&&(++this.pos,this.readInt(10),i=this.input.charCodeAt(this.pos)),(i===69||i===101)&&!r&&(i=this.input.charCodeAt(++this.pos),(i===43||i===45)&&++this.pos,this.readInt(10)===null&&this.raise(t,"Invalid number")),ae(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var a=ms(this.input.slice(t,this.pos),r);return this.finishToken(o.num,a)},b.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){this.options.ecmaVersion<6&&this.unexpected();var r=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(r,"Code point out of bounds")}else t=this.readHexChar(4);return t},b.readString=function(e){for(var t="",r=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var i=this.input.charCodeAt(this.pos);if(i===e)break;i===92?(t+=this.input.slice(r,this.pos),t+=this.readEscapedChar(!1),r=this.pos):i===8232||i===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(Ie(i)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(r,this.pos++),this.finishToken(o.string,t)};var Di={};b.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===Di)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1},b.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Di;this.raise(e,t)},b.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var r=this.input.charCodeAt(this.pos);if(r===96||r===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===o.template||this.type===o.invalidTemplate)?r===36?(this.pos+=2,this.finishToken(o.dollarBraceL)):(++this.pos,this.finishToken(o.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(o.template,e));if(r===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(Ie(r)){switch(e+=this.input.slice(t,this.pos),++this.pos,r){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(r);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},b.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{")break;case"`":return this.finishToken(o.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":this.input[this.pos+1]==="\n"&&++this.pos;case"\n":case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1;break}this.raise(this.start,"Unterminated template")},b.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return"\n";case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return ne(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),e){var r=this.pos-1;this.invalidStringToken(r,"Invalid escape sequence in template string")}default:if(t>=48&&t<=55){var i=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],s=parseInt(i,8);return s>255&&(i=i.slice(0,-1),s=parseInt(i,8)),this.pos+=i.length-1,t=this.input.charCodeAt(this.pos),(i!=="0"||t===56||t===57)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-i.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(s)}return Ie(t)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(t)}},b.readHexChar=function(e){var t=this.pos,r=this.readInt(16,e);return r===null&&this.invalidStringToken(t,"Bad character escape sequence"),r},b.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,r=this.pos,i=this.options.ecmaVersion>=6;this.pos<this.input.length;){var s=this.fullCharCodeAtPos();if(_e(s,i))this.pos+=s<=65535?1:2;else if(s===92){this.containsEsc=!0,e+=this.input.slice(r,this.pos);var a=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var n=this.readCodePoint();(t?ae:_e)(n,i)||this.invalidStringToken(a,"Invalid Unicode escape"),e+=ne(n),r=this.pos}else break;t=!1}return e+this.input.slice(r,this.pos)},b.readWord=function(){var e=this.readWord1(),t=o.name;return this.keywords.test(e)&&(t=bt[e]),this.finishToken(t,e)};var gs="8.14.1";N.acorn={Parser:N,version:gs,defaultOptions:vt,Position:Fe,SourceLocation:Je,getLineInfo:ai,Node:nt,TokenType:E,tokTypes:o,keywordTypes:bt,TokContext:ee,tokContexts:I,isIdentifierChar:_e,isIdentifierStart:ae,Token:Pt,isNewLine:Ie,lineBreak:Z,lineBreakG:Mr,nonASCIIwhitespace:ti};function xs(e,t){return N.parse(e,t)}var ve={RES:void 0},w={RES:void 0},C={LABEL:void 0},_={LABEL:void 0},lt=R("super"),me=R("supercall"),ct=R("noctor"),Te=R("clsctor"),ft=R("newtarget"),B=R("private"),M=R("noinit"),$=R("deadzone"),A=R("optchain"),Se=R("import"),G=R("exports"),H=R("strict"),ht=R("strict-fn");var pt=/*#__PURE__*/function(){function pt(t,r){_class_call_check(this,pt);this.kind=t,this.value=r}_create_class(pt,[{key:"get",value:function get(){return this.value}},{key:"set",value:function set(t){if(this.kind==="const")throw new TypeError("Assignment to constant variable");return this.value=t}}]);return pt}();var ge=/*#__PURE__*/function(){function ge(t,r){_class_call_check(this,ge);this.object=t,this.property=r}_create_class(ge,[{key:"get",value:function get(){return this.object[this.property]}},{key:"set",value:function set(t){return this.object[this.property]=t,!0}},{key:"del",value:function del(){return delete this.object[this.property]}}]);return ge}();var T=/*#__PURE__*/function(){function T(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;_class_call_check(this,T);this.context=Ce(null),this.withContext=Ce(null),this.parent=t,this.isolated=r}_create_class(T,[{key:"global",value:function global1(){var t=this;for(;t.parent;)t=t.parent;return t}},{key:"find",value:function find(t){if(this.context[t])return this.context[t];if(t in this.withContext)return new ge(this.withContext,t);if(this.parent)return this.parent.find(t);{var r=this.global().find("window").get();return t in r?new ge(r,t):null}}},{key:"var",value:function _var(t,r){var i=this;for(;i.parent&&!i.isolated;)i=i.parent;var s=i.context[t];if(!s)i.context[t]=new pt("var",r===M?void 0:r);else if(s.kind==="var")r!==M&&s.set(r);else throw new SyntaxError("Identifier '".concat(t,"' has already been declared"));if(!i.parent){var a=i.find("window").get();r!==M&&v(a,t,{value:r,writable:!0,enumerable:!0})}}},{key:"let",value:function _let(t,r){var i=this.context[t];if(!i||i.get()===$)this.context[t]=new pt("let",r);else throw new SyntaxError("Identifier '".concat(t,"' has already been declared"))}},{key:"const",value:function _const(t,r){var i=this.context[t];if(!i||i.get()===$)this.context[t]=new pt("const",r);else throw new SyntaxError("Identifier '".concat(t,"' has already been declared"))}},{key:"func",value:function func(t,r){var i=this.context[t];if(!i||i.kind==="var")this.context[t]=new pt("var",r);else throw new SyntaxError("Identifier '".concat(t,"' has already been declared"))}},{key:"with",value:function _with(t){Object.keys(t)&&(this.withContext=t)}}]);return T}();var bs={version:"0.6.12"};function Lt(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};var r=t.res,i=t.err,s=t.ret,a=t.fullRet;return new Promise(function(n,u){var l=function l(g){var P;try{P=e.next(g)}catch(O){return u(O)}return f(P),null};var c=function c(g){var P;try{P=e.throw(g)}catch(O){return u(O)}f(P)};var f=function f(g){if(g.done)return n(a?g:g.value);if(g.value!==ve)return n(g);var P=g.value.RES;return(P&&P.then==="function"?P:Promise.resolve(P)).then(l,c)};if("ret"in t)return n(e.return(s));"err"in t?c(i):l(r)})}function Ve(e,t){var r,tmp,i,tmp1,s,a,n;var _arguments=arguments;return _ts_generator(this,function(_state){r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};tmp=r.getVar,i=tmp===void 0?!1:tmp,tmp1=r.throwErr,s=tmp1===void 0?!0:tmp1;if(e.name==="undefined")return[2];a=t.find(e.name);if(a){if(i)return[2,a];{n=a.get();if(n===$)throw new ReferenceError("".concat(e.name," is not defined"));return[2,n]}}else{if(s)throw new ReferenceError("".concat(e.name," is not defined"));return[2]}return[2]})}var vs=Object.freeze(Object.defineProperty({__proto__:null,Identifier:Ve},Symbol.toStringTag,{value:"Module"}));function Fi(e,t){return _ts_generator(this,function(_state){return[2,e.regex?new RegExp(e.regex.pattern,e.regex.flags):e.value]})}var Ss=Object.freeze(Object.defineProperty({__proto__:null,Literal:Fi},Symbol.toStringTag,{value:"Module"}));function ws(e,t){var r;return _ts_generator(this,function(_state){r=t.find(me);if(r&&r.get()!==!0)throw new ReferenceError("Must call super constructor in derived class before accessing 'this' or returning from derived constructor");return[2,t.find("this").get()]})}function ks(e,t){var r,i,s,_tmp,_tmp1,_,_1;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=[];i=0;_state.label=1;case 1:if(!(i<e.elements.length))return[3,9];s=e.elements[i];if(!(s===null))return[3,2];_tmp=r.length++;return[3,7];case 2:if(!(s.type==="SpreadElement"))return[3,4];_=r.concat;return[5,_ts_values(We(s,t))];case 3:_tmp1=r=_.apply(r,[_state.sent()]);return[3,6];case 4:_1=r.push;return[5,_ts_values(p(s,t))];case 5:_tmp1=_1.apply(r,[_state.sent()]);_state.label=6;case 6:_tmp=_tmp1;_state.label=7;case 7:_tmp;_state.label=8;case 8:i++;return[3,1];case 9:return[2,r]}})}function Es(e,t){var r,i,s,_tmp,a,n,_tmp1,_tmp2,_,u,l,c,c1;return _ts_generator(this,function(_state){switch(_state.label){case 0:r={};i=0;_state.label=1;case 1:if(!(i<e.properties.length))return[3,12];s=e.properties[i];if(!(s.type==="SpreadElement"))return[3,3];_tmp=[r];return[5,_ts_values(We(s,t,{spreadProps:!0}))];case 2:j.apply(void 0,_tmp.concat([_state.sent()]));return[3,11];case 3:a=void 0;n=s.key;if(!s.computed)return[3,5];return[5,_ts_values(p(n,t))];case 4:_tmp1=a=_state.sent();return[3,9];case 5:if(!(n.type==="Identifier"))return[3,6];_tmp2=a=n.name;return[3,8];case 6:_="";return[5,_ts_values(Fi(n))];case 7:_tmp2=a=_+_state.sent();_state.label=8;case 8:_tmp1=_tmp2;_state.label=9;case 9:_tmp1;return[5,_ts_values(p(s.value,t))];case 10:u=_state.sent(),l=s.kind;if(l==="init")r[a]=u;else if(l==="get"){c=pe(r,a);v(r,a,{get:u,set:c&&c.set,enumerable:!0,configurable:!0})}else{c1=pe(r,a);v(r,a,{get:c1&&c1.get,set:u,enumerable:!0,configurable:!0})}_state.label=11;case 11:i++;return[3,1];case 12:return[2,r]}})}function Cs(e,t){var r,i;return _ts_generator(this,function(_state){if(e.id&&e.id.name){r=new T(t),i=se(e,r);return[2,(r.const(e.id.name,i),i)]}else return[2,se(e,t)];return[2]})}function _s(e,t){var r,_,_tmp;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=e.argument;_=e.operator;switch(_){case"+":return[3,1];case"-":return[3,3];case"!":return[3,5];case"~":return[3,7];case"void":return[3,9];case"typeof":return[3,11];case"delete":return[3,16]}return[3,20];case 1:return[5,_ts_values(p(r,t))];case 2:return[2,+_state.sent()];case 3:return[5,_ts_values(p(r,t))];case 4:return[2,-_state.sent()];case 5:return[5,_ts_values(p(r,t))];case 6:return[2,!_state.sent()];case 7:return[5,_ts_values(p(r,t))];case 8:return[2,~_state.sent()];case 9:return[5,_ts_values(p(r,t))];case 10:return[2,void _state.sent()];case 11:if(!(r.type==="Identifier"))return[3,13];return[5,_ts_values(Ve(r,t,{throwErr:!1}))];case 12:_tmp=_type_of.apply(void 0,[_state.sent()]);return[3,15];case 13:return[5,_ts_values(p(r,t))];case 14:_tmp=_type_of.apply(void 0,[_state.sent()]);_state.label=15;case 15:return[2,_tmp];case 16:if(!(r.type==="MemberExpression"))return[3,18];return[5,_ts_values(qe(r,t,{getVar:!0}))];case 17:return[2,_state.sent().del()];case 18:if(r.type==="Identifier")throw new SyntaxError("Delete of an unqualified identifier in strict mode");return[5,_ts_values(p(r,t))];case 19:return[2,(_state.sent(),!0)];case 20:throw new SyntaxError("Unexpected token ".concat(e.operator));case 21:return[2]}})}function Is(e,t){var r,i,s;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=e.argument;if(!(r.type==="Identifier"))return[3,2];return[5,_ts_values(Ve(r,t,{getVar:!0}))];case 1:i=_state.sent();return[3,5];case 2:if(!(r.type==="MemberExpression"))return[3,4];return[5,_ts_values(qe(r,t,{getVar:!0}))];case 3:i=_state.sent();return[3,5];case 4:throw new SyntaxError("Unexpected token");case 5:s=i.get();if(e.operator==="++")return[2,(i.set(s+1),e.prefix?i.get():s)];if(e.operator==="--")return[2,(i.set(s-1),e.prefix?i.get():s)];throw new SyntaxError("Unexpected token ".concat(e.operator))}})}function As(e,t){var r,i,_tmp;return _ts_generator(this,function(_state){switch(_state.label){case 0:if(!(e.left.type==="PrivateIdentifier"))return[3,2];r=e.left.name;return[5,_ts_values(p(e.right,t))];case 1:_tmp=(i=_state.sent(),i=i[B]||{});return[3,5];case 2:return[5,_ts_values(p(e.left,t))];case 3:r=_state.sent();return[5,_ts_values(p(e.right,t))];case 4:_tmp=i=_state.sent();_state.label=5;case 5:switch(_tmp,e.operator){case"==":return[2,r==i];case"!=":return[2,r!=i];case"===":return[2,r===i];case"!==":return[2,r!==i];case"<":return[2,r<i];case"<=":return[2,r<=i];case">":return[2,r>i];case">=":return[2,r>=i];case"<<":return[2,r<<i];case">>":return[2,r>>i];case">>>":return[2,r>>>i];case"+":return[2,r+i];case"-":return[2,r-i];case"*":return[2,r*i];case"**":return[2,Math.pow(r,i)];case"/":return[2,r/i];case"%":return[2,r%i];case"|":return[2,r|i];case"^":return[2,r^i];case"&":return[2,r&i];case"in":return[2,r in i];case"instanceof":return[2,_instanceof(r,i)];default:throw new SyntaxError("Unexpected token ".concat(e.operator))}return[2]}})}function Ps(e,t){var r,i,a,n,a1,s,_i_get;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=e.left;if(!(r.type==="Identifier"))return[3,2];return[5,_ts_values(Ve(r,t,{getVar:!0,throwErr:!1}))];case 1:if(i=_state.sent(),!i){a=t.find(H);if(a&&a.get())throw new ReferenceError("".concat(r.name," is not defined"));n=t.global().find("window").get();i=new ge(n,r.name)}return[3,7];case 2:if(!(r.type==="MemberExpression"))return[3,4];return[5,_ts_values(qe(r,t,{getVar:!0}))];case 3:i=_state.sent();return[3,7];case 4:return[5,_ts_values(p(e.right,t))];case 5:a1=_state.sent();return[5,_ts_values(W(r,t,{feed:a1}))];case 6:return[2,_state.sent()];case 7:return[5,_ts_values(p(e.right,t))];case 8:s=_state.sent();switch(e.operator){case"=":return[2,(i.set(s),i.get())];case"+=":return[2,(i.set(i.get()+s),i.get())];case"-=":return[2,(i.set(i.get()-s),i.get())];case"*=":return[2,(i.set(i.get()*s),i.get())];case"/=":return[2,(i.set(i.get()/s),i.get())];case"%=":return[2,(i.set(i.get()%s),i.get())];case"**=":return[2,(i.set(Math.pow(i.get(),s)),i.get())];case"<<=":return[2,(i.set(i.get()<<s),i.get())];case">>=":return[2,(i.set(i.get()>>s),i.get())];case">>>=":return[2,(i.set(i.get()>>>s),i.get())];case"|=":return[2,(i.set(i.get()|s),i.get())];case"^=":return[2,(i.set(i.get()^s),i.get())];case"&=":return[2,(i.set(i.get()&s),i.get())];case"??=":;return[2,(i.set((_i_get=i.get())!==null&&_i_get!==void 0?_i_get:s),i.get())];case"&&=":return[2,(i.set(i.get()&&s),i.get())];case"||=":return[2,(i.set(i.get()||s),i.get())];default:throw new SyntaxError("Unexpected token ".concat(e.operator))}return[2]}})}function Ls(e,t){var _,_tmp,_tmp1,_ref,_tmp2;return _ts_generator(this,function(_state){switch(_state.label){case 0:_=e.operator;switch(_){case"||":return[3,1];case"&&":return[3,5];case"??":return[3,9]}return[3,14];case 1:return[5,_ts_values(p(e.left,t))];case 2:_tmp=_state.sent();if(_tmp)return[3,4];return[5,_ts_values(p(e.right,t))];case 3:_tmp=_state.sent();_state.label=4;case 4:return[2,_tmp];case 5:return[5,_ts_values(p(e.left,t))];case 6:_tmp1=_state.sent();if(!_tmp1)return[3,8];return[5,_ts_values(p(e.right,t))];case 7:_tmp1=_state.sent();_state.label=8;case 8:return[2,_tmp1];case 9:return[5,_ts_values(p(e.left,t))];case 10:if(!((_ref=_state.sent())!==null&&_ref!==void 0))return[3,11];_tmp2=_ref;return[3,13];case 11:return[5,_ts_values(p(e.right,t))];case 12:_tmp2=_state.sent();_state.label=13;case 13:return[2,_tmp2];case 14:throw new SyntaxError("Unexpected token ".concat(e.operator));case 15:return[2]}})}function qe(e,t){var r,tmp,i,tmp1,s,a,_tmp,n,u,_tmp1,l,c,f,l1,c1;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};tmp=r.getObj,i=tmp===void 0?!1:tmp,tmp1=r.getVar,s=tmp1===void 0?!1:tmp1;if(!(e.object.type==="Super"))return[3,2];return[5,_ts_values(ji(e.object,t,{getProto:!0}))];case 1:_tmp=a=_state.sent();return[3,4];case 2:return[5,_ts_values(p(e.object,t))];case 3:_tmp=a=_state.sent();_state.label=4;case 4:if(_tmp,a===A)return[2,A];if(i)return[2,a];u=!1;if(!e.computed)return[3,6];return[5,_ts_values(p(e.property,t))];case 5:_tmp1=n=_state.sent();return[3,7];case 6:_tmp1=e.property.type==="PrivateIdentifier"?(n=e.property.name,u=!0):n=e.property.name;_state.label=7;case 7:if(_tmp1,u&&(a=a[B]),s){l=Qt(a,n);if(e.object.type==="Super"&&l){c=t.find("this").get(),f=R(n);return[2,(v(c,f,{set:l}),new ge(c,f))]}else return[2,new ge(a,n)]}else{l1=Kt(a,n);if(e.object.type==="Super"&&l1){c1=t.find("this").get();return[2,e.optional&&c1==null?A:l1.call(c1)]}else return[2,e.optional&&a==null?A:a[n]]}return[2]}})}function Ts(e,t){var _tmp;return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(p(e.test,t))];case 1:if(!_state.sent())return[3,3];return[5,_ts_values(p(e.consequent,t))];case 2:_tmp=_state.sent();return[3,5];case 3:return[5,_ts_values(p(e.alternate,t))];case 4:_tmp=_state.sent();_state.label=5;case 5:return[2,_tmp]}})}function Tt(e){if(e.type==="Identifier")return e.name;if(e.type==="MemberExpression"){var t=e,r=Tt(t.object);if(!t.computed)return t.property.type==="PrivateIdentifier"?"".concat(r,".#").concat(t.property.name):"".concat(r,".").concat(t.property.name);var i=t.property;return i.type==="Literal"?"".concat(r,"[").concat(i.raw,"]"):i.type==="Identifier"?"".concat(r,"[").concat(i.name,"]"):r}else if(e.type==="Super")return"super";return"(intermediate value)"}function Vs(e,t){var a,r,i,_$n,u,_tmp,l,c,c1,c2,_$n1,s,_$n2,u1,_tmp1,_,_1,u2,l1,u3;return _ts_generator(this,function(_state){switch(_state.label){case 0:if(!(e.callee.type==="MemberExpression"))return[3,5];return[5,_ts_values(qe(e.callee,t,{getObj:!0}))];case 1:if(i=_state.sent(),i===A||e.callee.optional&&i==null)return[2,A];u=!1;if(!e.callee.computed)return[3,3];return[5,_ts_values(p(e.callee.property,t))];case 2:_tmp=_$n=_state.sent();return[3,4];case 3:_tmp=e.callee.property.type==="PrivateIdentifier"?(_$n=e.callee.property.name,u=!0):_$n=e.callee.property.name;_state.label=4;case 4:_tmp;l=i;if(u&&(l=l[B]),e.callee.object.type==="Super"){c=t.find("this").get();r=l[_$n].bind(c)}else r=l[_$n];if(e.optional&&r==null)return[2,A];if(typeof r!="function"){c1=Tt(e.callee);throw new TypeError("".concat(c1," is not a function"))}else if(Te in r){c2=Tt(e.callee);throw new TypeError("Class constructor ".concat(c2," cannot be invoked without 'new'"))}return[3,7];case 5:return[5,_ts_values(p(e.callee,t))];case 6:if(r=_state.sent(),r===A||e.optional&&r==null)return[2,A];if(typeof r!="function"||e.callee.type!=="Super"&&Te in r){;if(e.callee.type==="Identifier")_$n1=e.callee.name;else try{_$n1=JSON.stringify(r)}catch(e){_$n1=""+r}throw typeof r!="function"?new TypeError("".concat(_$n1," is not a function")):new TypeError("Class constructor ".concat(_$n1," cannot be invoked without 'new'"))}e.callee.type==="Super"?i=t.find("this").get():i=!!((a=t.find(H))!=null&&a.get())||!!(r&&r[ht])?void 0:t.find("this").get();_state.label=7;case 7:s=[];_$n2=0;_state.label=8;case 8:if(!(_$n2<e.arguments.length))return[3,14];u1=e.arguments[_$n2];if(!(u1.type==="SpreadElement"))return[3,10];_=s.concat;return[5,_ts_values(We(u1,t))];case 9:_tmp1=s=_.apply(s,[_state.sent()]);return[3,12];case 10:_1=s.push;return[5,_ts_values(p(u1,t))];case 11:_tmp1=_1.apply(s,[_state.sent()]);_state.label=12;case 12:_tmp1;_state.label=13;case 13:_$n2++;return[3,8];case 14:if(!(e.callee.type==="Super"))return[3,16];u2=t.find(me).get();if(u2===!0)throw new ReferenceError("Super constructor may only be called once");l1=Ze(i,r,s);return[5,_ts_values(u2(l1))];case 15:return[2,(_state.sent(),t.find("this").set(l1),t.find(me).set(!0),l1)];case 16:try{return[2,r.apply(i,s)]}catch(n){if(_instanceof(n,TypeError)&&n.message==="Illegal invocation"&&r.toString().indexOf("[native code]")!==-1){u3=t.global().find("window").get();if(u3&&u3[De])return[2,r.apply(u3[De],s)]}throw n}return[2]}})}function Ns(e,t){var r,s,i,s1,a,_tmp,_,_1;return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(p(e.callee,t))];case 1:r=_state.sent();if(typeof r!="function"){;if(e.callee.type==="Identifier")s=e.callee.name;else try{s=JSON.stringify(r)}catch(e){s=""+r}throw new TypeError("".concat(s," is not a constructor"))}else if(r[ct])throw new TypeError("".concat(r.name||"(intermediate value)"," is not a constructor"));i=[];s1=0;_state.label=2;case 2:if(!(s1<e.arguments.length))return[3,8];a=e.arguments[s1];if(!(a.type==="SpreadElement"))return[3,4];_=i.concat;return[5,_ts_values(We(a,t))];case 3:_tmp=i=_.apply(i,[_state.sent()]);return[3,6];case 4:_1=i.push;return[5,_ts_values(p(a,t))];case 5:_tmp=_1.apply(i,[_state.sent()]);_state.label=6;case 6:_tmp;_state.label=7;case 7:s1++;return[3,2];case 8:return[2,_construct(r,_to_consumable_array(i))]}})}function Rs(e,t){return _ts_generator(this,function(_state){if(e.meta.name==="new"&&e.property.name==="target")return[2,t.find(ft).get()];if(e.meta.name==="import"&&e.property.name==="meta")return[2,{url:""}];return[2]})}function Bs(e,t){var r,i;return _ts_generator(this,function(_state){switch(_state.label){case 0:i=0;_state.label=1;case 1:if(!(i<e.expressions.length))return[3,4];return[5,_ts_values(p(e.expressions[i],t))];case 2:r=_state.sent();_state.label=3;case 3:i++;return[3,1];case 4:return[2,r]}})}function Os(e,t){return _ts_generator(this,function(_state){return[2,se(e,t)]})}function Ds(e,t){var r,i,s,a,n,_tmp;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=e.quasis.slice(),i=e.expressions.slice();s="";_state.label=1;case 1:if(!(a=r.shift()))return[3,6];return[5,_ts_values(Mi(a))];case 2:s+=_state.sent(),n=i.shift();_tmp=n;if(!_tmp)return[3,4];return[5,_ts_values(p(n,t))];case 3:_tmp=s+=_state.sent();_state.label=4;case 4:_tmp;_state.label=5;case 5:return[3,1];case 6:return[2,s]}})}function Fs(e,t){var r,i,s,a,n,u,l,_;return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(p(e.tag,t))];case 1:r=_state.sent(),i=e.quasi.quasis,s=i.map(function(l){return l.value.cooked}),a=i.map(function(l){return l.value.raw});v(s,"raw",{value:Qe(a)});n=e.quasi.expressions,u=[];if(!n)return[3,5];l=0;_state.label=2;case 2:if(!(l<n.length))return[3,5];_=u.push;return[5,_ts_values(p(n[l],t))];case 3:_.apply(u,[_state.sent()]);_state.label=4;case 4:l++;return[3,2];case 5:return[2,r.apply(void 0,[Qe(s)].concat(_to_consumable_array(u)))]}})}function Mi(e,t){return _ts_generator(this,function(_state){return[2,e.value.raw]})}function Ms(e,t){var r,i;return _ts_generator(this,function(_state){switch(_state.label){case 0:if(!(e.id&&e.id.name))return[3,2];r=new T(t);return[5,_ts_values(Ke(e,r))];case 1:i=_state.sent();return[2,(r.const(e.id.name,i),i)];case 2:return[5,_ts_values(Ke(e,t))];case 3:return[2,_state.sent()];case 4:return[2]}})}function ji(e,t){var r,tmp,i,s;var _arguments=arguments;return _ts_generator(this,function(_state){r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};tmp=r.getProto,i=tmp===void 0?!1:tmp,s=t.find(lt).get();return[2,i?s.prototype:s]})}function We(e,t){var r,i;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};return[5,_ts_values(p(e.argument,t))];case 1:i=_state.sent();if(r.spreadProps)return[2,i];if(typeof Symbol=="function"&&typeof i[Symbol.iterator]!="function")throw new TypeError("Spread syntax requires ...iterable[Symbol.iterator] to be a function");return[2,_to_consumable_array(i)]}})}function js(e,t){var r;return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(p(e.expression,t))];case 1:r=_state.sent();return[2,r===A?void 0:r]}})}function Us(e,t){var r,i,s,a,n;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=t.global();return[5,_ts_values(p(e.source,t))];case 1:i=_state.sent(),s=r.find(Se+i);if(s){n=s.get();n&&(typeof n=="function"?a=n():(typeof n==="undefined"?"undefined":_type_of(n))=="object"&&(a=n))}return[2,!a||(typeof a==="undefined"?"undefined":_type_of(a))!="object"?Promise.reject(new TypeError('Failed to resolve module specifier "'.concat(i,'"'))):Promise.resolve(a)]}})}function $s(e,t){var r,_tmp;return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(p(e.argument,t))];case 1:r=_state.sent();if(!e.delegate)return[3,3];return[5,_ts_values(r)];case 2:_tmp=_state.sent();return[3,5];case 3:return[4,r];case 4:_tmp=_state.sent();_state.label=5;case 5:return[2,_tmp]}})}function qs(e,t){return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(p(e.argument,t))];case 1:ve.RES=_state.sent();return[4,ve];case 2:return[2,_state.sent()]}})}var Ws=Object.freeze(Object.defineProperty({__proto__:null,ArrayExpression:ks,ArrowFunctionExpression:Os,AssignmentExpression:Ps,AwaitExpression:qs,BinaryExpression:As,CallExpression:Vs,ChainExpression:js,ClassExpression:Ms,ConditionalExpression:Ts,FunctionExpression:Cs,ImportExpression:Us,LogicalExpression:Ls,MemberExpression:qe,MetaProperty:Rs,NewExpression:Ns,ObjectExpression:Es,SequenceExpression:Bs,SpreadElement:We,Super:ji,TaggedTemplateExpression:Fs,TemplateElement:Mi,TemplateLiteral:Ds,ThisExpression:ws,UnaryExpression:_s,UpdateExpression:Is,YieldExpression:$s},Symbol.toStringTag,{value:"Module"}));function Ui(e,t){var r,tmp,i,tmp1,s,tmp2,a,tmp3,n,u,l,c,f,_tmp,f1,_tmp1,g,_tmp2,f2,g1;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};tmp=r.kind,i=tmp===void 0?"var":tmp,tmp1=r.hoist,s=tmp1===void 0?!1:tmp1,tmp2=r.onlyBlock,a=tmp2===void 0?!1:tmp2,tmp3=r.feed,n=tmp3===void 0?{}:tmp3,u=[];l=0;_state.label=1;case 1:if(!(l<e.properties.length))return[3,18];c=e.properties[l];if(!s)return[3,8];if(!(a||i==="var"))return[3,7];if(!(c.type==="Property"))return[3,5];f=c.value;if(!(f.type==="Identifier"))return[3,2];_tmp=t[i](f.name,a?$:i==="var"?M:void 0);return[3,4];case 2:return[5,_ts_values(W(f,t,{kind:i,hoist:s,onlyBlock:a}))];case 3:_tmp=_state.sent();_state.label=4;case 4:_tmp;return[3,7];case 5:return[5,_ts_values(Ne(c,t,{kind:i,hoist:s,onlyBlock:a}))];case 6:_state.sent();_state.label=7;case 7:return[3,17];case 8:if(!(c.type==="Property"))return[3,15];f1=void 0;if(!c.computed)return[3,10];return[5,_ts_values(p(c.key,t))];case 9:_tmp1=f1=_state.sent();return[3,11];case 10:_tmp1=f1=c.key.name;_state.label=11;case 11:_tmp1,u.push(f1);g=c.value;if(!(g.type==="Identifier"))return[3,12];_tmp2=t[i](g.name,n[f1]);return[3,14];case 12:return[5,_ts_values(W(g,t,{kind:i,feed:n[f1]}))];case 13:_tmp2=_state.sent();_state.label=14;case 14:_tmp2;return[3,17];case 15:f2=j({},n);for(g1=0;g1<u.length;g1++)delete f2[u[g1]];return[5,_ts_values(Ne(c,t,{kind:i,feed:f2}))];case 16:_state.sent();_state.label=17;case 17:l++;return[3,1];case 18:return[2]}})}function $i(e,t){var r,i,tmp,s,tmp1,a,tmp2,n,u,l,c,_tmp,_tmp1,f,_tmp2;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};i=r.kind,tmp=r.hoist,s=tmp===void 0?!1:tmp,tmp1=r.onlyBlock,a=tmp1===void 0?!1:tmp1,tmp2=r.feed,n=tmp2===void 0?[]:tmp2,u=[];l=0;_state.label=1;case 1:if(!(l<e.elements.length))return[3,16];c=e.elements[l];if(!c)return[3,15];if(!s)return[3,6];_tmp=a||i==="var";if(!_tmp)return[3,5];if(!(c.type==="Identifier"))return[3,2];_tmp1=t[i](c.name,a?$:i==="var"?M:void 0);return[3,4];case 2:return[5,_ts_values(W(c,t,{kind:i,hoist:s,onlyBlock:a}))];case 3:_tmp1=_state.sent();_state.label=4;case 4:_tmp=_tmp1;_state.label=5;case 5:_tmp;return[3,15];case 6:if(!(c.type==="Identifier"))return[3,10];if(!i)return[3,7];t[i](c.name,n[l]);return[3,9];case 7:return[5,_ts_values(Ve(c,t,{getVar:!0}))];case 8:f=_state.sent();f.set(n[l]),u.push(f.get());_state.label=9;case 9:return[3,15];case 10:if(!(c.type==="RestElement"))return[3,12];return[5,_ts_values(Ne(c,t,{kind:i,feed:n.slice(l)}))];case 11:_tmp2=_state.sent();return[3,14];case 12:return[5,_ts_values(W(c,t,{kind:i,feed:n[l]}))];case 13:_tmp2=_state.sent();_state.label=14;case 14:_tmp2;_state.label=15;case 15:l++;return[3,1];case 16:if(u.length)return[2,u];return[2]}})}function Ne(e,t){var r,i,tmp,s,tmp1,a,tmp2,n,u,_tmp,_tmp1,_tmp2,_tmp3,_tmp4;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};i=r.kind,tmp=r.hoist,s=tmp===void 0?!1:tmp,tmp1=r.onlyBlock,a=tmp1===void 0?!1:tmp1,tmp2=r.feed,n=tmp2===void 0?[]:tmp2,u=e.argument;if(!s)return[3,5];_tmp1=a||i==="var";if(!_tmp1)return[3,4];if(!(u.type==="Identifier"))return[3,1];_tmp2=t[i](u.name,a?$:i==="var"?M:void 0);return[3,3];case 1:return[5,_ts_values(W(u,t,{kind:i,hoist:s,onlyBlock:a}))];case 2:_tmp2=_state.sent();_state.label=3;case 3:_tmp1=_tmp2;_state.label=4;case 4:_tmp=_tmp1;return[3,12];case 5:if(!(u.type==="Identifier"))return[3,9];if(!i)return[3,6];_tmp4=t[i](u.name,n);return[3,8];case 6:return[5,_ts_values(Ve(u,t,{getVar:!0}))];case 7:_tmp4=_state.sent().set(n);_state.label=8;case 8:_tmp3=_tmp4;return[3,11];case 9:return[5,_ts_values(W(u,t,{kind:i,feed:n}))];case 10:_tmp3=_state.sent();_state.label=11;case 11:_tmp=_tmp3;_state.label=12;case 12:_tmp;return[2]}})}function qi(e,t){var r,tmp,i,tmp1,s,tmp2,a,tmp3,n,u,_tmp,_tmp1,_tmp2,_tmp3,_tmp4;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};tmp=r.kind,i=tmp===void 0?"var":tmp,tmp1=r.hoist,s=tmp1===void 0?!1:tmp1,tmp2=r.onlyBlock,a=tmp2===void 0?!1:tmp2,tmp3=r.feed;if(!(tmp3===void 0))return[3,2];return[5,_ts_values(p(e.right,t))];case 1:_tmp=_state.sent();return[3,3];case 2:_tmp=tmp3;_state.label=3;case 3:n=_tmp,u=e.left;if(!s)return[3,8];_tmp2=a||i==="var";if(!_tmp2)return[3,7];if(!(u.type==="Identifier"))return[3,4];_tmp3=t[i](u.name,a?$:i==="var"?M:void 0);return[3,6];case 4:return[5,_ts_values(W(u,t,{kind:i,hoist:s,onlyBlock:a}))];case 5:_tmp3=_state.sent();_state.label=6;case 6:_tmp2=_tmp3;_state.label=7;case 7:_tmp1=_tmp2;return[3,12];case 8:if(!(u.type==="Identifier"))return[3,9];_tmp4=t[i](u.name,n);return[3,11];case 9:return[5,_ts_values(W(u,t,{kind:i,feed:n}))];case 10:_tmp4=_state.sent();_state.label=11;case 11:_tmp1=_tmp4;_state.label=12;case 12:_tmp1;return[2]}})}var zs=Object.freeze(Object.defineProperty({__proto__:null,ArrayPattern:$i,AssignmentPattern:qi,ObjectPattern:Ui,RestElement:Ne},Symbol.toStringTag,{value:"Module"}));function Gs(e,t){var r,i,r1;return _ts_generator(this,function(_state){switch(_state.label){case 0:for(r=0;r<e.body.length;r++){i=e.body[r];if(i.type==="ExpressionStatement"&&i.directive)i.directive==="use strict"&&!t.find(H)&&t.const(H,!0);else break}r1=0;_state.label=1;case 1:if(!(r1<e.body.length))return[3,4];return[5,_ts_values(p(e.body[r1],t))];case 2:_state.sent();_state.label=3;case 3:r1++;return[3,1];case 4:return[2]}})}var Hs=Object.freeze(Object.defineProperty({__proto__:null,Program:Gs},Symbol.toStringTag,{value:"Module"}));var Vt;function p(e,t){var r;return _ts_generator(this,function(_state){switch(_state.label){case 0:if(!e)return[2];Vt||(Vt=j({},Oe,Ws,vs,Be,Ss,zs,Hs));r=Vt[e.type];if(!r)return[3,2];return[5,_ts_values(r(e,t))];case 1:return[2,_state.sent()];case 2:throw new Error("".concat(e.type," isn't implemented"))}})}function Ks(e,t){return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(p(e.expression,t))];case 1:_state.sent();return[2]}})}function le(e,t){var r,tmp,i,tmp1,s,a,_tmp,n,u;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};tmp=r.invasived,i=tmp===void 0?!1:tmp,tmp1=r.hoisted,s=tmp1===void 0?!1:tmp1,a=i?t:new T(t);_tmp=s;if(_tmp)return[3,2];return[5,_ts_values(jt(e,a,{onlyBlock:!0}))];case 1:_tmp=_state.sent();_state.label=2;case 2:_tmp;n=0;_state.label=3;case 3:if(!(n<e.body.length))return[3,6];return[5,_ts_values(p(e.body[n],a))];case 4:u=_state.sent();if(u===_){if(u.LABEL&&u.LABEL===r.label)return[3,6];return[2,u]}if(u===C||u===w)return[2,u];_state.label=5;case 5:n++;return[3,3];case 6:return[2]}})}function Qs(){return _ts_generator(this,function(_state){return[2]})}function Zs(){return _ts_generator(this,function(_state){debugger;return[2]})}function Xs(e,t){var _tmp;return _ts_generator(this,function(_state){switch(_state.label){case 0:if(!e.argument)return[3,2];return[5,_ts_values(p(e.argument,t))];case 1:_tmp=_state.sent();return[3,3];case 2:_tmp=void 0;_state.label=3;case 3:return[2,(w.RES=_tmp,w)]}})}function Ys(e){var t;return _ts_generator(this,function(_state){return[2,(_.LABEL=(t=e.label)==null?void 0:t.name,_)]})}function Js(e){var t;return _ts_generator(this,function(_state){return[2,(C.LABEL=(t=e.label)==null?void 0:t.name,C)]})}function ea(e,t){var r;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=e.label.name;if(!(e.body.type==="WhileStatement"))return[3,2];return[5,_ts_values(Qi(e.body,t,{label:r}))];case 1:return[2,_state.sent()];case 2:if(!(e.body.type==="DoWhileStatement"))return[3,4];return[5,_ts_values(Zi(e.body,t,{label:r}))];case 3:return[2,_state.sent()];case 4:if(!(e.body.type==="ForStatement"))return[3,6];return[5,_ts_values(Xi(e.body,t,{label:r}))];case 5:return[2,_state.sent()];case 6:if(!(e.body.type==="ForInStatement"))return[3,8];return[5,_ts_values(Yi(e.body,t,{label:r}))];case 7:return[2,_state.sent()];case 8:if(!(e.body.type==="ForOfStatement"))return[3,10];return[5,_ts_values(Ji(e.body,t,{label:r}))];case 9:return[2,_state.sent()];case 10:if(!(e.body.type==="BlockStatement"))return[3,12];return[5,_ts_values(le(e.body,t,{label:r}))];case 11:return[2,_state.sent()];case 12:if(!(e.body.type==="WithStatement"))return[3,14];return[5,_ts_values(Wi(e.body,t,{label:r}))];case 13:return[2,_state.sent()];case 14:if(!(e.body.type==="IfStatement"))return[3,16];return[5,_ts_values(zi(e.body,t,{label:r}))];case 15:return[2,_state.sent()];case 16:if(!(e.body.type==="SwitchStatement"))return[3,18];return[5,_ts_values(Gi(e.body,t,{label:r}))];case 17:return[2,_state.sent()];case 18:if(!(e.body.type==="TryStatement"))return[3,20];return[5,_ts_values(Hi(e.body,t,{label:r}))];case 19:return[2,_state.sent()];case 20:throw new SyntaxError("".concat(e.body.type," cannot be labeled"))}})}function Wi(e,t){var r,i,_1,s;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};i=new T(t);_1=i.with;return[5,_ts_values(p(e.object,t))];case 1:_1.apply(i,[_state.sent()]);return[5,_ts_values(p(e.body,i))];case 2:s=_state.sent();if(s===_)return[2,s.LABEL&&s.LABEL===r.label?void 0:s];if(s===C||s===w)return[2,s];return[2]}})}function zi(e,t){var r,i,_tmp;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};return[5,_ts_values(p(e.test,t))];case 1:if(!_state.sent())return[3,3];return[5,_ts_values(p(e.consequent,t))];case 2:_tmp=i=_state.sent();return[3,5];case 3:return[5,_ts_values(p(e.alternate,t))];case 4:_tmp=i=_state.sent();_state.label=5;case 5:if(_tmp,i===_)return[2,i.LABEL&&i.LABEL===r.label?void 0:i];if(i===C||i===w)return[2,i];return[2]}})}function Gi(e,t){var r,i,s,a,n,u,_tmp,_tmp1,l,n1,u1;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};return[5,_ts_values(p(e.discriminant,t))];case 1:i=_state.sent();s=!1,a=-1;n=0;_state.label=2;case 2:if(!(n<e.cases.length))return[3,9];u=e.cases[n];if(!u.test)return[3,5];_tmp1=!s;if(!_tmp1)return[3,4];return[5,_ts_values(p(u.test,t))];case 3:_tmp1=_state.sent()===i;_state.label=4;case 4:_tmp=_tmp1&&(s=!0,a=-1);return[3,6];case 5:_tmp=a=n;_state.label=6;case 6:if(!(_tmp,s))return[3,8];return[5,_ts_values(Nt(u,t))];case 7:l=_state.sent();if(l===_){if(l.LABEL===r.label)return[3,9];return[2,l]}if(l===C||l===w)return[2,l];_state.label=8;case 8:n++;return[3,2];case 9:if(!(!s&&a!==-1))return[3,13];n1=a;_state.label=10;case 10:if(!(n1<e.cases.length))return[3,13];return[5,_ts_values(Nt(e.cases[n1],t))];case 11:u1=_state.sent();if(u1===_){if(u1.LABEL===r.label)return[3,13];return[2,u1]}if(u1===C||u1===w)return[2,u1];_state.label=12;case 12:n1++;return[3,10];case 13:return[2]}})}function Nt(e,t){var r,i;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=0;_state.label=1;case 1:if(!(r<e.consequent.length))return[3,4];return[5,_ts_values(p(e.consequent[r],t))];case 2:i=_state.sent();if(i===_||i===C||i===w)return[2,i];_state.label=3;case 3:r++;return[3,1];case 4:return[2]}})}function ta(e,t){return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(p(e.argument,t))];case 1:throw _state.sent()}})}function Hi(e,t){var r,i,s,a,n,u,_tmp;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};_state.label=1;case 1:_state.trys.push([1,3,10,13]);return[5,_ts_values(le(e.block,t))];case 2:i=_state.sent();return[3,13];case 3:s=_state.sent();if(!e.handler)return[3,8];a=new T(t),n=e.handler.param;if(!n)return[3,6];if(!(n.type==="Identifier"))return[3,4];u=n.name;a.var(u,s);return[3,6];case 4:return[5,_ts_values(W(n,t,{feed:s}))];case 5:_state.sent();_state.label=6;case 6:return[5,_ts_values(Ki(e.handler,a))];case 7:i=_state.sent();return[3,9];case 8:throw s;case 9:return[3,13];case 10:_tmp=e.finalizer;if(!_tmp)return[3,12];return[5,_ts_values(le(e.finalizer,t))];case 11:_tmp=i=_state.sent();_state.label=12;case 12:_tmp;return[7];case 13:if(i===_)return[2,i.LABEL&&i.LABEL===r.label?void 0:i];if(i===C||i===w)return[2,i];return[2]}})}function Ki(e,t){return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(le(e.body,t,{invasived:!0}))];case 1:return[2,_state.sent()]}})}function Qi(e,t){var r,i;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};_state.label=1;case 1:return[5,_ts_values(p(e.test,t))];case 2:if(!_state.sent())return[3,5];return[5,_ts_values(p(e.body,t))];case 3:i=_state.sent();if(i===_){if(i.LABEL===r.label)return[3,5];return[2,i]}else if(i===C){if(i.LABEL===r.label)return[3,4];return[2,i]}else if(i===w)return[2,i];_state.label=4;case 4:return[3,1];case 5:return[2]}})}function Zi(e,t){var r,i;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};_state.label=1;case 1:return[5,_ts_values(p(e.body,t))];case 2:i=_state.sent();if(i===_){if(i.LABEL===r.label)return[3,5];return[2,i]}else if(i===C){if(i.LABEL===r.label)return[3,3];return[2,i]}else if(i===w)return[2,i];_state.label=3;case 3:return[5,_ts_values(p(e.test,t))];case 4:if(_state.sent())return[3,1];_state.label=5;case 5:return[2]}})}function Xi(e,t){var r,i,_tmp,_tmp1,s,a,_tmp2,_tmp3;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};i=new T(t);if(!e.init)return[3,2];return[5,_ts_values(p(e.init,i))];case 1:_tmp=_state.sent();return[3,3];case 2:_tmp=void 0;_state.label=3;case 3:_tmp;_state.label=4;case 4:_tmp1=!e.test;if(_tmp1)return[3,6];return[5,_ts_values(p(e.test,i))];case 5:_tmp1=_state.sent();_state.label=6;case 6:if(!_tmp1)return[3,15];s=new T(i);a=void 0;if(!(e.body.type==="BlockStatement"))return[3,8];return[5,_ts_values(le(e.body,s,{invasived:!0}))];case 7:_tmp2=a=_state.sent();return[3,10];case 8:return[5,_ts_values(p(e.body,s))];case 9:_tmp2=a=_state.sent();_state.label=10;case 10:if(_tmp2,a===_){if(a.LABEL===r.label)return[3,15];return[2,a]}else if(a===C){if(a.LABEL===r.label)return[3,11];return[2,a]}else if(a===w)return[2,a];_state.label=11;case 11:if(!e.update)return[3,13];return[5,_ts_values(p(e.update,i))];case 12:_tmp3=_state.sent();return[3,14];case 13:_tmp3=void 0;_state.label=14;case 14:_tmp3;return[3,4];case 15:return[2]}})}function Yi(e,t){var r,_tmp,_tmp1,_i,i,s;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};_tmp=[];return[5,_ts_values(p(e.right,t))];case 1:for(_tmp1 in _state.sent())_tmp.push(_tmp1);_i=0;_state.label=2;case 2:if(!(_i<_tmp.length))return[3,5];i=_tmp[_i];return[5,_ts_values(Ut(e,t,{value:i}))];case 3:s=_state.sent();if(s===_){if(s.LABEL===r.label)return[3,5];return[2,s]}else if(s===C){if(s.LABEL===r.label)return[3,4];return[2,s]}else if(s===w)return[2,s];_state.label=4;case 4:_i++;return[3,2];case 5:return[2]}})}function Ji(e,t){var r,i,_iteratorNormalCompletion,_didIteratorError,_iteratorError,s,a,n,_iterator,_step,s1,a1,err;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};return[5,_ts_values(p(e.right,t))];case 1:i=_state.sent();_iteratorNormalCompletion=true,_didIteratorError=false,_iteratorError=undefined;if(!e.await)return[3,8];s=Vr(i);ve.RES=s.next();return[4,ve];case 2:a=_state.sent();_state.label=3;case 3:if(!!a.done)return[3,7];return[5,_ts_values(Ut(e,t,{value:a.value}))];case 4:n=_state.sent();if(n===_){if(n.LABEL===r.label)return[3,7];return[2,n]}else if(n===C){if(n.LABEL===r.label)return[3,5];return[2,n]}else if(n===w)return[2,n];_state.label=5;case 5:ve.RES=s.next();return[4,ve];case 6:a=_state.sent();return[3,3];case 7:return[3,15];case 8:_state.trys.push([8,13,14,15]);_iterator=i[Symbol.iterator]();_state.label=9;case 9:if(!!(_iteratorNormalCompletion=(_step=_iterator.next()).done))return[3,12];s1=_step.value;return[5,_ts_values(Ut(e,t,{value:s1}))];case 10:a1=_state.sent();if(a1===_){if(a1.LABEL===r.label)return[3,12];return[2,a1]}else if(a1===C){if(a1.LABEL===r.label)return[3,11];return[2,a1]}else if(a1===w)return[2,a1];_state.label=11;case 11:_iteratorNormalCompletion=true;return[3,9];case 12:return[3,15];case 13:err=_state.sent();_didIteratorError=true;_iteratorError=err;return[3,15];case 14:try{if(!_iteratorNormalCompletion&&_iterator.return!=null){_iterator.return()}}finally{if(_didIteratorError){throw _iteratorError}}return[7];case 15:return[2]}})}function ia(e,t){return _ts_generator(this,function(_state){t.func(e.id.name,se(e,t));return[2]})}function we(e,t){var r,i;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};i=0;_state.label=1;case 1:if(!(i<e.declarations.length))return[3,4];return[5,_ts_values(er(e.declarations[i],t,j({kind:e.kind},r)))];case 2:_state.sent();_state.label=3;case 3:i++;return[3,1];case 4:return[2]}})}function er(e,t){var r,tmp,i,tmp1,s,tmp2,a,n,_tmp,_tmp1,u,l,_tmp2,c;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};tmp=r.kind,i=tmp===void 0?"var":tmp,tmp1=r.hoist,s=tmp1===void 0?!1:tmp1,tmp2=r.onlyBlock,a=tmp2===void 0?!1:tmp2,n=r.feed;if(!s)return[3,5];_tmp=a||i==="var";if(!_tmp)return[3,4];if(!(e.id.type==="Identifier"))return[3,1];_tmp1=t[i](e.id.name,a?$:i==="var"?M:void 0);return[3,3];case 1:return[5,_ts_values(W(e.id,t,{kind:i,hoist:s,onlyBlock:a}))];case 2:_tmp1=_state.sent();_state.label=3;case 3:_tmp=_tmp1;_state.label=4;case 4:_tmp;return[3,11];case 5:u="feed"in r;if(!u)return[3,6];_tmp2=n;return[3,8];case 6:return[5,_ts_values(p(e.init,t))];case 7:_tmp2=_state.sent();_state.label=8;case 8:l=_tmp2;if(!(e.id.type==="Identifier"))return[3,9];c=e.id.name;i==="var"&&!e.init&&!u?t.var(c,M):t[i](c,l),e.init&&["ClassExpression","FunctionExpression","ArrowFunctionExpression"].indexOf(e.init.type)!==-1&&!l.name&&v(l,"name",{value:c,configurable:!0});return[3,11];case 9:return[5,_ts_values(W(e.id,t,{kind:i,feed:l}))];case 10:_state.sent();_state.label=11;case 11:return[2]}})}function ra(e,t){var _,_tmp;return _ts_generator(this,function(_state){switch(_state.label){case 0:_=t.func;_tmp=[e.id.name];return[5,_ts_values(Ke(e,t))];case 1:_.apply(t,_tmp.concat([_state.sent()]));return[2]}})}function tr(e,t){var r,i,s,a,n,_tmp,_tmp1,_tmp2;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};i=r.klass,s=r.superClass;a=0;_state.label=1;case 1:if(!(a<e.body.length))return[3,11];n=e.body[a];if(!(n.type==="MethodDefinition"))return[3,3];return[5,_ts_values(ir(n,t,{klass:i,superClass:s}))];case 2:_tmp=_state.sent();return[3,9];case 3:if(!(n.type==="PropertyDefinition"&&n.static))return[3,5];return[5,_ts_values(Rt(n,t,{klass:i,superClass:s}))];case 4:_tmp1=_state.sent();return[3,8];case 5:_tmp2=n.type==="StaticBlock";if(!_tmp2)return[3,7];return[5,_ts_values(rr(n,t,{klass:i}))];case 6:_tmp2=_state.sent();_state.label=7;case 7:_tmp1=_tmp2;_state.label=8;case 8:_tmp=_tmp1;_state.label=9;case 9:_tmp;_state.label=10;case 10:a++;return[3,1];case 11:return[2]}})}function ir(e,t){var r,i,s,a,n,u,l,c,c1;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};i=r.klass,s=r.superClass;n=!1;if(!e.computed)return[3,2];return[5,_ts_values(p(e.key,t))];case 1:a=_state.sent();return[3,3];case 2:if(e.key.type==="Identifier")a=e.key.name;else if(e.key.type==="PrivateIdentifier")a=e.key.name,n=!0;else throw new SyntaxError("Unexpected token");_state.label=3;case 3:u=e.static?i:i.prototype;n&&(u[B]||v(u,B,{value:{}}),u=u[B]);l=se(e.value,t,{superClass:s});switch(e.kind){case"constructor":break;case"method":v(u,a,{value:l,writable:!0,configurable:!0});break;case"get":{c=pe(u,a);v(u,a,{get:l,set:c&&c.set,configurable:!0});break}case"set":{c1=pe(u,a);v(u,a,{get:c1&&c1.get,set:l,configurable:!0});break}default:throw new SyntaxError("Unexpected token")}return[2]}})}function Rt(e,t){var r,i,s,a,n,u,l,_tmp,_tmp1;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};i=r.klass,s=r.superClass;n=!1;if(!e.computed)return[3,2];return[5,_ts_values(p(e.key,t))];case 1:a=_state.sent();return[3,3];case 2:if(e.key.type==="Identifier")a=e.key.name;else if(e.key.type==="PrivateIdentifier")a=e.key.name,n=!0;else throw new SyntaxError("Unexpected token");_state.label=3;case 3:u=new T(t,!0);u.const("this",i);l=i;n&&(l[B]||v(l,B,{value:{}}),l=l[B]);if(!e.value)return[3,7];if(!(e.value.type==="FunctionExpression"||e.value.type==="ArrowFunctionExpression"))return[3,4];_tmp1=l[a]=se(e.value,u,{superClass:s});return[3,6];case 4:return[5,_ts_values(p(e.value,u))];case 5:_tmp1=l[a]=_state.sent();_state.label=6;case 6:_tmp=_tmp1;return[3,8];case 7:_tmp=l[a]=void 0;_state.label=8;case 8:_tmp;return[2]}})}function rr(e,t){var r,i,s;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};i=r.klass,s=new T(t,!0);s.const("this",i);return[5,_ts_values(le(e,s,{invasived:!0}))];case 1:return[2,_state.sent()]}})}function sa(e,t){var i,s,a,a1,n,u;return _ts_generator(this,function(_state){i=t.global().find(Se+e.source.value);if(i){a=i.get();a&&(typeof a=="function"?s=a():(typeof a==="undefined"?"undefined":_type_of(a))=="object"&&(s=a))}if(!s||(typeof s==="undefined"?"undefined":_type_of(s))!="object")throw new TypeError('Failed to resolve module specifier "'.concat(e.source.value,'"'));for(a1=0;a1<e.specifiers.length;a1++){n=e.specifiers[a1];u=void 0;if(n.type==="ImportSpecifier"?u=n.imported.type==="Identifier"?n.imported.name:n.imported.value:n.type==="ImportDefaultSpecifier"?u="default":n.type==="ImportNamespaceSpecifier"&&(u="*"),u!=="*"&&!dt(s,u))throw new SyntaxError('The requested module "'.concat(e.source.value,'" does not provide an export named "').concat(u,'"'));t.var(n.local.name,u==="*"?j({},s):s[u])}return[2]})}function aa(e,t){var r,i,_tmp,_tmp1,s,a;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=t.global();if(!(e.declaration.type==="FunctionDeclaration"))return[3,1];_tmp=(i=se(e.declaration,t),t.func(e.declaration.id.name,i));return[3,6];case 1:if(!(e.declaration.type==="ClassDeclaration"))return[3,3];return[5,_ts_values(Ke(e.declaration,t))];case 2:_tmp1=(i=_state.sent(),t.func(e.declaration.id.name,i));return[3,5];case 3:return[5,_ts_values(p(e.declaration,t))];case 4:_tmp1=i=_state.sent();_state.label=5;case 5:_tmp=_tmp1;_state.label=6;case 6:_tmp;s=r.find(G);if(s){a=s.get();a&&(typeof a==="undefined"?"undefined":_type_of(a))=="object"&&(a.default=i)}return[2]}})}function na(e,t){var r,i,s,a,i1,s1,a1,i2,s2,a2,n,u,i3,s3,a3,n1,u1,l;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=t.global();if(!e.declaration)return[3,6];if(!(e.declaration.type==="FunctionDeclaration"))return[3,1];i=se(e.declaration,t);t.func(e.declaration.id.name,i);s=r.find(G);if(s){a=s.get();a&&(typeof a==="undefined"?"undefined":_type_of(a))=="object"&&(a[e.declaration.id.name]=i)}return[3,5];case 1:if(!(e.declaration.type==="ClassDeclaration"))return[3,3];return[5,_ts_values(Ke(e.declaration,t))];case 2:i1=_state.sent();t.func(e.declaration.id.name,i1);s1=r.find(G);if(s1){a1=s1.get();a1&&(typeof a1==="undefined"?"undefined":_type_of(a1))=="object"&&(a1[e.declaration.id.name]=i1)}return[3,5];case 3:if(!(e.declaration.type==="VariableDeclaration"))return[3,5];return[5,_ts_values(we(e.declaration,t))];case 4:_state.sent();i2=r.find(G);if(i2){s2=i2.get();if(s2&&(typeof s2==="undefined"?"undefined":_type_of(s2))=="object")for(a2=0;a2<e.declaration.declarations.length;a2++){n=e.declaration.declarations[a2].id.name,u=t.find(n);u&&(s2[n]=u.get())}}_state.label=5;case 5:return[3,7];case 6:if(e.specifiers){i3=r.find(G);if(i3){s3=i3.get();if(s3&&(typeof s3==="undefined"?"undefined":_type_of(s3))=="object")for(a3=0;a3<e.specifiers.length;a3++){n1=e.specifiers[a3],u1=n1.local.type==="Identifier"?n1.local.name:n1.local.value,l=t.find(u1);l&&(s3[n1.exported.type==="Identifier"?n1.exported.name:n1.exported.value]=l.get())}}}_state.label=7;case 7:return[2]}})}function oa(e,t){var r,i,s,n,a,n1;return _ts_generator(this,function(_state){r=t.global(),i=r.find(Se+e.source.value);if(i){n=i.get();n&&(typeof n=="function"?s=n():(typeof n==="undefined"?"undefined":_type_of(n))=="object"&&(s=n))}if(!s||(typeof s==="undefined"?"undefined":_type_of(s))!="object")throw new TypeError('Failed to resolve module specifier "'.concat(e.source.value,'"'));a=r.find(G);if(a){n1=a.get();n1&&(typeof n1==="undefined"?"undefined":_type_of(n1))=="object"&&j(n1,s)}return[2]})}function xe(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var tmp=r.getVar,i=tmp===void 0?!1:tmp,tmp1=r.throwErr,s=tmp1===void 0?!0:tmp1;if(e.name==="undefined")return;var a=t.find(e.name);if(a){if(i)return a;{var n=a.get();if(n===$)throw new ReferenceError("".concat(e.name," is not defined"));return n}}else{if(s)throw new ReferenceError("".concat(e.name," is not defined"));return}}var ua=Object.freeze(Object.defineProperty({__proto__:null,Identifier:xe},Symbol.toStringTag,{value:"Module"}));function sr(e,t){return e.regex?new RegExp(e.regex.pattern,e.regex.flags):e.value}var la=Object.freeze(Object.defineProperty({__proto__:null,Literal:sr},Symbol.toStringTag,{value:"Module"}));function ca(e,t){var r=t.find(me);if(r&&r.get()!==!0)throw new ReferenceError("Must call super constructor in derived class before accessing 'this' or returning from derived constructor");return t.find("this").get()}function fa(e,t){var r=[];for(var i=0;i<e.elements.length;i++){var s=e.elements[i];s===null?r.length++:s.type==="SpreadElement"?r=r.concat(Ge(s,t)):r.push(d(s,t))}return r}function ha(e,t){var r={};for(var i=0;i<e.properties.length;i++){var s=e.properties[i];if(s.type==="SpreadElement")j(r,Ge(s,t,{spreadProps:!0}));else{var a=void 0;var n=s.key;s.computed?a=d(n,t):n.type==="Identifier"?a=n.name:a=""+sr(n);var u=d(s.value,t),l=s.kind;if(l==="init")r[a]=u;else if(l==="get"){var c=pe(r,a);v(r,a,{get:u,set:c&&c.set,enumerable:!0,configurable:!0})}else{var c1=pe(r,a);v(r,a,{get:c1&&c1.get,set:u,enumerable:!0,configurable:!0})}}}return r}function pa(e,t){if(e.id&&e.id.name){var r=new T(t),i=re(e,r);return r.const(e.id.name,i),i}else return re(e,t)}function da(e,t){var r=e.argument;switch(e.operator){case"+":return+d(r,t);case"-":return-d(r,t);case"!":return!d(r,t);case"~":return~d(r,t);case"void":return void d(r,t);case"typeof":return r.type==="Identifier"?_type_of(xe(r,t,{throwErr:!1})):_type_of(d(r,t));case"delete":if(r.type==="MemberExpression")return ze(r,t,{getVar:!0}).del();if(r.type==="Identifier")throw new SyntaxError("Delete of an unqualified identifier in strict mode");return d(r,t),!0;default:throw new SyntaxError("Unexpected token ".concat(e.operator))}}function ya(e,t){var r=e.argument;var i;if(r.type==="Identifier")i=xe(r,t,{getVar:!0});else if(r.type==="MemberExpression")i=ze(r,t,{getVar:!0});else throw new SyntaxError("Unexpected token");var s=i.get();if(e.operator==="++")return i.set(s+1),e.prefix?i.get():s;if(e.operator==="--")return i.set(s-1),e.prefix?i.get():s;throw new SyntaxError("Unexpected token ".concat(e.operator))}function ma(e,t){var r,i;switch(e.left.type==="PrivateIdentifier"?(r=e.left.name,i=d(e.right,t),i=i[B]||{}):(r=d(e.left,t),i=d(e.right,t)),e.operator){case"==":return r==i;case"!=":return r!=i;case"===":return r===i;case"!==":return r!==i;case"<":return r<i;case"<=":return r<=i;case">":return r>i;case">=":return r>=i;case"<<":return r<<i;case">>":return r>>i;case">>>":return r>>>i;case"+":return r+i;case"-":return r-i;case"*":return r*i;case"**":return Math.pow(r,i);case"/":return r/i;case"%":return r%i;case"|":return r|i;case"^":return r^i;case"&":return r&i;case"in":return r in i;case"instanceof":return _instanceof(r,i);default:throw new SyntaxError("Unexpected token ".concat(e.operator))}}function ga(e,t){var r=e.left;var i;if(r.type==="Identifier"){if(i=xe(r,t,{getVar:!0,throwErr:!1}),!i){var a=t.find(H);if(a&&a.get())throw new ReferenceError("".concat(r.name," is not defined"));var n=t.global().find("window").get();i=new ge(n,r.name)}}else if(r.type==="MemberExpression")i=ze(r,t,{getVar:!0});else{var a1=d(e.right,t);return q(r,t,{feed:a1})}var s=d(e.right,t);switch(e.operator){case"=":return i.set(s),i.get();case"+=":return i.set(i.get()+s),i.get();case"-=":return i.set(i.get()-s),i.get();case"*=":return i.set(i.get()*s),i.get();case"/=":return i.set(i.get()/s),i.get();case"%=":return i.set(i.get()%s),i.get();case"**=":return i.set(Math.pow(i.get(),s)),i.get();case"<<=":return i.set(i.get()<<s),i.get();case">>=":return i.set(i.get()>>s),i.get();case">>>=":return i.set(i.get()>>>s),i.get();case"|=":return i.set(i.get()|s),i.get();case"^=":return i.set(i.get()^s),i.get();case"&=":return i.set(i.get()&s),i.get();case"??=":var _i_get;return i.set((_i_get=i.get())!==null&&_i_get!==void 0?_i_get:s),i.get();case"&&=":return i.set(i.get()&&s),i.get();case"||=":return i.set(i.get()||s),i.get();default:throw new SyntaxError("Unexpected token ".concat(e.operator))}}function xa(e,t){switch(e.operator){case"||":return d(e.left,t)||d(e.right,t);case"&&":return d(e.left,t)&&d(e.right,t);case"??":var _d;return(_d=d(e.left,t))!==null&&_d!==void 0?_d:d(e.right,t);default:throw new SyntaxError("Unexpected token ".concat(e.operator))}}function ze(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var tmp=r.getObj,i=tmp===void 0?!1:tmp,tmp1=r.getVar,s=tmp1===void 0?!1:tmp1;var a;if(e.object.type==="Super"?a=nr(e.object,t,{getProto:!0}):a=d(e.object,t),a===A)return A;if(i)return a;var n,u=!1;if(e.computed?n=d(e.property,t):e.property.type==="PrivateIdentifier"?(n=e.property.name,u=!0):n=e.property.name,u&&(a=a[B]),s){var l=Qt(a,n);if(e.object.type==="Super"&&l){var c=t.find("this").get(),f=R(n);return v(c,f,{set:l}),new ge(c,f)}else return new ge(a,n)}else{var l1=Kt(a,n);if(e.object.type==="Super"&&l1){var c1=t.find("this").get();return e.optional&&c1==null?A:l1.call(c1)}else return e.optional&&a==null?A:a[n]}}function ba(e,t){return d(e.test,t)?d(e.consequent,t):d(e.alternate,t)}function Bt(e){if(e.type==="Identifier")return e.name;if(e.type==="MemberExpression"){var t=e,r=Bt(t.object);if(!t.computed)return t.property.type==="PrivateIdentifier"?"".concat(r,".#").concat(t.property.name):"".concat(r,".").concat(t.property.name);var i=t.property;return i.type==="Literal"?"".concat(r,"[").concat(i.raw,"]"):i.type==="Identifier"?"".concat(r,"[").concat(i.name,"]"):r}else if(e.type==="Super")return"super";return"(intermediate value)"}function va(e,t){var a;var r,i;if(e.callee.type==="MemberExpression"){if(i=ze(e.callee,t,{getObj:!0}),i===A||e.callee.optional&&i==null)return A;var _$n,u=!1;e.callee.computed?_$n=d(e.callee.property,t):e.callee.property.type==="PrivateIdentifier"?(_$n=e.callee.property.name,u=!0):_$n=e.callee.property.name;var l=i;if(u&&(l=l[B]),e.callee.object.type==="Super"){var c=t.find("this").get();r=l[_$n].bind(c)}else r=l[_$n];if(e.optional&&r==null)return A;if(typeof r!="function"){var c1=Bt(e.callee);throw new TypeError("".concat(c1," is not a function"))}else if(Te in r){var c2=Bt(e.callee);throw new TypeError("Class constructor ".concat(c2," cannot be invoked without 'new'"))}}else{if(r=d(e.callee,t),r===A||e.optional&&r==null)return A;if(typeof r!="function"||e.callee.type!=="Super"&&Te in r){var _$n1;if(e.callee.type==="Identifier")_$n1=e.callee.name;else try{_$n1=JSON.stringify(r)}catch(e){_$n1=""+r}throw typeof r!="function"?new TypeError("".concat(_$n1," is not a function")):new TypeError("Class constructor ".concat(_$n1," cannot be invoked without 'new'"))}e.callee.type==="Super"?i=t.find("this").get():i=!!((a=t.find(H))!=null&&a.get())||!!(r&&r[ht])?void 0:t.find("this").get()}var s=[];for(var _$n2=0;_$n2<e.arguments.length;_$n2++){var u1=e.arguments[_$n2];u1.type==="SpreadElement"?s=s.concat(Ge(u1,t)):s.push(d(u1,t))}if(e.callee.type==="Super"){var u2=t.find(me).get();if(u2===!0)throw new ReferenceError("Super constructor may only be called once");var l1=Ze(i,r,s);return u2(l1),t.find("this").set(l1),t.find(me).set(!0),l1}try{return r.apply(i,s)}catch(n){if(_instanceof(n,TypeError)&&n.message==="Illegal invocation"&&r.toString().indexOf("[native code]")!==-1){var u3=t.global().find("window").get();if(u3&&u3[De])return r.apply(u3[De],s)}throw n}}function Sa(e,t){var r=d(e.callee,t);if(typeof r!="function"){var s;if(e.callee.type==="Identifier")s=e.callee.name;else try{s=JSON.stringify(r)}catch(e){s=""+r}throw new TypeError("".concat(s," is not a constructor"))}else if(r[ct])throw new TypeError("".concat(r.name||"(intermediate value)"," is not a constructor"));var i=[];for(var s1=0;s1<e.arguments.length;s1++){var a=e.arguments[s1];a.type==="SpreadElement"?i=i.concat(Ge(a,t)):i.push(d(a,t))}return _construct(r,_to_consumable_array(i))}function wa(e,t){if(e.meta.name==="new"&&e.property.name==="target")return t.find(ft).get();if(e.meta.name==="import"&&e.property.name==="meta")return{url:""}}function ka(e,t){var r;for(var i=0;i<e.expressions.length;i++)r=d(e.expressions[i],t);return r}function Ea(e,t){return re(e,t)}function Ca(e,t){var r=e.quasis.slice(),i=e.expressions.slice();var s="",a,n;for(;a=r.shift();)s+=ar(a),n=i.shift(),n&&(s+=d(n,t));return s}function _a(e,t){var r=d(e.tag,t),i=e.quasi.quasis,s=i.map(function(l){return l.value.cooked}),a=i.map(function(l){return l.value.raw});v(s,"raw",{value:Qe(a)});var n=e.quasi.expressions,u=[];if(n)for(var l=0;l<n.length;l++)u.push(d(n[l],t));return r.apply(void 0,[Qe(s)].concat(_to_consumable_array(u)))}function ar(e,t){return e.value.raw}function Ia(e,t){if(e.id&&e.id.name){var r=new T(t),i=He(e,r);return r.const(e.id.name,i),i}else return He(e,t)}function nr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var tmp=r.getProto,i=tmp===void 0?!1:tmp,s=t.find(lt).get();return i?s.prototype:s}function Ge(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=d(e.argument,t);if(r.spreadProps)return i;if(typeof Symbol=="function"&&typeof i[Symbol.iterator]!="function")throw new TypeError("Spread syntax requires ...iterable[Symbol.iterator] to be a function");return _to_consumable_array(i)}function Aa(e,t){var r=d(e.expression,t);return r===A?void 0:r}function Pa(e,t){var r=t.global(),i=d(e.source,t),s=r.find(Se+i);var a;if(s){var n=s.get();n&&(typeof n=="function"?a=n():(typeof n==="undefined"?"undefined":_type_of(n))=="object"&&(a=n))}return!a||(typeof a==="undefined"?"undefined":_type_of(a))!="object"?Promise.reject(new TypeError('Failed to resolve module specifier "'.concat(i,'"'))):Promise.resolve(a)}var La=Object.freeze(Object.defineProperty({__proto__:null,ArrayExpression:fa,ArrowFunctionExpression:Ea,AssignmentExpression:ga,BinaryExpression:ma,CallExpression:va,ChainExpression:Aa,ClassExpression:Ia,ConditionalExpression:ba,FunctionExpression:pa,ImportExpression:Pa,LogicalExpression:xa,MemberExpression:ze,MetaProperty:wa,NewExpression:Sa,ObjectExpression:ha,SequenceExpression:ka,SpreadElement:Ge,Super:nr,TaggedTemplateExpression:_a,TemplateElement:ar,TemplateLiteral:Ca,ThisExpression:ca,UnaryExpression:da,UpdateExpression:ya},Symbol.toStringTag,{value:"Module"}));function or(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var tmp=r.kind,i=tmp===void 0?"var":tmp,tmp1=r.hoist,s=tmp1===void 0?!1:tmp1,tmp2=r.onlyBlock,a=tmp2===void 0?!1:tmp2,tmp3=r.feed,n=tmp3===void 0?{}:tmp3,u=[];for(var l=0;l<e.properties.length;l++){var c=e.properties[l];if(s){if(a||i==="var")if(c.type==="Property"){var f=c.value;f.type==="Identifier"?t[i](f.name,a?$:i==="var"?M:void 0):q(f,t,{kind:i,hoist:s,onlyBlock:a})}else Re(c,t,{kind:i,hoist:s,onlyBlock:a})}else if(c.type==="Property"){var f1=void 0;c.computed?f1=d(c.key,t):f1=c.key.name,u.push(f1);var g=c.value;g.type==="Identifier"?t[i](g.name,n[f1]):q(g,t,{kind:i,feed:n[f1]})}else{var f2=j({},n);for(var g1=0;g1<u.length;g1++)delete f2[u[g1]];Re(c,t,{kind:i,feed:f2})}}}function ur(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=r.kind,tmp=r.hoist,s=tmp===void 0?!1:tmp,tmp1=r.onlyBlock,a=tmp1===void 0?!1:tmp1,tmp2=r.feed,n=tmp2===void 0?[]:tmp2,u=[];for(var l=0;l<e.elements.length;l++){var c=e.elements[l];if(c)if(s)(a||i==="var")&&(c.type==="Identifier"?t[i](c.name,a?$:i==="var"?M:void 0):q(c,t,{kind:i,hoist:s,onlyBlock:a}));else if(c.type==="Identifier")if(i)t[i](c.name,n[l]);else{var f=xe(c,t,{getVar:!0});f.set(n[l]),u.push(f.get())}else c.type==="RestElement"?Re(c,t,{kind:i,feed:n.slice(l)}):q(c,t,{kind:i,feed:n[l]})}if(u.length)return u}function Re(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=r.kind,tmp=r.hoist,s=tmp===void 0?!1:tmp,tmp1=r.onlyBlock,a=tmp1===void 0?!1:tmp1,tmp2=r.feed,n=tmp2===void 0?[]:tmp2,u=e.argument;s?(a||i==="var")&&(u.type==="Identifier"?t[i](u.name,a?$:i==="var"?M:void 0):q(u,t,{kind:i,hoist:s,onlyBlock:a})):u.type==="Identifier"?i?t[i](u.name,n):xe(u,t,{getVar:!0}).set(n):q(u,t,{kind:i,feed:n})}function lr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var tmp=r.kind,i=tmp===void 0?"var":tmp,tmp1=r.hoist,s=tmp1===void 0?!1:tmp1,tmp2=r.onlyBlock,a=tmp2===void 0?!1:tmp2,tmp3=r.feed,n=tmp3===void 0?d(e.right,t):tmp3,u=e.left;s?(a||i==="var")&&(u.type==="Identifier"?t[i](u.name,a?$:i==="var"?M:void 0):q(u,t,{kind:i,hoist:s,onlyBlock:a})):u.type==="Identifier"?t[i](u.name,n):q(u,t,{kind:i,feed:n})}var Ta=Object.freeze(Object.defineProperty({__proto__:null,ArrayPattern:ur,AssignmentPattern:lr,ObjectPattern:or,RestElement:Re},Symbol.toStringTag,{value:"Module"}));function Va(e,t){for(var r=0;r<e.body.length;r++){var i=e.body[r];if(i.type==="ExpressionStatement"&&i.directive)i.directive==="use strict"&&!t.find(H)&&t.const(H,!0);else break}for(var r1=0;r1<e.body.length;r1++)d(e.body[r1],t)}var Na=Object.freeze(Object.defineProperty({__proto__:null,Program:Va},Symbol.toStringTag,{value:"Module"}));var Ot;function d(e,t){if(!e)return;Ot||(Ot=j({},_r,La,ua,Cr,la,Ta,Na));var r=Ot[e.type];if(r)return r(e,t);throw new Error("".concat(e.type," isn't implemented"))}function Ra(e,t){d(e.expression,t)}function ce(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var tmp=r.invasived,i=tmp===void 0?!1:tmp,tmp1=r.hoisted,s=tmp1===void 0?!1:tmp1,a=i?t:new T(t);s||Mt(e,a,{onlyBlock:!0});for(var n=0;n<e.body.length;n++){var u=d(e.body[n],a);if(u===_){if(u.LABEL&&u.LABEL===r.label)break;return u}if(u===C||u===w)return u}}function Ba(){}function Oa(){debugger}function Da(e,t){return w.RES=e.argument?d(e.argument,t):void 0,w}function Fa(e){var t;return _.LABEL=(t=e.label)==null?void 0:t.name,_}function Ma(e){var t;return C.LABEL=(t=e.label)==null?void 0:t.name,C}function ja(e,t){var r=e.label.name;if(e.body.type==="WhileStatement")return yr(e.body,t,{label:r});if(e.body.type==="DoWhileStatement")return mr(e.body,t,{label:r});if(e.body.type==="ForStatement")return gr(e.body,t,{label:r});if(e.body.type==="ForInStatement")return xr(e.body,t,{label:r});if(e.body.type==="ForOfStatement")return br(e.body,t,{label:r});if(e.body.type==="BlockStatement")return ce(e.body,t,{label:r});if(e.body.type==="WithStatement")return cr(e.body,t,{label:r});if(e.body.type==="IfStatement")return fr(e.body,t,{label:r});if(e.body.type==="SwitchStatement")return hr(e.body,t,{label:r});if(e.body.type==="TryStatement")return pr(e.body,t,{label:r});throw new SyntaxError("".concat(e.body.type," cannot be labeled"))}function cr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=new T(t);i.with(d(e.object,t));var s=d(e.body,i);if(s===_)return s.LABEL&&s.LABEL===r.label?void 0:s;if(s===C||s===w)return s}function fr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i;if(d(e.test,t)?i=d(e.consequent,t):i=d(e.alternate,t),i===_)return i.LABEL&&i.LABEL===r.label?void 0:i;if(i===C||i===w)return i}function hr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=d(e.discriminant,t);var s=!1,a=-1;for(var n=0;n<e.cases.length;n++){var u=e.cases[n];if(u.test?!s&&d(u.test,t)===i&&(s=!0,a=-1):a=n,s){var l=Dt(u,t);if(l===_){if(l.LABEL===r.label)break;return l}if(l===C||l===w)return l}}if(!s&&a!==-1)for(var n1=a;n1<e.cases.length;n1++){var u1=Dt(e.cases[n1],t);if(u1===_){if(u1.LABEL===r.label)break;return u1}if(u1===C||u1===w)return u1}}function Dt(e,t){for(var r=0;r<e.consequent.length;r++){var i=d(e.consequent[r],t);if(i===_||i===C||i===w)return i}}function Ua(e,t){throw d(e.argument,t)}function pr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i;try{i=ce(e.block,t)}catch(s){if(e.handler){var a=new T(t),n=e.handler.param;if(n)if(n.type==="Identifier"){var u=n.name;a.var(u,s)}else q(n,t,{feed:s});i=dr(e.handler,a)}else throw s}finally{e.finalizer&&(i=ce(e.finalizer,t))}if(i===_)return i.LABEL&&i.LABEL===r.label?void 0:i;if(i===C||i===w)return i}function dr(e,t){return ce(e.body,t,{invasived:!0})}function yr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};for(;d(e.test,t);){var i=d(e.body,t);if(i===_){if(i.LABEL===r.label)break;return i}else if(i===C){if(i.LABEL===r.label)continue;return i}else if(i===w)return i}}function mr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};do{var i=d(e.body,t);if(i===_){if(i.LABEL===r.label)break;return i}else if(i===C){if(i.LABEL===r.label)continue;return i}else if(i===w)return i}while(d(e.test,t))}function gr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=new T(t);for(e.init?d(e.init,i):void 0;!e.test||d(e.test,i);e.update?d(e.update,i):void 0){var s=new T(i);var a=void 0;if(e.body.type==="BlockStatement"?a=ce(e.body,s,{invasived:!0}):a=d(e.body,s),a===_){if(a.LABEL===r.label)break;return a}else if(a===C){if(a.LABEL===r.label)continue;return a}else if(a===w)return a}}function xr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};for(var i in d(e.right,t)){var s=Er(e,t,{value:i});if(s===_){if(s.LABEL===r.label)break;return s}else if(s===C){if(s.LABEL===r.label)continue;return s}else if(s===w)return s}}function br(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=d(e.right,t);var _iteratorNormalCompletion=true,_didIteratorError=false,_iteratorError=undefined;try{for(var _iterator=i[Symbol.iterator](),_step;!(_iteratorNormalCompletion=(_step=_iterator.next()).done);_iteratorNormalCompletion=true){var s=_step.value;var a=Er(e,t,{value:s});if(a===_){if(a.LABEL===r.label)break;return a}else if(a===C){if(a.LABEL===r.label)continue;return a}else if(a===w)return a}}catch(err){_didIteratorError=true;_iteratorError=err}finally{try{if(!_iteratorNormalCompletion&&_iterator.return!=null){_iterator.return()}}finally{if(_didIteratorError){throw _iteratorError}}}}function $a(e,t){t.func(e.id.name,re(e,t))}function ke(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};for(var i=0;i<e.declarations.length;i++)vr(e.declarations[i],t,j({kind:e.kind},r))}function vr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var tmp=r.kind,i=tmp===void 0?"var":tmp,tmp1=r.hoist,s=tmp1===void 0?!1:tmp1,tmp2=r.onlyBlock,a=tmp2===void 0?!1:tmp2,n=r.feed;if(s)(a||i==="var")&&(e.id.type==="Identifier"?t[i](e.id.name,a?$:i==="var"?M:void 0):q(e.id,t,{kind:i,hoist:s,onlyBlock:a}));else{var u="feed"in r,l=u?n:d(e.init,t);if(e.id.type==="Identifier"){var c=e.id.name;i==="var"&&!e.init&&!u?t.var(c,M):t[i](c,l),e.init&&["ClassExpression","FunctionExpression","ArrowFunctionExpression"].indexOf(e.init.type)!==-1&&!l.name&&v(l,"name",{value:c,configurable:!0})}else q(e.id,t,{kind:i,feed:l})}}function qa(e,t){t.func(e.id.name,He(e,t))}function Sr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=r.klass,s=r.superClass;for(var a=0;a<e.body.length;a++){var n=e.body[a];n.type==="MethodDefinition"?wr(n,t,{klass:i,superClass:s}):n.type==="PropertyDefinition"&&n.static?Ft(n,t,{klass:i,superClass:s}):n.type==="StaticBlock"&&kr(n,t,{klass:i})}}function wr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=r.klass,s=r.superClass;var a,n=!1;if(e.computed)a=d(e.key,t);else if(e.key.type==="Identifier")a=e.key.name;else if(e.key.type==="PrivateIdentifier")a=e.key.name,n=!0;else throw new SyntaxError("Unexpected token");var u=e.static?i:i.prototype;n&&(u[B]||v(u,B,{value:{}}),u=u[B]);var l=re(e.value,t,{superClass:s});switch(e.kind){case"constructor":break;case"method":v(u,a,{value:l,writable:!0,configurable:!0});break;case"get":{var c=pe(u,a);v(u,a,{get:l,set:c&&c.set,configurable:!0});break}case"set":{var c1=pe(u,a);v(u,a,{get:c1&&c1.get,set:l,configurable:!0});break}default:throw new SyntaxError("Unexpected token")}}function Ft(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=r.klass,s=r.superClass;var a,n=!1;if(e.computed)a=d(e.key,t);else if(e.key.type==="Identifier")a=e.key.name;else if(e.key.type==="PrivateIdentifier")a=e.key.name,n=!0;else throw new SyntaxError("Unexpected token");var u=new T(t,!0);u.const("this",i);var l=i;n&&(l[B]||v(l,B,{value:{}}),l=l[B]),e.value?e.value.type==="FunctionExpression"||e.value.type==="ArrowFunctionExpression"?l[a]=re(e.value,u,{superClass:s}):l[a]=d(e.value,u):l[a]=void 0}function kr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=r.klass,s=new T(t,!0);return s.const("this",i),ce(e,s,{invasived:!0})}function Wa(e,t){var i=t.global().find(Se+e.source.value);var s;if(i){var a=i.get();a&&(typeof a=="function"?s=a():(typeof a==="undefined"?"undefined":_type_of(a))=="object"&&(s=a))}if(!s||(typeof s==="undefined"?"undefined":_type_of(s))!="object")throw new TypeError('Failed to resolve module specifier "'.concat(e.source.value,'"'));for(var a1=0;a1<e.specifiers.length;a1++){var n=e.specifiers[a1];var u=void 0;if(n.type==="ImportSpecifier"?u=n.imported.type==="Identifier"?n.imported.name:n.imported.value:n.type==="ImportDefaultSpecifier"?u="default":n.type==="ImportNamespaceSpecifier"&&(u="*"),u!=="*"&&!dt(s,u))throw new SyntaxError('The requested module "'.concat(e.source.value,'" does not provide an export named "').concat(u,'"'));t.var(n.local.name,u==="*"?j({},s):s[u])}}function za(e,t){var r=t.global();var i;e.declaration.type==="FunctionDeclaration"?(i=re(e.declaration,t),t.func(e.declaration.id.name,i)):e.declaration.type==="ClassDeclaration"?(i=He(e.declaration,t),t.func(e.declaration.id.name,i)):i=d(e.declaration,t);var s=r.find(G);if(s){var a=s.get();a&&(typeof a==="undefined"?"undefined":_type_of(a))=="object"&&(a.default=i)}}function Ga(e,t){var r=t.global();if(e.declaration){if(e.declaration.type==="FunctionDeclaration"){var i=re(e.declaration,t);t.func(e.declaration.id.name,i);var s=r.find(G);if(s){var a=s.get();a&&(typeof a==="undefined"?"undefined":_type_of(a))=="object"&&(a[e.declaration.id.name]=i)}}else if(e.declaration.type==="ClassDeclaration"){var i1=He(e.declaration,t);t.func(e.declaration.id.name,i1);var s1=r.find(G);if(s1){var a1=s1.get();a1&&(typeof a1==="undefined"?"undefined":_type_of(a1))=="object"&&(a1[e.declaration.id.name]=i1)}}else if(e.declaration.type==="VariableDeclaration"){ke(e.declaration,t);var i2=r.find(G);if(i2){var s2=i2.get();if(s2&&(typeof s2==="undefined"?"undefined":_type_of(s2))=="object")for(var a2=0;a2<e.declaration.declarations.length;a2++){var n=e.declaration.declarations[a2].id.name,u=t.find(n);u&&(s2[n]=u.get())}}}}else if(e.specifiers){var i3=r.find(G);if(i3){var s3=i3.get();if(s3&&(typeof s3==="undefined"?"undefined":_type_of(s3))=="object")for(var a3=0;a3<e.specifiers.length;a3++){var n1=e.specifiers[a3],u1=n1.local.type==="Identifier"?n1.local.name:n1.local.value,l=t.find(u1);l&&(s3[n1.exported.type==="Identifier"?n1.exported.name:n1.exported.value]=l.get())}}}}function Ha(e,t){var r=t.global(),i=r.find(Se+e.source.value);var s;if(i){var n=i.get();n&&(typeof n=="function"?s=n():(typeof n==="undefined"?"undefined":_type_of(n))=="object"&&(s=n))}if(!s||(typeof s==="undefined"?"undefined":_type_of(s))!="object")throw new TypeError('Failed to resolve module specifier "'.concat(e.source.value,'"'));var a=r.find(G);if(a){var n1=a.get();n1&&(typeof n1==="undefined"?"undefined":_type_of(n1))=="object"&&j(n1,s)}}function Mt(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var tmp=r.onlyBlock,i=tmp===void 0?!1:tmp,s=[],a=[];for(var n=0;n<e.body.length;n++){var u=e.body[n];u.type==="FunctionDeclaration"?(s.push(u),a.push(n)):u.type==="VariableDeclaration"&&["const","let"].indexOf(u.kind)!==-1?ke(u,t,{hoist:!0,onlyBlock:!0}):i||fe(u,t)}if(a.length){for(var n1=a.length-1;n1>-1;n1--)e.body.splice(a[n1],1);e.body=s.concat(e.body)}}function fe(e,t){switch(e.type){case"VariableDeclaration":ke(e,t,{hoist:!0});break;case"ForInStatement":case"ForOfStatement":e.left.type==="VariableDeclaration"&&ke(e.left,t,{hoist:!0});case"ForStatement":e.type==="ForStatement"&&e.init&&e.init.type==="VariableDeclaration"&&ke(e.init,t,{hoist:!0});case"WhileStatement":case"DoWhileStatement":fe(e.body,t);break;case"IfStatement":fe(e.consequent,t),e.alternate&&fe(e.alternate,t);break;case"BlockStatement":for(var r=0;r<e.body.length;r++)fe(e.body[r],t);break;case"SwitchStatement":for(var r1=0;r1<e.cases.length;r1++)for(var i=0;i<e.cases[r1].consequent.length;i++)fe(e.cases[r1].consequent[i],t);break;case"TryStatement":{var r2=e.block.body;for(var a=0;a<r2.length;a++)fe(r2[a],t);var i1=e.handler&&e.handler.body.body;if(i1)for(var a1=0;a1<i1.length;a1++)fe(i1[a1],t);var s=e.finalizer&&e.finalizer.body;if(s)for(var a2=0;a2<s.length;a2++)fe(s[a2],t);break}}}function q(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};switch(e.type){case"ObjectPattern":return or(e,t,r);case"ArrayPattern":return ur(e,t,r);case"RestElement":return Re(e,t,r);case"AssignmentPattern":return lr(e,t,r);default:throw new SyntaxError("Unexpected token")}}function re(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var P,O;if(e.generator||e.async)return se(e,t,r);var i=r.superClass,s=r.construct,a=e.params,n=e.body.type==="BlockStatement"&&e.body.body.length>0&&e.body.body[0].directive==="use strict",u=!!((P=t.find(H))!=null&&P.get()),l=n||u;var f=function _target(){for(var _len=arguments.length,D=new Array(_len),_key=0;_key<_len;_key++){D[_key]=arguments[_key]}var k=new T(t,!0);n&&!u&&k.const(H,!0),e.type!=="ArrowFunctionExpression"&&(k.let("this",this),k.let("arguments",arguments),k.const(ft,_instanceof(this,_target)?this.constructor:void 0),i?(k.const(lt,i),s&&k.let(me,s)):s&&s(this));for(var L=0;L<a.length;L++){var z=a[L];z.type==="Identifier"?k.var(z.name,D[L]):z.type==="RestElement"?Re(z,k,{kind:"var",feed:D.slice(L)}):q(z,k,{kind:"var",feed:D[L]})}var V;if(e.body.type==="BlockStatement"?(Mt(e.body,k),V=ce(e.body,k,{invasived:!0,hoisted:!0})):(V=d(e.body,k),e.type==="ArrowFunctionExpression"&&(w.RES=V,V=w)),V===w)return V.RES;if(_instanceof(this,_target)?this.constructor:void 0)return k.find("this").get()};e.type==="ArrowFunctionExpression"&&v(f,ct,{value:!0}),v(f,"name",{value:e.id&&e.id.name||"",configurable:!0}),v(f,"length",{value:a.length,configurable:!0}),l&&v(f,ht,{value:!0});var g=(O=e.loc)==null?void 0:O.source;return g&&v(f,"toString",{value:function(){return g.substring(e.start,e.end)},configurable:!0}),f}function He(e,t){var r=d(e.superClass,t),i=e.body.body,s=function s(n){for(var u=0;u<i.length;u++){var l=i[u];l.type==="PropertyDefinition"&&!l.static&&Ft(l,t,{klass:n,superClass:r})}};var a=function a(){var n=r?Ze(this,r):this;return s(n),n};for(var n=0;n<i.length;n++){var u=i[n];if(u.type==="MethodDefinition"&&u.kind==="constructor"){a=re(u.value,t,{superClass:r,construct:s});break}}return r&&Zt(a,r),Sr(e.body,t,{klass:a,superClass:r}),v(a,Te,{value:!0}),v(a,"name",{value:e.id&&e.id.name||"",configurable:!0}),a}function Er(e,t,r){var i=r.value,s=e.left,a=new T(t);s.type==="VariableDeclaration"?ke(s,a,{feed:i}):s.type==="Identifier"?xe(s,t,{getVar:!0}).set(i):q(s,t,{feed:i});var n;return e.body.type==="BlockStatement"?n=ce(e.body,a,{invasived:!0}):n=d(e.body,a),n}function jt(e,t){var r,tmp,i,s,a,n,u,_tmp,_tmp1,_tmp2,n1;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};tmp=r.onlyBlock,i=tmp===void 0?!1:tmp,s=[],a=[];n=0;_state.label=1;case 1:if(!(n<e.body.length))return[3,10];u=e.body[n];if(!(u.type==="FunctionDeclaration"))return[3,2];_tmp=(s.push(u),a.push(n));return[3,8];case 2:if(!(u.type==="VariableDeclaration"&&["const","let"].indexOf(u.kind)!==-1))return[3,4];return[5,_ts_values(we(u,t,{hoist:!0,onlyBlock:!0}))];case 3:_tmp1=_state.sent();return[3,7];case 4:_tmp2=i;if(_tmp2)return[3,6];return[5,_ts_values(he(u,t))];case 5:_tmp2=_state.sent();_state.label=6;case 6:_tmp1=_tmp2;_state.label=7;case 7:_tmp=_tmp1;_state.label=8;case 8:_tmp;_state.label=9;case 9:n++;return[3,1];case 10:if(a.length){for(n1=a.length-1;n1>-1;n1--)e.body.splice(a[n1],1);e.body=s.concat(e.body)}return[2]}})}function he(e,t){var _,_tmp,_tmp1,_tmp2,r,r1,i,r2,a,i1,a1,s,a2;return _ts_generator(this,function(_state){switch(_state.label){case 0:_=e.type;switch(_){case"VariableDeclaration":return[3,1];case"ForInStatement":return[3,3];case"ForOfStatement":return[3,3];case"ForStatement":return[3,6];case"WhileStatement":return[3,9];case"DoWhileStatement":return[3,9];case"IfStatement":return[3,11];case"BlockStatement":return[3,15];case"SwitchStatement":return[3,20];case"TryStatement":return[3,27]}return[3,40];case 1:return[5,_ts_values(we(e,t,{hoist:!0}))];case 2:_state.sent();return[3,40];case 3:_tmp=e.left.type==="VariableDeclaration";if(!_tmp)return[3,5];return[5,_ts_values(we(e.left,t,{hoist:!0}))];case 4:_tmp=_state.sent();_state.label=5;case 5:_tmp;_state.label=6;case 6:_tmp1=e.type==="ForStatement"&&e.init&&e.init.type==="VariableDeclaration";if(!_tmp1)return[3,8];return[5,_ts_values(we(e.init,t,{hoist:!0}))];case 7:_tmp1=_state.sent();_state.label=8;case 8:_tmp1;_state.label=9;case 9:return[5,_ts_values(he(e.body,t))];case 10:_state.sent();return[3,40];case 11:return[5,_ts_values(he(e.consequent,t))];case 12:_state.sent();_tmp2=e.alternate;if(!_tmp2)return[3,14];return[5,_ts_values(he(e.alternate,t))];case 13:_tmp2=_state.sent();_state.label=14;case 14:_tmp2;return[3,40];case 15:r=0;_state.label=16;case 16:if(!(r<e.body.length))return[3,19];return[5,_ts_values(he(e.body[r],t))];case 17:_state.sent();_state.label=18;case 18:r++;return[3,16];case 19:return[3,40];case 20:r1=0;_state.label=21;case 21:if(!(r1<e.cases.length))return[3,26];i=0;_state.label=22;case 22:if(!(i<e.cases[r1].consequent.length))return[3,25];return[5,_ts_values(he(e.cases[r1].consequent[i],t))];case 23:_state.sent();_state.label=24;case 24:i++;return[3,22];case 25:r1++;return[3,21];case 26:return[3,40];case 27:r2=e.block.body;a=0;_state.label=28;case 28:if(!(a<r2.length))return[3,31];return[5,_ts_values(he(r2[a],t))];case 29:_state.sent();_state.label=30;case 30:a++;return[3,28];case 31:i1=e.handler&&e.handler.body.body;if(!i1)return[3,35];a1=0;_state.label=32;case 32:if(!(a1<i1.length))return[3,35];return[5,_ts_values(he(i1[a1],t))];case 33:_state.sent();_state.label=34;case 34:a1++;return[3,32];case 35:s=e.finalizer&&e.finalizer.body;if(!s)return[3,39];a2=0;_state.label=36;case 36:if(!(a2<s.length))return[3,39];return[5,_ts_values(he(s[a2],t))];case 37:_state.sent();_state.label=38;case 38:a2++;return[3,36];case 39:return[3,40];case 40:return[2]}})}function W(e,t){var r,_;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};_=e.type;switch(_){case"ObjectPattern":return[3,1];case"ArrayPattern":return[3,3];case"RestElement":return[3,5];case"AssignmentPattern":return[3,7]}return[3,9];case 1:return[5,_ts_values(Ui(e,t,r))];case 2:return[2,_state.sent()];case 3:return[5,_ts_values($i(e,t,r))];case 4:return[2,_state.sent()];case 5:return[5,_ts_values(Ne(e,t,r))];case 6:return[2,_state.sent()];case 7:return[5,_ts_values(qi(e,t,r))];case 8:return[2,_state.sent()];case 9:throw new SyntaxError("Unexpected token");case 10:return[2]}})}function se(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var P,O;if(!e.generator&&!e.async)return re(e,t,r);var i=r.superClass,s=r.construct,a=e.params,n=e.body.type==="BlockStatement"&&e.body.body.length>0&&e.body.body[0].directive==="use strict",u=!!((P=t.find(H))!=null&&P.get()),l=n||u,c=function _target(){var _len,D,_key,k,_tmp,_tmp1,_tmp2,L,z,_tmp3,_tmp4,V,_tmp5;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:for(_len=_arguments.length,D=new Array(_len),_key=0;_key<_len;_key++){D[_key]=_arguments[_key]}k=new T(t,!0);n&&!u&&k.const(H,!0);_tmp=e.type!=="ArrowFunctionExpression";if(!_tmp)return[3,5];k.let("this",this),k.let("arguments",_arguments),k.const(ft,_instanceof(this,_target)?this.constructor:void 0);if(!i)return[3,1];_tmp1=(k.const(lt,i),s&&k.let(me,s));return[3,4];case 1:_tmp2=s;if(!_tmp2)return[3,3];return[5,_ts_values(s(this))];case 2:_tmp2=_state.sent();_state.label=3;case 3:_tmp1=_tmp2;_state.label=4;case 4:_tmp=_tmp1;_state.label=5;case 5:_tmp;L=0;_state.label=6;case 6:if(!(L<a.length))return[3,14];z=a[L];if(!(z.type==="Identifier"))return[3,7];_tmp3=k.var(z.name,D[L]);return[3,12];case 7:if(!(z.type==="RestElement"))return[3,9];return[5,_ts_values(Ne(z,k,{kind:"var",feed:D.slice(L)}))];case 8:_tmp4=_state.sent();return[3,11];case 9:return[5,_ts_values(W(z,k,{kind:"var",feed:D[L]}))];case 10:_tmp4=_state.sent();_state.label=11;case 11:_tmp3=_tmp4;_state.label=12;case 12:_tmp3;_state.label=13;case 13:L++;return[3,6];case 14:if(!(e.body.type==="BlockStatement"))return[3,17];return[5,_ts_values(jt(e.body,k))];case 15:_state.sent();return[5,_ts_values(le(e.body,k,{invasived:!0,hoisted:!0}))];case 16:_tmp5=V=_state.sent();return[3,19];case 17:return[5,_ts_values(p(e.body,k))];case 18:_tmp5=(V=_state.sent(),e.type==="ArrowFunctionExpression"&&(w.RES=V,V=w));_state.label=19;case 19:if(_tmp5,V===w)return[2,V.RES];if(_instanceof(this,_target)?this.constructor:void 0)return[2,k.find("this").get()];return[2]}})};var f;e.async&&e.generator?f=function f(){var D=c.apply(this,arguments);var k=Promise.resolve(),V=!1;var L=function(Ee){return k=k.then(function(){return Lt(D,j({fullRet:!0},Ee))}).catch(function(Za){if(!V)return V=!0,Promise.reject(Za)})},z={next:function(Ee){return L({res:Ee})},throw:function(Ee){return L({err:Ee})},return:function(Ee){return L({ret:Ee})}};return typeof Symbol=="function"&&(z[Symbol.iterator]=function(){return this}),z}:e.async?f=function f(){return Lt(c.apply(this,arguments))}:f=c,v(f,ct,{value:!0}),v(f,"name",{value:e.id&&e.id.name||"",configurable:!0}),v(f,"length",{value:a.length,configurable:!0}),l&&v(f,ht,{value:!0});var g=(O=e.loc)==null?void 0:O.source;return g&&v(f,"toString",{value:function(){return g.substring(e.start,e.end)},configurable:!0}),f}function Ke(e,t){var r,i,s,a,n,u;return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(p(e.superClass,t))];case 1:r=_state.sent(),i=e.body.body,s=function s(n){var u,l,_tmp;return _ts_generator(this,function(_state){switch(_state.label){case 0:u=0;_state.label=1;case 1:if(!(u<i.length))return[3,5];l=i[u];_tmp=l.type==="PropertyDefinition"&&!l.static;if(!_tmp)return[3,3];return[5,_ts_values(Rt(l,t,{klass:n,superClass:r}))];case 2:_tmp=_state.sent();_state.label=3;case 3:_tmp;_state.label=4;case 4:u++;return[3,1];case 5:return[2]}})};a=function a(){var n;return _ts_generator(this,function(_state){switch(_state.label){case 0:n=r?Ze(this,r):this;return[5,_ts_values(s(n))];case 1:return[2,(_state.sent(),n)]}})};for(n=0;n<i.length;n++){u=i[n];if(u.type==="MethodDefinition"&&u.kind==="constructor"){a=se(u.value,t,{superClass:r,construct:s});break}}r&&Zt(a,r);return[5,_ts_values(tr(e.body,t,{klass:a,superClass:r}))];case 2:return[2,(_state.sent(),v(a,Te,{value:!0}),v(a,"name",{value:e.id&&e.id.name||"",configurable:!0}),a)]}})}function Ut(e,t,r){var i,s,a,_tmp,_tmp1,n,_tmp2;return _ts_generator(this,function(_state){switch(_state.label){case 0:i=r.value,s=e.left,a=new T(t);if(!(s.type==="VariableDeclaration"))return[3,2];return[5,_ts_values(we(s,a,{feed:i}))];case 1:_tmp=_state.sent();return[3,7];case 2:if(!(s.type==="Identifier"))return[3,4];return[5,_ts_values(xe(s,t,{getVar:!0}))];case 3:_tmp1=_state.sent().set(i);return[3,6];case 4:return[5,_ts_values(W(s,t,{feed:i}))];case 5:_tmp1=_state.sent();_state.label=6;case 6:_tmp=_tmp1;_state.label=7;case 7:_tmp;if(!(e.body.type==="BlockStatement"))return[3,9];return[5,_ts_values(le(e.body,a,{invasived:!0}))];case 8:_tmp2=n=_state.sent();return[3,11];case 9:return[5,_ts_values(p(e.body,a))];case 10:_tmp2=n=_state.sent();_state.label=11;case 11:return[2,(_tmp2,n)]}})}var Ka=15;function Qa(e,t){if(typeof e.pos!="number"||!e.message.startsWith("Unexpected token"))return e;var r=e.pos,i=r<t.length?t[r]:void 0;var s=null;if(i!==void 0&&/[a-zA-Z_$]/.test(i)){var a=t.slice(r).match(/^[a-zA-Z_$][a-zA-Z0-9_$]*/);a&&(s=a[0])}else if(i===void 0||i==="("){var a1=r;for(;a1>0&&/\s/.test(t[a1-1]);)a1--;if(a1>0&&/[a-zA-Z0-9_$]/.test(t[a1-1])){var n=a1;for(;n>0&&/[a-zA-Z0-9_$]/.test(t[n-1]);)n--;var u=t.slice(n,a1);/^[a-zA-Z_$]/.test(u)&&(s=u)}}return s?new SyntaxError("Unexpected identifier '".concat(s,"'")):e}var qt=/*#__PURE__*/function(){function qt(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};_class_call_check(this,qt);this.options={ecmaVersion:"latest"},this.scope=new T(null,!0),this.exports={};var tmp=t.ecmaVer,r=tmp===void 0?"latest":tmp,tmp1=t.sandBox,i=tmp1===void 0?!0:tmp1,tmp2=t.sourceType,s=tmp2===void 0?"script":tmp2;if(typeof r=="number"&&(r-=r<2015?0:2009),r!=="latest"&&r!==3&&(r<5||r>Ka))throw new Error("unsupported ecmaVer");if(this.options.ecmaVersion=r,this.options.sourceType=s,i){var a=Tr();this.scope.let("globalThis",a),this.scope.let("window",a),this.scope.let("self",a),this.scope.let("this",s==="module"?void 0:a)}else this.scope.let("globalThis",h),this.scope.let("window",h),this.scope.let("self",h),this.scope.let("this",s==="module"?void 0:h);this.scope.const(s==="module"?G:"exports",this.exports={}),s==="module"&&this.scope.const(H,!0)}_create_class(qt,[{key:"import",value:function _import(t,r){if(typeof t=="string"&&(t=_define_property({},t,r)),(typeof t==="undefined"?"undefined":_type_of(t))!="object")return;var i=yt(t);for(var s=0;s<i.length;s++){var a=i[s],n=this.options.sourceType==="module"?Se+a:a;this.scope.var(n,t[a])}}},{key:"parse",value:function parse(t,r){if(typeof r=="function")return r(t,this.options);try{return xs(t,this.options)}catch(i){throw Qa(i,t)}}},{key:"run",value:function run(t){var r=typeof t=="string"?this.parse(t):t,i=this.scope;this.options.sourceType==="module"&&(this.options.ecmaVersion==="latest"||this.options.ecmaVersion>=13)?Lt(function(){return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(jt(r,i))];case 1:_state.sent();return[5,_ts_values(p(r,i))];case 2:_state.sent();return[2]}})}()):(Mt(r,i),d(r,i))}}]);return qt}();qt.version=bs.version;var $t=qt;return $t});}();