soonjs 0.0.29 → 0.0.31
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/deps/acorn-MFuat2YCgG-e4p88nn1g.js +2895 -0
- package/dist/deps/angular-Nz7Izt9RB4-h18jjmowy.js +1448 -0
- package/dist/deps/babel-JaNXSJC73c-9yodyvvph.js +6844 -0
- package/dist/deps/estree-lrVsLbm9_D-frgb7tfnu.js +4265 -0
- package/dist/deps/flow-MAZ63dnw8p-m2rrmabt3.js +26221 -0
- package/dist/deps/glimmer-SKEURx3bl3-9q9t7pwdx.js +2756 -0
- package/dist/deps/graphql--N7MQg-wpp-ikfx3vyg2.js +1212 -0
- package/dist/deps/html-WW7XljTSl6-u2zm0618g.js +2623 -0
- package/dist/deps/markdown-i-DCK3AslU-27ooihdjf.js +3058 -0
- package/dist/deps/meriyah-0-URq6zZ8n-mvot02tnl.js +2320 -0
- package/dist/deps/postcss-urUw1vxeu1-ltys6ubta.js +4664 -0
- package/dist/deps/soon-id-t25L9qRGGZ-mseuvoose.js +30 -0
- package/dist/deps/typescript-5-LBeuVeDB-kqvbhavbi.js +12794 -0
- package/dist/deps/yaml-zChCAOpgM7-osfcioi5d.js +4088 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/vite-plugin-soon-client.cjs +2 -2
- package/dist/vite-plugin-soon-client.js +14 -14
- package/dist/vite-plugin-soon-server.cjs +1 -1
- package/dist/vite-plugin-soon-server.js +1 -1
- package/package.json +1 -1
- /package/dist/deps/{acorn-Ff8MVRmodX.js → acorn-MFuat2YCgG-3o370z873.js} +0 -0
- /package/dist/deps/{angular-LqdjJ4Yaq2.js → angular-Nz7Izt9RB4-tpn6vrzzy.js} +0 -0
- /package/dist/deps/{babel-32vqD9oEys.js → babel-JaNXSJC73c-ynxn8i808.js} +0 -0
- /package/dist/deps/{estree-IMJs86TDC0.js → estree-lrVsLbm9_D-emih400u1.js} +0 -0
- /package/dist/deps/{flow-zRn8VfVm5J.js → flow-MAZ63dnw8p-wi0v0aena.js} +0 -0
- /package/dist/deps/{glimmer-_ODPKtzJ7S.js → glimmer-SKEURx3bl3-l70hzjhe4.js} +0 -0
- /package/dist/deps/{graphql-q8vjor01qx.js → graphql--N7MQg-wpp-v49tdgcr9.js} +0 -0
- /package/dist/deps/{html-TSaii5iYiA.js → html-WW7XljTSl6-nxudy7vqp.js} +0 -0
- /package/dist/deps/{markdown-M6N0BeoGFG.js → markdown-i-DCK3AslU-wd4hbzpj4.js} +0 -0
- /package/dist/deps/{meriyah-XGfSapNsj5.js → meriyah-0-URq6zZ8n-8hx0wdln8.js} +0 -0
- /package/dist/deps/{postcss-Urbkvv7NC7.js → postcss-urUw1vxeu1-xxgu2fu5o.js} +0 -0
- /package/dist/deps/{soon-id-LxpwEdKJEZ.js → soon-id-t25L9qRGGZ-l8lkjbbxl.js} +0 -0
- /package/dist/deps/{typescript-rVkPWM4hUZ.js → typescript-5-LBeuVeDB-7w9kseqyq.js} +0 -0
- /package/dist/deps/{yaml-ySEu0nw36-.js → yaml-zChCAOpgM7-h7aopdk65.js} +0 -0
|
@@ -0,0 +1,2320 @@
|
|
|
1
|
+
var p2 = Object.defineProperty, En = (t, n) => {
|
|
2
|
+
for (var e in n) p2(t, e, { get: n[e], enumerable: !0 });
|
|
3
|
+
}, wn = {};
|
|
4
|
+
En(wn, { parsers: () => In });
|
|
5
|
+
var In = {};
|
|
6
|
+
En(In, { meriyah: () => we });
|
|
7
|
+
var d2 = { 0: "Unexpected token", 28: "Unexpected token: '%0'", 1: "Octal escape sequences are not allowed in strict mode", 2: "Octal escape sequences are not allowed in template strings", 3: "Unexpected token `#`", 4: "Illegal Unicode escape sequence", 5: "Invalid code point %0", 6: "Invalid hexadecimal escape sequence", 8: "Octal literals are not allowed in strict mode", 7: "Decimal integer literals with a leading zero are forbidden in strict mode", 9: "Expected number in radix %0", 146: "Invalid left-hand side assignment to a destructible right-hand side", 10: "Non-number found after exponent indicator", 11: "Invalid BigIntLiteral", 12: "No identifiers allowed directly after numeric literal", 13: "Escapes \\8 or \\9 are not syntactically valid escapes", 14: "Unterminated string literal", 15: "Unterminated template literal", 16: "Multiline comment was not closed properly", 17: "The identifier contained dynamic unicode escape that was not closed", 18: "Illegal character '%0'", 19: "Missing hexadecimal digits", 20: "Invalid implicit octal", 21: "Invalid line break in string literal", 22: "Only unicode escapes are legal in identifier names", 23: "Expected '%0'", 24: "Invalid left-hand side in assignment", 25: "Invalid left-hand side in async arrow", 26: 'Calls to super must be in the "constructor" method of a class expression or class declaration that has a superclass', 27: "Member access on super must be in a method", 29: "Await expression not allowed in formal parameter", 30: "Yield expression not allowed in formal parameter", 93: "Unexpected token: 'escaped keyword'", 31: "Unary expressions as the left operand of an exponentiation expression must be disambiguated with parentheses", 120: "Async functions can only be declared at the top level or inside a block", 32: "Unterminated regular expression", 33: "Unexpected regular expression flag", 34: "Duplicate regular expression flag '%0'", 35: "%0 functions must have exactly %1 argument%2", 36: "Setter function argument must not be a rest parameter", 37: "%0 declaration must have a name in this context", 38: "Function name may not contain any reserved words or be eval or arguments in strict mode", 39: "The rest operator is missing an argument", 40: "A getter cannot be a generator", 41: "A setter cannot be a generator", 42: "A computed property name must be followed by a colon or paren", 131: "Object literal keys that are strings or numbers must be a method or have a colon", 44: "Found `* async x(){}` but this should be `async * x(){}`", 43: "Getters and setters can not be generators", 45: "'%0' can not be generator method", 46: "No line break is allowed after '=>'", 47: "The left-hand side of the arrow can only be destructed through assignment", 48: "The binding declaration is not destructible", 49: "Async arrow can not be followed by new expression", 50: "Classes may not have a static property named 'prototype'", 51: "Class constructor may not be a %0", 52: "Duplicate constructor method in class", 53: "Invalid increment/decrement operand", 54: "Invalid use of `new` keyword on an increment/decrement expression", 55: "`=>` is an invalid assignment target", 56: "Rest element may not have a trailing comma", 57: "Missing initializer in %0 declaration", 58: "'for-%0' loop head declarations can not have an initializer", 59: "Invalid left-hand side in for-%0 loop: Must have a single binding", 60: "Invalid shorthand property initializer", 61: "Property name __proto__ appears more than once in object literal", 62: "Let is disallowed as a lexically bound name", 63: "Invalid use of '%0' inside new expression", 64: "Illegal 'use strict' directive in function with non-simple parameter list", 65: 'Identifier "let" disallowed as left-hand side expression in strict mode', 66: "Illegal continue statement", 67: "Illegal break statement", 68: "Cannot have `let[...]` as a var name in strict mode", 69: "Invalid destructuring assignment target", 70: "Rest parameter may not have a default initializer", 71: "The rest argument must the be last parameter", 72: "Invalid rest argument", 74: "In strict mode code, functions can only be declared at top level or inside a block", 75: "In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement", 76: "Without web compatibility enabled functions can not be declared at top level, inside a block, or as the body of an if statement", 77: "Class declaration can't appear in single-statement context", 78: "Invalid left-hand side in for-%0", 79: "Invalid assignment in for-%0", 80: "for await (... of ...) is only valid in async functions and async generators", 81: "The first token after the template expression should be a continuation of the template", 83: "`let` declaration not allowed here and `let` cannot be a regular var name in strict mode", 82: "`let \n [` is a restricted production at the start of a statement", 84: "Catch clause requires exactly one parameter, not more (and no trailing comma)", 85: "Catch clause parameter does not support default values", 86: "Missing catch or finally after try", 87: "More than one default clause in switch statement", 88: "Illegal newline after throw", 89: "Strict mode code may not include a with statement", 90: "Illegal return statement", 91: "The left hand side of the for-header binding declaration is not destructible", 92: "new.target only allowed within functions", 94: "'#' not followed by identifier", 100: "Invalid keyword", 99: "Can not use 'let' as a class name", 98: "'A lexical declaration can't define a 'let' binding", 97: "Can not use `let` as variable name in strict mode", 95: "'%0' may not be used as an identifier in this context", 96: "Await is only valid in async functions", 101: "The %0 keyword can only be used with the module goal", 102: "Unicode codepoint must not be greater than 0x10FFFF", 103: "%0 source must be string", 104: "Only a identifier can be used to indicate alias", 105: "Only '*' or '{...}' can be imported after default", 106: "Trailing decorator may be followed by method", 107: "Decorators can't be used with a constructor", 109: "HTML comments are only allowed with web compatibility (Annex B)", 110: "The identifier 'let' must not be in expression position in strict mode", 111: "Cannot assign to `eval` and `arguments` in strict mode", 112: "The left-hand side of a for-of loop may not start with 'let'", 113: "Block body arrows can not be immediately invoked without a group", 114: "Block body arrows can not be immediately accessed without a group", 115: "Unexpected strict mode reserved word", 116: "Unexpected eval or arguments in strict mode", 117: "Decorators must not be followed by a semicolon", 118: "Calling delete on expression not allowed in strict mode", 119: "Pattern can not have a tail", 121: "Can not have a `yield` expression on the left side of a ternary", 122: "An arrow function can not have a postfix update operator", 123: "Invalid object literal key character after generator star", 124: "Private fields can not be deleted", 126: "Classes may not have a field called constructor", 125: "Classes may not have a private element named constructor", 127: "A class field initializer may not contain arguments", 128: "Generators can only be declared at the top level or inside a block", 129: "Async methods are a restricted production and cannot have a newline following it", 130: "Unexpected character after object literal property name", 132: "Invalid key token", 133: "Label '%0' has already been declared", 134: "continue statement must be nested within an iteration statement", 135: "Undefined label '%0'", 136: "Trailing comma is disallowed inside import(...) arguments", 137: "import() requires exactly one argument", 138: "Cannot use new with import(...)", 139: "... is not allowed in import()", 140: "Expected '=>'", 141: "Duplicate binding '%0'", 142: "Cannot export a duplicate name '%0'", 145: "Duplicate %0 for-binding", 143: "Exported binding '%0' needs to refer to a top-level declared variable", 144: "Unexpected private field", 148: "Numeric separators are not allowed at the end of numeric literals", 147: "Only one underscore is allowed as numeric separator", 149: "JSX value should be either an expression or a quoted JSX text", 150: "Expected corresponding JSX closing tag for %0", 151: "Adjacent JSX elements must be wrapped in an enclosing tag", 152: "JSX attributes must only be assigned a non-empty 'expression'", 153: "'%0' has already been declared", 154: "'%0' shadowed a catch clause binding", 155: "Dot property must be an identifier", 156: "Encountered invalid input after spread/rest argument", 157: "Catch without try", 158: "Finally without try", 159: "Expected corresponding closing tag for JSX fragment", 160: "Coalescing and logical operators used together in the same expression must be disambiguated with parentheses", 161: "Invalid tagged template on optional chain", 162: "Invalid optional chain from super property", 163: "Invalid optional chain from new expression", 164: 'Cannot use "import.meta" outside a module', 165: "Leading decorators must be attached to a class declaration" }, Bt = class extends SyntaxError {
|
|
8
|
+
constructor(t, n, e, r, ...o) {
|
|
9
|
+
let a = "[" + n + ":" + e + "]: " + d2[r].replace(/%(\d+)/g, (s, i) => o[i]);
|
|
10
|
+
super(`${a}`), this.index = t, this.line = n, this.column = e, this.description = a, this.loc = { line: n, column: e };
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
function p(t, n, ...e) {
|
|
14
|
+
throw new Bt(t.index, t.line, t.column, n, ...e);
|
|
15
|
+
}
|
|
16
|
+
function Ft(t) {
|
|
17
|
+
throw new Bt(t.index, t.line, t.column, t.type, t.params);
|
|
18
|
+
}
|
|
19
|
+
function mt(t, n, e, r, ...o) {
|
|
20
|
+
throw new Bt(t, n, e, r, ...o);
|
|
21
|
+
}
|
|
22
|
+
function yt(t, n, e, r) {
|
|
23
|
+
throw new Bt(t, n, e, r);
|
|
24
|
+
}
|
|
25
|
+
var xt = ((t, n) => {
|
|
26
|
+
let e = new Uint32Array(104448), r = 0, o = 0;
|
|
27
|
+
for (; r < 3701; ) {
|
|
28
|
+
let a = t[r++];
|
|
29
|
+
if (a < 0) o -= a;
|
|
30
|
+
else {
|
|
31
|
+
let s = t[r++];
|
|
32
|
+
a & 2 && (s = n[s]), a & 1 ? e.fill(s, o, o += t[r++]) : e[o++] = s;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
return e;
|
|
36
|
+
})([-1, 2, 26, 2, 27, 2, 5, -1, 0, 77595648, 3, 44, 2, 3, 0, 14, 2, 57, 2, 58, 3, 0, 3, 0, 3168796671, 0, 4294956992, 2, 1, 2, 0, 2, 59, 3, 0, 4, 0, 4294966523, 3, 0, 4, 2, 16, 2, 60, 2, 0, 0, 4294836735, 0, 3221225471, 0, 4294901942, 2, 61, 0, 134152192, 3, 0, 2, 0, 4294951935, 3, 0, 2, 0, 2683305983, 0, 2684354047, 2, 18, 2, 0, 0, 4294961151, 3, 0, 2, 2, 19, 2, 0, 0, 608174079, 2, 0, 2, 54, 2, 7, 2, 6, 0, 4278222591, 3, 0, 2, 2, 1, 3, 0, 3, 0, 4294901711, 2, 40, 0, 4089839103, 0, 2961209759, 0, 1342439375, 0, 4294543342, 0, 3547201023, 0, 1577204103, 0, 4194240, 0, 4294688750, 2, 2, 0, 80831, 0, 4261478351, 0, 4294549486, 2, 2, 0, 2967484831, 0, 196559, 0, 3594373100, 0, 3288319768, 0, 8469959, 2, 200, 2, 3, 0, 4093640191, 0, 660618719, 0, 65487, 0, 4294828015, 0, 4092591615, 0, 1616920031, 0, 982991, 2, 3, 2, 0, 0, 2163244511, 0, 4227923919, 0, 4236247022, 2, 66, 0, 4284449919, 0, 851904, 2, 4, 2, 12, 0, 67076095, -1, 2, 67, 0, 1073741743, 0, 4093607775, -1, 0, 50331649, 0, 3265266687, 2, 33, 0, 4294844415, 0, 4278190047, 2, 20, 2, 133, -1, 3, 0, 2, 2, 23, 2, 0, 2, 10, 2, 0, 2, 15, 2, 22, 3, 0, 10, 2, 69, 2, 0, 2, 70, 2, 71, 2, 72, 2, 0, 2, 73, 2, 0, 2, 11, 0, 261632, 2, 25, 3, 0, 2, 2, 13, 2, 4, 3, 0, 18, 2, 74, 2, 5, 3, 0, 2, 2, 75, 0, 2151677951, 2, 29, 2, 9, 0, 909311, 3, 0, 2, 0, 814743551, 2, 42, 0, 67090432, 3, 0, 2, 2, 41, 2, 0, 2, 6, 2, 0, 2, 30, 2, 8, 0, 268374015, 2, 107, 2, 48, 2, 0, 2, 76, 0, 134153215, -1, 2, 7, 2, 0, 2, 8, 0, 2684354559, 0, 67044351, 0, 3221160064, 2, 17, -1, 3, 0, 2, 0, 67051519, 0, 1046528, 3, 0, 3, 2, 9, 2, 0, 2, 50, 0, 4294960127, 2, 10, 2, 39, 2, 11, 0, 4294377472, 2, 12, 3, 0, 16, 2, 13, 2, 0, 2, 79, 2, 10, 2, 0, 2, 80, 2, 81, 2, 82, 2, 206, 2, 129, 0, 1048577, 2, 83, 2, 14, -1, 2, 14, 0, 131042, 2, 84, 2, 85, 2, 86, 2, 0, 2, 34, -83, 3, 0, 7, 0, 1046559, 2, 0, 2, 15, 2, 0, 0, 2147516671, 2, 21, 3, 87, 2, 2, 0, -16, 2, 88, 0, 524222462, 2, 4, 2, 0, 0, 4269801471, 2, 4, 3, 0, 2, 2, 28, 2, 16, 3, 0, 2, 2, 17, 2, 0, -1, 2, 18, -16, 3, 0, 206, -2, 3, 0, 692, 2, 68, -1, 2, 18, 2, 10, 3, 0, 8, 2, 90, 2, 128, 2, 0, 0, 3220242431, 3, 0, 3, 2, 19, 2, 91, 2, 92, 3, 0, 2, 2, 93, 2, 0, 2, 94, 2, 45, 2, 0, 0, 4351, 2, 0, 2, 9, 3, 0, 2, 0, 67043391, 0, 3909091327, 2, 0, 2, 24, 2, 9, 2, 20, 3, 0, 2, 0, 67076097, 2, 8, 2, 0, 2, 21, 0, 67059711, 0, 4236247039, 3, 0, 2, 0, 939524103, 0, 8191999, 2, 98, 2, 99, 2, 22, 2, 23, 3, 0, 3, 0, 67057663, 3, 0, 349, 2, 100, 2, 101, 2, 7, -264, 3, 0, 11, 2, 24, 3, 0, 2, 2, 32, -1, 0, 3774349439, 2, 102, 2, 103, 3, 0, 2, 2, 19, 2, 104, 3, 0, 10, 2, 10, 2, 18, 2, 0, 2, 46, 2, 0, 2, 31, 2, 105, 2, 25, 0, 1638399, 2, 170, 2, 106, 3, 0, 3, 2, 20, 2, 26, 2, 27, 2, 5, 2, 28, 2, 0, 2, 8, 2, 108, -1, 2, 109, 2, 110, 2, 111, -1, 3, 0, 3, 2, 12, -2, 2, 0, 2, 29, -3, 2, 159, -4, 2, 20, 2, 0, 2, 36, 0, 1, 2, 0, 2, 62, 2, 6, 2, 12, 2, 10, 2, 0, 2, 112, -1, 3, 0, 4, 2, 10, 2, 23, 2, 113, 2, 7, 2, 0, 2, 114, 2, 0, 2, 115, 2, 116, 2, 117, -2, 3, 0, 9, 2, 21, 2, 30, 2, 31, 2, 118, 2, 119, -2, 2, 120, 2, 121, 2, 30, 2, 21, 2, 8, -2, 2, 122, 2, 30, 2, 32, -2, 2, 0, 2, 38, -2, 0, 4277137519, 0, 2269118463, -1, 3, 20, 2, -1, 2, 33, 2, 37, 2, 0, 3, 30, 2, 2, 35, 2, 19, -3, 3, 0, 2, 2, 34, -1, 2, 0, 2, 35, 2, 0, 2, 35, 2, 0, 2, 47, -10, 2, 0, 0, 203775, -1, 2, 164, 2, 20, 2, 43, 2, 36, 2, 18, 2, 77, 2, 18, 2, 123, 2, 21, 3, 0, 2, 2, 37, 0, 2151677888, 2, 0, 2, 12, 0, 4294901764, 2, 140, 2, 0, 2, 52, 2, 51, 0, 5242879, 3, 0, 2, 0, 402644511, -1, 2, 125, 2, 38, 0, 3, -1, 2, 126, 2, 39, 2, 0, 0, 67045375, 2, 40, 0, 4226678271, 0, 3766565279, 0, 2039759, -4, 3, 0, 2, 0, 3288270847, 0, 3, 3, 0, 2, 0, 67043519, -5, 2, 0, 0, 4282384383, 0, 1056964609, -1, 3, 0, 2, 0, 67043345, -1, 2, 0, 2, 41, 2, 42, -1, 2, 11, 2, 55, 2, 37, -5, 2, 0, 2, 12, -3, 3, 0, 2, 0, 2147484671, 2, 130, 0, 4190109695, 2, 49, -2, 2, 131, 0, 4244635647, 0, 27, 2, 0, 2, 8, 2, 43, 2, 0, 2, 63, 2, 18, 2, 0, 2, 41, -8, 2, 53, 2, 44, 0, 67043329, 2, 45, 2, 46, 0, 8388351, -2, 2, 132, 0, 3028287487, 2, 47, 2, 134, 0, 33259519, 2, 42, -9, 2, 21, 0, 4294836223, 0, 3355443199, 0, 67043335, -2, 2, 64, -2, 3, 0, 28, 2, 32, -3, 3, 0, 3, 2, 17, 3, 0, 6, 2, 78, -81, 2, 18, 3, 0, 2, 2, 36, 3, 0, 33, 2, 25, 2, 30, -125, 3, 0, 18, 2, 37, -269, 3, 0, 17, 2, 41, 2, 8, 2, 23, 2, 0, 2, 8, 2, 23, 2, 48, 2, 0, 2, 21, 2, 49, 2, 135, 2, 25, -21, 3, 0, 2, -4, 3, 0, 2, 0, 4294936575, 2, 0, 0, 4294934783, -2, 0, 196635, 3, 0, 191, 2, 50, 3, 0, 38, 2, 30, -1, 2, 34, -278, 2, 136, 3, 0, 9, 2, 137, 2, 138, 2, 51, 3, 0, 11, 2, 7, -72, 3, 0, 3, 2, 139, 0, 1677656575, -147, 2, 0, 2, 24, 2, 37, -16, 0, 4161266656, 0, 4071, 2, 201, -4, 0, 28, -13, 3, 0, 2, 2, 52, 2, 0, 2, 141, 2, 142, 2, 56, 2, 0, 2, 143, 2, 144, 2, 145, 3, 0, 10, 2, 146, 2, 147, 2, 22, 3, 52, 2, 3, 148, 2, 3, 53, 2, 0, 4294954999, 2, 0, -16, 2, 0, 2, 89, 2, 0, 0, 2105343, 0, 4160749584, 2, 174, -34, 2, 8, 2, 150, -6, 0, 4194303871, 0, 4294903771, 2, 0, 2, 54, 2, 97, -3, 2, 0, 0, 1073684479, 0, 17407, -9, 2, 18, 2, 17, 2, 0, 2, 32, -14, 2, 18, 2, 32, -23, 2, 151, 3, 0, 6, 0, 8323103, -1, 3, 0, 2, 2, 55, -37, 2, 56, 2, 152, 2, 153, 2, 154, 2, 155, 2, 156, -105, 2, 26, -32, 3, 0, 1335, -1, 3, 0, 129, 2, 32, 3, 0, 6, 2, 10, 3, 0, 180, 2, 157, 3, 0, 233, 2, 158, 3, 0, 18, 2, 10, -77, 3, 0, 16, 2, 10, -47, 3, 0, 154, 2, 6, 3, 0, 130, 2, 25, -22250, 3, 0, 7, 2, 25, -6130, 3, 5, 2, -1, 0, 69207040, 3, 44, 2, 3, 0, 14, 2, 57, 2, 58, -3, 0, 3168731136, 0, 4294956864, 2, 1, 2, 0, 2, 59, 3, 0, 4, 0, 4294966275, 3, 0, 4, 2, 16, 2, 60, 2, 0, 2, 34, -1, 2, 18, 2, 61, -1, 2, 0, 0, 2047, 0, 4294885376, 3, 0, 2, 0, 3145727, 0, 2617294944, 0, 4294770688, 2, 25, 2, 62, 3, 0, 2, 0, 131135, 2, 95, 0, 70256639, 0, 71303167, 0, 272, 2, 41, 2, 6, 0, 32511, 2, 0, 2, 42, -1, 2, 96, 2, 63, 0, 4278255616, 0, 4294836227, 0, 4294549473, 0, 600178175, 0, 2952806400, 0, 268632067, 0, 4294543328, 0, 57540095, 0, 1577058304, 0, 1835008, 0, 4294688736, 2, 65, 2, 64, 0, 33554435, 2, 127, 2, 65, 2, 160, 0, 131075, 0, 3594373096, 0, 67094296, 2, 64, -1, 0, 4294828e3, 0, 603979263, 0, 654311424, 0, 3, 0, 4294828001, 0, 602930687, 2, 167, 0, 393219, 0, 4294828016, 0, 671088639, 0, 2154840064, 0, 4227858435, 0, 4236247008, 2, 66, 2, 37, -1, 2, 4, 0, 917503, 2, 37, -1, 2, 67, 0, 537788335, 0, 4026531935, -1, 0, 1, -1, 2, 33, 2, 68, 0, 7936, -3, 2, 0, 0, 2147485695, 0, 1010761728, 0, 4292984930, 0, 16387, 2, 0, 2, 15, 2, 22, 3, 0, 10, 2, 69, 2, 0, 2, 70, 2, 71, 2, 72, 2, 0, 2, 73, 2, 0, 2, 12, -1, 2, 25, 3, 0, 2, 2, 13, 2, 4, 3, 0, 18, 2, 74, 2, 5, 3, 0, 2, 2, 75, 0, 2147745791, 3, 19, 2, 0, 122879, 2, 0, 2, 9, 0, 276824064, -2, 3, 0, 2, 2, 41, 2, 0, 0, 4294903295, 2, 0, 2, 30, 2, 8, -1, 2, 18, 2, 48, 2, 0, 2, 76, 2, 42, -1, 2, 21, 2, 0, 2, 29, -2, 0, 128, -2, 2, 28, 2, 9, 0, 8160, -1, 2, 124, 0, 4227907585, 2, 0, 2, 77, 2, 0, 2, 78, 2, 180, 2, 10, 2, 39, 2, 11, -1, 0, 74440192, 3, 0, 6, -2, 3, 0, 8, 2, 13, 2, 0, 2, 79, 2, 10, 2, 0, 2, 80, 2, 81, 2, 82, -3, 2, 83, 2, 14, -3, 2, 84, 2, 85, 2, 86, 2, 0, 2, 34, -83, 3, 0, 7, 0, 817183, 2, 0, 2, 15, 2, 0, 0, 33023, 2, 21, 3, 87, 2, -17, 2, 88, 0, 524157950, 2, 4, 2, 0, 2, 89, 2, 4, 2, 0, 2, 22, 2, 28, 2, 16, 3, 0, 2, 2, 17, 2, 0, -1, 2, 18, -16, 3, 0, 206, -2, 3, 0, 692, 2, 68, -1, 2, 18, 2, 10, 3, 0, 8, 2, 90, 0, 3072, 2, 0, 0, 2147516415, 2, 10, 3, 0, 2, 2, 25, 2, 91, 2, 92, 3, 0, 2, 2, 93, 2, 0, 2, 94, 2, 45, 0, 4294965179, 0, 7, 2, 0, 2, 9, 2, 92, 2, 9, -1, 0, 1761345536, 2, 95, 0, 4294901823, 2, 37, 2, 20, 2, 96, 2, 35, 2, 97, 0, 2080440287, 2, 0, 2, 34, 2, 149, 0, 3296722943, 2, 0, 0, 1046675455, 0, 939524101, 0, 1837055, 2, 98, 2, 99, 2, 22, 2, 23, 3, 0, 3, 0, 7, 3, 0, 349, 2, 100, 2, 101, 2, 7, -264, 3, 0, 11, 2, 24, 3, 0, 2, 2, 32, -1, 0, 2700607615, 2, 102, 2, 103, 3, 0, 2, 2, 19, 2, 104, 3, 0, 10, 2, 10, 2, 18, 2, 0, 2, 46, 2, 0, 2, 31, 2, 105, -3, 2, 106, 3, 0, 3, 2, 20, -1, 3, 5, 2, 2, 107, 2, 0, 2, 8, 2, 108, -1, 2, 109, 2, 110, 2, 111, -1, 3, 0, 3, 2, 12, -2, 2, 0, 2, 29, -8, 2, 20, 2, 0, 2, 36, -1, 2, 0, 2, 62, 2, 6, 2, 30, 2, 10, 2, 0, 2, 112, -1, 3, 0, 4, 2, 10, 2, 18, 2, 113, 2, 7, 2, 0, 2, 114, 2, 0, 2, 115, 2, 116, 2, 117, -2, 3, 0, 9, 2, 21, 2, 30, 2, 31, 2, 118, 2, 119, -2, 2, 120, 2, 121, 2, 30, 2, 21, 2, 8, -2, 2, 122, 2, 30, 2, 32, -2, 2, 0, 2, 38, -2, 0, 4277075969, 2, 30, -1, 3, 20, 2, -1, 2, 33, 2, 123, 2, 0, 3, 30, 2, 2, 35, 2, 19, -3, 3, 0, 2, 2, 34, -1, 2, 0, 2, 35, 2, 0, 2, 35, 2, 0, 2, 78, -10, 2, 0, 0, 197631, -2, 2, 20, 2, 43, 2, 77, 2, 18, 0, 3, 2, 18, 2, 123, 2, 21, 2, 124, 2, 50, -1, 0, 2490368, 2, 124, 2, 25, 2, 18, 2, 34, 2, 124, 2, 37, 0, 4294901904, 0, 4718591, 2, 124, 2, 35, 0, 335544350, -1, 2, 125, 0, 2147487743, 0, 1, -1, 2, 126, 2, 39, 2, 8, -1, 2, 127, 2, 65, 0, 3758161920, 0, 3, -4, 2, 0, 2, 29, 0, 2147485568, 0, 3, 2, 0, 2, 25, 0, 176, -5, 2, 0, 2, 17, 2, 188, -1, 2, 0, 2, 25, 2, 205, -1, 2, 0, 0, 16779263, -2, 2, 12, -1, 2, 37, -5, 2, 0, 2, 128, -3, 3, 0, 2, 2, 129, 2, 130, 0, 2147549183, 0, 2, -2, 2, 131, 2, 36, 0, 10, 0, 4294965249, 0, 67633151, 0, 4026597376, 2, 0, 0, 536871935, 2, 18, 2, 0, 2, 41, -8, 2, 53, 2, 17, 0, 1, 2, 45, 2, 25, -3, 2, 132, 2, 36, 2, 133, 2, 134, 0, 16778239, -10, 2, 35, 0, 4294836212, 2, 9, -3, 2, 64, -2, 3, 0, 28, 2, 32, -3, 3, 0, 3, 2, 17, 3, 0, 6, 2, 78, -81, 2, 18, 3, 0, 2, 2, 36, 3, 0, 33, 2, 25, 0, 126, -125, 3, 0, 18, 2, 37, -269, 3, 0, 17, 2, 41, 2, 8, 2, 18, 2, 0, 2, 8, 2, 18, 2, 54, 2, 0, 2, 25, 2, 78, 2, 135, 2, 25, -21, 3, 0, 2, -4, 3, 0, 2, 0, 67583, -1, 2, 104, -2, 0, 11, 3, 0, 191, 2, 50, 3, 0, 38, 2, 30, -1, 2, 34, -278, 2, 136, 3, 0, 9, 2, 137, 2, 138, 2, 51, 3, 0, 11, 2, 7, -72, 3, 0, 3, 2, 139, 2, 140, -187, 3, 0, 2, 2, 52, 2, 0, 2, 141, 2, 142, 2, 56, 2, 0, 2, 143, 2, 144, 2, 145, 3, 0, 10, 2, 146, 2, 147, 2, 22, 3, 52, 2, 3, 148, 2, 3, 53, 2, 2, 149, -57, 2, 8, 2, 150, -7, 2, 18, 2, 0, 2, 54, -4, 2, 0, 0, 1065361407, 0, 16384, -9, 2, 18, 2, 54, 2, 0, 2, 128, -14, 2, 18, 2, 128, -23, 2, 151, 3, 0, 6, 2, 123, -1, 3, 0, 2, 0, 2063, -37, 2, 56, 2, 152, 2, 153, 2, 154, 2, 155, 2, 156, -138, 3, 0, 1335, -1, 3, 0, 129, 2, 32, 3, 0, 6, 2, 10, 3, 0, 180, 2, 157, 3, 0, 233, 2, 158, 3, 0, 18, 2, 10, -77, 3, 0, 16, 2, 10, -47, 3, 0, 154, 2, 6, 3, 0, 130, 2, 25, -28386, 2, 0, 0, 1, -1, 2, 129, 2, 0, 0, 8193, -21, 2, 198, 0, 10255, 0, 4, -11, 2, 64, 2, 179, -1, 0, 71680, -1, 2, 171, 0, 4292900864, 0, 268435519, -5, 2, 159, -1, 2, 169, -1, 0, 6144, -2, 2, 45, -1, 2, 163, -1, 0, 2147532800, 2, 160, 2, 166, 0, 16744448, -2, 0, 4, -4, 2, 194, 0, 205128192, 0, 1333757536, 0, 2147483696, 0, 423953, 0, 747766272, 0, 2717763192, 0, 4286578751, 0, 278545, 2, 161, 0, 4294886464, 0, 33292336, 0, 417809, 2, 161, 0, 1327482464, 0, 4278190128, 0, 700594195, 0, 1006647527, 0, 4286497336, 0, 4160749631, 2, 162, 0, 201327104, 0, 3634348576, 0, 8323120, 2, 162, 0, 202375680, 0, 2678047264, 0, 4293984304, 2, 162, -1, 0, 983584, 0, 48, 0, 58720273, 0, 3489923072, 0, 10517376, 0, 4293066815, 0, 1, 0, 2013265920, 2, 182, 2, 0, 0, 2089, 0, 3221225552, 0, 201359520, 2, 0, -2, 0, 256, 0, 122880, 0, 16777216, 2, 159, 0, 4160757760, 2, 0, -6, 2, 176, -11, 0, 3263218176, -1, 0, 49664, 0, 2160197632, 0, 8388802, -1, 0, 12713984, -1, 2, 163, 2, 164, 2, 183, -2, 2, 172, -20, 0, 3758096385, -2, 2, 165, 2, 191, 2, 91, 2, 177, 0, 4294057984, -2, 2, 173, 2, 168, 0, 4227874816, -2, 2, 165, -1, 2, 166, -1, 2, 178, 2, 129, 0, 4026593280, 0, 14, 0, 4292919296, -1, 2, 175, 0, 939588608, -1, 0, 805306368, -1, 2, 129, 2, 167, 2, 168, 2, 169, 2, 207, 2, 0, -2, 2, 170, 2, 129, -3, 0, 267386880, -1, 0, 117440512, 0, 7168, -1, 2, 210, 2, 163, 2, 171, 2, 184, -16, 2, 172, -1, 0, 1426112704, 2, 173, -1, 2, 192, 0, 271581216, 0, 2149777408, 2, 25, 2, 171, 2, 129, 0, 851967, 2, 185, -1, 2, 174, 2, 186, -4, 2, 175, -20, 2, 197, 2, 204, -56, 0, 3145728, 2, 187, -10, 0, 32505856, -1, 2, 176, -1, 0, 2147385088, 2, 91, 1, 2155905152, 2, -3, 2, 173, 2, 0, 0, 67108864, -2, 2, 177, -6, 2, 178, 2, 25, 0, 1, -1, 0, 1, -1, 2, 179, -3, 2, 123, 2, 64, -2, 2, 97, -2, 0, 32752, 2, 129, -915, 2, 170, -1, 2, 203, -10, 2, 190, -5, 2, 181, -6, 0, 4229232640, 2, 19, -1, 2, 180, -1, 2, 181, -2, 0, 4227874752, -3, 0, 2146435072, 2, 164, -2, 0, 1006649344, 2, 129, -1, 2, 91, 0, 201375744, -3, 0, 134217720, 2, 91, 0, 4286677377, 0, 32896, -1, 2, 175, -3, 0, 4227907584, -349, 0, 65520, 0, 1920, 2, 182, 3, 0, 264, -11, 2, 169, -2, 2, 183, 2, 0, 0, 520617856, 0, 2692743168, 0, 36, -3, 0, 524280, -13, 2, 189, -1, 0, 4294934272, 2, 25, 2, 183, -1, 2, 213, 0, 2158720, -3, 2, 164, 0, 1, -4, 2, 129, 0, 3808625411, 0, 3489628288, 0, 4096, 0, 1207959680, 0, 3221274624, 2, 0, -3, 2, 184, 0, 120, 0, 7340032, -2, 2, 185, 2, 4, 2, 25, 2, 173, 3, 0, 4, 2, 164, -1, 2, 186, 2, 182, -1, 0, 8176, 2, 166, 2, 184, 2, 211, -1, 0, 4290773232, 2, 0, -4, 2, 173, 2, 193, 0, 15728640, 2, 182, -1, 2, 171, -1, 0, 134250480, 0, 4720640, 0, 3825467396, 3, 0, 2, -9, 2, 91, 2, 178, 0, 4294967040, 2, 133, 0, 4160880640, 3, 0, 2, 0, 704, 0, 1849688064, 2, 187, -1, 2, 129, 0, 4294901887, 2, 0, 0, 130547712, 0, 1879048192, 2, 208, 3, 0, 2, -1, 2, 188, 2, 189, -1, 0, 17829776, 0, 2025848832, 2, 212, -2, 2, 0, -1, 0, 4286580608, -1, 0, 29360128, 2, 196, 0, 16252928, 0, 3791388672, 2, 39, 3, 0, 2, -2, 2, 202, 2, 0, -1, 2, 104, -1, 0, 66584576, -1, 2, 195, 3, 0, 9, 2, 129, -1, 0, 4294755328, 2, 0, 2, 20, -1, 2, 171, 2, 183, 2, 25, 2, 95, 2, 25, 2, 190, 2, 91, -2, 0, 245760, 2, 191, -1, 2, 159, 2, 199, 0, 4227923456, -1, 2, 192, 2, 171, 2, 91, -3, 0, 4292870145, 0, 262144, -1, 2, 92, 2, 0, 0, 1073758848, 2, 193, -1, 0, 4227921920, 2, 194, 0, 68289024, 0, 528402016, 0, 4292927536, 3, 0, 4, -2, 0, 268435456, 2, 92, -2, 2, 195, 3, 0, 5, -1, 2, 196, 2, 173, 2, 0, -2, 0, 4227923936, 2, 62, -1, 2, 183, 2, 95, 2, 0, 2, 163, 2, 175, 2, 197, 3, 0, 5, -1, 2, 182, 3, 0, 3, -2, 0, 2146959360, 0, 9440640, 0, 104857600, 0, 4227923840, 3, 0, 2, 0, 768, 2, 198, 2, 28, -2, 2, 171, -2, 2, 199, -1, 2, 165, 2, 95, 3, 0, 7, 0, 512, 0, 8388608, 2, 200, 2, 170, 2, 189, 0, 4286578944, 3, 0, 2, 0, 1152, 0, 1266679808, 2, 195, 0, 576, 0, 4261707776, 2, 95, 3, 0, 9, 2, 165, 0, 131072, 0, 939524096, 2, 183, 3, 0, 2, 2, 16, -1, 0, 2147221504, -28, 2, 183, 3, 0, 3, -3, 0, 4292902912, -6, 2, 96, 3, 0, 81, 2, 25, -2, 2, 104, -33, 2, 18, 2, 178, 3, 0, 125, -18, 2, 197, 3, 0, 269, -17, 2, 165, 2, 129, 2, 201, -1, 2, 129, 2, 193, 0, 4290822144, -2, 0, 67174336, 0, 520093700, 2, 18, 3, 0, 21, -2, 2, 184, 3, 0, 3, -2, 0, 30720, -1, 0, 32512, 3, 0, 2, 0, 4294770656, -191, 2, 181, -38, 2, 178, 2, 0, 2, 202, 3, 0, 278, 0, 2417033215, -9, 0, 4294705144, 0, 4292411391, 0, 65295, -11, 2, 182, 3, 0, 72, -3, 0, 3758159872, 0, 201391616, 3, 0, 147, -1, 2, 169, 2, 203, -3, 2, 96, 2, 0, -7, 2, 178, -1, 0, 384, -1, 0, 133693440, -3, 2, 204, -2, 2, 107, 3, 0, 3, 3, 177, 2, -2, 2, 91, 2, 165, 3, 0, 4, -2, 2, 192, -1, 2, 159, 0, 335552923, 2, 205, -1, 0, 538974272, 0, 2214592512, 0, 132e3, -10, 0, 192, -8, 2, 206, -21, 0, 134213632, 2, 158, 3, 0, 34, 2, 129, 0, 4294965279, 3, 0, 6, 0, 100663424, 0, 63524, -1, 2, 209, 2, 148, 3, 0, 3, -1, 0, 3221282816, 0, 4294917120, 3, 0, 9, 2, 25, 2, 207, -1, 2, 208, 3, 0, 14, 2, 25, 2, 183, 3, 0, 23, 0, 2147520640, -6, 0, 4286578784, 2, 0, -2, 0, 1006694400, 3, 0, 24, 2, 36, -1, 0, 4292870144, 3, 0, 2, 0, 1, 2, 173, 3, 0, 6, 2, 205, 0, 4110942569, 0, 1432950139, 0, 2701658217, 0, 4026532864, 0, 4026532881, 2, 0, 2, 46, 3, 0, 8, -1, 2, 175, -2, 2, 177, 0, 98304, 0, 65537, 2, 178, -5, 2, 209, 2, 0, 2, 77, 2, 199, 2, 182, 0, 4294770176, 2, 107, 3, 0, 4, -30, 2, 188, 0, 3758153728, -3, 0, 125829120, -2, 2, 183, 0, 4294897664, 2, 175, -1, 2, 195, -1, 2, 171, 0, 4294754304, 3, 0, 2, -10, 2, 177, 0, 3758145536, 2, 210, 2, 211, 0, 4026548160, 2, 212, -4, 2, 213, -1, 2, 204, 0, 4227923967, 3, 0, 32, -1335, 2, 0, -129, 2, 183, -6, 2, 173, -180, 0, 65532, -233, 2, 174, -18, 2, 173, 3, 0, 77, -16, 2, 173, 3, 0, 47, -154, 2, 166, -130, 2, 18, 3, 0, 22250, -7, 2, 18, 3, 0, 6128], [4294967295, 4294967291, 4092460543, 4294828031, 4294967294, 134217726, 4294903807, 268435455, 2147483647, 1048575, 1073741823, 3892314111, 134217727, 1061158911, 536805376, 4294910143, 4294901759, 32767, 4294901760, 262143, 536870911, 8388607, 4160749567, 4294902783, 4294918143, 65535, 67043328, 2281701374, 4294967264, 2097151, 4194303, 255, 67108863, 4294967039, 511, 524287, 131071, 127, 3238002687, 4294902271, 4294549487, 33554431, 1023, 4294901888, 4286578687, 4294705152, 4294770687, 67043583, 2047999, 67043343, 16777215, 4294902e3, 4292870143, 4294966783, 16383, 67047423, 4294967279, 262083, 20511, 4290772991, 41943039, 493567, 4294959104, 603979775, 65536, 602799615, 805044223, 4294965206, 8191, 1031749119, 4294917631, 2134769663, 4286578493, 4282253311, 4294942719, 33540095, 4294905855, 63, 15, 2868854591, 1608515583, 265232348, 534519807, 2147614720, 1060109444, 4093640016, 17376, 2139062143, 224, 4169138175, 4294909951, 4286578688, 4294967292, 4294965759, 65734655, 4294966272, 4294967280, 32768, 8289918, 4294934399, 4294901775, 4294965375, 1602223615, 4294967259, 4294443008, 268369920, 4292804608, 4294967232, 486341884, 4294963199, 3087007615, 1073692671, 4128527, 4279238655, 4294902015, 4160684047, 4290246655, 469499899, 4294967231, 134086655, 4294966591, 2445279231, 3670015, 31, 4294967288, 4294705151, 3221208447, 4294549472, 4095, 2147483648, 4285526655, 4294966527, 4294966143, 64, 4294966719, 3774873592, 1877934080, 262151, 2555904, 536807423, 67043839, 3758096383, 3959414372, 3755993023, 2080374783, 4294835295, 4294967103, 4160749565, 4294934527, 4087, 2016, 2147446655, 184024726, 2862017156, 1593309078, 268434431, 268434414, 4294901763, 4294901761, 536870912, 2952790016, 202506752, 139264, 402653184, 3758096384, 4261412864, 63488, 1610612736, 4227922944, 49152, 57344, 65280, 3233808384, 3221225472, 65534, 61440, 57152, 4293918720, 4290772992, 25165824, 4227915776, 4278190080, 4026531840, 4227858432, 4160749568, 3758129152, 4294836224, 4194304, 251658240, 196608, 4294963200, 2143289344, 2097152, 64512, 417808, 4227923712, 12582912, 4294967168, 50331648, 65528, 65472, 15360, 4294966784, 65408, 4294965248, 16, 12288, 4294934528, 2080374784, 4294950912, 65024, 1073741824, 4261477888, 524288]);
|
|
37
|
+
function u(t) {
|
|
38
|
+
return t.column++, t.currentChar = t.source.charCodeAt(++t.index);
|
|
39
|
+
}
|
|
40
|
+
function k2(t, n) {
|
|
41
|
+
if ((n & 64512) !== 55296) return 0;
|
|
42
|
+
let e = t.source.charCodeAt(t.index + 1);
|
|
43
|
+
return (e & 64512) !== 56320 ? 0 : (n = t.currentChar = 65536 + ((n & 1023) << 10) + (e & 1023), xt[(n >>> 5) + 0] >>> n & 31 & 1 || p(t, 18, Q(n)), t.index++, t.column++, 1);
|
|
44
|
+
}
|
|
45
|
+
function Zt(t, n) {
|
|
46
|
+
t.currentChar = t.source.charCodeAt(++t.index), t.flags |= 1, n & 4 || (t.column = 0, t.line++);
|
|
47
|
+
}
|
|
48
|
+
function lt(t) {
|
|
49
|
+
t.flags |= 1, t.currentChar = t.source.charCodeAt(++t.index), t.column = 0, t.line++;
|
|
50
|
+
}
|
|
51
|
+
function f2(t) {
|
|
52
|
+
return t === 160 || t === 65279 || t === 133 || t === 5760 || t >= 8192 && t <= 8203 || t === 8239 || t === 8287 || t === 12288 || t === 8201 || t === 65519;
|
|
53
|
+
}
|
|
54
|
+
function Q(t) {
|
|
55
|
+
return t <= 65535 ? String.fromCharCode(t) : String.fromCharCode(t >>> 10) + String.fromCharCode(t & 1023);
|
|
56
|
+
}
|
|
57
|
+
function q(t) {
|
|
58
|
+
return t < 65 ? t - 48 : t - 65 + 10 & 15;
|
|
59
|
+
}
|
|
60
|
+
function m2(t) {
|
|
61
|
+
switch (t) {
|
|
62
|
+
case 134283266:
|
|
63
|
+
return "NumericLiteral";
|
|
64
|
+
case 134283267:
|
|
65
|
+
return "StringLiteral";
|
|
66
|
+
case 86021:
|
|
67
|
+
case 86022:
|
|
68
|
+
return "BooleanLiteral";
|
|
69
|
+
case 86023:
|
|
70
|
+
return "NullLiteral";
|
|
71
|
+
case 65540:
|
|
72
|
+
return "RegularExpression";
|
|
73
|
+
case 67174408:
|
|
74
|
+
case 67174409:
|
|
75
|
+
case 132:
|
|
76
|
+
return "TemplateLiteral";
|
|
77
|
+
default:
|
|
78
|
+
return (t & 143360) === 143360 ? "Identifier" : (t & 4096) === 4096 ? "Keyword" : "Punctuator";
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
var D = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1032, 0, 0, 2056, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8192, 0, 3, 0, 0, 8192, 0, 0, 0, 256, 0, 33024, 0, 0, 242, 242, 114, 114, 114, 114, 114, 114, 594, 594, 0, 0, 16384, 0, 0, 0, 0, 67, 67, 67, 67, 67, 67, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 0, 1, 0, 0, 4099, 0, 71, 71, 71, 71, 71, 71, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 16384, 0, 0, 0, 0], y2 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0], Dn = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0];
|
|
82
|
+
function $t(t) {
|
|
83
|
+
return t <= 127 ? y2[t] : xt[(t >>> 5) + 34816] >>> t & 31 & 1;
|
|
84
|
+
}
|
|
85
|
+
function Lt(t) {
|
|
86
|
+
return t <= 127 ? Dn[t] : xt[(t >>> 5) + 0] >>> t & 31 & 1 || t === 8204 || t === 8205;
|
|
87
|
+
}
|
|
88
|
+
var Vn = ["SingleLine", "MultiLine", "HTMLOpen", "HTMLClose", "HashbangComment"];
|
|
89
|
+
function u2(t) {
|
|
90
|
+
let n = t.source;
|
|
91
|
+
t.currentChar === 35 && n.charCodeAt(t.index + 1) === 33 && (u(t), u(t), tn(t, n, 0, 4, t.tokenPos, t.linePos, t.colPos));
|
|
92
|
+
}
|
|
93
|
+
function yn(t, n, e, r, o, a, s, i) {
|
|
94
|
+
return r & 2048 && p(t, 0), tn(t, n, e, o, a, s, i);
|
|
95
|
+
}
|
|
96
|
+
function tn(t, n, e, r, o, a, s) {
|
|
97
|
+
let { index: i } = t;
|
|
98
|
+
for (t.tokenPos = t.index, t.linePos = t.line, t.colPos = t.column; t.index < t.end; ) {
|
|
99
|
+
if (D[t.currentChar] & 8) {
|
|
100
|
+
let l = t.currentChar === 13;
|
|
101
|
+
lt(t), l && t.index < t.end && t.currentChar === 10 && (t.currentChar = n.charCodeAt(++t.index));
|
|
102
|
+
break;
|
|
103
|
+
} else if ((t.currentChar ^ 8232) <= 1) {
|
|
104
|
+
lt(t);
|
|
105
|
+
break;
|
|
106
|
+
}
|
|
107
|
+
u(t), t.tokenPos = t.index, t.linePos = t.line, t.colPos = t.column;
|
|
108
|
+
}
|
|
109
|
+
if (t.onComment) {
|
|
110
|
+
let l = { start: { line: a, column: s }, end: { line: t.linePos, column: t.colPos } };
|
|
111
|
+
t.onComment(Vn[r & 255], n.slice(i, t.tokenPos), o, t.tokenPos, l);
|
|
112
|
+
}
|
|
113
|
+
return e | 1;
|
|
114
|
+
}
|
|
115
|
+
function g2(t, n, e) {
|
|
116
|
+
let { index: r } = t;
|
|
117
|
+
for (; t.index < t.end; ) if (t.currentChar < 43) {
|
|
118
|
+
let o = !1;
|
|
119
|
+
for (; t.currentChar === 42; ) if (o || (e &= -5, o = !0), u(t) === 47) {
|
|
120
|
+
if (u(t), t.onComment) {
|
|
121
|
+
let a = { start: { line: t.linePos, column: t.colPos }, end: { line: t.line, column: t.column } };
|
|
122
|
+
t.onComment(Vn[1], n.slice(r, t.index - 2), r - 2, t.index, a);
|
|
123
|
+
}
|
|
124
|
+
return t.tokenPos = t.index, t.linePos = t.line, t.colPos = t.column, e;
|
|
125
|
+
}
|
|
126
|
+
if (o) continue;
|
|
127
|
+
D[t.currentChar] & 8 ? t.currentChar === 13 ? (e |= 5, lt(t)) : (Zt(t, e), e = e & -5 | 1) : u(t);
|
|
128
|
+
} else (t.currentChar ^ 8232) <= 1 ? (e = e & -5 | 1, lt(t)) : (e &= -5, u(t));
|
|
129
|
+
p(t, 16);
|
|
130
|
+
}
|
|
131
|
+
function P2(t, n) {
|
|
132
|
+
let e = t.index, r = 0;
|
|
133
|
+
t: for (; ; ) {
|
|
134
|
+
let f = t.currentChar;
|
|
135
|
+
if (u(t), r & 1) r &= -2;
|
|
136
|
+
else switch (f) {
|
|
137
|
+
case 47:
|
|
138
|
+
if (r) break;
|
|
139
|
+
break t;
|
|
140
|
+
case 92:
|
|
141
|
+
r |= 1;
|
|
142
|
+
break;
|
|
143
|
+
case 91:
|
|
144
|
+
r |= 2;
|
|
145
|
+
break;
|
|
146
|
+
case 93:
|
|
147
|
+
r &= 1;
|
|
148
|
+
break;
|
|
149
|
+
case 13:
|
|
150
|
+
case 10:
|
|
151
|
+
case 8232:
|
|
152
|
+
case 8233:
|
|
153
|
+
p(t, 32);
|
|
154
|
+
}
|
|
155
|
+
if (t.index >= t.source.length) return p(t, 32);
|
|
156
|
+
}
|
|
157
|
+
let o = t.index - 1, a = 0, s = t.currentChar, { index: i } = t;
|
|
158
|
+
for (; Lt(s); ) {
|
|
159
|
+
switch (s) {
|
|
160
|
+
case 103:
|
|
161
|
+
a & 2 && p(t, 34, "g"), a |= 2;
|
|
162
|
+
break;
|
|
163
|
+
case 105:
|
|
164
|
+
a & 1 && p(t, 34, "i"), a |= 1;
|
|
165
|
+
break;
|
|
166
|
+
case 109:
|
|
167
|
+
a & 4 && p(t, 34, "m"), a |= 4;
|
|
168
|
+
break;
|
|
169
|
+
case 117:
|
|
170
|
+
a & 16 && p(t, 34, "u"), a |= 16;
|
|
171
|
+
break;
|
|
172
|
+
case 121:
|
|
173
|
+
a & 8 && p(t, 34, "y"), a |= 8;
|
|
174
|
+
break;
|
|
175
|
+
case 115:
|
|
176
|
+
a & 32 && p(t, 34, "s"), a |= 32;
|
|
177
|
+
break;
|
|
178
|
+
case 100:
|
|
179
|
+
a & 64 && p(t, 34, "d"), a |= 64;
|
|
180
|
+
break;
|
|
181
|
+
default:
|
|
182
|
+
p(t, 33);
|
|
183
|
+
}
|
|
184
|
+
s = u(t);
|
|
185
|
+
}
|
|
186
|
+
let l = t.source.slice(i, t.index), k = t.source.slice(e, o);
|
|
187
|
+
return t.tokenRegExp = { pattern: k, flags: l }, n & 512 && (t.tokenRaw = t.source.slice(t.tokenPos, t.index)), t.tokenValue = b2(t, k, l), 65540;
|
|
188
|
+
}
|
|
189
|
+
function b2(t, n, e) {
|
|
190
|
+
try {
|
|
191
|
+
return new RegExp(n, e);
|
|
192
|
+
} catch {
|
|
193
|
+
try {
|
|
194
|
+
return new RegExp(n, e.replace("d", "")), null;
|
|
195
|
+
} catch {
|
|
196
|
+
p(t, 32);
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
function h2(t, n, e) {
|
|
201
|
+
let { index: r } = t, o = "", a = u(t), s = t.index;
|
|
202
|
+
for (; !(D[a] & 8); ) {
|
|
203
|
+
if (a === e) return o += t.source.slice(s, t.index), u(t), n & 512 && (t.tokenRaw = t.source.slice(r, t.index)), t.tokenValue = o, 134283267;
|
|
204
|
+
if ((a & 8) === 8 && a === 92) {
|
|
205
|
+
if (o += t.source.slice(s, t.index), a = u(t), a < 127 || a === 8232 || a === 8233) {
|
|
206
|
+
let i = Ln(t, n, a);
|
|
207
|
+
i >= 0 ? o += Q(i) : Mn(t, i, 0);
|
|
208
|
+
} else o += Q(a);
|
|
209
|
+
s = t.index + 1;
|
|
210
|
+
}
|
|
211
|
+
t.index >= t.end && p(t, 14), a = u(t);
|
|
212
|
+
}
|
|
213
|
+
p(t, 14);
|
|
214
|
+
}
|
|
215
|
+
function Ln(t, n, e) {
|
|
216
|
+
switch (e) {
|
|
217
|
+
case 98:
|
|
218
|
+
return 8;
|
|
219
|
+
case 102:
|
|
220
|
+
return 12;
|
|
221
|
+
case 114:
|
|
222
|
+
return 13;
|
|
223
|
+
case 110:
|
|
224
|
+
return 10;
|
|
225
|
+
case 116:
|
|
226
|
+
return 9;
|
|
227
|
+
case 118:
|
|
228
|
+
return 11;
|
|
229
|
+
case 13:
|
|
230
|
+
if (t.index < t.end) {
|
|
231
|
+
let r = t.source.charCodeAt(t.index + 1);
|
|
232
|
+
r === 10 && (t.index = t.index + 1, t.currentChar = r);
|
|
233
|
+
}
|
|
234
|
+
case 10:
|
|
235
|
+
case 8232:
|
|
236
|
+
case 8233:
|
|
237
|
+
return t.column = -1, t.line++, -1;
|
|
238
|
+
case 48:
|
|
239
|
+
case 49:
|
|
240
|
+
case 50:
|
|
241
|
+
case 51: {
|
|
242
|
+
let r = e - 48, o = t.index + 1, a = t.column + 1;
|
|
243
|
+
if (o < t.end) {
|
|
244
|
+
let s = t.source.charCodeAt(o);
|
|
245
|
+
if (D[s] & 32) {
|
|
246
|
+
if (n & 1024) return -2;
|
|
247
|
+
if (t.currentChar = s, r = r << 3 | s - 48, o++, a++, o < t.end) {
|
|
248
|
+
let i = t.source.charCodeAt(o);
|
|
249
|
+
D[i] & 32 && (t.currentChar = i, r = r << 3 | i - 48, o++, a++);
|
|
250
|
+
}
|
|
251
|
+
t.flags |= 64, t.index = o - 1, t.column = a - 1;
|
|
252
|
+
} else if ((r !== 0 || D[s] & 512) && n & 1024) return -2;
|
|
253
|
+
}
|
|
254
|
+
return r;
|
|
255
|
+
}
|
|
256
|
+
case 52:
|
|
257
|
+
case 53:
|
|
258
|
+
case 54:
|
|
259
|
+
case 55: {
|
|
260
|
+
if (n & 1024) return -2;
|
|
261
|
+
let r = e - 48, o = t.index + 1, a = t.column + 1;
|
|
262
|
+
if (o < t.end) {
|
|
263
|
+
let s = t.source.charCodeAt(o);
|
|
264
|
+
D[s] & 32 && (r = r << 3 | s - 48, t.currentChar = s, t.index = o, t.column = a);
|
|
265
|
+
}
|
|
266
|
+
return t.flags |= 64, r;
|
|
267
|
+
}
|
|
268
|
+
case 120: {
|
|
269
|
+
let r = u(t);
|
|
270
|
+
if (!(D[r] & 64)) return -4;
|
|
271
|
+
let o = q(r), a = u(t);
|
|
272
|
+
if (!(D[a] & 64)) return -4;
|
|
273
|
+
let s = q(a);
|
|
274
|
+
return o << 4 | s;
|
|
275
|
+
}
|
|
276
|
+
case 117: {
|
|
277
|
+
let r = u(t);
|
|
278
|
+
if (t.currentChar === 123) {
|
|
279
|
+
let o = 0;
|
|
280
|
+
for (; D[u(t)] & 64; ) if (o = o << 4 | q(t.currentChar), o > 1114111) return -5;
|
|
281
|
+
return t.currentChar < 1 || t.currentChar !== 125 ? -4 : o;
|
|
282
|
+
} else {
|
|
283
|
+
if (!(D[r] & 64)) return -4;
|
|
284
|
+
let o = t.source.charCodeAt(t.index + 1);
|
|
285
|
+
if (!(D[o] & 64)) return -4;
|
|
286
|
+
let a = t.source.charCodeAt(t.index + 2);
|
|
287
|
+
if (!(D[a] & 64)) return -4;
|
|
288
|
+
let s = t.source.charCodeAt(t.index + 3);
|
|
289
|
+
return D[s] & 64 ? (t.index += 3, t.column += 3, t.currentChar = t.source.charCodeAt(t.index), q(r) << 12 | q(o) << 8 | q(a) << 4 | q(s)) : -4;
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
case 56:
|
|
293
|
+
case 57:
|
|
294
|
+
if (!(n & 256)) return -3;
|
|
295
|
+
default:
|
|
296
|
+
return e;
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
function Mn(t, n, e) {
|
|
300
|
+
switch (n) {
|
|
301
|
+
case -1:
|
|
302
|
+
return;
|
|
303
|
+
case -2:
|
|
304
|
+
p(t, e ? 2 : 1);
|
|
305
|
+
case -3:
|
|
306
|
+
p(t, 13);
|
|
307
|
+
case -4:
|
|
308
|
+
p(t, 6);
|
|
309
|
+
case -5:
|
|
310
|
+
p(t, 102);
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
function Nn(t, n) {
|
|
314
|
+
let { index: e } = t, r = 67174409, o = "", a = u(t);
|
|
315
|
+
for (; a !== 96; ) {
|
|
316
|
+
if (a === 36 && t.source.charCodeAt(t.index + 1) === 123) {
|
|
317
|
+
u(t), r = 67174408;
|
|
318
|
+
break;
|
|
319
|
+
} else if ((a & 8) === 8 && a === 92) if (a = u(t), a > 126) o += Q(a);
|
|
320
|
+
else {
|
|
321
|
+
let s = Ln(t, n | 1024, a);
|
|
322
|
+
if (s >= 0) o += Q(s);
|
|
323
|
+
else if (s !== -1 && n & 65536) {
|
|
324
|
+
o = void 0, a = x2(t, a), a < 0 && (r = 67174408);
|
|
325
|
+
break;
|
|
326
|
+
} else Mn(t, s, 1);
|
|
327
|
+
}
|
|
328
|
+
else t.index < t.end && a === 13 && t.source.charCodeAt(t.index) === 10 && (o += Q(a), t.currentChar = t.source.charCodeAt(++t.index)), ((a & 83) < 3 && a === 10 || (a ^ 8232) <= 1) && (t.column = -1, t.line++), o += Q(a);
|
|
329
|
+
t.index >= t.end && p(t, 15), a = u(t);
|
|
330
|
+
}
|
|
331
|
+
return u(t), t.tokenValue = o, t.tokenRaw = t.source.slice(e + 1, t.index - (r === 67174409 ? 1 : 2)), r;
|
|
332
|
+
}
|
|
333
|
+
function x2(t, n) {
|
|
334
|
+
for (; n !== 96; ) {
|
|
335
|
+
switch (n) {
|
|
336
|
+
case 36: {
|
|
337
|
+
let e = t.index + 1;
|
|
338
|
+
if (e < t.end && t.source.charCodeAt(e) === 123) return t.index = e, t.column++, -n;
|
|
339
|
+
break;
|
|
340
|
+
}
|
|
341
|
+
case 10:
|
|
342
|
+
case 8232:
|
|
343
|
+
case 8233:
|
|
344
|
+
t.column = -1, t.line++;
|
|
345
|
+
}
|
|
346
|
+
t.index >= t.end && p(t, 15), n = u(t);
|
|
347
|
+
}
|
|
348
|
+
return n;
|
|
349
|
+
}
|
|
350
|
+
function T2(t, n) {
|
|
351
|
+
return t.index >= t.end && p(t, 0), t.index--, t.column--, Nn(t, n);
|
|
352
|
+
}
|
|
353
|
+
function un(t, n, e) {
|
|
354
|
+
let r = t.currentChar, o = 0, a = 9, s = e & 64 ? 0 : 1, i = 0, l = 0;
|
|
355
|
+
if (e & 64) o = "." + At(t, r), r = t.currentChar, r === 110 && p(t, 11);
|
|
356
|
+
else {
|
|
357
|
+
if (r === 48) if (r = u(t), (r | 32) === 120) {
|
|
358
|
+
for (e = 136, r = u(t); D[r] & 4160; ) {
|
|
359
|
+
if (r === 95) {
|
|
360
|
+
l || p(t, 147), l = 0, r = u(t);
|
|
361
|
+
continue;
|
|
362
|
+
}
|
|
363
|
+
l = 1, o = o * 16 + q(r), i++, r = u(t);
|
|
364
|
+
}
|
|
365
|
+
(i === 0 || !l) && p(t, i === 0 ? 19 : 148);
|
|
366
|
+
} else if ((r | 32) === 111) {
|
|
367
|
+
for (e = 132, r = u(t); D[r] & 4128; ) {
|
|
368
|
+
if (r === 95) {
|
|
369
|
+
l || p(t, 147), l = 0, r = u(t);
|
|
370
|
+
continue;
|
|
371
|
+
}
|
|
372
|
+
l = 1, o = o * 8 + (r - 48), i++, r = u(t);
|
|
373
|
+
}
|
|
374
|
+
(i === 0 || !l) && p(t, i === 0 ? 0 : 148);
|
|
375
|
+
} else if ((r | 32) === 98) {
|
|
376
|
+
for (e = 130, r = u(t); D[r] & 4224; ) {
|
|
377
|
+
if (r === 95) {
|
|
378
|
+
l || p(t, 147), l = 0, r = u(t);
|
|
379
|
+
continue;
|
|
380
|
+
}
|
|
381
|
+
l = 1, o = o * 2 + (r - 48), i++, r = u(t);
|
|
382
|
+
}
|
|
383
|
+
(i === 0 || !l) && p(t, i === 0 ? 0 : 148);
|
|
384
|
+
} else if (D[r] & 32) for (n & 1024 && p(t, 1), e = 1; D[r] & 16; ) {
|
|
385
|
+
if (D[r] & 512) {
|
|
386
|
+
e = 32, s = 0;
|
|
387
|
+
break;
|
|
388
|
+
}
|
|
389
|
+
o = o * 8 + (r - 48), r = u(t);
|
|
390
|
+
}
|
|
391
|
+
else D[r] & 512 ? (n & 1024 && p(t, 1), t.flags |= 64, e = 32) : r === 95 && p(t, 0);
|
|
392
|
+
if (e & 48) {
|
|
393
|
+
if (s) {
|
|
394
|
+
for (; a >= 0 && D[r] & 4112; ) {
|
|
395
|
+
if (r === 95) {
|
|
396
|
+
r = u(t), (r === 95 || e & 32) && yt(t.index, t.line, t.index + 1, 147), l = 1;
|
|
397
|
+
continue;
|
|
398
|
+
}
|
|
399
|
+
l = 0, o = 10 * o + (r - 48), r = u(t), --a;
|
|
400
|
+
}
|
|
401
|
+
if (l && yt(t.index, t.line, t.index + 1, 148), a >= 0 && !$t(r) && r !== 46) return t.tokenValue = o, n & 512 && (t.tokenRaw = t.source.slice(t.tokenPos, t.index)), 134283266;
|
|
402
|
+
}
|
|
403
|
+
o += At(t, r), r = t.currentChar, r === 46 && (u(t) === 95 && p(t, 0), e = 64, o += "." + At(t, t.currentChar), r = t.currentChar);
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
let k = t.index, f = 0;
|
|
407
|
+
if (r === 110 && e & 128) f = 1, r = u(t);
|
|
408
|
+
else if ((r | 32) === 101) {
|
|
409
|
+
r = u(t), D[r] & 256 && (r = u(t));
|
|
410
|
+
let { index: d } = t;
|
|
411
|
+
D[r] & 16 || p(t, 10), o += t.source.substring(k, d) + At(t, r), r = t.currentChar;
|
|
412
|
+
}
|
|
413
|
+
return (t.index < t.end && D[r] & 16 || $t(r)) && p(t, 12), f ? (t.tokenRaw = t.source.slice(t.tokenPos, t.index), t.tokenValue = BigInt(o), 134283389) : (t.tokenValue = e & 15 ? o : e & 32 ? parseFloat(t.source.substring(t.tokenPos, t.index)) : +o, n & 512 && (t.tokenRaw = t.source.slice(t.tokenPos, t.index)), 134283266);
|
|
414
|
+
}
|
|
415
|
+
function At(t, n) {
|
|
416
|
+
let e = 0, r = t.index, o = "";
|
|
417
|
+
for (; D[n] & 4112; ) {
|
|
418
|
+
if (n === 95) {
|
|
419
|
+
let { index: a } = t;
|
|
420
|
+
n = u(t), n === 95 && yt(t.index, t.line, t.index + 1, 147), e = 1, o += t.source.substring(r, a), r = t.index;
|
|
421
|
+
continue;
|
|
422
|
+
}
|
|
423
|
+
e = 0, n = u(t);
|
|
424
|
+
}
|
|
425
|
+
return e && yt(t.index, t.line, t.index + 1, 148), o + t.source.substring(r, t.index);
|
|
426
|
+
}
|
|
427
|
+
var j = ["end of source", "identifier", "number", "string", "regular expression", "false", "true", "null", "template continuation", "template tail", "=>", "(", "{", ".", "...", "}", ")", ";", ",", "[", "]", ":", "?", "'", '"', "</", "/>", "++", "--", "=", "<<=", ">>=", ">>>=", "**=", "+=", "-=", "*=", "/=", "%=", "^=", "|=", "&=", "||=", "&&=", "??=", "typeof", "delete", "void", "!", "~", "+", "-", "in", "instanceof", "*", "%", "/", "**", "&&", "||", "===", "!==", "==", "!=", "<=", ">=", "<", ">", "<<", ">>", ">>>", "&", "|", "^", "var", "let", "const", "break", "case", "catch", "class", "continue", "debugger", "default", "do", "else", "export", "extends", "finally", "for", "function", "if", "import", "new", "return", "super", "switch", "this", "throw", "try", "while", "with", "implements", "interface", "package", "private", "protected", "public", "static", "yield", "as", "async", "await", "constructor", "get", "set", "from", "of", "enum", "eval", "arguments", "escaped keyword", "escaped future reserved keyword", "reserved if strict", "#", "BigIntLiteral", "??", "?.", "WhiteSpace", "Illegal", "LineTerminator", "PrivateField", "Template", "@", "target", "meta", "LineFeed", "Escaped", "JSXText"], jn = Object.create(null, { this: { value: 86113 }, function: { value: 86106 }, if: { value: 20571 }, return: { value: 20574 }, var: { value: 86090 }, else: { value: 20565 }, for: { value: 20569 }, new: { value: 86109 }, in: { value: 8738868 }, typeof: { value: 16863277 }, while: { value: 20580 }, case: { value: 20558 }, break: { value: 20557 }, try: { value: 20579 }, catch: { value: 20559 }, delete: { value: 16863278 }, throw: { value: 86114 }, switch: { value: 86112 }, continue: { value: 20561 }, default: { value: 20563 }, instanceof: { value: 8476725 }, do: { value: 20564 }, void: { value: 16863279 }, finally: { value: 20568 }, async: { value: 209007 }, await: { value: 209008 }, class: { value: 86096 }, const: { value: 86092 }, constructor: { value: 12401 }, debugger: { value: 20562 }, export: { value: 20566 }, extends: { value: 20567 }, false: { value: 86021 }, from: { value: 12404 }, get: { value: 12402 }, implements: { value: 36966 }, import: { value: 86108 }, interface: { value: 36967 }, let: { value: 241739 }, null: { value: 86023 }, of: { value: 274549 }, package: { value: 36968 }, private: { value: 36969 }, protected: { value: 36970 }, public: { value: 36971 }, set: { value: 12403 }, static: { value: 36972 }, super: { value: 86111 }, true: { value: 86022 }, with: { value: 20581 }, yield: { value: 241773 }, enum: { value: 86134 }, eval: { value: 537079927 }, as: { value: 77934 }, arguments: { value: 537079928 }, target: { value: 143494 }, meta: { value: 143495 } });
|
|
428
|
+
function gn(t, n, e) {
|
|
429
|
+
for (; Dn[u(t)]; ) ;
|
|
430
|
+
return t.tokenValue = t.source.slice(t.tokenPos, t.index), t.currentChar !== 92 && t.currentChar <= 126 ? jn[t.tokenValue] || 208897 : nn(t, n, 0, e);
|
|
431
|
+
}
|
|
432
|
+
function v2(t, n) {
|
|
433
|
+
let e = On(t);
|
|
434
|
+
return Lt(e) || p(t, 4), t.tokenValue = Q(e), nn(t, n, 1, D[e] & 4);
|
|
435
|
+
}
|
|
436
|
+
function nn(t, n, e, r) {
|
|
437
|
+
let o = t.index;
|
|
438
|
+
for (; t.index < t.end; ) if (t.currentChar === 92) {
|
|
439
|
+
t.tokenValue += t.source.slice(o, t.index), e = 1;
|
|
440
|
+
let s = On(t);
|
|
441
|
+
Lt(s) || p(t, 4), r = r && D[s] & 4, t.tokenValue += Q(s), o = t.index;
|
|
442
|
+
} else if (Lt(t.currentChar) || k2(t, t.currentChar)) u(t);
|
|
443
|
+
else break;
|
|
444
|
+
t.index <= t.end && (t.tokenValue += t.source.slice(o, t.index));
|
|
445
|
+
let a = t.tokenValue.length;
|
|
446
|
+
if (r && a >= 2 && a <= 11) {
|
|
447
|
+
let s = jn[t.tokenValue];
|
|
448
|
+
return s === void 0 ? 208897 : e ? s === 209008 ? n & 4196352 ? 121 : s : n & 1024 ? s === 36972 || (s & 36864) === 36864 ? 122 : (s & 20480) === 20480 ? n & 268435456 && !(n & 8192) ? s : 121 : 143483 : n & 268435456 && !(n & 8192) && (s & 20480) === 20480 ? s : s === 241773 ? n & 268435456 ? 143483 : n & 2097152 ? 121 : s : s === 209007 ? 143483 : (s & 36864) === 36864 ? s : 121 : s;
|
|
449
|
+
}
|
|
450
|
+
return 208897;
|
|
451
|
+
}
|
|
452
|
+
function S2(t) {
|
|
453
|
+
return $t(u(t)) || p(t, 94), 131;
|
|
454
|
+
}
|
|
455
|
+
function On(t) {
|
|
456
|
+
return t.source.charCodeAt(t.index + 1) !== 117 && p(t, 4), t.currentChar = t.source.charCodeAt(t.index += 2), C2(t);
|
|
457
|
+
}
|
|
458
|
+
function C2(t) {
|
|
459
|
+
let n = 0, e = t.currentChar;
|
|
460
|
+
if (e === 123) {
|
|
461
|
+
let s = t.index - 2;
|
|
462
|
+
for (; D[u(t)] & 64; ) n = n << 4 | q(t.currentChar), n > 1114111 && yt(s, t.line, t.index + 1, 102);
|
|
463
|
+
return t.currentChar !== 125 && yt(s, t.line, t.index - 1, 6), u(t), n;
|
|
464
|
+
}
|
|
465
|
+
D[e] & 64 || p(t, 6);
|
|
466
|
+
let r = t.source.charCodeAt(t.index + 1);
|
|
467
|
+
D[r] & 64 || p(t, 6);
|
|
468
|
+
let o = t.source.charCodeAt(t.index + 2);
|
|
469
|
+
D[o] & 64 || p(t, 6);
|
|
470
|
+
let a = t.source.charCodeAt(t.index + 3);
|
|
471
|
+
return D[a] & 64 || p(t, 6), n = q(e) << 12 | q(r) << 8 | q(o) << 4 | q(a), t.currentChar = t.source.charCodeAt(t.index += 4), n;
|
|
472
|
+
}
|
|
473
|
+
var Bn = [129, 129, 129, 129, 129, 129, 129, 129, 129, 128, 136, 128, 128, 130, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 128, 16842800, 134283267, 131, 208897, 8457015, 8455751, 134283267, 67174411, 16, 8457014, 25233970, 18, 25233971, 67108877, 8457016, 134283266, 134283266, 134283266, 134283266, 134283266, 134283266, 134283266, 134283266, 134283266, 134283266, 21, 1074790417, 8456258, 1077936157, 8456259, 22, 133, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 69271571, 137, 20, 8455497, 208897, 132, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 208897, 4096, 208897, 208897, 4096, 208897, 4096, 208897, 4096, 208897, 4096, 4096, 4096, 208897, 4096, 4096, 208897, 4096, 4096, 2162700, 8455240, 1074790415, 16842801, 129];
|
|
474
|
+
function P(t, n) {
|
|
475
|
+
if (t.flags = (t.flags | 1) ^ 1, t.startPos = t.index, t.startColumn = t.column, t.startLine = t.line, t.token = Fn(t, n, 0), t.onToken && t.token !== 1048576) {
|
|
476
|
+
let e = { start: { line: t.linePos, column: t.colPos }, end: { line: t.line, column: t.column } };
|
|
477
|
+
t.onToken(m2(t.token), t.tokenPos, t.index, e);
|
|
478
|
+
}
|
|
479
|
+
}
|
|
480
|
+
function Fn(t, n, e) {
|
|
481
|
+
let r = t.index === 0, o = t.source, a = t.index, s = t.line, i = t.column;
|
|
482
|
+
for (; t.index < t.end; ) {
|
|
483
|
+
t.tokenPos = t.index, t.colPos = t.column, t.linePos = t.line;
|
|
484
|
+
let l = t.currentChar;
|
|
485
|
+
if (l <= 126) {
|
|
486
|
+
let k = Bn[l];
|
|
487
|
+
switch (k) {
|
|
488
|
+
case 67174411:
|
|
489
|
+
case 16:
|
|
490
|
+
case 2162700:
|
|
491
|
+
case 1074790415:
|
|
492
|
+
case 69271571:
|
|
493
|
+
case 20:
|
|
494
|
+
case 21:
|
|
495
|
+
case 1074790417:
|
|
496
|
+
case 18:
|
|
497
|
+
case 16842801:
|
|
498
|
+
case 133:
|
|
499
|
+
case 129:
|
|
500
|
+
return u(t), k;
|
|
501
|
+
case 208897:
|
|
502
|
+
return gn(t, n, 0);
|
|
503
|
+
case 4096:
|
|
504
|
+
return gn(t, n, 1);
|
|
505
|
+
case 134283266:
|
|
506
|
+
return un(t, n, 144);
|
|
507
|
+
case 134283267:
|
|
508
|
+
return h2(t, n, l);
|
|
509
|
+
case 132:
|
|
510
|
+
return Nn(t, n);
|
|
511
|
+
case 137:
|
|
512
|
+
return v2(t, n);
|
|
513
|
+
case 131:
|
|
514
|
+
return S2(t);
|
|
515
|
+
case 128:
|
|
516
|
+
u(t);
|
|
517
|
+
break;
|
|
518
|
+
case 130:
|
|
519
|
+
e |= 5, lt(t);
|
|
520
|
+
break;
|
|
521
|
+
case 136:
|
|
522
|
+
Zt(t, e), e = e & -5 | 1;
|
|
523
|
+
break;
|
|
524
|
+
case 8456258:
|
|
525
|
+
let f = u(t);
|
|
526
|
+
if (t.index < t.end) {
|
|
527
|
+
if (f === 60) return t.index < t.end && u(t) === 61 ? (u(t), 4194334) : 8456516;
|
|
528
|
+
if (f === 61) return u(t), 8456256;
|
|
529
|
+
if (f === 33) {
|
|
530
|
+
let c = t.index + 1;
|
|
531
|
+
if (c + 1 < t.end && o.charCodeAt(c) === 45 && o.charCodeAt(c + 1) == 45) {
|
|
532
|
+
t.column += 3, t.currentChar = o.charCodeAt(t.index += 3), e = yn(t, o, e, n, 2, t.tokenPos, t.linePos, t.colPos), a = t.tokenPos, s = t.linePos, i = t.colPos;
|
|
533
|
+
continue;
|
|
534
|
+
}
|
|
535
|
+
return 8456258;
|
|
536
|
+
}
|
|
537
|
+
if (f === 47) {
|
|
538
|
+
if (!(n & 16)) return 8456258;
|
|
539
|
+
let c = t.index + 1;
|
|
540
|
+
if (c < t.end && (f = o.charCodeAt(c), f === 42 || f === 47)) break;
|
|
541
|
+
return u(t), 25;
|
|
542
|
+
}
|
|
543
|
+
}
|
|
544
|
+
return 8456258;
|
|
545
|
+
case 1077936157: {
|
|
546
|
+
u(t);
|
|
547
|
+
let c = t.currentChar;
|
|
548
|
+
return c === 61 ? u(t) === 61 ? (u(t), 8455996) : 8455998 : c === 62 ? (u(t), 10) : 1077936157;
|
|
549
|
+
}
|
|
550
|
+
case 16842800:
|
|
551
|
+
return u(t) !== 61 ? 16842800 : u(t) !== 61 ? 8455999 : (u(t), 8455997);
|
|
552
|
+
case 8457015:
|
|
553
|
+
return u(t) !== 61 ? 8457015 : (u(t), 4194342);
|
|
554
|
+
case 8457014: {
|
|
555
|
+
if (u(t), t.index >= t.end) return 8457014;
|
|
556
|
+
let c = t.currentChar;
|
|
557
|
+
return c === 61 ? (u(t), 4194340) : c !== 42 ? 8457014 : u(t) !== 61 ? 8457273 : (u(t), 4194337);
|
|
558
|
+
}
|
|
559
|
+
case 8455497:
|
|
560
|
+
return u(t) !== 61 ? 8455497 : (u(t), 4194343);
|
|
561
|
+
case 25233970: {
|
|
562
|
+
u(t);
|
|
563
|
+
let c = t.currentChar;
|
|
564
|
+
return c === 43 ? (u(t), 33619995) : c === 61 ? (u(t), 4194338) : 25233970;
|
|
565
|
+
}
|
|
566
|
+
case 25233971: {
|
|
567
|
+
u(t);
|
|
568
|
+
let c = t.currentChar;
|
|
569
|
+
if (c === 45) {
|
|
570
|
+
if (u(t), (e & 1 || r) && t.currentChar === 62) {
|
|
571
|
+
n & 256 || p(t, 109), u(t), e = yn(t, o, e, n, 3, a, s, i), a = t.tokenPos, s = t.linePos, i = t.colPos;
|
|
572
|
+
continue;
|
|
573
|
+
}
|
|
574
|
+
return 33619996;
|
|
575
|
+
}
|
|
576
|
+
return c === 61 ? (u(t), 4194339) : 25233971;
|
|
577
|
+
}
|
|
578
|
+
case 8457016: {
|
|
579
|
+
if (u(t), t.index < t.end) {
|
|
580
|
+
let c = t.currentChar;
|
|
581
|
+
if (c === 47) {
|
|
582
|
+
u(t), e = tn(t, o, e, 0, t.tokenPos, t.linePos, t.colPos), a = t.tokenPos, s = t.linePos, i = t.colPos;
|
|
583
|
+
continue;
|
|
584
|
+
}
|
|
585
|
+
if (c === 42) {
|
|
586
|
+
u(t), e = g2(t, o, e), a = t.tokenPos, s = t.linePos, i = t.colPos;
|
|
587
|
+
continue;
|
|
588
|
+
}
|
|
589
|
+
if (n & 32768) return P2(t, n);
|
|
590
|
+
if (c === 61) return u(t), 4259877;
|
|
591
|
+
}
|
|
592
|
+
return 8457016;
|
|
593
|
+
}
|
|
594
|
+
case 67108877:
|
|
595
|
+
let d = u(t);
|
|
596
|
+
if (d >= 48 && d <= 57) return un(t, n, 80);
|
|
597
|
+
if (d === 46) {
|
|
598
|
+
let c = t.index + 1;
|
|
599
|
+
if (c < t.end && o.charCodeAt(c) === 46) return t.column += 2, t.currentChar = o.charCodeAt(t.index += 2), 14;
|
|
600
|
+
}
|
|
601
|
+
return 67108877;
|
|
602
|
+
case 8455240: {
|
|
603
|
+
u(t);
|
|
604
|
+
let c = t.currentChar;
|
|
605
|
+
return c === 124 ? (u(t), t.currentChar === 61 ? (u(t), 4194346) : 8979003) : c === 61 ? (u(t), 4194344) : 8455240;
|
|
606
|
+
}
|
|
607
|
+
case 8456259: {
|
|
608
|
+
u(t);
|
|
609
|
+
let c = t.currentChar;
|
|
610
|
+
if (c === 61) return u(t), 8456257;
|
|
611
|
+
if (c !== 62) return 8456259;
|
|
612
|
+
if (u(t), t.index < t.end) {
|
|
613
|
+
let y = t.currentChar;
|
|
614
|
+
if (y === 62) return u(t) === 61 ? (u(t), 4194336) : 8456518;
|
|
615
|
+
if (y === 61) return u(t), 4194335;
|
|
616
|
+
}
|
|
617
|
+
return 8456517;
|
|
618
|
+
}
|
|
619
|
+
case 8455751: {
|
|
620
|
+
u(t);
|
|
621
|
+
let c = t.currentChar;
|
|
622
|
+
return c === 38 ? (u(t), t.currentChar === 61 ? (u(t), 4194347) : 8979258) : c === 61 ? (u(t), 4194345) : 8455751;
|
|
623
|
+
}
|
|
624
|
+
case 22: {
|
|
625
|
+
let c = u(t);
|
|
626
|
+
if (c === 63) return u(t), t.currentChar === 61 ? (u(t), 4194348) : 276889982;
|
|
627
|
+
if (c === 46) {
|
|
628
|
+
let y = t.index + 1;
|
|
629
|
+
if (y < t.end && (c = o.charCodeAt(y), !(c >= 48 && c <= 57))) return u(t), 67108991;
|
|
630
|
+
}
|
|
631
|
+
return 22;
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
} else {
|
|
635
|
+
if ((l ^ 8232) <= 1) {
|
|
636
|
+
e = e & -5 | 1, lt(t);
|
|
637
|
+
continue;
|
|
638
|
+
}
|
|
639
|
+
if ((l & 64512) === 55296 || xt[(l >>> 5) + 34816] >>> l & 31 & 1) return (l & 64512) === 56320 && (l = (l & 1023) << 10 | l & 1023 | 65536, xt[(l >>> 5) + 0] >>> l & 31 & 1 || p(t, 18, Q(l)), t.index++, t.currentChar = l), t.column++, t.tokenValue = "", nn(t, n, 0, 0);
|
|
640
|
+
if (f2(l)) {
|
|
641
|
+
u(t);
|
|
642
|
+
continue;
|
|
643
|
+
}
|
|
644
|
+
p(t, 18, Q(l));
|
|
645
|
+
}
|
|
646
|
+
}
|
|
647
|
+
return 1048576;
|
|
648
|
+
}
|
|
649
|
+
function A2(t, n) {
|
|
650
|
+
return t.startPos = t.tokenPos = t.index, t.startColumn = t.colPos = t.column, t.startLine = t.linePos = t.line, t.token = D[t.currentChar] & 8192 ? E2(t, n) : Fn(t, n, 0), t.token;
|
|
651
|
+
}
|
|
652
|
+
function E2(t, n) {
|
|
653
|
+
let e = t.currentChar, r = u(t), o = t.index;
|
|
654
|
+
for (; r !== e; ) t.index >= t.end && p(t, 14), r = u(t);
|
|
655
|
+
return r !== e && p(t, 14), t.tokenValue = t.source.slice(o, t.index), u(t), n & 512 && (t.tokenRaw = t.source.slice(t.tokenPos, t.index)), 134283267;
|
|
656
|
+
}
|
|
657
|
+
function ct(t, n) {
|
|
658
|
+
if (t.startPos = t.tokenPos = t.index, t.startColumn = t.colPos = t.column, t.startLine = t.linePos = t.line, t.index >= t.end) return t.token = 1048576;
|
|
659
|
+
switch (Bn[t.source.charCodeAt(t.index)]) {
|
|
660
|
+
case 8456258: {
|
|
661
|
+
u(t), t.currentChar === 47 ? (u(t), t.token = 25) : t.token = 8456258;
|
|
662
|
+
break;
|
|
663
|
+
}
|
|
664
|
+
case 2162700: {
|
|
665
|
+
u(t), t.token = 2162700;
|
|
666
|
+
break;
|
|
667
|
+
}
|
|
668
|
+
default: {
|
|
669
|
+
let e = 0;
|
|
670
|
+
for (; t.index < t.end; ) {
|
|
671
|
+
let o = D[t.source.charCodeAt(t.index)];
|
|
672
|
+
if (o & 1024 ? (e |= 5, lt(t)) : o & 2048 ? (Zt(t, e), e = e & -5 | 1) : u(t), D[t.currentChar] & 16384) break;
|
|
673
|
+
}
|
|
674
|
+
let r = t.source.slice(t.tokenPos, t.index);
|
|
675
|
+
n & 512 && (t.tokenRaw = r), t.tokenValue = r, t.token = 138;
|
|
676
|
+
}
|
|
677
|
+
}
|
|
678
|
+
return t.token;
|
|
679
|
+
}
|
|
680
|
+
function zt(t) {
|
|
681
|
+
if ((t.token & 143360) === 143360) {
|
|
682
|
+
let { index: n } = t, e = t.currentChar;
|
|
683
|
+
for (; D[e] & 32770; ) e = u(t);
|
|
684
|
+
t.tokenValue += t.source.slice(n, t.index);
|
|
685
|
+
}
|
|
686
|
+
return t.token = 208897, t.token;
|
|
687
|
+
}
|
|
688
|
+
function X(t, n) {
|
|
689
|
+
var e;
|
|
690
|
+
!(t.flags & 1) && (t.token & 1048576) !== 1048576 && p(t, 28, j[t.token & 255]), I(t, n, 1074790417) || (e = t.onInsertedSemicolon) == null || e.call(t, t.startPos);
|
|
691
|
+
}
|
|
692
|
+
function Rn(t, n, e, r) {
|
|
693
|
+
return n - e < 13 && r === "use strict" && ((t.token & 1048576) === 1048576 || t.flags & 1) ? 1 : 0;
|
|
694
|
+
}
|
|
695
|
+
function en(t, n, e) {
|
|
696
|
+
return t.token !== e ? 0 : (P(t, n), 1);
|
|
697
|
+
}
|
|
698
|
+
function I(t, n, e) {
|
|
699
|
+
return t.token !== e ? !1 : (P(t, n), !0);
|
|
700
|
+
}
|
|
701
|
+
function x(t, n, e) {
|
|
702
|
+
t.token !== e && p(t, 23, j[e & 255]), P(t, n);
|
|
703
|
+
}
|
|
704
|
+
function H(t, n) {
|
|
705
|
+
switch (n.type) {
|
|
706
|
+
case "ArrayExpression":
|
|
707
|
+
n.type = "ArrayPattern";
|
|
708
|
+
let e = n.elements;
|
|
709
|
+
for (let o = 0, a = e.length; o < a; ++o) {
|
|
710
|
+
let s = e[o];
|
|
711
|
+
s && H(t, s);
|
|
712
|
+
}
|
|
713
|
+
return;
|
|
714
|
+
case "ObjectExpression":
|
|
715
|
+
n.type = "ObjectPattern";
|
|
716
|
+
let r = n.properties;
|
|
717
|
+
for (let o = 0, a = r.length; o < a; ++o) H(t, r[o]);
|
|
718
|
+
return;
|
|
719
|
+
case "AssignmentExpression":
|
|
720
|
+
n.type = "AssignmentPattern", n.operator !== "=" && p(t, 69), delete n.operator, H(t, n.left);
|
|
721
|
+
return;
|
|
722
|
+
case "Property":
|
|
723
|
+
H(t, n.value);
|
|
724
|
+
return;
|
|
725
|
+
case "SpreadElement":
|
|
726
|
+
n.type = "RestElement", H(t, n.argument);
|
|
727
|
+
}
|
|
728
|
+
}
|
|
729
|
+
function Mt(t, n, e, r, o) {
|
|
730
|
+
n & 1024 && ((r & 36864) === 36864 && p(t, 115), !o && (r & 537079808) === 537079808 && p(t, 116)), (r & 20480) === 20480 && p(t, 100), e & 24 && r === 241739 && p(t, 98), n & 4196352 && r === 209008 && p(t, 96), n & 2098176 && r === 241773 && p(t, 95, "yield");
|
|
731
|
+
}
|
|
732
|
+
function Jn(t, n, e) {
|
|
733
|
+
n & 1024 && ((e & 36864) === 36864 && p(t, 115), (e & 537079808) === 537079808 && p(t, 116), e === 122 && p(t, 93), e === 121 && p(t, 93)), (e & 20480) === 20480 && p(t, 100), n & 4196352 && e === 209008 && p(t, 96), n & 2098176 && e === 241773 && p(t, 95, "yield");
|
|
734
|
+
}
|
|
735
|
+
function Xn(t, n, e) {
|
|
736
|
+
return e === 209008 && (n & 4196352 && p(t, 96), t.destructible |= 128), e === 241773 && n & 2097152 && p(t, 95, "yield"), (e & 20480) === 20480 || (e & 36864) === 36864 || e == 122;
|
|
737
|
+
}
|
|
738
|
+
function w2(t) {
|
|
739
|
+
return t.property ? t.property.type === "PrivateIdentifier" : !1;
|
|
740
|
+
}
|
|
741
|
+
function qn(t, n, e, r) {
|
|
742
|
+
for (; n; ) {
|
|
743
|
+
if (n["$" + e]) return r && p(t, 134), 1;
|
|
744
|
+
r && n.loop && (r = 0), n = n.$;
|
|
745
|
+
}
|
|
746
|
+
return 0;
|
|
747
|
+
}
|
|
748
|
+
function I2(t, n, e) {
|
|
749
|
+
let r = n;
|
|
750
|
+
for (; r; ) r["$" + e] && p(t, 133, e), r = r.$;
|
|
751
|
+
n["$" + e] = 1;
|
|
752
|
+
}
|
|
753
|
+
function m(t, n, e, r, o, a) {
|
|
754
|
+
return n & 2 && (a.start = e, a.end = t.startPos, a.range = [e, t.startPos]), n & 4 && (a.loc = { start: { line: r, column: o }, end: { line: t.startLine, column: t.startColumn } }, t.sourceFile && (a.loc.source = t.sourceFile)), a;
|
|
755
|
+
}
|
|
756
|
+
function Nt(t) {
|
|
757
|
+
switch (t.type) {
|
|
758
|
+
case "JSXIdentifier":
|
|
759
|
+
return t.name;
|
|
760
|
+
case "JSXNamespacedName":
|
|
761
|
+
return t.namespace + ":" + t.name;
|
|
762
|
+
case "JSXMemberExpression":
|
|
763
|
+
return Nt(t.object) + "." + Nt(t.property);
|
|
764
|
+
}
|
|
765
|
+
}
|
|
766
|
+
function Rt(t, n, e) {
|
|
767
|
+
let r = F(pt(), 1024);
|
|
768
|
+
return rt(t, n, r, e, 1, 0), r;
|
|
769
|
+
}
|
|
770
|
+
function Gt(t, n, ...e) {
|
|
771
|
+
let { index: r, line: o, column: a } = t;
|
|
772
|
+
return { type: n, params: e, index: r, line: o, column: a };
|
|
773
|
+
}
|
|
774
|
+
function pt() {
|
|
775
|
+
return { parent: void 0, type: 2 };
|
|
776
|
+
}
|
|
777
|
+
function F(t, n) {
|
|
778
|
+
return { parent: t, type: n, scopeError: void 0 };
|
|
779
|
+
}
|
|
780
|
+
function tt(t, n, e, r, o, a) {
|
|
781
|
+
o & 4 ? Un(t, n, e, r, o) : rt(t, n, e, r, o, a), a & 64 && st(t, r);
|
|
782
|
+
}
|
|
783
|
+
function rt(t, n, e, r, o, a) {
|
|
784
|
+
let s = e["#" + r];
|
|
785
|
+
s && !(s & 2) && (o & 1 ? e.scopeError = Gt(t, 141, r) : n & 256 && s & 64 && a & 2 || p(t, 141, r)), e.type & 128 && e.parent["#" + r] && !(e.parent["#" + r] & 2) && p(t, 141, r), e.type & 1024 && s && !(s & 2) && o & 1 && (e.scopeError = Gt(t, 141, r)), e.type & 64 && e.parent["#" + r] & 768 && p(t, 154, r), e["#" + r] = o;
|
|
786
|
+
}
|
|
787
|
+
function Un(t, n, e, r, o) {
|
|
788
|
+
let a = e;
|
|
789
|
+
for (; a && !(a.type & 256); ) {
|
|
790
|
+
let s = a["#" + r];
|
|
791
|
+
s & 248 && (n & 256 && !(n & 1024) && (o & 128 && s & 68 || s & 128 && o & 68) || p(t, 141, r)), a === e && s & 1 && o & 1 && (a.scopeError = Gt(t, 141, r)), s & 768 && (!(s & 512) || !(n & 256) || n & 1024) && p(t, 141, r), a["#" + r] = o, a = a.parent;
|
|
792
|
+
}
|
|
793
|
+
}
|
|
794
|
+
function st(t, n) {
|
|
795
|
+
t.exportedNames !== void 0 && n !== "" && (t.exportedNames["#" + n] && p(t, 142, n), t.exportedNames["#" + n] = 1);
|
|
796
|
+
}
|
|
797
|
+
function D2(t, n) {
|
|
798
|
+
t.exportedBindings !== void 0 && n !== "" && (t.exportedBindings["#" + n] = 1);
|
|
799
|
+
}
|
|
800
|
+
function V2(t, n) {
|
|
801
|
+
return function(e, r, o, a, s) {
|
|
802
|
+
let i = { type: e, value: r };
|
|
803
|
+
t & 2 && (i.start = o, i.end = a, i.range = [o, a]), t & 4 && (i.loc = s), n.push(i);
|
|
804
|
+
};
|
|
805
|
+
}
|
|
806
|
+
function L2(t, n) {
|
|
807
|
+
return function(e, r, o, a) {
|
|
808
|
+
let s = { token: e };
|
|
809
|
+
t & 2 && (s.start = r, s.end = o, s.range = [r, o]), t & 4 && (s.loc = a), n.push(s);
|
|
810
|
+
};
|
|
811
|
+
}
|
|
812
|
+
function on(t, n) {
|
|
813
|
+
return t & 2098176 ? t & 2048 && n === 209008 || t & 2097152 && n === 241773 ? !1 : (n & 143360) === 143360 || (n & 12288) === 12288 : (n & 143360) === 143360 || (n & 12288) === 12288 || (n & 36864) === 36864;
|
|
814
|
+
}
|
|
815
|
+
function rn(t, n, e) {
|
|
816
|
+
(e & 537079808) === 537079808 && (n & 1024 && p(t, 116), t.flags |= 512), on(n, e) || p(t, 0);
|
|
817
|
+
}
|
|
818
|
+
function M2(t, n, e, r, o) {
|
|
819
|
+
return { source: t, flags: 0, index: 0, line: 1, column: 0, startPos: 0, end: t.length, tokenPos: 0, startColumn: 0, colPos: 0, linePos: 1, startLine: 1, sourceFile: n, tokenValue: "", token: 1048576, tokenRaw: "", tokenRegExp: void 0, currentChar: t.charCodeAt(0), exportedNames: [], exportedBindings: [], assignable: 1, destructible: 0, onComment: e, onToken: r, onInsertedSemicolon: o, leadingDecorators: [] };
|
|
820
|
+
}
|
|
821
|
+
function N2(t, n, e) {
|
|
822
|
+
let r = "", o, a, s;
|
|
823
|
+
n != null && (n.module && (e |= 3072), n.next && (e |= 1), n.loc && (e |= 4), n.ranges && (e |= 2), n.uniqueKeyInPattern && (e |= 536870912), n.lexical && (e |= 64), n.webcompat && (e |= 256), n.directives && (e |= 520), n.globalReturn && (e |= 32), n.raw && (e |= 512), n.preserveParens && (e |= 128), n.impliedStrict && (e |= 1024), n.jsx && (e |= 16), n.source && (r = n.source), n.onComment != null && (o = Array.isArray(n.onComment) ? V2(e, n.onComment) : n.onComment), n.onInsertedSemicolon != null && (a = n.onInsertedSemicolon), n.onToken != null && (s = Array.isArray(n.onToken) ? L2(e, n.onToken) : n.onToken));
|
|
824
|
+
let i = M2(t, r, o, s, a);
|
|
825
|
+
e & 1 && u2(i);
|
|
826
|
+
let l = e & 64 ? pt() : void 0, k = [], f = "script";
|
|
827
|
+
if (e & 2048) {
|
|
828
|
+
if (f = "module", k = O2(i, e | 8192, l), l) for (let c in i.exportedBindings) c[0] === "#" && !l[c] && p(i, 143, c.slice(1));
|
|
829
|
+
} else k = j2(i, e | 8192, l);
|
|
830
|
+
let d = { type: "Program", sourceType: f, body: k };
|
|
831
|
+
return e & 2 && (d.start = 0, d.end = t.length, d.range = [0, t.length]), e & 4 && (d.loc = { start: { line: 1, column: 0 }, end: { line: i.line, column: i.column } }, i.sourceFile && (d.loc.source = r)), d;
|
|
832
|
+
}
|
|
833
|
+
function j2(t, n, e) {
|
|
834
|
+
P(t, n | 32768 | 268435456);
|
|
835
|
+
let r = [];
|
|
836
|
+
for (; t.token === 134283267; ) {
|
|
837
|
+
let { index: o, tokenPos: a, tokenValue: s, linePos: i, colPos: l, token: k } = t, f = J(t, n);
|
|
838
|
+
Rn(t, o, a, s) && (n |= 1024), r.push(sn(t, n, f, k, a, i, l));
|
|
839
|
+
}
|
|
840
|
+
for (; t.token !== 1048576; ) r.push(vt(t, n, e, 4, {}));
|
|
841
|
+
return r;
|
|
842
|
+
}
|
|
843
|
+
function O2(t, n, e) {
|
|
844
|
+
P(t, n | 32768);
|
|
845
|
+
let r = [];
|
|
846
|
+
if (n & 8) for (; t.token === 134283267; ) {
|
|
847
|
+
let { tokenPos: o, linePos: a, colPos: s, token: i } = t;
|
|
848
|
+
r.push(sn(t, n, J(t, n), i, o, a, s));
|
|
849
|
+
}
|
|
850
|
+
for (; t.token !== 1048576; ) r.push(B2(t, n, e));
|
|
851
|
+
return r;
|
|
852
|
+
}
|
|
853
|
+
function B2(t, n, e) {
|
|
854
|
+
t.leadingDecorators = qt(t, n);
|
|
855
|
+
let r;
|
|
856
|
+
switch (t.token) {
|
|
857
|
+
case 20566:
|
|
858
|
+
r = o1(t, n, e);
|
|
859
|
+
break;
|
|
860
|
+
case 86108:
|
|
861
|
+
r = n1(t, n, e);
|
|
862
|
+
break;
|
|
863
|
+
default:
|
|
864
|
+
r = vt(t, n, e, 4, {});
|
|
865
|
+
}
|
|
866
|
+
return t.leadingDecorators.length && p(t, 165), r;
|
|
867
|
+
}
|
|
868
|
+
function vt(t, n, e, r, o) {
|
|
869
|
+
let a = t.tokenPos, s = t.linePos, i = t.colPos;
|
|
870
|
+
switch (t.token) {
|
|
871
|
+
case 86106:
|
|
872
|
+
return ot(t, n, e, r, 1, 0, 0, a, s, i);
|
|
873
|
+
case 133:
|
|
874
|
+
case 86096:
|
|
875
|
+
return _t(t, n, e, 0, a, s, i);
|
|
876
|
+
case 86092:
|
|
877
|
+
return Wt(t, n, e, 16, 0, a, s, i);
|
|
878
|
+
case 241739:
|
|
879
|
+
return Z2(t, n, e, r, a, s, i);
|
|
880
|
+
case 20566:
|
|
881
|
+
p(t, 101, "export");
|
|
882
|
+
case 86108:
|
|
883
|
+
switch (P(t, n), t.token) {
|
|
884
|
+
case 67174411:
|
|
885
|
+
return Wn(t, n, a, s, i);
|
|
886
|
+
case 67108877:
|
|
887
|
+
return Gn(t, n, a, s, i);
|
|
888
|
+
default:
|
|
889
|
+
p(t, 101, "import");
|
|
890
|
+
}
|
|
891
|
+
case 209007:
|
|
892
|
+
return Kn(t, n, e, r, o, 1, a, s, i);
|
|
893
|
+
default:
|
|
894
|
+
return St(t, n, e, r, o, 1, a, s, i);
|
|
895
|
+
}
|
|
896
|
+
}
|
|
897
|
+
function St(t, n, e, r, o, a, s, i, l) {
|
|
898
|
+
switch (t.token) {
|
|
899
|
+
case 86090:
|
|
900
|
+
return $n(t, n, e, 0, s, i, l);
|
|
901
|
+
case 20574:
|
|
902
|
+
return R2(t, n, s, i, l);
|
|
903
|
+
case 20571:
|
|
904
|
+
return q2(t, n, e, o, s, i, l);
|
|
905
|
+
case 20569:
|
|
906
|
+
return t1(t, n, e, o, s, i, l);
|
|
907
|
+
case 20564:
|
|
908
|
+
return Y2(t, n, e, o, s, i, l);
|
|
909
|
+
case 20580:
|
|
910
|
+
return K2(t, n, e, o, s, i, l);
|
|
911
|
+
case 86112:
|
|
912
|
+
return U2(t, n, e, o, s, i, l);
|
|
913
|
+
case 1074790417:
|
|
914
|
+
return J2(t, n, s, i, l);
|
|
915
|
+
case 2162700:
|
|
916
|
+
return Tt(t, n, e && F(e, 2), o, s, i, l);
|
|
917
|
+
case 86114:
|
|
918
|
+
return X2(t, n, s, i, l);
|
|
919
|
+
case 20557:
|
|
920
|
+
return z2(t, n, o, s, i, l);
|
|
921
|
+
case 20561:
|
|
922
|
+
return $2(t, n, o, s, i, l);
|
|
923
|
+
case 20579:
|
|
924
|
+
return _2(t, n, e, o, s, i, l);
|
|
925
|
+
case 20581:
|
|
926
|
+
return G2(t, n, e, o, s, i, l);
|
|
927
|
+
case 20562:
|
|
928
|
+
return W2(t, n, s, i, l);
|
|
929
|
+
case 209007:
|
|
930
|
+
return Kn(t, n, e, r, o, 0, s, i, l);
|
|
931
|
+
case 20559:
|
|
932
|
+
p(t, 157);
|
|
933
|
+
case 20568:
|
|
934
|
+
p(t, 158);
|
|
935
|
+
case 86106:
|
|
936
|
+
p(t, n & 1024 ? 74 : n & 256 ? 75 : 76);
|
|
937
|
+
case 86096:
|
|
938
|
+
p(t, 77);
|
|
939
|
+
default:
|
|
940
|
+
return F2(t, n, e, r, o, a, s, i, l);
|
|
941
|
+
}
|
|
942
|
+
}
|
|
943
|
+
function F2(t, n, e, r, o, a, s, i, l) {
|
|
944
|
+
let { tokenValue: k, token: f } = t, d;
|
|
945
|
+
switch (f) {
|
|
946
|
+
case 241739:
|
|
947
|
+
d = V(t, n), n & 1024 && p(t, 83), t.token === 69271571 && p(t, 82);
|
|
948
|
+
break;
|
|
949
|
+
default:
|
|
950
|
+
d = U(t, n, 2, 0, 1, 0, 1, t.tokenPos, t.linePos, t.colPos);
|
|
951
|
+
}
|
|
952
|
+
return f & 143360 && t.token === 21 ? an(t, n, e, r, o, k, d, f, a, s, i, l) : (d = L(t, n, d, 0, 0, s, i, l), d = O(t, n, 0, 0, s, i, l, d), t.token === 18 && (d = Z(t, n, 0, s, i, l, d)), ut(t, n, d, s, i, l));
|
|
953
|
+
}
|
|
954
|
+
function Tt(t, n, e, r, o, a, s) {
|
|
955
|
+
let i = [];
|
|
956
|
+
for (x(t, n | 32768, 2162700); t.token !== 1074790415; ) i.push(vt(t, n, e, 2, { $: r }));
|
|
957
|
+
return x(t, n | 32768, 1074790415), m(t, n, o, a, s, { type: "BlockStatement", body: i });
|
|
958
|
+
}
|
|
959
|
+
function R2(t, n, e, r, o) {
|
|
960
|
+
!(n & 32) && n & 8192 && p(t, 90), P(t, n | 32768);
|
|
961
|
+
let a = t.flags & 1 || t.token & 1048576 ? null : R(t, n, 0, 1, t.tokenPos, t.linePos, t.colPos);
|
|
962
|
+
return X(t, n | 32768), m(t, n, e, r, o, { type: "ReturnStatement", argument: a });
|
|
963
|
+
}
|
|
964
|
+
function ut(t, n, e, r, o, a) {
|
|
965
|
+
return X(t, n | 32768), m(t, n, r, o, a, { type: "ExpressionStatement", expression: e });
|
|
966
|
+
}
|
|
967
|
+
function an(t, n, e, r, o, a, s, i, l, k, f, d) {
|
|
968
|
+
Mt(t, n, 0, i, 1), I2(t, o, a), P(t, n | 32768);
|
|
969
|
+
let c = l && !(n & 1024) && n & 256 && t.token === 86106 ? ot(t, n, F(e, 2), r, 0, 0, 0, t.tokenPos, t.linePos, t.colPos) : St(t, n, e, r, o, l, t.tokenPos, t.linePos, t.colPos);
|
|
970
|
+
return m(t, n, k, f, d, { type: "LabeledStatement", label: s, body: c });
|
|
971
|
+
}
|
|
972
|
+
function Kn(t, n, e, r, o, a, s, i, l) {
|
|
973
|
+
let { token: k, tokenValue: f } = t, d = V(t, n);
|
|
974
|
+
if (t.token === 21) return an(t, n, e, r, o, f, d, k, 1, s, i, l);
|
|
975
|
+
let c = t.flags & 1;
|
|
976
|
+
if (!c) {
|
|
977
|
+
if (t.token === 86106) return a || p(t, 120), ot(t, n, e, r, 1, 0, 1, s, i, l);
|
|
978
|
+
if ((t.token & 143360) === 143360) return d = e2(t, n, 1, s, i, l), t.token === 18 && (d = Z(t, n, 0, s, i, l, d)), ut(t, n, d, s, i, l);
|
|
979
|
+
}
|
|
980
|
+
return t.token === 67174411 ? d = kn(t, n, d, 1, 1, 0, c, s, i, l) : (t.token === 10 && (rn(t, n, k), d = Xt(t, n, t.tokenValue, d, 0, 1, 0, s, i, l)), t.assignable = 1), d = L(t, n, d, 0, 0, s, i, l), d = O(t, n, 0, 0, s, i, l, d), t.assignable = 1, t.token === 18 && (d = Z(t, n, 0, s, i, l, d)), ut(t, n, d, s, i, l);
|
|
981
|
+
}
|
|
982
|
+
function sn(t, n, e, r, o, a, s) {
|
|
983
|
+
return r !== 1074790417 && (t.assignable = 2, e = L(t, n, e, 0, 0, o, a, s), t.token !== 1074790417 && (e = O(t, n, 0, 0, o, a, s, e), t.token === 18 && (e = Z(t, n, 0, o, a, s, e))), X(t, n | 32768)), n & 8 && e.type === "Literal" && typeof e.value == "string" ? m(t, n, o, a, s, { type: "ExpressionStatement", expression: e, directive: e.raw.slice(1, -1) }) : m(t, n, o, a, s, { type: "ExpressionStatement", expression: e });
|
|
984
|
+
}
|
|
985
|
+
function J2(t, n, e, r, o) {
|
|
986
|
+
return P(t, n | 32768), m(t, n, e, r, o, { type: "EmptyStatement" });
|
|
987
|
+
}
|
|
988
|
+
function X2(t, n, e, r, o) {
|
|
989
|
+
P(t, n | 32768), t.flags & 1 && p(t, 88);
|
|
990
|
+
let a = R(t, n, 0, 1, t.tokenPos, t.linePos, t.colPos);
|
|
991
|
+
return X(t, n | 32768), m(t, n, e, r, o, { type: "ThrowStatement", argument: a });
|
|
992
|
+
}
|
|
993
|
+
function q2(t, n, e, r, o, a, s) {
|
|
994
|
+
P(t, n), x(t, n | 32768, 67174411), t.assignable = 1;
|
|
995
|
+
let i = R(t, n, 0, 1, t.tokenPos, t.line, t.colPos);
|
|
996
|
+
x(t, n | 32768, 16);
|
|
997
|
+
let l = Pn(t, n, e, r, t.tokenPos, t.linePos, t.colPos), k = null;
|
|
998
|
+
return t.token === 20565 && (P(t, n | 32768), k = Pn(t, n, e, r, t.tokenPos, t.linePos, t.colPos)), m(t, n, o, a, s, { type: "IfStatement", test: i, consequent: l, alternate: k });
|
|
999
|
+
}
|
|
1000
|
+
function Pn(t, n, e, r, o, a, s) {
|
|
1001
|
+
return n & 1024 || !(n & 256) || t.token !== 86106 ? St(t, n, e, 0, { $: r }, 0, t.tokenPos, t.linePos, t.colPos) : ot(t, n, F(e, 2), 0, 0, 0, 0, o, a, s);
|
|
1002
|
+
}
|
|
1003
|
+
function U2(t, n, e, r, o, a, s) {
|
|
1004
|
+
P(t, n), x(t, n | 32768, 67174411);
|
|
1005
|
+
let i = R(t, n, 0, 1, t.tokenPos, t.linePos, t.colPos);
|
|
1006
|
+
x(t, n, 16), x(t, n, 2162700);
|
|
1007
|
+
let l = [], k = 0;
|
|
1008
|
+
for (e && (e = F(e, 8)); t.token !== 1074790415; ) {
|
|
1009
|
+
let { tokenPos: f, linePos: d, colPos: c } = t, y = null, h = [];
|
|
1010
|
+
for (I(t, n | 32768, 20558) ? y = R(t, n, 0, 1, t.tokenPos, t.linePos, t.colPos) : (x(t, n | 32768, 20563), k && p(t, 87), k = 1), x(t, n | 32768, 21); t.token !== 20558 && t.token !== 1074790415 && t.token !== 20563; ) h.push(vt(t, n | 4096, e, 2, { $: r }));
|
|
1011
|
+
l.push(m(t, n, f, d, c, { type: "SwitchCase", test: y, consequent: h }));
|
|
1012
|
+
}
|
|
1013
|
+
return x(t, n | 32768, 1074790415), m(t, n, o, a, s, { type: "SwitchStatement", discriminant: i, cases: l });
|
|
1014
|
+
}
|
|
1015
|
+
function K2(t, n, e, r, o, a, s) {
|
|
1016
|
+
P(t, n), x(t, n | 32768, 67174411);
|
|
1017
|
+
let i = R(t, n, 0, 1, t.tokenPos, t.linePos, t.colPos);
|
|
1018
|
+
x(t, n | 32768, 16);
|
|
1019
|
+
let l = bt(t, n, e, r);
|
|
1020
|
+
return m(t, n, o, a, s, { type: "WhileStatement", test: i, body: l });
|
|
1021
|
+
}
|
|
1022
|
+
function bt(t, n, e, r) {
|
|
1023
|
+
return St(t, (n | 134217728) ^ 134217728 | 131072, e, 0, { loop: 1, $: r }, 0, t.tokenPos, t.linePos, t.colPos);
|
|
1024
|
+
}
|
|
1025
|
+
function $2(t, n, e, r, o, a) {
|
|
1026
|
+
n & 131072 || p(t, 66), P(t, n);
|
|
1027
|
+
let s = null;
|
|
1028
|
+
if (!(t.flags & 1) && t.token & 143360) {
|
|
1029
|
+
let { tokenValue: i } = t;
|
|
1030
|
+
s = V(t, n | 32768), qn(t, e, i, 1) || p(t, 135, i);
|
|
1031
|
+
}
|
|
1032
|
+
return X(t, n | 32768), m(t, n, r, o, a, { type: "ContinueStatement", label: s });
|
|
1033
|
+
}
|
|
1034
|
+
function z2(t, n, e, r, o, a) {
|
|
1035
|
+
P(t, n | 32768);
|
|
1036
|
+
let s = null;
|
|
1037
|
+
if (!(t.flags & 1) && t.token & 143360) {
|
|
1038
|
+
let { tokenValue: i } = t;
|
|
1039
|
+
s = V(t, n | 32768), qn(t, e, i, 0) || p(t, 135, i);
|
|
1040
|
+
} else n & 135168 || p(t, 67);
|
|
1041
|
+
return X(t, n | 32768), m(t, n, r, o, a, { type: "BreakStatement", label: s });
|
|
1042
|
+
}
|
|
1043
|
+
function G2(t, n, e, r, o, a, s) {
|
|
1044
|
+
P(t, n), n & 1024 && p(t, 89), x(t, n | 32768, 67174411);
|
|
1045
|
+
let i = R(t, n, 0, 1, t.tokenPos, t.linePos, t.colPos);
|
|
1046
|
+
x(t, n | 32768, 16);
|
|
1047
|
+
let l = St(t, n, e, 2, r, 0, t.tokenPos, t.linePos, t.colPos);
|
|
1048
|
+
return m(t, n, o, a, s, { type: "WithStatement", object: i, body: l });
|
|
1049
|
+
}
|
|
1050
|
+
function W2(t, n, e, r, o) {
|
|
1051
|
+
return P(t, n | 32768), X(t, n | 32768), m(t, n, e, r, o, { type: "DebuggerStatement" });
|
|
1052
|
+
}
|
|
1053
|
+
function _2(t, n, e, r, o, a, s) {
|
|
1054
|
+
P(t, n | 32768);
|
|
1055
|
+
let i = e ? F(e, 32) : void 0, l = Tt(t, n, i, { $: r }, t.tokenPos, t.linePos, t.colPos), { tokenPos: k, linePos: f, colPos: d } = t, c = I(t, n | 32768, 20559) ? H2(t, n, e, r, k, f, d) : null, y = null;
|
|
1056
|
+
if (t.token === 20568) {
|
|
1057
|
+
P(t, n | 32768);
|
|
1058
|
+
let h = i ? F(e, 4) : void 0;
|
|
1059
|
+
y = Tt(t, n, h, { $: r }, t.tokenPos, t.linePos, t.colPos);
|
|
1060
|
+
}
|
|
1061
|
+
return !c && !y && p(t, 86), m(t, n, o, a, s, { type: "TryStatement", block: l, handler: c, finalizer: y });
|
|
1062
|
+
}
|
|
1063
|
+
function H2(t, n, e, r, o, a, s) {
|
|
1064
|
+
let i = null, l = e;
|
|
1065
|
+
I(t, n, 67174411) && (e && (e = F(e, 4)), i = a2(t, n, e, (t.token & 2097152) === 2097152 ? 256 : 512, 0, t.tokenPos, t.linePos, t.colPos), t.token === 18 ? p(t, 84) : t.token === 1077936157 && p(t, 85), x(t, n | 32768, 16), e && (l = F(e, 64)));
|
|
1066
|
+
let k = Tt(t, n, l, { $: r }, t.tokenPos, t.linePos, t.colPos);
|
|
1067
|
+
return m(t, n, o, a, s, { type: "CatchClause", param: i, body: k });
|
|
1068
|
+
}
|
|
1069
|
+
function Q2(t, n, e, r, o, a) {
|
|
1070
|
+
e && (e = F(e, 2));
|
|
1071
|
+
let s = 540672;
|
|
1072
|
+
n = (n | s) ^ s | 262144;
|
|
1073
|
+
let { body: i } = Tt(t, n, e, {}, r, o, a);
|
|
1074
|
+
return m(t, n, r, o, a, { type: "StaticBlock", body: i });
|
|
1075
|
+
}
|
|
1076
|
+
function Y2(t, n, e, r, o, a, s) {
|
|
1077
|
+
P(t, n | 32768);
|
|
1078
|
+
let i = bt(t, n, e, r);
|
|
1079
|
+
x(t, n, 20580), x(t, n | 32768, 67174411);
|
|
1080
|
+
let l = R(t, n, 0, 1, t.tokenPos, t.linePos, t.colPos);
|
|
1081
|
+
return x(t, n | 32768, 16), I(t, n | 32768, 1074790417), m(t, n, o, a, s, { type: "DoWhileStatement", body: i, test: l });
|
|
1082
|
+
}
|
|
1083
|
+
function Z2(t, n, e, r, o, a, s) {
|
|
1084
|
+
let { token: i, tokenValue: l } = t, k = V(t, n);
|
|
1085
|
+
if (t.token & 2240512) {
|
|
1086
|
+
let f = ft(t, n, e, 8, 0);
|
|
1087
|
+
return X(t, n | 32768), m(t, n, o, a, s, { type: "VariableDeclaration", kind: "let", declarations: f });
|
|
1088
|
+
}
|
|
1089
|
+
if (t.assignable = 1, n & 1024 && p(t, 83), t.token === 21) return an(t, n, e, r, {}, l, k, i, 0, o, a, s);
|
|
1090
|
+
if (t.token === 10) {
|
|
1091
|
+
let f;
|
|
1092
|
+
n & 64 && (f = Rt(t, n, l)), t.flags = (t.flags | 128) ^ 128, k = Ct(t, n, f, [k], 0, o, a, s);
|
|
1093
|
+
} else k = L(t, n, k, 0, 0, o, a, s), k = O(t, n, 0, 0, o, a, s, k);
|
|
1094
|
+
return t.token === 18 && (k = Z(t, n, 0, o, a, s, k)), ut(t, n, k, o, a, s);
|
|
1095
|
+
}
|
|
1096
|
+
function Wt(t, n, e, r, o, a, s, i) {
|
|
1097
|
+
P(t, n);
|
|
1098
|
+
let l = ft(t, n, e, r, o);
|
|
1099
|
+
return X(t, n | 32768), m(t, n, a, s, i, { type: "VariableDeclaration", kind: r & 8 ? "let" : "const", declarations: l });
|
|
1100
|
+
}
|
|
1101
|
+
function $n(t, n, e, r, o, a, s) {
|
|
1102
|
+
P(t, n);
|
|
1103
|
+
let i = ft(t, n, e, 4, r);
|
|
1104
|
+
return X(t, n | 32768), m(t, n, o, a, s, { type: "VariableDeclaration", kind: "var", declarations: i });
|
|
1105
|
+
}
|
|
1106
|
+
function ft(t, n, e, r, o) {
|
|
1107
|
+
let a = 1, s = [bn(t, n, e, r, o)];
|
|
1108
|
+
for (; I(t, n, 18); ) a++, s.push(bn(t, n, e, r, o));
|
|
1109
|
+
return a > 1 && o & 32 && t.token & 262144 && p(t, 59, j[t.token & 255]), s;
|
|
1110
|
+
}
|
|
1111
|
+
function bn(t, n, e, r, o) {
|
|
1112
|
+
let { token: a, tokenPos: s, linePos: i, colPos: l } = t, k = null, f = a2(t, n, e, r, o, s, i, l);
|
|
1113
|
+
return t.token === 1077936157 ? (P(t, n | 32768), k = N(t, n, 1, 0, t.tokenPos, t.linePos, t.colPos), (o & 32 || !(a & 2097152)) && (t.token === 274549 || t.token === 8738868 && (a & 2097152 || !(r & 4) || n & 1024)) && mt(s, t.line, t.index - 3, 58, t.token === 274549 ? "of" : "in")) : (r & 16 || (a & 2097152) > 0) && (t.token & 262144) !== 262144 && p(t, 57, r & 16 ? "const" : "destructuring"), m(t, n, s, i, l, { type: "VariableDeclarator", id: f, init: k });
|
|
1114
|
+
}
|
|
1115
|
+
function t1(t, n, e, r, o, a, s) {
|
|
1116
|
+
P(t, n);
|
|
1117
|
+
let i = ((n & 4194304) > 0 || (n & 2048) > 0 && (n & 8192) > 0) && I(t, n, 209008);
|
|
1118
|
+
x(t, n | 32768, 67174411), e && (e = F(e, 1));
|
|
1119
|
+
let l = null, k = null, f = 0, d = null, c = t.token === 86090 || t.token === 241739 || t.token === 86092, y, { token: h, tokenPos: b, linePos: T, colPos: v } = t;
|
|
1120
|
+
if (c ? h === 241739 ? (d = V(t, n), t.token & 2240512 ? (t.token === 8738868 ? n & 1024 && p(t, 65) : d = m(t, n, b, T, v, { type: "VariableDeclaration", kind: "let", declarations: ft(t, n | 134217728, e, 8, 32) }), t.assignable = 1) : n & 1024 ? p(t, 65) : (c = !1, t.assignable = 1, d = L(t, n, d, 0, 0, b, T, v), t.token === 274549 && p(t, 112))) : (P(t, n), d = m(t, n, b, T, v, h === 86090 ? { type: "VariableDeclaration", kind: "var", declarations: ft(t, n | 134217728, e, 4, 32) } : { type: "VariableDeclaration", kind: "const", declarations: ft(t, n | 134217728, e, 16, 32) }), t.assignable = 1) : h === 1074790417 ? i && p(t, 80) : (h & 2097152) === 2097152 ? (d = h === 2162700 ? z(t, n, void 0, 1, 0, 0, 2, 32, b, T, v) : $(t, n, void 0, 1, 0, 0, 2, 32, b, T, v), f = t.destructible, n & 256 && f & 64 && p(t, 61), t.assignable = f & 16 ? 2 : 1, d = L(t, n | 134217728, d, 0, 0, t.tokenPos, t.linePos, t.colPos)) : d = K(t, n | 134217728, 1, 0, 1, b, T, v), (t.token & 262144) === 262144) {
|
|
1121
|
+
if (t.token === 274549) {
|
|
1122
|
+
t.assignable & 2 && p(t, 78, i ? "await" : "of"), H(t, d), P(t, n | 32768), y = N(t, n, 1, 0, t.tokenPos, t.linePos, t.colPos), x(t, n | 32768, 16);
|
|
1123
|
+
let S = bt(t, n, e, r);
|
|
1124
|
+
return m(t, n, o, a, s, { type: "ForOfStatement", left: d, right: y, body: S, await: i });
|
|
1125
|
+
}
|
|
1126
|
+
t.assignable & 2 && p(t, 78, "in"), H(t, d), P(t, n | 32768), i && p(t, 80), y = R(t, n, 0, 1, t.tokenPos, t.linePos, t.colPos), x(t, n | 32768, 16);
|
|
1127
|
+
let B = bt(t, n, e, r);
|
|
1128
|
+
return m(t, n, o, a, s, { type: "ForInStatement", body: B, left: d, right: y });
|
|
1129
|
+
}
|
|
1130
|
+
i && p(t, 80), c || (f & 8 && t.token !== 1077936157 && p(t, 78, "loop"), d = O(t, n | 134217728, 0, 0, b, T, v, d)), t.token === 18 && (d = Z(t, n, 0, t.tokenPos, t.linePos, t.colPos, d)), x(t, n | 32768, 1074790417), t.token !== 1074790417 && (l = R(t, n, 0, 1, t.tokenPos, t.linePos, t.colPos)), x(t, n | 32768, 1074790417), t.token !== 16 && (k = R(t, n, 0, 1, t.tokenPos, t.linePos, t.colPos)), x(t, n | 32768, 16);
|
|
1131
|
+
let A = bt(t, n, e, r);
|
|
1132
|
+
return m(t, n, o, a, s, { type: "ForStatement", init: d, test: l, update: k, body: A });
|
|
1133
|
+
}
|
|
1134
|
+
function zn(t, n, e) {
|
|
1135
|
+
return on(n, t.token) || p(t, 115), (t.token & 537079808) === 537079808 && p(t, 116), e && rt(t, n, e, t.tokenValue, 8, 0), V(t, n);
|
|
1136
|
+
}
|
|
1137
|
+
function n1(t, n, e) {
|
|
1138
|
+
let r = t.tokenPos, o = t.linePos, a = t.colPos;
|
|
1139
|
+
P(t, n);
|
|
1140
|
+
let s = null, { tokenPos: i, linePos: l, colPos: k } = t, f = [];
|
|
1141
|
+
if (t.token === 134283267) s = J(t, n);
|
|
1142
|
+
else {
|
|
1143
|
+
if (t.token & 143360) {
|
|
1144
|
+
let d = zn(t, n, e);
|
|
1145
|
+
if (f = [m(t, n, i, l, k, { type: "ImportDefaultSpecifier", local: d })], I(t, n, 18)) switch (t.token) {
|
|
1146
|
+
case 8457014:
|
|
1147
|
+
f.push(hn(t, n, e));
|
|
1148
|
+
break;
|
|
1149
|
+
case 2162700:
|
|
1150
|
+
xn(t, n, e, f);
|
|
1151
|
+
break;
|
|
1152
|
+
default:
|
|
1153
|
+
p(t, 105);
|
|
1154
|
+
}
|
|
1155
|
+
} else switch (t.token) {
|
|
1156
|
+
case 8457014:
|
|
1157
|
+
f = [hn(t, n, e)];
|
|
1158
|
+
break;
|
|
1159
|
+
case 2162700:
|
|
1160
|
+
xn(t, n, e, f);
|
|
1161
|
+
break;
|
|
1162
|
+
case 67174411:
|
|
1163
|
+
return Wn(t, n, r, o, a);
|
|
1164
|
+
case 67108877:
|
|
1165
|
+
return Gn(t, n, r, o, a);
|
|
1166
|
+
default:
|
|
1167
|
+
p(t, 28, j[t.token & 255]);
|
|
1168
|
+
}
|
|
1169
|
+
s = e1(t, n);
|
|
1170
|
+
}
|
|
1171
|
+
return X(t, n | 32768), m(t, n, r, o, a, { type: "ImportDeclaration", specifiers: f, source: s });
|
|
1172
|
+
}
|
|
1173
|
+
function hn(t, n, e) {
|
|
1174
|
+
let { tokenPos: r, linePos: o, colPos: a } = t;
|
|
1175
|
+
return P(t, n), x(t, n, 77934), (t.token & 134217728) === 134217728 && mt(r, t.line, t.index, 28, j[t.token & 255]), m(t, n, r, o, a, { type: "ImportNamespaceSpecifier", local: zn(t, n, e) });
|
|
1176
|
+
}
|
|
1177
|
+
function e1(t, n) {
|
|
1178
|
+
return I(t, n, 12404) || p(t, 28, j[t.token & 255]), t.token !== 134283267 && p(t, 103, "Import"), J(t, n);
|
|
1179
|
+
}
|
|
1180
|
+
function xn(t, n, e, r) {
|
|
1181
|
+
for (P(t, n); t.token & 143360; ) {
|
|
1182
|
+
let { token: o, tokenValue: a, tokenPos: s, linePos: i, colPos: l } = t, k = V(t, n), f;
|
|
1183
|
+
I(t, n, 77934) ? ((t.token & 134217728) === 134217728 || t.token === 18 ? p(t, 104) : Mt(t, n, 16, t.token, 0), a = t.tokenValue, f = V(t, n)) : (Mt(t, n, 16, o, 0), f = k), e && rt(t, n, e, a, 8, 0), r.push(m(t, n, s, i, l, { type: "ImportSpecifier", local: f, imported: k })), t.token !== 1074790415 && x(t, n, 18);
|
|
1184
|
+
}
|
|
1185
|
+
return x(t, n, 1074790415), r;
|
|
1186
|
+
}
|
|
1187
|
+
function Gn(t, n, e, r, o) {
|
|
1188
|
+
let a = Hn(t, n, m(t, n, e, r, o, { type: "Identifier", name: "import" }), e, r, o);
|
|
1189
|
+
return a = L(t, n, a, 0, 0, e, r, o), a = O(t, n, 0, 0, e, r, o, a), t.token === 18 && (a = Z(t, n, 0, e, r, o, a)), ut(t, n, a, e, r, o);
|
|
1190
|
+
}
|
|
1191
|
+
function Wn(t, n, e, r, o) {
|
|
1192
|
+
let a = Qn(t, n, 0, e, r, o);
|
|
1193
|
+
return a = L(t, n, a, 0, 0, e, r, o), t.token === 18 && (a = Z(t, n, 0, e, r, o, a)), ut(t, n, a, e, r, o);
|
|
1194
|
+
}
|
|
1195
|
+
function o1(t, n, e) {
|
|
1196
|
+
let r = t.tokenPos, o = t.linePos, a = t.colPos;
|
|
1197
|
+
P(t, n | 32768);
|
|
1198
|
+
let s = [], i = null, l = null, k;
|
|
1199
|
+
if (I(t, n | 32768, 20563)) {
|
|
1200
|
+
switch (t.token) {
|
|
1201
|
+
case 86106: {
|
|
1202
|
+
i = ot(t, n, e, 4, 1, 1, 0, t.tokenPos, t.linePos, t.colPos);
|
|
1203
|
+
break;
|
|
1204
|
+
}
|
|
1205
|
+
case 133:
|
|
1206
|
+
case 86096:
|
|
1207
|
+
i = _t(t, n, e, 1, t.tokenPos, t.linePos, t.colPos);
|
|
1208
|
+
break;
|
|
1209
|
+
case 209007:
|
|
1210
|
+
let { tokenPos: f, linePos: d, colPos: c } = t;
|
|
1211
|
+
i = V(t, n);
|
|
1212
|
+
let { flags: y } = t;
|
|
1213
|
+
y & 1 || (t.token === 86106 ? i = ot(t, n, e, 4, 1, 1, 1, f, d, c) : t.token === 67174411 ? (i = kn(t, n, i, 1, 1, 0, y, f, d, c), i = L(t, n, i, 0, 0, f, d, c), i = O(t, n, 0, 0, f, d, c, i)) : t.token & 143360 && (e && (e = Rt(t, n, t.tokenValue)), i = V(t, n), i = Ct(t, n, e, [i], 1, f, d, c)));
|
|
1214
|
+
break;
|
|
1215
|
+
default:
|
|
1216
|
+
i = N(t, n, 1, 0, t.tokenPos, t.linePos, t.colPos), X(t, n | 32768);
|
|
1217
|
+
}
|
|
1218
|
+
return e && st(t, "default"), m(t, n, r, o, a, { type: "ExportDefaultDeclaration", declaration: i });
|
|
1219
|
+
}
|
|
1220
|
+
switch (t.token) {
|
|
1221
|
+
case 8457014: {
|
|
1222
|
+
P(t, n);
|
|
1223
|
+
let y = null;
|
|
1224
|
+
return I(t, n, 77934) && (e && st(t, t.tokenValue), y = V(t, n)), x(t, n, 12404), t.token !== 134283267 && p(t, 103, "Export"), l = J(t, n), X(t, n | 32768), m(t, n, r, o, a, { type: "ExportAllDeclaration", source: l, exported: y });
|
|
1225
|
+
}
|
|
1226
|
+
case 2162700: {
|
|
1227
|
+
P(t, n);
|
|
1228
|
+
let y = [], h = [];
|
|
1229
|
+
for (; t.token & 143360; ) {
|
|
1230
|
+
let { tokenPos: b, tokenValue: T, linePos: v, colPos: A } = t, B = V(t, n), S;
|
|
1231
|
+
t.token === 77934 ? (P(t, n), (t.token & 134217728) === 134217728 && p(t, 104), e && (y.push(t.tokenValue), h.push(T)), S = V(t, n)) : (e && (y.push(t.tokenValue), h.push(t.tokenValue)), S = B), s.push(m(t, n, b, v, A, { type: "ExportSpecifier", local: B, exported: S })), t.token !== 1074790415 && x(t, n, 18);
|
|
1232
|
+
}
|
|
1233
|
+
if (x(t, n, 1074790415), I(t, n, 12404)) t.token !== 134283267 && p(t, 103, "Export"), l = J(t, n);
|
|
1234
|
+
else if (e) {
|
|
1235
|
+
let b = 0, T = y.length;
|
|
1236
|
+
for (; b < T; b++) st(t, y[b]);
|
|
1237
|
+
for (b = 0, T = h.length; b < T; b++) D2(t, h[b]);
|
|
1238
|
+
}
|
|
1239
|
+
X(t, n | 32768);
|
|
1240
|
+
break;
|
|
1241
|
+
}
|
|
1242
|
+
case 86096:
|
|
1243
|
+
i = _t(t, n, e, 2, t.tokenPos, t.linePos, t.colPos);
|
|
1244
|
+
break;
|
|
1245
|
+
case 86106:
|
|
1246
|
+
i = ot(t, n, e, 4, 1, 2, 0, t.tokenPos, t.linePos, t.colPos);
|
|
1247
|
+
break;
|
|
1248
|
+
case 241739:
|
|
1249
|
+
i = Wt(t, n, e, 8, 64, t.tokenPos, t.linePos, t.colPos);
|
|
1250
|
+
break;
|
|
1251
|
+
case 86092:
|
|
1252
|
+
i = Wt(t, n, e, 16, 64, t.tokenPos, t.linePos, t.colPos);
|
|
1253
|
+
break;
|
|
1254
|
+
case 86090:
|
|
1255
|
+
i = $n(t, n, e, 64, t.tokenPos, t.linePos, t.colPos);
|
|
1256
|
+
break;
|
|
1257
|
+
case 209007:
|
|
1258
|
+
let { tokenPos: f, linePos: d, colPos: c } = t;
|
|
1259
|
+
if (P(t, n), !(t.flags & 1) && t.token === 86106) {
|
|
1260
|
+
i = ot(t, n, e, 4, 1, 2, 1, f, d, c), e && (k = i.id ? i.id.name : "", st(t, k));
|
|
1261
|
+
break;
|
|
1262
|
+
}
|
|
1263
|
+
default:
|
|
1264
|
+
p(t, 28, j[t.token & 255]);
|
|
1265
|
+
}
|
|
1266
|
+
return m(t, n, r, o, a, { type: "ExportNamedDeclaration", declaration: i, specifiers: s, source: l });
|
|
1267
|
+
}
|
|
1268
|
+
function N(t, n, e, r, o, a, s) {
|
|
1269
|
+
let i = U(t, n, 2, 0, e, r, 1, o, a, s);
|
|
1270
|
+
return i = L(t, n, i, r, 0, o, a, s), O(t, n, r, 0, o, a, s, i);
|
|
1271
|
+
}
|
|
1272
|
+
function Z(t, n, e, r, o, a, s) {
|
|
1273
|
+
let i = [s];
|
|
1274
|
+
for (; I(t, n | 32768, 18); ) i.push(N(t, n, 1, e, t.tokenPos, t.linePos, t.colPos));
|
|
1275
|
+
return m(t, n, r, o, a, { type: "SequenceExpression", expressions: i });
|
|
1276
|
+
}
|
|
1277
|
+
function R(t, n, e, r, o, a, s) {
|
|
1278
|
+
let i = N(t, n, r, e, o, a, s);
|
|
1279
|
+
return t.token === 18 ? Z(t, n, e, o, a, s, i) : i;
|
|
1280
|
+
}
|
|
1281
|
+
function O(t, n, e, r, o, a, s, i) {
|
|
1282
|
+
let { token: l } = t;
|
|
1283
|
+
if ((l & 4194304) === 4194304) {
|
|
1284
|
+
t.assignable & 2 && p(t, 24), (!r && l === 1077936157 && i.type === "ArrayExpression" || i.type === "ObjectExpression") && H(t, i), P(t, n | 32768);
|
|
1285
|
+
let k = N(t, n, 1, e, t.tokenPos, t.linePos, t.colPos);
|
|
1286
|
+
return t.assignable = 2, m(t, n, o, a, s, r ? { type: "AssignmentPattern", left: i, right: k } : { type: "AssignmentExpression", left: i, operator: j[l & 255], right: k });
|
|
1287
|
+
}
|
|
1288
|
+
return (l & 8454144) === 8454144 && (i = et(t, n, e, o, a, s, 4, l, i)), I(t, n | 32768, 22) && (i = it(t, n, i, o, a, s)), i;
|
|
1289
|
+
}
|
|
1290
|
+
function Et(t, n, e, r, o, a, s, i) {
|
|
1291
|
+
let { token: l } = t;
|
|
1292
|
+
P(t, n | 32768);
|
|
1293
|
+
let k = N(t, n, 1, e, t.tokenPos, t.linePos, t.colPos);
|
|
1294
|
+
return i = m(t, n, o, a, s, r ? { type: "AssignmentPattern", left: i, right: k } : { type: "AssignmentExpression", left: i, operator: j[l & 255], right: k }), t.assignable = 2, i;
|
|
1295
|
+
}
|
|
1296
|
+
function it(t, n, e, r, o, a) {
|
|
1297
|
+
let s = N(t, (n | 134217728) ^ 134217728, 1, 0, t.tokenPos, t.linePos, t.colPos);
|
|
1298
|
+
x(t, n | 32768, 21), t.assignable = 1;
|
|
1299
|
+
let i = N(t, n, 1, 0, t.tokenPos, t.linePos, t.colPos);
|
|
1300
|
+
return t.assignable = 2, m(t, n, r, o, a, { type: "ConditionalExpression", test: e, consequent: s, alternate: i });
|
|
1301
|
+
}
|
|
1302
|
+
function et(t, n, e, r, o, a, s, i, l) {
|
|
1303
|
+
let k = -((n & 134217728) > 0) & 8738868, f, d;
|
|
1304
|
+
for (t.assignable = 2; t.token & 8454144 && (f = t.token, d = f & 3840, (f & 524288 && i & 268435456 || i & 524288 && f & 268435456) && p(t, 160), !(d + ((f === 8457273) << 8) - ((k === f) << 12) <= s)); ) P(t, n | 32768), l = m(t, n, r, o, a, { type: f & 524288 || f & 268435456 ? "LogicalExpression" : "BinaryExpression", left: l, right: et(t, n, e, t.tokenPos, t.linePos, t.colPos, d, f, K(t, n, 0, e, 1, t.tokenPos, t.linePos, t.colPos)), operator: j[f & 255] });
|
|
1305
|
+
return t.token === 1077936157 && p(t, 24), l;
|
|
1306
|
+
}
|
|
1307
|
+
function r1(t, n, e, r, o, a, s) {
|
|
1308
|
+
e || p(t, 0);
|
|
1309
|
+
let i = t.token;
|
|
1310
|
+
P(t, n | 32768);
|
|
1311
|
+
let l = K(t, n, 0, s, 1, t.tokenPos, t.linePos, t.colPos);
|
|
1312
|
+
return t.token === 8457273 && p(t, 31), n & 1024 && i === 16863278 && (l.type === "Identifier" ? p(t, 118) : w2(l) && p(t, 124)), t.assignable = 2, m(t, n, r, o, a, { type: "UnaryExpression", operator: j[i & 255], argument: l, prefix: !0 });
|
|
1313
|
+
}
|
|
1314
|
+
function a1(t, n, e, r, o, a, s, i, l) {
|
|
1315
|
+
let { token: k } = t, f = V(t, n), { flags: d } = t;
|
|
1316
|
+
if (!(d & 1)) {
|
|
1317
|
+
if (t.token === 86106) return Zn(t, n, 1, e, s, i, l);
|
|
1318
|
+
if ((t.token & 143360) === 143360) return r || p(t, 0), e2(t, n, o, s, i, l);
|
|
1319
|
+
}
|
|
1320
|
+
return !a && t.token === 67174411 ? kn(t, n, f, o, 1, 0, d, s, i, l) : t.token === 10 ? (rn(t, n, k), a && p(t, 49), Xt(t, n, t.tokenValue, f, a, o, 0, s, i, l)) : (t.assignable = 1, f);
|
|
1321
|
+
}
|
|
1322
|
+
function s1(t, n, e, r, o, a, s) {
|
|
1323
|
+
if (e && (t.destructible |= 256), n & 2097152) {
|
|
1324
|
+
P(t, n | 32768), n & 8388608 && p(t, 30), r || p(t, 24), t.token === 22 && p(t, 121);
|
|
1325
|
+
let i = null, l = !1;
|
|
1326
|
+
return t.flags & 1 || (l = I(t, n | 32768, 8457014), (t.token & 77824 || l) && (i = N(t, n, 1, 0, t.tokenPos, t.linePos, t.colPos))), t.assignable = 2, m(t, n, o, a, s, { type: "YieldExpression", argument: i, delegate: l });
|
|
1327
|
+
}
|
|
1328
|
+
return n & 1024 && p(t, 95, "yield"), dn(t, n, o, a, s);
|
|
1329
|
+
}
|
|
1330
|
+
function i1(t, n, e, r, o, a, s) {
|
|
1331
|
+
if (r && (t.destructible |= 128), n & 4194304 || n & 2048 && n & 8192) {
|
|
1332
|
+
e && p(t, 0), n & 8388608 && mt(t.index, t.line, t.index, 29), P(t, n | 32768);
|
|
1333
|
+
let i = K(t, n, 0, 0, 1, t.tokenPos, t.linePos, t.colPos);
|
|
1334
|
+
return t.token === 8457273 && p(t, 31), t.assignable = 2, m(t, n, o, a, s, { type: "AwaitExpression", argument: i });
|
|
1335
|
+
}
|
|
1336
|
+
return n & 2048 && p(t, 96), dn(t, n, o, a, s);
|
|
1337
|
+
}
|
|
1338
|
+
function Jt(t, n, e, r, o, a) {
|
|
1339
|
+
let { tokenPos: s, linePos: i, colPos: l } = t;
|
|
1340
|
+
x(t, n | 32768, 2162700);
|
|
1341
|
+
let k = [], f = n;
|
|
1342
|
+
if (t.token !== 1074790415) {
|
|
1343
|
+
for (; t.token === 134283267; ) {
|
|
1344
|
+
let { index: d, tokenPos: c, tokenValue: y, token: h } = t, b = J(t, n);
|
|
1345
|
+
Rn(t, d, c, y) && (n |= 1024, t.flags & 128 && mt(t.index, t.line, t.tokenPos, 64), t.flags & 64 && mt(t.index, t.line, t.tokenPos, 8)), k.push(sn(t, n, b, h, c, t.linePos, t.colPos));
|
|
1346
|
+
}
|
|
1347
|
+
n & 1024 && (o && ((o & 537079808) === 537079808 && p(t, 116), (o & 36864) === 36864 && p(t, 38)), t.flags & 512 && p(t, 116), t.flags & 256 && p(t, 115)), n & 64 && e && a !== void 0 && !(f & 1024) && !(n & 8192) && Ft(a);
|
|
1348
|
+
}
|
|
1349
|
+
for (t.flags = (t.flags | 512 | 256 | 64) ^ 832, t.destructible = (t.destructible | 256) ^ 256; t.token !== 1074790415; ) k.push(vt(t, n, e, 4, {}));
|
|
1350
|
+
return x(t, r & 24 ? n | 32768 : n, 1074790415), t.flags &= -193, t.token === 1077936157 && p(t, 24), m(t, n, s, i, l, { type: "BlockStatement", body: k });
|
|
1351
|
+
}
|
|
1352
|
+
function l1(t, n, e, r, o) {
|
|
1353
|
+
switch (P(t, n), t.token) {
|
|
1354
|
+
case 67108991:
|
|
1355
|
+
p(t, 162);
|
|
1356
|
+
case 67174411: {
|
|
1357
|
+
n & 524288 || p(t, 26), n & 16384 && !(n & 33554432) && p(t, 27), t.assignable = 2;
|
|
1358
|
+
break;
|
|
1359
|
+
}
|
|
1360
|
+
case 69271571:
|
|
1361
|
+
case 67108877: {
|
|
1362
|
+
n & 262144 || p(t, 27), n & 16384 && !(n & 33554432) && p(t, 27), t.assignable = 1;
|
|
1363
|
+
break;
|
|
1364
|
+
}
|
|
1365
|
+
default:
|
|
1366
|
+
p(t, 28, "super");
|
|
1367
|
+
}
|
|
1368
|
+
return m(t, n, e, r, o, { type: "Super" });
|
|
1369
|
+
}
|
|
1370
|
+
function K(t, n, e, r, o, a, s, i) {
|
|
1371
|
+
let l = U(t, n, 2, 0, e, r, o, a, s, i);
|
|
1372
|
+
return L(t, n, l, r, 0, a, s, i);
|
|
1373
|
+
}
|
|
1374
|
+
function c1(t, n, e, r, o, a) {
|
|
1375
|
+
t.assignable & 2 && p(t, 53);
|
|
1376
|
+
let { token: s } = t;
|
|
1377
|
+
return P(t, n), t.assignable = 2, m(t, n, r, o, a, { type: "UpdateExpression", argument: e, operator: j[s & 255], prefix: !1 });
|
|
1378
|
+
}
|
|
1379
|
+
function L(t, n, e, r, o, a, s, i) {
|
|
1380
|
+
if ((t.token & 33619968) === 33619968 && !(t.flags & 1)) e = c1(t, n, e, a, s, i);
|
|
1381
|
+
else if ((t.token & 67108864) === 67108864) {
|
|
1382
|
+
switch (n = (n | 134217728) ^ 134217728, t.token) {
|
|
1383
|
+
case 67108877: {
|
|
1384
|
+
P(t, (n | 268435456 | 8192) ^ 8192), n & 16384 && t.token === 131 && t.tokenValue === "super" && p(t, 27), t.assignable = 1;
|
|
1385
|
+
let l = _n(t, n | 65536);
|
|
1386
|
+
e = m(t, n, a, s, i, { type: "MemberExpression", object: e, computed: !1, property: l });
|
|
1387
|
+
break;
|
|
1388
|
+
}
|
|
1389
|
+
case 69271571: {
|
|
1390
|
+
let l = !1;
|
|
1391
|
+
(t.flags & 2048) === 2048 && (l = !0, t.flags = (t.flags | 2048) ^ 2048), P(t, n | 32768);
|
|
1392
|
+
let { tokenPos: k, linePos: f, colPos: d } = t, c = R(t, n, r, 1, k, f, d);
|
|
1393
|
+
x(t, n, 20), t.assignable = 1, e = m(t, n, a, s, i, { type: "MemberExpression", object: e, computed: !0, property: c }), l && (t.flags |= 2048);
|
|
1394
|
+
break;
|
|
1395
|
+
}
|
|
1396
|
+
case 67174411: {
|
|
1397
|
+
if ((t.flags & 1024) === 1024) return t.flags = (t.flags | 1024) ^ 1024, e;
|
|
1398
|
+
let l = !1;
|
|
1399
|
+
(t.flags & 2048) === 2048 && (l = !0, t.flags = (t.flags | 2048) ^ 2048);
|
|
1400
|
+
let k = pn(t, n, r);
|
|
1401
|
+
t.assignable = 2, e = m(t, n, a, s, i, { type: "CallExpression", callee: e, arguments: k }), l && (t.flags |= 2048);
|
|
1402
|
+
break;
|
|
1403
|
+
}
|
|
1404
|
+
case 67108991: {
|
|
1405
|
+
P(t, (n | 268435456 | 8192) ^ 8192), t.flags |= 2048, t.assignable = 2, e = p1(t, n, e, a, s, i);
|
|
1406
|
+
break;
|
|
1407
|
+
}
|
|
1408
|
+
default:
|
|
1409
|
+
(t.flags & 2048) === 2048 && p(t, 161), t.assignable = 2, e = m(t, n, a, s, i, { type: "TaggedTemplateExpression", tag: e, quasi: t.token === 67174408 ? cn(t, n | 65536) : ln(t, n, t.tokenPos, t.linePos, t.colPos) });
|
|
1410
|
+
}
|
|
1411
|
+
e = L(t, n, e, 0, 1, a, s, i);
|
|
1412
|
+
}
|
|
1413
|
+
return o === 0 && (t.flags & 2048) === 2048 && (t.flags = (t.flags | 2048) ^ 2048, e = m(t, n, a, s, i, { type: "ChainExpression", expression: e })), e;
|
|
1414
|
+
}
|
|
1415
|
+
function p1(t, n, e, r, o, a) {
|
|
1416
|
+
let s = !1, i;
|
|
1417
|
+
if ((t.token === 69271571 || t.token === 67174411) && (t.flags & 2048) === 2048 && (s = !0, t.flags = (t.flags | 2048) ^ 2048), t.token === 69271571) {
|
|
1418
|
+
P(t, n | 32768);
|
|
1419
|
+
let { tokenPos: l, linePos: k, colPos: f } = t, d = R(t, n, 0, 1, l, k, f);
|
|
1420
|
+
x(t, n, 20), t.assignable = 2, i = m(t, n, r, o, a, { type: "MemberExpression", object: e, computed: !0, optional: !0, property: d });
|
|
1421
|
+
} else if (t.token === 67174411) {
|
|
1422
|
+
let l = pn(t, n, 0);
|
|
1423
|
+
t.assignable = 2, i = m(t, n, r, o, a, { type: "CallExpression", callee: e, arguments: l, optional: !0 });
|
|
1424
|
+
} else {
|
|
1425
|
+
t.token & 143360 || p(t, 155);
|
|
1426
|
+
let l = V(t, n);
|
|
1427
|
+
t.assignable = 2, i = m(t, n, r, o, a, { type: "MemberExpression", object: e, computed: !1, optional: !0, property: l });
|
|
1428
|
+
}
|
|
1429
|
+
return s && (t.flags |= 2048), i;
|
|
1430
|
+
}
|
|
1431
|
+
function _n(t, n) {
|
|
1432
|
+
return !(t.token & 143360) && t.token !== 131 && p(t, 155), n & 1 && t.token === 131 ? Ot(t, n, t.tokenPos, t.linePos, t.colPos) : V(t, n);
|
|
1433
|
+
}
|
|
1434
|
+
function d1(t, n, e, r, o, a, s) {
|
|
1435
|
+
e && p(t, 54), r || p(t, 0);
|
|
1436
|
+
let { token: i } = t;
|
|
1437
|
+
P(t, n | 32768);
|
|
1438
|
+
let l = K(t, n, 0, 0, 1, t.tokenPos, t.linePos, t.colPos);
|
|
1439
|
+
return t.assignable & 2 && p(t, 53), t.assignable = 2, m(t, n, o, a, s, { type: "UpdateExpression", argument: l, operator: j[i & 255], prefix: !0 });
|
|
1440
|
+
}
|
|
1441
|
+
function U(t, n, e, r, o, a, s, i, l, k) {
|
|
1442
|
+
if ((t.token & 143360) === 143360) {
|
|
1443
|
+
switch (t.token) {
|
|
1444
|
+
case 209008:
|
|
1445
|
+
return i1(t, n, r, a, i, l, k);
|
|
1446
|
+
case 241773:
|
|
1447
|
+
return s1(t, n, a, o, i, l, k);
|
|
1448
|
+
case 209007:
|
|
1449
|
+
return a1(t, n, a, s, o, r, i, l, k);
|
|
1450
|
+
}
|
|
1451
|
+
let { token: f, tokenValue: d } = t, c = V(t, n | 65536);
|
|
1452
|
+
return t.token === 10 ? (s || p(t, 0), rn(t, n, f), Xt(t, n, d, c, r, o, 0, i, l, k)) : (n & 16384 && f === 537079928 && p(t, 127), f === 241739 && (n & 1024 && p(t, 110), e & 24 && p(t, 98)), t.assignable = n & 1024 && (f & 537079808) === 537079808 ? 2 : 1, c);
|
|
1453
|
+
}
|
|
1454
|
+
if ((t.token & 134217728) === 134217728) return J(t, n);
|
|
1455
|
+
switch (t.token) {
|
|
1456
|
+
case 33619995:
|
|
1457
|
+
case 33619996:
|
|
1458
|
+
return d1(t, n, r, s, i, l, k);
|
|
1459
|
+
case 16863278:
|
|
1460
|
+
case 16842800:
|
|
1461
|
+
case 16842801:
|
|
1462
|
+
case 25233970:
|
|
1463
|
+
case 25233971:
|
|
1464
|
+
case 16863277:
|
|
1465
|
+
case 16863279:
|
|
1466
|
+
return r1(t, n, s, i, l, k, a);
|
|
1467
|
+
case 86106:
|
|
1468
|
+
return Zn(t, n, 0, a, i, l, k);
|
|
1469
|
+
case 2162700:
|
|
1470
|
+
return g1(t, n, o ? 0 : 1, a, i, l, k);
|
|
1471
|
+
case 69271571:
|
|
1472
|
+
return u1(t, n, o ? 0 : 1, a, i, l, k);
|
|
1473
|
+
case 67174411:
|
|
1474
|
+
return b1(t, n | 65536, o, 1, 0, i, l, k);
|
|
1475
|
+
case 86021:
|
|
1476
|
+
case 86022:
|
|
1477
|
+
case 86023:
|
|
1478
|
+
return m1(t, n, i, l, k);
|
|
1479
|
+
case 86113:
|
|
1480
|
+
return y1(t, n);
|
|
1481
|
+
case 65540:
|
|
1482
|
+
return T1(t, n, i, l, k);
|
|
1483
|
+
case 133:
|
|
1484
|
+
case 86096:
|
|
1485
|
+
return v1(t, n, a, i, l, k);
|
|
1486
|
+
case 86111:
|
|
1487
|
+
return l1(t, n, i, l, k);
|
|
1488
|
+
case 67174409:
|
|
1489
|
+
return ln(t, n, i, l, k);
|
|
1490
|
+
case 67174408:
|
|
1491
|
+
return cn(t, n);
|
|
1492
|
+
case 86109:
|
|
1493
|
+
return h1(t, n, a, i, l, k);
|
|
1494
|
+
case 134283389:
|
|
1495
|
+
return Yn(t, n, i, l, k);
|
|
1496
|
+
case 131:
|
|
1497
|
+
return Ot(t, n, i, l, k);
|
|
1498
|
+
case 86108:
|
|
1499
|
+
return k1(t, n, r, a, i, l, k);
|
|
1500
|
+
case 8456258:
|
|
1501
|
+
if (n & 16) return mn(t, n, 1, i, l, k);
|
|
1502
|
+
default:
|
|
1503
|
+
if (on(n, t.token)) return dn(t, n, i, l, k);
|
|
1504
|
+
p(t, 28, j[t.token & 255]);
|
|
1505
|
+
}
|
|
1506
|
+
}
|
|
1507
|
+
function k1(t, n, e, r, o, a, s) {
|
|
1508
|
+
let i = V(t, n);
|
|
1509
|
+
return t.token === 67108877 ? Hn(t, n, i, o, a, s) : (e && p(t, 138), i = Qn(t, n, r, o, a, s), t.assignable = 2, L(t, n, i, r, 0, o, a, s));
|
|
1510
|
+
}
|
|
1511
|
+
function Hn(t, n, e, r, o, a) {
|
|
1512
|
+
return n & 2048 || p(t, 164), P(t, n), t.token !== 143495 && t.tokenValue !== "meta" && p(t, 28, j[t.token & 255]), t.assignable = 2, m(t, n, r, o, a, { type: "MetaProperty", meta: e, property: V(t, n) });
|
|
1513
|
+
}
|
|
1514
|
+
function Qn(t, n, e, r, o, a) {
|
|
1515
|
+
x(t, n | 32768, 67174411), t.token === 14 && p(t, 139);
|
|
1516
|
+
let s = N(t, n, 1, e, t.tokenPos, t.linePos, t.colPos);
|
|
1517
|
+
return x(t, n, 16), m(t, n, r, o, a, { type: "ImportExpression", source: s });
|
|
1518
|
+
}
|
|
1519
|
+
function Yn(t, n, e, r, o) {
|
|
1520
|
+
let { tokenRaw: a, tokenValue: s } = t;
|
|
1521
|
+
return P(t, n), t.assignable = 2, m(t, n, e, r, o, n & 512 ? { type: "Literal", value: s, bigint: a.slice(0, -1), raw: a } : { type: "Literal", value: s, bigint: a.slice(0, -1) });
|
|
1522
|
+
}
|
|
1523
|
+
function ln(t, n, e, r, o) {
|
|
1524
|
+
t.assignable = 2;
|
|
1525
|
+
let { tokenValue: a, tokenRaw: s, tokenPos: i, linePos: l, colPos: k } = t;
|
|
1526
|
+
x(t, n, 67174409);
|
|
1527
|
+
let f = [Dt(t, n, a, s, i, l, k, !0)];
|
|
1528
|
+
return m(t, n, e, r, o, { type: "TemplateLiteral", expressions: [], quasis: f });
|
|
1529
|
+
}
|
|
1530
|
+
function cn(t, n) {
|
|
1531
|
+
n = (n | 134217728) ^ 134217728;
|
|
1532
|
+
let { tokenValue: e, tokenRaw: r, tokenPos: o, linePos: a, colPos: s } = t;
|
|
1533
|
+
x(t, n | 32768, 67174408);
|
|
1534
|
+
let i = [Dt(t, n, e, r, o, a, s, !1)], l = [R(t, n, 0, 1, t.tokenPos, t.linePos, t.colPos)];
|
|
1535
|
+
for (t.token !== 1074790415 && p(t, 81); (t.token = T2(t, n)) !== 67174409; ) {
|
|
1536
|
+
let { tokenValue: k, tokenRaw: f, tokenPos: d, linePos: c, colPos: y } = t;
|
|
1537
|
+
x(t, n | 32768, 67174408), i.push(Dt(t, n, k, f, d, c, y, !1)), l.push(R(t, n, 0, 1, t.tokenPos, t.linePos, t.colPos)), t.token !== 1074790415 && p(t, 81);
|
|
1538
|
+
}
|
|
1539
|
+
{
|
|
1540
|
+
let { tokenValue: k, tokenRaw: f, tokenPos: d, linePos: c, colPos: y } = t;
|
|
1541
|
+
x(t, n, 67174409), i.push(Dt(t, n, k, f, d, c, y, !0));
|
|
1542
|
+
}
|
|
1543
|
+
return m(t, n, o, a, s, { type: "TemplateLiteral", expressions: l, quasis: i });
|
|
1544
|
+
}
|
|
1545
|
+
function Dt(t, n, e, r, o, a, s, i) {
|
|
1546
|
+
let l = m(t, n, o, a, s, { type: "TemplateElement", value: { cooked: e, raw: r }, tail: i }), k = i ? 1 : 2;
|
|
1547
|
+
return n & 2 && (l.start += 1, l.range[0] += 1, l.end -= k, l.range[1] -= k), n & 4 && (l.loc.start.column += 1, l.loc.end.column -= k), l;
|
|
1548
|
+
}
|
|
1549
|
+
function f1(t, n, e, r, o) {
|
|
1550
|
+
n = (n | 134217728) ^ 134217728, x(t, n | 32768, 14);
|
|
1551
|
+
let a = N(t, n, 1, 0, t.tokenPos, t.linePos, t.colPos);
|
|
1552
|
+
return t.assignable = 1, m(t, n, e, r, o, { type: "SpreadElement", argument: a });
|
|
1553
|
+
}
|
|
1554
|
+
function pn(t, n, e) {
|
|
1555
|
+
P(t, n | 32768);
|
|
1556
|
+
let r = [];
|
|
1557
|
+
if (t.token === 16) return P(t, n | 65536), r;
|
|
1558
|
+
for (; t.token !== 16 && (t.token === 14 ? r.push(f1(t, n, t.tokenPos, t.linePos, t.colPos)) : r.push(N(t, n, 1, e, t.tokenPos, t.linePos, t.colPos)), !(t.token !== 18 || (P(t, n | 32768), t.token === 16))); ) ;
|
|
1559
|
+
return x(t, n, 16), r;
|
|
1560
|
+
}
|
|
1561
|
+
function V(t, n) {
|
|
1562
|
+
let { tokenValue: e, tokenPos: r, linePos: o, colPos: a } = t;
|
|
1563
|
+
return P(t, n), m(t, n, r, o, a, { type: "Identifier", name: e });
|
|
1564
|
+
}
|
|
1565
|
+
function J(t, n) {
|
|
1566
|
+
let { tokenValue: e, tokenRaw: r, tokenPos: o, linePos: a, colPos: s } = t;
|
|
1567
|
+
return t.token === 134283389 ? Yn(t, n, o, a, s) : (P(t, n), t.assignable = 2, m(t, n, o, a, s, n & 512 ? { type: "Literal", value: e, raw: r } : { type: "Literal", value: e }));
|
|
1568
|
+
}
|
|
1569
|
+
function m1(t, n, e, r, o) {
|
|
1570
|
+
let a = j[t.token & 255], s = t.token === 86023 ? null : a === "true";
|
|
1571
|
+
return P(t, n), t.assignable = 2, m(t, n, e, r, o, n & 512 ? { type: "Literal", value: s, raw: a } : { type: "Literal", value: s });
|
|
1572
|
+
}
|
|
1573
|
+
function y1(t, n) {
|
|
1574
|
+
let { tokenPos: e, linePos: r, colPos: o } = t;
|
|
1575
|
+
return P(t, n), t.assignable = 2, m(t, n, e, r, o, { type: "ThisExpression" });
|
|
1576
|
+
}
|
|
1577
|
+
function ot(t, n, e, r, o, a, s, i, l, k) {
|
|
1578
|
+
P(t, n | 32768);
|
|
1579
|
+
let f = o ? en(t, n, 8457014) : 0, d = null, c, y = e ? pt() : void 0;
|
|
1580
|
+
if (t.token === 67174411) a & 1 || p(t, 37, "Function");
|
|
1581
|
+
else {
|
|
1582
|
+
let T = r & 4 && (!(n & 8192) || !(n & 2048)) ? 4 : 64;
|
|
1583
|
+
Jn(t, n | (n & 3072) << 11, t.token), e && (T & 4 ? Un(t, n, e, t.tokenValue, T) : rt(t, n, e, t.tokenValue, T, r), y = F(y, 256), a && a & 2 && st(t, t.tokenValue)), c = t.token, t.token & 143360 ? d = V(t, n) : p(t, 28, j[t.token & 255]);
|
|
1584
|
+
}
|
|
1585
|
+
n = (n | 32243712) ^ 32243712 | 67108864 | s * 2 + f << 21 | (f ? 0 : 268435456), e && (y = F(y, 512));
|
|
1586
|
+
let h = n2(t, n | 8388608, y, 0, 1), b = Jt(t, (n | 8192 | 4096 | 131072) ^ 143360, e ? F(y, 128) : y, 8, c, e ? y.scopeError : void 0);
|
|
1587
|
+
return m(t, n, i, l, k, { type: "FunctionDeclaration", id: d, params: h, body: b, async: s === 1, generator: f === 1 });
|
|
1588
|
+
}
|
|
1589
|
+
function Zn(t, n, e, r, o, a, s) {
|
|
1590
|
+
P(t, n | 32768);
|
|
1591
|
+
let i = en(t, n, 8457014), l = e * 2 + i << 21, k = null, f, d = n & 64 ? pt() : void 0;
|
|
1592
|
+
(t.token & 176128) > 0 && (Jn(t, (n | 32243712) ^ 32243712 | l, t.token), d && (d = F(d, 256)), f = t.token, k = V(t, n)), n = (n | 32243712) ^ 32243712 | 67108864 | l | (i ? 0 : 268435456), d && (d = F(d, 512));
|
|
1593
|
+
let c = n2(t, n | 8388608, d, r, 1), y = Jt(t, n & -134377473, d && F(d, 128), 0, f, void 0);
|
|
1594
|
+
return t.assignable = 2, m(t, n, o, a, s, { type: "FunctionExpression", id: k, params: c, body: y, async: e === 1, generator: i === 1 });
|
|
1595
|
+
}
|
|
1596
|
+
function u1(t, n, e, r, o, a, s) {
|
|
1597
|
+
let i = $(t, n, void 0, e, r, 0, 2, 0, o, a, s);
|
|
1598
|
+
return n & 256 && t.destructible & 64 && p(t, 61), t.destructible & 8 && p(t, 60), i;
|
|
1599
|
+
}
|
|
1600
|
+
function $(t, n, e, r, o, a, s, i, l, k, f) {
|
|
1601
|
+
P(t, n | 32768);
|
|
1602
|
+
let d = [], c = 0;
|
|
1603
|
+
for (n = (n | 134217728) ^ 134217728; t.token !== 20; ) if (I(t, n | 32768, 18)) d.push(null);
|
|
1604
|
+
else {
|
|
1605
|
+
let h, { token: b, tokenPos: T, linePos: v, colPos: A, tokenValue: B } = t;
|
|
1606
|
+
if (b & 143360) if (h = U(t, n, s, 0, 1, o, 1, T, v, A), t.token === 1077936157) {
|
|
1607
|
+
t.assignable & 2 && p(t, 24), P(t, n | 32768), e && tt(t, n, e, B, s, i);
|
|
1608
|
+
let S = N(t, n, 1, o, t.tokenPos, t.linePos, t.colPos);
|
|
1609
|
+
h = m(t, n, T, v, A, a ? { type: "AssignmentPattern", left: h, right: S } : { type: "AssignmentExpression", operator: "=", left: h, right: S }), c |= t.destructible & 256 ? 256 : 0 | t.destructible & 128 ? 128 : 0;
|
|
1610
|
+
} else t.token === 18 || t.token === 20 ? (t.assignable & 2 ? c |= 16 : e && tt(t, n, e, B, s, i), c |= t.destructible & 256 ? 256 : 0 | t.destructible & 128 ? 128 : 0) : (c |= s & 1 ? 32 : s & 2 ? 0 : 16, h = L(t, n, h, o, 0, T, v, A), t.token !== 18 && t.token !== 20 ? (t.token !== 1077936157 && (c |= 16), h = O(t, n, o, a, T, v, A, h)) : t.token !== 1077936157 && (c |= t.assignable & 2 ? 16 : 32));
|
|
1611
|
+
else b & 2097152 ? (h = t.token === 2162700 ? z(t, n, e, 0, o, a, s, i, T, v, A) : $(t, n, e, 0, o, a, s, i, T, v, A), c |= t.destructible, t.assignable = t.destructible & 16 ? 2 : 1, t.token === 18 || t.token === 20 ? t.assignable & 2 && (c |= 16) : t.destructible & 8 ? p(t, 69) : (h = L(t, n, h, o, 0, T, v, A), c = t.assignable & 2 ? 16 : 0, t.token !== 18 && t.token !== 20 ? h = O(t, n, o, a, T, v, A, h) : t.token !== 1077936157 && (c |= t.assignable & 2 ? 16 : 32))) : b === 14 ? (h = gt(t, n, e, 20, s, i, 0, o, a, T, v, A), c |= t.destructible, t.token !== 18 && t.token !== 20 && p(t, 28, j[t.token & 255])) : (h = K(t, n, 1, 0, 1, T, v, A), t.token !== 18 && t.token !== 20 ? (h = O(t, n, o, a, T, v, A, h), !(s & 3) && b === 67174411 && (c |= 16)) : t.assignable & 2 ? c |= 16 : b === 67174411 && (c |= t.assignable & 1 && s & 3 ? 32 : 16));
|
|
1612
|
+
if (d.push(h), I(t, n | 32768, 18)) {
|
|
1613
|
+
if (t.token === 20) break;
|
|
1614
|
+
} else break;
|
|
1615
|
+
}
|
|
1616
|
+
x(t, n, 20);
|
|
1617
|
+
let y = m(t, n, l, k, f, { type: a ? "ArrayPattern" : "ArrayExpression", elements: d });
|
|
1618
|
+
return !r && t.token & 4194304 ? t2(t, n, c, o, a, l, k, f, y) : (t.destructible = c, y);
|
|
1619
|
+
}
|
|
1620
|
+
function t2(t, n, e, r, o, a, s, i, l) {
|
|
1621
|
+
t.token !== 1077936157 && p(t, 24), P(t, n | 32768), e & 16 && p(t, 24), o || H(t, l);
|
|
1622
|
+
let { tokenPos: k, linePos: f, colPos: d } = t, c = N(t, n, 1, r, k, f, d);
|
|
1623
|
+
return t.destructible = (e | 64 | 8) ^ 72 | (t.destructible & 128 ? 128 : 0) | (t.destructible & 256 ? 256 : 0), m(t, n, a, s, i, o ? { type: "AssignmentPattern", left: l, right: c } : { type: "AssignmentExpression", left: l, operator: "=", right: c });
|
|
1624
|
+
}
|
|
1625
|
+
function gt(t, n, e, r, o, a, s, i, l, k, f, d) {
|
|
1626
|
+
P(t, n | 32768);
|
|
1627
|
+
let c = null, y = 0, { token: h, tokenValue: b, tokenPos: T, linePos: v, colPos: A } = t;
|
|
1628
|
+
if (h & 143360) t.assignable = 1, c = U(t, n, o, 0, 1, i, 1, T, v, A), h = t.token, c = L(t, n, c, i, 0, T, v, A), t.token !== 18 && t.token !== r && (t.assignable & 2 && t.token === 1077936157 && p(t, 69), y |= 16, c = O(t, n, i, l, T, v, A, c)), t.assignable & 2 ? y |= 16 : h === r || h === 18 ? e && tt(t, n, e, b, o, a) : y |= 32, y |= t.destructible & 128 ? 128 : 0;
|
|
1629
|
+
else if (h === r) p(t, 39);
|
|
1630
|
+
else if (h & 2097152) c = t.token === 2162700 ? z(t, n, e, 1, i, l, o, a, T, v, A) : $(t, n, e, 1, i, l, o, a, T, v, A), h = t.token, h !== 1077936157 && h !== r && h !== 18 ? (t.destructible & 8 && p(t, 69), c = L(t, n, c, i, 0, T, v, A), y |= t.assignable & 2 ? 16 : 0, (t.token & 4194304) === 4194304 ? (t.token !== 1077936157 && (y |= 16), c = O(t, n, i, l, T, v, A, c)) : ((t.token & 8454144) === 8454144 && (c = et(t, n, 1, T, v, A, 4, h, c)), I(t, n | 32768, 22) && (c = it(t, n, c, T, v, A)), y |= t.assignable & 2 ? 16 : 32)) : y |= r === 1074790415 && h !== 1077936157 ? 16 : t.destructible;
|
|
1631
|
+
else {
|
|
1632
|
+
y |= 32, c = K(t, n, 1, i, 1, t.tokenPos, t.linePos, t.colPos);
|
|
1633
|
+
let { token: B, tokenPos: S, linePos: M, colPos: g } = t;
|
|
1634
|
+
return B === 1077936157 && B !== r && B !== 18 ? (t.assignable & 2 && p(t, 24), c = O(t, n, i, l, S, M, g, c), y |= 16) : (B === 18 ? y |= 16 : B !== r && (c = O(t, n, i, l, S, M, g, c)), y |= t.assignable & 1 ? 32 : 16), t.destructible = y, t.token !== r && t.token !== 18 && p(t, 156), m(t, n, k, f, d, { type: l ? "RestElement" : "SpreadElement", argument: c });
|
|
1635
|
+
}
|
|
1636
|
+
if (t.token !== r) if (o & 1 && (y |= s ? 16 : 32), I(t, n | 32768, 1077936157)) {
|
|
1637
|
+
y & 16 && p(t, 24), H(t, c);
|
|
1638
|
+
let B = N(t, n, 1, i, t.tokenPos, t.linePos, t.colPos);
|
|
1639
|
+
c = m(t, n, T, v, A, l ? { type: "AssignmentPattern", left: c, right: B } : { type: "AssignmentExpression", left: c, operator: "=", right: B }), y = 16;
|
|
1640
|
+
} else y |= 16;
|
|
1641
|
+
return t.destructible = y, m(t, n, k, f, d, { type: l ? "RestElement" : "SpreadElement", argument: c });
|
|
1642
|
+
}
|
|
1643
|
+
function W(t, n, e, r, o, a, s) {
|
|
1644
|
+
let i = e & 64 ? 14680064 : 31981568;
|
|
1645
|
+
n = (n | i) ^ i | (e & 88) << 18 | 100925440;
|
|
1646
|
+
let l = n & 64 ? F(pt(), 512) : void 0, k = P1(t, n | 8388608, l, e, 1, r);
|
|
1647
|
+
l && (l = F(l, 128));
|
|
1648
|
+
let f = Jt(t, n & -134230017, l, 0, void 0, void 0);
|
|
1649
|
+
return m(t, n, o, a, s, { type: "FunctionExpression", params: k, body: f, async: (e & 16) > 0, generator: (e & 8) > 0, id: null });
|
|
1650
|
+
}
|
|
1651
|
+
function g1(t, n, e, r, o, a, s) {
|
|
1652
|
+
let i = z(t, n, void 0, e, r, 0, 2, 0, o, a, s);
|
|
1653
|
+
return n & 256 && t.destructible & 64 && p(t, 61), t.destructible & 8 && p(t, 60), i;
|
|
1654
|
+
}
|
|
1655
|
+
function z(t, n, e, r, o, a, s, i, l, k, f) {
|
|
1656
|
+
P(t, n);
|
|
1657
|
+
let d = [], c = 0, y = 0;
|
|
1658
|
+
for (n = (n | 134217728) ^ 134217728; t.token !== 1074790415; ) {
|
|
1659
|
+
let { token: b, tokenValue: T, linePos: v, colPos: A, tokenPos: B } = t;
|
|
1660
|
+
if (b === 14) d.push(gt(t, n, e, 1074790415, s, i, 0, o, a, B, v, A));
|
|
1661
|
+
else {
|
|
1662
|
+
let S = 0, M = null, g, G = t.token;
|
|
1663
|
+
if (t.token & 143360 || t.token === 121) if (M = V(t, n), t.token === 18 || t.token === 1074790415 || t.token === 1077936157) if (S |= 4, n & 1024 && (b & 537079808) === 537079808 ? c |= 16 : Mt(t, n, s, b, 0), e && tt(t, n, e, T, s, i), I(t, n | 32768, 1077936157)) {
|
|
1664
|
+
c |= 8;
|
|
1665
|
+
let C = N(t, n, 1, o, t.tokenPos, t.linePos, t.colPos);
|
|
1666
|
+
c |= t.destructible & 256 ? 256 : 0 | t.destructible & 128 ? 128 : 0, g = m(t, n, B, v, A, { type: "AssignmentPattern", left: n & 536870912 ? Object.assign({}, M) : M, right: C });
|
|
1667
|
+
} else c |= (b === 209008 ? 128 : 0) | (b === 121 ? 16 : 0), g = n & 536870912 ? Object.assign({}, M) : M;
|
|
1668
|
+
else if (I(t, n | 32768, 21)) {
|
|
1669
|
+
let { tokenPos: C, linePos: w, colPos: E } = t;
|
|
1670
|
+
if (T === "__proto__" && y++, t.token & 143360) {
|
|
1671
|
+
let at = t.token, dt = t.tokenValue;
|
|
1672
|
+
c |= G === 121 ? 16 : 0, g = U(t, n, s, 0, 1, o, 1, C, w, E);
|
|
1673
|
+
let { token: Y } = t;
|
|
1674
|
+
g = L(t, n, g, o, 0, C, w, E), t.token === 18 || t.token === 1074790415 ? Y === 1077936157 || Y === 1074790415 || Y === 18 ? (c |= t.destructible & 128 ? 128 : 0, t.assignable & 2 ? c |= 16 : e && (at & 143360) === 143360 && tt(t, n, e, dt, s, i)) : c |= t.assignable & 1 ? 32 : 16 : (t.token & 4194304) === 4194304 ? (t.assignable & 2 ? c |= 16 : Y !== 1077936157 ? c |= 32 : e && tt(t, n, e, dt, s, i), g = O(t, n, o, a, C, w, E, g)) : (c |= 16, (t.token & 8454144) === 8454144 && (g = et(t, n, 1, C, w, E, 4, Y, g)), I(t, n | 32768, 22) && (g = it(t, n, g, C, w, E)));
|
|
1675
|
+
} else (t.token & 2097152) === 2097152 ? (g = t.token === 69271571 ? $(t, n, e, 0, o, a, s, i, C, w, E) : z(t, n, e, 0, o, a, s, i, C, w, E), c = t.destructible, t.assignable = c & 16 ? 2 : 1, t.token === 18 || t.token === 1074790415 ? t.assignable & 2 && (c |= 16) : t.destructible & 8 ? p(t, 69) : (g = L(t, n, g, o, 0, C, w, E), c = t.assignable & 2 ? 16 : 0, (t.token & 4194304) === 4194304 ? g = Et(t, n, o, a, C, w, E, g) : ((t.token & 8454144) === 8454144 && (g = et(t, n, 1, C, w, E, 4, b, g)), I(t, n | 32768, 22) && (g = it(t, n, g, C, w, E)), c |= t.assignable & 2 ? 16 : 32))) : (g = K(t, n, 1, o, 1, C, w, E), c |= t.assignable & 1 ? 32 : 16, t.token === 18 || t.token === 1074790415 ? t.assignable & 2 && (c |= 16) : (g = L(t, n, g, o, 0, C, w, E), c = t.assignable & 2 ? 16 : 0, t.token !== 18 && b !== 1074790415 && (t.token !== 1077936157 && (c |= 16), g = O(t, n, o, a, C, w, E, g))));
|
|
1676
|
+
} else t.token === 69271571 ? (c |= 16, b === 209007 && (S |= 16), S |= (b === 12402 ? 256 : b === 12403 ? 512 : 1) | 2, M = kt(t, n, o), c |= t.assignable, g = W(t, n, S, o, t.tokenPos, t.linePos, t.colPos)) : t.token & 143360 ? (c |= 16, b === 121 && p(t, 93), b === 209007 && (t.flags & 1 && p(t, 129), S |= 16), M = V(t, n), S |= b === 12402 ? 256 : b === 12403 ? 512 : 1, g = W(t, n, S, o, t.tokenPos, t.linePos, t.colPos)) : t.token === 67174411 ? (c |= 16, S |= 1, g = W(t, n, S, o, t.tokenPos, t.linePos, t.colPos)) : t.token === 8457014 ? (c |= 16, b === 12402 ? p(t, 40) : b === 12403 ? p(t, 41) : b === 143483 && p(t, 93), P(t, n), S |= 9 | (b === 209007 ? 16 : 0), t.token & 143360 ? M = V(t, n) : (t.token & 134217728) === 134217728 ? M = J(t, n) : t.token === 69271571 ? (S |= 2, M = kt(t, n, o), c |= t.assignable) : p(t, 28, j[t.token & 255]), g = W(t, n, S, o, t.tokenPos, t.linePos, t.colPos)) : (t.token & 134217728) === 134217728 ? (b === 209007 && (S |= 16), S |= b === 12402 ? 256 : b === 12403 ? 512 : 1, c |= 16, M = J(t, n), g = W(t, n, S, o, t.tokenPos, t.linePos, t.colPos)) : p(t, 130);
|
|
1677
|
+
else if ((t.token & 134217728) === 134217728) if (M = J(t, n), t.token === 21) {
|
|
1678
|
+
x(t, n | 32768, 21);
|
|
1679
|
+
let { tokenPos: C, linePos: w, colPos: E } = t;
|
|
1680
|
+
if (T === "__proto__" && y++, t.token & 143360) {
|
|
1681
|
+
g = U(t, n, s, 0, 1, o, 1, C, w, E);
|
|
1682
|
+
let { token: at, tokenValue: dt } = t;
|
|
1683
|
+
g = L(t, n, g, o, 0, C, w, E), t.token === 18 || t.token === 1074790415 ? at === 1077936157 || at === 1074790415 || at === 18 ? t.assignable & 2 ? c |= 16 : e && tt(t, n, e, dt, s, i) : c |= t.assignable & 1 ? 32 : 16 : t.token === 1077936157 ? (t.assignable & 2 && (c |= 16), g = O(t, n, o, a, C, w, E, g)) : (c |= 16, g = O(t, n, o, a, C, w, E, g));
|
|
1684
|
+
} else (t.token & 2097152) === 2097152 ? (g = t.token === 69271571 ? $(t, n, e, 0, o, a, s, i, C, w, E) : z(t, n, e, 0, o, a, s, i, C, w, E), c = t.destructible, t.assignable = c & 16 ? 2 : 1, t.token === 18 || t.token === 1074790415 ? t.assignable & 2 && (c |= 16) : (t.destructible & 8) !== 8 && (g = L(t, n, g, o, 0, C, w, E), c = t.assignable & 2 ? 16 : 0, (t.token & 4194304) === 4194304 ? g = Et(t, n, o, a, C, w, E, g) : ((t.token & 8454144) === 8454144 && (g = et(t, n, 1, C, w, E, 4, b, g)), I(t, n | 32768, 22) && (g = it(t, n, g, C, w, E)), c |= t.assignable & 2 ? 16 : 32))) : (g = K(t, n, 1, 0, 1, C, w, E), c |= t.assignable & 1 ? 32 : 16, t.token === 18 || t.token === 1074790415 ? t.assignable & 2 && (c |= 16) : (g = L(t, n, g, o, 0, C, w, E), c = t.assignable & 1 ? 0 : 16, t.token !== 18 && t.token !== 1074790415 && (t.token !== 1077936157 && (c |= 16), g = O(t, n, o, a, C, w, E, g))));
|
|
1685
|
+
} else t.token === 67174411 ? (S |= 1, g = W(t, n, S, o, t.tokenPos, t.linePos, t.colPos), c = t.assignable | 16) : p(t, 131);
|
|
1686
|
+
else if (t.token === 69271571) if (M = kt(t, n, o), c |= t.destructible & 256 ? 256 : 0, S |= 2, t.token === 21) {
|
|
1687
|
+
P(t, n | 32768);
|
|
1688
|
+
let { tokenPos: C, linePos: w, colPos: E, tokenValue: at, token: dt } = t;
|
|
1689
|
+
if (t.token & 143360) {
|
|
1690
|
+
g = U(t, n, s, 0, 1, o, 1, C, w, E);
|
|
1691
|
+
let { token: Y } = t;
|
|
1692
|
+
g = L(t, n, g, o, 0, C, w, E), (t.token & 4194304) === 4194304 ? (c |= t.assignable & 2 ? 16 : Y === 1077936157 ? 0 : 32, g = Et(t, n, o, a, C, w, E, g)) : t.token === 18 || t.token === 1074790415 ? Y === 1077936157 || Y === 1074790415 || Y === 18 ? t.assignable & 2 ? c |= 16 : e && (dt & 143360) === 143360 && tt(t, n, e, at, s, i) : c |= t.assignable & 1 ? 32 : 16 : (c |= 16, g = O(t, n, o, a, C, w, E, g));
|
|
1693
|
+
} else (t.token & 2097152) === 2097152 ? (g = t.token === 69271571 ? $(t, n, e, 0, o, a, s, i, C, w, E) : z(t, n, e, 0, o, a, s, i, C, w, E), c = t.destructible, t.assignable = c & 16 ? 2 : 1, t.token === 18 || t.token === 1074790415 ? t.assignable & 2 && (c |= 16) : c & 8 ? p(t, 60) : (g = L(t, n, g, o, 0, C, w, E), c = t.assignable & 2 ? c | 16 : 0, (t.token & 4194304) === 4194304 ? (t.token !== 1077936157 && (c |= 16), g = Et(t, n, o, a, C, w, E, g)) : ((t.token & 8454144) === 8454144 && (g = et(t, n, 1, C, w, E, 4, b, g)), I(t, n | 32768, 22) && (g = it(t, n, g, C, w, E)), c |= t.assignable & 2 ? 16 : 32))) : (g = K(t, n, 1, 0, 1, C, w, E), c |= t.assignable & 1 ? 32 : 16, t.token === 18 || t.token === 1074790415 ? t.assignable & 2 && (c |= 16) : (g = L(t, n, g, o, 0, C, w, E), c = t.assignable & 1 ? 0 : 16, t.token !== 18 && t.token !== 1074790415 && (t.token !== 1077936157 && (c |= 16), g = O(t, n, o, a, C, w, E, g))));
|
|
1694
|
+
} else t.token === 67174411 ? (S |= 1, g = W(t, n, S, o, t.tokenPos, v, A), c = 16) : p(t, 42);
|
|
1695
|
+
else if (b === 8457014) if (x(t, n | 32768, 8457014), S |= 8, t.token & 143360) {
|
|
1696
|
+
let { token: C, line: w, index: E } = t;
|
|
1697
|
+
M = V(t, n), S |= 1, t.token === 67174411 ? (c |= 16, g = W(t, n, S, o, t.tokenPos, t.linePos, t.colPos)) : mt(E, w, E, C === 209007 ? 44 : C === 12402 || t.token === 12403 ? 43 : 45, j[C & 255]);
|
|
1698
|
+
} else (t.token & 134217728) === 134217728 ? (c |= 16, M = J(t, n), S |= 1, g = W(t, n, S, o, B, v, A)) : t.token === 69271571 ? (c |= 16, S |= 3, M = kt(t, n, o), g = W(t, n, S, o, t.tokenPos, t.linePos, t.colPos)) : p(t, 123);
|
|
1699
|
+
else p(t, 28, j[b & 255]);
|
|
1700
|
+
c |= t.destructible & 128 ? 128 : 0, t.destructible = c, d.push(m(t, n, B, v, A, { type: "Property", key: M, value: g, kind: S & 768 ? S & 512 ? "set" : "get" : "init", computed: (S & 2) > 0, method: (S & 1) > 0, shorthand: (S & 4) > 0 }));
|
|
1701
|
+
}
|
|
1702
|
+
if (c |= t.destructible, t.token !== 18) break;
|
|
1703
|
+
P(t, n);
|
|
1704
|
+
}
|
|
1705
|
+
x(t, n, 1074790415), y > 1 && (c |= 64);
|
|
1706
|
+
let h = m(t, n, l, k, f, { type: a ? "ObjectPattern" : "ObjectExpression", properties: d });
|
|
1707
|
+
return !r && t.token & 4194304 ? t2(t, n, c, o, a, l, k, f, h) : (t.destructible = c, h);
|
|
1708
|
+
}
|
|
1709
|
+
function P1(t, n, e, r, o, a) {
|
|
1710
|
+
x(t, n, 67174411);
|
|
1711
|
+
let s = [];
|
|
1712
|
+
if (t.flags = (t.flags | 128) ^ 128, t.token === 16) return r & 512 && p(t, 35, "Setter", "one", ""), P(t, n), s;
|
|
1713
|
+
r & 256 && p(t, 35, "Getter", "no", "s"), r & 512 && t.token === 14 && p(t, 36), n = (n | 134217728) ^ 134217728;
|
|
1714
|
+
let i = 0, l = 0;
|
|
1715
|
+
for (; t.token !== 18; ) {
|
|
1716
|
+
let k = null, { tokenPos: f, linePos: d, colPos: c } = t;
|
|
1717
|
+
if (t.token & 143360 ? (n & 1024 || ((t.token & 36864) === 36864 && (t.flags |= 256), (t.token & 537079808) === 537079808 && (t.flags |= 512)), k = fn(t, n, e, r | 1, 0, f, d, c)) : (t.token === 2162700 ? k = z(t, n, e, 1, a, 1, o, 0, f, d, c) : t.token === 69271571 ? k = $(t, n, e, 1, a, 1, o, 0, f, d, c) : t.token === 14 && (k = gt(t, n, e, 16, o, 0, 0, a, 1, f, d, c)), l = 1, t.destructible & 48 && p(t, 48)), t.token === 1077936157) {
|
|
1718
|
+
P(t, n | 32768), l = 1;
|
|
1719
|
+
let y = N(t, n, 1, 0, t.tokenPos, t.linePos, t.colPos);
|
|
1720
|
+
k = m(t, n, f, d, c, { type: "AssignmentPattern", left: k, right: y });
|
|
1721
|
+
}
|
|
1722
|
+
if (i++, s.push(k), !I(t, n, 18) || t.token === 16) break;
|
|
1723
|
+
}
|
|
1724
|
+
return r & 512 && i !== 1 && p(t, 35, "Setter", "one", ""), e && e.scopeError !== void 0 && Ft(e.scopeError), l && (t.flags |= 128), x(t, n, 16), s;
|
|
1725
|
+
}
|
|
1726
|
+
function kt(t, n, e) {
|
|
1727
|
+
P(t, n | 32768);
|
|
1728
|
+
let r = N(t, (n | 134217728) ^ 134217728, 1, e, t.tokenPos, t.linePos, t.colPos);
|
|
1729
|
+
return x(t, n, 20), r;
|
|
1730
|
+
}
|
|
1731
|
+
function b1(t, n, e, r, o, a, s, i) {
|
|
1732
|
+
t.flags = (t.flags | 128) ^ 128;
|
|
1733
|
+
let { tokenPos: l, linePos: k, colPos: f } = t;
|
|
1734
|
+
P(t, n | 32768 | 268435456);
|
|
1735
|
+
let d = n & 64 ? F(pt(), 1024) : void 0;
|
|
1736
|
+
if (n = (n | 134217728) ^ 134217728, I(t, n, 16)) return jt(t, n, d, [], e, 0, a, s, i);
|
|
1737
|
+
let c = 0;
|
|
1738
|
+
t.destructible &= -385;
|
|
1739
|
+
let y, h = [], b = 0, T = 0, { tokenPos: v, linePos: A, colPos: B } = t;
|
|
1740
|
+
for (t.assignable = 1; t.token !== 16; ) {
|
|
1741
|
+
let { token: S, tokenPos: M, linePos: g, colPos: G } = t;
|
|
1742
|
+
if (S & 143360) d && rt(t, n, d, t.tokenValue, 1, 0), y = U(t, n, r, 0, 1, 1, 1, M, g, G), t.token === 16 || t.token === 18 ? t.assignable & 2 ? (c |= 16, T = 1) : ((S & 537079808) === 537079808 || (S & 36864) === 36864) && (T = 1) : (t.token === 1077936157 ? T = 1 : c |= 16, y = L(t, n, y, 1, 0, M, g, G), t.token !== 16 && t.token !== 18 && (y = O(t, n, 1, 0, M, g, G, y)));
|
|
1743
|
+
else if ((S & 2097152) === 2097152) y = S === 2162700 ? z(t, n | 268435456, d, 0, 1, 0, r, o, M, g, G) : $(t, n | 268435456, d, 0, 1, 0, r, o, M, g, G), c |= t.destructible, T = 1, t.assignable = 2, t.token !== 16 && t.token !== 18 && (c & 8 && p(t, 119), y = L(t, n, y, 0, 0, M, g, G), c |= 16, t.token !== 16 && t.token !== 18 && (y = O(t, n, 0, 0, M, g, G, y)));
|
|
1744
|
+
else if (S === 14) {
|
|
1745
|
+
y = gt(t, n, d, 16, r, o, 0, 1, 0, M, g, G), t.destructible & 16 && p(t, 72), T = 1, b && (t.token === 16 || t.token === 18) && h.push(y), c |= 8;
|
|
1746
|
+
break;
|
|
1747
|
+
} else {
|
|
1748
|
+
if (c |= 16, y = N(t, n, 1, 1, M, g, G), b && (t.token === 16 || t.token === 18) && h.push(y), t.token === 18 && (b || (b = 1, h = [y])), b) {
|
|
1749
|
+
for (; I(t, n | 32768, 18); ) h.push(N(t, n, 1, 1, t.tokenPos, t.linePos, t.colPos));
|
|
1750
|
+
t.assignable = 2, y = m(t, n, v, A, B, { type: "SequenceExpression", expressions: h });
|
|
1751
|
+
}
|
|
1752
|
+
return x(t, n, 16), t.destructible = c, y;
|
|
1753
|
+
}
|
|
1754
|
+
if (b && (t.token === 16 || t.token === 18) && h.push(y), !I(t, n | 32768, 18)) break;
|
|
1755
|
+
if (b || (b = 1, h = [y]), t.token === 16) {
|
|
1756
|
+
c |= 8;
|
|
1757
|
+
break;
|
|
1758
|
+
}
|
|
1759
|
+
}
|
|
1760
|
+
return b && (t.assignable = 2, y = m(t, n, v, A, B, { type: "SequenceExpression", expressions: h })), x(t, n, 16), c & 16 && c & 8 && p(t, 146), c |= t.destructible & 256 ? 256 : 0 | t.destructible & 128 ? 128 : 0, t.token === 10 ? (c & 48 && p(t, 47), n & 4196352 && c & 128 && p(t, 29), n & 2098176 && c & 256 && p(t, 30), T && (t.flags |= 128), jt(t, n, d, b ? h : [y], e, 0, a, s, i)) : (c & 8 && p(t, 140), t.destructible = (t.destructible | 256) ^ 256 | c, n & 128 ? m(t, n, l, k, f, { type: "ParenthesizedExpression", expression: y }) : y);
|
|
1761
|
+
}
|
|
1762
|
+
function dn(t, n, e, r, o) {
|
|
1763
|
+
let { tokenValue: a } = t, s = V(t, n);
|
|
1764
|
+
if (t.assignable = 1, t.token === 10) {
|
|
1765
|
+
let i;
|
|
1766
|
+
return n & 64 && (i = Rt(t, n, a)), t.flags = (t.flags | 128) ^ 128, Ct(t, n, i, [s], 0, e, r, o);
|
|
1767
|
+
}
|
|
1768
|
+
return s;
|
|
1769
|
+
}
|
|
1770
|
+
function Xt(t, n, e, r, o, a, s, i, l, k) {
|
|
1771
|
+
a || p(t, 55), o && p(t, 49), t.flags &= -129;
|
|
1772
|
+
let f = n & 64 ? Rt(t, n, e) : void 0;
|
|
1773
|
+
return Ct(t, n, f, [r], s, i, l, k);
|
|
1774
|
+
}
|
|
1775
|
+
function jt(t, n, e, r, o, a, s, i, l) {
|
|
1776
|
+
o || p(t, 55);
|
|
1777
|
+
for (let k = 0; k < r.length; ++k) H(t, r[k]);
|
|
1778
|
+
return Ct(t, n, e, r, a, s, i, l);
|
|
1779
|
+
}
|
|
1780
|
+
function Ct(t, n, e, r, o, a, s, i) {
|
|
1781
|
+
t.flags & 1 && p(t, 46), x(t, n | 32768, 10), n = (n | 15728640) ^ 15728640 | o << 22;
|
|
1782
|
+
let l = t.token !== 2162700, k;
|
|
1783
|
+
if (e && e.scopeError !== void 0 && Ft(e.scopeError), l) k = N(t, n & 16384 ? n | 33554432 : n, 1, 0, t.tokenPos, t.linePos, t.colPos);
|
|
1784
|
+
else {
|
|
1785
|
+
switch (e && (e = F(e, 128)), k = Jt(t, (n | 134221824 | 8192 | 16384) ^ 134246400, e, 16, void 0, void 0), t.token) {
|
|
1786
|
+
case 69271571:
|
|
1787
|
+
t.flags & 1 || p(t, 113);
|
|
1788
|
+
break;
|
|
1789
|
+
case 67108877:
|
|
1790
|
+
case 67174409:
|
|
1791
|
+
case 22:
|
|
1792
|
+
p(t, 114);
|
|
1793
|
+
case 67174411:
|
|
1794
|
+
t.flags & 1 || p(t, 113), t.flags |= 1024;
|
|
1795
|
+
break;
|
|
1796
|
+
}
|
|
1797
|
+
(t.token & 8454144) === 8454144 && !(t.flags & 1) && p(t, 28, j[t.token & 255]), (t.token & 33619968) === 33619968 && p(t, 122);
|
|
1798
|
+
}
|
|
1799
|
+
return t.assignable = 2, m(t, n, a, s, i, { type: "ArrowFunctionExpression", params: r, body: k, async: o === 1, expression: l });
|
|
1800
|
+
}
|
|
1801
|
+
function n2(t, n, e, r, o) {
|
|
1802
|
+
x(t, n, 67174411), t.flags = (t.flags | 128) ^ 128;
|
|
1803
|
+
let a = [];
|
|
1804
|
+
if (I(t, n, 16)) return a;
|
|
1805
|
+
n = (n | 134217728) ^ 134217728;
|
|
1806
|
+
let s = 0;
|
|
1807
|
+
for (; t.token !== 18; ) {
|
|
1808
|
+
let i, { tokenPos: l, linePos: k, colPos: f } = t;
|
|
1809
|
+
if (t.token & 143360 ? (n & 1024 || ((t.token & 36864) === 36864 && (t.flags |= 256), (t.token & 537079808) === 537079808 && (t.flags |= 512)), i = fn(t, n, e, o | 1, 0, l, k, f)) : (t.token === 2162700 ? i = z(t, n, e, 1, r, 1, o, 0, l, k, f) : t.token === 69271571 ? i = $(t, n, e, 1, r, 1, o, 0, l, k, f) : t.token === 14 ? i = gt(t, n, e, 16, o, 0, 0, r, 1, l, k, f) : p(t, 28, j[t.token & 255]), s = 1, t.destructible & 48 && p(t, 48)), t.token === 1077936157) {
|
|
1810
|
+
P(t, n | 32768), s = 1;
|
|
1811
|
+
let d = N(t, n, 1, r, t.tokenPos, t.linePos, t.colPos);
|
|
1812
|
+
i = m(t, n, l, k, f, { type: "AssignmentPattern", left: i, right: d });
|
|
1813
|
+
}
|
|
1814
|
+
if (a.push(i), !I(t, n, 18) || t.token === 16) break;
|
|
1815
|
+
}
|
|
1816
|
+
return s && (t.flags |= 128), e && (s || n & 1024) && e.scopeError !== void 0 && Ft(e.scopeError), x(t, n, 16), a;
|
|
1817
|
+
}
|
|
1818
|
+
function Vt(t, n, e, r, o, a, s) {
|
|
1819
|
+
let { token: i } = t;
|
|
1820
|
+
if (i & 67108864) {
|
|
1821
|
+
if (i === 67108877) {
|
|
1822
|
+
P(t, n | 268435456), t.assignable = 1;
|
|
1823
|
+
let l = _n(t, n);
|
|
1824
|
+
return Vt(t, n, m(t, n, o, a, s, { type: "MemberExpression", object: e, computed: !1, property: l }), 0, o, a, s);
|
|
1825
|
+
} else if (i === 69271571) {
|
|
1826
|
+
P(t, n | 32768);
|
|
1827
|
+
let { tokenPos: l, linePos: k, colPos: f } = t, d = R(t, n, r, 1, l, k, f);
|
|
1828
|
+
return x(t, n, 20), t.assignable = 1, Vt(t, n, m(t, n, o, a, s, { type: "MemberExpression", object: e, computed: !0, property: d }), 0, o, a, s);
|
|
1829
|
+
} else if (i === 67174408 || i === 67174409) return t.assignable = 2, Vt(t, n, m(t, n, o, a, s, { type: "TaggedTemplateExpression", tag: e, quasi: t.token === 67174408 ? cn(t, n | 65536) : ln(t, n, t.tokenPos, t.linePos, t.colPos) }), 0, o, a, s);
|
|
1830
|
+
}
|
|
1831
|
+
return e;
|
|
1832
|
+
}
|
|
1833
|
+
function h1(t, n, e, r, o, a) {
|
|
1834
|
+
let s = V(t, n | 32768), { tokenPos: i, linePos: l, colPos: k } = t;
|
|
1835
|
+
if (I(t, n, 67108877)) {
|
|
1836
|
+
if (n & 67108864 && t.token === 143494) return t.assignable = 2, x1(t, n, s, r, o, a);
|
|
1837
|
+
p(t, 92);
|
|
1838
|
+
}
|
|
1839
|
+
t.assignable = 2, (t.token & 16842752) === 16842752 && p(t, 63, j[t.token & 255]);
|
|
1840
|
+
let f = U(t, n, 2, 1, 0, e, 1, i, l, k);
|
|
1841
|
+
n = (n | 134217728) ^ 134217728, t.token === 67108991 && p(t, 163);
|
|
1842
|
+
let d = Vt(t, n, f, e, i, l, k);
|
|
1843
|
+
return t.assignable = 2, m(t, n, r, o, a, { type: "NewExpression", callee: d, arguments: t.token === 67174411 ? pn(t, n, e) : [] });
|
|
1844
|
+
}
|
|
1845
|
+
function x1(t, n, e, r, o, a) {
|
|
1846
|
+
let s = V(t, n);
|
|
1847
|
+
return m(t, n, r, o, a, { type: "MetaProperty", meta: e, property: s });
|
|
1848
|
+
}
|
|
1849
|
+
function e2(t, n, e, r, o, a) {
|
|
1850
|
+
return t.token === 209008 && p(t, 29), n & 2098176 && t.token === 241773 && p(t, 30), (t.token & 537079808) === 537079808 && (t.flags |= 512), Xt(t, n, t.tokenValue, V(t, n), 0, e, 1, r, o, a);
|
|
1851
|
+
}
|
|
1852
|
+
function kn(t, n, e, r, o, a, s, i, l, k) {
|
|
1853
|
+
P(t, n | 32768);
|
|
1854
|
+
let f = n & 64 ? F(pt(), 1024) : void 0;
|
|
1855
|
+
if (n = (n | 134217728) ^ 134217728, I(t, n, 16)) return t.token === 10 ? (s & 1 && p(t, 46), jt(t, n, f, [], r, 1, i, l, k)) : m(t, n, i, l, k, { type: "CallExpression", callee: e, arguments: [] });
|
|
1856
|
+
let d = 0, c = null, y = 0;
|
|
1857
|
+
t.destructible = (t.destructible | 256 | 128) ^ 384;
|
|
1858
|
+
let h = [];
|
|
1859
|
+
for (; t.token !== 16; ) {
|
|
1860
|
+
let { token: b, tokenPos: T, linePos: v, colPos: A } = t;
|
|
1861
|
+
if (b & 143360) f && rt(t, n, f, t.tokenValue, o, 0), c = U(t, n, o, 0, 1, 1, 1, T, v, A), t.token === 16 || t.token === 18 ? t.assignable & 2 ? (d |= 16, y = 1) : (b & 537079808) === 537079808 ? t.flags |= 512 : (b & 36864) === 36864 && (t.flags |= 256) : (t.token === 1077936157 ? y = 1 : d |= 16, c = L(t, n, c, 1, 0, T, v, A), t.token !== 16 && t.token !== 18 && (c = O(t, n, 1, 0, T, v, A, c)));
|
|
1862
|
+
else if (b & 2097152) c = b === 2162700 ? z(t, n, f, 0, 1, 0, o, a, T, v, A) : $(t, n, f, 0, 1, 0, o, a, T, v, A), d |= t.destructible, y = 1, t.token !== 16 && t.token !== 18 && (d & 8 && p(t, 119), c = L(t, n, c, 0, 0, T, v, A), d |= 16, (t.token & 8454144) === 8454144 && (c = et(t, n, 1, i, l, k, 4, b, c)), I(t, n | 32768, 22) && (c = it(t, n, c, i, l, k)));
|
|
1863
|
+
else if (b === 14) c = gt(t, n, f, 16, o, a, 1, 1, 0, T, v, A), d |= (t.token === 16 ? 0 : 16) | t.destructible, y = 1;
|
|
1864
|
+
else {
|
|
1865
|
+
for (c = N(t, n, 1, 0, T, v, A), d = t.assignable, h.push(c); I(t, n | 32768, 18); ) h.push(N(t, n, 1, 0, T, v, A));
|
|
1866
|
+
return d |= t.assignable, x(t, n, 16), t.destructible = d | 16, t.assignable = 2, m(t, n, i, l, k, { type: "CallExpression", callee: e, arguments: h });
|
|
1867
|
+
}
|
|
1868
|
+
if (h.push(c), !I(t, n | 32768, 18)) break;
|
|
1869
|
+
}
|
|
1870
|
+
return x(t, n, 16), d |= t.destructible & 256 ? 256 : 0 | t.destructible & 128 ? 128 : 0, t.token === 10 ? (d & 48 && p(t, 25), (t.flags & 1 || s & 1) && p(t, 46), d & 128 && p(t, 29), n & 2098176 && d & 256 && p(t, 30), y && (t.flags |= 128), jt(t, n, f, h, r, 1, i, l, k)) : (d & 8 && p(t, 60), t.assignable = 2, m(t, n, i, l, k, { type: "CallExpression", callee: e, arguments: h }));
|
|
1871
|
+
}
|
|
1872
|
+
function T1(t, n, e, r, o) {
|
|
1873
|
+
let { tokenRaw: a, tokenRegExp: s, tokenValue: i } = t;
|
|
1874
|
+
return P(t, n), t.assignable = 2, n & 512 ? m(t, n, e, r, o, { type: "Literal", value: i, regex: s, raw: a }) : m(t, n, e, r, o, { type: "Literal", value: i, regex: s });
|
|
1875
|
+
}
|
|
1876
|
+
function _t(t, n, e, r, o, a, s) {
|
|
1877
|
+
n = (n | 16777216 | 1024) ^ 16777216;
|
|
1878
|
+
let i = qt(t, n);
|
|
1879
|
+
i.length && (o = t.tokenPos, a = t.linePos, s = t.colPos), t.leadingDecorators.length && (t.leadingDecorators.push(...i), i = t.leadingDecorators, t.leadingDecorators = []), P(t, n);
|
|
1880
|
+
let l = null, k = null, { tokenValue: f } = t;
|
|
1881
|
+
t.token & 4096 && t.token !== 20567 ? (Xn(t, n, t.token) && p(t, 115), (t.token & 537079808) === 537079808 && p(t, 116), e && (rt(t, n, e, f, 32, 0), r && r & 2 && st(t, f)), l = V(t, n)) : r & 1 || p(t, 37, "Class");
|
|
1882
|
+
let d = n;
|
|
1883
|
+
I(t, n | 32768, 20567) ? (k = K(t, n, 0, 0, 0, t.tokenPos, t.linePos, t.colPos), d |= 524288) : d = (d | 524288) ^ 524288;
|
|
1884
|
+
let c = o2(t, d, n, e, 2, 8, 0);
|
|
1885
|
+
return m(t, n, o, a, s, n & 1 ? { type: "ClassDeclaration", id: l, superClass: k, decorators: i, body: c } : { type: "ClassDeclaration", id: l, superClass: k, body: c });
|
|
1886
|
+
}
|
|
1887
|
+
function v1(t, n, e, r, o, a) {
|
|
1888
|
+
let s = null, i = null;
|
|
1889
|
+
n = (n | 1024 | 16777216) ^ 16777216;
|
|
1890
|
+
let l = qt(t, n);
|
|
1891
|
+
l.length && (r = t.tokenPos, o = t.linePos, a = t.colPos), P(t, n), t.token & 4096 && t.token !== 20567 && (Xn(t, n, t.token) && p(t, 115), (t.token & 537079808) === 537079808 && p(t, 116), s = V(t, n));
|
|
1892
|
+
let k = n;
|
|
1893
|
+
I(t, n | 32768, 20567) ? (i = K(t, n, 0, e, 0, t.tokenPos, t.linePos, t.colPos), k |= 524288) : k = (k | 524288) ^ 524288;
|
|
1894
|
+
let f = o2(t, k, n, void 0, 2, 0, e);
|
|
1895
|
+
return t.assignable = 2, m(t, n, r, o, a, n & 1 ? { type: "ClassExpression", id: s, superClass: i, decorators: l, body: f } : { type: "ClassExpression", id: s, superClass: i, body: f });
|
|
1896
|
+
}
|
|
1897
|
+
function qt(t, n) {
|
|
1898
|
+
let e = [];
|
|
1899
|
+
if (n & 1) for (; t.token === 133; ) e.push(S1(t, n, t.tokenPos, t.linePos, t.colPos));
|
|
1900
|
+
return e;
|
|
1901
|
+
}
|
|
1902
|
+
function S1(t, n, e, r, o) {
|
|
1903
|
+
P(t, n | 32768);
|
|
1904
|
+
let a = U(t, n, 2, 0, 1, 0, 1, e, r, o);
|
|
1905
|
+
return a = L(t, n, a, 0, 0, e, r, o), m(t, n, e, r, o, { type: "Decorator", expression: a });
|
|
1906
|
+
}
|
|
1907
|
+
function o2(t, n, e, r, o, a, s) {
|
|
1908
|
+
let { tokenPos: i, linePos: l, colPos: k } = t;
|
|
1909
|
+
x(t, n | 32768, 2162700), n = (n | 134217728) ^ 134217728;
|
|
1910
|
+
let f = t.flags & 32;
|
|
1911
|
+
t.flags = (t.flags | 32) ^ 32;
|
|
1912
|
+
let d = [], c;
|
|
1913
|
+
for (; t.token !== 1074790415; ) {
|
|
1914
|
+
let y = 0;
|
|
1915
|
+
if (c = qt(t, n), y = c.length, y > 0 && t.tokenValue === "constructor" && p(t, 107), t.token === 1074790415 && p(t, 106), I(t, n, 1074790417)) {
|
|
1916
|
+
y > 0 && p(t, 117);
|
|
1917
|
+
continue;
|
|
1918
|
+
}
|
|
1919
|
+
d.push(r2(t, n, r, e, o, c, 0, s, t.tokenPos, t.linePos, t.colPos));
|
|
1920
|
+
}
|
|
1921
|
+
return x(t, a & 8 ? n | 32768 : n, 1074790415), t.flags = t.flags & -33 | f, m(t, n, i, l, k, { type: "ClassBody", body: d });
|
|
1922
|
+
}
|
|
1923
|
+
function r2(t, n, e, r, o, a, s, i, l, k, f) {
|
|
1924
|
+
let d = s ? 32 : 0, c = null, { token: y, tokenPos: h, linePos: b, colPos: T } = t;
|
|
1925
|
+
if (y & 176128) switch (c = V(t, n), y) {
|
|
1926
|
+
case 36972:
|
|
1927
|
+
if (!s && t.token !== 67174411 && (t.token & 1048576) !== 1048576 && t.token !== 1077936157) return r2(t, n, e, r, o, a, 1, i, l, k, f);
|
|
1928
|
+
break;
|
|
1929
|
+
case 209007:
|
|
1930
|
+
if (t.token !== 67174411 && !(t.flags & 1)) {
|
|
1931
|
+
if (n & 1 && (t.token & 1073741824) === 1073741824) return wt(t, n, c, d, a, h, b, T);
|
|
1932
|
+
d |= 16 | (en(t, n, 8457014) ? 8 : 0);
|
|
1933
|
+
}
|
|
1934
|
+
break;
|
|
1935
|
+
case 12402:
|
|
1936
|
+
if (t.token !== 67174411) {
|
|
1937
|
+
if (n & 1 && (t.token & 1073741824) === 1073741824) return wt(t, n, c, d, a, h, b, T);
|
|
1938
|
+
d |= 256;
|
|
1939
|
+
}
|
|
1940
|
+
break;
|
|
1941
|
+
case 12403:
|
|
1942
|
+
if (t.token !== 67174411) {
|
|
1943
|
+
if (n & 1 && (t.token & 1073741824) === 1073741824) return wt(t, n, c, d, a, h, b, T);
|
|
1944
|
+
d |= 512;
|
|
1945
|
+
}
|
|
1946
|
+
break;
|
|
1947
|
+
}
|
|
1948
|
+
else if (y === 69271571) d |= 2, c = kt(t, r, i);
|
|
1949
|
+
else if ((y & 134217728) === 134217728) c = J(t, n);
|
|
1950
|
+
else if (y === 8457014) d |= 8, P(t, n);
|
|
1951
|
+
else if (n & 1 && t.token === 131) d |= 4096, c = Ot(t, n | 16384, h, b, T);
|
|
1952
|
+
else if (n & 1 && (t.token & 1073741824) === 1073741824) d |= 128;
|
|
1953
|
+
else {
|
|
1954
|
+
if (s && y === 2162700) return Q2(t, n, e, h, b, T);
|
|
1955
|
+
y === 122 ? (c = V(t, n), t.token !== 67174411 && p(t, 28, j[t.token & 255])) : p(t, 28, j[t.token & 255]);
|
|
1956
|
+
}
|
|
1957
|
+
if (d & 792 && (t.token & 143360 ? c = V(t, n) : (t.token & 134217728) === 134217728 ? c = J(t, n) : t.token === 69271571 ? (d |= 2, c = kt(t, n, 0)) : t.token === 122 ? c = V(t, n) : n & 1 && t.token === 131 ? (d |= 4096, c = Ot(t, n, h, b, T)) : p(t, 132)), d & 2 || (t.tokenValue === "constructor" ? ((t.token & 1073741824) === 1073741824 ? p(t, 126) : !(d & 32) && t.token === 67174411 && (d & 920 ? p(t, 51, "accessor") : n & 524288 || (t.flags & 32 ? p(t, 52) : t.flags |= 32)), d |= 64) : !(d & 4096) && d & 824 && t.tokenValue === "prototype" && p(t, 50)), n & 1 && t.token !== 67174411) return wt(t, n, c, d, a, h, b, T);
|
|
1958
|
+
let v = W(t, n, d, i, t.tokenPos, t.linePos, t.colPos);
|
|
1959
|
+
return m(t, n, l, k, f, n & 1 ? { type: "MethodDefinition", kind: !(d & 32) && d & 64 ? "constructor" : d & 256 ? "get" : d & 512 ? "set" : "method", static: (d & 32) > 0, computed: (d & 2) > 0, key: c, decorators: a, value: v } : { type: "MethodDefinition", kind: !(d & 32) && d & 64 ? "constructor" : d & 256 ? "get" : d & 512 ? "set" : "method", static: (d & 32) > 0, computed: (d & 2) > 0, key: c, value: v });
|
|
1960
|
+
}
|
|
1961
|
+
function Ot(t, n, e, r, o) {
|
|
1962
|
+
P(t, n);
|
|
1963
|
+
let { tokenValue: a } = t;
|
|
1964
|
+
return a === "constructor" && p(t, 125), P(t, n), m(t, n, e, r, o, { type: "PrivateIdentifier", name: a });
|
|
1965
|
+
}
|
|
1966
|
+
function wt(t, n, e, r, o, a, s, i) {
|
|
1967
|
+
let l = null;
|
|
1968
|
+
if (r & 8 && p(t, 0), t.token === 1077936157) {
|
|
1969
|
+
P(t, n | 32768);
|
|
1970
|
+
let { tokenPos: k, linePos: f, colPos: d } = t;
|
|
1971
|
+
t.token === 537079928 && p(t, 116);
|
|
1972
|
+
let c = r & 64 ? 14680064 : 31981568;
|
|
1973
|
+
n = (n | c) ^ c | (r & 88) << 18 | 100925440, l = U(t, n | 16384, 2, 0, 1, 0, 1, k, f, d), ((t.token & 1073741824) !== 1073741824 || (t.token & 4194304) === 4194304) && (l = L(t, n | 16384, l, 0, 0, k, f, d), l = O(t, n | 16384, 0, 0, k, f, d, l), t.token === 18 && (l = Z(t, n, 0, a, s, i, l)));
|
|
1974
|
+
}
|
|
1975
|
+
return m(t, n, a, s, i, { type: "PropertyDefinition", key: e, value: l, static: (r & 32) > 0, computed: (r & 2) > 0, decorators: o });
|
|
1976
|
+
}
|
|
1977
|
+
function a2(t, n, e, r, o, a, s, i) {
|
|
1978
|
+
if (t.token & 143360) return fn(t, n, e, r, o, a, s, i);
|
|
1979
|
+
(t.token & 2097152) !== 2097152 && p(t, 28, j[t.token & 255]);
|
|
1980
|
+
let l = t.token === 69271571 ? $(t, n, e, 1, 0, 1, r, o, a, s, i) : z(t, n, e, 1, 0, 1, r, o, a, s, i);
|
|
1981
|
+
return t.destructible & 16 && p(t, 48), t.destructible & 32 && p(t, 48), l;
|
|
1982
|
+
}
|
|
1983
|
+
function fn(t, n, e, r, o, a, s, i) {
|
|
1984
|
+
let { tokenValue: l, token: k } = t;
|
|
1985
|
+
return n & 1024 && ((k & 537079808) === 537079808 ? p(t, 116) : (k & 36864) === 36864 && p(t, 115)), (k & 20480) === 20480 && p(t, 100), n & 2099200 && k === 241773 && p(t, 30), k === 241739 && r & 24 && p(t, 98), n & 4196352 && k === 209008 && p(t, 96), P(t, n), e && tt(t, n, e, l, r, o), m(t, n, a, s, i, { type: "Identifier", name: l });
|
|
1986
|
+
}
|
|
1987
|
+
function mn(t, n, e, r, o, a) {
|
|
1988
|
+
if (P(t, n), t.token === 8456259) return m(t, n, r, o, a, { type: "JSXFragment", openingFragment: C1(t, n, r, o, a), children: Tn(t, n), closingFragment: E1(t, n, e, t.tokenPos, t.linePos, t.colPos) });
|
|
1989
|
+
let s = null, i = [], l = D1(t, n, e, r, o, a);
|
|
1990
|
+
if (!l.selfClosing) {
|
|
1991
|
+
i = Tn(t, n), s = A1(t, n, e, t.tokenPos, t.linePos, t.colPos);
|
|
1992
|
+
let k = Nt(s.name);
|
|
1993
|
+
Nt(l.name) !== k && p(t, 150, k);
|
|
1994
|
+
}
|
|
1995
|
+
return m(t, n, r, o, a, { type: "JSXElement", children: i, openingElement: l, closingElement: s });
|
|
1996
|
+
}
|
|
1997
|
+
function C1(t, n, e, r, o) {
|
|
1998
|
+
return ct(t, n), m(t, n, e, r, o, { type: "JSXOpeningFragment" });
|
|
1999
|
+
}
|
|
2000
|
+
function A1(t, n, e, r, o, a) {
|
|
2001
|
+
x(t, n, 25);
|
|
2002
|
+
let s = s2(t, n, t.tokenPos, t.linePos, t.colPos);
|
|
2003
|
+
return e ? x(t, n, 8456259) : t.token = ct(t, n), m(t, n, r, o, a, { type: "JSXClosingElement", name: s });
|
|
2004
|
+
}
|
|
2005
|
+
function E1(t, n, e, r, o, a) {
|
|
2006
|
+
return x(t, n, 25), x(t, n, 8456259), m(t, n, r, o, a, { type: "JSXClosingFragment" });
|
|
2007
|
+
}
|
|
2008
|
+
function Tn(t, n) {
|
|
2009
|
+
let e = [];
|
|
2010
|
+
for (; t.token !== 25; ) t.index = t.tokenPos = t.startPos, t.column = t.colPos = t.startColumn, t.line = t.linePos = t.startLine, ct(t, n), e.push(w1(t, n, t.tokenPos, t.linePos, t.colPos));
|
|
2011
|
+
return e;
|
|
2012
|
+
}
|
|
2013
|
+
function w1(t, n, e, r, o) {
|
|
2014
|
+
if (t.token === 138) return I1(t, n, e, r, o);
|
|
2015
|
+
if (t.token === 2162700) return l2(t, n, 0, 0, e, r, o);
|
|
2016
|
+
if (t.token === 8456258) return mn(t, n, 0, e, r, o);
|
|
2017
|
+
p(t, 0);
|
|
2018
|
+
}
|
|
2019
|
+
function I1(t, n, e, r, o) {
|
|
2020
|
+
ct(t, n);
|
|
2021
|
+
let a = { type: "JSXText", value: t.tokenValue };
|
|
2022
|
+
return n & 512 && (a.raw = t.tokenRaw), m(t, n, e, r, o, a);
|
|
2023
|
+
}
|
|
2024
|
+
function D1(t, n, e, r, o, a) {
|
|
2025
|
+
(t.token & 143360) !== 143360 && (t.token & 4096) !== 4096 && p(t, 0);
|
|
2026
|
+
let s = s2(t, n, t.tokenPos, t.linePos, t.colPos), i = L1(t, n), l = t.token === 8457016;
|
|
2027
|
+
return t.token === 8456259 ? ct(t, n) : (x(t, n, 8457016), e ? x(t, n, 8456259) : ct(t, n)), m(t, n, r, o, a, { type: "JSXOpeningElement", name: s, attributes: i, selfClosing: l });
|
|
2028
|
+
}
|
|
2029
|
+
function s2(t, n, e, r, o) {
|
|
2030
|
+
zt(t);
|
|
2031
|
+
let a = Ut(t, n, e, r, o);
|
|
2032
|
+
if (t.token === 21) return i2(t, n, a, e, r, o);
|
|
2033
|
+
for (; I(t, n, 67108877); ) zt(t), a = V1(t, n, a, e, r, o);
|
|
2034
|
+
return a;
|
|
2035
|
+
}
|
|
2036
|
+
function V1(t, n, e, r, o, a) {
|
|
2037
|
+
let s = Ut(t, n, t.tokenPos, t.linePos, t.colPos);
|
|
2038
|
+
return m(t, n, r, o, a, { type: "JSXMemberExpression", object: e, property: s });
|
|
2039
|
+
}
|
|
2040
|
+
function L1(t, n) {
|
|
2041
|
+
let e = [];
|
|
2042
|
+
for (; t.token !== 8457016 && t.token !== 8456259 && t.token !== 1048576; ) e.push(N1(t, n, t.tokenPos, t.linePos, t.colPos));
|
|
2043
|
+
return e;
|
|
2044
|
+
}
|
|
2045
|
+
function M1(t, n, e, r, o) {
|
|
2046
|
+
P(t, n), x(t, n, 14);
|
|
2047
|
+
let a = N(t, n, 1, 0, t.tokenPos, t.linePos, t.colPos);
|
|
2048
|
+
return x(t, n, 1074790415), m(t, n, e, r, o, { type: "JSXSpreadAttribute", argument: a });
|
|
2049
|
+
}
|
|
2050
|
+
function N1(t, n, e, r, o) {
|
|
2051
|
+
if (t.token === 2162700) return M1(t, n, e, r, o);
|
|
2052
|
+
zt(t);
|
|
2053
|
+
let a = null, s = Ut(t, n, e, r, o);
|
|
2054
|
+
if (t.token === 21 && (s = i2(t, n, s, e, r, o)), t.token === 1077936157) {
|
|
2055
|
+
let i = A2(t, n), { tokenPos: l, linePos: k, colPos: f } = t;
|
|
2056
|
+
switch (i) {
|
|
2057
|
+
case 134283267:
|
|
2058
|
+
a = J(t, n);
|
|
2059
|
+
break;
|
|
2060
|
+
case 8456258:
|
|
2061
|
+
a = mn(t, n, 1, l, k, f);
|
|
2062
|
+
break;
|
|
2063
|
+
case 2162700:
|
|
2064
|
+
a = l2(t, n, 1, 1, l, k, f);
|
|
2065
|
+
break;
|
|
2066
|
+
default:
|
|
2067
|
+
p(t, 149);
|
|
2068
|
+
}
|
|
2069
|
+
}
|
|
2070
|
+
return m(t, n, e, r, o, { type: "JSXAttribute", value: a, name: s });
|
|
2071
|
+
}
|
|
2072
|
+
function i2(t, n, e, r, o, a) {
|
|
2073
|
+
x(t, n, 21);
|
|
2074
|
+
let s = Ut(t, n, t.tokenPos, t.linePos, t.colPos);
|
|
2075
|
+
return m(t, n, r, o, a, { type: "JSXNamespacedName", namespace: e, name: s });
|
|
2076
|
+
}
|
|
2077
|
+
function l2(t, n, e, r, o, a, s) {
|
|
2078
|
+
P(t, n | 32768);
|
|
2079
|
+
let { tokenPos: i, linePos: l, colPos: k } = t;
|
|
2080
|
+
if (t.token === 14) return j1(t, n, o, a, s);
|
|
2081
|
+
let f = null;
|
|
2082
|
+
return t.token === 1074790415 ? (r && p(t, 152), f = O1(t, n, t.startPos, t.startLine, t.startColumn)) : f = N(t, n, 1, 0, i, l, k), e ? x(t, n, 1074790415) : ct(t, n), m(t, n, o, a, s, { type: "JSXExpressionContainer", expression: f });
|
|
2083
|
+
}
|
|
2084
|
+
function j1(t, n, e, r, o) {
|
|
2085
|
+
x(t, n, 14);
|
|
2086
|
+
let a = N(t, n, 1, 0, t.tokenPos, t.linePos, t.colPos);
|
|
2087
|
+
return x(t, n, 1074790415), m(t, n, e, r, o, { type: "JSXSpreadChild", expression: a });
|
|
2088
|
+
}
|
|
2089
|
+
function O1(t, n, e, r, o) {
|
|
2090
|
+
return t.startPos = t.tokenPos, t.startLine = t.linePos, t.startColumn = t.colPos, m(t, n, e, r, o, { type: "JSXEmptyExpression" });
|
|
2091
|
+
}
|
|
2092
|
+
function Ut(t, n, e, r, o) {
|
|
2093
|
+
let { tokenValue: a } = t;
|
|
2094
|
+
return P(t, n), m(t, n, e, r, o, { type: "JSXIdentifier", name: a });
|
|
2095
|
+
}
|
|
2096
|
+
function B1(t, n) {
|
|
2097
|
+
return N2(t, n, 0);
|
|
2098
|
+
}
|
|
2099
|
+
function F1(t, n) {
|
|
2100
|
+
let e = new SyntaxError(t + " (" + n.loc.start.line + ":" + n.loc.start.column + ")");
|
|
2101
|
+
return Object.assign(e, n);
|
|
2102
|
+
}
|
|
2103
|
+
var R1 = F1;
|
|
2104
|
+
function J1(t) {
|
|
2105
|
+
let n = [];
|
|
2106
|
+
for (let e of t) try {
|
|
2107
|
+
return e();
|
|
2108
|
+
} catch (r) {
|
|
2109
|
+
n.push(r);
|
|
2110
|
+
}
|
|
2111
|
+
throw Object.assign(new Error("All combinations failed"), { errors: n });
|
|
2112
|
+
}
|
|
2113
|
+
var X1 = J1, q1 = (t, n, e) => {
|
|
2114
|
+
if (!(t && n == null)) return Array.isArray(n) || typeof n == "string" ? n[e < 0 ? n.length + e : e] : n.at(e);
|
|
2115
|
+
}, vn = q1;
|
|
2116
|
+
function U1(t) {
|
|
2117
|
+
return Array.isArray(t) && t.length > 0;
|
|
2118
|
+
}
|
|
2119
|
+
var K1 = U1;
|
|
2120
|
+
function _(t) {
|
|
2121
|
+
var n, e, r;
|
|
2122
|
+
let o = ((n = t.range) == null ? void 0 : n[0]) ?? t.start, a = (r = ((e = t.declaration) == null ? void 0 : e.decorators) ?? t.decorators) == null ? void 0 : r[0];
|
|
2123
|
+
return a ? Math.min(_(a), o) : o;
|
|
2124
|
+
}
|
|
2125
|
+
function nt(t) {
|
|
2126
|
+
var n;
|
|
2127
|
+
return ((n = t.range) == null ? void 0 : n[1]) ?? t.end;
|
|
2128
|
+
}
|
|
2129
|
+
function $1(t) {
|
|
2130
|
+
let n = new Set(t);
|
|
2131
|
+
return (e) => n.has(e == null ? void 0 : e.type);
|
|
2132
|
+
}
|
|
2133
|
+
var z1 = $1, G1 = z1(["Block", "CommentBlock", "MultiLine"]), Ht = G1;
|
|
2134
|
+
function W1(t) {
|
|
2135
|
+
let n = `*${t.value}*`.split(`
|
|
2136
|
+
`);
|
|
2137
|
+
return n.length > 1 && n.every((e) => e.trimStart()[0] === "*");
|
|
2138
|
+
}
|
|
2139
|
+
var Sn = W1;
|
|
2140
|
+
function _1(t) {
|
|
2141
|
+
return Ht(t) && t.value[0] === "*" && /@(?:type|satisfies)\b/u.test(t.value);
|
|
2142
|
+
}
|
|
2143
|
+
var H1 = _1, Pt = null;
|
|
2144
|
+
function ht(t) {
|
|
2145
|
+
if (Pt !== null && typeof Pt.property) {
|
|
2146
|
+
let n = Pt;
|
|
2147
|
+
return Pt = ht.prototype = null, n;
|
|
2148
|
+
}
|
|
2149
|
+
return Pt = ht.prototype = t ?? /* @__PURE__ */ Object.create(null), new ht();
|
|
2150
|
+
}
|
|
2151
|
+
var Q1 = 10;
|
|
2152
|
+
for (let t = 0; t <= Q1; t++) ht();
|
|
2153
|
+
function Y1(t) {
|
|
2154
|
+
return ht(t);
|
|
2155
|
+
}
|
|
2156
|
+
function Z1(t, n = "type") {
|
|
2157
|
+
Y1(t);
|
|
2158
|
+
function e(r) {
|
|
2159
|
+
let o = r[n], a = t[o];
|
|
2160
|
+
if (!Array.isArray(a)) throw Object.assign(new Error(`Missing visitor keys for '${o}'.`), { node: r });
|
|
2161
|
+
return a;
|
|
2162
|
+
}
|
|
2163
|
+
return e;
|
|
2164
|
+
}
|
|
2165
|
+
var te = Z1, ne = { ArrayExpression: ["elements"], AssignmentExpression: ["left", "right"], BinaryExpression: ["left", "right"], InterpreterDirective: [], Directive: ["value"], DirectiveLiteral: [], BlockStatement: ["directives", "body"], BreakStatement: ["label"], CallExpression: ["callee", "arguments", "typeParameters", "typeArguments"], CatchClause: ["param", "body"], ConditionalExpression: ["test", "consequent", "alternate"], ContinueStatement: ["label"], DebuggerStatement: [], DoWhileStatement: ["test", "body"], EmptyStatement: [], ExpressionStatement: ["expression"], File: ["program"], ForInStatement: ["left", "right", "body"], ForStatement: ["init", "test", "update", "body"], FunctionDeclaration: ["id", "params", "body", "returnType", "typeParameters", "predicate"], FunctionExpression: ["id", "params", "body", "returnType", "typeParameters"], Identifier: ["typeAnnotation", "decorators"], IfStatement: ["test", "consequent", "alternate"], LabeledStatement: ["label", "body"], StringLiteral: [], NumericLiteral: [], NullLiteral: [], BooleanLiteral: [], RegExpLiteral: [], LogicalExpression: ["left", "right"], MemberExpression: ["object", "property"], NewExpression: ["callee", "arguments", "typeParameters", "typeArguments"], Program: ["directives", "body"], ObjectExpression: ["properties"], ObjectMethod: ["key", "params", "body", "decorators", "returnType", "typeParameters"], ObjectProperty: ["key", "value", "decorators"], RestElement: ["argument", "typeAnnotation", "decorators"], ReturnStatement: ["argument"], SequenceExpression: ["expressions"], ParenthesizedExpression: ["expression"], SwitchCase: ["test", "consequent"], SwitchStatement: ["discriminant", "cases"], ThisExpression: [], ThrowStatement: ["argument"], TryStatement: ["block", "handler", "finalizer"], UnaryExpression: ["argument"], UpdateExpression: ["argument"], VariableDeclaration: ["declarations"], VariableDeclarator: ["id", "init"], WhileStatement: ["test", "body"], WithStatement: ["object", "body"], AssignmentPattern: ["left", "right", "decorators", "typeAnnotation"], ArrayPattern: ["elements", "typeAnnotation", "decorators"], ArrowFunctionExpression: ["params", "body", "returnType", "typeParameters", "predicate"], ClassBody: ["body"], ClassExpression: ["id", "body", "superClass", "mixins", "typeParameters", "superTypeParameters", "implements", "decorators", "superTypeArguments"], ClassDeclaration: ["id", "body", "superClass", "mixins", "typeParameters", "superTypeParameters", "implements", "decorators", "superTypeArguments"], ExportAllDeclaration: ["source", "attributes", "exported"], ExportDefaultDeclaration: ["declaration"], ExportNamedDeclaration: ["declaration", "specifiers", "source", "attributes"], ExportSpecifier: ["local", "exported"], ForOfStatement: ["left", "right", "body"], ImportDeclaration: ["specifiers", "source", "attributes"], ImportDefaultSpecifier: ["local"], ImportNamespaceSpecifier: ["local"], ImportSpecifier: ["local", "imported"], ImportExpression: ["source", "options", "attributes"], MetaProperty: ["meta", "property"], ClassMethod: ["key", "params", "body", "decorators", "returnType", "typeParameters"], ObjectPattern: ["properties", "typeAnnotation", "decorators"], SpreadElement: ["argument"], Super: [], TaggedTemplateExpression: ["tag", "quasi", "typeParameters", "typeArguments"], TemplateElement: [], TemplateLiteral: ["quasis", "expressions"], YieldExpression: ["argument"], AwaitExpression: ["argument"], Import: [], BigIntLiteral: [], ExportNamespaceSpecifier: ["exported"], OptionalMemberExpression: ["object", "property"], OptionalCallExpression: ["callee", "arguments", "typeParameters", "typeArguments"], ClassProperty: ["key", "value", "typeAnnotation", "decorators", "variance"], ClassAccessorProperty: ["key", "value", "typeAnnotation", "decorators"], ClassPrivateProperty: ["key", "value", "decorators", "typeAnnotation", "variance"], ClassPrivateMethod: ["key", "params", "body", "decorators", "returnType", "typeParameters"], PrivateName: ["id"], StaticBlock: ["body"], AnyTypeAnnotation: [], ArrayTypeAnnotation: ["elementType"], BooleanTypeAnnotation: [], BooleanLiteralTypeAnnotation: [], NullLiteralTypeAnnotation: [], ClassImplements: ["id", "typeParameters"], DeclareClass: ["id", "typeParameters", "extends", "mixins", "implements", "body"], DeclareFunction: ["id", "predicate"], DeclareInterface: ["id", "typeParameters", "extends", "body"], DeclareModule: ["id", "body"], DeclareModuleExports: ["typeAnnotation"], DeclareTypeAlias: ["id", "typeParameters", "right"], DeclareOpaqueType: ["id", "typeParameters", "supertype"], DeclareVariable: ["id"], DeclareExportDeclaration: ["declaration", "specifiers", "source"], DeclareExportAllDeclaration: ["source"], DeclaredPredicate: ["value"], ExistsTypeAnnotation: [], FunctionTypeAnnotation: ["typeParameters", "params", "rest", "returnType", "this"], FunctionTypeParam: ["name", "typeAnnotation"], GenericTypeAnnotation: ["id", "typeParameters"], InferredPredicate: [], InterfaceExtends: ["id", "typeParameters"], InterfaceDeclaration: ["id", "typeParameters", "extends", "body"], InterfaceTypeAnnotation: ["extends", "body"], IntersectionTypeAnnotation: ["types"], MixedTypeAnnotation: [], EmptyTypeAnnotation: [], NullableTypeAnnotation: ["typeAnnotation"], NumberLiteralTypeAnnotation: [], NumberTypeAnnotation: [], ObjectTypeAnnotation: ["properties", "indexers", "callProperties", "internalSlots"], ObjectTypeInternalSlot: ["id", "value"], ObjectTypeCallProperty: ["value"], ObjectTypeIndexer: ["id", "key", "value", "variance"], ObjectTypeProperty: ["key", "value", "variance"], ObjectTypeSpreadProperty: ["argument"], OpaqueType: ["id", "typeParameters", "supertype", "impltype"], QualifiedTypeIdentifier: ["id", "qualification"], StringLiteralTypeAnnotation: [], StringTypeAnnotation: [], SymbolTypeAnnotation: [], ThisTypeAnnotation: [], TupleTypeAnnotation: ["types", "elementTypes"], TypeofTypeAnnotation: ["argument", "typeArguments"], TypeAlias: ["id", "typeParameters", "right"], TypeAnnotation: ["typeAnnotation"], TypeCastExpression: ["expression", "typeAnnotation"], TypeParameter: ["bound", "default", "variance"], TypeParameterDeclaration: ["params"], TypeParameterInstantiation: ["params"], UnionTypeAnnotation: ["types"], Variance: [], VoidTypeAnnotation: [], EnumDeclaration: ["id", "body"], EnumBooleanBody: ["members"], EnumNumberBody: ["members"], EnumStringBody: ["members"], EnumSymbolBody: ["members"], EnumBooleanMember: ["id", "init"], EnumNumberMember: ["id", "init"], EnumStringMember: ["id", "init"], EnumDefaultedMember: ["id"], IndexedAccessType: ["objectType", "indexType"], OptionalIndexedAccessType: ["objectType", "indexType"], JSXAttribute: ["name", "value"], JSXClosingElement: ["name"], JSXElement: ["openingElement", "children", "closingElement"], JSXEmptyExpression: [], JSXExpressionContainer: ["expression"], JSXSpreadChild: ["expression"], JSXIdentifier: [], JSXMemberExpression: ["object", "property"], JSXNamespacedName: ["namespace", "name"], JSXOpeningElement: ["name", "attributes", "typeArguments", "typeParameters"], JSXSpreadAttribute: ["argument"], JSXText: [], JSXFragment: ["openingFragment", "children", "closingFragment"], JSXOpeningFragment: [], JSXClosingFragment: [], Noop: [], Placeholder: [], V8IntrinsicIdentifier: [], ArgumentPlaceholder: [], BindExpression: ["object", "callee"], ImportAttribute: ["key", "value"], Decorator: ["expression"], DoExpression: ["body"], ExportDefaultSpecifier: ["exported"], RecordExpression: ["properties"], TupleExpression: ["elements"], DecimalLiteral: [], ModuleExpression: ["body"], TopicReference: [], PipelineTopicExpression: ["expression"], PipelineBareFunction: ["callee"], PipelinePrimaryTopicReference: [], TSParameterProperty: ["parameter", "decorators"], TSDeclareFunction: ["id", "typeParameters", "params", "returnType", "body"], TSDeclareMethod: ["decorators", "key", "typeParameters", "params", "returnType"], TSQualifiedName: ["left", "right"], TSCallSignatureDeclaration: ["typeParameters", "parameters", "typeAnnotation", "params", "returnType"], TSConstructSignatureDeclaration: ["typeParameters", "parameters", "typeAnnotation", "params", "returnType"], TSPropertySignature: ["key", "typeAnnotation"], TSMethodSignature: ["key", "typeParameters", "parameters", "typeAnnotation", "params", "returnType"], TSIndexSignature: ["parameters", "typeAnnotation"], TSAnyKeyword: [], TSBooleanKeyword: [], TSBigIntKeyword: [], TSIntrinsicKeyword: [], TSNeverKeyword: [], TSNullKeyword: [], TSNumberKeyword: [], TSObjectKeyword: [], TSStringKeyword: [], TSSymbolKeyword: [], TSUndefinedKeyword: [], TSUnknownKeyword: [], TSVoidKeyword: [], TSThisType: [], TSFunctionType: ["typeParameters", "parameters", "typeAnnotation", "params", "returnType"], TSConstructorType: ["typeParameters", "parameters", "typeAnnotation", "params", "returnType"], TSTypeReference: ["typeName", "typeParameters", "typeArguments"], TSTypePredicate: ["parameterName", "typeAnnotation"], TSTypeQuery: ["exprName", "typeParameters", "typeArguments"], TSTypeLiteral: ["members"], TSArrayType: ["elementType"], TSTupleType: ["elementTypes"], TSOptionalType: ["typeAnnotation"], TSRestType: ["typeAnnotation"], TSNamedTupleMember: ["label", "elementType"], TSUnionType: ["types"], TSIntersectionType: ["types"], TSConditionalType: ["checkType", "extendsType", "trueType", "falseType"], TSInferType: ["typeParameter"], TSParenthesizedType: ["typeAnnotation"], TSTypeOperator: ["typeAnnotation"], TSIndexedAccessType: ["objectType", "indexType"], TSMappedType: ["typeParameter", "typeAnnotation", "nameType"], TSLiteralType: ["literal"], TSExpressionWithTypeArguments: ["expression", "typeParameters"], TSInterfaceDeclaration: ["id", "typeParameters", "extends", "body"], TSInterfaceBody: ["body"], TSTypeAliasDeclaration: ["id", "typeParameters", "typeAnnotation"], TSInstantiationExpression: ["expression", "typeParameters", "typeArguments"], TSAsExpression: ["expression", "typeAnnotation"], TSSatisfiesExpression: ["expression", "typeAnnotation"], TSTypeAssertion: ["typeAnnotation", "expression"], TSEnumDeclaration: ["id", "members"], TSEnumMember: ["id", "initializer"], TSModuleDeclaration: ["id", "body"], TSModuleBlock: ["body"], TSImportType: ["argument", "qualifier", "typeParameters", "typeArguments"], TSImportEqualsDeclaration: ["id", "moduleReference"], TSExternalModuleReference: ["expression"], TSNonNullExpression: ["expression"], TSExportAssignment: ["expression"], TSNamespaceExportDeclaration: ["id"], TSTypeAnnotation: ["typeAnnotation"], TSTypeParameterInstantiation: ["params"], TSTypeParameterDeclaration: ["params"], TSTypeParameter: ["constraint", "default", "name"], ChainExpression: ["expression"], ExperimentalRestProperty: ["argument"], ExperimentalSpreadProperty: ["argument"], Literal: [], MethodDefinition: ["decorators", "key", "value"], PrivateIdentifier: [], Property: ["key", "value"], PropertyDefinition: ["decorators", "key", "typeAnnotation", "value", "variance"], AccessorProperty: ["decorators", "key", "typeAnnotation", "value"], TSAbstractAccessorProperty: ["decorators", "key", "typeAnnotation"], TSAbstractKeyword: [], TSAbstractMethodDefinition: ["key", "value"], TSAbstractPropertyDefinition: ["decorators", "key", "typeAnnotation"], TSAsyncKeyword: [], TSClassImplements: ["expression", "typeArguments", "typeParameters"], TSDeclareKeyword: [], TSEmptyBodyFunctionExpression: ["id", "typeParameters", "params", "returnType"], TSEnumBody: ["members"], TSExportKeyword: [], TSInterfaceHeritage: ["expression", "typeArguments", "typeParameters"], TSPrivateKeyword: [], TSProtectedKeyword: [], TSPublicKeyword: [], TSReadonlyKeyword: [], TSStaticKeyword: [], TSTemplateLiteralType: ["quasis", "types"], AsConstExpression: ["expression"], AsExpression: ["expression", "typeAnnotation"], BigIntLiteralTypeAnnotation: [], BigIntTypeAnnotation: [], ComponentDeclaration: ["id", "params", "body", "typeParameters", "rendersType"], ComponentParameter: ["name", "local"], ComponentTypeAnnotation: ["params", "rest", "typeParameters", "rendersType"], ComponentTypeParameter: ["name", "typeAnnotation"], ConditionalTypeAnnotation: ["checkType", "extendsType", "trueType", "falseType"], DeclareComponent: ["id", "params", "rest", "typeParameters", "rendersType"], DeclareEnum: ["id", "body"], DeclareHook: ["id"], DeclareNamespace: ["id", "body"], EnumBigIntBody: ["members"], EnumBigIntMember: ["id", "init"], HookDeclaration: ["id", "params", "body", "typeParameters", "returnType"], HookTypeAnnotation: ["params", "returnType", "rest", "typeParameters"], InferTypeAnnotation: ["typeParameter"], KeyofTypeAnnotation: ["argument"], ObjectTypeMappedTypeProperty: ["keyTparam", "propType", "sourceType", "variance"], QualifiedTypeofIdentifier: ["qualification", "id"], TupleTypeLabeledElement: ["label", "elementType", "variance"], TupleTypeSpreadElement: ["label", "typeAnnotation"], TypeOperator: ["typeAnnotation"], TypePredicate: ["parameterName", "typeAnnotation", "asserts"], NGRoot: ["node"], NGPipeExpression: ["left", "right", "arguments"], NGChainedExpression: ["expressions"], NGEmptyExpression: [], NGMicrosyntax: ["body"], NGMicrosyntaxKey: [], NGMicrosyntaxExpression: ["expression", "alias"], NGMicrosyntaxKeyedExpression: ["key", "expression"], NGMicrosyntaxLet: ["key", "value"], NGMicrosyntaxAs: ["key", "alias"], JsExpressionRoot: ["node"], JsonRoot: ["node"], TSJSDocAllType: [], TSJSDocUnknownType: [], TSJSDocNullableType: ["typeAnnotation"], TSJSDocNonNullableType: ["typeAnnotation"], NeverTypeAnnotation: [], UndefinedTypeAnnotation: [], UnknownTypeAnnotation: [], SatisfiesExpression: ["expression", "typeAnnotation"] }, ee = te(ne), oe = ee;
|
|
2166
|
+
function Qt(t, n) {
|
|
2167
|
+
if (!(t !== null && typeof t == "object")) return t;
|
|
2168
|
+
if (Array.isArray(t)) {
|
|
2169
|
+
for (let r = 0; r < t.length; r++) t[r] = Qt(t[r], n);
|
|
2170
|
+
return t;
|
|
2171
|
+
}
|
|
2172
|
+
let e = oe(t);
|
|
2173
|
+
for (let r = 0; r < e.length; r++) t[e[r]] = Qt(t[e[r]], n);
|
|
2174
|
+
return n(t) || t;
|
|
2175
|
+
}
|
|
2176
|
+
var Kt = Qt;
|
|
2177
|
+
function re(t, n) {
|
|
2178
|
+
let { parser: e, text: r } = n;
|
|
2179
|
+
if (t.type === "File" && t.program.interpreter) {
|
|
2180
|
+
let { program: { interpreter: o }, comments: a } = t;
|
|
2181
|
+
delete t.program.interpreter, a.unshift(o);
|
|
2182
|
+
}
|
|
2183
|
+
if (e === "babel") {
|
|
2184
|
+
let o = /* @__PURE__ */ new Set();
|
|
2185
|
+
t = Kt(t, (a) => {
|
|
2186
|
+
var s;
|
|
2187
|
+
(s = a.leadingComments) != null && s.some(H1) && o.add(_(a));
|
|
2188
|
+
}), t = Kt(t, (a) => {
|
|
2189
|
+
if (a.type === "ParenthesizedExpression") {
|
|
2190
|
+
let { expression: s } = a;
|
|
2191
|
+
if (s.type === "TypeCastExpression") return s.range = [...a.range], s;
|
|
2192
|
+
let i = _(a);
|
|
2193
|
+
if (!o.has(i)) return s.extra = { ...s.extra, parenthesized: !0 }, s;
|
|
2194
|
+
}
|
|
2195
|
+
});
|
|
2196
|
+
}
|
|
2197
|
+
if (t = Kt(t, (o) => {
|
|
2198
|
+
var a;
|
|
2199
|
+
switch (o.type) {
|
|
2200
|
+
case "LogicalExpression":
|
|
2201
|
+
if (c2(o)) return Yt(o);
|
|
2202
|
+
break;
|
|
2203
|
+
case "VariableDeclaration": {
|
|
2204
|
+
let s = vn(!1, o.declarations, -1);
|
|
2205
|
+
s != null && s.init && r[nt(s)] !== ";" && (o.range = [_(o), nt(s)]);
|
|
2206
|
+
break;
|
|
2207
|
+
}
|
|
2208
|
+
case "TSParenthesizedType":
|
|
2209
|
+
return o.typeAnnotation;
|
|
2210
|
+
case "TSTypeParameter":
|
|
2211
|
+
if (typeof o.name == "string") {
|
|
2212
|
+
let s = _(o);
|
|
2213
|
+
o.name = { type: "Identifier", name: o.name, range: [s, s + o.name.length] };
|
|
2214
|
+
}
|
|
2215
|
+
break;
|
|
2216
|
+
case "TopicReference":
|
|
2217
|
+
t.extra = { ...t.extra, __isUsingHackPipeline: !0 };
|
|
2218
|
+
break;
|
|
2219
|
+
case "ExportAllDeclaration":
|
|
2220
|
+
if (e === "meriyah" && ((a = o.exported) == null ? void 0 : a.type) === "Identifier") {
|
|
2221
|
+
let { exported: s } = o, i = r.slice(_(s), nt(s));
|
|
2222
|
+
(i.startsWith('"') || i.startsWith("'")) && (o.exported = { ...o.exported, type: "Literal", value: o.exported.name, raw: i });
|
|
2223
|
+
}
|
|
2224
|
+
break;
|
|
2225
|
+
case "TSUnionType":
|
|
2226
|
+
case "TSIntersectionType":
|
|
2227
|
+
if (o.types.length === 1) return o.types[0];
|
|
2228
|
+
break;
|
|
2229
|
+
}
|
|
2230
|
+
}), K1(t.comments)) {
|
|
2231
|
+
let o = vn(!1, t.comments, -1);
|
|
2232
|
+
for (let a = t.comments.length - 2; a >= 0; a--) {
|
|
2233
|
+
let s = t.comments[a];
|
|
2234
|
+
nt(s) === _(o) && Ht(s) && Ht(o) && Sn(s) && Sn(o) && (t.comments.splice(a + 1, 1), s.value += "*//*" + o.value, s.range = [_(s), nt(o)]), o = s;
|
|
2235
|
+
}
|
|
2236
|
+
}
|
|
2237
|
+
return t.type === "Program" && (t.range = [0, r.length]), t;
|
|
2238
|
+
}
|
|
2239
|
+
function c2(t) {
|
|
2240
|
+
return t.type === "LogicalExpression" && t.right.type === "LogicalExpression" && t.operator === t.right.operator;
|
|
2241
|
+
}
|
|
2242
|
+
function Yt(t) {
|
|
2243
|
+
return c2(t) ? Yt({ type: "LogicalExpression", operator: t.operator, left: Yt({ type: "LogicalExpression", operator: t.operator, left: t.left, right: t.right.left, range: [_(t.left), nt(t.right.left)] }), right: t.right.right, range: [_(t), nt(t)] }) : t;
|
|
2244
|
+
}
|
|
2245
|
+
var ae = re, se = (t, n, e, r) => {
|
|
2246
|
+
if (!(t && n == null)) return n.replaceAll ? n.replaceAll(e, r) : e.global ? n.replace(e, r) : n.split(e).join(r);
|
|
2247
|
+
}, It = se, ie = /\*\/$/, le = /^\/\*\*?/, ce = /^\s*(\/\*\*?(.|\r?\n)*?\*\/)/, pe = /(^|\s+)\/\/([^\n\r]*)/g, Cn = /^(\r?\n)+/, de = /(?:^|\r?\n) *(@[^\n\r]*?) *\r?\n *(?![^\n\r@]*\/\/[^]*)([^\s@][^\n\r@]+?) *\r?\n/g, An = /(?:^|\r?\n) *@(\S+) *([^\n\r]*)/g, ke = /(\r?\n|^) *\* ?/g, fe = [];
|
|
2248
|
+
function me(t) {
|
|
2249
|
+
let n = t.match(ce);
|
|
2250
|
+
return n ? n[0].trimStart() : "";
|
|
2251
|
+
}
|
|
2252
|
+
function ye(t) {
|
|
2253
|
+
let n = `
|
|
2254
|
+
`;
|
|
2255
|
+
t = It(!1, t.replace(le, "").replace(ie, ""), ke, "$1");
|
|
2256
|
+
let e = "";
|
|
2257
|
+
for (; e !== t; ) e = t, t = It(!1, t, de, `${n}$1 $2${n}`);
|
|
2258
|
+
t = t.replace(Cn, "").trimEnd();
|
|
2259
|
+
let r = /* @__PURE__ */ Object.create(null), o = It(!1, t, An, "").replace(Cn, "").trimEnd(), a;
|
|
2260
|
+
for (; a = An.exec(t); ) {
|
|
2261
|
+
let s = It(!1, a[2], pe, "");
|
|
2262
|
+
if (typeof r[a[1]] == "string" || Array.isArray(r[a[1]])) {
|
|
2263
|
+
let i = r[a[1]];
|
|
2264
|
+
r[a[1]] = [...fe, ...Array.isArray(i) ? i : [i], s];
|
|
2265
|
+
} else r[a[1]] = s;
|
|
2266
|
+
}
|
|
2267
|
+
return { comments: o, pragmas: r };
|
|
2268
|
+
}
|
|
2269
|
+
function ue(t) {
|
|
2270
|
+
if (!t.startsWith("#!")) return "";
|
|
2271
|
+
let n = t.indexOf(`
|
|
2272
|
+
`);
|
|
2273
|
+
return n === -1 ? t : t.slice(0, n);
|
|
2274
|
+
}
|
|
2275
|
+
var ge = ue;
|
|
2276
|
+
function Pe(t) {
|
|
2277
|
+
let n = ge(t);
|
|
2278
|
+
n && (t = t.slice(n.length + 1));
|
|
2279
|
+
let e = me(t), { pragmas: r, comments: o } = ye(e);
|
|
2280
|
+
return { shebang: n, text: t, pragmas: r, comments: o };
|
|
2281
|
+
}
|
|
2282
|
+
function be(t) {
|
|
2283
|
+
let { pragmas: n } = Pe(t);
|
|
2284
|
+
return Object.prototype.hasOwnProperty.call(n, "prettier") || Object.prototype.hasOwnProperty.call(n, "format");
|
|
2285
|
+
}
|
|
2286
|
+
function he(t) {
|
|
2287
|
+
return t = typeof t == "function" ? { parse: t } : t, { astFormat: "estree", hasPragma: be, locStart: _, locEnd: nt, ...t };
|
|
2288
|
+
}
|
|
2289
|
+
var xe = he;
|
|
2290
|
+
function Te(t) {
|
|
2291
|
+
let { filepath: n } = t;
|
|
2292
|
+
if (n) {
|
|
2293
|
+
if (n = n.toLowerCase(), n.endsWith(".cjs")) return "script";
|
|
2294
|
+
if (n.endsWith(".mjs")) return "module";
|
|
2295
|
+
}
|
|
2296
|
+
}
|
|
2297
|
+
var ve = Te, Se = { next: !0, ranges: !0, webcompat: !0, loc: !0, raw: !0, directives: !0, globalReturn: !0, impliedStrict: !1, preserveParens: !1, lexical: !1, jsx: !0, uniqueKeyInPattern: !1 };
|
|
2298
|
+
function Ce(t, n) {
|
|
2299
|
+
let e = [], r = [], o = B1(t, { ...Se, module: n === "module", onComment: e, onToken: r });
|
|
2300
|
+
return o.comments = e, o.tokens = r, o;
|
|
2301
|
+
}
|
|
2302
|
+
function Ae(t) {
|
|
2303
|
+
var n;
|
|
2304
|
+
let { message: e, line: r, column: o } = t, a = (n = e.match(/^\[(?<line>\d+):(?<column>\d+)\]: (?<message>.*)$/u)) == null ? void 0 : n.groups;
|
|
2305
|
+
return a && (e = a.message, typeof r != "number" && (r = Number(a.line), o = Number(a.column))), typeof r != "number" ? t : R1(e, { loc: { start: { line: r, column: o } }, cause: t });
|
|
2306
|
+
}
|
|
2307
|
+
function Ee(t, n = {}) {
|
|
2308
|
+
let e = ve(n), r = (e ? [e] : ["module", "script"]).map((a) => () => Ce(t, a)), o;
|
|
2309
|
+
try {
|
|
2310
|
+
o = X1(r);
|
|
2311
|
+
} catch ({ errors: [a] }) {
|
|
2312
|
+
throw Ae(a);
|
|
2313
|
+
}
|
|
2314
|
+
return ae(o, { parser: "meriyah", text: t });
|
|
2315
|
+
}
|
|
2316
|
+
var we = xe(Ee), Ie = wn;
|
|
2317
|
+
export {
|
|
2318
|
+
Ie as default,
|
|
2319
|
+
In as parsers
|
|
2320
|
+
};
|