@dpuse/dpuse-development 0.3.472 → 0.3.478

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.
@@ -36,7 +36,7 @@ function m(e, t, n) {
36
36
  };
37
37
  }
38
38
  //#endregion
39
- //#region node_modules/@datapos/datapos-shared/dist/datapos-shared-locale.es.js
39
+ //#region node_modules/@dpuse/dpuse-shared/dist/componentConfig.schema-Csigo0y4.js
40
40
  var h;
41
41
  /* @__NO_SIDE_EFFECTS__ */
42
42
  function g(e) {
@@ -400,30 +400,28 @@ function me(e, t) {
400
400
  if (r) {
401
401
  if (r.length === 1) return r[0];
402
402
  y(this, "type", e, t, { issues: /* @__PURE__ */ pe(r) }), e.typed = !0;
403
- } else {
404
- if (i?.length === 1) return i[0];
405
- y(this, "type", e, t, { issues: /* @__PURE__ */ pe(i) });
406
- }
403
+ } else if (i?.length === 1) return i[0];
404
+ else y(this, "type", e, t, { issues: /* @__PURE__ */ pe(i) });
407
405
  return e;
408
406
  }
409
407
  };
410
408
  }
411
- var he = (e) => /* @__PURE__ */ me(e.map((e) => /* @__PURE__ */ ue(e))), ge = /* @__PURE__ */ C({
409
+ var E = (e) => /* @__PURE__ */ me(e.map((e) => /* @__PURE__ */ ue(e))), he = /* @__PURE__ */ C({
412
410
  "en-au": /* @__PURE__ */ T(),
413
411
  "en-gb": /* @__PURE__ */ T(),
414
412
  "en-us": /* @__PURE__ */ T(),
415
413
  "es-es": /* @__PURE__ */ T()
416
- }), _e = /* @__PURE__ */ C({
414
+ }), ge = /* @__PURE__ */ C({
417
415
  "en-au": /* @__PURE__ */ w(/* @__PURE__ */ T()),
418
416
  "en-gb": /* @__PURE__ */ w(/* @__PURE__ */ T()),
419
417
  "en-us": /* @__PURE__ */ w(/* @__PURE__ */ T()),
420
418
  "es-es": /* @__PURE__ */ w(/* @__PURE__ */ T())
421
- }), ve = he([
419
+ }), _e = E([
422
420
  "amber",
423
421
  "green",
424
422
  "red",
425
423
  "other"
426
- ]), ye = he([
424
+ ]), ve = E([
427
425
  "alpha",
428
426
  "beta",
429
427
  "generalAvailability",
@@ -434,7 +432,7 @@ var he = (e) => /* @__PURE__ */ me(e.map((e) => /* @__PURE__ */ ue(e))), ge = /*
434
432
  "unavailable",
435
433
  "underReview"
436
434
  ]);
437
- he([
435
+ E([
438
436
  "app",
439
437
  "connector",
440
438
  "connectorConnection",
@@ -459,34 +457,32 @@ he([
459
457
  "presenterPresentation",
460
458
  "tool"
461
459
  ]);
462
- var be = {
460
+ var ye = {
463
461
  id: /* @__PURE__ */ T(),
464
- label: _e,
465
- description: _e,
462
+ label: ge,
463
+ description: ge,
466
464
  firstCreatedAt: /* @__PURE__ */ w(/* @__PURE__ */ de()),
467
465
  icon: /* @__PURE__ */ S(/* @__PURE__ */ T()),
468
466
  iconDark: /* @__PURE__ */ S(/* @__PURE__ */ T()),
469
467
  lastUpdatedAt: /* @__PURE__ */ S(/* @__PURE__ */ de()),
470
468
  status: /* @__PURE__ */ S(/* @__PURE__ */ C({
471
469
  id: /* @__PURE__ */ T(),
472
- color: ve,
470
+ color: _e,
473
471
  label: /* @__PURE__ */ T()
474
472
  })),
475
- statusId: ye
473
+ statusId: ve
476
474
  };
477
- ({ ...be });
478
- var xe = /* @__PURE__ */ C({
475
+ ({ ...ye });
476
+ var be = /* @__PURE__ */ C({
479
477
  id: /* @__PURE__ */ T(),
480
- label: _e,
481
- description: _e,
478
+ label: ge,
479
+ description: ge,
482
480
  icon: /* @__PURE__ */ S(/* @__PURE__ */ T()),
483
481
  iconDark: /* @__PURE__ */ S(/* @__PURE__ */ T()),
484
482
  order: /* @__PURE__ */ de(),
485
483
  path: /* @__PURE__ */ T()
486
484
  });
487
- //#endregion
488
- //#region node_modules/@datapos/datapos-shared/dist/moduleConfig.schema-DNq1iU4S.js
489
- he([
485
+ E([
490
486
  "app",
491
487
  "engine",
492
488
  "connector",
@@ -494,11 +490,15 @@ he([
494
490
  "presenter",
495
491
  "tool"
496
492
  ]);
497
- var Se = {
498
- ...be,
493
+ var xe = {
494
+ ...ye,
499
495
  version: /* @__PURE__ */ T()
500
- }, Ce = /* @__PURE__ */ C({
501
- authMethodId: he([
496
+ };
497
+ ({ ...xe });
498
+ //#endregion
499
+ //#region node_modules/@dpuse/dpuse-shared/dist/dpuse-shared-locale.es.js
500
+ var Se = /* @__PURE__ */ C({
501
+ authMethodId: E([
502
502
  "apiKey",
503
503
  "disabled",
504
504
  "oAuth2",
@@ -507,15 +507,15 @@ var Se = {
507
507
  activeConnectionCount: /* @__PURE__ */ w(/* @__PURE__ */ de()),
508
508
  canDescribe: /* @__PURE__ */ w(/* @__PURE__ */ le()),
509
509
  id: /* @__PURE__ */ w(/* @__PURE__ */ T()),
510
- label: /* @__PURE__ */ w(ge),
510
+ label: /* @__PURE__ */ w(he),
511
511
  maxConnectionCount: /* @__PURE__ */ S(/* @__PURE__ */ de()),
512
512
  params: /* @__PURE__ */ w(/* @__PURE__ */ ce(/* @__PURE__ */ fe(/* @__PURE__ */ T(), /* @__PURE__ */ T())))
513
- }), we = he([
513
+ }), Ce = E([
514
514
  "application",
515
515
  "curatedDataset",
516
516
  "database",
517
517
  "fileStore"
518
- ]), Te = he([
518
+ ]), we = E([
519
519
  "abortOperation",
520
520
  "auditObjectContent",
521
521
  "authenticateConnection",
@@ -531,68 +531,68 @@ var Se = {
531
531
  "retrieveChunks",
532
532
  "retrieveRecords",
533
533
  "upsertRecords"
534
- ]), Ee = he([
534
+ ]), Te = E([
535
535
  "bidirectional",
536
536
  "destination",
537
537
  "source",
538
538
  "unknown"
539
- ]), De = /* @__PURE__ */ C({
539
+ ]), Ee = /* @__PURE__ */ C({
540
540
  id: /* @__PURE__ */ T(),
541
- label: _e
542
- }), Oe = /* @__PURE__ */ C({
543
- ...Se,
541
+ label: ge
542
+ }), De = /* @__PURE__ */ C({
543
+ ...xe,
544
544
  typeId: /* @__PURE__ */ ue("connector"),
545
- category: /* @__PURE__ */ S(De),
546
- categoryId: we,
547
- implementations: /* @__PURE__ */ fe(/* @__PURE__ */ T(), Ce),
548
- operations: /* @__PURE__ */ ce(Te),
549
- usageId: Ee,
545
+ category: /* @__PURE__ */ S(Ee),
546
+ categoryId: Ce,
547
+ implementations: /* @__PURE__ */ fe(/* @__PURE__ */ T(), Se),
548
+ operations: /* @__PURE__ */ ce(we),
549
+ usageId: Te,
550
550
  vendorAccountURL: /* @__PURE__ */ S(/* @__PURE__ */ T()),
551
551
  vendorDocumentationURL: /* @__PURE__ */ S(/* @__PURE__ */ T()),
552
552
  vendorHomeURL: /* @__PURE__ */ S(/* @__PURE__ */ T())
553
- }), ke = he(["list"]), Ae = /* @__PURE__ */ C({
554
- ...be,
553
+ }), Oe = E(["list"]), ke = /* @__PURE__ */ C({
554
+ ...ye,
555
555
  typeId: /* @__PURE__ */ ue("contextModelGroup"),
556
- modelRefs: /* @__PURE__ */ ce(xe),
556
+ modelRefs: /* @__PURE__ */ ce(be),
557
557
  order: /* @__PURE__ */ de()
558
- }), je = /* @__PURE__ */ C({
559
- ...Se,
558
+ }), Ae = /* @__PURE__ */ C({
559
+ ...xe,
560
560
  typeId: /* @__PURE__ */ ue("context"),
561
- models: /* @__PURE__ */ ce(Ae),
562
- operations: /* @__PURE__ */ ce(ke)
563
- }), Me = he([
561
+ models: /* @__PURE__ */ ce(ke),
562
+ operations: /* @__PURE__ */ ce(Oe)
563
+ }), je = E([
564
564
  "list",
565
565
  "render",
566
566
  "setColorMode"
567
- ]), Ne = /* @__PURE__ */ C({
568
- ...Se,
567
+ ]), Me = /* @__PURE__ */ C({
568
+ ...xe,
569
569
  typeId: /* @__PURE__ */ ue("presenter"),
570
- presentations: /* @__PURE__ */ ce(xe),
571
- operations: /* @__PURE__ */ ce(Me)
572
- }), Pe = /* @__PURE__ */ l({
573
- Node: () => Xt,
574
- Parser: () => F,
575
- Position: () => st,
576
- SourceLocation: () => ct,
577
- TokContext: () => B,
578
- Token: () => Wn,
579
- TokenType: () => D,
580
- defaultOptions: () => ut,
581
- getLineInfo: () => lt,
582
- isIdentifierChar: () => Ke,
583
- isIdentifierStart: () => E,
584
- isNewLine: () => Ye,
585
- keywordTypes: () => qe,
586
- lineBreak: () => N,
587
- lineBreakG: () => Je,
588
- nonASCIIwhitespace: () => Ze,
589
- parse: () => Yn,
590
- parseExpressionAt: () => Xn,
591
- tokContexts: () => V,
592
- tokTypes: () => M,
593
- tokenizer: () => Zn,
594
- version: () => Jn
595
- }), Fe = [
570
+ presentations: /* @__PURE__ */ ce(be),
571
+ operations: /* @__PURE__ */ ce(je)
572
+ }), Ne = /* @__PURE__ */ l({
573
+ Node: () => Yt,
574
+ Parser: () => I,
575
+ Position: () => ot,
576
+ SourceLocation: () => st,
577
+ TokContext: () => V,
578
+ Token: () => Un,
579
+ TokenType: () => O,
580
+ defaultOptions: () => lt,
581
+ getLineInfo: () => ct,
582
+ isIdentifierChar: () => Ge,
583
+ isIdentifierStart: () => D,
584
+ isNewLine: () => Je,
585
+ keywordTypes: () => Ke,
586
+ lineBreak: () => P,
587
+ lineBreakG: () => qe,
588
+ nonASCIIwhitespace: () => Xe,
589
+ parse: () => Jn,
590
+ parseExpressionAt: () => Yn,
591
+ tokContexts: () => H,
592
+ tokTypes: () => N,
593
+ tokenizer: () => Xn,
594
+ version: () => qn
595
+ }), Pe = [
596
596
  509,
597
597
  0,
598
598
  227,
@@ -923,7 +923,7 @@ var Se = {
923
923
  9,
924
924
  787719,
925
925
  239
926
- ], Ie = [
926
+ ], Fe = [
927
927
  0,
928
928
  11,
929
929
  2,
@@ -1542,216 +1542,216 @@ var Se = {
1542
1542
  4938,
1543
1543
  6,
1544
1544
  8489
1545
- ], Le = "‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-᫝᫠-᫫ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・", Re = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-࢏ࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚ౜ౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽ೜-ೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-Ƛ꟱-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", ze = {
1545
+ ], Ie = "‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-᫝᫠-᫫ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・", Le = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-࢏ࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚ౜ౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽ೜-ೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-Ƛ꟱-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", Re = {
1546
1546
  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",
1547
1547
  5: "class enum extends super const export import",
1548
1548
  6: "enum",
1549
1549
  strict: "implements interface let package private protected public static yield",
1550
1550
  strictBind: "eval arguments"
1551
- }, Be = "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", Ve = {
1552
- 5: Be,
1553
- "5module": Be + " export import",
1554
- 6: Be + " const class extends export import super"
1555
- }, He = /^in(stanceof)?$/, Ue = RegExp("[" + Re + "]"), We = RegExp("[" + Re + Le + "]");
1556
- function Ge(e, t) {
1551
+ }, ze = "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", Be = {
1552
+ 5: ze,
1553
+ "5module": ze + " export import",
1554
+ 6: ze + " const class extends export import super"
1555
+ }, Ve = /^in(stanceof)?$/, He = RegExp("[" + Le + "]"), Ue = RegExp("[" + Le + Ie + "]");
1556
+ function We(e, t) {
1557
1557
  for (var n = 65536, r = 0; r < t.length; r += 2) {
1558
1558
  if (n += t[r], n > e) return !1;
1559
1559
  if (n += t[r + 1], n >= e) return !0;
1560
1560
  }
1561
1561
  return !1;
1562
1562
  }
1563
- function E(e, t) {
1564
- return e < 65 ? e === 36 : e < 91 ? !0 : e < 97 ? e === 95 : e < 123 ? !0 : e <= 65535 ? e >= 170 && Ue.test(String.fromCharCode(e)) : t === !1 ? !1 : Ge(e, Ie);
1563
+ function D(e, t) {
1564
+ return e < 65 ? e === 36 : e < 91 ? !0 : e < 97 ? e === 95 : e < 123 ? !0 : e <= 65535 ? e >= 170 && He.test(String.fromCharCode(e)) : t === !1 ? !1 : We(e, Fe);
1565
1565
  }
1566
- function Ke(e, t) {
1567
- 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 && We.test(String.fromCharCode(e)) : t === !1 ? !1 : Ge(e, Ie) || Ge(e, Fe);
1566
+ function Ge(e, t) {
1567
+ 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 && Ue.test(String.fromCharCode(e)) : t === !1 ? !1 : We(e, Fe) || We(e, Pe);
1568
1568
  }
1569
- var D = function(e, t) {
1569
+ var O = function(e, t) {
1570
1570
  t === void 0 && (t = {}), this.label = e, this.keyword = t.keyword, this.beforeExpr = !!t.beforeExpr, this.startsExpr = !!t.startsExpr, this.isLoop = !!t.isLoop, this.isAssign = !!t.isAssign, this.prefix = !!t.prefix, this.postfix = !!t.postfix, this.binop = t.binop || null, this.updateContext = null;
1571
1571
  };
1572
- function O(e, t) {
1573
- return new D(e, {
1572
+ function k(e, t) {
1573
+ return new O(e, {
1574
1574
  beforeExpr: !0,
1575
1575
  binop: t
1576
1576
  });
1577
1577
  }
1578
- var k = { beforeExpr: !0 }, A = { startsExpr: !0 }, qe = {};
1579
- function j(e, t) {
1580
- return t === void 0 && (t = {}), t.keyword = e, qe[e] = new D(e, t);
1581
- }
1582
- var M = {
1583
- num: new D("num", A),
1584
- regexp: new D("regexp", A),
1585
- string: new D("string", A),
1586
- name: new D("name", A),
1587
- privateId: new D("privateId", A),
1588
- eof: new D("eof"),
1589
- bracketL: new D("[", {
1578
+ var A = { beforeExpr: !0 }, j = { startsExpr: !0 }, Ke = {};
1579
+ function M(e, t) {
1580
+ return t === void 0 && (t = {}), t.keyword = e, Ke[e] = new O(e, t);
1581
+ }
1582
+ var N = {
1583
+ num: new O("num", j),
1584
+ regexp: new O("regexp", j),
1585
+ string: new O("string", j),
1586
+ name: new O("name", j),
1587
+ privateId: new O("privateId", j),
1588
+ eof: new O("eof"),
1589
+ bracketL: new O("[", {
1590
1590
  beforeExpr: !0,
1591
1591
  startsExpr: !0
1592
1592
  }),
1593
- bracketR: new D("]"),
1594
- braceL: new D("{", {
1593
+ bracketR: new O("]"),
1594
+ braceL: new O("{", {
1595
1595
  beforeExpr: !0,
1596
1596
  startsExpr: !0
1597
1597
  }),
1598
- braceR: new D("}"),
1599
- parenL: new D("(", {
1598
+ braceR: new O("}"),
1599
+ parenL: new O("(", {
1600
1600
  beforeExpr: !0,
1601
1601
  startsExpr: !0
1602
1602
  }),
1603
- parenR: new D(")"),
1604
- comma: new D(",", k),
1605
- semi: new D(";", k),
1606
- colon: new D(":", k),
1607
- dot: new D("."),
1608
- question: new D("?", k),
1609
- questionDot: new D("?."),
1610
- arrow: new D("=>", k),
1611
- template: new D("template"),
1612
- invalidTemplate: new D("invalidTemplate"),
1613
- ellipsis: new D("...", k),
1614
- backQuote: new D("`", A),
1615
- dollarBraceL: new D("${", {
1603
+ parenR: new O(")"),
1604
+ comma: new O(",", A),
1605
+ semi: new O(";", A),
1606
+ colon: new O(":", A),
1607
+ dot: new O("."),
1608
+ question: new O("?", A),
1609
+ questionDot: new O("?."),
1610
+ arrow: new O("=>", A),
1611
+ template: new O("template"),
1612
+ invalidTemplate: new O("invalidTemplate"),
1613
+ ellipsis: new O("...", A),
1614
+ backQuote: new O("`", j),
1615
+ dollarBraceL: new O("${", {
1616
1616
  beforeExpr: !0,
1617
1617
  startsExpr: !0
1618
1618
  }),
1619
- eq: new D("=", {
1619
+ eq: new O("=", {
1620
1620
  beforeExpr: !0,
1621
1621
  isAssign: !0
1622
1622
  }),
1623
- assign: new D("_=", {
1623
+ assign: new O("_=", {
1624
1624
  beforeExpr: !0,
1625
1625
  isAssign: !0
1626
1626
  }),
1627
- incDec: new D("++/--", {
1627
+ incDec: new O("++/--", {
1628
1628
  prefix: !0,
1629
1629
  postfix: !0,
1630
1630
  startsExpr: !0
1631
1631
  }),
1632
- prefix: new D("!/~", {
1632
+ prefix: new O("!/~", {
1633
1633
  beforeExpr: !0,
1634
1634
  prefix: !0,
1635
1635
  startsExpr: !0
1636
1636
  }),
1637
- logicalOR: O("||", 1),
1638
- logicalAND: O("&&", 2),
1639
- bitwiseOR: O("|", 3),
1640
- bitwiseXOR: O("^", 4),
1641
- bitwiseAND: O("&", 5),
1642
- equality: O("==/!=/===/!==", 6),
1643
- relational: O("</>/<=/>=", 7),
1644
- bitShift: O("<</>>/>>>", 8),
1645
- plusMin: new D("+/-", {
1637
+ logicalOR: k("||", 1),
1638
+ logicalAND: k("&&", 2),
1639
+ bitwiseOR: k("|", 3),
1640
+ bitwiseXOR: k("^", 4),
1641
+ bitwiseAND: k("&", 5),
1642
+ equality: k("==/!=/===/!==", 6),
1643
+ relational: k("</>/<=/>=", 7),
1644
+ bitShift: k("<</>>/>>>", 8),
1645
+ plusMin: new O("+/-", {
1646
1646
  beforeExpr: !0,
1647
1647
  binop: 9,
1648
1648
  prefix: !0,
1649
1649
  startsExpr: !0
1650
1650
  }),
1651
- modulo: O("%", 10),
1652
- star: O("*", 10),
1653
- slash: O("/", 10),
1654
- starstar: new D("**", { beforeExpr: !0 }),
1655
- coalesce: O("??", 1),
1656
- _break: j("break"),
1657
- _case: j("case", k),
1658
- _catch: j("catch"),
1659
- _continue: j("continue"),
1660
- _debugger: j("debugger"),
1661
- _default: j("default", k),
1662
- _do: j("do", {
1651
+ modulo: k("%", 10),
1652
+ star: k("*", 10),
1653
+ slash: k("/", 10),
1654
+ starstar: new O("**", { beforeExpr: !0 }),
1655
+ coalesce: k("??", 1),
1656
+ _break: M("break"),
1657
+ _case: M("case", A),
1658
+ _catch: M("catch"),
1659
+ _continue: M("continue"),
1660
+ _debugger: M("debugger"),
1661
+ _default: M("default", A),
1662
+ _do: M("do", {
1663
1663
  isLoop: !0,
1664
1664
  beforeExpr: !0
1665
1665
  }),
1666
- _else: j("else", k),
1667
- _finally: j("finally"),
1668
- _for: j("for", { isLoop: !0 }),
1669
- _function: j("function", A),
1670
- _if: j("if"),
1671
- _return: j("return", k),
1672
- _switch: j("switch"),
1673
- _throw: j("throw", k),
1674
- _try: j("try"),
1675
- _var: j("var"),
1676
- _const: j("const"),
1677
- _while: j("while", { isLoop: !0 }),
1678
- _with: j("with"),
1679
- _new: j("new", {
1666
+ _else: M("else", A),
1667
+ _finally: M("finally"),
1668
+ _for: M("for", { isLoop: !0 }),
1669
+ _function: M("function", j),
1670
+ _if: M("if"),
1671
+ _return: M("return", A),
1672
+ _switch: M("switch"),
1673
+ _throw: M("throw", A),
1674
+ _try: M("try"),
1675
+ _var: M("var"),
1676
+ _const: M("const"),
1677
+ _while: M("while", { isLoop: !0 }),
1678
+ _with: M("with"),
1679
+ _new: M("new", {
1680
1680
  beforeExpr: !0,
1681
1681
  startsExpr: !0
1682
1682
  }),
1683
- _this: j("this", A),
1684
- _super: j("super", A),
1685
- _class: j("class", A),
1686
- _extends: j("extends", k),
1687
- _export: j("export"),
1688
- _import: j("import", A),
1689
- _null: j("null", A),
1690
- _true: j("true", A),
1691
- _false: j("false", A),
1692
- _in: j("in", {
1683
+ _this: M("this", j),
1684
+ _super: M("super", j),
1685
+ _class: M("class", j),
1686
+ _extends: M("extends", A),
1687
+ _export: M("export"),
1688
+ _import: M("import", j),
1689
+ _null: M("null", j),
1690
+ _true: M("true", j),
1691
+ _false: M("false", j),
1692
+ _in: M("in", {
1693
1693
  beforeExpr: !0,
1694
1694
  binop: 7
1695
1695
  }),
1696
- _instanceof: j("instanceof", {
1696
+ _instanceof: M("instanceof", {
1697
1697
  beforeExpr: !0,
1698
1698
  binop: 7
1699
1699
  }),
1700
- _typeof: j("typeof", {
1700
+ _typeof: M("typeof", {
1701
1701
  beforeExpr: !0,
1702
1702
  prefix: !0,
1703
1703
  startsExpr: !0
1704
1704
  }),
1705
- _void: j("void", {
1705
+ _void: M("void", {
1706
1706
  beforeExpr: !0,
1707
1707
  prefix: !0,
1708
1708
  startsExpr: !0
1709
1709
  }),
1710
- _delete: j("delete", {
1710
+ _delete: M("delete", {
1711
1711
  beforeExpr: !0,
1712
1712
  prefix: !0,
1713
1713
  startsExpr: !0
1714
1714
  })
1715
- }, N = /\r\n?|\n|\u2028|\u2029/, Je = new RegExp(N.source, "g");
1716
- function Ye(e) {
1715
+ }, P = /\r\n?|\n|\u2028|\u2029/, qe = new RegExp(P.source, "g");
1716
+ function Je(e) {
1717
1717
  return e === 10 || e === 13 || e === 8232 || e === 8233;
1718
1718
  }
1719
- function Xe(e, t, n) {
1719
+ function Ye(e, t, n) {
1720
1720
  n === void 0 && (n = e.length);
1721
1721
  for (var r = t; r < n; r++) {
1722
1722
  var i = e.charCodeAt(r);
1723
- if (Ye(i)) return r < n - 1 && i === 13 && e.charCodeAt(r + 1) === 10 ? r + 2 : r + 1;
1723
+ if (Je(i)) return r < n - 1 && i === 13 && e.charCodeAt(r + 1) === 10 ? r + 2 : r + 1;
1724
1724
  }
1725
1725
  return -1;
1726
1726
  }
1727
- var Ze = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/, P = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, Qe = Object.prototype, $e = Qe.hasOwnProperty, et = Qe.toString, tt = Object.hasOwn || (function(e, t) {
1728
- return $e.call(e, t);
1729
- }), nt = Array.isArray || (function(e) {
1730
- return et.call(e) === "[object Array]";
1731
- }), rt = Object.create(null);
1732
- function it(e) {
1733
- return rt[e] || (rt[e] = RegExp("^(?:" + e.replace(/ /g, "|") + ")$"));
1727
+ var Xe = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/, F = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, Ze = Object.prototype, Qe = Ze.hasOwnProperty, $e = Ze.toString, et = Object.hasOwn || (function(e, t) {
1728
+ return Qe.call(e, t);
1729
+ }), tt = Array.isArray || (function(e) {
1730
+ return $e.call(e) === "[object Array]";
1731
+ }), nt = Object.create(null);
1732
+ function rt(e) {
1733
+ return nt[e] || (nt[e] = RegExp("^(?:" + e.replace(/ /g, "|") + ")$"));
1734
1734
  }
1735
- function at(e) {
1735
+ function it(e) {
1736
1736
  return e <= 65535 ? String.fromCharCode(e) : (e -= 65536, String.fromCharCode((e >> 10) + 55296, (e & 1023) + 56320));
1737
1737
  }
1738
- var ot = /(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/, st = function(e, t) {
1738
+ var at = /(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/, ot = function(e, t) {
1739
1739
  this.line = e, this.column = t;
1740
1740
  };
1741
- st.prototype.offset = function(e) {
1742
- return new st(this.line, this.column + e);
1741
+ ot.prototype.offset = function(e) {
1742
+ return new ot(this.line, this.column + e);
1743
1743
  };
1744
- var ct = function(e, t, n) {
1744
+ var st = function(e, t, n) {
1745
1745
  this.start = t, this.end = n, e.sourceFile !== null && (this.source = e.sourceFile);
1746
1746
  };
1747
- function lt(e, t) {
1747
+ function ct(e, t) {
1748
1748
  for (var n = 1, r = 0;;) {
1749
- var i = Xe(e, r, t);
1750
- if (i < 0) return new st(n, t - r);
1749
+ var i = Ye(e, r, t);
1750
+ if (i < 0) return new ot(n, t - r);
1751
1751
  ++n, r = i;
1752
1752
  }
1753
1753
  }
1754
- var ut = {
1754
+ var lt = {
1755
1755
  ecmaVersion: null,
1756
1756
  sourceType: "script",
1757
1757
  onInsertedSemicolon: null,
@@ -1771,20 +1771,20 @@ var ut = {
1771
1771
  sourceFile: null,
1772
1772
  directSourceFile: null,
1773
1773
  preserveParens: !1
1774
- }, dt = !1;
1775
- function ft(e) {
1774
+ }, ut = !1;
1775
+ function dt(e) {
1776
1776
  var t = {};
1777
- for (var n in ut) t[n] = e && tt(e, n) ? e[n] : ut[n];
1778
- if (t.ecmaVersion === "latest" ? t.ecmaVersion = 1e8 : t.ecmaVersion == null ? (!dt && typeof console == "object" && console.warn && (dt = !0, console.warn("Since Acorn 8.0.0, options.ecmaVersion is required.\nDefaulting to 2020, but this will stop working in the future.")), t.ecmaVersion = 11) : t.ecmaVersion >= 2015 && (t.ecmaVersion -= 2009), t.allowReserved ??= t.ecmaVersion < 5, (!e || e.allowHashBang == null) && (t.allowHashBang = t.ecmaVersion >= 14), nt(t.onToken)) {
1777
+ for (var n in lt) t[n] = e && et(e, n) ? e[n] : lt[n];
1778
+ if (t.ecmaVersion === "latest" ? t.ecmaVersion = 1e8 : t.ecmaVersion == null ? (!ut && typeof console == "object" && console.warn && (ut = !0, console.warn("Since Acorn 8.0.0, options.ecmaVersion is required.\nDefaulting to 2020, but this will stop working in the future.")), t.ecmaVersion = 11) : t.ecmaVersion >= 2015 && (t.ecmaVersion -= 2009), t.allowReserved ??= t.ecmaVersion < 5, (!e || e.allowHashBang == null) && (t.allowHashBang = t.ecmaVersion >= 14), tt(t.onToken)) {
1779
1779
  var r = t.onToken;
1780
1780
  t.onToken = function(e) {
1781
1781
  return r.push(e);
1782
1782
  };
1783
1783
  }
1784
- if (nt(t.onComment) && (t.onComment = pt(t, t.onComment)), t.sourceType === "commonjs" && t.allowAwaitOutsideFunction) throw Error("Cannot use allowAwaitOutsideFunction with sourceType: commonjs");
1784
+ if (tt(t.onComment) && (t.onComment = ft(t, t.onComment)), t.sourceType === "commonjs" && t.allowAwaitOutsideFunction) throw Error("Cannot use allowAwaitOutsideFunction with sourceType: commonjs");
1785
1785
  return t;
1786
1786
  }
1787
- function pt(e, t) {
1787
+ function ft(e, t) {
1788
1788
  return function(n, r, i, a, o, s) {
1789
1789
  var c = {
1790
1790
  type: n ? "Block" : "Line",
@@ -1792,20 +1792,20 @@ function pt(e, t) {
1792
1792
  start: i,
1793
1793
  end: a
1794
1794
  };
1795
- e.locations && (c.loc = new ct(this, o, s)), e.ranges && (c.range = [i, a]), t.push(c);
1795
+ e.locations && (c.loc = new st(this, o, s)), e.ranges && (c.range = [i, a]), t.push(c);
1796
1796
  };
1797
1797
  }
1798
- var mt = 1, ht = 2, gt = 4, _t = 8, vt = 16, yt = 32, bt = 64, xt = 128, St = 256, Ct = 512, wt = 1024, Tt = mt | ht | St;
1799
- function Et(e, t) {
1800
- return ht | (e ? gt : 0) | (t ? _t : 0);
1798
+ var pt = 1, mt = 2, ht = 4, gt = 8, _t = 16, vt = 32, yt = 64, bt = 128, xt = 256, St = 512, Ct = 1024, wt = pt | mt | xt;
1799
+ function Tt(e, t) {
1800
+ return mt | (e ? ht : 0) | (t ? gt : 0);
1801
1801
  }
1802
- var Dt = 0, Ot = 1, kt = 2, At = 3, jt = 4, Mt = 5, F = function(e, t, n) {
1803
- this.options = e = ft(e), this.sourceFile = e.sourceFile, this.keywords = it(Ve[e.ecmaVersion >= 6 ? 6 : e.sourceType === "module" ? "5module" : 5]);
1802
+ var Et = 0, Dt = 1, Ot = 2, kt = 3, At = 4, jt = 5, I = function(e, t, n) {
1803
+ this.options = e = dt(e), this.sourceFile = e.sourceFile, this.keywords = rt(Be[e.ecmaVersion >= 6 ? 6 : e.sourceType === "module" ? "5module" : 5]);
1804
1804
  var r = "";
1805
- e.allowReserved !== !0 && (r = ze[e.ecmaVersion >= 6 ? 6 : e.ecmaVersion === 5 ? 5 : 3], e.sourceType === "module" && (r += " await")), this.reservedWords = it(r);
1806
- var i = (r ? r + " " : "") + ze.strict;
1807
- this.reservedWordsStrict = it(i), this.reservedWordsStrictBind = it(i + " " + ze.strictBind), this.input = String(t), this.containsEsc = !1, n ? (this.pos = n, this.lineStart = this.input.lastIndexOf("\n", n - 1) + 1, this.curLine = this.input.slice(0, this.lineStart).split(N).length) : (this.pos = this.lineStart = 0, this.curLine = 1), this.type = M.eof, this.value = null, this.start = this.end = this.pos, this.startLoc = this.endLoc = this.curPosition(), this.lastTokEndLoc = this.lastTokStartLoc = null, this.lastTokStart = this.lastTokEnd = this.pos, this.context = this.initialContext(), this.exprAllowed = !0, this.inModule = e.sourceType === "module", this.strict = this.inModule || this.strictDirective(this.pos), this.potentialArrowAt = -1, this.potentialArrowInForAwait = !1, this.yieldPos = this.awaitPos = this.awaitIdentPos = 0, this.labels = [], this.undefinedExports = Object.create(null), this.pos === 0 && e.allowHashBang && this.input.slice(0, 2) === "#!" && this.skipLineComment(2), this.scopeStack = [], this.enterScope(this.options.sourceType === "commonjs" ? ht : mt), this.regexpState = null, this.privateNameStack = [];
1808
- }, I = {
1805
+ e.allowReserved !== !0 && (r = Re[e.ecmaVersion >= 6 ? 6 : e.ecmaVersion === 5 ? 5 : 3], e.sourceType === "module" && (r += " await")), this.reservedWords = rt(r);
1806
+ var i = (r ? r + " " : "") + Re.strict;
1807
+ this.reservedWordsStrict = rt(i), this.reservedWordsStrictBind = rt(i + " " + Re.strictBind), this.input = String(t), this.containsEsc = !1, n ? (this.pos = n, this.lineStart = this.input.lastIndexOf("\n", n - 1) + 1, this.curLine = this.input.slice(0, this.lineStart).split(P).length) : (this.pos = this.lineStart = 0, this.curLine = 1), this.type = N.eof, this.value = null, this.start = this.end = this.pos, this.startLoc = this.endLoc = this.curPosition(), this.lastTokEndLoc = this.lastTokStartLoc = null, this.lastTokStart = this.lastTokEnd = this.pos, this.context = this.initialContext(), this.exprAllowed = !0, this.inModule = e.sourceType === "module", this.strict = this.inModule || this.strictDirective(this.pos), this.potentialArrowAt = -1, this.potentialArrowInForAwait = !1, this.yieldPos = this.awaitPos = this.awaitIdentPos = 0, this.labels = [], this.undefinedExports = Object.create(null), this.pos === 0 && e.allowHashBang && this.input.slice(0, 2) === "#!" && this.skipLineComment(2), this.scopeStack = [], this.enterScope(this.options.sourceType === "commonjs" ? mt : pt), this.regexpState = null, this.privateNameStack = [];
1808
+ }, L = {
1809
1809
  inFunction: { configurable: !0 },
1810
1810
  inGenerator: { configurable: !0 },
1811
1811
  inAsync: { configurable: !0 },
@@ -1818,111 +1818,111 @@ var Dt = 0, Ot = 1, kt = 2, At = 3, jt = 4, Mt = 5, F = function(e, t, n) {
1818
1818
  allowUsing: { configurable: !0 },
1819
1819
  inClassStaticBlock: { configurable: !0 }
1820
1820
  };
1821
- F.prototype.parse = function() {
1821
+ I.prototype.parse = function() {
1822
1822
  var e = this.options.program || this.startNode();
1823
1823
  return this.nextToken(), this.parseTopLevel(e);
1824
- }, I.inFunction.get = function() {
1825
- return (this.currentVarScope().flags & ht) > 0;
1826
- }, I.inGenerator.get = function() {
1827
- return (this.currentVarScope().flags & _t) > 0;
1828
- }, I.inAsync.get = function() {
1824
+ }, L.inFunction.get = function() {
1825
+ return (this.currentVarScope().flags & mt) > 0;
1826
+ }, L.inGenerator.get = function() {
1829
1827
  return (this.currentVarScope().flags & gt) > 0;
1830
- }, I.canAwait.get = function() {
1828
+ }, L.inAsync.get = function() {
1829
+ return (this.currentVarScope().flags & ht) > 0;
1830
+ }, L.canAwait.get = function() {
1831
1831
  for (var e = this.scopeStack.length - 1; e >= 0; e--) {
1832
1832
  var t = this.scopeStack[e].flags;
1833
- if (t & (St | Ct)) return !1;
1834
- if (t & ht) return (t & gt) > 0;
1833
+ if (t & (xt | St)) return !1;
1834
+ if (t & mt) return (t & ht) > 0;
1835
1835
  }
1836
1836
  return this.inModule && this.options.ecmaVersion >= 13 || this.options.allowAwaitOutsideFunction;
1837
- }, I.allowReturn.get = function() {
1838
- return !!(this.inFunction || this.options.allowReturnOutsideFunction && this.currentVarScope().flags & mt);
1839
- }, I.allowSuper.get = function() {
1840
- return (this.currentThisScope().flags & bt) > 0 || this.options.allowSuperOutsideMethod;
1841
- }, I.allowDirectSuper.get = function() {
1842
- return (this.currentThisScope().flags & xt) > 0;
1843
- }, I.treatFunctionsAsVar.get = function() {
1837
+ }, L.allowReturn.get = function() {
1838
+ return !!(this.inFunction || this.options.allowReturnOutsideFunction && this.currentVarScope().flags & pt);
1839
+ }, L.allowSuper.get = function() {
1840
+ return (this.currentThisScope().flags & yt) > 0 || this.options.allowSuperOutsideMethod;
1841
+ }, L.allowDirectSuper.get = function() {
1842
+ return (this.currentThisScope().flags & bt) > 0;
1843
+ }, L.treatFunctionsAsVar.get = function() {
1844
1844
  return this.treatFunctionsAsVarInScope(this.currentScope());
1845
- }, I.allowNewDotTarget.get = function() {
1845
+ }, L.allowNewDotTarget.get = function() {
1846
1846
  for (var e = this.scopeStack.length - 1; e >= 0; e--) {
1847
1847
  var t = this.scopeStack[e].flags;
1848
- if (t & (St | Ct) || t & ht && !(t & vt)) return !0;
1848
+ if (t & (xt | St) || t & mt && !(t & _t)) return !0;
1849
1849
  }
1850
1850
  return !1;
1851
- }, I.allowUsing.get = function() {
1851
+ }, L.allowUsing.get = function() {
1852
1852
  var e = this.currentScope().flags;
1853
- return !(e & wt || !this.inModule && e & mt);
1854
- }, I.inClassStaticBlock.get = function() {
1855
- return (this.currentVarScope().flags & St) > 0;
1856
- }, F.extend = function() {
1853
+ return !(e & Ct || !this.inModule && e & pt);
1854
+ }, L.inClassStaticBlock.get = function() {
1855
+ return (this.currentVarScope().flags & xt) > 0;
1856
+ }, I.extend = function() {
1857
1857
  for (var e = [], t = arguments.length; t--;) e[t] = arguments[t];
1858
1858
  for (var n = this, r = 0; r < e.length; r++) n = e[r](n);
1859
1859
  return n;
1860
- }, F.parse = function(e, t) {
1860
+ }, I.parse = function(e, t) {
1861
1861
  return new this(t, e).parse();
1862
- }, F.parseExpressionAt = function(e, t, n) {
1862
+ }, I.parseExpressionAt = function(e, t, n) {
1863
1863
  var r = new this(n, e, t);
1864
1864
  return r.nextToken(), r.parseExpression();
1865
- }, F.tokenizer = function(e, t) {
1865
+ }, I.tokenizer = function(e, t) {
1866
1866
  return new this(t, e);
1867
- }, Object.defineProperties(F.prototype, I);
1868
- var L = F.prototype, Nt = /^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;
1869
- L.strictDirective = function(e) {
1867
+ }, Object.defineProperties(I.prototype, L);
1868
+ var R = I.prototype, Mt = /^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;
1869
+ R.strictDirective = function(e) {
1870
1870
  if (this.options.ecmaVersion < 5) return !1;
1871
1871
  for (;;) {
1872
- P.lastIndex = e, e += P.exec(this.input)[0].length;
1873
- var t = Nt.exec(this.input.slice(e));
1872
+ F.lastIndex = e, e += F.exec(this.input)[0].length;
1873
+ var t = Mt.exec(this.input.slice(e));
1874
1874
  if (!t) return !1;
1875
1875
  if ((t[1] || t[2]) === "use strict") {
1876
- P.lastIndex = e + t[0].length;
1877
- var n = P.exec(this.input), r = n.index + n[0].length, i = this.input.charAt(r);
1878
- return i === ";" || i === "}" || N.test(n[0]) && !(/[(`.[+\-/*%<>=,?^&]/.test(i) || i === "!" && this.input.charAt(r + 1) === "=");
1876
+ F.lastIndex = e + t[0].length;
1877
+ var n = F.exec(this.input), r = n.index + n[0].length, i = this.input.charAt(r);
1878
+ return i === ";" || i === "}" || P.test(n[0]) && !(/[(`.[+\-/*%<>=,?^&]/.test(i) || i === "!" && this.input.charAt(r + 1) === "=");
1879
1879
  }
1880
- e += t[0].length, P.lastIndex = e, e += P.exec(this.input)[0].length, this.input[e] === ";" && e++;
1880
+ e += t[0].length, F.lastIndex = e, e += F.exec(this.input)[0].length, this.input[e] === ";" && e++;
1881
1881
  }
1882
- }, L.eat = function(e) {
1882
+ }, R.eat = function(e) {
1883
1883
  return this.type === e ? (this.next(), !0) : !1;
1884
- }, L.isContextual = function(e) {
1885
- return this.type === M.name && this.value === e && !this.containsEsc;
1886
- }, L.eatContextual = function(e) {
1884
+ }, R.isContextual = function(e) {
1885
+ return this.type === N.name && this.value === e && !this.containsEsc;
1886
+ }, R.eatContextual = function(e) {
1887
1887
  return this.isContextual(e) ? (this.next(), !0) : !1;
1888
- }, L.expectContextual = function(e) {
1888
+ }, R.expectContextual = function(e) {
1889
1889
  this.eatContextual(e) || this.unexpected();
1890
- }, L.canInsertSemicolon = function() {
1891
- return this.type === M.eof || this.type === M.braceR || N.test(this.input.slice(this.lastTokEnd, this.start));
1892
- }, L.insertSemicolon = function() {
1890
+ }, R.canInsertSemicolon = function() {
1891
+ return this.type === N.eof || this.type === N.braceR || P.test(this.input.slice(this.lastTokEnd, this.start));
1892
+ }, R.insertSemicolon = function() {
1893
1893
  if (this.canInsertSemicolon()) return this.options.onInsertedSemicolon && this.options.onInsertedSemicolon(this.lastTokEnd, this.lastTokEndLoc), !0;
1894
- }, L.semicolon = function() {
1895
- !this.eat(M.semi) && !this.insertSemicolon() && this.unexpected();
1896
- }, L.afterTrailingComma = function(e, t) {
1894
+ }, R.semicolon = function() {
1895
+ !this.eat(N.semi) && !this.insertSemicolon() && this.unexpected();
1896
+ }, R.afterTrailingComma = function(e, t) {
1897
1897
  if (this.type === e) return this.options.onTrailingComma && this.options.onTrailingComma(this.lastTokStart, this.lastTokStartLoc), t || this.next(), !0;
1898
- }, L.expect = function(e) {
1898
+ }, R.expect = function(e) {
1899
1899
  this.eat(e) || this.unexpected();
1900
- }, L.unexpected = function(e) {
1900
+ }, R.unexpected = function(e) {
1901
1901
  this.raise(e ?? this.start, "Unexpected token");
1902
1902
  };
1903
- var Pt = function() {
1903
+ var Nt = function() {
1904
1904
  this.shorthandAssign = this.trailingComma = this.parenthesizedAssign = this.parenthesizedBind = this.doubleProto = -1;
1905
1905
  };
1906
- L.checkPatternErrors = function(e, t) {
1906
+ R.checkPatternErrors = function(e, t) {
1907
1907
  if (e) {
1908
1908
  e.trailingComma > -1 && this.raiseRecoverable(e.trailingComma, "Comma is not permitted after the rest element");
1909
1909
  var n = t ? e.parenthesizedAssign : e.parenthesizedBind;
1910
1910
  n > -1 && this.raiseRecoverable(n, t ? "Assigning to rvalue" : "Parenthesized pattern");
1911
1911
  }
1912
- }, L.checkExpressionErrors = function(e, t) {
1912
+ }, R.checkExpressionErrors = function(e, t) {
1913
1913
  if (!e) return !1;
1914
1914
  var n = e.shorthandAssign, r = e.doubleProto;
1915
1915
  if (!t) return n >= 0 || r >= 0;
1916
1916
  n >= 0 && this.raise(n, "Shorthand property assignments are valid only in destructuring patterns"), r >= 0 && this.raiseRecoverable(r, "Redefinition of __proto__ property");
1917
- }, L.checkYieldAwaitInDefaultParams = function() {
1917
+ }, R.checkYieldAwaitInDefaultParams = function() {
1918
1918
  this.yieldPos && (!this.awaitPos || this.yieldPos < this.awaitPos) && this.raise(this.yieldPos, "Yield expression cannot be a default value"), this.awaitPos && this.raise(this.awaitPos, "Await expression cannot be a default value");
1919
- }, L.isSimpleAssignTarget = function(e) {
1919
+ }, R.isSimpleAssignTarget = function(e) {
1920
1920
  return e.type === "ParenthesizedExpression" ? this.isSimpleAssignTarget(e.expression) : e.type === "Identifier" || e.type === "MemberExpression";
1921
1921
  };
1922
- var R = F.prototype;
1923
- R.parseTopLevel = function(e) {
1922
+ var z = I.prototype;
1923
+ z.parseTopLevel = function(e) {
1924
1924
  var t = Object.create(null);
1925
- for (e.body ||= []; this.type !== M.eof;) {
1925
+ for (e.body ||= []; this.type !== N.eof;) {
1926
1926
  var n = this.parseStatement(null, !0, t);
1927
1927
  e.body.push(n);
1928
1928
  }
@@ -1932,108 +1932,108 @@ R.parseTopLevel = function(e) {
1932
1932
  }
1933
1933
  return this.adaptDirectivePrologue(e.body), this.next(), e.sourceType = this.options.sourceType === "commonjs" ? "script" : this.options.sourceType, this.finishNode(e, "Program");
1934
1934
  };
1935
- var Ft = { kind: "loop" }, It = { kind: "switch" };
1936
- R.isLet = function(e) {
1935
+ var Pt = { kind: "loop" }, Ft = { kind: "switch" };
1936
+ z.isLet = function(e) {
1937
1937
  if (this.options.ecmaVersion < 6 || !this.isContextual("let")) return !1;
1938
- P.lastIndex = this.pos;
1939
- var t = P.exec(this.input), n = this.pos + t[0].length, r = this.fullCharCodeAt(n);
1938
+ F.lastIndex = this.pos;
1939
+ var t = F.exec(this.input), n = this.pos + t[0].length, r = this.fullCharCodeAt(n);
1940
1940
  if (r === 91 || r === 92) return !0;
1941
1941
  if (e) return !1;
1942
1942
  if (r === 123) return !0;
1943
- if (E(r)) {
1943
+ if (D(r)) {
1944
1944
  var i = n;
1945
1945
  do
1946
1946
  n += r <= 65535 ? 1 : 2;
1947
- while (Ke(r = this.fullCharCodeAt(n)));
1947
+ while (Ge(r = this.fullCharCodeAt(n)));
1948
1948
  if (r === 92) return !0;
1949
1949
  var a = this.input.slice(i, n);
1950
- if (!He.test(a)) return !0;
1950
+ if (!Ve.test(a)) return !0;
1951
1951
  }
1952
1952
  return !1;
1953
- }, R.isAsyncFunction = function() {
1953
+ }, z.isAsyncFunction = function() {
1954
1954
  if (this.options.ecmaVersion < 8 || !this.isContextual("async")) return !1;
1955
- P.lastIndex = this.pos;
1956
- var e = P.exec(this.input), t = this.pos + e[0].length, n;
1957
- return !N.test(this.input.slice(this.pos, t)) && this.input.slice(t, t + 8) === "function" && (t + 8 === this.input.length || !(Ke(n = this.fullCharCodeAt(t + 8)) || n === 92));
1958
- }, R.isUsingKeyword = function(e, t) {
1955
+ F.lastIndex = this.pos;
1956
+ var e = F.exec(this.input), t = this.pos + e[0].length, n;
1957
+ return !P.test(this.input.slice(this.pos, t)) && this.input.slice(t, t + 8) === "function" && (t + 8 === this.input.length || !(Ge(n = this.fullCharCodeAt(t + 8)) || n === 92));
1958
+ }, z.isUsingKeyword = function(e, t) {
1959
1959
  if (this.options.ecmaVersion < 17 || !this.isContextual(e ? "await" : "using")) return !1;
1960
- P.lastIndex = this.pos;
1961
- var n = P.exec(this.input), r = this.pos + n[0].length;
1962
- if (N.test(this.input.slice(this.pos, r))) return !1;
1960
+ F.lastIndex = this.pos;
1961
+ var n = F.exec(this.input), r = this.pos + n[0].length;
1962
+ if (P.test(this.input.slice(this.pos, r))) return !1;
1963
1963
  if (e) {
1964
1964
  var i = r + 5, a;
1965
- if (this.input.slice(r, i) !== "using" || i === this.input.length || Ke(a = this.fullCharCodeAt(i)) || a === 92) return !1;
1966
- P.lastIndex = i;
1967
- var o = P.exec(this.input);
1968
- if (r = i + o[0].length, o && N.test(this.input.slice(i, r))) return !1;
1965
+ if (this.input.slice(r, i) !== "using" || i === this.input.length || Ge(a = this.fullCharCodeAt(i)) || a === 92) return !1;
1966
+ F.lastIndex = i;
1967
+ var o = F.exec(this.input);
1968
+ if (r = i + o[0].length, o && P.test(this.input.slice(i, r))) return !1;
1969
1969
  }
1970
1970
  var s = this.fullCharCodeAt(r);
1971
- if (!E(s) && s !== 92) return !1;
1971
+ if (!D(s) && s !== 92) return !1;
1972
1972
  var c = r;
1973
1973
  do
1974
1974
  r += s <= 65535 ? 1 : 2;
1975
- while (Ke(s = this.fullCharCodeAt(r)));
1975
+ while (Ge(s = this.fullCharCodeAt(r)));
1976
1976
  if (s === 92) return !0;
1977
1977
  var l = this.input.slice(c, r);
1978
- return !(He.test(l) || t && l === "of");
1979
- }, R.isAwaitUsing = function(e) {
1978
+ return !(Ve.test(l) || t && l === "of");
1979
+ }, z.isAwaitUsing = function(e) {
1980
1980
  return this.isUsingKeyword(!0, e);
1981
- }, R.isUsing = function(e) {
1981
+ }, z.isUsing = function(e) {
1982
1982
  return this.isUsingKeyword(!1, e);
1983
- }, R.parseStatement = function(e, t, n) {
1983
+ }, z.parseStatement = function(e, t, n) {
1984
1984
  var r = this.type, i = this.startNode(), a;
1985
- switch (this.isLet(e) && (r = M._var, a = "let"), r) {
1986
- case M._break:
1987
- case M._continue: return this.parseBreakContinueStatement(i, r.keyword);
1988
- case M._debugger: return this.parseDebuggerStatement(i);
1989
- case M._do: return this.parseDoStatement(i);
1990
- case M._for: return this.parseForStatement(i);
1991
- case M._function: return e && (this.strict || e !== "if" && e !== "label") && this.options.ecmaVersion >= 6 && this.unexpected(), this.parseFunctionStatement(i, !1, !e);
1992
- case M._class: return e && this.unexpected(), this.parseClass(i, !0);
1993
- case M._if: return this.parseIfStatement(i);
1994
- case M._return: return this.parseReturnStatement(i);
1995
- case M._switch: return this.parseSwitchStatement(i);
1996
- case M._throw: return this.parseThrowStatement(i);
1997
- case M._try: return this.parseTryStatement(i);
1998
- case M._const:
1999
- case M._var: return a ||= this.value, e && a !== "var" && this.unexpected(), this.parseVarStatement(i, a);
2000
- case M._while: return this.parseWhileStatement(i);
2001
- case M._with: return this.parseWithStatement(i);
2002
- case M.braceL: return this.parseBlock(!0, i);
2003
- case M.semi: return this.parseEmptyStatement(i);
2004
- case M._export:
2005
- case M._import:
2006
- if (this.options.ecmaVersion > 10 && r === M._import) {
2007
- P.lastIndex = this.pos;
2008
- var o = P.exec(this.input), s = this.pos + o[0].length, c = this.input.charCodeAt(s);
1985
+ switch (this.isLet(e) && (r = N._var, a = "let"), r) {
1986
+ case N._break:
1987
+ case N._continue: return this.parseBreakContinueStatement(i, r.keyword);
1988
+ case N._debugger: return this.parseDebuggerStatement(i);
1989
+ case N._do: return this.parseDoStatement(i);
1990
+ case N._for: return this.parseForStatement(i);
1991
+ case N._function: return e && (this.strict || e !== "if" && e !== "label") && this.options.ecmaVersion >= 6 && this.unexpected(), this.parseFunctionStatement(i, !1, !e);
1992
+ case N._class: return e && this.unexpected(), this.parseClass(i, !0);
1993
+ case N._if: return this.parseIfStatement(i);
1994
+ case N._return: return this.parseReturnStatement(i);
1995
+ case N._switch: return this.parseSwitchStatement(i);
1996
+ case N._throw: return this.parseThrowStatement(i);
1997
+ case N._try: return this.parseTryStatement(i);
1998
+ case N._const:
1999
+ case N._var: return a ||= this.value, e && a !== "var" && this.unexpected(), this.parseVarStatement(i, a);
2000
+ case N._while: return this.parseWhileStatement(i);
2001
+ case N._with: return this.parseWithStatement(i);
2002
+ case N.braceL: return this.parseBlock(!0, i);
2003
+ case N.semi: return this.parseEmptyStatement(i);
2004
+ case N._export:
2005
+ case N._import:
2006
+ if (this.options.ecmaVersion > 10 && r === N._import) {
2007
+ F.lastIndex = this.pos;
2008
+ var o = F.exec(this.input), s = this.pos + o[0].length, c = this.input.charCodeAt(s);
2009
2009
  if (c === 40 || c === 46) return this.parseExpressionStatement(i, this.parseExpression());
2010
2010
  }
2011
- return this.options.allowImportExportEverywhere || (t || this.raise(this.start, "'import' and 'export' may only appear at the top level"), this.inModule || this.raise(this.start, "'import' and 'export' may appear only with 'sourceType: module'")), r === M._import ? this.parseImport(i) : this.parseExport(i, n);
2011
+ return this.options.allowImportExportEverywhere || (t || this.raise(this.start, "'import' and 'export' may only appear at the top level"), this.inModule || this.raise(this.start, "'import' and 'export' may appear only with 'sourceType: module'")), r === N._import ? this.parseImport(i) : this.parseExport(i, n);
2012
2012
  default:
2013
2013
  if (this.isAsyncFunction()) return e && this.unexpected(), this.next(), this.parseFunctionStatement(i, !0, !e);
2014
2014
  var l = this.isAwaitUsing(!1) ? "await using" : this.isUsing(!1) ? "using" : null;
2015
2015
  if (l) return this.allowUsing || this.raise(this.start, "Using declaration cannot appear in the top level when source type is `script` or in the bare case statement"), l === "await using" && (this.canAwait || this.raise(this.start, "Await using cannot appear outside of async function"), this.next()), this.next(), this.parseVar(i, !1, l), this.semicolon(), this.finishNode(i, "VariableDeclaration");
2016
2016
  var u = this.value, d = this.parseExpression();
2017
- return r === M.name && d.type === "Identifier" && this.eat(M.colon) ? this.parseLabeledStatement(i, u, d, e) : this.parseExpressionStatement(i, d);
2017
+ return r === N.name && d.type === "Identifier" && this.eat(N.colon) ? this.parseLabeledStatement(i, u, d, e) : this.parseExpressionStatement(i, d);
2018
2018
  }
2019
- }, R.parseBreakContinueStatement = function(e, t) {
2019
+ }, z.parseBreakContinueStatement = function(e, t) {
2020
2020
  var n = t === "break";
2021
- this.next(), this.eat(M.semi) || this.insertSemicolon() ? e.label = null : this.type === M.name ? (e.label = this.parseIdent(), this.semicolon()) : this.unexpected();
2021
+ this.next(), this.eat(N.semi) || this.insertSemicolon() ? e.label = null : this.type === N.name ? (e.label = this.parseIdent(), this.semicolon()) : this.unexpected();
2022
2022
  for (var r = 0; r < this.labels.length; ++r) {
2023
2023
  var i = this.labels[r];
2024
2024
  if ((e.label == null || i.name === e.label.name) && (i.kind != null && (n || i.kind === "loop") || e.label && n)) break;
2025
2025
  }
2026
2026
  return r === this.labels.length && this.raise(e.start, "Unsyntactic " + t), this.finishNode(e, n ? "BreakStatement" : "ContinueStatement");
2027
- }, R.parseDebuggerStatement = function(e) {
2027
+ }, z.parseDebuggerStatement = function(e) {
2028
2028
  return this.next(), this.semicolon(), this.finishNode(e, "DebuggerStatement");
2029
- }, R.parseDoStatement = function(e) {
2030
- return this.next(), this.labels.push(Ft), e.body = this.parseStatement("do"), this.labels.pop(), this.expect(M._while), e.test = this.parseParenExpression(), this.options.ecmaVersion >= 6 ? this.eat(M.semi) : this.semicolon(), this.finishNode(e, "DoWhileStatement");
2031
- }, R.parseForStatement = function(e) {
2029
+ }, z.parseDoStatement = function(e) {
2030
+ return this.next(), this.labels.push(Pt), e.body = this.parseStatement("do"), this.labels.pop(), this.expect(N._while), e.test = this.parseParenExpression(), this.options.ecmaVersion >= 6 ? this.eat(N.semi) : this.semicolon(), this.finishNode(e, "DoWhileStatement");
2031
+ }, z.parseForStatement = function(e) {
2032
2032
  this.next();
2033
2033
  var t = this.options.ecmaVersion >= 9 && this.canAwait && this.eatContextual("await") ? this.lastTokStart : -1;
2034
- if (this.labels.push(Ft), this.enterScope(0), this.expect(M.parenL), this.type === M.semi) return t > -1 && this.unexpected(t), this.parseFor(e, null);
2034
+ if (this.labels.push(Pt), this.enterScope(0), this.expect(N.parenL), this.type === N.semi) return t > -1 && this.unexpected(t), this.parseFor(e, null);
2035
2035
  var n = this.isLet();
2036
- if (this.type === M._var || this.type === M._const || n) {
2036
+ if (this.type === N._var || this.type === N._const || n) {
2037
2037
  var r = this.startNode(), i = n ? "let" : this.value;
2038
2038
  return this.next(), this.parseVar(r, !0, i), this.finishNode(r, "VariableDeclaration"), this.parseForAfterInit(e, r, t);
2039
2039
  }
@@ -2042,47 +2042,47 @@ R.isLet = function(e) {
2042
2042
  var c = this.startNode();
2043
2043
  return this.next(), s === "await using" && (this.canAwait || this.raise(this.start, "Await using cannot appear outside of async function"), this.next()), this.parseVar(c, !0, s), this.finishNode(c, "VariableDeclaration"), this.parseForAfterInit(e, c, t);
2044
2044
  }
2045
- var l = this.containsEsc, u = new Pt(), d = this.start, f = t > -1 ? this.parseExprSubscripts(u, "await") : this.parseExpression(!0, u);
2046
- return this.type === M._in || (o = this.options.ecmaVersion >= 6 && this.isContextual("of")) ? (t > -1 ? (this.type === M._in && this.unexpected(t), e.await = !0) : o && this.options.ecmaVersion >= 8 && (f.start === d && !l && f.type === "Identifier" && f.name === "async" ? this.unexpected() : this.options.ecmaVersion >= 9 && (e.await = !1)), a && o && this.raise(f.start, "The left-hand side of a for-of loop may not start with 'let'."), this.toAssignable(f, !1, u), this.checkLValPattern(f), this.parseForIn(e, f)) : (this.checkExpressionErrors(u, !0), t > -1 && this.unexpected(t), this.parseFor(e, f));
2047
- }, R.parseForAfterInit = function(e, t, n) {
2048
- return (this.type === M._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) && t.declarations.length === 1 ? (this.options.ecmaVersion >= 9 && (this.type === M._in ? n > -1 && this.unexpected(n) : e.await = n > -1), this.parseForIn(e, t)) : (n > -1 && this.unexpected(n), this.parseFor(e, t));
2049
- }, R.parseFunctionStatement = function(e, t, n) {
2050
- return this.next(), this.parseFunction(e, Rt | (n ? 0 : zt), !1, t);
2051
- }, R.parseIfStatement = function(e) {
2052
- return this.next(), e.test = this.parseParenExpression(), e.consequent = this.parseStatement("if"), e.alternate = this.eat(M._else) ? this.parseStatement("if") : null, this.finishNode(e, "IfStatement");
2053
- }, R.parseReturnStatement = function(e) {
2054
- return this.allowReturn || this.raise(this.start, "'return' outside of function"), this.next(), this.eat(M.semi) || this.insertSemicolon() ? e.argument = null : (e.argument = this.parseExpression(), this.semicolon()), this.finishNode(e, "ReturnStatement");
2055
- }, R.parseSwitchStatement = function(e) {
2056
- this.next(), e.discriminant = this.parseParenExpression(), e.cases = [], this.expect(M.braceL), this.labels.push(It), this.enterScope(wt);
2057
- for (var t, n = !1; this.type !== M.braceR;) if (this.type === M._case || this.type === M._default) {
2058
- var r = this.type === M._case;
2059
- t && this.finishNode(t, "SwitchCase"), e.cases.push(t = this.startNode()), t.consequent = [], this.next(), r ? t.test = this.parseExpression() : (n && this.raiseRecoverable(this.lastTokStart, "Multiple default clauses"), n = !0, t.test = null), this.expect(M.colon);
2045
+ var l = this.containsEsc, u = new Nt(), d = this.start, f = t > -1 ? this.parseExprSubscripts(u, "await") : this.parseExpression(!0, u);
2046
+ return this.type === N._in || (o = this.options.ecmaVersion >= 6 && this.isContextual("of")) ? (t > -1 ? (this.type === N._in && this.unexpected(t), e.await = !0) : o && this.options.ecmaVersion >= 8 && (f.start === d && !l && f.type === "Identifier" && f.name === "async" ? this.unexpected() : this.options.ecmaVersion >= 9 && (e.await = !1)), a && o && this.raise(f.start, "The left-hand side of a for-of loop may not start with 'let'."), this.toAssignable(f, !1, u), this.checkLValPattern(f), this.parseForIn(e, f)) : (this.checkExpressionErrors(u, !0), t > -1 && this.unexpected(t), this.parseFor(e, f));
2047
+ }, z.parseForAfterInit = function(e, t, n) {
2048
+ return (this.type === N._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) && t.declarations.length === 1 ? (this.options.ecmaVersion >= 9 && (this.type === N._in ? n > -1 && this.unexpected(n) : e.await = n > -1), this.parseForIn(e, t)) : (n > -1 && this.unexpected(n), this.parseFor(e, t));
2049
+ }, z.parseFunctionStatement = function(e, t, n) {
2050
+ return this.next(), this.parseFunction(e, Lt | (n ? 0 : Rt), !1, t);
2051
+ }, z.parseIfStatement = function(e) {
2052
+ return this.next(), e.test = this.parseParenExpression(), e.consequent = this.parseStatement("if"), e.alternate = this.eat(N._else) ? this.parseStatement("if") : null, this.finishNode(e, "IfStatement");
2053
+ }, z.parseReturnStatement = function(e) {
2054
+ return this.allowReturn || this.raise(this.start, "'return' outside of function"), this.next(), this.eat(N.semi) || this.insertSemicolon() ? e.argument = null : (e.argument = this.parseExpression(), this.semicolon()), this.finishNode(e, "ReturnStatement");
2055
+ }, z.parseSwitchStatement = function(e) {
2056
+ this.next(), e.discriminant = this.parseParenExpression(), e.cases = [], this.expect(N.braceL), this.labels.push(Ft), this.enterScope(Ct);
2057
+ for (var t, n = !1; this.type !== N.braceR;) if (this.type === N._case || this.type === N._default) {
2058
+ var r = this.type === N._case;
2059
+ t && this.finishNode(t, "SwitchCase"), e.cases.push(t = this.startNode()), t.consequent = [], this.next(), r ? t.test = this.parseExpression() : (n && this.raiseRecoverable(this.lastTokStart, "Multiple default clauses"), n = !0, t.test = null), this.expect(N.colon);
2060
2060
  } else t || this.unexpected(), t.consequent.push(this.parseStatement(null));
2061
2061
  return this.exitScope(), t && this.finishNode(t, "SwitchCase"), this.next(), this.labels.pop(), this.finishNode(e, "SwitchStatement");
2062
- }, R.parseThrowStatement = function(e) {
2063
- return this.next(), N.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");
2062
+ }, z.parseThrowStatement = function(e) {
2063
+ return this.next(), P.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");
2064
2064
  };
2065
- var Lt = [];
2066
- R.parseCatchClauseParam = function() {
2065
+ var It = [];
2066
+ z.parseCatchClauseParam = function() {
2067
2067
  var e = this.parseBindingAtom(), t = e.type === "Identifier";
2068
- return this.enterScope(t ? yt : 0), this.checkLValPattern(e, t ? jt : kt), this.expect(M.parenR), e;
2069
- }, R.parseTryStatement = function(e) {
2070
- if (this.next(), e.block = this.parseBlock(), e.handler = null, this.type === M._catch) {
2068
+ return this.enterScope(t ? vt : 0), this.checkLValPattern(e, t ? At : Ot), this.expect(N.parenR), e;
2069
+ }, z.parseTryStatement = function(e) {
2070
+ if (this.next(), e.block = this.parseBlock(), e.handler = null, this.type === N._catch) {
2071
2071
  var t = this.startNode();
2072
- this.next(), this.eat(M.parenL) ? t.param = this.parseCatchClauseParam() : (this.options.ecmaVersion < 10 && this.unexpected(), t.param = null, this.enterScope(0)), t.body = this.parseBlock(!1), this.exitScope(), e.handler = this.finishNode(t, "CatchClause");
2072
+ this.next(), this.eat(N.parenL) ? t.param = this.parseCatchClauseParam() : (this.options.ecmaVersion < 10 && this.unexpected(), t.param = null, this.enterScope(0)), t.body = this.parseBlock(!1), this.exitScope(), e.handler = this.finishNode(t, "CatchClause");
2073
2073
  }
2074
- return e.finalizer = this.eat(M._finally) ? this.parseBlock() : null, !e.handler && !e.finalizer && this.raise(e.start, "Missing catch or finally clause"), this.finishNode(e, "TryStatement");
2075
- }, R.parseVarStatement = function(e, t, n) {
2074
+ return e.finalizer = this.eat(N._finally) ? this.parseBlock() : null, !e.handler && !e.finalizer && this.raise(e.start, "Missing catch or finally clause"), this.finishNode(e, "TryStatement");
2075
+ }, z.parseVarStatement = function(e, t, n) {
2076
2076
  return this.next(), this.parseVar(e, !1, t, n), this.semicolon(), this.finishNode(e, "VariableDeclaration");
2077
- }, R.parseWhileStatement = function(e) {
2078
- return this.next(), e.test = this.parseParenExpression(), this.labels.push(Ft), e.body = this.parseStatement("while"), this.labels.pop(), this.finishNode(e, "WhileStatement");
2079
- }, R.parseWithStatement = function(e) {
2077
+ }, z.parseWhileStatement = function(e) {
2078
+ return this.next(), e.test = this.parseParenExpression(), this.labels.push(Pt), e.body = this.parseStatement("while"), this.labels.pop(), this.finishNode(e, "WhileStatement");
2079
+ }, z.parseWithStatement = function(e) {
2080
2080
  return this.strict && this.raise(this.start, "'with' in strict mode"), this.next(), e.object = this.parseParenExpression(), e.body = this.parseStatement("with"), this.finishNode(e, "WithStatement");
2081
- }, R.parseEmptyStatement = function(e) {
2081
+ }, z.parseEmptyStatement = function(e) {
2082
2082
  return this.next(), this.finishNode(e, "EmptyStatement");
2083
- }, R.parseLabeledStatement = function(e, t, n, r) {
2083
+ }, z.parseLabeledStatement = function(e, t, n, r) {
2084
2084
  for (var i = 0, a = this.labels; i < a.length; i += 1) a[i].name === t && this.raise(n.start, "Label '" + t + "' is already declared");
2085
- for (var o = this.type.isLoop ? "loop" : this.type === M._switch ? "switch" : null, s = this.labels.length - 1; s >= 0; s--) {
2085
+ for (var o = this.type.isLoop ? "loop" : this.type === N._switch ? "switch" : null, s = this.labels.length - 1; s >= 0; s--) {
2086
2086
  var c = this.labels[s];
2087
2087
  if (c.statementStart === e.start) c.statementStart = this.start, c.kind = o;
2088
2088
  else break;
@@ -2092,113 +2092,113 @@ R.parseCatchClauseParam = function() {
2092
2092
  kind: o,
2093
2093
  statementStart: this.start
2094
2094
  }), e.body = this.parseStatement(r ? r.indexOf("label") === -1 ? r + "label" : r : "label"), this.labels.pop(), e.label = n, this.finishNode(e, "LabeledStatement");
2095
- }, R.parseExpressionStatement = function(e, t) {
2095
+ }, z.parseExpressionStatement = function(e, t) {
2096
2096
  return e.expression = t, this.semicolon(), this.finishNode(e, "ExpressionStatement");
2097
- }, R.parseBlock = function(e, t, n) {
2098
- for (e === void 0 && (e = !0), t === void 0 && (t = this.startNode()), t.body = [], this.expect(M.braceL), e && this.enterScope(0); this.type !== M.braceR;) {
2097
+ }, z.parseBlock = function(e, t, n) {
2098
+ for (e === void 0 && (e = !0), t === void 0 && (t = this.startNode()), t.body = [], this.expect(N.braceL), e && this.enterScope(0); this.type !== N.braceR;) {
2099
2099
  var r = this.parseStatement(null);
2100
2100
  t.body.push(r);
2101
2101
  }
2102
2102
  return n && (this.strict = !1), this.next(), e && this.exitScope(), this.finishNode(t, "BlockStatement");
2103
- }, R.parseFor = function(e, t) {
2104
- return e.init = t, this.expect(M.semi), e.test = this.type === M.semi ? null : this.parseExpression(), this.expect(M.semi), e.update = this.type === M.parenR ? null : this.parseExpression(), this.expect(M.parenR), e.body = this.parseStatement("for"), this.exitScope(), this.labels.pop(), this.finishNode(e, "ForStatement");
2105
- }, R.parseForIn = function(e, t) {
2106
- var n = this.type === M._in;
2107
- return this.next(), t.type === "VariableDeclaration" && t.declarations[0].init != null && (!n || this.options.ecmaVersion < 8 || this.strict || t.kind !== "var" || t.declarations[0].id.type !== "Identifier") && this.raise(t.start, (n ? "for-in" : "for-of") + " loop variable declaration may not have an initializer"), e.left = t, e.right = n ? this.parseExpression() : this.parseMaybeAssign(), this.expect(M.parenR), e.body = this.parseStatement("for"), this.exitScope(), this.labels.pop(), this.finishNode(e, n ? "ForInStatement" : "ForOfStatement");
2108
- }, R.parseVar = function(e, t, n, r) {
2103
+ }, z.parseFor = function(e, t) {
2104
+ return e.init = t, this.expect(N.semi), e.test = this.type === N.semi ? null : this.parseExpression(), this.expect(N.semi), e.update = this.type === N.parenR ? null : this.parseExpression(), this.expect(N.parenR), e.body = this.parseStatement("for"), this.exitScope(), this.labels.pop(), this.finishNode(e, "ForStatement");
2105
+ }, z.parseForIn = function(e, t) {
2106
+ var n = this.type === N._in;
2107
+ return this.next(), t.type === "VariableDeclaration" && t.declarations[0].init != null && (!n || this.options.ecmaVersion < 8 || this.strict || t.kind !== "var" || t.declarations[0].id.type !== "Identifier") && this.raise(t.start, (n ? "for-in" : "for-of") + " loop variable declaration may not have an initializer"), e.left = t, e.right = n ? this.parseExpression() : this.parseMaybeAssign(), this.expect(N.parenR), e.body = this.parseStatement("for"), this.exitScope(), this.labels.pop(), this.finishNode(e, n ? "ForInStatement" : "ForOfStatement");
2108
+ }, z.parseVar = function(e, t, n, r) {
2109
2109
  for (e.declarations = [], e.kind = n;;) {
2110
2110
  var i = this.startNode();
2111
- if (this.parseVarId(i, n), this.eat(M.eq) ? i.init = this.parseMaybeAssign(t) : !r && n === "const" && !(this.type === M._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) ? this.unexpected() : !r && (n === "using" || n === "await using") && this.options.ecmaVersion >= 17 && this.type !== M._in && !this.isContextual("of") ? this.raise(this.lastTokEnd, "Missing initializer in " + n + " declaration") : !r && i.id.type !== "Identifier" && !(t && (this.type === M._in || this.isContextual("of"))) ? this.raise(this.lastTokEnd, "Complex binding patterns require an initialization value") : i.init = null, e.declarations.push(this.finishNode(i, "VariableDeclarator")), !this.eat(M.comma)) break;
2111
+ if (this.parseVarId(i, n), this.eat(N.eq) ? i.init = this.parseMaybeAssign(t) : !r && n === "const" && !(this.type === N._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) ? this.unexpected() : !r && (n === "using" || n === "await using") && this.options.ecmaVersion >= 17 && this.type !== N._in && !this.isContextual("of") ? this.raise(this.lastTokEnd, "Missing initializer in " + n + " declaration") : !r && i.id.type !== "Identifier" && !(t && (this.type === N._in || this.isContextual("of"))) ? this.raise(this.lastTokEnd, "Complex binding patterns require an initialization value") : i.init = null, e.declarations.push(this.finishNode(i, "VariableDeclarator")), !this.eat(N.comma)) break;
2112
2112
  }
2113
2113
  return e;
2114
- }, R.parseVarId = function(e, t) {
2115
- e.id = t === "using" || t === "await using" ? this.parseIdent() : this.parseBindingAtom(), this.checkLValPattern(e.id, t === "var" ? Ot : kt, !1);
2114
+ }, z.parseVarId = function(e, t) {
2115
+ e.id = t === "using" || t === "await using" ? this.parseIdent() : this.parseBindingAtom(), this.checkLValPattern(e.id, t === "var" ? Dt : Ot, !1);
2116
2116
  };
2117
- var Rt = 1, zt = 2, Bt = 4;
2118
- R.parseFunction = function(e, t, n, r, i) {
2119
- this.initFunction(e), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !r) && (this.type === M.star && t & zt && this.unexpected(), e.generator = this.eat(M.star)), this.options.ecmaVersion >= 8 && (e.async = !!r), t & Rt && (e.id = t & Bt && this.type !== M.name ? null : this.parseIdent(), e.id && !(t & zt) && this.checkLValSimple(e.id, this.strict || e.generator || e.async ? this.treatFunctionsAsVar ? Ot : kt : At));
2117
+ var Lt = 1, Rt = 2, zt = 4;
2118
+ z.parseFunction = function(e, t, n, r, i) {
2119
+ this.initFunction(e), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !r) && (this.type === N.star && t & Rt && this.unexpected(), e.generator = this.eat(N.star)), this.options.ecmaVersion >= 8 && (e.async = !!r), t & Lt && (e.id = t & zt && this.type !== N.name ? null : this.parseIdent(), e.id && !(t & Rt) && this.checkLValSimple(e.id, this.strict || e.generator || e.async ? this.treatFunctionsAsVar ? Dt : Ot : kt));
2120
2120
  var a = this.yieldPos, o = this.awaitPos, s = this.awaitIdentPos;
2121
- return this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Et(e.async, e.generator)), t & Rt || (e.id = this.type === M.name ? this.parseIdent() : null), this.parseFunctionParams(e), this.parseFunctionBody(e, n, !1, i), this.yieldPos = a, this.awaitPos = o, this.awaitIdentPos = s, this.finishNode(e, t & Rt ? "FunctionDeclaration" : "FunctionExpression");
2122
- }, R.parseFunctionParams = function(e) {
2123
- this.expect(M.parenL), e.params = this.parseBindingList(M.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams();
2124
- }, R.parseClass = function(e, t) {
2121
+ return this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Tt(e.async, e.generator)), t & Lt || (e.id = this.type === N.name ? this.parseIdent() : null), this.parseFunctionParams(e), this.parseFunctionBody(e, n, !1, i), this.yieldPos = a, this.awaitPos = o, this.awaitIdentPos = s, this.finishNode(e, t & Lt ? "FunctionDeclaration" : "FunctionExpression");
2122
+ }, z.parseFunctionParams = function(e) {
2123
+ this.expect(N.parenL), e.params = this.parseBindingList(N.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams();
2124
+ }, z.parseClass = function(e, t) {
2125
2125
  this.next();
2126
2126
  var n = this.strict;
2127
2127
  this.strict = !0, this.parseClassId(e, t), this.parseClassSuper(e);
2128
2128
  var r = this.enterClassBody(), i = this.startNode(), a = !1;
2129
- for (i.body = [], this.expect(M.braceL); this.type !== M.braceR;) {
2129
+ for (i.body = [], this.expect(N.braceL); this.type !== N.braceR;) {
2130
2130
  var o = this.parseClassElement(e.superClass !== null);
2131
- o && (i.body.push(o), o.type === "MethodDefinition" && o.kind === "constructor" ? (a && this.raiseRecoverable(o.start, "Duplicate constructor in the same class"), a = !0) : o.key && o.key.type === "PrivateIdentifier" && Vt(r, o) && this.raiseRecoverable(o.key.start, "Identifier '#" + o.key.name + "' has already been declared"));
2131
+ o && (i.body.push(o), o.type === "MethodDefinition" && o.kind === "constructor" ? (a && this.raiseRecoverable(o.start, "Duplicate constructor in the same class"), a = !0) : o.key && o.key.type === "PrivateIdentifier" && Bt(r, o) && this.raiseRecoverable(o.key.start, "Identifier '#" + o.key.name + "' has already been declared"));
2132
2132
  }
2133
2133
  return this.strict = n, this.next(), e.body = this.finishNode(i, "ClassBody"), this.exitClassBody(), this.finishNode(e, t ? "ClassDeclaration" : "ClassExpression");
2134
- }, R.parseClassElement = function(e) {
2135
- if (this.eat(M.semi)) return null;
2134
+ }, z.parseClassElement = function(e) {
2135
+ if (this.eat(N.semi)) return null;
2136
2136
  var t = this.options.ecmaVersion, n = this.startNode(), r = "", i = !1, a = !1, o = "method", s = !1;
2137
2137
  if (this.eatContextual("static")) {
2138
- if (t >= 13 && this.eat(M.braceL)) return this.parseClassStaticBlock(n), n;
2139
- this.isClassElementNameStart() || this.type === M.star ? s = !0 : r = "static";
2138
+ if (t >= 13 && this.eat(N.braceL)) return this.parseClassStaticBlock(n), n;
2139
+ this.isClassElementNameStart() || this.type === N.star ? s = !0 : r = "static";
2140
2140
  }
2141
- if (n.static = s, !r && t >= 8 && this.eatContextual("async") && ((this.isClassElementNameStart() || this.type === M.star) && !this.canInsertSemicolon() ? a = !0 : r = "async"), !r && (t >= 9 || !a) && this.eat(M.star) && (i = !0), !r && !a && !i) {
2141
+ if (n.static = s, !r && t >= 8 && this.eatContextual("async") && ((this.isClassElementNameStart() || this.type === N.star) && !this.canInsertSemicolon() ? a = !0 : r = "async"), !r && (t >= 9 || !a) && this.eat(N.star) && (i = !0), !r && !a && !i) {
2142
2142
  var c = this.value;
2143
2143
  (this.eatContextual("get") || this.eatContextual("set")) && (this.isClassElementNameStart() ? o = c : r = c);
2144
2144
  }
2145
- if (r ? (n.computed = !1, n.key = this.startNodeAt(this.lastTokStart, this.lastTokStartLoc), n.key.name = r, this.finishNode(n.key, "Identifier")) : this.parseClassElementName(n), t < 13 || this.type === M.parenL || o !== "method" || i || a) {
2146
- var l = !n.static && Ht(n, "constructor"), u = l && e;
2145
+ if (r ? (n.computed = !1, n.key = this.startNodeAt(this.lastTokStart, this.lastTokStartLoc), n.key.name = r, this.finishNode(n.key, "Identifier")) : this.parseClassElementName(n), t < 13 || this.type === N.parenL || o !== "method" || i || a) {
2146
+ var l = !n.static && Vt(n, "constructor"), u = l && e;
2147
2147
  l && o !== "method" && this.raise(n.key.start, "Constructor can't have get/set modifier"), n.kind = l ? "constructor" : o, this.parseClassMethod(n, i, a, u);
2148
2148
  } else this.parseClassField(n);
2149
2149
  return n;
2150
- }, R.isClassElementNameStart = function() {
2151
- return this.type === M.name || this.type === M.privateId || this.type === M.num || this.type === M.string || this.type === M.bracketL || this.type.keyword;
2152
- }, R.parseClassElementName = function(e) {
2153
- this.type === M.privateId ? (this.value === "constructor" && this.raise(this.start, "Classes can't have an element named '#constructor'"), e.computed = !1, e.key = this.parsePrivateIdent()) : this.parsePropertyName(e);
2154
- }, R.parseClassMethod = function(e, t, n, r) {
2150
+ }, z.isClassElementNameStart = function() {
2151
+ return this.type === N.name || this.type === N.privateId || this.type === N.num || this.type === N.string || this.type === N.bracketL || this.type.keyword;
2152
+ }, z.parseClassElementName = function(e) {
2153
+ this.type === N.privateId ? (this.value === "constructor" && this.raise(this.start, "Classes can't have an element named '#constructor'"), e.computed = !1, e.key = this.parsePrivateIdent()) : this.parsePropertyName(e);
2154
+ }, z.parseClassMethod = function(e, t, n, r) {
2155
2155
  var i = e.key;
2156
- e.kind === "constructor" ? (t && this.raise(i.start, "Constructor can't be a generator"), n && this.raise(i.start, "Constructor can't be an async method")) : e.static && Ht(e, "prototype") && this.raise(i.start, "Classes may not have a static property named prototype");
2156
+ e.kind === "constructor" ? (t && this.raise(i.start, "Constructor can't be a generator"), n && this.raise(i.start, "Constructor can't be an async method")) : e.static && Vt(e, "prototype") && this.raise(i.start, "Classes may not have a static property named prototype");
2157
2157
  var a = e.value = this.parseMethod(t, n, r);
2158
2158
  return e.kind === "get" && a.params.length !== 0 && this.raiseRecoverable(a.start, "getter should have no params"), e.kind === "set" && a.params.length !== 1 && this.raiseRecoverable(a.start, "setter should have exactly one param"), e.kind === "set" && a.params[0].type === "RestElement" && this.raiseRecoverable(a.params[0].start, "Setter cannot use rest params"), this.finishNode(e, "MethodDefinition");
2159
- }, R.parseClassField = function(e) {
2160
- return Ht(e, "constructor") ? this.raise(e.key.start, "Classes can't have a field named 'constructor'") : e.static && Ht(e, "prototype") && this.raise(e.key.start, "Classes can't have a static field named 'prototype'"), this.eat(M.eq) ? (this.enterScope(Ct | bt), e.value = this.parseMaybeAssign(), this.exitScope()) : e.value = null, this.semicolon(), this.finishNode(e, "PropertyDefinition");
2161
- }, R.parseClassStaticBlock = function(e) {
2159
+ }, z.parseClassField = function(e) {
2160
+ return Vt(e, "constructor") ? this.raise(e.key.start, "Classes can't have a field named 'constructor'") : e.static && Vt(e, "prototype") && this.raise(e.key.start, "Classes can't have a static field named 'prototype'"), this.eat(N.eq) ? (this.enterScope(St | yt), e.value = this.parseMaybeAssign(), this.exitScope()) : e.value = null, this.semicolon(), this.finishNode(e, "PropertyDefinition");
2161
+ }, z.parseClassStaticBlock = function(e) {
2162
2162
  e.body = [];
2163
2163
  var t = this.labels;
2164
- for (this.labels = [], this.enterScope(St | bt); this.type !== M.braceR;) {
2164
+ for (this.labels = [], this.enterScope(xt | yt); this.type !== N.braceR;) {
2165
2165
  var n = this.parseStatement(null);
2166
2166
  e.body.push(n);
2167
2167
  }
2168
2168
  return this.next(), this.exitScope(), this.labels = t, this.finishNode(e, "StaticBlock");
2169
- }, R.parseClassId = function(e, t) {
2170
- this.type === M.name ? (e.id = this.parseIdent(), t && this.checkLValSimple(e.id, kt, !1)) : (t === !0 && this.unexpected(), e.id = null);
2171
- }, R.parseClassSuper = function(e) {
2172
- e.superClass = this.eat(M._extends) ? this.parseExprSubscripts(null, !1) : null;
2173
- }, R.enterClassBody = function() {
2169
+ }, z.parseClassId = function(e, t) {
2170
+ this.type === N.name ? (e.id = this.parseIdent(), t && this.checkLValSimple(e.id, Ot, !1)) : (t === !0 && this.unexpected(), e.id = null);
2171
+ }, z.parseClassSuper = function(e) {
2172
+ e.superClass = this.eat(N._extends) ? this.parseExprSubscripts(null, !1) : null;
2173
+ }, z.enterClassBody = function() {
2174
2174
  var e = {
2175
2175
  declared: Object.create(null),
2176
2176
  used: []
2177
2177
  };
2178
2178
  return this.privateNameStack.push(e), e.declared;
2179
- }, R.exitClassBody = function() {
2179
+ }, z.exitClassBody = function() {
2180
2180
  var e = this.privateNameStack.pop(), t = e.declared, n = e.used;
2181
2181
  if (this.options.checkPrivateFields) for (var r = this.privateNameStack.length, i = r === 0 ? null : this.privateNameStack[r - 1], a = 0; a < n.length; ++a) {
2182
2182
  var o = n[a];
2183
- tt(t, o.name) || (i ? i.used.push(o) : this.raiseRecoverable(o.start, "Private field '#" + o.name + "' must be declared in an enclosing class"));
2183
+ et(t, o.name) || (i ? i.used.push(o) : this.raiseRecoverable(o.start, "Private field '#" + o.name + "' must be declared in an enclosing class"));
2184
2184
  }
2185
2185
  };
2186
- function Vt(e, t) {
2186
+ function Bt(e, t) {
2187
2187
  var n = t.key.name, r = e[n], i = "true";
2188
2188
  return t.type === "MethodDefinition" && (t.kind === "get" || t.kind === "set") && (i = (t.static ? "s" : "i") + t.kind), r === "iget" && i === "iset" || r === "iset" && i === "iget" || r === "sget" && i === "sset" || r === "sset" && i === "sget" ? (e[n] = "true", !1) : r ? !0 : (e[n] = i, !1);
2189
2189
  }
2190
- function Ht(e, t) {
2190
+ function Vt(e, t) {
2191
2191
  var n = e.computed, r = e.key;
2192
2192
  return !n && (r.type === "Identifier" && r.name === t || r.type === "Literal" && r.value === t);
2193
2193
  }
2194
- R.parseExportAllDeclaration = function(e, t) {
2195
- return this.options.ecmaVersion >= 11 && (this.eatContextual("as") ? (e.exported = this.parseModuleExportName(), this.checkExport(t, e.exported, this.lastTokStart)) : e.exported = null), this.expectContextual("from"), this.type !== M.string && this.unexpected(), e.source = this.parseExprAtom(), this.options.ecmaVersion >= 16 && (e.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(e, "ExportAllDeclaration");
2196
- }, R.parseExport = function(e, t) {
2197
- if (this.next(), this.eat(M.star)) return this.parseExportAllDeclaration(e, t);
2198
- if (this.eat(M._default)) return this.checkExport(t, "default", this.lastTokStart), e.declaration = this.parseExportDefaultDeclaration(), this.finishNode(e, "ExportDefaultDeclaration");
2194
+ z.parseExportAllDeclaration = function(e, t) {
2195
+ return this.options.ecmaVersion >= 11 && (this.eatContextual("as") ? (e.exported = this.parseModuleExportName(), this.checkExport(t, e.exported, this.lastTokStart)) : e.exported = null), this.expectContextual("from"), this.type !== N.string && this.unexpected(), e.source = this.parseExprAtom(), this.options.ecmaVersion >= 16 && (e.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(e, "ExportAllDeclaration");
2196
+ }, z.parseExport = function(e, t) {
2197
+ if (this.next(), this.eat(N.star)) return this.parseExportAllDeclaration(e, t);
2198
+ if (this.eat(N._default)) return this.checkExport(t, "default", this.lastTokStart), e.declaration = this.parseExportDefaultDeclaration(), this.finishNode(e, "ExportDefaultDeclaration");
2199
2199
  if (this.shouldParseExportStatement()) e.declaration = this.parseExportDeclaration(e), e.declaration.type === "VariableDeclaration" ? this.checkVariableExport(t, e.declaration.declarations) : this.checkExport(t, e.declaration.id, e.declaration.id.start), e.specifiers = [], e.source = null, this.options.ecmaVersion >= 16 && (e.attributes = []);
2200
2200
  else {
2201
- if (e.declaration = null, e.specifiers = this.parseExportSpecifiers(t), this.eatContextual("from")) this.type !== M.string && this.unexpected(), e.source = this.parseExprAtom(), this.options.ecmaVersion >= 16 && (e.attributes = this.parseWithClause());
2201
+ if (e.declaration = null, e.specifiers = this.parseExportSpecifiers(t), this.eatContextual("from")) this.type !== N.string && this.unexpected(), e.source = this.parseExprAtom(), this.options.ecmaVersion >= 16 && (e.attributes = this.parseWithClause());
2202
2202
  else {
2203
2203
  for (var n = 0, r = e.specifiers; n < r.length; n += 1) {
2204
2204
  var i = r[n];
@@ -2209,23 +2209,23 @@ R.parseExportAllDeclaration = function(e, t) {
2209
2209
  this.semicolon();
2210
2210
  }
2211
2211
  return this.finishNode(e, "ExportNamedDeclaration");
2212
- }, R.parseExportDeclaration = function(e) {
2212
+ }, z.parseExportDeclaration = function(e) {
2213
2213
  return this.parseStatement(null);
2214
- }, R.parseExportDefaultDeclaration = function() {
2214
+ }, z.parseExportDefaultDeclaration = function() {
2215
2215
  var e;
2216
- if (this.type === M._function || (e = this.isAsyncFunction())) {
2216
+ if (this.type === N._function || (e = this.isAsyncFunction())) {
2217
2217
  var t = this.startNode();
2218
- return this.next(), e && this.next(), this.parseFunction(t, Rt | Bt, !1, e);
2219
- } else if (this.type === M._class) {
2218
+ return this.next(), e && this.next(), this.parseFunction(t, Lt | zt, !1, e);
2219
+ } else if (this.type === N._class) {
2220
2220
  var n = this.startNode();
2221
2221
  return this.parseClass(n, "nullableID");
2222
2222
  } else {
2223
2223
  var r = this.parseMaybeAssign();
2224
2224
  return this.semicolon(), r;
2225
2225
  }
2226
- }, R.checkExport = function(e, t, n) {
2227
- e && (typeof t != "string" && (t = t.type === "Identifier" ? t.name : t.value), tt(e, t) && this.raiseRecoverable(n, "Duplicate export '" + t + "'"), e[t] = !0);
2228
- }, R.checkPatternExport = function(e, t) {
2226
+ }, z.checkExport = function(e, t, n) {
2227
+ e && (typeof t != "string" && (t = t.type === "Identifier" ? t.name : t.value), et(e, t) && this.raiseRecoverable(n, "Duplicate export '" + t + "'"), e[t] = !0);
2228
+ }, z.checkPatternExport = function(e, t) {
2229
2229
  var n = t.type;
2230
2230
  if (n === "Identifier") this.checkExport(e, t, t.start);
2231
2231
  else if (n === "ObjectPattern") for (var r = 0, i = t.properties; r < i.length; r += 1) {
@@ -2237,72 +2237,72 @@ R.parseExportAllDeclaration = function(e, t) {
2237
2237
  c && this.checkPatternExport(e, c);
2238
2238
  }
2239
2239
  else n === "Property" ? this.checkPatternExport(e, t.value) : n === "AssignmentPattern" ? this.checkPatternExport(e, t.left) : n === "RestElement" && this.checkPatternExport(e, t.argument);
2240
- }, R.checkVariableExport = function(e, t) {
2240
+ }, z.checkVariableExport = function(e, t) {
2241
2241
  if (e) for (var n = 0, r = t; n < r.length; n += 1) {
2242
2242
  var i = r[n];
2243
2243
  this.checkPatternExport(e, i.id);
2244
2244
  }
2245
- }, R.shouldParseExportStatement = function() {
2245
+ }, z.shouldParseExportStatement = function() {
2246
2246
  return this.type.keyword === "var" || this.type.keyword === "const" || this.type.keyword === "class" || this.type.keyword === "function" || this.isLet() || this.isAsyncFunction();
2247
- }, R.parseExportSpecifier = function(e) {
2247
+ }, z.parseExportSpecifier = function(e) {
2248
2248
  var t = this.startNode();
2249
2249
  return t.local = this.parseModuleExportName(), t.exported = this.eatContextual("as") ? this.parseModuleExportName() : t.local, this.checkExport(e, t.exported, t.exported.start), this.finishNode(t, "ExportSpecifier");
2250
- }, R.parseExportSpecifiers = function(e) {
2250
+ }, z.parseExportSpecifiers = function(e) {
2251
2251
  var t = [], n = !0;
2252
- for (this.expect(M.braceL); !this.eat(M.braceR);) {
2252
+ for (this.expect(N.braceL); !this.eat(N.braceR);) {
2253
2253
  if (n) n = !1;
2254
- else if (this.expect(M.comma), this.afterTrailingComma(M.braceR)) break;
2254
+ else if (this.expect(N.comma), this.afterTrailingComma(N.braceR)) break;
2255
2255
  t.push(this.parseExportSpecifier(e));
2256
2256
  }
2257
2257
  return t;
2258
- }, R.parseImport = function(e) {
2259
- return this.next(), this.type === M.string ? (e.specifiers = Lt, e.source = this.parseExprAtom()) : (e.specifiers = this.parseImportSpecifiers(), this.expectContextual("from"), e.source = this.type === M.string ? this.parseExprAtom() : this.unexpected()), this.options.ecmaVersion >= 16 && (e.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(e, "ImportDeclaration");
2260
- }, R.parseImportSpecifier = function() {
2258
+ }, z.parseImport = function(e) {
2259
+ return this.next(), this.type === N.string ? (e.specifiers = It, e.source = this.parseExprAtom()) : (e.specifiers = this.parseImportSpecifiers(), this.expectContextual("from"), e.source = this.type === N.string ? this.parseExprAtom() : this.unexpected()), this.options.ecmaVersion >= 16 && (e.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(e, "ImportDeclaration");
2260
+ }, z.parseImportSpecifier = function() {
2261
2261
  var e = this.startNode();
2262
- return e.imported = this.parseModuleExportName(), this.eatContextual("as") ? e.local = this.parseIdent() : (this.checkUnreserved(e.imported), e.local = e.imported), this.checkLValSimple(e.local, kt), this.finishNode(e, "ImportSpecifier");
2263
- }, R.parseImportDefaultSpecifier = function() {
2262
+ return e.imported = this.parseModuleExportName(), this.eatContextual("as") ? e.local = this.parseIdent() : (this.checkUnreserved(e.imported), e.local = e.imported), this.checkLValSimple(e.local, Ot), this.finishNode(e, "ImportSpecifier");
2263
+ }, z.parseImportDefaultSpecifier = function() {
2264
2264
  var e = this.startNode();
2265
- return e.local = this.parseIdent(), this.checkLValSimple(e.local, kt), this.finishNode(e, "ImportDefaultSpecifier");
2266
- }, R.parseImportNamespaceSpecifier = function() {
2265
+ return e.local = this.parseIdent(), this.checkLValSimple(e.local, Ot), this.finishNode(e, "ImportDefaultSpecifier");
2266
+ }, z.parseImportNamespaceSpecifier = function() {
2267
2267
  var e = this.startNode();
2268
- return this.next(), this.expectContextual("as"), e.local = this.parseIdent(), this.checkLValSimple(e.local, kt), this.finishNode(e, "ImportNamespaceSpecifier");
2269
- }, R.parseImportSpecifiers = function() {
2268
+ return this.next(), this.expectContextual("as"), e.local = this.parseIdent(), this.checkLValSimple(e.local, Ot), this.finishNode(e, "ImportNamespaceSpecifier");
2269
+ }, z.parseImportSpecifiers = function() {
2270
2270
  var e = [], t = !0;
2271
- if (this.type === M.name && (e.push(this.parseImportDefaultSpecifier()), !this.eat(M.comma))) return e;
2272
- if (this.type === M.star) return e.push(this.parseImportNamespaceSpecifier()), e;
2273
- for (this.expect(M.braceL); !this.eat(M.braceR);) {
2271
+ if (this.type === N.name && (e.push(this.parseImportDefaultSpecifier()), !this.eat(N.comma))) return e;
2272
+ if (this.type === N.star) return e.push(this.parseImportNamespaceSpecifier()), e;
2273
+ for (this.expect(N.braceL); !this.eat(N.braceR);) {
2274
2274
  if (t) t = !1;
2275
- else if (this.expect(M.comma), this.afterTrailingComma(M.braceR)) break;
2275
+ else if (this.expect(N.comma), this.afterTrailingComma(N.braceR)) break;
2276
2276
  e.push(this.parseImportSpecifier());
2277
2277
  }
2278
2278
  return e;
2279
- }, R.parseWithClause = function() {
2279
+ }, z.parseWithClause = function() {
2280
2280
  var e = [];
2281
- if (!this.eat(M._with)) return e;
2282
- this.expect(M.braceL);
2283
- for (var t = {}, n = !0; !this.eat(M.braceR);) {
2281
+ if (!this.eat(N._with)) return e;
2282
+ this.expect(N.braceL);
2283
+ for (var t = {}, n = !0; !this.eat(N.braceR);) {
2284
2284
  if (n) n = !1;
2285
- else if (this.expect(M.comma), this.afterTrailingComma(M.braceR)) break;
2285
+ else if (this.expect(N.comma), this.afterTrailingComma(N.braceR)) break;
2286
2286
  var r = this.parseImportAttribute(), i = r.key.type === "Identifier" ? r.key.name : r.key.value;
2287
- tt(t, i) && this.raiseRecoverable(r.key.start, "Duplicate attribute key '" + i + "'"), t[i] = !0, e.push(r);
2287
+ et(t, i) && this.raiseRecoverable(r.key.start, "Duplicate attribute key '" + i + "'"), t[i] = !0, e.push(r);
2288
2288
  }
2289
2289
  return e;
2290
- }, R.parseImportAttribute = function() {
2290
+ }, z.parseImportAttribute = function() {
2291
2291
  var e = this.startNode();
2292
- return e.key = this.type === M.string ? this.parseExprAtom() : this.parseIdent(this.options.allowReserved !== "never"), this.expect(M.colon), this.type !== M.string && this.unexpected(), e.value = this.parseExprAtom(), this.finishNode(e, "ImportAttribute");
2293
- }, R.parseModuleExportName = function() {
2294
- if (this.options.ecmaVersion >= 13 && this.type === M.string) {
2292
+ return e.key = this.type === N.string ? this.parseExprAtom() : this.parseIdent(this.options.allowReserved !== "never"), this.expect(N.colon), this.type !== N.string && this.unexpected(), e.value = this.parseExprAtom(), this.finishNode(e, "ImportAttribute");
2293
+ }, z.parseModuleExportName = function() {
2294
+ if (this.options.ecmaVersion >= 13 && this.type === N.string) {
2295
2295
  var e = this.parseLiteral(this.value);
2296
- return ot.test(e.value) && this.raise(e.start, "An export name cannot include a lone surrogate."), e;
2296
+ return at.test(e.value) && this.raise(e.start, "An export name cannot include a lone surrogate."), e;
2297
2297
  }
2298
2298
  return this.parseIdent(!0);
2299
- }, R.adaptDirectivePrologue = function(e) {
2299
+ }, z.adaptDirectivePrologue = function(e) {
2300
2300
  for (var t = 0; t < e.length && this.isDirectiveCandidate(e[t]); ++t) e[t].directive = e[t].expression.raw.slice(1, -1);
2301
- }, R.isDirectiveCandidate = function(e) {
2301
+ }, z.isDirectiveCandidate = function(e) {
2302
2302
  return this.options.ecmaVersion >= 5 && e.type === "ExpressionStatement" && e.expression.type === "Literal" && typeof e.expression.value == "string" && (this.input[e.start] === "\"" || this.input[e.start] === "'");
2303
2303
  };
2304
- var z = F.prototype;
2305
- z.toAssignable = function(e, t, n) {
2304
+ var B = I.prototype;
2305
+ B.toAssignable = function(e, t, n) {
2306
2306
  if (this.options.ecmaVersion >= 6 && e) switch (e.type) {
2307
2307
  case "Identifier":
2308
2308
  this.inAsync && e.name === "await" && this.raise(e.start, "Cannot use 'await' as identifier inside an async function");
@@ -2341,7 +2341,7 @@ z.toAssignable = function(e, t, n) {
2341
2341
  }
2342
2342
  else n && this.checkPatternErrors(n, !0);
2343
2343
  return e;
2344
- }, z.toAssignableList = function(e, t) {
2344
+ }, B.toAssignableList = function(e, t) {
2345
2345
  for (var n = e.length, r = 0; r < n; r++) {
2346
2346
  var i = e[r];
2347
2347
  i && this.toAssignable(i, t);
@@ -2351,44 +2351,44 @@ z.toAssignable = function(e, t, n) {
2351
2351
  this.options.ecmaVersion === 6 && t && a && a.type === "RestElement" && a.argument.type !== "Identifier" && this.unexpected(a.argument.start);
2352
2352
  }
2353
2353
  return e;
2354
- }, z.parseSpread = function(e) {
2354
+ }, B.parseSpread = function(e) {
2355
2355
  var t = this.startNode();
2356
2356
  return this.next(), t.argument = this.parseMaybeAssign(!1, e), this.finishNode(t, "SpreadElement");
2357
- }, z.parseRestBinding = function() {
2357
+ }, B.parseRestBinding = function() {
2358
2358
  var e = this.startNode();
2359
- return this.next(), this.options.ecmaVersion === 6 && this.type !== M.name && this.unexpected(), e.argument = this.parseBindingAtom(), this.finishNode(e, "RestElement");
2360
- }, z.parseBindingAtom = function() {
2359
+ return this.next(), this.options.ecmaVersion === 6 && this.type !== N.name && this.unexpected(), e.argument = this.parseBindingAtom(), this.finishNode(e, "RestElement");
2360
+ }, B.parseBindingAtom = function() {
2361
2361
  if (this.options.ecmaVersion >= 6) switch (this.type) {
2362
- case M.bracketL:
2362
+ case N.bracketL:
2363
2363
  var e = this.startNode();
2364
- return this.next(), e.elements = this.parseBindingList(M.bracketR, !0, !0), this.finishNode(e, "ArrayPattern");
2365
- case M.braceL: return this.parseObj(!0);
2364
+ return this.next(), e.elements = this.parseBindingList(N.bracketR, !0, !0), this.finishNode(e, "ArrayPattern");
2365
+ case N.braceL: return this.parseObj(!0);
2366
2366
  }
2367
2367
  return this.parseIdent();
2368
- }, z.parseBindingList = function(e, t, n, r) {
2369
- for (var i = [], a = !0; !this.eat(e);) if (a ? a = !1 : this.expect(M.comma), t && this.type === M.comma) i.push(null);
2368
+ }, B.parseBindingList = function(e, t, n, r) {
2369
+ for (var i = [], a = !0; !this.eat(e);) if (a ? a = !1 : this.expect(N.comma), t && this.type === N.comma) i.push(null);
2370
2370
  else if (n && this.afterTrailingComma(e)) break;
2371
- else if (this.type === M.ellipsis) {
2371
+ else if (this.type === N.ellipsis) {
2372
2372
  var o = this.parseRestBinding();
2373
- this.parseBindingListItem(o), i.push(o), this.type === M.comma && this.raiseRecoverable(this.start, "Comma is not permitted after the rest element"), this.expect(e);
2373
+ this.parseBindingListItem(o), i.push(o), this.type === N.comma && this.raiseRecoverable(this.start, "Comma is not permitted after the rest element"), this.expect(e);
2374
2374
  break;
2375
2375
  } else i.push(this.parseAssignableListItem(r));
2376
2376
  return i;
2377
- }, z.parseAssignableListItem = function(e) {
2377
+ }, B.parseAssignableListItem = function(e) {
2378
2378
  var t = this.parseMaybeDefault(this.start, this.startLoc);
2379
2379
  return this.parseBindingListItem(t), t;
2380
- }, z.parseBindingListItem = function(e) {
2380
+ }, B.parseBindingListItem = function(e) {
2381
2381
  return e;
2382
- }, z.parseMaybeDefault = function(e, t, n) {
2383
- if (n ||= this.parseBindingAtom(), this.options.ecmaVersion < 6 || !this.eat(M.eq)) return n;
2382
+ }, B.parseMaybeDefault = function(e, t, n) {
2383
+ if (n ||= this.parseBindingAtom(), this.options.ecmaVersion < 6 || !this.eat(N.eq)) return n;
2384
2384
  var r = this.startNodeAt(e, t);
2385
2385
  return r.left = n, r.right = this.parseMaybeAssign(), this.finishNode(r, "AssignmentPattern");
2386
- }, z.checkLValSimple = function(e, t, n) {
2387
- t === void 0 && (t = Dt);
2388
- var r = t !== Dt;
2386
+ }, B.checkLValSimple = function(e, t, n) {
2387
+ t === void 0 && (t = Et);
2388
+ var r = t !== Et;
2389
2389
  switch (e.type) {
2390
2390
  case "Identifier":
2391
- this.strict && this.reservedWordsStrictBind.test(e.name) && this.raiseRecoverable(e.start, (r ? "Binding " : "Assigning to ") + e.name + " in strict mode"), r && (t === kt && e.name === "let" && this.raiseRecoverable(e.start, "let is disallowed as a lexically bound name"), n && (tt(n, e.name) && this.raiseRecoverable(e.start, "Argument name clash"), n[e.name] = !0), t !== Mt && this.declareName(e.name, t, e.start));
2391
+ this.strict && this.reservedWordsStrictBind.test(e.name) && this.raiseRecoverable(e.start, (r ? "Binding " : "Assigning to ") + e.name + " in strict mode"), r && (t === Ot && e.name === "let" && this.raiseRecoverable(e.start, "let is disallowed as a lexically bound name"), n && (et(n, e.name) && this.raiseRecoverable(e.start, "Argument name clash"), n[e.name] = !0), t !== jt && this.declareName(e.name, t, e.start));
2392
2392
  break;
2393
2393
  case "ChainExpression":
2394
2394
  this.raiseRecoverable(e.start, "Optional chaining cannot appear in left-hand side");
@@ -2399,8 +2399,8 @@ z.toAssignable = function(e, t, n) {
2399
2399
  case "ParenthesizedExpression": return r && this.raiseRecoverable(e.start, "Binding parenthesized expression"), this.checkLValSimple(e.expression, t, n);
2400
2400
  default: this.raise(e.start, (r ? "Binding" : "Assigning to") + " rvalue");
2401
2401
  }
2402
- }, z.checkLValPattern = function(e, t, n) {
2403
- switch (t === void 0 && (t = Dt), e.type) {
2402
+ }, B.checkLValPattern = function(e, t, n) {
2403
+ switch (t === void 0 && (t = Et), e.type) {
2404
2404
  case "ObjectPattern":
2405
2405
  for (var r = 0, i = e.properties; r < i.length; r += 1) {
2406
2406
  var a = i[r];
@@ -2415,8 +2415,8 @@ z.toAssignable = function(e, t, n) {
2415
2415
  break;
2416
2416
  default: this.checkLValSimple(e, t, n);
2417
2417
  }
2418
- }, z.checkLValInnerPattern = function(e, t, n) {
2419
- switch (t === void 0 && (t = Dt), e.type) {
2418
+ }, B.checkLValInnerPattern = function(e, t, n) {
2419
+ switch (t === void 0 && (t = Et), e.type) {
2420
2420
  case "Property":
2421
2421
  this.checkLValInnerPattern(e.value, t, n);
2422
2422
  break;
@@ -2429,72 +2429,72 @@ z.toAssignable = function(e, t, n) {
2429
2429
  default: this.checkLValPattern(e, t, n);
2430
2430
  }
2431
2431
  };
2432
- var B = function(e, t, n, r, i) {
2432
+ var V = function(e, t, n, r, i) {
2433
2433
  this.token = e, this.isExpr = !!t, this.preserveSpace = !!n, this.override = r, this.generator = !!i;
2434
- }, V = {
2435
- b_stat: new B("{", !1),
2436
- b_expr: new B("{", !0),
2437
- b_tmpl: new B("${", !1),
2438
- p_stat: new B("(", !1),
2439
- p_expr: new B("(", !0),
2440
- q_tmpl: new B("`", !0, !0, function(e) {
2434
+ }, H = {
2435
+ b_stat: new V("{", !1),
2436
+ b_expr: new V("{", !0),
2437
+ b_tmpl: new V("${", !1),
2438
+ p_stat: new V("(", !1),
2439
+ p_expr: new V("(", !0),
2440
+ q_tmpl: new V("`", !0, !0, function(e) {
2441
2441
  return e.tryReadTemplateToken();
2442
2442
  }),
2443
- f_stat: new B("function", !1),
2444
- f_expr: new B("function", !0),
2445
- f_expr_gen: new B("function", !0, !1, null, !0),
2446
- f_gen: new B("function", !1, !1, null, !0)
2447
- }, Ut = F.prototype;
2448
- Ut.initialContext = function() {
2449
- return [V.b_stat];
2450
- }, Ut.curContext = function() {
2443
+ f_stat: new V("function", !1),
2444
+ f_expr: new V("function", !0),
2445
+ f_expr_gen: new V("function", !0, !1, null, !0),
2446
+ f_gen: new V("function", !1, !1, null, !0)
2447
+ }, Ht = I.prototype;
2448
+ Ht.initialContext = function() {
2449
+ return [H.b_stat];
2450
+ }, Ht.curContext = function() {
2451
2451
  return this.context[this.context.length - 1];
2452
- }, Ut.braceIsBlock = function(e) {
2452
+ }, Ht.braceIsBlock = function(e) {
2453
2453
  var t = this.curContext();
2454
- return t === V.f_expr || t === V.f_stat ? !0 : e === M.colon && (t === V.b_stat || t === V.b_expr) ? !t.isExpr : e === M._return || e === M.name && this.exprAllowed ? N.test(this.input.slice(this.lastTokEnd, this.start)) : e === M._else || e === M.semi || e === M.eof || e === M.parenR || e === M.arrow ? !0 : e === M.braceL ? t === V.b_stat : e === M._var || e === M._const || e === M.name ? !1 : !this.exprAllowed;
2455
- }, Ut.inGeneratorContext = function() {
2454
+ return t === H.f_expr || t === H.f_stat ? !0 : e === N.colon && (t === H.b_stat || t === H.b_expr) ? !t.isExpr : e === N._return || e === N.name && this.exprAllowed ? P.test(this.input.slice(this.lastTokEnd, this.start)) : e === N._else || e === N.semi || e === N.eof || e === N.parenR || e === N.arrow ? !0 : e === N.braceL ? t === H.b_stat : e === N._var || e === N._const || e === N.name ? !1 : !this.exprAllowed;
2455
+ }, Ht.inGeneratorContext = function() {
2456
2456
  for (var e = this.context.length - 1; e >= 1; e--) {
2457
2457
  var t = this.context[e];
2458
2458
  if (t.token === "function") return t.generator;
2459
2459
  }
2460
2460
  return !1;
2461
- }, Ut.updateContext = function(e) {
2461
+ }, Ht.updateContext = function(e) {
2462
2462
  var t, n = this.type;
2463
- n.keyword && e === M.dot ? this.exprAllowed = !1 : (t = n.updateContext) ? t.call(this, e) : this.exprAllowed = n.beforeExpr;
2464
- }, Ut.overrideContext = function(e) {
2463
+ n.keyword && e === N.dot ? this.exprAllowed = !1 : (t = n.updateContext) ? t.call(this, e) : this.exprAllowed = n.beforeExpr;
2464
+ }, Ht.overrideContext = function(e) {
2465
2465
  this.curContext() !== e && (this.context[this.context.length - 1] = e);
2466
- }, M.parenR.updateContext = M.braceR.updateContext = function() {
2466
+ }, N.parenR.updateContext = N.braceR.updateContext = function() {
2467
2467
  if (this.context.length === 1) {
2468
2468
  this.exprAllowed = !0;
2469
2469
  return;
2470
2470
  }
2471
2471
  var e = this.context.pop();
2472
- e === V.b_stat && this.curContext().token === "function" && (e = this.context.pop()), this.exprAllowed = !e.isExpr;
2473
- }, M.braceL.updateContext = function(e) {
2474
- this.context.push(this.braceIsBlock(e) ? V.b_stat : V.b_expr), this.exprAllowed = !0;
2475
- }, M.dollarBraceL.updateContext = function() {
2476
- this.context.push(V.b_tmpl), this.exprAllowed = !0;
2477
- }, M.parenL.updateContext = function(e) {
2478
- var t = e === M._if || e === M._for || e === M._with || e === M._while;
2479
- this.context.push(t ? V.p_stat : V.p_expr), this.exprAllowed = !0;
2480
- }, M.incDec.updateContext = function() {}, M._function.updateContext = M._class.updateContext = function(e) {
2481
- e.beforeExpr && e !== M._else && !(e === M.semi && this.curContext() !== V.p_stat) && !(e === M._return && N.test(this.input.slice(this.lastTokEnd, this.start))) && !((e === M.colon || e === M.braceL) && this.curContext() === V.b_stat) ? this.context.push(V.f_expr) : this.context.push(V.f_stat), this.exprAllowed = !1;
2482
- }, M.colon.updateContext = function() {
2472
+ e === H.b_stat && this.curContext().token === "function" && (e = this.context.pop()), this.exprAllowed = !e.isExpr;
2473
+ }, N.braceL.updateContext = function(e) {
2474
+ this.context.push(this.braceIsBlock(e) ? H.b_stat : H.b_expr), this.exprAllowed = !0;
2475
+ }, N.dollarBraceL.updateContext = function() {
2476
+ this.context.push(H.b_tmpl), this.exprAllowed = !0;
2477
+ }, N.parenL.updateContext = function(e) {
2478
+ var t = e === N._if || e === N._for || e === N._with || e === N._while;
2479
+ this.context.push(t ? H.p_stat : H.p_expr), this.exprAllowed = !0;
2480
+ }, N.incDec.updateContext = function() {}, N._function.updateContext = N._class.updateContext = function(e) {
2481
+ e.beforeExpr && e !== N._else && !(e === N.semi && this.curContext() !== H.p_stat) && !(e === N._return && P.test(this.input.slice(this.lastTokEnd, this.start))) && !((e === N.colon || e === N.braceL) && this.curContext() === H.b_stat) ? this.context.push(H.f_expr) : this.context.push(H.f_stat), this.exprAllowed = !1;
2482
+ }, N.colon.updateContext = function() {
2483
2483
  this.curContext().token === "function" && this.context.pop(), this.exprAllowed = !0;
2484
- }, M.backQuote.updateContext = function() {
2485
- this.curContext() === V.q_tmpl ? this.context.pop() : this.context.push(V.q_tmpl), this.exprAllowed = !1;
2486
- }, M.star.updateContext = function(e) {
2487
- if (e === M._function) {
2484
+ }, N.backQuote.updateContext = function() {
2485
+ this.curContext() === H.q_tmpl ? this.context.pop() : this.context.push(H.q_tmpl), this.exprAllowed = !1;
2486
+ }, N.star.updateContext = function(e) {
2487
+ if (e === N._function) {
2488
2488
  var t = this.context.length - 1;
2489
- this.context[t] === V.f_expr ? this.context[t] = V.f_expr_gen : this.context[t] = V.f_gen;
2489
+ this.context[t] === H.f_expr ? this.context[t] = H.f_expr_gen : this.context[t] = H.f_gen;
2490
2490
  }
2491
2491
  this.exprAllowed = !0;
2492
- }, M.name.updateContext = function(e) {
2492
+ }, N.name.updateContext = function(e) {
2493
2493
  var t = !1;
2494
- this.options.ecmaVersion >= 6 && e !== M.dot && (this.value === "of" && !this.exprAllowed || this.value === "yield" && this.inGeneratorContext()) && (t = !0), this.exprAllowed = t;
2494
+ this.options.ecmaVersion >= 6 && e !== N.dot && (this.value === "of" && !this.exprAllowed || this.value === "yield" && this.inGeneratorContext()) && (t = !0), this.exprAllowed = t;
2495
2495
  };
2496
- var H = F.prototype;
2497
- H.checkPropClash = function(e, t, n) {
2496
+ var U = I.prototype;
2497
+ U.checkPropClash = function(e, t, n) {
2498
2498
  if (!(this.options.ecmaVersion >= 9 && e.type === "SpreadElement") && !(this.options.ecmaVersion >= 6 && (e.computed || e.method || e.shorthand))) {
2499
2499
  var r = e.key, i;
2500
2500
  switch (r.type) {
@@ -2519,62 +2519,62 @@ H.checkPropClash = function(e, t, n) {
2519
2519
  set: !1
2520
2520
  }, o[a] = !0;
2521
2521
  }
2522
- }, H.parseExpression = function(e, t) {
2522
+ }, U.parseExpression = function(e, t) {
2523
2523
  var n = this.start, r = this.startLoc, i = this.parseMaybeAssign(e, t);
2524
- if (this.type === M.comma) {
2524
+ if (this.type === N.comma) {
2525
2525
  var a = this.startNodeAt(n, r);
2526
- for (a.expressions = [i]; this.eat(M.comma);) a.expressions.push(this.parseMaybeAssign(e, t));
2526
+ for (a.expressions = [i]; this.eat(N.comma);) a.expressions.push(this.parseMaybeAssign(e, t));
2527
2527
  return this.finishNode(a, "SequenceExpression");
2528
2528
  }
2529
2529
  return i;
2530
- }, H.parseMaybeAssign = function(e, t, n) {
2530
+ }, U.parseMaybeAssign = function(e, t, n) {
2531
2531
  if (this.isContextual("yield")) {
2532
2532
  if (this.inGenerator) return this.parseYield(e);
2533
2533
  this.exprAllowed = !1;
2534
2534
  }
2535
2535
  var r = !1, i = -1, a = -1, o = -1;
2536
- t ? (i = t.parenthesizedAssign, a = t.trailingComma, o = t.doubleProto, t.parenthesizedAssign = t.trailingComma = -1) : (t = new Pt(), r = !0);
2536
+ t ? (i = t.parenthesizedAssign, a = t.trailingComma, o = t.doubleProto, t.parenthesizedAssign = t.trailingComma = -1) : (t = new Nt(), r = !0);
2537
2537
  var s = this.start, c = this.startLoc;
2538
- (this.type === M.parenL || this.type === M.name) && (this.potentialArrowAt = this.start, this.potentialArrowInForAwait = e === "await");
2538
+ (this.type === N.parenL || this.type === N.name) && (this.potentialArrowAt = this.start, this.potentialArrowInForAwait = e === "await");
2539
2539
  var l = this.parseMaybeConditional(e, t);
2540
2540
  if (n && (l = n.call(this, l, s, c)), this.type.isAssign) {
2541
2541
  var u = this.startNodeAt(s, c);
2542
- return u.operator = this.value, this.type === M.eq && (l = this.toAssignable(l, !1, t)), r || (t.parenthesizedAssign = t.trailingComma = t.doubleProto = -1), t.shorthandAssign >= l.start && (t.shorthandAssign = -1), this.type === M.eq ? this.checkLValPattern(l) : this.checkLValSimple(l), u.left = l, this.next(), u.right = this.parseMaybeAssign(e), o > -1 && (t.doubleProto = o), this.finishNode(u, "AssignmentExpression");
2542
+ return u.operator = this.value, this.type === N.eq && (l = this.toAssignable(l, !1, t)), r || (t.parenthesizedAssign = t.trailingComma = t.doubleProto = -1), t.shorthandAssign >= l.start && (t.shorthandAssign = -1), this.type === N.eq ? this.checkLValPattern(l) : this.checkLValSimple(l), u.left = l, this.next(), u.right = this.parseMaybeAssign(e), o > -1 && (t.doubleProto = o), this.finishNode(u, "AssignmentExpression");
2543
2543
  } else r && this.checkExpressionErrors(t, !0);
2544
2544
  return i > -1 && (t.parenthesizedAssign = i), a > -1 && (t.trailingComma = a), l;
2545
- }, H.parseMaybeConditional = function(e, t) {
2545
+ }, U.parseMaybeConditional = function(e, t) {
2546
2546
  var n = this.start, r = this.startLoc, i = this.parseExprOps(e, t);
2547
2547
  if (this.checkExpressionErrors(t)) return i;
2548
- if (this.eat(M.question)) {
2548
+ if (this.eat(N.question)) {
2549
2549
  var a = this.startNodeAt(n, r);
2550
- return a.test = i, a.consequent = this.parseMaybeAssign(), this.expect(M.colon), a.alternate = this.parseMaybeAssign(e), this.finishNode(a, "ConditionalExpression");
2550
+ return a.test = i, a.consequent = this.parseMaybeAssign(), this.expect(N.colon), a.alternate = this.parseMaybeAssign(e), this.finishNode(a, "ConditionalExpression");
2551
2551
  }
2552
2552
  return i;
2553
- }, H.parseExprOps = function(e, t) {
2553
+ }, U.parseExprOps = function(e, t) {
2554
2554
  var n = this.start, r = this.startLoc, i = this.parseMaybeUnary(t, !1, !1, e);
2555
2555
  return this.checkExpressionErrors(t) || i.start === n && i.type === "ArrowFunctionExpression" ? i : this.parseExprOp(i, n, r, -1, e);
2556
- }, H.parseExprOp = function(e, t, n, r, i) {
2556
+ }, U.parseExprOp = function(e, t, n, r, i) {
2557
2557
  var a = this.type.binop;
2558
- if (a != null && (!i || this.type !== M._in) && a > r) {
2559
- var o = this.type === M.logicalOR || this.type === M.logicalAND, s = this.type === M.coalesce;
2560
- s && (a = M.logicalAND.binop);
2558
+ if (a != null && (!i || this.type !== N._in) && a > r) {
2559
+ var o = this.type === N.logicalOR || this.type === N.logicalAND, s = this.type === N.coalesce;
2560
+ s && (a = N.logicalAND.binop);
2561
2561
  var c = this.value;
2562
2562
  this.next();
2563
2563
  var l = this.start, u = this.startLoc, d = this.parseExprOp(this.parseMaybeUnary(null, !1, !1, i), l, u, a, i), f = this.buildBinary(t, n, e, d, c, o || s);
2564
- return (o && this.type === M.coalesce || s && (this.type === M.logicalOR || this.type === M.logicalAND)) && this.raiseRecoverable(this.start, "Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"), this.parseExprOp(f, t, n, r, i);
2564
+ return (o && this.type === N.coalesce || s && (this.type === N.logicalOR || this.type === N.logicalAND)) && this.raiseRecoverable(this.start, "Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"), this.parseExprOp(f, t, n, r, i);
2565
2565
  }
2566
2566
  return e;
2567
- }, H.buildBinary = function(e, t, n, r, i, a) {
2567
+ }, U.buildBinary = function(e, t, n, r, i, a) {
2568
2568
  r.type === "PrivateIdentifier" && this.raise(r.start, "Private identifier can only be left side of binary expression");
2569
2569
  var o = this.startNodeAt(e, t);
2570
2570
  return o.left = n, o.operator = i, o.right = r, this.finishNode(o, a ? "LogicalExpression" : "BinaryExpression");
2571
- }, H.parseMaybeUnary = function(e, t, n, r) {
2571
+ }, U.parseMaybeUnary = function(e, t, n, r) {
2572
2572
  var i = this.start, a = this.startLoc, o;
2573
2573
  if (this.isContextual("await") && this.canAwait) o = this.parseAwait(r), t = !0;
2574
2574
  else if (this.type.prefix) {
2575
- var s = this.startNode(), c = this.type === M.incDec;
2576
- s.operator = this.value, s.prefix = !0, this.next(), s.argument = this.parseMaybeUnary(null, !0, c, r), this.checkExpressionErrors(e, !0), c ? this.checkLValSimple(s.argument) : this.strict && s.operator === "delete" && Wt(s.argument) ? this.raiseRecoverable(s.start, "Deleting local variable in strict mode") : s.operator === "delete" && Gt(s.argument) ? this.raiseRecoverable(s.start, "Private fields can not be deleted") : t = !0, o = this.finishNode(s, c ? "UpdateExpression" : "UnaryExpression");
2577
- } else if (!t && this.type === M.privateId) (r || this.privateNameStack.length === 0) && this.options.checkPrivateFields && this.unexpected(), o = this.parsePrivateIdent(), this.type !== M._in && this.unexpected();
2575
+ var s = this.startNode(), c = this.type === N.incDec;
2576
+ s.operator = this.value, s.prefix = !0, this.next(), s.argument = this.parseMaybeUnary(null, !0, c, r), this.checkExpressionErrors(e, !0), c ? this.checkLValSimple(s.argument) : this.strict && s.operator === "delete" && Ut(s.argument) ? this.raiseRecoverable(s.start, "Deleting local variable in strict mode") : s.operator === "delete" && Wt(s.argument) ? this.raiseRecoverable(s.start, "Private fields can not be deleted") : t = !0, o = this.finishNode(s, c ? "UpdateExpression" : "UnaryExpression");
2577
+ } else if (!t && this.type === N.privateId) (r || this.privateNameStack.length === 0) && this.options.checkPrivateFields && this.unexpected(), o = this.parsePrivateIdent(), this.type !== N._in && this.unexpected();
2578
2578
  else {
2579
2579
  if (o = this.parseExprSubscripts(e, r), this.checkExpressionErrors(e)) return o;
2580
2580
  for (; this.type.postfix && !this.canInsertSemicolon();) {
@@ -2582,22 +2582,22 @@ H.checkPropClash = function(e, t, n) {
2582
2582
  l.operator = this.value, l.prefix = !1, l.argument = o, this.checkLValSimple(o), this.next(), o = this.finishNode(l, "UpdateExpression");
2583
2583
  }
2584
2584
  }
2585
- if (!n && this.eat(M.starstar)) if (t) this.unexpected(this.lastTokStart);
2585
+ if (!n && this.eat(N.starstar)) if (t) this.unexpected(this.lastTokStart);
2586
2586
  else return this.buildBinary(i, a, o, this.parseMaybeUnary(null, !1, !1, r), "**", !1);
2587
2587
  else return o;
2588
2588
  };
2589
- function Wt(e) {
2590
- return e.type === "Identifier" || e.type === "ParenthesizedExpression" && Wt(e.expression);
2589
+ function Ut(e) {
2590
+ return e.type === "Identifier" || e.type === "ParenthesizedExpression" && Ut(e.expression);
2591
2591
  }
2592
- function Gt(e) {
2593
- return e.type === "MemberExpression" && e.property.type === "PrivateIdentifier" || e.type === "ChainExpression" && Gt(e.expression) || e.type === "ParenthesizedExpression" && Gt(e.expression);
2592
+ function Wt(e) {
2593
+ return e.type === "MemberExpression" && e.property.type === "PrivateIdentifier" || e.type === "ChainExpression" && Wt(e.expression) || e.type === "ParenthesizedExpression" && Wt(e.expression);
2594
2594
  }
2595
- H.parseExprSubscripts = function(e, t) {
2595
+ U.parseExprSubscripts = function(e, t) {
2596
2596
  var n = this.start, r = this.startLoc, i = this.parseExprAtom(e, t);
2597
2597
  if (i.type === "ArrowFunctionExpression" && this.input.slice(this.lastTokStart, this.lastTokEnd) !== ")") return i;
2598
2598
  var a = this.parseSubscripts(i, n, r, !1, t);
2599
2599
  return e && a.type === "MemberExpression" && (e.parenthesizedAssign >= a.start && (e.parenthesizedAssign = -1), e.parenthesizedBind >= a.start && (e.parenthesizedBind = -1), e.trailingComma >= a.start && (e.trailingComma = -1)), a;
2600
- }, H.parseSubscripts = function(e, t, n, r, i) {
2600
+ }, U.parseSubscripts = function(e, t, n, r, i) {
2601
2601
  for (var a = this.options.ecmaVersion >= 8 && e.type === "Identifier" && e.name === "async" && this.lastTokEnd === e.end && !this.canInsertSemicolon() && e.end - e.start === 5 && this.potentialArrowAt === e.start, o = !1;;) {
2602
2602
  var s = this.parseSubscript(e, t, n, r, a, o, i);
2603
2603
  if (s.optional && (o = !0), s === e || s.type === "ArrowFunctionExpression") {
@@ -2609,170 +2609,170 @@ H.parseExprSubscripts = function(e, t) {
2609
2609
  }
2610
2610
  e = s;
2611
2611
  }
2612
- }, H.shouldParseAsyncArrow = function() {
2613
- return !this.canInsertSemicolon() && this.eat(M.arrow);
2614
- }, H.parseSubscriptAsyncArrow = function(e, t, n, r) {
2612
+ }, U.shouldParseAsyncArrow = function() {
2613
+ return !this.canInsertSemicolon() && this.eat(N.arrow);
2614
+ }, U.parseSubscriptAsyncArrow = function(e, t, n, r) {
2615
2615
  return this.parseArrowExpression(this.startNodeAt(e, t), n, !0, r);
2616
- }, H.parseSubscript = function(e, t, n, r, i, a, o) {
2617
- var s = this.options.ecmaVersion >= 11, c = s && this.eat(M.questionDot);
2616
+ }, U.parseSubscript = function(e, t, n, r, i, a, o) {
2617
+ var s = this.options.ecmaVersion >= 11, c = s && this.eat(N.questionDot);
2618
2618
  r && c && this.raise(this.lastTokStart, "Optional chaining cannot appear in the callee of new expressions");
2619
- var l = this.eat(M.bracketL);
2620
- if (l || c && this.type !== M.parenL && this.type !== M.backQuote || this.eat(M.dot)) {
2619
+ var l = this.eat(N.bracketL);
2620
+ if (l || c && this.type !== N.parenL && this.type !== N.backQuote || this.eat(N.dot)) {
2621
2621
  var u = this.startNodeAt(t, n);
2622
- u.object = e, l ? (u.property = this.parseExpression(), this.expect(M.bracketR)) : this.type === M.privateId && e.type !== "Super" ? u.property = this.parsePrivateIdent() : u.property = this.parseIdent(this.options.allowReserved !== "never"), u.computed = !!l, s && (u.optional = c), e = this.finishNode(u, "MemberExpression");
2623
- } else if (!r && this.eat(M.parenL)) {
2624
- var d = new Pt(), f = this.yieldPos, p = this.awaitPos, m = this.awaitIdentPos;
2622
+ u.object = e, l ? (u.property = this.parseExpression(), this.expect(N.bracketR)) : this.type === N.privateId && e.type !== "Super" ? u.property = this.parsePrivateIdent() : u.property = this.parseIdent(this.options.allowReserved !== "never"), u.computed = !!l, s && (u.optional = c), e = this.finishNode(u, "MemberExpression");
2623
+ } else if (!r && this.eat(N.parenL)) {
2624
+ var d = new Nt(), f = this.yieldPos, p = this.awaitPos, m = this.awaitIdentPos;
2625
2625
  this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0;
2626
- var h = this.parseExprList(M.parenR, this.options.ecmaVersion >= 8, !1, d);
2626
+ var h = this.parseExprList(N.parenR, this.options.ecmaVersion >= 8, !1, d);
2627
2627
  if (i && !c && this.shouldParseAsyncArrow()) return this.checkPatternErrors(d, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = f, this.awaitPos = p, this.awaitIdentPos = m, this.parseSubscriptAsyncArrow(t, n, h, o);
2628
2628
  this.checkExpressionErrors(d, !0), this.yieldPos = f || this.yieldPos, this.awaitPos = p || this.awaitPos, this.awaitIdentPos = m || this.awaitIdentPos;
2629
2629
  var g = this.startNodeAt(t, n);
2630
2630
  g.callee = e, g.arguments = h, s && (g.optional = c), e = this.finishNode(g, "CallExpression");
2631
- } else if (this.type === M.backQuote) {
2631
+ } else if (this.type === N.backQuote) {
2632
2632
  (c || a) && this.raise(this.start, "Optional chaining cannot appear in the tag of tagged template expressions");
2633
2633
  var ee = this.startNodeAt(t, n);
2634
2634
  ee.tag = e, ee.quasi = this.parseTemplate({ isTagged: !0 }), e = this.finishNode(ee, "TaggedTemplateExpression");
2635
2635
  }
2636
2636
  return e;
2637
- }, H.parseExprAtom = function(e, t, n) {
2638
- this.type === M.slash && this.readRegexp();
2637
+ }, U.parseExprAtom = function(e, t, n) {
2638
+ this.type === N.slash && this.readRegexp();
2639
2639
  var r, i = this.potentialArrowAt === this.start;
2640
2640
  switch (this.type) {
2641
- case M._super: return this.allowSuper || this.raise(this.start, "'super' keyword outside a method"), r = this.startNode(), this.next(), this.type === M.parenL && !this.allowDirectSuper && this.raise(r.start, "super() call outside constructor of a subclass"), this.type !== M.dot && this.type !== M.bracketL && this.type !== M.parenL && this.unexpected(), this.finishNode(r, "Super");
2642
- case M._this: return r = this.startNode(), this.next(), this.finishNode(r, "ThisExpression");
2643
- case M.name:
2641
+ case N._super: return this.allowSuper || this.raise(this.start, "'super' keyword outside a method"), r = this.startNode(), this.next(), this.type === N.parenL && !this.allowDirectSuper && this.raise(r.start, "super() call outside constructor of a subclass"), this.type !== N.dot && this.type !== N.bracketL && this.type !== N.parenL && this.unexpected(), this.finishNode(r, "Super");
2642
+ case N._this: return r = this.startNode(), this.next(), this.finishNode(r, "ThisExpression");
2643
+ case N.name:
2644
2644
  var a = this.start, o = this.startLoc, s = this.containsEsc, c = this.parseIdent(!1);
2645
- if (this.options.ecmaVersion >= 8 && !s && c.name === "async" && !this.canInsertSemicolon() && this.eat(M._function)) return this.overrideContext(V.f_expr), this.parseFunction(this.startNodeAt(a, o), 0, !1, !0, t);
2645
+ if (this.options.ecmaVersion >= 8 && !s && c.name === "async" && !this.canInsertSemicolon() && this.eat(N._function)) return this.overrideContext(H.f_expr), this.parseFunction(this.startNodeAt(a, o), 0, !1, !0, t);
2646
2646
  if (i && !this.canInsertSemicolon()) {
2647
- if (this.eat(M.arrow)) return this.parseArrowExpression(this.startNodeAt(a, o), [c], !1, t);
2648
- if (this.options.ecmaVersion >= 8 && c.name === "async" && this.type === M.name && !s && (!this.potentialArrowInForAwait || this.value !== "of" || this.containsEsc)) return c = this.parseIdent(!1), (this.canInsertSemicolon() || !this.eat(M.arrow)) && this.unexpected(), this.parseArrowExpression(this.startNodeAt(a, o), [c], !0, t);
2647
+ if (this.eat(N.arrow)) return this.parseArrowExpression(this.startNodeAt(a, o), [c], !1, t);
2648
+ if (this.options.ecmaVersion >= 8 && c.name === "async" && this.type === N.name && !s && (!this.potentialArrowInForAwait || this.value !== "of" || this.containsEsc)) return c = this.parseIdent(!1), (this.canInsertSemicolon() || !this.eat(N.arrow)) && this.unexpected(), this.parseArrowExpression(this.startNodeAt(a, o), [c], !0, t);
2649
2649
  }
2650
2650
  return c;
2651
- case M.regexp:
2651
+ case N.regexp:
2652
2652
  var l = this.value;
2653
2653
  return r = this.parseLiteral(l.value), r.regex = {
2654
2654
  pattern: l.pattern,
2655
2655
  flags: l.flags
2656
2656
  }, r;
2657
- case M.num:
2658
- case M.string: return this.parseLiteral(this.value);
2659
- case M._null:
2660
- case M._true:
2661
- case M._false: return r = this.startNode(), r.value = this.type === M._null ? null : this.type === M._true, r.raw = this.type.keyword, this.next(), this.finishNode(r, "Literal");
2662
- case M.parenL:
2657
+ case N.num:
2658
+ case N.string: return this.parseLiteral(this.value);
2659
+ case N._null:
2660
+ case N._true:
2661
+ case N._false: return r = this.startNode(), r.value = this.type === N._null ? null : this.type === N._true, r.raw = this.type.keyword, this.next(), this.finishNode(r, "Literal");
2662
+ case N.parenL:
2663
2663
  var u = this.start, d = this.parseParenAndDistinguishExpression(i, t);
2664
2664
  return e && (e.parenthesizedAssign < 0 && !this.isSimpleAssignTarget(d) && (e.parenthesizedAssign = u), e.parenthesizedBind < 0 && (e.parenthesizedBind = u)), d;
2665
- case M.bracketL: return r = this.startNode(), this.next(), r.elements = this.parseExprList(M.bracketR, !0, !0, e), this.finishNode(r, "ArrayExpression");
2666
- case M.braceL: return this.overrideContext(V.b_expr), this.parseObj(!1, e);
2667
- case M._function: return r = this.startNode(), this.next(), this.parseFunction(r, 0);
2668
- case M._class: return this.parseClass(this.startNode(), !1);
2669
- case M._new: return this.parseNew();
2670
- case M.backQuote: return this.parseTemplate();
2671
- case M._import: return this.options.ecmaVersion >= 11 ? this.parseExprImport(n) : this.unexpected();
2665
+ case N.bracketL: return r = this.startNode(), this.next(), r.elements = this.parseExprList(N.bracketR, !0, !0, e), this.finishNode(r, "ArrayExpression");
2666
+ case N.braceL: return this.overrideContext(H.b_expr), this.parseObj(!1, e);
2667
+ case N._function: return r = this.startNode(), this.next(), this.parseFunction(r, 0);
2668
+ case N._class: return this.parseClass(this.startNode(), !1);
2669
+ case N._new: return this.parseNew();
2670
+ case N.backQuote: return this.parseTemplate();
2671
+ case N._import: return this.options.ecmaVersion >= 11 ? this.parseExprImport(n) : this.unexpected();
2672
2672
  default: return this.parseExprAtomDefault();
2673
2673
  }
2674
- }, H.parseExprAtomDefault = function() {
2674
+ }, U.parseExprAtomDefault = function() {
2675
2675
  this.unexpected();
2676
- }, H.parseExprImport = function(e) {
2676
+ }, U.parseExprImport = function(e) {
2677
2677
  var t = this.startNode();
2678
- if (this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword import"), this.next(), this.type === M.parenL && !e) return this.parseDynamicImport(t);
2679
- if (this.type === M.dot) {
2678
+ if (this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword import"), this.next(), this.type === N.parenL && !e) return this.parseDynamicImport(t);
2679
+ if (this.type === N.dot) {
2680
2680
  var n = this.startNodeAt(t.start, t.loc && t.loc.start);
2681
2681
  return n.name = "import", t.meta = this.finishNode(n, "Identifier"), this.parseImportMeta(t);
2682
2682
  } else this.unexpected();
2683
- }, H.parseDynamicImport = function(e) {
2684
- if (this.next(), e.source = this.parseMaybeAssign(), this.options.ecmaVersion >= 16) this.eat(M.parenR) ? e.options = null : (this.expect(M.comma), this.afterTrailingComma(M.parenR) ? e.options = null : (e.options = this.parseMaybeAssign(), this.eat(M.parenR) || (this.expect(M.comma), this.afterTrailingComma(M.parenR) || this.unexpected())));
2685
- else if (!this.eat(M.parenR)) {
2683
+ }, U.parseDynamicImport = function(e) {
2684
+ if (this.next(), e.source = this.parseMaybeAssign(), this.options.ecmaVersion >= 16) this.eat(N.parenR) ? e.options = null : (this.expect(N.comma), this.afterTrailingComma(N.parenR) ? e.options = null : (e.options = this.parseMaybeAssign(), this.eat(N.parenR) || (this.expect(N.comma), this.afterTrailingComma(N.parenR) || this.unexpected())));
2685
+ else if (!this.eat(N.parenR)) {
2686
2686
  var t = this.start;
2687
- this.eat(M.comma) && this.eat(M.parenR) ? this.raiseRecoverable(t, "Trailing comma is not allowed in import()") : this.unexpected(t);
2687
+ this.eat(N.comma) && this.eat(N.parenR) ? this.raiseRecoverable(t, "Trailing comma is not allowed in import()") : this.unexpected(t);
2688
2688
  }
2689
2689
  return this.finishNode(e, "ImportExpression");
2690
- }, H.parseImportMeta = function(e) {
2690
+ }, U.parseImportMeta = function(e) {
2691
2691
  this.next();
2692
2692
  var t = this.containsEsc;
2693
2693
  return e.property = this.parseIdent(!0), e.property.name !== "meta" && this.raiseRecoverable(e.property.start, "The only valid meta property for import is 'import.meta'"), t && this.raiseRecoverable(e.start, "'import.meta' must not contain escaped characters"), this.options.sourceType !== "module" && !this.options.allowImportExportEverywhere && this.raiseRecoverable(e.start, "Cannot use 'import.meta' outside a module"), this.finishNode(e, "MetaProperty");
2694
- }, H.parseLiteral = function(e) {
2694
+ }, U.parseLiteral = function(e) {
2695
2695
  var t = this.startNode();
2696
2696
  return t.value = e, t.raw = this.input.slice(this.start, this.end), t.raw.charCodeAt(t.raw.length - 1) === 110 && (t.bigint = t.value == null ? t.raw.slice(0, -1).replace(/_/g, "") : t.value.toString()), this.next(), this.finishNode(t, "Literal");
2697
- }, H.parseParenExpression = function() {
2698
- this.expect(M.parenL);
2697
+ }, U.parseParenExpression = function() {
2698
+ this.expect(N.parenL);
2699
2699
  var e = this.parseExpression();
2700
- return this.expect(M.parenR), e;
2701
- }, H.shouldParseArrow = function(e) {
2700
+ return this.expect(N.parenR), e;
2701
+ }, U.shouldParseArrow = function(e) {
2702
2702
  return !this.canInsertSemicolon();
2703
- }, H.parseParenAndDistinguishExpression = function(e, t) {
2703
+ }, U.parseParenAndDistinguishExpression = function(e, t) {
2704
2704
  var n = this.start, r = this.startLoc, i, a = this.options.ecmaVersion >= 8;
2705
2705
  if (this.options.ecmaVersion >= 6) {
2706
2706
  this.next();
2707
- var o = this.start, s = this.startLoc, c = [], l = !0, u = !1, d = new Pt(), f = this.yieldPos, p = this.awaitPos, m;
2708
- for (this.yieldPos = 0, this.awaitPos = 0; this.type !== M.parenR;) if (l ? l = !1 : this.expect(M.comma), a && this.afterTrailingComma(M.parenR, !0)) {
2707
+ var o = this.start, s = this.startLoc, c = [], l = !0, u = !1, d = new Nt(), f = this.yieldPos, p = this.awaitPos, m;
2708
+ for (this.yieldPos = 0, this.awaitPos = 0; this.type !== N.parenR;) if (l ? l = !1 : this.expect(N.comma), a && this.afterTrailingComma(N.parenR, !0)) {
2709
2709
  u = !0;
2710
2710
  break;
2711
- } else if (this.type === M.ellipsis) {
2712
- m = this.start, c.push(this.parseParenItem(this.parseRestBinding())), this.type === M.comma && this.raiseRecoverable(this.start, "Comma is not permitted after the rest element");
2711
+ } else if (this.type === N.ellipsis) {
2712
+ m = this.start, c.push(this.parseParenItem(this.parseRestBinding())), this.type === N.comma && this.raiseRecoverable(this.start, "Comma is not permitted after the rest element");
2713
2713
  break;
2714
2714
  } else c.push(this.parseMaybeAssign(!1, d, this.parseParenItem));
2715
2715
  var h = this.lastTokEnd, g = this.lastTokEndLoc;
2716
- if (this.expect(M.parenR), e && this.shouldParseArrow(c) && this.eat(M.arrow)) return this.checkPatternErrors(d, !1), this.checkYieldAwaitInDefaultParams(), this.yieldPos = f, this.awaitPos = p, this.parseParenArrowList(n, r, c, t);
2716
+ if (this.expect(N.parenR), e && this.shouldParseArrow(c) && this.eat(N.arrow)) return this.checkPatternErrors(d, !1), this.checkYieldAwaitInDefaultParams(), this.yieldPos = f, this.awaitPos = p, this.parseParenArrowList(n, r, c, t);
2717
2717
  (!c.length || u) && this.unexpected(this.lastTokStart), m && this.unexpected(m), this.checkExpressionErrors(d, !0), this.yieldPos = f || this.yieldPos, this.awaitPos = p || this.awaitPos, c.length > 1 ? (i = this.startNodeAt(o, s), i.expressions = c, this.finishNodeAt(i, "SequenceExpression", h, g)) : i = c[0];
2718
2718
  } else i = this.parseParenExpression();
2719
2719
  if (this.options.preserveParens) {
2720
2720
  var ee = this.startNodeAt(n, r);
2721
2721
  return ee.expression = i, this.finishNode(ee, "ParenthesizedExpression");
2722
2722
  } else return i;
2723
- }, H.parseParenItem = function(e) {
2723
+ }, U.parseParenItem = function(e) {
2724
2724
  return e;
2725
- }, H.parseParenArrowList = function(e, t, n, r) {
2725
+ }, U.parseParenArrowList = function(e, t, n, r) {
2726
2726
  return this.parseArrowExpression(this.startNodeAt(e, t), n, !1, r);
2727
2727
  };
2728
- var Kt = [];
2729
- H.parseNew = function() {
2728
+ var Gt = [];
2729
+ U.parseNew = function() {
2730
2730
  this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword new");
2731
2731
  var e = this.startNode();
2732
- if (this.next(), this.options.ecmaVersion >= 6 && this.type === M.dot) {
2732
+ if (this.next(), this.options.ecmaVersion >= 6 && this.type === N.dot) {
2733
2733
  var t = this.startNodeAt(e.start, e.loc && e.loc.start);
2734
2734
  t.name = "new", e.meta = this.finishNode(t, "Identifier"), this.next();
2735
2735
  var n = this.containsEsc;
2736
2736
  return e.property = this.parseIdent(!0), e.property.name !== "target" && this.raiseRecoverable(e.property.start, "The only valid meta property for new is 'new.target'"), n && this.raiseRecoverable(e.start, "'new.target' must not contain escaped characters"), this.allowNewDotTarget || this.raiseRecoverable(e.start, "'new.target' can only be used in functions and class static block"), this.finishNode(e, "MetaProperty");
2737
2737
  }
2738
2738
  var r = this.start, i = this.startLoc;
2739
- return e.callee = this.parseSubscripts(this.parseExprAtom(null, !1, !0), r, i, !0, !1), this.eat(M.parenL) ? e.arguments = this.parseExprList(M.parenR, this.options.ecmaVersion >= 8, !1) : e.arguments = Kt, this.finishNode(e, "NewExpression");
2740
- }, H.parseTemplateElement = function(e) {
2739
+ return e.callee = this.parseSubscripts(this.parseExprAtom(null, !1, !0), r, i, !0, !1), this.eat(N.parenL) ? e.arguments = this.parseExprList(N.parenR, this.options.ecmaVersion >= 8, !1) : e.arguments = Gt, this.finishNode(e, "NewExpression");
2740
+ }, U.parseTemplateElement = function(e) {
2741
2741
  var t = e.isTagged, n = this.startNode();
2742
- return this.type === M.invalidTemplate ? (t || this.raiseRecoverable(this.start, "Bad escape sequence in untagged template literal"), n.value = {
2742
+ return this.type === N.invalidTemplate ? (t || this.raiseRecoverable(this.start, "Bad escape sequence in untagged template literal"), n.value = {
2743
2743
  raw: this.value.replace(/\r\n?/g, "\n"),
2744
2744
  cooked: null
2745
2745
  }) : n.value = {
2746
2746
  raw: this.input.slice(this.start, this.end).replace(/\r\n?/g, "\n"),
2747
2747
  cooked: this.value
2748
- }, this.next(), n.tail = this.type === M.backQuote, this.finishNode(n, "TemplateElement");
2749
- }, H.parseTemplate = function(e) {
2748
+ }, this.next(), n.tail = this.type === N.backQuote, this.finishNode(n, "TemplateElement");
2749
+ }, U.parseTemplate = function(e) {
2750
2750
  e === void 0 && (e = {});
2751
2751
  var t = e.isTagged;
2752
2752
  t === void 0 && (t = !1);
2753
2753
  var n = this.startNode();
2754
2754
  this.next(), n.expressions = [];
2755
2755
  var r = this.parseTemplateElement({ isTagged: t });
2756
- for (n.quasis = [r]; !r.tail;) this.type === M.eof && this.raise(this.pos, "Unterminated template literal"), this.expect(M.dollarBraceL), n.expressions.push(this.parseExpression()), this.expect(M.braceR), n.quasis.push(r = this.parseTemplateElement({ isTagged: t }));
2756
+ for (n.quasis = [r]; !r.tail;) this.type === N.eof && this.raise(this.pos, "Unterminated template literal"), this.expect(N.dollarBraceL), n.expressions.push(this.parseExpression()), this.expect(N.braceR), n.quasis.push(r = this.parseTemplateElement({ isTagged: t }));
2757
2757
  return this.next(), this.finishNode(n, "TemplateLiteral");
2758
- }, H.isAsyncProp = function(e) {
2759
- return !e.computed && e.key.type === "Identifier" && e.key.name === "async" && (this.type === M.name || this.type === M.num || this.type === M.string || this.type === M.bracketL || this.type.keyword || this.options.ecmaVersion >= 9 && this.type === M.star) && !N.test(this.input.slice(this.lastTokEnd, this.start));
2760
- }, H.parseObj = function(e, t) {
2758
+ }, U.isAsyncProp = function(e) {
2759
+ return !e.computed && e.key.type === "Identifier" && e.key.name === "async" && (this.type === N.name || this.type === N.num || this.type === N.string || this.type === N.bracketL || this.type.keyword || this.options.ecmaVersion >= 9 && this.type === N.star) && !P.test(this.input.slice(this.lastTokEnd, this.start));
2760
+ }, U.parseObj = function(e, t) {
2761
2761
  var n = this.startNode(), r = !0, i = {};
2762
- for (n.properties = [], this.next(); !this.eat(M.braceR);) {
2762
+ for (n.properties = [], this.next(); !this.eat(N.braceR);) {
2763
2763
  if (r) r = !1;
2764
- else if (this.expect(M.comma), this.options.ecmaVersion >= 5 && this.afterTrailingComma(M.braceR)) break;
2764
+ else if (this.expect(N.comma), this.options.ecmaVersion >= 5 && this.afterTrailingComma(N.braceR)) break;
2765
2765
  var a = this.parseProperty(e, t);
2766
2766
  e || this.checkPropClash(a, i, t), n.properties.push(a);
2767
2767
  }
2768
2768
  return this.finishNode(n, e ? "ObjectPattern" : "ObjectExpression");
2769
- }, H.parseProperty = function(e, t) {
2769
+ }, U.parseProperty = function(e, t) {
2770
2770
  var n = this.startNode(), r, i, a, o;
2771
- if (this.options.ecmaVersion >= 9 && this.eat(M.ellipsis)) return e ? (n.argument = this.parseIdent(!1), this.type === M.comma && this.raiseRecoverable(this.start, "Comma is not permitted after the rest element"), this.finishNode(n, "RestElement")) : (n.argument = this.parseMaybeAssign(!1, t), this.type === M.comma && t && t.trailingComma < 0 && (t.trailingComma = this.start), this.finishNode(n, "SpreadElement"));
2772
- this.options.ecmaVersion >= 6 && (n.method = !1, n.shorthand = !1, (e || t) && (a = this.start, o = this.startLoc), e || (r = this.eat(M.star)));
2771
+ if (this.options.ecmaVersion >= 9 && this.eat(N.ellipsis)) return e ? (n.argument = this.parseIdent(!1), this.type === N.comma && this.raiseRecoverable(this.start, "Comma is not permitted after the rest element"), this.finishNode(n, "RestElement")) : (n.argument = this.parseMaybeAssign(!1, t), this.type === N.comma && t && t.trailingComma < 0 && (t.trailingComma = this.start), this.finishNode(n, "SpreadElement"));
2772
+ this.options.ecmaVersion >= 6 && (n.method = !1, n.shorthand = !1, (e || t) && (a = this.start, o = this.startLoc), e || (r = this.eat(N.star)));
2773
2773
  var s = this.containsEsc;
2774
- return this.parsePropertyName(n), !e && !s && this.options.ecmaVersion >= 8 && !r && this.isAsyncProp(n) ? (i = !0, r = this.options.ecmaVersion >= 9 && this.eat(M.star), this.parsePropertyName(n)) : i = !1, this.parsePropertyValue(n, e, r, i, a, o, t, s), this.finishNode(n, "Property");
2775
- }, H.parseGetterSetter = function(e) {
2774
+ return this.parsePropertyName(n), !e && !s && this.options.ecmaVersion >= 8 && !r && this.isAsyncProp(n) ? (i = !0, r = this.options.ecmaVersion >= 9 && this.eat(N.star), this.parsePropertyName(n)) : i = !1, this.parsePropertyValue(n, e, r, i, a, o, t, s), this.finishNode(n, "Property");
2775
+ }, U.parseGetterSetter = function(e) {
2776
2776
  var t = e.key.name;
2777
2777
  this.parsePropertyName(e), e.value = this.parseMethod(!1), e.kind = t;
2778
2778
  var n = e.kind === "get" ? 0 : 1;
@@ -2780,202 +2780,202 @@ H.parseNew = function() {
2780
2780
  var r = e.value.start;
2781
2781
  e.kind === "get" ? this.raiseRecoverable(r, "getter should have no params") : this.raiseRecoverable(r, "setter should have exactly one param");
2782
2782
  } else e.kind === "set" && e.value.params[0].type === "RestElement" && this.raiseRecoverable(e.value.params[0].start, "Setter cannot use rest params");
2783
- }, H.parsePropertyValue = function(e, t, n, r, i, a, o, s) {
2784
- (n || r) && this.type === M.colon && this.unexpected(), this.eat(M.colon) ? (e.value = t ? this.parseMaybeDefault(this.start, this.startLoc) : this.parseMaybeAssign(!1, o), e.kind = "init") : this.options.ecmaVersion >= 6 && this.type === M.parenL ? (t && this.unexpected(), e.method = !0, e.value = this.parseMethod(n, r), e.kind = "init") : !t && !s && this.options.ecmaVersion >= 5 && !e.computed && e.key.type === "Identifier" && (e.key.name === "get" || e.key.name === "set") && this.type !== M.comma && this.type !== M.braceR && this.type !== M.eq ? ((n || r) && this.unexpected(), this.parseGetterSetter(e)) : this.options.ecmaVersion >= 6 && !e.computed && e.key.type === "Identifier" ? ((n || r) && this.unexpected(), this.checkUnreserved(e.key), e.key.name === "await" && !this.awaitIdentPos && (this.awaitIdentPos = i), t ? e.value = this.parseMaybeDefault(i, a, this.copyNode(e.key)) : this.type === M.eq && o ? (o.shorthandAssign < 0 && (o.shorthandAssign = this.start), e.value = this.parseMaybeDefault(i, a, this.copyNode(e.key))) : e.value = this.copyNode(e.key), e.kind = "init", e.shorthand = !0) : this.unexpected();
2785
- }, H.parsePropertyName = function(e) {
2783
+ }, U.parsePropertyValue = function(e, t, n, r, i, a, o, s) {
2784
+ (n || r) && this.type === N.colon && this.unexpected(), this.eat(N.colon) ? (e.value = t ? this.parseMaybeDefault(this.start, this.startLoc) : this.parseMaybeAssign(!1, o), e.kind = "init") : this.options.ecmaVersion >= 6 && this.type === N.parenL ? (t && this.unexpected(), e.method = !0, e.value = this.parseMethod(n, r), e.kind = "init") : !t && !s && this.options.ecmaVersion >= 5 && !e.computed && e.key.type === "Identifier" && (e.key.name === "get" || e.key.name === "set") && this.type !== N.comma && this.type !== N.braceR && this.type !== N.eq ? ((n || r) && this.unexpected(), this.parseGetterSetter(e)) : this.options.ecmaVersion >= 6 && !e.computed && e.key.type === "Identifier" ? ((n || r) && this.unexpected(), this.checkUnreserved(e.key), e.key.name === "await" && !this.awaitIdentPos && (this.awaitIdentPos = i), t ? e.value = this.parseMaybeDefault(i, a, this.copyNode(e.key)) : this.type === N.eq && o ? (o.shorthandAssign < 0 && (o.shorthandAssign = this.start), e.value = this.parseMaybeDefault(i, a, this.copyNode(e.key))) : e.value = this.copyNode(e.key), e.kind = "init", e.shorthand = !0) : this.unexpected();
2785
+ }, U.parsePropertyName = function(e) {
2786
2786
  if (this.options.ecmaVersion >= 6) {
2787
- if (this.eat(M.bracketL)) return e.computed = !0, e.key = this.parseMaybeAssign(), this.expect(M.bracketR), e.key;
2787
+ if (this.eat(N.bracketL)) return e.computed = !0, e.key = this.parseMaybeAssign(), this.expect(N.bracketR), e.key;
2788
2788
  e.computed = !1;
2789
2789
  }
2790
- return e.key = this.type === M.num || this.type === M.string ? this.parseExprAtom() : this.parseIdent(this.options.allowReserved !== "never");
2791
- }, H.initFunction = function(e) {
2790
+ return e.key = this.type === N.num || this.type === N.string ? this.parseExprAtom() : this.parseIdent(this.options.allowReserved !== "never");
2791
+ }, U.initFunction = function(e) {
2792
2792
  e.id = null, this.options.ecmaVersion >= 6 && (e.generator = e.expression = !1), this.options.ecmaVersion >= 8 && (e.async = !1);
2793
- }, H.parseMethod = function(e, t, n) {
2793
+ }, U.parseMethod = function(e, t, n) {
2794
2794
  var r = this.startNode(), i = this.yieldPos, a = this.awaitPos, o = this.awaitIdentPos;
2795
- return this.initFunction(r), this.options.ecmaVersion >= 6 && (r.generator = e), this.options.ecmaVersion >= 8 && (r.async = !!t), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Et(t, r.generator) | bt | (n ? xt : 0)), this.expect(M.parenL), r.params = this.parseBindingList(M.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams(), this.parseFunctionBody(r, !1, !0, !1), this.yieldPos = i, this.awaitPos = a, this.awaitIdentPos = o, this.finishNode(r, "FunctionExpression");
2796
- }, H.parseArrowExpression = function(e, t, n, r) {
2795
+ return this.initFunction(r), this.options.ecmaVersion >= 6 && (r.generator = e), this.options.ecmaVersion >= 8 && (r.async = !!t), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Tt(t, r.generator) | yt | (n ? bt : 0)), this.expect(N.parenL), r.params = this.parseBindingList(N.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams(), this.parseFunctionBody(r, !1, !0, !1), this.yieldPos = i, this.awaitPos = a, this.awaitIdentPos = o, this.finishNode(r, "FunctionExpression");
2796
+ }, U.parseArrowExpression = function(e, t, n, r) {
2797
2797
  var i = this.yieldPos, a = this.awaitPos, o = this.awaitIdentPos;
2798
- return this.enterScope(Et(n, !1) | vt), this.initFunction(e), this.options.ecmaVersion >= 8 && (e.async = !!n), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, e.params = this.toAssignableList(t, !0), this.parseFunctionBody(e, !0, !1, r), this.yieldPos = i, this.awaitPos = a, this.awaitIdentPos = o, this.finishNode(e, "ArrowFunctionExpression");
2799
- }, H.parseFunctionBody = function(e, t, n, r) {
2800
- var i = t && this.type !== M.braceL, a = this.strict, o = !1;
2798
+ return this.enterScope(Tt(n, !1) | _t), this.initFunction(e), this.options.ecmaVersion >= 8 && (e.async = !!n), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, e.params = this.toAssignableList(t, !0), this.parseFunctionBody(e, !0, !1, r), this.yieldPos = i, this.awaitPos = a, this.awaitIdentPos = o, this.finishNode(e, "ArrowFunctionExpression");
2799
+ }, U.parseFunctionBody = function(e, t, n, r) {
2800
+ var i = t && this.type !== N.braceL, a = this.strict, o = !1;
2801
2801
  if (i) e.body = this.parseMaybeAssign(r), e.expression = !0, this.checkParams(e, !1);
2802
2802
  else {
2803
2803
  var s = this.options.ecmaVersion >= 7 && !this.isSimpleParamList(e.params);
2804
2804
  (!a || s) && (o = this.strictDirective(this.end), o && s && this.raiseRecoverable(e.start, "Illegal 'use strict' directive in function with non-simple parameter list"));
2805
2805
  var c = this.labels;
2806
- this.labels = [], o && (this.strict = !0), this.checkParams(e, !a && !o && !t && !n && this.isSimpleParamList(e.params)), this.strict && e.id && this.checkLValSimple(e.id, Mt), e.body = this.parseBlock(!1, void 0, o && !a), e.expression = !1, this.adaptDirectivePrologue(e.body.body), this.labels = c;
2806
+ this.labels = [], o && (this.strict = !0), this.checkParams(e, !a && !o && !t && !n && this.isSimpleParamList(e.params)), this.strict && e.id && this.checkLValSimple(e.id, jt), e.body = this.parseBlock(!1, void 0, o && !a), e.expression = !1, this.adaptDirectivePrologue(e.body.body), this.labels = c;
2807
2807
  }
2808
2808
  this.exitScope();
2809
- }, H.isSimpleParamList = function(e) {
2809
+ }, U.isSimpleParamList = function(e) {
2810
2810
  for (var t = 0, n = e; t < n.length; t += 1) if (n[t].type !== "Identifier") return !1;
2811
2811
  return !0;
2812
- }, H.checkParams = function(e, t) {
2812
+ }, U.checkParams = function(e, t) {
2813
2813
  for (var n = Object.create(null), r = 0, i = e.params; r < i.length; r += 1) {
2814
2814
  var a = i[r];
2815
- this.checkLValInnerPattern(a, Ot, t ? null : n);
2815
+ this.checkLValInnerPattern(a, Dt, t ? null : n);
2816
2816
  }
2817
- }, H.parseExprList = function(e, t, n, r) {
2817
+ }, U.parseExprList = function(e, t, n, r) {
2818
2818
  for (var i = [], a = !0; !this.eat(e);) {
2819
2819
  if (a) a = !1;
2820
- else if (this.expect(M.comma), t && this.afterTrailingComma(e)) break;
2820
+ else if (this.expect(N.comma), t && this.afterTrailingComma(e)) break;
2821
2821
  var o = void 0;
2822
- n && this.type === M.comma ? o = null : this.type === M.ellipsis ? (o = this.parseSpread(r), r && this.type === M.comma && r.trailingComma < 0 && (r.trailingComma = this.start)) : o = this.parseMaybeAssign(!1, r), i.push(o);
2822
+ n && this.type === N.comma ? o = null : this.type === N.ellipsis ? (o = this.parseSpread(r), r && this.type === N.comma && r.trailingComma < 0 && (r.trailingComma = this.start)) : o = this.parseMaybeAssign(!1, r), i.push(o);
2823
2823
  }
2824
2824
  return i;
2825
- }, H.checkUnreserved = function(e) {
2825
+ }, U.checkUnreserved = function(e) {
2826
2826
  var t = e.start, n = e.end, r = e.name;
2827
- this.inGenerator && r === "yield" && this.raiseRecoverable(t, "Cannot use 'yield' as identifier inside a generator"), this.inAsync && r === "await" && this.raiseRecoverable(t, "Cannot use 'await' as identifier inside an async function"), !(this.currentThisScope().flags & Tt) && r === "arguments" && this.raiseRecoverable(t, "Cannot use 'arguments' in class field initializer"), this.inClassStaticBlock && (r === "arguments" || r === "await") && this.raise(t, "Cannot use " + r + " in class static initialization block"), this.keywords.test(r) && this.raise(t, "Unexpected keyword '" + r + "'"), !(this.options.ecmaVersion < 6 && this.input.slice(t, n).indexOf("\\") !== -1) && (this.strict ? this.reservedWordsStrict : this.reservedWords).test(r) && (!this.inAsync && r === "await" && this.raiseRecoverable(t, "Cannot use keyword 'await' outside an async function"), this.raiseRecoverable(t, "The keyword '" + r + "' is reserved"));
2828
- }, H.parseIdent = function(e) {
2827
+ this.inGenerator && r === "yield" && this.raiseRecoverable(t, "Cannot use 'yield' as identifier inside a generator"), this.inAsync && r === "await" && this.raiseRecoverable(t, "Cannot use 'await' as identifier inside an async function"), !(this.currentThisScope().flags & wt) && r === "arguments" && this.raiseRecoverable(t, "Cannot use 'arguments' in class field initializer"), this.inClassStaticBlock && (r === "arguments" || r === "await") && this.raise(t, "Cannot use " + r + " in class static initialization block"), this.keywords.test(r) && this.raise(t, "Unexpected keyword '" + r + "'"), !(this.options.ecmaVersion < 6 && this.input.slice(t, n).indexOf("\\") !== -1) && (this.strict ? this.reservedWordsStrict : this.reservedWords).test(r) && (!this.inAsync && r === "await" && this.raiseRecoverable(t, "Cannot use keyword 'await' outside an async function"), this.raiseRecoverable(t, "The keyword '" + r + "' is reserved"));
2828
+ }, U.parseIdent = function(e) {
2829
2829
  var t = this.parseIdentNode();
2830
2830
  return this.next(!!e), this.finishNode(t, "Identifier"), e || (this.checkUnreserved(t), t.name === "await" && !this.awaitIdentPos && (this.awaitIdentPos = t.start)), t;
2831
- }, H.parseIdentNode = function() {
2831
+ }, U.parseIdentNode = function() {
2832
2832
  var e = this.startNode();
2833
- return this.type === M.name ? e.name = this.value : this.type.keyword ? (e.name = this.type.keyword, (e.name === "class" || e.name === "function") && (this.lastTokEnd !== this.lastTokStart + 1 || this.input.charCodeAt(this.lastTokStart) !== 46) && this.context.pop(), this.type = M.name) : this.unexpected(), e;
2834
- }, H.parsePrivateIdent = function() {
2833
+ return this.type === N.name ? e.name = this.value : this.type.keyword ? (e.name = this.type.keyword, (e.name === "class" || e.name === "function") && (this.lastTokEnd !== this.lastTokStart + 1 || this.input.charCodeAt(this.lastTokStart) !== 46) && this.context.pop(), this.type = N.name) : this.unexpected(), e;
2834
+ }, U.parsePrivateIdent = function() {
2835
2835
  var e = this.startNode();
2836
- return this.type === M.privateId ? e.name = this.value : this.unexpected(), this.next(), this.finishNode(e, "PrivateIdentifier"), this.options.checkPrivateFields && (this.privateNameStack.length === 0 ? this.raise(e.start, "Private field '#" + e.name + "' must be declared in an enclosing class") : this.privateNameStack[this.privateNameStack.length - 1].used.push(e)), e;
2837
- }, H.parseYield = function(e) {
2836
+ return this.type === N.privateId ? e.name = this.value : this.unexpected(), this.next(), this.finishNode(e, "PrivateIdentifier"), this.options.checkPrivateFields && (this.privateNameStack.length === 0 ? this.raise(e.start, "Private field '#" + e.name + "' must be declared in an enclosing class") : this.privateNameStack[this.privateNameStack.length - 1].used.push(e)), e;
2837
+ }, U.parseYield = function(e) {
2838
2838
  this.yieldPos ||= this.start;
2839
2839
  var t = this.startNode();
2840
- return this.next(), this.type === M.semi || this.canInsertSemicolon() || this.type !== M.star && !this.type.startsExpr ? (t.delegate = !1, t.argument = null) : (t.delegate = this.eat(M.star), t.argument = this.parseMaybeAssign(e)), this.finishNode(t, "YieldExpression");
2841
- }, H.parseAwait = function(e) {
2840
+ return this.next(), this.type === N.semi || this.canInsertSemicolon() || this.type !== N.star && !this.type.startsExpr ? (t.delegate = !1, t.argument = null) : (t.delegate = this.eat(N.star), t.argument = this.parseMaybeAssign(e)), this.finishNode(t, "YieldExpression");
2841
+ }, U.parseAwait = function(e) {
2842
2842
  this.awaitPos ||= this.start;
2843
2843
  var t = this.startNode();
2844
2844
  return this.next(), t.argument = this.parseMaybeUnary(null, !0, !1, e), this.finishNode(t, "AwaitExpression");
2845
2845
  };
2846
- var qt = F.prototype;
2847
- qt.raise = function(e, t) {
2848
- var n = lt(this.input, e);
2846
+ var Kt = I.prototype;
2847
+ Kt.raise = function(e, t) {
2848
+ var n = ct(this.input, e);
2849
2849
  t += " (" + n.line + ":" + n.column + ")", this.sourceFile && (t += " in " + this.sourceFile);
2850
2850
  var r = SyntaxError(t);
2851
2851
  throw r.pos = e, r.loc = n, r.raisedAt = this.pos, r;
2852
- }, qt.raiseRecoverable = qt.raise, qt.curPosition = function() {
2853
- if (this.options.locations) return new st(this.curLine, this.pos - this.lineStart);
2852
+ }, Kt.raiseRecoverable = Kt.raise, Kt.curPosition = function() {
2853
+ if (this.options.locations) return new ot(this.curLine, this.pos - this.lineStart);
2854
2854
  };
2855
- var Jt = F.prototype, Yt = function(e) {
2855
+ var qt = I.prototype, Jt = function(e) {
2856
2856
  this.flags = e, this.var = [], this.lexical = [], this.functions = [];
2857
2857
  };
2858
- Jt.enterScope = function(e) {
2859
- this.scopeStack.push(new Yt(e));
2860
- }, Jt.exitScope = function() {
2858
+ qt.enterScope = function(e) {
2859
+ this.scopeStack.push(new Jt(e));
2860
+ }, qt.exitScope = function() {
2861
2861
  this.scopeStack.pop();
2862
- }, Jt.treatFunctionsAsVarInScope = function(e) {
2863
- return e.flags & ht || !this.inModule && e.flags & mt;
2864
- }, Jt.declareName = function(e, t, n) {
2862
+ }, qt.treatFunctionsAsVarInScope = function(e) {
2863
+ return e.flags & mt || !this.inModule && e.flags & pt;
2864
+ }, qt.declareName = function(e, t, n) {
2865
2865
  var r = !1;
2866
- if (t === kt) {
2866
+ if (t === Ot) {
2867
2867
  var i = this.currentScope();
2868
- r = i.lexical.indexOf(e) > -1 || i.functions.indexOf(e) > -1 || i.var.indexOf(e) > -1, i.lexical.push(e), this.inModule && i.flags & mt && delete this.undefinedExports[e];
2869
- } else if (t === jt) this.currentScope().lexical.push(e);
2870
- else if (t === At) {
2868
+ r = i.lexical.indexOf(e) > -1 || i.functions.indexOf(e) > -1 || i.var.indexOf(e) > -1, i.lexical.push(e), this.inModule && i.flags & pt && delete this.undefinedExports[e];
2869
+ } else if (t === At) this.currentScope().lexical.push(e);
2870
+ else if (t === kt) {
2871
2871
  var a = this.currentScope();
2872
2872
  r = this.treatFunctionsAsVar ? a.lexical.indexOf(e) > -1 : a.lexical.indexOf(e) > -1 || a.var.indexOf(e) > -1, a.functions.push(e);
2873
2873
  } else for (var o = this.scopeStack.length - 1; o >= 0; --o) {
2874
2874
  var s = this.scopeStack[o];
2875
- if (s.lexical.indexOf(e) > -1 && !(s.flags & yt && s.lexical[0] === e) || !this.treatFunctionsAsVarInScope(s) && s.functions.indexOf(e) > -1) {
2875
+ if (s.lexical.indexOf(e) > -1 && !(s.flags & vt && s.lexical[0] === e) || !this.treatFunctionsAsVarInScope(s) && s.functions.indexOf(e) > -1) {
2876
2876
  r = !0;
2877
2877
  break;
2878
2878
  }
2879
- if (s.var.push(e), this.inModule && s.flags & mt && delete this.undefinedExports[e], s.flags & Tt) break;
2879
+ if (s.var.push(e), this.inModule && s.flags & pt && delete this.undefinedExports[e], s.flags & wt) break;
2880
2880
  }
2881
2881
  r && this.raiseRecoverable(n, "Identifier '" + e + "' has already been declared");
2882
- }, Jt.checkLocalExport = function(e) {
2882
+ }, qt.checkLocalExport = function(e) {
2883
2883
  this.scopeStack[0].lexical.indexOf(e.name) === -1 && this.scopeStack[0].var.indexOf(e.name) === -1 && (this.undefinedExports[e.name] = e);
2884
- }, Jt.currentScope = function() {
2884
+ }, qt.currentScope = function() {
2885
2885
  return this.scopeStack[this.scopeStack.length - 1];
2886
- }, Jt.currentVarScope = function() {
2886
+ }, qt.currentVarScope = function() {
2887
2887
  for (var e = this.scopeStack.length - 1;; e--) {
2888
2888
  var t = this.scopeStack[e];
2889
- if (t.flags & (Tt | Ct | St)) return t;
2889
+ if (t.flags & (wt | St | xt)) return t;
2890
2890
  }
2891
- }, Jt.currentThisScope = function() {
2891
+ }, qt.currentThisScope = function() {
2892
2892
  for (var e = this.scopeStack.length - 1;; e--) {
2893
2893
  var t = this.scopeStack[e];
2894
- if (t.flags & (Tt | Ct | St) && !(t.flags & vt)) return t;
2894
+ if (t.flags & (wt | St | xt) && !(t.flags & _t)) return t;
2895
2895
  }
2896
2896
  };
2897
- var Xt = function(e, t, n) {
2898
- this.type = "", this.start = t, this.end = 0, e.options.locations && (this.loc = new ct(e, n)), e.options.directSourceFile && (this.sourceFile = e.options.directSourceFile), e.options.ranges && (this.range = [t, 0]);
2899
- }, Zt = F.prototype;
2900
- Zt.startNode = function() {
2901
- return new Xt(this, this.start, this.startLoc);
2902
- }, Zt.startNodeAt = function(e, t) {
2903
- return new Xt(this, e, t);
2897
+ var Yt = function(e, t, n) {
2898
+ this.type = "", this.start = t, this.end = 0, e.options.locations && (this.loc = new st(e, n)), e.options.directSourceFile && (this.sourceFile = e.options.directSourceFile), e.options.ranges && (this.range = [t, 0]);
2899
+ }, Xt = I.prototype;
2900
+ Xt.startNode = function() {
2901
+ return new Yt(this, this.start, this.startLoc);
2902
+ }, Xt.startNodeAt = function(e, t) {
2903
+ return new Yt(this, e, t);
2904
2904
  };
2905
- function Qt(e, t, n, r) {
2905
+ function Zt(e, t, n, r) {
2906
2906
  return e.type = t, e.end = n, this.options.locations && (e.loc.end = r), this.options.ranges && (e.range[1] = n), e;
2907
2907
  }
2908
- Zt.finishNode = function(e, t) {
2909
- return Qt.call(this, e, t, this.lastTokEnd, this.lastTokEndLoc);
2910
- }, Zt.finishNodeAt = function(e, t, n, r) {
2911
- return Qt.call(this, e, t, n, r);
2912
- }, Zt.copyNode = function(e) {
2913
- var t = new Xt(this, e.start, this.startLoc);
2908
+ Xt.finishNode = function(e, t) {
2909
+ return Zt.call(this, e, t, this.lastTokEnd, this.lastTokEndLoc);
2910
+ }, Xt.finishNodeAt = function(e, t, n, r) {
2911
+ return Zt.call(this, e, t, n, r);
2912
+ }, Xt.copyNode = function(e) {
2913
+ var t = new Yt(this, e.start, this.startLoc);
2914
2914
  for (var n in e) t[n] = e[n];
2915
2915
  return t;
2916
2916
  };
2917
- var $t = "Berf Beria_Erfe Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sidetic Sidt Sunu Sunuwar Tai_Yo Tayo Todhri Todr Tolong_Siki Tols Tulu_Tigalari Tutg Unknown Zzzz", en = "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", tn = en + " Extended_Pictographic", nn = tn, rn = nn + " EBase EComp EMod EPres ExtPict", an = rn, on = an, sn = {
2918
- 9: en,
2919
- 10: tn,
2920
- 11: nn,
2921
- 12: rn,
2922
- 13: an,
2923
- 14: on
2924
- }, cn = "Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji", ln = {
2917
+ var Qt = "Berf Beria_Erfe Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sidetic Sidt Sunu Sunuwar Tai_Yo Tayo Todhri Todr Tolong_Siki Tols Tulu_Tigalari Tutg Unknown Zzzz", $t = "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", en = $t + " Extended_Pictographic", tn = en, nn = tn + " EBase EComp EMod EPres ExtPict", rn = nn, an = rn, on = {
2918
+ 9: $t,
2919
+ 10: en,
2920
+ 11: tn,
2921
+ 12: nn,
2922
+ 13: rn,
2923
+ 14: an
2924
+ }, sn = "Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji", cn = {
2925
2925
  9: "",
2926
2926
  10: "",
2927
2927
  11: "",
2928
2928
  12: "",
2929
2929
  13: "",
2930
- 14: cn
2931
- }, un = "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", dn = "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", fn = dn + " Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd", pn = fn + " Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho", mn = pn + " Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi", hn = mn + " Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith", gn = hn + " " + $t, _n = {
2932
- 9: dn,
2933
- 10: fn,
2934
- 11: pn,
2935
- 12: mn,
2936
- 13: hn,
2937
- 14: gn
2938
- }, vn = {};
2939
- function yn(e) {
2940
- var t = vn[e] = {
2941
- binary: it(sn[e] + " " + un),
2942
- binaryOfStrings: it(ln[e]),
2930
+ 14: sn
2931
+ }, ln = "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", un = "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", dn = un + " Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd", fn = dn + " Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho", pn = fn + " Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi", mn = pn + " Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith", hn = mn + " " + Qt, gn = {
2932
+ 9: un,
2933
+ 10: dn,
2934
+ 11: fn,
2935
+ 12: pn,
2936
+ 13: mn,
2937
+ 14: hn
2938
+ }, _n = {};
2939
+ function vn(e) {
2940
+ var t = _n[e] = {
2941
+ binary: rt(on[e] + " " + ln),
2942
+ binaryOfStrings: rt(cn[e]),
2943
2943
  nonBinary: {
2944
- General_Category: it(un),
2945
- Script: it(_n[e])
2944
+ General_Category: rt(ln),
2945
+ Script: rt(gn[e])
2946
2946
  }
2947
2947
  };
2948
2948
  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;
2949
2949
  }
2950
- for (var bn = 0, xn = [
2950
+ for (var yn = 0, bn = [
2951
2951
  9,
2952
2952
  10,
2953
2953
  11,
2954
2954
  12,
2955
2955
  13,
2956
2956
  14
2957
- ]; bn < xn.length; bn += 1) {
2958
- var Sn = xn[bn];
2959
- yn(Sn);
2957
+ ]; yn < bn.length; yn += 1) {
2958
+ var xn = bn[yn];
2959
+ vn(xn);
2960
2960
  }
2961
- var U = F.prototype, Cn = function(e, t) {
2961
+ var W = I.prototype, Sn = function(e, t) {
2962
2962
  this.parent = e, this.base = t || this;
2963
2963
  };
2964
- Cn.prototype.separatedFrom = function(e) {
2964
+ Sn.prototype.separatedFrom = function(e) {
2965
2965
  for (var t = this; t; t = t.parent) for (var n = e; n; n = n.parent) if (t.base === n.base && t !== n) return !0;
2966
2966
  return !1;
2967
- }, Cn.prototype.sibling = function() {
2968
- return new Cn(this.parent, this.base);
2967
+ }, Sn.prototype.sibling = function() {
2968
+ return new Sn(this.parent, this.base);
2969
2969
  };
2970
- var wn = function(e) {
2971
- this.parser = e, this.validFlags = "gim" + (e.options.ecmaVersion >= 6 ? "uy" : "") + (e.options.ecmaVersion >= 9 ? "s" : "") + (e.options.ecmaVersion >= 13 ? "d" : "") + (e.options.ecmaVersion >= 15 ? "v" : ""), this.unicodeProperties = vn[e.options.ecmaVersion >= 14 ? 14 : e.options.ecmaVersion], this.source = "", this.flags = "", this.start = 0, this.switchU = !1, this.switchV = !1, this.switchN = !1, this.pos = 0, this.lastIntValue = 0, this.lastStringValue = "", this.lastAssertionIsQuantifiable = !1, this.numCapturingParens = 0, this.maxBackReference = 0, this.groupNames = Object.create(null), this.backReferenceNames = [], this.branchID = null;
2970
+ var Cn = function(e) {
2971
+ this.parser = e, this.validFlags = "gim" + (e.options.ecmaVersion >= 6 ? "uy" : "") + (e.options.ecmaVersion >= 9 ? "s" : "") + (e.options.ecmaVersion >= 13 ? "d" : "") + (e.options.ecmaVersion >= 15 ? "v" : ""), this.unicodeProperties = _n[e.options.ecmaVersion >= 14 ? 14 : e.options.ecmaVersion], this.source = "", this.flags = "", this.start = 0, this.switchU = !1, this.switchV = !1, this.switchN = !1, this.pos = 0, this.lastIntValue = 0, this.lastStringValue = "", this.lastAssertionIsQuantifiable = !1, this.numCapturingParens = 0, this.maxBackReference = 0, this.groupNames = Object.create(null), this.backReferenceNames = [], this.branchID = null;
2972
2972
  };
2973
- wn.prototype.reset = function(e, t, n) {
2973
+ Cn.prototype.reset = function(e, t, n) {
2974
2974
  var r = n.indexOf("v") !== -1, i = n.indexOf("u") !== -1;
2975
2975
  this.start = e | 0, this.source = t + "", this.flags = n, r && this.parser.options.ecmaVersion >= 15 ? (this.switchU = !0, this.switchV = !0, this.switchN = !0) : (this.switchU = i && this.parser.options.ecmaVersion >= 6, this.switchV = !1, this.switchN = i && this.parser.options.ecmaVersion >= 9);
2976
- }, wn.prototype.raise = function(e) {
2976
+ }, Cn.prototype.raise = function(e) {
2977
2977
  this.parser.raiseRecoverable(this.start, "Invalid regular expression: /" + this.source + "/: " + e);
2978
- }, wn.prototype.at = function(e, t) {
2978
+ }, Cn.prototype.at = function(e, t) {
2979
2979
  t === void 0 && (t = !1);
2980
2980
  var n = this.source, r = n.length;
2981
2981
  if (e >= r) return -1;
@@ -2983,21 +2983,21 @@ wn.prototype.reset = function(e, t, n) {
2983
2983
  if (!(t || this.switchU) || i <= 55295 || i >= 57344 || e + 1 >= r) return i;
2984
2984
  var a = n.charCodeAt(e + 1);
2985
2985
  return a >= 56320 && a <= 57343 ? (i << 10) + a - 56613888 : i;
2986
- }, wn.prototype.nextIndex = function(e, t) {
2986
+ }, Cn.prototype.nextIndex = function(e, t) {
2987
2987
  t === void 0 && (t = !1);
2988
2988
  var n = this.source, r = n.length;
2989
2989
  if (e >= r) return r;
2990
2990
  var i = n.charCodeAt(e), a;
2991
2991
  return !(t || this.switchU) || i <= 55295 || i >= 57344 || e + 1 >= r || (a = n.charCodeAt(e + 1)) < 56320 || a > 57343 ? e + 1 : e + 2;
2992
- }, wn.prototype.current = function(e) {
2992
+ }, Cn.prototype.current = function(e) {
2993
2993
  return e === void 0 && (e = !1), this.at(this.pos, e);
2994
- }, wn.prototype.lookahead = function(e) {
2994
+ }, Cn.prototype.lookahead = function(e) {
2995
2995
  return e === void 0 && (e = !1), this.at(this.nextIndex(this.pos, e), e);
2996
- }, wn.prototype.advance = function(e) {
2996
+ }, Cn.prototype.advance = function(e) {
2997
2997
  e === void 0 && (e = !1), this.pos = this.nextIndex(this.pos, e);
2998
- }, wn.prototype.eat = function(e, t) {
2998
+ }, Cn.prototype.eat = function(e, t) {
2999
2999
  return t === void 0 && (t = !1), this.current(t) === e ? (this.advance(t), !0) : !1;
3000
- }, wn.prototype.eatChars = function(e, t) {
3000
+ }, Cn.prototype.eatChars = function(e, t) {
3001
3001
  t === void 0 && (t = !1);
3002
3002
  for (var n = this.pos, r = 0, i = e; r < i.length; r += 1) {
3003
3003
  var a = i[r], o = this.at(n, t);
@@ -3005,34 +3005,34 @@ wn.prototype.reset = function(e, t, n) {
3005
3005
  n = this.nextIndex(n, t);
3006
3006
  }
3007
3007
  return this.pos = n, !0;
3008
- }, U.validateRegExpFlags = function(e) {
3008
+ }, W.validateRegExpFlags = function(e) {
3009
3009
  for (var t = e.validFlags, n = e.flags, r = !1, i = !1, a = 0; a < n.length; a++) {
3010
3010
  var o = n.charAt(a);
3011
3011
  t.indexOf(o) === -1 && this.raise(e.start, "Invalid regular expression flag"), n.indexOf(o, a + 1) > -1 && this.raise(e.start, "Duplicate regular expression flag"), o === "u" && (r = !0), o === "v" && (i = !0);
3012
3012
  }
3013
3013
  this.options.ecmaVersion >= 15 && r && i && this.raise(e.start, "Invalid regular expression flag");
3014
3014
  };
3015
- function Tn(e) {
3015
+ function wn(e) {
3016
3016
  for (var t in e) return !0;
3017
3017
  return !1;
3018
3018
  }
3019
- U.validateRegExpPattern = function(e) {
3020
- this.regexp_pattern(e), !e.switchN && this.options.ecmaVersion >= 9 && Tn(e.groupNames) && (e.switchN = !0, this.regexp_pattern(e));
3021
- }, U.regexp_pattern = function(e) {
3019
+ W.validateRegExpPattern = function(e) {
3020
+ this.regexp_pattern(e), !e.switchN && this.options.ecmaVersion >= 9 && wn(e.groupNames) && (e.switchN = !0, this.regexp_pattern(e));
3021
+ }, W.regexp_pattern = function(e) {
3022
3022
  e.pos = 0, e.lastIntValue = 0, e.lastStringValue = "", e.lastAssertionIsQuantifiable = !1, e.numCapturingParens = 0, e.maxBackReference = 0, e.groupNames = Object.create(null), e.backReferenceNames.length = 0, e.branchID = null, this.regexp_disjunction(e), e.pos !== e.source.length && (e.eat(41) && e.raise("Unmatched ')'"), (e.eat(93) || e.eat(125)) && e.raise("Lone quantifier brackets")), e.maxBackReference > e.numCapturingParens && e.raise("Invalid escape");
3023
3023
  for (var t = 0, n = e.backReferenceNames; t < n.length; t += 1) {
3024
3024
  var r = n[t];
3025
3025
  e.groupNames[r] || e.raise("Invalid named capture referenced");
3026
3026
  }
3027
- }, U.regexp_disjunction = function(e) {
3027
+ }, W.regexp_disjunction = function(e) {
3028
3028
  var t = this.options.ecmaVersion >= 16;
3029
- for (t && (e.branchID = new Cn(e.branchID, null)), this.regexp_alternative(e); e.eat(124);) t && (e.branchID = e.branchID.sibling()), this.regexp_alternative(e);
3029
+ for (t && (e.branchID = new Sn(e.branchID, null)), this.regexp_alternative(e); e.eat(124);) t && (e.branchID = e.branchID.sibling()), this.regexp_alternative(e);
3030
3030
  t && (e.branchID = e.branchID.parent), this.regexp_eatQuantifier(e, !0) && e.raise("Nothing to repeat"), e.eat(123) && e.raise("Lone quantifier brackets");
3031
- }, U.regexp_alternative = function(e) {
3031
+ }, W.regexp_alternative = function(e) {
3032
3032
  for (; e.pos < e.source.length && this.regexp_eatTerm(e););
3033
- }, U.regexp_eatTerm = function(e) {
3033
+ }, W.regexp_eatTerm = function(e) {
3034
3034
  return this.regexp_eatAssertion(e) ? (e.lastAssertionIsQuantifiable && this.regexp_eatQuantifier(e) && e.switchU && e.raise("Invalid quantifier"), !0) : (e.switchU ? this.regexp_eatAtom(e) : this.regexp_eatExtendedAtom(e)) ? (this.regexp_eatQuantifier(e), !0) : !1;
3035
- }, U.regexp_eatAssertion = function(e) {
3035
+ }, W.regexp_eatAssertion = function(e) {
3036
3036
  var t = e.pos;
3037
3037
  if (e.lastAssertionIsQuantifiable = !1, e.eat(94) || e.eat(36)) return !0;
3038
3038
  if (e.eat(92)) {
@@ -3044,11 +3044,11 @@ U.validateRegExpPattern = function(e) {
3044
3044
  if (this.options.ecmaVersion >= 9 && (n = e.eat(60)), e.eat(61) || e.eat(33)) return this.regexp_disjunction(e), e.eat(41) || e.raise("Unterminated group"), e.lastAssertionIsQuantifiable = !n, !0;
3045
3045
  }
3046
3046
  return e.pos = t, !1;
3047
- }, U.regexp_eatQuantifier = function(e, t) {
3047
+ }, W.regexp_eatQuantifier = function(e, t) {
3048
3048
  return t === void 0 && (t = !1), this.regexp_eatQuantifierPrefix(e, t) ? (e.eat(63), !0) : !1;
3049
- }, U.regexp_eatQuantifierPrefix = function(e, t) {
3049
+ }, W.regexp_eatQuantifierPrefix = function(e, t) {
3050
3050
  return e.eat(42) || e.eat(43) || e.eat(63) || this.regexp_eatBracedQuantifier(e, t);
3051
- }, U.regexp_eatBracedQuantifier = function(e, t) {
3051
+ }, W.regexp_eatBracedQuantifier = function(e, t) {
3052
3052
  var n = e.pos;
3053
3053
  if (e.eat(123)) {
3054
3054
  var r = 0, i = -1;
@@ -3056,16 +3056,16 @@ U.validateRegExpPattern = function(e) {
3056
3056
  e.switchU && !t && e.raise("Incomplete quantifier"), e.pos = n;
3057
3057
  }
3058
3058
  return !1;
3059
- }, U.regexp_eatAtom = function(e) {
3059
+ }, W.regexp_eatAtom = function(e) {
3060
3060
  return this.regexp_eatPatternCharacters(e) || e.eat(46) || this.regexp_eatReverseSolidusAtomEscape(e) || this.regexp_eatCharacterClass(e) || this.regexp_eatUncapturingGroup(e) || this.regexp_eatCapturingGroup(e);
3061
- }, U.regexp_eatReverseSolidusAtomEscape = function(e) {
3061
+ }, W.regexp_eatReverseSolidusAtomEscape = function(e) {
3062
3062
  var t = e.pos;
3063
3063
  if (e.eat(92)) {
3064
3064
  if (this.regexp_eatAtomEscape(e)) return !0;
3065
3065
  e.pos = t;
3066
3066
  }
3067
3067
  return !1;
3068
- }, U.regexp_eatUncapturingGroup = function(e) {
3068
+ }, W.regexp_eatUncapturingGroup = function(e) {
3069
3069
  var t = e.pos;
3070
3070
  if (e.eat(40)) {
3071
3071
  if (e.eat(63)) {
@@ -3094,37 +3094,37 @@ U.validateRegExpPattern = function(e) {
3094
3094
  e.pos = t;
3095
3095
  }
3096
3096
  return !1;
3097
- }, U.regexp_eatCapturingGroup = function(e) {
3097
+ }, W.regexp_eatCapturingGroup = function(e) {
3098
3098
  if (e.eat(40)) {
3099
3099
  if (this.options.ecmaVersion >= 9 ? this.regexp_groupSpecifier(e) : e.current() === 63 && e.raise("Invalid group"), this.regexp_disjunction(e), e.eat(41)) return e.numCapturingParens += 1, !0;
3100
3100
  e.raise("Unterminated group");
3101
3101
  }
3102
3102
  return !1;
3103
- }, U.regexp_eatModifiers = function(e) {
3104
- for (var t = "", n = 0; (n = e.current()) !== -1 && En(n);) t += at(n), e.advance();
3103
+ }, W.regexp_eatModifiers = function(e) {
3104
+ for (var t = "", n = 0; (n = e.current()) !== -1 && Tn(n);) t += it(n), e.advance();
3105
3105
  return t;
3106
3106
  };
3107
- function En(e) {
3107
+ function Tn(e) {
3108
3108
  return e === 105 || e === 109 || e === 115;
3109
3109
  }
3110
- U.regexp_eatExtendedAtom = function(e) {
3110
+ W.regexp_eatExtendedAtom = function(e) {
3111
3111
  return e.eat(46) || this.regexp_eatReverseSolidusAtomEscape(e) || this.regexp_eatCharacterClass(e) || this.regexp_eatUncapturingGroup(e) || this.regexp_eatCapturingGroup(e) || this.regexp_eatInvalidBracedQuantifier(e) || this.regexp_eatExtendedPatternCharacter(e);
3112
- }, U.regexp_eatInvalidBracedQuantifier = function(e) {
3112
+ }, W.regexp_eatInvalidBracedQuantifier = function(e) {
3113
3113
  return this.regexp_eatBracedQuantifier(e, !0) && e.raise("Nothing to repeat"), !1;
3114
- }, U.regexp_eatSyntaxCharacter = function(e) {
3114
+ }, W.regexp_eatSyntaxCharacter = function(e) {
3115
3115
  var t = e.current();
3116
- return Dn(t) ? (e.lastIntValue = t, e.advance(), !0) : !1;
3116
+ return En(t) ? (e.lastIntValue = t, e.advance(), !0) : !1;
3117
3117
  };
3118
- function Dn(e) {
3118
+ function En(e) {
3119
3119
  return e === 36 || e >= 40 && e <= 43 || e === 46 || e === 63 || e >= 91 && e <= 94 || e >= 123 && e <= 125;
3120
3120
  }
3121
- U.regexp_eatPatternCharacters = function(e) {
3122
- for (var t = e.pos, n = 0; (n = e.current()) !== -1 && !Dn(n);) e.advance();
3121
+ W.regexp_eatPatternCharacters = function(e) {
3122
+ for (var t = e.pos, n = 0; (n = e.current()) !== -1 && !En(n);) e.advance();
3123
3123
  return e.pos !== t;
3124
- }, U.regexp_eatExtendedPatternCharacter = function(e) {
3124
+ }, W.regexp_eatExtendedPatternCharacter = function(e) {
3125
3125
  var t = e.current();
3126
3126
  return t !== -1 && t !== 36 && !(t >= 40 && t <= 43) && t !== 46 && t !== 63 && t !== 91 && t !== 94 && t !== 124 ? (e.advance(), !0) : !1;
3127
- }, U.regexp_groupSpecifier = function(e) {
3127
+ }, W.regexp_groupSpecifier = function(e) {
3128
3128
  if (e.eat(63)) {
3129
3129
  this.regexp_eatGroupName(e) || e.raise("Invalid group");
3130
3130
  var t = this.options.ecmaVersion >= 16, n = e.groupNames[e.lastStringValue];
@@ -3132,35 +3132,35 @@ U.regexp_eatPatternCharacters = function(e) {
3132
3132
  else e.raise("Duplicate capture group name");
3133
3133
  t ? (n || (e.groupNames[e.lastStringValue] = [])).push(e.branchID) : e.groupNames[e.lastStringValue] = !0;
3134
3134
  }
3135
- }, U.regexp_eatGroupName = function(e) {
3135
+ }, W.regexp_eatGroupName = function(e) {
3136
3136
  if (e.lastStringValue = "", e.eat(60)) {
3137
3137
  if (this.regexp_eatRegExpIdentifierName(e) && e.eat(62)) return !0;
3138
3138
  e.raise("Invalid capture group name");
3139
3139
  }
3140
3140
  return !1;
3141
- }, U.regexp_eatRegExpIdentifierName = function(e) {
3141
+ }, W.regexp_eatRegExpIdentifierName = function(e) {
3142
3142
  if (e.lastStringValue = "", this.regexp_eatRegExpIdentifierStart(e)) {
3143
- for (e.lastStringValue += at(e.lastIntValue); this.regexp_eatRegExpIdentifierPart(e);) e.lastStringValue += at(e.lastIntValue);
3143
+ for (e.lastStringValue += it(e.lastIntValue); this.regexp_eatRegExpIdentifierPart(e);) e.lastStringValue += it(e.lastIntValue);
3144
3144
  return !0;
3145
3145
  }
3146
3146
  return !1;
3147
- }, U.regexp_eatRegExpIdentifierStart = function(e) {
3147
+ }, W.regexp_eatRegExpIdentifierStart = function(e) {
3148
3148
  var t = e.pos, n = this.options.ecmaVersion >= 11, r = e.current(n);
3149
- return e.advance(n), r === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(e, n) && (r = e.lastIntValue), On(r) ? (e.lastIntValue = r, !0) : (e.pos = t, !1);
3149
+ return e.advance(n), r === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(e, n) && (r = e.lastIntValue), Dn(r) ? (e.lastIntValue = r, !0) : (e.pos = t, !1);
3150
3150
  };
3151
- function On(e) {
3152
- return E(e, !0) || e === 36 || e === 95;
3151
+ function Dn(e) {
3152
+ return D(e, !0) || e === 36 || e === 95;
3153
3153
  }
3154
- U.regexp_eatRegExpIdentifierPart = function(e) {
3154
+ W.regexp_eatRegExpIdentifierPart = function(e) {
3155
3155
  var t = e.pos, n = this.options.ecmaVersion >= 11, r = e.current(n);
3156
- return e.advance(n), r === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(e, n) && (r = e.lastIntValue), kn(r) ? (e.lastIntValue = r, !0) : (e.pos = t, !1);
3156
+ return e.advance(n), r === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(e, n) && (r = e.lastIntValue), On(r) ? (e.lastIntValue = r, !0) : (e.pos = t, !1);
3157
3157
  };
3158
- function kn(e) {
3159
- return Ke(e, !0) || e === 36 || e === 95 || e === 8204 || e === 8205;
3158
+ function On(e) {
3159
+ return Ge(e, !0) || e === 36 || e === 95 || e === 8204 || e === 8205;
3160
3160
  }
3161
- U.regexp_eatAtomEscape = function(e) {
3161
+ W.regexp_eatAtomEscape = function(e) {
3162
3162
  return this.regexp_eatBackReference(e) || this.regexp_eatCharacterClassEscape(e) || this.regexp_eatCharacterEscape(e) || e.switchN && this.regexp_eatKGroupName(e) ? !0 : (e.switchU && (e.current() === 99 && e.raise("Invalid unicode escape"), e.raise("Invalid escape")), !1);
3163
- }, U.regexp_eatBackReference = function(e) {
3163
+ }, W.regexp_eatBackReference = function(e) {
3164
3164
  var t = e.pos;
3165
3165
  if (this.regexp_eatDecimalEscape(e)) {
3166
3166
  var n = e.lastIntValue;
@@ -3169,34 +3169,34 @@ U.regexp_eatAtomEscape = function(e) {
3169
3169
  e.pos = t;
3170
3170
  }
3171
3171
  return !1;
3172
- }, U.regexp_eatKGroupName = function(e) {
3172
+ }, W.regexp_eatKGroupName = function(e) {
3173
3173
  if (e.eat(107)) {
3174
3174
  if (this.regexp_eatGroupName(e)) return e.backReferenceNames.push(e.lastStringValue), !0;
3175
3175
  e.raise("Invalid named reference");
3176
3176
  }
3177
3177
  return !1;
3178
- }, U.regexp_eatCharacterEscape = function(e) {
3178
+ }, W.regexp_eatCharacterEscape = function(e) {
3179
3179
  return this.regexp_eatControlEscape(e) || this.regexp_eatCControlLetter(e) || this.regexp_eatZero(e) || this.regexp_eatHexEscapeSequence(e) || this.regexp_eatRegExpUnicodeEscapeSequence(e, !1) || !e.switchU && this.regexp_eatLegacyOctalEscapeSequence(e) || this.regexp_eatIdentityEscape(e);
3180
- }, U.regexp_eatCControlLetter = function(e) {
3180
+ }, W.regexp_eatCControlLetter = function(e) {
3181
3181
  var t = e.pos;
3182
3182
  if (e.eat(99)) {
3183
3183
  if (this.regexp_eatControlLetter(e)) return !0;
3184
3184
  e.pos = t;
3185
3185
  }
3186
3186
  return !1;
3187
- }, U.regexp_eatZero = function(e) {
3188
- return e.current() === 48 && !Bn(e.lookahead()) ? (e.lastIntValue = 0, e.advance(), !0) : !1;
3189
- }, U.regexp_eatControlEscape = function(e) {
3187
+ }, W.regexp_eatZero = function(e) {
3188
+ return e.current() === 48 && !zn(e.lookahead()) ? (e.lastIntValue = 0, e.advance(), !0) : !1;
3189
+ }, W.regexp_eatControlEscape = function(e) {
3190
3190
  var t = e.current();
3191
3191
  return t === 116 ? (e.lastIntValue = 9, e.advance(), !0) : t === 110 ? (e.lastIntValue = 10, e.advance(), !0) : t === 118 ? (e.lastIntValue = 11, e.advance(), !0) : t === 102 ? (e.lastIntValue = 12, e.advance(), !0) : t === 114 ? (e.lastIntValue = 13, e.advance(), !0) : !1;
3192
- }, U.regexp_eatControlLetter = function(e) {
3192
+ }, W.regexp_eatControlLetter = function(e) {
3193
3193
  var t = e.current();
3194
- return An(t) ? (e.lastIntValue = t % 32, e.advance(), !0) : !1;
3194
+ return kn(t) ? (e.lastIntValue = t % 32, e.advance(), !0) : !1;
3195
3195
  };
3196
- function An(e) {
3196
+ function kn(e) {
3197
3197
  return e >= 65 && e <= 90 || e >= 97 && e <= 122;
3198
3198
  }
3199
- U.regexp_eatRegExpUnicodeEscapeSequence = function(e, t) {
3199
+ W.regexp_eatRegExpUnicodeEscapeSequence = function(e, t) {
3200
3200
  t === void 0 && (t = !1);
3201
3201
  var n = e.pos, r = t || e.switchU;
3202
3202
  if (e.eat(117)) {
@@ -3212,19 +3212,19 @@ U.regexp_eatRegExpUnicodeEscapeSequence = function(e, t) {
3212
3212
  }
3213
3213
  return !0;
3214
3214
  }
3215
- if (r && e.eat(123) && this.regexp_eatHexDigits(e) && e.eat(125) && jn(e.lastIntValue)) return !0;
3215
+ if (r && e.eat(123) && this.regexp_eatHexDigits(e) && e.eat(125) && An(e.lastIntValue)) return !0;
3216
3216
  r && e.raise("Invalid unicode escape"), e.pos = n;
3217
3217
  }
3218
3218
  return !1;
3219
3219
  };
3220
- function jn(e) {
3220
+ function An(e) {
3221
3221
  return e >= 0 && e <= 1114111;
3222
3222
  }
3223
- U.regexp_eatIdentityEscape = function(e) {
3223
+ W.regexp_eatIdentityEscape = function(e) {
3224
3224
  if (e.switchU) return this.regexp_eatSyntaxCharacter(e) ? !0 : e.eat(47) ? (e.lastIntValue = 47, !0) : !1;
3225
3225
  var t = e.current();
3226
3226
  return t !== 99 && (!e.switchN || t !== 107) ? (e.lastIntValue = t, e.advance(), !0) : !1;
3227
- }, U.regexp_eatDecimalEscape = function(e) {
3227
+ }, W.regexp_eatDecimalEscape = function(e) {
3228
3228
  e.lastIntValue = 0;
3229
3229
  var t = e.current();
3230
3230
  if (t >= 49 && t <= 57) {
@@ -3235,69 +3235,69 @@ U.regexp_eatIdentityEscape = function(e) {
3235
3235
  }
3236
3236
  return !1;
3237
3237
  };
3238
- var Mn = 0, Nn = 1, W = 2;
3239
- U.regexp_eatCharacterClassEscape = function(e) {
3238
+ var jn = 0, Mn = 1, G = 2;
3239
+ W.regexp_eatCharacterClassEscape = function(e) {
3240
3240
  var t = e.current();
3241
- if (Pn(t)) return e.lastIntValue = -1, e.advance(), Nn;
3241
+ if (Nn(t)) return e.lastIntValue = -1, e.advance(), Mn;
3242
3242
  var n = !1;
3243
3243
  if (e.switchU && this.options.ecmaVersion >= 9 && ((n = t === 80) || t === 112)) {
3244
3244
  e.lastIntValue = -1, e.advance();
3245
3245
  var r;
3246
- if (e.eat(123) && (r = this.regexp_eatUnicodePropertyValueExpression(e)) && e.eat(125)) return n && r === W && e.raise("Invalid property name"), r;
3246
+ if (e.eat(123) && (r = this.regexp_eatUnicodePropertyValueExpression(e)) && e.eat(125)) return n && r === G && e.raise("Invalid property name"), r;
3247
3247
  e.raise("Invalid property name");
3248
3248
  }
3249
- return Mn;
3249
+ return jn;
3250
3250
  };
3251
- function Pn(e) {
3251
+ function Nn(e) {
3252
3252
  return e === 100 || e === 68 || e === 115 || e === 83 || e === 119 || e === 87;
3253
3253
  }
3254
- U.regexp_eatUnicodePropertyValueExpression = function(e) {
3254
+ W.regexp_eatUnicodePropertyValueExpression = function(e) {
3255
3255
  var t = e.pos;
3256
3256
  if (this.regexp_eatUnicodePropertyName(e) && e.eat(61)) {
3257
3257
  var n = e.lastStringValue;
3258
3258
  if (this.regexp_eatUnicodePropertyValue(e)) {
3259
3259
  var r = e.lastStringValue;
3260
- return this.regexp_validateUnicodePropertyNameAndValue(e, n, r), Nn;
3260
+ return this.regexp_validateUnicodePropertyNameAndValue(e, n, r), Mn;
3261
3261
  }
3262
3262
  }
3263
3263
  if (e.pos = t, this.regexp_eatLoneUnicodePropertyNameOrValue(e)) {
3264
3264
  var i = e.lastStringValue;
3265
3265
  return this.regexp_validateUnicodePropertyNameOrValue(e, i);
3266
3266
  }
3267
- return Mn;
3268
- }, U.regexp_validateUnicodePropertyNameAndValue = function(e, t, n) {
3269
- tt(e.unicodeProperties.nonBinary, t) || e.raise("Invalid property name"), e.unicodeProperties.nonBinary[t].test(n) || e.raise("Invalid property value");
3270
- }, U.regexp_validateUnicodePropertyNameOrValue = function(e, t) {
3271
- if (e.unicodeProperties.binary.test(t)) return Nn;
3272
- if (e.switchV && e.unicodeProperties.binaryOfStrings.test(t)) return W;
3267
+ return jn;
3268
+ }, W.regexp_validateUnicodePropertyNameAndValue = function(e, t, n) {
3269
+ et(e.unicodeProperties.nonBinary, t) || e.raise("Invalid property name"), e.unicodeProperties.nonBinary[t].test(n) || e.raise("Invalid property value");
3270
+ }, W.regexp_validateUnicodePropertyNameOrValue = function(e, t) {
3271
+ if (e.unicodeProperties.binary.test(t)) return Mn;
3272
+ if (e.switchV && e.unicodeProperties.binaryOfStrings.test(t)) return G;
3273
3273
  e.raise("Invalid property name");
3274
- }, U.regexp_eatUnicodePropertyName = function(e) {
3274
+ }, W.regexp_eatUnicodePropertyName = function(e) {
3275
3275
  var t = 0;
3276
- for (e.lastStringValue = ""; Fn(t = e.current());) e.lastStringValue += at(t), e.advance();
3276
+ for (e.lastStringValue = ""; Pn(t = e.current());) e.lastStringValue += it(t), e.advance();
3277
3277
  return e.lastStringValue !== "";
3278
3278
  };
3279
- function Fn(e) {
3280
- return An(e) || e === 95;
3279
+ function Pn(e) {
3280
+ return kn(e) || e === 95;
3281
3281
  }
3282
- U.regexp_eatUnicodePropertyValue = function(e) {
3282
+ W.regexp_eatUnicodePropertyValue = function(e) {
3283
3283
  var t = 0;
3284
- for (e.lastStringValue = ""; In(t = e.current());) e.lastStringValue += at(t), e.advance();
3284
+ for (e.lastStringValue = ""; Fn(t = e.current());) e.lastStringValue += it(t), e.advance();
3285
3285
  return e.lastStringValue !== "";
3286
3286
  };
3287
- function In(e) {
3288
- return Fn(e) || Bn(e);
3287
+ function Fn(e) {
3288
+ return Pn(e) || zn(e);
3289
3289
  }
3290
- U.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
3290
+ W.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
3291
3291
  return this.regexp_eatUnicodePropertyValue(e);
3292
- }, U.regexp_eatCharacterClass = function(e) {
3292
+ }, W.regexp_eatCharacterClass = function(e) {
3293
3293
  if (e.eat(91)) {
3294
3294
  var t = e.eat(94), n = this.regexp_classContents(e);
3295
- return e.eat(93) || e.raise("Unterminated character class"), t && n === W && e.raise("Negated character class may contain strings"), !0;
3295
+ return e.eat(93) || e.raise("Unterminated character class"), t && n === G && e.raise("Negated character class may contain strings"), !0;
3296
3296
  }
3297
3297
  return !1;
3298
- }, U.regexp_classContents = function(e) {
3299
- return e.current() === 93 ? Nn : e.switchV ? this.regexp_classSetExpression(e) : (this.regexp_nonEmptyClassRanges(e), Nn);
3300
- }, U.regexp_nonEmptyClassRanges = function(e) {
3298
+ }, W.regexp_classContents = function(e) {
3299
+ return e.current() === 93 ? Mn : e.switchV ? this.regexp_classSetExpression(e) : (this.regexp_nonEmptyClassRanges(e), Mn);
3300
+ }, W.regexp_nonEmptyClassRanges = function(e) {
3301
3301
  for (; this.regexp_eatClassAtom(e);) {
3302
3302
  var t = e.lastIntValue;
3303
3303
  if (e.eat(45) && this.regexp_eatClassAtom(e)) {
@@ -3305,19 +3305,19 @@ U.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
3305
3305
  e.switchU && (t === -1 || n === -1) && e.raise("Invalid character class"), t !== -1 && n !== -1 && t > n && e.raise("Range out of order in character class");
3306
3306
  }
3307
3307
  }
3308
- }, U.regexp_eatClassAtom = function(e) {
3308
+ }, W.regexp_eatClassAtom = function(e) {
3309
3309
  var t = e.pos;
3310
3310
  if (e.eat(92)) {
3311
3311
  if (this.regexp_eatClassEscape(e)) return !0;
3312
3312
  if (e.switchU) {
3313
3313
  var n = e.current();
3314
- (n === 99 || Un(n)) && e.raise("Invalid class escape"), e.raise("Invalid escape");
3314
+ (n === 99 || Hn(n)) && e.raise("Invalid class escape"), e.raise("Invalid escape");
3315
3315
  }
3316
3316
  e.pos = t;
3317
3317
  }
3318
3318
  var r = e.current();
3319
3319
  return r === 93 ? !1 : (e.lastIntValue = r, e.advance(), !0);
3320
- }, U.regexp_eatClassEscape = function(e) {
3320
+ }, W.regexp_eatClassEscape = function(e) {
3321
3321
  var t = e.pos;
3322
3322
  if (e.eat(98)) return e.lastIntValue = 8, !0;
3323
3323
  if (e.switchU && e.eat(45)) return e.lastIntValue = 45, !0;
@@ -3326,13 +3326,13 @@ U.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
3326
3326
  e.pos = t;
3327
3327
  }
3328
3328
  return this.regexp_eatCharacterClassEscape(e) || this.regexp_eatCharacterEscape(e);
3329
- }, U.regexp_classSetExpression = function(e) {
3330
- var t = Nn, n;
3329
+ }, W.regexp_classSetExpression = function(e) {
3330
+ var t = Mn, n;
3331
3331
  if (!this.regexp_eatClassSetRange(e)) if (n = this.regexp_eatClassSetOperand(e)) {
3332
- n === W && (t = W);
3332
+ n === G && (t = G);
3333
3333
  for (var r = e.pos; e.eatChars([38, 38]);) {
3334
3334
  if (e.current() !== 38 && (n = this.regexp_eatClassSetOperand(e))) {
3335
- n !== W && (t = Nn);
3335
+ n !== G && (t = Mn);
3336
3336
  continue;
3337
3337
  }
3338
3338
  e.raise("Invalid character in character class");
@@ -3343,9 +3343,9 @@ U.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
3343
3343
  } else e.raise("Invalid character in character class");
3344
3344
  for (;;) if (!this.regexp_eatClassSetRange(e)) {
3345
3345
  if (n = this.regexp_eatClassSetOperand(e), !n) return t;
3346
- n === W && (t = W);
3346
+ n === G && (t = G);
3347
3347
  }
3348
- }, U.regexp_eatClassSetRange = function(e) {
3348
+ }, W.regexp_eatClassSetRange = function(e) {
3349
3349
  var t = e.pos;
3350
3350
  if (this.regexp_eatClassSetCharacter(e)) {
3351
3351
  var n = e.lastIntValue;
@@ -3356,13 +3356,13 @@ U.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
3356
3356
  e.pos = t;
3357
3357
  }
3358
3358
  return !1;
3359
- }, U.regexp_eatClassSetOperand = function(e) {
3360
- return this.regexp_eatClassSetCharacter(e) ? Nn : this.regexp_eatClassStringDisjunction(e) || this.regexp_eatNestedClass(e);
3361
- }, U.regexp_eatNestedClass = function(e) {
3359
+ }, W.regexp_eatClassSetOperand = function(e) {
3360
+ return this.regexp_eatClassSetCharacter(e) ? Mn : this.regexp_eatClassStringDisjunction(e) || this.regexp_eatNestedClass(e);
3361
+ }, W.regexp_eatNestedClass = function(e) {
3362
3362
  var t = e.pos;
3363
3363
  if (e.eat(91)) {
3364
3364
  var n = e.eat(94), r = this.regexp_classContents(e);
3365
- if (e.eat(93)) return n && r === W && e.raise("Negated character class may contain strings"), r;
3365
+ if (e.eat(93)) return n && r === G && e.raise("Negated character class may contain strings"), r;
3366
3366
  e.pos = t;
3367
3367
  }
3368
3368
  if (e.eat(92)) {
@@ -3371,7 +3371,7 @@ U.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
3371
3371
  e.pos = t;
3372
3372
  }
3373
3373
  return null;
3374
- }, U.regexp_eatClassStringDisjunction = function(e) {
3374
+ }, W.regexp_eatClassStringDisjunction = function(e) {
3375
3375
  var t = e.pos;
3376
3376
  if (e.eatChars([92, 113])) {
3377
3377
  if (e.eat(123)) {
@@ -3381,61 +3381,61 @@ U.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
3381
3381
  e.pos = t;
3382
3382
  }
3383
3383
  return null;
3384
- }, U.regexp_classStringDisjunctionContents = function(e) {
3385
- for (var t = this.regexp_classString(e); e.eat(124);) this.regexp_classString(e) === W && (t = W);
3384
+ }, W.regexp_classStringDisjunctionContents = function(e) {
3385
+ for (var t = this.regexp_classString(e); e.eat(124);) this.regexp_classString(e) === G && (t = G);
3386
3386
  return t;
3387
- }, U.regexp_classString = function(e) {
3387
+ }, W.regexp_classString = function(e) {
3388
3388
  for (var t = 0; this.regexp_eatClassSetCharacter(e);) t++;
3389
- return t === 1 ? Nn : W;
3390
- }, U.regexp_eatClassSetCharacter = function(e) {
3389
+ return t === 1 ? Mn : G;
3390
+ }, W.regexp_eatClassSetCharacter = function(e) {
3391
3391
  var t = e.pos;
3392
3392
  if (e.eat(92)) return this.regexp_eatCharacterEscape(e) || this.regexp_eatClassSetReservedPunctuator(e) ? !0 : e.eat(98) ? (e.lastIntValue = 8, !0) : (e.pos = t, !1);
3393
3393
  var n = e.current();
3394
- return n < 0 || n === e.lookahead() && Ln(n) || Rn(n) ? !1 : (e.advance(), e.lastIntValue = n, !0);
3394
+ return n < 0 || n === e.lookahead() && In(n) || Ln(n) ? !1 : (e.advance(), e.lastIntValue = n, !0);
3395
3395
  };
3396
- function Ln(e) {
3396
+ function In(e) {
3397
3397
  return e === 33 || e >= 35 && e <= 38 || e >= 42 && e <= 44 || e === 46 || e >= 58 && e <= 64 || e === 94 || e === 96 || e === 126;
3398
3398
  }
3399
- function Rn(e) {
3399
+ function Ln(e) {
3400
3400
  return e === 40 || e === 41 || e === 45 || e === 47 || e >= 91 && e <= 93 || e >= 123 && e <= 125;
3401
3401
  }
3402
- U.regexp_eatClassSetReservedPunctuator = function(e) {
3402
+ W.regexp_eatClassSetReservedPunctuator = function(e) {
3403
3403
  var t = e.current();
3404
- return zn(t) ? (e.lastIntValue = t, e.advance(), !0) : !1;
3404
+ return Rn(t) ? (e.lastIntValue = t, e.advance(), !0) : !1;
3405
3405
  };
3406
- function zn(e) {
3406
+ function Rn(e) {
3407
3407
  return e === 33 || e === 35 || e === 37 || e === 38 || e === 44 || e === 45 || e >= 58 && e <= 62 || e === 64 || e === 96 || e === 126;
3408
3408
  }
3409
- U.regexp_eatClassControlLetter = function(e) {
3409
+ W.regexp_eatClassControlLetter = function(e) {
3410
3410
  var t = e.current();
3411
- return Bn(t) || t === 95 ? (e.lastIntValue = t % 32, e.advance(), !0) : !1;
3412
- }, U.regexp_eatHexEscapeSequence = function(e) {
3411
+ return zn(t) || t === 95 ? (e.lastIntValue = t % 32, e.advance(), !0) : !1;
3412
+ }, W.regexp_eatHexEscapeSequence = function(e) {
3413
3413
  var t = e.pos;
3414
3414
  if (e.eat(120)) {
3415
3415
  if (this.regexp_eatFixedHexDigits(e, 2)) return !0;
3416
3416
  e.switchU && e.raise("Invalid escape"), e.pos = t;
3417
3417
  }
3418
3418
  return !1;
3419
- }, U.regexp_eatDecimalDigits = function(e) {
3419
+ }, W.regexp_eatDecimalDigits = function(e) {
3420
3420
  var t = e.pos, n = 0;
3421
- for (e.lastIntValue = 0; Bn(n = e.current());) e.lastIntValue = 10 * e.lastIntValue + (n - 48), e.advance();
3421
+ for (e.lastIntValue = 0; zn(n = e.current());) e.lastIntValue = 10 * e.lastIntValue + (n - 48), e.advance();
3422
3422
  return e.pos !== t;
3423
3423
  };
3424
- function Bn(e) {
3424
+ function zn(e) {
3425
3425
  return e >= 48 && e <= 57;
3426
3426
  }
3427
- U.regexp_eatHexDigits = function(e) {
3427
+ W.regexp_eatHexDigits = function(e) {
3428
3428
  var t = e.pos, n = 0;
3429
- for (e.lastIntValue = 0; Vn(n = e.current());) e.lastIntValue = 16 * e.lastIntValue + Hn(n), e.advance();
3429
+ for (e.lastIntValue = 0; Bn(n = e.current());) e.lastIntValue = 16 * e.lastIntValue + Vn(n), e.advance();
3430
3430
  return e.pos !== t;
3431
3431
  };
3432
- function Vn(e) {
3432
+ function Bn(e) {
3433
3433
  return e >= 48 && e <= 57 || e >= 65 && e <= 70 || e >= 97 && e <= 102;
3434
3434
  }
3435
- function Hn(e) {
3435
+ function Vn(e) {
3436
3436
  return e >= 65 && e <= 70 ? 10 + (e - 65) : e >= 97 && e <= 102 ? 10 + (e - 97) : e - 48;
3437
3437
  }
3438
- U.regexp_eatLegacyOctalEscapeSequence = function(e) {
3438
+ W.regexp_eatLegacyOctalEscapeSequence = function(e) {
3439
3439
  if (this.regexp_eatOctalDigit(e)) {
3440
3440
  var t = e.lastIntValue;
3441
3441
  if (this.regexp_eatOctalDigit(e)) {
@@ -3445,61 +3445,61 @@ U.regexp_eatLegacyOctalEscapeSequence = function(e) {
3445
3445
  return !0;
3446
3446
  }
3447
3447
  return !1;
3448
- }, U.regexp_eatOctalDigit = function(e) {
3448
+ }, W.regexp_eatOctalDigit = function(e) {
3449
3449
  var t = e.current();
3450
- return Un(t) ? (e.lastIntValue = t - 48, e.advance(), !0) : (e.lastIntValue = 0, !1);
3450
+ return Hn(t) ? (e.lastIntValue = t - 48, e.advance(), !0) : (e.lastIntValue = 0, !1);
3451
3451
  };
3452
- function Un(e) {
3452
+ function Hn(e) {
3453
3453
  return e >= 48 && e <= 55;
3454
3454
  }
3455
- U.regexp_eatFixedHexDigits = function(e, t) {
3455
+ W.regexp_eatFixedHexDigits = function(e, t) {
3456
3456
  var n = e.pos;
3457
3457
  e.lastIntValue = 0;
3458
3458
  for (var r = 0; r < t; ++r) {
3459
3459
  var i = e.current();
3460
- if (!Vn(i)) return e.pos = n, !1;
3461
- e.lastIntValue = 16 * e.lastIntValue + Hn(i), e.advance();
3460
+ if (!Bn(i)) return e.pos = n, !1;
3461
+ e.lastIntValue = 16 * e.lastIntValue + Vn(i), e.advance();
3462
3462
  }
3463
3463
  return !0;
3464
3464
  };
3465
- var Wn = function(e) {
3466
- this.type = e.type, this.value = e.value, this.start = e.start, this.end = e.end, e.options.locations && (this.loc = new ct(e, e.startLoc, e.endLoc)), e.options.ranges && (this.range = [e.start, e.end]);
3467
- }, G = F.prototype;
3468
- G.next = function(e) {
3469
- !e && this.type.keyword && this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword " + this.type.keyword), this.options.onToken && this.options.onToken(new Wn(this)), this.lastTokEnd = this.end, this.lastTokStart = this.start, this.lastTokEndLoc = this.endLoc, this.lastTokStartLoc = this.startLoc, this.nextToken();
3470
- }, G.getToken = function() {
3471
- return this.next(), new Wn(this);
3472
- }, typeof Symbol < "u" && (G[Symbol.iterator] = function() {
3465
+ var Un = function(e) {
3466
+ this.type = e.type, this.value = e.value, this.start = e.start, this.end = e.end, e.options.locations && (this.loc = new st(e, e.startLoc, e.endLoc)), e.options.ranges && (this.range = [e.start, e.end]);
3467
+ }, K = I.prototype;
3468
+ K.next = function(e) {
3469
+ !e && this.type.keyword && this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword " + this.type.keyword), this.options.onToken && this.options.onToken(new Un(this)), this.lastTokEnd = this.end, this.lastTokStart = this.start, this.lastTokEndLoc = this.endLoc, this.lastTokStartLoc = this.startLoc, this.nextToken();
3470
+ }, K.getToken = function() {
3471
+ return this.next(), new Un(this);
3472
+ }, typeof Symbol < "u" && (K[Symbol.iterator] = function() {
3473
3473
  var e = this;
3474
3474
  return { next: function() {
3475
3475
  var t = e.getToken();
3476
3476
  return {
3477
- done: t.type === M.eof,
3477
+ done: t.type === N.eof,
3478
3478
  value: t
3479
3479
  };
3480
3480
  } };
3481
- }), G.nextToken = function() {
3481
+ }), K.nextToken = function() {
3482
3482
  var e = this.curContext();
3483
- if ((!e || !e.preserveSpace) && this.skipSpace(), this.start = this.pos, this.options.locations && (this.startLoc = this.curPosition()), this.pos >= this.input.length) return this.finishToken(M.eof);
3483
+ if ((!e || !e.preserveSpace) && this.skipSpace(), this.start = this.pos, this.options.locations && (this.startLoc = this.curPosition()), this.pos >= this.input.length) return this.finishToken(N.eof);
3484
3484
  if (e.override) return e.override(this);
3485
3485
  this.readToken(this.fullCharCodeAtPos());
3486
- }, G.readToken = function(e) {
3487
- return E(e, this.options.ecmaVersion >= 6) || e === 92 ? this.readWord() : this.getTokenFromCode(e);
3488
- }, G.fullCharCodeAt = function(e) {
3486
+ }, K.readToken = function(e) {
3487
+ return D(e, this.options.ecmaVersion >= 6) || e === 92 ? this.readWord() : this.getTokenFromCode(e);
3488
+ }, K.fullCharCodeAt = function(e) {
3489
3489
  var t = this.input.charCodeAt(e);
3490
3490
  if (t <= 55295 || t >= 56320) return t;
3491
3491
  var n = this.input.charCodeAt(e + 1);
3492
3492
  return n <= 56319 || n >= 57344 ? t : (t << 10) + n - 56613888;
3493
- }, G.fullCharCodeAtPos = function() {
3493
+ }, K.fullCharCodeAtPos = function() {
3494
3494
  return this.fullCharCodeAt(this.pos);
3495
- }, G.skipBlockComment = function() {
3495
+ }, K.skipBlockComment = function() {
3496
3496
  var e = this.options.onComment && this.curPosition(), t = this.pos, n = this.input.indexOf("*/", this.pos += 2);
3497
- if (n === -1 && this.raise(this.pos - 2, "Unterminated comment"), this.pos = n + 2, this.options.locations) for (var r = void 0, i = t; (r = Xe(this.input, i, this.pos)) > -1;) ++this.curLine, i = this.lineStart = r;
3497
+ if (n === -1 && this.raise(this.pos - 2, "Unterminated comment"), this.pos = n + 2, this.options.locations) for (var r = void 0, i = t; (r = Ye(this.input, i, this.pos)) > -1;) ++this.curLine, i = this.lineStart = r;
3498
3498
  this.options.onComment && this.options.onComment(!0, this.input.slice(t + 2, n), t, this.pos, e, this.curPosition());
3499
- }, G.skipLineComment = function(e) {
3500
- for (var t = this.pos, n = this.options.onComment && this.curPosition(), r = this.input.charCodeAt(this.pos += e); this.pos < this.input.length && !Ye(r);) r = this.input.charCodeAt(++this.pos);
3499
+ }, K.skipLineComment = function(e) {
3500
+ for (var t = this.pos, n = this.options.onComment && this.curPosition(), r = this.input.charCodeAt(this.pos += e); this.pos < this.input.length && !Je(r);) r = this.input.charCodeAt(++this.pos);
3501
3501
  this.options.onComment && this.options.onComment(!1, this.input.slice(t + e, this.pos), t, this.pos, n, this.curPosition());
3502
- }, G.skipSpace = function() {
3502
+ }, K.skipSpace = function() {
3503
3503
  loop: for (; this.pos < this.input.length;) {
3504
3504
  var e = this.input.charCodeAt(this.pos);
3505
3505
  switch (e) {
@@ -3524,69 +3524,69 @@ G.next = function(e) {
3524
3524
  default: break loop;
3525
3525
  }
3526
3526
  break;
3527
- default: if (e > 8 && e < 14 || e >= 5760 && Ze.test(String.fromCharCode(e))) ++this.pos;
3527
+ default: if (e > 8 && e < 14 || e >= 5760 && Xe.test(String.fromCharCode(e))) ++this.pos;
3528
3528
  else break loop;
3529
3529
  }
3530
3530
  }
3531
- }, G.finishToken = function(e, t) {
3531
+ }, K.finishToken = function(e, t) {
3532
3532
  this.end = this.pos, this.options.locations && (this.endLoc = this.curPosition());
3533
3533
  var n = this.type;
3534
3534
  this.type = e, this.value = t, this.updateContext(n);
3535
- }, G.readToken_dot = function() {
3535
+ }, K.readToken_dot = function() {
3536
3536
  var e = this.input.charCodeAt(this.pos + 1);
3537
3537
  if (e >= 48 && e <= 57) return this.readNumber(!0);
3538
3538
  var t = this.input.charCodeAt(this.pos + 2);
3539
- return this.options.ecmaVersion >= 6 && e === 46 && t === 46 ? (this.pos += 3, this.finishToken(M.ellipsis)) : (++this.pos, this.finishToken(M.dot));
3540
- }, G.readToken_slash = function() {
3539
+ return this.options.ecmaVersion >= 6 && e === 46 && t === 46 ? (this.pos += 3, this.finishToken(N.ellipsis)) : (++this.pos, this.finishToken(N.dot));
3540
+ }, K.readToken_slash = function() {
3541
3541
  var e = this.input.charCodeAt(this.pos + 1);
3542
- return this.exprAllowed ? (++this.pos, this.readRegexp()) : e === 61 ? this.finishOp(M.assign, 2) : this.finishOp(M.slash, 1);
3543
- }, G.readToken_mult_modulo_exp = function(e) {
3544
- var t = this.input.charCodeAt(this.pos + 1), n = 1, r = e === 42 ? M.star : M.modulo;
3545
- return this.options.ecmaVersion >= 7 && e === 42 && t === 42 && (++n, r = M.starstar, t = this.input.charCodeAt(this.pos + 2)), t === 61 ? this.finishOp(M.assign, n + 1) : this.finishOp(r, n);
3546
- }, G.readToken_pipe_amp = function(e) {
3542
+ return this.exprAllowed ? (++this.pos, this.readRegexp()) : e === 61 ? this.finishOp(N.assign, 2) : this.finishOp(N.slash, 1);
3543
+ }, K.readToken_mult_modulo_exp = function(e) {
3544
+ var t = this.input.charCodeAt(this.pos + 1), n = 1, r = e === 42 ? N.star : N.modulo;
3545
+ return this.options.ecmaVersion >= 7 && e === 42 && t === 42 && (++n, r = N.starstar, t = this.input.charCodeAt(this.pos + 2)), t === 61 ? this.finishOp(N.assign, n + 1) : this.finishOp(r, n);
3546
+ }, K.readToken_pipe_amp = function(e) {
3547
3547
  var t = this.input.charCodeAt(this.pos + 1);
3548
- return t === e ? this.options.ecmaVersion >= 12 && this.input.charCodeAt(this.pos + 2) === 61 ? this.finishOp(M.assign, 3) : this.finishOp(e === 124 ? M.logicalOR : M.logicalAND, 2) : t === 61 ? this.finishOp(M.assign, 2) : this.finishOp(e === 124 ? M.bitwiseOR : M.bitwiseAND, 1);
3549
- }, G.readToken_caret = function() {
3550
- return this.input.charCodeAt(this.pos + 1) === 61 ? this.finishOp(M.assign, 2) : this.finishOp(M.bitwiseXOR, 1);
3551
- }, G.readToken_plus_min = function(e) {
3548
+ return t === e ? this.options.ecmaVersion >= 12 && this.input.charCodeAt(this.pos + 2) === 61 ? this.finishOp(N.assign, 3) : this.finishOp(e === 124 ? N.logicalOR : N.logicalAND, 2) : t === 61 ? this.finishOp(N.assign, 2) : this.finishOp(e === 124 ? N.bitwiseOR : N.bitwiseAND, 1);
3549
+ }, K.readToken_caret = function() {
3550
+ return this.input.charCodeAt(this.pos + 1) === 61 ? this.finishOp(N.assign, 2) : this.finishOp(N.bitwiseXOR, 1);
3551
+ }, K.readToken_plus_min = function(e) {
3552
3552
  var t = this.input.charCodeAt(this.pos + 1);
3553
- return t === e ? t === 45 && !this.inModule && this.input.charCodeAt(this.pos + 2) === 62 && (this.lastTokEnd === 0 || N.test(this.input.slice(this.lastTokEnd, this.pos))) ? (this.skipLineComment(3), this.skipSpace(), this.nextToken()) : this.finishOp(M.incDec, 2) : t === 61 ? this.finishOp(M.assign, 2) : this.finishOp(M.plusMin, 1);
3554
- }, G.readToken_lt_gt = function(e) {
3553
+ return t === e ? t === 45 && !this.inModule && this.input.charCodeAt(this.pos + 2) === 62 && (this.lastTokEnd === 0 || P.test(this.input.slice(this.lastTokEnd, this.pos))) ? (this.skipLineComment(3), this.skipSpace(), this.nextToken()) : this.finishOp(N.incDec, 2) : t === 61 ? this.finishOp(N.assign, 2) : this.finishOp(N.plusMin, 1);
3554
+ }, K.readToken_lt_gt = function(e) {
3555
3555
  var t = this.input.charCodeAt(this.pos + 1), n = 1;
3556
- return t === e ? (n = e === 62 && this.input.charCodeAt(this.pos + 2) === 62 ? 3 : 2, this.input.charCodeAt(this.pos + n) === 61 ? this.finishOp(M.assign, n + 1) : this.finishOp(M.bitShift, n)) : t === 33 && e === 60 && !this.inModule && this.input.charCodeAt(this.pos + 2) === 45 && this.input.charCodeAt(this.pos + 3) === 45 ? (this.skipLineComment(4), this.skipSpace(), this.nextToken()) : (t === 61 && (n = 2), this.finishOp(M.relational, n));
3557
- }, G.readToken_eq_excl = function(e) {
3556
+ return t === e ? (n = e === 62 && this.input.charCodeAt(this.pos + 2) === 62 ? 3 : 2, this.input.charCodeAt(this.pos + n) === 61 ? this.finishOp(N.assign, n + 1) : this.finishOp(N.bitShift, n)) : t === 33 && e === 60 && !this.inModule && this.input.charCodeAt(this.pos + 2) === 45 && this.input.charCodeAt(this.pos + 3) === 45 ? (this.skipLineComment(4), this.skipSpace(), this.nextToken()) : (t === 61 && (n = 2), this.finishOp(N.relational, n));
3557
+ }, K.readToken_eq_excl = function(e) {
3558
3558
  var t = this.input.charCodeAt(this.pos + 1);
3559
- return t === 61 ? this.finishOp(M.equality, this.input.charCodeAt(this.pos + 2) === 61 ? 3 : 2) : e === 61 && t === 62 && this.options.ecmaVersion >= 6 ? (this.pos += 2, this.finishToken(M.arrow)) : this.finishOp(e === 61 ? M.eq : M.prefix, 1);
3560
- }, G.readToken_question = function() {
3559
+ return t === 61 ? this.finishOp(N.equality, this.input.charCodeAt(this.pos + 2) === 61 ? 3 : 2) : e === 61 && t === 62 && this.options.ecmaVersion >= 6 ? (this.pos += 2, this.finishToken(N.arrow)) : this.finishOp(e === 61 ? N.eq : N.prefix, 1);
3560
+ }, K.readToken_question = function() {
3561
3561
  var e = this.options.ecmaVersion;
3562
3562
  if (e >= 11) {
3563
3563
  var t = this.input.charCodeAt(this.pos + 1);
3564
3564
  if (t === 46) {
3565
3565
  var n = this.input.charCodeAt(this.pos + 2);
3566
- if (n < 48 || n > 57) return this.finishOp(M.questionDot, 2);
3566
+ if (n < 48 || n > 57) return this.finishOp(N.questionDot, 2);
3567
3567
  }
3568
- if (t === 63) return e >= 12 && this.input.charCodeAt(this.pos + 2) === 61 ? this.finishOp(M.assign, 3) : this.finishOp(M.coalesce, 2);
3568
+ if (t === 63) return e >= 12 && this.input.charCodeAt(this.pos + 2) === 61 ? this.finishOp(N.assign, 3) : this.finishOp(N.coalesce, 2);
3569
3569
  }
3570
- return this.finishOp(M.question, 1);
3571
- }, G.readToken_numberSign = function() {
3570
+ return this.finishOp(N.question, 1);
3571
+ }, K.readToken_numberSign = function() {
3572
3572
  var e = this.options.ecmaVersion, t = 35;
3573
- if (e >= 13 && (++this.pos, t = this.fullCharCodeAtPos(), E(t, !0) || t === 92)) return this.finishToken(M.privateId, this.readWord1());
3574
- this.raise(this.pos, "Unexpected character '" + at(t) + "'");
3575
- }, G.getTokenFromCode = function(e) {
3573
+ if (e >= 13 && (++this.pos, t = this.fullCharCodeAtPos(), D(t, !0) || t === 92)) return this.finishToken(N.privateId, this.readWord1());
3574
+ this.raise(this.pos, "Unexpected character '" + it(t) + "'");
3575
+ }, K.getTokenFromCode = function(e) {
3576
3576
  switch (e) {
3577
3577
  case 46: return this.readToken_dot();
3578
- case 40: return ++this.pos, this.finishToken(M.parenL);
3579
- case 41: return ++this.pos, this.finishToken(M.parenR);
3580
- case 59: return ++this.pos, this.finishToken(M.semi);
3581
- case 44: return ++this.pos, this.finishToken(M.comma);
3582
- case 91: return ++this.pos, this.finishToken(M.bracketL);
3583
- case 93: return ++this.pos, this.finishToken(M.bracketR);
3584
- case 123: return ++this.pos, this.finishToken(M.braceL);
3585
- case 125: return ++this.pos, this.finishToken(M.braceR);
3586
- case 58: return ++this.pos, this.finishToken(M.colon);
3578
+ case 40: return ++this.pos, this.finishToken(N.parenL);
3579
+ case 41: return ++this.pos, this.finishToken(N.parenR);
3580
+ case 59: return ++this.pos, this.finishToken(N.semi);
3581
+ case 44: return ++this.pos, this.finishToken(N.comma);
3582
+ case 91: return ++this.pos, this.finishToken(N.bracketL);
3583
+ case 93: return ++this.pos, this.finishToken(N.bracketR);
3584
+ case 123: return ++this.pos, this.finishToken(N.braceL);
3585
+ case 125: return ++this.pos, this.finishToken(N.braceR);
3586
+ case 58: return ++this.pos, this.finishToken(N.colon);
3587
3587
  case 96:
3588
3588
  if (this.options.ecmaVersion < 6) break;
3589
- return ++this.pos, this.finishToken(M.backQuote);
3589
+ return ++this.pos, this.finishToken(N.backQuote);
3590
3590
  case 48:
3591
3591
  var t = this.input.charCodeAt(this.pos + 1);
3592
3592
  if (t === 120 || t === 88) return this.readRadixNumber(16);
@@ -3618,18 +3618,18 @@ G.next = function(e) {
3618
3618
  case 61:
3619
3619
  case 33: return this.readToken_eq_excl(e);
3620
3620
  case 63: return this.readToken_question();
3621
- case 126: return this.finishOp(M.prefix, 1);
3621
+ case 126: return this.finishOp(N.prefix, 1);
3622
3622
  case 35: return this.readToken_numberSign();
3623
3623
  }
3624
- this.raise(this.pos, "Unexpected character '" + at(e) + "'");
3625
- }, G.finishOp = function(e, t) {
3624
+ this.raise(this.pos, "Unexpected character '" + it(e) + "'");
3625
+ }, K.finishOp = function(e, t) {
3626
3626
  var n = this.input.slice(this.pos, this.pos + t);
3627
3627
  return this.pos += t, this.finishToken(e, n);
3628
- }, G.readRegexp = function() {
3628
+ }, K.readRegexp = function() {
3629
3629
  for (var e, t, n = this.pos;;) {
3630
3630
  this.pos >= this.input.length && this.raise(n, "Unterminated regular expression");
3631
3631
  var r = this.input.charAt(this.pos);
3632
- if (N.test(r) && this.raise(n, "Unterminated regular expression"), e) e = !1;
3632
+ if (P.test(r) && this.raise(n, "Unterminated regular expression"), e) e = !1;
3633
3633
  else {
3634
3634
  if (r === "[") t = !0;
3635
3635
  else if (r === "]" && t) t = !1;
@@ -3642,18 +3642,18 @@ G.next = function(e) {
3642
3642
  ++this.pos;
3643
3643
  var a = this.pos, o = this.readWord1();
3644
3644
  this.containsEsc && this.unexpected(a);
3645
- var s = this.regexpState ||= new wn(this);
3645
+ var s = this.regexpState ||= new Cn(this);
3646
3646
  s.reset(n, i, o), this.validateRegExpFlags(s), this.validateRegExpPattern(s);
3647
3647
  var c = null;
3648
3648
  try {
3649
3649
  c = new RegExp(i, o);
3650
3650
  } catch {}
3651
- return this.finishToken(M.regexp, {
3651
+ return this.finishToken(N.regexp, {
3652
3652
  pattern: i,
3653
3653
  flags: o,
3654
3654
  value: c
3655
3655
  });
3656
- }, G.readInt = function(e, t, n) {
3656
+ }, K.readInt = function(e, t, n) {
3657
3657
  for (var r = this.options.ecmaVersion >= 12 && t === void 0, i = n && this.input.charCodeAt(this.pos) === 48, a = this.pos, o = 0, s = 0, c = 0, l = t ?? Infinity; c < l; ++c, ++this.pos) {
3658
3658
  var u = this.input.charCodeAt(this.pos), d = void 0;
3659
3659
  if (r && u === 95) {
@@ -3665,31 +3665,31 @@ G.next = function(e) {
3665
3665
  }
3666
3666
  return r && s === 95 && this.raiseRecoverable(this.pos - 1, "Numeric separator is not allowed at the last of digits"), this.pos === a || t != null && this.pos - a !== t ? null : o;
3667
3667
  };
3668
- function Gn(e, t) {
3668
+ function Wn(e, t) {
3669
3669
  return t ? parseInt(e, 8) : parseFloat(e.replace(/_/g, ""));
3670
3670
  }
3671
- function Kn(e) {
3671
+ function Gn(e) {
3672
3672
  return typeof BigInt == "function" ? BigInt(e.replace(/_/g, "")) : null;
3673
3673
  }
3674
- G.readRadixNumber = function(e) {
3674
+ K.readRadixNumber = function(e) {
3675
3675
  var t = this.pos;
3676
3676
  this.pos += 2;
3677
3677
  var n = this.readInt(e);
3678
- return n ?? this.raise(this.start + 2, "Expected number in radix " + e), this.options.ecmaVersion >= 11 && this.input.charCodeAt(this.pos) === 110 ? (n = Kn(this.input.slice(t, this.pos)), ++this.pos) : E(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(M.num, n);
3679
- }, G.readNumber = function(e) {
3678
+ return n ?? this.raise(this.start + 2, "Expected number in radix " + e), this.options.ecmaVersion >= 11 && this.input.charCodeAt(this.pos) === 110 ? (n = Gn(this.input.slice(t, this.pos)), ++this.pos) : D(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(N.num, n);
3679
+ }, K.readNumber = function(e) {
3680
3680
  var t = this.pos;
3681
3681
  !e && this.readInt(10, void 0, !0) === null && this.raise(t, "Invalid number");
3682
3682
  var n = this.pos - t >= 2 && this.input.charCodeAt(t) === 48;
3683
3683
  n && this.strict && this.raise(t, "Invalid number");
3684
3684
  var r = this.input.charCodeAt(this.pos);
3685
3685
  if (!n && !e && this.options.ecmaVersion >= 11 && r === 110) {
3686
- var i = Kn(this.input.slice(t, this.pos));
3687
- return ++this.pos, E(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(M.num, i);
3686
+ var i = Gn(this.input.slice(t, this.pos));
3687
+ return ++this.pos, D(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(N.num, i);
3688
3688
  }
3689
- n && /[89]/.test(this.input.slice(t, this.pos)) && (n = !1), r === 46 && !n && (++this.pos, this.readInt(10), r = this.input.charCodeAt(this.pos)), (r === 69 || r === 101) && !n && (r = this.input.charCodeAt(++this.pos), (r === 43 || r === 45) && ++this.pos, this.readInt(10) === null && this.raise(t, "Invalid number")), E(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number");
3690
- var a = Gn(this.input.slice(t, this.pos), n);
3691
- return this.finishToken(M.num, a);
3692
- }, G.readCodePoint = function() {
3689
+ n && /[89]/.test(this.input.slice(t, this.pos)) && (n = !1), r === 46 && !n && (++this.pos, this.readInt(10), r = this.input.charCodeAt(this.pos)), (r === 69 || r === 101) && !n && (r = this.input.charCodeAt(++this.pos), (r === 43 || r === 45) && ++this.pos, this.readInt(10) === null && this.raise(t, "Invalid number")), D(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number");
3690
+ var a = Wn(this.input.slice(t, this.pos), n);
3691
+ return this.finishToken(N.num, a);
3692
+ }, K.readCodePoint = function() {
3693
3693
  var e = this.input.charCodeAt(this.pos), t;
3694
3694
  if (e === 123) {
3695
3695
  this.options.ecmaVersion < 6 && this.unexpected();
@@ -3697,35 +3697,35 @@ G.readRadixNumber = function(e) {
3697
3697
  t = this.readHexChar(this.input.indexOf("}", this.pos) - this.pos), ++this.pos, t > 1114111 && this.invalidStringToken(n, "Code point out of bounds");
3698
3698
  } else t = this.readHexChar(4);
3699
3699
  return t;
3700
- }, G.readString = function(e) {
3700
+ }, K.readString = function(e) {
3701
3701
  for (var t = "", n = ++this.pos;;) {
3702
3702
  this.pos >= this.input.length && this.raise(this.start, "Unterminated string constant");
3703
3703
  var r = this.input.charCodeAt(this.pos);
3704
3704
  if (r === e) break;
3705
- r === 92 ? (t += this.input.slice(n, this.pos), t += this.readEscapedChar(!1), n = this.pos) : r === 8232 || r === 8233 ? (this.options.ecmaVersion < 10 && this.raise(this.start, "Unterminated string constant"), ++this.pos, this.options.locations && (this.curLine++, this.lineStart = this.pos)) : (Ye(r) && this.raise(this.start, "Unterminated string constant"), ++this.pos);
3705
+ r === 92 ? (t += this.input.slice(n, this.pos), t += this.readEscapedChar(!1), n = this.pos) : r === 8232 || r === 8233 ? (this.options.ecmaVersion < 10 && this.raise(this.start, "Unterminated string constant"), ++this.pos, this.options.locations && (this.curLine++, this.lineStart = this.pos)) : (Je(r) && this.raise(this.start, "Unterminated string constant"), ++this.pos);
3706
3706
  }
3707
- return t += this.input.slice(n, this.pos++), this.finishToken(M.string, t);
3707
+ return t += this.input.slice(n, this.pos++), this.finishToken(N.string, t);
3708
3708
  };
3709
- var qn = {};
3710
- G.tryReadTemplateToken = function() {
3709
+ var Kn = {};
3710
+ K.tryReadTemplateToken = function() {
3711
3711
  this.inTemplateElement = !0;
3712
3712
  try {
3713
3713
  this.readTmplToken();
3714
3714
  } catch (e) {
3715
- if (e === qn) this.readInvalidTemplateToken();
3715
+ if (e === Kn) this.readInvalidTemplateToken();
3716
3716
  else throw e;
3717
3717
  }
3718
3718
  this.inTemplateElement = !1;
3719
- }, G.invalidStringToken = function(e, t) {
3720
- if (this.inTemplateElement && this.options.ecmaVersion >= 9) throw qn;
3719
+ }, K.invalidStringToken = function(e, t) {
3720
+ if (this.inTemplateElement && this.options.ecmaVersion >= 9) throw Kn;
3721
3721
  this.raise(e, t);
3722
- }, G.readTmplToken = function() {
3722
+ }, K.readTmplToken = function() {
3723
3723
  for (var e = "", t = this.pos;;) {
3724
3724
  this.pos >= this.input.length && this.raise(this.start, "Unterminated template");
3725
3725
  var n = this.input.charCodeAt(this.pos);
3726
- if (n === 96 || n === 36 && this.input.charCodeAt(this.pos + 1) === 123) return this.pos === this.start && (this.type === M.template || this.type === M.invalidTemplate) ? n === 36 ? (this.pos += 2, this.finishToken(M.dollarBraceL)) : (++this.pos, this.finishToken(M.backQuote)) : (e += this.input.slice(t, this.pos), this.finishToken(M.template, e));
3726
+ if (n === 96 || n === 36 && this.input.charCodeAt(this.pos + 1) === 123) return this.pos === this.start && (this.type === N.template || this.type === N.invalidTemplate) ? n === 36 ? (this.pos += 2, this.finishToken(N.dollarBraceL)) : (++this.pos, this.finishToken(N.backQuote)) : (e += this.input.slice(t, this.pos), this.finishToken(N.template, e));
3727
3727
  if (n === 92) e += this.input.slice(t, this.pos), e += this.readEscapedChar(!0), t = this.pos;
3728
- else if (Ye(n)) {
3728
+ else if (Je(n)) {
3729
3729
  switch (e += this.input.slice(t, this.pos), ++this.pos, n) {
3730
3730
  case 13: this.input.charCodeAt(this.pos) === 10 && ++this.pos;
3731
3731
  case 10:
@@ -3738,13 +3738,13 @@ G.tryReadTemplateToken = function() {
3738
3738
  this.options.locations && (++this.curLine, this.lineStart = this.pos), t = this.pos;
3739
3739
  } else ++this.pos;
3740
3740
  }
3741
- }, G.readInvalidTemplateToken = function() {
3741
+ }, K.readInvalidTemplateToken = function() {
3742
3742
  for (; this.pos < this.input.length; this.pos++) switch (this.input[this.pos]) {
3743
3743
  case "\\":
3744
3744
  ++this.pos;
3745
3745
  break;
3746
3746
  case "$": if (this.input[this.pos + 1] !== "{") break;
3747
- case "`": return this.finishToken(M.invalidTemplate, this.input.slice(this.start, this.pos));
3747
+ case "`": return this.finishToken(N.invalidTemplate, this.input.slice(this.start, this.pos));
3748
3748
  case "\r": this.input[this.pos + 1] === "\n" && ++this.pos;
3749
3749
  case "\n":
3750
3750
  case "\u2028":
@@ -3753,13 +3753,13 @@ G.tryReadTemplateToken = function() {
3753
3753
  break;
3754
3754
  }
3755
3755
  this.raise(this.start, "Unterminated template");
3756
- }, G.readEscapedChar = function(e) {
3756
+ }, K.readEscapedChar = function(e) {
3757
3757
  var t = this.input.charCodeAt(++this.pos);
3758
3758
  switch (++this.pos, t) {
3759
3759
  case 110: return "\n";
3760
3760
  case 114: return "\r";
3761
3761
  case 120: return String.fromCharCode(this.readHexChar(2));
3762
- case 117: return at(this.readCodePoint());
3762
+ case 117: return it(this.readCodePoint());
3763
3763
  case 116: return " ";
3764
3764
  case 98: return "\b";
3765
3765
  case 118: return "\v";
@@ -3776,64 +3776,64 @@ G.tryReadTemplateToken = function() {
3776
3776
  var r = this.input.substr(this.pos - 1, 3).match(/^[0-7]+/)[0], i = parseInt(r, 8);
3777
3777
  return i > 255 && (r = r.slice(0, -1), i = parseInt(r, 8)), this.pos += r.length - 1, t = this.input.charCodeAt(this.pos), (r !== "0" || t === 56 || t === 57) && (this.strict || e) && this.invalidStringToken(this.pos - 1 - r.length, e ? "Octal literal in template string" : "Octal literal in strict mode"), String.fromCharCode(i);
3778
3778
  }
3779
- return Ye(t) ? (this.options.locations && (this.lineStart = this.pos, ++this.curLine), "") : String.fromCharCode(t);
3779
+ return Je(t) ? (this.options.locations && (this.lineStart = this.pos, ++this.curLine), "") : String.fromCharCode(t);
3780
3780
  }
3781
- }, G.readHexChar = function(e) {
3781
+ }, K.readHexChar = function(e) {
3782
3782
  var t = this.pos, n = this.readInt(16, e);
3783
3783
  return n === null && this.invalidStringToken(t, "Bad character escape sequence"), n;
3784
- }, G.readWord1 = function() {
3784
+ }, K.readWord1 = function() {
3785
3785
  this.containsEsc = !1;
3786
3786
  for (var e = "", t = !0, n = this.pos, r = this.options.ecmaVersion >= 6; this.pos < this.input.length;) {
3787
3787
  var i = this.fullCharCodeAtPos();
3788
- if (Ke(i, r)) this.pos += i <= 65535 ? 1 : 2;
3788
+ if (Ge(i, r)) this.pos += i <= 65535 ? 1 : 2;
3789
3789
  else if (i === 92) {
3790
3790
  this.containsEsc = !0, e += this.input.slice(n, this.pos);
3791
3791
  var a = this.pos;
3792
3792
  this.input.charCodeAt(++this.pos) !== 117 && this.invalidStringToken(this.pos, "Expecting Unicode escape sequence \\uXXXX"), ++this.pos;
3793
3793
  var o = this.readCodePoint();
3794
- (t ? E : Ke)(o, r) || this.invalidStringToken(a, "Invalid Unicode escape"), e += at(o), n = this.pos;
3794
+ (t ? D : Ge)(o, r) || this.invalidStringToken(a, "Invalid Unicode escape"), e += it(o), n = this.pos;
3795
3795
  } else break;
3796
3796
  t = !1;
3797
3797
  }
3798
3798
  return e + this.input.slice(n, this.pos);
3799
- }, G.readWord = function() {
3800
- var e = this.readWord1(), t = M.name;
3801
- return this.keywords.test(e) && (t = qe[e]), this.finishToken(t, e);
3799
+ }, K.readWord = function() {
3800
+ var e = this.readWord1(), t = N.name;
3801
+ return this.keywords.test(e) && (t = Ke[e]), this.finishToken(t, e);
3802
3802
  };
3803
- var Jn = "8.16.0";
3804
- F.acorn = {
3805
- Parser: F,
3806
- version: Jn,
3807
- defaultOptions: ut,
3808
- Position: st,
3809
- SourceLocation: ct,
3810
- getLineInfo: lt,
3811
- Node: Xt,
3812
- TokenType: D,
3813
- tokTypes: M,
3814
- keywordTypes: qe,
3815
- TokContext: B,
3816
- tokContexts: V,
3817
- isIdentifierChar: Ke,
3818
- isIdentifierStart: E,
3819
- Token: Wn,
3820
- isNewLine: Ye,
3821
- lineBreak: N,
3822
- lineBreakG: Je,
3823
- nonASCIIwhitespace: Ze
3803
+ var qn = "8.16.0";
3804
+ I.acorn = {
3805
+ Parser: I,
3806
+ version: qn,
3807
+ defaultOptions: lt,
3808
+ Position: ot,
3809
+ SourceLocation: st,
3810
+ getLineInfo: ct,
3811
+ Node: Yt,
3812
+ TokenType: O,
3813
+ tokTypes: N,
3814
+ keywordTypes: Ke,
3815
+ TokContext: V,
3816
+ tokContexts: H,
3817
+ isIdentifierChar: Ge,
3818
+ isIdentifierStart: D,
3819
+ Token: Un,
3820
+ isNewLine: Je,
3821
+ lineBreak: P,
3822
+ lineBreakG: qe,
3823
+ nonASCIIwhitespace: Xe
3824
3824
  };
3825
- function Yn(e, t) {
3826
- return F.parse(e, t);
3825
+ function Jn(e, t) {
3826
+ return I.parse(e, t);
3827
3827
  }
3828
- function Xn(e, t, n) {
3829
- return F.parseExpressionAt(e, t, n);
3828
+ function Yn(e, t, n) {
3829
+ return I.parseExpressionAt(e, t, n);
3830
3830
  }
3831
- function Zn(e, t) {
3832
- return F.tokenizer(e, t);
3831
+ function Xn(e, t) {
3832
+ return I.tokenizer(e, t);
3833
3833
  }
3834
3834
  //#endregion
3835
3835
  //#region node_modules/acorn-typescript/lib/index.mjs
3836
- function Qn(e, t) {
3836
+ function Zn(e, t) {
3837
3837
  for (var n = 0; n < t.length; n++) {
3838
3838
  var r = t[n];
3839
3839
  r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, typeof (i = function(e, t) {
@@ -3849,36 +3849,36 @@ function Qn(e, t) {
3849
3849
  }
3850
3850
  var i;
3851
3851
  }
3852
- function $n() {
3853
- return $n = Object.assign ? Object.assign.bind() : function(e) {
3852
+ function Qn() {
3853
+ return Qn = Object.assign ? Object.assign.bind() : function(e) {
3854
3854
  for (var t = 1; t < arguments.length; t++) {
3855
3855
  var n = arguments[t];
3856
3856
  for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
3857
3857
  }
3858
3858
  return e;
3859
- }, $n.apply(this, arguments);
3859
+ }, Qn.apply(this, arguments);
3860
3860
  }
3861
- function er(e, t) {
3862
- e.prototype = Object.create(t.prototype), e.prototype.constructor = e, tr(e, t);
3861
+ function $n(e, t) {
3862
+ e.prototype = Object.create(t.prototype), e.prototype.constructor = e, er(e, t);
3863
3863
  }
3864
- function tr(e, t) {
3865
- return tr = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, t) {
3864
+ function er(e, t) {
3865
+ return er = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, t) {
3866
3866
  return e.__proto__ = t, e;
3867
- }, tr(e, t);
3867
+ }, er(e, t);
3868
3868
  }
3869
- function nr(e, t) {
3869
+ function tr(e, t) {
3870
3870
  (t == null || t > e.length) && (t = e.length);
3871
3871
  for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
3872
3872
  return r;
3873
3873
  }
3874
- function rr(e, t) {
3874
+ function nr(e, t) {
3875
3875
  var n = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
3876
3876
  if (n) return (n = n.call(e)).next.bind(n);
3877
3877
  if (Array.isArray(e) || (n = function(e, t) {
3878
3878
  if (e) {
3879
- if (typeof e == "string") return nr(e, t);
3879
+ if (typeof e == "string") return tr(e, t);
3880
3880
  var n = Object.prototype.toString.call(e).slice(8, -1);
3881
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? nr(e, t) : void 0;
3881
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? tr(e, t) : void 0;
3882
3882
  }
3883
3883
  }(e)) || t && e && typeof e.length == "number") {
3884
3884
  n && (e = n);
@@ -3892,60 +3892,60 @@ function rr(e, t) {
3892
3892
  }
3893
3893
  throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
3894
3894
  }
3895
- var K = !0;
3896
- function q(e, t) {
3897
- return t === void 0 && (t = {}), new D("name", t);
3895
+ var q = !0;
3896
+ function J(e, t) {
3897
+ return t === void 0 && (t = {}), new O("name", t);
3898
3898
  }
3899
- var ir = /* @__PURE__ */ new WeakMap();
3900
- function ar(e) {
3901
- var t = ir.get(e.Parser.acorn || e);
3899
+ var rr = /* @__PURE__ */ new WeakMap();
3900
+ function ir(e) {
3901
+ var t = rr.get(e.Parser.acorn || e);
3902
3902
  if (!t) {
3903
3903
  var n = {
3904
- assert: q(0, { startsExpr: K }),
3905
- asserts: q(0, { startsExpr: K }),
3906
- global: q(0, { startsExpr: K }),
3907
- keyof: q(0, { startsExpr: K }),
3908
- readonly: q(0, { startsExpr: K }),
3909
- unique: q(0, { startsExpr: K }),
3910
- abstract: q(0, { startsExpr: K }),
3911
- declare: q(0, { startsExpr: K }),
3912
- enum: q(0, { startsExpr: K }),
3913
- module: q(0, { startsExpr: K }),
3914
- namespace: q(0, { startsExpr: K }),
3915
- interface: q(0, { startsExpr: K }),
3916
- type: q(0, { startsExpr: K })
3904
+ assert: J(0, { startsExpr: q }),
3905
+ asserts: J(0, { startsExpr: q }),
3906
+ global: J(0, { startsExpr: q }),
3907
+ keyof: J(0, { startsExpr: q }),
3908
+ readonly: J(0, { startsExpr: q }),
3909
+ unique: J(0, { startsExpr: q }),
3910
+ abstract: J(0, { startsExpr: q }),
3911
+ declare: J(0, { startsExpr: q }),
3912
+ enum: J(0, { startsExpr: q }),
3913
+ module: J(0, { startsExpr: q }),
3914
+ namespace: J(0, { startsExpr: q }),
3915
+ interface: J(0, { startsExpr: q }),
3916
+ type: J(0, { startsExpr: q })
3917
3917
  }, r = {
3918
- at: new D("@"),
3919
- jsxName: new D("jsxName"),
3920
- jsxText: new D("jsxText", { beforeExpr: !0 }),
3921
- jsxTagStart: new D("jsxTagStart", { startsExpr: !0 }),
3922
- jsxTagEnd: new D("jsxTagEnd")
3918
+ at: new O("@"),
3919
+ jsxName: new O("jsxName"),
3920
+ jsxText: new O("jsxText", { beforeExpr: !0 }),
3921
+ jsxTagStart: new O("jsxTagStart", { startsExpr: !0 }),
3922
+ jsxTagEnd: new O("jsxTagEnd")
3923
3923
  }, i = {
3924
- tc_oTag: new B("<tag", !1, !1),
3925
- tc_cTag: new B("</tag", !1, !1),
3926
- tc_expr: new B("<tag>...</tag>", !0, !0)
3924
+ tc_oTag: new V("<tag", !1, !1),
3925
+ tc_cTag: new V("</tag", !1, !1),
3926
+ tc_expr: new V("<tag>...</tag>", !0, !0)
3927
3927
  }, a = RegExp("^(?:" + Object.keys(n).join("|") + ")$");
3928
3928
  r.jsxTagStart.updateContext = function() {
3929
3929
  this.context.push(i.tc_expr), this.context.push(i.tc_oTag), this.exprAllowed = !1;
3930
3930
  }, r.jsxTagEnd.updateContext = function(e) {
3931
3931
  var t = this.context.pop();
3932
- t === i.tc_oTag && e === M.slash || t === i.tc_cTag ? (this.context.pop(), this.exprAllowed = this.curContext() === i.tc_expr) : this.exprAllowed = !0;
3932
+ t === i.tc_oTag && e === N.slash || t === i.tc_cTag ? (this.context.pop(), this.exprAllowed = this.curContext() === i.tc_expr) : this.exprAllowed = !0;
3933
3933
  }, t = {
3934
- tokTypes: $n({}, n, r),
3935
- tokContexts: $n({}, i),
3934
+ tokTypes: Qn({}, n, r),
3935
+ tokContexts: Qn({}, i),
3936
3936
  keywordsRegExp: a,
3937
3937
  tokenIsLiteralPropertyName: function(e) {
3938
3938
  return [
3939
- M.name,
3940
- M.string,
3941
- M.num
3942
- ].concat(Object.values(qe), Object.values(n)).includes(e);
3939
+ N.name,
3940
+ N.string,
3941
+ N.num
3942
+ ].concat(Object.values(Ke), Object.values(n)).includes(e);
3943
3943
  },
3944
3944
  tokenIsKeywordOrIdentifier: function(e) {
3945
- return [M.name].concat(Object.values(qe), Object.values(n)).includes(e);
3945
+ return [N.name].concat(Object.values(Ke), Object.values(n)).includes(e);
3946
3946
  },
3947
3947
  tokenIsIdentifier: function(e) {
3948
- return [].concat(Object.values(n), [M.name]).includes(e);
3948
+ return [].concat(Object.values(n), [N.name]).includes(e);
3949
3949
  },
3950
3950
  tokenIsTSDeclarationStart: function(e) {
3951
3951
  return [
@@ -3966,24 +3966,24 @@ function ar(e) {
3966
3966
  ].includes(e);
3967
3967
  },
3968
3968
  tokenIsTemplate: function(e) {
3969
- return e === M.invalidTemplate;
3969
+ return e === N.invalidTemplate;
3970
3970
  }
3971
3971
  };
3972
3972
  }
3973
3973
  return t;
3974
3974
  }
3975
- var or = 1024, sr = RegExp("(?=(" + (/* @__PURE__ */ RegExp("(?:[^\\S\\n\\r\\u2028\\u2029]|\\/\\/.*|\\/\\*.*?\\*\\/)*", "y")).source + "))\\1(?=[\\n\\r\\u2028\\u2029]|\\/\\*(?!.*?\\*\\/)|$)", "y"), cr = function() {
3975
+ var ar = 1024, or = RegExp("(?=(" + (/* @__PURE__ */ RegExp("(?:[^\\S\\n\\r\\u2028\\u2029]|\\/\\/.*|\\/\\*.*?\\*\\/)*", "y")).source + "))\\1(?=[\\n\\r\\u2028\\u2029]|\\/\\*(?!.*?\\*\\/)|$)", "y"), sr = function() {
3976
3976
  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;
3977
3977
  };
3978
- function lr(e, t) {
3978
+ function cr(e, t) {
3979
3979
  var n = t.key.name, r = e[n], i = "true";
3980
3980
  return t.type !== "MethodDefinition" || t.kind !== "get" && t.kind !== "set" || (i = (t.static ? "s" : "i") + t.kind), r === "iget" && i === "iset" || r === "iset" && i === "iget" || r === "sget" && i === "sset" || r === "sset" && i === "sget" ? (e[n] = "true", !1) : !!r || (e[n] = i, !1);
3981
3981
  }
3982
- function ur(e, t) {
3982
+ function lr(e, t) {
3983
3983
  var n = e.key;
3984
3984
  return !e.computed && (n.type === "Identifier" && n.name === t || n.type === "Literal" && n.value === t);
3985
3985
  }
3986
- var J = {
3986
+ var Y = {
3987
3987
  AbstractMethodHasImplementation: function(e) {
3988
3988
  return "Method '" + e.methodName + "' cannot have an implementation because it is marked abstract.";
3989
3989
  },
@@ -4084,7 +4084,7 @@ var J = {
4084
4084
  return "Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got " + e.type + ".";
4085
4085
  },
4086
4086
  LetInLexicalBinding: "'let' is not allowed to be used as a name in 'let' or 'const' declarations."
4087
- }, dr = {
4087
+ }, ur = {
4088
4088
  quot: "\"",
4089
4089
  amp: "&",
4090
4090
  apos: "'",
@@ -4338,38 +4338,38 @@ var J = {
4338
4338
  clubs: "♣",
4339
4339
  hearts: "♥",
4340
4340
  diams: "♦"
4341
- }, fr = /^[\da-fA-F]+$/, pr = /^\d+$/;
4342
- function mr(e) {
4343
- return e && (e.type === "JSXIdentifier" ? e.name : e.type === "JSXNamespacedName" ? e.namespace.name + ":" + e.name.name : e.type === "JSXMemberExpression" ? mr(e.object) + "." + mr(e.property) : void 0);
4341
+ }, dr = /^[\da-fA-F]+$/, fr = /^\d+$/;
4342
+ function pr(e) {
4343
+ return e && (e.type === "JSXIdentifier" ? e.name : e.type === "JSXNamespacedName" ? e.namespace.name + ":" + e.name.name : e.type === "JSXMemberExpression" ? pr(e.object) + "." + pr(e.property) : void 0);
4344
4344
  }
4345
- var hr = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;
4346
- function gr(e) {
4345
+ var mr = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;
4346
+ function hr(e) {
4347
4347
  if (!e) throw Error("Assert fail");
4348
4348
  }
4349
- function _r(e) {
4349
+ function gr(e) {
4350
4350
  return e === "accessor";
4351
4351
  }
4352
- function vr(e) {
4352
+ function _r(e) {
4353
4353
  return e === "in" || e === "out";
4354
4354
  }
4355
- function yr(e, t) {
4355
+ function vr(e, t) {
4356
4356
  return 2 | (e ? 4 : 0) | (t ? 8 : 0);
4357
4357
  }
4358
- function br(e) {
4358
+ function yr(e) {
4359
4359
  if (e.type !== "MemberExpression") return !1;
4360
4360
  var t = e.property;
4361
- return (!e.computed || !(t.type !== "TemplateLiteral" || t.expressions.length > 0)) && xr(e.object);
4361
+ return (!e.computed || !(t.type !== "TemplateLiteral" || t.expressions.length > 0)) && br(e.object);
4362
4362
  }
4363
- function xr(e) {
4364
- return e.type === "Identifier" || e.type === "MemberExpression" && !e.computed && xr(e.object);
4363
+ function br(e) {
4364
+ return e.type === "Identifier" || e.type === "MemberExpression" && !e.computed && br(e.object);
4365
4365
  }
4366
- function Sr(e) {
4366
+ function xr(e) {
4367
4367
  return e === "private" || e === "public" || e === "protected";
4368
4368
  }
4369
- function Cr(e) {
4369
+ function Sr(e) {
4370
4370
  var t = e || {}, n = t.dts, r = n !== void 0 && n, i = t.allowSatisfies, a = i !== void 0 && i;
4371
4371
  return function(t) {
4372
- var n = t.acorn || Pe, i = ar(n), o = n.tokTypes, s = n.keywordTypes, c = n.isIdentifierStart, l = n.lineBreak, u = n.isNewLine, d = n.tokContexts, f = n.isIdentifierChar, p = i.tokTypes, m = i.tokContexts, h = i.keywordsRegExp, g = i.tokenIsLiteralPropertyName, ee = i.tokenIsTemplate, _ = i.tokenIsTSDeclarationStart, v = i.tokenIsIdentifier, te = i.tokenIsKeywordOrIdentifier, ne = i.tokenIsTSTypeOperator;
4372
+ var n = t.acorn || Ne, i = ir(n), o = n.tokTypes, s = n.keywordTypes, c = n.isIdentifierStart, l = n.lineBreak, u = n.isNewLine, d = n.tokContexts, f = n.isIdentifierChar, p = i.tokTypes, m = i.tokContexts, h = i.keywordsRegExp, g = i.tokenIsLiteralPropertyName, ee = i.tokenIsTemplate, _ = i.tokenIsTSDeclarationStart, v = i.tokenIsIdentifier, te = i.tokenIsKeywordOrIdentifier, ne = i.tokenIsTSTypeOperator;
4373
4373
  function re(e, t, n) {
4374
4374
  n === void 0 && (n = e.length);
4375
4375
  for (var r = t; r < n; r++) {
@@ -4384,7 +4384,7 @@ function Cr(e) {
4384
4384
  function t() {
4385
4385
  return e.apply(this, arguments) || this;
4386
4386
  }
4387
- er(t, e);
4387
+ $n(t, e);
4388
4388
  var n = t.prototype;
4389
4389
  return n.takeDecorators = function(e) {
4390
4390
  var t = this.decoratorStack[this.decoratorStack.length - 1];
@@ -4427,7 +4427,7 @@ function Cr(e) {
4427
4427
  function t() {
4428
4428
  return e.apply(this, arguments) || this;
4429
4429
  }
4430
- er(t, e);
4430
+ $n(t, e);
4431
4431
  var n = t.prototype;
4432
4432
  return n.jsx_readToken = function() {
4433
4433
  for (var e = "", t = this.pos;;) {
@@ -4460,7 +4460,7 @@ function Cr(e) {
4460
4460
  r !== "&" && this.raise(this.pos, "Entity must start with an ampersand");
4461
4461
  for (var i = ++this.pos; this.pos < this.input.length && n++ < 10;) {
4462
4462
  if ((r = this.input[this.pos++]) === ";") {
4463
- t[0] === "#" ? t[1] === "x" ? (t = t.substr(2), fr.test(t) && (e = String.fromCharCode(parseInt(t, 16)))) : (t = t.substr(1), pr.test(t) && (e = String.fromCharCode(parseInt(t, 10)))) : e = dr[t];
4463
+ t[0] === "#" ? t[1] === "x" ? (t = t.substr(2), dr.test(t) && (e = String.fromCharCode(parseInt(t, 16)))) : (t = t.substr(1), fr.test(t) && (e = String.fromCharCode(parseInt(t, 10)))) : e = ur[t];
4464
4464
  break;
4465
4465
  }
4466
4466
  t += r;
@@ -4534,7 +4534,7 @@ function Cr(e) {
4534
4534
  break;
4535
4535
  default: this.unexpected();
4536
4536
  }
4537
- mr(s.name) !== mr(o.name) && this.raise(s.start, "Expected corresponding JSX closing tag for <" + mr(o.name) + ">");
4537
+ pr(s.name) !== pr(o.name) && this.raise(s.start, "Expected corresponding JSX closing tag for <" + pr(o.name) + ">");
4538
4538
  }
4539
4539
  var c = o.name ? "Element" : "Fragment";
4540
4540
  return n["opening" + c] = o, n["closing" + c] = s, n.children = r, this.type === i.relational && this.value === "<" && this.raise(this.start, "Adjacent JSX elements must be wrapped in an enclosing tag"), this.finishNode(n, "JSX" + c);
@@ -4552,7 +4552,7 @@ function Cr(e) {
4552
4552
  function t() {
4553
4553
  return e.apply(this, arguments) || this;
4554
4554
  }
4555
- er(t, e);
4555
+ $n(t, e);
4556
4556
  var n = t.prototype;
4557
4557
  return n.parseMaybeImportAttributes = function(e) {
4558
4558
  if (this.type === i._with || this.type === r.assert) {
@@ -4583,10 +4583,10 @@ function Cr(e) {
4583
4583
  }(i), {
4584
4584
  allowedModifiers: ["const"],
4585
4585
  disallowedModifiers: ["in", "out"],
4586
- errorTemplate: J.InvalidModifierOnTypeParameterPositions
4586
+ errorTemplate: Y.InvalidModifierOnTypeParameterPositions
4587
4587
  }), i;
4588
4588
  }
4589
- er(t, e);
4589
+ $n(t, e);
4590
4590
  var ie, y, b, x = t.prototype;
4591
4591
  return x.getTokenFromCodeInType = function(t) {
4592
4592
  return t === 62 || t === 60 ? this.finishOp(o.relational, 1) : e.prototype.getTokenFromCode.call(this, t);
@@ -4654,14 +4654,14 @@ function Cr(e) {
4654
4654
  return this.nextTokenStartSince(this.pos);
4655
4655
  }, x.tsHasSomeModifiers = function(e, t) {
4656
4656
  return t.some(function(t) {
4657
- return Sr(t) ? e.accessibility === t : !!e[t];
4657
+ return xr(t) ? e.accessibility === t : !!e[t];
4658
4658
  });
4659
4659
  }, x.tsIsStartOfStaticBlocks = function() {
4660
4660
  return this.isContextual("static") && this.lookaheadCharCode() === 123;
4661
4661
  }, x.tsCheckForInvalidTypeCasts = function(e) {
4662
4662
  var t = this;
4663
4663
  e.forEach(function(e) {
4664
- e?.type === "TSTypeCastExpression" && t.raise(e.typeAnnotation.start, J.UnexpectedTypeAnnotation);
4664
+ e?.type === "TSTypeCastExpression" && t.raise(e.typeAnnotation.start, Y.UnexpectedTypeAnnotation);
4665
4665
  });
4666
4666
  }, x.atPossibleAsyncArrow = function(e) {
4667
4667
  return e.type === "Identifier" && e.name === "async" && this.lastTokEndLoc.column === e.end && !this.canInsertSemicolon() && e.end - e.start == 5 && e.start === this.potentialArrowAt;
@@ -4702,7 +4702,7 @@ function Cr(e) {
4702
4702
  }, x.isAbstractConstructorSignature = function() {
4703
4703
  return this.ts_isContextual(p.abstract) && this.lookahead().type === o._new;
4704
4704
  }, x.nextTokenStartSince = function(e) {
4705
- return hr.lastIndex = e, hr.test(this.input) ? hr.lastIndex : e;
4705
+ return mr.lastIndex = e, mr.test(this.input) ? mr.lastIndex : e;
4706
4706
  }, x.lookaheadCharCode = function() {
4707
4707
  return this.input.charCodeAt(this.nextTokenStart());
4708
4708
  }, x.compareLookaheadState = function(e, t) {
@@ -4786,7 +4786,7 @@ function Cr(e) {
4786
4786
  }, x.isLineTerminator = function() {
4787
4787
  return this.eat(o.semi) || e.prototype.canInsertSemicolon.call(this);
4788
4788
  }, x.hasFollowingLineBreak = function() {
4789
- return sr.lastIndex = this.end, sr.test(this.input);
4789
+ return or.lastIndex = this.end, or.test(this.input);
4790
4790
  }, x.addExtra = function(e, t, n, r) {
4791
4791
  if (r === void 0 && (r = !0), e) {
4792
4792
  var i = e.extra = e.extra || {};
@@ -4878,7 +4878,7 @@ function Cr(e) {
4878
4878
  }
4879
4879
  return this.next(), e.prototype.exitScope.call(this), this.finishNode(t, "TSModuleBlock");
4880
4880
  }, x.tsParseAmbientExternalModuleDeclaration = function(t) {
4881
- return this.ts_isContextual(p.global) ? (t.global = !0, t.id = this.parseIdent()) : this.match(o.string) ? t.id = this.parseLiteral(this.value) : this.unexpected(), this.match(o.braceL) ? (e.prototype.enterScope.call(this, or), t.body = this.tsParseModuleBlock(), e.prototype.exitScope.call(this)) : e.prototype.semicolon.call(this), this.finishNode(t, "TSModuleDeclaration");
4881
+ return this.ts_isContextual(p.global) ? (t.global = !0, t.id = this.parseIdent()) : this.match(o.string) ? t.id = this.parseLiteral(this.value) : this.unexpected(), this.match(o.braceL) ? (e.prototype.enterScope.call(this, ar), t.body = this.tsParseModuleBlock(), e.prototype.exitScope.call(this)) : e.prototype.semicolon.call(this), this.finishNode(t, "TSModuleDeclaration");
4882
4882
  }, x.tsTryParseDeclare = function(e) {
4883
4883
  var t = this;
4884
4884
  if (!this.isLineTerminator()) {
@@ -4979,7 +4979,7 @@ function Cr(e) {
4979
4979
  }, x.tsParseBindingListForSignature = function() {
4980
4980
  var t = this;
4981
4981
  return e.prototype.parseBindingList.call(this, o.parenR, !0, !0).map(function(e) {
4982
- return e.type !== "Identifier" && e.type !== "RestElement" && e.type !== "ObjectPattern" && e.type !== "ArrayPattern" && t.raise(e.start, J.UnsupportedSignatureParameterKind(e.type)), e;
4982
+ return e.type !== "Identifier" && e.type !== "RestElement" && e.type !== "ObjectPattern" && e.type !== "ArrayPattern" && t.raise(e.start, Y.UnsupportedSignatureParameterKind(e.type)), e;
4983
4983
  });
4984
4984
  }, x.tsParseTypePredicateAsserts = function() {
4985
4985
  if (this.type !== p.asserts) return !1;
@@ -5025,7 +5025,7 @@ function Cr(e) {
5025
5025
  if (this.lookahead().type !== o._const) return null;
5026
5026
  this.next();
5027
5027
  var e = this.tsParseTypeReference();
5028
- return e.typeParameters && this.raise(e.typeName.start, J.CannotFindName({ name: "const" })), e;
5028
+ return e.typeParameters && this.raise(e.typeName.start, Y.CannotFindName({ name: "const" })), e;
5029
5029
  }, x.tsParseFunctionOrConstructorType = function(e, t) {
5030
5030
  var n = this, r = this.startNode();
5031
5031
  return e === "TSConstructorType" && (r.abstract = !!t, t && this.next(), this.next()), this.tsInAllowConditionalTypesContext(function() {
@@ -5041,7 +5041,7 @@ function Cr(e) {
5041
5041
  switch (e.typeAnnotation.type) {
5042
5042
  case "TSTupleType":
5043
5043
  case "TSArrayType": return;
5044
- default: this.raise(e.start, J.UnexpectedReadonly);
5044
+ default: this.raise(e.start, Y.UnexpectedReadonly);
5045
5045
  }
5046
5046
  }, x.tsParseTypeOperator = function() {
5047
5047
  var e = this.startNode(), t = this.value;
@@ -5074,7 +5074,7 @@ function Cr(e) {
5074
5074
  }(), this.finishNode(t, "TSLiteralType");
5075
5075
  }, x.tsParseImportType = function() {
5076
5076
  var e = this.startNode();
5077
- return this.expect(o._import), this.expect(o.parenL), this.match(o.string) || this.raise(this.start, J.UnsupportedImportTypeArgument), e.argument = this.parseExprAtom(), this.expect(o.parenR), this.eat(o.dot) && (e.qualifier = this.tsParseEntityName()), this.tsMatchLeftRelational() && (e.typeParameters = this.tsParseTypeArguments()), this.finishNode(e, "TSImportType");
5077
+ return this.expect(o._import), this.expect(o.parenL), this.match(o.string) || this.raise(this.start, Y.UnsupportedImportTypeArgument), e.argument = this.parseExprAtom(), this.expect(o.parenR), this.eat(o.dot) && (e.qualifier = this.tsParseEntityName()), this.tsMatchLeftRelational() && (e.typeParameters = this.tsParseTypeArguments()), this.finishNode(e, "TSImportType");
5078
5078
  }, x.tsParseTypeQuery = function() {
5079
5079
  var e = this.startNode();
5080
5080
  return this.expect(o._typeof), e.exprName = this.match(o._import) ? this.tsParseImportType() : this.tsParseEntityName(), !this.hasPrecedingLineBreak() && this.tsMatchLeftRelational() && (e.typeParameters = this.tsParseTypeArguments()), this.finishNode(e, "TSTypeQuery");
@@ -5091,7 +5091,7 @@ function Cr(e) {
5091
5091
  var e = this.startLoc, t = this.start, n = this.eat(o.ellipsis), r = this.tsParseType(), i = this.eat(o.question);
5092
5092
  if (this.eat(o.colon)) {
5093
5093
  var a = this.startNodeAtNode(r);
5094
- a.optional = i, r.type !== "TSTypeReference" || r.typeParameters || r.typeName.type !== "Identifier" ? (this.raise(r.start, J.InvalidTupleMemberLabel), a.label = r) : a.label = r.typeName, a.elementType = this.tsParseType(), r = this.finishNode(a, "TSNamedTupleMember");
5094
+ a.optional = i, r.type !== "TSTypeReference" || r.typeParameters || r.typeName.type !== "Identifier" ? (this.raise(r.start, Y.InvalidTupleMemberLabel), a.label = r) : a.label = r.typeName, a.elementType = this.tsParseType(), r = this.finishNode(a, "TSNamedTupleMember");
5095
5095
  } else if (i) {
5096
5096
  var s = this.startNodeAtNode(r);
5097
5097
  s.typeAnnotation = r, r = this.finishNode(s, "TSOptionalType");
@@ -5107,11 +5107,11 @@ function Cr(e) {
5107
5107
  var n = !1, r = null;
5108
5108
  return t.elementTypes.forEach(function(t) {
5109
5109
  var i = t.type;
5110
- !n || i === "TSRestType" || i === "TSOptionalType" || i === "TSNamedTupleMember" && t.optional || e.raise(t.start, J.OptionalTypeBeforeRequired), n ||= i === "TSNamedTupleMember" && t.optional || i === "TSOptionalType";
5110
+ !n || i === "TSRestType" || i === "TSOptionalType" || i === "TSNamedTupleMember" && t.optional || e.raise(t.start, Y.OptionalTypeBeforeRequired), n ||= i === "TSNamedTupleMember" && t.optional || i === "TSOptionalType";
5111
5111
  var a = i;
5112
5112
  i === "TSRestType" && (a = (t = t.typeAnnotation).type);
5113
5113
  var o = a === "TSNamedTupleMember";
5114
- r ??= o, r !== o && e.raise(t.start, J.MixedLabeledAndUnlabeledElements);
5114
+ r ??= o, r !== o && e.raise(t.start, Y.MixedLabeledAndUnlabeledElements);
5115
5115
  }), this.finishNode(t, "TSTupleType");
5116
5116
  }, x.tsParseTemplateLiteralType = function() {
5117
5117
  var e = this.startNode();
@@ -5194,7 +5194,7 @@ function Cr(e) {
5194
5194
  return this.tsIsStartOfFunctionType() ? this.tsParseFunctionOrConstructorType("TSFunctionType") : this.match(o._new) ? this.tsParseFunctionOrConstructorType("TSConstructorType") : this.isAbstractConstructorSignature() ? this.tsParseFunctionOrConstructorType("TSConstructorType", !0) : this.tsParseUnionTypeOrHigher();
5195
5195
  }, x.tsParseType = function() {
5196
5196
  var e = this;
5197
- gr(this.inType);
5197
+ hr(this.inType);
5198
5198
  var t = this.tsParseNonConditionalType();
5199
5199
  if (this.inDisallowConditionalTypesContext || this.hasPrecedingLineBreak() || !this.eat(o._extends)) return t;
5200
5200
  var n = this.startNodeAtNode(t);
@@ -5228,7 +5228,7 @@ function Cr(e) {
5228
5228
  modified: e,
5229
5229
  allowedModifiers: [],
5230
5230
  disallowedModifiers: ["in", "out"],
5231
- errorTemplate: J.InvalidModifierOnTypeParameterPositions
5231
+ errorTemplate: Y.InvalidModifierOnTypeParameterPositions
5232
5232
  });
5233
5233
  }, x.tsParseTypeParameter = function(e) {
5234
5234
  e === void 0 && (e = this.tsParseNoneModifiers.bind(this));
@@ -5238,7 +5238,7 @@ function Cr(e) {
5238
5238
  var t = this.startNode();
5239
5239
  this.tsMatchLeftRelational() || this.matchJsx("jsxTagStart") ? this.next() : this.unexpected();
5240
5240
  var n = { value: -1 };
5241
- return t.params = this.tsParseBracketedList("TypeParametersOrArguments", this.tsParseTypeParameter.bind(this, e), !1, !0, n), t.params.length === 0 && this.raise(this.start, J.EmptyTypeParameters), n.value !== -1 && this.addExtra(t, "trailingComma", n.value), this.finishNode(t, "TSTypeParameterDeclaration");
5241
+ return t.params = this.tsParseBracketedList("TypeParametersOrArguments", this.tsParseTypeParameter.bind(this, e), !1, !0, n), t.params.length === 0 && this.raise(this.start, Y.EmptyTypeParameters), n.value !== -1 && this.addExtra(t, "trailingComma", n.value), this.finishNode(t, "TSTypeParameterDeclaration");
5242
5242
  }, x.tsTryParseTypeParameters = function(e) {
5243
5243
  if (this.tsMatchLeftRelational()) return this.tsParseTypeParameters(e);
5244
5244
  }, x.tsTryParse = function(e) {
@@ -5262,14 +5262,14 @@ function Cr(e) {
5262
5262
  t[a] = n[a];
5263
5263
  }
5264
5264
  }, x.tsParseModifiers = function(e) {
5265
- for (var t = this, n = e.modified, r = e.allowedModifiers, i = e.disallowedModifiers, a = e.stopOnStartOfClassStaticBlock, o = e.errorTemplate, s = o === void 0 ? J.InvalidModifierOnTypeMember : o, c = {}, l = function(e, r, i, a) {
5266
- r === i && n[a] && t.raise(e.column, J.InvalidModifiersOrder({ orderedModifiers: [i, a] }));
5265
+ for (var t = this, n = e.modified, r = e.allowedModifiers, i = e.disallowedModifiers, a = e.stopOnStartOfClassStaticBlock, o = e.errorTemplate, s = o === void 0 ? Y.InvalidModifierOnTypeMember : o, c = {}, l = function(e, r, i, a) {
5266
+ r === i && n[a] && t.raise(e.column, Y.InvalidModifiersOrder({ orderedModifiers: [i, a] }));
5267
5267
  }, u = function(e, r, i, a) {
5268
- (n[i] && r === a || n[a] && r === i) && t.raise(e.column, J.IncompatibleModifiers({ modifiers: [i, a] }));
5268
+ (n[i] && r === a || n[a] && r === i) && t.raise(e.column, Y.IncompatibleModifiers({ modifiers: [i, a] }));
5269
5269
  };;) {
5270
5270
  var d = this.startLoc, f = this.tsParseModifier(r.concat(i ?? []), a);
5271
5271
  if (!f) break;
5272
- Sr(f) ? n.accessibility ? this.raise(this.start, J.DuplicateAccessibilityModifier()) : (l(d, f, f, "override"), l(d, f, f, "static"), l(d, f, f, "readonly"), l(d, f, f, "accessor"), c.accessibility = f, n.accessibility = f) : vr(f) ? n[f] ? this.raise(this.start, J.DuplicateModifier({ modifier: f })) : (l(d, f, "in", "out"), c[f] = f, n[f] = !0) : _r(f) ? n[f] ? this.raise(this.start, J.DuplicateModifier({ modifier: f })) : (u(d, f, "accessor", "readonly"), u(d, f, "accessor", "static"), u(d, f, "accessor", "override"), c[f] = f, n[f] = !0) : Object.hasOwnProperty.call(n, f) ? this.raise(this.start, J.DuplicateModifier({ modifier: f })) : (l(d, f, "static", "readonly"), l(d, f, "static", "override"), l(d, f, "override", "readonly"), l(d, f, "abstract", "override"), u(d, f, "declare", "override"), u(d, f, "static", "abstract"), c[f] = f, n[f] = !0), i != null && i.includes(f) && this.raise(this.start, s);
5272
+ xr(f) ? n.accessibility ? this.raise(this.start, Y.DuplicateAccessibilityModifier()) : (l(d, f, f, "override"), l(d, f, f, "static"), l(d, f, f, "readonly"), l(d, f, f, "accessor"), c.accessibility = f, n.accessibility = f) : _r(f) ? n[f] ? this.raise(this.start, Y.DuplicateModifier({ modifier: f })) : (l(d, f, "in", "out"), c[f] = f, n[f] = !0) : gr(f) ? n[f] ? this.raise(this.start, Y.DuplicateModifier({ modifier: f })) : (u(d, f, "accessor", "readonly"), u(d, f, "accessor", "static"), u(d, f, "accessor", "override"), c[f] = f, n[f] = !0) : Object.hasOwnProperty.call(n, f) ? this.raise(this.start, Y.DuplicateModifier({ modifier: f })) : (l(d, f, "static", "readonly"), l(d, f, "static", "override"), l(d, f, "override", "readonly"), l(d, f, "abstract", "override"), u(d, f, "declare", "override"), u(d, f, "static", "abstract"), c[f] = f, n[f] = !0), i != null && i.includes(f) && this.raise(this.start, s);
5273
5273
  }
5274
5274
  return c;
5275
5275
  }, x.tsParseInOutModifiers = function(e) {
@@ -5285,7 +5285,7 @@ function Cr(e) {
5285
5285
  "abstract",
5286
5286
  "override"
5287
5287
  ],
5288
- errorTemplate: J.InvalidModifierOnTypeParameter
5288
+ errorTemplate: Y.InvalidModifierOnTypeParameter
5289
5289
  });
5290
5290
  }, x.tsParseTypeArguments = function() {
5291
5291
  var e = this, t = this.startNode();
@@ -5293,13 +5293,13 @@ function Cr(e) {
5293
5293
  return e.tsInNoContext(function() {
5294
5294
  return e.expect(o.relational), e.tsParseDelimitedList("TypeParametersOrArguments", e.tsParseType.bind(e));
5295
5295
  });
5296
- }), t.params.length === 0 && this.raise(this.start, J.EmptyTypeArguments), this.exprAllowed = !1, this.expect(o.relational), this.finishNode(t, "TSTypeParameterInstantiation");
5296
+ }), t.params.length === 0 && this.raise(this.start, Y.EmptyTypeArguments), this.exprAllowed = !1, this.expect(o.relational), this.finishNode(t, "TSTypeParameterInstantiation");
5297
5297
  }, x.tsParseHeritageClause = function(e) {
5298
5298
  var t = this, n = this.start, r = this.tsParseDelimitedList("HeritageClauseElement", function() {
5299
5299
  var e = t.startNode();
5300
5300
  return e.expression = t.tsParseEntityName(), t.tsMatchLeftRelational() && (e.typeParameters = t.tsParseTypeArguments()), t.finishNode(e, "TSExpressionWithTypeArguments");
5301
5301
  });
5302
- return r.length || this.raise(n, J.EmptyHeritageClauseType({ token: e })), r;
5302
+ return r.length || this.raise(n, Y.EmptyHeritageClauseType({ token: e })), r;
5303
5303
  }, x.tsParseTypeMemberSemicolon = function() {
5304
5304
  this.eat(o.comma) || this.isLineTerminator() || this.expect(o.semi);
5305
5305
  }, x.tsTryParseAndCatch = function(e) {
@@ -5313,18 +5313,18 @@ function Cr(e) {
5313
5313
  this.eat(o.question) && (e.optional = !0);
5314
5314
  var n = e;
5315
5315
  if (this.match(o.parenL) || this.tsMatchLeftRelational()) {
5316
- t && this.raise(e.start, J.ReadonlyForMethodSignature);
5316
+ t && this.raise(e.start, Y.ReadonlyForMethodSignature);
5317
5317
  var r = n;
5318
- r.kind && this.tsMatchLeftRelational() && this.raise(this.start, J.AccesorCannotHaveTypeParameters), this.tsFillSignature(o.colon, r), this.tsParseTypeMemberSemicolon();
5318
+ r.kind && this.tsMatchLeftRelational() && this.raise(this.start, Y.AccesorCannotHaveTypeParameters), this.tsFillSignature(o.colon, r), this.tsParseTypeMemberSemicolon();
5319
5319
  var i = "parameters", a = "typeAnnotation";
5320
- if (r.kind === "get") r[i].length > 0 && (this.raise(this.start, "A 'get' accesor must not have any formal parameters."), this.isThisParam(r[i][0]) && this.raise(this.start, J.AccesorCannotDeclareThisParameter));
5320
+ if (r.kind === "get") r[i].length > 0 && (this.raise(this.start, "A 'get' accesor must not have any formal parameters."), this.isThisParam(r[i][0]) && this.raise(this.start, Y.AccesorCannotDeclareThisParameter));
5321
5321
  else if (r.kind === "set") {
5322
5322
  if (r[i].length !== 1) this.raise(this.start, "A 'get' accesor must not have any formal parameters.");
5323
5323
  else {
5324
5324
  var s = r[i][0];
5325
- this.isThisParam(s) && this.raise(this.start, J.AccesorCannotDeclareThisParameter), s.type === "Identifier" && s.optional && this.raise(this.start, J.SetAccesorCannotHaveOptionalParameter), s.type === "RestElement" && this.raise(this.start, J.SetAccesorCannotHaveRestParameter);
5325
+ this.isThisParam(s) && this.raise(this.start, Y.AccesorCannotDeclareThisParameter), s.type === "Identifier" && s.optional && this.raise(this.start, Y.SetAccesorCannotHaveOptionalParameter), s.type === "RestElement" && this.raise(this.start, Y.SetAccesorCannotHaveRestParameter);
5326
5326
  }
5327
- r[a] && this.raise(r[a].start, J.SetAccesorCannotHaveReturnType);
5327
+ r[a] && this.raise(r[a].start, Y.SetAccesorCannotHaveReturnType);
5328
5328
  } else r.kind = "method";
5329
5329
  return this.finishNode(r, "TSMethodSignature");
5330
5330
  }
@@ -5361,7 +5361,7 @@ function Cr(e) {
5361
5361
  return this.expect(o.braceR), e;
5362
5362
  }, x.tsParseInterfaceDeclaration = function(e, t) {
5363
5363
  if (t === void 0 && (t = {}), this.hasFollowingLineBreak()) return null;
5364
- this.expectContextual("interface"), t.declare && (e.declare = !0), v(this.type) ? (e.id = this.parseIdent(), this.checkLValSimple(e.id, 7)) : (e.id = null, this.raise(this.start, J.MissingInterfaceName)), e.typeParameters = this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this)), this.eat(o._extends) && (e.extends = this.tsParseHeritageClause("extends"));
5364
+ this.expectContextual("interface"), t.declare && (e.declare = !0), v(this.type) ? (e.id = this.parseIdent(), this.checkLValSimple(e.id, 7)) : (e.id = null, this.raise(this.start, Y.MissingInterfaceName)), e.typeParameters = this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this)), this.eat(o._extends) && (e.extends = this.tsParseHeritageClause("extends"));
5365
5365
  var n = this.startNode();
5366
5366
  return n.body = this.tsInType(this.tsParseObjectTypeMembers.bind(this)), e.body = this.finishNode(n, "TSInterfaceBody"), this.finishNode(e, "TSInterfaceDeclaration");
5367
5367
  }, x.tsParseAbstractDeclaration = function(e) {
@@ -5379,7 +5379,7 @@ function Cr(e) {
5379
5379
  break;
5380
5380
  case "global":
5381
5381
  if (this.match(o.braceL)) {
5382
- e.prototype.enterScope.call(this, or);
5382
+ e.prototype.enterScope.call(this, ar);
5383
5383
  var i = t;
5384
5384
  return i.global = !0, i.id = n, i.body = this.tsParseModuleBlock(), e.prototype.exitScope.call(this), this.finishNode(i, "TSModuleDeclaration");
5385
5385
  }
@@ -5418,7 +5418,7 @@ function Cr(e) {
5418
5418
  if (n === void 0 && (n = !1), t.id = this.parseIdent(), n || this.checkLValSimple(t.id, 8), this.eat(o.dot)) {
5419
5419
  var r = this.startNode();
5420
5420
  this.tsParseModuleOrNamespaceDeclaration(r, !0), t.body = r;
5421
- } else e.prototype.enterScope.call(this, or), t.body = this.tsParseModuleBlock(), e.prototype.exitScope.call(this);
5421
+ } else e.prototype.enterScope.call(this, ar), t.body = this.tsParseModuleBlock(), e.prototype.exitScope.call(this);
5422
5422
  return this.finishNode(t, "TSModuleDeclaration");
5423
5423
  }, x.checkLValSimple = function(t, n, r) {
5424
5424
  return n === void 0 && (n = 0), e.prototype.checkLValSimple.call(this, t, n, r);
@@ -5452,7 +5452,7 @@ function Cr(e) {
5452
5452
  }, x.tsParseImportEqualsDeclaration = function(t, n) {
5453
5453
  t.isExport = n || !1, t.id = this.parseIdent(), this.checkLValSimple(t.id, 2), e.prototype.expect.call(this, o.eq);
5454
5454
  var r = this.tsParseModuleReference();
5455
- return t.importKind === "type" && r.type !== "TSExternalModuleReference" && this.raise(r.start, J.ImportAliasHasImportType), t.moduleReference = r, e.prototype.semicolon.call(this), this.finishNode(t, "TSImportEqualsDeclaration");
5455
+ return t.importKind === "type" && r.type !== "TSExternalModuleReference" && this.raise(r.start, Y.ImportAliasHasImportType), t.moduleReference = r, e.prototype.semicolon.call(this), this.finishNode(t, "TSImportEqualsDeclaration");
5456
5456
  }, x.isExportDefaultSpecifier = function() {
5457
5457
  if (this.tsIsDeclarationStart()) return !1;
5458
5458
  var e = this.type;
@@ -5479,13 +5479,13 @@ function Cr(e) {
5479
5479
  }, x.parseFunction = function(e, t, n, r, i) {
5480
5480
  this.initFunction(e), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !r) && (this.type === o.star && 2 & t && this.unexpected(), e.generator = this.eat(o.star)), this.options.ecmaVersion >= 8 && (e.async = !!r), 1 & t && (e.id = 4 & t && this.type !== o.name ? null : this.parseIdent());
5481
5481
  var a = this.yieldPos, s = this.awaitPos, c = this.awaitIdentPos, l = this.maybeInArrowParameters;
5482
- this.maybeInArrowParameters = !1, this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(yr(e.async, e.generator)), 1 & t || (e.id = this.type === o.name ? this.parseIdent() : null), this.parseFunctionParams(e);
5482
+ this.maybeInArrowParameters = !1, this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(vr(e.async, e.generator)), 1 & t || (e.id = this.type === o.name ? this.parseIdent() : null), this.parseFunctionParams(e);
5483
5483
  var u = 1 & t;
5484
5484
  return this.parseFunctionBody(e, n, !1, i, { isFunctionDeclaration: u }), this.yieldPos = a, this.awaitPos = s, this.awaitIdentPos = c, 1 & t && e.id && !(2 & t) && this.checkLValSimple(e.id, e.body ? this.strict || e.generator || e.async ? this.treatFunctionsAsVar ? 1 : 2 : 3 : 0), this.maybeInArrowParameters = l, this.finishNode(e, u ? "FunctionDeclaration" : "FunctionExpression");
5485
5485
  }, x.parseFunctionBody = function(t, n, r, i, a) {
5486
5486
  n === void 0 && (n = !1), r === void 0 && (r = !1), i === void 0 && (i = !1), this.match(o.colon) && (t.returnType = this.tsParseTypeOrTypePredicateAnnotation(o.colon));
5487
5487
  var s = a != null && a.isFunctionDeclaration ? "TSDeclareFunction" : a != null && a.isClassMethod ? "TSDeclareMethod" : void 0;
5488
- return s && !this.match(o.braceL) && this.isLineTerminator() ? this.finishNode(t, s) : s === "TSDeclareFunction" && this.isAmbientContext && (this.raise(t.start, J.DeclareFunctionHasImplementation), t.declare) ? (e.prototype.parseFunctionBody.call(this, t, n, r, !1), this.finishNode(t, s)) : (e.prototype.parseFunctionBody.call(this, t, n, r, i), t);
5488
+ return s && !this.match(o.braceL) && this.isLineTerminator() ? this.finishNode(t, s) : s === "TSDeclareFunction" && this.isAmbientContext && (this.raise(t.start, Y.DeclareFunctionHasImplementation), t.declare) ? (e.prototype.parseFunctionBody.call(this, t, n, r, !1), this.finishNode(t, s)) : (e.prototype.parseFunctionBody.call(this, t, n, r, i), t);
5489
5489
  }, x.parseNew = function() {
5490
5490
  var e;
5491
5491
  this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword new");
@@ -5526,7 +5526,7 @@ function Cr(e) {
5526
5526
  return this.importOrExportOuterKind = "value", r;
5527
5527
  }
5528
5528
  }
5529
- return this.next(), this.type === o.string ? (e.specifiers = [], e.source = this.parseExprAtom()) : (e.specifiers = this.parseImportSpecifiers(), this.expectContextual("from"), e.source = this.type === o.string ? this.parseExprAtom() : this.unexpected()), this.parseMaybeImportAttributes(e), this.semicolon(), this.finishNode(e, "ImportDeclaration"), this.importOrExportOuterKind = "value", e.importKind === "type" && e.specifiers.length > 1 && e.specifiers[0].type === "ImportDefaultSpecifier" && this.raise(e.start, J.TypeImportCannotSpecifyDefaultAndNamed), e;
5529
+ return this.next(), this.type === o.string ? (e.specifiers = [], e.source = this.parseExprAtom()) : (e.specifiers = this.parseImportSpecifiers(), this.expectContextual("from"), e.source = this.type === o.string ? this.parseExprAtom() : this.unexpected()), this.parseMaybeImportAttributes(e), this.semicolon(), this.finishNode(e, "ImportDeclaration"), this.importOrExportOuterKind = "value", e.importKind === "type" && e.specifiers.length > 1 && e.specifiers[0].type === "ImportDefaultSpecifier" && this.raise(e.start, Y.TypeImportCannotSpecifyDefaultAndNamed), e;
5530
5530
  }, x.parseExportDefaultDeclaration = function() {
5531
5531
  if (this.isAbstractClass()) {
5532
5532
  var t = this.startNode();
@@ -5566,7 +5566,7 @@ function Cr(e) {
5566
5566
  else {
5567
5567
  if (e.declaration = null, e.specifiers = this.parseExportSpecifiers(t), this.eatContextual("from")) this.type !== o.string && this.unexpected(), e.source = this.parseExprAtom(), this.parseMaybeImportAttributes(e);
5568
5568
  else {
5569
- for (var s, c = rr(e.specifiers); !(s = c()).done;) {
5569
+ for (var s, c = nr(e.specifiers); !(s = c()).done;) {
5570
5570
  var l = s.value;
5571
5571
  this.checkUnreserved(l.local), this.checkLocalExport(l.local), l.local.type === "Literal" && this.raise(l.local.start, "A string literal cannot be used as an exported binding without `from`.");
5572
5572
  }
@@ -5579,7 +5579,7 @@ function Cr(e) {
5579
5579
  e && (typeof t != "string" && (t = t.type === "Identifier" ? t.name : t.value), e[t] = !0);
5580
5580
  }, x.parseMaybeDefault = function(t, n, r) {
5581
5581
  var i = e.prototype.parseMaybeDefault.call(this, t, n, r);
5582
- return i.type === "AssignmentPattern" && i.typeAnnotation && i.right.start < i.typeAnnotation.start && this.raise(i.typeAnnotation.start, J.TypeAnnotationAfterAssign), i;
5582
+ return i.type === "AssignmentPattern" && i.typeAnnotation && i.right.start < i.typeAnnotation.start && this.raise(i.typeAnnotation.start, Y.TypeAnnotationAfterAssign), i;
5583
5583
  }, x.typeCastToParameter = function(e) {
5584
5584
  return e.expression.typeAnnotation = e.typeAnnotation, this.resetEndLocation(e.expression, e.typeAnnotation.end), e.expression;
5585
5585
  }, x.toAssignableList = function(t, n) {
@@ -5628,9 +5628,9 @@ function Cr(e) {
5628
5628
  this.next(), e.prototype.parseVar.call(this, t, !1, n, r || i), this.semicolon();
5629
5629
  var a = this.finishNode(t, "VariableDeclaration");
5630
5630
  if (!i) return a;
5631
- for (var o, s = rr(a.declarations); !(o = s()).done;) {
5631
+ for (var o, s = nr(a.declarations); !(o = s()).done;) {
5632
5632
  var c = o.value, l = c.init;
5633
- l && (n !== "const" || c.id.typeAnnotation ? this.raise(l.start, J.InitializerNotAllowedInAmbientContext) : l.type !== "StringLiteral" && l.type !== "BooleanLiteral" && l.type !== "NumericLiteral" && l.type !== "BigIntLiteral" && (l.type !== "TemplateLiteral" || l.expressions.length > 0) && !br(l) && this.raise(l.start, J.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference));
5633
+ l && (n !== "const" || c.id.typeAnnotation ? this.raise(l.start, Y.InitializerNotAllowedInAmbientContext) : l.type !== "StringLiteral" && l.type !== "BooleanLiteral" && l.type !== "NumericLiteral" && l.type !== "BigIntLiteral" && (l.type !== "TemplateLiteral" || l.expressions.length > 0) && !yr(l) && this.raise(l.start, Y.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference));
5634
5634
  }
5635
5635
  return a;
5636
5636
  }, x.parseStatement = function(t, n, r) {
@@ -5651,7 +5651,7 @@ function Cr(e) {
5651
5651
  "private"
5652
5652
  ]);
5653
5653
  }, x.parsePostMemberNameModifiers = function(e) {
5654
- this.eat(o.question) && (e.optional = !0), e.readonly && this.match(o.parenL) && this.raise(e.start, J.ClassMethodHasReadonly), e.declare && this.match(o.parenL) && this.raise(e.start, J.ClassMethodHasDeclare);
5654
+ this.eat(o.question) && (e.optional = !0), e.readonly && this.match(o.parenL) && this.raise(e.start, Y.ClassMethodHasReadonly), e.declare && this.match(o.parenL) && this.raise(e.start, Y.ClassMethodHasDeclare);
5655
5655
  }, x.parseExpressionStatement = function(t, n) {
5656
5656
  return (n.type === "Identifier" ? this.tsParseExpressionStatement(t, n) : void 0) || e.prototype.parseExpressionStatement.call(this, t, n);
5657
5657
  }, x.shouldParseExportStatement = function() {
@@ -5683,7 +5683,7 @@ function Cr(e) {
5683
5683
  return t.parseExportDeclaration(e);
5684
5684
  });
5685
5685
  var n = this.start, r = this.startLoc, i = this.eatContextual("declare");
5686
- !i || !this.ts_isContextual(p.declare) && this.shouldParseExportStatement() || this.raise(this.start, J.ExpectedAmbientAfterExportDeclare);
5686
+ !i || !this.ts_isContextual(p.declare) && this.shouldParseExportStatement() || this.raise(this.start, Y.ExpectedAmbientAfterExportDeclare);
5687
5687
  var a = v(this.type) && this.tsTryParseExportDeclaration() || this.parseStatement(null);
5688
5688
  return a ? ((a.type === "TSInterfaceDeclaration" || a.type === "TSTypeAliasDeclaration" || i) && (e.exportKind = "type"), i && (this.resetStartLocation(a, n, r), a.declare = !0), a) : null;
5689
5689
  }, x.parseClassId = function(t, n) {
@@ -5697,19 +5697,19 @@ function Cr(e) {
5697
5697
  var t = this.tsTryParseTypeAnnotation();
5698
5698
  t && (e.typeAnnotation = t);
5699
5699
  }, x.parseClassField = function(t) {
5700
- if (t.key.type === "PrivateIdentifier") t.abstract && this.raise(t.start, J.PrivateElementHasAbstract), t.accessibility && this.raise(t.start, J.PrivateElementHasAccessibility({ modifier: t.accessibility })), this.parseClassPropertyAnnotation(t);
5701
- else if (this.parseClassPropertyAnnotation(t), this.isAmbientContext && (!t.readonly || t.typeAnnotation) && this.match(o.eq) && this.raise(this.start, J.DeclareClassFieldHasInitializer), t.abstract && this.match(o.eq)) {
5700
+ if (t.key.type === "PrivateIdentifier") t.abstract && this.raise(t.start, Y.PrivateElementHasAbstract), t.accessibility && this.raise(t.start, Y.PrivateElementHasAccessibility({ modifier: t.accessibility })), this.parseClassPropertyAnnotation(t);
5701
+ else if (this.parseClassPropertyAnnotation(t), this.isAmbientContext && (!t.readonly || t.typeAnnotation) && this.match(o.eq) && this.raise(this.start, Y.DeclareClassFieldHasInitializer), t.abstract && this.match(o.eq)) {
5702
5702
  var n = t.key;
5703
- this.raise(this.start, J.AbstractPropertyHasInitializer({ propertyName: n.type !== "Identifier" || t.computed ? "[" + this.input.slice(n.start, n.end) + "]" : n.name }));
5703
+ this.raise(this.start, Y.AbstractPropertyHasInitializer({ propertyName: n.type !== "Identifier" || t.computed ? "[" + this.input.slice(n.start, n.end) + "]" : n.name }));
5704
5704
  }
5705
5705
  return e.prototype.parseClassField.call(this, t);
5706
5706
  }, x.parseClassMethod = function(e, t, n, r) {
5707
5707
  var i = e.kind === "constructor", a = e.key.type === "PrivateIdentifier", o = this.tsTryParseTypeParameters();
5708
- a ? (o && (e.typeParameters = o), e.accessibility && this.raise(e.start, J.PrivateMethodsHasAccessibility({ modifier: e.accessibility }))) : o && i && this.raise(o.start, J.ConstructorHasTypeParameters);
5708
+ a ? (o && (e.typeParameters = o), e.accessibility && this.raise(e.start, Y.PrivateMethodsHasAccessibility({ modifier: e.accessibility }))) : o && i && this.raise(o.start, Y.ConstructorHasTypeParameters);
5709
5709
  var s = e.declare, c = e.kind;
5710
- !(s !== void 0 && s) || c !== "get" && c !== "set" || this.raise(e.start, J.DeclareAccessor({ kind: c })), o && (e.typeParameters = o);
5710
+ !(s !== void 0 && s) || c !== "get" && c !== "set" || this.raise(e.start, Y.DeclareAccessor({ kind: c })), o && (e.typeParameters = o);
5711
5711
  var l = e.key;
5712
- e.kind === "constructor" ? (t && this.raise(l.start, "Constructor can't be a generator"), n && this.raise(l.start, "Constructor can't be an async method")) : e.static && ur(e, "prototype") && this.raise(l.start, "Classes may not have a static property named prototype");
5712
+ e.kind === "constructor" ? (t && this.raise(l.start, "Constructor can't be a generator"), n && this.raise(l.start, "Constructor can't be an async method")) : e.static && lr(e, "prototype") && this.raise(l.start, "Classes may not have a static property named prototype");
5713
5713
  var u = e.value = this.parseMethod(t, n, r, !0, e);
5714
5714
  return e.kind === "get" && u.params.length !== 0 && this.raiseRecoverable(u.start, "getter should have no params"), e.kind === "set" && u.params.length !== 1 && this.raiseRecoverable(u.start, "setter should have exactly one param"), e.kind === "set" && u.params[0].type === "RestElement" && this.raiseRecoverable(u.params[0].start, "Setter cannot use rest params"), this.finishNode(e, "MethodDefinition");
5715
5715
  }, x.isClassMethod = function() {
@@ -5733,23 +5733,23 @@ function Cr(e) {
5733
5733
  allowedModifiers: d,
5734
5734
  disallowedModifiers: ["in", "out"],
5735
5735
  stopOnStartOfClassStaticBlock: !0,
5736
- errorTemplate: J.InvalidModifierOnTypeParameterPositions
5736
+ errorTemplate: Y.InvalidModifierOnTypeParameterPositions
5737
5737
  }).static;
5738
5738
  var f = function() {
5739
5739
  if (!n.tsIsStartOfStaticBlocks()) {
5740
5740
  var f = n.tsTryParseIndexSignature(a);
5741
- if (f) return a.abstract && n.raise(a.start, J.IndexSignatureHasAbstract), a.accessibility && n.raise(a.start, J.IndexSignatureHasAccessibility({ modifier: a.accessibility })), a.declare && n.raise(a.start, J.IndexSignatureHasDeclare), a.override && n.raise(a.start, J.IndexSignatureHasOverride), f;
5742
- if (!n.inAbstractClass && a.abstract && n.raise(a.start, J.NonAbstractClassHasAbstractMethod), a.override && t && n.raise(a.start, J.OverrideNotInSubClass), a.static = r, r && (n.isClassElementNameStart() || n.type === o.star || (s = "static")), !s && i >= 8 && n.eatContextual("async") && (!n.isClassElementNameStart() && n.type !== o.star || n.canInsertSemicolon() ? s = "async" : l = !0), !s && (i >= 9 || !l) && n.eat(o.star) && (c = !0), !s && !l && !c) {
5741
+ if (f) return a.abstract && n.raise(a.start, Y.IndexSignatureHasAbstract), a.accessibility && n.raise(a.start, Y.IndexSignatureHasAccessibility({ modifier: a.accessibility })), a.declare && n.raise(a.start, Y.IndexSignatureHasDeclare), a.override && n.raise(a.start, Y.IndexSignatureHasOverride), f;
5742
+ if (!n.inAbstractClass && a.abstract && n.raise(a.start, Y.NonAbstractClassHasAbstractMethod), a.override && t && n.raise(a.start, Y.OverrideNotInSubClass), a.static = r, r && (n.isClassElementNameStart() || n.type === o.star || (s = "static")), !s && i >= 8 && n.eatContextual("async") && (!n.isClassElementNameStart() && n.type !== o.star || n.canInsertSemicolon() ? s = "async" : l = !0), !s && (i >= 9 || !l) && n.eat(o.star) && (c = !0), !s && !l && !c) {
5743
5743
  var p = n.value;
5744
5744
  (n.eatContextual("get") || n.eatContextual("set")) && (n.isClassElementNameStart() ? u = p : s = p);
5745
5745
  }
5746
5746
  if (s ? (a.computed = !1, a.key = n.startNodeAt(n.lastTokStart, n.lastTokStartLoc), a.key.name = s, n.finishNode(a.key, "Identifier")) : n.parseClassElementName(a), n.parsePostMemberNameModifiers(a), n.isClassMethod() || i < 13 || n.type === o.parenL || u !== "method" || c || l) {
5747
- var m = !a.static && ur(a, "constructor"), h = m && t;
5747
+ var m = !a.static && lr(a, "constructor"), h = m && t;
5748
5748
  m && u !== "method" && n.raise(a.key.start, "Constructor can't have get/set modifier"), a.kind = m ? "constructor" : u, n.parseClassMethod(a, c, l, h);
5749
5749
  } else n.parseClassField(a);
5750
5750
  return a;
5751
5751
  }
5752
- if (n.next(), n.next(), n.tsHasSomeModifiers(a, d) && n.raise(n.start, J.StaticBlockCannotHaveModifier), i >= 13) return e.prototype.parseClassStaticBlock.call(n, a), a;
5752
+ if (n.next(), n.next(), n.tsHasSomeModifiers(a, d) && n.raise(n.start, Y.StaticBlockCannotHaveModifier), i >= 13) return e.prototype.parseClassStaticBlock.call(n, a), a;
5753
5753
  };
5754
5754
  return a.declare ? this.tsInAmbientContext(f) : f(), a;
5755
5755
  }, x.isClassElementNameStart = function() {
@@ -5766,7 +5766,7 @@ function Cr(e) {
5766
5766
  }, x.parseArrowExpression = function(e, t, n, r) {
5767
5767
  this.match(o.colon) && (e.returnType = this.tsParseTypeAnnotation());
5768
5768
  var i = this.yieldPos, a = this.awaitPos, s = this.awaitIdentPos;
5769
- this.enterScope(16 | yr(n, !1)), this.initFunction(e);
5769
+ this.enterScope(16 | vr(n, !1)), this.initFunction(e);
5770
5770
  var c = this.maybeInArrowParameters;
5771
5771
  return this.options.ecmaVersion >= 8 && (e.async = !!n), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.maybeInArrowParameters = !0, e.params = this.toAssignableList(t, !0), this.maybeInArrowParameters = !1, this.parseFunctionBody(e, !0, !1, r), this.yieldPos = i, this.awaitPos = a, this.awaitIdentPos = s, this.maybeInArrowParameters = c, this.finishNode(e, "ArrowFunctionExpression");
5772
5772
  }, x.parseMaybeAssignOrigin = function(e, t, n) {
@@ -5775,7 +5775,7 @@ function Cr(e) {
5775
5775
  this.exprAllowed = !1;
5776
5776
  }
5777
5777
  var r = !1, i = -1, a = -1, s = -1;
5778
- t ? (i = t.parenthesizedAssign, a = t.trailingComma, s = t.doubleProto, t.parenthesizedAssign = t.trailingComma = -1) : (t = new cr(), r = !0);
5778
+ t ? (i = t.parenthesizedAssign, a = t.trailingComma, s = t.doubleProto, t.parenthesizedAssign = t.trailingComma = -1) : (t = new sr(), r = !0);
5779
5779
  var c = this.start, l = this.startLoc;
5780
5780
  (this.type === o.parenL || v(this.type)) && (this.potentialArrowAt = this.start, this.potentialArrowInForAwait = e === "await");
5781
5781
  var u = this.parseMaybeConditional(e, t);
@@ -5802,7 +5802,7 @@ function Cr(e) {
5802
5802
  return (a.type !== "ArrowFunctionExpression" || (i = a.extra) != null && i.parenthesized) && r(), f?.params.length !== 0 && p.resetStartLocationFromNode(a, f), a.typeParameters = f, a;
5803
5803
  }, l);
5804
5804
  if (!g.error && !g.aborted) return f && this.reportReservedArrowTypeParam(f), g.node;
5805
- if (!u && (gr(!0), !(d = this.tryParse(function() {
5805
+ if (!u && (hr(!0), !(d = this.tryParse(function() {
5806
5806
  return p.parseMaybeAssignOrigin(e, t, n);
5807
5807
  }, l)).error)) return d.node;
5808
5808
  if ((a = u) != null && a.node) return this.setLookaheadState(u.failState), u.node;
@@ -5823,20 +5823,20 @@ function Cr(e) {
5823
5823
  "override",
5824
5824
  "readonly"
5825
5825
  ]
5826
- }), n = s.accessibility, o = s.override, a = s.readonly, !1 === e && (n || a || o) && this.raise(i.start, J.UnexpectedParameterModifier);
5826
+ }), n = s.accessibility, o = s.override, a = s.readonly, !1 === e && (n || a || o) && this.raise(i.start, Y.UnexpectedParameterModifier);
5827
5827
  }
5828
5828
  var c = this.parseMaybeDefault(r, i);
5829
5829
  this.parseBindingListItem(c);
5830
5830
  var l = this.parseMaybeDefault(c.start, c.loc, c);
5831
5831
  if (t.length && (l.decorators = t), n || a || o) {
5832
5832
  var u = this.startNodeAt(r, i);
5833
- return n && (u.accessibility = n), a && (u.readonly = a), o && (u.override = o), l.type !== "Identifier" && l.type !== "AssignmentPattern" && this.raise(u.start, J.UnsupportedParameterPropertyKind), u.parameter = l, this.finishNode(u, "TSParameterProperty");
5833
+ return n && (u.accessibility = n), a && (u.readonly = a), o && (u.override = o), l.type !== "Identifier" && l.type !== "AssignmentPattern" && this.raise(u.start, Y.UnsupportedParameterPropertyKind), u.parameter = l, this.finishNode(u, "TSParameterProperty");
5834
5834
  }
5835
5835
  return l;
5836
5836
  }, x.checkLValInnerPattern = function(t, n, r) {
5837
5837
  n === void 0 && (n = 0), t.type === "TSParameterProperty" ? this.checkLValInnerPattern(t.parameter, n, r) : e.prototype.checkLValInnerPattern.call(this, t, n, r);
5838
5838
  }, x.parseBindingListItem = function(e) {
5839
- this.eat(o.question) && (e.type === "Identifier" || this.isAmbientContext || this.inType || this.raise(e.start, J.PatternIsOptional), e.optional = !0);
5839
+ this.eat(o.question) && (e.type === "Identifier" || this.isAmbientContext || this.inType || this.raise(e.start, Y.PatternIsOptional), e.optional = !0);
5840
5840
  var t = this.tsTryParseTypeAnnotation();
5841
5841
  return t && (e.typeAnnotation = t), this.resetEndLocation(e), e;
5842
5842
  }, x.isAssignable = function(e, t) {
@@ -5867,12 +5867,12 @@ function Cr(e) {
5867
5867
  default: return !1;
5868
5868
  }
5869
5869
  }, x.toAssignable = function(t, n, r) {
5870
- switch (n === void 0 && (n = !1), r === void 0 && (r = new cr()), t.type) {
5870
+ switch (n === void 0 && (n = !1), r === void 0 && (r = new sr()), t.type) {
5871
5871
  case "ParenthesizedExpression": return this.toAssignableParenthesizedExpression(t, n, r);
5872
5872
  case "TSAsExpression":
5873
5873
  case "TSSatisfiesExpression":
5874
5874
  case "TSNonNullExpression":
5875
- case "TSTypeAssertion": return n || this.raise(t.start, J.UnexpectedTypeCastInParameter), this.toAssignable(t.expression, n, r);
5875
+ case "TSTypeAssertion": return n || this.raise(t.start, Y.UnexpectedTypeCastInParameter), this.toAssignable(t.expression, n, r);
5876
5876
  case "MemberExpression": break;
5877
5877
  case "AssignmentExpression": return n || t.left.type !== "TSTypeCastExpression" || (t.left = this.typeCastToParameter(t.left)), e.prototype.toAssignable.call(this, t, n, r);
5878
5878
  case "TSTypeCastExpression": return this.typeCastToParameter(t);
@@ -5924,7 +5924,7 @@ function Cr(e) {
5924
5924
  if (this.options.ecmaVersion >= 6) {
5925
5925
  var s = this.maybeInArrowParameters;
5926
5926
  this.maybeInArrowParameters = !0, this.next();
5927
- var c, l = this.start, u = this.startLoc, d = [], f = !0, p = !1, m = new cr(), h = this.yieldPos, g = this.awaitPos;
5927
+ var c, l = this.start, u = this.startLoc, d = [], f = !0, p = !1, m = new sr(), h = this.yieldPos, g = this.awaitPos;
5928
5928
  for (this.yieldPos = 0, this.awaitPos = 0; this.type !== o.parenR;) {
5929
5929
  if (f ? f = !1 : this.expect(o.comma), a && this.afterTrailingComma(o.parenR, !0)) {
5930
5930
  p = !0;
@@ -5993,7 +5993,7 @@ function Cr(e) {
5993
5993
  return u.typeParameters = a, u;
5994
5994
  }
5995
5995
  if (!r && c.eat(o.parenL)) {
5996
- var p = new cr(), m = c.startNodeAt(t, n);
5996
+ var p = new sr(), m = c.startNodeAt(t, n);
5997
5997
  return m.callee = e, m.arguments = c.parseExprList(o.parenR, c.options.ecmaVersion >= 8, !1, p), c.tsCheckForInvalidTypeCasts(m.arguments), m.typeParameters = a, l && (m.optional = d), c.checkExpressionErrors(p, !0), e = c.finishNode(m, "CallExpression");
5998
5998
  }
5999
5999
  var h = c.type;
@@ -6002,7 +6002,7 @@ function Cr(e) {
6002
6002
  return _.expression = e, _.typeParameters = a, c.finishNode(_, "TSInstantiationExpression");
6003
6003
  }
6004
6004
  });
6005
- if (f && this.unexpected(f), p) return p.type === "TSInstantiationExpression" && (this.match(o.dot) || this.match(o.questionDot) && this.lookaheadCharCode() !== 40) && this.raise(this.start, J.InvalidPropertyAccessAfterInstantiationExpression), e = p;
6005
+ if (f && this.unexpected(f), p) return p.type === "TSInstantiationExpression" && (this.match(o.dot) || this.match(o.questionDot) && this.lookaheadCharCode() !== 40) && this.raise(this.start, Y.InvalidPropertyAccessAfterInstantiationExpression), e = p;
6006
6006
  }
6007
6007
  var m = this.options.ecmaVersion >= 11, h = m && this.eat(o.questionDot);
6008
6008
  r && h && this.raise(this.lastTokStart, "Optional chaining cannot appear in the callee of new expressions");
@@ -6013,7 +6013,7 @@ function Cr(e) {
6013
6013
  } else if (!r && this.eat(o.parenL)) {
6014
6014
  var v = this.maybeInArrowParameters;
6015
6015
  this.maybeInArrowParameters = !0;
6016
- var te = new cr(), ne = this.yieldPos, re = this.awaitPos, ie = this.awaitIdentPos;
6016
+ var te = new sr(), ne = this.yieldPos, re = this.awaitPos, ie = this.awaitIdentPos;
6017
6017
  this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0;
6018
6018
  var y = this.parseExprList(o.parenR, this.options.ecmaVersion >= 8, !1, te);
6019
6019
  if (i && !h && this.shouldParseAsyncArrow()) this.checkPatternErrors(te, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = ne, this.awaitPos = re, this.awaitIdentPos = ie, e = this.parseSubscriptAsyncArrow(t, n, y, s);
@@ -6059,7 +6059,7 @@ function Cr(e) {
6059
6059
  for (this.expect(o.braceL); this.type !== o.braceR;) if (this.match(p.at)) c.push(this.parseDecorator());
6060
6060
  else {
6061
6061
  var l = this.parseClassElement(e.superClass !== null);
6062
- c.length && (l.decorators = c, this.resetStartLocationFromNode(l, c[0]), c = []), l && (a.body.push(l), l.type === "MethodDefinition" && l.kind === "constructor" && l.value.type === "FunctionExpression" ? (s && this.raiseRecoverable(l.start, "Duplicate constructor in the same class"), s = !0, l.decorators && l.decorators.length > 0 && this.raise(l.start, "Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?")) : l.key && l.key.type === "PrivateIdentifier" && lr(i, l) && this.raiseRecoverable(l.key.start, "Identifier '#" + l.key.name + "' has already been declared"));
6062
+ c.length && (l.decorators = c, this.resetStartLocationFromNode(l, c[0]), c = []), l && (a.body.push(l), l.type === "MethodDefinition" && l.kind === "constructor" && l.value.type === "FunctionExpression" ? (s && this.raiseRecoverable(l.start, "Duplicate constructor in the same class"), s = !0, l.decorators && l.decorators.length > 0 && this.raise(l.start, "Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?")) : l.key && l.key.type === "PrivateIdentifier" && cr(i, l) && this.raiseRecoverable(l.key.start, "Identifier '#" + l.key.name + "' has already been declared"));
6063
6063
  }
6064
6064
  return this.strict = r, this.next(), c.length && this.raise(this.start, "Decorators must be attached to a class element."), e.body = this.finishNode(a, "ClassBody"), this.exitClassBody(), this.finishNode(e, t ? "ClassDeclaration" : "ClassExpression");
6065
6065
  } finally {
@@ -6070,9 +6070,9 @@ function Cr(e) {
6070
6070
  return e && (t.typeParameters = e), t;
6071
6071
  }, x.parseMethod = function(e, t, n, r, i) {
6072
6072
  var a = this.startNode(), s = this.yieldPos, c = this.awaitPos, l = this.awaitIdentPos;
6073
- if (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(64 | yr(t, a.generator) | (n ? 128 : 0)), this.expect(o.parenL), a.params = this.parseClassFunctionParams(), this.checkYieldAwaitInDefaultParams(), this.parseFunctionBody(a, !1, !0, !1, { isClassMethod: r }), this.yieldPos = s, this.awaitPos = c, this.awaitIdentPos = l, i && i.abstract && a.body) {
6073
+ if (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(64 | vr(t, a.generator) | (n ? 128 : 0)), this.expect(o.parenL), a.params = this.parseClassFunctionParams(), this.checkYieldAwaitInDefaultParams(), this.parseFunctionBody(a, !1, !0, !1, { isClassMethod: r }), this.yieldPos = s, this.awaitPos = c, this.awaitIdentPos = l, i && i.abstract && a.body) {
6074
6074
  var u = i.key;
6075
- this.raise(i.start, J.AbstractMethodHasImplementation({ methodName: u.type !== "Identifier" || i.computed ? "[" + this.input.slice(u.start, u.end) + "]" : u.name }));
6075
+ this.raise(i.start, Y.AbstractMethodHasImplementation({ methodName: u.type !== "Identifier" || i.computed ? "[" + this.input.slice(u.start, u.end) + "]" : u.name }));
6076
6076
  }
6077
6077
  return this.finishNode(a, "FunctionExpression");
6078
6078
  }, t.parse = function(e, t) {
@@ -6109,7 +6109,7 @@ function Cr(e) {
6109
6109
  te(this.type) ? (c = !0, s = d, i = n ? this.parseIdent() : this.parseModuleExportName(), l = !1) : (i = f, l = !1);
6110
6110
  } else te(this.type) ? (l = !1, i = n ? this.parseIdent() : this.parseModuleExportName()) : (c = !0, s = d);
6111
6111
  } else te(this.type) && (c = !0, n ? (s = e.prototype.parseIdent.call(this, !0), this.isContextual("as") || this.checkUnreserved(s)) : s = this.parseModuleExportName());
6112
- c && r && this.raise(u, n ? J.TypeModifierIsUsedInTypeImports : J.TypeModifierIsUsedInTypeExports), t[a] = s, t[o] = i, t[n ? "importKind" : "exportKind"] = c ? "type" : "value", l && this.eatContextual("as") && (t[o] = n ? this.parseIdent() : this.parseModuleExportName()), t[o] || (t[o] = this.copyNode(t[a])), n && this.checkLValSimple(t[o], 2);
6112
+ c && r && this.raise(u, n ? Y.TypeModifierIsUsedInTypeImports : Y.TypeModifierIsUsedInTypeExports), t[a] = s, t[o] = i, t[n ? "importKind" : "exportKind"] = c ? "type" : "value", l && this.eatContextual("as") && (t[o] = n ? this.parseIdent() : this.parseModuleExportName()), t[o] || (t[o] = this.copyNode(t[a])), n && this.checkLValSimple(t[o], 2);
6113
6113
  }, x.raiseCommonCheck = function(t, n, r) {
6114
6114
  return n === "Comma is not permitted after the rest element" ? this.isAmbientContext && this.match(o.comma) && this.lookaheadCharCode() === 41 ? void this.next() : e.prototype.raise.call(this, t, n) : r ? e.prototype.raiseRecoverable.call(this, t, n) : e.prototype.raise.call(this, t, n);
6115
6115
  }, x.raiseRecoverable = function(e, t) {
@@ -6136,11 +6136,11 @@ function Cr(e) {
6136
6136
  for (r.attributes = []; this.type !== o.slash && this.type !== p.jsxTagEnd;) r.attributes.push(this.jsx_parseAttribute());
6137
6137
  return r.selfClosing = this.eat(o.slash), this.expect(p.jsxTagEnd), this.finishNode(r, i ? "JSXOpeningElement" : "JSXOpeningFragment");
6138
6138
  }, x.enterScope = function(t) {
6139
- t === or && this.importsStack.push([]), e.prototype.enterScope.call(this, t);
6139
+ t === ar && this.importsStack.push([]), e.prototype.enterScope.call(this, t);
6140
6140
  var n = e.prototype.currentScope.call(this);
6141
6141
  n.types = [], n.enums = [], n.constEnums = [], n.classes = [], n.exportOnlyBindings = [];
6142
6142
  }, x.exitScope = function() {
6143
- e.prototype.currentScope.call(this).flags === or && this.importsStack.pop(), e.prototype.exitScope.call(this);
6143
+ e.prototype.currentScope.call(this).flags === ar && this.importsStack.pop(), e.prototype.exitScope.call(this);
6144
6144
  }, x.hasImport = function(e, t) {
6145
6145
  var n = this.importsStack.length;
6146
6146
  if (this.importsStack[n - 1].indexOf(e) > -1) return !0;
@@ -6178,13 +6178,13 @@ function Cr(e) {
6178
6178
  get: function() {
6179
6179
  return i;
6180
6180
  }
6181
- }]) && Qn(ie.prototype, y), b && Qn(ie, b), Object.defineProperty(ie, "prototype", { writable: !1 }), t;
6181
+ }]) && Zn(ie.prototype, y), b && Zn(ie, b), Object.defineProperty(ie, "prototype", { writable: !1 }), t;
6182
6182
  }(t);
6183
6183
  };
6184
6184
  }
6185
6185
  //#endregion
6186
6186
  //#region src/utilities/index.ts
6187
- var wr = [
6187
+ var Cr = [
6188
6188
  {
6189
6189
  idPrefix: "dpuse-app",
6190
6190
  typeId: "app",
@@ -6251,8 +6251,8 @@ var wr = [
6251
6251
  isPublished: !0,
6252
6252
  uploadGroupName: void 0
6253
6253
  }
6254
- ], Tr = r(i);
6255
- async function Er(e) {
6254
+ ], wr = r(i);
6255
+ async function Tr(e) {
6256
6256
  let r;
6257
6257
  try {
6258
6258
  r = await t.readdir(e, { withFileTypes: !0 });
@@ -6272,17 +6272,17 @@ async function Er(e) {
6272
6272
  }
6273
6273
  }));
6274
6274
  }
6275
- async function Dr(e, n) {
6275
+ async function Er(e, n) {
6276
6276
  return t.readdir(e, n);
6277
6277
  }
6278
- async function Y(e, n, r = [], i) {
6278
+ async function X(e, n, r = [], i) {
6279
6279
  let a = `${n} ${r.join(" ")}`;
6280
- e !== void 0 && Q(`${e} - exec(${a})`);
6281
- let { stdout: o, stderr: s } = await Tr(a);
6280
+ e !== void 0 && $(`${e} - exec(${a})`);
6281
+ let { stdout: o, stderr: s } = await wr(a);
6282
6282
  i === void 0 ? o.trim() && console.log(o.trim()) : await t.writeFile(i, o.trim(), "utf8"), s.trim() && console.error(s.trim());
6283
6283
  }
6284
- async function X(e, t, n = [], r = !1, i = !1) {
6285
- return Q(`${e} - spawn(${t} ${n.join(" ")})`), new Promise((e, o) => {
6284
+ async function Z(e, t, n = [], r = !1, i = !1) {
6285
+ return $(`${e} - spawn(${t} ${n.join(" ")})`), new Promise((e, o) => {
6286
6286
  a(t, n, {
6287
6287
  shell: i,
6288
6288
  stdio: "inherit"
@@ -6291,47 +6291,47 @@ async function X(e, t, n = [], r = !1, i = !1) {
6291
6291
  });
6292
6292
  });
6293
6293
  }
6294
- async function Z(e) {
6294
+ async function Q(e) {
6295
6295
  return JSON.parse(await t.readFile(e, "utf8"));
6296
6296
  }
6297
- async function Or(e) {
6297
+ async function Dr(e) {
6298
6298
  return await t.readFile(e, "utf8");
6299
6299
  }
6300
- async function kr(e) {
6300
+ async function Or(e) {
6301
6301
  try {
6302
6302
  await t.unlink(e);
6303
6303
  } catch (e) {
6304
6304
  if (e.code !== "ENOENT") throw e;
6305
6305
  }
6306
6306
  }
6307
- async function Ar(e, n) {
6307
+ async function kr(e, n) {
6308
6308
  await t.writeFile(e, JSON.stringify(n, void 0, 4), "utf8");
6309
6309
  }
6310
- async function jr(e, n) {
6310
+ async function Ar(e, n) {
6311
6311
  await t.writeFile(e, n, "utf8");
6312
6312
  }
6313
- function Mr(e) {
6313
+ function jr(e) {
6314
6314
  let t = "─".repeat(Math.max(e.length + 60, 60));
6315
6315
  console.info(`\n${t}`), console.info(`▶️ ${e}`), console.info(`${t}`);
6316
6316
  }
6317
- function Nr(e) {
6317
+ function Mr(e) {
6318
6318
  console.info(`\n✅ ${e}\n`);
6319
6319
  }
6320
- function Q(e) {
6320
+ function $(e) {
6321
6321
  console.info(`\n${e}\n`);
6322
6322
  }
6323
- function Pr(e) {
6324
- let t = wr.find((t) => e.startsWith(t.idPrefix));
6323
+ function Nr(e) {
6324
+ let t = Cr.find((t) => e.startsWith(t.idPrefix));
6325
6325
  if (!t) throw Error(`Failed to locate module type configuration for identifier '${e}'.`);
6326
6326
  return t;
6327
6327
  }
6328
- function Fr(e) {
6329
- let t = F.extend(Cr()).parse(e, {
6328
+ function Pr(e) {
6329
+ let t = I.extend(Sr()).parse(e, {
6330
6330
  ecmaVersion: "latest",
6331
6331
  sourceType: "module",
6332
6332
  locations: !0
6333
6333
  }), n = [];
6334
- return Ir(t, (e) => {
6334
+ return Fr(t, (e) => {
6335
6335
  if (e.type !== "MethodDefinition") return;
6336
6336
  let t = e, r = t.key;
6337
6337
  if (r.type !== "Identifier") return;
@@ -6339,7 +6339,7 @@ function Fr(e) {
6339
6339
  i && i !== "constructor" && t.accessibility !== "private" && n.push(i);
6340
6340
  }), n;
6341
6341
  }
6342
- function Ir(e, t) {
6342
+ function Fr(e, t) {
6343
6343
  t(e);
6344
6344
  for (let [n, r] of Object.entries(e)) {
6345
6345
  if ([
@@ -6352,55 +6352,55 @@ function Ir(e, t) {
6352
6352
  let e = r;
6353
6353
  if (Array.isArray(e)) for (let n of e) {
6354
6354
  let e = n;
6355
- e && typeof e.type == "string" && Ir(e, t);
6355
+ e && typeof e.type == "string" && Fr(e, t);
6356
6356
  }
6357
- else e && typeof e == "object" && typeof e.type == "string" && Ir(e, t);
6357
+ else e && typeof e == "object" && typeof e.type == "string" && Fr(e, t);
6358
6358
  }
6359
6359
  }
6360
- function Lr(e, t, n, r) {
6360
+ function Ir(e, t, n, r) {
6361
6361
  let i = e.indexOf(n), a = e.indexOf(r);
6362
6362
  if (i === -1 || a === -1) throw Error(`Markers ${n}-${r} not found in content.`);
6363
6363
  return `${e.slice(0, Math.max(0, i + n.length))}\n${t}\n${e.slice(Math.max(0, a))}`;
6364
6364
  }
6365
6365
  //#endregion
6366
6366
  //#region src/utilities/cloudflare.ts
6367
- async function Rr() {
6368
- let e = await Z("config.json"), t = {
6367
+ async function Lr() {
6368
+ let e = await Q("config.json"), t = {
6369
6369
  body: JSON.stringify(e),
6370
6370
  headers: { "Content-Type": "application/json" },
6371
6371
  method: "PUT"
6372
- }, n = await fetch(`https://api.datapos.app/states/${e.id}`, t);
6372
+ }, n = await fetch(`https://api.dpuse.app/states/${e.id}`, t);
6373
6373
  if (!n.ok) throw Error(await n.text());
6374
6374
  }
6375
- async function zr(e) {
6375
+ async function Rr(e) {
6376
6376
  let t = e.id, n = {
6377
6377
  body: JSON.stringify(e),
6378
6378
  headers: { "Content-Type": "application/json" },
6379
6379
  method: "PUT"
6380
- }, r = await fetch(`https://api.datapos.app/states/${t}`, n);
6380
+ }, r = await fetch(`https://api.dpuse.app/states/${t}`, n);
6381
6381
  if (!r.ok) throw Error(await r.text());
6382
6382
  }
6383
- async function Br(e, t) {
6383
+ async function zr(e, t) {
6384
6384
  let n = `v${e.version}`;
6385
6385
  async function r(e, r = "") {
6386
- let i = await Dr(e, { withFileTypes: !0 });
6386
+ let i = await Er(e, { withFileTypes: !0 });
6387
6387
  for (let a of i) {
6388
6388
  let i = `${e}/${a.name}`, o = r ? `${r}/${a.name}` : a.name;
6389
6389
  if (a.isDirectory()) continue;
6390
6390
  let s = `${t}_${n}/${o}`.replaceAll("\\", "/"), c = a.name.endsWith(".css") ? "text/css" : "application/octet-stream", l = a.name.endsWith(".js") ? "application/javascript" : c;
6391
- console.info(`⚙️ Uploading '${o}' → '${s}'...`), await Y(void 0, `wrangler r2 object put "${s}" --file="${i}" --content-type ${l} --jurisdiction=eu --remote`);
6391
+ console.info(`⚙️ Uploading '${o}' → '${s}'...`), await X(void 0, `wrangler r2 object put "${s}" --file="${i}" --content-type ${l} --jurisdiction=eu --remote`);
6392
6392
  }
6393
6393
  }
6394
6394
  await r("dist");
6395
6395
  }
6396
6396
  //#endregion
6397
6397
  //#region src/operations/manageProject.ts
6398
- var Vr = new Set([
6398
+ var Br = new Set([
6399
6399
  "createObject",
6400
6400
  "dropObject",
6401
6401
  "removeRecords",
6402
6402
  "upsertRecords"
6403
- ]), Hr = new Set([
6403
+ ]), Vr = new Set([
6404
6404
  "auditObjectContent",
6405
6405
  "findObjectFolderPath",
6406
6406
  "getReadableStream",
@@ -6410,130 +6410,130 @@ var Vr = new Set([
6410
6410
  "retrieveChunks",
6411
6411
  "retrieveRecords"
6412
6412
  ]);
6413
- async function Ur() {
6413
+ async function Hr() {
6414
6414
  try {
6415
- Mr("Build Project"), await X("1️⃣ Bundle project", "vite", ["build"]), Nr("Project built.");
6415
+ jr("Build Project"), await Z("1️⃣ Bundle project", "vite", ["build"]), Mr("Project built.");
6416
6416
  } catch (e) {
6417
6417
  console.error("❌ Error building project.", e), process.exit(1);
6418
6418
  }
6419
6419
  }
6420
- async function Wr() {
6420
+ async function Ur() {
6421
6421
  try {
6422
- Mr("Release Project");
6423
- let e = await Z("package.json"), t = await Z("config.json");
6424
- await $r("1️⃣", e);
6425
- let n = Pr(t.id);
6422
+ jr("Release Project");
6423
+ let e = await Q("package.json"), t = await Q("config.json");
6424
+ await Qr("1️⃣", e);
6425
+ let n = Nr(t.id);
6426
6426
  switch (n.typeId) {
6427
6427
  case "connector":
6428
- t = await Kr("2️⃣", e);
6428
+ t = await Gr("2️⃣", e);
6429
6429
  break;
6430
6430
  case "context":
6431
- t = await qr("2️⃣", e);
6431
+ t = await Kr("2️⃣", e);
6432
6432
  break;
6433
6433
  case "presenter":
6434
- t = await Jr("2️⃣", e);
6434
+ t = await qr("2️⃣", e);
6435
6435
  break;
6436
- default: t = await Gr("2️⃣", e);
6436
+ default: t = await Wr("2️⃣", e);
6437
6437
  }
6438
- if (await X("3️⃣ Bundle project", "vite", ["build"]), await Y("4️⃣ Stage changes", "git", ["add", "."]), await Y("5️⃣ Commit changes", "git", [
6438
+ if (await Z("3️⃣ Bundle project", "vite", ["build"]), await X("4️⃣ Stage changes", "git", ["add", "."]), await X("5️⃣ Commit changes", "git", [
6439
6439
  "commit",
6440
6440
  "-m",
6441
6441
  `"v${e.version}"`
6442
- ]), await Y("6️⃣ Push changes", "git", [
6442
+ ]), await X("6️⃣ Push changes", "git", [
6443
6443
  "push",
6444
6444
  "origin",
6445
6445
  "main:main"
6446
- ]), n.typeId === "app") Q("7️⃣ Register module"), await Rr();
6447
- else if (n.typeId === "engine") Q("7️⃣ Register module"), await Br(e, `datapos-engine-eu/${n.uploadGroupName}`), await zr(t);
6448
- else if (n.uploadGroupName === void 0) Q("7️⃣ Registration NOT required.");
6446
+ ]), n.typeId === "app") $("7️⃣ Register module"), await Lr();
6447
+ else if (n.typeId === "engine") $("7️⃣ Register module"), await zr(e, `dpuse-engine-eu/${n.uploadGroupName}`), await Rr(t);
6448
+ else if (n.uploadGroupName === void 0) $("7️⃣ Registration NOT required.");
6449
6449
  else {
6450
- Q("7️⃣ Register module");
6450
+ $("7️⃣ Register module");
6451
6451
  let r = t.id.split("-").slice(2).join("-");
6452
- await Br(e, `datapos-engine-eu/${n.uploadGroupName}/${r}`), await zr(t);
6452
+ await zr(e, `dpuse-engine-eu/${n.uploadGroupName}/${r}`), await Rr(t);
6453
6453
  }
6454
6454
  if (n.isPublished) {
6455
6455
  let e = ".npmrc";
6456
6456
  try {
6457
- await jr(e, `registry=https://registry.npmjs.org/\n//registry.npmjs.org/:_authToken=${process.env.NPM_TOKEN ?? ""}`), await X("8️⃣ Publish to npm", "npm", [
6457
+ await Ar(e, `registry=https://registry.npmjs.org/\n//registry.npmjs.org/:_authToken=${process.env.NPM_TOKEN ?? ""}`), await Z("8️⃣ Publish to npm", "npm", [
6458
6458
  "publish",
6459
6459
  "--access",
6460
6460
  "public"
6461
6461
  ]);
6462
6462
  } finally {
6463
- await kr(e);
6463
+ await Or(e);
6464
6464
  }
6465
- } else Q(`8️⃣ Publishing NOT required for package with type identifier of '${n.typeId}'.`);
6466
- Nr(`Project version '${e.version}' released.`);
6465
+ } else $(`8️⃣ Publishing NOT required for package with type identifier of '${n.typeId}'.`);
6466
+ Mr(`Project version '${e.version}' released.`);
6467
6467
  } catch (e) {
6468
6468
  console.error("❌ Error releasing project.", e), process.exit(1);
6469
6469
  }
6470
6470
  }
6471
+ async function Wr(e, t) {
6472
+ $(`${e} Build project configuration`);
6473
+ let n = await Q("config.json");
6474
+ return t.name != null && (n.id = t.name.replace("@dpuse/", "").replace("@dpuse/", "")), t.version != null && (n.version = t.version), await kr("config.json", n), n;
6475
+ }
6471
6476
  async function Gr(e, t) {
6472
- Q(`${e} Build project configuration`);
6473
- let n = await Z("config.json");
6474
- return t.name != null && (n.id = t.name.replace("@dpuse/", "").replace("@dpuse/", "")), t.version != null && (n.version = t.version), await Ar("config.json", n), n;
6477
+ $(`${e} Build connector project configuration`);
6478
+ let [n, r] = await Promise.all([Q("config.json"), Dr("src/index.ts")]), i = /* @__PURE__ */ m(De, n);
6479
+ if (!i.success) throw console.error(" Configuration is invalid:"), console.table(i.issues), Error("Configuration is invalid.");
6480
+ let a = Pr(r);
6481
+ return await Yr(t, n, a, Jr(a));
6475
6482
  }
6476
6483
  async function Kr(e, t) {
6477
- Q(`${e} Build connector project configuration`);
6478
- let [n, r] = await Promise.all([Z("config.json"), Or("src/index.ts")]), i = /* @__PURE__ */ m(Oe, n);
6484
+ $(`${e} Build context project configuration`);
6485
+ let [n, r] = await Promise.all([Q("config.json"), Dr("src/index.ts")]), i = /* @__PURE__ */ m(Ae, n);
6479
6486
  if (!i.success) throw console.error("❌ Configuration is invalid:"), console.table(i.issues), Error("Configuration is invalid.");
6480
- let a = Fr(r);
6481
- return await Xr(t, n, a, Yr(a));
6487
+ return await Yr(t, n, Pr(r));
6482
6488
  }
6483
6489
  async function qr(e, t) {
6484
- Q(`${e} Build context project configuration`);
6485
- let [n, r] = await Promise.all([Z("config.json"), Or("src/index.ts")]), i = /* @__PURE__ */ m(je, n);
6490
+ $(`${e} Build presenter project configuration`);
6491
+ let [n, r] = await Promise.all([Q("config.json"), Dr("src/index.ts")]), i = /* @__PURE__ */ m(Me, n);
6486
6492
  if (!i.success) throw console.error("❌ Configuration is invalid:"), console.table(i.issues), Error("Configuration is invalid.");
6487
- return await Xr(t, n, Fr(r));
6493
+ return await Yr(t, n, Pr(r));
6488
6494
  }
6489
- async function Jr(e, t) {
6490
- Q(`${e} Build presenter project configuration`);
6491
- let [n, r] = await Promise.all([Z("config.json"), Or("src/index.ts")]), i = /* @__PURE__ */ m(Ne, n);
6492
- if (!i.success) throw console.error("❌ Configuration is invalid:"), console.table(i.issues), Error("Configuration is invalid.");
6493
- return await Xr(t, n, Fr(r));
6494
- }
6495
- function Yr(e) {
6495
+ function Jr(e) {
6496
6496
  let t = !1, n = !1;
6497
- for (let r of e) Hr.has(r) && (t = !0), Vr.has(r) && (n = !0);
6497
+ for (let r of e) Vr.has(r) && (t = !0), Br.has(r) && (n = !0);
6498
6498
  return t && n ? "bidirectional" : t ? "source" : n ? "destination" : "unknown";
6499
6499
  }
6500
- async function Xr(e, t, n, r) {
6501
- return n.length > 0 ? (console.info(`ℹ️ Implements ${n.length} operations:`), console.table(n)) : console.warn("⚠️ Implements no operations."), r === "unknown" ? console.warn("⚠️ No usage identified.") : console.info(`ℹ️ Supports '${r}' usage.`), e.name != null && (t.id = e.name.replace("@dpuse/", "").replace("@dpuse/", "")), e.version != null && (t.version = e.version), t.operations = n, t.usageId = r ?? "unknown", await Ar("config.json", t), t;
6500
+ async function Yr(e, t, n, r) {
6501
+ return n.length > 0 ? (console.info(`ℹ️ Implements ${n.length} operations:`), console.table(n)) : console.warn("⚠️ Implements no operations."), r === "unknown" ? console.warn("⚠️ No usage identified.") : console.info(`ℹ️ Supports '${r}' usage.`), e.name != null && (t.id = e.name.replace("@dpuse/", "").replace("@dpuse/", "")), e.version != null && (t.version = e.version), t.operations = n, t.usageId = r ?? "unknown", await kr("config.json", t), t;
6502
6502
  }
6503
- async function Zr() {
6503
+ async function Xr() {
6504
6504
  try {
6505
- Mr("Synchronise Project with GitHub");
6506
- let e = await Z("package.json");
6507
- Q("Bump project version"), await $r("1️⃣", e), await Y("2️⃣ Stage changes", "git", ["add", "."]), await Y("3️⃣ Commit changes", "git", [
6505
+ jr("Synchronise Project with GitHub");
6506
+ let e = await Q("package.json");
6507
+ $("Bump project version"), await Qr("1️⃣", e), await X("2️⃣ Stage changes", "git", ["add", "."]), await X("3️⃣ Commit changes", "git", [
6508
6508
  "commit",
6509
6509
  "-m",
6510
6510
  `"v${e.version}"`
6511
- ]), await Y("4️⃣ Push changes", "git", [
6511
+ ]), await X("4️⃣ Push changes", "git", [
6512
6512
  "push",
6513
6513
  "origin",
6514
6514
  "main:main"
6515
- ]), Nr(`Project version '${e.version}' synchronised with GitHub.`);
6515
+ ]), Mr(`Project version '${e.version}' synchronised with GitHub.`);
6516
6516
  } catch (e) {
6517
6517
  console.error("❌ Error synchronising project with GitHub.", e), process.exit(1);
6518
6518
  }
6519
6519
  }
6520
- function Qr() {
6520
+ function Zr() {
6521
6521
  try {
6522
- Mr("Test Project"), console.error("\n❌ No tests implemented.\n");
6522
+ jr("Test Project"), console.error("\n❌ No tests implemented.\n");
6523
6523
  } catch (e) {
6524
6524
  console.error("❌ Error testing project.", e), process.exit(1);
6525
6525
  }
6526
6526
  }
6527
- async function $r(e, t, n = "./") {
6528
- if (Q(`${e} Bump project version`), t.version == null) t.version = "0.0.001", console.warn(`⚠️ Project version initialised to '${t.version}'.`), await Ar(`${n}package.json`, t);
6527
+ async function Qr(e, t, n = "./") {
6528
+ if ($(`${e} Bump project version`), t.version == null) t.version = "0.0.001", console.warn(`⚠️ Project version initialised to '${t.version}'.`), await kr(`${n}package.json`, t);
6529
6529
  else {
6530
6530
  let e = t.version, r = t.version.split(".");
6531
- t.version = `${r[0]}.${r[1]}.${Number(r[2]) + 1}`, console.info(`Project version bumped from '${e}' to '${t.version}'.`), await Ar(`${n}package.json`, t);
6531
+ t.version = `${r[0]}.${r[1]}.${Number(r[2]) + 1}`, console.info(`Project version bumped from '${e}' to '${t.version}'.`), await kr(`${n}package.json`, t);
6532
6532
  }
6533
6533
  }
6534
6534
  //#endregion
6535
6535
  //#region src/operations/auditDependencies.ts
6536
- var ei = {
6536
+ var $r = {
6537
6537
  critical: {
6538
6538
  color: "D32F2F",
6539
6539
  label: "critical"
@@ -6554,16 +6554,16 @@ var ei = {
6554
6554
  color: "616161",
6555
6555
  label: "unknown"
6556
6556
  }
6557
- }, ti = "<!-- OWASP_BADGES_START -->", ni = "<!-- OWASP_BADGES_END -->";
6558
- async function ri() {
6557
+ }, ei = "<!-- OWASP_BADGES_START -->", ti = "<!-- OWASP_BADGES_END -->";
6558
+ async function ni() {
6559
6559
  try {
6560
- Mr("Audit Dependencies");
6561
- let e = await Z("package.json"), t = [];
6560
+ jr("Audit Dependencies");
6561
+ let e = await Q("package.json"), t = [];
6562
6562
  try {
6563
- let e = (await Dr("dependency-check-bin")).toSorted((e, t) => e.localeCompare(t)).at(-1);
6563
+ let e = (await Er("dependency-check-bin")).toSorted((e, t) => e.localeCompare(t)).at(-1);
6564
6564
  e != null && e !== "" && t.push("--owasp-bin", `dependency-check-bin/${e}/dependency-check/bin/dependency-check.sh`);
6565
6565
  } catch {}
6566
- await X("1️⃣", "owasp-dependency-check", [
6566
+ await Z("1️⃣", "owasp-dependency-check", [
6567
6567
  ...t,
6568
6568
  "--out",
6569
6569
  "dependency-check-reports",
@@ -6573,14 +6573,14 @@ async function ri() {
6573
6573
  "--nodePackageSkipDevDependencies",
6574
6574
  "--nvdApiKey",
6575
6575
  process.env.OWASP_NVD_API_KEY ?? ""
6576
- ]), await ii("2️⃣"), await X("3️⃣ Check using 'npm audit'", "npm", ["audit"]), Nr("Dependencies audited.");
6576
+ ]), await ri("2️⃣"), await Z("3️⃣ Check using 'npm audit'", "npm", ["audit"]), Mr("Dependencies audited.");
6577
6577
  } catch (e) {
6578
6578
  console.error("❌ Error auditing dependencies.", e), process.exit(1);
6579
6579
  }
6580
6580
  }
6581
- async function ii(e) {
6582
- Q(`${e} Insert OWASP Badge(s) into 'README.md'`);
6583
- let t = await Z("dependency-check-reports/dependency-check-report.json"), n = {
6581
+ async function ri(e) {
6582
+ $(`${e} Insert OWASP Badge(s) into 'README.md'`);
6583
+ let t = await Q("dependency-check-reports/dependency-check-report.json"), n = {
6584
6584
  critical: 0,
6585
6585
  high: 0,
6586
6586
  moderate: 0,
@@ -6591,14 +6591,14 @@ async function ii(e) {
6591
6591
  let e = t.severity?.toLowerCase() ?? "unknown";
6592
6592
  e in n ? n[e]++ : n.unknown++;
6593
6593
  }
6594
- let r = await ai(n);
6595
- await jr("README.md", Lr(await Or("./README.md"), r.join(" "), ti, ni)), console.info("OWASP audit badge(s) inserted into 'README.md'");
6594
+ let r = await ii(n);
6595
+ await Ar("README.md", Ir(await Dr("./README.md"), r.join(" "), ei, ti)), console.info("OWASP audit badge(s) inserted into 'README.md'");
6596
6596
  }
6597
- async function ai(e) {
6598
- let t = await Z("config.json"), n = [];
6597
+ async function ii(e) {
6598
+ let t = await Q("config.json"), n = [];
6599
6599
  if (Object.values(e).reduce((e, t) => e + t, 0) === 0) console.info("No vulnerabilities found."), n.push(`[![OWASP](https://img.shields.io/badge/OWASP-passed-4CAF50)](https://dpuse.github.io/${t.id}/dependency-check-reports/dependency-check-report.html)`);
6600
6600
  else for (let [r, i] of Object.entries(e)) {
6601
- let e = ei[r];
6601
+ let e = $r[r];
6602
6602
  if (console.warn(`⚠️ ${i} ${e.label} vulnerability(ies) found.`), i === 0) continue;
6603
6603
  let a = `https://img.shields.io/badge/OWASP-${i}%20${e.label}-${e.color}`;
6604
6604
  n.push(`[![OWASP](${a})](https://dpuse.github.io/${t.id}/dependency-check-reports/dependency-check-report.html)`);
@@ -6607,31 +6607,31 @@ async function ai(e) {
6607
6607
  }
6608
6608
  //#endregion
6609
6609
  //#region src/operations/checkDependencies.ts
6610
- async function oi() {
6610
+ async function ai() {
6611
6611
  try {
6612
- Mr("Check Dependencies"), await X("1️⃣ Check using 'npm outdated'", "npm", ["outdated"], !0), await X("2️⃣ Check using 'npm-check-updates'", "npm-check-updates", ["-i", "--peer"]), Nr("Dependencies checked.");
6612
+ jr("Check Dependencies"), await Z("1️⃣ Check using 'npm outdated'", "npm", ["outdated"], !0), await Z("2️⃣ Check using 'npm-check-updates'", "npm-check-updates", ["-i", "--peer"]), Mr("Dependencies checked.");
6613
6613
  } catch (e) {
6614
6614
  console.error("❌ Error checking dependencies.", e), process.exit(1);
6615
6615
  }
6616
6616
  }
6617
6617
  //#endregion
6618
6618
  //#region src/operations/documentDependencies.ts
6619
- var si = "<!-- DEPENDENCY_LICENSES_START -->", ci = "<!-- DEPENDENCY_LICENSES_END -->";
6620
- async function li(e = [], t = !0) {
6619
+ var oi = "<!-- DEPENDENCY_LICENSES_START -->", si = "<!-- DEPENDENCY_LICENSES_END -->";
6620
+ async function ci(e = [], t = !0) {
6621
6621
  try {
6622
- Mr("Document Dependencies");
6622
+ jr("Document Dependencies");
6623
6623
  let n = e.flatMap((e) => ["--allowed", `'${e}'`]);
6624
- await Y("1️⃣ Generate 'licenses.json' file", "license-report", [
6624
+ await X("1️⃣ Generate 'licenses.json' file", "license-report", [
6625
6625
  "--config",
6626
6626
  `'${s(new o(import.meta.resolve("@dpuse/dpuse-development/license-report-config")))}'`,
6627
6627
  "--only=prod,peer",
6628
6628
  "--output=json"
6629
- ], "licenses/licenses.json"), await Y("2️⃣ Check 'licenses.json' file", "license-report-check", [
6629
+ ], "licenses/licenses.json"), await X("2️⃣ Check 'licenses.json' file", "license-report-check", [
6630
6630
  "--source",
6631
6631
  "licenses/licenses.json",
6632
6632
  "--output=table",
6633
6633
  ...n
6634
- ]), t ? (await Y("3️⃣ Generate 'licenseTree.json' file", "license-report-recursive", [
6634
+ ]), t ? (await X("3️⃣ Generate 'licenseTree.json' file", "license-report-recursive", [
6635
6635
  "--only=prod,peer",
6636
6636
  "--output=tree",
6637
6637
  "--recurse",
@@ -6639,15 +6639,15 @@ async function li(e = [], t = !0) {
6639
6639
  "--licensePeriod.value=n/a",
6640
6640
  "--material.value=n/a",
6641
6641
  "--relatedTo.value=n/a"
6642
- ], "licenses/licenseTree.json"), await Y("4️⃣ Check 'licenseTree.json' file", "license-report-check", [
6642
+ ], "licenses/licenseTree.json"), await X("4️⃣ Check 'licenseTree.json' file", "license-report-check", [
6643
6643
  "--source",
6644
6644
  "licenses/licenseTree.json",
6645
6645
  "--output=table",
6646
6646
  ...n
6647
- ])) : (Q("3️⃣ Skip 'licenses/licenseTree.json' file generate"), Q("4️⃣ Skip 'licenses/licenseTree.json' file check"));
6647
+ ])) : ($("3️⃣ Skip 'licenses/licenseTree.json' file generate"), $("4️⃣ Skip 'licenses/licenseTree.json' file check"));
6648
6648
  let r = process.env.GITHUB_TOKEN;
6649
6649
  if (r == null || r === "" || r.startsWith("op://")) throw Error("GITHUB_TOKEN is not resolved. Run the script via \"npm run document\" to use 1Password resolution.");
6650
- await Er("licenses/downloads"), await Y("5️⃣ Download license files", "license-downloader", [
6650
+ await Tr("licenses/downloads"), await X("5️⃣ Download license files", "license-downloader", [
6651
6651
  "--source",
6652
6652
  "licenses/licenses.json",
6653
6653
  "--licDir",
@@ -6655,15 +6655,15 @@ async function li(e = [], t = !0) {
6655
6655
  "--githubToken.tokenEnvVar",
6656
6656
  "GITHUB_TOKEN",
6657
6657
  "--download"
6658
- ]), await ui("6️⃣", t), Nr("Dependencies documented.");
6658
+ ]), await li("6️⃣", t), Mr("Dependencies documented.");
6659
6659
  } catch (e) {
6660
6660
  console.error("❌ Error documenting dependencies.", e), process.exit(1);
6661
6661
  }
6662
6662
  }
6663
- async function ui(e, t) {
6664
- Q(`${e} Insert licenses into 'README.md'`);
6665
- let n = await Z("licenses/licenses.json"), r = await Z("licenses/downloads/licenses.ext.json"), i = [];
6666
- t && (i = await Z("licenses/licenseTree.json"));
6663
+ async function li(e, t) {
6664
+ $(`${e} Insert licenses into 'README.md'`);
6665
+ let n = await Q("licenses/licenses.json"), r = await Q("licenses/downloads/licenses.ext.json"), i = [];
6666
+ t && (i = await Q("licenses/licenseTree.json"));
6667
6667
  let a = [...(() => {
6668
6668
  let e = /* @__PURE__ */ new Map();
6669
6669
  for (let t of n) e.set(t.name, { ...t });
@@ -6684,13 +6684,13 @@ async function ui(e, t) {
6684
6684
  return e.values();
6685
6685
  })()], o = "|Name|Type|Installed|Latest|Latest Released|Deps|Document|\n|:-|:-|:-:|:-:|:-|-:|:-|\n";
6686
6686
  for (let e of a) {
6687
- let t = e.installedVersion === e.remoteVersion ? e.installedVersion : `${e.installedVersion} ⚠️`, n = e.latestRemoteModified ? di(e.latestRemoteModified.split("T")[0]) : "n/a", r = e.dependencyCount != null && e.dependencyCount >= 0 ? e.dependencyCount : "n/a", i;
6687
+ let t = e.installedVersion === e.remoteVersion ? e.installedVersion : `${e.installedVersion} ⚠️`, n = e.latestRemoteModified ? ui(e.latestRemoteModified.split("T")[0]) : "n/a", r = e.dependencyCount != null && e.dependencyCount >= 0 ? e.dependencyCount : "n/a", i;
6688
6688
  i = e.licenseFileLink == null || e.licenseFileLink == "" ? "⚠️ No license file" : `[${e.licenseFileLink.slice(Math.max(0, e.licenseFileLink.lastIndexOf("/") + 1))}](${e.licenseFileLink})`, o += `|${e.name}|${e.licenseType}|${t}|${e.remoteVersion}|${n}|${r}|${i}|\n`;
6689
6689
  }
6690
- let s = Lr(await Or("./README.md"), o, si, ci);
6691
- await jr("README.md", s), console.info("OWASP audit badge(s) inserted into 'README.md'"), await jr("README.md", s);
6690
+ let s = Ir(await Dr("./README.md"), o, oi, si);
6691
+ await Ar("README.md", s), console.info("OWASP audit badge(s) inserted into 'README.md'"), await Ar("README.md", s);
6692
6692
  }
6693
- function di(e) {
6693
+ function ui(e) {
6694
6694
  if (e == null || e === "") return "n/a";
6695
6695
  let t = e.split("T")[0];
6696
6696
  if (t == null || t === "") return "n/a";
@@ -6699,31 +6699,31 @@ function di(e) {
6699
6699
  }
6700
6700
  //#endregion
6701
6701
  //#region src/operations/formatCode.ts
6702
- async function fi() {
6702
+ async function di() {
6703
6703
  try {
6704
- Mr("Format Code"), await X("1️⃣ Format", "prettier", [
6704
+ jr("Format Code"), await Z("1️⃣ Format", "prettier", [
6705
6705
  "--write",
6706
6706
  "*.json",
6707
6707
  "*.md",
6708
6708
  "*.ts",
6709
6709
  ...["app", "src"].filter((t) => e(t)).map((e) => `${e}/**`)
6710
- ]), Nr("Code formatted.");
6710
+ ]), Mr("Code formatted.");
6711
6711
  } catch (e) {
6712
6712
  console.error("❌ Error formatting code.", e), process.exit(1);
6713
6713
  }
6714
6714
  }
6715
6715
  //#endregion
6716
6716
  //#region src/operations/lintCode.ts
6717
- async function pi() {
6717
+ async function fi() {
6718
6718
  try {
6719
- Mr("Lint Code"), await X("1️⃣ Lint", "eslint", ["."]), Nr("Code linted.");
6719
+ jr("Lint Code"), await Z("1️⃣ Lint", "eslint", ["."]), Mr("Code linted.");
6720
6720
  } catch (e) {
6721
6721
  console.error("❌ Error linting code.", e), process.exit(1);
6722
6722
  }
6723
6723
  }
6724
6724
  //#endregion
6725
6725
  //#region src/operations/updateDPUseDependencies.ts
6726
- var mi = [
6726
+ var pi = [
6727
6727
  "1️⃣",
6728
6728
  "2️⃣",
6729
6729
  "3️⃣",
@@ -6734,26 +6734,26 @@ var mi = [
6734
6734
  "8️⃣",
6735
6735
  "9️⃣"
6736
6736
  ];
6737
- async function hi(e = []) {
6737
+ async function mi(e = []) {
6738
6738
  try {
6739
- Mr("Update '@dpuse/dpuse' Dependencies");
6739
+ jr("Update '@dpuse/dpuse' Dependencies");
6740
6740
  for (let [t, n] of e.entries()) {
6741
- let e = mi.at(t) ?? "🔢";
6742
- n === "eslint" ? await X(`${e} Update '${n}'`, "npm", ["install", "@dpuse/eslint-config-dpuse@latest"]) : (await X(`${e} Update '${n}'`, "npm", ["install", `@dpuse/dpuse-${n}@latest`]), n === "development" && await gi(Pr((await Z("config.json")).id)));
6741
+ let e = pi.at(t) ?? "🔢";
6742
+ n === "eslint" ? await Z(`${e} Update '${n}'`, "npm", ["install", "@dpuse/eslint-config-dpuse@latest"]) : (await Z(`${e} Update '${n}'`, "npm", ["install", `@dpuse/dpuse-${n}@latest`]), n === "development" && await hi(Nr((await Q("config.json")).id)));
6743
6743
  }
6744
- Nr("'@dpuse/dpuse' dependencies updated.");
6744
+ Mr("'@dpuse/dpuse' dependencies updated.");
6745
6745
  } catch (e) {
6746
6746
  console.error("❌ Error updating '@dpuse/dpuse' dependencies.", e), process.exit(1);
6747
6747
  }
6748
6748
  }
6749
- async function gi(e) {
6749
+ async function hi(e) {
6750
6750
  let t = n.dirname(s(import.meta.url));
6751
- await $(t, "../", ".editorconfig"), await $(t, "../", ".gitattributes"), await (e.isPublished ? $(t, "../", ".gitignore_published", ".gitignore2") : $(t, "../", ".gitignore_unpublished", ".gitignore2")), await $(t, "../", ".markdownlint.json"), await $(t, "../", "LICENSE"), await $(t, "../", "tsconfig.json", "tsconfig2.json"), e.typeId === "eslint" || (await $(t, "../", "eslint.config.ts", "eslint.config2.ts"), await $(t, "../", "vite.config.ts", "vite.config2.ts"), await $(t, "../", "vitest.config.ts", "vitest.config2.ts"));
6751
+ await gi(t, "../", ".editorconfig"), await gi(t, "../", ".gitattributes"), await (e.isPublished ? gi(t, "../", ".gitignore_published", ".gitignore2") : gi(t, "../", ".gitignore_unpublished", ".gitignore2")), await gi(t, "../", ".markdownlint.json"), await gi(t, "../", "LICENSE"), await gi(t, "../", "tsconfig.json", "tsconfig2.json"), e.typeId === "eslint" || (await gi(t, "../", "eslint.config.ts", "eslint.config2.ts"), await gi(t, "../", "vite.config.ts", "vite.config2.ts"), await gi(t, "../", "vitest.config.ts", "vitest.config2.ts"));
6752
6752
  }
6753
- async function $(e, t, r, i) {
6754
- let a = await Or(n.resolve(e, `${t}${r}`)), o = n.resolve(process.cwd(), r.split("_")[0] ?? r), s = n.resolve(process.cwd(), i ?? r), c;
6753
+ async function gi(e, t, r, i) {
6754
+ let a = await Dr(n.resolve(e, `${t}${r}`)), o = n.resolve(process.cwd(), r.split("_")[0] ?? r), s = n.resolve(process.cwd(), i ?? r), c;
6755
6755
  try {
6756
- c = await Or(o);
6756
+ c = await Dr(o);
6757
6757
  } catch (e) {
6758
6758
  if (e.code !== "ENOENT") throw e;
6759
6759
  }
@@ -6761,7 +6761,7 @@ async function $(e, t, r, i) {
6761
6761
  console.info(`ℹ️ File '${r.split("_")[0] ?? r}' is already up to date.`);
6762
6762
  return;
6763
6763
  }
6764
- await jr(s, a), console.info(`ℹ️ File '${i ?? r}' synchronised.`);
6764
+ await Ar(s, a), console.info(`ℹ️ File '${i ?? r}' synchronised.`);
6765
6765
  }
6766
6766
  //#endregion
6767
6767
  //#region src/index.ts
@@ -6810,6 +6810,6 @@ async function _i(e) {
6810
6810
  }
6811
6811
  }
6812
6812
  //#endregion
6813
- export { ri as auditDependencies, _i as buildDirectoryIndex, Ur as buildProject, oi as checkDependencies, li as documentDependencies, fi as formatCode, pi as lintCode, Wr as releaseProject, Zr as syncProjectWithGitHub, Qr as testProject, hi as updateDPUseDependencies };
6813
+ export { ni as auditDependencies, _i as buildDirectoryIndex, Hr as buildProject, ai as checkDependencies, ci as documentDependencies, di as formatCode, fi as lintCode, Ur as releaseProject, Xr as syncProjectWithGitHub, Zr as testProject, mi as updateDPUseDependencies };
6814
6814
 
6815
6815
  //# sourceMappingURL=dpuse-development.es.js.map