-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsval.min.js
executable file
·1 lines (1 loc) · 148 KB
/
sval.min.js
1
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).Sval=t()}(this,function(){"use strict";var i=Object.freeze({__proto__:null,get FunctionDeclaration(){return jt},get VariableDeclaration(){return qt},get VariableDeclarator(){return Wt},get ClassDeclaration(){return Gt},get ClassBody(){return Ht},get MethodDefinition(){return zt}}),n=Object.freeze({__proto__:null,get FunctionDeclaration(){return dr},get VariableDeclaration(){return fr},get VariableDeclarator(){return mr},get ClassDeclaration(){return gr},get ClassBody(){return yr},get MethodDefinition(){return vr}}),l=Object.freeze,m=Object.defineProperty,f=Object.getOwnPropertyDescriptor,a=Object.prototype.hasOwnProperty;var o=Object.getOwnPropertyNames,s=Object.setPrototypeOf;var c=Object.getPrototypeOf;var h=Object.getOwnPropertyDescriptor;function r(e,t,r){for(;t;){var i=h(t,r),n=void 0!==i&&void 0===i.writable&&"function"==typeof i[e]&&i[e];if(n)return n;s=t,t=c?c(s):s.__proto__}var s}function g(e,t){return r("get",e,t)}function y(e,t){return r("set",e,t)}var u=Object.create;function p(e,t){var r,i;r=e,i=t,s?s(r,i):r.__proto__=i,e.prototype=u(t.prototype,{constructor:{value:e,writable:!0}})}var x=Object.assign||function(e){for(var t,r,i=1;i<arguments.length;++i){var n=arguments[i];for(var s in n)t=n,r=s,a.call(t,r)&&(e[s]=n[s])}return e},t=[],d=u(null);try{if(!window.Object)throw 0;t=o(d=window).filter(function(e){return"webkitStorageInfo"!==e})}catch(e){try{if(!global.Object)throw 0;t=o(d=global).filter(function(e){return"GLOBAL"!==e&&"root"!==e})}catch(e){try{d.Object=Object}catch(e){}try{d.Function=Function}catch(e){}try{d.Array=Array}catch(e){}try{d.Number=Number}catch(e){}try{d.parseFloat=parseFloat}catch(e){}try{d.parseInt=parseInt}catch(e){}try{d.Infinity=1/0}catch(e){}try{d.NaN=NaN}catch(e){}try{d.undefined=void 0}catch(e){}try{d.Boolean=Boolean}catch(e){}try{d.String=String}catch(e){}try{d.Symbol=Symbol}catch(e){}try{d.Date=Date}catch(e){}try{d.Promise=Promise}catch(e){}try{d.RegExp=RegExp}catch(e){}try{d.Error=Error}catch(e){}try{d.EvalError=EvalError}catch(e){}try{d.RangeError=RangeError}catch(e){}try{d.ReferenceError=ReferenceError}catch(e){}try{d.SyntaxError=SyntaxError}catch(e){}try{d.TypeError=TypeError}catch(e){}try{d.URIError=URIError}catch(e){}try{d.JSON=JSON}catch(e){}try{d.Math=Math}catch(e){}try{d.console=console}catch(e){}try{d.Intl=Intl}catch(e){}try{d.ArrayBuffer=ArrayBuffer}catch(e){}try{d.Uint8Array=Uint8Array}catch(e){}try{d.Int8Array=Int8Array}catch(e){}try{d.Uint16Array=Uint16Array}catch(e){}try{d.Int16Array=Int16Array}catch(e){}try{d.Uint32Array=Uint32Array}catch(e){}try{d.Int32Array=Int32Array}catch(e){}try{d.Float32Array=Float32Array}catch(e){}try{d.Float64Array=Float64Array}catch(e){}try{d.Uint8ClampedArray=Uint8ClampedArray}catch(e){}try{d.DataView=DataView}catch(e){}try{d.Map=Map}catch(e){}try{d.Set=Set}catch(e){}try{d.WeakMap=WeakMap}catch(e){}try{d.WeakSet=WeakSet}catch(e){}try{d.Proxy=Proxy}catch(e){}try{d.Reflect=Reflect}catch(e){}try{d.decodeURI=decodeURI}catch(e){}try{d.decodeURIComponent=decodeURIComponent}catch(e){}try{d.encodeURI=encodeURI}catch(e){}try{d.encodeURIComponent=encodeURIComponent}catch(e){}try{d.escape=escape}catch(e){}try{d.unescape=unescape}catch(e){}try{d.eval=eval}catch(e){}try{d.isFinite=isFinite}catch(e){}try{d.isNaN=isNaN}catch(e){}try{d.SharedArrayBuffer=SharedArrayBuffer}catch(e){}try{d.Atomics=Atomics}catch(e){}try{d.WebAssembly=WebAssembly}catch(e){}try{d.clearInterval=clearInterval}catch(e){}try{d.clearTimeout=clearTimeout}catch(e){}try{d.setInterval=setInterval}catch(e){}try{d.setTimeout=setTimeout}catch(e){}try{d.crypto=crypto}catch(e){}t=o(d)}}d.Symbol&&(d.Symbol.iterator||(d.Symbol.iterator=k("iterator")),d.Symbol.asyncIterator||(d.Symbol.asyncIterator=k("asynciterator")));for(var v=u({}),e=0;e<t.length;e++){var b=t[e];try{v[b]=d[b]}catch(e){}}var w=k("window");function k(e){return e+Math.random().toString(36).substring(2)}var _={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"},S="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",E={5:S,"5module":S+" export import",6:S+" const class extends export import super"},C=/^in(stanceof)?$/,I="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࢽऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿯ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-Ᶎꟷ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭧꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",A="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ංඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",P=new RegExp("["+I+"]"),T=new RegExp("["+I+A+"]"),I=A=null,V=[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,157,310,10,21,11,7,153,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,477,28,11,0,9,21,155,22,13,52,76,44,33,24,27,35,30,0,12,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,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,159,52,19,3,21,0,33,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,0,161,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,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,270,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,754,9486,286,50,2,18,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,2357,44,11,6,17,0,370,43,1301,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,42710,42,4148,12,221,3,5761,15,7472,3104,541],L=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,525,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,4,9,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,232,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,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,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,19723,1,5319,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,262,6,10,9,419,13,1495,6,110,6,6,9,792487,239];function N(e,t){for(var r=65536,i=0;i<t.length;i+=2){if(e<(r+=t[i]))return!1;if(e<=(r+=t[i+1]))return!0}}function R(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?170<=e&&P.test(String.fromCharCode(e)):!1!==t&&N(e,V)))}function B(e,t){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?170<=e&&T.test(String.fromCharCode(e)):!1!==t&&(N(e,V)||N(e,L)))))}function O(e,t){void 0===t&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null}function M(e,t){return new O(e,{beforeExpr:!0,binop:t})}var D={beforeExpr:!0},U={startsExpr:!0},F={};function j(e,t){return void 0===t&&(t={}),t.keyword=e,F[e]=new O(e,t)}var q={num:new O("num",U),regexp:new O("regexp",U),string:new O("string",U),name:new O("name",U),eof:new O("eof"),bracketL:new O("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new O("]"),braceL:new O("{",{beforeExpr:!0,startsExpr:!0}),braceR:new O("}"),parenL:new O("(",{beforeExpr:!0,startsExpr:!0}),parenR:new O(")"),comma:new O(",",D),semi:new O(";",D),colon:new O(":",D),dot:new O("."),question:new O("?",D),arrow:new O("=>",D),template:new O("template"),invalidTemplate:new O("invalidTemplate"),ellipsis:new O("...",D),backQuote:new O("`",U),dollarBraceL:new O("${",{beforeExpr:!0,startsExpr:!0}),eq:new O("=",{beforeExpr:!0,isAssign:!0}),assign:new O("_=",{beforeExpr:!0,isAssign:!0}),incDec:new O("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new O("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:M("||",1),logicalAND:M("&&",2),bitwiseOR:M("|",3),bitwiseXOR:M("^",4),bitwiseAND:M("&",5),equality:M("==/!=/===/!==",6),relational:M("</>/<=/>=",7),bitShift:M("<</>>/>>>",8),plusMin:new O("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:M("%",10),star:M("*",10),slash:M("/",10),starstar:new O("**",{beforeExpr:!0}),_break:j("break"),_case:j("case",D),_catch:j("catch"),_continue:j("continue"),_debugger:j("debugger"),_default:j("default",D),_do:j("do",{isLoop:!0,beforeExpr:!0}),_else:j("else",D),_finally:j("finally"),_for:j("for",{isLoop:!0}),_function:j("function",U),_if:j("if"),_return:j("return",D),_switch:j("switch"),_throw:j("throw",D),_try:j("try"),_var:j("var"),_const:j("const"),_while:j("while",{isLoop:!0}),_with:j("with"),_new:j("new",{beforeExpr:!0,startsExpr:!0}),_this:j("this",U),_super:j("super",U),_class:j("class",U),_extends:j("extends",D),_export:j("export"),_import:j("import",U),_null:j("null",U),_true:j("true",U),_false:j("false",U),_in:j("in",{beforeExpr:!0,binop:7}),_instanceof:j("instanceof",{beforeExpr:!0,binop:7}),_typeof:j("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:j("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:j("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},W=/\r\n?|\n|\u2028|\u2029/,G=new RegExp(W.source,"g");function H(e,t){return 10===e||13===e||!t&&(8232===e||8233===e)}var z=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,K=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Q=Object.prototype,X=Q.hasOwnProperty,J=Q.toString;function Y(e,t){return X.call(e,t)}var Z=Array.isArray||function(e){return"[object Array]"===J.call(e)};function $(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}function ee(e,t){this.line=e,this.column=t}var te=function(e,t,r){this.start=t,this.end=r,null!==e.sourceFile&&(this.source=e.sourceFile)};function re(e,t){for(var r=1,i=0;;){G.lastIndex=i;var n=G.exec(e);if(!(n&&n.index<t))return new ee(r,t-i);++r,i=n.index+n[0].length}}var ie={ecmaVersion:9,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!(ee.prototype.offset=function(e){return new ee(this.line,this.column+e)}),allowImportExportEverywhere:!1,allowAwaitOutsideFunction:!1,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1};function ne(e){var t,o,c,r={};for(var i in ie)r[i]=e&&Y(e,i)?e[i]:ie[i];return 2015<=r.ecmaVersion&&(r.ecmaVersion-=2009),null==r.allowReserved&&(r.allowReserved=r.ecmaVersion<5),Z(r.onToken)&&(t=r.onToken,r.onToken=function(e){return t.push(e)}),Z(r.onComment)&&(r.onComment=(c=(o=r).onComment,function(e,t,r,i,n,s){var a={type:e?"Block":"Line",value:t,start:r,end:i};o.locations&&(a.loc=new te(this,n,s)),o.ranges&&(a.range=[r,i]),c.push(a)})),r}function se(e,t){return 2|(e?4:0)|(t?8:0)}function ae(e,t,r){this.options=e=ne(e),this.sourceFile=e.sourceFile,this.keywords=$(E[6<=e.ecmaVersion?6:"module"===e.sourceType?"5module":5]);var i="";if(!0!==e.allowReserved){for(var n=e.ecmaVersion;!(i=_[n]);n--);"module"===e.sourceType&&(i+=" await")}this.reservedWords=$(i);var s=(i?i+" ":"")+_.strict;this.reservedWordsStrict=$(s),this.reservedWordsStrictBind=$(s+" "+_.strictBind),this.input=String(t),this.containsEsc=!1,r?(this.pos=r,this.lineStart=this.input.lastIndexOf("\n",r-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(W).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=q.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="module"===e.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports={},0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(1),this.regexpState=null}var oe={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0}};ae.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)},oe.inFunction.get=function(){return 0<(2&this.currentVarScope().flags)},oe.inGenerator.get=function(){return 0<(8&this.currentVarScope().flags)},oe.inAsync.get=function(){return 0<(4&this.currentVarScope().flags)},oe.allowSuper.get=function(){return 0<(64&this.currentThisScope().flags)},oe.allowDirectSuper.get=function(){return 0<(128&this.currentThisScope().flags)},oe.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},ae.prototype.inNonArrowFunction=function(){return 0<(2&this.currentThisScope().flags)},ae.extend=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var r=this,i=0;i<e.length;i++)r=e[i](r);return r},ae.parse=function(e,t){return new this(t,e).parse()},ae.parseExpressionAt=function(e,t,r){var i=new this(r,e,t);return i.nextToken(),i.parseExpression()},ae.tokenizer=function(e,t){return new this(t,e)},Object.defineProperties(ae.prototype,oe);var ce=ae.prototype,he=/^(?:'((?:\\.|[^'])*?)'|"((?:\\.|[^"])*?)")/;function ue(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}ce.strictDirective=function(e){for(;;){K.lastIndex=e,e+=K.exec(this.input)[0].length;var t=he.exec(this.input.slice(e));if(!t)return!1;if("use strict"===(t[1]||t[2]))return!0;e+=t[0].length,K.lastIndex=e,e+=K.exec(this.input)[0].length,";"===this.input[e]&&e++}},ce.eat=function(e){return this.type===e&&(this.next(),!0)},ce.isContextual=function(e){return this.type===q.name&&this.value===e&&!this.containsEsc},ce.eatContextual=function(e){return!!this.isContextual(e)&&(this.next(),!0)},ce.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},ce.canInsertSemicolon=function(){return this.type===q.eof||this.type===q.braceR||W.test(this.input.slice(this.lastTokEnd,this.start))},ce.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},ce.semicolon=function(){this.eat(q.semi)||this.insertSemicolon()||this.unexpected()},ce.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},ce.expect=function(e){this.eat(e)||this.unexpected()},ce.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")},ce.checkPatternErrors=function(e,t){var r;e&&(-1<e.trailingComma&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element"),-1<(r=t?e.parenthesizedAssign:e.parenthesizedBind)&&this.raiseRecoverable(r,"Parenthesized pattern"))},ce.checkExpressionErrors=function(e,t){if(!e)return!1;var r=e.shorthandAssign,i=e.doubleProto;if(!t)return 0<=r||0<=i;0<=r&&this.raise(r,"Shorthand property assignments are valid only in destructuring patterns"),0<=i&&this.raiseRecoverable(i,"Redefinition of __proto__ property")},ce.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")},ce.isSimpleAssignTarget=function(e){return"ParenthesizedExpression"===e.type?this.isSimpleAssignTarget(e.expression):"Identifier"===e.type||"MemberExpression"===e.type};var pe=ae.prototype;pe.parseTopLevel=function(e){var t={};for(e.body||(e.body=[]);this.type!==q.eof;){var r=this.parseStatement(null,!0,t);e.body.push(r)}if(this.inModule)for(var i=0,n=Object.keys(this.undefinedExports);i<n.length;i+=1){var s=n[i];this.raiseRecoverable(this.undefinedExports[s].start,"Export '"+s+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType,this.finishNode(e,"Program")};var le={kind:"loop"},de={kind:"switch"};pe.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;K.lastIndex=this.pos;var t=K.exec(this.input),r=this.pos+t[0].length,i=this.input.charCodeAt(r);if(91===i)return!0;if(e)return!1;if(123===i)return!0;if(R(i,!0)){for(var n=r+1;B(this.input.charCodeAt(n),!0);)++n;var s=this.input.slice(r,n);if(!C.test(s))return!0}return!1},pe.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;K.lastIndex=this.pos;var e=K.exec(this.input),t=this.pos+e[0].length;return!(W.test(this.input.slice(this.pos,t))||"function"!==this.input.slice(t,t+8)||t+8!==this.input.length&&B(this.input.charAt(t+8)))},pe.parseStatement=function(e,t,r){var i,n=this.type,s=this.startNode();switch(this.isLet(e)&&(n=q._var,i="let"),n){case q._break:case q._continue:return this.parseBreakContinueStatement(s,n.keyword);case q._debugger:return this.parseDebuggerStatement(s);case q._do:return this.parseDoStatement(s);case q._for:return this.parseForStatement(s);case q._function:return e&&(this.strict||"if"!==e&&"label"!==e)&&6<=this.options.ecmaVersion&&this.unexpected(),this.parseFunctionStatement(s,!1,!e);case q._class:return e&&this.unexpected(),this.parseClass(s,!0);case q._if:return this.parseIfStatement(s);case q._return:return this.parseReturnStatement(s);case q._switch:return this.parseSwitchStatement(s);case q._throw:return this.parseThrowStatement(s);case q._try:return this.parseTryStatement(s);case q._const:case q._var:return i=i||this.value,e&&"var"!==i&&this.unexpected(),this.parseVarStatement(s,i);case q._while:return this.parseWhileStatement(s);case q._with:return this.parseWithStatement(s);case q.braceL:return this.parseBlock(!0,s);case q.semi:return this.parseEmptyStatement(s);case q._export:case q._import:if(10<this.options.ecmaVersion&&n===q._import){K.lastIndex=this.pos;var a=K.exec(this.input),o=this.pos+a[0].length;if(40===this.input.charCodeAt(o))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'")),n===q._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,h=this.parseExpression();return n===q.name&&"Identifier"===h.type&&this.eat(q.colon)?this.parseLabeledStatement(s,c,h,e):this.parseExpressionStatement(s,h)}},pe.parseBreakContinueStatement=function(e,t){var r="break"===t;this.next(),this.eat(q.semi)||this.insertSemicolon()?e.label=null:this.type!==q.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var i=0;i<this.labels.length;++i){var n=this.labels[i];if(null==e.label||n.name===e.label.name){if(null!=n.kind&&(r||"loop"===n.kind))break;if(e.label&&r)break}}return i===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,r?"BreakStatement":"ContinueStatement")},pe.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")},pe.parseDoStatement=function(e){return this.next(),this.labels.push(le),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(q._while),e.test=this.parseParenExpression(),6<=this.options.ecmaVersion?this.eat(q.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},pe.parseForStatement=function(e){this.next();var t=9<=this.options.ecmaVersion&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(le),this.enterScope(0),this.expect(q.parenL),this.type===q.semi)return-1<t&&this.unexpected(t),this.parseFor(e,null);var r=this.isLet();if(this.type===q._var||this.type===q._const||r){var i=this.startNode(),n=r?"let":this.value;return(this.next(),this.parseVar(i,!0,n),this.finishNode(i,"VariableDeclaration"),(this.type===q._in||6<=this.options.ecmaVersion&&this.isContextual("of"))&&1===i.declarations.length)?(9<=this.options.ecmaVersion&&(this.type===q._in?-1<t&&this.unexpected(t):e.await=-1<t),this.parseForIn(e,i)):(-1<t&&this.unexpected(t),this.parseFor(e,i))}var s=new ue,a=this.parseExpression(!0,s);return this.type===q._in||6<=this.options.ecmaVersion&&this.isContextual("of")?(9<=this.options.ecmaVersion&&(this.type===q._in?-1<t&&this.unexpected(t):e.await=-1<t),this.toAssignable(a,!1,s),this.checkLVal(a),this.parseForIn(e,a)):(this.checkExpressionErrors(s,!0),-1<t&&this.unexpected(t),this.parseFor(e,a))},pe.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,me|(r?0:ge),!1,t)},pe.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(q._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},pe.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(q.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},pe.parseSwitchStatement=function(e){var t;this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(q.braceL),this.labels.push(de),this.enterScope(0);for(var r,i=!1;this.type!==q.braceR;){this.type===q._case||this.type===q._default?(r=this.type===q._case,t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),r?t.test=this.parseExpression():(i&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),i=!0,t.test=null),this.expect(q.colon)):(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")},pe.parseThrowStatement=function(e){return this.next(),W.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 fe=[];pe.parseTryStatement=function(e){var t,r;return this.next(),e.block=this.parseBlock(),e.handler=null,this.type===q._catch&&(t=this.startNode(),this.next(),this.eat(q.parenL)?(t.param=this.parseBindingAtom(),r="Identifier"===t.param.type,this.enterScope(r?32:0),this.checkLVal(t.param,r?4:2),this.expect(q.parenR)):(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")),e.finalizer=this.eat(q._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},pe.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},pe.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(le),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},pe.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")},pe.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},pe.parseLabeledStatement=function(e,t,r,i){for(var n=0,s=this.labels;n<s.length;n+=1){s[n].name===t&&this.raise(r.start,"Label '"+t+"' is already declared")}for(var a=this.type.isLoop?"loop":this.type===q._switch?"switch":null,o=this.labels.length-1;0<=o;o--){var c=this.labels[o];if(c.statementStart!==e.start)break;c.statementStart=this.start,c.kind=a}return this.labels.push({name:t,kind:a,statementStart:this.start}),e.body=this.parseStatement(i?-1===i.indexOf("label")?i+"label":i:"label"),this.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")},pe.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},pe.parseBlock=function(e,t){for(void 0===e&&(e=!0),void 0===t&&(t=this.startNode()),t.body=[],this.expect(q.braceL),e&&this.enterScope(0);!this.eat(q.braceR);){var r=this.parseStatement(null);t.body.push(r)}return e&&this.exitScope(),this.finishNode(t,"BlockStatement")},pe.parseFor=function(e,t){return e.init=t,this.expect(q.semi),e.test=this.type===q.semi?null:this.parseExpression(),this.expect(q.semi),e.update=this.type===q.parenR?null:this.parseExpression(),this.expect(q.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},pe.parseForIn=function(e,t){var r=this.type===q._in;return this.next(),"VariableDeclaration"===t.type&&null!=t.declarations[0].init&&(!r||this.options.ecmaVersion<8||this.strict||"var"!==t.kind||"Identifier"!==t.declarations[0].id.type)?this.raise(t.start,(r?"for-in":"for-of")+" loop variable declaration may not have an initializer"):"AssignmentPattern"===t.type&&this.raise(t.start,"Invalid left-hand side in for-loop"),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssign(),this.expect(q.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")},pe.parseVar=function(e,t,r){for(e.declarations=[],e.kind=r;;){var i=this.startNode();if(this.parseVarId(i,r),this.eat(q.eq)?i.init=this.parseMaybeAssign(t):"const"!==r||this.type===q._in||6<=this.options.ecmaVersion&&this.isContextual("of")?"Identifier"===i.id.type||t&&(this.type===q._in||this.isContextual("of"))?i.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),e.declarations.push(this.finishNode(i,"VariableDeclarator")),!this.eat(q.comma))break}return e},pe.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLVal(e.id,"var"===t?1:2,!1)};var me=1,ge=2;pe.parseFunction=function(e,t,r,i){this.initFunction(e),(9<=this.options.ecmaVersion||6<=this.options.ecmaVersion&&!i)&&(this.type===q.star&&t&ge&&this.unexpected(),e.generator=this.eat(q.star)),8<=this.options.ecmaVersion&&(e.async=!!i),t&me&&(e.id=4&t&&this.type!==q.name?null:this.parseIdent(),!e.id||t&ge||this.checkLVal(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?1:2:3));var n=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(se(e.async,e.generator)),t&me||(e.id=this.type===q.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,r,!1),this.yieldPos=n,this.awaitPos=s,this.awaitIdentPos=a,this.finishNode(e,t&me?"FunctionDeclaration":"FunctionExpression")},pe.parseFunctionParams=function(e){this.expect(q.parenL),e.params=this.parseBindingList(q.parenR,!1,8<=this.options.ecmaVersion),this.checkYieldAwaitInDefaultParams()},pe.parseClass=function(e,t){this.next();var r=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var i=this.startNode(),n=!1;for(i.body=[],this.expect(q.braceL);!this.eat(q.braceR);){var s=this.parseClassElement(null!==e.superClass);s&&(i.body.push(s),"MethodDefinition"===s.type&&"constructor"===s.kind&&(n&&this.raise(s.start,"Duplicate constructor in the same class"),n=!0))}return e.body=this.finishNode(i,"ClassBody"),this.strict=r,this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},pe.parseClassElement=function(e){var n=this;if(this.eat(q.semi))return null;function t(e,t){void 0===t&&(t=!1);var r=n.start,i=n.startLoc;return!!n.eatContextual(e)&&(!(n.type===q.parenL||t&&n.canInsertSemicolon())||(s.key&&n.unexpected(),s.computed=!1,s.key=n.startNodeAt(r,i),s.key.name=e,n.finishNode(s.key,"Identifier"),!1))}var s=this.startNode();s.kind="method",s.static=t("static");var r=this.eat(q.star),i=!1;r||(8<=this.options.ecmaVersion&&t("async",!0)?(i=!0,r=9<=this.options.ecmaVersion&&this.eat(q.star)):t("get")?s.kind="get":t("set")&&(s.kind="set")),s.key||this.parsePropertyName(s);var a=s.key,o=!1;return s.computed||s.static||!("Identifier"===a.type&&"constructor"===a.name||"Literal"===a.type&&"constructor"===a.value)?s.static&&"Identifier"===a.type&&"prototype"===a.name&&this.raise(a.start,"Classes may not have a static property named prototype"):("method"!==s.kind&&this.raise(a.start,"Constructor can't have get/set modifier"),r&&this.raise(a.start,"Constructor can't be a generator"),i&&this.raise(a.start,"Constructor can't be an async method"),s.kind="constructor",o=e),this.parseClassMethod(s,r,i,o),"get"===s.kind&&0!==s.value.params.length&&this.raiseRecoverable(s.value.start,"getter should have no params"),"set"===s.kind&&1!==s.value.params.length&&this.raiseRecoverable(s.value.start,"setter should have exactly one param"),"set"===s.kind&&"RestElement"===s.value.params[0].type&&this.raiseRecoverable(s.value.params[0].start,"Setter cannot use rest params"),s},pe.parseClassMethod=function(e,t,r,i){return e.value=this.parseMethod(t,r,i),this.finishNode(e,"MethodDefinition")},pe.parseClassId=function(e,t){this.type===q.name?(e.id=this.parseIdent(),t&&this.checkLVal(e.id,2,!1)):(!0===t&&this.unexpected(),e.id=null)},pe.parseClassSuper=function(e){e.superClass=this.eat(q._extends)?this.parseExprSubscripts():null},pe.parseExport=function(e,t){if(this.next(),this.eat(q.star))return this.expectContextual("from"),this.type!==q.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");var r,i,n;if(this.eat(q._default))return this.checkExport(t,"default",this.lastTokStart),this.type===q._function||(r=this.isAsyncFunction())?(i=this.startNode(),this.next(),r&&this.next(),e.declaration=this.parseFunction(i,4|me,!1,r)):this.type===q._class?(n=this.startNode(),e.declaration=this.parseClass(n,"nullableID")):(e.declaration=this.parseMaybeAssign(),this.semicolon()),this.finishNode(e,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())e.declaration=this.parseStatement(null),"VariableDeclaration"===e.declaration.type?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==q.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var s=0,a=e.specifiers;s<a.length;s+=1){var o=a[s];this.checkUnreserved(o.local),this.checkLocalExport(o.local)}e.source=null}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")},pe.checkExport=function(e,t,r){e&&(Y(e,t)&&this.raiseRecoverable(r,"Duplicate export '"+t+"'"),e[t]=!0)},pe.checkPatternExport=function(e,t){var r=t.type;if("Identifier"===r)this.checkExport(e,t.name,t.start);else if("ObjectPattern"===r)for(var i=0,n=t.properties;i<n.length;i+=1){var s=n[i];this.checkPatternExport(e,s)}else if("ArrayPattern"===r)for(var a=0,o=t.elements;a<o.length;a+=1){var c=o[a];c&&this.checkPatternExport(e,c)}else"Property"===r?this.checkPatternExport(e,t.value):"AssignmentPattern"===r?this.checkPatternExport(e,t.left):"RestElement"===r?this.checkPatternExport(e,t.argument):"ParenthesizedExpression"===r&&this.checkPatternExport(e,t.expression)},pe.checkVariableExport=function(e,t){if(e)for(var r=0,i=t;r<i.length;r+=1){var n=i[r];this.checkPatternExport(e,n.id)}},pe.shouldParseExportStatement=function(){return"var"===this.type.keyword||"const"===this.type.keyword||"class"===this.type.keyword||"function"===this.type.keyword||this.isLet()||this.isAsyncFunction()},pe.parseExportSpecifiers=function(e){var t=[],r=!0;for(this.expect(q.braceL);!this.eat(q.braceR);){if(r)r=!1;else if(this.expect(q.comma),this.afterTrailingComma(q.braceR))break;var i=this.startNode();i.local=this.parseIdent(!0),i.exported=this.eatContextual("as")?this.parseIdent(!0):i.local,this.checkExport(e,i.exported.name,i.exported.start),t.push(this.finishNode(i,"ExportSpecifier"))}return t},pe.parseImport=function(e){return this.next(),this.type===q.string?(e.specifiers=fe,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===q.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(e,"ImportDeclaration")},pe.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===q.name){var r=this.startNode();if(r.local=this.parseIdent(),this.checkLVal(r.local,2),e.push(this.finishNode(r,"ImportDefaultSpecifier")),!this.eat(q.comma))return e}if(this.type===q.star){var i=this.startNode();return this.next(),this.expectContextual("as"),i.local=this.parseIdent(),this.checkLVal(i.local,2),e.push(this.finishNode(i,"ImportNamespaceSpecifier")),e}for(this.expect(q.braceL);!this.eat(q.braceR);){if(t)t=!1;else if(this.expect(q.comma),this.afterTrailingComma(q.braceR))break;var n=this.startNode();n.imported=this.parseIdent(!0),this.eatContextual("as")?n.local=this.parseIdent():(this.checkUnreserved(n.imported),n.local=n.imported),this.checkLVal(n.local,2),e.push(this.finishNode(n,"ImportSpecifier"))}return e},pe.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)},pe.isDirectiveCandidate=function(e){return"ExpressionStatement"===e.type&&"Literal"===e.expression.type&&"string"==typeof e.expression.value&&('"'===this.input[e.start]||"'"===this.input[e.start])};var ye=ae.prototype;ye.toAssignable=function(e,t,r){if(6<=this.options.ecmaVersion&&e)switch(e.type){case"Identifier":this.inAsync&&"await"===e.name&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",r&&this.checkPatternErrors(r,!0);for(var i=0,n=e.properties;i<n.length;i+=1){var s=n[i];this.toAssignable(s,t),"RestElement"!==s.type||"ArrayPattern"!==s.argument.type&&"ObjectPattern"!==s.argument.type||this.raise(s.argument.start,"Unexpected token")}break;case"Property":"init"!==e.kind&&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),"AssignmentPattern"===e.argument.type&&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);case"AssignmentPattern":break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,r);break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else r&&this.checkPatternErrors(r,!0);return e},ye.toAssignableList=function(e,t){for(var r,i=e.length,n=0;n<i;n++){var s=e[n];s&&this.toAssignable(s,t)}return i&&(r=e[i-1],6===this.options.ecmaVersion&&t&&r&&"RestElement"===r.type&&"Identifier"!==r.argument.type&&this.unexpected(r.argument.start)),e},ye.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")},ye.parseRestBinding=function(){var e=this.startNode();return this.next(),6===this.options.ecmaVersion&&this.type!==q.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")},ye.parseBindingAtom=function(){if(6<=this.options.ecmaVersion)switch(this.type){case q.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(q.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case q.braceL:return this.parseObj(!0)}return this.parseIdent()},ye.parseBindingList=function(e,t,r){for(var i=[],n=!0;!this.eat(e);)if(n?n=!1:this.expect(q.comma),t&&this.type===q.comma)i.push(null);else{if(r&&this.afterTrailingComma(e))break;if(this.type===q.ellipsis){var s=this.parseRestBinding();this.parseBindingListItem(s),i.push(s),this.type===q.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}var a=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(a),i.push(a)}return i},ye.parseBindingListItem=function(e){return e},ye.parseMaybeDefault=function(e,t,r){if(r=r||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(q.eq))return r;var i=this.startNodeAt(e,t);return i.left=r,i.right=this.parseMaybeAssign(),this.finishNode(i,"AssignmentPattern")},ye.checkLVal=function(e,t,r){switch(void 0===t&&(t=0),e.type){case"Identifier":2===t&&"let"===e.name&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(t?"Binding ":"Assigning to ")+e.name+" in strict mode"),r&&(Y(r,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),r[e.name]=!0),0!==t&&5!==t&&this.declareName(e.name,t,e.start);break;case"MemberExpression":t&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ObjectPattern":for(var i=0,n=e.properties;i<n.length;i+=1){var s=n[i];this.checkLVal(s,t,r)}break;case"Property":this.checkLVal(e.value,t,r);break;case"ArrayPattern":for(var a=0,o=e.elements;a<o.length;a+=1){var c=o[a];c&&this.checkLVal(c,t,r)}break;case"AssignmentPattern":this.checkLVal(e.left,t,r);break;case"RestElement":this.checkLVal(e.argument,t,r);break;case"ParenthesizedExpression":this.checkLVal(e.expression,t,r);break;default:this.raise(e.start,(t?"Binding":"Assigning to")+" rvalue")}};var ve=ae.prototype;ve.checkPropClash=function(e,t,r){if(!(9<=this.options.ecmaVersion&&"SpreadElement"===e.type||6<=this.options.ecmaVersion&&(e.computed||e.method||e.shorthand))){var i,n=e.key;switch(n.type){case"Identifier":i=n.name;break;case"Literal":i=String(n.value);break;default:return}var s,a=e.kind;6<=this.options.ecmaVersion?"__proto__"===i&&"init"===a&&(t.proto&&(r&&r.doubleProto<0?r.doubleProto=n.start:this.raiseRecoverable(n.start,"Redefinition of __proto__ property")),t.proto=!0):((s=t[i="$"+i])?("init"===a?this.strict&&s.init||s.get||s.set:s.init||s[a])&&this.raiseRecoverable(n.start,"Redefinition of property"):s=t[i]={init:!1,get:!1,set:!1},s[a]=!0)}},ve.parseExpression=function(e,t){var r=this.start,i=this.startLoc,n=this.parseMaybeAssign(e,t);if(this.type!==q.comma)return n;var s=this.startNodeAt(r,i);for(s.expressions=[n];this.eat(q.comma);)s.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(s,"SequenceExpression")},ve.parseMaybeAssign=function(e,t,r){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var i=!1,n=-1,s=-1,a=-1;t?(n=t.parenthesizedAssign,s=t.trailingComma,a=t.shorthandAssign,t.parenthesizedAssign=t.trailingComma=t.shorthandAssign=-1):(t=new ue,i=!0);var o=this.start,c=this.startLoc;this.type!==q.parenL&&this.type!==q.name||(this.potentialArrowAt=this.start);var h=this.parseMaybeConditional(e,t);if(r&&(h=r.call(this,h,o,c)),this.type.isAssign){var u=this.startNodeAt(o,c);return u.operator=this.value,u.left=this.type===q.eq?this.toAssignable(h,!1,t):h,i||ue.call(t),t.shorthandAssign=-1,this.checkLVal(h),this.next(),u.right=this.parseMaybeAssign(e),this.finishNode(u,"AssignmentExpression")}return i&&this.checkExpressionErrors(t,!0),-1<n&&(t.parenthesizedAssign=n),-1<s&&(t.trailingComma=s),-1<a&&(t.shorthandAssign=a),h},ve.parseMaybeConditional=function(e,t){var r=this.start,i=this.startLoc,n=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return n;if(this.eat(q.question)){var s=this.startNodeAt(r,i);return s.test=n,s.consequent=this.parseMaybeAssign(),this.expect(q.colon),s.alternate=this.parseMaybeAssign(e),this.finishNode(s,"ConditionalExpression")}return n},ve.parseExprOps=function(e,t){var r=this.start,i=this.startLoc,n=this.parseMaybeUnary(t,!1);return this.checkExpressionErrors(t)||n.start===r&&"ArrowFunctionExpression"===n.type?n:this.parseExprOp(n,r,i,-1,e)},ve.parseExprOp=function(e,t,r,i,n){var s=this.type.binop;if(null==s||n&&this.type===q._in||!(i<s))return e;var a=this.type===q.logicalOR||this.type===q.logicalAND,o=this.value;this.next();var c=this.start,h=this.startLoc,u=this.parseExprOp(this.parseMaybeUnary(null,!1),c,h,s,n),p=this.buildBinary(t,r,e,u,o,a);return this.parseExprOp(p,t,r,i,n)},ve.buildBinary=function(e,t,r,i,n,s){var a=this.startNodeAt(e,t);return a.left=r,a.operator=n,a.right=i,this.finishNode(a,s?"LogicalExpression":"BinaryExpression")},ve.parseMaybeUnary=function(e,t){var r,i=this.start,n=this.startLoc;if(this.isContextual("await")&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction))r=this.parseAwait(),t=!0;else if(this.type.prefix){var s=this.startNode(),a=this.type===q.incDec;s.operator=this.value,s.prefix=!0,this.next(),s.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),a?this.checkLVal(s.argument):this.strict&&"delete"===s.operator&&"Identifier"===s.argument.type?this.raiseRecoverable(s.start,"Deleting local variable in strict mode"):t=!0,r=this.finishNode(s,a?"UpdateExpression":"UnaryExpression")}else{if(r=this.parseExprSubscripts(e),this.checkExpressionErrors(e))return r;for(;this.type.postfix&&!this.canInsertSemicolon();){var o=this.startNodeAt(i,n);o.operator=this.value,o.prefix=!1,o.argument=r,this.checkLVal(r),this.next(),r=this.finishNode(o,"UpdateExpression")}}return!t&&this.eat(q.starstar)?this.buildBinary(i,n,r,this.parseMaybeUnary(null,!1),"**",!1):r},ve.parseExprSubscripts=function(e){var t=this.start,r=this.startLoc,i=this.parseExprAtom(e),n="ArrowFunctionExpression"===i.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd);if(this.checkExpressionErrors(e)||n)return i;var s=this.parseSubscripts(i,t,r);return e&&"MemberExpression"===s.type&&(e.parenthesizedAssign>=s.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=s.start&&(e.parenthesizedBind=-1)),s},ve.parseSubscripts=function(e,t,r,i){for(var n=8<=this.options.ecmaVersion&&"Identifier"===e.type&&"async"===e.name&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&"async"===this.input.slice(e.start,e.end);;){var s=this.parseSubscript(e,t,r,i,n);if(s===e||"ArrowFunctionExpression"===s.type)return s;e=s}},ve.parseSubscript=function(e,t,r,i,n){var s,a=this.eat(q.bracketL);if(a||this.eat(q.dot)){var o=this.startNodeAt(t,r);o.object=e,o.property=a?this.parseExpression():this.parseIdent("never"!==this.options.allowReserved),o.computed=!!a,a&&this.expect(q.bracketR),e=this.finishNode(o,"MemberExpression")}else if(!i&&this.eat(q.parenL)){var c=new ue,h=this.yieldPos,u=this.awaitPos,p=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var l=this.parseExprList(q.parenR,8<=this.options.ecmaVersion&&"Import"!==e.type,!1,c);if(n&&!this.canInsertSemicolon()&&this.eat(q.arrow))return this.checkPatternErrors(c,!1),this.checkYieldAwaitInDefaultParams(),0<this.awaitIdentPos&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=h,this.awaitPos=u,this.awaitIdentPos=p,this.parseArrowExpression(this.startNodeAt(t,r),l,!0);this.checkExpressionErrors(c,!0),this.yieldPos=h||this.yieldPos,this.awaitPos=u||this.awaitPos,this.awaitIdentPos=p||this.awaitIdentPos;var d,f=this.startNodeAt(t,r);f.callee=e,f.arguments=l,"Import"===f.callee.type&&(1!==f.arguments.length&&this.raise(f.start,"import() requires exactly one argument"),(d=f.arguments[0])&&"SpreadElement"===d.type&&this.raise(d.start,"... is not allowed in import()")),e=this.finishNode(f,"CallExpression")}else{this.type===q.backQuote&&((s=this.startNodeAt(t,r)).tag=e,s.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(s,"TaggedTemplateExpression"))}return e},ve.parseExprAtom=function(e){this.type===q.slash&&this.readRegexp();var t=this.potentialArrowAt===this.start;switch(this.type){case q._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),a=this.startNode(),this.next(),this.type!==q.parenL||this.allowDirectSuper||this.raise(a.start,"super() call outside constructor of a subclass"),this.type!==q.dot&&this.type!==q.bracketL&&this.type!==q.parenL&&this.unexpected(),this.finishNode(a,"Super");case q._this:return a=this.startNode(),this.next(),this.finishNode(a,"ThisExpression");case q.name:var r=this.start,i=this.startLoc,n=this.containsEsc,s=this.parseIdent(!1);if(8<=this.options.ecmaVersion&&!n&&"async"===s.name&&!this.canInsertSemicolon()&&this.eat(q._function))return this.parseFunction(this.startNodeAt(r,i),0,!1,!0);if(t&&!this.canInsertSemicolon()){if(this.eat(q.arrow))return this.parseArrowExpression(this.startNodeAt(r,i),[s],!1);if(8<=this.options.ecmaVersion&&"async"===s.name&&this.type===q.name&&!n)return s=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(q.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(r,i),[s],!0)}return s;case q.regexp:var a,o=this.value;return(a=this.parseLiteral(o.value)).regex={pattern:o.pattern,flags:o.flags},a;case q.num:case q.string:return this.parseLiteral(this.value);case q._null:case q._true:case q._false:return(a=this.startNode()).value=this.type===q._null?null:this.type===q._true,a.raw=this.type.keyword,this.next(),this.finishNode(a,"Literal");case q.parenL:var c=this.start,h=this.parseParenAndDistinguishExpression(t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(h)&&(e.parenthesizedAssign=c),e.parenthesizedBind<0&&(e.parenthesizedBind=c)),h;case q.bracketL:return a=this.startNode(),this.next(),a.elements=this.parseExprList(q.bracketR,!0,!0,e),this.finishNode(a,"ArrayExpression");case q.braceL:return this.parseObj(!1,e);case q._function:return a=this.startNode(),this.next(),this.parseFunction(a,0);case q._class:return this.parseClass(this.startNode(),!1);case q._new:return this.parseNew();case q.backQuote:return this.parseTemplate();case q._import:return 10<this.options.ecmaVersion?this.parseDynamicImport():this.unexpected();default:this.unexpected()}},ve.parseDynamicImport=function(){var e=this.startNode();return this.next(),this.type!==q.parenL&&this.unexpected(),this.finishNode(e,"Import")},ve.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),110===t.raw.charCodeAt(t.raw.length-1)&&(t.bigint=t.raw.slice(0,-1)),this.next(),this.finishNode(t,"Literal")},ve.parseParenExpression=function(){this.expect(q.parenL);var e=this.parseExpression();return this.expect(q.parenR),e},ve.parseParenAndDistinguishExpression=function(e){var t,r=this.start,i=this.startLoc,n=8<=this.options.ecmaVersion;if(6<=this.options.ecmaVersion){this.next();var s,a=this.start,o=this.startLoc,c=[],h=!0,u=!1,p=new ue,l=this.yieldPos,d=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==q.parenR;){if(h?h=!1:this.expect(q.comma),n&&this.afterTrailingComma(q.parenR,!0)){u=!0;break}if(this.type===q.ellipsis){s=this.start,c.push(this.parseParenItem(this.parseRestBinding())),this.type===q.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}c.push(this.parseMaybeAssign(!1,p,this.parseParenItem))}var f=this.start,m=this.startLoc;if(this.expect(q.parenR),e&&!this.canInsertSemicolon()&&this.eat(q.arrow))return this.checkPatternErrors(p,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=l,this.awaitPos=d,this.parseParenArrowList(r,i,c);c.length&&!u||this.unexpected(this.lastTokStart),s&&this.unexpected(s),this.checkExpressionErrors(p,!0),this.yieldPos=l||this.yieldPos,this.awaitPos=d||this.awaitPos,1<c.length?((t=this.startNodeAt(a,o)).expressions=c,this.finishNodeAt(t,"SequenceExpression",f,m)):t=c[0]}else t=this.parseParenExpression();if(this.options.preserveParens){var g=this.startNodeAt(r,i);return g.expression=t,this.finishNode(g,"ParenthesizedExpression")}return t},ve.parseParenItem=function(e){return e},ve.parseParenArrowList=function(e,t,r){return this.parseArrowExpression(this.startNodeAt(e,t),r)};var xe=[];ve.parseNew=function(){var e=this.startNode(),t=this.parseIdent(!0);if(6<=this.options.ecmaVersion&&this.eat(q.dot)){e.meta=t;var r=this.containsEsc;return e.property=this.parseIdent(!0),"target"===e.property.name&&!r||this.raiseRecoverable(e.property.start,"The only valid meta property for new is new.target"),this.inNonArrowFunction()||this.raiseRecoverable(e.start,"new.target can only be used in functions"),this.finishNode(e,"MetaProperty")}var i=this.start,n=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(),i,n,!0),10<this.options.ecmaVersion&&"Import"===e.callee.type&&this.raise(e.callee.start,"Cannot use new with import(...)"),this.eat(q.parenL)?e.arguments=this.parseExprList(q.parenR,8<=this.options.ecmaVersion&&"Import"!==e.callee.type,!1):e.arguments=xe,this.finishNode(e,"NewExpression")},ve.parseTemplateElement=function(e){var t=e.isTagged,r=this.startNode();return this.type===q.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),r.value={raw:this.value,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===q.backQuote,this.finishNode(r,"TemplateElement")},ve.parseTemplate=function(e){void 0===e&&(e={});var t=e.isTagged;void 0===t&&(t=!1);var r=this.startNode();this.next(),r.expressions=[];var i=this.parseTemplateElement({isTagged:t});for(r.quasis=[i];!i.tail;)this.type===q.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(q.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(q.braceR),r.quasis.push(i=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(r,"TemplateLiteral")},ve.isAsyncProp=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===q.name||this.type===q.num||this.type===q.string||this.type===q.bracketL||this.type.keyword||9<=this.options.ecmaVersion&&this.type===q.star)&&!W.test(this.input.slice(this.lastTokEnd,this.start))},ve.parseObj=function(e,t){var r=this.startNode(),i=!0,n={};for(r.properties=[],this.next();!this.eat(q.braceR);){if(i)i=!1;else if(this.expect(q.comma),this.afterTrailingComma(q.braceR))break;var s=this.parseProperty(e,t);e||this.checkPropClash(s,n,t),r.properties.push(s)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")},ve.parseProperty=function(e,t){var r,i,n,s,a=this.startNode();if(9<=this.options.ecmaVersion&&this.eat(q.ellipsis))return e?(a.argument=this.parseIdent(!1),this.type===q.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(a,"RestElement")):(this.type===q.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),a.argument=this.parseMaybeAssign(!1,t),this.type===q.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(a,"SpreadElement"));6<=this.options.ecmaVersion&&(a.method=!1,a.shorthand=!1,(e||t)&&(n=this.start,s=this.startLoc),e||(r=this.eat(q.star)));var o=this.containsEsc;return this.parsePropertyName(a),!e&&!o&&8<=this.options.ecmaVersion&&!r&&this.isAsyncProp(a)?(i=!0,r=9<=this.options.ecmaVersion&&this.eat(q.star),this.parsePropertyName(a,t)):i=!1,this.parsePropertyValue(a,e,r,i,n,s,t,o),this.finishNode(a,"Property")},ve.parsePropertyValue=function(e,t,r,i,n,s,a,o){var c,h;(r||i)&&this.type===q.colon&&this.unexpected(),this.eat(q.colon)?(e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,a),e.kind="init"):6<=this.options.ecmaVersion&&this.type===q.parenL?(t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(r,i)):t||o||!(5<=this.options.ecmaVersion)||e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||this.type===q.comma||this.type===q.braceR?6<=this.options.ecmaVersion&&!e.computed&&"Identifier"===e.key.type?((r||i)&&this.unexpected(),this.checkUnreserved(e.key),"await"!==e.key.name||this.awaitIdentPos||(this.awaitIdentPos=n),e.kind="init",t?e.value=this.parseMaybeDefault(n,s,e.key):this.type===q.eq&&a?(a.shorthandAssign<0&&(a.shorthandAssign=this.start),e.value=this.parseMaybeDefault(n,s,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected():((r||i)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1),c="get"===e.kind?0:1,e.value.params.length!==c?(h=e.value.start,"get"===e.kind?this.raiseRecoverable(h,"getter should have no params"):this.raiseRecoverable(h,"setter should have exactly one param")):"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params"))},ve.parsePropertyName=function(e){if(6<=this.options.ecmaVersion){if(this.eat(q.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(q.bracketR),e.key;e.computed=!1}return e.key=this.type===q.num||this.type===q.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved)},ve.initFunction=function(e){e.id=null,6<=this.options.ecmaVersion&&(e.generator=e.expression=!1),8<=this.options.ecmaVersion&&(e.async=!1)},ve.parseMethod=function(e,t,r){var i=this.startNode(),n=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;return this.initFunction(i),6<=this.options.ecmaVersion&&(i.generator=e),8<=this.options.ecmaVersion&&(i.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(64|se(t,i.generator)|(r?128:0)),this.expect(q.parenL),i.params=this.parseBindingList(q.parenR,!1,8<=this.options.ecmaVersion),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(i,!1,!0),this.yieldPos=n,this.awaitPos=s,this.awaitIdentPos=a,this.finishNode(i,"FunctionExpression")},ve.parseArrowExpression=function(e,t,r){var i=this.yieldPos,n=this.awaitPos,s=this.awaitIdentPos;return this.enterScope(16|se(r,!1)),this.initFunction(e),8<=this.options.ecmaVersion&&(e.async=!!r),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1),this.yieldPos=i,this.awaitPos=n,this.awaitIdentPos=s,this.finishNode(e,"ArrowFunctionExpression")},ve.parseFunctionBody=function(e,t,r){var i,n,s=t&&this.type!==q.braceL,a=this.strict,o=!1;s?(e.body=this.parseMaybeAssign(),e.expression=!0,this.checkParams(e,!1)):(i=7<=this.options.ecmaVersion&&!this.isSimpleParamList(e.params),a&&!i||(o=this.strictDirective(this.end))&&i&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"),n=this.labels,this.labels=[],o&&(this.strict=!0),this.checkParams(e,!a&&!o&&!t&&!r&&this.isSimpleParamList(e.params)),e.body=this.parseBlock(!1),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=n),this.exitScope(),this.strict&&e.id&&this.checkLVal(e.id,5),this.strict=a},ve.isSimpleParamList=function(e){for(var t=0,r=e;t<r.length;t+=1){if("Identifier"!==r[t].type)return!1}return!0},ve.checkParams=function(e,t){for(var r={},i=0,n=e.params;i<n.length;i+=1){var s=n[i];this.checkLVal(s,1,t?null:r)}},ve.parseExprList=function(e,t,r,i){for(var n=[],s=!0;!this.eat(e);){if(s)s=!1;else if(this.expect(q.comma),t&&this.afterTrailingComma(e))break;var a=void 0;r&&this.type===q.comma?a=null:this.type===q.ellipsis?(a=this.parseSpread(i),i&&this.type===q.comma&&i.trailingComma<0&&(i.trailingComma=this.start)):a=this.parseMaybeAssign(!1,i),n.push(a)}return n},ve.checkUnreserved=function(e){var t=e.start,r=e.end,i=e.name;this.inGenerator&&"yield"===i&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&"await"===i&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),this.keywords.test(i)&&this.raise(t,"Unexpected keyword '"+i+"'"),this.options.ecmaVersion<6&&-1!==this.input.slice(t,r).indexOf("\\")||(this.strict?this.reservedWordsStrict:this.reservedWords).test(i)&&(this.inAsync||"await"!==i||this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '"+i+"' is reserved"))},ve.parseIdent=function(e,t){var r=this.startNode();return this.type===q.name?r.name=this.value:this.type.keyword?(r.name=this.type.keyword,"class"!==r.name&&"function"!==r.name||this.lastTokEnd===this.lastTokStart+1&&46===this.input.charCodeAt(this.lastTokStart)||this.context.pop()):this.unexpected(),this.next(),this.finishNode(r,"Identifier"),e||(this.checkUnreserved(r),"await"!==r.name||this.awaitIdentPos||(this.awaitIdentPos=r.start)),r},ve.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===q.semi||this.canInsertSemicolon()||this.type!==q.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(q.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")},ve.parseAwait=function(){this.awaitPos||(this.awaitPos=this.start);var e=this.startNode();return this.next(),e.argument=this.parseMaybeUnary(null,!0),this.finishNode(e,"AwaitExpression")};var be=ae.prototype;be.raise=function(e,t){var r=re(this.input,e);t+=" ("+r.line+":"+r.column+")";var i=new SyntaxError(t);throw i.pos=e,i.loc=r,i.raisedAt=this.pos,i},be.raiseRecoverable=be.raise,be.curPosition=function(){if(this.options.locations)return new ee(this.curLine,this.pos-this.lineStart)};function we(e){this.flags=e,this.var=[],this.lexical=[],this.functions=[]}var ke=ae.prototype;ke.enterScope=function(e){this.scopeStack.push(new we(e))},ke.exitScope=function(){this.scopeStack.pop()},ke.treatFunctionsAsVarInScope=function(e){return 2&e.flags||!this.inModule&&1&e.flags},ke.declareName=function(e,t,r){var i=!1;if(2===t){var n=this.currentScope(),i=-1<n.lexical.indexOf(e)||-1<n.functions.indexOf(e)||-1<n.var.indexOf(e);n.lexical.push(e),this.inModule&&1&n.flags&&delete this.undefinedExports[e]}else if(4===t){this.currentScope().lexical.push(e)}else if(3===t){var s=this.currentScope();i=this.treatFunctionsAsVar?-1<s.lexical.indexOf(e):-1<s.lexical.indexOf(e)||-1<s.var.indexOf(e),s.functions.push(e)}else for(var a=this.scopeStack.length-1;0<=a;--a){var o=this.scopeStack[a];if(-1<o.lexical.indexOf(e)&&!(32&o.flags&&o.lexical[0]===e)||!this.treatFunctionsAsVarInScope(o)&&-1<o.functions.indexOf(e)){i=!0;break}if(o.var.push(e),this.inModule&&1&o.flags&&delete this.undefinedExports[e],3&o.flags)break}i&&this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")},ke.checkLocalExport=function(e){-1===this.scopeStack[0].lexical.indexOf(e.name)&&-1===this.scopeStack[0].var.indexOf(e.name)&&(this.undefinedExports[e.name]=e)},ke.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},ke.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(3&t.flags)return t}},ke.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(3&t.flags&&!(16&t.flags))return t}};function _e(e,t,r){this.type="",this.start=t,this.end=0,e.options.locations&&(this.loc=new te(e,r)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])}var Se=ae.prototype;function Ee(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}Se.startNode=function(){return new _e(this,this.start,this.startLoc)},Se.startNodeAt=function(e,t){return new _e(this,e,t)},Se.finishNode=function(e,t){return Ee.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};function Ce(e,t,r,i,n){this.token=e,this.isExpr=!!t,this.preserveSpace=!!r,this.override=i,this.generator=!!n}var Ie={b_stat:new Ce("{",!(Se.finishNodeAt=function(e,t,r,i){return Ee.call(this,e,t,r,i)})),b_expr:new Ce("{",!0),b_tmpl:new Ce("${",!1),p_stat:new Ce("(",!1),p_expr:new Ce("(",!0),q_tmpl:new Ce("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new Ce("function",!1),f_expr:new Ce("function",!0),f_expr_gen:new Ce("function",!0,!1,null,!0),f_gen:new Ce("function",!1,!1,null,!0)},Ae=ae.prototype;Ae.initialContext=function(){return[Ie.b_stat]},Ae.braceIsBlock=function(e){var t=this.curContext();return t===Ie.f_expr||t===Ie.f_stat||(e!==q.colon||t!==Ie.b_stat&&t!==Ie.b_expr?e===q._return||e===q.name&&this.exprAllowed?W.test(this.input.slice(this.lastTokEnd,this.start)):e===q._else||e===q.semi||e===q.eof||e===q.parenR||e===q.arrow||(e===q.braceL?t===Ie.b_stat:e!==q._var&&e!==q._const&&e!==q.name&&!this.exprAllowed):!t.isExpr)},Ae.inGeneratorContext=function(){for(var e=this.context.length-1;1<=e;e--){var t=this.context[e];if("function"===t.token)return t.generator}return!1},Ae.updateContext=function(e){var t,r=this.type;r.keyword&&e===q.dot?this.exprAllowed=!1:(t=r.updateContext)?t.call(this,e):this.exprAllowed=r.beforeExpr},q.parenR.updateContext=q.braceR.updateContext=function(){var e;1!==this.context.length?((e=this.context.pop())===Ie.b_stat&&"function"===this.curContext().token&&(e=this.context.pop()),this.exprAllowed=!e.isExpr):this.exprAllowed=!0},q.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?Ie.b_stat:Ie.b_expr),this.exprAllowed=!0},q.dollarBraceL.updateContext=function(){this.context.push(Ie.b_tmpl),this.exprAllowed=!0},q.parenL.updateContext=function(e){var t=e===q._if||e===q._for||e===q._with||e===q._while;this.context.push(t?Ie.p_stat:Ie.p_expr),this.exprAllowed=!0},q.incDec.updateContext=function(){},q._function.updateContext=q._class.updateContext=function(e){!e.beforeExpr||e===q.semi||e===q._else||e===q._return&&W.test(this.input.slice(this.lastTokEnd,this.start))||(e===q.colon||e===q.braceL)&&this.curContext()===Ie.b_stat?this.context.push(Ie.f_stat):this.context.push(Ie.f_expr),this.exprAllowed=!1},q.backQuote.updateContext=function(){this.curContext()===Ie.q_tmpl?this.context.pop():this.context.push(Ie.q_tmpl),this.exprAllowed=!1},q.star.updateContext=function(e){var t;e===q._function&&(t=this.context.length-1,this.context[t]===Ie.f_expr?this.context[t]=Ie.f_expr_gen:this.context[t]=Ie.f_gen),this.exprAllowed=!0},q.name.updateContext=function(e){var t=!1;6<=this.options.ecmaVersion&&e!==q.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var Pe="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",Te=Pe+" Extended_Pictographic",Ve={9:Pe,10:Te,11:"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 Extended_Pictographic"},Le="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",Ne="Adlam Adlm Ahom 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 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",Re=Ne+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",Be={9:Ne,10:Re,11:"Adlam Adlm Ahom 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 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 Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho"},Oe={};function Me(e){var t=Oe[e]={binary:$(Ve[e]+" "+Le),nonBinary:{General_Category:$(Le),Script:$(Be[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}Me(9),Me(10),Me(11);function De(e){this.parser=e,this.validFlags="gim"+(6<=e.options.ecmaVersion?"uy":"")+(9<=e.options.ecmaVersion?"s":""),this.unicodeProperties=Oe[11<=e.options.ecmaVersion?11:e.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]}var Ue=ae.prototype;function Fe(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}function je(e){return 36===e||40<=e&&e<=43||46===e||63===e||91<=e&&e<=94||123<=e&&e<=125}function qe(e){return 65<=e&&e<=90||97<=e&&e<=122}function We(e){return qe(e)||95===e}function Ge(e){return 48<=e&&e<=57}function He(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}function ze(e){return 65<=e&&e<=70?e-65+10:97<=e&&e<=102?e-97+10:e-48}function Ke(e){return 48<=e&&e<=55}De.prototype.reset=function(e,t,r){var i=-1!==r.indexOf("u");this.start=0|e,this.source=t+"",this.flags=r,this.switchU=i&&6<=this.parser.options.ecmaVersion,this.switchN=i&&9<=this.parser.options.ecmaVersion},De.prototype.raise=function(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)},De.prototype.at=function(e){var t=this.source,r=t.length;if(r<=e)return-1;var i=t.charCodeAt(e);if(!this.switchU||i<=55295||57344<=i||r<=e+1)return i;var n=t.charCodeAt(e+1);return 56320<=n&&n<=57343?(i<<10)+n-56613888:i},De.prototype.nextIndex=function(e){var t=this.source,r=t.length;if(r<=e)return r;var i,n=t.charCodeAt(e);return!this.switchU||n<=55295||57344<=n||r<=e+1||(i=t.charCodeAt(e+1))<56320||57343<i?e+1:e+2},De.prototype.current=function(){return this.at(this.pos)},De.prototype.lookahead=function(){return this.at(this.nextIndex(this.pos))},De.prototype.advance=function(){this.pos=this.nextIndex(this.pos)},De.prototype.eat=function(e){return this.current()===e&&(this.advance(),!0)},Ue.validateRegExpFlags=function(e){for(var t=e.validFlags,r=e.flags,i=0;i<r.length;i++){var n=r.charAt(i);-1===t.indexOf(n)&&this.raise(e.start,"Invalid regular expression flag"),-1<r.indexOf(n,i+1)&&this.raise(e.start,"Duplicate regular expression flag")}},Ue.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&9<=this.options.ecmaVersion&&0<e.groupNames.length&&(e.switchN=!0,this.regexp_pattern(e))},Ue.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,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];-1===e.groupNames.indexOf(i)&&e.raise("Invalid named capture referenced")}},Ue.regexp_disjunction=function(e){for(this.regexp_alternative(e);e.eat(124);)this.regexp_alternative(e);this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")},Ue.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););},Ue.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)},Ue.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(9<=this.options.ecmaVersion&&(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},Ue.regexp_eatQuantifier=function(e,t){return void 0===t&&(t=!1),!!this.regexp_eatQuantifierPrefix(e,t)&&(e.eat(63),!0)},Ue.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},Ue.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var i=0,n=-1;if(this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(n=e.lastIntValue),e.eat(125)))return-1!==n&&n<i&&!t&&e.raise("numbers out of order in {} quantifier"),!0;e.switchU&&!t&&e.raise("Incomplete quantifier"),e.pos=r}return!1},Ue.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)},Ue.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1},Ue.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)&&e.eat(58)){if(this.regexp_disjunction(e),e.eat(41))return!0;e.raise("Unterminated group")}e.pos=t}return!1},Ue.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(9<=this.options.ecmaVersion?this.regexp_groupSpecifier(e):63===e.current()&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1},Ue.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)},Ue.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},Ue.regexp_eatSyntaxCharacter=function(e){var t=e.current();return!!je(t)&&(e.lastIntValue=t,e.advance(),!0)},Ue.regexp_eatPatternCharacters=function(e){for(var t=e.pos,r=0;-1!==(r=e.current())&&!je(r);)e.advance();return e.pos!==t},Ue.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return!(-1===t||36===t||40<=t&&t<=43||46===t||63===t||91===t||94===t||124===t)&&(e.advance(),!0)},Ue.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e))return-1!==e.groupNames.indexOf(e.lastStringValue)&&e.raise("Duplicate capture group name"),void e.groupNames.push(e.lastStringValue);e.raise("Invalid group")}},Ue.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},Ue.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=Fe(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=Fe(e.lastIntValue);return!0}return!1},Ue.regexp_eatRegExpIdentifierStart=function(e){var t,r=e.pos,i=e.current();return e.advance(),92===i&&this.regexp_eatRegExpUnicodeEscapeSequence(e)&&(i=e.lastIntValue),R(t=i,!0)||36===t||95===t?(e.lastIntValue=i,!0):(e.pos=r,!1)},Ue.regexp_eatRegExpIdentifierPart=function(e){var t,r=e.pos,i=e.current();return e.advance(),92===i&&this.regexp_eatRegExpUnicodeEscapeSequence(e)&&(i=e.lastIntValue),B(t=i,!0)||36===t||95===t||8204===t||8205===t?(e.lastIntValue=i,!0):(e.pos=r,!1)},Ue.regexp_eatAtomEscape=function(e){return!!(this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e))||(e.switchU&&(99===e.current()&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)},Ue.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},Ue.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},Ue.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)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},Ue.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},Ue.regexp_eatZero=function(e){return 48===e.current()&&!Ge(e.lookahead())&&(e.lastIntValue=0,e.advance(),!0)},Ue.regexp_eatControlEscape=function(e){var t=e.current();return 116===t?(e.lastIntValue=9,e.advance(),!0):110===t?(e.lastIntValue=10,e.advance(),!0):118===t?(e.lastIntValue=11,e.advance(),!0):102===t?(e.lastIntValue=12,e.advance(),!0):114===t&&(e.lastIntValue=13,e.advance(),!0)},Ue.regexp_eatControlLetter=function(e){var t=e.current();return!!qe(t)&&(e.lastIntValue=t%32,e.advance(),!0)},Ue.regexp_eatRegExpUnicodeEscapeSequence=function(e){var t,r=e.pos;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var i=e.lastIntValue;if(e.switchU&&55296<=i&&i<=56319){var n=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var s=e.lastIntValue;if(56320<=s&&s<=57343)return e.lastIntValue=1024*(i-55296)+(s-56320)+65536,!0}e.pos=n,e.lastIntValue=i}return!0}if(e.switchU&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&(0<=(t=e.lastIntValue)&&t<=1114111))return!0;e.switchU&&e.raise("Invalid unicode escape"),e.pos=r}return!1},Ue.regexp_eatIdentityEscape=function(e){if(e.switchU)return!!this.regexp_eatSyntaxCharacter(e)||!!e.eat(47)&&(e.lastIntValue=47,!0);var t=e.current();return!(99===t||e.switchN&&107===t)&&(e.lastIntValue=t,e.advance(),!0)},Ue.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(49<=t&&t<=57){for(;e.lastIntValue=10*e.lastIntValue+(t-48),e.advance(),48<=(t=e.current())&&t<=57;);return!0}return!1},Ue.regexp_eatCharacterClassEscape=function(e){var t,r=e.current();if(100===(t=r)||68===t||115===t||83===t||119===t||87===t)return e.lastIntValue=-1,e.advance(),!0;if(e.switchU&&9<=this.options.ecmaVersion&&(80===r||112===r)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125))return!0;e.raise("Invalid property name")}return!1},Ue.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),!0}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var n=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,n),!0}return!1},Ue.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){Y(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(r)||e.raise("Invalid property value")},Ue.regexp_validateUnicodePropertyNameOrValue=function(e,t){e.unicodeProperties.binary.test(t)||e.raise("Invalid property name")},Ue.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";We(t=e.current());)e.lastStringValue+=Fe(t),e.advance();return""!==e.lastStringValue},Ue.regexp_eatUnicodePropertyValue=function(e){var t,r=0;for(e.lastStringValue="";We(t=r=e.current())||Ge(t);)e.lastStringValue+=Fe(r),e.advance();return""!==e.lastStringValue},Ue.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},Ue.regexp_eatCharacterClass=function(e){if(e.eat(91)){if(e.eat(94),this.regexp_classRanges(e),e.eat(93))return!0;e.raise("Unterminated character class")}return!1},Ue.regexp_classRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t,r=e.lastIntValue;e.eat(45)&&this.regexp_eatClassAtom(e)&&(t=e.lastIntValue,!e.switchU||-1!==r&&-1!==t||e.raise("Invalid character class"),-1!==r&&-1!==t&&t<r&&e.raise("Range out of order in character class"))}},Ue.regexp_eatClassAtom=function(e){var t,r=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;e.switchU&&(99!==(t=e.current())&&!Ke(t)||e.raise("Invalid class escape"),e.raise("Invalid escape")),e.pos=r}var i=e.current();return 93!==i&&(e.lastIntValue=i,e.advance(),!0)},Ue.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)},Ue.regexp_eatClassControlLetter=function(e){var t=e.current();return!(!Ge(t)&&95!==t)&&(e.lastIntValue=t%32,e.advance(),!0)},Ue.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},Ue.regexp_eatDecimalDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;Ge(r=e.current());)e.lastIntValue=10*e.lastIntValue+(r-48),e.advance();return e.pos!==t},Ue.regexp_eatHexDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;He(r=e.current());)e.lastIntValue=16*e.lastIntValue+ze(r),e.advance();return e.pos!==t},Ue.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t,r=e.lastIntValue;return this.regexp_eatOctalDigit(e)?(t=e.lastIntValue,r<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=64*r+8*t+e.lastIntValue:e.lastIntValue=8*r+t):e.lastIntValue=r,!0}return!1},Ue.regexp_eatOctalDigit=function(e){var t=e.current();return Ke(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)},Ue.regexp_eatFixedHexDigits=function(e,t){for(var r=e.pos,i=e.lastIntValue=0;i<t;++i){var n=e.current();if(!He(n))return e.pos=r,!1;e.lastIntValue=16*e.lastIntValue+ze(n),e.advance()}return!0};function Qe(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,e.options.locations&&(this.loc=new te(e,e.startLoc,e.endLoc)),e.options.ranges&&(this.range=[e.start,e.end])}var Xe=ae.prototype;function Je(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}Xe.next=function(){this.options.onToken&&this.options.onToken(new Qe(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},Xe.getToken=function(){return this.next(),new Qe(this)},"undefined"!=typeof Symbol&&(Xe[Symbol.iterator]=function(){var t=this;return{next:function(){var e=t.getToken();return{done:e.type===q.eof,value:e}}}}),Xe.curContext=function(){return this.context[this.context.length-1]},Xe.nextToken=function(){var e=this.curContext();return e&&e.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(q.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},Xe.readToken=function(e){return R(e,6<=this.options.ecmaVersion)||92===e?this.readWord():this.getTokenFromCode(e)},Xe.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);return e<=55295||57344<=e?e:(e<<10)+this.input.charCodeAt(this.pos+1)-56613888},Xe.skipBlockComment=function(){var e,t=this.options.onComment&&this.curPosition(),r=this.pos,i=this.input.indexOf("*/",this.pos+=2);if(-1===i&&this.raise(this.pos-2,"Unterminated comment"),this.pos=i+2,this.options.locations)for(G.lastIndex=r;(e=G.exec(this.input))&&e.index<this.pos;)++this.curLine,this.lineStart=e.index+e[0].length;this.options.onComment&&this.options.onComment(!0,this.input.slice(r+2,i),r,this.pos,t,this.curPosition())},Xe.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&&!H(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())},Xe.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:10===this.input.charCodeAt(this.pos+1)&&++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(!(8<e&&e<14||5760<=e&&z.test(String.fromCharCode(e))))break e;++this.pos}}},Xe.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)},Xe.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(48<=e&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return 6<=this.options.ecmaVersion&&46===e&&46===t?(this.pos+=3,this.finishToken(q.ellipsis)):(++this.pos,this.finishToken(q.dot))},Xe.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(q.assign,2):this.finishOp(q.slash,1)},Xe.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),r=1,i=42===e?q.star:q.modulo;return 7<=this.options.ecmaVersion&&42===e&&42===t&&(++r,i=q.starstar,t=this.input.charCodeAt(this.pos+2)),61===t?this.finishOp(q.assign,r+1):this.finishOp(i,r)},Xe.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?this.finishOp(124===e?q.logicalOR:q.logicalAND,2):61===t?this.finishOp(q.assign,2):this.finishOp(124===e?q.bitwiseOR:q.bitwiseAND,1)},Xe.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(q.assign,2):this.finishOp(q.bitwiseXOR,1)},Xe.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?45!==t||this.inModule||62!==this.input.charCodeAt(this.pos+2)||0!==this.lastTokEnd&&!W.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(q.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===t?this.finishOp(q.assign,2):this.finishOp(q.plusMin,1)},Xe.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),r=1;return t===e?(r=62===e&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+r)?this.finishOp(q.assign,r+1):this.finishOp(q.bitShift,r)):33!==t||60!==e||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?(61===t&&(r=2),this.finishOp(q.relational,r)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},Xe.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(q.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&6<=this.options.ecmaVersion?(this.pos+=2,this.finishToken(q.arrow)):this.finishOp(61===e?q.eq:q.prefix,1)},Xe.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(q.parenL);case 41:return++this.pos,this.finishToken(q.parenR);case 59:return++this.pos,this.finishToken(q.semi);case 44:return++this.pos,this.finishToken(q.comma);case 91:return++this.pos,this.finishToken(q.bracketL);case 93:return++this.pos,this.finishToken(q.bracketR);case 123:return++this.pos,this.finishToken(q.braceL);case 125:return++this.pos,this.finishToken(q.braceR);case 58:return++this.pos,this.finishToken(q.colon);case 63:return++this.pos,this.finishToken(q.question);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(q.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(120===t||88===t)return this.readRadixNumber(16);if(6<=this.options.ecmaVersion){if(111===t||79===t)return this.readRadixNumber(8);if(98===t||66===t)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 126:return this.finishOp(q.prefix,1)}this.raise(this.pos,"Unexpected character '"+Je(e)+"'")},Xe.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,r)},Xe.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(W.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 n=this.input.slice(r,this.pos);++this.pos;var s=this.pos,a=this.readWord1();this.containsEsc&&this.unexpected(s);var o=this.regexpState||(this.regexpState=new De(this));o.reset(r,n,a),this.validateRegExpFlags(o),this.validateRegExpPattern(o);var c=null;try{c=new RegExp(n,a)}catch(e){}return this.finishToken(q.regexp,{pattern:n,flags:a,value:c})},Xe.readInt=function(e,t){for(var r=this.pos,i=0,n=0,s=null==t?1/0:t;n<s;++n){var a=this.input.charCodeAt(this.pos),o=void 0;if(e<=(o=97<=a?a-97+10:65<=a?a-65+10:48<=a&&a<=57?a-48:1/0))break;++this.pos,i=i*e+o}return this.pos===r||null!=t&&this.pos-r!==t?null:i},Xe.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var r=this.readInt(e);return null==r&&this.raise(this.start+2,"Expected number in radix "+e),11<=this.options.ecmaVersion&&110===this.input.charCodeAt(this.pos)?(r="undefined"!=typeof BigInt?BigInt(this.input.slice(t,this.pos)):null,++this.pos):R(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(q.num,r)},Xe.readNumber=function(e){var t=this.pos;e||null!==this.readInt(10)||this.raise(t,"Invalid number");var r=2<=this.pos-t&&48===this.input.charCodeAt(t);r&&this.strict&&this.raise(t,"Invalid number"),r&&/[89]/.test(this.input.slice(t,this.pos))&&(r=!1);var i=this.input.charCodeAt(this.pos);if(!r&&!e&&11<=this.options.ecmaVersion&&110===i){var n=this.input.slice(t,this.pos),s="undefined"!=typeof BigInt?BigInt(n):null;return++this.pos,R(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(q.num,s)}46!==i||r||(++this.pos,this.readInt(10),i=this.input.charCodeAt(this.pos)),69!==i&&101!==i||r||(43!==(i=this.input.charCodeAt(++this.pos))&&45!==i||++this.pos,null===this.readInt(10)&&this.raise(t,"Invalid number")),R(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var a=this.input.slice(t,this.pos),o=r?parseInt(a,8):parseFloat(a);return this.finishToken(q.num,o)},Xe.readCodePoint=function(){var e,t;return 123===this.input.charCodeAt(this.pos)?(this.options.ecmaVersion<6&&this.unexpected(),e=++this.pos,t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,1114111<t&&this.invalidStringToken(e,"Code point out of bounds")):t=this.readHexChar(4),t},Xe.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;92===i?(t+=this.input.slice(r,this.pos),t+=this.readEscapedChar(!1),r=this.pos):(H(i,10<=this.options.ecmaVersion)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(r,this.pos++),this.finishToken(q.string,t)};var Ye={};Xe.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e!==Ye)throw e;this.readInvalidTemplateToken()}this.inTemplateElement=!1},Xe.invalidStringToken=function(e,t){if(this.inTemplateElement&&9<=this.options.ecmaVersion)throw Ye;this.raise(e,t)},Xe.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(96===r||36===r&&123===this.input.charCodeAt(this.pos+1))return this.pos!==this.start||this.type!==q.template&&this.type!==q.invalidTemplate?(e+=this.input.slice(t,this.pos),this.finishToken(q.template,e)):36===r?(this.pos+=2,this.finishToken(q.dollarBraceL)):(++this.pos,this.finishToken(q.backQuote));if(92===r)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(H(r)){switch(e+=this.input.slice(t,this.pos),++this.pos,r){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(r)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},Xe.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(q.invalidTemplate,this.input.slice(this.start,this.pos))}this.raise(this.start,"Unterminated template")},Xe.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 Je(this.readCodePoint());case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";default:if(48<=t&&t<=55){var r=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],i=parseInt(r,8);return 255<i&&(r=r.slice(0,-1),i=parseInt(r,8)),this.pos+=r.length-1,t=this.input.charCodeAt(this.pos),"0"===r&&56!==t&&57!==t||!this.strict&&!e||this.invalidStringToken(this.pos-1-r.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(i)}return H(t)?"":String.fromCharCode(t)}},Xe.readHexChar=function(e){var t=this.pos,r=this.readInt(16,e);return null===r&&this.invalidStringToken(t,"Bad character escape sequence"),r},Xe.readWord1=function(){for(var e="",t=!(this.containsEsc=!1),r=this.pos,i=6<=this.options.ecmaVersion;this.pos<this.input.length;){var n=this.fullCharCodeAtPos();if(B(n,i))this.pos+=n<=65535?1:2;else{if(92!==n)break;this.containsEsc=!0,e+=this.input.slice(r,this.pos);var s=this.pos;117!==this.input.charCodeAt(++this.pos)&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var a=this.readCodePoint();(t?R:B)(a,i)||this.invalidStringToken(s,"Invalid Unicode escape"),e+=Je(a),r=this.pos}t=!1}return e+this.input.slice(r,this.pos)},Xe.readWord=function(){var e=this.readWord1(),t=q.name;return this.keywords.test(e)&&(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+e),t=F[e]),this.finishToken(t,e)};function Ze(e,t){return ae.parse(e,t)}ae.acorn={Parser:ae,version:"6.4.0",defaultOptions:ie,Position:ee,SourceLocation:te,getLineInfo:re,Node:_e,TokenType:O,tokTypes:q,keywordTypes:F,TokContext:Ce,tokContexts:Ie,isIdentifierChar:B,isIdentifierStart:R,Token:Qe,isNewLine:H,lineBreak:W,lineBreakG:G,nonASCIIwhitespace:z};var $e={RES:void 0},et={RES:void 0},tt=k("continue"),rt=k("break"),it=k("super"),nt=k("supercall"),st=k("noctor"),at=k("clsctor"),ot=k("newtarget"),ct=k("noinit"),ht=k("deadzone"),ut=(pt.prototype.get=function(){return this.value},pt.prototype.set=function(e){if("const"===this.kind)throw new TypeError("Assignment to constant variable");return this.value=e},pt);function pt(e,t){this.kind=e,this.value=t}var lt=(dt.prototype.get=function(){return this.object[this.property]},dt.prototype.set=function(e){return this.object[this.property]=e,!0},dt.prototype.del=function(){return delete this.object[this.property]},dt);function dt(e,t){this.object=e,this.property=t}var ft=(mt.prototype.global=function(){for(var e=this;e.parent;)e=e.parent;return e},mt.prototype.clone=function(){var e=new mt(this.parent,this.isolated);for(var t in this.context){var r=this.context[t];e[r.kind](t,r.get())}return e},mt.prototype.find=function(e){if(this.context[e])return this.context[e];if(this.parent)return this.parent.find(e);var t=this.global().find("window").get();return e in t?new lt(t,e):null},mt.prototype.var=function(e,t){for(var r=this;r.parent&&!r.isolated;)r=r.parent;var i,n=r.context[e];if(n){if("var"!==n.kind)throw new SyntaxError("Identifier '"+e+"' has already been declared");t!==ct&&n.set(t)}else r.context[e]=new ut("var",t===ct?void 0:t);r.parent||(i=r.find("window").get(),t!==ct&&m(i,e,{value:t,writable:!0,enumerable:!0}))},mt.prototype.let=function(e,t){var r=this.context[e];if(r&&r.get()!==ht)throw new SyntaxError("Identifier '"+e+"' has already been declared");this.context[e]=new ut("let",t)},mt.prototype.const=function(e,t){var r=this.context[e];if(r&&r.get()!==ht)throw new SyntaxError("Identifier '"+e+"' has already been declared");this.context[e]=new ut("const",t)},mt.prototype.func=function(e,t){var r=this.context[e];if(r&&"var"!==r.kind)throw new SyntaxError("Identifier '"+e+"' has already been declared");this.context[e]=new ut("var",t)},mt);function mt(e,t){void 0===e&&(e=null),void 0===t&&(t=!1),this.context=u(null),this.parent=e,this.isolated=t}function gt(r,i){var n,s,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},e={next:t(0),throw:t(1),return:t(2)};return"function"==typeof Symbol&&(e[Symbol.iterator]=function(){return this}),e;function t(t){return function(e){return function(t){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,s&&(a=2&t[0]?s.return:t[0]?s.throw||((a=s.return)&&a.call(s),0):s.next)&&!(a=a.call(s,t[1])).done)return a;switch(s=0,a&&(t=[2&t[0],a.value]),t[0]){case 0:case 1:a=t;break;case 4:return o.label++,{value:t[1],done:!1};case 5:o.label++,s=t[1],t=[0];continue;case 7:t=o.ops.pop(),o.trys.pop();continue;default:if(!(a=0<(a=o.trys).length&&a[a.length-1])&&(6===t[0]||2===t[0])){o=0;continue}if(3===t[0]&&(!a||t[1]>a[0]&&t[1]<a[3])){o.label=t[1];break}if(6===t[0]&&o.label<a[1]){o.label=a[1],a=t;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(t);break}a[2]&&o.ops.pop(),o.trys.pop();continue}t=i.call(r,o)}catch(e){t=[6,e],s=0}finally{n=a=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}([t,e])}}}function yt(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}}function vt(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,n,s=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(i=s.next()).done;)a.push(i.value)}catch(e){n={error:e}}finally{try{i&&!i.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}return a}function xt(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(vt(arguments[t]));return e}function bt(e,t,r){void 0===r&&(r={});var i=r.getVar,n=void 0!==i&&i,s=r.throwErr,a=void 0===s||s;if("undefined"!==e.name){var o=t.find(e.name);if(o){if(n)return o;var c=o.get();if(c===ht)throw new ReferenceError(e.name+" is not defined");return c}if(a)throw new ReferenceError(e.name+" is not defined")}}var wt=Object.freeze({__proto__:null,Identifier:bt});function kt(e,t){return e.value}var _t=Object.freeze({__proto__:null,Literal:kt});function St(e,t,r){void 0===r&&(r={});var i,n=r.getObj,s=void 0!==n&&n,a=r.getVar,o=void 0!==a&&a,c="Super"===e.object.type?Ct(e.object,t,{getProto:!0}):Ft(e.object,t);if(s)return c;if(i=e.computed?Ft(e.property,t):e.property.name,o){var h=y(c,i);if("Super"===e.object.type&&h){var u=t.find("this").get(),p=k(i);return m(u,p,{set:h}),new lt(u,p)}return new lt(c,i)}var l=g(c,i);if("Super"===e.object.type&&l){u=t.find("this").get();return l.call(u)}return c[i]}function Et(e,t){return e.value.raw}function Ct(e,t,r){void 0===r&&(r={});var i=r.getProto,n=void 0!==i&&i,s=t.find(it).get();return n?s.prototype:s}function It(e,t){return Ft(e.argument,t)}var At=Object.freeze({__proto__:null,ThisExpression:function(e,t){var r=t.find(nt);if(r&&!r.get())throw new ReferenceError("Must call super constructor in derived class before accessing 'this' or returning from derived constructor");return t.find("this").get()},ArrayExpression:function(e,t){for(var r=[],i=0;i<e.elements.length;i++){var n=e.elements[i];"SpreadElement"===n.type?r=r.concat(It(n,t)):r.push(Ft(n,t))}return r},ObjectExpression:function(e,t){for(var r={},i=0;i<e.properties.length;i++){var n,s,a,o,c,h=e.properties[i];"SpreadElement"===h.type?x(r,It(h,t)):(s=void 0,n=h.key,s=h.computed?Ft(n,t):"Identifier"===n.type?n.name:""+kt(n),a=Ft(h.value,t),"init"===(o=h.kind)?r[s]=a:"get"===o?(c=f(r,s),m(r,s,{get:a,set:c&&c.set,enumerable:!0,configurable:!0})):(c=f(r,s),m(r,s,{get:c&&c.get,set:a,enumerable:!0,configurable:!0})))}return r},FunctionExpression:function(e,t){if(e.id&&e.id.name){var r=new ft(t),i=Ar(e,r);return r.const(e.id.name,i),i}return Ar(e,t)},UnaryExpression:function(e,t){var r=e.argument;switch(e.operator){case"+":return+Ft(r,t);case"-":return-Ft(r,t);case"!":return!Ft(r,t);case"~":return~Ft(r,t);case"void":return void Ft(r,t);case"typeof":return"Identifier"===r.type?typeof bt(r,t,{throwErr:!1}):typeof Ft(r,t);case"delete":if("MemberExpression"===r.type)return St(r,t,{getVar:!0}).del();if("Identifier"===r.type)throw new SyntaxError("Delete of an unqualified identifier in strict mode");return Ft(r,t),!0;default:throw new SyntaxError("Unexpected token "+e.operator)}},UpdateExpression:function(e,t){var r,i=e.argument;if("Identifier"===i.type)r=bt(i,t,{getVar:!0});else{if("MemberExpression"!==i.type)throw new SyntaxError("Unexpected token");r=St(i,t,{getVar:!0})}var n=r.get();if("++"===e.operator)return r.set(n+1),e.prefix?r.get():n;if("--"===e.operator)return r.set(n-1),e.prefix?r.get():n;throw new SyntaxError("Unexpected token "+e.operator)},BinaryExpression:function(e,t){var r=Ft(e.left,t),i=Ft(e.right,t);switch(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 i<r;case">=":return i<=r;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 r instanceof i;default:throw new SyntaxError("Unexpected token "+e.operator)}},AssignmentExpression:function(e,t){var r,i,n=Ft(e.right,t),s=e.left;if("Identifier"===s.type){(i=bt(s,t,{getVar:!0,throwErr:!1}))||(r=t.global().find("window").get(),i=new lt(r,s.name))}else{if("MemberExpression"!==s.type)return Ir(s,t,{feed:n});i=St(s,t,{getVar:!0})}switch(e.operator){case"=":return i.set(n),i.get();case"+=":return i.set(i.get()+n),i.get();case"-=":return i.set(i.get()-n),i.get();case"*=":return i.set(i.get()*n),i.get();case"/=":return i.set(i.get()/n),i.get();case"%=":return i.set(i.get()%n),i.get();case"**=":return i.set(Math.pow(i.get(),n)),i.get();case"<<=":return i.set(i.get()<<n),i.get();case">>=":return i.set(i.get()>>n),i.get();case">>>=":return i.set(i.get()>>>n),i.get();case"|=":return i.set(i.get()|n),i.get();case"^=":return i.set(i.get()^n),i.get();case"&=":return i.set(i.get()&n),i.get();default:throw new SyntaxError("Unexpected token "+e.operator)}},LogicalExpression:function(e,t){switch(e.operator){case"||":return Ft(e.left,t)||Ft(e.right,t);case"&&":return Ft(e.left,t)&&Ft(e.right,t);default:throw new SyntaxError("Unexpected token "+e.operator)}},MemberExpression:St,ConditionalExpression:function(e,t){return Ft(e.test,t)?Ft(e.consequent,t):Ft(e.alternate,t)},CallExpression:function(e,t){var r,i;if("MemberExpression"===e.callee.type){r=St(e.callee,t,{getObj:!0});var n,s,a=void 0,a=e.callee.computed?Ft(e.callee.property,t):e.callee.property.name;if("function"!=typeof(s="Super"===e.callee.object.type?(n=t.find("this").get(),r[a].bind(n)):r[a]))throw new TypeError(a+" is not a function");if(s[at])throw new TypeError("Class constructor "+a+" cannot be invoked without 'new'")}else if(r=t.find("this").get(),"function"!=typeof(s=Ft(e.callee,t))||"Super"!==e.callee.type&&s[at]){if("Identifier"===e.callee.type)i=e.callee.name;else try{i=JSON.stringify(s)}catch(e){i=""+s}throw"function"!=typeof s?new TypeError(i+" is not a function"):new TypeError("Class constructor "+i+" cannot be invoked without 'new'")}for(var o=[],c=0;c<e.arguments.length;c++){var h=e.arguments[c];"SpreadElement"===h.type?o=o.concat(It(h,t)):o.push(Ft(h,t))}if("Super"===e.callee.type){if(t.find(nt).get())throw new ReferenceError("Super constructor may only be called once");t.find(nt).set(!0)}return r&&r[w]&&-1!==s.toString().indexOf("[native code]")?s.apply(r[w],o):s.apply(r,o)},NewExpression:function(e,t){var r,i=Ft(e.callee,t);if("function"!=typeof i){if("Identifier"===e.callee.type)r=e.callee.name;else try{r=JSON.stringify(i)}catch(e){r=""+i}throw new TypeError(r+" is not a constructor")}if(i[st])throw new TypeError((i.name||"(intermediate value)")+" is not a constructor");for(var n=[],s=0;s<e.arguments.length;s++){var a=e.arguments[s];"SpreadElement"===a.type?n=n.concat(It(a,t)):n.push(Ft(a,t))}return new(i.bind.apply(i,xt([void 0],n)))},MetaProperty:function(e,t){return t.find(ot).get()},SequenceExpression:function(e,t){for(var r,i=0;i<e.expressions.length;i++)r=Ft(e.expressions[i],t);return r},ArrowFunctionExpression:function(e,t){return Ar(e,t)},TemplateLiteral:function(e,t){for(var r,i,n=e.quasis.slice(),s=e.expressions.slice(),a="";r=n.shift();)a+=Et(r),(i=s.shift())&&(a+=Ft(i,t));return a},TaggedTemplateExpression:function(e,t){var r=Ft(e.tag,t),i=e.quasi.quasis,n=i.map(function(e){return e.value.cooked}),s=i.map(function(e){return e.value.raw});m(n,"raw",{value:l(s)});var a=e.quasi.expressions,o=[];if(a)for(var c=0;c<a.length;c++)o.push(Ft(a[c],t));return r.apply(void 0,xt([l(n)],o))},TemplateElement:Et,ClassExpression:function(e,t){if(e.id&&e.id.name){var r=new ft(t),i=Pr(e,r);return r.const(e.id.name,i),i}return Pr(e,t)},Super:Ct,SpreadElement:It});function Pt(e,t,r){void 0===r&&(r={});var i=r.invasived,n=void 0!==i&&i,s=r.hoisted,a=void 0!==s&&s,o=n?t:new ft(t);a||Er(e,o,{onlyBlock:!0});for(var c=0;c<e.body.length;c++){var h=Ft(e.body[c],o);if(h===rt||h===tt||h===et)return h}}function Tt(e,t){for(var r=0;r<e.consequent.length;r++){var i=Ft(e.consequent[r],t);if(i===rt||i===tt||i===et)return i}}function Vt(e,t){return Pt(e.body,t,{invasived:!0})}var Lt=Object.freeze({__proto__:null,ExpressionStatement:function(e,t){Ft(e.expression,t)},BlockStatement:Pt,EmptyStatement:function(){},DebuggerStatement:function(){debugger},ReturnStatement:function(e,t){return et.RES=e.argument?Ft(e.argument,t):void 0,et},BreakStatement:function(){return rt},ContinueStatement:function(){return tt},IfStatement:function(e,t){return Ft(e.test,t)?Ft(e.consequent,t):Ft(e.alternate,t)},SwitchStatement:function(e,t){for(var r=Ft(e.discriminant,t),i=!1,n=0;n<e.cases.length;n++){var s=e.cases[n];if(i||s.test&&Ft(s.test,t)!==r||(i=!0),i){var a=Tt(s,t);if(a===rt)break;if(a===tt||a===et)return a}}},SwitchCase:Tt,ThrowStatement:function(e,t){throw Ft(e.argument,t)},TryStatement:function(t,r){try{return Pt(t.block,r)}catch(e){if(t.handler){var i,n=new ft(r),s=t.handler.param;return s&&("Identifier"===s.type?(i=s.name,n.var(i,e)):Ir(s,r,{feed:e})),Vt(t.handler,n)}throw e}finally{if(t.finalizer){var e=Pt(t.finalizer,r);if(e===rt||e===tt||e===et)return e}}},CatchClause:Vt,WhileStatement:function(e,t){for(;Ft(e.test,t);){var r=Ft(e.body,t);if(r===rt)break;if(r!==tt&&r===et)return r}},DoWhileStatement:function(e,t){do{var r=Ft(e.body,t);if(r===rt)break;if(r!==tt&&r===et)return r}while(Ft(e.test,t))},ForStatement:function(e,t){var r=new ft(t);for(Ft(e.init,r);!e.test||Ft(e.test,r);Ft(e.update,r)){var i=new ft(r),n=void 0;if((n="BlockStatement"===e.body.type?Pt(e.body,i,{invasived:!0}):Ft(e.body,i))===rt)break;if(n!==tt&&n===et)return n}},ForInStatement:function(e,t){for(var r in Ft(e.right,t)){var i=Tr(e,t,{value:r});if(i===rt)break;if(i!==tt&&i===et)return i}},ForOfStatement:function(e,t){var r,i,n=Ft(e.right,t);try{for(var s=yt(n),a=s.next();!a.done;a=s.next()){var o=Tr(e,t,{value:a.value});if(o===rt)break;if(o!==tt&&o===et)return o}}catch(e){r={error:e}}finally{try{a&&!a.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}}});function Nt(e,t,r){void 0===r&&(r={});for(var i=r.kind,n=void 0===i?"var":i,s=r.hoist,a=void 0!==s&&s,o=r.onlyBlock,c=void 0!==o&&o,h=r.feed,u=void 0===h?{}:h,p=[],l=0;l<e.properties.length;l++){var d=e.properties[l];if(a)!c&&"var"!==n||("Property"===d.type?"Identifier"===(f=d.value).type?t[n](f.name,c?ht:"var"===n?ct:void 0):Ir(f,t,{kind:n,hoist:a,onlyBlock:c}):Bt(d,t,{kind:n,hoist:a,onlyBlock:c}));else if("Property"===d.type){var f,m=void 0,m=d.computed?Ft(d.key,t):d.key.name;p.push(m),"Identifier"===(f=d.value).type?t[n](f.name,u[m]):Ir(f,t,{kind:n,feed:u[m]})}else{for(var g=x({},u),y=0;y<p.length;y++)delete g[p[y]];Bt(d,t,{kind:n,feed:g})}}}function Rt(e,t,r){void 0===r&&(r={});for(var i=r.kind,n=r.hoist,s=void 0!==n&&n,a=r.onlyBlock,o=void 0!==a&&a,c=r.feed,h=void 0===c?[]:c,u=[],p=0;p<e.elements.length;p++){var l,d=e.elements[p];d&&(s?!o&&"var"!==i||("Identifier"===d.type?t[i](d.name,o?ht:"var"===i?ct:void 0):Ir(d,t,{kind:i,hoist:s,onlyBlock:o})):"Identifier"===d.type?i?t[i](d.name,h[p]):((l=bt(d,t,{getVar:!0})).set(h[p]),u.push(l.get())):"RestElement"===d.type?Bt(d,t,{kind:i,feed:h.slice(p)}):Ir(d,t,{kind:i,feed:h[p]}))}if(u.length)return u}function Bt(e,t,r){void 0===r&&(r={});var i=r.kind,n=r.hoist,s=void 0!==n&&n,a=r.onlyBlock,o=void 0!==a&&a,c=r.feed,h=void 0===c?[]:c,u=e.argument;s?!o&&"var"!==i||("Identifier"===u.type?t[i](u.name,o?ht:"var"===i?ct:void 0):Ir(u,t,{kind:i,hoist:s,onlyBlock:o})):"Identifier"===u.type?i?t[i](u.name,h):bt(u,t,{getVar:!0}).set(h):Ir(u,t,{kind:i,feed:h})}function Ot(e,t,r){void 0===r&&(r={});var i=r.kind,n=void 0===i?"var":i,s=r.hoist,a=void 0!==s&&s,o=r.onlyBlock,c=void 0!==o&&o,h=r.feed,u=void 0===h?Ft(e.right,t):h,p=e.left;a?!c&&"var"!==n||("Identifier"===p.type?t[n](p.name,c?ht:"var"===n?ct:void 0):Ir(p,t,{kind:n,hoist:a,onlyBlock:c})):"Identifier"===p.type?t[n](p.name,u):Ir(p,t,{kind:n,feed:u})}var Mt=Object.freeze({__proto__:null,ObjectPattern:Nt,ArrayPattern:Rt,RestElement:Bt,AssignmentPattern:Ot});var Dt,Ut=Object.freeze({__proto__:null,Program:function(e,t){for(var r=0;r<e.body.length;r++)Ft(e.body[r],t)}});function Ft(e,t){if(e){var r=(Dt=Dt||x({},i,At,wt,Lt,_t,Mt,Ut))[e.type];if(r)return r(e,t);throw new Error(e.type+" isn't implemented")}}function jt(e,t){t.func(e.id.name,Ar(e,t))}function qt(e,t,r){void 0===r&&(r={});for(var i=0;i<e.declarations.length;i++)Wt(e.declarations[i],t,x({kind:e.kind},r))}function Wt(e,t,r){void 0===r&&(r={});var i,n,s,a=r.kind,o=void 0===a?"var":a,c=r.hoist,h=void 0!==c&&c,u=r.onlyBlock,p=void 0!==u&&u,l=r.feed;h?!p&&"var"!==o||("Identifier"===e.id.type?t[o](e.id.name,p?ht:"var"===o?ct:void 0):Ir(e.id,t,{kind:o,hoist:h,onlyBlock:p})):(n=(i="feed"in r)?l:Ft(e.init,t),"Identifier"===e.id.type?(s=e.id.name,"var"!==o||e.init||i?t[o](s,n):t.var(s,ct),e.init&&-1!==["ClassExpression","FunctionExpression","ArrowFunctionExpression"].indexOf(e.init.type)&&!n.name&&m(n,"name",{value:s,configurable:!0})):Ir(e.id,t,{kind:o,feed:n}))}function Gt(e,t){t.func(e.id.name,Pr(e,t))}function Ht(e,t,r){void 0===r&&(r={});for(var i=r.klass,n=r.superClass,s=0;s<e.body.length;s++)zt(e.body[s],t,{klass:i,superClass:n})}function zt(e,t,r){void 0===r&&(r={});var i,n=r.klass,s=r.superClass;if(e.computed)i=Ft(e.key,t);else{if("Identifier"!==e.key.type)throw new SyntaxError("Unexpected token");i=e.key.name}var a=e.static?n:n.prototype,o=Ar(e.value,t,{superClass:s});switch(e.kind){case"constructor":break;case"method":m(a,i,{value:o,writable:!0,configurable:!0});break;case"get":var c=f(a,i);m(a,i,{get:o,set:c&&c.set,configurable:!0});break;case"set":c=f(a,i);m(a,i,{get:c&&c.get,set:o,configurable:!0});break;default:throw new SyntaxError("Unexpected token")}}function Kt(t,r,i){var n,s,a,o,c,h;return void 0===i&&(i={}),gt(this,function(e){if(n=i.getVar,s=void 0!==n&&n,a=i.throwErr,o=void 0===a||a,"undefined"===t.name)return[2,void 0];if(c=r.find(t.name)){if(s)return[2,c];if((h=c.get())===ht)throw new ReferenceError(t.name+" is not defined");return[2,h]}if(o)throw new ReferenceError(t.name+" is not defined");return[2,void 0]})}var Qt=Object.freeze({__proto__:null,Identifier:Kt});function Xt(t,e){return gt(this,function(e){return[2,t.value]})}var Jt=Object.freeze({__proto__:null,Literal:Xt});function Yt(t,r,i){var n,s,a,o,c,h,u,p,l,d;return void 0===i&&(i={}),gt(this,function(e){switch(e.label){case 0:return n=i.getObj,s=void 0!==n&&n,a=i.getVar,o=void 0!==a&&a,"Super"!==t.object.type?[3,2]:[5,yt($t(t.object,r,{getProto:!0}))];case 1:return c=e.sent(),[3,4];case 2:return[5,yt(lr(t.object,r))];case 3:c=e.sent(),e.label=4;case 4:return s?[2,c]:t.computed?[5,yt(lr(t.property,r))]:[3,6];case 5:return h=e.sent(),[3,7];case 6:h=t.property.name,e.label=7;case 7:return o?(u=y(c,h),"Super"===t.object.type&&u?(d=r.find("this").get(),p=k(h),m(d,p,{set:u}),[2,new lt(d,p)]):[2,new lt(c,h)]):(l=g(c,h),"Super"===t.object.type&&l?(d=r.find("this").get(),[2,l.call(d)]):[2,c[h]])}})}function Zt(t,e){return gt(this,function(e){return[2,t.value.raw]})}function $t(e,t,r){var i,n,s;return void 0===r&&(r={}),gt(this,function(e){return i=r.getProto,n=void 0!==i&&i,s=t.find(it).get(),[2,n?s.prototype:s]})}function er(t,r){return gt(this,function(e){switch(e.label){case 0:return[5,yt(lr(t.argument,r))];case 1:return[2,e.sent()]}})}var tr=Object.freeze({__proto__:null,ThisExpression:function(e,t){var r;return gt(this,function(e){if((r=t.find(nt))&&!r.get())throw new ReferenceError("Must call super constructor in derived class before accessing 'this' or returning from derived constructor");return[2,t.find("this").get()]})},ArrayExpression:function(t,r){var i,n,s,a,o,c,h;return gt(this,function(e){switch(e.label){case 0:i=[],n=0,e.label=1;case 1:return n<t.elements.length?"SpreadElement"!==(s=t.elements[n]).type?[3,3]:(o=(a=i).concat,[5,yt(er(s,r))]):[3,6];case 2:return i=o.apply(a,[e.sent()]),[3,5];case 3:return h=(c=i).push,[5,yt(lr(s,r))];case 4:h.apply(c,[e.sent()]),e.label=5;case 5:return n++,[3,1];case 6:return[2,i]}})},ObjectExpression:function(t,r){var i,n,s,a,o,c,h,u,p,l,d;return gt(this,function(e){switch(e.label){case 0:i={},n=0,e.label=1;case 1:return n<t.properties.length?"SpreadElement"!==(s=t.properties[n]).type?[3,3]:(a=x,o=[i],[5,yt(er(s,r))]):[3,11];case 2:return a.apply(void 0,o.concat([e.sent()])),[3,10];case 3:return c=void 0,h=s.key,s.computed?[5,yt(lr(h,r))]:[3,5];case 4:return c=e.sent(),[3,8];case 5:return"Identifier"!==h.type?[3,6]:(c=h.name,[3,8]);case 6:return u="",[5,yt(Xt(h))];case 7:c=u+e.sent(),e.label=8;case 8:return[5,yt(lr(s.value,r))];case 9:p=e.sent(),"init"===(l=s.kind)?i[c]=p:"get"===l?(d=f(i,c),m(i,c,{get:p,set:d&&d.set,enumerable:!0,configurable:!0})):(d=f(i,c),m(i,c,{get:d&&d.get,set:p,enumerable:!0,configurable:!0})),e.label=10;case 10:return n++,[3,1];case 11:return[2,i]}})},FunctionExpression:function(t,r){var i,n;return gt(this,function(e){return t.id&&t.id.name?(i=new ft(r),n=kr(t,i),i.const(t.id.name,n),[2,n]):[2,kr(t,r)]})},UnaryExpression:function(t,r){var i;return gt(this,function(e){switch(e.label){case 0:switch(i=t.argument,t.operator){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,15]}return[3,20];case 1:return[5,yt(lr(i,r))];case 2:return[2,+e.sent()];case 3:return[5,yt(lr(i,r))];case 4:return[2,-e.sent()];case 5:return[5,yt(lr(i,r))];case 6:return[2,!e.sent()];case 7:return[5,yt(lr(i,r))];case 8:return[2,~e.sent()];case 9:return[5,yt(lr(i,r))];case 10:return[2,void e.sent()];case 11:return"Identifier"!==i.type?[3,13]:[5,yt(Kt(i,r,{throwErr:!1}))];case 12:return[2,typeof e.sent()];case 13:return[5,yt(lr(i,r))];case 14:return[2,typeof e.sent()];case 15:return"MemberExpression"!==i.type?[3,17]:[5,yt(Yt(i,r,{getVar:!0}))];case 16:return[2,e.sent().del()];case 17:if("Identifier"!==i.type)return[3,18];throw new SyntaxError("Delete of an unqualified identifier in strict mode");case 18:return[5,yt(lr(i,r))];case 19:return e.sent(),[2,!0];case 20:throw new SyntaxError("Unexpected token "+t.operator)}})},UpdateExpression:function(t,r){var i,n,s;return gt(this,function(e){switch(e.label){case 0:return"Identifier"!==(i=t.argument).type?[3,2]:[5,yt(Kt(i,r,{getVar:!0}))];case 1:return n=e.sent(),[3,5];case 2:return"MemberExpression"!==i.type?[3,4]:[5,yt(Yt(i,r,{getVar:!0}))];case 3:return n=e.sent(),[3,5];case 4:throw new SyntaxError("Unexpected token");case 5:if(s=n.get(),"++"===t.operator)return n.set(s+1),[2,t.prefix?n.get():s];if("--"===t.operator)return n.set(s-1),[2,t.prefix?n.get():s];throw new SyntaxError("Unexpected token "+t.operator)}})},BinaryExpression:function(t,r){var i,n;return gt(this,function(e){switch(e.label){case 0:return[5,yt(lr(t.left,r))];case 1:return i=e.sent(),[5,yt(lr(t.right,r))];case 2:switch(n=e.sent(),t.operator){case"==":return[2,i==n];case"!=":return[2,i!=n];case"===":return[2,i===n];case"!==":return[2,i!==n];case"<":return[2,i<n];case"<=":return[2,i<=n];case">":return[2,n<i];case">=":return[2,n<=i];case"<<":return[2,i<<n];case">>":return[2,i>>n];case">>>":return[2,i>>>n];case"+":return[2,i+n];case"-":return[2,i-n];case"*":return[2,i*n];case"**":return[2,Math.pow(i,n)];case"/":return[2,i/n];case"%":return[2,i%n];case"|":return[2,i|n];case"^":return[2,i^n];case"&":return[2,i&n];case"in":return[2,i in n];case"instanceof":return[2,i instanceof n];default:throw new SyntaxError("Unexpected token "+t.operator)}}})},AssignmentExpression:function(t,r){var i,n,s,a;return gt(this,function(e){switch(e.label){case 0:return[5,yt(lr(t.right,r))];case 1:return i=e.sent(),"Identifier"!==(n=t.left).type?[3,3]:[5,yt(Kt(n,r,{getVar:!0,throwErr:!1}))];case 2:return(s=e.sent())||(a=r.global().find("window").get(),s=new lt(a,n.name)),[3,7];case 3:return"MemberExpression"!==n.type?[3,5]:[5,yt(Yt(n,r,{getVar:!0}))];case 4:return s=e.sent(),[3,7];case 5:return[5,yt(wr(n,r,{feed:i}))];case 6:return[2,e.sent()];case 7:switch(t.operator){case"=":return s.set(i),[2,s.get()];case"+=":return s.set(s.get()+i),[2,s.get()];case"-=":return s.set(s.get()-i),[2,s.get()];case"*=":return s.set(s.get()*i),[2,s.get()];case"/=":return s.set(s.get()/i),[2,s.get()];case"%=":return s.set(s.get()%i),[2,s.get()];case"**=":return s.set(Math.pow(s.get(),i)),[2,s.get()];case"<<=":return s.set(s.get()<<i),[2,s.get()];case">>=":return s.set(s.get()>>i),[2,s.get()];case">>>=":return s.set(s.get()>>>i),[2,s.get()];case"|=":return s.set(s.get()|i),[2,s.get()];case"^=":return s.set(s.get()^i),[2,s.get()];case"&=":return s.set(s.get()&i),[2,s.get()];default:throw new SyntaxError("Unexpected token "+t.operator)}}})},LogicalExpression:function(t,r){var i,n;return gt(this,function(e){switch(e.label){case 0:switch(t.operator){case"||":return[3,1];case"&&":return[3,5]}return[3,9];case 1:return[5,yt(lr(t.left,r))];case 2:return(i=e.sent())?[3,4]:[5,yt(lr(t.right,r))];case 3:i=e.sent(),e.label=4;case 4:return[2,i];case 5:return[5,yt(lr(t.left,r))];case 6:return(n=e.sent())?[5,yt(lr(t.right,r))]:[3,8];case 7:n=e.sent(),e.label=8;case 8:return[2,n];case 9:throw new SyntaxError("Unexpected token "+t.operator)}})},MemberExpression:Yt,ConditionalExpression:function(t,r){var i;return gt(this,function(e){switch(e.label){case 0:return[5,yt(lr(t.test,r))];case 1:return e.sent()?[5,yt(lr(t.consequent,r))]:[3,3];case 2:return i=e.sent(),[3,5];case 3:return[5,yt(lr(t.alternate,r))];case 4:i=e.sent(),e.label=5;case 5:return[2,i]}})},CallExpression:function(t,r){var i,n,s,a,o,c,h,u,p,l,d,f;return gt(this,function(e){switch(e.label){case 0:return"MemberExpression"!==t.callee.type?[3,5]:[5,yt(Yt(t.callee,r,{getObj:!0}))];case 1:return n=e.sent(),s=void 0,t.callee.computed?[5,yt(lr(t.callee.property,r))]:[3,3];case 2:return s=e.sent(),[3,4];case 3:s=t.callee.property.name,e.label=4;case 4:if("function"!=typeof(i="Super"===t.callee.object.type?(a=r.find("this").get(),n[s].bind(a)):n[s]))throw new TypeError(s+" is not a function");if(i[at])throw new TypeError("Class constructor "+s+" cannot be invoked without 'new'");return[3,7];case 5:return n=r.find("this").get(),[5,yt(lr(t.callee,r))];case 6:if("function"!=typeof(i=e.sent())||"Super"!==t.callee.type&&i[at]){if("Identifier"===t.callee.type)o=t.callee.name;else try{o=JSON.stringify(i)}catch(e){o=""+i}throw"function"!=typeof i?new TypeError(o+" is not a function"):new TypeError("Class constructor "+o+" cannot be invoked without 'new'")}e.label=7;case 7:c=[],h=0,e.label=8;case 8:return h<t.arguments.length?"SpreadElement"!==(u=t.arguments[h]).type?[3,10]:(l=(p=c).concat,[5,yt(er(u,r))]):[3,13];case 9:return c=l.apply(p,[e.sent()]),[3,12];case 10:return f=(d=c).push,[5,yt(lr(u,r))];case 11:f.apply(d,[e.sent()]),e.label=12;case 12:return h++,[3,8];case 13:if("Super"===t.callee.type){if(r.find(nt).get())throw new ReferenceError("Super constructor may only be called once");r.find(nt).set(!0)}return n&&n[w]&&-1!==i.toString().indexOf("[native code]")?[2,i.apply(n[w],c)]:[2,i.apply(n,c)]}})},NewExpression:function(t,r){var i,n,s,a,o,c,h,u,p;return gt(this,function(e){switch(e.label){case 0:return[5,yt(lr(t.callee,r))];case 1:if("function"!=typeof(i=e.sent())){if("Identifier"===t.callee.type)n=t.callee.name;else try{n=JSON.stringify(i)}catch(e){n=""+i}throw new TypeError(n+" is not a constructor")}if(i[st])throw new TypeError((i.name||"(intermediate value)")+" is not a constructor");s=[],a=0,e.label=2;case 2:return a<t.arguments.length?"SpreadElement"!==(o=t.arguments[a]).type?[3,4]:(h=(c=s).concat,[5,yt(er(o,r))]):[3,7];case 3:return s=h.apply(c,[e.sent()]),[3,6];case 4:return p=(u=s).push,[5,yt(lr(o,r))];case 5:p.apply(u,[e.sent()]),e.label=6;case 6:return a++,[3,2];case 7:return[2,new(i.bind.apply(i,xt([void 0],s)))]}})},MetaProperty:function(e,t){return gt(this,function(e){return[2,t.find(ot).get()]})},SequenceExpression:function(t,r){var i,n;return gt(this,function(e){switch(e.label){case 0:n=0,e.label=1;case 1:return n<t.expressions.length?[5,yt(lr(t.expressions[n],r))]:[3,4];case 2:i=e.sent(),e.label=3;case 3:return n++,[3,1];case 4:return[2,i]}})},ArrowFunctionExpression:function(t,r){return gt(this,function(e){return[2,kr(t,r)]})},TemplateLiteral:function(t,r){var i,n,s,a,o,c,h;return gt(this,function(e){switch(e.label){case 0:i=t.quasis.slice(),n=t.expressions.slice(),s="",e.label=1;case 1:return(a=i.shift())?(c=s,[5,yt(Zt(a))]):[3,5];case 2:return(s=c+e.sent(),o=n.shift())?(h=s,[5,yt(lr(o,r))]):[3,4];case 3:s=h+e.sent(),e.label=4;case 4:return[3,1];case 5:return[2,s]}})},TaggedTemplateExpression:function(t,r){var i,n,s,a,o,c,h,u,p;return gt(this,function(e){switch(e.label){case 0:return[5,yt(lr(t.tag,r))];case 1:if(i=e.sent(),n=t.quasi.quasis,s=n.map(function(e){return e.value.cooked}),a=n.map(function(e){return e.value.raw}),m(s,"raw",{value:l(a)}),o=t.quasi.expressions,c=[],!o)return[3,5];h=0,e.label=2;case 2:return h<o.length?(p=(u=c).push,[5,yt(lr(o[h],r))]):[3,5];case 3:p.apply(u,[e.sent()]),e.label=4;case 4:return h++,[3,2];case 5:return[2,i.apply(void 0,xt([l(s)],c))]}})},TemplateElement:Zt,ClassExpression:function(t,r){var i,n;return gt(this,function(e){switch(e.label){case 0:return t.id&&t.id.name?(i=new ft(r),[5,yt(_r(t,i))]):[3,2];case 1:return n=e.sent(),i.const(t.id.name,n),[2,n];case 2:return[5,yt(_r(t,r))];case 3:return[2,e.sent()]}})},Super:$t,SpreadElement:er,YieldExpression:function(t,r){var i,n;return gt(this,function(e){switch(e.label){case 0:return[5,yt(lr(t.argument,r))];case 1:return i=e.sent(),t.delegate?[5,yt(i)]:[3,3];case 2:return n=e.sent(),[3,5];case 3:return[4,i];case 4:n=e.sent(),e.label=5;case 5:return[2,n]}})},AwaitExpression:function(t,r){var i;return gt(this,function(e){switch(e.label){case 0:return i=$e,[5,yt(lr(t.argument,r))];case 1:return i.RES=e.sent(),[4,$e];case 2:return[2,e.sent()]}})}});function rr(t,r,i){var n,s,a,o,c,h,u;return void 0===i&&(i={}),gt(this,function(e){switch(e.label){case 0:return n=i.invasived,s=void 0!==n&&n,a=i.hoisted,o=void 0!==a&&a,c=s?r:new ft(r),o?[3,2]:[5,yt(br(t,c,{onlyBlock:!0}))];case 1:e.sent(),e.label=2;case 2:h=0,e.label=3;case 3:return h<t.body.length?[5,yt(lr(t.body[h],c))]:[3,6];case 4:if((u=e.sent())===rt||u===tt||u===et)return[2,u];e.label=5;case 5:return h++,[3,3];case 6:return[2]}})}function ir(t,r){var i,n;return gt(this,function(e){switch(e.label){case 0:i=0,e.label=1;case 1:return i<t.consequent.length?[5,yt(lr(t.consequent[i],r))]:[3,4];case 2:if((n=e.sent())===rt||n===tt||n===et)return[2,n];e.label=3;case 3:return i++,[3,1];case 4:return[2]}})}function nr(t,r){return gt(this,function(e){switch(e.label){case 0:return[5,yt(rr(t.body,r,{invasived:!0}))];case 1:return[2,e.sent()]}})}var sr=Object.freeze({__proto__:null,ExpressionStatement:function(t,r){return gt(this,function(e){switch(e.label){case 0:return[5,yt(lr(t.expression,r))];case 1:return e.sent(),[2]}})},BlockStatement:rr,EmptyStatement:function(){return gt(this,function(e){return[2]})},DebuggerStatement:function(){return gt(this,function(e){debugger;return[2]})},ReturnStatement:function(t,r){var i,n;return gt(this,function(e){switch(e.label){case 0:return i=et,t.argument?[5,yt(lr(t.argument,r))]:[3,2];case 1:return n=e.sent(),[3,3];case 2:n=void 0,e.label=3;case 3:return i.RES=n,[2,et]}})},BreakStatement:function(){return gt(this,function(e){return[2,rt]})},ContinueStatement:function(){return gt(this,function(e){return[2,tt]})},IfStatement:function(t,r){return gt(this,function(e){switch(e.label){case 0:return[5,yt(lr(t.test,r))];case 1:return e.sent()?[5,yt(lr(t.consequent,r))]:[3,3];case 2:return[2,e.sent()];case 3:return[5,yt(lr(t.alternate,r))];case 4:return[2,e.sent()]}})},SwitchStatement:function(t,r){var i,n,s,a,o,c,h;return gt(this,function(e){switch(e.label){case 0:return[5,yt(lr(t.discriminant,r))];case 1:i=e.sent(),n=!1,s=0,e.label=2;case 2:return s<t.cases.length?(a=t.cases[s],(o=!n)?(c=!a.test)?[3,4]:[5,yt(lr(a.test,r))]:[3,5]):[3,8];case 3:c=e.sent()===i,e.label=4;case 4:o=c,e.label=5;case 5:return o&&(n=!0),n?[5,yt(ir(a,r))]:[3,7];case 6:if((h=e.sent())===rt)return[3,8];if(h===tt||h===et)return[2,h];e.label=7;case 7:return s++,[3,2];case 8:return[2]}})},SwitchCase:ir,ThrowStatement:function(t,r){return gt(this,function(e){switch(e.label){case 0:return[5,yt(lr(t.argument,r))];case 1:throw e.sent()}})},TryStatement:function(t,r){var i,n,s,a,o;return gt(this,function(e){switch(e.label){case 0:return e.trys.push([0,2,9,12]),[5,yt(rr(t.block,r))];case 1:return[2,e.sent()];case 2:return(i=e.sent(),t.handler)?(n=new ft(r),(s=t.handler.param)?"Identifier"!==s.type?[3,3]:(a=s.name,n.var(a,i),[3,5]):[3,5]):[3,7];case 3:return[5,yt(wr(s,r,{feed:i}))];case 4:e.sent(),e.label=5;case 5:return[5,yt(nr(t.handler,n))];case 6:return[2,e.sent()];case 7:throw i;case 8:return[3,12];case 9:return t.finalizer?[5,yt(rr(t.finalizer,r))]:[3,11];case 10:if((o=e.sent())===rt||o===tt||o===et)return[2,o];e.label=11;case 11:return[7];case 12:return[2]}})},CatchClause:nr,WhileStatement:function(t,r){var i;return gt(this,function(e){switch(e.label){case 0:return[5,yt(lr(t.test,r))];case 1:return e.sent()?[5,yt(lr(t.body,r))]:[3,3];case 2:return(i=e.sent())===rt?[3,3]:i!==tt&&i===et?[2,i]:[3,0];case 3:return[2]}})},DoWhileStatement:function(t,r){var i;return gt(this,function(e){switch(e.label){case 0:return[5,yt(lr(t.body,r))];case 1:if((i=e.sent())===rt)return[3,4];if(i===tt)return[3,2];if(i===et)return[2,i];e.label=2;case 2:return[5,yt(lr(t.test,r))];case 3:if(e.sent())return[3,0];e.label=4;case 4:return[2]}})},ForStatement:function(t,r){var i,n,s,a;return gt(this,function(e){switch(e.label){case 0:return i=new ft(r),[5,yt(lr(t.init,i))];case 1:e.sent(),e.label=2;case 2:return t.test?[5,yt(lr(t.test,i))]:[3,4];case 3:return n=e.sent(),[3,5];case 4:n=!0,e.label=5;case 5:return n?(s=new ft(i),a=void 0,"BlockStatement"!==t.body.type?[3,7]:[5,yt(rr(t.body,s,{invasived:!0}))]):[3,12];case 6:return a=e.sent(),[3,9];case 7:return[5,yt(lr(t.body,s))];case 8:a=e.sent(),e.label=9;case 9:if(a===rt)return[3,12];if(a===tt)return[3,10];if(a===et)return[2,a];e.label=10;case 10:return[5,yt(lr(t.update,i))];case 11:return e.sent(),[3,2];case 12:return[2]}})},ForInStatement:function(t,r){var i,n,s,a,o;return gt(this,function(e){switch(e.label){case 0:return i=[],[5,yt(lr(t.right,r))];case 1:for(n in e.sent())i.push(n);s=0,e.label=2;case 2:return s<i.length?(a=i[s],[5,yt(Sr(t,r,{value:a}))]):[3,5];case 3:if((o=e.sent())===rt)return[3,5];if(o===tt)return[3,4];if(o===et)return[2,o];e.label=4;case 4:return s++,[3,2];case 5:return[2]}})},ForOfStatement:function(t,r){var i,n,s,a,o,c,h,u,p,l;return gt(this,function(e){switch(e.label){case 0:return[5,yt(lr(t.right,r))];case 1:return(i=e.sent(),t.await)?(n=function(e){var t;if("function"==typeof Symbol&&(t=(t=e[Symbol.asyncIterator])||e[Symbol.iterator]),t)return t.call(e);if("function"==typeof e.next)return e;var r=0;return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}}(i),s=void 0,$e.RES=n.next(),[4,$e]):[3,8];case 2:s=e.sent(),e.label=3;case 3:return s.done?[3,7]:[5,yt(Sr(t,r,{value:s.value}))];case 4:if((h=e.sent())===rt)return[3,7];if(h===tt)return[3,5];if(h===et)return[2,h];e.label=5;case 5:return $e.RES=n.next(),[4,$e];case 6:return s=e.sent(),[3,3];case 7:return[3,15];case 8:e.trys.push([8,13,14,15]),a=yt(i),o=a.next(),e.label=9;case 9:return o.done?[3,12]:(c=o.value,[5,yt(Sr(t,r,{value:c}))]);case 10:if((h=e.sent())===rt)return[3,12];if(h===tt)return[3,11];if(h===et)return[2,h];e.label=11;case 11:return o=a.next(),[3,9];case 12:return[3,15];case 13:return u=e.sent(),p={error:u},[3,15];case 14:try{o&&!o.done&&(l=a.return)&&l.call(a)}finally{if(p)throw p.error}return[7];case 15:return[2]}})}});function ar(t,r,i){var n,s,a,o,c,h,u,p,l,d,f,m,g,y,v;return void 0===i&&(i={}),gt(this,function(e){switch(e.label){case 0:n=i.kind,s=void 0===n?"var":n,a=i.hoist,o=void 0!==a&&a,c=i.onlyBlock,h=void 0!==c&&c,u=i.feed,p=void 0===u?{}:u,l=[],d=0,e.label=1;case 1:return d<t.properties.length?(f=t.properties[d],o?h||"var"===s?"Property"!==f.type?[3,5]:"Identifier"!==(g=f.value).type?[3,2]:(r[s](g.name,h?ht:"var"===s?ct:void 0),[3,4]):[3,7]:[3,8]):[3,18];case 2:return[5,yt(wr(g,r,{kind:s,hoist:o,onlyBlock:h}))];case 3:e.sent(),e.label=4;case 4:return[3,7];case 5:return[5,yt(cr(f,r,{kind:s,hoist:o,onlyBlock:h}))];case 6:e.sent(),e.label=7;case 7:return[3,17];case 8:return"Property"!==f.type?[3,15]:(m=void 0,f.computed?[5,yt(lr(f.key,r))]:[3,10]);case 9:return m=e.sent(),[3,11];case 10:m=f.key.name,e.label=11;case 11:return(l.push(m),"Identifier"!==(g=f.value).type)?[3,12]:(r[s](g.name,p[m]),[3,14]);case 12:return[5,yt(wr(g,r,{kind:s,feed:p[m]}))];case 13:e.sent(),e.label=14;case 14:return[3,17];case 15:for(y=x({},p),v=0;v<l.length;v++)delete y[l[v]];return[5,yt(cr(f,r,{kind:s,feed:y}))];case 16:e.sent(),e.label=17;case 17:return d++,[3,1];case 18:return[2]}})}function or(t,r,i){var n,s,a,o,c,h,u,p,l,d,f;return void 0===i&&(i={}),gt(this,function(e){switch(e.label){case 0:n=i.kind,s=i.hoist,a=void 0!==s&&s,o=i.onlyBlock,c=void 0!==o&&o,h=i.feed,u=void 0===h?[]:h,p=[],l=0,e.label=1;case 1:return l<t.elements.length?(d=t.elements[l])?a?c||"var"===n?"Identifier"!==d.type?[3,2]:(r[n](d.name,c?ht:"var"===n?ct:void 0),[3,4]):[3,4]:[3,5]:[3,13]:[3,14];case 2:return[5,yt(wr(d,r,{kind:n,hoist:a,onlyBlock:c}))];case 3:e.sent(),e.label=4;case 4:return[3,13];case 5:return"Identifier"!==d.type?[3,9]:n?(r[n](d.name,u[l]),[3,8]):[3,6];case 6:return[5,yt(Kt(d,r,{getVar:!0}))];case 7:(f=e.sent()).set(u[l]),p.push(f.get()),e.label=8;case 8:return[3,13];case 9:return"RestElement"!==d.type?[3,11]:[5,yt(cr(d,r,{kind:n,feed:u.slice(l)}))];case 10:return e.sent(),[3,13];case 11:return[5,yt(wr(d,r,{kind:n,feed:u[l]}))];case 12:e.sent(),e.label=13;case 13:return l++,[3,1];case 14:return p.length?[2,p]:[2]}})}function cr(t,r,i){var n,s,a,o,c,h,u,p;return void 0===i&&(i={}),gt(this,function(e){switch(e.label){case 0:return(n=i.kind,s=i.hoist,a=void 0!==s&&s,o=i.onlyBlock,c=void 0!==o&&o,h=i.feed,u=void 0===h?[]:h,p=t.argument,a)?c||"var"===n?"Identifier"!==p.type?[3,1]:(r[n](p.name,c?ht:"var"===n?ct:void 0),[3,3]):[3,3]:[3,4];case 1:return[5,yt(wr(p,r,{kind:n,hoist:a,onlyBlock:c}))];case 2:e.sent(),e.label=3;case 3:return[3,10];case 4:return"Identifier"!==p.type?[3,8]:n?(r[n](p.name,u),[3,7]):[3,5];case 5:return[5,yt(Kt(p,r,{getVar:!0}))];case 6:e.sent().set(u),e.label=7;case 7:return[3,10];case 8:return[5,yt(wr(p,r,{kind:n,feed:u}))];case 9:e.sent(),e.label=10;case 10:return[2]}})}function hr(t,r,i){var n,s,a,o,c,h,u,p,l,d;return void 0===i&&(i={}),gt(this,function(e){switch(e.label){case 0:return n=i.kind,s=void 0===n?"var":n,a=i.hoist,o=void 0!==a&&a,c=i.onlyBlock,h=void 0!==c&&c,void 0!==(u=i.feed)?[3,2]:[5,yt(lr(t.right,r))];case 1:return l=e.sent(),[3,3];case 2:l=u,e.label=3;case 3:return(p=l,d=t.left,o)?h||"var"===s?"Identifier"!==d.type?[3,4]:(r[s](d.name,h?ht:"var"===s?ct:void 0),[3,6]):[3,6]:[3,7];case 4:return[5,yt(wr(d,r,{kind:s,hoist:o,onlyBlock:h}))];case 5:e.sent(),e.label=6;case 6:return[3,10];case 7:return"Identifier"!==d.type?[3,8]:(r[s](d.name,p),[3,10]);case 8:return[5,yt(wr(d,r,{kind:s,feed:p}))];case 9:e.sent(),e.label=10;case 10:return[2]}})}var ur,pr=Object.freeze({__proto__:null,ObjectPattern:ar,ArrayPattern:or,RestElement:cr,AssignmentPattern:hr});function lr(t,r){var i;return gt(this,function(e){switch(e.label){case 0:return t?(ur=ur||x({},n,tr,Qt,sr,Jt,pr),(i=ur[t.type])?[5,yt(i(t,r))]:[3,2]):[2];case 1:return[2,e.sent()];case 2:throw new Error(t.type+" isn't implemented")}})}function dr(t,r){return gt(this,function(e){return r.func(t.id.name,kr(t,r)),[2]})}function fr(t,r,i){var n;return void 0===i&&(i={}),gt(this,function(e){switch(e.label){case 0:n=0,e.label=1;case 1:return n<t.declarations.length?[5,yt(mr(t.declarations[n],r,x({kind:t.kind},i)))]:[3,4];case 2:e.sent(),e.label=3;case 3:return n++,[3,1];case 4:return[2]}})}function mr(t,r,i){var n,s,a,o,c,h,u,p,l,d,f;return void 0===i&&(i={}),gt(this,function(e){switch(e.label){case 0:return(n=i.kind,s=void 0===n?"var":n,a=i.hoist,o=void 0!==a&&a,c=i.onlyBlock,h=void 0!==c&&c,u=i.feed,o)?h||"var"===s?"Identifier"!==t.id.type?[3,1]:(r[s](t.id.name,h?ht:"var"===s?ct:void 0),[3,3]):[3,3]:[3,4];case 1:return[5,yt(wr(t.id,r,{kind:s,hoist:o,onlyBlock:h}))];case 2:e.sent(),e.label=3;case 3:return[3,10];case 4:return(p="feed"in i)?(d=u,[3,7]):[3,5];case 5:return[5,yt(lr(t.init,r))];case 6:d=e.sent(),e.label=7;case 7:return(l=d,"Identifier"!==t.id.type)?[3,8]:(f=t.id.name,"var"!==s||t.init||p?r[s](f,l):r.var(f,ct),t.init&&-1!==["ClassExpression","FunctionExpression","ArrowFunctionExpression"].indexOf(t.init.type)&&!l.name&&m(l,"name",{value:f,configurable:!0}),[3,10]);case 8:return[5,yt(wr(t.id,r,{kind:s,feed:l}))];case 9:e.sent(),e.label=10;case 10:return[2]}})}function gr(t,r){var i,n,s;return gt(this,function(e){switch(e.label){case 0:return n=(i=r).func,s=[t.id.name],[5,yt(_r(t,r))];case 1:return n.apply(i,s.concat([e.sent()])),[2]}})}function yr(t,r,i){var n,s,a;return void 0===i&&(i={}),gt(this,function(e){switch(e.label){case 0:n=i.klass,s=i.superClass,a=0,e.label=1;case 1:return a<t.body.length?[5,yt(vr(t.body[a],r,{klass:n,superClass:s}))]:[3,4];case 2:e.sent(),e.label=3;case 3:return a++,[3,1];case 4:return[2]}})}function vr(t,r,i){var n,s,a,o,c,h;return void 0===i&&(i={}),gt(this,function(e){switch(e.label){case 0:return n=i.klass,s=i.superClass,t.computed?[5,yt(lr(t.key,r))]:[3,2];case 1:return a=e.sent(),[3,3];case 2:if("Identifier"!==t.key.type)throw new SyntaxError("Unexpected token");a=t.key.name,e.label=3;case 3:switch(o=t.static?n:n.prototype,c=kr(t.value,r,{superClass:s}),t.kind){case"constructor":break;case"method":m(o,a,{value:c,writable:!0,configurable:!0});break;case"get":h=f(o,a),m(o,a,{get:c,set:h&&h.set,configurable:!0});break;case"set":h=f(o,a),m(o,a,{get:h&&h.get,set:c,configurable:!0});break;default:throw new SyntaxError("Unexpected token")}return[2]}})}function xr(o,e){void 0===e&&(e={});var t=e.res,c=e.err,h=e.ret,u=e.fullRet;return new Promise(function(r,i){if("ret"in e)return r(o.return(h));function n(e){var t;try{t=o.next(e)}catch(e){return i(e)}return a(t),null}function s(e){var t;try{t=o.throw(e)}catch(e){return i(e)}a(t)}function a(e){if(e.done)return r(u?e:e.value);if(e.value!==$e)return r(e);var t=e.value.RES;return(t&&"function"===t.then?t:Promise.resolve(t)).then(n,s)}"err"in e?s(c):n(t)})}function br(t,r,i){var n,s,a,o,c,h;return void 0===i&&(i={}),gt(this,function(e){switch(e.label){case 0:n=i.onlyBlock,s=void 0!==n&&n,a=[],o=[],h=0,e.label=1;case 1:return h<t.body.length?"FunctionDeclaration"!==(c=t.body[h]).type?[3,2]:(a.push(c),o.push(h),[3,6]):[3,7];case 2:return"VariableDeclaration"!==c.type||-1===["const","let"].indexOf(c.kind)?[3,4]:[5,yt(fr(c,r,{hoist:!0,onlyBlock:!0}))];case 3:return e.sent(),[3,6];case 4:return s?[3,6]:[5,yt(function t(r,i){var n,s,a,o,c;return gt(this,function(e){switch(e.label){case 0:switch(r.type){case"VariableDeclaration":return[3,1];case"ForInStatement":case"ForOfStatement":return[3,3];case"ForStatement":return[3,5];case"WhileStatement":case"DoWhileStatement":return[3,7];case"IfStatement":return[3,9];case"BlockStatement":return[3,13];case"SwitchStatement":return[3,18];case"TryStatement":return[3,25]}return[3,38];case 1:return[5,yt(fr(r,i,{hoist:!0}))];case 2:return e.sent(),[3,38];case 3:return"VariableDeclaration"!==r.left.type?[3,5]:[5,yt(fr(r.left,i,{hoist:!0}))];case 4:e.sent(),e.label=5;case 5:return"ForStatement"!==r.type||"VariableDeclaration"!==r.init.type?[3,7]:[5,yt(fr(r.init,i,{hoist:!0}))];case 6:e.sent(),e.label=7;case 7:return[5,yt(t(r.body,i))];case 8:return e.sent(),[3,38];case 9:return[5,yt(t(r.consequent,i))];case 10:return e.sent(),r.alternate?[5,yt(t(r.alternate,i))]:[3,12];case 11:e.sent(),e.label=12;case 12:return[3,38];case 13:c=0,e.label=14;case 14:return c<r.body.length?[5,yt(t(r.body[c],i))]:[3,17];case 15:e.sent(),e.label=16;case 16:return c++,[3,14];case 17:return[3,38];case 18:c=0,e.label=19;case 19:if(!(c<r.cases.length))return[3,24];n=0,e.label=20;case 20:return n<r.cases[c].consequent.length?[5,yt(t(r.cases[c].consequent[n],i))]:[3,23];case 21:e.sent(),e.label=22;case 22:return n++,[3,20];case 23:return c++,[3,19];case 24:return[3,38];case 25:s=r.block.body,c=0,e.label=26;case 26:return c<s.length?[5,yt(t(s[c],i))]:[3,29];case 27:e.sent(),e.label=28;case 28:return c++,[3,26];case 29:if(!(a=r.handler&&r.handler.body.body))return[3,33];c=0,e.label=30;case 30:return c<a.length?[5,yt(t(a[c],i))]:[3,33];case 31:e.sent(),e.label=32;case 32:return c++,[3,30];case 33:if(!(o=r.finalizer&&r.finalizer.body))return[3,37];c=0,e.label=34;case 34:return c<o.length?[5,yt(t(o[c],i))]:[3,37];case 35:e.sent(),e.label=36;case 36:return c++,[3,34];case 37:return[3,38];case 38:return[2]}})}(c,r))];case 5:e.sent(),e.label=6;case 6:return h++,[3,1];case 7:if(o.length){for(h=o.length-1;-1<h;h--)t.body.splice(o[h],1);t.body=a.concat(t.body)}return[2]}})}function wr(t,r,i){return void 0===i&&(i={}),gt(this,function(e){switch(e.label){case 0:switch(t.type){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,yt(ar(t,r,i))];case 2:return[2,e.sent()];case 3:return[5,yt(or(t,r,i))];case 4:return[2,e.sent()];case 5:return[5,yt(cr(t,r,i))];case 6:return[2,e.sent()];case 7:return[5,yt(hr(t,r,i))];case 8:return[2,e.sent()];case 9:throw new SyntaxError("Unexpected token")}})}function kr(o,c,e){if(void 0===e&&(e={}),!o.generator&&!o.async)return Ar(o,c,e);function h(){for(var t,r,i,n,s=this&&this instanceof h?this.constructor:void 0,a=[],e=0;e<arguments.length;e++)a[e]=arguments[e];return gt(this,function(e){switch(e.label){case 0:t=new ft(c,!0),"ArrowFunctionExpression"!==o.type&&(t.const("this",this),t.let("arguments",arguments),t.const(ot,s),u&&(t.const(it,u),p&&t.let(nt,!1))),r=0,e.label=1;case 1:return r<l.length?"Identifier"!==(i=l[r]).type?[3,2]:(t.var(i.name,a[r]),[3,6]):[3,7];case 2:return"RestElement"!==i.type?[3,4]:[5,yt(cr(i,t,{kind:"var",feed:a.slice(r)}))];case 3:return e.sent(),[3,6];case 4:return[5,yt(wr(i,t,{feed:a[r]}))];case 5:e.sent(),e.label=6;case 6:return r++,[3,1];case 7:return"BlockStatement"!==o.body.type?[3,10]:[5,yt(br(o.body,t))];case 8:return e.sent(),[5,yt(rr(o.body,t,{invasived:!0,hoisted:!0}))];case 9:return n=e.sent(),[3,12];case 10:return[5,yt(lr(o.body,t))];case 11:n=e.sent(),"ArrowFunctionExpression"===o.type&&(et.RES=n,n=et),e.label=12;case 12:return n===et?[2,n.RES]:[2]}})}var u=e.superClass,p=e.isCtor,l=o.params,t=o.async&&o.generator?function(){function t(e){return i=i.then(function(){return xr(r,x({fullRet:!0},e))}).catch(function(e){if(!n)return n=!0,Promise.reject(e)})}var r=h.apply(this,arguments),i=Promise.resolve(),n=!1,e={next:function(e){return t({res:e})},throw:function(e){return t({err:e})},return:function(e){return t({ret:e})}};return"function"==typeof Symbol&&(e[Symbol.iterator]=function(){return this}),e}:o.async?function(){return xr(h.apply(this,arguments))}:h;return m(t,st,{value:!0}),m(t,"name",{value:o.id&&o.id.name||"",configurable:!0}),m(t,"length",{value:l.length,configurable:!0}),t}function _r(t,r){var i,n,s,a,o;return gt(this,function(e){switch(e.label){case 0:return[5,yt(lr(t.superClass,r))];case 1:for(i=e.sent(),n=function(){i&&i.apply(this)},s=t.body.body,a=0;a<s.length;a++)if("constructor"===(o=s[a]).kind){n=kr(o.value,r,{superClass:i,isCtor:!0});break}return i&&p(n,i),[5,yt(yr(t.body,r,{klass:n,superClass:i}))];case 2:return e.sent(),m(n,at,{value:!0}),m(n,"name",{value:t.id&&t.id.name||"",configurable:!0}),[2,n]}})}function Sr(t,r,i){var n,s,a,o;return gt(this,function(e){switch(e.label){case 0:return n=i.value,s=t.left,a=new ft(r),"VariableDeclaration"!==s.type?[3,2]:[5,yt(fr(s,a,{feed:n}))];case 1:return e.sent(),[3,6];case 2:return"Identifier"!==s.type?[3,4]:[5,yt(bt(s,r,{getVar:!0}))];case 3:return e.sent().set(n),[3,6];case 4:return[5,yt(wr(s,r,{feed:n}))];case 5:e.sent(),e.label=6;case 6:return"BlockStatement"!==t.body.type?[3,8]:[5,yt(rr(t.body,a,{invasived:!0}))];case 7:return o=e.sent(),[3,10];case 8:return[5,yt(lr(t.body,a))];case 9:o=e.sent(),e.label=10;case 10:return[2,o]}})}function Er(e,t,r){void 0===r&&(r={});for(var i=r.onlyBlock,n=void 0!==i&&i,s=[],a=[],o=0;o<e.body.length;o++){var c=e.body[o];"FunctionDeclaration"===c.type?(s.push(c),a.push(o)):"VariableDeclaration"===c.type&&-1!==["const","let"].indexOf(c.kind)?qt(c,t,{hoist:!0,onlyBlock:!0}):n||Cr(c,t)}if(a.length){for(o=a.length-1;-1<o;o--)e.body.splice(a[o],1);e.body=s.concat(e.body)}}function Cr(e,t){switch(e.type){case"VariableDeclaration":qt(e,t,{hoist:!0});break;case"ForInStatement":case"ForOfStatement":"VariableDeclaration"===e.left.type&&qt(e.left,t,{hoist:!0});case"ForStatement":"ForStatement"===e.type&&"VariableDeclaration"===e.init.type&&qt(e.init,t,{hoist:!0});case"WhileStatement":case"DoWhileStatement":Cr(e.body,t);break;case"IfStatement":Cr(e.consequent,t),e.alternate&&Cr(e.alternate,t);break;case"BlockStatement":for(var r=0;r<e.body.length;r++)Cr(e.body[r],t);break;case"SwitchStatement":for(r=0;r<e.cases.length;r++)for(var i=0;i<e.cases[r].consequent.length;i++)Cr(e.cases[r].consequent[i],t);break;case"TryStatement":for(var n=e.block.body,r=0;r<n.length;r++)Cr(n[r],t);var s=e.handler&&e.handler.body.body;if(s)for(r=0;r<s.length;r++)Cr(s[r],t);var a=e.finalizer&&e.finalizer.body;if(a)for(r=0;r<a.length;r++)Cr(a[r],t)}}function Ir(e,t,r){switch(void 0===r&&(r={}),e.type){case"ObjectPattern":return Nt(e,t,r);case"ArrayPattern":return Rt(e,t,r);case"RestElement":return Bt(e,t,r);case"AssignmentPattern":return Ot(e,t,r);default:throw new SyntaxError("Unexpected token")}}function Ar(o,c,e){if(void 0===e&&(e={}),o.generator||o.async)return kr(o,c,e);function h(){for(var e=this&&this instanceof h?this.constructor:void 0,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var i=new ft(c,!0);"ArrowFunctionExpression"!==o.type&&(i.const("this",this),i.let("arguments",arguments),i.const(ot,e),u&&(i.const(it,u),p&&i.let(nt,!1)));for(var n,s=0;s<l.length;s++){var a=l[s];"Identifier"===a.type?i.var(a.name,t[s]):"RestElement"===a.type?Bt(a,i,{kind:"var",feed:t.slice(s)}):Ir(a,i,{feed:t[s]})}if("BlockStatement"===o.body.type?(Er(o.body,i),n=Pt(o.body,i,{invasived:!0,hoisted:!0})):(n=Ft(o.body,i),"ArrowFunctionExpression"===o.type&&(et.RES=n,n=et)),n===et)return n.RES}var u=e.superClass,p=e.isCtor,l=o.params;return"ArrowFunctionExpression"===o.type&&m(h,st,{value:!0}),m(h,"name",{value:o.id&&o.id.name||"",configurable:!0}),m(h,"length",{value:l.length,configurable:!0}),h}function Pr(e,t){for(var r=Ft(e.superClass,t),i=function(){r&&r.apply(this)},n=e.body.body,s=0;s<n.length;s++){var a=n[s];if("constructor"===a.kind){i=Ar(a.value,t,{superClass:r,isCtor:!0});break}}return r&&p(i,r),Ht(e.body,t,{klass:i,superClass:r}),m(i,at,{value:!0}),m(i,"name",{value:e.id&&e.id.name||"",configurable:!0}),i}function Tr(e,t,r){var i=r.value,n=e.left,s=new ft(t);return"VariableDeclaration"===n.type?qt(n,s,{feed:i}):"Identifier"===n.type?bt(n,t,{getVar:!0}).set(i):Ir(n,t,{feed:i}),"BlockStatement"===e.body.type?Pt(e.body,s,{invasived:!0}):Ft(e.body,s)}function Vr(e){void 0===e&&(e={}),this.options={},this.scope=new ft(null,!0),this.exports={};var t,r,i=e.ecmaVer,n=void 0===i?9:i,s=e.sandBox,a=void 0===s||s;if(-1===[3,5,6,7,8,9,10].indexOf(n-=n<2015?0:2009))throw new Error("unsupported ecmaVer");this.options.ecmaVersion=n,a?(t=x(u(((r={})[w]=d,r)),v),this.scope.let("window",t),this.scope.let("this",t)):(this.scope.let("window",d),this.scope.let("this",d)),this.scope.const("exports",this.exports={})}return Vr.prototype.import=function(e,t){var r;if("string"==typeof e&&((r={})[e]=t,e=r),"object"==typeof e)for(var i=o(e),n=0;n<i.length;n++){var s=i[n];this.scope.var(s,e[s])}},Vr.prototype.parse=function(e,t){return"function"==typeof t?t(e,x({},this.options)):Ze(e,this.options)},Vr.prototype.run=function(e){var t="string"==typeof e?Ze(e,this.options):e;Er(t,this.scope),Ft(t,this.scope)},Vr.version="0.4.8",Vr});