@builder.io/fusion 0.0.1

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.
@@ -0,0 +1,4565 @@
1
+ import { n as e } from "./chunk-hvVJRdgc.js";
2
+ //#region ../../node_modules/prettier/plugins/acorn.mjs
3
+ function t(e, t) {
4
+ for (var n = 65536, r = 0; r < t.length; r += 2) {
5
+ if (n += t[r], n > e) return !1;
6
+ if (n += t[r + 1], n >= e) return !0;
7
+ }
8
+ return !1;
9
+ }
10
+ function n(e, n) {
11
+ return e < 65 ? e === 36 : e < 91 ? !0 : e < 97 ? e === 95 : e < 123 ? !0 : e <= 65535 ? e >= 170 && Tt.test(String.fromCharCode(e)) : n === !1 ? !1 : t(e, vt);
12
+ }
13
+ function r(e, n) {
14
+ return e < 48 ? e === 36 : e < 58 ? !0 : e < 65 ? !1 : e < 91 ? !0 : e < 97 ? e === 95 : e < 123 ? !0 : e <= 65535 ? e >= 170 && Et.test(String.fromCharCode(e)) : n === !1 ? !1 : t(e, vt) || t(e, _t);
15
+ }
16
+ function i(e, t) {
17
+ return new b(e, {
18
+ beforeExpr: !0,
19
+ binop: t
20
+ });
21
+ }
22
+ function a(e, t) {
23
+ return t === void 0 && (t = {}), t.keyword = e, Dt[e] = new b(e, t);
24
+ }
25
+ function o(e) {
26
+ return e === 10 || e === 13 || e === 8232 || e === 8233;
27
+ }
28
+ function s(e, t, n) {
29
+ n === void 0 && (n = e.length);
30
+ for (var r = t; r < n; r++) {
31
+ var i = e.charCodeAt(r);
32
+ if (o(i)) return r < n - 1 && i === 13 && e.charCodeAt(r + 1) === 10 ? r + 2 : r + 1;
33
+ }
34
+ return -1;
35
+ }
36
+ function c(e) {
37
+ return Pt[e] || (Pt[e] = RegExp("^(?:" + e.replace(/ /g, "|") + ")$"));
38
+ }
39
+ function l(e) {
40
+ return e <= 65535 ? String.fromCharCode(e) : (e -= 65536, String.fromCharCode((e >> 10) + 55296, (e & 1023) + 56320));
41
+ }
42
+ function u(e, t) {
43
+ for (var n = 1, r = 0;;) {
44
+ var i = s(e, r, t);
45
+ if (i < 0) return new D(n, t - r);
46
+ ++n, r = i;
47
+ }
48
+ }
49
+ function d(e) {
50
+ var t = {};
51
+ for (var n in Lt) t[n] = e && E(e, n) ? e[n] : Lt[n];
52
+ if (t.ecmaVersion === "latest" ? t.ecmaVersion = 1e8 : t.ecmaVersion == null ? (!Rt && typeof console == "object" && console.warn && (Rt = !0, console.warn("Since Acorn 8.0.0, options.ecmaVersion is required.\nDefaulting to 2020, but this will stop working in the future.")), t.ecmaVersion = 11) : t.ecmaVersion >= 2015 && (t.ecmaVersion -= 2009), t.allowReserved ??= t.ecmaVersion < 5, (!e || e.allowHashBang == null) && (t.allowHashBang = t.ecmaVersion >= 14), Nt(t.onToken)) {
53
+ var r = t.onToken;
54
+ t.onToken = function(e) {
55
+ return r.push(e);
56
+ };
57
+ }
58
+ return Nt(t.onComment) && (t.onComment = f(t, t.onComment)), t;
59
+ }
60
+ function f(e, t) {
61
+ return function(n, r, i, a, o, s) {
62
+ var c = {
63
+ type: n ? "Block" : "Line",
64
+ value: r,
65
+ start: i,
66
+ end: a
67
+ };
68
+ e.locations && (c.loc = new It(this, o, s)), e.ranges && (c.range = [i, a]), t.push(c);
69
+ };
70
+ }
71
+ function p(e, t) {
72
+ return k | (e ? zt : 0) | (t ? Bt : 0);
73
+ }
74
+ function m(e, t) {
75
+ var n = t.key.name, r = e[n], i = "true";
76
+ return t.type === "MethodDefinition" && (t.kind === "get" || t.kind === "set") && (i = (t.static ? "s" : "i") + t.kind), r === "iget" && i === "iset" || r === "iset" && i === "iget" || r === "sget" && i === "sset" || r === "sset" && i === "sget" ? (e[n] = "true", !1) : r ? !0 : (e[n] = i, !1);
77
+ }
78
+ function h(e, t) {
79
+ var n = e.computed, r = e.key;
80
+ return !n && (r.type === "Identifier" && r.name === t || r.type === "Literal" && r.value === t);
81
+ }
82
+ function g(e) {
83
+ return e.type === "Identifier" || e.type === "ParenthesizedExpression" && g(e.expression);
84
+ }
85
+ function _(e) {
86
+ return e.type === "MemberExpression" && e.property.type === "PrivateIdentifier" || e.type === "ChainExpression" && _(e.expression) || e.type === "ParenthesizedExpression" && _(e.expression);
87
+ }
88
+ function ee(e, t, n, r) {
89
+ return e.type = t, e.end = n, this.options.locations && (e.loc.end = r), this.options.ranges && (e.range[1] = n), e;
90
+ }
91
+ function te(e) {
92
+ var t = Dn[e] = {
93
+ binary: c(gn[e] + " " + yn),
94
+ binaryOfStrings: c(vn[e]),
95
+ nonBinary: {
96
+ General_Category: c(yn),
97
+ Script: c(En[e])
98
+ }
99
+ };
100
+ t.nonBinary.Script_Extensions = t.nonBinary.Script, t.nonBinary.gc = t.nonBinary.General_Category, t.nonBinary.sc = t.nonBinary.Script, t.nonBinary.scx = t.nonBinary.Script_Extensions;
101
+ }
102
+ function ne(e) {
103
+ for (var t in e) return !0;
104
+ return !1;
105
+ }
106
+ function re(e) {
107
+ return e === 105 || e === 109 || e === 115;
108
+ }
109
+ function ie(e) {
110
+ return e === 36 || e >= 40 && e <= 43 || e === 46 || e === 63 || e >= 91 && e <= 94 || e >= 123 && e <= 125;
111
+ }
112
+ function ae(e) {
113
+ return n(e, !0) || e === 36 || e === 95;
114
+ }
115
+ function oe(e) {
116
+ return r(e, !0) || e === 36 || e === 95 || e === 8204 || e === 8205;
117
+ }
118
+ function se(e) {
119
+ return e >= 65 && e <= 90 || e >= 97 && e <= 122;
120
+ }
121
+ function ce(e) {
122
+ return e >= 0 && e <= 1114111;
123
+ }
124
+ function le(e) {
125
+ return e === 100 || e === 68 || e === 115 || e === 83 || e === 119 || e === 87;
126
+ }
127
+ function ue(e) {
128
+ return se(e) || e === 95;
129
+ }
130
+ function de(e) {
131
+ return ue(e) || he(e);
132
+ }
133
+ function fe(e) {
134
+ return e === 33 || e >= 35 && e <= 38 || e >= 42 && e <= 44 || e === 46 || e >= 58 && e <= 64 || e === 94 || e === 96 || e === 126;
135
+ }
136
+ function pe(e) {
137
+ return e === 40 || e === 41 || e === 45 || e === 47 || e >= 91 && e <= 93 || e >= 123 && e <= 125;
138
+ }
139
+ function me(e) {
140
+ return e === 33 || e === 35 || e === 37 || e === 38 || e === 44 || e === 45 || e >= 58 && e <= 62 || e === 64 || e === 96 || e === 126;
141
+ }
142
+ function he(e) {
143
+ return e >= 48 && e <= 57;
144
+ }
145
+ function ge(e) {
146
+ return e >= 48 && e <= 57 || e >= 65 && e <= 70 || e >= 97 && e <= 102;
147
+ }
148
+ function _e(e) {
149
+ return e >= 65 && e <= 70 ? 10 + (e - 65) : e >= 97 && e <= 102 ? 10 + (e - 97) : e - 48;
150
+ }
151
+ function ve(e) {
152
+ return e >= 48 && e <= 55;
153
+ }
154
+ function ye(e, t) {
155
+ return t ? parseInt(e, 8) : parseFloat(e.replace(/_/g, ""));
156
+ }
157
+ function be(e) {
158
+ return typeof BigInt == "function" ? BigInt(e.replace(/_/g, "")) : null;
159
+ }
160
+ function xe(e, t) {
161
+ let n = /* @__PURE__ */ SyntaxError(e + " (" + t.loc.start.line + ":" + t.loc.start.column + ")");
162
+ return Object.assign(n, t);
163
+ }
164
+ function Se(e) {
165
+ let t = [];
166
+ for (let n of e) try {
167
+ return n();
168
+ } catch (e) {
169
+ t.push(e);
170
+ }
171
+ throw Object.assign(/* @__PURE__ */ Error("All combinations failed"), { errors: t });
172
+ }
173
+ function Ce(e) {
174
+ return this[e < 0 ? this.length + e : e];
175
+ }
176
+ function v(e) {
177
+ let t = e.range?.[0] ?? e.start, n = (e.declaration?.decorators ?? e.decorators)?.[0];
178
+ return n ? Math.min(v(n), t) : t;
179
+ }
180
+ function y(e) {
181
+ return e.range?.[1] ?? e.end;
182
+ }
183
+ function we(e) {
184
+ let t = new Set(e);
185
+ return (e) => t.has(e?.type);
186
+ }
187
+ function Te(e) {
188
+ return Wn.has(e) || Wn.set(e, Hn(e) && e.value[0] === "*" && /@(?:type|satisfies)\b/u.test(e.value)), Wn.get(e);
189
+ }
190
+ function Ee(e) {
191
+ if (!Hn(e)) return !1;
192
+ let t = `*${e.value}*`.split("\n");
193
+ return t.length > 1 && t.every((e) => e.trimStart()[0] === "*");
194
+ }
195
+ function De(e) {
196
+ return Kn.has(e) || Kn.set(e, Ee(e)), Kn.get(e);
197
+ }
198
+ function Oe(e) {
199
+ if (e.length < 2) return;
200
+ let t;
201
+ for (let n = e.length - 1; n >= 0; n--) {
202
+ let r = e[n];
203
+ if (t && y(r) === v(t) && qn(r) && qn(t) && (e.splice(n + 1, 1), r.value += "*//*" + t.value, r.range = [v(r), y(t)]), !Un(r) && !Hn(r)) throw TypeError(`Unknown comment type: "${r.type}".`);
204
+ t = r;
205
+ }
206
+ }
207
+ function ke(e) {
208
+ return typeof e == "object" && !!e;
209
+ }
210
+ function Ae(e) {
211
+ if (X !== null && typeof X.property) {
212
+ let e = X;
213
+ return X = Ae.prototype = null, e;
214
+ }
215
+ return X = Ae.prototype = e ?? Object.create(null), new Ae();
216
+ }
217
+ function je(e) {
218
+ return Ae(e);
219
+ }
220
+ function Me(e, t = "type") {
221
+ je(e);
222
+ function n(n) {
223
+ let r = n[t], i = e[r];
224
+ if (!Array.isArray(i)) throw Object.assign(/* @__PURE__ */ Error(`Missing visitor keys for '${r}'.`), { node: n });
225
+ return i;
226
+ }
227
+ return n;
228
+ }
229
+ function Ne(e, t) {
230
+ if (!Yn(e)) return e;
231
+ if (Array.isArray(e)) {
232
+ for (let n = 0; n < e.length; n++) e[n] = Ne(e[n], t);
233
+ return e;
234
+ }
235
+ if (t.onEnter) {
236
+ let n = t.onEnter(e) ?? e;
237
+ if (n !== e) return Ne(n, t);
238
+ e = n;
239
+ }
240
+ let n = Qn(e);
241
+ for (let r = 0; r < n.length; r++) e[n[r]] = Ne(e[n[r]], t);
242
+ return t.onLeave && (e = t.onLeave(e) || e), e;
243
+ }
244
+ function Pe(e, t) {
245
+ let { parser: n, text: r } = t, { comments: i } = e, a = n === "oxc" && t.oxcAstType === "ts";
246
+ Jn(i);
247
+ let o = e.type === "File" ? e.program : e;
248
+ o.interpreter && (i.unshift(o.interpreter), delete o.interpreter), a && e.hashbang && (i.unshift(e.hashbang), delete e.hashbang), e.type === "Program" && (e.range = [0, r.length]);
249
+ let s;
250
+ return e = $n(e, {
251
+ onEnter(t) {
252
+ switch (t.type) {
253
+ case "ParenthesizedExpression": {
254
+ let { expression: e } = t, n = v(t);
255
+ if (e.type === "TypeCastExpression") return e.range = [n, y(t)], e;
256
+ let o = !1;
257
+ if (!a) {
258
+ if (!s) {
259
+ s = [];
260
+ for (let e of i) Gn(e) && s.push(y(e));
261
+ }
262
+ let e = zn(0, s, (e) => e <= n);
263
+ o = e && r.slice(e, n).trim().length === 0;
264
+ }
265
+ return o ? void 0 : (e.extra = {
266
+ ...e.extra,
267
+ parenthesized: !0
268
+ }, e);
269
+ }
270
+ case "TemplateLiteral":
271
+ if (t.expressions.length !== t.quasis.length - 1) throw Error("Malformed template literal.");
272
+ break;
273
+ case "TemplateElement":
274
+ (n === "flow" || n === "hermes" || n === "espree" || n === "typescript" || a) && (t.range = [v(t) + 1, y(t) - (t.tail ? 1 : 2)]);
275
+ break;
276
+ case "VariableDeclaration": {
277
+ let e = Bn(0, t.declarations, -1);
278
+ e?.init && r[y(e)] !== ";" && (t.range = [v(t), y(e)]);
279
+ break;
280
+ }
281
+ case "TSParenthesizedType": return t.typeAnnotation;
282
+ case "TopicReference":
283
+ e.extra = {
284
+ ...e.extra,
285
+ __isUsingHackPipeline: !0
286
+ };
287
+ break;
288
+ case "TSUnionType":
289
+ case "TSIntersectionType":
290
+ if (t.types.length === 1) return t.types[0];
291
+ break;
292
+ case "ImportExpression":
293
+ n === "hermes" && t.attributes && !t.options && (t.options = t.attributes);
294
+ break;
295
+ }
296
+ },
297
+ onLeave(e) {
298
+ switch (e.type) {
299
+ case "LogicalExpression":
300
+ if (Fe(e)) return Ie(e);
301
+ break;
302
+ case "TSImportType":
303
+ !e.source && e.argument.type === "TSLiteralType" && (e.source = e.argument.literal, delete e.argument);
304
+ break;
305
+ }
306
+ }
307
+ }), e;
308
+ }
309
+ function Fe(e) {
310
+ return e.type === "LogicalExpression" && e.right.type === "LogicalExpression" && e.operator === e.right.operator;
311
+ }
312
+ function Ie(e) {
313
+ return Fe(e) ? Ie({
314
+ type: "LogicalExpression",
315
+ operator: e.operator,
316
+ left: Ie({
317
+ type: "LogicalExpression",
318
+ operator: e.operator,
319
+ left: e.left,
320
+ right: e.right.left,
321
+ range: [v(e.left), y(e.right.left)]
322
+ }),
323
+ right: e.right.right,
324
+ range: [v(e), y(e)]
325
+ }) : e;
326
+ }
327
+ function Le(e) {
328
+ let t = e.match(ar);
329
+ return t ? t[0].trimStart() : "";
330
+ }
331
+ function Re(e) {
332
+ e = nr(0, e.replace(ir, "").replace(rr, ""), ur, "$1");
333
+ let t = "";
334
+ for (; t !== e;) t = e, e = nr(0, e, cr, "\n$1 $2\n");
335
+ e = e.replace(sr, "").trimEnd();
336
+ let n = Object.create(null), r = nr(0, e, lr, "").replace(sr, "").trimEnd(), i;
337
+ for (; i = lr.exec(e);) {
338
+ let e = nr(0, i[2], or, "");
339
+ if (typeof n[i[1]] == "string" || Array.isArray(n[i[1]])) {
340
+ let t = n[i[1]];
341
+ n[i[1]] = [
342
+ ...dr,
343
+ ...Array.isArray(t) ? t : [t],
344
+ e
345
+ ];
346
+ } else n[i[1]] = e;
347
+ }
348
+ return {
349
+ comments: r,
350
+ pragmas: n
351
+ };
352
+ }
353
+ function ze(e) {
354
+ if (!e.startsWith("#!")) return "";
355
+ let t = e.indexOf("\n");
356
+ return t === -1 ? e : e.slice(0, t);
357
+ }
358
+ function Be(e) {
359
+ let t = mr(e);
360
+ t && (e = e.slice(t.length + 1));
361
+ let { pragmas: n, comments: r } = Re(Le(e));
362
+ return {
363
+ shebang: t,
364
+ text: e,
365
+ pragmas: n,
366
+ comments: r
367
+ };
368
+ }
369
+ function Ve(e) {
370
+ let { pragmas: t } = Be(e);
371
+ return pr.some((e) => Object.prototype.hasOwnProperty.call(t, e));
372
+ }
373
+ function He(e) {
374
+ let { pragmas: t } = Be(e);
375
+ return fr.some((e) => Object.prototype.hasOwnProperty.call(t, e));
376
+ }
377
+ function Ue(e) {
378
+ return e = typeof e == "function" ? { parse: e } : e, {
379
+ astFormat: "estree",
380
+ hasPragma: Ve,
381
+ hasIgnorePragma: He,
382
+ locStart: v,
383
+ locEnd: y,
384
+ ...e
385
+ };
386
+ }
387
+ function We(e) {
388
+ if (typeof e == "string") {
389
+ if (e = e.toLowerCase(), /\.(?:mjs|mts)$/iu.test(e)) return gr;
390
+ if (/\.(?:cjs|cts)$/iu.test(e)) return vr;
391
+ }
392
+ }
393
+ function Ge(e) {
394
+ let { message: t, loc: n } = e;
395
+ if (!n) return e;
396
+ let { line: r, column: i } = n;
397
+ return In(t.replace(/ \(\d+:\d+\)$/u, ""), {
398
+ loc: { start: {
399
+ line: r,
400
+ column: i + 1
401
+ } },
402
+ cause: e
403
+ });
404
+ }
405
+ function Ke(e, t) {
406
+ let n = Sr(), r = [], i = n.parse(e, {
407
+ ...br,
408
+ sourceType: t === vr ? _r : t,
409
+ allowImportExportEverywhere: t === gr,
410
+ onComment: r
411
+ });
412
+ return i.comments = r, i;
413
+ }
414
+ function qe(e, t) {
415
+ let n = We(t?.filepath), r = (n ? [n] : yr).map((t) => () => Ke(e, t)), i;
416
+ try {
417
+ i = Se(r);
418
+ } catch ({ errors: [e] }) {
419
+ throw Ge(e);
420
+ }
421
+ return er(i, { text: e });
422
+ }
423
+ function Je(e, t) {
424
+ let n = e[0], r = Bn(0, e, -1), i = {
425
+ type: Q.Template,
426
+ value: t.slice(n.start, r.end)
427
+ };
428
+ return n.loc && (i.loc = {
429
+ start: n.loc.start,
430
+ end: r.loc.end
431
+ }), n.range && (i.start = n.range[0], i.end = r.range[1], i.range = [i.start, i.end]), i;
432
+ }
433
+ function Ye(e, t) {
434
+ this._acornTokTypes = e, this._tokens = [], this._curlyBrace = null, this._code = t;
435
+ }
436
+ function Xe() {
437
+ return Bn(0, Er, -1);
438
+ }
439
+ function Ze(e = 5) {
440
+ let t = e === "latest" ? Xe() : e;
441
+ if (typeof t != "number") throw Error(`ecmaVersion must be a number or "latest". Received value of type ${typeof e} instead.`);
442
+ if (t >= 2015 && (t -= 2009), !Er.includes(t)) throw Error("Invalid ecmaVersion.");
443
+ return t;
444
+ }
445
+ function Qe(e = "script") {
446
+ if (e === "script" || e === "module") return e;
447
+ if (e === "commonjs") return "script";
448
+ throw Error("Invalid sourceType.");
449
+ }
450
+ function $e(e) {
451
+ let t = Ze(e.ecmaVersion), n = Qe(e.sourceType), r = e.range === !0, i = e.loc === !0;
452
+ if (t !== 3 && e.allowReserved) throw Error("`allowReserved` is only supported when ecmaVersion is 3");
453
+ if (typeof e.allowReserved < "u" && typeof e.allowReserved != "boolean") throw Error("`allowReserved`, when present, must be `true` or `false`");
454
+ let a = t === 3 ? e.allowReserved || "never" : !1, o = e.ecmaFeatures || {}, s = e.sourceType === "commonjs" || !!o.globalReturn;
455
+ if (n === "module" && t < 6) throw Error("sourceType 'module' is not supported when ecmaVersion < 2015. Consider adding `{ ecmaVersion: 2015 }` to the parser options.");
456
+ return Object.assign({}, e, {
457
+ ecmaVersion: t,
458
+ sourceType: n,
459
+ ranges: r,
460
+ locations: i,
461
+ allowReserved: a,
462
+ allowReturnOutsideFunction: s
463
+ });
464
+ }
465
+ function et(e, t, n, r, i, a, o) {
466
+ let s;
467
+ s = e ? "Block" : o.slice(n, n + 2) === "#!" ? "Hashbang" : "Line";
468
+ let c = {
469
+ type: s,
470
+ value: t
471
+ };
472
+ return typeof n == "number" && (c.start = n, c.end = r, c.range = [n, r]), typeof i == "object" && (c.loc = {
473
+ start: i,
474
+ end: a
475
+ }), c;
476
+ }
477
+ function tt(e, t) {
478
+ return new (kr.get(t))(t, e).parse();
479
+ }
480
+ function nt(e) {
481
+ let { message: t, lineNumber: n, column: r } = e;
482
+ return typeof n == "number" ? In(t, {
483
+ loc: { start: {
484
+ line: n,
485
+ column: r
486
+ } },
487
+ cause: e
488
+ }) : e;
489
+ }
490
+ function rt(e, t) {
491
+ let n = We(t?.filepath), r = (n ? [n] : yr).map((t) => () => tt(e, {
492
+ ...Ar,
493
+ sourceType: t
494
+ })), i;
495
+ try {
496
+ i = Se(r);
497
+ } catch ({ errors: [e] }) {
498
+ throw nt(e);
499
+ }
500
+ return er(i, {
501
+ parser: "espree",
502
+ text: e
503
+ });
504
+ }
505
+ var it, at, ot, st, ct, lt, ut, dt, ft, pt, mt, ht, gt, _t, vt, yt, bt, xt, St, Ct, wt, Tt, Et, b, x, S, Dt, C, w, Ot, kt, T, At, jt, Mt, E, Nt, Pt, Ft, D, It, Lt, Rt, O, k, zt, Bt, Vt, Ht, Ut, Wt, A, j, Gt, Kt, qt, M, Jt, Yt, Xt, N, P, F, Zt, Qt, I, $t, en, tn, L, nn, rn, R, z, B, V, H, an, on, U, sn, cn, W, ln, un, dn, fn, pn, mn, hn, gn, _n, vn, yn, bn, xn, Sn, Cn, wn, Tn, En, Dn, On, kn, An, G, jn, K, Mn, q, J, Nn, Y, Pn, Fn, In, Ln, Rn, zn, Bn, Vn, Hn, Un, Wn, Gn, Kn, qn, Jn, Yn, X, Xn, Zn, Z, Qn, $n, er, tr, nr, rr, ir, ar, or, sr, cr, lr, ur, dr, fr, pr, mr, hr, gr, _r, vr, yr, br, xr, Sr, Cr, wr, Q, Tr, Er, $, Dr, Or, kr, Ar, jr;
506
+ //#endregion
507
+ e((() => {
508
+ for (it = Object.create, at = Object.defineProperty, ot = Object.getOwnPropertyDescriptor, st = Object.getOwnPropertyNames, ct = Object.getPrototypeOf, lt = Object.prototype.hasOwnProperty, ut = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), dt = (e, t) => {
509
+ for (var n in t) at(e, n, {
510
+ get: t[n],
511
+ enumerable: !0
512
+ });
513
+ }, ft = (e, t, n, r) => {
514
+ if (t && typeof t == "object" || typeof t == "function") for (let i of st(t)) !lt.call(e, i) && i !== n && at(e, i, {
515
+ get: () => t[i],
516
+ enumerable: !(r = ot(t, i)) || r.enumerable
517
+ });
518
+ return e;
519
+ }, pt = (e, t, n) => (n = e == null ? {} : it(ct(e)), ft(t || !e || !e.__esModule ? at(n, "default", {
520
+ value: e,
521
+ enumerable: !0
522
+ }) : n, e)), mt = ut((e, t) => {
523
+ t.exports = {};
524
+ }), ht = ut((e, t) => {
525
+ var n = mt(), r = /^[\da-fA-F]+$/, i = /^\d+$/, a = /* @__PURE__ */ new WeakMap();
526
+ function o(e) {
527
+ e = e.Parser.acorn || e;
528
+ let t = a.get(e);
529
+ if (!t) {
530
+ let n = e.tokTypes, r = e.TokContext, i = e.TokenType, o = new r("<tag", !1), s = new r("</tag", !1), c = new r("<tag>...</tag>", !0, !0), l = {
531
+ tc_oTag: o,
532
+ tc_cTag: s,
533
+ tc_expr: c
534
+ }, u = {
535
+ jsxName: new i("jsxName"),
536
+ jsxText: new i("jsxText", { beforeExpr: !0 }),
537
+ jsxTagStart: new i("jsxTagStart", { startsExpr: !0 }),
538
+ jsxTagEnd: new i("jsxTagEnd")
539
+ };
540
+ u.jsxTagStart.updateContext = function() {
541
+ this.context.push(c), this.context.push(o), this.exprAllowed = !1;
542
+ }, u.jsxTagEnd.updateContext = function(e) {
543
+ let t = this.context.pop();
544
+ t === o && e === n.slash || t === s ? (this.context.pop(), this.exprAllowed = this.curContext() === c) : this.exprAllowed = !0;
545
+ }, t = {
546
+ tokContexts: l,
547
+ tokTypes: u
548
+ }, a.set(e, t);
549
+ }
550
+ return t;
551
+ }
552
+ function s(e) {
553
+ if (!e) return e;
554
+ if (e.type === "JSXIdentifier") return e.name;
555
+ if (e.type === "JSXNamespacedName") return e.namespace.name + ":" + e.name.name;
556
+ if (e.type === "JSXMemberExpression") return s(e.object) + "." + s(e.property);
557
+ }
558
+ t.exports = function(e) {
559
+ return e ||= {}, function(t) {
560
+ return c({
561
+ allowNamespaces: e.allowNamespaces !== !1,
562
+ allowNamespacedObjects: !!e.allowNamespacedObjects
563
+ }, t);
564
+ };
565
+ }, Object.defineProperty(t.exports, "tokTypes", {
566
+ get: function() {
567
+ return o(void 0).tokTypes;
568
+ },
569
+ configurable: !0,
570
+ enumerable: !0
571
+ });
572
+ function c(e, t) {
573
+ let a = t.acorn || void 0, c = o(a), l = a.tokTypes, u = c.tokTypes, d = a.tokContexts, f = c.tokContexts.tc_oTag, p = c.tokContexts.tc_cTag, m = c.tokContexts.tc_expr, h = a.isNewLine, g = a.isIdentifierStart, _ = a.isIdentifierChar;
574
+ return class extends t {
575
+ static get acornJsx() {
576
+ return c;
577
+ }
578
+ jsx_readToken() {
579
+ let e = "", t = this.pos;
580
+ for (;;) {
581
+ this.pos >= this.input.length && this.raise(this.start, "Unterminated JSX contents");
582
+ let n = this.input.charCodeAt(this.pos);
583
+ switch (n) {
584
+ case 60:
585
+ case 123: return this.pos === this.start ? n === 60 && this.exprAllowed ? (++this.pos, this.finishToken(u.jsxTagStart)) : this.getTokenFromCode(n) : (e += this.input.slice(t, this.pos), this.finishToken(u.jsxText, e));
586
+ case 38:
587
+ e += this.input.slice(t, this.pos), e += this.jsx_readEntity(), t = this.pos;
588
+ break;
589
+ case 62:
590
+ case 125: this.raise(this.pos, "Unexpected token `" + this.input[this.pos] + "`. Did you mean `" + (n === 62 ? "&gt;" : "&rbrace;") + "` or `{\"" + this.input[this.pos] + "\"}`?");
591
+ default: h(n) ? (e += this.input.slice(t, this.pos), e += this.jsx_readNewLine(!0), t = this.pos) : ++this.pos;
592
+ }
593
+ }
594
+ }
595
+ jsx_readNewLine(e) {
596
+ let t = this.input.charCodeAt(this.pos), n;
597
+ return ++this.pos, t === 13 && this.input.charCodeAt(this.pos) === 10 ? (++this.pos, n = e ? "\n" : "\r\n") : n = String.fromCharCode(t), this.options.locations && (++this.curLine, this.lineStart = this.pos), n;
598
+ }
599
+ jsx_readString(e) {
600
+ let t = "", n = ++this.pos;
601
+ for (;;) {
602
+ this.pos >= this.input.length && this.raise(this.start, "Unterminated string constant");
603
+ let r = this.input.charCodeAt(this.pos);
604
+ if (r === e) break;
605
+ r === 38 ? (t += this.input.slice(n, this.pos), t += this.jsx_readEntity(), n = this.pos) : h(r) ? (t += this.input.slice(n, this.pos), t += this.jsx_readNewLine(!1), n = this.pos) : ++this.pos;
606
+ }
607
+ return t += this.input.slice(n, this.pos++), this.finishToken(l.string, t);
608
+ }
609
+ jsx_readEntity() {
610
+ let e = "", t = 0, a, o = this.input[this.pos];
611
+ o !== "&" && this.raise(this.pos, "Entity must start with an ampersand");
612
+ let s = ++this.pos;
613
+ for (; this.pos < this.input.length && t++ < 10;) {
614
+ if (o = this.input[this.pos++], o === ";") {
615
+ e[0] === "#" ? e[1] === "x" ? (e = e.substr(2), r.test(e) && (a = String.fromCharCode(parseInt(e, 16)))) : (e = e.substr(1), i.test(e) && (a = String.fromCharCode(parseInt(e, 10)))) : a = n[e];
616
+ break;
617
+ }
618
+ e += o;
619
+ }
620
+ return a || (this.pos = s, "&");
621
+ }
622
+ jsx_readWord() {
623
+ let e, t = this.pos;
624
+ do
625
+ e = this.input.charCodeAt(++this.pos);
626
+ while (_(e) || e === 45);
627
+ return this.finishToken(u.jsxName, this.input.slice(t, this.pos));
628
+ }
629
+ jsx_parseIdentifier() {
630
+ let e = this.startNode();
631
+ return this.type === u.jsxName ? e.name = this.value : this.type.keyword ? e.name = this.type.keyword : this.unexpected(), this.next(), this.finishNode(e, "JSXIdentifier");
632
+ }
633
+ jsx_parseNamespacedName() {
634
+ let t = this.start, n = this.startLoc, r = this.jsx_parseIdentifier();
635
+ if (!e.allowNamespaces || !this.eat(l.colon)) return r;
636
+ var i = this.startNodeAt(t, n);
637
+ return i.namespace = r, i.name = this.jsx_parseIdentifier(), this.finishNode(i, "JSXNamespacedName");
638
+ }
639
+ jsx_parseElementName() {
640
+ if (this.type === u.jsxTagEnd) return "";
641
+ let t = this.start, n = this.startLoc, r = this.jsx_parseNamespacedName();
642
+ for (this.type === l.dot && r.type === "JSXNamespacedName" && !e.allowNamespacedObjects && this.unexpected(); this.eat(l.dot);) {
643
+ let e = this.startNodeAt(t, n);
644
+ e.object = r, e.property = this.jsx_parseIdentifier(), r = this.finishNode(e, "JSXMemberExpression");
645
+ }
646
+ return r;
647
+ }
648
+ jsx_parseAttributeValue() {
649
+ switch (this.type) {
650
+ case l.braceL:
651
+ let e = this.jsx_parseExpressionContainer();
652
+ return e.expression.type === "JSXEmptyExpression" && this.raise(e.start, "JSX attributes must only be assigned a non-empty expression"), e;
653
+ case u.jsxTagStart:
654
+ case l.string: return this.parseExprAtom();
655
+ default: this.raise(this.start, "JSX value should be either an expression or a quoted JSX text");
656
+ }
657
+ }
658
+ jsx_parseEmptyExpression() {
659
+ let e = this.startNodeAt(this.lastTokEnd, this.lastTokEndLoc);
660
+ return this.finishNodeAt(e, "JSXEmptyExpression", this.start, this.startLoc);
661
+ }
662
+ jsx_parseExpressionContainer() {
663
+ let e = this.startNode();
664
+ return this.next(), e.expression = this.type === l.braceR ? this.jsx_parseEmptyExpression() : this.parseExpression(), this.expect(l.braceR), this.finishNode(e, "JSXExpressionContainer");
665
+ }
666
+ jsx_parseAttribute() {
667
+ let e = this.startNode();
668
+ return this.eat(l.braceL) ? (this.expect(l.ellipsis), e.argument = this.parseMaybeAssign(), this.expect(l.braceR), this.finishNode(e, "JSXSpreadAttribute")) : (e.name = this.jsx_parseNamespacedName(), e.value = this.eat(l.eq) ? this.jsx_parseAttributeValue() : null, this.finishNode(e, "JSXAttribute"));
669
+ }
670
+ jsx_parseOpeningElementAt(e, t) {
671
+ let n = this.startNodeAt(e, t);
672
+ n.attributes = [];
673
+ let r = this.jsx_parseElementName();
674
+ for (r && (n.name = r); this.type !== l.slash && this.type !== u.jsxTagEnd;) n.attributes.push(this.jsx_parseAttribute());
675
+ return n.selfClosing = this.eat(l.slash), this.expect(u.jsxTagEnd), this.finishNode(n, r ? "JSXOpeningElement" : "JSXOpeningFragment");
676
+ }
677
+ jsx_parseClosingElementAt(e, t) {
678
+ let n = this.startNodeAt(e, t), r = this.jsx_parseElementName();
679
+ return r && (n.name = r), this.expect(u.jsxTagEnd), this.finishNode(n, r ? "JSXClosingElement" : "JSXClosingFragment");
680
+ }
681
+ jsx_parseElementAt(e, t) {
682
+ let n = this.startNodeAt(e, t), r = [], i = this.jsx_parseOpeningElementAt(e, t), a = null;
683
+ if (!i.selfClosing) {
684
+ e: for (;;) switch (this.type) {
685
+ case u.jsxTagStart:
686
+ if (e = this.start, t = this.startLoc, this.next(), this.eat(l.slash)) {
687
+ a = this.jsx_parseClosingElementAt(e, t);
688
+ break e;
689
+ }
690
+ r.push(this.jsx_parseElementAt(e, t));
691
+ break;
692
+ case u.jsxText:
693
+ r.push(this.parseExprAtom());
694
+ break;
695
+ case l.braceL:
696
+ r.push(this.jsx_parseExpressionContainer());
697
+ break;
698
+ default: this.unexpected();
699
+ }
700
+ s(a.name) !== s(i.name) && this.raise(a.start, "Expected corresponding JSX closing tag for <" + s(i.name) + ">");
701
+ }
702
+ let o = i.name ? "Element" : "Fragment";
703
+ return n["opening" + o] = i, n["closing" + o] = a, n.children = r, this.type === l.relational && this.value === "<" && this.raise(this.start, "Adjacent JSX elements must be wrapped in an enclosing tag"), this.finishNode(n, "JSX" + o);
704
+ }
705
+ jsx_parseText() {
706
+ let e = this.parseLiteral(this.value);
707
+ return e.type = "JSXText", e;
708
+ }
709
+ jsx_parseElement() {
710
+ let e = this.start, t = this.startLoc;
711
+ return this.next(), this.jsx_parseElementAt(e, t);
712
+ }
713
+ parseExprAtom(e) {
714
+ return this.type === u.jsxText ? this.jsx_parseText() : this.type === u.jsxTagStart ? this.jsx_parseElement() : super.parseExprAtom(e);
715
+ }
716
+ readToken(e) {
717
+ let t = this.curContext();
718
+ if (t === m) return this.jsx_readToken();
719
+ if (t === f || t === p) {
720
+ if (g(e)) return this.jsx_readWord();
721
+ if (e == 62) return ++this.pos, this.finishToken(u.jsxTagEnd);
722
+ if ((e === 34 || e === 39) && t == f) return this.jsx_readString(e);
723
+ }
724
+ return e === 60 && this.exprAllowed && this.input.charCodeAt(this.pos + 1) !== 33 ? (++this.pos, this.finishToken(u.jsxTagStart)) : super.readToken(e);
725
+ }
726
+ updateContext(e) {
727
+ if (this.type == l.braceL) {
728
+ var t = this.curContext();
729
+ t == f ? this.context.push(d.b_expr) : t == m ? this.context.push(d.b_tmpl) : super.updateContext(e), this.exprAllowed = !0;
730
+ } else if (this.type === l.slash && e === u.jsxTagStart) this.context.length -= 2, this.context.push(p), this.exprAllowed = !1;
731
+ else return super.updateContext(e);
732
+ }
733
+ };
734
+ }
735
+ }), gt = {}, dt(gt, { parsers: () => jr }), _t = [
736
+ 509,
737
+ 0,
738
+ 227,
739
+ 0,
740
+ 150,
741
+ 4,
742
+ 294,
743
+ 9,
744
+ 1368,
745
+ 2,
746
+ 2,
747
+ 1,
748
+ 6,
749
+ 3,
750
+ 41,
751
+ 2,
752
+ 5,
753
+ 0,
754
+ 166,
755
+ 1,
756
+ 574,
757
+ 3,
758
+ 9,
759
+ 9,
760
+ 7,
761
+ 9,
762
+ 32,
763
+ 4,
764
+ 318,
765
+ 1,
766
+ 80,
767
+ 3,
768
+ 71,
769
+ 10,
770
+ 50,
771
+ 3,
772
+ 123,
773
+ 2,
774
+ 54,
775
+ 14,
776
+ 32,
777
+ 10,
778
+ 3,
779
+ 1,
780
+ 11,
781
+ 3,
782
+ 46,
783
+ 10,
784
+ 8,
785
+ 0,
786
+ 46,
787
+ 9,
788
+ 7,
789
+ 2,
790
+ 37,
791
+ 13,
792
+ 2,
793
+ 9,
794
+ 6,
795
+ 1,
796
+ 45,
797
+ 0,
798
+ 13,
799
+ 2,
800
+ 49,
801
+ 13,
802
+ 9,
803
+ 3,
804
+ 2,
805
+ 11,
806
+ 83,
807
+ 11,
808
+ 7,
809
+ 0,
810
+ 3,
811
+ 0,
812
+ 158,
813
+ 11,
814
+ 6,
815
+ 9,
816
+ 7,
817
+ 3,
818
+ 56,
819
+ 1,
820
+ 2,
821
+ 6,
822
+ 3,
823
+ 1,
824
+ 3,
825
+ 2,
826
+ 10,
827
+ 0,
828
+ 11,
829
+ 1,
830
+ 3,
831
+ 6,
832
+ 4,
833
+ 4,
834
+ 68,
835
+ 8,
836
+ 2,
837
+ 0,
838
+ 3,
839
+ 0,
840
+ 2,
841
+ 3,
842
+ 2,
843
+ 4,
844
+ 2,
845
+ 0,
846
+ 15,
847
+ 1,
848
+ 83,
849
+ 17,
850
+ 10,
851
+ 9,
852
+ 5,
853
+ 0,
854
+ 82,
855
+ 19,
856
+ 13,
857
+ 9,
858
+ 214,
859
+ 6,
860
+ 3,
861
+ 8,
862
+ 28,
863
+ 1,
864
+ 83,
865
+ 16,
866
+ 16,
867
+ 9,
868
+ 82,
869
+ 12,
870
+ 9,
871
+ 9,
872
+ 7,
873
+ 19,
874
+ 58,
875
+ 14,
876
+ 5,
877
+ 9,
878
+ 243,
879
+ 14,
880
+ 166,
881
+ 9,
882
+ 71,
883
+ 5,
884
+ 2,
885
+ 1,
886
+ 3,
887
+ 3,
888
+ 2,
889
+ 0,
890
+ 2,
891
+ 1,
892
+ 13,
893
+ 9,
894
+ 120,
895
+ 6,
896
+ 3,
897
+ 6,
898
+ 4,
899
+ 0,
900
+ 29,
901
+ 9,
902
+ 41,
903
+ 6,
904
+ 2,
905
+ 3,
906
+ 9,
907
+ 0,
908
+ 10,
909
+ 10,
910
+ 47,
911
+ 15,
912
+ 343,
913
+ 9,
914
+ 54,
915
+ 7,
916
+ 2,
917
+ 7,
918
+ 17,
919
+ 9,
920
+ 57,
921
+ 21,
922
+ 2,
923
+ 13,
924
+ 123,
925
+ 5,
926
+ 4,
927
+ 0,
928
+ 2,
929
+ 1,
930
+ 2,
931
+ 6,
932
+ 2,
933
+ 0,
934
+ 9,
935
+ 9,
936
+ 49,
937
+ 4,
938
+ 2,
939
+ 1,
940
+ 2,
941
+ 4,
942
+ 9,
943
+ 9,
944
+ 330,
945
+ 3,
946
+ 10,
947
+ 1,
948
+ 2,
949
+ 0,
950
+ 49,
951
+ 6,
952
+ 4,
953
+ 4,
954
+ 14,
955
+ 10,
956
+ 5350,
957
+ 0,
958
+ 7,
959
+ 14,
960
+ 11465,
961
+ 27,
962
+ 2343,
963
+ 9,
964
+ 87,
965
+ 9,
966
+ 39,
967
+ 4,
968
+ 60,
969
+ 6,
970
+ 26,
971
+ 9,
972
+ 535,
973
+ 9,
974
+ 470,
975
+ 0,
976
+ 2,
977
+ 54,
978
+ 8,
979
+ 3,
980
+ 82,
981
+ 0,
982
+ 12,
983
+ 1,
984
+ 19628,
985
+ 1,
986
+ 4178,
987
+ 9,
988
+ 519,
989
+ 45,
990
+ 3,
991
+ 22,
992
+ 543,
993
+ 4,
994
+ 4,
995
+ 5,
996
+ 9,
997
+ 7,
998
+ 3,
999
+ 6,
1000
+ 31,
1001
+ 3,
1002
+ 149,
1003
+ 2,
1004
+ 1418,
1005
+ 49,
1006
+ 513,
1007
+ 54,
1008
+ 5,
1009
+ 49,
1010
+ 9,
1011
+ 0,
1012
+ 15,
1013
+ 0,
1014
+ 23,
1015
+ 4,
1016
+ 2,
1017
+ 14,
1018
+ 1361,
1019
+ 6,
1020
+ 2,
1021
+ 16,
1022
+ 3,
1023
+ 6,
1024
+ 2,
1025
+ 1,
1026
+ 2,
1027
+ 4,
1028
+ 101,
1029
+ 0,
1030
+ 161,
1031
+ 6,
1032
+ 10,
1033
+ 9,
1034
+ 357,
1035
+ 0,
1036
+ 62,
1037
+ 13,
1038
+ 499,
1039
+ 13,
1040
+ 245,
1041
+ 1,
1042
+ 2,
1043
+ 9,
1044
+ 726,
1045
+ 6,
1046
+ 110,
1047
+ 6,
1048
+ 6,
1049
+ 9,
1050
+ 4759,
1051
+ 9,
1052
+ 787719,
1053
+ 239
1054
+ ], vt = [
1055
+ 0,
1056
+ 11,
1057
+ 2,
1058
+ 25,
1059
+ 2,
1060
+ 18,
1061
+ 2,
1062
+ 1,
1063
+ 2,
1064
+ 14,
1065
+ 3,
1066
+ 13,
1067
+ 35,
1068
+ 122,
1069
+ 70,
1070
+ 52,
1071
+ 268,
1072
+ 28,
1073
+ 4,
1074
+ 48,
1075
+ 48,
1076
+ 31,
1077
+ 14,
1078
+ 29,
1079
+ 6,
1080
+ 37,
1081
+ 11,
1082
+ 29,
1083
+ 3,
1084
+ 35,
1085
+ 5,
1086
+ 7,
1087
+ 2,
1088
+ 4,
1089
+ 43,
1090
+ 157,
1091
+ 19,
1092
+ 35,
1093
+ 5,
1094
+ 35,
1095
+ 5,
1096
+ 39,
1097
+ 9,
1098
+ 51,
1099
+ 13,
1100
+ 10,
1101
+ 2,
1102
+ 14,
1103
+ 2,
1104
+ 6,
1105
+ 2,
1106
+ 1,
1107
+ 2,
1108
+ 10,
1109
+ 2,
1110
+ 14,
1111
+ 2,
1112
+ 6,
1113
+ 2,
1114
+ 1,
1115
+ 4,
1116
+ 51,
1117
+ 13,
1118
+ 310,
1119
+ 10,
1120
+ 21,
1121
+ 11,
1122
+ 7,
1123
+ 25,
1124
+ 5,
1125
+ 2,
1126
+ 41,
1127
+ 2,
1128
+ 8,
1129
+ 70,
1130
+ 5,
1131
+ 3,
1132
+ 0,
1133
+ 2,
1134
+ 43,
1135
+ 2,
1136
+ 1,
1137
+ 4,
1138
+ 0,
1139
+ 3,
1140
+ 22,
1141
+ 11,
1142
+ 22,
1143
+ 10,
1144
+ 30,
1145
+ 66,
1146
+ 18,
1147
+ 2,
1148
+ 1,
1149
+ 11,
1150
+ 21,
1151
+ 11,
1152
+ 25,
1153
+ 71,
1154
+ 55,
1155
+ 7,
1156
+ 1,
1157
+ 65,
1158
+ 0,
1159
+ 16,
1160
+ 3,
1161
+ 2,
1162
+ 2,
1163
+ 2,
1164
+ 28,
1165
+ 43,
1166
+ 28,
1167
+ 4,
1168
+ 28,
1169
+ 36,
1170
+ 7,
1171
+ 2,
1172
+ 27,
1173
+ 28,
1174
+ 53,
1175
+ 11,
1176
+ 21,
1177
+ 11,
1178
+ 18,
1179
+ 14,
1180
+ 17,
1181
+ 111,
1182
+ 72,
1183
+ 56,
1184
+ 50,
1185
+ 14,
1186
+ 50,
1187
+ 14,
1188
+ 35,
1189
+ 39,
1190
+ 27,
1191
+ 10,
1192
+ 22,
1193
+ 251,
1194
+ 41,
1195
+ 7,
1196
+ 1,
1197
+ 17,
1198
+ 2,
1199
+ 60,
1200
+ 28,
1201
+ 11,
1202
+ 0,
1203
+ 9,
1204
+ 21,
1205
+ 43,
1206
+ 17,
1207
+ 47,
1208
+ 20,
1209
+ 28,
1210
+ 22,
1211
+ 13,
1212
+ 52,
1213
+ 58,
1214
+ 1,
1215
+ 3,
1216
+ 0,
1217
+ 14,
1218
+ 44,
1219
+ 33,
1220
+ 24,
1221
+ 27,
1222
+ 35,
1223
+ 30,
1224
+ 0,
1225
+ 3,
1226
+ 0,
1227
+ 9,
1228
+ 34,
1229
+ 4,
1230
+ 0,
1231
+ 13,
1232
+ 47,
1233
+ 15,
1234
+ 3,
1235
+ 22,
1236
+ 0,
1237
+ 2,
1238
+ 0,
1239
+ 36,
1240
+ 17,
1241
+ 2,
1242
+ 24,
1243
+ 20,
1244
+ 1,
1245
+ 64,
1246
+ 6,
1247
+ 2,
1248
+ 0,
1249
+ 2,
1250
+ 3,
1251
+ 2,
1252
+ 14,
1253
+ 2,
1254
+ 9,
1255
+ 8,
1256
+ 46,
1257
+ 39,
1258
+ 7,
1259
+ 3,
1260
+ 1,
1261
+ 3,
1262
+ 21,
1263
+ 2,
1264
+ 6,
1265
+ 2,
1266
+ 1,
1267
+ 2,
1268
+ 4,
1269
+ 4,
1270
+ 0,
1271
+ 19,
1272
+ 0,
1273
+ 13,
1274
+ 4,
1275
+ 31,
1276
+ 9,
1277
+ 2,
1278
+ 0,
1279
+ 3,
1280
+ 0,
1281
+ 2,
1282
+ 37,
1283
+ 2,
1284
+ 0,
1285
+ 26,
1286
+ 0,
1287
+ 2,
1288
+ 0,
1289
+ 45,
1290
+ 52,
1291
+ 19,
1292
+ 3,
1293
+ 21,
1294
+ 2,
1295
+ 31,
1296
+ 47,
1297
+ 21,
1298
+ 1,
1299
+ 2,
1300
+ 0,
1301
+ 185,
1302
+ 46,
1303
+ 42,
1304
+ 3,
1305
+ 37,
1306
+ 47,
1307
+ 21,
1308
+ 0,
1309
+ 60,
1310
+ 42,
1311
+ 14,
1312
+ 0,
1313
+ 72,
1314
+ 26,
1315
+ 38,
1316
+ 6,
1317
+ 186,
1318
+ 43,
1319
+ 117,
1320
+ 63,
1321
+ 32,
1322
+ 7,
1323
+ 3,
1324
+ 0,
1325
+ 3,
1326
+ 7,
1327
+ 2,
1328
+ 1,
1329
+ 2,
1330
+ 23,
1331
+ 16,
1332
+ 0,
1333
+ 2,
1334
+ 0,
1335
+ 95,
1336
+ 7,
1337
+ 3,
1338
+ 38,
1339
+ 17,
1340
+ 0,
1341
+ 2,
1342
+ 0,
1343
+ 29,
1344
+ 0,
1345
+ 11,
1346
+ 39,
1347
+ 8,
1348
+ 0,
1349
+ 22,
1350
+ 0,
1351
+ 12,
1352
+ 45,
1353
+ 20,
1354
+ 0,
1355
+ 19,
1356
+ 72,
1357
+ 200,
1358
+ 32,
1359
+ 32,
1360
+ 8,
1361
+ 2,
1362
+ 36,
1363
+ 18,
1364
+ 0,
1365
+ 50,
1366
+ 29,
1367
+ 113,
1368
+ 6,
1369
+ 2,
1370
+ 1,
1371
+ 2,
1372
+ 37,
1373
+ 22,
1374
+ 0,
1375
+ 26,
1376
+ 5,
1377
+ 2,
1378
+ 1,
1379
+ 2,
1380
+ 31,
1381
+ 15,
1382
+ 0,
1383
+ 328,
1384
+ 18,
1385
+ 16,
1386
+ 0,
1387
+ 2,
1388
+ 12,
1389
+ 2,
1390
+ 33,
1391
+ 125,
1392
+ 0,
1393
+ 80,
1394
+ 921,
1395
+ 103,
1396
+ 110,
1397
+ 18,
1398
+ 195,
1399
+ 2637,
1400
+ 96,
1401
+ 16,
1402
+ 1071,
1403
+ 18,
1404
+ 5,
1405
+ 26,
1406
+ 3994,
1407
+ 6,
1408
+ 582,
1409
+ 6842,
1410
+ 29,
1411
+ 1763,
1412
+ 568,
1413
+ 8,
1414
+ 30,
1415
+ 18,
1416
+ 78,
1417
+ 18,
1418
+ 29,
1419
+ 19,
1420
+ 47,
1421
+ 17,
1422
+ 3,
1423
+ 32,
1424
+ 20,
1425
+ 6,
1426
+ 18,
1427
+ 433,
1428
+ 44,
1429
+ 212,
1430
+ 63,
1431
+ 129,
1432
+ 74,
1433
+ 6,
1434
+ 0,
1435
+ 67,
1436
+ 12,
1437
+ 65,
1438
+ 1,
1439
+ 2,
1440
+ 0,
1441
+ 29,
1442
+ 6135,
1443
+ 9,
1444
+ 1237,
1445
+ 42,
1446
+ 9,
1447
+ 8936,
1448
+ 3,
1449
+ 2,
1450
+ 6,
1451
+ 2,
1452
+ 1,
1453
+ 2,
1454
+ 290,
1455
+ 16,
1456
+ 0,
1457
+ 30,
1458
+ 2,
1459
+ 3,
1460
+ 0,
1461
+ 15,
1462
+ 3,
1463
+ 9,
1464
+ 395,
1465
+ 2309,
1466
+ 106,
1467
+ 6,
1468
+ 12,
1469
+ 4,
1470
+ 8,
1471
+ 8,
1472
+ 9,
1473
+ 5991,
1474
+ 84,
1475
+ 2,
1476
+ 70,
1477
+ 2,
1478
+ 1,
1479
+ 3,
1480
+ 0,
1481
+ 3,
1482
+ 1,
1483
+ 3,
1484
+ 3,
1485
+ 2,
1486
+ 11,
1487
+ 2,
1488
+ 0,
1489
+ 2,
1490
+ 6,
1491
+ 2,
1492
+ 64,
1493
+ 2,
1494
+ 3,
1495
+ 3,
1496
+ 7,
1497
+ 2,
1498
+ 6,
1499
+ 2,
1500
+ 27,
1501
+ 2,
1502
+ 3,
1503
+ 2,
1504
+ 4,
1505
+ 2,
1506
+ 0,
1507
+ 4,
1508
+ 6,
1509
+ 2,
1510
+ 339,
1511
+ 3,
1512
+ 24,
1513
+ 2,
1514
+ 24,
1515
+ 2,
1516
+ 30,
1517
+ 2,
1518
+ 24,
1519
+ 2,
1520
+ 30,
1521
+ 2,
1522
+ 24,
1523
+ 2,
1524
+ 30,
1525
+ 2,
1526
+ 24,
1527
+ 2,
1528
+ 30,
1529
+ 2,
1530
+ 24,
1531
+ 2,
1532
+ 7,
1533
+ 1845,
1534
+ 30,
1535
+ 7,
1536
+ 5,
1537
+ 262,
1538
+ 61,
1539
+ 147,
1540
+ 44,
1541
+ 11,
1542
+ 6,
1543
+ 17,
1544
+ 0,
1545
+ 322,
1546
+ 29,
1547
+ 19,
1548
+ 43,
1549
+ 485,
1550
+ 27,
1551
+ 229,
1552
+ 29,
1553
+ 3,
1554
+ 0,
1555
+ 496,
1556
+ 6,
1557
+ 2,
1558
+ 3,
1559
+ 2,
1560
+ 1,
1561
+ 2,
1562
+ 14,
1563
+ 2,
1564
+ 196,
1565
+ 60,
1566
+ 67,
1567
+ 8,
1568
+ 0,
1569
+ 1205,
1570
+ 3,
1571
+ 2,
1572
+ 26,
1573
+ 2,
1574
+ 1,
1575
+ 2,
1576
+ 0,
1577
+ 3,
1578
+ 0,
1579
+ 2,
1580
+ 9,
1581
+ 2,
1582
+ 3,
1583
+ 2,
1584
+ 0,
1585
+ 2,
1586
+ 0,
1587
+ 7,
1588
+ 0,
1589
+ 5,
1590
+ 0,
1591
+ 2,
1592
+ 0,
1593
+ 2,
1594
+ 0,
1595
+ 2,
1596
+ 2,
1597
+ 2,
1598
+ 1,
1599
+ 2,
1600
+ 0,
1601
+ 3,
1602
+ 0,
1603
+ 2,
1604
+ 0,
1605
+ 2,
1606
+ 0,
1607
+ 2,
1608
+ 0,
1609
+ 2,
1610
+ 0,
1611
+ 2,
1612
+ 1,
1613
+ 2,
1614
+ 0,
1615
+ 3,
1616
+ 3,
1617
+ 2,
1618
+ 6,
1619
+ 2,
1620
+ 3,
1621
+ 2,
1622
+ 3,
1623
+ 2,
1624
+ 0,
1625
+ 2,
1626
+ 9,
1627
+ 2,
1628
+ 16,
1629
+ 6,
1630
+ 2,
1631
+ 2,
1632
+ 4,
1633
+ 2,
1634
+ 16,
1635
+ 4421,
1636
+ 42719,
1637
+ 33,
1638
+ 4153,
1639
+ 7,
1640
+ 221,
1641
+ 3,
1642
+ 5761,
1643
+ 15,
1644
+ 7472,
1645
+ 16,
1646
+ 621,
1647
+ 2467,
1648
+ 541,
1649
+ 1507,
1650
+ 4938,
1651
+ 6,
1652
+ 4191
1653
+ ], yt = "‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・", bt = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", xt = {
1654
+ 3: "abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",
1655
+ 5: "class enum extends super const export import",
1656
+ 6: "enum",
1657
+ strict: "implements interface let package private protected public static yield",
1658
+ strictBind: "eval arguments"
1659
+ }, St = "break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this", Ct = {
1660
+ 5: St,
1661
+ "5module": St + " export import",
1662
+ 6: St + " const class extends export import super"
1663
+ }, wt = /^in(stanceof)?$/, Tt = RegExp("[" + bt + "]"), Et = RegExp("[" + bt + yt + "]"), b = function(e, t) {
1664
+ t === void 0 && (t = {}), this.label = e, this.keyword = t.keyword, this.beforeExpr = !!t.beforeExpr, this.startsExpr = !!t.startsExpr, this.isLoop = !!t.isLoop, this.isAssign = !!t.isAssign, this.prefix = !!t.prefix, this.postfix = !!t.postfix, this.binop = t.binop || null, this.updateContext = null;
1665
+ }, x = { beforeExpr: !0 }, S = { startsExpr: !0 }, Dt = {}, C = {
1666
+ num: new b("num", S),
1667
+ regexp: new b("regexp", S),
1668
+ string: new b("string", S),
1669
+ name: new b("name", S),
1670
+ privateId: new b("privateId", S),
1671
+ eof: new b("eof"),
1672
+ bracketL: new b("[", {
1673
+ beforeExpr: !0,
1674
+ startsExpr: !0
1675
+ }),
1676
+ bracketR: new b("]"),
1677
+ braceL: new b("{", {
1678
+ beforeExpr: !0,
1679
+ startsExpr: !0
1680
+ }),
1681
+ braceR: new b("}"),
1682
+ parenL: new b("(", {
1683
+ beforeExpr: !0,
1684
+ startsExpr: !0
1685
+ }),
1686
+ parenR: new b(")"),
1687
+ comma: new b(",", x),
1688
+ semi: new b(";", x),
1689
+ colon: new b(":", x),
1690
+ dot: new b("."),
1691
+ question: new b("?", x),
1692
+ questionDot: new b("?."),
1693
+ arrow: new b("=>", x),
1694
+ template: new b("template"),
1695
+ invalidTemplate: new b("invalidTemplate"),
1696
+ ellipsis: new b("...", x),
1697
+ backQuote: new b("`", S),
1698
+ dollarBraceL: new b("${", {
1699
+ beforeExpr: !0,
1700
+ startsExpr: !0
1701
+ }),
1702
+ eq: new b("=", {
1703
+ beforeExpr: !0,
1704
+ isAssign: !0
1705
+ }),
1706
+ assign: new b("_=", {
1707
+ beforeExpr: !0,
1708
+ isAssign: !0
1709
+ }),
1710
+ incDec: new b("++/--", {
1711
+ prefix: !0,
1712
+ postfix: !0,
1713
+ startsExpr: !0
1714
+ }),
1715
+ prefix: new b("!/~", {
1716
+ beforeExpr: !0,
1717
+ prefix: !0,
1718
+ startsExpr: !0
1719
+ }),
1720
+ logicalOR: i("||", 1),
1721
+ logicalAND: i("&&", 2),
1722
+ bitwiseOR: i("|", 3),
1723
+ bitwiseXOR: i("^", 4),
1724
+ bitwiseAND: i("&", 5),
1725
+ equality: i("==/!=/===/!==", 6),
1726
+ relational: i("</>/<=/>=", 7),
1727
+ bitShift: i("<</>>/>>>", 8),
1728
+ plusMin: new b("+/-", {
1729
+ beforeExpr: !0,
1730
+ binop: 9,
1731
+ prefix: !0,
1732
+ startsExpr: !0
1733
+ }),
1734
+ modulo: i("%", 10),
1735
+ star: i("*", 10),
1736
+ slash: i("/", 10),
1737
+ starstar: new b("**", { beforeExpr: !0 }),
1738
+ coalesce: i("??", 1),
1739
+ _break: a("break"),
1740
+ _case: a("case", x),
1741
+ _catch: a("catch"),
1742
+ _continue: a("continue"),
1743
+ _debugger: a("debugger"),
1744
+ _default: a("default", x),
1745
+ _do: a("do", {
1746
+ isLoop: !0,
1747
+ beforeExpr: !0
1748
+ }),
1749
+ _else: a("else", x),
1750
+ _finally: a("finally"),
1751
+ _for: a("for", { isLoop: !0 }),
1752
+ _function: a("function", S),
1753
+ _if: a("if"),
1754
+ _return: a("return", x),
1755
+ _switch: a("switch"),
1756
+ _throw: a("throw", x),
1757
+ _try: a("try"),
1758
+ _var: a("var"),
1759
+ _const: a("const"),
1760
+ _while: a("while", { isLoop: !0 }),
1761
+ _with: a("with"),
1762
+ _new: a("new", {
1763
+ beforeExpr: !0,
1764
+ startsExpr: !0
1765
+ }),
1766
+ _this: a("this", S),
1767
+ _super: a("super", S),
1768
+ _class: a("class", S),
1769
+ _extends: a("extends", x),
1770
+ _export: a("export"),
1771
+ _import: a("import", S),
1772
+ _null: a("null", S),
1773
+ _true: a("true", S),
1774
+ _false: a("false", S),
1775
+ _in: a("in", {
1776
+ beforeExpr: !0,
1777
+ binop: 7
1778
+ }),
1779
+ _instanceof: a("instanceof", {
1780
+ beforeExpr: !0,
1781
+ binop: 7
1782
+ }),
1783
+ _typeof: a("typeof", {
1784
+ beforeExpr: !0,
1785
+ prefix: !0,
1786
+ startsExpr: !0
1787
+ }),
1788
+ _void: a("void", {
1789
+ beforeExpr: !0,
1790
+ prefix: !0,
1791
+ startsExpr: !0
1792
+ }),
1793
+ _delete: a("delete", {
1794
+ beforeExpr: !0,
1795
+ prefix: !0,
1796
+ startsExpr: !0
1797
+ })
1798
+ }, w = /\r\n?|\n|\u2028|\u2029/, Ot = new RegExp(w.source, "g"), kt = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/, T = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, At = Object.prototype, jt = At.hasOwnProperty, Mt = At.toString, E = Object.hasOwn || (function(e, t) {
1799
+ return jt.call(e, t);
1800
+ }), Nt = Array.isArray || (function(e) {
1801
+ return Mt.call(e) === "[object Array]";
1802
+ }), Pt = Object.create(null), Ft = /(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/, D = function(e, t) {
1803
+ this.line = e, this.column = t;
1804
+ }, D.prototype.offset = function(e) {
1805
+ return new D(this.line, this.column + e);
1806
+ }, It = function(e, t, n) {
1807
+ this.start = t, this.end = n, e.sourceFile !== null && (this.source = e.sourceFile);
1808
+ }, Lt = {
1809
+ ecmaVersion: null,
1810
+ sourceType: "script",
1811
+ onInsertedSemicolon: null,
1812
+ onTrailingComma: null,
1813
+ allowReserved: null,
1814
+ allowReturnOutsideFunction: !1,
1815
+ allowImportExportEverywhere: !1,
1816
+ allowAwaitOutsideFunction: null,
1817
+ allowSuperOutsideMethod: null,
1818
+ allowHashBang: !1,
1819
+ checkPrivateFields: !0,
1820
+ locations: !1,
1821
+ onToken: null,
1822
+ onComment: null,
1823
+ ranges: !1,
1824
+ program: null,
1825
+ sourceFile: null,
1826
+ directSourceFile: null,
1827
+ preserveParens: !1
1828
+ }, Rt = !1, O = 1, k = 2, zt = 4, Bt = 8, Vt = 16, Ht = 32, Ut = 64, Wt = 128, A = 256, j = 512, Gt = O | k | A, Kt = 0, qt = 1, M = 2, Jt = 3, Yt = 4, Xt = 5, N = function(e, t, n) {
1829
+ this.options = e = d(e), this.sourceFile = e.sourceFile, this.keywords = c(Ct[e.ecmaVersion >= 6 ? 6 : e.sourceType === "module" ? "5module" : 5]);
1830
+ var r = "";
1831
+ e.allowReserved !== !0 && (r = xt[e.ecmaVersion >= 6 ? 6 : e.ecmaVersion === 5 ? 5 : 3], e.sourceType === "module" && (r += " await")), this.reservedWords = c(r);
1832
+ var i = (r ? r + " " : "") + xt.strict;
1833
+ this.reservedWordsStrict = c(i), this.reservedWordsStrictBind = c(i + " " + xt.strictBind), this.input = String(t), this.containsEsc = !1, n ? (this.pos = n, this.lineStart = this.input.lastIndexOf("\n", n - 1) + 1, this.curLine = this.input.slice(0, this.lineStart).split(w).length) : (this.pos = this.lineStart = 0, this.curLine = 1), this.type = C.eof, this.value = null, this.start = this.end = this.pos, this.startLoc = this.endLoc = this.curPosition(), this.lastTokEndLoc = this.lastTokStartLoc = null, this.lastTokStart = this.lastTokEnd = this.pos, this.context = this.initialContext(), this.exprAllowed = !0, this.inModule = e.sourceType === "module", this.strict = this.inModule || this.strictDirective(this.pos), this.potentialArrowAt = -1, this.potentialArrowInForAwait = !1, this.yieldPos = this.awaitPos = this.awaitIdentPos = 0, this.labels = [], this.undefinedExports = Object.create(null), this.pos === 0 && e.allowHashBang && this.input.slice(0, 2) === "#!" && this.skipLineComment(2), this.scopeStack = [], this.enterScope(O), this.regexpState = null, this.privateNameStack = [];
1834
+ }, P = {
1835
+ inFunction: { configurable: !0 },
1836
+ inGenerator: { configurable: !0 },
1837
+ inAsync: { configurable: !0 },
1838
+ canAwait: { configurable: !0 },
1839
+ allowSuper: { configurable: !0 },
1840
+ allowDirectSuper: { configurable: !0 },
1841
+ treatFunctionsAsVar: { configurable: !0 },
1842
+ allowNewDotTarget: { configurable: !0 },
1843
+ inClassStaticBlock: { configurable: !0 }
1844
+ }, N.prototype.parse = function() {
1845
+ var e = this.options.program || this.startNode();
1846
+ return this.nextToken(), this.parseTopLevel(e);
1847
+ }, P.inFunction.get = function() {
1848
+ return (this.currentVarScope().flags & k) > 0;
1849
+ }, P.inGenerator.get = function() {
1850
+ return (this.currentVarScope().flags & Bt) > 0;
1851
+ }, P.inAsync.get = function() {
1852
+ return (this.currentVarScope().flags & zt) > 0;
1853
+ }, P.canAwait.get = function() {
1854
+ for (var e = this.scopeStack.length - 1; e >= 0; e--) {
1855
+ var t = this.scopeStack[e].flags;
1856
+ if (t & (A | j)) return !1;
1857
+ if (t & k) return (t & zt) > 0;
1858
+ }
1859
+ return this.inModule && this.options.ecmaVersion >= 13 || this.options.allowAwaitOutsideFunction;
1860
+ }, P.allowSuper.get = function() {
1861
+ return (this.currentThisScope().flags & Ut) > 0 || this.options.allowSuperOutsideMethod;
1862
+ }, P.allowDirectSuper.get = function() {
1863
+ return (this.currentThisScope().flags & Wt) > 0;
1864
+ }, P.treatFunctionsAsVar.get = function() {
1865
+ return this.treatFunctionsAsVarInScope(this.currentScope());
1866
+ }, P.allowNewDotTarget.get = function() {
1867
+ for (var e = this.scopeStack.length - 1; e >= 0; e--) {
1868
+ var t = this.scopeStack[e].flags;
1869
+ if (t & (A | j) || t & k && !(t & Vt)) return !0;
1870
+ }
1871
+ return !1;
1872
+ }, P.inClassStaticBlock.get = function() {
1873
+ return (this.currentVarScope().flags & A) > 0;
1874
+ }, N.extend = function() {
1875
+ for (var e = [], t = arguments.length; t--;) e[t] = arguments[t];
1876
+ for (var n = this, r = 0; r < e.length; r++) n = e[r](n);
1877
+ return n;
1878
+ }, N.parse = function(e, t) {
1879
+ return new this(t, e).parse();
1880
+ }, N.parseExpressionAt = function(e, t, n) {
1881
+ var r = new this(n, e, t);
1882
+ return r.nextToken(), r.parseExpression();
1883
+ }, N.tokenizer = function(e, t) {
1884
+ return new this(t, e);
1885
+ }, Object.defineProperties(N.prototype, P), F = N.prototype, Zt = /^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/, F.strictDirective = function(e) {
1886
+ if (this.options.ecmaVersion < 5) return !1;
1887
+ for (;;) {
1888
+ T.lastIndex = e, e += T.exec(this.input)[0].length;
1889
+ var t = Zt.exec(this.input.slice(e));
1890
+ if (!t) return !1;
1891
+ if ((t[1] || t[2]) === "use strict") {
1892
+ T.lastIndex = e + t[0].length;
1893
+ var n = T.exec(this.input), r = n.index + n[0].length, i = this.input.charAt(r);
1894
+ return i === ";" || i === "}" || w.test(n[0]) && !(/[(`.[+\-/*%<>=,?^&]/.test(i) || i === "!" && this.input.charAt(r + 1) === "=");
1895
+ }
1896
+ e += t[0].length, T.lastIndex = e, e += T.exec(this.input)[0].length, this.input[e] === ";" && e++;
1897
+ }
1898
+ }, F.eat = function(e) {
1899
+ return this.type === e ? (this.next(), !0) : !1;
1900
+ }, F.isContextual = function(e) {
1901
+ return this.type === C.name && this.value === e && !this.containsEsc;
1902
+ }, F.eatContextual = function(e) {
1903
+ return this.isContextual(e) ? (this.next(), !0) : !1;
1904
+ }, F.expectContextual = function(e) {
1905
+ this.eatContextual(e) || this.unexpected();
1906
+ }, F.canInsertSemicolon = function() {
1907
+ return this.type === C.eof || this.type === C.braceR || w.test(this.input.slice(this.lastTokEnd, this.start));
1908
+ }, F.insertSemicolon = function() {
1909
+ if (this.canInsertSemicolon()) return this.options.onInsertedSemicolon && this.options.onInsertedSemicolon(this.lastTokEnd, this.lastTokEndLoc), !0;
1910
+ }, F.semicolon = function() {
1911
+ !this.eat(C.semi) && !this.insertSemicolon() && this.unexpected();
1912
+ }, F.afterTrailingComma = function(e, t) {
1913
+ if (this.type === e) return this.options.onTrailingComma && this.options.onTrailingComma(this.lastTokStart, this.lastTokStartLoc), t || this.next(), !0;
1914
+ }, F.expect = function(e) {
1915
+ this.eat(e) || this.unexpected();
1916
+ }, F.unexpected = function(e) {
1917
+ this.raise(e ?? this.start, "Unexpected token");
1918
+ }, Qt = function() {
1919
+ this.shorthandAssign = this.trailingComma = this.parenthesizedAssign = this.parenthesizedBind = this.doubleProto = -1;
1920
+ }, F.checkPatternErrors = function(e, t) {
1921
+ if (e) {
1922
+ e.trailingComma > -1 && this.raiseRecoverable(e.trailingComma, "Comma is not permitted after the rest element");
1923
+ var n = t ? e.parenthesizedAssign : e.parenthesizedBind;
1924
+ n > -1 && this.raiseRecoverable(n, t ? "Assigning to rvalue" : "Parenthesized pattern");
1925
+ }
1926
+ }, F.checkExpressionErrors = function(e, t) {
1927
+ if (!e) return !1;
1928
+ var n = e.shorthandAssign, r = e.doubleProto;
1929
+ if (!t) return n >= 0 || r >= 0;
1930
+ n >= 0 && this.raise(n, "Shorthand property assignments are valid only in destructuring patterns"), r >= 0 && this.raiseRecoverable(r, "Redefinition of __proto__ property");
1931
+ }, F.checkYieldAwaitInDefaultParams = function() {
1932
+ this.yieldPos && (!this.awaitPos || this.yieldPos < this.awaitPos) && this.raise(this.yieldPos, "Yield expression cannot be a default value"), this.awaitPos && this.raise(this.awaitPos, "Await expression cannot be a default value");
1933
+ }, F.isSimpleAssignTarget = function(e) {
1934
+ return e.type === "ParenthesizedExpression" ? this.isSimpleAssignTarget(e.expression) : e.type === "Identifier" || e.type === "MemberExpression";
1935
+ }, I = N.prototype, I.parseTopLevel = function(e) {
1936
+ var t = Object.create(null);
1937
+ for (e.body ||= []; this.type !== C.eof;) {
1938
+ var n = this.parseStatement(null, !0, t);
1939
+ e.body.push(n);
1940
+ }
1941
+ if (this.inModule) for (var r = 0, i = Object.keys(this.undefinedExports); r < i.length; r += 1) {
1942
+ var a = i[r];
1943
+ this.raiseRecoverable(this.undefinedExports[a].start, "Export '" + a + "' is not defined");
1944
+ }
1945
+ return this.adaptDirectivePrologue(e.body), this.next(), e.sourceType = this.options.sourceType, this.finishNode(e, "Program");
1946
+ }, $t = { kind: "loop" }, en = { kind: "switch" }, I.isLet = function(e) {
1947
+ if (this.options.ecmaVersion < 6 || !this.isContextual("let")) return !1;
1948
+ T.lastIndex = this.pos;
1949
+ var t = T.exec(this.input), i = this.pos + t[0].length, a = this.input.charCodeAt(i);
1950
+ if (a === 91 || a === 92) return !0;
1951
+ if (e) return !1;
1952
+ if (a === 123 || a > 55295 && a < 56320) return !0;
1953
+ if (n(a, !0)) {
1954
+ for (var o = i + 1; r(a = this.input.charCodeAt(o), !0);) ++o;
1955
+ if (a === 92 || a > 55295 && a < 56320) return !0;
1956
+ var s = this.input.slice(i, o);
1957
+ if (!wt.test(s)) return !0;
1958
+ }
1959
+ return !1;
1960
+ }, I.isAsyncFunction = function() {
1961
+ if (this.options.ecmaVersion < 8 || !this.isContextual("async")) return !1;
1962
+ T.lastIndex = this.pos;
1963
+ var e = T.exec(this.input), t = this.pos + e[0].length, n;
1964
+ return !w.test(this.input.slice(this.pos, t)) && this.input.slice(t, t + 8) === "function" && (t + 8 === this.input.length || !(r(n = this.input.charCodeAt(t + 8)) || n > 55295 && n < 56320));
1965
+ }, I.isUsingKeyword = function(e, t) {
1966
+ if (this.options.ecmaVersion < 17 || !this.isContextual(e ? "await" : "using")) return !1;
1967
+ T.lastIndex = this.pos;
1968
+ var i = T.exec(this.input), a = this.pos + i[0].length;
1969
+ if (w.test(this.input.slice(this.pos, a))) return !1;
1970
+ if (e) {
1971
+ var o = a + 5, s;
1972
+ if (this.input.slice(a, o) !== "using" || o === this.input.length || r(s = this.input.charCodeAt(o)) || s > 55295 && s < 56320) return !1;
1973
+ T.lastIndex = o;
1974
+ var c = T.exec(this.input);
1975
+ if (c && w.test(this.input.slice(o, o + c[0].length))) return !1;
1976
+ }
1977
+ if (t) {
1978
+ var l = a + 2, u;
1979
+ if (this.input.slice(a, l) === "of" && (l === this.input.length || !r(u = this.input.charCodeAt(l)) && !(u > 55295 && u < 56320))) return !1;
1980
+ }
1981
+ var d = this.input.charCodeAt(a);
1982
+ return n(d, !0) || d === 92;
1983
+ }, I.isAwaitUsing = function(e) {
1984
+ return this.isUsingKeyword(!0, e);
1985
+ }, I.isUsing = function(e) {
1986
+ return this.isUsingKeyword(!1, e);
1987
+ }, I.parseStatement = function(e, t, n) {
1988
+ var r = this.type, i = this.startNode(), a;
1989
+ switch (this.isLet(e) && (r = C._var, a = "let"), r) {
1990
+ case C._break:
1991
+ case C._continue: return this.parseBreakContinueStatement(i, r.keyword);
1992
+ case C._debugger: return this.parseDebuggerStatement(i);
1993
+ case C._do: return this.parseDoStatement(i);
1994
+ case C._for: return this.parseForStatement(i);
1995
+ case C._function: return e && (this.strict || e !== "if" && e !== "label") && this.options.ecmaVersion >= 6 && this.unexpected(), this.parseFunctionStatement(i, !1, !e);
1996
+ case C._class: return e && this.unexpected(), this.parseClass(i, !0);
1997
+ case C._if: return this.parseIfStatement(i);
1998
+ case C._return: return this.parseReturnStatement(i);
1999
+ case C._switch: return this.parseSwitchStatement(i);
2000
+ case C._throw: return this.parseThrowStatement(i);
2001
+ case C._try: return this.parseTryStatement(i);
2002
+ case C._const:
2003
+ case C._var: return a ||= this.value, e && a !== "var" && this.unexpected(), this.parseVarStatement(i, a);
2004
+ case C._while: return this.parseWhileStatement(i);
2005
+ case C._with: return this.parseWithStatement(i);
2006
+ case C.braceL: return this.parseBlock(!0, i);
2007
+ case C.semi: return this.parseEmptyStatement(i);
2008
+ case C._export:
2009
+ case C._import:
2010
+ if (this.options.ecmaVersion > 10 && r === C._import) {
2011
+ T.lastIndex = this.pos;
2012
+ var o = T.exec(this.input), s = this.pos + o[0].length, c = this.input.charCodeAt(s);
2013
+ if (c === 40 || c === 46) return this.parseExpressionStatement(i, this.parseExpression());
2014
+ }
2015
+ return this.options.allowImportExportEverywhere || (t || this.raise(this.start, "'import' and 'export' may only appear at the top level"), this.inModule || this.raise(this.start, "'import' and 'export' may appear only with 'sourceType: module'")), r === C._import ? this.parseImport(i) : this.parseExport(i, n);
2016
+ default:
2017
+ if (this.isAsyncFunction()) return e && this.unexpected(), this.next(), this.parseFunctionStatement(i, !0, !e);
2018
+ var l = this.isAwaitUsing(!1) ? "await using" : this.isUsing(!1) ? "using" : null;
2019
+ if (l) return t && this.options.sourceType === "script" && this.raise(this.start, "Using declaration cannot appear in the top level when source type is `script`"), l === "await using" && (this.canAwait || this.raise(this.start, "Await using cannot appear outside of async function"), this.next()), this.next(), this.parseVar(i, !1, l), this.semicolon(), this.finishNode(i, "VariableDeclaration");
2020
+ var u = this.value, d = this.parseExpression();
2021
+ return r === C.name && d.type === "Identifier" && this.eat(C.colon) ? this.parseLabeledStatement(i, u, d, e) : this.parseExpressionStatement(i, d);
2022
+ }
2023
+ }, I.parseBreakContinueStatement = function(e, t) {
2024
+ var n = t === "break";
2025
+ this.next(), this.eat(C.semi) || this.insertSemicolon() ? e.label = null : this.type === C.name ? (e.label = this.parseIdent(), this.semicolon()) : this.unexpected();
2026
+ for (var r = 0; r < this.labels.length; ++r) {
2027
+ var i = this.labels[r];
2028
+ if ((e.label == null || i.name === e.label.name) && (i.kind != null && (n || i.kind === "loop") || e.label && n)) break;
2029
+ }
2030
+ return r === this.labels.length && this.raise(e.start, "Unsyntactic " + t), this.finishNode(e, n ? "BreakStatement" : "ContinueStatement");
2031
+ }, I.parseDebuggerStatement = function(e) {
2032
+ return this.next(), this.semicolon(), this.finishNode(e, "DebuggerStatement");
2033
+ }, I.parseDoStatement = function(e) {
2034
+ return this.next(), this.labels.push($t), e.body = this.parseStatement("do"), this.labels.pop(), this.expect(C._while), e.test = this.parseParenExpression(), this.options.ecmaVersion >= 6 ? this.eat(C.semi) : this.semicolon(), this.finishNode(e, "DoWhileStatement");
2035
+ }, I.parseForStatement = function(e) {
2036
+ this.next();
2037
+ var t = this.options.ecmaVersion >= 9 && this.canAwait && this.eatContextual("await") ? this.lastTokStart : -1;
2038
+ if (this.labels.push($t), this.enterScope(0), this.expect(C.parenL), this.type === C.semi) return t > -1 && this.unexpected(t), this.parseFor(e, null);
2039
+ var n = this.isLet();
2040
+ if (this.type === C._var || this.type === C._const || n) {
2041
+ var r = this.startNode(), i = n ? "let" : this.value;
2042
+ return this.next(), this.parseVar(r, !0, i), this.finishNode(r, "VariableDeclaration"), this.parseForAfterInit(e, r, t);
2043
+ }
2044
+ var a = this.isContextual("let"), o = !1, s = this.isUsing(!0) ? "using" : this.isAwaitUsing(!0) ? "await using" : null;
2045
+ if (s) {
2046
+ var c = this.startNode();
2047
+ return this.next(), s === "await using" && this.next(), this.parseVar(c, !0, s), this.finishNode(c, "VariableDeclaration"), this.parseForAfterInit(e, c, t);
2048
+ }
2049
+ var l = this.containsEsc, u = new Qt(), d = this.start, f = t > -1 ? this.parseExprSubscripts(u, "await") : this.parseExpression(!0, u);
2050
+ return this.type === C._in || (o = this.options.ecmaVersion >= 6 && this.isContextual("of")) ? (t > -1 ? (this.type === C._in && this.unexpected(t), e.await = !0) : o && this.options.ecmaVersion >= 8 && (f.start === d && !l && f.type === "Identifier" && f.name === "async" ? this.unexpected() : this.options.ecmaVersion >= 9 && (e.await = !1)), a && o && this.raise(f.start, "The left-hand side of a for-of loop may not start with 'let'."), this.toAssignable(f, !1, u), this.checkLValPattern(f), this.parseForIn(e, f)) : (this.checkExpressionErrors(u, !0), t > -1 && this.unexpected(t), this.parseFor(e, f));
2051
+ }, I.parseForAfterInit = function(e, t, n) {
2052
+ return (this.type === C._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) && t.declarations.length === 1 ? (this.options.ecmaVersion >= 9 && (this.type === C._in ? n > -1 && this.unexpected(n) : e.await = n > -1), this.parseForIn(e, t)) : (n > -1 && this.unexpected(n), this.parseFor(e, t));
2053
+ }, I.parseFunctionStatement = function(e, t, n) {
2054
+ return this.next(), this.parseFunction(e, L | (n ? 0 : nn), !1, t);
2055
+ }, I.parseIfStatement = function(e) {
2056
+ return this.next(), e.test = this.parseParenExpression(), e.consequent = this.parseStatement("if"), e.alternate = this.eat(C._else) ? this.parseStatement("if") : null, this.finishNode(e, "IfStatement");
2057
+ }, I.parseReturnStatement = function(e) {
2058
+ return !this.inFunction && !this.options.allowReturnOutsideFunction && this.raise(this.start, "'return' outside of function"), this.next(), this.eat(C.semi) || this.insertSemicolon() ? e.argument = null : (e.argument = this.parseExpression(), this.semicolon()), this.finishNode(e, "ReturnStatement");
2059
+ }, I.parseSwitchStatement = function(e) {
2060
+ this.next(), e.discriminant = this.parseParenExpression(), e.cases = [], this.expect(C.braceL), this.labels.push(en), this.enterScope(0);
2061
+ for (var t, n = !1; this.type !== C.braceR;) if (this.type === C._case || this.type === C._default) {
2062
+ var r = this.type === C._case;
2063
+ t && this.finishNode(t, "SwitchCase"), e.cases.push(t = this.startNode()), t.consequent = [], this.next(), r ? t.test = this.parseExpression() : (n && this.raiseRecoverable(this.lastTokStart, "Multiple default clauses"), n = !0, t.test = null), this.expect(C.colon);
2064
+ } else t || this.unexpected(), t.consequent.push(this.parseStatement(null));
2065
+ return this.exitScope(), t && this.finishNode(t, "SwitchCase"), this.next(), this.labels.pop(), this.finishNode(e, "SwitchStatement");
2066
+ }, I.parseThrowStatement = function(e) {
2067
+ return this.next(), w.test(this.input.slice(this.lastTokEnd, this.start)) && this.raise(this.lastTokEnd, "Illegal newline after throw"), e.argument = this.parseExpression(), this.semicolon(), this.finishNode(e, "ThrowStatement");
2068
+ }, tn = [], I.parseCatchClauseParam = function() {
2069
+ var e = this.parseBindingAtom(), t = e.type === "Identifier";
2070
+ return this.enterScope(t ? Ht : 0), this.checkLValPattern(e, t ? Yt : M), this.expect(C.parenR), e;
2071
+ }, I.parseTryStatement = function(e) {
2072
+ if (this.next(), e.block = this.parseBlock(), e.handler = null, this.type === C._catch) {
2073
+ var t = this.startNode();
2074
+ this.next(), this.eat(C.parenL) ? t.param = this.parseCatchClauseParam() : (this.options.ecmaVersion < 10 && this.unexpected(), t.param = null, this.enterScope(0)), t.body = this.parseBlock(!1), this.exitScope(), e.handler = this.finishNode(t, "CatchClause");
2075
+ }
2076
+ return e.finalizer = this.eat(C._finally) ? this.parseBlock() : null, !e.handler && !e.finalizer && this.raise(e.start, "Missing catch or finally clause"), this.finishNode(e, "TryStatement");
2077
+ }, I.parseVarStatement = function(e, t, n) {
2078
+ return this.next(), this.parseVar(e, !1, t, n), this.semicolon(), this.finishNode(e, "VariableDeclaration");
2079
+ }, I.parseWhileStatement = function(e) {
2080
+ return this.next(), e.test = this.parseParenExpression(), this.labels.push($t), e.body = this.parseStatement("while"), this.labels.pop(), this.finishNode(e, "WhileStatement");
2081
+ }, I.parseWithStatement = function(e) {
2082
+ return this.strict && this.raise(this.start, "'with' in strict mode"), this.next(), e.object = this.parseParenExpression(), e.body = this.parseStatement("with"), this.finishNode(e, "WithStatement");
2083
+ }, I.parseEmptyStatement = function(e) {
2084
+ return this.next(), this.finishNode(e, "EmptyStatement");
2085
+ }, I.parseLabeledStatement = function(e, t, n, r) {
2086
+ for (var i = 0, a = this.labels; i < a.length; i += 1) a[i].name === t && this.raise(n.start, "Label '" + t + "' is already declared");
2087
+ for (var o = this.type.isLoop ? "loop" : this.type === C._switch ? "switch" : null, s = this.labels.length - 1; s >= 0; s--) {
2088
+ var c = this.labels[s];
2089
+ if (c.statementStart === e.start) c.statementStart = this.start, c.kind = o;
2090
+ else break;
2091
+ }
2092
+ return this.labels.push({
2093
+ name: t,
2094
+ kind: o,
2095
+ statementStart: this.start
2096
+ }), e.body = this.parseStatement(r ? r.indexOf("label") === -1 ? r + "label" : r : "label"), this.labels.pop(), e.label = n, this.finishNode(e, "LabeledStatement");
2097
+ }, I.parseExpressionStatement = function(e, t) {
2098
+ return e.expression = t, this.semicolon(), this.finishNode(e, "ExpressionStatement");
2099
+ }, I.parseBlock = function(e, t, n) {
2100
+ for (e === void 0 && (e = !0), t === void 0 && (t = this.startNode()), t.body = [], this.expect(C.braceL), e && this.enterScope(0); this.type !== C.braceR;) {
2101
+ var r = this.parseStatement(null);
2102
+ t.body.push(r);
2103
+ }
2104
+ return n && (this.strict = !1), this.next(), e && this.exitScope(), this.finishNode(t, "BlockStatement");
2105
+ }, I.parseFor = function(e, t) {
2106
+ return e.init = t, this.expect(C.semi), e.test = this.type === C.semi ? null : this.parseExpression(), this.expect(C.semi), e.update = this.type === C.parenR ? null : this.parseExpression(), this.expect(C.parenR), e.body = this.parseStatement("for"), this.exitScope(), this.labels.pop(), this.finishNode(e, "ForStatement");
2107
+ }, I.parseForIn = function(e, t) {
2108
+ var n = this.type === C._in;
2109
+ return this.next(), t.type === "VariableDeclaration" && t.declarations[0].init != null && (!n || this.options.ecmaVersion < 8 || this.strict || t.kind !== "var" || t.declarations[0].id.type !== "Identifier") && this.raise(t.start, (n ? "for-in" : "for-of") + " loop variable declaration may not have an initializer"), e.left = t, e.right = n ? this.parseExpression() : this.parseMaybeAssign(), this.expect(C.parenR), e.body = this.parseStatement("for"), this.exitScope(), this.labels.pop(), this.finishNode(e, n ? "ForInStatement" : "ForOfStatement");
2110
+ }, I.parseVar = function(e, t, n, r) {
2111
+ for (e.declarations = [], e.kind = n;;) {
2112
+ var i = this.startNode();
2113
+ if (this.parseVarId(i, n), this.eat(C.eq) ? i.init = this.parseMaybeAssign(t) : !r && n === "const" && !(this.type === C._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) ? this.unexpected() : !r && (n === "using" || n === "await using") && this.options.ecmaVersion >= 17 && this.type !== C._in && !this.isContextual("of") ? this.raise(this.lastTokEnd, "Missing initializer in " + n + " declaration") : !r && i.id.type !== "Identifier" && !(t && (this.type === C._in || this.isContextual("of"))) ? this.raise(this.lastTokEnd, "Complex binding patterns require an initialization value") : i.init = null, e.declarations.push(this.finishNode(i, "VariableDeclarator")), !this.eat(C.comma)) break;
2114
+ }
2115
+ return e;
2116
+ }, I.parseVarId = function(e, t) {
2117
+ e.id = t === "using" || t === "await using" ? this.parseIdent() : this.parseBindingAtom(), this.checkLValPattern(e.id, t === "var" ? qt : M, !1);
2118
+ }, L = 1, nn = 2, rn = 4, I.parseFunction = function(e, t, n, r, i) {
2119
+ this.initFunction(e), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !r) && (this.type === C.star && t & nn && this.unexpected(), e.generator = this.eat(C.star)), this.options.ecmaVersion >= 8 && (e.async = !!r), t & L && (e.id = t & rn && this.type !== C.name ? null : this.parseIdent(), e.id && !(t & nn) && this.checkLValSimple(e.id, this.strict || e.generator || e.async ? this.treatFunctionsAsVar ? qt : M : Jt));
2120
+ var a = this.yieldPos, o = this.awaitPos, s = this.awaitIdentPos;
2121
+ return this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(p(e.async, e.generator)), t & L || (e.id = this.type === C.name ? this.parseIdent() : null), this.parseFunctionParams(e), this.parseFunctionBody(e, n, !1, i), this.yieldPos = a, this.awaitPos = o, this.awaitIdentPos = s, this.finishNode(e, t & L ? "FunctionDeclaration" : "FunctionExpression");
2122
+ }, I.parseFunctionParams = function(e) {
2123
+ this.expect(C.parenL), e.params = this.parseBindingList(C.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams();
2124
+ }, I.parseClass = function(e, t) {
2125
+ this.next();
2126
+ var n = this.strict;
2127
+ this.strict = !0, this.parseClassId(e, t), this.parseClassSuper(e);
2128
+ var r = this.enterClassBody(), i = this.startNode(), a = !1;
2129
+ for (i.body = [], this.expect(C.braceL); this.type !== C.braceR;) {
2130
+ var o = this.parseClassElement(e.superClass !== null);
2131
+ o && (i.body.push(o), o.type === "MethodDefinition" && o.kind === "constructor" ? (a && this.raiseRecoverable(o.start, "Duplicate constructor in the same class"), a = !0) : o.key && o.key.type === "PrivateIdentifier" && m(r, o) && this.raiseRecoverable(o.key.start, "Identifier '#" + o.key.name + "' has already been declared"));
2132
+ }
2133
+ return this.strict = n, this.next(), e.body = this.finishNode(i, "ClassBody"), this.exitClassBody(), this.finishNode(e, t ? "ClassDeclaration" : "ClassExpression");
2134
+ }, I.parseClassElement = function(e) {
2135
+ if (this.eat(C.semi)) return null;
2136
+ var t = this.options.ecmaVersion, n = this.startNode(), r = "", i = !1, a = !1, o = "method", s = !1;
2137
+ if (this.eatContextual("static")) {
2138
+ if (t >= 13 && this.eat(C.braceL)) return this.parseClassStaticBlock(n), n;
2139
+ this.isClassElementNameStart() || this.type === C.star ? s = !0 : r = "static";
2140
+ }
2141
+ if (n.static = s, !r && t >= 8 && this.eatContextual("async") && ((this.isClassElementNameStart() || this.type === C.star) && !this.canInsertSemicolon() ? a = !0 : r = "async"), !r && (t >= 9 || !a) && this.eat(C.star) && (i = !0), !r && !a && !i) {
2142
+ var c = this.value;
2143
+ (this.eatContextual("get") || this.eatContextual("set")) && (this.isClassElementNameStart() ? o = c : r = c);
2144
+ }
2145
+ if (r ? (n.computed = !1, n.key = this.startNodeAt(this.lastTokStart, this.lastTokStartLoc), n.key.name = r, this.finishNode(n.key, "Identifier")) : this.parseClassElementName(n), t < 13 || this.type === C.parenL || o !== "method" || i || a) {
2146
+ var l = !n.static && h(n, "constructor"), u = l && e;
2147
+ l && o !== "method" && this.raise(n.key.start, "Constructor can't have get/set modifier"), n.kind = l ? "constructor" : o, this.parseClassMethod(n, i, a, u);
2148
+ } else this.parseClassField(n);
2149
+ return n;
2150
+ }, I.isClassElementNameStart = function() {
2151
+ return this.type === C.name || this.type === C.privateId || this.type === C.num || this.type === C.string || this.type === C.bracketL || this.type.keyword;
2152
+ }, I.parseClassElementName = function(e) {
2153
+ this.type === C.privateId ? (this.value === "constructor" && this.raise(this.start, "Classes can't have an element named '#constructor'"), e.computed = !1, e.key = this.parsePrivateIdent()) : this.parsePropertyName(e);
2154
+ }, I.parseClassMethod = function(e, t, n, r) {
2155
+ var i = e.key;
2156
+ e.kind === "constructor" ? (t && this.raise(i.start, "Constructor can't be a generator"), n && this.raise(i.start, "Constructor can't be an async method")) : e.static && h(e, "prototype") && this.raise(i.start, "Classes may not have a static property named prototype");
2157
+ var a = e.value = this.parseMethod(t, n, r);
2158
+ return e.kind === "get" && a.params.length !== 0 && this.raiseRecoverable(a.start, "getter should have no params"), e.kind === "set" && a.params.length !== 1 && this.raiseRecoverable(a.start, "setter should have exactly one param"), e.kind === "set" && a.params[0].type === "RestElement" && this.raiseRecoverable(a.params[0].start, "Setter cannot use rest params"), this.finishNode(e, "MethodDefinition");
2159
+ }, I.parseClassField = function(e) {
2160
+ return h(e, "constructor") ? this.raise(e.key.start, "Classes can't have a field named 'constructor'") : e.static && h(e, "prototype") && this.raise(e.key.start, "Classes can't have a static field named 'prototype'"), this.eat(C.eq) ? (this.enterScope(j | Ut), e.value = this.parseMaybeAssign(), this.exitScope()) : e.value = null, this.semicolon(), this.finishNode(e, "PropertyDefinition");
2161
+ }, I.parseClassStaticBlock = function(e) {
2162
+ e.body = [];
2163
+ var t = this.labels;
2164
+ for (this.labels = [], this.enterScope(A | Ut); this.type !== C.braceR;) {
2165
+ var n = this.parseStatement(null);
2166
+ e.body.push(n);
2167
+ }
2168
+ return this.next(), this.exitScope(), this.labels = t, this.finishNode(e, "StaticBlock");
2169
+ }, I.parseClassId = function(e, t) {
2170
+ this.type === C.name ? (e.id = this.parseIdent(), t && this.checkLValSimple(e.id, M, !1)) : (t === !0 && this.unexpected(), e.id = null);
2171
+ }, I.parseClassSuper = function(e) {
2172
+ e.superClass = this.eat(C._extends) ? this.parseExprSubscripts(null, !1) : null;
2173
+ }, I.enterClassBody = function() {
2174
+ var e = {
2175
+ declared: Object.create(null),
2176
+ used: []
2177
+ };
2178
+ return this.privateNameStack.push(e), e.declared;
2179
+ }, I.exitClassBody = function() {
2180
+ var e = this.privateNameStack.pop(), t = e.declared, n = e.used;
2181
+ if (this.options.checkPrivateFields) for (var r = this.privateNameStack.length, i = r === 0 ? null : this.privateNameStack[r - 1], a = 0; a < n.length; ++a) {
2182
+ var o = n[a];
2183
+ E(t, o.name) || (i ? i.used.push(o) : this.raiseRecoverable(o.start, "Private field '#" + o.name + "' must be declared in an enclosing class"));
2184
+ }
2185
+ }, I.parseExportAllDeclaration = function(e, t) {
2186
+ return this.options.ecmaVersion >= 11 && (this.eatContextual("as") ? (e.exported = this.parseModuleExportName(), this.checkExport(t, e.exported, this.lastTokStart)) : e.exported = null), this.expectContextual("from"), this.type !== C.string && this.unexpected(), e.source = this.parseExprAtom(), this.options.ecmaVersion >= 16 && (e.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(e, "ExportAllDeclaration");
2187
+ }, I.parseExport = function(e, t) {
2188
+ if (this.next(), this.eat(C.star)) return this.parseExportAllDeclaration(e, t);
2189
+ if (this.eat(C._default)) return this.checkExport(t, "default", this.lastTokStart), e.declaration = this.parseExportDefaultDeclaration(), this.finishNode(e, "ExportDefaultDeclaration");
2190
+ if (this.shouldParseExportStatement()) e.declaration = this.parseExportDeclaration(e), e.declaration.type === "VariableDeclaration" ? this.checkVariableExport(t, e.declaration.declarations) : this.checkExport(t, e.declaration.id, e.declaration.id.start), e.specifiers = [], e.source = null, this.options.ecmaVersion >= 16 && (e.attributes = []);
2191
+ else {
2192
+ if (e.declaration = null, e.specifiers = this.parseExportSpecifiers(t), this.eatContextual("from")) this.type !== C.string && this.unexpected(), e.source = this.parseExprAtom(), this.options.ecmaVersion >= 16 && (e.attributes = this.parseWithClause());
2193
+ else {
2194
+ for (var n = 0, r = e.specifiers; n < r.length; n += 1) {
2195
+ var i = r[n];
2196
+ this.checkUnreserved(i.local), this.checkLocalExport(i.local), i.local.type === "Literal" && this.raise(i.local.start, "A string literal cannot be used as an exported binding without `from`.");
2197
+ }
2198
+ e.source = null, this.options.ecmaVersion >= 16 && (e.attributes = []);
2199
+ }
2200
+ this.semicolon();
2201
+ }
2202
+ return this.finishNode(e, "ExportNamedDeclaration");
2203
+ }, I.parseExportDeclaration = function(e) {
2204
+ return this.parseStatement(null);
2205
+ }, I.parseExportDefaultDeclaration = function() {
2206
+ var e;
2207
+ if (this.type === C._function || (e = this.isAsyncFunction())) {
2208
+ var t = this.startNode();
2209
+ return this.next(), e && this.next(), this.parseFunction(t, L | rn, !1, e);
2210
+ } else if (this.type === C._class) {
2211
+ var n = this.startNode();
2212
+ return this.parseClass(n, "nullableID");
2213
+ } else {
2214
+ var r = this.parseMaybeAssign();
2215
+ return this.semicolon(), r;
2216
+ }
2217
+ }, I.checkExport = function(e, t, n) {
2218
+ e && (typeof t != "string" && (t = t.type === "Identifier" ? t.name : t.value), E(e, t) && this.raiseRecoverable(n, "Duplicate export '" + t + "'"), e[t] = !0);
2219
+ }, I.checkPatternExport = function(e, t) {
2220
+ var n = t.type;
2221
+ if (n === "Identifier") this.checkExport(e, t, t.start);
2222
+ else if (n === "ObjectPattern") for (var r = 0, i = t.properties; r < i.length; r += 1) {
2223
+ var a = i[r];
2224
+ this.checkPatternExport(e, a);
2225
+ }
2226
+ else if (n === "ArrayPattern") for (var o = 0, s = t.elements; o < s.length; o += 1) {
2227
+ var c = s[o];
2228
+ c && this.checkPatternExport(e, c);
2229
+ }
2230
+ else n === "Property" ? this.checkPatternExport(e, t.value) : n === "AssignmentPattern" ? this.checkPatternExport(e, t.left) : n === "RestElement" && this.checkPatternExport(e, t.argument);
2231
+ }, I.checkVariableExport = function(e, t) {
2232
+ if (e) for (var n = 0, r = t; n < r.length; n += 1) {
2233
+ var i = r[n];
2234
+ this.checkPatternExport(e, i.id);
2235
+ }
2236
+ }, I.shouldParseExportStatement = function() {
2237
+ return this.type.keyword === "var" || this.type.keyword === "const" || this.type.keyword === "class" || this.type.keyword === "function" || this.isLet() || this.isAsyncFunction();
2238
+ }, I.parseExportSpecifier = function(e) {
2239
+ var t = this.startNode();
2240
+ return t.local = this.parseModuleExportName(), t.exported = this.eatContextual("as") ? this.parseModuleExportName() : t.local, this.checkExport(e, t.exported, t.exported.start), this.finishNode(t, "ExportSpecifier");
2241
+ }, I.parseExportSpecifiers = function(e) {
2242
+ var t = [], n = !0;
2243
+ for (this.expect(C.braceL); !this.eat(C.braceR);) {
2244
+ if (n) n = !1;
2245
+ else if (this.expect(C.comma), this.afterTrailingComma(C.braceR)) break;
2246
+ t.push(this.parseExportSpecifier(e));
2247
+ }
2248
+ return t;
2249
+ }, I.parseImport = function(e) {
2250
+ return this.next(), this.type === C.string ? (e.specifiers = tn, e.source = this.parseExprAtom()) : (e.specifiers = this.parseImportSpecifiers(), this.expectContextual("from"), e.source = this.type === C.string ? this.parseExprAtom() : this.unexpected()), this.options.ecmaVersion >= 16 && (e.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(e, "ImportDeclaration");
2251
+ }, I.parseImportSpecifier = function() {
2252
+ var e = this.startNode();
2253
+ return e.imported = this.parseModuleExportName(), this.eatContextual("as") ? e.local = this.parseIdent() : (this.checkUnreserved(e.imported), e.local = e.imported), this.checkLValSimple(e.local, M), this.finishNode(e, "ImportSpecifier");
2254
+ }, I.parseImportDefaultSpecifier = function() {
2255
+ var e = this.startNode();
2256
+ return e.local = this.parseIdent(), this.checkLValSimple(e.local, M), this.finishNode(e, "ImportDefaultSpecifier");
2257
+ }, I.parseImportNamespaceSpecifier = function() {
2258
+ var e = this.startNode();
2259
+ return this.next(), this.expectContextual("as"), e.local = this.parseIdent(), this.checkLValSimple(e.local, M), this.finishNode(e, "ImportNamespaceSpecifier");
2260
+ }, I.parseImportSpecifiers = function() {
2261
+ var e = [], t = !0;
2262
+ if (this.type === C.name && (e.push(this.parseImportDefaultSpecifier()), !this.eat(C.comma))) return e;
2263
+ if (this.type === C.star) return e.push(this.parseImportNamespaceSpecifier()), e;
2264
+ for (this.expect(C.braceL); !this.eat(C.braceR);) {
2265
+ if (t) t = !1;
2266
+ else if (this.expect(C.comma), this.afterTrailingComma(C.braceR)) break;
2267
+ e.push(this.parseImportSpecifier());
2268
+ }
2269
+ return e;
2270
+ }, I.parseWithClause = function() {
2271
+ var e = [];
2272
+ if (!this.eat(C._with)) return e;
2273
+ this.expect(C.braceL);
2274
+ for (var t = {}, n = !0; !this.eat(C.braceR);) {
2275
+ if (n) n = !1;
2276
+ else if (this.expect(C.comma), this.afterTrailingComma(C.braceR)) break;
2277
+ var r = this.parseImportAttribute(), i = r.key.type === "Identifier" ? r.key.name : r.key.value;
2278
+ E(t, i) && this.raiseRecoverable(r.key.start, "Duplicate attribute key '" + i + "'"), t[i] = !0, e.push(r);
2279
+ }
2280
+ return e;
2281
+ }, I.parseImportAttribute = function() {
2282
+ var e = this.startNode();
2283
+ return e.key = this.type === C.string ? this.parseExprAtom() : this.parseIdent(this.options.allowReserved !== "never"), this.expect(C.colon), this.type !== C.string && this.unexpected(), e.value = this.parseExprAtom(), this.finishNode(e, "ImportAttribute");
2284
+ }, I.parseModuleExportName = function() {
2285
+ if (this.options.ecmaVersion >= 13 && this.type === C.string) {
2286
+ var e = this.parseLiteral(this.value);
2287
+ return Ft.test(e.value) && this.raise(e.start, "An export name cannot include a lone surrogate."), e;
2288
+ }
2289
+ return this.parseIdent(!0);
2290
+ }, I.adaptDirectivePrologue = function(e) {
2291
+ for (var t = 0; t < e.length && this.isDirectiveCandidate(e[t]); ++t) e[t].directive = e[t].expression.raw.slice(1, -1);
2292
+ }, I.isDirectiveCandidate = function(e) {
2293
+ return this.options.ecmaVersion >= 5 && e.type === "ExpressionStatement" && e.expression.type === "Literal" && typeof e.expression.value == "string" && (this.input[e.start] === "\"" || this.input[e.start] === "'");
2294
+ }, R = N.prototype, R.toAssignable = function(e, t, n) {
2295
+ if (this.options.ecmaVersion >= 6 && e) switch (e.type) {
2296
+ case "Identifier":
2297
+ this.inAsync && e.name === "await" && this.raise(e.start, "Cannot use 'await' as identifier inside an async function");
2298
+ break;
2299
+ case "ObjectPattern":
2300
+ case "ArrayPattern":
2301
+ case "AssignmentPattern":
2302
+ case "RestElement": break;
2303
+ case "ObjectExpression":
2304
+ e.type = "ObjectPattern", n && this.checkPatternErrors(n, !0);
2305
+ for (var r = 0, i = e.properties; r < i.length; r += 1) {
2306
+ var a = i[r];
2307
+ this.toAssignable(a, t), a.type === "RestElement" && (a.argument.type === "ArrayPattern" || a.argument.type === "ObjectPattern") && this.raise(a.argument.start, "Unexpected token");
2308
+ }
2309
+ break;
2310
+ case "Property":
2311
+ e.kind !== "init" && this.raise(e.key.start, "Object pattern can't contain getter or setter"), this.toAssignable(e.value, t);
2312
+ break;
2313
+ case "ArrayExpression":
2314
+ e.type = "ArrayPattern", n && this.checkPatternErrors(n, !0), this.toAssignableList(e.elements, t);
2315
+ break;
2316
+ case "SpreadElement":
2317
+ e.type = "RestElement", this.toAssignable(e.argument, t), e.argument.type === "AssignmentPattern" && this.raise(e.argument.start, "Rest elements cannot have a default value");
2318
+ break;
2319
+ case "AssignmentExpression":
2320
+ e.operator !== "=" && this.raise(e.left.end, "Only '=' operator can be used for specifying default value."), e.type = "AssignmentPattern", delete e.operator, this.toAssignable(e.left, t);
2321
+ break;
2322
+ case "ParenthesizedExpression":
2323
+ this.toAssignable(e.expression, t, n);
2324
+ break;
2325
+ case "ChainExpression":
2326
+ this.raiseRecoverable(e.start, "Optional chaining cannot appear in left-hand side");
2327
+ break;
2328
+ case "MemberExpression": if (!t) break;
2329
+ default: this.raise(e.start, "Assigning to rvalue");
2330
+ }
2331
+ else n && this.checkPatternErrors(n, !0);
2332
+ return e;
2333
+ }, R.toAssignableList = function(e, t) {
2334
+ for (var n = e.length, r = 0; r < n; r++) {
2335
+ var i = e[r];
2336
+ i && this.toAssignable(i, t);
2337
+ }
2338
+ if (n) {
2339
+ var a = e[n - 1];
2340
+ this.options.ecmaVersion === 6 && t && a && a.type === "RestElement" && a.argument.type !== "Identifier" && this.unexpected(a.argument.start);
2341
+ }
2342
+ return e;
2343
+ }, R.parseSpread = function(e) {
2344
+ var t = this.startNode();
2345
+ return this.next(), t.argument = this.parseMaybeAssign(!1, e), this.finishNode(t, "SpreadElement");
2346
+ }, R.parseRestBinding = function() {
2347
+ var e = this.startNode();
2348
+ return this.next(), this.options.ecmaVersion === 6 && this.type !== C.name && this.unexpected(), e.argument = this.parseBindingAtom(), this.finishNode(e, "RestElement");
2349
+ }, R.parseBindingAtom = function() {
2350
+ if (this.options.ecmaVersion >= 6) switch (this.type) {
2351
+ case C.bracketL:
2352
+ var e = this.startNode();
2353
+ return this.next(), e.elements = this.parseBindingList(C.bracketR, !0, !0), this.finishNode(e, "ArrayPattern");
2354
+ case C.braceL: return this.parseObj(!0);
2355
+ }
2356
+ return this.parseIdent();
2357
+ }, R.parseBindingList = function(e, t, n, r) {
2358
+ for (var i = [], a = !0; !this.eat(e);) if (a ? a = !1 : this.expect(C.comma), t && this.type === C.comma) i.push(null);
2359
+ else {
2360
+ if (n && this.afterTrailingComma(e)) break;
2361
+ if (this.type === C.ellipsis) {
2362
+ var o = this.parseRestBinding();
2363
+ this.parseBindingListItem(o), i.push(o), this.type === C.comma && this.raiseRecoverable(this.start, "Comma is not permitted after the rest element"), this.expect(e);
2364
+ break;
2365
+ } else i.push(this.parseAssignableListItem(r));
2366
+ }
2367
+ return i;
2368
+ }, R.parseAssignableListItem = function(e) {
2369
+ var t = this.parseMaybeDefault(this.start, this.startLoc);
2370
+ return this.parseBindingListItem(t), t;
2371
+ }, R.parseBindingListItem = function(e) {
2372
+ return e;
2373
+ }, R.parseMaybeDefault = function(e, t, n) {
2374
+ if (n ||= this.parseBindingAtom(), this.options.ecmaVersion < 6 || !this.eat(C.eq)) return n;
2375
+ var r = this.startNodeAt(e, t);
2376
+ return r.left = n, r.right = this.parseMaybeAssign(), this.finishNode(r, "AssignmentPattern");
2377
+ }, R.checkLValSimple = function(e, t, n) {
2378
+ t === void 0 && (t = Kt);
2379
+ var r = t !== Kt;
2380
+ switch (e.type) {
2381
+ case "Identifier":
2382
+ this.strict && this.reservedWordsStrictBind.test(e.name) && this.raiseRecoverable(e.start, (r ? "Binding " : "Assigning to ") + e.name + " in strict mode"), r && (t === M && e.name === "let" && this.raiseRecoverable(e.start, "let is disallowed as a lexically bound name"), n && (E(n, e.name) && this.raiseRecoverable(e.start, "Argument name clash"), n[e.name] = !0), t !== Xt && this.declareName(e.name, t, e.start));
2383
+ break;
2384
+ case "ChainExpression":
2385
+ this.raiseRecoverable(e.start, "Optional chaining cannot appear in left-hand side");
2386
+ break;
2387
+ case "MemberExpression":
2388
+ r && this.raiseRecoverable(e.start, "Binding member expression");
2389
+ break;
2390
+ case "ParenthesizedExpression": return r && this.raiseRecoverable(e.start, "Binding parenthesized expression"), this.checkLValSimple(e.expression, t, n);
2391
+ default: this.raise(e.start, (r ? "Binding" : "Assigning to") + " rvalue");
2392
+ }
2393
+ }, R.checkLValPattern = function(e, t, n) {
2394
+ switch (t === void 0 && (t = Kt), e.type) {
2395
+ case "ObjectPattern":
2396
+ for (var r = 0, i = e.properties; r < i.length; r += 1) {
2397
+ var a = i[r];
2398
+ this.checkLValInnerPattern(a, t, n);
2399
+ }
2400
+ break;
2401
+ case "ArrayPattern":
2402
+ for (var o = 0, s = e.elements; o < s.length; o += 1) {
2403
+ var c = s[o];
2404
+ c && this.checkLValInnerPattern(c, t, n);
2405
+ }
2406
+ break;
2407
+ default: this.checkLValSimple(e, t, n);
2408
+ }
2409
+ }, R.checkLValInnerPattern = function(e, t, n) {
2410
+ switch (t === void 0 && (t = Kt), e.type) {
2411
+ case "Property":
2412
+ this.checkLValInnerPattern(e.value, t, n);
2413
+ break;
2414
+ case "AssignmentPattern":
2415
+ this.checkLValPattern(e.left, t, n);
2416
+ break;
2417
+ case "RestElement":
2418
+ this.checkLValPattern(e.argument, t, n);
2419
+ break;
2420
+ default: this.checkLValPattern(e, t, n);
2421
+ }
2422
+ }, z = function(e, t, n, r, i) {
2423
+ this.token = e, this.isExpr = !!t, this.preserveSpace = !!n, this.override = r, this.generator = !!i;
2424
+ }, B = {
2425
+ b_stat: new z("{", !1),
2426
+ b_expr: new z("{", !0),
2427
+ b_tmpl: new z("${", !1),
2428
+ p_stat: new z("(", !1),
2429
+ p_expr: new z("(", !0),
2430
+ q_tmpl: new z("`", !0, !0, function(e) {
2431
+ return e.tryReadTemplateToken();
2432
+ }),
2433
+ f_stat: new z("function", !1),
2434
+ f_expr: new z("function", !0),
2435
+ f_expr_gen: new z("function", !0, !1, null, !0),
2436
+ f_gen: new z("function", !1, !1, null, !0)
2437
+ }, V = N.prototype, V.initialContext = function() {
2438
+ return [B.b_stat];
2439
+ }, V.curContext = function() {
2440
+ return this.context[this.context.length - 1];
2441
+ }, V.braceIsBlock = function(e) {
2442
+ var t = this.curContext();
2443
+ return t === B.f_expr || t === B.f_stat ? !0 : e === C.colon && (t === B.b_stat || t === B.b_expr) ? !t.isExpr : e === C._return || e === C.name && this.exprAllowed ? w.test(this.input.slice(this.lastTokEnd, this.start)) : e === C._else || e === C.semi || e === C.eof || e === C.parenR || e === C.arrow ? !0 : e === C.braceL ? t === B.b_stat : e === C._var || e === C._const || e === C.name ? !1 : !this.exprAllowed;
2444
+ }, V.inGeneratorContext = function() {
2445
+ for (var e = this.context.length - 1; e >= 1; e--) {
2446
+ var t = this.context[e];
2447
+ if (t.token === "function") return t.generator;
2448
+ }
2449
+ return !1;
2450
+ }, V.updateContext = function(e) {
2451
+ var t, n = this.type;
2452
+ n.keyword && e === C.dot ? this.exprAllowed = !1 : (t = n.updateContext) ? t.call(this, e) : this.exprAllowed = n.beforeExpr;
2453
+ }, V.overrideContext = function(e) {
2454
+ this.curContext() !== e && (this.context[this.context.length - 1] = e);
2455
+ }, C.parenR.updateContext = C.braceR.updateContext = function() {
2456
+ if (this.context.length === 1) {
2457
+ this.exprAllowed = !0;
2458
+ return;
2459
+ }
2460
+ var e = this.context.pop();
2461
+ e === B.b_stat && this.curContext().token === "function" && (e = this.context.pop()), this.exprAllowed = !e.isExpr;
2462
+ }, C.braceL.updateContext = function(e) {
2463
+ this.context.push(this.braceIsBlock(e) ? B.b_stat : B.b_expr), this.exprAllowed = !0;
2464
+ }, C.dollarBraceL.updateContext = function() {
2465
+ this.context.push(B.b_tmpl), this.exprAllowed = !0;
2466
+ }, C.parenL.updateContext = function(e) {
2467
+ var t = e === C._if || e === C._for || e === C._with || e === C._while;
2468
+ this.context.push(t ? B.p_stat : B.p_expr), this.exprAllowed = !0;
2469
+ }, C.incDec.updateContext = function() {}, C._function.updateContext = C._class.updateContext = function(e) {
2470
+ e.beforeExpr && e !== C._else && !(e === C.semi && this.curContext() !== B.p_stat) && !(e === C._return && w.test(this.input.slice(this.lastTokEnd, this.start))) && !((e === C.colon || e === C.braceL) && this.curContext() === B.b_stat) ? this.context.push(B.f_expr) : this.context.push(B.f_stat), this.exprAllowed = !1;
2471
+ }, C.colon.updateContext = function() {
2472
+ this.curContext().token === "function" && this.context.pop(), this.exprAllowed = !0;
2473
+ }, C.backQuote.updateContext = function() {
2474
+ this.curContext() === B.q_tmpl ? this.context.pop() : this.context.push(B.q_tmpl), this.exprAllowed = !1;
2475
+ }, C.star.updateContext = function(e) {
2476
+ if (e === C._function) {
2477
+ var t = this.context.length - 1;
2478
+ this.context[t] === B.f_expr ? this.context[t] = B.f_expr_gen : this.context[t] = B.f_gen;
2479
+ }
2480
+ this.exprAllowed = !0;
2481
+ }, C.name.updateContext = function(e) {
2482
+ var t = !1;
2483
+ this.options.ecmaVersion >= 6 && e !== C.dot && (this.value === "of" && !this.exprAllowed || this.value === "yield" && this.inGeneratorContext()) && (t = !0), this.exprAllowed = t;
2484
+ }, H = N.prototype, H.checkPropClash = function(e, t, n) {
2485
+ if (!(this.options.ecmaVersion >= 9 && e.type === "SpreadElement") && !(this.options.ecmaVersion >= 6 && (e.computed || e.method || e.shorthand))) {
2486
+ var r = e.key, i;
2487
+ switch (r.type) {
2488
+ case "Identifier":
2489
+ i = r.name;
2490
+ break;
2491
+ case "Literal":
2492
+ i = String(r.value);
2493
+ break;
2494
+ default: return;
2495
+ }
2496
+ var a = e.kind;
2497
+ if (this.options.ecmaVersion >= 6) {
2498
+ i === "__proto__" && a === "init" && (t.proto && (n ? n.doubleProto < 0 && (n.doubleProto = r.start) : this.raiseRecoverable(r.start, "Redefinition of __proto__ property")), t.proto = !0);
2499
+ return;
2500
+ }
2501
+ i = "$" + i;
2502
+ var o = t[i];
2503
+ o ? (a === "init" ? this.strict && o.init || o.get || o.set : o.init || o[a]) && this.raiseRecoverable(r.start, "Redefinition of property") : o = t[i] = {
2504
+ init: !1,
2505
+ get: !1,
2506
+ set: !1
2507
+ }, o[a] = !0;
2508
+ }
2509
+ }, H.parseExpression = function(e, t) {
2510
+ var n = this.start, r = this.startLoc, i = this.parseMaybeAssign(e, t);
2511
+ if (this.type === C.comma) {
2512
+ var a = this.startNodeAt(n, r);
2513
+ for (a.expressions = [i]; this.eat(C.comma);) a.expressions.push(this.parseMaybeAssign(e, t));
2514
+ return this.finishNode(a, "SequenceExpression");
2515
+ }
2516
+ return i;
2517
+ }, H.parseMaybeAssign = function(e, t, n) {
2518
+ if (this.isContextual("yield")) {
2519
+ if (this.inGenerator) return this.parseYield(e);
2520
+ this.exprAllowed = !1;
2521
+ }
2522
+ var r = !1, i = -1, a = -1, o = -1;
2523
+ t ? (i = t.parenthesizedAssign, a = t.trailingComma, o = t.doubleProto, t.parenthesizedAssign = t.trailingComma = -1) : (t = new Qt(), r = !0);
2524
+ var s = this.start, c = this.startLoc;
2525
+ (this.type === C.parenL || this.type === C.name) && (this.potentialArrowAt = this.start, this.potentialArrowInForAwait = e === "await");
2526
+ var l = this.parseMaybeConditional(e, t);
2527
+ if (n && (l = n.call(this, l, s, c)), this.type.isAssign) {
2528
+ var u = this.startNodeAt(s, c);
2529
+ return u.operator = this.value, this.type === C.eq && (l = this.toAssignable(l, !1, t)), r || (t.parenthesizedAssign = t.trailingComma = t.doubleProto = -1), t.shorthandAssign >= l.start && (t.shorthandAssign = -1), this.type === C.eq ? this.checkLValPattern(l) : this.checkLValSimple(l), u.left = l, this.next(), u.right = this.parseMaybeAssign(e), o > -1 && (t.doubleProto = o), this.finishNode(u, "AssignmentExpression");
2530
+ } else r && this.checkExpressionErrors(t, !0);
2531
+ return i > -1 && (t.parenthesizedAssign = i), a > -1 && (t.trailingComma = a), l;
2532
+ }, H.parseMaybeConditional = function(e, t) {
2533
+ var n = this.start, r = this.startLoc, i = this.parseExprOps(e, t);
2534
+ if (this.checkExpressionErrors(t)) return i;
2535
+ if (this.eat(C.question)) {
2536
+ var a = this.startNodeAt(n, r);
2537
+ return a.test = i, a.consequent = this.parseMaybeAssign(), this.expect(C.colon), a.alternate = this.parseMaybeAssign(e), this.finishNode(a, "ConditionalExpression");
2538
+ }
2539
+ return i;
2540
+ }, H.parseExprOps = function(e, t) {
2541
+ var n = this.start, r = this.startLoc, i = this.parseMaybeUnary(t, !1, !1, e);
2542
+ return this.checkExpressionErrors(t) || i.start === n && i.type === "ArrowFunctionExpression" ? i : this.parseExprOp(i, n, r, -1, e);
2543
+ }, H.parseExprOp = function(e, t, n, r, i) {
2544
+ var a = this.type.binop;
2545
+ if (a != null && (!i || this.type !== C._in) && a > r) {
2546
+ var o = this.type === C.logicalOR || this.type === C.logicalAND, s = this.type === C.coalesce;
2547
+ s && (a = C.logicalAND.binop);
2548
+ var c = this.value;
2549
+ this.next();
2550
+ var l = this.start, u = this.startLoc, d = this.parseExprOp(this.parseMaybeUnary(null, !1, !1, i), l, u, a, i), f = this.buildBinary(t, n, e, d, c, o || s);
2551
+ return (o && this.type === C.coalesce || s && (this.type === C.logicalOR || this.type === C.logicalAND)) && this.raiseRecoverable(this.start, "Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"), this.parseExprOp(f, t, n, r, i);
2552
+ }
2553
+ return e;
2554
+ }, H.buildBinary = function(e, t, n, r, i, a) {
2555
+ r.type === "PrivateIdentifier" && this.raise(r.start, "Private identifier can only be left side of binary expression");
2556
+ var o = this.startNodeAt(e, t);
2557
+ return o.left = n, o.operator = i, o.right = r, this.finishNode(o, a ? "LogicalExpression" : "BinaryExpression");
2558
+ }, H.parseMaybeUnary = function(e, t, n, r) {
2559
+ var i = this.start, a = this.startLoc, o;
2560
+ if (this.isContextual("await") && this.canAwait) o = this.parseAwait(r), t = !0;
2561
+ else if (this.type.prefix) {
2562
+ var s = this.startNode(), c = this.type === C.incDec;
2563
+ s.operator = this.value, s.prefix = !0, this.next(), s.argument = this.parseMaybeUnary(null, !0, c, r), this.checkExpressionErrors(e, !0), c ? this.checkLValSimple(s.argument) : this.strict && s.operator === "delete" && g(s.argument) ? this.raiseRecoverable(s.start, "Deleting local variable in strict mode") : s.operator === "delete" && _(s.argument) ? this.raiseRecoverable(s.start, "Private fields can not be deleted") : t = !0, o = this.finishNode(s, c ? "UpdateExpression" : "UnaryExpression");
2564
+ } else if (!t && this.type === C.privateId) (r || this.privateNameStack.length === 0) && this.options.checkPrivateFields && this.unexpected(), o = this.parsePrivateIdent(), this.type !== C._in && this.unexpected();
2565
+ else {
2566
+ if (o = this.parseExprSubscripts(e, r), this.checkExpressionErrors(e)) return o;
2567
+ for (; this.type.postfix && !this.canInsertSemicolon();) {
2568
+ var l = this.startNodeAt(i, a);
2569
+ l.operator = this.value, l.prefix = !1, l.argument = o, this.checkLValSimple(o), this.next(), o = this.finishNode(l, "UpdateExpression");
2570
+ }
2571
+ }
2572
+ if (!n && this.eat(C.starstar)) if (t) this.unexpected(this.lastTokStart);
2573
+ else return this.buildBinary(i, a, o, this.parseMaybeUnary(null, !1, !1, r), "**", !1);
2574
+ else return o;
2575
+ }, H.parseExprSubscripts = function(e, t) {
2576
+ var n = this.start, r = this.startLoc, i = this.parseExprAtom(e, t);
2577
+ if (i.type === "ArrowFunctionExpression" && this.input.slice(this.lastTokStart, this.lastTokEnd) !== ")") return i;
2578
+ var a = this.parseSubscripts(i, n, r, !1, t);
2579
+ return e && a.type === "MemberExpression" && (e.parenthesizedAssign >= a.start && (e.parenthesizedAssign = -1), e.parenthesizedBind >= a.start && (e.parenthesizedBind = -1), e.trailingComma >= a.start && (e.trailingComma = -1)), a;
2580
+ }, H.parseSubscripts = function(e, t, n, r, i) {
2581
+ for (var a = this.options.ecmaVersion >= 8 && e.type === "Identifier" && e.name === "async" && this.lastTokEnd === e.end && !this.canInsertSemicolon() && e.end - e.start === 5 && this.potentialArrowAt === e.start, o = !1;;) {
2582
+ var s = this.parseSubscript(e, t, n, r, a, o, i);
2583
+ if (s.optional && (o = !0), s === e || s.type === "ArrowFunctionExpression") {
2584
+ if (o) {
2585
+ var c = this.startNodeAt(t, n);
2586
+ c.expression = s, s = this.finishNode(c, "ChainExpression");
2587
+ }
2588
+ return s;
2589
+ }
2590
+ e = s;
2591
+ }
2592
+ }, H.shouldParseAsyncArrow = function() {
2593
+ return !this.canInsertSemicolon() && this.eat(C.arrow);
2594
+ }, H.parseSubscriptAsyncArrow = function(e, t, n, r) {
2595
+ return this.parseArrowExpression(this.startNodeAt(e, t), n, !0, r);
2596
+ }, H.parseSubscript = function(e, t, n, r, i, a, o) {
2597
+ var s = this.options.ecmaVersion >= 11, c = s && this.eat(C.questionDot);
2598
+ r && c && this.raise(this.lastTokStart, "Optional chaining cannot appear in the callee of new expressions");
2599
+ var l = this.eat(C.bracketL);
2600
+ if (l || c && this.type !== C.parenL && this.type !== C.backQuote || this.eat(C.dot)) {
2601
+ var u = this.startNodeAt(t, n);
2602
+ u.object = e, l ? (u.property = this.parseExpression(), this.expect(C.bracketR)) : this.type === C.privateId && e.type !== "Super" ? u.property = this.parsePrivateIdent() : u.property = this.parseIdent(this.options.allowReserved !== "never"), u.computed = !!l, s && (u.optional = c), e = this.finishNode(u, "MemberExpression");
2603
+ } else if (!r && this.eat(C.parenL)) {
2604
+ var d = new Qt(), f = this.yieldPos, p = this.awaitPos, m = this.awaitIdentPos;
2605
+ this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0;
2606
+ var h = this.parseExprList(C.parenR, this.options.ecmaVersion >= 8, !1, d);
2607
+ if (i && !c && this.shouldParseAsyncArrow()) return this.checkPatternErrors(d, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = f, this.awaitPos = p, this.awaitIdentPos = m, this.parseSubscriptAsyncArrow(t, n, h, o);
2608
+ this.checkExpressionErrors(d, !0), this.yieldPos = f || this.yieldPos, this.awaitPos = p || this.awaitPos, this.awaitIdentPos = m || this.awaitIdentPos;
2609
+ var g = this.startNodeAt(t, n);
2610
+ g.callee = e, g.arguments = h, s && (g.optional = c), e = this.finishNode(g, "CallExpression");
2611
+ } else if (this.type === C.backQuote) {
2612
+ (c || a) && this.raise(this.start, "Optional chaining cannot appear in the tag of tagged template expressions");
2613
+ var _ = this.startNodeAt(t, n);
2614
+ _.tag = e, _.quasi = this.parseTemplate({ isTagged: !0 }), e = this.finishNode(_, "TaggedTemplateExpression");
2615
+ }
2616
+ return e;
2617
+ }, H.parseExprAtom = function(e, t, n) {
2618
+ this.type === C.slash && this.readRegexp();
2619
+ var r, i = this.potentialArrowAt === this.start;
2620
+ switch (this.type) {
2621
+ case C._super: return this.allowSuper || this.raise(this.start, "'super' keyword outside a method"), r = this.startNode(), this.next(), this.type === C.parenL && !this.allowDirectSuper && this.raise(r.start, "super() call outside constructor of a subclass"), this.type !== C.dot && this.type !== C.bracketL && this.type !== C.parenL && this.unexpected(), this.finishNode(r, "Super");
2622
+ case C._this: return r = this.startNode(), this.next(), this.finishNode(r, "ThisExpression");
2623
+ case C.name:
2624
+ var a = this.start, o = this.startLoc, s = this.containsEsc, c = this.parseIdent(!1);
2625
+ if (this.options.ecmaVersion >= 8 && !s && c.name === "async" && !this.canInsertSemicolon() && this.eat(C._function)) return this.overrideContext(B.f_expr), this.parseFunction(this.startNodeAt(a, o), 0, !1, !0, t);
2626
+ if (i && !this.canInsertSemicolon()) {
2627
+ if (this.eat(C.arrow)) return this.parseArrowExpression(this.startNodeAt(a, o), [c], !1, t);
2628
+ if (this.options.ecmaVersion >= 8 && c.name === "async" && this.type === C.name && !s && (!this.potentialArrowInForAwait || this.value !== "of" || this.containsEsc)) return c = this.parseIdent(!1), (this.canInsertSemicolon() || !this.eat(C.arrow)) && this.unexpected(), this.parseArrowExpression(this.startNodeAt(a, o), [c], !0, t);
2629
+ }
2630
+ return c;
2631
+ case C.regexp:
2632
+ var l = this.value;
2633
+ return r = this.parseLiteral(l.value), r.regex = {
2634
+ pattern: l.pattern,
2635
+ flags: l.flags
2636
+ }, r;
2637
+ case C.num:
2638
+ case C.string: return this.parseLiteral(this.value);
2639
+ case C._null:
2640
+ case C._true:
2641
+ case C._false: return r = this.startNode(), r.value = this.type === C._null ? null : this.type === C._true, r.raw = this.type.keyword, this.next(), this.finishNode(r, "Literal");
2642
+ case C.parenL:
2643
+ var u = this.start, d = this.parseParenAndDistinguishExpression(i, t);
2644
+ return e && (e.parenthesizedAssign < 0 && !this.isSimpleAssignTarget(d) && (e.parenthesizedAssign = u), e.parenthesizedBind < 0 && (e.parenthesizedBind = u)), d;
2645
+ case C.bracketL: return r = this.startNode(), this.next(), r.elements = this.parseExprList(C.bracketR, !0, !0, e), this.finishNode(r, "ArrayExpression");
2646
+ case C.braceL: return this.overrideContext(B.b_expr), this.parseObj(!1, e);
2647
+ case C._function: return r = this.startNode(), this.next(), this.parseFunction(r, 0);
2648
+ case C._class: return this.parseClass(this.startNode(), !1);
2649
+ case C._new: return this.parseNew();
2650
+ case C.backQuote: return this.parseTemplate();
2651
+ case C._import: return this.options.ecmaVersion >= 11 ? this.parseExprImport(n) : this.unexpected();
2652
+ default: return this.parseExprAtomDefault();
2653
+ }
2654
+ }, H.parseExprAtomDefault = function() {
2655
+ this.unexpected();
2656
+ }, H.parseExprImport = function(e) {
2657
+ var t = this.startNode();
2658
+ if (this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword import"), this.next(), this.type === C.parenL && !e) return this.parseDynamicImport(t);
2659
+ if (this.type === C.dot) {
2660
+ var n = this.startNodeAt(t.start, t.loc && t.loc.start);
2661
+ return n.name = "import", t.meta = this.finishNode(n, "Identifier"), this.parseImportMeta(t);
2662
+ } else this.unexpected();
2663
+ }, H.parseDynamicImport = function(e) {
2664
+ if (this.next(), e.source = this.parseMaybeAssign(), this.options.ecmaVersion >= 16) this.eat(C.parenR) ? e.options = null : (this.expect(C.comma), this.afterTrailingComma(C.parenR) ? e.options = null : (e.options = this.parseMaybeAssign(), this.eat(C.parenR) || (this.expect(C.comma), this.afterTrailingComma(C.parenR) || this.unexpected())));
2665
+ else if (!this.eat(C.parenR)) {
2666
+ var t = this.start;
2667
+ this.eat(C.comma) && this.eat(C.parenR) ? this.raiseRecoverable(t, "Trailing comma is not allowed in import()") : this.unexpected(t);
2668
+ }
2669
+ return this.finishNode(e, "ImportExpression");
2670
+ }, H.parseImportMeta = function(e) {
2671
+ this.next();
2672
+ var t = this.containsEsc;
2673
+ return e.property = this.parseIdent(!0), e.property.name !== "meta" && this.raiseRecoverable(e.property.start, "The only valid meta property for import is 'import.meta'"), t && this.raiseRecoverable(e.start, "'import.meta' must not contain escaped characters"), this.options.sourceType !== "module" && !this.options.allowImportExportEverywhere && this.raiseRecoverable(e.start, "Cannot use 'import.meta' outside a module"), this.finishNode(e, "MetaProperty");
2674
+ }, H.parseLiteral = function(e) {
2675
+ var t = this.startNode();
2676
+ return t.value = e, t.raw = this.input.slice(this.start, this.end), t.raw.charCodeAt(t.raw.length - 1) === 110 && (t.bigint = t.value == null ? t.raw.slice(0, -1).replace(/_/g, "") : t.value.toString()), this.next(), this.finishNode(t, "Literal");
2677
+ }, H.parseParenExpression = function() {
2678
+ this.expect(C.parenL);
2679
+ var e = this.parseExpression();
2680
+ return this.expect(C.parenR), e;
2681
+ }, H.shouldParseArrow = function(e) {
2682
+ return !this.canInsertSemicolon();
2683
+ }, H.parseParenAndDistinguishExpression = function(e, t) {
2684
+ var n = this.start, r = this.startLoc, i, a = this.options.ecmaVersion >= 8;
2685
+ if (this.options.ecmaVersion >= 6) {
2686
+ this.next();
2687
+ var o = this.start, s = this.startLoc, c = [], l = !0, u = !1, d = new Qt(), f = this.yieldPos, p = this.awaitPos, m;
2688
+ for (this.yieldPos = 0, this.awaitPos = 0; this.type !== C.parenR;) if (l ? l = !1 : this.expect(C.comma), a && this.afterTrailingComma(C.parenR, !0)) {
2689
+ u = !0;
2690
+ break;
2691
+ } else if (this.type === C.ellipsis) {
2692
+ m = this.start, c.push(this.parseParenItem(this.parseRestBinding())), this.type === C.comma && this.raiseRecoverable(this.start, "Comma is not permitted after the rest element");
2693
+ break;
2694
+ } else c.push(this.parseMaybeAssign(!1, d, this.parseParenItem));
2695
+ var h = this.lastTokEnd, g = this.lastTokEndLoc;
2696
+ if (this.expect(C.parenR), e && this.shouldParseArrow(c) && this.eat(C.arrow)) return this.checkPatternErrors(d, !1), this.checkYieldAwaitInDefaultParams(), this.yieldPos = f, this.awaitPos = p, this.parseParenArrowList(n, r, c, t);
2697
+ (!c.length || u) && this.unexpected(this.lastTokStart), m && this.unexpected(m), this.checkExpressionErrors(d, !0), this.yieldPos = f || this.yieldPos, this.awaitPos = p || this.awaitPos, c.length > 1 ? (i = this.startNodeAt(o, s), i.expressions = c, this.finishNodeAt(i, "SequenceExpression", h, g)) : i = c[0];
2698
+ } else i = this.parseParenExpression();
2699
+ if (this.options.preserveParens) {
2700
+ var _ = this.startNodeAt(n, r);
2701
+ return _.expression = i, this.finishNode(_, "ParenthesizedExpression");
2702
+ } else return i;
2703
+ }, H.parseParenItem = function(e) {
2704
+ return e;
2705
+ }, H.parseParenArrowList = function(e, t, n, r) {
2706
+ return this.parseArrowExpression(this.startNodeAt(e, t), n, !1, r);
2707
+ }, an = [], H.parseNew = function() {
2708
+ this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword new");
2709
+ var e = this.startNode();
2710
+ if (this.next(), this.options.ecmaVersion >= 6 && this.type === C.dot) {
2711
+ var t = this.startNodeAt(e.start, e.loc && e.loc.start);
2712
+ t.name = "new", e.meta = this.finishNode(t, "Identifier"), this.next();
2713
+ var n = this.containsEsc;
2714
+ return e.property = this.parseIdent(!0), e.property.name !== "target" && this.raiseRecoverable(e.property.start, "The only valid meta property for new is 'new.target'"), n && this.raiseRecoverable(e.start, "'new.target' must not contain escaped characters"), this.allowNewDotTarget || this.raiseRecoverable(e.start, "'new.target' can only be used in functions and class static block"), this.finishNode(e, "MetaProperty");
2715
+ }
2716
+ var r = this.start, i = this.startLoc;
2717
+ return e.callee = this.parseSubscripts(this.parseExprAtom(null, !1, !0), r, i, !0, !1), this.eat(C.parenL) ? e.arguments = this.parseExprList(C.parenR, this.options.ecmaVersion >= 8, !1) : e.arguments = an, this.finishNode(e, "NewExpression");
2718
+ }, H.parseTemplateElement = function(e) {
2719
+ var t = e.isTagged, n = this.startNode();
2720
+ return this.type === C.invalidTemplate ? (t || this.raiseRecoverable(this.start, "Bad escape sequence in untagged template literal"), n.value = {
2721
+ raw: this.value.replace(/\r\n?/g, "\n"),
2722
+ cooked: null
2723
+ }) : n.value = {
2724
+ raw: this.input.slice(this.start, this.end).replace(/\r\n?/g, "\n"),
2725
+ cooked: this.value
2726
+ }, this.next(), n.tail = this.type === C.backQuote, this.finishNode(n, "TemplateElement");
2727
+ }, H.parseTemplate = function(e) {
2728
+ e === void 0 && (e = {});
2729
+ var t = e.isTagged;
2730
+ t === void 0 && (t = !1);
2731
+ var n = this.startNode();
2732
+ this.next(), n.expressions = [];
2733
+ var r = this.parseTemplateElement({ isTagged: t });
2734
+ for (n.quasis = [r]; !r.tail;) this.type === C.eof && this.raise(this.pos, "Unterminated template literal"), this.expect(C.dollarBraceL), n.expressions.push(this.parseExpression()), this.expect(C.braceR), n.quasis.push(r = this.parseTemplateElement({ isTagged: t }));
2735
+ return this.next(), this.finishNode(n, "TemplateLiteral");
2736
+ }, H.isAsyncProp = function(e) {
2737
+ return !e.computed && e.key.type === "Identifier" && e.key.name === "async" && (this.type === C.name || this.type === C.num || this.type === C.string || this.type === C.bracketL || this.type.keyword || this.options.ecmaVersion >= 9 && this.type === C.star) && !w.test(this.input.slice(this.lastTokEnd, this.start));
2738
+ }, H.parseObj = function(e, t) {
2739
+ var n = this.startNode(), r = !0, i = {};
2740
+ for (n.properties = [], this.next(); !this.eat(C.braceR);) {
2741
+ if (r) r = !1;
2742
+ else if (this.expect(C.comma), this.options.ecmaVersion >= 5 && this.afterTrailingComma(C.braceR)) break;
2743
+ var a = this.parseProperty(e, t);
2744
+ e || this.checkPropClash(a, i, t), n.properties.push(a);
2745
+ }
2746
+ return this.finishNode(n, e ? "ObjectPattern" : "ObjectExpression");
2747
+ }, H.parseProperty = function(e, t) {
2748
+ var n = this.startNode(), r, i, a, o;
2749
+ if (this.options.ecmaVersion >= 9 && this.eat(C.ellipsis)) return e ? (n.argument = this.parseIdent(!1), this.type === C.comma && this.raiseRecoverable(this.start, "Comma is not permitted after the rest element"), this.finishNode(n, "RestElement")) : (n.argument = this.parseMaybeAssign(!1, t), this.type === C.comma && t && t.trailingComma < 0 && (t.trailingComma = this.start), this.finishNode(n, "SpreadElement"));
2750
+ this.options.ecmaVersion >= 6 && (n.method = !1, n.shorthand = !1, (e || t) && (a = this.start, o = this.startLoc), e || (r = this.eat(C.star)));
2751
+ var s = this.containsEsc;
2752
+ return this.parsePropertyName(n), !e && !s && this.options.ecmaVersion >= 8 && !r && this.isAsyncProp(n) ? (i = !0, r = this.options.ecmaVersion >= 9 && this.eat(C.star), this.parsePropertyName(n)) : i = !1, this.parsePropertyValue(n, e, r, i, a, o, t, s), this.finishNode(n, "Property");
2753
+ }, H.parseGetterSetter = function(e) {
2754
+ var t = e.key.name;
2755
+ this.parsePropertyName(e), e.value = this.parseMethod(!1), e.kind = t;
2756
+ var n = e.kind === "get" ? 0 : 1;
2757
+ if (e.value.params.length !== n) {
2758
+ var r = e.value.start;
2759
+ e.kind === "get" ? this.raiseRecoverable(r, "getter should have no params") : this.raiseRecoverable(r, "setter should have exactly one param");
2760
+ } else e.kind === "set" && e.value.params[0].type === "RestElement" && this.raiseRecoverable(e.value.params[0].start, "Setter cannot use rest params");
2761
+ }, H.parsePropertyValue = function(e, t, n, r, i, a, o, s) {
2762
+ (n || r) && this.type === C.colon && this.unexpected(), this.eat(C.colon) ? (e.value = t ? this.parseMaybeDefault(this.start, this.startLoc) : this.parseMaybeAssign(!1, o), e.kind = "init") : this.options.ecmaVersion >= 6 && this.type === C.parenL ? (t && this.unexpected(), e.method = !0, e.value = this.parseMethod(n, r), e.kind = "init") : !t && !s && this.options.ecmaVersion >= 5 && !e.computed && e.key.type === "Identifier" && (e.key.name === "get" || e.key.name === "set") && this.type !== C.comma && this.type !== C.braceR && this.type !== C.eq ? ((n || r) && this.unexpected(), this.parseGetterSetter(e)) : this.options.ecmaVersion >= 6 && !e.computed && e.key.type === "Identifier" ? ((n || r) && this.unexpected(), this.checkUnreserved(e.key), e.key.name === "await" && !this.awaitIdentPos && (this.awaitIdentPos = i), t ? e.value = this.parseMaybeDefault(i, a, this.copyNode(e.key)) : this.type === C.eq && o ? (o.shorthandAssign < 0 && (o.shorthandAssign = this.start), e.value = this.parseMaybeDefault(i, a, this.copyNode(e.key))) : e.value = this.copyNode(e.key), e.kind = "init", e.shorthand = !0) : this.unexpected();
2763
+ }, H.parsePropertyName = function(e) {
2764
+ if (this.options.ecmaVersion >= 6) {
2765
+ if (this.eat(C.bracketL)) return e.computed = !0, e.key = this.parseMaybeAssign(), this.expect(C.bracketR), e.key;
2766
+ e.computed = !1;
2767
+ }
2768
+ return e.key = this.type === C.num || this.type === C.string ? this.parseExprAtom() : this.parseIdent(this.options.allowReserved !== "never");
2769
+ }, H.initFunction = function(e) {
2770
+ e.id = null, this.options.ecmaVersion >= 6 && (e.generator = e.expression = !1), this.options.ecmaVersion >= 8 && (e.async = !1);
2771
+ }, H.parseMethod = function(e, t, n) {
2772
+ var r = this.startNode(), i = this.yieldPos, a = this.awaitPos, o = this.awaitIdentPos;
2773
+ return this.initFunction(r), this.options.ecmaVersion >= 6 && (r.generator = e), this.options.ecmaVersion >= 8 && (r.async = !!t), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(p(t, r.generator) | Ut | (n ? Wt : 0)), this.expect(C.parenL), r.params = this.parseBindingList(C.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams(), this.parseFunctionBody(r, !1, !0, !1), this.yieldPos = i, this.awaitPos = a, this.awaitIdentPos = o, this.finishNode(r, "FunctionExpression");
2774
+ }, H.parseArrowExpression = function(e, t, n, r) {
2775
+ var i = this.yieldPos, a = this.awaitPos, o = this.awaitIdentPos;
2776
+ return this.enterScope(p(n, !1) | Vt), this.initFunction(e), this.options.ecmaVersion >= 8 && (e.async = !!n), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, e.params = this.toAssignableList(t, !0), this.parseFunctionBody(e, !0, !1, r), this.yieldPos = i, this.awaitPos = a, this.awaitIdentPos = o, this.finishNode(e, "ArrowFunctionExpression");
2777
+ }, H.parseFunctionBody = function(e, t, n, r) {
2778
+ var i = t && this.type !== C.braceL, a = this.strict, o = !1;
2779
+ if (i) e.body = this.parseMaybeAssign(r), e.expression = !0, this.checkParams(e, !1);
2780
+ else {
2781
+ var s = this.options.ecmaVersion >= 7 && !this.isSimpleParamList(e.params);
2782
+ (!a || s) && (o = this.strictDirective(this.end), o && s && this.raiseRecoverable(e.start, "Illegal 'use strict' directive in function with non-simple parameter list"));
2783
+ var c = this.labels;
2784
+ this.labels = [], o && (this.strict = !0), this.checkParams(e, !a && !o && !t && !n && this.isSimpleParamList(e.params)), this.strict && e.id && this.checkLValSimple(e.id, Xt), e.body = this.parseBlock(!1, void 0, o && !a), e.expression = !1, this.adaptDirectivePrologue(e.body.body), this.labels = c;
2785
+ }
2786
+ this.exitScope();
2787
+ }, H.isSimpleParamList = function(e) {
2788
+ for (var t = 0, n = e; t < n.length; t += 1) if (n[t].type !== "Identifier") return !1;
2789
+ return !0;
2790
+ }, H.checkParams = function(e, t) {
2791
+ for (var n = Object.create(null), r = 0, i = e.params; r < i.length; r += 1) {
2792
+ var a = i[r];
2793
+ this.checkLValInnerPattern(a, qt, t ? null : n);
2794
+ }
2795
+ }, H.parseExprList = function(e, t, n, r) {
2796
+ for (var i = [], a = !0; !this.eat(e);) {
2797
+ if (a) a = !1;
2798
+ else if (this.expect(C.comma), t && this.afterTrailingComma(e)) break;
2799
+ var o = void 0;
2800
+ n && this.type === C.comma ? o = null : this.type === C.ellipsis ? (o = this.parseSpread(r), r && this.type === C.comma && r.trailingComma < 0 && (r.trailingComma = this.start)) : o = this.parseMaybeAssign(!1, r), i.push(o);
2801
+ }
2802
+ return i;
2803
+ }, H.checkUnreserved = function(e) {
2804
+ var t = e.start, n = e.end, r = e.name;
2805
+ this.inGenerator && r === "yield" && this.raiseRecoverable(t, "Cannot use 'yield' as identifier inside a generator"), this.inAsync && r === "await" && this.raiseRecoverable(t, "Cannot use 'await' as identifier inside an async function"), !(this.currentThisScope().flags & Gt) && r === "arguments" && this.raiseRecoverable(t, "Cannot use 'arguments' in class field initializer"), this.inClassStaticBlock && (r === "arguments" || r === "await") && this.raise(t, "Cannot use " + r + " in class static initialization block"), this.keywords.test(r) && this.raise(t, "Unexpected keyword '" + r + "'"), !(this.options.ecmaVersion < 6 && this.input.slice(t, n).indexOf("\\") !== -1) && (this.strict ? this.reservedWordsStrict : this.reservedWords).test(r) && (!this.inAsync && r === "await" && this.raiseRecoverable(t, "Cannot use keyword 'await' outside an async function"), this.raiseRecoverable(t, "The keyword '" + r + "' is reserved"));
2806
+ }, H.parseIdent = function(e) {
2807
+ var t = this.parseIdentNode();
2808
+ return this.next(!!e), this.finishNode(t, "Identifier"), e || (this.checkUnreserved(t), t.name === "await" && !this.awaitIdentPos && (this.awaitIdentPos = t.start)), t;
2809
+ }, H.parseIdentNode = function() {
2810
+ var e = this.startNode();
2811
+ return this.type === C.name ? e.name = this.value : this.type.keyword ? (e.name = this.type.keyword, (e.name === "class" || e.name === "function") && (this.lastTokEnd !== this.lastTokStart + 1 || this.input.charCodeAt(this.lastTokStart) !== 46) && this.context.pop(), this.type = C.name) : this.unexpected(), e;
2812
+ }, H.parsePrivateIdent = function() {
2813
+ var e = this.startNode();
2814
+ return this.type === C.privateId ? e.name = this.value : this.unexpected(), this.next(), this.finishNode(e, "PrivateIdentifier"), this.options.checkPrivateFields && (this.privateNameStack.length === 0 ? this.raise(e.start, "Private field '#" + e.name + "' must be declared in an enclosing class") : this.privateNameStack[this.privateNameStack.length - 1].used.push(e)), e;
2815
+ }, H.parseYield = function(e) {
2816
+ this.yieldPos ||= this.start;
2817
+ var t = this.startNode();
2818
+ return this.next(), this.type === C.semi || this.canInsertSemicolon() || this.type !== C.star && !this.type.startsExpr ? (t.delegate = !1, t.argument = null) : (t.delegate = this.eat(C.star), t.argument = this.parseMaybeAssign(e)), this.finishNode(t, "YieldExpression");
2819
+ }, H.parseAwait = function(e) {
2820
+ this.awaitPos ||= this.start;
2821
+ var t = this.startNode();
2822
+ return this.next(), t.argument = this.parseMaybeUnary(null, !0, !1, e), this.finishNode(t, "AwaitExpression");
2823
+ }, on = N.prototype, on.raise = function(e, t) {
2824
+ var n = u(this.input, e);
2825
+ t += " (" + n.line + ":" + n.column + ")", this.sourceFile && (t += " in " + this.sourceFile);
2826
+ var r = SyntaxError(t);
2827
+ throw r.pos = e, r.loc = n, r.raisedAt = this.pos, r;
2828
+ }, on.raiseRecoverable = on.raise, on.curPosition = function() {
2829
+ if (this.options.locations) return new D(this.curLine, this.pos - this.lineStart);
2830
+ }, U = N.prototype, sn = function(e) {
2831
+ this.flags = e, this.var = [], this.lexical = [], this.functions = [];
2832
+ }, U.enterScope = function(e) {
2833
+ this.scopeStack.push(new sn(e));
2834
+ }, U.exitScope = function() {
2835
+ this.scopeStack.pop();
2836
+ }, U.treatFunctionsAsVarInScope = function(e) {
2837
+ return e.flags & k || !this.inModule && e.flags & O;
2838
+ }, U.declareName = function(e, t, n) {
2839
+ var r = !1;
2840
+ if (t === M) {
2841
+ var i = this.currentScope();
2842
+ r = i.lexical.indexOf(e) > -1 || i.functions.indexOf(e) > -1 || i.var.indexOf(e) > -1, i.lexical.push(e), this.inModule && i.flags & O && delete this.undefinedExports[e];
2843
+ } else if (t === Yt) this.currentScope().lexical.push(e);
2844
+ else if (t === Jt) {
2845
+ var a = this.currentScope();
2846
+ r = this.treatFunctionsAsVar ? a.lexical.indexOf(e) > -1 : a.lexical.indexOf(e) > -1 || a.var.indexOf(e) > -1, a.functions.push(e);
2847
+ } else for (var o = this.scopeStack.length - 1; o >= 0; --o) {
2848
+ var s = this.scopeStack[o];
2849
+ if (s.lexical.indexOf(e) > -1 && !(s.flags & Ht && s.lexical[0] === e) || !this.treatFunctionsAsVarInScope(s) && s.functions.indexOf(e) > -1) {
2850
+ r = !0;
2851
+ break;
2852
+ }
2853
+ if (s.var.push(e), this.inModule && s.flags & O && delete this.undefinedExports[e], s.flags & Gt) break;
2854
+ }
2855
+ r && this.raiseRecoverable(n, "Identifier '" + e + "' has already been declared");
2856
+ }, U.checkLocalExport = function(e) {
2857
+ this.scopeStack[0].lexical.indexOf(e.name) === -1 && this.scopeStack[0].var.indexOf(e.name) === -1 && (this.undefinedExports[e.name] = e);
2858
+ }, U.currentScope = function() {
2859
+ return this.scopeStack[this.scopeStack.length - 1];
2860
+ }, U.currentVarScope = function() {
2861
+ for (var e = this.scopeStack.length - 1;; e--) {
2862
+ var t = this.scopeStack[e];
2863
+ if (t.flags & (Gt | j | A)) return t;
2864
+ }
2865
+ }, U.currentThisScope = function() {
2866
+ for (var e = this.scopeStack.length - 1;; e--) {
2867
+ var t = this.scopeStack[e];
2868
+ if (t.flags & (Gt | j | A) && !(t.flags & Vt)) return t;
2869
+ }
2870
+ }, cn = function(e, t, n) {
2871
+ this.type = "", this.start = t, this.end = 0, e.options.locations && (this.loc = new It(e, n)), e.options.directSourceFile && (this.sourceFile = e.options.directSourceFile), e.options.ranges && (this.range = [t, 0]);
2872
+ }, W = N.prototype, W.startNode = function() {
2873
+ return new cn(this, this.start, this.startLoc);
2874
+ }, W.startNodeAt = function(e, t) {
2875
+ return new cn(this, e, t);
2876
+ }, W.finishNode = function(e, t) {
2877
+ return ee.call(this, e, t, this.lastTokEnd, this.lastTokEndLoc);
2878
+ }, W.finishNodeAt = function(e, t, n, r) {
2879
+ return ee.call(this, e, t, n, r);
2880
+ }, W.copyNode = function(e) {
2881
+ var t = new cn(this, e.start, this.startLoc);
2882
+ for (var n in e) t[n] = e[n];
2883
+ return t;
2884
+ }, ln = "Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz", un = "ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS", dn = un + " Extended_Pictographic", fn = dn, pn = fn + " EBase EComp EMod EPres ExtPict", mn = pn, hn = mn, gn = {
2885
+ 9: un,
2886
+ 10: dn,
2887
+ 11: fn,
2888
+ 12: pn,
2889
+ 13: mn,
2890
+ 14: hn
2891
+ }, _n = "Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji", vn = {
2892
+ 9: "",
2893
+ 10: "",
2894
+ 11: "",
2895
+ 12: "",
2896
+ 13: "",
2897
+ 14: _n
2898
+ }, yn = "Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu", bn = "Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb", xn = bn + " Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd", Sn = xn + " Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho", Cn = Sn + " Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi", wn = Cn + " Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith", Tn = wn + " " + ln, En = {
2899
+ 9: bn,
2900
+ 10: xn,
2901
+ 11: Sn,
2902
+ 12: Cn,
2903
+ 13: wn,
2904
+ 14: Tn
2905
+ }, Dn = {}, kn = 0, An = [
2906
+ 9,
2907
+ 10,
2908
+ 11,
2909
+ 12,
2910
+ 13,
2911
+ 14
2912
+ ]; kn < An.length; kn += 1) On = An[kn], te(On);
2913
+ G = N.prototype, jn = function(e, t) {
2914
+ this.parent = e, this.base = t || this;
2915
+ }, jn.prototype.separatedFrom = function(e) {
2916
+ for (var t = this; t; t = t.parent) for (var n = e; n; n = n.parent) if (t.base === n.base && t !== n) return !0;
2917
+ return !1;
2918
+ }, jn.prototype.sibling = function() {
2919
+ return new jn(this.parent, this.base);
2920
+ }, K = function(e) {
2921
+ this.parser = e, this.validFlags = "gim" + (e.options.ecmaVersion >= 6 ? "uy" : "") + (e.options.ecmaVersion >= 9 ? "s" : "") + (e.options.ecmaVersion >= 13 ? "d" : "") + (e.options.ecmaVersion >= 15 ? "v" : ""), this.unicodeProperties = Dn[e.options.ecmaVersion >= 14 ? 14 : e.options.ecmaVersion], this.source = "", this.flags = "", this.start = 0, this.switchU = !1, this.switchV = !1, this.switchN = !1, this.pos = 0, this.lastIntValue = 0, this.lastStringValue = "", this.lastAssertionIsQuantifiable = !1, this.numCapturingParens = 0, this.maxBackReference = 0, this.groupNames = Object.create(null), this.backReferenceNames = [], this.branchID = null;
2922
+ }, K.prototype.reset = function(e, t, n) {
2923
+ var r = n.indexOf("v") !== -1, i = n.indexOf("u") !== -1;
2924
+ this.start = e | 0, this.source = t + "", this.flags = n, r && this.parser.options.ecmaVersion >= 15 ? (this.switchU = !0, this.switchV = !0, this.switchN = !0) : (this.switchU = i && this.parser.options.ecmaVersion >= 6, this.switchV = !1, this.switchN = i && this.parser.options.ecmaVersion >= 9);
2925
+ }, K.prototype.raise = function(e) {
2926
+ this.parser.raiseRecoverable(this.start, "Invalid regular expression: /" + this.source + "/: " + e);
2927
+ }, K.prototype.at = function(e, t) {
2928
+ t === void 0 && (t = !1);
2929
+ var n = this.source, r = n.length;
2930
+ if (e >= r) return -1;
2931
+ var i = n.charCodeAt(e);
2932
+ if (!(t || this.switchU) || i <= 55295 || i >= 57344 || e + 1 >= r) return i;
2933
+ var a = n.charCodeAt(e + 1);
2934
+ return a >= 56320 && a <= 57343 ? (i << 10) + a - 56613888 : i;
2935
+ }, K.prototype.nextIndex = function(e, t) {
2936
+ t === void 0 && (t = !1);
2937
+ var n = this.source, r = n.length;
2938
+ if (e >= r) return r;
2939
+ var i = n.charCodeAt(e), a;
2940
+ return !(t || this.switchU) || i <= 55295 || i >= 57344 || e + 1 >= r || (a = n.charCodeAt(e + 1)) < 56320 || a > 57343 ? e + 1 : e + 2;
2941
+ }, K.prototype.current = function(e) {
2942
+ return e === void 0 && (e = !1), this.at(this.pos, e);
2943
+ }, K.prototype.lookahead = function(e) {
2944
+ return e === void 0 && (e = !1), this.at(this.nextIndex(this.pos, e), e);
2945
+ }, K.prototype.advance = function(e) {
2946
+ e === void 0 && (e = !1), this.pos = this.nextIndex(this.pos, e);
2947
+ }, K.prototype.eat = function(e, t) {
2948
+ return t === void 0 && (t = !1), this.current(t) === e ? (this.advance(t), !0) : !1;
2949
+ }, K.prototype.eatChars = function(e, t) {
2950
+ t === void 0 && (t = !1);
2951
+ for (var n = this.pos, r = 0, i = e; r < i.length; r += 1) {
2952
+ var a = i[r], o = this.at(n, t);
2953
+ if (o === -1 || o !== a) return !1;
2954
+ n = this.nextIndex(n, t);
2955
+ }
2956
+ return this.pos = n, !0;
2957
+ }, G.validateRegExpFlags = function(e) {
2958
+ for (var t = e.validFlags, n = e.flags, r = !1, i = !1, a = 0; a < n.length; a++) {
2959
+ var o = n.charAt(a);
2960
+ t.indexOf(o) === -1 && this.raise(e.start, "Invalid regular expression flag"), n.indexOf(o, a + 1) > -1 && this.raise(e.start, "Duplicate regular expression flag"), o === "u" && (r = !0), o === "v" && (i = !0);
2961
+ }
2962
+ this.options.ecmaVersion >= 15 && r && i && this.raise(e.start, "Invalid regular expression flag");
2963
+ }, G.validateRegExpPattern = function(e) {
2964
+ this.regexp_pattern(e), !e.switchN && this.options.ecmaVersion >= 9 && ne(e.groupNames) && (e.switchN = !0, this.regexp_pattern(e));
2965
+ }, G.regexp_pattern = function(e) {
2966
+ e.pos = 0, e.lastIntValue = 0, e.lastStringValue = "", e.lastAssertionIsQuantifiable = !1, e.numCapturingParens = 0, e.maxBackReference = 0, e.groupNames = Object.create(null), e.backReferenceNames.length = 0, e.branchID = null, this.regexp_disjunction(e), e.pos !== e.source.length && (e.eat(41) && e.raise("Unmatched ')'"), (e.eat(93) || e.eat(125)) && e.raise("Lone quantifier brackets")), e.maxBackReference > e.numCapturingParens && e.raise("Invalid escape");
2967
+ for (var t = 0, n = e.backReferenceNames; t < n.length; t += 1) {
2968
+ var r = n[t];
2969
+ e.groupNames[r] || e.raise("Invalid named capture referenced");
2970
+ }
2971
+ }, G.regexp_disjunction = function(e) {
2972
+ var t = this.options.ecmaVersion >= 16;
2973
+ for (t && (e.branchID = new jn(e.branchID, null)), this.regexp_alternative(e); e.eat(124);) t && (e.branchID = e.branchID.sibling()), this.regexp_alternative(e);
2974
+ t && (e.branchID = e.branchID.parent), this.regexp_eatQuantifier(e, !0) && e.raise("Nothing to repeat"), e.eat(123) && e.raise("Lone quantifier brackets");
2975
+ }, G.regexp_alternative = function(e) {
2976
+ for (; e.pos < e.source.length && this.regexp_eatTerm(e););
2977
+ }, G.regexp_eatTerm = function(e) {
2978
+ return this.regexp_eatAssertion(e) ? (e.lastAssertionIsQuantifiable && this.regexp_eatQuantifier(e) && e.switchU && e.raise("Invalid quantifier"), !0) : (e.switchU ? this.regexp_eatAtom(e) : this.regexp_eatExtendedAtom(e)) ? (this.regexp_eatQuantifier(e), !0) : !1;
2979
+ }, G.regexp_eatAssertion = function(e) {
2980
+ var t = e.pos;
2981
+ if (e.lastAssertionIsQuantifiable = !1, e.eat(94) || e.eat(36)) return !0;
2982
+ if (e.eat(92)) {
2983
+ if (e.eat(66) || e.eat(98)) return !0;
2984
+ e.pos = t;
2985
+ }
2986
+ if (e.eat(40) && e.eat(63)) {
2987
+ var n = !1;
2988
+ if (this.options.ecmaVersion >= 9 && (n = e.eat(60)), e.eat(61) || e.eat(33)) return this.regexp_disjunction(e), e.eat(41) || e.raise("Unterminated group"), e.lastAssertionIsQuantifiable = !n, !0;
2989
+ }
2990
+ return e.pos = t, !1;
2991
+ }, G.regexp_eatQuantifier = function(e, t) {
2992
+ return t === void 0 && (t = !1), this.regexp_eatQuantifierPrefix(e, t) ? (e.eat(63), !0) : !1;
2993
+ }, G.regexp_eatQuantifierPrefix = function(e, t) {
2994
+ return e.eat(42) || e.eat(43) || e.eat(63) || this.regexp_eatBracedQuantifier(e, t);
2995
+ }, G.regexp_eatBracedQuantifier = function(e, t) {
2996
+ var n = e.pos;
2997
+ if (e.eat(123)) {
2998
+ var r = 0, i = -1;
2999
+ if (this.regexp_eatDecimalDigits(e) && (r = e.lastIntValue, e.eat(44) && this.regexp_eatDecimalDigits(e) && (i = e.lastIntValue), e.eat(125))) return i !== -1 && i < r && !t && e.raise("numbers out of order in {} quantifier"), !0;
3000
+ e.switchU && !t && e.raise("Incomplete quantifier"), e.pos = n;
3001
+ }
3002
+ return !1;
3003
+ }, G.regexp_eatAtom = function(e) {
3004
+ return this.regexp_eatPatternCharacters(e) || e.eat(46) || this.regexp_eatReverseSolidusAtomEscape(e) || this.regexp_eatCharacterClass(e) || this.regexp_eatUncapturingGroup(e) || this.regexp_eatCapturingGroup(e);
3005
+ }, G.regexp_eatReverseSolidusAtomEscape = function(e) {
3006
+ var t = e.pos;
3007
+ if (e.eat(92)) {
3008
+ if (this.regexp_eatAtomEscape(e)) return !0;
3009
+ e.pos = t;
3010
+ }
3011
+ return !1;
3012
+ }, G.regexp_eatUncapturingGroup = function(e) {
3013
+ var t = e.pos;
3014
+ if (e.eat(40)) {
3015
+ if (e.eat(63)) {
3016
+ if (this.options.ecmaVersion >= 16) {
3017
+ var n = this.regexp_eatModifiers(e), r = e.eat(45);
3018
+ if (n || r) {
3019
+ for (var i = 0; i < n.length; i++) {
3020
+ var a = n.charAt(i);
3021
+ n.indexOf(a, i + 1) > -1 && e.raise("Duplicate regular expression modifiers");
3022
+ }
3023
+ if (r) {
3024
+ var o = this.regexp_eatModifiers(e);
3025
+ !n && !o && e.current() === 58 && e.raise("Invalid regular expression modifiers");
3026
+ for (var s = 0; s < o.length; s++) {
3027
+ var c = o.charAt(s);
3028
+ (o.indexOf(c, s + 1) > -1 || n.indexOf(c) > -1) && e.raise("Duplicate regular expression modifiers");
3029
+ }
3030
+ }
3031
+ }
3032
+ }
3033
+ if (e.eat(58)) {
3034
+ if (this.regexp_disjunction(e), e.eat(41)) return !0;
3035
+ e.raise("Unterminated group");
3036
+ }
3037
+ }
3038
+ e.pos = t;
3039
+ }
3040
+ return !1;
3041
+ }, G.regexp_eatCapturingGroup = function(e) {
3042
+ if (e.eat(40)) {
3043
+ if (this.options.ecmaVersion >= 9 ? this.regexp_groupSpecifier(e) : e.current() === 63 && e.raise("Invalid group"), this.regexp_disjunction(e), e.eat(41)) return e.numCapturingParens += 1, !0;
3044
+ e.raise("Unterminated group");
3045
+ }
3046
+ return !1;
3047
+ }, G.regexp_eatModifiers = function(e) {
3048
+ for (var t = "", n = 0; (n = e.current()) !== -1 && re(n);) t += l(n), e.advance();
3049
+ return t;
3050
+ }, G.regexp_eatExtendedAtom = function(e) {
3051
+ return e.eat(46) || this.regexp_eatReverseSolidusAtomEscape(e) || this.regexp_eatCharacterClass(e) || this.regexp_eatUncapturingGroup(e) || this.regexp_eatCapturingGroup(e) || this.regexp_eatInvalidBracedQuantifier(e) || this.regexp_eatExtendedPatternCharacter(e);
3052
+ }, G.regexp_eatInvalidBracedQuantifier = function(e) {
3053
+ return this.regexp_eatBracedQuantifier(e, !0) && e.raise("Nothing to repeat"), !1;
3054
+ }, G.regexp_eatSyntaxCharacter = function(e) {
3055
+ var t = e.current();
3056
+ return ie(t) ? (e.lastIntValue = t, e.advance(), !0) : !1;
3057
+ }, G.regexp_eatPatternCharacters = function(e) {
3058
+ for (var t = e.pos, n = 0; (n = e.current()) !== -1 && !ie(n);) e.advance();
3059
+ return e.pos !== t;
3060
+ }, G.regexp_eatExtendedPatternCharacter = function(e) {
3061
+ var t = e.current();
3062
+ return t !== -1 && t !== 36 && !(t >= 40 && t <= 43) && t !== 46 && t !== 63 && t !== 91 && t !== 94 && t !== 124 ? (e.advance(), !0) : !1;
3063
+ }, G.regexp_groupSpecifier = function(e) {
3064
+ if (e.eat(63)) {
3065
+ this.regexp_eatGroupName(e) || e.raise("Invalid group");
3066
+ var t = this.options.ecmaVersion >= 16, n = e.groupNames[e.lastStringValue];
3067
+ if (n) if (t) for (var r = 0, i = n; r < i.length; r += 1) i[r].separatedFrom(e.branchID) || e.raise("Duplicate capture group name");
3068
+ else e.raise("Duplicate capture group name");
3069
+ t ? (n || (e.groupNames[e.lastStringValue] = [])).push(e.branchID) : e.groupNames[e.lastStringValue] = !0;
3070
+ }
3071
+ }, G.regexp_eatGroupName = function(e) {
3072
+ if (e.lastStringValue = "", e.eat(60)) {
3073
+ if (this.regexp_eatRegExpIdentifierName(e) && e.eat(62)) return !0;
3074
+ e.raise("Invalid capture group name");
3075
+ }
3076
+ return !1;
3077
+ }, G.regexp_eatRegExpIdentifierName = function(e) {
3078
+ if (e.lastStringValue = "", this.regexp_eatRegExpIdentifierStart(e)) {
3079
+ for (e.lastStringValue += l(e.lastIntValue); this.regexp_eatRegExpIdentifierPart(e);) e.lastStringValue += l(e.lastIntValue);
3080
+ return !0;
3081
+ }
3082
+ return !1;
3083
+ }, G.regexp_eatRegExpIdentifierStart = function(e) {
3084
+ var t = e.pos, n = this.options.ecmaVersion >= 11, r = e.current(n);
3085
+ return e.advance(n), r === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(e, n) && (r = e.lastIntValue), ae(r) ? (e.lastIntValue = r, !0) : (e.pos = t, !1);
3086
+ }, G.regexp_eatRegExpIdentifierPart = function(e) {
3087
+ var t = e.pos, n = this.options.ecmaVersion >= 11, r = e.current(n);
3088
+ return e.advance(n), r === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(e, n) && (r = e.lastIntValue), oe(r) ? (e.lastIntValue = r, !0) : (e.pos = t, !1);
3089
+ }, G.regexp_eatAtomEscape = function(e) {
3090
+ return this.regexp_eatBackReference(e) || this.regexp_eatCharacterClassEscape(e) || this.regexp_eatCharacterEscape(e) || e.switchN && this.regexp_eatKGroupName(e) ? !0 : (e.switchU && (e.current() === 99 && e.raise("Invalid unicode escape"), e.raise("Invalid escape")), !1);
3091
+ }, G.regexp_eatBackReference = function(e) {
3092
+ var t = e.pos;
3093
+ if (this.regexp_eatDecimalEscape(e)) {
3094
+ var n = e.lastIntValue;
3095
+ if (e.switchU) return n > e.maxBackReference && (e.maxBackReference = n), !0;
3096
+ if (n <= e.numCapturingParens) return !0;
3097
+ e.pos = t;
3098
+ }
3099
+ return !1;
3100
+ }, G.regexp_eatKGroupName = function(e) {
3101
+ if (e.eat(107)) {
3102
+ if (this.regexp_eatGroupName(e)) return e.backReferenceNames.push(e.lastStringValue), !0;
3103
+ e.raise("Invalid named reference");
3104
+ }
3105
+ return !1;
3106
+ }, G.regexp_eatCharacterEscape = function(e) {
3107
+ return this.regexp_eatControlEscape(e) || this.regexp_eatCControlLetter(e) || this.regexp_eatZero(e) || this.regexp_eatHexEscapeSequence(e) || this.regexp_eatRegExpUnicodeEscapeSequence(e, !1) || !e.switchU && this.regexp_eatLegacyOctalEscapeSequence(e) || this.regexp_eatIdentityEscape(e);
3108
+ }, G.regexp_eatCControlLetter = function(e) {
3109
+ var t = e.pos;
3110
+ if (e.eat(99)) {
3111
+ if (this.regexp_eatControlLetter(e)) return !0;
3112
+ e.pos = t;
3113
+ }
3114
+ return !1;
3115
+ }, G.regexp_eatZero = function(e) {
3116
+ return e.current() === 48 && !he(e.lookahead()) ? (e.lastIntValue = 0, e.advance(), !0) : !1;
3117
+ }, G.regexp_eatControlEscape = function(e) {
3118
+ var t = e.current();
3119
+ return t === 116 ? (e.lastIntValue = 9, e.advance(), !0) : t === 110 ? (e.lastIntValue = 10, e.advance(), !0) : t === 118 ? (e.lastIntValue = 11, e.advance(), !0) : t === 102 ? (e.lastIntValue = 12, e.advance(), !0) : t === 114 ? (e.lastIntValue = 13, e.advance(), !0) : !1;
3120
+ }, G.regexp_eatControlLetter = function(e) {
3121
+ var t = e.current();
3122
+ return se(t) ? (e.lastIntValue = t % 32, e.advance(), !0) : !1;
3123
+ }, G.regexp_eatRegExpUnicodeEscapeSequence = function(e, t) {
3124
+ t === void 0 && (t = !1);
3125
+ var n = e.pos, r = t || e.switchU;
3126
+ if (e.eat(117)) {
3127
+ if (this.regexp_eatFixedHexDigits(e, 4)) {
3128
+ var i = e.lastIntValue;
3129
+ if (r && i >= 55296 && i <= 56319) {
3130
+ var a = e.pos;
3131
+ if (e.eat(92) && e.eat(117) && this.regexp_eatFixedHexDigits(e, 4)) {
3132
+ var o = e.lastIntValue;
3133
+ if (o >= 56320 && o <= 57343) return e.lastIntValue = (i - 55296) * 1024 + (o - 56320) + 65536, !0;
3134
+ }
3135
+ e.pos = a, e.lastIntValue = i;
3136
+ }
3137
+ return !0;
3138
+ }
3139
+ if (r && e.eat(123) && this.regexp_eatHexDigits(e) && e.eat(125) && ce(e.lastIntValue)) return !0;
3140
+ r && e.raise("Invalid unicode escape"), e.pos = n;
3141
+ }
3142
+ return !1;
3143
+ }, G.regexp_eatIdentityEscape = function(e) {
3144
+ if (e.switchU) return this.regexp_eatSyntaxCharacter(e) ? !0 : e.eat(47) ? (e.lastIntValue = 47, !0) : !1;
3145
+ var t = e.current();
3146
+ return t !== 99 && (!e.switchN || t !== 107) ? (e.lastIntValue = t, e.advance(), !0) : !1;
3147
+ }, G.regexp_eatDecimalEscape = function(e) {
3148
+ e.lastIntValue = 0;
3149
+ var t = e.current();
3150
+ if (t >= 49 && t <= 57) {
3151
+ do
3152
+ e.lastIntValue = 10 * e.lastIntValue + (t - 48), e.advance();
3153
+ while ((t = e.current()) >= 48 && t <= 57);
3154
+ return !0;
3155
+ }
3156
+ return !1;
3157
+ }, Mn = 0, q = 1, J = 2, G.regexp_eatCharacterClassEscape = function(e) {
3158
+ var t = e.current();
3159
+ if (le(t)) return e.lastIntValue = -1, e.advance(), q;
3160
+ var n = !1;
3161
+ if (e.switchU && this.options.ecmaVersion >= 9 && ((n = t === 80) || t === 112)) {
3162
+ e.lastIntValue = -1, e.advance();
3163
+ var r;
3164
+ if (e.eat(123) && (r = this.regexp_eatUnicodePropertyValueExpression(e)) && e.eat(125)) return n && r === J && e.raise("Invalid property name"), r;
3165
+ e.raise("Invalid property name");
3166
+ }
3167
+ return Mn;
3168
+ }, G.regexp_eatUnicodePropertyValueExpression = function(e) {
3169
+ var t = e.pos;
3170
+ if (this.regexp_eatUnicodePropertyName(e) && e.eat(61)) {
3171
+ var n = e.lastStringValue;
3172
+ if (this.regexp_eatUnicodePropertyValue(e)) {
3173
+ var r = e.lastStringValue;
3174
+ return this.regexp_validateUnicodePropertyNameAndValue(e, n, r), q;
3175
+ }
3176
+ }
3177
+ if (e.pos = t, this.regexp_eatLoneUnicodePropertyNameOrValue(e)) {
3178
+ var i = e.lastStringValue;
3179
+ return this.regexp_validateUnicodePropertyNameOrValue(e, i);
3180
+ }
3181
+ return Mn;
3182
+ }, G.regexp_validateUnicodePropertyNameAndValue = function(e, t, n) {
3183
+ E(e.unicodeProperties.nonBinary, t) || e.raise("Invalid property name"), e.unicodeProperties.nonBinary[t].test(n) || e.raise("Invalid property value");
3184
+ }, G.regexp_validateUnicodePropertyNameOrValue = function(e, t) {
3185
+ if (e.unicodeProperties.binary.test(t)) return q;
3186
+ if (e.switchV && e.unicodeProperties.binaryOfStrings.test(t)) return J;
3187
+ e.raise("Invalid property name");
3188
+ }, G.regexp_eatUnicodePropertyName = function(e) {
3189
+ var t = 0;
3190
+ for (e.lastStringValue = ""; ue(t = e.current());) e.lastStringValue += l(t), e.advance();
3191
+ return e.lastStringValue !== "";
3192
+ }, G.regexp_eatUnicodePropertyValue = function(e) {
3193
+ var t = 0;
3194
+ for (e.lastStringValue = ""; de(t = e.current());) e.lastStringValue += l(t), e.advance();
3195
+ return e.lastStringValue !== "";
3196
+ }, G.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
3197
+ return this.regexp_eatUnicodePropertyValue(e);
3198
+ }, G.regexp_eatCharacterClass = function(e) {
3199
+ if (e.eat(91)) {
3200
+ var t = e.eat(94), n = this.regexp_classContents(e);
3201
+ return e.eat(93) || e.raise("Unterminated character class"), t && n === J && e.raise("Negated character class may contain strings"), !0;
3202
+ }
3203
+ return !1;
3204
+ }, G.regexp_classContents = function(e) {
3205
+ return e.current() === 93 ? q : e.switchV ? this.regexp_classSetExpression(e) : (this.regexp_nonEmptyClassRanges(e), q);
3206
+ }, G.regexp_nonEmptyClassRanges = function(e) {
3207
+ for (; this.regexp_eatClassAtom(e);) {
3208
+ var t = e.lastIntValue;
3209
+ if (e.eat(45) && this.regexp_eatClassAtom(e)) {
3210
+ var n = e.lastIntValue;
3211
+ e.switchU && (t === -1 || n === -1) && e.raise("Invalid character class"), t !== -1 && n !== -1 && t > n && e.raise("Range out of order in character class");
3212
+ }
3213
+ }
3214
+ }, G.regexp_eatClassAtom = function(e) {
3215
+ var t = e.pos;
3216
+ if (e.eat(92)) {
3217
+ if (this.regexp_eatClassEscape(e)) return !0;
3218
+ if (e.switchU) {
3219
+ var n = e.current();
3220
+ (n === 99 || ve(n)) && e.raise("Invalid class escape"), e.raise("Invalid escape");
3221
+ }
3222
+ e.pos = t;
3223
+ }
3224
+ var r = e.current();
3225
+ return r === 93 ? !1 : (e.lastIntValue = r, e.advance(), !0);
3226
+ }, G.regexp_eatClassEscape = function(e) {
3227
+ var t = e.pos;
3228
+ if (e.eat(98)) return e.lastIntValue = 8, !0;
3229
+ if (e.switchU && e.eat(45)) return e.lastIntValue = 45, !0;
3230
+ if (!e.switchU && e.eat(99)) {
3231
+ if (this.regexp_eatClassControlLetter(e)) return !0;
3232
+ e.pos = t;
3233
+ }
3234
+ return this.regexp_eatCharacterClassEscape(e) || this.regexp_eatCharacterEscape(e);
3235
+ }, G.regexp_classSetExpression = function(e) {
3236
+ var t = q, n;
3237
+ if (!this.regexp_eatClassSetRange(e)) if (n = this.regexp_eatClassSetOperand(e)) {
3238
+ n === J && (t = J);
3239
+ for (var r = e.pos; e.eatChars([38, 38]);) {
3240
+ if (e.current() !== 38 && (n = this.regexp_eatClassSetOperand(e))) {
3241
+ n !== J && (t = q);
3242
+ continue;
3243
+ }
3244
+ e.raise("Invalid character in character class");
3245
+ }
3246
+ if (r !== e.pos) return t;
3247
+ for (; e.eatChars([45, 45]);) this.regexp_eatClassSetOperand(e) || e.raise("Invalid character in character class");
3248
+ if (r !== e.pos) return t;
3249
+ } else e.raise("Invalid character in character class");
3250
+ for (;;) if (!this.regexp_eatClassSetRange(e)) {
3251
+ if (n = this.regexp_eatClassSetOperand(e), !n) return t;
3252
+ n === J && (t = J);
3253
+ }
3254
+ }, G.regexp_eatClassSetRange = function(e) {
3255
+ var t = e.pos;
3256
+ if (this.regexp_eatClassSetCharacter(e)) {
3257
+ var n = e.lastIntValue;
3258
+ if (e.eat(45) && this.regexp_eatClassSetCharacter(e)) {
3259
+ var r = e.lastIntValue;
3260
+ return n !== -1 && r !== -1 && n > r && e.raise("Range out of order in character class"), !0;
3261
+ }
3262
+ e.pos = t;
3263
+ }
3264
+ return !1;
3265
+ }, G.regexp_eatClassSetOperand = function(e) {
3266
+ return this.regexp_eatClassSetCharacter(e) ? q : this.regexp_eatClassStringDisjunction(e) || this.regexp_eatNestedClass(e);
3267
+ }, G.regexp_eatNestedClass = function(e) {
3268
+ var t = e.pos;
3269
+ if (e.eat(91)) {
3270
+ var n = e.eat(94), r = this.regexp_classContents(e);
3271
+ if (e.eat(93)) return n && r === J && e.raise("Negated character class may contain strings"), r;
3272
+ e.pos = t;
3273
+ }
3274
+ if (e.eat(92)) {
3275
+ var i = this.regexp_eatCharacterClassEscape(e);
3276
+ if (i) return i;
3277
+ e.pos = t;
3278
+ }
3279
+ return null;
3280
+ }, G.regexp_eatClassStringDisjunction = function(e) {
3281
+ var t = e.pos;
3282
+ if (e.eatChars([92, 113])) {
3283
+ if (e.eat(123)) {
3284
+ var n = this.regexp_classStringDisjunctionContents(e);
3285
+ if (e.eat(125)) return n;
3286
+ } else e.raise("Invalid escape");
3287
+ e.pos = t;
3288
+ }
3289
+ return null;
3290
+ }, G.regexp_classStringDisjunctionContents = function(e) {
3291
+ for (var t = this.regexp_classString(e); e.eat(124);) this.regexp_classString(e) === J && (t = J);
3292
+ return t;
3293
+ }, G.regexp_classString = function(e) {
3294
+ for (var t = 0; this.regexp_eatClassSetCharacter(e);) t++;
3295
+ return t === 1 ? q : J;
3296
+ }, G.regexp_eatClassSetCharacter = function(e) {
3297
+ var t = e.pos;
3298
+ if (e.eat(92)) return this.regexp_eatCharacterEscape(e) || this.regexp_eatClassSetReservedPunctuator(e) ? !0 : e.eat(98) ? (e.lastIntValue = 8, !0) : (e.pos = t, !1);
3299
+ var n = e.current();
3300
+ return n < 0 || n === e.lookahead() && fe(n) || pe(n) ? !1 : (e.advance(), e.lastIntValue = n, !0);
3301
+ }, G.regexp_eatClassSetReservedPunctuator = function(e) {
3302
+ var t = e.current();
3303
+ return me(t) ? (e.lastIntValue = t, e.advance(), !0) : !1;
3304
+ }, G.regexp_eatClassControlLetter = function(e) {
3305
+ var t = e.current();
3306
+ return he(t) || t === 95 ? (e.lastIntValue = t % 32, e.advance(), !0) : !1;
3307
+ }, G.regexp_eatHexEscapeSequence = function(e) {
3308
+ var t = e.pos;
3309
+ if (e.eat(120)) {
3310
+ if (this.regexp_eatFixedHexDigits(e, 2)) return !0;
3311
+ e.switchU && e.raise("Invalid escape"), e.pos = t;
3312
+ }
3313
+ return !1;
3314
+ }, G.regexp_eatDecimalDigits = function(e) {
3315
+ var t = e.pos, n = 0;
3316
+ for (e.lastIntValue = 0; he(n = e.current());) e.lastIntValue = 10 * e.lastIntValue + (n - 48), e.advance();
3317
+ return e.pos !== t;
3318
+ }, G.regexp_eatHexDigits = function(e) {
3319
+ var t = e.pos, n = 0;
3320
+ for (e.lastIntValue = 0; ge(n = e.current());) e.lastIntValue = 16 * e.lastIntValue + _e(n), e.advance();
3321
+ return e.pos !== t;
3322
+ }, G.regexp_eatLegacyOctalEscapeSequence = function(e) {
3323
+ if (this.regexp_eatOctalDigit(e)) {
3324
+ var t = e.lastIntValue;
3325
+ if (this.regexp_eatOctalDigit(e)) {
3326
+ var n = e.lastIntValue;
3327
+ t <= 3 && this.regexp_eatOctalDigit(e) ? e.lastIntValue = t * 64 + n * 8 + e.lastIntValue : e.lastIntValue = t * 8 + n;
3328
+ } else e.lastIntValue = t;
3329
+ return !0;
3330
+ }
3331
+ return !1;
3332
+ }, G.regexp_eatOctalDigit = function(e) {
3333
+ var t = e.current();
3334
+ return ve(t) ? (e.lastIntValue = t - 48, e.advance(), !0) : (e.lastIntValue = 0, !1);
3335
+ }, G.regexp_eatFixedHexDigits = function(e, t) {
3336
+ var n = e.pos;
3337
+ e.lastIntValue = 0;
3338
+ for (var r = 0; r < t; ++r) {
3339
+ var i = e.current();
3340
+ if (!ge(i)) return e.pos = n, !1;
3341
+ e.lastIntValue = 16 * e.lastIntValue + _e(i), e.advance();
3342
+ }
3343
+ return !0;
3344
+ }, Nn = function(e) {
3345
+ this.type = e.type, this.value = e.value, this.start = e.start, this.end = e.end, e.options.locations && (this.loc = new It(e, e.startLoc, e.endLoc)), e.options.ranges && (this.range = [e.start, e.end]);
3346
+ }, Y = N.prototype, Y.next = function(e) {
3347
+ !e && this.type.keyword && this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword " + this.type.keyword), this.options.onToken && this.options.onToken(new Nn(this)), this.lastTokEnd = this.end, this.lastTokStart = this.start, this.lastTokEndLoc = this.endLoc, this.lastTokStartLoc = this.startLoc, this.nextToken();
3348
+ }, Y.getToken = function() {
3349
+ return this.next(), new Nn(this);
3350
+ }, typeof Symbol < "u" && (Y[Symbol.iterator] = function() {
3351
+ var e = this;
3352
+ return { next: function() {
3353
+ var t = e.getToken();
3354
+ return {
3355
+ done: t.type === C.eof,
3356
+ value: t
3357
+ };
3358
+ } };
3359
+ }), Y.nextToken = function() {
3360
+ var e = this.curContext();
3361
+ if ((!e || !e.preserveSpace) && this.skipSpace(), this.start = this.pos, this.options.locations && (this.startLoc = this.curPosition()), this.pos >= this.input.length) return this.finishToken(C.eof);
3362
+ if (e.override) return e.override(this);
3363
+ this.readToken(this.fullCharCodeAtPos());
3364
+ }, Y.readToken = function(e) {
3365
+ return n(e, this.options.ecmaVersion >= 6) || e === 92 ? this.readWord() : this.getTokenFromCode(e);
3366
+ }, Y.fullCharCodeAtPos = function() {
3367
+ var e = this.input.charCodeAt(this.pos);
3368
+ if (e <= 55295 || e >= 56320) return e;
3369
+ var t = this.input.charCodeAt(this.pos + 1);
3370
+ return t <= 56319 || t >= 57344 ? e : (e << 10) + t - 56613888;
3371
+ }, Y.skipBlockComment = function() {
3372
+ var e = this.options.onComment && this.curPosition(), t = this.pos, n = this.input.indexOf("*/", this.pos += 2);
3373
+ if (n === -1 && this.raise(this.pos - 2, "Unterminated comment"), this.pos = n + 2, this.options.locations) for (var r = void 0, i = t; (r = s(this.input, i, this.pos)) > -1;) ++this.curLine, i = this.lineStart = r;
3374
+ this.options.onComment && this.options.onComment(!0, this.input.slice(t + 2, n), t, this.pos, e, this.curPosition());
3375
+ }, Y.skipLineComment = function(e) {
3376
+ for (var t = this.pos, n = this.options.onComment && this.curPosition(), r = this.input.charCodeAt(this.pos += e); this.pos < this.input.length && !o(r);) r = this.input.charCodeAt(++this.pos);
3377
+ this.options.onComment && this.options.onComment(!1, this.input.slice(t + e, this.pos), t, this.pos, n, this.curPosition());
3378
+ }, Y.skipSpace = function() {
3379
+ e: for (; this.pos < this.input.length;) {
3380
+ var e = this.input.charCodeAt(this.pos);
3381
+ switch (e) {
3382
+ case 32:
3383
+ case 160:
3384
+ ++this.pos;
3385
+ break;
3386
+ case 13: this.input.charCodeAt(this.pos + 1) === 10 && ++this.pos;
3387
+ case 10:
3388
+ case 8232:
3389
+ case 8233:
3390
+ ++this.pos, this.options.locations && (++this.curLine, this.lineStart = this.pos);
3391
+ break;
3392
+ case 47:
3393
+ switch (this.input.charCodeAt(this.pos + 1)) {
3394
+ case 42:
3395
+ this.skipBlockComment();
3396
+ break;
3397
+ case 47:
3398
+ this.skipLineComment(2);
3399
+ break;
3400
+ default: break e;
3401
+ }
3402
+ break;
3403
+ default: if (e > 8 && e < 14 || e >= 5760 && kt.test(String.fromCharCode(e))) ++this.pos;
3404
+ else break e;
3405
+ }
3406
+ }
3407
+ }, Y.finishToken = function(e, t) {
3408
+ this.end = this.pos, this.options.locations && (this.endLoc = this.curPosition());
3409
+ var n = this.type;
3410
+ this.type = e, this.value = t, this.updateContext(n);
3411
+ }, Y.readToken_dot = function() {
3412
+ var e = this.input.charCodeAt(this.pos + 1);
3413
+ if (e >= 48 && e <= 57) return this.readNumber(!0);
3414
+ var t = this.input.charCodeAt(this.pos + 2);
3415
+ return this.options.ecmaVersion >= 6 && e === 46 && t === 46 ? (this.pos += 3, this.finishToken(C.ellipsis)) : (++this.pos, this.finishToken(C.dot));
3416
+ }, Y.readToken_slash = function() {
3417
+ var e = this.input.charCodeAt(this.pos + 1);
3418
+ return this.exprAllowed ? (++this.pos, this.readRegexp()) : e === 61 ? this.finishOp(C.assign, 2) : this.finishOp(C.slash, 1);
3419
+ }, Y.readToken_mult_modulo_exp = function(e) {
3420
+ var t = this.input.charCodeAt(this.pos + 1), n = 1, r = e === 42 ? C.star : C.modulo;
3421
+ return this.options.ecmaVersion >= 7 && e === 42 && t === 42 && (++n, r = C.starstar, t = this.input.charCodeAt(this.pos + 2)), t === 61 ? this.finishOp(C.assign, n + 1) : this.finishOp(r, n);
3422
+ }, Y.readToken_pipe_amp = function(e) {
3423
+ var t = this.input.charCodeAt(this.pos + 1);
3424
+ return t === e ? this.options.ecmaVersion >= 12 && this.input.charCodeAt(this.pos + 2) === 61 ? this.finishOp(C.assign, 3) : this.finishOp(e === 124 ? C.logicalOR : C.logicalAND, 2) : t === 61 ? this.finishOp(C.assign, 2) : this.finishOp(e === 124 ? C.bitwiseOR : C.bitwiseAND, 1);
3425
+ }, Y.readToken_caret = function() {
3426
+ return this.input.charCodeAt(this.pos + 1) === 61 ? this.finishOp(C.assign, 2) : this.finishOp(C.bitwiseXOR, 1);
3427
+ }, Y.readToken_plus_min = function(e) {
3428
+ var t = this.input.charCodeAt(this.pos + 1);
3429
+ return t === e ? t === 45 && !this.inModule && this.input.charCodeAt(this.pos + 2) === 62 && (this.lastTokEnd === 0 || w.test(this.input.slice(this.lastTokEnd, this.pos))) ? (this.skipLineComment(3), this.skipSpace(), this.nextToken()) : this.finishOp(C.incDec, 2) : t === 61 ? this.finishOp(C.assign, 2) : this.finishOp(C.plusMin, 1);
3430
+ }, Y.readToken_lt_gt = function(e) {
3431
+ var t = this.input.charCodeAt(this.pos + 1), n = 1;
3432
+ return t === e ? (n = e === 62 && this.input.charCodeAt(this.pos + 2) === 62 ? 3 : 2, this.input.charCodeAt(this.pos + n) === 61 ? this.finishOp(C.assign, n + 1) : this.finishOp(C.bitShift, n)) : t === 33 && e === 60 && !this.inModule && this.input.charCodeAt(this.pos + 2) === 45 && this.input.charCodeAt(this.pos + 3) === 45 ? (this.skipLineComment(4), this.skipSpace(), this.nextToken()) : (t === 61 && (n = 2), this.finishOp(C.relational, n));
3433
+ }, Y.readToken_eq_excl = function(e) {
3434
+ var t = this.input.charCodeAt(this.pos + 1);
3435
+ return t === 61 ? this.finishOp(C.equality, this.input.charCodeAt(this.pos + 2) === 61 ? 3 : 2) : e === 61 && t === 62 && this.options.ecmaVersion >= 6 ? (this.pos += 2, this.finishToken(C.arrow)) : this.finishOp(e === 61 ? C.eq : C.prefix, 1);
3436
+ }, Y.readToken_question = function() {
3437
+ var e = this.options.ecmaVersion;
3438
+ if (e >= 11) {
3439
+ var t = this.input.charCodeAt(this.pos + 1);
3440
+ if (t === 46) {
3441
+ var n = this.input.charCodeAt(this.pos + 2);
3442
+ if (n < 48 || n > 57) return this.finishOp(C.questionDot, 2);
3443
+ }
3444
+ if (t === 63) return e >= 12 && this.input.charCodeAt(this.pos + 2) === 61 ? this.finishOp(C.assign, 3) : this.finishOp(C.coalesce, 2);
3445
+ }
3446
+ return this.finishOp(C.question, 1);
3447
+ }, Y.readToken_numberSign = function() {
3448
+ var e = this.options.ecmaVersion, t = 35;
3449
+ if (e >= 13 && (++this.pos, t = this.fullCharCodeAtPos(), n(t, !0) || t === 92)) return this.finishToken(C.privateId, this.readWord1());
3450
+ this.raise(this.pos, "Unexpected character '" + l(t) + "'");
3451
+ }, Y.getTokenFromCode = function(e) {
3452
+ switch (e) {
3453
+ case 46: return this.readToken_dot();
3454
+ case 40: return ++this.pos, this.finishToken(C.parenL);
3455
+ case 41: return ++this.pos, this.finishToken(C.parenR);
3456
+ case 59: return ++this.pos, this.finishToken(C.semi);
3457
+ case 44: return ++this.pos, this.finishToken(C.comma);
3458
+ case 91: return ++this.pos, this.finishToken(C.bracketL);
3459
+ case 93: return ++this.pos, this.finishToken(C.bracketR);
3460
+ case 123: return ++this.pos, this.finishToken(C.braceL);
3461
+ case 125: return ++this.pos, this.finishToken(C.braceR);
3462
+ case 58: return ++this.pos, this.finishToken(C.colon);
3463
+ case 96:
3464
+ if (this.options.ecmaVersion < 6) break;
3465
+ return ++this.pos, this.finishToken(C.backQuote);
3466
+ case 48:
3467
+ var t = this.input.charCodeAt(this.pos + 1);
3468
+ if (t === 120 || t === 88) return this.readRadixNumber(16);
3469
+ if (this.options.ecmaVersion >= 6) {
3470
+ if (t === 111 || t === 79) return this.readRadixNumber(8);
3471
+ if (t === 98 || t === 66) return this.readRadixNumber(2);
3472
+ }
3473
+ case 49:
3474
+ case 50:
3475
+ case 51:
3476
+ case 52:
3477
+ case 53:
3478
+ case 54:
3479
+ case 55:
3480
+ case 56:
3481
+ case 57: return this.readNumber(!1);
3482
+ case 34:
3483
+ case 39: return this.readString(e);
3484
+ case 47: return this.readToken_slash();
3485
+ case 37:
3486
+ case 42: return this.readToken_mult_modulo_exp(e);
3487
+ case 124:
3488
+ case 38: return this.readToken_pipe_amp(e);
3489
+ case 94: return this.readToken_caret();
3490
+ case 43:
3491
+ case 45: return this.readToken_plus_min(e);
3492
+ case 60:
3493
+ case 62: return this.readToken_lt_gt(e);
3494
+ case 61:
3495
+ case 33: return this.readToken_eq_excl(e);
3496
+ case 63: return this.readToken_question();
3497
+ case 126: return this.finishOp(C.prefix, 1);
3498
+ case 35: return this.readToken_numberSign();
3499
+ }
3500
+ this.raise(this.pos, "Unexpected character '" + l(e) + "'");
3501
+ }, Y.finishOp = function(e, t) {
3502
+ var n = this.input.slice(this.pos, this.pos + t);
3503
+ return this.pos += t, this.finishToken(e, n);
3504
+ }, Y.readRegexp = function() {
3505
+ for (var e, t, n = this.pos;;) {
3506
+ this.pos >= this.input.length && this.raise(n, "Unterminated regular expression");
3507
+ var r = this.input.charAt(this.pos);
3508
+ if (w.test(r) && this.raise(n, "Unterminated regular expression"), e) e = !1;
3509
+ else {
3510
+ if (r === "[") t = !0;
3511
+ else if (r === "]" && t) t = !1;
3512
+ else if (r === "/" && !t) break;
3513
+ e = r === "\\";
3514
+ }
3515
+ ++this.pos;
3516
+ }
3517
+ var i = this.input.slice(n, this.pos);
3518
+ ++this.pos;
3519
+ var a = this.pos, o = this.readWord1();
3520
+ this.containsEsc && this.unexpected(a);
3521
+ var s = this.regexpState ||= new K(this);
3522
+ s.reset(n, i, o), this.validateRegExpFlags(s), this.validateRegExpPattern(s);
3523
+ var c = null;
3524
+ try {
3525
+ c = new RegExp(i, o);
3526
+ } catch {}
3527
+ return this.finishToken(C.regexp, {
3528
+ pattern: i,
3529
+ flags: o,
3530
+ value: c
3531
+ });
3532
+ }, Y.readInt = function(e, t, n) {
3533
+ for (var r = this.options.ecmaVersion >= 12 && t === void 0, i = n && this.input.charCodeAt(this.pos) === 48, a = this.pos, o = 0, s = 0, c = 0, l = t ?? Infinity; c < l; ++c, ++this.pos) {
3534
+ var u = this.input.charCodeAt(this.pos), d = void 0;
3535
+ if (r && u === 95) {
3536
+ i && this.raiseRecoverable(this.pos, "Numeric separator is not allowed in legacy octal numeric literals"), s === 95 && this.raiseRecoverable(this.pos, "Numeric separator must be exactly one underscore"), c === 0 && this.raiseRecoverable(this.pos, "Numeric separator is not allowed at the first of digits"), s = u;
3537
+ continue;
3538
+ }
3539
+ if (d = u >= 97 ? u - 97 + 10 : u >= 65 ? u - 65 + 10 : u >= 48 && u <= 57 ? u - 48 : Infinity, d >= e) break;
3540
+ s = u, o = o * e + d;
3541
+ }
3542
+ return r && s === 95 && this.raiseRecoverable(this.pos - 1, "Numeric separator is not allowed at the last of digits"), this.pos === a || t != null && this.pos - a !== t ? null : o;
3543
+ }, Y.readRadixNumber = function(e) {
3544
+ var t = this.pos;
3545
+ this.pos += 2;
3546
+ var r = this.readInt(e);
3547
+ return r ?? this.raise(this.start + 2, "Expected number in radix " + e), this.options.ecmaVersion >= 11 && this.input.charCodeAt(this.pos) === 110 ? (r = be(this.input.slice(t, this.pos)), ++this.pos) : n(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(C.num, r);
3548
+ }, Y.readNumber = function(e) {
3549
+ var t = this.pos;
3550
+ !e && this.readInt(10, void 0, !0) === null && this.raise(t, "Invalid number");
3551
+ var r = this.pos - t >= 2 && this.input.charCodeAt(t) === 48;
3552
+ r && this.strict && this.raise(t, "Invalid number");
3553
+ var i = this.input.charCodeAt(this.pos);
3554
+ if (!r && !e && this.options.ecmaVersion >= 11 && i === 110) {
3555
+ var a = be(this.input.slice(t, this.pos));
3556
+ return ++this.pos, n(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(C.num, a);
3557
+ }
3558
+ r && /[89]/.test(this.input.slice(t, this.pos)) && (r = !1), i === 46 && !r && (++this.pos, this.readInt(10), i = this.input.charCodeAt(this.pos)), (i === 69 || i === 101) && !r && (i = this.input.charCodeAt(++this.pos), (i === 43 || i === 45) && ++this.pos, this.readInt(10) === null && this.raise(t, "Invalid number")), n(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number");
3559
+ var o = ye(this.input.slice(t, this.pos), r);
3560
+ return this.finishToken(C.num, o);
3561
+ }, Y.readCodePoint = function() {
3562
+ var e = this.input.charCodeAt(this.pos), t;
3563
+ if (e === 123) {
3564
+ this.options.ecmaVersion < 6 && this.unexpected();
3565
+ var n = ++this.pos;
3566
+ t = this.readHexChar(this.input.indexOf("}", this.pos) - this.pos), ++this.pos, t > 1114111 && this.invalidStringToken(n, "Code point out of bounds");
3567
+ } else t = this.readHexChar(4);
3568
+ return t;
3569
+ }, Y.readString = function(e) {
3570
+ for (var t = "", n = ++this.pos;;) {
3571
+ this.pos >= this.input.length && this.raise(this.start, "Unterminated string constant");
3572
+ var r = this.input.charCodeAt(this.pos);
3573
+ if (r === e) break;
3574
+ r === 92 ? (t += this.input.slice(n, this.pos), t += this.readEscapedChar(!1), n = this.pos) : r === 8232 || r === 8233 ? (this.options.ecmaVersion < 10 && this.raise(this.start, "Unterminated string constant"), ++this.pos, this.options.locations && (this.curLine++, this.lineStart = this.pos)) : (o(r) && this.raise(this.start, "Unterminated string constant"), ++this.pos);
3575
+ }
3576
+ return t += this.input.slice(n, this.pos++), this.finishToken(C.string, t);
3577
+ }, Pn = {}, Y.tryReadTemplateToken = function() {
3578
+ this.inTemplateElement = !0;
3579
+ try {
3580
+ this.readTmplToken();
3581
+ } catch (e) {
3582
+ if (e === Pn) this.readInvalidTemplateToken();
3583
+ else throw e;
3584
+ }
3585
+ this.inTemplateElement = !1;
3586
+ }, Y.invalidStringToken = function(e, t) {
3587
+ if (this.inTemplateElement && this.options.ecmaVersion >= 9) throw Pn;
3588
+ this.raise(e, t);
3589
+ }, Y.readTmplToken = function() {
3590
+ for (var e = "", t = this.pos;;) {
3591
+ this.pos >= this.input.length && this.raise(this.start, "Unterminated template");
3592
+ var n = this.input.charCodeAt(this.pos);
3593
+ if (n === 96 || n === 36 && this.input.charCodeAt(this.pos + 1) === 123) return this.pos === this.start && (this.type === C.template || this.type === C.invalidTemplate) ? n === 36 ? (this.pos += 2, this.finishToken(C.dollarBraceL)) : (++this.pos, this.finishToken(C.backQuote)) : (e += this.input.slice(t, this.pos), this.finishToken(C.template, e));
3594
+ if (n === 92) e += this.input.slice(t, this.pos), e += this.readEscapedChar(!0), t = this.pos;
3595
+ else if (o(n)) {
3596
+ switch (e += this.input.slice(t, this.pos), ++this.pos, n) {
3597
+ case 13: this.input.charCodeAt(this.pos) === 10 && ++this.pos;
3598
+ case 10:
3599
+ e += "\n";
3600
+ break;
3601
+ default:
3602
+ e += String.fromCharCode(n);
3603
+ break;
3604
+ }
3605
+ this.options.locations && (++this.curLine, this.lineStart = this.pos), t = this.pos;
3606
+ } else ++this.pos;
3607
+ }
3608
+ }, Y.readInvalidTemplateToken = function() {
3609
+ for (; this.pos < this.input.length; this.pos++) switch (this.input[this.pos]) {
3610
+ case "\\":
3611
+ ++this.pos;
3612
+ break;
3613
+ case "$": if (this.input[this.pos + 1] !== "{") break;
3614
+ case "`": return this.finishToken(C.invalidTemplate, this.input.slice(this.start, this.pos));
3615
+ case "\r": this.input[this.pos + 1] === "\n" && ++this.pos;
3616
+ case "\n":
3617
+ case "\u2028":
3618
+ case "\u2029":
3619
+ ++this.curLine, this.lineStart = this.pos + 1;
3620
+ break;
3621
+ }
3622
+ this.raise(this.start, "Unterminated template");
3623
+ }, Y.readEscapedChar = function(e) {
3624
+ var t = this.input.charCodeAt(++this.pos);
3625
+ switch (++this.pos, t) {
3626
+ case 110: return "\n";
3627
+ case 114: return "\r";
3628
+ case 120: return String.fromCharCode(this.readHexChar(2));
3629
+ case 117: return l(this.readCodePoint());
3630
+ case 116: return " ";
3631
+ case 98: return "\b";
3632
+ case 118: return "\v";
3633
+ case 102: return "\f";
3634
+ case 13: this.input.charCodeAt(this.pos) === 10 && ++this.pos;
3635
+ case 10: return this.options.locations && (this.lineStart = this.pos, ++this.curLine), "";
3636
+ case 56:
3637
+ case 57: if (this.strict && this.invalidStringToken(this.pos - 1, "Invalid escape sequence"), e) {
3638
+ var n = this.pos - 1;
3639
+ this.invalidStringToken(n, "Invalid escape sequence in template string");
3640
+ }
3641
+ default:
3642
+ if (t >= 48 && t <= 55) {
3643
+ var r = this.input.substr(this.pos - 1, 3).match(/^[0-7]+/)[0], i = parseInt(r, 8);
3644
+ return i > 255 && (r = r.slice(0, -1), i = parseInt(r, 8)), this.pos += r.length - 1, t = this.input.charCodeAt(this.pos), (r !== "0" || t === 56 || t === 57) && (this.strict || e) && this.invalidStringToken(this.pos - 1 - r.length, e ? "Octal literal in template string" : "Octal literal in strict mode"), String.fromCharCode(i);
3645
+ }
3646
+ return o(t) ? (this.options.locations && (this.lineStart = this.pos, ++this.curLine), "") : String.fromCharCode(t);
3647
+ }
3648
+ }, Y.readHexChar = function(e) {
3649
+ var t = this.pos, n = this.readInt(16, e);
3650
+ return n === null && this.invalidStringToken(t, "Bad character escape sequence"), n;
3651
+ }, Y.readWord1 = function() {
3652
+ this.containsEsc = !1;
3653
+ for (var e = "", t = !0, i = this.pos, a = this.options.ecmaVersion >= 6; this.pos < this.input.length;) {
3654
+ var o = this.fullCharCodeAtPos();
3655
+ if (r(o, a)) this.pos += o <= 65535 ? 1 : 2;
3656
+ else if (o === 92) {
3657
+ this.containsEsc = !0, e += this.input.slice(i, this.pos);
3658
+ var s = this.pos;
3659
+ this.input.charCodeAt(++this.pos) !== 117 && this.invalidStringToken(this.pos, "Expecting Unicode escape sequence \\uXXXX"), ++this.pos;
3660
+ var c = this.readCodePoint();
3661
+ (t ? n : r)(c, a) || this.invalidStringToken(s, "Invalid Unicode escape"), e += l(c), i = this.pos;
3662
+ } else break;
3663
+ t = !1;
3664
+ }
3665
+ return e + this.input.slice(i, this.pos);
3666
+ }, Y.readWord = function() {
3667
+ var e = this.readWord1(), t = C.name;
3668
+ return this.keywords.test(e) && (t = Dt[e]), this.finishToken(t, e);
3669
+ }, N.acorn = {
3670
+ Parser: N,
3671
+ version: "8.15.0",
3672
+ defaultOptions: Lt,
3673
+ Position: D,
3674
+ SourceLocation: It,
3675
+ getLineInfo: u,
3676
+ Node: cn,
3677
+ TokenType: b,
3678
+ tokTypes: C,
3679
+ keywordTypes: Dt,
3680
+ TokContext: z,
3681
+ tokContexts: B,
3682
+ isIdentifierChar: r,
3683
+ isIdentifierStart: n,
3684
+ Token: Nn,
3685
+ isNewLine: o,
3686
+ lineBreak: w,
3687
+ lineBreakG: Ot,
3688
+ nonASCIIwhitespace: kt
3689
+ }, Fn = pt(ht(), 1), In = xe, Ln = (e, t) => (n, r, ...i) => n | 1 && r == null ? void 0 : (t.call(r) ?? r[e]).apply(r, i), Rn = Array.prototype.findLast ?? function(e) {
3690
+ for (let t = this.length - 1; t >= 0; t--) {
3691
+ let n = this[t];
3692
+ if (e(n, t, this)) return n;
3693
+ }
3694
+ }, zn = Ln("findLast", function() {
3695
+ if (Array.isArray(this)) return Rn;
3696
+ }), Bn = Ln("at", function() {
3697
+ if (Array.isArray(this) || typeof this == "string") return Ce;
3698
+ }), Vn = we, Hn = Vn([
3699
+ "Block",
3700
+ "CommentBlock",
3701
+ "MultiLine"
3702
+ ]), Un = Vn([
3703
+ "Line",
3704
+ "CommentLine",
3705
+ "SingleLine",
3706
+ "HashbangComment",
3707
+ "HTMLOpen",
3708
+ "HTMLClose",
3709
+ "Hashbang",
3710
+ "InterpreterDirective"
3711
+ ]), Wn = /* @__PURE__ */ new WeakMap(), Gn = Te, Kn = /* @__PURE__ */ new WeakMap(), qn = De, Jn = Oe, Yn = ke, X = null, Xn = 10;
3712
+ for (let e = 0; e <= Xn; e++) Ae();
3713
+ Zn = Me, Z = [
3714
+ [
3715
+ "decorators",
3716
+ "key",
3717
+ "typeAnnotation",
3718
+ "value"
3719
+ ],
3720
+ [],
3721
+ ["elementType"],
3722
+ ["expression"],
3723
+ ["expression", "typeAnnotation"],
3724
+ ["left", "right"],
3725
+ ["argument"],
3726
+ ["directives", "body"],
3727
+ ["label"],
3728
+ [
3729
+ "callee",
3730
+ "typeArguments",
3731
+ "arguments"
3732
+ ],
3733
+ ["body"],
3734
+ [
3735
+ "decorators",
3736
+ "id",
3737
+ "typeParameters",
3738
+ "superClass",
3739
+ "superTypeArguments",
3740
+ "mixins",
3741
+ "implements",
3742
+ "body",
3743
+ "superTypeParameters"
3744
+ ],
3745
+ ["id", "typeParameters"],
3746
+ [
3747
+ "decorators",
3748
+ "key",
3749
+ "typeParameters",
3750
+ "params",
3751
+ "returnType",
3752
+ "body"
3753
+ ],
3754
+ [
3755
+ "decorators",
3756
+ "variance",
3757
+ "key",
3758
+ "typeAnnotation",
3759
+ "value"
3760
+ ],
3761
+ ["name", "typeAnnotation"],
3762
+ [
3763
+ "test",
3764
+ "consequent",
3765
+ "alternate"
3766
+ ],
3767
+ [
3768
+ "checkType",
3769
+ "extendsType",
3770
+ "trueType",
3771
+ "falseType"
3772
+ ],
3773
+ ["value"],
3774
+ ["id", "body"],
3775
+ [
3776
+ "declaration",
3777
+ "specifiers",
3778
+ "source",
3779
+ "attributes"
3780
+ ],
3781
+ ["id"],
3782
+ [
3783
+ "id",
3784
+ "typeParameters",
3785
+ "extends",
3786
+ "body"
3787
+ ],
3788
+ ["typeAnnotation"],
3789
+ [
3790
+ "id",
3791
+ "typeParameters",
3792
+ "right"
3793
+ ],
3794
+ ["body", "test"],
3795
+ ["members"],
3796
+ ["id", "init"],
3797
+ ["exported"],
3798
+ [
3799
+ "left",
3800
+ "right",
3801
+ "body"
3802
+ ],
3803
+ [
3804
+ "id",
3805
+ "typeParameters",
3806
+ "params",
3807
+ "predicate",
3808
+ "returnType",
3809
+ "body"
3810
+ ],
3811
+ [
3812
+ "id",
3813
+ "params",
3814
+ "body",
3815
+ "typeParameters",
3816
+ "returnType"
3817
+ ],
3818
+ ["key", "value"],
3819
+ ["local"],
3820
+ ["objectType", "indexType"],
3821
+ ["typeParameter"],
3822
+ ["types"],
3823
+ ["node"],
3824
+ ["object", "property"],
3825
+ ["argument", "cases"],
3826
+ [
3827
+ "pattern",
3828
+ "body",
3829
+ "guard"
3830
+ ],
3831
+ ["literal"],
3832
+ [
3833
+ "decorators",
3834
+ "key",
3835
+ "value"
3836
+ ],
3837
+ ["expressions"],
3838
+ ["qualification", "id"],
3839
+ [
3840
+ "decorators",
3841
+ "key",
3842
+ "typeAnnotation"
3843
+ ],
3844
+ [
3845
+ "typeParameters",
3846
+ "params",
3847
+ "returnType"
3848
+ ],
3849
+ ["expression", "typeArguments"],
3850
+ ["params"],
3851
+ ["parameterName", "typeAnnotation"]
3852
+ ], Qn = Zn({
3853
+ AccessorProperty: Z[0],
3854
+ AnyTypeAnnotation: Z[1],
3855
+ ArgumentPlaceholder: Z[1],
3856
+ ArrayExpression: ["elements"],
3857
+ ArrayPattern: [
3858
+ "elements",
3859
+ "typeAnnotation",
3860
+ "decorators"
3861
+ ],
3862
+ ArrayTypeAnnotation: Z[2],
3863
+ ArrowFunctionExpression: [
3864
+ "typeParameters",
3865
+ "params",
3866
+ "predicate",
3867
+ "returnType",
3868
+ "body"
3869
+ ],
3870
+ AsConstExpression: Z[3],
3871
+ AsExpression: Z[4],
3872
+ AssignmentExpression: Z[5],
3873
+ AssignmentPattern: [
3874
+ "left",
3875
+ "right",
3876
+ "decorators",
3877
+ "typeAnnotation"
3878
+ ],
3879
+ AwaitExpression: Z[6],
3880
+ BigIntLiteral: Z[1],
3881
+ BigIntLiteralTypeAnnotation: Z[1],
3882
+ BigIntTypeAnnotation: Z[1],
3883
+ BinaryExpression: Z[5],
3884
+ BindExpression: ["object", "callee"],
3885
+ BlockStatement: Z[7],
3886
+ BooleanLiteral: Z[1],
3887
+ BooleanLiteralTypeAnnotation: Z[1],
3888
+ BooleanTypeAnnotation: Z[1],
3889
+ BreakStatement: Z[8],
3890
+ CallExpression: Z[9],
3891
+ CatchClause: ["param", "body"],
3892
+ ChainExpression: Z[3],
3893
+ ClassAccessorProperty: Z[0],
3894
+ ClassBody: Z[10],
3895
+ ClassDeclaration: Z[11],
3896
+ ClassExpression: Z[11],
3897
+ ClassImplements: Z[12],
3898
+ ClassMethod: Z[13],
3899
+ ClassPrivateMethod: Z[13],
3900
+ ClassPrivateProperty: Z[14],
3901
+ ClassProperty: Z[14],
3902
+ ComponentDeclaration: [
3903
+ "id",
3904
+ "params",
3905
+ "body",
3906
+ "typeParameters",
3907
+ "rendersType"
3908
+ ],
3909
+ ComponentParameter: ["name", "local"],
3910
+ ComponentTypeAnnotation: [
3911
+ "params",
3912
+ "rest",
3913
+ "typeParameters",
3914
+ "rendersType"
3915
+ ],
3916
+ ComponentTypeParameter: Z[15],
3917
+ ConditionalExpression: Z[16],
3918
+ ConditionalTypeAnnotation: Z[17],
3919
+ ContinueStatement: Z[8],
3920
+ DebuggerStatement: Z[1],
3921
+ DeclareClass: [
3922
+ "id",
3923
+ "typeParameters",
3924
+ "extends",
3925
+ "mixins",
3926
+ "implements",
3927
+ "body"
3928
+ ],
3929
+ DeclareComponent: [
3930
+ "id",
3931
+ "params",
3932
+ "rest",
3933
+ "typeParameters",
3934
+ "rendersType"
3935
+ ],
3936
+ DeclaredPredicate: Z[18],
3937
+ DeclareEnum: Z[19],
3938
+ DeclareExportAllDeclaration: ["source", "attributes"],
3939
+ DeclareExportDeclaration: Z[20],
3940
+ DeclareFunction: ["id", "predicate"],
3941
+ DeclareHook: Z[21],
3942
+ DeclareInterface: Z[22],
3943
+ DeclareModule: Z[19],
3944
+ DeclareModuleExports: Z[23],
3945
+ DeclareNamespace: Z[19],
3946
+ DeclareOpaqueType: [
3947
+ "id",
3948
+ "typeParameters",
3949
+ "supertype",
3950
+ "lowerBound",
3951
+ "upperBound"
3952
+ ],
3953
+ DeclareTypeAlias: Z[24],
3954
+ DeclareVariable: Z[21],
3955
+ Decorator: Z[3],
3956
+ Directive: Z[18],
3957
+ DirectiveLiteral: Z[1],
3958
+ DoExpression: Z[10],
3959
+ DoWhileStatement: Z[25],
3960
+ EmptyStatement: Z[1],
3961
+ EmptyTypeAnnotation: Z[1],
3962
+ EnumBigIntBody: Z[26],
3963
+ EnumBigIntMember: Z[27],
3964
+ EnumBooleanBody: Z[26],
3965
+ EnumBooleanMember: Z[27],
3966
+ EnumDeclaration: Z[19],
3967
+ EnumDefaultedMember: Z[21],
3968
+ EnumNumberBody: Z[26],
3969
+ EnumNumberMember: Z[27],
3970
+ EnumStringBody: Z[26],
3971
+ EnumStringMember: Z[27],
3972
+ EnumSymbolBody: Z[26],
3973
+ ExistsTypeAnnotation: Z[1],
3974
+ ExperimentalRestProperty: Z[6],
3975
+ ExperimentalSpreadProperty: Z[6],
3976
+ ExportAllDeclaration: [
3977
+ "source",
3978
+ "attributes",
3979
+ "exported"
3980
+ ],
3981
+ ExportDefaultDeclaration: ["declaration"],
3982
+ ExportDefaultSpecifier: Z[28],
3983
+ ExportNamedDeclaration: Z[20],
3984
+ ExportNamespaceSpecifier: Z[28],
3985
+ ExportSpecifier: ["local", "exported"],
3986
+ ExpressionStatement: Z[3],
3987
+ File: ["program"],
3988
+ ForInStatement: Z[29],
3989
+ ForOfStatement: Z[29],
3990
+ ForStatement: [
3991
+ "init",
3992
+ "test",
3993
+ "update",
3994
+ "body"
3995
+ ],
3996
+ FunctionDeclaration: Z[30],
3997
+ FunctionExpression: Z[30],
3998
+ FunctionTypeAnnotation: [
3999
+ "typeParameters",
4000
+ "this",
4001
+ "params",
4002
+ "rest",
4003
+ "returnType"
4004
+ ],
4005
+ FunctionTypeParam: Z[15],
4006
+ GenericTypeAnnotation: Z[12],
4007
+ HookDeclaration: Z[31],
4008
+ HookTypeAnnotation: [
4009
+ "params",
4010
+ "returnType",
4011
+ "rest",
4012
+ "typeParameters"
4013
+ ],
4014
+ Identifier: ["typeAnnotation", "decorators"],
4015
+ IfStatement: Z[16],
4016
+ ImportAttribute: Z[32],
4017
+ ImportDeclaration: [
4018
+ "specifiers",
4019
+ "source",
4020
+ "attributes"
4021
+ ],
4022
+ ImportDefaultSpecifier: Z[33],
4023
+ ImportExpression: ["source", "options"],
4024
+ ImportNamespaceSpecifier: Z[33],
4025
+ ImportSpecifier: ["imported", "local"],
4026
+ IndexedAccessType: Z[34],
4027
+ InferredPredicate: Z[1],
4028
+ InferTypeAnnotation: Z[35],
4029
+ InterfaceDeclaration: Z[22],
4030
+ InterfaceExtends: Z[12],
4031
+ InterfaceTypeAnnotation: ["extends", "body"],
4032
+ InterpreterDirective: Z[1],
4033
+ IntersectionTypeAnnotation: Z[36],
4034
+ JsExpressionRoot: Z[37],
4035
+ JsonRoot: Z[37],
4036
+ JSXAttribute: ["name", "value"],
4037
+ JSXClosingElement: ["name"],
4038
+ JSXClosingFragment: Z[1],
4039
+ JSXElement: [
4040
+ "openingElement",
4041
+ "children",
4042
+ "closingElement"
4043
+ ],
4044
+ JSXEmptyExpression: Z[1],
4045
+ JSXExpressionContainer: Z[3],
4046
+ JSXFragment: [
4047
+ "openingFragment",
4048
+ "children",
4049
+ "closingFragment"
4050
+ ],
4051
+ JSXIdentifier: Z[1],
4052
+ JSXMemberExpression: Z[38],
4053
+ JSXNamespacedName: ["namespace", "name"],
4054
+ JSXOpeningElement: [
4055
+ "name",
4056
+ "typeArguments",
4057
+ "attributes"
4058
+ ],
4059
+ JSXOpeningFragment: Z[1],
4060
+ JSXSpreadAttribute: Z[6],
4061
+ JSXSpreadChild: Z[3],
4062
+ JSXText: Z[1],
4063
+ KeyofTypeAnnotation: Z[6],
4064
+ LabeledStatement: ["label", "body"],
4065
+ Literal: Z[1],
4066
+ LogicalExpression: Z[5],
4067
+ MatchArrayPattern: ["elements", "rest"],
4068
+ MatchAsPattern: ["pattern", "target"],
4069
+ MatchBindingPattern: Z[21],
4070
+ MatchExpression: Z[39],
4071
+ MatchExpressionCase: Z[40],
4072
+ MatchIdentifierPattern: Z[21],
4073
+ MatchLiteralPattern: Z[41],
4074
+ MatchMemberPattern: ["base", "property"],
4075
+ MatchObjectPattern: ["properties", "rest"],
4076
+ MatchObjectPatternProperty: ["key", "pattern"],
4077
+ MatchOrPattern: ["patterns"],
4078
+ MatchRestPattern: Z[6],
4079
+ MatchStatement: Z[39],
4080
+ MatchStatementCase: Z[40],
4081
+ MatchUnaryPattern: Z[6],
4082
+ MatchWildcardPattern: Z[1],
4083
+ MemberExpression: Z[38],
4084
+ MetaProperty: ["meta", "property"],
4085
+ MethodDefinition: Z[42],
4086
+ MixedTypeAnnotation: Z[1],
4087
+ ModuleExpression: Z[10],
4088
+ NeverTypeAnnotation: Z[1],
4089
+ NewExpression: Z[9],
4090
+ NGChainedExpression: Z[43],
4091
+ NGEmptyExpression: Z[1],
4092
+ NGMicrosyntax: Z[10],
4093
+ NGMicrosyntaxAs: ["key", "alias"],
4094
+ NGMicrosyntaxExpression: ["expression", "alias"],
4095
+ NGMicrosyntaxKey: Z[1],
4096
+ NGMicrosyntaxKeyedExpression: ["key", "expression"],
4097
+ NGMicrosyntaxLet: Z[32],
4098
+ NGPipeExpression: [
4099
+ "left",
4100
+ "right",
4101
+ "arguments"
4102
+ ],
4103
+ NGRoot: Z[37],
4104
+ NullableTypeAnnotation: Z[23],
4105
+ NullLiteral: Z[1],
4106
+ NullLiteralTypeAnnotation: Z[1],
4107
+ NumberLiteralTypeAnnotation: Z[1],
4108
+ NumberTypeAnnotation: Z[1],
4109
+ NumericLiteral: Z[1],
4110
+ ObjectExpression: ["properties"],
4111
+ ObjectMethod: Z[13],
4112
+ ObjectPattern: [
4113
+ "decorators",
4114
+ "properties",
4115
+ "typeAnnotation"
4116
+ ],
4117
+ ObjectProperty: Z[42],
4118
+ ObjectTypeAnnotation: [
4119
+ "properties",
4120
+ "indexers",
4121
+ "callProperties",
4122
+ "internalSlots"
4123
+ ],
4124
+ ObjectTypeCallProperty: Z[18],
4125
+ ObjectTypeIndexer: [
4126
+ "variance",
4127
+ "id",
4128
+ "key",
4129
+ "value"
4130
+ ],
4131
+ ObjectTypeInternalSlot: ["id", "value"],
4132
+ ObjectTypeMappedTypeProperty: [
4133
+ "keyTparam",
4134
+ "propType",
4135
+ "sourceType",
4136
+ "variance"
4137
+ ],
4138
+ ObjectTypeProperty: [
4139
+ "key",
4140
+ "value",
4141
+ "variance"
4142
+ ],
4143
+ ObjectTypeSpreadProperty: Z[6],
4144
+ OpaqueType: [
4145
+ "id",
4146
+ "typeParameters",
4147
+ "supertype",
4148
+ "impltype",
4149
+ "lowerBound",
4150
+ "upperBound"
4151
+ ],
4152
+ OptionalCallExpression: Z[9],
4153
+ OptionalIndexedAccessType: Z[34],
4154
+ OptionalMemberExpression: Z[38],
4155
+ ParenthesizedExpression: Z[3],
4156
+ PipelineBareFunction: ["callee"],
4157
+ PipelinePrimaryTopicReference: Z[1],
4158
+ PipelineTopicExpression: Z[3],
4159
+ Placeholder: Z[1],
4160
+ PrivateIdentifier: Z[1],
4161
+ PrivateName: Z[21],
4162
+ Program: Z[7],
4163
+ Property: Z[32],
4164
+ PropertyDefinition: Z[14],
4165
+ QualifiedTypeIdentifier: Z[44],
4166
+ QualifiedTypeofIdentifier: Z[44],
4167
+ RegExpLiteral: Z[1],
4168
+ RestElement: [
4169
+ "argument",
4170
+ "typeAnnotation",
4171
+ "decorators"
4172
+ ],
4173
+ ReturnStatement: Z[6],
4174
+ SatisfiesExpression: Z[4],
4175
+ SequenceExpression: Z[43],
4176
+ SpreadElement: Z[6],
4177
+ StaticBlock: Z[10],
4178
+ StringLiteral: Z[1],
4179
+ StringLiteralTypeAnnotation: Z[1],
4180
+ StringTypeAnnotation: Z[1],
4181
+ Super: Z[1],
4182
+ SwitchCase: ["test", "consequent"],
4183
+ SwitchStatement: ["discriminant", "cases"],
4184
+ SymbolTypeAnnotation: Z[1],
4185
+ TaggedTemplateExpression: [
4186
+ "tag",
4187
+ "typeArguments",
4188
+ "quasi"
4189
+ ],
4190
+ TemplateElement: Z[1],
4191
+ TemplateLiteral: ["quasis", "expressions"],
4192
+ ThisExpression: Z[1],
4193
+ ThisTypeAnnotation: Z[1],
4194
+ ThrowStatement: Z[6],
4195
+ TopicReference: Z[1],
4196
+ TryStatement: [
4197
+ "block",
4198
+ "handler",
4199
+ "finalizer"
4200
+ ],
4201
+ TSAbstractAccessorProperty: Z[45],
4202
+ TSAbstractKeyword: Z[1],
4203
+ TSAbstractMethodDefinition: Z[32],
4204
+ TSAbstractPropertyDefinition: Z[45],
4205
+ TSAnyKeyword: Z[1],
4206
+ TSArrayType: Z[2],
4207
+ TSAsExpression: Z[4],
4208
+ TSAsyncKeyword: Z[1],
4209
+ TSBigIntKeyword: Z[1],
4210
+ TSBooleanKeyword: Z[1],
4211
+ TSCallSignatureDeclaration: Z[46],
4212
+ TSClassImplements: Z[47],
4213
+ TSConditionalType: Z[17],
4214
+ TSConstructorType: Z[46],
4215
+ TSConstructSignatureDeclaration: Z[46],
4216
+ TSDeclareFunction: Z[31],
4217
+ TSDeclareKeyword: Z[1],
4218
+ TSDeclareMethod: [
4219
+ "decorators",
4220
+ "key",
4221
+ "typeParameters",
4222
+ "params",
4223
+ "returnType"
4224
+ ],
4225
+ TSEmptyBodyFunctionExpression: [
4226
+ "id",
4227
+ "typeParameters",
4228
+ "params",
4229
+ "returnType"
4230
+ ],
4231
+ TSEnumBody: Z[26],
4232
+ TSEnumDeclaration: Z[19],
4233
+ TSEnumMember: ["id", "initializer"],
4234
+ TSExportAssignment: Z[3],
4235
+ TSExportKeyword: Z[1],
4236
+ TSExternalModuleReference: Z[3],
4237
+ TSFunctionType: Z[46],
4238
+ TSImportEqualsDeclaration: ["id", "moduleReference"],
4239
+ TSImportType: [
4240
+ "options",
4241
+ "qualifier",
4242
+ "typeArguments",
4243
+ "source"
4244
+ ],
4245
+ TSIndexedAccessType: Z[34],
4246
+ TSIndexSignature: ["parameters", "typeAnnotation"],
4247
+ TSInferType: Z[35],
4248
+ TSInstantiationExpression: Z[47],
4249
+ TSInterfaceBody: Z[10],
4250
+ TSInterfaceDeclaration: Z[22],
4251
+ TSInterfaceHeritage: Z[47],
4252
+ TSIntersectionType: Z[36],
4253
+ TSIntrinsicKeyword: Z[1],
4254
+ TSJSDocAllType: Z[1],
4255
+ TSJSDocNonNullableType: Z[23],
4256
+ TSJSDocNullableType: Z[23],
4257
+ TSJSDocUnknownType: Z[1],
4258
+ TSLiteralType: Z[41],
4259
+ TSMappedType: [
4260
+ "key",
4261
+ "constraint",
4262
+ "nameType",
4263
+ "typeAnnotation"
4264
+ ],
4265
+ TSMethodSignature: [
4266
+ "key",
4267
+ "typeParameters",
4268
+ "params",
4269
+ "returnType"
4270
+ ],
4271
+ TSModuleBlock: Z[10],
4272
+ TSModuleDeclaration: Z[19],
4273
+ TSNamedTupleMember: ["label", "elementType"],
4274
+ TSNamespaceExportDeclaration: Z[21],
4275
+ TSNeverKeyword: Z[1],
4276
+ TSNonNullExpression: Z[3],
4277
+ TSNullKeyword: Z[1],
4278
+ TSNumberKeyword: Z[1],
4279
+ TSObjectKeyword: Z[1],
4280
+ TSOptionalType: Z[23],
4281
+ TSParameterProperty: ["parameter", "decorators"],
4282
+ TSParenthesizedType: Z[23],
4283
+ TSPrivateKeyword: Z[1],
4284
+ TSPropertySignature: ["key", "typeAnnotation"],
4285
+ TSProtectedKeyword: Z[1],
4286
+ TSPublicKeyword: Z[1],
4287
+ TSQualifiedName: Z[5],
4288
+ TSReadonlyKeyword: Z[1],
4289
+ TSRestType: Z[23],
4290
+ TSSatisfiesExpression: Z[4],
4291
+ TSStaticKeyword: Z[1],
4292
+ TSStringKeyword: Z[1],
4293
+ TSSymbolKeyword: Z[1],
4294
+ TSTemplateLiteralType: ["quasis", "types"],
4295
+ TSThisType: Z[1],
4296
+ TSTupleType: ["elementTypes"],
4297
+ TSTypeAliasDeclaration: [
4298
+ "id",
4299
+ "typeParameters",
4300
+ "typeAnnotation"
4301
+ ],
4302
+ TSTypeAnnotation: Z[23],
4303
+ TSTypeAssertion: Z[4],
4304
+ TSTypeLiteral: Z[26],
4305
+ TSTypeOperator: Z[23],
4306
+ TSTypeParameter: [
4307
+ "name",
4308
+ "constraint",
4309
+ "default"
4310
+ ],
4311
+ TSTypeParameterDeclaration: Z[48],
4312
+ TSTypeParameterInstantiation: Z[48],
4313
+ TSTypePredicate: Z[49],
4314
+ TSTypeQuery: ["exprName", "typeArguments"],
4315
+ TSTypeReference: ["typeName", "typeArguments"],
4316
+ TSUndefinedKeyword: Z[1],
4317
+ TSUnionType: Z[36],
4318
+ TSUnknownKeyword: Z[1],
4319
+ TSVoidKeyword: Z[1],
4320
+ TupleTypeAnnotation: ["types", "elementTypes"],
4321
+ TupleTypeLabeledElement: [
4322
+ "label",
4323
+ "elementType",
4324
+ "variance"
4325
+ ],
4326
+ TupleTypeSpreadElement: ["label", "typeAnnotation"],
4327
+ TypeAlias: Z[24],
4328
+ TypeAnnotation: Z[23],
4329
+ TypeCastExpression: Z[4],
4330
+ TypeofTypeAnnotation: ["argument", "typeArguments"],
4331
+ TypeOperator: Z[23],
4332
+ TypeParameter: [
4333
+ "bound",
4334
+ "default",
4335
+ "variance"
4336
+ ],
4337
+ TypeParameterDeclaration: Z[48],
4338
+ TypeParameterInstantiation: Z[48],
4339
+ TypePredicate: Z[49],
4340
+ UnaryExpression: Z[6],
4341
+ UndefinedTypeAnnotation: Z[1],
4342
+ UnionTypeAnnotation: Z[36],
4343
+ UnknownTypeAnnotation: Z[1],
4344
+ UpdateExpression: Z[6],
4345
+ V8IntrinsicIdentifier: Z[1],
4346
+ VariableDeclaration: ["declarations"],
4347
+ VariableDeclarator: Z[27],
4348
+ Variance: Z[1],
4349
+ VoidPattern: Z[1],
4350
+ VoidTypeAnnotation: Z[1],
4351
+ WhileStatement: Z[25],
4352
+ WithStatement: ["object", "body"],
4353
+ YieldExpression: Z[6]
4354
+ }), $n = Ne, Vn([
4355
+ "RegExpLiteral",
4356
+ "BigIntLiteral",
4357
+ "NumericLiteral",
4358
+ "StringLiteral",
4359
+ "DirectiveLiteral",
4360
+ "Literal",
4361
+ "JSXText",
4362
+ "TemplateElement",
4363
+ "StringLiteralTypeAnnotation",
4364
+ "NumberLiteralTypeAnnotation",
4365
+ "BigIntLiteralTypeAnnotation"
4366
+ ]), er = Pe, tr = String.prototype.replaceAll ?? function(e, t) {
4367
+ return e.global ? this.replace(e, t) : this.split(e).join(t);
4368
+ }, nr = Ln("replaceAll", function() {
4369
+ if (typeof this == "string") return tr;
4370
+ }), rr = /\*\/$/, ir = /^\/\*\*?/, ar = /^\s*(\/\*\*?(.|\r?\n)*?\*\/)/, or = /(^|\s+)\/\/([^\n\r]*)/g, sr = /^(\r?\n)+/, cr = /(?:^|\r?\n) *(@[^\n\r]*?) *\r?\n *(?![^\n\r@]*\/\/[^]*)([^\s@][^\n\r@]+?) *\r?\n/g, lr = /(?:^|\r?\n) *@(\S+) *([^\n\r]*)/g, ur = /(\r?\n|^) *\* ?/g, dr = [], fr = ["noformat", "noprettier"], pr = ["format", "prettier"], mr = ze, hr = Ue, gr = "module", _r = "script", vr = "commonjs", yr = [gr, vr], br = {
4371
+ ecmaVersion: "latest",
4372
+ allowReserved: !0,
4373
+ allowReturnOutsideFunction: !0,
4374
+ allowSuperOutsideMethod: !0,
4375
+ checkPrivateFields: !1,
4376
+ locations: !1,
4377
+ ranges: !0,
4378
+ preserveParens: !0
4379
+ }, Sr = () => (xr ??= N.extend((0, Fn.default)()), xr), Cr = hr(qe), wr = pt(ht(), 1), Q = {
4380
+ Boolean: "Boolean",
4381
+ EOF: "<end>",
4382
+ Identifier: "Identifier",
4383
+ PrivateIdentifier: "PrivateIdentifier",
4384
+ Keyword: "Keyword",
4385
+ Null: "Null",
4386
+ Numeric: "Numeric",
4387
+ Punctuator: "Punctuator",
4388
+ String: "String",
4389
+ RegularExpression: "RegularExpression",
4390
+ Template: "Template",
4391
+ JSXIdentifier: "JSXIdentifier",
4392
+ JSXText: "JSXText"
4393
+ }, Ye.prototype = {
4394
+ constructor: Ye,
4395
+ translate(e, t) {
4396
+ let n = e.type, r = this._acornTokTypes;
4397
+ if (n === r.name) e.type = Q.Identifier, e.value === "static" && (e.type = Q.Keyword), t.ecmaVersion > 5 && (e.value === "yield" || e.value === "let") && (e.type = Q.Keyword);
4398
+ else if (n === r.privateId) e.type = Q.PrivateIdentifier;
4399
+ else if (n === r.semi || n === r.comma || n === r.parenL || n === r.parenR || n === r.braceL || n === r.braceR || n === r.dot || n === r.bracketL || n === r.colon || n === r.question || n === r.bracketR || n === r.ellipsis || n === r.arrow || n === r.jsxTagStart || n === r.incDec || n === r.starstar || n === r.jsxTagEnd || n === r.prefix || n === r.questionDot || n.binop && !n.keyword || n.isAssign) e.type = Q.Punctuator, e.value = this._code.slice(e.start, e.end);
4400
+ else if (n === r.jsxName) e.type = Q.JSXIdentifier;
4401
+ else if (n.label === "jsxText" || n === r.jsxAttrValueToken) e.type = Q.JSXText;
4402
+ else if (n.keyword) n.keyword === "true" || n.keyword === "false" ? e.type = Q.Boolean : n.keyword === "null" ? e.type = Q.Null : e.type = Q.Keyword;
4403
+ else if (n === r.num) e.type = Q.Numeric, e.value = this._code.slice(e.start, e.end);
4404
+ else if (n === r.string) t.jsxAttrValueToken ? (t.jsxAttrValueToken = !1, e.type = Q.JSXText) : e.type = Q.String, e.value = this._code.slice(e.start, e.end);
4405
+ else if (n === r.regexp) {
4406
+ e.type = Q.RegularExpression;
4407
+ let t = e.value;
4408
+ e.regex = {
4409
+ flags: t.flags,
4410
+ pattern: t.pattern
4411
+ }, e.value = `/${t.pattern}/${t.flags}`;
4412
+ }
4413
+ return e;
4414
+ },
4415
+ onToken(e, t) {
4416
+ let n = this._acornTokTypes, r = t.tokens, i = this._tokens, a = () => {
4417
+ r.push(Je(this._tokens, this._code)), this._tokens = [];
4418
+ };
4419
+ if (e.type === n.eof) {
4420
+ this._curlyBrace && r.push(this.translate(this._curlyBrace, t));
4421
+ return;
4422
+ }
4423
+ if (e.type === n.backQuote) {
4424
+ this._curlyBrace &&= (r.push(this.translate(this._curlyBrace, t)), null), i.push(e), i.length > 1 && a();
4425
+ return;
4426
+ }
4427
+ if (e.type === n.dollarBraceL) {
4428
+ i.push(e), a();
4429
+ return;
4430
+ }
4431
+ if (e.type === n.braceR) {
4432
+ this._curlyBrace && r.push(this.translate(this._curlyBrace, t)), this._curlyBrace = e;
4433
+ return;
4434
+ }
4435
+ if (e.type === n.template || e.type === n.invalidTemplate) {
4436
+ this._curlyBrace &&= (i.push(this._curlyBrace), null), i.push(e);
4437
+ return;
4438
+ }
4439
+ this._curlyBrace &&= (r.push(this.translate(this._curlyBrace, t)), null), r.push(this.translate(e, t));
4440
+ }
4441
+ }, Tr = Ye, Er = [
4442
+ 3,
4443
+ 5,
4444
+ 6,
4445
+ 7,
4446
+ 8,
4447
+ 9,
4448
+ 10,
4449
+ 11,
4450
+ 12,
4451
+ 13,
4452
+ 14,
4453
+ 15,
4454
+ 16,
4455
+ 17
4456
+ ], $ = Symbol("espree's internal state"), Dr = Symbol("espree's esprimaFinishNode"), Or = () => (e) => {
4457
+ let t = Object.assign({}, e.acorn.tokTypes);
4458
+ return e.acornJsx && Object.assign(t, e.acornJsx.tokTypes), class extends e {
4459
+ constructor(e, n) {
4460
+ (typeof e != "object" || !e) && (e = {}), typeof n != "string" && !(n instanceof String) && (n = String(n));
4461
+ let r = e.sourceType, i = $e(e), a = i.ecmaFeatures || {}, o = i.tokens === !0 ? new Tr(t, n) : null, s = {
4462
+ originalSourceType: r || i.sourceType,
4463
+ tokens: o ? [] : null,
4464
+ comments: i.comment === !0 ? [] : null,
4465
+ impliedStrict: a.impliedStrict === !0 && i.ecmaVersion >= 5,
4466
+ ecmaVersion: i.ecmaVersion,
4467
+ jsxAttrValueToken: !1,
4468
+ lastToken: null,
4469
+ templateElements: []
4470
+ };
4471
+ super({
4472
+ ecmaVersion: i.ecmaVersion,
4473
+ sourceType: i.sourceType,
4474
+ ranges: i.ranges,
4475
+ locations: i.locations,
4476
+ allowReserved: i.allowReserved,
4477
+ allowReturnOutsideFunction: i.allowReturnOutsideFunction,
4478
+ onToken(e) {
4479
+ o && o.onToken(e, s), e.type !== t.eof && (s.lastToken = e);
4480
+ },
4481
+ onComment(e, t, r, i, a, o) {
4482
+ if (s.comments) {
4483
+ let c = et(e, t, r, i, a, o, n);
4484
+ s.comments.push(c);
4485
+ }
4486
+ }
4487
+ }, n), this[$] = s;
4488
+ }
4489
+ tokenize() {
4490
+ do
4491
+ this.next();
4492
+ while (this.type !== t.eof);
4493
+ this.next();
4494
+ let e = this[$], n = e.tokens;
4495
+ return e.comments && (n.comments = e.comments), n;
4496
+ }
4497
+ finishNode(...e) {
4498
+ let t = super.finishNode(...e);
4499
+ return this[Dr](t);
4500
+ }
4501
+ finishNodeAt(...e) {
4502
+ let t = super.finishNodeAt(...e);
4503
+ return this[Dr](t);
4504
+ }
4505
+ parse() {
4506
+ let e = this[$], t = super.parse();
4507
+ return t.sourceType = e.originalSourceType, e.comments && (t.comments = e.comments), e.tokens && (t.tokens = e.tokens), this[$].templateElements.forEach((e) => {
4508
+ let t = e.tail ? 1 : 2;
4509
+ e.start += -1, e.end += t, e.range && (e.range[0] += -1, e.range[1] += t), e.loc && (e.loc.start.column += -1, e.loc.end.column += t);
4510
+ }), t;
4511
+ }
4512
+ parseTopLevel(e) {
4513
+ return this[$].impliedStrict && (this.strict = !0), super.parseTopLevel(e);
4514
+ }
4515
+ raise(t, n) {
4516
+ let r = e.acorn.getLineInfo(this.input, t), i = SyntaxError(n);
4517
+ throw i.index = t, i.lineNumber = r.line, i.column = r.column + 1, i;
4518
+ }
4519
+ raiseRecoverable(e, t) {
4520
+ this.raise(e, t);
4521
+ }
4522
+ unexpected(e) {
4523
+ let t = "Unexpected token";
4524
+ if (e != null) {
4525
+ if (this.pos = e, this.options.locations) for (; this.pos < this.lineStart;) this.lineStart = this.input.lastIndexOf("\n", this.lineStart - 2) + 1, --this.curLine;
4526
+ this.nextToken();
4527
+ }
4528
+ this.end > this.start && (t += ` ${this.input.slice(this.start, this.end)}`), this.raise(this.start, t);
4529
+ }
4530
+ jsx_readString(e) {
4531
+ let n = super.jsx_readString(e);
4532
+ return this.type === t.string && (this[$].jsxAttrValueToken = !0), n;
4533
+ }
4534
+ [Dr](e) {
4535
+ return e.type === "TemplateElement" && this[$].templateElements.push(e), e.type.includes("Function") && !e.generator && (e.generator = !1), e;
4536
+ }
4537
+ };
4538
+ }, kr = {
4539
+ _regular: null,
4540
+ _jsx: null,
4541
+ get regular() {
4542
+ return this._regular === null && (this._regular = N.extend(Or())), this._regular;
4543
+ },
4544
+ get jsx() {
4545
+ return this._jsx === null && (this._jsx = N.extend((0, wr.default)(), Or())), this._jsx;
4546
+ },
4547
+ get(e) {
4548
+ return e && e.ecmaFeatures && e.ecmaFeatures.jsx ? this.jsx : this.regular;
4549
+ }
4550
+ }, Ar = {
4551
+ ecmaVersion: "latest",
4552
+ range: !0,
4553
+ loc: !1,
4554
+ comment: !0,
4555
+ tokens: !1,
4556
+ ecmaFeatures: {
4557
+ jsx: !0,
4558
+ impliedStrict: !1
4559
+ }
4560
+ }, jr = {
4561
+ acorn: Cr,
4562
+ espree: hr(rt)
4563
+ };
4564
+ }))();
4565
+ export { gt as default, jr as parsers };