@dpuse/dpuse-development 0.3.753 → 0.3.756

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.
@@ -5,38 +5,39 @@ import { execFile as i, spawn as a } from "node:child_process";
5
5
  import { fileURLToPath as o } from "node:url";
6
6
  import { run as s } from "npm-check-updates";
7
7
  import { init as c } from "license-checker-rseidelsohn";
8
+ import l from "typescript";
8
9
  //#region \0rolldown/runtime.js
9
- var l = Object.defineProperty, u = /* @__PURE__ */ ((e, t) => {
10
+ var u = Object.defineProperty, d = /* @__PURE__ */ ((e, t) => {
10
11
  let n = {};
11
- for (var r in e) l(n, r, {
12
+ for (var r in e) u(n, r, {
12
13
  get: e[r],
13
14
  enumerable: !0
14
15
  });
15
- return t || l(n, Symbol.toStringTag, { value: "Module" }), n;
16
+ return t || u(n, Symbol.toStringTag, { value: "Module" }), n;
16
17
  })({
17
- Node: () => ot,
18
+ Node: () => st,
18
19
  Parser: () => k,
19
- Position: () => _e,
20
- SourceLocation: () => ve,
20
+ Position: () => ve,
21
+ SourceLocation: () => ye,
21
22
  TokContext: () => P,
22
- Token: () => Xt,
23
+ Token: () => Zt,
23
24
  TokenType: () => x,
24
- defaultOptions: () => be,
25
- getLineInfo: () => ye,
25
+ defaultOptions: () => xe,
26
+ getLineInfo: () => be,
26
27
  isIdentifierChar: () => b,
27
28
  isIdentifierStart: () => y,
28
- isNewLine: () => ae,
29
- keywordTypes: () => re,
29
+ isNewLine: () => oe,
30
+ keywordTypes: () => ie,
30
31
  lineBreak: () => D,
31
- lineBreakG: () => ie,
32
- nonASCIIwhitespace: () => se,
33
- parse: () => tn,
34
- parseExpressionAt: () => nn,
32
+ lineBreakG: () => ae,
33
+ nonASCIIwhitespace: () => ce,
34
+ parse: () => nn,
35
+ parseExpressionAt: () => rn,
35
36
  tokContexts: () => F,
36
37
  tokTypes: () => E,
37
- tokenizer: () => rn,
38
- version: () => en
39
- }), d = [
38
+ tokenizer: () => an,
39
+ version: () => tn
40
+ }), f = [
40
41
  509,
41
42
  0,
42
43
  227,
@@ -367,7 +368,7 @@ var l = Object.defineProperty, u = /* @__PURE__ */ ((e, t) => {
367
368
  9,
368
369
  787719,
369
370
  239
370
- ], f = [
371
+ ], p = [
371
372
  0,
372
373
  11,
373
374
  2,
@@ -986,18 +987,18 @@ var l = Object.defineProperty, u = /* @__PURE__ */ ((e, t) => {
986
987
  4938,
987
988
  6,
988
989
  8489
989
- ], p = "‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-᫝᫠-᫫ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・", m = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-࢏ࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚ౜ౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽ೜-ೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-Ƛ꟱-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", h = {
990
+ ], m = "‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-᫝᫠-᫫ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・", h = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-࢏ࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚ౜ౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽ೜-ೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-Ƛ꟱-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", g = {
990
991
  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",
991
992
  5: "class enum extends super const export import",
992
993
  6: "enum",
993
994
  strict: "implements interface let package private protected public static yield",
994
995
  strictBind: "eval arguments"
995
- }, g = "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", _ = {
996
- 5: g,
997
- "5module": g + " export import",
998
- 6: g + " const class extends export import super"
999
- }, ee = /^in(stanceof)?$/, te = RegExp("[" + m + "]"), v = RegExp("[" + m + p + "]");
1000
- function ne(e, t) {
996
+ }, _ = "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", ee = {
997
+ 5: _,
998
+ "5module": _ + " export import",
999
+ 6: _ + " const class extends export import super"
1000
+ }, te = /^in(stanceof)?$/, v = RegExp("[" + h + "]"), ne = RegExp("[" + h + m + "]");
1001
+ function re(e, t) {
1001
1002
  for (var n = 65536, r = 0; r < t.length; r += 2) {
1002
1003
  if (n += t[r], n > e) return !1;
1003
1004
  if (n += t[r + 1], n >= e) return !0;
@@ -1005,10 +1006,10 @@ function ne(e, t) {
1005
1006
  return !1;
1006
1007
  }
1007
1008
  function y(e, t) {
1008
- return e < 65 ? e === 36 : e < 91 ? !0 : e < 97 ? e === 95 : e < 123 ? !0 : e <= 65535 ? e >= 170 && te.test(String.fromCharCode(e)) : t !== !1 && ne(e, f);
1009
+ return e < 65 ? e === 36 : e < 91 ? !0 : e < 97 ? e === 95 : e < 123 ? !0 : e <= 65535 ? e >= 170 && v.test(String.fromCharCode(e)) : t !== !1 && re(e, p);
1009
1010
  }
1010
1011
  function b(e, t) {
1011
- 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 && v.test(String.fromCharCode(e)) : t === !1 ? !1 : ne(e, f) || ne(e, d);
1012
+ 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 && ne.test(String.fromCharCode(e)) : t === !1 ? !1 : re(e, p) || re(e, f);
1012
1013
  }
1013
1014
  var x = function(e, t) {
1014
1015
  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;
@@ -1019,9 +1020,9 @@ function S(e, t) {
1019
1020
  binop: t
1020
1021
  });
1021
1022
  }
1022
- var C = { beforeExpr: !0 }, w = { startsExpr: !0 }, re = {};
1023
+ var C = { beforeExpr: !0 }, w = { startsExpr: !0 }, ie = {};
1023
1024
  function T(e, t) {
1024
- return t === void 0 && (t = {}), t.keyword = e, re[e] = new x(e, t);
1025
+ return t === void 0 && (t = {}), t.keyword = e, ie[e] = new x(e, t);
1025
1026
  }
1026
1027
  var E = {
1027
1028
  num: new x("num", w),
@@ -1156,46 +1157,46 @@ var E = {
1156
1157
  prefix: !0,
1157
1158
  startsExpr: !0
1158
1159
  })
1159
- }, D = /\r\n?|\n|\u2028|\u2029/, ie = new RegExp(D.source, "g");
1160
- function ae(e) {
1160
+ }, D = /\r\n?|\n|\u2028|\u2029/, ae = new RegExp(D.source, "g");
1161
+ function oe(e) {
1161
1162
  return e === 10 || e === 13 || e === 8232 || e === 8233;
1162
1163
  }
1163
- function oe(e, t, n) {
1164
+ function se(e, t, n) {
1164
1165
  n === void 0 && (n = e.length);
1165
1166
  for (var r = t; r < n; r++) {
1166
1167
  var i = e.charCodeAt(r);
1167
- if (ae(i)) return r < n - 1 && i === 13 && e.charCodeAt(r + 1) === 10 ? r + 2 : r + 1;
1168
+ if (oe(i)) return r < n - 1 && i === 13 && e.charCodeAt(r + 1) === 10 ? r + 2 : r + 1;
1168
1169
  }
1169
1170
  return -1;
1170
1171
  }
1171
- var se = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/, O = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, ce = Object.prototype, le = ce.hasOwnProperty, ue = ce.toString, de = Object.hasOwn || (function(e, t) {
1172
- return le.call(e, t);
1173
- }), fe = Array.isArray || (function(e) {
1174
- return ue.call(e) === "[object Array]";
1175
- }), pe = Object.create(null);
1176
- function me(e) {
1177
- return pe[e] || (pe[e] = RegExp("^(?:" + e.replace(/ /g, "|") + ")$"));
1178
- }
1172
+ var ce = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/, O = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, le = Object.prototype, ue = le.hasOwnProperty, de = le.toString, fe = Object.hasOwn || (function(e, t) {
1173
+ return ue.call(e, t);
1174
+ }), pe = Array.isArray || (function(e) {
1175
+ return de.call(e) === "[object Array]";
1176
+ }), me = Object.create(null);
1179
1177
  function he(e) {
1178
+ return me[e] || (me[e] = RegExp("^(?:" + e.replace(/ /g, "|") + ")$"));
1179
+ }
1180
+ function ge(e) {
1180
1181
  return e <= 65535 ? String.fromCharCode(e) : (e -= 65536, String.fromCharCode((e >> 10) + 55296, (e & 1023) + 56320));
1181
1182
  }
1182
- var ge = /(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/, _e = function(e, t) {
1183
+ var _e = /(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/, ve = function(e, t) {
1183
1184
  this.line = e, this.column = t;
1184
1185
  };
1185
- _e.prototype.offset = function(e) {
1186
- return new _e(this.line, this.column + e);
1186
+ ve.prototype.offset = function(e) {
1187
+ return new ve(this.line, this.column + e);
1187
1188
  };
1188
- var ve = function(e, t, n) {
1189
+ var ye = function(e, t, n) {
1189
1190
  this.start = t, this.end = n, e.sourceFile !== null && (this.source = e.sourceFile);
1190
1191
  };
1191
- function ye(e, t) {
1192
+ function be(e, t) {
1192
1193
  for (var n = 1, r = 0;;) {
1193
- var i = oe(e, r, t);
1194
- if (i < 0) return new _e(n, t - r);
1194
+ var i = se(e, r, t);
1195
+ if (i < 0) return new ve(n, t - r);
1195
1196
  ++n, r = i;
1196
1197
  }
1197
1198
  }
1198
- var be = {
1199
+ var xe = {
1199
1200
  ecmaVersion: null,
1200
1201
  sourceType: "script",
1201
1202
  strict: !1,
@@ -1217,20 +1218,20 @@ var be = {
1217
1218
  sourceFile: null,
1218
1219
  directSourceFile: null,
1219
1220
  preserveParens: !1
1220
- }, xe = !1;
1221
- function Se(e) {
1221
+ }, Se = !1;
1222
+ function Ce(e) {
1222
1223
  var t = {};
1223
- for (var n in be) t[n] = e && de(e, n) ? e[n] : be[n];
1224
- if (t.ecmaVersion === "latest" ? t.ecmaVersion = 1e8 : t.ecmaVersion == null ? (!xe && typeof console == "object" && console.warn && (xe = !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), fe(t.onToken)) {
1224
+ for (var n in xe) t[n] = e && fe(e, n) ? e[n] : xe[n];
1225
+ if (t.ecmaVersion === "latest" ? t.ecmaVersion = 1e8 : t.ecmaVersion == null ? (!Se && typeof console == "object" && console.warn && (Se = !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), pe(t.onToken)) {
1225
1226
  var r = t.onToken;
1226
1227
  t.onToken = function(e) {
1227
1228
  return r.push(e);
1228
1229
  };
1229
1230
  }
1230
- if (fe(t.onComment) && (t.onComment = Ce(t, t.onComment)), t.sourceType === "commonjs" && t.allowAwaitOutsideFunction) throw Error("Cannot use allowAwaitOutsideFunction with sourceType: commonjs");
1231
+ if (pe(t.onComment) && (t.onComment = we(t, t.onComment)), t.sourceType === "commonjs" && t.allowAwaitOutsideFunction) throw Error("Cannot use allowAwaitOutsideFunction with sourceType: commonjs");
1231
1232
  return t;
1232
1233
  }
1233
- function Ce(e, t) {
1234
+ function we(e, t) {
1234
1235
  return function(n, r, i, a, o, s) {
1235
1236
  var c = {
1236
1237
  type: n ? "Block" : "Line",
@@ -1238,19 +1239,19 @@ function Ce(e, t) {
1238
1239
  start: i,
1239
1240
  end: a
1240
1241
  };
1241
- e.locations && (c.loc = new ve(this, o, s)), e.ranges && (c.range = [i, a]), t.push(c);
1242
+ e.locations && (c.loc = new ye(this, o, s)), e.ranges && (c.range = [i, a]), t.push(c);
1242
1243
  };
1243
1244
  }
1244
- var we = 1, Te = 2, Ee = 4, De = 8, Oe = 16, ke = 32, Ae = 64, je = 128, Me = 256, Ne = 512, Pe = 1024, Fe = we | Te | Me;
1245
- function Ie(e, t) {
1246
- return Te | (e ? Ee : 0) | (t ? De : 0);
1245
+ var Te = 1, Ee = 2, De = 4, Oe = 8, ke = 16, Ae = 32, je = 64, Me = 128, Ne = 256, Pe = 512, Fe = 1024, Ie = Te | Ee | Ne;
1246
+ function Le(e, t) {
1247
+ return Ee | (e ? De : 0) | (t ? Oe : 0);
1247
1248
  }
1248
- var Le = 0, Re = 1, ze = 2, Be = 3, Ve = 4, He = 5, k = function(e, t, n) {
1249
- this.options = e = Se(e), this.sourceFile = e.sourceFile, this.keywords = me(_[e.ecmaVersion >= 6 ? 6 : e.sourceType === "module" ? "5module" : 5]);
1249
+ var Re = 0, ze = 1, Be = 2, Ve = 3, He = 4, Ue = 5, k = function(e, t, n) {
1250
+ this.options = e = Ce(e), this.sourceFile = e.sourceFile, this.keywords = he(ee[e.ecmaVersion >= 6 ? 6 : e.sourceType === "module" ? "5module" : 5]);
1250
1251
  var r = "";
1251
- e.allowReserved !== !0 && (r = h[e.ecmaVersion >= 6 ? 6 : e.ecmaVersion === 5 ? 5 : 3], e.sourceType === "module" && (r += " await")), this.reservedWords = me(r);
1252
- var i = (r ? r + " " : "") + h.strict;
1253
- this.reservedWordsStrict = me(i), this.reservedWordsStrictBind = me(i + " " + h.strictBind), this.input = String(t), this.containsEsc = !1, this.pos = n || 0, this.curLine = 1, e.startLocation ? (this.lineStart = this.pos - e.startLocation.column, this.curLine = e.startLocation.line) : n ? (this.lineStart = this.input.lastIndexOf("\n", n - 1) + 1, this.options.locations && (this.curLine = this.input.slice(0, this.lineStart).split(D).length)) : this.lineStart = 0, this.type = E.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 || e.strict === !0 || 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" ? Te : we), this.regexpState = null, this.privateNameStack = [];
1252
+ e.allowReserved !== !0 && (r = g[e.ecmaVersion >= 6 ? 6 : e.ecmaVersion === 5 ? 5 : 3], e.sourceType === "module" && (r += " await")), this.reservedWords = he(r);
1253
+ var i = (r ? r + " " : "") + g.strict;
1254
+ this.reservedWordsStrict = he(i), this.reservedWordsStrictBind = he(i + " " + g.strictBind), this.input = String(t), this.containsEsc = !1, this.pos = n || 0, this.curLine = 1, e.startLocation ? (this.lineStart = this.pos - e.startLocation.column, this.curLine = e.startLocation.line) : n ? (this.lineStart = this.input.lastIndexOf("\n", n - 1) + 1, this.options.locations && (this.curLine = this.input.slice(0, this.lineStart).split(D).length)) : this.lineStart = 0, this.type = E.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 || e.strict === !0 || 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" ? Ee : Te), this.regexpState = null, this.privateNameStack = [];
1254
1255
  }, A = {
1255
1256
  inFunction: { configurable: !0 },
1256
1257
  inGenerator: { configurable: !0 },
@@ -1270,37 +1271,37 @@ k.prototype.parse = function() {
1270
1271
  return e.parseTopLevel(t);
1271
1272
  });
1272
1273
  }, A.inFunction.get = function() {
1273
- return (this.currentVarScope().flags & Te) > 0;
1274
+ return (this.currentVarScope().flags & Ee) > 0;
1274
1275
  }, A.inGenerator.get = function() {
1275
- return (this.currentVarScope().flags & De) > 0;
1276
+ return (this.currentVarScope().flags & Oe) > 0;
1276
1277
  }, A.inAsync.get = function() {
1277
- return (this.currentVarScope().flags & Ee) > 0;
1278
+ return (this.currentVarScope().flags & De) > 0;
1278
1279
  }, A.canAwait.get = function() {
1279
1280
  for (var e = this.scopeStack.length - 1; e >= 0; e--) {
1280
1281
  var t = this.scopeStack[e].flags;
1281
- if (t & (Me | Ne)) return !1;
1282
- if (t & Te) return (t & Ee) > 0;
1282
+ if (t & (Ne | Pe)) return !1;
1283
+ if (t & Ee) return (t & De) > 0;
1283
1284
  }
1284
1285
  return this.inModule && this.options.ecmaVersion >= 13 || this.options.allowAwaitOutsideFunction;
1285
1286
  }, A.allowReturn.get = function() {
1286
- return !!(this.inFunction || this.options.allowReturnOutsideFunction && this.currentVarScope().flags & we);
1287
+ return !!(this.inFunction || this.options.allowReturnOutsideFunction && this.currentVarScope().flags & Te);
1287
1288
  }, A.allowSuper.get = function() {
1288
- return (this.currentThisScope().flags & Ae) > 0 || this.options.allowSuperOutsideMethod;
1289
+ return (this.currentThisScope().flags & je) > 0 || this.options.allowSuperOutsideMethod;
1289
1290
  }, A.allowDirectSuper.get = function() {
1290
- return (this.currentThisScope().flags & je) > 0;
1291
+ return (this.currentThisScope().flags & Me) > 0;
1291
1292
  }, A.treatFunctionsAsVar.get = function() {
1292
1293
  return this.treatFunctionsAsVarInScope(this.currentScope());
1293
1294
  }, A.allowNewDotTarget.get = function() {
1294
1295
  for (var e = this.scopeStack.length - 1; e >= 0; e--) {
1295
1296
  var t = this.scopeStack[e].flags;
1296
- if (t & (Me | Ne) || t & Te && !(t & Oe)) return !0;
1297
+ if (t & (Ne | Pe) || t & Ee && !(t & ke)) return !0;
1297
1298
  }
1298
1299
  return !1;
1299
1300
  }, A.allowUsing.get = function() {
1300
1301
  var e = this.currentScope().flags;
1301
- return !(e & Pe || !this.inModule && e & we);
1302
+ return !(e & Fe || !this.inModule && e & Te);
1302
1303
  }, A.inClassStaticBlock.get = function() {
1303
- return (this.currentVarScope().flags & Me) > 0;
1304
+ return (this.currentVarScope().flags & Ne) > 0;
1304
1305
  }, k.extend = function() {
1305
1306
  for (var e = [], t = arguments.length; t--;) e[t] = arguments[t];
1306
1307
  for (var n = this, r = 0; r < e.length; r++) n = e[r](n);
@@ -1313,12 +1314,12 @@ k.prototype.parse = function() {
1313
1314
  }, k.tokenizer = function(e, t) {
1314
1315
  return new this(t, e);
1315
1316
  }, Object.defineProperties(k.prototype, A);
1316
- var j = k.prototype, Ue = /^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;
1317
+ var j = k.prototype, We = /^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;
1317
1318
  j.strictDirective = function(e) {
1318
1319
  if (this.options.ecmaVersion < 5) return !1;
1319
1320
  for (;;) {
1320
1321
  O.lastIndex = e, e += O.exec(this.input)[0].length;
1321
- var t = Ue.exec(this.input.slice(e));
1322
+ var t = We.exec(this.input.slice(e));
1322
1323
  if (!t) return !1;
1323
1324
  if ((t[1] || t[2]) === "use strict") {
1324
1325
  O.lastIndex = e + t[0].length;
@@ -1355,7 +1356,7 @@ j.strictDirective = function(e) {
1355
1356
  }, j.unexpected = function(e) {
1356
1357
  this.raise(e ?? this.start, "Unexpected token");
1357
1358
  };
1358
- var We = function() {
1359
+ var Ge = function() {
1359
1360
  this.shorthandAssign = this.trailingComma = this.parenthesizedAssign = this.parenthesizedBind = this.doubleProto = -1;
1360
1361
  };
1361
1362
  j.checkPatternErrors = function(e, t) {
@@ -1387,7 +1388,7 @@ M.parseTopLevel = function(e) {
1387
1388
  }
1388
1389
  return this.adaptDirectivePrologue(e.body), this.next(), e.sourceType = this.options.sourceType === "commonjs" ? "script" : this.options.sourceType, this.finishNode(e, "Program");
1389
1390
  };
1390
- var Ge = { kind: "loop" }, Ke = { kind: "switch" };
1391
+ var Ke = { kind: "loop" }, qe = { kind: "switch" };
1391
1392
  M.isLet = function(e) {
1392
1393
  if (this.options.ecmaVersion < 6 || !this.isContextual("let")) return !1;
1393
1394
  O.lastIndex = this.pos;
@@ -1402,7 +1403,7 @@ M.isLet = function(e) {
1402
1403
  while (b(r = this.fullCharCodeAt(n)));
1403
1404
  if (r === 92) return !0;
1404
1405
  var a = this.input.slice(i, n);
1405
- if (!ee.test(a)) return !0;
1406
+ if (!te.test(a)) return !0;
1406
1407
  }
1407
1408
  return !1;
1408
1409
  }, M.isAsyncFunction = function() {
@@ -1430,7 +1431,7 @@ M.isLet = function(e) {
1430
1431
  while (b(s = this.fullCharCodeAt(r)));
1431
1432
  if (s === 92) return !0;
1432
1433
  var l = this.input.slice(c, r);
1433
- if (ee.test(l)) return !1;
1434
+ if (te.test(l)) return !1;
1434
1435
  if (t && !e && l === "of") {
1435
1436
  O.lastIndex = r;
1436
1437
  var u = O.exec(this.input);
@@ -1488,11 +1489,11 @@ M.isLet = function(e) {
1488
1489
  }, M.parseDebuggerStatement = function(e) {
1489
1490
  return this.next(), this.semicolon(), this.finishNode(e, "DebuggerStatement");
1490
1491
  }, M.parseDoStatement = function(e) {
1491
- return this.next(), this.labels.push(Ge), e.body = this.parseStatement("do"), this.labels.pop(), this.expect(E._while), e.test = this.parseParenExpression(), this.options.ecmaVersion >= 6 ? this.eat(E.semi) : this.semicolon(), this.finishNode(e, "DoWhileStatement");
1492
+ return this.next(), this.labels.push(Ke), e.body = this.parseStatement("do"), this.labels.pop(), this.expect(E._while), e.test = this.parseParenExpression(), this.options.ecmaVersion >= 6 ? this.eat(E.semi) : this.semicolon(), this.finishNode(e, "DoWhileStatement");
1492
1493
  }, M.parseForStatement = function(e) {
1493
1494
  this.next();
1494
1495
  var t = this.options.ecmaVersion >= 9 && this.canAwait && this.eatContextual("await") ? this.lastTokStart : -1;
1495
- if (this.labels.push(Ge), this.enterScope(0), this.expect(E.parenL), this.type === E.semi) return t > -1 && this.unexpected(t), this.parseFor(e, null);
1496
+ if (this.labels.push(Ke), this.enterScope(0), this.expect(E.parenL), this.type === E.semi) return t > -1 && this.unexpected(t), this.parseFor(e, null);
1496
1497
  var n = this.isLet();
1497
1498
  if (this.type === E._var || this.type === E._const || n) {
1498
1499
  var r = this.startNode(), i = n ? "let" : this.value;
@@ -1503,18 +1504,18 @@ M.isLet = function(e) {
1503
1504
  var c = this.startNode();
1504
1505
  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);
1505
1506
  }
1506
- var l = this.containsEsc, u = new We(), d = this.start, f = t > -1 ? this.parseExprSubscripts(u, "await") : this.parseExpression(!0, u);
1507
+ var l = this.containsEsc, u = new Ge(), d = this.start, f = t > -1 ? this.parseExprSubscripts(u, "await") : this.parseExpression(!0, u);
1507
1508
  return this.type === E._in || (o = this.options.ecmaVersion >= 6 && this.isContextual("of")) ? (t > -1 ? (this.type === E._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));
1508
1509
  }, M.parseForAfterInit = function(e, t, n) {
1509
1510
  return (this.type === E._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) && t.declarations.length === 1 ? (this.type === E._in ? ((t.kind === "using" || t.kind === "await using") && !t.declarations[0].init && this.raise(this.start, "Using declaration is not allowed in for-in loops"), this.options.ecmaVersion >= 9 && n > -1 && this.unexpected(n)) : this.options.ecmaVersion >= 9 && (e.await = n > -1), this.parseForIn(e, t)) : (n > -1 && this.unexpected(n), this.parseFor(e, t));
1510
1511
  }, M.parseFunctionStatement = function(e, t, n) {
1511
- return this.next(), this.parseFunction(e, Je | (n ? 0 : Ye), !1, t);
1512
+ return this.next(), this.parseFunction(e, Ye | (n ? 0 : Xe), !1, t);
1512
1513
  }, M.parseIfStatement = function(e) {
1513
1514
  return this.next(), e.test = this.parseParenExpression(), e.consequent = this.parseStatement("if"), e.alternate = this.eat(E._else) ? this.parseStatement("if") : null, this.finishNode(e, "IfStatement");
1514
1515
  }, M.parseReturnStatement = function(e) {
1515
1516
  return this.allowReturn || this.raise(this.start, "'return' outside of function"), this.next(), this.eat(E.semi) || this.insertSemicolon() ? e.argument = null : (e.argument = this.parseExpression(), this.semicolon()), this.finishNode(e, "ReturnStatement");
1516
1517
  }, M.parseSwitchStatement = function(e) {
1517
- this.next(), e.discriminant = this.parseParenExpression(), e.cases = [], this.expect(E.braceL), this.labels.push(Ke), this.enterScope(Pe);
1518
+ this.next(), e.discriminant = this.parseParenExpression(), e.cases = [], this.expect(E.braceL), this.labels.push(qe), this.enterScope(Fe);
1518
1519
  for (var t, n = !1; this.type !== E.braceR;) if (this.type === E._case || this.type === E._default) {
1519
1520
  var r = this.type === E._case;
1520
1521
  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(E.colon);
@@ -1523,10 +1524,10 @@ M.isLet = function(e) {
1523
1524
  }, M.parseThrowStatement = function(e) {
1524
1525
  return this.next(), D.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");
1525
1526
  };
1526
- var qe = [];
1527
+ var Je = [];
1527
1528
  M.parseCatchClauseParam = function() {
1528
1529
  var e = this.parseBindingAtom(), t = e.type === "Identifier";
1529
- return this.enterScope(t ? ke : 0), this.checkLValPattern(e, t ? Ve : ze), this.expect(E.parenR), e;
1530
+ return this.enterScope(t ? Ae : 0), this.checkLValPattern(e, t ? He : Be), this.expect(E.parenR), e;
1530
1531
  }, M.parseTryStatement = function(e) {
1531
1532
  if (this.next(), e.block = this.parseBlock(), e.handler = null, this.type === E._catch) {
1532
1533
  var t = this.startNode();
@@ -1536,7 +1537,7 @@ M.parseCatchClauseParam = function() {
1536
1537
  }, M.parseVarStatement = function(e, t, n) {
1537
1538
  return this.next(), this.parseVar(e, !1, t, n), this.semicolon(), this.finishNode(e, "VariableDeclaration");
1538
1539
  }, M.parseWhileStatement = function(e) {
1539
- return this.next(), e.test = this.parseParenExpression(), this.labels.push(Ge), e.body = this.parseStatement("while"), this.labels.pop(), this.finishNode(e, "WhileStatement");
1540
+ return this.next(), e.test = this.parseParenExpression(), this.labels.push(Ke), e.body = this.parseStatement("while"), this.labels.pop(), this.finishNode(e, "WhileStatement");
1540
1541
  }, M.parseWithStatement = function(e) {
1541
1542
  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");
1542
1543
  }, M.parseEmptyStatement = function(e) {
@@ -1573,13 +1574,13 @@ M.parseCatchClauseParam = function() {
1573
1574
  }
1574
1575
  return e;
1575
1576
  }, M.parseVarId = function(e, t) {
1576
- e.id = t === "using" || t === "await using" ? this.parseIdent() : this.parseBindingAtom(), this.checkLValPattern(e.id, t === "var" ? Re : ze, !1);
1577
+ e.id = t === "using" || t === "await using" ? this.parseIdent() : this.parseBindingAtom(), this.checkLValPattern(e.id, t === "var" ? ze : Be, !1);
1577
1578
  };
1578
- var Je = 1, Ye = 2, Xe = 4;
1579
+ var Ye = 1, Xe = 2, Ze = 4;
1579
1580
  M.parseFunction = function(e, t, n, r, i) {
1580
- this.initFunction(e), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !r) && (this.type === E.star && t & Ye && this.unexpected(), e.generator = this.eat(E.star)), this.options.ecmaVersion >= 8 && (e.async = !!r), t & Je && (e.id = t & Xe && this.type !== E.name ? null : this.parseIdent(), e.id && !(t & Ye) && this.checkLValSimple(e.id, this.strict || e.generator || e.async ? this.treatFunctionsAsVar ? Re : ze : Be));
1581
+ this.initFunction(e), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !r) && (this.type === E.star && t & Xe && this.unexpected(), e.generator = this.eat(E.star)), this.options.ecmaVersion >= 8 && (e.async = !!r), t & Ye && (e.id = t & Ze && this.type !== E.name ? null : this.parseIdent(), e.id && !(t & Xe) && this.checkLValSimple(e.id, this.strict || e.generator || e.async ? this.treatFunctionsAsVar ? ze : Be : Ve));
1581
1582
  var a = this.yieldPos, o = this.awaitPos, s = this.awaitIdentPos;
1582
- return this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Ie(e.async, e.generator)), t & Je || (e.id = this.type === E.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 & Je ? "FunctionDeclaration" : "FunctionExpression");
1583
+ return this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Le(e.async, e.generator)), t & Ye || (e.id = this.type === E.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 & Ye ? "FunctionDeclaration" : "FunctionExpression");
1583
1584
  }, M.parseFunctionParams = function(e) {
1584
1585
  this.expect(E.parenL), e.params = this.parseBindingList(E.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams();
1585
1586
  }, M.parseClass = function(e, t) {
@@ -1589,7 +1590,7 @@ M.parseFunction = function(e, t, n, r, i) {
1589
1590
  var r = this.enterClassBody(), i = this.startNode(), a = !1;
1590
1591
  for (i.body = [], this.expect(E.braceL); this.type !== E.braceR;) {
1591
1592
  var o = this.parseClassElement(e.superClass !== null);
1592
- 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" && Ze(r, o) && this.raiseRecoverable(o.key.start, "Identifier '#" + o.key.name + "' has already been declared"));
1593
+ 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" && Qe(r, o) && this.raiseRecoverable(o.key.start, "Identifier '#" + o.key.name + "' has already been declared"));
1593
1594
  }
1594
1595
  return this.strict = n, this.next(), e.body = this.finishNode(i, "ClassBody"), this.exitClassBody(), this.finishNode(e, t ? "ClassDeclaration" : "ClassExpression");
1595
1596
  }, M.parseClassElement = function(e) {
@@ -1604,7 +1605,7 @@ M.parseFunction = function(e, t, n, r, i) {
1604
1605
  (this.eatContextual("get") || this.eatContextual("set")) && (this.isClassElementNameStart() ? o = c : r = c);
1605
1606
  }
1606
1607
  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 === E.parenL || o !== "method" || i || a) {
1607
- var l = !n.static && Qe(n, "constructor"), u = l && e;
1608
+ var l = !n.static && $e(n, "constructor"), u = l && e;
1608
1609
  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);
1609
1610
  } else this.parseClassField(n);
1610
1611
  return n;
@@ -1614,21 +1615,21 @@ M.parseFunction = function(e, t, n, r, i) {
1614
1615
  this.type === E.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);
1615
1616
  }, M.parseClassMethod = function(e, t, n, r) {
1616
1617
  var i = e.key;
1617
- 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 && Qe(e, "prototype") && this.raise(i.start, "Classes may not have a static property named prototype");
1618
+ 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 && $e(e, "prototype") && this.raise(i.start, "Classes may not have a static property named prototype");
1618
1619
  var a = e.value = this.parseMethod(t, n, r);
1619
1620
  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");
1620
1621
  }, M.parseClassField = function(e) {
1621
- return Qe(e, "constructor") ? this.raise(e.key.start, "Classes can't have a field named 'constructor'") : e.static && Qe(e, "prototype") && this.raise(e.key.start, "Classes can't have a static field named 'prototype'"), this.eat(E.eq) ? (this.enterScope(Ne | Ae), e.value = this.parseMaybeAssign(), this.exitScope()) : e.value = null, this.semicolon(), this.finishNode(e, "PropertyDefinition");
1622
+ return $e(e, "constructor") ? this.raise(e.key.start, "Classes can't have a field named 'constructor'") : e.static && $e(e, "prototype") && this.raise(e.key.start, "Classes can't have a static field named 'prototype'"), this.eat(E.eq) ? (this.enterScope(Pe | je), e.value = this.parseMaybeAssign(), this.exitScope()) : e.value = null, this.semicolon(), this.finishNode(e, "PropertyDefinition");
1622
1623
  }, M.parseClassStaticBlock = function(e) {
1623
1624
  e.body = [];
1624
1625
  var t = this.labels;
1625
- for (this.labels = [], this.enterScope(Me | Ae); this.type !== E.braceR;) {
1626
+ for (this.labels = [], this.enterScope(Ne | je); this.type !== E.braceR;) {
1626
1627
  var n = this.parseStatement(null);
1627
1628
  e.body.push(n);
1628
1629
  }
1629
1630
  return this.next(), this.exitScope(), this.labels = t, this.finishNode(e, "StaticBlock");
1630
1631
  }, M.parseClassId = function(e, t) {
1631
- this.type === E.name ? (e.id = this.parseIdent(), t && this.checkLValSimple(e.id, ze, !1)) : (t === !0 && this.unexpected(), e.id = null);
1632
+ this.type === E.name ? (e.id = this.parseIdent(), t && this.checkLValSimple(e.id, Be, !1)) : (t === !0 && this.unexpected(), e.id = null);
1632
1633
  }, M.parseClassSuper = function(e) {
1633
1634
  e.superClass = this.eat(E._extends) ? this.parseExprSubscripts(null, !1) : null;
1634
1635
  }, M.enterClassBody = function() {
@@ -1641,14 +1642,14 @@ M.parseFunction = function(e, t, n, r, i) {
1641
1642
  var e = this.privateNameStack.pop(), t = e.declared, n = e.used;
1642
1643
  if (this.options.checkPrivateFields) for (var r = this.privateNameStack.length, i = r === 0 ? null : this.privateNameStack[r - 1], a = 0; a < n.length; ++a) {
1643
1644
  var o = n[a];
1644
- de(t, o.name) || (i ? i.used.push(o) : this.raiseRecoverable(o.start, "Private field '#" + o.name + "' must be declared in an enclosing class"));
1645
+ fe(t, o.name) || (i ? i.used.push(o) : this.raiseRecoverable(o.start, "Private field '#" + o.name + "' must be declared in an enclosing class"));
1645
1646
  }
1646
1647
  };
1647
- function Ze(e, t) {
1648
+ function Qe(e, t) {
1648
1649
  var n = t.key.name, r = e[n], i = "true";
1649
1650
  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);
1650
1651
  }
1651
- function Qe(e, t) {
1652
+ function $e(e, t) {
1652
1653
  var n = e.computed, r = e.key;
1653
1654
  return !n && (r.type === "Identifier" && r.name === t || r.type === "Literal" && r.value === t);
1654
1655
  }
@@ -1676,7 +1677,7 @@ M.parseExportAllDeclaration = function(e, t) {
1676
1677
  var e;
1677
1678
  if (this.type === E._function || (e = this.isAsyncFunction())) {
1678
1679
  var t = this.startNode();
1679
- return this.next(), e && this.next(), this.parseFunction(t, Je | Xe, !1, e);
1680
+ return this.next(), e && this.next(), this.parseFunction(t, Ye | Ze, !1, e);
1680
1681
  }
1681
1682
  if (this.type === E._class) {
1682
1683
  var n = this.startNode();
@@ -1685,7 +1686,7 @@ M.parseExportAllDeclaration = function(e, t) {
1685
1686
  var r = this.parseMaybeAssign();
1686
1687
  return this.semicolon(), r;
1687
1688
  }, M.checkExport = function(e, t, n) {
1688
- e && (typeof t != "string" && (t = t.type === "Identifier" ? t.name : t.value), de(e, t) && this.raiseRecoverable(n, "Duplicate export '" + t + "'"), e[t] = !0);
1689
+ e && (typeof t != "string" && (t = t.type === "Identifier" ? t.name : t.value), fe(e, t) && this.raiseRecoverable(n, "Duplicate export '" + t + "'"), e[t] = !0);
1689
1690
  }, M.checkPatternExport = function(e, t) {
1690
1691
  var n = t.type;
1691
1692
  if (n === "Identifier") this.checkExport(e, t, t.start);
@@ -1717,16 +1718,16 @@ M.parseExportAllDeclaration = function(e, t) {
1717
1718
  }
1718
1719
  return t;
1719
1720
  }, M.parseImport = function(e) {
1720
- return this.next(), this.type === E.string ? (e.specifiers = qe, e.source = this.parseExprAtom()) : (e.specifiers = this.parseImportSpecifiers(), this.expectContextual("from"), e.source = this.type === E.string ? this.parseExprAtom() : this.unexpected()), this.options.ecmaVersion >= 16 && (e.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(e, "ImportDeclaration");
1721
+ return this.next(), this.type === E.string ? (e.specifiers = Je, e.source = this.parseExprAtom()) : (e.specifiers = this.parseImportSpecifiers(), this.expectContextual("from"), e.source = this.type === E.string ? this.parseExprAtom() : this.unexpected()), this.options.ecmaVersion >= 16 && (e.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(e, "ImportDeclaration");
1721
1722
  }, M.parseImportSpecifier = function() {
1722
1723
  var e = this.startNode();
1723
- return e.imported = this.parseModuleExportName(), this.eatContextual("as") ? e.local = this.parseIdent() : (this.checkUnreserved(e.imported), e.local = e.imported), this.checkLValSimple(e.local, ze), this.finishNode(e, "ImportSpecifier");
1724
+ return e.imported = this.parseModuleExportName(), this.eatContextual("as") ? e.local = this.parseIdent() : (this.checkUnreserved(e.imported), e.local = e.imported), this.checkLValSimple(e.local, Be), this.finishNode(e, "ImportSpecifier");
1724
1725
  }, M.parseImportDefaultSpecifier = function() {
1725
1726
  var e = this.startNode();
1726
- return e.local = this.parseIdent(), this.checkLValSimple(e.local, ze), this.finishNode(e, "ImportDefaultSpecifier");
1727
+ return e.local = this.parseIdent(), this.checkLValSimple(e.local, Be), this.finishNode(e, "ImportDefaultSpecifier");
1727
1728
  }, M.parseImportNamespaceSpecifier = function() {
1728
1729
  var e = this.startNode();
1729
- return this.next(), this.expectContextual("as"), e.local = this.parseIdent(), this.checkLValSimple(e.local, ze), this.finishNode(e, "ImportNamespaceSpecifier");
1730
+ return this.next(), this.expectContextual("as"), e.local = this.parseIdent(), this.checkLValSimple(e.local, Be), this.finishNode(e, "ImportNamespaceSpecifier");
1730
1731
  }, M.parseImportSpecifiers = function() {
1731
1732
  var e = [], t = !0;
1732
1733
  if (this.type === E.name && (e.push(this.parseImportDefaultSpecifier()), !this.eat(E.comma))) return e;
@@ -1745,7 +1746,7 @@ M.parseExportAllDeclaration = function(e, t) {
1745
1746
  if (n) n = !1;
1746
1747
  else if (this.expect(E.comma), this.afterTrailingComma(E.braceR)) break;
1747
1748
  var r = this.parseImportAttribute(), i = r.key.type === "Identifier" ? r.key.name : r.key.value;
1748
- de(t, i) && this.raiseRecoverable(r.key.start, "Duplicate attribute key '" + i + "'"), t[i] = !0, e.push(r);
1749
+ fe(t, i) && this.raiseRecoverable(r.key.start, "Duplicate attribute key '" + i + "'"), t[i] = !0, e.push(r);
1749
1750
  }
1750
1751
  return e;
1751
1752
  }, M.parseImportAttribute = function() {
@@ -1754,7 +1755,7 @@ M.parseExportAllDeclaration = function(e, t) {
1754
1755
  }, M.parseModuleExportName = function() {
1755
1756
  if (this.options.ecmaVersion >= 13 && this.type === E.string) {
1756
1757
  var e = this.parseLiteral(this.value);
1757
- return ge.test(e.value) && this.raise(e.start, "An export name cannot include a lone surrogate."), e;
1758
+ return _e.test(e.value) && this.raise(e.start, "An export name cannot include a lone surrogate."), e;
1758
1759
  }
1759
1760
  return this.parseIdent(!0);
1760
1761
  }, M.adaptDirectivePrologue = function(e) {
@@ -1845,11 +1846,11 @@ N.toAssignable = function(e, t, n) {
1845
1846
  var r = this.startNodeAt(e, t);
1846
1847
  return r.left = n, r.right = this.parseMaybeAssign(), this.finishNode(r, "AssignmentPattern");
1847
1848
  }, N.checkLValSimple = function(e, t, n) {
1848
- t === void 0 && (t = Le);
1849
- var r = t !== Le;
1849
+ t === void 0 && (t = Re);
1850
+ var r = t !== Re;
1850
1851
  switch (e.type) {
1851
1852
  case "Identifier":
1852
- this.strict && this.reservedWordsStrictBind.test(e.name) && this.raiseRecoverable(e.start, (r ? "Binding " : "Assigning to ") + e.name + " in strict mode"), r && (t === ze && e.name === "let" && this.raiseRecoverable(e.start, "let is disallowed as a lexically bound name"), n && (de(n, e.name) && this.raiseRecoverable(e.start, "Argument name clash"), n[e.name] = !0), t !== He && this.declareName(e.name, t, e.start));
1853
+ this.strict && this.reservedWordsStrictBind.test(e.name) && this.raiseRecoverable(e.start, (r ? "Binding " : "Assigning to ") + e.name + " in strict mode"), r && (t === Be && e.name === "let" && this.raiseRecoverable(e.start, "let is disallowed as a lexically bound name"), n && (fe(n, e.name) && this.raiseRecoverable(e.start, "Argument name clash"), n[e.name] = !0), t !== Ue && this.declareName(e.name, t, e.start));
1853
1854
  break;
1854
1855
  case "ChainExpression":
1855
1856
  this.raiseRecoverable(e.start, "Optional chaining cannot appear in left-hand side");
@@ -1861,7 +1862,7 @@ N.toAssignable = function(e, t, n) {
1861
1862
  default: this.raise(e.start, (r ? "Binding" : "Assigning to") + " rvalue");
1862
1863
  }
1863
1864
  }, N.checkLValPattern = function(e, t, n) {
1864
- switch (t === void 0 && (t = Le), e.type) {
1865
+ switch (t === void 0 && (t = Re), e.type) {
1865
1866
  case "ObjectPattern":
1866
1867
  for (var r = 0, i = e.properties; r < i.length; r += 1) {
1867
1868
  var a = i[r];
@@ -1877,7 +1878,7 @@ N.toAssignable = function(e, t, n) {
1877
1878
  default: this.checkLValSimple(e, t, n);
1878
1879
  }
1879
1880
  }, N.checkLValInnerPattern = function(e, t, n) {
1880
- switch (t === void 0 && (t = Le), e.type) {
1881
+ switch (t === void 0 && (t = Re), e.type) {
1881
1882
  case "Property":
1882
1883
  this.checkLValInnerPattern(e.value, t, n);
1883
1884
  break;
@@ -1905,24 +1906,24 @@ var P = function(e, t, n, r, i) {
1905
1906
  f_expr: new P("function", !0),
1906
1907
  f_expr_gen: new P("function", !0, !1, null, !0),
1907
1908
  f_gen: new P("function", !1, !1, null, !0)
1908
- }, $e = k.prototype;
1909
- $e.initialContext = function() {
1909
+ }, et = k.prototype;
1910
+ et.initialContext = function() {
1910
1911
  return [F.b_stat];
1911
- }, $e.curContext = function() {
1912
+ }, et.curContext = function() {
1912
1913
  return this.context[this.context.length - 1];
1913
- }, $e.braceIsBlock = function(e) {
1914
+ }, et.braceIsBlock = function(e) {
1914
1915
  var t = this.curContext();
1915
1916
  return t === F.f_expr || t === F.f_stat ? !0 : e === E.colon && (t === F.b_stat || t === F.b_expr) ? !t.isExpr : e === E._return || e === E.name && this.exprAllowed ? D.test(this.input.slice(this.lastTokEnd, this.start)) : e === E._else || e === E.semi || e === E.eof || e === E.parenR || e === E.arrow ? !0 : e === E.braceL ? t === F.b_stat : e === E._var || e === E._const || e === E.name ? !1 : !this.exprAllowed;
1916
- }, $e.inGeneratorContext = function() {
1917
+ }, et.inGeneratorContext = function() {
1917
1918
  for (var e = this.context.length - 1; e >= 1; e--) {
1918
1919
  var t = this.context[e];
1919
1920
  if (t.token === "function") return t.generator;
1920
1921
  }
1921
1922
  return !1;
1922
- }, $e.updateContext = function(e) {
1923
+ }, et.updateContext = function(e) {
1923
1924
  var t, n = this.type;
1924
1925
  n.keyword && e === E.dot ? this.exprAllowed = !1 : (t = n.updateContext) ? t.call(this, e) : this.exprAllowed = n.beforeExpr;
1925
- }, $e.overrideContext = function(e) {
1926
+ }, et.overrideContext = function(e) {
1926
1927
  this.curContext() !== e && (this.context[this.context.length - 1] = e);
1927
1928
  }, E.parenR.updateContext = E.braceR.updateContext = function() {
1928
1929
  if (this.context.length === 1) {
@@ -1997,7 +1998,7 @@ I.checkPropClash = function(e, t, n) {
1997
1998
  this.exprAllowed = !1;
1998
1999
  }
1999
2000
  var r = !1, i = -1, a = -1, o = -1;
2000
- t ? (i = t.parenthesizedAssign, a = t.trailingComma, o = t.doubleProto, t.parenthesizedAssign = t.trailingComma = -1) : (t = new We(), r = !0);
2001
+ t ? (i = t.parenthesizedAssign, a = t.trailingComma, o = t.doubleProto, t.parenthesizedAssign = t.trailingComma = -1) : (t = new Ge(), r = !0);
2001
2002
  var s = this.start, c = this.startLoc;
2002
2003
  (this.type === E.parenL || this.type === E.name) && (this.potentialArrowAt = this.start, this.potentialArrowInForAwait = e === "await");
2003
2004
  var l = this.parseMaybeConditional(e, t);
@@ -2037,7 +2038,7 @@ I.checkPropClash = function(e, t, n) {
2037
2038
  if (this.isContextual("await") && this.canAwait) o = this.parseAwait(r), t = !0;
2038
2039
  else if (this.type.prefix) {
2039
2040
  var s = this.startNode(), c = this.type === E.incDec;
2040
- 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" && et(s.argument) ? this.raiseRecoverable(s.start, "Deleting local variable in strict mode") : s.operator === "delete" && tt(s.argument) ? this.raiseRecoverable(s.start, "Private fields can not be deleted") : t = !0, o = this.finishNode(s, c ? "UpdateExpression" : "UnaryExpression");
2041
+ 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" && tt(s.argument) ? this.raiseRecoverable(s.start, "Deleting local variable in strict mode") : s.operator === "delete" && nt(s.argument) ? this.raiseRecoverable(s.start, "Private fields can not be deleted") : t = !0, o = this.finishNode(s, c ? "UpdateExpression" : "UnaryExpression");
2041
2042
  } else if (!t && this.type === E.privateId) (r || this.privateNameStack.length === 0) && this.options.checkPrivateFields && this.unexpected(), o = this.parsePrivateIdent(), this.type !== E._in && this.unexpected();
2042
2043
  else {
2043
2044
  if (o = this.parseExprSubscripts(e, r), this.checkExpressionErrors(e)) return o;
@@ -2051,11 +2052,11 @@ I.checkPropClash = function(e, t, n) {
2051
2052
  else return this.buildBinary(i, a, o, this.parseMaybeUnary(null, !1, !1, r), "**", !1);
2052
2053
  } else return o;
2053
2054
  };
2054
- function et(e) {
2055
- return e.type === "Identifier" || e.type === "ParenthesizedExpression" && et(e.expression);
2056
- }
2057
2055
  function tt(e) {
2058
- return e.type === "MemberExpression" && e.property.type === "PrivateIdentifier" || e.type === "ChainExpression" && tt(e.expression) || e.type === "ParenthesizedExpression" && tt(e.expression);
2056
+ return e.type === "Identifier" || e.type === "ParenthesizedExpression" && tt(e.expression);
2057
+ }
2058
+ function nt(e) {
2059
+ return e.type === "MemberExpression" && e.property.type === "PrivateIdentifier" || e.type === "ChainExpression" && nt(e.expression) || e.type === "ParenthesizedExpression" && nt(e.expression);
2059
2060
  }
2060
2061
  I.parseExprSubscripts = function(e, t) {
2061
2062
  var n = this.start, r = this.startLoc, i = this.parseExprAtom(e, t);
@@ -2086,7 +2087,7 @@ I.parseExprSubscripts = function(e, t) {
2086
2087
  var u = this.startNodeAt(t, n);
2087
2088
  u.object = e, l ? (u.property = this.parseExpression(), this.expect(E.bracketR)) : u.property = this.type === E.privateId && e.type !== "Super" ? this.parsePrivateIdent() : this.parseIdent(this.options.allowReserved !== "never"), u.computed = !!l, s && (u.optional = c), e = this.finishNode(u, "MemberExpression");
2088
2089
  } else if (!r && this.eat(E.parenL)) {
2089
- var d = new We(), f = this.yieldPos, p = this.awaitPos, m = this.awaitIdentPos;
2090
+ var d = new Ge(), f = this.yieldPos, p = this.awaitPos, m = this.awaitIdentPos;
2090
2091
  this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0;
2091
2092
  var h = this.parseExprList(E.parenR, this.options.ecmaVersion >= 8, !1, d);
2092
2093
  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);
@@ -2170,7 +2171,7 @@ I.parseExprSubscripts = function(e, t) {
2170
2171
  var n = this.start, r = this.startLoc, i, a = this.options.ecmaVersion >= 8;
2171
2172
  if (this.options.ecmaVersion >= 6) {
2172
2173
  this.next();
2173
- var o = this.start, s = this.startLoc, c = [], l = !0, u = !1, d = new We(), f = this.yieldPos, p = this.awaitPos, m;
2174
+ var o = this.start, s = this.startLoc, c = [], l = !0, u = !1, d = new Ge(), f = this.yieldPos, p = this.awaitPos, m;
2174
2175
  for (this.yieldPos = 0, this.awaitPos = 0; this.type !== E.parenR;) {
2175
2176
  if (l ? l = !1 : this.expect(E.comma), a && this.afterTrailingComma(E.parenR, !0)) {
2176
2177
  u = !0;
@@ -2196,7 +2197,7 @@ I.parseExprSubscripts = function(e, t) {
2196
2197
  }, I.parseParenArrowList = function(e, t, n, r) {
2197
2198
  return this.parseArrowExpression(this.startNodeAt(e, t), n, !1, r);
2198
2199
  };
2199
- var nt = [];
2200
+ var rt = [];
2200
2201
  I.parseNew = function() {
2201
2202
  this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword new");
2202
2203
  var e = this.startNode();
@@ -2207,7 +2208,7 @@ I.parseNew = function() {
2207
2208
  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");
2208
2209
  }
2209
2210
  var r = this.start, i = this.startLoc;
2210
- return e.callee = this.parseSubscripts(this.parseExprAtom(null, !1, !0), r, i, !0, !1), e.callee.type === "Super" && this.raiseRecoverable(r, "Invalid use of 'super'"), e.arguments = this.eat(E.parenL) ? this.parseExprList(E.parenR, this.options.ecmaVersion >= 8, !1) : nt, this.finishNode(e, "NewExpression");
2211
+ return e.callee = this.parseSubscripts(this.parseExprAtom(null, !1, !0), r, i, !0, !1), e.callee.type === "Super" && this.raiseRecoverable(r, "Invalid use of 'super'"), e.arguments = this.eat(E.parenL) ? this.parseExprList(E.parenR, this.options.ecmaVersion >= 8, !1) : rt, this.finishNode(e, "NewExpression");
2211
2212
  }, I.parseTemplateElement = function(e) {
2212
2213
  var t = e.isTagged, n = this.startNode();
2213
2214
  return this.type === E.invalidTemplate ? (t || this.raiseRecoverable(this.start, "Bad escape sequence in untagged template literal"), n.value = {
@@ -2263,10 +2264,10 @@ I.parseNew = function() {
2263
2264
  e.id = null, this.options.ecmaVersion >= 6 && (e.generator = e.expression = !1), this.options.ecmaVersion >= 8 && (e.async = !1);
2264
2265
  }, I.parseMethod = function(e, t, n) {
2265
2266
  var r = this.startNode(), i = this.yieldPos, a = this.awaitPos, o = this.awaitIdentPos;
2266
- 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(Ie(t, r.generator) | Ae | (n ? je : 0)), this.expect(E.parenL), r.params = this.parseBindingList(E.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");
2267
+ 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(Le(t, r.generator) | je | (n ? Me : 0)), this.expect(E.parenL), r.params = this.parseBindingList(E.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");
2267
2268
  }, I.parseArrowExpression = function(e, t, n, r) {
2268
2269
  var i = this.yieldPos, a = this.awaitPos, o = this.awaitIdentPos;
2269
- return this.enterScope(Ie(n, !1) | Oe), 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");
2270
+ return this.enterScope(Le(n, !1) | ke), 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");
2270
2271
  }, I.parseFunctionBody = function(e, t, n, r) {
2271
2272
  var i = t && this.type !== E.braceL, a = this.strict, o = !1;
2272
2273
  if (i) e.body = this.parseMaybeAssign(r), e.expression = !0, this.checkParams(e, !1);
@@ -2274,7 +2275,7 @@ I.parseNew = function() {
2274
2275
  var s = this.options.ecmaVersion >= 7 && !this.isSimpleParamList(e.params);
2275
2276
  (!a || s) && (o = this.strictDirective(this.end), o && s && this.raiseRecoverable(e.start, "Illegal 'use strict' directive in function with non-simple parameter list"));
2276
2277
  var c = this.labels;
2277
- 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, He), e.body = this.parseBlock(!1, void 0, o && !a), e.expression = !1, this.adaptDirectivePrologue(e.body.body), this.labels = c;
2278
+ 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, Ue), e.body = this.parseBlock(!1, void 0, o && !a), e.expression = !1, this.adaptDirectivePrologue(e.body.body), this.labels = c;
2278
2279
  }
2279
2280
  this.exitScope();
2280
2281
  }, I.isSimpleParamList = function(e) {
@@ -2283,7 +2284,7 @@ I.parseNew = function() {
2283
2284
  }, I.checkParams = function(e, t) {
2284
2285
  for (var n = Object.create(null), r = 0, i = e.params; r < i.length; r += 1) {
2285
2286
  var a = i[r];
2286
- this.checkLValInnerPattern(a, Re, t ? null : n);
2287
+ this.checkLValInnerPattern(a, ze, t ? null : n);
2287
2288
  }
2288
2289
  }, I.parseExprList = function(e, t, n, r) {
2289
2290
  for (var i = [], a = !0; !this.eat(e);) {
@@ -2295,7 +2296,7 @@ I.parseNew = function() {
2295
2296
  return i;
2296
2297
  }, I.checkUnreserved = function(e) {
2297
2298
  var t = e.start, n = e.end, r = e.name;
2298
- 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 & Fe) && 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"));
2299
+ 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 & Ie) && 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"));
2299
2300
  }, I.parseIdent = function(e) {
2300
2301
  var t = this.parseIdentNode();
2301
2302
  return this.next(!!e), this.finishNode(t, "Identifier"), e || (this.checkUnreserved(t), t.name === "await" && !this.awaitIdentPos && (this.awaitIdentPos = t.start)), t;
@@ -2314,139 +2315,139 @@ I.parseNew = function() {
2314
2315
  var t = this.startNode();
2315
2316
  return this.next(), t.argument = this.parseMaybeUnary(null, !0, !1, e), this.finishNode(t, "AwaitExpression");
2316
2317
  };
2317
- var rt = k.prototype;
2318
- rt.raise = function(e, t) {
2319
- var n = ye(this.input, e);
2318
+ var it = k.prototype;
2319
+ it.raise = function(e, t) {
2320
+ var n = be(this.input, e);
2320
2321
  t += " (" + n.line + ":" + n.column + ")", this.sourceFile && (t += " in " + this.sourceFile);
2321
2322
  var r = SyntaxError(t);
2322
2323
  throw r.pos = e, r.loc = n, r.raisedAt = this.pos, r;
2323
- }, rt.raiseRecoverable = rt.raise, rt.curPosition = function() {
2324
- if (this.options.locations) return new _e(this.curLine, this.pos - this.lineStart);
2324
+ }, it.raiseRecoverable = it.raise, it.curPosition = function() {
2325
+ if (this.options.locations) return new ve(this.curLine, this.pos - this.lineStart);
2325
2326
  };
2326
- var it = k.prototype, at = function(e) {
2327
+ var at = k.prototype, ot = function(e) {
2327
2328
  this.flags = e, this.var = [], this.lexical = [], this.functions = [];
2328
2329
  };
2329
- it.enterScope = function(e) {
2330
- this.scopeStack.push(new at(e));
2331
- }, it.exitScope = function() {
2330
+ at.enterScope = function(e) {
2331
+ this.scopeStack.push(new ot(e));
2332
+ }, at.exitScope = function() {
2332
2333
  this.scopeStack.pop();
2333
- }, it.treatFunctionsAsVarInScope = function(e) {
2334
- return e.flags & Te || !this.inModule && e.flags & we;
2335
- }, it.declareName = function(e, t, n) {
2334
+ }, at.treatFunctionsAsVarInScope = function(e) {
2335
+ return e.flags & Ee || !this.inModule && e.flags & Te;
2336
+ }, at.declareName = function(e, t, n) {
2336
2337
  var r = !1;
2337
- if (t === ze) {
2338
+ if (t === Be) {
2338
2339
  var i = this.currentScope();
2339
- r = i.lexical.indexOf(e) > -1 || i.functions.indexOf(e) > -1 || i.var.indexOf(e) > -1, i.lexical.push(e), this.inModule && i.flags & we && delete this.undefinedExports[e];
2340
- } else if (t === Ve) this.currentScope().lexical.push(e);
2341
- else if (t === Be) {
2340
+ r = i.lexical.indexOf(e) > -1 || i.functions.indexOf(e) > -1 || i.var.indexOf(e) > -1, i.lexical.push(e), this.inModule && i.flags & Te && delete this.undefinedExports[e];
2341
+ } else if (t === He) this.currentScope().lexical.push(e);
2342
+ else if (t === Ve) {
2342
2343
  var a = this.currentScope();
2343
2344
  r = this.treatFunctionsAsVar ? a.lexical.indexOf(e) > -1 : a.lexical.indexOf(e) > -1 || a.var.indexOf(e) > -1, a.functions.push(e);
2344
2345
  } else for (var o = this.scopeStack.length - 1; o >= 0; --o) {
2345
2346
  var s = this.scopeStack[o];
2346
- if (s.lexical.indexOf(e) > -1 && !(s.flags & ke && s.lexical[0] === e) || !this.treatFunctionsAsVarInScope(s) && s.functions.indexOf(e) > -1) {
2347
+ if (s.lexical.indexOf(e) > -1 && !(s.flags & Ae && s.lexical[0] === e) || !this.treatFunctionsAsVarInScope(s) && s.functions.indexOf(e) > -1) {
2347
2348
  r = !0;
2348
2349
  break;
2349
2350
  }
2350
- if (s.var.push(e), this.inModule && s.flags & we && delete this.undefinedExports[e], s.flags & Fe) break;
2351
+ if (s.var.push(e), this.inModule && s.flags & Te && delete this.undefinedExports[e], s.flags & Ie) break;
2351
2352
  }
2352
2353
  r && this.raiseRecoverable(n, "Identifier '" + e + "' has already been declared");
2353
- }, it.checkLocalExport = function(e) {
2354
+ }, at.checkLocalExport = function(e) {
2354
2355
  this.scopeStack[0].lexical.indexOf(e.name) === -1 && this.scopeStack[0].var.indexOf(e.name) === -1 && (this.undefinedExports[e.name] = e);
2355
- }, it.currentScope = function() {
2356
+ }, at.currentScope = function() {
2356
2357
  return this.scopeStack[this.scopeStack.length - 1];
2357
- }, it.currentVarScope = function() {
2358
+ }, at.currentVarScope = function() {
2358
2359
  for (var e = this.scopeStack.length - 1;; e--) {
2359
2360
  var t = this.scopeStack[e];
2360
- if (t.flags & (Fe | Ne | Me)) return t;
2361
+ if (t.flags & (Ie | Pe | Ne)) return t;
2361
2362
  }
2362
- }, it.currentThisScope = function() {
2363
+ }, at.currentThisScope = function() {
2363
2364
  for (var e = this.scopeStack.length - 1;; e--) {
2364
2365
  var t = this.scopeStack[e];
2365
- if (t.flags & (Fe | Ne | Me) && !(t.flags & Oe)) return t;
2366
+ if (t.flags & (Ie | Pe | Ne) && !(t.flags & ke)) return t;
2366
2367
  }
2367
2368
  };
2368
- var ot = function(e, t, n) {
2369
- this.type = "", this.start = t, this.end = 0, e.options.locations && (this.loc = new ve(e, n)), e.options.directSourceFile && (this.sourceFile = e.options.directSourceFile), e.options.ranges && (this.range = [t, 0]);
2370
- }, st = k.prototype;
2371
- st.startNode = function() {
2372
- return new ot(this, this.start, this.startLoc);
2373
- }, st.startNodeAt = function(e, t) {
2374
- return new ot(this, e, t);
2369
+ var st = function(e, t, n) {
2370
+ this.type = "", this.start = t, this.end = 0, e.options.locations && (this.loc = new ye(e, n)), e.options.directSourceFile && (this.sourceFile = e.options.directSourceFile), e.options.ranges && (this.range = [t, 0]);
2371
+ }, ct = k.prototype;
2372
+ ct.startNode = function() {
2373
+ return new st(this, this.start, this.startLoc);
2374
+ }, ct.startNodeAt = function(e, t) {
2375
+ return new st(this, e, t);
2375
2376
  };
2376
- function ct(e, t, n, r) {
2377
+ function lt(e, t, n, r) {
2377
2378
  return e.type = t, e.end = n, this.options.locations && (e.loc.end = r), this.options.ranges && (e.range[1] = n), e;
2378
2379
  }
2379
- st.finishNode = function(e, t) {
2380
- return ct.call(this, e, t, this.lastTokEnd, this.lastTokEndLoc);
2381
- }, st.finishNodeAt = function(e, t, n, r) {
2382
- return ct.call(this, e, t, n, r);
2383
- }, st.copyNode = function(e) {
2384
- var t = new ot(this, e.start, this.startLoc);
2380
+ ct.finishNode = function(e, t) {
2381
+ return lt.call(this, e, t, this.lastTokEnd, this.lastTokEndLoc);
2382
+ }, ct.finishNodeAt = function(e, t, n, r) {
2383
+ return lt.call(this, e, t, n, r);
2384
+ }, ct.copyNode = function(e) {
2385
+ var t = new st(this, e.start, this.startLoc);
2385
2386
  for (var n in e) t[n] = e[n];
2386
2387
  return t;
2387
2388
  };
2388
- var lt = "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", ut = "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", dt = ut + " Extended_Pictographic", ft = dt, pt = ft + " EBase EComp EMod EPres ExtPict", mt = pt, ht = {
2389
- 9: ut,
2390
- 10: dt,
2391
- 11: ft,
2392
- 12: pt,
2393
- 13: mt,
2394
- 14: mt
2395
- }, gt = {
2389
+ var ut = "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", dt = "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", ft = dt + " Extended_Pictographic", pt = ft, mt = pt + " EBase EComp EMod EPres ExtPict", ht = mt, gt = {
2390
+ 9: dt,
2391
+ 10: ft,
2392
+ 11: pt,
2393
+ 12: mt,
2394
+ 13: ht,
2395
+ 14: ht
2396
+ }, _t = {
2396
2397
  9: "",
2397
2398
  10: "",
2398
2399
  11: "",
2399
2400
  12: "",
2400
2401
  13: "",
2401
2402
  14: "Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji"
2402
- }, _t = "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", vt = "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", yt = vt + " Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd", bt = yt + " Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho", xt = bt + " Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi", St = xt + " Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith", Ct = {
2403
- 9: vt,
2404
- 10: yt,
2405
- 11: bt,
2406
- 12: xt,
2407
- 13: St,
2408
- 14: St + " " + lt
2409
- }, wt = {};
2410
- function Tt(e) {
2411
- var t = wt[e] = {
2412
- binary: me(ht[e] + " " + _t),
2413
- binaryOfStrings: me(gt[e]),
2403
+ }, vt = "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", yt = "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", bt = yt + " Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd", xt = bt + " Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho", St = xt + " Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi", Ct = St + " Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith", wt = {
2404
+ 9: yt,
2405
+ 10: bt,
2406
+ 11: xt,
2407
+ 12: St,
2408
+ 13: Ct,
2409
+ 14: Ct + " " + ut
2410
+ }, Tt = {};
2411
+ function Et(e) {
2412
+ var t = Tt[e] = {
2413
+ binary: he(gt[e] + " " + vt),
2414
+ binaryOfStrings: he(_t[e]),
2414
2415
  nonBinary: {
2415
- General_Category: me(_t),
2416
- Script: me(Ct[e])
2416
+ General_Category: he(vt),
2417
+ Script: he(wt[e])
2417
2418
  }
2418
2419
  };
2419
2420
  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;
2420
2421
  }
2421
- for (var Et = 0, Dt = [
2422
+ for (var Dt = 0, Ot = [
2422
2423
  9,
2423
2424
  10,
2424
2425
  11,
2425
2426
  12,
2426
2427
  13,
2427
2428
  14
2428
- ]; Et < Dt.length; Et += 1) {
2429
- var Ot = Dt[Et];
2430
- Tt(Ot);
2429
+ ]; Dt < Ot.length; Dt += 1) {
2430
+ var kt = Ot[Dt];
2431
+ Et(kt);
2431
2432
  }
2432
- var L = k.prototype, kt = function(e, t) {
2433
+ var L = k.prototype, At = function(e, t) {
2433
2434
  this.parent = e, this.base = t || this;
2434
2435
  };
2435
- kt.prototype.separatedFrom = function(e) {
2436
+ At.prototype.separatedFrom = function(e) {
2436
2437
  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;
2437
2438
  return !1;
2438
- }, kt.prototype.sibling = function() {
2439
- return new kt(this.parent, this.base);
2439
+ }, At.prototype.sibling = function() {
2440
+ return new At(this.parent, this.base);
2440
2441
  };
2441
- var At = function(e) {
2442
- 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 = wt[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;
2442
+ var jt = function(e) {
2443
+ 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 = Tt[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;
2443
2444
  };
2444
- At.prototype.reset = function(e, t, n) {
2445
+ jt.prototype.reset = function(e, t, n) {
2445
2446
  var r = n.indexOf("v") !== -1, i = n.indexOf("u") !== -1;
2446
2447
  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);
2447
- }, At.prototype.raise = function(e) {
2448
+ }, jt.prototype.raise = function(e) {
2448
2449
  this.parser.raiseRecoverable(this.start, "Invalid regular expression: /" + this.source + "/: " + e);
2449
- }, At.prototype.at = function(e, t) {
2450
+ }, jt.prototype.at = function(e, t) {
2450
2451
  t === void 0 && (t = !1);
2451
2452
  var n = this.source, r = n.length;
2452
2453
  if (e >= r) return -1;
@@ -2454,21 +2455,21 @@ At.prototype.reset = function(e, t, n) {
2454
2455
  if (!(t || this.switchU) || i <= 55295 || i >= 57344 || e + 1 >= r) return i;
2455
2456
  var a = n.charCodeAt(e + 1);
2456
2457
  return a >= 56320 && a <= 57343 ? (i << 10) + a - 56613888 : i;
2457
- }, At.prototype.nextIndex = function(e, t) {
2458
+ }, jt.prototype.nextIndex = function(e, t) {
2458
2459
  t === void 0 && (t = !1);
2459
2460
  var n = this.source, r = n.length;
2460
2461
  if (e >= r) return r;
2461
2462
  var i = n.charCodeAt(e), a;
2462
2463
  return !(t || this.switchU) || i <= 55295 || i >= 57344 || e + 1 >= r || (a = n.charCodeAt(e + 1)) < 56320 || a > 57343 ? e + 1 : e + 2;
2463
- }, At.prototype.current = function(e) {
2464
+ }, jt.prototype.current = function(e) {
2464
2465
  return e === void 0 && (e = !1), this.at(this.pos, e);
2465
- }, At.prototype.lookahead = function(e) {
2466
+ }, jt.prototype.lookahead = function(e) {
2466
2467
  return e === void 0 && (e = !1), this.at(this.nextIndex(this.pos, e), e);
2467
- }, At.prototype.advance = function(e) {
2468
+ }, jt.prototype.advance = function(e) {
2468
2469
  e === void 0 && (e = !1), this.pos = this.nextIndex(this.pos, e);
2469
- }, At.prototype.eat = function(e, t) {
2470
+ }, jt.prototype.eat = function(e, t) {
2470
2471
  return t === void 0 && (t = !1), this.current(t) === e && (this.advance(t), !0);
2471
- }, At.prototype.eatChars = function(e, t) {
2472
+ }, jt.prototype.eatChars = function(e, t) {
2472
2473
  t === void 0 && (t = !1);
2473
2474
  for (var n = this.pos, r = 0, i = e; r < i.length; r += 1) {
2474
2475
  var a = i[r], o = this.at(n, t);
@@ -2483,12 +2484,12 @@ At.prototype.reset = function(e, t, n) {
2483
2484
  }
2484
2485
  this.options.ecmaVersion >= 15 && r && i && this.raise(e.start, "Invalid regular expression flag");
2485
2486
  };
2486
- function jt(e) {
2487
+ function Mt(e) {
2487
2488
  for (var t in e) return !0;
2488
2489
  return !1;
2489
2490
  }
2490
2491
  L.validateRegExpPattern = function(e) {
2491
- this.regexp_pattern(e), !e.switchN && this.options.ecmaVersion >= 9 && jt(e.groupNames) && (e.switchN = !0, this.regexp_pattern(e));
2492
+ this.regexp_pattern(e), !e.switchN && this.options.ecmaVersion >= 9 && Mt(e.groupNames) && (e.switchN = !0, this.regexp_pattern(e));
2492
2493
  }, L.regexp_pattern = function(e) {
2493
2494
  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");
2494
2495
  for (var t = 0, n = e.backReferenceNames; t < n.length; t += 1) {
@@ -2497,7 +2498,7 @@ L.validateRegExpPattern = function(e) {
2497
2498
  }
2498
2499
  }, L.regexp_disjunction = function(e) {
2499
2500
  var t = this.options.ecmaVersion >= 16;
2500
- for (t && (e.branchID = new kt(e.branchID, null)), this.regexp_alternative(e); e.eat(124);) t && (e.branchID = e.branchID.sibling()), this.regexp_alternative(e);
2501
+ for (t && (e.branchID = new At(e.branchID, null)), this.regexp_alternative(e); e.eat(124);) t && (e.branchID = e.branchID.sibling()), this.regexp_alternative(e);
2501
2502
  t && (e.branchID = e.branchID.parent), this.regexp_eatQuantifier(e, !0) && e.raise("Nothing to repeat"), e.eat(123) && e.raise("Lone quantifier brackets");
2502
2503
  }, L.regexp_alternative = function(e) {
2503
2504
  for (; e.pos < e.source.length && this.regexp_eatTerm(e););
@@ -2572,10 +2573,10 @@ L.validateRegExpPattern = function(e) {
2572
2573
  }
2573
2574
  return !1;
2574
2575
  }, L.regexp_eatModifiers = function(e) {
2575
- for (var t = "", n = 0; (n = e.current()) !== -1 && Mt(n);) t += he(n), e.advance();
2576
+ for (var t = "", n = 0; (n = e.current()) !== -1 && Nt(n);) t += ge(n), e.advance();
2576
2577
  return t;
2577
2578
  };
2578
- function Mt(e) {
2579
+ function Nt(e) {
2579
2580
  return e === 105 || e === 109 || e === 115;
2580
2581
  }
2581
2582
  L.regexp_eatExtendedAtom = function(e) {
@@ -2584,13 +2585,13 @@ L.regexp_eatExtendedAtom = function(e) {
2584
2585
  return this.regexp_eatBracedQuantifier(e, !0) && e.raise("Nothing to repeat"), !1;
2585
2586
  }, L.regexp_eatSyntaxCharacter = function(e) {
2586
2587
  var t = e.current();
2587
- return Nt(t) ? (e.lastIntValue = t, e.advance(), !0) : !1;
2588
+ return Pt(t) ? (e.lastIntValue = t, e.advance(), !0) : !1;
2588
2589
  };
2589
- function Nt(e) {
2590
+ function Pt(e) {
2590
2591
  return e === 36 || e >= 40 && e <= 43 || e === 46 || e === 63 || e >= 91 && e <= 94 || e >= 123 && e <= 125;
2591
2592
  }
2592
2593
  L.regexp_eatPatternCharacters = function(e) {
2593
- for (var t = e.pos, n = 0; (n = e.current()) !== -1 && !Nt(n);) e.advance();
2594
+ for (var t = e.pos, n = 0; (n = e.current()) !== -1 && !Pt(n);) e.advance();
2594
2595
  return e.pos !== t;
2595
2596
  }, L.regexp_eatExtendedPatternCharacter = function(e) {
2596
2597
  var t = e.current();
@@ -2613,22 +2614,22 @@ L.regexp_eatPatternCharacters = function(e) {
2613
2614
  return !1;
2614
2615
  }, L.regexp_eatRegExpIdentifierName = function(e) {
2615
2616
  if (e.lastStringValue = "", this.regexp_eatRegExpIdentifierStart(e)) {
2616
- for (e.lastStringValue += he(e.lastIntValue); this.regexp_eatRegExpIdentifierPart(e);) e.lastStringValue += he(e.lastIntValue);
2617
+ for (e.lastStringValue += ge(e.lastIntValue); this.regexp_eatRegExpIdentifierPart(e);) e.lastStringValue += ge(e.lastIntValue);
2617
2618
  return !0;
2618
2619
  }
2619
2620
  return !1;
2620
2621
  }, L.regexp_eatRegExpIdentifierStart = function(e) {
2621
2622
  var t = e.pos, n = this.options.ecmaVersion >= 11, r = e.current(n);
2622
- return e.advance(n), r === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(e, n) && (r = e.lastIntValue), Pt(r) ? (e.lastIntValue = r, !0) : (e.pos = t, !1);
2623
+ return e.advance(n), r === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(e, n) && (r = e.lastIntValue), Ft(r) ? (e.lastIntValue = r, !0) : (e.pos = t, !1);
2623
2624
  };
2624
- function Pt(e) {
2625
+ function Ft(e) {
2625
2626
  return y(e, !0) || e === 36 || e === 95;
2626
2627
  }
2627
2628
  L.regexp_eatRegExpIdentifierPart = function(e) {
2628
2629
  var t = e.pos, n = this.options.ecmaVersion >= 11, r = e.current(n);
2629
- return e.advance(n), r === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(e, n) && (r = e.lastIntValue), Ft(r) ? (e.lastIntValue = r, !0) : (e.pos = t, !1);
2630
+ return e.advance(n), r === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(e, n) && (r = e.lastIntValue), It(r) ? (e.lastIntValue = r, !0) : (e.pos = t, !1);
2630
2631
  };
2631
- function Ft(e) {
2632
+ function It(e) {
2632
2633
  return b(e, !0) || e === 36 || e === 95 || e === 8204 || e === 8205;
2633
2634
  }
2634
2635
  L.regexp_eatAtomEscape = function(e) {
@@ -2658,15 +2659,15 @@ L.regexp_eatAtomEscape = function(e) {
2658
2659
  }
2659
2660
  return !1;
2660
2661
  }, L.regexp_eatZero = function(e) {
2661
- return e.current() === 48 && !Kt(e.lookahead()) && (e.lastIntValue = 0, e.advance(), !0);
2662
+ return e.current() === 48 && !qt(e.lookahead()) && (e.lastIntValue = 0, e.advance(), !0);
2662
2663
  }, L.regexp_eatControlEscape = function(e) {
2663
2664
  var t = e.current();
2664
2665
  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);
2665
2666
  }, L.regexp_eatControlLetter = function(e) {
2666
2667
  var t = e.current();
2667
- return It(t) ? (e.lastIntValue = t % 32, e.advance(), !0) : !1;
2668
+ return Lt(t) ? (e.lastIntValue = t % 32, e.advance(), !0) : !1;
2668
2669
  };
2669
- function It(e) {
2670
+ function Lt(e) {
2670
2671
  return e >= 65 && e <= 90 || e >= 97 && e <= 122;
2671
2672
  }
2672
2673
  L.regexp_eatRegExpUnicodeEscapeSequence = function(e, t) {
@@ -2685,12 +2686,12 @@ L.regexp_eatRegExpUnicodeEscapeSequence = function(e, t) {
2685
2686
  }
2686
2687
  return !0;
2687
2688
  }
2688
- if (r && e.eat(123) && this.regexp_eatHexDigits(e) && e.eat(125) && Lt(e.lastIntValue)) return !0;
2689
+ if (r && e.eat(123) && this.regexp_eatHexDigits(e) && e.eat(125) && Rt(e.lastIntValue)) return !0;
2689
2690
  r && e.raise("Invalid unicode escape"), e.pos = n;
2690
2691
  }
2691
2692
  return !1;
2692
2693
  };
2693
- function Lt(e) {
2694
+ function Rt(e) {
2694
2695
  return e >= 0 && e <= 1114111;
2695
2696
  }
2696
2697
  L.regexp_eatIdentityEscape = function(e) {
@@ -2708,10 +2709,10 @@ L.regexp_eatIdentityEscape = function(e) {
2708
2709
  }
2709
2710
  return !1;
2710
2711
  };
2711
- var Rt = 0, zt = 1, R = 2;
2712
+ var zt = 0, Bt = 1, R = 2;
2712
2713
  L.regexp_eatCharacterClassEscape = function(e) {
2713
2714
  var t = e.current();
2714
- if (Bt(t)) return e.lastIntValue = -1, e.advance(), zt;
2715
+ if (Vt(t)) return e.lastIntValue = -1, e.advance(), Bt;
2715
2716
  var n = !1;
2716
2717
  if (e.switchU && this.options.ecmaVersion >= 9 && ((n = t === 80) || t === 112)) {
2717
2718
  e.lastIntValue = -1, e.advance();
@@ -2719,9 +2720,9 @@ L.regexp_eatCharacterClassEscape = function(e) {
2719
2720
  if (e.eat(123) && (r = this.regexp_eatUnicodePropertyValueExpression(e)) && e.eat(125)) return n && r === R && e.raise("Invalid property name"), r;
2720
2721
  e.raise("Invalid property name");
2721
2722
  }
2722
- return Rt;
2723
+ return zt;
2723
2724
  };
2724
- function Bt(e) {
2725
+ function Vt(e) {
2725
2726
  return e === 100 || e === 68 || e === 115 || e === 83 || e === 119 || e === 87;
2726
2727
  }
2727
2728
  L.regexp_eatUnicodePropertyValueExpression = function(e) {
@@ -2730,35 +2731,35 @@ L.regexp_eatUnicodePropertyValueExpression = function(e) {
2730
2731
  var n = e.lastStringValue;
2731
2732
  if (this.regexp_eatUnicodePropertyValue(e)) {
2732
2733
  var r = e.lastStringValue;
2733
- return this.regexp_validateUnicodePropertyNameAndValue(e, n, r), zt;
2734
+ return this.regexp_validateUnicodePropertyNameAndValue(e, n, r), Bt;
2734
2735
  }
2735
2736
  }
2736
2737
  if (e.pos = t, this.regexp_eatLoneUnicodePropertyNameOrValue(e)) {
2737
2738
  var i = e.lastStringValue;
2738
2739
  return this.regexp_validateUnicodePropertyNameOrValue(e, i);
2739
2740
  }
2740
- return Rt;
2741
+ return zt;
2741
2742
  }, L.regexp_validateUnicodePropertyNameAndValue = function(e, t, n) {
2742
- de(e.unicodeProperties.nonBinary, t) || e.raise("Invalid property name"), e.unicodeProperties.nonBinary[t].test(n) || e.raise("Invalid property value");
2743
+ fe(e.unicodeProperties.nonBinary, t) || e.raise("Invalid property name"), e.unicodeProperties.nonBinary[t].test(n) || e.raise("Invalid property value");
2743
2744
  }, L.regexp_validateUnicodePropertyNameOrValue = function(e, t) {
2744
- if (e.unicodeProperties.binary.test(t)) return zt;
2745
+ if (e.unicodeProperties.binary.test(t)) return Bt;
2745
2746
  if (e.switchV && e.unicodeProperties.binaryOfStrings.test(t)) return R;
2746
2747
  e.raise("Invalid property name");
2747
2748
  }, L.regexp_eatUnicodePropertyName = function(e) {
2748
2749
  var t = 0;
2749
- for (e.lastStringValue = ""; Vt(t = e.current());) e.lastStringValue += he(t), e.advance();
2750
+ for (e.lastStringValue = ""; Ht(t = e.current());) e.lastStringValue += ge(t), e.advance();
2750
2751
  return e.lastStringValue !== "";
2751
2752
  };
2752
- function Vt(e) {
2753
- return It(e) || e === 95;
2753
+ function Ht(e) {
2754
+ return Lt(e) || e === 95;
2754
2755
  }
2755
2756
  L.regexp_eatUnicodePropertyValue = function(e) {
2756
2757
  var t = 0;
2757
- for (e.lastStringValue = ""; Ht(t = e.current());) e.lastStringValue += he(t), e.advance();
2758
+ for (e.lastStringValue = ""; Ut(t = e.current());) e.lastStringValue += ge(t), e.advance();
2758
2759
  return e.lastStringValue !== "";
2759
2760
  };
2760
- function Ht(e) {
2761
- return Vt(e) || Kt(e);
2761
+ function Ut(e) {
2762
+ return Ht(e) || qt(e);
2762
2763
  }
2763
2764
  L.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
2764
2765
  return this.regexp_eatUnicodePropertyValue(e);
@@ -2769,7 +2770,7 @@ L.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
2769
2770
  }
2770
2771
  return !1;
2771
2772
  }, L.regexp_classContents = function(e) {
2772
- return e.current() === 93 ? zt : e.switchV ? this.regexp_classSetExpression(e) : (this.regexp_nonEmptyClassRanges(e), zt);
2773
+ return e.current() === 93 ? Bt : e.switchV ? this.regexp_classSetExpression(e) : (this.regexp_nonEmptyClassRanges(e), Bt);
2773
2774
  }, L.regexp_nonEmptyClassRanges = function(e) {
2774
2775
  for (; this.regexp_eatClassAtom(e);) {
2775
2776
  var t = e.lastIntValue;
@@ -2784,7 +2785,7 @@ L.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
2784
2785
  if (this.regexp_eatClassEscape(e)) return !0;
2785
2786
  if (e.switchU) {
2786
2787
  var n = e.current();
2787
- (n === 99 || Yt(n)) && e.raise("Invalid class escape"), e.raise("Invalid escape");
2788
+ (n === 99 || Xt(n)) && e.raise("Invalid class escape"), e.raise("Invalid escape");
2788
2789
  }
2789
2790
  e.pos = t;
2790
2791
  }
@@ -2800,13 +2801,13 @@ L.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
2800
2801
  }
2801
2802
  return this.regexp_eatCharacterClassEscape(e) || this.regexp_eatCharacterEscape(e);
2802
2803
  }, L.regexp_classSetExpression = function(e) {
2803
- var t = zt, n;
2804
+ var t = Bt, n;
2804
2805
  if (!this.regexp_eatClassSetRange(e)) {
2805
2806
  if (n = this.regexp_eatClassSetOperand(e)) {
2806
2807
  n === R && (t = R);
2807
2808
  for (var r = e.pos; e.eatChars([38, 38]);) {
2808
2809
  if (e.current() !== 38 && (n = this.regexp_eatClassSetOperand(e))) {
2809
- n !== R && (t = zt);
2810
+ n !== R && (t = Bt);
2810
2811
  continue;
2811
2812
  }
2812
2813
  e.raise("Invalid character in character class");
@@ -2832,7 +2833,7 @@ L.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
2832
2833
  }
2833
2834
  return !1;
2834
2835
  }, L.regexp_eatClassSetOperand = function(e) {
2835
- return this.regexp_eatClassSetCharacter(e) ? zt : this.regexp_eatClassStringDisjunction(e) || this.regexp_eatNestedClass(e);
2836
+ return this.regexp_eatClassSetCharacter(e) ? Bt : this.regexp_eatClassStringDisjunction(e) || this.regexp_eatNestedClass(e);
2836
2837
  }, L.regexp_eatNestedClass = function(e) {
2837
2838
  var t = e.pos;
2838
2839
  if (e.eat(91)) {
@@ -2861,29 +2862,29 @@ L.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
2861
2862
  return t;
2862
2863
  }, L.regexp_classString = function(e) {
2863
2864
  for (var t = 0; this.regexp_eatClassSetCharacter(e);) t++;
2864
- return t === 1 ? zt : R;
2865
+ return t === 1 ? Bt : R;
2865
2866
  }, L.regexp_eatClassSetCharacter = function(e) {
2866
2867
  var t = e.pos;
2867
2868
  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);
2868
2869
  var n = e.current();
2869
- return n < 0 || n === e.lookahead() && Ut(n) || Wt(n) ? !1 : (e.advance(), e.lastIntValue = n, !0);
2870
+ return n < 0 || n === e.lookahead() && Wt(n) || Gt(n) ? !1 : (e.advance(), e.lastIntValue = n, !0);
2870
2871
  };
2871
- function Ut(e) {
2872
+ function Wt(e) {
2872
2873
  return e === 33 || e >= 35 && e <= 38 || e >= 42 && e <= 44 || e === 46 || e >= 58 && e <= 64 || e === 94 || e === 96 || e === 126;
2873
2874
  }
2874
- function Wt(e) {
2875
+ function Gt(e) {
2875
2876
  return e === 40 || e === 41 || e === 45 || e === 47 || e >= 91 && e <= 93 || e >= 123 && e <= 125;
2876
2877
  }
2877
2878
  L.regexp_eatClassSetReservedPunctuator = function(e) {
2878
2879
  var t = e.current();
2879
- return Gt(t) ? (e.lastIntValue = t, e.advance(), !0) : !1;
2880
+ return Kt(t) ? (e.lastIntValue = t, e.advance(), !0) : !1;
2880
2881
  };
2881
- function Gt(e) {
2882
+ function Kt(e) {
2882
2883
  return e === 33 || e === 35 || e === 37 || e === 38 || e === 44 || e === 45 || e >= 58 && e <= 62 || e === 64 || e === 96 || e === 126;
2883
2884
  }
2884
2885
  L.regexp_eatClassControlLetter = function(e) {
2885
2886
  var t = e.current();
2886
- return Kt(t) || t === 95 ? (e.lastIntValue = t % 32, e.advance(), !0) : !1;
2887
+ return qt(t) || t === 95 ? (e.lastIntValue = t % 32, e.advance(), !0) : !1;
2887
2888
  }, L.regexp_eatHexEscapeSequence = function(e) {
2888
2889
  var t = e.pos;
2889
2890
  if (e.eat(120)) {
@@ -2893,21 +2894,21 @@ L.regexp_eatClassControlLetter = function(e) {
2893
2894
  return !1;
2894
2895
  }, L.regexp_eatDecimalDigits = function(e) {
2895
2896
  var t = e.pos, n = 0;
2896
- for (e.lastIntValue = 0; Kt(n = e.current());) e.lastIntValue = 10 * e.lastIntValue + (n - 48), e.advance();
2897
+ for (e.lastIntValue = 0; qt(n = e.current());) e.lastIntValue = 10 * e.lastIntValue + (n - 48), e.advance();
2897
2898
  return e.pos !== t;
2898
2899
  };
2899
- function Kt(e) {
2900
+ function qt(e) {
2900
2901
  return e >= 48 && e <= 57;
2901
2902
  }
2902
2903
  L.regexp_eatHexDigits = function(e) {
2903
2904
  var t = e.pos, n = 0;
2904
- for (e.lastIntValue = 0; qt(n = e.current());) e.lastIntValue = 16 * e.lastIntValue + Jt(n), e.advance();
2905
+ for (e.lastIntValue = 0; Jt(n = e.current());) e.lastIntValue = 16 * e.lastIntValue + Yt(n), e.advance();
2905
2906
  return e.pos !== t;
2906
2907
  };
2907
- function qt(e) {
2908
+ function Jt(e) {
2908
2909
  return e >= 48 && e <= 57 || e >= 65 && e <= 70 || e >= 97 && e <= 102;
2909
2910
  }
2910
- function Jt(e) {
2911
+ function Yt(e) {
2911
2912
  return e >= 65 && e <= 70 ? 10 + (e - 65) : e >= 97 && e <= 102 ? 10 + (e - 97) : e - 48;
2912
2913
  }
2913
2914
  L.regexp_eatLegacyOctalEscapeSequence = function(e) {
@@ -2922,9 +2923,9 @@ L.regexp_eatLegacyOctalEscapeSequence = function(e) {
2922
2923
  return !1;
2923
2924
  }, L.regexp_eatOctalDigit = function(e) {
2924
2925
  var t = e.current();
2925
- return Yt(t) ? (e.lastIntValue = t - 48, e.advance(), !0) : (e.lastIntValue = 0, !1);
2926
+ return Xt(t) ? (e.lastIntValue = t - 48, e.advance(), !0) : (e.lastIntValue = 0, !1);
2926
2927
  };
2927
- function Yt(e) {
2928
+ function Xt(e) {
2928
2929
  return e >= 48 && e <= 55;
2929
2930
  }
2930
2931
  L.regexp_eatFixedHexDigits = function(e, t) {
@@ -2932,18 +2933,18 @@ L.regexp_eatFixedHexDigits = function(e, t) {
2932
2933
  e.lastIntValue = 0;
2933
2934
  for (var r = 0; r < t; ++r) {
2934
2935
  var i = e.current();
2935
- if (!qt(i)) return e.pos = n, !1;
2936
- e.lastIntValue = 16 * e.lastIntValue + Jt(i), e.advance();
2936
+ if (!Jt(i)) return e.pos = n, !1;
2937
+ e.lastIntValue = 16 * e.lastIntValue + Yt(i), e.advance();
2937
2938
  }
2938
2939
  return !0;
2939
2940
  };
2940
- var Xt = function(e) {
2941
- this.type = e.type, this.value = e.value, this.start = e.start, this.end = e.end, e.options.locations && (this.loc = new ve(e, e.startLoc, e.endLoc)), e.options.ranges && (this.range = [e.start, e.end]);
2941
+ var Zt = function(e) {
2942
+ this.type = e.type, this.value = e.value, this.start = e.start, this.end = e.end, e.options.locations && (this.loc = new ye(e, e.startLoc, e.endLoc)), e.options.ranges && (this.range = [e.start, e.end]);
2942
2943
  }, z = k.prototype;
2943
2944
  z.next = function(e) {
2944
- !e && this.type.keyword && this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword " + this.type.keyword), this.options.onToken && this.options.onToken(new Xt(this)), this.lastTokEnd = this.end, this.lastTokStart = this.start, this.lastTokEndLoc = this.endLoc, this.lastTokStartLoc = this.startLoc, this.nextToken();
2945
+ !e && this.type.keyword && this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword " + this.type.keyword), this.options.onToken && this.options.onToken(new Zt(this)), this.lastTokEnd = this.end, this.lastTokStart = this.start, this.lastTokEndLoc = this.endLoc, this.lastTokStartLoc = this.startLoc, this.nextToken();
2945
2946
  }, z.getToken = function() {
2946
- return this.next(), new Xt(this);
2947
+ return this.next(), new Zt(this);
2947
2948
  }, typeof Symbol < "u" && (z[Symbol.iterator] = function() {
2948
2949
  var e = this;
2949
2950
  return { next: function() {
@@ -2969,10 +2970,10 @@ z.next = function(e) {
2969
2970
  return this.fullCharCodeAt(this.pos);
2970
2971
  }, z.skipBlockComment = function() {
2971
2972
  var e = this.options.onComment && this.curPosition(), t = this.pos, n = this.input.indexOf("*/", this.pos += 2);
2972
- 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 = oe(this.input, i, this.pos)) > -1;) ++this.curLine, i = this.lineStart = r;
2973
+ 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 = se(this.input, i, this.pos)) > -1;) ++this.curLine, i = this.lineStart = r;
2973
2974
  this.options.onComment && this.options.onComment(!0, this.input.slice(t + 2, n), t, this.pos, e, this.curPosition());
2974
2975
  }, z.skipLineComment = function(e) {
2975
- for (var t = this.pos, n = this.options.onComment && this.curPosition(), r = this.input.charCodeAt(this.pos += e); this.pos < this.input.length && !ae(r);) r = this.input.charCodeAt(++this.pos);
2976
+ for (var t = this.pos, n = this.options.onComment && this.curPosition(), r = this.input.charCodeAt(this.pos += e); this.pos < this.input.length && !oe(r);) r = this.input.charCodeAt(++this.pos);
2976
2977
  this.options.onComment && this.options.onComment(!1, this.input.slice(t + e, this.pos), t, this.pos, n, this.curPosition());
2977
2978
  }, z.skipSpace = function() {
2978
2979
  loop: for (; this.pos < this.input.length;) {
@@ -2999,7 +3000,7 @@ z.next = function(e) {
2999
3000
  default: break loop;
3000
3001
  }
3001
3002
  break;
3002
- default: if (e > 8 && e < 14 || e >= 5760 && se.test(String.fromCharCode(e))) ++this.pos;
3003
+ default: if (e > 8 && e < 14 || e >= 5760 && ce.test(String.fromCharCode(e))) ++this.pos;
3003
3004
  else break loop;
3004
3005
  }
3005
3006
  }
@@ -3046,7 +3047,7 @@ z.next = function(e) {
3046
3047
  }, z.readToken_numberSign = function() {
3047
3048
  var e = this.options.ecmaVersion, t = 35;
3048
3049
  if (e >= 13 && (++this.pos, t = this.fullCharCodeAtPos(), y(t, !0) || t === 92)) return this.finishToken(E.privateId, this.readWord1());
3049
- this.raise(this.pos, "Unexpected character '" + he(t) + "'");
3050
+ this.raise(this.pos, "Unexpected character '" + ge(t) + "'");
3050
3051
  }, z.getTokenFromCode = function(e) {
3051
3052
  switch (e) {
3052
3053
  case 46: return this.readToken_dot();
@@ -3096,7 +3097,7 @@ z.next = function(e) {
3096
3097
  case 126: return this.finishOp(E.prefix, 1);
3097
3098
  case 35: return this.readToken_numberSign();
3098
3099
  }
3099
- this.raise(this.pos, "Unexpected character '" + he(e) + "'");
3100
+ this.raise(this.pos, "Unexpected character '" + ge(e) + "'");
3100
3101
  }, z.finishOp = function(e, t) {
3101
3102
  var n = this.input.slice(this.pos, this.pos + t);
3102
3103
  return this.pos += t, this.finishToken(e, n);
@@ -3117,7 +3118,7 @@ z.next = function(e) {
3117
3118
  ++this.pos;
3118
3119
  var a = this.pos, o = this.readWord1();
3119
3120
  this.containsEsc && this.unexpected(a);
3120
- var s = this.regexpState ||= new At(this);
3121
+ var s = this.regexpState ||= new jt(this);
3121
3122
  s.reset(n, i, o), this.validateRegExpFlags(s), this.validateRegExpPattern(s);
3122
3123
  var c = null;
3123
3124
  try {
@@ -3140,17 +3141,17 @@ z.next = function(e) {
3140
3141
  }
3141
3142
  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;
3142
3143
  };
3143
- function Zt(e, t) {
3144
+ function Qt(e, t) {
3144
3145
  return t ? parseInt(e, 8) : parseFloat(e.replace(/_/g, ""));
3145
3146
  }
3146
- function Qt(e) {
3147
+ function $t(e) {
3147
3148
  return typeof BigInt == "function" ? BigInt(e.replace(/_/g, "")) : null;
3148
3149
  }
3149
3150
  z.readRadixNumber = function(e) {
3150
3151
  var t = this.pos;
3151
3152
  this.pos += 2;
3152
3153
  var n = this.readInt(e);
3153
- return n ?? this.raise(this.start + 2, "Expected number in radix " + e), this.options.ecmaVersion >= 11 && this.input.charCodeAt(this.pos) === 110 ? (n = Qt(this.input.slice(t, this.pos)), ++this.pos) : y(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(E.num, n);
3154
+ return n ?? this.raise(this.start + 2, "Expected number in radix " + e), this.options.ecmaVersion >= 11 && this.input.charCodeAt(this.pos) === 110 ? (n = $t(this.input.slice(t, this.pos)), ++this.pos) : y(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(E.num, n);
3154
3155
  }, z.readNumber = function(e) {
3155
3156
  var t = this.pos;
3156
3157
  !e && this.readInt(10, void 0, !0) === null && this.raise(t, "Invalid number");
@@ -3158,11 +3159,11 @@ z.readRadixNumber = function(e) {
3158
3159
  n && this.strict && this.raise(t, "Invalid number");
3159
3160
  var r = this.input.charCodeAt(this.pos);
3160
3161
  if (!n && !e && this.options.ecmaVersion >= 11 && r === 110) {
3161
- var i = Qt(this.input.slice(t, this.pos));
3162
+ var i = $t(this.input.slice(t, this.pos));
3162
3163
  return ++this.pos, y(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(E.num, i);
3163
3164
  }
3164
3165
  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")), y(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number");
3165
- var a = Zt(this.input.slice(t, this.pos), n);
3166
+ var a = Qt(this.input.slice(t, this.pos), n);
3166
3167
  return this.finishToken(E.num, a);
3167
3168
  }, z.readCodePoint = function() {
3168
3169
  var e = this.input.charCodeAt(this.pos), t;
@@ -3177,22 +3178,22 @@ z.readRadixNumber = function(e) {
3177
3178
  this.pos >= this.input.length && this.raise(this.start, "Unterminated string constant");
3178
3179
  var r = this.input.charCodeAt(this.pos);
3179
3180
  if (r === e) break;
3180
- 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)) : (ae(r) && this.raise(this.start, "Unterminated string constant"), ++this.pos);
3181
+ 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)) : (oe(r) && this.raise(this.start, "Unterminated string constant"), ++this.pos);
3181
3182
  }
3182
3183
  return t += this.input.slice(n, this.pos++), this.finishToken(E.string, t);
3183
3184
  };
3184
- var $t = {};
3185
+ var en = {};
3185
3186
  z.tryReadTemplateToken = function() {
3186
3187
  this.inTemplateElement = !0;
3187
3188
  try {
3188
3189
  this.readTmplToken();
3189
3190
  } catch (e) {
3190
- if (e === $t) this.readInvalidTemplateToken();
3191
+ if (e === en) this.readInvalidTemplateToken();
3191
3192
  else throw e;
3192
3193
  }
3193
3194
  this.inTemplateElement = !1;
3194
3195
  }, z.invalidStringToken = function(e, t) {
3195
- if (this.inTemplateElement && this.options.ecmaVersion >= 9) throw $t;
3196
+ if (this.inTemplateElement && this.options.ecmaVersion >= 9) throw en;
3196
3197
  this.raise(e, t);
3197
3198
  }, z.readTmplToken = function() {
3198
3199
  for (var e = "", t = this.pos;;) {
@@ -3200,7 +3201,7 @@ z.tryReadTemplateToken = function() {
3200
3201
  var n = this.input.charCodeAt(this.pos);
3201
3202
  if (n === 96 || n === 36 && this.input.charCodeAt(this.pos + 1) === 123) return this.pos === this.start && (this.type === E.template || this.type === E.invalidTemplate) ? n === 36 ? (this.pos += 2, this.finishToken(E.dollarBraceL)) : (++this.pos, this.finishToken(E.backQuote)) : (e += this.input.slice(t, this.pos), this.finishToken(E.template, e));
3202
3203
  if (n === 92) e += this.input.slice(t, this.pos), e += this.readEscapedChar(!0), t = this.pos;
3203
- else if (ae(n)) {
3204
+ else if (oe(n)) {
3204
3205
  switch (e += this.input.slice(t, this.pos), ++this.pos, n) {
3205
3206
  case 13: this.input.charCodeAt(this.pos) === 10 && ++this.pos;
3206
3207
  case 10:
@@ -3230,7 +3231,7 @@ z.tryReadTemplateToken = function() {
3230
3231
  case 110: return "\n";
3231
3232
  case 114: return "\r";
3232
3233
  case 120: return String.fromCharCode(this.readHexChar(2));
3233
- case 117: return he(this.readCodePoint());
3234
+ case 117: return ge(this.readCodePoint());
3234
3235
  case 116: return " ";
3235
3236
  case 98: return "\b";
3236
3237
  case 118: return "\v";
@@ -3247,7 +3248,7 @@ z.tryReadTemplateToken = function() {
3247
3248
  var r = this.input.substr(this.pos - 1, 3).match(/^[0-7]+/)[0], i = parseInt(r, 8);
3248
3249
  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);
3249
3250
  }
3250
- return ae(t) ? (this.options.locations && (this.lineStart = this.pos, ++this.curLine), "") : String.fromCharCode(t);
3251
+ return oe(t) ? (this.options.locations && (this.lineStart = this.pos, ++this.curLine), "") : String.fromCharCode(t);
3251
3252
  }
3252
3253
  }, z.readHexChar = function(e) {
3253
3254
  var t = this.pos, n = this.readInt(16, e);
@@ -3262,49 +3263,49 @@ z.tryReadTemplateToken = function() {
3262
3263
  var a = this.pos;
3263
3264
  this.input.charCodeAt(++this.pos) !== 117 && this.invalidStringToken(this.pos, "Expecting Unicode escape sequence \\uXXXX"), ++this.pos;
3264
3265
  var o = this.readCodePoint();
3265
- (t ? y : b)(o, r) || this.invalidStringToken(a, "Invalid Unicode escape"), e += he(o), n = this.pos;
3266
+ (t ? y : b)(o, r) || this.invalidStringToken(a, "Invalid Unicode escape"), e += ge(o), n = this.pos;
3266
3267
  } else break;
3267
3268
  t = !1;
3268
3269
  }
3269
3270
  return e + this.input.slice(n, this.pos);
3270
3271
  }, z.readWord = function() {
3271
3272
  var e = this.readWord1(), t = E.name;
3272
- return this.keywords.test(e) && (t = re[e]), this.finishToken(t, e);
3273
+ return this.keywords.test(e) && (t = ie[e]), this.finishToken(t, e);
3273
3274
  };
3274
- var en = "8.18.0";
3275
+ var tn = "8.18.0";
3275
3276
  k.acorn = {
3276
3277
  Parser: k,
3277
- version: en,
3278
- defaultOptions: be,
3279
- Position: _e,
3280
- SourceLocation: ve,
3281
- getLineInfo: ye,
3282
- Node: ot,
3278
+ version: tn,
3279
+ defaultOptions: xe,
3280
+ Position: ve,
3281
+ SourceLocation: ye,
3282
+ getLineInfo: be,
3283
+ Node: st,
3283
3284
  TokenType: x,
3284
3285
  tokTypes: E,
3285
- keywordTypes: re,
3286
+ keywordTypes: ie,
3286
3287
  TokContext: P,
3287
3288
  tokContexts: F,
3288
3289
  isIdentifierChar: b,
3289
3290
  isIdentifierStart: y,
3290
- Token: Xt,
3291
- isNewLine: ae,
3291
+ Token: Zt,
3292
+ isNewLine: oe,
3292
3293
  lineBreak: D,
3293
- lineBreakG: ie,
3294
- nonASCIIwhitespace: se
3294
+ lineBreakG: ae,
3295
+ nonASCIIwhitespace: ce
3295
3296
  };
3296
- function tn(e, t) {
3297
+ function nn(e, t) {
3297
3298
  return k.parse(e, t);
3298
3299
  }
3299
- function nn(e, t, n) {
3300
+ function rn(e, t, n) {
3300
3301
  return k.parseExpressionAt(e, t, n);
3301
3302
  }
3302
- function rn(e, t) {
3303
+ function an(e, t) {
3303
3304
  return k.tokenizer(e, t);
3304
3305
  }
3305
3306
  //#endregion
3306
3307
  //#region node_modules/acorn-typescript/lib/index.mjs
3307
- function an(e, t) {
3308
+ function on(e, t) {
3308
3309
  for (var n = 0; n < t.length; n++) {
3309
3310
  var r = t[n];
3310
3311
  r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, typeof (i = function(e, t) {
@@ -3320,36 +3321,36 @@ function an(e, t) {
3320
3321
  }
3321
3322
  var i;
3322
3323
  }
3323
- function on() {
3324
- return on = Object.assign ? Object.assign.bind() : function(e) {
3324
+ function sn() {
3325
+ return sn = Object.assign ? Object.assign.bind() : function(e) {
3325
3326
  for (var t = 1; t < arguments.length; t++) {
3326
3327
  var n = arguments[t];
3327
3328
  for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
3328
3329
  }
3329
3330
  return e;
3330
- }, on.apply(this, arguments);
3331
- }
3332
- function sn(e, t) {
3333
- e.prototype = Object.create(t.prototype), e.prototype.constructor = e, cn(e, t);
3331
+ }, sn.apply(this, arguments);
3334
3332
  }
3335
3333
  function cn(e, t) {
3336
- return cn = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, t) {
3337
- return e.__proto__ = t, e;
3338
- }, cn(e, t);
3334
+ e.prototype = Object.create(t.prototype), e.prototype.constructor = e, ln(e, t);
3339
3335
  }
3340
3336
  function ln(e, t) {
3337
+ return ln = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, t) {
3338
+ return e.__proto__ = t, e;
3339
+ }, ln(e, t);
3340
+ }
3341
+ function un(e, t) {
3341
3342
  (t == null || t > e.length) && (t = e.length);
3342
3343
  for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
3343
3344
  return r;
3344
3345
  }
3345
- function un(e, t) {
3346
+ function dn(e, t) {
3346
3347
  var n = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
3347
3348
  if (n) return (n = n.call(e)).next.bind(n);
3348
3349
  if (Array.isArray(e) || (n = function(e, t) {
3349
3350
  if (e) {
3350
- if (typeof e == "string") return ln(e, t);
3351
+ if (typeof e == "string") return un(e, t);
3351
3352
  var n = Object.prototype.toString.call(e).slice(8, -1);
3352
- 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) ? ln(e, t) : void 0;
3353
+ 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) ? un(e, t) : void 0;
3353
3354
  }
3354
3355
  }(e)) || t && e && typeof e.length == "number") {
3355
3356
  n && (e = n);
@@ -3367,9 +3368,9 @@ var B = !0;
3367
3368
  function V(e, t) {
3368
3369
  return t === void 0 && (t = {}), new x("name", t);
3369
3370
  }
3370
- var dn = /* @__PURE__ */ new WeakMap();
3371
- function fn(e) {
3372
- var t = dn.get(e.Parser.acorn || e);
3371
+ var fn = /* @__PURE__ */ new WeakMap();
3372
+ function pn(e) {
3373
+ var t = fn.get(e.Parser.acorn || e);
3373
3374
  if (!t) {
3374
3375
  var n = {
3375
3376
  assert: V(0, { startsExpr: B }),
@@ -3402,18 +3403,18 @@ function fn(e) {
3402
3403
  var t = this.context.pop();
3403
3404
  t === i.tc_oTag && e === E.slash || t === i.tc_cTag ? (this.context.pop(), this.exprAllowed = this.curContext() === i.tc_expr) : this.exprAllowed = !0;
3404
3405
  }, t = {
3405
- tokTypes: on({}, n, r),
3406
- tokContexts: on({}, i),
3406
+ tokTypes: sn({}, n, r),
3407
+ tokContexts: sn({}, i),
3407
3408
  keywordsRegExp: a,
3408
3409
  tokenIsLiteralPropertyName: function(e) {
3409
3410
  return [
3410
3411
  E.name,
3411
3412
  E.string,
3412
3413
  E.num
3413
- ].concat(Object.values(re), Object.values(n)).includes(e);
3414
+ ].concat(Object.values(ie), Object.values(n)).includes(e);
3414
3415
  },
3415
3416
  tokenIsKeywordOrIdentifier: function(e) {
3416
- return [E.name].concat(Object.values(re), Object.values(n)).includes(e);
3417
+ return [E.name].concat(Object.values(ie), Object.values(n)).includes(e);
3417
3418
  },
3418
3419
  tokenIsIdentifier: function(e) {
3419
3420
  return [].concat(Object.values(n), [E.name]).includes(e);
@@ -3443,14 +3444,14 @@ function fn(e) {
3443
3444
  }
3444
3445
  return t;
3445
3446
  }
3446
- var pn = 1024, mn = RegExp("(?=(" + (/* @__PURE__ */ RegExp("(?:[^\\S\\n\\r\\u2028\\u2029]|\\/\\/.*|\\/\\*.*?\\*\\/)*", "y")).source + "))\\1(?=[\\n\\r\\u2028\\u2029]|\\/\\*(?!.*?\\*\\/)|$)", "y"), hn = function() {
3447
+ var mn = 1024, hn = RegExp("(?=(" + (/* @__PURE__ */ RegExp("(?:[^\\S\\n\\r\\u2028\\u2029]|\\/\\/.*|\\/\\*.*?\\*\\/)*", "y")).source + "))\\1(?=[\\n\\r\\u2028\\u2029]|\\/\\*(?!.*?\\*\\/)|$)", "y"), gn = function() {
3447
3448
  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;
3448
3449
  };
3449
- function gn(e, t) {
3450
+ function _n(e, t) {
3450
3451
  var n = t.key.name, r = e[n], i = "true";
3451
3452
  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);
3452
3453
  }
3453
- function _n(e, t) {
3454
+ function vn(e, t) {
3454
3455
  var n = e.key;
3455
3456
  return !e.computed && (n.type === "Identifier" && n.name === t || n.type === "Literal" && n.value === t);
3456
3457
  }
@@ -3555,7 +3556,7 @@ var H = {
3555
3556
  return "Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got " + e.type + ".";
3556
3557
  },
3557
3558
  LetInLexicalBinding: "'let' is not allowed to be used as a name in 'let' or 'const' declarations."
3558
- }, vn = {
3559
+ }, yn = {
3559
3560
  quot: "\"",
3560
3561
  amp: "&",
3561
3562
  apos: "'",
@@ -3809,43 +3810,43 @@ var H = {
3809
3810
  clubs: "♣",
3810
3811
  hearts: "♥",
3811
3812
  diams: "♦"
3812
- }, yn = /^[\da-fA-F]+$/, bn = /^\d+$/;
3813
- function xn(e) {
3814
- return e && (e.type === "JSXIdentifier" ? e.name : e.type === "JSXNamespacedName" ? e.namespace.name + ":" + e.name.name : e.type === "JSXMemberExpression" ? xn(e.object) + "." + xn(e.property) : void 0);
3813
+ }, bn = /^[\da-fA-F]+$/, xn = /^\d+$/;
3814
+ function Sn(e) {
3815
+ return e && (e.type === "JSXIdentifier" ? e.name : e.type === "JSXNamespacedName" ? e.namespace.name + ":" + e.name.name : e.type === "JSXMemberExpression" ? Sn(e.object) + "." + Sn(e.property) : void 0);
3815
3816
  }
3816
- var Sn = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;
3817
- function Cn(e) {
3817
+ var Cn = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;
3818
+ function wn(e) {
3818
3819
  if (!e) throw Error("Assert fail");
3819
3820
  }
3820
- function wn(e) {
3821
+ function Tn(e) {
3821
3822
  return e === "accessor";
3822
3823
  }
3823
- function Tn(e) {
3824
+ function En(e) {
3824
3825
  return e === "in" || e === "out";
3825
3826
  }
3826
- function En(e, t) {
3827
+ function Dn(e, t) {
3827
3828
  return 2 | (e ? 4 : 0) | (t ? 8 : 0);
3828
3829
  }
3829
- function Dn(e) {
3830
+ function On(e) {
3830
3831
  if (e.type !== "MemberExpression") return !1;
3831
3832
  var t = e.property;
3832
- return (!e.computed || !(t.type !== "TemplateLiteral" || t.expressions.length > 0)) && On(e.object);
3833
- }
3834
- function On(e) {
3835
- return e.type === "Identifier" || e.type === "MemberExpression" && !e.computed && On(e.object);
3833
+ return (!e.computed || !(t.type !== "TemplateLiteral" || t.expressions.length > 0)) && kn(e.object);
3836
3834
  }
3837
3835
  function kn(e) {
3838
- return e === "private" || e === "public" || e === "protected";
3836
+ return e.type === "Identifier" || e.type === "MemberExpression" && !e.computed && kn(e.object);
3839
3837
  }
3840
3838
  function An(e) {
3839
+ return e === "private" || e === "public" || e === "protected";
3840
+ }
3841
+ function jn(e) {
3841
3842
  var t = e || {}, n = t.dts, r = n !== void 0 && n, i = t.allowSatisfies, a = i !== void 0 && i;
3842
3843
  return function(t) {
3843
- var n = t.acorn || u, i = fn(n), o = n.tokTypes, s = n.keywordTypes, c = n.isIdentifierStart, l = n.lineBreak, d = n.isNewLine, f = n.tokContexts, p = n.isIdentifierChar, m = i.tokTypes, h = i.tokContexts, g = i.keywordsRegExp, _ = i.tokenIsLiteralPropertyName, ee = i.tokenIsTemplate, te = i.tokenIsTSDeclarationStart, v = i.tokenIsIdentifier, ne = i.tokenIsKeywordOrIdentifier, y = i.tokenIsTSTypeOperator;
3844
- function b(e, t, n) {
3844
+ var n = t.acorn || d, i = pn(n), o = n.tokTypes, s = n.keywordTypes, c = n.isIdentifierStart, l = n.lineBreak, u = n.isNewLine, f = n.tokContexts, p = n.isIdentifierChar, m = i.tokTypes, h = i.tokContexts, g = i.keywordsRegExp, _ = i.tokenIsLiteralPropertyName, ee = i.tokenIsTemplate, te = i.tokenIsTSDeclarationStart, v = i.tokenIsIdentifier, ne = i.tokenIsKeywordOrIdentifier, re = i.tokenIsTSTypeOperator;
3845
+ function y(e, t, n) {
3845
3846
  n === void 0 && (n = e.length);
3846
3847
  for (var r = t; r < n; r++) {
3847
3848
  var i = e.charCodeAt(r);
3848
- if (d(i)) return r < n - 1 && i === 13 && e.charCodeAt(r + 1) === 10 ? r + 2 : r + 1;
3849
+ if (u(i)) return r < n - 1 && i === 13 && e.charCodeAt(r + 1) === 10 ? r + 2 : r + 1;
3849
3850
  }
3850
3851
  return -1;
3851
3852
  }
@@ -3855,7 +3856,7 @@ function An(e) {
3855
3856
  function t() {
3856
3857
  return e.apply(this, arguments) || this;
3857
3858
  }
3858
- sn(t, e);
3859
+ cn(t, e);
3859
3860
  var n = t.prototype;
3860
3861
  return n.takeDecorators = function(e) {
3861
3862
  var t = this.decoratorStack[this.decoratorStack.length - 1];
@@ -3898,7 +3899,7 @@ function An(e) {
3898
3899
  function t() {
3899
3900
  return e.apply(this, arguments) || this;
3900
3901
  }
3901
- sn(t, e);
3902
+ cn(t, e);
3902
3903
  var n = t.prototype;
3903
3904
  return n.jsx_readToken = function() {
3904
3905
  for (var e = "", t = this.pos;;) {
@@ -3931,7 +3932,7 @@ function An(e) {
3931
3932
  r !== "&" && this.raise(this.pos, "Entity must start with an ampersand");
3932
3933
  for (var i = ++this.pos; this.pos < this.input.length && n++ < 10;) {
3933
3934
  if ((r = this.input[this.pos++]) === ";") {
3934
- t[0] === "#" ? t[1] === "x" ? (t = t.substr(2), yn.test(t) && (e = String.fromCharCode(parseInt(t, 16)))) : (t = t.substr(1), bn.test(t) && (e = String.fromCharCode(parseInt(t, 10)))) : e = vn[t];
3935
+ t[0] === "#" ? t[1] === "x" ? (t = t.substr(2), bn.test(t) && (e = String.fromCharCode(parseInt(t, 16)))) : (t = t.substr(1), xn.test(t) && (e = String.fromCharCode(parseInt(t, 10)))) : e = yn[t];
3935
3936
  break;
3936
3937
  }
3937
3938
  t += r;
@@ -4005,7 +4006,7 @@ function An(e) {
4005
4006
  break;
4006
4007
  default: this.unexpected();
4007
4008
  }
4008
- xn(s.name) !== xn(o.name) && this.raise(s.start, "Expected corresponding JSX closing tag for <" + xn(o.name) + ">");
4009
+ Sn(s.name) !== Sn(o.name) && this.raise(s.start, "Expected corresponding JSX closing tag for <" + Sn(o.name) + ">");
4009
4010
  }
4010
4011
  var c = o.name ? "Element" : "Fragment";
4011
4012
  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);
@@ -4023,7 +4024,7 @@ function An(e) {
4023
4024
  function t() {
4024
4025
  return e.apply(this, arguments) || this;
4025
4026
  }
4026
- sn(t, e);
4027
+ cn(t, e);
4027
4028
  var n = t.prototype;
4028
4029
  return n.parseMaybeImportAttributes = function(e) {
4029
4030
  if (this.type === i._with || this.type === r.assert) {
@@ -4057,11 +4058,11 @@ function An(e) {
4057
4058
  errorTemplate: H.InvalidModifierOnTypeParameterPositions
4058
4059
  }), i;
4059
4060
  }
4060
- sn(t, e);
4061
- var u, x, S, C = t.prototype;
4062
- return C.getTokenFromCodeInType = function(t) {
4061
+ cn(t, e);
4062
+ var d, b, x, S = t.prototype;
4063
+ return S.getTokenFromCodeInType = function(t) {
4063
4064
  return t === 62 || t === 60 ? this.finishOp(o.relational, 1) : e.prototype.getTokenFromCode.call(this, t);
4064
- }, C.readToken = function(t) {
4065
+ }, S.readToken = function(t) {
4065
4066
  if (!this.inType) {
4066
4067
  var n = this.curContext();
4067
4068
  if (n === h.tc_expr) return this.jsx_readToken();
@@ -4073,13 +4074,13 @@ function An(e) {
4073
4074
  if (t === 60 && this.exprAllowed && this.input.charCodeAt(this.pos + 1) !== 33) return ++this.pos, this.finishToken(m.jsxTagStart);
4074
4075
  }
4075
4076
  return e.prototype.readToken.call(this, t);
4076
- }, C.getTokenFromCode = function(t) {
4077
+ }, S.getTokenFromCode = function(t) {
4077
4078
  return this.inType ? this.getTokenFromCodeInType(t) : t === 64 ? (++this.pos, this.finishToken(m.at)) : e.prototype.getTokenFromCode.call(this, t);
4078
- }, C.isAbstractClass = function() {
4079
+ }, S.isAbstractClass = function() {
4079
4080
  return this.ts_isContextual(m.abstract) && this.lookahead().type === o._class;
4080
- }, C.finishNode = function(t, n) {
4081
+ }, S.finishNode = function(t, n) {
4081
4082
  return t.type !== "" && t.end !== 0 ? t : e.prototype.finishNode.call(this, t, n);
4082
- }, C.tryParse = function(e, t) {
4083
+ }, S.tryParse = function(e, t) {
4083
4084
  t === void 0 && (t = this.cloneCurLookaheadState());
4084
4085
  var n = { node: null };
4085
4086
  try {
@@ -4110,37 +4111,37 @@ function An(e) {
4110
4111
  };
4111
4112
  throw e;
4112
4113
  }
4113
- }, C.setOptionalParametersError = function(e, t) {
4114
+ }, S.setOptionalParametersError = function(e, t) {
4114
4115
  e.optionalParametersLoc = t?.loc ?? this.startLoc;
4115
- }, C.reScan_lt_gt = function() {
4116
+ }, S.reScan_lt_gt = function() {
4116
4117
  this.type === o.relational && (--this.pos, this.readToken_lt_gt(this.fullCharCodeAtPos()));
4117
- }, C.reScan_lt = function() {
4118
+ }, S.reScan_lt = function() {
4118
4119
  var e = this.type;
4119
4120
  return e === o.bitShift ? (this.pos -= 2, this.finishOp(o.relational, 1), o.relational) : e;
4120
- }, C.resetEndLocation = function(e, t) {
4121
+ }, S.resetEndLocation = function(e, t) {
4121
4122
  t === void 0 && (t = this.lastTokEndLoc), e.end = t.column, e.loc.end = t, this.options.ranges && (e.range[1] = t.column);
4122
- }, C.startNodeAtNode = function(t) {
4123
+ }, S.startNodeAtNode = function(t) {
4123
4124
  return e.prototype.startNodeAt.call(this, t.start, t.loc.start);
4124
- }, C.nextTokenStart = function() {
4125
+ }, S.nextTokenStart = function() {
4125
4126
  return this.nextTokenStartSince(this.pos);
4126
- }, C.tsHasSomeModifiers = function(e, t) {
4127
+ }, S.tsHasSomeModifiers = function(e, t) {
4127
4128
  return t.some(function(t) {
4128
- return kn(t) ? e.accessibility === t : !!e[t];
4129
+ return An(t) ? e.accessibility === t : !!e[t];
4129
4130
  });
4130
- }, C.tsIsStartOfStaticBlocks = function() {
4131
+ }, S.tsIsStartOfStaticBlocks = function() {
4131
4132
  return this.isContextual("static") && this.lookaheadCharCode() === 123;
4132
- }, C.tsCheckForInvalidTypeCasts = function(e) {
4133
+ }, S.tsCheckForInvalidTypeCasts = function(e) {
4133
4134
  var t = this;
4134
4135
  e.forEach(function(e) {
4135
4136
  e?.type === "TSTypeCastExpression" && t.raise(e.typeAnnotation.start, H.UnexpectedTypeAnnotation);
4136
4137
  });
4137
- }, C.atPossibleAsyncArrow = function(e) {
4138
+ }, S.atPossibleAsyncArrow = function(e) {
4138
4139
  return e.type === "Identifier" && e.name === "async" && this.lastTokEndLoc.column === e.end && !this.canInsertSemicolon() && e.end - e.start == 5 && e.start === this.potentialArrowAt;
4139
- }, C.tsIsIdentifier = function() {
4140
+ }, S.tsIsIdentifier = function() {
4140
4141
  return v(this.type);
4141
- }, C.tsTryParseTypeOrTypePredicateAnnotation = function() {
4142
+ }, S.tsTryParseTypeOrTypePredicateAnnotation = function() {
4142
4143
  return this.match(o.colon) ? this.tsParseTypeOrTypePredicateAnnotation(o.colon) : void 0;
4143
- }, C.tsTryParseGenericAsyncArrowFunction = function(t, n, r) {
4144
+ }, S.tsTryParseGenericAsyncArrowFunction = function(t, n, r) {
4144
4145
  var i = this;
4145
4146
  if (this.tsMatchLeftRelational()) {
4146
4147
  var a = this.maybeInArrowParameters;
@@ -4151,9 +4152,9 @@ function An(e) {
4151
4152
  });
4152
4153
  if (this.maybeInArrowParameters = a, s) return e.prototype.parseArrowExpression.call(this, s, null, !0, r);
4153
4154
  }
4154
- }, C.tsParseTypeArgumentsInExpression = function() {
4155
+ }, S.tsParseTypeArgumentsInExpression = function() {
4155
4156
  if (this.reScan_lt() === o.relational) return this.tsParseTypeArguments();
4156
- }, C.tsInNoContext = function(e) {
4157
+ }, S.tsInNoContext = function(e) {
4157
4158
  var t = this.context;
4158
4159
  this.context = [t[0]];
4159
4160
  try {
@@ -4161,30 +4162,30 @@ function An(e) {
4161
4162
  } finally {
4162
4163
  this.context = t;
4163
4164
  }
4164
- }, C.tsTryParseTypeAnnotation = function() {
4165
+ }, S.tsTryParseTypeAnnotation = function() {
4165
4166
  return this.match(o.colon) ? this.tsParseTypeAnnotation() : void 0;
4166
- }, C.isUnparsedContextual = function(e, t) {
4167
+ }, S.isUnparsedContextual = function(e, t) {
4167
4168
  var n = e + t.length;
4168
4169
  if (this.input.slice(e, n) === t) {
4169
4170
  var r = this.input.charCodeAt(n);
4170
4171
  return !(p(r) || (64512 & r) == 55296);
4171
4172
  }
4172
4173
  return !1;
4173
- }, C.isAbstractConstructorSignature = function() {
4174
+ }, S.isAbstractConstructorSignature = function() {
4174
4175
  return this.ts_isContextual(m.abstract) && this.lookahead().type === o._new;
4175
- }, C.nextTokenStartSince = function(e) {
4176
- return Sn.lastIndex = e, Sn.test(this.input) ? Sn.lastIndex : e;
4177
- }, C.lookaheadCharCode = function() {
4176
+ }, S.nextTokenStartSince = function(e) {
4177
+ return Cn.lastIndex = e, Cn.test(this.input) ? Cn.lastIndex : e;
4178
+ }, S.lookaheadCharCode = function() {
4178
4179
  return this.input.charCodeAt(this.nextTokenStart());
4179
- }, C.compareLookaheadState = function(e, t) {
4180
+ }, S.compareLookaheadState = function(e, t) {
4180
4181
  for (var n = 0, r = Object.keys(e); n < r.length; n++) {
4181
4182
  var i = r[n];
4182
4183
  if (e[i] !== t[i]) return !1;
4183
4184
  }
4184
4185
  return !0;
4185
- }, C.createLookaheadState = function() {
4186
+ }, S.createLookaheadState = function() {
4186
4187
  this.value = null, this.context = [this.curContext()];
4187
- }, C.getCurLookaheadState = function() {
4188
+ }, S.getCurLookaheadState = function() {
4188
4189
  return {
4189
4190
  endLoc: this.endLoc,
4190
4191
  lastTokEnd: this.lastTokEnd,
@@ -4203,7 +4204,7 @@ function An(e) {
4203
4204
  curPosition: this.curPosition,
4204
4205
  containsEsc: this.containsEsc
4205
4206
  };
4206
- }, C.cloneCurLookaheadState = function() {
4207
+ }, S.cloneCurLookaheadState = function() {
4207
4208
  return {
4208
4209
  pos: this.pos,
4209
4210
  value: this.value,
@@ -4222,43 +4223,43 @@ function An(e) {
4222
4223
  curPosition: this.curPosition,
4223
4224
  containsEsc: this.containsEsc
4224
4225
  };
4225
- }, C.setLookaheadState = function(e) {
4226
+ }, S.setLookaheadState = function(e) {
4226
4227
  this.pos = e.pos, this.value = e.value, this.endLoc = e.endLoc, this.lastTokEnd = e.lastTokEnd, this.lastTokStart = e.lastTokStart, this.lastTokStartLoc = e.lastTokStartLoc, this.type = e.type, this.start = e.start, this.end = e.end, this.context = e.context, this.startLoc = e.startLoc, this.lastTokEndLoc = e.lastTokEndLoc, this.curLine = e.curLine, this.lineStart = e.lineStart, this.curPosition = e.curPosition, this.containsEsc = e.containsEsc;
4227
- }, C.tsLookAhead = function(e) {
4228
+ }, S.tsLookAhead = function(e) {
4228
4229
  var t = this.getCurLookaheadState(), n = e();
4229
4230
  return this.setLookaheadState(t), n;
4230
- }, C.lookahead = function(e) {
4231
+ }, S.lookahead = function(e) {
4231
4232
  var t = this.getCurLookaheadState();
4232
4233
  if (this.createLookaheadState(), this.isLookahead = !0, e !== void 0) for (var n = 0; n < e; n++) this.nextToken();
4233
4234
  else this.nextToken();
4234
4235
  this.isLookahead = !1;
4235
4236
  var r = this.getCurLookaheadState();
4236
4237
  return this.setLookaheadState(t), r;
4237
- }, C.readWord = function() {
4238
+ }, S.readWord = function() {
4238
4239
  var e = this.readWord1(), t = o.name;
4239
4240
  return this.keywords.test(e) ? t = s[e] : new RegExp(g).test(e) && (t = m[e]), this.finishToken(t, e);
4240
- }, C.skipBlockComment = function() {
4241
+ }, S.skipBlockComment = function() {
4241
4242
  var e;
4242
4243
  this.isLookahead || (e = this.options.onComment && this.curPosition());
4243
4244
  var t = this.pos, n = this.input.indexOf("*/", this.pos += 2);
4244
- if (n === -1 && this.raise(this.pos - 2, "Unterminated comment"), this.pos = n + 2, this.options.locations) for (var r, i = t; (r = b(this.input, i, this.pos)) > -1;) ++this.curLine, i = this.lineStart = r;
4245
+ if (n === -1 && this.raise(this.pos - 2, "Unterminated comment"), this.pos = n + 2, this.options.locations) for (var r, i = t; (r = y(this.input, i, this.pos)) > -1;) ++this.curLine, i = this.lineStart = r;
4245
4246
  this.isLookahead || this.options.onComment && this.options.onComment(!0, this.input.slice(t + 2, n), t, this.pos, e, this.curPosition());
4246
- }, C.skipLineComment = function(e) {
4247
+ }, S.skipLineComment = function(e) {
4247
4248
  var t, n = this.pos;
4248
4249
  this.isLookahead || (t = this.options.onComment && this.curPosition());
4249
- for (var r = this.input.charCodeAt(this.pos += e); this.pos < this.input.length && !d(r);) r = this.input.charCodeAt(++this.pos);
4250
+ for (var r = this.input.charCodeAt(this.pos += e); this.pos < this.input.length && !u(r);) r = this.input.charCodeAt(++this.pos);
4250
4251
  this.isLookahead || this.options.onComment && this.options.onComment(!1, this.input.slice(n + e, this.pos), n, this.pos, t, this.curPosition());
4251
- }, C.finishToken = function(e, t) {
4252
+ }, S.finishToken = function(e, t) {
4252
4253
  this.preValue = this.value, this.preToken = this.type, this.end = this.pos, this.options.locations && (this.endLoc = this.curPosition());
4253
4254
  var n = this.type;
4254
4255
  this.type = e, this.value = t, this.isLookahead || this.updateContext(n);
4255
- }, C.resetStartLocation = function(e, t, n) {
4256
+ }, S.resetStartLocation = function(e, t, n) {
4256
4257
  e.start = t, e.loc.start = n, this.options.ranges && (e.range[0] = t);
4257
- }, C.isLineTerminator = function() {
4258
+ }, S.isLineTerminator = function() {
4258
4259
  return this.eat(o.semi) || e.prototype.canInsertSemicolon.call(this);
4259
- }, C.hasFollowingLineBreak = function() {
4260
- return mn.lastIndex = this.end, mn.test(this.input);
4261
- }, C.addExtra = function(e, t, n, r) {
4260
+ }, S.hasFollowingLineBreak = function() {
4261
+ return hn.lastIndex = this.end, hn.test(this.input);
4262
+ }, S.addExtra = function(e, t, n, r) {
4262
4263
  if (r === void 0 && (r = !0), e) {
4263
4264
  var i = e.extra = e.extra || {};
4264
4265
  r ? i[t] = n : Object.defineProperty(i, t, {
@@ -4266,30 +4267,30 @@ function An(e) {
4266
4267
  value: n
4267
4268
  });
4268
4269
  }
4269
- }, C.isLiteralPropertyName = function() {
4270
+ }, S.isLiteralPropertyName = function() {
4270
4271
  return _(this.type);
4271
- }, C.hasPrecedingLineBreak = function() {
4272
+ }, S.hasPrecedingLineBreak = function() {
4272
4273
  return l.test(this.input.slice(this.lastTokEndLoc.index, this.start));
4273
- }, C.createIdentifier = function(e, t) {
4274
+ }, S.createIdentifier = function(e, t) {
4274
4275
  return e.name = t, this.finishNode(e, "Identifier");
4275
- }, C.resetStartLocationFromNode = function(e, t) {
4276
+ }, S.resetStartLocationFromNode = function(e, t) {
4276
4277
  this.resetStartLocation(e, t.start, t.loc.start);
4277
- }, C.isThisParam = function(e) {
4278
+ }, S.isThisParam = function(e) {
4278
4279
  return e.type === "Identifier" && e.name === "this";
4279
- }, C.isLookaheadContextual = function(e) {
4280
+ }, S.isLookaheadContextual = function(e) {
4280
4281
  var t = this.nextTokenStart();
4281
4282
  return this.isUnparsedContextual(t, e);
4282
- }, C.ts_type_isContextual = function(e, t) {
4283
+ }, S.ts_type_isContextual = function(e, t) {
4283
4284
  return e === t && !this.containsEsc;
4284
- }, C.ts_isContextual = function(e) {
4285
+ }, S.ts_isContextual = function(e) {
4285
4286
  return this.type === e && !this.containsEsc;
4286
- }, C.ts_isContextualWithState = function(e, t) {
4287
+ }, S.ts_isContextualWithState = function(e, t) {
4287
4288
  return e.type === t && !e.containsEsc;
4288
- }, C.isContextualWithState = function(e, t) {
4289
+ }, S.isContextualWithState = function(e, t) {
4289
4290
  return t.type === o.name && t.value === e && !t.containsEsc;
4290
- }, C.tsIsStartOfMappedType = function() {
4291
+ }, S.tsIsStartOfMappedType = function() {
4291
4292
  return this.next(), this.eat(o.plusMin) ? this.ts_isContextual(m.readonly) : (this.ts_isContextual(m.readonly) && this.next(), !!this.match(o.bracketL) && (this.next(), !!this.tsIsIdentifier() && (this.next(), this.match(o._in))));
4292
- }, C.tsInDisallowConditionalTypesContext = function(e) {
4293
+ }, S.tsInDisallowConditionalTypesContext = function(e) {
4293
4294
  var t = this.inDisallowConditionalTypesContext;
4294
4295
  this.inDisallowConditionalTypesContext = !0;
4295
4296
  try {
@@ -4297,19 +4298,19 @@ function An(e) {
4297
4298
  } finally {
4298
4299
  this.inDisallowConditionalTypesContext = t;
4299
4300
  }
4300
- }, C.tsTryParseType = function() {
4301
+ }, S.tsTryParseType = function() {
4301
4302
  return this.tsEatThenParseType(o.colon);
4302
- }, C.match = function(e) {
4303
+ }, S.match = function(e) {
4303
4304
  return this.type === e;
4304
- }, C.matchJsx = function(e) {
4305
+ }, S.matchJsx = function(e) {
4305
4306
  return this.type === i.tokTypes[e];
4306
- }, C.ts_eatWithState = function(e, t, n) {
4307
+ }, S.ts_eatWithState = function(e, t, n) {
4307
4308
  if (e === n.type) {
4308
4309
  for (var r = 0; r < t; r++) this.next();
4309
4310
  return !0;
4310
4311
  }
4311
4312
  return !1;
4312
- }, C.ts_eatContextualWithState = function(e, t, n) {
4313
+ }, S.ts_eatContextualWithState = function(e, t, n) {
4313
4314
  if (g.test(e)) {
4314
4315
  if (this.ts_isContextualWithState(n, m[e])) {
4315
4316
  for (var r = 0; r < t; r++) this.next();
@@ -4320,37 +4321,37 @@ function An(e) {
4320
4321
  if (!this.isContextualWithState(e, n)) return !1;
4321
4322
  for (var i = 0; i < t; i++) this.next();
4322
4323
  return !0;
4323
- }, C.canHaveLeadingDecorator = function() {
4324
+ }, S.canHaveLeadingDecorator = function() {
4324
4325
  return this.match(o._class);
4325
- }, C.eatContextual = function(t) {
4326
+ }, S.eatContextual = function(t) {
4326
4327
  return g.test(t) ? !!this.ts_isContextual(m[t]) && (this.next(), !0) : e.prototype.eatContextual.call(this, t);
4327
- }, C.tsIsExternalModuleReference = function() {
4328
+ }, S.tsIsExternalModuleReference = function() {
4328
4329
  return this.isContextual("require") && this.lookaheadCharCode() === 40;
4329
- }, C.tsParseExternalModuleReference = function() {
4330
+ }, S.tsParseExternalModuleReference = function() {
4330
4331
  var e = this.startNode();
4331
4332
  return this.expectContextual("require"), this.expect(o.parenL), this.match(o.string) || this.unexpected(), e.expression = this.parseExprAtom(), this.expect(o.parenR), this.finishNode(e, "TSExternalModuleReference");
4332
- }, C.tsParseEntityName = function(e) {
4333
+ }, S.tsParseEntityName = function(e) {
4333
4334
  e === void 0 && (e = !0);
4334
4335
  for (var t = this.parseIdent(e); this.eat(o.dot);) {
4335
4336
  var n = this.startNodeAtNode(t);
4336
4337
  n.left = t, n.right = this.parseIdent(e), t = this.finishNode(n, "TSQualifiedName");
4337
4338
  }
4338
4339
  return t;
4339
- }, C.tsParseEnumMember = function() {
4340
+ }, S.tsParseEnumMember = function() {
4340
4341
  var e = this.startNode();
4341
4342
  return e.id = this.match(o.string) ? this.parseLiteral(this.value) : this.parseIdent(!0), this.eat(o.eq) && (e.initializer = this.parseMaybeAssign()), this.finishNode(e, "TSEnumMember");
4342
- }, C.tsParseEnumDeclaration = function(e, t) {
4343
+ }, S.tsParseEnumDeclaration = function(e, t) {
4343
4344
  return t === void 0 && (t = {}), t.const && (e.const = !0), t.declare && (e.declare = !0), this.expectContextual("enum"), e.id = this.parseIdent(), this.checkLValSimple(e.id), this.expect(o.braceL), e.members = this.tsParseDelimitedList("EnumMembers", this.tsParseEnumMember.bind(this)), this.expect(o.braceR), this.finishNode(e, "TSEnumDeclaration");
4344
- }, C.tsParseModuleBlock = function() {
4345
+ }, S.tsParseModuleBlock = function() {
4345
4346
  var t = this.startNode();
4346
4347
  for (e.prototype.enterScope.call(this, 512), this.expect(o.braceL), t.body = []; this.type !== o.braceR;) {
4347
4348
  var n = this.parseStatement(null, !0);
4348
4349
  t.body.push(n);
4349
4350
  }
4350
4351
  return this.next(), e.prototype.exitScope.call(this), this.finishNode(t, "TSModuleBlock");
4351
- }, C.tsParseAmbientExternalModuleDeclaration = function(t) {
4352
- return this.ts_isContextual(m.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, pn), t.body = this.tsParseModuleBlock(), e.prototype.exitScope.call(this)) : e.prototype.semicolon.call(this), this.finishNode(t, "TSModuleDeclaration");
4353
- }, C.tsTryParseDeclare = function(e) {
4352
+ }, S.tsParseAmbientExternalModuleDeclaration = function(t) {
4353
+ return this.ts_isContextual(m.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, mn), t.body = this.tsParseModuleBlock(), e.prototype.exitScope.call(this)) : e.prototype.semicolon.call(this), this.finishNode(t, "TSModuleDeclaration");
4354
+ }, S.tsTryParseDeclare = function(e) {
4354
4355
  var t = this;
4355
4356
  if (!this.isLineTerminator()) {
4356
4357
  var n, r = this.type;
@@ -4370,7 +4371,7 @@ function An(e) {
4370
4371
  return v(r) ? t.tsParseDeclaration(e, t.value, !0) : void 0;
4371
4372
  });
4372
4373
  }
4373
- }, C.tsIsListTerminator = function(e) {
4374
+ }, S.tsIsListTerminator = function(e) {
4374
4375
  switch (e) {
4375
4376
  case "EnumMembers":
4376
4377
  case "TypeMembers": return this.match(o.braceR);
@@ -4378,7 +4379,7 @@ function An(e) {
4378
4379
  case "TupleElementTypes": return this.match(o.bracketR);
4379
4380
  case "TypeParametersOrArguments": return this.tsMatchRightRelational();
4380
4381
  }
4381
- }, C.tsParseDelimitedListWorker = function(e, t, n, r) {
4382
+ }, S.tsParseDelimitedListWorker = function(e, t, n, r) {
4382
4383
  for (var i = [], a = -1; !this.tsIsListTerminator(e);) {
4383
4384
  a = -1;
4384
4385
  var s = t();
@@ -4391,35 +4392,35 @@ function An(e) {
4391
4392
  a = this.lastTokStart;
4392
4393
  }
4393
4394
  return r && (r.value = a), i;
4394
- }, C.tsParseDelimitedList = function(e, t, n) {
4395
+ }, S.tsParseDelimitedList = function(e, t, n) {
4395
4396
  return function(e) {
4396
4397
  if (e == null) throw Error("Unexpected " + e + " value.");
4397
4398
  return e;
4398
4399
  }(this.tsParseDelimitedListWorker(e, t, !0, n));
4399
- }, C.tsParseBracketedList = function(e, t, n, r, i) {
4400
+ }, S.tsParseBracketedList = function(e, t, n, r, i) {
4400
4401
  r || this.expect(n ? o.bracketL : o.relational);
4401
4402
  var a = this.tsParseDelimitedList(e, t, i);
4402
4403
  return this.expect(n ? o.bracketR : o.relational), a;
4403
- }, C.tsParseTypeParameterName = function() {
4404
+ }, S.tsParseTypeParameterName = function() {
4404
4405
  return this.parseIdent().name;
4405
- }, C.tsEatThenParseType = function(e) {
4406
+ }, S.tsEatThenParseType = function(e) {
4406
4407
  return this.match(e) ? this.tsNextThenParseType() : void 0;
4407
- }, C.tsExpectThenParseType = function(e) {
4408
+ }, S.tsExpectThenParseType = function(e) {
4408
4409
  var t = this;
4409
4410
  return this.tsDoThenParseType(function() {
4410
4411
  return t.expect(e);
4411
4412
  });
4412
- }, C.tsNextThenParseType = function() {
4413
+ }, S.tsNextThenParseType = function() {
4413
4414
  var e = this;
4414
4415
  return this.tsDoThenParseType(function() {
4415
4416
  return e.next();
4416
4417
  });
4417
- }, C.tsDoThenParseType = function(e) {
4418
+ }, S.tsDoThenParseType = function(e) {
4418
4419
  var t = this;
4419
4420
  return this.tsInType(function() {
4420
4421
  return e(), t.tsParseType();
4421
4422
  });
4422
- }, C.tsSkipParameterStart = function() {
4423
+ }, S.tsSkipParameterStart = function() {
4423
4424
  if (v(this.type) || this.match(o._this)) return this.next(), !0;
4424
4425
  if (this.match(o.braceL)) try {
4425
4426
  return this.parseObj(!0), !0;
@@ -4435,11 +4436,11 @@ function An(e) {
4435
4436
  }
4436
4437
  }
4437
4438
  return !1;
4438
- }, C.tsIsUnambiguouslyStartOfFunctionType = function() {
4439
+ }, S.tsIsUnambiguouslyStartOfFunctionType = function() {
4439
4440
  return this.next(), !!(this.match(o.parenR) || this.match(o.ellipsis) || this.tsSkipParameterStart() && (this.match(o.colon) || this.match(o.comma) || this.match(o.question) || this.match(o.eq) || this.match(o.parenR) && (this.next(), this.match(o.arrow))));
4440
- }, C.tsIsStartOfFunctionType = function() {
4441
+ }, S.tsIsStartOfFunctionType = function() {
4441
4442
  return !!this.tsMatchLeftRelational() || this.match(o.parenL) && this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this));
4442
- }, C.tsInAllowConditionalTypesContext = function(e) {
4443
+ }, S.tsInAllowConditionalTypesContext = function(e) {
4443
4444
  var t = this.inDisallowConditionalTypesContext;
4444
4445
  this.inDisallowConditionalTypesContext = !1;
4445
4446
  try {
@@ -4447,34 +4448,34 @@ function An(e) {
4447
4448
  } finally {
4448
4449
  this.inDisallowConditionalTypesContext = t;
4449
4450
  }
4450
- }, C.tsParseBindingListForSignature = function() {
4451
+ }, S.tsParseBindingListForSignature = function() {
4451
4452
  var t = this;
4452
4453
  return e.prototype.parseBindingList.call(this, o.parenR, !0, !0).map(function(e) {
4453
4454
  return e.type !== "Identifier" && e.type !== "RestElement" && e.type !== "ObjectPattern" && e.type !== "ArrayPattern" && t.raise(e.start, H.UnsupportedSignatureParameterKind(e.type)), e;
4454
4455
  });
4455
- }, C.tsParseTypePredicateAsserts = function() {
4456
+ }, S.tsParseTypePredicateAsserts = function() {
4456
4457
  if (this.type !== m.asserts) return !1;
4457
4458
  var e = this.containsEsc;
4458
4459
  return this.next(), !(!v(this.type) && !this.match(o._this) || (e && this.raise(this.lastTokStart, "Escape sequence in keyword asserts"), 0));
4459
- }, C.tsParseThisTypeNode = function() {
4460
+ }, S.tsParseThisTypeNode = function() {
4460
4461
  var e = this.startNode();
4461
4462
  return this.next(), this.finishNode(e, "TSThisType");
4462
- }, C.tsParseTypeAnnotation = function(e, t) {
4463
+ }, S.tsParseTypeAnnotation = function(e, t) {
4463
4464
  var n = this;
4464
4465
  return e === void 0 && (e = !0), t === void 0 && (t = this.startNode()), this.tsInType(function() {
4465
4466
  e && n.expect(o.colon), t.typeAnnotation = n.tsParseType();
4466
4467
  }), this.finishNode(t, "TSTypeAnnotation");
4467
- }, C.tsParseThisTypePredicate = function(e) {
4468
+ }, S.tsParseThisTypePredicate = function(e) {
4468
4469
  this.next();
4469
4470
  var t = this.startNodeAtNode(e);
4470
4471
  return t.parameterName = e, t.typeAnnotation = this.tsParseTypeAnnotation(!1), t.asserts = !1, this.finishNode(t, "TSTypePredicate");
4471
- }, C.tsParseThisTypeOrThisTypePredicate = function() {
4472
+ }, S.tsParseThisTypeOrThisTypePredicate = function() {
4472
4473
  var e = this.tsParseThisTypeNode();
4473
4474
  return this.isContextual("is") && !this.hasPrecedingLineBreak() ? this.tsParseThisTypePredicate(e) : e;
4474
- }, C.tsParseTypePredicatePrefix = function() {
4475
+ }, S.tsParseTypePredicatePrefix = function() {
4475
4476
  var e = this.parseIdent();
4476
4477
  if (this.isContextual("is") && !this.hasPrecedingLineBreak()) return this.next(), e;
4477
- }, C.tsParseTypeOrTypePredicateAnnotation = function(e) {
4478
+ }, S.tsParseTypeOrTypePredicateAnnotation = function(e) {
4478
4479
  var t = this;
4479
4480
  return this.tsInType(function() {
4480
4481
  var n = t.startNode();
@@ -4489,35 +4490,35 @@ function An(e) {
4489
4490
  var c = t.tsParseTypeAnnotation(!1);
4490
4491
  return r.parameterName = s, r.typeAnnotation = c, r.asserts = i, n.typeAnnotation = t.finishNode(r, "TSTypePredicate"), t.finishNode(n, "TSTypeAnnotation");
4491
4492
  });
4492
- }, C.tsFillSignature = function(e, t) {
4493
+ }, S.tsFillSignature = function(e, t) {
4493
4494
  var n = e === o.arrow;
4494
4495
  t.typeParameters = this.tsTryParseTypeParameters(), this.expect(o.parenL), t.parameters = this.tsParseBindingListForSignature(), (n || this.match(e)) && (t.typeAnnotation = this.tsParseTypeOrTypePredicateAnnotation(e));
4495
- }, C.tsTryNextParseConstantContext = function() {
4496
+ }, S.tsTryNextParseConstantContext = function() {
4496
4497
  if (this.lookahead().type !== o._const) return null;
4497
4498
  this.next();
4498
4499
  var e = this.tsParseTypeReference();
4499
4500
  return e.typeParameters && this.raise(e.typeName.start, H.CannotFindName({ name: "const" })), e;
4500
- }, C.tsParseFunctionOrConstructorType = function(e, t) {
4501
+ }, S.tsParseFunctionOrConstructorType = function(e, t) {
4501
4502
  var n = this, r = this.startNode();
4502
4503
  return e === "TSConstructorType" && (r.abstract = !!t, t && this.next(), this.next()), this.tsInAllowConditionalTypesContext(function() {
4503
4504
  return n.tsFillSignature(o.arrow, r);
4504
4505
  }), this.finishNode(r, e);
4505
- }, C.tsParseUnionOrIntersectionType = function(e, t, n) {
4506
+ }, S.tsParseUnionOrIntersectionType = function(e, t, n) {
4506
4507
  var r = this.startNode(), i = this.eat(n), a = [];
4507
4508
  do
4508
4509
  a.push(t());
4509
4510
  while (this.eat(n));
4510
4511
  return a.length !== 1 || i ? (r.types = a, this.finishNode(r, e)) : a[0];
4511
- }, C.tsCheckTypeAnnotationForReadOnly = function(e) {
4512
+ }, S.tsCheckTypeAnnotationForReadOnly = function(e) {
4512
4513
  switch (e.typeAnnotation.type) {
4513
4514
  case "TSTupleType":
4514
4515
  case "TSArrayType": return;
4515
4516
  default: this.raise(e.start, H.UnexpectedReadonly);
4516
4517
  }
4517
- }, C.tsParseTypeOperator = function() {
4518
+ }, S.tsParseTypeOperator = function() {
4518
4519
  var e = this.startNode(), t = this.value;
4519
4520
  return this.next(), e.operator = t, e.typeAnnotation = this.tsParseTypeOperatorOrHigher(), t === "readonly" && this.tsCheckTypeAnnotationForReadOnly(e), this.finishNode(e, "TSTypeOperator");
4520
- }, C.tsParseConstraintForInferType = function() {
4521
+ }, S.tsParseConstraintForInferType = function() {
4521
4522
  var e = this;
4522
4523
  if (this.eat(o._extends)) {
4523
4524
  var t = this.tsInDisallowConditionalTypesContext(function() {
@@ -4525,14 +4526,14 @@ function An(e) {
4525
4526
  });
4526
4527
  if (this.inDisallowConditionalTypesContext || !this.match(o.question)) return t;
4527
4528
  }
4528
- }, C.tsParseInferType = function() {
4529
+ }, S.tsParseInferType = function() {
4529
4530
  var e = this, t = this.startNode();
4530
4531
  this.expectContextual("infer");
4531
4532
  var n = this.startNode();
4532
4533
  return n.name = this.tsParseTypeParameterName(), n.constraint = this.tsTryParse(function() {
4533
4534
  return e.tsParseConstraintForInferType();
4534
4535
  }), t.typeParameter = this.finishNode(n, "TSTypeParameter"), this.finishNode(t, "TSInferType");
4535
- }, C.tsParseLiteralTypeNode = function() {
4536
+ }, S.tsParseLiteralTypeNode = function() {
4536
4537
  var e = this, t = this.startNode();
4537
4538
  return t.literal = function() {
4538
4539
  switch (e.type) {
@@ -4543,22 +4544,22 @@ function An(e) {
4543
4544
  default: e.unexpected();
4544
4545
  }
4545
4546
  }(), this.finishNode(t, "TSLiteralType");
4546
- }, C.tsParseImportType = function() {
4547
+ }, S.tsParseImportType = function() {
4547
4548
  var e = this.startNode();
4548
4549
  return this.expect(o._import), this.expect(o.parenL), this.match(o.string) || this.raise(this.start, H.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");
4549
- }, C.tsParseTypeQuery = function() {
4550
+ }, S.tsParseTypeQuery = function() {
4550
4551
  var e = this.startNode();
4551
4552
  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");
4552
- }, C.tsParseMappedTypeParameter = function() {
4553
+ }, S.tsParseMappedTypeParameter = function() {
4553
4554
  var e = this.startNode();
4554
4555
  return e.name = this.tsParseTypeParameterName(), e.constraint = this.tsExpectThenParseType(o._in), this.finishNode(e, "TSTypeParameter");
4555
- }, C.tsParseMappedType = function() {
4556
+ }, S.tsParseMappedType = function() {
4556
4557
  var e = this.startNode();
4557
4558
  return this.expect(o.braceL), this.match(o.plusMin) ? (e.readonly = this.value, this.next(), this.expectContextual("readonly")) : this.eatContextual("readonly") && (e.readonly = !0), this.expect(o.bracketL), e.typeParameter = this.tsParseMappedTypeParameter(), e.nameType = this.eatContextual("as") ? this.tsParseType() : null, this.expect(o.bracketR), this.match(o.plusMin) ? (e.optional = this.value, this.next(), this.expect(o.question)) : this.eat(o.question) && (e.optional = !0), e.typeAnnotation = this.tsTryParseType(), this.semicolon(), this.expect(o.braceR), this.finishNode(e, "TSMappedType");
4558
- }, C.tsParseTypeLiteral = function() {
4559
+ }, S.tsParseTypeLiteral = function() {
4559
4560
  var e = this.startNode();
4560
4561
  return e.members = this.tsParseObjectTypeMembers(), this.finishNode(e, "TSTypeLiteral");
4561
- }, C.tsParseTupleElementType = function() {
4562
+ }, S.tsParseTupleElementType = function() {
4562
4563
  var e = this.startLoc, t = this.start, n = this.eat(o.ellipsis), r = this.tsParseType(), i = this.eat(o.question);
4563
4564
  if (this.eat(o.colon)) {
4564
4565
  var a = this.startNodeAtNode(r);
@@ -4572,7 +4573,7 @@ function An(e) {
4572
4573
  c.typeAnnotation = r, r = this.finishNode(c, "TSRestType");
4573
4574
  }
4574
4575
  return r;
4575
- }, C.tsParseTupleType = function() {
4576
+ }, S.tsParseTupleType = function() {
4576
4577
  var e = this, t = this.startNode();
4577
4578
  t.elementTypes = this.tsParseBracketedList("TupleElementTypes", this.tsParseTupleElementType.bind(this), !0, !1);
4578
4579
  var n = !1, r = null;
@@ -4584,20 +4585,20 @@ function An(e) {
4584
4585
  var o = a === "TSNamedTupleMember";
4585
4586
  r ??= o, r !== o && e.raise(t.start, H.MixedLabeledAndUnlabeledElements);
4586
4587
  }), this.finishNode(t, "TSTupleType");
4587
- }, C.tsParseTemplateLiteralType = function() {
4588
+ }, S.tsParseTemplateLiteralType = function() {
4588
4589
  var e = this.startNode();
4589
4590
  return e.literal = this.parseTemplate({ isTagged: !1 }), this.finishNode(e, "TSLiteralType");
4590
- }, C.tsParseTypeReference = function() {
4591
+ }, S.tsParseTypeReference = function() {
4591
4592
  var e = this.startNode();
4592
4593
  return e.typeName = this.tsParseEntityName(), !this.hasPrecedingLineBreak() && this.tsMatchLeftRelational() && (e.typeParameters = this.tsParseTypeArguments()), this.finishNode(e, "TSTypeReference");
4593
- }, C.tsMatchLeftRelational = function() {
4594
+ }, S.tsMatchLeftRelational = function() {
4594
4595
  return this.match(o.relational) && this.value === "<";
4595
- }, C.tsMatchRightRelational = function() {
4596
+ }, S.tsMatchRightRelational = function() {
4596
4597
  return this.match(o.relational) && this.value === ">";
4597
- }, C.tsParseParenthesizedType = function() {
4598
+ }, S.tsParseParenthesizedType = function() {
4598
4599
  var e = this.startNode();
4599
4600
  return this.expect(o.parenL), e.typeAnnotation = this.tsParseType(), this.expect(o.parenR), this.finishNode(e, "TSParenthesizedType");
4600
- }, C.tsParseNonArrayType = function() {
4601
+ }, S.tsParseNonArrayType = function() {
4601
4602
  switch (this.type) {
4602
4603
  case o.string:
4603
4604
  case o.num:
@@ -4643,7 +4644,7 @@ function An(e) {
4643
4644
  }
4644
4645
  }
4645
4646
  this.unexpected();
4646
- }, C.tsParseArrayTypeOrHigher = function() {
4647
+ }, S.tsParseArrayTypeOrHigher = function() {
4647
4648
  for (var e = this.tsParseNonArrayType(); !this.hasPrecedingLineBreak() && this.eat(o.bracketL);) if (this.match(o.bracketR)) {
4648
4649
  var t = this.startNodeAtNode(e);
4649
4650
  t.elementType = e, this.expect(o.bracketR), e = this.finishNode(t, "TSArrayType");
@@ -4652,20 +4653,20 @@ function An(e) {
4652
4653
  n.objectType = e, n.indexType = this.tsParseType(), this.expect(o.bracketR), e = this.finishNode(n, "TSIndexedAccessType");
4653
4654
  }
4654
4655
  return e;
4655
- }, C.tsParseTypeOperatorOrHigher = function() {
4656
+ }, S.tsParseTypeOperatorOrHigher = function() {
4656
4657
  var e = this;
4657
- return y(this.type) && !this.containsEsc ? this.tsParseTypeOperator() : this.isContextual("infer") ? this.tsParseInferType() : this.tsInAllowConditionalTypesContext(function() {
4658
+ return re(this.type) && !this.containsEsc ? this.tsParseTypeOperator() : this.isContextual("infer") ? this.tsParseInferType() : this.tsInAllowConditionalTypesContext(function() {
4658
4659
  return e.tsParseArrayTypeOrHigher();
4659
4660
  });
4660
- }, C.tsParseIntersectionTypeOrHigher = function() {
4661
+ }, S.tsParseIntersectionTypeOrHigher = function() {
4661
4662
  return this.tsParseUnionOrIntersectionType("TSIntersectionType", this.tsParseTypeOperatorOrHigher.bind(this), o.bitwiseAND);
4662
- }, C.tsParseUnionTypeOrHigher = function() {
4663
+ }, S.tsParseUnionTypeOrHigher = function() {
4663
4664
  return this.tsParseUnionOrIntersectionType("TSUnionType", this.tsParseIntersectionTypeOrHigher.bind(this), o.bitwiseOR);
4664
- }, C.tsParseNonConditionalType = function() {
4665
+ }, S.tsParseNonConditionalType = function() {
4665
4666
  return this.tsIsStartOfFunctionType() ? this.tsParseFunctionOrConstructorType("TSFunctionType") : this.match(o._new) ? this.tsParseFunctionOrConstructorType("TSConstructorType") : this.isAbstractConstructorSignature() ? this.tsParseFunctionOrConstructorType("TSConstructorType", !0) : this.tsParseUnionTypeOrHigher();
4666
- }, C.tsParseType = function() {
4667
+ }, S.tsParseType = function() {
4667
4668
  var e = this;
4668
- Cn(this.inType);
4669
+ wn(this.inType);
4669
4670
  var t = this.tsParseNonConditionalType();
4670
4671
  if (this.inDisallowConditionalTypesContext || this.hasPrecedingLineBreak() || !this.eat(o._extends)) return t;
4671
4672
  var n = this.startNodeAtNode(t);
@@ -4676,9 +4677,9 @@ function An(e) {
4676
4677
  }), this.expect(o.colon), n.falseType = this.tsInAllowConditionalTypesContext(function() {
4677
4678
  return e.tsParseType();
4678
4679
  }), this.finishNode(n, "TSConditionalType");
4679
- }, C.tsIsUnambiguouslyIndexSignature = function() {
4680
+ }, S.tsIsUnambiguouslyIndexSignature = function() {
4680
4681
  return this.next(), !!v(this.type) && (this.next(), this.match(o.colon));
4681
- }, C.tsInType = function(e) {
4682
+ }, S.tsInType = function(e) {
4682
4683
  var t = this.inType;
4683
4684
  this.inType = !0;
4684
4685
  try {
@@ -4686,7 +4687,7 @@ function An(e) {
4686
4687
  } finally {
4687
4688
  this.inType = t;
4688
4689
  }
4689
- }, C.tsTryParseIndexSignature = function(e) {
4690
+ }, S.tsTryParseIndexSignature = function(e) {
4690
4691
  if (this.match(o.bracketL) && this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))) {
4691
4692
  this.expect(o.bracketL);
4692
4693
  var t = this.parseIdent();
@@ -4694,32 +4695,32 @@ function An(e) {
4694
4695
  var n = this.tsTryParseTypeAnnotation();
4695
4696
  return n && (e.typeAnnotation = n), this.tsParseTypeMemberSemicolon(), this.finishNode(e, "TSIndexSignature");
4696
4697
  }
4697
- }, C.tsParseNoneModifiers = function(e) {
4698
+ }, S.tsParseNoneModifiers = function(e) {
4698
4699
  this.tsParseModifiers({
4699
4700
  modified: e,
4700
4701
  allowedModifiers: [],
4701
4702
  disallowedModifiers: ["in", "out"],
4702
4703
  errorTemplate: H.InvalidModifierOnTypeParameterPositions
4703
4704
  });
4704
- }, C.tsParseTypeParameter = function(e) {
4705
+ }, S.tsParseTypeParameter = function(e) {
4705
4706
  e === void 0 && (e = this.tsParseNoneModifiers.bind(this));
4706
4707
  var t = this.startNode();
4707
4708
  return e(t), t.name = this.tsParseTypeParameterName(), t.constraint = this.tsEatThenParseType(o._extends), t.default = this.tsEatThenParseType(o.eq), this.finishNode(t, "TSTypeParameter");
4708
- }, C.tsParseTypeParameters = function(e) {
4709
+ }, S.tsParseTypeParameters = function(e) {
4709
4710
  var t = this.startNode();
4710
4711
  this.tsMatchLeftRelational() || this.matchJsx("jsxTagStart") ? this.next() : this.unexpected();
4711
4712
  var n = { value: -1 };
4712
4713
  return t.params = this.tsParseBracketedList("TypeParametersOrArguments", this.tsParseTypeParameter.bind(this, e), !1, !0, n), t.params.length === 0 && this.raise(this.start, H.EmptyTypeParameters), n.value !== -1 && this.addExtra(t, "trailingComma", n.value), this.finishNode(t, "TSTypeParameterDeclaration");
4713
- }, C.tsTryParseTypeParameters = function(e) {
4714
+ }, S.tsTryParseTypeParameters = function(e) {
4714
4715
  if (this.tsMatchLeftRelational()) return this.tsParseTypeParameters(e);
4715
- }, C.tsTryParse = function(e) {
4716
+ }, S.tsTryParse = function(e) {
4716
4717
  var t = this.getCurLookaheadState(), n = e();
4717
4718
  return n !== void 0 && !1 !== n ? n : void this.setLookaheadState(t);
4718
- }, C.tsTokenCanFollowModifier = function() {
4719
+ }, S.tsTokenCanFollowModifier = function() {
4719
4720
  return (this.match(o.bracketL) || this.match(o.braceL) || this.match(o.star) || this.match(o.ellipsis) || this.match(o.privateId) || this.isLiteralPropertyName()) && !this.hasPrecedingLineBreak();
4720
- }, C.tsNextTokenCanFollowModifier = function() {
4721
+ }, S.tsNextTokenCanFollowModifier = function() {
4721
4722
  return this.next(!0), this.tsTokenCanFollowModifier();
4722
- }, C.tsParseModifier = function(e, t) {
4723
+ }, S.tsParseModifier = function(e, t) {
4723
4724
  if (v(this.type) || this.type === o._in) {
4724
4725
  var n = this.value;
4725
4726
  if (e.indexOf(n) !== -1 && !this.containsEsc) {
@@ -4727,12 +4728,12 @@ function An(e) {
4727
4728
  if (this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this))) return n;
4728
4729
  }
4729
4730
  }
4730
- }, C.tsParseModifiersByMap = function(e) {
4731
+ }, S.tsParseModifiersByMap = function(e) {
4731
4732
  for (var t = e.modified, n = e.map, r = 0, i = Object.keys(n); r < i.length; r++) {
4732
4733
  var a = i[r];
4733
4734
  t[a] = n[a];
4734
4735
  }
4735
- }, C.tsParseModifiers = function(e) {
4736
+ }, S.tsParseModifiers = function(e) {
4736
4737
  for (var t = this, n = e.modified, r = e.allowedModifiers, i = e.disallowedModifiers, a = e.stopOnStartOfClassStaticBlock, o = e.errorTemplate, s = o === void 0 ? H.InvalidModifierOnTypeMember : o, c = {}, l = function(e, r, i, a) {
4737
4738
  r === i && n[a] && t.raise(e.column, H.InvalidModifiersOrder({ orderedModifiers: [i, a] }));
4738
4739
  }, u = function(e, r, i, a) {
@@ -4740,10 +4741,10 @@ function An(e) {
4740
4741
  };;) {
4741
4742
  var d = this.startLoc, f = this.tsParseModifier(r.concat(i ?? []), a);
4742
4743
  if (!f) break;
4743
- kn(f) ? n.accessibility ? this.raise(this.start, H.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) : Tn(f) ? n[f] ? this.raise(this.start, H.DuplicateModifier({ modifier: f })) : (l(d, f, "in", "out"), c[f] = f, n[f] = !0) : wn(f) ? n[f] ? this.raise(this.start, H.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, H.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);
4744
+ An(f) ? n.accessibility ? this.raise(this.start, H.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) : En(f) ? n[f] ? this.raise(this.start, H.DuplicateModifier({ modifier: f })) : (l(d, f, "in", "out"), c[f] = f, n[f] = !0) : Tn(f) ? n[f] ? this.raise(this.start, H.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, H.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);
4744
4745
  }
4745
4746
  return c;
4746
- }, C.tsParseInOutModifiers = function(e) {
4747
+ }, S.tsParseInOutModifiers = function(e) {
4747
4748
  this.tsParseModifiers({
4748
4749
  modified: e,
4749
4750
  allowedModifiers: ["in", "out"],
@@ -4758,29 +4759,29 @@ function An(e) {
4758
4759
  ],
4759
4760
  errorTemplate: H.InvalidModifierOnTypeParameter
4760
4761
  });
4761
- }, C.tsParseTypeArguments = function() {
4762
+ }, S.tsParseTypeArguments = function() {
4762
4763
  var e = this, t = this.startNode();
4763
4764
  return t.params = this.tsInType(function() {
4764
4765
  return e.tsInNoContext(function() {
4765
4766
  return e.expect(o.relational), e.tsParseDelimitedList("TypeParametersOrArguments", e.tsParseType.bind(e));
4766
4767
  });
4767
4768
  }), t.params.length === 0 && this.raise(this.start, H.EmptyTypeArguments), this.exprAllowed = !1, this.expect(o.relational), this.finishNode(t, "TSTypeParameterInstantiation");
4768
- }, C.tsParseHeritageClause = function(e) {
4769
+ }, S.tsParseHeritageClause = function(e) {
4769
4770
  var t = this, n = this.start, r = this.tsParseDelimitedList("HeritageClauseElement", function() {
4770
4771
  var e = t.startNode();
4771
4772
  return e.expression = t.tsParseEntityName(), t.tsMatchLeftRelational() && (e.typeParameters = t.tsParseTypeArguments()), t.finishNode(e, "TSExpressionWithTypeArguments");
4772
4773
  });
4773
4774
  return r.length || this.raise(n, H.EmptyHeritageClauseType({ token: e })), r;
4774
- }, C.tsParseTypeMemberSemicolon = function() {
4775
+ }, S.tsParseTypeMemberSemicolon = function() {
4775
4776
  this.eat(o.comma) || this.isLineTerminator() || this.expect(o.semi);
4776
- }, C.tsTryParseAndCatch = function(e) {
4777
+ }, S.tsTryParseAndCatch = function(e) {
4777
4778
  var t = this.tryParse(function(t) {
4778
4779
  return e() || t();
4779
4780
  });
4780
4781
  if (!t.aborted && t.node) return t.error && this.setLookaheadState(t.failState), t.node;
4781
- }, C.tsParseSignatureMember = function(e, t) {
4782
+ }, S.tsParseSignatureMember = function(e, t) {
4782
4783
  return this.tsFillSignature(o.colon, t), this.tsParseTypeMemberSemicolon(), this.finishNode(t, e);
4783
- }, C.tsParsePropertyOrMethodSignature = function(e, t) {
4784
+ }, S.tsParsePropertyOrMethodSignature = function(e, t) {
4784
4785
  this.eat(o.question) && (e.optional = !0);
4785
4786
  var n = e;
4786
4787
  if (this.match(o.parenL) || this.tsMatchLeftRelational()) {
@@ -4803,7 +4804,7 @@ function An(e) {
4803
4804
  t && (c.readonly = !0);
4804
4805
  var l = this.tsTryParseTypeAnnotation();
4805
4806
  return l && (c.typeAnnotation = l), this.tsParseTypeMemberSemicolon(), this.finishNode(c, "TSPropertySignature");
4806
- }, C.tsParseTypeMember = function() {
4807
+ }, S.tsParseTypeMember = function() {
4807
4808
  var e = this.startNode();
4808
4809
  if (this.match(o.parenL) || this.tsMatchLeftRelational()) return this.tsParseSignatureMember("TSCallSignatureDeclaration", e);
4809
4810
  if (this.match(o._new)) {
@@ -4823,26 +4824,26 @@ function An(e) {
4823
4824
  "override"
4824
4825
  ]
4825
4826
  }), this.tsTryParseIndexSignature(e) || (this.parsePropertyName(e), e.computed || e.key.type !== "Identifier" || e.key.name !== "get" && e.key.name !== "set" || !this.tsTokenCanFollowModifier() || (e.kind = e.key.name, this.parsePropertyName(e)), this.tsParsePropertyOrMethodSignature(e, !!e.readonly));
4826
- }, C.tsParseList = function(e, t) {
4827
+ }, S.tsParseList = function(e, t) {
4827
4828
  for (var n = []; !this.tsIsListTerminator(e);) n.push(t());
4828
4829
  return n;
4829
- }, C.tsParseObjectTypeMembers = function() {
4830
+ }, S.tsParseObjectTypeMembers = function() {
4830
4831
  this.expect(o.braceL);
4831
4832
  var e = this.tsParseList("TypeMembers", this.tsParseTypeMember.bind(this));
4832
4833
  return this.expect(o.braceR), e;
4833
- }, C.tsParseInterfaceDeclaration = function(e, t) {
4834
+ }, S.tsParseInterfaceDeclaration = function(e, t) {
4834
4835
  if (t === void 0 && (t = {}), this.hasFollowingLineBreak()) return null;
4835
4836
  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, H.MissingInterfaceName)), e.typeParameters = this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this)), this.eat(o._extends) && (e.extends = this.tsParseHeritageClause("extends"));
4836
4837
  var n = this.startNode();
4837
4838
  return n.body = this.tsInType(this.tsParseObjectTypeMembers.bind(this)), e.body = this.finishNode(n, "TSInterfaceBody"), this.finishNode(e, "TSInterfaceDeclaration");
4838
- }, C.tsParseAbstractDeclaration = function(e) {
4839
+ }, S.tsParseAbstractDeclaration = function(e) {
4839
4840
  if (this.match(o._class)) return e.abstract = !0, this.parseClass(e, !0);
4840
4841
  if (this.ts_isContextual(m.interface)) {
4841
4842
  if (!this.hasFollowingLineBreak()) return e.abstract = !0, this.tsParseInterfaceDeclaration(e);
4842
4843
  } else this.unexpected(e.start);
4843
- }, C.tsIsDeclarationStart = function() {
4844
+ }, S.tsIsDeclarationStart = function() {
4844
4845
  return te(this.type);
4845
- }, C.tsParseExpressionStatement = function(t, n) {
4846
+ }, S.tsParseExpressionStatement = function(t, n) {
4846
4847
  switch (n.name) {
4847
4848
  case "declare":
4848
4849
  var r = this.tsTryParseDeclare(t);
@@ -4850,16 +4851,16 @@ function An(e) {
4850
4851
  break;
4851
4852
  case "global":
4852
4853
  if (this.match(o.braceL)) {
4853
- e.prototype.enterScope.call(this, pn);
4854
+ e.prototype.enterScope.call(this, mn);
4854
4855
  var i = t;
4855
4856
  return i.global = !0, i.id = n, i.body = this.tsParseModuleBlock(), e.prototype.exitScope.call(this), this.finishNode(i, "TSModuleDeclaration");
4856
4857
  }
4857
4858
  break;
4858
4859
  default: return this.tsParseDeclaration(t, n.name, !1);
4859
4860
  }
4860
- }, C.tsParseModuleReference = function() {
4861
+ }, S.tsParseModuleReference = function() {
4861
4862
  return this.tsIsExternalModuleReference() ? this.tsParseExternalModuleReference() : this.tsParseEntityName(!1);
4862
- }, C.tsIsExportDefaultSpecifier = function() {
4863
+ }, S.tsIsExportDefaultSpecifier = function() {
4863
4864
  var e = this.type, t = this.isAsyncFunction(), n = this.isLet();
4864
4865
  if (v(e)) {
4865
4866
  if (t && !this.containsEsc || n) return !1;
@@ -4875,7 +4876,7 @@ function An(e) {
4875
4876
  return s === 34 || s === 39;
4876
4877
  }
4877
4878
  return !1;
4878
- }, C.tsInAmbientContext = function(e) {
4879
+ }, S.tsInAmbientContext = function(e) {
4879
4880
  var t = this.isAmbientContext;
4880
4881
  this.isAmbientContext = !0;
4881
4882
  try {
@@ -4883,17 +4884,17 @@ function An(e) {
4883
4884
  } finally {
4884
4885
  this.isAmbientContext = t;
4885
4886
  }
4886
- }, C.tsCheckLineTerminator = function(e) {
4887
+ }, S.tsCheckLineTerminator = function(e) {
4887
4888
  return e ? !this.hasFollowingLineBreak() && (this.next(), !0) : !this.isLineTerminator();
4888
- }, C.tsParseModuleOrNamespaceDeclaration = function(t, n) {
4889
+ }, S.tsParseModuleOrNamespaceDeclaration = function(t, n) {
4889
4890
  if (n === void 0 && (n = !1), t.id = this.parseIdent(), n || this.checkLValSimple(t.id, 8), this.eat(o.dot)) {
4890
4891
  var r = this.startNode();
4891
4892
  this.tsParseModuleOrNamespaceDeclaration(r, !0), t.body = r;
4892
- } else e.prototype.enterScope.call(this, pn), t.body = this.tsParseModuleBlock(), e.prototype.exitScope.call(this);
4893
+ } else e.prototype.enterScope.call(this, mn), t.body = this.tsParseModuleBlock(), e.prototype.exitScope.call(this);
4893
4894
  return this.finishNode(t, "TSModuleDeclaration");
4894
- }, C.checkLValSimple = function(t, n, r) {
4895
+ }, S.checkLValSimple = function(t, n, r) {
4895
4896
  return n === void 0 && (n = 0), e.prototype.checkLValSimple.call(this, t, n, r);
4896
- }, C.tsParseTypeAliasDeclaration = function(e) {
4897
+ }, S.tsParseTypeAliasDeclaration = function(e) {
4897
4898
  var t = this;
4898
4899
  return e.id = this.parseIdent(), this.checkLValSimple(e.id, 6), e.typeAnnotation = this.tsInType(function() {
4899
4900
  if (e.typeParameters = t.tsTryParseTypeParameters(t.tsParseInOutModifiers.bind(t)), t.expect(o.eq), t.ts_isContextual(m.interface) && t.lookahead().type !== o.dot) {
@@ -4902,7 +4903,7 @@ function An(e) {
4902
4903
  }
4903
4904
  return t.tsParseType();
4904
4905
  }), this.semicolon(), this.finishNode(e, "TSTypeAliasDeclaration");
4905
- }, C.tsParseDeclaration = function(e, t, n) {
4906
+ }, S.tsParseDeclaration = function(e, t, n) {
4906
4907
  switch (t) {
4907
4908
  case "abstract":
4908
4909
  if (this.tsCheckLineTerminator(n) && (this.match(o._class) || v(this.type))) return this.tsParseAbstractDeclaration(e);
@@ -4918,13 +4919,13 @@ function An(e) {
4918
4919
  break;
4919
4920
  case "type": if (this.tsCheckLineTerminator(n) && v(this.type)) return this.tsParseTypeAliasDeclaration(e);
4920
4921
  }
4921
- }, C.tsTryParseExportDeclaration = function() {
4922
+ }, S.tsTryParseExportDeclaration = function() {
4922
4923
  return this.tsParseDeclaration(this.startNode(), this.value, !0);
4923
- }, C.tsParseImportEqualsDeclaration = function(t, n) {
4924
+ }, S.tsParseImportEqualsDeclaration = function(t, n) {
4924
4925
  t.isExport = n || !1, t.id = this.parseIdent(), this.checkLValSimple(t.id, 2), e.prototype.expect.call(this, o.eq);
4925
4926
  var r = this.tsParseModuleReference();
4926
4927
  return t.importKind === "type" && r.type !== "TSExternalModuleReference" && this.raise(r.start, H.ImportAliasHasImportType), t.moduleReference = r, e.prototype.semicolon.call(this), this.finishNode(t, "TSImportEqualsDeclaration");
4927
- }, C.isExportDefaultSpecifier = function() {
4928
+ }, S.isExportDefaultSpecifier = function() {
4928
4929
  if (this.tsIsDeclarationStart()) return !1;
4929
4930
  var e = this.type;
4930
4931
  if (v(e)) {
@@ -4941,23 +4942,23 @@ function An(e) {
4941
4942
  return i === 34 || i === 39;
4942
4943
  }
4943
4944
  return !1;
4944
- }, C.parseTemplate = function(e) {
4945
+ }, S.parseTemplate = function(e) {
4945
4946
  var t = (e === void 0 ? {} : e).isTagged, n = t !== void 0 && t, r = this.startNode();
4946
4947
  this.next(), r.expressions = [];
4947
4948
  var i = this.parseTemplateElement({ isTagged: n });
4948
4949
  for (r.quasis = [i]; !i.tail;) this.type === o.eof && this.raise(this.pos, "Unterminated template literal"), this.expect(o.dollarBraceL), r.expressions.push(this.inType ? this.tsParseType() : this.parseExpression()), this.expect(o.braceR), r.quasis.push(i = this.parseTemplateElement({ isTagged: n }));
4949
4950
  return this.next(), this.finishNode(r, "TemplateLiteral");
4950
- }, C.parseFunction = function(e, t, n, r, i) {
4951
+ }, S.parseFunction = function(e, t, n, r, i) {
4951
4952
  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());
4952
4953
  var a = this.yieldPos, s = this.awaitPos, c = this.awaitIdentPos, l = this.maybeInArrowParameters;
4953
- this.maybeInArrowParameters = !1, this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(En(e.async, e.generator)), 1 & t || (e.id = this.type === o.name ? this.parseIdent() : null), this.parseFunctionParams(e);
4954
+ this.maybeInArrowParameters = !1, this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Dn(e.async, e.generator)), 1 & t || (e.id = this.type === o.name ? this.parseIdent() : null), this.parseFunctionParams(e);
4954
4955
  var u = 1 & t;
4955
4956
  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");
4956
- }, C.parseFunctionBody = function(t, n, r, i, a) {
4957
+ }, S.parseFunctionBody = function(t, n, r, i, a) {
4957
4958
  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));
4958
4959
  var s = a != null && a.isFunctionDeclaration ? "TSDeclareFunction" : a != null && a.isClassMethod ? "TSDeclareMethod" : void 0;
4959
4960
  return s && !this.match(o.braceL) && this.isLineTerminator() ? this.finishNode(t, s) : s === "TSDeclareFunction" && this.isAmbientContext && (this.raise(t.start, H.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);
4960
- }, C.parseNew = function() {
4961
+ }, S.parseNew = function() {
4961
4962
  var e;
4962
4963
  this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword new");
4963
4964
  var t = this.startNode(), n = this.parseIdent(!0);
@@ -4970,14 +4971,14 @@ function An(e) {
4970
4971
  t.callee = this.parseSubscripts(this.parseExprAtom(), i, a, !0, !1), s && t.callee.type === "ImportExpression" && this.raise(i, "Cannot use new with import()");
4971
4972
  var c = t.callee;
4972
4973
  return c.type !== "TSInstantiationExpression" || (e = c.extra) != null && e.parenthesized || (t.typeParameters = c.typeParameters, t.callee = c.expression), t.arguments = this.eat(o.parenL) ? this.parseExprList(o.parenR, this.options.ecmaVersion >= 8, !1) : [], this.finishNode(t, "NewExpression");
4973
- }, C.parseExprOp = function(t, n, r, i, s) {
4974
+ }, S.parseExprOp = function(t, n, r, i, s) {
4974
4975
  var c;
4975
4976
  if (o._in.binop > i && !this.hasPrecedingLineBreak() && (this.isContextual("as") && (c = "TSAsExpression"), a && this.isContextual("satisfies") && (c = "TSSatisfiesExpression"), c)) {
4976
4977
  var l = this.startNodeAt(n, r);
4977
4978
  return l.expression = t, l.typeAnnotation = this.tsTryNextParseConstantContext() || this.tsNextThenParseType(), this.finishNode(l, c), this.reScan_lt_gt(), this.parseExprOp(l, n, r, i, s);
4978
4979
  }
4979
4980
  return e.prototype.parseExprOp.call(this, t, n, r, i, s);
4980
- }, C.parseImportSpecifiers = function() {
4981
+ }, S.parseImportSpecifiers = function() {
4981
4982
  var e = [], t = !0;
4982
4983
  if (i.tokenIsIdentifier(this.type) && (e.push(this.parseImportDefaultSpecifier()), !this.eat(o.comma))) return e;
4983
4984
  if (this.type === o.star) return e.push(this.parseImportNamespaceSpecifier()), e;
@@ -4987,7 +4988,7 @@ function An(e) {
4987
4988
  e.push(this.parseImportSpecifier());
4988
4989
  }
4989
4990
  return e;
4990
- }, C.parseImport = function(e) {
4991
+ }, S.parseImport = function(e) {
4991
4992
  var t = this.lookahead();
4992
4993
  if (e.importKind = "value", this.importOrExportOuterKind = "value", v(t.type) || this.match(o.star) || this.match(o.braceL)) {
4993
4994
  var n = this.lookahead(2);
@@ -4998,7 +4999,7 @@ function An(e) {
4998
4999
  }
4999
5000
  }
5000
5001
  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, H.TypeImportCannotSpecifyDefaultAndNamed), e;
5001
- }, C.parseExportDefaultDeclaration = function() {
5002
+ }, S.parseExportDefaultDeclaration = function() {
5002
5003
  if (this.isAbstractClass()) {
5003
5004
  var t = this.startNode();
5004
5005
  return this.next(), t.abstract = !0, this.parseClass(t, !0);
@@ -5008,15 +5009,15 @@ function An(e) {
5008
5009
  if (n) return n;
5009
5010
  }
5010
5011
  return e.prototype.parseExportDefaultDeclaration.call(this);
5011
- }, C.parseExportAllDeclaration = function(e, t) {
5012
+ }, S.parseExportAllDeclaration = function(e, t) {
5012
5013
  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 !== o.string && this.unexpected(), e.source = this.parseExprAtom(), this.parseMaybeImportAttributes(e), this.semicolon(), this.finishNode(e, "ExportAllDeclaration");
5013
- }, C.parseDynamicImport = function(e) {
5014
+ }, S.parseDynamicImport = function(e) {
5014
5015
  if (this.next(), e.source = this.parseMaybeAssign(), this.eat(o.comma) && (e.arguments = [this.parseExpression()]), !this.eat(o.parenR)) {
5015
5016
  var t = this.start;
5016
5017
  this.eat(o.comma) && this.eat(o.parenR) ? this.raiseRecoverable(t, "Trailing comma is not allowed in import()") : this.unexpected(t);
5017
5018
  }
5018
5019
  return this.finishNode(e, "ImportExpression");
5019
- }, C.parseExport = function(e, t) {
5020
+ }, S.parseExport = function(e, t) {
5020
5021
  var n = this.lookahead();
5021
5022
  if (this.ts_eatWithState(o._import, 2, n)) {
5022
5023
  this.ts_isContextual(m.type) && this.lookaheadCharCode() !== 61 ? (e.importKind = "type", this.importOrExportOuterKind = "type", this.next()) : (e.importKind = "value", this.importOrExportOuterKind = "value");
@@ -5037,7 +5038,7 @@ function An(e) {
5037
5038
  else {
5038
5039
  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);
5039
5040
  else {
5040
- for (var s, c = un(e.specifiers); !(s = c()).done;) {
5041
+ for (var s, c = dn(e.specifiers); !(s = c()).done;) {
5041
5042
  var l = s.value;
5042
5043
  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`.");
5043
5044
  }
@@ -5046,20 +5047,20 @@ function An(e) {
5046
5047
  this.semicolon();
5047
5048
  }
5048
5049
  return this.finishNode(e, "ExportNamedDeclaration");
5049
- }, C.checkExport = function(e, t, n) {
5050
+ }, S.checkExport = function(e, t, n) {
5050
5051
  e && (typeof t != "string" && (t = t.type === "Identifier" ? t.name : t.value), e[t] = !0);
5051
- }, C.parseMaybeDefault = function(t, n, r) {
5052
+ }, S.parseMaybeDefault = function(t, n, r) {
5052
5053
  var i = e.prototype.parseMaybeDefault.call(this, t, n, r);
5053
5054
  return i.type === "AssignmentPattern" && i.typeAnnotation && i.right.start < i.typeAnnotation.start && this.raise(i.typeAnnotation.start, H.TypeAnnotationAfterAssign), i;
5054
- }, C.typeCastToParameter = function(e) {
5055
+ }, S.typeCastToParameter = function(e) {
5055
5056
  return e.expression.typeAnnotation = e.typeAnnotation, this.resetEndLocation(e.expression, e.typeAnnotation.end), e.expression;
5056
- }, C.toAssignableList = function(t, n) {
5057
+ }, S.toAssignableList = function(t, n) {
5057
5058
  for (var r = 0; r < t.length; r++) {
5058
5059
  var i = t[r];
5059
5060
  i?.type === "TSTypeCastExpression" && (t[r] = this.typeCastToParameter(i));
5060
5061
  }
5061
5062
  return e.prototype.toAssignableList.call(this, t, n);
5062
- }, C.reportReservedArrowTypeParam = function(e) {}, C.parseExprAtom = function(t, n, r) {
5063
+ }, S.reportReservedArrowTypeParam = function(e) {}, S.parseExprAtom = function(t, n, r) {
5063
5064
  if (this.type === m.jsxText) return this.jsx_parseText();
5064
5065
  if (this.type === m.jsxTagStart) return this.jsx_parseElement();
5065
5066
  if (this.type === m.at) return this.parseDecorators(), this.parseExprAtom();
@@ -5073,7 +5074,7 @@ function An(e) {
5073
5074
  return l;
5074
5075
  }
5075
5076
  return e.prototype.parseExprAtom.call(this, t, n, r);
5076
- }, C.parseExprAtomDefault = function() {
5077
+ }, S.parseExprAtomDefault = function() {
5077
5078
  if (v(this.type)) {
5078
5079
  var e = this.potentialArrowAt === this.start, t = this.containsEsc, n = this.parseIdent();
5079
5080
  if (!t && n.name === "async" && !this.canInsertSemicolon()) {
@@ -5090,21 +5091,21 @@ function An(e) {
5090
5091
  return e && this.match(o.arrow) && !this.canInsertSemicolon() ? (this.next(), this.parseArrowExpression(this.startNodeAtNode(n), [n], !1)) : n;
5091
5092
  }
5092
5093
  this.unexpected();
5093
- }, C.parseIdentNode = function() {
5094
+ }, S.parseIdentNode = function() {
5094
5095
  var t = this.startNode();
5095
5096
  return ne(this.type) ? (t.name = this.value, t) : e.prototype.parseIdentNode.call(this);
5096
- }, C.parseVarStatement = function(t, n, r) {
5097
+ }, S.parseVarStatement = function(t, n, r) {
5097
5098
  r === void 0 && (r = !1);
5098
5099
  var i = this.isAmbientContext;
5099
5100
  this.next(), e.prototype.parseVar.call(this, t, !1, n, r || i), this.semicolon();
5100
5101
  var a = this.finishNode(t, "VariableDeclaration");
5101
5102
  if (!i) return a;
5102
- for (var o, s = un(a.declarations); !(o = s()).done;) {
5103
+ for (var o, s = dn(a.declarations); !(o = s()).done;) {
5103
5104
  var c = o.value, l = c.init;
5104
- l && (n !== "const" || c.id.typeAnnotation ? this.raise(l.start, H.InitializerNotAllowedInAmbientContext) : l.type !== "StringLiteral" && l.type !== "BooleanLiteral" && l.type !== "NumericLiteral" && l.type !== "BigIntLiteral" && (l.type !== "TemplateLiteral" || l.expressions.length > 0) && !Dn(l) && this.raise(l.start, H.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference));
5105
+ l && (n !== "const" || c.id.typeAnnotation ? this.raise(l.start, H.InitializerNotAllowedInAmbientContext) : l.type !== "StringLiteral" && l.type !== "BooleanLiteral" && l.type !== "NumericLiteral" && l.type !== "BigIntLiteral" && (l.type !== "TemplateLiteral" || l.expressions.length > 0) && !On(l) && this.raise(l.start, H.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference));
5105
5106
  }
5106
5107
  return a;
5107
- }, C.parseStatement = function(t, n, r) {
5108
+ }, S.parseStatement = function(t, n, r) {
5108
5109
  if (this.match(m.at) && this.parseDecorators(!0), this.match(o._const) && this.isLookaheadContextual("enum")) {
5109
5110
  var i = this.startNode();
5110
5111
  return this.expect(o._const), this.tsParseEnumDeclaration(i, { const: !0 });
@@ -5115,25 +5116,25 @@ function An(e) {
5115
5116
  if (a) return a;
5116
5117
  }
5117
5118
  return e.prototype.parseStatement.call(this, t, n, r);
5118
- }, C.parseAccessModifier = function() {
5119
+ }, S.parseAccessModifier = function() {
5119
5120
  return this.tsParseModifier([
5120
5121
  "public",
5121
5122
  "protected",
5122
5123
  "private"
5123
5124
  ]);
5124
- }, C.parsePostMemberNameModifiers = function(e) {
5125
+ }, S.parsePostMemberNameModifiers = function(e) {
5125
5126
  this.eat(o.question) && (e.optional = !0), e.readonly && this.match(o.parenL) && this.raise(e.start, H.ClassMethodHasReadonly), e.declare && this.match(o.parenL) && this.raise(e.start, H.ClassMethodHasDeclare);
5126
- }, C.parseExpressionStatement = function(t, n) {
5127
+ }, S.parseExpressionStatement = function(t, n) {
5127
5128
  return (n.type === "Identifier" ? this.tsParseExpressionStatement(t, n) : void 0) || e.prototype.parseExpressionStatement.call(this, t, n);
5128
- }, C.shouldParseExportStatement = function() {
5129
+ }, S.shouldParseExportStatement = function() {
5129
5130
  return !!this.tsIsDeclarationStart() || !!this.match(m.at) || e.prototype.shouldParseExportStatement.call(this);
5130
- }, C.parseConditional = function(e, t, n, r, i) {
5131
+ }, S.parseConditional = function(e, t, n, r, i) {
5131
5132
  if (this.eat(o.question)) {
5132
5133
  var a = this.startNodeAt(t, n);
5133
5134
  return a.test = e, a.consequent = this.parseMaybeAssign(), this.expect(o.colon), a.alternate = this.parseMaybeAssign(r), this.finishNode(a, "ConditionalExpression");
5134
5135
  }
5135
5136
  return e;
5136
- }, C.parseMaybeConditional = function(e, t) {
5137
+ }, S.parseMaybeConditional = function(e, t) {
5137
5138
  var n = this, r = this.start, i = this.startLoc, a = this.parseExprOps(e, t);
5138
5139
  if (this.checkExpressionErrors(t)) return a;
5139
5140
  if (!this.maybeInArrowParameters || !this.match(o.question)) return this.parseConditional(a, r, i, e, t);
@@ -5141,14 +5142,14 @@ function An(e) {
5141
5142
  return n.parseConditional(a, r, i, e, t);
5142
5143
  });
5143
5144
  return s.node ? (s.error && this.setLookaheadState(s.failState), s.node) : (s.error && this.setOptionalParametersError(t, s.error), a);
5144
- }, C.parseParenItem = function(t) {
5145
+ }, S.parseParenItem = function(t) {
5145
5146
  var n = this.start, r = this.startLoc;
5146
5147
  if (t = e.prototype.parseParenItem.call(this, t), this.eat(o.question) && (t.optional = !0, this.resetEndLocation(t)), this.match(o.colon)) {
5147
5148
  var i = this.startNodeAt(n, r);
5148
5149
  return i.expression = t, i.typeAnnotation = this.tsParseTypeAnnotation(), this.finishNode(i, "TSTypeCastExpression");
5149
5150
  }
5150
5151
  return t;
5151
- }, C.parseExportDeclaration = function(e) {
5152
+ }, S.parseExportDeclaration = function(e) {
5152
5153
  var t = this;
5153
5154
  if (!this.isAmbientContext && this.ts_isContextual(m.declare)) return this.tsInAmbientContext(function() {
5154
5155
  return t.parseExportDeclaration(e);
@@ -5157,35 +5158,35 @@ function An(e) {
5157
5158
  !i || !this.ts_isContextual(m.declare) && this.shouldParseExportStatement() || this.raise(this.start, H.ExpectedAmbientAfterExportDeclare);
5158
5159
  var a = v(this.type) && this.tsTryParseExportDeclaration() || this.parseStatement(null);
5159
5160
  return a ? ((a.type === "TSInterfaceDeclaration" || a.type === "TSTypeAliasDeclaration" || i) && (e.exportKind = "type"), i && (this.resetStartLocation(a, n, r), a.declare = !0), a) : null;
5160
- }, C.parseClassId = function(t, n) {
5161
+ }, S.parseClassId = function(t, n) {
5161
5162
  if (n || !this.isContextual("implements")) {
5162
5163
  e.prototype.parseClassId.call(this, t, n);
5163
5164
  var r = this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this));
5164
5165
  r && (t.typeParameters = r);
5165
5166
  }
5166
- }, C.parseClassPropertyAnnotation = function(e) {
5167
+ }, S.parseClassPropertyAnnotation = function(e) {
5167
5168
  e.optional || (this.value === "!" && this.eat(o.prefix) ? e.definite = !0 : this.eat(o.question) && (e.optional = !0));
5168
5169
  var t = this.tsTryParseTypeAnnotation();
5169
5170
  t && (e.typeAnnotation = t);
5170
- }, C.parseClassField = function(t) {
5171
+ }, S.parseClassField = function(t) {
5171
5172
  if (t.key.type === "PrivateIdentifier") t.abstract && this.raise(t.start, H.PrivateElementHasAbstract), t.accessibility && this.raise(t.start, H.PrivateElementHasAccessibility({ modifier: t.accessibility })), this.parseClassPropertyAnnotation(t);
5172
5173
  else if (this.parseClassPropertyAnnotation(t), this.isAmbientContext && (!t.readonly || t.typeAnnotation) && this.match(o.eq) && this.raise(this.start, H.DeclareClassFieldHasInitializer), t.abstract && this.match(o.eq)) {
5173
5174
  var n = t.key;
5174
5175
  this.raise(this.start, H.AbstractPropertyHasInitializer({ propertyName: n.type !== "Identifier" || t.computed ? "[" + this.input.slice(n.start, n.end) + "]" : n.name }));
5175
5176
  }
5176
5177
  return e.prototype.parseClassField.call(this, t);
5177
- }, C.parseClassMethod = function(e, t, n, r) {
5178
+ }, S.parseClassMethod = function(e, t, n, r) {
5178
5179
  var i = e.kind === "constructor", a = e.key.type === "PrivateIdentifier", o = this.tsTryParseTypeParameters();
5179
5180
  a ? (o && (e.typeParameters = o), e.accessibility && this.raise(e.start, H.PrivateMethodsHasAccessibility({ modifier: e.accessibility }))) : o && i && this.raise(o.start, H.ConstructorHasTypeParameters);
5180
5181
  var s = e.declare, c = e.kind;
5181
5182
  !(s !== void 0 && s) || c !== "get" && c !== "set" || this.raise(e.start, H.DeclareAccessor({ kind: c })), o && (e.typeParameters = o);
5182
5183
  var l = e.key;
5183
- 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 && _n(e, "prototype") && this.raise(l.start, "Classes may not have a static property named prototype");
5184
+ 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 && vn(e, "prototype") && this.raise(l.start, "Classes may not have a static property named prototype");
5184
5185
  var u = e.value = this.parseMethod(t, n, r, !0, e);
5185
5186
  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");
5186
- }, C.isClassMethod = function() {
5187
+ }, S.isClassMethod = function() {
5187
5188
  return this.match(o.relational);
5188
- }, C.parseClassElement = function(t) {
5189
+ }, S.parseClassElement = function(t) {
5189
5190
  var n = this;
5190
5191
  if (this.eat(o.semi)) return null;
5191
5192
  var r, i = this.options.ecmaVersion, a = this.startNode(), s = "", c = !1, l = !1, u = "method", d = [
@@ -5215,7 +5216,7 @@ function An(e) {
5215
5216
  (n.eatContextual("get") || n.eatContextual("set")) && (n.isClassElementNameStart() ? u = p : s = p);
5216
5217
  }
5217
5218
  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) {
5218
- var m = !a.static && _n(a, "constructor"), h = m && t;
5219
+ var m = !a.static && vn(a, "constructor"), h = m && t;
5219
5220
  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);
5220
5221
  } else n.parseClassField(a);
5221
5222
  return a;
@@ -5223,30 +5224,30 @@ function An(e) {
5223
5224
  if (n.next(), n.next(), n.tsHasSomeModifiers(a, d) && n.raise(n.start, H.StaticBlockCannotHaveModifier), i >= 13) return e.prototype.parseClassStaticBlock.call(n, a), a;
5224
5225
  };
5225
5226
  return a.declare ? this.tsInAmbientContext(f) : f(), a;
5226
- }, C.isClassElementNameStart = function() {
5227
+ }, S.isClassElementNameStart = function() {
5227
5228
  return !!this.tsIsIdentifier() || e.prototype.isClassElementNameStart.call(this);
5228
- }, C.parseClassSuper = function(t) {
5229
+ }, S.parseClassSuper = function(t) {
5229
5230
  e.prototype.parseClassSuper.call(this, t), t.superClass && (this.tsMatchLeftRelational() || this.match(o.bitShift)) && (t.superTypeParameters = this.tsParseTypeArgumentsInExpression()), this.eatContextual("implements") && (t.implements = this.tsParseHeritageClause("implements"));
5230
- }, C.parseFunctionParams = function(t) {
5231
+ }, S.parseFunctionParams = function(t) {
5231
5232
  var n = this.tsTryParseTypeParameters();
5232
5233
  n && (t.typeParameters = n), e.prototype.parseFunctionParams.call(this, t);
5233
- }, C.parseVarId = function(t, n) {
5234
+ }, S.parseVarId = function(t, n) {
5234
5235
  e.prototype.parseVarId.call(this, t, n), t.id.type === "Identifier" && !this.hasPrecedingLineBreak() && this.value === "!" && this.eat(o.prefix) && (t.definite = !0);
5235
5236
  var r = this.tsTryParseTypeAnnotation();
5236
5237
  r && (t.id.typeAnnotation = r, this.resetEndLocation(t.id));
5237
- }, C.parseArrowExpression = function(e, t, n, r) {
5238
+ }, S.parseArrowExpression = function(e, t, n, r) {
5238
5239
  this.match(o.colon) && (e.returnType = this.tsParseTypeAnnotation());
5239
5240
  var i = this.yieldPos, a = this.awaitPos, s = this.awaitIdentPos;
5240
- this.enterScope(16 | En(n, !1)), this.initFunction(e);
5241
+ this.enterScope(16 | Dn(n, !1)), this.initFunction(e);
5241
5242
  var c = this.maybeInArrowParameters;
5242
5243
  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");
5243
- }, C.parseMaybeAssignOrigin = function(e, t, n) {
5244
+ }, S.parseMaybeAssignOrigin = function(e, t, n) {
5244
5245
  if (this.isContextual("yield")) {
5245
5246
  if (this.inGenerator) return this.parseYield(e);
5246
5247
  this.exprAllowed = !1;
5247
5248
  }
5248
5249
  var r = !1, i = -1, a = -1, s = -1;
5249
- t ? (i = t.parenthesizedAssign, a = t.trailingComma, s = t.doubleProto, t.parenthesizedAssign = t.trailingComma = -1) : (t = new hn(), r = !0);
5250
+ t ? (i = t.parenthesizedAssign, a = t.trailingComma, s = t.doubleProto, t.parenthesizedAssign = t.trailingComma = -1) : (t = new gn(), r = !0);
5250
5251
  var c = this.start, l = this.startLoc;
5251
5252
  (this.type === o.parenL || v(this.type)) && (this.potentialArrowAt = this.start, this.potentialArrowInForAwait = e === "await");
5252
5253
  var u = this.parseMaybeConditional(e, t);
@@ -5255,7 +5256,7 @@ function An(e) {
5255
5256
  return d.operator = this.value, this.type === o.eq && (u = this.toAssignable(u, !0, t)), r || (t.parenthesizedAssign = t.trailingComma = t.doubleProto = -1), t.shorthandAssign >= u.start && (t.shorthandAssign = -1), this.type === o.eq ? this.checkLValPattern(u) : this.checkLValSimple(u), d.left = u, this.next(), d.right = this.parseMaybeAssign(e), s > -1 && (t.doubleProto = s), this.finishNode(d, "AssignmentExpression");
5256
5257
  }
5257
5258
  return r && this.checkExpressionErrors(t, !0), i > -1 && (t.parenthesizedAssign = i), a > -1 && (t.trailingComma = a), u;
5258
- }, C.parseMaybeAssign = function(e, t, n) {
5259
+ }, S.parseMaybeAssign = function(e, t, n) {
5259
5260
  var r, a, o, s, c, l, u, d, f, p = this;
5260
5261
  if (this.matchJsx("jsxTagStart") || this.tsMatchLeftRelational()) {
5261
5262
  if (l = this.cloneCurLookaheadState(), !(u = this.tryParse(function() {
@@ -5273,14 +5274,14 @@ function An(e) {
5273
5274
  return (a.type !== "ArrowFunctionExpression" || (i = a.extra) != null && i.parenthesized) && r(), f?.params.length !== 0 && p.resetStartLocationFromNode(a, f), a.typeParameters = f, a;
5274
5275
  }, l);
5275
5276
  if (!g.error && !g.aborted) return f && this.reportReservedArrowTypeParam(f), g.node;
5276
- if (!u && (Cn(!0), !(d = this.tryParse(function() {
5277
+ if (!u && (wn(!0), !(d = this.tryParse(function() {
5277
5278
  return p.parseMaybeAssignOrigin(e, t, n);
5278
5279
  }, l)).error)) return d.node;
5279
5280
  if ((a = u) != null && a.node) return this.setLookaheadState(u.failState), u.node;
5280
5281
  if (g.node) return this.setLookaheadState(g.failState), f && this.reportReservedArrowTypeParam(f), g.node;
5281
5282
  if ((o = d) != null && o.node) return this.setLookaheadState(d.failState), d.node;
5282
5283
  throw (s = u) != null && s.thrown ? u.error : g.thrown ? g.error : (c = d) != null && c.thrown ? d.error : u?.error || g.error || d?.error;
5283
- }, C.parseAssignableListItem = function(e) {
5284
+ }, S.parseAssignableListItem = function(e) {
5284
5285
  for (var t = []; this.match(m.at);) t.push(this.parseDecorator());
5285
5286
  var n, r = this.start, i = this.startLoc, a = !1, o = !1;
5286
5287
  if (e !== void 0) {
@@ -5304,13 +5305,13 @@ function An(e) {
5304
5305
  return n && (u.accessibility = n), a && (u.readonly = a), o && (u.override = o), l.type !== "Identifier" && l.type !== "AssignmentPattern" && this.raise(u.start, H.UnsupportedParameterPropertyKind), u.parameter = l, this.finishNode(u, "TSParameterProperty");
5305
5306
  }
5306
5307
  return l;
5307
- }, C.checkLValInnerPattern = function(t, n, r) {
5308
+ }, S.checkLValInnerPattern = function(t, n, r) {
5308
5309
  n === void 0 && (n = 0), t.type === "TSParameterProperty" ? this.checkLValInnerPattern(t.parameter, n, r) : e.prototype.checkLValInnerPattern.call(this, t, n, r);
5309
- }, C.parseBindingListItem = function(e) {
5310
+ }, S.parseBindingListItem = function(e) {
5310
5311
  this.eat(o.question) && (e.type === "Identifier" || this.isAmbientContext || this.inType || this.raise(e.start, H.PatternIsOptional), e.optional = !0);
5311
5312
  var t = this.tsTryParseTypeAnnotation();
5312
5313
  return t && (e.typeAnnotation = t), this.resetEndLocation(e), e;
5313
- }, C.isAssignable = function(e, t) {
5314
+ }, S.isAssignable = function(e, t) {
5314
5315
  var n = this;
5315
5316
  switch (e.type) {
5316
5317
  case "TSTypeCastExpression": return this.isAssignable(e.expression, t);
@@ -5337,8 +5338,8 @@ function An(e) {
5337
5338
  case "OptionalMemberExpression": return !t;
5338
5339
  default: return !1;
5339
5340
  }
5340
- }, C.toAssignable = function(t, n, r) {
5341
- switch (n === void 0 && (n = !1), r === void 0 && (r = new hn()), t.type) {
5341
+ }, S.toAssignable = function(t, n, r) {
5342
+ switch (n === void 0 && (n = !1), r === void 0 && (r = new gn()), t.type) {
5342
5343
  case "ParenthesizedExpression": return this.toAssignableParenthesizedExpression(t, n, r);
5343
5344
  case "TSAsExpression":
5344
5345
  case "TSSatisfiesExpression":
@@ -5350,7 +5351,7 @@ function An(e) {
5350
5351
  default: return e.prototype.toAssignable.call(this, t, n, r);
5351
5352
  }
5352
5353
  return t;
5353
- }, C.toAssignableParenthesizedExpression = function(t, n, r) {
5354
+ }, S.toAssignableParenthesizedExpression = function(t, n, r) {
5354
5355
  switch (t.expression.type) {
5355
5356
  case "TSAsExpression":
5356
5357
  case "TSSatisfiesExpression":
@@ -5359,7 +5360,7 @@ function An(e) {
5359
5360
  case "ParenthesizedExpression": return this.toAssignable(t.expression, n, r);
5360
5361
  default: return e.prototype.toAssignable.call(this, t, n, r);
5361
5362
  }
5362
- }, C.curPosition = function() {
5363
+ }, S.curPosition = function() {
5363
5364
  if (this.options.locations) {
5364
5365
  var t = e.prototype.curPosition.call(this);
5365
5366
  return Object.defineProperty(t, "offset", { get: function() {
@@ -5369,9 +5370,9 @@ function An(e) {
5369
5370
  };
5370
5371
  } }), t.index = this.pos, t;
5371
5372
  }
5372
- }, C.parseBindingAtom = function() {
5373
+ }, S.parseBindingAtom = function() {
5373
5374
  return this.type === o._this ? this.parseIdent(!0) : e.prototype.parseBindingAtom.call(this);
5374
- }, C.shouldParseArrow = function(e) {
5375
+ }, S.shouldParseArrow = function(e) {
5375
5376
  var t, n = this;
5376
5377
  if (t = this.match(o.colon) ? e.every(function(e) {
5377
5378
  return n.isAssignable(e, !0);
@@ -5387,15 +5388,15 @@ function An(e) {
5387
5388
  return !!this.match(o.arrow) || (this.shouldParseArrowReturnType = void 0, !1);
5388
5389
  }
5389
5390
  return this.shouldParseArrowReturnType = void 0, t;
5390
- }, C.parseParenArrowList = function(e, t, n, r) {
5391
+ }, S.parseParenArrowList = function(e, t, n, r) {
5391
5392
  var i = this.startNodeAt(e, t);
5392
5393
  return i.returnType = this.shouldParseArrowReturnType, this.shouldParseArrowReturnType = void 0, this.parseArrowExpression(i, n, !1, r);
5393
- }, C.parseParenAndDistinguishExpression = function(e, t) {
5394
+ }, S.parseParenAndDistinguishExpression = function(e, t) {
5394
5395
  var n, r = this.start, i = this.startLoc, a = this.options.ecmaVersion >= 8;
5395
5396
  if (this.options.ecmaVersion >= 6) {
5396
5397
  var s = this.maybeInArrowParameters;
5397
5398
  this.maybeInArrowParameters = !0, this.next();
5398
- var c, l = this.start, u = this.startLoc, d = [], f = !0, p = !1, m = new hn(), h = this.yieldPos, g = this.awaitPos;
5399
+ var c, l = this.start, u = this.startLoc, d = [], f = !0, p = !1, m = new gn(), h = this.yieldPos, g = this.awaitPos;
5399
5400
  for (this.yieldPos = 0, this.awaitPos = 0; this.type !== o.parenR;) {
5400
5401
  if (f ? f = !1 : this.expect(o.comma), a && this.afterTrailingComma(o.parenR, !0)) {
5401
5402
  p = !0;
@@ -5416,10 +5417,10 @@ function An(e) {
5416
5417
  return te.expression = n, this.finishNode(te, "ParenthesizedExpression");
5417
5418
  }
5418
5419
  return n;
5419
- }, C.parseTaggedTemplateExpression = function(e, t, n, r) {
5420
+ }, S.parseTaggedTemplateExpression = function(e, t, n, r) {
5420
5421
  var i = this.startNodeAt(t, n);
5421
5422
  return i.tag = e, i.quasi = this.parseTemplate({ isTagged: !0 }), r && this.raise(t, "Tagged Template Literals are not allowed in optionalChain."), this.finishNode(i, "TaggedTemplateExpression");
5422
- }, C.shouldParseAsyncArrow = function() {
5423
+ }, S.shouldParseAsyncArrow = function() {
5423
5424
  var e = this;
5424
5425
  if (!this.match(o.colon)) return !this.canInsertSemicolon() && this.eat(o.arrow);
5425
5426
  var t = this.tryParse(function(t) {
@@ -5427,10 +5428,10 @@ function An(e) {
5427
5428
  return !e.canInsertSemicolon() && e.match(o.arrow) || t(), n;
5428
5429
  });
5429
5430
  return t.aborted ? (this.shouldParseAsyncArrowReturnType = void 0, !1) : t.thrown ? void 0 : (t.error && this.setLookaheadState(t.failState), this.shouldParseAsyncArrowReturnType = t.node, !this.canInsertSemicolon() && this.eat(o.arrow));
5430
- }, C.parseSubscriptAsyncArrow = function(e, t, n, r) {
5431
+ }, S.parseSubscriptAsyncArrow = function(e, t, n, r) {
5431
5432
  var i = this.startNodeAt(e, t);
5432
5433
  return i.returnType = this.shouldParseAsyncArrowReturnType, this.shouldParseAsyncArrowReturnType = void 0, this.parseArrowExpression(i, n, !0, r);
5433
- }, C.parseExprList = function(e, t, n, r) {
5434
+ }, S.parseExprList = function(e, t, n, r) {
5434
5435
  for (var i = [], a = !0; !this.eat(e);) {
5435
5436
  if (a) a = !1;
5436
5437
  else if (this.expect(o.comma), t && this.afterTrailingComma(e)) break;
@@ -5438,7 +5439,7 @@ function An(e) {
5438
5439
  n && this.type === o.comma ? s = null : this.type === o.ellipsis ? (s = this.parseSpread(r), r && this.type === o.comma && r.trailingComma < 0 && (r.trailingComma = this.start)) : s = this.parseMaybeAssign(!1, r, this.parseParenItem), i.push(s);
5439
5440
  }
5440
5441
  return i;
5441
- }, C.parseSubscript = function(e, t, n, r, i, a, s) {
5442
+ }, S.parseSubscript = function(e, t, n, r, i, a, s) {
5442
5443
  var c = this, l = a;
5443
5444
  if (!this.hasPrecedingLineBreak() && this.value === "!" && this.match(o.prefix)) {
5444
5445
  this.exprAllowed = !1, this.next();
@@ -5464,7 +5465,7 @@ function An(e) {
5464
5465
  return u.typeParameters = a, u;
5465
5466
  }
5466
5467
  if (!r && c.eat(o.parenL)) {
5467
- var p = new hn(), m = c.startNodeAt(t, n);
5468
+ var p = new gn(), m = c.startNodeAt(t, n);
5468
5469
  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");
5469
5470
  }
5470
5471
  var h = c.type;
@@ -5484,27 +5485,27 @@ function An(e) {
5484
5485
  } else if (!r && this.eat(o.parenL)) {
5485
5486
  var te = this.maybeInArrowParameters;
5486
5487
  this.maybeInArrowParameters = !0;
5487
- var v = new hn(), ne = this.yieldPos, y = this.awaitPos, b = this.awaitIdentPos;
5488
+ var v = new gn(), ne = this.yieldPos, re = this.awaitPos, y = this.awaitIdentPos;
5488
5489
  this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0;
5489
- var x = this.parseExprList(o.parenR, this.options.ecmaVersion >= 8, !1, v);
5490
- if (i && !h && this.shouldParseAsyncArrow()) this.checkPatternErrors(v, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = ne, this.awaitPos = y, this.awaitIdentPos = b, e = this.parseSubscriptAsyncArrow(t, n, x, s);
5490
+ var b = this.parseExprList(o.parenR, this.options.ecmaVersion >= 8, !1, v);
5491
+ if (i && !h && this.shouldParseAsyncArrow()) this.checkPatternErrors(v, !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 = y, e = this.parseSubscriptAsyncArrow(t, n, b, s);
5491
5492
  else {
5492
- this.checkExpressionErrors(v, !0), this.yieldPos = ne || this.yieldPos, this.awaitPos = y || this.awaitPos, this.awaitIdentPos = b || this.awaitIdentPos;
5493
- var S = this.startNodeAt(t, n);
5494
- S.callee = e, S.arguments = x, m && (S.optional = h), e = this.finishNode(S, "CallExpression");
5493
+ this.checkExpressionErrors(v, !0), this.yieldPos = ne || this.yieldPos, this.awaitPos = re || this.awaitPos, this.awaitIdentPos = y || this.awaitIdentPos;
5494
+ var x = this.startNodeAt(t, n);
5495
+ x.callee = e, x.arguments = b, m && (x.optional = h), e = this.finishNode(x, "CallExpression");
5495
5496
  }
5496
5497
  this.maybeInArrowParameters = te;
5497
5498
  } else if (this.type === o.backQuote) {
5498
5499
  (h || l) && this.raise(this.start, "Optional chaining cannot appear in the tag of tagged template expressions");
5499
- var C = this.startNodeAt(t, n);
5500
- C.tag = e, C.quasi = this.parseTemplate({ isTagged: !0 }), e = this.finishNode(C, "TaggedTemplateExpression");
5500
+ var S = this.startNodeAt(t, n);
5501
+ S.tag = e, S.quasi = this.parseTemplate({ isTagged: !0 }), e = this.finishNode(S, "TaggedTemplateExpression");
5501
5502
  }
5502
5503
  return e;
5503
- }, C.parseGetterSetter = function(e) {
5504
+ }, S.parseGetterSetter = function(e) {
5504
5505
  e.kind = e.key.name, this.parsePropertyName(e), e.value = this.parseMethod(!1);
5505
5506
  var t = e.kind === "get" ? 0 : 1, n = e.value.params[0], r = n && this.isThisParam(n);
5506
5507
  e.value.params.length === (t = r ? t + 1 : t) ? e.kind === "set" && e.value.params[0].type === "RestElement" && this.raiseRecoverable(e.value.params[0].start, "Setter cannot use rest params") : this.raiseRecoverable(e.value.start, e.kind === "get" ? "getter should have no params" : "setter should have exactly one param");
5507
- }, C.parseProperty = function(t, n) {
5508
+ }, S.parseProperty = function(t, n) {
5508
5509
  if (!t) {
5509
5510
  var r = [];
5510
5511
  if (this.match(m.at)) for (; this.match(m.at);) r.push(this.parseDecorator());
@@ -5512,12 +5513,12 @@ function An(e) {
5512
5513
  return i.type === "SpreadElement" && r.length && this.raise(i.start, "Decorators can't be used with SpreadElement"), r.length && (i.decorators = r, r = []), i;
5513
5514
  }
5514
5515
  return e.prototype.parseProperty.call(this, t, n);
5515
- }, C.parseCatchClauseParam = function() {
5516
+ }, S.parseCatchClauseParam = function() {
5516
5517
  var e = this.parseBindingAtom(), t = e.type === "Identifier";
5517
5518
  this.enterScope(t ? 32 : 0), this.checkLValPattern(e, t ? 4 : 2);
5518
5519
  var n = this.tsTryParseTypeAnnotation();
5519
5520
  return n && (e.typeAnnotation = n, this.resetEndLocation(e)), this.expect(o.parenR), e;
5520
- }, C.parseClass = function(e, t) {
5521
+ }, S.parseClass = function(e, t) {
5521
5522
  var n = this.inAbstractClass;
5522
5523
  this.inAbstractClass = !!e.abstract;
5523
5524
  try {
@@ -5530,18 +5531,18 @@ function An(e) {
5530
5531
  for (this.expect(o.braceL); this.type !== o.braceR;) if (this.match(m.at)) c.push(this.parseDecorator());
5531
5532
  else {
5532
5533
  var l = this.parseClassElement(e.superClass !== null);
5533
- 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" && gn(i, l) && this.raiseRecoverable(l.key.start, "Identifier '#" + l.key.name + "' has already been declared"));
5534
+ 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" && _n(i, l) && this.raiseRecoverable(l.key.start, "Identifier '#" + l.key.name + "' has already been declared"));
5534
5535
  }
5535
5536
  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");
5536
5537
  } finally {
5537
5538
  this.inAbstractClass = n;
5538
5539
  }
5539
- }, C.parseClassFunctionParams = function() {
5540
+ }, S.parseClassFunctionParams = function() {
5540
5541
  var e = this.tsTryParseTypeParameters(this.tsParseConstModifier), t = this.parseBindingList(o.parenR, !1, this.options.ecmaVersion >= 8, !0);
5541
5542
  return e && (t.typeParameters = e), t;
5542
- }, C.parseMethod = function(e, t, n, r, i) {
5543
+ }, S.parseMethod = function(e, t, n, r, i) {
5543
5544
  var a = this.startNode(), s = this.yieldPos, c = this.awaitPos, l = this.awaitIdentPos;
5544
- 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 | En(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) {
5545
+ 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 | Dn(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) {
5545
5546
  var u = i.key;
5546
5547
  this.raise(i.start, H.AbstractMethodHasImplementation({ methodName: u.type !== "Identifier" || i.computed ? "[" + this.input.slice(u.start, u.end) + "]" : u.name }));
5547
5548
  }
@@ -5556,14 +5557,14 @@ function An(e) {
5556
5557
  n.locations = !0;
5557
5558
  var i = new this(n, e, t);
5558
5559
  return r && (i.isAmbientContext = !0), i.nextToken(), i.parseExpression();
5559
- }, C.parseImportSpecifier = function() {
5560
+ }, S.parseImportSpecifier = function() {
5560
5561
  if (this.ts_isContextual(m.type)) {
5561
5562
  var t = this.startNode();
5562
5563
  return t.imported = this.parseModuleExportName(), this.parseTypeOnlyImportExportSpecifier(t, !0, this.importOrExportOuterKind === "type"), this.finishNode(t, "ImportSpecifier");
5563
5564
  }
5564
5565
  var n = e.prototype.parseImportSpecifier.call(this);
5565
5566
  return n.importKind = "value", n;
5566
- }, C.parseExportSpecifier = function(t) {
5567
+ }, S.parseExportSpecifier = function(t) {
5567
5568
  var n = this.ts_isContextual(m.type);
5568
5569
  if (!this.match(o.string) && n) {
5569
5570
  var r = this.startNode();
@@ -5571,7 +5572,7 @@ function An(e) {
5571
5572
  }
5572
5573
  var i = e.prototype.parseExportSpecifier.call(this, t);
5573
5574
  return i.exportKind = "value", i;
5574
- }, C.parseTypeOnlyImportExportSpecifier = function(t, n, r) {
5575
+ }, S.parseTypeOnlyImportExportSpecifier = function(t, n, r) {
5575
5576
  var i, a = n ? "imported" : "local", o = n ? "local" : "exported", s = t[a], c = !1, l = !0, u = s.start;
5576
5577
  if (this.isContextual("as")) {
5577
5578
  var d = this.parseIdent();
@@ -5581,13 +5582,13 @@ function An(e) {
5581
5582
  } else ne(this.type) ? (l = !1, i = n ? this.parseIdent() : this.parseModuleExportName()) : (c = !0, s = d);
5582
5583
  } else ne(this.type) && (c = !0, n ? (s = e.prototype.parseIdent.call(this, !0), this.isContextual("as") || this.checkUnreserved(s)) : s = this.parseModuleExportName());
5583
5584
  c && r && this.raise(u, n ? H.TypeModifierIsUsedInTypeImports : H.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);
5584
- }, C.raiseCommonCheck = function(t, n, r) {
5585
+ }, S.raiseCommonCheck = function(t, n, r) {
5585
5586
  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);
5586
- }, C.raiseRecoverable = function(e, t) {
5587
+ }, S.raiseRecoverable = function(e, t) {
5587
5588
  return this.raiseCommonCheck(e, t, !0);
5588
- }, C.raise = function(e, t) {
5589
+ }, S.raise = function(e, t) {
5589
5590
  return this.raiseCommonCheck(e, t, !0);
5590
- }, C.updateContext = function(t) {
5591
+ }, S.updateContext = function(t) {
5591
5592
  var n = this.type;
5592
5593
  if (n == o.braceL) {
5593
5594
  var r = this.curContext();
@@ -5596,7 +5597,7 @@ function An(e) {
5596
5597
  if (n !== o.slash || t !== m.jsxTagStart) return e.prototype.updateContext.call(this, t);
5597
5598
  this.context.length -= 2, this.context.push(h.tc_cTag), this.exprAllowed = !1;
5598
5599
  }
5599
- }, C.jsx_parseOpeningElementAt = function(e, t) {
5600
+ }, S.jsx_parseOpeningElementAt = function(e, t) {
5600
5601
  var n = this, r = this.startNodeAt(e, t), i = this.jsx_parseElementName();
5601
5602
  if (i && (r.name = i), this.match(o.relational) || this.match(o.bitShift)) {
5602
5603
  var a = this.tsTryParseAndCatch(function() {
@@ -5606,31 +5607,31 @@ function An(e) {
5606
5607
  }
5607
5608
  for (r.attributes = []; this.type !== o.slash && this.type !== m.jsxTagEnd;) r.attributes.push(this.jsx_parseAttribute());
5608
5609
  return r.selfClosing = this.eat(o.slash), this.expect(m.jsxTagEnd), this.finishNode(r, i ? "JSXOpeningElement" : "JSXOpeningFragment");
5609
- }, C.enterScope = function(t) {
5610
- t === pn && this.importsStack.push([]), e.prototype.enterScope.call(this, t);
5610
+ }, S.enterScope = function(t) {
5611
+ t === mn && this.importsStack.push([]), e.prototype.enterScope.call(this, t);
5611
5612
  var n = e.prototype.currentScope.call(this);
5612
5613
  n.types = [], n.enums = [], n.constEnums = [], n.classes = [], n.exportOnlyBindings = [];
5613
- }, C.exitScope = function() {
5614
- e.prototype.currentScope.call(this).flags === pn && this.importsStack.pop(), e.prototype.exitScope.call(this);
5615
- }, C.hasImport = function(e, t) {
5614
+ }, S.exitScope = function() {
5615
+ e.prototype.currentScope.call(this).flags === mn && this.importsStack.pop(), e.prototype.exitScope.call(this);
5616
+ }, S.hasImport = function(e, t) {
5616
5617
  var n = this.importsStack.length;
5617
5618
  if (this.importsStack[n - 1].indexOf(e) > -1) return !0;
5618
5619
  if (!t && n > 1) {
5619
5620
  for (var r = 0; r < n - 1; r++) if (this.importsStack[r].indexOf(e) > -1) return !0;
5620
5621
  }
5621
5622
  return !1;
5622
- }, C.maybeExportDefined = function(e, t) {
5623
+ }, S.maybeExportDefined = function(e, t) {
5623
5624
  this.inModule && 1 & e.flags && this.undefinedExports.delete(t);
5624
- }, C.isRedeclaredInScope = function(t, n, r) {
5625
+ }, S.isRedeclaredInScope = function(t, n, r) {
5625
5626
  return !!(0 & r) && (2 & r ? t.lexical.indexOf(n) > -1 || t.functions.indexOf(n) > -1 || t.var.indexOf(n) > -1 : 3 & r ? t.lexical.indexOf(n) > -1 || !e.prototype.treatFunctionsAsVarInScope.call(this, t) && t.var.indexOf(n) > -1 : t.lexical.indexOf(n) > -1 && !(32 & t.flags && t.lexical[0] === n) || !this.treatFunctionsAsVarInScope(t) && t.functions.indexOf(n) > -1);
5626
- }, C.checkRedeclarationInScope = function(e, t, n, r) {
5627
+ }, S.checkRedeclarationInScope = function(e, t, n, r) {
5627
5628
  this.isRedeclaredInScope(e, t, n) && this.raise(r, "Identifier '" + t + "' has already been declared.");
5628
- }, C.declareName = function(t, n, r) {
5629
+ }, S.declareName = function(t, n, r) {
5629
5630
  if (4096 & n) return this.hasImport(t, !0) && this.raise(r, "Identifier '" + t + "' has already been declared."), void this.importsStack[this.importsStack.length - 1].push(t);
5630
5631
  var i = this.currentScope();
5631
5632
  if (1024 & n) return this.maybeExportDefined(i, t), void i.exportOnlyBindings.push(t);
5632
5633
  e.prototype.declareName.call(this, t, n, r), 0 & n && (0 & n || (this.checkRedeclarationInScope(i, t, n, r), this.maybeExportDefined(i, t)), i.types.push(t)), 256 & n && i.enums.push(t), 512 & n && i.constEnums.push(t), 128 & n && i.classes.push(t);
5633
- }, C.checkLocalExport = function(t) {
5634
+ }, S.checkLocalExport = function(t) {
5634
5635
  var n = t.name;
5635
5636
  if (!this.hasImport(n)) {
5636
5637
  for (var r = this.scopeStack.length - 1; r >= 0; r--) {
@@ -5639,23 +5640,23 @@ function An(e) {
5639
5640
  }
5640
5641
  e.prototype.checkLocalExport.call(this, t);
5641
5642
  }
5642
- }, u = t, S = [{
5643
+ }, d = t, x = [{
5643
5644
  key: "acornTypeScript",
5644
5645
  get: function() {
5645
5646
  return i;
5646
5647
  }
5647
- }], (x = [{
5648
+ }], (b = [{
5648
5649
  key: "acornTypeScript",
5649
5650
  get: function() {
5650
5651
  return i;
5651
5652
  }
5652
- }]) && an(u.prototype, x), S && an(u, S), Object.defineProperty(u, "prototype", { writable: !1 }), t;
5653
+ }]) && on(d.prototype, b), x && on(d, x), Object.defineProperty(d, "prototype", { writable: !1 }), t;
5653
5654
  }(t);
5654
5655
  };
5655
5656
  }
5656
5657
  //#endregion
5657
5658
  //#region src/utilities/index.ts
5658
- var jn = "code-health-reports/fallow", Mn = `${jn}/badge.json`, Nn = `${jn}/index.md`, Pn = [
5659
+ var Mn = "code-health-reports/fallow", Nn = `${Mn}/badge.json`, Pn = `${Mn}/index.md`, Fn = [
5659
5660
  {
5660
5661
  idPrefix: "dpuse-app",
5661
5662
  typeId: "app",
@@ -5740,8 +5741,8 @@ var jn = "code-health-reports/fallow", Mn = `${jn}/badge.json`, Nn = `${jn}/inde
5740
5741
  publishedTo: "github",
5741
5742
  uploadGroupName: void 0
5742
5743
  }
5743
- ], Fn = r(i);
5744
- async function In(e, r) {
5744
+ ], In = r(i);
5745
+ async function Ln(e, r) {
5745
5746
  e !== void 0 && q(`${e} - clear(${r})`);
5746
5747
  let i;
5747
5748
  try {
@@ -5762,12 +5763,12 @@ async function In(e, r) {
5762
5763
  }
5763
5764
  }));
5764
5765
  }
5765
- async function Ln(e, n) {
5766
+ async function Rn(e, n) {
5766
5767
  return t.readdir(e, n);
5767
5768
  }
5768
- async function Rn(e, n, r, i) {
5769
+ async function zn(e, n, r, i) {
5769
5770
  e !== void 0 && q(`${e} - exec(${n} ${r.join(" ")})`);
5770
- let { stdout: a, stderr: o } = await Fn(n, r);
5771
+ let { stdout: a, stderr: o } = await In(n, r);
5771
5772
  i === void 0 ? a.trim() && console.log(a.trim()) : await t.writeFile(i, a.trim(), "utf-8"), o.trim() && console.error(o.trim());
5772
5773
  }
5773
5774
  async function U(e, t, n, r = !1, i = !1) {
@@ -5780,7 +5781,7 @@ async function U(e, t, n, r = !1, i = !1) {
5780
5781
  });
5781
5782
  });
5782
5783
  }
5783
- async function zn(e, r, i, o, s = !1) {
5784
+ async function Bn(e, r, i, o, s = !1) {
5784
5785
  return q(`${e} - spawn(${r} ${i.join(" ")}) > ${o}`), new Promise((e, c) => {
5785
5786
  let l = a(r, i, {
5786
5787
  shell: !1,
@@ -5806,10 +5807,10 @@ async function zn(e, r, i, o, s = !1) {
5806
5807
  async function W(e) {
5807
5808
  return JSON.parse(await t.readFile(e, "utf-8"));
5808
5809
  }
5809
- async function Bn(e) {
5810
+ async function Vn(e) {
5810
5811
  return await t.readFile(e, "utf-8");
5811
5812
  }
5812
- async function Vn(e) {
5813
+ async function Hn(e) {
5813
5814
  try {
5814
5815
  return await t.readFile(e, "utf-8");
5815
5816
  } catch (e) {
@@ -5817,13 +5818,13 @@ async function Vn(e) {
5817
5818
  throw e;
5818
5819
  }
5819
5820
  }
5820
- async function Hn(e, n) {
5821
+ async function Un(e, n) {
5821
5822
  await t.writeFile(e, JSON.stringify(n, void 0, 4), "utf-8");
5822
5823
  }
5823
- async function Un(e, t, n) {
5824
- await Wn("README.md", Xn(await Bn("./README.md"), e, t, n));
5824
+ async function Wn(e, t, n) {
5825
+ await Gn("README.md", Zn(await Vn("./README.md"), e, t, n));
5825
5826
  }
5826
- async function Wn(e, n) {
5827
+ async function Gn(e, n) {
5827
5828
  await t.writeFile(e, n, "utf-8");
5828
5829
  }
5829
5830
  function G(e) {
@@ -5836,12 +5837,12 @@ function K(e) {
5836
5837
  function q(e) {
5837
5838
  console.info(`\n${e}\n`);
5838
5839
  }
5839
- function Gn(e) {
5840
- let t = Pn.find((t) => e.startsWith(t.idPrefix));
5840
+ function Kn(e) {
5841
+ let t = Fn.find((t) => e.startsWith(t.idPrefix));
5841
5842
  if (!t) throw Error(`Failed to locate module type configuration for identifier '${e}'.`);
5842
5843
  return t;
5843
5844
  }
5844
- function Kn(e, t) {
5845
+ function qn(e, t) {
5845
5846
  let n = e.repository, r = typeof n == "string" ? n : n?.url;
5846
5847
  if (r == null || r === "") throw Error(`package.json 'repository' field is required to ${t}.`);
5847
5848
  let i = r.replace(/^git\+/, "").replace(/\.git$/, ""), a = /github\.com[/:]([^/]+)\/([^/]+)$/.exec(i);
@@ -5851,16 +5852,16 @@ function Kn(e, t) {
5851
5852
  repo: a[2]
5852
5853
  };
5853
5854
  }
5854
- async function qn(e) {
5855
+ async function Jn(e) {
5855
5856
  return await t.stat(e);
5856
5857
  }
5857
- function Jn(e) {
5858
- let t = k.extend(An()).parse(e, {
5858
+ function Yn(e) {
5859
+ let t = k.extend(jn()).parse(e, {
5859
5860
  ecmaVersion: "latest",
5860
5861
  sourceType: "module",
5861
5862
  locations: !0
5862
5863
  }), n = [];
5863
- return Yn(t, (e) => {
5864
+ return Xn(t, (e) => {
5864
5865
  if (e.type !== "MethodDefinition") return;
5865
5866
  let t = e, r = t.key;
5866
5867
  if (r.type !== "Identifier") return;
@@ -5868,7 +5869,7 @@ function Jn(e) {
5868
5869
  i && i !== "constructor" && t.accessibility !== "private" && n.push(i);
5869
5870
  }), n;
5870
5871
  }
5871
- function Yn(e, t) {
5872
+ function Xn(e, t) {
5872
5873
  t(e);
5873
5874
  for (let [n, r] of Object.entries(e)) {
5874
5875
  if ([
@@ -5881,12 +5882,12 @@ function Yn(e, t) {
5881
5882
  let e = r;
5882
5883
  if (Array.isArray(e)) for (let n of e) {
5883
5884
  let e = n;
5884
- e && typeof e.type == "string" && Yn(e, t);
5885
+ e && typeof e.type == "string" && Xn(e, t);
5885
5886
  }
5886
- else e && typeof e == "object" && typeof e.type == "string" && Yn(e, t);
5887
+ else e && typeof e == "object" && typeof e.type == "string" && Xn(e, t);
5887
5888
  }
5888
5889
  }
5889
- function Xn(e, t, n, r) {
5890
+ function Zn(e, t, n, r) {
5890
5891
  let i = e.indexOf(n), a = e.indexOf(r);
5891
5892
  if (i === -1 || a === -1) throw Error(`Markers ${n}-${r} not found in content.`);
5892
5893
  let o = t.trim();
@@ -5894,7 +5895,7 @@ function Xn(e, t, n, r) {
5894
5895
  }
5895
5896
  //#endregion
5896
5897
  //#region src/actions/auditDependencies.ts
5897
- async function Zn() {
5898
+ async function Qn() {
5898
5899
  try {
5899
5900
  G("Audit Dependencies"), await U("1️⃣ Check using 'npm audit'", "npm", ["audit"]), K("Dependencies audited");
5900
5901
  } catch (e) {
@@ -5903,37 +5904,35 @@ async function Zn() {
5903
5904
  }
5904
5905
  //#endregion
5905
5906
  //#region src/actions/checkConfigFiles.ts
5906
- var Qn = "@dpuse/dpuse-development/prettierrc", $n = "dpuse-development";
5907
- async function er() {
5907
+ var $n = "@dpuse/dpuse-development/prettierrc", er = "dpuse-development";
5908
+ async function tr() {
5908
5909
  try {
5909
5910
  G("Check configuration files"), q("1️⃣ Check individual files");
5910
- let e = await W("config.json"), t = await W("package.json"), r = t.private === !0, i = Gn(e.id), a = n.dirname(o(import.meta.url));
5911
- await J(a, ".editorconfig"), await tr(i, a), await J(a, ".gitignore", [".gitignore_default"]), await J(a, ".markdownlint.json"), await J(a, ".ncurc.json"), await nr(i, a), await J(a, "LICENSE"), await ir(i, a), await ar(i, a), await or(i, a), await cr(i, a), rr(i, t), await J(a, ".github/dependabot.yml", [r ? ".github/dependabot.private.yml" : ".github/dependabot.yml"]), r ? console.info("ℹ️ GitHub workflows and file 'SECURITY.md' are NOT required by this project") : (await sr(i, a), await J(a, "SECURITY.md", [], (t) => t.replaceAll($n, () => e.id))), K("Configuration files checked");
5911
+ let e = await W("config.json"), t = await W("package.json"), r = t.private === !0, i = Kn(e.id), a = n.dirname(o(import.meta.url));
5912
+ await J(a, ".editorconfig"), await J(a, ".gitattributes"), await J(a, ".gitignore", [".gitignore_default"]), await J(a, ".markdownlint.json"), await J(a, ".ncurc.json"), await nr(i, a), await J(a, "LICENSE"), await ir(i, a), await ar(i, a), await or(i, a), await cr(i, a), rr(i, t), await J(a, ".github/dependabot.yml", [r ? ".github/dependabot.private.yml" : ".github/dependabot.yml"]), r ? console.info("ℹ️ GitHub workflows and file 'SECURITY.md' are NOT required by this project") : (await sr(i, a), await J(a, "SECURITY.md", [], (t) => t.replaceAll(er, () => e.id))), K("Configuration files checked");
5912
5913
  } catch (e) {
5913
5914
  console.error("❌ Error checking configuration files", e), process.exit(1);
5914
5915
  }
5915
5916
  }
5916
- async function tr(e, t) {
5917
- ["development"].includes(e.typeId) ? console.info("ℹ️ File '.gitattributes' is UNIQUE to this project") : await J(t, ".gitattributes", [".gitattributes_default"]);
5918
- }
5919
5917
  async function nr(e, t) {
5920
5918
  ["github", "kb"].includes(e.typeId) ? console.info("ℹ️ File 'eslint.config.js' is NOT required by this project") : [
5921
5919
  "app",
5922
5920
  "api",
5923
5921
  "development",
5924
5922
  "eslint"
5925
- ].includes(e.typeId) ? console.info("ℹ️ File 'eslint.config.js' is UNIQUE to this project") : await J(t, "eslint.config.js", ["eslint.config.default.js"]);
5923
+ ].includes(e.typeId) ? console.info("⚠️ File 'eslint.config.js' is UNIQUE to this project") : await J(t, "eslint.config.js", ["eslint.config.default.js"]);
5926
5924
  }
5927
5925
  function rr(e, t) {
5928
- ["app", "development"].includes(e.typeId) ? console.info("ℹ️ File '.prettierrc.json' is UNIQUE to this project") : t.prettier === Qn ? console.info(`ℹ️ Prettier configuration is '${Qn}'`) : console.info(`⚠️ Prettier configuration is NOT '${Qn}'`);
5926
+ e.typeId === "development" ? console.info("ℹ️ File '.prettierrc.json' is the template") : e.typeId === "app" ? console.info("⚠️ File '.prettierrc.json' is UNIQUE to this project") : t.prettier === $n ? console.info(`ℹ️ Prettier configuration is '${$n}'`) : console.info(`❌ Prettier configuration is NOT '${$n}'`);
5929
5927
  }
5930
5928
  async function ir(e, t) {
5931
5929
  ["github"].includes(e.typeId) ? console.info("ℹ️ File 'tsconfig.json' is NOT required by this project") : [
5932
5930
  "connector",
5931
+ "development",
5933
5932
  "engine",
5934
5933
  "shared",
5935
5934
  "tool"
5936
- ].includes(e.typeId) ? await J(t, "tsconfig.json", ["tsconfig.default.json"]) : console.info("ℹ️ File 'tsconfig.json' is UNIQUE to this project");
5935
+ ].includes(e.typeId) ? await J(t, "tsconfig.json") : console.info("⚠️ File 'tsconfig.json' is UNIQUE to this project");
5937
5936
  }
5938
5937
  async function ar(e, t) {
5939
5938
  ["github"].includes(e.typeId) ? console.info("ℹ️ File 'tsconfig.scripts.json' is NOT required by this project") : await J(t, "tsconfig.scripts.json");
@@ -5950,7 +5949,7 @@ async function or(e, t) {
5950
5949
  "development",
5951
5950
  "engine",
5952
5951
  "shared"
5953
- ].includes(e.typeId)) console.info("ℹ️ File 'vite.config.ts' is UNIQUE to this project");
5952
+ ].includes(e.typeId)) console.info("⚠️ File 'vite.config.ts' is UNIQUE to this project");
5954
5953
  else {
5955
5954
  let n;
5956
5955
  n = e.typeId === "connector" ? ["vite.config.default.ts", "vite.config.wasm.ts"] : e.typeId === "tool" ? ["vite.config.tool.ts"] : ["vite.config.default.ts"], await J(t, "vite.config.ts", n);
@@ -5971,22 +5970,22 @@ async function cr(e, t) {
5971
5970
  async function J(e, t, r = [], i = (e) => e) {
5972
5971
  let a = n.resolve(process.cwd(), t), o = r.length > 0 ? r : [t], s;
5973
5972
  try {
5974
- s = await Bn(a);
5973
+ s = await Vn(a);
5975
5974
  } catch (e) {
5976
5975
  if (e.code !== "ENOENT") throw e;
5977
5976
  }
5978
5977
  if (s === void 0) {
5979
- console.info(`⚠️ File '${t}' is MISSING`);
5978
+ console.info(`❌ File '${t}' is MISSING`);
5980
5979
  return;
5981
5980
  }
5982
5981
  for (let r of o) {
5983
- let a = i(await Bn(n.resolve(e, `../${r}`)));
5982
+ let a = i(await Vn(n.resolve(e, `../${r}`)));
5984
5983
  if (s === a) {
5985
- console.info(`ℹ️ File '${t.split("_", 1)[0] ?? t}' is the same as '${r}'`);
5984
+ console.info(`ℹ️ File '${t}' is the same as '${r}'`);
5986
5985
  return;
5987
5986
  }
5988
5987
  }
5989
- console.info(`⚠️ File '${t.split("_", 1)[0] ?? t}' is NOT the same`);
5988
+ console.info(`❌ File '${t}' is NOT the same`);
5990
5989
  }
5991
5990
  //#endregion
5992
5991
  //#region src/actions/checkDependencies.ts
@@ -6035,7 +6034,7 @@ async function vr(e) {
6035
6034
  try {
6036
6035
  G("Document Bundle Sizes"), q("1️⃣ Read bundle analysis report");
6037
6036
  let t = await W("./bundle-analysis-reports/sonda/index.json");
6038
- q("2️⃣ Insert table into 'README.md'"), await Un(`## Bundle Analysis\n\n${hr}\n\n${yr(t, e?.moduleLevel ?? !1)}\n\n${_r}`, dr, fr), K("Bundle sizes documented");
6037
+ q("2️⃣ Insert table into 'README.md'"), await Wn(`## Bundle Analysis\n\n${hr}\n\n${yr(t, e?.moduleLevel ?? !1)}\n\n${_r}`, dr, fr), K("Bundle sizes documented");
6039
6038
  } catch (e) {
6040
6039
  console.error("❌ Error documenting bundle sizes", e), process.exit(1);
6041
6040
  }
@@ -6161,7 +6160,7 @@ async function Br(e = "MIT") {
6161
6160
  await Vr(t.name), K("Dependencies documented");
6162
6161
  return;
6163
6162
  }
6164
- await In("1️⃣ Clear downloaded licenses", "licenses/downloads"), q("2️⃣ Identify production licenses"), await new Promise((n, r) => {
6163
+ await Ln("1️⃣ Clear downloaded licenses", "licenses/downloads"), q("2️⃣ Identify production licenses"), await new Promise((n, r) => {
6165
6164
  let i = {
6166
6165
  start: process.cwd(),
6167
6166
  production: !0,
@@ -6176,7 +6175,7 @@ async function Br(e = "MIT") {
6176
6175
  c(i, (e) => {
6177
6176
  e == null ? n() : r(e);
6178
6177
  });
6179
- }), await zn("3️⃣ Identify transitive dependencies", "npm", [
6178
+ }), await Bn("3️⃣ Identify transitive dependencies", "npm", [
6180
6179
  "ls",
6181
6180
  "--all",
6182
6181
  "--json",
@@ -6187,7 +6186,7 @@ async function Br(e = "MIT") {
6187
6186
  }
6188
6187
  }
6189
6188
  async function Vr(e) {
6190
- q(`1️⃣ Skip: ${e} is a development-only tool and is never part of a production release.`), await Un(`${Rr}\n\n${`> [!WARNING]\n> Dependency licenses are not documented here: ${e} is a development-only tool and is never part of a production release.`}`, Ir, Lr);
6189
+ q(`1️⃣ Skip: ${e} is a development-only tool and is never part of a production release.`), await Wn(`${Rr}\n\n${`> [!WARNING]\n> Dependency licenses are not documented here: ${e} is a development-only tool and is never part of a production release.`}`, Ir, Lr);
6191
6190
  }
6192
6191
  async function Hr(e, t) {
6193
6192
  q(`${e} Insert licenses into 'README.md'`);
@@ -6202,7 +6201,7 @@ async function Hr(e, t) {
6202
6201
  let o = [];
6203
6202
  r.dependencies != null && Jr(r.dependencies, i, o, 0);
6204
6203
  let s = `${zr}\n\n${o.join("\n")}`;
6205
- await Un(`${Rr}\n\n${a.trimEnd()}\n\n### Dependency Tree\n\n${s}`, Ir, Lr);
6204
+ await Wn(`${Rr}\n\n${a.trimEnd()}\n\n### Dependency Tree\n\n${s}`, Ir, Lr);
6206
6205
  }
6207
6206
  function Ur(e) {
6208
6207
  return `License data is updated each time \`npm run document\` is run, using [license-checker](https://github.com/RSeidelsohn/license-checker-rseidelsohn). The following table lists all production dependencies. These dependencies (including transitive ones) have been checked and confirmed to use ${Wr(e.split(";"))} — all permissive, commercially-friendly licenses. Users of the uploaded library are covered by these checks; developers cloning this repository should independently verify development dependencies.`;
@@ -6283,16 +6282,16 @@ var Zr = "<!-- GOVERNANCE_START -->", Qr = "<!-- GOVERNANCE_END -->", $r = {
6283
6282
  C: "yellow",
6284
6283
  D: "orange",
6285
6284
  F: "red"
6286
- }, oi = `${jn}/health.json`, si = r(i);
6285
+ }, oi = `${Mn}/health.json`, si = r(i);
6287
6286
  async function ci() {
6288
6287
  try {
6289
6288
  G("Document Governance");
6290
- let [e, t] = await Promise.all([W("package.json"), W("config.json")]), n = await li(e), r = await ui(e, n === void 0 ? [] : ["--coverage", ti]), { owner: i, repo: a } = Kn(e, "document governance");
6289
+ let [e, t] = await Promise.all([W("package.json"), W("config.json")]), n = await li(e), r = await ui(e, n === void 0 ? [] : ["--coverage", ti]), { owner: i, repo: a } = qn(e, "document governance");
6291
6290
  q("4️⃣ Read security checks and settings");
6292
6291
  let o = await fi(i, a, e);
6293
6292
  q("5️⃣ Look up OpenSSF Best Practices badge and Scorecard results");
6294
6293
  let [s, c] = await Promise.all([mi(`https://github.com/${i}/${a}`), hi(`github.com/${i}/${a}`)]);
6295
- q("6️⃣ Insert governance content into 'README.md'"), await Un(xi(i, a, _i(e), vi(t.firstCreatedAt), {
6294
+ q("6️⃣ Insert governance content into 'README.md'"), await Wn(xi(i, a, _i(e), vi(t.firstCreatedAt), {
6296
6295
  coveragePercent: n,
6297
6296
  fallowHealth: r,
6298
6297
  securitySettings: o
@@ -6311,7 +6310,7 @@ async function li(e) {
6311
6310
  "--passWithNoTests",
6312
6311
  "--coverage"
6313
6312
  ]);
6314
- let t = await Vn(ni);
6313
+ let t = await Hn(ni);
6315
6314
  return t === null ? void 0 : JSON.parse(t).total.lines.pct;
6316
6315
  }
6317
6316
  async function ui(e, t) {
@@ -6319,19 +6318,19 @@ async function ui(e, t) {
6319
6318
  q("2️⃣ Code health NOT measured, as Fallow is not installed"), q("3️⃣ Code health report NOT required");
6320
6319
  return;
6321
6320
  }
6322
- await zn("2️⃣ Measure code health", "fallow", [
6321
+ await Bn("2️⃣ Measure code health", "fallow", [
6323
6322
  "health",
6324
6323
  "--report-only",
6325
6324
  "--format",
6326
6325
  "json",
6327
6326
  ...t
6328
- ], oi), await zn("3️⃣ Write code health report", "fallow", ["--format", "markdown"], Nn, !0);
6327
+ ], oi), await Bn("3️⃣ Write code health report", "fallow", ["--format", "markdown"], Pn, !0);
6329
6328
  let n = await W(oi);
6330
6329
  return await di(n), n;
6331
6330
  }
6332
6331
  async function di(e) {
6333
6332
  let { score: t, grade: n } = e.health_score;
6334
- await Hn(Mn, {
6333
+ await Un(Nn, {
6335
6334
  schemaVersion: 1,
6336
6335
  label: "fallow",
6337
6336
  message: `${n} (${String(Math.round(t))})`,
@@ -6340,9 +6339,9 @@ async function di(e) {
6340
6339
  }
6341
6340
  async function fi(e, t, n) {
6342
6341
  let [r, i, a] = await Promise.all([
6343
- Vn(".github/workflows/ci.yml"),
6344
- Vn(".github/workflows/codeql.yml"),
6345
- Vn(".github/dependabot.yml")
6342
+ Hn(".github/workflows/ci.yml"),
6343
+ Hn(".github/workflows/codeql.yml"),
6344
+ Hn(".github/dependabot.yml")
6346
6345
  ]), [o, s, c, l] = await Promise.all([
6347
6346
  pi(`repos/${e}/${t}`),
6348
6347
  pi(`repos/${e}/${t}/private-vulnerability-reporting`),
@@ -6423,7 +6422,7 @@ function bi(e, t, { coveragePercent: n, fallowHealth: r, securitySettings: i })
6423
6422
  if (r !== void 0) {
6424
6423
  let { score: e, grade: t } = r.health_score;
6425
6424
  o.unshift([
6426
- `[Fallow](./${Nn})`,
6425
+ `[Fallow](./${Pn})`,
6427
6426
  `✅ ${t} (${String(Math.round(e))})`,
6428
6427
  "Unused code, duplication, complexity and dependency hygiene."
6429
6428
  ]);
@@ -7054,40 +7053,128 @@ async function pa() {
7054
7053
  try {
7055
7054
  G("Document Actions"), q("1️⃣ Insert actions description and table into 'README.md'");
7056
7055
  let e = (await W("config.json")).actionNames ?? [], t = oa(e), n = sa(e);
7057
- await Un(`${ua}\n\n${da[t]} ${fa}\n\n${n}`, ca, la), K("Actions documented");
7056
+ await Wn(`${ua}\n\n${da[t]} ${fa}\n\n${n}`, ca, la), K("Actions documented");
7058
7057
  } catch (e) {
7059
7058
  console.error("❌ Error documenting actions", e), process.exit(1);
7060
7059
  }
7061
7060
  }
7062
7061
  //#endregion
7062
+ //#region src/actions/documentApiReference.ts
7063
+ var ma = "API_REFERENCE.md", ha = [
7064
+ "Functions",
7065
+ "Classes",
7066
+ "Constants",
7067
+ "Schemas",
7068
+ "Types"
7069
+ ], ga = "Every export, grouped by import path. This file is updated each time the project is built.";
7070
+ async function _a() {
7071
+ try {
7072
+ G("Document API Reference"), await va("1️⃣ "), K("API reference documented");
7073
+ } catch (e) {
7074
+ console.error("❌ Error documenting API reference", e), process.exit(1);
7075
+ }
7076
+ }
7077
+ async function va(e) {
7078
+ q(`${e} Write '${ma}'`);
7079
+ let t = ya(await W("package.json"));
7080
+ if (t.length === 0) throw Error("package.json 'exports' must name at least one import path with types to document the API reference.");
7081
+ let n = l.createProgram(t.map(({ sourcePath: e }) => e), ba()), r = n.getTypeChecker();
7082
+ await Gn(ma, `# API Reference\n\n${ga}\n\n${t.map(({ importPath: e, sourcePath: t }) => {
7083
+ let i = n.getSourceFile(t);
7084
+ if (i === void 0) throw Error(`Unable to read '${t}', the source of '${e}'.`);
7085
+ return Ta(e, xa(r, i));
7086
+ }).join("\n\n")}\n`);
7087
+ }
7088
+ function ya(e) {
7089
+ let t = e.name ?? "", n = e.exports;
7090
+ return (typeof n == "object" && n && !Array.isArray(n) ? Object.entries(n) : []).flatMap(([e, n]) => {
7091
+ let r = typeof n == "object" && n && !Array.isArray(n) ? n.types : void 0;
7092
+ return typeof r == "string" ? [{
7093
+ importPath: e === "." ? t : `${t}${e.slice(1)}`,
7094
+ sourcePath: r.replace(/^\.\/dist\/types\//, "").replace(/\.d\.ts$/, ".ts")
7095
+ }] : [];
7096
+ });
7097
+ }
7098
+ function ba() {
7099
+ let e = l.findConfigFile(process.cwd(), (e) => l.sys.fileExists(e));
7100
+ if (e === void 0) return {
7101
+ module: l.ModuleKind.ESNext,
7102
+ moduleResolution: l.ModuleResolutionKind.Bundler,
7103
+ target: l.ScriptTarget.ESNext
7104
+ };
7105
+ let { config: t } = l.readConfigFile(e, (e) => l.sys.readFile(e));
7106
+ return l.parseJsonConfigFileContent(t, l.sys, process.cwd()).options;
7107
+ }
7108
+ function xa(e, t) {
7109
+ let n = new Map(ha.map((e) => [e, []])), r = e.getSymbolAtLocation(t), i = r === void 0 ? [] : e.getExportsOfModule(r);
7110
+ for (let t of i) {
7111
+ let r = (t.flags & l.SymbolFlags.Alias) === 0 ? t : e.getAliasedSymbol(t), i = Sa(e, Ca(t, r), r);
7112
+ i !== void 0 && n.get(i.kind)?.push(i.text);
7113
+ }
7114
+ for (let e of n.values()) e.sort((e, t) => e.localeCompare(t));
7115
+ return n;
7116
+ }
7117
+ function Sa(e, t, n) {
7118
+ let [r] = (n.flags & (l.SymbolFlags.Function | l.SymbolFlags.Variable)) === 0 ? [] : e.getSignaturesOfType(e.getTypeOfSymbol(n), l.SignatureKind.Call), i = t.endsWith("Schema");
7119
+ return r !== void 0 && !i ? {
7120
+ kind: "Functions",
7121
+ text: `${t}(${r.parameters.map((e) => wa(e)).join(", ")})`
7122
+ } : (n.flags & l.SymbolFlags.Class) === 0 ? (n.flags & l.SymbolFlags.Variable) === 0 ? (n.flags & (l.SymbolFlags.Enum | l.SymbolFlags.Interface | l.SymbolFlags.TypeAlias)) === 0 ? void 0 : {
7123
+ kind: "Types",
7124
+ text: t
7125
+ } : {
7126
+ kind: i ? "Schemas" : "Constants",
7127
+ text: t
7128
+ } : {
7129
+ kind: "Classes",
7130
+ text: t
7131
+ };
7132
+ }
7133
+ function Ca(e, t) {
7134
+ if (e.name !== "default") return e.name;
7135
+ let n = t.declarations?.map((e) => l.getNameOfDeclaration(e)?.getText()).find((e) => e !== void 0);
7136
+ return n === void 0 || n === "default" ? "default" : `default (${n})`;
7137
+ }
7138
+ function wa(e) {
7139
+ let t = e.valueDeclaration, n = t !== void 0 && l.isParameter(t) && (t.questionToken !== void 0 || t.initializer !== void 0);
7140
+ return `${e.name}${n ? "?" : ""}`;
7141
+ }
7142
+ function Ta(e, t) {
7143
+ let n = ha.flatMap((e) => {
7144
+ let n = t.get(e) ?? [], r = n.map((e) => `- ${e}`);
7145
+ return n.length === 0 ? [] : [`### ${e}\n\n${r.join("\n")}`];
7146
+ });
7147
+ return [`## ${e}`, ...n].join("\n\n");
7148
+ }
7149
+ //#endregion
7063
7150
  //#region src/actions/documentOpening.ts
7064
- var ma = "<!-- OPENING_START -->", ha = "<!-- OPENING_END -->";
7065
- async function ga() {
7151
+ var Ea = "<!-- OPENING_START -->", Da = "<!-- OPENING_END -->";
7152
+ async function Oa() {
7066
7153
  try {
7067
7154
  G("Document Opening"), q("1️⃣ Insert opening content into 'README.md'");
7068
- let e = await W("package.json"), t = await W("config.json"), { owner: n, repo: r } = Kn(e, "document opening");
7069
- await Un(ya(n, r, _a(e), va(t), e.devDependencies?.fallow != null), ma, ha), K("Opening documented");
7155
+ let e = await W("package.json"), t = await W("config.json"), { owner: n, repo: r } = qn(e, "document opening");
7156
+ await Wn(ja(n, r, ka(e), Aa(t), e.devDependencies?.fallow != null), Ea, Da), K("Opening documented");
7070
7157
  } catch (e) {
7071
7158
  console.error("❌ Error documenting opening", e), process.exit(1);
7072
7159
  }
7073
7160
  }
7074
- function _a(e) {
7161
+ function ka(e) {
7075
7162
  let t = e.license;
7076
7163
  if (t == null || t === "") throw Error("package.json 'license' field is required to document opening.");
7077
7164
  return t;
7078
7165
  }
7079
- function va(e) {
7166
+ function Aa(e) {
7080
7167
  let t = e.description.en;
7081
7168
  if (t == null || t.length === 0) throw Error("config.json 'description.en' field is required to document opening.");
7082
7169
  return t;
7083
7170
  }
7084
- function ya(e, t, n, r, i) {
7085
- let a = `https://github.com/${e}/${t}`, o = n.replaceAll("-", "--"), s = encodeURIComponent(`https://raw.githubusercontent.com/${e}/${t}/main/${Mn}`);
7171
+ function ja(e, t, n, r, i) {
7172
+ let a = `https://github.com/${e}/${t}`, o = n.replaceAll("-", "--"), s = encodeURIComponent(`https://raw.githubusercontent.com/${e}/${t}/main/${Nn}`);
7086
7173
  return `[![License: ${n}](https://img.shields.io/badge/License-${o}-blue.svg)](./LICENSE)
7087
7174
  [![DPUse version](https://img.shields.io/github/v/release/${e}/${t}?color=f6821f&label=DPUse)](${a}/releases/latest)
7088
7175
  [![CI](${a}/actions/workflows/ci.yml/badge.svg)](${a}/actions/workflows/ci.yml)
7089
7176
  [![CodeQL](${a}/actions/workflows/codeql.yml/badge.svg)](${a}/actions/workflows/codeql.yml)
7090
- ${i ? `[![Fallow code health](https://img.shields.io/endpoint?url=${s})](./${Nn})\n` : ""}[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=${e}_${t}&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=${e}_${t})
7177
+ ${i ? `[![Fallow code health](https://img.shields.io/endpoint?url=${s})](./${Pn})\n` : ""}[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=${e}_${t}&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=${e}_${t})
7091
7178
 
7092
7179
  [Documentation](https://www.dpuse.app) · [Report a Vulnerability](${a}/security/advisories/new) · [Open an Issue](${a}/issues)
7093
7180
 
@@ -7109,12 +7196,12 @@ ${r}`;
7109
7196
  }
7110
7197
  //#endregion
7111
7198
  //#region src/actions/documentUsage.ts
7112
- var ba = "<!-- USAGE_START -->", xa = "<!-- USAGE_END -->", Sa = /* @__PURE__ */ new Set([
7199
+ var Ma = "<!-- USAGE_START -->", Na = "<!-- USAGE_END -->", Pa = /* @__PURE__ */ new Set([
7113
7200
  "connector",
7114
7201
  "context",
7115
7202
  "cookbook",
7116
7203
  "presenter"
7117
- ]), Ca = [
7204
+ ]), Fa = [
7118
7205
  ["build", "Builds the project."],
7119
7206
  ["build:ts", "Builds the TypeScript source."],
7120
7207
  ["test", "Runs the tests."],
@@ -7123,7 +7210,6 @@ var ba = "<!-- USAGE_START -->", xa = "<!-- USAGE_END -->", Sa = /* @__PURE__ */
7123
7210
  ["format", "Formats the code with Prettier."],
7124
7211
  ["audit", "Checks dependencies for known vulnerabilities with npm audit."],
7125
7212
  ["check", "Checks configuration files against the DPUse templates and lists outdated dependencies."],
7126
- ["update", "Updates the DPUse packages this project depends on to their latest versions."],
7127
7213
  ["document", "Regenerates the README's generated sections."],
7128
7214
  ["documentOpening", "Regenerates the README's opening section."],
7129
7215
  ["documentActions", "Regenerates the README's connector actions table."],
@@ -7134,35 +7220,35 @@ var ba = "<!-- USAGE_START -->", xa = "<!-- USAGE_END -->", Sa = /* @__PURE__ */
7134
7220
  ["sync", "Bumps the version, then commits and pushes to GitHub."],
7135
7221
  ["release", "Bumps the version, commits and pushes, and creates a GitHub release."],
7136
7222
  ["publish", "Registers the released version with DPUse."]
7137
- ], wa = /* @__PURE__ */ new Set(["development", "eslint"]), Ta = "> [!WARNING]\n> This project is currently published to npm, but is not designed for general use. It is custom built for the DPUse CI/CD process. You are welcome to clone and customise it for your own purposes, but you will need to adapt it to your own project structure and tooling.\n\n", Ea = "Cloned or forked code is unsupported and isn't guaranteed to remain compatible with the DPUse Engine as it evolves.";
7138
- async function Da() {
7223
+ ], Ia = /* @__PURE__ */ new Set(["development", "eslint"]), La = "> [!WARNING]\n> This project is currently published to npm, but is not designed for general use. It is custom built for the DPUse CI/CD process. You are welcome to clone and customise it for your own purposes, but you will need to adapt it to your own project structure and tooling.\n\n", Ra = "Cloned or forked code is unsupported and isn't guaranteed to remain compatible with the DPUse Engine as it evolves.";
7224
+ async function za() {
7139
7225
  try {
7140
7226
  G("Document Usage"), q("1️⃣ Insert usage content into 'README.md'");
7141
- let [e, t] = await Promise.all([W("package.json"), W("config.json")]), n = Oa(e), r = ka(n), i = Aa(e.engines?.node), a = Aa(e.engines?.npm), o = Aa(e.devDependencies?.typescript);
7142
- await Un(Pa(ja(Gn(t.id), e.name), n, r, i, a, o, Ma(e)), ba, xa), K("Usage documented");
7227
+ let [e, t] = await Promise.all([W("package.json"), W("config.json")]), n = Ba(e), r = Va(n), i = Ha(e.engines?.node), a = Ha(e.engines?.npm), o = Ha(e.devDependencies?.typescript);
7228
+ await Wn(Ka(Ua(Kn(t.id), e.name), n, r, i, a, o, Wa(e)), Ma, Na), K("Usage documented");
7143
7229
  } catch (e) {
7144
7230
  console.error("❌ Error documenting usage", e), process.exit(1);
7145
7231
  }
7146
7232
  }
7147
- function Oa(e) {
7233
+ function Ba(e) {
7148
7234
  let t = e.repository, n = typeof t == "string" ? t : t?.url;
7149
7235
  if (n == null || n === "") throw Error("package.json 'repository' field is required to document usage.");
7150
7236
  return n.replace(/^git\+/, "");
7151
7237
  }
7152
- function ka(e) {
7238
+ function Va(e) {
7153
7239
  return (e.split("/").at(-1) ?? "").replace(/\.git$/, "");
7154
7240
  }
7155
- function Aa(e) {
7241
+ function Ha(e) {
7156
7242
  if (e == null) throw Error("package.json version range is required to document usage.");
7157
7243
  let t = /\d+(?:\.\d+)*/.exec(e);
7158
7244
  if (t == null) throw Error(`Unable to parse version from '${e}'.`);
7159
7245
  return t[0];
7160
7246
  }
7161
- function ja(e, t) {
7247
+ function Ua(e, t) {
7162
7248
  let { typeId: n } = e;
7163
- if (Sa.has(n)) return `This ${n} is automatically uploaded to the DPUse Engine cloud once released and becomes instantly available to all new browser app instances, with existing instances notified of the update.
7249
+ if (Pa.has(n)) return `This ${n} is automatically uploaded to the DPUse Engine cloud once released and becomes instantly available to all new browser app instances, with existing instances notified of the update.
7164
7250
 
7165
- You may view or clone this repository for your own purposes, such as building a new, similar ${n}, though there is currently no process to accept third-party ${n}s into DPUse at this stage. ${Ea}`;
7251
+ You may view or clone this repository for your own purposes, such as building a new, similar ${n}, though there is currently no process to accept third-party ${n}s into DPUse at this stage. ${Ra}`;
7166
7252
  if (e.publishedTo === "npm") {
7167
7253
  if (t == null || t === "") throw Error("package.json 'name' field is required to document usage.");
7168
7254
  return `This package is published to the [public npm registry](https://www.npmjs.com/package/${t}). Install it with:
@@ -7171,18 +7257,18 @@ You may view or clone this repository for your own purposes, such as building a
7171
7257
  npm install ${t}
7172
7258
  \`\`\`
7173
7259
 
7174
- ${wa.has(n) ? Ta : ""}To work on the source instead, clone this repository. ${Ea}`;
7260
+ ${Ia.has(n) ? La : ""}To work on the source instead, clone this repository. ${Ra}`;
7175
7261
  }
7176
- return `You may view or clone this repository for your own purposes. ${Ea}`;
7262
+ return `You may view or clone this repository for your own purposes. ${Ra}`;
7177
7263
  }
7178
- function Ma(e) {
7179
- let t = e.scripts ?? {}, n = e.name === "@dpuse/dpuse-development", r = new Set(Object.keys(t).filter((e) => n ? t[e]?.includes("dpuse-development.es.js") : t[e]?.includes("@dpuse/dpuse-development"))), i = (e) => r.has(e) || (t[e] ?? "").matchAll(/npm run ([\w:]+)/g).some(([, e = ""]) => r.has(e)), a = Ca.filter(([e]) => i(e)).map(([e, t]) => `|\`${Na(e)}\`|${t}|`);
7264
+ function Wa(e) {
7265
+ let t = e.scripts ?? {}, n = e.name === "@dpuse/dpuse-development", r = new Set(Object.keys(t).filter((e) => n ? t[e]?.includes("dpuse-development.es.js") : t[e]?.includes("@dpuse/dpuse-development"))), i = (e) => r.has(e) || (t[e] ?? "").matchAll(/npm run ([\w:]+)/g).some(([, e = ""]) => r.has(e)), a = Fa.filter(([e]) => i(e)).map(([e, t]) => `|\`${Ga(e)}\`|${t}|`);
7180
7266
  return a.length === 0 ? "" : `\n\n${n ? "This repository provides these commands to every DPUse project, and uses them itself:" : "Repository tasks run through npm scripts provided by [@dpuse/dpuse-development](https://github.com/dpuse/dpuse-development):"}\n\n|Command|What it does|\n|:-|:-|\n${a.join("\n")}`;
7181
7267
  }
7182
- function Na(e) {
7268
+ function Ga(e) {
7183
7269
  return e === "test" ? "npm test" : `npm run ${e}`;
7184
7270
  }
7185
- function Pa(e, t, n, r, i, a, o) {
7271
+ function Ka(e, t, n, r, i, a, o) {
7186
7272
  return `## Usage
7187
7273
 
7188
7274
  ${e}
@@ -7197,7 +7283,7 @@ _Requires [Node.js](https://nodejs.org/) ${r} or later, [npm](https://www.npmjs.
7197
7283
  }
7198
7284
  //#endregion
7199
7285
  //#region src/actions/formatCode.ts
7200
- async function Fa() {
7286
+ async function qa() {
7201
7287
  try {
7202
7288
  G("Format Code"), await U("1️⃣ Format", "prettier", [
7203
7289
  "--write",
@@ -7216,7 +7302,7 @@ async function Fa() {
7216
7302
  }
7217
7303
  //#endregion
7218
7304
  //#region src/actions/lintCode.ts
7219
- async function Ia() {
7305
+ async function Ja() {
7220
7306
  try {
7221
7307
  G("Lint Code"), await U("1️⃣ Lint", "eslint", ["."]), K("Code linted");
7222
7308
  } catch (e) {
@@ -7225,7 +7311,7 @@ async function Ia() {
7225
7311
  }
7226
7312
  //#endregion
7227
7313
  //#region src/utilities/cloudflare.ts
7228
- async function La() {
7314
+ async function Ya() {
7229
7315
  let e = await W("config.json"), t = {
7230
7316
  body: JSON.stringify(e),
7231
7317
  headers: { "Content-Type": "application/json" },
@@ -7233,11 +7319,11 @@ async function La() {
7233
7319
  }, n = await fetch(`https://api.dpuse.app/configs/${e.id}`, t);
7234
7320
  if (!n.ok) throw Error(await n.text());
7235
7321
  }
7236
- async function Ra(e, t) {
7322
+ async function Xa(e, t) {
7237
7323
  async function n(e, t, r) {
7238
7324
  for (let i of r) {
7239
7325
  let r = `${e}/${i}`, a = `${t}/${i}`;
7240
- (await qn(r)).isDirectory() ? await n(r, a, await Ln(r)) : (console.info(`⚙️ Uploading '${e}/${i}'...`), await Rn(void 0, "wrangler", [
7326
+ (await Jn(r)).isDirectory() ? await n(r, a, await Rn(r)) : (console.info(`⚙️ Uploading '${e}/${i}'...`), await zn(void 0, "wrangler", [
7241
7327
  "r2",
7242
7328
  "object",
7243
7329
  "put",
@@ -7248,10 +7334,10 @@ async function Ra(e, t) {
7248
7334
  ]));
7249
7335
  }
7250
7336
  }
7251
- let r = await Ln(`${e}/${t}/`);
7337
+ let r = await Rn(`${e}/${t}/`);
7252
7338
  await n(`${e}/${t}`, t, r);
7253
7339
  }
7254
- async function za(e) {
7340
+ async function Za(e) {
7255
7341
  let t = e.id, n = {
7256
7342
  body: JSON.stringify(e),
7257
7343
  headers: { "Content-Type": "application/json" },
@@ -7259,14 +7345,14 @@ async function za(e) {
7259
7345
  }, r = await fetch(`https://api.dpuse.app/configs/${t}`, n);
7260
7346
  if (!r.ok) throw Error(await r.text());
7261
7347
  }
7262
- async function Ba(e, t) {
7348
+ async function Qa(e, t) {
7263
7349
  let n = `v${e.version ?? "unknown"}`;
7264
7350
  async function r(e, r = "") {
7265
- let i = await Ln(e, { withFileTypes: !0 });
7351
+ let i = await Rn(e, { withFileTypes: !0 });
7266
7352
  for (let a of i) {
7267
7353
  if (a.isDirectory() || a.name.endsWith(".map")) continue;
7268
7354
  let i = `${e}/${a.name}`, o = r ? `${r}/${a.name}` : a.name, s = `${t}_${n}/${o}`.replaceAll("\\", "/"), c = a.name.endsWith(".css") ? "text/css" : "application/octet-stream", l = a.name.endsWith(".js") ? "application/javascript" : c;
7269
- console.info(`⚙️ Uploading '${o}' → '${s}'...`), await Rn(void 0, "wrangler", [
7355
+ console.info(`⚙️ Uploading '${o}' → '${s}'...`), await zn(void 0, "wrangler", [
7270
7356
  "r2",
7271
7357
  "object",
7272
7358
  "put",
@@ -7283,24 +7369,24 @@ async function Ba(e, t) {
7283
7369
  }
7284
7370
  //#endregion
7285
7371
  //#region node_modules/valibot/dist/index.mjs
7286
- var Va = {
7372
+ var $a = {
7287
7373
  lang: void 0,
7288
7374
  message: void 0,
7289
7375
  abortEarly: void 0,
7290
7376
  abortPipeEarly: void 0
7291
7377
  };
7292
7378
  /* @__NO_SIDE_EFFECTS__ */
7293
- function Ha(e) {
7379
+ function eo(e) {
7294
7380
  return e ? {
7295
7381
  lang: e?.lang ?? void 0,
7296
7382
  message: e?.message,
7297
7383
  abortEarly: e?.abortEarly ?? void 0,
7298
7384
  abortPipeEarly: e?.abortPipeEarly ?? void 0
7299
- } : Va;
7385
+ } : $a;
7300
7386
  }
7301
7387
  /* @__NO_SIDE_EFFECTS__ */
7302
- function Ua(e, t, n) {
7303
- let r = e["~run"]({ value: t }, /* @__PURE__ */ Ha(n));
7388
+ function to(e, t, n) {
7389
+ let r = e["~run"]({ value: t }, /* @__PURE__ */ eo(n));
7304
7390
  return {
7305
7391
  typed: r.typed,
7306
7392
  success: !r.issues,
@@ -7310,21 +7396,21 @@ function Ua(e, t, n) {
7310
7396
  }
7311
7397
  //#endregion
7312
7398
  //#region node_modules/@dpuse/dpuse-shared/dist/dpuse-shared-componentModulePresenter.es.js
7313
- var Wa = Vi([
7399
+ var no = Vi([
7314
7400
  "list",
7315
7401
  "render",
7316
7402
  "setColorMode"
7317
- ]), Ga = /* @__PURE__ */ Q({
7403
+ ]), ro = /* @__PURE__ */ Q({
7318
7404
  ...Yi,
7319
7405
  typeId: /* @__PURE__ */ Ni("presenter"),
7320
- actionNames: /* @__PURE__ */ ji(Wa),
7406
+ actionNames: /* @__PURE__ */ ji(no),
7321
7407
  presentations: /* @__PURE__ */ ji(qi)
7322
- }), Ka = [
7408
+ }), io = [
7323
7409
  "1️⃣ ",
7324
7410
  "2️⃣ ",
7325
7411
  "3️⃣ ",
7326
7412
  "4️⃣ "
7327
- ], qa = [{
7413
+ ], ao = [{
7328
7414
  id: "unit",
7329
7415
  label: "Run unit tests",
7330
7416
  command: "vitest",
@@ -7337,46 +7423,46 @@ var Wa = Vi([
7337
7423
  arguments: ["test", "--pass-with-no-tests"],
7338
7424
  configFileName: "playwright.config.ts"
7339
7425
  }];
7340
- async function Ja() {
7426
+ async function oo() {
7341
7427
  try {
7342
- G("Build Project"), await U("1️⃣ Bundle project", "vite", ["build"]), K("Project built");
7428
+ G("Build Project"), await U("1️⃣ Bundle project", "vite", ["build"]), await Hn("API_REFERENCE.md") === null ? q(`2️⃣ '${ma}' NOT required by this project`) : await va("2️⃣ "), K("Project built");
7343
7429
  } catch (e) {
7344
7430
  console.error("❌ Error building project", e), process.exit(1);
7345
7431
  }
7346
7432
  }
7347
- async function Ya() {
7433
+ async function so() {
7348
7434
  try {
7349
7435
  G("Publish Project");
7350
7436
  let e = await W("package.json"), t = await W("config.json");
7351
- await io("1️⃣ ", e, t, Gn(t.id)), K(`Project version '${e.version ?? "unknown"}' published.`);
7437
+ await _o("1️⃣ ", e, t, Kn(t.id)), K(`Project version '${e.version ?? "unknown"}' published.`);
7352
7438
  } catch (e) {
7353
7439
  console.error("❌ Error publishing project", e), process.exit(1);
7354
7440
  }
7355
7441
  }
7356
- async function Xa() {
7442
+ async function co() {
7357
7443
  try {
7358
7444
  G("Release Project");
7359
7445
  let e = await W("package.json"), t = await W("config.json");
7360
- await ro("1️⃣ ", e);
7361
- let n = Gn(t.id);
7446
+ await go("1️⃣ ", e);
7447
+ let n = Kn(t.id);
7362
7448
  switch (n.typeId) {
7363
7449
  case "connector":
7364
- t = await Qa("2️⃣ ", e);
7450
+ t = await uo("2️⃣ ", e);
7365
7451
  break;
7366
7452
  case "presenter":
7367
- t = await $a("2️⃣ ", e);
7453
+ t = await fo("2️⃣ ", e);
7368
7454
  break;
7369
- default: t = await Za("2️⃣ ", e);
7455
+ default: t = await lo("2️⃣ ", e);
7370
7456
  }
7371
- await U("3️⃣ Bundle project", "vite", ["build"]), await Rn("4️⃣ Stage changes", "git", ["add", "."]), await Rn("5️⃣ Commit changes", "git", [
7457
+ await U("3️⃣ Bundle project", "vite", ["build"]), await zn("4️⃣ Stage changes", "git", ["add", "."]), await zn("5️⃣ Commit changes", "git", [
7372
7458
  "commit",
7373
7459
  "-m",
7374
7460
  `v${e.version ?? "unknown"}`
7375
- ]), await Rn("6️⃣ Push changes", "git", [
7461
+ ]), await zn("6️⃣ Push changes", "git", [
7376
7462
  "push",
7377
7463
  "origin",
7378
7464
  "main:main"
7379
- ]), await io("7️⃣ ", e, t, n), n.publishedTo === "npm" ? await U("8️⃣ Create GitHub release", "gh", [
7465
+ ]), await _o("7️⃣ ", e, t, n), n.publishedTo === "npm" ? await U("8️⃣ Create GitHub release", "gh", [
7380
7466
  "release",
7381
7467
  "create",
7382
7468
  `v${e.version ?? "unknown"}`,
@@ -7389,45 +7475,45 @@ async function Xa() {
7389
7475
  console.error("❌ Error releasing project", e), process.exit(1);
7390
7476
  }
7391
7477
  }
7392
- async function Za(e, t) {
7478
+ async function lo(e, t) {
7393
7479
  q(`${e} Build project configuration`);
7394
7480
  let n = await W("config.json");
7395
- return t.name != null && (n.id = t.name.replace("@dpuse/", "")), t.version != null && (n.version = t.version), n.icon ??= await Vn("logo.svg"), n.iconDark ??= await Vn("logoDark.svg"), await Hn("config.json", n), n;
7481
+ return t.name != null && (n.id = t.name.replace("@dpuse/", "")), t.version != null && (n.version = t.version), n.icon ??= await Hn("logo.svg"), n.iconDark ??= await Hn("logoDark.svg"), await Un("config.json", n), n;
7396
7482
  }
7397
- async function Qa(e, t) {
7483
+ async function uo(e, t) {
7398
7484
  q(`${e} Build connector project configuration`);
7399
- let [n, r] = await Promise.all([W("config.json"), Bn("src/index.ts")]), i = /* @__PURE__ */ Ua(na, n);
7485
+ let [n, r] = await Promise.all([W("config.json"), Vn("src/index.ts")]), i = /* @__PURE__ */ to(na, n);
7400
7486
  if (!i.success) throw console.error("❌ Configuration is invalid:"), console.table(i.issues), Error("Configuration is invalid");
7401
- let a = Jn(r);
7402
- return await eo(t, n, a, oa(a));
7487
+ let a = Yn(r);
7488
+ return await po(t, n, a, oa(a));
7403
7489
  }
7404
- async function $a(e, t) {
7490
+ async function fo(e, t) {
7405
7491
  q(`${e} Build presenter project configuration`);
7406
- let [n, r] = await Promise.all([W("config.json"), Bn("src/index.ts")]), i = /* @__PURE__ */ Ua(Ga, n);
7492
+ let [n, r] = await Promise.all([W("config.json"), Vn("src/index.ts")]), i = /* @__PURE__ */ to(ro, n);
7407
7493
  if (!i.success) throw console.error("❌ Configuration is invalid:"), console.table(i.issues), Error("Configuration is invalid");
7408
- return await eo(t, n, Jn(r));
7494
+ return await po(t, n, Yn(r));
7409
7495
  }
7410
- async function eo(e, t, n, r) {
7411
- return n.length > 0 ? (console.info(`ℹ️ Implements ${String(n.length)} operations:`), console.table(n)) : console.warn("⚠️ Implements no operations"), r === "unknown" ? console.warn("⚠️ No usage identified") : r && console.info(`ℹ️ Supports '${r}' usage.`), e.name != null && (t.id = e.name.replace("@dpuse/", "").replace("@dpuse/", "")), e.version != null && (t.version = e.version), t.actionNames = n, r !== void 0 && (t.usageId = r), await Hn("config.json", t), t;
7496
+ async function po(e, t, n, r) {
7497
+ return n.length > 0 ? (console.info(`ℹ️ Implements ${String(n.length)} operations:`), console.table(n)) : console.warn("⚠️ Implements no operations"), r === "unknown" ? console.warn("⚠️ No usage identified") : r && console.info(`ℹ️ Supports '${r}' usage.`), e.name != null && (t.id = e.name.replace("@dpuse/", "").replace("@dpuse/", "")), e.version != null && (t.version = e.version), t.actionNames = n, r !== void 0 && (t.usageId = r), await Un("config.json", t), t;
7412
7498
  }
7413
- async function to() {
7499
+ async function mo() {
7414
7500
  try {
7415
7501
  G("Synchronise Project with GitHub");
7416
7502
  let e = await W("package.json"), t = await W("config.json");
7417
- switch (await ro("1️⃣ ", e), Gn(t.id).typeId) {
7503
+ switch (await go("1️⃣ ", e), Kn(t.id).typeId) {
7418
7504
  case "connector":
7419
- await Qa("2️⃣ ", e);
7505
+ await uo("2️⃣ ", e);
7420
7506
  break;
7421
7507
  case "presenter":
7422
- await $a("2️⃣ ", e);
7508
+ await fo("2️⃣ ", e);
7423
7509
  break;
7424
- default: await Za("2️⃣ ", e);
7510
+ default: await lo("2️⃣ ", e);
7425
7511
  }
7426
- await Rn("3️⃣ Stage changes", "git", ["add", "."]), await Rn("4️⃣ Commit changes", "git", [
7512
+ await zn("3️⃣ Stage changes", "git", ["add", "."]), await zn("4️⃣ Commit changes", "git", [
7427
7513
  "commit",
7428
7514
  "-m",
7429
7515
  `v${e.version ?? "unknown"}`
7430
- ]), await Rn("5️⃣ Push changes", "git", [
7516
+ ]), await zn("5️⃣ Push changes", "git", [
7431
7517
  "push",
7432
7518
  "origin",
7433
7519
  "main:main"
@@ -7436,14 +7522,14 @@ async function to() {
7436
7522
  console.error("❌ Error synchronising project with GitHub", e), process.exit(1);
7437
7523
  }
7438
7524
  }
7439
- async function no(e = ["unit"], t = !1) {
7525
+ async function ho(e = ["unit"], t = !1) {
7440
7526
  try {
7441
7527
  G("Test Project");
7442
7528
  let n = 0;
7443
- for (let r of qa) {
7444
- if (!e.includes(r.id) || await Vn(r.configFileName) === null) continue;
7529
+ for (let r of ao) {
7530
+ if (!e.includes(r.id) || await Hn(r.configFileName) === null) continue;
7445
7531
  let i = t && r.id === "unit" ? ["--coverage"] : [];
7446
- await U(`${Ka[n] ?? ""} ${r.label}`, r.command, [...r.arguments, ...i]), n += 1;
7532
+ await U(`${io[n] ?? ""} ${r.label}`, r.command, [...r.arguments, ...i]), n += 1;
7447
7533
  }
7448
7534
  if (n === 0) {
7449
7535
  console.warn("\n⚠️ No tests configured for this project.\n");
@@ -7454,25 +7540,23 @@ async function no(e = ["unit"], t = !1) {
7454
7540
  console.error("❌ Error testing project", e), process.exit(1);
7455
7541
  }
7456
7542
  }
7457
- async function ro(e, t, n = "./") {
7543
+ async function go(e, t, n = "./") {
7458
7544
  if (q(`${e} Bump project version`), t.version == null) t.version = "0.0.001", console.warn(`⚠️ Project version initialised to '${t.version}'.`);
7459
7545
  else {
7460
7546
  let e = t.version, n = t.version.split(".");
7461
7547
  t.version = `${n[0] ?? "unknown"}.${n[1] ?? "unknown"}.${String(Number(n[2]) + 1)}`, console.info(`Project version bumped from '${e}' to '${t.version}'.`);
7462
7548
  }
7463
- await Hn(`${n}package.json`, t);
7549
+ await Un(`${n}package.json`, t);
7464
7550
  }
7465
- async function io(e, t, n, r) {
7466
- if (r.typeId === "app") q(`${e} Register module`), await La();
7467
- else if (r.typeId === "engine") q(`${e} Register module`), await Ba(t, `dpuse-engine-eu/${r.uploadGroupName ?? "unknown"}`), await za(n);
7551
+ async function _o(e, t, n, r) {
7552
+ if (r.typeId === "app") q(`${e} Register module`), await Ya();
7553
+ else if (r.typeId === "engine") q(`${e} Register module`), await Qa(t, `dpuse-engine-eu/${r.uploadGroupName ?? "unknown"}`), await Za(n);
7468
7554
  else if (r.uploadGroupName === void 0) q(`${e} Registration NOT required`);
7469
7555
  else {
7470
7556
  q(`${e} Register module`);
7471
7557
  let i = n.id.split("-").slice(2).join("-");
7472
- await Ba(t, `dpuse-engine-eu/${r.uploadGroupName}/${i}`), await za(n);
7558
+ await Qa(t, `dpuse-engine-eu/${r.uploadGroupName}/${i}`), await Za(n);
7473
7559
  }
7474
7560
  }
7475
7561
  //#endregion
7476
- export { Zn as auditDependencies, Ja as buildProject, er as checkConfigFiles, lr as checkDependencies, pa as documentActions, vr as documentBundleSizes, Br as documentDependencies, ci as documentGovernance, ga as documentOpening, Da as documentUsage, Fa as formatCode, Ia as lintCode, Ya as publishProject, Xa as releaseProject, to as syncProjectWithGitHub, no as testProject, Ra as uploadDirectoryToR2 };
7477
-
7478
- //# sourceMappingURL=dpuse-development.es.js.map
7562
+ export { Qn as auditDependencies, oo as buildProject, tr as checkConfigFiles, lr as checkDependencies, _a as documentAPIReference, pa as documentActions, vr as documentBundleSizes, Br as documentDependencies, ci as documentGovernance, Oa as documentOpening, za as documentUsage, qa as formatCode, Ja as lintCode, so as publishProject, co as releaseProject, mo as syncProjectWithGitHub, ho as testProject, Xa as uploadDirectoryToR2 };