@datapos/datapos-development 0.3.390 → 0.3.391

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.
@@ -1,13 +1,13 @@
1
1
  import { promises as he } from "node:fs";
2
- import { nanoid as xs } from "nanoid";
3
- import pt from "node:path";
4
- import { promisify as vs } from "node:util";
5
- import { exec as gs, spawn as bs } from "node:child_process";
6
- import { CONNECTOR_SOURCE_OPERATIONS as Ss, CONNECTOR_DESTINATION_OPERATIONS as Ts } from "@datapos/datapos-shared";
7
- import { fileURLToPath as Ti, URL as Ps } from "node:url";
2
+ import { nanoid as vs } from "nanoid";
3
+ import ct from "node:path";
4
+ import { promisify as gs } from "node:util";
5
+ import { exec as bs, spawn as Ss } from "node:child_process";
6
+ import { CONNECTOR_SOURCE_OPERATIONS as Ts, CONNECTOR_DESTINATION_OPERATIONS as Ps } from "@datapos/datapos-shared";
7
+ import { fileURLToPath as Pi, URL as Cs } from "node:url";
8
8
  let _t;
9
9
  // @__NO_SIDE_EFFECTS__
10
- function Pi(e) {
10
+ function Ci(e) {
11
11
  return {
12
12
  lang: e?.lang ?? _t?.lang,
13
13
  message: e?.message,
@@ -15,28 +15,28 @@ function Pi(e) {
15
15
  abortPipeEarly: e?.abortPipeEarly ?? _t?.abortPipeEarly
16
16
  };
17
17
  }
18
- let Cs;
18
+ let ks;
19
19
  // @__NO_SIDE_EFFECTS__
20
- function ks(e) {
21
- return Cs?.get(e);
20
+ function As(e) {
21
+ return ks?.get(e);
22
22
  }
23
- let As;
23
+ let ws;
24
24
  // @__NO_SIDE_EFFECTS__
25
- function ws(e) {
26
- return As?.get(e);
25
+ function Es(e) {
26
+ return ws?.get(e);
27
27
  }
28
- let Es;
28
+ let Is;
29
29
  // @__NO_SIDE_EFFECTS__
30
- function Is(e, t) {
31
- return Es?.get(e)?.get(t);
30
+ function _s(e, t) {
31
+ return Is?.get(e)?.get(t);
32
32
  }
33
33
  // @__NO_SIDE_EFFECTS__
34
- function Ci(e) {
34
+ function ki(e) {
35
35
  const t = typeof e;
36
36
  return t === "string" ? `"${e}"` : t === "number" || t === "bigint" || t === "boolean" ? `${e}` : t === "object" || t === "function" ? (e && Object.getPrototypeOf(e)?.constructor?.name) ?? "null" : t;
37
37
  }
38
38
  function ge(e, t, s, a, n) {
39
- const p = n && "input" in n ? n.input : s.value, f = n?.expected ?? e.expects ?? null, x = n?.received ?? /* @__PURE__ */ Ci(p), v = {
39
+ const p = n && "input" in n ? n.input : s.value, f = n?.expected ?? e.expects ?? null, x = n?.received ?? /* @__PURE__ */ ki(p), v = {
40
40
  kind: e.kind,
41
41
  type: e.type,
42
42
  input: p,
@@ -49,7 +49,7 @@ function ge(e, t, s, a, n) {
49
49
  lang: a.lang,
50
50
  abortEarly: a.abortEarly,
51
51
  abortPipeEarly: a.abortPipeEarly
52
- }, o = e.kind === "schema", T = n?.message ?? e.message ?? /* @__PURE__ */ Is(e.reference, v.lang) ?? (o ? /* @__PURE__ */ ws(v.lang) : null) ?? a.message ?? /* @__PURE__ */ ks(v.lang);
52
+ }, o = e.kind === "schema", T = n?.message ?? e.message ?? /* @__PURE__ */ _s(e.reference, v.lang) ?? (o ? /* @__PURE__ */ Es(v.lang) : null) ?? a.message ?? /* @__PURE__ */ As(v.lang);
53
53
  T !== void 0 && (v.message = typeof T == "function" ? T(v) : T), o && (s.typed = !1), s.issues ? s.issues.push(v) : s.issues = [v];
54
54
  }
55
55
  // @__NO_SIDE_EFFECTS__
@@ -58,21 +58,21 @@ function Se(e) {
58
58
  version: 1,
59
59
  vendor: "valibot",
60
60
  validate(t) {
61
- return e["~run"]({ value: t }, /* @__PURE__ */ Pi());
61
+ return e["~run"]({ value: t }, /* @__PURE__ */ Ci());
62
62
  }
63
63
  };
64
64
  }
65
65
  // @__NO_SIDE_EFFECTS__
66
- function _s(e, t) {
66
+ function Ns(e, t) {
67
67
  return Object.hasOwn(e, t) && t !== "__proto__" && t !== "prototype" && t !== "constructor";
68
68
  }
69
69
  // @__NO_SIDE_EFFECTS__
70
- function Ns(e, t) {
70
+ function Ls(e, t) {
71
71
  const s = [...new Set(e)];
72
72
  return s.length > 1 ? `(${s.join(` ${t} `)})` : s[0] ?? "never";
73
73
  }
74
74
  // @__NO_SIDE_EFFECTS__
75
- function Ls(e, t, s) {
75
+ function Os(e, t, s) {
76
76
  return typeof e.fallback == "function" ? e.fallback(t, s) : e.fallback;
77
77
  }
78
78
  // @__NO_SIDE_EFFECTS__
@@ -121,11 +121,11 @@ function Oe(e, t) {
121
121
  };
122
122
  }
123
123
  // @__NO_SIDE_EFFECTS__
124
- function ki(e) {
124
+ function Ai(e) {
125
125
  return {
126
126
  kind: "schema",
127
127
  type: "boolean",
128
- reference: ki,
128
+ reference: Ai,
129
129
  expects: "boolean",
130
130
  async: !1,
131
131
  message: e,
@@ -143,7 +143,7 @@ function Re(e, t) {
143
143
  kind: "schema",
144
144
  type: "literal",
145
145
  reference: Re,
146
- expects: /* @__PURE__ */ Ci(e),
146
+ expects: /* @__PURE__ */ ki(e),
147
147
  async: !1,
148
148
  literal: e,
149
149
  message: t,
@@ -227,7 +227,7 @@ function J(e, t) {
227
227
  }
228
228
  }
229
229
  v.typed || (s.typed = !1), s.value[p] = v.value;
230
- } else if (f.fallback !== void 0) s.value[p] = /* @__PURE__ */ Ls(f);
230
+ } else if (f.fallback !== void 0) s.value[p] = /* @__PURE__ */ Os(f);
231
231
  else if (f.type !== "exact_optional" && f.type !== "optional" && f.type !== "nullish" && (ge(this, "key", s, a, {
232
232
  input: void 0,
233
233
  expected: `"${p}"`,
@@ -282,7 +282,7 @@ function qt(e, t, s) {
282
282
  const p = a.value;
283
283
  if (p && typeof p == "object") {
284
284
  a.typed = !0, a.value = {};
285
- for (const f in p) if (/* @__PURE__ */ _s(p, f)) {
285
+ for (const f in p) if (/* @__PURE__ */ Ns(p, f)) {
286
286
  const x = p[f], v = this.key["~run"]({ value: f }, n);
287
287
  if (v.issues) {
288
288
  const T = {
@@ -340,7 +340,7 @@ function I(e) {
340
340
  };
341
341
  }
342
342
  // @__NO_SIDE_EFFECTS__
343
- function ni(e) {
343
+ function oi(e) {
344
344
  let t;
345
345
  if (e) for (const s of e) t ? t.push(...s.issues) : t = s.issues;
346
346
  return t;
@@ -351,7 +351,7 @@ function bt(e, t) {
351
351
  kind: "schema",
352
352
  type: "union",
353
353
  reference: bt,
354
- expects: /* @__PURE__ */ Ns(e.map((s) => s.expects), "|"),
354
+ expects: /* @__PURE__ */ Ls(e.map((s) => s.expects), "|"),
355
355
  async: !1,
356
356
  options: e,
357
357
  message: t,
@@ -372,10 +372,10 @@ function bt(e, t) {
372
372
  if (n) return n;
373
373
  if (p) {
374
374
  if (p.length === 1) return p[0];
375
- ge(this, "type", s, a, { issues: /* @__PURE__ */ ni(p) }), s.typed = !0;
375
+ ge(this, "type", s, a, { issues: /* @__PURE__ */ oi(p) }), s.typed = !0;
376
376
  } else {
377
377
  if (f?.length === 1) return f[0];
378
- ge(this, "type", s, a, { issues: /* @__PURE__ */ ni(f) });
378
+ ge(this, "type", s, a, { issues: /* @__PURE__ */ oi(f) });
379
379
  }
380
380
  return s;
381
381
  }
@@ -383,7 +383,7 @@ function bt(e, t) {
383
383
  }
384
384
  // @__NO_SIDE_EFFECTS__
385
385
  function Ht(e, t, s) {
386
- const a = e["~run"]({ value: t }, /* @__PURE__ */ Pi(s));
386
+ const a = e["~run"]({ value: t }, /* @__PURE__ */ Ci(s));
387
387
  return {
388
388
  typed: a.typed,
389
389
  success: !a.issues,
@@ -391,7 +391,7 @@ function Ht(e, t, s) {
391
391
  issues: a.issues
392
392
  };
393
393
  }
394
- const $e = (e) => /* @__PURE__ */ bt(e.map((t) => /* @__PURE__ */ Re(t))), Os = $e(["amber", "green", "red", "other"]), Rs = $e([
394
+ const He = (e) => /* @__PURE__ */ bt(e.map((t) => /* @__PURE__ */ Re(t))), Rs = He(["amber", "green", "red", "other"]), Ds = He([
395
395
  "alpha",
396
396
  "beta",
397
397
  "generalAvailability",
@@ -401,7 +401,7 @@ const $e = (e) => /* @__PURE__ */ bt(e.map((t) => /* @__PURE__ */ Re(t))), Os =
401
401
  "releaseCandidate",
402
402
  "unavailable",
403
403
  "underReview"
404
- ]), Ds = $e(["application", "curatedDataset", "database", "fileStore"]), Ms = $e([
404
+ ]), Ms = He(["application", "curatedDataset", "database", "fileStore"]), Vs = He([
405
405
  "abortOperation",
406
406
  "authenticateConnection",
407
407
  "createObject",
@@ -414,57 +414,57 @@ const $e = (e) => /* @__PURE__ */ bt(e.map((t) => /* @__PURE__ */ Re(t))), Os =
414
414
  "removeRecords",
415
415
  "retrieveRecords",
416
416
  "upsertRecords"
417
- ]), Vs = $e(["bidirectional", "destination", "source", "unknown"]), Fs = $e(["apiKey", "disabled", "oAuth2", "none"]), js = /* @__PURE__ */ J({
417
+ ]), Fs = He(["bidirectional", "destination", "source", "unknown"]), js = He(["apiKey", "disabled", "oAuth2", "none"]), Bs = /* @__PURE__ */ J({
418
418
  "en-au": /* @__PURE__ */ I(),
419
419
  "en-gb": /* @__PURE__ */ I(),
420
420
  "en-us": /* @__PURE__ */ I(),
421
421
  "es-es": /* @__PURE__ */ I()
422
- }), oi = /* @__PURE__ */ J({
422
+ }), ui = /* @__PURE__ */ J({
423
423
  "en-au": /* @__PURE__ */ F(/* @__PURE__ */ I()),
424
424
  "en-gb": /* @__PURE__ */ F(/* @__PURE__ */ I()),
425
425
  "en-us": /* @__PURE__ */ F(/* @__PURE__ */ I()),
426
426
  "es-es": /* @__PURE__ */ F(/* @__PURE__ */ I())
427
- }), Bs = /* @__PURE__ */ J({
428
- id: /* @__PURE__ */ I(),
429
- color: Os,
430
- label: /* @__PURE__ */ I()
431
427
  }), Us = /* @__PURE__ */ J({
432
428
  id: /* @__PURE__ */ I(),
429
+ color: Rs,
433
430
  label: /* @__PURE__ */ I()
434
431
  }), qs = /* @__PURE__ */ J({
435
- authMethodId: Fs,
432
+ id: /* @__PURE__ */ I(),
433
+ label: /* @__PURE__ */ I()
434
+ }), Hs = /* @__PURE__ */ J({
435
+ authMethodId: js,
436
436
  activeConnectionCount: /* @__PURE__ */ F(/* @__PURE__ */ me()),
437
- canDescribe: /* @__PURE__ */ F(/* @__PURE__ */ ki()),
437
+ canDescribe: /* @__PURE__ */ F(/* @__PURE__ */ Ai()),
438
438
  id: /* @__PURE__ */ F(/* @__PURE__ */ I()),
439
- label: /* @__PURE__ */ F(js),
439
+ label: /* @__PURE__ */ F(Bs),
440
440
  maxConnectionCount: /* @__PURE__ */ F(/* @__PURE__ */ me()),
441
441
  params: /* @__PURE__ */ F(/* @__PURE__ */ Oe(/* @__PURE__ */ qt(/* @__PURE__ */ I(), /* @__PURE__ */ I())))
442
- }), Hs = /* @__PURE__ */ J({
442
+ }), $s = /* @__PURE__ */ J({
443
443
  id: /* @__PURE__ */ I(),
444
- label: oi,
445
- description: oi,
444
+ label: ui,
445
+ description: ui,
446
446
  firstCreatedAt: /* @__PURE__ */ F(/* @__PURE__ */ me()),
447
447
  icon: /* @__PURE__ */ z(/* @__PURE__ */ I()),
448
448
  iconDark: /* @__PURE__ */ z(/* @__PURE__ */ I()),
449
449
  lastUpdatedAt: /* @__PURE__ */ z(/* @__PURE__ */ me()),
450
- status: /* @__PURE__ */ z(Bs),
451
- statusId: Rs,
450
+ status: /* @__PURE__ */ z(Us),
451
+ statusId: Ds,
452
452
  typeId: /* @__PURE__ */ Re("connector"),
453
453
  version: /* @__PURE__ */ I(),
454
- category: /* @__PURE__ */ z(Us),
455
- categoryId: Ds,
456
- implementations: /* @__PURE__ */ qt(/* @__PURE__ */ I(), qs),
457
- operations: /* @__PURE__ */ Oe(Ms),
458
- usageId: Vs,
454
+ category: /* @__PURE__ */ z(qs),
455
+ categoryId: Ms,
456
+ implementations: /* @__PURE__ */ qt(/* @__PURE__ */ I(), Hs),
457
+ operations: /* @__PURE__ */ Oe(Vs),
458
+ usageId: Fs,
459
459
  vendorAccountURL: /* @__PURE__ */ z(/* @__PURE__ */ I()),
460
460
  vendorDocumentationURL: /* @__PURE__ */ z(/* @__PURE__ */ I()),
461
461
  vendorHomeURL: /* @__PURE__ */ z(/* @__PURE__ */ I())
462
- }), $t = (e) => /* @__PURE__ */ bt(e.map((t) => /* @__PURE__ */ Re(t))), lt = /* @__PURE__ */ J({
462
+ }), $t = (e) => /* @__PURE__ */ bt(e.map((t) => /* @__PURE__ */ Re(t))), pt = /* @__PURE__ */ J({
463
463
  "en-au": /* @__PURE__ */ F(/* @__PURE__ */ I()),
464
464
  "en-gb": /* @__PURE__ */ F(/* @__PURE__ */ I()),
465
465
  "en-us": /* @__PURE__ */ F(/* @__PURE__ */ I()),
466
466
  "es-es": /* @__PURE__ */ F(/* @__PURE__ */ I())
467
- }), $s = $t(["amber", "green", "red", "other"]), Ks = $t([
467
+ }), Ks = $t(["amber", "green", "red", "other"]), Gs = $t([
468
468
  "alpha",
469
469
  "beta",
470
470
  "generalAvailability",
@@ -474,45 +474,45 @@ const $e = (e) => /* @__PURE__ */ bt(e.map((t) => /* @__PURE__ */ Re(t))), Os =
474
474
  "releaseCandidate",
475
475
  "unavailable",
476
476
  "underReview"
477
- ]), Gs = $t(["list"]), Ws = /* @__PURE__ */ J({
477
+ ]), Ws = $t(["list"]), zs = /* @__PURE__ */ J({
478
478
  id: /* @__PURE__ */ I(),
479
- color: $s,
479
+ color: Ks,
480
480
  label: /* @__PURE__ */ I()
481
- }), Ai = {
481
+ }), wi = {
482
482
  id: /* @__PURE__ */ I(),
483
- label: lt,
484
- description: lt,
483
+ label: pt,
484
+ description: pt,
485
485
  firstCreatedAt: /* @__PURE__ */ F(/* @__PURE__ */ me()),
486
486
  icon: /* @__PURE__ */ z(/* @__PURE__ */ I()),
487
487
  iconDark: /* @__PURE__ */ z(/* @__PURE__ */ I()),
488
488
  lastUpdatedAt: /* @__PURE__ */ z(/* @__PURE__ */ me()),
489
- status: /* @__PURE__ */ z(Ws),
490
- statusId: Ks
491
- }, zs = /* @__PURE__ */ J({
489
+ status: /* @__PURE__ */ z(zs),
490
+ statusId: Gs
491
+ }, Xs = /* @__PURE__ */ J({
492
492
  id: /* @__PURE__ */ I(),
493
- label: lt,
494
- description: lt,
493
+ label: pt,
494
+ description: pt,
495
495
  icon: /* @__PURE__ */ F(/* @__PURE__ */ I()),
496
496
  iconDark: /* @__PURE__ */ F(/* @__PURE__ */ I()),
497
497
  order: /* @__PURE__ */ me(),
498
498
  path: /* @__PURE__ */ I()
499
- }), Xs = /* @__PURE__ */ J({
500
- ...Ai,
499
+ }), Qs = /* @__PURE__ */ J({
500
+ ...wi,
501
501
  typeId: /* @__PURE__ */ Re("contextModelGroup"),
502
- modelRefs: /* @__PURE__ */ Oe(zs),
502
+ modelRefs: /* @__PURE__ */ Oe(Xs),
503
503
  order: /* @__PURE__ */ me()
504
- }), Qs = /* @__PURE__ */ J({
505
- ...Ai,
504
+ }), Js = /* @__PURE__ */ J({
505
+ ...wi,
506
506
  typeId: /* @__PURE__ */ Re("context"),
507
507
  version: /* @__PURE__ */ I(),
508
- models: /* @__PURE__ */ Oe(Xs),
509
- operations: /* @__PURE__ */ Oe(Gs)
510
- }), Kt = (e) => /* @__PURE__ */ bt(e.map((t) => /* @__PURE__ */ Re(t))), ft = /* @__PURE__ */ J({
508
+ models: /* @__PURE__ */ Oe(Qs),
509
+ operations: /* @__PURE__ */ Oe(Ws)
510
+ }), Kt = (e) => /* @__PURE__ */ bt(e.map((t) => /* @__PURE__ */ Re(t))), lt = /* @__PURE__ */ J({
511
511
  "en-au": /* @__PURE__ */ F(/* @__PURE__ */ I()),
512
512
  "en-gb": /* @__PURE__ */ F(/* @__PURE__ */ I()),
513
513
  "en-us": /* @__PURE__ */ F(/* @__PURE__ */ I()),
514
514
  "es-es": /* @__PURE__ */ F(/* @__PURE__ */ I())
515
- }), Js = Kt(["amber", "green", "red", "other"]), Ys = Kt([
515
+ }), Ys = Kt(["amber", "green", "red", "other"]), Zs = Kt([
516
516
  "alpha",
517
517
  "beta",
518
518
  "generalAvailability",
@@ -522,46 +522,46 @@ const $e = (e) => /* @__PURE__ */ bt(e.map((t) => /* @__PURE__ */ Re(t))), Os =
522
522
  "releaseCandidate",
523
523
  "unavailable",
524
524
  "underReview"
525
- ]), Zs = Kt(["list", "render", "setColorMode"]), er = /* @__PURE__ */ J({
525
+ ]), er = Kt(["list", "render", "setColorMode"]), tr = /* @__PURE__ */ J({
526
526
  id: /* @__PURE__ */ I(),
527
- color: Js,
527
+ color: Ys,
528
528
  label: /* @__PURE__ */ I()
529
- }), tr = {
529
+ }), ir = {
530
530
  id: /* @__PURE__ */ I(),
531
- label: ft,
532
- description: ft,
531
+ label: lt,
532
+ description: lt,
533
533
  firstCreatedAt: /* @__PURE__ */ F(/* @__PURE__ */ me()),
534
534
  icon: /* @__PURE__ */ z(/* @__PURE__ */ I()),
535
535
  iconDark: /* @__PURE__ */ z(/* @__PURE__ */ I()),
536
536
  lastUpdatedAt: /* @__PURE__ */ z(/* @__PURE__ */ me()),
537
- status: /* @__PURE__ */ z(er),
538
- statusId: Ys
539
- }, ir = /* @__PURE__ */ J({
537
+ status: /* @__PURE__ */ z(tr),
538
+ statusId: Zs
539
+ }, sr = /* @__PURE__ */ J({
540
540
  id: /* @__PURE__ */ I(),
541
- label: ft,
542
- description: ft,
541
+ label: lt,
542
+ description: lt,
543
543
  icon: /* @__PURE__ */ F(/* @__PURE__ */ I()),
544
544
  iconDark: /* @__PURE__ */ F(/* @__PURE__ */ I()),
545
545
  order: /* @__PURE__ */ me(),
546
546
  path: /* @__PURE__ */ I()
547
- }), sr = /* @__PURE__ */ J({
548
- ...tr,
547
+ }), rr = /* @__PURE__ */ J({
548
+ ...ir,
549
549
  typeId: /* @__PURE__ */ Re("presenter"),
550
550
  version: /* @__PURE__ */ I(),
551
- presentations: /* @__PURE__ */ Oe(ir),
552
- operations: /* @__PURE__ */ Oe(Zs)
551
+ presentations: /* @__PURE__ */ Oe(sr),
552
+ operations: /* @__PURE__ */ Oe(er)
553
553
  });
554
- var rr = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 7, 9, 32, 4, 318, 1, 80, 3, 71, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 3, 0, 158, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 68, 8, 2, 0, 3, 0, 2, 3, 2, 4, 2, 0, 15, 1, 83, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 7, 19, 58, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 343, 9, 54, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 10, 5350, 0, 7, 14, 11465, 27, 2343, 9, 87, 9, 39, 4, 60, 6, 26, 9, 535, 9, 470, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4178, 9, 519, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 101, 0, 161, 6, 10, 9, 357, 0, 62, 13, 499, 13, 245, 1, 2, 9, 726, 6, 110, 6, 6, 9, 4759, 9, 787719, 239], wi = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 4, 51, 13, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 39, 27, 10, 22, 251, 41, 7, 1, 17, 2, 60, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 20, 1, 64, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 31, 9, 2, 0, 3, 0, 2, 37, 2, 0, 26, 0, 2, 0, 45, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 200, 32, 32, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 16, 0, 2, 12, 2, 33, 125, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1071, 18, 5, 26, 3994, 6, 582, 6842, 29, 1763, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 433, 44, 212, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 42, 9, 8936, 3, 2, 6, 2, 1, 2, 290, 16, 0, 30, 2, 3, 0, 15, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 30, 7, 5, 262, 61, 147, 44, 11, 6, 17, 0, 322, 29, 19, 43, 485, 27, 229, 29, 3, 0, 496, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4153, 7, 221, 3, 5761, 15, 7472, 16, 621, 2467, 541, 1507, 4938, 6, 4191], ar = "‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・", Ei = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", Nt = {
554
+ var ar = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 7, 9, 32, 4, 318, 1, 80, 3, 71, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 3, 0, 158, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 68, 8, 2, 0, 3, 0, 2, 3, 2, 4, 2, 0, 15, 1, 83, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 7, 19, 58, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 343, 9, 54, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 10, 5350, 0, 7, 14, 11465, 27, 2343, 9, 87, 9, 39, 4, 60, 6, 26, 9, 535, 9, 470, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4178, 9, 519, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 101, 0, 161, 6, 10, 9, 357, 0, 62, 13, 499, 13, 245, 1, 2, 9, 726, 6, 110, 6, 6, 9, 4759, 9, 787719, 239], Ei = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 4, 51, 13, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 39, 27, 10, 22, 251, 41, 7, 1, 17, 2, 60, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 20, 1, 64, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 31, 9, 2, 0, 3, 0, 2, 37, 2, 0, 26, 0, 2, 0, 45, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 200, 32, 32, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 16, 0, 2, 12, 2, 33, 125, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1071, 18, 5, 26, 3994, 6, 582, 6842, 29, 1763, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 433, 44, 212, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 42, 9, 8936, 3, 2, 6, 2, 1, 2, 290, 16, 0, 30, 2, 3, 0, 15, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 30, 7, 5, 262, 61, 147, 44, 11, 6, 17, 0, 322, 29, 19, 43, 485, 27, 229, 29, 3, 0, 496, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4153, 7, 221, 3, 5761, 15, 7472, 16, 621, 2467, 541, 1507, 4938, 6, 4191], nr = "‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・", Ii = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", Nt = {
555
555
  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",
556
556
  5: "class enum extends super const export import",
557
557
  6: "enum",
558
558
  strict: "implements interface let package private protected public static yield",
559
559
  strictBind: "eval arguments"
560
- }, Lt = "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", nr = {
560
+ }, Lt = "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", or = {
561
561
  5: Lt,
562
562
  "5module": Lt + " export import",
563
563
  6: Lt + " const class extends export import super"
564
- }, or = /^in(stanceof)?$/, ur = new RegExp("[" + Ei + "]"), hr = new RegExp("[" + Ei + ar + "]");
564
+ }, ur = /^in(stanceof)?$/, hr = new RegExp("[" + Ii + "]"), cr = new RegExp("[" + Ii + nr + "]");
565
565
  function Mt(e, t) {
566
566
  for (var s = 65536, a = 0; a < t.length; a += 2) {
567
567
  if (s += t[a], s > e)
@@ -572,10 +572,10 @@ function Mt(e, t) {
572
572
  return !1;
573
573
  }
574
574
  function ve(e, t) {
575
- return e < 65 ? e === 36 : e < 91 ? !0 : e < 97 ? e === 95 : e < 123 ? !0 : e <= 65535 ? e >= 170 && ur.test(String.fromCharCode(e)) : t === !1 ? !1 : Mt(e, wi);
575
+ return e < 65 ? e === 36 : e < 91 ? !0 : e < 97 ? e === 95 : e < 123 ? !0 : e <= 65535 ? e >= 170 && hr.test(String.fromCharCode(e)) : t === !1 ? !1 : Mt(e, Ei);
576
576
  }
577
577
  function ke(e, t) {
578
- 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 && hr.test(String.fromCharCode(e)) : t === !1 ? !1 : Mt(e, wi) || Mt(e, rr);
578
+ 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 && cr.test(String.fromCharCode(e)) : t === !1 ? !1 : Mt(e, Ei) || Mt(e, ar);
579
579
  }
580
580
  var R = function(t, s) {
581
581
  s === void 0 && (s = {}), this.label = t, this.keyword = s.keyword, this.beforeExpr = !!s.beforeExpr, this.startsExpr = !!s.startsExpr, this.isLoop = !!s.isLoop, this.isAssign = !!s.isAssign, this.prefix = !!s.prefix, this.postfix = !!s.postfix, this.binop = s.binop || null, this.updateContext = null;
@@ -680,11 +680,11 @@ var h = {
680
680
  _typeof: M("typeof", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
681
681
  _void: M("void", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
682
682
  _delete: M("delete", { beforeExpr: !0, prefix: !0, startsExpr: !0 })
683
- }, ee = /\r\n?|\n|\u2028|\u2029/, Ii = new RegExp(ee.source, "g");
683
+ }, ee = /\r\n?|\n|\u2028|\u2029/, _i = new RegExp(ee.source, "g");
684
684
  function Ve(e) {
685
685
  return e === 10 || e === 13 || e === 8232 || e === 8233;
686
686
  }
687
- function _i(e, t, s) {
687
+ function Ni(e, t, s) {
688
688
  s === void 0 && (s = e.length);
689
689
  for (var a = t; a < s; a++) {
690
690
  var n = e.charCodeAt(a);
@@ -693,35 +693,35 @@ function _i(e, t, s) {
693
693
  }
694
694
  return -1;
695
695
  }
696
- var Gt = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/, Q = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, Ni = Object.prototype, cr = Ni.hasOwnProperty, pr = Ni.toString, Ke = Object.hasOwn || (function(e, t) {
697
- return cr.call(e, t);
698
- }), ui = Array.isArray || (function(e) {
699
- return pr.call(e) === "[object Array]";
700
- }), hi = /* @__PURE__ */ Object.create(null);
696
+ var Gt = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/, Q = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, Li = Object.prototype, pr = Li.hasOwnProperty, lr = Li.toString, $e = Object.hasOwn || (function(e, t) {
697
+ return pr.call(e, t);
698
+ }), hi = Array.isArray || (function(e) {
699
+ return lr.call(e) === "[object Array]";
700
+ }), ci = /* @__PURE__ */ Object.create(null);
701
701
  function Le(e) {
702
- return hi[e] || (hi[e] = new RegExp("^(?:" + e.replace(/ /g, "|") + ")$"));
702
+ return ci[e] || (ci[e] = new RegExp("^(?:" + e.replace(/ /g, "|") + ")$"));
703
703
  }
704
704
  function Ae(e) {
705
705
  return e <= 65535 ? String.fromCharCode(e) : (e -= 65536, String.fromCharCode((e >> 10) + 55296, (e & 1023) + 56320));
706
706
  }
707
- var lr = /(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/, qe = function(t, s) {
707
+ var fr = /(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/, qe = function(t, s) {
708
708
  this.line = t, this.column = s;
709
709
  };
710
710
  qe.prototype.offset = function(t) {
711
711
  return new qe(this.line, this.column + t);
712
712
  };
713
- var it = function(t, s, a) {
713
+ var tt = function(t, s, a) {
714
714
  this.start = s, this.end = a, t.sourceFile !== null && (this.source = t.sourceFile);
715
715
  };
716
716
  function Wt(e, t) {
717
717
  for (var s = 1, a = 0; ; ) {
718
- var n = _i(e, a, t);
718
+ var n = Ni(e, a, t);
719
719
  if (n < 0)
720
720
  return new qe(s, t - a);
721
721
  ++s, a = n;
722
722
  }
723
723
  }
724
- var dt = {
724
+ var ft = {
725
725
  // `ecmaVersion` indicates the ECMAScript version to parse. Must be
726
726
  // either 3, 5, 6 (or 2015), 7 (2016), 8 (2017), 9 (2018), 10
727
727
  // (2019), 11 (2020), 12 (2021), 13 (2022), 14 (2023), or `"latest"`
@@ -817,21 +817,21 @@ var dt = {
817
817
  // When enabled, parenthesized expressions are represented by
818
818
  // (non-standard) ParenthesizedExpression nodes
819
819
  preserveParens: !1
820
- }, ci = !1;
821
- function fr(e) {
820
+ }, pi = !1;
821
+ function dr(e) {
822
822
  var t = {};
823
- for (var s in dt)
824
- t[s] = e && Ke(e, s) ? e[s] : dt[s];
825
- if (t.ecmaVersion === "latest" ? t.ecmaVersion = 1e8 : t.ecmaVersion == null ? (!ci && typeof console == "object" && console.warn && (ci = !0, console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
826
- Defaulting to 2020, but this will stop working in the future.`)), t.ecmaVersion = 11) : t.ecmaVersion >= 2015 && (t.ecmaVersion -= 2009), t.allowReserved == null && (t.allowReserved = t.ecmaVersion < 5), (!e || e.allowHashBang == null) && (t.allowHashBang = t.ecmaVersion >= 14), ui(t.onToken)) {
823
+ for (var s in ft)
824
+ t[s] = e && $e(e, s) ? e[s] : ft[s];
825
+ if (t.ecmaVersion === "latest" ? t.ecmaVersion = 1e8 : t.ecmaVersion == null ? (!pi && typeof console == "object" && console.warn && (pi = !0, console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
826
+ Defaulting to 2020, but this will stop working in the future.`)), t.ecmaVersion = 11) : t.ecmaVersion >= 2015 && (t.ecmaVersion -= 2009), t.allowReserved == null && (t.allowReserved = t.ecmaVersion < 5), (!e || e.allowHashBang == null) && (t.allowHashBang = t.ecmaVersion >= 14), hi(t.onToken)) {
827
827
  var a = t.onToken;
828
828
  t.onToken = function(n) {
829
829
  return a.push(n);
830
830
  };
831
831
  }
832
- return ui(t.onComment) && (t.onComment = dr(t, t.onComment)), t;
832
+ return hi(t.onComment) && (t.onComment = mr(t, t.onComment)), t;
833
833
  }
834
- function dr(e, t) {
834
+ function mr(e, t) {
835
835
  return function(s, a, n, p, f, x) {
836
836
  var v = {
837
837
  type: s ? "Block" : "Line",
@@ -839,30 +839,30 @@ function dr(e, t) {
839
839
  start: n,
840
840
  end: p
841
841
  };
842
- e.locations && (v.loc = new it(this, f, x)), e.ranges && (v.range = [n, p]), t.push(v);
842
+ e.locations && (v.loc = new tt(this, f, x)), e.ranges && (v.range = [n, p]), t.push(v);
843
843
  };
844
844
  }
845
- var et = 1, Ge = 2, zt = 4, Li = 8, Xt = 16, Oi = 32, St = 64, Ri = 128, Fe = 256, st = 512, Tt = et | Ge | Fe;
845
+ var Ze = 1, Ke = 2, zt = 4, Oi = 8, Xt = 16, Ri = 32, St = 64, Di = 128, Fe = 256, it = 512, Tt = Ze | Ke | Fe;
846
846
  function Qt(e, t) {
847
- return Ge | (e ? zt : 0) | (t ? Li : 0);
847
+ return Ke | (e ? zt : 0) | (t ? Oi : 0);
848
848
  }
849
- var mt = 0, Jt = 1, Ee = 2, Di = 3, Mi = 4, Vi = 5, K = function(t, s, a) {
850
- this.options = t = fr(t), this.sourceFile = t.sourceFile, this.keywords = Le(nr[t.ecmaVersion >= 6 ? 6 : t.sourceType === "module" ? "5module" : 5]);
849
+ var dt = 0, Jt = 1, Ee = 2, Mi = 3, Vi = 4, Fi = 5, K = function(t, s, a) {
850
+ this.options = t = dr(t), this.sourceFile = t.sourceFile, this.keywords = Le(or[t.ecmaVersion >= 6 ? 6 : t.sourceType === "module" ? "5module" : 5]);
851
851
  var n = "";
852
852
  t.allowReserved !== !0 && (n = Nt[t.ecmaVersion >= 6 ? 6 : t.ecmaVersion === 5 ? 5 : 3], t.sourceType === "module" && (n += " await")), this.reservedWords = Le(n);
853
853
  var p = (n ? n + " " : "") + Nt.strict;
854
854
  this.reservedWordsStrict = Le(p), this.reservedWordsStrictBind = Le(p + " " + Nt.strictBind), this.input = String(s), this.containsEsc = !1, a ? (this.pos = a, this.lineStart = this.input.lastIndexOf(`
855
- `, a - 1) + 1, this.curLine = this.input.slice(0, this.lineStart).split(ee).length) : (this.pos = this.lineStart = 0, this.curLine = 1), this.type = h.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 = t.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 = /* @__PURE__ */ Object.create(null), this.pos === 0 && t.allowHashBang && this.input.slice(0, 2) === "#!" && this.skipLineComment(2), this.scopeStack = [], this.enterScope(et), this.regexpState = null, this.privateNameStack = [];
855
+ `, a - 1) + 1, this.curLine = this.input.slice(0, this.lineStart).split(ee).length) : (this.pos = this.lineStart = 0, this.curLine = 1), this.type = h.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 = t.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 = /* @__PURE__ */ Object.create(null), this.pos === 0 && t.allowHashBang && this.input.slice(0, 2) === "#!" && this.skipLineComment(2), this.scopeStack = [], this.enterScope(Ze), this.regexpState = null, this.privateNameStack = [];
856
856
  }, Te = { inFunction: { configurable: !0 }, inGenerator: { configurable: !0 }, inAsync: { configurable: !0 }, canAwait: { configurable: !0 }, allowSuper: { configurable: !0 }, allowDirectSuper: { configurable: !0 }, treatFunctionsAsVar: { configurable: !0 }, allowNewDotTarget: { configurable: !0 }, inClassStaticBlock: { configurable: !0 } };
857
857
  K.prototype.parse = function() {
858
858
  var t = this.options.program || this.startNode();
859
859
  return this.nextToken(), this.parseTopLevel(t);
860
860
  };
861
861
  Te.inFunction.get = function() {
862
- return (this.currentVarScope().flags & Ge) > 0;
862
+ return (this.currentVarScope().flags & Ke) > 0;
863
863
  };
864
864
  Te.inGenerator.get = function() {
865
- return (this.currentVarScope().flags & Li) > 0;
865
+ return (this.currentVarScope().flags & Oi) > 0;
866
866
  };
867
867
  Te.inAsync.get = function() {
868
868
  return (this.currentVarScope().flags & zt) > 0;
@@ -870,9 +870,9 @@ Te.inAsync.get = function() {
870
870
  Te.canAwait.get = function() {
871
871
  for (var e = this.scopeStack.length - 1; e >= 0; e--) {
872
872
  var t = this.scopeStack[e], s = t.flags;
873
- if (s & (Fe | st))
873
+ if (s & (Fe | it))
874
874
  return !1;
875
- if (s & Ge)
875
+ if (s & Ke)
876
876
  return (s & zt) > 0;
877
877
  }
878
878
  return this.inModule && this.options.ecmaVersion >= 13 || this.options.allowAwaitOutsideFunction;
@@ -882,7 +882,7 @@ Te.allowSuper.get = function() {
882
882
  return (t & St) > 0 || this.options.allowSuperOutsideMethod;
883
883
  };
884
884
  Te.allowDirectSuper.get = function() {
885
- return (this.currentThisScope().flags & Ri) > 0;
885
+ return (this.currentThisScope().flags & Di) > 0;
886
886
  };
887
887
  Te.treatFunctionsAsVar.get = function() {
888
888
  return this.treatFunctionsAsVarInScope(this.currentScope());
@@ -890,7 +890,7 @@ Te.treatFunctionsAsVar.get = function() {
890
890
  Te.allowNewDotTarget.get = function() {
891
891
  for (var e = this.scopeStack.length - 1; e >= 0; e--) {
892
892
  var t = this.scopeStack[e], s = t.flags;
893
- if (s & (Fe | st) || s & Ge && !(s & Xt))
893
+ if (s & (Fe | it) || s & Ke && !(s & Xt))
894
894
  return !0;
895
895
  }
896
896
  return !1;
@@ -915,13 +915,13 @@ K.tokenizer = function(t, s) {
915
915
  return new this(s, t);
916
916
  };
917
917
  Object.defineProperties(K.prototype, Te);
918
- var te = K.prototype, mr = /^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;
918
+ var te = K.prototype, yr = /^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;
919
919
  te.strictDirective = function(e) {
920
920
  if (this.options.ecmaVersion < 5)
921
921
  return !1;
922
922
  for (; ; ) {
923
923
  Q.lastIndex = e, e += Q.exec(this.input)[0].length;
924
- var t = mr.exec(this.input.slice(e));
924
+ var t = yr.exec(this.input.slice(e));
925
925
  if (!t)
926
926
  return !1;
927
927
  if ((t[1] || t[2]) === "use strict") {
@@ -1002,7 +1002,7 @@ A.parseTopLevel = function(e) {
1002
1002
  }
1003
1003
  return this.adaptDirectivePrologue(e.body), this.next(), e.sourceType = this.options.sourceType, this.finishNode(e, "Program");
1004
1004
  };
1005
- var Yt = { kind: "loop" }, yr = { kind: "switch" };
1005
+ var Yt = { kind: "loop" }, xr = { kind: "switch" };
1006
1006
  A.isLet = function(e) {
1007
1007
  if (this.options.ecmaVersion < 6 || !this.isContextual("let"))
1008
1008
  return !1;
@@ -1020,7 +1020,7 @@ A.isLet = function(e) {
1020
1020
  if (a === 92 || a > 55295 && a < 56320)
1021
1021
  return !0;
1022
1022
  var p = this.input.slice(s, n);
1023
- if (!or.test(p))
1023
+ if (!ur.test(p))
1024
1024
  return !0;
1025
1025
  }
1026
1026
  return !1;
@@ -1161,7 +1161,7 @@ A.parseForAfterInit = function(e, t, s) {
1161
1161
  return (this.type === h._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) && t.declarations.length === 1 ? (this.options.ecmaVersion >= 9 && (this.type === h._in ? s > -1 && this.unexpected(s) : e.await = s > -1), this.parseForIn(e, t)) : (s > -1 && this.unexpected(s), this.parseFor(e, t));
1162
1162
  };
1163
1163
  A.parseFunctionStatement = function(e, t, s) {
1164
- return this.next(), this.parseFunction(e, Ye | (s ? 0 : Vt), !1, t);
1164
+ return this.next(), this.parseFunction(e, Je | (s ? 0 : Vt), !1, t);
1165
1165
  };
1166
1166
  A.parseIfStatement = function(e) {
1167
1167
  return this.next(), e.test = this.parseParenExpression(), e.consequent = this.parseStatement("if"), e.alternate = this.eat(h._else) ? this.parseStatement("if") : null, this.finishNode(e, "IfStatement");
@@ -1170,7 +1170,7 @@ A.parseReturnStatement = function(e) {
1170
1170
  return !this.inFunction && !this.options.allowReturnOutsideFunction && this.raise(this.start, "'return' outside of function"), this.next(), this.eat(h.semi) || this.insertSemicolon() ? e.argument = null : (e.argument = this.parseExpression(), this.semicolon()), this.finishNode(e, "ReturnStatement");
1171
1171
  };
1172
1172
  A.parseSwitchStatement = function(e) {
1173
- this.next(), e.discriminant = this.parseParenExpression(), e.cases = [], this.expect(h.braceL), this.labels.push(yr), this.enterScope(0);
1173
+ this.next(), e.discriminant = this.parseParenExpression(), e.cases = [], this.expect(h.braceL), this.labels.push(xr), this.enterScope(0);
1174
1174
  for (var t, s = !1; this.type !== h.braceR; )
1175
1175
  if (this.type === h._case || this.type === h._default) {
1176
1176
  var a = this.type === h._case;
@@ -1182,10 +1182,10 @@ A.parseSwitchStatement = function(e) {
1182
1182
  A.parseThrowStatement = function(e) {
1183
1183
  return this.next(), ee.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");
1184
1184
  };
1185
- var xr = [];
1185
+ var vr = [];
1186
1186
  A.parseCatchClauseParam = function() {
1187
1187
  var e = this.parseBindingAtom(), t = e.type === "Identifier";
1188
- return this.enterScope(t ? Oi : 0), this.checkLValPattern(e, t ? Mi : Ee), this.expect(h.parenR), e;
1188
+ return this.enterScope(t ? Ri : 0), this.checkLValPattern(e, t ? Vi : Ee), this.expect(h.parenR), e;
1189
1189
  };
1190
1190
  A.parseTryStatement = function(e) {
1191
1191
  if (this.next(), e.block = this.parseBlock(), e.handler = null, this.type === h._catch) {
@@ -1251,11 +1251,11 @@ A.parseVar = function(e, t, s, a) {
1251
1251
  A.parseVarId = function(e, t) {
1252
1252
  e.id = t === "using" || t === "await using" ? this.parseIdent() : this.parseBindingAtom(), this.checkLValPattern(e.id, t === "var" ? Jt : Ee, !1);
1253
1253
  };
1254
- var Ye = 1, Vt = 2, Fi = 4;
1254
+ var Je = 1, Vt = 2, ji = 4;
1255
1255
  A.parseFunction = function(e, t, s, a, n) {
1256
- this.initFunction(e), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !a) && (this.type === h.star && t & Vt && this.unexpected(), e.generator = this.eat(h.star)), this.options.ecmaVersion >= 8 && (e.async = !!a), t & Ye && (e.id = t & Fi && this.type !== h.name ? null : this.parseIdent(), e.id && !(t & Vt) && this.checkLValSimple(e.id, this.strict || e.generator || e.async ? this.treatFunctionsAsVar ? Jt : Ee : Di));
1256
+ this.initFunction(e), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !a) && (this.type === h.star && t & Vt && this.unexpected(), e.generator = this.eat(h.star)), this.options.ecmaVersion >= 8 && (e.async = !!a), t & Je && (e.id = t & ji && this.type !== h.name ? null : this.parseIdent(), e.id && !(t & Vt) && this.checkLValSimple(e.id, this.strict || e.generator || e.async ? this.treatFunctionsAsVar ? Jt : Ee : Mi));
1257
1257
  var p = this.yieldPos, f = this.awaitPos, x = this.awaitIdentPos;
1258
- return this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Qt(e.async, e.generator)), t & Ye || (e.id = this.type === h.name ? this.parseIdent() : null), this.parseFunctionParams(e), this.parseFunctionBody(e, s, !1, n), this.yieldPos = p, this.awaitPos = f, this.awaitIdentPos = x, this.finishNode(e, t & Ye ? "FunctionDeclaration" : "FunctionExpression");
1258
+ return this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Qt(e.async, e.generator)), t & Je || (e.id = this.type === h.name ? this.parseIdent() : null), this.parseFunctionParams(e), this.parseFunctionBody(e, s, !1, n), this.yieldPos = p, this.awaitPos = f, this.awaitIdentPos = x, this.finishNode(e, t & Je ? "FunctionDeclaration" : "FunctionExpression");
1259
1259
  };
1260
1260
  A.parseFunctionParams = function(e) {
1261
1261
  this.expect(h.parenL), e.params = this.parseBindingList(h.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams();
@@ -1267,7 +1267,7 @@ A.parseClass = function(e, t) {
1267
1267
  var a = this.enterClassBody(), n = this.startNode(), p = !1;
1268
1268
  for (n.body = [], this.expect(h.braceL); this.type !== h.braceR; ) {
1269
1269
  var f = this.parseClassElement(e.superClass !== null);
1270
- f && (n.body.push(f), f.type === "MethodDefinition" && f.kind === "constructor" ? (p && this.raiseRecoverable(f.start, "Duplicate constructor in the same class"), p = !0) : f.key && f.key.type === "PrivateIdentifier" && vr(a, f) && this.raiseRecoverable(f.key.start, "Identifier '#" + f.key.name + "' has already been declared"));
1270
+ f && (n.body.push(f), f.type === "MethodDefinition" && f.kind === "constructor" ? (p && this.raiseRecoverable(f.start, "Duplicate constructor in the same class"), p = !0) : f.key && f.key.type === "PrivateIdentifier" && gr(a, f) && this.raiseRecoverable(f.key.start, "Identifier '#" + f.key.name + "' has already been declared"));
1271
1271
  }
1272
1272
  return this.strict = s, this.next(), e.body = this.finishNode(n, "ClassBody"), this.exitClassBody(), this.finishNode(e, t ? "ClassDeclaration" : "ClassExpression");
1273
1273
  };
@@ -1285,7 +1285,7 @@ A.parseClassElement = function(e) {
1285
1285
  (this.eatContextual("get") || this.eatContextual("set")) && (this.isClassElementNameStart() ? f = v : a = v);
1286
1286
  }
1287
1287
  if (a ? (s.computed = !1, s.key = this.startNodeAt(this.lastTokStart, this.lastTokStartLoc), s.key.name = a, this.finishNode(s.key, "Identifier")) : this.parseClassElementName(s), t < 13 || this.type === h.parenL || f !== "method" || n || p) {
1288
- var o = !s.static && yt(s, "constructor"), T = o && e;
1288
+ var o = !s.static && mt(s, "constructor"), T = o && e;
1289
1289
  o && f !== "method" && this.raise(s.key.start, "Constructor can't have get/set modifier"), s.kind = o ? "constructor" : f, this.parseClassMethod(s, n, p, T);
1290
1290
  } else
1291
1291
  this.parseClassField(s);
@@ -1299,12 +1299,12 @@ A.parseClassElementName = function(e) {
1299
1299
  };
1300
1300
  A.parseClassMethod = function(e, t, s, a) {
1301
1301
  var n = e.key;
1302
- e.kind === "constructor" ? (t && this.raise(n.start, "Constructor can't be a generator"), s && this.raise(n.start, "Constructor can't be an async method")) : e.static && yt(e, "prototype") && this.raise(n.start, "Classes may not have a static property named prototype");
1302
+ e.kind === "constructor" ? (t && this.raise(n.start, "Constructor can't be a generator"), s && this.raise(n.start, "Constructor can't be an async method")) : e.static && mt(e, "prototype") && this.raise(n.start, "Classes may not have a static property named prototype");
1303
1303
  var p = e.value = this.parseMethod(t, s, a);
1304
1304
  return e.kind === "get" && p.params.length !== 0 && this.raiseRecoverable(p.start, "getter should have no params"), e.kind === "set" && p.params.length !== 1 && this.raiseRecoverable(p.start, "setter should have exactly one param"), e.kind === "set" && p.params[0].type === "RestElement" && this.raiseRecoverable(p.params[0].start, "Setter cannot use rest params"), this.finishNode(e, "MethodDefinition");
1305
1305
  };
1306
1306
  A.parseClassField = function(e) {
1307
- return yt(e, "constructor") ? this.raise(e.key.start, "Classes can't have a field named 'constructor'") : e.static && yt(e, "prototype") && this.raise(e.key.start, "Classes can't have a static field named 'prototype'"), this.eat(h.eq) ? (this.enterScope(st | St), e.value = this.parseMaybeAssign(), this.exitScope()) : e.value = null, this.semicolon(), this.finishNode(e, "PropertyDefinition");
1307
+ return mt(e, "constructor") ? this.raise(e.key.start, "Classes can't have a field named 'constructor'") : e.static && mt(e, "prototype") && this.raise(e.key.start, "Classes can't have a static field named 'prototype'"), this.eat(h.eq) ? (this.enterScope(it | St), e.value = this.parseMaybeAssign(), this.exitScope()) : e.value = null, this.semicolon(), this.finishNode(e, "PropertyDefinition");
1308
1308
  };
1309
1309
  A.parseClassStaticBlock = function(e) {
1310
1310
  e.body = [];
@@ -1330,14 +1330,14 @@ A.exitClassBody = function() {
1330
1330
  if (this.options.checkPrivateFields)
1331
1331
  for (var a = this.privateNameStack.length, n = a === 0 ? null : this.privateNameStack[a - 1], p = 0; p < s.length; ++p) {
1332
1332
  var f = s[p];
1333
- Ke(t, f.name) || (n ? n.used.push(f) : this.raiseRecoverable(f.start, "Private field '#" + f.name + "' must be declared in an enclosing class"));
1333
+ $e(t, f.name) || (n ? n.used.push(f) : this.raiseRecoverable(f.start, "Private field '#" + f.name + "' must be declared in an enclosing class"));
1334
1334
  }
1335
1335
  };
1336
- function vr(e, t) {
1336
+ function gr(e, t) {
1337
1337
  var s = t.key.name, a = e[s], n = "true";
1338
1338
  return t.type === "MethodDefinition" && (t.kind === "get" || t.kind === "set") && (n = (t.static ? "s" : "i") + t.kind), a === "iget" && n === "iset" || a === "iset" && n === "iget" || a === "sget" && n === "sset" || a === "sset" && n === "sget" ? (e[s] = "true", !1) : a ? !0 : (e[s] = n, !1);
1339
1339
  }
1340
- function yt(e, t) {
1340
+ function mt(e, t) {
1341
1341
  var s = e.computed, a = e.key;
1342
1342
  return !s && (a.type === "Identifier" && a.name === t || a.type === "Literal" && a.value === t);
1343
1343
  }
@@ -1372,7 +1372,7 @@ A.parseExportDefaultDeclaration = function() {
1372
1372
  var e;
1373
1373
  if (this.type === h._function || (e = this.isAsyncFunction())) {
1374
1374
  var t = this.startNode();
1375
- return this.next(), e && this.next(), this.parseFunction(t, Ye | Fi, !1, e);
1375
+ return this.next(), e && this.next(), this.parseFunction(t, Je | ji, !1, e);
1376
1376
  } else if (this.type === h._class) {
1377
1377
  var s = this.startNode();
1378
1378
  return this.parseClass(s, "nullableID");
@@ -1382,7 +1382,7 @@ A.parseExportDefaultDeclaration = function() {
1382
1382
  }
1383
1383
  };
1384
1384
  A.checkExport = function(e, t, s) {
1385
- e && (typeof t != "string" && (t = t.type === "Identifier" ? t.name : t.value), Ke(e, t) && this.raiseRecoverable(s, "Duplicate export '" + t + "'"), e[t] = !0);
1385
+ e && (typeof t != "string" && (t = t.type === "Identifier" ? t.name : t.value), $e(e, t) && this.raiseRecoverable(s, "Duplicate export '" + t + "'"), e[t] = !0);
1386
1386
  };
1387
1387
  A.checkPatternExport = function(e, t) {
1388
1388
  var s = t.type;
@@ -1430,7 +1430,7 @@ A.parseExportSpecifiers = function(e) {
1430
1430
  return t;
1431
1431
  };
1432
1432
  A.parseImport = function(e) {
1433
- return this.next(), this.type === h.string ? (e.specifiers = xr, e.source = this.parseExprAtom()) : (e.specifiers = this.parseImportSpecifiers(), this.expectContextual("from"), e.source = this.type === h.string ? this.parseExprAtom() : this.unexpected()), this.options.ecmaVersion >= 16 && (e.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(e, "ImportDeclaration");
1433
+ return this.next(), this.type === h.string ? (e.specifiers = vr, e.source = this.parseExprAtom()) : (e.specifiers = this.parseImportSpecifiers(), this.expectContextual("from"), e.source = this.type === h.string ? this.parseExprAtom() : this.unexpected()), this.options.ecmaVersion >= 16 && (e.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(e, "ImportDeclaration");
1434
1434
  };
1435
1435
  A.parseImportSpecifier = function() {
1436
1436
  var e = this.startNode();
@@ -1470,7 +1470,7 @@ A.parseWithClause = function() {
1470
1470
  else if (this.expect(h.comma), this.afterTrailingComma(h.braceR))
1471
1471
  break;
1472
1472
  var a = this.parseImportAttribute(), n = a.key.type === "Identifier" ? a.key.name : a.key.value;
1473
- Ke(t, n) && this.raiseRecoverable(a.key.start, "Duplicate attribute key '" + n + "'"), t[n] = !0, e.push(a);
1473
+ $e(t, n) && this.raiseRecoverable(a.key.start, "Duplicate attribute key '" + n + "'"), t[n] = !0, e.push(a);
1474
1474
  }
1475
1475
  return e;
1476
1476
  };
@@ -1481,7 +1481,7 @@ A.parseImportAttribute = function() {
1481
1481
  A.parseModuleExportName = function() {
1482
1482
  if (this.options.ecmaVersion >= 13 && this.type === h.string) {
1483
1483
  var e = this.parseLiteral(this.value);
1484
- return lr.test(e.value) && this.raise(e.start, "An export name cannot include a lone surrogate."), e;
1484
+ return fr.test(e.value) && this.raise(e.start, "An export name cannot include a lone surrogate."), e;
1485
1485
  }
1486
1486
  return this.parseIdent(!0);
1487
1487
  };
@@ -1599,11 +1599,11 @@ ye.parseMaybeDefault = function(e, t, s) {
1599
1599
  return a.left = s, a.right = this.parseMaybeAssign(), this.finishNode(a, "AssignmentPattern");
1600
1600
  };
1601
1601
  ye.checkLValSimple = function(e, t, s) {
1602
- t === void 0 && (t = mt);
1603
- var a = t !== mt;
1602
+ t === void 0 && (t = dt);
1603
+ var a = t !== dt;
1604
1604
  switch (e.type) {
1605
1605
  case "Identifier":
1606
- this.strict && this.reservedWordsStrictBind.test(e.name) && this.raiseRecoverable(e.start, (a ? "Binding " : "Assigning to ") + e.name + " in strict mode"), a && (t === Ee && e.name === "let" && this.raiseRecoverable(e.start, "let is disallowed as a lexically bound name"), s && (Ke(s, e.name) && this.raiseRecoverable(e.start, "Argument name clash"), s[e.name] = !0), t !== Vi && this.declareName(e.name, t, e.start));
1606
+ this.strict && this.reservedWordsStrictBind.test(e.name) && this.raiseRecoverable(e.start, (a ? "Binding " : "Assigning to ") + e.name + " in strict mode"), a && (t === Ee && e.name === "let" && this.raiseRecoverable(e.start, "let is disallowed as a lexically bound name"), s && ($e(s, e.name) && this.raiseRecoverable(e.start, "Argument name clash"), s[e.name] = !0), t !== Fi && this.declareName(e.name, t, e.start));
1607
1607
  break;
1608
1608
  case "ChainExpression":
1609
1609
  this.raiseRecoverable(e.start, "Optional chaining cannot appear in left-hand side");
@@ -1618,7 +1618,7 @@ ye.checkLValSimple = function(e, t, s) {
1618
1618
  }
1619
1619
  };
1620
1620
  ye.checkLValPattern = function(e, t, s) {
1621
- switch (t === void 0 && (t = mt), e.type) {
1621
+ switch (t === void 0 && (t = dt), e.type) {
1622
1622
  case "ObjectPattern":
1623
1623
  for (var a = 0, n = e.properties; a < n.length; a += 1) {
1624
1624
  var p = n[a];
@@ -1636,7 +1636,7 @@ ye.checkLValPattern = function(e, t, s) {
1636
1636
  }
1637
1637
  };
1638
1638
  ye.checkLValInnerPattern = function(e, t, s) {
1639
- switch (t === void 0 && (t = mt), e.type) {
1639
+ switch (t === void 0 && (t = dt), e.type) {
1640
1640
  case "Property":
1641
1641
  this.checkLValInnerPattern(e.value, t, s);
1642
1642
  break;
@@ -1665,18 +1665,18 @@ var Z = function(t, s, a, n, p) {
1665
1665
  f_expr: new Z("function", !0),
1666
1666
  f_expr_gen: new Z("function", !0, !1, null, !0),
1667
1667
  f_gen: new Z("function", !1, !1, null, !0)
1668
- }, We = K.prototype;
1669
- We.initialContext = function() {
1668
+ }, Ge = K.prototype;
1669
+ Ge.initialContext = function() {
1670
1670
  return [B.b_stat];
1671
1671
  };
1672
- We.curContext = function() {
1672
+ Ge.curContext = function() {
1673
1673
  return this.context[this.context.length - 1];
1674
1674
  };
1675
- We.braceIsBlock = function(e) {
1675
+ Ge.braceIsBlock = function(e) {
1676
1676
  var t = this.curContext();
1677
1677
  return t === B.f_expr || t === B.f_stat ? !0 : e === h.colon && (t === B.b_stat || t === B.b_expr) ? !t.isExpr : e === h._return || e === h.name && this.exprAllowed ? ee.test(this.input.slice(this.lastTokEnd, this.start)) : e === h._else || e === h.semi || e === h.eof || e === h.parenR || e === h.arrow ? !0 : e === h.braceL ? t === B.b_stat : e === h._var || e === h._const || e === h.name ? !1 : !this.exprAllowed;
1678
1678
  };
1679
- We.inGeneratorContext = function() {
1679
+ Ge.inGeneratorContext = function() {
1680
1680
  for (var e = this.context.length - 1; e >= 1; e--) {
1681
1681
  var t = this.context[e];
1682
1682
  if (t.token === "function")
@@ -1684,11 +1684,11 @@ We.inGeneratorContext = function() {
1684
1684
  }
1685
1685
  return !1;
1686
1686
  };
1687
- We.updateContext = function(e) {
1687
+ Ge.updateContext = function(e) {
1688
1688
  var t, s = this.type;
1689
1689
  s.keyword && e === h.dot ? this.exprAllowed = !1 : (t = s.updateContext) ? t.call(this, e) : this.exprAllowed = s.beforeExpr;
1690
1690
  };
1691
- We.overrideContext = function(e) {
1691
+ Ge.overrideContext = function(e) {
1692
1692
  this.curContext() !== e && (this.context[this.context.length - 1] = e);
1693
1693
  };
1694
1694
  h.parenR.updateContext = h.braceR.updateContext = function() {
@@ -1829,7 +1829,7 @@ L.parseMaybeUnary = function(e, t, s, a) {
1829
1829
  f = this.parseAwait(a), t = !0;
1830
1830
  else if (this.type.prefix) {
1831
1831
  var x = this.startNode(), v = this.type === h.incDec;
1832
- x.operator = this.value, x.prefix = !0, this.next(), x.argument = this.parseMaybeUnary(null, !0, v, a), this.checkExpressionErrors(e, !0), v ? this.checkLValSimple(x.argument) : this.strict && x.operator === "delete" && ji(x.argument) ? this.raiseRecoverable(x.start, "Deleting local variable in strict mode") : x.operator === "delete" && Ft(x.argument) ? this.raiseRecoverable(x.start, "Private fields can not be deleted") : t = !0, f = this.finishNode(x, v ? "UpdateExpression" : "UnaryExpression");
1832
+ x.operator = this.value, x.prefix = !0, this.next(), x.argument = this.parseMaybeUnary(null, !0, v, a), this.checkExpressionErrors(e, !0), v ? this.checkLValSimple(x.argument) : this.strict && x.operator === "delete" && Bi(x.argument) ? this.raiseRecoverable(x.start, "Deleting local variable in strict mode") : x.operator === "delete" && Ft(x.argument) ? this.raiseRecoverable(x.start, "Private fields can not be deleted") : t = !0, f = this.finishNode(x, v ? "UpdateExpression" : "UnaryExpression");
1833
1833
  } else if (!t && this.type === h.privateId)
1834
1834
  (a || this.privateNameStack.length === 0) && this.options.checkPrivateFields && this.unexpected(), f = this.parsePrivateIdent(), this.type !== h._in && this.unexpected();
1835
1835
  else {
@@ -1848,8 +1848,8 @@ L.parseMaybeUnary = function(e, t, s, a) {
1848
1848
  else
1849
1849
  return f;
1850
1850
  };
1851
- function ji(e) {
1852
- return e.type === "Identifier" || e.type === "ParenthesizedExpression" && ji(e.expression);
1851
+ function Bi(e) {
1852
+ return e.type === "Identifier" || e.type === "ParenthesizedExpression" && Bi(e.expression);
1853
1853
  }
1854
1854
  function Ft(e) {
1855
1855
  return e.type === "MemberExpression" && e.property.type === "PrivateIdentifier" || e.type === "ChainExpression" && Ft(e.expression) || e.type === "ParenthesizedExpression" && Ft(e.expression);
@@ -2027,7 +2027,7 @@ L.parseParenItem = function(e) {
2027
2027
  L.parseParenArrowList = function(e, t, s, a) {
2028
2028
  return this.parseArrowExpression(this.startNodeAt(e, t), s, !1, a);
2029
2029
  };
2030
- var gr = [];
2030
+ var br = [];
2031
2031
  L.parseNew = function() {
2032
2032
  this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword new");
2033
2033
  var e = this.startNode();
@@ -2038,7 +2038,7 @@ L.parseNew = function() {
2038
2038
  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'"), s && 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");
2039
2039
  }
2040
2040
  var a = this.start, n = this.startLoc;
2041
- return e.callee = this.parseSubscripts(this.parseExprAtom(null, !1, !0), a, n, !0, !1), this.eat(h.parenL) ? e.arguments = this.parseExprList(h.parenR, this.options.ecmaVersion >= 8, !1) : e.arguments = gr, this.finishNode(e, "NewExpression");
2041
+ return e.callee = this.parseSubscripts(this.parseExprAtom(null, !1, !0), a, n, !0, !1), this.eat(h.parenL) ? e.arguments = this.parseExprList(h.parenR, this.options.ecmaVersion >= 8, !1) : e.arguments = br, this.finishNode(e, "NewExpression");
2042
2042
  };
2043
2043
  L.parseTemplateElement = function(e) {
2044
2044
  var t = e.isTagged, s = this.startNode();
@@ -2112,7 +2112,7 @@ L.initFunction = function(e) {
2112
2112
  };
2113
2113
  L.parseMethod = function(e, t, s) {
2114
2114
  var a = this.startNode(), n = this.yieldPos, p = this.awaitPos, f = this.awaitIdentPos;
2115
- return this.initFunction(a), this.options.ecmaVersion >= 6 && (a.generator = e), this.options.ecmaVersion >= 8 && (a.async = !!t), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Qt(t, a.generator) | St | (s ? Ri : 0)), this.expect(h.parenL), a.params = this.parseBindingList(h.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams(), this.parseFunctionBody(a, !1, !0, !1), this.yieldPos = n, this.awaitPos = p, this.awaitIdentPos = f, this.finishNode(a, "FunctionExpression");
2115
+ return this.initFunction(a), this.options.ecmaVersion >= 6 && (a.generator = e), this.options.ecmaVersion >= 8 && (a.async = !!t), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Qt(t, a.generator) | St | (s ? Di : 0)), this.expect(h.parenL), a.params = this.parseBindingList(h.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams(), this.parseFunctionBody(a, !1, !0, !1), this.yieldPos = n, this.awaitPos = p, this.awaitIdentPos = f, this.finishNode(a, "FunctionExpression");
2116
2116
  };
2117
2117
  L.parseArrowExpression = function(e, t, s, a) {
2118
2118
  var n = this.yieldPos, p = this.awaitPos, f = this.awaitIdentPos;
@@ -2126,7 +2126,7 @@ L.parseFunctionBody = function(e, t, s, a) {
2126
2126
  var x = this.options.ecmaVersion >= 7 && !this.isSimpleParamList(e.params);
2127
2127
  (!p || x) && (f = this.strictDirective(this.end), f && x && this.raiseRecoverable(e.start, "Illegal 'use strict' directive in function with non-simple parameter list"));
2128
2128
  var v = this.labels;
2129
- this.labels = [], f && (this.strict = !0), this.checkParams(e, !p && !f && !t && !s && this.isSimpleParamList(e.params)), this.strict && e.id && this.checkLValSimple(e.id, Vi), e.body = this.parseBlock(!1, void 0, f && !p), e.expression = !1, this.adaptDirectivePrologue(e.body.body), this.labels = v;
2129
+ this.labels = [], f && (this.strict = !0), this.checkParams(e, !p && !f && !t && !s && this.isSimpleParamList(e.params)), this.strict && e.id && this.checkLValSimple(e.id, Fi), e.body = this.parseBlock(!1, void 0, f && !p), e.expression = !1, this.adaptDirectivePrologue(e.body.body), this.labels = v;
2130
2130
  }
2131
2131
  this.exitScope();
2132
2132
  };
@@ -2184,49 +2184,49 @@ L.parseAwait = function(e) {
2184
2184
  var t = this.startNode();
2185
2185
  return this.next(), t.argument = this.parseMaybeUnary(null, !0, !1, e), this.finishNode(t, "AwaitExpression");
2186
2186
  };
2187
- var xt = K.prototype;
2188
- xt.raise = function(e, t) {
2187
+ var yt = K.prototype;
2188
+ yt.raise = function(e, t) {
2189
2189
  var s = Wt(this.input, e);
2190
2190
  t += " (" + s.line + ":" + s.column + ")", this.sourceFile && (t += " in " + this.sourceFile);
2191
2191
  var a = new SyntaxError(t);
2192
2192
  throw a.pos = e, a.loc = s, a.raisedAt = this.pos, a;
2193
2193
  };
2194
- xt.raiseRecoverable = xt.raise;
2195
- xt.curPosition = function() {
2194
+ yt.raiseRecoverable = yt.raise;
2195
+ yt.curPosition = function() {
2196
2196
  if (this.options.locations)
2197
2197
  return new qe(this.curLine, this.pos - this.lineStart);
2198
2198
  };
2199
- var De = K.prototype, br = function(t) {
2199
+ var De = K.prototype, Sr = function(t) {
2200
2200
  this.flags = t, this.var = [], this.lexical = [], this.functions = [];
2201
2201
  };
2202
2202
  De.enterScope = function(e) {
2203
- this.scopeStack.push(new br(e));
2203
+ this.scopeStack.push(new Sr(e));
2204
2204
  };
2205
2205
  De.exitScope = function() {
2206
2206
  this.scopeStack.pop();
2207
2207
  };
2208
2208
  De.treatFunctionsAsVarInScope = function(e) {
2209
- return e.flags & Ge || !this.inModule && e.flags & et;
2209
+ return e.flags & Ke || !this.inModule && e.flags & Ze;
2210
2210
  };
2211
2211
  De.declareName = function(e, t, s) {
2212
2212
  var a = !1;
2213
2213
  if (t === Ee) {
2214
2214
  var n = this.currentScope();
2215
- a = n.lexical.indexOf(e) > -1 || n.functions.indexOf(e) > -1 || n.var.indexOf(e) > -1, n.lexical.push(e), this.inModule && n.flags & et && delete this.undefinedExports[e];
2216
- } else if (t === Mi) {
2215
+ a = n.lexical.indexOf(e) > -1 || n.functions.indexOf(e) > -1 || n.var.indexOf(e) > -1, n.lexical.push(e), this.inModule && n.flags & Ze && delete this.undefinedExports[e];
2216
+ } else if (t === Vi) {
2217
2217
  var p = this.currentScope();
2218
2218
  p.lexical.push(e);
2219
- } else if (t === Di) {
2219
+ } else if (t === Mi) {
2220
2220
  var f = this.currentScope();
2221
2221
  this.treatFunctionsAsVar ? a = f.lexical.indexOf(e) > -1 : a = f.lexical.indexOf(e) > -1 || f.var.indexOf(e) > -1, f.functions.push(e);
2222
2222
  } else
2223
2223
  for (var x = this.scopeStack.length - 1; x >= 0; --x) {
2224
2224
  var v = this.scopeStack[x];
2225
- if (v.lexical.indexOf(e) > -1 && !(v.flags & Oi && v.lexical[0] === e) || !this.treatFunctionsAsVarInScope(v) && v.functions.indexOf(e) > -1) {
2225
+ if (v.lexical.indexOf(e) > -1 && !(v.flags & Ri && v.lexical[0] === e) || !this.treatFunctionsAsVarInScope(v) && v.functions.indexOf(e) > -1) {
2226
2226
  a = !0;
2227
2227
  break;
2228
2228
  }
2229
- if (v.var.push(e), this.inModule && v.flags & et && delete this.undefinedExports[e], v.flags & Tt)
2229
+ if (v.var.push(e), this.inModule && v.flags & Ze && delete this.undefinedExports[e], v.flags & Tt)
2230
2230
  break;
2231
2231
  }
2232
2232
  a && this.raiseRecoverable(s, "Identifier '" + e + "' has already been declared");
@@ -2240,93 +2240,93 @@ De.currentScope = function() {
2240
2240
  De.currentVarScope = function() {
2241
2241
  for (var e = this.scopeStack.length - 1; ; e--) {
2242
2242
  var t = this.scopeStack[e];
2243
- if (t.flags & (Tt | st | Fe))
2243
+ if (t.flags & (Tt | it | Fe))
2244
2244
  return t;
2245
2245
  }
2246
2246
  };
2247
2247
  De.currentThisScope = function() {
2248
2248
  for (var e = this.scopeStack.length - 1; ; e--) {
2249
2249
  var t = this.scopeStack[e];
2250
- if (t.flags & (Tt | st | Fe) && !(t.flags & Xt))
2250
+ if (t.flags & (Tt | it | Fe) && !(t.flags & Xt))
2251
2251
  return t;
2252
2252
  }
2253
2253
  };
2254
- var rt = function(t, s, a) {
2255
- this.type = "", this.start = s, this.end = 0, t.options.locations && (this.loc = new it(t, a)), t.options.directSourceFile && (this.sourceFile = t.options.directSourceFile), t.options.ranges && (this.range = [s, 0]);
2256
- }, at = K.prototype;
2257
- at.startNode = function() {
2258
- return new rt(this, this.start, this.startLoc);
2254
+ var st = function(t, s, a) {
2255
+ this.type = "", this.start = s, this.end = 0, t.options.locations && (this.loc = new tt(t, a)), t.options.directSourceFile && (this.sourceFile = t.options.directSourceFile), t.options.ranges && (this.range = [s, 0]);
2256
+ }, rt = K.prototype;
2257
+ rt.startNode = function() {
2258
+ return new st(this, this.start, this.startLoc);
2259
2259
  };
2260
- at.startNodeAt = function(e, t) {
2261
- return new rt(this, e, t);
2260
+ rt.startNodeAt = function(e, t) {
2261
+ return new st(this, e, t);
2262
2262
  };
2263
- function Bi(e, t, s, a) {
2263
+ function Ui(e, t, s, a) {
2264
2264
  return e.type = t, e.end = s, this.options.locations && (e.loc.end = a), this.options.ranges && (e.range[1] = s), e;
2265
2265
  }
2266
- at.finishNode = function(e, t) {
2267
- return Bi.call(this, e, t, this.lastTokEnd, this.lastTokEndLoc);
2266
+ rt.finishNode = function(e, t) {
2267
+ return Ui.call(this, e, t, this.lastTokEnd, this.lastTokEndLoc);
2268
2268
  };
2269
- at.finishNodeAt = function(e, t, s, a) {
2270
- return Bi.call(this, e, t, s, a);
2269
+ rt.finishNodeAt = function(e, t, s, a) {
2270
+ return Ui.call(this, e, t, s, a);
2271
2271
  };
2272
- at.copyNode = function(e) {
2273
- var t = new rt(this, e.start, this.startLoc);
2272
+ rt.copyNode = function(e) {
2273
+ var t = new st(this, e.start, this.startLoc);
2274
2274
  for (var s in e)
2275
2275
  t[s] = e[s];
2276
2276
  return t;
2277
2277
  };
2278
- var Sr = "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", Ui = "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", qi = Ui + " Extended_Pictographic", Hi = qi, $i = Hi + " EBase EComp EMod EPres ExtPict", Ki = $i, Tr = Ki, Pr = {
2279
- 9: Ui,
2280
- 10: qi,
2281
- 11: Hi,
2282
- 12: $i,
2283
- 13: Ki,
2284
- 14: Tr
2285
- }, Cr = "Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji", kr = {
2278
+ var Tr = "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", qi = "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", Hi = qi + " Extended_Pictographic", $i = Hi, Ki = $i + " EBase EComp EMod EPres ExtPict", Gi = Ki, Pr = Gi, Cr = {
2279
+ 9: qi,
2280
+ 10: Hi,
2281
+ 11: $i,
2282
+ 12: Ki,
2283
+ 13: Gi,
2284
+ 14: Pr
2285
+ }, kr = "Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji", Ar = {
2286
2286
  9: "",
2287
2287
  10: "",
2288
2288
  11: "",
2289
2289
  12: "",
2290
2290
  13: "",
2291
- 14: Cr
2292
- }, pi = "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", Gi = "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", Wi = Gi + " Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd", zi = Wi + " Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho", Xi = zi + " Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi", Qi = Xi + " Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith", Ar = Qi + " " + Sr, wr = {
2293
- 9: Gi,
2294
- 10: Wi,
2295
- 11: zi,
2296
- 12: Xi,
2297
- 13: Qi,
2298
- 14: Ar
2299
- }, Ji = {};
2300
- function Er(e) {
2301
- var t = Ji[e] = {
2302
- binary: Le(Pr[e] + " " + pi),
2303
- binaryOfStrings: Le(kr[e]),
2291
+ 14: kr
2292
+ }, li = "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", Wi = "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", zi = Wi + " Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd", Xi = zi + " Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho", Qi = Xi + " Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi", Ji = Qi + " Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith", wr = Ji + " " + Tr, Er = {
2293
+ 9: Wi,
2294
+ 10: zi,
2295
+ 11: Xi,
2296
+ 12: Qi,
2297
+ 13: Ji,
2298
+ 14: wr
2299
+ }, Yi = {};
2300
+ function Ir(e) {
2301
+ var t = Yi[e] = {
2302
+ binary: Le(Cr[e] + " " + li),
2303
+ binaryOfStrings: Le(Ar[e]),
2304
2304
  nonBinary: {
2305
- General_Category: Le(pi),
2306
- Script: Le(wr[e])
2305
+ General_Category: Le(li),
2306
+ Script: Le(Er[e])
2307
2307
  }
2308
2308
  };
2309
2309
  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;
2310
2310
  }
2311
- for (var Ot = 0, li = [9, 10, 11, 12, 13, 14]; Ot < li.length; Ot += 1) {
2312
- var Ir = li[Ot];
2313
- Er(Ir);
2311
+ for (var Ot = 0, fi = [9, 10, 11, 12, 13, 14]; Ot < fi.length; Ot += 1) {
2312
+ var _r = fi[Ot];
2313
+ Ir(_r);
2314
2314
  }
2315
- var C = K.prototype, vt = function(t, s) {
2315
+ var C = K.prototype, xt = function(t, s) {
2316
2316
  this.parent = t, this.base = s || this;
2317
2317
  };
2318
- vt.prototype.separatedFrom = function(t) {
2318
+ xt.prototype.separatedFrom = function(t) {
2319
2319
  for (var s = this; s; s = s.parent)
2320
2320
  for (var a = t; a; a = a.parent)
2321
2321
  if (s.base === a.base && s !== a)
2322
2322
  return !0;
2323
2323
  return !1;
2324
2324
  };
2325
- vt.prototype.sibling = function() {
2326
- return new vt(this.parent, this.base);
2325
+ xt.prototype.sibling = function() {
2326
+ return new xt(this.parent, this.base);
2327
2327
  };
2328
2328
  var Pe = function(t) {
2329
- this.parser = t, this.validFlags = "gim" + (t.options.ecmaVersion >= 6 ? "uy" : "") + (t.options.ecmaVersion >= 9 ? "s" : "") + (t.options.ecmaVersion >= 13 ? "d" : "") + (t.options.ecmaVersion >= 15 ? "v" : ""), this.unicodeProperties = Ji[t.options.ecmaVersion >= 14 ? 14 : t.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 = /* @__PURE__ */ Object.create(null), this.backReferenceNames = [], this.branchID = null;
2329
+ this.parser = t, this.validFlags = "gim" + (t.options.ecmaVersion >= 6 ? "uy" : "") + (t.options.ecmaVersion >= 9 ? "s" : "") + (t.options.ecmaVersion >= 13 ? "d" : "") + (t.options.ecmaVersion >= 15 ? "v" : ""), this.unicodeProperties = Yi[t.options.ecmaVersion >= 14 ? 14 : t.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 = /* @__PURE__ */ Object.create(null), this.backReferenceNames = [], this.branchID = null;
2330
2330
  };
2331
2331
  Pe.prototype.reset = function(t, s, a) {
2332
2332
  var n = a.indexOf("v") !== -1, p = a.indexOf("u") !== -1;
@@ -2383,13 +2383,13 @@ C.validateRegExpFlags = function(e) {
2383
2383
  }
2384
2384
  this.options.ecmaVersion >= 15 && a && n && this.raise(e.start, "Invalid regular expression flag");
2385
2385
  };
2386
- function _r(e) {
2386
+ function Nr(e) {
2387
2387
  for (var t in e)
2388
2388
  return !0;
2389
2389
  return !1;
2390
2390
  }
2391
2391
  C.validateRegExpPattern = function(e) {
2392
- this.regexp_pattern(e), !e.switchN && this.options.ecmaVersion >= 9 && _r(e.groupNames) && (e.switchN = !0, this.regexp_pattern(e));
2392
+ this.regexp_pattern(e), !e.switchN && this.options.ecmaVersion >= 9 && Nr(e.groupNames) && (e.switchN = !0, this.regexp_pattern(e));
2393
2393
  };
2394
2394
  C.regexp_pattern = function(e) {
2395
2395
  e.pos = 0, e.lastIntValue = 0, e.lastStringValue = "", e.lastAssertionIsQuantifiable = !1, e.numCapturingParens = 0, e.maxBackReference = 0, e.groupNames = /* @__PURE__ */ Object.create(null), e.backReferenceNames.length = 0, e.branchID = null, this.regexp_disjunction(e), e.pos !== e.source.length && (e.eat(
@@ -2409,7 +2409,7 @@ C.regexp_pattern = function(e) {
2409
2409
  };
2410
2410
  C.regexp_disjunction = function(e) {
2411
2411
  var t = this.options.ecmaVersion >= 16;
2412
- for (t && (e.branchID = new vt(e.branchID, null)), this.regexp_alternative(e); e.eat(
2412
+ for (t && (e.branchID = new xt(e.branchID, null)), this.regexp_alternative(e); e.eat(
2413
2413
  124
2414
2414
  /* | */
2415
2415
  ); )
@@ -2591,11 +2591,11 @@ C.regexp_eatCapturingGroup = function(e) {
2591
2591
  return !1;
2592
2592
  };
2593
2593
  C.regexp_eatModifiers = function(e) {
2594
- for (var t = "", s = 0; (s = e.current()) !== -1 && Nr(s); )
2594
+ for (var t = "", s = 0; (s = e.current()) !== -1 && Lr(s); )
2595
2595
  t += Ae(s), e.advance();
2596
2596
  return t;
2597
2597
  };
2598
- function Nr(e) {
2598
+ function Lr(e) {
2599
2599
  return e === 105 || e === 109 || e === 115;
2600
2600
  }
2601
2601
  C.regexp_eatExtendedAtom = function(e) {
@@ -2609,13 +2609,13 @@ C.regexp_eatInvalidBracedQuantifier = function(e) {
2609
2609
  };
2610
2610
  C.regexp_eatSyntaxCharacter = function(e) {
2611
2611
  var t = e.current();
2612
- return Yi(t) ? (e.lastIntValue = t, e.advance(), !0) : !1;
2612
+ return Zi(t) ? (e.lastIntValue = t, e.advance(), !0) : !1;
2613
2613
  };
2614
- function Yi(e) {
2614
+ function Zi(e) {
2615
2615
  return e === 36 || e >= 40 && e <= 43 || e === 46 || e === 63 || e >= 91 && e <= 94 || e >= 123 && e <= 125;
2616
2616
  }
2617
2617
  C.regexp_eatPatternCharacters = function(e) {
2618
- for (var t = e.pos, s = 0; (s = e.current()) !== -1 && !Yi(s); )
2618
+ for (var t = e.pos, s = 0; (s = e.current()) !== -1 && !Zi(s); )
2619
2619
  e.advance();
2620
2620
  return e.pos !== t;
2621
2621
  };
@@ -2665,16 +2665,16 @@ C.regexp_eatRegExpIdentifierName = function(e) {
2665
2665
  };
2666
2666
  C.regexp_eatRegExpIdentifierStart = function(e) {
2667
2667
  var t = e.pos, s = this.options.ecmaVersion >= 11, a = e.current(s);
2668
- return e.advance(s), a === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(e, s) && (a = e.lastIntValue), Lr(a) ? (e.lastIntValue = a, !0) : (e.pos = t, !1);
2668
+ return e.advance(s), a === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(e, s) && (a = e.lastIntValue), Or(a) ? (e.lastIntValue = a, !0) : (e.pos = t, !1);
2669
2669
  };
2670
- function Lr(e) {
2670
+ function Or(e) {
2671
2671
  return ve(e, !0) || e === 36 || e === 95;
2672
2672
  }
2673
2673
  C.regexp_eatRegExpIdentifierPart = function(e) {
2674
2674
  var t = e.pos, s = this.options.ecmaVersion >= 11, a = e.current(s);
2675
- return e.advance(s), a === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(e, s) && (a = e.lastIntValue), Or(a) ? (e.lastIntValue = a, !0) : (e.pos = t, !1);
2675
+ return e.advance(s), a === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(e, s) && (a = e.lastIntValue), Rr(a) ? (e.lastIntValue = a, !0) : (e.pos = t, !1);
2676
2676
  };
2677
- function Or(e) {
2677
+ function Rr(e) {
2678
2678
  return ke(e, !0) || e === 36 || e === 95 || e === 8204 || e === 8205;
2679
2679
  }
2680
2680
  C.regexp_eatAtomEscape = function(e) {
@@ -2727,9 +2727,9 @@ C.regexp_eatControlEscape = function(e) {
2727
2727
  };
2728
2728
  C.regexp_eatControlLetter = function(e) {
2729
2729
  var t = e.current();
2730
- return Zi(t) ? (e.lastIntValue = t % 32, e.advance(), !0) : !1;
2730
+ return es(t) ? (e.lastIntValue = t % 32, e.advance(), !0) : !1;
2731
2731
  };
2732
- function Zi(e) {
2732
+ function es(e) {
2733
2733
  return e >= 65 && e <= 90 || e >= 97 && e <= 122;
2734
2734
  }
2735
2735
  C.regexp_eatRegExpUnicodeEscapeSequence = function(e, t) {
@@ -2764,13 +2764,13 @@ C.regexp_eatRegExpUnicodeEscapeSequence = function(e, t) {
2764
2764
  ) && this.regexp_eatHexDigits(e) && e.eat(
2765
2765
  125
2766
2766
  /* } */
2767
- ) && Rr(e.lastIntValue))
2767
+ ) && Dr(e.lastIntValue))
2768
2768
  return !0;
2769
2769
  a && e.raise("Invalid unicode escape"), e.pos = s;
2770
2770
  }
2771
2771
  return !1;
2772
2772
  };
2773
- function Rr(e) {
2773
+ function Dr(e) {
2774
2774
  return e >= 0 && e <= 1114111;
2775
2775
  }
2776
2776
  C.regexp_eatIdentityEscape = function(e) {
@@ -2793,10 +2793,10 @@ C.regexp_eatDecimalEscape = function(e) {
2793
2793
  }
2794
2794
  return !1;
2795
2795
  };
2796
- var es = 0, we = 1, fe = 2;
2796
+ var ts = 0, we = 1, fe = 2;
2797
2797
  C.regexp_eatCharacterClassEscape = function(e) {
2798
2798
  var t = e.current();
2799
- if (Dr(t))
2799
+ if (Mr(t))
2800
2800
  return e.lastIntValue = -1, e.advance(), we;
2801
2801
  var s = !1;
2802
2802
  if (e.switchU && this.options.ecmaVersion >= 9 && ((s = t === 80) || t === 112)) {
@@ -2812,9 +2812,9 @@ C.regexp_eatCharacterClassEscape = function(e) {
2812
2812
  return s && a === fe && e.raise("Invalid property name"), a;
2813
2813
  e.raise("Invalid property name");
2814
2814
  }
2815
- return es;
2815
+ return ts;
2816
2816
  };
2817
- function Dr(e) {
2817
+ function Mr(e) {
2818
2818
  return e === 100 || e === 68 || e === 115 || e === 83 || e === 119 || e === 87;
2819
2819
  }
2820
2820
  C.regexp_eatUnicodePropertyValueExpression = function(e) {
@@ -2833,10 +2833,10 @@ C.regexp_eatUnicodePropertyValueExpression = function(e) {
2833
2833
  var n = e.lastStringValue;
2834
2834
  return this.regexp_validateUnicodePropertyNameOrValue(e, n);
2835
2835
  }
2836
- return es;
2836
+ return ts;
2837
2837
  };
2838
2838
  C.regexp_validateUnicodePropertyNameAndValue = function(e, t, s) {
2839
- Ke(e.unicodeProperties.nonBinary, t) || e.raise("Invalid property name"), e.unicodeProperties.nonBinary[t].test(s) || e.raise("Invalid property value");
2839
+ $e(e.unicodeProperties.nonBinary, t) || e.raise("Invalid property name"), e.unicodeProperties.nonBinary[t].test(s) || e.raise("Invalid property value");
2840
2840
  };
2841
2841
  C.regexp_validateUnicodePropertyNameOrValue = function(e, t) {
2842
2842
  if (e.unicodeProperties.binary.test(t))
@@ -2847,21 +2847,21 @@ C.regexp_validateUnicodePropertyNameOrValue = function(e, t) {
2847
2847
  };
2848
2848
  C.regexp_eatUnicodePropertyName = function(e) {
2849
2849
  var t = 0;
2850
- for (e.lastStringValue = ""; ts(t = e.current()); )
2850
+ for (e.lastStringValue = ""; is(t = e.current()); )
2851
2851
  e.lastStringValue += Ae(t), e.advance();
2852
2852
  return e.lastStringValue !== "";
2853
2853
  };
2854
- function ts(e) {
2855
- return Zi(e) || e === 95;
2854
+ function is(e) {
2855
+ return es(e) || e === 95;
2856
2856
  }
2857
2857
  C.regexp_eatUnicodePropertyValue = function(e) {
2858
2858
  var t = 0;
2859
- for (e.lastStringValue = ""; Mr(t = e.current()); )
2859
+ for (e.lastStringValue = ""; Vr(t = e.current()); )
2860
2860
  e.lastStringValue += Ae(t), e.advance();
2861
2861
  return e.lastStringValue !== "";
2862
2862
  };
2863
- function Mr(e) {
2864
- return ts(e) || Ct(e);
2863
+ function Vr(e) {
2864
+ return is(e) || Ct(e);
2865
2865
  }
2866
2866
  C.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
2867
2867
  return this.regexp_eatUnicodePropertyValue(e);
@@ -2907,7 +2907,7 @@ C.regexp_eatClassAtom = function(e) {
2907
2907
  return !0;
2908
2908
  if (e.switchU) {
2909
2909
  var s = e.current();
2910
- (s === 99 || rs(s)) && e.raise("Invalid class escape"), e.raise("Invalid escape");
2910
+ (s === 99 || as(s)) && e.raise("Invalid class escape"), e.raise("Invalid escape");
2911
2911
  }
2912
2912
  e.pos = t;
2913
2913
  }
@@ -3060,19 +3060,19 @@ C.regexp_eatClassSetCharacter = function(e) {
3060
3060
  /* b */
3061
3061
  ) ? (e.lastIntValue = 8, !0) : (e.pos = t, !1);
3062
3062
  var s = e.current();
3063
- return s < 0 || s === e.lookahead() && Vr(s) || Fr(s) ? !1 : (e.advance(), e.lastIntValue = s, !0);
3063
+ return s < 0 || s === e.lookahead() && Fr(s) || jr(s) ? !1 : (e.advance(), e.lastIntValue = s, !0);
3064
3064
  };
3065
- function Vr(e) {
3065
+ function Fr(e) {
3066
3066
  return e === 33 || e >= 35 && e <= 38 || e >= 42 && e <= 44 || e === 46 || e >= 58 && e <= 64 || e === 94 || e === 96 || e === 126;
3067
3067
  }
3068
- function Fr(e) {
3068
+ function jr(e) {
3069
3069
  return e === 40 || e === 41 || e === 45 || e === 47 || e >= 91 && e <= 93 || e >= 123 && e <= 125;
3070
3070
  }
3071
3071
  C.regexp_eatClassSetReservedPunctuator = function(e) {
3072
3072
  var t = e.current();
3073
- return jr(t) ? (e.lastIntValue = t, e.advance(), !0) : !1;
3073
+ return Br(t) ? (e.lastIntValue = t, e.advance(), !0) : !1;
3074
3074
  };
3075
- function jr(e) {
3075
+ function Br(e) {
3076
3076
  return e === 33 || e === 35 || e === 37 || e === 38 || e === 44 || e === 45 || e >= 58 && e <= 62 || e === 64 || e === 96 || e === 126;
3077
3077
  }
3078
3078
  C.regexp_eatClassControlLetter = function(e) {
@@ -3102,14 +3102,14 @@ function Ct(e) {
3102
3102
  }
3103
3103
  C.regexp_eatHexDigits = function(e) {
3104
3104
  var t = e.pos, s = 0;
3105
- for (e.lastIntValue = 0; is(s = e.current()); )
3106
- e.lastIntValue = 16 * e.lastIntValue + ss(s), e.advance();
3105
+ for (e.lastIntValue = 0; ss(s = e.current()); )
3106
+ e.lastIntValue = 16 * e.lastIntValue + rs(s), e.advance();
3107
3107
  return e.pos !== t;
3108
3108
  };
3109
- function is(e) {
3109
+ function ss(e) {
3110
3110
  return e >= 48 && e <= 57 || e >= 65 && e <= 70 || e >= 97 && e <= 102;
3111
3111
  }
3112
- function ss(e) {
3112
+ function rs(e) {
3113
3113
  return e >= 65 && e <= 70 ? 10 + (e - 65) : e >= 97 && e <= 102 ? 10 + (e - 97) : e - 48;
3114
3114
  }
3115
3115
  C.regexp_eatLegacyOctalEscapeSequence = function(e) {
@@ -3126,9 +3126,9 @@ C.regexp_eatLegacyOctalEscapeSequence = function(e) {
3126
3126
  };
3127
3127
  C.regexp_eatOctalDigit = function(e) {
3128
3128
  var t = e.current();
3129
- return rs(t) ? (e.lastIntValue = t - 48, e.advance(), !0) : (e.lastIntValue = 0, !1);
3129
+ return as(t) ? (e.lastIntValue = t - 48, e.advance(), !0) : (e.lastIntValue = 0, !1);
3130
3130
  };
3131
- function rs(e) {
3131
+ function as(e) {
3132
3132
  return e >= 48 && e <= 55;
3133
3133
  }
3134
3134
  C.regexp_eatFixedHexDigits = function(e, t) {
@@ -3136,14 +3136,14 @@ C.regexp_eatFixedHexDigits = function(e, t) {
3136
3136
  e.lastIntValue = 0;
3137
3137
  for (var a = 0; a < t; ++a) {
3138
3138
  var n = e.current();
3139
- if (!is(n))
3139
+ if (!ss(n))
3140
3140
  return e.pos = s, !1;
3141
- e.lastIntValue = 16 * e.lastIntValue + ss(n), e.advance();
3141
+ e.lastIntValue = 16 * e.lastIntValue + rs(n), e.advance();
3142
3142
  }
3143
3143
  return !0;
3144
3144
  };
3145
3145
  var kt = function(t) {
3146
- this.type = t.type, this.value = t.value, this.start = t.start, this.end = t.end, t.options.locations && (this.loc = new it(t, t.startLoc, t.endLoc)), t.options.ranges && (this.range = [t.start, t.end]);
3146
+ this.type = t.type, this.value = t.value, this.start = t.start, this.end = t.end, t.options.locations && (this.loc = new tt(t, t.startLoc, t.endLoc)), t.options.ranges && (this.range = [t.start, t.end]);
3147
3147
  }, D = K.prototype;
3148
3148
  D.next = function(e) {
3149
3149
  !e && this.type.keyword && this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword " + this.type.keyword), this.options.onToken && this.options.onToken(new kt(this)), this.lastTokEnd = this.end, this.lastTokStart = this.start, this.lastTokEndLoc = this.endLoc, this.lastTokStartLoc = this.startLoc, this.nextToken();
@@ -3184,7 +3184,7 @@ D.fullCharCodeAtPos = function() {
3184
3184
  D.skipBlockComment = function() {
3185
3185
  var e = this.options.onComment && this.curPosition(), t = this.pos, s = this.input.indexOf("*/", this.pos += 2);
3186
3186
  if (s === -1 && this.raise(this.pos - 2, "Unterminated comment"), this.pos = s + 2, this.options.locations)
3187
- for (var a = void 0, n = t; (a = _i(this.input, n, this.pos)) > -1; )
3187
+ for (var a = void 0, n = t; (a = Ni(this.input, n, this.pos)) > -1; )
3188
3188
  ++this.curLine, n = this.lineStart = a;
3189
3189
  this.options.onComment && this.options.onComment(
3190
3190
  !0,
@@ -3450,17 +3450,17 @@ D.readInt = function(e, t, s) {
3450
3450
  }
3451
3451
  return a && x === 95 && this.raiseRecoverable(this.pos - 1, "Numeric separator is not allowed at the last of digits"), this.pos === p || t != null && this.pos - p !== t ? null : f;
3452
3452
  };
3453
- function Br(e, t) {
3453
+ function Ur(e, t) {
3454
3454
  return t ? parseInt(e, 8) : parseFloat(e.replace(/_/g, ""));
3455
3455
  }
3456
- function as(e) {
3456
+ function ns(e) {
3457
3457
  return typeof BigInt != "function" ? null : BigInt(e.replace(/_/g, ""));
3458
3458
  }
3459
3459
  D.readRadixNumber = function(e) {
3460
3460
  var t = this.pos;
3461
3461
  this.pos += 2;
3462
3462
  var s = this.readInt(e);
3463
- return s == null && this.raise(this.start + 2, "Expected number in radix " + e), this.options.ecmaVersion >= 11 && this.input.charCodeAt(this.pos) === 110 ? (s = as(this.input.slice(t, this.pos)), ++this.pos) : ve(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(h.num, s);
3463
+ return s == null && this.raise(this.start + 2, "Expected number in radix " + e), this.options.ecmaVersion >= 11 && this.input.charCodeAt(this.pos) === 110 ? (s = ns(this.input.slice(t, this.pos)), ++this.pos) : ve(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(h.num, s);
3464
3464
  };
3465
3465
  D.readNumber = function(e) {
3466
3466
  var t = this.pos;
@@ -3469,11 +3469,11 @@ D.readNumber = function(e) {
3469
3469
  s && this.strict && this.raise(t, "Invalid number");
3470
3470
  var a = this.input.charCodeAt(this.pos);
3471
3471
  if (!s && !e && this.options.ecmaVersion >= 11 && a === 110) {
3472
- var n = as(this.input.slice(t, this.pos));
3472
+ var n = ns(this.input.slice(t, this.pos));
3473
3473
  return ++this.pos, ve(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(h.num, n);
3474
3474
  }
3475
3475
  s && /[89]/.test(this.input.slice(t, this.pos)) && (s = !1), a === 46 && !s && (++this.pos, this.readInt(10), a = this.input.charCodeAt(this.pos)), (a === 69 || a === 101) && !s && (a = this.input.charCodeAt(++this.pos), (a === 43 || a === 45) && ++this.pos, this.readInt(10) === null && this.raise(t, "Invalid number")), ve(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number");
3476
- var p = Br(this.input.slice(t, this.pos), s);
3476
+ var p = Ur(this.input.slice(t, this.pos), s);
3477
3477
  return this.finishToken(h.num, p);
3478
3478
  };
3479
3479
  D.readCodePoint = function() {
@@ -3496,13 +3496,13 @@ D.readString = function(e) {
3496
3496
  }
3497
3497
  return t += this.input.slice(s, this.pos++), this.finishToken(h.string, t);
3498
3498
  };
3499
- var ns = {};
3499
+ var os = {};
3500
3500
  D.tryReadTemplateToken = function() {
3501
3501
  this.inTemplateElement = !0;
3502
3502
  try {
3503
3503
  this.readTmplToken();
3504
3504
  } catch (e) {
3505
- if (e === ns)
3505
+ if (e === os)
3506
3506
  this.readInvalidTemplateToken();
3507
3507
  else
3508
3508
  throw e;
@@ -3511,7 +3511,7 @@ D.tryReadTemplateToken = function() {
3511
3511
  };
3512
3512
  D.invalidStringToken = function(e, t) {
3513
3513
  if (this.inTemplateElement && this.options.ecmaVersion >= 9)
3514
- throw ns;
3514
+ throw os;
3515
3515
  this.raise(e, t);
3516
3516
  };
3517
3517
  D.readTmplToken = function() {
@@ -3646,15 +3646,15 @@ D.readWord = function() {
3646
3646
  var e = this.readWord1(), t = h.name;
3647
3647
  return this.keywords.test(e) && (t = Ue[e]), this.finishToken(t, e);
3648
3648
  };
3649
- var os = "8.15.0";
3649
+ var us = "8.15.0";
3650
3650
  K.acorn = {
3651
3651
  Parser: K,
3652
- version: os,
3653
- defaultOptions: dt,
3652
+ version: us,
3653
+ defaultOptions: ft,
3654
3654
  Position: qe,
3655
- SourceLocation: it,
3655
+ SourceLocation: tt,
3656
3656
  getLineInfo: Wt,
3657
- Node: rt,
3657
+ Node: st,
3658
3658
  TokenType: R,
3659
3659
  tokTypes: h,
3660
3660
  keywordTypes: Ue,
@@ -3665,44 +3665,44 @@ K.acorn = {
3665
3665
  Token: kt,
3666
3666
  isNewLine: Ve,
3667
3667
  lineBreak: ee,
3668
- lineBreakG: Ii,
3668
+ lineBreakG: _i,
3669
3669
  nonASCIIwhitespace: Gt
3670
3670
  };
3671
- function Ur(e, t) {
3671
+ function qr(e, t) {
3672
3672
  return K.parse(e, t);
3673
3673
  }
3674
- function qr(e, t, s) {
3674
+ function Hr(e, t, s) {
3675
3675
  return K.parseExpressionAt(e, t, s);
3676
3676
  }
3677
- function Hr(e, t) {
3677
+ function $r(e, t) {
3678
3678
  return K.tokenizer(e, t);
3679
3679
  }
3680
- const $r = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3680
+ const Kr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3681
3681
  __proto__: null,
3682
- Node: rt,
3682
+ Node: st,
3683
3683
  Parser: K,
3684
3684
  Position: qe,
3685
- SourceLocation: it,
3685
+ SourceLocation: tt,
3686
3686
  TokContext: Z,
3687
3687
  Token: kt,
3688
3688
  TokenType: R,
3689
- defaultOptions: dt,
3689
+ defaultOptions: ft,
3690
3690
  getLineInfo: Wt,
3691
3691
  isIdentifierChar: ke,
3692
3692
  isIdentifierStart: ve,
3693
3693
  isNewLine: Ve,
3694
3694
  keywordTypes: Ue,
3695
3695
  lineBreak: ee,
3696
- lineBreakG: Ii,
3696
+ lineBreakG: _i,
3697
3697
  nonASCIIwhitespace: Gt,
3698
- parse: Ur,
3699
- parseExpressionAt: qr,
3698
+ parse: qr,
3699
+ parseExpressionAt: Hr,
3700
3700
  tokContexts: B,
3701
3701
  tokTypes: h,
3702
- tokenizer: Hr,
3703
- version: os
3702
+ tokenizer: $r,
3703
+ version: us
3704
3704
  }, Symbol.toStringTag, { value: "Module" }));
3705
- function fi(e, t) {
3705
+ function di(e, t) {
3706
3706
  for (var s = 0; s < t.length; s++) {
3707
3707
  var a = t[s];
3708
3708
  a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e, typeof (n = (function(p, f) {
@@ -3718,16 +3718,16 @@ function fi(e, t) {
3718
3718
  }
3719
3719
  var n;
3720
3720
  }
3721
- function gt() {
3722
- return gt = Object.assign ? Object.assign.bind() : function(e) {
3721
+ function vt() {
3722
+ return vt = Object.assign ? Object.assign.bind() : function(e) {
3723
3723
  for (var t = 1; t < arguments.length; t++) {
3724
3724
  var s = arguments[t];
3725
3725
  for (var a in s) Object.prototype.hasOwnProperty.call(s, a) && (e[a] = s[a]);
3726
3726
  }
3727
3727
  return e;
3728
- }, gt.apply(this, arguments);
3728
+ }, vt.apply(this, arguments);
3729
3729
  }
3730
- function ht(e, t) {
3730
+ function ut(e, t) {
3731
3731
  e.prototype = Object.create(t.prototype), e.prototype.constructor = e, jt(e, t);
3732
3732
  }
3733
3733
  function jt(e, t) {
@@ -3735,19 +3735,19 @@ function jt(e, t) {
3735
3735
  return s.__proto__ = a, s;
3736
3736
  }, jt(e, t);
3737
3737
  }
3738
- function di(e, t) {
3738
+ function mi(e, t) {
3739
3739
  (t == null || t > e.length) && (t = e.length);
3740
3740
  for (var s = 0, a = new Array(t); s < t; s++) a[s] = e[s];
3741
3741
  return a;
3742
3742
  }
3743
- function mi(e, t) {
3743
+ function yi(e, t) {
3744
3744
  var s = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
3745
3745
  if (s) return (s = s.call(e)).next.bind(s);
3746
3746
  if (Array.isArray(e) || (s = (function(n, p) {
3747
3747
  if (n) {
3748
- if (typeof n == "string") return di(n, p);
3748
+ if (typeof n == "string") return mi(n, p);
3749
3749
  var f = Object.prototype.toString.call(n).slice(8, -1);
3750
- return f === "Object" && n.constructor && (f = n.constructor.name), f === "Map" || f === "Set" ? Array.from(n) : f === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f) ? di(n, p) : void 0;
3750
+ return f === "Object" && n.constructor && (f = n.constructor.name), f === "Map" || f === "Set" ? Array.from(n) : f === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f) ? mi(n, p) : void 0;
3751
3751
  }
3752
3752
  })(e)) || t) {
3753
3753
  s && (e = s);
@@ -3763,9 +3763,9 @@ var oe = !0;
3763
3763
  function ue(e, t) {
3764
3764
  return t === void 0 && (t = {}), new R("name", t);
3765
3765
  }
3766
- var Kr = /* @__PURE__ */ new WeakMap();
3767
- function Gr(e) {
3768
- var t = Kr.get(e.Parser.acorn || e);
3766
+ var Gr = /* @__PURE__ */ new WeakMap();
3767
+ function Wr(e) {
3768
+ var t = Gr.get(e.Parser.acorn || e);
3769
3769
  if (!t) {
3770
3770
  var s = { assert: ue(0, { startsExpr: oe }), asserts: ue(0, { startsExpr: oe }), global: ue(0, { startsExpr: oe }), keyof: ue(0, { startsExpr: oe }), readonly: ue(0, { startsExpr: oe }), unique: ue(0, { startsExpr: oe }), abstract: ue(0, { startsExpr: oe }), declare: ue(0, { startsExpr: oe }), enum: ue(0, { startsExpr: oe }), module: ue(0, { startsExpr: oe }), namespace: ue(0, { startsExpr: oe }), interface: ue(0, { startsExpr: oe }), type: ue(0, { startsExpr: oe }) }, a = { at: new R("@"), jsxName: new R("jsxName"), jsxText: new R("jsxText", { beforeExpr: !0 }), jsxTagStart: new R("jsxTagStart", { startsExpr: !0 }), jsxTagEnd: new R("jsxTagEnd") }, n = { tc_oTag: new Z("<tag", !1, !1), tc_cTag: new Z("</tag", !1, !1), tc_expr: new Z("<tag>...</tag>", !0, !0) }, p = new RegExp("^(?:" + Object.keys(s).join("|") + ")$");
3771
3771
  a.jsxTagStart.updateContext = function() {
@@ -3773,7 +3773,7 @@ function Gr(e) {
3773
3773
  }, a.jsxTagEnd.updateContext = function(f) {
3774
3774
  var x = this.context.pop();
3775
3775
  x === n.tc_oTag && f === h.slash || x === n.tc_cTag ? (this.context.pop(), this.exprAllowed = this.curContext() === n.tc_expr) : this.exprAllowed = !0;
3776
- }, t = { tokTypes: gt({}, s, a), tokContexts: gt({}, n), keywordsRegExp: p, tokenIsLiteralPropertyName: function(f) {
3776
+ }, t = { tokTypes: vt({}, s, a), tokContexts: vt({}, n), keywordsRegExp: p, tokenIsLiteralPropertyName: function(f) {
3777
3777
  return [h.name, h.string, h.num].concat(Object.values(Ue), Object.values(s)).includes(f);
3778
3778
  }, tokenIsKeywordOrIdentifier: function(f) {
3779
3779
  return [h.name].concat(Object.values(Ue), Object.values(s)).includes(f);
@@ -3789,14 +3789,14 @@ function Gr(e) {
3789
3789
  }
3790
3790
  return t;
3791
3791
  }
3792
- var Qe = 1024, Wr = new RegExp("(?:[^\\S\\n\\r\\u2028\\u2029]|\\/\\/.*|\\/\\*.*?\\*\\/)*", "y"), yi = new RegExp("(?=(" + Wr.source + "))\\1" + /(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source, "y"), Je = function() {
3792
+ var Xe = 1024, zr = new RegExp("(?:[^\\S\\n\\r\\u2028\\u2029]|\\/\\/.*|\\/\\*.*?\\*\\/)*", "y"), xi = new RegExp("(?=(" + zr.source + "))\\1" + /(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source, "y"), Qe = function() {
3793
3793
  this.shorthandAssign = void 0, this.trailingComma = void 0, this.parenthesizedAssign = void 0, this.parenthesizedBind = void 0, this.doubleProto = void 0, this.shorthandAssign = this.trailingComma = this.parenthesizedAssign = this.parenthesizedBind = this.doubleProto = -1;
3794
3794
  };
3795
- function zr(e, t) {
3795
+ function Xr(e, t) {
3796
3796
  var s = t.key.name, a = e[s], n = "true";
3797
3797
  return t.type !== "MethodDefinition" || t.kind !== "get" && t.kind !== "set" || (n = (t.static ? "s" : "i") + t.kind), a === "iget" && n === "iset" || a === "iset" && n === "iget" || a === "sget" && n === "sset" || a === "sset" && n === "sget" ? (e[s] = "true", !1) : !!a || (e[s] = n, !1);
3798
3798
  }
3799
- function xi(e, t) {
3799
+ function vi(e, t) {
3800
3800
  var s = e.key;
3801
3801
  return !e.computed && (s.type === "Identifier" && s.name === t || s.type === "Literal" && s.value === t);
3802
3802
  }
@@ -3837,39 +3837,39 @@ var w = { AbstractMethodHasImplementation: function(e) {
3837
3837
  return "Single type parameter " + t + " should have a trailing comma. Example usage: <" + t + ",>.";
3838
3838
  }, StaticBlockCannotHaveModifier: "Static class blocks cannot have any modifier.", TypeAnnotationAfterAssign: "Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.", TypeImportCannotSpecifyDefaultAndNamed: "A type-only import can specify a default import or named bindings, but not both.", TypeModifierIsUsedInTypeExports: "The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.", TypeModifierIsUsedInTypeImports: "The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.", UnexpectedParameterModifier: "A parameter property is only allowed in a constructor implementation.", UnexpectedReadonly: "'readonly' type modifier is only permitted on array and tuple literal types.", GenericsEndWithComma: "Trailing comma is not allowed at the end of generics.", UnexpectedTypeAnnotation: "Did not expect a type annotation here.", UnexpectedTypeCastInParameter: "Unexpected type cast in parameter position.", UnsupportedImportTypeArgument: "Argument in a type import must be a string literal.", UnsupportedParameterPropertyKind: "A parameter property may not be declared using a binding pattern.", UnsupportedSignatureParameterKind: function(e) {
3839
3839
  return "Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got " + e.type + ".";
3840
- }, LetInLexicalBinding: "'let' is not allowed to be used as a name in 'let' or 'const' declarations." }, Xr = { quot: '"', amp: "&", apos: "'", lt: "<", gt: ">", nbsp: " ", iexcl: "¡", cent: "¢", pound: "£", curren: "¤", yen: "¥", brvbar: "¦", sect: "§", uml: "¨", copy: "©", ordf: "ª", laquo: "«", not: "¬", shy: "­", reg: "®", macr: "¯", deg: "°", plusmn: "±", sup2: "²", sup3: "³", acute: "´", micro: "µ", para: "¶", middot: "·", cedil: "¸", sup1: "¹", ordm: "º", raquo: "»", frac14: "¼", frac12: "½", frac34: "¾", iquest: "¿", Agrave: "À", Aacute: "Á", Acirc: "Â", Atilde: "Ã", Auml: "Ä", Aring: "Å", AElig: "Æ", Ccedil: "Ç", Egrave: "È", Eacute: "É", Ecirc: "Ê", Euml: "Ë", Igrave: "Ì", Iacute: "Í", Icirc: "Î", Iuml: "Ï", ETH: "Ð", Ntilde: "Ñ", Ograve: "Ò", Oacute: "Ó", Ocirc: "Ô", Otilde: "Õ", Ouml: "Ö", times: "×", Oslash: "Ø", Ugrave: "Ù", Uacute: "Ú", Ucirc: "Û", Uuml: "Ü", Yacute: "Ý", THORN: "Þ", szlig: "ß", agrave: "à", aacute: "á", acirc: "â", atilde: "ã", auml: "ä", aring: "å", aelig: "æ", ccedil: "ç", egrave: "è", eacute: "é", ecirc: "ê", euml: "ë", igrave: "ì", iacute: "í", icirc: "î", iuml: "ï", eth: "ð", ntilde: "ñ", ograve: "ò", oacute: "ó", ocirc: "ô", otilde: "õ", ouml: "ö", divide: "÷", oslash: "ø", ugrave: "ù", uacute: "ú", ucirc: "û", uuml: "ü", yacute: "ý", thorn: "þ", yuml: "ÿ", OElig: "Œ", oelig: "œ", Scaron: "Š", scaron: "š", Yuml: "Ÿ", fnof: "ƒ", circ: "ˆ", tilde: "˜", Alpha: "Α", Beta: "Β", Gamma: "Γ", Delta: "Δ", Epsilon: "Ε", Zeta: "Ζ", Eta: "Η", Theta: "Θ", Iota: "Ι", Kappa: "Κ", Lambda: "Λ", Mu: "Μ", Nu: "Ν", Xi: "Ξ", Omicron: "Ο", Pi: "Π", Rho: "Ρ", Sigma: "Σ", Tau: "Τ", Upsilon: "Υ", Phi: "Φ", Chi: "Χ", Psi: "Ψ", Omega: "Ω", alpha: "α", beta: "β", gamma: "γ", delta: "δ", epsilon: "ε", zeta: "ζ", eta: "η", theta: "θ", iota: "ι", kappa: "κ", lambda: "λ", mu: "μ", nu: "ν", xi: "ξ", omicron: "ο", pi: "π", rho: "ρ", sigmaf: "ς", sigma: "σ", tau: "τ", upsilon: "υ", phi: "φ", chi: "χ", psi: "ψ", omega: "ω", thetasym: "ϑ", upsih: "ϒ", piv: "ϖ", ensp: " ", emsp: " ", thinsp: " ", zwnj: "‌", zwj: "‍", lrm: "‎", rlm: "‏", ndash: "–", mdash: "—", lsquo: "‘", rsquo: "’", sbquo: "‚", ldquo: "“", rdquo: "”", bdquo: "„", dagger: "†", Dagger: "‡", bull: "•", hellip: "…", permil: "‰", prime: "′", Prime: "″", lsaquo: "‹", rsaquo: "›", oline: "‾", frasl: "⁄", euro: "€", image: "ℑ", weierp: "℘", real: "ℜ", trade: "™", alefsym: "ℵ", larr: "←", uarr: "↑", rarr: "→", darr: "↓", harr: "↔", crarr: "↵", lArr: "⇐", uArr: "⇑", rArr: "⇒", dArr: "⇓", hArr: "⇔", forall: "∀", part: "∂", exist: "∃", empty: "∅", nabla: "∇", isin: "∈", notin: "∉", ni: "∋", prod: "∏", sum: "∑", minus: "−", lowast: "∗", radic: "√", prop: "∝", infin: "∞", ang: "∠", and: "∧", or: "∨", cap: "∩", cup: "∪", int: "∫", there4: "∴", sim: "∼", cong: "≅", asymp: "≈", ne: "≠", equiv: "≡", le: "≤", ge: "≥", sub: "⊂", sup: "⊃", nsub: "⊄", sube: "⊆", supe: "⊇", oplus: "⊕", otimes: "⊗", perp: "⊥", sdot: "⋅", lceil: "⌈", rceil: "⌉", lfloor: "⌊", rfloor: "⌋", lang: "〈", rang: "〉", loz: "◊", spades: "♠", clubs: "♣", hearts: "♥", diams: "♦" }, Qr = /^[\da-fA-F]+$/, Jr = /^\d+$/;
3841
- function Ze(e) {
3842
- return e && (e.type === "JSXIdentifier" ? e.name : e.type === "JSXNamespacedName" ? e.namespace.name + ":" + e.name.name : e.type === "JSXMemberExpression" ? Ze(e.object) + "." + Ze(e.property) : void 0);
3840
+ }, LetInLexicalBinding: "'let' is not allowed to be used as a name in 'let' or 'const' declarations." }, Qr = { quot: '"', amp: "&", apos: "'", lt: "<", gt: ">", nbsp: " ", iexcl: "¡", cent: "¢", pound: "£", curren: "¤", yen: "¥", brvbar: "¦", sect: "§", uml: "¨", copy: "©", ordf: "ª", laquo: "«", not: "¬", shy: "­", reg: "®", macr: "¯", deg: "°", plusmn: "±", sup2: "²", sup3: "³", acute: "´", micro: "µ", para: "¶", middot: "·", cedil: "¸", sup1: "¹", ordm: "º", raquo: "»", frac14: "¼", frac12: "½", frac34: "¾", iquest: "¿", Agrave: "À", Aacute: "Á", Acirc: "Â", Atilde: "Ã", Auml: "Ä", Aring: "Å", AElig: "Æ", Ccedil: "Ç", Egrave: "È", Eacute: "É", Ecirc: "Ê", Euml: "Ë", Igrave: "Ì", Iacute: "Í", Icirc: "Î", Iuml: "Ï", ETH: "Ð", Ntilde: "Ñ", Ograve: "Ò", Oacute: "Ó", Ocirc: "Ô", Otilde: "Õ", Ouml: "Ö", times: "×", Oslash: "Ø", Ugrave: "Ù", Uacute: "Ú", Ucirc: "Û", Uuml: "Ü", Yacute: "Ý", THORN: "Þ", szlig: "ß", agrave: "à", aacute: "á", acirc: "â", atilde: "ã", auml: "ä", aring: "å", aelig: "æ", ccedil: "ç", egrave: "è", eacute: "é", ecirc: "ê", euml: "ë", igrave: "ì", iacute: "í", icirc: "î", iuml: "ï", eth: "ð", ntilde: "ñ", ograve: "ò", oacute: "ó", ocirc: "ô", otilde: "õ", ouml: "ö", divide: "÷", oslash: "ø", ugrave: "ù", uacute: "ú", ucirc: "û", uuml: "ü", yacute: "ý", thorn: "þ", yuml: "ÿ", OElig: "Œ", oelig: "œ", Scaron: "Š", scaron: "š", Yuml: "Ÿ", fnof: "ƒ", circ: "ˆ", tilde: "˜", Alpha: "Α", Beta: "Β", Gamma: "Γ", Delta: "Δ", Epsilon: "Ε", Zeta: "Ζ", Eta: "Η", Theta: "Θ", Iota: "Ι", Kappa: "Κ", Lambda: "Λ", Mu: "Μ", Nu: "Ν", Xi: "Ξ", Omicron: "Ο", Pi: "Π", Rho: "Ρ", Sigma: "Σ", Tau: "Τ", Upsilon: "Υ", Phi: "Φ", Chi: "Χ", Psi: "Ψ", Omega: "Ω", alpha: "α", beta: "β", gamma: "γ", delta: "δ", epsilon: "ε", zeta: "ζ", eta: "η", theta: "θ", iota: "ι", kappa: "κ", lambda: "λ", mu: "μ", nu: "ν", xi: "ξ", omicron: "ο", pi: "π", rho: "ρ", sigmaf: "ς", sigma: "σ", tau: "τ", upsilon: "υ", phi: "φ", chi: "χ", psi: "ψ", omega: "ω", thetasym: "ϑ", upsih: "ϒ", piv: "ϖ", ensp: " ", emsp: " ", thinsp: " ", zwnj: "‌", zwj: "‍", lrm: "‎", rlm: "‏", ndash: "–", mdash: "—", lsquo: "‘", rsquo: "’", sbquo: "‚", ldquo: "“", rdquo: "”", bdquo: "„", dagger: "†", Dagger: "‡", bull: "•", hellip: "…", permil: "‰", prime: "′", Prime: "″", lsaquo: "‹", rsaquo: "›", oline: "‾", frasl: "⁄", euro: "€", image: "ℑ", weierp: "℘", real: "ℜ", trade: "™", alefsym: "ℵ", larr: "←", uarr: "↑", rarr: "→", darr: "↓", harr: "↔", crarr: "↵", lArr: "⇐", uArr: "⇑", rArr: "⇒", dArr: "⇓", hArr: "⇔", forall: "∀", part: "∂", exist: "∃", empty: "∅", nabla: "∇", isin: "∈", notin: "∉", ni: "∋", prod: "∏", sum: "∑", minus: "−", lowast: "∗", radic: "√", prop: "∝", infin: "∞", ang: "∠", and: "∧", or: "∨", cap: "∩", cup: "∪", int: "∫", there4: "∴", sim: "∼", cong: "≅", asymp: "≈", ne: "≠", equiv: "≡", le: "≤", ge: "≥", sub: "⊂", sup: "⊃", nsub: "⊄", sube: "⊆", supe: "⊇", oplus: "⊕", otimes: "⊗", perp: "⊥", sdot: "⋅", lceil: "⌈", rceil: "⌉", lfloor: "⌊", rfloor: "⌋", lang: "〈", rang: "〉", loz: "◊", spades: "♠", clubs: "♣", hearts: "♥", diams: "♦" }, Jr = /^[\da-fA-F]+$/, Yr = /^\d+$/;
3841
+ function Ye(e) {
3842
+ return e && (e.type === "JSXIdentifier" ? e.name : e.type === "JSXNamespacedName" ? e.namespace.name + ":" + e.name.name : e.type === "JSXMemberExpression" ? Ye(e.object) + "." + Ye(e.property) : void 0);
3843
3843
  }
3844
3844
  var Rt = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;
3845
- function vi(e) {
3845
+ function gi(e) {
3846
3846
  if (!e) throw new Error("Assert fail");
3847
3847
  }
3848
- function Yr(e) {
3848
+ function Zr(e) {
3849
3849
  return e === "accessor";
3850
3850
  }
3851
- function Zr(e) {
3851
+ function ea(e) {
3852
3852
  return e === "in" || e === "out";
3853
3853
  }
3854
3854
  function Dt(e, t) {
3855
3855
  return 2 | (e ? 4 : 0) | (t ? 8 : 0);
3856
3856
  }
3857
- function ea(e) {
3857
+ function ta(e) {
3858
3858
  if (e.type !== "MemberExpression") return !1;
3859
3859
  var t = e.property;
3860
- return (!e.computed || !(t.type !== "TemplateLiteral" || t.expressions.length > 0)) && us(e.object);
3860
+ return (!e.computed || !(t.type !== "TemplateLiteral" || t.expressions.length > 0)) && hs(e.object);
3861
3861
  }
3862
- function us(e) {
3863
- return e.type === "Identifier" || e.type === "MemberExpression" && !e.computed && us(e.object);
3862
+ function hs(e) {
3863
+ return e.type === "Identifier" || e.type === "MemberExpression" && !e.computed && hs(e.object);
3864
3864
  }
3865
- function gi(e) {
3865
+ function bi(e) {
3866
3866
  return e === "private" || e === "public" || e === "protected";
3867
3867
  }
3868
- function ta(e) {
3868
+ function ia(e) {
3869
3869
  var t = {}, s = t.dts, a = s !== void 0 && s, n = t.allowSatisfies, p = n !== void 0 && n;
3870
3870
  return function(f) {
3871
- var x = f.acorn || $r, v = Gr(x), o = x.tokTypes, T = x.keywordTypes, _ = x.isIdentifierStart, U = x.lineBreak, ce = x.isNewLine, xe = x.tokContexts, je = x.isIdentifierChar, N = v.tokTypes, ie = v.tokContexts, At = v.keywordsRegExp, ps = v.tokenIsLiteralPropertyName, ls = v.tokenIsTemplate, fs = v.tokenIsTSDeclarationStart, j = v.tokenIsIdentifier, nt = v.tokenIsKeywordOrIdentifier, ds = v.tokenIsTSTypeOperator;
3872
- function ms(P, se, Y) {
3871
+ var x = f.acorn || Kr, v = Wr(x), o = x.tokTypes, T = x.keywordTypes, _ = x.isIdentifierStart, U = x.lineBreak, ce = x.isNewLine, xe = x.tokContexts, je = x.isIdentifierChar, N = v.tokTypes, ie = v.tokContexts, At = v.keywordsRegExp, ls = v.tokenIsLiteralPropertyName, fs = v.tokenIsTemplate, ds = v.tokenIsTSDeclarationStart, j = v.tokenIsIdentifier, at = v.tokenIsKeywordOrIdentifier, ms = v.tokenIsTSTypeOperator;
3872
+ function ys(P, se, Y) {
3873
3873
  Y === void 0 && (Y = P.length);
3874
3874
  for (var G = se; G < Y; G++) {
3875
3875
  var V = P.charCodeAt(G);
@@ -3883,7 +3883,7 @@ function ta(e) {
3883
3883
  function i() {
3884
3884
  return l.apply(this, arguments) || this;
3885
3885
  }
3886
- ht(i, l);
3886
+ ut(i, l);
3887
3887
  var r = i.prototype;
3888
3888
  return r.takeDecorators = function(u) {
3889
3889
  var c = this.decoratorStack[this.decoratorStack.length - 1];
@@ -3923,7 +3923,7 @@ function ta(e) {
3923
3923
  function d() {
3924
3924
  return c.apply(this, arguments) || this;
3925
3925
  }
3926
- ht(d, c);
3926
+ ut(d, c);
3927
3927
  var m = d.prototype;
3928
3928
  return m.jsx_readToken = function() {
3929
3929
  for (var y = "", g = this.pos; ; ) {
@@ -3961,7 +3961,7 @@ function ta(e) {
3961
3961
  S !== "&" && this.raise(this.pos, "Entity must start with an ampersand");
3962
3962
  for (var E = ++this.pos; this.pos < this.input.length && b++ < 10; ) {
3963
3963
  if ((S = this.input[this.pos++]) === ";") {
3964
- g[0] === "#" ? g[1] === "x" ? (g = g.substr(2), Qr.test(g) && (y = String.fromCharCode(parseInt(g, 16)))) : (g = g.substr(1), Jr.test(g) && (y = String.fromCharCode(parseInt(g, 10)))) : y = Xr[g];
3964
+ g[0] === "#" ? g[1] === "x" ? (g = g.substr(2), Jr.test(g) && (y = String.fromCharCode(parseInt(g, 16)))) : (g = g.substr(1), Yr.test(g) && (y = String.fromCharCode(parseInt(g, 10)))) : y = Qr[g];
3965
3965
  break;
3966
3966
  }
3967
3967
  g += S;
@@ -4038,7 +4038,7 @@ function ta(e) {
4038
4038
  default:
4039
4039
  this.unexpected();
4040
4040
  }
4041
- Ze(O.name) !== Ze(E.name) && this.raise(O.start, "Expected corresponding JSX closing tag for <" + Ze(E.name) + ">");
4041
+ Ye(O.name) !== Ye(E.name) && this.raise(O.start, "Expected corresponding JSX closing tag for <" + Ye(E.name) + ">");
4042
4042
  }
4043
4043
  var k = E.name ? "Element" : "Fragment";
4044
4044
  return b["opening" + k] = E, b["closing" + k] = O, b.children = S, this.type === V.relational && this.value === "<" && this.raise(this.start, "Adjacent JSX elements must be wrapped in an enclosing tag"), this.finishNode(b, "JSX" + k);
@@ -4056,7 +4056,7 @@ function ta(e) {
4056
4056
  function i() {
4057
4057
  return l.apply(this, arguments) || this;
4058
4058
  }
4059
- ht(i, l);
4059
+ ut(i, l);
4060
4060
  var r = i.prototype;
4061
4061
  return r.parseMaybeImportAttributes = function(u) {
4062
4062
  if (this.type === V._with || this.type === G.assert) {
@@ -4079,7 +4079,7 @@ function ta(e) {
4079
4079
  }, i;
4080
4080
  })(P);
4081
4081
  })(f, v, x);
4082
- var ys = /* @__PURE__ */ (function(P) {
4082
+ var xs = /* @__PURE__ */ (function(P) {
4083
4083
  function se(i, r, u) {
4084
4084
  var c;
4085
4085
  return (c = P.call(this, i, r, u) || this).preValue = null, c.preToken = null, c.isLookahead = !1, c.isAmbientContext = !1, c.inAbstractClass = !1, c.inType = !1, c.inDisallowConditionalTypesContext = !1, c.maybeInArrowParameters = !1, c.shouldParseArrowReturnType = void 0, c.shouldParseAsyncArrowReturnType = void 0, c.decoratorStack = [[]], c.importsStack = [[]], c.importOrExportOuterKind = void 0, c.tsParseConstModifier = c.tsParseModifiers.bind((function(d) {
@@ -4087,7 +4087,7 @@ function ta(e) {
4087
4087
  return d;
4088
4088
  })(c), { allowedModifiers: ["const"], disallowedModifiers: ["in", "out"], errorTemplate: w.InvalidModifierOnTypeParameterPositions }), c;
4089
4089
  }
4090
- ht(se, P);
4090
+ ut(se, P);
4091
4091
  var Y, G, V, l = se.prototype;
4092
4092
  return l.getTokenFromCodeInType = function(i) {
4093
4093
  return i === 62 || i === 60 ? this.finishOp(o.relational, 1) : P.prototype.getTokenFromCode.call(this, i);
@@ -4138,7 +4138,7 @@ function ta(e) {
4138
4138
  return this.nextTokenStartSince(this.pos);
4139
4139
  }, l.tsHasSomeModifiers = function(i, r) {
4140
4140
  return r.some(function(u) {
4141
- return gi(u) ? i.accessibility === u : !!i[u];
4141
+ return bi(u) ? i.accessibility === u : !!i[u];
4142
4142
  });
4143
4143
  }, l.tsIsStartOfStaticBlocks = function() {
4144
4144
  return this.isContextual("static") && this.lookaheadCharCode() === 123;
@@ -4220,7 +4220,7 @@ function ta(e) {
4220
4220
  var i;
4221
4221
  this.isLookahead || (i = this.options.onComment && this.curPosition());
4222
4222
  var r = this.pos, u = this.input.indexOf("*/", this.pos += 2);
4223
- if (u === -1 && this.raise(this.pos - 2, "Unterminated comment"), this.pos = u + 2, this.options.locations) for (var c, d = r; (c = ms(this.input, d, this.pos)) > -1; ) ++this.curLine, d = this.lineStart = c;
4223
+ if (u === -1 && this.raise(this.pos - 2, "Unterminated comment"), this.pos = u + 2, this.options.locations) for (var c, d = r; (c = ys(this.input, d, this.pos)) > -1; ) ++this.curLine, d = this.lineStart = c;
4224
4224
  this.isLookahead || this.options.onComment && this.options.onComment(!0, this.input.slice(r + 2, u), r, this.pos, i, this.curPosition());
4225
4225
  }, l.skipLineComment = function(i) {
4226
4226
  var r, u = this.pos;
@@ -4236,14 +4236,14 @@ function ta(e) {
4236
4236
  }, l.isLineTerminator = function() {
4237
4237
  return this.eat(o.semi) || P.prototype.canInsertSemicolon.call(this);
4238
4238
  }, l.hasFollowingLineBreak = function() {
4239
- return yi.lastIndex = this.end, yi.test(this.input);
4239
+ return xi.lastIndex = this.end, xi.test(this.input);
4240
4240
  }, l.addExtra = function(i, r, u, c) {
4241
4241
  if (c === void 0 && (c = !0), i) {
4242
4242
  var d = i.extra = i.extra || {};
4243
4243
  c ? d[r] = u : Object.defineProperty(d, r, { enumerable: c, value: u });
4244
4244
  }
4245
4245
  }, l.isLiteralPropertyName = function() {
4246
- return ps(this.type);
4246
+ return ls(this.type);
4247
4247
  }, l.hasPrecedingLineBreak = function() {
4248
4248
  return U.test(this.input.slice(this.lastTokEndLoc.index, this.start));
4249
4249
  }, l.createIdentifier = function(i, r) {
@@ -4325,7 +4325,7 @@ function ta(e) {
4325
4325
  }
4326
4326
  return this.next(), P.prototype.exitScope.call(this), this.finishNode(i, "TSModuleBlock");
4327
4327
  }, l.tsParseAmbientExternalModuleDeclaration = function(i) {
4328
- return this.ts_isContextual(N.global) ? (i.global = !0, i.id = this.parseIdent()) : this.match(o.string) ? i.id = this.parseLiteral(this.value) : this.unexpected(), this.match(o.braceL) ? (P.prototype.enterScope.call(this, Qe), i.body = this.tsParseModuleBlock(), P.prototype.exitScope.call(this)) : P.prototype.semicolon.call(this), this.finishNode(i, "TSModuleDeclaration");
4328
+ return this.ts_isContextual(N.global) ? (i.global = !0, i.id = this.parseIdent()) : this.match(o.string) ? i.id = this.parseLiteral(this.value) : this.unexpected(), this.match(o.braceL) ? (P.prototype.enterScope.call(this, Xe), i.body = this.tsParseModuleBlock(), P.prototype.exitScope.call(this)) : P.prototype.semicolon.call(this), this.finishNode(i, "TSModuleDeclaration");
4329
4329
  }, l.tsTryParseDeclare = function(i) {
4330
4330
  var r = this;
4331
4331
  if (!this.isLineTerminator()) {
@@ -4653,7 +4653,7 @@ function ta(e) {
4653
4653
  return i;
4654
4654
  }, l.tsParseTypeOperatorOrHigher = function() {
4655
4655
  var i = this;
4656
- return ds(this.type) && !this.containsEsc ? this.tsParseTypeOperator() : this.isContextual("infer") ? this.tsParseInferType() : this.tsInAllowConditionalTypesContext(function() {
4656
+ return ms(this.type) && !this.containsEsc ? this.tsParseTypeOperator() : this.isContextual("infer") ? this.tsParseInferType() : this.tsInAllowConditionalTypesContext(function() {
4657
4657
  return i.tsParseArrayTypeOrHigher();
4658
4658
  });
4659
4659
  }, l.tsParseIntersectionTypeOrHigher = function() {
@@ -4664,7 +4664,7 @@ function ta(e) {
4664
4664
  return this.tsIsStartOfFunctionType() ? this.tsParseFunctionOrConstructorType("TSFunctionType") : this.match(o._new) ? this.tsParseFunctionOrConstructorType("TSConstructorType") : this.isAbstractConstructorSignature() ? this.tsParseFunctionOrConstructorType("TSConstructorType", !0) : this.tsParseUnionTypeOrHigher();
4665
4665
  }, l.tsParseType = function() {
4666
4666
  var i = this;
4667
- vi(this.inType);
4667
+ gi(this.inType);
4668
4668
  var r = this.tsParseNonConditionalType();
4669
4669
  if (this.inDisallowConditionalTypesContext || this.hasPrecedingLineBreak() || !this.eat(o._extends)) return r;
4670
4670
  var u = this.startNodeAtNode(r);
@@ -4734,7 +4734,7 @@ function ta(e) {
4734
4734
  }; ; ) {
4735
4735
  var O = this.startLoc, k = this.tsParseModifier(c.concat(d ?? []), m);
4736
4736
  if (!k) break;
4737
- gi(k) ? u.accessibility ? this.raise(this.start, w.DuplicateAccessibilityModifier()) : (S(O, k, k, "override"), S(O, k, k, "static"), S(O, k, k, "readonly"), S(O, k, k, "accessor"), b.accessibility = k, u.accessibility = k) : Zr(k) ? u[k] ? this.raise(this.start, w.DuplicateModifier({ modifier: k })) : (S(O, k, "in", "out"), b[k] = k, u[k] = !0) : Yr(k) ? u[k] ? this.raise(this.start, w.DuplicateModifier({ modifier: k })) : (E(O, k, "accessor", "readonly"), E(O, k, "accessor", "static"), E(O, k, "accessor", "override"), b[k] = k, u[k] = !0) : Object.hasOwnProperty.call(u, k) ? this.raise(this.start, w.DuplicateModifier({ modifier: k })) : (S(O, k, "static", "readonly"), S(O, k, "static", "override"), S(O, k, "override", "readonly"), S(O, k, "abstract", "override"), E(O, k, "declare", "override"), E(O, k, "static", "abstract"), b[k] = k, u[k] = !0), d != null && d.includes(k) && this.raise(this.start, g);
4737
+ bi(k) ? u.accessibility ? this.raise(this.start, w.DuplicateAccessibilityModifier()) : (S(O, k, k, "override"), S(O, k, k, "static"), S(O, k, k, "readonly"), S(O, k, k, "accessor"), b.accessibility = k, u.accessibility = k) : ea(k) ? u[k] ? this.raise(this.start, w.DuplicateModifier({ modifier: k })) : (S(O, k, "in", "out"), b[k] = k, u[k] = !0) : Zr(k) ? u[k] ? this.raise(this.start, w.DuplicateModifier({ modifier: k })) : (E(O, k, "accessor", "readonly"), E(O, k, "accessor", "static"), E(O, k, "accessor", "override"), b[k] = k, u[k] = !0) : Object.hasOwnProperty.call(u, k) ? this.raise(this.start, w.DuplicateModifier({ modifier: k })) : (S(O, k, "static", "readonly"), S(O, k, "static", "override"), S(O, k, "override", "readonly"), S(O, k, "abstract", "override"), E(O, k, "declare", "override"), E(O, k, "static", "abstract"), b[k] = k, u[k] = !0), d != null && d.includes(k) && this.raise(this.start, g);
4738
4738
  }
4739
4739
  return b;
4740
4740
  }, l.tsParseInOutModifiers = function(i) {
@@ -4810,7 +4810,7 @@ function ta(e) {
4810
4810
  if (!this.hasFollowingLineBreak()) return i.abstract = !0, this.tsParseInterfaceDeclaration(i);
4811
4811
  } else this.unexpected(i.start);
4812
4812
  }, l.tsIsDeclarationStart = function() {
4813
- return fs(this.type);
4813
+ return ds(this.type);
4814
4814
  }, l.tsParseExpressionStatement = function(i, r) {
4815
4815
  switch (r.name) {
4816
4816
  case "declare":
@@ -4819,7 +4819,7 @@ function ta(e) {
4819
4819
  break;
4820
4820
  case "global":
4821
4821
  if (this.match(o.braceL)) {
4822
- P.prototype.enterScope.call(this, Qe);
4822
+ P.prototype.enterScope.call(this, Xe);
4823
4823
  var c = i;
4824
4824
  return c.global = !0, c.id = r, c.body = this.tsParseModuleBlock(), P.prototype.exitScope.call(this), this.finishNode(c, "TSModuleDeclaration");
4825
4825
  }
@@ -4859,7 +4859,7 @@ function ta(e) {
4859
4859
  if (r === void 0 && (r = !1), i.id = this.parseIdent(), r || this.checkLValSimple(i.id, 8), this.eat(o.dot)) {
4860
4860
  var u = this.startNode();
4861
4861
  this.tsParseModuleOrNamespaceDeclaration(u, !0), i.body = u;
4862
- } else P.prototype.enterScope.call(this, Qe), i.body = this.tsParseModuleBlock(), P.prototype.exitScope.call(this);
4862
+ } else P.prototype.enterScope.call(this, Xe), i.body = this.tsParseModuleBlock(), P.prototype.exitScope.call(this);
4863
4863
  return this.finishNode(i, "TSModuleDeclaration");
4864
4864
  }, l.checkLValSimple = function(i, r, u) {
4865
4865
  return r === void 0 && (r = 0), P.prototype.checkLValSimple.call(this, i, r, u);
@@ -5014,7 +5014,7 @@ function ta(e) {
5014
5014
  else {
5015
5015
  if (i.declaration = null, i.specifiers = this.parseExportSpecifiers(r), this.eatContextual("from")) this.type !== o.string && this.unexpected(), i.source = this.parseExprAtom(), this.parseMaybeImportAttributes(i);
5016
5016
  else {
5017
- for (var y, g = mi(i.specifiers); !(y = g()).done; ) {
5017
+ for (var y, g = yi(i.specifiers); !(y = g()).done; ) {
5018
5018
  var b = y.value;
5019
5019
  this.checkUnreserved(b.local), this.checkLocalExport(b.local), b.local.type === "Literal" && this.raise(b.local.start, "A string literal cannot be used as an exported binding without `from`.");
5020
5020
  }
@@ -5070,16 +5070,16 @@ function ta(e) {
5070
5070
  this.unexpected();
5071
5071
  }, l.parseIdentNode = function() {
5072
5072
  var i = this.startNode();
5073
- return nt(this.type) ? (i.name = this.value, i) : P.prototype.parseIdentNode.call(this);
5073
+ return at(this.type) ? (i.name = this.value, i) : P.prototype.parseIdentNode.call(this);
5074
5074
  }, l.parseVarStatement = function(i, r, u) {
5075
5075
  u === void 0 && (u = !1);
5076
5076
  var c = this.isAmbientContext;
5077
5077
  this.next(), P.prototype.parseVar.call(this, i, !1, r, u || c), this.semicolon();
5078
5078
  var d = this.finishNode(i, "VariableDeclaration");
5079
5079
  if (!c) return d;
5080
- for (var m, y = mi(d.declarations); !(m = y()).done; ) {
5080
+ for (var m, y = yi(d.declarations); !(m = y()).done; ) {
5081
5081
  var g = m.value, b = g.init;
5082
- b && (r !== "const" || g.id.typeAnnotation ? this.raise(b.start, w.InitializerNotAllowedInAmbientContext) : b.type !== "StringLiteral" && b.type !== "BooleanLiteral" && b.type !== "NumericLiteral" && b.type !== "BigIntLiteral" && (b.type !== "TemplateLiteral" || b.expressions.length > 0) && !ea(b) && this.raise(b.start, w.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference));
5082
+ b && (r !== "const" || g.id.typeAnnotation ? this.raise(b.start, w.InitializerNotAllowedInAmbientContext) : b.type !== "StringLiteral" && b.type !== "BooleanLiteral" && b.type !== "NumericLiteral" && b.type !== "BigIntLiteral" && (b.type !== "TemplateLiteral" || b.expressions.length > 0) && !ta(b) && this.raise(b.start, w.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference));
5083
5083
  }
5084
5084
  return d;
5085
5085
  }, l.parseStatement = function(i, r, u) {
@@ -5154,7 +5154,7 @@ function ta(e) {
5154
5154
  var g = i.declare, b = i.kind;
5155
5155
  !(g !== void 0 && g) || b !== "get" && b !== "set" || this.raise(i.start, w.DeclareAccessor({ kind: b })), y && (i.typeParameters = y);
5156
5156
  var S = i.key;
5157
- i.kind === "constructor" ? (r && this.raise(S.start, "Constructor can't be a generator"), u && this.raise(S.start, "Constructor can't be an async method")) : i.static && xi(i, "prototype") && this.raise(S.start, "Classes may not have a static property named prototype");
5157
+ i.kind === "constructor" ? (r && this.raise(S.start, "Constructor can't be a generator"), u && this.raise(S.start, "Constructor can't be an async method")) : i.static && vi(i, "prototype") && this.raise(S.start, "Classes may not have a static property named prototype");
5158
5158
  var E = i.value = this.parseMethod(r, u, c, !0, i);
5159
5159
  return i.kind === "get" && E.params.length !== 0 && this.raiseRecoverable(E.start, "getter should have no params"), i.kind === "set" && E.params.length !== 1 && this.raiseRecoverable(E.start, "setter should have exactly one param"), i.kind === "set" && E.params[0].type === "RestElement" && this.raiseRecoverable(E.params[0].start, "Setter cannot use rest params"), this.finishNode(i, "MethodDefinition");
5160
5160
  }, l.isClassMethod = function() {
@@ -5173,7 +5173,7 @@ function ta(e) {
5173
5173
  (r.eatContextual("get") || r.eatContextual("set")) && (r.isClassElementNameStart() ? b = H : m = H);
5174
5174
  }
5175
5175
  if (m ? (d.computed = !1, d.key = r.startNodeAt(r.lastTokStart, r.lastTokStartLoc), d.key.name = m, r.finishNode(d.key, "Identifier")) : r.parseClassElementName(d), r.parsePostMemberNameModifiers(d), r.isClassMethod() || c < 13 || r.type === o.parenL || b !== "method" || y || g) {
5176
- var q = !d.static && xi(d, "constructor"), $ = q && i;
5176
+ var q = !d.static && vi(d, "constructor"), $ = q && i;
5177
5177
  q && b !== "method" && r.raise(d.key.start, "Constructor can't have get/set modifier"), d.kind = q ? "constructor" : b, r.parseClassMethod(d, y, g, $);
5178
5178
  } else r.parseClassField(d);
5179
5179
  return d;
@@ -5204,7 +5204,7 @@ function ta(e) {
5204
5204
  this.exprAllowed = !1;
5205
5205
  }
5206
5206
  var c = !1, d = -1, m = -1, y = -1;
5207
- r ? (d = r.parenthesizedAssign, m = r.trailingComma, y = r.doubleProto, r.parenthesizedAssign = r.trailingComma = -1) : (r = new Je(), c = !0);
5207
+ r ? (d = r.parenthesizedAssign, m = r.trailingComma, y = r.doubleProto, r.parenthesizedAssign = r.trailingComma = -1) : (r = new Qe(), c = !0);
5208
5208
  var g = this.start, b = this.startLoc;
5209
5209
  (this.type === o.parenL || j(this.type)) && (this.potentialArrowAt = this.start, this.potentialArrowInForAwait = i === "await");
5210
5210
  var S = this.parseMaybeConditional(i, r);
@@ -5225,13 +5225,13 @@ function ta(e) {
5225
5225
  if (!((c = O) != null && c.error || this.tsMatchLeftRelational())) return this.parseMaybeAssignOrigin(i, r, u);
5226
5226
  E && !this.compareLookaheadState(E, this.getCurLookaheadState()) || (E = this.cloneCurLookaheadState());
5227
5227
  var ne = this.tryParse(function(_e) {
5228
- var ze, Xe;
5228
+ var We, ze;
5229
5229
  H = q.tsParseTypeParameters();
5230
5230
  var Ne = q.parseMaybeAssignOrigin(i, r, u);
5231
- return (Ne.type !== "ArrowFunctionExpression" || (ze = Ne.extra) != null && ze.parenthesized) && _e(), ((Xe = H) == null ? void 0 : Xe.params.length) !== 0 && q.resetStartLocationFromNode(Ne, H), Ne.typeParameters = H, Ne;
5231
+ return (Ne.type !== "ArrowFunctionExpression" || (We = Ne.extra) != null && We.parenthesized) && _e(), ((ze = H) == null ? void 0 : ze.params.length) !== 0 && q.resetStartLocationFromNode(Ne, H), Ne.typeParameters = H, Ne;
5232
5232
  }, E);
5233
5233
  if (!ne.error && !ne.aborted) return H && this.reportReservedArrowTypeParam(H), ne.node;
5234
- if (!O && (vi(!0), !(k = this.tryParse(function() {
5234
+ if (!O && (gi(!0), !(k = this.tryParse(function() {
5235
5235
  return q.parseMaybeAssignOrigin(i, r, u);
5236
5236
  }, E)).error)) return k.node;
5237
5237
  if ((d = O) != null && d.node) return this.setLookaheadState(O.failState), O.node;
@@ -5296,7 +5296,7 @@ function ta(e) {
5296
5296
  return !1;
5297
5297
  }
5298
5298
  }, l.toAssignable = function(i, r, u) {
5299
- switch (r === void 0 && (r = !1), u === void 0 && (u = new Je()), i.type) {
5299
+ switch (r === void 0 && (r = !1), u === void 0 && (u = new Qe()), i.type) {
5300
5300
  case "ParenthesizedExpression":
5301
5301
  return this.toAssignableParenthesizedExpression(i, r, u);
5302
5302
  case "TSAsExpression":
@@ -5361,7 +5361,7 @@ function ta(e) {
5361
5361
  if (this.options.ecmaVersion >= 6) {
5362
5362
  var y = this.maybeInArrowParameters;
5363
5363
  this.maybeInArrowParameters = !0, this.next();
5364
- var g, b = this.start, S = this.startLoc, E = [], O = !0, k = !1, H = new Je(), q = this.yieldPos, $ = this.awaitPos;
5364
+ var g, b = this.start, S = this.startLoc, E = [], O = !0, k = !1, H = new Qe(), q = this.yieldPos, $ = this.awaitPos;
5365
5365
  for (this.yieldPos = 0, this.awaitPos = 0; this.type !== o.parenR; ) {
5366
5366
  if (O ? O = !1 : this.expect(o.comma), m && this.afterTrailingComma(o.parenR, !0)) {
5367
5367
  k = !0;
@@ -5419,24 +5419,24 @@ function ta(e) {
5419
5419
  if (this.tsMatchLeftRelational() || this.match(o.bitShift)) {
5420
5420
  var O, k = this.tsTryParseAndCatch(function() {
5421
5421
  if (!c && g.atPossibleAsyncArrow(i)) {
5422
- var ii = g.tsTryParseGenericAsyncArrowFunction(r, u, y);
5423
- if (ii) return i = ii;
5422
+ var si = g.tsTryParseGenericAsyncArrowFunction(r, u, y);
5423
+ if (si) return i = si;
5424
5424
  }
5425
- var ut = g.tsParseTypeArgumentsInExpression();
5426
- if (!ut) return i;
5425
+ var ot = g.tsParseTypeArgumentsInExpression();
5426
+ if (!ot) return i;
5427
5427
  if (E && !g.match(o.parenL)) return O = g.curPosition(), i;
5428
- if (ls(g.type) || g.type === o.backQuote) {
5429
- var si = g.parseTaggedTemplateExpression(i, r, u, b);
5430
- return si.typeParameters = ut, si;
5428
+ if (fs(g.type) || g.type === o.backQuote) {
5429
+ var ri = g.parseTaggedTemplateExpression(i, r, u, b);
5430
+ return ri.typeParameters = ot, ri;
5431
5431
  }
5432
5432
  if (!c && g.eat(o.parenL)) {
5433
- var ri = new Je(), Be = g.startNodeAt(r, u);
5434
- return Be.callee = i, Be.arguments = g.parseExprList(o.parenR, g.options.ecmaVersion >= 8, !1, ri), g.tsCheckForInvalidTypeCasts(Be.arguments), Be.typeParameters = ut, b && (Be.optional = E), g.checkExpressionErrors(ri, !0), i = g.finishNode(Be, "CallExpression");
5433
+ var ai = new Qe(), Be = g.startNodeAt(r, u);
5434
+ return Be.callee = i, Be.arguments = g.parseExprList(o.parenR, g.options.ecmaVersion >= 8, !1, ai), g.tsCheckForInvalidTypeCasts(Be.arguments), Be.typeParameters = ot, b && (Be.optional = E), g.checkExpressionErrors(ai, !0), i = g.finishNode(Be, "CallExpression");
5435
5435
  }
5436
5436
  var Et = g.type;
5437
- if (!(g.tsMatchRightRelational() || Et === o.bitShift || Et !== o.parenL && (ai = Et, !!ai.startsExpr) && !g.hasPrecedingLineBreak())) {
5438
- var ai, It = g.startNodeAt(r, u);
5439
- return It.expression = i, It.typeParameters = ut, g.finishNode(It, "TSInstantiationExpression");
5437
+ if (!(g.tsMatchRightRelational() || Et === o.bitShift || Et !== o.parenL && (ni = Et, !!ni.startsExpr) && !g.hasPrecedingLineBreak())) {
5438
+ var ni, It = g.startNodeAt(r, u);
5439
+ return It.expression = i, It.typeParameters = ot, g.finishNode(It, "TSInstantiationExpression");
5440
5440
  }
5441
5441
  });
5442
5442
  if (O && this.unexpected(O), k) return k.type === "TSInstantiationExpression" && (this.match(o.dot) || this.match(o.questionDot) && this.lookaheadCharCode() !== 40) && this.raise(this.start, w.InvalidPropertyAccessAfterInstantiationExpression), i = k;
@@ -5450,14 +5450,14 @@ function ta(e) {
5450
5450
  } else if (!c && this.eat(o.parenL)) {
5451
5451
  var ne = this.maybeInArrowParameters;
5452
5452
  this.maybeInArrowParameters = !0;
5453
- var _e = new Je(), ze = this.yieldPos, Xe = this.awaitPos, Ne = this.awaitIdentPos;
5453
+ var _e = new Qe(), We = this.yieldPos, ze = this.awaitPos, Ne = this.awaitIdentPos;
5454
5454
  this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0;
5455
- var ti = this.parseExprList(o.parenR, this.options.ecmaVersion >= 8, !1, _e);
5456
- if (d && !q && this.shouldParseAsyncArrow()) this.checkPatternErrors(_e, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = ze, this.awaitPos = Xe, this.awaitIdentPos = Ne, i = this.parseSubscriptAsyncArrow(r, u, ti, y);
5455
+ var ii = this.parseExprList(o.parenR, this.options.ecmaVersion >= 8, !1, _e);
5456
+ if (d && !q && this.shouldParseAsyncArrow()) this.checkPatternErrors(_e, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = We, this.awaitPos = ze, this.awaitIdentPos = Ne, i = this.parseSubscriptAsyncArrow(r, u, ii, y);
5457
5457
  else {
5458
- this.checkExpressionErrors(_e, !0), this.yieldPos = ze || this.yieldPos, this.awaitPos = Xe || this.awaitPos, this.awaitIdentPos = Ne || this.awaitIdentPos;
5459
- var ot = this.startNodeAt(r, u);
5460
- ot.callee = i, ot.arguments = ti, H && (ot.optional = q), i = this.finishNode(ot, "CallExpression");
5458
+ this.checkExpressionErrors(_e, !0), this.yieldPos = We || this.yieldPos, this.awaitPos = ze || this.awaitPos, this.awaitIdentPos = Ne || this.awaitIdentPos;
5459
+ var nt = this.startNodeAt(r, u);
5460
+ nt.callee = i, nt.arguments = ii, H && (nt.optional = q), i = this.finishNode(nt, "CallExpression");
5461
5461
  }
5462
5462
  this.maybeInArrowParameters = ne;
5463
5463
  } else if (this.type === o.backQuote) {
@@ -5496,7 +5496,7 @@ function ta(e) {
5496
5496
  for (this.expect(o.braceL); this.type !== o.braceR; ) if (this.match(N.at)) g.push(this.parseDecorator());
5497
5497
  else {
5498
5498
  var b = this.parseClassElement(i.superClass !== null);
5499
- g.length && (b.decorators = g, this.resetStartLocationFromNode(b, g[0]), g = []), b && (m.body.push(b), b.type === "MethodDefinition" && b.kind === "constructor" && b.value.type === "FunctionExpression" ? (y && this.raiseRecoverable(b.start, "Duplicate constructor in the same class"), y = !0, b.decorators && b.decorators.length > 0 && this.raise(b.start, "Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?")) : b.key && b.key.type === "PrivateIdentifier" && zr(d, b) && this.raiseRecoverable(b.key.start, "Identifier '#" + b.key.name + "' has already been declared"));
5499
+ g.length && (b.decorators = g, this.resetStartLocationFromNode(b, g[0]), g = []), b && (m.body.push(b), b.type === "MethodDefinition" && b.kind === "constructor" && b.value.type === "FunctionExpression" ? (y && this.raiseRecoverable(b.start, "Duplicate constructor in the same class"), y = !0, b.decorators && b.decorators.length > 0 && this.raise(b.start, "Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?")) : b.key && b.key.type === "PrivateIdentifier" && Xr(d, b) && this.raiseRecoverable(b.key.start, "Identifier '#" + b.key.name + "' has already been declared"));
5500
5500
  }
5501
5501
  return this.strict = c, this.next(), g.length && this.raise(this.start, "Decorators must be attached to a class element."), i.body = this.finishNode(m, "ClassBody"), this.exitClassBody(), this.finishNode(i, r ? "ClassDeclaration" : "ClassExpression");
5502
5502
  } finally {
@@ -5543,9 +5543,9 @@ function ta(e) {
5543
5543
  var E = this.parseIdent();
5544
5544
  if (this.isContextual("as")) {
5545
5545
  var O = this.parseIdent();
5546
- nt(this.type) ? (g = !0, y = E, c = r ? this.parseIdent() : this.parseModuleExportName(), b = !1) : (c = O, b = !1);
5547
- } else nt(this.type) ? (b = !1, c = r ? this.parseIdent() : this.parseModuleExportName()) : (g = !0, y = E);
5548
- } else nt(this.type) && (g = !0, r ? (y = P.prototype.parseIdent.call(this, !0), this.isContextual("as") || this.checkUnreserved(y)) : y = this.parseModuleExportName());
5546
+ at(this.type) ? (g = !0, y = E, c = r ? this.parseIdent() : this.parseModuleExportName(), b = !1) : (c = O, b = !1);
5547
+ } else at(this.type) ? (b = !1, c = r ? this.parseIdent() : this.parseModuleExportName()) : (g = !0, y = E);
5548
+ } else at(this.type) && (g = !0, r ? (y = P.prototype.parseIdent.call(this, !0), this.isContextual("as") || this.checkUnreserved(y)) : y = this.parseModuleExportName());
5549
5549
  g && u && this.raise(S, r ? w.TypeModifierIsUsedInTypeImports : w.TypeModifierIsUsedInTypeExports), i[d] = y, i[m] = c, i[r ? "importKind" : "exportKind"] = g ? "type" : "value", b && this.eatContextual("as") && (i[m] = r ? this.parseIdent() : this.parseModuleExportName()), i[m] || (i[m] = this.copyNode(i[d])), r && this.checkLValSimple(i[m], 2);
5550
5550
  }, l.raiseCommonCheck = function(i, r, u) {
5551
5551
  return r === "Comma is not permitted after the rest element" ? this.isAmbientContext && this.match(o.comma) && this.lookaheadCharCode() === 41 ? void this.next() : P.prototype.raise.call(this, i, r) : u ? P.prototype.raiseRecoverable.call(this, i, r) : P.prototype.raise.call(this, i, r);
@@ -5573,11 +5573,11 @@ function ta(e) {
5573
5573
  for (c.attributes = []; this.type !== o.slash && this.type !== N.jsxTagEnd; ) c.attributes.push(this.jsx_parseAttribute());
5574
5574
  return c.selfClosing = this.eat(o.slash), this.expect(N.jsxTagEnd), this.finishNode(c, d ? "JSXOpeningElement" : "JSXOpeningFragment");
5575
5575
  }, l.enterScope = function(i) {
5576
- i === Qe && this.importsStack.push([]), P.prototype.enterScope.call(this, i);
5576
+ i === Xe && this.importsStack.push([]), P.prototype.enterScope.call(this, i);
5577
5577
  var r = P.prototype.currentScope.call(this);
5578
5578
  r.types = [], r.enums = [], r.constEnums = [], r.classes = [], r.exportOnlyBindings = [];
5579
5579
  }, l.exitScope = function() {
5580
- P.prototype.currentScope.call(this).flags === Qe && this.importsStack.pop(), P.prototype.exitScope.call(this);
5580
+ P.prototype.currentScope.call(this).flags === Xe && this.importsStack.pop(), P.prototype.exitScope.call(this);
5581
5581
  }, l.hasImport = function(i, r) {
5582
5582
  var u = this.importsStack.length;
5583
5583
  if (this.importsStack[u - 1].indexOf(i) > -1) return !0;
@@ -5609,13 +5609,13 @@ function ta(e) {
5609
5609
  return v;
5610
5610
  } }], (G = [{ key: "acornTypeScript", get: function() {
5611
5611
  return v;
5612
- } }]) && fi(Y.prototype, G), V && fi(Y, V), Object.defineProperty(Y, "prototype", { writable: !1 }), se;
5612
+ } }]) && di(Y.prototype, G), V && di(Y, V), Object.defineProperty(Y, "prototype", { writable: !1 }), se;
5613
5613
  })(f);
5614
- return ys;
5614
+ return xs;
5615
5615
  };
5616
5616
  }
5617
- const ia = vs(gs);
5618
- async function sa(e) {
5617
+ const sa = gs(bs);
5618
+ async function ra(e) {
5619
5619
  let t;
5620
5620
  try {
5621
5621
  t = await he.readdir(e, { withFileTypes: !0 });
@@ -5625,7 +5625,7 @@ async function sa(e) {
5625
5625
  }
5626
5626
  await Promise.all(
5627
5627
  t.map(async (s) => {
5628
- const a = pt.join(e, s.name);
5628
+ const a = ct.join(e, s.name);
5629
5629
  try {
5630
5630
  await he.rm(a, { recursive: !0, force: !0 });
5631
5631
  } catch (n) {
@@ -5635,7 +5635,7 @@ async function sa(e) {
5635
5635
  );
5636
5636
  }
5637
5637
  function Zt(e) {
5638
- const s = K.extend(ta()).parse(e, {
5638
+ const s = K.extend(ia()).parse(e, {
5639
5639
  ecmaVersion: "latest",
5640
5640
  sourceType: "module",
5641
5641
  locations: !0
@@ -5651,10 +5651,10 @@ function Zt(e) {
5651
5651
  async function de(e, t, s = [], a) {
5652
5652
  const n = `${t} ${s.join(" ")}`;
5653
5653
  e !== void 0 && X(`${e} - exec(${n})`);
5654
- const { stdout: p, stderr: f } = await ia(n);
5654
+ const { stdout: p, stderr: f } = await sa(n);
5655
5655
  a === void 0 ? p.trim() && console.log(p.trim()) : await he.writeFile(a, p.trim(), "utf8"), f.trim() && console.error(f.trim());
5656
5656
  }
5657
- async function ra(e, t) {
5657
+ async function aa(e, t) {
5658
5658
  return he.readdir(e, t);
5659
5659
  }
5660
5660
  async function ei() {
@@ -5680,7 +5680,7 @@ async function ae(e) {
5680
5680
  async function Me(e) {
5681
5681
  return await he.readFile(e, "utf8");
5682
5682
  }
5683
- async function aa(e) {
5683
+ async function na(e) {
5684
5684
  try {
5685
5685
  await he.unlink(e);
5686
5686
  } catch (t) {
@@ -5689,22 +5689,22 @@ async function aa(e) {
5689
5689
  }
5690
5690
  async function be(e, t, s = [], a = !1) {
5691
5691
  return X(`${e} - spawn(${t} ${s.join(" ")})`), new Promise((n, p) => {
5692
- bs(t, s, { stdio: "inherit" }).on("close", (x) => {
5692
+ Ss(t, s, { stdio: "inherit" }).on("close", (x) => {
5693
5693
  x === 0 || a ? n() : p(new Error(`${t} exited with code ${x}`));
5694
5694
  });
5695
5695
  });
5696
5696
  }
5697
- function hs(e, t, s, a) {
5697
+ function cs(e, t, s, a) {
5698
5698
  const n = e.indexOf(s), p = e.indexOf(a);
5699
5699
  if (n === -1 || p === -1) throw new Error(`Markers ${s}-${a} not found in content.`);
5700
5700
  return `${e.slice(0, Math.max(0, n + s.length))}
5701
5701
  ${t}
5702
5702
  ${e.slice(Math.max(0, p))}`;
5703
5703
  }
5704
- async function He(e, t) {
5704
+ async function gt(e, t) {
5705
5705
  await he.writeFile(e, JSON.stringify(t, void 0, 4), "utf8");
5706
5706
  }
5707
- async function tt(e, t) {
5707
+ async function et(e, t) {
5708
5708
  await he.writeFile(e, t, "utf8");
5709
5709
  }
5710
5710
  function Bt(e, t) {
@@ -5720,7 +5720,7 @@ function Bt(e, t) {
5720
5720
  else n && typeof n == "object" && typeof n.type == "string" && Bt(n, t);
5721
5721
  }
5722
5722
  }
5723
- async function na() {
5723
+ async function oa() {
5724
5724
  const e = await ae("config.json"), t = {
5725
5725
  body: JSON.stringify(e),
5726
5726
  headers: { "Content-Type": "application/json" },
@@ -5728,7 +5728,7 @@ async function na() {
5728
5728
  }, s = await fetch(`https://api.datapos.app/states/${e.id}`, t);
5729
5729
  if (!s.ok) throw new Error(await s.text());
5730
5730
  }
5731
- async function bi(e) {
5731
+ async function Si(e) {
5732
5732
  const t = e.id, s = {
5733
5733
  body: JSON.stringify(e),
5734
5734
  headers: { "Content-Type": "application/json" },
@@ -5736,10 +5736,10 @@ async function bi(e) {
5736
5736
  }, a = await fetch(`https://api.datapos.app/states/${t}`, s);
5737
5737
  if (!a.ok) throw new Error(await a.text());
5738
5738
  }
5739
- async function Si(e, t) {
5739
+ async function Ti(e, t) {
5740
5740
  const s = `v${e.version}`;
5741
5741
  async function a(n, p = "") {
5742
- const f = await ra(n, { withFileTypes: !0 });
5742
+ const f = await aa(n, { withFileTypes: !0 });
5743
5743
  for (const x of f) {
5744
5744
  const v = `${n}/${x.name}`, o = p ? `${p}/${x.name}` : x.name;
5745
5745
  if (x.isDirectory()) continue;
@@ -5749,7 +5749,7 @@ async function Si(e, t) {
5749
5749
  }
5750
5750
  await a("dist");
5751
5751
  }
5752
- const oa = [
5752
+ const ua = [
5753
5753
  { idPrefix: "datapos-app-nuxt", typeId: "app", publish: !1, uploadGroupName: void 0 },
5754
5754
  { idPrefix: "datapos-api", typeId: "api", publish: !1, uploadGroupName: void 0 },
5755
5755
  { idPrefix: "datapos-connector", typeId: "connector", publish: !0, uploadGroupName: "connectors" },
@@ -5761,52 +5761,52 @@ const oa = [
5761
5761
  { idPrefix: "datapos-shared", typeId: "shared", publish: !0, uploadGroupName: void 0 },
5762
5762
  { idPrefix: "datapos-tool", typeId: "tool", publish: !0, uploadGroupName: "tools" }
5763
5763
  ];
5764
- async function Na() {
5764
+ async function La() {
5765
5765
  try {
5766
5766
  Ce("Build Project"), await be("1️⃣ Bundle project", "vite", ["build"]), Ie("Project built.");
5767
5767
  } catch (e) {
5768
5768
  console.error("❌ Error building project.", e), process.exit(1);
5769
5769
  }
5770
5770
  }
5771
- async function La() {
5771
+ async function Oa() {
5772
5772
  try {
5773
5773
  Ce("Release Project"), await ei();
5774
5774
  const e = await ae("package.json");
5775
5775
  let t = await ae("config.json");
5776
- await cs("1️⃣", e);
5777
- const s = oa.find((a) => t.id.startsWith(a.idPrefix));
5776
+ await ps("1️⃣", e);
5777
+ const s = ua.find((a) => t.id.startsWith(a.idPrefix));
5778
5778
  if (!s) throw new Error(`Failed to locate module type configuration for identifier '${t.id}'.`);
5779
5779
  switch (s.typeId) {
5780
5780
  case "connector":
5781
- t = await ha("2️⃣", e);
5781
+ t = await ca("2️⃣", e);
5782
5782
  break;
5783
5783
  case "context":
5784
- t = await ca("2️⃣", e);
5784
+ t = await pa("2️⃣", e);
5785
5785
  break;
5786
5786
  case "presenter":
5787
- t = await pa("2️⃣", e);
5787
+ t = await la("2️⃣", e);
5788
5788
  break;
5789
5789
  default:
5790
- t = await ua("2️⃣", e);
5790
+ t = await ha("2️⃣", e);
5791
5791
  }
5792
5792
  if (await be("3️⃣ Bundle project", "vite", ["build"]), await de("4️⃣ Stage changes", "git", ["add", "."]), await de("5️⃣ Commit changes", "git", ["commit", "-m", `"v${e.version}"`]), await de("6️⃣ Push changes", "git", ["push", "origin", "main:main"]), s.typeId === "app")
5793
- X("7️⃣ Register module"), await na();
5793
+ X("7️⃣ Register module"), await oa();
5794
5794
  else if (s.typeId === "engine")
5795
- X("7️⃣ Register module"), await Si(e, `datapos-engine-eu/${s.uploadGroupName}`), await bi(t);
5795
+ X("7️⃣ Register module"), await Ti(e, `datapos-engine-eu/${s.uploadGroupName}`), await Si(t);
5796
5796
  else if (s.uploadGroupName === void 0)
5797
5797
  X("7️⃣ Registration NOT required.");
5798
5798
  else {
5799
5799
  X("7️⃣ Register module");
5800
5800
  const a = t.id.split("-").slice(2).join("-");
5801
- await Si(e, `datapos-engine-eu/${s.uploadGroupName}/${a}`), await bi(t);
5801
+ await Ti(e, `datapos-engine-eu/${s.uploadGroupName}/${a}`), await Si(t);
5802
5802
  }
5803
5803
  if (s.publish) {
5804
5804
  const a = ".npmrc";
5805
5805
  try {
5806
- await tt(a, `registry=https://registry.npmjs.org/
5806
+ await et(a, `registry=https://registry.npmjs.org/
5807
5807
  //registry.npmjs.org/:_authToken=${process.env.NPM_TOKEN ?? ""}`), await be("8️⃣ Publish to npm", "npm", ["publish", "--access", "public"]);
5808
5808
  } finally {
5809
- await aa(a);
5809
+ await na(a);
5810
5810
  }
5811
5811
  } else
5812
5812
  X(`8️⃣ Publishing NOT required for package with type identifier of '${s.typeId}'.`);
@@ -5815,16 +5815,16 @@ async function La() {
5815
5815
  console.error("❌ Error releasing project.", e), process.exit(1);
5816
5816
  }
5817
5817
  }
5818
- async function Oa() {
5818
+ async function Ra() {
5819
5819
  try {
5820
5820
  Ce("Synchronise Project with GitHub");
5821
5821
  const e = await ae("package.json");
5822
- X("Bump project version"), await cs("1️⃣", e), await de("2️⃣ Stage changes", "git", ["add", "."]), await de("3️⃣ Commit changes", "git", ["commit", "-m", `"v${e.version}"`]), await de("4️⃣ Push changes", "git", ["push", "origin", "main:main"]), Ie(`Project version '${e.version}' synchronised with GitHub.`);
5822
+ X("Bump project version"), await ps("1️⃣", e), await de("2️⃣ Stage changes", "git", ["add", "."]), await de("3️⃣ Commit changes", "git", ["commit", "-m", `"v${e.version}"`]), await de("4️⃣ Push changes", "git", ["push", "origin", "main:main"]), Ie(`Project version '${e.version}' synchronised with GitHub.`);
5823
5823
  } catch (e) {
5824
5824
  console.error("❌ Error synchronising project with GitHub.", e), process.exit(1);
5825
5825
  }
5826
5826
  }
5827
- function Ra() {
5827
+ function Da() {
5828
5828
  try {
5829
5829
  Ce("Test Project"), console.error(`
5830
5830
  ❌ No tests implemented.
@@ -5833,58 +5833,61 @@ function Ra() {
5833
5833
  console.error("❌ Error testing project.", e), process.exit(1);
5834
5834
  }
5835
5835
  }
5836
- async function ua(e, t) {
5836
+ async function ha(e, t) {
5837
5837
  X(`${e} Build project configuration`);
5838
5838
  const s = await ae("config.json");
5839
- return t.name != null && (s.id = t.name.replace("@datapos/", "").replace("@data-positioning/", "")), t.version != null && (s.version = t.version), await He("config.json", s), s;
5839
+ return t.name != null && (s.id = t.name.replace("@datapos/", "").replace("@data-positioning/", "")), t.version != null && (s.version = t.version), await gt("config.json", s), s;
5840
5840
  }
5841
- async function ha(e, t) {
5841
+ async function ca(e, t) {
5842
5842
  X(`${e} Build connector project configuration`);
5843
- const [s, a] = await Promise.all([ae("config.json"), Me("src/index.ts")]), n = /* @__PURE__ */ Ht(Hs, s);
5843
+ const [s, a] = await Promise.all([ae("config.json"), Me("src/index.ts")]), n = /* @__PURE__ */ Ht($s, s);
5844
5844
  if (!n.success)
5845
5845
  throw console.error("❌ Configuration is invalid:"), console.table(n.issues), new Error("Configuration is invalid.");
5846
- const p = Zt(a), f = la(p);
5847
- return p.length > 0 ? (console.info(`ℹ️ Implements ${p.length} operations:`), console.table(p)) : console.warn("⚠️ Implements no operations."), f === "unknown" ? console.warn("⚠️ No usage identified.") : console.info(`ℹ️ Supports '${f}' usage.`), t.name != null && (s.id = t.name.replace("@datapos/", "").replace("@data-positioning/", "")), t.version != null && (s.version = t.version), s.operations = p, s.usageId = f, await He("config.json", s), s;
5846
+ const p = Zt(a), f = fa(p);
5847
+ return await ti(t, s, p, f);
5848
5848
  }
5849
- async function ca(e, t) {
5849
+ async function ti(e, t, s, a) {
5850
+ return s.length > 0 ? (console.info(`ℹ️ Implements ${s.length} operations:`), console.table(s)) : console.warn("⚠️ Implements no operations."), a === "unknown" ? console.warn("⚠️ No usage identified.") : console.info(`ℹ️ Supports '${a}' usage.`), e.name != null && (t.id = e.name.replace("@datapos/", "").replace("@data-positioning/", "")), e.version != null && (t.version = e.version), t.operations = s, t.usageId = a, await gt("config.json", t), t;
5851
+ }
5852
+ async function pa(e, t) {
5850
5853
  X(`${e} Build context project configuration`);
5851
- const [s, a] = await Promise.all([ae("config.json"), Me("src/index.ts")]), n = /* @__PURE__ */ Ht(Qs, s);
5854
+ const [s, a] = await Promise.all([ae("config.json"), Me("src/index.ts")]), n = /* @__PURE__ */ Ht(Js, s);
5852
5855
  if (!n.success)
5853
5856
  throw console.error("❌ Configuration is invalid:"), console.table(n.issues), new Error("Configuration is invalid.");
5854
5857
  const p = Zt(a);
5855
- return p.length > 0 ? (console.info(`ℹ️ Implements ${p.length} operations:`), console.table(p)) : console.warn("⚠️ Implements no operations."), t.name != null && (s.id = t.name.replace("@datapos/", "").replace("@data-positioning/", "")), t.version != null && (s.version = t.version), s.operations = p, await He("config.json", s), s;
5858
+ return await ti(t, s, p);
5856
5859
  }
5857
- async function pa(e, t) {
5860
+ async function la(e, t) {
5858
5861
  X(`${e} Build presenter project configuration`);
5859
- const [s, a] = await Promise.all([ae("config.json"), Me("src/index.ts")]), n = /* @__PURE__ */ Ht(sr, s);
5862
+ const [s, a] = await Promise.all([ae("config.json"), Me("src/index.ts")]), n = /* @__PURE__ */ Ht(rr, s);
5860
5863
  if (!n.success)
5861
5864
  throw console.error("❌ Configuration is invalid:"), console.table(n.issues), new Error("Configuration is invalid.");
5862
5865
  const p = Zt(a);
5863
- return p.length > 0 ? (console.info(`ℹ️ Implements ${p.length} operations:`), console.table(p)) : console.warn("⚠️ Implements no operations."), t.name != null && (s.id = t.name.replace("@datapos/", "").replace("@data-positioning/", "")), t.version != null && (s.version = t.version), s.operations = p, await He("config.json", s), s;
5866
+ return await ti(t, s, p);
5864
5867
  }
5865
- async function cs(e, t, s = "./") {
5868
+ async function ps(e, t, s = "./") {
5866
5869
  if (X(`${e} Bump project version`), t.version == null)
5867
- t.version = "0.0.001", console.warn(`⚠️ Project version initialised to '${t.version}'.`), await He(`${s}package.json`, t);
5870
+ t.version = "0.0.001", console.warn(`⚠️ Project version initialised to '${t.version}'.`), await gt(`${s}package.json`, t);
5868
5871
  else {
5869
5872
  const a = t.version, n = t.version.split(".");
5870
- t.version = `${n[0]}.${n[1]}.${Number(n[2]) + 1}`, console.info(`Project version bumped from '${a}' to '${t.version}'.`), await He(`${s}package.json`, t);
5873
+ t.version = `${n[0]}.${n[1]}.${Number(n[2]) + 1}`, console.info(`Project version bumped from '${a}' to '${t.version}'.`), await gt(`${s}package.json`, t);
5871
5874
  }
5872
5875
  }
5873
- function la(e) {
5876
+ function fa(e) {
5874
5877
  let t = !1, s = !1;
5875
5878
  for (const a of e)
5876
- Ss.includes(a) && (t = !0), Ts.includes(a) && (s = !0);
5879
+ Ts.includes(a) && (t = !0), Ps.includes(a) && (s = !0);
5877
5880
  return t && s ? "bidirectional" : t ? "source" : s ? "destination" : "unknown";
5878
5881
  }
5879
- const fa = {
5882
+ const da = {
5880
5883
  critical: { color: "D32F2F", label: "critical" },
5881
5884
  high: { color: "EF6C00", label: "high" },
5882
5885
  moderate: { color: "FBC02D", label: "moderate" },
5883
5886
  low: { color: "6D8C31", label: "low" },
5884
5887
  unknown: { color: "616161", label: "unknown" }
5885
5888
  // See sample badges in ~/tests/sampleBadges.md. Also included 'info' colouring.
5886
- }, da = "<!-- OWASP_BADGES_START -->", ma = "<!-- OWASP_BADGES_END -->";
5887
- async function Da() {
5889
+ }, ma = "<!-- OWASP_BADGES_START -->", ya = "<!-- OWASP_BADGES_END -->";
5890
+ async function Ma() {
5888
5891
  try {
5889
5892
  Ce("Audit Dependencies"), await ei();
5890
5893
  const e = await ae("package.json");
@@ -5897,12 +5900,12 @@ async function Da() {
5897
5900
  "--nodePackageSkipDevDependencies",
5898
5901
  "--nvdApiKey",
5899
5902
  process.env.OWASP_NVD_API_KEY ?? ""
5900
- ]), await ya("2️⃣"), await be("3️⃣ Check using 'npm audit'", "npm", ["audit"]), Ie("Dependencies audited.");
5903
+ ]), await xa("2️⃣"), await be("3️⃣ Check using 'npm audit'", "npm", ["audit"]), Ie("Dependencies audited.");
5901
5904
  } catch (e) {
5902
5905
  console.error("❌ Error auditing dependencies.", e), process.exit(1);
5903
5906
  }
5904
5907
  }
5905
- async function ya(e) {
5908
+ async function xa(e) {
5906
5909
  X(`${e} Insert OWASP Badge(s) into 'README.md'`);
5907
5910
  const t = await ae("dependency-check-reports/dependency-check-report.json"), s = { critical: 0, high: 0, moderate: 0, low: 0, unknown: 0 };
5908
5911
  for (const f of t.dependencies)
@@ -5911,34 +5914,34 @@ async function ya(e) {
5911
5914
  const v = x.severity?.toLowerCase() ?? "unknown";
5912
5915
  v in s ? s[v]++ : s.unknown++;
5913
5916
  }
5914
- const a = await xa(s), n = await Me("./README.md"), p = hs(n, a.join(" "), da, ma);
5915
- await tt("README.md", p), console.info("OWASP audit badge(s) inserted into 'README.md'");
5917
+ const a = await va(s), n = await Me("./README.md"), p = cs(n, a.join(" "), ma, ya);
5918
+ await et("README.md", p), console.info("OWASP audit badge(s) inserted into 'README.md'");
5916
5919
  }
5917
- async function xa(e) {
5920
+ async function va(e) {
5918
5921
  const t = await ae("config.json"), s = [];
5919
5922
  if (Object.values(e).reduce((n, p) => n + p, 0) === 0)
5920
5923
  console.info("No vulnerabilities found."), s.push(`[![OWASP](https://img.shields.io/badge/OWASP-passed-4CAF50)](https://data-positioning.github.io/${t.id}/dependency-check-reports/dependency-check-report.html)`);
5921
5924
  else
5922
5925
  for (const [n, p] of Object.entries(e)) {
5923
- const f = fa[n];
5926
+ const f = da[n];
5924
5927
  if (console.warn(`⚠️ ${p} ${f.label} vulnerability(ies) found.`), p === 0) continue;
5925
5928
  const x = `https://img.shields.io/badge/OWASP-${p}%20${f.label}-${f.color}`;
5926
5929
  s.push(`[![OWASP](${x})](https://data-positioning.github.io/${t.id}/dependency-check-reports/dependency-check-report.html)`);
5927
5930
  }
5928
5931
  return s;
5929
5932
  }
5930
- async function Ma() {
5933
+ async function Va() {
5931
5934
  try {
5932
5935
  Ce("Check Dependencies"), await be("1️⃣ Check using 'npm outdated'", "npm", ["outdated"], !0), await be("2️⃣ Check using 'npm-check-updates'", "npm-check-updates", ["-i"]), Ie("Dependencies checked.");
5933
5936
  } catch (e) {
5934
5937
  console.error("❌ Error checking dependencies.", e), process.exit(1);
5935
5938
  }
5936
5939
  }
5937
- const va = "<!-- DEPENDENCY_LICENSES_START -->", ga = "<!-- DEPENDENCY_LICENSES_END -->";
5938
- async function Va(e = [], t = !0) {
5940
+ const ga = "<!-- DEPENDENCY_LICENSES_START -->", ba = "<!-- DEPENDENCY_LICENSES_END -->";
5941
+ async function Fa(e = [], t = !0) {
5939
5942
  try {
5940
5943
  Ce("Document Dependencies"), await ei();
5941
- const s = e.flatMap((n) => ["--allowed", `'${n}'`]), a = Ti(new Ps(import.meta.resolve("@datapos/datapos-development/license-report-config")));
5944
+ const s = e.flatMap((n) => ["--allowed", `'${n}'`]), a = Pi(new Cs(import.meta.resolve("@datapos/datapos-development/license-report-config")));
5942
5945
  await de(
5943
5946
  "1️⃣ Generate 'licenses.json' file",
5944
5947
  "license-report",
@@ -5949,7 +5952,7 @@ async function Va(e = [], t = !0) {
5949
5952
  "license-report-recursive",
5950
5953
  ["--only=prod,peer", "--output=tree", "--recurse", "--department.value=n/a", "--licensePeriod.value=n/a", "--material.value=n/a", "--relatedTo.value=n/a"],
5951
5954
  "licenses/licenseTree.json"
5952
- ), await de("4️⃣ Check 'licenseTree.json' file", "license-report-check", ["--source", "licenses/licenseTree.json", "--output=table", ...s])) : (X("3️⃣ Skip 'licenses/licenseTree.json' file generate"), X("4️⃣ Skip 'licenses/licenseTree.json' file check")), await sa("licenses/downloads"), await de("5️⃣ Download license files", "license-downloader", [
5955
+ ), await de("4️⃣ Check 'licenseTree.json' file", "license-report-check", ["--source", "licenses/licenseTree.json", "--output=table", ...s])) : (X("3️⃣ Skip 'licenses/licenseTree.json' file generate"), X("4️⃣ Skip 'licenses/licenseTree.json' file check")), await ra("licenses/downloads"), await de("5️⃣ Download license files", "license-downloader", [
5953
5956
  "--source",
5954
5957
  "licenses/licenses.json",
5955
5958
  "--licDir",
@@ -5957,12 +5960,12 @@ async function Va(e = [], t = !0) {
5957
5960
  "--githubToken.tokenEnvVar",
5958
5961
  "GITHUB_TOKEN",
5959
5962
  "--download"
5960
- ]), await ba("6️⃣", t), Ie("Dependencies documented.");
5963
+ ]), await Sa("6️⃣", t), Ie("Dependencies documented.");
5961
5964
  } catch (s) {
5962
5965
  console.error("❌ Error documenting dependencies.", s), process.exit(1);
5963
5966
  }
5964
5967
  }
5965
- async function ba(e, t) {
5968
+ async function Sa(e, t) {
5966
5969
  X(`${e} Insert licenses into 'README.md'`);
5967
5970
  const s = await ae("licenses/licenses.json"), a = await ae("licenses/downloads/licenses.ext.json");
5968
5971
  let n = [];
@@ -5987,15 +5990,15 @@ async function ba(e, t) {
5987
5990
  |:-|:-|:-:|:-:|:-|-:|:-|
5988
5991
  `;
5989
5992
  for (const o of p) {
5990
- const T = o.installedVersion === o.remoteVersion ? o.installedVersion : `${o.installedVersion} ⚠️`, _ = o.latestRemoteModified ? Sa(o.latestRemoteModified.split("T")[0]) : "n/a", U = o.dependencyCount != null && o.dependencyCount >= 0 ? o.dependencyCount : "n/a";
5993
+ const T = o.installedVersion === o.remoteVersion ? o.installedVersion : `${o.installedVersion} ⚠️`, _ = o.latestRemoteModified ? Ta(o.latestRemoteModified.split("T")[0]) : "n/a", U = o.dependencyCount != null && o.dependencyCount >= 0 ? o.dependencyCount : "n/a";
5991
5994
  let ce;
5992
5995
  o.licenseFileLink == null || o.licenseFileLink == "" ? ce = "⚠️ No license file" : ce = `[${o.licenseFileLink.slice(Math.max(0, o.licenseFileLink.lastIndexOf("/") + 1))}](${o.licenseFileLink})`, f += `|${o.name}|${o.licenseType}|${T}|${o.remoteVersion}|${_}|${U}|${ce}|
5993
5996
  `;
5994
5997
  }
5995
- const x = await Me("./README.md"), v = hs(x, f, va, ga);
5996
- await tt("README.md", v), console.info("OWASP audit badge(s) inserted into 'README.md'"), await tt("README.md", v);
5998
+ const x = await Me("./README.md"), v = cs(x, f, ga, ba);
5999
+ await et("README.md", v), console.info("OWASP audit badge(s) inserted into 'README.md'"), await et("README.md", v);
5997
6000
  }
5998
- function Sa(e) {
6001
+ function Ta(e) {
5999
6002
  if (e == null || e === "") return "n/a";
6000
6003
  const t = e.split("T")[0];
6001
6004
  if (t == null || t === "") return "n/a";
@@ -6003,39 +6006,39 @@ function Sa(e) {
6003
6006
  let n = (a.getFullYear() - s.getFullYear()) * 12 + (a.getMonth() - s.getMonth());
6004
6007
  return a.getDate() < s.getDate() && (n -= 1), n === 0 ? `this month: ${t}` : n === 1 ? `1 month ago: ${t}` : n <= 6 ? `${n} months ago: ${t}` : n <= 12 ? `${n} months ago: ${t} ⚠️` : `${n} months ago: ${t}❗`;
6005
6008
  }
6006
- async function Fa() {
6009
+ async function ja() {
6007
6010
  try {
6008
6011
  Ce("Format Code"), await be("1️⃣ Format", "prettier", ["--write", "*.json", "*.md", "*.ts", "app/**", "src/**"]), Ie("Code formatted.");
6009
6012
  } catch (e) {
6010
6013
  console.error("❌ Error formatting code.", e), process.exit(1);
6011
6014
  }
6012
6015
  }
6013
- async function ja() {
6016
+ async function Ba() {
6014
6017
  try {
6015
6018
  Ce("Lint Code"), await be("1️⃣ Lint", "eslint", ["."]), Ie("Code linted.");
6016
6019
  } catch (e) {
6017
6020
  console.error("❌ Error linting code.", e), process.exit(1);
6018
6021
  }
6019
6022
  }
6020
- const Ta = ["1️⃣", "2️⃣", "3️⃣", "4️⃣", "5️⃣", "6️⃣", "7️⃣", "8️⃣", "9️⃣"];
6021
- async function Ba(e = []) {
6023
+ const Pa = ["1️⃣", "2️⃣", "3️⃣", "4️⃣", "5️⃣", "6️⃣", "7️⃣", "8️⃣", "9️⃣"];
6024
+ async function Ua(e = []) {
6022
6025
  try {
6023
6026
  Ce("Update '@datapos/datapos' Dependencies");
6024
6027
  for (const [t, s] of e.entries()) {
6025
- const a = Ta.at(t) ?? "🔢";
6026
- await be(`${a} Update '${s}'`, "npm", ["install", `@datapos/datapos-${s}@latest`]), s === "development" && await Pa();
6028
+ const a = Pa.at(t) ?? "🔢";
6029
+ await be(`${a} Update '${s}'`, "npm", ["install", `@datapos/datapos-${s}@latest`]), s === "development" && await Ca();
6027
6030
  }
6028
6031
  Ie("'@datapos/datapos' dependencies updated.");
6029
6032
  } catch (t) {
6030
6033
  console.error("❌ Error updating '@datapos/datapos' dependencies.", t), process.exit(1);
6031
6034
  }
6032
6035
  }
6033
- async function Pa(e) {
6034
- const t = pt.dirname(Ti(import.meta.url));
6035
- await ct(t, "../", ".editorconfig"), await ct(t, "../", ".gitattributes"), await ct(t, "../", ".markdownlint.json"), await ct(t, "../", "LICENSE");
6036
+ async function Ca(e) {
6037
+ const t = ct.dirname(Pi(import.meta.url));
6038
+ await ht(t, "../", ".editorconfig"), await ht(t, "../", ".gitattributes"), await ht(t, "../", ".markdownlint.json"), await ht(t, "../", "LICENSE");
6036
6039
  }
6037
- async function ct(e, t, s) {
6038
- const a = pt.resolve(e, `${t}${s}`), n = await Me(a), p = pt.resolve(process.cwd(), s);
6040
+ async function ht(e, t, s) {
6041
+ const a = ct.resolve(e, `${t}${s}`), n = await Me(a), p = ct.resolve(process.cwd(), s);
6039
6042
  let f;
6040
6043
  try {
6041
6044
  f = await Me(p);
@@ -6046,9 +6049,9 @@ async function ct(e, t, s) {
6046
6049
  console.info(`ℹ️ File '${s}' is already up to date.`);
6047
6050
  return;
6048
6051
  }
6049
- await tt(p, n), console.info(`ℹ️ File '${s}' synchronised.`);
6052
+ await et(p, n), console.info(`ℹ️ File '${s}' synchronised.`);
6050
6053
  }
6051
- async function Ua(e) {
6054
+ async function qa(e) {
6052
6055
  try {
6053
6056
  console.info(`🚀 Building public directory index for identifier '${e}'...`);
6054
6057
  const t = {};
@@ -6064,7 +6067,7 @@ async function Ua(e) {
6064
6067
  const _ = await he.readdir(o), U = { childCount: _.length, name: v, typeId: "folder" };
6065
6068
  f.push(U), await s(o, _);
6066
6069
  } else {
6067
- const _ = { id: xs(), lastModifiedAt: T.mtimeMs, name: v, size: T.size, typeId: "object" };
6070
+ const _ = { id: vs(), lastModifiedAt: T.mtimeMs, name: v, size: T.size, typeId: "object" };
6068
6071
  f.push(_);
6069
6072
  }
6070
6073
  } catch (T) {
@@ -6083,16 +6086,16 @@ async function Ua(e) {
6083
6086
  }
6084
6087
  }
6085
6088
  export {
6086
- Da as auditDependencies,
6087
- Ua as buildDirectoryIndex,
6088
- Na as buildProject,
6089
- Ma as checkDependencies,
6090
- Va as documentDependencies,
6091
- Fa as formatCode,
6092
- ja as lintCode,
6093
- La as releaseProject,
6094
- Oa as syncProjectWithGitHub,
6095
- Ra as testProject,
6096
- Ba as updateDataPosDependencies
6089
+ Ma as auditDependencies,
6090
+ qa as buildDirectoryIndex,
6091
+ La as buildProject,
6092
+ Va as checkDependencies,
6093
+ Fa as documentDependencies,
6094
+ ja as formatCode,
6095
+ Ba as lintCode,
6096
+ Oa as releaseProject,
6097
+ Ra as syncProjectWithGitHub,
6098
+ Da as testProject,
6099
+ Ua as updateDataPosDependencies
6097
6100
  };
6098
6101
  //# sourceMappingURL=datapos-development.es.js.map