@vuebro/loader-sfc 2.2.1 → 2.2.3
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/loader-sfc.d.ts +2 -2
- package/dist/loader-sfc.esm-browser.prod.js +755 -751
- package/dist/loader-sfc.js +29 -20
- package/package.json +1 -1
|
@@ -38,7 +38,7 @@ var ic, r1, kT = (function() {
|
|
|
38
38
|
}, ic;
|
|
39
39
|
})();
|
|
40
40
|
const ST = vT(kT);
|
|
41
|
-
var B, h,
|
|
41
|
+
var B, h, H;
|
|
42
42
|
(function(e) {
|
|
43
43
|
e[e.NONE = 0] = "NONE", e[e._abstract = 1] = "_abstract", e[e._accessor = 2] = "_accessor", e[e._as = 3] = "_as", e[e._assert = 4] = "_assert", e[e._asserts = 5] = "_asserts", e[e._async = 6] = "_async", e[e._await = 7] = "_await", e[e._checks = 8] = "_checks", e[e._constructor = 9] = "_constructor", e[e._declare = 10] = "_declare", e[e._enum = 11] = "_enum", e[e._exports = 12] = "_exports", e[e._from = 13] = "_from", e[e._get = 14] = "_get", e[e._global = 15] = "_global", e[e._implements = 16] = "_implements", e[e._infer = 17] = "_infer", e[e._interface = 18] = "_interface", e[e._is = 19] = "_is", e[e._keyof = 20] = "_keyof", e[e._mixins = 21] = "_mixins", e[e._module = 22] = "_module", e[e._namespace = 23] = "_namespace", e[e._of = 24] = "_of", e[e._opaque = 25] = "_opaque", e[e._out = 26] = "_out", e[e._override = 27] = "_override", e[e._private = 28] = "_private", e[e._protected = 29] = "_protected", e[e._proto = 30] = "_proto", e[e._public = 31] = "_public", e[e._readonly = 32] = "_readonly", e[e._require = 33] = "_require", e[e._satisfies = 34] = "_satisfies", e[e._set = 35] = "_set", e[e._static = 36] = "_static", e[e._symbol = 37] = "_symbol", e[e._type = 38] = "_type", e[e._unique = 39] = "_unique", e[e._using = 40] = "_using";
|
|
44
44
|
})(B || (B = {})), (function(e) {
|
|
@@ -112,7 +112,7 @@ function wT(e) {
|
|
|
112
112
|
if ("pos" in e) {
|
|
113
113
|
const t = (function(s) {
|
|
114
114
|
let n = 1, i = 1;
|
|
115
|
-
for (let o = 0; o < s; o++) he.charCodeAt(o) ===
|
|
115
|
+
for (let o = 0; o < s; o++) he.charCodeAt(o) === H.lineFeed ? (n++, i = 1) : i++;
|
|
116
116
|
return new _T(n, i);
|
|
117
117
|
})(e.pos);
|
|
118
118
|
e.message += ` (${t.line}:${t.column})`, e.loc = t;
|
|
@@ -121,7 +121,7 @@ function wT(e) {
|
|
|
121
121
|
}
|
|
122
122
|
(function(e) {
|
|
123
123
|
e[e.backSpace = 8] = "backSpace", e[e.lineFeed = 10] = "lineFeed", e[e.tab = 9] = "tab", e[e.carriageReturn = 13] = "carriageReturn", e[e.shiftOut = 14] = "shiftOut", e[e.space = 32] = "space", e[e.exclamationMark = 33] = "exclamationMark", e[e.quotationMark = 34] = "quotationMark", e[e.numberSign = 35] = "numberSign", e[e.dollarSign = 36] = "dollarSign", e[e.percentSign = 37] = "percentSign", e[e.ampersand = 38] = "ampersand", e[e.apostrophe = 39] = "apostrophe", e[e.leftParenthesis = 40] = "leftParenthesis", e[e.rightParenthesis = 41] = "rightParenthesis", e[e.asterisk = 42] = "asterisk", e[e.plusSign = 43] = "plusSign", e[e.comma = 44] = "comma", e[e.dash = 45] = "dash", e[e.dot = 46] = "dot", e[e.slash = 47] = "slash", e[e.digit0 = 48] = "digit0", e[e.digit1 = 49] = "digit1", e[e.digit2 = 50] = "digit2", e[e.digit3 = 51] = "digit3", e[e.digit4 = 52] = "digit4", e[e.digit5 = 53] = "digit5", e[e.digit6 = 54] = "digit6", e[e.digit7 = 55] = "digit7", e[e.digit8 = 56] = "digit8", e[e.digit9 = 57] = "digit9", e[e.colon = 58] = "colon", e[e.semicolon = 59] = "semicolon", e[e.lessThan = 60] = "lessThan", e[e.equalsTo = 61] = "equalsTo", e[e.greaterThan = 62] = "greaterThan", e[e.questionMark = 63] = "questionMark", e[e.atSign = 64] = "atSign", e[e.uppercaseA = 65] = "uppercaseA", e[e.uppercaseB = 66] = "uppercaseB", e[e.uppercaseC = 67] = "uppercaseC", e[e.uppercaseD = 68] = "uppercaseD", e[e.uppercaseE = 69] = "uppercaseE", e[e.uppercaseF = 70] = "uppercaseF", e[e.uppercaseG = 71] = "uppercaseG", e[e.uppercaseH = 72] = "uppercaseH", e[e.uppercaseI = 73] = "uppercaseI", e[e.uppercaseJ = 74] = "uppercaseJ", e[e.uppercaseK = 75] = "uppercaseK", e[e.uppercaseL = 76] = "uppercaseL", e[e.uppercaseM = 77] = "uppercaseM", e[e.uppercaseN = 78] = "uppercaseN", e[e.uppercaseO = 79] = "uppercaseO", e[e.uppercaseP = 80] = "uppercaseP", e[e.uppercaseQ = 81] = "uppercaseQ", e[e.uppercaseR = 82] = "uppercaseR", e[e.uppercaseS = 83] = "uppercaseS", e[e.uppercaseT = 84] = "uppercaseT", e[e.uppercaseU = 85] = "uppercaseU", e[e.uppercaseV = 86] = "uppercaseV", e[e.uppercaseW = 87] = "uppercaseW", e[e.uppercaseX = 88] = "uppercaseX", e[e.uppercaseY = 89] = "uppercaseY", e[e.uppercaseZ = 90] = "uppercaseZ", e[e.leftSquareBracket = 91] = "leftSquareBracket", e[e.backslash = 92] = "backslash", e[e.rightSquareBracket = 93] = "rightSquareBracket", e[e.caret = 94] = "caret", e[e.underscore = 95] = "underscore", e[e.graveAccent = 96] = "graveAccent", e[e.lowercaseA = 97] = "lowercaseA", e[e.lowercaseB = 98] = "lowercaseB", e[e.lowercaseC = 99] = "lowercaseC", e[e.lowercaseD = 100] = "lowercaseD", e[e.lowercaseE = 101] = "lowercaseE", e[e.lowercaseF = 102] = "lowercaseF", e[e.lowercaseG = 103] = "lowercaseG", e[e.lowercaseH = 104] = "lowercaseH", e[e.lowercaseI = 105] = "lowercaseI", e[e.lowercaseJ = 106] = "lowercaseJ", e[e.lowercaseK = 107] = "lowercaseK", e[e.lowercaseL = 108] = "lowercaseL", e[e.lowercaseM = 109] = "lowercaseM", e[e.lowercaseN = 110] = "lowercaseN", e[e.lowercaseO = 111] = "lowercaseO", e[e.lowercaseP = 112] = "lowercaseP", e[e.lowercaseQ = 113] = "lowercaseQ", e[e.lowercaseR = 114] = "lowercaseR", e[e.lowercaseS = 115] = "lowercaseS", e[e.lowercaseT = 116] = "lowercaseT", e[e.lowercaseU = 117] = "lowercaseU", e[e.lowercaseV = 118] = "lowercaseV", e[e.lowercaseW = 119] = "lowercaseW", e[e.lowercaseX = 120] = "lowercaseX", e[e.lowercaseY = 121] = "lowercaseY", e[e.lowercaseZ = 122] = "lowercaseZ", e[e.leftCurlyBrace = 123] = "leftCurlyBrace", e[e.verticalBar = 124] = "verticalBar", e[e.rightCurlyBrace = 125] = "rightCurlyBrace", e[e.tilde = 126] = "tilde", e[e.nonBreakingSpace = 160] = "nonBreakingSpace", e[e.oghamSpaceMark = 5760] = "oghamSpaceMark", e[e.lineSeparator = 8232] = "lineSeparator", e[e.paragraphSeparator = 8233] = "paragraphSeparator";
|
|
124
|
-
})(
|
|
124
|
+
})(H || (H = {}));
|
|
125
125
|
class _T {
|
|
126
126
|
constructor(t, s) {
|
|
127
127
|
this.line = t, this.column = s;
|
|
@@ -150,7 +150,7 @@ function Lt() {
|
|
|
150
150
|
const e = k.tokens[k.tokens.length - 1];
|
|
151
151
|
for (let t = e ? e.end : 0; t < k.start; t++) {
|
|
152
152
|
const s = he.charCodeAt(t);
|
|
153
|
-
if (s ===
|
|
153
|
+
if (s === H.lineFeed || s === H.carriageReturn || s === 8232 || s === 8233) return !0;
|
|
154
154
|
}
|
|
155
155
|
return !1;
|
|
156
156
|
}
|
|
@@ -158,7 +158,7 @@ function Rg() {
|
|
|
158
158
|
const e = Fp();
|
|
159
159
|
for (let t = k.end; t < e; t++) {
|
|
160
160
|
const s = he.charCodeAt(t);
|
|
161
|
-
if (s ===
|
|
161
|
+
if (s === H.lineFeed || s === H.carriageReturn || s === 8232 || s === 8233) return !0;
|
|
162
162
|
}
|
|
163
163
|
return !1;
|
|
164
164
|
}
|
|
@@ -406,7 +406,7 @@ function Ae(e = "Unexpected token", t = k.start) {
|
|
|
406
406
|
const s = new SyntaxError(e);
|
|
407
407
|
s.pos = t, k.error = s, k.pos = he.length, Ne(h.eof);
|
|
408
408
|
}
|
|
409
|
-
const Mg = [9, 11, 12,
|
|
409
|
+
const Mg = [9, 11, 12, H.space, H.nonBreakingSpace, H.oghamSpaceMark, 8192, 8193, 8194, 8195, 8196, 8197, 8198, 8199, 8200, 8201, 8202, 8239, 8287, 12288, 65279], s1 = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, Dg = new Uint8Array(65536);
|
|
410
410
|
for (const e of Mg) Dg[e] = 1;
|
|
411
411
|
function AT(e) {
|
|
412
412
|
if (e < 48) return e === 36;
|
|
@@ -424,7 +424,7 @@ for (let e = 128; e < 65536; e++) cr[e] = 1;
|
|
|
424
424
|
for (const e of Mg) cr[e] = 0;
|
|
425
425
|
cr[8232] = 0, cr[8233] = 0;
|
|
426
426
|
const fi = cr.slice();
|
|
427
|
-
for (let e =
|
|
427
|
+
for (let e = H.digit0; e <= H.digit9; e++) fi[e] = 0;
|
|
428
428
|
const n1 = new Int32Array([-1, 27, 783, 918, 1755, 2376, 2862, 3483, -1, 3699, -1, 4617, 4752, 4833, 5130, 5508, 5940, -1, 6480, 6939, 7749, 8181, 8451, 8613, -1, 8829, -1, -1, -1, 54, 243, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 432, -1, -1, -1, 675, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 81, -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, -1, 108, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 135, -1, -1, -1, -1, -1, -1, -1, -1, -1, 162, -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, -1, -1, 189, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 216, -1, -1, -1, -1, -1, -1, B._abstract << 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, -1, -1, -1, -1, 270, -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, -1, -1, 297, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 324, -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, 351, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 378, -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, -1, -1, -1, 405, -1, -1, -1, -1, -1, -1, -1, -1, B._accessor << 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, -1, B._as << 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 459, -1, -1, -1, -1, -1, 594, -1, -1, -1, -1, -1, -1, 486, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 513, -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, -1, -1, 540, -1, -1, -1, -1, -1, -1, B._assert << 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 567, -1, -1, -1, -1, -1, -1, -1, B._asserts << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 621, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 648, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, B._async << 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, -1, -1, 702, -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, -1, -1, -1, -1, -1, -1, -1, -1, 729, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 756, -1, -1, -1, -1, -1, -1, B._await << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 810, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 837, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 864, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 891, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1 + (h._break << 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, -1, -1, 945, -1, -1, -1, -1, -1, -1, 1107, -1, -1, -1, 1242, -1, -1, 1350, -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, -1, -1, -1, -1, 972, 1026, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 999, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1 + (h._case << 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, -1, -1, -1, -1, 1053, -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, -1, -1, -1, -1, -1, 1080, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1 + (h._catch << 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, -1, -1, -1, -1, -1, -1, 1134, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1161, -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, -1, -1, -1, -1, -1, -1, -1, -1, 1188, -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, -1, -1, -1, -1, -1, -1, -1, -1, 1215, -1, -1, -1, -1, -1, -1, -1, B._checks << 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, -1, -1, 1269, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1296, -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, 1323, -1, -1, -1, -1, -1, -1, -1, 1 + (h._class << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1377, -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, -1, -1, -1, -1, -1, 1404, 1620, -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, 1431, -1, -1, -1, -1, -1, -1, 1 + (h._const << 1), -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1458, -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, -1, -1, -1, 1485, -1, -1, -1, -1, -1, -1, -1, -1, 1512, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1539, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1566, -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, -1, -1, -1, 1593, -1, -1, -1, -1, -1, -1, -1, -1, B._constructor << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1647, -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, -1, -1, -1, -1, -1, 1674, -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, -1, -1, -1, -1, -1, -1, -1, 1701, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1728, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1 + (h._continue << 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, -1, -1, -1, -1, -1, -1, 1782, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2349, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1809, 1971, -1, -1, 2106, -1, -1, -1, -1, -1, 2241, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1836, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1863, -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, 1890, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1917, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1944, -1, -1, -1, -1, -1, -1, -1, -1, 1 + (h._debugger << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1998, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2025, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2052, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2079, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, B._declare << 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, -1, -1, 2133, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2160, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2187, -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, -1, -1, -1, -1, -1, -1, -1, -1, 2214, -1, -1, -1, -1, -1, -1, 1 + (h._default << 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, -1, -1, -1, -1, -1, -1, 2268, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2295, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2322, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1 + (h._delete << 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, -1, 1 + (h._do << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2403, -1, 2484, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2565, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2430, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2457, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1 + (h._else << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2511, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2538, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, B._enum << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2592, -1, -1, -1, 2727, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2619, -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, -1, -1, -1, 2646, -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, -1, -1, 2673, -1, -1, -1, -1, -1, -1, 1 + (h._export << 1), -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2700, -1, -1, -1, -1, -1, -1, -1, B._exports << 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, -1, -1, -1, -1, -1, -1, 2754, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2781, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2808, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2835, -1, -1, -1, -1, -1, -1, -1, 1 + (h._extends << 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, -1, -1, 2889, -1, -1, -1, -1, -1, -1, -1, 2997, -1, -1, -1, -1, -1, 3159, -1, -1, 3213, -1, -1, 3294, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2916, -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, -1, -1, -1, -1, -1, -1, -1, 2943, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2970, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1 + (h._false << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3024, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3051, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3078, -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, 3105, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3132, -1, 1 + (h._finally << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3186, -1, -1, -1, -1, -1, -1, -1, -1, 1 + (h._for << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3240, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3267, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, B._from << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3321, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3348, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3375, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3402, -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, -1, -1, -1, -1, -1, -1, 3429, -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, 3456, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1 + (h._function << 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, -1, -1, -1, -1, -1, -1, 3510, -1, -1, -1, -1, -1, -1, 3564, -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, -1, -1, -1, -1, -1, -1, -1, -1, 3537, -1, -1, -1, -1, -1, -1, B._get << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3591, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3618, -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, 3645, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3672, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, B._global << 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, -1, -1, -1, -1, -1, -1, -1, 3726, -1, -1, -1, -1, -1, -1, 3753, 4077, -1, -1, -1, -1, 4590, -1, -1, -1, -1, -1, -1, -1, 1 + (h._if << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3780, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3807, -1, -1, 3996, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3834, -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, -1, -1, -1, -1, -1, -1, -1, -1, 3861, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3888, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3915, -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, -1, -1, -1, -1, -1, -1, 3942, -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, 3969, -1, -1, -1, -1, -1, -1, -1, B._implements << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4023, -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, -1, -1, 4050, -1, -1, -1, -1, -1, -1, 1 + (h._import << 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, -1, 1 + (h._in << 1), -1, -1, -1, -1, -1, 4104, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4185, 4401, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4131, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4158, -1, -1, -1, -1, -1, -1, -1, -1, B._infer << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4212, -1, -1, -1, -1, -1, -1, -1, 4239, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4266, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4293, -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, -1, -1, 4320, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4347, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4374, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1 + (h._instanceof << 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, -1, -1, -1, -1, -1, -1, 4428, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4455, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4482, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4509, -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, -1, -1, 4536, -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, -1, -1, 4563, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, B._interface << 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, -1, B._is << 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, -1, -1, -1, -1, -1, -1, 4644, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4671, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4698, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4725, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, B._keyof << 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, -1, -1, -1, -1, -1, -1, 4779, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4806, -1, -1, -1, -1, -1, -1, 1 + (h._let << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4860, -1, -1, -1, -1, -1, 4995, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4887, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4914, -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, -1, -1, -1, -1, -1, 4941, -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, -1, -1, -1, -1, -1, 4968, -1, -1, -1, -1, -1, -1, -1, B._mixins << 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, -1, -1, -1, -1, -1, 5022, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5049, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5076, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5103, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, B._module << 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, -1, -1, 5157, -1, -1, -1, 5373, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5427, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5184, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5211, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5238, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5265, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5292, -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, -1, -1, 5319, -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, -1, -1, 5346, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, B._namespace << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5400, -1, -1, -1, 1 + (h._new << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5454, -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, 5481, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1 + (h._null << 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, -1, -1, -1, -1, -1, -1, -1, 5535, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5562, -1, -1, -1, -1, 5697, 5751, -1, -1, -1, -1, B._of << 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, -1, -1, 5589, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5616, -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, -1, -1, -1, -1, 5643, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5670, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, B._opaque << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5724, -1, -1, -1, -1, -1, -1, B._out << 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, -1, -1, -1, -1, -1, -1, 5778, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5805, -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, 5832, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5859, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5886, -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, -1, 5913, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, B._override << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5967, -1, -1, 6345, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5994, -1, -1, -1, -1, -1, 6129, -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, -1, -1, -1, -1, -1, -1, -1, 6021, -1, -1, -1, -1, -1, 6048, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6075, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6102, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, B._private << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6156, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6183, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6318, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6210, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6237, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6264, -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, 6291, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, B._protected << 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, -1, B._proto << 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, -1, -1, -1, 6372, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6399, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6426, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6453, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, B._public << 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, -1, -1, -1, -1, -1, -1, 6507, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6534, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6696, -1, -1, 6831, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6561, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6588, -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, 6615, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6642, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6669, -1, B._readonly << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6723, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6750, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6777, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6804, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, B._require << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6858, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6885, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6912, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1 + (h._return << 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, -1, -1, 6966, -1, -1, -1, 7182, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 7236, 7371, -1, 7479, -1, 7614, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6993, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 7020, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 7047, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 7074, -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, -1, -1, -1, 7101, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 7128, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 7155, -1, -1, -1, -1, -1, -1, -1, B._satisfies << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 7209, -1, -1, -1, -1, -1, -1, B._set << 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, -1, -1, 7263, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 7290, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 7317, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 7344, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, B._static << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 7398, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 7425, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 7452, -1, -1, -1, -1, -1, -1, -1, -1, 1 + (h._super << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 7506, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 7533, -1, -1, -1, -1, -1, -1, -1, -1, -1, 7560, -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, -1, -1, -1, -1, -1, 7587, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1 + (h._switch << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 7641, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 7668, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 7695, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 7722, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, B._symbol << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, 7776, -1, -1, -1, -1, -1, -1, -1, -1, -1, 7938, -1, -1, -1, -1, -1, -1, 8046, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 7803, -1, -1, -1, -1, -1, -1, -1, -1, 7857, -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, -1, 7830, -1, -1, -1, -1, -1, -1, -1, 1 + (h._this << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 7884, -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, -1, -1, -1, -1, -1, -1, -1, -1, 7911, -1, -1, -1, 1 + (h._throw << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 7965, -1, -1, -1, 8019, -1, -1, -1, -1, -1, -1, 7992, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1 + (h._true << 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, -1, 1 + (h._try << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 8073, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 8100, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, B._type << 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 8127, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 8154, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1 + (h._typeof << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 8208, -1, -1, -1, -1, 8343, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 8235, -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, -1, -1, -1, -1, -1, -1, -1, -1, 8262, -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, -1, -1, -1, -1, 8289, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 8316, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, B._unique << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 8370, -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, -1, -1, -1, -1, -1, 8397, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 8424, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, B._using << 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, -1, -1, 8478, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 8532, -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, -1, -1, -1, 8505, -1, -1, -1, -1, -1, -1, -1, -1, 1 + (h._var << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 8559, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 8586, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1 + (h._void << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, 8640, 8748, -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, 8667, -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, -1, -1, -1, 8694, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 8721, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1 + (h._while << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 8775, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 8802, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1 + (h._with << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 8856, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 8883, -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, -1, -1, -1, -1, -1, -1, -1, 8910, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 8937, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1 + (h._yield << 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, -1]);
|
|
429
429
|
var ke, ir;
|
|
430
430
|
function Fg(e) {
|
|
@@ -468,8 +468,8 @@ function zr() {
|
|
|
468
468
|
for (; ; ) {
|
|
469
469
|
if (k.pos >= he.length) return void Ae("Unterminated template");
|
|
470
470
|
const e = he.charCodeAt(k.pos);
|
|
471
|
-
if (e ===
|
|
472
|
-
e ===
|
|
471
|
+
if (e === H.graveAccent || e === H.dollarSign && he.charCodeAt(k.pos + 1) === H.leftCurlyBrace) return k.pos === k.start && L(h.template) ? e === H.dollarSign ? (k.pos += 2, void Ne(h.dollarBraceL)) : (++k.pos, void Ne(h.backQuote)) : void Ne(h.template);
|
|
472
|
+
e === H.backslash && k.pos++, k.pos++;
|
|
473
473
|
}
|
|
474
474
|
})();
|
|
475
475
|
}
|
|
@@ -482,10 +482,10 @@ function LT() {
|
|
|
482
482
|
const n = he.charCodeAt(k.pos);
|
|
483
483
|
if (t) t = !1;
|
|
484
484
|
else {
|
|
485
|
-
if (n ===
|
|
486
|
-
else if (n ===
|
|
487
|
-
else if (n ===
|
|
488
|
-
t = n ===
|
|
485
|
+
if (n === H.leftSquareBracket) s = !0;
|
|
486
|
+
else if (n === H.rightSquareBracket && s) s = !1;
|
|
487
|
+
else if (n === H.slash && !s) break;
|
|
488
|
+
t = n === H.backslash;
|
|
489
489
|
}
|
|
490
490
|
++k.pos;
|
|
491
491
|
}
|
|
@@ -494,9 +494,9 @@ function LT() {
|
|
|
494
494
|
const n = he.charCodeAt(k.pos);
|
|
495
495
|
if (cr[n]) k.pos++;
|
|
496
496
|
else {
|
|
497
|
-
if (n !==
|
|
498
|
-
if (k.pos += 2, he.charCodeAt(k.pos) ===
|
|
499
|
-
for (; k.pos < he.length && he.charCodeAt(k.pos) !==
|
|
497
|
+
if (n !== H.backslash) break;
|
|
498
|
+
if (k.pos += 2, he.charCodeAt(k.pos) === H.leftCurlyBrace) {
|
|
499
|
+
for (; k.pos < he.length && he.charCodeAt(k.pos) !== H.rightCurlyBrace; ) k.pos++;
|
|
500
500
|
k.pos++;
|
|
501
501
|
}
|
|
502
502
|
}
|
|
@@ -554,10 +554,10 @@ function qg() {
|
|
|
554
554
|
return t.length >= 2 && t[t.length - 1].start >= he.length && t[t.length - 2].start >= he.length && Ae("Unexpectedly reached the end of input."), void Ne(h.eof);
|
|
555
555
|
}
|
|
556
556
|
var e;
|
|
557
|
-
e = he.charCodeAt(k.pos), fi[e] || e ===
|
|
557
|
+
e = he.charCodeAt(k.pos), fi[e] || e === H.backslash || e === H.atSign && he.charCodeAt(k.pos + 1) === H.atSign ? (function() {
|
|
558
558
|
let t = 0, s = 0, n = k.pos;
|
|
559
|
-
for (; n < he.length && (s = he.charCodeAt(n), !(s <
|
|
560
|
-
const o = n1[t + (s -
|
|
559
|
+
for (; n < he.length && (s = he.charCodeAt(n), !(s < H.lowercaseA || s > H.lowercaseZ)); ) {
|
|
560
|
+
const o = n1[t + (s - H.lowercaseA) + 1];
|
|
561
561
|
if (o === -1) break;
|
|
562
562
|
t = o, n++;
|
|
563
563
|
}
|
|
@@ -566,13 +566,13 @@ function qg() {
|
|
|
566
566
|
for (; n < he.length; ) {
|
|
567
567
|
const o = he.charCodeAt(n);
|
|
568
568
|
if (cr[o]) n++;
|
|
569
|
-
else if (o ===
|
|
570
|
-
if (n += 2, he.charCodeAt(n) ===
|
|
571
|
-
for (; n < he.length && he.charCodeAt(n) !==
|
|
569
|
+
else if (o === H.backslash) {
|
|
570
|
+
if (n += 2, he.charCodeAt(n) === H.leftCurlyBrace) {
|
|
571
|
+
for (; n < he.length && he.charCodeAt(n) !== H.rightCurlyBrace; ) n++;
|
|
572
572
|
n++;
|
|
573
573
|
}
|
|
574
574
|
} else {
|
|
575
|
-
if (o !==
|
|
575
|
+
if (o !== H.atSign || he.charCodeAt(n + 1) !== H.atSign) break;
|
|
576
576
|
n += 2;
|
|
577
577
|
}
|
|
578
578
|
}
|
|
@@ -580,30 +580,30 @@ function qg() {
|
|
|
580
580
|
})() : Gg(e);
|
|
581
581
|
}
|
|
582
582
|
function MT() {
|
|
583
|
-
for (; he.charCodeAt(k.pos) !==
|
|
583
|
+
for (; he.charCodeAt(k.pos) !== H.asterisk || he.charCodeAt(k.pos + 1) !== H.slash; ) if (k.pos++, k.pos > he.length) return void Ae("Unterminated comment", k.pos - 2);
|
|
584
584
|
k.pos += 2;
|
|
585
585
|
}
|
|
586
586
|
function Vg(e) {
|
|
587
587
|
let t = he.charCodeAt(k.pos += e);
|
|
588
|
-
if (k.pos < he.length) for (; t !==
|
|
588
|
+
if (k.pos < he.length) for (; t !== H.lineFeed && t !== H.carriageReturn && t !== H.lineSeparator && t !== H.paragraphSeparator && ++k.pos < he.length; ) t = he.charCodeAt(k.pos);
|
|
589
589
|
}
|
|
590
590
|
function Hg() {
|
|
591
591
|
for (; k.pos < he.length; ) {
|
|
592
592
|
const e = he.charCodeAt(k.pos);
|
|
593
593
|
switch (e) {
|
|
594
|
-
case
|
|
595
|
-
he.charCodeAt(k.pos + 1) ===
|
|
596
|
-
case
|
|
597
|
-
case
|
|
598
|
-
case
|
|
594
|
+
case H.carriageReturn:
|
|
595
|
+
he.charCodeAt(k.pos + 1) === H.lineFeed && ++k.pos;
|
|
596
|
+
case H.lineFeed:
|
|
597
|
+
case H.lineSeparator:
|
|
598
|
+
case H.paragraphSeparator:
|
|
599
599
|
++k.pos;
|
|
600
600
|
break;
|
|
601
|
-
case
|
|
601
|
+
case H.slash:
|
|
602
602
|
switch (he.charCodeAt(k.pos + 1)) {
|
|
603
|
-
case
|
|
603
|
+
case H.asterisk:
|
|
604
604
|
k.pos += 2, MT();
|
|
605
605
|
break;
|
|
606
|
-
case
|
|
606
|
+
case H.slash:
|
|
607
607
|
Vg(2);
|
|
608
608
|
break;
|
|
609
609
|
default:
|
|
@@ -622,128 +622,128 @@ function Ne(e, t = B.NONE) {
|
|
|
622
622
|
function zg() {
|
|
623
623
|
if (k.isType) return void Ue(h.greaterThan, 1);
|
|
624
624
|
const e = he.charCodeAt(k.pos + 1);
|
|
625
|
-
if (e ===
|
|
626
|
-
const t = he.charCodeAt(k.pos + 2) ===
|
|
627
|
-
return he.charCodeAt(k.pos + t) ===
|
|
625
|
+
if (e === H.greaterThan) {
|
|
626
|
+
const t = he.charCodeAt(k.pos + 2) === H.greaterThan ? 3 : 2;
|
|
627
|
+
return he.charCodeAt(k.pos + t) === H.equalsTo ? void Ue(h.assign, t + 1) : void Ue(h.bitShiftR, t);
|
|
628
628
|
}
|
|
629
|
-
e ===
|
|
629
|
+
e === H.equalsTo ? Ue(h.relationalOrEqual, 2) : Ue(h.greaterThan, 1);
|
|
630
630
|
}
|
|
631
631
|
function Wg() {
|
|
632
632
|
k.type === h.greaterThan && (k.pos -= 1, zg());
|
|
633
633
|
}
|
|
634
634
|
function Gg(e) {
|
|
635
635
|
switch (e) {
|
|
636
|
-
case
|
|
636
|
+
case H.numberSign:
|
|
637
637
|
return ++k.pos, void Ne(h.hash);
|
|
638
|
-
case
|
|
638
|
+
case H.dot:
|
|
639
639
|
return void (function() {
|
|
640
640
|
const t = he.charCodeAt(k.pos + 1);
|
|
641
|
-
t >=
|
|
641
|
+
t >= H.digit0 && t <= H.digit9 ? i1(!0) : t === H.dot && he.charCodeAt(k.pos + 2) === H.dot ? (k.pos += 3, Ne(h.ellipsis)) : (++k.pos, Ne(h.dot));
|
|
642
642
|
})();
|
|
643
|
-
case
|
|
643
|
+
case H.leftParenthesis:
|
|
644
644
|
return ++k.pos, void Ne(h.parenL);
|
|
645
|
-
case
|
|
645
|
+
case H.rightParenthesis:
|
|
646
646
|
return ++k.pos, void Ne(h.parenR);
|
|
647
|
-
case
|
|
647
|
+
case H.semicolon:
|
|
648
648
|
return ++k.pos, void Ne(h.semi);
|
|
649
|
-
case
|
|
649
|
+
case H.comma:
|
|
650
650
|
return ++k.pos, void Ne(h.comma);
|
|
651
|
-
case
|
|
651
|
+
case H.leftSquareBracket:
|
|
652
652
|
return ++k.pos, void Ne(h.bracketL);
|
|
653
|
-
case
|
|
653
|
+
case H.rightSquareBracket:
|
|
654
654
|
return ++k.pos, void Ne(h.bracketR);
|
|
655
|
-
case
|
|
656
|
-
return void (je && he.charCodeAt(k.pos + 1) ===
|
|
657
|
-
case
|
|
655
|
+
case H.leftCurlyBrace:
|
|
656
|
+
return void (je && he.charCodeAt(k.pos + 1) === H.verticalBar ? Ue(h.braceBarL, 2) : (++k.pos, Ne(h.braceL)));
|
|
657
|
+
case H.rightCurlyBrace:
|
|
658
658
|
return ++k.pos, void Ne(h.braceR);
|
|
659
|
-
case
|
|
660
|
-
return void (he.charCodeAt(k.pos + 1) ===
|
|
661
|
-
case
|
|
659
|
+
case H.colon:
|
|
660
|
+
return void (he.charCodeAt(k.pos + 1) === H.colon ? Ue(h.doubleColon, 2) : (++k.pos, Ne(h.colon)));
|
|
661
|
+
case H.questionMark:
|
|
662
662
|
return void (function() {
|
|
663
663
|
const t = he.charCodeAt(k.pos + 1), s = he.charCodeAt(k.pos + 2);
|
|
664
|
-
t !==
|
|
664
|
+
t !== H.questionMark || je && k.isType ? t !== H.dot || s >= H.digit0 && s <= H.digit9 ? (++k.pos, Ne(h.question)) : (k.pos += 2, Ne(h.questionDot)) : s === H.equalsTo ? Ue(h.assign, 3) : Ue(h.nullishCoalescing, 2);
|
|
665
665
|
})();
|
|
666
|
-
case
|
|
666
|
+
case H.atSign:
|
|
667
667
|
return ++k.pos, void Ne(h.at);
|
|
668
|
-
case
|
|
668
|
+
case H.graveAccent:
|
|
669
669
|
return ++k.pos, void Ne(h.backQuote);
|
|
670
|
-
case
|
|
670
|
+
case H.digit0: {
|
|
671
671
|
const t = he.charCodeAt(k.pos + 1);
|
|
672
|
-
if (t ===
|
|
672
|
+
if (t === H.lowercaseX || t === H.uppercaseX || t === H.lowercaseO || t === H.uppercaseO || t === H.lowercaseB || t === H.uppercaseB) return void (function() {
|
|
673
673
|
for (k.pos += 2; ; ) {
|
|
674
674
|
const n = he.charCodeAt(k.pos);
|
|
675
|
-
if (!(n >=
|
|
675
|
+
if (!(n >= H.digit0 && n <= H.digit9 || n >= H.lowercaseA && n <= H.lowercaseF || n >= H.uppercaseA && n <= H.uppercaseF || n === H.underscore)) break;
|
|
676
676
|
k.pos++;
|
|
677
677
|
}
|
|
678
|
-
he.charCodeAt(k.pos) ===
|
|
678
|
+
he.charCodeAt(k.pos) === H.lowercaseN ? (++k.pos, Ne(h.bigint)) : Ne(h.num);
|
|
679
679
|
})();
|
|
680
680
|
}
|
|
681
|
-
case
|
|
682
|
-
case
|
|
683
|
-
case
|
|
684
|
-
case
|
|
685
|
-
case
|
|
686
|
-
case
|
|
687
|
-
case
|
|
688
|
-
case
|
|
689
|
-
case
|
|
681
|
+
case H.digit1:
|
|
682
|
+
case H.digit2:
|
|
683
|
+
case H.digit3:
|
|
684
|
+
case H.digit4:
|
|
685
|
+
case H.digit5:
|
|
686
|
+
case H.digit6:
|
|
687
|
+
case H.digit7:
|
|
688
|
+
case H.digit8:
|
|
689
|
+
case H.digit9:
|
|
690
690
|
return void i1(!1);
|
|
691
|
-
case
|
|
692
|
-
case
|
|
691
|
+
case H.quotationMark:
|
|
692
|
+
case H.apostrophe:
|
|
693
693
|
return void (function(t) {
|
|
694
694
|
for (k.pos++; ; ) {
|
|
695
695
|
if (k.pos >= he.length) return void Ae("Unterminated string constant");
|
|
696
696
|
const s = he.charCodeAt(k.pos);
|
|
697
|
-
if (s ===
|
|
697
|
+
if (s === H.backslash) k.pos++;
|
|
698
698
|
else if (s === t) break;
|
|
699
699
|
k.pos++;
|
|
700
700
|
}
|
|
701
701
|
k.pos++, Ne(h.string);
|
|
702
702
|
})(e);
|
|
703
|
-
case
|
|
704
|
-
return void (he.charCodeAt(k.pos + 1) ===
|
|
705
|
-
case
|
|
706
|
-
case
|
|
703
|
+
case H.slash:
|
|
704
|
+
return void (he.charCodeAt(k.pos + 1) === H.equalsTo ? Ue(h.assign, 2) : Ue(h.slash, 1));
|
|
705
|
+
case H.percentSign:
|
|
706
|
+
case H.asterisk:
|
|
707
707
|
return void (function(t) {
|
|
708
|
-
let s = t ===
|
|
709
|
-
t ===
|
|
708
|
+
let s = t === H.asterisk ? h.star : h.modulo, n = 1, i = he.charCodeAt(k.pos + 1);
|
|
709
|
+
t === H.asterisk && i === H.asterisk && (n++, i = he.charCodeAt(k.pos + 2), s = h.exponent), i === H.equalsTo && he.charCodeAt(k.pos + 2) !== H.greaterThan && (n++, s = h.assign), Ue(s, n);
|
|
710
710
|
})(e);
|
|
711
|
-
case
|
|
712
|
-
case
|
|
711
|
+
case H.verticalBar:
|
|
712
|
+
case H.ampersand:
|
|
713
713
|
return void (function(t) {
|
|
714
714
|
const s = he.charCodeAt(k.pos + 1);
|
|
715
715
|
if (s !== t) {
|
|
716
|
-
if (t ===
|
|
717
|
-
if (s ===
|
|
718
|
-
if (s ===
|
|
716
|
+
if (t === H.verticalBar) {
|
|
717
|
+
if (s === H.greaterThan) return void Ue(h.pipeline, 2);
|
|
718
|
+
if (s === H.rightCurlyBrace && je) return void Ue(h.braceBarR, 2);
|
|
719
719
|
}
|
|
720
|
-
s !==
|
|
721
|
-
} else he.charCodeAt(k.pos + 2) ===
|
|
720
|
+
s !== H.equalsTo ? Ue(t === H.verticalBar ? h.bitwiseOR : h.bitwiseAND, 1) : Ue(h.assign, 2);
|
|
721
|
+
} else he.charCodeAt(k.pos + 2) === H.equalsTo ? Ue(h.assign, 3) : Ue(t === H.verticalBar ? h.logicalOR : h.logicalAND, 2);
|
|
722
722
|
})(e);
|
|
723
|
-
case
|
|
724
|
-
return void (he.charCodeAt(k.pos + 1) ===
|
|
725
|
-
case
|
|
726
|
-
case
|
|
723
|
+
case H.caret:
|
|
724
|
+
return void (he.charCodeAt(k.pos + 1) === H.equalsTo ? Ue(h.assign, 2) : Ue(h.bitwiseXOR, 1));
|
|
725
|
+
case H.plusSign:
|
|
726
|
+
case H.dash:
|
|
727
727
|
return void (function(t) {
|
|
728
728
|
const s = he.charCodeAt(k.pos + 1);
|
|
729
|
-
s !== t ? s ===
|
|
729
|
+
s !== t ? s === H.equalsTo ? Ue(h.assign, 2) : t === H.plusSign ? Ue(h.plus, 1) : Ue(h.minus, 1) : Ue(h.preIncDec, 2);
|
|
730
730
|
})(e);
|
|
731
|
-
case
|
|
731
|
+
case H.lessThan:
|
|
732
732
|
return void (function() {
|
|
733
733
|
const t = he.charCodeAt(k.pos + 1);
|
|
734
|
-
if (t ===
|
|
735
|
-
t ===
|
|
734
|
+
if (t === H.lessThan) return he.charCodeAt(k.pos + 2) === H.equalsTo ? void Ue(h.assign, 3) : void (k.isType ? Ue(h.lessThan, 1) : Ue(h.bitShiftL, 2));
|
|
735
|
+
t === H.equalsTo ? Ue(h.relationalOrEqual, 2) : Ue(h.lessThan, 1);
|
|
736
736
|
})();
|
|
737
|
-
case
|
|
737
|
+
case H.greaterThan:
|
|
738
738
|
return void zg();
|
|
739
|
-
case
|
|
740
|
-
case
|
|
739
|
+
case H.equalsTo:
|
|
740
|
+
case H.exclamationMark:
|
|
741
741
|
return void (function(t) {
|
|
742
742
|
const s = he.charCodeAt(k.pos + 1);
|
|
743
|
-
if (s !==
|
|
744
|
-
Ue(h.equality, he.charCodeAt(k.pos + 2) ===
|
|
743
|
+
if (s !== H.equalsTo) return t === H.equalsTo && s === H.greaterThan ? (k.pos += 2, void Ne(h.arrow)) : void Ue(t === H.equalsTo ? h.eq : h.bang, 1);
|
|
744
|
+
Ue(h.equality, he.charCodeAt(k.pos + 2) === H.equalsTo ? 3 : 2);
|
|
745
745
|
})(e);
|
|
746
|
-
case
|
|
746
|
+
case H.tilde:
|
|
747
747
|
return void Ue(h.tilde, 1);
|
|
748
748
|
}
|
|
749
749
|
Ae(`Unexpected character '${String.fromCharCode(e)}'`, k.pos);
|
|
@@ -754,7 +754,7 @@ function Ue(e, t) {
|
|
|
754
754
|
function oc() {
|
|
755
755
|
for (; ; ) {
|
|
756
756
|
const e = he.charCodeAt(k.pos);
|
|
757
|
-
if (!(e >=
|
|
757
|
+
if (!(e >= H.digit0 && e <= H.digit9 || e === H.underscore)) break;
|
|
758
758
|
k.pos++;
|
|
759
759
|
}
|
|
760
760
|
}
|
|
@@ -762,7 +762,7 @@ function i1(e) {
|
|
|
762
762
|
let t = !1, s = !1;
|
|
763
763
|
e || oc();
|
|
764
764
|
let n = he.charCodeAt(k.pos);
|
|
765
|
-
n ===
|
|
765
|
+
n === H.dot && (++k.pos, oc(), n = he.charCodeAt(k.pos)), n !== H.uppercaseE && n !== H.lowercaseE || (n = he.charCodeAt(++k.pos), n !== H.plusSign && n !== H.dash || ++k.pos, oc(), n = he.charCodeAt(k.pos)), n === H.lowercaseN ? (++k.pos, t = !0) : n === H.lowercaseM && (++k.pos, s = !0), Ne(t ? h.bigint : s ? h.decimal : h.num);
|
|
766
766
|
}
|
|
767
767
|
function Qn(e, t = e.currentIndex()) {
|
|
768
768
|
let s = t + 1;
|
|
@@ -1004,7 +1004,7 @@ class ds extends lr {
|
|
|
1004
1004
|
}
|
|
1005
1005
|
function Kg(e) {
|
|
1006
1006
|
const t = e.charCodeAt(0);
|
|
1007
|
-
return t >=
|
|
1007
|
+
return t >= H.lowercaseA && t <= H.lowercaseZ;
|
|
1008
1008
|
}
|
|
1009
1009
|
function a1(e) {
|
|
1010
1010
|
let t = 0, s = 0;
|
|
@@ -1034,10 +1034,10 @@ function c1(e, t) {
|
|
|
1034
1034
|
return s ? { entity: s, newI: o } : { entity: "&", newI: t };
|
|
1035
1035
|
}
|
|
1036
1036
|
function FT(e) {
|
|
1037
|
-
return e >=
|
|
1037
|
+
return e >= H.digit0 && e <= H.digit9;
|
|
1038
1038
|
}
|
|
1039
1039
|
function jT(e) {
|
|
1040
|
-
return e >=
|
|
1040
|
+
return e >= H.digit0 && e <= H.digit9 || e >= H.lowercaseA && e <= H.lowercaseF || e >= H.uppercaseA && e <= H.uppercaseF;
|
|
1041
1041
|
}
|
|
1042
1042
|
function Jg(e, t) {
|
|
1043
1043
|
const s = Xg(t), n = /* @__PURE__ */ new Set();
|
|
@@ -1376,13 +1376,13 @@ var ac = class {
|
|
|
1376
1376
|
return F._indexes[q];
|
|
1377
1377
|
})(N, j);
|
|
1378
1378
|
if (U !== void 0) return U;
|
|
1379
|
-
const { array: X, _indexes: W } = N,
|
|
1380
|
-
return W[j] =
|
|
1379
|
+
const { array: X, _indexes: W } = N, V = X.push(j);
|
|
1380
|
+
return W[j] = V - 1;
|
|
1381
1381
|
})(b, T), D = -1;
|
|
1382
|
-
if (O === E.length && (E[O] = null), !(function(N, j, U, X, W,
|
|
1382
|
+
if (O === E.length && (E[O] = null), !(function(N, j, U, X, W, V) {
|
|
1383
1383
|
if (j === 0) return !1;
|
|
1384
1384
|
const F = N[j - 1];
|
|
1385
|
-
return F.length !== 1 && U === F[1] && X === F[2] && W === F[3] &&
|
|
1385
|
+
return F.length !== 1 && U === F[1] && X === F[2] && W === F[3] && V === (F.length === 5 ? F[4] : -1);
|
|
1386
1386
|
})(C, A, O, m, y, D))
|
|
1387
1387
|
return h1(C, A, [f, O, m, y]);
|
|
1388
1388
|
})(0, e, t, s, n, i, o);
|
|
@@ -1394,7 +1394,7 @@ function GT({ code: e, mappings: t }, s, n, i, o) {
|
|
|
1394
1394
|
const c = (function(v, b) {
|
|
1395
1395
|
const E = new Array(b.length);
|
|
1396
1396
|
let w = 0, C = b[w].start, A = 0;
|
|
1397
|
-
for (let O = 0; O < v.length; O++) O === C && (E[w] = C - A, w++, C = b[w].start), v.charCodeAt(O) ===
|
|
1397
|
+
for (let O = 0; O < v.length; O++) O === C && (E[w] = C - A, w++, C = b[w].start), v.charCodeAt(O) === H.lineFeed && (A = O + 1);
|
|
1398
1398
|
return E;
|
|
1399
1399
|
})(i, o), l = new WT({ file: n.compiledFilename });
|
|
1400
1400
|
let p = 0, d = t[0];
|
|
@@ -1406,7 +1406,7 @@ function GT({ code: e, mappings: t }, s, n, i, o) {
|
|
|
1406
1406
|
const b = d - f, E = c[p];
|
|
1407
1407
|
for (cc(l, g, b, s, g, E); (d === v || d === void 0) && p < t.length - 1; ) p++, d = t[p];
|
|
1408
1408
|
}
|
|
1409
|
-
e.charCodeAt(v) ===
|
|
1409
|
+
e.charCodeAt(v) === H.lineFeed && (g++, f = v + 1, d !== f && cc(l, g, 0, s, g, 0));
|
|
1410
1410
|
}
|
|
1411
1411
|
const { sourceRoot: T, sourcesContent: m, ...y } = (function(v) {
|
|
1412
1412
|
const b = (function(E) {
|
|
@@ -1700,7 +1700,7 @@ function y1() {
|
|
|
1700
1700
|
return t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(G, ee) {
|
|
1701
1701
|
G.__proto__ = ee;
|
|
1702
1702
|
} || function(G, ee) {
|
|
1703
|
-
for (var
|
|
1703
|
+
for (var ce in ee) ee.hasOwnProperty(ce) && (G[ce] = ee[ce]);
|
|
1704
1704
|
}, t(F, q);
|
|
1705
1705
|
}, function(F, q) {
|
|
1706
1706
|
function G() {
|
|
@@ -1728,10 +1728,10 @@ function y1() {
|
|
|
1728
1728
|
var ee = F.call(this) || this;
|
|
1729
1729
|
return ee.name = G, ee._failMsg = "is not a " + G, ee;
|
|
1730
1730
|
}
|
|
1731
|
-
return s(q, F), q.prototype.getChecker = function(G, ee,
|
|
1732
|
-
var
|
|
1733
|
-
return
|
|
1734
|
-
return !!
|
|
1731
|
+
return s(q, F), q.prototype.getChecker = function(G, ee, ce) {
|
|
1732
|
+
var be = this, Y = c(G, this.name), ae = Y.getChecker(G, ee, ce);
|
|
1733
|
+
return Y instanceof N || Y instanceof q ? ae : function(J, $) {
|
|
1734
|
+
return !!ae(J, $) || $.fail(null, be._failMsg, 0);
|
|
1735
1735
|
};
|
|
1736
1736
|
}, q;
|
|
1737
1737
|
})(i);
|
|
@@ -1744,9 +1744,9 @@ function y1() {
|
|
|
1744
1744
|
return ee.value = G, ee.name = JSON.stringify(G), ee._failMsg = "is not " + ee.name, ee;
|
|
1745
1745
|
}
|
|
1746
1746
|
return s(q, F), q.prototype.getChecker = function(G, ee) {
|
|
1747
|
-
var
|
|
1748
|
-
return function(
|
|
1749
|
-
return
|
|
1747
|
+
var ce = this;
|
|
1748
|
+
return function(be, Y) {
|
|
1749
|
+
return be === ce.value || Y.fail(null, ce._failMsg, -1);
|
|
1750
1750
|
};
|
|
1751
1751
|
}, q;
|
|
1752
1752
|
})(i);
|
|
@@ -1759,11 +1759,11 @@ function y1() {
|
|
|
1759
1759
|
return ee.ttype = G, ee;
|
|
1760
1760
|
}
|
|
1761
1761
|
return s(q, F), q.prototype.getChecker = function(G, ee) {
|
|
1762
|
-
var
|
|
1763
|
-
return function(
|
|
1764
|
-
if (!Array.isArray(
|
|
1765
|
-
for (var
|
|
1766
|
-
if (!
|
|
1762
|
+
var ce = this.ttype.getChecker(G, ee);
|
|
1763
|
+
return function(be, Y) {
|
|
1764
|
+
if (!Array.isArray(be)) return Y.fail(null, "is not an array", 0);
|
|
1765
|
+
for (var ae = 0; ae < be.length; ae++)
|
|
1766
|
+
if (!ce(be[ae], Y)) return Y.fail(ae, null, 1);
|
|
1767
1767
|
return !0;
|
|
1768
1768
|
};
|
|
1769
1769
|
}, q;
|
|
@@ -1780,17 +1780,17 @@ function y1() {
|
|
|
1780
1780
|
return ee.ttypes = G, ee;
|
|
1781
1781
|
}
|
|
1782
1782
|
return s(q, F), q.prototype.getChecker = function(G, ee) {
|
|
1783
|
-
var
|
|
1784
|
-
return
|
|
1785
|
-
}),
|
|
1786
|
-
if (!Array.isArray(
|
|
1787
|
-
for (var J = 0; J <
|
|
1788
|
-
if (!
|
|
1783
|
+
var ce = this.ttypes.map(function(Y) {
|
|
1784
|
+
return Y.getChecker(G, ee);
|
|
1785
|
+
}), be = function(Y, ae) {
|
|
1786
|
+
if (!Array.isArray(Y)) return ae.fail(null, "is not an array", 0);
|
|
1787
|
+
for (var J = 0; J < ce.length; J++)
|
|
1788
|
+
if (!ce[J](Y[J], ae)) return ae.fail(J, null, 1);
|
|
1789
1789
|
return !0;
|
|
1790
1790
|
};
|
|
1791
|
-
return ee ? function(
|
|
1792
|
-
return !!
|
|
1793
|
-
} :
|
|
1791
|
+
return ee ? function(Y, ae) {
|
|
1792
|
+
return !!be(Y, ae) && (Y.length <= ce.length || ae.fail(ce.length, "is extraneous", 2));
|
|
1793
|
+
} : be;
|
|
1794
1794
|
}, q;
|
|
1795
1795
|
})(i);
|
|
1796
1796
|
e.TTuple = f, e.union = function() {
|
|
@@ -1803,21 +1803,21 @@ function y1() {
|
|
|
1803
1803
|
function q(G) {
|
|
1804
1804
|
var ee = F.call(this) || this;
|
|
1805
1805
|
ee.ttypes = G;
|
|
1806
|
-
var
|
|
1807
|
-
return
|
|
1808
|
-
}).filter(function(
|
|
1809
|
-
return
|
|
1810
|
-
}),
|
|
1811
|
-
return
|
|
1806
|
+
var ce = G.map(function(Y) {
|
|
1807
|
+
return Y instanceof p || Y instanceof d ? Y.name : null;
|
|
1808
|
+
}).filter(function(Y) {
|
|
1809
|
+
return Y;
|
|
1810
|
+
}), be = G.length - ce.length;
|
|
1811
|
+
return ce.length ? (be > 0 && ce.push(be + " more"), ee._failMsg = "is none of " + ce.join(", ")) : ee._failMsg = "is none of " + be + " types", ee;
|
|
1812
1812
|
}
|
|
1813
1813
|
return s(q, F), q.prototype.getChecker = function(G, ee) {
|
|
1814
|
-
var
|
|
1815
|
-
return
|
|
1814
|
+
var ce = this, be = this.ttypes.map(function(Y) {
|
|
1815
|
+
return Y.getChecker(G, ee);
|
|
1816
1816
|
});
|
|
1817
|
-
return function(
|
|
1818
|
-
for (var J =
|
|
1819
|
-
if (
|
|
1820
|
-
return
|
|
1817
|
+
return function(Y, ae) {
|
|
1818
|
+
for (var J = ae.unionResolver(), $ = 0; $ < be.length; $++)
|
|
1819
|
+
if (be[$](Y, J.createContext())) return !0;
|
|
1820
|
+
return ae.resolveUnion(J), ae.fail(null, ce._failMsg, 0);
|
|
1821
1821
|
};
|
|
1822
1822
|
}, q;
|
|
1823
1823
|
})(i);
|
|
@@ -1833,13 +1833,13 @@ function y1() {
|
|
|
1833
1833
|
return ee.ttypes = G, ee;
|
|
1834
1834
|
}
|
|
1835
1835
|
return s(q, F), q.prototype.getChecker = function(G, ee) {
|
|
1836
|
-
var
|
|
1837
|
-
return
|
|
1836
|
+
var ce = /* @__PURE__ */ new Set(), be = this.ttypes.map(function(Y) {
|
|
1837
|
+
return Y.getChecker(G, ee, ce);
|
|
1838
1838
|
});
|
|
1839
|
-
return function(
|
|
1840
|
-
return !!
|
|
1841
|
-
return J(
|
|
1842
|
-
}) ||
|
|
1839
|
+
return function(Y, ae) {
|
|
1840
|
+
return !!be.every(function(J) {
|
|
1841
|
+
return J(Y, ae);
|
|
1842
|
+
}) || ae.fail(null, null, 0);
|
|
1843
1843
|
};
|
|
1844
1844
|
}, q;
|
|
1845
1845
|
})(i);
|
|
@@ -1849,14 +1849,14 @@ function y1() {
|
|
|
1849
1849
|
var y = (function(F) {
|
|
1850
1850
|
function q(G) {
|
|
1851
1851
|
var ee = F.call(this) || this;
|
|
1852
|
-
return ee.members = G, ee.validValues = /* @__PURE__ */ new Set(), ee._failMsg = "is not a valid enum value", ee.validValues = new Set(Object.keys(G).map(function(
|
|
1853
|
-
return G[
|
|
1852
|
+
return ee.members = G, ee.validValues = /* @__PURE__ */ new Set(), ee._failMsg = "is not a valid enum value", ee.validValues = new Set(Object.keys(G).map(function(ce) {
|
|
1853
|
+
return G[ce];
|
|
1854
1854
|
})), ee;
|
|
1855
1855
|
}
|
|
1856
1856
|
return s(q, F), q.prototype.getChecker = function(G, ee) {
|
|
1857
|
-
var
|
|
1858
|
-
return function(
|
|
1859
|
-
return !!
|
|
1857
|
+
var ce = this;
|
|
1858
|
+
return function(be, Y) {
|
|
1859
|
+
return !!ce.validValues.has(be) || Y.fail(null, ce._failMsg, 0);
|
|
1860
1860
|
};
|
|
1861
1861
|
}, q;
|
|
1862
1862
|
})(i);
|
|
@@ -1865,16 +1865,16 @@ function y1() {
|
|
|
1865
1865
|
};
|
|
1866
1866
|
var v = (function(F) {
|
|
1867
1867
|
function q(G, ee) {
|
|
1868
|
-
var
|
|
1869
|
-
return
|
|
1868
|
+
var ce = F.call(this) || this;
|
|
1869
|
+
return ce.enumName = G, ce.prop = ee, ce._failMsg = "is not " + G + "." + ee, ce;
|
|
1870
1870
|
}
|
|
1871
1871
|
return s(q, F), q.prototype.getChecker = function(G, ee) {
|
|
1872
|
-
var
|
|
1873
|
-
if (!(
|
|
1874
|
-
var
|
|
1875
|
-
if (!
|
|
1876
|
-
return function(
|
|
1877
|
-
return
|
|
1872
|
+
var ce = this, be = c(G, this.enumName);
|
|
1873
|
+
if (!(be instanceof y)) throw new Error("Type " + this.enumName + " used in enumlit is not an enum type");
|
|
1874
|
+
var Y = be.members[this.prop];
|
|
1875
|
+
if (!be.members.hasOwnProperty(this.prop)) throw new Error("Unknown value " + this.enumName + "." + this.prop + " used in enumlit");
|
|
1876
|
+
return function(ae, J) {
|
|
1877
|
+
return ae === Y || J.fail(null, ce._failMsg, -1);
|
|
1878
1878
|
};
|
|
1879
1879
|
}, q;
|
|
1880
1880
|
})(i);
|
|
@@ -1890,36 +1890,36 @@ function y1() {
|
|
|
1890
1890
|
};
|
|
1891
1891
|
var E = (function(F) {
|
|
1892
1892
|
function q(G, ee) {
|
|
1893
|
-
var
|
|
1894
|
-
return
|
|
1895
|
-
return
|
|
1896
|
-
})),
|
|
1897
|
-
}
|
|
1898
|
-
return s(q, F), q.prototype.getChecker = function(G, ee,
|
|
1899
|
-
var
|
|
1900
|
-
return c(G,
|
|
1901
|
-
}),
|
|
1902
|
-
return
|
|
1903
|
-
}), J = new n.NoopContext(), $ = this.props.map(function(
|
|
1904
|
-
return !
|
|
1905
|
-
}),
|
|
1906
|
-
if (typeof
|
|
1907
|
-
for (var oe = 0; oe <
|
|
1908
|
-
for (oe = 0; oe <
|
|
1909
|
-
var
|
|
1893
|
+
var ce = F.call(this) || this;
|
|
1894
|
+
return ce.bases = G, ce.props = ee, ce.propSet = new Set(ee.map(function(be) {
|
|
1895
|
+
return be.name;
|
|
1896
|
+
})), ce;
|
|
1897
|
+
}
|
|
1898
|
+
return s(q, F), q.prototype.getChecker = function(G, ee, ce) {
|
|
1899
|
+
var be = this, Y = this.bases.map(function(se) {
|
|
1900
|
+
return c(G, se).getChecker(G, ee);
|
|
1901
|
+
}), ae = this.props.map(function(se) {
|
|
1902
|
+
return se.ttype.getChecker(G, ee);
|
|
1903
|
+
}), J = new n.NoopContext(), $ = this.props.map(function(se, z) {
|
|
1904
|
+
return !se.isOpt && !ae[z](void 0, J);
|
|
1905
|
+
}), ie = function(se, z) {
|
|
1906
|
+
if (typeof se != "object" || se === null) return z.fail(null, "is not an object", 0);
|
|
1907
|
+
for (var oe = 0; oe < Y.length; oe++) if (!Y[oe](se, z)) return !1;
|
|
1908
|
+
for (oe = 0; oe < ae.length; oe++) {
|
|
1909
|
+
var le = be.props[oe].name, ge = se[le];
|
|
1910
1910
|
if (ge === void 0) {
|
|
1911
|
-
if ($[oe]) return z.fail(
|
|
1912
|
-
} else if (!
|
|
1911
|
+
if ($[oe]) return z.fail(le, "is missing", 1);
|
|
1912
|
+
} else if (!ae[oe](ge, z)) return z.fail(le, null, 1);
|
|
1913
1913
|
}
|
|
1914
1914
|
return !0;
|
|
1915
1915
|
};
|
|
1916
|
-
if (!ee) return
|
|
1917
|
-
var
|
|
1918
|
-
return
|
|
1919
|
-
return
|
|
1920
|
-
}),
|
|
1921
|
-
if (!
|
|
1922
|
-
for (var oe in
|
|
1916
|
+
if (!ee) return ie;
|
|
1917
|
+
var Q = this.propSet;
|
|
1918
|
+
return ce && (this.propSet.forEach(function(se) {
|
|
1919
|
+
return ce.add(se);
|
|
1920
|
+
}), Q = ce), function(se, z) {
|
|
1921
|
+
if (!ie(se, z)) return !1;
|
|
1922
|
+
for (var oe in se) if (!Q.has(oe)) return z.fail(oe, "is extraneous", 2);
|
|
1923
1923
|
return !0;
|
|
1924
1924
|
};
|
|
1925
1925
|
}, q;
|
|
@@ -1933,9 +1933,9 @@ function y1() {
|
|
|
1933
1933
|
return ee.ttype = G, ee;
|
|
1934
1934
|
}
|
|
1935
1935
|
return s(q, F), q.prototype.getChecker = function(G, ee) {
|
|
1936
|
-
var
|
|
1937
|
-
return function(
|
|
1938
|
-
return
|
|
1936
|
+
var ce = this.ttype.getChecker(G, ee);
|
|
1937
|
+
return function(be, Y) {
|
|
1938
|
+
return be === void 0 || ce(be, Y);
|
|
1939
1939
|
};
|
|
1940
1940
|
}, q;
|
|
1941
1941
|
})(i);
|
|
@@ -1949,12 +1949,12 @@ function y1() {
|
|
|
1949
1949
|
};
|
|
1950
1950
|
var A = (function(F) {
|
|
1951
1951
|
function q(G, ee) {
|
|
1952
|
-
var
|
|
1953
|
-
return
|
|
1952
|
+
var ce = F.call(this) || this;
|
|
1953
|
+
return ce.paramList = G, ce.result = ee, ce;
|
|
1954
1954
|
}
|
|
1955
1955
|
return s(q, F), q.prototype.getChecker = function(G, ee) {
|
|
1956
|
-
return function(
|
|
1957
|
-
return typeof
|
|
1956
|
+
return function(ce, be) {
|
|
1957
|
+
return typeof ce == "function" || be.fail(null, "is not a function", 0);
|
|
1958
1958
|
};
|
|
1959
1959
|
}, q;
|
|
1960
1960
|
})(i);
|
|
@@ -1971,35 +1971,35 @@ function y1() {
|
|
|
1971
1971
|
return ee.params = G, ee;
|
|
1972
1972
|
}
|
|
1973
1973
|
return s(q, F), q.prototype.getChecker = function(G, ee) {
|
|
1974
|
-
var
|
|
1974
|
+
var ce = this, be = this.params.map(function($) {
|
|
1975
1975
|
return $.ttype.getChecker(G, ee);
|
|
1976
|
-
}),
|
|
1977
|
-
return !$.isOpt && !
|
|
1978
|
-
}), J = function($,
|
|
1979
|
-
if (!Array.isArray($)) return
|
|
1980
|
-
for (var
|
|
1981
|
-
var
|
|
1982
|
-
if ($[
|
|
1983
|
-
if (
|
|
1984
|
-
} else if (!
|
|
1976
|
+
}), Y = new n.NoopContext(), ae = this.params.map(function($, ie) {
|
|
1977
|
+
return !$.isOpt && !be[ie](void 0, Y);
|
|
1978
|
+
}), J = function($, ie) {
|
|
1979
|
+
if (!Array.isArray($)) return ie.fail(null, "is not an array", 0);
|
|
1980
|
+
for (var Q = 0; Q < be.length; Q++) {
|
|
1981
|
+
var se = ce.params[Q];
|
|
1982
|
+
if ($[Q] === void 0) {
|
|
1983
|
+
if (ae[Q]) return ie.fail(se.name, "is missing", 1);
|
|
1984
|
+
} else if (!be[Q]($[Q], ie)) return ie.fail(se.name, null, 1);
|
|
1985
1985
|
}
|
|
1986
1986
|
return !0;
|
|
1987
1987
|
};
|
|
1988
|
-
return ee ? function($,
|
|
1989
|
-
return !!J($,
|
|
1988
|
+
return ee ? function($, ie) {
|
|
1989
|
+
return !!J($, ie) && ($.length <= be.length || ie.fail(be.length, "is extraneous", 2));
|
|
1990
1990
|
} : J;
|
|
1991
1991
|
}, q;
|
|
1992
1992
|
})(i);
|
|
1993
1993
|
e.TParamList = D;
|
|
1994
1994
|
var N = (function(F) {
|
|
1995
1995
|
function q(G, ee) {
|
|
1996
|
-
var
|
|
1997
|
-
return
|
|
1996
|
+
var ce = F.call(this) || this;
|
|
1997
|
+
return ce.validator = G, ce.message = ee, ce;
|
|
1998
1998
|
}
|
|
1999
1999
|
return s(q, F), q.prototype.getChecker = function(G, ee) {
|
|
2000
|
-
var
|
|
2001
|
-
return function(
|
|
2002
|
-
return !!
|
|
2000
|
+
var ce = this;
|
|
2001
|
+
return function(be, Y) {
|
|
2002
|
+
return !!ce.validator(be) || Y.fail(null, ce.message, 0);
|
|
2003
2003
|
};
|
|
2004
2004
|
}, q;
|
|
2005
2005
|
})(i);
|
|
@@ -2037,8 +2037,8 @@ function y1() {
|
|
|
2037
2037
|
e.basicTypes[F.name] = new N(function(q) {
|
|
2038
2038
|
return q instanceof F;
|
|
2039
2039
|
}, "is not a " + F.name);
|
|
2040
|
-
}, W = 0,
|
|
2041
|
-
X(
|
|
2040
|
+
}, W = 0, V = [Int8Array, Uint8Array, Uint8ClampedArray, Int16Array, Uint16Array, Int32Array, Uint32Array, Float32Array, Float64Array, ArrayBuffer]; W < V.length; W++)
|
|
2041
|
+
X(V[W]);
|
|
2042
2042
|
})(Mi)), Mi;
|
|
2043
2043
|
}
|
|
2044
2044
|
var ze = (g1 || (g1 = 1, (function(e) {
|
|
@@ -2622,7 +2622,7 @@ function cy() {
|
|
|
2622
2622
|
for (; L(h.dot); ) t = !0, Qt(), Wl();
|
|
2623
2623
|
if (!t) {
|
|
2624
2624
|
const s = k.tokens[e], n = he.charCodeAt(s.start);
|
|
2625
|
-
n >=
|
|
2625
|
+
n >= H.lowercaseA && n <= H.lowercaseZ && (s.identifierRole = null);
|
|
2626
2626
|
}
|
|
2627
2627
|
}
|
|
2628
2628
|
function pv() {
|
|
@@ -2651,7 +2651,7 @@ function uv(e) {
|
|
|
2651
2651
|
}
|
|
2652
2652
|
})();
|
|
2653
2653
|
let t = !1;
|
|
2654
|
-
for (; !L(h.slash) && !L(h.jsxTagEnd) && !k.error; ) Z(h.braceL) ? (t = !0, te(h.ellipsis), xt(), Qt()) : (t && k.end - k.start === 3 && he.charCodeAt(k.start) ===
|
|
2654
|
+
for (; !L(h.slash) && !L(h.jsxTagEnd) && !k.error; ) Z(h.braceL) ? (t = !0, te(h.ellipsis), xt(), Qt()) : (t && k.end - k.start === 3 && he.charCodeAt(k.start) === H.lowercaseK && he.charCodeAt(k.start + 1) === H.lowercaseE && he.charCodeAt(k.start + 2) === H.lowercaseY && (k.tokens[e].jsxRole = ir.KeyAfterPropSpread), ay(ke.ObjectKey), L(h.eq) && (Qt(), pv()));
|
|
2655
2655
|
const s = L(h.slash);
|
|
2656
2656
|
return s && Qt(), s;
|
|
2657
2657
|
}
|
|
@@ -2691,10 +2691,10 @@ function Qt() {
|
|
|
2691
2691
|
do {
|
|
2692
2692
|
if (k.pos > he.length) return void Ae("Unexpectedly reached the end of input.");
|
|
2693
2693
|
t = he.charCodeAt(++k.pos);
|
|
2694
|
-
} while (cr[t] || t ===
|
|
2694
|
+
} while (cr[t] || t === H.dash);
|
|
2695
2695
|
Ne(h.jsxName);
|
|
2696
2696
|
})();
|
|
2697
|
-
else if (e ===
|
|
2697
|
+
else if (e === H.quotationMark || e === H.apostrophe) (function(t) {
|
|
2698
2698
|
for (k.pos++; ; ) {
|
|
2699
2699
|
if (k.pos >= he.length) return void Ae("Unterminated string constant");
|
|
2700
2700
|
if (he.charCodeAt(k.pos) === t) {
|
|
@@ -2706,25 +2706,25 @@ function Qt() {
|
|
|
2706
2706
|
Ne(h.string);
|
|
2707
2707
|
})(e);
|
|
2708
2708
|
else switch (++k.pos, e) {
|
|
2709
|
-
case
|
|
2709
|
+
case H.greaterThan:
|
|
2710
2710
|
Ne(h.jsxTagEnd);
|
|
2711
2711
|
break;
|
|
2712
|
-
case
|
|
2712
|
+
case H.lessThan:
|
|
2713
2713
|
Ne(h.jsxTagStart);
|
|
2714
2714
|
break;
|
|
2715
|
-
case
|
|
2715
|
+
case H.slash:
|
|
2716
2716
|
Ne(h.slash);
|
|
2717
2717
|
break;
|
|
2718
|
-
case
|
|
2718
|
+
case H.equalsTo:
|
|
2719
2719
|
Ne(h.eq);
|
|
2720
2720
|
break;
|
|
2721
|
-
case
|
|
2721
|
+
case H.leftCurlyBrace:
|
|
2722
2722
|
Ne(h.braceL);
|
|
2723
2723
|
break;
|
|
2724
|
-
case
|
|
2724
|
+
case H.dot:
|
|
2725
2725
|
Ne(h.dot);
|
|
2726
2726
|
break;
|
|
2727
|
-
case
|
|
2727
|
+
case H.colon:
|
|
2728
2728
|
Ne(h.colon);
|
|
2729
2729
|
break;
|
|
2730
2730
|
default:
|
|
@@ -2737,8 +2737,8 @@ function Bs() {
|
|
|
2737
2737
|
for (; ; ) {
|
|
2738
2738
|
if (k.pos >= he.length) return void Ae("Unterminated JSX contents");
|
|
2739
2739
|
const s = he.charCodeAt(k.pos);
|
|
2740
|
-
if (s ===
|
|
2741
|
-
s ===
|
|
2740
|
+
if (s === H.lessThan || s === H.leftCurlyBrace) return k.pos === k.start ? s === H.lessThan ? (k.pos++, void Ne(h.jsxTagStart)) : void Gg(s) : void Ne(e && !t ? h.jsxEmptyText : h.jsxText);
|
|
2741
|
+
s === H.lineFeed ? e = !0 : s !== H.space && s !== H.carriageReturn && s !== H.tab && (t = !0), k.pos++;
|
|
2742
2742
|
}
|
|
2743
2743
|
})();
|
|
2744
2744
|
}
|
|
@@ -2807,7 +2807,7 @@ function ei() {
|
|
|
2807
2807
|
const e = Ie(1);
|
|
2808
2808
|
et(), te(h.greaterThan), Ce(e), ei();
|
|
2809
2809
|
})(), !1;
|
|
2810
|
-
if (Te(B._module) && $g() ===
|
|
2810
|
+
if (Te(B._module) && $g() === H.leftCurlyBrace && !Rg()) return st(B._module), te(h.braceL), ca(h.braceR), !1;
|
|
2811
2811
|
if (k.type & h.IS_PREFIX) return re(), ei(), !1;
|
|
2812
2812
|
if (hy()) return !0;
|
|
2813
2813
|
for (; k.type & h.IS_POSTFIX && !zt(); ) k.type === h.preIncDec && (k.type = h.postIncDec), re();
|
|
@@ -2957,7 +2957,7 @@ function rs() {
|
|
|
2957
2957
|
return re(), Gl(), !1;
|
|
2958
2958
|
case h.hash: {
|
|
2959
2959
|
const t = $g();
|
|
2960
|
-
return fi[t] || t ===
|
|
2960
|
+
return fi[t] || t === H.backslash ? Po() : re(), !1;
|
|
2961
2961
|
}
|
|
2962
2962
|
default:
|
|
2963
2963
|
return Ae(), !1;
|
|
@@ -3623,7 +3623,7 @@ function Sy() {
|
|
|
3623
3623
|
if (s.type === h.comma) return !0;
|
|
3624
3624
|
if (n) {
|
|
3625
3625
|
const i = he.charCodeAt(Ug(t + 4));
|
|
3626
|
-
return i ===
|
|
3626
|
+
return i === H.quotationMark || i === H.apostrophe;
|
|
3627
3627
|
}
|
|
3628
3628
|
return !1;
|
|
3629
3629
|
})() ? (_e(), L(h.comma) && Ze() === h.star ? (te(h.comma), te(h.star), st(B._as), _e()) : Ey(), jn()) : Z(h._default) ? (function() {
|
|
@@ -3737,7 +3737,7 @@ function _y() {
|
|
|
3737
3737
|
(L(h._with) || Te(B._assert) && !Lt()) && (re(), Xp(!1, !1));
|
|
3738
3738
|
}
|
|
3739
3739
|
function Nv() {
|
|
3740
|
-
return k.pos === 0 && he.charCodeAt(0) ===
|
|
3740
|
+
return k.pos === 0 && he.charCodeAt(0) === H.numberSign && he.charCodeAt(1) === H.exclamationMark && Vg(2), qg(), (function() {
|
|
3741
3741
|
if (ca(h.eof), k.scopes.push(new kr(0, k.tokens.length, !0)), k.scopeDepth !== 0) throw new Error(`Invalid scope depth at end of file: ${k.scopeDepth}`);
|
|
3742
3742
|
return new Ov(k.tokens, k.scopes);
|
|
3743
3743
|
})();
|
|
@@ -5358,8 +5358,8 @@ function kk() {
|
|
|
5358
5358
|
const R = new SyntaxError();
|
|
5359
5359
|
return R.code = r, R.reasonCode = a, R.loc = _, R.pos = _.index, R.syntaxPlugin = u, x && (R.missingPlugin = I.missingPlugin), m(R, "clone", function(M = {}) {
|
|
5360
5360
|
var K;
|
|
5361
|
-
const { line:
|
|
5362
|
-
return S(new t(
|
|
5361
|
+
const { line: ne, column: ve, index: de } = (K = M.loc) != null ? K : _;
|
|
5362
|
+
return S(new t(ne, ve, de), Object.assign({}, I, M.details));
|
|
5363
5363
|
}), m(R, "details", I), Object.defineProperty(R, "message", { configurable: !0, get() {
|
|
5364
5364
|
const M = `${P(I)} (${_.line}:${_.column})`;
|
|
5365
5365
|
return this.message = M, M;
|
|
@@ -5396,27 +5396,27 @@ function kk() {
|
|
|
5396
5396
|
this.label = void 0, this.keyword = void 0, this.beforeExpr = void 0, this.startsExpr = void 0, this.rightAssociative = void 0, this.isLoop = void 0, this.isAssign = void 0, this.prefix = void 0, this.postfix = void 0, this.binop = void 0, this.label = r, this.keyword = a.keyword, this.beforeExpr = !!a.beforeExpr, this.startsExpr = !!a.startsExpr, this.rightAssociative = !!a.rightAssociative, this.isLoop = !!a.isLoop, this.isAssign = !!a.isAssign, this.prefix = !!a.prefix, this.postfix = !!a.postfix, this.binop = a.binop != null ? a.binop : null, this.updateContext = null;
|
|
5397
5397
|
}
|
|
5398
5398
|
}
|
|
5399
|
-
const
|
|
5399
|
+
const V = /* @__PURE__ */ new Map();
|
|
5400
5400
|
function F(P, r = {}) {
|
|
5401
5401
|
r.keyword = P;
|
|
5402
5402
|
const a = $(P, r);
|
|
5403
|
-
return
|
|
5403
|
+
return V.set(P, a), a;
|
|
5404
5404
|
}
|
|
5405
5405
|
function q(P, r) {
|
|
5406
5406
|
return $(P, { beforeExpr: D, binop: r });
|
|
5407
5407
|
}
|
|
5408
5408
|
let G = -1;
|
|
5409
|
-
const ee = [],
|
|
5409
|
+
const ee = [], ce = [], be = [], Y = [], ae = [], J = [];
|
|
5410
5410
|
function $(P, r = {}) {
|
|
5411
5411
|
var a, u, x, S;
|
|
5412
|
-
return ++G,
|
|
5412
|
+
return ++G, ce.push(P), be.push((a = r.binop) != null ? a : -1), Y.push((u = r.beforeExpr) != null && u), ae.push((x = r.startsExpr) != null && x), J.push((S = r.prefix) != null && S), ee.push(new W(P, r)), G;
|
|
5413
5413
|
}
|
|
5414
|
-
function
|
|
5414
|
+
function ie(P, r = {}) {
|
|
5415
5415
|
var a, u, x, S;
|
|
5416
|
-
return ++G,
|
|
5416
|
+
return ++G, V.set(P, G), ce.push(P), be.push((a = r.binop) != null ? a : -1), Y.push((u = r.beforeExpr) != null && u), ae.push((x = r.startsExpr) != null && x), J.push((S = r.prefix) != null && S), ee.push(new W("name", r)), G;
|
|
5417
5417
|
}
|
|
5418
|
-
const
|
|
5419
|
-
function
|
|
5418
|
+
const Q = { bracketL: $("[", { beforeExpr: D, startsExpr: N }), bracketHashL: $("#[", { beforeExpr: D, startsExpr: N }), bracketBarL: $("[|", { beforeExpr: D, startsExpr: N }), bracketR: $("]"), bracketBarR: $("|]"), braceL: $("{", { beforeExpr: D, startsExpr: N }), braceBarL: $("{|", { beforeExpr: D, startsExpr: N }), braceHashL: $("#{", { beforeExpr: D, startsExpr: N }), braceR: $("}"), braceBarR: $("|}"), parenL: $("(", { beforeExpr: D, startsExpr: N }), parenR: $(")"), comma: $(",", { beforeExpr: D }), semi: $(";", { beforeExpr: D }), colon: $(":", { beforeExpr: D }), doubleColon: $("::", { beforeExpr: D }), dot: $("."), question: $("?", { beforeExpr: D }), questionDot: $("?."), arrow: $("=>", { beforeExpr: D }), template: $("template"), ellipsis: $("...", { beforeExpr: D }), backQuote: $("`", { startsExpr: N }), dollarBraceL: $("${", { beforeExpr: D, startsExpr: N }), templateTail: $("...`", { startsExpr: N }), templateNonTail: $("...${", { beforeExpr: D, startsExpr: N }), at: $("@"), hash: $("#", { startsExpr: N }), interpreterDirective: $("#!..."), eq: $("=", { beforeExpr: D, isAssign: U }), assign: $("_=", { beforeExpr: D, isAssign: U }), slashAssign: $("_=", { beforeExpr: D, isAssign: U }), xorAssign: $("_=", { beforeExpr: D, isAssign: U }), moduloAssign: $("_=", { beforeExpr: D, isAssign: U }), incDec: $("++/--", { prefix: X, postfix: !0, startsExpr: N }), bang: $("!", { beforeExpr: D, prefix: X, startsExpr: N }), tilde: $("~", { beforeExpr: D, prefix: X, startsExpr: N }), doubleCaret: $("^^", { startsExpr: N }), doubleAt: $("@@", { startsExpr: N }), pipeline: q("|>", 0), nullishCoalescing: q("??", 1), logicalOR: q("||", 1), logicalAND: q("&&", 2), bitwiseOR: q("|", 3), bitwiseXOR: q("^", 4), bitwiseAND: q("&", 5), equality: q("==/!=/===/!==", 6), lt: q("</>/<=/>=", 7), gt: q("</>/<=/>=", 7), relational: q("</>/<=/>=", 7), bitShift: q("<</>>/>>>", 8), bitShiftL: q("<</>>/>>>", 8), bitShiftR: q("<</>>/>>>", 8), plusMin: $("+/-", { beforeExpr: D, binop: 9, prefix: X, startsExpr: N }), modulo: $("%", { binop: 10, startsExpr: N }), star: $("*", { binop: 10 }), slash: q("/", 10), exponent: $("**", { beforeExpr: D, binop: 11, rightAssociative: !0 }), _in: F("in", { beforeExpr: D, binop: 7 }), _instanceof: F("instanceof", { beforeExpr: D, binop: 7 }), _break: F("break"), _case: F("case", { beforeExpr: D }), _catch: F("catch"), _continue: F("continue"), _debugger: F("debugger"), _default: F("default", { beforeExpr: D }), _else: F("else", { beforeExpr: D }), _finally: F("finally"), _function: F("function", { startsExpr: N }), _if: F("if"), _return: F("return", { beforeExpr: D }), _switch: F("switch"), _throw: F("throw", { beforeExpr: D, prefix: X, startsExpr: N }), _try: F("try"), _var: F("var"), _const: F("const"), _with: F("with"), _new: F("new", { beforeExpr: D, startsExpr: N }), _this: F("this", { startsExpr: N }), _super: F("super", { startsExpr: N }), _class: F("class", { startsExpr: N }), _extends: F("extends", { beforeExpr: D }), _export: F("export"), _import: F("import", { startsExpr: N }), _null: F("null", { startsExpr: N }), _true: F("true", { startsExpr: N }), _false: F("false", { startsExpr: N }), _typeof: F("typeof", { beforeExpr: D, prefix: X, startsExpr: N }), _void: F("void", { beforeExpr: D, prefix: X, startsExpr: N }), _delete: F("delete", { beforeExpr: D, prefix: X, startsExpr: N }), _do: F("do", { isLoop: j, beforeExpr: D }), _for: F("for", { isLoop: j }), _while: F("while", { isLoop: j }), _as: ie("as", { startsExpr: N }), _assert: ie("assert", { startsExpr: N }), _async: ie("async", { startsExpr: N }), _await: ie("await", { startsExpr: N }), _defer: ie("defer", { startsExpr: N }), _from: ie("from", { startsExpr: N }), _get: ie("get", { startsExpr: N }), _let: ie("let", { startsExpr: N }), _meta: ie("meta", { startsExpr: N }), _of: ie("of", { startsExpr: N }), _sent: ie("sent", { startsExpr: N }), _set: ie("set", { startsExpr: N }), _source: ie("source", { startsExpr: N }), _static: ie("static", { startsExpr: N }), _using: ie("using", { startsExpr: N }), _yield: ie("yield", { startsExpr: N }), _asserts: ie("asserts", { startsExpr: N }), _checks: ie("checks", { startsExpr: N }), _exports: ie("exports", { startsExpr: N }), _global: ie("global", { startsExpr: N }), _implements: ie("implements", { startsExpr: N }), _intrinsic: ie("intrinsic", { startsExpr: N }), _infer: ie("infer", { startsExpr: N }), _is: ie("is", { startsExpr: N }), _mixins: ie("mixins", { startsExpr: N }), _proto: ie("proto", { startsExpr: N }), _require: ie("require", { startsExpr: N }), _satisfies: ie("satisfies", { startsExpr: N }), _keyof: ie("keyof", { startsExpr: N }), _readonly: ie("readonly", { startsExpr: N }), _unique: ie("unique", { startsExpr: N }), _abstract: ie("abstract", { startsExpr: N }), _declare: ie("declare", { startsExpr: N }), _enum: ie("enum", { startsExpr: N }), _module: ie("module", { startsExpr: N }), _namespace: ie("namespace", { startsExpr: N }), _interface: ie("interface", { startsExpr: N }), _type: ie("type", { startsExpr: N }), _opaque: ie("opaque", { startsExpr: N }), name: $("name", { startsExpr: N }), placeholder: $("%%", { startsExpr: N }), string: $("string", { startsExpr: N }), num: $("num", { startsExpr: N }), bigint: $("bigint", { startsExpr: N }), decimal: $("decimal", { startsExpr: N }), regexp: $("regexp", { startsExpr: N }), privateName: $("#name", { startsExpr: N }), eof: $("eof"), jsxName: $("jsxName"), jsxText: $("jsxText", { beforeExpr: D }), jsxTagStart: $("jsxTagStart", { startsExpr: N }), jsxTagEnd: $("jsxTagEnd") };
|
|
5419
|
+
function se(P) {
|
|
5420
5420
|
return P >= 93 && P <= 133;
|
|
5421
5421
|
}
|
|
5422
5422
|
function z(P) {
|
|
@@ -5425,8 +5425,8 @@ function kk() {
|
|
|
5425
5425
|
function oe(P) {
|
|
5426
5426
|
return P >= 58 && P <= 137;
|
|
5427
5427
|
}
|
|
5428
|
-
function
|
|
5429
|
-
return
|
|
5428
|
+
function le(P) {
|
|
5429
|
+
return ae[P];
|
|
5430
5430
|
}
|
|
5431
5431
|
function ge(P) {
|
|
5432
5432
|
return P >= 129 && P <= 131;
|
|
@@ -5438,10 +5438,10 @@ function kk() {
|
|
|
5438
5438
|
return P === 34;
|
|
5439
5439
|
}
|
|
5440
5440
|
function me(P) {
|
|
5441
|
-
return
|
|
5441
|
+
return ce[P];
|
|
5442
5442
|
}
|
|
5443
5443
|
function Oe(P) {
|
|
5444
|
-
return
|
|
5444
|
+
return be[P];
|
|
5445
5445
|
}
|
|
5446
5446
|
function qe(P) {
|
|
5447
5447
|
return P >= 24 && P <= 25;
|
|
@@ -5981,24 +5981,24 @@ function kk() {
|
|
|
5981
5981
|
const Bu = { decBinOct: /* @__PURE__ */ new Set([46, 66, 69, 79, 95, 98, 101, 111]), hex: /* @__PURE__ */ new Set([46, 88, 95, 120]) }, Ci = { bin: (P) => P === 48 || P === 49, oct: (P) => P >= 48 && P <= 55, dec: (P) => P >= 48 && P <= 57, hex: (P) => P >= 48 && P <= 57 || P >= 65 && P <= 70 || P >= 97 && P <= 102 };
|
|
5982
5982
|
function Uu(P, r, a, u, x, S) {
|
|
5983
5983
|
const _ = a, I = u, R = x;
|
|
5984
|
-
let M = "", K = null,
|
|
5984
|
+
let M = "", K = null, ne = a;
|
|
5985
5985
|
const { length: ve } = r;
|
|
5986
5986
|
for (; ; ) {
|
|
5987
5987
|
if (a >= ve) {
|
|
5988
|
-
S.unterminated(_, I, R), M += r.slice(
|
|
5988
|
+
S.unterminated(_, I, R), M += r.slice(ne, a);
|
|
5989
5989
|
break;
|
|
5990
5990
|
}
|
|
5991
5991
|
const de = r.charCodeAt(a);
|
|
5992
5992
|
if (rT(P, de, r, a)) {
|
|
5993
|
-
M += r.slice(
|
|
5993
|
+
M += r.slice(ne, a);
|
|
5994
5994
|
break;
|
|
5995
5995
|
}
|
|
5996
5996
|
if (de === 92) {
|
|
5997
|
-
M += r.slice(
|
|
5997
|
+
M += r.slice(ne, a);
|
|
5998
5998
|
const Pe = sT(r, a, u, x, P === "template", S);
|
|
5999
|
-
Pe.ch !== null || K ? M += Pe.ch : K = { pos: a, lineStart: u, curLine: x }, { pos: a, lineStart: u, curLine: x } = Pe,
|
|
6000
|
-
} else de === 8232 || de === 8233 ? (++x, u = ++a) : de === 10 || de === 13 ? P === "template" ? (M += r.slice(
|
|
6001
|
-
`, ++a, de === 13 && r.charCodeAt(a) === 10 && ++a, ++x,
|
|
5999
|
+
Pe.ch !== null || K ? M += Pe.ch : K = { pos: a, lineStart: u, curLine: x }, { pos: a, lineStart: u, curLine: x } = Pe, ne = a;
|
|
6000
|
+
} else de === 8232 || de === 8233 ? (++x, u = ++a) : de === 10 || de === 13 ? P === "template" ? (M += r.slice(ne, a) + `
|
|
6001
|
+
`, ++a, de === 13 && r.charCodeAt(a) === 10 && ++a, ++x, ne = u = a) : S.unterminated(_, I, R) : ++a;
|
|
6002
6002
|
}
|
|
6003
6003
|
return { pos: a, str: M, firstInvalidLoc: K, lineStart: u, curLine: x, containsInvalid: !!K };
|
|
6004
6004
|
}
|
|
@@ -6045,14 +6045,14 @@ function kk() {
|
|
|
6045
6045
|
default:
|
|
6046
6046
|
if (R >= 48 && R <= 55) {
|
|
6047
6047
|
const M = r - 1;
|
|
6048
|
-
let K = /^[0-7]+/.exec(P.slice(M, r + 2))[0],
|
|
6049
|
-
|
|
6048
|
+
let K = /^[0-7]+/.exec(P.slice(M, r + 2))[0], ne = parseInt(K, 8);
|
|
6049
|
+
ne > 255 && (K = K.slice(0, -1), ne = parseInt(K, 8)), r += K.length - 1;
|
|
6050
6050
|
const ve = P.charCodeAt(r);
|
|
6051
6051
|
if (K !== "0" || ve === 56 || ve === 57) {
|
|
6052
6052
|
if (x) return I(null);
|
|
6053
6053
|
S.strictNumericEscape(M, a, u);
|
|
6054
6054
|
}
|
|
6055
|
-
return I(String.fromCharCode(
|
|
6055
|
+
return I(String.fromCharCode(ne));
|
|
6056
6056
|
}
|
|
6057
6057
|
return I(String.fromCharCode(R));
|
|
6058
6058
|
}
|
|
@@ -6063,7 +6063,7 @@ function kk() {
|
|
|
6063
6063
|
return { n: M, pos: r } = $u(P, r, a, u, 16, x, S, !1, I, !_), M === null && (_ ? I.invalidEscapeSequence(R, a, u) : r = R - 1), { code: M, pos: r };
|
|
6064
6064
|
}
|
|
6065
6065
|
function $u(P, r, a, u, x, S, _, I, R, M) {
|
|
6066
|
-
const K = r,
|
|
6066
|
+
const K = r, ne = x === 16 ? Bu.hex : Bu.decBinOct, ve = x === 16 ? Ci.hex : x === 10 ? Ci.dec : x === 8 ? Ci.oct : Ci.bin;
|
|
6067
6067
|
let de = !1, Pe = 0;
|
|
6068
6068
|
for (let He = 0, ct = S ?? 1 / 0; He < ct; ++He) {
|
|
6069
6069
|
const Re = P.charCodeAt(r);
|
|
@@ -6071,7 +6071,7 @@ function kk() {
|
|
|
6071
6071
|
if (Re === 95 && I !== "bail") {
|
|
6072
6072
|
const En = P.charCodeAt(r - 1), nc = P.charCodeAt(r + 1);
|
|
6073
6073
|
if (I) {
|
|
6074
|
-
if (Number.isNaN(nc) || !ve(nc) ||
|
|
6074
|
+
if (Number.isNaN(nc) || !ve(nc) || ne.has(En) || ne.has(nc)) {
|
|
6075
6075
|
if (M) return { n: null, pos: r };
|
|
6076
6076
|
R.unexpectedNumericSeparator(r, a, u);
|
|
6077
6077
|
}
|
|
@@ -6509,10 +6509,10 @@ function kk() {
|
|
|
6509
6509
|
var K = !0;
|
|
6510
6510
|
}
|
|
6511
6511
|
if (er(this.codePointAtPos(this.state.pos))) throw this.raise(b.NumberIdentifier, this.state.curPosition());
|
|
6512
|
-
const
|
|
6513
|
-
if (S) return void this.finishToken(136,
|
|
6514
|
-
if (K) return void this.finishToken(137,
|
|
6515
|
-
const ve = I ? parseInt(
|
|
6512
|
+
const ne = this.input.slice(a, this.state.pos).replace(/[_mn]/g, "");
|
|
6513
|
+
if (S) return void this.finishToken(136, ne);
|
|
6514
|
+
if (K) return void this.finishToken(137, ne);
|
|
6515
|
+
const ve = I ? parseInt(ne, 8) : parseFloat(ne);
|
|
6516
6516
|
this.finishToken(135, ve);
|
|
6517
6517
|
}
|
|
6518
6518
|
readCodePoint(r) {
|
|
@@ -6560,7 +6560,7 @@ function kk() {
|
|
|
6560
6560
|
return a + this.input.slice(x, this.state.pos);
|
|
6561
6561
|
}
|
|
6562
6562
|
readWord(r) {
|
|
6563
|
-
const a = this.readWord1(r), u =
|
|
6563
|
+
const a = this.readWord1(r), u = V.get(a);
|
|
6564
6564
|
u !== void 0 ? this.finishToken(u, me(u)) : this.finishToken(132, a);
|
|
6565
6565
|
}
|
|
6566
6566
|
checkKeywordEscapes() {
|
|
@@ -6897,8 +6897,8 @@ function kk() {
|
|
|
6897
6897
|
this.castNodeTo(r, "ObjectPattern");
|
|
6898
6898
|
for (let I = 0, R = r.properties.length, M = R - 1; I < R; I++) {
|
|
6899
6899
|
var _;
|
|
6900
|
-
const K = r.properties[I],
|
|
6901
|
-
this.toAssignableObjectExpressionProp(K,
|
|
6900
|
+
const K = r.properties[I], ne = I === M;
|
|
6901
|
+
this.toAssignableObjectExpressionProp(K, ne, a), ne && K.type === "RestElement" && (_ = r.extra) != null && _.trailingCommaLoc && this.raise(b.RestTrailingComma, r.extra.trailingCommaLoc);
|
|
6902
6902
|
}
|
|
6903
6903
|
break;
|
|
6904
6904
|
case "ObjectProperty": {
|
|
@@ -7082,9 +7082,9 @@ function kk() {
|
|
|
7082
7082
|
const He = u === 64 ? b.InvalidLhs : b.InvalidLhsBinding;
|
|
7083
7083
|
return void this.raise(He, r, { ancestor: a });
|
|
7084
7084
|
}
|
|
7085
|
-
let
|
|
7086
|
-
typeof K == "string" ? (
|
|
7087
|
-
const de = R === "ArrayPattern" || R === "ObjectPattern" ? { type: R } : a, Pe = r[
|
|
7085
|
+
let ne, ve;
|
|
7086
|
+
typeof K == "string" ? (ne = K, ve = R === "ParenthesizedExpression") : [ne, ve] = K;
|
|
7087
|
+
const de = R === "ArrayPattern" || R === "ObjectPattern" ? { type: R } : a, Pe = r[ne];
|
|
7088
7088
|
if (Array.isArray(Pe)) for (const He of Pe) He && this.checkLVal(He, de, u, x, S, ve);
|
|
7089
7089
|
else Pe && this.checkLVal(Pe, de, u, x, S, ve);
|
|
7090
7090
|
}
|
|
@@ -7549,7 +7549,7 @@ function kk() {
|
|
|
7549
7549
|
else if (u === 144) {
|
|
7550
7550
|
const x = a[a.length - 1];
|
|
7551
7551
|
x === O.j_oTag && r === 56 || x === O.j_cTag ? (a.pop(), this.state.canStartJSXElement = a[a.length - 1] === O.j_expr) : (this.setContext(O.j_expr), this.state.canStartJSXElement = !0);
|
|
7552
|
-
} else this.state.canStartJSXElement =
|
|
7552
|
+
} else this.state.canStartJSXElement = Y[u];
|
|
7553
7553
|
}
|
|
7554
7554
|
}, flow: (P) => class extends P {
|
|
7555
7555
|
constructor(...r) {
|
|
@@ -7780,8 +7780,8 @@ function kk() {
|
|
|
7780
7780
|
this.flowObjectTypeSemicolon(), !Pe || this.match(8) || this.match(9) || this.raise(Se.UnexpectedExplicitInexactInObject, Pe);
|
|
7781
7781
|
}
|
|
7782
7782
|
this.expect(R), u && (I.inexact = K);
|
|
7783
|
-
const
|
|
7784
|
-
return this.state.inType = _,
|
|
7783
|
+
const ne = this.finishNode(I, "ObjectTypeAnnotation");
|
|
7784
|
+
return this.state.inType = _, ne;
|
|
7785
7785
|
}
|
|
7786
7786
|
flowParseObjectTypeProperty(r, a, u, x, S, _, I) {
|
|
7787
7787
|
if (this.eat(21))
|
|
@@ -7873,7 +7873,7 @@ function kk() {
|
|
|
7873
7873
|
}
|
|
7874
7874
|
case 10: {
|
|
7875
7875
|
const I = this.startNode();
|
|
7876
|
-
if (this.next(), !this.match(11) && !this.match(21)) if (
|
|
7876
|
+
if (this.next(), !this.match(11) && !this.match(21)) if (se(this.state.type) || this.match(78)) {
|
|
7877
7877
|
const R = this.lookahead().type;
|
|
7878
7878
|
S = R !== 17 && R !== 14;
|
|
7879
7879
|
} else S = !0;
|
|
@@ -7914,7 +7914,7 @@ function kk() {
|
|
|
7914
7914
|
const I = me(this.state.type);
|
|
7915
7915
|
return this.next(), super.createIdentifier(a, I);
|
|
7916
7916
|
}
|
|
7917
|
-
if (
|
|
7917
|
+
if (se(this.state.type)) return this.isContextual(129) ? this.flowParseInterfaceType() : this.flowIdentToTypeAnnotation(r, a, this.parseIdentifier());
|
|
7918
7918
|
}
|
|
7919
7919
|
this.unexpected();
|
|
7920
7920
|
}
|
|
@@ -8007,8 +8007,8 @@ function kk() {
|
|
|
8007
8007
|
parseExpressionStatement(r, a, u) {
|
|
8008
8008
|
if (a.type === "Identifier") {
|
|
8009
8009
|
if (a.name === "declare") {
|
|
8010
|
-
if (this.match(80) ||
|
|
8011
|
-
} else if (
|
|
8010
|
+
if (this.match(80) || se(this.state.type) || this.match(68) || this.match(74) || this.match(82)) return this.flowParseDeclare(r);
|
|
8011
|
+
} else if (se(this.state.type)) {
|
|
8012
8012
|
if (a.name === "interface") return this.flowParseInterface(r);
|
|
8013
8013
|
if (a.name === "type") return this.flowParseTypeAlias(r);
|
|
8014
8014
|
if (a.name === "opaque") return this.flowParseOpaqueType(r, !1);
|
|
@@ -8034,20 +8034,20 @@ function kk() {
|
|
|
8034
8034
|
parseConditional(r, a, u) {
|
|
8035
8035
|
if (!this.match(17)) return r;
|
|
8036
8036
|
if (this.state.maybeInArrowParameters) {
|
|
8037
|
-
const
|
|
8038
|
-
if (
|
|
8037
|
+
const ne = this.lookaheadCharCode();
|
|
8038
|
+
if (ne === 44 || ne === 61 || ne === 58 || ne === 41) return this.setOptionalParametersError(u), r;
|
|
8039
8039
|
}
|
|
8040
8040
|
this.expect(17);
|
|
8041
8041
|
const x = this.state.clone(), S = this.state.noArrowAt, _ = this.startNodeAt(a);
|
|
8042
8042
|
let { consequent: I, failed: R } = this.tryParseConditionalConsequent(), [M, K] = this.getArrowLikeExpressions(I);
|
|
8043
8043
|
if (R || K.length > 0) {
|
|
8044
|
-
const
|
|
8044
|
+
const ne = [...S];
|
|
8045
8045
|
if (K.length > 0) {
|
|
8046
|
-
this.state = x, this.state.noArrowAt =
|
|
8047
|
-
for (let ve = 0; ve < K.length; ve++)
|
|
8046
|
+
this.state = x, this.state.noArrowAt = ne;
|
|
8047
|
+
for (let ve = 0; ve < K.length; ve++) ne.push(K[ve].start);
|
|
8048
8048
|
({ consequent: I, failed: R } = this.tryParseConditionalConsequent()), [M, K] = this.getArrowLikeExpressions(I);
|
|
8049
8049
|
}
|
|
8050
|
-
R && M.length > 1 && this.raise(Se.AmbiguousConditionalArrow, x.startLoc), R && M.length === 1 && (this.state = x,
|
|
8050
|
+
R && M.length > 1 && this.raise(Se.AmbiguousConditionalArrow, x.startLoc), R && M.length === 1 && (this.state = x, ne.push(M[0].start), this.state.noArrowAt = ne, { consequent: I, failed: R } = this.tryParseConditionalConsequent());
|
|
8051
8051
|
}
|
|
8052
8052
|
return this.getArrowLikeExpressions(I, !0), this.state.noArrowAt = S, this.expect(14), _.test = r, _.consequent = I, _.alternate = this.forwardNoArrowParamsConversionAt(_, () => this.parseMaybeAssign(void 0, void 0)), this.finishNode(_, "ConditionalExpression");
|
|
8053
8053
|
}
|
|
@@ -8302,16 +8302,16 @@ function kk() {
|
|
|
8302
8302
|
var _, I;
|
|
8303
8303
|
let R;
|
|
8304
8304
|
S = S || this.state.clone();
|
|
8305
|
-
const M = this.tryParse((
|
|
8305
|
+
const M = this.tryParse((ne) => {
|
|
8306
8306
|
var ve;
|
|
8307
8307
|
R = this.flowParseTypeParameterDeclaration();
|
|
8308
8308
|
const de = this.forwardNoArrowParamsConversionAt(R, () => {
|
|
8309
8309
|
const He = super.parseMaybeAssign(r, a);
|
|
8310
8310
|
return this.resetStartLocationFromNode(He, R), He;
|
|
8311
8311
|
});
|
|
8312
|
-
(ve = de.extra) != null && ve.parenthesized &&
|
|
8312
|
+
(ve = de.extra) != null && ve.parenthesized && ne();
|
|
8313
8313
|
const Pe = this.maybeUnwrapTypeCastExpression(de);
|
|
8314
|
-
return Pe.type !== "ArrowFunctionExpression" &&
|
|
8314
|
+
return Pe.type !== "ArrowFunctionExpression" && ne(), Pe.typeParameters = R, this.resetStartLocationFromNode(Pe, R), de;
|
|
8315
8315
|
}, S);
|
|
8316
8316
|
let K = null;
|
|
8317
8317
|
if (M.node && this.maybeUnwrapTypeCastExpression(M.node).type === "ArrowFunctionExpression") {
|
|
@@ -8516,7 +8516,7 @@ function kk() {
|
|
|
8516
8516
|
}
|
|
8517
8517
|
flowEnumParseExplicitType({ enumName: r }) {
|
|
8518
8518
|
if (!this.eatContextual(102)) return null;
|
|
8519
|
-
if (!
|
|
8519
|
+
if (!se(this.state.type)) throw this.raise(Se.EnumInvalidExplicitTypeUnknownSupplied, this.state.startLoc, { enumName: r });
|
|
8520
8520
|
const { value: a } = this.state;
|
|
8521
8521
|
return this.next(), a !== "boolean" && a !== "number" && a !== "string" && a !== "symbol" && this.raise(Se.EnumInvalidExplicitType, this.state.startLoc, { enumName: r, invalidEnumType: a }), a;
|
|
8522
8522
|
}
|
|
@@ -8536,14 +8536,14 @@ function kk() {
|
|
|
8536
8536
|
default: {
|
|
8537
8537
|
const R = () => (r.members = [], this.expect(8), this.finishNode(r, "EnumStringBody"));
|
|
8538
8538
|
r.explicitType = !1;
|
|
8539
|
-
const M = _.booleanMembers.length, K = _.numberMembers.length,
|
|
8540
|
-
if (M || K ||
|
|
8539
|
+
const M = _.booleanMembers.length, K = _.numberMembers.length, ne = _.stringMembers.length, ve = _.defaultedMembers.length;
|
|
8540
|
+
if (M || K || ne || ve) {
|
|
8541
8541
|
if (M || K) {
|
|
8542
|
-
if (!K && !
|
|
8542
|
+
if (!K && !ne && M >= ve) {
|
|
8543
8543
|
for (const de of _.defaultedMembers) this.flowEnumErrorBooleanMemberNotInitialized(de.loc.start, { enumName: u, memberName: de.id.name });
|
|
8544
8544
|
return r.members = _.booleanMembers, this.expect(8), this.finishNode(r, "EnumBooleanBody");
|
|
8545
8545
|
}
|
|
8546
|
-
if (!M && !
|
|
8546
|
+
if (!M && !ne && K >= ve) {
|
|
8547
8547
|
for (const de of _.defaultedMembers) this.flowEnumErrorNumberMemberNotInitialized(de.loc.start, { enumName: u, memberName: de.id.name });
|
|
8548
8548
|
return r.members = _.numberMembers, this.expect(8), this.finishNode(r, "EnumNumberBody");
|
|
8549
8549
|
}
|
|
@@ -8589,7 +8589,7 @@ function kk() {
|
|
|
8589
8589
|
return Y0;
|
|
8590
8590
|
}
|
|
8591
8591
|
tsIsIdentifier() {
|
|
8592
|
-
return
|
|
8592
|
+
return se(this.state.type);
|
|
8593
8593
|
}
|
|
8594
8594
|
tsTokenCanFollowModifier() {
|
|
8595
8595
|
return this.match(0) || this.match(5) || this.match(55) || this.match(21) || this.match(139) || this.isLiteralPropertyName();
|
|
@@ -8601,7 +8601,7 @@ function kk() {
|
|
|
8601
8601
|
return this.match(106) ? (this.next(), this.tsTokenCanFollowModifier()) : this.tsNextTokenOnSameLineAndCanFollowModifier();
|
|
8602
8602
|
}
|
|
8603
8603
|
tsParseModifier(r, a, u) {
|
|
8604
|
-
if (!
|
|
8604
|
+
if (!se(this.state.type) && this.state.type !== 58 && this.state.type !== 75) return;
|
|
8605
8605
|
const x = this.state.value;
|
|
8606
8606
|
if (r.includes(x)) {
|
|
8607
8607
|
if (u && this.match(106) || a && this.tsIsStartOfStaticBlocks()) return;
|
|
@@ -8609,10 +8609,10 @@ function kk() {
|
|
|
8609
8609
|
}
|
|
8610
8610
|
}
|
|
8611
8611
|
tsParseModifiers({ allowedModifiers: r, disallowedModifiers: a, stopOnStartOfClassStaticBlock: u, errorTemplate: x = ye.InvalidModifierOnTypeMember }, S) {
|
|
8612
|
-
const _ = (R, M, K,
|
|
8613
|
-
M === K && S[
|
|
8614
|
-
}, I = (R, M, K,
|
|
8615
|
-
(S[K] && M ===
|
|
8612
|
+
const _ = (R, M, K, ne) => {
|
|
8613
|
+
M === K && S[ne] && this.raise(ye.InvalidModifiersOrder, R, { orderedModifiers: [K, ne] });
|
|
8614
|
+
}, I = (R, M, K, ne) => {
|
|
8615
|
+
(S[K] && M === ne || S[ne] && M === K) && this.raise(ye.IncompatibleModifiers, R, { modifiers: [K, ne] });
|
|
8616
8616
|
};
|
|
8617
8617
|
for (; ; ) {
|
|
8618
8618
|
const { startLoc: R } = this.state, M = this.tsParseModifier(r.concat(a ?? []), u, S.static);
|
|
@@ -8678,7 +8678,7 @@ function kk() {
|
|
|
8678
8678
|
const r = this.startNode(), a = [];
|
|
8679
8679
|
for (this.expect(5); !this.match(8); ) {
|
|
8680
8680
|
const u = this.state.type;
|
|
8681
|
-
|
|
8681
|
+
se(u) || u === 134 ? a.push(super.parsePropertyDefinition(null)) : this.unexpected(), this.eat(12);
|
|
8682
8682
|
}
|
|
8683
8683
|
return r.properties = a, this.next(), this.finishNode(r, "ObjectExpression");
|
|
8684
8684
|
}
|
|
@@ -8745,7 +8745,7 @@ function kk() {
|
|
|
8745
8745
|
return this.tsFillSignature(14, a), this.tsParseTypeMemberSemicolon(), this.finishNode(a, r);
|
|
8746
8746
|
}
|
|
8747
8747
|
tsIsUnambiguouslyIndexSignature() {
|
|
8748
|
-
return this.next(), !!
|
|
8748
|
+
return this.next(), !!se(this.state.type) && (this.next(), this.match(14));
|
|
8749
8749
|
}
|
|
8750
8750
|
tsTryParseIndexSignature(r) {
|
|
8751
8751
|
if (!this.match(0) || !this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))) return;
|
|
@@ -8908,7 +8908,7 @@ function kk() {
|
|
|
8908
8908
|
return this.tsParseTemplateLiteralType();
|
|
8909
8909
|
default: {
|
|
8910
8910
|
const { type: r } = this.state;
|
|
8911
|
-
if (
|
|
8911
|
+
if (se(r) || r === 88 || r === 84) {
|
|
8912
8912
|
const a = r === 88 ? "TSVoidKeyword" : r === 84 ? "TSNullKeyword" : (function(u) {
|
|
8913
8913
|
switch (u) {
|
|
8914
8914
|
case "any":
|
|
@@ -9003,7 +9003,7 @@ function kk() {
|
|
|
9003
9003
|
return !!this.match(47) || this.match(10) && this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this));
|
|
9004
9004
|
}
|
|
9005
9005
|
tsSkipParameterStart() {
|
|
9006
|
-
if (
|
|
9006
|
+
if (se(this.state.type) || this.match(78)) return this.next(), !0;
|
|
9007
9007
|
if (this.match(5)) {
|
|
9008
9008
|
const { errors: r } = this.state, a = r.length;
|
|
9009
9009
|
try {
|
|
@@ -9057,7 +9057,7 @@ function kk() {
|
|
|
9057
9057
|
tsParseTypePredicateAsserts() {
|
|
9058
9058
|
if (this.state.type !== 109) return !1;
|
|
9059
9059
|
const r = this.state.containsEsc;
|
|
9060
|
-
return this.next(), !(!
|
|
9060
|
+
return this.next(), !(!se(this.state.type) && !this.match(78)) && (r && this.raise(b.InvalidEscapedReservedWord, this.state.lastTokStartLoc, { reservedWord: "asserts" }), !0);
|
|
9061
9061
|
}
|
|
9062
9062
|
tsParseTypeAnnotation(r = !0, a = this.startNode()) {
|
|
9063
9063
|
return this.tsInType(() => {
|
|
@@ -9093,7 +9093,7 @@ function kk() {
|
|
|
9093
9093
|
}
|
|
9094
9094
|
tsParseInterfaceDeclaration(r, a = {}) {
|
|
9095
9095
|
if (this.hasFollowingLineBreak()) return null;
|
|
9096
|
-
this.expectContextual(129), a.declare && (r.declare = !0),
|
|
9096
|
+
this.expectContextual(129), a.declare && (r.declare = !0), se(this.state.type) ? (r.id = this.parseIdentifier(), this.checkIdentifier(r.id, 130)) : (r.id = null, this.raise(ye.MissingInterfaceName, this.state.startLoc)), r.typeParameters = this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers), this.eat(81) && (r.extends = this.tsParseHeritageClause("extends"));
|
|
9097
9097
|
const u = this.startNode();
|
|
9098
9098
|
return u.body = this.tsInType(this.tsParseObjectTypeMembers.bind(this)), r.body = this.finishNode(u, "TSInterfaceBody"), this.finishNode(r, "TSInterfaceDeclaration");
|
|
9099
9099
|
}
|
|
@@ -9236,7 +9236,7 @@ function kk() {
|
|
|
9236
9236
|
if (u) return u;
|
|
9237
9237
|
}
|
|
9238
9238
|
default:
|
|
9239
|
-
if (
|
|
9239
|
+
if (se(a)) return this.tsParseDeclaration(r, this.state.value, !0, null);
|
|
9240
9240
|
}
|
|
9241
9241
|
});
|
|
9242
9242
|
}
|
|
@@ -9263,19 +9263,19 @@ function kk() {
|
|
|
9263
9263
|
tsParseDeclaration(r, a, u, x) {
|
|
9264
9264
|
switch (a) {
|
|
9265
9265
|
case "abstract":
|
|
9266
|
-
if (this.tsCheckLineTerminator(u) && (this.match(80) ||
|
|
9266
|
+
if (this.tsCheckLineTerminator(u) && (this.match(80) || se(this.state.type))) return this.tsParseAbstractDeclaration(r, x);
|
|
9267
9267
|
break;
|
|
9268
9268
|
case "module":
|
|
9269
9269
|
if (this.tsCheckLineTerminator(u)) {
|
|
9270
9270
|
if (this.match(134)) return this.tsParseAmbientExternalModuleDeclaration(r);
|
|
9271
|
-
if (
|
|
9271
|
+
if (se(this.state.type)) return r.kind = "module", this.tsParseModuleOrNamespaceDeclaration(r);
|
|
9272
9272
|
}
|
|
9273
9273
|
break;
|
|
9274
9274
|
case "namespace":
|
|
9275
|
-
if (this.tsCheckLineTerminator(u) &&
|
|
9275
|
+
if (this.tsCheckLineTerminator(u) && se(this.state.type)) return r.kind = "namespace", this.tsParseModuleOrNamespaceDeclaration(r);
|
|
9276
9276
|
break;
|
|
9277
9277
|
case "type":
|
|
9278
|
-
if (this.tsCheckLineTerminator(u) &&
|
|
9278
|
+
if (this.tsCheckLineTerminator(u) && se(this.state.type)) return this.tsParseTypeAliasDeclaration(r);
|
|
9279
9279
|
}
|
|
9280
9280
|
}
|
|
9281
9281
|
tsCheckLineTerminator(r) {
|
|
@@ -9363,22 +9363,22 @@ function kk() {
|
|
|
9363
9363
|
let _;
|
|
9364
9364
|
const I = this.tsTryParseAndCatch(() => {
|
|
9365
9365
|
if (!u && this.atPossibleAsyncArrow(r)) {
|
|
9366
|
-
const
|
|
9367
|
-
if (
|
|
9366
|
+
const ne = this.tsTryParseGenericAsyncArrowFunction(a);
|
|
9367
|
+
if (ne) return x.stop = !0, ne;
|
|
9368
9368
|
}
|
|
9369
9369
|
const R = this.tsParseTypeArgumentsInExpression();
|
|
9370
9370
|
if (!R) return;
|
|
9371
9371
|
if (S && !this.match(10)) return void (_ = this.state.curPosition());
|
|
9372
9372
|
if (qe(this.state.type)) {
|
|
9373
|
-
const
|
|
9374
|
-
return
|
|
9373
|
+
const ne = super.parseTaggedTemplateExpression(r, a, x);
|
|
9374
|
+
return ne.typeParameters = R, ne;
|
|
9375
9375
|
}
|
|
9376
9376
|
if (!u && this.eat(10)) {
|
|
9377
|
-
const
|
|
9378
|
-
return
|
|
9377
|
+
const ne = this.startNodeAt(a);
|
|
9378
|
+
return ne.callee = r, ne.arguments = this.parseCallExpressionArguments(), this.tsCheckForInvalidTypeCasts(ne.arguments), ne.typeParameters = R, x.optionalChainMember && (ne.optional = S), this.finishCallExpression(ne, x.optionalChainMember);
|
|
9379
9379
|
}
|
|
9380
9380
|
const M = this.state.type;
|
|
9381
|
-
if (M === 48 || M === 52 || M !== 10 &&
|
|
9381
|
+
if (M === 48 || M === 52 || M !== 10 && le(M) && !this.hasPrecedingLineBreak()) return;
|
|
9382
9382
|
const K = this.startNodeAt(a);
|
|
9383
9383
|
return K.expression = r, K.typeParameters = R, this.finishNode(K, "TSInstantiationExpression");
|
|
9384
9384
|
});
|
|
@@ -9422,7 +9422,7 @@ function kk() {
|
|
|
9422
9422
|
parseImport(r) {
|
|
9423
9423
|
if (this.match(134)) return r.importKind = "value", super.parseImport(r);
|
|
9424
9424
|
let a;
|
|
9425
|
-
if (
|
|
9425
|
+
if (se(this.state.type) && this.lookaheadCharCode() === 61) return r.importKind = "value", this.tsParseImportEqualsDeclaration(r);
|
|
9426
9426
|
if (this.isContextual(130)) {
|
|
9427
9427
|
const u = this.parseMaybeImportPhase(r, !1);
|
|
9428
9428
|
if (this.lookaheadCharCode() === 61) return this.tsParseImportEqualsDeclaration(r, u);
|
|
@@ -9531,7 +9531,7 @@ function kk() {
|
|
|
9531
9531
|
if (!this.state.isAmbientContext && this.isContextual(125)) return this.tsInAmbientContext(() => this.parseExportDeclaration(r));
|
|
9532
9532
|
const a = this.state.startLoc, u = this.eatContextual(125);
|
|
9533
9533
|
if (u && (this.isContextual(125) || !this.shouldParseExportDeclaration())) throw this.raise(ye.ExpectedAmbientAfterExportDeclare, this.state.startLoc);
|
|
9534
|
-
const x =
|
|
9534
|
+
const x = se(this.state.type) && this.tsTryParseExportDeclaration() || super.parseExportDeclaration(r);
|
|
9535
9535
|
return x ? ((x.type === "TSInterfaceDeclaration" || x.type === "TSTypeAliasDeclaration" || u) && (r.exportKind = "type"), u && x.type !== "TSImportEqualsDeclaration" && (this.resetStartLocation(x, a), x.declare = !0), x) : null;
|
|
9536
9536
|
}
|
|
9537
9537
|
parseClassId(r, a, u, x) {
|
|
@@ -9592,7 +9592,7 @@ function kk() {
|
|
|
9592
9592
|
}
|
|
9593
9593
|
parseMaybeAssign(r, a) {
|
|
9594
9594
|
var u, x, S, _, I;
|
|
9595
|
-
let R, M, K,
|
|
9595
|
+
let R, M, K, ne;
|
|
9596
9596
|
if (this.hasPlugin("jsx") && (this.match(143) || this.match(47))) {
|
|
9597
9597
|
if (R = this.state.clone(), M = this.tryParse(() => super.parseMaybeAssign(r, a), R), !M.error) return M.node;
|
|
9598
9598
|
const { context: de } = this.state, Pe = de[de.length - 1];
|
|
@@ -9602,14 +9602,14 @@ function kk() {
|
|
|
9602
9602
|
R && R !== this.state || (R = this.state.clone());
|
|
9603
9603
|
const ve = this.tryParse((de) => {
|
|
9604
9604
|
var Pe, He;
|
|
9605
|
-
|
|
9605
|
+
ne = this.tsParseTypeParameters(this.tsParseConstModifier);
|
|
9606
9606
|
const ct = super.parseMaybeAssign(r, a);
|
|
9607
|
-
return (ct.type !== "ArrowFunctionExpression" || (Pe = ct.extra) != null && Pe.parenthesized) && de(), ((He =
|
|
9607
|
+
return (ct.type !== "ArrowFunctionExpression" || (Pe = ct.extra) != null && Pe.parenthesized) && de(), ((He = ne) == null ? void 0 : He.params.length) !== 0 && this.resetStartLocationFromNode(ct, ne), ct.typeParameters = ne, ct;
|
|
9608
9608
|
}, R);
|
|
9609
|
-
if (!ve.error && !ve.aborted) return
|
|
9609
|
+
if (!ve.error && !ve.aborted) return ne && this.reportReservedArrowTypeParam(ne), ve.node;
|
|
9610
9610
|
if (!M && (Wu(!this.hasPlugin("jsx")), K = this.tryParse(() => super.parseMaybeAssign(r, a), R), !K.error)) return K.node;
|
|
9611
9611
|
if ((x = M) != null && x.node) return this.state = M.failState, M.node;
|
|
9612
|
-
if (ve.node) return this.state = ve.failState,
|
|
9612
|
+
if (ve.node) return this.state = ve.failState, ne && this.reportReservedArrowTypeParam(ne), ve.node;
|
|
9613
9613
|
if ((S = K) != null && S.node) return this.state = K.failState, K.node;
|
|
9614
9614
|
throw ((_ = M) == null ? void 0 : _.error) || ve.error || ((I = K) == null ? void 0 : I.error);
|
|
9615
9615
|
}
|
|
@@ -9832,11 +9832,11 @@ function kk() {
|
|
|
9832
9832
|
let _, I = r[x], R = !1, M = !0;
|
|
9833
9833
|
const K = I.loc.start;
|
|
9834
9834
|
if (this.isContextual(93)) {
|
|
9835
|
-
const
|
|
9835
|
+
const ne = this.parseIdentifier();
|
|
9836
9836
|
if (this.isContextual(93)) {
|
|
9837
9837
|
const ve = this.parseIdentifier();
|
|
9838
|
-
z(this.state.type) ? (R = !0, I =
|
|
9839
|
-
} else z(this.state.type) ? (M = !1, _ = a ? this.parseIdentifier() : this.parseModuleExportName()) : (R = !0, I =
|
|
9838
|
+
z(this.state.type) ? (R = !0, I = ne, _ = a ? this.parseIdentifier() : this.parseModuleExportName(), M = !1) : (_ = ve, M = !1);
|
|
9839
|
+
} else z(this.state.type) ? (M = !1, _ = a ? this.parseIdentifier() : this.parseModuleExportName()) : (R = !0, I = ne);
|
|
9840
9840
|
} else z(this.state.type) && (R = !0, a ? (I = this.parseIdentifier(!0), this.isContextual(93) || this.checkReservedWord(I.name, I.loc.start, !0, !0)) : I = this.parseModuleExportName());
|
|
9841
9841
|
R && u && this.raise(a ? ye.TypeModifierIsUsedInTypeImports : ye.TypeModifierIsUsedInTypeExports, K), r[x] = I, r[S] = _, r[a ? "importKind" : "exportKind"] = R ? "type" : "value", M && this.eatContextual(93) && (r[S] = a ? this.parseIdentifier() : this.parseModuleExportName()), r[S] || (r[S] = this.cloneIdentifier(r[x])), a && this.checkIdentifier(r[S], R ? 4098 : 4096);
|
|
9842
9842
|
}
|
|
@@ -9905,7 +9905,7 @@ function kk() {
|
|
|
9905
9905
|
parseV8Intrinsic() {
|
|
9906
9906
|
if (this.match(54)) {
|
|
9907
9907
|
const r = this.state.startLoc, a = this.startNode();
|
|
9908
|
-
if (this.next(),
|
|
9908
|
+
if (this.next(), se(this.state.type)) {
|
|
9909
9909
|
const u = this.parseIdentifierName(), x = this.createIdentifier(a, u);
|
|
9910
9910
|
if (this.castNodeTo(x, "V8IntrinsicIdentifier"), this.match(10)) return x;
|
|
9911
9911
|
}
|
|
@@ -10076,21 +10076,21 @@ function kk() {
|
|
|
10076
10076
|
let S;
|
|
10077
10077
|
r ? S = !1 : (r = new Ni(), S = !0);
|
|
10078
10078
|
const { type: _ } = this.state;
|
|
10079
|
-
(_ === 10 ||
|
|
10079
|
+
(_ === 10 || se(_)) && (this.state.potentialArrowAt = this.state.start);
|
|
10080
10080
|
let I = this.parseMaybeConditional(r);
|
|
10081
10081
|
if (a && (I = a.call(this, I, u)), (R = this.state.type) >= 29 && R <= 33) {
|
|
10082
10082
|
const M = this.startNodeAt(u), K = this.state.value;
|
|
10083
10083
|
if (M.operator = K, this.match(29)) {
|
|
10084
10084
|
this.toAssignable(I, !0), M.left = I;
|
|
10085
|
-
const
|
|
10086
|
-
r.doubleProtoLoc != null && r.doubleProtoLoc.index >=
|
|
10085
|
+
const ne = u.index;
|
|
10086
|
+
r.doubleProtoLoc != null && r.doubleProtoLoc.index >= ne && (r.doubleProtoLoc = null), r.shorthandAssignLoc != null && r.shorthandAssignLoc.index >= ne && (r.shorthandAssignLoc = null), r.privateKeyLoc != null && r.privateKeyLoc.index >= ne && (this.checkDestructuringPrivate(r), r.privateKeyLoc = null), r.voidPatternLoc != null && r.voidPatternLoc.index >= ne && (r.voidPatternLoc = null);
|
|
10087
10087
|
} else M.left = I;
|
|
10088
10088
|
return this.next(), M.right = this.parseMaybeAssign(), this.checkLVal(I, this.finishNode(M, "AssignmentExpression")), M;
|
|
10089
10089
|
}
|
|
10090
10090
|
var R;
|
|
10091
10091
|
if (S && this.checkExpressionErrors(r, !0), x) {
|
|
10092
10092
|
const { type: M } = this.state;
|
|
10093
|
-
if ((this.hasPlugin("v8intrinsic") ?
|
|
10093
|
+
if ((this.hasPlugin("v8intrinsic") ? le(M) : le(M) && !this.match(54)) && !this.isAmbiguousPrefixOrIdentifier()) return this.raiseOverwrite(b.YieldNotInGeneratorFunction, u), this.parseYield(u);
|
|
10094
10094
|
}
|
|
10095
10095
|
return I;
|
|
10096
10096
|
}
|
|
@@ -10130,8 +10130,8 @@ function kk() {
|
|
|
10130
10130
|
const R = x === 41 || x === 42, M = x === 40;
|
|
10131
10131
|
if (M && (_ = Oe(42)), this.next(), x === 39 && this.hasPlugin(["pipelineOperator", { proposal: "minimal" }]) && this.state.type === 96 && this.prodParam.hasAwait) throw this.raise(b.UnexpectedAwaitAfterPipelineBody, this.state.startLoc);
|
|
10132
10132
|
I.right = this.parseExprOpRightExpr(x, _);
|
|
10133
|
-
const K = this.finishNode(I, R || M ? "LogicalExpression" : "BinaryExpression"),
|
|
10134
|
-
if (M && (
|
|
10133
|
+
const K = this.finishNode(I, R || M ? "LogicalExpression" : "BinaryExpression"), ne = this.state.type;
|
|
10134
|
+
if (M && (ne === 41 || ne === 42) || R && ne === 40) throw this.raise(b.MixingCoalesceWithLogical, this.state.startLoc);
|
|
10135
10135
|
return this.parseExprOp(K, a, u);
|
|
10136
10136
|
}
|
|
10137
10137
|
}
|
|
@@ -10187,7 +10187,7 @@ function kk() {
|
|
|
10187
10187
|
const R = this.parseUpdate(_, S, r);
|
|
10188
10188
|
if (x) {
|
|
10189
10189
|
const { type: M } = this.state;
|
|
10190
|
-
if ((this.hasPlugin("v8intrinsic") ?
|
|
10190
|
+
if ((this.hasPlugin("v8intrinsic") ? le(M) : le(M) && !this.match(54)) && !this.isAmbiguousPrefixOrIdentifier()) return this.raiseOverwrite(b.AwaitNotInAsyncContext, u), this.parseAwait(u);
|
|
10191
10191
|
}
|
|
10192
10192
|
return R;
|
|
10193
10193
|
}
|
|
@@ -10371,13 +10371,13 @@ function kk() {
|
|
|
10371
10371
|
if (x === 137) return this.parseDecimalLiteral(this.state.value);
|
|
10372
10372
|
if (x === 2 || x === 1) return this.parseArrayLike(this.state.type === 2 ? 4 : 3, !1, !0);
|
|
10373
10373
|
if (x === 6 || x === 7) return this.parseObjectLike(this.state.type === 6 ? 9 : 8, !1, !0);
|
|
10374
|
-
if (
|
|
10374
|
+
if (se(x)) {
|
|
10375
10375
|
if (this.isContextual(127) && this.lookaheadInLineCharCode() === 123) return this.parseModuleExpression();
|
|
10376
10376
|
const S = this.state.potentialArrowAt === this.state.start, _ = this.state.containsEsc, I = this.parseIdentifier();
|
|
10377
10377
|
if (!_ && I.name === "async" && !this.canInsertSemicolon()) {
|
|
10378
10378
|
const { type: R } = this.state;
|
|
10379
10379
|
if (R === 68) return this.resetPreviousNodeTrailingComments(I), this.next(), this.parseAsyncFunctionExpression(this.startNodeAtNode(I));
|
|
10380
|
-
if (
|
|
10380
|
+
if (se(R)) return this.lookaheadCharCode() === 61 ? this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(I)) : I;
|
|
10381
10381
|
if (R === 90) return this.resetPreviousNodeTrailingComments(I), this.parseDo(this.startNodeAtNode(I), !0);
|
|
10382
10382
|
}
|
|
10383
10383
|
return S && this.match(19) && !this.canInsertSemicolon() ? (this.next(), this.parseArrowExpression(this.startNodeAtNode(I), [I], !1)) : I;
|
|
@@ -10487,9 +10487,9 @@ function kk() {
|
|
|
10487
10487
|
const x = this.state.maybeInArrowParameters, S = this.state.inFSharpPipelineDirectBody;
|
|
10488
10488
|
this.state.maybeInArrowParameters = !0, this.state.inFSharpPipelineDirectBody = !1;
|
|
10489
10489
|
const _ = this.state.startLoc, I = [], R = new Ni();
|
|
10490
|
-
let M, K,
|
|
10490
|
+
let M, K, ne = !0;
|
|
10491
10491
|
for (; !this.match(11); ) {
|
|
10492
|
-
if (
|
|
10492
|
+
if (ne) ne = !1;
|
|
10493
10493
|
else if (this.expect(12, R.optionalParametersLoc === null ? null : R.optionalParametersLoc), this.match(11)) {
|
|
10494
10494
|
K = this.state.startLoc;
|
|
10495
10495
|
break;
|
|
@@ -10545,8 +10545,8 @@ function kk() {
|
|
|
10545
10545
|
const R = this.match(24), M = R ? -1 : -2, K = x + M;
|
|
10546
10546
|
I.value = { raw: this.input.slice(_, K).replace(/\r\n?/g, `
|
|
10547
10547
|
`), cooked: S === null ? null : S.slice(1, M) }, I.tail = R, this.next();
|
|
10548
|
-
const
|
|
10549
|
-
return this.resetEndLocation(
|
|
10548
|
+
const ne = this.finishNode(I, "TemplateElement");
|
|
10549
|
+
return this.resetEndLocation(ne, n(this.state.lastTokEndLoc, M)), ne;
|
|
10550
10550
|
}
|
|
10551
10551
|
parseTemplate(r) {
|
|
10552
10552
|
const a = this.startNode();
|
|
@@ -10959,14 +10959,14 @@ function kk() {
|
|
|
10959
10959
|
const I = u[_], { type: R } = I;
|
|
10960
10960
|
if (typeof R == "number") {
|
|
10961
10961
|
if (R === 139) {
|
|
10962
|
-
const { loc: M, start: K, value:
|
|
10963
|
-
u.splice(_, 1, new Br({ type: Me(27), value: "#", start: K, end: de, startLoc: M.start, endLoc: Pe }), new Br({ type: Me(132), value:
|
|
10962
|
+
const { loc: M, start: K, value: ne, end: ve } = I, de = K + 1, Pe = n(M.start, 1);
|
|
10963
|
+
u.splice(_, 1, new Br({ type: Me(27), value: "#", start: K, end: de, startLoc: M.start, endLoc: Pe }), new Br({ type: Me(132), value: ne, start: de, end: ve, startLoc: Pe, endLoc: M.end })), _++;
|
|
10964
10964
|
continue;
|
|
10965
10965
|
}
|
|
10966
10966
|
if (qe(R)) {
|
|
10967
|
-
const { loc: M, start: K, value:
|
|
10967
|
+
const { loc: M, start: K, value: ne, end: ve } = I, de = K + 1, Pe = n(M.start, 1);
|
|
10968
10968
|
let He, ct, Re, nt, En;
|
|
10969
|
-
He = x.charCodeAt(K - S) === 96 ? new Br({ type: Me(22), value: "`", start: K, end: de, startLoc: M.start, endLoc: Pe }) : new Br({ type: Me(8), value: "}", start: K, end: de, startLoc: M.start, endLoc: Pe }), R === 24 ? (Re = ve - 1, nt = n(M.end, -1), ct =
|
|
10969
|
+
He = x.charCodeAt(K - S) === 96 ? new Br({ type: Me(22), value: "`", start: K, end: de, startLoc: M.start, endLoc: Pe }) : new Br({ type: Me(8), value: "}", start: K, end: de, startLoc: M.start, endLoc: Pe }), R === 24 ? (Re = ve - 1, nt = n(M.end, -1), ct = ne === null ? null : ne.slice(1, -1), En = new Br({ type: Me(22), value: "`", start: Re, end: ve, startLoc: nt, endLoc: M.end })) : (Re = ve - 2, nt = n(M.end, -2), ct = ne === null ? null : ne.slice(1, -2), En = new Br({ type: Me(23), value: "${", start: Re, end: ve, startLoc: nt, endLoc: M.end })), u.splice(_, 1, He, new Br({ type: Me(20), value: ct, start: de, end: Re, startLoc: Pe, endLoc: nt }), En), _ += 2;
|
|
10970
10970
|
continue;
|
|
10971
10971
|
}
|
|
10972
10972
|
I.type = Me(R);
|
|
@@ -11096,8 +11096,8 @@ function kk() {
|
|
|
11096
11096
|
return this.allowsUsing() ? S || this.raise(b.UnexpectedLexicalDeclaration, this.state.startLoc) : this.raise(b.UnexpectedUsingDeclaration, this.state.startLoc), this.parseVarStatement(x, "using");
|
|
11097
11097
|
case 100: {
|
|
11098
11098
|
if (this.state.containsEsc) break;
|
|
11099
|
-
const K = this.nextTokenStart(),
|
|
11100
|
-
if (
|
|
11099
|
+
const K = this.nextTokenStart(), ne = this.codePointAtPos(K);
|
|
11100
|
+
if (ne !== 91 && (!S && this.hasFollowingLineBreak() || !this.chStartsBindingIdentifier(ne, K) && ne !== 123))
|
|
11101
11101
|
break;
|
|
11102
11102
|
}
|
|
11103
11103
|
case 75:
|
|
@@ -11126,7 +11126,7 @@ function kk() {
|
|
|
11126
11126
|
if (this.isAsyncFunction()) return S || this.raise(b.AsyncFunctionInSingleStatementContext, this.state.startLoc), this.next(), this.parseFunctionStatement(x, !0, !S && _);
|
|
11127
11127
|
}
|
|
11128
11128
|
const R = this.state.value, M = this.parseExpression();
|
|
11129
|
-
return
|
|
11129
|
+
return se(u) && M.type === "Identifier" && this.eat(14) ? this.parseLabeledStatement(x, R, M, r) : this.parseExpressionStatement(x, M, a);
|
|
11130
11130
|
}
|
|
11131
11131
|
assertModuleNodeAllowed(r) {
|
|
11132
11132
|
8 & this.optionFlags || this.inModule || this.raise(b.ImportOutsideModule, r);
|
|
@@ -11212,10 +11212,10 @@ function kk() {
|
|
|
11212
11212
|
{
|
|
11213
11213
|
const R = this.isAwaitUsing(), M = R || this.isForUsing(), K = u && this.hasFollowingBindingAtom() || M;
|
|
11214
11214
|
if (this.match(74) || this.match(75) || K) {
|
|
11215
|
-
const
|
|
11215
|
+
const ne = this.startNode();
|
|
11216
11216
|
let ve;
|
|
11217
|
-
R ? (ve = "await using", this.recordAwaitIfAllowed() || this.raise(b.AwaitUsingNotInAsyncContext, this.state.startLoc), this.next()) : ve = this.state.value, this.next(), this.parseVar(
|
|
11218
|
-
const de = this.finishNode(
|
|
11217
|
+
R ? (ve = "await using", this.recordAwaitIfAllowed() || this.raise(b.AwaitUsingNotInAsyncContext, this.state.startLoc), this.next()) : ve = this.state.value, this.next(), this.parseVar(ne, !0, ve);
|
|
11218
|
+
const de = this.finishNode(ne, "VariableDeclaration"), Pe = this.match(58);
|
|
11219
11219
|
return Pe && M && this.raise(b.ForInUsing, de), (Pe || this.isContextual(102)) && de.declarations.length === 1 ? this.parseForIn(r, de, a) : (a !== null && this.unexpected(a), this.parseFor(r, de));
|
|
11220
11220
|
}
|
|
11221
11221
|
}
|
|
@@ -11346,7 +11346,7 @@ function kk() {
|
|
|
11346
11346
|
}), this.prodParam.exit(), this.scope.exit(), x && !u && this.registerFunctionStatementId(r), this.state.maybeInArrowParameters = I, r;
|
|
11347
11347
|
}
|
|
11348
11348
|
parseFunctionId(r) {
|
|
11349
|
-
return r ||
|
|
11349
|
+
return r || se(this.state.type) ? this.parseIdentifier() : null;
|
|
11350
11350
|
}
|
|
11351
11351
|
parseFunctionParams(r, a) {
|
|
11352
11352
|
this.expect(10), this.expressionScope.enter(new Ii(3)), r.params = this.parseBindingList(11, 41, 2 | (a ? 4 : 0)), this.expressionScope.exit();
|
|
@@ -11413,14 +11413,14 @@ function kk() {
|
|
|
11413
11413
|
this.parseClassMemberWithIsStatic(r, a, u, x);
|
|
11414
11414
|
}
|
|
11415
11415
|
parseClassMemberWithIsStatic(r, a, u, x) {
|
|
11416
|
-
const S = a, _ = a, I = a, R = a, M = a, K = S,
|
|
11416
|
+
const S = a, _ = a, I = a, R = a, M = a, K = S, ne = S;
|
|
11417
11417
|
if (a.static = x, this.parsePropertyNamePrefixOperator(a), this.eat(55)) {
|
|
11418
11418
|
K.kind = "method";
|
|
11419
11419
|
const Re = this.match(139);
|
|
11420
11420
|
return this.parseClassElementName(K), this.parsePostMemberNameModifiers(K), Re ? void this.pushClassPrivateMethod(r, _, !0, !1) : (this.isNonstaticConstructor(S) && this.raise(b.ConstructorIsGenerator, S.key), void this.pushClassMethod(r, S, !0, !1, !1, !1));
|
|
11421
11421
|
}
|
|
11422
|
-
const ve = !this.state.containsEsc &&
|
|
11423
|
-
if (this.parsePostMemberNameModifiers(
|
|
11422
|
+
const ve = !this.state.containsEsc && se(this.state.type), de = this.parseClassElementName(a), Pe = ve ? de.name : null, He = this.isPrivateName(de), ct = this.state.startLoc;
|
|
11423
|
+
if (this.parsePostMemberNameModifiers(ne), this.isClassMethod()) {
|
|
11424
11424
|
if (K.kind = "method", He) return void this.pushClassPrivateMethod(r, _, !1, !1);
|
|
11425
11425
|
const Re = this.isNonstaticConstructor(S);
|
|
11426
11426
|
let nt = !1;
|
|
@@ -11440,9 +11440,9 @@ function kk() {
|
|
|
11440
11440
|
else {
|
|
11441
11441
|
this.resetPreviousNodeTrailingComments(de);
|
|
11442
11442
|
const Re = this.eat(55);
|
|
11443
|
-
|
|
11443
|
+
ne.optional && this.unexpected(ct), K.kind = "method";
|
|
11444
11444
|
const nt = this.match(139);
|
|
11445
|
-
this.parseClassElementName(K), this.parsePostMemberNameModifiers(
|
|
11445
|
+
this.parseClassElementName(K), this.parsePostMemberNameModifiers(ne), nt ? this.pushClassPrivateMethod(r, _, Re, !0) : (this.isNonstaticConstructor(S) && this.raise(b.ConstructorIsAsync, S.key), this.pushClassMethod(r, S, Re, !0, !1, !1));
|
|
11446
11446
|
}
|
|
11447
11447
|
}
|
|
11448
11448
|
parseClassElementName(r) {
|
|
@@ -11501,7 +11501,7 @@ function kk() {
|
|
|
11501
11501
|
this.scope.enter(592), this.expressionScope.enter(Hu()), this.prodParam.enter(0), r.value = this.eat(29) ? this.parseMaybeAssignAllowIn() : null, this.expressionScope.exit(), this.prodParam.exit(), this.scope.exit();
|
|
11502
11502
|
}
|
|
11503
11503
|
parseClassId(r, a, u, x = 8331) {
|
|
11504
|
-
if (
|
|
11504
|
+
if (se(this.state.type)) r.id = this.parseIdentifier(), a && this.declareNameFromIdentifier(r.id, x);
|
|
11505
11505
|
else {
|
|
11506
11506
|
if (!u && a) throw this.raise(b.MissingClassName, this.state.startLoc);
|
|
11507
11507
|
r.id = null;
|
|
@@ -11517,12 +11517,12 @@ function kk() {
|
|
|
11517
11517
|
return this.parseExportFrom(r, !0), this.sawUnambiguousESM = !0, this.finishNode(r, "ExportAllDeclaration");
|
|
11518
11518
|
}
|
|
11519
11519
|
const K = this.maybeParseExportNamedSpecifiers(r);
|
|
11520
|
-
let
|
|
11520
|
+
let ne;
|
|
11521
11521
|
if (x && S && !_ && !K && this.unexpected(null, 5), I && R && this.unexpected(null, 98), M || K) {
|
|
11522
|
-
if (
|
|
11522
|
+
if (ne = !1, a) throw this.raise(b.UnsupportedDecoratorExport, r);
|
|
11523
11523
|
this.parseExportFrom(r, M);
|
|
11524
|
-
} else
|
|
11525
|
-
if (M || K ||
|
|
11524
|
+
} else ne = this.maybeParseExportDeclaration(r);
|
|
11525
|
+
if (M || K || ne) {
|
|
11526
11526
|
var ve;
|
|
11527
11527
|
const de = r;
|
|
11528
11528
|
if (this.checkExport(de, !0, !1, !!de.source), ((ve = de.declaration) == null ? void 0 : ve.type) === "ClassDeclaration") this.maybeTakeDecorators(a, de.declaration, de);
|
|
@@ -11589,7 +11589,7 @@ function kk() {
|
|
|
11589
11589
|
}
|
|
11590
11590
|
isExportDefaultSpecifier() {
|
|
11591
11591
|
const { type: r } = this.state;
|
|
11592
|
-
if (
|
|
11592
|
+
if (se(r)) {
|
|
11593
11593
|
if (r === 95 && !this.state.containsEsc || r === 100) return !1;
|
|
11594
11594
|
if ((r === 130 || r === 129) && !this.state.containsEsc) {
|
|
11595
11595
|
const x = this.nextTokenStart(), S = this.input.charCodeAt(x);
|
|
@@ -11597,7 +11597,7 @@ function kk() {
|
|
|
11597
11597
|
}
|
|
11598
11598
|
} else if (!this.match(65)) return !1;
|
|
11599
11599
|
const a = this.nextTokenStart(), u = this.isUnparsedContextual(a, "from");
|
|
11600
|
-
if (this.input.charCodeAt(a) === 44 ||
|
|
11600
|
+
if (this.input.charCodeAt(a) === 44 || se(this.state.type) && u) return !0;
|
|
11601
11601
|
if (this.match(65) && u) {
|
|
11602
11602
|
const x = this.input.charCodeAt(this.nextTokenStartSince(a + 4));
|
|
11603
11603
|
return x === 34 || x === 39;
|
|
@@ -11704,7 +11704,7 @@ function kk() {
|
|
|
11704
11704
|
}
|
|
11705
11705
|
isPrecedingIdImportPhase(r) {
|
|
11706
11706
|
const { type: a } = this.state;
|
|
11707
|
-
return
|
|
11707
|
+
return se(a) ? a !== 98 || this.lookaheadCharCode() === 102 : a !== 12;
|
|
11708
11708
|
}
|
|
11709
11709
|
parseImport(r) {
|
|
11710
11710
|
return this.match(134) ? this.parseImportSourceAndAttributes(r) : this.parseImportSpecifiersAndAfter(r, this.parseMaybeImportPhase(r, !1));
|
|
@@ -11828,7 +11828,7 @@ function kk() {
|
|
|
11828
11828
|
const r = {};
|
|
11829
11829
|
for (const a of Object.keys(P)) r[a] = Me(P[a]);
|
|
11830
11830
|
return r;
|
|
11831
|
-
})(
|
|
11831
|
+
})(Q);
|
|
11832
11832
|
function Sn(P, r) {
|
|
11833
11833
|
let a = e1;
|
|
11834
11834
|
const u = /* @__PURE__ */ new Map();
|
|
@@ -12993,12 +12993,12 @@ function xx(e) {
|
|
|
12993
12993
|
}
|
|
12994
12994
|
function ki(e, { filename: t = "", prefixIdentifiers: s = !1, hoistStatic: n = !1, hmr: i = !1, cacheHandlers: o = !1, nodeTransforms: c = [], directiveTransforms: l = {}, transformHoist: p = null, isBuiltInComponent: d = fc, isCustomElement: g = fc, expressionPlugins: f = [], scopeId: T = null, slotted: m = !0, ssr: y = !1, inSSR: v = !1, ssrCssVars: b = "", bindingMetadata: E = Wv, inline: w = !1, isTS: C = !1, onError: A = fh, onWarn: O = Zy, compatConfig: D }) {
|
|
12995
12995
|
const N = t.replace(/\?.*$/, "").match(/([^/\\]+)\.\w+$/), j = { filename: t, selfName: N && Qr(Ft(N[1])), prefixIdentifiers: s, hoistStatic: n, hmr: i, cacheHandlers: o, nodeTransforms: c, directiveTransforms: l, transformHoist: p, isBuiltInComponent: d, isCustomElement: g, expressionPlugins: f, scopeId: T, slotted: m, ssr: y, inSSR: v, ssrCssVars: b, bindingMetadata: E, inline: w, isTS: C, onError: A, onWarn: O, compatConfig: D, root: e, helpers: /* @__PURE__ */ new Map(), components: /* @__PURE__ */ new Set(), directives: /* @__PURE__ */ new Set(), hoists: [], imports: [], cached: [], constantCache: /* @__PURE__ */ new WeakMap(), temps: 0, identifiers: /* @__PURE__ */ Object.create(null), scopes: { vFor: 0, vSlot: 0, vPre: 0, vOnce: 0 }, parent: null, grandParent: null, currentNode: e, childIndex: 0, inVOnce: !1, helper(W) {
|
|
12996
|
-
const
|
|
12997
|
-
return j.helpers.set(W,
|
|
12996
|
+
const V = j.helpers.get(W) || 0;
|
|
12997
|
+
return j.helpers.set(W, V + 1), W;
|
|
12998
12998
|
}, removeHelper(W) {
|
|
12999
|
-
const
|
|
13000
|
-
if (
|
|
13001
|
-
const F =
|
|
12999
|
+
const V = j.helpers.get(W);
|
|
13000
|
+
if (V) {
|
|
13001
|
+
const F = V - 1;
|
|
13002
13002
|
F ? j.helpers.set(W, F) : j.helpers.delete(W);
|
|
13003
13003
|
}
|
|
13004
13004
|
}, helperString: (W) => `_${Mt[j.helper(W)]}`, replaceNode(W) {
|
|
@@ -13007,7 +13007,7 @@ function ki(e, { filename: t = "", prefixIdentifiers: s = !1, hoistStatic: n = !
|
|
|
13007
13007
|
j.parent.children[j.childIndex] = j.currentNode = W;
|
|
13008
13008
|
}, removeNode(W) {
|
|
13009
13009
|
if (!j.parent) throw new Error("Cannot remove root node.");
|
|
13010
|
-
const
|
|
13010
|
+
const V = j.parent.children, F = W ? V.indexOf(W) : j.currentNode ? j.childIndex : -1;
|
|
13011
13011
|
if (F < 0) throw new Error("node being removed is not a child of current parent");
|
|
13012
13012
|
W && W !== j.currentNode ? j.childIndex > F && (j.childIndex--, j.onNodeRemoved()) : (j.currentNode = null, j.onNodeRemoved()), j.parent.children.splice(F, 1);
|
|
13013
13013
|
}, onNodeRemoved: fc, addIdentifiers(W) {
|
|
@@ -13016,15 +13016,15 @@ function ki(e, { filename: t = "", prefixIdentifiers: s = !1, hoistStatic: n = !
|
|
|
13016
13016
|
De(W) ? X(W) : W.identifiers ? W.identifiers.forEach(X) : W.type === 4 && X(W.content);
|
|
13017
13017
|
}, hoist(W) {
|
|
13018
13018
|
De(W) && (W = ue(W)), j.hoists.push(W);
|
|
13019
|
-
const
|
|
13020
|
-
return
|
|
13021
|
-
}, cache(W,
|
|
13022
|
-
const q = Gy(j.cached.length, W,
|
|
13019
|
+
const V = ue(`_hoisted_${j.hoists.length}`, !1, W.loc, 2);
|
|
13020
|
+
return V.hoisted = W, V;
|
|
13021
|
+
}, cache(W, V = !1, F = !1) {
|
|
13022
|
+
const q = Gy(j.cached.length, W, V, F);
|
|
13023
13023
|
return j.cached.push(q), q;
|
|
13024
13024
|
} };
|
|
13025
13025
|
function U(W) {
|
|
13026
|
-
const { identifiers:
|
|
13027
|
-
|
|
13026
|
+
const { identifiers: V } = j;
|
|
13027
|
+
V[W] === void 0 && (V[W] = 0), V[W]++;
|
|
13028
13028
|
}
|
|
13029
13029
|
function X(W) {
|
|
13030
13030
|
j.identifiers[W]--;
|
|
@@ -13533,8 +13533,8 @@ function qk() {
|
|
|
13533
13533
|
}
|
|
13534
13534
|
return c.prototype._parseMappings = function(f, T) {
|
|
13535
13535
|
var m, y, v, b, E = 1, w = 0, C = 0, A = 0, O = 0, D = 0, N = f.length, j = 0, U = {}, X = [], W = [];
|
|
13536
|
-
let
|
|
13537
|
-
for (; j < N; ) if (f.charAt(j) === ";") E++, j++, w = 0, d(W,
|
|
13536
|
+
let V = 0;
|
|
13537
|
+
for (; j < N; ) if (f.charAt(j) === ";") E++, j++, w = 0, d(W, V), V = W.length;
|
|
13538
13538
|
else if (f.charAt(j) === ",") j++;
|
|
13539
13539
|
else {
|
|
13540
13540
|
for ((m = new l()).generatedLine = E, v = j; v < N && !this._charIsMappingSeparator(f, v); v++) ;
|
|
@@ -13547,7 +13547,7 @@ function qk() {
|
|
|
13547
13547
|
X[q] === null && (X[q] = []), X[q].push(m);
|
|
13548
13548
|
}
|
|
13549
13549
|
}
|
|
13550
|
-
d(W,
|
|
13550
|
+
d(W, V), this.__generatedMappings = W;
|
|
13551
13551
|
for (var F = 0; F < X.length; F++) X[F] != null && i(X[F], e.compareByOriginalPositionsNoSource);
|
|
13552
13552
|
this.__originalMappings = [].concat(...X);
|
|
13553
13553
|
}, c.prototype._findMapping = function(f, T, m, y, v, b) {
|
|
@@ -13776,24 +13776,24 @@ function wh(e, t = {}) {
|
|
|
13776
13776
|
n === "module" ? (function(C, A, O, D) {
|
|
13777
13777
|
const { push: N, newline: j, optimizeImports: U, runtimeModuleName: X, ssrRuntimeModuleName: W } = A;
|
|
13778
13778
|
if (C.helpers.size) {
|
|
13779
|
-
const
|
|
13780
|
-
U ? (N(`import { ${
|
|
13779
|
+
const V = Array.from(C.helpers);
|
|
13780
|
+
U ? (N(`import { ${V.map((F) => Mt[F]).join(", ")} } from ${JSON.stringify(X)}
|
|
13781
13781
|
`, -1), N(`
|
|
13782
13782
|
// Binding optimization for webpack code-split
|
|
13783
|
-
const ${
|
|
13784
|
-
`, -1)) : N(`import { ${
|
|
13783
|
+
const ${V.map((F) => `_${Mt[F]} = ${Mt[F]}`).join(", ")}
|
|
13784
|
+
`, -1)) : N(`import { ${V.map((F) => `${Mt[F]} as _${Mt[F]}`).join(", ")} } from ${JSON.stringify(X)}
|
|
13785
13785
|
`, -1);
|
|
13786
13786
|
}
|
|
13787
|
-
C.ssrHelpers && C.ssrHelpers.length && N(`import { ${C.ssrHelpers.map((
|
|
13788
|
-
`, -1), C.imports.length && ((function(
|
|
13789
|
-
|
|
13787
|
+
C.ssrHelpers && C.ssrHelpers.length && N(`import { ${C.ssrHelpers.map((V) => `${Mt[V]} as _${Mt[V]}`).join(", ")} } from "${W}"
|
|
13788
|
+
`, -1), C.imports.length && ((function(V, F) {
|
|
13789
|
+
V.length && V.forEach((q) => {
|
|
13790
13790
|
F.push("import "), Qe(q.exp, F), F.push(` from '${q.path}'`), F.newline();
|
|
13791
13791
|
});
|
|
13792
13792
|
})(C.imports, A), j()), dd(C.hoists, A), j(), D || N("export ");
|
|
13793
13793
|
})(e, v, 0, y) : (function(C, A) {
|
|
13794
|
-
const { ssr: O, prefixIdentifiers: D, push: N, newline: j, runtimeModuleName: U, runtimeGlobalName: X, ssrRuntimeModuleName: W } = A,
|
|
13795
|
-
F.length > 0 && (D ? N(`const { ${F.map(zi).join(", ")} } = ${
|
|
13796
|
-
`, -1) : (N(`const _Vue = ${
|
|
13794
|
+
const { ssr: O, prefixIdentifiers: D, push: N, newline: j, runtimeModuleName: U, runtimeGlobalName: X, ssrRuntimeModuleName: W } = A, V = O ? `require(${JSON.stringify(U)})` : X, F = Array.from(C.helpers);
|
|
13795
|
+
F.length > 0 && (D ? N(`const { ${F.map(zi).join(", ")} } = ${V}
|
|
13796
|
+
`, -1) : (N(`const _Vue = ${V}
|
|
13797
13797
|
`, -1), C.hoists.length && N(`const { ${[xi, pa, gn, ha, ua].filter((q) => F.includes(q)).map(zi).join(", ")} } = _Vue
|
|
13798
13798
|
`, -1))), C.ssrHelpers && C.ssrHelpers.length && N(`const { ${C.ssrHelpers.map(zi).join(", ")} } = require("${W}")
|
|
13799
13799
|
`, -1), dd(C.hoists, A), j(), N("return ");
|
|
@@ -14276,16 +14276,16 @@ function Vn(e, t, s = Kk) {
|
|
|
14276
14276
|
let j;
|
|
14277
14277
|
vt(O) ? j = O ? O.content : "default" : l = !0;
|
|
14278
14278
|
const U = rt(E, "for"), X = s(D, U, C, A);
|
|
14279
|
-
let W,
|
|
14279
|
+
let W, V;
|
|
14280
14280
|
if (W = rt(E, "if")) l = !0, c.push(or(W.exp, Wi(O, X, m++), bd));
|
|
14281
|
-
else if (
|
|
14281
|
+
else if (V = rt(E, /^else(?:-if)?$/, !0)) {
|
|
14282
14282
|
let F, q = b;
|
|
14283
14283
|
for (; q-- && (F = n[q], F.type === 3 || !hp(F)); ) ;
|
|
14284
14284
|
if (F && ln(F) && rt(F, /^(?:else-)?if$/)) {
|
|
14285
14285
|
let G = c[c.length - 1];
|
|
14286
14286
|
for (; G.alternate.type === 19; ) G = G.alternate;
|
|
14287
|
-
G.alternate =
|
|
14288
|
-
} else t.onError($e(30,
|
|
14287
|
+
G.alternate = V.exp ? or(V.exp, Wi(O, X, m++), bd) : Wi(O, X, m++);
|
|
14288
|
+
} else t.onError($e(30, V.loc));
|
|
14289
14289
|
} else if (U) {
|
|
14290
14290
|
l = !0;
|
|
14291
14291
|
const F = U.forParseResult;
|
|
@@ -14400,51 +14400,51 @@ function un(e, t, s = e.props, n, i, o = !1) {
|
|
|
14400
14400
|
t.scopes.vFor > 0 && d.push(Ve(ue("ref_for", !0), ue("true")));
|
|
14401
14401
|
}, j = ({ key: X, value: W }) => {
|
|
14402
14402
|
if (vt(X)) {
|
|
14403
|
-
const
|
|
14404
|
-
if (!F || n && !i ||
|
|
14405
|
-
|
|
14403
|
+
const V = X.content, F = Oy(V);
|
|
14404
|
+
if (!F || n && !i || V.toLowerCase() === "onclick" || V === "onUpdate:modelValue" || q1(V) || (w = !0), F && q1(V) && (A = !0), F && W.type === 14 && (W = W.arguments[0]), W.type === 20 || (W.type === 4 || W.type === 8) && Bt(W, t) > 0) return;
|
|
14405
|
+
V === "ref" ? v = !0 : V === "class" ? b = !0 : V === "style" ? E = !0 : V === "key" || O.includes(V) || O.push(V), !n || V !== "class" && V !== "style" || O.includes(V) || O.push(V);
|
|
14406
14406
|
} else C = !0;
|
|
14407
14407
|
};
|
|
14408
14408
|
for (let X = 0; X < s.length; X++) {
|
|
14409
14409
|
const W = s[X];
|
|
14410
14410
|
if (W.type === 6) {
|
|
14411
|
-
const { loc:
|
|
14411
|
+
const { loc: V, name: F, nameLoc: q, value: G } = W;
|
|
14412
14412
|
let ee = !0;
|
|
14413
14413
|
if (F === "ref" && (v = !0, N(), G && t.inline)) {
|
|
14414
|
-
const
|
|
14415
|
-
|
|
14414
|
+
const ce = t.bindingMetadata[G.content];
|
|
14415
|
+
ce !== "setup-let" && ce !== "setup-ref" && ce !== "setup-maybe-ref" || (ee = !1, d.push(Ve(ue("ref_key", !0), ue(G.content, !0, G.loc))));
|
|
14416
14416
|
}
|
|
14417
14417
|
if (F === "is" && (dp(c) || G && G.content.startsWith("vue:"))) continue;
|
|
14418
|
-
d.push(Ve(ue(F, !0, q), ue(G ? G.content : "", ee, G ? G.loc :
|
|
14418
|
+
d.push(Ve(ue(F, !0, q), ue(G ? G.content : "", ee, G ? G.loc : V)));
|
|
14419
14419
|
} else {
|
|
14420
|
-
const { name:
|
|
14421
|
-
if (
|
|
14420
|
+
const { name: V, arg: F, exp: q, loc: G, modifiers: ee } = W, ce = V === "bind", be = V === "on";
|
|
14421
|
+
if (V === "slot") {
|
|
14422
14422
|
n || t.onError($e(40, G));
|
|
14423
14423
|
continue;
|
|
14424
14424
|
}
|
|
14425
|
-
if (
|
|
14426
|
-
if ((
|
|
14427
|
-
C = !0, q ?
|
|
14425
|
+
if (V === "once" || V === "memo" || V === "is" || ce && br(F, "is") && dp(c) || be && o) continue;
|
|
14426
|
+
if ((ce && br(F, "key") || be && T && br(F, "vue:before-update")) && (m = !0), ce && br(F, "ref") && N(), !F && (ce || be)) {
|
|
14427
|
+
C = !0, q ? ce ? (N(), D(), g.push(q)) : D({ type: 14, loc: G, callee: t.helper(xa), arguments: n ? [q] : [q, "true"] }) : t.onError($e(ce ? 34 : 35, G));
|
|
14428
14428
|
continue;
|
|
14429
14429
|
}
|
|
14430
|
-
|
|
14431
|
-
const
|
|
14432
|
-
if (
|
|
14433
|
-
const { props:
|
|
14434
|
-
!o &&
|
|
14435
|
-
} else ih(
|
|
14430
|
+
ce && ee.some((ae) => ae.content === "prop") && (y |= 32);
|
|
14431
|
+
const Y = t.directiveTransforms[V];
|
|
14432
|
+
if (Y) {
|
|
14433
|
+
const { props: ae, needRuntime: J } = Y(W, e, t);
|
|
14434
|
+
!o && ae.forEach(j), be && F && !vt(F) ? D(jt(ae, l)) : d.push(...ae), J && (f.push(W), ss(J) && Ex.set(W, J));
|
|
14435
|
+
} else ih(V) || (f.push(W), T && (m = !0));
|
|
14436
14436
|
}
|
|
14437
14437
|
}
|
|
14438
14438
|
let U;
|
|
14439
14439
|
if (g.length ? (D(), U = g.length > 1 ? we(t.helper(Ps), g, l) : g[0]) : d.length && (U = jt(Td(d), l)), C ? y |= 16 : (b && !n && (y |= 2), E && !n && (y |= 4), O.length && (y |= 8), w && (y |= 32)), m || y !== 0 && y !== 32 || !(v || A || f.length > 0) || (y |= 512), !t.inSSR && U) switch (U.type) {
|
|
14440
14440
|
case 15:
|
|
14441
|
-
let X = -1, W = -1,
|
|
14441
|
+
let X = -1, W = -1, V = !1;
|
|
14442
14442
|
for (let G = 0; G < U.properties.length; G++) {
|
|
14443
14443
|
const ee = U.properties[G].key;
|
|
14444
|
-
vt(ee) ? ee.content === "class" ? X = G : ee.content === "style" && (W = G) : ee.isHandlerKey || (
|
|
14444
|
+
vt(ee) ? ee.content === "class" ? X = G : ee.content === "style" && (W = G) : ee.isHandlerKey || (V = !0);
|
|
14445
14445
|
}
|
|
14446
14446
|
const F = U.properties[X], q = U.properties[W];
|
|
14447
|
-
|
|
14447
|
+
V ? U = we(t.helper(on), [U]) : (F && !vt(F.value) && (F.value = we(t.helper(ga), [F.value])), q && (E || q.value.type === 4 && q.value.content.trim()[0] === "[" || q.value.type === 17) && (q.value = we(t.helper(ya), [q.value])));
|
|
14448
14448
|
break;
|
|
14449
14449
|
case 14:
|
|
14450
14450
|
break;
|
|
@@ -15167,9 +15167,9 @@ function Ux(e, t = {}) {
|
|
|
15167
15167
|
const E = (w, C = 0) => {
|
|
15168
15168
|
w && !w.src && (w.map = (function(A, O, D, N, j, U) {
|
|
15169
15169
|
const X = new ks.SourceMapGenerator({ file: A.replace(/\\/g, "/"), sourceRoot: N.replace(/\\/g, "/") });
|
|
15170
|
-
return X.setSourceContent(A, O), X._sources.add(A), D.split($x).forEach((W,
|
|
15170
|
+
return X.setSourceContent(A, O), X._sources.add(A), D.split($x).forEach((W, V) => {
|
|
15171
15171
|
if (!CS.test(W)) {
|
|
15172
|
-
const F =
|
|
15172
|
+
const F = V + 1 + j, q = V + 1;
|
|
15173
15173
|
for (let G = 0; G < W.length; G++) /\s/.test(W[G]) || X._mappings.add({ originalLine: F, originalColumn: G + U, generatedLine: q, generatedColumn: G, source: A, name: null });
|
|
15174
15174
|
}
|
|
15175
15175
|
}), X.toJSON();
|
|
@@ -16327,8 +16327,8 @@ function db(e, t, s, n) {
|
|
|
16327
16327
|
}
|
|
16328
16328
|
}
|
|
16329
16329
|
e.hostname.length > gE ? e.hostname = "" : e.hostname = e.hostname.toLowerCase(), C || (e.hostname = jS(e.hostname)), T = e.port ? ":" + e.port : "";
|
|
16330
|
-
var
|
|
16331
|
-
e.host =
|
|
16330
|
+
var V = e.hostname || "";
|
|
16331
|
+
e.host = V + T, e.href += e.host, C && (e.hostname = e.hostname.substr(1, e.hostname.length - 2), l[0] !== "/" && (l = "/" + l));
|
|
16332
16332
|
}
|
|
16333
16333
|
if (!xE[y]) for (d = 0, f = bp.length; d < f; d++) {
|
|
16334
16334
|
var F = bp[d];
|
|
@@ -16342,8 +16342,8 @@ function db(e, t, s, n) {
|
|
|
16342
16342
|
var ee = l.indexOf("?");
|
|
16343
16343
|
if (ee !== -1 ? (e.search = l.substr(ee), e.query = l.substr(ee + 1), s && (e.query = Jd(e.query)), l = l.slice(0, ee)) : s && (e.search = "", e.query = {}), l && (e.pathname = l), Qs[y] && e.hostname && !e.pathname && (e.pathname = "/"), e.pathname || e.search) {
|
|
16344
16344
|
T = e.pathname || "";
|
|
16345
|
-
var
|
|
16346
|
-
e.path = T +
|
|
16345
|
+
var ce = e.search || "";
|
|
16346
|
+
e.path = T + ce;
|
|
16347
16347
|
}
|
|
16348
16348
|
return e.href = cu(e), e;
|
|
16349
16349
|
}
|
|
@@ -16734,11 +16734,11 @@ const Bb = /* @__PURE__ */ new WeakMap(), Ub = Symbol(), $b = /* @__PURE__ */ ne
|
|
|
16734
16734
|
return T && w.push({ type: 7, name: "slot", exp: T, arg: void 0, modifiers: [], loc: tt }), m && w.push(Sr({}, m)), (function(D, N, j) {
|
|
16735
16735
|
const U = Os([D]), X = ki(U, N);
|
|
16736
16736
|
X.ssr = !1, X.scopes = gs({}, j.scopes), X.identifiers = gs({}, j.identifiers), X.imports = j.imports, hn(U, X), ["helpers", "components", "directives"].forEach((W) => {
|
|
16737
|
-
X[W].forEach((
|
|
16737
|
+
X[W].forEach((V, F) => {
|
|
16738
16738
|
if (W === "helpers") {
|
|
16739
16739
|
const q = j.helpers.get(F);
|
|
16740
|
-
q === void 0 ? j.helpers.set(F,
|
|
16741
|
-
} else j[W].add(
|
|
16740
|
+
q === void 0 ? j.helpers.set(F, V) : j.helpers.set(F, V + q);
|
|
16741
|
+
} else j[W].add(V);
|
|
16742
16742
|
});
|
|
16743
16743
|
});
|
|
16744
16744
|
})({ type: 1, ns: 0, tag: "template", tagType: 3, props: w, children: y, loc: tt, codegenNode: void 0 }, E, v), Ky(y);
|
|
@@ -17027,8 +17027,8 @@ function mf({ filename: e, id: t, scoped: s, slotted: n, inMap: i, source: o, as
|
|
|
17027
17027
|
i && !c && (N && (N = (function(U, X) {
|
|
17028
17028
|
if (!U) return X;
|
|
17029
17029
|
if (!X) return U;
|
|
17030
|
-
const W = new ks.SourceMapConsumer(U),
|
|
17031
|
-
|
|
17030
|
+
const W = new ks.SourceMapConsumer(U), V = new ks.SourceMapConsumer(X), F = new ks.SourceMapGenerator();
|
|
17031
|
+
V.eachMapping((G) => {
|
|
17032
17032
|
if (G.originalLine == null) return;
|
|
17033
17033
|
const ee = W.originalPositionFor({ line: G.originalLine, column: G.originalColumn });
|
|
17034
17034
|
ee.source != null && F.addMapping({ generated: { line: G.generatedLine, column: G.generatedColumn }, original: { line: ee.line, column: G.originalColumn }, source: ee.source, name: ee.name });
|
|
@@ -17040,7 +17040,7 @@ function mf({ filename: e, id: t, scoped: s, slotted: n, inMap: i, source: o, as
|
|
|
17040
17040
|
ee != null && F.setSourceContent(G, ee);
|
|
17041
17041
|
}), q._sourceRoot = U.sourceRoot, q._file = U.file, q.toJSON();
|
|
17042
17042
|
})(i, N)), m.length && (function(U, X, W) {
|
|
17043
|
-
const
|
|
17043
|
+
const V = W.sourcesContent[0], F = V.indexOf(X), q = V.slice(0, F).split(/\r?\n/).length - 1;
|
|
17044
17044
|
U.forEach((G) => {
|
|
17045
17045
|
G.loc && (G.loc.start.line += q, G.loc.start.offset += F, G.loc.end !== G.loc.start && (G.loc.end.line += q, G.loc.end.offset += F));
|
|
17046
17046
|
});
|
|
@@ -17076,29 +17076,29 @@ function Wb() {
|
|
|
17076
17076
|
yf = 1;
|
|
17077
17077
|
const e = 39, t = 34, s = 92, n = 47, i = 10, o = 32, c = 12, l = 9, p = 13, d = 91, g = 93, f = 40, T = 41, m = 123, y = 125, v = 59, b = 42, E = 58, w = 64, C = /[\t\n\f\r "#'()/;[\\\]{}]/g, A = /[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g, O = /.[\r\n"'(/\\]/, D = /[\da-f]/i;
|
|
17078
17078
|
return Mc = function(N, j = {}) {
|
|
17079
|
-
let U, X, W,
|
|
17080
|
-
function
|
|
17079
|
+
let U, X, W, V, F, q, G, ee, ce, be, Y = N.css.valueOf(), ae = j.ignoreErrors, J = Y.length, $ = 0, ie = [], Q = [];
|
|
17080
|
+
function se(z) {
|
|
17081
17081
|
throw N.error("Unclosed " + z, $);
|
|
17082
17082
|
}
|
|
17083
17083
|
return { back: function(z) {
|
|
17084
|
-
|
|
17084
|
+
Q.push(z);
|
|
17085
17085
|
}, endOfFile: function() {
|
|
17086
|
-
return
|
|
17086
|
+
return Q.length === 0 && $ >= J;
|
|
17087
17087
|
}, nextToken: function(z) {
|
|
17088
|
-
if (
|
|
17088
|
+
if (Q.length) return Q.pop();
|
|
17089
17089
|
if ($ >= J) return;
|
|
17090
17090
|
let oe = !!z && z.ignoreUnclosed;
|
|
17091
|
-
switch (U =
|
|
17091
|
+
switch (U = Y.charCodeAt($), U) {
|
|
17092
17092
|
case i:
|
|
17093
17093
|
case o:
|
|
17094
17094
|
case l:
|
|
17095
17095
|
case p:
|
|
17096
17096
|
case c:
|
|
17097
|
-
|
|
17097
|
+
V = $;
|
|
17098
17098
|
do
|
|
17099
|
-
|
|
17099
|
+
V += 1, U = Y.charCodeAt(V);
|
|
17100
17100
|
while (U === o || U === i || U === l || U === p || U === c);
|
|
17101
|
-
q = ["space",
|
|
17101
|
+
q = ["space", Y.slice($, V)], $ = V - 1;
|
|
17102
17102
|
break;
|
|
17103
17103
|
case d:
|
|
17104
17104
|
case g:
|
|
@@ -17107,54 +17107,54 @@ function Wb() {
|
|
|
17107
17107
|
case E:
|
|
17108
17108
|
case v:
|
|
17109
17109
|
case T: {
|
|
17110
|
-
let
|
|
17111
|
-
q = [
|
|
17110
|
+
let le = String.fromCharCode(U);
|
|
17111
|
+
q = [le, le, $];
|
|
17112
17112
|
break;
|
|
17113
17113
|
}
|
|
17114
17114
|
case f:
|
|
17115
|
-
if (
|
|
17116
|
-
|
|
17115
|
+
if (be = ie.length ? ie.pop()[1] : "", ce = Y.charCodeAt($ + 1), be === "url" && ce !== e && ce !== t && ce !== o && ce !== i && ce !== l && ce !== c && ce !== p) {
|
|
17116
|
+
V = $;
|
|
17117
17117
|
do {
|
|
17118
|
-
if (G = !1,
|
|
17119
|
-
if (
|
|
17120
|
-
|
|
17118
|
+
if (G = !1, V = Y.indexOf(")", V + 1), V === -1) {
|
|
17119
|
+
if (ae || oe) {
|
|
17120
|
+
V = $;
|
|
17121
17121
|
break;
|
|
17122
17122
|
}
|
|
17123
|
-
|
|
17123
|
+
se("bracket");
|
|
17124
17124
|
}
|
|
17125
|
-
for (ee =
|
|
17125
|
+
for (ee = V; Y.charCodeAt(ee - 1) === s; ) ee -= 1, G = !G;
|
|
17126
17126
|
} while (G);
|
|
17127
|
-
q = ["brackets",
|
|
17128
|
-
} else
|
|
17127
|
+
q = ["brackets", Y.slice($, V + 1), $, V], $ = V;
|
|
17128
|
+
} else V = Y.indexOf(")", $ + 1), X = Y.slice($, V + 1), V === -1 || O.test(X) ? q = ["(", "(", $] : (q = ["brackets", X, $, V], $ = V);
|
|
17129
17129
|
break;
|
|
17130
17130
|
case e:
|
|
17131
17131
|
case t:
|
|
17132
|
-
F = U === e ? "'" : '"',
|
|
17132
|
+
F = U === e ? "'" : '"', V = $;
|
|
17133
17133
|
do {
|
|
17134
|
-
if (G = !1,
|
|
17135
|
-
if (
|
|
17136
|
-
|
|
17134
|
+
if (G = !1, V = Y.indexOf(F, V + 1), V === -1) {
|
|
17135
|
+
if (ae || oe) {
|
|
17136
|
+
V = $ + 1;
|
|
17137
17137
|
break;
|
|
17138
17138
|
}
|
|
17139
|
-
|
|
17139
|
+
se("string");
|
|
17140
17140
|
}
|
|
17141
|
-
for (ee =
|
|
17141
|
+
for (ee = V; Y.charCodeAt(ee - 1) === s; ) ee -= 1, G = !G;
|
|
17142
17142
|
} while (G);
|
|
17143
|
-
q = ["string",
|
|
17143
|
+
q = ["string", Y.slice($, V + 1), $, V], $ = V;
|
|
17144
17144
|
break;
|
|
17145
17145
|
case w:
|
|
17146
|
-
C.lastIndex = $ + 1, C.test(
|
|
17146
|
+
C.lastIndex = $ + 1, C.test(Y), V = C.lastIndex === 0 ? Y.length - 1 : C.lastIndex - 2, q = ["at-word", Y.slice($, V + 1), $, V], $ = V;
|
|
17147
17147
|
break;
|
|
17148
17148
|
case s:
|
|
17149
|
-
for (
|
|
17150
|
-
if (U =
|
|
17151
|
-
for (; D.test(
|
|
17152
|
-
|
|
17149
|
+
for (V = $, W = !0; Y.charCodeAt(V + 1) === s; ) V += 1, W = !W;
|
|
17150
|
+
if (U = Y.charCodeAt(V + 1), W && U !== n && U !== o && U !== i && U !== l && U !== p && U !== c && (V += 1, D.test(Y.charAt(V)))) {
|
|
17151
|
+
for (; D.test(Y.charAt(V + 1)); ) V += 1;
|
|
17152
|
+
Y.charCodeAt(V + 1) === o && (V += 1);
|
|
17153
17153
|
}
|
|
17154
|
-
q = ["word",
|
|
17154
|
+
q = ["word", Y.slice($, V + 1), $, V], $ = V;
|
|
17155
17155
|
break;
|
|
17156
17156
|
default:
|
|
17157
|
-
U === n &&
|
|
17157
|
+
U === n && Y.charCodeAt($ + 1) === b ? (V = Y.indexOf("*/", $ + 2) + 1, V === 0 && (ae || oe ? V = Y.length : se("comment")), q = ["comment", Y.slice($, V + 1), $, V], $ = V) : (A.lastIndex = $ + 1, A.test(Y), V = A.lastIndex === 0 ? Y.length - 1 : A.lastIndex - 2, q = ["word", Y.slice($, V + 1), $, V], ie.push(q), $ = V);
|
|
17158
17158
|
}
|
|
17159
17159
|
return $++, q;
|
|
17160
17160
|
}, position: function() {
|
|
@@ -17933,13 +17933,13 @@ function $a() {
|
|
|
17933
17933
|
let X = E, W = w;
|
|
17934
17934
|
if (typeof X.offset == "number") {
|
|
17935
17935
|
N = X.offset;
|
|
17936
|
-
let
|
|
17937
|
-
E =
|
|
17936
|
+
let V = this.fromOffset(N);
|
|
17937
|
+
E = V.line, w = V.col;
|
|
17938
17938
|
} else E = X.line, w = X.column, N = this.fromLineAndColumn(E, w);
|
|
17939
17939
|
if (typeof W.offset == "number") {
|
|
17940
17940
|
D = W.offset;
|
|
17941
|
-
let
|
|
17942
|
-
O =
|
|
17941
|
+
let V = this.fromOffset(D);
|
|
17942
|
+
O = V.line, A = V.col;
|
|
17943
17943
|
} else O = W.line, A = W.column, D = this.fromLineAndColumn(W.line, W.column);
|
|
17944
17944
|
} else if (w) N = this.fromLineAndColumn(E, w);
|
|
17945
17945
|
else {
|
|
@@ -19606,8 +19606,8 @@ function u0() {
|
|
|
19606
19606
|
return N === void 0 && (N = {}), j = w.call(this, (function(U) {
|
|
19607
19607
|
if (U.quoteMark !== void 0 || U.value === void 0) return U;
|
|
19608
19608
|
m();
|
|
19609
|
-
var X = y(U.value), W = X.quoteMark,
|
|
19610
|
-
return U.raws || (U.raws = {}), U.raws.value === void 0 && (U.raws.value = U.value), U.value =
|
|
19609
|
+
var X = y(U.value), W = X.quoteMark, V = X.unescaped;
|
|
19610
|
+
return U.raws || (U.raws = {}), U.raws.value === void 0 && (U.raws.value = U.value), U.value = V, U.quoteMark = W, U;
|
|
19611
19611
|
})(N)) || this, j.type = o.ATTRIBUTE, j.raws = j.raws || {}, Object.defineProperty(j.raws, "unquoted", { get: d(function() {
|
|
19612
19612
|
return j.value;
|
|
19613
19613
|
}, "attr.raws.unquoted is deprecated. Call attr.value instead."), set: d(function() {
|
|
@@ -19629,12 +19629,12 @@ function u0() {
|
|
|
19629
19629
|
if (U + X === 0) {
|
|
19630
19630
|
var W = (0, s.default)(j, { isIdentifier: !0 });
|
|
19631
19631
|
if (W === j) return O.NO_QUOTE;
|
|
19632
|
-
var
|
|
19633
|
-
if (
|
|
19632
|
+
var V = this.preferredQuoteMark(N);
|
|
19633
|
+
if (V === O.NO_QUOTE) {
|
|
19634
19634
|
var F = this.quoteMark || N.quoteMark || O.DOUBLE_QUOTE, q = b[F];
|
|
19635
19635
|
if ((0, s.default)(j, q).length < W.length) return F;
|
|
19636
19636
|
}
|
|
19637
|
-
return
|
|
19637
|
+
return V;
|
|
19638
19638
|
}
|
|
19639
19639
|
return X === U ? this.preferredQuoteMark(N) : X < U ? O.DOUBLE_QUOTE : O.SINGLE_QUOTE;
|
|
19640
19640
|
}, D.preferredQuoteMark = function(N) {
|
|
@@ -19665,10 +19665,10 @@ function u0() {
|
|
|
19665
19665
|
var W = this.stringifyProperty("operator");
|
|
19666
19666
|
if (N === "operator") return W ? j : -1;
|
|
19667
19667
|
j += W.length, j += X.after.length;
|
|
19668
|
-
var
|
|
19669
|
-
j +=
|
|
19668
|
+
var V = this._spacesFor("value");
|
|
19669
|
+
j += V.before.length;
|
|
19670
19670
|
var F = this.stringifyProperty("value");
|
|
19671
|
-
return N === "value" ? F ? j : -1 : (j += F.length, j +=
|
|
19671
|
+
return N === "value" ? F ? j : -1 : (j += F.length, j += V.after.length, j += this._spacesFor("insensitive").before.length, N === "insensitive" && this.insensitive ? j : -1);
|
|
19672
19672
|
}, D.toString = function() {
|
|
19673
19673
|
var N = this, j = [this.rawSpaceBefore, "["];
|
|
19674
19674
|
return j.push(this._stringFor("qualifiedAttribute", "attribute")), this.operator && (this.value || this.value === "") && (j.push(this._stringFor("operator")), j.push(this._stringFor("value")), j.push(this._stringFor("insensitiveFlag", "insensitive", function(U, X) {
|
|
@@ -19784,20 +19784,20 @@ function Aw() {
|
|
|
19784
19784
|
}, e.exports = t.default), Cl.exports;
|
|
19785
19785
|
var e, t;
|
|
19786
19786
|
}
|
|
19787
|
-
var vm, km, Sm, Em, wm = {},
|
|
19787
|
+
var vm, km, Sm, Em, wm = {}, xe = {};
|
|
19788
19788
|
function g0() {
|
|
19789
|
-
return vm ?
|
|
19789
|
+
return vm ? xe : (vm = 1, xe.__esModule = !0, xe.word = xe.tilde = xe.tab = xe.str = xe.space = xe.slash = xe.singleQuote = xe.semicolon = xe.plus = xe.pipe = xe.openSquare = xe.openParenthesis = xe.newline = xe.greaterThan = xe.feed = xe.equals = xe.doubleQuote = xe.dollar = xe.cr = xe.comment = xe.comma = xe.combinator = xe.colon = xe.closeSquare = xe.closeParenthesis = xe.caret = xe.bang = xe.backslash = xe.at = xe.asterisk = xe.ampersand = void 0, xe.ampersand = 38, xe.asterisk = 42, xe.at = 64, xe.comma = 44, xe.colon = 58, xe.semicolon = 59, xe.openParenthesis = 40, xe.closeParenthesis = 41, xe.openSquare = 91, xe.closeSquare = 93, xe.dollar = 36, xe.tilde = 126, xe.caret = 94, xe.plus = 43, xe.equals = 61, xe.pipe = 124, xe.greaterThan = 62, xe.space = 32, xe.singleQuote = 39, xe.doubleQuote = 34, xe.slash = 47, xe.bang = 33, xe.backslash = 92, xe.cr = 13, xe.feed = 12, xe.newline = 10, xe.tab = 9, xe.str = 39, xe.comment = -1, xe.word = -2, xe.combinator = -3, xe);
|
|
19790
19790
|
}
|
|
19791
19791
|
function Cw() {
|
|
19792
19792
|
return km || (km = 1, (function(e) {
|
|
19793
19793
|
e.__esModule = !0, e.FIELDS = void 0, e.default = function(T) {
|
|
19794
|
-
var m, y, v, b, E, w, C, A, O, D, N, j, U = [], X = T.css.valueOf(), W = X.length,
|
|
19795
|
-
function ee(
|
|
19796
|
-
if (!T.safe) throw T.error("Unclosed " +
|
|
19797
|
-
A = (X +=
|
|
19794
|
+
var m, y, v, b, E, w, C, A, O, D, N, j, U = [], X = T.css.valueOf(), W = X.length, V = -1, F = 1, q = 0, G = 0;
|
|
19795
|
+
function ee(ce, be) {
|
|
19796
|
+
if (!T.safe) throw T.error("Unclosed " + ce, F, q - V, q);
|
|
19797
|
+
A = (X += be).length - 1;
|
|
19798
19798
|
}
|
|
19799
19799
|
for (; q < W; ) {
|
|
19800
|
-
switch ((m = X.charCodeAt(q)) === n.newline && (
|
|
19800
|
+
switch ((m = X.charCodeAt(q)) === n.newline && (V = q, F += 1), m) {
|
|
19801
19801
|
case n.space:
|
|
19802
19802
|
case n.tab:
|
|
19803
19803
|
case n.newline:
|
|
@@ -19805,9 +19805,9 @@ function Cw() {
|
|
|
19805
19805
|
case n.feed:
|
|
19806
19806
|
A = q;
|
|
19807
19807
|
do
|
|
19808
|
-
A += 1, (m = X.charCodeAt(A)) === n.newline && (
|
|
19808
|
+
A += 1, (m = X.charCodeAt(A)) === n.newline && (V = A, F += 1);
|
|
19809
19809
|
while (m === n.space || m === n.newline || m === n.tab || m === n.cr || m === n.feed);
|
|
19810
|
-
j = n.space, v = F, y = A -
|
|
19810
|
+
j = n.space, v = F, y = A - V - 1, G = A;
|
|
19811
19811
|
break;
|
|
19812
19812
|
case n.plus:
|
|
19813
19813
|
case n.greaterThan:
|
|
@@ -19817,7 +19817,7 @@ function Cw() {
|
|
|
19817
19817
|
do
|
|
19818
19818
|
A += 1, m = X.charCodeAt(A);
|
|
19819
19819
|
while (m === n.plus || m === n.greaterThan || m === n.tilde || m === n.pipe);
|
|
19820
|
-
j = n.combinator, v = F, y = q -
|
|
19820
|
+
j = n.combinator, v = F, y = q - V, G = A;
|
|
19821
19821
|
break;
|
|
19822
19822
|
case n.asterisk:
|
|
19823
19823
|
case n.ampersand:
|
|
@@ -19832,7 +19832,7 @@ function Cw() {
|
|
|
19832
19832
|
case n.semicolon:
|
|
19833
19833
|
case n.openParenthesis:
|
|
19834
19834
|
case n.closeParenthesis:
|
|
19835
|
-
j = m, v = F, y = q -
|
|
19835
|
+
j = m, v = F, y = q - V, G = (A = q) + 1;
|
|
19836
19836
|
break;
|
|
19837
19837
|
case n.singleQuote:
|
|
19838
19838
|
case n.doubleQuote:
|
|
@@ -19840,13 +19840,13 @@ function Cw() {
|
|
|
19840
19840
|
do
|
|
19841
19841
|
for (b = !1, (A = X.indexOf(N, A + 1)) === -1 && ee("quote", N), E = A; X.charCodeAt(E - 1) === n.backslash; ) E -= 1, b = !b;
|
|
19842
19842
|
while (b);
|
|
19843
|
-
j = n.str, v = F, y = q -
|
|
19843
|
+
j = n.str, v = F, y = q - V, G = A + 1;
|
|
19844
19844
|
break;
|
|
19845
19845
|
default:
|
|
19846
19846
|
m === n.slash && X.charCodeAt(q + 1) === n.asterisk ? ((A = X.indexOf("*/", q + 2) + 1) === 0 && ee("comment", "*/"), (w = (C = X.slice(q, A + 1).split(`
|
|
19847
|
-
`)).length - 1) > 0 ? (O = F + w, D = A - C[w].length) : (O = F, D =
|
|
19847
|
+
`)).length - 1) > 0 ? (O = F + w, D = A - C[w].length) : (O = F, D = V), j = n.comment, F = O, v = O, y = A - D) : m === n.slash ? (j = m, v = F, y = q - V, G = (A = q) + 1) : (A = g(X, q), j = n.word, v = F, y = A - V), G = A + 1;
|
|
19848
19848
|
}
|
|
19849
|
-
U.push([j, F, q -
|
|
19849
|
+
U.push([j, F, q - V, v, y, q, G]), D && (V = D, D = null), q = G;
|
|
19850
19850
|
}
|
|
19851
19851
|
return U;
|
|
19852
19852
|
};
|
|
@@ -19896,205 +19896,205 @@ function Iw() {
|
|
|
19896
19896
|
return Sm || (Sm = 1, (function(e, t) {
|
|
19897
19897
|
t.__esModule = !0, t.default = void 0;
|
|
19898
19898
|
var s, n, i = N(n0()), o = N(i0()), c = N(o0()), l = N(a0()), p = N(c0()), d = N(l0()), g = N(p0()), f = N(h0()), T = D(u0()), m = N(d0()), y = N(f0()), v = N(m0()), b = N(Aw()), E = D(Cw()), w = D(g0()), C = D(Ct()), A = qa();
|
|
19899
|
-
function O(
|
|
19899
|
+
function O(Y) {
|
|
19900
19900
|
if (typeof WeakMap != "function") return null;
|
|
19901
|
-
var
|
|
19901
|
+
var ae = /* @__PURE__ */ new WeakMap(), J = /* @__PURE__ */ new WeakMap();
|
|
19902
19902
|
return (O = function($) {
|
|
19903
|
-
return $ ? J :
|
|
19904
|
-
})(
|
|
19905
|
-
}
|
|
19906
|
-
function D(
|
|
19907
|
-
if (
|
|
19908
|
-
if (
|
|
19909
|
-
var J = O(
|
|
19910
|
-
if (J && J.has(
|
|
19911
|
-
var $ = {},
|
|
19912
|
-
for (var
|
|
19913
|
-
var
|
|
19914
|
-
|
|
19915
|
-
}
|
|
19916
|
-
return $.default =
|
|
19917
|
-
}
|
|
19918
|
-
function N(
|
|
19919
|
-
return
|
|
19920
|
-
}
|
|
19921
|
-
function j(
|
|
19922
|
-
return
|
|
19923
|
-
for (var
|
|
19924
|
-
var
|
|
19925
|
-
|
|
19903
|
+
return $ ? J : ae;
|
|
19904
|
+
})(Y);
|
|
19905
|
+
}
|
|
19906
|
+
function D(Y, ae) {
|
|
19907
|
+
if (Y && Y.__esModule) return Y;
|
|
19908
|
+
if (Y === null || typeof Y != "object" && typeof Y != "function") return { default: Y };
|
|
19909
|
+
var J = O(ae);
|
|
19910
|
+
if (J && J.has(Y)) return J.get(Y);
|
|
19911
|
+
var $ = {}, ie = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
19912
|
+
for (var Q in Y) if (Q !== "default" && Object.prototype.hasOwnProperty.call(Y, Q)) {
|
|
19913
|
+
var se = ie ? Object.getOwnPropertyDescriptor(Y, Q) : null;
|
|
19914
|
+
se && (se.get || se.set) ? Object.defineProperty($, Q, se) : $[Q] = Y[Q];
|
|
19915
|
+
}
|
|
19916
|
+
return $.default = Y, J && J.set(Y, $), $;
|
|
19917
|
+
}
|
|
19918
|
+
function N(Y) {
|
|
19919
|
+
return Y && Y.__esModule ? Y : { default: Y };
|
|
19920
|
+
}
|
|
19921
|
+
function j(Y, ae, J) {
|
|
19922
|
+
return ae && (function($, ie) {
|
|
19923
|
+
for (var Q = 0; Q < ie.length; Q++) {
|
|
19924
|
+
var se = ie[Q];
|
|
19925
|
+
se.enumerable = se.enumerable || !1, se.configurable = !0, "value" in se && (se.writable = !0), Object.defineProperty($, se.key, se);
|
|
19926
19926
|
}
|
|
19927
|
-
})(
|
|
19927
|
+
})(Y.prototype, ae), Object.defineProperty(Y, "prototype", { writable: !1 }), Y;
|
|
19928
19928
|
}
|
|
19929
19929
|
var U = ((s = {})[w.space] = !0, s[w.cr] = !0, s[w.feed] = !0, s[w.newline] = !0, s[w.tab] = !0, s), X = Object.assign({}, U, ((n = {})[w.comment] = !0, n));
|
|
19930
|
-
function W(
|
|
19931
|
-
return { line:
|
|
19930
|
+
function W(Y) {
|
|
19931
|
+
return { line: Y[E.FIELDS.START_LINE], column: Y[E.FIELDS.START_COL] };
|
|
19932
19932
|
}
|
|
19933
|
-
function
|
|
19934
|
-
return { line:
|
|
19933
|
+
function V(Y) {
|
|
19934
|
+
return { line: Y[E.FIELDS.END_LINE], column: Y[E.FIELDS.END_COL] };
|
|
19935
19935
|
}
|
|
19936
|
-
function F(
|
|
19937
|
-
return { start: { line:
|
|
19936
|
+
function F(Y, ae, J, $) {
|
|
19937
|
+
return { start: { line: Y, column: ae }, end: { line: J, column: $ } };
|
|
19938
19938
|
}
|
|
19939
|
-
function q(
|
|
19940
|
-
return F(
|
|
19939
|
+
function q(Y) {
|
|
19940
|
+
return F(Y[E.FIELDS.START_LINE], Y[E.FIELDS.START_COL], Y[E.FIELDS.END_LINE], Y[E.FIELDS.END_COL]);
|
|
19941
19941
|
}
|
|
19942
|
-
function G(
|
|
19943
|
-
if (
|
|
19942
|
+
function G(Y, ae) {
|
|
19943
|
+
if (Y) return F(Y[E.FIELDS.START_LINE], Y[E.FIELDS.START_COL], ae[E.FIELDS.END_LINE], ae[E.FIELDS.END_COL]);
|
|
19944
19944
|
}
|
|
19945
|
-
function ee(
|
|
19946
|
-
var J =
|
|
19947
|
-
if (typeof J == "string") return J.indexOf("\\") !== -1 && ((0, A.ensureObject)(
|
|
19945
|
+
function ee(Y, ae) {
|
|
19946
|
+
var J = Y[ae];
|
|
19947
|
+
if (typeof J == "string") return J.indexOf("\\") !== -1 && ((0, A.ensureObject)(Y, "raws"), Y[ae] = (0, A.unesc)(J), Y.raws[ae] === void 0 && (Y.raws[ae] = J)), Y;
|
|
19948
19948
|
}
|
|
19949
|
-
function
|
|
19950
|
-
for (var J = -1, $ = []; (J =
|
|
19949
|
+
function ce(Y, ae) {
|
|
19950
|
+
for (var J = -1, $ = []; (J = Y.indexOf(ae, J + 1)) !== -1; ) $.push(J);
|
|
19951
19951
|
return $;
|
|
19952
19952
|
}
|
|
19953
|
-
var
|
|
19954
|
-
function
|
|
19953
|
+
var be = (function() {
|
|
19954
|
+
function Y(J, $) {
|
|
19955
19955
|
$ === void 0 && ($ = {}), this.rule = J, this.options = Object.assign({ lossy: !1, safe: !1 }, $), this.position = 0, this.css = typeof this.rule == "string" ? this.rule : this.rule.selector, this.tokens = (0, E.default)({ css: this.css, error: this._errorGenerator(), safe: this.options.safe });
|
|
19956
|
-
var
|
|
19957
|
-
this.root = new i.default({ source:
|
|
19958
|
-
var
|
|
19959
|
-
this.root.append(
|
|
19956
|
+
var ie = G(this.tokens[0], this.tokens[this.tokens.length - 1]);
|
|
19957
|
+
this.root = new i.default({ source: ie }), this.root.errorGenerator = this._errorGenerator();
|
|
19958
|
+
var Q = new o.default({ source: { start: { line: 1, column: 1 } }, sourceIndex: 0 });
|
|
19959
|
+
this.root.append(Q), this.current = Q, this.loop();
|
|
19960
19960
|
}
|
|
19961
|
-
var
|
|
19962
|
-
return
|
|
19961
|
+
var ae = Y.prototype;
|
|
19962
|
+
return ae._errorGenerator = function() {
|
|
19963
19963
|
var J = this;
|
|
19964
|
-
return function($,
|
|
19965
|
-
return typeof J.rule == "string" ? new Error($) : J.rule.error($,
|
|
19964
|
+
return function($, ie) {
|
|
19965
|
+
return typeof J.rule == "string" ? new Error($) : J.rule.error($, ie);
|
|
19966
19966
|
};
|
|
19967
|
-
},
|
|
19967
|
+
}, ae.attribute = function() {
|
|
19968
19968
|
var J = [], $ = this.currToken;
|
|
19969
19969
|
for (this.position++; this.position < this.tokens.length && this.currToken[E.FIELDS.TYPE] !== w.closeSquare; ) J.push(this.currToken), this.position++;
|
|
19970
19970
|
if (this.currToken[E.FIELDS.TYPE] !== w.closeSquare) return this.expected("closing square bracket", this.currToken[E.FIELDS.START_POS]);
|
|
19971
|
-
var
|
|
19972
|
-
if (
|
|
19973
|
-
for (var
|
|
19974
|
-
var Ee = J[
|
|
19971
|
+
var ie = J.length, Q = { source: F($[1], $[2], this.currToken[3], this.currToken[4]), sourceIndex: $[E.FIELDS.START_POS] };
|
|
19972
|
+
if (ie === 1 && !~[w.word].indexOf(J[0][E.FIELDS.TYPE])) return this.expected("attribute", J[0][E.FIELDS.START_POS]);
|
|
19973
|
+
for (var se = 0, z = "", oe = "", le = null, ge = !1; se < ie; ) {
|
|
19974
|
+
var Ee = J[se], fe = this.content(Ee), me = J[se + 1];
|
|
19975
19975
|
switch (Ee[E.FIELDS.TYPE]) {
|
|
19976
19976
|
case w.space:
|
|
19977
19977
|
if (ge = !0, this.options.lossy) break;
|
|
19978
|
-
if (
|
|
19979
|
-
(0, A.ensureObject)(
|
|
19980
|
-
var Oe =
|
|
19981
|
-
|
|
19982
|
-
var qe = (0, A.getProp)(
|
|
19983
|
-
qe && (
|
|
19978
|
+
if (le) {
|
|
19979
|
+
(0, A.ensureObject)(Q, "spaces", le);
|
|
19980
|
+
var Oe = Q.spaces[le].after || "";
|
|
19981
|
+
Q.spaces[le].after = Oe + fe;
|
|
19982
|
+
var qe = (0, A.getProp)(Q, "raws", "spaces", le, "after") || null;
|
|
19983
|
+
qe && (Q.raws.spaces[le].after = qe + fe);
|
|
19984
19984
|
} else z += fe, oe += fe;
|
|
19985
19985
|
break;
|
|
19986
19986
|
case w.asterisk:
|
|
19987
|
-
me[E.FIELDS.TYPE] === w.equals ? (
|
|
19987
|
+
me[E.FIELDS.TYPE] === w.equals ? (Q.operator = fe, le = "operator") : (!Q.namespace || le === "namespace" && !ge) && me && (z && ((0, A.ensureObject)(Q, "spaces", "attribute"), Q.spaces.attribute.before = z, z = ""), oe && ((0, A.ensureObject)(Q, "raws", "spaces", "attribute"), Q.raws.spaces.attribute.before = z, oe = ""), Q.namespace = (Q.namespace || "") + fe, (0, A.getProp)(Q, "raws", "namespace") && (Q.raws.namespace += fe), le = "namespace"), ge = !1;
|
|
19988
19988
|
break;
|
|
19989
19989
|
case w.dollar:
|
|
19990
|
-
if (
|
|
19991
|
-
var Me = (0, A.getProp)(
|
|
19992
|
-
|
|
19990
|
+
if (le === "value") {
|
|
19991
|
+
var Me = (0, A.getProp)(Q, "raws", "value");
|
|
19992
|
+
Q.value += "$", Me && (Q.raws.value = Me + "$");
|
|
19993
19993
|
break;
|
|
19994
19994
|
}
|
|
19995
19995
|
case w.caret:
|
|
19996
|
-
me[E.FIELDS.TYPE] === w.equals && (
|
|
19996
|
+
me[E.FIELDS.TYPE] === w.equals && (Q.operator = fe, le = "operator"), ge = !1;
|
|
19997
19997
|
break;
|
|
19998
19998
|
case w.combinator:
|
|
19999
|
-
if (fe === "~" && me[E.FIELDS.TYPE] === w.equals && (
|
|
19999
|
+
if (fe === "~" && me[E.FIELDS.TYPE] === w.equals && (Q.operator = fe, le = "operator"), fe !== "|") {
|
|
20000
20000
|
ge = !1;
|
|
20001
20001
|
break;
|
|
20002
20002
|
}
|
|
20003
|
-
me[E.FIELDS.TYPE] === w.equals ? (
|
|
20003
|
+
me[E.FIELDS.TYPE] === w.equals ? (Q.operator = fe, le = "operator") : Q.namespace || Q.attribute || (Q.namespace = !0), ge = !1;
|
|
20004
20004
|
break;
|
|
20005
20005
|
case w.word:
|
|
20006
|
-
if (me && this.content(me) === "|" && J[
|
|
20007
|
-
else if (!
|
|
20008
|
-
z && ((0, A.ensureObject)(
|
|
20009
|
-
else if (!
|
|
20010
|
-
var at = (0, A.unesc)(fe), St = (0, A.getProp)(
|
|
20011
|
-
|
|
20006
|
+
if (me && this.content(me) === "|" && J[se + 2] && J[se + 2][E.FIELDS.TYPE] !== w.equals && !Q.operator && !Q.namespace) Q.namespace = fe, le = "namespace";
|
|
20007
|
+
else if (!Q.attribute || le === "attribute" && !ge)
|
|
20008
|
+
z && ((0, A.ensureObject)(Q, "spaces", "attribute"), Q.spaces.attribute.before = z, z = ""), oe && ((0, A.ensureObject)(Q, "raws", "spaces", "attribute"), Q.raws.spaces.attribute.before = oe, oe = ""), Q.attribute = (Q.attribute || "") + fe, (0, A.getProp)(Q, "raws", "attribute") && (Q.raws.attribute += fe), le = "attribute";
|
|
20009
|
+
else if (!Q.value && Q.value !== "" || le === "value" && !ge && !Q.quoteMark) {
|
|
20010
|
+
var at = (0, A.unesc)(fe), St = (0, A.getProp)(Q, "raws", "value") || "", Zt = Q.value || "";
|
|
20011
|
+
Q.value = Zt + at, Q.quoteMark = null, (at !== fe || St) && ((0, A.ensureObject)(Q, "raws"), Q.raws.value = (St || Zt) + fe), le = "value";
|
|
20012
20012
|
} else {
|
|
20013
20013
|
var hr = fe === "i" || fe === "I";
|
|
20014
|
-
!
|
|
20014
|
+
!Q.value && Q.value !== "" || !Q.quoteMark && !ge ? (Q.value || Q.value === "") && (le = "value", Q.value += fe, Q.raws.value && (Q.raws.value += fe)) : (Q.insensitive = hr, hr && fe !== "I" || ((0, A.ensureObject)(Q, "raws"), Q.raws.insensitiveFlag = fe), le = "insensitive", z && ((0, A.ensureObject)(Q, "spaces", "insensitive"), Q.spaces.insensitive.before = z, z = ""), oe && ((0, A.ensureObject)(Q, "raws", "spaces", "insensitive"), Q.raws.spaces.insensitive.before = oe, oe = ""));
|
|
20015
20015
|
}
|
|
20016
20016
|
ge = !1;
|
|
20017
20017
|
break;
|
|
20018
20018
|
case w.str:
|
|
20019
|
-
if (!
|
|
20019
|
+
if (!Q.attribute || !Q.operator) return this.error("Expected an attribute followed by an operator preceding the string.", { index: Ee[E.FIELDS.START_POS] });
|
|
20020
20020
|
var os = (0, T.unescapeValue)(fe), Tn = os.unescaped, Dr = os.quoteMark;
|
|
20021
|
-
|
|
20021
|
+
Q.value = Tn, Q.quoteMark = Dr, le = "value", (0, A.ensureObject)(Q, "raws"), Q.raws.value = fe, ge = !1;
|
|
20022
20022
|
break;
|
|
20023
20023
|
case w.equals:
|
|
20024
|
-
if (!
|
|
20025
|
-
if (
|
|
20026
|
-
|
|
20024
|
+
if (!Q.attribute) return this.expected("attribute", Ee[E.FIELDS.START_POS], fe);
|
|
20025
|
+
if (Q.value) return this.error('Unexpected "=" found; an operator was already defined.', { index: Ee[E.FIELDS.START_POS] });
|
|
20026
|
+
Q.operator = Q.operator ? Q.operator + fe : fe, le = "operator", ge = !1;
|
|
20027
20027
|
break;
|
|
20028
20028
|
case w.comment:
|
|
20029
|
-
if (
|
|
20030
|
-
var er = (0, A.getProp)(
|
|
20031
|
-
(0, A.ensureObject)(
|
|
20029
|
+
if (le) if (ge || me && me[E.FIELDS.TYPE] === w.space || le === "insensitive") {
|
|
20030
|
+
var er = (0, A.getProp)(Q, "spaces", le, "after") || "", Fr = (0, A.getProp)(Q, "raws", "spaces", le, "after") || er;
|
|
20031
|
+
(0, A.ensureObject)(Q, "raws", "spaces", le), Q.raws.spaces[le].after = Fr + fe;
|
|
20032
20032
|
} else {
|
|
20033
|
-
var Ga =
|
|
20034
|
-
(0, A.ensureObject)(
|
|
20033
|
+
var Ga = Q[le] || "", Xa = (0, A.getProp)(Q, "raws", le) || Ga;
|
|
20034
|
+
(0, A.ensureObject)(Q, "raws"), Q.raws[le] = Xa + fe;
|
|
20035
20035
|
}
|
|
20036
20036
|
else oe += fe;
|
|
20037
20037
|
break;
|
|
20038
20038
|
default:
|
|
20039
20039
|
return this.error('Unexpected "' + fe + '" found.', { index: Ee[E.FIELDS.START_POS] });
|
|
20040
20040
|
}
|
|
20041
|
-
|
|
20041
|
+
se++;
|
|
20042
20042
|
}
|
|
20043
|
-
ee(
|
|
20044
|
-
},
|
|
20043
|
+
ee(Q, "attribute"), ee(Q, "namespace"), this.newNode(new T.default(Q)), this.position++;
|
|
20044
|
+
}, ae.parseWhitespaceEquivalentTokens = function(J) {
|
|
20045
20045
|
J < 0 && (J = this.tokens.length);
|
|
20046
|
-
var $ = this.position,
|
|
20046
|
+
var $ = this.position, ie = [], Q = "", se = void 0;
|
|
20047
20047
|
do
|
|
20048
|
-
if (U[this.currToken[E.FIELDS.TYPE]]) this.options.lossy || (
|
|
20048
|
+
if (U[this.currToken[E.FIELDS.TYPE]]) this.options.lossy || (Q += this.content());
|
|
20049
20049
|
else if (this.currToken[E.FIELDS.TYPE] === w.comment) {
|
|
20050
20050
|
var z = {};
|
|
20051
|
-
|
|
20051
|
+
Q && (z.before = Q, Q = ""), se = new l.default({ value: this.content(), source: q(this.currToken), sourceIndex: this.currToken[E.FIELDS.START_POS], spaces: z }), ie.push(se);
|
|
20052
20052
|
}
|
|
20053
20053
|
while (++this.position < J);
|
|
20054
|
-
if (
|
|
20055
|
-
if (
|
|
20054
|
+
if (Q) {
|
|
20055
|
+
if (se) se.spaces.after = Q;
|
|
20056
20056
|
else if (!this.options.lossy) {
|
|
20057
|
-
var oe = this.tokens[$],
|
|
20058
|
-
|
|
20057
|
+
var oe = this.tokens[$], le = this.tokens[this.position - 1];
|
|
20058
|
+
ie.push(new g.default({ value: "", source: F(oe[E.FIELDS.START_LINE], oe[E.FIELDS.START_COL], le[E.FIELDS.END_LINE], le[E.FIELDS.END_COL]), sourceIndex: oe[E.FIELDS.START_POS], spaces: { before: Q, after: "" } }));
|
|
20059
20059
|
}
|
|
20060
20060
|
}
|
|
20061
|
-
return
|
|
20062
|
-
},
|
|
20063
|
-
var
|
|
20061
|
+
return ie;
|
|
20062
|
+
}, ae.convertWhitespaceNodesToSpace = function(J, $) {
|
|
20063
|
+
var ie = this;
|
|
20064
20064
|
$ === void 0 && ($ = !1);
|
|
20065
|
-
var
|
|
20065
|
+
var Q = "", se = "";
|
|
20066
20066
|
return J.forEach(function(z) {
|
|
20067
|
-
var oe =
|
|
20068
|
-
|
|
20069
|
-
}),
|
|
20070
|
-
},
|
|
20067
|
+
var oe = ie.lossySpace(z.spaces.before, $), le = ie.lossySpace(z.rawSpaceBefore, $);
|
|
20068
|
+
Q += oe + ie.lossySpace(z.spaces.after, $ && oe.length === 0), se += oe + z.value + ie.lossySpace(z.rawSpaceAfter, $ && le.length === 0);
|
|
20069
|
+
}), se === Q && (se = void 0), { space: Q, rawSpace: se };
|
|
20070
|
+
}, ae.isNamedCombinator = function(J) {
|
|
20071
20071
|
return J === void 0 && (J = this.position), this.tokens[J + 0] && this.tokens[J + 0][E.FIELDS.TYPE] === w.slash && this.tokens[J + 1] && this.tokens[J + 1][E.FIELDS.TYPE] === w.word && this.tokens[J + 2] && this.tokens[J + 2][E.FIELDS.TYPE] === w.slash;
|
|
20072
|
-
},
|
|
20072
|
+
}, ae.namedCombinator = function() {
|
|
20073
20073
|
if (this.isNamedCombinator()) {
|
|
20074
|
-
var J = this.content(this.tokens[this.position + 1]), $ = (0, A.unesc)(J).toLowerCase(),
|
|
20075
|
-
$ !== J && (
|
|
20076
|
-
var
|
|
20077
|
-
return this.position = this.position + 3,
|
|
20074
|
+
var J = this.content(this.tokens[this.position + 1]), $ = (0, A.unesc)(J).toLowerCase(), ie = {};
|
|
20075
|
+
$ !== J && (ie.value = "/" + J + "/");
|
|
20076
|
+
var Q = new y.default({ value: "/" + $ + "/", source: F(this.currToken[E.FIELDS.START_LINE], this.currToken[E.FIELDS.START_COL], this.tokens[this.position + 2][E.FIELDS.END_LINE], this.tokens[this.position + 2][E.FIELDS.END_COL]), sourceIndex: this.currToken[E.FIELDS.START_POS], raws: ie });
|
|
20077
|
+
return this.position = this.position + 3, Q;
|
|
20078
20078
|
}
|
|
20079
20079
|
this.unexpected();
|
|
20080
|
-
},
|
|
20080
|
+
}, ae.combinator = function() {
|
|
20081
20081
|
var J = this;
|
|
20082
20082
|
if (this.content() === "|") return this.namespace();
|
|
20083
20083
|
var $ = this.locateNextMeaningfulToken(this.position);
|
|
20084
20084
|
if (!($ < 0 || this.tokens[$][E.FIELDS.TYPE] === w.comma || this.tokens[$][E.FIELDS.TYPE] === w.closeParenthesis)) {
|
|
20085
|
-
var
|
|
20086
|
-
if ($ > this.position && (
|
|
20087
|
-
if (
|
|
20088
|
-
var z = this.convertWhitespaceNodesToSpace(
|
|
20089
|
-
|
|
20085
|
+
var ie, Q = this.currToken, se = void 0;
|
|
20086
|
+
if ($ > this.position && (se = this.parseWhitespaceEquivalentTokens($)), this.isNamedCombinator() ? ie = this.namedCombinator() : this.currToken[E.FIELDS.TYPE] === w.combinator ? (ie = new y.default({ value: this.content(), source: q(this.currToken), sourceIndex: this.currToken[E.FIELDS.START_POS] }), this.position++) : U[this.currToken[E.FIELDS.TYPE]] || se || this.unexpected(), ie) {
|
|
20087
|
+
if (se) {
|
|
20088
|
+
var z = this.convertWhitespaceNodesToSpace(se), oe = z.space, le = z.rawSpace;
|
|
20089
|
+
ie.spaces.before = oe, ie.rawSpaceBefore = le;
|
|
20090
20090
|
}
|
|
20091
20091
|
} else {
|
|
20092
|
-
var ge = this.convertWhitespaceNodesToSpace(
|
|
20092
|
+
var ge = this.convertWhitespaceNodesToSpace(se, !0), Ee = ge.space, fe = ge.rawSpace;
|
|
20093
20093
|
fe || (fe = Ee);
|
|
20094
20094
|
var me = {}, Oe = { spaces: {} };
|
|
20095
|
-
Ee.endsWith(" ") && fe.endsWith(" ") ? (me.before = Ee.slice(0, Ee.length - 1), Oe.spaces.before = fe.slice(0, fe.length - 1)) : Ee.startsWith(" ") && fe.startsWith(" ") ? (me.after = Ee.slice(1), Oe.spaces.after = fe.slice(1)) : Oe.value = fe,
|
|
20095
|
+
Ee.endsWith(" ") && fe.endsWith(" ") ? (me.before = Ee.slice(0, Ee.length - 1), Oe.spaces.before = fe.slice(0, fe.length - 1)) : Ee.startsWith(" ") && fe.startsWith(" ") ? (me.after = Ee.slice(1), Oe.spaces.after = fe.slice(1)) : Oe.value = fe, ie = new y.default({ value: " ", source: G(Q, this.tokens[this.position - 1]), sourceIndex: Q[E.FIELDS.START_POS], spaces: me, raws: Oe });
|
|
20096
20096
|
}
|
|
20097
|
-
return this.currToken && this.currToken[E.FIELDS.TYPE] === w.space && (
|
|
20097
|
+
return this.currToken && this.currToken[E.FIELDS.TYPE] === w.space && (ie.spaces.after = this.optionalSpace(this.content()), this.position++), this.newNode(ie);
|
|
20098
20098
|
}
|
|
20099
20099
|
var qe = this.parseWhitespaceEquivalentTokens($);
|
|
20100
20100
|
if (qe.length > 0) {
|
|
@@ -20106,78 +20106,78 @@ function Iw() {
|
|
|
20106
20106
|
return J.newNode(hr);
|
|
20107
20107
|
});
|
|
20108
20108
|
}
|
|
20109
|
-
},
|
|
20109
|
+
}, ae.comma = function() {
|
|
20110
20110
|
if (this.position === this.tokens.length - 1) return this.root.trailingComma = !0, void this.position++;
|
|
20111
20111
|
this.current._inferEndPosition();
|
|
20112
20112
|
var J = new o.default({ source: { start: W(this.tokens[this.position + 1]) }, sourceIndex: this.tokens[this.position + 1][E.FIELDS.START_POS] });
|
|
20113
20113
|
this.current.parent.append(J), this.current = J, this.position++;
|
|
20114
|
-
},
|
|
20114
|
+
}, ae.comment = function() {
|
|
20115
20115
|
var J = this.currToken;
|
|
20116
20116
|
this.newNode(new l.default({ value: this.content(), source: q(J), sourceIndex: J[E.FIELDS.START_POS] })), this.position++;
|
|
20117
|
-
},
|
|
20117
|
+
}, ae.error = function(J, $) {
|
|
20118
20118
|
throw this.root.error(J, $);
|
|
20119
|
-
},
|
|
20119
|
+
}, ae.missingBackslash = function() {
|
|
20120
20120
|
return this.error("Expected a backslash preceding the semicolon.", { index: this.currToken[E.FIELDS.START_POS] });
|
|
20121
|
-
},
|
|
20121
|
+
}, ae.missingParenthesis = function() {
|
|
20122
20122
|
return this.expected("opening parenthesis", this.currToken[E.FIELDS.START_POS]);
|
|
20123
|
-
},
|
|
20123
|
+
}, ae.missingSquareBracket = function() {
|
|
20124
20124
|
return this.expected("opening square bracket", this.currToken[E.FIELDS.START_POS]);
|
|
20125
|
-
},
|
|
20125
|
+
}, ae.unexpected = function() {
|
|
20126
20126
|
return this.error("Unexpected '" + this.content() + "'. Escaping special characters with \\ may help.", this.currToken[E.FIELDS.START_POS]);
|
|
20127
|
-
},
|
|
20127
|
+
}, ae.unexpectedPipe = function() {
|
|
20128
20128
|
return this.error("Unexpected '|'.", this.currToken[E.FIELDS.START_POS]);
|
|
20129
|
-
},
|
|
20129
|
+
}, ae.namespace = function() {
|
|
20130
20130
|
var J = this.prevToken && this.content(this.prevToken) || !0;
|
|
20131
20131
|
return this.nextToken[E.FIELDS.TYPE] === w.word ? (this.position++, this.word(J)) : this.nextToken[E.FIELDS.TYPE] === w.asterisk ? (this.position++, this.universal(J)) : void this.unexpectedPipe();
|
|
20132
|
-
},
|
|
20132
|
+
}, ae.nesting = function() {
|
|
20133
20133
|
if (this.nextToken && this.content(this.nextToken) === "|") return void this.position++;
|
|
20134
20134
|
var J = this.currToken;
|
|
20135
20135
|
this.newNode(new v.default({ value: this.content(), source: q(J), sourceIndex: J[E.FIELDS.START_POS] })), this.position++;
|
|
20136
|
-
},
|
|
20136
|
+
}, ae.parentheses = function() {
|
|
20137
20137
|
var J = this.current.last, $ = 1;
|
|
20138
20138
|
if (this.position++, J && J.type === C.PSEUDO) {
|
|
20139
|
-
var
|
|
20140
|
-
for (J.append(
|
|
20141
|
-
this.current =
|
|
20139
|
+
var ie = new o.default({ source: { start: W(this.tokens[this.position]) }, sourceIndex: this.tokens[this.position][E.FIELDS.START_POS] }), Q = this.current;
|
|
20140
|
+
for (J.append(ie), this.current = ie; this.position < this.tokens.length && $; ) this.currToken[E.FIELDS.TYPE] === w.openParenthesis && $++, this.currToken[E.FIELDS.TYPE] === w.closeParenthesis && $--, $ ? this.parse() : (this.current.source.end = V(this.currToken), this.current.parent.source.end = V(this.currToken), this.position++);
|
|
20141
|
+
this.current = Q;
|
|
20142
20142
|
} else {
|
|
20143
|
-
for (var
|
|
20144
|
-
J ? J.appendToPropertyAndEscape("value", oe, oe) : this.newNode(new g.default({ value: oe, source: F(z[E.FIELDS.START_LINE], z[E.FIELDS.START_COL],
|
|
20143
|
+
for (var se, z = this.currToken, oe = "("; this.position < this.tokens.length && $; ) this.currToken[E.FIELDS.TYPE] === w.openParenthesis && $++, this.currToken[E.FIELDS.TYPE] === w.closeParenthesis && $--, se = this.currToken, oe += this.parseParenthesisToken(this.currToken), this.position++;
|
|
20144
|
+
J ? J.appendToPropertyAndEscape("value", oe, oe) : this.newNode(new g.default({ value: oe, source: F(z[E.FIELDS.START_LINE], z[E.FIELDS.START_COL], se[E.FIELDS.END_LINE], se[E.FIELDS.END_COL]), sourceIndex: z[E.FIELDS.START_POS] }));
|
|
20145
20145
|
}
|
|
20146
20146
|
if ($) return this.expected("closing parenthesis", this.currToken[E.FIELDS.START_POS]);
|
|
20147
|
-
},
|
|
20148
|
-
for (var J = this, $ = "",
|
|
20149
|
-
return this.currToken ? this.currToken[E.FIELDS.TYPE] !== w.word ? this.expected(["pseudo-class", "pseudo-element"], this.currToken[E.FIELDS.START_POS]) : void this.splitWord(!1, function(
|
|
20150
|
-
$ +=
|
|
20147
|
+
}, ae.pseudo = function() {
|
|
20148
|
+
for (var J = this, $ = "", ie = this.currToken; this.currToken && this.currToken[E.FIELDS.TYPE] === w.colon; ) $ += this.content(), this.position++;
|
|
20149
|
+
return this.currToken ? this.currToken[E.FIELDS.TYPE] !== w.word ? this.expected(["pseudo-class", "pseudo-element"], this.currToken[E.FIELDS.START_POS]) : void this.splitWord(!1, function(Q, se) {
|
|
20150
|
+
$ += Q, J.newNode(new f.default({ value: $, source: G(ie, J.currToken), sourceIndex: ie[E.FIELDS.START_POS] })), se > 1 && J.nextToken && J.nextToken[E.FIELDS.TYPE] === w.openParenthesis && J.error("Misplaced parenthesis.", { index: J.nextToken[E.FIELDS.START_POS] });
|
|
20151
20151
|
}) : this.expected(["pseudo-class", "pseudo-element"], this.position - 1);
|
|
20152
|
-
},
|
|
20152
|
+
}, ae.space = function() {
|
|
20153
20153
|
var J = this.content();
|
|
20154
20154
|
this.position === 0 || this.prevToken[E.FIELDS.TYPE] === w.comma || this.prevToken[E.FIELDS.TYPE] === w.openParenthesis || this.current.nodes.every(function($) {
|
|
20155
20155
|
return $.type === "comment";
|
|
20156
20156
|
}) ? (this.spaces = this.optionalSpace(J), this.position++) : this.position === this.tokens.length - 1 || this.nextToken[E.FIELDS.TYPE] === w.comma || this.nextToken[E.FIELDS.TYPE] === w.closeParenthesis ? (this.current.last.spaces.after = this.optionalSpace(J), this.position++) : this.combinator();
|
|
20157
|
-
},
|
|
20157
|
+
}, ae.string = function() {
|
|
20158
20158
|
var J = this.currToken;
|
|
20159
20159
|
this.newNode(new g.default({ value: this.content(), source: q(J), sourceIndex: J[E.FIELDS.START_POS] })), this.position++;
|
|
20160
|
-
},
|
|
20160
|
+
}, ae.universal = function(J) {
|
|
20161
20161
|
var $ = this.nextToken;
|
|
20162
20162
|
if ($ && this.content($) === "|") return this.position++, this.namespace();
|
|
20163
|
-
var
|
|
20164
|
-
this.newNode(new m.default({ value: this.content(), source: q(
|
|
20165
|
-
},
|
|
20166
|
-
for (var
|
|
20163
|
+
var ie = this.currToken;
|
|
20164
|
+
this.newNode(new m.default({ value: this.content(), source: q(ie), sourceIndex: ie[E.FIELDS.START_POS] }), J), this.position++;
|
|
20165
|
+
}, ae.splitWord = function(J, $) {
|
|
20166
|
+
for (var ie = this, Q = this.nextToken, se = this.content(); Q && ~[w.dollar, w.caret, w.equals, w.word].indexOf(Q[E.FIELDS.TYPE]); ) {
|
|
20167
20167
|
this.position++;
|
|
20168
20168
|
var z = this.content();
|
|
20169
|
-
if (
|
|
20169
|
+
if (se += z, z.lastIndexOf("\\") === z.length - 1) {
|
|
20170
20170
|
var oe = this.nextToken;
|
|
20171
|
-
oe && oe[E.FIELDS.TYPE] === w.space && (
|
|
20171
|
+
oe && oe[E.FIELDS.TYPE] === w.space && (se += this.requiredSpace(this.content(oe)), this.position++);
|
|
20172
20172
|
}
|
|
20173
|
-
|
|
20173
|
+
Q = this.nextToken;
|
|
20174
20174
|
}
|
|
20175
|
-
var
|
|
20176
|
-
var Oe =
|
|
20175
|
+
var le = ce(se, ".").filter(function(me) {
|
|
20176
|
+
var Oe = se[me - 1] === "\\", qe = /^\d+\.\d+%$/.test(se);
|
|
20177
20177
|
return !Oe && !qe;
|
|
20178
|
-
}), ge = se
|
|
20179
|
-
return
|
|
20180
|
-
}), Ee = se
|
|
20178
|
+
}), ge = ce(se, "#").filter(function(me) {
|
|
20179
|
+
return se[me - 1] !== "\\";
|
|
20180
|
+
}), Ee = ce(se, "#{");
|
|
20181
20181
|
Ee.length && (ge = ge.filter(function(me) {
|
|
20182
20182
|
return !~Ee.indexOf(me);
|
|
20183
20183
|
}));
|
|
@@ -20186,12 +20186,12 @@ function Iw() {
|
|
|
20186
20186
|
return me.filter(function(Oe, qe) {
|
|
20187
20187
|
return qe === me.indexOf(Oe);
|
|
20188
20188
|
});
|
|
20189
|
-
})([0].concat(
|
|
20189
|
+
})([0].concat(le, ge)));
|
|
20190
20190
|
fe.forEach(function(me, Oe) {
|
|
20191
|
-
var qe, Me = fe[Oe + 1] ||
|
|
20192
|
-
if (Oe === 0 && $) return $.call(
|
|
20193
|
-
var St =
|
|
20194
|
-
if (~
|
|
20191
|
+
var qe, Me = fe[Oe + 1] || se.length, at = se.slice(me, Me);
|
|
20192
|
+
if (Oe === 0 && $) return $.call(ie, at, fe.length);
|
|
20193
|
+
var St = ie.currToken, Zt = St[E.FIELDS.START_POS] + fe[Oe], hr = F(St[1], St[2] + me, St[3], St[2] + (Me - 1));
|
|
20194
|
+
if (~le.indexOf(me)) {
|
|
20195
20195
|
var os = { value: at.slice(1), source: hr, sourceIndex: Zt };
|
|
20196
20196
|
qe = new c.default(ee(os, "value"));
|
|
20197
20197
|
} else if (~ge.indexOf(me)) {
|
|
@@ -20201,15 +20201,15 @@ function Iw() {
|
|
|
20201
20201
|
var Dr = { value: at, source: hr, sourceIndex: Zt };
|
|
20202
20202
|
ee(Dr, "value"), qe = new d.default(Dr);
|
|
20203
20203
|
}
|
|
20204
|
-
|
|
20204
|
+
ie.newNode(qe, J), J = null;
|
|
20205
20205
|
}), this.position++;
|
|
20206
|
-
},
|
|
20206
|
+
}, ae.word = function(J) {
|
|
20207
20207
|
var $ = this.nextToken;
|
|
20208
20208
|
return $ && this.content($) === "|" ? (this.position++, this.namespace()) : this.splitWord(J);
|
|
20209
|
-
},
|
|
20209
|
+
}, ae.loop = function() {
|
|
20210
20210
|
for (; this.position < this.tokens.length; ) this.parse(!0);
|
|
20211
20211
|
return this.current._inferEndPosition(), this.root;
|
|
20212
|
-
},
|
|
20212
|
+
}, ae.parse = function(J) {
|
|
20213
20213
|
switch (this.currToken[E.FIELDS.TYPE]) {
|
|
20214
20214
|
case w.space:
|
|
20215
20215
|
this.space();
|
|
@@ -20258,42 +20258,42 @@ function Iw() {
|
|
|
20258
20258
|
default:
|
|
20259
20259
|
this.unexpected();
|
|
20260
20260
|
}
|
|
20261
|
-
},
|
|
20261
|
+
}, ae.expected = function(J, $, ie) {
|
|
20262
20262
|
if (Array.isArray(J)) {
|
|
20263
|
-
var
|
|
20264
|
-
J = J.join(", ") + " or " +
|
|
20263
|
+
var Q = J.pop();
|
|
20264
|
+
J = J.join(", ") + " or " + Q;
|
|
20265
20265
|
}
|
|
20266
|
-
var
|
|
20267
|
-
return
|
|
20268
|
-
},
|
|
20266
|
+
var se = /^[aeiou]/.test(J[0]) ? "an" : "a";
|
|
20267
|
+
return ie ? this.error("Expected " + se + " " + J + ', found "' + ie + '" instead.', { index: $ }) : this.error("Expected " + se + " " + J + ".", { index: $ });
|
|
20268
|
+
}, ae.requiredSpace = function(J) {
|
|
20269
20269
|
return this.options.lossy ? " " : J;
|
|
20270
|
-
},
|
|
20270
|
+
}, ae.optionalSpace = function(J) {
|
|
20271
20271
|
return this.options.lossy ? "" : J;
|
|
20272
|
-
},
|
|
20272
|
+
}, ae.lossySpace = function(J, $) {
|
|
20273
20273
|
return this.options.lossy ? $ ? " " : "" : J;
|
|
20274
|
-
},
|
|
20274
|
+
}, ae.parseParenthesisToken = function(J) {
|
|
20275
20275
|
var $ = this.content(J);
|
|
20276
20276
|
return J[E.FIELDS.TYPE] === w.space ? this.requiredSpace($) : $;
|
|
20277
|
-
},
|
|
20277
|
+
}, ae.newNode = function(J, $) {
|
|
20278
20278
|
return $ && (/^ +$/.test($) && (this.options.lossy || (this.spaces = (this.spaces || "") + $), $ = !0), J.namespace = $, ee(J, "namespace")), this.spaces && (J.spaces.before = this.spaces, this.spaces = ""), this.current.append(J);
|
|
20279
|
-
},
|
|
20279
|
+
}, ae.content = function(J) {
|
|
20280
20280
|
return J === void 0 && (J = this.currToken), this.css.slice(J[E.FIELDS.START_POS], J[E.FIELDS.END_POS]);
|
|
20281
|
-
},
|
|
20281
|
+
}, ae.locateNextMeaningfulToken = function(J) {
|
|
20282
20282
|
J === void 0 && (J = this.position + 1);
|
|
20283
20283
|
for (var $ = J; $ < this.tokens.length; ) {
|
|
20284
20284
|
if (!X[this.tokens[$][E.FIELDS.TYPE]]) return $;
|
|
20285
20285
|
$++;
|
|
20286
20286
|
}
|
|
20287
20287
|
return -1;
|
|
20288
|
-
}, j(
|
|
20288
|
+
}, j(Y, [{ key: "currToken", get: function() {
|
|
20289
20289
|
return this.tokens[this.position];
|
|
20290
20290
|
} }, { key: "nextToken", get: function() {
|
|
20291
20291
|
return this.tokens[this.position + 1];
|
|
20292
20292
|
} }, { key: "prevToken", get: function() {
|
|
20293
20293
|
return this.tokens[this.position - 1];
|
|
20294
|
-
} }]),
|
|
20294
|
+
} }]), Y;
|
|
20295
20295
|
})();
|
|
20296
|
-
t.default =
|
|
20296
|
+
t.default = be, e.exports = t.default;
|
|
20297
20297
|
})(pl, pl.exports)), pl.exports;
|
|
20298
20298
|
}
|
|
20299
20299
|
function Nw() {
|
|
@@ -21233,9 +21233,9 @@ var Qw = Object.defineProperty, Zw = Object.defineProperties, e_ = Object.getOwn
|
|
|
21233
21233
|
}, rg = (e, t) => Zw(e, e_(t));
|
|
21234
21234
|
function s_(e) {
|
|
21235
21235
|
return (function(t) {
|
|
21236
|
-
const { filename: s, id: n, scoped: i = !1, trim: o = !0, isProd: c = !1, modules: l = !1, modulesOptions: p = {}, preprocessLang: d, postcssOptions: g, postcssPlugins: f } = t, T = d && Yw[d], m = T && (function(W,
|
|
21236
|
+
const { filename: s, id: n, scoped: i = !1, trim: o = !0, isProd: c = !1, modules: l = !1, modulesOptions: p = {}, preprocessLang: d, postcssOptions: g, postcssPlugins: f } = t, T = d && Yw[d], m = T && (function(W, V) {
|
|
21237
21237
|
if (!W.preprocessCustomRequire) throw new Error("[@vue/compiler-sfc] Style preprocessing in the browser build must provide the `preprocessCustomRequire` option to return the in-browser version of the preprocessor.");
|
|
21238
|
-
return
|
|
21238
|
+
return V(W.source, W.inMap || W.map, Ml({ filename: W.filename }, W.preprocessOptions), W.preprocessCustomRequire);
|
|
21239
21239
|
})(t, T), y = m ? m.map : t.inMap || t.map, v = m ? m.code : t.source, b = n.replace(/^data-v-/, ""), E = `data-v-${b}`, w = (f || []).slice();
|
|
21240
21240
|
w.unshift(Nx({ id: b, isProd: c })), o && w.push(r0()), i && w.push(y0(E));
|
|
21241
21241
|
let C;
|
|
@@ -21247,8 +21247,8 @@ function s_(e) {
|
|
|
21247
21247
|
j.delete(s);
|
|
21248
21248
|
const U = [];
|
|
21249
21249
|
m && m.errors.length && U.push(...m.errors);
|
|
21250
|
-
const X = (W) => (W.forEach((
|
|
21251
|
-
|
|
21250
|
+
const X = (W) => (W.forEach((V) => {
|
|
21251
|
+
V.type === "dependency" && j.add(V.file);
|
|
21252
21252
|
}), j);
|
|
21253
21253
|
try {
|
|
21254
21254
|
if (O = Je(w).process(v, A), t.isAsync) return O.then((W) => ({ code: W.css || "", map: W.map && W.map.toJSON(), errors: U, modules: C, rawResult: W, dependencies: X(W.messages) })).catch((W) => ({ code: "", map: void 0, errors: [...U, W], rawResult: void 0, dependencies: j }));
|
|
@@ -22973,31 +22973,31 @@ function W_(e, t) {
|
|
|
22973
22973
|
const A = y.startOffset, O = y.endOffset, D = o && o.loc.start.offset, N = o && o.loc.end.offset;
|
|
22974
22974
|
function j(z) {
|
|
22975
22975
|
const oe = z.start + A;
|
|
22976
|
-
let
|
|
22977
|
-
for (z.trailingComments && z.trailingComments.length > 0 && (
|
|
22978
|
-
y.s.move(oe,
|
|
22976
|
+
let le = z.end + A;
|
|
22977
|
+
for (z.trailingComments && z.trailingComments.length > 0 && (le = z.trailingComments[z.trailingComments.length - 1].end + A); le <= l.length && /\s/.test(l.charAt(le)); ) le++;
|
|
22978
|
+
y.s.move(oe, le, 0);
|
|
22979
22979
|
}
|
|
22980
|
-
function U(z, oe,
|
|
22980
|
+
function U(z, oe, le, ge, Ee, fe) {
|
|
22981
22981
|
let me = fe;
|
|
22982
|
-
fe && y.isTS && e.template && !e.template.src && !e.template.lang && (me = jx(oe, e)), y.userImports[oe] = { isType: ge, imported:
|
|
22982
|
+
fe && y.isTS && e.template && !e.template.src && !e.template.lang && (me = jx(oe, e)), y.userImports[oe] = { isType: ge, imported: le, local: oe, source: z, isFromSetup: Ee, isUsedInTemplate: me };
|
|
22983
22983
|
}
|
|
22984
22984
|
function X(z, oe) {
|
|
22985
|
-
z && Ea(z, (
|
|
22986
|
-
const ge = b[
|
|
22987
|
-
ge && ge !== "literal-const" && y.error(`\`${oe}()\` in <script setup> cannot reference locally declared variables because it will be hoisted outside of the setup() function. If your component options require initialization in the module scope, use a separate normal <script> to export the options instead.`,
|
|
22985
|
+
z && Ea(z, (le) => {
|
|
22986
|
+
const ge = b[le.name];
|
|
22987
|
+
ge && ge !== "literal-const" && y.error(`\`${oe}()\` in <script setup> cannot reference locally declared variables because it will be hoisted outside of the setup() function. If your component options require initialization in the module scope, use a separate normal <script> to export the options instead.`, le);
|
|
22988
22988
|
});
|
|
22989
22989
|
}
|
|
22990
|
-
const W = y.scriptAst,
|
|
22990
|
+
const W = y.scriptAst, V = y.scriptSetupAst;
|
|
22991
22991
|
if (W) {
|
|
22992
22992
|
for (const z of W.body) if (z.type === "ImportDeclaration") for (const oe of z.specifiers) {
|
|
22993
|
-
const
|
|
22994
|
-
U(z.source.value, oe.local.name,
|
|
22993
|
+
const le = Ip(oe);
|
|
22994
|
+
U(z.source.value, oe.local.name, le, z.importKind === "type" || oe.type === "ImportSpecifier" && oe.importKind === "type", !1, !t.inlineTemplate);
|
|
22995
22995
|
}
|
|
22996
22996
|
}
|
|
22997
|
-
for (const z of
|
|
22997
|
+
for (const z of V.body) if (z.type === "ImportDeclaration") {
|
|
22998
22998
|
j(z);
|
|
22999
22999
|
let oe = 0;
|
|
23000
|
-
const
|
|
23000
|
+
const le = (ge) => {
|
|
23001
23001
|
const Ee = ge > oe;
|
|
23002
23002
|
oe++;
|
|
23003
23003
|
const fe = z.specifiers[ge], me = z.specifiers[ge + 1];
|
|
@@ -23005,23 +23005,23 @@ function W_(e, t) {
|
|
|
23005
23005
|
};
|
|
23006
23006
|
for (let ge = 0; ge < z.specifiers.length; ge++) {
|
|
23007
23007
|
const Ee = z.specifiers[ge], fe = Ee.local.name, me = Ip(Ee), Oe = z.source.value, qe = y.userImports[fe];
|
|
23008
|
-
Oe === "vue" && z_.includes(me) ? (fe === me ? Xn(`\`${me}\` is a compiler macro and no longer needs to be imported.`) : y.error(`\`${me}\` is a compiler macro and cannot be aliased to a different name.`, Ee),
|
|
23008
|
+
Oe === "vue" && z_.includes(me) ? (fe === me ? Xn(`\`${me}\` is a compiler macro and no longer needs to be imported.`) : y.error(`\`${me}\` is a compiler macro and cannot be aliased to a different name.`, Ee), le(ge)) : qe ? qe.source === Oe && qe.imported === me ? le(ge) : y.error("different imports aliased to same local name.", Ee) : U(Oe, fe, me, z.importKind === "type" || Ee.type === "ImportSpecifier" && Ee.importKind === "type", !0, !t.inlineTemplate);
|
|
23009
23009
|
}
|
|
23010
23010
|
z.specifiers.length && oe === z.specifiers.length && y.s.remove(z.start + A, z.end + A);
|
|
23011
23011
|
}
|
|
23012
23012
|
const F = {};
|
|
23013
23013
|
for (const z in y.userImports) {
|
|
23014
|
-
const { source: oe, imported:
|
|
23015
|
-
oe === "vue" && (F[
|
|
23014
|
+
const { source: oe, imported: le, local: ge } = y.userImports[z];
|
|
23015
|
+
oe === "vue" && (F[le] = ge);
|
|
23016
23016
|
}
|
|
23017
23017
|
if (o && W) {
|
|
23018
23018
|
for (const z of W.body) if (z.type === "ExportDefaultDeclaration") {
|
|
23019
23019
|
let oe;
|
|
23020
23020
|
if (E = z, E.declaration.type === "ObjectExpression" ? oe = E.declaration.properties : E.declaration.type === "CallExpression" && E.declaration.arguments[0] && E.declaration.arguments[0].type === "ObjectExpression" && (oe = E.declaration.arguments[0].properties), oe) for (const Ee of oe) Ee.type === "ObjectProperty" && Ee.key.type === "Identifier" && Ee.key.name === "name" && (y.hasDefaultExportName = !0), Ee.type !== "ObjectMethod" && Ee.type !== "ObjectProperty" || Ee.key.type !== "Identifier" || Ee.key.name !== "render" || (y.hasDefaultExportRender = !0);
|
|
23021
|
-
const
|
|
23022
|
-
y.s.overwrite(
|
|
23021
|
+
const le = z.start + D, ge = z.declaration.start + D;
|
|
23022
|
+
y.s.overwrite(le, ge, `const ${Ws} = `);
|
|
23023
23023
|
} else if (z.type === "ExportNamedDeclaration") {
|
|
23024
|
-
const oe = z.specifiers.find((
|
|
23024
|
+
const oe = z.specifiers.find((le) => le.exported.type === "Identifier" && le.exported.name === "default");
|
|
23025
23025
|
oe && (E = z, z.specifiers.length > 1 ? y.s.remove(oe.start + D, oe.end + D) : y.s.remove(z.start + D, z.end + D), z.source ? y.s.prepend(`import { ${oe.local.name} as ${Ws} } from '${z.source.value}'
|
|
23026
23026
|
`) : y.s.appendLeft(N, `
|
|
23027
23027
|
const ${Ws} = ${oe.local.name}
|
|
@@ -23030,19 +23030,19 @@ const ${Ws} = ${oe.local.name}
|
|
|
23030
23030
|
D > A && (/\n$/.test(o.content.trim()) || y.s.appendLeft(N, `
|
|
23031
23031
|
`), y.s.move(D, N, 0));
|
|
23032
23032
|
}
|
|
23033
|
-
for (const z of
|
|
23033
|
+
for (const z of V.body) {
|
|
23034
23034
|
if (z.type === "ExpressionStatement") {
|
|
23035
|
-
const
|
|
23036
|
-
if (Mp(y,
|
|
23037
|
-
else if (j_(y,
|
|
23038
|
-
const ge =
|
|
23035
|
+
const le = Gt(z.expression);
|
|
23036
|
+
if (Mp(y, le) || kg(y, le) || wg(y, le) || Eg(y, le)) y.s.remove(z.start + A, z.end + A);
|
|
23037
|
+
else if (j_(y, le)) {
|
|
23038
|
+
const ge = le.callee;
|
|
23039
23039
|
y.s.overwrite(ge.start + A, ge.end + A, "__expose");
|
|
23040
|
-
} else vg(y,
|
|
23040
|
+
} else vg(y, le);
|
|
23041
23041
|
}
|
|
23042
23042
|
if (z.type === "VariableDeclaration" && !z.declare) {
|
|
23043
|
-
const
|
|
23044
|
-
let ge, Ee =
|
|
23045
|
-
for (let fe = 0; fe <
|
|
23043
|
+
const le = z.declarations.length;
|
|
23044
|
+
let ge, Ee = le;
|
|
23045
|
+
for (let fe = 0; fe < le; fe++) {
|
|
23046
23046
|
const me = z.declarations[fe], Oe = me.init && Gt(me.init);
|
|
23047
23047
|
if (Oe) {
|
|
23048
23048
|
wg(y, Oe) && y.error(`${dr}() has no returning value, it cannot be assigned.`, z);
|
|
@@ -23052,7 +23052,7 @@ const ${Ws} = ${oe.local.name}
|
|
|
23052
23052
|
if (!Me && (Eg(y, Oe, me.id) || vg(y, Oe, me.id)), qe && !y.propsDestructureRestId && y.propsDestructureDecl) if (Ee === 1) y.s.remove(z.start + A, z.end + A);
|
|
23053
23053
|
else {
|
|
23054
23054
|
let at = me.start + A, St = me.end + A;
|
|
23055
|
-
fe ===
|
|
23055
|
+
fe === le - 1 ? at = z.declarations[ge].end + A : St = z.declarations[fe + 1].start + A, y.s.remove(at, St), Ee--;
|
|
23056
23056
|
}
|
|
23057
23057
|
else Me ? y.s.overwrite(A + Oe.start, A + Oe.end, "__emit") : ge = fe;
|
|
23058
23058
|
}
|
|
@@ -23060,15 +23060,15 @@ const ${Ws} = ${oe.local.name}
|
|
|
23060
23060
|
}
|
|
23061
23061
|
let oe = !1;
|
|
23062
23062
|
if (z.type !== "VariableDeclaration" && z.type !== "FunctionDeclaration" && z.type !== "ClassDeclaration" && z.type !== "TSEnumDeclaration" || z.declare || (oe = Bl("scriptSetup", z, b, F, d, !!y.propsDestructureDecl)), d && oe && j(z), z.type === "VariableDeclaration" && !z.declare || z.type.endsWith("Statement")) {
|
|
23063
|
-
const
|
|
23063
|
+
const le = [V.body];
|
|
23064
23064
|
gh(z, { enter(ge, Ee) {
|
|
23065
|
-
if (Kr(ge) && this.skip(), ge.type === "BlockStatement" &&
|
|
23065
|
+
if (Kr(ge) && this.skip(), ge.type === "BlockStatement" && le.push(ge.body), ge.type === "AwaitExpression") {
|
|
23066
23066
|
w = !0;
|
|
23067
|
-
const fe =
|
|
23067
|
+
const fe = le[le.length - 1].some((me, Oe) => (le.length === 1 || Oe > 0) && me.type === "ExpressionStatement" && me.start === ge.start);
|
|
23068
23068
|
B_(y, ge, fe, Ee.type === "ExpressionStatement");
|
|
23069
23069
|
}
|
|
23070
23070
|
}, exit(ge) {
|
|
23071
|
-
ge.type === "BlockStatement" &&
|
|
23071
|
+
ge.type === "BlockStatement" && le.pop();
|
|
23072
23072
|
} });
|
|
23073
23073
|
}
|
|
23074
23074
|
(z.type === "ExportNamedDeclaration" && z.exportKind !== "type" || z.type === "ExportAllDeclaration" || z.type === "ExportDefaultDeclaration") && y.error("<script setup> cannot contain ES module exports. If you are using a previous version of <script setup>, please consult the updated RFC at https://github.com/vuejs/rfcs/pull/227.", z), y.isTS && (z.type.startsWith("TS") || z.type === "ExportNamedDeclaration" && z.exportKind === "type" || z.type === "VariableDeclaration" && z.declare) && z.type !== "TSEnumDeclaration" && j(z);
|
|
@@ -23076,7 +23076,7 @@ const ${Ws} = ${oe.local.name}
|
|
|
23076
23076
|
y.propsDestructureDecl && D_(y, F), X(y.propsRuntimeDecl, Tt), X(y.propsRuntimeDefaults, Tt), X(y.propsDestructureDecl, Tt), X(y.emitsRuntimeDecl, Ss), X(y.optionsRuntimeDecl, dr);
|
|
23077
23077
|
for (const { runtimeOptionNodes: z } of Object.values(y.modelDecls)) for (const oe of z) X(oe, Wa);
|
|
23078
23078
|
o ? A < D ? (y.s.remove(0, A), y.s.remove(O, D), y.s.remove(N, l.length)) : (y.s.remove(0, D), y.s.remove(N, A), y.s.remove(O, l.length)) : (y.s.remove(0, A), y.s.remove(O, l.length)), W && Object.assign(y.bindingMetadata, P0(W.body));
|
|
23079
|
-
for (const [z, { isType: oe, imported:
|
|
23079
|
+
for (const [z, { isType: oe, imported: le, source: ge }] of Object.entries(y.userImports)) oe || (y.bindingMetadata[z] = le === "*" || le === "default" && ge.endsWith(".vue") || ge === "vue" ? "setup-const" : "setup-maybe-ref");
|
|
23080
23080
|
for (const z in v) y.bindingMetadata[z] = v[z];
|
|
23081
23081
|
for (const z in b) y.bindingMetadata[z] = b[z];
|
|
23082
23082
|
e.cssVars.length && !((s = t.templateOptions) != null && s.ssr) && (y.helperImports.add(qo), y.helperImports.add("unref"), y.s.prependLeft(A, `
|
|
@@ -23090,22 +23090,22 @@ let __temp${z}, __restore${z}
|
|
|
23090
23090
|
`);
|
|
23091
23091
|
}
|
|
23092
23092
|
const G = y.hasDefineExposeCall || !t.inlineTemplate ? ["expose: __expose"] : [];
|
|
23093
|
-
let ee,
|
|
23093
|
+
let ee, ce;
|
|
23094
23094
|
y.emitDecl && G.push("emit: __emit"), G.length && (q += `, { ${G.join(", ")} }`);
|
|
23095
|
-
const
|
|
23095
|
+
const be = R_(y);
|
|
23096
23096
|
if (!t.inlineTemplate || !e.template && y.hasDefaultExportRender) {
|
|
23097
23097
|
const z = Rn(Rn({}, v), b);
|
|
23098
23098
|
for (const oe in y.userImports) !y.userImports[oe].isType && y.userImports[oe].isUsedInTemplate && (z[oe] = !0);
|
|
23099
|
-
|
|
23099
|
+
ce = "{ ";
|
|
23100
23100
|
for (const oe in z) if (z[oe] !== !0 || y.userImports[oe].source === "vue" || y.userImports[oe].source.endsWith(".vue")) if (y.bindingMetadata[oe] === "setup-let") {
|
|
23101
|
-
const
|
|
23102
|
-
|
|
23103
|
-
} else
|
|
23104
|
-
else
|
|
23105
|
-
|
|
23101
|
+
const le = oe === "v" ? "_v" : "v";
|
|
23102
|
+
ce += `get ${oe}() { return ${oe} }, set ${oe}(${le}) { ${oe} = ${le} }, `;
|
|
23103
|
+
} else ce += `${oe}, `;
|
|
23104
|
+
else ce += `get ${oe}() { return ${oe} }, `;
|
|
23105
|
+
ce = ce.replace(/, $/, "") + " }";
|
|
23106
23106
|
} else if (e.template && !e.template.src) {
|
|
23107
23107
|
t.templateOptions && t.templateOptions.ssr && (C = !0);
|
|
23108
|
-
const { code: z, ast: oe, preamble:
|
|
23108
|
+
const { code: z, ast: oe, preamble: le, tips: ge, errors: Ee, map: fe } = Hb(jl(Rn({ filename: p, ast: e.template.ast, source: e.template.content, inMap: e.template.map }, t.templateOptions), { id: g, scoped: e.styles.some((Oe) => Oe.scoped), isProd: t.isProd, ssrCssVars: e.cssVars, compilerOptions: jl(Rn({}, t.templateOptions && t.templateOptions.compilerOptions), { inline: !0, isTS: y.isTS, bindingMetadata: y.bindingMetadata }) }));
|
|
23109
23109
|
ee = fe, ge.length && ge.forEach(Xn);
|
|
23110
23110
|
const me = Ee[0];
|
|
23111
23111
|
if (typeof me == "string") throw new Error(me);
|
|
@@ -23114,61 +23114,61 @@ let __temp${z}, __restore${z}
|
|
|
23114
23114
|
` + e.filename + `
|
|
23115
23115
|
` + yi(l, me.loc.start.offset, me.loc.end.offset) + `
|
|
23116
23116
|
`), me;
|
|
23117
|
-
|
|
23118
|
-
} else
|
|
23117
|
+
le && y.s.prepend(le), oe && oe.helpers.has(an) && y.helperImports.delete("unref"), ce = z;
|
|
23118
|
+
} else ce = "() => {}";
|
|
23119
23119
|
t.inlineTemplate ? y.s.appendRight(O, `
|
|
23120
|
-
return ${
|
|
23120
|
+
return ${ce}
|
|
23121
23121
|
}
|
|
23122
23122
|
|
|
23123
23123
|
`) : y.s.appendRight(O, `
|
|
23124
|
-
const __returned__ = ${
|
|
23124
|
+
const __returned__ = ${ce}
|
|
23125
23125
|
Object.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })
|
|
23126
23126
|
return __returned__
|
|
23127
23127
|
}
|
|
23128
23128
|
|
|
23129
23129
|
`);
|
|
23130
|
-
const
|
|
23131
|
-
let
|
|
23130
|
+
const Y = t.genDefaultAs ? `const ${t.genDefaultAs} =` : "export default";
|
|
23131
|
+
let ae = "";
|
|
23132
23132
|
if (!y.hasDefaultExportName && p && p !== Bx) {
|
|
23133
23133
|
const z = p.match(/([^/\\]+)\.\w+$/);
|
|
23134
|
-
z && (
|
|
23134
|
+
z && (ae += `
|
|
23135
23135
|
__name: '${z[1]}',`);
|
|
23136
23136
|
}
|
|
23137
|
-
C && (
|
|
23138
|
-
__ssrInlineRender: true,`),
|
|
23139
|
-
props: ${
|
|
23137
|
+
C && (ae += `
|
|
23138
|
+
__ssrInlineRender: true,`), be && (ae += `
|
|
23139
|
+
props: ${be},`);
|
|
23140
23140
|
const J = F_(y);
|
|
23141
|
-
J && (
|
|
23141
|
+
J && (ae += `
|
|
23142
23142
|
emits: ${J},`);
|
|
23143
23143
|
let $ = "";
|
|
23144
23144
|
y.optionsRuntimeDecl && ($ = c.content.slice(y.optionsRuntimeDecl.start, y.optionsRuntimeDecl.end).trim());
|
|
23145
|
-
const
|
|
23145
|
+
const ie = y.hasDefineExposeCall || t.inlineTemplate ? "" : ` __expose();
|
|
23146
23146
|
`;
|
|
23147
23147
|
if (y.isTS) {
|
|
23148
23148
|
const z = (E ? `
|
|
23149
23149
|
...${Ws},` : "") + ($ ? `
|
|
23150
23150
|
...${$},` : "");
|
|
23151
23151
|
y.s.prependLeft(A, `
|
|
23152
|
-
${
|
|
23152
|
+
${Y} /*@__PURE__*/${y.helper("defineComponent")}({${z}${ae}
|
|
23153
23153
|
${w ? "async " : ""}setup(${q}) {
|
|
23154
|
-
${
|
|
23154
|
+
${ie}`), y.s.appendRight(O, "})");
|
|
23155
23155
|
} else E || $ ? (y.s.prependLeft(A, `
|
|
23156
|
-
${
|
|
23156
|
+
${Y} /*@__PURE__*/Object.assign(${E ? `${Ws}, ` : ""}${$ ? `${$}, ` : ""}{${ae}
|
|
23157
23157
|
${w ? "async " : ""}setup(${q}) {
|
|
23158
|
-
${
|
|
23159
|
-
${
|
|
23158
|
+
${ie}`), y.s.appendRight(O, "})")) : (y.s.prependLeft(A, `
|
|
23159
|
+
${Y} {${ae}
|
|
23160
23160
|
${w ? "async " : ""}setup(${q}) {
|
|
23161
|
-
${
|
|
23161
|
+
${ie}`), y.s.appendRight(O, "}"));
|
|
23162
23162
|
if (y.helperImports.size > 0) {
|
|
23163
23163
|
const z = (i = (n = t.templateOptions) == null ? void 0 : n.compilerOptions) == null ? void 0 : i.runtimeModuleName, oe = z ? JSON.stringify(z) : "'vue'";
|
|
23164
|
-
y.s.prepend(`import { ${[...y.helperImports].map((
|
|
23164
|
+
y.s.prepend(`import { ${[...y.helperImports].map((le) => `${le} as _${le}`).join(", ")} } from ${oe}
|
|
23165
23165
|
`);
|
|
23166
23166
|
}
|
|
23167
|
-
const
|
|
23168
|
-
let
|
|
23169
|
-
if (ee &&
|
|
23170
|
-
const z =
|
|
23171
|
-
|
|
23167
|
+
const Q = y.s.toString();
|
|
23168
|
+
let se = t.sourceMap !== !1 ? y.s.generateMap({ source: p, hires: !0, includeContent: !0 }) : void 0;
|
|
23169
|
+
if (ee && se) {
|
|
23170
|
+
const z = Q.indexOf(ce);
|
|
23171
|
+
se = (function(oe, le, ge) {
|
|
23172
23172
|
const Ee = new ks.SourceMapGenerator(), fe = (me, Oe = 0) => {
|
|
23173
23173
|
const qe = new ks.SourceMapConsumer(me);
|
|
23174
23174
|
qe.sources.forEach((Me) => {
|
|
@@ -23179,10 +23179,10 @@ ${ae}`), y.s.appendRight(O, "}"));
|
|
|
23179
23179
|
Me.originalLine != null && Ee.addMapping({ generated: { line: Me.generatedLine + Oe, column: Me.generatedColumn }, original: { line: Me.originalLine, column: Me.originalColumn }, source: Me.source, name: Me.name });
|
|
23180
23180
|
});
|
|
23181
23181
|
};
|
|
23182
|
-
return fe(oe), fe(
|
|
23183
|
-
})(
|
|
23182
|
+
return fe(oe), fe(le, ge), Ee._sourceRoot = oe.sourceRoot, Ee._file = oe.file, Ee.toJSON();
|
|
23183
|
+
})(se, ee, Q.slice(0, z).split(/\r?\n/).length - 1);
|
|
23184
23184
|
}
|
|
23185
|
-
return jl(Rn({}, c), { bindings: y.bindingMetadata, imports: y.userImports, content:
|
|
23185
|
+
return jl(Rn({}, c), { bindings: y.bindingMetadata, imports: y.userImports, content: Q, map: se, scriptAst: W?.body, scriptSetupAst: V?.body, deps: y.deps ? [...y.deps] : void 0 });
|
|
23186
23186
|
}
|
|
23187
23187
|
function tn(e, t, s) {
|
|
23188
23188
|
e[t.name] = s;
|
|
@@ -23295,25 +23295,29 @@ const Ng = async (e) => {
|
|
|
23295
23295
|
URL.revokeObjectURL(t);
|
|
23296
23296
|
}
|
|
23297
23297
|
}, J_ = async (e, t) => {
|
|
23298
|
-
const s = [], { descriptor: n, errors: i } = Ux(await (await Ng(e)).text() || "<template></template>"), { script: o, scriptSetup: c, slotted: l, styles: p, template: d } = n;
|
|
23299
|
-
let
|
|
23300
|
-
const
|
|
23301
|
-
const { lang:
|
|
23302
|
-
return [.../[jt]sx$/.test(
|
|
23303
|
-
})),
|
|
23304
|
-
const
|
|
23305
|
-
|
|
23306
|
-
|
|
23307
|
-
|
|
23308
|
-
|
|
23298
|
+
const s = [], { descriptor: n, errors: i } = Ux(await (await Ng(e)).text() || "<template></template>", t?.parse), { script: o, scriptSetup: c, slotted: l, styles: p, template: d } = n, { template: { compilerOptions: { expressionPlugins: g, ...f } = {}, ...T } = {} } = t ?? {};
|
|
23299
|
+
let m = "";
|
|
23300
|
+
const y = `data-v-${ST(e)}`, v = new Set([o, c].flatMap((Y) => {
|
|
23301
|
+
const { lang: ae = "js" } = Y ?? {};
|
|
23302
|
+
return [.../[jt]sx$/.test(ae) ? ["jsx"] : [], .../tsx?$/.test(ae) ? ["typescript"] : []];
|
|
23303
|
+
})), b = { expressionPlugins: [.../* @__PURE__ */ new Set([...g ?? [], ...v])], scopeId: y, slotted: l, ...f }, E = p.some(({ scoped: Y }) => Y), w = E ? { __scopeId: y } : {}, C = { compilerOptions: b, scoped: E, slotted: l, ...T }, A = { id: y, templateOptions: C, ...t?.script }, O = document.getElementById(y) instanceof HTMLStyleElement ? Promise.resolve([]) : Promise.all(p.map(async ({ content: Y, module: ae, scoped: J = !1, src: $ }) => {
|
|
23304
|
+
const ie = !!ae;
|
|
23305
|
+
if (ie) return m = "<style module> is not supported in the playground.", "";
|
|
23306
|
+
{
|
|
23307
|
+
const { code: Q, errors: se } = await s_({ filename: e, id: y, modules: ie, scoped: J, source: $ ? await (await Ng($)).text() : Y, ...t?.style });
|
|
23308
|
+
return s.push(...se), Q;
|
|
23309
|
+
}
|
|
23310
|
+
})), D = { jsxRuntime: "preserve", transforms: [...v] }, { ast: N, content: j = "" } = d ?? {}, { bindings: U, content: X, warnings: W } = o || c ? W_(n, A) : {};
|
|
23311
|
+
U && (b.bindingMetadata = U);
|
|
23312
|
+
const { code: V, errors: F, tips: q } = !d || c && A.inlineTemplate ? {} : Hb({ ...N, filename: e, id: y, source: j, ...C }), [G, ee, ce] = await Promise.all([O, X ? Og(v.size ? $1(X, D).code : X) : Promise.resolve(void 0), V ? Og(v.size ? $1(V, D).code : V) : Promise.resolve(void 0)]), be = G.join(`
|
|
23309
23313
|
`).trim();
|
|
23310
|
-
if (
|
|
23311
|
-
const
|
|
23312
|
-
|
|
23314
|
+
if (be) {
|
|
23315
|
+
const Y = document.createElement("style");
|
|
23316
|
+
Y.id = y, Y.textContent = be, document.head.appendChild(Y);
|
|
23313
23317
|
}
|
|
23314
|
-
return Object.assign(
|
|
23315
|
-
console.log(
|
|
23316
|
-
}),
|
|
23318
|
+
return Object.assign(w, ee?.default), Object.assign(w, ce), [...i, ...W ?? [], ...q ?? [], ...F ?? [], ...s, ...m ? [m] : []].forEach((Y) => {
|
|
23319
|
+
console.log(Y);
|
|
23320
|
+
}), w;
|
|
23317
23321
|
};
|
|
23318
23322
|
export {
|
|
23319
23323
|
J_ as default
|