sval 0.5.9 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/sval.es6.js +15 -3
- package/dist/sval.js +15 -3
- package/dist/sval.min.js +1 -1
- package/package.json +1 -1
package/dist/sval.es6.js
CHANGED
|
@@ -464,7 +464,7 @@
|
|
|
464
464
|
const IMPORT = createSymbol('import');
|
|
465
465
|
const EXPORTS = createSymbol('exports');
|
|
466
466
|
|
|
467
|
-
var version = "0.
|
|
467
|
+
var version = "0.6.0";
|
|
468
468
|
|
|
469
469
|
class Var {
|
|
470
470
|
constructor(kind, value) {
|
|
@@ -1205,7 +1205,13 @@
|
|
|
1205
1205
|
}
|
|
1206
1206
|
function* SpreadElement$1(node, scope, options = {}) {
|
|
1207
1207
|
const result = yield* evaluate$1(node.argument, scope);
|
|
1208
|
-
|
|
1208
|
+
if (options.spreadProps) {
|
|
1209
|
+
return result;
|
|
1210
|
+
}
|
|
1211
|
+
if (typeof Symbol === 'function' && typeof result[Symbol.iterator] !== 'function') {
|
|
1212
|
+
throw new TypeError('Spread syntax requires ...iterable[Symbol.iterator] to be a function');
|
|
1213
|
+
}
|
|
1214
|
+
return [...result];
|
|
1209
1215
|
}
|
|
1210
1216
|
function* ChainExpression$1(node, scope) {
|
|
1211
1217
|
return yield* evaluate$1(node.expression, scope);
|
|
@@ -2629,7 +2635,13 @@
|
|
|
2629
2635
|
}
|
|
2630
2636
|
function SpreadElement(node, scope, options = {}) {
|
|
2631
2637
|
const result = evaluate(node.argument, scope);
|
|
2632
|
-
|
|
2638
|
+
if (options.spreadProps) {
|
|
2639
|
+
return result;
|
|
2640
|
+
}
|
|
2641
|
+
if (typeof Symbol === 'function' && typeof result[Symbol.iterator] !== 'function') {
|
|
2642
|
+
throw new TypeError('Spread syntax requires ...iterable[Symbol.iterator] to be a function');
|
|
2643
|
+
}
|
|
2644
|
+
return [...result];
|
|
2633
2645
|
}
|
|
2634
2646
|
function ChainExpression(node, scope) {
|
|
2635
2647
|
return evaluate(node.expression, scope);
|
package/dist/sval.js
CHANGED
|
@@ -542,7 +542,7 @@
|
|
|
542
542
|
var IMPORT = createSymbol('import');
|
|
543
543
|
var EXPORTS = createSymbol('exports');
|
|
544
544
|
|
|
545
|
-
var version = "0.
|
|
545
|
+
var version = "0.6.0";
|
|
546
546
|
|
|
547
547
|
var Var = (function () {
|
|
548
548
|
function Var(kind, value) {
|
|
@@ -1557,7 +1557,13 @@
|
|
|
1557
1557
|
case 0: return [5, __values(evaluate$1(node.argument, scope))];
|
|
1558
1558
|
case 1:
|
|
1559
1559
|
result = _a.sent();
|
|
1560
|
-
|
|
1560
|
+
if (options.spreadProps) {
|
|
1561
|
+
return [2, result];
|
|
1562
|
+
}
|
|
1563
|
+
if (typeof Symbol === 'function' && typeof result[Symbol.iterator] !== 'function') {
|
|
1564
|
+
throw new TypeError('Spread syntax requires ...iterable[Symbol.iterator] to be a function');
|
|
1565
|
+
}
|
|
1566
|
+
return [2, __spread(result)];
|
|
1561
1567
|
}
|
|
1562
1568
|
});
|
|
1563
1569
|
}
|
|
@@ -3527,7 +3533,13 @@
|
|
|
3527
3533
|
function SpreadElement(node, scope, options) {
|
|
3528
3534
|
if (options === void 0) { options = {}; }
|
|
3529
3535
|
var result = evaluate(node.argument, scope);
|
|
3530
|
-
|
|
3536
|
+
if (options.spreadProps) {
|
|
3537
|
+
return result;
|
|
3538
|
+
}
|
|
3539
|
+
if (typeof Symbol === 'function' && typeof result[Symbol.iterator] !== 'function') {
|
|
3540
|
+
throw new TypeError('Spread syntax requires ...iterable[Symbol.iterator] to be a function');
|
|
3541
|
+
}
|
|
3542
|
+
return __spread(result);
|
|
3531
3543
|
}
|
|
3532
3544
|
function ChainExpression(node, scope) {
|
|
3533
3545
|
return evaluate(node.expression, scope);
|
package/dist/sval.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).Sval=t()}(this,function(){"use strict";var R=Object.freeze({__proto__:null,get ExpressionStatement(){return jt},get BlockStatement(){return Ut},get EmptyStatement(){return qt},get DebuggerStatement(){return Wt},get ReturnStatement(){return Gt},get BreakStatement(){return Ht},get ContinueStatement(){return zt},get LabeledStatement(){return Kt},get WithStatement(){return Qt},get IfStatement(){return Xt},get SwitchStatement(){return Yt},get SwitchCase(){return Zt},get ThrowStatement(){return Jt},get TryStatement(){return $t},get CatchClause(){return er},get WhileStatement(){return tr},get DoWhileStatement(){return rr},get ForStatement(){return ir},get ForInStatement(){return nr},get ForOfStatement(){return sr}}),O=Object.freeze({__proto__:null,get FunctionDeclaration(){return ar},get VariableDeclaration(){return or},get VariableDeclarator(){return cr},get ClassDeclaration(){return hr},get ClassBody(){return lr},get MethodDefinition(){return ur},get PropertyDefinition(){return pr},get StaticBlock(){return dr},get ImportDeclaration(){return fr},get ExportDefaultDeclaration(){return mr},get ExportNamedDeclaration(){return yr},get ExportAllDeclaration(){return gr}}),M=Object.freeze({__proto__:null,get ExpressionStatement(){return Br},get BlockStatement(){return Dr},get EmptyStatement(){return Rr},get DebuggerStatement(){return Or},get ReturnStatement(){return Mr},get BreakStatement(){return Fr},get ContinueStatement(){return jr},get LabeledStatement(){return Ur},get WithStatement(){return qr},get IfStatement(){return Wr},get SwitchStatement(){return Gr},get SwitchCase(){return Hr},get ThrowStatement(){return zr},get TryStatement(){return Kr},get CatchClause(){return Qr},get WhileStatement(){return Xr},get DoWhileStatement(){return Yr},get ForStatement(){return Zr},get ForInStatement(){return Jr},get ForOfStatement(){return $r}}),F=Object.freeze({__proto__:null,get FunctionDeclaration(){return ei},get VariableDeclaration(){return ti},get VariableDeclarator(){return ri},get ClassDeclaration(){return ii},get ClassBody(){return ni},get MethodDefinition(){return si},get PropertyDefinition(){return ai},get StaticBlock(){return oi},get ImportDeclaration(){return ci},get ExportDefaultDeclaration(){return hi},get ExportNamedDeclaration(){return li},get ExportAllDeclaration(){return ui}});function y(i,n){var s,a,o,c={label:0,sent:function(){if(1&o[0])throw o[1];return o[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(r){return function(e){var t=[r,e];if(s)throw new TypeError("Generator is already executing.");for(;c;)try{if(s=1,a&&(o=2&t[0]?a.return:t[0]?a.throw||((o=a.return)&&o.call(a),0):a.next)&&!(o=o.call(a,t[1])).done)return o;switch(a=0,(t=o?[2&t[0],o.value]:t)[0]){case 0:case 1:o=t;break;case 4:return c.label++,{value:t[1],done:!1};case 5:c.label++,a=t[1],t=[0];continue;case 7:t=c.ops.pop(),c.trys.pop();continue;default:if(!(o=0<(o=c.trys).length&&o[o.length-1])&&(6===t[0]||2===t[0])){c=0;continue}if(3===t[0]&&(!o||t[1]>o[0]&&t[1]<o[3]))c.label=t[1];else if(6===t[0]&&c.label<o[1])c.label=o[1],o=t;else{if(!(o&&c.label<o[2])){o[2]&&c.ops.pop(),c.trys.pop();continue}c.label=o[2],c.ops.push(t)}}t=n.call(i,c)}catch(e){t=[6,e],a=0}finally{s=o=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}}}function g(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}}function j(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(function(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}(arguments[t]));return e}var U=Object.freeze,f=Object.defineProperty,q=Object.getOwnPropertyDescriptor,W=Object.prototype.hasOwnProperty;function G(e,t){return W.call(e,t)}var H=Object.getOwnPropertyNames,z=Object.setPrototypeOf;var K=Object.getPrototypeOf;var Q=Object.getOwnPropertyDescriptor;function X(e,t,r){for(;t;){var i=Q(t,r),i=void 0!==i&&void 0===i.writable&&"function"==typeof i[e]&&i[e];if(i)return i;i=t,t=K?K(i):i.__proto__}}function Y(e,t){return X("get",e,t)}function Z(e,t){return X("set",e,t)}var J=Object.create;function $(e,t){var r,i;r=e,i=t,z?z(r,i):r.__proto__=i,e.prototype=J(t.prototype,{constructor:{value:e,writable:!0}})}var m=Object.assign||function(e){for(var t=1;t<arguments.length;++t){var r,i=arguments[t];for(r in i)G(i,r)&&(e[r]=i[r])}return e},ee=[],i=J(null);try{if(!window.Object)throw 0;ee=H(i=window).filter(function(e){return"webkitStorageInfo"!==e})}catch(e){try{if(!global.Object)throw 0;ee=H(i=global).filter(function(e){return"GLOBAL"!==e&&"root"!==e})}catch(e){try{i.Object=Object}catch(e){}try{i.Function=Function}catch(e){}try{i.Array=Array}catch(e){}try{i.Number=Number}catch(e){}try{i.parseFloat=parseFloat}catch(e){}try{i.parseInt=parseInt}catch(e){}try{i.Infinity=1/0}catch(e){}try{i.NaN=NaN}catch(e){}try{i.undefined=void 0}catch(e){}try{i.Boolean=Boolean}catch(e){}try{i.String=String}catch(e){}try{i.Symbol=Symbol}catch(e){}try{i.Date=Date}catch(e){}try{i.Promise=Promise}catch(e){}try{i.RegExp=RegExp}catch(e){}try{i.Error=Error}catch(e){}try{i.EvalError=EvalError}catch(e){}try{i.RangeError=RangeError}catch(e){}try{i.ReferenceError=ReferenceError}catch(e){}try{i.SyntaxError=SyntaxError}catch(e){}try{i.TypeError=TypeError}catch(e){}try{i.URIError=URIError}catch(e){}try{i.JSON=JSON}catch(e){}try{i.Math=Math}catch(e){}try{i.console=console}catch(e){}try{i.Intl=Intl}catch(e){}try{i.ArrayBuffer=ArrayBuffer}catch(e){}try{i.Uint8Array=Uint8Array}catch(e){}try{i.Int8Array=Int8Array}catch(e){}try{i.Uint16Array=Uint16Array}catch(e){}try{i.Int16Array=Int16Array}catch(e){}try{i.Uint32Array=Uint32Array}catch(e){}try{i.Int32Array=Int32Array}catch(e){}try{i.Float32Array=Float32Array}catch(e){}try{i.Float64Array=Float64Array}catch(e){}try{i.Uint8ClampedArray=Uint8ClampedArray}catch(e){}try{i.DataView=DataView}catch(e){}try{i.Map=Map}catch(e){}try{i.Set=Set}catch(e){}try{i.WeakMap=WeakMap}catch(e){}try{i.WeakSet=WeakSet}catch(e){}try{i.Proxy=Proxy}catch(e){}try{i.Reflect=Reflect}catch(e){}try{i.BigInt=BigInt}catch(e){}try{i.decodeURI=decodeURI}catch(e){}try{i.decodeURIComponent=decodeURIComponent}catch(e){}try{i.encodeURI=encodeURI}catch(e){}try{i.encodeURIComponent=encodeURIComponent}catch(e){}try{i.escape=escape}catch(e){}try{i.unescape=unescape}catch(e){}try{i.eval=eval}catch(e){}try{i.isFinite=isFinite}catch(e){}try{i.isNaN=isNaN}catch(e){}try{i.SharedArrayBuffer=SharedArrayBuffer}catch(e){}try{i.Atomics=Atomics}catch(e){}try{i.WebAssembly=WebAssembly}catch(e){}try{i.clearInterval=clearInterval}catch(e){}try{i.clearTimeout=clearTimeout}catch(e){}try{i.setInterval=setInterval}catch(e){}try{i.setTimeout=setTimeout}catch(e){}try{i.crypto=crypto}catch(e){}try{i.URL=URL}catch(e){}ee=H(i)}}i.Symbol&&(i.Symbol.iterator||(i.Symbol.iterator=p("iterator")),i.Symbol.asyncIterator||(i.Symbol.asyncIterator=p("asynciterator")));for(var te=J({}),re=0;re<ee.length;re++){var ie=ee[re];try{te[ie]=i[ie]}catch(e){}}var ne=p("window");function p(e){return e+Math.random().toString(36).substring(2)}var se=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239],ae=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],e="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-Ა-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-Ꟑꟑꟓꟕ-ꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",oe={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"},t="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",ce={5:t,"5module":t+" export import",6:t+" const class extends export import super"},he=/^in(stanceof)?$/,le=new RegExp("["+e+"]"),ue=new RegExp("["+e+"·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・]");function pe(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}return!1}function a(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?170<=e&&le.test(String.fromCharCode(e)):!1!==t&&pe(e,ae)))}function de(e,t){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?170<=e&&ue.test(String.fromCharCode(e)):!1!==t&&(pe(e,ae)||pe(e,se)))))}function r(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 n(e,t){return new r(e,{beforeExpr:!0,binop:t})}var t={beforeExpr:!0},e={startsExpr:!0},fe={};function s(e,t){return(t=void 0===t?{}:t).keyword=e,fe[e]=new r(e,t)}var v={num:new r("num",e),regexp:new r("regexp",e),string:new r("string",e),name:new r("name",e),privateId:new r("privateId",e),eof:new r("eof"),bracketL:new r("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new r("]"),braceL:new r("{",{beforeExpr:!0,startsExpr:!0}),braceR:new r("}"),parenL:new r("(",{beforeExpr:!0,startsExpr:!0}),parenR:new r(")"),comma:new r(",",t),semi:new r(";",t),colon:new r(":",t),dot:new r("."),question:new r("?",t),questionDot:new r("?."),arrow:new r("=>",t),template:new r("template"),invalidTemplate:new r("invalidTemplate"),ellipsis:new r("...",t),backQuote:new r("`",e),dollarBraceL:new r("${",{beforeExpr:!0,startsExpr:!0}),eq:new r("=",{beforeExpr:!0,isAssign:!0}),assign:new r("_=",{beforeExpr:!0,isAssign:!0}),incDec:new r("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new r("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:n("||",1),logicalAND:n("&&",2),bitwiseOR:n("|",3),bitwiseXOR:n("^",4),bitwiseAND:n("&",5),equality:n("==/!=/===/!==",6),relational:n("</>/<=/>=",7),bitShift:n("<</>>/>>>",8),plusMin:new r("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:n("%",10),star:n("*",10),slash:n("/",10),starstar:new r("**",{beforeExpr:!0}),coalesce:n("??",1),_break:s("break"),_case:s("case",t),_catch:s("catch"),_continue:s("continue"),_debugger:s("debugger"),_default:s("default",t),_do:s("do",{isLoop:!0,beforeExpr:!0}),_else:s("else",t),_finally:s("finally"),_for:s("for",{isLoop:!0}),_function:s("function",e),_if:s("if"),_return:s("return",t),_switch:s("switch"),_throw:s("throw",t),_try:s("try"),_var:s("var"),_const:s("const"),_while:s("while",{isLoop:!0}),_with:s("with"),_new:s("new",{beforeExpr:!0,startsExpr:!0}),_this:s("this",e),_super:s("super",e),_class:s("class",e),_extends:s("extends",t),_export:s("export"),_import:s("import",e),_null:s("null",e),_true:s("true",e),_false:s("false",e),_in:s("in",{beforeExpr:!0,binop:7}),_instanceof:s("instanceof",{beforeExpr:!0,binop:7}),_typeof:s("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:s("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:s("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},o=/\r\n?|\n|\u2028|\u2029/,t=new RegExp(o.source,"g");function me(e){return 10===e||13===e||8232===e||8233===e}function ye(e,t,r){void 0===r&&(r=e.length);for(var i=t;i<r;i++){var n=e.charCodeAt(i);if(me(n))return i<r-1&&13===n&&10===e.charCodeAt(i+1)?i+2:i+1}return-1}var ge=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,c=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,e=Object.prototype,ve=e.hasOwnProperty,be=e.toString,xe=Object.hasOwn||function(e,t){return ve.call(e,t)},we=Array.isArray||function(e){return"[object Array]"===be.call(e)},ke=Object.create(null);function Se(e){return ke[e]||(ke[e]=new RegExp("^(?:"+e.replace(/ /g,"|")+")$"))}function h(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}function _e(e,t){this.line=e,this.column=t}function Ee(e,t,r){this.start=t,this.end=r,null!==e.sourceFile&&(this.source=e.sourceFile)}var Ce=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/;function Ie(e,t){for(var r=1,i=0;;){var n=ye(e,i,t);if(n<0)return new _e(r,t-i);++r,i=n}}var Ae={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!(_e.prototype.offset=function(e){return new _e(this.line,this.column+e)}),allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},Pe=!1;function Le(e){var t,r,a,o,i={};for(t in Ae)i[t]=(e&&xe(e,t)?e:Ae)[t];return"latest"===i.ecmaVersion?i.ecmaVersion=1e8:null==i.ecmaVersion?(!Pe&&"object"==typeof console&&console.warn&&(Pe=!0,console.warn("Since Acorn 8.0.0, options.ecmaVersion is required.\nDefaulting to 2020, but this will stop working in the future.")),i.ecmaVersion=11):2015<=i.ecmaVersion&&(i.ecmaVersion-=2009),null==i.allowReserved&&(i.allowReserved=i.ecmaVersion<5),e&&null!=e.allowHashBang||(i.allowHashBang=14<=i.ecmaVersion),we(i.onToken)&&(r=i.onToken,i.onToken=function(e){return r.push(e)}),we(i.onComment)&&(i.onComment=(o=(a=i).onComment,function(e,t,r,i,n,s){e={type:e?"Block":"Line",value:t,start:r,end:i};a.locations&&(e.loc=new Ee(this,n,s)),a.ranges&&(e.range=[r,i]),o.push(e)})),i}function Te(e,t){return 2|(e?4:0)|(t?8:0)}function l(e,t,r){this.options=e=Le(e),this.sourceFile=e.sourceFile,this.keywords=Se(ce[6<=e.ecmaVersion?6:"module"===e.sourceType?"5module":5]);var i="",i=(!0!==e.allowReserved&&(i=oe[6<=e.ecmaVersion?6:5===e.ecmaVersion?5:3],"module"===e.sourceType)&&(i+=" await"),this.reservedWords=Se(i),(i?i+" ":"")+oe.strict);this.reservedWordsStrict=Se(i),this.reservedWordsStrictBind=Se(i+" "+oe.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(o).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=v.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.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(1),this.regexpState=null,this.privateNameStack=[]}function Ve(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}var e={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}},e=(l.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)},e.inFunction.get=function(){return 0<(2&this.currentVarScope().flags)},e.inGenerator.get=function(){return 0<(8&this.currentVarScope().flags)&&!this.currentVarScope().inClassFieldInit},e.inAsync.get=function(){return 0<(4&this.currentVarScope().flags)&&!this.currentVarScope().inClassFieldInit},e.canAwait.get=function(){for(var e=this.scopeStack.length-1;0<=e;e--){var t=this.scopeStack[e];if(t.inClassFieldInit||256&t.flags)return!1;if(2&t.flags)return 0<(4&t.flags)}return this.inModule&&13<=this.options.ecmaVersion||this.options.allowAwaitOutsideFunction},e.allowSuper.get=function(){var e=this.currentThisScope(),t=e.flags,e=e.inClassFieldInit;return 0<(64&t)||e||this.options.allowSuperOutsideMethod},e.allowDirectSuper.get=function(){return 0<(128&this.currentThisScope().flags)},e.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},e.allowNewDotTarget.get=function(){var e=this.currentThisScope(),t=e.flags,e=e.inClassFieldInit;return 0<(258&t)||e},e.inClassStaticBlock.get=function(){return 0<(256&this.currentVarScope().flags)},l.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},l.parse=function(e,t){return new this(t,e).parse()},l.parseExpressionAt=function(e,t,r){r=new this(r,e,t);return r.nextToken(),r.parseExpression()},l.tokenizer=function(e,t){return new this(t,e)},Object.defineProperties(l.prototype,e),l.prototype),Ne=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/,e=(e.strictDirective=function(e){if(this.options.ecmaVersion<5)return!1;for(;;){c.lastIndex=e,e+=c.exec(this.input)[0].length;var t,r,i,n=Ne.exec(this.input.slice(e));if(!n)return!1;if("use strict"===(n[1]||n[2]))return c.lastIndex=e+n[0].length,r=(t=c.exec(this.input)).index+t[0].length,";"===(i=this.input.charAt(r))||"}"===i||o.test(t[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(i)||"!"===i&&"="===this.input.charAt(r+1));e+=n[0].length,c.lastIndex=e,e+=c.exec(this.input)[0].length,";"===this.input[e]&&e++}},e.eat=function(e){return this.type===e&&(this.next(),!0)},e.isContextual=function(e){return this.type===v.name&&this.value===e&&!this.containsEsc},e.eatContextual=function(e){return!!this.isContextual(e)&&(this.next(),!0)},e.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},e.canInsertSemicolon=function(){return this.type===v.eof||this.type===v.braceR||o.test(this.input.slice(this.lastTokEnd,this.start))},e.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},e.semicolon=function(){this.eat(v.semi)||this.insertSemicolon()||this.unexpected()},e.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},e.expect=function(e){this.eat(e)||this.unexpected()},e.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")},e.checkPatternErrors=function(e,t){e&&(-1<e.trailingComma&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element"),-1<(e=t?e.parenthesizedAssign:e.parenthesizedBind))&&this.raiseRecoverable(e,t?"Assigning to rvalue":"Parenthesized pattern")},e.checkExpressionErrors=function(e,t){var r;return!!e&&(r=e.shorthandAssign,e=e.doubleProto,t?(0<=r&&this.raise(r,"Shorthand property assignments are valid only in destructuring patterns"),void(0<=e&&this.raiseRecoverable(e,"Redefinition of __proto__ property"))):0<=r||0<=e)},e.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")},e.isSimpleAssignTarget=function(e){return"ParenthesizedExpression"===e.type?this.isSimpleAssignTarget(e.expression):"Identifier"===e.type||"MemberExpression"===e.type},l.prototype),Be=(e.parseTopLevel=function(e){var t=Object.create(null);for(e.body||(e.body=[]);this.type!==v.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")},{kind:"loop"}),De={kind:"switch"},Re=(e.isLet=function(e){if(!(this.options.ecmaVersion<6)&&this.isContextual("let")){c.lastIndex=this.pos;var t=c.exec(this.input),t=this.pos+t[0].length,r=this.input.charCodeAt(t);if(91===r||92===r)return!0;if(!e){if(123===r||55295<r&&r<56320)return!0;if(a(r,!0)){for(var i=t+1;de(r=this.input.charCodeAt(i),!0);)++i;if(92===r||55295<r&&r<56320)return!0;e=this.input.slice(t,i);if(!he.test(e))return!0}}}return!1},e.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;c.lastIndex=this.pos;var e=c.exec(this.input),e=this.pos+e[0].length;return!(o.test(this.input.slice(this.pos,e))||"function"!==this.input.slice(e,e+8)||e+8!==this.input.length&&(de(e=this.input.charCodeAt(e+8))||55295<e&&e<56320))},e.parseStatement=function(e,t,r){var i,n,s=this.type,a=this.startNode();switch(this.isLet(e)&&(s=v._var,i="let"),s){case v._break:case v._continue:return this.parseBreakContinueStatement(a,s.keyword);case v._debugger:return this.parseDebuggerStatement(a);case v._do:return this.parseDoStatement(a);case v._for:return this.parseForStatement(a);case v._function:return e&&(this.strict||"if"!==e&&"label"!==e)&&6<=this.options.ecmaVersion&&this.unexpected(),this.parseFunctionStatement(a,!1,!e);case v._class:return e&&this.unexpected(),this.parseClass(a,!0);case v._if:return this.parseIfStatement(a);case v._return:return this.parseReturnStatement(a);case v._switch:return this.parseSwitchStatement(a);case v._throw:return this.parseThrowStatement(a);case v._try:return this.parseTryStatement(a);case v._const:case v._var:return i=i||this.value,e&&"var"!==i&&this.unexpected(),this.parseVarStatement(a,i);case v._while:return this.parseWhileStatement(a);case v._with:return this.parseWithStatement(a);case v.braceL:return this.parseBlock(!0,a);case v.semi:return this.parseEmptyStatement(a);case v._export:case v._import:if(10<this.options.ecmaVersion&&s===v._import){c.lastIndex=this.pos;var o=c.exec(this.input),o=this.pos+o[0].length,o=this.input.charCodeAt(o);if(40===o||46===o)return this.parseExpressionStatement(a,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'"),s===v._import?this.parseImport(a):this.parseExport(a,r);default:return this.isAsyncFunction()?(e&&this.unexpected(),this.next(),this.parseFunctionStatement(a,!0,!e)):(o=this.value,n=this.parseExpression(),s===v.name&&"Identifier"===n.type&&this.eat(v.colon)?this.parseLabeledStatement(a,o,n,e):this.parseExpressionStatement(a,n))}},e.parseBreakContinueStatement=function(e,t){for(var r="break"===t,i=(this.next(),this.eat(v.semi)||this.insertSemicolon()?e.label=null:this.type!==v.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon()),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")},e.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")},e.parseDoStatement=function(e){return this.next(),this.labels.push(Be),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(v._while),e.test=this.parseParenExpression(),6<=this.options.ecmaVersion?this.eat(v.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},e.parseForStatement=function(e){this.next();var t,r,i,n,s,a,o=9<=this.options.ecmaVersion&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;return this.labels.push(Be),this.enterScope(0),this.expect(v.parenL),this.type===v.semi?(-1<o&&this.unexpected(o),this.parseFor(e,null)):(t=this.isLet(),this.type===v._var||this.type===v._const||t?(r=this.startNode(),t=t?"let":this.value,this.next(),this.parseVar(r,!0,t),this.finishNode(r,"VariableDeclaration"),(this.type===v._in||6<=this.options.ecmaVersion&&this.isContextual("of"))&&1===r.declarations.length?(9<=this.options.ecmaVersion&&(this.type===v._in?-1<o&&this.unexpected(o):e.await=-1<o),this.parseForIn(e,r)):(-1<o&&this.unexpected(o),this.parseFor(e,r))):(t=this.isContextual("let"),r=!1,i=this.containsEsc,n=new Ve,s=this.start,a=-1<o?this.parseExprSubscripts(n,"await"):this.parseExpression(!0,n),this.type===v._in||(r=6<=this.options.ecmaVersion&&this.isContextual("of"))?(-1<o?(this.type===v._in&&this.unexpected(o),e.await=!0):r&&8<=this.options.ecmaVersion&&(a.start!==s||i||"Identifier"!==a.type||"async"!==a.name?9<=this.options.ecmaVersion&&(e.await=!1):this.unexpected()),t&&r&&this.raise(a.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(a,!1,n),this.checkLValPattern(a),this.parseForIn(e,a)):(this.checkExpressionErrors(n,!0),-1<o&&this.unexpected(o),this.parseFor(e,a))))},e.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,Oe|(r?0:Me),!1,t)},e.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(v._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},e.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(v.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},e.parseSwitchStatement=function(e){var t;this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(v.braceL),this.labels.push(De),this.enterScope(0);for(var r,i=!1;this.type!==v.braceR;)this.type===v._case||this.type===v._default?(r=this.type===v._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(v.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")},e.parseThrowStatement=function(e){return this.next(),o.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")},[]),Oe=(e.parseCatchClauseParam=function(){var e=this.parseBindingAtom(),t="Identifier"===e.type;return this.enterScope(t?32:0),this.checkLValPattern(e,t?4:2),this.expect(v.parenR),e},e.parseTryStatement=function(e){var t;return this.next(),e.block=this.parseBlock(),e.handler=null,this.type===v._catch&&(t=this.startNode(),this.next(),this.eat(v.parenL)?t.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0)),t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")),e.finalizer=this.eat(v._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},e.parseVarStatement=function(e,t,r){return this.next(),this.parseVar(e,!1,t,r),this.semicolon(),this.finishNode(e,"VariableDeclaration")},e.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(Be),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},e.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")},e.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},e.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===v._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")},e.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},e.parseBlock=function(e,t,r){for(void 0===e&&(e=!0),(t=void 0===t?this.startNode():t).body=[],this.expect(v.braceL),e&&this.enterScope(0);this.type!==v.braceR;){var i=this.parseStatement(null);t.body.push(i)}return r&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")},e.parseFor=function(e,t){return e.init=t,this.expect(v.semi),e.test=this.type===v.semi?null:this.parseExpression(),this.expect(v.semi),e.update=this.type===v.parenR?null:this.parseExpression(),this.expect(v.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},e.parseForIn=function(e,t){var r=this.type===v._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"),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssign(),this.expect(v.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")},e.parseVar=function(e,t,r,i){for(e.declarations=[],e.kind=r;;){var n=this.startNode();if(this.parseVarId(n,r),this.eat(v.eq)?n.init=this.parseMaybeAssign(t):i||"const"!==r||this.type===v._in||6<=this.options.ecmaVersion&&this.isContextual("of")?i||"Identifier"===n.id.type||t&&(this.type===v._in||this.isContextual("of"))?n.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),e.declarations.push(this.finishNode(n,"VariableDeclarator")),!this.eat(v.comma))break}return e},e.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLValPattern(e.id,"var"===t?1:2,!1)},1),Me=2;function Fe(e,t){var r=e.computed,e=e.key;return!r&&("Identifier"===e.type&&e.name===t||"Literal"===e.type&&e.value===t)}e.parseFunction=function(e,t,r,i,n){this.initFunction(e),(9<=this.options.ecmaVersion||6<=this.options.ecmaVersion&&!i)&&(this.type===v.star&&t&Me&&this.unexpected(),e.generator=this.eat(v.star)),8<=this.options.ecmaVersion&&(e.async=!!i),t&Oe&&(e.id=4&t&&this.type!==v.name?null:this.parseIdent(),!e.id||t&Me||this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?1:2:3));var i=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Te(e.async,e.generator)),t&Oe||(e.id=this.type===v.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,r,!1,n),this.yieldPos=i,this.awaitPos=s,this.awaitIdentPos=a,this.finishNode(e,t&Oe?"FunctionDeclaration":"FunctionExpression")},e.parseFunctionParams=function(e){this.expect(v.parenL),e.params=this.parseBindingList(v.parenR,!1,8<=this.options.ecmaVersion),this.checkYieldAwaitInDefaultParams()},e.parseClass=function(e,t){this.next();var r=this.strict,i=(this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e),this.enterClassBody()),n=this.startNode(),s=!1;for(n.body=[],this.expect(v.braceL);this.type!==v.braceR;){var a=this.parseClassElement(null!==e.superClass);a&&(n.body.push(a),"MethodDefinition"===a.type&&"constructor"===a.kind?(s&&this.raiseRecoverable(a.start,"Duplicate constructor in the same class"),s=!0):a.key&&"PrivateIdentifier"===a.key.type&&function(e,t){var r=t.key.name,i=e[r],n="true";"MethodDefinition"!==t.type||"get"!==t.kind&&"set"!==t.kind||(n=(t.static?"s":"i")+t.kind);if("iget"===i&&"iset"===n||"iset"===i&&"iget"===n||"sget"===i&&"sset"===n||"sset"===i&&"sget"===n)e[r]="true";else{if(i)return 1;e[r]=n}}(i,a)&&this.raiseRecoverable(a.key.start,"Identifier '#"+a.key.name+"' has already been declared"))}return this.strict=r,this.next(),e.body=this.finishNode(n,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},e.parseClassElement=function(e){if(this.eat(v.semi))return null;var t=this.options.ecmaVersion,r=this.startNode(),i="",n=!1,s=!1,a="method",o=!1;if(this.eatContextual("static")){if(13<=t&&this.eat(v.braceL))return this.parseClassStaticBlock(r),r;this.isClassElementNameStart()||this.type===v.star?o=!0:i="static"}return r.static=o,!i&&8<=t&&this.eatContextual("async")&&(!this.isClassElementNameStart()&&this.type!==v.star||this.canInsertSemicolon()?i="async":s=!0),!i&&(9<=t||!s)&&this.eat(v.star)&&(n=!0),i||s||n||(o=this.value,(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?a=o:i=o)),i?(r.computed=!1,r.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),r.key.name=i,this.finishNode(r.key,"Identifier")):this.parseClassElementName(r),t<13||this.type===v.parenL||"method"!==a||n||s?(i=(o=!r.static&&Fe(r,"constructor"))&&e,o&&"method"!==a&&this.raise(r.key.start,"Constructor can't have get/set modifier"),r.kind=o?"constructor":a,this.parseClassMethod(r,n,s,i)):this.parseClassField(r),r},e.isClassElementNameStart=function(){return this.type===v.name||this.type===v.privateId||this.type===v.num||this.type===v.string||this.type===v.bracketL||this.type.keyword},e.parseClassElementName=function(e){this.type===v.privateId?("constructor"===this.value&&this.raise(this.start,"Classes can't have an element named '#constructor'"),e.computed=!1,e.key=this.parsePrivateIdent()):this.parsePropertyName(e)},e.parseClassMethod=function(e,t,r,i){var n=e.key,n=("constructor"===e.kind?(t&&this.raise(n.start,"Constructor can't be a generator"),r&&this.raise(n.start,"Constructor can't be an async method")):e.static&&Fe(e,"prototype")&&this.raise(n.start,"Classes may not have a static property named prototype"),e.value=this.parseMethod(t,r,i));return"get"===e.kind&&0!==n.params.length&&this.raiseRecoverable(n.start,"getter should have no params"),"set"===e.kind&&1!==n.params.length&&this.raiseRecoverable(n.start,"setter should have exactly one param"),"set"===e.kind&&"RestElement"===n.params[0].type&&this.raiseRecoverable(n.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")},e.parseClassField=function(e){var t,r;return Fe(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&Fe(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(v.eq)?(r=(t=this.currentThisScope()).inClassFieldInit,t.inClassFieldInit=!0,e.value=this.parseMaybeAssign(),t.inClassFieldInit=r):e.value=null,this.semicolon(),this.finishNode(e,"PropertyDefinition")},e.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(320);this.type!==v.braceR;){var r=this.parseStatement(null);e.body.push(r)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")},e.parseClassId=function(e,t){this.type===v.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,2,!1)):(!0===t&&this.unexpected(),e.id=null)},e.parseClassSuper=function(e){e.superClass=this.eat(v._extends)?this.parseExprSubscripts(null,!1):null},e.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared},e.exitClassBody=function(){var e=this.privateNameStack.pop(),t=e.declared,r=e.used;if(this.options.checkPrivateFields)for(var e=this.privateNameStack.length,i=0===e?null:this.privateNameStack[e-1],n=0;n<r.length;++n){var s=r[n];xe(t,s.name)||(i?i.used.push(s):this.raiseRecoverable(s.start,"Private field '#"+s.name+"' must be declared in an enclosing class"))}},e.parseExportAllDeclaration=function(e,t){return 11<=this.options.ecmaVersion&&(this.eatContextual("as")?(e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==v.string&&this.unexpected(),e.source=this.parseExprAtom(),16<=this.options.ecmaVersion&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ExportAllDeclaration")},e.parseExport=function(e,t){if(this.next(),this.eat(v.star))return this.parseExportAllDeclaration(e,t);if(this.eat(v._default))return this.checkExport(t,"default",this.lastTokStart),e.declaration=this.parseExportDefaultDeclaration(),this.finishNode(e,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())e.declaration=this.parseExportDeclaration(e),"VariableDeclaration"===e.declaration.type?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==v.string&&this.unexpected(),e.source=this.parseExprAtom(),16<=this.options.ecmaVersion&&(e.attributes=this.parseWithClause());else{for(var r=0,i=e.specifiers;r<i.length;r+=1){var n=i[r];this.checkUnreserved(n.local),this.checkLocalExport(n.local),"Literal"===n.local.type&&this.raise(n.local.start,"A string literal cannot be used as an exported binding without `from`.")}e.source=null}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")},e.parseExportDeclaration=function(e){return this.parseStatement(null)},e.parseExportDefaultDeclaration=function(){var e,t;return this.type===v._function||(t=this.isAsyncFunction())?(e=this.startNode(),this.next(),t&&this.next(),this.parseFunction(e,4|Oe,!1,t)):this.type===v._class?(e=this.startNode(),this.parseClass(e,"nullableID")):(t=this.parseMaybeAssign(),this.semicolon(),t)},e.checkExport=function(e,t,r){e&&("string"!=typeof t&&(t="Identifier"===t.type?t.name:t.value),xe(e,t)&&this.raiseRecoverable(r,"Duplicate export '"+t+"'"),e[t]=!0)},e.checkPatternExport=function(e,t){var r=t.type;if("Identifier"===r)this.checkExport(e,t,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)},e.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)}},e.shouldParseExportStatement=function(){return"var"===this.type.keyword||"const"===this.type.keyword||"class"===this.type.keyword||"function"===this.type.keyword||this.isLet()||this.isAsyncFunction()},e.parseExportSpecifier=function(e){var t=this.startNode();return t.local=this.parseModuleExportName(),t.exported=this.eatContextual("as")?this.parseModuleExportName():t.local,this.checkExport(e,t.exported,t.exported.start),this.finishNode(t,"ExportSpecifier")},e.parseExportSpecifiers=function(e){var t=[],r=!0;for(this.expect(v.braceL);!this.eat(v.braceR);){if(r)r=!1;else if(this.expect(v.comma),this.afterTrailingComma(v.braceR))break;t.push(this.parseExportSpecifier(e))}return t},e.parseImport=function(e){return this.next(),this.type===v.string?(e.specifiers=Re,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===v.string?this.parseExprAtom():this.unexpected()),16<=this.options.ecmaVersion&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ImportDeclaration")},e.parseImportSpecifier=function(){var e=this.startNode();return e.imported=this.parseModuleExportName(),this.eatContextual("as")?e.local=this.parseIdent():(this.checkUnreserved(e.imported),e.local=e.imported),this.checkLValSimple(e.local,2),this.finishNode(e,"ImportSpecifier")},e.parseImportDefaultSpecifier=function(){var e=this.startNode();return e.local=this.parseIdent(),this.checkLValSimple(e.local,2),this.finishNode(e,"ImportDefaultSpecifier")},e.parseImportNamespaceSpecifier=function(){var e=this.startNode();return this.next(),this.expectContextual("as"),e.local=this.parseIdent(),this.checkLValSimple(e.local,2),this.finishNode(e,"ImportNamespaceSpecifier")},e.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type!==v.name||(e.push(this.parseImportDefaultSpecifier()),this.eat(v.comma)))if(this.type===v.star)e.push(this.parseImportNamespaceSpecifier());else for(this.expect(v.braceL);!this.eat(v.braceR);){if(t)t=!1;else if(this.expect(v.comma),this.afterTrailingComma(v.braceR))break;e.push(this.parseImportSpecifier())}return e},e.parseWithClause=function(){var e=[];if(this.eat(v._with)){this.expect(v.braceL);for(var t={},r=!0;!this.eat(v.braceR);){if(r)r=!1;else if(this.expect(v.comma),this.afterTrailingComma(v.braceR))break;var i=this.parseImportAttribute(),n="Identifier"===i.key.type?i.key.name:i.key.value;xe(t,n)&&this.raiseRecoverable(i.key.start,"Duplicate attribute key '"+n+"'"),t[n]=!0,e.push(i)}}return e},e.parseImportAttribute=function(){var e=this.startNode();return e.key=this.type===v.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved),this.expect(v.colon),this.type!==v.string&&this.unexpected(),e.value=this.parseExprAtom(),this.finishNode(e,"ImportAttribute")},e.parseModuleExportName=function(){var e;return 13<=this.options.ecmaVersion&&this.type===v.string?(e=this.parseLiteral(this.value),Ce.test(e.value)&&this.raise(e.start,"An export name cannot include a lone surrogate."),e):this.parseIdent(!0)},e.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)},e.isDirectiveCandidate=function(e){return 5<=this.options.ecmaVersion&&"ExpressionStatement"===e.type&&"Literal"===e.expression.type&&"string"==typeof e.expression.value&&('"'===this.input[e.start]||"'"===this.input[e.start])};function u(e,t,r,i,n){this.token=e,this.isExpr=!!t,this.preserveSpace=!!r,this.override=i,this.generator=!!n}var e=l.prototype,d=(e.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"AssignmentPattern":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);break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,r);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else r&&this.checkPatternErrors(r,!0);return e},e.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},e.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")},e.parseRestBinding=function(){var e=this.startNode();return this.next(),6===this.options.ecmaVersion&&this.type!==v.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")},e.parseBindingAtom=function(){if(6<=this.options.ecmaVersion)switch(this.type){case v.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(v.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case v.braceL:return this.parseObj(!0)}return this.parseIdent()},e.parseBindingList=function(e,t,r,i){for(var n=[],s=!0;!this.eat(e);)if(s?s=!1:this.expect(v.comma),t&&this.type===v.comma)n.push(null);else{if(r&&this.afterTrailingComma(e))break;if(this.type===v.ellipsis){var a=this.parseRestBinding();this.parseBindingListItem(a),n.push(a),this.type===v.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}n.push(this.parseAssignableListItem(i))}return n},e.parseAssignableListItem=function(e){var t=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(t),t},e.parseBindingListItem=function(e){return e},e.parseMaybeDefault=function(e,t,r){return r=r||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(v.eq)?r:((e=this.startNodeAt(e,t)).left=r,e.right=this.parseMaybeAssign(),this.finishNode(e,"AssignmentPattern"))},e.checkLValSimple=function(e,t,r){var i=0!==(t=void 0===t?0:t);switch(e.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(i?"Binding ":"Assigning to ")+e.name+" in strict mode"),i&&(2===t&&"let"===e.name&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),r&&(xe(r,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),r[e.name]=!0),5!==t)&&this.declareName(e.name,t,e.start);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":i&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ParenthesizedExpression":return i&&this.raiseRecoverable(e.start,"Binding parenthesized expression"),this.checkLValSimple(e.expression,t,r);default:this.raise(e.start,(i?"Binding":"Assigning to")+" rvalue")}},e.checkLValPattern=function(e,t,r){switch(void 0===t&&(t=0),e.type){case"ObjectPattern":for(var i=0,n=e.properties;i<n.length;i+=1){var s=n[i];this.checkLValInnerPattern(s,t,r)}break;case"ArrayPattern":for(var a=0,o=e.elements;a<o.length;a+=1){var c=o[a];c&&this.checkLValInnerPattern(c,t,r)}break;default:this.checkLValSimple(e,t,r)}},{b_stat:new u("{",!(e.checkLValInnerPattern=function(e,t,r){switch(void 0===t&&(t=0),e.type){case"Property":this.checkLValInnerPattern(e.value,t,r);break;case"AssignmentPattern":this.checkLValPattern(e.left,t,r);break;case"RestElement":this.checkLValPattern(e.argument,t,r);break;default:this.checkLValPattern(e,t,r)}})),b_expr:new u("{",!0),b_tmpl:new u("${",!1),p_stat:new u("(",!1),p_expr:new u("(",!0),q_tmpl:new u("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new u("function",!1),f_expr:new u("function",!0),f_expr_gen:new u("function",!0,!1,null,!0),f_gen:new u("function",!1,!1,null,!0)}),e=l.prototype,e=(e.initialContext=function(){return[d.b_stat]},e.curContext=function(){return this.context[this.context.length-1]},e.braceIsBlock=function(e){var t=this.curContext();return t===d.f_expr||t===d.f_stat||(e!==v.colon||t!==d.b_stat&&t!==d.b_expr?e===v._return||e===v.name&&this.exprAllowed?o.test(this.input.slice(this.lastTokEnd,this.start)):e===v._else||e===v.semi||e===v.eof||e===v.parenR||e===v.arrow||(e===v.braceL?t===d.b_stat:e!==v._var&&e!==v._const&&e!==v.name&&!this.exprAllowed):!t.isExpr)},e.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},e.updateContext=function(e){var t,r=this.type;r.keyword&&e===v.dot?this.exprAllowed=!1:(t=r.updateContext)?t.call(this,e):this.exprAllowed=r.beforeExpr},e.overrideContext=function(e){this.curContext()!==e&&(this.context[this.context.length-1]=e)},v.parenR.updateContext=v.braceR.updateContext=function(){var e;1===this.context.length?this.exprAllowed=!0:((e=this.context.pop())===d.b_stat&&"function"===this.curContext().token&&(e=this.context.pop()),this.exprAllowed=!e.isExpr)},v.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?d.b_stat:d.b_expr),this.exprAllowed=!0},v.dollarBraceL.updateContext=function(){this.context.push(d.b_tmpl),this.exprAllowed=!0},v.parenL.updateContext=function(e){e=e===v._if||e===v._for||e===v._with||e===v._while;this.context.push(e?d.p_stat:d.p_expr),this.exprAllowed=!0},v.incDec.updateContext=function(){},v._function.updateContext=v._class.updateContext=function(e){!e.beforeExpr||e===v._else||e===v.semi&&this.curContext()!==d.p_stat||e===v._return&&o.test(this.input.slice(this.lastTokEnd,this.start))||(e===v.colon||e===v.braceL)&&this.curContext()===d.b_stat?this.context.push(d.f_stat):this.context.push(d.f_expr),this.exprAllowed=!1},v.colon.updateContext=function(){"function"===this.curContext().token&&this.context.pop(),this.exprAllowed=!0},v.backQuote.updateContext=function(){this.curContext()===d.q_tmpl?this.context.pop():this.context.push(d.q_tmpl),this.exprAllowed=!1},v.star.updateContext=function(e){e===v._function&&(e=this.context.length-1,this.context[e]===d.f_expr?this.context[e]=d.f_expr_gen:this.context[e]=d.f_gen),this.exprAllowed=!0},v.name.updateContext=function(e){var t=!1;6<=this.options.ecmaVersion&&e!==v.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t},l.prototype);e.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=e.key;switch(i.type){case"Identifier":n=i.name;break;case"Literal":n=String(i.value);break;default:return}var n,e=e.kind;6<=this.options.ecmaVersion?"__proto__"===n&&"init"===e&&(t.proto&&(r?r.doubleProto<0&&(r.doubleProto=i.start):this.raiseRecoverable(i.start,"Redefinition of __proto__ property")),t.proto=!0):((r=t[n="$"+n])?("init"===e?this.strict&&r.init||r.get||r.set:r.init||r[e])&&this.raiseRecoverable(i.start,"Redefinition of property"):r=t[n]={init:!1,get:!1,set:!1},r[e]=!0)}},e.parseExpression=function(e,t){var r=this.start,i=this.startLoc,n=this.parseMaybeAssign(e,t);if(this.type!==v.comma)return n;var s=this.startNodeAt(r,i);for(s.expressions=[n];this.eat(v.comma);)s.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(s,"SequenceExpression")},e.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,o=(t?(n=t.parenthesizedAssign,s=t.trailingComma,a=t.doubleProto,t.parenthesizedAssign=t.trailingComma=-1):(t=new Ve,i=!0),this.start),c=this.startLoc,h=(this.type!==v.parenL&&this.type!==v.name||(this.potentialArrowAt=this.start,this.potentialArrowInForAwait="await"===e),this.parseMaybeConditional(e,t));return r&&(h=r.call(this,h,o,c)),this.type.isAssign?((r=this.startNodeAt(o,c)).operator=this.value,this.type===v.eq&&(h=this.toAssignable(h,!1,t)),i||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=h.start&&(t.shorthandAssign=-1),this.type===v.eq?this.checkLValPattern(h):this.checkLValSimple(h),r.left=h,this.next(),r.right=this.parseMaybeAssign(e),-1<a&&(t.doubleProto=a),this.finishNode(r,"AssignmentExpression")):(i&&this.checkExpressionErrors(t,!0),-1<n&&(t.parenthesizedAssign=n),-1<s&&(t.trailingComma=s),h)},e.parseMaybeConditional=function(e,t){var r=this.start,i=this.startLoc,n=this.parseExprOps(e,t);return!this.checkExpressionErrors(t)&&this.eat(v.question)?((t=this.startNodeAt(r,i)).test=n,t.consequent=this.parseMaybeAssign(),this.expect(v.colon),t.alternate=this.parseMaybeAssign(e),this.finishNode(t,"ConditionalExpression")):n},e.parseExprOps=function(e,t){var r=this.start,i=this.startLoc,n=this.parseMaybeUnary(t,!1,!1,e);return this.checkExpressionErrors(t)||n.start===r&&"ArrowFunctionExpression"===n.type?n:this.parseExprOp(n,r,i,-1,e)},e.parseExprOp=function(e,t,r,i,n){var s,a,o,c,h,l=this.type.binop;if(null!=l&&(!n||this.type!==v._in)&&i<l)return s=this.type===v.logicalOR||this.type===v.logicalAND,(a=this.type===v.coalesce)&&(l=v.logicalAND.binop),o=this.value,this.next(),c=this.start,h=this.startLoc,c=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,n),c,h,l,n),h=this.buildBinary(t,r,e,c,o,s||a),(s&&this.type===v.coalesce||a&&(this.type===v.logicalOR||this.type===v.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(h,t,r,i,n);return e},e.buildBinary=function(e,t,r,i,n,s){"PrivateIdentifier"===i.type&&this.raise(i.start,"Private identifier can only be left side of binary expression");e=this.startNodeAt(e,t);return e.left=r,e.operator=n,e.right=i,this.finishNode(e,s?"LogicalExpression":"BinaryExpression")},e.parseMaybeUnary=function(e,t,r,i){var n,s=this.start,a=this.startLoc;if(this.isContextual("await")&&this.canAwait)n=this.parseAwait(i),t=!0;else if(this.type.prefix){var o=this.startNode(),c=this.type===v.incDec;o.operator=this.value,o.prefix=!0,this.next(),o.argument=this.parseMaybeUnary(null,!0,c,i),this.checkExpressionErrors(e,!0),c?this.checkLValSimple(o.argument):this.strict&&"delete"===o.operator&&function e(t){return"Identifier"===t.type||"ParenthesizedExpression"===t.type&&e(t.expression)}(o.argument)?this.raiseRecoverable(o.start,"Deleting local variable in strict mode"):"delete"===o.operator&&function e(t){return"MemberExpression"===t.type&&"PrivateIdentifier"===t.property.type||"ChainExpression"===t.type&&e(t.expression)||"ParenthesizedExpression"===t.type&&e(t.expression)}(o.argument)?this.raiseRecoverable(o.start,"Private fields can not be deleted"):t=!0,n=this.finishNode(o,c?"UpdateExpression":"UnaryExpression")}else if(t||this.type!==v.privateId){if(n=this.parseExprSubscripts(e,i),this.checkExpressionErrors(e))return n;for(;this.type.postfix&&!this.canInsertSemicolon();){var h=this.startNodeAt(s,a);h.operator=this.value,h.prefix=!1,h.argument=n,this.checkLValSimple(n),this.next(),n=this.finishNode(h,"UpdateExpression")}}else(i||0===this.privateNameStack.length)&&this.options.checkPrivateFields&&this.unexpected(),n=this.parsePrivateIdent(),this.type!==v._in&&this.unexpected();return r||!this.eat(v.starstar)?n:t?void this.unexpected(this.lastTokStart):this.buildBinary(s,a,n,this.parseMaybeUnary(null,!1,!1,i),"**",!1)},e.parseExprSubscripts=function(e,t){var r=this.start,i=this.startLoc,n=this.parseExprAtom(e,t);return"ArrowFunctionExpression"===n.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd)||(n=this.parseSubscripts(n,r,i,!1,t),e&&"MemberExpression"===n.type&&(e.parenthesizedAssign>=n.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=n.start&&(e.parenthesizedBind=-1),e.trailingComma>=n.start)&&(e.trailingComma=-1)),n},e.parseSubscripts=function(e,t,r,i,n){for(var s=8<=this.options.ecmaVersion&&"Identifier"===e.type&&"async"===e.name&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start==5&&this.potentialArrowAt===e.start,a=!1;;){var o,c=this.parseSubscript(e,t,r,i,s,a,n);if(c.optional&&(a=!0),c===e||"ArrowFunctionExpression"===c.type)return a&&((o=this.startNodeAt(t,r)).expression=c,c=this.finishNode(o,"ChainExpression")),c;e=c}},e.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(v.arrow)},e.parseSubscriptAsyncArrow=function(e,t,r,i){return this.parseArrowExpression(this.startNodeAt(e,t),r,!0,i)},e.parseSubscript=function(e,t,r,i,n,s,a){var o=11<=this.options.ecmaVersion,c=o&&this.eat(v.questionDot),h=(i&&c&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions"),this.eat(v.bracketL));if(h||c&&this.type!==v.parenL&&this.type!==v.backQuote||this.eat(v.dot)){var l=this.startNodeAt(t,r);l.object=e,h?(l.property=this.parseExpression(),this.expect(v.bracketR)):this.type===v.privateId&&"Super"!==e.type?l.property=this.parsePrivateIdent():l.property=this.parseIdent("never"!==this.options.allowReserved),l.computed=!!h,o&&(l.optional=c),e=this.finishNode(l,"MemberExpression")}else if(!i&&this.eat(v.parenL)){var h=new Ve,l=this.yieldPos,i=this.awaitPos,u=this.awaitIdentPos,p=(this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.parseExprList(v.parenR,8<=this.options.ecmaVersion,!1,h));if(n&&!c&&this.shouldParseAsyncArrow())return this.checkPatternErrors(h,!1),this.checkYieldAwaitInDefaultParams(),0<this.awaitIdentPos&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=l,this.awaitPos=i,this.awaitIdentPos=u,this.parseSubscriptAsyncArrow(t,r,p,a);this.checkExpressionErrors(h,!0),this.yieldPos=l||this.yieldPos,this.awaitPos=i||this.awaitPos,this.awaitIdentPos=u||this.awaitIdentPos;n=this.startNodeAt(t,r);n.callee=e,n.arguments=p,o&&(n.optional=c),e=this.finishNode(n,"CallExpression")}else this.type===v.backQuote&&((c||s)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions"),(a=this.startNodeAt(t,r)).tag=e,a.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(a,"TaggedTemplateExpression"));return e},e.parseExprAtom=function(e,t,r){this.type===v.slash&&this.readRegexp();var i=this.potentialArrowAt===this.start;switch(this.type){case v._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),c=this.startNode(),this.next(),this.type!==v.parenL||this.allowDirectSuper||this.raise(c.start,"super() call outside constructor of a subclass"),this.type!==v.dot&&this.type!==v.bracketL&&this.type!==v.parenL&&this.unexpected(),this.finishNode(c,"Super");case v._this:return c=this.startNode(),this.next(),this.finishNode(c,"ThisExpression");case v.name:var n=this.start,s=this.startLoc,a=this.containsEsc,o=this.parseIdent(!1);if(8<=this.options.ecmaVersion&&!a&&"async"===o.name&&!this.canInsertSemicolon()&&this.eat(v._function))return this.overrideContext(d.f_expr),this.parseFunction(this.startNodeAt(n,s),0,!1,!0,t);if(i&&!this.canInsertSemicolon()){if(this.eat(v.arrow))return this.parseArrowExpression(this.startNodeAt(n,s),[o],!1,t);if(8<=this.options.ecmaVersion&&"async"===o.name&&this.type===v.name&&!a&&(!this.potentialArrowInForAwait||"of"!==this.value||this.containsEsc))return o=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(v.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(n,s),[o],!0,t)}return o;case v.regexp:var c,a=this.value;return(c=this.parseLiteral(a.value)).regex={pattern:a.pattern,flags:a.flags},c;case v.num:case v.string:return this.parseLiteral(this.value);case v._null:case v._true:case v._false:return(c=this.startNode()).value=this.type===v._null?null:this.type===v._true,c.raw=this.type.keyword,this.next(),this.finishNode(c,"Literal");case v.parenL:n=this.start,s=this.parseParenAndDistinguishExpression(i,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(s)&&(e.parenthesizedAssign=n),e.parenthesizedBind<0)&&(e.parenthesizedBind=n),s;case v.bracketL:return c=this.startNode(),this.next(),c.elements=this.parseExprList(v.bracketR,!0,!0,e),this.finishNode(c,"ArrayExpression");case v.braceL:return this.overrideContext(d.b_expr),this.parseObj(!1,e);case v._function:return c=this.startNode(),this.next(),this.parseFunction(c,0);case v._class:return this.parseClass(this.startNode(),!1);case v._new:return this.parseNew();case v.backQuote:return this.parseTemplate();case v._import:return 11<=this.options.ecmaVersion?this.parseExprImport(r):this.unexpected();default:return this.parseExprAtomDefault()}},e.parseExprAtomDefault=function(){this.unexpected()},e.parseExprImport=function(e){var t=this.startNode();return this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type!==v.parenL||e?this.type===v.dot?((e=this.startNodeAt(t.start,t.loc&&t.loc.start)).name="import",t.meta=this.finishNode(e,"Identifier"),this.parseImportMeta(t)):void this.unexpected():this.parseDynamicImport(t)},e.parseDynamicImport=function(e){var t;return this.next(),e.source=this.parseMaybeAssign(),16<=this.options.ecmaVersion?this.eat(v.parenR)||(this.expect(v.comma),this.afterTrailingComma(v.parenR))?e.options=null:(e.options=this.parseMaybeAssign(),this.eat(v.parenR)||(this.expect(v.comma),this.afterTrailingComma(v.parenR))||this.unexpected()):this.eat(v.parenR)||(t=this.start,this.eat(v.comma)&&this.eat(v.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)),this.finishNode(e,"ImportExpression")},e.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),"meta"!==e.property.name&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),"module"===this.options.sourceType||this.options.allowImportExportEverywhere||this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")},e.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).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")},e.parseParenExpression=function(){this.expect(v.parenL);var e=this.parseExpression();return this.expect(v.parenR),e},e.shouldParseArrow=function(e){return!this.canInsertSemicolon()},e.parseParenAndDistinguishExpression=function(e,t){var r,i=this.start,n=this.startLoc,s=8<=this.options.ecmaVersion;if(6<=this.options.ecmaVersion){this.next();var a,o=this.start,c=this.startLoc,h=[],l=!0,u=!1,p=new Ve,d=this.yieldPos,f=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==v.parenR;){if(l?l=!1:this.expect(v.comma),s&&this.afterTrailingComma(v.parenR,!0)){u=!0;break}if(this.type===v.ellipsis){a=this.start,h.push(this.parseParenItem(this.parseRestBinding())),this.type===v.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}h.push(this.parseMaybeAssign(!1,p,this.parseParenItem))}var m=this.lastTokEnd,y=this.lastTokEndLoc;if(this.expect(v.parenR),e&&this.shouldParseArrow(h)&&this.eat(v.arrow))return this.checkPatternErrors(p,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=d,this.awaitPos=f,this.parseParenArrowList(i,n,h,t);h.length&&!u||this.unexpected(this.lastTokStart),a&&this.unexpected(a),this.checkExpressionErrors(p,!0),this.yieldPos=d||this.yieldPos,this.awaitPos=f||this.awaitPos,1<h.length?((r=this.startNodeAt(o,c)).expressions=h,this.finishNodeAt(r,"SequenceExpression",m,y)):r=h[0]}else r=this.parseParenExpression();return this.options.preserveParens?((e=this.startNodeAt(i,n)).expression=r,this.finishNode(e,"ParenthesizedExpression")):r},e.parseParenItem=function(e){return e},e.parseParenArrowList=function(e,t,r,i){return this.parseArrowExpression(this.startNodeAt(e,t),r,!1,i)};function je(e){this.flags=e,this.var=[],this.lexical=[],this.functions=[],this.inClassFieldInit=!1}function Ue(e,t,r){this.type="",this.start=t,this.end=0,e.options.locations&&(this.loc=new Ee(e,r)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])}var qe=[],e=(e.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e,t,r=this.startNode();return this.next(),6<=this.options.ecmaVersion&&this.type===v.dot?((e=this.startNodeAt(r.start,r.loc&&r.loc.start)).name="new",r.meta=this.finishNode(e,"Identifier"),this.next(),e=this.containsEsc,r.property=this.parseIdent(!0),"target"!==r.property.name&&this.raiseRecoverable(r.property.start,"The only valid meta property for new is 'new.target'"),e&&this.raiseRecoverable(r.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(r.start,"'new.target' can only be used in functions and class static block"),this.finishNode(r,"MetaProperty")):(e=this.start,t=this.startLoc,r.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),e,t,!0,!1),this.eat(v.parenL)?r.arguments=this.parseExprList(v.parenR,8<=this.options.ecmaVersion,!1):r.arguments=qe,this.finishNode(r,"NewExpression"))},e.parseTemplateElement=function(e){var e=e.isTagged,t=this.startNode();return this.type===v.invalidTemplate?(e||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),t.value={raw:this.value.replace(/\r\n?/g,"\n"),cooked:null}):t.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),t.tail=this.type===v.backQuote,this.finishNode(t,"TemplateElement")},e.parseTemplate=function(e){var t=(e=void 0===e?{}:e).isTagged,r=(void 0===t&&(t=!1),this.startNode()),i=(this.next(),r.expressions=[],this.parseTemplateElement({isTagged:t}));for(r.quasis=[i];!i.tail;)this.type===v.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(v.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(v.braceR),r.quasis.push(i=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(r,"TemplateLiteral")},e.isAsyncProp=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===v.name||this.type===v.num||this.type===v.string||this.type===v.bracketL||this.type.keyword||9<=this.options.ecmaVersion&&this.type===v.star)&&!o.test(this.input.slice(this.lastTokEnd,this.start))},e.parseObj=function(e,t){var r=this.startNode(),i=!0,n={};for(r.properties=[],this.next();!this.eat(v.braceR);){if(i)i=!1;else if(this.expect(v.comma),5<=this.options.ecmaVersion&&this.afterTrailingComma(v.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")},e.parseProperty=function(e,t){var r,i,n,s,a=this.startNode();if(9<=this.options.ecmaVersion&&this.eat(v.ellipsis))return e?(a.argument=this.parseIdent(!1),this.type===v.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(a,"RestElement")):(a.argument=this.parseMaybeAssign(!1,t),this.type===v.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(v.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(v.star),this.parsePropertyName(a)):i=!1,this.parsePropertyValue(a,e,r,i,n,s,t,o),this.finishNode(a,"Property")},e.parseGetterSetter=function(e){e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var t="get"===e.kind?0:1;e.value.params.length!==t?(t=e.value.start,"get"===e.kind?this.raiseRecoverable(t,"getter should have no params"):this.raiseRecoverable(t,"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")},e.parsePropertyValue=function(e,t,r,i,n,s,a,o){(r||i)&&this.type===v.colon&&this.unexpected(),this.eat(v.colon)?(e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,a),e.kind="init"):6<=this.options.ecmaVersion&&this.type===v.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===v.comma||this.type===v.braceR||this.type===v.eq?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,this.copyNode(e.key)):this.type===v.eq&&a?(a.shorthandAssign<0&&(a.shorthandAssign=this.start),e.value=this.parseMaybeDefault(n,s,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.shorthand=!0):this.unexpected():((r||i)&&this.unexpected(),this.parseGetterSetter(e))},e.parsePropertyName=function(e){if(6<=this.options.ecmaVersion){if(this.eat(v.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(v.bracketR),e.key;e.computed=!1}return e.key=this.type===v.num||this.type===v.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved)},e.initFunction=function(e){e.id=null,6<=this.options.ecmaVersion&&(e.generator=e.expression=!1),8<=this.options.ecmaVersion&&(e.async=!1)},e.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|Te(t,i.generator)|(r?128:0)),this.expect(v.parenL),i.params=this.parseBindingList(v.parenR,!1,8<=this.options.ecmaVersion),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(i,!1,!0,!1),this.yieldPos=n,this.awaitPos=s,this.awaitIdentPos=a,this.finishNode(i,"FunctionExpression")},e.parseArrowExpression=function(e,t,r,i){var n=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;return this.enterScope(16|Te(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,i),this.yieldPos=n,this.awaitPos=s,this.awaitIdentPos=a,this.finishNode(e,"ArrowFunctionExpression")},e.parseFunctionBody=function(e,t,r,i){var n=t&&this.type!==v.braceL,s=this.strict,a=!1;n?(e.body=this.parseMaybeAssign(i),e.expression=!0,this.checkParams(e,!1)):(n=7<=this.options.ecmaVersion&&!this.isSimpleParamList(e.params),s&&!n||(a=this.strictDirective(this.end))&&n&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"),i=this.labels,this.labels=[],a&&(this.strict=!0),this.checkParams(e,!s&&!a&&!t&&!r&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,5),e.body=this.parseBlock(!1,void 0,a&&!s),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=i),this.exitScope()},e.isSimpleParamList=function(e){for(var t=0,r=e;t<r.length;t+=1)if("Identifier"!==r[t].type)return!1;return!0},e.checkParams=function(e,t){for(var r=Object.create(null),i=0,n=e.params;i<n.length;i+=1){var s=n[i];this.checkLValInnerPattern(s,1,t?null:r)}},e.parseExprList=function(e,t,r,i){for(var n=[],s=!0;!this.eat(e);){if(s)s=!1;else if(this.expect(v.comma),t&&this.afterTrailingComma(e))break;var a=void 0;r&&this.type===v.comma?a=null:this.type===v.ellipsis?(a=this.parseSpread(i),i&&this.type===v.comma&&i.trailingComma<0&&(i.trailingComma=this.start)):a=this.parseMaybeAssign(!1,i),n.push(a)}return n},e.checkUnreserved=function(e){var t=e.start,r=e.end,e=e.name;this.inGenerator&&"yield"===e&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&"await"===e&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),this.currentThisScope().inClassFieldInit&&"arguments"===e&&this.raiseRecoverable(t,"Cannot use 'arguments' in class field initializer"),!this.inClassStaticBlock||"arguments"!==e&&"await"!==e||this.raise(t,"Cannot use "+e+" in class static initialization block"),this.keywords.test(e)&&this.raise(t,"Unexpected keyword '"+e+"'"),this.options.ecmaVersion<6&&-1!==this.input.slice(t,r).indexOf("\\")||(this.strict?this.reservedWordsStrict:this.reservedWords).test(e)&&(this.inAsync||"await"!==e||this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '"+e+"' is reserved"))},e.parseIdent=function(e){var t=this.parseIdentNode();return this.next(!!e),this.finishNode(t,"Identifier"),e||(this.checkUnreserved(t),"await"!==t.name)||this.awaitIdentPos||(this.awaitIdentPos=t.start),t},e.parseIdentNode=function(){var e=this.startNode();return this.type===v.name?e.name=this.value:this.type.keyword?(e.name=this.type.keyword,"class"!==e.name&&"function"!==e.name||this.lastTokEnd===this.lastTokStart+1&&46===this.input.charCodeAt(this.lastTokStart)||this.context.pop(),this.type=v.name):this.unexpected(),e},e.parsePrivateIdent=function(){var e=this.startNode();return this.type===v.privateId?e.name=this.value:this.unexpected(),this.next(),this.finishNode(e,"PrivateIdentifier"),this.options.checkPrivateFields&&(0===this.privateNameStack.length?this.raise(e.start,"Private field '#"+e.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(e)),e},e.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===v.semi||this.canInsertSemicolon()||this.type!==v.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(v.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")},e.parseAwait=function(e){this.awaitPos||(this.awaitPos=this.start);var t=this.startNode();return this.next(),t.argument=this.parseMaybeUnary(null,!0,!1,e),this.finishNode(t,"AwaitExpression")},l.prototype),e=(e.raise=function(e,t){var r=Ie(this.input,e),t=(t+=" ("+r.line+":"+r.column+")",new SyntaxError(t));throw t.pos=e,t.loc=r,t.raisedAt=this.pos,t},e.raiseRecoverable=e.raise,e.curPosition=function(){if(this.options.locations)return new _e(this.curLine,this.pos-this.lineStart)},l.prototype),e=(e.enterScope=function(e){this.scopeStack.push(new je(e))},e.exitScope=function(){this.scopeStack.pop()},e.treatFunctionsAsVarInScope=function(e){return 2&e.flags||!this.inModule&&1&e.flags},e.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){n=this.currentScope();i=this.treatFunctionsAsVar?-1<n.lexical.indexOf(e):-1<n.lexical.indexOf(e)||-1<n.var.indexOf(e),n.functions.push(e)}else for(var s=this.scopeStack.length-1;0<=s;--s){var a=this.scopeStack[s];if(-1<a.lexical.indexOf(e)&&!(32&a.flags&&a.lexical[0]===e)||!this.treatFunctionsAsVarInScope(a)&&-1<a.functions.indexOf(e)){i=!0;break}if(a.var.push(e),this.inModule&&1&a.flags&&delete this.undefinedExports[e],259&a.flags)break}i&&this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")},e.checkLocalExport=function(e){-1===this.scopeStack[0].lexical.indexOf(e.name)&&-1===this.scopeStack[0].var.indexOf(e.name)&&(this.undefinedExports[e.name]=e)},e.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},e.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(259&t.flags)return t}},e.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(259&t.flags&&!(16&t.flags))return t}},l.prototype);function We(e,t,r,i){return e.type=t,e.end=r,this.options.locations&&(e.loc.end=i),this.options.ranges&&(e.range[1]=r),e}e.startNode=function(){return new Ue(this,this.start,this.startLoc)},e.startNodeAt=function(e,t){return new Ue(this,e,t)},e.finishNode=function(e,t){return We.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},e.finishNodeAt=function(e,t,r,i){return We.call(this,e,t,r,i)},e.copyNode=function(e){var t,r=new Ue(this,e.start,this.startLoc);for(t in e)r[t]=e[t];return r};var e="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",b=e+" Extended_Pictographic",Ge=b+" EBase EComp EMod EPres ExtPict",He={9:e,10:b,11:b,12:Ge,13:Ge,14:"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 EBase EComp EMod EPres ExtPict"},ze={9:"",10:"",11:"",12:"",13:"",14:"Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji"},Ke="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",e="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",b=e+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",Ge=b+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",Qe=Ge+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",Xe=Qe+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",Ye={9:e,10:b,11:Ge,12:Qe,13:Xe,14:"Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb 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 Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz"},Ze={};for(var x,Je=0,$e=[9,10,11,12,13,14];Je<$e.length;Je+=1)(x=Ze[x=$e[Je]]={binary:Se(He[x]+" "+Ke),binaryOfStrings:Se(ze[x]),nonBinary:{General_Category:Se(Ke),Script:Se(Ye[x])}}).nonBinary.Script_Extensions=x.nonBinary.Script,x.nonBinary.gc=x.nonBinary.General_Category,x.nonBinary.sc=x.nonBinary.Script,x.nonBinary.scx=x.nonBinary.Script_Extensions;function et(e,t){this.parent=e,this.base=t||this}function w(e){this.parser=e,this.validFlags="gim"+(6<=e.options.ecmaVersion?"uy":"")+(9<=e.options.ecmaVersion?"s":"")+(13<=e.options.ecmaVersion?"d":"")+(15<=e.options.ecmaVersion?"v":""),this.unicodeProperties=Ze[14<=e.options.ecmaVersion?14:e.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=Object.create(null),this.backReferenceNames=[],this.branchID=null}e=l.prototype;et.prototype.separatedFrom=function(e){for(var t=this;t;t=t.parent)for(var r=e;r;r=r.parent)if(t.base===r.base&&t!==r)return!0;return!1},et.prototype.sibling=function(){return new et(this.parent,this.base)};function tt(e){return 36===e||40<=e&&e<=43||46===e||63===e||91<=e&&e<=94||123<=e&&e<=125}function rt(e){return 65<=e&&e<=90||97<=e&&e<=122}w.prototype.reset=function(e,t,r){var i=-1!==r.indexOf("v"),n=-1!==r.indexOf("u");this.start=0|e,this.source=t+"",this.flags=r,i&&15<=this.parser.options.ecmaVersion?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=n&&6<=this.parser.options.ecmaVersion,this.switchV=!1,this.switchN=n&&9<=this.parser.options.ecmaVersion)},w.prototype.raise=function(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)},w.prototype.at=function(e,t){void 0===t&&(t=!1);var r,i=this.source,n=i.length;return n<=e?-1:(r=i.charCodeAt(e),!(!t&&!this.switchU||r<=55295||57344<=r||n<=e+1)&&56320<=(t=i.charCodeAt(e+1))&&t<=57343?(r<<10)+t-56613888:r)},w.prototype.nextIndex=function(e,t){void 0===t&&(t=!1);var r,i=this.source,n=i.length;return n<=e?n:(r=i.charCodeAt(e),!t&&!this.switchU||r<=55295||57344<=r||n<=e+1||(t=i.charCodeAt(e+1))<56320||57343<t?e+1:e+2)},w.prototype.current=function(e){return this.at(this.pos,e=void 0===e?!1:e)},w.prototype.lookahead=function(e){return this.at(this.nextIndex(this.pos,e=void 0===e?!1:e),e)},w.prototype.advance=function(e){this.pos=this.nextIndex(this.pos,e=void 0===e?!1:e)},w.prototype.eat=function(e,t){return this.current(t=void 0===t?!1:t)===e&&(this.advance(t),!0)},w.prototype.eatChars=function(e,t){void 0===t&&(t=!1);for(var r=this.pos,i=0,n=e;i<n.length;i+=1){var s=n[i],a=this.at(r,t);if(-1===a||a!==s)return!1;r=this.nextIndex(r,t)}return this.pos=r,!0},e.validateRegExpFlags=function(e){for(var t=e.validFlags,r=e.flags,i=!1,n=!1,s=0;s<r.length;s++){var a=r.charAt(s);-1===t.indexOf(a)&&this.raise(e.start,"Invalid regular expression flag"),-1<r.indexOf(a,s+1)&&this.raise(e.start,"Duplicate regular expression flag"),"u"===a&&(i=!0),"v"===a&&(n=!0)}15<=this.options.ecmaVersion&&i&&n&&this.raise(e.start,"Invalid regular expression flag")},e.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&9<=this.options.ecmaVersion&&function(e){for(var t in e)return 1}(e.groupNames)&&(e.switchN=!0,this.regexp_pattern(e))},e.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames=Object.create(null),e.backReferenceNames.length=0,e.branchID=null,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets"),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,r=e.backReferenceNames;t<r.length;t+=1){var i=r[t];e.groupNames[i]||e.raise("Invalid named capture referenced")}},e.regexp_disjunction=function(e){var t=16<=this.options.ecmaVersion;for(t&&(e.branchID=new et(e.branchID,null)),this.regexp_alternative(e);e.eat(124);)t&&(e.branchID=e.branchID.sibling()),this.regexp_alternative(e);t&&(e.branchID=e.branchID.parent),this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")},e.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););},e.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)},e.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},e.regexp_eatQuantifier=function(e,t){return!!this.regexp_eatQuantifierPrefix(e,t=void 0===t?!1:t)&&(e.eat(63),!0)},e.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},e.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var i,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},e.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)},e.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1},e.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)){if(16<=this.options.ecmaVersion){var r=this.regexp_eatModifiers(e),i=e.eat(45);if(r||i){for(var n=0;n<r.length;n++){var s=r.charAt(n);-1<r.indexOf(s,n+1)&&e.raise("Duplicate regular expression modifiers")}if(i){var a=this.regexp_eatModifiers(e);r||a||58!==e.current()||e.raise("Invalid regular expression modifiers");for(var o=0;o<a.length;o++){var c=a.charAt(o);(-1<a.indexOf(c,o+1)||-1<r.indexOf(c))&&e.raise("Duplicate regular expression modifiers")}}}}if(e.eat(58)){if(this.regexp_disjunction(e),e.eat(41))return!0;e.raise("Unterminated group")}}e.pos=t}return!1},e.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},e.regexp_eatModifiers=function(e){for(var t,r,i="";-1!==(t=e.current())&&(105===(r=t)||109===r||115===r);)i+=h(t),e.advance();return i},e.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)},e.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},e.regexp_eatSyntaxCharacter=function(e){var t=e.current();return!!tt(t)&&(e.lastIntValue=t,e.advance(),!0)},e.regexp_eatPatternCharacters=function(e){for(var t,r=e.pos;-1!==(t=e.current())&&!tt(t);)e.advance();return e.pos!==r},e.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))},e.regexp_groupSpecifier=function(e){if(e.eat(63)){this.regexp_eatGroupName(e)||e.raise("Invalid group");var t=16<=this.options.ecmaVersion,r=e.groupNames[e.lastStringValue];if(r)if(t)for(var i=0,n=r;i<n.length;i+=1)n[i].separatedFrom(e.branchID)||e.raise("Duplicate capture group name");else e.raise("Duplicate capture group name");t?(r||(e.groupNames[e.lastStringValue]=[])).push(e.branchID):e.groupNames[e.lastStringValue]=!0}},e.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},e.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=h(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=h(e.lastIntValue);return!0}return!1},e.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,r=11<=this.options.ecmaVersion,i=e.current(r);return e.advance(r),92===i&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(i=e.lastIntValue),a(r=i,!0)||36===r||95===r?(e.lastIntValue=i,!0):(e.pos=t,!1)},e.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,r=11<=this.options.ecmaVersion,i=e.current(r);return e.advance(r),92===i&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(i=e.lastIntValue),de(r=i,!0)||36===r||95===r||8204===r||8205===r?(e.lastIntValue=i,!0):(e.pos=t,!1)},e.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)},e.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},e.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},e.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},e.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},e.regexp_eatZero=function(e){return 48===e.current()&&!nt(e.lookahead())&&(e.lastIntValue=0,e.advance(),!0)},e.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)},e.regexp_eatControlLetter=function(e){var t=e.current();return!!rt(t)&&(e.lastIntValue=t%32,e.advance(),!0)},e.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){var r=e.pos,t=(t=void 0===t?!1:t)||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var i=e.lastIntValue;if(t&&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(t&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&0<=(s=e.lastIntValue)&&s<=1114111)return!0;t&&e.raise("Invalid unicode escape"),e.pos=r}return!1},e.regexp_eatIdentityEscape=function(e){var t;return e.switchU?!!this.regexp_eatSyntaxCharacter(e)||!!e.eat(47)&&(e.lastIntValue=47,!0):!(99===(t=e.current())||e.switchN&&107===t||(e.lastIntValue=t,e.advance(),0))},e.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};function it(e){return rt(e)||95===e}function nt(e){return 48<=e&&e<=57}function st(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}function at(e){return 65<=e&&e<=70?e-65+10:97<=e&&e<=102?e-97+10:e-48}function ot(e){return 48<=e&&e<=55}e.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(100===(i=t)||68===i||115===i||83===i||119===i||87===i)return e.lastIntValue=-1,e.advance(),1;var r,i=!1;if(e.switchU&&9<=this.options.ecmaVersion&&((i=80===t)||112===t)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&(r=this.regexp_eatUnicodePropertyValueExpression(e))&&e.eat(125))return i&&2===r&&e.raise("Invalid property name"),r;e.raise("Invalid property name")}return 0},e.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var r,i=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e))return r=e.lastStringValue,this.regexp_validateUnicodePropertyNameAndValue(e,i,r),1}return e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)?(i=e.lastStringValue,this.regexp_validateUnicodePropertyNameOrValue(e,i)):0},e.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){xe(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(r)||e.raise("Invalid property value")},e.regexp_validateUnicodePropertyNameOrValue=function(e,t){return e.unicodeProperties.binary.test(t)?1:e.switchV&&e.unicodeProperties.binaryOfStrings.test(t)?2:void e.raise("Invalid property name")},e.regexp_eatUnicodePropertyName=function(e){var t;for(e.lastStringValue="";it(t=e.current());)e.lastStringValue+=h(t),e.advance();return""!==e.lastStringValue},e.regexp_eatUnicodePropertyValue=function(e){var t,r;for(e.lastStringValue="";it(r=t=e.current())||nt(r);)e.lastStringValue+=h(t),e.advance();return""!==e.lastStringValue},e.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},e.regexp_eatCharacterClass=function(e){var t,r;return!!e.eat(91)&&(t=e.eat(94),r=this.regexp_classContents(e),e.eat(93)||e.raise("Unterminated character class"),t&&2===r&&e.raise("Negated character class may contain strings"),!0)},e.regexp_classContents=function(e){if(93!==e.current()){if(e.switchV)return this.regexp_classSetExpression(e);this.regexp_nonEmptyClassRanges(e)}return 1},e.regexp_nonEmptyClassRanges=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")}},e.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;e.switchU&&(99!==(r=e.current())&&!ot(r)||e.raise("Invalid class escape"),e.raise("Invalid escape")),e.pos=t}var r=e.current();return 93!==r&&(e.lastIntValue=r,e.advance(),!0)},e.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)},e.regexp_classSetExpression=function(e){var t,r=1;if(!this.regexp_eatClassSetRange(e))if(t=this.regexp_eatClassSetOperand(e)){2===t&&(r=2);for(var i=e.pos;e.eatChars([38,38]);)38!==e.current()&&(t=this.regexp_eatClassSetOperand(e))?2!==t&&(r=1):e.raise("Invalid character in character class");if(i!==e.pos)return r;for(;e.eatChars([45,45]);)this.regexp_eatClassSetOperand(e)||e.raise("Invalid character in character class");if(i!==e.pos)return r}else e.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(e)){if(!(t=this.regexp_eatClassSetOperand(e)))return r;2===t&&(r=2)}},e.regexp_eatClassSetRange=function(e){var t=e.pos;if(this.regexp_eatClassSetCharacter(e)){var r,i=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassSetCharacter(e))return r=e.lastIntValue,-1!==i&&-1!==r&&r<i&&e.raise("Range out of order in character class"),!0;e.pos=t}return!1},e.regexp_eatClassSetOperand=function(e){return this.regexp_eatClassSetCharacter(e)?1:this.regexp_eatClassStringDisjunction(e)||this.regexp_eatNestedClass(e)},e.regexp_eatNestedClass=function(e){var t=e.pos;if(e.eat(91)){var r=e.eat(94),i=this.regexp_classContents(e);if(e.eat(93))return r&&2===i&&e.raise("Negated character class may contain strings"),i;e.pos=t}if(e.eat(92)){r=this.regexp_eatCharacterClassEscape(e);if(r)return r;e.pos=t}return null},e.regexp_eatClassStringDisjunction=function(e){var t=e.pos;if(e.eatChars([92,113])){if(e.eat(123)){var r=this.regexp_classStringDisjunctionContents(e);if(e.eat(125))return r}else e.raise("Invalid escape");e.pos=t}return null},e.regexp_classStringDisjunctionContents=function(e){for(var t=this.regexp_classString(e);e.eat(124);)2===this.regexp_classString(e)&&(t=2);return t},e.regexp_classString=function(e){for(var t=0;this.regexp_eatClassSetCharacter(e);)t++;return 1===t?1:2},e.regexp_eatClassSetCharacter=function(e){var t,r=e.pos;return e.eat(92)?!(!this.regexp_eatCharacterEscape(e)&&!this.regexp_eatClassSetReservedPunctuator(e)&&(e.eat(98)?(e.lastIntValue=8,0):(e.pos=r,1))):!((r=e.current())<0||r===e.lookahead()&&(33===(t=r)||35<=t&&t<=38||42<=t&&t<=44||46===t||58<=t&&t<=64||94===t||96===t||126===t)||40===(t=r)||41===t||45===t||47===t||91<=t&&t<=93||123<=t&&t<=125||(e.advance(),e.lastIntValue=r,0))},e.regexp_eatClassSetReservedPunctuator=function(e){var t,r=e.current();return(33===(t=r)||35===t||37===t||38===t||44===t||45===t||58<=t&&t<=62||64===t||96===t||126===t)&&(e.lastIntValue=r,e.advance(),!0)},e.regexp_eatClassControlLetter=function(e){var t=e.current();return!(!nt(t)&&95!==t||(e.lastIntValue=t%32,e.advance(),0))},e.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},e.regexp_eatDecimalDigits=function(e){var t,r=e.pos;for(e.lastIntValue=0;nt(t=e.current());)e.lastIntValue=10*e.lastIntValue+(t-48),e.advance();return e.pos!==r},e.regexp_eatHexDigits=function(e){var t,r=e.pos;for(e.lastIntValue=0;st(t=e.current());)e.lastIntValue=16*e.lastIntValue+at(t),e.advance();return e.pos!==r},e.regexp_eatLegacyOctalEscapeSequence=function(e){var t,r;return!!this.regexp_eatOctalDigit(e)&&(t=e.lastIntValue,this.regexp_eatOctalDigit(e)?(r=e.lastIntValue,t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=64*t+8*r+e.lastIntValue:e.lastIntValue=8*t+r):e.lastIntValue=t,!0)},e.regexp_eatOctalDigit=function(e){var t=e.current();return ot(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)},e.regexp_eatFixedHexDigits=function(e,t){for(var r=e.pos,i=e.lastIntValue=0;i<t;++i){var n=e.current();if(!st(n))return e.pos=r,!1;e.lastIntValue=16*e.lastIntValue+at(n),e.advance()}return!0};function ct(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,e.options.locations&&(this.loc=new Ee(e,e.startLoc,e.endLoc)),e.options.ranges&&(this.range=[e.start,e.end])}b=l.prototype;function ht(e){return"function"!=typeof BigInt?null:BigInt(e.replace(/_/g,""))}b.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new ct(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},b.getToken=function(){return this.next(),new ct(this)},"undefined"!=typeof Symbol&&(b[Symbol.iterator]=function(){var t=this;return{next:function(){var e=t.getToken();return{done:e.type===v.eof,value:e}}}}),b.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(v.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},b.readToken=function(e){return a(e,6<=this.options.ecmaVersion)||92===e?this.readWord():this.getTokenFromCode(e)},b.fullCharCodeAtPos=function(){var e,t=this.input.charCodeAt(this.pos);return t<=55295||56320<=t||(e=this.input.charCodeAt(this.pos+1))<=56319||57344<=e?t:(t<<10)+e-56613888},b.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(-1===r&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(var i,n=t;-1<(i=ye(this.input,n,this.pos));)++this.curLine,n=this.lineStart=i;this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,r),t,this.pos,e,this.curPosition())},b.skipLineComment=function(e){for(var t=this.pos,r=this.options.onComment&&this.curPosition(),i=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!me(i);)i=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(t+e,this.pos),t,this.pos,r,this.curPosition())},b.skipSpace=function(){e:for(;this.pos<this.input.length;){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13: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&&ge.test(String.fromCharCode(e))))break e;++this.pos}}},b.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var r=this.type;this.type=e,this.value=t,this.updateContext(r)},b.readToken_dot=function(){var e,t=this.input.charCodeAt(this.pos+1);return 48<=t&&t<=57?this.readNumber(!0):(e=this.input.charCodeAt(this.pos+2),6<=this.options.ecmaVersion&&46===t&&46===e?(this.pos+=3,this.finishToken(v.ellipsis)):(++this.pos,this.finishToken(v.dot)))},b.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(v.assign,2):this.finishOp(v.slash,1)},b.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),r=1,i=42===e?v.star:v.modulo;return 7<=this.options.ecmaVersion&&42===e&&42===t&&(++r,i=v.starstar,t=this.input.charCodeAt(this.pos+2)),61===t?this.finishOp(v.assign,r+1):this.finishOp(i,r)},b.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t!==e)return 61===t?this.finishOp(v.assign,2):this.finishOp(124===e?v.bitwiseOR:v.bitwiseAND,1);if(12<=this.options.ecmaVersion&&61===this.input.charCodeAt(this.pos+2))return this.finishOp(v.assign,3);return this.finishOp(124===e?v.logicalOR:v.logicalAND,2)},b.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(v.assign,2):this.finishOp(v.bitwiseXOR,1)},b.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&&!o.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(v.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===t?this.finishOp(v.assign,2):this.finishOp(v.plusMin,1)},b.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(v.assign,r+1):this.finishOp(v.bitShift,r)):33!==t||60!==e||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?this.finishOp(v.relational,r=61===t?2:r):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},b.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(v.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&6<=this.options.ecmaVersion?(this.pos+=2,this.finishToken(v.arrow)):this.finishOp(61===e?v.eq:v.prefix,1)},b.readToken_question=function(){var e=this.options.ecmaVersion;if(11<=e){var t=this.input.charCodeAt(this.pos+1);if(46===t){var r=this.input.charCodeAt(this.pos+2);if(r<48||57<r)return this.finishOp(v.questionDot,2)}if(63===t){if(12<=e)if(61===this.input.charCodeAt(this.pos+2))return this.finishOp(v.assign,3);return this.finishOp(v.coalesce,2)}}return this.finishOp(v.question,1)},b.readToken_numberSign=function(){var e=this.options.ecmaVersion,t=35;if(13<=e&&(++this.pos,a(t=this.fullCharCodeAtPos(),!0)||92===t))return this.finishToken(v.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+h(t)+"'")},b.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(v.parenL);case 41:return++this.pos,this.finishToken(v.parenR);case 59:return++this.pos,this.finishToken(v.semi);case 44:return++this.pos,this.finishToken(v.comma);case 91:return++this.pos,this.finishToken(v.bracketL);case 93:return++this.pos,this.finishToken(v.bracketR);case 123:return++this.pos,this.finishToken(v.braceL);case 125:return++this.pos,this.finishToken(v.braceR);case 58:return++this.pos,this.finishToken(v.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(v.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 63:return this.readToken_question();case 126:return this.finishOp(v.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+h(e)+"'")},b.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,r)},b.readRegexp=function(){for(var e,t,r=this.pos;;){this.pos>=this.input.length&&this.raise(r,"Unterminated regular expression");var i=this.input.charAt(this.pos);if(o.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),s=(++this.pos,this.pos),a=this.readWord1(),s=(this.containsEsc&&this.unexpected(s),this.regexpState||(this.regexpState=new w(this))),s=(s.reset(r,n,a),this.validateRegExpFlags(s),this.validateRegExpPattern(s),null);try{s=new RegExp(n,a)}catch(e){}return this.finishToken(v.regexp,{pattern:n,flags:a,value:s})},b.readInt=function(e,t,r){for(var i=12<=this.options.ecmaVersion&&void 0===t,n=r&&48===this.input.charCodeAt(this.pos),r=this.pos,s=0,a=0,o=0,c=null==t?1/0:t;o<c;++o,++this.pos){var h=this.input.charCodeAt(this.pos),l=void 0;if(i&&95===h)n&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),95===a&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),0===o&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),a=h;else{if(e<=(l=97<=h?h-97+10:65<=h?h-65+10:48<=h&&h<=57?h-48:1/0))break;a=h,s=s*e+l}}return i&&95===a&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===r||null!=t&&this.pos-r!==t?null:s},b.readRadixNumber=function(e){var t=this.pos,r=(this.pos+=2,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=ht(this.input.slice(t,this.pos)),++this.pos):a(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(v.num,r)},b.readNumber=function(e){var t=this.pos,r=(e||null!==this.readInt(10,void 0,!0)||this.raise(t,"Invalid number"),2<=this.pos-t&&48===this.input.charCodeAt(t)),i=(r&&this.strict&&this.raise(t,"Invalid number"),this.input.charCodeAt(this.pos));if(!r&&!e&&11<=this.options.ecmaVersion&&110===i)return e=ht(this.input.slice(t,this.pos)),++this.pos,a(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(v.num,e);r&&/[89]/.test(this.input.slice(t,this.pos))&&(r=!1),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")),a(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");e=this.input.slice(t,this.pos);i=r?parseInt(e,8):parseFloat(e.replace(/_/g,""));return this.finishToken(v.num,i)},b.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},b.readString=function(e){for(var t="",r=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var i=this.input.charCodeAt(this.pos);if(i===e)break;92===i?(t=(t+=this.input.slice(r,this.pos))+this.readEscapedChar(!1),r=this.pos):8232===i||8233===i?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(me(i)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(r,this.pos++),this.finishToken(v.string,t)};var lt={};b.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e!==lt)throw e;this.readInvalidTemplateToken()}this.inTemplateElement=!1},b.invalidStringToken=function(e,t){if(this.inTemplateElement&&9<=this.options.ecmaVersion)throw lt;this.raise(e,t)},b.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var r=this.input.charCodeAt(this.pos);if(96===r||36===r&&123===this.input.charCodeAt(this.pos+1))return this.pos!==this.start||this.type!==v.template&&this.type!==v.invalidTemplate?(e+=this.input.slice(t,this.pos),this.finishToken(v.template,e)):36===r?(this.pos+=2,this.finishToken(v.dollarBraceL)):(++this.pos,this.finishToken(v.backQuote));if(92===r)e=(e+=this.input.slice(t,this.pos))+this.readEscapedChar(!0),t=this.pos;else if(me(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}},b.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if("{"!==this.input[this.pos+1])break;case"`":return this.finishToken(v.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":"\n"===this.input[this.pos+1]&&++this.pos;case"\n":case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1}this.raise(this.start,"Unterminated template")},b.readEscapedChar=function(e){var t,r,i=this.input.charCodeAt(++this.pos);switch(++this.pos,i){case 110:return"\n";case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return h(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),"";case 56:case 57:this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),e&&(t=this.pos-1,this.invalidStringToken(t,"Invalid escape sequence in template string"));default:return 48<=i&&i<=55?(t=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],255<(r=parseInt(t,8))&&(t=t.slice(0,-1),r=parseInt(t,8)),this.pos+=t.length-1,i=this.input.charCodeAt(this.pos),"0"===t&&56!==i&&57!==i||!this.strict&&!e||this.invalidStringToken(this.pos-1-t.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(r)):me(i)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(i)}},b.readHexChar=function(e){var t=this.pos,e=this.readInt(16,e);return null===e&&this.invalidStringToken(t,"Bad character escape sequence"),e},b.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(de(n,i))this.pos+=n<=65535?1:2;else{if(92!==n)break;this.containsEsc=!0,e+=this.input.slice(r,this.pos);var n=this.pos,s=(117!==this.input.charCodeAt(++this.pos)&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos,this.readCodePoint());(t?a:de)(s,i)||this.invalidStringToken(n,"Invalid Unicode escape"),e+=h(s),r=this.pos}t=!1}return e+this.input.slice(r,this.pos)},b.readWord=function(){var e=this.readWord1(),t=v.name;return this.keywords.test(e)&&(t=fe[e]),this.finishToken(t,e)};l.acorn={Parser:l,version:"8.14.0",defaultOptions:Ae,Position:_e,SourceLocation:Ee,getLineInfo:Ie,Node:Ue,TokenType:r,tokTypes:v,keywordTypes:fe,TokContext:u,tokContexts:d,isIdentifierChar:de,isIdentifierStart:a,Token:ct,isNewLine:me,lineBreak:o,lineBreakG:t,nonASCIIwhitespace:ge};var ut={RES:void 0},k={RES:void 0},S={LABEL:void 0},_={LABEL:void 0},pt=p("super"),dt=p("supercall"),ft=p("noctor"),mt=p("clsctor"),yt=p("newtarget"),E=p("private"),C=p("noinit"),I=p("deadzone"),gt=p("import"),A=p("exports"),vt=(bt.prototype.get=function(){return this.value},bt.prototype.set=function(e){if("const"===this.kind)throw new TypeError("Assignment to constant variable");return this.value=e},bt);function bt(e,t){this.kind=e,this.value=t}wt.prototype.get=function(){return this.object[this.property]},wt.prototype.set=function(e){return this.object[this.property]=e,!0},wt.prototype.del=function(){return delete this.object[this.property]};var xt=wt;function wt(e,t){this.object=e,this.property=t}kt.prototype.global=function(){for(var e=this;e.parent;)e=e.parent;return e},kt.prototype.find=function(e){var t;return this.context[e]||(e in this.withContext?new xt(this.withContext,e):this.parent?this.parent.find(e):e in(t=this.global().find("window").get())?new xt(t,e):null)},kt.prototype.var=function(e,t){for(var r=this;r.parent&&!r.isolated;)r=r.parent;var i=r.context[e];if(i){if("var"!==i.kind)throw new SyntaxError("Identifier '"+e+"' has already been declared");t!==C&&i.set(t)}else r.context[e]=new vt("var",t===C?void 0:t);r.parent||(i=r.find("window").get(),t!==C&&f(i,e,{value:t,writable:!0,enumerable:!0}))},kt.prototype.let=function(e,t){var r=this.context[e];if(r&&r.get()!==I)throw new SyntaxError("Identifier '"+e+"' has already been declared");this.context[e]=new vt("let",t)},kt.prototype.const=function(e,t){var r=this.context[e];if(r&&r.get()!==I)throw new SyntaxError("Identifier '"+e+"' has already been declared");this.context[e]=new vt("const",t)},kt.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 vt("var",t)},kt.prototype.with=function(e){Object.keys(e)&&(this.withContext=e)};var P=kt;function kt(e,t){void 0===e&&(e=null),void 0===t&&(t=!1),this.context=J(null),this.withContext=J(null),this.parent=e,this.isolated=t}function St(a,e){var o=(e=void 0===e?{}:e).res,c=e.err,h=e.ret,l=e.fullRet;return new Promise(function(t,r){if("ret"in e)return t(a.return(h));function i(e){var t;try{t=a.next(e)}catch(e){return r(e)}return s(t),null}function n(e){var t;try{t=a.throw(e)}catch(e){return r(e)}s(t)}function s(e){return e.done?t(l?e:e.value):e.value!==ut?t(e):void((e=e.value.RES)&&"function"===e.then?e:Promise.resolve(e)).then(i,n)}"err"in e?n(c):i(o)})}function _t(t,r,i){var n,s,a;return void 0===i&&(i={}),y(this,function(e){if(a=i.getVar,a=void 0!==a&&a,n=i.throwErr,n=void 0===n||n,"undefined"!==t.name){if(s=r.find(t.name)){if(a)return[2,s];if((a=s.get())===I)throw new ReferenceError(t.name+" is not defined");return[2,a]}if(n)throw new ReferenceError(t.name+" is not defined")}return[2,void 0]})}var Et=Object.freeze({__proto__:null,Identifier:_t});function Ct(t,e){return y(this,function(e){return[2,t.value]})}var It=Object.freeze({__proto__:null,Literal:Ct});function At(t,r,i){var n,s,a,o,c,h,l,u;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:return n=i.getObj,n=void 0!==n&&n,s=i.getVar,s=void 0!==s&&s,"Super"!==t.object.type?[3,2]:[5,g(Lt(t.object,r,{getProto:!0}))];case 1:return a=e.sent(),[3,4];case 2:return[5,g(L(t.object,r))];case 3:a=e.sent(),e.label=4;case 4:return n?[2,a]:(c=!1,t.computed?[5,g(L(t.property,r))]:[3,6]);case 5:return o=e.sent(),[3,7];case 6:"PrivateIdentifier"===t.property.type?(o=t.property.name,c=!0):o=t.property.name,e.label=7;case 7:return c&&(a=a[E]),s?(l=Z(a,o),"Super"===t.object.type&&l?(u=r.find("this").get(),h=p(o),f(u,h,{set:l}),[2,new xt(u,h)]):[2,new xt(a,o)]):(l=Y(a,o),"Super"===t.object.type&&l?(u=r.find("this").get(),t.optional&&null==u?[2,void 0]:[2,l.call(u)]):t.optional&&null==a?[2,void 0]:[2,a[o]])}})}function Pt(t,e){return y(this,function(e){return[2,t.value.raw]})}function Lt(e,t,r){var i,n;return void 0===r&&(r={}),y(this,function(e){return i=r.getProto,i=void 0!==i&&i,n=t.find(pt).get(),[2,i?n.prototype:n]})}function Tt(t,r,i){var n;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:return[5,g(L(t.argument,r))];case 1:return n=e.sent(),[2,i.spreadProps?n:j(n)]}})}var Vt=Object.freeze({__proto__:null,ThisExpression:function(e,t){var r;return y(this,function(e){if((r=t.find(dt))&&!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 y(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,g(Tt(s,r))]):[3,6];case 2:return i=o.apply(a,[e.sent()]),[3,5];case 3:return h=(c=i).push,[5,g(L(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,l,u,p,d;return y(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=m,o=[i],[5,g(Tt(s,r,{spreadProps:!0}))]):[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,g(L(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 l="",[5,g(Ct(h))];case 7:c=l+e.sent(),e.label=8;case 8:return[5,g(L(s.value,r))];case 9:u=e.sent(),"init"===(p=s.kind)?i[c]=u:"get"===p?(d=q(i,c),f(i,c,{get:u,set:d&&d.set,enumerable:!0,configurable:!0})):(d=q(i,c),f(i,c,{get:d&&d.get,set:u,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 y(this,function(e){return t.id&&t.id.name?(i=new P(r),n=D(t,i),i.const(t.id.name,n),[2,n]):[2,D(t,r)]})},UnaryExpression:function(t,r){var i;return y(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,g(L(i,r))];case 2:return[2,+e.sent()];case 3:return[5,g(L(i,r))];case 4:return[2,-e.sent()];case 5:return[5,g(L(i,r))];case 6:return[2,!e.sent()];case 7:return[5,g(L(i,r))];case 8:return[2,~e.sent()];case 9:return[5,g(L(i,r))];case 10:return[2,void e.sent()];case 11:return"Identifier"!==i.type?[3,13]:[5,g(_t(i,r,{throwErr:!1}))];case 12:return[2,typeof e.sent()];case 13:return[5,g(L(i,r))];case 14:return[2,typeof e.sent()];case 15:return"MemberExpression"!==i.type?[3,17]:[5,g(At(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,g(L(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 y(this,function(e){switch(e.label){case 0:return"Identifier"!==(i=t.argument).type?[3,2]:[5,g(_t(i,r,{getVar:!0}))];case 1:return n=e.sent(),[3,5];case 2:return"MemberExpression"!==i.type?[3,4]:[5,g(At(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 y(this,function(e){switch(e.label){case 0:return"PrivateIdentifier"!==t.left.type?[3,2]:(i=t.left.name,[5,g(L(t.right,r))]);case 1:return n=(n=e.sent())[E]||{},[3,5];case 2:return[5,g(L(t.left,r))];case 3:return i=e.sent(),[5,g(L(t.right,r))];case 4:n=e.sent(),e.label=5;case 5:switch(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,o;return y(this,function(e){switch(e.label){case 0:return"Identifier"!==(i=t.left).type?[3,2]:[5,g(_t(i,r,{getVar:!0,throwErr:!1}))];case 1:return(n=e.sent())||(s=r.global().find("window").get(),n=new xt(s,i.name)),[3,7];case 2:return"MemberExpression"!==i.type?[3,4]:[5,g(At(i,r,{getVar:!0}))];case 3:return n=e.sent(),[3,7];case 4:return[5,g(L(t.right,r))];case 5:return s=e.sent(),[5,g(B(i,r,{feed:s}))];case 6:return[2,e.sent()];case 7:return[5,g(L(t.right,r))];case 8:switch(a=e.sent(),t.operator){case"=":return n.set(a),[2,n.get()];case"+=":return n.set(n.get()+a),[2,n.get()];case"-=":return n.set(n.get()-a),[2,n.get()];case"*=":return n.set(n.get()*a),[2,n.get()];case"/=":return n.set(n.get()/a),[2,n.get()];case"%=":return n.set(n.get()%a),[2,n.get()];case"**=":return n.set(Math.pow(n.get(),a)),[2,n.get()];case"<<=":return n.set(n.get()<<a),[2,n.get()];case">>=":return n.set(n.get()>>a),[2,n.get()];case">>>=":return n.set(n.get()>>>a),[2,n.get()];case"|=":return n.set(n.get()|a),[2,n.get()];case"^=":return n.set(n.get()^a),[2,n.get()];case"&=":return n.set(n.get()&a),[2,n.get()];case"??=":return n.set(null!=(o=n.get())?o:a),[2,n.get()];case"&&=":return n.set(n.get()&&a),[2,n.get()];case"||=":return n.set(n.get()||a),[2,n.get()];default:throw new SyntaxError("Unexpected token "+t.operator)}}})},LogicalExpression:function(t,r){var i,n,s,a;return y(this,function(e){switch(e.label){case 0:switch(t.operator){case"||":return[3,1];case"&&":return[3,5];case"??":return[3,9]}return[3,14];case 1:return[5,g(L(t.left,r))];case 2:return(i=e.sent())?[3,4]:[5,g(L(t.right,r))];case 3:i=e.sent(),e.label=4;case 4:return[2,i];case 5:return[5,g(L(t.left,r))];case 6:return(n=e.sent())?[5,g(L(t.right,r))]:[3,8];case 7:n=e.sent(),e.label=8;case 8:return[2,n];case 9:return[5,g(L(t.left,r))];case 10:return null==(a=e.sent())?[3,11]:(s=a,[3,13]);case 11:return[5,g(L(t.right,r))];case 12:s=e.sent(),e.label=13;case 13:return[2,s];case 14:throw new SyntaxError("Unexpected token "+t.operator)}})},MemberExpression:At,ConditionalExpression:function(t,r){var i;return y(this,function(e){switch(e.label){case 0:return[5,g(L(t.test,r))];case 1:return e.sent()?[5,g(L(t.consequent,r))]:[3,3];case 2:return i=e.sent(),[3,5];case 3:return[5,g(L(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,l,u,p,d,f,m;return y(this,function(e){switch(e.label){case 0:return"MemberExpression"!==t.callee.type?[3,5]:[5,g(At(t.callee,r,{getObj:!0}))];case 1:return(i=e.sent(),t.callee.optional&&null==i)?[2,void 0]:(n=void 0,s=!1,t.callee.computed?[5,g(L(t.callee.property,r))]:[3,3]);case 2:return n=e.sent(),[3,4];case 3:"PrivateIdentifier"===t.callee.property.type?(n=t.callee.property.name,s=!0):n=t.callee.property.name,e.label=4;case 4:if(m=i,s&&(m=m[E]),a="Super"===t.callee.object.type?(a=r.find("this").get(),m[n].bind(a)):m[n],t.optional&&null==a)return[2,void 0];if("function"!=typeof a)throw new TypeError(n+" is not a function");if(a[mt])throw new TypeError("Class constructor "+n+" cannot be invoked without 'new'");return[3,7];case 5:return i=r.find("this").get(),[5,g(L(t.callee,r))];case 6:if(a=e.sent(),t.optional&&null==a)return[2,void 0];if("function"!=typeof a||"Super"!==t.callee.type&&a[mt]){if("Identifier"===t.callee.type)o=t.callee.name;else try{o=JSON.stringify(a)}catch(e){o=""+a}throw"function"!=typeof a?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"!==(l=t.arguments[h]).type?[3,10]:(p=(u=c).concat,[5,g(Tt(l,r))]):[3,13];case 9:return c=p.apply(u,[e.sent()]),[3,12];case 10:return f=(d=c).push,[5,g(L(l,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(dt).get())throw new ReferenceError("Super constructor may only be called once");r.find(dt).set(!0)}try{return[2,a.apply(i,c)]}catch(e){if(e instanceof TypeError&&"Illegal invocation"===e.message&&-1!==a.toString().indexOf("[native code]")&&(m=r.global().find("window").get())&&m[ne])return[2,a.apply(m[ne],c)];throw e}return[2]}})},NewExpression:function(t,r){var i,n,s,a,o,c,h,l,u;return y(this,function(e){switch(e.label){case 0:return[5,g(L(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[ft])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,g(Tt(o,r))]):[3,7];case 3:return s=h.apply(c,[e.sent()]),[3,6];case 4:return u=(l=s).push,[5,g(L(o,r))];case 5:u.apply(l,[e.sent()]),e.label=6;case 6:return a++,[3,2];case 7:return[2,new(i.bind.apply(i,j([void 0],s)))]}})},MetaProperty:function(t,r){return y(this,function(e){return"new"===t.meta.name&&"target"===t.property.name?[2,r.find(yt).get()]:"import"===t.meta.name&&"meta"===t.property.name?[2,{url:""}]:[2]})},SequenceExpression:function(t,r){var i,n;return y(this,function(e){switch(e.label){case 0:n=0,e.label=1;case 1:return n<t.expressions.length?[5,g(L(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 y(this,function(e){return[2,D(t,r)]})},TemplateLiteral:function(t,r){var i,n,s,a,o,c;return y(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())?(o=s,[5,g(Pt(a))]):[3,5];case 2:return(s=o+e.sent(),a=n.shift())?(c=s,[5,g(L(a,r))]):[3,4];case 3:s=c+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;return y(this,function(e){switch(e.label){case 0:return[5,g(L(t.tag,r))];case 1:if(i=e.sent(),s=t.quasi.quasis,n=s.map(function(e){return e.value.cooked}),s=s.map(function(e){return e.value.raw}),f(n,"raw",{value:U(s)}),s=t.quasi.expressions,a=[],!s)return[3,5];o=0,e.label=2;case 2:return o<s.length?(h=(c=a).push,[5,g(L(s[o],r))]):[3,5];case 3:h.apply(c,[e.sent()]),e.label=4;case 4:return o++,[3,2];case 5:return[2,i.apply(void 0,j([U(n)],a))]}})},TemplateElement:Pt,ClassExpression:function(t,r){var i,n;return y(this,function(e){switch(e.label){case 0:return t.id&&t.id.name?(i=new P(r),[5,g(yi(t,i))]):[3,2];case 1:return n=e.sent(),i.const(t.id.name,n),[2,n];case 2:return[5,g(yi(t,r))];case 3:return[2,e.sent()]}})},Super:Lt,SpreadElement:Tt,ChainExpression:function(t,r){return y(this,function(e){switch(e.label){case 0:return[5,g(L(t.expression,r))];case 1:return[2,e.sent()]}})},ImportExpression:function(t,r){var i,n,s,a;return y(this,function(e){switch(e.label){case 0:return i=r.global(),[5,g(L(t.source,r))];case 1:return(n=e.sent(),(a=i.find(gt+n))&&(a=a.get())&&("function"==typeof a?s=a():"object"==typeof a&&(s=a)),s&&"object"==typeof s)?[2,Promise.resolve(s)]:[2,Promise.reject(new TypeError('Failed to resolve module specifier "'+n+'"'))]}})},YieldExpression:function(t,r){var i,n;return y(this,function(e){switch(e.label){case 0:return[5,g(L(t.argument,r))];case 1:return(i=e.sent(),t.delegate)?[5,g(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 y(this,function(e){switch(e.label){case 0:return i=ut,[5,g(L(t.argument,r))];case 1:return i.RES=e.sent(),[4,ut];case 2:return[2,e.sent()]}})}});function Nt(t,r,i){var n,s,a,o,c,h,l,u,p,d,f;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:n=i.kind,n=void 0===n?"var":n,s=i.hoist,s=void 0!==s&&s,a=i.onlyBlock,a=void 0!==a&&a,o=i.feed,o=void 0===o?{}:o,c=[],h=0,e.label=1;case 1:return h<t.properties.length?(l=t.properties[h],s?a||"var"===n?"Property"!==l.type?[3,5]:"Identifier"!==(p=l.value).type?[3,2]:(r[n](p.name,a?I:"var"===n?C:void 0),[3,4]):[3,7]:[3,8]):[3,18];case 2:return[5,g(B(p,r,{kind:n,hoist:s,onlyBlock:a}))];case 3:e.sent(),e.label=4;case 4:return[3,7];case 5:return[5,g(Dt(l,r,{kind:n,hoist:s,onlyBlock:a}))];case 6:e.sent(),e.label=7;case 7:return[3,17];case 8:return"Property"!==l.type?[3,15]:(u=void 0,l.computed?[5,g(L(l.key,r))]:[3,10]);case 9:return u=e.sent(),[3,11];case 10:u=l.key.name,e.label=11;case 11:return(c.push(u),"Identifier"!==(p=l.value).type)?[3,12]:(r[n](p.name,o[u]),[3,14]);case 12:return[5,g(B(p,r,{kind:n,feed:o[u]}))];case 13:e.sent(),e.label=14;case 14:return[3,17];case 15:for(d=m({},o),f=0;f<c.length;f++)delete d[c[f]];return[5,g(Dt(l,r,{kind:n,feed:d}))];case 16:e.sent(),e.label=17;case 17:return h++,[3,1];case 18:return[2]}})}function Bt(t,r,i){var n,s,a,o,c,h,l,u;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:n=i.kind,s=i.hoist,s=void 0!==s&&s,a=i.onlyBlock,a=void 0!==a&&a,o=i.feed,o=void 0===o?[]:o,c=[],h=0,e.label=1;case 1:if(!(h<t.elements.length))return[3,14];if(!(l=t.elements[h]))return[3,13];if(!s)return[3,5];if(a||"var"===n){if("Identifier"!==l.type)return[3,2];r[n](l.name,a?I:"var"===n?C:void 0)}return[3,4];case 2:return[5,g(B(l,r,{kind:n,hoist:s,onlyBlock:a}))];case 3:e.sent(),e.label=4;case 4:return[3,13];case 5:return"Identifier"!==l.type?[3,9]:n?(r[n](l.name,o[h]),[3,8]):[3,6];case 6:return[5,g(_t(l,r,{getVar:!0}))];case 7:(u=e.sent()).set(o[h]),c.push(u.get()),e.label=8;case 8:return[3,13];case 9:return"RestElement"!==l.type?[3,11]:[5,g(Dt(l,r,{kind:n,feed:o.slice(h)}))];case 10:return e.sent(),[3,13];case 11:return[5,g(B(l,r,{kind:n,feed:o[h]}))];case 12:e.sent(),e.label=13;case 13:return h++,[3,1];case 14:return c.length?[2,c]:[2]}})}function Dt(t,r,i){var n,s,a,o,c;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:if(n=i.kind,s=i.hoist,s=void 0!==s&&s,a=i.onlyBlock,a=void 0!==a&&a,o=i.feed,o=void 0===o?[]:o,c=t.argument,!s)return[3,4];if(a||"var"===n){if("Identifier"!==c.type)return[3,1];r[n](c.name,a?I:"var"===n?C:void 0)}return[3,3];case 1:return[5,g(B(c,r,{kind:n,hoist:s,onlyBlock:a}))];case 2:e.sent(),e.label=3;case 3:return[3,10];case 4:return"Identifier"!==c.type?[3,8]:n?(r[n](c.name,o),[3,7]):[3,5];case 5:return[5,g(_t(c,r,{getVar:!0}))];case 6:e.sent().set(o),e.label=7;case 7:return[3,10];case 8:return[5,g(B(c,r,{kind:n,feed:o}))];case 9:e.sent(),e.label=10;case 10:return[2]}})}function Rt(t,r,i){var n,s,a,o,c,h,l;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:return n=i.kind,n=void 0===n?"var":n,s=i.hoist,s=void 0!==s&&s,a=i.onlyBlock,a=void 0!==a&&a,void 0!==(o=i.feed)?[3,2]:[5,g(L(t.right,r))];case 1:return h=e.sent(),[3,3];case 2:h=o,e.label=3;case 3:if(c=h,l=t.left,!s)return[3,7];if(a||"var"===n){if("Identifier"!==l.type)return[3,4];r[n](l.name,a?I:"var"===n?C:void 0)}return[3,6];case 4:return[5,g(B(l,r,{kind:n,hoist:s,onlyBlock:a}))];case 5:e.sent(),e.label=6;case 6:return[3,10];case 7:return"Identifier"!==l.type?[3,8]:(r[n](l.name,c),[3,10]);case 8:return[5,g(B(l,r,{kind:n,feed:c}))];case 9:e.sent(),e.label=10;case 10:return[2]}})}var Ot=Object.freeze({__proto__:null,ObjectPattern:Nt,ArrayPattern:Bt,RestElement:Dt,AssignmentPattern:Rt});var Mt,Ft=Object.freeze({__proto__:null,Program:function(t,r){var i;return y(this,function(e){switch(e.label){case 0:i=0,e.label=1;case 1:return i<t.body.length?[5,g(L(t.body[i],r))]:[3,4];case 2:e.sent(),e.label=3;case 3:return i++,[3,1];case 4:return[2]}})}});function L(t,r){var i;return y(this,function(e){switch(e.label){case 0:return t?(Mt=Mt||m({},O,Vt,Et,R,It,Ot,Ft),(i=Mt[t.type])?[5,g(i(t,r))]:[3,2]):[2];case 1:return[2,e.sent()];case 2:throw new Error(t.type+" isn't implemented")}})}function jt(t,r){return y(this,function(e){switch(e.label){case 0:return[5,g(L(t.expression,r))];case 1:return e.sent(),[2]}})}function Ut(t,r,i){var n,s,a;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:return n=i.invasived,n=void 0!==n&&n,a=i.hoisted,a=void 0!==a&&a,n=n?r:new P(r),a?[3,2]:[5,g(mi(t,n,{onlyBlock:!0}))];case 1:e.sent(),e.label=2;case 2:s=0,e.label=3;case 3:return s<t.body.length?[5,g(L(t.body[s],n))]:[3,6];case 4:if((a=e.sent())===_)return a.LABEL&&a.LABEL===i.label?[3,6]:[2,a];if(a===S||a===k)return[2,a];e.label=5;case 5:return s++,[3,3];case 6:return[2]}})}function qt(){return y(this,function(e){return[2]})}function Wt(){return y(this,function(e){debugger;return[2]})}function Gt(t,r){var i,n;return y(this,function(e){switch(e.label){case 0:return(i=k,t.argument)?[5,g(L(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,k]}})}function Ht(t){var r;return y(this,function(e){return _.LABEL=null==(r=t.label)?void 0:r.name,[2,_]})}function zt(t){var r;return y(this,function(e){return S.LABEL=null==(r=t.label)?void 0:r.name,[2,S]})}function Kt(t,r){var i;return y(this,function(e){switch(e.label){case 0:return i=t.label.name,"WhileStatement"!==t.body.type?[3,2]:[5,g(tr(t.body,r,{label:i}))];case 1:return[2,e.sent()];case 2:return"DoWhileStatement"!==t.body.type?[3,4]:[5,g(rr(t.body,r,{label:i}))];case 3:return[2,e.sent()];case 4:return"ForStatement"!==t.body.type?[3,6]:[5,g(ir(t.body,r,{label:i}))];case 5:return[2,e.sent()];case 6:return"ForInStatement"!==t.body.type?[3,8]:[5,g(nr(t.body,r,{label:i}))];case 7:return[2,e.sent()];case 8:return"ForOfStatement"!==t.body.type?[3,10]:[5,g(sr(t.body,r,{label:i}))];case 9:return[2,e.sent()];case 10:return"BlockStatement"!==t.body.type?[3,12]:[5,g(Ut(t.body,r,{label:i}))];case 11:return[2,e.sent()];case 12:return"WithStatement"!==t.body.type?[3,14]:[5,g(Qt(t.body,r,{label:i}))];case 13:return[2,e.sent()];case 14:return"IfStatement"!==t.body.type?[3,16]:[5,g(Xt(t.body,r,{label:i}))];case 15:return[2,e.sent()];case 16:return"SwitchStatement"!==t.body.type?[3,18]:[5,g(Yt(t.body,r,{label:i}))];case 17:return[2,e.sent()];case 18:return"TryStatement"!==t.body.type?[3,20]:[5,g($t(t.body,r,{label:i}))];case 19:return[2,e.sent()];case 20:throw new SyntaxError(t.body.type+" cannot be labeled")}})}function Qt(t,r,i){var n,s,a,o;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:return n=new P(r),a=(s=n).with,[5,g(L(t.object,r))];case 1:return a.apply(s,[e.sent()]),[5,g(L(t.body,n))];case 2:return(o=e.sent())===_?o.LABEL&&o.LABEL===i.label?[2]:[2,o]:o===S||o===k?[2,o]:[2]}})}function Xt(t,r,i){var n;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:return[5,g(L(t.test,r))];case 1:return e.sent()?[5,g(L(t.consequent,r))]:[3,3];case 2:return n=e.sent(),[3,5];case 3:return[5,g(L(t.alternate,r))];case 4:n=e.sent(),e.label=5;case 5:return n===_?n.LABEL&&n.LABEL===i.label?[2]:[2,n]:n===S||n===k?[2,n]:[2]}})}function Yt(t,r,i){var n,s,a,o,c,h,l;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:return[5,g(L(t.discriminant,r))];case 1:n=e.sent(),s=!1,a=0,e.label=2;case 2:return a<t.cases.length?(o=t.cases[a],(c=!s)?(h=!o.test)?[3,4]:[5,g(L(o.test,r))]:[3,5]):[3,8];case 3:h=e.sent()===n,e.label=4;case 4:c=h,e.label=5;case 5:return(s=!!c||s)?[5,g(Zt(o,r))]:[3,7];case 6:if((l=e.sent())===_)return l.LABEL===i.label?[3,8]:[2,l];if(l===S||l===k)return[2,l];e.label=7;case 7:return a++,[3,2];case 8:return[2]}})}function Zt(t,r){var i,n;return y(this,function(e){switch(e.label){case 0:i=0,e.label=1;case 1:return i<t.consequent.length?[5,g(L(t.consequent[i],r))]:[3,4];case 2:if((n=e.sent())===_||n===S||n===k)return[2,n];e.label=3;case 3:return i++,[3,1];case 4:return[2]}})}function Jt(t,r){return y(this,function(e){switch(e.label){case 0:return[5,g(L(t.argument,r))];case 1:throw e.sent()}})}function $t(t,r,i){var n,s,a,o,c;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:return e.trys.push([0,2,9,12]),[5,g(Ut(t.block,r))];case 1:return n=e.sent(),[3,12];case 2:if(s=e.sent(),!t.handler)return[3,7];if(a=new P(r),o=t.handler.param){if("Identifier"!==o.type)return[3,3];c=o.name,a.var(c,s)}return[3,5];case 3:return[5,g(B(o,r,{feed:s}))];case 4:e.sent(),e.label=5;case 5:return[5,g(er(t.handler,a))];case 6:return n=e.sent(),[3,8];case 7:throw s;case 8:return[3,12];case 9:return t.finalizer?[5,g(Ut(t.finalizer,r))]:[3,11];case 10:n=e.sent(),e.label=11;case 11:return[7];case 12:return n===_?n.LABEL&&n.LABEL===i.label?[2]:[2,n]:n===S||n===k?[2,n]:[2]}})}function er(t,r){return y(this,function(e){switch(e.label){case 0:return[5,g(Ut(t.body,r,{invasived:!0}))];case 1:return[2,e.sent()]}})}function tr(t,r,i){var n;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:return[5,g(L(t.test,r))];case 1:return e.sent()?[5,g(L(t.body,r))]:[3,3];case 2:return(n=e.sent())===_?n.LABEL===i.label?[3,3]:[2,n]:n===S?n.LABEL===i.label?[3,0]:[2,n]:n===k?[2,n]:[3,0];case 3:return[2]}})}function rr(t,r,i){var n;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:return[5,g(L(t.body,r))];case 1:if((n=e.sent())===_)return n.LABEL===i.label?[3,4]:[2,n];if(n===S)return n.LABEL===i.label?[3,2]:[2,n];if(n===k)return[2,n];e.label=2;case 2:return[5,g(L(t.test,r))];case 3:if(e.sent())return[3,0];e.label=4;case 4:return[2]}})}function ir(t,r,i){var n,s,a,o;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:return n=new P(r),[5,g(L(t.init,n))];case 1:e.sent(),e.label=2;case 2:return t.test?[5,g(L(t.test,n))]:[3,4];case 3:return s=e.sent(),[3,5];case 4:s=!0,e.label=5;case 5:return s?(a=new P(n),o=void 0,"BlockStatement"!==t.body.type?[3,7]:[5,g(Ut(t.body,a,{invasived:!0}))]):[3,12];case 6:return o=e.sent(),[3,9];case 7:return[5,g(L(t.body,a))];case 8:o=e.sent(),e.label=9;case 9:if(o===_)return o.LABEL===i.label?[3,12]:[2,o];if(o===S)return o.LABEL===i.label?[3,10]:[2,o];if(o===k)return[2,o];e.label=10;case 10:return[5,g(L(t.update,n))];case 11:return e.sent(),[3,2];case 12:return[2]}})}function nr(t,r,i){var n,s,a,o;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:return n=[],[5,g(L(t.right,r))];case 1:for(s in e.sent())n.push(s);a=0,e.label=2;case 2:return a<n.length?(o=n[a],[5,g(gi(t,r,{value:o}))]):[3,5];case 3:if((o=e.sent())===_)return o.LABEL===i.label?[3,5]:[2,o];if(o===S)return o.LABEL===i.label?[3,4]:[2,o];if(o===k)return[2,o];e.label=4;case 4:return a++,[3,2];case 5:return[2]}})}function sr(n,s,a){var o,c,h,l,u,p,d,f,m;return void 0===a&&(a={}),y(this,function(e){switch(e.label){case 0:return[5,g(L(n.right,s))];case 1:return(o=e.sent(),n.await)?(t=o,c=(r="function"==typeof Symbol?(r=t[Symbol.asyncIterator])||t[Symbol.iterator]:r)?r.call(t):"function"==typeof t.next?t:(i=0,{next:function(){return{value:(t=t&&i>=t.length?void 0:t)&&t[i++],done:!t}}}),h=void 0,ut.RES=c.next(),[4,ut]):[3,8];case 2:h=e.sent(),e.label=3;case 3:return h.done?[3,7]:[5,g(gi(n,s,{value:h.value}))];case 4:if((p=e.sent())===_)return p.LABEL===a.label?[3,7]:[2,p];if(p===S)return p.LABEL===a.label?[3,5]:[2,p];if(p===k)return[2,p];e.label=5;case 5:return ut.RES=c.next(),[4,ut];case 6:return h=e.sent(),[3,3];case 7:return[3,15];case 8:e.trys.push([8,13,14,15]),l=g(o),u=l.next(),e.label=9;case 9:return u.done?[3,12]:(d=u.value,[5,g(gi(n,s,{value:d}))]);case 10:if((p=e.sent())===_)return p.LABEL===a.label?[3,12]:[2,p];if(p===S)return p.LABEL===a.label?[3,11]:[2,p];if(p===k)return[2,p];e.label=11;case 11:return u=l.next(),[3,9];case 12:return[3,15];case 13:return d=e.sent(),f={error:d},[3,15];case 14:try{u&&!u.done&&(m=l.return)&&m.call(l)}finally{if(f)throw f.error}return[7];case 15:return[2]}var t,r,i})}function ar(t,r){return y(this,function(e){return r.func(t.id.name,D(t,r)),[2]})}function or(t,r,i){var n;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:n=0,e.label=1;case 1:return n<t.declarations.length?[5,g(cr(t.declarations[n],r,m({kind:t.kind},i)))]:[3,4];case 2:e.sent(),e.label=3;case 3:return n++,[3,1];case 4:return[2]}})}function cr(t,r,i){var n,s,a,o,c,h,l,u;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:if(n=i.kind,n=void 0===n?"var":n,s=i.hoist,s=void 0!==s&&s,a=i.onlyBlock,a=void 0!==a&&a,o=i.feed,!s)return[3,4];if(a||"var"===n){if("Identifier"!==t.id.type)return[3,1];r[n](t.id.name,a?I:"var"===n?C:void 0)}return[3,3];case 1:return[5,g(B(t.id,r,{kind:n,hoist:s,onlyBlock:a}))];case 2:e.sent(),e.label=3;case 3:return[3,10];case 4:return(c="feed"in i)?(l=o,[3,7]):[3,5];case 5:return[5,g(L(t.init,r))];case 6:l=e.sent(),e.label=7;case 7:return(h=l,"Identifier"!==t.id.type)?[3,8]:(u=t.id.name,"var"!==n||t.init||c?r[n](u,h):r.var(u,C),t.init&&-1!==["ClassExpression","FunctionExpression","ArrowFunctionExpression"].indexOf(t.init.type)&&!h.name&&f(h,"name",{value:u,configurable:!0}),[3,10]);case 8:return[5,g(B(t.id,r,{kind:n,feed:h}))];case 9:e.sent(),e.label=10;case 10:return[2]}})}function hr(t,r){var i,n,s;return y(this,function(e){switch(e.label){case 0:return n=(i=r).func,s=[t.id.name],[5,g(yi(t,r))];case 1:return n.apply(i,s.concat([e.sent()])),[2]}})}function lr(t,r,i){var n,s,a,o;return void 0===i&&(i={}),y(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?"MethodDefinition"!==(o=t.body[a]).type?[3,3]:[5,g(ur(o,r,{klass:n,superClass:s}))]:[3,8];case 2:return e.sent(),[3,7];case 3:return"PropertyDefinition"===o.type&&o.static?[5,g(pr(o,r,{klass:n,superClass:s}))]:[3,5];case 4:return e.sent(),[3,7];case 5:return"StaticBlock"!==o.type?[3,7]:[5,g(dr(o,r,{klass:n,superClass:s}))];case 6:e.sent(),e.label=7;case 7:return a++,[3,1];case 8:return[2]}})}function ur(t,r,i){var n,s,a,o,c,h,l;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:return(n=i.klass,s=i.superClass,o=!1,t.computed)?[5,g(L(t.key,r))]:[3,2];case 1:return a=e.sent(),[3,3];case 2:if("Identifier"===t.key.type)a=t.key.name;else{if("PrivateIdentifier"!==t.key.type)throw new SyntaxError("Unexpected token");a=t.key.name,o=!0}e.label=3;case 3:switch(c=t.static?n:n.prototype,o&&(c[E]||f(c,E,{value:{}}),c=c[E]),h=D(t.value,r,{superClass:s}),t.kind){case"constructor":break;case"method":f(c,a,{value:h,writable:!0,configurable:!0});break;case"get":l=q(c,a),f(c,a,{get:h,set:l&&l.set,configurable:!0});break;case"set":l=q(c,a),f(c,a,{get:l&&l.get,set:h,configurable:!0});break;default:throw new SyntaxError("Unexpected token")}return[2]}})}function pr(t,r,i){var n,s,a,o,c,h,l,u;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:return(n=i.klass,s=i.superClass,o=!1,t.computed)?[5,g(L(t.key,r))]:[3,2];case 1:return a=e.sent(),[3,3];case 2:if("Identifier"===t.key.type)a=t.key.name;else{if("PrivateIdentifier"!==t.key.type)throw new SyntaxError("Unexpected token");a=t.key.name,o=!0}e.label=3;case 3:return((c=new P(r,!0)).const("this",n),h=n,o&&(h[E]||f(h,E,{value:{}}),h=h[E]),t.value)?[3,4]:(h[a]=void 0,[3,7]);case 4:return"FunctionExpression"!==t.value.type&&"ArrowFunctionExpression"!==t.value.type?[3,5]:(h[a]=D(t.value,c,{superClass:s}),[3,7]);case 5:return l=h,u=a,[5,g(L(t.value,c))];case 6:l[u]=e.sent(),e.label=7;case 7:return[2]}})}function dr(t,r,i){var n,s;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:return n=i.klass,(s=new P(r,!0)).const("this",n),[5,g(Ut(t,s,{invasived:!0}))];case 1:return[2,e.sent()]}})}function fr(t,r){var i,n,s,a,o;return y(this,function(e){if(n=r.global(),(n=n.find(gt+t.source.value))&&(n=n.get())&&("function"==typeof n?i=n():"object"==typeof n&&(i=n)),!i||"object"!=typeof i)throw new TypeError('Failed to resolve module specifier "'+t.source.value+'"');for(s=0;s<t.specifiers.length;s++){if(a=t.specifiers[s],o=void 0,"ImportSpecifier"===a.type?o="Identifier"===a.imported.type?a.imported.name:a.imported.value:"ImportDefaultSpecifier"===a.type?o="default":"ImportNamespaceSpecifier"===a.type&&(o="*"),"*"!==o&&!G(i,o))throw new SyntaxError('The requested module "'+t.source.value+'" does not provide an export named "'+o+'"');r.var(a.local.name,"*"===o?m({},i):i[o])}return[2]})}function mr(t,r){var i,n,s;return y(this,function(e){switch(e.label){case 0:return(i=r.global(),"FunctionDeclaration"!==t.declaration.type)?[3,1]:(n=D(t.declaration,r),r.func(t.declaration.id.name,n),[3,5]);case 1:return"ClassDeclaration"!==t.declaration.type?[3,3]:[5,g(yi(t.declaration,r))];case 2:return n=e.sent(),r.func(t.declaration.id.name,n),[3,5];case 3:return[5,g(L(t.declaration,r))];case 4:n=e.sent(),e.label=5;case 5:return(s=i.find(A))&&(s=s.get())&&"object"==typeof s&&(s.default=n),[2]}})}function yr(t,r){var i,n,s,a,o,c,h,l,u,p,d;return y(this,function(e){switch(e.label){case 0:return(i=r.global(),t.declaration)?"FunctionDeclaration"!==t.declaration.type?[3,1]:(n=D(t.declaration,r),r.func(t.declaration.id.name,n),(c=i.find(A))&&(s=c.get())&&"object"==typeof s&&(s[t.declaration.id.name]=n),[3,5]):[3,6];case 1:return"ClassDeclaration"!==t.declaration.type?[3,3]:[5,g(yi(t.declaration,r))];case 2:return n=e.sent(),r.func(t.declaration.id.name,n),(c=i.find(A))&&(s=c.get())&&"object"==typeof s&&(s[t.declaration.id.name]=n),[3,5];case 3:return"VariableDeclaration"!==t.declaration.type?[3,5]:[5,g(or(t.declaration,r))];case 4:if(e.sent(),(c=i.find(A))&&(a=c.get())&&"object"==typeof a)for(l=0;l<t.declaration.declarations.length;l++)o=t.declaration.declarations[l].id.name,(d=r.find(o))&&(a[o]=d.get());e.label=5;case 5:return[3,7];case 6:if(t.specifiers&&(c=i.find(A))&&(h=c.get())&&"object"==typeof h)for(l=0;l<t.specifiers.length;l++)u=t.specifiers[l],p="Identifier"===u.local.type?u.local.name:u.local.value,(d=r.find(p))&&(h["Identifier"===u.exported.type?u.exported.name:u.exported.value]=d.get());e.label=7;case 7:return[2]}})}function gr(t,r){var i,n,s;return y(this,function(e){if(s=r.global(),(n=s.find(gt+t.source.value))&&(n=n.get())&&("function"==typeof n?i=n():"object"==typeof n&&(i=n)),i&&"object"==typeof i)return(n=s.find(A))&&(s=n.get())&&"object"==typeof s&&m(s,i),[2];throw new TypeError('Failed to resolve module specifier "'+t.source.value+'"')})}function vr(e,t,r){var i=(r=void 0===r?{}:r).getVar,i=void 0!==i&&i,r=r.throwErr,r=void 0===r||r;if("undefined"!==e.name){t=t.find(e.name);if(t){if(i)return t;i=t.get();if(i===I)throw new ReferenceError(e.name+" is not defined");return i}if(r)throw new ReferenceError(e.name+" is not defined")}}var br=Object.freeze({__proto__:null,Identifier:vr});function xr(e,t){return e.value}var wr=Object.freeze({__proto__:null,Literal:xr});function kr(e,t,r){var i,n=(r=void 0===r?{}:r).getObj,n=void 0!==n&&n,r=r.getVar,r=void 0!==r&&r,s="Super"===e.object.type?_r(e.object,t,{getProto:!0}):T(e.object,t);if(n)return s;n=!1;if(e.computed?i=T(e.property,t):"PrivateIdentifier"===e.property.type?(i=e.property.name,n=!0):i=e.property.name,n&&(s=s[E]),r)return n=Z(s,i),"Super"===e.object.type&&n?(a=t.find("this").get(),r=p(i),f(a,r,{set:n}),new xt(a,r)):new xt(s,i);n=Y(s,i);if("Super"===e.object.type&&n){var a=t.find("this").get();if(!e.optional||null!=a)return n.call(a)}else if(!e.optional||null!=s)return s[i]}function Sr(e,t){return e.value.raw}function _r(e,t,r){r=(r=void 0===r?{}:r).getProto,r=void 0!==r&&r,t=t.find(pt).get();return r?t.prototype:t}function Er(e,t,r){void 0===r&&(r={});e=T(e.argument,t);return r.spreadProps?e:j(e)}var Cr=Object.freeze({__proto__:null,ThisExpression:function(e,t){var r=t.find(dt);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(Er(n,t)):r.push(T(n,t))}return r},ObjectExpression:function(e,t){for(var r={},i=0;i<e.properties.length;i++){var n,s,a,o=e.properties[i];"SpreadElement"===o.type?m(r,Er(o,t,{spreadProps:!0})):(n=void 0,s=o.key,n=o.computed?T(s,t):"Identifier"===s.type?s.name:""+xr(s),s=T(o.value,t),"init"===(o=o.kind)?r[n]=s:"get"===o?(a=q(r,n),f(r,n,{get:s,set:a&&a.set,enumerable:!0,configurable:!0})):(a=q(r,n),f(r,n,{get:a&&a.get,set:s,enumerable:!0,configurable:!0})))}return r},FunctionExpression:function(e,t){var r,i;return e.id&&e.id.name?(i=N(e,r=new P(t)),r.const(e.id.name,i),i):N(e,t)},UnaryExpression:function(e,t){var r=e.argument;switch(e.operator){case"+":return+T(r,t);case"-":return-T(r,t);case"!":return!T(r,t);case"~":return~T(r,t);case"void":return void T(r,t);case"typeof":return"Identifier"===r.type?typeof vr(r,t,{throwErr:!1}):typeof T(r,t);case"delete":if("MemberExpression"===r.type)return kr(r,t,{getVar:!0}).del();if("Identifier"===r.type)throw new SyntaxError("Delete of an unqualified identifier in strict mode");return T(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=vr(i,t,{getVar:!0});else{if("MemberExpression"!==i.type)throw new SyntaxError("Unexpected token");r=kr(i,t,{getVar:!0})}if(i=r.get(),"++"===e.operator)return r.set(i+1),e.prefix?r.get():i;if("--"===e.operator)return r.set(i-1),e.prefix?r.get():i;throw new SyntaxError("Unexpected token "+e.operator)},BinaryExpression:function(e,t){var r,i="PrivateIdentifier"===e.left.type?(r=e.left.name,(i=T(e.right,t))[E]||{}):(r=T(e.left,t),T(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,s=e.left;if("Identifier"===s.type)(n=vr(s,t,{getVar:!0,throwErr:!1}))||(i=t.global().find("window").get(),n=new xt(i,s.name));else{if("MemberExpression"!==s.type)return V(s,t,{feed:T(e.right,t)});n=kr(s,t,{getVar:!0})}var a=T(e.right,t);switch(e.operator){case"=":return n.set(a),n.get();case"+=":return n.set(n.get()+a),n.get();case"-=":return n.set(n.get()-a),n.get();case"*=":return n.set(n.get()*a),n.get();case"/=":return n.set(n.get()/a),n.get();case"%=":return n.set(n.get()%a),n.get();case"**=":return n.set(Math.pow(n.get(),a)),n.get();case"<<=":return n.set(n.get()<<a),n.get();case">>=":return n.set(n.get()>>a),n.get();case">>>=":return n.set(n.get()>>>a),n.get();case"|=":return n.set(n.get()|a),n.get();case"^=":return n.set(n.get()^a),n.get();case"&=":return n.set(n.get()&a),n.get();case"??=":return n.set(null!=(r=n.get())?r:a),n.get();case"&&=":return n.set(n.get()&&a),n.get();case"||=":return n.set(n.get()||a),n.get();default:throw new SyntaxError("Unexpected token "+e.operator)}},LogicalExpression:function(e,t){var r;switch(e.operator){case"||":return T(e.left,t)||T(e.right,t);case"&&":return T(e.left,t)&&T(e.right,t);case"??":return null!=(r=T(e.left,t))?r:T(e.right,t);default:throw new SyntaxError("Unexpected token "+e.operator)}},MemberExpression:kr,ConditionalExpression:function(e,t){return T(e.test,t)?T(e.consequent,t):T(e.alternate,t)},CallExpression:function(e,t){var r,i;if("MemberExpression"===e.callee.type){if(r=kr(e.callee,t,{getObj:!0}),e.callee.optional&&null==r)return;var n=void 0,s=!1,a=(e.callee.computed?n=T(e.callee.property,t):"PrivateIdentifier"===e.callee.property.type?(n=e.callee.property.name,s=!0):n=e.callee.property.name,r);if(s&&(a=a[E]),s="Super"===e.callee.object.type?(s=t.find("this").get(),a[n].bind(s)):a[n],e.optional&&null==s)return;if("function"!=typeof s)throw new TypeError(n+" is not a function");if(s[mt])throw new TypeError("Class constructor "+n+" cannot be invoked without 'new'")}else{if(r=t.find("this").get(),s=T(e.callee,t),e.optional&&null==s)return;if("function"!=typeof s||"Super"!==e.callee.type&&s[mt]){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(Er(h,t)):o.push(T(h,t))}if("Super"===e.callee.type){if(t.find(dt).get())throw new ReferenceError("Super constructor may only be called once");t.find(dt).set(!0)}try{return s.apply(r,o)}catch(e){if(e instanceof TypeError&&"Illegal invocation"===e.message&&-1!==s.toString().indexOf("[native code]")){a=t.global().find("window").get();if(a&&a[ne])return s.apply(a[ne],o)}throw e}},NewExpression:function(e,t){var r,i=T(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[ft])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(Er(a,t)):n.push(T(a,t))}return new(i.bind.apply(i,j([void 0],n)))},MetaProperty:function(e,t){return"new"===e.meta.name&&"target"===e.property.name?t.find(yt).get():"import"===e.meta.name&&"meta"===e.property.name?{url:""}:void 0},SequenceExpression:function(e,t){for(var r,i=0;i<e.expressions.length;i++)r=T(e.expressions[i],t);return r},ArrowFunctionExpression:function(e,t){return N(e,t)},TemplateLiteral:function(e,t){for(var r,i=e.quasis.slice(),n=e.expressions.slice(),s="";r=i.shift();)s+=Sr(r),(r=n.shift())&&(s+=T(r,t));return s},TaggedTemplateExpression:function(e,t){var r=T(e.tag,t),i=(n=e.quasi.quasis).map(function(e){return e.value.cooked}),n=n.map(function(e){return e.value.raw}),s=(f(i,"raw",{value:U(n)}),e.quasi.expressions),a=[];if(s)for(var o=0;o<s.length;o++)a.push(T(s[o],t));return r.apply(void 0,j([U(i)],a))},TemplateElement:Sr,ClassExpression:function(e,t){var r,i;return e.id&&e.id.name?(i=di(e,r=new P(t)),r.const(e.id.name,i),i):di(e,t)},Super:_r,SpreadElement:Er,ChainExpression:function(e,t){return T(e.expression,t)},ImportExpression:function(e,t){var r,i=t.global(),e=T(e.source,t);return(t=i.find(gt+e))&&(i=t.get())&&("function"==typeof i?r=i():"object"==typeof i&&(r=i)),r&&"object"==typeof r?Promise.resolve(r):Promise.reject(new TypeError('Failed to resolve module specifier "'+e+'"'))}});function Ir(e,t,r){for(var i=(r=void 0===r?{}:r).kind,n=void 0===i?"var":i,i=r.hoist,s=void 0!==i&&i,i=r.onlyBlock,a=void 0!==i&&i,i=r.feed,o=void 0===i?{}:i,c=[],h=0;h<e.properties.length;h++){var l=e.properties[h];if(s)!a&&"var"!==n||("Property"===l.type?"Identifier"===(u=l.value).type?t[n](u.name,a?I:"var"===n?C:void 0):V(u,t,{kind:n,hoist:s,onlyBlock:a}):Pr(l,t,{kind:n,hoist:s,onlyBlock:a}));else if("Property"===l.type){var u,p=void 0,p=l.computed?T(l.key,t):l.key.name;c.push(p),"Identifier"===(u=l.value).type?t[n](u.name,o[p]):V(u,t,{kind:n,feed:o[p]})}else{for(var d=m({},o),f=0;f<c.length;f++)delete d[c[f]];Pr(l,t,{kind:n,feed:d})}}}function Ar(e,t,r){for(var i=(r=void 0===r?{}:r).kind,n=r.hoist,s=void 0!==n&&n,n=r.onlyBlock,a=void 0!==n&&n,n=r.feed,o=void 0===n?[]:n,c=[],h=0;h<e.elements.length;h++){var l,u=e.elements[h];u&&(s?!a&&"var"!==i||("Identifier"===u.type?t[i](u.name,a?I:"var"===i?C:void 0):V(u,t,{kind:i,hoist:s,onlyBlock:a})):"Identifier"===u.type?i?t[i](u.name,o[h]):((l=vr(u,t,{getVar:!0})).set(o[h]),c.push(l.get())):"RestElement"===u.type?Pr(u,t,{kind:i,feed:o.slice(h)}):V(u,t,{kind:i,feed:o[h]}))}if(c.length)return c}function Pr(e,t,r){var i=(r=void 0===r?{}:r).kind,n=r.hoist,n=void 0!==n&&n,s=r.onlyBlock,s=void 0!==s&&s,r=r.feed,r=void 0===r?[]:r,e=e.argument;n?!s&&"var"!==i||("Identifier"===e.type?t[i](e.name,s?I:"var"===i?C:void 0):V(e,t,{kind:i,hoist:n,onlyBlock:s})):"Identifier"===e.type?i?t[i](e.name,r):vr(e,t,{getVar:!0}).set(r):V(e,t,{kind:i,feed:r})}function Lr(e,t,r){var i=(r=void 0===r?{}:r).kind,i=void 0===i?"var":i,n=r.hoist,n=void 0!==n&&n,s=r.onlyBlock,s=void 0!==s&&s,r=r.feed,r=void 0===r?T(e.right,t):r,e=e.left;n?!s&&"var"!==i||("Identifier"===e.type?t[i](e.name,s?I:"var"===i?C:void 0):V(e,t,{kind:i,hoist:n,onlyBlock:s})):"Identifier"===e.type?t[i](e.name,r):V(e,t,{kind:i,feed:r})}var Tr=Object.freeze({__proto__:null,ObjectPattern:Ir,ArrayPattern:Ar,RestElement:Pr,AssignmentPattern:Lr});var Vr,Nr=Object.freeze({__proto__:null,Program:function(e,t){for(var r=0;r<e.body.length;r++)T(e.body[r],t)}});function T(e,t){if(e){var r=(Vr=Vr||m({},F,Cr,br,M,wr,Tr,Nr))[e.type];if(r)return r(e,t);throw new Error(e.type+" isn't implemented")}}function Br(e,t){T(e.expression,t)}function Dr(e,t,r){var i=(r=void 0===r?{}:r).invasived,n=r.hoisted,n=void 0!==n&&n,s=void 0!==i&&i?t:new P(t);n||pi(e,s,{onlyBlock:!0});for(var a=0;a<e.body.length;a++){var o=T(e.body[a],s);if(o===_){if(o.LABEL&&o.LABEL===r.label)break;return o}if(o===S||o===k)return o}}function Rr(){}function Or(){debugger}function Mr(e,t){return k.RES=e.argument?T(e.argument,t):void 0,k}function Fr(e){return _.LABEL=null==(e=e.label)?void 0:e.name,_}function jr(e){return S.LABEL=null==(e=e.label)?void 0:e.name,S}function Ur(e,t){var r=e.label.name;if("WhileStatement"===e.body.type)return Xr(e.body,t,{label:r});if("DoWhileStatement"===e.body.type)return Yr(e.body,t,{label:r});if("ForStatement"===e.body.type)return Zr(e.body,t,{label:r});if("ForInStatement"===e.body.type)return Jr(e.body,t,{label:r});if("ForOfStatement"===e.body.type)return $r(e.body,t,{label:r});if("BlockStatement"===e.body.type)return Dr(e.body,t,{label:r});if("WithStatement"===e.body.type)return qr(e.body,t,{label:r});if("IfStatement"===e.body.type)return Wr(e.body,t,{label:r});if("SwitchStatement"===e.body.type)return Gr(e.body,t,{label:r});if("TryStatement"===e.body.type)return Kr(e.body,t,{label:r});throw new SyntaxError(e.body.type+" cannot be labeled")}function qr(e,t,r){void 0===r&&(r={});var i=new P(t),t=(i.with(T(e.object,t)),T(e.body,i));return t===_?t.LABEL&&t.LABEL===r.label?void 0:t:t===S||t===k?t:void 0}function Wr(e,t,r){return void 0===r&&(r={}),(e=T(e.test,t)?T(e.consequent,t):T(e.alternate,t))===_?e.LABEL&&e.LABEL===r.label?void 0:e:e===S||e===k?e:void 0}function Gr(e,t,r){void 0===r&&(r={});for(var i=T(e.discriminant,t),n=!1,s=0;s<e.cases.length;s++){var a=e.cases[s];if(n=n||a.test&&T(a.test,t)!==i?n:!0){a=Hr(a,t);if(a===_){if(a.LABEL===r.label)break;return a}if(a===S||a===k)return a}}}function Hr(e,t){for(var r=0;r<e.consequent.length;r++){var i=T(e.consequent[r],t);if(i===_||i===S||i===k)return i}}function zr(e,t){throw T(e.argument,t)}function Kr(t,r,e){var i;void 0===e&&(e={});try{i=Dr(t.block,r)}catch(e){if(!t.handler)throw e;var n,s=new P(r),a=t.handler.param;a&&("Identifier"===a.type?(n=a.name,s.var(n,e)):V(a,r,{feed:e})),i=Qr(t.handler,s)}finally{t.finalizer&&(i=Dr(t.finalizer,r))}return i===_?i.LABEL&&i.LABEL===e.label?void 0:i:i===S||i===k?i:void 0}function Qr(e,t){return Dr(e.body,t,{invasived:!0})}function Xr(e,t,r){for(void 0===r&&(r={});T(e.test,t);){var i=T(e.body,t);if(i===_){if(i.LABEL===r.label)break;return i}if(i===S){if(i.LABEL!==r.label)return i}else if(i===k)return i}}function Yr(e,t,r){void 0===r&&(r={});do{var i=T(e.body,t);if(i===_){if(i.LABEL===r.label)break;return i}if(i===S){if(i.LABEL!==r.label)return i}else if(i===k)return i}while(T(e.test,t))}function Zr(e,t,r){void 0===r&&(r={});var i=new P(t);for(T(e.init,i);!e.test||T(e.test,i);T(e.update,i)){var n=new P(i),s=void 0;if((s="BlockStatement"===e.body.type?Dr(e.body,n,{invasived:!0}):T(e.body,n))===_){if(s.LABEL===r.label)break;return s}if(s===S){if(s.LABEL!==r.label)return s}else if(s===k)return s}}function Jr(e,t,r){for(var i in void 0===r&&(r={}),T(e.right,t)){i=fi(e,t,{value:i});if(i===_){if(i.LABEL===r.label)break;return i}if(i===S){if(i.LABEL!==r.label)return i}else if(i===k)return i}}function $r(e,t,r){void 0===r&&(r={});var i,n,s=T(e.right,t);try{for(var a=g(s),o=a.next();!o.done;o=a.next()){var c=fi(e,t,{value:o.value});if(c===_){if(c.LABEL===r.label)break;return c}if(c===S){if(c.LABEL!==r.label)return c}else if(c===k)return c}}catch(e){i={error:e}}finally{try{o&&!o.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}}function ei(e,t){t.func(e.id.name,N(e,t))}function ti(e,t,r){void 0===r&&(r={});for(var i=0;i<e.declarations.length;i++)ri(e.declarations[i],t,m({kind:e.kind},r))}function ri(e,t,r){var i=(r=void 0===r?{}:r).kind,i=void 0===i?"var":i,n=r.hoist,n=void 0!==n&&n,s=r.onlyBlock,s=void 0!==s&&s,a=r.feed;n?!s&&"var"!==i||("Identifier"===e.id.type?t[i](e.id.name,s?I:"var"===i?C:void 0):V(e.id,t,{kind:i,hoist:n,onlyBlock:s})):(s=(n="feed"in r)?a:T(e.init,t),"Identifier"===e.id.type?(r=e.id.name,"var"!==i||e.init||n?t[i](r,s):t.var(r,C),e.init&&-1!==["ClassExpression","FunctionExpression","ArrowFunctionExpression"].indexOf(e.init.type)&&!s.name&&f(s,"name",{value:r,configurable:!0})):V(e.id,t,{kind:i,feed:s}))}function ii(e,t){t.func(e.id.name,di(e,t))}function ni(e,t,r){for(var i=(r=void 0===r?{}:r).klass,n=r.superClass,s=0;s<e.body.length;s++){var a=e.body[s];"MethodDefinition"===a.type?si(a,t,{klass:i,superClass:n}):"PropertyDefinition"===a.type&&a.static?ai(a,t,{klass:i,superClass:n}):"StaticBlock"===a.type&&oi(a,t,{klass:i,superClass:n})}}function si(e,t,r){var i,n=(r=void 0===r?{}:r).klass,r=r.superClass,s=!1;if(e.computed)i=T(e.key,t);else if("Identifier"===e.key.type)i=e.key.name;else{if("PrivateIdentifier"!==e.key.type)throw new SyntaxError("Unexpected token");i=e.key.name,s=!0}var a=e.static?n:n.prototype,o=(s&&(a[E]||f(a,E,{value:{}}),a=a[E]),N(e.value,t,{superClass:r}));switch(e.kind){case"constructor":break;case"method":f(a,i,{value:o,writable:!0,configurable:!0});break;case"get":var c=q(a,i);f(a,i,{get:o,set:c&&c.set,configurable:!0});break;case"set":c=q(a,i);f(a,i,{get:c&&c.get,set:o,configurable:!0});break;default:throw new SyntaxError("Unexpected token")}}function ai(e,t,r){var i,n=(r=void 0===r?{}:r).klass,r=r.superClass,s=!1;if(e.computed)i=T(e.key,t);else if("Identifier"===e.key.type)i=e.key.name;else{if("PrivateIdentifier"!==e.key.type)throw new SyntaxError("Unexpected token");i=e.key.name,s=!0}t=new P(t,!0),t.const("this",n);s&&(n[E]||f(n,E,{value:{}}),n=n[E]),e.value?"FunctionExpression"===e.value.type||"ArrowFunctionExpression"===e.value.type?n[i]=N(e.value,t,{superClass:r}):n[i]=T(e.value,t):n[i]=void 0}function oi(e,t,r){r=(r=void 0===r?{}:r).klass,t=new P(t,!0);return t.const("this",r),Dr(e,t,{invasived:!0})}function ci(e,t){var r,i=t.global().find(gt+e.source.value);if(i&&(i=i.get())&&("function"==typeof i?r=i():"object"==typeof i&&(r=i)),!r||"object"!=typeof r)throw new TypeError('Failed to resolve module specifier "'+e.source.value+'"');for(var n=0;n<e.specifiers.length;n++){var s=e.specifiers[n],a=void 0;if("ImportSpecifier"===s.type?a="Identifier"===s.imported.type?s.imported.name:s.imported.value:"ImportDefaultSpecifier"===s.type?a="default":"ImportNamespaceSpecifier"===s.type&&(a="*"),"*"!==a&&!G(r,a))throw new SyntaxError('The requested module "'+e.source.value+'" does not provide an export named "'+a+'"');t.var(s.local.name,"*"===a?m({},r):r[a])}}function hi(e,t){var r,i=t.global(),e=("FunctionDeclaration"===e.declaration.type?(r=N(e.declaration,t),t.func(e.declaration.id.name,r)):"ClassDeclaration"===e.declaration.type?(r=di(e.declaration,t),t.func(e.declaration.id.name,r)):r=T(e.declaration,t),i.find(A));e&&(t=e.get())&&"object"==typeof t&&(t.default=r)}function li(e,t){var r=t.global();if(e.declaration){if("FunctionDeclaration"===e.declaration.type){var i=N(e.declaration,t);t.func(e.declaration.id.name,i),(n=r.find(A))&&(s=n.get())&&"object"==typeof s&&(s[e.declaration.id.name]=i)}else if("ClassDeclaration"===e.declaration.type){var n,s,i=di(e.declaration,t);t.func(e.declaration.id.name,i),(n=r.find(A))&&(s=n.get())&&"object"==typeof s&&(s[e.declaration.id.name]=i)}else if("VariableDeclaration"===e.declaration.type)if(ti(e.declaration,t),n=r.find(A)){var a=n.get();if(a&&"object"==typeof a)for(var o=0;o<e.declaration.declarations.length;o++){var c=e.declaration.declarations[o].id.name;(l=t.find(c))&&(a[c]=l.get())}}}else if(e.specifiers)if(n=r.find(A)){var h=n.get();if(h&&"object"==typeof h)for(o=0;o<e.specifiers.length;o++){var l,u=e.specifiers[o],p="Identifier"===u.local.type?u.local.name:u.local.value;(l=t.find(p))&&(h["Identifier"===u.exported.type?u.exported.name:u.exported.value]=l.get())}}}function ui(e,t){var r,t=t.global(),i=t.find(gt+e.source.value);if(i&&(i=i.get())&&("function"==typeof i?r=i():"object"==typeof i&&(r=i)),!r||"object"!=typeof r)throw new TypeError('Failed to resolve module specifier "'+e.source.value+'"');i=t.find(A);i&&(e=i.get())&&"object"==typeof e&&m(e,r)}function pi(e,t,r){for(var r=(r=void 0===r?{}:r).onlyBlock,i=void 0!==r&&r,n=[],s=[],a=0;a<e.body.length;a++){var o=e.body[a];"FunctionDeclaration"===o.type?(n.push(o),s.push(a)):"VariableDeclaration"===o.type&&-1!==["const","let"].indexOf(o.kind)?ti(o,t,{hoist:!0,onlyBlock:!0}):i||function e(t,r){switch(t.type){case"VariableDeclaration":ti(t,r,{hoist:!0});break;case"ForInStatement":case"ForOfStatement":"VariableDeclaration"===t.left.type&&ti(t.left,r,{hoist:!0});case"ForStatement":"ForStatement"===t.type&&"VariableDeclaration"===t.init.type&&ti(t.init,r,{hoist:!0});case"WhileStatement":case"DoWhileStatement":e(t.body,r);break;case"IfStatement":e(t.consequent,r),t.alternate&&e(t.alternate,r);break;case"BlockStatement":for(var i=0;i<t.body.length;i++)e(t.body[i],r);break;case"SwitchStatement":for(i=0;i<t.cases.length;i++)for(var n=0;n<t.cases[i].consequent.length;n++)e(t.cases[i].consequent[n],r);break;case"TryStatement":for(var s=t.block.body,i=0;i<s.length;i++)e(s[i],r);var a=t.handler&&t.handler.body.body;if(a)for(i=0;i<a.length;i++)e(a[i],r);var o=t.finalizer&&t.finalizer.body;if(o)for(i=0;i<o.length;i++)e(o[i],r)}}(o,t)}if(s.length){for(a=s.length-1;-1<a;a--)e.body.splice(s[a],1);e.body=n.concat(e.body)}}function V(e,t,r){switch(void 0===r&&(r={}),e.type){case"ObjectPattern":return Ir(e,t,r);case"ArrayPattern":return Ar(e,t,r);case"RestElement":return Pr(e,t,r);case"AssignmentPattern":return Lr(e,t,r);default:throw new SyntaxError("Unexpected token")}}function N(c,h,e){var t,l,u,p,r;return void 0===e&&(e={}),c.generator||c.async?D(c,h,e):(l=e.superClass,u=e.construct,p=c.params,e=function e(){for(var t=this&&this instanceof e?this.constructor:void 0,r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var n=new P(h,!0);"ArrowFunctionExpression"!==c.type&&(n.const("this",this),n.let("arguments",arguments),n.const(yt,t),u&&u(this),l)&&(n.const(pt,l),u)&&n.let(dt,!1);for(var s,a=0;a<p.length;a++){var o=p[a];"Identifier"===o.type?n.var(o.name,r[a]):"RestElement"===o.type?Pr(o,n,{kind:"var",feed:r.slice(a)}):V(o,n,{kind:"var",feed:r[a]})}if("BlockStatement"===c.body.type?(pi(c.body,n),s=Dr(c.body,n,{invasived:!0,hoisted:!0})):(s=T(c.body,n),"ArrowFunctionExpression"===c.type&&(k.RES=s,s=k)),s===k)return s.RES},"ArrowFunctionExpression"===c.type&&f(e,ft,{value:!0}),f(e,"name",{value:c.id&&c.id.name||"",configurable:!0}),f(e,"length",{value:p.length,configurable:!0}),(r=null==(t=c.loc)?void 0:t.source)&&f(e,"toString",{value:function(){return r.substring(c.start,c.end)},configurable:!0}),e)}function di(e,i){for(var n=T(e.superClass,i),s=e.body.body,t=function(e){for(var t=0;t<s.length;t++){var r=s[t];"PropertyDefinition"!==r.type||r.static||ai(r,i,{klass:e,superClass:n})}},r=function(){t(this),n&&n.apply(this)},a=0;a<s.length;a++){var o=s[a];if("MethodDefinition"===o.type&&"constructor"===o.kind){r=N(o.value,i,{superClass:n,construct:t});break}}return n&&$(r,n),ni(e.body,i,{klass:r,superClass:n}),f(r,mt,{value:!0}),f(r,"name",{value:e.id&&e.id.name||"",configurable:!0}),r}function fi(e,t,r){var r=r.value,i=e.left,n=new P(t);return"VariableDeclaration"===i.type?ti(i,n,{feed:r}):"Identifier"===i.type?vr(i,t,{getVar:!0}).set(r):V(i,t,{feed:r}),"BlockStatement"===e.body.type?Dr(e.body,n,{invasived:!0}):T(e.body,n)}function mi(t,r,i){var n,s,a,o,c;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:n=i.onlyBlock,n=void 0!==n&&n,s=[],a=[],c=0,e.label=1;case 1:return c<t.body.length?"FunctionDeclaration"!==(o=t.body[c]).type?[3,2]:(s.push(o),a.push(c),[3,6]):[3,7];case 2:return"VariableDeclaration"!==o.type||-1===["const","let"].indexOf(o.kind)?[3,4]:[5,g(or(o,r,{hoist:!0,onlyBlock:!0}))];case 3:return e.sent(),[3,6];case 4:return n?[3,6]:[5,g(function t(r,i){var n,s,a,o,c;return y(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,g(or(r,i,{hoist:!0}))];case 2:return e.sent(),[3,38];case 3:return"VariableDeclaration"!==r.left.type?[3,5]:[5,g(or(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,g(or(r.init,i,{hoist:!0}))];case 6:e.sent(),e.label=7;case 7:return[5,g(t(r.body,i))];case 8:return e.sent(),[3,38];case 9:return[5,g(t(r.consequent,i))];case 10:return(e.sent(),r.alternate)?[5,g(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,g(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,g(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,g(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,g(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,g(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]}})}(o,r))];case 5:e.sent(),e.label=6;case 6:return c++,[3,1];case 7:if(a.length){for(c=a.length-1;-1<c;c--)t.body.splice(a[c],1);t.body=s.concat(t.body)}return[2]}})}function B(t,r,i){return void 0===i&&(i={}),y(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,g(Nt(t,r,i))];case 2:return[2,e.sent()];case 3:return[5,g(Bt(t,r,i))];case 4:return[2,e.sent()];case 5:return[5,g(Dt(t,r,i))];case 6:return[2,e.sent()];case 7:return[5,g(Rt(t,r,i))];case 8:return[2,e.sent()];case 9:throw new SyntaxError("Unexpected token")}})}function D(c,h,e){var t,l,u,p,s,r,i;return void 0===e&&(e={}),c.generator||c.async?(l=e.superClass,u=e.construct,p=c.params,s=function e(){for(var t,r,i,n,s=this&&this instanceof e?this.constructor:void 0,a=[],o=0;o<arguments.length;o++)a[o]=arguments[o];return y(this,function(e){switch(e.label){case 0:return(t=new P(h,!0),"ArrowFunctionExpression"===c.type)?[3,3]:(t.const("this",this),t.let("arguments",arguments),t.const(yt,s),u?[5,g(u(this))]:[3,2]);case 1:e.sent(),e.label=2;case 2:l&&(t.const(pt,l),u)&&t.let(dt,!1),e.label=3;case 3:r=0,e.label=4;case 4:return r<p.length?"Identifier"!==(i=p[r]).type?[3,5]:(t.var(i.name,a[r]),[3,9]):[3,10];case 5:return"RestElement"!==i.type?[3,7]:[5,g(Dt(i,t,{kind:"var",feed:a.slice(r)}))];case 6:return e.sent(),[3,9];case 7:return[5,g(B(i,t,{kind:"var",feed:a[r]}))];case 8:e.sent(),e.label=9;case 9:return r++,[3,4];case 10:return"BlockStatement"!==c.body.type?[3,13]:[5,g(mi(c.body,t))];case 11:return e.sent(),[5,g(Ut(c.body,t,{invasived:!0,hoisted:!0}))];case 12:return n=e.sent(),[3,15];case 13:return[5,g(L(c.body,t))];case 14:n=e.sent(),"ArrowFunctionExpression"===c.type&&(k.RES=n,n=k),e.label=15;case 15:return n===k?[2,n.RES]:[2]}})},r=c.async&&c.generator?function(){function t(e){return i=i.then(function(){return St(r,m({fullRet:!0},e))}).catch(function(e){if(!n)return n=!0,Promise.reject(e)})}var r=s.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}:c.async?function(){return St(s.apply(this,arguments))}:s,f(r,ft,{value:!0}),f(r,"name",{value:c.id&&c.id.name||"",configurable:!0}),f(r,"length",{value:p.length,configurable:!0}),(i=null==(t=c.loc)?void 0:t.source)&&f(r,"toString",{value:function(){return i.substring(c.start,c.end)},configurable:!0}),r):N(c,h,e)}function yi(t,n){var s,a,r,i,o,c;return y(this,function(e){switch(e.label){case 0:return[5,g(L(t.superClass,n))];case 1:for(s=e.sent(),a=t.body.body,r=function(t){var r,i;return y(this,function(e){switch(e.label){case 0:r=0,e.label=1;case 1:return r<a.length?"PropertyDefinition"!==(i=a[r]).type||i.static?[3,3]:[5,g(pr(i,n,{klass:t,superClass:s}))]:[3,4];case 2:e.sent(),e.label=3;case 3:return r++,[3,1];case 4:return[2]}})},i=function(){return y(this,function(e){switch(e.label){case 0:return[5,g(r(this))];case 1:return e.sent(),s&&s.apply(this),[2]}})},o=0;o<a.length;o++)if("MethodDefinition"===(c=a[o]).type&&"constructor"===c.kind){i=D(c.value,n,{superClass:s,construct:r});break}return s&&$(i,s),[5,g(lr(t.body,n,{klass:i,superClass:s}))];case 2:return e.sent(),f(i,mt,{value:!0}),f(i,"name",{value:t.id&&t.id.name||"",configurable:!0}),[2,i]}})}function gi(t,r,i){var n,s,a,o;return y(this,function(e){switch(e.label){case 0:return n=i.value,s=t.left,a=new P(r),"VariableDeclaration"!==s.type?[3,2]:[5,g(or(s,a,{feed:n}))];case 1:return e.sent(),[3,6];case 2:return"Identifier"!==s.type?[3,4]:[5,g(vr(s,r,{getVar:!0}))];case 3:return e.sent().set(n),[3,6];case 4:return[5,g(B(s,r,{feed:n}))];case 5:e.sent(),e.label=6;case 6:return"BlockStatement"!==t.body.type?[3,8]:[5,g(Ut(t.body,a,{invasived:!0}))];case 7:return o=e.sent(),[3,10];case 8:return[5,g(L(t.body,a))];case 9:o=e.sent(),e.label=10;case 10:return[2,o]}})}function vi(e){void 0===e&&(e={}),this.options={ecmaVersion:"latest"},this.scope=new P(null,!0),this.exports={};var t=e.ecmaVer,t=void 0===t?"latest":t,r=e.sandBox,r=void 0===r||r,e=e.sourceType,e=void 0===e?"script":e;if("number"==typeof t&&(t-=t<2015?0:2009),"latest"!==t&&3!==t&&(t<5||15<t))throw new Error("unsupported ecmaVer");this.options.ecmaVersion=t,this.options.sourceType=e,r?(r=m(J(((t={})[ne]=i,t)),te),this.scope.let("globalThis",r),this.scope.let("window",r),this.scope.let("this",r)):(this.scope.let("globalThis",i),this.scope.let("window",i),this.scope.let("this",i)),this.scope.const("module"===e?A:"exports",this.exports={})}return vi.prototype.import=function(e,t){var r;if("string"==typeof e&&((r={})[e]=t,e=r),"object"==typeof e)for(var i=H(e),n=0;n<i.length;n++){var s=i[n],a="module"===this.options.sourceType?gt+s:s;this.scope.var(a,e[s])}},vi.prototype.parse=function(e,t){return"function"==typeof t?t(e,m({},this.options)):(t=this.options,l.parse(e,t))},vi.prototype.run=function(e){var t="string"==typeof e?this.parse(e):e,r=this.scope;"module"===this.options.sourceType&&("latest"===this.options.ecmaVersion||13<=this.options.ecmaVersion)?St(function(){return y(this,function(e){switch(e.label){case 0:return[5,g(mi(t,r))];case 1:return e.sent(),[5,g(L(t,r))];case 2:return e.sent(),[2]}})}()):(pi(t,r),T(t,r))},vi.version="0.5.9",vi});
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).Sval=t()}(this,function(){"use strict";var R=Object.freeze({__proto__:null,get ExpressionStatement(){return jt},get BlockStatement(){return Ut},get EmptyStatement(){return qt},get DebuggerStatement(){return Wt},get ReturnStatement(){return Gt},get BreakStatement(){return Ht},get ContinueStatement(){return zt},get LabeledStatement(){return Kt},get WithStatement(){return Qt},get IfStatement(){return Xt},get SwitchStatement(){return Yt},get SwitchCase(){return Zt},get ThrowStatement(){return Jt},get TryStatement(){return $t},get CatchClause(){return er},get WhileStatement(){return tr},get DoWhileStatement(){return rr},get ForStatement(){return ir},get ForInStatement(){return nr},get ForOfStatement(){return sr}}),O=Object.freeze({__proto__:null,get FunctionDeclaration(){return ar},get VariableDeclaration(){return or},get VariableDeclarator(){return cr},get ClassDeclaration(){return hr},get ClassBody(){return lr},get MethodDefinition(){return ur},get PropertyDefinition(){return pr},get StaticBlock(){return dr},get ImportDeclaration(){return fr},get ExportDefaultDeclaration(){return mr},get ExportNamedDeclaration(){return yr},get ExportAllDeclaration(){return gr}}),M=Object.freeze({__proto__:null,get ExpressionStatement(){return Br},get BlockStatement(){return Dr},get EmptyStatement(){return Rr},get DebuggerStatement(){return Or},get ReturnStatement(){return Mr},get BreakStatement(){return Fr},get ContinueStatement(){return jr},get LabeledStatement(){return Ur},get WithStatement(){return qr},get IfStatement(){return Wr},get SwitchStatement(){return Gr},get SwitchCase(){return Hr},get ThrowStatement(){return zr},get TryStatement(){return Kr},get CatchClause(){return Qr},get WhileStatement(){return Xr},get DoWhileStatement(){return Yr},get ForStatement(){return Zr},get ForInStatement(){return Jr},get ForOfStatement(){return $r}}),F=Object.freeze({__proto__:null,get FunctionDeclaration(){return ei},get VariableDeclaration(){return ti},get VariableDeclarator(){return ri},get ClassDeclaration(){return ii},get ClassBody(){return ni},get MethodDefinition(){return si},get PropertyDefinition(){return ai},get StaticBlock(){return oi},get ImportDeclaration(){return ci},get ExportDefaultDeclaration(){return hi},get ExportNamedDeclaration(){return li},get ExportAllDeclaration(){return ui}});function y(i,n){var s,a,o,c={label:0,sent:function(){if(1&o[0])throw o[1];return o[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(r){return function(e){var t=[r,e];if(s)throw new TypeError("Generator is already executing.");for(;c;)try{if(s=1,a&&(o=2&t[0]?a.return:t[0]?a.throw||((o=a.return)&&o.call(a),0):a.next)&&!(o=o.call(a,t[1])).done)return o;switch(a=0,(t=o?[2&t[0],o.value]:t)[0]){case 0:case 1:o=t;break;case 4:return c.label++,{value:t[1],done:!1};case 5:c.label++,a=t[1],t=[0];continue;case 7:t=c.ops.pop(),c.trys.pop();continue;default:if(!(o=0<(o=c.trys).length&&o[o.length-1])&&(6===t[0]||2===t[0])){c=0;continue}if(3===t[0]&&(!o||t[1]>o[0]&&t[1]<o[3]))c.label=t[1];else if(6===t[0]&&c.label<o[1])c.label=o[1],o=t;else{if(!(o&&c.label<o[2])){o[2]&&c.ops.pop(),c.trys.pop();continue}c.label=o[2],c.ops.push(t)}}t=n.call(i,c)}catch(e){t=[6,e],a=0}finally{s=o=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}}}function g(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}}function j(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(function(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}(arguments[t]));return e}var U=Object.freeze,f=Object.defineProperty,q=Object.getOwnPropertyDescriptor,W=Object.prototype.hasOwnProperty;function G(e,t){return W.call(e,t)}var H=Object.getOwnPropertyNames,z=Object.setPrototypeOf;var K=Object.getPrototypeOf;var Q=Object.getOwnPropertyDescriptor;function X(e,t,r){for(;t;){var i=Q(t,r),i=void 0!==i&&void 0===i.writable&&"function"==typeof i[e]&&i[e];if(i)return i;i=t,t=K?K(i):i.__proto__}}function Y(e,t){return X("get",e,t)}function Z(e,t){return X("set",e,t)}var J=Object.create;function $(e,t){var r,i;r=e,i=t,z?z(r,i):r.__proto__=i,e.prototype=J(t.prototype,{constructor:{value:e,writable:!0}})}var m=Object.assign||function(e){for(var t=1;t<arguments.length;++t){var r,i=arguments[t];for(r in i)G(i,r)&&(e[r]=i[r])}return e},ee=[],i=J(null);try{if(!window.Object)throw 0;ee=H(i=window).filter(function(e){return"webkitStorageInfo"!==e})}catch(e){try{if(!global.Object)throw 0;ee=H(i=global).filter(function(e){return"GLOBAL"!==e&&"root"!==e})}catch(e){try{i.Object=Object}catch(e){}try{i.Function=Function}catch(e){}try{i.Array=Array}catch(e){}try{i.Number=Number}catch(e){}try{i.parseFloat=parseFloat}catch(e){}try{i.parseInt=parseInt}catch(e){}try{i.Infinity=1/0}catch(e){}try{i.NaN=NaN}catch(e){}try{i.undefined=void 0}catch(e){}try{i.Boolean=Boolean}catch(e){}try{i.String=String}catch(e){}try{i.Symbol=Symbol}catch(e){}try{i.Date=Date}catch(e){}try{i.Promise=Promise}catch(e){}try{i.RegExp=RegExp}catch(e){}try{i.Error=Error}catch(e){}try{i.EvalError=EvalError}catch(e){}try{i.RangeError=RangeError}catch(e){}try{i.ReferenceError=ReferenceError}catch(e){}try{i.SyntaxError=SyntaxError}catch(e){}try{i.TypeError=TypeError}catch(e){}try{i.URIError=URIError}catch(e){}try{i.JSON=JSON}catch(e){}try{i.Math=Math}catch(e){}try{i.console=console}catch(e){}try{i.Intl=Intl}catch(e){}try{i.ArrayBuffer=ArrayBuffer}catch(e){}try{i.Uint8Array=Uint8Array}catch(e){}try{i.Int8Array=Int8Array}catch(e){}try{i.Uint16Array=Uint16Array}catch(e){}try{i.Int16Array=Int16Array}catch(e){}try{i.Uint32Array=Uint32Array}catch(e){}try{i.Int32Array=Int32Array}catch(e){}try{i.Float32Array=Float32Array}catch(e){}try{i.Float64Array=Float64Array}catch(e){}try{i.Uint8ClampedArray=Uint8ClampedArray}catch(e){}try{i.DataView=DataView}catch(e){}try{i.Map=Map}catch(e){}try{i.Set=Set}catch(e){}try{i.WeakMap=WeakMap}catch(e){}try{i.WeakSet=WeakSet}catch(e){}try{i.Proxy=Proxy}catch(e){}try{i.Reflect=Reflect}catch(e){}try{i.BigInt=BigInt}catch(e){}try{i.decodeURI=decodeURI}catch(e){}try{i.decodeURIComponent=decodeURIComponent}catch(e){}try{i.encodeURI=encodeURI}catch(e){}try{i.encodeURIComponent=encodeURIComponent}catch(e){}try{i.escape=escape}catch(e){}try{i.unescape=unescape}catch(e){}try{i.eval=eval}catch(e){}try{i.isFinite=isFinite}catch(e){}try{i.isNaN=isNaN}catch(e){}try{i.SharedArrayBuffer=SharedArrayBuffer}catch(e){}try{i.Atomics=Atomics}catch(e){}try{i.WebAssembly=WebAssembly}catch(e){}try{i.clearInterval=clearInterval}catch(e){}try{i.clearTimeout=clearTimeout}catch(e){}try{i.setInterval=setInterval}catch(e){}try{i.setTimeout=setTimeout}catch(e){}try{i.crypto=crypto}catch(e){}try{i.URL=URL}catch(e){}ee=H(i)}}i.Symbol&&(i.Symbol.iterator||(i.Symbol.iterator=p("iterator")),i.Symbol.asyncIterator||(i.Symbol.asyncIterator=p("asynciterator")));for(var te=J({}),re=0;re<ee.length;re++){var ie=ee[re];try{te[ie]=i[ie]}catch(e){}}var ne=p("window");function p(e){return e+Math.random().toString(36).substring(2)}var se=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239],ae=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],e="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-Ა-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-Ꟑꟑꟓꟕ-ꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",oe={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"},t="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",ce={5:t,"5module":t+" export import",6:t+" const class extends export import super"},he=/^in(stanceof)?$/,le=new RegExp("["+e+"]"),ue=new RegExp("["+e+"·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・]");function pe(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}return!1}function a(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?170<=e&&le.test(String.fromCharCode(e)):!1!==t&&pe(e,ae)))}function de(e,t){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?170<=e&&ue.test(String.fromCharCode(e)):!1!==t&&(pe(e,ae)||pe(e,se)))))}function r(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 n(e,t){return new r(e,{beforeExpr:!0,binop:t})}var t={beforeExpr:!0},e={startsExpr:!0},fe={};function s(e,t){return(t=void 0===t?{}:t).keyword=e,fe[e]=new r(e,t)}var v={num:new r("num",e),regexp:new r("regexp",e),string:new r("string",e),name:new r("name",e),privateId:new r("privateId",e),eof:new r("eof"),bracketL:new r("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new r("]"),braceL:new r("{",{beforeExpr:!0,startsExpr:!0}),braceR:new r("}"),parenL:new r("(",{beforeExpr:!0,startsExpr:!0}),parenR:new r(")"),comma:new r(",",t),semi:new r(";",t),colon:new r(":",t),dot:new r("."),question:new r("?",t),questionDot:new r("?."),arrow:new r("=>",t),template:new r("template"),invalidTemplate:new r("invalidTemplate"),ellipsis:new r("...",t),backQuote:new r("`",e),dollarBraceL:new r("${",{beforeExpr:!0,startsExpr:!0}),eq:new r("=",{beforeExpr:!0,isAssign:!0}),assign:new r("_=",{beforeExpr:!0,isAssign:!0}),incDec:new r("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new r("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:n("||",1),logicalAND:n("&&",2),bitwiseOR:n("|",3),bitwiseXOR:n("^",4),bitwiseAND:n("&",5),equality:n("==/!=/===/!==",6),relational:n("</>/<=/>=",7),bitShift:n("<</>>/>>>",8),plusMin:new r("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:n("%",10),star:n("*",10),slash:n("/",10),starstar:new r("**",{beforeExpr:!0}),coalesce:n("??",1),_break:s("break"),_case:s("case",t),_catch:s("catch"),_continue:s("continue"),_debugger:s("debugger"),_default:s("default",t),_do:s("do",{isLoop:!0,beforeExpr:!0}),_else:s("else",t),_finally:s("finally"),_for:s("for",{isLoop:!0}),_function:s("function",e),_if:s("if"),_return:s("return",t),_switch:s("switch"),_throw:s("throw",t),_try:s("try"),_var:s("var"),_const:s("const"),_while:s("while",{isLoop:!0}),_with:s("with"),_new:s("new",{beforeExpr:!0,startsExpr:!0}),_this:s("this",e),_super:s("super",e),_class:s("class",e),_extends:s("extends",t),_export:s("export"),_import:s("import",e),_null:s("null",e),_true:s("true",e),_false:s("false",e),_in:s("in",{beforeExpr:!0,binop:7}),_instanceof:s("instanceof",{beforeExpr:!0,binop:7}),_typeof:s("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:s("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:s("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},o=/\r\n?|\n|\u2028|\u2029/,t=new RegExp(o.source,"g");function me(e){return 10===e||13===e||8232===e||8233===e}function ye(e,t,r){void 0===r&&(r=e.length);for(var i=t;i<r;i++){var n=e.charCodeAt(i);if(me(n))return i<r-1&&13===n&&10===e.charCodeAt(i+1)?i+2:i+1}return-1}var ge=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,c=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,e=Object.prototype,ve=e.hasOwnProperty,be=e.toString,xe=Object.hasOwn||function(e,t){return ve.call(e,t)},we=Array.isArray||function(e){return"[object Array]"===be.call(e)},Se=Object.create(null);function ke(e){return Se[e]||(Se[e]=new RegExp("^(?:"+e.replace(/ /g,"|")+")$"))}function h(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}function _e(e,t){this.line=e,this.column=t}function Ee(e,t,r){this.start=t,this.end=r,null!==e.sourceFile&&(this.source=e.sourceFile)}var Ce=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/;function Ie(e,t){for(var r=1,i=0;;){var n=ye(e,i,t);if(n<0)return new _e(r,t-i);++r,i=n}}var Ae={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!(_e.prototype.offset=function(e){return new _e(this.line,this.column+e)}),allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},Pe=!1;function Le(e){var t,r,a,o,i={};for(t in Ae)i[t]=(e&&xe(e,t)?e:Ae)[t];return"latest"===i.ecmaVersion?i.ecmaVersion=1e8:null==i.ecmaVersion?(!Pe&&"object"==typeof console&&console.warn&&(Pe=!0,console.warn("Since Acorn 8.0.0, options.ecmaVersion is required.\nDefaulting to 2020, but this will stop working in the future.")),i.ecmaVersion=11):2015<=i.ecmaVersion&&(i.ecmaVersion-=2009),null==i.allowReserved&&(i.allowReserved=i.ecmaVersion<5),e&&null!=e.allowHashBang||(i.allowHashBang=14<=i.ecmaVersion),we(i.onToken)&&(r=i.onToken,i.onToken=function(e){return r.push(e)}),we(i.onComment)&&(i.onComment=(o=(a=i).onComment,function(e,t,r,i,n,s){e={type:e?"Block":"Line",value:t,start:r,end:i};a.locations&&(e.loc=new Ee(this,n,s)),a.ranges&&(e.range=[r,i]),o.push(e)})),i}function Te(e,t){return 2|(e?4:0)|(t?8:0)}function l(e,t,r){this.options=e=Le(e),this.sourceFile=e.sourceFile,this.keywords=ke(ce[6<=e.ecmaVersion?6:"module"===e.sourceType?"5module":5]);var i="",i=(!0!==e.allowReserved&&(i=oe[6<=e.ecmaVersion?6:5===e.ecmaVersion?5:3],"module"===e.sourceType)&&(i+=" await"),this.reservedWords=ke(i),(i?i+" ":"")+oe.strict);this.reservedWordsStrict=ke(i),this.reservedWordsStrictBind=ke(i+" "+oe.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(o).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=v.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.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(1),this.regexpState=null,this.privateNameStack=[]}function Ve(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}var e={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}},e=(l.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)},e.inFunction.get=function(){return 0<(2&this.currentVarScope().flags)},e.inGenerator.get=function(){return 0<(8&this.currentVarScope().flags)&&!this.currentVarScope().inClassFieldInit},e.inAsync.get=function(){return 0<(4&this.currentVarScope().flags)&&!this.currentVarScope().inClassFieldInit},e.canAwait.get=function(){for(var e=this.scopeStack.length-1;0<=e;e--){var t=this.scopeStack[e];if(t.inClassFieldInit||256&t.flags)return!1;if(2&t.flags)return 0<(4&t.flags)}return this.inModule&&13<=this.options.ecmaVersion||this.options.allowAwaitOutsideFunction},e.allowSuper.get=function(){var e=this.currentThisScope(),t=e.flags,e=e.inClassFieldInit;return 0<(64&t)||e||this.options.allowSuperOutsideMethod},e.allowDirectSuper.get=function(){return 0<(128&this.currentThisScope().flags)},e.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},e.allowNewDotTarget.get=function(){var e=this.currentThisScope(),t=e.flags,e=e.inClassFieldInit;return 0<(258&t)||e},e.inClassStaticBlock.get=function(){return 0<(256&this.currentVarScope().flags)},l.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},l.parse=function(e,t){return new this(t,e).parse()},l.parseExpressionAt=function(e,t,r){r=new this(r,e,t);return r.nextToken(),r.parseExpression()},l.tokenizer=function(e,t){return new this(t,e)},Object.defineProperties(l.prototype,e),l.prototype),Ne=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/,e=(e.strictDirective=function(e){if(this.options.ecmaVersion<5)return!1;for(;;){c.lastIndex=e,e+=c.exec(this.input)[0].length;var t,r,i,n=Ne.exec(this.input.slice(e));if(!n)return!1;if("use strict"===(n[1]||n[2]))return c.lastIndex=e+n[0].length,r=(t=c.exec(this.input)).index+t[0].length,";"===(i=this.input.charAt(r))||"}"===i||o.test(t[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(i)||"!"===i&&"="===this.input.charAt(r+1));e+=n[0].length,c.lastIndex=e,e+=c.exec(this.input)[0].length,";"===this.input[e]&&e++}},e.eat=function(e){return this.type===e&&(this.next(),!0)},e.isContextual=function(e){return this.type===v.name&&this.value===e&&!this.containsEsc},e.eatContextual=function(e){return!!this.isContextual(e)&&(this.next(),!0)},e.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},e.canInsertSemicolon=function(){return this.type===v.eof||this.type===v.braceR||o.test(this.input.slice(this.lastTokEnd,this.start))},e.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},e.semicolon=function(){this.eat(v.semi)||this.insertSemicolon()||this.unexpected()},e.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},e.expect=function(e){this.eat(e)||this.unexpected()},e.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")},e.checkPatternErrors=function(e,t){e&&(-1<e.trailingComma&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element"),-1<(e=t?e.parenthesizedAssign:e.parenthesizedBind))&&this.raiseRecoverable(e,t?"Assigning to rvalue":"Parenthesized pattern")},e.checkExpressionErrors=function(e,t){var r;return!!e&&(r=e.shorthandAssign,e=e.doubleProto,t?(0<=r&&this.raise(r,"Shorthand property assignments are valid only in destructuring patterns"),void(0<=e&&this.raiseRecoverable(e,"Redefinition of __proto__ property"))):0<=r||0<=e)},e.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")},e.isSimpleAssignTarget=function(e){return"ParenthesizedExpression"===e.type?this.isSimpleAssignTarget(e.expression):"Identifier"===e.type||"MemberExpression"===e.type},l.prototype),Be=(e.parseTopLevel=function(e){var t=Object.create(null);for(e.body||(e.body=[]);this.type!==v.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")},{kind:"loop"}),De={kind:"switch"},Re=(e.isLet=function(e){if(!(this.options.ecmaVersion<6)&&this.isContextual("let")){c.lastIndex=this.pos;var t=c.exec(this.input),t=this.pos+t[0].length,r=this.input.charCodeAt(t);if(91===r||92===r)return!0;if(!e){if(123===r||55295<r&&r<56320)return!0;if(a(r,!0)){for(var i=t+1;de(r=this.input.charCodeAt(i),!0);)++i;if(92===r||55295<r&&r<56320)return!0;e=this.input.slice(t,i);if(!he.test(e))return!0}}}return!1},e.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;c.lastIndex=this.pos;var e=c.exec(this.input),e=this.pos+e[0].length;return!(o.test(this.input.slice(this.pos,e))||"function"!==this.input.slice(e,e+8)||e+8!==this.input.length&&(de(e=this.input.charCodeAt(e+8))||55295<e&&e<56320))},e.parseStatement=function(e,t,r){var i,n,s=this.type,a=this.startNode();switch(this.isLet(e)&&(s=v._var,i="let"),s){case v._break:case v._continue:return this.parseBreakContinueStatement(a,s.keyword);case v._debugger:return this.parseDebuggerStatement(a);case v._do:return this.parseDoStatement(a);case v._for:return this.parseForStatement(a);case v._function:return e&&(this.strict||"if"!==e&&"label"!==e)&&6<=this.options.ecmaVersion&&this.unexpected(),this.parseFunctionStatement(a,!1,!e);case v._class:return e&&this.unexpected(),this.parseClass(a,!0);case v._if:return this.parseIfStatement(a);case v._return:return this.parseReturnStatement(a);case v._switch:return this.parseSwitchStatement(a);case v._throw:return this.parseThrowStatement(a);case v._try:return this.parseTryStatement(a);case v._const:case v._var:return i=i||this.value,e&&"var"!==i&&this.unexpected(),this.parseVarStatement(a,i);case v._while:return this.parseWhileStatement(a);case v._with:return this.parseWithStatement(a);case v.braceL:return this.parseBlock(!0,a);case v.semi:return this.parseEmptyStatement(a);case v._export:case v._import:if(10<this.options.ecmaVersion&&s===v._import){c.lastIndex=this.pos;var o=c.exec(this.input),o=this.pos+o[0].length,o=this.input.charCodeAt(o);if(40===o||46===o)return this.parseExpressionStatement(a,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'"),s===v._import?this.parseImport(a):this.parseExport(a,r);default:return this.isAsyncFunction()?(e&&this.unexpected(),this.next(),this.parseFunctionStatement(a,!0,!e)):(o=this.value,n=this.parseExpression(),s===v.name&&"Identifier"===n.type&&this.eat(v.colon)?this.parseLabeledStatement(a,o,n,e):this.parseExpressionStatement(a,n))}},e.parseBreakContinueStatement=function(e,t){for(var r="break"===t,i=(this.next(),this.eat(v.semi)||this.insertSemicolon()?e.label=null:this.type!==v.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon()),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")},e.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")},e.parseDoStatement=function(e){return this.next(),this.labels.push(Be),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(v._while),e.test=this.parseParenExpression(),6<=this.options.ecmaVersion?this.eat(v.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},e.parseForStatement=function(e){this.next();var t,r,i,n,s,a,o=9<=this.options.ecmaVersion&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;return this.labels.push(Be),this.enterScope(0),this.expect(v.parenL),this.type===v.semi?(-1<o&&this.unexpected(o),this.parseFor(e,null)):(t=this.isLet(),this.type===v._var||this.type===v._const||t?(r=this.startNode(),t=t?"let":this.value,this.next(),this.parseVar(r,!0,t),this.finishNode(r,"VariableDeclaration"),(this.type===v._in||6<=this.options.ecmaVersion&&this.isContextual("of"))&&1===r.declarations.length?(9<=this.options.ecmaVersion&&(this.type===v._in?-1<o&&this.unexpected(o):e.await=-1<o),this.parseForIn(e,r)):(-1<o&&this.unexpected(o),this.parseFor(e,r))):(t=this.isContextual("let"),r=!1,i=this.containsEsc,n=new Ve,s=this.start,a=-1<o?this.parseExprSubscripts(n,"await"):this.parseExpression(!0,n),this.type===v._in||(r=6<=this.options.ecmaVersion&&this.isContextual("of"))?(-1<o?(this.type===v._in&&this.unexpected(o),e.await=!0):r&&8<=this.options.ecmaVersion&&(a.start!==s||i||"Identifier"!==a.type||"async"!==a.name?9<=this.options.ecmaVersion&&(e.await=!1):this.unexpected()),t&&r&&this.raise(a.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(a,!1,n),this.checkLValPattern(a),this.parseForIn(e,a)):(this.checkExpressionErrors(n,!0),-1<o&&this.unexpected(o),this.parseFor(e,a))))},e.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,Oe|(r?0:Me),!1,t)},e.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(v._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},e.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(v.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},e.parseSwitchStatement=function(e){var t;this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(v.braceL),this.labels.push(De),this.enterScope(0);for(var r,i=!1;this.type!==v.braceR;)this.type===v._case||this.type===v._default?(r=this.type===v._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(v.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")},e.parseThrowStatement=function(e){return this.next(),o.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")},[]),Oe=(e.parseCatchClauseParam=function(){var e=this.parseBindingAtom(),t="Identifier"===e.type;return this.enterScope(t?32:0),this.checkLValPattern(e,t?4:2),this.expect(v.parenR),e},e.parseTryStatement=function(e){var t;return this.next(),e.block=this.parseBlock(),e.handler=null,this.type===v._catch&&(t=this.startNode(),this.next(),this.eat(v.parenL)?t.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0)),t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")),e.finalizer=this.eat(v._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},e.parseVarStatement=function(e,t,r){return this.next(),this.parseVar(e,!1,t,r),this.semicolon(),this.finishNode(e,"VariableDeclaration")},e.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(Be),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},e.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")},e.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},e.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===v._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")},e.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},e.parseBlock=function(e,t,r){for(void 0===e&&(e=!0),(t=void 0===t?this.startNode():t).body=[],this.expect(v.braceL),e&&this.enterScope(0);this.type!==v.braceR;){var i=this.parseStatement(null);t.body.push(i)}return r&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")},e.parseFor=function(e,t){return e.init=t,this.expect(v.semi),e.test=this.type===v.semi?null:this.parseExpression(),this.expect(v.semi),e.update=this.type===v.parenR?null:this.parseExpression(),this.expect(v.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},e.parseForIn=function(e,t){var r=this.type===v._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"),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssign(),this.expect(v.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")},e.parseVar=function(e,t,r,i){for(e.declarations=[],e.kind=r;;){var n=this.startNode();if(this.parseVarId(n,r),this.eat(v.eq)?n.init=this.parseMaybeAssign(t):i||"const"!==r||this.type===v._in||6<=this.options.ecmaVersion&&this.isContextual("of")?i||"Identifier"===n.id.type||t&&(this.type===v._in||this.isContextual("of"))?n.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),e.declarations.push(this.finishNode(n,"VariableDeclarator")),!this.eat(v.comma))break}return e},e.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLValPattern(e.id,"var"===t?1:2,!1)},1),Me=2;function Fe(e,t){var r=e.computed,e=e.key;return!r&&("Identifier"===e.type&&e.name===t||"Literal"===e.type&&e.value===t)}e.parseFunction=function(e,t,r,i,n){this.initFunction(e),(9<=this.options.ecmaVersion||6<=this.options.ecmaVersion&&!i)&&(this.type===v.star&&t&Me&&this.unexpected(),e.generator=this.eat(v.star)),8<=this.options.ecmaVersion&&(e.async=!!i),t&Oe&&(e.id=4&t&&this.type!==v.name?null:this.parseIdent(),!e.id||t&Me||this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?1:2:3));var i=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Te(e.async,e.generator)),t&Oe||(e.id=this.type===v.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,r,!1,n),this.yieldPos=i,this.awaitPos=s,this.awaitIdentPos=a,this.finishNode(e,t&Oe?"FunctionDeclaration":"FunctionExpression")},e.parseFunctionParams=function(e){this.expect(v.parenL),e.params=this.parseBindingList(v.parenR,!1,8<=this.options.ecmaVersion),this.checkYieldAwaitInDefaultParams()},e.parseClass=function(e,t){this.next();var r=this.strict,i=(this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e),this.enterClassBody()),n=this.startNode(),s=!1;for(n.body=[],this.expect(v.braceL);this.type!==v.braceR;){var a=this.parseClassElement(null!==e.superClass);a&&(n.body.push(a),"MethodDefinition"===a.type&&"constructor"===a.kind?(s&&this.raiseRecoverable(a.start,"Duplicate constructor in the same class"),s=!0):a.key&&"PrivateIdentifier"===a.key.type&&function(e,t){var r=t.key.name,i=e[r],n="true";"MethodDefinition"!==t.type||"get"!==t.kind&&"set"!==t.kind||(n=(t.static?"s":"i")+t.kind);if("iget"===i&&"iset"===n||"iset"===i&&"iget"===n||"sget"===i&&"sset"===n||"sset"===i&&"sget"===n)e[r]="true";else{if(i)return 1;e[r]=n}}(i,a)&&this.raiseRecoverable(a.key.start,"Identifier '#"+a.key.name+"' has already been declared"))}return this.strict=r,this.next(),e.body=this.finishNode(n,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},e.parseClassElement=function(e){if(this.eat(v.semi))return null;var t=this.options.ecmaVersion,r=this.startNode(),i="",n=!1,s=!1,a="method",o=!1;if(this.eatContextual("static")){if(13<=t&&this.eat(v.braceL))return this.parseClassStaticBlock(r),r;this.isClassElementNameStart()||this.type===v.star?o=!0:i="static"}return r.static=o,!i&&8<=t&&this.eatContextual("async")&&(!this.isClassElementNameStart()&&this.type!==v.star||this.canInsertSemicolon()?i="async":s=!0),!i&&(9<=t||!s)&&this.eat(v.star)&&(n=!0),i||s||n||(o=this.value,(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?a=o:i=o)),i?(r.computed=!1,r.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),r.key.name=i,this.finishNode(r.key,"Identifier")):this.parseClassElementName(r),t<13||this.type===v.parenL||"method"!==a||n||s?(i=(o=!r.static&&Fe(r,"constructor"))&&e,o&&"method"!==a&&this.raise(r.key.start,"Constructor can't have get/set modifier"),r.kind=o?"constructor":a,this.parseClassMethod(r,n,s,i)):this.parseClassField(r),r},e.isClassElementNameStart=function(){return this.type===v.name||this.type===v.privateId||this.type===v.num||this.type===v.string||this.type===v.bracketL||this.type.keyword},e.parseClassElementName=function(e){this.type===v.privateId?("constructor"===this.value&&this.raise(this.start,"Classes can't have an element named '#constructor'"),e.computed=!1,e.key=this.parsePrivateIdent()):this.parsePropertyName(e)},e.parseClassMethod=function(e,t,r,i){var n=e.key,n=("constructor"===e.kind?(t&&this.raise(n.start,"Constructor can't be a generator"),r&&this.raise(n.start,"Constructor can't be an async method")):e.static&&Fe(e,"prototype")&&this.raise(n.start,"Classes may not have a static property named prototype"),e.value=this.parseMethod(t,r,i));return"get"===e.kind&&0!==n.params.length&&this.raiseRecoverable(n.start,"getter should have no params"),"set"===e.kind&&1!==n.params.length&&this.raiseRecoverable(n.start,"setter should have exactly one param"),"set"===e.kind&&"RestElement"===n.params[0].type&&this.raiseRecoverable(n.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")},e.parseClassField=function(e){var t,r;return Fe(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&Fe(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(v.eq)?(r=(t=this.currentThisScope()).inClassFieldInit,t.inClassFieldInit=!0,e.value=this.parseMaybeAssign(),t.inClassFieldInit=r):e.value=null,this.semicolon(),this.finishNode(e,"PropertyDefinition")},e.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(320);this.type!==v.braceR;){var r=this.parseStatement(null);e.body.push(r)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")},e.parseClassId=function(e,t){this.type===v.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,2,!1)):(!0===t&&this.unexpected(),e.id=null)},e.parseClassSuper=function(e){e.superClass=this.eat(v._extends)?this.parseExprSubscripts(null,!1):null},e.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared},e.exitClassBody=function(){var e=this.privateNameStack.pop(),t=e.declared,r=e.used;if(this.options.checkPrivateFields)for(var e=this.privateNameStack.length,i=0===e?null:this.privateNameStack[e-1],n=0;n<r.length;++n){var s=r[n];xe(t,s.name)||(i?i.used.push(s):this.raiseRecoverable(s.start,"Private field '#"+s.name+"' must be declared in an enclosing class"))}},e.parseExportAllDeclaration=function(e,t){return 11<=this.options.ecmaVersion&&(this.eatContextual("as")?(e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==v.string&&this.unexpected(),e.source=this.parseExprAtom(),16<=this.options.ecmaVersion&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ExportAllDeclaration")},e.parseExport=function(e,t){if(this.next(),this.eat(v.star))return this.parseExportAllDeclaration(e,t);if(this.eat(v._default))return this.checkExport(t,"default",this.lastTokStart),e.declaration=this.parseExportDefaultDeclaration(),this.finishNode(e,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())e.declaration=this.parseExportDeclaration(e),"VariableDeclaration"===e.declaration.type?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==v.string&&this.unexpected(),e.source=this.parseExprAtom(),16<=this.options.ecmaVersion&&(e.attributes=this.parseWithClause());else{for(var r=0,i=e.specifiers;r<i.length;r+=1){var n=i[r];this.checkUnreserved(n.local),this.checkLocalExport(n.local),"Literal"===n.local.type&&this.raise(n.local.start,"A string literal cannot be used as an exported binding without `from`.")}e.source=null}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")},e.parseExportDeclaration=function(e){return this.parseStatement(null)},e.parseExportDefaultDeclaration=function(){var e,t;return this.type===v._function||(t=this.isAsyncFunction())?(e=this.startNode(),this.next(),t&&this.next(),this.parseFunction(e,4|Oe,!1,t)):this.type===v._class?(e=this.startNode(),this.parseClass(e,"nullableID")):(t=this.parseMaybeAssign(),this.semicolon(),t)},e.checkExport=function(e,t,r){e&&("string"!=typeof t&&(t="Identifier"===t.type?t.name:t.value),xe(e,t)&&this.raiseRecoverable(r,"Duplicate export '"+t+"'"),e[t]=!0)},e.checkPatternExport=function(e,t){var r=t.type;if("Identifier"===r)this.checkExport(e,t,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)},e.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)}},e.shouldParseExportStatement=function(){return"var"===this.type.keyword||"const"===this.type.keyword||"class"===this.type.keyword||"function"===this.type.keyword||this.isLet()||this.isAsyncFunction()},e.parseExportSpecifier=function(e){var t=this.startNode();return t.local=this.parseModuleExportName(),t.exported=this.eatContextual("as")?this.parseModuleExportName():t.local,this.checkExport(e,t.exported,t.exported.start),this.finishNode(t,"ExportSpecifier")},e.parseExportSpecifiers=function(e){var t=[],r=!0;for(this.expect(v.braceL);!this.eat(v.braceR);){if(r)r=!1;else if(this.expect(v.comma),this.afterTrailingComma(v.braceR))break;t.push(this.parseExportSpecifier(e))}return t},e.parseImport=function(e){return this.next(),this.type===v.string?(e.specifiers=Re,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===v.string?this.parseExprAtom():this.unexpected()),16<=this.options.ecmaVersion&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ImportDeclaration")},e.parseImportSpecifier=function(){var e=this.startNode();return e.imported=this.parseModuleExportName(),this.eatContextual("as")?e.local=this.parseIdent():(this.checkUnreserved(e.imported),e.local=e.imported),this.checkLValSimple(e.local,2),this.finishNode(e,"ImportSpecifier")},e.parseImportDefaultSpecifier=function(){var e=this.startNode();return e.local=this.parseIdent(),this.checkLValSimple(e.local,2),this.finishNode(e,"ImportDefaultSpecifier")},e.parseImportNamespaceSpecifier=function(){var e=this.startNode();return this.next(),this.expectContextual("as"),e.local=this.parseIdent(),this.checkLValSimple(e.local,2),this.finishNode(e,"ImportNamespaceSpecifier")},e.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type!==v.name||(e.push(this.parseImportDefaultSpecifier()),this.eat(v.comma)))if(this.type===v.star)e.push(this.parseImportNamespaceSpecifier());else for(this.expect(v.braceL);!this.eat(v.braceR);){if(t)t=!1;else if(this.expect(v.comma),this.afterTrailingComma(v.braceR))break;e.push(this.parseImportSpecifier())}return e},e.parseWithClause=function(){var e=[];if(this.eat(v._with)){this.expect(v.braceL);for(var t={},r=!0;!this.eat(v.braceR);){if(r)r=!1;else if(this.expect(v.comma),this.afterTrailingComma(v.braceR))break;var i=this.parseImportAttribute(),n="Identifier"===i.key.type?i.key.name:i.key.value;xe(t,n)&&this.raiseRecoverable(i.key.start,"Duplicate attribute key '"+n+"'"),t[n]=!0,e.push(i)}}return e},e.parseImportAttribute=function(){var e=this.startNode();return e.key=this.type===v.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved),this.expect(v.colon),this.type!==v.string&&this.unexpected(),e.value=this.parseExprAtom(),this.finishNode(e,"ImportAttribute")},e.parseModuleExportName=function(){var e;return 13<=this.options.ecmaVersion&&this.type===v.string?(e=this.parseLiteral(this.value),Ce.test(e.value)&&this.raise(e.start,"An export name cannot include a lone surrogate."),e):this.parseIdent(!0)},e.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)},e.isDirectiveCandidate=function(e){return 5<=this.options.ecmaVersion&&"ExpressionStatement"===e.type&&"Literal"===e.expression.type&&"string"==typeof e.expression.value&&('"'===this.input[e.start]||"'"===this.input[e.start])};function u(e,t,r,i,n){this.token=e,this.isExpr=!!t,this.preserveSpace=!!r,this.override=i,this.generator=!!n}var e=l.prototype,d=(e.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"AssignmentPattern":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);break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,r);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else r&&this.checkPatternErrors(r,!0);return e},e.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},e.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")},e.parseRestBinding=function(){var e=this.startNode();return this.next(),6===this.options.ecmaVersion&&this.type!==v.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")},e.parseBindingAtom=function(){if(6<=this.options.ecmaVersion)switch(this.type){case v.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(v.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case v.braceL:return this.parseObj(!0)}return this.parseIdent()},e.parseBindingList=function(e,t,r,i){for(var n=[],s=!0;!this.eat(e);)if(s?s=!1:this.expect(v.comma),t&&this.type===v.comma)n.push(null);else{if(r&&this.afterTrailingComma(e))break;if(this.type===v.ellipsis){var a=this.parseRestBinding();this.parseBindingListItem(a),n.push(a),this.type===v.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}n.push(this.parseAssignableListItem(i))}return n},e.parseAssignableListItem=function(e){var t=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(t),t},e.parseBindingListItem=function(e){return e},e.parseMaybeDefault=function(e,t,r){return r=r||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(v.eq)?r:((e=this.startNodeAt(e,t)).left=r,e.right=this.parseMaybeAssign(),this.finishNode(e,"AssignmentPattern"))},e.checkLValSimple=function(e,t,r){var i=0!==(t=void 0===t?0:t);switch(e.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(i?"Binding ":"Assigning to ")+e.name+" in strict mode"),i&&(2===t&&"let"===e.name&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),r&&(xe(r,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),r[e.name]=!0),5!==t)&&this.declareName(e.name,t,e.start);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":i&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ParenthesizedExpression":return i&&this.raiseRecoverable(e.start,"Binding parenthesized expression"),this.checkLValSimple(e.expression,t,r);default:this.raise(e.start,(i?"Binding":"Assigning to")+" rvalue")}},e.checkLValPattern=function(e,t,r){switch(void 0===t&&(t=0),e.type){case"ObjectPattern":for(var i=0,n=e.properties;i<n.length;i+=1){var s=n[i];this.checkLValInnerPattern(s,t,r)}break;case"ArrayPattern":for(var a=0,o=e.elements;a<o.length;a+=1){var c=o[a];c&&this.checkLValInnerPattern(c,t,r)}break;default:this.checkLValSimple(e,t,r)}},{b_stat:new u("{",!(e.checkLValInnerPattern=function(e,t,r){switch(void 0===t&&(t=0),e.type){case"Property":this.checkLValInnerPattern(e.value,t,r);break;case"AssignmentPattern":this.checkLValPattern(e.left,t,r);break;case"RestElement":this.checkLValPattern(e.argument,t,r);break;default:this.checkLValPattern(e,t,r)}})),b_expr:new u("{",!0),b_tmpl:new u("${",!1),p_stat:new u("(",!1),p_expr:new u("(",!0),q_tmpl:new u("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new u("function",!1),f_expr:new u("function",!0),f_expr_gen:new u("function",!0,!1,null,!0),f_gen:new u("function",!1,!1,null,!0)}),e=l.prototype,e=(e.initialContext=function(){return[d.b_stat]},e.curContext=function(){return this.context[this.context.length-1]},e.braceIsBlock=function(e){var t=this.curContext();return t===d.f_expr||t===d.f_stat||(e!==v.colon||t!==d.b_stat&&t!==d.b_expr?e===v._return||e===v.name&&this.exprAllowed?o.test(this.input.slice(this.lastTokEnd,this.start)):e===v._else||e===v.semi||e===v.eof||e===v.parenR||e===v.arrow||(e===v.braceL?t===d.b_stat:e!==v._var&&e!==v._const&&e!==v.name&&!this.exprAllowed):!t.isExpr)},e.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},e.updateContext=function(e){var t,r=this.type;r.keyword&&e===v.dot?this.exprAllowed=!1:(t=r.updateContext)?t.call(this,e):this.exprAllowed=r.beforeExpr},e.overrideContext=function(e){this.curContext()!==e&&(this.context[this.context.length-1]=e)},v.parenR.updateContext=v.braceR.updateContext=function(){var e;1===this.context.length?this.exprAllowed=!0:((e=this.context.pop())===d.b_stat&&"function"===this.curContext().token&&(e=this.context.pop()),this.exprAllowed=!e.isExpr)},v.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?d.b_stat:d.b_expr),this.exprAllowed=!0},v.dollarBraceL.updateContext=function(){this.context.push(d.b_tmpl),this.exprAllowed=!0},v.parenL.updateContext=function(e){e=e===v._if||e===v._for||e===v._with||e===v._while;this.context.push(e?d.p_stat:d.p_expr),this.exprAllowed=!0},v.incDec.updateContext=function(){},v._function.updateContext=v._class.updateContext=function(e){!e.beforeExpr||e===v._else||e===v.semi&&this.curContext()!==d.p_stat||e===v._return&&o.test(this.input.slice(this.lastTokEnd,this.start))||(e===v.colon||e===v.braceL)&&this.curContext()===d.b_stat?this.context.push(d.f_stat):this.context.push(d.f_expr),this.exprAllowed=!1},v.colon.updateContext=function(){"function"===this.curContext().token&&this.context.pop(),this.exprAllowed=!0},v.backQuote.updateContext=function(){this.curContext()===d.q_tmpl?this.context.pop():this.context.push(d.q_tmpl),this.exprAllowed=!1},v.star.updateContext=function(e){e===v._function&&(e=this.context.length-1,this.context[e]===d.f_expr?this.context[e]=d.f_expr_gen:this.context[e]=d.f_gen),this.exprAllowed=!0},v.name.updateContext=function(e){var t=!1;6<=this.options.ecmaVersion&&e!==v.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t},l.prototype);e.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=e.key;switch(i.type){case"Identifier":n=i.name;break;case"Literal":n=String(i.value);break;default:return}var n,e=e.kind;6<=this.options.ecmaVersion?"__proto__"===n&&"init"===e&&(t.proto&&(r?r.doubleProto<0&&(r.doubleProto=i.start):this.raiseRecoverable(i.start,"Redefinition of __proto__ property")),t.proto=!0):((r=t[n="$"+n])?("init"===e?this.strict&&r.init||r.get||r.set:r.init||r[e])&&this.raiseRecoverable(i.start,"Redefinition of property"):r=t[n]={init:!1,get:!1,set:!1},r[e]=!0)}},e.parseExpression=function(e,t){var r=this.start,i=this.startLoc,n=this.parseMaybeAssign(e,t);if(this.type!==v.comma)return n;var s=this.startNodeAt(r,i);for(s.expressions=[n];this.eat(v.comma);)s.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(s,"SequenceExpression")},e.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,o=(t?(n=t.parenthesizedAssign,s=t.trailingComma,a=t.doubleProto,t.parenthesizedAssign=t.trailingComma=-1):(t=new Ve,i=!0),this.start),c=this.startLoc,h=(this.type!==v.parenL&&this.type!==v.name||(this.potentialArrowAt=this.start,this.potentialArrowInForAwait="await"===e),this.parseMaybeConditional(e,t));return r&&(h=r.call(this,h,o,c)),this.type.isAssign?((r=this.startNodeAt(o,c)).operator=this.value,this.type===v.eq&&(h=this.toAssignable(h,!1,t)),i||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=h.start&&(t.shorthandAssign=-1),this.type===v.eq?this.checkLValPattern(h):this.checkLValSimple(h),r.left=h,this.next(),r.right=this.parseMaybeAssign(e),-1<a&&(t.doubleProto=a),this.finishNode(r,"AssignmentExpression")):(i&&this.checkExpressionErrors(t,!0),-1<n&&(t.parenthesizedAssign=n),-1<s&&(t.trailingComma=s),h)},e.parseMaybeConditional=function(e,t){var r=this.start,i=this.startLoc,n=this.parseExprOps(e,t);return!this.checkExpressionErrors(t)&&this.eat(v.question)?((t=this.startNodeAt(r,i)).test=n,t.consequent=this.parseMaybeAssign(),this.expect(v.colon),t.alternate=this.parseMaybeAssign(e),this.finishNode(t,"ConditionalExpression")):n},e.parseExprOps=function(e,t){var r=this.start,i=this.startLoc,n=this.parseMaybeUnary(t,!1,!1,e);return this.checkExpressionErrors(t)||n.start===r&&"ArrowFunctionExpression"===n.type?n:this.parseExprOp(n,r,i,-1,e)},e.parseExprOp=function(e,t,r,i,n){var s,a,o,c,h,l=this.type.binop;if(null!=l&&(!n||this.type!==v._in)&&i<l)return s=this.type===v.logicalOR||this.type===v.logicalAND,(a=this.type===v.coalesce)&&(l=v.logicalAND.binop),o=this.value,this.next(),c=this.start,h=this.startLoc,c=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,n),c,h,l,n),h=this.buildBinary(t,r,e,c,o,s||a),(s&&this.type===v.coalesce||a&&(this.type===v.logicalOR||this.type===v.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(h,t,r,i,n);return e},e.buildBinary=function(e,t,r,i,n,s){"PrivateIdentifier"===i.type&&this.raise(i.start,"Private identifier can only be left side of binary expression");e=this.startNodeAt(e,t);return e.left=r,e.operator=n,e.right=i,this.finishNode(e,s?"LogicalExpression":"BinaryExpression")},e.parseMaybeUnary=function(e,t,r,i){var n,s=this.start,a=this.startLoc;if(this.isContextual("await")&&this.canAwait)n=this.parseAwait(i),t=!0;else if(this.type.prefix){var o=this.startNode(),c=this.type===v.incDec;o.operator=this.value,o.prefix=!0,this.next(),o.argument=this.parseMaybeUnary(null,!0,c,i),this.checkExpressionErrors(e,!0),c?this.checkLValSimple(o.argument):this.strict&&"delete"===o.operator&&function e(t){return"Identifier"===t.type||"ParenthesizedExpression"===t.type&&e(t.expression)}(o.argument)?this.raiseRecoverable(o.start,"Deleting local variable in strict mode"):"delete"===o.operator&&function e(t){return"MemberExpression"===t.type&&"PrivateIdentifier"===t.property.type||"ChainExpression"===t.type&&e(t.expression)||"ParenthesizedExpression"===t.type&&e(t.expression)}(o.argument)?this.raiseRecoverable(o.start,"Private fields can not be deleted"):t=!0,n=this.finishNode(o,c?"UpdateExpression":"UnaryExpression")}else if(t||this.type!==v.privateId){if(n=this.parseExprSubscripts(e,i),this.checkExpressionErrors(e))return n;for(;this.type.postfix&&!this.canInsertSemicolon();){var h=this.startNodeAt(s,a);h.operator=this.value,h.prefix=!1,h.argument=n,this.checkLValSimple(n),this.next(),n=this.finishNode(h,"UpdateExpression")}}else(i||0===this.privateNameStack.length)&&this.options.checkPrivateFields&&this.unexpected(),n=this.parsePrivateIdent(),this.type!==v._in&&this.unexpected();return r||!this.eat(v.starstar)?n:t?void this.unexpected(this.lastTokStart):this.buildBinary(s,a,n,this.parseMaybeUnary(null,!1,!1,i),"**",!1)},e.parseExprSubscripts=function(e,t){var r=this.start,i=this.startLoc,n=this.parseExprAtom(e,t);return"ArrowFunctionExpression"===n.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd)||(n=this.parseSubscripts(n,r,i,!1,t),e&&"MemberExpression"===n.type&&(e.parenthesizedAssign>=n.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=n.start&&(e.parenthesizedBind=-1),e.trailingComma>=n.start)&&(e.trailingComma=-1)),n},e.parseSubscripts=function(e,t,r,i,n){for(var s=8<=this.options.ecmaVersion&&"Identifier"===e.type&&"async"===e.name&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start==5&&this.potentialArrowAt===e.start,a=!1;;){var o,c=this.parseSubscript(e,t,r,i,s,a,n);if(c.optional&&(a=!0),c===e||"ArrowFunctionExpression"===c.type)return a&&((o=this.startNodeAt(t,r)).expression=c,c=this.finishNode(o,"ChainExpression")),c;e=c}},e.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(v.arrow)},e.parseSubscriptAsyncArrow=function(e,t,r,i){return this.parseArrowExpression(this.startNodeAt(e,t),r,!0,i)},e.parseSubscript=function(e,t,r,i,n,s,a){var o=11<=this.options.ecmaVersion,c=o&&this.eat(v.questionDot),h=(i&&c&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions"),this.eat(v.bracketL));if(h||c&&this.type!==v.parenL&&this.type!==v.backQuote||this.eat(v.dot)){var l=this.startNodeAt(t,r);l.object=e,h?(l.property=this.parseExpression(),this.expect(v.bracketR)):this.type===v.privateId&&"Super"!==e.type?l.property=this.parsePrivateIdent():l.property=this.parseIdent("never"!==this.options.allowReserved),l.computed=!!h,o&&(l.optional=c),e=this.finishNode(l,"MemberExpression")}else if(!i&&this.eat(v.parenL)){var h=new Ve,l=this.yieldPos,i=this.awaitPos,u=this.awaitIdentPos,p=(this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.parseExprList(v.parenR,8<=this.options.ecmaVersion,!1,h));if(n&&!c&&this.shouldParseAsyncArrow())return this.checkPatternErrors(h,!1),this.checkYieldAwaitInDefaultParams(),0<this.awaitIdentPos&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=l,this.awaitPos=i,this.awaitIdentPos=u,this.parseSubscriptAsyncArrow(t,r,p,a);this.checkExpressionErrors(h,!0),this.yieldPos=l||this.yieldPos,this.awaitPos=i||this.awaitPos,this.awaitIdentPos=u||this.awaitIdentPos;n=this.startNodeAt(t,r);n.callee=e,n.arguments=p,o&&(n.optional=c),e=this.finishNode(n,"CallExpression")}else this.type===v.backQuote&&((c||s)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions"),(a=this.startNodeAt(t,r)).tag=e,a.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(a,"TaggedTemplateExpression"));return e},e.parseExprAtom=function(e,t,r){this.type===v.slash&&this.readRegexp();var i=this.potentialArrowAt===this.start;switch(this.type){case v._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),c=this.startNode(),this.next(),this.type!==v.parenL||this.allowDirectSuper||this.raise(c.start,"super() call outside constructor of a subclass"),this.type!==v.dot&&this.type!==v.bracketL&&this.type!==v.parenL&&this.unexpected(),this.finishNode(c,"Super");case v._this:return c=this.startNode(),this.next(),this.finishNode(c,"ThisExpression");case v.name:var n=this.start,s=this.startLoc,a=this.containsEsc,o=this.parseIdent(!1);if(8<=this.options.ecmaVersion&&!a&&"async"===o.name&&!this.canInsertSemicolon()&&this.eat(v._function))return this.overrideContext(d.f_expr),this.parseFunction(this.startNodeAt(n,s),0,!1,!0,t);if(i&&!this.canInsertSemicolon()){if(this.eat(v.arrow))return this.parseArrowExpression(this.startNodeAt(n,s),[o],!1,t);if(8<=this.options.ecmaVersion&&"async"===o.name&&this.type===v.name&&!a&&(!this.potentialArrowInForAwait||"of"!==this.value||this.containsEsc))return o=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(v.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(n,s),[o],!0,t)}return o;case v.regexp:var c,a=this.value;return(c=this.parseLiteral(a.value)).regex={pattern:a.pattern,flags:a.flags},c;case v.num:case v.string:return this.parseLiteral(this.value);case v._null:case v._true:case v._false:return(c=this.startNode()).value=this.type===v._null?null:this.type===v._true,c.raw=this.type.keyword,this.next(),this.finishNode(c,"Literal");case v.parenL:n=this.start,s=this.parseParenAndDistinguishExpression(i,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(s)&&(e.parenthesizedAssign=n),e.parenthesizedBind<0)&&(e.parenthesizedBind=n),s;case v.bracketL:return c=this.startNode(),this.next(),c.elements=this.parseExprList(v.bracketR,!0,!0,e),this.finishNode(c,"ArrayExpression");case v.braceL:return this.overrideContext(d.b_expr),this.parseObj(!1,e);case v._function:return c=this.startNode(),this.next(),this.parseFunction(c,0);case v._class:return this.parseClass(this.startNode(),!1);case v._new:return this.parseNew();case v.backQuote:return this.parseTemplate();case v._import:return 11<=this.options.ecmaVersion?this.parseExprImport(r):this.unexpected();default:return this.parseExprAtomDefault()}},e.parseExprAtomDefault=function(){this.unexpected()},e.parseExprImport=function(e){var t=this.startNode();return this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type!==v.parenL||e?this.type===v.dot?((e=this.startNodeAt(t.start,t.loc&&t.loc.start)).name="import",t.meta=this.finishNode(e,"Identifier"),this.parseImportMeta(t)):void this.unexpected():this.parseDynamicImport(t)},e.parseDynamicImport=function(e){var t;return this.next(),e.source=this.parseMaybeAssign(),16<=this.options.ecmaVersion?this.eat(v.parenR)||(this.expect(v.comma),this.afterTrailingComma(v.parenR))?e.options=null:(e.options=this.parseMaybeAssign(),this.eat(v.parenR)||(this.expect(v.comma),this.afterTrailingComma(v.parenR))||this.unexpected()):this.eat(v.parenR)||(t=this.start,this.eat(v.comma)&&this.eat(v.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)),this.finishNode(e,"ImportExpression")},e.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),"meta"!==e.property.name&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),"module"===this.options.sourceType||this.options.allowImportExportEverywhere||this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")},e.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).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")},e.parseParenExpression=function(){this.expect(v.parenL);var e=this.parseExpression();return this.expect(v.parenR),e},e.shouldParseArrow=function(e){return!this.canInsertSemicolon()},e.parseParenAndDistinguishExpression=function(e,t){var r,i=this.start,n=this.startLoc,s=8<=this.options.ecmaVersion;if(6<=this.options.ecmaVersion){this.next();var a,o=this.start,c=this.startLoc,h=[],l=!0,u=!1,p=new Ve,d=this.yieldPos,f=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==v.parenR;){if(l?l=!1:this.expect(v.comma),s&&this.afterTrailingComma(v.parenR,!0)){u=!0;break}if(this.type===v.ellipsis){a=this.start,h.push(this.parseParenItem(this.parseRestBinding())),this.type===v.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}h.push(this.parseMaybeAssign(!1,p,this.parseParenItem))}var m=this.lastTokEnd,y=this.lastTokEndLoc;if(this.expect(v.parenR),e&&this.shouldParseArrow(h)&&this.eat(v.arrow))return this.checkPatternErrors(p,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=d,this.awaitPos=f,this.parseParenArrowList(i,n,h,t);h.length&&!u||this.unexpected(this.lastTokStart),a&&this.unexpected(a),this.checkExpressionErrors(p,!0),this.yieldPos=d||this.yieldPos,this.awaitPos=f||this.awaitPos,1<h.length?((r=this.startNodeAt(o,c)).expressions=h,this.finishNodeAt(r,"SequenceExpression",m,y)):r=h[0]}else r=this.parseParenExpression();return this.options.preserveParens?((e=this.startNodeAt(i,n)).expression=r,this.finishNode(e,"ParenthesizedExpression")):r},e.parseParenItem=function(e){return e},e.parseParenArrowList=function(e,t,r,i){return this.parseArrowExpression(this.startNodeAt(e,t),r,!1,i)};function je(e){this.flags=e,this.var=[],this.lexical=[],this.functions=[],this.inClassFieldInit=!1}function Ue(e,t,r){this.type="",this.start=t,this.end=0,e.options.locations&&(this.loc=new Ee(e,r)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])}var qe=[],e=(e.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e,t,r=this.startNode();return this.next(),6<=this.options.ecmaVersion&&this.type===v.dot?((e=this.startNodeAt(r.start,r.loc&&r.loc.start)).name="new",r.meta=this.finishNode(e,"Identifier"),this.next(),e=this.containsEsc,r.property=this.parseIdent(!0),"target"!==r.property.name&&this.raiseRecoverable(r.property.start,"The only valid meta property for new is 'new.target'"),e&&this.raiseRecoverable(r.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(r.start,"'new.target' can only be used in functions and class static block"),this.finishNode(r,"MetaProperty")):(e=this.start,t=this.startLoc,r.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),e,t,!0,!1),this.eat(v.parenL)?r.arguments=this.parseExprList(v.parenR,8<=this.options.ecmaVersion,!1):r.arguments=qe,this.finishNode(r,"NewExpression"))},e.parseTemplateElement=function(e){var e=e.isTagged,t=this.startNode();return this.type===v.invalidTemplate?(e||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),t.value={raw:this.value.replace(/\r\n?/g,"\n"),cooked:null}):t.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),t.tail=this.type===v.backQuote,this.finishNode(t,"TemplateElement")},e.parseTemplate=function(e){var t=(e=void 0===e?{}:e).isTagged,r=(void 0===t&&(t=!1),this.startNode()),i=(this.next(),r.expressions=[],this.parseTemplateElement({isTagged:t}));for(r.quasis=[i];!i.tail;)this.type===v.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(v.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(v.braceR),r.quasis.push(i=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(r,"TemplateLiteral")},e.isAsyncProp=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===v.name||this.type===v.num||this.type===v.string||this.type===v.bracketL||this.type.keyword||9<=this.options.ecmaVersion&&this.type===v.star)&&!o.test(this.input.slice(this.lastTokEnd,this.start))},e.parseObj=function(e,t){var r=this.startNode(),i=!0,n={};for(r.properties=[],this.next();!this.eat(v.braceR);){if(i)i=!1;else if(this.expect(v.comma),5<=this.options.ecmaVersion&&this.afterTrailingComma(v.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")},e.parseProperty=function(e,t){var r,i,n,s,a=this.startNode();if(9<=this.options.ecmaVersion&&this.eat(v.ellipsis))return e?(a.argument=this.parseIdent(!1),this.type===v.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(a,"RestElement")):(a.argument=this.parseMaybeAssign(!1,t),this.type===v.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(v.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(v.star),this.parsePropertyName(a)):i=!1,this.parsePropertyValue(a,e,r,i,n,s,t,o),this.finishNode(a,"Property")},e.parseGetterSetter=function(e){e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var t="get"===e.kind?0:1;e.value.params.length!==t?(t=e.value.start,"get"===e.kind?this.raiseRecoverable(t,"getter should have no params"):this.raiseRecoverable(t,"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")},e.parsePropertyValue=function(e,t,r,i,n,s,a,o){(r||i)&&this.type===v.colon&&this.unexpected(),this.eat(v.colon)?(e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,a),e.kind="init"):6<=this.options.ecmaVersion&&this.type===v.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===v.comma||this.type===v.braceR||this.type===v.eq?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,this.copyNode(e.key)):this.type===v.eq&&a?(a.shorthandAssign<0&&(a.shorthandAssign=this.start),e.value=this.parseMaybeDefault(n,s,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.shorthand=!0):this.unexpected():((r||i)&&this.unexpected(),this.parseGetterSetter(e))},e.parsePropertyName=function(e){if(6<=this.options.ecmaVersion){if(this.eat(v.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(v.bracketR),e.key;e.computed=!1}return e.key=this.type===v.num||this.type===v.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved)},e.initFunction=function(e){e.id=null,6<=this.options.ecmaVersion&&(e.generator=e.expression=!1),8<=this.options.ecmaVersion&&(e.async=!1)},e.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|Te(t,i.generator)|(r?128:0)),this.expect(v.parenL),i.params=this.parseBindingList(v.parenR,!1,8<=this.options.ecmaVersion),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(i,!1,!0,!1),this.yieldPos=n,this.awaitPos=s,this.awaitIdentPos=a,this.finishNode(i,"FunctionExpression")},e.parseArrowExpression=function(e,t,r,i){var n=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;return this.enterScope(16|Te(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,i),this.yieldPos=n,this.awaitPos=s,this.awaitIdentPos=a,this.finishNode(e,"ArrowFunctionExpression")},e.parseFunctionBody=function(e,t,r,i){var n=t&&this.type!==v.braceL,s=this.strict,a=!1;n?(e.body=this.parseMaybeAssign(i),e.expression=!0,this.checkParams(e,!1)):(n=7<=this.options.ecmaVersion&&!this.isSimpleParamList(e.params),s&&!n||(a=this.strictDirective(this.end))&&n&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"),i=this.labels,this.labels=[],a&&(this.strict=!0),this.checkParams(e,!s&&!a&&!t&&!r&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,5),e.body=this.parseBlock(!1,void 0,a&&!s),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=i),this.exitScope()},e.isSimpleParamList=function(e){for(var t=0,r=e;t<r.length;t+=1)if("Identifier"!==r[t].type)return!1;return!0},e.checkParams=function(e,t){for(var r=Object.create(null),i=0,n=e.params;i<n.length;i+=1){var s=n[i];this.checkLValInnerPattern(s,1,t?null:r)}},e.parseExprList=function(e,t,r,i){for(var n=[],s=!0;!this.eat(e);){if(s)s=!1;else if(this.expect(v.comma),t&&this.afterTrailingComma(e))break;var a=void 0;r&&this.type===v.comma?a=null:this.type===v.ellipsis?(a=this.parseSpread(i),i&&this.type===v.comma&&i.trailingComma<0&&(i.trailingComma=this.start)):a=this.parseMaybeAssign(!1,i),n.push(a)}return n},e.checkUnreserved=function(e){var t=e.start,r=e.end,e=e.name;this.inGenerator&&"yield"===e&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&"await"===e&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),this.currentThisScope().inClassFieldInit&&"arguments"===e&&this.raiseRecoverable(t,"Cannot use 'arguments' in class field initializer"),!this.inClassStaticBlock||"arguments"!==e&&"await"!==e||this.raise(t,"Cannot use "+e+" in class static initialization block"),this.keywords.test(e)&&this.raise(t,"Unexpected keyword '"+e+"'"),this.options.ecmaVersion<6&&-1!==this.input.slice(t,r).indexOf("\\")||(this.strict?this.reservedWordsStrict:this.reservedWords).test(e)&&(this.inAsync||"await"!==e||this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '"+e+"' is reserved"))},e.parseIdent=function(e){var t=this.parseIdentNode();return this.next(!!e),this.finishNode(t,"Identifier"),e||(this.checkUnreserved(t),"await"!==t.name)||this.awaitIdentPos||(this.awaitIdentPos=t.start),t},e.parseIdentNode=function(){var e=this.startNode();return this.type===v.name?e.name=this.value:this.type.keyword?(e.name=this.type.keyword,"class"!==e.name&&"function"!==e.name||this.lastTokEnd===this.lastTokStart+1&&46===this.input.charCodeAt(this.lastTokStart)||this.context.pop(),this.type=v.name):this.unexpected(),e},e.parsePrivateIdent=function(){var e=this.startNode();return this.type===v.privateId?e.name=this.value:this.unexpected(),this.next(),this.finishNode(e,"PrivateIdentifier"),this.options.checkPrivateFields&&(0===this.privateNameStack.length?this.raise(e.start,"Private field '#"+e.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(e)),e},e.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===v.semi||this.canInsertSemicolon()||this.type!==v.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(v.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")},e.parseAwait=function(e){this.awaitPos||(this.awaitPos=this.start);var t=this.startNode();return this.next(),t.argument=this.parseMaybeUnary(null,!0,!1,e),this.finishNode(t,"AwaitExpression")},l.prototype),e=(e.raise=function(e,t){var r=Ie(this.input,e),t=(t+=" ("+r.line+":"+r.column+")",new SyntaxError(t));throw t.pos=e,t.loc=r,t.raisedAt=this.pos,t},e.raiseRecoverable=e.raise,e.curPosition=function(){if(this.options.locations)return new _e(this.curLine,this.pos-this.lineStart)},l.prototype),e=(e.enterScope=function(e){this.scopeStack.push(new je(e))},e.exitScope=function(){this.scopeStack.pop()},e.treatFunctionsAsVarInScope=function(e){return 2&e.flags||!this.inModule&&1&e.flags},e.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){n=this.currentScope();i=this.treatFunctionsAsVar?-1<n.lexical.indexOf(e):-1<n.lexical.indexOf(e)||-1<n.var.indexOf(e),n.functions.push(e)}else for(var s=this.scopeStack.length-1;0<=s;--s){var a=this.scopeStack[s];if(-1<a.lexical.indexOf(e)&&!(32&a.flags&&a.lexical[0]===e)||!this.treatFunctionsAsVarInScope(a)&&-1<a.functions.indexOf(e)){i=!0;break}if(a.var.push(e),this.inModule&&1&a.flags&&delete this.undefinedExports[e],259&a.flags)break}i&&this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")},e.checkLocalExport=function(e){-1===this.scopeStack[0].lexical.indexOf(e.name)&&-1===this.scopeStack[0].var.indexOf(e.name)&&(this.undefinedExports[e.name]=e)},e.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},e.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(259&t.flags)return t}},e.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(259&t.flags&&!(16&t.flags))return t}},l.prototype);function We(e,t,r,i){return e.type=t,e.end=r,this.options.locations&&(e.loc.end=i),this.options.ranges&&(e.range[1]=r),e}e.startNode=function(){return new Ue(this,this.start,this.startLoc)},e.startNodeAt=function(e,t){return new Ue(this,e,t)},e.finishNode=function(e,t){return We.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},e.finishNodeAt=function(e,t,r,i){return We.call(this,e,t,r,i)},e.copyNode=function(e){var t,r=new Ue(this,e.start,this.startLoc);for(t in e)r[t]=e[t];return r};var e="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",b=e+" Extended_Pictographic",Ge=b+" EBase EComp EMod EPres ExtPict",He={9:e,10:b,11:b,12:Ge,13:Ge,14:"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 EBase EComp EMod EPres ExtPict"},ze={9:"",10:"",11:"",12:"",13:"",14:"Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji"},Ke="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",e="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",b=e+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",Ge=b+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",Qe=Ge+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",Xe=Qe+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",Ye={9:e,10:b,11:Ge,12:Qe,13:Xe,14:"Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb 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 Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz"},Ze={};for(var x,Je=0,$e=[9,10,11,12,13,14];Je<$e.length;Je+=1)(x=Ze[x=$e[Je]]={binary:ke(He[x]+" "+Ke),binaryOfStrings:ke(ze[x]),nonBinary:{General_Category:ke(Ke),Script:ke(Ye[x])}}).nonBinary.Script_Extensions=x.nonBinary.Script,x.nonBinary.gc=x.nonBinary.General_Category,x.nonBinary.sc=x.nonBinary.Script,x.nonBinary.scx=x.nonBinary.Script_Extensions;function et(e,t){this.parent=e,this.base=t||this}function w(e){this.parser=e,this.validFlags="gim"+(6<=e.options.ecmaVersion?"uy":"")+(9<=e.options.ecmaVersion?"s":"")+(13<=e.options.ecmaVersion?"d":"")+(15<=e.options.ecmaVersion?"v":""),this.unicodeProperties=Ze[14<=e.options.ecmaVersion?14:e.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=Object.create(null),this.backReferenceNames=[],this.branchID=null}e=l.prototype;et.prototype.separatedFrom=function(e){for(var t=this;t;t=t.parent)for(var r=e;r;r=r.parent)if(t.base===r.base&&t!==r)return!0;return!1},et.prototype.sibling=function(){return new et(this.parent,this.base)};function tt(e){return 36===e||40<=e&&e<=43||46===e||63===e||91<=e&&e<=94||123<=e&&e<=125}function rt(e){return 65<=e&&e<=90||97<=e&&e<=122}w.prototype.reset=function(e,t,r){var i=-1!==r.indexOf("v"),n=-1!==r.indexOf("u");this.start=0|e,this.source=t+"",this.flags=r,i&&15<=this.parser.options.ecmaVersion?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=n&&6<=this.parser.options.ecmaVersion,this.switchV=!1,this.switchN=n&&9<=this.parser.options.ecmaVersion)},w.prototype.raise=function(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)},w.prototype.at=function(e,t){void 0===t&&(t=!1);var r,i=this.source,n=i.length;return n<=e?-1:(r=i.charCodeAt(e),!(!t&&!this.switchU||r<=55295||57344<=r||n<=e+1)&&56320<=(t=i.charCodeAt(e+1))&&t<=57343?(r<<10)+t-56613888:r)},w.prototype.nextIndex=function(e,t){void 0===t&&(t=!1);var r,i=this.source,n=i.length;return n<=e?n:(r=i.charCodeAt(e),!t&&!this.switchU||r<=55295||57344<=r||n<=e+1||(t=i.charCodeAt(e+1))<56320||57343<t?e+1:e+2)},w.prototype.current=function(e){return this.at(this.pos,e=void 0===e?!1:e)},w.prototype.lookahead=function(e){return this.at(this.nextIndex(this.pos,e=void 0===e?!1:e),e)},w.prototype.advance=function(e){this.pos=this.nextIndex(this.pos,e=void 0===e?!1:e)},w.prototype.eat=function(e,t){return this.current(t=void 0===t?!1:t)===e&&(this.advance(t),!0)},w.prototype.eatChars=function(e,t){void 0===t&&(t=!1);for(var r=this.pos,i=0,n=e;i<n.length;i+=1){var s=n[i],a=this.at(r,t);if(-1===a||a!==s)return!1;r=this.nextIndex(r,t)}return this.pos=r,!0},e.validateRegExpFlags=function(e){for(var t=e.validFlags,r=e.flags,i=!1,n=!1,s=0;s<r.length;s++){var a=r.charAt(s);-1===t.indexOf(a)&&this.raise(e.start,"Invalid regular expression flag"),-1<r.indexOf(a,s+1)&&this.raise(e.start,"Duplicate regular expression flag"),"u"===a&&(i=!0),"v"===a&&(n=!0)}15<=this.options.ecmaVersion&&i&&n&&this.raise(e.start,"Invalid regular expression flag")},e.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&9<=this.options.ecmaVersion&&function(e){for(var t in e)return 1}(e.groupNames)&&(e.switchN=!0,this.regexp_pattern(e))},e.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames=Object.create(null),e.backReferenceNames.length=0,e.branchID=null,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets"),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,r=e.backReferenceNames;t<r.length;t+=1){var i=r[t];e.groupNames[i]||e.raise("Invalid named capture referenced")}},e.regexp_disjunction=function(e){var t=16<=this.options.ecmaVersion;for(t&&(e.branchID=new et(e.branchID,null)),this.regexp_alternative(e);e.eat(124);)t&&(e.branchID=e.branchID.sibling()),this.regexp_alternative(e);t&&(e.branchID=e.branchID.parent),this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")},e.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););},e.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)},e.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},e.regexp_eatQuantifier=function(e,t){return!!this.regexp_eatQuantifierPrefix(e,t=void 0===t?!1:t)&&(e.eat(63),!0)},e.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},e.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var i,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},e.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)},e.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1},e.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)){if(16<=this.options.ecmaVersion){var r=this.regexp_eatModifiers(e),i=e.eat(45);if(r||i){for(var n=0;n<r.length;n++){var s=r.charAt(n);-1<r.indexOf(s,n+1)&&e.raise("Duplicate regular expression modifiers")}if(i){var a=this.regexp_eatModifiers(e);r||a||58!==e.current()||e.raise("Invalid regular expression modifiers");for(var o=0;o<a.length;o++){var c=a.charAt(o);(-1<a.indexOf(c,o+1)||-1<r.indexOf(c))&&e.raise("Duplicate regular expression modifiers")}}}}if(e.eat(58)){if(this.regexp_disjunction(e),e.eat(41))return!0;e.raise("Unterminated group")}}e.pos=t}return!1},e.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},e.regexp_eatModifiers=function(e){for(var t,r,i="";-1!==(t=e.current())&&(105===(r=t)||109===r||115===r);)i+=h(t),e.advance();return i},e.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)},e.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},e.regexp_eatSyntaxCharacter=function(e){var t=e.current();return!!tt(t)&&(e.lastIntValue=t,e.advance(),!0)},e.regexp_eatPatternCharacters=function(e){for(var t,r=e.pos;-1!==(t=e.current())&&!tt(t);)e.advance();return e.pos!==r},e.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))},e.regexp_groupSpecifier=function(e){if(e.eat(63)){this.regexp_eatGroupName(e)||e.raise("Invalid group");var t=16<=this.options.ecmaVersion,r=e.groupNames[e.lastStringValue];if(r)if(t)for(var i=0,n=r;i<n.length;i+=1)n[i].separatedFrom(e.branchID)||e.raise("Duplicate capture group name");else e.raise("Duplicate capture group name");t?(r||(e.groupNames[e.lastStringValue]=[])).push(e.branchID):e.groupNames[e.lastStringValue]=!0}},e.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},e.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=h(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=h(e.lastIntValue);return!0}return!1},e.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,r=11<=this.options.ecmaVersion,i=e.current(r);return e.advance(r),92===i&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(i=e.lastIntValue),a(r=i,!0)||36===r||95===r?(e.lastIntValue=i,!0):(e.pos=t,!1)},e.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,r=11<=this.options.ecmaVersion,i=e.current(r);return e.advance(r),92===i&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(i=e.lastIntValue),de(r=i,!0)||36===r||95===r||8204===r||8205===r?(e.lastIntValue=i,!0):(e.pos=t,!1)},e.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)},e.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},e.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},e.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},e.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},e.regexp_eatZero=function(e){return 48===e.current()&&!nt(e.lookahead())&&(e.lastIntValue=0,e.advance(),!0)},e.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)},e.regexp_eatControlLetter=function(e){var t=e.current();return!!rt(t)&&(e.lastIntValue=t%32,e.advance(),!0)},e.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){var r=e.pos,t=(t=void 0===t?!1:t)||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var i=e.lastIntValue;if(t&&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(t&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&0<=(s=e.lastIntValue)&&s<=1114111)return!0;t&&e.raise("Invalid unicode escape"),e.pos=r}return!1},e.regexp_eatIdentityEscape=function(e){var t;return e.switchU?!!this.regexp_eatSyntaxCharacter(e)||!!e.eat(47)&&(e.lastIntValue=47,!0):!(99===(t=e.current())||e.switchN&&107===t||(e.lastIntValue=t,e.advance(),0))},e.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};function it(e){return rt(e)||95===e}function nt(e){return 48<=e&&e<=57}function st(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}function at(e){return 65<=e&&e<=70?e-65+10:97<=e&&e<=102?e-97+10:e-48}function ot(e){return 48<=e&&e<=55}e.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(100===(i=t)||68===i||115===i||83===i||119===i||87===i)return e.lastIntValue=-1,e.advance(),1;var r,i=!1;if(e.switchU&&9<=this.options.ecmaVersion&&((i=80===t)||112===t)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&(r=this.regexp_eatUnicodePropertyValueExpression(e))&&e.eat(125))return i&&2===r&&e.raise("Invalid property name"),r;e.raise("Invalid property name")}return 0},e.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var r,i=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e))return r=e.lastStringValue,this.regexp_validateUnicodePropertyNameAndValue(e,i,r),1}return e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)?(i=e.lastStringValue,this.regexp_validateUnicodePropertyNameOrValue(e,i)):0},e.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){xe(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(r)||e.raise("Invalid property value")},e.regexp_validateUnicodePropertyNameOrValue=function(e,t){return e.unicodeProperties.binary.test(t)?1:e.switchV&&e.unicodeProperties.binaryOfStrings.test(t)?2:void e.raise("Invalid property name")},e.regexp_eatUnicodePropertyName=function(e){var t;for(e.lastStringValue="";it(t=e.current());)e.lastStringValue+=h(t),e.advance();return""!==e.lastStringValue},e.regexp_eatUnicodePropertyValue=function(e){var t,r;for(e.lastStringValue="";it(r=t=e.current())||nt(r);)e.lastStringValue+=h(t),e.advance();return""!==e.lastStringValue},e.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},e.regexp_eatCharacterClass=function(e){var t,r;return!!e.eat(91)&&(t=e.eat(94),r=this.regexp_classContents(e),e.eat(93)||e.raise("Unterminated character class"),t&&2===r&&e.raise("Negated character class may contain strings"),!0)},e.regexp_classContents=function(e){if(93!==e.current()){if(e.switchV)return this.regexp_classSetExpression(e);this.regexp_nonEmptyClassRanges(e)}return 1},e.regexp_nonEmptyClassRanges=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")}},e.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;e.switchU&&(99!==(r=e.current())&&!ot(r)||e.raise("Invalid class escape"),e.raise("Invalid escape")),e.pos=t}var r=e.current();return 93!==r&&(e.lastIntValue=r,e.advance(),!0)},e.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)},e.regexp_classSetExpression=function(e){var t,r=1;if(!this.regexp_eatClassSetRange(e))if(t=this.regexp_eatClassSetOperand(e)){2===t&&(r=2);for(var i=e.pos;e.eatChars([38,38]);)38!==e.current()&&(t=this.regexp_eatClassSetOperand(e))?2!==t&&(r=1):e.raise("Invalid character in character class");if(i!==e.pos)return r;for(;e.eatChars([45,45]);)this.regexp_eatClassSetOperand(e)||e.raise("Invalid character in character class");if(i!==e.pos)return r}else e.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(e)){if(!(t=this.regexp_eatClassSetOperand(e)))return r;2===t&&(r=2)}},e.regexp_eatClassSetRange=function(e){var t=e.pos;if(this.regexp_eatClassSetCharacter(e)){var r,i=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassSetCharacter(e))return r=e.lastIntValue,-1!==i&&-1!==r&&r<i&&e.raise("Range out of order in character class"),!0;e.pos=t}return!1},e.regexp_eatClassSetOperand=function(e){return this.regexp_eatClassSetCharacter(e)?1:this.regexp_eatClassStringDisjunction(e)||this.regexp_eatNestedClass(e)},e.regexp_eatNestedClass=function(e){var t=e.pos;if(e.eat(91)){var r=e.eat(94),i=this.regexp_classContents(e);if(e.eat(93))return r&&2===i&&e.raise("Negated character class may contain strings"),i;e.pos=t}if(e.eat(92)){r=this.regexp_eatCharacterClassEscape(e);if(r)return r;e.pos=t}return null},e.regexp_eatClassStringDisjunction=function(e){var t=e.pos;if(e.eatChars([92,113])){if(e.eat(123)){var r=this.regexp_classStringDisjunctionContents(e);if(e.eat(125))return r}else e.raise("Invalid escape");e.pos=t}return null},e.regexp_classStringDisjunctionContents=function(e){for(var t=this.regexp_classString(e);e.eat(124);)2===this.regexp_classString(e)&&(t=2);return t},e.regexp_classString=function(e){for(var t=0;this.regexp_eatClassSetCharacter(e);)t++;return 1===t?1:2},e.regexp_eatClassSetCharacter=function(e){var t,r=e.pos;return e.eat(92)?!(!this.regexp_eatCharacterEscape(e)&&!this.regexp_eatClassSetReservedPunctuator(e)&&(e.eat(98)?(e.lastIntValue=8,0):(e.pos=r,1))):!((r=e.current())<0||r===e.lookahead()&&(33===(t=r)||35<=t&&t<=38||42<=t&&t<=44||46===t||58<=t&&t<=64||94===t||96===t||126===t)||40===(t=r)||41===t||45===t||47===t||91<=t&&t<=93||123<=t&&t<=125||(e.advance(),e.lastIntValue=r,0))},e.regexp_eatClassSetReservedPunctuator=function(e){var t,r=e.current();return(33===(t=r)||35===t||37===t||38===t||44===t||45===t||58<=t&&t<=62||64===t||96===t||126===t)&&(e.lastIntValue=r,e.advance(),!0)},e.regexp_eatClassControlLetter=function(e){var t=e.current();return!(!nt(t)&&95!==t||(e.lastIntValue=t%32,e.advance(),0))},e.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},e.regexp_eatDecimalDigits=function(e){var t,r=e.pos;for(e.lastIntValue=0;nt(t=e.current());)e.lastIntValue=10*e.lastIntValue+(t-48),e.advance();return e.pos!==r},e.regexp_eatHexDigits=function(e){var t,r=e.pos;for(e.lastIntValue=0;st(t=e.current());)e.lastIntValue=16*e.lastIntValue+at(t),e.advance();return e.pos!==r},e.regexp_eatLegacyOctalEscapeSequence=function(e){var t,r;return!!this.regexp_eatOctalDigit(e)&&(t=e.lastIntValue,this.regexp_eatOctalDigit(e)?(r=e.lastIntValue,t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=64*t+8*r+e.lastIntValue:e.lastIntValue=8*t+r):e.lastIntValue=t,!0)},e.regexp_eatOctalDigit=function(e){var t=e.current();return ot(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)},e.regexp_eatFixedHexDigits=function(e,t){for(var r=e.pos,i=e.lastIntValue=0;i<t;++i){var n=e.current();if(!st(n))return e.pos=r,!1;e.lastIntValue=16*e.lastIntValue+at(n),e.advance()}return!0};function ct(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,e.options.locations&&(this.loc=new Ee(e,e.startLoc,e.endLoc)),e.options.ranges&&(this.range=[e.start,e.end])}b=l.prototype;function ht(e){return"function"!=typeof BigInt?null:BigInt(e.replace(/_/g,""))}b.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new ct(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},b.getToken=function(){return this.next(),new ct(this)},"undefined"!=typeof Symbol&&(b[Symbol.iterator]=function(){var t=this;return{next:function(){var e=t.getToken();return{done:e.type===v.eof,value:e}}}}),b.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(v.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},b.readToken=function(e){return a(e,6<=this.options.ecmaVersion)||92===e?this.readWord():this.getTokenFromCode(e)},b.fullCharCodeAtPos=function(){var e,t=this.input.charCodeAt(this.pos);return t<=55295||56320<=t||(e=this.input.charCodeAt(this.pos+1))<=56319||57344<=e?t:(t<<10)+e-56613888},b.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(-1===r&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(var i,n=t;-1<(i=ye(this.input,n,this.pos));)++this.curLine,n=this.lineStart=i;this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,r),t,this.pos,e,this.curPosition())},b.skipLineComment=function(e){for(var t=this.pos,r=this.options.onComment&&this.curPosition(),i=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!me(i);)i=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(t+e,this.pos),t,this.pos,r,this.curPosition())},b.skipSpace=function(){e:for(;this.pos<this.input.length;){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13: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&&ge.test(String.fromCharCode(e))))break e;++this.pos}}},b.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var r=this.type;this.type=e,this.value=t,this.updateContext(r)},b.readToken_dot=function(){var e,t=this.input.charCodeAt(this.pos+1);return 48<=t&&t<=57?this.readNumber(!0):(e=this.input.charCodeAt(this.pos+2),6<=this.options.ecmaVersion&&46===t&&46===e?(this.pos+=3,this.finishToken(v.ellipsis)):(++this.pos,this.finishToken(v.dot)))},b.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(v.assign,2):this.finishOp(v.slash,1)},b.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),r=1,i=42===e?v.star:v.modulo;return 7<=this.options.ecmaVersion&&42===e&&42===t&&(++r,i=v.starstar,t=this.input.charCodeAt(this.pos+2)),61===t?this.finishOp(v.assign,r+1):this.finishOp(i,r)},b.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t!==e)return 61===t?this.finishOp(v.assign,2):this.finishOp(124===e?v.bitwiseOR:v.bitwiseAND,1);if(12<=this.options.ecmaVersion&&61===this.input.charCodeAt(this.pos+2))return this.finishOp(v.assign,3);return this.finishOp(124===e?v.logicalOR:v.logicalAND,2)},b.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(v.assign,2):this.finishOp(v.bitwiseXOR,1)},b.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&&!o.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(v.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===t?this.finishOp(v.assign,2):this.finishOp(v.plusMin,1)},b.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(v.assign,r+1):this.finishOp(v.bitShift,r)):33!==t||60!==e||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?this.finishOp(v.relational,r=61===t?2:r):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},b.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(v.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&6<=this.options.ecmaVersion?(this.pos+=2,this.finishToken(v.arrow)):this.finishOp(61===e?v.eq:v.prefix,1)},b.readToken_question=function(){var e=this.options.ecmaVersion;if(11<=e){var t=this.input.charCodeAt(this.pos+1);if(46===t){var r=this.input.charCodeAt(this.pos+2);if(r<48||57<r)return this.finishOp(v.questionDot,2)}if(63===t){if(12<=e)if(61===this.input.charCodeAt(this.pos+2))return this.finishOp(v.assign,3);return this.finishOp(v.coalesce,2)}}return this.finishOp(v.question,1)},b.readToken_numberSign=function(){var e=this.options.ecmaVersion,t=35;if(13<=e&&(++this.pos,a(t=this.fullCharCodeAtPos(),!0)||92===t))return this.finishToken(v.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+h(t)+"'")},b.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(v.parenL);case 41:return++this.pos,this.finishToken(v.parenR);case 59:return++this.pos,this.finishToken(v.semi);case 44:return++this.pos,this.finishToken(v.comma);case 91:return++this.pos,this.finishToken(v.bracketL);case 93:return++this.pos,this.finishToken(v.bracketR);case 123:return++this.pos,this.finishToken(v.braceL);case 125:return++this.pos,this.finishToken(v.braceR);case 58:return++this.pos,this.finishToken(v.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(v.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 63:return this.readToken_question();case 126:return this.finishOp(v.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+h(e)+"'")},b.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,r)},b.readRegexp=function(){for(var e,t,r=this.pos;;){this.pos>=this.input.length&&this.raise(r,"Unterminated regular expression");var i=this.input.charAt(this.pos);if(o.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),s=(++this.pos,this.pos),a=this.readWord1(),s=(this.containsEsc&&this.unexpected(s),this.regexpState||(this.regexpState=new w(this))),s=(s.reset(r,n,a),this.validateRegExpFlags(s),this.validateRegExpPattern(s),null);try{s=new RegExp(n,a)}catch(e){}return this.finishToken(v.regexp,{pattern:n,flags:a,value:s})},b.readInt=function(e,t,r){for(var i=12<=this.options.ecmaVersion&&void 0===t,n=r&&48===this.input.charCodeAt(this.pos),r=this.pos,s=0,a=0,o=0,c=null==t?1/0:t;o<c;++o,++this.pos){var h=this.input.charCodeAt(this.pos),l=void 0;if(i&&95===h)n&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),95===a&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),0===o&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),a=h;else{if(e<=(l=97<=h?h-97+10:65<=h?h-65+10:48<=h&&h<=57?h-48:1/0))break;a=h,s=s*e+l}}return i&&95===a&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===r||null!=t&&this.pos-r!==t?null:s},b.readRadixNumber=function(e){var t=this.pos,r=(this.pos+=2,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=ht(this.input.slice(t,this.pos)),++this.pos):a(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(v.num,r)},b.readNumber=function(e){var t=this.pos,r=(e||null!==this.readInt(10,void 0,!0)||this.raise(t,"Invalid number"),2<=this.pos-t&&48===this.input.charCodeAt(t)),i=(r&&this.strict&&this.raise(t,"Invalid number"),this.input.charCodeAt(this.pos));if(!r&&!e&&11<=this.options.ecmaVersion&&110===i)return e=ht(this.input.slice(t,this.pos)),++this.pos,a(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(v.num,e);r&&/[89]/.test(this.input.slice(t,this.pos))&&(r=!1),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")),a(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");e=this.input.slice(t,this.pos);i=r?parseInt(e,8):parseFloat(e.replace(/_/g,""));return this.finishToken(v.num,i)},b.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},b.readString=function(e){for(var t="",r=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var i=this.input.charCodeAt(this.pos);if(i===e)break;92===i?(t=(t+=this.input.slice(r,this.pos))+this.readEscapedChar(!1),r=this.pos):8232===i||8233===i?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(me(i)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(r,this.pos++),this.finishToken(v.string,t)};var lt={};b.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e!==lt)throw e;this.readInvalidTemplateToken()}this.inTemplateElement=!1},b.invalidStringToken=function(e,t){if(this.inTemplateElement&&9<=this.options.ecmaVersion)throw lt;this.raise(e,t)},b.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var r=this.input.charCodeAt(this.pos);if(96===r||36===r&&123===this.input.charCodeAt(this.pos+1))return this.pos!==this.start||this.type!==v.template&&this.type!==v.invalidTemplate?(e+=this.input.slice(t,this.pos),this.finishToken(v.template,e)):36===r?(this.pos+=2,this.finishToken(v.dollarBraceL)):(++this.pos,this.finishToken(v.backQuote));if(92===r)e=(e+=this.input.slice(t,this.pos))+this.readEscapedChar(!0),t=this.pos;else if(me(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}},b.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if("{"!==this.input[this.pos+1])break;case"`":return this.finishToken(v.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":"\n"===this.input[this.pos+1]&&++this.pos;case"\n":case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1}this.raise(this.start,"Unterminated template")},b.readEscapedChar=function(e){var t,r,i=this.input.charCodeAt(++this.pos);switch(++this.pos,i){case 110:return"\n";case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return h(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),"";case 56:case 57:this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),e&&(t=this.pos-1,this.invalidStringToken(t,"Invalid escape sequence in template string"));default:return 48<=i&&i<=55?(t=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],255<(r=parseInt(t,8))&&(t=t.slice(0,-1),r=parseInt(t,8)),this.pos+=t.length-1,i=this.input.charCodeAt(this.pos),"0"===t&&56!==i&&57!==i||!this.strict&&!e||this.invalidStringToken(this.pos-1-t.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(r)):me(i)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(i)}},b.readHexChar=function(e){var t=this.pos,e=this.readInt(16,e);return null===e&&this.invalidStringToken(t,"Bad character escape sequence"),e},b.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(de(n,i))this.pos+=n<=65535?1:2;else{if(92!==n)break;this.containsEsc=!0,e+=this.input.slice(r,this.pos);var n=this.pos,s=(117!==this.input.charCodeAt(++this.pos)&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos,this.readCodePoint());(t?a:de)(s,i)||this.invalidStringToken(n,"Invalid Unicode escape"),e+=h(s),r=this.pos}t=!1}return e+this.input.slice(r,this.pos)},b.readWord=function(){var e=this.readWord1(),t=v.name;return this.keywords.test(e)&&(t=fe[e]),this.finishToken(t,e)};l.acorn={Parser:l,version:"8.14.0",defaultOptions:Ae,Position:_e,SourceLocation:Ee,getLineInfo:Ie,Node:Ue,TokenType:r,tokTypes:v,keywordTypes:fe,TokContext:u,tokContexts:d,isIdentifierChar:de,isIdentifierStart:a,Token:ct,isNewLine:me,lineBreak:o,lineBreakG:t,nonASCIIwhitespace:ge};var ut={RES:void 0},S={RES:void 0},k={LABEL:void 0},_={LABEL:void 0},pt=p("super"),dt=p("supercall"),ft=p("noctor"),mt=p("clsctor"),yt=p("newtarget"),E=p("private"),C=p("noinit"),I=p("deadzone"),gt=p("import"),A=p("exports"),vt=(bt.prototype.get=function(){return this.value},bt.prototype.set=function(e){if("const"===this.kind)throw new TypeError("Assignment to constant variable");return this.value=e},bt);function bt(e,t){this.kind=e,this.value=t}wt.prototype.get=function(){return this.object[this.property]},wt.prototype.set=function(e){return this.object[this.property]=e,!0},wt.prototype.del=function(){return delete this.object[this.property]};var xt=wt;function wt(e,t){this.object=e,this.property=t}St.prototype.global=function(){for(var e=this;e.parent;)e=e.parent;return e},St.prototype.find=function(e){var t;return this.context[e]||(e in this.withContext?new xt(this.withContext,e):this.parent?this.parent.find(e):e in(t=this.global().find("window").get())?new xt(t,e):null)},St.prototype.var=function(e,t){for(var r=this;r.parent&&!r.isolated;)r=r.parent;var i=r.context[e];if(i){if("var"!==i.kind)throw new SyntaxError("Identifier '"+e+"' has already been declared");t!==C&&i.set(t)}else r.context[e]=new vt("var",t===C?void 0:t);r.parent||(i=r.find("window").get(),t!==C&&f(i,e,{value:t,writable:!0,enumerable:!0}))},St.prototype.let=function(e,t){var r=this.context[e];if(r&&r.get()!==I)throw new SyntaxError("Identifier '"+e+"' has already been declared");this.context[e]=new vt("let",t)},St.prototype.const=function(e,t){var r=this.context[e];if(r&&r.get()!==I)throw new SyntaxError("Identifier '"+e+"' has already been declared");this.context[e]=new vt("const",t)},St.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 vt("var",t)},St.prototype.with=function(e){Object.keys(e)&&(this.withContext=e)};var P=St;function St(e,t){void 0===e&&(e=null),void 0===t&&(t=!1),this.context=J(null),this.withContext=J(null),this.parent=e,this.isolated=t}function kt(a,e){var o=(e=void 0===e?{}:e).res,c=e.err,h=e.ret,l=e.fullRet;return new Promise(function(t,r){if("ret"in e)return t(a.return(h));function i(e){var t;try{t=a.next(e)}catch(e){return r(e)}return s(t),null}function n(e){var t;try{t=a.throw(e)}catch(e){return r(e)}s(t)}function s(e){return e.done?t(l?e:e.value):e.value!==ut?t(e):void((e=e.value.RES)&&"function"===e.then?e:Promise.resolve(e)).then(i,n)}"err"in e?n(c):i(o)})}function _t(t,r,i){var n,s,a;return void 0===i&&(i={}),y(this,function(e){if(a=i.getVar,a=void 0!==a&&a,n=i.throwErr,n=void 0===n||n,"undefined"!==t.name){if(s=r.find(t.name)){if(a)return[2,s];if((a=s.get())===I)throw new ReferenceError(t.name+" is not defined");return[2,a]}if(n)throw new ReferenceError(t.name+" is not defined")}return[2,void 0]})}var Et=Object.freeze({__proto__:null,Identifier:_t});function Ct(t,e){return y(this,function(e){return[2,t.value]})}var It=Object.freeze({__proto__:null,Literal:Ct});function At(t,r,i){var n,s,a,o,c,h,l,u;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:return n=i.getObj,n=void 0!==n&&n,s=i.getVar,s=void 0!==s&&s,"Super"!==t.object.type?[3,2]:[5,g(Lt(t.object,r,{getProto:!0}))];case 1:return a=e.sent(),[3,4];case 2:return[5,g(L(t.object,r))];case 3:a=e.sent(),e.label=4;case 4:return n?[2,a]:(c=!1,t.computed?[5,g(L(t.property,r))]:[3,6]);case 5:return o=e.sent(),[3,7];case 6:"PrivateIdentifier"===t.property.type?(o=t.property.name,c=!0):o=t.property.name,e.label=7;case 7:return c&&(a=a[E]),s?(l=Z(a,o),"Super"===t.object.type&&l?(u=r.find("this").get(),h=p(o),f(u,h,{set:l}),[2,new xt(u,h)]):[2,new xt(a,o)]):(l=Y(a,o),"Super"===t.object.type&&l?(u=r.find("this").get(),t.optional&&null==u?[2,void 0]:[2,l.call(u)]):t.optional&&null==a?[2,void 0]:[2,a[o]])}})}function Pt(t,e){return y(this,function(e){return[2,t.value.raw]})}function Lt(e,t,r){var i,n;return void 0===r&&(r={}),y(this,function(e){return i=r.getProto,i=void 0!==i&&i,n=t.find(pt).get(),[2,i?n.prototype:n]})}function Tt(t,r,i){var n;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:return[5,g(L(t.argument,r))];case 1:if(n=e.sent(),i.spreadProps)return[2,n];if("function"==typeof Symbol&&"function"!=typeof n[Symbol.iterator])throw new TypeError("Spread syntax requires ...iterable[Symbol.iterator] to be a function");return[2,j(n)]}})}var Vt=Object.freeze({__proto__:null,ThisExpression:function(e,t){var r;return y(this,function(e){if((r=t.find(dt))&&!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 y(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,g(Tt(s,r))]):[3,6];case 2:return i=o.apply(a,[e.sent()]),[3,5];case 3:return h=(c=i).push,[5,g(L(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,l,u,p,d;return y(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=m,o=[i],[5,g(Tt(s,r,{spreadProps:!0}))]):[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,g(L(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 l="",[5,g(Ct(h))];case 7:c=l+e.sent(),e.label=8;case 8:return[5,g(L(s.value,r))];case 9:u=e.sent(),"init"===(p=s.kind)?i[c]=u:"get"===p?(d=q(i,c),f(i,c,{get:u,set:d&&d.set,enumerable:!0,configurable:!0})):(d=q(i,c),f(i,c,{get:d&&d.get,set:u,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 y(this,function(e){return t.id&&t.id.name?(i=new P(r),n=D(t,i),i.const(t.id.name,n),[2,n]):[2,D(t,r)]})},UnaryExpression:function(t,r){var i;return y(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,g(L(i,r))];case 2:return[2,+e.sent()];case 3:return[5,g(L(i,r))];case 4:return[2,-e.sent()];case 5:return[5,g(L(i,r))];case 6:return[2,!e.sent()];case 7:return[5,g(L(i,r))];case 8:return[2,~e.sent()];case 9:return[5,g(L(i,r))];case 10:return[2,void e.sent()];case 11:return"Identifier"!==i.type?[3,13]:[5,g(_t(i,r,{throwErr:!1}))];case 12:return[2,typeof e.sent()];case 13:return[5,g(L(i,r))];case 14:return[2,typeof e.sent()];case 15:return"MemberExpression"!==i.type?[3,17]:[5,g(At(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,g(L(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 y(this,function(e){switch(e.label){case 0:return"Identifier"!==(i=t.argument).type?[3,2]:[5,g(_t(i,r,{getVar:!0}))];case 1:return n=e.sent(),[3,5];case 2:return"MemberExpression"!==i.type?[3,4]:[5,g(At(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 y(this,function(e){switch(e.label){case 0:return"PrivateIdentifier"!==t.left.type?[3,2]:(i=t.left.name,[5,g(L(t.right,r))]);case 1:return n=(n=e.sent())[E]||{},[3,5];case 2:return[5,g(L(t.left,r))];case 3:return i=e.sent(),[5,g(L(t.right,r))];case 4:n=e.sent(),e.label=5;case 5:switch(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,o;return y(this,function(e){switch(e.label){case 0:return"Identifier"!==(i=t.left).type?[3,2]:[5,g(_t(i,r,{getVar:!0,throwErr:!1}))];case 1:return(n=e.sent())||(s=r.global().find("window").get(),n=new xt(s,i.name)),[3,7];case 2:return"MemberExpression"!==i.type?[3,4]:[5,g(At(i,r,{getVar:!0}))];case 3:return n=e.sent(),[3,7];case 4:return[5,g(L(t.right,r))];case 5:return s=e.sent(),[5,g(B(i,r,{feed:s}))];case 6:return[2,e.sent()];case 7:return[5,g(L(t.right,r))];case 8:switch(a=e.sent(),t.operator){case"=":return n.set(a),[2,n.get()];case"+=":return n.set(n.get()+a),[2,n.get()];case"-=":return n.set(n.get()-a),[2,n.get()];case"*=":return n.set(n.get()*a),[2,n.get()];case"/=":return n.set(n.get()/a),[2,n.get()];case"%=":return n.set(n.get()%a),[2,n.get()];case"**=":return n.set(Math.pow(n.get(),a)),[2,n.get()];case"<<=":return n.set(n.get()<<a),[2,n.get()];case">>=":return n.set(n.get()>>a),[2,n.get()];case">>>=":return n.set(n.get()>>>a),[2,n.get()];case"|=":return n.set(n.get()|a),[2,n.get()];case"^=":return n.set(n.get()^a),[2,n.get()];case"&=":return n.set(n.get()&a),[2,n.get()];case"??=":return n.set(null!=(o=n.get())?o:a),[2,n.get()];case"&&=":return n.set(n.get()&&a),[2,n.get()];case"||=":return n.set(n.get()||a),[2,n.get()];default:throw new SyntaxError("Unexpected token "+t.operator)}}})},LogicalExpression:function(t,r){var i,n,s,a;return y(this,function(e){switch(e.label){case 0:switch(t.operator){case"||":return[3,1];case"&&":return[3,5];case"??":return[3,9]}return[3,14];case 1:return[5,g(L(t.left,r))];case 2:return(i=e.sent())?[3,4]:[5,g(L(t.right,r))];case 3:i=e.sent(),e.label=4;case 4:return[2,i];case 5:return[5,g(L(t.left,r))];case 6:return(n=e.sent())?[5,g(L(t.right,r))]:[3,8];case 7:n=e.sent(),e.label=8;case 8:return[2,n];case 9:return[5,g(L(t.left,r))];case 10:return null==(a=e.sent())?[3,11]:(s=a,[3,13]);case 11:return[5,g(L(t.right,r))];case 12:s=e.sent(),e.label=13;case 13:return[2,s];case 14:throw new SyntaxError("Unexpected token "+t.operator)}})},MemberExpression:At,ConditionalExpression:function(t,r){var i;return y(this,function(e){switch(e.label){case 0:return[5,g(L(t.test,r))];case 1:return e.sent()?[5,g(L(t.consequent,r))]:[3,3];case 2:return i=e.sent(),[3,5];case 3:return[5,g(L(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,l,u,p,d,f,m;return y(this,function(e){switch(e.label){case 0:return"MemberExpression"!==t.callee.type?[3,5]:[5,g(At(t.callee,r,{getObj:!0}))];case 1:return(i=e.sent(),t.callee.optional&&null==i)?[2,void 0]:(n=void 0,s=!1,t.callee.computed?[5,g(L(t.callee.property,r))]:[3,3]);case 2:return n=e.sent(),[3,4];case 3:"PrivateIdentifier"===t.callee.property.type?(n=t.callee.property.name,s=!0):n=t.callee.property.name,e.label=4;case 4:if(m=i,s&&(m=m[E]),a="Super"===t.callee.object.type?(a=r.find("this").get(),m[n].bind(a)):m[n],t.optional&&null==a)return[2,void 0];if("function"!=typeof a)throw new TypeError(n+" is not a function");if(a[mt])throw new TypeError("Class constructor "+n+" cannot be invoked without 'new'");return[3,7];case 5:return i=r.find("this").get(),[5,g(L(t.callee,r))];case 6:if(a=e.sent(),t.optional&&null==a)return[2,void 0];if("function"!=typeof a||"Super"!==t.callee.type&&a[mt]){if("Identifier"===t.callee.type)o=t.callee.name;else try{o=JSON.stringify(a)}catch(e){o=""+a}throw"function"!=typeof a?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"!==(l=t.arguments[h]).type?[3,10]:(p=(u=c).concat,[5,g(Tt(l,r))]):[3,13];case 9:return c=p.apply(u,[e.sent()]),[3,12];case 10:return f=(d=c).push,[5,g(L(l,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(dt).get())throw new ReferenceError("Super constructor may only be called once");r.find(dt).set(!0)}try{return[2,a.apply(i,c)]}catch(e){if(e instanceof TypeError&&"Illegal invocation"===e.message&&-1!==a.toString().indexOf("[native code]")&&(m=r.global().find("window").get())&&m[ne])return[2,a.apply(m[ne],c)];throw e}return[2]}})},NewExpression:function(t,r){var i,n,s,a,o,c,h,l,u;return y(this,function(e){switch(e.label){case 0:return[5,g(L(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[ft])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,g(Tt(o,r))]):[3,7];case 3:return s=h.apply(c,[e.sent()]),[3,6];case 4:return u=(l=s).push,[5,g(L(o,r))];case 5:u.apply(l,[e.sent()]),e.label=6;case 6:return a++,[3,2];case 7:return[2,new(i.bind.apply(i,j([void 0],s)))]}})},MetaProperty:function(t,r){return y(this,function(e){return"new"===t.meta.name&&"target"===t.property.name?[2,r.find(yt).get()]:"import"===t.meta.name&&"meta"===t.property.name?[2,{url:""}]:[2]})},SequenceExpression:function(t,r){var i,n;return y(this,function(e){switch(e.label){case 0:n=0,e.label=1;case 1:return n<t.expressions.length?[5,g(L(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 y(this,function(e){return[2,D(t,r)]})},TemplateLiteral:function(t,r){var i,n,s,a,o,c;return y(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())?(o=s,[5,g(Pt(a))]):[3,5];case 2:return(s=o+e.sent(),a=n.shift())?(c=s,[5,g(L(a,r))]):[3,4];case 3:s=c+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;return y(this,function(e){switch(e.label){case 0:return[5,g(L(t.tag,r))];case 1:if(i=e.sent(),s=t.quasi.quasis,n=s.map(function(e){return e.value.cooked}),s=s.map(function(e){return e.value.raw}),f(n,"raw",{value:U(s)}),s=t.quasi.expressions,a=[],!s)return[3,5];o=0,e.label=2;case 2:return o<s.length?(h=(c=a).push,[5,g(L(s[o],r))]):[3,5];case 3:h.apply(c,[e.sent()]),e.label=4;case 4:return o++,[3,2];case 5:return[2,i.apply(void 0,j([U(n)],a))]}})},TemplateElement:Pt,ClassExpression:function(t,r){var i,n;return y(this,function(e){switch(e.label){case 0:return t.id&&t.id.name?(i=new P(r),[5,g(yi(t,i))]):[3,2];case 1:return n=e.sent(),i.const(t.id.name,n),[2,n];case 2:return[5,g(yi(t,r))];case 3:return[2,e.sent()]}})},Super:Lt,SpreadElement:Tt,ChainExpression:function(t,r){return y(this,function(e){switch(e.label){case 0:return[5,g(L(t.expression,r))];case 1:return[2,e.sent()]}})},ImportExpression:function(t,r){var i,n,s,a;return y(this,function(e){switch(e.label){case 0:return i=r.global(),[5,g(L(t.source,r))];case 1:return(n=e.sent(),(a=i.find(gt+n))&&(a=a.get())&&("function"==typeof a?s=a():"object"==typeof a&&(s=a)),s&&"object"==typeof s)?[2,Promise.resolve(s)]:[2,Promise.reject(new TypeError('Failed to resolve module specifier "'+n+'"'))]}})},YieldExpression:function(t,r){var i,n;return y(this,function(e){switch(e.label){case 0:return[5,g(L(t.argument,r))];case 1:return(i=e.sent(),t.delegate)?[5,g(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 y(this,function(e){switch(e.label){case 0:return i=ut,[5,g(L(t.argument,r))];case 1:return i.RES=e.sent(),[4,ut];case 2:return[2,e.sent()]}})}});function Nt(t,r,i){var n,s,a,o,c,h,l,u,p,d,f;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:n=i.kind,n=void 0===n?"var":n,s=i.hoist,s=void 0!==s&&s,a=i.onlyBlock,a=void 0!==a&&a,o=i.feed,o=void 0===o?{}:o,c=[],h=0,e.label=1;case 1:return h<t.properties.length?(l=t.properties[h],s?a||"var"===n?"Property"!==l.type?[3,5]:"Identifier"!==(p=l.value).type?[3,2]:(r[n](p.name,a?I:"var"===n?C:void 0),[3,4]):[3,7]:[3,8]):[3,18];case 2:return[5,g(B(p,r,{kind:n,hoist:s,onlyBlock:a}))];case 3:e.sent(),e.label=4;case 4:return[3,7];case 5:return[5,g(Dt(l,r,{kind:n,hoist:s,onlyBlock:a}))];case 6:e.sent(),e.label=7;case 7:return[3,17];case 8:return"Property"!==l.type?[3,15]:(u=void 0,l.computed?[5,g(L(l.key,r))]:[3,10]);case 9:return u=e.sent(),[3,11];case 10:u=l.key.name,e.label=11;case 11:return(c.push(u),"Identifier"!==(p=l.value).type)?[3,12]:(r[n](p.name,o[u]),[3,14]);case 12:return[5,g(B(p,r,{kind:n,feed:o[u]}))];case 13:e.sent(),e.label=14;case 14:return[3,17];case 15:for(d=m({},o),f=0;f<c.length;f++)delete d[c[f]];return[5,g(Dt(l,r,{kind:n,feed:d}))];case 16:e.sent(),e.label=17;case 17:return h++,[3,1];case 18:return[2]}})}function Bt(t,r,i){var n,s,a,o,c,h,l,u;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:n=i.kind,s=i.hoist,s=void 0!==s&&s,a=i.onlyBlock,a=void 0!==a&&a,o=i.feed,o=void 0===o?[]:o,c=[],h=0,e.label=1;case 1:if(!(h<t.elements.length))return[3,14];if(!(l=t.elements[h]))return[3,13];if(!s)return[3,5];if(a||"var"===n){if("Identifier"!==l.type)return[3,2];r[n](l.name,a?I:"var"===n?C:void 0)}return[3,4];case 2:return[5,g(B(l,r,{kind:n,hoist:s,onlyBlock:a}))];case 3:e.sent(),e.label=4;case 4:return[3,13];case 5:return"Identifier"!==l.type?[3,9]:n?(r[n](l.name,o[h]),[3,8]):[3,6];case 6:return[5,g(_t(l,r,{getVar:!0}))];case 7:(u=e.sent()).set(o[h]),c.push(u.get()),e.label=8;case 8:return[3,13];case 9:return"RestElement"!==l.type?[3,11]:[5,g(Dt(l,r,{kind:n,feed:o.slice(h)}))];case 10:return e.sent(),[3,13];case 11:return[5,g(B(l,r,{kind:n,feed:o[h]}))];case 12:e.sent(),e.label=13;case 13:return h++,[3,1];case 14:return c.length?[2,c]:[2]}})}function Dt(t,r,i){var n,s,a,o,c;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:if(n=i.kind,s=i.hoist,s=void 0!==s&&s,a=i.onlyBlock,a=void 0!==a&&a,o=i.feed,o=void 0===o?[]:o,c=t.argument,!s)return[3,4];if(a||"var"===n){if("Identifier"!==c.type)return[3,1];r[n](c.name,a?I:"var"===n?C:void 0)}return[3,3];case 1:return[5,g(B(c,r,{kind:n,hoist:s,onlyBlock:a}))];case 2:e.sent(),e.label=3;case 3:return[3,10];case 4:return"Identifier"!==c.type?[3,8]:n?(r[n](c.name,o),[3,7]):[3,5];case 5:return[5,g(_t(c,r,{getVar:!0}))];case 6:e.sent().set(o),e.label=7;case 7:return[3,10];case 8:return[5,g(B(c,r,{kind:n,feed:o}))];case 9:e.sent(),e.label=10;case 10:return[2]}})}function Rt(t,r,i){var n,s,a,o,c,h,l;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:return n=i.kind,n=void 0===n?"var":n,s=i.hoist,s=void 0!==s&&s,a=i.onlyBlock,a=void 0!==a&&a,void 0!==(o=i.feed)?[3,2]:[5,g(L(t.right,r))];case 1:return h=e.sent(),[3,3];case 2:h=o,e.label=3;case 3:if(c=h,l=t.left,!s)return[3,7];if(a||"var"===n){if("Identifier"!==l.type)return[3,4];r[n](l.name,a?I:"var"===n?C:void 0)}return[3,6];case 4:return[5,g(B(l,r,{kind:n,hoist:s,onlyBlock:a}))];case 5:e.sent(),e.label=6;case 6:return[3,10];case 7:return"Identifier"!==l.type?[3,8]:(r[n](l.name,c),[3,10]);case 8:return[5,g(B(l,r,{kind:n,feed:c}))];case 9:e.sent(),e.label=10;case 10:return[2]}})}var Ot=Object.freeze({__proto__:null,ObjectPattern:Nt,ArrayPattern:Bt,RestElement:Dt,AssignmentPattern:Rt});var Mt,Ft=Object.freeze({__proto__:null,Program:function(t,r){var i;return y(this,function(e){switch(e.label){case 0:i=0,e.label=1;case 1:return i<t.body.length?[5,g(L(t.body[i],r))]:[3,4];case 2:e.sent(),e.label=3;case 3:return i++,[3,1];case 4:return[2]}})}});function L(t,r){var i;return y(this,function(e){switch(e.label){case 0:return t?(Mt=Mt||m({},O,Vt,Et,R,It,Ot,Ft),(i=Mt[t.type])?[5,g(i(t,r))]:[3,2]):[2];case 1:return[2,e.sent()];case 2:throw new Error(t.type+" isn't implemented")}})}function jt(t,r){return y(this,function(e){switch(e.label){case 0:return[5,g(L(t.expression,r))];case 1:return e.sent(),[2]}})}function Ut(t,r,i){var n,s,a;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:return n=i.invasived,n=void 0!==n&&n,a=i.hoisted,a=void 0!==a&&a,n=n?r:new P(r),a?[3,2]:[5,g(mi(t,n,{onlyBlock:!0}))];case 1:e.sent(),e.label=2;case 2:s=0,e.label=3;case 3:return s<t.body.length?[5,g(L(t.body[s],n))]:[3,6];case 4:if((a=e.sent())===_)return a.LABEL&&a.LABEL===i.label?[3,6]:[2,a];if(a===k||a===S)return[2,a];e.label=5;case 5:return s++,[3,3];case 6:return[2]}})}function qt(){return y(this,function(e){return[2]})}function Wt(){return y(this,function(e){debugger;return[2]})}function Gt(t,r){var i,n;return y(this,function(e){switch(e.label){case 0:return(i=S,t.argument)?[5,g(L(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,S]}})}function Ht(t){var r;return y(this,function(e){return _.LABEL=null==(r=t.label)?void 0:r.name,[2,_]})}function zt(t){var r;return y(this,function(e){return k.LABEL=null==(r=t.label)?void 0:r.name,[2,k]})}function Kt(t,r){var i;return y(this,function(e){switch(e.label){case 0:return i=t.label.name,"WhileStatement"!==t.body.type?[3,2]:[5,g(tr(t.body,r,{label:i}))];case 1:return[2,e.sent()];case 2:return"DoWhileStatement"!==t.body.type?[3,4]:[5,g(rr(t.body,r,{label:i}))];case 3:return[2,e.sent()];case 4:return"ForStatement"!==t.body.type?[3,6]:[5,g(ir(t.body,r,{label:i}))];case 5:return[2,e.sent()];case 6:return"ForInStatement"!==t.body.type?[3,8]:[5,g(nr(t.body,r,{label:i}))];case 7:return[2,e.sent()];case 8:return"ForOfStatement"!==t.body.type?[3,10]:[5,g(sr(t.body,r,{label:i}))];case 9:return[2,e.sent()];case 10:return"BlockStatement"!==t.body.type?[3,12]:[5,g(Ut(t.body,r,{label:i}))];case 11:return[2,e.sent()];case 12:return"WithStatement"!==t.body.type?[3,14]:[5,g(Qt(t.body,r,{label:i}))];case 13:return[2,e.sent()];case 14:return"IfStatement"!==t.body.type?[3,16]:[5,g(Xt(t.body,r,{label:i}))];case 15:return[2,e.sent()];case 16:return"SwitchStatement"!==t.body.type?[3,18]:[5,g(Yt(t.body,r,{label:i}))];case 17:return[2,e.sent()];case 18:return"TryStatement"!==t.body.type?[3,20]:[5,g($t(t.body,r,{label:i}))];case 19:return[2,e.sent()];case 20:throw new SyntaxError(t.body.type+" cannot be labeled")}})}function Qt(t,r,i){var n,s,a,o;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:return n=new P(r),a=(s=n).with,[5,g(L(t.object,r))];case 1:return a.apply(s,[e.sent()]),[5,g(L(t.body,n))];case 2:return(o=e.sent())===_?o.LABEL&&o.LABEL===i.label?[2]:[2,o]:o===k||o===S?[2,o]:[2]}})}function Xt(t,r,i){var n;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:return[5,g(L(t.test,r))];case 1:return e.sent()?[5,g(L(t.consequent,r))]:[3,3];case 2:return n=e.sent(),[3,5];case 3:return[5,g(L(t.alternate,r))];case 4:n=e.sent(),e.label=5;case 5:return n===_?n.LABEL&&n.LABEL===i.label?[2]:[2,n]:n===k||n===S?[2,n]:[2]}})}function Yt(t,r,i){var n,s,a,o,c,h,l;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:return[5,g(L(t.discriminant,r))];case 1:n=e.sent(),s=!1,a=0,e.label=2;case 2:return a<t.cases.length?(o=t.cases[a],(c=!s)?(h=!o.test)?[3,4]:[5,g(L(o.test,r))]:[3,5]):[3,8];case 3:h=e.sent()===n,e.label=4;case 4:c=h,e.label=5;case 5:return(s=!!c||s)?[5,g(Zt(o,r))]:[3,7];case 6:if((l=e.sent())===_)return l.LABEL===i.label?[3,8]:[2,l];if(l===k||l===S)return[2,l];e.label=7;case 7:return a++,[3,2];case 8:return[2]}})}function Zt(t,r){var i,n;return y(this,function(e){switch(e.label){case 0:i=0,e.label=1;case 1:return i<t.consequent.length?[5,g(L(t.consequent[i],r))]:[3,4];case 2:if((n=e.sent())===_||n===k||n===S)return[2,n];e.label=3;case 3:return i++,[3,1];case 4:return[2]}})}function Jt(t,r){return y(this,function(e){switch(e.label){case 0:return[5,g(L(t.argument,r))];case 1:throw e.sent()}})}function $t(t,r,i){var n,s,a,o,c;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:return e.trys.push([0,2,9,12]),[5,g(Ut(t.block,r))];case 1:return n=e.sent(),[3,12];case 2:if(s=e.sent(),!t.handler)return[3,7];if(a=new P(r),o=t.handler.param){if("Identifier"!==o.type)return[3,3];c=o.name,a.var(c,s)}return[3,5];case 3:return[5,g(B(o,r,{feed:s}))];case 4:e.sent(),e.label=5;case 5:return[5,g(er(t.handler,a))];case 6:return n=e.sent(),[3,8];case 7:throw s;case 8:return[3,12];case 9:return t.finalizer?[5,g(Ut(t.finalizer,r))]:[3,11];case 10:n=e.sent(),e.label=11;case 11:return[7];case 12:return n===_?n.LABEL&&n.LABEL===i.label?[2]:[2,n]:n===k||n===S?[2,n]:[2]}})}function er(t,r){return y(this,function(e){switch(e.label){case 0:return[5,g(Ut(t.body,r,{invasived:!0}))];case 1:return[2,e.sent()]}})}function tr(t,r,i){var n;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:return[5,g(L(t.test,r))];case 1:return e.sent()?[5,g(L(t.body,r))]:[3,3];case 2:return(n=e.sent())===_?n.LABEL===i.label?[3,3]:[2,n]:n===k?n.LABEL===i.label?[3,0]:[2,n]:n===S?[2,n]:[3,0];case 3:return[2]}})}function rr(t,r,i){var n;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:return[5,g(L(t.body,r))];case 1:if((n=e.sent())===_)return n.LABEL===i.label?[3,4]:[2,n];if(n===k)return n.LABEL===i.label?[3,2]:[2,n];if(n===S)return[2,n];e.label=2;case 2:return[5,g(L(t.test,r))];case 3:if(e.sent())return[3,0];e.label=4;case 4:return[2]}})}function ir(t,r,i){var n,s,a,o;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:return n=new P(r),[5,g(L(t.init,n))];case 1:e.sent(),e.label=2;case 2:return t.test?[5,g(L(t.test,n))]:[3,4];case 3:return s=e.sent(),[3,5];case 4:s=!0,e.label=5;case 5:return s?(a=new P(n),o=void 0,"BlockStatement"!==t.body.type?[3,7]:[5,g(Ut(t.body,a,{invasived:!0}))]):[3,12];case 6:return o=e.sent(),[3,9];case 7:return[5,g(L(t.body,a))];case 8:o=e.sent(),e.label=9;case 9:if(o===_)return o.LABEL===i.label?[3,12]:[2,o];if(o===k)return o.LABEL===i.label?[3,10]:[2,o];if(o===S)return[2,o];e.label=10;case 10:return[5,g(L(t.update,n))];case 11:return e.sent(),[3,2];case 12:return[2]}})}function nr(t,r,i){var n,s,a,o;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:return n=[],[5,g(L(t.right,r))];case 1:for(s in e.sent())n.push(s);a=0,e.label=2;case 2:return a<n.length?(o=n[a],[5,g(gi(t,r,{value:o}))]):[3,5];case 3:if((o=e.sent())===_)return o.LABEL===i.label?[3,5]:[2,o];if(o===k)return o.LABEL===i.label?[3,4]:[2,o];if(o===S)return[2,o];e.label=4;case 4:return a++,[3,2];case 5:return[2]}})}function sr(n,s,a){var o,c,h,l,u,p,d,f,m;return void 0===a&&(a={}),y(this,function(e){switch(e.label){case 0:return[5,g(L(n.right,s))];case 1:return(o=e.sent(),n.await)?(t=o,c=(r="function"==typeof Symbol?(r=t[Symbol.asyncIterator])||t[Symbol.iterator]:r)?r.call(t):"function"==typeof t.next?t:(i=0,{next:function(){return{value:(t=t&&i>=t.length?void 0:t)&&t[i++],done:!t}}}),h=void 0,ut.RES=c.next(),[4,ut]):[3,8];case 2:h=e.sent(),e.label=3;case 3:return h.done?[3,7]:[5,g(gi(n,s,{value:h.value}))];case 4:if((p=e.sent())===_)return p.LABEL===a.label?[3,7]:[2,p];if(p===k)return p.LABEL===a.label?[3,5]:[2,p];if(p===S)return[2,p];e.label=5;case 5:return ut.RES=c.next(),[4,ut];case 6:return h=e.sent(),[3,3];case 7:return[3,15];case 8:e.trys.push([8,13,14,15]),l=g(o),u=l.next(),e.label=9;case 9:return u.done?[3,12]:(d=u.value,[5,g(gi(n,s,{value:d}))]);case 10:if((p=e.sent())===_)return p.LABEL===a.label?[3,12]:[2,p];if(p===k)return p.LABEL===a.label?[3,11]:[2,p];if(p===S)return[2,p];e.label=11;case 11:return u=l.next(),[3,9];case 12:return[3,15];case 13:return d=e.sent(),f={error:d},[3,15];case 14:try{u&&!u.done&&(m=l.return)&&m.call(l)}finally{if(f)throw f.error}return[7];case 15:return[2]}var t,r,i})}function ar(t,r){return y(this,function(e){return r.func(t.id.name,D(t,r)),[2]})}function or(t,r,i){var n;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:n=0,e.label=1;case 1:return n<t.declarations.length?[5,g(cr(t.declarations[n],r,m({kind:t.kind},i)))]:[3,4];case 2:e.sent(),e.label=3;case 3:return n++,[3,1];case 4:return[2]}})}function cr(t,r,i){var n,s,a,o,c,h,l,u;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:if(n=i.kind,n=void 0===n?"var":n,s=i.hoist,s=void 0!==s&&s,a=i.onlyBlock,a=void 0!==a&&a,o=i.feed,!s)return[3,4];if(a||"var"===n){if("Identifier"!==t.id.type)return[3,1];r[n](t.id.name,a?I:"var"===n?C:void 0)}return[3,3];case 1:return[5,g(B(t.id,r,{kind:n,hoist:s,onlyBlock:a}))];case 2:e.sent(),e.label=3;case 3:return[3,10];case 4:return(c="feed"in i)?(l=o,[3,7]):[3,5];case 5:return[5,g(L(t.init,r))];case 6:l=e.sent(),e.label=7;case 7:return(h=l,"Identifier"!==t.id.type)?[3,8]:(u=t.id.name,"var"!==n||t.init||c?r[n](u,h):r.var(u,C),t.init&&-1!==["ClassExpression","FunctionExpression","ArrowFunctionExpression"].indexOf(t.init.type)&&!h.name&&f(h,"name",{value:u,configurable:!0}),[3,10]);case 8:return[5,g(B(t.id,r,{kind:n,feed:h}))];case 9:e.sent(),e.label=10;case 10:return[2]}})}function hr(t,r){var i,n,s;return y(this,function(e){switch(e.label){case 0:return n=(i=r).func,s=[t.id.name],[5,g(yi(t,r))];case 1:return n.apply(i,s.concat([e.sent()])),[2]}})}function lr(t,r,i){var n,s,a,o;return void 0===i&&(i={}),y(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?"MethodDefinition"!==(o=t.body[a]).type?[3,3]:[5,g(ur(o,r,{klass:n,superClass:s}))]:[3,8];case 2:return e.sent(),[3,7];case 3:return"PropertyDefinition"===o.type&&o.static?[5,g(pr(o,r,{klass:n,superClass:s}))]:[3,5];case 4:return e.sent(),[3,7];case 5:return"StaticBlock"!==o.type?[3,7]:[5,g(dr(o,r,{klass:n,superClass:s}))];case 6:e.sent(),e.label=7;case 7:return a++,[3,1];case 8:return[2]}})}function ur(t,r,i){var n,s,a,o,c,h,l;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:return(n=i.klass,s=i.superClass,o=!1,t.computed)?[5,g(L(t.key,r))]:[3,2];case 1:return a=e.sent(),[3,3];case 2:if("Identifier"===t.key.type)a=t.key.name;else{if("PrivateIdentifier"!==t.key.type)throw new SyntaxError("Unexpected token");a=t.key.name,o=!0}e.label=3;case 3:switch(c=t.static?n:n.prototype,o&&(c[E]||f(c,E,{value:{}}),c=c[E]),h=D(t.value,r,{superClass:s}),t.kind){case"constructor":break;case"method":f(c,a,{value:h,writable:!0,configurable:!0});break;case"get":l=q(c,a),f(c,a,{get:h,set:l&&l.set,configurable:!0});break;case"set":l=q(c,a),f(c,a,{get:l&&l.get,set:h,configurable:!0});break;default:throw new SyntaxError("Unexpected token")}return[2]}})}function pr(t,r,i){var n,s,a,o,c,h,l,u;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:return(n=i.klass,s=i.superClass,o=!1,t.computed)?[5,g(L(t.key,r))]:[3,2];case 1:return a=e.sent(),[3,3];case 2:if("Identifier"===t.key.type)a=t.key.name;else{if("PrivateIdentifier"!==t.key.type)throw new SyntaxError("Unexpected token");a=t.key.name,o=!0}e.label=3;case 3:return((c=new P(r,!0)).const("this",n),h=n,o&&(h[E]||f(h,E,{value:{}}),h=h[E]),t.value)?[3,4]:(h[a]=void 0,[3,7]);case 4:return"FunctionExpression"!==t.value.type&&"ArrowFunctionExpression"!==t.value.type?[3,5]:(h[a]=D(t.value,c,{superClass:s}),[3,7]);case 5:return l=h,u=a,[5,g(L(t.value,c))];case 6:l[u]=e.sent(),e.label=7;case 7:return[2]}})}function dr(t,r,i){var n,s;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:return n=i.klass,(s=new P(r,!0)).const("this",n),[5,g(Ut(t,s,{invasived:!0}))];case 1:return[2,e.sent()]}})}function fr(t,r){var i,n,s,a,o;return y(this,function(e){if(n=r.global(),(n=n.find(gt+t.source.value))&&(n=n.get())&&("function"==typeof n?i=n():"object"==typeof n&&(i=n)),!i||"object"!=typeof i)throw new TypeError('Failed to resolve module specifier "'+t.source.value+'"');for(s=0;s<t.specifiers.length;s++){if(a=t.specifiers[s],o=void 0,"ImportSpecifier"===a.type?o="Identifier"===a.imported.type?a.imported.name:a.imported.value:"ImportDefaultSpecifier"===a.type?o="default":"ImportNamespaceSpecifier"===a.type&&(o="*"),"*"!==o&&!G(i,o))throw new SyntaxError('The requested module "'+t.source.value+'" does not provide an export named "'+o+'"');r.var(a.local.name,"*"===o?m({},i):i[o])}return[2]})}function mr(t,r){var i,n,s;return y(this,function(e){switch(e.label){case 0:return(i=r.global(),"FunctionDeclaration"!==t.declaration.type)?[3,1]:(n=D(t.declaration,r),r.func(t.declaration.id.name,n),[3,5]);case 1:return"ClassDeclaration"!==t.declaration.type?[3,3]:[5,g(yi(t.declaration,r))];case 2:return n=e.sent(),r.func(t.declaration.id.name,n),[3,5];case 3:return[5,g(L(t.declaration,r))];case 4:n=e.sent(),e.label=5;case 5:return(s=i.find(A))&&(s=s.get())&&"object"==typeof s&&(s.default=n),[2]}})}function yr(t,r){var i,n,s,a,o,c,h,l,u,p,d;return y(this,function(e){switch(e.label){case 0:return(i=r.global(),t.declaration)?"FunctionDeclaration"!==t.declaration.type?[3,1]:(n=D(t.declaration,r),r.func(t.declaration.id.name,n),(c=i.find(A))&&(s=c.get())&&"object"==typeof s&&(s[t.declaration.id.name]=n),[3,5]):[3,6];case 1:return"ClassDeclaration"!==t.declaration.type?[3,3]:[5,g(yi(t.declaration,r))];case 2:return n=e.sent(),r.func(t.declaration.id.name,n),(c=i.find(A))&&(s=c.get())&&"object"==typeof s&&(s[t.declaration.id.name]=n),[3,5];case 3:return"VariableDeclaration"!==t.declaration.type?[3,5]:[5,g(or(t.declaration,r))];case 4:if(e.sent(),(c=i.find(A))&&(a=c.get())&&"object"==typeof a)for(l=0;l<t.declaration.declarations.length;l++)o=t.declaration.declarations[l].id.name,(d=r.find(o))&&(a[o]=d.get());e.label=5;case 5:return[3,7];case 6:if(t.specifiers&&(c=i.find(A))&&(h=c.get())&&"object"==typeof h)for(l=0;l<t.specifiers.length;l++)u=t.specifiers[l],p="Identifier"===u.local.type?u.local.name:u.local.value,(d=r.find(p))&&(h["Identifier"===u.exported.type?u.exported.name:u.exported.value]=d.get());e.label=7;case 7:return[2]}})}function gr(t,r){var i,n,s;return y(this,function(e){if(s=r.global(),(n=s.find(gt+t.source.value))&&(n=n.get())&&("function"==typeof n?i=n():"object"==typeof n&&(i=n)),i&&"object"==typeof i)return(n=s.find(A))&&(s=n.get())&&"object"==typeof s&&m(s,i),[2];throw new TypeError('Failed to resolve module specifier "'+t.source.value+'"')})}function vr(e,t,r){var i=(r=void 0===r?{}:r).getVar,i=void 0!==i&&i,r=r.throwErr,r=void 0===r||r;if("undefined"!==e.name){t=t.find(e.name);if(t){if(i)return t;i=t.get();if(i===I)throw new ReferenceError(e.name+" is not defined");return i}if(r)throw new ReferenceError(e.name+" is not defined")}}var br=Object.freeze({__proto__:null,Identifier:vr});function xr(e,t){return e.value}var wr=Object.freeze({__proto__:null,Literal:xr});function Sr(e,t,r){var i,n=(r=void 0===r?{}:r).getObj,n=void 0!==n&&n,r=r.getVar,r=void 0!==r&&r,s="Super"===e.object.type?_r(e.object,t,{getProto:!0}):T(e.object,t);if(n)return s;n=!1;if(e.computed?i=T(e.property,t):"PrivateIdentifier"===e.property.type?(i=e.property.name,n=!0):i=e.property.name,n&&(s=s[E]),r)return n=Z(s,i),"Super"===e.object.type&&n?(a=t.find("this").get(),r=p(i),f(a,r,{set:n}),new xt(a,r)):new xt(s,i);n=Y(s,i);if("Super"===e.object.type&&n){var a=t.find("this").get();if(!e.optional||null!=a)return n.call(a)}else if(!e.optional||null!=s)return s[i]}function kr(e,t){return e.value.raw}function _r(e,t,r){r=(r=void 0===r?{}:r).getProto,r=void 0!==r&&r,t=t.find(pt).get();return r?t.prototype:t}function Er(e,t,r){void 0===r&&(r={});e=T(e.argument,t);if(r.spreadProps)return e;if("function"==typeof Symbol&&"function"!=typeof e[Symbol.iterator])throw new TypeError("Spread syntax requires ...iterable[Symbol.iterator] to be a function");return j(e)}var Cr=Object.freeze({__proto__:null,ThisExpression:function(e,t){var r=t.find(dt);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(Er(n,t)):r.push(T(n,t))}return r},ObjectExpression:function(e,t){for(var r={},i=0;i<e.properties.length;i++){var n,s,a,o=e.properties[i];"SpreadElement"===o.type?m(r,Er(o,t,{spreadProps:!0})):(n=void 0,s=o.key,n=o.computed?T(s,t):"Identifier"===s.type?s.name:""+xr(s),s=T(o.value,t),"init"===(o=o.kind)?r[n]=s:"get"===o?(a=q(r,n),f(r,n,{get:s,set:a&&a.set,enumerable:!0,configurable:!0})):(a=q(r,n),f(r,n,{get:a&&a.get,set:s,enumerable:!0,configurable:!0})))}return r},FunctionExpression:function(e,t){var r,i;return e.id&&e.id.name?(i=N(e,r=new P(t)),r.const(e.id.name,i),i):N(e,t)},UnaryExpression:function(e,t){var r=e.argument;switch(e.operator){case"+":return+T(r,t);case"-":return-T(r,t);case"!":return!T(r,t);case"~":return~T(r,t);case"void":return void T(r,t);case"typeof":return"Identifier"===r.type?typeof vr(r,t,{throwErr:!1}):typeof T(r,t);case"delete":if("MemberExpression"===r.type)return Sr(r,t,{getVar:!0}).del();if("Identifier"===r.type)throw new SyntaxError("Delete of an unqualified identifier in strict mode");return T(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=vr(i,t,{getVar:!0});else{if("MemberExpression"!==i.type)throw new SyntaxError("Unexpected token");r=Sr(i,t,{getVar:!0})}if(i=r.get(),"++"===e.operator)return r.set(i+1),e.prefix?r.get():i;if("--"===e.operator)return r.set(i-1),e.prefix?r.get():i;throw new SyntaxError("Unexpected token "+e.operator)},BinaryExpression:function(e,t){var r,i="PrivateIdentifier"===e.left.type?(r=e.left.name,(i=T(e.right,t))[E]||{}):(r=T(e.left,t),T(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,s=e.left;if("Identifier"===s.type)(n=vr(s,t,{getVar:!0,throwErr:!1}))||(i=t.global().find("window").get(),n=new xt(i,s.name));else{if("MemberExpression"!==s.type)return V(s,t,{feed:T(e.right,t)});n=Sr(s,t,{getVar:!0})}var a=T(e.right,t);switch(e.operator){case"=":return n.set(a),n.get();case"+=":return n.set(n.get()+a),n.get();case"-=":return n.set(n.get()-a),n.get();case"*=":return n.set(n.get()*a),n.get();case"/=":return n.set(n.get()/a),n.get();case"%=":return n.set(n.get()%a),n.get();case"**=":return n.set(Math.pow(n.get(),a)),n.get();case"<<=":return n.set(n.get()<<a),n.get();case">>=":return n.set(n.get()>>a),n.get();case">>>=":return n.set(n.get()>>>a),n.get();case"|=":return n.set(n.get()|a),n.get();case"^=":return n.set(n.get()^a),n.get();case"&=":return n.set(n.get()&a),n.get();case"??=":return n.set(null!=(r=n.get())?r:a),n.get();case"&&=":return n.set(n.get()&&a),n.get();case"||=":return n.set(n.get()||a),n.get();default:throw new SyntaxError("Unexpected token "+e.operator)}},LogicalExpression:function(e,t){var r;switch(e.operator){case"||":return T(e.left,t)||T(e.right,t);case"&&":return T(e.left,t)&&T(e.right,t);case"??":return null!=(r=T(e.left,t))?r:T(e.right,t);default:throw new SyntaxError("Unexpected token "+e.operator)}},MemberExpression:Sr,ConditionalExpression:function(e,t){return T(e.test,t)?T(e.consequent,t):T(e.alternate,t)},CallExpression:function(e,t){var r,i;if("MemberExpression"===e.callee.type){if(r=Sr(e.callee,t,{getObj:!0}),e.callee.optional&&null==r)return;var n=void 0,s=!1,a=(e.callee.computed?n=T(e.callee.property,t):"PrivateIdentifier"===e.callee.property.type?(n=e.callee.property.name,s=!0):n=e.callee.property.name,r);if(s&&(a=a[E]),s="Super"===e.callee.object.type?(s=t.find("this").get(),a[n].bind(s)):a[n],e.optional&&null==s)return;if("function"!=typeof s)throw new TypeError(n+" is not a function");if(s[mt])throw new TypeError("Class constructor "+n+" cannot be invoked without 'new'")}else{if(r=t.find("this").get(),s=T(e.callee,t),e.optional&&null==s)return;if("function"!=typeof s||"Super"!==e.callee.type&&s[mt]){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(Er(h,t)):o.push(T(h,t))}if("Super"===e.callee.type){if(t.find(dt).get())throw new ReferenceError("Super constructor may only be called once");t.find(dt).set(!0)}try{return s.apply(r,o)}catch(e){if(e instanceof TypeError&&"Illegal invocation"===e.message&&-1!==s.toString().indexOf("[native code]")){a=t.global().find("window").get();if(a&&a[ne])return s.apply(a[ne],o)}throw e}},NewExpression:function(e,t){var r,i=T(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[ft])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(Er(a,t)):n.push(T(a,t))}return new(i.bind.apply(i,j([void 0],n)))},MetaProperty:function(e,t){return"new"===e.meta.name&&"target"===e.property.name?t.find(yt).get():"import"===e.meta.name&&"meta"===e.property.name?{url:""}:void 0},SequenceExpression:function(e,t){for(var r,i=0;i<e.expressions.length;i++)r=T(e.expressions[i],t);return r},ArrowFunctionExpression:function(e,t){return N(e,t)},TemplateLiteral:function(e,t){for(var r,i=e.quasis.slice(),n=e.expressions.slice(),s="";r=i.shift();)s+=kr(r),(r=n.shift())&&(s+=T(r,t));return s},TaggedTemplateExpression:function(e,t){var r=T(e.tag,t),i=(n=e.quasi.quasis).map(function(e){return e.value.cooked}),n=n.map(function(e){return e.value.raw}),s=(f(i,"raw",{value:U(n)}),e.quasi.expressions),a=[];if(s)for(var o=0;o<s.length;o++)a.push(T(s[o],t));return r.apply(void 0,j([U(i)],a))},TemplateElement:kr,ClassExpression:function(e,t){var r,i;return e.id&&e.id.name?(i=di(e,r=new P(t)),r.const(e.id.name,i),i):di(e,t)},Super:_r,SpreadElement:Er,ChainExpression:function(e,t){return T(e.expression,t)},ImportExpression:function(e,t){var r,i=t.global(),e=T(e.source,t);return(t=i.find(gt+e))&&(i=t.get())&&("function"==typeof i?r=i():"object"==typeof i&&(r=i)),r&&"object"==typeof r?Promise.resolve(r):Promise.reject(new TypeError('Failed to resolve module specifier "'+e+'"'))}});function Ir(e,t,r){for(var i=(r=void 0===r?{}:r).kind,n=void 0===i?"var":i,i=r.hoist,s=void 0!==i&&i,i=r.onlyBlock,a=void 0!==i&&i,i=r.feed,o=void 0===i?{}:i,c=[],h=0;h<e.properties.length;h++){var l=e.properties[h];if(s)!a&&"var"!==n||("Property"===l.type?"Identifier"===(u=l.value).type?t[n](u.name,a?I:"var"===n?C:void 0):V(u,t,{kind:n,hoist:s,onlyBlock:a}):Pr(l,t,{kind:n,hoist:s,onlyBlock:a}));else if("Property"===l.type){var u,p=void 0,p=l.computed?T(l.key,t):l.key.name;c.push(p),"Identifier"===(u=l.value).type?t[n](u.name,o[p]):V(u,t,{kind:n,feed:o[p]})}else{for(var d=m({},o),f=0;f<c.length;f++)delete d[c[f]];Pr(l,t,{kind:n,feed:d})}}}function Ar(e,t,r){for(var i=(r=void 0===r?{}:r).kind,n=r.hoist,s=void 0!==n&&n,n=r.onlyBlock,a=void 0!==n&&n,n=r.feed,o=void 0===n?[]:n,c=[],h=0;h<e.elements.length;h++){var l,u=e.elements[h];u&&(s?!a&&"var"!==i||("Identifier"===u.type?t[i](u.name,a?I:"var"===i?C:void 0):V(u,t,{kind:i,hoist:s,onlyBlock:a})):"Identifier"===u.type?i?t[i](u.name,o[h]):((l=vr(u,t,{getVar:!0})).set(o[h]),c.push(l.get())):"RestElement"===u.type?Pr(u,t,{kind:i,feed:o.slice(h)}):V(u,t,{kind:i,feed:o[h]}))}if(c.length)return c}function Pr(e,t,r){var i=(r=void 0===r?{}:r).kind,n=r.hoist,n=void 0!==n&&n,s=r.onlyBlock,s=void 0!==s&&s,r=r.feed,r=void 0===r?[]:r,e=e.argument;n?!s&&"var"!==i||("Identifier"===e.type?t[i](e.name,s?I:"var"===i?C:void 0):V(e,t,{kind:i,hoist:n,onlyBlock:s})):"Identifier"===e.type?i?t[i](e.name,r):vr(e,t,{getVar:!0}).set(r):V(e,t,{kind:i,feed:r})}function Lr(e,t,r){var i=(r=void 0===r?{}:r).kind,i=void 0===i?"var":i,n=r.hoist,n=void 0!==n&&n,s=r.onlyBlock,s=void 0!==s&&s,r=r.feed,r=void 0===r?T(e.right,t):r,e=e.left;n?!s&&"var"!==i||("Identifier"===e.type?t[i](e.name,s?I:"var"===i?C:void 0):V(e,t,{kind:i,hoist:n,onlyBlock:s})):"Identifier"===e.type?t[i](e.name,r):V(e,t,{kind:i,feed:r})}var Tr=Object.freeze({__proto__:null,ObjectPattern:Ir,ArrayPattern:Ar,RestElement:Pr,AssignmentPattern:Lr});var Vr,Nr=Object.freeze({__proto__:null,Program:function(e,t){for(var r=0;r<e.body.length;r++)T(e.body[r],t)}});function T(e,t){if(e){var r=(Vr=Vr||m({},F,Cr,br,M,wr,Tr,Nr))[e.type];if(r)return r(e,t);throw new Error(e.type+" isn't implemented")}}function Br(e,t){T(e.expression,t)}function Dr(e,t,r){var i=(r=void 0===r?{}:r).invasived,n=r.hoisted,n=void 0!==n&&n,s=void 0!==i&&i?t:new P(t);n||pi(e,s,{onlyBlock:!0});for(var a=0;a<e.body.length;a++){var o=T(e.body[a],s);if(o===_){if(o.LABEL&&o.LABEL===r.label)break;return o}if(o===k||o===S)return o}}function Rr(){}function Or(){debugger}function Mr(e,t){return S.RES=e.argument?T(e.argument,t):void 0,S}function Fr(e){return _.LABEL=null==(e=e.label)?void 0:e.name,_}function jr(e){return k.LABEL=null==(e=e.label)?void 0:e.name,k}function Ur(e,t){var r=e.label.name;if("WhileStatement"===e.body.type)return Xr(e.body,t,{label:r});if("DoWhileStatement"===e.body.type)return Yr(e.body,t,{label:r});if("ForStatement"===e.body.type)return Zr(e.body,t,{label:r});if("ForInStatement"===e.body.type)return Jr(e.body,t,{label:r});if("ForOfStatement"===e.body.type)return $r(e.body,t,{label:r});if("BlockStatement"===e.body.type)return Dr(e.body,t,{label:r});if("WithStatement"===e.body.type)return qr(e.body,t,{label:r});if("IfStatement"===e.body.type)return Wr(e.body,t,{label:r});if("SwitchStatement"===e.body.type)return Gr(e.body,t,{label:r});if("TryStatement"===e.body.type)return Kr(e.body,t,{label:r});throw new SyntaxError(e.body.type+" cannot be labeled")}function qr(e,t,r){void 0===r&&(r={});var i=new P(t),t=(i.with(T(e.object,t)),T(e.body,i));return t===_?t.LABEL&&t.LABEL===r.label?void 0:t:t===k||t===S?t:void 0}function Wr(e,t,r){return void 0===r&&(r={}),(e=T(e.test,t)?T(e.consequent,t):T(e.alternate,t))===_?e.LABEL&&e.LABEL===r.label?void 0:e:e===k||e===S?e:void 0}function Gr(e,t,r){void 0===r&&(r={});for(var i=T(e.discriminant,t),n=!1,s=0;s<e.cases.length;s++){var a=e.cases[s];if(n=n||a.test&&T(a.test,t)!==i?n:!0){a=Hr(a,t);if(a===_){if(a.LABEL===r.label)break;return a}if(a===k||a===S)return a}}}function Hr(e,t){for(var r=0;r<e.consequent.length;r++){var i=T(e.consequent[r],t);if(i===_||i===k||i===S)return i}}function zr(e,t){throw T(e.argument,t)}function Kr(t,r,e){var i;void 0===e&&(e={});try{i=Dr(t.block,r)}catch(e){if(!t.handler)throw e;var n,s=new P(r),a=t.handler.param;a&&("Identifier"===a.type?(n=a.name,s.var(n,e)):V(a,r,{feed:e})),i=Qr(t.handler,s)}finally{t.finalizer&&(i=Dr(t.finalizer,r))}return i===_?i.LABEL&&i.LABEL===e.label?void 0:i:i===k||i===S?i:void 0}function Qr(e,t){return Dr(e.body,t,{invasived:!0})}function Xr(e,t,r){for(void 0===r&&(r={});T(e.test,t);){var i=T(e.body,t);if(i===_){if(i.LABEL===r.label)break;return i}if(i===k){if(i.LABEL!==r.label)return i}else if(i===S)return i}}function Yr(e,t,r){void 0===r&&(r={});do{var i=T(e.body,t);if(i===_){if(i.LABEL===r.label)break;return i}if(i===k){if(i.LABEL!==r.label)return i}else if(i===S)return i}while(T(e.test,t))}function Zr(e,t,r){void 0===r&&(r={});var i=new P(t);for(T(e.init,i);!e.test||T(e.test,i);T(e.update,i)){var n=new P(i),s=void 0;if((s="BlockStatement"===e.body.type?Dr(e.body,n,{invasived:!0}):T(e.body,n))===_){if(s.LABEL===r.label)break;return s}if(s===k){if(s.LABEL!==r.label)return s}else if(s===S)return s}}function Jr(e,t,r){for(var i in void 0===r&&(r={}),T(e.right,t)){i=fi(e,t,{value:i});if(i===_){if(i.LABEL===r.label)break;return i}if(i===k){if(i.LABEL!==r.label)return i}else if(i===S)return i}}function $r(e,t,r){void 0===r&&(r={});var i,n,s=T(e.right,t);try{for(var a=g(s),o=a.next();!o.done;o=a.next()){var c=fi(e,t,{value:o.value});if(c===_){if(c.LABEL===r.label)break;return c}if(c===k){if(c.LABEL!==r.label)return c}else if(c===S)return c}}catch(e){i={error:e}}finally{try{o&&!o.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}}function ei(e,t){t.func(e.id.name,N(e,t))}function ti(e,t,r){void 0===r&&(r={});for(var i=0;i<e.declarations.length;i++)ri(e.declarations[i],t,m({kind:e.kind},r))}function ri(e,t,r){var i=(r=void 0===r?{}:r).kind,i=void 0===i?"var":i,n=r.hoist,n=void 0!==n&&n,s=r.onlyBlock,s=void 0!==s&&s,a=r.feed;n?!s&&"var"!==i||("Identifier"===e.id.type?t[i](e.id.name,s?I:"var"===i?C:void 0):V(e.id,t,{kind:i,hoist:n,onlyBlock:s})):(s=(n="feed"in r)?a:T(e.init,t),"Identifier"===e.id.type?(r=e.id.name,"var"!==i||e.init||n?t[i](r,s):t.var(r,C),e.init&&-1!==["ClassExpression","FunctionExpression","ArrowFunctionExpression"].indexOf(e.init.type)&&!s.name&&f(s,"name",{value:r,configurable:!0})):V(e.id,t,{kind:i,feed:s}))}function ii(e,t){t.func(e.id.name,di(e,t))}function ni(e,t,r){for(var i=(r=void 0===r?{}:r).klass,n=r.superClass,s=0;s<e.body.length;s++){var a=e.body[s];"MethodDefinition"===a.type?si(a,t,{klass:i,superClass:n}):"PropertyDefinition"===a.type&&a.static?ai(a,t,{klass:i,superClass:n}):"StaticBlock"===a.type&&oi(a,t,{klass:i,superClass:n})}}function si(e,t,r){var i,n=(r=void 0===r?{}:r).klass,r=r.superClass,s=!1;if(e.computed)i=T(e.key,t);else if("Identifier"===e.key.type)i=e.key.name;else{if("PrivateIdentifier"!==e.key.type)throw new SyntaxError("Unexpected token");i=e.key.name,s=!0}var a=e.static?n:n.prototype,o=(s&&(a[E]||f(a,E,{value:{}}),a=a[E]),N(e.value,t,{superClass:r}));switch(e.kind){case"constructor":break;case"method":f(a,i,{value:o,writable:!0,configurable:!0});break;case"get":var c=q(a,i);f(a,i,{get:o,set:c&&c.set,configurable:!0});break;case"set":c=q(a,i);f(a,i,{get:c&&c.get,set:o,configurable:!0});break;default:throw new SyntaxError("Unexpected token")}}function ai(e,t,r){var i,n=(r=void 0===r?{}:r).klass,r=r.superClass,s=!1;if(e.computed)i=T(e.key,t);else if("Identifier"===e.key.type)i=e.key.name;else{if("PrivateIdentifier"!==e.key.type)throw new SyntaxError("Unexpected token");i=e.key.name,s=!0}t=new P(t,!0),t.const("this",n);s&&(n[E]||f(n,E,{value:{}}),n=n[E]),e.value?"FunctionExpression"===e.value.type||"ArrowFunctionExpression"===e.value.type?n[i]=N(e.value,t,{superClass:r}):n[i]=T(e.value,t):n[i]=void 0}function oi(e,t,r){r=(r=void 0===r?{}:r).klass,t=new P(t,!0);return t.const("this",r),Dr(e,t,{invasived:!0})}function ci(e,t){var r,i=t.global().find(gt+e.source.value);if(i&&(i=i.get())&&("function"==typeof i?r=i():"object"==typeof i&&(r=i)),!r||"object"!=typeof r)throw new TypeError('Failed to resolve module specifier "'+e.source.value+'"');for(var n=0;n<e.specifiers.length;n++){var s=e.specifiers[n],a=void 0;if("ImportSpecifier"===s.type?a="Identifier"===s.imported.type?s.imported.name:s.imported.value:"ImportDefaultSpecifier"===s.type?a="default":"ImportNamespaceSpecifier"===s.type&&(a="*"),"*"!==a&&!G(r,a))throw new SyntaxError('The requested module "'+e.source.value+'" does not provide an export named "'+a+'"');t.var(s.local.name,"*"===a?m({},r):r[a])}}function hi(e,t){var r,i=t.global(),e=("FunctionDeclaration"===e.declaration.type?(r=N(e.declaration,t),t.func(e.declaration.id.name,r)):"ClassDeclaration"===e.declaration.type?(r=di(e.declaration,t),t.func(e.declaration.id.name,r)):r=T(e.declaration,t),i.find(A));e&&(t=e.get())&&"object"==typeof t&&(t.default=r)}function li(e,t){var r=t.global();if(e.declaration){if("FunctionDeclaration"===e.declaration.type){var i=N(e.declaration,t);t.func(e.declaration.id.name,i),(n=r.find(A))&&(s=n.get())&&"object"==typeof s&&(s[e.declaration.id.name]=i)}else if("ClassDeclaration"===e.declaration.type){var n,s,i=di(e.declaration,t);t.func(e.declaration.id.name,i),(n=r.find(A))&&(s=n.get())&&"object"==typeof s&&(s[e.declaration.id.name]=i)}else if("VariableDeclaration"===e.declaration.type)if(ti(e.declaration,t),n=r.find(A)){var a=n.get();if(a&&"object"==typeof a)for(var o=0;o<e.declaration.declarations.length;o++){var c=e.declaration.declarations[o].id.name;(l=t.find(c))&&(a[c]=l.get())}}}else if(e.specifiers)if(n=r.find(A)){var h=n.get();if(h&&"object"==typeof h)for(o=0;o<e.specifiers.length;o++){var l,u=e.specifiers[o],p="Identifier"===u.local.type?u.local.name:u.local.value;(l=t.find(p))&&(h["Identifier"===u.exported.type?u.exported.name:u.exported.value]=l.get())}}}function ui(e,t){var r,t=t.global(),i=t.find(gt+e.source.value);if(i&&(i=i.get())&&("function"==typeof i?r=i():"object"==typeof i&&(r=i)),!r||"object"!=typeof r)throw new TypeError('Failed to resolve module specifier "'+e.source.value+'"');i=t.find(A);i&&(e=i.get())&&"object"==typeof e&&m(e,r)}function pi(e,t,r){for(var r=(r=void 0===r?{}:r).onlyBlock,i=void 0!==r&&r,n=[],s=[],a=0;a<e.body.length;a++){var o=e.body[a];"FunctionDeclaration"===o.type?(n.push(o),s.push(a)):"VariableDeclaration"===o.type&&-1!==["const","let"].indexOf(o.kind)?ti(o,t,{hoist:!0,onlyBlock:!0}):i||function e(t,r){switch(t.type){case"VariableDeclaration":ti(t,r,{hoist:!0});break;case"ForInStatement":case"ForOfStatement":"VariableDeclaration"===t.left.type&&ti(t.left,r,{hoist:!0});case"ForStatement":"ForStatement"===t.type&&"VariableDeclaration"===t.init.type&&ti(t.init,r,{hoist:!0});case"WhileStatement":case"DoWhileStatement":e(t.body,r);break;case"IfStatement":e(t.consequent,r),t.alternate&&e(t.alternate,r);break;case"BlockStatement":for(var i=0;i<t.body.length;i++)e(t.body[i],r);break;case"SwitchStatement":for(i=0;i<t.cases.length;i++)for(var n=0;n<t.cases[i].consequent.length;n++)e(t.cases[i].consequent[n],r);break;case"TryStatement":for(var s=t.block.body,i=0;i<s.length;i++)e(s[i],r);var a=t.handler&&t.handler.body.body;if(a)for(i=0;i<a.length;i++)e(a[i],r);var o=t.finalizer&&t.finalizer.body;if(o)for(i=0;i<o.length;i++)e(o[i],r)}}(o,t)}if(s.length){for(a=s.length-1;-1<a;a--)e.body.splice(s[a],1);e.body=n.concat(e.body)}}function V(e,t,r){switch(void 0===r&&(r={}),e.type){case"ObjectPattern":return Ir(e,t,r);case"ArrayPattern":return Ar(e,t,r);case"RestElement":return Pr(e,t,r);case"AssignmentPattern":return Lr(e,t,r);default:throw new SyntaxError("Unexpected token")}}function N(c,h,e){var t,l,u,p,r;return void 0===e&&(e={}),c.generator||c.async?D(c,h,e):(l=e.superClass,u=e.construct,p=c.params,e=function e(){for(var t=this&&this instanceof e?this.constructor:void 0,r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var n=new P(h,!0);"ArrowFunctionExpression"!==c.type&&(n.const("this",this),n.let("arguments",arguments),n.const(yt,t),u&&u(this),l)&&(n.const(pt,l),u)&&n.let(dt,!1);for(var s,a=0;a<p.length;a++){var o=p[a];"Identifier"===o.type?n.var(o.name,r[a]):"RestElement"===o.type?Pr(o,n,{kind:"var",feed:r.slice(a)}):V(o,n,{kind:"var",feed:r[a]})}if("BlockStatement"===c.body.type?(pi(c.body,n),s=Dr(c.body,n,{invasived:!0,hoisted:!0})):(s=T(c.body,n),"ArrowFunctionExpression"===c.type&&(S.RES=s,s=S)),s===S)return s.RES},"ArrowFunctionExpression"===c.type&&f(e,ft,{value:!0}),f(e,"name",{value:c.id&&c.id.name||"",configurable:!0}),f(e,"length",{value:p.length,configurable:!0}),(r=null==(t=c.loc)?void 0:t.source)&&f(e,"toString",{value:function(){return r.substring(c.start,c.end)},configurable:!0}),e)}function di(e,i){for(var n=T(e.superClass,i),s=e.body.body,t=function(e){for(var t=0;t<s.length;t++){var r=s[t];"PropertyDefinition"!==r.type||r.static||ai(r,i,{klass:e,superClass:n})}},r=function(){t(this),n&&n.apply(this)},a=0;a<s.length;a++){var o=s[a];if("MethodDefinition"===o.type&&"constructor"===o.kind){r=N(o.value,i,{superClass:n,construct:t});break}}return n&&$(r,n),ni(e.body,i,{klass:r,superClass:n}),f(r,mt,{value:!0}),f(r,"name",{value:e.id&&e.id.name||"",configurable:!0}),r}function fi(e,t,r){var r=r.value,i=e.left,n=new P(t);return"VariableDeclaration"===i.type?ti(i,n,{feed:r}):"Identifier"===i.type?vr(i,t,{getVar:!0}).set(r):V(i,t,{feed:r}),"BlockStatement"===e.body.type?Dr(e.body,n,{invasived:!0}):T(e.body,n)}function mi(t,r,i){var n,s,a,o,c;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:n=i.onlyBlock,n=void 0!==n&&n,s=[],a=[],c=0,e.label=1;case 1:return c<t.body.length?"FunctionDeclaration"!==(o=t.body[c]).type?[3,2]:(s.push(o),a.push(c),[3,6]):[3,7];case 2:return"VariableDeclaration"!==o.type||-1===["const","let"].indexOf(o.kind)?[3,4]:[5,g(or(o,r,{hoist:!0,onlyBlock:!0}))];case 3:return e.sent(),[3,6];case 4:return n?[3,6]:[5,g(function t(r,i){var n,s,a,o,c;return y(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,g(or(r,i,{hoist:!0}))];case 2:return e.sent(),[3,38];case 3:return"VariableDeclaration"!==r.left.type?[3,5]:[5,g(or(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,g(or(r.init,i,{hoist:!0}))];case 6:e.sent(),e.label=7;case 7:return[5,g(t(r.body,i))];case 8:return e.sent(),[3,38];case 9:return[5,g(t(r.consequent,i))];case 10:return(e.sent(),r.alternate)?[5,g(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,g(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,g(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,g(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,g(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,g(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]}})}(o,r))];case 5:e.sent(),e.label=6;case 6:return c++,[3,1];case 7:if(a.length){for(c=a.length-1;-1<c;c--)t.body.splice(a[c],1);t.body=s.concat(t.body)}return[2]}})}function B(t,r,i){return void 0===i&&(i={}),y(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,g(Nt(t,r,i))];case 2:return[2,e.sent()];case 3:return[5,g(Bt(t,r,i))];case 4:return[2,e.sent()];case 5:return[5,g(Dt(t,r,i))];case 6:return[2,e.sent()];case 7:return[5,g(Rt(t,r,i))];case 8:return[2,e.sent()];case 9:throw new SyntaxError("Unexpected token")}})}function D(c,h,e){var t,l,u,p,s,r,i;return void 0===e&&(e={}),c.generator||c.async?(l=e.superClass,u=e.construct,p=c.params,s=function e(){for(var t,r,i,n,s=this&&this instanceof e?this.constructor:void 0,a=[],o=0;o<arguments.length;o++)a[o]=arguments[o];return y(this,function(e){switch(e.label){case 0:return(t=new P(h,!0),"ArrowFunctionExpression"===c.type)?[3,3]:(t.const("this",this),t.let("arguments",arguments),t.const(yt,s),u?[5,g(u(this))]:[3,2]);case 1:e.sent(),e.label=2;case 2:l&&(t.const(pt,l),u)&&t.let(dt,!1),e.label=3;case 3:r=0,e.label=4;case 4:return r<p.length?"Identifier"!==(i=p[r]).type?[3,5]:(t.var(i.name,a[r]),[3,9]):[3,10];case 5:return"RestElement"!==i.type?[3,7]:[5,g(Dt(i,t,{kind:"var",feed:a.slice(r)}))];case 6:return e.sent(),[3,9];case 7:return[5,g(B(i,t,{kind:"var",feed:a[r]}))];case 8:e.sent(),e.label=9;case 9:return r++,[3,4];case 10:return"BlockStatement"!==c.body.type?[3,13]:[5,g(mi(c.body,t))];case 11:return e.sent(),[5,g(Ut(c.body,t,{invasived:!0,hoisted:!0}))];case 12:return n=e.sent(),[3,15];case 13:return[5,g(L(c.body,t))];case 14:n=e.sent(),"ArrowFunctionExpression"===c.type&&(S.RES=n,n=S),e.label=15;case 15:return n===S?[2,n.RES]:[2]}})},r=c.async&&c.generator?function(){function t(e){return i=i.then(function(){return kt(r,m({fullRet:!0},e))}).catch(function(e){if(!n)return n=!0,Promise.reject(e)})}var r=s.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}:c.async?function(){return kt(s.apply(this,arguments))}:s,f(r,ft,{value:!0}),f(r,"name",{value:c.id&&c.id.name||"",configurable:!0}),f(r,"length",{value:p.length,configurable:!0}),(i=null==(t=c.loc)?void 0:t.source)&&f(r,"toString",{value:function(){return i.substring(c.start,c.end)},configurable:!0}),r):N(c,h,e)}function yi(t,n){var s,a,r,i,o,c;return y(this,function(e){switch(e.label){case 0:return[5,g(L(t.superClass,n))];case 1:for(s=e.sent(),a=t.body.body,r=function(t){var r,i;return y(this,function(e){switch(e.label){case 0:r=0,e.label=1;case 1:return r<a.length?"PropertyDefinition"!==(i=a[r]).type||i.static?[3,3]:[5,g(pr(i,n,{klass:t,superClass:s}))]:[3,4];case 2:e.sent(),e.label=3;case 3:return r++,[3,1];case 4:return[2]}})},i=function(){return y(this,function(e){switch(e.label){case 0:return[5,g(r(this))];case 1:return e.sent(),s&&s.apply(this),[2]}})},o=0;o<a.length;o++)if("MethodDefinition"===(c=a[o]).type&&"constructor"===c.kind){i=D(c.value,n,{superClass:s,construct:r});break}return s&&$(i,s),[5,g(lr(t.body,n,{klass:i,superClass:s}))];case 2:return e.sent(),f(i,mt,{value:!0}),f(i,"name",{value:t.id&&t.id.name||"",configurable:!0}),[2,i]}})}function gi(t,r,i){var n,s,a,o;return y(this,function(e){switch(e.label){case 0:return n=i.value,s=t.left,a=new P(r),"VariableDeclaration"!==s.type?[3,2]:[5,g(or(s,a,{feed:n}))];case 1:return e.sent(),[3,6];case 2:return"Identifier"!==s.type?[3,4]:[5,g(vr(s,r,{getVar:!0}))];case 3:return e.sent().set(n),[3,6];case 4:return[5,g(B(s,r,{feed:n}))];case 5:e.sent(),e.label=6;case 6:return"BlockStatement"!==t.body.type?[3,8]:[5,g(Ut(t.body,a,{invasived:!0}))];case 7:return o=e.sent(),[3,10];case 8:return[5,g(L(t.body,a))];case 9:o=e.sent(),e.label=10;case 10:return[2,o]}})}function vi(e){void 0===e&&(e={}),this.options={ecmaVersion:"latest"},this.scope=new P(null,!0),this.exports={};var t=e.ecmaVer,t=void 0===t?"latest":t,r=e.sandBox,r=void 0===r||r,e=e.sourceType,e=void 0===e?"script":e;if("number"==typeof t&&(t-=t<2015?0:2009),"latest"!==t&&3!==t&&(t<5||15<t))throw new Error("unsupported ecmaVer");this.options.ecmaVersion=t,this.options.sourceType=e,r?(r=m(J(((t={})[ne]=i,t)),te),this.scope.let("globalThis",r),this.scope.let("window",r),this.scope.let("this",r)):(this.scope.let("globalThis",i),this.scope.let("window",i),this.scope.let("this",i)),this.scope.const("module"===e?A:"exports",this.exports={})}return vi.prototype.import=function(e,t){var r;if("string"==typeof e&&((r={})[e]=t,e=r),"object"==typeof e)for(var i=H(e),n=0;n<i.length;n++){var s=i[n],a="module"===this.options.sourceType?gt+s:s;this.scope.var(a,e[s])}},vi.prototype.parse=function(e,t){return"function"==typeof t?t(e,m({},this.options)):(t=this.options,l.parse(e,t))},vi.prototype.run=function(e){var t="string"==typeof e?this.parse(e):e,r=this.scope;"module"===this.options.sourceType&&("latest"===this.options.ecmaVersion||13<=this.options.ecmaVersion)?kt(function(){return y(this,function(e){switch(e.label){case 0:return[5,g(mi(t,r))];case 1:return e.sent(),[5,g(L(t,r))];case 2:return e.sent(),[2]}})}()):(pi(t,r),T(t,r))},vi.version="0.6.0",vi});
|