@datapos/datapos-development 0.3.396 → 0.3.399

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,13 +1,13 @@
1
- import { promises as at, existsSync as Xi } from "node:fs";
2
- import { nanoid as Qi } from "nanoid";
3
- import { contextConfigSchema as Ji, connectorConfigSchema as Yi, CONNECTOR_SOURCE_OPERATIONS as Zi, CONNECTOR_DESTINATION_OPERATIONS as ts, presenterConfigSchema as es } from "@datapos/datapos-shared";
1
+ import { promises as at, existsSync as Qi } from "node:fs";
2
+ import { nanoid as Ji } from "nanoid";
3
+ import { contextConfigSchema as Yi, connectorConfigSchema as Zi, CONNECTOR_SOURCE_OPERATIONS as ts, CONNECTOR_DESTINATION_OPERATIONS as es, presenterConfigSchema as is } from "@datapos/datapos-shared";
4
4
  import te from "node:path";
5
- import { promisify as is } from "node:util";
6
- import { exec as ss, spawn as rs } from "node:child_process";
7
- import { fileURLToPath as ri, URL as as } from "node:url";
5
+ import { promisify as ss } from "node:util";
6
+ import { exec as rs, spawn as as } from "node:child_process";
7
+ import { fileURLToPath as ri, URL as ns } from "node:url";
8
8
  let xe;
9
9
  // @__NO_SIDE_EFFECTS__
10
- function ns(t) {
10
+ function os(t) {
11
11
  return {
12
12
  lang: t?.lang ?? xe?.lang,
13
13
  message: t?.message,
@@ -17,7 +17,7 @@ function ns(t) {
17
17
  }
18
18
  // @__NO_SIDE_EFFECTS__
19
19
  function Ee(t, e, s) {
20
- const a = t["~run"]({ value: e }, /* @__PURE__ */ ns(s));
20
+ const a = t["~run"]({ value: e }, /* @__PURE__ */ os(s));
21
21
  return {
22
22
  typed: a.typed,
23
23
  success: !a.issues,
@@ -25,17 +25,17 @@ function Ee(t, e, s) {
25
25
  issues: a.issues
26
26
  };
27
27
  }
28
- var os = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 7, 9, 32, 4, 318, 1, 80, 3, 71, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 3, 0, 158, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 68, 8, 2, 0, 3, 0, 2, 3, 2, 4, 2, 0, 15, 1, 83, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 7, 19, 58, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 343, 9, 54, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 10, 5350, 0, 7, 14, 11465, 27, 2343, 9, 87, 9, 39, 4, 60, 6, 26, 9, 535, 9, 470, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4178, 9, 519, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 101, 0, 161, 6, 10, 9, 357, 0, 62, 13, 499, 13, 245, 1, 2, 9, 726, 6, 110, 6, 6, 9, 4759, 9, 787719, 239], ai = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 4, 51, 13, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 39, 27, 10, 22, 251, 41, 7, 1, 17, 2, 60, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 20, 1, 64, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 31, 9, 2, 0, 3, 0, 2, 37, 2, 0, 26, 0, 2, 0, 45, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 200, 32, 32, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 16, 0, 2, 12, 2, 33, 125, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1071, 18, 5, 26, 3994, 6, 582, 6842, 29, 1763, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 433, 44, 212, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 42, 9, 8936, 3, 2, 6, 2, 1, 2, 290, 16, 0, 30, 2, 3, 0, 15, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 30, 7, 5, 262, 61, 147, 44, 11, 6, 17, 0, 322, 29, 19, 43, 485, 27, 229, 29, 3, 0, 496, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4153, 7, 221, 3, 5761, 15, 7472, 16, 621, 2467, 541, 1507, 4938, 6, 4191], hs = "‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・", ni = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", ve = {
28
+ var hs = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 7, 9, 32, 4, 318, 1, 80, 3, 71, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 3, 0, 158, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 68, 8, 2, 0, 3, 0, 2, 3, 2, 4, 2, 0, 15, 1, 83, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 7, 19, 58, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 343, 9, 54, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 10, 5350, 0, 7, 14, 11465, 27, 2343, 9, 87, 9, 39, 4, 60, 6, 26, 9, 535, 9, 470, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4178, 9, 519, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 101, 0, 161, 6, 10, 9, 357, 0, 62, 13, 499, 13, 245, 1, 2, 9, 726, 6, 110, 6, 6, 9, 4759, 9, 787719, 239], ai = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 4, 51, 13, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 39, 27, 10, 22, 251, 41, 7, 1, 17, 2, 60, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 20, 1, 64, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 31, 9, 2, 0, 3, 0, 2, 37, 2, 0, 26, 0, 2, 0, 45, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 200, 32, 32, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 16, 0, 2, 12, 2, 33, 125, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1071, 18, 5, 26, 3994, 6, 582, 6842, 29, 1763, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 433, 44, 212, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 42, 9, 8936, 3, 2, 6, 2, 1, 2, 290, 16, 0, 30, 2, 3, 0, 15, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 30, 7, 5, 262, 61, 147, 44, 11, 6, 17, 0, 322, 29, 19, 43, 485, 27, 229, 29, 3, 0, 496, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4153, 7, 221, 3, 5761, 15, 7472, 16, 621, 2467, 541, 1507, 4938, 6, 4191], us = "‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・", ni = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", ve = {
29
29
  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",
30
30
  5: "class enum extends super const export import",
31
31
  6: "enum",
32
32
  strict: "implements interface let package private protected public static yield",
33
33
  strictBind: "eval arguments"
34
- }, ge = "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", us = {
34
+ }, ge = "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", cs = {
35
35
  5: ge,
36
36
  "5module": ge + " export import",
37
37
  6: ge + " const class extends export import super"
38
- }, cs = /^in(stanceof)?$/, ps = new RegExp("[" + ni + "]"), ls = new RegExp("[" + ni + hs + "]");
38
+ }, ps = /^in(stanceof)?$/, ls = new RegExp("[" + ni + "]"), fs = new RegExp("[" + ni + us + "]");
39
39
  function Pe(t, e) {
40
40
  for (var s = 65536, a = 0; a < e.length; a += 2) {
41
41
  if (s += e[a], s > t)
@@ -46,10 +46,10 @@ function Pe(t, e) {
46
46
  return !1;
47
47
  }
48
48
  function ft(t, e) {
49
- return t < 65 ? t === 36 : t < 91 ? !0 : t < 97 ? t === 95 : t < 123 ? !0 : t <= 65535 ? t >= 170 && ps.test(String.fromCharCode(t)) : e === !1 ? !1 : Pe(t, ai);
49
+ return t < 65 ? t === 36 : t < 91 ? !0 : t < 97 ? t === 95 : t < 123 ? !0 : t <= 65535 ? t >= 170 && ls.test(String.fromCharCode(t)) : e === !1 ? !1 : Pe(t, ai);
50
50
  }
51
51
  function vt(t, e) {
52
- return t < 48 ? t === 36 : t < 58 ? !0 : t < 65 ? !1 : t < 91 ? !0 : t < 97 ? t === 95 : t < 123 ? !0 : t <= 65535 ? t >= 170 && ls.test(String.fromCharCode(t)) : e === !1 ? !1 : Pe(t, ai) || Pe(t, os);
52
+ return t < 48 ? t === 36 : t < 58 ? !0 : t < 65 ? !1 : t < 91 ? !0 : t < 97 ? t === 95 : t < 123 ? !0 : t <= 65535 ? t >= 170 && fs.test(String.fromCharCode(t)) : e === !1 ? !1 : Pe(t, ai) || Pe(t, hs);
53
53
  }
54
54
  var O = function(e, s) {
55
55
  s === void 0 && (s = {}), this.label = e, this.keyword = s.keyword, this.beforeExpr = !!s.beforeExpr, this.startsExpr = !!s.startsExpr, this.isLoop = !!s.isLoop, this.isAssign = !!s.isAssign, this.prefix = !!s.prefix, this.postfix = !!s.postfix, this.binop = s.binop || null, this.updateContext = null;
@@ -57,16 +57,16 @@ var O = function(e, s) {
57
57
  function ot(t, e) {
58
58
  return new O(t, { beforeExpr: !0, binop: e });
59
59
  }
60
- var ht = { beforeExpr: !0 }, tt = { startsExpr: !0 }, Lt = {};
60
+ var ht = { beforeExpr: !0 }, et = { startsExpr: !0 }, Lt = {};
61
61
  function M(t, e) {
62
62
  return e === void 0 && (e = {}), e.keyword = t, Lt[t] = new O(t, e);
63
63
  }
64
64
  var u = {
65
- num: new O("num", tt),
66
- regexp: new O("regexp", tt),
67
- string: new O("string", tt),
68
- name: new O("name", tt),
69
- privateId: new O("privateId", tt),
65
+ num: new O("num", et),
66
+ regexp: new O("regexp", et),
67
+ string: new O("string", et),
68
+ name: new O("name", et),
69
+ privateId: new O("privateId", et),
70
70
  eof: new O("eof"),
71
71
  // Punctuation token types.
72
72
  bracketL: new O("[", { beforeExpr: !0, startsExpr: !0 }),
@@ -85,7 +85,7 @@ var u = {
85
85
  template: new O("template"),
86
86
  invalidTemplate: new O("invalidTemplate"),
87
87
  ellipsis: new O("...", ht),
88
- backQuote: new O("`", tt),
88
+ backQuote: new O("`", et),
89
89
  dollarBraceL: new O("${", { beforeExpr: !0, startsExpr: !0 }),
90
90
  // Operators. These carry several kinds of properties to help the
91
91
  // parser use them properly (the presence of these properties is
@@ -129,7 +129,7 @@ var u = {
129
129
  _else: M("else", ht),
130
130
  _finally: M("finally"),
131
131
  _for: M("for", { isLoop: !0 }),
132
- _function: M("function", tt),
132
+ _function: M("function", et),
133
133
  _if: M("if"),
134
134
  _return: M("return", ht),
135
135
  _switch: M("switch"),
@@ -140,21 +140,21 @@ var u = {
140
140
  _while: M("while", { isLoop: !0 }),
141
141
  _with: M("with"),
142
142
  _new: M("new", { beforeExpr: !0, startsExpr: !0 }),
143
- _this: M("this", tt),
144
- _super: M("super", tt),
145
- _class: M("class", tt),
143
+ _this: M("this", et),
144
+ _super: M("super", et),
145
+ _class: M("class", et),
146
146
  _extends: M("extends", ht),
147
147
  _export: M("export"),
148
- _import: M("import", tt),
149
- _null: M("null", tt),
150
- _true: M("true", tt),
151
- _false: M("false", tt),
148
+ _import: M("import", et),
149
+ _null: M("null", et),
150
+ _true: M("true", et),
151
+ _false: M("false", et),
152
152
  _in: M("in", { beforeExpr: !0, binop: 7 }),
153
153
  _instanceof: M("instanceof", { beforeExpr: !0, binop: 7 }),
154
154
  _typeof: M("typeof", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
155
155
  _void: M("void", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
156
156
  _delete: M("delete", { beforeExpr: !0, prefix: !0, startsExpr: !0 })
157
- }, Q = /\r\n?|\n|\u2028|\u2029/, oi = new RegExp(Q.source, "g");
157
+ }, J = /\r\n?|\n|\u2028|\u2029/, oi = new RegExp(J.source, "g");
158
158
  function Et(t) {
159
159
  return t === 10 || t === 13 || t === 8232 || t === 8233;
160
160
  }
@@ -167,10 +167,10 @@ function hi(t, e, s) {
167
167
  }
168
168
  return -1;
169
169
  }
170
- var Ie = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/, W = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, ui = Object.prototype, fs = ui.hasOwnProperty, ds = ui.toString, Rt = Object.hasOwn || (function(t, e) {
171
- return fs.call(t, e);
170
+ var Ie = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/, W = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, ui = Object.prototype, ds = ui.hasOwnProperty, ms = ui.toString, Rt = Object.hasOwn || (function(t, e) {
171
+ return ds.call(t, e);
172
172
  }), $e = Array.isArray || (function(t) {
173
- return ds.call(t) === "[object Array]";
173
+ return ms.call(t) === "[object Array]";
174
174
  }), Ge = /* @__PURE__ */ Object.create(null);
175
175
  function kt(t) {
176
176
  return Ge[t] || (Ge[t] = new RegExp("^(?:" + t.replace(/ /g, "|") + ")$"));
@@ -178,7 +178,7 @@ function kt(t) {
178
178
  function gt(t) {
179
179
  return t <= 65535 ? String.fromCharCode(t) : (t -= 65536, String.fromCharCode((t >> 10) + 55296, (t & 1023) + 56320));
180
180
  }
181
- var ms = /(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/, Ot = function(e, s) {
181
+ var ys = /(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/, Ot = function(e, s) {
182
182
  this.line = e, this.column = s;
183
183
  };
184
184
  Ot.prototype.offset = function(e) {
@@ -292,7 +292,7 @@ var ee = {
292
292
  // (non-standard) ParenthesizedExpression nodes
293
293
  preserveParens: !1
294
294
  }, Ke = !1;
295
- function ys(t) {
295
+ function xs(t) {
296
296
  var e = {};
297
297
  for (var s in ee)
298
298
  e[s] = t && Rt(t, s) ? t[s] : ee[s];
@@ -303,9 +303,9 @@ Defaulting to 2020, but this will stop working in the future.`)), e.ecmaVersion
303
303
  return a.push(o);
304
304
  };
305
305
  }
306
- return $e(e.onComment) && (e.onComment = xs(e, e.onComment)), e;
306
+ return $e(e.onComment) && (e.onComment = vs(e, e.onComment)), e;
307
307
  }
308
- function xs(t, e) {
308
+ function vs(t, e) {
309
309
  return function(s, a, o, l, d, v) {
310
310
  var g = {
311
311
  type: s ? "Block" : "Line",
@@ -321,12 +321,12 @@ function Oe(t, e) {
321
321
  return Mt | (t ? Ne : 0) | (e ? ci : 0);
322
322
  }
323
323
  var ie = 0, Re = 1, Tt = 2, fi = 3, di = 4, mi = 5, H = function(e, s, a) {
324
- this.options = e = ys(e), this.sourceFile = e.sourceFile, this.keywords = kt(us[e.ecmaVersion >= 6 ? 6 : e.sourceType === "module" ? "5module" : 5]);
324
+ this.options = e = xs(e), this.sourceFile = e.sourceFile, this.keywords = kt(cs[e.ecmaVersion >= 6 ? 6 : e.sourceType === "module" ? "5module" : 5]);
325
325
  var o = "";
326
326
  e.allowReserved !== !0 && (o = ve[e.ecmaVersion >= 6 ? 6 : e.ecmaVersion === 5 ? 5 : 3], e.sourceType === "module" && (o += " await")), this.reservedWords = kt(o);
327
327
  var l = (o ? o + " " : "") + ve.strict;
328
328
  this.reservedWordsStrict = kt(l), this.reservedWordsStrictBind = kt(l + " " + ve.strictBind), this.input = String(s), this.containsEsc = !1, a ? (this.pos = a, this.lineStart = this.input.lastIndexOf(`
329
- `, a - 1) + 1, this.curLine = this.input.slice(0, this.lineStart).split(Q).length) : (this.pos = this.lineStart = 0, this.curLine = 1), this.type = u.eof, this.value = null, this.start = this.end = this.pos, this.startLoc = this.endLoc = this.curPosition(), this.lastTokEndLoc = this.lastTokStartLoc = null, this.lastTokStart = this.lastTokEnd = this.pos, this.context = this.initialContext(), this.exprAllowed = !0, this.inModule = e.sourceType === "module", this.strict = this.inModule || this.strictDirective(this.pos), this.potentialArrowAt = -1, this.potentialArrowInForAwait = !1, this.yieldPos = this.awaitPos = this.awaitIdentPos = 0, this.labels = [], this.undefinedExports = /* @__PURE__ */ Object.create(null), this.pos === 0 && e.allowHashBang && this.input.slice(0, 2) === "#!" && this.skipLineComment(2), this.scopeStack = [], this.enterScope(Ht), this.regexpState = null, this.privateNameStack = [];
329
+ `, a - 1) + 1, this.curLine = this.input.slice(0, this.lineStart).split(J).length) : (this.pos = this.lineStart = 0, this.curLine = 1), this.type = u.eof, this.value = null, this.start = this.end = this.pos, this.startLoc = this.endLoc = this.curPosition(), this.lastTokEndLoc = this.lastTokStartLoc = null, this.lastTokStart = this.lastTokEnd = this.pos, this.context = this.initialContext(), this.exprAllowed = !0, this.inModule = e.sourceType === "module", this.strict = this.inModule || this.strictDirective(this.pos), this.potentialArrowAt = -1, this.potentialArrowInForAwait = !1, this.yieldPos = this.awaitPos = this.awaitIdentPos = 0, this.labels = [], this.undefinedExports = /* @__PURE__ */ Object.create(null), this.pos === 0 && e.allowHashBang && this.input.slice(0, 2) === "#!" && this.skipLineComment(2), this.scopeStack = [], this.enterScope(Ht), this.regexpState = null, this.privateNameStack = [];
330
330
  }, mt = { inFunction: { configurable: !0 }, inGenerator: { configurable: !0 }, inAsync: { configurable: !0 }, canAwait: { configurable: !0 }, allowSuper: { configurable: !0 }, allowDirectSuper: { configurable: !0 }, treatFunctionsAsVar: { configurable: !0 }, allowNewDotTarget: { configurable: !0 }, inClassStaticBlock: { configurable: !0 } };
331
331
  H.prototype.parse = function() {
332
332
  var e = this.options.program || this.startNode();
@@ -389,66 +389,66 @@ H.tokenizer = function(e, s) {
389
389
  return new this(s, e);
390
390
  };
391
391
  Object.defineProperties(H.prototype, mt);
392
- var J = H.prototype, vs = /^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;
393
- J.strictDirective = function(t) {
392
+ var Y = H.prototype, gs = /^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;
393
+ Y.strictDirective = function(t) {
394
394
  if (this.options.ecmaVersion < 5)
395
395
  return !1;
396
396
  for (; ; ) {
397
397
  W.lastIndex = t, t += W.exec(this.input)[0].length;
398
- var e = vs.exec(this.input.slice(t));
398
+ var e = gs.exec(this.input.slice(t));
399
399
  if (!e)
400
400
  return !1;
401
401
  if ((e[1] || e[2]) === "use strict") {
402
402
  W.lastIndex = t + e[0].length;
403
403
  var s = W.exec(this.input), a = s.index + s[0].length, o = this.input.charAt(a);
404
- return o === ";" || o === "}" || Q.test(s[0]) && !(/[(`.[+\-/*%<>=,?^&]/.test(o) || o === "!" && this.input.charAt(a + 1) === "=");
404
+ return o === ";" || o === "}" || J.test(s[0]) && !(/[(`.[+\-/*%<>=,?^&]/.test(o) || o === "!" && this.input.charAt(a + 1) === "=");
405
405
  }
406
406
  t += e[0].length, W.lastIndex = t, t += W.exec(this.input)[0].length, this.input[t] === ";" && t++;
407
407
  }
408
408
  };
409
- J.eat = function(t) {
409
+ Y.eat = function(t) {
410
410
  return this.type === t ? (this.next(), !0) : !1;
411
411
  };
412
- J.isContextual = function(t) {
412
+ Y.isContextual = function(t) {
413
413
  return this.type === u.name && this.value === t && !this.containsEsc;
414
414
  };
415
- J.eatContextual = function(t) {
415
+ Y.eatContextual = function(t) {
416
416
  return this.isContextual(t) ? (this.next(), !0) : !1;
417
417
  };
418
- J.expectContextual = function(t) {
418
+ Y.expectContextual = function(t) {
419
419
  this.eatContextual(t) || this.unexpected();
420
420
  };
421
- J.canInsertSemicolon = function() {
422
- return this.type === u.eof || this.type === u.braceR || Q.test(this.input.slice(this.lastTokEnd, this.start));
421
+ Y.canInsertSemicolon = function() {
422
+ return this.type === u.eof || this.type === u.braceR || J.test(this.input.slice(this.lastTokEnd, this.start));
423
423
  };
424
- J.insertSemicolon = function() {
424
+ Y.insertSemicolon = function() {
425
425
  if (this.canInsertSemicolon())
426
426
  return this.options.onInsertedSemicolon && this.options.onInsertedSemicolon(this.lastTokEnd, this.lastTokEndLoc), !0;
427
427
  };
428
- J.semicolon = function() {
428
+ Y.semicolon = function() {
429
429
  !this.eat(u.semi) && !this.insertSemicolon() && this.unexpected();
430
430
  };
431
- J.afterTrailingComma = function(t, e) {
431
+ Y.afterTrailingComma = function(t, e) {
432
432
  if (this.type === t)
433
433
  return this.options.onTrailingComma && this.options.onTrailingComma(this.lastTokStart, this.lastTokStartLoc), e || this.next(), !0;
434
434
  };
435
- J.expect = function(t) {
435
+ Y.expect = function(t) {
436
436
  this.eat(t) || this.unexpected();
437
437
  };
438
- J.unexpected = function(t) {
438
+ Y.unexpected = function(t) {
439
439
  this.raise(t ?? this.start, "Unexpected token");
440
440
  };
441
441
  var ce = function() {
442
442
  this.shorthandAssign = this.trailingComma = this.parenthesizedAssign = this.parenthesizedBind = this.doubleProto = -1;
443
443
  };
444
- J.checkPatternErrors = function(t, e) {
444
+ Y.checkPatternErrors = function(t, e) {
445
445
  if (t) {
446
446
  t.trailingComma > -1 && this.raiseRecoverable(t.trailingComma, "Comma is not permitted after the rest element");
447
447
  var s = e ? t.parenthesizedAssign : t.parenthesizedBind;
448
448
  s > -1 && this.raiseRecoverable(s, e ? "Assigning to rvalue" : "Parenthesized pattern");
449
449
  }
450
450
  };
451
- J.checkExpressionErrors = function(t, e) {
451
+ Y.checkExpressionErrors = function(t, e) {
452
452
  if (!t)
453
453
  return !1;
454
454
  var s = t.shorthandAssign, a = t.doubleProto;
@@ -456,10 +456,10 @@ J.checkExpressionErrors = function(t, e) {
456
456
  return s >= 0 || a >= 0;
457
457
  s >= 0 && this.raise(s, "Shorthand property assignments are valid only in destructuring patterns"), a >= 0 && this.raiseRecoverable(a, "Redefinition of __proto__ property");
458
458
  };
459
- J.checkYieldAwaitInDefaultParams = function() {
459
+ Y.checkYieldAwaitInDefaultParams = function() {
460
460
  this.yieldPos && (!this.awaitPos || this.yieldPos < this.awaitPos) && this.raise(this.yieldPos, "Yield expression cannot be a default value"), this.awaitPos && this.raise(this.awaitPos, "Await expression cannot be a default value");
461
461
  };
462
- J.isSimpleAssignTarget = function(t) {
462
+ Y.isSimpleAssignTarget = function(t) {
463
463
  return t.type === "ParenthesizedExpression" ? this.isSimpleAssignTarget(t.expression) : t.type === "Identifier" || t.type === "MemberExpression";
464
464
  };
465
465
  var w = H.prototype;
@@ -476,7 +476,7 @@ w.parseTopLevel = function(t) {
476
476
  }
477
477
  return this.adaptDirectivePrologue(t.body), this.next(), t.sourceType = this.options.sourceType, this.finishNode(t, "Program");
478
478
  };
479
- var Me = { kind: "loop" }, gs = { kind: "switch" };
479
+ var Me = { kind: "loop" }, bs = { kind: "switch" };
480
480
  w.isLet = function(t) {
481
481
  if (this.options.ecmaVersion < 6 || !this.isContextual("let"))
482
482
  return !1;
@@ -494,7 +494,7 @@ w.isLet = function(t) {
494
494
  if (a === 92 || a > 55295 && a < 56320)
495
495
  return !0;
496
496
  var l = this.input.slice(s, o);
497
- if (!cs.test(l))
497
+ if (!ps.test(l))
498
498
  return !0;
499
499
  }
500
500
  return !1;
@@ -504,14 +504,14 @@ w.isAsyncFunction = function() {
504
504
  return !1;
505
505
  W.lastIndex = this.pos;
506
506
  var t = W.exec(this.input), e = this.pos + t[0].length, s;
507
- return !Q.test(this.input.slice(this.pos, e)) && this.input.slice(e, e + 8) === "function" && (e + 8 === this.input.length || !(vt(s = this.input.charCodeAt(e + 8)) || s > 55295 && s < 56320));
507
+ return !J.test(this.input.slice(this.pos, e)) && this.input.slice(e, e + 8) === "function" && (e + 8 === this.input.length || !(vt(s = this.input.charCodeAt(e + 8)) || s > 55295 && s < 56320));
508
508
  };
509
509
  w.isUsingKeyword = function(t, e) {
510
510
  if (this.options.ecmaVersion < 17 || !this.isContextual(t ? "await" : "using"))
511
511
  return !1;
512
512
  W.lastIndex = this.pos;
513
513
  var s = W.exec(this.input), a = this.pos + s[0].length;
514
- if (Q.test(this.input.slice(this.pos, a)))
514
+ if (J.test(this.input.slice(this.pos, a)))
515
515
  return !1;
516
516
  if (t) {
517
517
  var o = a + 5, l;
@@ -519,7 +519,7 @@ w.isUsingKeyword = function(t, e) {
519
519
  return !1;
520
520
  W.lastIndex = o;
521
521
  var d = W.exec(this.input);
522
- if (d && Q.test(this.input.slice(o, o + d[0].length)))
522
+ if (d && J.test(this.input.slice(o, o + d[0].length)))
523
523
  return !1;
524
524
  }
525
525
  if (e) {
@@ -628,8 +628,8 @@ w.parseForStatement = function(t) {
628
628
  var g = this.startNode();
629
629
  return this.next(), v === "await using" && this.next(), this.parseVar(g, !0, v), this.finishNode(g, "VariableDeclaration"), this.parseForAfterInit(t, g, e);
630
630
  }
631
- var h = this.containsEsc, P = new ce(), N = this.start, B = e > -1 ? this.parseExprSubscripts(P, "await") : this.parseExpression(!0, P);
632
- return this.type === u._in || (d = this.options.ecmaVersion >= 6 && this.isContextual("of")) ? (e > -1 ? (this.type === u._in && this.unexpected(e), t.await = !0) : d && this.options.ecmaVersion >= 8 && (B.start === N && !h && B.type === "Identifier" && B.name === "async" ? this.unexpected() : this.options.ecmaVersion >= 9 && (t.await = !1)), l && d && this.raise(B.start, "The left-hand side of a for-of loop may not start with 'let'."), this.toAssignable(B, !1, P), this.checkLValPattern(B), this.parseForIn(t, B)) : (this.checkExpressionErrors(P, !0), e > -1 && this.unexpected(e), this.parseFor(t, B));
631
+ var h = this.containsEsc, P = new ce(), N = this.start, j = e > -1 ? this.parseExprSubscripts(P, "await") : this.parseExpression(!0, P);
632
+ return this.type === u._in || (d = this.options.ecmaVersion >= 6 && this.isContextual("of")) ? (e > -1 ? (this.type === u._in && this.unexpected(e), t.await = !0) : d && this.options.ecmaVersion >= 8 && (j.start === N && !h && j.type === "Identifier" && j.name === "async" ? this.unexpected() : this.options.ecmaVersion >= 9 && (t.await = !1)), l && d && this.raise(j.start, "The left-hand side of a for-of loop may not start with 'let'."), this.toAssignable(j, !1, P), this.checkLValPattern(j), this.parseForIn(t, j)) : (this.checkExpressionErrors(P, !0), e > -1 && this.unexpected(e), this.parseFor(t, j));
633
633
  };
634
634
  w.parseForAfterInit = function(t, e, s) {
635
635
  return (this.type === u._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) && e.declarations.length === 1 ? (this.options.ecmaVersion >= 9 && (this.type === u._in ? s > -1 && this.unexpected(s) : t.await = s > -1), this.parseForIn(t, e)) : (s > -1 && this.unexpected(s), this.parseFor(t, e));
@@ -644,7 +644,7 @@ w.parseReturnStatement = function(t) {
644
644
  return !this.inFunction && !this.options.allowReturnOutsideFunction && this.raise(this.start, "'return' outside of function"), this.next(), this.eat(u.semi) || this.insertSemicolon() ? t.argument = null : (t.argument = this.parseExpression(), this.semicolon()), this.finishNode(t, "ReturnStatement");
645
645
  };
646
646
  w.parseSwitchStatement = function(t) {
647
- this.next(), t.discriminant = this.parseParenExpression(), t.cases = [], this.expect(u.braceL), this.labels.push(gs), this.enterScope(0);
647
+ this.next(), t.discriminant = this.parseParenExpression(), t.cases = [], this.expect(u.braceL), this.labels.push(bs), this.enterScope(0);
648
648
  for (var e, s = !1; this.type !== u.braceR; )
649
649
  if (this.type === u._case || this.type === u._default) {
650
650
  var a = this.type === u._case;
@@ -654,9 +654,9 @@ w.parseSwitchStatement = function(t) {
654
654
  return this.exitScope(), e && this.finishNode(e, "SwitchCase"), this.next(), this.labels.pop(), this.finishNode(t, "SwitchStatement");
655
655
  };
656
656
  w.parseThrowStatement = function(t) {
657
- return this.next(), Q.test(this.input.slice(this.lastTokEnd, this.start)) && this.raise(this.lastTokEnd, "Illegal newline after throw"), t.argument = this.parseExpression(), this.semicolon(), this.finishNode(t, "ThrowStatement");
657
+ return this.next(), J.test(this.input.slice(this.lastTokEnd, this.start)) && this.raise(this.lastTokEnd, "Illegal newline after throw"), t.argument = this.parseExpression(), this.semicolon(), this.finishNode(t, "ThrowStatement");
658
658
  };
659
- var bs = [];
659
+ var Ts = [];
660
660
  w.parseCatchClauseParam = function() {
661
661
  var t = this.parseBindingAtom(), e = t.type === "Identifier";
662
662
  return this.enterScope(e ? pi : 0), this.checkLValPattern(t, e ? di : Tt), this.expect(u.parenR), t;
@@ -741,7 +741,7 @@ w.parseClass = function(t, e) {
741
741
  var a = this.enterClassBody(), o = this.startNode(), l = !1;
742
742
  for (o.body = [], this.expect(u.braceL); this.type !== u.braceR; ) {
743
743
  var d = this.parseClassElement(t.superClass !== null);
744
- d && (o.body.push(d), d.type === "MethodDefinition" && d.kind === "constructor" ? (l && this.raiseRecoverable(d.start, "Duplicate constructor in the same class"), l = !0) : d.key && d.key.type === "PrivateIdentifier" && Ts(a, d) && this.raiseRecoverable(d.key.start, "Identifier '#" + d.key.name + "' has already been declared"));
744
+ d && (o.body.push(d), d.type === "MethodDefinition" && d.kind === "constructor" ? (l && this.raiseRecoverable(d.start, "Duplicate constructor in the same class"), l = !0) : d.key && d.key.type === "PrivateIdentifier" && Ss(a, d) && this.raiseRecoverable(d.key.start, "Identifier '#" + d.key.name + "' has already been declared"));
745
745
  }
746
746
  return this.strict = s, this.next(), t.body = this.finishNode(o, "ClassBody"), this.exitClassBody(), this.finishNode(t, e ? "ClassDeclaration" : "ClassExpression");
747
747
  };
@@ -807,7 +807,7 @@ w.exitClassBody = function() {
807
807
  Rt(e, d.name) || (o ? o.used.push(d) : this.raiseRecoverable(d.start, "Private field '#" + d.name + "' must be declared in an enclosing class"));
808
808
  }
809
809
  };
810
- function Ts(t, e) {
810
+ function Ss(t, e) {
811
811
  var s = e.key.name, a = t[s], o = "true";
812
812
  return e.type === "MethodDefinition" && (e.kind === "get" || e.kind === "set") && (o = (e.static ? "s" : "i") + e.kind), a === "iget" && o === "iset" || a === "iset" && o === "iget" || a === "sget" && o === "sset" || a === "sset" && o === "sget" ? (t[s] = "true", !1) : a ? !0 : (t[s] = o, !1);
813
813
  }
@@ -904,7 +904,7 @@ w.parseExportSpecifiers = function(t) {
904
904
  return e;
905
905
  };
906
906
  w.parseImport = function(t) {
907
- return this.next(), this.type === u.string ? (t.specifiers = bs, t.source = this.parseExprAtom()) : (t.specifiers = this.parseImportSpecifiers(), this.expectContextual("from"), t.source = this.type === u.string ? this.parseExprAtom() : this.unexpected()), this.options.ecmaVersion >= 16 && (t.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(t, "ImportDeclaration");
907
+ return this.next(), this.type === u.string ? (t.specifiers = Ts, t.source = this.parseExprAtom()) : (t.specifiers = this.parseImportSpecifiers(), this.expectContextual("from"), t.source = this.type === u.string ? this.parseExprAtom() : this.unexpected()), this.options.ecmaVersion >= 16 && (t.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(t, "ImportDeclaration");
908
908
  };
909
909
  w.parseImportSpecifier = function() {
910
910
  var t = this.startNode();
@@ -955,7 +955,7 @@ w.parseImportAttribute = function() {
955
955
  w.parseModuleExportName = function() {
956
956
  if (this.options.ecmaVersion >= 13 && this.type === u.string) {
957
957
  var t = this.parseLiteral(this.value);
958
- return ms.test(t.value) && this.raise(t.start, "An export name cannot include a lone surrogate."), t;
958
+ return ys.test(t.value) && this.raise(t.start, "An export name cannot include a lone surrogate."), t;
959
959
  }
960
960
  return this.parseIdent(!0);
961
961
  };
@@ -1148,7 +1148,7 @@ Dt.curContext = function() {
1148
1148
  };
1149
1149
  Dt.braceIsBlock = function(t) {
1150
1150
  var e = this.curContext();
1151
- return e === F.f_expr || e === F.f_stat ? !0 : t === u.colon && (e === F.b_stat || e === F.b_expr) ? !e.isExpr : t === u._return || t === u.name && this.exprAllowed ? Q.test(this.input.slice(this.lastTokEnd, this.start)) : t === u._else || t === u.semi || t === u.eof || t === u.parenR || t === u.arrow ? !0 : t === u.braceL ? e === F.b_stat : t === u._var || t === u._const || t === u.name ? !1 : !this.exprAllowed;
1151
+ return e === F.f_expr || e === F.f_stat ? !0 : t === u.colon && (e === F.b_stat || e === F.b_expr) ? !e.isExpr : t === u._return || t === u.name && this.exprAllowed ? J.test(this.input.slice(this.lastTokEnd, this.start)) : t === u._else || t === u.semi || t === u.eof || t === u.parenR || t === u.arrow ? !0 : t === u.braceL ? e === F.b_stat : t === u._var || t === u._const || t === u.name ? !1 : !this.exprAllowed;
1152
1152
  };
1153
1153
  Dt.inGeneratorContext = function() {
1154
1154
  for (var t = this.context.length - 1; t >= 1; t--) {
@@ -1186,7 +1186,7 @@ u.parenL.updateContext = function(t) {
1186
1186
  u.incDec.updateContext = function() {
1187
1187
  };
1188
1188
  u._function.updateContext = u._class.updateContext = function(t) {
1189
- t.beforeExpr && t !== u._else && !(t === u.semi && this.curContext() !== F.p_stat) && !(t === u._return && Q.test(this.input.slice(this.lastTokEnd, this.start))) && !((t === u.colon || t === u.braceL) && this.curContext() === F.b_stat) ? this.context.push(F.f_expr) : this.context.push(F.f_stat), this.exprAllowed = !1;
1189
+ t.beforeExpr && t !== u._else && !(t === u.semi && this.curContext() !== F.p_stat) && !(t === u._return && J.test(this.input.slice(this.lastTokEnd, this.start))) && !((t === u.colon || t === u.braceL) && this.curContext() === F.b_stat) ? this.context.push(F.f_expr) : this.context.push(F.f_stat), this.exprAllowed = !1;
1190
1190
  };
1191
1191
  u.colon.updateContext = function() {
1192
1192
  this.curContext().token === "function" && this.context.pop(), this.exprAllowed = !0;
@@ -1287,8 +1287,8 @@ _.parseExprOp = function(t, e, s, a, o) {
1287
1287
  v && (l = u.logicalAND.binop);
1288
1288
  var g = this.value;
1289
1289
  this.next();
1290
- var h = this.start, P = this.startLoc, N = this.parseExprOp(this.parseMaybeUnary(null, !1, !1, o), h, P, l, o), B = this.buildBinary(e, s, t, N, g, d || v);
1291
- return (d && this.type === u.coalesce || v && (this.type === u.logicalOR || this.type === u.logicalAND)) && this.raiseRecoverable(this.start, "Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"), this.parseExprOp(B, e, s, a, o);
1290
+ var h = this.start, P = this.startLoc, N = this.parseExprOp(this.parseMaybeUnary(null, !1, !1, o), h, P, l, o), j = this.buildBinary(e, s, t, N, g, d || v);
1291
+ return (d && this.type === u.coalesce || v && (this.type === u.logicalOR || this.type === u.logicalAND)) && this.raiseRecoverable(this.start, "Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"), this.parseExprOp(j, e, s, a, o);
1292
1292
  }
1293
1293
  return t;
1294
1294
  };
@@ -1362,18 +1362,18 @@ _.parseSubscript = function(t, e, s, a, o, l, d) {
1362
1362
  var P = this.startNodeAt(e, s);
1363
1363
  P.object = t, h ? (P.property = this.parseExpression(), this.expect(u.bracketR)) : this.type === u.privateId && t.type !== "Super" ? P.property = this.parsePrivateIdent() : P.property = this.parseIdent(this.options.allowReserved !== "never"), P.computed = !!h, v && (P.optional = g), t = this.finishNode(P, "MemberExpression");
1364
1364
  } else if (!a && this.eat(u.parenL)) {
1365
- var N = new ce(), B = this.yieldPos, nt = this.awaitPos, lt = this.awaitIdentPos;
1365
+ var N = new ce(), j = this.yieldPos, nt = this.awaitPos, lt = this.awaitIdentPos;
1366
1366
  this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0;
1367
1367
  var _t = this.parseExprList(u.parenR, this.options.ecmaVersion >= 8, !1, N);
1368
1368
  if (o && !g && this.shouldParseAsyncArrow())
1369
- return this.checkPatternErrors(N, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = B, this.awaitPos = nt, this.awaitIdentPos = lt, this.parseSubscriptAsyncArrow(e, s, _t, d);
1370
- this.checkExpressionErrors(N, !0), this.yieldPos = B || this.yieldPos, this.awaitPos = nt || this.awaitPos, this.awaitIdentPos = lt || this.awaitIdentPos;
1369
+ return this.checkPatternErrors(N, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = j, this.awaitPos = nt, this.awaitIdentPos = lt, this.parseSubscriptAsyncArrow(e, s, _t, d);
1370
+ this.checkExpressionErrors(N, !0), this.yieldPos = j || this.yieldPos, this.awaitPos = nt || this.awaitPos, this.awaitIdentPos = lt || this.awaitIdentPos;
1371
1371
  var I = this.startNodeAt(e, s);
1372
1372
  I.callee = t, I.arguments = _t, v && (I.optional = g), t = this.finishNode(I, "CallExpression");
1373
1373
  } else if (this.type === u.backQuote) {
1374
1374
  (g || l) && this.raise(this.start, "Optional chaining cannot appear in the tag of tagged template expressions");
1375
- var Y = this.startNodeAt(e, s);
1376
- Y.tag = t, Y.quasi = this.parseTemplate({ isTagged: !0 }), t = this.finishNode(Y, "TaggedTemplateExpression");
1375
+ var Z = this.startNodeAt(e, s);
1376
+ Z.tag = t, Z.quasi = this.parseTemplate({ isTagged: !0 }), t = this.finishNode(Z, "TaggedTemplateExpression");
1377
1377
  }
1378
1378
  return t;
1379
1379
  };
@@ -1470,7 +1470,7 @@ _.parseParenAndDistinguishExpression = function(t, e) {
1470
1470
  var s = this.start, a = this.startLoc, o, l = this.options.ecmaVersion >= 8;
1471
1471
  if (this.options.ecmaVersion >= 6) {
1472
1472
  this.next();
1473
- var d = this.start, v = this.startLoc, g = [], h = !0, P = !1, N = new ce(), B = this.yieldPos, nt = this.awaitPos, lt;
1473
+ var d = this.start, v = this.startLoc, g = [], h = !0, P = !1, N = new ce(), j = this.yieldPos, nt = this.awaitPos, lt;
1474
1474
  for (this.yieldPos = 0, this.awaitPos = 0; this.type !== u.parenR; )
1475
1475
  if (h ? h = !1 : this.expect(u.comma), l && this.afterTrailingComma(u.parenR, !0)) {
1476
1476
  P = !0;
@@ -1485,13 +1485,13 @@ _.parseParenAndDistinguishExpression = function(t, e) {
1485
1485
  g.push(this.parseMaybeAssign(!1, N, this.parseParenItem));
1486
1486
  var _t = this.lastTokEnd, I = this.lastTokEndLoc;
1487
1487
  if (this.expect(u.parenR), t && this.shouldParseArrow(g) && this.eat(u.arrow))
1488
- return this.checkPatternErrors(N, !1), this.checkYieldAwaitInDefaultParams(), this.yieldPos = B, this.awaitPos = nt, this.parseParenArrowList(s, a, g, e);
1489
- (!g.length || P) && this.unexpected(this.lastTokStart), lt && this.unexpected(lt), this.checkExpressionErrors(N, !0), this.yieldPos = B || this.yieldPos, this.awaitPos = nt || this.awaitPos, g.length > 1 ? (o = this.startNodeAt(d, v), o.expressions = g, this.finishNodeAt(o, "SequenceExpression", _t, I)) : o = g[0];
1488
+ return this.checkPatternErrors(N, !1), this.checkYieldAwaitInDefaultParams(), this.yieldPos = j, this.awaitPos = nt, this.parseParenArrowList(s, a, g, e);
1489
+ (!g.length || P) && this.unexpected(this.lastTokStart), lt && this.unexpected(lt), this.checkExpressionErrors(N, !0), this.yieldPos = j || this.yieldPos, this.awaitPos = nt || this.awaitPos, g.length > 1 ? (o = this.startNodeAt(d, v), o.expressions = g, this.finishNodeAt(o, "SequenceExpression", _t, I)) : o = g[0];
1490
1490
  } else
1491
1491
  o = this.parseParenExpression();
1492
1492
  if (this.options.preserveParens) {
1493
- var Y = this.startNodeAt(s, a);
1494
- return Y.expression = o, this.finishNode(Y, "ParenthesizedExpression");
1493
+ var Z = this.startNodeAt(s, a);
1494
+ return Z.expression = o, this.finishNode(Z, "ParenthesizedExpression");
1495
1495
  } else
1496
1496
  return o;
1497
1497
  };
@@ -1501,7 +1501,7 @@ _.parseParenItem = function(t) {
1501
1501
  _.parseParenArrowList = function(t, e, s, a) {
1502
1502
  return this.parseArrowExpression(this.startNodeAt(t, e), s, !1, a);
1503
1503
  };
1504
- var Ss = [];
1504
+ var Ps = [];
1505
1505
  _.parseNew = function() {
1506
1506
  this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword new");
1507
1507
  var t = this.startNode();
@@ -1512,7 +1512,7 @@ _.parseNew = function() {
1512
1512
  return t.property = this.parseIdent(!0), t.property.name !== "target" && this.raiseRecoverable(t.property.start, "The only valid meta property for new is 'new.target'"), s && this.raiseRecoverable(t.start, "'new.target' must not contain escaped characters"), this.allowNewDotTarget || this.raiseRecoverable(t.start, "'new.target' can only be used in functions and class static block"), this.finishNode(t, "MetaProperty");
1513
1513
  }
1514
1514
  var a = this.start, o = this.startLoc;
1515
- return t.callee = this.parseSubscripts(this.parseExprAtom(null, !1, !0), a, o, !0, !1), this.eat(u.parenL) ? t.arguments = this.parseExprList(u.parenR, this.options.ecmaVersion >= 8, !1) : t.arguments = Ss, this.finishNode(t, "NewExpression");
1515
+ return t.callee = this.parseSubscripts(this.parseExprAtom(null, !1, !0), a, o, !0, !1), this.eat(u.parenL) ? t.arguments = this.parseExprList(u.parenR, this.options.ecmaVersion >= 8, !1) : t.arguments = Ps, this.finishNode(t, "NewExpression");
1516
1516
  };
1517
1517
  _.parseTemplateElement = function(t) {
1518
1518
  var e = t.isTagged, s = this.startNode();
@@ -1538,7 +1538,7 @@ _.parseTemplate = function(t) {
1538
1538
  return this.next(), this.finishNode(s, "TemplateLiteral");
1539
1539
  };
1540
1540
  _.isAsyncProp = function(t) {
1541
- return !t.computed && t.key.type === "Identifier" && t.key.name === "async" && (this.type === u.name || this.type === u.num || this.type === u.string || this.type === u.bracketL || this.type.keyword || this.options.ecmaVersion >= 9 && this.type === u.star) && !Q.test(this.input.slice(this.lastTokEnd, this.start));
1541
+ return !t.computed && t.key.type === "Identifier" && t.key.name === "async" && (this.type === u.name || this.type === u.num || this.type === u.string || this.type === u.bracketL || this.type.keyword || this.options.ecmaVersion >= 9 && this.type === u.star) && !J.test(this.input.slice(this.lastTokEnd, this.start));
1542
1542
  };
1543
1543
  _.parseObj = function(t, e) {
1544
1544
  var s = this.startNode(), a = !0, o = {};
@@ -1670,11 +1670,11 @@ re.curPosition = function() {
1670
1670
  if (this.options.locations)
1671
1671
  return new Ot(this.curLine, this.pos - this.lineStart);
1672
1672
  };
1673
- var wt = H.prototype, Ps = function(e) {
1673
+ var wt = H.prototype, Cs = function(e) {
1674
1674
  this.flags = e, this.var = [], this.lexical = [], this.functions = [];
1675
1675
  };
1676
1676
  wt.enterScope = function(t) {
1677
- this.scopeStack.push(new Ps(t));
1677
+ this.scopeStack.push(new Cs(t));
1678
1678
  };
1679
1679
  wt.exitScope = function() {
1680
1680
  this.scopeStack.pop();
@@ -1749,42 +1749,42 @@ zt.copyNode = function(t) {
1749
1749
  e[s] = t[s];
1750
1750
  return e;
1751
1751
  };
1752
- var Cs = "Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz", gi = "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", bi = gi + " Extended_Pictographic", Ti = bi, Si = Ti + " EBase EComp EMod EPres ExtPict", Pi = Si, ks = Pi, ws = {
1752
+ var ks = "Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz", gi = "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", bi = gi + " Extended_Pictographic", Ti = bi, Si = Ti + " EBase EComp EMod EPres ExtPict", Pi = Si, ws = Pi, As = {
1753
1753
  9: gi,
1754
1754
  10: bi,
1755
1755
  11: Ti,
1756
1756
  12: Si,
1757
1757
  13: Pi,
1758
- 14: ks
1759
- }, As = "Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji", Es = {
1758
+ 14: ws
1759
+ }, Es = "Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji", Is = {
1760
1760
  9: "",
1761
1761
  10: "",
1762
1762
  11: "",
1763
1763
  12: "",
1764
1764
  13: "",
1765
- 14: As
1766
- }, We = "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", Ci = "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", ki = Ci + " Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd", wi = ki + " Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho", Ai = wi + " Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi", Ei = Ai + " Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith", Is = Ei + " " + Cs, _s = {
1765
+ 14: Es
1766
+ }, We = "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", Ci = "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", ki = Ci + " Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd", wi = ki + " Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho", Ai = wi + " Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi", Ei = Ai + " Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith", _s = Ei + " " + ks, Ns = {
1767
1767
  9: Ci,
1768
1768
  10: ki,
1769
1769
  11: wi,
1770
1770
  12: Ai,
1771
1771
  13: Ei,
1772
- 14: Is
1772
+ 14: _s
1773
1773
  }, Ii = {};
1774
- function Ns(t) {
1774
+ function Ls(t) {
1775
1775
  var e = Ii[t] = {
1776
- binary: kt(ws[t] + " " + We),
1777
- binaryOfStrings: kt(Es[t]),
1776
+ binary: kt(As[t] + " " + We),
1777
+ binaryOfStrings: kt(Is[t]),
1778
1778
  nonBinary: {
1779
1779
  General_Category: kt(We),
1780
- Script: kt(_s[t])
1780
+ Script: kt(Ns[t])
1781
1781
  }
1782
1782
  };
1783
1783
  e.nonBinary.Script_Extensions = e.nonBinary.Script, e.nonBinary.gc = e.nonBinary.General_Category, e.nonBinary.sc = e.nonBinary.Script, e.nonBinary.scx = e.nonBinary.Script_Extensions;
1784
1784
  }
1785
1785
  for (var be = 0, ze = [9, 10, 11, 12, 13, 14]; be < ze.length; be += 1) {
1786
- var Ls = ze[be];
1787
- Ns(Ls);
1786
+ var Os = ze[be];
1787
+ Ls(Os);
1788
1788
  }
1789
1789
  var C = H.prototype, ae = function(e, s) {
1790
1790
  this.parent = e, this.base = s || this;
@@ -1857,13 +1857,13 @@ C.validateRegExpFlags = function(t) {
1857
1857
  }
1858
1858
  this.options.ecmaVersion >= 15 && a && o && this.raise(t.start, "Invalid regular expression flag");
1859
1859
  };
1860
- function Os(t) {
1860
+ function Rs(t) {
1861
1861
  for (var e in t)
1862
1862
  return !0;
1863
1863
  return !1;
1864
1864
  }
1865
1865
  C.validateRegExpPattern = function(t) {
1866
- this.regexp_pattern(t), !t.switchN && this.options.ecmaVersion >= 9 && Os(t.groupNames) && (t.switchN = !0, this.regexp_pattern(t));
1866
+ this.regexp_pattern(t), !t.switchN && this.options.ecmaVersion >= 9 && Rs(t.groupNames) && (t.switchN = !0, this.regexp_pattern(t));
1867
1867
  };
1868
1868
  C.regexp_pattern = function(t) {
1869
1869
  t.pos = 0, t.lastIntValue = 0, t.lastStringValue = "", t.lastAssertionIsQuantifiable = !1, t.numCapturingParens = 0, t.maxBackReference = 0, t.groupNames = /* @__PURE__ */ Object.create(null), t.backReferenceNames.length = 0, t.branchID = null, this.regexp_disjunction(t), t.pos !== t.source.length && (t.eat(
@@ -2065,11 +2065,11 @@ C.regexp_eatCapturingGroup = function(t) {
2065
2065
  return !1;
2066
2066
  };
2067
2067
  C.regexp_eatModifiers = function(t) {
2068
- for (var e = "", s = 0; (s = t.current()) !== -1 && Rs(s); )
2068
+ for (var e = "", s = 0; (s = t.current()) !== -1 && Ms(s); )
2069
2069
  e += gt(s), t.advance();
2070
2070
  return e;
2071
2071
  };
2072
- function Rs(t) {
2072
+ function Ms(t) {
2073
2073
  return t === 105 || t === 109 || t === 115;
2074
2074
  }
2075
2075
  C.regexp_eatExtendedAtom = function(t) {
@@ -2139,16 +2139,16 @@ C.regexp_eatRegExpIdentifierName = function(t) {
2139
2139
  };
2140
2140
  C.regexp_eatRegExpIdentifierStart = function(t) {
2141
2141
  var e = t.pos, s = this.options.ecmaVersion >= 11, a = t.current(s);
2142
- return t.advance(s), a === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(t, s) && (a = t.lastIntValue), Ms(a) ? (t.lastIntValue = a, !0) : (t.pos = e, !1);
2142
+ return t.advance(s), a === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(t, s) && (a = t.lastIntValue), Ds(a) ? (t.lastIntValue = a, !0) : (t.pos = e, !1);
2143
2143
  };
2144
- function Ms(t) {
2144
+ function Ds(t) {
2145
2145
  return ft(t, !0) || t === 36 || t === 95;
2146
2146
  }
2147
2147
  C.regexp_eatRegExpIdentifierPart = function(t) {
2148
2148
  var e = t.pos, s = this.options.ecmaVersion >= 11, a = t.current(s);
2149
- return t.advance(s), a === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(t, s) && (a = t.lastIntValue), Ds(a) ? (t.lastIntValue = a, !0) : (t.pos = e, !1);
2149
+ return t.advance(s), a === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(t, s) && (a = t.lastIntValue), Vs(a) ? (t.lastIntValue = a, !0) : (t.pos = e, !1);
2150
2150
  };
2151
- function Ds(t) {
2151
+ function Vs(t) {
2152
2152
  return vt(t, !0) || t === 36 || t === 95 || t === 8204 || t === 8205;
2153
2153
  }
2154
2154
  C.regexp_eatAtomEscape = function(t) {
@@ -2238,13 +2238,13 @@ C.regexp_eatRegExpUnicodeEscapeSequence = function(t, e) {
2238
2238
  ) && this.regexp_eatHexDigits(t) && t.eat(
2239
2239
  125
2240
2240
  /* } */
2241
- ) && Vs(t.lastIntValue))
2241
+ ) && Fs(t.lastIntValue))
2242
2242
  return !0;
2243
2243
  a && t.raise("Invalid unicode escape"), t.pos = s;
2244
2244
  }
2245
2245
  return !1;
2246
2246
  };
2247
- function Vs(t) {
2247
+ function Fs(t) {
2248
2248
  return t >= 0 && t <= 1114111;
2249
2249
  }
2250
2250
  C.regexp_eatIdentityEscape = function(t) {
@@ -2270,7 +2270,7 @@ C.regexp_eatDecimalEscape = function(t) {
2270
2270
  var Li = 0, bt = 1, ut = 2;
2271
2271
  C.regexp_eatCharacterClassEscape = function(t) {
2272
2272
  var e = t.current();
2273
- if (Fs(e))
2273
+ if (js(e))
2274
2274
  return t.lastIntValue = -1, t.advance(), bt;
2275
2275
  var s = !1;
2276
2276
  if (t.switchU && this.options.ecmaVersion >= 9 && ((s = e === 80) || e === 112)) {
@@ -2288,7 +2288,7 @@ C.regexp_eatCharacterClassEscape = function(t) {
2288
2288
  }
2289
2289
  return Li;
2290
2290
  };
2291
- function Fs(t) {
2291
+ function js(t) {
2292
2292
  return t === 100 || t === 68 || t === 115 || t === 83 || t === 119 || t === 87;
2293
2293
  }
2294
2294
  C.regexp_eatUnicodePropertyValueExpression = function(t) {
@@ -2534,19 +2534,19 @@ C.regexp_eatClassSetCharacter = function(t) {
2534
2534
  /* b */
2535
2535
  ) ? (t.lastIntValue = 8, !0) : (t.pos = e, !1);
2536
2536
  var s = t.current();
2537
- return s < 0 || s === t.lookahead() && js(s) || Us(s) ? !1 : (t.advance(), t.lastIntValue = s, !0);
2537
+ return s < 0 || s === t.lookahead() && Us(s) || qs(s) ? !1 : (t.advance(), t.lastIntValue = s, !0);
2538
2538
  };
2539
- function js(t) {
2539
+ function Us(t) {
2540
2540
  return t === 33 || t >= 35 && t <= 38 || t >= 42 && t <= 44 || t === 46 || t >= 58 && t <= 64 || t === 94 || t === 96 || t === 126;
2541
2541
  }
2542
- function Us(t) {
2542
+ function qs(t) {
2543
2543
  return t === 40 || t === 41 || t === 45 || t === 47 || t >= 91 && t <= 93 || t >= 123 && t <= 125;
2544
2544
  }
2545
2545
  C.regexp_eatClassSetReservedPunctuator = function(t) {
2546
2546
  var e = t.current();
2547
- return qs(e) ? (t.lastIntValue = e, t.advance(), !0) : !1;
2547
+ return Hs(e) ? (t.lastIntValue = e, t.advance(), !0) : !1;
2548
2548
  };
2549
- function qs(t) {
2549
+ function Hs(t) {
2550
2550
  return t === 33 || t === 35 || t === 37 || t === 38 || t === 44 || t === 45 || t >= 58 && t <= 62 || t === 64 || t === 96 || t === 126;
2551
2551
  }
2552
2552
  C.regexp_eatClassControlLetter = function(t) {
@@ -2754,7 +2754,7 @@ R.readToken_caret = function() {
2754
2754
  };
2755
2755
  R.readToken_plus_min = function(t) {
2756
2756
  var e = this.input.charCodeAt(this.pos + 1);
2757
- return e === t ? e === 45 && !this.inModule && this.input.charCodeAt(this.pos + 2) === 62 && (this.lastTokEnd === 0 || Q.test(this.input.slice(this.lastTokEnd, this.pos))) ? (this.skipLineComment(3), this.skipSpace(), this.nextToken()) : this.finishOp(u.incDec, 2) : e === 61 ? this.finishOp(u.assign, 2) : this.finishOp(u.plusMin, 1);
2757
+ return e === t ? e === 45 && !this.inModule && this.input.charCodeAt(this.pos + 2) === 62 && (this.lastTokEnd === 0 || J.test(this.input.slice(this.lastTokEnd, this.pos))) ? (this.skipLineComment(3), this.skipSpace(), this.nextToken()) : this.finishOp(u.incDec, 2) : e === 61 ? this.finishOp(u.assign, 2) : this.finishOp(u.plusMin, 1);
2758
2758
  };
2759
2759
  R.readToken_lt_gt = function(t) {
2760
2760
  var e = this.input.charCodeAt(this.pos + 1), s = 1;
@@ -2885,7 +2885,7 @@ R.readRegexp = function() {
2885
2885
  for (var t, e, s = this.pos; ; ) {
2886
2886
  this.pos >= this.input.length && this.raise(s, "Unterminated regular expression");
2887
2887
  var a = this.input.charAt(this.pos);
2888
- if (Q.test(a) && this.raise(s, "Unterminated regular expression"), t)
2888
+ if (J.test(a) && this.raise(s, "Unterminated regular expression"), t)
2889
2889
  t = !1;
2890
2890
  else {
2891
2891
  if (a === "[")
@@ -2924,7 +2924,7 @@ R.readInt = function(t, e, s) {
2924
2924
  }
2925
2925
  return a && v === 95 && this.raiseRecoverable(this.pos - 1, "Numeric separator is not allowed at the last of digits"), this.pos === l || e != null && this.pos - l !== e ? null : d;
2926
2926
  };
2927
- function Hs(t, e) {
2927
+ function $s(t, e) {
2928
2928
  return e ? parseInt(t, 8) : parseFloat(t.replace(/_/g, ""));
2929
2929
  }
2930
2930
  function Vi(t) {
@@ -2947,7 +2947,7 @@ R.readNumber = function(t) {
2947
2947
  return ++this.pos, ft(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(u.num, o);
2948
2948
  }
2949
2949
  s && /[89]/.test(this.input.slice(e, this.pos)) && (s = !1), a === 46 && !s && (++this.pos, this.readInt(10), a = this.input.charCodeAt(this.pos)), (a === 69 || a === 101) && !s && (a = this.input.charCodeAt(++this.pos), (a === 43 || a === 45) && ++this.pos, this.readInt(10) === null && this.raise(e, "Invalid number")), ft(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number");
2950
- var l = Hs(this.input.slice(e, this.pos), s);
2950
+ var l = $s(this.input.slice(e, this.pos), s);
2951
2951
  return this.finishToken(u.num, l);
2952
2952
  };
2953
2953
  R.readCodePoint = function() {
@@ -3120,10 +3120,10 @@ R.readWord = function() {
3120
3120
  var t = this.readWord1(), e = u.name;
3121
3121
  return this.keywords.test(t) && (e = Lt[t]), this.finishToken(e, t);
3122
3122
  };
3123
- var Bi = "8.15.0";
3123
+ var ji = "8.15.0";
3124
3124
  H.acorn = {
3125
3125
  Parser: H,
3126
- version: Bi,
3126
+ version: ji,
3127
3127
  defaultOptions: ee,
3128
3128
  Position: Ot,
3129
3129
  SourceLocation: Gt,
@@ -3138,20 +3138,20 @@ H.acorn = {
3138
3138
  isIdentifierStart: ft,
3139
3139
  Token: le,
3140
3140
  isNewLine: Et,
3141
- lineBreak: Q,
3141
+ lineBreak: J,
3142
3142
  lineBreakG: oi,
3143
3143
  nonASCIIwhitespace: Ie
3144
3144
  };
3145
- function $s(t, e) {
3145
+ function Gs(t, e) {
3146
3146
  return H.parse(t, e);
3147
3147
  }
3148
- function Gs(t, e, s) {
3148
+ function Ks(t, e, s) {
3149
3149
  return H.parseExpressionAt(t, e, s);
3150
3150
  }
3151
- function Ks(t, e) {
3151
+ function Ws(t, e) {
3152
3152
  return H.tokenizer(t, e);
3153
3153
  }
3154
- const Ws = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3154
+ const zs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3155
3155
  __proto__: null,
3156
3156
  Node: Wt,
3157
3157
  Parser: H,
@@ -3166,15 +3166,15 @@ const Ws = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3166
3166
  isIdentifierStart: ft,
3167
3167
  isNewLine: Et,
3168
3168
  keywordTypes: Lt,
3169
- lineBreak: Q,
3169
+ lineBreak: J,
3170
3170
  lineBreakG: oi,
3171
3171
  nonASCIIwhitespace: Ie,
3172
- parse: $s,
3173
- parseExpressionAt: Gs,
3172
+ parse: Gs,
3173
+ parseExpressionAt: Ks,
3174
3174
  tokContexts: F,
3175
3175
  tokTypes: u,
3176
- tokenizer: Ks,
3177
- version: Bi
3176
+ tokenizer: Ws,
3177
+ version: ji
3178
3178
  }, Symbol.toStringTag, { value: "Module" }));
3179
3179
  function Xe(t, e) {
3180
3180
  for (var s = 0; s < e.length; s++) {
@@ -3237,9 +3237,9 @@ var st = !0;
3237
3237
  function rt(t, e) {
3238
3238
  return e === void 0 && (e = {}), new O("name", e);
3239
3239
  }
3240
- var zs = /* @__PURE__ */ new WeakMap();
3241
- function Xs(t) {
3242
- var e = zs.get(t.Parser.acorn || t);
3240
+ var Xs = /* @__PURE__ */ new WeakMap();
3241
+ function Qs(t) {
3242
+ var e = Xs.get(t.Parser.acorn || t);
3243
3243
  if (!e) {
3244
3244
  var s = { assert: rt(0, { startsExpr: st }), asserts: rt(0, { startsExpr: st }), global: rt(0, { startsExpr: st }), keyof: rt(0, { startsExpr: st }), readonly: rt(0, { startsExpr: st }), unique: rt(0, { startsExpr: st }), abstract: rt(0, { startsExpr: st }), declare: rt(0, { startsExpr: st }), enum: rt(0, { startsExpr: st }), module: rt(0, { startsExpr: st }), namespace: rt(0, { startsExpr: st }), interface: rt(0, { startsExpr: st }), type: rt(0, { startsExpr: st }) }, a = { at: new O("@"), jsxName: new O("jsxName"), jsxText: new O("jsxText", { beforeExpr: !0 }), jsxTagStart: new O("jsxTagStart", { startsExpr: !0 }), jsxTagEnd: new O("jsxTagEnd") }, o = { tc_oTag: new X("<tag", !1, !1), tc_cTag: new X("</tag", !1, !1), tc_expr: new X("<tag>...</tag>", !0, !0) }, l = new RegExp("^(?:" + Object.keys(s).join("|") + ")$");
3245
3245
  a.jsxTagStart.updateContext = function() {
@@ -3263,10 +3263,10 @@ function Xs(t) {
3263
3263
  }
3264
3264
  return e;
3265
3265
  }
3266
- var Bt = 1024, Qs = new RegExp("(?:[^\\S\\n\\r\\u2028\\u2029]|\\/\\/.*|\\/\\*.*?\\*\\/)*", "y"), Ye = new RegExp("(?=(" + Qs.source + "))\\1" + /(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source, "y"), jt = function() {
3266
+ var jt = 1024, Js = new RegExp("(?:[^\\S\\n\\r\\u2028\\u2029]|\\/\\/.*|\\/\\*.*?\\*\\/)*", "y"), Ye = new RegExp("(?=(" + Js.source + "))\\1" + /(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source, "y"), Bt = function() {
3267
3267
  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;
3268
3268
  };
3269
- function Js(t, e) {
3269
+ function Ys(t, e) {
3270
3270
  var s = e.key.name, a = t[s], o = "true";
3271
3271
  return e.type !== "MethodDefinition" || e.kind !== "get" && e.kind !== "set" || (o = (e.static ? "s" : "i") + e.kind), a === "iget" && o === "iset" || a === "iset" && o === "iget" || a === "sget" && o === "sset" || a === "sset" && o === "sget" ? (t[s] = "true", !1) : !!a || (t[s] = o, !1);
3272
3272
  }
@@ -3311,7 +3311,7 @@ var A = { AbstractMethodHasImplementation: function(t) {
3311
3311
  return "Single type parameter " + e + " should have a trailing comma. Example usage: <" + e + ",>.";
3312
3312
  }, StaticBlockCannotHaveModifier: "Static class blocks cannot have any modifier.", TypeAnnotationAfterAssign: "Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.", TypeImportCannotSpecifyDefaultAndNamed: "A type-only import can specify a default import or named bindings, but not both.", TypeModifierIsUsedInTypeExports: "The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.", TypeModifierIsUsedInTypeImports: "The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.", UnexpectedParameterModifier: "A parameter property is only allowed in a constructor implementation.", UnexpectedReadonly: "'readonly' type modifier is only permitted on array and tuple literal types.", GenericsEndWithComma: "Trailing comma is not allowed at the end of generics.", UnexpectedTypeAnnotation: "Did not expect a type annotation here.", UnexpectedTypeCastInParameter: "Unexpected type cast in parameter position.", UnsupportedImportTypeArgument: "Argument in a type import must be a string literal.", UnsupportedParameterPropertyKind: "A parameter property may not be declared using a binding pattern.", UnsupportedSignatureParameterKind: function(t) {
3313
3313
  return "Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got " + t.type + ".";
3314
- }, LetInLexicalBinding: "'let' is not allowed to be used as a name in 'let' or 'const' declarations." }, Ys = { quot: '"', amp: "&", apos: "'", lt: "<", gt: ">", nbsp: " ", iexcl: "¡", cent: "¢", pound: "£", curren: "¤", yen: "¥", brvbar: "¦", sect: "§", uml: "¨", copy: "©", ordf: "ª", laquo: "«", not: "¬", shy: "­", reg: "®", macr: "¯", deg: "°", plusmn: "±", sup2: "²", sup3: "³", acute: "´", micro: "µ", para: "¶", middot: "·", cedil: "¸", sup1: "¹", ordm: "º", raquo: "»", frac14: "¼", frac12: "½", frac34: "¾", iquest: "¿", Agrave: "À", Aacute: "Á", Acirc: "Â", Atilde: "Ã", Auml: "Ä", Aring: "Å", AElig: "Æ", Ccedil: "Ç", Egrave: "È", Eacute: "É", Ecirc: "Ê", Euml: "Ë", Igrave: "Ì", Iacute: "Í", Icirc: "Î", Iuml: "Ï", ETH: "Ð", Ntilde: "Ñ", Ograve: "Ò", Oacute: "Ó", Ocirc: "Ô", Otilde: "Õ", Ouml: "Ö", times: "×", Oslash: "Ø", Ugrave: "Ù", Uacute: "Ú", Ucirc: "Û", Uuml: "Ü", Yacute: "Ý", THORN: "Þ", szlig: "ß", agrave: "à", aacute: "á", acirc: "â", atilde: "ã", auml: "ä", aring: "å", aelig: "æ", ccedil: "ç", egrave: "è", eacute: "é", ecirc: "ê", euml: "ë", igrave: "ì", iacute: "í", icirc: "î", iuml: "ï", eth: "ð", ntilde: "ñ", ograve: "ò", oacute: "ó", ocirc: "ô", otilde: "õ", ouml: "ö", divide: "÷", oslash: "ø", ugrave: "ù", uacute: "ú", ucirc: "û", uuml: "ü", yacute: "ý", thorn: "þ", yuml: "ÿ", OElig: "Œ", oelig: "œ", Scaron: "Š", scaron: "š", Yuml: "Ÿ", fnof: "ƒ", circ: "ˆ", tilde: "˜", Alpha: "Α", Beta: "Β", Gamma: "Γ", Delta: "Δ", Epsilon: "Ε", Zeta: "Ζ", Eta: "Η", Theta: "Θ", Iota: "Ι", Kappa: "Κ", Lambda: "Λ", Mu: "Μ", Nu: "Ν", Xi: "Ξ", Omicron: "Ο", Pi: "Π", Rho: "Ρ", Sigma: "Σ", Tau: "Τ", Upsilon: "Υ", Phi: "Φ", Chi: "Χ", Psi: "Ψ", Omega: "Ω", alpha: "α", beta: "β", gamma: "γ", delta: "δ", epsilon: "ε", zeta: "ζ", eta: "η", theta: "θ", iota: "ι", kappa: "κ", lambda: "λ", mu: "μ", nu: "ν", xi: "ξ", omicron: "ο", pi: "π", rho: "ρ", sigmaf: "ς", sigma: "σ", tau: "τ", upsilon: "υ", phi: "φ", chi: "χ", psi: "ψ", omega: "ω", thetasym: "ϑ", upsih: "ϒ", piv: "ϖ", ensp: " ", emsp: " ", thinsp: " ", zwnj: "‌", zwj: "‍", lrm: "‎", rlm: "‏", ndash: "–", mdash: "—", lsquo: "‘", rsquo: "’", sbquo: "‚", ldquo: "“", rdquo: "”", bdquo: "„", dagger: "†", Dagger: "‡", bull: "•", hellip: "…", permil: "‰", prime: "′", Prime: "″", lsaquo: "‹", rsaquo: "›", oline: "‾", frasl: "⁄", euro: "€", image: "ℑ", weierp: "℘", real: "ℜ", trade: "™", alefsym: "ℵ", larr: "←", uarr: "↑", rarr: "→", darr: "↓", harr: "↔", crarr: "↵", lArr: "⇐", uArr: "⇑", rArr: "⇒", dArr: "⇓", hArr: "⇔", forall: "∀", part: "∂", exist: "∃", empty: "∅", nabla: "∇", isin: "∈", notin: "∉", ni: "∋", prod: "∏", sum: "∑", minus: "−", lowast: "∗", radic: "√", prop: "∝", infin: "∞", ang: "∠", and: "∧", or: "∨", cap: "∩", cup: "∪", int: "∫", there4: "∴", sim: "∼", cong: "≅", asymp: "≈", ne: "≠", equiv: "≡", le: "≤", ge: "≥", sub: "⊂", sup: "⊃", nsub: "⊄", sube: "⊆", supe: "⊇", oplus: "⊕", otimes: "⊗", perp: "⊥", sdot: "⋅", lceil: "⌈", rceil: "⌉", lfloor: "⌊", rfloor: "⌋", lang: "〈", rang: "〉", loz: "◊", spades: "♠", clubs: "♣", hearts: "♥", diams: "♦" }, Zs = /^[\da-fA-F]+$/, tr = /^\d+$/;
3314
+ }, LetInLexicalBinding: "'let' is not allowed to be used as a name in 'let' or 'const' declarations." }, Zs = { quot: '"', amp: "&", apos: "'", lt: "<", gt: ">", nbsp: " ", iexcl: "¡", cent: "¢", pound: "£", curren: "¤", yen: "¥", brvbar: "¦", sect: "§", uml: "¨", copy: "©", ordf: "ª", laquo: "«", not: "¬", shy: "­", reg: "®", macr: "¯", deg: "°", plusmn: "±", sup2: "²", sup3: "³", acute: "´", micro: "µ", para: "¶", middot: "·", cedil: "¸", sup1: "¹", ordm: "º", raquo: "»", frac14: "¼", frac12: "½", frac34: "¾", iquest: "¿", Agrave: "À", Aacute: "Á", Acirc: "Â", Atilde: "Ã", Auml: "Ä", Aring: "Å", AElig: "Æ", Ccedil: "Ç", Egrave: "È", Eacute: "É", Ecirc: "Ê", Euml: "Ë", Igrave: "Ì", Iacute: "Í", Icirc: "Î", Iuml: "Ï", ETH: "Ð", Ntilde: "Ñ", Ograve: "Ò", Oacute: "Ó", Ocirc: "Ô", Otilde: "Õ", Ouml: "Ö", times: "×", Oslash: "Ø", Ugrave: "Ù", Uacute: "Ú", Ucirc: "Û", Uuml: "Ü", Yacute: "Ý", THORN: "Þ", szlig: "ß", agrave: "à", aacute: "á", acirc: "â", atilde: "ã", auml: "ä", aring: "å", aelig: "æ", ccedil: "ç", egrave: "è", eacute: "é", ecirc: "ê", euml: "ë", igrave: "ì", iacute: "í", icirc: "î", iuml: "ï", eth: "ð", ntilde: "ñ", ograve: "ò", oacute: "ó", ocirc: "ô", otilde: "õ", ouml: "ö", divide: "÷", oslash: "ø", ugrave: "ù", uacute: "ú", ucirc: "û", uuml: "ü", yacute: "ý", thorn: "þ", yuml: "ÿ", OElig: "Œ", oelig: "œ", Scaron: "Š", scaron: "š", Yuml: "Ÿ", fnof: "ƒ", circ: "ˆ", tilde: "˜", Alpha: "Α", Beta: "Β", Gamma: "Γ", Delta: "Δ", Epsilon: "Ε", Zeta: "Ζ", Eta: "Η", Theta: "Θ", Iota: "Ι", Kappa: "Κ", Lambda: "Λ", Mu: "Μ", Nu: "Ν", Xi: "Ξ", Omicron: "Ο", Pi: "Π", Rho: "Ρ", Sigma: "Σ", Tau: "Τ", Upsilon: "Υ", Phi: "Φ", Chi: "Χ", Psi: "Ψ", Omega: "Ω", alpha: "α", beta: "β", gamma: "γ", delta: "δ", epsilon: "ε", zeta: "ζ", eta: "η", theta: "θ", iota: "ι", kappa: "κ", lambda: "λ", mu: "μ", nu: "ν", xi: "ξ", omicron: "ο", pi: "π", rho: "ρ", sigmaf: "ς", sigma: "σ", tau: "τ", upsilon: "υ", phi: "φ", chi: "χ", psi: "ψ", omega: "ω", thetasym: "ϑ", upsih: "ϒ", piv: "ϖ", ensp: " ", emsp: " ", thinsp: " ", zwnj: "‌", zwj: "‍", lrm: "‎", rlm: "‏", ndash: "–", mdash: "—", lsquo: "‘", rsquo: "’", sbquo: "‚", ldquo: "“", rdquo: "”", bdquo: "„", dagger: "†", Dagger: "‡", bull: "•", hellip: "…", permil: "‰", prime: "′", Prime: "″", lsaquo: "‹", rsaquo: "›", oline: "‾", frasl: "⁄", euro: "€", image: "ℑ", weierp: "℘", real: "ℜ", trade: "™", alefsym: "ℵ", larr: "←", uarr: "↑", rarr: "→", darr: "↓", harr: "↔", crarr: "↵", lArr: "⇐", uArr: "⇑", rArr: "⇒", dArr: "⇓", hArr: "⇔", forall: "∀", part: "∂", exist: "∃", empty: "∅", nabla: "∇", isin: "∈", notin: "∉", ni: "∋", prod: "∏", sum: "∑", minus: "−", lowast: "∗", radic: "√", prop: "∝", infin: "∞", ang: "∠", and: "∧", or: "∨", cap: "∩", cup: "∪", int: "∫", there4: "∴", sim: "∼", cong: "≅", asymp: "≈", ne: "≠", equiv: "≡", le: "≤", ge: "≥", sub: "⊂", sup: "⊃", nsub: "⊄", sube: "⊆", supe: "⊇", oplus: "⊕", otimes: "⊗", perp: "⊥", sdot: "⋅", lceil: "⌈", rceil: "⌉", lfloor: "⌊", rfloor: "⌋", lang: "〈", rang: "〉", loz: "◊", spades: "♠", clubs: "♣", hearts: "♥", diams: "♦" }, tr = /^[\da-fA-F]+$/, er = /^\d+$/;
3315
3315
  function qt(t) {
3316
3316
  return t && (t.type === "JSXIdentifier" ? t.name : t.type === "JSXNamespacedName" ? t.namespace.name + ":" + t.name.name : t.type === "JSXMemberExpression" ? qt(t.object) + "." + qt(t.property) : void 0);
3317
3317
  }
@@ -3319,40 +3319,40 @@ var Te = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;
3319
3319
  function ti(t) {
3320
3320
  if (!t) throw new Error("Assert fail");
3321
3321
  }
3322
- function er(t) {
3322
+ function ir(t) {
3323
3323
  return t === "accessor";
3324
3324
  }
3325
- function ir(t) {
3325
+ function sr(t) {
3326
3326
  return t === "in" || t === "out";
3327
3327
  }
3328
3328
  function Se(t, e) {
3329
3329
  return 2 | (t ? 4 : 0) | (e ? 8 : 0);
3330
3330
  }
3331
- function sr(t) {
3331
+ function rr(t) {
3332
3332
  if (t.type !== "MemberExpression") return !1;
3333
3333
  var e = t.property;
3334
- return (!t.computed || !(e.type !== "TemplateLiteral" || e.expressions.length > 0)) && ji(t.object);
3334
+ return (!t.computed || !(e.type !== "TemplateLiteral" || e.expressions.length > 0)) && Bi(t.object);
3335
3335
  }
3336
- function ji(t) {
3337
- return t.type === "Identifier" || t.type === "MemberExpression" && !t.computed && ji(t.object);
3336
+ function Bi(t) {
3337
+ return t.type === "Identifier" || t.type === "MemberExpression" && !t.computed && Bi(t.object);
3338
3338
  }
3339
3339
  function ei(t) {
3340
3340
  return t === "private" || t === "public" || t === "protected";
3341
3341
  }
3342
- function rr(t) {
3342
+ function ar(t) {
3343
3343
  var e = {}, s = e.dts, a = s !== void 0 && s, o = e.allowSatisfies, l = o !== void 0 && o;
3344
3344
  return function(d) {
3345
- var v = d.acorn || Ws, g = Xs(v), h = v.tokTypes, P = v.keywordTypes, N = v.isIdentifierStart, B = v.lineBreak, nt = v.isNewLine, lt = v.tokContexts, _t = v.isIdentifierChar, I = g.tokTypes, Y = g.tokContexts, fe = g.keywordsRegExp, Hi = g.tokenIsLiteralPropertyName, $i = g.tokenIsTemplate, Gi = g.tokenIsTSDeclarationStart, V = g.tokenIsIdentifier, Xt = g.tokenIsKeywordOrIdentifier, Ki = g.tokenIsTSTypeOperator;
3346
- function Wi(S, Z, z) {
3345
+ var v = d.acorn || zs, g = Qs(v), h = v.tokTypes, P = v.keywordTypes, N = v.isIdentifierStart, j = v.lineBreak, nt = v.isNewLine, lt = v.tokContexts, _t = v.isIdentifierChar, I = g.tokTypes, Z = g.tokContexts, fe = g.keywordsRegExp, $i = g.tokenIsLiteralPropertyName, Gi = g.tokenIsTemplate, Ki = g.tokenIsTSDeclarationStart, V = g.tokenIsIdentifier, Xt = g.tokenIsKeywordOrIdentifier, Wi = g.tokenIsTSTypeOperator;
3346
+ function zi(S, tt, z) {
3347
3347
  z === void 0 && (z = S.length);
3348
- for (var $ = Z; $ < z; $++) {
3348
+ for (var $ = tt; $ < z; $++) {
3349
3349
  var D = S.charCodeAt($);
3350
3350
  if (nt(D)) return $ < z - 1 && D === 13 && S.charCodeAt($ + 1) === 10 ? $ + 2 : $ + 1;
3351
3351
  }
3352
3352
  return -1;
3353
3353
  }
3354
- d = (function(S, Z, z) {
3355
- var $ = z.tokTypes, D = Z.tokTypes;
3354
+ d = (function(S, tt, z) {
3355
+ var $ = z.tokTypes, D = tt.tokTypes;
3356
3356
  return (function(p) {
3357
3357
  function i() {
3358
3358
  return p.apply(this, arguments) || this;
@@ -3391,8 +3391,8 @@ function rr(t) {
3391
3391
  return n;
3392
3392
  }, i;
3393
3393
  })(S);
3394
- })(d, g, v), d = (function(S, Z, z, $) {
3395
- var D = S.tokTypes, p = Z.tokTypes, i = S.isNewLine, r = S.isIdentifierChar, n = Object.assign({ allowNamespaces: !0, allowNamespacedObjects: !0 }, {});
3394
+ })(d, g, v), d = (function(S, tt, z, $) {
3395
+ var D = S.tokTypes, p = tt.tokTypes, i = S.isNewLine, r = S.isIdentifierChar, n = Object.assign({ allowNamespaces: !0, allowNamespacedObjects: !0 }, {});
3396
3396
  return (function(c) {
3397
3397
  function f() {
3398
3398
  return c.apply(this, arguments) || this;
@@ -3435,7 +3435,7 @@ function rr(t) {
3435
3435
  T !== "&" && this.raise(this.pos, "Entity must start with an ampersand");
3436
3436
  for (var E = ++this.pos; this.pos < this.input.length && b++ < 10; ) {
3437
3437
  if ((T = this.input[this.pos++]) === ";") {
3438
- x[0] === "#" ? x[1] === "x" ? (x = x.substr(2), Zs.test(x) && (y = String.fromCharCode(parseInt(x, 16)))) : (x = x.substr(1), tr.test(x) && (y = String.fromCharCode(parseInt(x, 10)))) : y = Ys[x];
3438
+ x[0] === "#" ? x[1] === "x" ? (x = x.substr(2), tr.test(x) && (y = String.fromCharCode(parseInt(x, 16)))) : (x = x.substr(1), er.test(x) && (y = String.fromCharCode(parseInt(x, 10)))) : y = Zs[x];
3439
3439
  break;
3440
3440
  }
3441
3441
  x += T;
@@ -3524,8 +3524,8 @@ function rr(t) {
3524
3524
  return this.next(), this.jsx_parseElementAt(y, x);
3525
3525
  }, f;
3526
3526
  })(z);
3527
- })(v, g, d), d = (function(S, Z, z) {
3528
- var $ = Z.tokTypes, D = z.tokTypes;
3527
+ })(v, g, d), d = (function(S, tt, z) {
3528
+ var $ = tt.tokTypes, D = z.tokTypes;
3529
3529
  return (function(p) {
3530
3530
  function i() {
3531
3531
  return p.apply(this, arguments) || this;
@@ -3553,26 +3553,26 @@ function rr(t) {
3553
3553
  }, i;
3554
3554
  })(S);
3555
3555
  })(d, g, v);
3556
- var zi = /* @__PURE__ */ (function(S) {
3557
- function Z(i, r, n) {
3556
+ var Xi = /* @__PURE__ */ (function(S) {
3557
+ function tt(i, r, n) {
3558
3558
  var c;
3559
3559
  return (c = S.call(this, i, r, n) || this).preValue = null, c.preToken = null, c.isLookahead = !1, c.isAmbientContext = !1, c.inAbstractClass = !1, c.inType = !1, c.inDisallowConditionalTypesContext = !1, c.maybeInArrowParameters = !1, c.shouldParseArrowReturnType = void 0, c.shouldParseAsyncArrowReturnType = void 0, c.decoratorStack = [[]], c.importsStack = [[]], c.importOrExportOuterKind = void 0, c.tsParseConstModifier = c.tsParseModifiers.bind((function(f) {
3560
3560
  if (f === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
3561
3561
  return f;
3562
3562
  })(c), { allowedModifiers: ["const"], disallowedModifiers: ["in", "out"], errorTemplate: A.InvalidModifierOnTypeParameterPositions }), c;
3563
3563
  }
3564
- Yt(Z, S);
3565
- var z, $, D, p = Z.prototype;
3564
+ Yt(tt, S);
3565
+ var z, $, D, p = tt.prototype;
3566
3566
  return p.getTokenFromCodeInType = function(i) {
3567
3567
  return i === 62 || i === 60 ? this.finishOp(h.relational, 1) : S.prototype.getTokenFromCode.call(this, i);
3568
3568
  }, p.readToken = function(i) {
3569
3569
  if (!this.inType) {
3570
3570
  var r = this.curContext();
3571
- if (r === Y.tc_expr) return this.jsx_readToken();
3572
- if (r === Y.tc_oTag || r === Y.tc_cTag) {
3571
+ if (r === Z.tc_expr) return this.jsx_readToken();
3572
+ if (r === Z.tc_oTag || r === Z.tc_cTag) {
3573
3573
  if (N(i)) return this.jsx_readWord();
3574
3574
  if (i == 62) return ++this.pos, this.finishToken(I.jsxTagEnd);
3575
- if ((i === 34 || i === 39) && r == Y.tc_oTag) return this.jsx_readString(i);
3575
+ if ((i === 34 || i === 39) && r == Z.tc_oTag) return this.jsx_readString(i);
3576
3576
  }
3577
3577
  if (i === 60 && this.exprAllowed && this.input.charCodeAt(this.pos + 1) !== 33) return ++this.pos, this.finishToken(I.jsxTagStart);
3578
3578
  }
@@ -3694,7 +3694,7 @@ function rr(t) {
3694
3694
  var i;
3695
3695
  this.isLookahead || (i = this.options.onComment && this.curPosition());
3696
3696
  var r = this.pos, n = this.input.indexOf("*/", this.pos += 2);
3697
- if (n === -1 && this.raise(this.pos - 2, "Unterminated comment"), this.pos = n + 2, this.options.locations) for (var c, f = r; (c = Wi(this.input, f, this.pos)) > -1; ) ++this.curLine, f = this.lineStart = c;
3697
+ if (n === -1 && this.raise(this.pos - 2, "Unterminated comment"), this.pos = n + 2, this.options.locations) for (var c, f = r; (c = zi(this.input, f, this.pos)) > -1; ) ++this.curLine, f = this.lineStart = c;
3698
3698
  this.isLookahead || this.options.onComment && this.options.onComment(!0, this.input.slice(r + 2, n), r, this.pos, i, this.curPosition());
3699
3699
  }, p.skipLineComment = function(i) {
3700
3700
  var r, n = this.pos;
@@ -3717,9 +3717,9 @@ function rr(t) {
3717
3717
  c ? f[r] = n : Object.defineProperty(f, r, { enumerable: c, value: n });
3718
3718
  }
3719
3719
  }, p.isLiteralPropertyName = function() {
3720
- return Hi(this.type);
3720
+ return $i(this.type);
3721
3721
  }, p.hasPrecedingLineBreak = function() {
3722
- return B.test(this.input.slice(this.lastTokEndLoc.index, this.start));
3722
+ return j.test(this.input.slice(this.lastTokEndLoc.index, this.start));
3723
3723
  }, p.createIdentifier = function(i, r) {
3724
3724
  return i.name = r, this.finishNode(i, "Identifier");
3725
3725
  }, p.resetStartLocationFromNode = function(i, r) {
@@ -3799,7 +3799,7 @@ function rr(t) {
3799
3799
  }
3800
3800
  return this.next(), S.prototype.exitScope.call(this), this.finishNode(i, "TSModuleBlock");
3801
3801
  }, p.tsParseAmbientExternalModuleDeclaration = function(i) {
3802
- return this.ts_isContextual(I.global) ? (i.global = !0, i.id = this.parseIdent()) : this.match(h.string) ? i.id = this.parseLiteral(this.value) : this.unexpected(), this.match(h.braceL) ? (S.prototype.enterScope.call(this, Bt), i.body = this.tsParseModuleBlock(), S.prototype.exitScope.call(this)) : S.prototype.semicolon.call(this), this.finishNode(i, "TSModuleDeclaration");
3802
+ return this.ts_isContextual(I.global) ? (i.global = !0, i.id = this.parseIdent()) : this.match(h.string) ? i.id = this.parseLiteral(this.value) : this.unexpected(), this.match(h.braceL) ? (S.prototype.enterScope.call(this, jt), i.body = this.tsParseModuleBlock(), S.prototype.exitScope.call(this)) : S.prototype.semicolon.call(this), this.finishNode(i, "TSModuleDeclaration");
3803
3803
  }, p.tsTryParseDeclare = function(i) {
3804
3804
  var r = this;
3805
3805
  if (!this.isLineTerminator()) {
@@ -4127,7 +4127,7 @@ function rr(t) {
4127
4127
  return i;
4128
4128
  }, p.tsParseTypeOperatorOrHigher = function() {
4129
4129
  var i = this;
4130
- return Ki(this.type) && !this.containsEsc ? this.tsParseTypeOperator() : this.isContextual("infer") ? this.tsParseInferType() : this.tsInAllowConditionalTypesContext(function() {
4130
+ return Wi(this.type) && !this.containsEsc ? this.tsParseTypeOperator() : this.isContextual("infer") ? this.tsParseInferType() : this.tsInAllowConditionalTypesContext(function() {
4131
4131
  return i.tsParseArrayTypeOrHigher();
4132
4132
  });
4133
4133
  }, p.tsParseIntersectionTypeOrHigher = function() {
@@ -4201,14 +4201,14 @@ function rr(t) {
4201
4201
  r[m] = n[m];
4202
4202
  }
4203
4203
  }, p.tsParseModifiers = function(i) {
4204
- for (var r = this, n = i.modified, c = i.allowedModifiers, f = i.disallowedModifiers, m = i.stopOnStartOfClassStaticBlock, y = i.errorTemplate, x = y === void 0 ? A.InvalidModifierOnTypeMember : y, b = {}, T = function(U, j, q, G) {
4205
- j === q && n[G] && r.raise(U.column, A.InvalidModifiersOrder({ orderedModifiers: [q, G] }));
4206
- }, E = function(U, j, q, G) {
4207
- (n[q] && j === G || n[G] && j === q) && r.raise(U.column, A.IncompatibleModifiers({ modifiers: [q, G] }));
4204
+ for (var r = this, n = i.modified, c = i.allowedModifiers, f = i.disallowedModifiers, m = i.stopOnStartOfClassStaticBlock, y = i.errorTemplate, x = y === void 0 ? A.InvalidModifierOnTypeMember : y, b = {}, T = function(U, B, q, G) {
4205
+ B === q && n[G] && r.raise(U.column, A.InvalidModifiersOrder({ orderedModifiers: [q, G] }));
4206
+ }, E = function(U, B, q, G) {
4207
+ (n[q] && B === G || n[G] && B === q) && r.raise(U.column, A.IncompatibleModifiers({ modifiers: [q, G] }));
4208
4208
  }; ; ) {
4209
4209
  var L = this.startLoc, k = this.tsParseModifier(c.concat(f ?? []), m);
4210
4210
  if (!k) break;
4211
- ei(k) ? n.accessibility ? this.raise(this.start, A.DuplicateAccessibilityModifier()) : (T(L, k, k, "override"), T(L, k, k, "static"), T(L, k, k, "readonly"), T(L, k, k, "accessor"), b.accessibility = k, n.accessibility = k) : ir(k) ? n[k] ? this.raise(this.start, A.DuplicateModifier({ modifier: k })) : (T(L, k, "in", "out"), b[k] = k, n[k] = !0) : er(k) ? n[k] ? this.raise(this.start, A.DuplicateModifier({ modifier: k })) : (E(L, k, "accessor", "readonly"), E(L, k, "accessor", "static"), E(L, k, "accessor", "override"), b[k] = k, n[k] = !0) : Object.hasOwnProperty.call(n, k) ? this.raise(this.start, A.DuplicateModifier({ modifier: k })) : (T(L, k, "static", "readonly"), T(L, k, "static", "override"), T(L, k, "override", "readonly"), T(L, k, "abstract", "override"), E(L, k, "declare", "override"), E(L, k, "static", "abstract"), b[k] = k, n[k] = !0), f != null && f.includes(k) && this.raise(this.start, x);
4211
+ ei(k) ? n.accessibility ? this.raise(this.start, A.DuplicateAccessibilityModifier()) : (T(L, k, k, "override"), T(L, k, k, "static"), T(L, k, k, "readonly"), T(L, k, k, "accessor"), b.accessibility = k, n.accessibility = k) : sr(k) ? n[k] ? this.raise(this.start, A.DuplicateModifier({ modifier: k })) : (T(L, k, "in", "out"), b[k] = k, n[k] = !0) : ir(k) ? n[k] ? this.raise(this.start, A.DuplicateModifier({ modifier: k })) : (E(L, k, "accessor", "readonly"), E(L, k, "accessor", "static"), E(L, k, "accessor", "override"), b[k] = k, n[k] = !0) : Object.hasOwnProperty.call(n, k) ? this.raise(this.start, A.DuplicateModifier({ modifier: k })) : (T(L, k, "static", "readonly"), T(L, k, "static", "override"), T(L, k, "override", "readonly"), T(L, k, "abstract", "override"), E(L, k, "declare", "override"), E(L, k, "static", "abstract"), b[k] = k, n[k] = !0), f != null && f.includes(k) && this.raise(this.start, x);
4212
4212
  }
4213
4213
  return b;
4214
4214
  }, p.tsParseInOutModifiers = function(i) {
@@ -4284,7 +4284,7 @@ function rr(t) {
4284
4284
  if (!this.hasFollowingLineBreak()) return i.abstract = !0, this.tsParseInterfaceDeclaration(i);
4285
4285
  } else this.unexpected(i.start);
4286
4286
  }, p.tsIsDeclarationStart = function() {
4287
- return Gi(this.type);
4287
+ return Ki(this.type);
4288
4288
  }, p.tsParseExpressionStatement = function(i, r) {
4289
4289
  switch (r.name) {
4290
4290
  case "declare":
@@ -4293,7 +4293,7 @@ function rr(t) {
4293
4293
  break;
4294
4294
  case "global":
4295
4295
  if (this.match(h.braceL)) {
4296
- S.prototype.enterScope.call(this, Bt);
4296
+ S.prototype.enterScope.call(this, jt);
4297
4297
  var c = i;
4298
4298
  return c.global = !0, c.id = r, c.body = this.tsParseModuleBlock(), S.prototype.exitScope.call(this), this.finishNode(c, "TSModuleDeclaration");
4299
4299
  }
@@ -4333,7 +4333,7 @@ function rr(t) {
4333
4333
  if (r === void 0 && (r = !1), i.id = this.parseIdent(), r || this.checkLValSimple(i.id, 8), this.eat(h.dot)) {
4334
4334
  var n = this.startNode();
4335
4335
  this.tsParseModuleOrNamespaceDeclaration(n, !0), i.body = n;
4336
- } else S.prototype.enterScope.call(this, Bt), i.body = this.tsParseModuleBlock(), S.prototype.exitScope.call(this);
4336
+ } else S.prototype.enterScope.call(this, jt), i.body = this.tsParseModuleBlock(), S.prototype.exitScope.call(this);
4337
4337
  return this.finishNode(i, "TSModuleDeclaration");
4338
4338
  }, p.checkLValSimple = function(i, r, n) {
4339
4339
  return r === void 0 && (r = 0), S.prototype.checkLValSimple.call(this, i, r, n);
@@ -4553,7 +4553,7 @@ function rr(t) {
4553
4553
  if (!c) return f;
4554
4554
  for (var m, y = Je(f.declarations); !(m = y()).done; ) {
4555
4555
  var x = m.value, b = x.init;
4556
- b && (r !== "const" || x.id.typeAnnotation ? this.raise(b.start, A.InitializerNotAllowedInAmbientContext) : b.type !== "StringLiteral" && b.type !== "BooleanLiteral" && b.type !== "NumericLiteral" && b.type !== "BigIntLiteral" && (b.type !== "TemplateLiteral" || b.expressions.length > 0) && !sr(b) && this.raise(b.start, A.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference));
4556
+ b && (r !== "const" || x.id.typeAnnotation ? this.raise(b.start, A.InitializerNotAllowedInAmbientContext) : b.type !== "StringLiteral" && b.type !== "BooleanLiteral" && b.type !== "NumericLiteral" && b.type !== "BigIntLiteral" && (b.type !== "TemplateLiteral" || b.expressions.length > 0) && !rr(b) && this.raise(b.start, A.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference));
4557
4557
  }
4558
4558
  return f;
4559
4559
  }, p.parseStatement = function(i, r, n) {
@@ -4647,8 +4647,8 @@ function rr(t) {
4647
4647
  (r.eatContextual("get") || r.eatContextual("set")) && (r.isClassElementNameStart() ? b = U : m = U);
4648
4648
  }
4649
4649
  if (m ? (f.computed = !1, f.key = r.startNodeAt(r.lastTokStart, r.lastTokStartLoc), f.key.name = m, r.finishNode(f.key, "Identifier")) : r.parseClassElementName(f), r.parsePostMemberNameModifiers(f), r.isClassMethod() || c < 13 || r.type === h.parenL || b !== "method" || y || x) {
4650
- var j = !f.static && Ze(f, "constructor"), q = j && i;
4651
- j && b !== "method" && r.raise(f.key.start, "Constructor can't have get/set modifier"), f.kind = j ? "constructor" : b, r.parseClassMethod(f, y, x, q);
4650
+ var B = !f.static && Ze(f, "constructor"), q = B && i;
4651
+ B && b !== "method" && r.raise(f.key.start, "Constructor can't have get/set modifier"), f.kind = B ? "constructor" : b, r.parseClassMethod(f, y, x, q);
4652
4652
  } else r.parseClassField(f);
4653
4653
  return f;
4654
4654
  }
@@ -4678,7 +4678,7 @@ function rr(t) {
4678
4678
  this.exprAllowed = !1;
4679
4679
  }
4680
4680
  var c = !1, f = -1, m = -1, y = -1;
4681
- r ? (f = r.parenthesizedAssign, m = r.trailingComma, y = r.doubleProto, r.parenthesizedAssign = r.trailingComma = -1) : (r = new jt(), c = !0);
4681
+ r ? (f = r.parenthesizedAssign, m = r.trailingComma, y = r.doubleProto, r.parenthesizedAssign = r.trailingComma = -1) : (r = new Bt(), c = !0);
4682
4682
  var x = this.start, b = this.startLoc;
4683
4683
  (this.type === h.parenL || V(this.type)) && (this.potentialArrowAt = this.start, this.potentialArrowInForAwait = i === "await");
4684
4684
  var T = this.parseMaybeConditional(i, r);
@@ -4688,10 +4688,10 @@ function rr(t) {
4688
4688
  }
4689
4689
  return c && this.checkExpressionErrors(r, !0), f > -1 && (r.parenthesizedAssign = f), m > -1 && (r.trailingComma = m), T;
4690
4690
  }, p.parseMaybeAssign = function(i, r, n) {
4691
- var c, f, m, y, x, b, T, E, L, k, U, j = this;
4691
+ var c, f, m, y, x, b, T, E, L, k, U, B = this;
4692
4692
  if (this.matchJsx("jsxTagStart") || this.tsMatchLeftRelational()) {
4693
4693
  if (E = this.cloneCurLookaheadState(), !(L = this.tryParse(function() {
4694
- return j.parseMaybeAssignOrigin(i, r, n);
4694
+ return B.parseMaybeAssignOrigin(i, r, n);
4695
4695
  }, E)).error) return L.node;
4696
4696
  var q = this.context, G = q[q.length - 1];
4697
4697
  G === g.tokContexts.tc_oTag && q[q.length - 2] === g.tokContexts.tc_expr ? (q.pop(), q.pop()) : G !== g.tokContexts.tc_oTag && G !== g.tokContexts.tc_expr || q.pop();
@@ -4700,13 +4700,13 @@ function rr(t) {
4700
4700
  E && !this.compareLookaheadState(E, this.getCurLookaheadState()) || (E = this.cloneCurLookaheadState());
4701
4701
  var it = this.tryParse(function(Pt) {
4702
4702
  var Vt, Ft;
4703
- U = j.tsParseTypeParameters();
4704
- var Ct = j.parseMaybeAssignOrigin(i, r, n);
4705
- return (Ct.type !== "ArrowFunctionExpression" || (Vt = Ct.extra) != null && Vt.parenthesized) && Pt(), ((Ft = U) == null ? void 0 : Ft.params.length) !== 0 && j.resetStartLocationFromNode(Ct, U), Ct.typeParameters = U, Ct;
4703
+ U = B.tsParseTypeParameters();
4704
+ var Ct = B.parseMaybeAssignOrigin(i, r, n);
4705
+ return (Ct.type !== "ArrowFunctionExpression" || (Vt = Ct.extra) != null && Vt.parenthesized) && Pt(), ((Ft = U) == null ? void 0 : Ft.params.length) !== 0 && B.resetStartLocationFromNode(Ct, U), Ct.typeParameters = U, Ct;
4706
4706
  }, E);
4707
4707
  if (!it.error && !it.aborted) return U && this.reportReservedArrowTypeParam(U), it.node;
4708
4708
  if (!L && (ti(!0), !(k = this.tryParse(function() {
4709
- return j.parseMaybeAssignOrigin(i, r, n);
4709
+ return B.parseMaybeAssignOrigin(i, r, n);
4710
4710
  }, E)).error)) return k.node;
4711
4711
  if ((f = L) != null && f.node) return this.setLookaheadState(L.failState), L.node;
4712
4712
  if (it.node) return this.setLookaheadState(it.failState), U && this.reportReservedArrowTypeParam(U), it.node;
@@ -4770,7 +4770,7 @@ function rr(t) {
4770
4770
  return !1;
4771
4771
  }
4772
4772
  }, p.toAssignable = function(i, r, n) {
4773
- switch (r === void 0 && (r = !1), n === void 0 && (n = new jt()), i.type) {
4773
+ switch (r === void 0 && (r = !1), n === void 0 && (n = new Bt()), i.type) {
4774
4774
  case "ParenthesizedExpression":
4775
4775
  return this.toAssignableParenthesizedExpression(i, r, n);
4776
4776
  case "TSAsExpression":
@@ -4835,7 +4835,7 @@ function rr(t) {
4835
4835
  if (this.options.ecmaVersion >= 6) {
4836
4836
  var y = this.maybeInArrowParameters;
4837
4837
  this.maybeInArrowParameters = !0, this.next();
4838
- var x, b = this.start, T = this.startLoc, E = [], L = !0, k = !1, U = new jt(), j = this.yieldPos, q = this.awaitPos;
4838
+ var x, b = this.start, T = this.startLoc, E = [], L = !0, k = !1, U = new Bt(), B = this.yieldPos, q = this.awaitPos;
4839
4839
  for (this.yieldPos = 0, this.awaitPos = 0; this.type !== h.parenR; ) {
4840
4840
  if (L ? L = !1 : this.expect(h.comma), m && this.afterTrailingComma(h.parenR, !0)) {
4841
4841
  k = !0;
@@ -4848,8 +4848,8 @@ function rr(t) {
4848
4848
  E.push(this.parseMaybeAssign(r, U, this.parseParenItem));
4849
4849
  }
4850
4850
  var G = this.lastTokEnd, it = this.lastTokEndLoc;
4851
- if (this.expect(h.parenR), this.maybeInArrowParameters = y, i && this.shouldParseArrow(E) && this.eat(h.arrow)) return this.checkPatternErrors(U, !1), this.checkYieldAwaitInDefaultParams(), this.yieldPos = j, this.awaitPos = q, this.parseParenArrowList(c, f, E, r);
4852
- E.length && !k || this.unexpected(this.lastTokStart), x && this.unexpected(x), this.checkExpressionErrors(U, !0), this.yieldPos = j || this.yieldPos, this.awaitPos = q || this.awaitPos, E.length > 1 ? ((n = this.startNodeAt(b, T)).expressions = E, this.finishNodeAt(n, "SequenceExpression", G, it)) : n = E[0];
4851
+ if (this.expect(h.parenR), this.maybeInArrowParameters = y, i && this.shouldParseArrow(E) && this.eat(h.arrow)) return this.checkPatternErrors(U, !1), this.checkYieldAwaitInDefaultParams(), this.yieldPos = B, this.awaitPos = q, this.parseParenArrowList(c, f, E, r);
4852
+ E.length && !k || this.unexpected(this.lastTokStart), x && this.unexpected(x), this.checkExpressionErrors(U, !0), this.yieldPos = B || this.yieldPos, this.awaitPos = q || this.awaitPos, E.length > 1 ? ((n = this.startNodeAt(b, T)).expressions = E, this.finishNodeAt(n, "SequenceExpression", G, it)) : n = E[0];
4853
4853
  } else n = this.parseParenExpression();
4854
4854
  if (this.options.preserveParens) {
4855
4855
  var Pt = this.startNodeAt(c, f);
@@ -4893,18 +4893,18 @@ function rr(t) {
4893
4893
  if (this.tsMatchLeftRelational() || this.match(h.bitShift)) {
4894
4894
  var L, k = this.tsTryParseAndCatch(function() {
4895
4895
  if (!c && x.atPossibleAsyncArrow(i)) {
4896
- var je = x.tsTryParseGenericAsyncArrowFunction(r, n, y);
4897
- if (je) return i = je;
4896
+ var Be = x.tsTryParseGenericAsyncArrowFunction(r, n, y);
4897
+ if (Be) return i = Be;
4898
4898
  }
4899
4899
  var Jt = x.tsParseTypeArgumentsInExpression();
4900
4900
  if (!Jt) return i;
4901
4901
  if (E && !x.match(h.parenL)) return L = x.curPosition(), i;
4902
- if ($i(x.type) || x.type === h.backQuote) {
4902
+ if (Gi(x.type) || x.type === h.backQuote) {
4903
4903
  var Ue = x.parseTaggedTemplateExpression(i, r, n, b);
4904
4904
  return Ue.typeParameters = Jt, Ue;
4905
4905
  }
4906
4906
  if (!c && x.eat(h.parenL)) {
4907
- var qe = new jt(), Nt = x.startNodeAt(r, n);
4907
+ var qe = new Bt(), Nt = x.startNodeAt(r, n);
4908
4908
  return Nt.callee = i, Nt.arguments = x.parseExprList(h.parenR, x.options.ecmaVersion >= 8, !1, qe), x.tsCheckForInvalidTypeCasts(Nt.arguments), Nt.typeParameters = Jt, b && (Nt.optional = E), x.checkExpressionErrors(qe, !0), i = x.finishNode(Nt, "CallExpression");
4909
4909
  }
4910
4910
  var me = x.type;
@@ -4915,27 +4915,27 @@ function rr(t) {
4915
4915
  });
4916
4916
  if (L && this.unexpected(L), k) return k.type === "TSInstantiationExpression" && (this.match(h.dot) || this.match(h.questionDot) && this.lookaheadCharCode() !== 40) && this.raise(this.start, A.InvalidPropertyAccessAfterInstantiationExpression), i = k;
4917
4917
  }
4918
- var U = this.options.ecmaVersion >= 11, j = U && this.eat(h.questionDot);
4919
- c && j && this.raise(this.lastTokStart, "Optional chaining cannot appear in the callee of new expressions");
4918
+ var U = this.options.ecmaVersion >= 11, B = U && this.eat(h.questionDot);
4919
+ c && B && this.raise(this.lastTokStart, "Optional chaining cannot appear in the callee of new expressions");
4920
4920
  var q = this.eat(h.bracketL);
4921
- if (q || j && this.type !== h.parenL && this.type !== h.backQuote || this.eat(h.dot)) {
4921
+ if (q || B && this.type !== h.parenL && this.type !== h.backQuote || this.eat(h.dot)) {
4922
4922
  var G = this.startNodeAt(r, n);
4923
- G.object = i, q ? (G.property = this.parseExpression(), this.expect(h.bracketR)) : G.property = this.type === h.privateId && i.type !== "Super" ? this.parsePrivateIdent() : this.parseIdent(this.options.allowReserved !== "never"), G.computed = !!q, U && (G.optional = j), i = this.finishNode(G, "MemberExpression");
4923
+ G.object = i, q ? (G.property = this.parseExpression(), this.expect(h.bracketR)) : G.property = this.type === h.privateId && i.type !== "Super" ? this.parsePrivateIdent() : this.parseIdent(this.options.allowReserved !== "never"), G.computed = !!q, U && (G.optional = B), i = this.finishNode(G, "MemberExpression");
4924
4924
  } else if (!c && this.eat(h.parenL)) {
4925
4925
  var it = this.maybeInArrowParameters;
4926
4926
  this.maybeInArrowParameters = !0;
4927
- var Pt = new jt(), Vt = this.yieldPos, Ft = this.awaitPos, Ct = this.awaitIdentPos;
4927
+ var Pt = new Bt(), Vt = this.yieldPos, Ft = this.awaitPos, Ct = this.awaitIdentPos;
4928
4928
  this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0;
4929
- var Be = this.parseExprList(h.parenR, this.options.ecmaVersion >= 8, !1, Pt);
4930
- if (f && !j && this.shouldParseAsyncArrow()) this.checkPatternErrors(Pt, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = Vt, this.awaitPos = Ft, this.awaitIdentPos = Ct, i = this.parseSubscriptAsyncArrow(r, n, Be, y);
4929
+ var je = this.parseExprList(h.parenR, this.options.ecmaVersion >= 8, !1, Pt);
4930
+ if (f && !B && this.shouldParseAsyncArrow()) this.checkPatternErrors(Pt, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = Vt, this.awaitPos = Ft, this.awaitIdentPos = Ct, i = this.parseSubscriptAsyncArrow(r, n, je, y);
4931
4931
  else {
4932
4932
  this.checkExpressionErrors(Pt, !0), this.yieldPos = Vt || this.yieldPos, this.awaitPos = Ft || this.awaitPos, this.awaitIdentPos = Ct || this.awaitIdentPos;
4933
4933
  var Qt = this.startNodeAt(r, n);
4934
- Qt.callee = i, Qt.arguments = Be, U && (Qt.optional = j), i = this.finishNode(Qt, "CallExpression");
4934
+ Qt.callee = i, Qt.arguments = je, U && (Qt.optional = B), i = this.finishNode(Qt, "CallExpression");
4935
4935
  }
4936
4936
  this.maybeInArrowParameters = it;
4937
4937
  } else if (this.type === h.backQuote) {
4938
- (j || b) && this.raise(this.start, "Optional chaining cannot appear in the tag of tagged template expressions");
4938
+ (B || b) && this.raise(this.start, "Optional chaining cannot appear in the tag of tagged template expressions");
4939
4939
  var de = this.startNodeAt(r, n);
4940
4940
  de.tag = i, de.quasi = this.parseTemplate({ isTagged: !0 }), i = this.finishNode(de, "TaggedTemplateExpression");
4941
4941
  }
@@ -4970,7 +4970,7 @@ function rr(t) {
4970
4970
  for (this.expect(h.braceL); this.type !== h.braceR; ) if (this.match(I.at)) x.push(this.parseDecorator());
4971
4971
  else {
4972
4972
  var b = this.parseClassElement(i.superClass !== null);
4973
- x.length && (b.decorators = x, this.resetStartLocationFromNode(b, x[0]), x = []), b && (m.body.push(b), b.type === "MethodDefinition" && b.kind === "constructor" && b.value.type === "FunctionExpression" ? (y && this.raiseRecoverable(b.start, "Duplicate constructor in the same class"), y = !0, b.decorators && b.decorators.length > 0 && this.raise(b.start, "Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?")) : b.key && b.key.type === "PrivateIdentifier" && Js(f, b) && this.raiseRecoverable(b.key.start, "Identifier '#" + b.key.name + "' has already been declared"));
4973
+ x.length && (b.decorators = x, this.resetStartLocationFromNode(b, x[0]), x = []), b && (m.body.push(b), b.type === "MethodDefinition" && b.kind === "constructor" && b.value.type === "FunctionExpression" ? (y && this.raiseRecoverable(b.start, "Duplicate constructor in the same class"), y = !0, b.decorators && b.decorators.length > 0 && this.raise(b.start, "Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?")) : b.key && b.key.type === "PrivateIdentifier" && Ys(f, b) && this.raiseRecoverable(b.key.start, "Identifier '#" + b.key.name + "' has already been declared"));
4974
4974
  }
4975
4975
  return this.strict = c, this.next(), x.length && this.raise(this.start, "Decorators must be attached to a class element."), i.body = this.finishNode(m, "ClassBody"), this.exitClassBody(), this.finishNode(i, r ? "ClassDeclaration" : "ClassExpression");
4976
4976
  } finally {
@@ -4986,12 +4986,12 @@ function rr(t) {
4986
4986
  this.raise(f.start, A.AbstractMethodHasImplementation({ methodName: T.type !== "Identifier" || f.computed ? "[" + this.input.slice(T.start, T.end) + "]" : T.name }));
4987
4987
  }
4988
4988
  return this.finishNode(m, "FunctionExpression");
4989
- }, Z.parse = function(i, r) {
4989
+ }, tt.parse = function(i, r) {
4990
4990
  if (r.locations === !1) throw new Error("You have to enable options.locations while using acorn-typescript");
4991
4991
  r.locations = !0;
4992
4992
  var n = new this(r, i);
4993
4993
  return a && (n.isAmbientContext = !0), n.parse();
4994
- }, Z.parseExpressionAt = function(i, r, n) {
4994
+ }, tt.parseExpressionAt = function(i, r, n) {
4995
4995
  if (n.locations === !1) throw new Error("You have to enable options.locations while using acorn-typescript");
4996
4996
  n.locations = !0;
4997
4997
  var c = new this(n, i, r);
@@ -5031,10 +5031,10 @@ function rr(t) {
5031
5031
  var r = this.type;
5032
5032
  if (r == h.braceL) {
5033
5033
  var n = this.curContext();
5034
- n == Y.tc_oTag ? this.context.push(lt.b_expr) : n == Y.tc_expr ? this.context.push(lt.b_tmpl) : S.prototype.updateContext.call(this, i), this.exprAllowed = !0;
5034
+ n == Z.tc_oTag ? this.context.push(lt.b_expr) : n == Z.tc_expr ? this.context.push(lt.b_tmpl) : S.prototype.updateContext.call(this, i), this.exprAllowed = !0;
5035
5035
  } else {
5036
5036
  if (r !== h.slash || i !== I.jsxTagStart) return S.prototype.updateContext.call(this, i);
5037
- this.context.length -= 2, this.context.push(Y.tc_cTag), this.exprAllowed = !1;
5037
+ this.context.length -= 2, this.context.push(Z.tc_cTag), this.exprAllowed = !1;
5038
5038
  }
5039
5039
  }, p.jsx_parseOpeningElementAt = function(i, r) {
5040
5040
  var n = this, c = this.startNodeAt(i, r), f = this.jsx_parseElementName();
@@ -5047,11 +5047,11 @@ function rr(t) {
5047
5047
  for (c.attributes = []; this.type !== h.slash && this.type !== I.jsxTagEnd; ) c.attributes.push(this.jsx_parseAttribute());
5048
5048
  return c.selfClosing = this.eat(h.slash), this.expect(I.jsxTagEnd), this.finishNode(c, f ? "JSXOpeningElement" : "JSXOpeningFragment");
5049
5049
  }, p.enterScope = function(i) {
5050
- i === Bt && this.importsStack.push([]), S.prototype.enterScope.call(this, i);
5050
+ i === jt && this.importsStack.push([]), S.prototype.enterScope.call(this, i);
5051
5051
  var r = S.prototype.currentScope.call(this);
5052
5052
  r.types = [], r.enums = [], r.constEnums = [], r.classes = [], r.exportOnlyBindings = [];
5053
5053
  }, p.exitScope = function() {
5054
- S.prototype.currentScope.call(this).flags === Bt && this.importsStack.pop(), S.prototype.exitScope.call(this);
5054
+ S.prototype.currentScope.call(this).flags === jt && this.importsStack.pop(), S.prototype.exitScope.call(this);
5055
5055
  }, p.hasImport = function(i, r) {
5056
5056
  var n = this.importsStack.length;
5057
5057
  if (this.importsStack[n - 1].indexOf(i) > -1) return !0;
@@ -5079,17 +5079,28 @@ function rr(t) {
5079
5079
  }
5080
5080
  S.prototype.checkLocalExport.call(this, i);
5081
5081
  }
5082
- }, z = Z, D = [{ key: "acornTypeScript", get: function() {
5082
+ }, z = tt, D = [{ key: "acornTypeScript", get: function() {
5083
5083
  return g;
5084
5084
  } }], ($ = [{ key: "acornTypeScript", get: function() {
5085
5085
  return g;
5086
- } }]) && Xe(z.prototype, $), D && Xe(z, D), Object.defineProperty(z, "prototype", { writable: !1 }), Z;
5086
+ } }]) && Xe(z.prototype, $), D && Xe(z, D), Object.defineProperty(z, "prototype", { writable: !1 }), tt;
5087
5087
  })(d);
5088
- return zi;
5088
+ return Xi;
5089
5089
  };
5090
5090
  }
5091
- const ar = is(ss);
5092
- async function nr(t) {
5091
+ const nr = [
5092
+ { idPrefix: "datapos-app-nuxt", typeId: "app", isPublish: !1, uploadGroupName: void 0 },
5093
+ { idPrefix: "datapos-api", typeId: "api", isPublish: !1, uploadGroupName: void 0 },
5094
+ { idPrefix: "datapos-connector", typeId: "connector", isPublish: !0, uploadGroupName: "connectors" },
5095
+ { idPrefix: "datapos-context", typeId: "context", isPublish: !0, uploadGroupName: "contexts" },
5096
+ { idPrefix: "datapos-development", typeId: "development", isPublish: !0, uploadGroupName: void 0 },
5097
+ { idPrefix: "datapos-engine", typeId: "engine", isPublish: !1, uploadGroupName: "engine" },
5098
+ { idPrefix: "datapos-presenter", typeId: "presenter", isPublish: !0, uploadGroupName: "presenters" },
5099
+ { idPrefix: "datapos-resources", typeId: "resources", isPublish: !1, uploadGroupName: void 0 },
5100
+ { idPrefix: "datapos-shared", typeId: "shared", isPublish: !0, uploadGroupName: void 0 },
5101
+ { idPrefix: "datapos-tool", typeId: "tool", isPublish: !0, uploadGroupName: "tools" }
5102
+ ], or = ss(rs);
5103
+ async function hr(t) {
5093
5104
  let e;
5094
5105
  try {
5095
5106
  e = await at.readdir(t, { withFileTypes: !0 });
@@ -5109,7 +5120,7 @@ async function nr(t) {
5109
5120
  );
5110
5121
  }
5111
5122
  function De(t) {
5112
- const s = H.extend(rr()).parse(t, {
5123
+ const s = H.extend(ar()).parse(t, {
5113
5124
  ecmaVersion: "latest",
5114
5125
  sourceType: "module",
5115
5126
  locations: !0
@@ -5119,18 +5130,23 @@ function De(t) {
5119
5130
  const l = o, d = l.key;
5120
5131
  if (d.type !== "Identifier") return;
5121
5132
  const v = d.name;
5122
- console.log(1111, v, l), v && v !== "constructor" && l.accessibility !== "private" && a.push(v);
5133
+ v && v !== "constructor" && l.accessibility !== "private" && a.push(v);
5123
5134
  }), a;
5124
5135
  }
5125
5136
  async function ct(t, e, s = [], a) {
5126
5137
  const o = `${e} ${s.join(" ")}`;
5127
5138
  t !== void 0 && K(`${t} - exec(${o})`);
5128
- const { stdout: l, stderr: d } = await ar(o);
5139
+ const { stdout: l, stderr: d } = await or(o);
5129
5140
  a === void 0 ? l.trim() && console.log(l.trim()) : await at.writeFile(a, l.trim(), "utf8"), d.trim() && console.error(d.trim());
5130
5141
  }
5131
- async function or(t, e) {
5142
+ async function ur(t, e) {
5132
5143
  return at.readdir(t, e);
5133
5144
  }
5145
+ function Ui(t) {
5146
+ const e = nr.find((s) => t.startsWith(s.idPrefix));
5147
+ if (!e) throw new Error(`Failed to locate module type configuration for identifier '${t}'.`);
5148
+ return e;
5149
+ }
5134
5150
  async function Ve() {
5135
5151
  }
5136
5152
  function xt(t) {
@@ -5148,13 +5164,13 @@ function K(t) {
5148
5164
  ${t}
5149
5165
  `);
5150
5166
  }
5151
- async function et(t) {
5167
+ async function Q(t) {
5152
5168
  return JSON.parse(await at.readFile(t, "utf8"));
5153
5169
  }
5154
5170
  async function At(t) {
5155
5171
  return await at.readFile(t, "utf8");
5156
5172
  }
5157
- async function hr(t) {
5173
+ async function cr(t) {
5158
5174
  try {
5159
5175
  await at.unlink(t);
5160
5176
  } catch (e) {
@@ -5163,12 +5179,12 @@ async function hr(t) {
5163
5179
  }
5164
5180
  async function dt(t, e, s = [], a = !1) {
5165
5181
  return K(`${t} - spawn(${e} ${s.join(" ")})`), new Promise((o, l) => {
5166
- rs(e, s, { stdio: "inherit" }).on("close", (v) => {
5182
+ as(e, s, { stdio: "inherit" }).on("close", (v) => {
5167
5183
  v === 0 || a ? o() : l(new Error(`${e} exited with code ${v}`));
5168
5184
  });
5169
5185
  });
5170
5186
  }
5171
- function Ui(t, e, s, a) {
5187
+ function qi(t, e, s, a) {
5172
5188
  const o = t.indexOf(s), l = t.indexOf(a);
5173
5189
  if (o === -1 || l === -1) throw new Error(`Markers ${s}-${a} not found in content.`);
5174
5190
  return `${t.slice(0, Math.max(0, o + s.length))}
@@ -5194,8 +5210,8 @@ function Ae(t, e) {
5194
5210
  else o && typeof o == "object" && typeof o.type == "string" && Ae(o, e);
5195
5211
  }
5196
5212
  }
5197
- async function ur() {
5198
- const t = await et("config.json"), e = {
5213
+ async function pr() {
5214
+ const t = await Q("config.json"), e = {
5199
5215
  body: JSON.stringify(t),
5200
5216
  headers: { "Content-Type": "application/json" },
5201
5217
  method: "PUT"
@@ -5213,58 +5229,45 @@ async function ii(t) {
5213
5229
  async function si(t, e) {
5214
5230
  const s = `v${t.version}`;
5215
5231
  async function a(o, l = "") {
5216
- const d = await or(o, { withFileTypes: !0 });
5232
+ const d = await ur(o, { withFileTypes: !0 });
5217
5233
  for (const v of d) {
5218
5234
  const g = `${o}/${v.name}`, h = l ? `${l}/${v.name}` : v.name;
5219
5235
  if (v.isDirectory()) continue;
5220
- const P = `${e}_${s}/${h}`.replaceAll("\\", "/"), N = v.name.endsWith(".css") ? "text/css" : "application/octet-stream", B = v.name.endsWith(".js") ? "application/javascript" : N;
5221
- console.info(`⚙️ Uploading '${h}' → '${P}'...`), await ct(void 0, `wrangler r2 object put "${P}" --file="${g}" --content-type ${B} --jurisdiction=eu --remote`);
5236
+ const P = `${e}_${s}/${h}`.replaceAll("\\", "/"), N = v.name.endsWith(".css") ? "text/css" : "application/octet-stream", j = v.name.endsWith(".js") ? "application/javascript" : N;
5237
+ console.info(`⚙️ Uploading '${h}' → '${P}'...`), await ct(void 0, `wrangler r2 object put "${P}" --file="${g}" --content-type ${j} --jurisdiction=eu --remote`);
5222
5238
  }
5223
5239
  }
5224
5240
  await a("dist");
5225
5241
  }
5226
- const cr = [
5227
- { idPrefix: "datapos-app-nuxt", typeId: "app", publish: !1, uploadGroupName: void 0 },
5228
- { idPrefix: "datapos-api", typeId: "api", publish: !1, uploadGroupName: void 0 },
5229
- { idPrefix: "datapos-connector", typeId: "connector", publish: !0, uploadGroupName: "connectors" },
5230
- { idPrefix: "datapos-context", typeId: "context", publish: !0, uploadGroupName: "contexts" },
5231
- { idPrefix: "datapos-development", typeId: "development", publish: !0, uploadGroupName: void 0 },
5232
- { idPrefix: "datapos-engine", typeId: "engine", publish: !1, uploadGroupName: "engine" },
5233
- { idPrefix: "datapos-presenter", typeId: "presenter", publish: !0, uploadGroupName: "presenters" },
5234
- { idPrefix: "datapos-resources", typeId: "resources", publish: !1, uploadGroupName: void 0 },
5235
- { idPrefix: "datapos-shared", typeId: "shared", publish: !0, uploadGroupName: void 0 },
5236
- { idPrefix: "datapos-tool", typeId: "tool", publish: !0, uploadGroupName: "tools" }
5237
- ];
5238
- async function Rr() {
5242
+ async function Mr() {
5239
5243
  try {
5240
5244
  xt("Build Project"), await dt("1️⃣ Bundle project", "vite", ["build"]), St("Project built.");
5241
5245
  } catch (t) {
5242
5246
  console.error("❌ Error building project.", t), process.exit(1);
5243
5247
  }
5244
5248
  }
5245
- async function Mr() {
5249
+ async function Dr() {
5246
5250
  try {
5247
5251
  xt("Release Project"), await Ve();
5248
- const t = await et("package.json");
5249
- let e = await et("config.json");
5250
- await qi("1️⃣", t);
5251
- const s = cr.find((a) => e.id.startsWith(a.idPrefix));
5252
- if (!s) throw new Error(`Failed to locate module type configuration for identifier '${e.id}'.`);
5252
+ const t = await Q("package.json");
5253
+ let e = await Q("config.json");
5254
+ await Hi("1️⃣", t);
5255
+ const s = Ui(e.id);
5253
5256
  switch (s.typeId) {
5254
5257
  case "connector":
5255
- e = await lr("2️⃣", t);
5258
+ e = await fr("2️⃣", t);
5256
5259
  break;
5257
5260
  case "context":
5258
- e = await fr("2️⃣", t);
5261
+ e = await dr("2️⃣", t);
5259
5262
  break;
5260
5263
  case "presenter":
5261
- e = await dr("2️⃣", t);
5264
+ e = await mr("2️⃣", t);
5262
5265
  break;
5263
5266
  default:
5264
- e = await pr("2️⃣", t);
5267
+ e = await lr("2️⃣", t);
5265
5268
  }
5266
5269
  if (await dt("3️⃣ Bundle project", "vite", ["build"]), await ct("4️⃣ Stage changes", "git", ["add", "."]), await ct("5️⃣ Commit changes", "git", ["commit", "-m", `"v${t.version}"`]), await ct("6️⃣ Push changes", "git", ["push", "origin", "main:main"]), s.typeId === "app")
5267
- K("7️⃣ Register module"), await ur();
5270
+ K("7️⃣ Register module"), await pr();
5268
5271
  else if (s.typeId === "engine")
5269
5272
  K("7️⃣ Register module"), await si(t, `datapos-engine-eu/${s.uploadGroupName}`), await ii(e);
5270
5273
  else if (s.uploadGroupName === void 0)
@@ -5274,13 +5277,13 @@ async function Mr() {
5274
5277
  const a = e.id.split("-").slice(2).join("-");
5275
5278
  await si(t, `datapos-engine-eu/${s.uploadGroupName}/${a}`), await ii(e);
5276
5279
  }
5277
- if (s.publish) {
5280
+ if (s.isPublish) {
5278
5281
  const a = ".npmrc";
5279
5282
  try {
5280
5283
  await $t(a, `registry=https://registry.npmjs.org/
5281
5284
  //registry.npmjs.org/:_authToken=${process.env.NPM_TOKEN ?? ""}`), await dt("8️⃣ Publish to npm", "npm", ["publish", "--access", "public"]);
5282
5285
  } finally {
5283
- await hr(a);
5286
+ await cr(a);
5284
5287
  }
5285
5288
  } else
5286
5289
  K(`8️⃣ Publishing NOT required for package with type identifier of '${s.typeId}'.`);
@@ -5289,16 +5292,16 @@ async function Mr() {
5289
5292
  console.error("❌ Error releasing project.", t), process.exit(1);
5290
5293
  }
5291
5294
  }
5292
- async function Dr() {
5295
+ async function Vr() {
5293
5296
  try {
5294
5297
  xt("Synchronise Project with GitHub");
5295
- const t = await et("package.json");
5296
- K("Bump project version"), await qi("1️⃣", t), await ct("2️⃣ Stage changes", "git", ["add", "."]), await ct("3️⃣ Commit changes", "git", ["commit", "-m", `"v${t.version}"`]), await ct("4️⃣ Push changes", "git", ["push", "origin", "main:main"]), St(`Project version '${t.version}' synchronised with GitHub.`);
5298
+ const t = await Q("package.json");
5299
+ K("Bump project version"), await Hi("1️⃣", t), await ct("2️⃣ Stage changes", "git", ["add", "."]), await ct("3️⃣ Commit changes", "git", ["commit", "-m", `"v${t.version}"`]), await ct("4️⃣ Push changes", "git", ["push", "origin", "main:main"]), St(`Project version '${t.version}' synchronised with GitHub.`);
5297
5300
  } catch (t) {
5298
5301
  console.error("❌ Error synchronising project with GitHub.", t), process.exit(1);
5299
5302
  }
5300
5303
  }
5301
- function Vr() {
5304
+ function Fr() {
5302
5305
  try {
5303
5306
  xt("Test Project"), console.error(`
5304
5307
  ❌ No tests implemented.
@@ -5307,39 +5310,39 @@ function Vr() {
5307
5310
  console.error("❌ Error testing project.", t), process.exit(1);
5308
5311
  }
5309
5312
  }
5310
- async function pr(t, e) {
5313
+ async function lr(t, e) {
5311
5314
  K(`${t} Build project configuration`);
5312
- const s = await et("config.json");
5315
+ const s = await Q("config.json");
5313
5316
  return e.name != null && (s.id = e.name.replace("@datapos/", "").replace("@data-positioning/", "")), e.version != null && (s.version = e.version), await oe("config.json", s), s;
5314
5317
  }
5315
- async function lr(t, e) {
5318
+ async function fr(t, e) {
5316
5319
  K(`${t} Build connector project configuration`);
5317
- const [s, a] = await Promise.all([et("config.json"), At("src/index.ts")]), o = /* @__PURE__ */ Ee(Yi, s);
5320
+ const [s, a] = await Promise.all([Q("config.json"), At("src/index.ts")]), o = /* @__PURE__ */ Ee(Zi, s);
5318
5321
  if (!o.success)
5319
5322
  throw console.error("❌ Configuration is invalid:"), console.table(o.issues), new Error("Configuration is invalid.");
5320
- const l = De(a), d = mr(l);
5323
+ const l = De(a), d = yr(l);
5321
5324
  return await Fe(e, s, l, d);
5322
5325
  }
5323
5326
  async function Fe(t, e, s, a) {
5324
5327
  return s.length > 0 ? (console.info(`ℹ️ Implements ${s.length} operations:`), console.table(s)) : console.warn("⚠️ Implements no operations."), a === "unknown" ? console.warn("⚠️ No usage identified.") : console.info(`ℹ️ Supports '${a}' usage.`), t.name != null && (e.id = t.name.replace("@datapos/", "").replace("@data-positioning/", "")), t.version != null && (e.version = t.version), e.operations = s, e.usageId = a, await oe("config.json", e), e;
5325
5328
  }
5326
- async function fr(t, e) {
5329
+ async function dr(t, e) {
5327
5330
  K(`${t} Build context project configuration`);
5328
- const [s, a] = await Promise.all([et("config.json"), At("src/index.ts")]), o = /* @__PURE__ */ Ee(Ji, s);
5331
+ const [s, a] = await Promise.all([Q("config.json"), At("src/index.ts")]), o = /* @__PURE__ */ Ee(Yi, s);
5329
5332
  if (!o.success)
5330
5333
  throw console.error("❌ Configuration is invalid:"), console.table(o.issues), new Error("Configuration is invalid.");
5331
5334
  const l = De(a);
5332
5335
  return await Fe(e, s, l);
5333
5336
  }
5334
- async function dr(t, e) {
5337
+ async function mr(t, e) {
5335
5338
  K(`${t} Build presenter project configuration`);
5336
- const [s, a] = await Promise.all([et("config.json"), At("src/index.ts")]), o = /* @__PURE__ */ Ee(es, s);
5339
+ const [s, a] = await Promise.all([Q("config.json"), At("src/index.ts")]), o = /* @__PURE__ */ Ee(is, s);
5337
5340
  if (!o.success)
5338
5341
  throw console.error("❌ Configuration is invalid:"), console.table(o.issues), new Error("Configuration is invalid.");
5339
5342
  const l = De(a);
5340
5343
  return await Fe(e, s, l);
5341
5344
  }
5342
- async function qi(t, e, s = "./") {
5345
+ async function Hi(t, e, s = "./") {
5343
5346
  if (K(`${t} Bump project version`), e.version == null)
5344
5347
  e.version = "0.0.001", console.warn(`⚠️ Project version initialised to '${e.version}'.`), await oe(`${s}package.json`, e);
5345
5348
  else {
@@ -5347,24 +5350,24 @@ async function qi(t, e, s = "./") {
5347
5350
  e.version = `${o[0]}.${o[1]}.${Number(o[2]) + 1}`, console.info(`Project version bumped from '${a}' to '${e.version}'.`), await oe(`${s}package.json`, e);
5348
5351
  }
5349
5352
  }
5350
- function mr(t) {
5353
+ function yr(t) {
5351
5354
  let e = !1, s = !1;
5352
5355
  for (const a of t)
5353
- Zi.includes(a) && (e = !0), ts.includes(a) && (s = !0);
5356
+ ts.includes(a) && (e = !0), es.includes(a) && (s = !0);
5354
5357
  return e && s ? "bidirectional" : e ? "source" : s ? "destination" : "unknown";
5355
5358
  }
5356
- const yr = {
5359
+ const xr = {
5357
5360
  critical: { color: "D32F2F", label: "critical" },
5358
5361
  high: { color: "EF6C00", label: "high" },
5359
5362
  moderate: { color: "FBC02D", label: "moderate" },
5360
5363
  low: { color: "6D8C31", label: "low" },
5361
5364
  unknown: { color: "616161", label: "unknown" }
5362
5365
  // See sample badges in ~/tests/sampleBadges.md. Also included 'info' colouring.
5363
- }, xr = "<!-- OWASP_BADGES_START -->", vr = "<!-- OWASP_BADGES_END -->";
5364
- async function Fr() {
5366
+ }, vr = "<!-- OWASP_BADGES_START -->", gr = "<!-- OWASP_BADGES_END -->";
5367
+ async function jr() {
5365
5368
  try {
5366
5369
  xt("Audit Dependencies"), await Ve();
5367
- const t = await et("package.json");
5370
+ const t = await Q("package.json");
5368
5371
  await dt("1️⃣", "owasp-dependency-check", [
5369
5372
  "--out",
5370
5373
  "dependency-check-reports",
@@ -5374,30 +5377,30 @@ async function Fr() {
5374
5377
  "--nodePackageSkipDevDependencies",
5375
5378
  "--nvdApiKey",
5376
5379
  process.env.OWASP_NVD_API_KEY ?? ""
5377
- ]), await gr("2️⃣"), await dt("3️⃣ Check using 'npm audit'", "npm", ["audit"]), St("Dependencies audited.");
5380
+ ]), await br("2️⃣"), await dt("3️⃣ Check using 'npm audit'", "npm", ["audit"]), St("Dependencies audited.");
5378
5381
  } catch (t) {
5379
5382
  console.error("❌ Error auditing dependencies.", t), process.exit(1);
5380
5383
  }
5381
5384
  }
5382
- async function gr(t) {
5385
+ async function br(t) {
5383
5386
  K(`${t} Insert OWASP Badge(s) into 'README.md'`);
5384
- const e = await et("dependency-check-reports/dependency-check-report.json"), s = { critical: 0, high: 0, moderate: 0, low: 0, unknown: 0 };
5387
+ const e = await Q("dependency-check-reports/dependency-check-report.json"), s = { critical: 0, high: 0, moderate: 0, low: 0, unknown: 0 };
5385
5388
  for (const d of e.dependencies)
5386
5389
  if (d.vulnerabilities != null)
5387
5390
  for (const v of d.vulnerabilities) {
5388
5391
  const g = v.severity?.toLowerCase() ?? "unknown";
5389
5392
  g in s ? s[g]++ : s.unknown++;
5390
5393
  }
5391
- const a = await br(s), o = await At("./README.md"), l = Ui(o, a.join(" "), xr, vr);
5394
+ const a = await Tr(s), o = await At("./README.md"), l = qi(o, a.join(" "), vr, gr);
5392
5395
  await $t("README.md", l), console.info("OWASP audit badge(s) inserted into 'README.md'");
5393
5396
  }
5394
- async function br(t) {
5395
- const e = await et("config.json"), s = [];
5397
+ async function Tr(t) {
5398
+ const e = await Q("config.json"), s = [];
5396
5399
  if (Object.values(t).reduce((o, l) => o + l, 0) === 0)
5397
5400
  console.info("No vulnerabilities found."), s.push(`[![OWASP](https://img.shields.io/badge/OWASP-passed-4CAF50)](https://data-positioning.github.io/${e.id}/dependency-check-reports/dependency-check-report.html)`);
5398
5401
  else
5399
5402
  for (const [o, l] of Object.entries(t)) {
5400
- const d = yr[o];
5403
+ const d = xr[o];
5401
5404
  if (console.warn(`⚠️ ${l} ${d.label} vulnerability(ies) found.`), l === 0) continue;
5402
5405
  const v = `https://img.shields.io/badge/OWASP-${l}%20${d.label}-${d.color}`;
5403
5406
  s.push(`[![OWASP](${v})](https://data-positioning.github.io/${e.id}/dependency-check-reports/dependency-check-report.html)`);
@@ -5411,11 +5414,11 @@ async function Br() {
5411
5414
  console.error("❌ Error checking dependencies.", t), process.exit(1);
5412
5415
  }
5413
5416
  }
5414
- const Tr = "<!-- DEPENDENCY_LICENSES_START -->", Sr = "<!-- DEPENDENCY_LICENSES_END -->";
5415
- async function jr(t = [], e = !0) {
5417
+ const Sr = "<!-- DEPENDENCY_LICENSES_START -->", Pr = "<!-- DEPENDENCY_LICENSES_END -->";
5418
+ async function Ur(t = [], e = !0) {
5416
5419
  try {
5417
5420
  xt("Document Dependencies"), await Ve();
5418
- const s = t.flatMap((o) => ["--allowed", `'${o}'`]), a = ri(new as(import.meta.resolve("@datapos/datapos-development/license-report-config")));
5421
+ const s = t.flatMap((o) => ["--allowed", `'${o}'`]), a = ri(new ns(import.meta.resolve("@datapos/datapos-development/license-report-config")));
5419
5422
  await ct(
5420
5423
  "1️⃣ Generate 'licenses.json' file",
5421
5424
  "license-report",
@@ -5426,7 +5429,7 @@ async function jr(t = [], e = !0) {
5426
5429
  "license-report-recursive",
5427
5430
  ["--only=prod,peer", "--output=tree", "--recurse", "--department.value=n/a", "--licensePeriod.value=n/a", "--material.value=n/a", "--relatedTo.value=n/a"],
5428
5431
  "licenses/licenseTree.json"
5429
- ), await ct("4️⃣ Check 'licenseTree.json' file", "license-report-check", ["--source", "licenses/licenseTree.json", "--output=table", ...s])) : (K("3️⃣ Skip 'licenses/licenseTree.json' file generate"), K("4️⃣ Skip 'licenses/licenseTree.json' file check")), await nr("licenses/downloads"), await ct("5️⃣ Download license files", "license-downloader", [
5432
+ ), await ct("4️⃣ Check 'licenseTree.json' file", "license-report-check", ["--source", "licenses/licenseTree.json", "--output=table", ...s])) : (K("3️⃣ Skip 'licenses/licenseTree.json' file generate"), K("4️⃣ Skip 'licenses/licenseTree.json' file check")), await hr("licenses/downloads"), await ct("5️⃣ Download license files", "license-downloader", [
5430
5433
  "--source",
5431
5434
  "licenses/licenses.json",
5432
5435
  "--licDir",
@@ -5434,16 +5437,16 @@ async function jr(t = [], e = !0) {
5434
5437
  "--githubToken.tokenEnvVar",
5435
5438
  "GITHUB_TOKEN",
5436
5439
  "--download"
5437
- ]), await Pr("6️⃣", e), St("Dependencies documented.");
5440
+ ]), await Cr("6️⃣", e), St("Dependencies documented.");
5438
5441
  } catch (s) {
5439
5442
  console.error("❌ Error documenting dependencies.", s), process.exit(1);
5440
5443
  }
5441
5444
  }
5442
- async function Pr(t, e) {
5445
+ async function Cr(t, e) {
5443
5446
  K(`${t} Insert licenses into 'README.md'`);
5444
- const s = await et("licenses/licenses.json"), a = await et("licenses/downloads/licenses.ext.json");
5447
+ const s = await Q("licenses/licenses.json"), a = await Q("licenses/downloads/licenses.ext.json");
5445
5448
  let o = [];
5446
- e && (o = await et("licenses/licenseTree.json"));
5449
+ e && (o = await Q("licenses/licenseTree.json"));
5447
5450
  const l = [
5448
5451
  ...(() => {
5449
5452
  const h = /* @__PURE__ */ new Map();
@@ -5464,15 +5467,15 @@ async function Pr(t, e) {
5464
5467
  |:-|:-|:-:|:-:|:-|-:|:-|
5465
5468
  `;
5466
5469
  for (const h of l) {
5467
- const P = h.installedVersion === h.remoteVersion ? h.installedVersion : `${h.installedVersion} ⚠️`, N = h.latestRemoteModified ? Cr(h.latestRemoteModified.split("T")[0]) : "n/a", B = h.dependencyCount != null && h.dependencyCount >= 0 ? h.dependencyCount : "n/a";
5470
+ const P = h.installedVersion === h.remoteVersion ? h.installedVersion : `${h.installedVersion} ⚠️`, N = h.latestRemoteModified ? kr(h.latestRemoteModified.split("T")[0]) : "n/a", j = h.dependencyCount != null && h.dependencyCount >= 0 ? h.dependencyCount : "n/a";
5468
5471
  let nt;
5469
- h.licenseFileLink == null || h.licenseFileLink == "" ? nt = "⚠️ No license file" : nt = `[${h.licenseFileLink.slice(Math.max(0, h.licenseFileLink.lastIndexOf("/") + 1))}](${h.licenseFileLink})`, d += `|${h.name}|${h.licenseType}|${P}|${h.remoteVersion}|${N}|${B}|${nt}|
5472
+ h.licenseFileLink == null || h.licenseFileLink == "" ? nt = "⚠️ No license file" : nt = `[${h.licenseFileLink.slice(Math.max(0, h.licenseFileLink.lastIndexOf("/") + 1))}](${h.licenseFileLink})`, d += `|${h.name}|${h.licenseType}|${P}|${h.remoteVersion}|${N}|${j}|${nt}|
5470
5473
  `;
5471
5474
  }
5472
- const v = await At("./README.md"), g = Ui(v, d, Tr, Sr);
5475
+ const v = await At("./README.md"), g = qi(v, d, Sr, Pr);
5473
5476
  await $t("README.md", g), console.info("OWASP audit badge(s) inserted into 'README.md'"), await $t("README.md", g);
5474
5477
  }
5475
- function Cr(t) {
5478
+ function kr(t) {
5476
5479
  if (t == null || t === "") return "n/a";
5477
5480
  const e = t.split("T")[0];
5478
5481
  if (e == null || e === "") return "n/a";
@@ -5480,41 +5483,51 @@ function Cr(t) {
5480
5483
  let o = (a.getFullYear() - s.getFullYear()) * 12 + (a.getMonth() - s.getMonth());
5481
5484
  return a.getDate() < s.getDate() && (o -= 1), o === 0 ? `this month: ${e}` : o === 1 ? `1 month ago: ${e}` : o <= 6 ? `${o} months ago: ${e}` : o <= 12 ? `${o} months ago: ${e} ⚠️` : `${o} months ago: ${e}❗`;
5482
5485
  }
5483
- async function Ur() {
5486
+ async function qr() {
5484
5487
  try {
5485
5488
  xt("Format Code");
5486
- const s = ["--write", "*.json", "*.md", "*.ts", ...["app", "src"].filter((a) => Xi(a)).map((a) => `${a}/**`)];
5489
+ const s = ["--write", "*.json", "*.md", "*.ts", ...["app", "src"].filter((a) => Qi(a)).map((a) => `${a}/**`)];
5487
5490
  await dt("1️⃣ Format", "prettier", s), St("Code formatted.");
5488
5491
  } catch (t) {
5489
5492
  console.error("❌ Error formatting code.", t), process.exit(1);
5490
5493
  }
5491
5494
  }
5492
- async function qr() {
5495
+ async function Hr() {
5493
5496
  try {
5494
5497
  xt("Lint Code"), await dt("1️⃣ Lint", "eslint", ["."]), St("Code linted.");
5495
5498
  } catch (t) {
5496
5499
  console.error("❌ Error linting code.", t), process.exit(1);
5497
5500
  }
5498
5501
  }
5499
- const kr = ["1️⃣", "2️⃣", "3️⃣", "4️⃣", "5️⃣", "6️⃣", "7️⃣", "8️⃣", "9️⃣"];
5500
- async function Hr(t = []) {
5502
+ const wr = ["1️⃣", "2️⃣", "3️⃣", "4️⃣", "5️⃣", "6️⃣", "7️⃣", "8️⃣", "9️⃣"];
5503
+ async function $r(t = []) {
5501
5504
  try {
5502
5505
  xt("Update '@datapos/datapos' Dependencies");
5503
5506
  for (const [e, s] of t.entries()) {
5504
- const a = kr.at(e) ?? "🔢";
5505
- await dt(`${a} Update '${s}'`, "npm", ["install", `@datapos/datapos-${s}@latest`]), s === "development" && await wr();
5507
+ const a = wr.at(e) ?? "🔢";
5508
+ if (s === "eslint")
5509
+ await dt(`${a} Update '${s}'`, "npm", ["install", "@datapos/eslint-config-datapos@latest"]);
5510
+ else if (await dt(`${a} Update '${s}'`, "npm", ["install", `@datapos/datapos-${s}@latest`]), s === "development") {
5511
+ const o = await Q("config.json"), l = Ui(o.id);
5512
+ await Ar(l);
5513
+ }
5506
5514
  }
5507
5515
  St("'@datapos/datapos' dependencies updated.");
5508
5516
  } catch (e) {
5509
5517
  console.error("❌ Error updating '@datapos/datapos' dependencies.", e), process.exit(1);
5510
5518
  }
5511
5519
  }
5512
- async function wr(t) {
5520
+ async function Ar(t) {
5521
+ console.log(1111, t);
5513
5522
  const e = te.dirname(ri(import.meta.url));
5514
- await Zt(e, "../", ".editorconfig"), await Zt(e, "../", ".gitattributes"), await Zt(e, "../", ".markdownlint.json"), await Zt(e, "../", "LICENSE");
5523
+ await Zt(e, "../", ".editorconfig"), await Zt(e, "../", ".gitattributes"), await Zt(e, "../", ".markdownlint.json"), await Zt(e, "../", "LICENSE"), t.isPublish;
5515
5524
  }
5516
5525
  async function Zt(t, e, s) {
5517
- const a = te.resolve(t, `${e}${s}`), o = await At(a), l = te.resolve(process.cwd(), s);
5526
+ console.log(2222, t, e, s);
5527
+ const a = te.resolve(t, `${e}${s}`);
5528
+ console.log(3333, a);
5529
+ const o = await At(a), l = te.resolve(process.cwd(), s);
5530
+ console.log(4444, l);
5518
5531
  let d;
5519
5532
  try {
5520
5533
  d = await At(l);
@@ -5527,7 +5540,7 @@ async function Zt(t, e, s) {
5527
5540
  }
5528
5541
  await $t(l, o), console.info(`ℹ️ File '${s}' synchronised.`);
5529
5542
  }
5530
- async function $r(t) {
5543
+ async function Gr(t) {
5531
5544
  try {
5532
5545
  console.info(`🚀 Building public directory index for identifier '${t}'...`);
5533
5546
  const e = {};
@@ -5540,10 +5553,10 @@ async function $r(t) {
5540
5553
  try {
5541
5554
  const P = await at.stat(h);
5542
5555
  if (P.isDirectory()) {
5543
- const N = await at.readdir(h), B = { childCount: N.length, name: g, typeId: "folder" };
5544
- d.push(B), await s(h, N);
5556
+ const N = await at.readdir(h), j = { childCount: N.length, name: g, typeId: "folder" };
5557
+ d.push(j), await s(h, N);
5545
5558
  } else {
5546
- const N = { id: Qi(), lastModifiedAt: P.mtimeMs, name: g, size: P.size, typeId: "object" };
5559
+ const N = { id: Ji(), lastModifiedAt: P.mtimeMs, name: g, size: P.size, typeId: "object" };
5547
5560
  d.push(N);
5548
5561
  }
5549
5562
  } catch (P) {
@@ -5562,16 +5575,16 @@ async function $r(t) {
5562
5575
  }
5563
5576
  }
5564
5577
  export {
5565
- Fr as auditDependencies,
5566
- $r as buildDirectoryIndex,
5567
- Rr as buildProject,
5578
+ jr as auditDependencies,
5579
+ Gr as buildDirectoryIndex,
5580
+ Mr as buildProject,
5568
5581
  Br as checkDependencies,
5569
- jr as documentDependencies,
5570
- Ur as formatCode,
5571
- qr as lintCode,
5572
- Mr as releaseProject,
5573
- Dr as syncProjectWithGitHub,
5574
- Vr as testProject,
5575
- Hr as updateDataPosDependencies
5582
+ Ur as documentDependencies,
5583
+ qr as formatCode,
5584
+ Hr as lintCode,
5585
+ Dr as releaseProject,
5586
+ Vr as syncProjectWithGitHub,
5587
+ Fr as testProject,
5588
+ $r as updateDataPosDependencies
5576
5589
  };
5577
5590
  //# sourceMappingURL=datapos-development.es.js.map