@datapos/datapos-development 0.3.166 → 0.3.168

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,18 +1,18 @@
1
- import { exec as Ei } from "node:child_process";
2
- import { promises as M } from "node:fs";
3
- import { nanoid as Ii } from "nanoid";
4
- import { promisify as _i } from "node:util";
5
- var Ni = [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], je = [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], Li = "‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・", Ue = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", oe = {
1
+ import { exec as _i } from "node:child_process";
2
+ import { promises as R } from "node:fs";
3
+ import { nanoid as Ni } from "nanoid";
4
+ import { promisify as Li } from "node:util";
5
+ var Oi = [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], qe = [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], Ri = "‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・", He = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", oe = {
6
6
  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",
7
7
  5: "class enum extends super const export import",
8
8
  6: "enum",
9
9
  strict: "implements interface let package private protected public static yield",
10
10
  strictBind: "eval arguments"
11
- }, he = "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", Oi = {
11
+ }, he = "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", Mi = {
12
12
  5: he,
13
13
  "5module": he + " export import",
14
14
  6: he + " const class extends export import super"
15
- }, Ri = /^in(stanceof)?$/, Mi = new RegExp("[" + Ue + "]"), Di = new RegExp("[" + Ue + Li + "]");
15
+ }, Di = /^in(stanceof)?$/, Vi = new RegExp("[" + He + "]"), Fi = new RegExp("[" + He + Ri + "]");
16
16
  function le(t, e) {
17
17
  for (var r = 65536, a = 0; a < e.length; a += 2) {
18
18
  if (r += e[a], r > t)
@@ -23,10 +23,10 @@ function le(t, e) {
23
23
  return !1;
24
24
  }
25
25
  function pt(t, e) {
26
- return t < 65 ? t === 36 : t < 91 ? !0 : t < 97 ? t === 95 : t < 123 ? !0 : t <= 65535 ? t >= 170 && Mi.test(String.fromCharCode(t)) : e === !1 ? !1 : le(t, je);
26
+ return t < 65 ? t === 36 : t < 91 ? !0 : t < 97 ? t === 95 : t < 123 ? !0 : t <= 65535 ? t >= 170 && Vi.test(String.fromCharCode(t)) : e === !1 ? !1 : le(t, qe);
27
27
  }
28
28
  function dt(t, e) {
29
- 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 && Di.test(String.fromCharCode(t)) : e === !1 ? !1 : le(t, je) || le(t, Ni);
29
+ 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 && Fi.test(String.fromCharCode(t)) : e === !1 ? !1 : le(t, qe) || le(t, Oi);
30
30
  }
31
31
  var O = function(e, r) {
32
32
  r === void 0 && (r = {}), this.label = e, this.keyword = r.keyword, this.beforeExpr = !!r.beforeExpr, this.startsExpr = !!r.startsExpr, this.isLoop = !!r.isLoop, this.isAssign = !!r.isAssign, this.prefix = !!r.prefix, this.postfix = !!r.postfix, this.binop = r.binop || null, this.updateContext = null;
@@ -34,16 +34,16 @@ var O = function(e, r) {
34
34
  function ot(t, e) {
35
35
  return new O(t, { beforeExpr: !0, binop: e });
36
36
  }
37
- var ht = { beforeExpr: !0 }, st = { startsExpr: !0 }, kt = {};
38
- function V(t, e) {
37
+ var ht = { beforeExpr: !0 }, it = { startsExpr: !0 }, kt = {};
38
+ function D(t, e) {
39
39
  return e === void 0 && (e = {}), e.keyword = t, kt[t] = new O(t, e);
40
40
  }
41
41
  var h = {
42
- num: new O("num", st),
43
- regexp: new O("regexp", st),
44
- string: new O("string", st),
45
- name: new O("name", st),
46
- privateId: new O("privateId", st),
42
+ num: new O("num", it),
43
+ regexp: new O("regexp", it),
44
+ string: new O("string", it),
45
+ name: new O("name", it),
46
+ privateId: new O("privateId", it),
47
47
  eof: new O("eof"),
48
48
  // Punctuation token types.
49
49
  bracketL: new O("[", { beforeExpr: !0, startsExpr: !0 }),
@@ -62,7 +62,7 @@ var h = {
62
62
  template: new O("template"),
63
63
  invalidTemplate: new O("invalidTemplate"),
64
64
  ellipsis: new O("...", ht),
65
- backQuote: new O("`", st),
65
+ backQuote: new O("`", it),
66
66
  dollarBraceL: new O("${", { beforeExpr: !0, startsExpr: !0 }),
67
67
  // Operators. These carry several kinds of properties to help the
68
68
  // parser use them properly (the presence of these properties is
@@ -96,46 +96,46 @@ var h = {
96
96
  starstar: new O("**", { beforeExpr: !0 }),
97
97
  coalesce: ot("??", 1),
98
98
  // Keyword token types.
99
- _break: V("break"),
100
- _case: V("case", ht),
101
- _catch: V("catch"),
102
- _continue: V("continue"),
103
- _debugger: V("debugger"),
104
- _default: V("default", ht),
105
- _do: V("do", { isLoop: !0, beforeExpr: !0 }),
106
- _else: V("else", ht),
107
- _finally: V("finally"),
108
- _for: V("for", { isLoop: !0 }),
109
- _function: V("function", st),
110
- _if: V("if"),
111
- _return: V("return", ht),
112
- _switch: V("switch"),
113
- _throw: V("throw", ht),
114
- _try: V("try"),
115
- _var: V("var"),
116
- _const: V("const"),
117
- _while: V("while", { isLoop: !0 }),
118
- _with: V("with"),
119
- _new: V("new", { beforeExpr: !0, startsExpr: !0 }),
120
- _this: V("this", st),
121
- _super: V("super", st),
122
- _class: V("class", st),
123
- _extends: V("extends", ht),
124
- _export: V("export"),
125
- _import: V("import", st),
126
- _null: V("null", st),
127
- _true: V("true", st),
128
- _false: V("false", st),
129
- _in: V("in", { beforeExpr: !0, binop: 7 }),
130
- _instanceof: V("instanceof", { beforeExpr: !0, binop: 7 }),
131
- _typeof: V("typeof", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
132
- _void: V("void", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
133
- _delete: V("delete", { beforeExpr: !0, prefix: !0, startsExpr: !0 })
134
- }, Z = /\r\n?|\n|\u2028|\u2029/, qe = new RegExp(Z.source, "g");
99
+ _break: D("break"),
100
+ _case: D("case", ht),
101
+ _catch: D("catch"),
102
+ _continue: D("continue"),
103
+ _debugger: D("debugger"),
104
+ _default: D("default", ht),
105
+ _do: D("do", { isLoop: !0, beforeExpr: !0 }),
106
+ _else: D("else", ht),
107
+ _finally: D("finally"),
108
+ _for: D("for", { isLoop: !0 }),
109
+ _function: D("function", it),
110
+ _if: D("if"),
111
+ _return: D("return", ht),
112
+ _switch: D("switch"),
113
+ _throw: D("throw", ht),
114
+ _try: D("try"),
115
+ _var: D("var"),
116
+ _const: D("const"),
117
+ _while: D("while", { isLoop: !0 }),
118
+ _with: D("with"),
119
+ _new: D("new", { beforeExpr: !0, startsExpr: !0 }),
120
+ _this: D("this", it),
121
+ _super: D("super", it),
122
+ _class: D("class", it),
123
+ _extends: D("extends", ht),
124
+ _export: D("export"),
125
+ _import: D("import", it),
126
+ _null: D("null", it),
127
+ _true: D("true", it),
128
+ _false: D("false", it),
129
+ _in: D("in", { beforeExpr: !0, binop: 7 }),
130
+ _instanceof: D("instanceof", { beforeExpr: !0, binop: 7 }),
131
+ _typeof: D("typeof", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
132
+ _void: D("void", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
133
+ _delete: D("delete", { beforeExpr: !0, prefix: !0, startsExpr: !0 })
134
+ }, Y = /\r\n?|\n|\u2028|\u2029/, We = new RegExp(Y.source, "g");
135
135
  function Tt(t) {
136
136
  return t === 10 || t === 13 || t === 8232 || t === 8233;
137
137
  }
138
- function He(t, e, r) {
138
+ function Ke(t, e, r) {
139
139
  r === void 0 && (r = t.length);
140
140
  for (var a = e; a < r; a++) {
141
141
  var u = t.charCodeAt(a);
@@ -144,18 +144,18 @@ function He(t, e, r) {
144
144
  }
145
145
  return -1;
146
146
  }
147
- var ye = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/, $ = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, We = Object.prototype, Vi = We.hasOwnProperty, Fi = We.toString, wt = Object.hasOwn || (function(t, e) {
148
- return Vi.call(t, e);
149
- }), Ee = Array.isArray || (function(t) {
150
- return Fi.call(t) === "[object Array]";
151
- }), Ie = /* @__PURE__ */ Object.create(null);
147
+ var xe = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/, $ = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, ze = Object.prototype, Bi = ze.hasOwnProperty, ji = ze.toString, wt = Object.hasOwn || (function(t, e) {
148
+ return Bi.call(t, e);
149
+ }), Ie = Array.isArray || (function(t) {
150
+ return ji.call(t) === "[object Array]";
151
+ }), _e = /* @__PURE__ */ Object.create(null);
152
152
  function bt(t) {
153
- return Ie[t] || (Ie[t] = new RegExp("^(?:" + t.replace(/ /g, "|") + ")$"));
153
+ return _e[t] || (_e[t] = new RegExp("^(?:" + t.replace(/ /g, "|") + ")$"));
154
154
  }
155
155
  function mt(t) {
156
156
  return t <= 65535 ? String.fromCharCode(t) : (t -= 65536, String.fromCharCode((t >> 10) + 55296, (t & 1023) + 56320));
157
157
  }
158
- var Bi = /(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/, At = function(e, r) {
158
+ var Ui = /(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/, At = function(e, r) {
159
159
  this.line = e, this.column = r;
160
160
  };
161
161
  At.prototype.offset = function(e) {
@@ -164,9 +164,9 @@ At.prototype.offset = function(e) {
164
164
  var Ft = function(e, r, a) {
165
165
  this.start = r, this.end = a, e.sourceFile !== null && (this.source = e.sourceFile);
166
166
  };
167
- function xe(t, e) {
167
+ function ve(t, e) {
168
168
  for (var r = 1, a = 0; ; ) {
169
- var u = He(t, a, e);
169
+ var u = Ke(t, a, e);
170
170
  if (u < 0)
171
171
  return new At(r, e - a);
172
172
  ++r, a = u;
@@ -268,42 +268,42 @@ var zt = {
268
268
  // When enabled, parenthesized expressions are represented by
269
269
  // (non-standard) ParenthesizedExpression nodes
270
270
  preserveParens: !1
271
- }, _e = !1;
272
- function ji(t) {
271
+ }, Ne = !1;
272
+ function qi(t) {
273
273
  var e = {};
274
274
  for (var r in zt)
275
275
  e[r] = t && wt(t, r) ? t[r] : zt[r];
276
- if (e.ecmaVersion === "latest" ? e.ecmaVersion = 1e8 : e.ecmaVersion == null ? (!_e && typeof console == "object" && console.warn && (_e = !0, console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
277
- Defaulting to 2020, but this will stop working in the future.`)), e.ecmaVersion = 11) : e.ecmaVersion >= 2015 && (e.ecmaVersion -= 2009), e.allowReserved == null && (e.allowReserved = e.ecmaVersion < 5), (!t || t.allowHashBang == null) && (e.allowHashBang = e.ecmaVersion >= 14), Ee(e.onToken)) {
276
+ if (e.ecmaVersion === "latest" ? e.ecmaVersion = 1e8 : e.ecmaVersion == null ? (!Ne && typeof console == "object" && console.warn && (Ne = !0, console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
277
+ Defaulting to 2020, but this will stop working in the future.`)), e.ecmaVersion = 11) : e.ecmaVersion >= 2015 && (e.ecmaVersion -= 2009), e.allowReserved == null && (e.allowReserved = e.ecmaVersion < 5), (!t || t.allowHashBang == null) && (e.allowHashBang = e.ecmaVersion >= 14), Ie(e.onToken)) {
278
278
  var a = e.onToken;
279
279
  e.onToken = function(u) {
280
280
  return a.push(u);
281
281
  };
282
282
  }
283
- return Ee(e.onComment) && (e.onComment = Ui(e, e.onComment)), e;
283
+ return Ie(e.onComment) && (e.onComment = Hi(e, e.onComment)), e;
284
284
  }
285
- function Ui(t, e) {
286
- return function(r, a, u, f, d, g) {
287
- var v = {
285
+ function Hi(t, e) {
286
+ return function(r, a, u, f, d, v) {
287
+ var g = {
288
288
  type: r ? "Block" : "Line",
289
289
  value: a,
290
290
  start: u,
291
291
  end: f
292
292
  };
293
- t.locations && (v.loc = new Ft(this, d, g)), t.ranges && (v.range = [u, f]), e.push(v);
293
+ t.locations && (g.loc = new Ft(this, d, v)), t.ranges && (g.range = [u, f]), e.push(g);
294
294
  };
295
295
  }
296
- var Vt = 1, Et = 2, ve = 4, Ke = 8, ge = 16, ze = 32, Yt = 64, Je = 128, Pt = 256, Bt = 512, Zt = Vt | Et | Pt;
297
- function be(t, e) {
298
- return Et | (t ? ve : 0) | (e ? Ke : 0);
296
+ var Vt = 1, Et = 2, ge = 4, Je = 8, be = 16, Ge = 32, Yt = 64, $e = 128, Pt = 256, Bt = 512, Zt = Vt | Et | Pt;
297
+ function Se(t, e) {
298
+ return Et | (t ? ge : 0) | (e ? Je : 0);
299
299
  }
300
- var Jt = 0, Se = 1, xt = 2, Ge = 3, $e = 4, Xe = 5, W = function(e, r, a) {
301
- this.options = e = ji(e), this.sourceFile = e.sourceFile, this.keywords = bt(Oi[e.ecmaVersion >= 6 ? 6 : e.sourceType === "module" ? "5module" : 5]);
300
+ var Jt = 0, Te = 1, xt = 2, Xe = 3, Qe = 4, Ye = 5, W = function(e, r, a) {
301
+ this.options = e = qi(e), this.sourceFile = e.sourceFile, this.keywords = bt(Mi[e.ecmaVersion >= 6 ? 6 : e.sourceType === "module" ? "5module" : 5]);
302
302
  var u = "";
303
303
  e.allowReserved !== !0 && (u = oe[e.ecmaVersion >= 6 ? 6 : e.ecmaVersion === 5 ? 5 : 3], e.sourceType === "module" && (u += " await")), this.reservedWords = bt(u);
304
304
  var f = (u ? u + " " : "") + oe.strict;
305
305
  this.reservedWordsStrict = bt(f), this.reservedWordsStrictBind = bt(f + " " + oe.strictBind), this.input = String(r), this.containsEsc = !1, a ? (this.pos = a, this.lineStart = this.input.lastIndexOf(`
306
- `, a - 1) + 1, this.curLine = this.input.slice(0, this.lineStart).split(Z).length) : (this.pos = this.lineStart = 0, this.curLine = 1), this.type = h.eof, this.value = null, this.start = this.end = this.pos, this.startLoc = this.endLoc = this.curPosition(), this.lastTokEndLoc = this.lastTokStartLoc = null, this.lastTokStart = this.lastTokEnd = this.pos, this.context = this.initialContext(), this.exprAllowed = !0, this.inModule = 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(Vt), this.regexpState = null, this.privateNameStack = [];
306
+ `, a - 1) + 1, this.curLine = this.input.slice(0, this.lineStart).split(Y).length) : (this.pos = this.lineStart = 0, this.curLine = 1), this.type = h.eof, this.value = null, this.start = this.end = this.pos, this.startLoc = this.endLoc = this.curPosition(), this.lastTokEndLoc = this.lastTokStartLoc = null, this.lastTokStart = this.lastTokEnd = this.pos, this.context = this.initialContext(), this.exprAllowed = !0, this.inModule = 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(Vt), this.regexpState = null, this.privateNameStack = [];
307
307
  }, lt = { 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 } };
308
308
  W.prototype.parse = function() {
309
309
  var e = this.options.program || this.startNode();
@@ -313,10 +313,10 @@ lt.inFunction.get = function() {
313
313
  return (this.currentVarScope().flags & Et) > 0;
314
314
  };
315
315
  lt.inGenerator.get = function() {
316
- return (this.currentVarScope().flags & Ke) > 0;
316
+ return (this.currentVarScope().flags & Je) > 0;
317
317
  };
318
318
  lt.inAsync.get = function() {
319
- return (this.currentVarScope().flags & ve) > 0;
319
+ return (this.currentVarScope().flags & ge) > 0;
320
320
  };
321
321
  lt.canAwait.get = function() {
322
322
  for (var t = this.scopeStack.length - 1; t >= 0; t--) {
@@ -324,7 +324,7 @@ lt.canAwait.get = function() {
324
324
  if (r & (Pt | Bt))
325
325
  return !1;
326
326
  if (r & Et)
327
- return (r & ve) > 0;
327
+ return (r & ge) > 0;
328
328
  }
329
329
  return this.inModule && this.options.ecmaVersion >= 13 || this.options.allowAwaitOutsideFunction;
330
330
  };
@@ -333,7 +333,7 @@ lt.allowSuper.get = function() {
333
333
  return (e & Yt) > 0 || this.options.allowSuperOutsideMethod;
334
334
  };
335
335
  lt.allowDirectSuper.get = function() {
336
- return (this.currentThisScope().flags & Je) > 0;
336
+ return (this.currentThisScope().flags & $e) > 0;
337
337
  };
338
338
  lt.treatFunctionsAsVar.get = function() {
339
339
  return this.treatFunctionsAsVarInScope(this.currentScope());
@@ -341,7 +341,7 @@ lt.treatFunctionsAsVar.get = function() {
341
341
  lt.allowNewDotTarget.get = function() {
342
342
  for (var t = this.scopeStack.length - 1; t >= 0; t--) {
343
343
  var e = this.scopeStack[t], r = e.flags;
344
- if (r & (Pt | Bt) || r & Et && !(r & ge))
344
+ if (r & (Pt | Bt) || r & Et && !(r & be))
345
345
  return !0;
346
346
  }
347
347
  return !1;
@@ -366,66 +366,66 @@ W.tokenizer = function(e, r) {
366
366
  return new this(r, e);
367
367
  };
368
368
  Object.defineProperties(W.prototype, lt);
369
- var tt = W.prototype, qi = /^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;
370
- tt.strictDirective = function(t) {
369
+ var Z = W.prototype, Wi = /^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;
370
+ Z.strictDirective = function(t) {
371
371
  if (this.options.ecmaVersion < 5)
372
372
  return !1;
373
373
  for (; ; ) {
374
374
  $.lastIndex = t, t += $.exec(this.input)[0].length;
375
- var e = qi.exec(this.input.slice(t));
375
+ var e = Wi.exec(this.input.slice(t));
376
376
  if (!e)
377
377
  return !1;
378
378
  if ((e[1] || e[2]) === "use strict") {
379
379
  $.lastIndex = t + e[0].length;
380
380
  var r = $.exec(this.input), a = r.index + r[0].length, u = this.input.charAt(a);
381
- return u === ";" || u === "}" || Z.test(r[0]) && !(/[(`.[+\-/*%<>=,?^&]/.test(u) || u === "!" && this.input.charAt(a + 1) === "=");
381
+ return u === ";" || u === "}" || Y.test(r[0]) && !(/[(`.[+\-/*%<>=,?^&]/.test(u) || u === "!" && this.input.charAt(a + 1) === "=");
382
382
  }
383
383
  t += e[0].length, $.lastIndex = t, t += $.exec(this.input)[0].length, this.input[t] === ";" && t++;
384
384
  }
385
385
  };
386
- tt.eat = function(t) {
386
+ Z.eat = function(t) {
387
387
  return this.type === t ? (this.next(), !0) : !1;
388
388
  };
389
- tt.isContextual = function(t) {
389
+ Z.isContextual = function(t) {
390
390
  return this.type === h.name && this.value === t && !this.containsEsc;
391
391
  };
392
- tt.eatContextual = function(t) {
392
+ Z.eatContextual = function(t) {
393
393
  return this.isContextual(t) ? (this.next(), !0) : !1;
394
394
  };
395
- tt.expectContextual = function(t) {
395
+ Z.expectContextual = function(t) {
396
396
  this.eatContextual(t) || this.unexpected();
397
397
  };
398
- tt.canInsertSemicolon = function() {
399
- return this.type === h.eof || this.type === h.braceR || Z.test(this.input.slice(this.lastTokEnd, this.start));
398
+ Z.canInsertSemicolon = function() {
399
+ return this.type === h.eof || this.type === h.braceR || Y.test(this.input.slice(this.lastTokEnd, this.start));
400
400
  };
401
- tt.insertSemicolon = function() {
401
+ Z.insertSemicolon = function() {
402
402
  if (this.canInsertSemicolon())
403
403
  return this.options.onInsertedSemicolon && this.options.onInsertedSemicolon(this.lastTokEnd, this.lastTokEndLoc), !0;
404
404
  };
405
- tt.semicolon = function() {
405
+ Z.semicolon = function() {
406
406
  !this.eat(h.semi) && !this.insertSemicolon() && this.unexpected();
407
407
  };
408
- tt.afterTrailingComma = function(t, e) {
408
+ Z.afterTrailingComma = function(t, e) {
409
409
  if (this.type === t)
410
410
  return this.options.onTrailingComma && this.options.onTrailingComma(this.lastTokStart, this.lastTokStartLoc), e || this.next(), !0;
411
411
  };
412
- tt.expect = function(t) {
412
+ Z.expect = function(t) {
413
413
  this.eat(t) || this.unexpected();
414
414
  };
415
- tt.unexpected = function(t) {
415
+ Z.unexpected = function(t) {
416
416
  this.raise(t ?? this.start, "Unexpected token");
417
417
  };
418
418
  var te = function() {
419
419
  this.shorthandAssign = this.trailingComma = this.parenthesizedAssign = this.parenthesizedBind = this.doubleProto = -1;
420
420
  };
421
- tt.checkPatternErrors = function(t, e) {
421
+ Z.checkPatternErrors = function(t, e) {
422
422
  if (t) {
423
423
  t.trailingComma > -1 && this.raiseRecoverable(t.trailingComma, "Comma is not permitted after the rest element");
424
424
  var r = e ? t.parenthesizedAssign : t.parenthesizedBind;
425
425
  r > -1 && this.raiseRecoverable(r, e ? "Assigning to rvalue" : "Parenthesized pattern");
426
426
  }
427
427
  };
428
- tt.checkExpressionErrors = function(t, e) {
428
+ Z.checkExpressionErrors = function(t, e) {
429
429
  if (!t)
430
430
  return !1;
431
431
  var r = t.shorthandAssign, a = t.doubleProto;
@@ -433,14 +433,14 @@ tt.checkExpressionErrors = function(t, e) {
433
433
  return r >= 0 || a >= 0;
434
434
  r >= 0 && this.raise(r, "Shorthand property assignments are valid only in destructuring patterns"), a >= 0 && this.raiseRecoverable(a, "Redefinition of __proto__ property");
435
435
  };
436
- tt.checkYieldAwaitInDefaultParams = function() {
436
+ Z.checkYieldAwaitInDefaultParams = function() {
437
437
  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");
438
438
  };
439
- tt.isSimpleAssignTarget = function(t) {
439
+ Z.isSimpleAssignTarget = function(t) {
440
440
  return t.type === "ParenthesizedExpression" ? this.isSimpleAssignTarget(t.expression) : t.type === "Identifier" || t.type === "MemberExpression";
441
441
  };
442
- var A = W.prototype;
443
- A.parseTopLevel = function(t) {
442
+ var k = W.prototype;
443
+ k.parseTopLevel = function(t) {
444
444
  var e = /* @__PURE__ */ Object.create(null);
445
445
  for (t.body || (t.body = []); this.type !== h.eof; ) {
446
446
  var r = this.parseStatement(null, !0, e);
@@ -453,8 +453,8 @@ A.parseTopLevel = function(t) {
453
453
  }
454
454
  return this.adaptDirectivePrologue(t.body), this.next(), t.sourceType = this.options.sourceType, this.finishNode(t, "Program");
455
455
  };
456
- var Te = { kind: "loop" }, Hi = { kind: "switch" };
457
- A.isLet = function(t) {
456
+ var Pe = { kind: "loop" }, Ki = { kind: "switch" };
457
+ k.isLet = function(t) {
458
458
  if (this.options.ecmaVersion < 6 || !this.isContextual("let"))
459
459
  return !1;
460
460
  $.lastIndex = this.pos;
@@ -471,24 +471,24 @@ A.isLet = function(t) {
471
471
  if (a === 92 || a > 55295 && a < 56320)
472
472
  return !0;
473
473
  var f = this.input.slice(r, u);
474
- if (!Ri.test(f))
474
+ if (!Di.test(f))
475
475
  return !0;
476
476
  }
477
477
  return !1;
478
478
  };
479
- A.isAsyncFunction = function() {
479
+ k.isAsyncFunction = function() {
480
480
  if (this.options.ecmaVersion < 8 || !this.isContextual("async"))
481
481
  return !1;
482
482
  $.lastIndex = this.pos;
483
483
  var t = $.exec(this.input), e = this.pos + t[0].length, r;
484
- return !Z.test(this.input.slice(this.pos, e)) && this.input.slice(e, e + 8) === "function" && (e + 8 === this.input.length || !(dt(r = this.input.charCodeAt(e + 8)) || r > 55295 && r < 56320));
484
+ return !Y.test(this.input.slice(this.pos, e)) && this.input.slice(e, e + 8) === "function" && (e + 8 === this.input.length || !(dt(r = this.input.charCodeAt(e + 8)) || r > 55295 && r < 56320));
485
485
  };
486
- A.isUsingKeyword = function(t, e) {
486
+ k.isUsingKeyword = function(t, e) {
487
487
  if (this.options.ecmaVersion < 17 || !this.isContextual(t ? "await" : "using"))
488
488
  return !1;
489
489
  $.lastIndex = this.pos;
490
490
  var r = $.exec(this.input), a = this.pos + r[0].length;
491
- if (Z.test(this.input.slice(this.pos, a)))
491
+ if (Y.test(this.input.slice(this.pos, a)))
492
492
  return !1;
493
493
  if (t) {
494
494
  var u = a + 5, f;
@@ -496,24 +496,24 @@ A.isUsingKeyword = function(t, e) {
496
496
  return !1;
497
497
  $.lastIndex = u;
498
498
  var d = $.exec(this.input);
499
- if (d && Z.test(this.input.slice(u, u + d[0].length)))
499
+ if (d && Y.test(this.input.slice(u, u + d[0].length)))
500
500
  return !1;
501
501
  }
502
502
  if (e) {
503
- var g = a + 2, v;
504
- if (this.input.slice(a, g) === "of" && (g === this.input.length || !dt(v = this.input.charCodeAt(g)) && !(v > 55295 && v < 56320)))
503
+ var v = a + 2, g;
504
+ if (this.input.slice(a, v) === "of" && (v === this.input.length || !dt(g = this.input.charCodeAt(v)) && !(g > 55295 && g < 56320)))
505
505
  return !1;
506
506
  }
507
507
  var o = this.input.charCodeAt(a);
508
508
  return pt(o, !0) || o === 92;
509
509
  };
510
- A.isAwaitUsing = function(t) {
510
+ k.isAwaitUsing = function(t) {
511
511
  return this.isUsingKeyword(!0, t);
512
512
  };
513
- A.isUsing = function(t) {
513
+ k.isUsing = function(t) {
514
514
  return this.isUsingKeyword(!1, t);
515
515
  };
516
- A.parseStatement = function(t, e, r) {
516
+ k.parseStatement = function(t, e, r) {
517
517
  var a = this.type, u = this.startNode(), f;
518
518
  switch (this.isLet(t) && (a = h._var, f = "let"), a) {
519
519
  case h._break:
@@ -554,8 +554,8 @@ A.parseStatement = function(t, e, r) {
554
554
  case h._import:
555
555
  if (this.options.ecmaVersion > 10 && a === h._import) {
556
556
  $.lastIndex = this.pos;
557
- var d = $.exec(this.input), g = this.pos + d[0].length, v = this.input.charCodeAt(g);
558
- if (v === 40 || v === 46)
557
+ var d = $.exec(this.input), v = this.pos + d[0].length, g = this.input.charCodeAt(v);
558
+ if (g === 40 || g === 46)
559
559
  return this.parseExpressionStatement(u, this.parseExpression());
560
560
  }
561
561
  return this.options.allowImportExportEverywhere || (e || this.raise(this.start, "'import' and 'export' may only appear at the top level"), this.inModule || this.raise(this.start, "'import' and 'export' may appear only with 'sourceType: module'")), a === h._import ? this.parseImport(u) : this.parseExport(u, r);
@@ -570,11 +570,11 @@ A.parseStatement = function(t, e, r) {
570
570
  var o = this.isAwaitUsing(!1) ? "await using" : this.isUsing(!1) ? "using" : null;
571
571
  if (o)
572
572
  return e && this.options.sourceType === "script" && this.raise(this.start, "Using declaration cannot appear in the top level when source type is `script`"), o === "await using" && (this.canAwait || this.raise(this.start, "Await using cannot appear outside of async function"), this.next()), this.next(), this.parseVar(u, !1, o), this.semicolon(), this.finishNode(u, "VariableDeclaration");
573
- var P = this.value, I = this.parseExpression();
574
- return a === h.name && I.type === "Identifier" && this.eat(h.colon) ? this.parseLabeledStatement(u, P, I, t) : this.parseExpressionStatement(u, I);
573
+ var w = this.value, L = this.parseExpression();
574
+ return a === h.name && L.type === "Identifier" && this.eat(h.colon) ? this.parseLabeledStatement(u, w, L, t) : this.parseExpressionStatement(u, L);
575
575
  }
576
576
  };
577
- A.parseBreakContinueStatement = function(t, e) {
577
+ k.parseBreakContinueStatement = function(t, e) {
578
578
  var r = e === "break";
579
579
  this.next(), this.eat(h.semi) || this.insertSemicolon() ? t.label = null : this.type !== h.name ? this.unexpected() : (t.label = this.parseIdent(), this.semicolon());
580
580
  for (var a = 0; a < this.labels.length; ++a) {
@@ -584,44 +584,44 @@ A.parseBreakContinueStatement = function(t, e) {
584
584
  }
585
585
  return a === this.labels.length && this.raise(t.start, "Unsyntactic " + e), this.finishNode(t, r ? "BreakStatement" : "ContinueStatement");
586
586
  };
587
- A.parseDebuggerStatement = function(t) {
587
+ k.parseDebuggerStatement = function(t) {
588
588
  return this.next(), this.semicolon(), this.finishNode(t, "DebuggerStatement");
589
589
  };
590
- A.parseDoStatement = function(t) {
591
- return this.next(), this.labels.push(Te), t.body = this.parseStatement("do"), this.labels.pop(), this.expect(h._while), t.test = this.parseParenExpression(), this.options.ecmaVersion >= 6 ? this.eat(h.semi) : this.semicolon(), this.finishNode(t, "DoWhileStatement");
590
+ k.parseDoStatement = function(t) {
591
+ return this.next(), this.labels.push(Pe), t.body = this.parseStatement("do"), this.labels.pop(), this.expect(h._while), t.test = this.parseParenExpression(), this.options.ecmaVersion >= 6 ? this.eat(h.semi) : this.semicolon(), this.finishNode(t, "DoWhileStatement");
592
592
  };
593
- A.parseForStatement = function(t) {
593
+ k.parseForStatement = function(t) {
594
594
  this.next();
595
595
  var e = this.options.ecmaVersion >= 9 && this.canAwait && this.eatContextual("await") ? this.lastTokStart : -1;
596
- if (this.labels.push(Te), this.enterScope(0), this.expect(h.parenL), this.type === h.semi)
596
+ if (this.labels.push(Pe), this.enterScope(0), this.expect(h.parenL), this.type === h.semi)
597
597
  return e > -1 && this.unexpected(e), this.parseFor(t, null);
598
598
  var r = this.isLet();
599
599
  if (this.type === h._var || this.type === h._const || r) {
600
600
  var a = this.startNode(), u = r ? "let" : this.value;
601
601
  return this.next(), this.parseVar(a, !0, u), this.finishNode(a, "VariableDeclaration"), this.parseForAfterInit(t, a, e);
602
602
  }
603
- var f = this.isContextual("let"), d = !1, g = this.isUsing(!0) ? "using" : this.isAwaitUsing(!0) ? "await using" : null;
604
- if (g) {
605
- var v = this.startNode();
606
- return this.next(), g === "await using" && this.next(), this.parseVar(v, !0, g), this.finishNode(v, "VariableDeclaration"), this.parseForAfterInit(t, v, e);
603
+ var f = this.isContextual("let"), d = !1, v = this.isUsing(!0) ? "using" : this.isAwaitUsing(!0) ? "await using" : null;
604
+ if (v) {
605
+ var g = this.startNode();
606
+ return this.next(), v === "await using" && this.next(), this.parseVar(g, !0, v), this.finishNode(g, "VariableDeclaration"), this.parseForAfterInit(t, g, e);
607
607
  }
608
- var o = this.containsEsc, P = new te(), I = this.start, R = e > -1 ? this.parseExprSubscripts(P, "await") : this.parseExpression(!0, P);
609
- return this.type === h._in || (d = this.options.ecmaVersion >= 6 && this.isContextual("of")) ? (e > -1 ? (this.type === h._in && this.unexpected(e), t.await = !0) : d && this.options.ecmaVersion >= 8 && (R.start === I && !o && R.type === "Identifier" && R.name === "async" ? this.unexpected() : this.options.ecmaVersion >= 9 && (t.await = !1)), f && d && this.raise(R.start, "The left-hand side of a for-of loop may not start with 'let'."), this.toAssignable(R, !1, P), this.checkLValPattern(R), this.parseForIn(t, R)) : (this.checkExpressionErrors(P, !0), e > -1 && this.unexpected(e), this.parseFor(t, R));
608
+ var o = this.containsEsc, w = new te(), L = this.start, F = e > -1 ? this.parseExprSubscripts(w, "await") : this.parseExpression(!0, w);
609
+ return this.type === h._in || (d = this.options.ecmaVersion >= 6 && this.isContextual("of")) ? (e > -1 ? (this.type === h._in && this.unexpected(e), t.await = !0) : d && this.options.ecmaVersion >= 8 && (F.start === L && !o && F.type === "Identifier" && F.name === "async" ? this.unexpected() : this.options.ecmaVersion >= 9 && (t.await = !1)), f && d && this.raise(F.start, "The left-hand side of a for-of loop may not start with 'let'."), this.toAssignable(F, !1, w), this.checkLValPattern(F), this.parseForIn(t, F)) : (this.checkExpressionErrors(w, !0), e > -1 && this.unexpected(e), this.parseFor(t, F));
610
610
  };
611
- A.parseForAfterInit = function(t, e, r) {
611
+ k.parseForAfterInit = function(t, e, r) {
612
612
  return (this.type === h._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) && e.declarations.length === 1 ? (this.options.ecmaVersion >= 9 && (this.type === h._in ? r > -1 && this.unexpected(r) : t.await = r > -1), this.parseForIn(t, e)) : (r > -1 && this.unexpected(r), this.parseFor(t, e));
613
613
  };
614
- A.parseFunctionStatement = function(t, e, r) {
614
+ k.parseFunctionStatement = function(t, e, r) {
615
615
  return this.next(), this.parseFunction(t, Rt | (r ? 0 : fe), !1, e);
616
616
  };
617
- A.parseIfStatement = function(t) {
617
+ k.parseIfStatement = function(t) {
618
618
  return this.next(), t.test = this.parseParenExpression(), t.consequent = this.parseStatement("if"), t.alternate = this.eat(h._else) ? this.parseStatement("if") : null, this.finishNode(t, "IfStatement");
619
619
  };
620
- A.parseReturnStatement = function(t) {
620
+ k.parseReturnStatement = function(t) {
621
621
  return !this.inFunction && !this.options.allowReturnOutsideFunction && this.raise(this.start, "'return' outside of function"), this.next(), this.eat(h.semi) || this.insertSemicolon() ? t.argument = null : (t.argument = this.parseExpression(), this.semicolon()), this.finishNode(t, "ReturnStatement");
622
622
  };
623
- A.parseSwitchStatement = function(t) {
624
- this.next(), t.discriminant = this.parseParenExpression(), t.cases = [], this.expect(h.braceL), this.labels.push(Hi), this.enterScope(0);
623
+ k.parseSwitchStatement = function(t) {
624
+ this.next(), t.discriminant = this.parseParenExpression(), t.cases = [], this.expect(h.braceL), this.labels.push(Ki), this.enterScope(0);
625
625
  for (var e, r = !1; this.type !== h.braceR; )
626
626
  if (this.type === h._case || this.type === h._default) {
627
627
  var a = this.type === h._case;
@@ -630,68 +630,68 @@ A.parseSwitchStatement = function(t) {
630
630
  e || this.unexpected(), e.consequent.push(this.parseStatement(null));
631
631
  return this.exitScope(), e && this.finishNode(e, "SwitchCase"), this.next(), this.labels.pop(), this.finishNode(t, "SwitchStatement");
632
632
  };
633
- A.parseThrowStatement = function(t) {
634
- return this.next(), Z.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");
633
+ k.parseThrowStatement = function(t) {
634
+ return this.next(), Y.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");
635
635
  };
636
- var Wi = [];
637
- A.parseCatchClauseParam = function() {
636
+ var zi = [];
637
+ k.parseCatchClauseParam = function() {
638
638
  var t = this.parseBindingAtom(), e = t.type === "Identifier";
639
- return this.enterScope(e ? ze : 0), this.checkLValPattern(t, e ? $e : xt), this.expect(h.parenR), t;
639
+ return this.enterScope(e ? Ge : 0), this.checkLValPattern(t, e ? Qe : xt), this.expect(h.parenR), t;
640
640
  };
641
- A.parseTryStatement = function(t) {
641
+ k.parseTryStatement = function(t) {
642
642
  if (this.next(), t.block = this.parseBlock(), t.handler = null, this.type === h._catch) {
643
643
  var e = this.startNode();
644
644
  this.next(), this.eat(h.parenL) ? e.param = this.parseCatchClauseParam() : (this.options.ecmaVersion < 10 && this.unexpected(), e.param = null, this.enterScope(0)), e.body = this.parseBlock(!1), this.exitScope(), t.handler = this.finishNode(e, "CatchClause");
645
645
  }
646
646
  return t.finalizer = this.eat(h._finally) ? this.parseBlock() : null, !t.handler && !t.finalizer && this.raise(t.start, "Missing catch or finally clause"), this.finishNode(t, "TryStatement");
647
647
  };
648
- A.parseVarStatement = function(t, e, r) {
648
+ k.parseVarStatement = function(t, e, r) {
649
649
  return this.next(), this.parseVar(t, !1, e, r), this.semicolon(), this.finishNode(t, "VariableDeclaration");
650
650
  };
651
- A.parseWhileStatement = function(t) {
652
- return this.next(), t.test = this.parseParenExpression(), this.labels.push(Te), t.body = this.parseStatement("while"), this.labels.pop(), this.finishNode(t, "WhileStatement");
651
+ k.parseWhileStatement = function(t) {
652
+ return this.next(), t.test = this.parseParenExpression(), this.labels.push(Pe), t.body = this.parseStatement("while"), this.labels.pop(), this.finishNode(t, "WhileStatement");
653
653
  };
654
- A.parseWithStatement = function(t) {
654
+ k.parseWithStatement = function(t) {
655
655
  return this.strict && this.raise(this.start, "'with' in strict mode"), this.next(), t.object = this.parseParenExpression(), t.body = this.parseStatement("with"), this.finishNode(t, "WithStatement");
656
656
  };
657
- A.parseEmptyStatement = function(t) {
657
+ k.parseEmptyStatement = function(t) {
658
658
  return this.next(), this.finishNode(t, "EmptyStatement");
659
659
  };
660
- A.parseLabeledStatement = function(t, e, r, a) {
660
+ k.parseLabeledStatement = function(t, e, r, a) {
661
661
  for (var u = 0, f = this.labels; u < f.length; u += 1) {
662
662
  var d = f[u];
663
663
  d.name === e && this.raise(r.start, "Label '" + e + "' is already declared");
664
664
  }
665
- for (var g = this.type.isLoop ? "loop" : this.type === h._switch ? "switch" : null, v = this.labels.length - 1; v >= 0; v--) {
666
- var o = this.labels[v];
665
+ for (var v = this.type.isLoop ? "loop" : this.type === h._switch ? "switch" : null, g = this.labels.length - 1; g >= 0; g--) {
666
+ var o = this.labels[g];
667
667
  if (o.statementStart === t.start)
668
- o.statementStart = this.start, o.kind = g;
668
+ o.statementStart = this.start, o.kind = v;
669
669
  else
670
670
  break;
671
671
  }
672
- return this.labels.push({ name: e, kind: g, statementStart: this.start }), t.body = this.parseStatement(a ? a.indexOf("label") === -1 ? a + "label" : a : "label"), this.labels.pop(), t.label = r, this.finishNode(t, "LabeledStatement");
672
+ return this.labels.push({ name: e, kind: v, statementStart: this.start }), t.body = this.parseStatement(a ? a.indexOf("label") === -1 ? a + "label" : a : "label"), this.labels.pop(), t.label = r, this.finishNode(t, "LabeledStatement");
673
673
  };
674
- A.parseExpressionStatement = function(t, e) {
674
+ k.parseExpressionStatement = function(t, e) {
675
675
  return t.expression = e, this.semicolon(), this.finishNode(t, "ExpressionStatement");
676
676
  };
677
- A.parseBlock = function(t, e, r) {
677
+ k.parseBlock = function(t, e, r) {
678
678
  for (t === void 0 && (t = !0), e === void 0 && (e = this.startNode()), e.body = [], this.expect(h.braceL), t && this.enterScope(0); this.type !== h.braceR; ) {
679
679
  var a = this.parseStatement(null);
680
680
  e.body.push(a);
681
681
  }
682
682
  return r && (this.strict = !1), this.next(), t && this.exitScope(), this.finishNode(e, "BlockStatement");
683
683
  };
684
- A.parseFor = function(t, e) {
684
+ k.parseFor = function(t, e) {
685
685
  return t.init = e, this.expect(h.semi), t.test = this.type === h.semi ? null : this.parseExpression(), this.expect(h.semi), t.update = this.type === h.parenR ? null : this.parseExpression(), this.expect(h.parenR), t.body = this.parseStatement("for"), this.exitScope(), this.labels.pop(), this.finishNode(t, "ForStatement");
686
686
  };
687
- A.parseForIn = function(t, e) {
687
+ k.parseForIn = function(t, e) {
688
688
  var r = this.type === h._in;
689
689
  return this.next(), e.type === "VariableDeclaration" && e.declarations[0].init != null && (!r || this.options.ecmaVersion < 8 || this.strict || e.kind !== "var" || e.declarations[0].id.type !== "Identifier") && this.raise(
690
690
  e.start,
691
691
  (r ? "for-in" : "for-of") + " loop variable declaration may not have an initializer"
692
692
  ), t.left = e, t.right = r ? this.parseExpression() : this.parseMaybeAssign(), this.expect(h.parenR), t.body = this.parseStatement("for"), this.exitScope(), this.labels.pop(), this.finishNode(t, r ? "ForInStatement" : "ForOfStatement");
693
693
  };
694
- A.parseVar = function(t, e, r, a) {
694
+ k.parseVar = function(t, e, r, a) {
695
695
  for (t.declarations = [], t.kind = r; ; ) {
696
696
  var u = this.startNode();
697
697
  if (this.parseVarId(u, r), this.eat(h.eq) ? u.init = this.parseMaybeAssign(e) : !a && r === "const" && !(this.type === h._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) ? this.unexpected() : !a && (r === "using" || r === "await using") && this.options.ecmaVersion >= 17 && this.type !== h._in && !this.isContextual("of") ? this.raise(this.lastTokEnd, "Missing initializer in " + r + " declaration") : !a && u.id.type !== "Identifier" && !(e && (this.type === h._in || this.isContextual("of"))) ? this.raise(this.lastTokEnd, "Complex binding patterns require an initialization value") : u.init = null, t.declarations.push(this.finishNode(u, "VariableDeclarator")), !this.eat(h.comma))
@@ -699,65 +699,65 @@ A.parseVar = function(t, e, r, a) {
699
699
  }
700
700
  return t;
701
701
  };
702
- A.parseVarId = function(t, e) {
703
- t.id = e === "using" || e === "await using" ? this.parseIdent() : this.parseBindingAtom(), this.checkLValPattern(t.id, e === "var" ? Se : xt, !1);
702
+ k.parseVarId = function(t, e) {
703
+ t.id = e === "using" || e === "await using" ? this.parseIdent() : this.parseBindingAtom(), this.checkLValPattern(t.id, e === "var" ? Te : xt, !1);
704
704
  };
705
- var Rt = 1, fe = 2, Qe = 4;
706
- A.parseFunction = function(t, e, r, a, u) {
707
- this.initFunction(t), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !a) && (this.type === h.star && e & fe && this.unexpected(), t.generator = this.eat(h.star)), this.options.ecmaVersion >= 8 && (t.async = !!a), e & Rt && (t.id = e & Qe && this.type !== h.name ? null : this.parseIdent(), t.id && !(e & fe) && this.checkLValSimple(t.id, this.strict || t.generator || t.async ? this.treatFunctionsAsVar ? Se : xt : Ge));
708
- var f = this.yieldPos, d = this.awaitPos, g = this.awaitIdentPos;
709
- return this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(be(t.async, t.generator)), e & Rt || (t.id = this.type === h.name ? this.parseIdent() : null), this.parseFunctionParams(t), this.parseFunctionBody(t, r, !1, u), this.yieldPos = f, this.awaitPos = d, this.awaitIdentPos = g, this.finishNode(t, e & Rt ? "FunctionDeclaration" : "FunctionExpression");
705
+ var Rt = 1, fe = 2, Ze = 4;
706
+ k.parseFunction = function(t, e, r, a, u) {
707
+ this.initFunction(t), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !a) && (this.type === h.star && e & fe && this.unexpected(), t.generator = this.eat(h.star)), this.options.ecmaVersion >= 8 && (t.async = !!a), e & Rt && (t.id = e & Ze && this.type !== h.name ? null : this.parseIdent(), t.id && !(e & fe) && this.checkLValSimple(t.id, this.strict || t.generator || t.async ? this.treatFunctionsAsVar ? Te : xt : Xe));
708
+ var f = this.yieldPos, d = this.awaitPos, v = this.awaitIdentPos;
709
+ return this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Se(t.async, t.generator)), e & Rt || (t.id = this.type === h.name ? this.parseIdent() : null), this.parseFunctionParams(t), this.parseFunctionBody(t, r, !1, u), this.yieldPos = f, this.awaitPos = d, this.awaitIdentPos = v, this.finishNode(t, e & Rt ? "FunctionDeclaration" : "FunctionExpression");
710
710
  };
711
- A.parseFunctionParams = function(t) {
711
+ k.parseFunctionParams = function(t) {
712
712
  this.expect(h.parenL), t.params = this.parseBindingList(h.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams();
713
713
  };
714
- A.parseClass = function(t, e) {
714
+ k.parseClass = function(t, e) {
715
715
  this.next();
716
716
  var r = this.strict;
717
717
  this.strict = !0, this.parseClassId(t, e), this.parseClassSuper(t);
718
718
  var a = this.enterClassBody(), u = this.startNode(), f = !1;
719
719
  for (u.body = [], this.expect(h.braceL); this.type !== h.braceR; ) {
720
720
  var d = this.parseClassElement(t.superClass !== null);
721
- d && (u.body.push(d), d.type === "MethodDefinition" && d.kind === "constructor" ? (f && this.raiseRecoverable(d.start, "Duplicate constructor in the same class"), f = !0) : d.key && d.key.type === "PrivateIdentifier" && Ki(a, d) && this.raiseRecoverable(d.key.start, "Identifier '#" + d.key.name + "' has already been declared"));
721
+ d && (u.body.push(d), d.type === "MethodDefinition" && d.kind === "constructor" ? (f && this.raiseRecoverable(d.start, "Duplicate constructor in the same class"), f = !0) : d.key && d.key.type === "PrivateIdentifier" && Ji(a, d) && this.raiseRecoverable(d.key.start, "Identifier '#" + d.key.name + "' has already been declared"));
722
722
  }
723
723
  return this.strict = r, this.next(), t.body = this.finishNode(u, "ClassBody"), this.exitClassBody(), this.finishNode(t, e ? "ClassDeclaration" : "ClassExpression");
724
724
  };
725
- A.parseClassElement = function(t) {
725
+ k.parseClassElement = function(t) {
726
726
  if (this.eat(h.semi))
727
727
  return null;
728
- var e = this.options.ecmaVersion, r = this.startNode(), a = "", u = !1, f = !1, d = "method", g = !1;
728
+ var e = this.options.ecmaVersion, r = this.startNode(), a = "", u = !1, f = !1, d = "method", v = !1;
729
729
  if (this.eatContextual("static")) {
730
730
  if (e >= 13 && this.eat(h.braceL))
731
731
  return this.parseClassStaticBlock(r), r;
732
- this.isClassElementNameStart() || this.type === h.star ? g = !0 : a = "static";
732
+ this.isClassElementNameStart() || this.type === h.star ? v = !0 : a = "static";
733
733
  }
734
- if (r.static = g, !a && e >= 8 && this.eatContextual("async") && ((this.isClassElementNameStart() || this.type === h.star) && !this.canInsertSemicolon() ? f = !0 : a = "async"), !a && (e >= 9 || !f) && this.eat(h.star) && (u = !0), !a && !f && !u) {
735
- var v = this.value;
736
- (this.eatContextual("get") || this.eatContextual("set")) && (this.isClassElementNameStart() ? d = v : a = v);
734
+ if (r.static = v, !a && e >= 8 && this.eatContextual("async") && ((this.isClassElementNameStart() || this.type === h.star) && !this.canInsertSemicolon() ? f = !0 : a = "async"), !a && (e >= 9 || !f) && this.eat(h.star) && (u = !0), !a && !f && !u) {
735
+ var g = this.value;
736
+ (this.eatContextual("get") || this.eatContextual("set")) && (this.isClassElementNameStart() ? d = g : a = g);
737
737
  }
738
738
  if (a ? (r.computed = !1, r.key = this.startNodeAt(this.lastTokStart, this.lastTokStartLoc), r.key.name = a, this.finishNode(r.key, "Identifier")) : this.parseClassElementName(r), e < 13 || this.type === h.parenL || d !== "method" || u || f) {
739
- var o = !r.static && Gt(r, "constructor"), P = o && t;
740
- o && d !== "method" && this.raise(r.key.start, "Constructor can't have get/set modifier"), r.kind = o ? "constructor" : d, this.parseClassMethod(r, u, f, P);
739
+ var o = !r.static && Gt(r, "constructor"), w = o && t;
740
+ o && d !== "method" && this.raise(r.key.start, "Constructor can't have get/set modifier"), r.kind = o ? "constructor" : d, this.parseClassMethod(r, u, f, w);
741
741
  } else
742
742
  this.parseClassField(r);
743
743
  return r;
744
744
  };
745
- A.isClassElementNameStart = function() {
745
+ k.isClassElementNameStart = function() {
746
746
  return this.type === h.name || this.type === h.privateId || this.type === h.num || this.type === h.string || this.type === h.bracketL || this.type.keyword;
747
747
  };
748
- A.parseClassElementName = function(t) {
748
+ k.parseClassElementName = function(t) {
749
749
  this.type === h.privateId ? (this.value === "constructor" && this.raise(this.start, "Classes can't have an element named '#constructor'"), t.computed = !1, t.key = this.parsePrivateIdent()) : this.parsePropertyName(t);
750
750
  };
751
- A.parseClassMethod = function(t, e, r, a) {
751
+ k.parseClassMethod = function(t, e, r, a) {
752
752
  var u = t.key;
753
753
  t.kind === "constructor" ? (e && this.raise(u.start, "Constructor can't be a generator"), r && this.raise(u.start, "Constructor can't be an async method")) : t.static && Gt(t, "prototype") && this.raise(u.start, "Classes may not have a static property named prototype");
754
754
  var f = t.value = this.parseMethod(e, r, a);
755
755
  return t.kind === "get" && f.params.length !== 0 && this.raiseRecoverable(f.start, "getter should have no params"), t.kind === "set" && f.params.length !== 1 && this.raiseRecoverable(f.start, "setter should have exactly one param"), t.kind === "set" && f.params[0].type === "RestElement" && this.raiseRecoverable(f.params[0].start, "Setter cannot use rest params"), this.finishNode(t, "MethodDefinition");
756
756
  };
757
- A.parseClassField = function(t) {
757
+ k.parseClassField = function(t) {
758
758
  return Gt(t, "constructor") ? this.raise(t.key.start, "Classes can't have a field named 'constructor'") : t.static && Gt(t, "prototype") && this.raise(t.key.start, "Classes can't have a static field named 'prototype'"), this.eat(h.eq) ? (this.enterScope(Bt | Yt), t.value = this.parseMaybeAssign(), this.exitScope()) : t.value = null, this.semicolon(), this.finishNode(t, "PropertyDefinition");
759
759
  };
760
- A.parseClassStaticBlock = function(t) {
760
+ k.parseClassStaticBlock = function(t) {
761
761
  t.body = [];
762
762
  var e = this.labels;
763
763
  for (this.labels = [], this.enterScope(Pt | Yt); this.type !== h.braceR; ) {
@@ -766,17 +766,17 @@ A.parseClassStaticBlock = function(t) {
766
766
  }
767
767
  return this.next(), this.exitScope(), this.labels = e, this.finishNode(t, "StaticBlock");
768
768
  };
769
- A.parseClassId = function(t, e) {
769
+ k.parseClassId = function(t, e) {
770
770
  this.type === h.name ? (t.id = this.parseIdent(), e && this.checkLValSimple(t.id, xt, !1)) : (e === !0 && this.unexpected(), t.id = null);
771
771
  };
772
- A.parseClassSuper = function(t) {
772
+ k.parseClassSuper = function(t) {
773
773
  t.superClass = this.eat(h._extends) ? this.parseExprSubscripts(null, !1) : null;
774
774
  };
775
- A.enterClassBody = function() {
775
+ k.enterClassBody = function() {
776
776
  var t = { declared: /* @__PURE__ */ Object.create(null), used: [] };
777
777
  return this.privateNameStack.push(t), t.declared;
778
778
  };
779
- A.exitClassBody = function() {
779
+ k.exitClassBody = function() {
780
780
  var t = this.privateNameStack.pop(), e = t.declared, r = t.used;
781
781
  if (this.options.checkPrivateFields)
782
782
  for (var a = this.privateNameStack.length, u = a === 0 ? null : this.privateNameStack[a - 1], f = 0; f < r.length; ++f) {
@@ -784,7 +784,7 @@ A.exitClassBody = function() {
784
784
  wt(e, d.name) || (u ? u.used.push(d) : this.raiseRecoverable(d.start, "Private field '#" + d.name + "' must be declared in an enclosing class"));
785
785
  }
786
786
  };
787
- function Ki(t, e) {
787
+ function Ji(t, e) {
788
788
  var r = e.key.name, a = t[r], u = "true";
789
789
  return e.type === "MethodDefinition" && (e.kind === "get" || e.kind === "set") && (u = (e.static ? "s" : "i") + e.kind), a === "iget" && u === "iset" || a === "iset" && u === "iget" || a === "sget" && u === "sset" || a === "sset" && u === "sget" ? (t[r] = "true", !1) : a ? !0 : (t[r] = u, !1);
790
790
  }
@@ -792,10 +792,10 @@ function Gt(t, e) {
792
792
  var r = t.computed, a = t.key;
793
793
  return !r && (a.type === "Identifier" && a.name === e || a.type === "Literal" && a.value === e);
794
794
  }
795
- A.parseExportAllDeclaration = function(t, e) {
795
+ k.parseExportAllDeclaration = function(t, e) {
796
796
  return this.options.ecmaVersion >= 11 && (this.eatContextual("as") ? (t.exported = this.parseModuleExportName(), this.checkExport(e, t.exported, this.lastTokStart)) : t.exported = null), this.expectContextual("from"), this.type !== h.string && this.unexpected(), t.source = this.parseExprAtom(), this.options.ecmaVersion >= 16 && (t.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(t, "ExportAllDeclaration");
797
797
  };
798
- A.parseExport = function(t, e) {
798
+ k.parseExport = function(t, e) {
799
799
  if (this.next(), this.eat(h.star))
800
800
  return this.parseExportAllDeclaration(t, e);
801
801
  if (this.eat(h._default))
@@ -816,14 +816,14 @@ A.parseExport = function(t, e) {
816
816
  }
817
817
  return this.finishNode(t, "ExportNamedDeclaration");
818
818
  };
819
- A.parseExportDeclaration = function(t) {
819
+ k.parseExportDeclaration = function(t) {
820
820
  return this.parseStatement(null);
821
821
  };
822
- A.parseExportDefaultDeclaration = function() {
822
+ k.parseExportDefaultDeclaration = function() {
823
823
  var t;
824
824
  if (this.type === h._function || (t = this.isAsyncFunction())) {
825
825
  var e = this.startNode();
826
- return this.next(), t && this.next(), this.parseFunction(e, Rt | Qe, !1, t);
826
+ return this.next(), t && this.next(), this.parseFunction(e, Rt | Ze, !1, t);
827
827
  } else if (this.type === h._class) {
828
828
  var r = this.startNode();
829
829
  return this.parseClass(r, "nullableID");
@@ -832,10 +832,10 @@ A.parseExportDefaultDeclaration = function() {
832
832
  return this.semicolon(), a;
833
833
  }
834
834
  };
835
- A.checkExport = function(t, e, r) {
835
+ k.checkExport = function(t, e, r) {
836
836
  t && (typeof e != "string" && (e = e.type === "Identifier" ? e.name : e.value), wt(t, e) && this.raiseRecoverable(r, "Duplicate export '" + e + "'"), t[e] = !0);
837
837
  };
838
- A.checkPatternExport = function(t, e) {
838
+ k.checkPatternExport = function(t, e) {
839
839
  var r = e.type;
840
840
  if (r === "Identifier")
841
841
  this.checkExport(t, e, e.start);
@@ -845,23 +845,23 @@ A.checkPatternExport = function(t, e) {
845
845
  this.checkPatternExport(t, f);
846
846
  }
847
847
  else if (r === "ArrayPattern")
848
- for (var d = 0, g = e.elements; d < g.length; d += 1) {
849
- var v = g[d];
850
- v && this.checkPatternExport(t, v);
848
+ for (var d = 0, v = e.elements; d < v.length; d += 1) {
849
+ var g = v[d];
850
+ g && this.checkPatternExport(t, g);
851
851
  }
852
852
  else r === "Property" ? this.checkPatternExport(t, e.value) : r === "AssignmentPattern" ? this.checkPatternExport(t, e.left) : r === "RestElement" && this.checkPatternExport(t, e.argument);
853
853
  };
854
- A.checkVariableExport = function(t, e) {
854
+ k.checkVariableExport = function(t, e) {
855
855
  if (t)
856
856
  for (var r = 0, a = e; r < a.length; r += 1) {
857
857
  var u = a[r];
858
858
  this.checkPatternExport(t, u.id);
859
859
  }
860
860
  };
861
- A.shouldParseExportStatement = function() {
861
+ k.shouldParseExportStatement = function() {
862
862
  return this.type.keyword === "var" || this.type.keyword === "const" || this.type.keyword === "class" || this.type.keyword === "function" || this.isLet() || this.isAsyncFunction();
863
863
  };
864
- A.parseExportSpecifier = function(t) {
864
+ k.parseExportSpecifier = function(t) {
865
865
  var e = this.startNode();
866
866
  return e.local = this.parseModuleExportName(), e.exported = this.eatContextual("as") ? this.parseModuleExportName() : e.local, this.checkExport(
867
867
  t,
@@ -869,7 +869,7 @@ A.parseExportSpecifier = function(t) {
869
869
  e.exported.start
870
870
  ), this.finishNode(e, "ExportSpecifier");
871
871
  };
872
- A.parseExportSpecifiers = function(t) {
872
+ k.parseExportSpecifiers = function(t) {
873
873
  var e = [], r = !0;
874
874
  for (this.expect(h.braceL); !this.eat(h.braceR); ) {
875
875
  if (r)
@@ -880,22 +880,22 @@ A.parseExportSpecifiers = function(t) {
880
880
  }
881
881
  return e;
882
882
  };
883
- A.parseImport = function(t) {
884
- return this.next(), this.type === h.string ? (t.specifiers = Wi, t.source = this.parseExprAtom()) : (t.specifiers = this.parseImportSpecifiers(), this.expectContextual("from"), t.source = this.type === h.string ? this.parseExprAtom() : this.unexpected()), this.options.ecmaVersion >= 16 && (t.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(t, "ImportDeclaration");
883
+ k.parseImport = function(t) {
884
+ return this.next(), this.type === h.string ? (t.specifiers = zi, t.source = this.parseExprAtom()) : (t.specifiers = this.parseImportSpecifiers(), this.expectContextual("from"), t.source = this.type === h.string ? this.parseExprAtom() : this.unexpected()), this.options.ecmaVersion >= 16 && (t.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(t, "ImportDeclaration");
885
885
  };
886
- A.parseImportSpecifier = function() {
886
+ k.parseImportSpecifier = function() {
887
887
  var t = this.startNode();
888
888
  return t.imported = this.parseModuleExportName(), this.eatContextual("as") ? t.local = this.parseIdent() : (this.checkUnreserved(t.imported), t.local = t.imported), this.checkLValSimple(t.local, xt), this.finishNode(t, "ImportSpecifier");
889
889
  };
890
- A.parseImportDefaultSpecifier = function() {
890
+ k.parseImportDefaultSpecifier = function() {
891
891
  var t = this.startNode();
892
892
  return t.local = this.parseIdent(), this.checkLValSimple(t.local, xt), this.finishNode(t, "ImportDefaultSpecifier");
893
893
  };
894
- A.parseImportNamespaceSpecifier = function() {
894
+ k.parseImportNamespaceSpecifier = function() {
895
895
  var t = this.startNode();
896
896
  return this.next(), this.expectContextual("as"), t.local = this.parseIdent(), this.checkLValSimple(t.local, xt), this.finishNode(t, "ImportNamespaceSpecifier");
897
897
  };
898
- A.parseImportSpecifiers = function() {
898
+ k.parseImportSpecifiers = function() {
899
899
  var t = [], e = !0;
900
900
  if (this.type === h.name && (t.push(this.parseImportDefaultSpecifier()), !this.eat(h.comma)))
901
901
  return t;
@@ -910,7 +910,7 @@ A.parseImportSpecifiers = function() {
910
910
  }
911
911
  return t;
912
912
  };
913
- A.parseWithClause = function() {
913
+ k.parseWithClause = function() {
914
914
  var t = [];
915
915
  if (!this.eat(h._with))
916
916
  return t;
@@ -925,22 +925,22 @@ A.parseWithClause = function() {
925
925
  }
926
926
  return t;
927
927
  };
928
- A.parseImportAttribute = function() {
928
+ k.parseImportAttribute = function() {
929
929
  var t = this.startNode();
930
930
  return t.key = this.type === h.string ? this.parseExprAtom() : this.parseIdent(this.options.allowReserved !== "never"), this.expect(h.colon), this.type !== h.string && this.unexpected(), t.value = this.parseExprAtom(), this.finishNode(t, "ImportAttribute");
931
931
  };
932
- A.parseModuleExportName = function() {
932
+ k.parseModuleExportName = function() {
933
933
  if (this.options.ecmaVersion >= 13 && this.type === h.string) {
934
934
  var t = this.parseLiteral(this.value);
935
- return Bi.test(t.value) && this.raise(t.start, "An export name cannot include a lone surrogate."), t;
935
+ return Ui.test(t.value) && this.raise(t.start, "An export name cannot include a lone surrogate."), t;
936
936
  }
937
937
  return this.parseIdent(!0);
938
938
  };
939
- A.adaptDirectivePrologue = function(t) {
939
+ k.adaptDirectivePrologue = function(t) {
940
940
  for (var e = 0; e < t.length && this.isDirectiveCandidate(t[e]); ++e)
941
941
  t[e].directive = t[e].expression.raw.slice(1, -1);
942
942
  };
943
- A.isDirectiveCandidate = function(t) {
943
+ k.isDirectiveCandidate = function(t) {
944
944
  return this.options.ecmaVersion >= 5 && t.type === "ExpressionStatement" && t.expression.type === "Literal" && typeof t.expression.value == "string" && // Reject parenthesized strings.
945
945
  (this.input[t.start] === '"' || this.input[t.start] === "'");
946
946
  };
@@ -1054,7 +1054,7 @@ ct.checkLValSimple = function(t, e, r) {
1054
1054
  var a = e !== Jt;
1055
1055
  switch (t.type) {
1056
1056
  case "Identifier":
1057
- this.strict && this.reservedWordsStrictBind.test(t.name) && this.raiseRecoverable(t.start, (a ? "Binding " : "Assigning to ") + t.name + " in strict mode"), a && (e === xt && t.name === "let" && this.raiseRecoverable(t.start, "let is disallowed as a lexically bound name"), r && (wt(r, t.name) && this.raiseRecoverable(t.start, "Argument name clash"), r[t.name] = !0), e !== Xe && this.declareName(t.name, e, t.start));
1057
+ this.strict && this.reservedWordsStrictBind.test(t.name) && this.raiseRecoverable(t.start, (a ? "Binding " : "Assigning to ") + t.name + " in strict mode"), a && (e === xt && t.name === "let" && this.raiseRecoverable(t.start, "let is disallowed as a lexically bound name"), r && (wt(r, t.name) && this.raiseRecoverable(t.start, "Argument name clash"), r[t.name] = !0), e !== Ye && this.declareName(t.name, e, t.start));
1058
1058
  break;
1059
1059
  case "ChainExpression":
1060
1060
  this.raiseRecoverable(t.start, "Optional chaining cannot appear in left-hand side");
@@ -1077,9 +1077,9 @@ ct.checkLValPattern = function(t, e, r) {
1077
1077
  }
1078
1078
  break;
1079
1079
  case "ArrayPattern":
1080
- for (var d = 0, g = t.elements; d < g.length; d += 1) {
1081
- var v = g[d];
1082
- v && this.checkLValInnerPattern(v, e, r);
1080
+ for (var d = 0, v = t.elements; d < v.length; d += 1) {
1081
+ var g = v[d];
1082
+ g && this.checkLValInnerPattern(g, e, r);
1083
1083
  }
1084
1084
  break;
1085
1085
  default:
@@ -1101,21 +1101,21 @@ ct.checkLValInnerPattern = function(t, e, r) {
1101
1101
  this.checkLValPattern(t, e, r);
1102
1102
  }
1103
1103
  };
1104
- var Y = function(e, r, a, u, f) {
1104
+ var Q = function(e, r, a, u, f) {
1105
1105
  this.token = e, this.isExpr = !!r, this.preserveSpace = !!a, this.override = u, this.generator = !!f;
1106
1106
  }, j = {
1107
- b_stat: new Y("{", !1),
1108
- b_expr: new Y("{", !0),
1109
- b_tmpl: new Y("${", !1),
1110
- p_stat: new Y("(", !1),
1111
- p_expr: new Y("(", !0),
1112
- q_tmpl: new Y("`", !0, !0, function(t) {
1107
+ b_stat: new Q("{", !1),
1108
+ b_expr: new Q("{", !0),
1109
+ b_tmpl: new Q("${", !1),
1110
+ p_stat: new Q("(", !1),
1111
+ p_expr: new Q("(", !0),
1112
+ q_tmpl: new Q("`", !0, !0, function(t) {
1113
1113
  return t.tryReadTemplateToken();
1114
1114
  }),
1115
- f_stat: new Y("function", !1),
1116
- f_expr: new Y("function", !0),
1117
- f_expr_gen: new Y("function", !0, !1, null, !0),
1118
- f_gen: new Y("function", !1, !1, null, !0)
1115
+ f_stat: new Q("function", !1),
1116
+ f_expr: new Q("function", !0),
1117
+ f_expr_gen: new Q("function", !0, !1, null, !0),
1118
+ f_gen: new Q("function", !1, !1, null, !0)
1119
1119
  }, It = W.prototype;
1120
1120
  It.initialContext = function() {
1121
1121
  return [j.b_stat];
@@ -1125,7 +1125,7 @@ It.curContext = function() {
1125
1125
  };
1126
1126
  It.braceIsBlock = function(t) {
1127
1127
  var e = this.curContext();
1128
- return e === j.f_expr || e === j.f_stat ? !0 : t === h.colon && (e === j.b_stat || e === j.b_expr) ? !e.isExpr : t === h._return || t === h.name && this.exprAllowed ? Z.test(this.input.slice(this.lastTokEnd, this.start)) : t === h._else || t === h.semi || t === h.eof || t === h.parenR || t === h.arrow ? !0 : t === h.braceL ? e === j.b_stat : t === h._var || t === h._const || t === h.name ? !1 : !this.exprAllowed;
1128
+ return e === j.f_expr || e === j.f_stat ? !0 : t === h.colon && (e === j.b_stat || e === j.b_expr) ? !e.isExpr : t === h._return || t === h.name && this.exprAllowed ? Y.test(this.input.slice(this.lastTokEnd, this.start)) : t === h._else || t === h.semi || t === h.eof || t === h.parenR || t === h.arrow ? !0 : t === h.braceL ? e === j.b_stat : t === h._var || t === h._const || t === h.name ? !1 : !this.exprAllowed;
1129
1129
  };
1130
1130
  It.inGeneratorContext = function() {
1131
1131
  for (var t = this.context.length - 1; t >= 1; t--) {
@@ -1163,7 +1163,7 @@ h.parenL.updateContext = function(t) {
1163
1163
  h.incDec.updateContext = function() {
1164
1164
  };
1165
1165
  h._function.updateContext = h._class.updateContext = function(t) {
1166
- t.beforeExpr && t !== h._else && !(t === h.semi && this.curContext() !== j.p_stat) && !(t === h._return && Z.test(this.input.slice(this.lastTokEnd, this.start))) && !((t === h.colon || t === h.braceL) && this.curContext() === j.b_stat) ? this.context.push(j.f_expr) : this.context.push(j.f_stat), this.exprAllowed = !1;
1166
+ t.beforeExpr && t !== h._else && !(t === h.semi && this.curContext() !== j.p_stat) && !(t === h._return && Y.test(this.input.slice(this.lastTokEnd, this.start))) && !((t === h.colon || t === h.braceL) && this.curContext() === j.b_stat) ? this.context.push(j.f_expr) : this.context.push(j.f_stat), this.exprAllowed = !1;
1167
1167
  };
1168
1168
  h.colon.updateContext = function() {
1169
1169
  this.curContext().token === "function" && this.context.pop(), this.exprAllowed = !0;
@@ -1182,8 +1182,8 @@ h.name.updateContext = function(t) {
1182
1182
  var e = !1;
1183
1183
  this.options.ecmaVersion >= 6 && t !== h.dot && (this.value === "of" && !this.exprAllowed || this.value === "yield" && this.inGeneratorContext()) && (e = !0), this.exprAllowed = e;
1184
1184
  };
1185
- var N = W.prototype;
1186
- N.checkPropClash = function(t, e, r) {
1185
+ var _ = W.prototype;
1186
+ _.checkPropClash = function(t, e, r) {
1187
1187
  if (!(this.options.ecmaVersion >= 9 && t.type === "SpreadElement") && !(this.options.ecmaVersion >= 6 && (t.computed || t.method || t.shorthand))) {
1188
1188
  var a = t.key, u;
1189
1189
  switch (a.type) {
@@ -1204,8 +1204,8 @@ N.checkPropClash = function(t, e, r) {
1204
1204
  u = "$" + u;
1205
1205
  var d = e[u];
1206
1206
  if (d) {
1207
- var g;
1208
- f === "init" ? g = this.strict && d.init || d.get || d.set : g = d.init || d[f], g && this.raiseRecoverable(a.start, "Redefinition of property");
1207
+ var v;
1208
+ f === "init" ? v = this.strict && d.init || d.get || d.set : v = d.init || d[f], v && this.raiseRecoverable(a.start, "Redefinition of property");
1209
1209
  } else
1210
1210
  d = e[u] = {
1211
1211
  init: !1,
@@ -1215,7 +1215,7 @@ N.checkPropClash = function(t, e, r) {
1215
1215
  d[f] = !0;
1216
1216
  }
1217
1217
  };
1218
- N.parseExpression = function(t, e) {
1218
+ _.parseExpression = function(t, e) {
1219
1219
  var r = this.start, a = this.startLoc, u = this.parseMaybeAssign(t, e);
1220
1220
  if (this.type === h.comma) {
1221
1221
  var f = this.startNodeAt(r, a);
@@ -1225,7 +1225,7 @@ N.parseExpression = function(t, e) {
1225
1225
  }
1226
1226
  return u;
1227
1227
  };
1228
- N.parseMaybeAssign = function(t, e, r) {
1228
+ _.parseMaybeAssign = function(t, e, r) {
1229
1229
  if (this.isContextual("yield")) {
1230
1230
  if (this.inGenerator)
1231
1231
  return this.parseYield(t);
@@ -1233,17 +1233,17 @@ N.parseMaybeAssign = function(t, e, r) {
1233
1233
  }
1234
1234
  var a = !1, u = -1, f = -1, d = -1;
1235
1235
  e ? (u = e.parenthesizedAssign, f = e.trailingComma, d = e.doubleProto, e.parenthesizedAssign = e.trailingComma = -1) : (e = new te(), a = !0);
1236
- var g = this.start, v = this.startLoc;
1236
+ var v = this.start, g = this.startLoc;
1237
1237
  (this.type === h.parenL || this.type === h.name) && (this.potentialArrowAt = this.start, this.potentialArrowInForAwait = t === "await");
1238
1238
  var o = this.parseMaybeConditional(t, e);
1239
- if (r && (o = r.call(this, o, g, v)), this.type.isAssign) {
1240
- var P = this.startNodeAt(g, v);
1241
- return P.operator = this.value, this.type === h.eq && (o = this.toAssignable(o, !1, e)), a || (e.parenthesizedAssign = e.trailingComma = e.doubleProto = -1), e.shorthandAssign >= o.start && (e.shorthandAssign = -1), this.type === h.eq ? this.checkLValPattern(o) : this.checkLValSimple(o), P.left = o, this.next(), P.right = this.parseMaybeAssign(t), d > -1 && (e.doubleProto = d), this.finishNode(P, "AssignmentExpression");
1239
+ if (r && (o = r.call(this, o, v, g)), this.type.isAssign) {
1240
+ var w = this.startNodeAt(v, g);
1241
+ return w.operator = this.value, this.type === h.eq && (o = this.toAssignable(o, !1, e)), a || (e.parenthesizedAssign = e.trailingComma = e.doubleProto = -1), e.shorthandAssign >= o.start && (e.shorthandAssign = -1), this.type === h.eq ? this.checkLValPattern(o) : this.checkLValSimple(o), w.left = o, this.next(), w.right = this.parseMaybeAssign(t), d > -1 && (e.doubleProto = d), this.finishNode(w, "AssignmentExpression");
1242
1242
  } else
1243
1243
  a && this.checkExpressionErrors(e, !0);
1244
1244
  return u > -1 && (e.parenthesizedAssign = u), f > -1 && (e.trailingComma = f), o;
1245
1245
  };
1246
- N.parseMaybeConditional = function(t, e) {
1246
+ _.parseMaybeConditional = function(t, e) {
1247
1247
  var r = this.start, a = this.startLoc, u = this.parseExprOps(t, e);
1248
1248
  if (this.checkExpressionErrors(e))
1249
1249
  return u;
@@ -1253,34 +1253,34 @@ N.parseMaybeConditional = function(t, e) {
1253
1253
  }
1254
1254
  return u;
1255
1255
  };
1256
- N.parseExprOps = function(t, e) {
1256
+ _.parseExprOps = function(t, e) {
1257
1257
  var r = this.start, a = this.startLoc, u = this.parseMaybeUnary(e, !1, !1, t);
1258
1258
  return this.checkExpressionErrors(e) || u.start === r && u.type === "ArrowFunctionExpression" ? u : this.parseExprOp(u, r, a, -1, t);
1259
1259
  };
1260
- N.parseExprOp = function(t, e, r, a, u) {
1260
+ _.parseExprOp = function(t, e, r, a, u) {
1261
1261
  var f = this.type.binop;
1262
1262
  if (f != null && (!u || this.type !== h._in) && f > a) {
1263
- var d = this.type === h.logicalOR || this.type === h.logicalAND, g = this.type === h.coalesce;
1264
- g && (f = h.logicalAND.binop);
1265
- var v = this.value;
1263
+ var d = this.type === h.logicalOR || this.type === h.logicalAND, v = this.type === h.coalesce;
1264
+ v && (f = h.logicalAND.binop);
1265
+ var g = this.value;
1266
1266
  this.next();
1267
- var o = this.start, P = this.startLoc, I = this.parseExprOp(this.parseMaybeUnary(null, !1, !1, u), o, P, f, u), R = this.buildBinary(e, r, t, I, v, d || g);
1268
- return (d && this.type === h.coalesce || g && (this.type === h.logicalOR || this.type === h.logicalAND)) && this.raiseRecoverable(this.start, "Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"), this.parseExprOp(R, e, r, a, u);
1267
+ var o = this.start, w = this.startLoc, L = this.parseExprOp(this.parseMaybeUnary(null, !1, !1, u), o, w, f, u), F = this.buildBinary(e, r, t, L, g, d || v);
1268
+ return (d && this.type === h.coalesce || v && (this.type === h.logicalOR || this.type === h.logicalAND)) && this.raiseRecoverable(this.start, "Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"), this.parseExprOp(F, e, r, a, u);
1269
1269
  }
1270
1270
  return t;
1271
1271
  };
1272
- N.buildBinary = function(t, e, r, a, u, f) {
1272
+ _.buildBinary = function(t, e, r, a, u, f) {
1273
1273
  a.type === "PrivateIdentifier" && this.raise(a.start, "Private identifier can only be left side of binary expression");
1274
1274
  var d = this.startNodeAt(t, e);
1275
1275
  return d.left = r, d.operator = u, d.right = a, this.finishNode(d, f ? "LogicalExpression" : "BinaryExpression");
1276
1276
  };
1277
- N.parseMaybeUnary = function(t, e, r, a) {
1277
+ _.parseMaybeUnary = function(t, e, r, a) {
1278
1278
  var u = this.start, f = this.startLoc, d;
1279
1279
  if (this.isContextual("await") && this.canAwait)
1280
1280
  d = this.parseAwait(a), e = !0;
1281
1281
  else if (this.type.prefix) {
1282
- var g = this.startNode(), v = this.type === h.incDec;
1283
- g.operator = this.value, g.prefix = !0, this.next(), g.argument = this.parseMaybeUnary(null, !0, v, a), this.checkExpressionErrors(t, !0), v ? this.checkLValSimple(g.argument) : this.strict && g.operator === "delete" && Ye(g.argument) ? this.raiseRecoverable(g.start, "Deleting local variable in strict mode") : g.operator === "delete" && de(g.argument) ? this.raiseRecoverable(g.start, "Private fields can not be deleted") : e = !0, d = this.finishNode(g, v ? "UpdateExpression" : "UnaryExpression");
1282
+ var v = this.startNode(), g = this.type === h.incDec;
1283
+ v.operator = this.value, v.prefix = !0, this.next(), v.argument = this.parseMaybeUnary(null, !0, g, a), this.checkExpressionErrors(t, !0), g ? this.checkLValSimple(v.argument) : this.strict && v.operator === "delete" && ti(v.argument) ? this.raiseRecoverable(v.start, "Deleting local variable in strict mode") : v.operator === "delete" && de(v.argument) ? this.raiseRecoverable(v.start, "Private fields can not be deleted") : e = !0, d = this.finishNode(v, g ? "UpdateExpression" : "UnaryExpression");
1284
1284
  } else if (!e && this.type === h.privateId)
1285
1285
  (a || this.privateNameStack.length === 0) && this.options.checkPrivateFields && this.unexpected(), d = this.parsePrivateIdent(), this.type !== h._in && this.unexpected();
1286
1286
  else {
@@ -1299,62 +1299,62 @@ N.parseMaybeUnary = function(t, e, r, a) {
1299
1299
  else
1300
1300
  return d;
1301
1301
  };
1302
- function Ye(t) {
1303
- return t.type === "Identifier" || t.type === "ParenthesizedExpression" && Ye(t.expression);
1302
+ function ti(t) {
1303
+ return t.type === "Identifier" || t.type === "ParenthesizedExpression" && ti(t.expression);
1304
1304
  }
1305
1305
  function de(t) {
1306
1306
  return t.type === "MemberExpression" && t.property.type === "PrivateIdentifier" || t.type === "ChainExpression" && de(t.expression) || t.type === "ParenthesizedExpression" && de(t.expression);
1307
1307
  }
1308
- N.parseExprSubscripts = function(t, e) {
1308
+ _.parseExprSubscripts = function(t, e) {
1309
1309
  var r = this.start, a = this.startLoc, u = this.parseExprAtom(t, e);
1310
1310
  if (u.type === "ArrowFunctionExpression" && this.input.slice(this.lastTokStart, this.lastTokEnd) !== ")")
1311
1311
  return u;
1312
1312
  var f = this.parseSubscripts(u, r, a, !1, e);
1313
1313
  return t && f.type === "MemberExpression" && (t.parenthesizedAssign >= f.start && (t.parenthesizedAssign = -1), t.parenthesizedBind >= f.start && (t.parenthesizedBind = -1), t.trailingComma >= f.start && (t.trailingComma = -1)), f;
1314
1314
  };
1315
- N.parseSubscripts = function(t, e, r, a, u) {
1315
+ _.parseSubscripts = function(t, e, r, a, u) {
1316
1316
  for (var f = this.options.ecmaVersion >= 8 && t.type === "Identifier" && t.name === "async" && this.lastTokEnd === t.end && !this.canInsertSemicolon() && t.end - t.start === 5 && this.potentialArrowAt === t.start, d = !1; ; ) {
1317
- var g = this.parseSubscript(t, e, r, a, f, d, u);
1318
- if (g.optional && (d = !0), g === t || g.type === "ArrowFunctionExpression") {
1317
+ var v = this.parseSubscript(t, e, r, a, f, d, u);
1318
+ if (v.optional && (d = !0), v === t || v.type === "ArrowFunctionExpression") {
1319
1319
  if (d) {
1320
- var v = this.startNodeAt(e, r);
1321
- v.expression = g, g = this.finishNode(v, "ChainExpression");
1320
+ var g = this.startNodeAt(e, r);
1321
+ g.expression = v, v = this.finishNode(g, "ChainExpression");
1322
1322
  }
1323
- return g;
1323
+ return v;
1324
1324
  }
1325
- t = g;
1325
+ t = v;
1326
1326
  }
1327
1327
  };
1328
- N.shouldParseAsyncArrow = function() {
1328
+ _.shouldParseAsyncArrow = function() {
1329
1329
  return !this.canInsertSemicolon() && this.eat(h.arrow);
1330
1330
  };
1331
- N.parseSubscriptAsyncArrow = function(t, e, r, a) {
1331
+ _.parseSubscriptAsyncArrow = function(t, e, r, a) {
1332
1332
  return this.parseArrowExpression(this.startNodeAt(t, e), r, !0, a);
1333
1333
  };
1334
- N.parseSubscript = function(t, e, r, a, u, f, d) {
1335
- var g = this.options.ecmaVersion >= 11, v = g && this.eat(h.questionDot);
1336
- a && v && this.raise(this.lastTokStart, "Optional chaining cannot appear in the callee of new expressions");
1334
+ _.parseSubscript = function(t, e, r, a, u, f, d) {
1335
+ var v = this.options.ecmaVersion >= 11, g = v && this.eat(h.questionDot);
1336
+ a && g && this.raise(this.lastTokStart, "Optional chaining cannot appear in the callee of new expressions");
1337
1337
  var o = this.eat(h.bracketL);
1338
- if (o || v && this.type !== h.parenL && this.type !== h.backQuote || this.eat(h.dot)) {
1339
- var P = this.startNodeAt(e, r);
1340
- P.object = t, o ? (P.property = this.parseExpression(), this.expect(h.bracketR)) : this.type === h.privateId && t.type !== "Super" ? P.property = this.parsePrivateIdent() : P.property = this.parseIdent(this.options.allowReserved !== "never"), P.computed = !!o, g && (P.optional = v), t = this.finishNode(P, "MemberExpression");
1338
+ if (o || g && this.type !== h.parenL && this.type !== h.backQuote || this.eat(h.dot)) {
1339
+ var w = this.startNodeAt(e, r);
1340
+ w.object = t, o ? (w.property = this.parseExpression(), this.expect(h.bracketR)) : this.type === h.privateId && t.type !== "Super" ? w.property = this.parsePrivateIdent() : w.property = this.parseIdent(this.options.allowReserved !== "never"), w.computed = !!o, v && (w.optional = g), t = this.finishNode(w, "MemberExpression");
1341
1341
  } else if (!a && this.eat(h.parenL)) {
1342
- var I = new te(), R = this.yieldPos, K = this.awaitPos, z = this.awaitIdentPos;
1342
+ var L = new te(), F = this.yieldPos, G = this.awaitPos, J = this.awaitIdentPos;
1343
1343
  this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0;
1344
- var X = this.parseExprList(h.parenR, this.options.ecmaVersion >= 8, !1, I);
1345
- if (u && !v && this.shouldParseAsyncArrow())
1346
- return this.checkPatternErrors(I, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = R, this.awaitPos = K, this.awaitIdentPos = z, this.parseSubscriptAsyncArrow(e, r, X, d);
1347
- this.checkExpressionErrors(I, !0), this.yieldPos = R || this.yieldPos, this.awaitPos = K || this.awaitPos, this.awaitIdentPos = z || this.awaitIdentPos;
1348
- var _ = this.startNodeAt(e, r);
1349
- _.callee = t, _.arguments = X, g && (_.optional = v), t = this.finishNode(_, "CallExpression");
1344
+ var st = this.parseExprList(h.parenR, this.options.ecmaVersion >= 8, !1, L);
1345
+ if (u && !g && this.shouldParseAsyncArrow())
1346
+ return this.checkPatternErrors(L, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = F, this.awaitPos = G, this.awaitIdentPos = J, this.parseSubscriptAsyncArrow(e, r, st, d);
1347
+ this.checkExpressionErrors(L, !0), this.yieldPos = F || this.yieldPos, this.awaitPos = G || this.awaitPos, this.awaitIdentPos = J || this.awaitIdentPos;
1348
+ var I = this.startNodeAt(e, r);
1349
+ I.callee = t, I.arguments = st, v && (I.optional = g), t = this.finishNode(I, "CallExpression");
1350
1350
  } else if (this.type === h.backQuote) {
1351
- (v || f) && this.raise(this.start, "Optional chaining cannot appear in the tag of tagged template expressions");
1352
- var et = this.startNodeAt(e, r);
1353
- et.tag = t, et.quasi = this.parseTemplate({ isTagged: !0 }), t = this.finishNode(et, "TaggedTemplateExpression");
1351
+ (g || f) && this.raise(this.start, "Optional chaining cannot appear in the tag of tagged template expressions");
1352
+ var tt = this.startNodeAt(e, r);
1353
+ tt.tag = t, tt.quasi = this.parseTemplate({ isTagged: !0 }), t = this.finishNode(tt, "TaggedTemplateExpression");
1354
1354
  }
1355
1355
  return t;
1356
1356
  };
1357
- N.parseExprAtom = function(t, e, r) {
1357
+ _.parseExprAtom = function(t, e, r) {
1358
1358
  this.type === h.slash && this.readRegexp();
1359
1359
  var a, u = this.potentialArrowAt === this.start;
1360
1360
  switch (this.type) {
@@ -1363,16 +1363,16 @@ N.parseExprAtom = function(t, e, r) {
1363
1363
  case h._this:
1364
1364
  return a = this.startNode(), this.next(), this.finishNode(a, "ThisExpression");
1365
1365
  case h.name:
1366
- var f = this.start, d = this.startLoc, g = this.containsEsc, v = this.parseIdent(!1);
1367
- if (this.options.ecmaVersion >= 8 && !g && v.name === "async" && !this.canInsertSemicolon() && this.eat(h._function))
1366
+ var f = this.start, d = this.startLoc, v = this.containsEsc, g = this.parseIdent(!1);
1367
+ if (this.options.ecmaVersion >= 8 && !v && g.name === "async" && !this.canInsertSemicolon() && this.eat(h._function))
1368
1368
  return this.overrideContext(j.f_expr), this.parseFunction(this.startNodeAt(f, d), 0, !1, !0, e);
1369
1369
  if (u && !this.canInsertSemicolon()) {
1370
1370
  if (this.eat(h.arrow))
1371
- return this.parseArrowExpression(this.startNodeAt(f, d), [v], !1, e);
1372
- if (this.options.ecmaVersion >= 8 && v.name === "async" && this.type === h.name && !g && (!this.potentialArrowInForAwait || this.value !== "of" || this.containsEsc))
1373
- return v = this.parseIdent(!1), (this.canInsertSemicolon() || !this.eat(h.arrow)) && this.unexpected(), this.parseArrowExpression(this.startNodeAt(f, d), [v], !0, e);
1371
+ return this.parseArrowExpression(this.startNodeAt(f, d), [g], !1, e);
1372
+ if (this.options.ecmaVersion >= 8 && g.name === "async" && this.type === h.name && !v && (!this.potentialArrowInForAwait || this.value !== "of" || this.containsEsc))
1373
+ return g = this.parseIdent(!1), (this.canInsertSemicolon() || !this.eat(h.arrow)) && this.unexpected(), this.parseArrowExpression(this.startNodeAt(f, d), [g], !0, e);
1374
1374
  }
1375
- return v;
1375
+ return g;
1376
1376
  case h.regexp:
1377
1377
  var o = this.value;
1378
1378
  return a = this.parseLiteral(o.value), a.regex = { pattern: o.pattern, flags: o.flags }, a;
@@ -1384,8 +1384,8 @@ N.parseExprAtom = function(t, e, r) {
1384
1384
  case h._false:
1385
1385
  return a = this.startNode(), a.value = this.type === h._null ? null : this.type === h._true, a.raw = this.type.keyword, this.next(), this.finishNode(a, "Literal");
1386
1386
  case h.parenL:
1387
- var P = this.start, I = this.parseParenAndDistinguishExpression(u, e);
1388
- return t && (t.parenthesizedAssign < 0 && !this.isSimpleAssignTarget(I) && (t.parenthesizedAssign = P), t.parenthesizedBind < 0 && (t.parenthesizedBind = P)), I;
1387
+ var w = this.start, L = this.parseParenAndDistinguishExpression(u, e);
1388
+ return t && (t.parenthesizedAssign < 0 && !this.isSimpleAssignTarget(L) && (t.parenthesizedAssign = w), t.parenthesizedBind < 0 && (t.parenthesizedBind = w)), L;
1389
1389
  case h.bracketL:
1390
1390
  return a = this.startNode(), this.next(), a.elements = this.parseExprList(h.bracketR, !0, !0, t), this.finishNode(a, "ArrayExpression");
1391
1391
  case h.braceL:
@@ -1404,10 +1404,10 @@ N.parseExprAtom = function(t, e, r) {
1404
1404
  return this.parseExprAtomDefault();
1405
1405
  }
1406
1406
  };
1407
- N.parseExprAtomDefault = function() {
1407
+ _.parseExprAtomDefault = function() {
1408
1408
  this.unexpected();
1409
1409
  };
1410
- N.parseExprImport = function(t) {
1410
+ _.parseExprImport = function(t) {
1411
1411
  var e = this.startNode();
1412
1412
  if (this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword import"), this.next(), this.type === h.parenL && !t)
1413
1413
  return this.parseDynamicImport(e);
@@ -1417,7 +1417,7 @@ N.parseExprImport = function(t) {
1417
1417
  } else
1418
1418
  this.unexpected();
1419
1419
  };
1420
- N.parseDynamicImport = function(t) {
1420
+ _.parseDynamicImport = function(t) {
1421
1421
  if (this.next(), t.source = this.parseMaybeAssign(), this.options.ecmaVersion >= 16)
1422
1422
  this.eat(h.parenR) ? t.options = null : (this.expect(h.comma), this.afterTrailingComma(h.parenR) ? t.options = null : (t.options = this.parseMaybeAssign(), this.eat(h.parenR) || (this.expect(h.comma), this.afterTrailingComma(h.parenR) || this.unexpected())));
1423
1423
  else if (!this.eat(h.parenR)) {
@@ -1426,60 +1426,60 @@ N.parseDynamicImport = function(t) {
1426
1426
  }
1427
1427
  return this.finishNode(t, "ImportExpression");
1428
1428
  };
1429
- N.parseImportMeta = function(t) {
1429
+ _.parseImportMeta = function(t) {
1430
1430
  this.next();
1431
1431
  var e = this.containsEsc;
1432
1432
  return t.property = this.parseIdent(!0), t.property.name !== "meta" && this.raiseRecoverable(t.property.start, "The only valid meta property for import is 'import.meta'"), e && this.raiseRecoverable(t.start, "'import.meta' must not contain escaped characters"), this.options.sourceType !== "module" && !this.options.allowImportExportEverywhere && this.raiseRecoverable(t.start, "Cannot use 'import.meta' outside a module"), this.finishNode(t, "MetaProperty");
1433
1433
  };
1434
- N.parseLiteral = function(t) {
1434
+ _.parseLiteral = function(t) {
1435
1435
  var e = this.startNode();
1436
1436
  return e.value = t, e.raw = this.input.slice(this.start, this.end), e.raw.charCodeAt(e.raw.length - 1) === 110 && (e.bigint = e.value != null ? e.value.toString() : e.raw.slice(0, -1).replace(/_/g, "")), this.next(), this.finishNode(e, "Literal");
1437
1437
  };
1438
- N.parseParenExpression = function() {
1438
+ _.parseParenExpression = function() {
1439
1439
  this.expect(h.parenL);
1440
1440
  var t = this.parseExpression();
1441
1441
  return this.expect(h.parenR), t;
1442
1442
  };
1443
- N.shouldParseArrow = function(t) {
1443
+ _.shouldParseArrow = function(t) {
1444
1444
  return !this.canInsertSemicolon();
1445
1445
  };
1446
- N.parseParenAndDistinguishExpression = function(t, e) {
1446
+ _.parseParenAndDistinguishExpression = function(t, e) {
1447
1447
  var r = this.start, a = this.startLoc, u, f = this.options.ecmaVersion >= 8;
1448
1448
  if (this.options.ecmaVersion >= 6) {
1449
1449
  this.next();
1450
- var d = this.start, g = this.startLoc, v = [], o = !0, P = !1, I = new te(), R = this.yieldPos, K = this.awaitPos, z;
1450
+ var d = this.start, v = this.startLoc, g = [], o = !0, w = !1, L = new te(), F = this.yieldPos, G = this.awaitPos, J;
1451
1451
  for (this.yieldPos = 0, this.awaitPos = 0; this.type !== h.parenR; )
1452
1452
  if (o ? o = !1 : this.expect(h.comma), f && this.afterTrailingComma(h.parenR, !0)) {
1453
- P = !0;
1453
+ w = !0;
1454
1454
  break;
1455
1455
  } else if (this.type === h.ellipsis) {
1456
- z = this.start, v.push(this.parseParenItem(this.parseRestBinding())), this.type === h.comma && this.raiseRecoverable(
1456
+ J = this.start, g.push(this.parseParenItem(this.parseRestBinding())), this.type === h.comma && this.raiseRecoverable(
1457
1457
  this.start,
1458
1458
  "Comma is not permitted after the rest element"
1459
1459
  );
1460
1460
  break;
1461
1461
  } else
1462
- v.push(this.parseMaybeAssign(!1, I, this.parseParenItem));
1463
- var X = this.lastTokEnd, _ = this.lastTokEndLoc;
1464
- if (this.expect(h.parenR), t && this.shouldParseArrow(v) && this.eat(h.arrow))
1465
- return this.checkPatternErrors(I, !1), this.checkYieldAwaitInDefaultParams(), this.yieldPos = R, this.awaitPos = K, this.parseParenArrowList(r, a, v, e);
1466
- (!v.length || P) && this.unexpected(this.lastTokStart), z && this.unexpected(z), this.checkExpressionErrors(I, !0), this.yieldPos = R || this.yieldPos, this.awaitPos = K || this.awaitPos, v.length > 1 ? (u = this.startNodeAt(d, g), u.expressions = v, this.finishNodeAt(u, "SequenceExpression", X, _)) : u = v[0];
1462
+ g.push(this.parseMaybeAssign(!1, L, this.parseParenItem));
1463
+ var st = this.lastTokEnd, I = this.lastTokEndLoc;
1464
+ if (this.expect(h.parenR), t && this.shouldParseArrow(g) && this.eat(h.arrow))
1465
+ return this.checkPatternErrors(L, !1), this.checkYieldAwaitInDefaultParams(), this.yieldPos = F, this.awaitPos = G, this.parseParenArrowList(r, a, g, e);
1466
+ (!g.length || w) && this.unexpected(this.lastTokStart), J && this.unexpected(J), this.checkExpressionErrors(L, !0), this.yieldPos = F || this.yieldPos, this.awaitPos = G || this.awaitPos, g.length > 1 ? (u = this.startNodeAt(d, v), u.expressions = g, this.finishNodeAt(u, "SequenceExpression", st, I)) : u = g[0];
1467
1467
  } else
1468
1468
  u = this.parseParenExpression();
1469
1469
  if (this.options.preserveParens) {
1470
- var et = this.startNodeAt(r, a);
1471
- return et.expression = u, this.finishNode(et, "ParenthesizedExpression");
1470
+ var tt = this.startNodeAt(r, a);
1471
+ return tt.expression = u, this.finishNode(tt, "ParenthesizedExpression");
1472
1472
  } else
1473
1473
  return u;
1474
1474
  };
1475
- N.parseParenItem = function(t) {
1475
+ _.parseParenItem = function(t) {
1476
1476
  return t;
1477
1477
  };
1478
- N.parseParenArrowList = function(t, e, r, a) {
1478
+ _.parseParenArrowList = function(t, e, r, a) {
1479
1479
  return this.parseArrowExpression(this.startNodeAt(t, e), r, !1, a);
1480
1480
  };
1481
- var zi = [];
1482
- N.parseNew = function() {
1481
+ var Gi = [];
1482
+ _.parseNew = function() {
1483
1483
  this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword new");
1484
1484
  var t = this.startNode();
1485
1485
  if (this.next(), this.options.ecmaVersion >= 6 && this.type === h.dot) {
@@ -1489,9 +1489,9 @@ N.parseNew = function() {
1489
1489
  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'"), r && 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");
1490
1490
  }
1491
1491
  var a = this.start, u = this.startLoc;
1492
- return t.callee = this.parseSubscripts(this.parseExprAtom(null, !1, !0), a, u, !0, !1), this.eat(h.parenL) ? t.arguments = this.parseExprList(h.parenR, this.options.ecmaVersion >= 8, !1) : t.arguments = zi, this.finishNode(t, "NewExpression");
1492
+ return t.callee = this.parseSubscripts(this.parseExprAtom(null, !1, !0), a, u, !0, !1), this.eat(h.parenL) ? t.arguments = this.parseExprList(h.parenR, this.options.ecmaVersion >= 8, !1) : t.arguments = Gi, this.finishNode(t, "NewExpression");
1493
1493
  };
1494
- N.parseTemplateElement = function(t) {
1494
+ _.parseTemplateElement = function(t) {
1495
1495
  var e = t.isTagged, r = this.startNode();
1496
1496
  return this.type === h.invalidTemplate ? (e || this.raiseRecoverable(this.start, "Bad escape sequence in untagged template literal"), r.value = {
1497
1497
  raw: this.value.replace(/\r\n?/g, `
@@ -1503,7 +1503,7 @@ N.parseTemplateElement = function(t) {
1503
1503
  cooked: this.value
1504
1504
  }, this.next(), r.tail = this.type === h.backQuote, this.finishNode(r, "TemplateElement");
1505
1505
  };
1506
- N.parseTemplate = function(t) {
1506
+ _.parseTemplate = function(t) {
1507
1507
  t === void 0 && (t = {});
1508
1508
  var e = t.isTagged;
1509
1509
  e === void 0 && (e = !1);
@@ -1514,10 +1514,10 @@ N.parseTemplate = function(t) {
1514
1514
  this.type === h.eof && this.raise(this.pos, "Unterminated template literal"), this.expect(h.dollarBraceL), r.expressions.push(this.parseExpression()), this.expect(h.braceR), r.quasis.push(a = this.parseTemplateElement({ isTagged: e }));
1515
1515
  return this.next(), this.finishNode(r, "TemplateLiteral");
1516
1516
  };
1517
- N.isAsyncProp = function(t) {
1518
- return !t.computed && t.key.type === "Identifier" && t.key.name === "async" && (this.type === h.name || this.type === h.num || this.type === h.string || this.type === h.bracketL || this.type.keyword || this.options.ecmaVersion >= 9 && this.type === h.star) && !Z.test(this.input.slice(this.lastTokEnd, this.start));
1517
+ _.isAsyncProp = function(t) {
1518
+ return !t.computed && t.key.type === "Identifier" && t.key.name === "async" && (this.type === h.name || this.type === h.num || this.type === h.string || this.type === h.bracketL || this.type.keyword || this.options.ecmaVersion >= 9 && this.type === h.star) && !Y.test(this.input.slice(this.lastTokEnd, this.start));
1519
1519
  };
1520
- N.parseObj = function(t, e) {
1520
+ _.parseObj = function(t, e) {
1521
1521
  var r = this.startNode(), a = !0, u = {};
1522
1522
  for (r.properties = [], this.next(); !this.eat(h.braceR); ) {
1523
1523
  if (a)
@@ -1529,15 +1529,15 @@ N.parseObj = function(t, e) {
1529
1529
  }
1530
1530
  return this.finishNode(r, t ? "ObjectPattern" : "ObjectExpression");
1531
1531
  };
1532
- N.parseProperty = function(t, e) {
1532
+ _.parseProperty = function(t, e) {
1533
1533
  var r = this.startNode(), a, u, f, d;
1534
1534
  if (this.options.ecmaVersion >= 9 && this.eat(h.ellipsis))
1535
1535
  return t ? (r.argument = this.parseIdent(!1), this.type === h.comma && this.raiseRecoverable(this.start, "Comma is not permitted after the rest element"), this.finishNode(r, "RestElement")) : (r.argument = this.parseMaybeAssign(!1, e), this.type === h.comma && e && e.trailingComma < 0 && (e.trailingComma = this.start), this.finishNode(r, "SpreadElement"));
1536
1536
  this.options.ecmaVersion >= 6 && (r.method = !1, r.shorthand = !1, (t || e) && (f = this.start, d = this.startLoc), t || (a = this.eat(h.star)));
1537
- var g = this.containsEsc;
1538
- return this.parsePropertyName(r), !t && !g && this.options.ecmaVersion >= 8 && !a && this.isAsyncProp(r) ? (u = !0, a = this.options.ecmaVersion >= 9 && this.eat(h.star), this.parsePropertyName(r)) : u = !1, this.parsePropertyValue(r, t, a, u, f, d, e, g), this.finishNode(r, "Property");
1537
+ var v = this.containsEsc;
1538
+ return this.parsePropertyName(r), !t && !v && this.options.ecmaVersion >= 8 && !a && this.isAsyncProp(r) ? (u = !0, a = this.options.ecmaVersion >= 9 && this.eat(h.star), this.parsePropertyName(r)) : u = !1, this.parsePropertyValue(r, t, a, u, f, d, e, v), this.finishNode(r, "Property");
1539
1539
  };
1540
- N.parseGetterSetter = function(t) {
1540
+ _.parseGetterSetter = function(t) {
1541
1541
  var e = t.key.name;
1542
1542
  this.parsePropertyName(t), t.value = this.parseMethod(!1), t.kind = e;
1543
1543
  var r = t.kind === "get" ? 0 : 1;
@@ -1547,10 +1547,10 @@ N.parseGetterSetter = function(t) {
1547
1547
  } else
1548
1548
  t.kind === "set" && t.value.params[0].type === "RestElement" && this.raiseRecoverable(t.value.params[0].start, "Setter cannot use rest params");
1549
1549
  };
1550
- N.parsePropertyValue = function(t, e, r, a, u, f, d, g) {
1551
- (r || a) && this.type === h.colon && this.unexpected(), this.eat(h.colon) ? (t.value = e ? this.parseMaybeDefault(this.start, this.startLoc) : this.parseMaybeAssign(!1, d), t.kind = "init") : this.options.ecmaVersion >= 6 && this.type === h.parenL ? (e && this.unexpected(), t.method = !0, t.value = this.parseMethod(r, a), t.kind = "init") : !e && !g && this.options.ecmaVersion >= 5 && !t.computed && t.key.type === "Identifier" && (t.key.name === "get" || t.key.name === "set") && this.type !== h.comma && this.type !== h.braceR && this.type !== h.eq ? ((r || a) && this.unexpected(), this.parseGetterSetter(t)) : this.options.ecmaVersion >= 6 && !t.computed && t.key.type === "Identifier" ? ((r || a) && this.unexpected(), this.checkUnreserved(t.key), t.key.name === "await" && !this.awaitIdentPos && (this.awaitIdentPos = u), e ? t.value = this.parseMaybeDefault(u, f, this.copyNode(t.key)) : this.type === h.eq && d ? (d.shorthandAssign < 0 && (d.shorthandAssign = this.start), t.value = this.parseMaybeDefault(u, f, this.copyNode(t.key))) : t.value = this.copyNode(t.key), t.kind = "init", t.shorthand = !0) : this.unexpected();
1550
+ _.parsePropertyValue = function(t, e, r, a, u, f, d, v) {
1551
+ (r || a) && this.type === h.colon && this.unexpected(), this.eat(h.colon) ? (t.value = e ? this.parseMaybeDefault(this.start, this.startLoc) : this.parseMaybeAssign(!1, d), t.kind = "init") : this.options.ecmaVersion >= 6 && this.type === h.parenL ? (e && this.unexpected(), t.method = !0, t.value = this.parseMethod(r, a), t.kind = "init") : !e && !v && this.options.ecmaVersion >= 5 && !t.computed && t.key.type === "Identifier" && (t.key.name === "get" || t.key.name === "set") && this.type !== h.comma && this.type !== h.braceR && this.type !== h.eq ? ((r || a) && this.unexpected(), this.parseGetterSetter(t)) : this.options.ecmaVersion >= 6 && !t.computed && t.key.type === "Identifier" ? ((r || a) && this.unexpected(), this.checkUnreserved(t.key), t.key.name === "await" && !this.awaitIdentPos && (this.awaitIdentPos = u), e ? t.value = this.parseMaybeDefault(u, f, this.copyNode(t.key)) : this.type === h.eq && d ? (d.shorthandAssign < 0 && (d.shorthandAssign = this.start), t.value = this.parseMaybeDefault(u, f, this.copyNode(t.key))) : t.value = this.copyNode(t.key), t.kind = "init", t.shorthand = !0) : this.unexpected();
1552
1552
  };
1553
- N.parsePropertyName = function(t) {
1553
+ _.parsePropertyName = function(t) {
1554
1554
  if (this.options.ecmaVersion >= 6) {
1555
1555
  if (this.eat(h.bracketL))
1556
1556
  return t.computed = !0, t.key = this.parseMaybeAssign(), this.expect(h.bracketR), t.key;
@@ -1558,30 +1558,30 @@ N.parsePropertyName = function(t) {
1558
1558
  }
1559
1559
  return t.key = this.type === h.num || this.type === h.string ? this.parseExprAtom() : this.parseIdent(this.options.allowReserved !== "never");
1560
1560
  };
1561
- N.initFunction = function(t) {
1561
+ _.initFunction = function(t) {
1562
1562
  t.id = null, this.options.ecmaVersion >= 6 && (t.generator = t.expression = !1), this.options.ecmaVersion >= 8 && (t.async = !1);
1563
1563
  };
1564
- N.parseMethod = function(t, e, r) {
1564
+ _.parseMethod = function(t, e, r) {
1565
1565
  var a = this.startNode(), u = this.yieldPos, f = this.awaitPos, d = this.awaitIdentPos;
1566
- return this.initFunction(a), this.options.ecmaVersion >= 6 && (a.generator = t), this.options.ecmaVersion >= 8 && (a.async = !!e), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(be(e, a.generator) | Yt | (r ? Je : 0)), this.expect(h.parenL), a.params = this.parseBindingList(h.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams(), this.parseFunctionBody(a, !1, !0, !1), this.yieldPos = u, this.awaitPos = f, this.awaitIdentPos = d, this.finishNode(a, "FunctionExpression");
1566
+ return this.initFunction(a), this.options.ecmaVersion >= 6 && (a.generator = t), this.options.ecmaVersion >= 8 && (a.async = !!e), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Se(e, a.generator) | Yt | (r ? $e : 0)), this.expect(h.parenL), a.params = this.parseBindingList(h.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams(), this.parseFunctionBody(a, !1, !0, !1), this.yieldPos = u, this.awaitPos = f, this.awaitIdentPos = d, this.finishNode(a, "FunctionExpression");
1567
1567
  };
1568
- N.parseArrowExpression = function(t, e, r, a) {
1568
+ _.parseArrowExpression = function(t, e, r, a) {
1569
1569
  var u = this.yieldPos, f = this.awaitPos, d = this.awaitIdentPos;
1570
- return this.enterScope(be(r, !1) | ge), this.initFunction(t), this.options.ecmaVersion >= 8 && (t.async = !!r), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, t.params = this.toAssignableList(e, !0), this.parseFunctionBody(t, !0, !1, a), this.yieldPos = u, this.awaitPos = f, this.awaitIdentPos = d, this.finishNode(t, "ArrowFunctionExpression");
1570
+ return this.enterScope(Se(r, !1) | be), this.initFunction(t), this.options.ecmaVersion >= 8 && (t.async = !!r), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, t.params = this.toAssignableList(e, !0), this.parseFunctionBody(t, !0, !1, a), this.yieldPos = u, this.awaitPos = f, this.awaitIdentPos = d, this.finishNode(t, "ArrowFunctionExpression");
1571
1571
  };
1572
- N.parseFunctionBody = function(t, e, r, a) {
1572
+ _.parseFunctionBody = function(t, e, r, a) {
1573
1573
  var u = e && this.type !== h.braceL, f = this.strict, d = !1;
1574
1574
  if (u)
1575
1575
  t.body = this.parseMaybeAssign(a), t.expression = !0, this.checkParams(t, !1);
1576
1576
  else {
1577
- var g = this.options.ecmaVersion >= 7 && !this.isSimpleParamList(t.params);
1578
- (!f || g) && (d = this.strictDirective(this.end), d && g && this.raiseRecoverable(t.start, "Illegal 'use strict' directive in function with non-simple parameter list"));
1579
- var v = this.labels;
1580
- this.labels = [], d && (this.strict = !0), this.checkParams(t, !f && !d && !e && !r && this.isSimpleParamList(t.params)), this.strict && t.id && this.checkLValSimple(t.id, Xe), t.body = this.parseBlock(!1, void 0, d && !f), t.expression = !1, this.adaptDirectivePrologue(t.body.body), this.labels = v;
1577
+ var v = this.options.ecmaVersion >= 7 && !this.isSimpleParamList(t.params);
1578
+ (!f || v) && (d = this.strictDirective(this.end), d && v && this.raiseRecoverable(t.start, "Illegal 'use strict' directive in function with non-simple parameter list"));
1579
+ var g = this.labels;
1580
+ this.labels = [], d && (this.strict = !0), this.checkParams(t, !f && !d && !e && !r && this.isSimpleParamList(t.params)), this.strict && t.id && this.checkLValSimple(t.id, Ye), t.body = this.parseBlock(!1, void 0, d && !f), t.expression = !1, this.adaptDirectivePrologue(t.body.body), this.labels = g;
1581
1581
  }
1582
1582
  this.exitScope();
1583
1583
  };
1584
- N.isSimpleParamList = function(t) {
1584
+ _.isSimpleParamList = function(t) {
1585
1585
  for (var e = 0, r = t; e < r.length; e += 1) {
1586
1586
  var a = r[e];
1587
1587
  if (a.type !== "Identifier")
@@ -1589,13 +1589,13 @@ N.isSimpleParamList = function(t) {
1589
1589
  }
1590
1590
  return !0;
1591
1591
  };
1592
- N.checkParams = function(t, e) {
1592
+ _.checkParams = function(t, e) {
1593
1593
  for (var r = /* @__PURE__ */ Object.create(null), a = 0, u = t.params; a < u.length; a += 1) {
1594
1594
  var f = u[a];
1595
- this.checkLValInnerPattern(f, Se, e ? null : r);
1595
+ this.checkLValInnerPattern(f, Te, e ? null : r);
1596
1596
  }
1597
1597
  };
1598
- N.parseExprList = function(t, e, r, a) {
1598
+ _.parseExprList = function(t, e, r, a) {
1599
1599
  for (var u = [], f = !0; !this.eat(t); ) {
1600
1600
  if (f)
1601
1601
  f = !1;
@@ -1606,38 +1606,38 @@ N.parseExprList = function(t, e, r, a) {
1606
1606
  }
1607
1607
  return u;
1608
1608
  };
1609
- N.checkUnreserved = function(t) {
1609
+ _.checkUnreserved = function(t) {
1610
1610
  var e = t.start, r = t.end, a = t.name;
1611
1611
  if (this.inGenerator && a === "yield" && this.raiseRecoverable(e, "Cannot use 'yield' as identifier inside a generator"), this.inAsync && a === "await" && this.raiseRecoverable(e, "Cannot use 'await' as identifier inside an async function"), !(this.currentThisScope().flags & Zt) && a === "arguments" && this.raiseRecoverable(e, "Cannot use 'arguments' in class field initializer"), this.inClassStaticBlock && (a === "arguments" || a === "await") && this.raise(e, "Cannot use " + a + " in class static initialization block"), this.keywords.test(a) && this.raise(e, "Unexpected keyword '" + a + "'"), !(this.options.ecmaVersion < 6 && this.input.slice(e, r).indexOf("\\") !== -1)) {
1612
1612
  var u = this.strict ? this.reservedWordsStrict : this.reservedWords;
1613
1613
  u.test(a) && (!this.inAsync && a === "await" && this.raiseRecoverable(e, "Cannot use keyword 'await' outside an async function"), this.raiseRecoverable(e, "The keyword '" + a + "' is reserved"));
1614
1614
  }
1615
1615
  };
1616
- N.parseIdent = function(t) {
1616
+ _.parseIdent = function(t) {
1617
1617
  var e = this.parseIdentNode();
1618
1618
  return this.next(!!t), this.finishNode(e, "Identifier"), t || (this.checkUnreserved(e), e.name === "await" && !this.awaitIdentPos && (this.awaitIdentPos = e.start)), e;
1619
1619
  };
1620
- N.parseIdentNode = function() {
1620
+ _.parseIdentNode = function() {
1621
1621
  var t = this.startNode();
1622
1622
  return this.type === h.name ? t.name = this.value : this.type.keyword ? (t.name = this.type.keyword, (t.name === "class" || t.name === "function") && (this.lastTokEnd !== this.lastTokStart + 1 || this.input.charCodeAt(this.lastTokStart) !== 46) && this.context.pop(), this.type = h.name) : this.unexpected(), t;
1623
1623
  };
1624
- N.parsePrivateIdent = function() {
1624
+ _.parsePrivateIdent = function() {
1625
1625
  var t = this.startNode();
1626
1626
  return this.type === h.privateId ? t.name = this.value : this.unexpected(), this.next(), this.finishNode(t, "PrivateIdentifier"), this.options.checkPrivateFields && (this.privateNameStack.length === 0 ? this.raise(t.start, "Private field '#" + t.name + "' must be declared in an enclosing class") : this.privateNameStack[this.privateNameStack.length - 1].used.push(t)), t;
1627
1627
  };
1628
- N.parseYield = function(t) {
1628
+ _.parseYield = function(t) {
1629
1629
  this.yieldPos || (this.yieldPos = this.start);
1630
1630
  var e = this.startNode();
1631
1631
  return this.next(), this.type === h.semi || this.canInsertSemicolon() || this.type !== h.star && !this.type.startsExpr ? (e.delegate = !1, e.argument = null) : (e.delegate = this.eat(h.star), e.argument = this.parseMaybeAssign(t)), this.finishNode(e, "YieldExpression");
1632
1632
  };
1633
- N.parseAwait = function(t) {
1633
+ _.parseAwait = function(t) {
1634
1634
  this.awaitPos || (this.awaitPos = this.start);
1635
1635
  var e = this.startNode();
1636
1636
  return this.next(), e.argument = this.parseMaybeUnary(null, !0, !1, t), this.finishNode(e, "AwaitExpression");
1637
1637
  };
1638
1638
  var $t = W.prototype;
1639
1639
  $t.raise = function(t, e) {
1640
- var r = xe(this.input, t);
1640
+ var r = ve(this.input, t);
1641
1641
  e += " (" + r.line + ":" + r.column + ")", this.sourceFile && (e += " in " + this.sourceFile);
1642
1642
  var a = new SyntaxError(e);
1643
1643
  throw a.pos = t, a.loc = r, a.raisedAt = this.pos, a;
@@ -1647,11 +1647,11 @@ $t.curPosition = function() {
1647
1647
  if (this.options.locations)
1648
1648
  return new At(this.curLine, this.pos - this.lineStart);
1649
1649
  };
1650
- var St = W.prototype, Ji = function(e) {
1650
+ var St = W.prototype, $i = function(e) {
1651
1651
  this.flags = e, this.var = [], this.lexical = [], this.functions = [];
1652
1652
  };
1653
1653
  St.enterScope = function(t) {
1654
- this.scopeStack.push(new Ji(t));
1654
+ this.scopeStack.push(new $i(t));
1655
1655
  };
1656
1656
  St.exitScope = function() {
1657
1657
  this.scopeStack.pop();
@@ -1664,20 +1664,20 @@ St.declareName = function(t, e, r) {
1664
1664
  if (e === xt) {
1665
1665
  var u = this.currentScope();
1666
1666
  a = u.lexical.indexOf(t) > -1 || u.functions.indexOf(t) > -1 || u.var.indexOf(t) > -1, u.lexical.push(t), this.inModule && u.flags & Vt && delete this.undefinedExports[t];
1667
- } else if (e === $e) {
1667
+ } else if (e === Qe) {
1668
1668
  var f = this.currentScope();
1669
1669
  f.lexical.push(t);
1670
- } else if (e === Ge) {
1670
+ } else if (e === Xe) {
1671
1671
  var d = this.currentScope();
1672
1672
  this.treatFunctionsAsVar ? a = d.lexical.indexOf(t) > -1 : a = d.lexical.indexOf(t) > -1 || d.var.indexOf(t) > -1, d.functions.push(t);
1673
1673
  } else
1674
- for (var g = this.scopeStack.length - 1; g >= 0; --g) {
1675
- var v = this.scopeStack[g];
1676
- if (v.lexical.indexOf(t) > -1 && !(v.flags & ze && v.lexical[0] === t) || !this.treatFunctionsAsVarInScope(v) && v.functions.indexOf(t) > -1) {
1674
+ for (var v = this.scopeStack.length - 1; v >= 0; --v) {
1675
+ var g = this.scopeStack[v];
1676
+ if (g.lexical.indexOf(t) > -1 && !(g.flags & Ge && g.lexical[0] === t) || !this.treatFunctionsAsVarInScope(g) && g.functions.indexOf(t) > -1) {
1677
1677
  a = !0;
1678
1678
  break;
1679
1679
  }
1680
- if (v.var.push(t), this.inModule && v.flags & Vt && delete this.undefinedExports[t], v.flags & Zt)
1680
+ if (g.var.push(t), this.inModule && g.flags & Vt && delete this.undefinedExports[t], g.flags & Zt)
1681
1681
  break;
1682
1682
  }
1683
1683
  a && this.raiseRecoverable(r, "Identifier '" + t + "' has already been declared");
@@ -1698,7 +1698,7 @@ St.currentVarScope = function() {
1698
1698
  St.currentThisScope = function() {
1699
1699
  for (var t = this.scopeStack.length - 1; ; t--) {
1700
1700
  var e = this.scopeStack[t];
1701
- if (e.flags & (Zt | Bt | Pt) && !(e.flags & ge))
1701
+ if (e.flags & (Zt | Bt | Pt) && !(e.flags & be))
1702
1702
  return e;
1703
1703
  }
1704
1704
  };
@@ -1711,14 +1711,14 @@ Ut.startNode = function() {
1711
1711
  Ut.startNodeAt = function(t, e) {
1712
1712
  return new jt(this, t, e);
1713
1713
  };
1714
- function Ze(t, e, r, a) {
1714
+ function ei(t, e, r, a) {
1715
1715
  return t.type = e, t.end = r, this.options.locations && (t.loc.end = a), this.options.ranges && (t.range[1] = r), t;
1716
1716
  }
1717
1717
  Ut.finishNode = function(t, e) {
1718
- return Ze.call(this, t, e, this.lastTokEnd, this.lastTokEndLoc);
1718
+ return ei.call(this, t, e, this.lastTokEnd, this.lastTokEndLoc);
1719
1719
  };
1720
1720
  Ut.finishNodeAt = function(t, e, r, a) {
1721
- return Ze.call(this, t, e, r, a);
1721
+ return ei.call(this, t, e, r, a);
1722
1722
  };
1723
1723
  Ut.copyNode = function(t) {
1724
1724
  var e = new jt(this, t.start, this.startLoc);
@@ -1726,44 +1726,44 @@ Ut.copyNode = function(t) {
1726
1726
  e[r] = t[r];
1727
1727
  return e;
1728
1728
  };
1729
- var Gi = "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", ti = "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", ei = ti + " Extended_Pictographic", ii = ei, si = ii + " EBase EComp EMod EPres ExtPict", ri = si, $i = ri, Xi = {
1730
- 9: ti,
1731
- 10: ei,
1732
- 11: ii,
1733
- 12: si,
1734
- 13: ri,
1735
- 14: $i
1736
- }, Qi = "Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji", Yi = {
1729
+ var Xi = "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", ii = "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", si = ii + " Extended_Pictographic", ri = si, ai = ri + " EBase EComp EMod EPres ExtPict", ni = ai, Qi = ni, Yi = {
1730
+ 9: ii,
1731
+ 10: si,
1732
+ 11: ri,
1733
+ 12: ai,
1734
+ 13: ni,
1735
+ 14: Qi
1736
+ }, Zi = "Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji", ts = {
1737
1737
  9: "",
1738
1738
  10: "",
1739
1739
  11: "",
1740
1740
  12: "",
1741
1741
  13: "",
1742
- 14: Qi
1743
- }, Ne = "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", ai = "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", ni = ai + " Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd", oi = ni + " Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho", hi = oi + " Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi", ui = hi + " Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith", Zi = ui + " " + Gi, ts = {
1744
- 9: ai,
1745
- 10: ni,
1746
- 11: oi,
1747
- 12: hi,
1748
- 13: ui,
1749
1742
  14: Zi
1750
- }, ci = {};
1751
- function es(t) {
1752
- var e = ci[t] = {
1753
- binary: bt(Xi[t] + " " + Ne),
1754
- binaryOfStrings: bt(Yi[t]),
1743
+ }, Le = "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", oi = "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", hi = oi + " Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd", ui = hi + " Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho", ci = ui + " Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi", pi = ci + " Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith", es = pi + " " + Xi, is = {
1744
+ 9: oi,
1745
+ 10: hi,
1746
+ 11: ui,
1747
+ 12: ci,
1748
+ 13: pi,
1749
+ 14: es
1750
+ }, li = {};
1751
+ function ss(t) {
1752
+ var e = li[t] = {
1753
+ binary: bt(Yi[t] + " " + Le),
1754
+ binaryOfStrings: bt(ts[t]),
1755
1755
  nonBinary: {
1756
- General_Category: bt(Ne),
1757
- Script: bt(ts[t])
1756
+ General_Category: bt(Le),
1757
+ Script: bt(is[t])
1758
1758
  }
1759
1759
  };
1760
1760
  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;
1761
1761
  }
1762
- for (var ue = 0, Le = [9, 10, 11, 12, 13, 14]; ue < Le.length; ue += 1) {
1763
- var is = Le[ue];
1764
- es(is);
1762
+ for (var ue = 0, Oe = [9, 10, 11, 12, 13, 14]; ue < Oe.length; ue += 1) {
1763
+ var rs = Oe[ue];
1764
+ ss(rs);
1765
1765
  }
1766
- var C = W.prototype, Xt = function(e, r) {
1766
+ var P = W.prototype, Xt = function(e, r) {
1767
1767
  this.parent = e, this.base = r || this;
1768
1768
  };
1769
1769
  Xt.prototype.separatedFrom = function(e) {
@@ -1777,7 +1777,7 @@ Xt.prototype.sibling = function() {
1777
1777
  return new Xt(this.parent, this.base);
1778
1778
  };
1779
1779
  var ft = function(e) {
1780
- this.parser = e, this.validFlags = "gim" + (e.options.ecmaVersion >= 6 ? "uy" : "") + (e.options.ecmaVersion >= 9 ? "s" : "") + (e.options.ecmaVersion >= 13 ? "d" : "") + (e.options.ecmaVersion >= 15 ? "v" : ""), this.unicodeProperties = ci[e.options.ecmaVersion >= 14 ? 14 : e.options.ecmaVersion], this.source = "", this.flags = "", this.start = 0, this.switchU = !1, this.switchV = !1, this.switchN = !1, this.pos = 0, this.lastIntValue = 0, this.lastStringValue = "", this.lastAssertionIsQuantifiable = !1, this.numCapturingParens = 0, this.maxBackReference = 0, this.groupNames = /* @__PURE__ */ Object.create(null), this.backReferenceNames = [], this.branchID = null;
1780
+ this.parser = e, this.validFlags = "gim" + (e.options.ecmaVersion >= 6 ? "uy" : "") + (e.options.ecmaVersion >= 9 ? "s" : "") + (e.options.ecmaVersion >= 13 ? "d" : "") + (e.options.ecmaVersion >= 15 ? "v" : ""), this.unicodeProperties = li[e.options.ecmaVersion >= 14 ? 14 : e.options.ecmaVersion], this.source = "", this.flags = "", this.start = 0, this.switchU = !1, this.switchV = !1, this.switchN = !1, this.pos = 0, this.lastIntValue = 0, this.lastStringValue = "", this.lastAssertionIsQuantifiable = !1, this.numCapturingParens = 0, this.maxBackReference = 0, this.groupNames = /* @__PURE__ */ Object.create(null), this.backReferenceNames = [], this.branchID = null;
1781
1781
  };
1782
1782
  ft.prototype.reset = function(e, r, a) {
1783
1783
  var u = a.indexOf("v") !== -1, f = a.indexOf("u") !== -1;
@@ -1820,29 +1820,29 @@ ft.prototype.eat = function(e, r) {
1820
1820
  ft.prototype.eatChars = function(e, r) {
1821
1821
  r === void 0 && (r = !1);
1822
1822
  for (var a = this.pos, u = 0, f = e; u < f.length; u += 1) {
1823
- var d = f[u], g = this.at(a, r);
1824
- if (g === -1 || g !== d)
1823
+ var d = f[u], v = this.at(a, r);
1824
+ if (v === -1 || v !== d)
1825
1825
  return !1;
1826
1826
  a = this.nextIndex(a, r);
1827
1827
  }
1828
1828
  return this.pos = a, !0;
1829
1829
  };
1830
- C.validateRegExpFlags = function(t) {
1830
+ P.validateRegExpFlags = function(t) {
1831
1831
  for (var e = t.validFlags, r = t.flags, a = !1, u = !1, f = 0; f < r.length; f++) {
1832
1832
  var d = r.charAt(f);
1833
1833
  e.indexOf(d) === -1 && this.raise(t.start, "Invalid regular expression flag"), r.indexOf(d, f + 1) > -1 && this.raise(t.start, "Duplicate regular expression flag"), d === "u" && (a = !0), d === "v" && (u = !0);
1834
1834
  }
1835
1835
  this.options.ecmaVersion >= 15 && a && u && this.raise(t.start, "Invalid regular expression flag");
1836
1836
  };
1837
- function ss(t) {
1837
+ function as(t) {
1838
1838
  for (var e in t)
1839
1839
  return !0;
1840
1840
  return !1;
1841
1841
  }
1842
- C.validateRegExpPattern = function(t) {
1843
- this.regexp_pattern(t), !t.switchN && this.options.ecmaVersion >= 9 && ss(t.groupNames) && (t.switchN = !0, this.regexp_pattern(t));
1842
+ P.validateRegExpPattern = function(t) {
1843
+ this.regexp_pattern(t), !t.switchN && this.options.ecmaVersion >= 9 && as(t.groupNames) && (t.switchN = !0, this.regexp_pattern(t));
1844
1844
  };
1845
- C.regexp_pattern = function(t) {
1845
+ P.regexp_pattern = function(t) {
1846
1846
  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(
1847
1847
  41
1848
1848
  /* ) */
@@ -1858,7 +1858,7 @@ C.regexp_pattern = function(t) {
1858
1858
  t.groupNames[a] || t.raise("Invalid named capture referenced");
1859
1859
  }
1860
1860
  };
1861
- C.regexp_disjunction = function(t) {
1861
+ P.regexp_disjunction = function(t) {
1862
1862
  var e = this.options.ecmaVersion >= 16;
1863
1863
  for (e && (t.branchID = new Xt(t.branchID, null)), this.regexp_alternative(t); t.eat(
1864
1864
  124
@@ -1870,14 +1870,14 @@ C.regexp_disjunction = function(t) {
1870
1870
  /* { */
1871
1871
  ) && t.raise("Lone quantifier brackets");
1872
1872
  };
1873
- C.regexp_alternative = function(t) {
1873
+ P.regexp_alternative = function(t) {
1874
1874
  for (; t.pos < t.source.length && this.regexp_eatTerm(t); )
1875
1875
  ;
1876
1876
  };
1877
- C.regexp_eatTerm = function(t) {
1877
+ P.regexp_eatTerm = function(t) {
1878
1878
  return this.regexp_eatAssertion(t) ? (t.lastAssertionIsQuantifiable && this.regexp_eatQuantifier(t) && t.switchU && t.raise("Invalid quantifier"), !0) : (t.switchU ? this.regexp_eatAtom(t) : this.regexp_eatExtendedAtom(t)) ? (this.regexp_eatQuantifier(t), !0) : !1;
1879
1879
  };
1880
- C.regexp_eatAssertion = function(t) {
1880
+ P.regexp_eatAssertion = function(t) {
1881
1881
  var e = t.pos;
1882
1882
  if (t.lastAssertionIsQuantifiable = !1, t.eat(
1883
1883
  94
@@ -1926,13 +1926,13 @@ C.regexp_eatAssertion = function(t) {
1926
1926
  }
1927
1927
  return t.pos = e, !1;
1928
1928
  };
1929
- C.regexp_eatQuantifier = function(t, e) {
1929
+ P.regexp_eatQuantifier = function(t, e) {
1930
1930
  return e === void 0 && (e = !1), this.regexp_eatQuantifierPrefix(t, e) ? (t.eat(
1931
1931
  63
1932
1932
  /* ? */
1933
1933
  ), !0) : !1;
1934
1934
  };
1935
- C.regexp_eatQuantifierPrefix = function(t, e) {
1935
+ P.regexp_eatQuantifierPrefix = function(t, e) {
1936
1936
  return t.eat(
1937
1937
  42
1938
1938
  /* * */
@@ -1944,7 +1944,7 @@ C.regexp_eatQuantifierPrefix = function(t, e) {
1944
1944
  /* ? */
1945
1945
  ) || this.regexp_eatBracedQuantifier(t, e);
1946
1946
  };
1947
- C.regexp_eatBracedQuantifier = function(t, e) {
1947
+ P.regexp_eatBracedQuantifier = function(t, e) {
1948
1948
  var r = t.pos;
1949
1949
  if (t.eat(
1950
1950
  123
@@ -1963,13 +1963,13 @@ C.regexp_eatBracedQuantifier = function(t, e) {
1963
1963
  }
1964
1964
  return !1;
1965
1965
  };
1966
- C.regexp_eatAtom = function(t) {
1966
+ P.regexp_eatAtom = function(t) {
1967
1967
  return this.regexp_eatPatternCharacters(t) || t.eat(
1968
1968
  46
1969
1969
  /* . */
1970
1970
  ) || this.regexp_eatReverseSolidusAtomEscape(t) || this.regexp_eatCharacterClass(t) || this.regexp_eatUncapturingGroup(t) || this.regexp_eatCapturingGroup(t);
1971
1971
  };
1972
- C.regexp_eatReverseSolidusAtomEscape = function(t) {
1972
+ P.regexp_eatReverseSolidusAtomEscape = function(t) {
1973
1973
  var e = t.pos;
1974
1974
  if (t.eat(
1975
1975
  92
@@ -1981,7 +1981,7 @@ C.regexp_eatReverseSolidusAtomEscape = function(t) {
1981
1981
  }
1982
1982
  return !1;
1983
1983
  };
1984
- C.regexp_eatUncapturingGroup = function(t) {
1984
+ P.regexp_eatUncapturingGroup = function(t) {
1985
1985
  var e = t.pos;
1986
1986
  if (t.eat(
1987
1987
  40
@@ -2004,9 +2004,9 @@ C.regexp_eatUncapturingGroup = function(t) {
2004
2004
  if (a) {
2005
2005
  var d = this.regexp_eatModifiers(t);
2006
2006
  !r && !d && t.current() === 58 && t.raise("Invalid regular expression modifiers");
2007
- for (var g = 0; g < d.length; g++) {
2008
- var v = d.charAt(g);
2009
- (d.indexOf(v, g + 1) > -1 || r.indexOf(v) > -1) && t.raise("Duplicate regular expression modifiers");
2007
+ for (var v = 0; v < d.length; v++) {
2008
+ var g = d.charAt(v);
2009
+ (d.indexOf(g, v + 1) > -1 || r.indexOf(g) > -1) && t.raise("Duplicate regular expression modifiers");
2010
2010
  }
2011
2011
  }
2012
2012
  }
@@ -2027,7 +2027,7 @@ C.regexp_eatUncapturingGroup = function(t) {
2027
2027
  }
2028
2028
  return !1;
2029
2029
  };
2030
- C.regexp_eatCapturingGroup = function(t) {
2030
+ P.regexp_eatCapturingGroup = function(t) {
2031
2031
  if (t.eat(
2032
2032
  40
2033
2033
  /* ( */
@@ -2041,40 +2041,40 @@ C.regexp_eatCapturingGroup = function(t) {
2041
2041
  }
2042
2042
  return !1;
2043
2043
  };
2044
- C.regexp_eatModifiers = function(t) {
2045
- for (var e = "", r = 0; (r = t.current()) !== -1 && rs(r); )
2044
+ P.regexp_eatModifiers = function(t) {
2045
+ for (var e = "", r = 0; (r = t.current()) !== -1 && ns(r); )
2046
2046
  e += mt(r), t.advance();
2047
2047
  return e;
2048
2048
  };
2049
- function rs(t) {
2049
+ function ns(t) {
2050
2050
  return t === 105 || t === 109 || t === 115;
2051
2051
  }
2052
- C.regexp_eatExtendedAtom = function(t) {
2052
+ P.regexp_eatExtendedAtom = function(t) {
2053
2053
  return t.eat(
2054
2054
  46
2055
2055
  /* . */
2056
2056
  ) || this.regexp_eatReverseSolidusAtomEscape(t) || this.regexp_eatCharacterClass(t) || this.regexp_eatUncapturingGroup(t) || this.regexp_eatCapturingGroup(t) || this.regexp_eatInvalidBracedQuantifier(t) || this.regexp_eatExtendedPatternCharacter(t);
2057
2057
  };
2058
- C.regexp_eatInvalidBracedQuantifier = function(t) {
2058
+ P.regexp_eatInvalidBracedQuantifier = function(t) {
2059
2059
  return this.regexp_eatBracedQuantifier(t, !0) && t.raise("Nothing to repeat"), !1;
2060
2060
  };
2061
- C.regexp_eatSyntaxCharacter = function(t) {
2061
+ P.regexp_eatSyntaxCharacter = function(t) {
2062
2062
  var e = t.current();
2063
- return pi(e) ? (t.lastIntValue = e, t.advance(), !0) : !1;
2063
+ return fi(e) ? (t.lastIntValue = e, t.advance(), !0) : !1;
2064
2064
  };
2065
- function pi(t) {
2065
+ function fi(t) {
2066
2066
  return t === 36 || t >= 40 && t <= 43 || t === 46 || t === 63 || t >= 91 && t <= 94 || t >= 123 && t <= 125;
2067
2067
  }
2068
- C.regexp_eatPatternCharacters = function(t) {
2069
- for (var e = t.pos, r = 0; (r = t.current()) !== -1 && !pi(r); )
2068
+ P.regexp_eatPatternCharacters = function(t) {
2069
+ for (var e = t.pos, r = 0; (r = t.current()) !== -1 && !fi(r); )
2070
2070
  t.advance();
2071
2071
  return t.pos !== e;
2072
2072
  };
2073
- C.regexp_eatExtendedPatternCharacter = function(t) {
2073
+ P.regexp_eatExtendedPatternCharacter = function(t) {
2074
2074
  var e = t.current();
2075
2075
  return e !== -1 && e !== 36 && !(e >= 40 && e <= 43) && e !== 46 && e !== 63 && e !== 91 && e !== 94 && e !== 124 ? (t.advance(), !0) : !1;
2076
2076
  };
2077
- C.regexp_groupSpecifier = function(t) {
2077
+ P.regexp_groupSpecifier = function(t) {
2078
2078
  if (t.eat(
2079
2079
  63
2080
2080
  /* ? */
@@ -2092,7 +2092,7 @@ C.regexp_groupSpecifier = function(t) {
2092
2092
  e ? (r || (t.groupNames[t.lastStringValue] = [])).push(t.branchID) : t.groupNames[t.lastStringValue] = !0;
2093
2093
  }
2094
2094
  };
2095
- C.regexp_eatGroupName = function(t) {
2095
+ P.regexp_eatGroupName = function(t) {
2096
2096
  if (t.lastStringValue = "", t.eat(
2097
2097
  60
2098
2098
  /* < */
@@ -2106,7 +2106,7 @@ C.regexp_eatGroupName = function(t) {
2106
2106
  }
2107
2107
  return !1;
2108
2108
  };
2109
- C.regexp_eatRegExpIdentifierName = function(t) {
2109
+ P.regexp_eatRegExpIdentifierName = function(t) {
2110
2110
  if (t.lastStringValue = "", this.regexp_eatRegExpIdentifierStart(t)) {
2111
2111
  for (t.lastStringValue += mt(t.lastIntValue); this.regexp_eatRegExpIdentifierPart(t); )
2112
2112
  t.lastStringValue += mt(t.lastIntValue);
@@ -2114,24 +2114,24 @@ C.regexp_eatRegExpIdentifierName = function(t) {
2114
2114
  }
2115
2115
  return !1;
2116
2116
  };
2117
- C.regexp_eatRegExpIdentifierStart = function(t) {
2117
+ P.regexp_eatRegExpIdentifierStart = function(t) {
2118
2118
  var e = t.pos, r = this.options.ecmaVersion >= 11, a = t.current(r);
2119
- return t.advance(r), a === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(t, r) && (a = t.lastIntValue), as(a) ? (t.lastIntValue = a, !0) : (t.pos = e, !1);
2119
+ return t.advance(r), a === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(t, r) && (a = t.lastIntValue), os(a) ? (t.lastIntValue = a, !0) : (t.pos = e, !1);
2120
2120
  };
2121
- function as(t) {
2121
+ function os(t) {
2122
2122
  return pt(t, !0) || t === 36 || t === 95;
2123
2123
  }
2124
- C.regexp_eatRegExpIdentifierPart = function(t) {
2124
+ P.regexp_eatRegExpIdentifierPart = function(t) {
2125
2125
  var e = t.pos, r = this.options.ecmaVersion >= 11, a = t.current(r);
2126
- return t.advance(r), a === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(t, r) && (a = t.lastIntValue), ns(a) ? (t.lastIntValue = a, !0) : (t.pos = e, !1);
2126
+ return t.advance(r), a === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(t, r) && (a = t.lastIntValue), hs(a) ? (t.lastIntValue = a, !0) : (t.pos = e, !1);
2127
2127
  };
2128
- function ns(t) {
2128
+ function hs(t) {
2129
2129
  return dt(t, !0) || t === 36 || t === 95 || t === 8204 || t === 8205;
2130
2130
  }
2131
- C.regexp_eatAtomEscape = function(t) {
2131
+ P.regexp_eatAtomEscape = function(t) {
2132
2132
  return this.regexp_eatBackReference(t) || this.regexp_eatCharacterClassEscape(t) || this.regexp_eatCharacterEscape(t) || t.switchN && this.regexp_eatKGroupName(t) ? !0 : (t.switchU && (t.current() === 99 && t.raise("Invalid unicode escape"), t.raise("Invalid escape")), !1);
2133
2133
  };
2134
- C.regexp_eatBackReference = function(t) {
2134
+ P.regexp_eatBackReference = function(t) {
2135
2135
  var e = t.pos;
2136
2136
  if (this.regexp_eatDecimalEscape(t)) {
2137
2137
  var r = t.lastIntValue;
@@ -2143,7 +2143,7 @@ C.regexp_eatBackReference = function(t) {
2143
2143
  }
2144
2144
  return !1;
2145
2145
  };
2146
- C.regexp_eatKGroupName = function(t) {
2146
+ P.regexp_eatKGroupName = function(t) {
2147
2147
  if (t.eat(
2148
2148
  107
2149
2149
  /* k */
@@ -2154,10 +2154,10 @@ C.regexp_eatKGroupName = function(t) {
2154
2154
  }
2155
2155
  return !1;
2156
2156
  };
2157
- C.regexp_eatCharacterEscape = function(t) {
2157
+ P.regexp_eatCharacterEscape = function(t) {
2158
2158
  return this.regexp_eatControlEscape(t) || this.regexp_eatCControlLetter(t) || this.regexp_eatZero(t) || this.regexp_eatHexEscapeSequence(t) || this.regexp_eatRegExpUnicodeEscapeSequence(t, !1) || !t.switchU && this.regexp_eatLegacyOctalEscapeSequence(t) || this.regexp_eatIdentityEscape(t);
2159
2159
  };
2160
- C.regexp_eatCControlLetter = function(t) {
2160
+ P.regexp_eatCControlLetter = function(t) {
2161
2161
  var e = t.pos;
2162
2162
  if (t.eat(
2163
2163
  99
@@ -2169,21 +2169,21 @@ C.regexp_eatCControlLetter = function(t) {
2169
2169
  }
2170
2170
  return !1;
2171
2171
  };
2172
- C.regexp_eatZero = function(t) {
2172
+ P.regexp_eatZero = function(t) {
2173
2173
  return t.current() === 48 && !ee(t.lookahead()) ? (t.lastIntValue = 0, t.advance(), !0) : !1;
2174
2174
  };
2175
- C.regexp_eatControlEscape = function(t) {
2175
+ P.regexp_eatControlEscape = function(t) {
2176
2176
  var e = t.current();
2177
2177
  return e === 116 ? (t.lastIntValue = 9, t.advance(), !0) : e === 110 ? (t.lastIntValue = 10, t.advance(), !0) : e === 118 ? (t.lastIntValue = 11, t.advance(), !0) : e === 102 ? (t.lastIntValue = 12, t.advance(), !0) : e === 114 ? (t.lastIntValue = 13, t.advance(), !0) : !1;
2178
2178
  };
2179
- C.regexp_eatControlLetter = function(t) {
2179
+ P.regexp_eatControlLetter = function(t) {
2180
2180
  var e = t.current();
2181
- return li(e) ? (t.lastIntValue = e % 32, t.advance(), !0) : !1;
2181
+ return di(e) ? (t.lastIntValue = e % 32, t.advance(), !0) : !1;
2182
2182
  };
2183
- function li(t) {
2183
+ function di(t) {
2184
2184
  return t >= 65 && t <= 90 || t >= 97 && t <= 122;
2185
2185
  }
2186
- C.regexp_eatRegExpUnicodeEscapeSequence = function(t, e) {
2186
+ P.regexp_eatRegExpUnicodeEscapeSequence = function(t, e) {
2187
2187
  e === void 0 && (e = !1);
2188
2188
  var r = t.pos, a = e || t.switchU;
2189
2189
  if (t.eat(
@@ -2215,16 +2215,16 @@ C.regexp_eatRegExpUnicodeEscapeSequence = function(t, e) {
2215
2215
  ) && this.regexp_eatHexDigits(t) && t.eat(
2216
2216
  125
2217
2217
  /* } */
2218
- ) && os(t.lastIntValue))
2218
+ ) && us(t.lastIntValue))
2219
2219
  return !0;
2220
2220
  a && t.raise("Invalid unicode escape"), t.pos = r;
2221
2221
  }
2222
2222
  return !1;
2223
2223
  };
2224
- function os(t) {
2224
+ function us(t) {
2225
2225
  return t >= 0 && t <= 1114111;
2226
2226
  }
2227
- C.regexp_eatIdentityEscape = function(t) {
2227
+ P.regexp_eatIdentityEscape = function(t) {
2228
2228
  if (t.switchU)
2229
2229
  return this.regexp_eatSyntaxCharacter(t) ? !0 : t.eat(
2230
2230
  47
@@ -2233,7 +2233,7 @@ C.regexp_eatIdentityEscape = function(t) {
2233
2233
  var e = t.current();
2234
2234
  return e !== 99 && (!t.switchN || e !== 107) ? (t.lastIntValue = e, t.advance(), !0) : !1;
2235
2235
  };
2236
- C.regexp_eatDecimalEscape = function(t) {
2236
+ P.regexp_eatDecimalEscape = function(t) {
2237
2237
  t.lastIntValue = 0;
2238
2238
  var e = t.current();
2239
2239
  if (e >= 49 && e <= 57) {
@@ -2244,10 +2244,10 @@ C.regexp_eatDecimalEscape = function(t) {
2244
2244
  }
2245
2245
  return !1;
2246
2246
  };
2247
- var fi = 0, yt = 1, ut = 2;
2248
- C.regexp_eatCharacterClassEscape = function(t) {
2247
+ var mi = 0, yt = 1, ut = 2;
2248
+ P.regexp_eatCharacterClassEscape = function(t) {
2249
2249
  var e = t.current();
2250
- if (hs(e))
2250
+ if (cs(e))
2251
2251
  return t.lastIntValue = -1, t.advance(), yt;
2252
2252
  var r = !1;
2253
2253
  if (t.switchU && this.options.ecmaVersion >= 9 && ((r = e === 80) || e === 112)) {
@@ -2263,12 +2263,12 @@ C.regexp_eatCharacterClassEscape = function(t) {
2263
2263
  return r && a === ut && t.raise("Invalid property name"), a;
2264
2264
  t.raise("Invalid property name");
2265
2265
  }
2266
- return fi;
2266
+ return mi;
2267
2267
  };
2268
- function hs(t) {
2268
+ function cs(t) {
2269
2269
  return t === 100 || t === 68 || t === 115 || t === 83 || t === 119 || t === 87;
2270
2270
  }
2271
- C.regexp_eatUnicodePropertyValueExpression = function(t) {
2271
+ P.regexp_eatUnicodePropertyValueExpression = function(t) {
2272
2272
  var e = t.pos;
2273
2273
  if (this.regexp_eatUnicodePropertyName(t) && t.eat(
2274
2274
  61
@@ -2284,40 +2284,40 @@ C.regexp_eatUnicodePropertyValueExpression = function(t) {
2284
2284
  var u = t.lastStringValue;
2285
2285
  return this.regexp_validateUnicodePropertyNameOrValue(t, u);
2286
2286
  }
2287
- return fi;
2287
+ return mi;
2288
2288
  };
2289
- C.regexp_validateUnicodePropertyNameAndValue = function(t, e, r) {
2289
+ P.regexp_validateUnicodePropertyNameAndValue = function(t, e, r) {
2290
2290
  wt(t.unicodeProperties.nonBinary, e) || t.raise("Invalid property name"), t.unicodeProperties.nonBinary[e].test(r) || t.raise("Invalid property value");
2291
2291
  };
2292
- C.regexp_validateUnicodePropertyNameOrValue = function(t, e) {
2292
+ P.regexp_validateUnicodePropertyNameOrValue = function(t, e) {
2293
2293
  if (t.unicodeProperties.binary.test(e))
2294
2294
  return yt;
2295
2295
  if (t.switchV && t.unicodeProperties.binaryOfStrings.test(e))
2296
2296
  return ut;
2297
2297
  t.raise("Invalid property name");
2298
2298
  };
2299
- C.regexp_eatUnicodePropertyName = function(t) {
2299
+ P.regexp_eatUnicodePropertyName = function(t) {
2300
2300
  var e = 0;
2301
- for (t.lastStringValue = ""; di(e = t.current()); )
2301
+ for (t.lastStringValue = ""; yi(e = t.current()); )
2302
2302
  t.lastStringValue += mt(e), t.advance();
2303
2303
  return t.lastStringValue !== "";
2304
2304
  };
2305
- function di(t) {
2306
- return li(t) || t === 95;
2305
+ function yi(t) {
2306
+ return di(t) || t === 95;
2307
2307
  }
2308
- C.regexp_eatUnicodePropertyValue = function(t) {
2308
+ P.regexp_eatUnicodePropertyValue = function(t) {
2309
2309
  var e = 0;
2310
- for (t.lastStringValue = ""; us(e = t.current()); )
2310
+ for (t.lastStringValue = ""; ps(e = t.current()); )
2311
2311
  t.lastStringValue += mt(e), t.advance();
2312
2312
  return t.lastStringValue !== "";
2313
2313
  };
2314
- function us(t) {
2315
- return di(t) || ee(t);
2314
+ function ps(t) {
2315
+ return yi(t) || ee(t);
2316
2316
  }
2317
- C.regexp_eatLoneUnicodePropertyNameOrValue = function(t) {
2317
+ P.regexp_eatLoneUnicodePropertyNameOrValue = function(t) {
2318
2318
  return this.regexp_eatUnicodePropertyValue(t);
2319
2319
  };
2320
- C.regexp_eatCharacterClass = function(t) {
2320
+ P.regexp_eatCharacterClass = function(t) {
2321
2321
  if (t.eat(
2322
2322
  91
2323
2323
  /* [ */
@@ -2333,10 +2333,10 @@ C.regexp_eatCharacterClass = function(t) {
2333
2333
  }
2334
2334
  return !1;
2335
2335
  };
2336
- C.regexp_classContents = function(t) {
2336
+ P.regexp_classContents = function(t) {
2337
2337
  return t.current() === 93 ? yt : t.switchV ? this.regexp_classSetExpression(t) : (this.regexp_nonEmptyClassRanges(t), yt);
2338
2338
  };
2339
- C.regexp_nonEmptyClassRanges = function(t) {
2339
+ P.regexp_nonEmptyClassRanges = function(t) {
2340
2340
  for (; this.regexp_eatClassAtom(t); ) {
2341
2341
  var e = t.lastIntValue;
2342
2342
  if (t.eat(
@@ -2348,7 +2348,7 @@ C.regexp_nonEmptyClassRanges = function(t) {
2348
2348
  }
2349
2349
  }
2350
2350
  };
2351
- C.regexp_eatClassAtom = function(t) {
2351
+ P.regexp_eatClassAtom = function(t) {
2352
2352
  var e = t.pos;
2353
2353
  if (t.eat(
2354
2354
  92
@@ -2358,14 +2358,14 @@ C.regexp_eatClassAtom = function(t) {
2358
2358
  return !0;
2359
2359
  if (t.switchU) {
2360
2360
  var r = t.current();
2361
- (r === 99 || xi(r)) && t.raise("Invalid class escape"), t.raise("Invalid escape");
2361
+ (r === 99 || gi(r)) && t.raise("Invalid class escape"), t.raise("Invalid escape");
2362
2362
  }
2363
2363
  t.pos = e;
2364
2364
  }
2365
2365
  var a = t.current();
2366
2366
  return a !== 93 ? (t.lastIntValue = a, t.advance(), !0) : !1;
2367
2367
  };
2368
- C.regexp_eatClassEscape = function(t) {
2368
+ P.regexp_eatClassEscape = function(t) {
2369
2369
  var e = t.pos;
2370
2370
  if (t.eat(
2371
2371
  98
@@ -2387,7 +2387,7 @@ C.regexp_eatClassEscape = function(t) {
2387
2387
  }
2388
2388
  return this.regexp_eatCharacterClassEscape(t) || this.regexp_eatCharacterEscape(t);
2389
2389
  };
2390
- C.regexp_classSetExpression = function(t) {
2390
+ P.regexp_classSetExpression = function(t) {
2391
2391
  var e = yt, r;
2392
2392
  if (!this.regexp_eatClassSetRange(t)) if (r = this.regexp_eatClassSetOperand(t)) {
2393
2393
  r === ut && (e = ut);
@@ -2419,7 +2419,7 @@ C.regexp_classSetExpression = function(t) {
2419
2419
  r === ut && (e = ut);
2420
2420
  }
2421
2421
  };
2422
- C.regexp_eatClassSetRange = function(t) {
2422
+ P.regexp_eatClassSetRange = function(t) {
2423
2423
  var e = t.pos;
2424
2424
  if (this.regexp_eatClassSetCharacter(t)) {
2425
2425
  var r = t.lastIntValue;
@@ -2434,10 +2434,10 @@ C.regexp_eatClassSetRange = function(t) {
2434
2434
  }
2435
2435
  return !1;
2436
2436
  };
2437
- C.regexp_eatClassSetOperand = function(t) {
2437
+ P.regexp_eatClassSetOperand = function(t) {
2438
2438
  return this.regexp_eatClassSetCharacter(t) ? yt : this.regexp_eatClassStringDisjunction(t) || this.regexp_eatNestedClass(t);
2439
2439
  };
2440
- C.regexp_eatNestedClass = function(t) {
2440
+ P.regexp_eatNestedClass = function(t) {
2441
2441
  var e = t.pos;
2442
2442
  if (t.eat(
2443
2443
  91
@@ -2465,7 +2465,7 @@ C.regexp_eatNestedClass = function(t) {
2465
2465
  }
2466
2466
  return null;
2467
2467
  };
2468
- C.regexp_eatClassStringDisjunction = function(t) {
2468
+ P.regexp_eatClassStringDisjunction = function(t) {
2469
2469
  var e = t.pos;
2470
2470
  if (t.eatChars(
2471
2471
  [92, 113]
@@ -2487,7 +2487,7 @@ C.regexp_eatClassStringDisjunction = function(t) {
2487
2487
  }
2488
2488
  return null;
2489
2489
  };
2490
- C.regexp_classStringDisjunctionContents = function(t) {
2490
+ P.regexp_classStringDisjunctionContents = function(t) {
2491
2491
  for (var e = this.regexp_classString(t); t.eat(
2492
2492
  124
2493
2493
  /* | */
@@ -2495,12 +2495,12 @@ C.regexp_classStringDisjunctionContents = function(t) {
2495
2495
  this.regexp_classString(t) === ut && (e = ut);
2496
2496
  return e;
2497
2497
  };
2498
- C.regexp_classString = function(t) {
2498
+ P.regexp_classString = function(t) {
2499
2499
  for (var e = 0; this.regexp_eatClassSetCharacter(t); )
2500
2500
  e++;
2501
2501
  return e === 1 ? yt : ut;
2502
2502
  };
2503
- C.regexp_eatClassSetCharacter = function(t) {
2503
+ P.regexp_eatClassSetCharacter = function(t) {
2504
2504
  var e = t.pos;
2505
2505
  if (t.eat(
2506
2506
  92
@@ -2511,26 +2511,26 @@ C.regexp_eatClassSetCharacter = function(t) {
2511
2511
  /* b */
2512
2512
  ) ? (t.lastIntValue = 8, !0) : (t.pos = e, !1);
2513
2513
  var r = t.current();
2514
- return r < 0 || r === t.lookahead() && cs(r) || ps(r) ? !1 : (t.advance(), t.lastIntValue = r, !0);
2514
+ return r < 0 || r === t.lookahead() && ls(r) || fs(r) ? !1 : (t.advance(), t.lastIntValue = r, !0);
2515
2515
  };
2516
- function cs(t) {
2516
+ function ls(t) {
2517
2517
  return t === 33 || t >= 35 && t <= 38 || t >= 42 && t <= 44 || t === 46 || t >= 58 && t <= 64 || t === 94 || t === 96 || t === 126;
2518
2518
  }
2519
- function ps(t) {
2519
+ function fs(t) {
2520
2520
  return t === 40 || t === 41 || t === 45 || t === 47 || t >= 91 && t <= 93 || t >= 123 && t <= 125;
2521
2521
  }
2522
- C.regexp_eatClassSetReservedPunctuator = function(t) {
2522
+ P.regexp_eatClassSetReservedPunctuator = function(t) {
2523
2523
  var e = t.current();
2524
- return ls(e) ? (t.lastIntValue = e, t.advance(), !0) : !1;
2524
+ return ds(e) ? (t.lastIntValue = e, t.advance(), !0) : !1;
2525
2525
  };
2526
- function ls(t) {
2526
+ function ds(t) {
2527
2527
  return t === 33 || t === 35 || t === 37 || t === 38 || t === 44 || t === 45 || t >= 58 && t <= 62 || t === 64 || t === 96 || t === 126;
2528
2528
  }
2529
- C.regexp_eatClassControlLetter = function(t) {
2529
+ P.regexp_eatClassControlLetter = function(t) {
2530
2530
  var e = t.current();
2531
2531
  return ee(e) || e === 95 ? (t.lastIntValue = e % 32, t.advance(), !0) : !1;
2532
2532
  };
2533
- C.regexp_eatHexEscapeSequence = function(t) {
2533
+ P.regexp_eatHexEscapeSequence = function(t) {
2534
2534
  var e = t.pos;
2535
2535
  if (t.eat(
2536
2536
  120
@@ -2542,7 +2542,7 @@ C.regexp_eatHexEscapeSequence = function(t) {
2542
2542
  }
2543
2543
  return !1;
2544
2544
  };
2545
- C.regexp_eatDecimalDigits = function(t) {
2545
+ P.regexp_eatDecimalDigits = function(t) {
2546
2546
  var e = t.pos, r = 0;
2547
2547
  for (t.lastIntValue = 0; ee(r = t.current()); )
2548
2548
  t.lastIntValue = 10 * t.lastIntValue + (r - 48), t.advance();
@@ -2551,19 +2551,19 @@ C.regexp_eatDecimalDigits = function(t) {
2551
2551
  function ee(t) {
2552
2552
  return t >= 48 && t <= 57;
2553
2553
  }
2554
- C.regexp_eatHexDigits = function(t) {
2554
+ P.regexp_eatHexDigits = function(t) {
2555
2555
  var e = t.pos, r = 0;
2556
- for (t.lastIntValue = 0; mi(r = t.current()); )
2557
- t.lastIntValue = 16 * t.lastIntValue + yi(r), t.advance();
2556
+ for (t.lastIntValue = 0; xi(r = t.current()); )
2557
+ t.lastIntValue = 16 * t.lastIntValue + vi(r), t.advance();
2558
2558
  return t.pos !== e;
2559
2559
  };
2560
- function mi(t) {
2560
+ function xi(t) {
2561
2561
  return t >= 48 && t <= 57 || t >= 65 && t <= 70 || t >= 97 && t <= 102;
2562
2562
  }
2563
- function yi(t) {
2563
+ function vi(t) {
2564
2564
  return t >= 65 && t <= 70 ? 10 + (t - 65) : t >= 97 && t <= 102 ? 10 + (t - 97) : t - 48;
2565
2565
  }
2566
- C.regexp_eatLegacyOctalEscapeSequence = function(t) {
2566
+ P.regexp_eatLegacyOctalEscapeSequence = function(t) {
2567
2567
  if (this.regexp_eatOctalDigit(t)) {
2568
2568
  var e = t.lastIntValue;
2569
2569
  if (this.regexp_eatOctalDigit(t)) {
@@ -2575,34 +2575,34 @@ C.regexp_eatLegacyOctalEscapeSequence = function(t) {
2575
2575
  }
2576
2576
  return !1;
2577
2577
  };
2578
- C.regexp_eatOctalDigit = function(t) {
2578
+ P.regexp_eatOctalDigit = function(t) {
2579
2579
  var e = t.current();
2580
- return xi(e) ? (t.lastIntValue = e - 48, t.advance(), !0) : (t.lastIntValue = 0, !1);
2580
+ return gi(e) ? (t.lastIntValue = e - 48, t.advance(), !0) : (t.lastIntValue = 0, !1);
2581
2581
  };
2582
- function xi(t) {
2582
+ function gi(t) {
2583
2583
  return t >= 48 && t <= 55;
2584
2584
  }
2585
- C.regexp_eatFixedHexDigits = function(t, e) {
2585
+ P.regexp_eatFixedHexDigits = function(t, e) {
2586
2586
  var r = t.pos;
2587
2587
  t.lastIntValue = 0;
2588
2588
  for (var a = 0; a < e; ++a) {
2589
2589
  var u = t.current();
2590
- if (!mi(u))
2590
+ if (!xi(u))
2591
2591
  return t.pos = r, !1;
2592
- t.lastIntValue = 16 * t.lastIntValue + yi(u), t.advance();
2592
+ t.lastIntValue = 16 * t.lastIntValue + vi(u), t.advance();
2593
2593
  }
2594
2594
  return !0;
2595
2595
  };
2596
2596
  var ie = function(e) {
2597
2597
  this.type = e.type, this.value = e.value, this.start = e.start, this.end = e.end, e.options.locations && (this.loc = new Ft(e, e.startLoc, e.endLoc)), e.options.ranges && (this.range = [e.start, e.end]);
2598
- }, D = W.prototype;
2599
- D.next = function(t) {
2598
+ }, M = W.prototype;
2599
+ M.next = function(t) {
2600
2600
  !t && this.type.keyword && this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword " + this.type.keyword), this.options.onToken && this.options.onToken(new ie(this)), this.lastTokEnd = this.end, this.lastTokStart = this.start, this.lastTokEndLoc = this.endLoc, this.lastTokStartLoc = this.startLoc, this.nextToken();
2601
2601
  };
2602
- D.getToken = function() {
2602
+ M.getToken = function() {
2603
2603
  return this.next(), new ie(this);
2604
2604
  };
2605
- typeof Symbol < "u" && (D[Symbol.iterator] = function() {
2605
+ typeof Symbol < "u" && (M[Symbol.iterator] = function() {
2606
2606
  var t = this;
2607
2607
  return {
2608
2608
  next: function() {
@@ -2614,7 +2614,7 @@ typeof Symbol < "u" && (D[Symbol.iterator] = function() {
2614
2614
  }
2615
2615
  };
2616
2616
  });
2617
- D.nextToken = function() {
2617
+ M.nextToken = function() {
2618
2618
  var t = this.curContext();
2619
2619
  if ((!t || !t.preserveSpace) && this.skipSpace(), this.start = this.pos, this.options.locations && (this.startLoc = this.curPosition()), this.pos >= this.input.length)
2620
2620
  return this.finishToken(h.eof);
@@ -2622,20 +2622,20 @@ D.nextToken = function() {
2622
2622
  return t.override(this);
2623
2623
  this.readToken(this.fullCharCodeAtPos());
2624
2624
  };
2625
- D.readToken = function(t) {
2625
+ M.readToken = function(t) {
2626
2626
  return pt(t, this.options.ecmaVersion >= 6) || t === 92 ? this.readWord() : this.getTokenFromCode(t);
2627
2627
  };
2628
- D.fullCharCodeAtPos = function() {
2628
+ M.fullCharCodeAtPos = function() {
2629
2629
  var t = this.input.charCodeAt(this.pos);
2630
2630
  if (t <= 55295 || t >= 56320)
2631
2631
  return t;
2632
2632
  var e = this.input.charCodeAt(this.pos + 1);
2633
2633
  return e <= 56319 || e >= 57344 ? t : (t << 10) + e - 56613888;
2634
2634
  };
2635
- D.skipBlockComment = function() {
2635
+ M.skipBlockComment = function() {
2636
2636
  var t = this.options.onComment && this.curPosition(), e = this.pos, r = this.input.indexOf("*/", this.pos += 2);
2637
2637
  if (r === -1 && this.raise(this.pos - 2, "Unterminated comment"), this.pos = r + 2, this.options.locations)
2638
- for (var a = void 0, u = e; (a = He(this.input, u, this.pos)) > -1; )
2638
+ for (var a = void 0, u = e; (a = Ke(this.input, u, this.pos)) > -1; )
2639
2639
  ++this.curLine, u = this.lineStart = a;
2640
2640
  this.options.onComment && this.options.onComment(
2641
2641
  !0,
@@ -2646,7 +2646,7 @@ D.skipBlockComment = function() {
2646
2646
  this.curPosition()
2647
2647
  );
2648
2648
  };
2649
- D.skipLineComment = function(t) {
2649
+ M.skipLineComment = function(t) {
2650
2650
  for (var e = this.pos, r = this.options.onComment && this.curPosition(), a = this.input.charCodeAt(this.pos += t); this.pos < this.input.length && !Tt(a); )
2651
2651
  a = this.input.charCodeAt(++this.pos);
2652
2652
  this.options.onComment && this.options.onComment(
@@ -2658,7 +2658,7 @@ D.skipLineComment = function(t) {
2658
2658
  this.curPosition()
2659
2659
  );
2660
2660
  };
2661
- D.skipSpace = function() {
2661
+ M.skipSpace = function() {
2662
2662
  t: for (; this.pos < this.input.length; ) {
2663
2663
  var t = this.input.charCodeAt(this.pos);
2664
2664
  switch (t) {
@@ -2686,34 +2686,34 @@ D.skipSpace = function() {
2686
2686
  }
2687
2687
  break;
2688
2688
  default:
2689
- if (t > 8 && t < 14 || t >= 5760 && ye.test(String.fromCharCode(t)))
2689
+ if (t > 8 && t < 14 || t >= 5760 && xe.test(String.fromCharCode(t)))
2690
2690
  ++this.pos;
2691
2691
  else
2692
2692
  break t;
2693
2693
  }
2694
2694
  }
2695
2695
  };
2696
- D.finishToken = function(t, e) {
2696
+ M.finishToken = function(t, e) {
2697
2697
  this.end = this.pos, this.options.locations && (this.endLoc = this.curPosition());
2698
2698
  var r = this.type;
2699
2699
  this.type = t, this.value = e, this.updateContext(r);
2700
2700
  };
2701
- D.readToken_dot = function() {
2701
+ M.readToken_dot = function() {
2702
2702
  var t = this.input.charCodeAt(this.pos + 1);
2703
2703
  if (t >= 48 && t <= 57)
2704
2704
  return this.readNumber(!0);
2705
2705
  var e = this.input.charCodeAt(this.pos + 2);
2706
2706
  return this.options.ecmaVersion >= 6 && t === 46 && e === 46 ? (this.pos += 3, this.finishToken(h.ellipsis)) : (++this.pos, this.finishToken(h.dot));
2707
2707
  };
2708
- D.readToken_slash = function() {
2708
+ M.readToken_slash = function() {
2709
2709
  var t = this.input.charCodeAt(this.pos + 1);
2710
2710
  return this.exprAllowed ? (++this.pos, this.readRegexp()) : t === 61 ? this.finishOp(h.assign, 2) : this.finishOp(h.slash, 1);
2711
2711
  };
2712
- D.readToken_mult_modulo_exp = function(t) {
2712
+ M.readToken_mult_modulo_exp = function(t) {
2713
2713
  var e = this.input.charCodeAt(this.pos + 1), r = 1, a = t === 42 ? h.star : h.modulo;
2714
2714
  return this.options.ecmaVersion >= 7 && t === 42 && e === 42 && (++r, a = h.starstar, e = this.input.charCodeAt(this.pos + 2)), e === 61 ? this.finishOp(h.assign, r + 1) : this.finishOp(a, r);
2715
2715
  };
2716
- D.readToken_pipe_amp = function(t) {
2716
+ M.readToken_pipe_amp = function(t) {
2717
2717
  var e = this.input.charCodeAt(this.pos + 1);
2718
2718
  if (e === t) {
2719
2719
  if (this.options.ecmaVersion >= 12) {
@@ -2725,23 +2725,23 @@ D.readToken_pipe_amp = function(t) {
2725
2725
  }
2726
2726
  return e === 61 ? this.finishOp(h.assign, 2) : this.finishOp(t === 124 ? h.bitwiseOR : h.bitwiseAND, 1);
2727
2727
  };
2728
- D.readToken_caret = function() {
2728
+ M.readToken_caret = function() {
2729
2729
  var t = this.input.charCodeAt(this.pos + 1);
2730
2730
  return t === 61 ? this.finishOp(h.assign, 2) : this.finishOp(h.bitwiseXOR, 1);
2731
2731
  };
2732
- D.readToken_plus_min = function(t) {
2732
+ M.readToken_plus_min = function(t) {
2733
2733
  var e = this.input.charCodeAt(this.pos + 1);
2734
- return e === t ? e === 45 && !this.inModule && this.input.charCodeAt(this.pos + 2) === 62 && (this.lastTokEnd === 0 || Z.test(this.input.slice(this.lastTokEnd, this.pos))) ? (this.skipLineComment(3), this.skipSpace(), this.nextToken()) : this.finishOp(h.incDec, 2) : e === 61 ? this.finishOp(h.assign, 2) : this.finishOp(h.plusMin, 1);
2734
+ return e === t ? e === 45 && !this.inModule && this.input.charCodeAt(this.pos + 2) === 62 && (this.lastTokEnd === 0 || Y.test(this.input.slice(this.lastTokEnd, this.pos))) ? (this.skipLineComment(3), this.skipSpace(), this.nextToken()) : this.finishOp(h.incDec, 2) : e === 61 ? this.finishOp(h.assign, 2) : this.finishOp(h.plusMin, 1);
2735
2735
  };
2736
- D.readToken_lt_gt = function(t) {
2736
+ M.readToken_lt_gt = function(t) {
2737
2737
  var e = this.input.charCodeAt(this.pos + 1), r = 1;
2738
2738
  return e === t ? (r = t === 62 && this.input.charCodeAt(this.pos + 2) === 62 ? 3 : 2, this.input.charCodeAt(this.pos + r) === 61 ? this.finishOp(h.assign, r + 1) : this.finishOp(h.bitShift, r)) : e === 33 && t === 60 && !this.inModule && this.input.charCodeAt(this.pos + 2) === 45 && this.input.charCodeAt(this.pos + 3) === 45 ? (this.skipLineComment(4), this.skipSpace(), this.nextToken()) : (e === 61 && (r = 2), this.finishOp(h.relational, r));
2739
2739
  };
2740
- D.readToken_eq_excl = function(t) {
2740
+ M.readToken_eq_excl = function(t) {
2741
2741
  var e = this.input.charCodeAt(this.pos + 1);
2742
2742
  return e === 61 ? this.finishOp(h.equality, this.input.charCodeAt(this.pos + 2) === 61 ? 3 : 2) : t === 61 && e === 62 && this.options.ecmaVersion >= 6 ? (this.pos += 2, this.finishToken(h.arrow)) : this.finishOp(t === 61 ? h.eq : h.prefix, 1);
2743
2743
  };
2744
- D.readToken_question = function() {
2744
+ M.readToken_question = function() {
2745
2745
  var t = this.options.ecmaVersion;
2746
2746
  if (t >= 11) {
2747
2747
  var e = this.input.charCodeAt(this.pos + 1);
@@ -2761,13 +2761,13 @@ D.readToken_question = function() {
2761
2761
  }
2762
2762
  return this.finishOp(h.question, 1);
2763
2763
  };
2764
- D.readToken_numberSign = function() {
2764
+ M.readToken_numberSign = function() {
2765
2765
  var t = this.options.ecmaVersion, e = 35;
2766
2766
  if (t >= 13 && (++this.pos, e = this.fullCharCodeAtPos(), pt(e, !0) || e === 92))
2767
2767
  return this.finishToken(h.privateId, this.readWord1());
2768
2768
  this.raise(this.pos, "Unexpected character '" + mt(e) + "'");
2769
2769
  };
2770
- D.getTokenFromCode = function(t) {
2770
+ M.getTokenFromCode = function(t) {
2771
2771
  switch (t) {
2772
2772
  // The interpretation of a dot depends on whether it is followed
2773
2773
  // by a digit or another two dots.
@@ -2854,15 +2854,15 @@ D.getTokenFromCode = function(t) {
2854
2854
  }
2855
2855
  this.raise(this.pos, "Unexpected character '" + mt(t) + "'");
2856
2856
  };
2857
- D.finishOp = function(t, e) {
2857
+ M.finishOp = function(t, e) {
2858
2858
  var r = this.input.slice(this.pos, this.pos + e);
2859
2859
  return this.pos += e, this.finishToken(t, r);
2860
2860
  };
2861
- D.readRegexp = function() {
2861
+ M.readRegexp = function() {
2862
2862
  for (var t, e, r = this.pos; ; ) {
2863
2863
  this.pos >= this.input.length && this.raise(r, "Unterminated regular expression");
2864
2864
  var a = this.input.charAt(this.pos);
2865
- if (Z.test(a) && this.raise(r, "Unterminated regular expression"), t)
2865
+ if (Y.test(a) && this.raise(r, "Unterminated regular expression"), t)
2866
2866
  t = !1;
2867
2867
  else {
2868
2868
  if (a === "[")
@@ -2879,55 +2879,55 @@ D.readRegexp = function() {
2879
2879
  ++this.pos;
2880
2880
  var f = this.pos, d = this.readWord1();
2881
2881
  this.containsEsc && this.unexpected(f);
2882
- var g = this.regexpState || (this.regexpState = new ft(this));
2883
- g.reset(r, u, d), this.validateRegExpFlags(g), this.validateRegExpPattern(g);
2884
- var v = null;
2882
+ var v = this.regexpState || (this.regexpState = new ft(this));
2883
+ v.reset(r, u, d), this.validateRegExpFlags(v), this.validateRegExpPattern(v);
2884
+ var g = null;
2885
2885
  try {
2886
- v = new RegExp(u, d);
2886
+ g = new RegExp(u, d);
2887
2887
  } catch {
2888
2888
  }
2889
- return this.finishToken(h.regexp, { pattern: u, flags: d, value: v });
2889
+ return this.finishToken(h.regexp, { pattern: u, flags: d, value: g });
2890
2890
  };
2891
- D.readInt = function(t, e, r) {
2892
- for (var a = this.options.ecmaVersion >= 12 && e === void 0, u = r && this.input.charCodeAt(this.pos) === 48, f = this.pos, d = 0, g = 0, v = 0, o = e ?? 1 / 0; v < o; ++v, ++this.pos) {
2893
- var P = this.input.charCodeAt(this.pos), I = void 0;
2894
- if (a && P === 95) {
2895
- u && this.raiseRecoverable(this.pos, "Numeric separator is not allowed in legacy octal numeric literals"), g === 95 && this.raiseRecoverable(this.pos, "Numeric separator must be exactly one underscore"), v === 0 && this.raiseRecoverable(this.pos, "Numeric separator is not allowed at the first of digits"), g = P;
2891
+ M.readInt = function(t, e, r) {
2892
+ for (var a = this.options.ecmaVersion >= 12 && e === void 0, u = r && this.input.charCodeAt(this.pos) === 48, f = this.pos, d = 0, v = 0, g = 0, o = e ?? 1 / 0; g < o; ++g, ++this.pos) {
2893
+ var w = this.input.charCodeAt(this.pos), L = void 0;
2894
+ if (a && w === 95) {
2895
+ u && this.raiseRecoverable(this.pos, "Numeric separator is not allowed in legacy octal numeric literals"), v === 95 && this.raiseRecoverable(this.pos, "Numeric separator must be exactly one underscore"), g === 0 && this.raiseRecoverable(this.pos, "Numeric separator is not allowed at the first of digits"), v = w;
2896
2896
  continue;
2897
2897
  }
2898
- if (P >= 97 ? I = P - 97 + 10 : P >= 65 ? I = P - 65 + 10 : P >= 48 && P <= 57 ? I = P - 48 : I = 1 / 0, I >= t)
2898
+ if (w >= 97 ? L = w - 97 + 10 : w >= 65 ? L = w - 65 + 10 : w >= 48 && w <= 57 ? L = w - 48 : L = 1 / 0, L >= t)
2899
2899
  break;
2900
- g = P, d = d * t + I;
2900
+ v = w, d = d * t + L;
2901
2901
  }
2902
- return a && g === 95 && this.raiseRecoverable(this.pos - 1, "Numeric separator is not allowed at the last of digits"), this.pos === f || e != null && this.pos - f !== e ? null : d;
2902
+ return a && v === 95 && this.raiseRecoverable(this.pos - 1, "Numeric separator is not allowed at the last of digits"), this.pos === f || e != null && this.pos - f !== e ? null : d;
2903
2903
  };
2904
- function fs(t, e) {
2904
+ function ms(t, e) {
2905
2905
  return e ? parseInt(t, 8) : parseFloat(t.replace(/_/g, ""));
2906
2906
  }
2907
- function vi(t) {
2907
+ function bi(t) {
2908
2908
  return typeof BigInt != "function" ? null : BigInt(t.replace(/_/g, ""));
2909
2909
  }
2910
- D.readRadixNumber = function(t) {
2910
+ M.readRadixNumber = function(t) {
2911
2911
  var e = this.pos;
2912
2912
  this.pos += 2;
2913
2913
  var r = this.readInt(t);
2914
- return r == null && this.raise(this.start + 2, "Expected number in radix " + t), this.options.ecmaVersion >= 11 && this.input.charCodeAt(this.pos) === 110 ? (r = vi(this.input.slice(e, this.pos)), ++this.pos) : pt(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(h.num, r);
2914
+ return r == null && this.raise(this.start + 2, "Expected number in radix " + t), this.options.ecmaVersion >= 11 && this.input.charCodeAt(this.pos) === 110 ? (r = bi(this.input.slice(e, this.pos)), ++this.pos) : pt(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(h.num, r);
2915
2915
  };
2916
- D.readNumber = function(t) {
2916
+ M.readNumber = function(t) {
2917
2917
  var e = this.pos;
2918
2918
  !t && this.readInt(10, void 0, !0) === null && this.raise(e, "Invalid number");
2919
2919
  var r = this.pos - e >= 2 && this.input.charCodeAt(e) === 48;
2920
2920
  r && this.strict && this.raise(e, "Invalid number");
2921
2921
  var a = this.input.charCodeAt(this.pos);
2922
2922
  if (!r && !t && this.options.ecmaVersion >= 11 && a === 110) {
2923
- var u = vi(this.input.slice(e, this.pos));
2923
+ var u = bi(this.input.slice(e, this.pos));
2924
2924
  return ++this.pos, pt(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(h.num, u);
2925
2925
  }
2926
2926
  r && /[89]/.test(this.input.slice(e, this.pos)) && (r = !1), a === 46 && !r && (++this.pos, this.readInt(10), a = this.input.charCodeAt(this.pos)), (a === 69 || a === 101) && !r && (a = this.input.charCodeAt(++this.pos), (a === 43 || a === 45) && ++this.pos, this.readInt(10) === null && this.raise(e, "Invalid number")), pt(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number");
2927
- var f = fs(this.input.slice(e, this.pos), r);
2927
+ var f = ms(this.input.slice(e, this.pos), r);
2928
2928
  return this.finishToken(h.num, f);
2929
2929
  };
2930
- D.readCodePoint = function() {
2930
+ M.readCodePoint = function() {
2931
2931
  var t = this.input.charCodeAt(this.pos), e;
2932
2932
  if (t === 123) {
2933
2933
  this.options.ecmaVersion < 6 && this.unexpected();
@@ -2937,7 +2937,7 @@ D.readCodePoint = function() {
2937
2937
  e = this.readHexChar(4);
2938
2938
  return e;
2939
2939
  };
2940
- D.readString = function(t) {
2940
+ M.readString = function(t) {
2941
2941
  for (var e = "", r = ++this.pos; ; ) {
2942
2942
  this.pos >= this.input.length && this.raise(this.start, "Unterminated string constant");
2943
2943
  var a = this.input.charCodeAt(this.pos);
@@ -2947,25 +2947,25 @@ D.readString = function(t) {
2947
2947
  }
2948
2948
  return e += this.input.slice(r, this.pos++), this.finishToken(h.string, e);
2949
2949
  };
2950
- var gi = {};
2951
- D.tryReadTemplateToken = function() {
2950
+ var Si = {};
2951
+ M.tryReadTemplateToken = function() {
2952
2952
  this.inTemplateElement = !0;
2953
2953
  try {
2954
2954
  this.readTmplToken();
2955
2955
  } catch (t) {
2956
- if (t === gi)
2956
+ if (t === Si)
2957
2957
  this.readInvalidTemplateToken();
2958
2958
  else
2959
2959
  throw t;
2960
2960
  }
2961
2961
  this.inTemplateElement = !1;
2962
2962
  };
2963
- D.invalidStringToken = function(t, e) {
2963
+ M.invalidStringToken = function(t, e) {
2964
2964
  if (this.inTemplateElement && this.options.ecmaVersion >= 9)
2965
- throw gi;
2965
+ throw Si;
2966
2966
  this.raise(t, e);
2967
2967
  };
2968
- D.readTmplToken = function() {
2968
+ M.readTmplToken = function() {
2969
2969
  for (var t = "", e = this.pos; ; ) {
2970
2970
  this.pos >= this.input.length && this.raise(this.start, "Unterminated template");
2971
2971
  var r = this.input.charCodeAt(this.pos);
@@ -2990,7 +2990,7 @@ D.readTmplToken = function() {
2990
2990
  ++this.pos;
2991
2991
  }
2992
2992
  };
2993
- D.readInvalidTemplateToken = function() {
2993
+ M.readInvalidTemplateToken = function() {
2994
2994
  for (; this.pos < this.input.length; this.pos++)
2995
2995
  switch (this.input[this.pos]) {
2996
2996
  case "\\":
@@ -3015,7 +3015,7 @@ D.readInvalidTemplateToken = function() {
3015
3015
  }
3016
3016
  this.raise(this.start, "Unterminated template");
3017
3017
  };
3018
- D.readEscapedChar = function(t) {
3018
+ M.readEscapedChar = function(t) {
3019
3019
  var e = this.input.charCodeAt(++this.pos);
3020
3020
  switch (++this.pos, e) {
3021
3021
  case 110:
@@ -3071,11 +3071,11 @@ D.readEscapedChar = function(t) {
3071
3071
  return Tt(e) ? (this.options.locations && (this.lineStart = this.pos, ++this.curLine), "") : String.fromCharCode(e);
3072
3072
  }
3073
3073
  };
3074
- D.readHexChar = function(t) {
3074
+ M.readHexChar = function(t) {
3075
3075
  var e = this.pos, r = this.readInt(16, t);
3076
3076
  return r === null && this.invalidStringToken(e, "Bad character escape sequence"), r;
3077
3077
  };
3078
- D.readWord1 = function() {
3078
+ M.readWord1 = function() {
3079
3079
  this.containsEsc = !1;
3080
3080
  for (var t = "", e = !0, r = this.pos, a = this.options.ecmaVersion >= 6; this.pos < this.input.length; ) {
3081
3081
  var u = this.fullCharCodeAtPos();
@@ -3093,75 +3093,75 @@ D.readWord1 = function() {
3093
3093
  }
3094
3094
  return t + this.input.slice(r, this.pos);
3095
3095
  };
3096
- D.readWord = function() {
3096
+ M.readWord = function() {
3097
3097
  var t = this.readWord1(), e = h.name;
3098
3098
  return this.keywords.test(t) && (e = kt[t]), this.finishToken(e, t);
3099
3099
  };
3100
- var bi = "8.15.0";
3100
+ var Ti = "8.15.0";
3101
3101
  W.acorn = {
3102
3102
  Parser: W,
3103
- version: bi,
3103
+ version: Ti,
3104
3104
  defaultOptions: zt,
3105
3105
  Position: At,
3106
3106
  SourceLocation: Ft,
3107
- getLineInfo: xe,
3107
+ getLineInfo: ve,
3108
3108
  Node: jt,
3109
3109
  TokenType: O,
3110
3110
  tokTypes: h,
3111
3111
  keywordTypes: kt,
3112
- TokContext: Y,
3112
+ TokContext: Q,
3113
3113
  tokContexts: j,
3114
3114
  isIdentifierChar: dt,
3115
3115
  isIdentifierStart: pt,
3116
3116
  Token: ie,
3117
3117
  isNewLine: Tt,
3118
- lineBreak: Z,
3119
- lineBreakG: qe,
3120
- nonASCIIwhitespace: ye
3118
+ lineBreak: Y,
3119
+ lineBreakG: We,
3120
+ nonASCIIwhitespace: xe
3121
3121
  };
3122
- function ds(t, e) {
3122
+ function ys(t, e) {
3123
3123
  return W.parse(t, e);
3124
3124
  }
3125
- function ms(t, e, r) {
3125
+ function xs(t, e, r) {
3126
3126
  return W.parseExpressionAt(t, e, r);
3127
3127
  }
3128
- function ys(t, e) {
3128
+ function vs(t, e) {
3129
3129
  return W.tokenizer(t, e);
3130
3130
  }
3131
- const xs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3131
+ const gs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3132
3132
  __proto__: null,
3133
3133
  Node: jt,
3134
3134
  Parser: W,
3135
3135
  Position: At,
3136
3136
  SourceLocation: Ft,
3137
- TokContext: Y,
3137
+ TokContext: Q,
3138
3138
  Token: ie,
3139
3139
  TokenType: O,
3140
3140
  defaultOptions: zt,
3141
- getLineInfo: xe,
3141
+ getLineInfo: ve,
3142
3142
  isIdentifierChar: dt,
3143
3143
  isIdentifierStart: pt,
3144
3144
  isNewLine: Tt,
3145
3145
  keywordTypes: kt,
3146
- lineBreak: Z,
3147
- lineBreakG: qe,
3148
- nonASCIIwhitespace: ye,
3149
- parse: ds,
3150
- parseExpressionAt: ms,
3146
+ lineBreak: Y,
3147
+ lineBreakG: We,
3148
+ nonASCIIwhitespace: xe,
3149
+ parse: ys,
3150
+ parseExpressionAt: xs,
3151
3151
  tokContexts: j,
3152
3152
  tokTypes: h,
3153
- tokenizer: ys,
3154
- version: bi
3153
+ tokenizer: vs,
3154
+ version: Ti
3155
3155
  }, Symbol.toStringTag, { value: "Module" }));
3156
- function Oe(t, e) {
3156
+ function Re(t, e) {
3157
3157
  for (var r = 0; r < e.length; r++) {
3158
3158
  var a = e[r];
3159
3159
  a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(t, typeof (u = (function(f, d) {
3160
3160
  if (typeof f != "object" || f === null) return f;
3161
- var g = f[Symbol.toPrimitive];
3162
- if (g !== void 0) {
3163
- var v = g.call(f, "string");
3164
- if (typeof v != "object") return v;
3161
+ var v = f[Symbol.toPrimitive];
3162
+ if (v !== void 0) {
3163
+ var g = v.call(f, "string");
3164
+ if (typeof g != "object") return g;
3165
3165
  throw new TypeError("@@toPrimitive must return a primitive value.");
3166
3166
  }
3167
3167
  return String(f);
@@ -3186,19 +3186,19 @@ function me(t, e) {
3186
3186
  return r.__proto__ = a, r;
3187
3187
  }, me(t, e);
3188
3188
  }
3189
- function Re(t, e) {
3189
+ function Me(t, e) {
3190
3190
  (e == null || e > t.length) && (e = t.length);
3191
3191
  for (var r = 0, a = new Array(e); r < e; r++) a[r] = t[r];
3192
3192
  return a;
3193
3193
  }
3194
- function Me(t, e) {
3194
+ function De(t, e) {
3195
3195
  var r = typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
3196
3196
  if (r) return (r = r.call(t)).next.bind(r);
3197
3197
  if (Array.isArray(t) || (r = (function(u, f) {
3198
3198
  if (u) {
3199
- if (typeof u == "string") return Re(u, f);
3199
+ if (typeof u == "string") return Me(u, f);
3200
3200
  var d = Object.prototype.toString.call(u).slice(8, -1);
3201
- return d === "Object" && u.constructor && (d = u.constructor.name), d === "Map" || d === "Set" ? Array.from(u) : d === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(d) ? Re(u, f) : void 0;
3201
+ return d === "Object" && u.constructor && (d = u.constructor.name), d === "Map" || d === "Set" ? Array.from(u) : d === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(d) ? Me(u, f) : void 0;
3202
3202
  }
3203
3203
  })(t)) || e) {
3204
3204
  r && (t = r);
@@ -3214,16 +3214,16 @@ var at = !0;
3214
3214
  function nt(t, e) {
3215
3215
  return e === void 0 && (e = {}), new O("name", e);
3216
3216
  }
3217
- var vs = /* @__PURE__ */ new WeakMap();
3218
- function gs(t) {
3219
- var e = vs.get(t.Parser.acorn || t);
3217
+ var bs = /* @__PURE__ */ new WeakMap();
3218
+ function Ss(t) {
3219
+ var e = bs.get(t.Parser.acorn || t);
3220
3220
  if (!e) {
3221
- var r = { assert: nt(0, { startsExpr: at }), asserts: nt(0, { startsExpr: at }), global: nt(0, { startsExpr: at }), keyof: nt(0, { startsExpr: at }), readonly: nt(0, { startsExpr: at }), unique: nt(0, { startsExpr: at }), abstract: nt(0, { startsExpr: at }), declare: nt(0, { startsExpr: at }), enum: nt(0, { startsExpr: at }), module: nt(0, { startsExpr: at }), namespace: nt(0, { startsExpr: at }), interface: nt(0, { startsExpr: at }), type: nt(0, { startsExpr: at }) }, a = { at: new O("@"), jsxName: new O("jsxName"), jsxText: new O("jsxText", { beforeExpr: !0 }), jsxTagStart: new O("jsxTagStart", { startsExpr: !0 }), jsxTagEnd: new O("jsxTagEnd") }, u = { tc_oTag: new Y("<tag", !1, !1), tc_cTag: new Y("</tag", !1, !1), tc_expr: new Y("<tag>...</tag>", !0, !0) }, f = new RegExp("^(?:" + Object.keys(r).join("|") + ")$");
3221
+ var r = { assert: nt(0, { startsExpr: at }), asserts: nt(0, { startsExpr: at }), global: nt(0, { startsExpr: at }), keyof: nt(0, { startsExpr: at }), readonly: nt(0, { startsExpr: at }), unique: nt(0, { startsExpr: at }), abstract: nt(0, { startsExpr: at }), declare: nt(0, { startsExpr: at }), enum: nt(0, { startsExpr: at }), module: nt(0, { startsExpr: at }), namespace: nt(0, { startsExpr: at }), interface: nt(0, { startsExpr: at }), type: nt(0, { startsExpr: at }) }, a = { at: new O("@"), jsxName: new O("jsxName"), jsxText: new O("jsxText", { beforeExpr: !0 }), jsxTagStart: new O("jsxTagStart", { startsExpr: !0 }), jsxTagEnd: new O("jsxTagEnd") }, u = { tc_oTag: new Q("<tag", !1, !1), tc_cTag: new Q("</tag", !1, !1), tc_expr: new Q("<tag>...</tag>", !0, !0) }, f = new RegExp("^(?:" + Object.keys(r).join("|") + ")$");
3222
3222
  a.jsxTagStart.updateContext = function() {
3223
3223
  this.context.push(u.tc_expr), this.context.push(u.tc_oTag), this.exprAllowed = !1;
3224
3224
  }, a.jsxTagEnd.updateContext = function(d) {
3225
- var g = this.context.pop();
3226
- g === u.tc_oTag && d === h.slash || g === u.tc_cTag ? (this.context.pop(), this.exprAllowed = this.curContext() === u.tc_expr) : this.exprAllowed = !0;
3225
+ var v = this.context.pop();
3226
+ v === u.tc_oTag && d === h.slash || v === u.tc_cTag ? (this.context.pop(), this.exprAllowed = this.curContext() === u.tc_expr) : this.exprAllowed = !0;
3227
3227
  }, e = { tokTypes: Qt({}, r, a), tokContexts: Qt({}, u), keywordsRegExp: f, tokenIsLiteralPropertyName: function(d) {
3228
3228
  return [h.name, h.string, h.num].concat(Object.values(kt), Object.values(r)).includes(d);
3229
3229
  }, tokenIsKeywordOrIdentifier: function(d) {
@@ -3240,18 +3240,18 @@ function gs(t) {
3240
3240
  }
3241
3241
  return e;
3242
3242
  }
3243
- var Lt = 1024, bs = new RegExp("(?:[^\\S\\n\\r\\u2028\\u2029]|\\/\\/.*|\\/\\*.*?\\*\\/)*", "y"), De = new RegExp("(?=(" + bs.source + "))\\1" + /(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source, "y"), Ot = function() {
3243
+ var Lt = 1024, Ts = new RegExp("(?:[^\\S\\n\\r\\u2028\\u2029]|\\/\\/.*|\\/\\*.*?\\*\\/)*", "y"), Ve = new RegExp("(?=(" + Ts.source + "))\\1" + /(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source, "y"), Ot = function() {
3244
3244
  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;
3245
3245
  };
3246
- function Ss(t, e) {
3246
+ function Ps(t, e) {
3247
3247
  var r = e.key.name, a = t[r], u = "true";
3248
3248
  return e.type !== "MethodDefinition" || e.kind !== "get" && e.kind !== "set" || (u = (e.static ? "s" : "i") + e.kind), a === "iget" && u === "iset" || a === "iset" && u === "iget" || a === "sget" && u === "sset" || a === "sset" && u === "sget" ? (t[r] = "true", !1) : !!a || (t[r] = u, !1);
3249
3249
  }
3250
- function Ve(t, e) {
3250
+ function Fe(t, e) {
3251
3251
  var r = t.key;
3252
3252
  return !t.computed && (r.type === "Identifier" && r.name === e || r.type === "Literal" && r.value === e);
3253
3253
  }
3254
- var w = { AbstractMethodHasImplementation: function(t) {
3254
+ var A = { AbstractMethodHasImplementation: function(t) {
3255
3255
  return "Method '" + t.methodName + "' cannot have an implementation because it is marked abstract.";
3256
3256
  }, AbstractPropertyHasInitializer: function(t) {
3257
3257
  return "Property '" + t.propertyName + "' cannot have an initializer because it is marked abstract.";
@@ -3288,48 +3288,48 @@ var w = { AbstractMethodHasImplementation: function(t) {
3288
3288
  return "Single type parameter " + e + " should have a trailing comma. Example usage: <" + e + ",>.";
3289
3289
  }, 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) {
3290
3290
  return "Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got " + t.type + ".";
3291
- }, LetInLexicalBinding: "'let' is not allowed to be used as a name in 'let' or 'const' declarations." }, Ts = { 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: "♦" }, Ps = /^[\da-fA-F]+$/, Cs = /^\d+$/;
3291
+ }, LetInLexicalBinding: "'let' is not allowed to be used as a name in 'let' or 'const' declarations." }, Cs = { 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: "♦" }, ks = /^[\da-fA-F]+$/, As = /^\d+$/;
3292
3292
  function Mt(t) {
3293
3293
  return t && (t.type === "JSXIdentifier" ? t.name : t.type === "JSXNamespacedName" ? t.namespace.name + ":" + t.name.name : t.type === "JSXMemberExpression" ? Mt(t.object) + "." + Mt(t.property) : void 0);
3294
3294
  }
3295
3295
  var ce = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;
3296
- function Fe(t) {
3296
+ function Be(t) {
3297
3297
  if (!t) throw new Error("Assert fail");
3298
3298
  }
3299
- function ks(t) {
3299
+ function ws(t) {
3300
3300
  return t === "accessor";
3301
3301
  }
3302
- function As(t) {
3302
+ function Es(t) {
3303
3303
  return t === "in" || t === "out";
3304
3304
  }
3305
3305
  function pe(t, e) {
3306
3306
  return 2 | (t ? 4 : 0) | (e ? 8 : 0);
3307
3307
  }
3308
- function ws(t) {
3308
+ function Is(t) {
3309
3309
  if (t.type !== "MemberExpression") return !1;
3310
3310
  var e = t.property;
3311
- return (!t.computed || !(e.type !== "TemplateLiteral" || e.expressions.length > 0)) && Si(t.object);
3311
+ return (!t.computed || !(e.type !== "TemplateLiteral" || e.expressions.length > 0)) && Pi(t.object);
3312
3312
  }
3313
- function Si(t) {
3314
- return t.type === "Identifier" || t.type === "MemberExpression" && !t.computed && Si(t.object);
3313
+ function Pi(t) {
3314
+ return t.type === "Identifier" || t.type === "MemberExpression" && !t.computed && Pi(t.object);
3315
3315
  }
3316
- function Be(t) {
3316
+ function je(t) {
3317
3317
  return t === "private" || t === "public" || t === "protected";
3318
3318
  }
3319
- function Es(t) {
3319
+ function _s(t) {
3320
3320
  var e = {}, r = e.dts, a = r !== void 0 && r, u = e.allowSatisfies, f = u !== void 0 && u;
3321
3321
  return function(d) {
3322
- var g = d.acorn || xs, v = gs(g), o = g.tokTypes, P = g.keywordTypes, I = g.isIdentifierStart, R = g.lineBreak, K = g.isNewLine, z = g.tokContexts, X = g.isIdentifierChar, _ = v.tokTypes, et = v.tokContexts, se = v.keywordsRegExp, Ti = v.tokenIsLiteralPropertyName, Pi = v.tokenIsTemplate, Ci = v.tokenIsTSDeclarationStart, B = v.tokenIsIdentifier, qt = v.tokenIsKeywordOrIdentifier, ki = v.tokenIsTSTypeOperator;
3323
- function Ai(T, it, Q) {
3324
- Q === void 0 && (Q = T.length);
3325
- for (var J = it; J < Q; J++) {
3326
- var F = T.charCodeAt(J);
3327
- if (K(F)) return J < Q - 1 && F === 13 && T.charCodeAt(J + 1) === 10 ? J + 2 : J + 1;
3322
+ var v = d.acorn || gs, g = Ss(v), o = v.tokTypes, w = v.keywordTypes, L = v.isIdentifierStart, F = v.lineBreak, G = v.isNewLine, J = v.tokContexts, st = v.isIdentifierChar, I = g.tokTypes, tt = g.tokContexts, se = g.keywordsRegExp, Ci = g.tokenIsLiteralPropertyName, ki = g.tokenIsTemplate, Ai = g.tokenIsTSDeclarationStart, B = g.tokenIsIdentifier, qt = g.tokenIsKeywordOrIdentifier, wi = g.tokenIsTSTypeOperator;
3323
+ function Ei(T, et, X) {
3324
+ X === void 0 && (X = T.length);
3325
+ for (var K = et; K < X; K++) {
3326
+ var V = T.charCodeAt(K);
3327
+ if (G(V)) return K < X - 1 && V === 13 && T.charCodeAt(K + 1) === 10 ? K + 2 : K + 1;
3328
3328
  }
3329
3329
  return -1;
3330
3330
  }
3331
- d = (function(T, it, Q) {
3332
- var J = Q.tokTypes, F = it.tokTypes;
3331
+ d = (function(T, et, X) {
3332
+ var K = X.tokTypes, V = et.tokTypes;
3333
3333
  return (function(p) {
3334
3334
  function i() {
3335
3335
  return p.apply(this, arguments) || this;
@@ -3340,36 +3340,36 @@ function Es(t) {
3340
3340
  var c = this.decoratorStack[this.decoratorStack.length - 1];
3341
3341
  c.length && (n.decorators = c, this.resetStartLocationFromNode(n, c[0]), this.decoratorStack[this.decoratorStack.length - 1] = []);
3342
3342
  }, s.parseDecorators = function(n) {
3343
- for (var c = this.decoratorStack[this.decoratorStack.length - 1]; this.match(F.at); ) {
3343
+ for (var c = this.decoratorStack[this.decoratorStack.length - 1]; this.match(V.at); ) {
3344
3344
  var l = this.parseDecorator();
3345
3345
  c.push(l);
3346
3346
  }
3347
- this.match(J._export) ? n || this.unexpected() : this.canHaveLeadingDecorator() || this.raise(this.start, "Leading decorators must be attached to a class declaration.");
3347
+ this.match(K._export) ? n || this.unexpected() : this.canHaveLeadingDecorator() || this.raise(this.start, "Leading decorators must be attached to a class declaration.");
3348
3348
  }, s.parseDecorator = function() {
3349
3349
  var n = this.startNode();
3350
3350
  this.next(), this.decoratorStack.push([]);
3351
3351
  var c, l = this.start, m = this.startLoc;
3352
- if (this.match(J.parenL)) {
3352
+ if (this.match(K.parenL)) {
3353
3353
  var y = this.start, x = this.startLoc;
3354
- if (this.next(), c = this.parseExpression(), this.expect(J.parenR), this.options.preserveParens) {
3354
+ if (this.next(), c = this.parseExpression(), this.expect(K.parenR), this.options.preserveParens) {
3355
3355
  var b = this.startNodeAt(y, x);
3356
3356
  b.expression = c, c = this.finishNode(b, "ParenthesizedExpression");
3357
3357
  }
3358
- } else for (c = this.parseIdent(!1); this.eat(J.dot); ) {
3358
+ } else for (c = this.parseIdent(!1); this.eat(K.dot); ) {
3359
3359
  var S = this.startNodeAt(l, m);
3360
3360
  S.object = c, S.property = this.parseIdent(!0), S.computed = !1, c = this.finishNode(S, "MemberExpression");
3361
3361
  }
3362
3362
  return n.expression = this.parseMaybeDecoratorArguments(c), this.decoratorStack.pop(), this.finishNode(n, "Decorator");
3363
3363
  }, s.parseMaybeDecoratorArguments = function(n) {
3364
- if (this.eat(J.parenL)) {
3364
+ if (this.eat(K.parenL)) {
3365
3365
  var c = this.startNodeAtNode(n);
3366
- return c.callee = n, c.arguments = this.parseExprList(J.parenR, !1), this.finishNode(c, "CallExpression");
3366
+ return c.callee = n, c.arguments = this.parseExprList(K.parenR, !1), this.finishNode(c, "CallExpression");
3367
3367
  }
3368
3368
  return n;
3369
3369
  }, i;
3370
3370
  })(T);
3371
- })(d, v, g), d = (function(T, it, Q, J) {
3372
- var F = T.tokTypes, p = it.tokTypes, i = T.isNewLine, s = T.isIdentifierChar, n = Object.assign({ allowNamespaces: !0, allowNamespacedObjects: !0 }, {});
3371
+ })(d, g, v), d = (function(T, et, X, K) {
3372
+ var V = T.tokTypes, p = et.tokTypes, i = T.isNewLine, s = T.isIdentifierChar, n = Object.assign({ allowNamespaces: !0, allowNamespacedObjects: !0 }, {});
3373
3373
  return (function(c) {
3374
3374
  function l() {
3375
3375
  return c.apply(this, arguments) || this;
@@ -3406,13 +3406,13 @@ function Es(t) {
3406
3406
  if (S === y) break;
3407
3407
  S === 38 ? (x += this.input.slice(b, this.pos), x += this.jsx_readEntity(), b = this.pos) : i(S) ? (x += this.input.slice(b, this.pos), x += this.jsx_readNewLine(!1), b = this.pos) : ++this.pos;
3408
3408
  }
3409
- return x += this.input.slice(b, this.pos++), this.finishToken(F.string, x);
3409
+ return x += this.input.slice(b, this.pos++), this.finishToken(V.string, x);
3410
3410
  }, m.jsx_readEntity = function() {
3411
3411
  var y, x = "", b = 0, S = this.input[this.pos];
3412
3412
  S !== "&" && this.raise(this.pos, "Entity must start with an ampersand");
3413
3413
  for (var E = ++this.pos; this.pos < this.input.length && b++ < 10; ) {
3414
3414
  if ((S = this.input[this.pos++]) === ";") {
3415
- x[0] === "#" ? x[1] === "x" ? (x = x.substr(2), Ps.test(x) && (y = String.fromCharCode(parseInt(x, 16)))) : (x = x.substr(1), Cs.test(x) && (y = String.fromCharCode(parseInt(x, 10)))) : y = Ts[x];
3415
+ x[0] === "#" ? x[1] === "x" ? (x = x.substr(2), ks.test(x) && (y = String.fromCharCode(parseInt(x, 16)))) : (x = x.substr(1), As.test(x) && (y = String.fromCharCode(parseInt(x, 10)))) : y = Cs[x];
3416
3416
  break;
3417
3417
  }
3418
3418
  x += S;
@@ -3429,24 +3429,24 @@ function Es(t) {
3429
3429
  return this.type === p.jsxName ? y.name = this.value : this.type.keyword ? y.name = this.type.keyword : this.unexpected(), this.next(), this.finishNode(y, "JSXIdentifier");
3430
3430
  }, m.jsx_parseNamespacedName = function() {
3431
3431
  var y = this.start, x = this.startLoc, b = this.jsx_parseIdentifier();
3432
- if (!n.allowNamespaces || !this.eat(F.colon)) return b;
3432
+ if (!n.allowNamespaces || !this.eat(V.colon)) return b;
3433
3433
  var S = this.startNodeAt(y, x);
3434
3434
  return S.namespace = b, S.name = this.jsx_parseIdentifier(), this.finishNode(S, "JSXNamespacedName");
3435
3435
  }, m.jsx_parseElementName = function() {
3436
3436
  if (this.type === p.jsxTagEnd) return "";
3437
3437
  var y = this.start, x = this.startLoc, b = this.jsx_parseNamespacedName();
3438
- for (this.type !== F.dot || b.type !== "JSXNamespacedName" || n.allowNamespacedObjects || this.unexpected(); this.eat(F.dot); ) {
3438
+ for (this.type !== V.dot || b.type !== "JSXNamespacedName" || n.allowNamespacedObjects || this.unexpected(); this.eat(V.dot); ) {
3439
3439
  var S = this.startNodeAt(y, x);
3440
3440
  S.object = b, S.property = this.jsx_parseIdentifier(), b = this.finishNode(S, "JSXMemberExpression");
3441
3441
  }
3442
3442
  return b;
3443
3443
  }, m.jsx_parseAttributeValue = function() {
3444
3444
  switch (this.type) {
3445
- case F.braceL:
3445
+ case V.braceL:
3446
3446
  var y = this.jsx_parseExpressionContainer();
3447
3447
  return y.expression.type === "JSXEmptyExpression" && this.raise(y.start, "JSX attributes must only be assigned a non-empty expression"), y;
3448
3448
  case p.jsxTagStart:
3449
- case F.string:
3449
+ case V.string:
3450
3450
  return this.parseExprAtom();
3451
3451
  default:
3452
3452
  this.raise(this.start, "JSX value should be either an expression or a quoted JSX text");
@@ -3456,26 +3456,26 @@ function Es(t) {
3456
3456
  return this.finishNodeAt(y, "JSXEmptyExpression", this.start, this.startLoc);
3457
3457
  }, m.jsx_parseExpressionContainer = function() {
3458
3458
  var y = this.startNode();
3459
- return this.next(), y.expression = this.type === F.braceR ? this.jsx_parseEmptyExpression() : this.parseExpression(), this.expect(F.braceR), this.finishNode(y, "JSXExpressionContainer");
3459
+ return this.next(), y.expression = this.type === V.braceR ? this.jsx_parseEmptyExpression() : this.parseExpression(), this.expect(V.braceR), this.finishNode(y, "JSXExpressionContainer");
3460
3460
  }, m.jsx_parseAttribute = function() {
3461
3461
  var y = this.startNode();
3462
- return this.eat(F.braceL) ? (this.expect(F.ellipsis), y.argument = this.parseMaybeAssign(), this.expect(F.braceR), this.finishNode(y, "JSXSpreadAttribute")) : (y.name = this.jsx_parseNamespacedName(), y.value = this.eat(F.eq) ? this.jsx_parseAttributeValue() : null, this.finishNode(y, "JSXAttribute"));
3462
+ return this.eat(V.braceL) ? (this.expect(V.ellipsis), y.argument = this.parseMaybeAssign(), this.expect(V.braceR), this.finishNode(y, "JSXSpreadAttribute")) : (y.name = this.jsx_parseNamespacedName(), y.value = this.eat(V.eq) ? this.jsx_parseAttributeValue() : null, this.finishNode(y, "JSXAttribute"));
3463
3463
  }, m.jsx_parseOpeningElementAt = function(y, x) {
3464
3464
  var b = this.startNodeAt(y, x);
3465
3465
  b.attributes = [];
3466
3466
  var S = this.jsx_parseElementName();
3467
- for (S && (b.name = S); this.type !== F.slash && this.type !== p.jsxTagEnd; ) b.attributes.push(this.jsx_parseAttribute());
3468
- return b.selfClosing = this.eat(F.slash), this.expect(p.jsxTagEnd), this.finishNode(b, S ? "JSXOpeningElement" : "JSXOpeningFragment");
3467
+ for (S && (b.name = S); this.type !== V.slash && this.type !== p.jsxTagEnd; ) b.attributes.push(this.jsx_parseAttribute());
3468
+ return b.selfClosing = this.eat(V.slash), this.expect(p.jsxTagEnd), this.finishNode(b, S ? "JSXOpeningElement" : "JSXOpeningFragment");
3469
3469
  }, m.jsx_parseClosingElementAt = function(y, x) {
3470
3470
  var b = this.startNodeAt(y, x), S = this.jsx_parseElementName();
3471
3471
  return S && (b.name = S), this.expect(p.jsxTagEnd), this.finishNode(b, S ? "JSXClosingElement" : "JSXClosingFragment");
3472
3472
  }, m.jsx_parseElementAt = function(y, x) {
3473
- var b = this.startNodeAt(y, x), S = [], E = this.jsx_parseOpeningElementAt(y, x), L = null;
3473
+ var b = this.startNodeAt(y, x), S = [], E = this.jsx_parseOpeningElementAt(y, x), N = null;
3474
3474
  if (!E.selfClosing) {
3475
3475
  t: for (; ; ) switch (this.type) {
3476
3476
  case p.jsxTagStart:
3477
- if (y = this.start, x = this.startLoc, this.next(), this.eat(F.slash)) {
3478
- L = this.jsx_parseClosingElementAt(y, x);
3477
+ if (y = this.start, x = this.startLoc, this.next(), this.eat(V.slash)) {
3478
+ N = this.jsx_parseClosingElementAt(y, x);
3479
3479
  break t;
3480
3480
  }
3481
3481
  S.push(this.jsx_parseElementAt(y, x));
@@ -3483,16 +3483,16 @@ function Es(t) {
3483
3483
  case p.jsxText:
3484
3484
  S.push(this.parseExprAtom());
3485
3485
  break;
3486
- case F.braceL:
3486
+ case V.braceL:
3487
3487
  S.push(this.jsx_parseExpressionContainer());
3488
3488
  break;
3489
3489
  default:
3490
3490
  this.unexpected();
3491
3491
  }
3492
- Mt(L.name) !== Mt(E.name) && this.raise(L.start, "Expected corresponding JSX closing tag for <" + Mt(E.name) + ">");
3492
+ Mt(N.name) !== Mt(E.name) && this.raise(N.start, "Expected corresponding JSX closing tag for <" + Mt(E.name) + ">");
3493
3493
  }
3494
- var k = E.name ? "Element" : "Fragment";
3495
- return b["opening" + k] = E, b["closing" + k] = L, b.children = S, this.type === F.relational && this.value === "<" && this.raise(this.start, "Adjacent JSX elements must be wrapped in an enclosing tag"), this.finishNode(b, "JSX" + k);
3494
+ var C = E.name ? "Element" : "Fragment";
3495
+ return b["opening" + C] = E, b["closing" + C] = N, b.children = S, this.type === V.relational && this.value === "<" && this.raise(this.start, "Adjacent JSX elements must be wrapped in an enclosing tag"), this.finishNode(b, "JSX" + C);
3496
3496
  }, m.jsx_parseText = function() {
3497
3497
  var y = this.parseLiteral(this.value);
3498
3498
  return y.type = "JSXText", y;
@@ -3500,9 +3500,9 @@ function Es(t) {
3500
3500
  var y = this.start, x = this.startLoc;
3501
3501
  return this.next(), this.jsx_parseElementAt(y, x);
3502
3502
  }, l;
3503
- })(Q);
3504
- })(g, v, d), d = (function(T, it, Q) {
3505
- var J = it.tokTypes, F = Q.tokTypes;
3503
+ })(X);
3504
+ })(v, g, d), d = (function(T, et, X) {
3505
+ var K = et.tokTypes, V = X.tokTypes;
3506
3506
  return (function(p) {
3507
3507
  function i() {
3508
3508
  return p.apply(this, arguments) || this;
@@ -3510,54 +3510,54 @@ function Es(t) {
3510
3510
  Kt(i, p);
3511
3511
  var s = i.prototype;
3512
3512
  return s.parseMaybeImportAttributes = function(n) {
3513
- if (this.type === F._with || this.type === J.assert) {
3513
+ if (this.type === V._with || this.type === K.assert) {
3514
3514
  this.next();
3515
3515
  var c = this.parseImportAttributes();
3516
3516
  c && (n.attributes = c);
3517
3517
  }
3518
3518
  }, s.parseImportAttributes = function() {
3519
- this.expect(F.braceL);
3519
+ this.expect(V.braceL);
3520
3520
  var n = this.parseWithEntries();
3521
- return this.expect(F.braceR), n;
3521
+ return this.expect(V.braceR), n;
3522
3522
  }, s.parseWithEntries = function() {
3523
3523
  var n = [], c = /* @__PURE__ */ new Set();
3524
3524
  do {
3525
- if (this.type === F.braceR) break;
3525
+ if (this.type === V.braceR) break;
3526
3526
  var l, m = this.startNode();
3527
- l = this.type === F.string ? this.parseLiteral(this.value) : this.parseIdent(!0), this.next(), m.key = l, c.has(m.key.name) && this.raise(this.pos, "Duplicated key in attributes"), c.add(m.key.name), this.type !== F.string && this.raise(this.pos, "Only string is supported as an attribute value"), m.value = this.parseLiteral(this.value), n.push(this.finishNode(m, "ImportAttribute"));
3528
- } while (this.eat(F.comma));
3527
+ l = this.type === V.string ? this.parseLiteral(this.value) : this.parseIdent(!0), this.next(), m.key = l, c.has(m.key.name) && this.raise(this.pos, "Duplicated key in attributes"), c.add(m.key.name), this.type !== V.string && this.raise(this.pos, "Only string is supported as an attribute value"), m.value = this.parseLiteral(this.value), n.push(this.finishNode(m, "ImportAttribute"));
3528
+ } while (this.eat(V.comma));
3529
3529
  return n;
3530
3530
  }, i;
3531
3531
  })(T);
3532
- })(d, v, g);
3533
- var wi = /* @__PURE__ */ (function(T) {
3534
- function it(i, s, n) {
3532
+ })(d, g, v);
3533
+ var Ii = /* @__PURE__ */ (function(T) {
3534
+ function et(i, s, n) {
3535
3535
  var c;
3536
3536
  return (c = T.call(this, i, s, 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(l) {
3537
3537
  if (l === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
3538
3538
  return l;
3539
- })(c), { allowedModifiers: ["const"], disallowedModifiers: ["in", "out"], errorTemplate: w.InvalidModifierOnTypeParameterPositions }), c;
3539
+ })(c), { allowedModifiers: ["const"], disallowedModifiers: ["in", "out"], errorTemplate: A.InvalidModifierOnTypeParameterPositions }), c;
3540
3540
  }
3541
- Kt(it, T);
3542
- var Q, J, F, p = it.prototype;
3541
+ Kt(et, T);
3542
+ var X, K, V, p = et.prototype;
3543
3543
  return p.getTokenFromCodeInType = function(i) {
3544
3544
  return i === 62 || i === 60 ? this.finishOp(o.relational, 1) : T.prototype.getTokenFromCode.call(this, i);
3545
3545
  }, p.readToken = function(i) {
3546
3546
  if (!this.inType) {
3547
3547
  var s = this.curContext();
3548
- if (s === et.tc_expr) return this.jsx_readToken();
3549
- if (s === et.tc_oTag || s === et.tc_cTag) {
3550
- if (I(i)) return this.jsx_readWord();
3551
- if (i == 62) return ++this.pos, this.finishToken(_.jsxTagEnd);
3552
- if ((i === 34 || i === 39) && s == et.tc_oTag) return this.jsx_readString(i);
3548
+ if (s === tt.tc_expr) return this.jsx_readToken();
3549
+ if (s === tt.tc_oTag || s === tt.tc_cTag) {
3550
+ if (L(i)) return this.jsx_readWord();
3551
+ if (i == 62) return ++this.pos, this.finishToken(I.jsxTagEnd);
3552
+ if ((i === 34 || i === 39) && s == tt.tc_oTag) return this.jsx_readString(i);
3553
3553
  }
3554
- if (i === 60 && this.exprAllowed && this.input.charCodeAt(this.pos + 1) !== 33) return ++this.pos, this.finishToken(_.jsxTagStart);
3554
+ if (i === 60 && this.exprAllowed && this.input.charCodeAt(this.pos + 1) !== 33) return ++this.pos, this.finishToken(I.jsxTagStart);
3555
3555
  }
3556
3556
  return T.prototype.readToken.call(this, i);
3557
3557
  }, p.getTokenFromCode = function(i) {
3558
- return this.inType ? this.getTokenFromCodeInType(i) : i === 64 ? (++this.pos, this.finishToken(_.at)) : T.prototype.getTokenFromCode.call(this, i);
3558
+ return this.inType ? this.getTokenFromCodeInType(i) : i === 64 ? (++this.pos, this.finishToken(I.at)) : T.prototype.getTokenFromCode.call(this, i);
3559
3559
  }, p.isAbstractClass = function() {
3560
- return this.ts_isContextual(_.abstract) && this.lookahead().type === o._class;
3560
+ return this.ts_isContextual(I.abstract) && this.lookahead().type === o._class;
3561
3561
  }, p.finishNode = function(i, s) {
3562
3562
  return i.type !== "" && i.end !== 0 ? i : T.prototype.finishNode.call(this, i, s);
3563
3563
  }, p.tryParse = function(i, s) {
@@ -3589,14 +3589,14 @@ function Es(t) {
3589
3589
  return this.nextTokenStartSince(this.pos);
3590
3590
  }, p.tsHasSomeModifiers = function(i, s) {
3591
3591
  return s.some(function(n) {
3592
- return Be(n) ? i.accessibility === n : !!i[n];
3592
+ return je(n) ? i.accessibility === n : !!i[n];
3593
3593
  });
3594
3594
  }, p.tsIsStartOfStaticBlocks = function() {
3595
3595
  return this.isContextual("static") && this.lookaheadCharCode() === 123;
3596
3596
  }, p.tsCheckForInvalidTypeCasts = function(i) {
3597
3597
  var s = this;
3598
3598
  i.forEach(function(n) {
3599
- n?.type === "TSTypeCastExpression" && s.raise(n.typeAnnotation.start, w.UnexpectedTypeAnnotation);
3599
+ n?.type === "TSTypeCastExpression" && s.raise(n.typeAnnotation.start, A.UnexpectedTypeAnnotation);
3600
3600
  });
3601
3601
  }, p.atPossibleAsyncArrow = function(i) {
3602
3602
  return i.type === "Identifier" && i.name === "async" && this.lastTokEndLoc.column === i.end && !this.canInsertSemicolon() && i.end - i.start == 5 && i.start === this.potentialArrowAt;
@@ -3631,11 +3631,11 @@ function Es(t) {
3631
3631
  var n = i + s.length;
3632
3632
  if (this.input.slice(i, n) === s) {
3633
3633
  var c = this.input.charCodeAt(n);
3634
- return !(X(c) || (64512 & c) == 55296);
3634
+ return !(st(c) || (64512 & c) == 55296);
3635
3635
  }
3636
3636
  return !1;
3637
3637
  }, p.isAbstractConstructorSignature = function() {
3638
- return this.ts_isContextual(_.abstract) && this.lookahead().type === o._new;
3638
+ return this.ts_isContextual(I.abstract) && this.lookahead().type === o._new;
3639
3639
  }, p.nextTokenStartSince = function(i) {
3640
3640
  return ce.lastIndex = i, ce.test(this.input) ? ce.lastIndex : i;
3641
3641
  }, p.lookaheadCharCode = function() {
@@ -3666,17 +3666,17 @@ function Es(t) {
3666
3666
  return this.setLookaheadState(s), c;
3667
3667
  }, p.readWord = function() {
3668
3668
  var i = this.readWord1(), s = o.name;
3669
- return this.keywords.test(i) ? s = P[i] : new RegExp(se).test(i) && (s = _[i]), this.finishToken(s, i);
3669
+ return this.keywords.test(i) ? s = w[i] : new RegExp(se).test(i) && (s = I[i]), this.finishToken(s, i);
3670
3670
  }, p.skipBlockComment = function() {
3671
3671
  var i;
3672
3672
  this.isLookahead || (i = this.options.onComment && this.curPosition());
3673
3673
  var s = this.pos, n = this.input.indexOf("*/", this.pos += 2);
3674
- if (n === -1 && this.raise(this.pos - 2, "Unterminated comment"), this.pos = n + 2, this.options.locations) for (var c, l = s; (c = Ai(this.input, l, this.pos)) > -1; ) ++this.curLine, l = this.lineStart = c;
3674
+ if (n === -1 && this.raise(this.pos - 2, "Unterminated comment"), this.pos = n + 2, this.options.locations) for (var c, l = s; (c = Ei(this.input, l, this.pos)) > -1; ) ++this.curLine, l = this.lineStart = c;
3675
3675
  this.isLookahead || this.options.onComment && this.options.onComment(!0, this.input.slice(s + 2, n), s, this.pos, i, this.curPosition());
3676
3676
  }, p.skipLineComment = function(i) {
3677
3677
  var s, n = this.pos;
3678
3678
  this.isLookahead || (s = this.options.onComment && this.curPosition());
3679
- for (var c = this.input.charCodeAt(this.pos += i); this.pos < this.input.length && !K(c); ) c = this.input.charCodeAt(++this.pos);
3679
+ for (var c = this.input.charCodeAt(this.pos += i); this.pos < this.input.length && !G(c); ) c = this.input.charCodeAt(++this.pos);
3680
3680
  this.isLookahead || this.options.onComment && this.options.onComment(!1, this.input.slice(n + i, this.pos), n, this.pos, s, this.curPosition());
3681
3681
  }, p.finishToken = function(i, s) {
3682
3682
  this.preValue = this.value, this.preToken = this.type, this.end = this.pos, this.options.locations && (this.endLoc = this.curPosition());
@@ -3687,16 +3687,16 @@ function Es(t) {
3687
3687
  }, p.isLineTerminator = function() {
3688
3688
  return this.eat(o.semi) || T.prototype.canInsertSemicolon.call(this);
3689
3689
  }, p.hasFollowingLineBreak = function() {
3690
- return De.lastIndex = this.end, De.test(this.input);
3690
+ return Ve.lastIndex = this.end, Ve.test(this.input);
3691
3691
  }, p.addExtra = function(i, s, n, c) {
3692
3692
  if (c === void 0 && (c = !0), i) {
3693
3693
  var l = i.extra = i.extra || {};
3694
3694
  c ? l[s] = n : Object.defineProperty(l, s, { enumerable: c, value: n });
3695
3695
  }
3696
3696
  }, p.isLiteralPropertyName = function() {
3697
- return Ti(this.type);
3697
+ return Ci(this.type);
3698
3698
  }, p.hasPrecedingLineBreak = function() {
3699
- return R.test(this.input.slice(this.lastTokEndLoc.index, this.start));
3699
+ return F.test(this.input.slice(this.lastTokEndLoc.index, this.start));
3700
3700
  }, p.createIdentifier = function(i, s) {
3701
3701
  return i.name = s, this.finishNode(i, "Identifier");
3702
3702
  }, p.resetStartLocationFromNode = function(i, s) {
@@ -3715,7 +3715,7 @@ function Es(t) {
3715
3715
  }, p.isContextualWithState = function(i, s) {
3716
3716
  return s.type === o.name && s.value === i && !s.containsEsc;
3717
3717
  }, p.tsIsStartOfMappedType = function() {
3718
- return this.next(), this.eat(o.plusMin) ? this.ts_isContextual(_.readonly) : (this.ts_isContextual(_.readonly) && this.next(), !!this.match(o.bracketL) && (this.next(), !!this.tsIsIdentifier() && (this.next(), this.match(o._in))));
3718
+ return this.next(), this.eat(o.plusMin) ? this.ts_isContextual(I.readonly) : (this.ts_isContextual(I.readonly) && this.next(), !!this.match(o.bracketL) && (this.next(), !!this.tsIsIdentifier() && (this.next(), this.match(o._in))));
3719
3719
  }, p.tsInDisallowConditionalTypesContext = function(i) {
3720
3720
  var s = this.inDisallowConditionalTypesContext;
3721
3721
  this.inDisallowConditionalTypesContext = !0;
@@ -3729,7 +3729,7 @@ function Es(t) {
3729
3729
  }, p.match = function(i) {
3730
3730
  return this.type === i;
3731
3731
  }, p.matchJsx = function(i) {
3732
- return this.type === v.tokTypes[i];
3732
+ return this.type === g.tokTypes[i];
3733
3733
  }, p.ts_eatWithState = function(i, s, n) {
3734
3734
  if (i === n.type) {
3735
3735
  for (var c = 0; c < s; c++) this.next();
@@ -3738,7 +3738,7 @@ function Es(t) {
3738
3738
  return !1;
3739
3739
  }, p.ts_eatContextualWithState = function(i, s, n) {
3740
3740
  if (se.test(i)) {
3741
- if (this.ts_isContextualWithState(n, _[i])) {
3741
+ if (this.ts_isContextualWithState(n, I[i])) {
3742
3742
  for (var c = 0; c < s; c++) this.next();
3743
3743
  return !0;
3744
3744
  }
@@ -3750,7 +3750,7 @@ function Es(t) {
3750
3750
  }, p.canHaveLeadingDecorator = function() {
3751
3751
  return this.match(o._class);
3752
3752
  }, p.eatContextual = function(i) {
3753
- return se.test(i) ? !!this.ts_isContextual(_[i]) && (this.next(), !0) : T.prototype.eatContextual.call(this, i);
3753
+ return se.test(i) ? !!this.ts_isContextual(I[i]) && (this.next(), !0) : T.prototype.eatContextual.call(this, i);
3754
3754
  }, p.tsIsExternalModuleReference = function() {
3755
3755
  return this.isContextual("require") && this.lookaheadCharCode() === 40;
3756
3756
  }, p.tsParseExternalModuleReference = function() {
@@ -3776,7 +3776,7 @@ function Es(t) {
3776
3776
  }
3777
3777
  return this.next(), T.prototype.exitScope.call(this), this.finishNode(i, "TSModuleBlock");
3778
3778
  }, p.tsParseAmbientExternalModuleDeclaration = function(i) {
3779
- return this.ts_isContextual(_.global) ? (i.global = !0, i.id = this.parseIdent()) : this.match(o.string) ? i.id = this.parseLiteral(this.value) : this.unexpected(), this.match(o.braceL) ? (T.prototype.enterScope.call(this, Lt), i.body = this.tsParseModuleBlock(), T.prototype.exitScope.call(this)) : T.prototype.semicolon.call(this), this.finishNode(i, "TSModuleDeclaration");
3779
+ return this.ts_isContextual(I.global) ? (i.global = !0, i.id = this.parseIdent()) : this.match(o.string) ? i.id = this.parseLiteral(this.value) : this.unexpected(), this.match(o.braceL) ? (T.prototype.enterScope.call(this, Lt), i.body = this.tsParseModuleBlock(), T.prototype.exitScope.call(this)) : T.prototype.semicolon.call(this), this.finishNode(i, "TSModuleDeclaration");
3780
3780
  }, p.tsTryParseDeclare = function(i) {
3781
3781
  var s = this;
3782
3782
  if (!this.isLineTerminator()) {
@@ -3784,10 +3784,10 @@ function Es(t) {
3784
3784
  return this.isContextual("let") && (c = o._var, n = "let"), this.tsInAmbientContext(function() {
3785
3785
  if (c === o._function) return i.declare = !0, s.parseFunctionStatement(i, !1, !0);
3786
3786
  if (c === o._class) return i.declare = !0, s.parseClass(i, !0);
3787
- if (c === _.enum) return s.tsParseEnumDeclaration(i, { declare: !0 });
3788
- if (c === _.global) return s.tsParseAmbientExternalModuleDeclaration(i);
3787
+ if (c === I.enum) return s.tsParseEnumDeclaration(i, { declare: !0 });
3788
+ if (c === I.global) return s.tsParseAmbientExternalModuleDeclaration(i);
3789
3789
  if (c === o._const || c === o._var) return s.match(o._const) && s.isLookaheadContextual("enum") ? (s.expect(o._const), s.tsParseEnumDeclaration(i, { const: !0, declare: !0 })) : (i.declare = !0, s.parseVarStatement(i, n || s.value, !0));
3790
- if (c === _.interface) {
3790
+ if (c === I.interface) {
3791
3791
  var l = s.tsParseInterfaceDeclaration(i, { declare: !0 });
3792
3792
  if (l) return l;
3793
3793
  }
@@ -3877,10 +3877,10 @@ function Es(t) {
3877
3877
  }, p.tsParseBindingListForSignature = function() {
3878
3878
  var i = this;
3879
3879
  return T.prototype.parseBindingList.call(this, o.parenR, !0, !0).map(function(s) {
3880
- return s.type !== "Identifier" && s.type !== "RestElement" && s.type !== "ObjectPattern" && s.type !== "ArrayPattern" && i.raise(s.start, w.UnsupportedSignatureParameterKind(s.type)), s;
3880
+ return s.type !== "Identifier" && s.type !== "RestElement" && s.type !== "ObjectPattern" && s.type !== "ArrayPattern" && i.raise(s.start, A.UnsupportedSignatureParameterKind(s.type)), s;
3881
3881
  });
3882
3882
  }, p.tsParseTypePredicateAsserts = function() {
3883
- if (this.type !== _.asserts) return !1;
3883
+ if (this.type !== I.asserts) return !1;
3884
3884
  var i = this.containsEsc;
3885
3885
  return this.next(), !(!B(this.type) && !this.match(o._this) || (i && this.raise(this.lastTokStart, "Escape sequence in keyword asserts"), 0));
3886
3886
  }, p.tsParseThisTypeNode = function() {
@@ -3923,7 +3923,7 @@ function Es(t) {
3923
3923
  if (this.lookahead().type !== o._const) return null;
3924
3924
  this.next();
3925
3925
  var i = this.tsParseTypeReference();
3926
- return i.typeParameters && this.raise(i.typeName.start, w.CannotFindName({ name: "const" })), i;
3926
+ return i.typeParameters && this.raise(i.typeName.start, A.CannotFindName({ name: "const" })), i;
3927
3927
  }, p.tsParseFunctionOrConstructorType = function(i, s) {
3928
3928
  var n = this, c = this.startNode();
3929
3929
  return i === "TSConstructorType" && (c.abstract = !!s, s && this.next(), this.next()), this.tsInAllowConditionalTypesContext(function() {
@@ -3941,7 +3941,7 @@ function Es(t) {
3941
3941
  case "TSArrayType":
3942
3942
  return;
3943
3943
  default:
3944
- this.raise(i.start, w.UnexpectedReadonly);
3944
+ this.raise(i.start, A.UnexpectedReadonly);
3945
3945
  }
3946
3946
  }, p.tsParseTypeOperator = function() {
3947
3947
  var i = this.startNode(), s = this.value;
@@ -3976,7 +3976,7 @@ function Es(t) {
3976
3976
  })(), this.finishNode(s, "TSLiteralType");
3977
3977
  }, p.tsParseImportType = function() {
3978
3978
  var i = this.startNode();
3979
- return this.expect(o._import), this.expect(o.parenL), this.match(o.string) || this.raise(this.start, w.UnsupportedImportTypeArgument), i.argument = this.parseExprAtom(), this.expect(o.parenR), this.eat(o.dot) && (i.qualifier = this.tsParseEntityName()), this.tsMatchLeftRelational() && (i.typeParameters = this.tsParseTypeArguments()), this.finishNode(i, "TSImportType");
3979
+ return this.expect(o._import), this.expect(o.parenL), this.match(o.string) || this.raise(this.start, A.UnsupportedImportTypeArgument), i.argument = this.parseExprAtom(), this.expect(o.parenR), this.eat(o.dot) && (i.qualifier = this.tsParseEntityName()), this.tsMatchLeftRelational() && (i.typeParameters = this.tsParseTypeArguments()), this.finishNode(i, "TSImportType");
3980
3980
  }, p.tsParseTypeQuery = function() {
3981
3981
  var i = this.startNode();
3982
3982
  return this.expect(o._typeof), i.exprName = this.match(o._import) ? this.tsParseImportType() : this.tsParseEntityName(), !this.hasPrecedingLineBreak() && this.tsMatchLeftRelational() && (i.typeParameters = this.tsParseTypeArguments()), this.finishNode(i, "TSTypeQuery");
@@ -3993,7 +3993,7 @@ function Es(t) {
3993
3993
  var i = this.startLoc, s = this.start, n = this.eat(o.ellipsis), c = this.tsParseType(), l = this.eat(o.question);
3994
3994
  if (this.eat(o.colon)) {
3995
3995
  var m = this.startNodeAtNode(c);
3996
- m.optional = l, c.type !== "TSTypeReference" || c.typeParameters || c.typeName.type !== "Identifier" ? (this.raise(c.start, w.InvalidTupleMemberLabel), m.label = c) : m.label = c.typeName, m.elementType = this.tsParseType(), c = this.finishNode(m, "TSNamedTupleMember");
3996
+ m.optional = l, c.type !== "TSTypeReference" || c.typeParameters || c.typeName.type !== "Identifier" ? (this.raise(c.start, A.InvalidTupleMemberLabel), m.label = c) : m.label = c.typeName, m.elementType = this.tsParseType(), c = this.finishNode(m, "TSNamedTupleMember");
3997
3997
  } else if (l) {
3998
3998
  var y = this.startNodeAtNode(c);
3999
3999
  y.typeAnnotation = c, c = this.finishNode(y, "TSOptionalType");
@@ -4009,11 +4009,11 @@ function Es(t) {
4009
4009
  var n = !1, c = null;
4010
4010
  return s.elementTypes.forEach(function(l) {
4011
4011
  var m = l.type;
4012
- !n || m === "TSRestType" || m === "TSOptionalType" || m === "TSNamedTupleMember" && l.optional || i.raise(l.start, w.OptionalTypeBeforeRequired), n || (n = m === "TSNamedTupleMember" && l.optional || m === "TSOptionalType");
4012
+ !n || m === "TSRestType" || m === "TSOptionalType" || m === "TSNamedTupleMember" && l.optional || i.raise(l.start, A.OptionalTypeBeforeRequired), n || (n = m === "TSNamedTupleMember" && l.optional || m === "TSOptionalType");
4013
4013
  var y = m;
4014
4014
  m === "TSRestType" && (y = (l = l.typeAnnotation).type);
4015
4015
  var x = y === "TSNamedTupleMember";
4016
- c != null || (c = x), c !== x && i.raise(l.start, w.MixedLabeledAndUnlabeledElements);
4016
+ c != null || (c = x), c !== x && i.raise(l.start, A.MixedLabeledAndUnlabeledElements);
4017
4017
  }), this.finishNode(s, "TSTupleType");
4018
4018
  }, p.tsParseTemplateLiteralType = function() {
4019
4019
  var i = this.startNode();
@@ -4104,7 +4104,7 @@ function Es(t) {
4104
4104
  return i;
4105
4105
  }, p.tsParseTypeOperatorOrHigher = function() {
4106
4106
  var i = this;
4107
- return ki(this.type) && !this.containsEsc ? this.tsParseTypeOperator() : this.isContextual("infer") ? this.tsParseInferType() : this.tsInAllowConditionalTypesContext(function() {
4107
+ return wi(this.type) && !this.containsEsc ? this.tsParseTypeOperator() : this.isContextual("infer") ? this.tsParseInferType() : this.tsInAllowConditionalTypesContext(function() {
4108
4108
  return i.tsParseArrayTypeOrHigher();
4109
4109
  });
4110
4110
  }, p.tsParseIntersectionTypeOrHigher = function() {
@@ -4115,7 +4115,7 @@ function Es(t) {
4115
4115
  return this.tsIsStartOfFunctionType() ? this.tsParseFunctionOrConstructorType("TSFunctionType") : this.match(o._new) ? this.tsParseFunctionOrConstructorType("TSConstructorType") : this.isAbstractConstructorSignature() ? this.tsParseFunctionOrConstructorType("TSConstructorType", !0) : this.tsParseUnionTypeOrHigher();
4116
4116
  }, p.tsParseType = function() {
4117
4117
  var i = this;
4118
- Fe(this.inType);
4118
+ Be(this.inType);
4119
4119
  var s = this.tsParseNonConditionalType();
4120
4120
  if (this.inDisallowConditionalTypesContext || this.hasPrecedingLineBreak() || !this.eat(o._extends)) return s;
4121
4121
  var n = this.startNodeAtNode(s);
@@ -4145,7 +4145,7 @@ function Es(t) {
4145
4145
  return n && (i.typeAnnotation = n), this.tsParseTypeMemberSemicolon(), this.finishNode(i, "TSIndexSignature");
4146
4146
  }
4147
4147
  }, p.tsParseNoneModifiers = function(i) {
4148
- this.tsParseModifiers({ modified: i, allowedModifiers: [], disallowedModifiers: ["in", "out"], errorTemplate: w.InvalidModifierOnTypeParameterPositions });
4148
+ this.tsParseModifiers({ modified: i, allowedModifiers: [], disallowedModifiers: ["in", "out"], errorTemplate: A.InvalidModifierOnTypeParameterPositions });
4149
4149
  }, p.tsParseTypeParameter = function(i) {
4150
4150
  i === void 0 && (i = this.tsParseNoneModifiers.bind(this));
4151
4151
  var s = this.startNode();
@@ -4154,7 +4154,7 @@ function Es(t) {
4154
4154
  var s = this.startNode();
4155
4155
  this.tsMatchLeftRelational() || this.matchJsx("jsxTagStart") ? this.next() : this.unexpected();
4156
4156
  var n = { value: -1 };
4157
- return s.params = this.tsParseBracketedList("TypeParametersOrArguments", this.tsParseTypeParameter.bind(this, i), !1, !0, n), s.params.length === 0 && this.raise(this.start, w.EmptyTypeParameters), n.value !== -1 && this.addExtra(s, "trailingComma", n.value), this.finishNode(s, "TSTypeParameterDeclaration");
4157
+ return s.params = this.tsParseBracketedList("TypeParametersOrArguments", this.tsParseTypeParameter.bind(this, i), !1, !0, n), s.params.length === 0 && this.raise(this.start, A.EmptyTypeParameters), n.value !== -1 && this.addExtra(s, "trailingComma", n.value), this.finishNode(s, "TSTypeParameterDeclaration");
4158
4158
  }, p.tsTryParseTypeParameters = function(i) {
4159
4159
  if (this.tsMatchLeftRelational()) return this.tsParseTypeParameters(i);
4160
4160
  }, p.tsTryParse = function(i) {
@@ -4178,31 +4178,31 @@ function Es(t) {
4178
4178
  s[m] = n[m];
4179
4179
  }
4180
4180
  }, p.tsParseModifiers = function(i) {
4181
- for (var s = this, n = i.modified, c = i.allowedModifiers, l = i.disallowedModifiers, m = i.stopOnStartOfClassStaticBlock, y = i.errorTemplate, x = y === void 0 ? w.InvalidModifierOnTypeMember : y, b = {}, S = function(q, U, H, G) {
4182
- U === H && n[G] && s.raise(q.column, w.InvalidModifiersOrder({ orderedModifiers: [H, G] }));
4183
- }, E = function(q, U, H, G) {
4184
- (n[H] && U === G || n[G] && U === H) && s.raise(q.column, w.IncompatibleModifiers({ modifiers: [H, G] }));
4181
+ for (var s = this, n = i.modified, c = i.allowedModifiers, l = i.disallowedModifiers, m = i.stopOnStartOfClassStaticBlock, y = i.errorTemplate, x = y === void 0 ? A.InvalidModifierOnTypeMember : y, b = {}, S = function(q, U, H, z) {
4182
+ U === H && n[z] && s.raise(q.column, A.InvalidModifiersOrder({ orderedModifiers: [H, z] }));
4183
+ }, E = function(q, U, H, z) {
4184
+ (n[H] && U === z || n[z] && U === H) && s.raise(q.column, A.IncompatibleModifiers({ modifiers: [H, z] }));
4185
4185
  }; ; ) {
4186
- var L = this.startLoc, k = this.tsParseModifier(c.concat(l ?? []), m);
4187
- if (!k) break;
4188
- Be(k) ? n.accessibility ? this.raise(this.start, w.DuplicateAccessibilityModifier()) : (S(L, k, k, "override"), S(L, k, k, "static"), S(L, k, k, "readonly"), S(L, k, k, "accessor"), b.accessibility = k, n.accessibility = k) : As(k) ? n[k] ? this.raise(this.start, w.DuplicateModifier({ modifier: k })) : (S(L, k, "in", "out"), b[k] = k, n[k] = !0) : ks(k) ? n[k] ? this.raise(this.start, w.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, w.DuplicateModifier({ modifier: k })) : (S(L, k, "static", "readonly"), S(L, k, "static", "override"), S(L, k, "override", "readonly"), S(L, k, "abstract", "override"), E(L, k, "declare", "override"), E(L, k, "static", "abstract"), b[k] = k, n[k] = !0), l != null && l.includes(k) && this.raise(this.start, x);
4186
+ var N = this.startLoc, C = this.tsParseModifier(c.concat(l ?? []), m);
4187
+ if (!C) break;
4188
+ je(C) ? n.accessibility ? this.raise(this.start, A.DuplicateAccessibilityModifier()) : (S(N, C, C, "override"), S(N, C, C, "static"), S(N, C, C, "readonly"), S(N, C, C, "accessor"), b.accessibility = C, n.accessibility = C) : Es(C) ? n[C] ? this.raise(this.start, A.DuplicateModifier({ modifier: C })) : (S(N, C, "in", "out"), b[C] = C, n[C] = !0) : ws(C) ? n[C] ? this.raise(this.start, A.DuplicateModifier({ modifier: C })) : (E(N, C, "accessor", "readonly"), E(N, C, "accessor", "static"), E(N, C, "accessor", "override"), b[C] = C, n[C] = !0) : Object.hasOwnProperty.call(n, C) ? this.raise(this.start, A.DuplicateModifier({ modifier: C })) : (S(N, C, "static", "readonly"), S(N, C, "static", "override"), S(N, C, "override", "readonly"), S(N, C, "abstract", "override"), E(N, C, "declare", "override"), E(N, C, "static", "abstract"), b[C] = C, n[C] = !0), l != null && l.includes(C) && this.raise(this.start, x);
4189
4189
  }
4190
4190
  return b;
4191
4191
  }, p.tsParseInOutModifiers = function(i) {
4192
- this.tsParseModifiers({ modified: i, allowedModifiers: ["in", "out"], disallowedModifiers: ["public", "private", "protected", "readonly", "declare", "abstract", "override"], errorTemplate: w.InvalidModifierOnTypeParameter });
4192
+ this.tsParseModifiers({ modified: i, allowedModifiers: ["in", "out"], disallowedModifiers: ["public", "private", "protected", "readonly", "declare", "abstract", "override"], errorTemplate: A.InvalidModifierOnTypeParameter });
4193
4193
  }, p.tsParseTypeArguments = function() {
4194
4194
  var i = this, s = this.startNode();
4195
4195
  return s.params = this.tsInType(function() {
4196
4196
  return i.tsInNoContext(function() {
4197
4197
  return i.expect(o.relational), i.tsParseDelimitedList("TypeParametersOrArguments", i.tsParseType.bind(i));
4198
4198
  });
4199
- }), s.params.length === 0 && this.raise(this.start, w.EmptyTypeArguments), this.exprAllowed = !1, this.expect(o.relational), this.finishNode(s, "TSTypeParameterInstantiation");
4199
+ }), s.params.length === 0 && this.raise(this.start, A.EmptyTypeArguments), this.exprAllowed = !1, this.expect(o.relational), this.finishNode(s, "TSTypeParameterInstantiation");
4200
4200
  }, p.tsParseHeritageClause = function(i) {
4201
4201
  var s = this, n = this.start, c = this.tsParseDelimitedList("HeritageClauseElement", function() {
4202
4202
  var l = s.startNode();
4203
4203
  return l.expression = s.tsParseEntityName(), s.tsMatchLeftRelational() && (l.typeParameters = s.tsParseTypeArguments()), s.finishNode(l, "TSExpressionWithTypeArguments");
4204
4204
  });
4205
- return c.length || this.raise(n, w.EmptyHeritageClauseType({ token: i })), c;
4205
+ return c.length || this.raise(n, A.EmptyHeritageClauseType({ token: i })), c;
4206
4206
  }, p.tsParseTypeMemberSemicolon = function() {
4207
4207
  this.eat(o.comma) || this.isLineTerminator() || this.expect(o.semi);
4208
4208
  }, p.tsTryParseAndCatch = function(i) {
@@ -4216,18 +4216,18 @@ function Es(t) {
4216
4216
  this.eat(o.question) && (i.optional = !0);
4217
4217
  var n = i;
4218
4218
  if (this.match(o.parenL) || this.tsMatchLeftRelational()) {
4219
- s && this.raise(i.start, w.ReadonlyForMethodSignature);
4219
+ s && this.raise(i.start, A.ReadonlyForMethodSignature);
4220
4220
  var c = n;
4221
- c.kind && this.tsMatchLeftRelational() && this.raise(this.start, w.AccesorCannotHaveTypeParameters), this.tsFillSignature(o.colon, c), this.tsParseTypeMemberSemicolon();
4221
+ c.kind && this.tsMatchLeftRelational() && this.raise(this.start, A.AccesorCannotHaveTypeParameters), this.tsFillSignature(o.colon, c), this.tsParseTypeMemberSemicolon();
4222
4222
  var l = "parameters", m = "typeAnnotation";
4223
- if (c.kind === "get") c[l].length > 0 && (this.raise(this.start, "A 'get' accesor must not have any formal parameters."), this.isThisParam(c[l][0]) && this.raise(this.start, w.AccesorCannotDeclareThisParameter));
4223
+ if (c.kind === "get") c[l].length > 0 && (this.raise(this.start, "A 'get' accesor must not have any formal parameters."), this.isThisParam(c[l][0]) && this.raise(this.start, A.AccesorCannotDeclareThisParameter));
4224
4224
  else if (c.kind === "set") {
4225
4225
  if (c[l].length !== 1) this.raise(this.start, "A 'get' accesor must not have any formal parameters.");
4226
4226
  else {
4227
4227
  var y = c[l][0];
4228
- this.isThisParam(y) && this.raise(this.start, w.AccesorCannotDeclareThisParameter), y.type === "Identifier" && y.optional && this.raise(this.start, w.SetAccesorCannotHaveOptionalParameter), y.type === "RestElement" && this.raise(this.start, w.SetAccesorCannotHaveRestParameter);
4228
+ this.isThisParam(y) && this.raise(this.start, A.AccesorCannotDeclareThisParameter), y.type === "Identifier" && y.optional && this.raise(this.start, A.SetAccesorCannotHaveOptionalParameter), y.type === "RestElement" && this.raise(this.start, A.SetAccesorCannotHaveRestParameter);
4229
4229
  }
4230
- c[m] && this.raise(c[m].start, w.SetAccesorCannotHaveReturnType);
4230
+ c[m] && this.raise(c[m].start, A.SetAccesorCannotHaveReturnType);
4231
4231
  } else c.kind = "method";
4232
4232
  return this.finishNode(c, "TSMethodSignature");
4233
4233
  }
@@ -4252,16 +4252,16 @@ function Es(t) {
4252
4252
  return this.expect(o.braceR), i;
4253
4253
  }, p.tsParseInterfaceDeclaration = function(i, s) {
4254
4254
  if (s === void 0 && (s = {}), this.hasFollowingLineBreak()) return null;
4255
- this.expectContextual("interface"), s.declare && (i.declare = !0), B(this.type) ? (i.id = this.parseIdent(), this.checkLValSimple(i.id, 7)) : (i.id = null, this.raise(this.start, w.MissingInterfaceName)), i.typeParameters = this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this)), this.eat(o._extends) && (i.extends = this.tsParseHeritageClause("extends"));
4255
+ this.expectContextual("interface"), s.declare && (i.declare = !0), B(this.type) ? (i.id = this.parseIdent(), this.checkLValSimple(i.id, 7)) : (i.id = null, this.raise(this.start, A.MissingInterfaceName)), i.typeParameters = this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this)), this.eat(o._extends) && (i.extends = this.tsParseHeritageClause("extends"));
4256
4256
  var n = this.startNode();
4257
4257
  return n.body = this.tsInType(this.tsParseObjectTypeMembers.bind(this)), i.body = this.finishNode(n, "TSInterfaceBody"), this.finishNode(i, "TSInterfaceDeclaration");
4258
4258
  }, p.tsParseAbstractDeclaration = function(i) {
4259
4259
  if (this.match(o._class)) return i.abstract = !0, this.parseClass(i, !0);
4260
- if (this.ts_isContextual(_.interface)) {
4260
+ if (this.ts_isContextual(I.interface)) {
4261
4261
  if (!this.hasFollowingLineBreak()) return i.abstract = !0, this.tsParseInterfaceDeclaration(i);
4262
4262
  } else this.unexpected(i.start);
4263
4263
  }, p.tsIsDeclarationStart = function() {
4264
- return Ci(this.type);
4264
+ return Ai(this.type);
4265
4265
  }, p.tsParseExpressionStatement = function(i, s) {
4266
4266
  switch (s.name) {
4267
4267
  case "declare":
@@ -4284,7 +4284,7 @@ function Es(t) {
4284
4284
  var i = this.type, s = this.isAsyncFunction(), n = this.isLet();
4285
4285
  if (B(i)) {
4286
4286
  if (s && !this.containsEsc || n) return !1;
4287
- if ((i === _.type || i === _.interface) && !this.containsEsc) {
4287
+ if ((i === I.type || i === I.interface) && !this.containsEsc) {
4288
4288
  var c = this.lookahead();
4289
4289
  if (B(c.type) && !this.isContextualWithState("from", c) || c.type === o.braceL) return !1;
4290
4290
  }
@@ -4317,7 +4317,7 @@ function Es(t) {
4317
4317
  }, p.tsParseTypeAliasDeclaration = function(i) {
4318
4318
  var s = this;
4319
4319
  return i.id = this.parseIdent(), this.checkLValSimple(i.id, 6), i.typeAnnotation = this.tsInType(function() {
4320
- if (i.typeParameters = s.tsTryParseTypeParameters(s.tsParseInOutModifiers.bind(s)), s.expect(o.eq), s.ts_isContextual(_.interface) && s.lookahead().type !== o.dot) {
4320
+ if (i.typeParameters = s.tsTryParseTypeParameters(s.tsParseInOutModifiers.bind(s)), s.expect(o.eq), s.ts_isContextual(I.interface) && s.lookahead().type !== o.dot) {
4321
4321
  var n = s.startNode();
4322
4322
  return s.next(), s.finishNode(n, "TSIntrinsicKeyword");
4323
4323
  }
@@ -4345,13 +4345,13 @@ function Es(t) {
4345
4345
  }, p.tsParseImportEqualsDeclaration = function(i, s) {
4346
4346
  i.isExport = s || !1, i.id = this.parseIdent(), this.checkLValSimple(i.id, 2), T.prototype.expect.call(this, o.eq);
4347
4347
  var n = this.tsParseModuleReference();
4348
- return i.importKind === "type" && n.type !== "TSExternalModuleReference" && this.raise(n.start, w.ImportAliasHasImportType), i.moduleReference = n, T.prototype.semicolon.call(this), this.finishNode(i, "TSImportEqualsDeclaration");
4348
+ return i.importKind === "type" && n.type !== "TSExternalModuleReference" && this.raise(n.start, A.ImportAliasHasImportType), i.moduleReference = n, T.prototype.semicolon.call(this), this.finishNode(i, "TSImportEqualsDeclaration");
4349
4349
  }, p.isExportDefaultSpecifier = function() {
4350
4350
  if (this.tsIsDeclarationStart()) return !1;
4351
4351
  var i = this.type;
4352
4352
  if (B(i)) {
4353
4353
  if (this.isContextual("async") || this.isContextual("let")) return !1;
4354
- if ((i === _.type || i === _.interface) && !this.containsEsc) {
4354
+ if ((i === I.type || i === I.interface) && !this.containsEsc) {
4355
4355
  var s = this.lookahead();
4356
4356
  if (B(s.type) && !this.isContextualWithState("from", s) || s.type === o.braceL) return !1;
4357
4357
  }
@@ -4378,7 +4378,7 @@ function Es(t) {
4378
4378
  }, p.parseFunctionBody = function(i, s, n, c, l) {
4379
4379
  s === void 0 && (s = !1), n === void 0 && (n = !1), c === void 0 && (c = !1), this.match(o.colon) && (i.returnType = this.tsParseTypeOrTypePredicateAnnotation(o.colon));
4380
4380
  var m = l != null && l.isFunctionDeclaration ? "TSDeclareFunction" : l != null && l.isClassMethod ? "TSDeclareMethod" : void 0;
4381
- return m && !this.match(o.braceL) && this.isLineTerminator() ? this.finishNode(i, m) : m === "TSDeclareFunction" && this.isAmbientContext && (this.raise(i.start, w.DeclareFunctionHasImplementation), i.declare) ? (T.prototype.parseFunctionBody.call(this, i, s, n, !1), this.finishNode(i, m)) : (T.prototype.parseFunctionBody.call(this, i, s, n, c), i);
4381
+ return m && !this.match(o.braceL) && this.isLineTerminator() ? this.finishNode(i, m) : m === "TSDeclareFunction" && this.isAmbientContext && (this.raise(i.start, A.DeclareFunctionHasImplementation), i.declare) ? (T.prototype.parseFunctionBody.call(this, i, s, n, !1), this.finishNode(i, m)) : (T.prototype.parseFunctionBody.call(this, i, s, n, c), i);
4382
4382
  }, p.parseNew = function() {
4383
4383
  var i;
4384
4384
  this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword new");
@@ -4403,7 +4403,7 @@ function Es(t) {
4403
4403
  return T.prototype.parseExprOp.call(this, i, s, n, c, l);
4404
4404
  }, p.parseImportSpecifiers = function() {
4405
4405
  var i = [], s = !0;
4406
- if (v.tokenIsIdentifier(this.type) && (i.push(this.parseImportDefaultSpecifier()), !this.eat(o.comma))) return i;
4406
+ if (g.tokenIsIdentifier(this.type) && (i.push(this.parseImportDefaultSpecifier()), !this.eat(o.comma))) return i;
4407
4407
  if (this.type === o.star) return i.push(this.parseImportNamespaceSpecifier()), i;
4408
4408
  for (this.expect(o.braceL); !this.eat(o.braceR); ) {
4409
4409
  if (s) s = !1;
@@ -4421,13 +4421,13 @@ function Es(t) {
4421
4421
  return this.importOrExportOuterKind = "value", c;
4422
4422
  }
4423
4423
  }
4424
- return this.next(), this.type === o.string ? (i.specifiers = [], i.source = this.parseExprAtom()) : (i.specifiers = this.parseImportSpecifiers(), this.expectContextual("from"), i.source = this.type === o.string ? this.parseExprAtom() : this.unexpected()), this.parseMaybeImportAttributes(i), this.semicolon(), this.finishNode(i, "ImportDeclaration"), this.importOrExportOuterKind = "value", i.importKind === "type" && i.specifiers.length > 1 && i.specifiers[0].type === "ImportDefaultSpecifier" && this.raise(i.start, w.TypeImportCannotSpecifyDefaultAndNamed), i;
4424
+ return this.next(), this.type === o.string ? (i.specifiers = [], i.source = this.parseExprAtom()) : (i.specifiers = this.parseImportSpecifiers(), this.expectContextual("from"), i.source = this.type === o.string ? this.parseExprAtom() : this.unexpected()), this.parseMaybeImportAttributes(i), this.semicolon(), this.finishNode(i, "ImportDeclaration"), this.importOrExportOuterKind = "value", i.importKind === "type" && i.specifiers.length > 1 && i.specifiers[0].type === "ImportDefaultSpecifier" && this.raise(i.start, A.TypeImportCannotSpecifyDefaultAndNamed), i;
4425
4425
  }, p.parseExportDefaultDeclaration = function() {
4426
4426
  if (this.isAbstractClass()) {
4427
4427
  var i = this.startNode();
4428
4428
  return this.next(), i.abstract = !0, this.parseClass(i, !0);
4429
4429
  }
4430
- if (this.match(_.interface)) {
4430
+ if (this.match(I.interface)) {
4431
4431
  var s = this.tsParseInterfaceDeclaration(this.startNode());
4432
4432
  if (s) return s;
4433
4433
  }
@@ -4447,7 +4447,7 @@ function Es(t) {
4447
4447
  }, p.parseExport = function(i, s) {
4448
4448
  var n = this.lookahead();
4449
4449
  if (this.ts_eatWithState(o._import, 2, n)) {
4450
- this.ts_isContextual(_.type) && this.lookaheadCharCode() !== 61 ? (i.importKind = "type", this.importOrExportOuterKind = "type", this.next()) : (i.importKind = "value", this.importOrExportOuterKind = "value");
4450
+ this.ts_isContextual(I.type) && this.lookaheadCharCode() !== 61 ? (i.importKind = "type", this.importOrExportOuterKind = "type", this.next()) : (i.importKind = "value", this.importOrExportOuterKind = "value");
4451
4451
  var c = this.tsParseImportEqualsDeclaration(i, !0);
4452
4452
  return this.importOrExportOuterKind = void 0, c;
4453
4453
  }
@@ -4459,13 +4459,13 @@ function Es(t) {
4459
4459
  var m = i;
4460
4460
  return this.expectContextual("namespace"), m.id = this.parseIdent(), this.semicolon(), this.importOrExportOuterKind = void 0, this.finishNode(m, "TSNamespaceExportDeclaration");
4461
4461
  }
4462
- if (this.ts_isContextualWithState(n, _.type) && this.lookahead(2).type === o.braceL ? (this.next(), this.importOrExportOuterKind = "type", i.exportKind = "type") : (this.importOrExportOuterKind = "value", i.exportKind = "value"), this.next(), this.eat(o.star)) return this.parseExportAllDeclaration(i, s);
4462
+ if (this.ts_isContextualWithState(n, I.type) && this.lookahead(2).type === o.braceL ? (this.next(), this.importOrExportOuterKind = "type", i.exportKind = "type") : (this.importOrExportOuterKind = "value", i.exportKind = "value"), this.next(), this.eat(o.star)) return this.parseExportAllDeclaration(i, s);
4463
4463
  if (this.eat(o._default)) return this.checkExport(s, "default", this.lastTokStart), i.declaration = this.parseExportDefaultDeclaration(), this.finishNode(i, "ExportDefaultDeclaration");
4464
4464
  if (this.shouldParseExportStatement()) i.declaration = this.parseExportDeclaration(i), i.declaration.type === "VariableDeclaration" ? this.checkVariableExport(s, i.declaration.declarations) : this.checkExport(s, i.declaration.id, i.declaration.id.start), i.specifiers = [], i.source = null;
4465
4465
  else {
4466
4466
  if (i.declaration = null, i.specifiers = this.parseExportSpecifiers(s), this.eatContextual("from")) this.type !== o.string && this.unexpected(), i.source = this.parseExprAtom(), this.parseMaybeImportAttributes(i);
4467
4467
  else {
4468
- for (var y, x = Me(i.specifiers); !(y = x()).done; ) {
4468
+ for (var y, x = De(i.specifiers); !(y = x()).done; ) {
4469
4469
  var b = y.value;
4470
4470
  this.checkUnreserved(b.local), this.checkLocalExport(b.local), b.local.type === "Literal" && this.raise(b.local.start, "A string literal cannot be used as an exported binding without `from`.");
4471
4471
  }
@@ -4478,7 +4478,7 @@ function Es(t) {
4478
4478
  i && (typeof s != "string" && (s = s.type === "Identifier" ? s.name : s.value), i[s] = !0);
4479
4479
  }, p.parseMaybeDefault = function(i, s, n) {
4480
4480
  var c = T.prototype.parseMaybeDefault.call(this, i, s, n);
4481
- return c.type === "AssignmentPattern" && c.typeAnnotation && c.right.start < c.typeAnnotation.start && this.raise(c.typeAnnotation.start, w.TypeAnnotationAfterAssign), c;
4481
+ return c.type === "AssignmentPattern" && c.typeAnnotation && c.right.start < c.typeAnnotation.start && this.raise(c.typeAnnotation.start, A.TypeAnnotationAfterAssign), c;
4482
4482
  }, p.typeCastToParameter = function(i) {
4483
4483
  return i.expression.typeAnnotation = i.typeAnnotation, this.resetEndLocation(i.expression, i.typeAnnotation.end), i.expression;
4484
4484
  }, p.toAssignableList = function(i, s) {
@@ -4489,12 +4489,12 @@ function Es(t) {
4489
4489
  return T.prototype.toAssignableList.call(this, i, s);
4490
4490
  }, p.reportReservedArrowTypeParam = function(i) {
4491
4491
  }, p.parseExprAtom = function(i, s, n) {
4492
- if (this.type === _.jsxText) return this.jsx_parseText();
4493
- if (this.type === _.jsxTagStart) return this.jsx_parseElement();
4494
- if (this.type === _.at) return this.parseDecorators(), this.parseExprAtom();
4492
+ if (this.type === I.jsxText) return this.jsx_parseText();
4493
+ if (this.type === I.jsxTagStart) return this.jsx_parseElement();
4494
+ if (this.type === I.at) return this.parseDecorators(), this.parseExprAtom();
4495
4495
  if (B(this.type)) {
4496
4496
  var c = this.potentialArrowAt === this.start, l = this.start, m = this.startLoc, y = this.containsEsc, x = this.parseIdent(!1);
4497
- if (this.options.ecmaVersion >= 8 && !y && x.name === "async" && !this.canInsertSemicolon() && this.eat(o._function)) return this.overrideContext(z.f_expr), this.parseFunction(this.startNodeAt(l, m), 0, !1, !0, s);
4497
+ if (this.options.ecmaVersion >= 8 && !y && x.name === "async" && !this.canInsertSemicolon() && this.eat(o._function)) return this.overrideContext(J.f_expr), this.parseFunction(this.startNodeAt(l, m), 0, !1, !0, s);
4498
4498
  if (c && !this.canInsertSemicolon()) {
4499
4499
  if (this.eat(o.arrow)) return this.parseArrowExpression(this.startNodeAt(l, m), [x], !1, s);
4500
4500
  if (this.options.ecmaVersion >= 8 && x.name === "async" && this.type === o.name && !y && (!this.potentialArrowInForAwait || this.value !== "of" || this.containsEsc)) return x = this.parseIdent(!1), !this.canInsertSemicolon() && this.eat(o.arrow) || this.unexpected(), this.parseArrowExpression(this.startNodeAt(l, m), [x], !0, s);
@@ -4528,18 +4528,18 @@ function Es(t) {
4528
4528
  this.next(), T.prototype.parseVar.call(this, i, !1, s, n || c), this.semicolon();
4529
4529
  var l = this.finishNode(i, "VariableDeclaration");
4530
4530
  if (!c) return l;
4531
- for (var m, y = Me(l.declarations); !(m = y()).done; ) {
4531
+ for (var m, y = De(l.declarations); !(m = y()).done; ) {
4532
4532
  var x = m.value, b = x.init;
4533
- b && (s !== "const" || x.id.typeAnnotation ? this.raise(b.start, w.InitializerNotAllowedInAmbientContext) : b.type !== "StringLiteral" && b.type !== "BooleanLiteral" && b.type !== "NumericLiteral" && b.type !== "BigIntLiteral" && (b.type !== "TemplateLiteral" || b.expressions.length > 0) && !ws(b) && this.raise(b.start, w.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference));
4533
+ b && (s !== "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) && !Is(b) && this.raise(b.start, A.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference));
4534
4534
  }
4535
4535
  return l;
4536
4536
  }, p.parseStatement = function(i, s, n) {
4537
- if (this.match(_.at) && this.parseDecorators(!0), this.match(o._const) && this.isLookaheadContextual("enum")) {
4537
+ if (this.match(I.at) && this.parseDecorators(!0), this.match(o._const) && this.isLookaheadContextual("enum")) {
4538
4538
  var c = this.startNode();
4539
4539
  return this.expect(o._const), this.tsParseEnumDeclaration(c, { const: !0 });
4540
4540
  }
4541
- if (this.ts_isContextual(_.enum)) return this.tsParseEnumDeclaration(this.startNode());
4542
- if (this.ts_isContextual(_.interface)) {
4541
+ if (this.ts_isContextual(I.enum)) return this.tsParseEnumDeclaration(this.startNode());
4542
+ if (this.ts_isContextual(I.interface)) {
4543
4543
  var l = this.tsParseInterfaceDeclaration(this.startNode());
4544
4544
  if (l) return l;
4545
4545
  }
@@ -4547,11 +4547,11 @@ function Es(t) {
4547
4547
  }, p.parseAccessModifier = function() {
4548
4548
  return this.tsParseModifier(["public", "protected", "private"]);
4549
4549
  }, p.parsePostMemberNameModifiers = function(i) {
4550
- this.eat(o.question) && (i.optional = !0), i.readonly && this.match(o.parenL) && this.raise(i.start, w.ClassMethodHasReadonly), i.declare && this.match(o.parenL) && this.raise(i.start, w.ClassMethodHasDeclare);
4550
+ this.eat(o.question) && (i.optional = !0), i.readonly && this.match(o.parenL) && this.raise(i.start, A.ClassMethodHasReadonly), i.declare && this.match(o.parenL) && this.raise(i.start, A.ClassMethodHasDeclare);
4551
4551
  }, p.parseExpressionStatement = function(i, s) {
4552
4552
  return (s.type === "Identifier" ? this.tsParseExpressionStatement(i, s) : void 0) || T.prototype.parseExpressionStatement.call(this, i, s);
4553
4553
  }, p.shouldParseExportStatement = function() {
4554
- return !!this.tsIsDeclarationStart() || !!this.match(_.at) || T.prototype.shouldParseExportStatement.call(this);
4554
+ return !!this.tsIsDeclarationStart() || !!this.match(I.at) || T.prototype.shouldParseExportStatement.call(this);
4555
4555
  }, p.parseConditional = function(i, s, n, c, l) {
4556
4556
  if (this.eat(o.question)) {
4557
4557
  var m = this.startNodeAt(s, n);
@@ -4575,11 +4575,11 @@ function Es(t) {
4575
4575
  return i;
4576
4576
  }, p.parseExportDeclaration = function(i) {
4577
4577
  var s = this;
4578
- if (!this.isAmbientContext && this.ts_isContextual(_.declare)) return this.tsInAmbientContext(function() {
4578
+ if (!this.isAmbientContext && this.ts_isContextual(I.declare)) return this.tsInAmbientContext(function() {
4579
4579
  return s.parseExportDeclaration(i);
4580
4580
  });
4581
4581
  var n = this.start, c = this.startLoc, l = this.eatContextual("declare");
4582
- !l || !this.ts_isContextual(_.declare) && this.shouldParseExportStatement() || this.raise(this.start, w.ExpectedAmbientAfterExportDeclare);
4582
+ !l || !this.ts_isContextual(I.declare) && this.shouldParseExportStatement() || this.raise(this.start, A.ExpectedAmbientAfterExportDeclare);
4583
4583
  var m = B(this.type) && this.tsTryParseExportDeclaration() || this.parseStatement(null);
4584
4584
  return m ? ((m.type === "TSInterfaceDeclaration" || m.type === "TSTypeAliasDeclaration" || l) && (i.exportKind = "type"), l && (this.resetStartLocation(m, n, c), m.declare = !0), m) : null;
4585
4585
  }, p.parseClassId = function(i, s) {
@@ -4593,19 +4593,19 @@ function Es(t) {
4593
4593
  var s = this.tsTryParseTypeAnnotation();
4594
4594
  s && (i.typeAnnotation = s);
4595
4595
  }, p.parseClassField = function(i) {
4596
- if (i.key.type === "PrivateIdentifier") i.abstract && this.raise(i.start, w.PrivateElementHasAbstract), i.accessibility && this.raise(i.start, w.PrivateElementHasAccessibility({ modifier: i.accessibility })), this.parseClassPropertyAnnotation(i);
4597
- else if (this.parseClassPropertyAnnotation(i), this.isAmbientContext && (!i.readonly || i.typeAnnotation) && this.match(o.eq) && this.raise(this.start, w.DeclareClassFieldHasInitializer), i.abstract && this.match(o.eq)) {
4596
+ if (i.key.type === "PrivateIdentifier") i.abstract && this.raise(i.start, A.PrivateElementHasAbstract), i.accessibility && this.raise(i.start, A.PrivateElementHasAccessibility({ modifier: i.accessibility })), this.parseClassPropertyAnnotation(i);
4597
+ else if (this.parseClassPropertyAnnotation(i), this.isAmbientContext && (!i.readonly || i.typeAnnotation) && this.match(o.eq) && this.raise(this.start, A.DeclareClassFieldHasInitializer), i.abstract && this.match(o.eq)) {
4598
4598
  var s = i.key;
4599
- this.raise(this.start, w.AbstractPropertyHasInitializer({ propertyName: s.type !== "Identifier" || i.computed ? "[" + this.input.slice(s.start, s.end) + "]" : s.name }));
4599
+ this.raise(this.start, A.AbstractPropertyHasInitializer({ propertyName: s.type !== "Identifier" || i.computed ? "[" + this.input.slice(s.start, s.end) + "]" : s.name }));
4600
4600
  }
4601
4601
  return T.prototype.parseClassField.call(this, i);
4602
4602
  }, p.parseClassMethod = function(i, s, n, c) {
4603
4603
  var l = i.kind === "constructor", m = i.key.type === "PrivateIdentifier", y = this.tsTryParseTypeParameters();
4604
- m ? (y && (i.typeParameters = y), i.accessibility && this.raise(i.start, w.PrivateMethodsHasAccessibility({ modifier: i.accessibility }))) : y && l && this.raise(y.start, w.ConstructorHasTypeParameters);
4604
+ m ? (y && (i.typeParameters = y), i.accessibility && this.raise(i.start, A.PrivateMethodsHasAccessibility({ modifier: i.accessibility }))) : y && l && this.raise(y.start, A.ConstructorHasTypeParameters);
4605
4605
  var x = i.declare, b = i.kind;
4606
- !(x !== void 0 && x) || b !== "get" && b !== "set" || this.raise(i.start, w.DeclareAccessor({ kind: b })), y && (i.typeParameters = y);
4606
+ !(x !== void 0 && x) || b !== "get" && b !== "set" || this.raise(i.start, A.DeclareAccessor({ kind: b })), y && (i.typeParameters = y);
4607
4607
  var S = i.key;
4608
- i.kind === "constructor" ? (s && this.raise(S.start, "Constructor can't be a generator"), n && this.raise(S.start, "Constructor can't be an async method")) : i.static && Ve(i, "prototype") && this.raise(S.start, "Classes may not have a static property named prototype");
4608
+ i.kind === "constructor" ? (s && this.raise(S.start, "Constructor can't be a generator"), n && this.raise(S.start, "Constructor can't be an async method")) : i.static && Fe(i, "prototype") && this.raise(S.start, "Classes may not have a static property named prototype");
4609
4609
  var E = i.value = this.parseMethod(s, n, c, !0, i);
4610
4610
  return i.kind === "get" && E.params.length !== 0 && this.raiseRecoverable(E.start, "getter should have no params"), i.kind === "set" && E.params.length !== 1 && this.raiseRecoverable(E.start, "setter should have exactly one param"), i.kind === "set" && E.params[0].type === "RestElement" && this.raiseRecoverable(E.params[0].start, "Setter cannot use rest params"), this.finishNode(i, "MethodDefinition");
4611
4611
  }, p.isClassMethod = function() {
@@ -4613,25 +4613,25 @@ function Es(t) {
4613
4613
  }, p.parseClassElement = function(i) {
4614
4614
  var s = this;
4615
4615
  if (this.eat(o.semi)) return null;
4616
- var n, c = this.options.ecmaVersion, l = this.startNode(), m = "", y = !1, x = !1, b = "method", S = ["declare", "private", "public", "protected", "accessor", "override", "abstract", "readonly", "static"], E = this.tsParseModifiers({ modified: l, allowedModifiers: S, disallowedModifiers: ["in", "out"], stopOnStartOfClassStaticBlock: !0, errorTemplate: w.InvalidModifierOnTypeParameterPositions });
4616
+ var n, c = this.options.ecmaVersion, l = this.startNode(), m = "", y = !1, x = !1, b = "method", S = ["declare", "private", "public", "protected", "accessor", "override", "abstract", "readonly", "static"], E = this.tsParseModifiers({ modified: l, allowedModifiers: S, disallowedModifiers: ["in", "out"], stopOnStartOfClassStaticBlock: !0, errorTemplate: A.InvalidModifierOnTypeParameterPositions });
4617
4617
  n = !!E.static;
4618
- var L = function() {
4618
+ var N = function() {
4619
4619
  if (!s.tsIsStartOfStaticBlocks()) {
4620
- var k = s.tsTryParseIndexSignature(l);
4621
- if (k) return l.abstract && s.raise(l.start, w.IndexSignatureHasAbstract), l.accessibility && s.raise(l.start, w.IndexSignatureHasAccessibility({ modifier: l.accessibility })), l.declare && s.raise(l.start, w.IndexSignatureHasDeclare), l.override && s.raise(l.start, w.IndexSignatureHasOverride), k;
4622
- if (!s.inAbstractClass && l.abstract && s.raise(l.start, w.NonAbstractClassHasAbstractMethod), l.override && i && s.raise(l.start, w.OverrideNotInSubClass), l.static = n, n && (s.isClassElementNameStart() || s.type === o.star || (m = "static")), !m && c >= 8 && s.eatContextual("async") && (!s.isClassElementNameStart() && s.type !== o.star || s.canInsertSemicolon() ? m = "async" : x = !0), !m && (c >= 9 || !x) && s.eat(o.star) && (y = !0), !m && !x && !y) {
4620
+ var C = s.tsTryParseIndexSignature(l);
4621
+ if (C) return l.abstract && s.raise(l.start, A.IndexSignatureHasAbstract), l.accessibility && s.raise(l.start, A.IndexSignatureHasAccessibility({ modifier: l.accessibility })), l.declare && s.raise(l.start, A.IndexSignatureHasDeclare), l.override && s.raise(l.start, A.IndexSignatureHasOverride), C;
4622
+ if (!s.inAbstractClass && l.abstract && s.raise(l.start, A.NonAbstractClassHasAbstractMethod), l.override && i && s.raise(l.start, A.OverrideNotInSubClass), l.static = n, n && (s.isClassElementNameStart() || s.type === o.star || (m = "static")), !m && c >= 8 && s.eatContextual("async") && (!s.isClassElementNameStart() && s.type !== o.star || s.canInsertSemicolon() ? m = "async" : x = !0), !m && (c >= 9 || !x) && s.eat(o.star) && (y = !0), !m && !x && !y) {
4623
4623
  var q = s.value;
4624
4624
  (s.eatContextual("get") || s.eatContextual("set")) && (s.isClassElementNameStart() ? b = q : m = q);
4625
4625
  }
4626
4626
  if (m ? (l.computed = !1, l.key = s.startNodeAt(s.lastTokStart, s.lastTokStartLoc), l.key.name = m, s.finishNode(l.key, "Identifier")) : s.parseClassElementName(l), s.parsePostMemberNameModifiers(l), s.isClassMethod() || c < 13 || s.type === o.parenL || b !== "method" || y || x) {
4627
- var U = !l.static && Ve(l, "constructor"), H = U && i;
4627
+ var U = !l.static && Fe(l, "constructor"), H = U && i;
4628
4628
  U && b !== "method" && s.raise(l.key.start, "Constructor can't have get/set modifier"), l.kind = U ? "constructor" : b, s.parseClassMethod(l, y, x, H);
4629
4629
  } else s.parseClassField(l);
4630
4630
  return l;
4631
4631
  }
4632
- if (s.next(), s.next(), s.tsHasSomeModifiers(l, S) && s.raise(s.start, w.StaticBlockCannotHaveModifier), c >= 13) return T.prototype.parseClassStaticBlock.call(s, l), l;
4632
+ if (s.next(), s.next(), s.tsHasSomeModifiers(l, S) && s.raise(s.start, A.StaticBlockCannotHaveModifier), c >= 13) return T.prototype.parseClassStaticBlock.call(s, l), l;
4633
4633
  };
4634
- return l.declare ? this.tsInAmbientContext(L) : L(), l;
4634
+ return l.declare ? this.tsInAmbientContext(N) : N(), l;
4635
4635
  }, p.isClassElementNameStart = function() {
4636
4636
  return !!this.tsIsIdentifier() || T.prototype.isClassElementNameStart.call(this);
4637
4637
  }, p.parseClassSuper = function(i) {
@@ -4665,15 +4665,15 @@ function Es(t) {
4665
4665
  }
4666
4666
  return c && this.checkExpressionErrors(s, !0), l > -1 && (s.parenthesizedAssign = l), m > -1 && (s.trailingComma = m), S;
4667
4667
  }, p.parseMaybeAssign = function(i, s, n) {
4668
- var c, l, m, y, x, b, S, E, L, k, q, U = this;
4668
+ var c, l, m, y, x, b, S, E, N, C, q, U = this;
4669
4669
  if (this.matchJsx("jsxTagStart") || this.tsMatchLeftRelational()) {
4670
- if (E = this.cloneCurLookaheadState(), !(L = this.tryParse(function() {
4670
+ if (E = this.cloneCurLookaheadState(), !(N = this.tryParse(function() {
4671
4671
  return U.parseMaybeAssignOrigin(i, s, n);
4672
- }, E)).error) return L.node;
4673
- var H = this.context, G = H[H.length - 1];
4674
- G === v.tokContexts.tc_oTag && H[H.length - 2] === v.tokContexts.tc_expr ? (H.pop(), H.pop()) : G !== v.tokContexts.tc_oTag && G !== v.tokContexts.tc_expr || H.pop();
4672
+ }, E)).error) return N.node;
4673
+ var H = this.context, z = H[H.length - 1];
4674
+ z === g.tokContexts.tc_oTag && H[H.length - 2] === g.tokContexts.tc_expr ? (H.pop(), H.pop()) : z !== g.tokContexts.tc_oTag && z !== g.tokContexts.tc_expr || H.pop();
4675
4675
  }
4676
- if (!((c = L) != null && c.error || this.tsMatchLeftRelational())) return this.parseMaybeAssignOrigin(i, s, n);
4676
+ if (!((c = N) != null && c.error || this.tsMatchLeftRelational())) return this.parseMaybeAssignOrigin(i, s, n);
4677
4677
  E && !this.compareLookaheadState(E, this.getCurLookaheadState()) || (E = this.cloneCurLookaheadState());
4678
4678
  var rt = this.tryParse(function(vt) {
4679
4679
  var _t, Nt;
@@ -4682,32 +4682,32 @@ function Es(t) {
4682
4682
  return (gt.type !== "ArrowFunctionExpression" || (_t = gt.extra) != null && _t.parenthesized) && vt(), ((Nt = q) == null ? void 0 : Nt.params.length) !== 0 && U.resetStartLocationFromNode(gt, q), gt.typeParameters = q, gt;
4683
4683
  }, E);
4684
4684
  if (!rt.error && !rt.aborted) return q && this.reportReservedArrowTypeParam(q), rt.node;
4685
- if (!L && (Fe(!0), !(k = this.tryParse(function() {
4685
+ if (!N && (Be(!0), !(C = this.tryParse(function() {
4686
4686
  return U.parseMaybeAssignOrigin(i, s, n);
4687
- }, E)).error)) return k.node;
4688
- if ((l = L) != null && l.node) return this.setLookaheadState(L.failState), L.node;
4687
+ }, E)).error)) return C.node;
4688
+ if ((l = N) != null && l.node) return this.setLookaheadState(N.failState), N.node;
4689
4689
  if (rt.node) return this.setLookaheadState(rt.failState), q && this.reportReservedArrowTypeParam(q), rt.node;
4690
- if ((m = k) != null && m.node) return this.setLookaheadState(k.failState), k.node;
4691
- throw (y = L) != null && y.thrown ? L.error : rt.thrown ? rt.error : (x = k) != null && x.thrown ? k.error : ((b = L) == null ? void 0 : b.error) || rt.error || ((S = k) == null ? void 0 : S.error);
4690
+ if ((m = C) != null && m.node) return this.setLookaheadState(C.failState), C.node;
4691
+ throw (y = N) != null && y.thrown ? N.error : rt.thrown ? rt.error : (x = C) != null && x.thrown ? C.error : ((b = N) == null ? void 0 : b.error) || rt.error || ((S = C) == null ? void 0 : S.error);
4692
4692
  }, p.parseAssignableListItem = function(i) {
4693
- for (var s = []; this.match(_.at); ) s.push(this.parseDecorator());
4693
+ for (var s = []; this.match(I.at); ) s.push(this.parseDecorator());
4694
4694
  var n, c = this.start, l = this.startLoc, m = !1, y = !1;
4695
4695
  if (i !== void 0) {
4696
4696
  var x = {};
4697
- this.tsParseModifiers({ modified: x, allowedModifiers: ["public", "private", "protected", "override", "readonly"] }), n = x.accessibility, y = x.override, m = x.readonly, i === !1 && (n || m || y) && this.raise(l.start, w.UnexpectedParameterModifier);
4697
+ this.tsParseModifiers({ modified: x, allowedModifiers: ["public", "private", "protected", "override", "readonly"] }), n = x.accessibility, y = x.override, m = x.readonly, i === !1 && (n || m || y) && this.raise(l.start, A.UnexpectedParameterModifier);
4698
4698
  }
4699
4699
  var b = this.parseMaybeDefault(c, l);
4700
4700
  this.parseBindingListItem(b);
4701
4701
  var S = this.parseMaybeDefault(b.start, b.loc, b);
4702
4702
  if (s.length && (S.decorators = s), n || m || y) {
4703
4703
  var E = this.startNodeAt(c, l);
4704
- return n && (E.accessibility = n), m && (E.readonly = m), y && (E.override = y), S.type !== "Identifier" && S.type !== "AssignmentPattern" && this.raise(E.start, w.UnsupportedParameterPropertyKind), E.parameter = S, this.finishNode(E, "TSParameterProperty");
4704
+ return n && (E.accessibility = n), m && (E.readonly = m), y && (E.override = y), S.type !== "Identifier" && S.type !== "AssignmentPattern" && this.raise(E.start, A.UnsupportedParameterPropertyKind), E.parameter = S, this.finishNode(E, "TSParameterProperty");
4705
4705
  }
4706
4706
  return S;
4707
4707
  }, p.checkLValInnerPattern = function(i, s, n) {
4708
4708
  s === void 0 && (s = 0), i.type === "TSParameterProperty" ? this.checkLValInnerPattern(i.parameter, s, n) : T.prototype.checkLValInnerPattern.call(this, i, s, n);
4709
4709
  }, p.parseBindingListItem = function(i) {
4710
- this.eat(o.question) && (i.type === "Identifier" || this.isAmbientContext || this.inType || this.raise(i.start, w.PatternIsOptional), i.optional = !0);
4710
+ this.eat(o.question) && (i.type === "Identifier" || this.isAmbientContext || this.inType || this.raise(i.start, A.PatternIsOptional), i.optional = !0);
4711
4711
  var s = this.tsTryParseTypeAnnotation();
4712
4712
  return s && (i.typeAnnotation = s), this.resetEndLocation(i), i;
4713
4713
  }, p.isAssignable = function(i, s) {
@@ -4754,7 +4754,7 @@ function Es(t) {
4754
4754
  case "TSSatisfiesExpression":
4755
4755
  case "TSNonNullExpression":
4756
4756
  case "TSTypeAssertion":
4757
- return s || this.raise(i.start, w.UnexpectedTypeCastInParameter), this.toAssignable(i.expression, s, n);
4757
+ return s || this.raise(i.start, A.UnexpectedTypeCastInParameter), this.toAssignable(i.expression, s, n);
4758
4758
  case "MemberExpression":
4759
4759
  break;
4760
4760
  case "AssignmentExpression":
@@ -4781,7 +4781,7 @@ function Es(t) {
4781
4781
  var i = T.prototype.curPosition.call(this);
4782
4782
  return Object.defineProperty(i, "offset", { get: function() {
4783
4783
  return function(s) {
4784
- var n = new g.Position(this.line, this.column + s);
4784
+ var n = new v.Position(this.line, this.column + s);
4785
4785
  return n.index = this.index + s, n;
4786
4786
  };
4787
4787
  } }), i.index = this.pos, i;
@@ -4812,10 +4812,10 @@ function Es(t) {
4812
4812
  if (this.options.ecmaVersion >= 6) {
4813
4813
  var y = this.maybeInArrowParameters;
4814
4814
  this.maybeInArrowParameters = !0, this.next();
4815
- var x, b = this.start, S = this.startLoc, E = [], L = !0, k = !1, q = new Ot(), U = this.yieldPos, H = this.awaitPos;
4815
+ var x, b = this.start, S = this.startLoc, E = [], N = !0, C = !1, q = new Ot(), U = this.yieldPos, H = this.awaitPos;
4816
4816
  for (this.yieldPos = 0, this.awaitPos = 0; this.type !== o.parenR; ) {
4817
- if (L ? L = !1 : this.expect(o.comma), m && this.afterTrailingComma(o.parenR, !0)) {
4818
- k = !0;
4817
+ if (N ? N = !1 : this.expect(o.comma), m && this.afterTrailingComma(o.parenR, !0)) {
4818
+ C = !0;
4819
4819
  break;
4820
4820
  }
4821
4821
  if (this.type === o.ellipsis) {
@@ -4824,9 +4824,9 @@ function Es(t) {
4824
4824
  }
4825
4825
  E.push(this.parseMaybeAssign(s, q, this.parseParenItem));
4826
4826
  }
4827
- var G = this.lastTokEnd, rt = this.lastTokEndLoc;
4827
+ var z = this.lastTokEnd, rt = this.lastTokEndLoc;
4828
4828
  if (this.expect(o.parenR), this.maybeInArrowParameters = y, i && this.shouldParseArrow(E) && this.eat(o.arrow)) return this.checkPatternErrors(q, !1), this.checkYieldAwaitInDefaultParams(), this.yieldPos = U, this.awaitPos = H, this.parseParenArrowList(c, l, E, s);
4829
- E.length && !k || this.unexpected(this.lastTokStart), x && this.unexpected(x), this.checkExpressionErrors(q, !0), this.yieldPos = U || this.yieldPos, this.awaitPos = H || this.awaitPos, E.length > 1 ? ((n = this.startNodeAt(b, S)).expressions = E, this.finishNodeAt(n, "SequenceExpression", G, rt)) : n = E[0];
4829
+ E.length && !C || this.unexpected(this.lastTokStart), x && this.unexpected(x), this.checkExpressionErrors(q, !0), this.yieldPos = U || this.yieldPos, this.awaitPos = H || this.awaitPos, E.length > 1 ? ((n = this.startNodeAt(b, S)).expressions = E, this.finishNodeAt(n, "SequenceExpression", z, rt)) : n = E[0];
4830
4830
  } else n = this.parseParenExpression();
4831
4831
  if (this.options.preserveParens) {
4832
4832
  var vt = this.startNodeAt(c, l);
@@ -4868,47 +4868,47 @@ function Es(t) {
4868
4868
  i.optional = !0, b = E = !0, this.next();
4869
4869
  }
4870
4870
  if (this.tsMatchLeftRelational() || this.match(o.bitShift)) {
4871
- var L, k = this.tsTryParseAndCatch(function() {
4871
+ var N, C = this.tsTryParseAndCatch(function() {
4872
4872
  if (!c && x.atPossibleAsyncArrow(i)) {
4873
- var Ce = x.tsTryParseGenericAsyncArrowFunction(s, n, y);
4874
- if (Ce) return i = Ce;
4873
+ var ke = x.tsTryParseGenericAsyncArrowFunction(s, n, y);
4874
+ if (ke) return i = ke;
4875
4875
  }
4876
4876
  var Wt = x.tsParseTypeArgumentsInExpression();
4877
4877
  if (!Wt) return i;
4878
- if (E && !x.match(o.parenL)) return L = x.curPosition(), i;
4879
- if (Pi(x.type) || x.type === o.backQuote) {
4880
- var ke = x.parseTaggedTemplateExpression(i, s, n, b);
4881
- return ke.typeParameters = Wt, ke;
4878
+ if (E && !x.match(o.parenL)) return N = x.curPosition(), i;
4879
+ if (ki(x.type) || x.type === o.backQuote) {
4880
+ var Ae = x.parseTaggedTemplateExpression(i, s, n, b);
4881
+ return Ae.typeParameters = Wt, Ae;
4882
4882
  }
4883
4883
  if (!c && x.eat(o.parenL)) {
4884
- var Ae = new Ot(), Ct = x.startNodeAt(s, n);
4885
- return Ct.callee = i, Ct.arguments = x.parseExprList(o.parenR, x.options.ecmaVersion >= 8, !1, Ae), x.tsCheckForInvalidTypeCasts(Ct.arguments), Ct.typeParameters = Wt, b && (Ct.optional = E), x.checkExpressionErrors(Ae, !0), i = x.finishNode(Ct, "CallExpression");
4884
+ var we = new Ot(), Ct = x.startNodeAt(s, n);
4885
+ return Ct.callee = i, Ct.arguments = x.parseExprList(o.parenR, x.options.ecmaVersion >= 8, !1, we), x.tsCheckForInvalidTypeCasts(Ct.arguments), Ct.typeParameters = Wt, b && (Ct.optional = E), x.checkExpressionErrors(we, !0), i = x.finishNode(Ct, "CallExpression");
4886
4886
  }
4887
4887
  var ae = x.type;
4888
- if (!(x.tsMatchRightRelational() || ae === o.bitShift || ae !== o.parenL && (we = ae, !!we.startsExpr) && !x.hasPrecedingLineBreak())) {
4889
- var we, ne = x.startNodeAt(s, n);
4888
+ if (!(x.tsMatchRightRelational() || ae === o.bitShift || ae !== o.parenL && (Ee = ae, !!Ee.startsExpr) && !x.hasPrecedingLineBreak())) {
4889
+ var Ee, ne = x.startNodeAt(s, n);
4890
4890
  return ne.expression = i, ne.typeParameters = Wt, x.finishNode(ne, "TSInstantiationExpression");
4891
4891
  }
4892
4892
  });
4893
- if (L && this.unexpected(L), k) return k.type === "TSInstantiationExpression" && (this.match(o.dot) || this.match(o.questionDot) && this.lookaheadCharCode() !== 40) && this.raise(this.start, w.InvalidPropertyAccessAfterInstantiationExpression), i = k;
4893
+ if (N && this.unexpected(N), C) return C.type === "TSInstantiationExpression" && (this.match(o.dot) || this.match(o.questionDot) && this.lookaheadCharCode() !== 40) && this.raise(this.start, A.InvalidPropertyAccessAfterInstantiationExpression), i = C;
4894
4894
  }
4895
4895
  var q = this.options.ecmaVersion >= 11, U = q && this.eat(o.questionDot);
4896
4896
  c && U && this.raise(this.lastTokStart, "Optional chaining cannot appear in the callee of new expressions");
4897
4897
  var H = this.eat(o.bracketL);
4898
4898
  if (H || U && this.type !== o.parenL && this.type !== o.backQuote || this.eat(o.dot)) {
4899
- var G = this.startNodeAt(s, n);
4900
- G.object = i, H ? (G.property = this.parseExpression(), this.expect(o.bracketR)) : G.property = this.type === o.privateId && i.type !== "Super" ? this.parsePrivateIdent() : this.parseIdent(this.options.allowReserved !== "never"), G.computed = !!H, q && (G.optional = U), i = this.finishNode(G, "MemberExpression");
4899
+ var z = this.startNodeAt(s, n);
4900
+ z.object = i, H ? (z.property = this.parseExpression(), this.expect(o.bracketR)) : z.property = this.type === o.privateId && i.type !== "Super" ? this.parsePrivateIdent() : this.parseIdent(this.options.allowReserved !== "never"), z.computed = !!H, q && (z.optional = U), i = this.finishNode(z, "MemberExpression");
4901
4901
  } else if (!c && this.eat(o.parenL)) {
4902
4902
  var rt = this.maybeInArrowParameters;
4903
4903
  this.maybeInArrowParameters = !0;
4904
4904
  var vt = new Ot(), _t = this.yieldPos, Nt = this.awaitPos, gt = this.awaitIdentPos;
4905
4905
  this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0;
4906
- var Pe = this.parseExprList(o.parenR, this.options.ecmaVersion >= 8, !1, vt);
4907
- if (l && !U && this.shouldParseAsyncArrow()) this.checkPatternErrors(vt, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = _t, this.awaitPos = Nt, this.awaitIdentPos = gt, i = this.parseSubscriptAsyncArrow(s, n, Pe, y);
4906
+ var Ce = this.parseExprList(o.parenR, this.options.ecmaVersion >= 8, !1, vt);
4907
+ if (l && !U && this.shouldParseAsyncArrow()) this.checkPatternErrors(vt, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = _t, this.awaitPos = Nt, this.awaitIdentPos = gt, i = this.parseSubscriptAsyncArrow(s, n, Ce, y);
4908
4908
  else {
4909
4909
  this.checkExpressionErrors(vt, !0), this.yieldPos = _t || this.yieldPos, this.awaitPos = Nt || this.awaitPos, this.awaitIdentPos = gt || this.awaitIdentPos;
4910
4910
  var Ht = this.startNodeAt(s, n);
4911
- Ht.callee = i, Ht.arguments = Pe, q && (Ht.optional = U), i = this.finishNode(Ht, "CallExpression");
4911
+ Ht.callee = i, Ht.arguments = Ce, q && (Ht.optional = U), i = this.finishNode(Ht, "CallExpression");
4912
4912
  }
4913
4913
  this.maybeInArrowParameters = rt;
4914
4914
  } else if (this.type === o.backQuote) {
@@ -4924,7 +4924,7 @@ function Es(t) {
4924
4924
  }, p.parseProperty = function(i, s) {
4925
4925
  if (!i) {
4926
4926
  var n = [];
4927
- if (this.match(_.at)) for (; this.match(_.at); ) n.push(this.parseDecorator());
4927
+ if (this.match(I.at)) for (; this.match(I.at); ) n.push(this.parseDecorator());
4928
4928
  var c = T.prototype.parseProperty.call(this, i, s);
4929
4929
  return c.type === "SpreadElement" && n.length && this.raise(c.start, "Decorators can't be used with SpreadElement"), n.length && (c.decorators = n, n = []), c;
4930
4930
  }
@@ -4944,10 +4944,10 @@ function Es(t) {
4944
4944
  var l = this.enterClassBody(), m = this.startNode(), y = !1;
4945
4945
  m.body = [];
4946
4946
  var x = [];
4947
- for (this.expect(o.braceL); this.type !== o.braceR; ) if (this.match(_.at)) x.push(this.parseDecorator());
4947
+ for (this.expect(o.braceL); this.type !== o.braceR; ) if (this.match(I.at)) x.push(this.parseDecorator());
4948
4948
  else {
4949
4949
  var b = this.parseClassElement(i.superClass !== null);
4950
- 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" && Ss(l, b) && this.raiseRecoverable(b.key.start, "Identifier '#" + b.key.name + "' has already been declared"));
4950
+ 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" && Ps(l, b) && this.raiseRecoverable(b.key.start, "Identifier '#" + b.key.name + "' has already been declared"));
4951
4951
  }
4952
4952
  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, s ? "ClassDeclaration" : "ClassExpression");
4953
4953
  } finally {
@@ -4960,28 +4960,28 @@ function Es(t) {
4960
4960
  var m = this.startNode(), y = this.yieldPos, x = this.awaitPos, b = this.awaitIdentPos;
4961
4961
  if (this.initFunction(m), this.options.ecmaVersion >= 6 && (m.generator = i), this.options.ecmaVersion >= 8 && (m.async = !!s), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(64 | pe(s, m.generator) | (n ? 128 : 0)), this.expect(o.parenL), m.params = this.parseClassFunctionParams(), this.checkYieldAwaitInDefaultParams(), this.parseFunctionBody(m, !1, !0, !1, { isClassMethod: c }), this.yieldPos = y, this.awaitPos = x, this.awaitIdentPos = b, l && l.abstract && m.body) {
4962
4962
  var S = l.key;
4963
- this.raise(l.start, w.AbstractMethodHasImplementation({ methodName: S.type !== "Identifier" || l.computed ? "[" + this.input.slice(S.start, S.end) + "]" : S.name }));
4963
+ this.raise(l.start, A.AbstractMethodHasImplementation({ methodName: S.type !== "Identifier" || l.computed ? "[" + this.input.slice(S.start, S.end) + "]" : S.name }));
4964
4964
  }
4965
4965
  return this.finishNode(m, "FunctionExpression");
4966
- }, it.parse = function(i, s) {
4966
+ }, et.parse = function(i, s) {
4967
4967
  if (s.locations === !1) throw new Error("You have to enable options.locations while using acorn-typescript");
4968
4968
  s.locations = !0;
4969
4969
  var n = new this(s, i);
4970
4970
  return a && (n.isAmbientContext = !0), n.parse();
4971
- }, it.parseExpressionAt = function(i, s, n) {
4971
+ }, et.parseExpressionAt = function(i, s, n) {
4972
4972
  if (n.locations === !1) throw new Error("You have to enable options.locations while using acorn-typescript");
4973
4973
  n.locations = !0;
4974
4974
  var c = new this(n, i, s);
4975
4975
  return a && (c.isAmbientContext = !0), c.nextToken(), c.parseExpression();
4976
4976
  }, p.parseImportSpecifier = function() {
4977
- if (this.ts_isContextual(_.type)) {
4977
+ if (this.ts_isContextual(I.type)) {
4978
4978
  var i = this.startNode();
4979
4979
  return i.imported = this.parseModuleExportName(), this.parseTypeOnlyImportExportSpecifier(i, !0, this.importOrExportOuterKind === "type"), this.finishNode(i, "ImportSpecifier");
4980
4980
  }
4981
4981
  var s = T.prototype.parseImportSpecifier.call(this);
4982
4982
  return s.importKind = "value", s;
4983
4983
  }, p.parseExportSpecifier = function(i) {
4984
- var s = this.ts_isContextual(_.type);
4984
+ var s = this.ts_isContextual(I.type);
4985
4985
  if (!this.match(o.string) && s) {
4986
4986
  var n = this.startNode();
4987
4987
  return n.local = this.parseModuleExportName(), this.parseTypeOnlyImportExportSpecifier(n, !1, this.importOrExportOuterKind === "type"), this.finishNode(n, "ExportSpecifier"), this.checkExport(i, n.exported, n.exported.start), n;
@@ -4993,11 +4993,11 @@ function Es(t) {
4993
4993
  if (this.isContextual("as")) {
4994
4994
  var E = this.parseIdent();
4995
4995
  if (this.isContextual("as")) {
4996
- var L = this.parseIdent();
4997
- qt(this.type) ? (x = !0, y = E, c = s ? this.parseIdent() : this.parseModuleExportName(), b = !1) : (c = L, b = !1);
4996
+ var N = this.parseIdent();
4997
+ qt(this.type) ? (x = !0, y = E, c = s ? this.parseIdent() : this.parseModuleExportName(), b = !1) : (c = N, b = !1);
4998
4998
  } else qt(this.type) ? (b = !1, c = s ? this.parseIdent() : this.parseModuleExportName()) : (x = !0, y = E);
4999
4999
  } else qt(this.type) && (x = !0, s ? (y = T.prototype.parseIdent.call(this, !0), this.isContextual("as") || this.checkUnreserved(y)) : y = this.parseModuleExportName());
5000
- x && n && this.raise(S, s ? w.TypeModifierIsUsedInTypeImports : w.TypeModifierIsUsedInTypeExports), i[l] = y, i[m] = c, i[s ? "importKind" : "exportKind"] = x ? "type" : "value", b && this.eatContextual("as") && (i[m] = s ? this.parseIdent() : this.parseModuleExportName()), i[m] || (i[m] = this.copyNode(i[l])), s && this.checkLValSimple(i[m], 2);
5000
+ x && n && this.raise(S, s ? A.TypeModifierIsUsedInTypeImports : A.TypeModifierIsUsedInTypeExports), i[l] = y, i[m] = c, i[s ? "importKind" : "exportKind"] = x ? "type" : "value", b && this.eatContextual("as") && (i[m] = s ? this.parseIdent() : this.parseModuleExportName()), i[m] || (i[m] = this.copyNode(i[l])), s && this.checkLValSimple(i[m], 2);
5001
5001
  }, p.raiseCommonCheck = function(i, s, n) {
5002
5002
  return s === "Comma is not permitted after the rest element" ? this.isAmbientContext && this.match(o.comma) && this.lookaheadCharCode() === 41 ? void this.next() : T.prototype.raise.call(this, i, s) : n ? T.prototype.raiseRecoverable.call(this, i, s) : T.prototype.raise.call(this, i, s);
5003
5003
  }, p.raiseRecoverable = function(i, s) {
@@ -5008,10 +5008,10 @@ function Es(t) {
5008
5008
  var s = this.type;
5009
5009
  if (s == o.braceL) {
5010
5010
  var n = this.curContext();
5011
- n == et.tc_oTag ? this.context.push(z.b_expr) : n == et.tc_expr ? this.context.push(z.b_tmpl) : T.prototype.updateContext.call(this, i), this.exprAllowed = !0;
5011
+ n == tt.tc_oTag ? this.context.push(J.b_expr) : n == tt.tc_expr ? this.context.push(J.b_tmpl) : T.prototype.updateContext.call(this, i), this.exprAllowed = !0;
5012
5012
  } else {
5013
- if (s !== o.slash || i !== _.jsxTagStart) return T.prototype.updateContext.call(this, i);
5014
- this.context.length -= 2, this.context.push(et.tc_cTag), this.exprAllowed = !1;
5013
+ if (s !== o.slash || i !== I.jsxTagStart) return T.prototype.updateContext.call(this, i);
5014
+ this.context.length -= 2, this.context.push(tt.tc_cTag), this.exprAllowed = !1;
5015
5015
  }
5016
5016
  }, p.jsx_parseOpeningElementAt = function(i, s) {
5017
5017
  var n = this, c = this.startNodeAt(i, s), l = this.jsx_parseElementName();
@@ -5021,8 +5021,8 @@ function Es(t) {
5021
5021
  });
5022
5022
  m && (c.typeParameters = m);
5023
5023
  }
5024
- for (c.attributes = []; this.type !== o.slash && this.type !== _.jsxTagEnd; ) c.attributes.push(this.jsx_parseAttribute());
5025
- return c.selfClosing = this.eat(o.slash), this.expect(_.jsxTagEnd), this.finishNode(c, l ? "JSXOpeningElement" : "JSXOpeningFragment");
5024
+ for (c.attributes = []; this.type !== o.slash && this.type !== I.jsxTagEnd; ) c.attributes.push(this.jsx_parseAttribute());
5025
+ return c.selfClosing = this.eat(o.slash), this.expect(I.jsxTagEnd), this.finishNode(c, l ? "JSXOpeningElement" : "JSXOpeningFragment");
5026
5026
  }, p.enterScope = function(i) {
5027
5027
  i === Lt && this.importsStack.push([]), T.prototype.enterScope.call(this, i);
5028
5028
  var s = T.prototype.currentScope.call(this);
@@ -5056,141 +5056,164 @@ function Es(t) {
5056
5056
  }
5057
5057
  T.prototype.checkLocalExport.call(this, i);
5058
5058
  }
5059
- }, Q = it, F = [{ key: "acornTypeScript", get: function() {
5060
- return v;
5061
- } }], (J = [{ key: "acornTypeScript", get: function() {
5062
- return v;
5063
- } }]) && Oe(Q.prototype, J), F && Oe(Q, F), Object.defineProperty(Q, "prototype", { writable: !1 }), it;
5059
+ }, X = et, V = [{ key: "acornTypeScript", get: function() {
5060
+ return g;
5061
+ } }], (K = [{ key: "acornTypeScript", get: function() {
5062
+ return g;
5063
+ } }]) && Re(X.prototype, K), V && Re(X, V), Object.defineProperty(X, "prototype", { writable: !1 }), et;
5064
5064
  })(d);
5065
- return wi;
5065
+ return Ii;
5066
5066
  };
5067
5067
  }
5068
- const Is = ["createObject", "dropObject", "removeRecords", "upsertRecords"], _s = ["findObject", "getRecord", "listNodes", "previewObject", "retrieveRecords"], Dt = _i(Ei);
5069
- async function Ms() {
5068
+ const Ns = ["createObject", "dropObject", "removeRecords", "upsertRecords"], Ls = ["findObject", "getRecord", "listNodes", "previewObject", "retrieveRecords"], Dt = Li(_i);
5069
+ async function js() {
5070
5070
  try {
5071
5071
  console.info("🚀 Building configuration...");
5072
- const t = JSON.parse(await M.readFile("package.json", "utf8")), e = JSON.parse(await M.readFile("config.json", "utf8"));
5073
- t.name != null && (e.id = t.name.replace("@datapos/", "").replace("@data-positioning/", "")), t.version != null && (e.version = t.version), await M.writeFile("config.json", JSON.stringify(e, void 0, 4), "utf8"), console.info("✅ Configuration built.");
5072
+ const t = JSON.parse(await R.readFile("package.json", "utf8")), e = JSON.parse(await R.readFile("config.json", "utf8"));
5073
+ t.name != null && (e.id = t.name.replace("@datapos/", "").replace("@data-positioning/", "")), t.version != null && (e.version = t.version), await R.writeFile("config.json", JSON.stringify(e, void 0, 4), "utf8"), console.info("✅ Configuration built.");
5074
5074
  } catch (t) {
5075
5075
  console.error("❌ Error building configuration.", t);
5076
5076
  }
5077
5077
  }
5078
- async function Ds(t) {
5078
+ async function Us(t) {
5079
5079
  try {
5080
5080
  console.info(`🚀 Building public directory index for identifier '${t}'...`);
5081
5081
  const e = {};
5082
5082
  async function r(u, f) {
5083
5083
  console.info(`⚙️ Processing directory '${u}'...`);
5084
- const d = [], g = u.slice(`public/${t}`.length);
5085
- e[g === "" ? "/" : g] = d;
5086
- for (const v of f) {
5087
- const o = `${u}/${v}`;
5084
+ const d = [], v = u.slice(`public/${t}`.length);
5085
+ e[v === "" ? "/" : v] = d;
5086
+ for (const g of f) {
5087
+ const o = `${u}/${g}`;
5088
5088
  try {
5089
- const P = await M.stat(o);
5090
- if (P.isDirectory()) {
5091
- const I = await M.readdir(o), R = { childCount: I.length, name: v, typeId: "folder" };
5092
- d.push(R), await r(o, I);
5089
+ const w = await R.stat(o);
5090
+ if (w.isDirectory()) {
5091
+ const L = await R.readdir(o), F = { childCount: L.length, name: g, typeId: "folder" };
5092
+ d.push(F), await r(o, L);
5093
5093
  } else {
5094
- const I = { id: Ii(), lastModifiedAt: P.mtimeMs, name: v, size: P.size, typeId: "object" };
5095
- d.push(I);
5094
+ const L = { id: Ni(), lastModifiedAt: w.mtimeMs, name: g, size: w.size, typeId: "object" };
5095
+ d.push(L);
5096
5096
  }
5097
- } catch (P) {
5098
- throw new Error(`Unable to get information for '${v}' in 'buildPublicDirectoryIndex'. ${String(P)}`);
5097
+ } catch (w) {
5098
+ throw new Error(`Unable to get information for '${g}' in 'buildPublicDirectoryIndex'. ${String(w)}`);
5099
5099
  }
5100
5100
  }
5101
- d.sort((v, o) => {
5102
- const P = v.typeId.localeCompare(o.typeId);
5103
- return P === 0 ? v.name.localeCompare(o.name) : P;
5101
+ d.sort((g, o) => {
5102
+ const w = g.typeId.localeCompare(o.typeId);
5103
+ return w === 0 ? g.name.localeCompare(o.name) : w;
5104
5104
  });
5105
5105
  }
5106
- const a = await M.readdir(`public/${t}`);
5107
- await r(`public/${t}`, a), await M.writeFile(`./public/${t}Index.json`, JSON.stringify(e), "utf8"), console.info("✅ Public directory index built.");
5106
+ const a = await R.readdir(`public/${t}`);
5107
+ await r(`public/${t}`, a), await R.writeFile(`./public/${t}Index.json`, JSON.stringify(e), "utf8"), console.info("✅ Public directory index built.");
5108
5108
  } catch (e) {
5109
5109
  console.error("❌ Error building public directory index.", e);
5110
5110
  }
5111
5111
  }
5112
- async function Vs() {
5112
+ async function qs() {
5113
5113
  try {
5114
- let t = function(P) {
5115
- if (P.type === "MethodDefinition") {
5116
- const I = P, K = I.key.name, z = K === "constructor", X = I.accessibility ?? !1;
5117
- K && !z && !X && (v.push(K), Is.includes(K) && (u = !0), _s.includes(K) && (f = !0));
5118
- }
5119
- for (const I in P) {
5120
- if (I === "loc" || I === "range" || I === "start" || I === "end" || I === "comments") continue;
5121
- console.log(1111, I, P);
5122
- const R = P[I];
5123
- console.log(2222, R), Array.isArray(R) ? R.forEach(t) : R && typeof R == "object" && typeof R.type == "string" && t(R);
5124
- }
5125
- };
5126
5114
  console.info("🚀 Building connector configuration...");
5127
- const e = JSON.parse(await M.readFile("package.json", "utf8")), r = JSON.parse(await M.readFile("config.json", "utf8")), a = await M.readFile("src/index.ts", "utf8");
5128
- let u = !1, f = !1;
5129
- const g = W.extend(Es()).parse(a, { ecmaVersion: "latest", sourceType: "module", locations: !0 }), v = [];
5130
- t(g), console.log(`Extracted ${v.length} functions:`, [...v]), v.length > 0 ? console.info(`ℹ️ Implements ${v.length} operations.`) : console.warn("⚠️ Implements no operations.");
5131
- let o;
5132
- f && u ? o = "bidirectional" : f ? o = "source" : u ? o = "destination" : o = "unknown", o === "unknown" ? console.warn("⚠️ No usage identified.") : console.info(`ℹ️ Supports ${o} usage.`), e.name != null && (r.id = e.name), r.operations = v, r.usageId = o, e.version != null && (r.version = e.version), await M.writeFile("config.json", JSON.stringify(r, void 0, 4), "utf8"), console.info("✅ Connector configuration built.");
5115
+ const [t, e, r] = await Promise.all([
5116
+ Ue("package.json"),
5117
+ Ue("config.json"),
5118
+ R.readFile("src/index.ts", "utf8")
5119
+ ]), a = Rs(r), u = Ms(a);
5120
+ a.operations.length > 0 ? console.info(`ℹ️ Implements ${a.operations.length} operations.`) : console.warn("⚠️ Implements no operations."), u === "unknown" ? console.warn("⚠️ No usage identified.") : console.info(`ℹ️ Supports ${u} usage.`);
5121
+ const f = {
5122
+ ...e,
5123
+ id: t.name ?? e.id,
5124
+ version: t.version ?? e.version,
5125
+ operations: a.operations,
5126
+ usageId: u
5127
+ };
5128
+ await Os("config.json", f), console.info("✅ Connector configuration built.");
5133
5129
  } catch (t) {
5134
5130
  console.error("❌ Error building connector configuration.", t);
5135
5131
  }
5136
5132
  }
5137
- async function Fs() {
5133
+ async function Ue(t) {
5134
+ return JSON.parse(await R.readFile(t, "utf8"));
5135
+ }
5136
+ async function Os(t, e) {
5137
+ await R.writeFile(t, JSON.stringify(e, void 0, 4), "utf8");
5138
+ }
5139
+ function Rs(t) {
5140
+ const r = W.extend(_s()).parse(t, {
5141
+ ecmaVersion: "latest",
5142
+ sourceType: "module",
5143
+ locations: !0
5144
+ }), a = [];
5145
+ let u = !1, f = !1;
5146
+ return ye(r, (d) => {
5147
+ if (d.type !== "MethodDefinition") return;
5148
+ const v = d, o = v.key.name;
5149
+ o && o !== "constructor" && v.accessibility !== "private" && (a.push(o), Ls.includes(o) && (u = !0), Ns.includes(o) && (f = !0));
5150
+ }), { operations: a, sourceOps: u, destinationOps: f };
5151
+ }
5152
+ function Ms(t) {
5153
+ return t.sourceOps && t.destinationOps ? "bidirectional" : t.sourceOps ? "source" : t.destinationOps ? "destination" : "unknown";
5154
+ }
5155
+ function ye(t, e) {
5156
+ e(t);
5157
+ for (const [r, a] of Object.entries(t))
5158
+ ["loc", "range", "start", "end", "comments"].includes(r) || (Array.isArray(a) ? a.forEach((u) => u && typeof u.type == "string" && ye(u, fn)) : a && typeof a == "object" && typeof a.type == "string" && ye(a, fn));
5159
+ }
5160
+ async function Hs() {
5138
5161
  try {
5139
5162
  console.info("🚀 Building context configuration...");
5140
- const t = JSON.parse(await M.readFile("package.json", "utf8")), e = JSON.parse(await M.readFile("config.json", "utf8")), r = await M.readFile("src/index.ts", "utf8"), a = /^\s{4}(?:async\s+)?(private\s+)?(?:public\s+|protected\s+)?([A-Za-z_]\w*)\s*\(/gm, u = [...r.matchAll(a)].filter((f) => f[1] == null && f[2] !== "constructor").map((f) => f[2]);
5141
- t.name != null && (e.id = t.name), e.operations = u, t.version != null && (e.version = t.version), await M.writeFile("config.json", JSON.stringify(e, void 0, 4), "utf8"), console.info("✅ Context configuration built.");
5163
+ const t = JSON.parse(await R.readFile("package.json", "utf8")), e = JSON.parse(await R.readFile("config.json", "utf8")), r = await R.readFile("src/index.ts", "utf8"), a = /^\s{4}(?:async\s+)?(private\s+)?(?:public\s+|protected\s+)?([A-Za-z_]\w*)\s*\(/gm, u = [...r.matchAll(a)].filter((f) => f[1] == null && f[2] !== "constructor").map((f) => f[2]);
5164
+ t.name != null && (e.id = t.name), e.operations = u, t.version != null && (e.version = t.version), await R.writeFile("config.json", JSON.stringify(e, void 0, 4), "utf8"), console.info("✅ Context configuration built.");
5142
5165
  } catch (t) {
5143
5166
  console.error("❌ Error building context configuration.", t);
5144
5167
  }
5145
5168
  }
5146
- async function Bs() {
5169
+ async function Ws() {
5147
5170
  try {
5148
5171
  console.info("🚀 Building presenter configuration...");
5149
- const t = JSON.parse(await M.readFile("package.json", "utf8")), e = JSON.parse(await M.readFile("config.json", "utf8")), r = await M.readFile("src/index.ts", "utf8"), a = /^\s{4}(?:async\s+)?(private\s+)?(?:public\s+|protected\s+)?([A-Za-z_]\w*)\s*\(/gm, u = [...r.matchAll(a)].filter((f) => f[1] == null && f[2] !== "constructor").map((f) => f[2]);
5150
- t.name != null && (e.id = t.name), e.operations = u, t.version != null && (e.version = t.version), await M.writeFile("config.json", JSON.stringify(e, void 0, 4), "utf8"), console.info("✅ Presenter configuration built.");
5172
+ const t = JSON.parse(await R.readFile("package.json", "utf8")), e = JSON.parse(await R.readFile("config.json", "utf8")), r = await R.readFile("src/index.ts", "utf8"), a = /^\s{4}(?:async\s+)?(private\s+)?(?:public\s+|protected\s+)?([A-Za-z_]\w*)\s*\(/gm, u = [...r.matchAll(a)].filter((f) => f[1] == null && f[2] !== "constructor").map((f) => f[2]);
5173
+ t.name != null && (e.id = t.name), e.operations = u, t.version != null && (e.version = t.version), await R.writeFile("config.json", JSON.stringify(e, void 0, 4), "utf8"), console.info("✅ Presenter configuration built.");
5151
5174
  } catch (t) {
5152
5175
  console.error("❌ Error building context configuration.", t);
5153
5176
  }
5154
5177
  }
5155
- async function js(t = "./") {
5178
+ async function Ks(t = "./") {
5156
5179
  try {
5157
5180
  console.info("🚀 Bumping version...");
5158
- const e = JSON.parse(await M.readFile(`${t}package.json`, "utf8"));
5181
+ const e = JSON.parse(await R.readFile(`${t}package.json`, "utf8"));
5159
5182
  if (e.version == null)
5160
- e.version = "0.0.001", await M.writeFile(`${t}package.json`, JSON.stringify(e, void 0, 4), "utf8"), console.warn(`⚠️ Version initialised to ${e.version}.`);
5183
+ e.version = "0.0.001", await R.writeFile(`${t}package.json`, JSON.stringify(e, void 0, 4), "utf8"), console.warn(`⚠️ Version initialised to ${e.version}.`);
5161
5184
  else {
5162
5185
  const r = e.version, a = e.version.split(".");
5163
- e.version = `${a[0]}.${a[1]}.${Number(a[2]) + 1}`, await M.writeFile(`${t}package.json`, JSON.stringify(e, void 0, 4), "utf8"), console.info(`✅ Version bumped from ${r} to ${e.version}.`);
5186
+ e.version = `${a[0]}.${a[1]}.${Number(a[2]) + 1}`, await R.writeFile(`${t}package.json`, JSON.stringify(e, void 0, 4), "utf8"), console.info(`✅ Version bumped from ${r} to ${e.version}.`);
5164
5187
  }
5165
5188
  } catch (e) {
5166
5189
  console.error("❌ Error bumping package version.", e);
5167
5190
  }
5168
5191
  }
5169
- function Us(t) {
5192
+ function zs(t) {
5170
5193
  console.error(`❌ ${t} script not implemented.`);
5171
5194
  }
5172
- async function qs() {
5195
+ async function Js() {
5173
5196
  const t = "<!-- DEPENDENCY_LICENSES_START -->", e = "<!-- DEPENDENCY_LICENSES_END -->";
5174
5197
  try {
5175
- const r = (await M.readFile("./licenses.md", "utf8")).trim(), a = await M.readFile("./README.md", "utf8"), u = a.indexOf(t), f = a.indexOf(e);
5198
+ const r = (await R.readFile("./licenses.md", "utf8")).trim(), a = await R.readFile("./README.md", "utf8"), u = a.indexOf(t), f = a.indexOf(e);
5176
5199
  (u === -1 || f === -1) && (console.error("❌ Dependency license markers not found in readme file."), process.exit(1));
5177
5200
  const d = a.substring(0, u + t.length) + `
5178
5201
  ` + r + `
5179
5202
  ` + a.substring(f);
5180
- await M.writeFile("README.md", d, "utf8"), console.log("✅ Readme file updated with license information");
5203
+ await R.writeFile("README.md", d, "utf8"), console.log("✅ Readme file updated with license information");
5181
5204
  } catch (r) {
5182
5205
  console.error("❌ Error updating readme file.", r), process.exit(1);
5183
5206
  }
5184
5207
  }
5185
- async function Hs() {
5208
+ async function Gs() {
5186
5209
  const t = "<!-- OWASP_BADGE_START -->", e = "<!-- OWASP_BADGE_END -->";
5187
5210
  try {
5188
- const r = JSON.parse(await M.readFile("./dependency-check-reports/dependency-check-report.json", "utf-8")), a = { critical: 0, high: 0, moderate: 0, low: 0, unknown: 0 };
5189
- for (const K of r.dependencies)
5190
- if (K.vulnerabilities != null)
5191
- for (const z of K.vulnerabilities) {
5192
- const X = z.severity?.toLowerCase() ?? "unknown";
5193
- X in a ? a[X]++ : a.unknown++;
5211
+ const r = JSON.parse(await R.readFile("./dependency-check-reports/dependency-check-report.json", "utf-8")), a = { critical: 0, high: 0, moderate: 0, low: 0, unknown: 0 };
5212
+ for (const G of r.dependencies)
5213
+ if (G.vulnerabilities != null)
5214
+ for (const J of G.vulnerabilities) {
5215
+ const st = J.severity?.toLowerCase() ?? "unknown";
5216
+ st in a ? a[st]++ : a.unknown++;
5194
5217
  }
5195
5218
  const u = {
5196
5219
  critical: { color: "D32F2F", label: "critical" },
@@ -5198,28 +5221,28 @@ async function Hs() {
5198
5221
  moderate: { color: "FBC02D", label: "moderate" },
5199
5222
  low: { color: "6D8C31", label: "low" },
5200
5223
  unknown: { color: "616161", label: "unknown" }
5201
- }, f = JSON.parse(await M.readFile("config.json", "utf8")), d = [];
5202
- if (Object.values(a).reduce((K, z) => K + z, 0) === 0)
5224
+ }, f = JSON.parse(await R.readFile("config.json", "utf8")), d = [];
5225
+ if (Object.values(a).reduce((G, J) => G + J, 0) === 0)
5203
5226
  console.info("✅ No vulnerabilities found."), d.push(`[![OWASP](https://img.shields.io/badge/OWASP-passed-4CAF50)](https://data-positioning.github.io/${f.id}/dependency-check-reports/dependency-check-report.html)`);
5204
5227
  else
5205
- for (const [K, z] of Object.entries(a)) {
5206
- const X = u[K];
5207
- if (console.warn(`⚠️ ${z} ${X.label} vulnerability(ies) found.`), z === 0) continue;
5208
- const _ = `https://img.shields.io/badge/OWASP-${z}%20${X.label}-${X.color}`;
5209
- d.push(`[![OWASP](${_})](https://data-positioning.github.io/${f.id}/dependency-check-reports/dependency-check-report.html)`);
5228
+ for (const [G, J] of Object.entries(a)) {
5229
+ const st = u[G];
5230
+ if (console.warn(`⚠️ ${J} ${st.label} vulnerability(ies) found.`), J === 0) continue;
5231
+ const I = `https://img.shields.io/badge/OWASP-${J}%20${st.label}-${st.color}`;
5232
+ d.push(`[![OWASP](${I})](https://data-positioning.github.io/${f.id}/dependency-check-reports/dependency-check-report.html)`);
5210
5233
  }
5211
- const v = await M.readFile("./README.md", "utf8"), o = v.indexOf(t), P = v.indexOf(e);
5212
- (o === -1 || P === -1) && (console.error("❌ OWASP badge markers not found in README.md."), process.exit(1));
5213
- const I = d.join(" "), R = v.substring(0, o + t.length) + I + v.substring(P);
5214
- await M.writeFile("README.md", R, "utf8"), console.info("✅ OWASP dependency check badge(s) inserted into README.md");
5234
+ const g = await R.readFile("./README.md", "utf8"), o = g.indexOf(t), w = g.indexOf(e);
5235
+ (o === -1 || w === -1) && (console.error("❌ OWASP badge markers not found in README.md."), process.exit(1));
5236
+ const L = d.join(" "), F = g.substring(0, o + t.length) + L + g.substring(w);
5237
+ await R.writeFile("README.md", F, "utf8"), console.info("✅ OWASP dependency check badge(s) inserted into README.md");
5215
5238
  } catch (r) {
5216
5239
  console.error("❌ Error updating README with OWASP badges:", r), process.exit(1);
5217
5240
  }
5218
5241
  }
5219
- async function Ws() {
5242
+ async function $s() {
5220
5243
  try {
5221
5244
  console.info("🚀 Sending deployment notice...");
5222
- const t = JSON.parse(await M.readFile("config.json", "utf8")), e = {
5245
+ const t = JSON.parse(await R.readFile("config.json", "utf8")), e = {
5223
5246
  body: JSON.stringify(t),
5224
5247
  headers: { "Content-Type": "application/json" },
5225
5248
  method: "PUT"
@@ -5230,41 +5253,41 @@ async function Ws() {
5230
5253
  console.error("❌ Error sending deployment notice.", t);
5231
5254
  }
5232
5255
  }
5233
- async function Ks() {
5256
+ async function Xs() {
5234
5257
  try {
5235
5258
  console.info("🚀 Synchronising with GitHub....");
5236
- const t = JSON.parse(await M.readFile("package.json", "utf8"));
5259
+ const t = JSON.parse(await R.readFile("package.json", "utf8"));
5237
5260
  await Dt("git add ."), await Dt(`git commit -m "v${t.version}"`), await Dt("git push origin main:main"), console.info(`✅ Synchronised version ${t.version} with GitHub.`);
5238
5261
  } catch (t) {
5239
5262
  console.error("❌ Error synchronising with GitHub.", t);
5240
5263
  }
5241
5264
  }
5242
- async function zs(t, e) {
5265
+ async function Qs(t, e) {
5243
5266
  try {
5244
5267
  console.info("🚀 Uploading directory to R2....");
5245
5268
  async function r(u, f, d) {
5246
- for (const g of d) {
5247
- const v = `${u}/${g}`, o = `${f}/${g}`;
5248
- if ((await M.stat(v)).isDirectory()) {
5249
- const I = await M.readdir(v);
5250
- await r(v, o, I);
5269
+ for (const v of d) {
5270
+ const g = `${u}/${v}`, o = `${f}/${v}`;
5271
+ if ((await R.stat(g)).isDirectory()) {
5272
+ const L = await R.readdir(g);
5273
+ await r(g, o, L);
5251
5274
  } else {
5252
- console.info(`⚙️ Uploading '${u}/${g}'...`);
5253
- const I = `wrangler r2 object put "datapos-sample-data-eu/${f}/${g}" --file="${u}/${g}" --jurisdiction=eu --remote`, R = await Dt(I);
5254
- if (R.stderr) throw new Error(R.stderr);
5275
+ console.info(`⚙️ Uploading '${u}/${v}'...`);
5276
+ const L = `wrangler r2 object put "datapos-sample-data-eu/${f}/${v}" --file="${u}/${v}" --jurisdiction=eu --remote`, F = await Dt(L);
5277
+ if (F.stderr) throw new Error(F.stderr);
5255
5278
  }
5256
5279
  }
5257
5280
  }
5258
- const a = await M.readdir(`${t}/${e}/`);
5281
+ const a = await R.readdir(`${t}/${e}/`);
5259
5282
  await r(`${t}/${e}`, e, a), console.info("✅ Directory uploaded to R2.");
5260
5283
  } catch (r) {
5261
5284
  console.error("❌ Error uploading directory to R2.", r);
5262
5285
  }
5263
5286
  }
5264
- async function Js() {
5287
+ async function Ys() {
5265
5288
  try {
5266
5289
  console.info("🚀 Uploading module configuration....");
5267
- const t = JSON.parse(await M.readFile("config.json", "utf8")), e = t.id, r = {
5290
+ const t = JSON.parse(await R.readFile("config.json", "utf8")), e = t.id, r = {
5268
5291
  body: JSON.stringify(t),
5269
5292
  headers: { "Content-Type": "application/json" },
5270
5293
  method: "PUT"
@@ -5275,19 +5298,19 @@ async function Js() {
5275
5298
  console.error("❌ Error uploading module configuration.", t);
5276
5299
  }
5277
5300
  }
5278
- async function Gs(t) {
5301
+ async function Zs(t) {
5279
5302
  try {
5280
5303
  console.info("🚀 Uploading module to R2...");
5281
- const r = `v${JSON.parse(await M.readFile("package.json", "utf8")).version}`;
5304
+ const r = `v${JSON.parse(await R.readFile("package.json", "utf8")).version}`;
5282
5305
  async function a(u, f = "") {
5283
- const d = await M.readdir(u, { withFileTypes: !0 });
5284
- for (const g of d) {
5285
- const v = `${u}/${g.name}`, o = f ? `${f}/${g.name}` : g.name;
5286
- if (!g.isDirectory()) {
5287
- const P = `${t}_${r}/${o}`.replace(/\\/g, "/"), I = g.name.endsWith(".js") ? "application/javascript" : g.name.endsWith(".css") ? "text/css" : "application/octet-stream";
5288
- console.info(`⚙️ Uploading '${o}' → '${P}'...`);
5289
- const { stderr: R } = await Dt(`wrangler r2 object put "${P}" --file="${v}" --content-type ${I} --jurisdiction=eu --remote`);
5290
- if (R) throw new Error(R);
5306
+ const d = await R.readdir(u, { withFileTypes: !0 });
5307
+ for (const v of d) {
5308
+ const g = `${u}/${v.name}`, o = f ? `${f}/${v.name}` : v.name;
5309
+ if (!v.isDirectory()) {
5310
+ const w = `${t}_${r}/${o}`.replace(/\\/g, "/"), L = v.name.endsWith(".js") ? "application/javascript" : v.name.endsWith(".css") ? "text/css" : "application/octet-stream";
5311
+ console.info(`⚙️ Uploading '${o}' → '${w}'...`);
5312
+ const { stderr: F } = await Dt(`wrangler r2 object put "${w}" --file="${g}" --content-type ${L} --jurisdiction=eu --remote`);
5313
+ if (F) throw new Error(F);
5291
5314
  }
5292
5315
  }
5293
5316
  }
@@ -5297,18 +5320,18 @@ async function Gs(t) {
5297
5320
  }
5298
5321
  }
5299
5322
  export {
5300
- Ms as buildConfig,
5301
- Vs as buildConnectorConfig,
5302
- Fs as buildContextConfig,
5303
- Bs as buildPresenterConfig,
5304
- Ds as buildPublicDirectoryIndex,
5305
- js as bumpVersion,
5306
- Us as echoScriptNotImplemented,
5307
- qs as insertLicensesIntoReadme,
5308
- Hs as insertOWASPDependencyCheckBadgeIntoReadme,
5309
- Ws as sendDeploymentNotice,
5310
- Ks as syncWithGitHub,
5311
- zs as uploadDirectoryToR2,
5312
- Js as uploadModuleConfigToDO,
5313
- Gs as uploadModuleToR2
5323
+ js as buildConfig,
5324
+ qs as buildConnectorConfig,
5325
+ Hs as buildContextConfig,
5326
+ Ws as buildPresenterConfig,
5327
+ Us as buildPublicDirectoryIndex,
5328
+ Ks as bumpVersion,
5329
+ zs as echoScriptNotImplemented,
5330
+ Js as insertLicensesIntoReadme,
5331
+ Gs as insertOWASPDependencyCheckBadgeIntoReadme,
5332
+ $s as sendDeploymentNotice,
5333
+ Xs as syncWithGitHub,
5334
+ Qs as uploadDirectoryToR2,
5335
+ Ys as uploadModuleConfigToDO,
5336
+ Zs as uploadModuleToR2
5314
5337
  };