@datapos/datapos-development 0.3.149 → 0.3.151

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,12 +1,12 @@
1
1
  import { exec as _i } from "node:child_process";
2
- import { promises as M } from "node:fs";
2
+ import { promises as D } from "node:fs";
3
3
  import { nanoid as Li } from "nanoid";
4
4
  import { promisify as Oi } from "node:util";
5
5
  function Ri(t, e, s, a, o) {
6
- var l = [];
6
+ var p = [];
7
7
  s || (s = T), (function d(v, g, h) {
8
- var C = h || v.type, _ = v !== l[l.length - 1];
9
- _ && l.push(v), s[C](v, g, d), e[C] && e[C](v, g || l, l), _ && l.pop();
8
+ var C = h || v.type, N = v !== p[p.length - 1];
9
+ N && p.push(v), s[C](v, g, d), e[C] && e[C](v, g || p, p), N && p.pop();
10
10
  })(t, a, o);
11
11
  }
12
12
  function ve(t, e, s) {
@@ -17,8 +17,8 @@ function Pt(t, e, s) {
17
17
  var T = {};
18
18
  T.Program = T.BlockStatement = T.StaticBlock = function(t, e, s) {
19
19
  for (var a = 0, o = t.body; a < o.length; a += 1) {
20
- var l = o[a];
21
- s(l, e, "Statement");
20
+ var p = o[a];
21
+ s(p, e, "Statement");
22
22
  }
23
23
  };
24
24
  T.Statement = ve;
@@ -39,15 +39,15 @@ T.WithStatement = function(t, e, s) {
39
39
  T.SwitchStatement = function(t, e, s) {
40
40
  s(t.discriminant, e, "Expression");
41
41
  for (var a = 0, o = t.cases; a < o.length; a += 1) {
42
- var l = o[a];
43
- s(l, e);
42
+ var p = o[a];
43
+ s(p, e);
44
44
  }
45
45
  };
46
46
  T.SwitchCase = function(t, e, s) {
47
47
  t.test && s(t.test, e, "Expression");
48
48
  for (var a = 0, o = t.consequent; a < o.length; a += 1) {
49
- var l = o[a];
50
- s(l, e, "Statement");
49
+ var p = o[a];
50
+ s(p, e, "Statement");
51
51
  }
52
52
  };
53
53
  T.ReturnStatement = T.YieldExpression = T.AwaitExpression = function(t, e, s) {
@@ -80,8 +80,8 @@ T.FunctionDeclaration = function(t, e, s) {
80
80
  };
81
81
  T.VariableDeclaration = function(t, e, s) {
82
82
  for (var a = 0, o = t.declarations; a < o.length; a += 1) {
83
- var l = o[a];
84
- s(l, e);
83
+ var p = o[a];
84
+ s(p, e);
85
85
  }
86
86
  };
87
87
  T.VariableDeclarator = function(t, e, s) {
@@ -90,8 +90,8 @@ T.VariableDeclarator = function(t, e, s) {
90
90
  T.Function = function(t, e, s) {
91
91
  t.id && s(t.id, e, "Pattern");
92
92
  for (var a = 0, o = t.params; a < o.length; a += 1) {
93
- var l = o[a];
94
- s(l, e, "Pattern");
93
+ var p = o[a];
94
+ s(p, e, "Pattern");
95
95
  }
96
96
  s(t.body, e, t.expression ? "Expression" : "Statement");
97
97
  };
@@ -105,41 +105,41 @@ T.RestElement = function(t, e, s) {
105
105
  };
106
106
  T.ArrayPattern = function(t, e, s) {
107
107
  for (var a = 0, o = t.elements; a < o.length; a += 1) {
108
- var l = o[a];
109
- l && s(l, e, "Pattern");
108
+ var p = o[a];
109
+ p && s(p, e, "Pattern");
110
110
  }
111
111
  };
112
112
  T.ObjectPattern = function(t, e, s) {
113
113
  for (var a = 0, o = t.properties; a < o.length; a += 1) {
114
- var l = o[a];
115
- l.type === "Property" ? (l.computed && s(l.key, e, "Expression"), s(l.value, e, "Pattern")) : l.type === "RestElement" && s(l.argument, e, "Pattern");
114
+ var p = o[a];
115
+ p.type === "Property" ? (p.computed && s(p.key, e, "Expression"), s(p.value, e, "Pattern")) : p.type === "RestElement" && s(p.argument, e, "Pattern");
116
116
  }
117
117
  };
118
118
  T.Expression = ve;
119
119
  T.ThisExpression = T.Super = T.MetaProperty = Pt;
120
120
  T.ArrayExpression = function(t, e, s) {
121
121
  for (var a = 0, o = t.elements; a < o.length; a += 1) {
122
- var l = o[a];
123
- l && s(l, e, "Expression");
122
+ var p = o[a];
123
+ p && s(p, e, "Expression");
124
124
  }
125
125
  };
126
126
  T.ObjectExpression = function(t, e, s) {
127
127
  for (var a = 0, o = t.properties; a < o.length; a += 1) {
128
- var l = o[a];
129
- s(l, e);
128
+ var p = o[a];
129
+ s(p, e);
130
130
  }
131
131
  };
132
132
  T.FunctionExpression = T.ArrowFunctionExpression = T.FunctionDeclaration;
133
133
  T.SequenceExpression = function(t, e, s) {
134
134
  for (var a = 0, o = t.expressions; a < o.length; a += 1) {
135
- var l = o[a];
136
- s(l, e, "Expression");
135
+ var p = o[a];
136
+ s(p, e, "Expression");
137
137
  }
138
138
  };
139
139
  T.TemplateLiteral = function(t, e, s) {
140
140
  for (var a = 0, o = t.quasis; a < o.length; a += 1) {
141
- var l = o[a];
142
- s(l, e);
141
+ var p = o[a];
142
+ s(p, e);
143
143
  }
144
144
  for (var d = 0, v = t.expressions; d < v.length; d += 1) {
145
145
  var g = v[d];
@@ -162,8 +162,8 @@ T.ConditionalExpression = function(t, e, s) {
162
162
  T.NewExpression = T.CallExpression = function(t, e, s) {
163
163
  if (s(t.callee, e, "Expression"), t.arguments)
164
164
  for (var a = 0, o = t.arguments; a < o.length; a += 1) {
165
- var l = o[a];
166
- s(l, e, "Expression");
165
+ var p = o[a];
166
+ s(p, e, "Expression");
167
167
  }
168
168
  };
169
169
  T.MemberExpression = function(t, e, s) {
@@ -177,8 +177,8 @@ T.ExportAllDeclaration = function(t, e, s) {
177
177
  };
178
178
  T.ImportDeclaration = function(t, e, s) {
179
179
  for (var a = 0, o = t.specifiers; a < o.length; a += 1) {
180
- var l = o[a];
181
- s(l, e);
180
+ var p = o[a];
181
+ s(p, e);
182
182
  }
183
183
  s(t.source, e, "Expression");
184
184
  };
@@ -197,14 +197,14 @@ T.Class = function(t, e, s) {
197
197
  };
198
198
  T.ClassBody = function(t, e, s) {
199
199
  for (var a = 0, o = t.body; a < o.length; a += 1) {
200
- var l = o[a];
201
- s(l, e);
200
+ var p = o[a];
201
+ s(p, e);
202
202
  }
203
203
  };
204
204
  T.MethodDefinition = T.PropertyDefinition = T.Property = function(t, e, s) {
205
205
  t.computed && s(t.key, e, "Expression"), t.value && s(t.value, e, "Expression");
206
206
  };
207
- var Mi = [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], He = [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], Di = "‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・", We = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", ue = {
207
+ var Mi = [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], He = [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], Di = "‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・", ze = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", ue = {
208
208
  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",
209
209
  5: "class enum extends super const export import",
210
210
  6: "enum",
@@ -214,7 +214,7 @@ var Mi = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166,
214
214
  5: ce,
215
215
  "5module": ce + " export import",
216
216
  6: ce + " const class extends export import super"
217
- }, Fi = /^in(stanceof)?$/, Bi = new RegExp("[" + We + "]"), ji = new RegExp("[" + We + Di + "]");
217
+ }, Fi = /^in(stanceof)?$/, Bi = new RegExp("[" + ze + "]"), ji = new RegExp("[" + ze + Di + "]");
218
218
  function de(t, e) {
219
219
  for (var s = 65536, a = 0; a < e.length; a += 2) {
220
220
  if (s += e[a], s > t)
@@ -230,42 +230,42 @@ function lt(t, e) {
230
230
  function mt(t, e) {
231
231
  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 && ji.test(String.fromCharCode(t)) : e === !1 ? !1 : de(t, He) || de(t, Mi);
232
232
  }
233
- var R = function(e, s) {
233
+ var M = function(e, s) {
234
234
  s === void 0 && (s = {}), this.label = e, this.keyword = s.keyword, this.beforeExpr = !!s.beforeExpr, this.startsExpr = !!s.startsExpr, this.isLoop = !!s.isLoop, this.isAssign = !!s.isAssign, this.prefix = !!s.prefix, this.postfix = !!s.postfix, this.binop = s.binop || null, this.updateContext = null;
235
235
  };
236
236
  function ht(t, e) {
237
- return new R(t, { beforeExpr: !0, binop: e });
237
+ return new M(t, { beforeExpr: !0, binop: e });
238
238
  }
239
239
  var ut = { beforeExpr: !0 }, rt = { startsExpr: !0 }, Et = {};
240
- function V(t, e) {
241
- return e === void 0 && (e = {}), e.keyword = t, Et[t] = new R(t, e);
240
+ function F(t, e) {
241
+ return e === void 0 && (e = {}), e.keyword = t, Et[t] = new M(t, e);
242
242
  }
243
243
  var u = {
244
- num: new R("num", rt),
245
- regexp: new R("regexp", rt),
246
- string: new R("string", rt),
247
- name: new R("name", rt),
248
- privateId: new R("privateId", rt),
249
- eof: new R("eof"),
244
+ num: new M("num", rt),
245
+ regexp: new M("regexp", rt),
246
+ string: new M("string", rt),
247
+ name: new M("name", rt),
248
+ privateId: new M("privateId", rt),
249
+ eof: new M("eof"),
250
250
  // Punctuation token types.
251
- bracketL: new R("[", { beforeExpr: !0, startsExpr: !0 }),
252
- bracketR: new R("]"),
253
- braceL: new R("{", { beforeExpr: !0, startsExpr: !0 }),
254
- braceR: new R("}"),
255
- parenL: new R("(", { beforeExpr: !0, startsExpr: !0 }),
256
- parenR: new R(")"),
257
- comma: new R(",", ut),
258
- semi: new R(";", ut),
259
- colon: new R(":", ut),
260
- dot: new R("."),
261
- question: new R("?", ut),
262
- questionDot: new R("?."),
263
- arrow: new R("=>", ut),
264
- template: new R("template"),
265
- invalidTemplate: new R("invalidTemplate"),
266
- ellipsis: new R("...", ut),
267
- backQuote: new R("`", rt),
268
- dollarBraceL: new R("${", { beforeExpr: !0, startsExpr: !0 }),
251
+ bracketL: new M("[", { beforeExpr: !0, startsExpr: !0 }),
252
+ bracketR: new M("]"),
253
+ braceL: new M("{", { beforeExpr: !0, startsExpr: !0 }),
254
+ braceR: new M("}"),
255
+ parenL: new M("(", { beforeExpr: !0, startsExpr: !0 }),
256
+ parenR: new M(")"),
257
+ comma: new M(",", ut),
258
+ semi: new M(";", ut),
259
+ colon: new M(":", ut),
260
+ dot: new M("."),
261
+ question: new M("?", ut),
262
+ questionDot: new M("?."),
263
+ arrow: new M("=>", ut),
264
+ template: new M("template"),
265
+ invalidTemplate: new M("invalidTemplate"),
266
+ ellipsis: new M("...", ut),
267
+ backQuote: new M("`", rt),
268
+ dollarBraceL: new M("${", { beforeExpr: !0, startsExpr: !0 }),
269
269
  // Operators. These carry several kinds of properties to help the
270
270
  // parser use them properly (the presence of these properties is
271
271
  // what categorizes them as operators).
@@ -279,10 +279,10 @@ var u = {
279
279
  // `isAssign` marks all of `=`, `+=`, `-=` etcetera, which act as
280
280
  // binary operators with a very low precedence, that should result
281
281
  // in AssignmentExpression nodes.
282
- eq: new R("=", { beforeExpr: !0, isAssign: !0 }),
283
- assign: new R("_=", { beforeExpr: !0, isAssign: !0 }),
284
- incDec: new R("++/--", { prefix: !0, postfix: !0, startsExpr: !0 }),
285
- prefix: new R("!/~", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
282
+ eq: new M("=", { beforeExpr: !0, isAssign: !0 }),
283
+ assign: new M("_=", { beforeExpr: !0, isAssign: !0 }),
284
+ incDec: new M("++/--", { prefix: !0, postfix: !0, startsExpr: !0 }),
285
+ prefix: new M("!/~", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
286
286
  logicalOR: ht("||", 1),
287
287
  logicalAND: ht("&&", 2),
288
288
  bitwiseOR: ht("|", 3),
@@ -291,49 +291,49 @@ var u = {
291
291
  equality: ht("==/!=/===/!==", 6),
292
292
  relational: ht("</>/<=/>=", 7),
293
293
  bitShift: ht("<</>>/>>>", 8),
294
- plusMin: new R("+/-", { beforeExpr: !0, binop: 9, prefix: !0, startsExpr: !0 }),
294
+ plusMin: new M("+/-", { beforeExpr: !0, binop: 9, prefix: !0, startsExpr: !0 }),
295
295
  modulo: ht("%", 10),
296
296
  star: ht("*", 10),
297
297
  slash: ht("/", 10),
298
- starstar: new R("**", { beforeExpr: !0 }),
298
+ starstar: new M("**", { beforeExpr: !0 }),
299
299
  coalesce: ht("??", 1),
300
300
  // Keyword token types.
301
- _break: V("break"),
302
- _case: V("case", ut),
303
- _catch: V("catch"),
304
- _continue: V("continue"),
305
- _debugger: V("debugger"),
306
- _default: V("default", ut),
307
- _do: V("do", { isLoop: !0, beforeExpr: !0 }),
308
- _else: V("else", ut),
309
- _finally: V("finally"),
310
- _for: V("for", { isLoop: !0 }),
311
- _function: V("function", rt),
312
- _if: V("if"),
313
- _return: V("return", ut),
314
- _switch: V("switch"),
315
- _throw: V("throw", ut),
316
- _try: V("try"),
317
- _var: V("var"),
318
- _const: V("const"),
319
- _while: V("while", { isLoop: !0 }),
320
- _with: V("with"),
321
- _new: V("new", { beforeExpr: !0, startsExpr: !0 }),
322
- _this: V("this", rt),
323
- _super: V("super", rt),
324
- _class: V("class", rt),
325
- _extends: V("extends", ut),
326
- _export: V("export"),
327
- _import: V("import", rt),
328
- _null: V("null", rt),
329
- _true: V("true", rt),
330
- _false: V("false", rt),
331
- _in: V("in", { beforeExpr: !0, binop: 7 }),
332
- _instanceof: V("instanceof", { beforeExpr: !0, binop: 7 }),
333
- _typeof: V("typeof", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
334
- _void: V("void", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
335
- _delete: V("delete", { beforeExpr: !0, prefix: !0, startsExpr: !0 })
336
- }, tt = /\r\n?|\n|\u2028|\u2029/, ze = new RegExp(tt.source, "g");
301
+ _break: F("break"),
302
+ _case: F("case", ut),
303
+ _catch: F("catch"),
304
+ _continue: F("continue"),
305
+ _debugger: F("debugger"),
306
+ _default: F("default", ut),
307
+ _do: F("do", { isLoop: !0, beforeExpr: !0 }),
308
+ _else: F("else", ut),
309
+ _finally: F("finally"),
310
+ _for: F("for", { isLoop: !0 }),
311
+ _function: F("function", rt),
312
+ _if: F("if"),
313
+ _return: F("return", ut),
314
+ _switch: F("switch"),
315
+ _throw: F("throw", ut),
316
+ _try: F("try"),
317
+ _var: F("var"),
318
+ _const: F("const"),
319
+ _while: F("while", { isLoop: !0 }),
320
+ _with: F("with"),
321
+ _new: F("new", { beforeExpr: !0, startsExpr: !0 }),
322
+ _this: F("this", rt),
323
+ _super: F("super", rt),
324
+ _class: F("class", rt),
325
+ _extends: F("extends", ut),
326
+ _export: F("export"),
327
+ _import: F("import", rt),
328
+ _null: F("null", rt),
329
+ _true: F("true", rt),
330
+ _false: F("false", rt),
331
+ _in: F("in", { beforeExpr: !0, binop: 7 }),
332
+ _instanceof: F("instanceof", { beforeExpr: !0, binop: 7 }),
333
+ _typeof: F("typeof", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
334
+ _void: F("void", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
335
+ _delete: F("delete", { beforeExpr: !0, prefix: !0, startsExpr: !0 })
336
+ }, tt = /\r\n?|\n|\u2028|\u2029/, We = new RegExp(tt.source, "g");
337
337
  function Ct(t) {
338
338
  return t === 10 || t === 13 || t === 8232 || t === 8233;
339
339
  }
@@ -471,7 +471,7 @@ var Gt = {
471
471
  // (non-standard) ParenthesizedExpression nodes
472
472
  preserveParens: !1
473
473
  }, Oe = !1;
474
- function Wi(t) {
474
+ function zi(t) {
475
475
  var e = {};
476
476
  for (var s in Gt)
477
477
  e[s] = t && It(t, s) ? t[s] : Gt[s];
@@ -482,17 +482,17 @@ Defaulting to 2020, but this will stop working in the future.`)), e.ecmaVersion
482
482
  return a.push(o);
483
483
  };
484
484
  }
485
- return _e(e.onComment) && (e.onComment = zi(e, e.onComment)), e;
485
+ return _e(e.onComment) && (e.onComment = Wi(e, e.onComment)), e;
486
486
  }
487
- function zi(t, e) {
488
- return function(s, a, o, l, d, v) {
487
+ function Wi(t, e) {
488
+ return function(s, a, o, p, d, v) {
489
489
  var g = {
490
490
  type: s ? "Block" : "Line",
491
491
  value: a,
492
492
  start: o,
493
- end: l
493
+ end: p
494
494
  };
495
- t.locations && (g.loc = new jt(this, d, v)), t.ranges && (g.range = [o, l]), e.push(g);
495
+ t.locations && (g.loc = new jt(this, d, v)), t.ranges && (g.range = [o, p]), e.push(g);
496
496
  };
497
497
  }
498
498
  var Bt = 1, Nt = 2, Se = 4, Ge = 8, Te = 16, $e = 32, te = 64, Xe = 128, kt = 256, Ut = 512, ee = Bt | Nt | kt;
@@ -500,11 +500,11 @@ function Pe(t, e) {
500
500
  return Nt | (t ? Se : 0) | (e ? Ge : 0);
501
501
  }
502
502
  var $t = 0, Ce = 1, vt = 2, Qe = 3, Ye = 4, Ze = 5, J = function(e, s, a) {
503
- this.options = e = Wi(e), this.sourceFile = e.sourceFile, this.keywords = St(Vi[e.ecmaVersion >= 6 ? 6 : e.sourceType === "module" ? "5module" : 5]);
503
+ this.options = e = zi(e), this.sourceFile = e.sourceFile, this.keywords = St(Vi[e.ecmaVersion >= 6 ? 6 : e.sourceType === "module" ? "5module" : 5]);
504
504
  var o = "";
505
505
  e.allowReserved !== !0 && (o = ue[e.ecmaVersion >= 6 ? 6 : e.ecmaVersion === 5 ? 5 : 3], e.sourceType === "module" && (o += " await")), this.reservedWords = St(o);
506
- var l = (o ? o + " " : "") + ue.strict;
507
- this.reservedWordsStrict = St(l), this.reservedWordsStrictBind = St(l + " " + ue.strictBind), this.input = String(s), this.containsEsc = !1, a ? (this.pos = a, this.lineStart = this.input.lastIndexOf(`
506
+ var p = (o ? o + " " : "") + ue.strict;
507
+ this.reservedWordsStrict = St(p), this.reservedWordsStrictBind = St(p + " " + ue.strictBind), this.input = String(s), this.containsEsc = !1, a ? (this.pos = a, this.lineStart = this.input.lastIndexOf(`
508
508
  `, a - 1) + 1, this.curLine = this.input.slice(0, this.lineStart).split(tt).length) : (this.pos = this.lineStart = 0, this.curLine = 1), this.type = u.eof, this.value = null, this.start = this.end = this.pos, this.startLoc = this.endLoc = this.curPosition(), this.lastTokEndLoc = this.lastTokStartLoc = null, this.lastTokStart = this.lastTokEnd = this.pos, this.context = this.initialContext(), this.exprAllowed = !0, this.inModule = e.sourceType === "module", this.strict = this.inModule || this.strictDirective(this.pos), this.potentialArrowAt = -1, this.potentialArrowInForAwait = !1, this.yieldPos = this.awaitPos = this.awaitIdentPos = 0, this.labels = [], this.undefinedExports = /* @__PURE__ */ Object.create(null), this.pos === 0 && e.allowHashBang && this.input.slice(0, 2) === "#!" && this.skipLineComment(2), this.scopeStack = [], this.enterScope(Bt), this.regexpState = null, this.privateNameStack = [];
509
509
  }, ft = { 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 } };
510
510
  J.prototype.parse = function() {
@@ -650,8 +650,8 @@ E.parseTopLevel = function(t) {
650
650
  }
651
651
  if (this.inModule)
652
652
  for (var a = 0, o = Object.keys(this.undefinedExports); a < o.length; a += 1) {
653
- var l = o[a];
654
- this.raiseRecoverable(this.undefinedExports[l].start, "Export '" + l + "' is not defined");
653
+ var p = o[a];
654
+ this.raiseRecoverable(this.undefinedExports[p].start, "Export '" + p + "' is not defined");
655
655
  }
656
656
  return this.adaptDirectivePrologue(t.body), this.next(), t.sourceType = this.options.sourceType, this.finishNode(t, "Program");
657
657
  };
@@ -672,8 +672,8 @@ E.isLet = function(t) {
672
672
  ++o;
673
673
  if (a === 92 || a > 55295 && a < 56320)
674
674
  return !0;
675
- var l = this.input.slice(s, o);
676
- if (!Fi.test(l))
675
+ var p = this.input.slice(s, o);
676
+ if (!Fi.test(p))
677
677
  return !0;
678
678
  }
679
679
  return !1;
@@ -693,8 +693,8 @@ E.isUsingKeyword = function(t, e) {
693
693
  if (tt.test(this.input.slice(this.pos, a)))
694
694
  return !1;
695
695
  if (t) {
696
- var o = a + 5, l;
697
- if (this.input.slice(a, o) !== "using" || o === this.input.length || mt(l = this.input.charCodeAt(o)) || l > 55295 && l < 56320)
696
+ var o = a + 5, p;
697
+ if (this.input.slice(a, o) !== "using" || o === this.input.length || mt(p = this.input.charCodeAt(o)) || p > 55295 && p < 56320)
698
698
  return !1;
699
699
  Q.lastIndex = o;
700
700
  var d = Q.exec(this.input);
@@ -716,8 +716,8 @@ E.isUsing = function(t) {
716
716
  return this.isUsingKeyword(!1, t);
717
717
  };
718
718
  E.parseStatement = function(t, e, s) {
719
- var a = this.type, o = this.startNode(), l;
720
- switch (this.isLet(t) && (a = u._var, l = "let"), a) {
719
+ var a = this.type, o = this.startNode(), p;
720
+ switch (this.isLet(t) && (a = u._var, p = "let"), a) {
721
721
  case u._break:
722
722
  case u._continue:
723
723
  return this.parseBreakContinueStatement(o, a.keyword);
@@ -743,7 +743,7 @@ E.parseStatement = function(t, e, s) {
743
743
  return this.parseTryStatement(o);
744
744
  case u._const:
745
745
  case u._var:
746
- return l = l || this.value, t && l !== "var" && this.unexpected(), this.parseVarStatement(o, l);
746
+ return p = p || this.value, t && p !== "var" && this.unexpected(), this.parseVarStatement(o, p);
747
747
  case u._while:
748
748
  return this.parseWhileStatement(o);
749
749
  case u._with:
@@ -772,8 +772,8 @@ E.parseStatement = function(t, e, s) {
772
772
  var h = this.isAwaitUsing(!1) ? "await using" : this.isUsing(!1) ? "using" : null;
773
773
  if (h)
774
774
  return e && this.options.sourceType === "script" && this.raise(this.start, "Using declaration cannot appear in the top level when source type is `script`"), h === "await using" && (this.canAwait || this.raise(this.start, "Await using cannot appear outside of async function"), this.next()), this.next(), this.parseVar(o, !1, h), this.semicolon(), this.finishNode(o, "VariableDeclaration");
775
- var C = this.value, _ = this.parseExpression();
776
- return a === u.name && _.type === "Identifier" && this.eat(u.colon) ? this.parseLabeledStatement(o, C, _, t) : this.parseExpressionStatement(o, _);
775
+ var C = this.value, N = this.parseExpression();
776
+ return a === u.name && N.type === "Identifier" && this.eat(u.colon) ? this.parseLabeledStatement(o, C, N, t) : this.parseExpressionStatement(o, N);
777
777
  }
778
778
  };
779
779
  E.parseBreakContinueStatement = function(t, e) {
@@ -802,13 +802,13 @@ E.parseForStatement = function(t) {
802
802
  var a = this.startNode(), o = s ? "let" : this.value;
803
803
  return this.next(), this.parseVar(a, !0, o), this.finishNode(a, "VariableDeclaration"), this.parseForAfterInit(t, a, e);
804
804
  }
805
- var l = this.isContextual("let"), d = !1, v = this.isUsing(!0) ? "using" : this.isAwaitUsing(!0) ? "await using" : null;
805
+ var p = this.isContextual("let"), d = !1, v = this.isUsing(!0) ? "using" : this.isAwaitUsing(!0) ? "await using" : null;
806
806
  if (v) {
807
807
  var g = this.startNode();
808
808
  return this.next(), v === "await using" && this.next(), this.parseVar(g, !0, v), this.finishNode(g, "VariableDeclaration"), this.parseForAfterInit(t, g, e);
809
809
  }
810
- var h = this.containsEsc, C = new ie(), _ = this.start, j = e > -1 ? this.parseExprSubscripts(C, "await") : this.parseExpression(!0, C);
811
- return this.type === u._in || (d = this.options.ecmaVersion >= 6 && this.isContextual("of")) ? (e > -1 ? (this.type === u._in && this.unexpected(e), t.await = !0) : d && this.options.ecmaVersion >= 8 && (j.start === _ && !h && j.type === "Identifier" && j.name === "async" ? this.unexpected() : this.options.ecmaVersion >= 9 && (t.await = !1)), l && d && this.raise(j.start, "The left-hand side of a for-of loop may not start with 'let'."), this.toAssignable(j, !1, C), this.checkLValPattern(j), this.parseForIn(t, j)) : (this.checkExpressionErrors(C, !0), e > -1 && this.unexpected(e), this.parseFor(t, j));
810
+ var h = this.containsEsc, C = new ie(), N = this.start, L = e > -1 ? this.parseExprSubscripts(C, "await") : this.parseExpression(!0, C);
811
+ return this.type === u._in || (d = this.options.ecmaVersion >= 6 && this.isContextual("of")) ? (e > -1 ? (this.type === u._in && this.unexpected(e), t.await = !0) : d && this.options.ecmaVersion >= 8 && (L.start === N && !h && L.type === "Identifier" && L.name === "async" ? this.unexpected() : this.options.ecmaVersion >= 9 && (t.await = !1)), p && d && this.raise(L.start, "The left-hand side of a for-of loop may not start with 'let'."), this.toAssignable(L, !1, C), this.checkLValPattern(L), this.parseForIn(t, L)) : (this.checkExpressionErrors(C, !0), e > -1 && this.unexpected(e), this.parseFor(t, L));
812
812
  };
813
813
  E.parseForAfterInit = function(t, e, s) {
814
814
  return (this.type === u._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) && e.declarations.length === 1 ? (this.options.ecmaVersion >= 9 && (this.type === u._in ? s > -1 && this.unexpected(s) : t.await = s > -1), this.parseForIn(t, e)) : (s > -1 && this.unexpected(s), this.parseFor(t, e));
@@ -860,8 +860,8 @@ E.parseEmptyStatement = function(t) {
860
860
  return this.next(), this.finishNode(t, "EmptyStatement");
861
861
  };
862
862
  E.parseLabeledStatement = function(t, e, s, a) {
863
- for (var o = 0, l = this.labels; o < l.length; o += 1) {
864
- var d = l[o];
863
+ for (var o = 0, p = this.labels; o < p.length; o += 1) {
864
+ var d = p[o];
865
865
  d.name === e && this.raise(s.start, "Label '" + e + "' is already declared");
866
866
  }
867
867
  for (var v = this.type.isLoop ? "loop" : this.type === u._switch ? "switch" : null, g = this.labels.length - 1; g >= 0; g--) {
@@ -907,8 +907,8 @@ E.parseVarId = function(t, e) {
907
907
  var Dt = 1, me = 2, ti = 4;
908
908
  E.parseFunction = function(t, e, s, a, o) {
909
909
  this.initFunction(t), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !a) && (this.type === u.star && e & me && this.unexpected(), t.generator = this.eat(u.star)), this.options.ecmaVersion >= 8 && (t.async = !!a), e & Dt && (t.id = e & ti && this.type !== u.name ? null : this.parseIdent(), t.id && !(e & me) && this.checkLValSimple(t.id, this.strict || t.generator || t.async ? this.treatFunctionsAsVar ? Ce : vt : Qe));
910
- var l = this.yieldPos, d = this.awaitPos, v = this.awaitIdentPos;
911
- return this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Pe(t.async, t.generator)), e & Dt || (t.id = this.type === u.name ? this.parseIdent() : null), this.parseFunctionParams(t), this.parseFunctionBody(t, s, !1, o), this.yieldPos = l, this.awaitPos = d, this.awaitIdentPos = v, this.finishNode(t, e & Dt ? "FunctionDeclaration" : "FunctionExpression");
910
+ var p = this.yieldPos, d = this.awaitPos, v = this.awaitIdentPos;
911
+ return this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Pe(t.async, t.generator)), e & Dt || (t.id = this.type === u.name ? this.parseIdent() : null), this.parseFunctionParams(t), this.parseFunctionBody(t, s, !1, o), this.yieldPos = p, this.awaitPos = d, this.awaitIdentPos = v, this.finishNode(t, e & Dt ? "FunctionDeclaration" : "FunctionExpression");
912
912
  };
913
913
  E.parseFunctionParams = function(t) {
914
914
  this.expect(u.parenL), t.params = this.parseBindingList(u.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams();
@@ -917,29 +917,29 @@ E.parseClass = function(t, e) {
917
917
  this.next();
918
918
  var s = this.strict;
919
919
  this.strict = !0, this.parseClassId(t, e), this.parseClassSuper(t);
920
- var a = this.enterClassBody(), o = this.startNode(), l = !1;
920
+ var a = this.enterClassBody(), o = this.startNode(), p = !1;
921
921
  for (o.body = [], this.expect(u.braceL); this.type !== u.braceR; ) {
922
922
  var d = this.parseClassElement(t.superClass !== null);
923
- d && (o.body.push(d), d.type === "MethodDefinition" && d.kind === "constructor" ? (l && this.raiseRecoverable(d.start, "Duplicate constructor in the same class"), l = !0) : d.key && d.key.type === "PrivateIdentifier" && $i(a, d) && this.raiseRecoverable(d.key.start, "Identifier '#" + d.key.name + "' has already been declared"));
923
+ d && (o.body.push(d), d.type === "MethodDefinition" && d.kind === "constructor" ? (p && this.raiseRecoverable(d.start, "Duplicate constructor in the same class"), p = !0) : d.key && d.key.type === "PrivateIdentifier" && $i(a, d) && this.raiseRecoverable(d.key.start, "Identifier '#" + d.key.name + "' has already been declared"));
924
924
  }
925
925
  return this.strict = s, this.next(), t.body = this.finishNode(o, "ClassBody"), this.exitClassBody(), this.finishNode(t, e ? "ClassDeclaration" : "ClassExpression");
926
926
  };
927
927
  E.parseClassElement = function(t) {
928
928
  if (this.eat(u.semi))
929
929
  return null;
930
- var e = this.options.ecmaVersion, s = this.startNode(), a = "", o = !1, l = !1, d = "method", v = !1;
930
+ var e = this.options.ecmaVersion, s = this.startNode(), a = "", o = !1, p = !1, d = "method", v = !1;
931
931
  if (this.eatContextual("static")) {
932
932
  if (e >= 13 && this.eat(u.braceL))
933
933
  return this.parseClassStaticBlock(s), s;
934
934
  this.isClassElementNameStart() || this.type === u.star ? v = !0 : a = "static";
935
935
  }
936
- if (s.static = v, !a && e >= 8 && this.eatContextual("async") && ((this.isClassElementNameStart() || this.type === u.star) && !this.canInsertSemicolon() ? l = !0 : a = "async"), !a && (e >= 9 || !l) && this.eat(u.star) && (o = !0), !a && !l && !o) {
936
+ if (s.static = v, !a && e >= 8 && this.eatContextual("async") && ((this.isClassElementNameStart() || this.type === u.star) && !this.canInsertSemicolon() ? p = !0 : a = "async"), !a && (e >= 9 || !p) && this.eat(u.star) && (o = !0), !a && !p && !o) {
937
937
  var g = this.value;
938
938
  (this.eatContextual("get") || this.eatContextual("set")) && (this.isClassElementNameStart() ? d = g : a = g);
939
939
  }
940
- if (a ? (s.computed = !1, s.key = this.startNodeAt(this.lastTokStart, this.lastTokStartLoc), s.key.name = a, this.finishNode(s.key, "Identifier")) : this.parseClassElementName(s), e < 13 || this.type === u.parenL || d !== "method" || o || l) {
940
+ if (a ? (s.computed = !1, s.key = this.startNodeAt(this.lastTokStart, this.lastTokStartLoc), s.key.name = a, this.finishNode(s.key, "Identifier")) : this.parseClassElementName(s), e < 13 || this.type === u.parenL || d !== "method" || o || p) {
941
941
  var h = !s.static && Xt(s, "constructor"), C = h && t;
942
- h && d !== "method" && this.raise(s.key.start, "Constructor can't have get/set modifier"), s.kind = h ? "constructor" : d, this.parseClassMethod(s, o, l, C);
942
+ h && d !== "method" && this.raise(s.key.start, "Constructor can't have get/set modifier"), s.kind = h ? "constructor" : d, this.parseClassMethod(s, o, p, C);
943
943
  } else
944
944
  this.parseClassField(s);
945
945
  return s;
@@ -953,8 +953,8 @@ E.parseClassElementName = function(t) {
953
953
  E.parseClassMethod = function(t, e, s, a) {
954
954
  var o = t.key;
955
955
  t.kind === "constructor" ? (e && this.raise(o.start, "Constructor can't be a generator"), s && this.raise(o.start, "Constructor can't be an async method")) : t.static && Xt(t, "prototype") && this.raise(o.start, "Classes may not have a static property named prototype");
956
- var l = t.value = this.parseMethod(e, s, a);
957
- return t.kind === "get" && l.params.length !== 0 && this.raiseRecoverable(l.start, "getter should have no params"), t.kind === "set" && l.params.length !== 1 && this.raiseRecoverable(l.start, "setter should have exactly one param"), t.kind === "set" && l.params[0].type === "RestElement" && this.raiseRecoverable(l.params[0].start, "Setter cannot use rest params"), this.finishNode(t, "MethodDefinition");
956
+ var p = t.value = this.parseMethod(e, s, a);
957
+ return t.kind === "get" && p.params.length !== 0 && this.raiseRecoverable(p.start, "getter should have no params"), t.kind === "set" && p.params.length !== 1 && this.raiseRecoverable(p.start, "setter should have exactly one param"), t.kind === "set" && p.params[0].type === "RestElement" && this.raiseRecoverable(p.params[0].start, "Setter cannot use rest params"), this.finishNode(t, "MethodDefinition");
958
958
  };
959
959
  E.parseClassField = function(t) {
960
960
  return Xt(t, "constructor") ? this.raise(t.key.start, "Classes can't have a field named 'constructor'") : t.static && Xt(t, "prototype") && this.raise(t.key.start, "Classes can't have a static field named 'prototype'"), this.eat(u.eq) ? (this.enterScope(Ut | te), t.value = this.parseMaybeAssign(), this.exitScope()) : t.value = null, this.semicolon(), this.finishNode(t, "PropertyDefinition");
@@ -981,8 +981,8 @@ E.enterClassBody = function() {
981
981
  E.exitClassBody = function() {
982
982
  var t = this.privateNameStack.pop(), e = t.declared, s = t.used;
983
983
  if (this.options.checkPrivateFields)
984
- for (var a = this.privateNameStack.length, o = a === 0 ? null : this.privateNameStack[a - 1], l = 0; l < s.length; ++l) {
985
- var d = s[l];
984
+ for (var a = this.privateNameStack.length, o = a === 0 ? null : this.privateNameStack[a - 1], p = 0; p < s.length; ++p) {
985
+ var d = s[p];
986
986
  It(e, d.name) || (o ? o.used.push(d) : this.raiseRecoverable(d.start, "Private field '#" + d.name + "' must be declared in an enclosing class"));
987
987
  }
988
988
  };
@@ -1043,8 +1043,8 @@ E.checkPatternExport = function(t, e) {
1043
1043
  this.checkExport(t, e, e.start);
1044
1044
  else if (s === "ObjectPattern")
1045
1045
  for (var a = 0, o = e.properties; a < o.length; a += 1) {
1046
- var l = o[a];
1047
- this.checkPatternExport(t, l);
1046
+ var p = o[a];
1047
+ this.checkPatternExport(t, p);
1048
1048
  }
1049
1049
  else if (s === "ArrayPattern")
1050
1050
  for (var d = 0, v = e.elements; d < v.length; d += 1) {
@@ -1161,8 +1161,8 @@ pt.toAssignable = function(t, e, s) {
1161
1161
  case "ObjectExpression":
1162
1162
  t.type = "ObjectPattern", s && this.checkPatternErrors(s, !0);
1163
1163
  for (var a = 0, o = t.properties; a < o.length; a += 1) {
1164
- var l = o[a];
1165
- this.toAssignable(l, e), l.type === "RestElement" && (l.argument.type === "ArrayPattern" || l.argument.type === "ObjectPattern") && this.raise(l.argument.start, "Unexpected token");
1164
+ var p = o[a];
1165
+ this.toAssignable(p, e), p.type === "RestElement" && (p.argument.type === "ArrayPattern" || p.argument.type === "ObjectPattern") && this.raise(p.argument.start, "Unexpected token");
1166
1166
  }
1167
1167
  break;
1168
1168
  case "Property":
@@ -1198,8 +1198,8 @@ pt.toAssignableList = function(t, e) {
1198
1198
  o && this.toAssignable(o, e);
1199
1199
  }
1200
1200
  if (s) {
1201
- var l = t[s - 1];
1202
- this.options.ecmaVersion === 6 && e && l && l.type === "RestElement" && l.argument.type !== "Identifier" && this.unexpected(l.argument.start);
1201
+ var p = t[s - 1];
1202
+ this.options.ecmaVersion === 6 && e && p && p.type === "RestElement" && p.argument.type !== "Identifier" && this.unexpected(p.argument.start);
1203
1203
  }
1204
1204
  return t;
1205
1205
  };
@@ -1223,8 +1223,8 @@ pt.parseBindingAtom = function() {
1223
1223
  return this.parseIdent();
1224
1224
  };
1225
1225
  pt.parseBindingList = function(t, e, s, a) {
1226
- for (var o = [], l = !0; !this.eat(t); )
1227
- if (l ? l = !1 : this.expect(u.comma), e && this.type === u.comma)
1226
+ for (var o = [], p = !0; !this.eat(t); )
1227
+ if (p ? p = !1 : this.expect(u.comma), e && this.type === u.comma)
1228
1228
  o.push(null);
1229
1229
  else {
1230
1230
  if (s && this.afterTrailingComma(t))
@@ -1274,8 +1274,8 @@ pt.checkLValPattern = function(t, e, s) {
1274
1274
  switch (e === void 0 && (e = $t), t.type) {
1275
1275
  case "ObjectPattern":
1276
1276
  for (var a = 0, o = t.properties; a < o.length; a += 1) {
1277
- var l = o[a];
1278
- this.checkLValInnerPattern(l, e, s);
1277
+ var p = o[a];
1278
+ this.checkLValInnerPattern(p, e, s);
1279
1279
  }
1280
1280
  break;
1281
1281
  case "ArrayPattern":
@@ -1303,8 +1303,8 @@ pt.checkLValInnerPattern = function(t, e, s) {
1303
1303
  this.checkLValPattern(t, e, s);
1304
1304
  }
1305
1305
  };
1306
- var Z = function(e, s, a, o, l) {
1307
- this.token = e, this.isExpr = !!s, this.preserveSpace = !!a, this.override = o, this.generator = !!l;
1306
+ var Z = function(e, s, a, o, p) {
1307
+ this.token = e, this.isExpr = !!s, this.preserveSpace = !!a, this.override = o, this.generator = !!p;
1308
1308
  }, H = {
1309
1309
  b_stat: new Z("{", !1),
1310
1310
  b_expr: new Z("{", !0),
@@ -1384,8 +1384,8 @@ u.name.updateContext = function(t) {
1384
1384
  var e = !1;
1385
1385
  this.options.ecmaVersion >= 6 && t !== u.dot && (this.value === "of" && !this.exprAllowed || this.value === "yield" && this.inGeneratorContext()) && (e = !0), this.exprAllowed = e;
1386
1386
  };
1387
- var L = J.prototype;
1388
- L.checkPropClash = function(t, e, s) {
1387
+ var O = J.prototype;
1388
+ O.checkPropClash = function(t, e, s) {
1389
1389
  if (!(this.options.ecmaVersion >= 9 && t.type === "SpreadElement") && !(this.options.ecmaVersion >= 6 && (t.computed || t.method || t.shorthand))) {
1390
1390
  var a = t.key, o;
1391
1391
  switch (a.type) {
@@ -1398,43 +1398,43 @@ L.checkPropClash = function(t, e, s) {
1398
1398
  default:
1399
1399
  return;
1400
1400
  }
1401
- var l = t.kind;
1401
+ var p = t.kind;
1402
1402
  if (this.options.ecmaVersion >= 6) {
1403
- o === "__proto__" && l === "init" && (e.proto && (s ? s.doubleProto < 0 && (s.doubleProto = a.start) : this.raiseRecoverable(a.start, "Redefinition of __proto__ property")), e.proto = !0);
1403
+ o === "__proto__" && p === "init" && (e.proto && (s ? s.doubleProto < 0 && (s.doubleProto = a.start) : this.raiseRecoverable(a.start, "Redefinition of __proto__ property")), e.proto = !0);
1404
1404
  return;
1405
1405
  }
1406
1406
  o = "$" + o;
1407
1407
  var d = e[o];
1408
1408
  if (d) {
1409
1409
  var v;
1410
- l === "init" ? v = this.strict && d.init || d.get || d.set : v = d.init || d[l], v && this.raiseRecoverable(a.start, "Redefinition of property");
1410
+ p === "init" ? v = this.strict && d.init || d.get || d.set : v = d.init || d[p], v && this.raiseRecoverable(a.start, "Redefinition of property");
1411
1411
  } else
1412
1412
  d = e[o] = {
1413
1413
  init: !1,
1414
1414
  get: !1,
1415
1415
  set: !1
1416
1416
  };
1417
- d[l] = !0;
1417
+ d[p] = !0;
1418
1418
  }
1419
1419
  };
1420
- L.parseExpression = function(t, e) {
1420
+ O.parseExpression = function(t, e) {
1421
1421
  var s = this.start, a = this.startLoc, o = this.parseMaybeAssign(t, e);
1422
1422
  if (this.type === u.comma) {
1423
- var l = this.startNodeAt(s, a);
1424
- for (l.expressions = [o]; this.eat(u.comma); )
1425
- l.expressions.push(this.parseMaybeAssign(t, e));
1426
- return this.finishNode(l, "SequenceExpression");
1423
+ var p = this.startNodeAt(s, a);
1424
+ for (p.expressions = [o]; this.eat(u.comma); )
1425
+ p.expressions.push(this.parseMaybeAssign(t, e));
1426
+ return this.finishNode(p, "SequenceExpression");
1427
1427
  }
1428
1428
  return o;
1429
1429
  };
1430
- L.parseMaybeAssign = function(t, e, s) {
1430
+ O.parseMaybeAssign = function(t, e, s) {
1431
1431
  if (this.isContextual("yield")) {
1432
1432
  if (this.inGenerator)
1433
1433
  return this.parseYield(t);
1434
1434
  this.exprAllowed = !1;
1435
1435
  }
1436
- var a = !1, o = -1, l = -1, d = -1;
1437
- e ? (o = e.parenthesizedAssign, l = e.trailingComma, d = e.doubleProto, e.parenthesizedAssign = e.trailingComma = -1) : (e = new ie(), a = !0);
1436
+ var a = !1, o = -1, p = -1, d = -1;
1437
+ e ? (o = e.parenthesizedAssign, p = e.trailingComma, d = e.doubleProto, e.parenthesizedAssign = e.trailingComma = -1) : (e = new ie(), a = !0);
1438
1438
  var v = this.start, g = this.startLoc;
1439
1439
  (this.type === u.parenL || this.type === u.name) && (this.potentialArrowAt = this.start, this.potentialArrowInForAwait = t === "await");
1440
1440
  var h = this.parseMaybeConditional(t, e);
@@ -1443,41 +1443,41 @@ L.parseMaybeAssign = function(t, e, s) {
1443
1443
  return C.operator = this.value, this.type === u.eq && (h = this.toAssignable(h, !1, e)), a || (e.parenthesizedAssign = e.trailingComma = e.doubleProto = -1), e.shorthandAssign >= h.start && (e.shorthandAssign = -1), this.type === u.eq ? this.checkLValPattern(h) : this.checkLValSimple(h), C.left = h, this.next(), C.right = this.parseMaybeAssign(t), d > -1 && (e.doubleProto = d), this.finishNode(C, "AssignmentExpression");
1444
1444
  } else
1445
1445
  a && this.checkExpressionErrors(e, !0);
1446
- return o > -1 && (e.parenthesizedAssign = o), l > -1 && (e.trailingComma = l), h;
1446
+ return o > -1 && (e.parenthesizedAssign = o), p > -1 && (e.trailingComma = p), h;
1447
1447
  };
1448
- L.parseMaybeConditional = function(t, e) {
1448
+ O.parseMaybeConditional = function(t, e) {
1449
1449
  var s = this.start, a = this.startLoc, o = this.parseExprOps(t, e);
1450
1450
  if (this.checkExpressionErrors(e))
1451
1451
  return o;
1452
1452
  if (this.eat(u.question)) {
1453
- var l = this.startNodeAt(s, a);
1454
- return l.test = o, l.consequent = this.parseMaybeAssign(), this.expect(u.colon), l.alternate = this.parseMaybeAssign(t), this.finishNode(l, "ConditionalExpression");
1453
+ var p = this.startNodeAt(s, a);
1454
+ return p.test = o, p.consequent = this.parseMaybeAssign(), this.expect(u.colon), p.alternate = this.parseMaybeAssign(t), this.finishNode(p, "ConditionalExpression");
1455
1455
  }
1456
1456
  return o;
1457
1457
  };
1458
- L.parseExprOps = function(t, e) {
1458
+ O.parseExprOps = function(t, e) {
1459
1459
  var s = this.start, a = this.startLoc, o = this.parseMaybeUnary(e, !1, !1, t);
1460
1460
  return this.checkExpressionErrors(e) || o.start === s && o.type === "ArrowFunctionExpression" ? o : this.parseExprOp(o, s, a, -1, t);
1461
1461
  };
1462
- L.parseExprOp = function(t, e, s, a, o) {
1463
- var l = this.type.binop;
1464
- if (l != null && (!o || this.type !== u._in) && l > a) {
1462
+ O.parseExprOp = function(t, e, s, a, o) {
1463
+ var p = this.type.binop;
1464
+ if (p != null && (!o || this.type !== u._in) && p > a) {
1465
1465
  var d = this.type === u.logicalOR || this.type === u.logicalAND, v = this.type === u.coalesce;
1466
- v && (l = u.logicalAND.binop);
1466
+ v && (p = u.logicalAND.binop);
1467
1467
  var g = this.value;
1468
1468
  this.next();
1469
- var h = this.start, C = this.startLoc, _ = this.parseExprOp(this.parseMaybeUnary(null, !1, !1, o), h, C, l, o), j = this.buildBinary(e, s, t, _, g, d || v);
1470
- return (d && this.type === u.coalesce || v && (this.type === u.logicalOR || this.type === u.logicalAND)) && this.raiseRecoverable(this.start, "Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"), this.parseExprOp(j, e, s, a, o);
1469
+ var h = this.start, C = this.startLoc, N = this.parseExprOp(this.parseMaybeUnary(null, !1, !1, o), h, C, p, o), L = this.buildBinary(e, s, t, N, g, d || v);
1470
+ return (d && this.type === u.coalesce || v && (this.type === u.logicalOR || this.type === u.logicalAND)) && this.raiseRecoverable(this.start, "Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"), this.parseExprOp(L, e, s, a, o);
1471
1471
  }
1472
1472
  return t;
1473
1473
  };
1474
- L.buildBinary = function(t, e, s, a, o, l) {
1474
+ O.buildBinary = function(t, e, s, a, o, p) {
1475
1475
  a.type === "PrivateIdentifier" && this.raise(a.start, "Private identifier can only be left side of binary expression");
1476
1476
  var d = this.startNodeAt(t, e);
1477
- return d.left = s, d.operator = o, d.right = a, this.finishNode(d, l ? "LogicalExpression" : "BinaryExpression");
1477
+ return d.left = s, d.operator = o, d.right = a, this.finishNode(d, p ? "LogicalExpression" : "BinaryExpression");
1478
1478
  };
1479
- L.parseMaybeUnary = function(t, e, s, a) {
1480
- var o = this.start, l = this.startLoc, d;
1479
+ O.parseMaybeUnary = function(t, e, s, a) {
1480
+ var o = this.start, p = this.startLoc, d;
1481
1481
  if (this.isContextual("await") && this.canAwait)
1482
1482
  d = this.parseAwait(a), e = !0;
1483
1483
  else if (this.type.prefix) {
@@ -1489,7 +1489,7 @@ L.parseMaybeUnary = function(t, e, s, a) {
1489
1489
  if (d = this.parseExprSubscripts(t, a), this.checkExpressionErrors(t))
1490
1490
  return d;
1491
1491
  for (; this.type.postfix && !this.canInsertSemicolon(); ) {
1492
- var h = this.startNodeAt(o, l);
1492
+ var h = this.startNodeAt(o, p);
1493
1493
  h.operator = this.value, h.prefix = !1, h.argument = d, this.checkLValSimple(d), this.next(), d = this.finishNode(h, "UpdateExpression");
1494
1494
  }
1495
1495
  }
@@ -1497,7 +1497,7 @@ L.parseMaybeUnary = function(t, e, s, a) {
1497
1497
  if (e)
1498
1498
  this.unexpected(this.lastTokStart);
1499
1499
  else
1500
- return this.buildBinary(o, l, d, this.parseMaybeUnary(null, !1, !1, a), "**", !1);
1500
+ return this.buildBinary(o, p, d, this.parseMaybeUnary(null, !1, !1, a), "**", !1);
1501
1501
  else
1502
1502
  return d;
1503
1503
  };
@@ -1507,16 +1507,16 @@ function ei(t) {
1507
1507
  function ye(t) {
1508
1508
  return t.type === "MemberExpression" && t.property.type === "PrivateIdentifier" || t.type === "ChainExpression" && ye(t.expression) || t.type === "ParenthesizedExpression" && ye(t.expression);
1509
1509
  }
1510
- L.parseExprSubscripts = function(t, e) {
1510
+ O.parseExprSubscripts = function(t, e) {
1511
1511
  var s = this.start, a = this.startLoc, o = this.parseExprAtom(t, e);
1512
1512
  if (o.type === "ArrowFunctionExpression" && this.input.slice(this.lastTokStart, this.lastTokEnd) !== ")")
1513
1513
  return o;
1514
- var l = this.parseSubscripts(o, s, a, !1, e);
1515
- return t && l.type === "MemberExpression" && (t.parenthesizedAssign >= l.start && (t.parenthesizedAssign = -1), t.parenthesizedBind >= l.start && (t.parenthesizedBind = -1), t.trailingComma >= l.start && (t.trailingComma = -1)), l;
1514
+ var p = this.parseSubscripts(o, s, a, !1, e);
1515
+ return t && p.type === "MemberExpression" && (t.parenthesizedAssign >= p.start && (t.parenthesizedAssign = -1), t.parenthesizedBind >= p.start && (t.parenthesizedBind = -1), t.trailingComma >= p.start && (t.trailingComma = -1)), p;
1516
1516
  };
1517
- L.parseSubscripts = function(t, e, s, a, o) {
1518
- for (var l = 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; ; ) {
1519
- var v = this.parseSubscript(t, e, s, a, l, d, o);
1517
+ O.parseSubscripts = function(t, e, s, a, o) {
1518
+ for (var p = 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; ; ) {
1519
+ var v = this.parseSubscript(t, e, s, a, p, d, o);
1520
1520
  if (v.optional && (d = !0), v === t || v.type === "ArrowFunctionExpression") {
1521
1521
  if (d) {
1522
1522
  var g = this.startNodeAt(e, s);
@@ -1527,13 +1527,13 @@ L.parseSubscripts = function(t, e, s, a, o) {
1527
1527
  t = v;
1528
1528
  }
1529
1529
  };
1530
- L.shouldParseAsyncArrow = function() {
1530
+ O.shouldParseAsyncArrow = function() {
1531
1531
  return !this.canInsertSemicolon() && this.eat(u.arrow);
1532
1532
  };
1533
- L.parseSubscriptAsyncArrow = function(t, e, s, a) {
1533
+ O.parseSubscriptAsyncArrow = function(t, e, s, a) {
1534
1534
  return this.parseArrowExpression(this.startNodeAt(t, e), s, !0, a);
1535
1535
  };
1536
- L.parseSubscript = function(t, e, s, a, o, l, d) {
1536
+ O.parseSubscript = function(t, e, s, a, o, p, d) {
1537
1537
  var v = this.options.ecmaVersion >= 11, g = v && this.eat(u.questionDot);
1538
1538
  a && g && this.raise(this.lastTokStart, "Optional chaining cannot appear in the callee of new expressions");
1539
1539
  var h = this.eat(u.bracketL);
@@ -1541,22 +1541,22 @@ L.parseSubscript = function(t, e, s, a, o, l, d) {
1541
1541
  var C = this.startNodeAt(e, s);
1542
1542
  C.object = t, h ? (C.property = this.parseExpression(), this.expect(u.bracketR)) : this.type === u.privateId && t.type !== "Super" ? C.property = this.parsePrivateIdent() : C.property = this.parseIdent(this.options.allowReserved !== "never"), C.computed = !!h, v && (C.optional = g), t = this.finishNode(C, "MemberExpression");
1543
1543
  } else if (!a && this.eat(u.parenL)) {
1544
- var _ = new ie(), j = this.yieldPos, B = this.awaitPos, U = this.awaitIdentPos;
1544
+ var N = new ie(), L = this.yieldPos, j = this.awaitPos, U = this.awaitIdentPos;
1545
1545
  this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0;
1546
- var G = this.parseExprList(u.parenR, this.options.ecmaVersion >= 8, !1, _);
1546
+ var X = this.parseExprList(u.parenR, this.options.ecmaVersion >= 8, !1, N);
1547
1547
  if (o && !g && this.shouldParseAsyncArrow())
1548
- return this.checkPatternErrors(_, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = j, this.awaitPos = B, this.awaitIdentPos = U, this.parseSubscriptAsyncArrow(e, s, G, d);
1549
- this.checkExpressionErrors(_, !0), this.yieldPos = j || this.yieldPos, this.awaitPos = B || this.awaitPos, this.awaitIdentPos = U || this.awaitIdentPos;
1550
- var I = this.startNodeAt(e, s);
1551
- I.callee = t, I.arguments = G, v && (I.optional = g), t = this.finishNode(I, "CallExpression");
1548
+ return this.checkPatternErrors(N, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = L, this.awaitPos = j, this.awaitIdentPos = U, this.parseSubscriptAsyncArrow(e, s, X, d);
1549
+ this.checkExpressionErrors(N, !0), this.yieldPos = L || this.yieldPos, this.awaitPos = j || this.awaitPos, this.awaitIdentPos = U || this.awaitIdentPos;
1550
+ var _ = this.startNodeAt(e, s);
1551
+ _.callee = t, _.arguments = X, v && (_.optional = g), t = this.finishNode(_, "CallExpression");
1552
1552
  } else if (this.type === u.backQuote) {
1553
- (g || l) && this.raise(this.start, "Optional chaining cannot appear in the tag of tagged template expressions");
1553
+ (g || p) && this.raise(this.start, "Optional chaining cannot appear in the tag of tagged template expressions");
1554
1554
  var it = this.startNodeAt(e, s);
1555
1555
  it.tag = t, it.quasi = this.parseTemplate({ isTagged: !0 }), t = this.finishNode(it, "TaggedTemplateExpression");
1556
1556
  }
1557
1557
  return t;
1558
1558
  };
1559
- L.parseExprAtom = function(t, e, s) {
1559
+ O.parseExprAtom = function(t, e, s) {
1560
1560
  this.type === u.slash && this.readRegexp();
1561
1561
  var a, o = this.potentialArrowAt === this.start;
1562
1562
  switch (this.type) {
@@ -1565,14 +1565,14 @@ L.parseExprAtom = function(t, e, s) {
1565
1565
  case u._this:
1566
1566
  return a = this.startNode(), this.next(), this.finishNode(a, "ThisExpression");
1567
1567
  case u.name:
1568
- var l = this.start, d = this.startLoc, v = this.containsEsc, g = this.parseIdent(!1);
1568
+ var p = this.start, d = this.startLoc, v = this.containsEsc, g = this.parseIdent(!1);
1569
1569
  if (this.options.ecmaVersion >= 8 && !v && g.name === "async" && !this.canInsertSemicolon() && this.eat(u._function))
1570
- return this.overrideContext(H.f_expr), this.parseFunction(this.startNodeAt(l, d), 0, !1, !0, e);
1570
+ return this.overrideContext(H.f_expr), this.parseFunction(this.startNodeAt(p, d), 0, !1, !0, e);
1571
1571
  if (o && !this.canInsertSemicolon()) {
1572
1572
  if (this.eat(u.arrow))
1573
- return this.parseArrowExpression(this.startNodeAt(l, d), [g], !1, e);
1573
+ return this.parseArrowExpression(this.startNodeAt(p, d), [g], !1, e);
1574
1574
  if (this.options.ecmaVersion >= 8 && g.name === "async" && this.type === u.name && !v && (!this.potentialArrowInForAwait || this.value !== "of" || this.containsEsc))
1575
- return g = this.parseIdent(!1), (this.canInsertSemicolon() || !this.eat(u.arrow)) && this.unexpected(), this.parseArrowExpression(this.startNodeAt(l, d), [g], !0, e);
1575
+ return g = this.parseIdent(!1), (this.canInsertSemicolon() || !this.eat(u.arrow)) && this.unexpected(), this.parseArrowExpression(this.startNodeAt(p, d), [g], !0, e);
1576
1576
  }
1577
1577
  return g;
1578
1578
  case u.regexp:
@@ -1586,8 +1586,8 @@ L.parseExprAtom = function(t, e, s) {
1586
1586
  case u._false:
1587
1587
  return a = this.startNode(), a.value = this.type === u._null ? null : this.type === u._true, a.raw = this.type.keyword, this.next(), this.finishNode(a, "Literal");
1588
1588
  case u.parenL:
1589
- var C = this.start, _ = this.parseParenAndDistinguishExpression(o, e);
1590
- return t && (t.parenthesizedAssign < 0 && !this.isSimpleAssignTarget(_) && (t.parenthesizedAssign = C), t.parenthesizedBind < 0 && (t.parenthesizedBind = C)), _;
1589
+ var C = this.start, N = this.parseParenAndDistinguishExpression(o, e);
1590
+ return t && (t.parenthesizedAssign < 0 && !this.isSimpleAssignTarget(N) && (t.parenthesizedAssign = C), t.parenthesizedBind < 0 && (t.parenthesizedBind = C)), N;
1591
1591
  case u.bracketL:
1592
1592
  return a = this.startNode(), this.next(), a.elements = this.parseExprList(u.bracketR, !0, !0, t), this.finishNode(a, "ArrayExpression");
1593
1593
  case u.braceL:
@@ -1606,10 +1606,10 @@ L.parseExprAtom = function(t, e, s) {
1606
1606
  return this.parseExprAtomDefault();
1607
1607
  }
1608
1608
  };
1609
- L.parseExprAtomDefault = function() {
1609
+ O.parseExprAtomDefault = function() {
1610
1610
  this.unexpected();
1611
1611
  };
1612
- L.parseExprImport = function(t) {
1612
+ O.parseExprImport = function(t) {
1613
1613
  var e = this.startNode();
1614
1614
  if (this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword import"), this.next(), this.type === u.parenL && !t)
1615
1615
  return this.parseDynamicImport(e);
@@ -1619,7 +1619,7 @@ L.parseExprImport = function(t) {
1619
1619
  } else
1620
1620
  this.unexpected();
1621
1621
  };
1622
- L.parseDynamicImport = function(t) {
1622
+ O.parseDynamicImport = function(t) {
1623
1623
  if (this.next(), t.source = this.parseMaybeAssign(), this.options.ecmaVersion >= 16)
1624
1624
  this.eat(u.parenR) ? t.options = null : (this.expect(u.comma), this.afterTrailingComma(u.parenR) ? t.options = null : (t.options = this.parseMaybeAssign(), this.eat(u.parenR) || (this.expect(u.comma), this.afterTrailingComma(u.parenR) || this.unexpected())));
1625
1625
  else if (!this.eat(u.parenR)) {
@@ -1628,30 +1628,30 @@ L.parseDynamicImport = function(t) {
1628
1628
  }
1629
1629
  return this.finishNode(t, "ImportExpression");
1630
1630
  };
1631
- L.parseImportMeta = function(t) {
1631
+ O.parseImportMeta = function(t) {
1632
1632
  this.next();
1633
1633
  var e = this.containsEsc;
1634
1634
  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");
1635
1635
  };
1636
- L.parseLiteral = function(t) {
1636
+ O.parseLiteral = function(t) {
1637
1637
  var e = this.startNode();
1638
1638
  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");
1639
1639
  };
1640
- L.parseParenExpression = function() {
1640
+ O.parseParenExpression = function() {
1641
1641
  this.expect(u.parenL);
1642
1642
  var t = this.parseExpression();
1643
1643
  return this.expect(u.parenR), t;
1644
1644
  };
1645
- L.shouldParseArrow = function(t) {
1645
+ O.shouldParseArrow = function(t) {
1646
1646
  return !this.canInsertSemicolon();
1647
1647
  };
1648
- L.parseParenAndDistinguishExpression = function(t, e) {
1649
- var s = this.start, a = this.startLoc, o, l = this.options.ecmaVersion >= 8;
1648
+ O.parseParenAndDistinguishExpression = function(t, e) {
1649
+ var s = this.start, a = this.startLoc, o, p = this.options.ecmaVersion >= 8;
1650
1650
  if (this.options.ecmaVersion >= 6) {
1651
1651
  this.next();
1652
- var d = this.start, v = this.startLoc, g = [], h = !0, C = !1, _ = new ie(), j = this.yieldPos, B = this.awaitPos, U;
1652
+ var d = this.start, v = this.startLoc, g = [], h = !0, C = !1, N = new ie(), L = this.yieldPos, j = this.awaitPos, U;
1653
1653
  for (this.yieldPos = 0, this.awaitPos = 0; this.type !== u.parenR; )
1654
- if (h ? h = !1 : this.expect(u.comma), l && this.afterTrailingComma(u.parenR, !0)) {
1654
+ if (h ? h = !1 : this.expect(u.comma), p && this.afterTrailingComma(u.parenR, !0)) {
1655
1655
  C = !0;
1656
1656
  break;
1657
1657
  } else if (this.type === u.ellipsis) {
@@ -1661,11 +1661,11 @@ L.parseParenAndDistinguishExpression = function(t, e) {
1661
1661
  );
1662
1662
  break;
1663
1663
  } else
1664
- g.push(this.parseMaybeAssign(!1, _, this.parseParenItem));
1665
- var G = this.lastTokEnd, I = this.lastTokEndLoc;
1664
+ g.push(this.parseMaybeAssign(!1, N, this.parseParenItem));
1665
+ var X = this.lastTokEnd, _ = this.lastTokEndLoc;
1666
1666
  if (this.expect(u.parenR), t && this.shouldParseArrow(g) && this.eat(u.arrow))
1667
- return this.checkPatternErrors(_, !1), this.checkYieldAwaitInDefaultParams(), this.yieldPos = j, this.awaitPos = B, this.parseParenArrowList(s, a, g, e);
1668
- (!g.length || C) && this.unexpected(this.lastTokStart), U && this.unexpected(U), this.checkExpressionErrors(_, !0), this.yieldPos = j || this.yieldPos, this.awaitPos = B || this.awaitPos, g.length > 1 ? (o = this.startNodeAt(d, v), o.expressions = g, this.finishNodeAt(o, "SequenceExpression", G, I)) : o = g[0];
1667
+ return this.checkPatternErrors(N, !1), this.checkYieldAwaitInDefaultParams(), this.yieldPos = L, this.awaitPos = j, this.parseParenArrowList(s, a, g, e);
1668
+ (!g.length || C) && this.unexpected(this.lastTokStart), U && this.unexpected(U), this.checkExpressionErrors(N, !0), this.yieldPos = L || this.yieldPos, this.awaitPos = j || this.awaitPos, g.length > 1 ? (o = this.startNodeAt(d, v), o.expressions = g, this.finishNodeAt(o, "SequenceExpression", X, _)) : o = g[0];
1669
1669
  } else
1670
1670
  o = this.parseParenExpression();
1671
1671
  if (this.options.preserveParens) {
@@ -1674,14 +1674,14 @@ L.parseParenAndDistinguishExpression = function(t, e) {
1674
1674
  } else
1675
1675
  return o;
1676
1676
  };
1677
- L.parseParenItem = function(t) {
1677
+ O.parseParenItem = function(t) {
1678
1678
  return t;
1679
1679
  };
1680
- L.parseParenArrowList = function(t, e, s, a) {
1680
+ O.parseParenArrowList = function(t, e, s, a) {
1681
1681
  return this.parseArrowExpression(this.startNodeAt(t, e), s, !1, a);
1682
1682
  };
1683
1683
  var Xi = [];
1684
- L.parseNew = function() {
1684
+ O.parseNew = function() {
1685
1685
  this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword new");
1686
1686
  var t = this.startNode();
1687
1687
  if (this.next(), this.options.ecmaVersion >= 6 && this.type === u.dot) {
@@ -1693,7 +1693,7 @@ L.parseNew = function() {
1693
1693
  var a = this.start, o = this.startLoc;
1694
1694
  return t.callee = this.parseSubscripts(this.parseExprAtom(null, !1, !0), a, o, !0, !1), this.eat(u.parenL) ? t.arguments = this.parseExprList(u.parenR, this.options.ecmaVersion >= 8, !1) : t.arguments = Xi, this.finishNode(t, "NewExpression");
1695
1695
  };
1696
- L.parseTemplateElement = function(t) {
1696
+ O.parseTemplateElement = function(t) {
1697
1697
  var e = t.isTagged, s = this.startNode();
1698
1698
  return this.type === u.invalidTemplate ? (e || this.raiseRecoverable(this.start, "Bad escape sequence in untagged template literal"), s.value = {
1699
1699
  raw: this.value.replace(/\r\n?/g, `
@@ -1705,7 +1705,7 @@ L.parseTemplateElement = function(t) {
1705
1705
  cooked: this.value
1706
1706
  }, this.next(), s.tail = this.type === u.backQuote, this.finishNode(s, "TemplateElement");
1707
1707
  };
1708
- L.parseTemplate = function(t) {
1708
+ O.parseTemplate = function(t) {
1709
1709
  t === void 0 && (t = {});
1710
1710
  var e = t.isTagged;
1711
1711
  e === void 0 && (e = !1);
@@ -1716,30 +1716,30 @@ L.parseTemplate = function(t) {
1716
1716
  this.type === u.eof && this.raise(this.pos, "Unterminated template literal"), this.expect(u.dollarBraceL), s.expressions.push(this.parseExpression()), this.expect(u.braceR), s.quasis.push(a = this.parseTemplateElement({ isTagged: e }));
1717
1717
  return this.next(), this.finishNode(s, "TemplateLiteral");
1718
1718
  };
1719
- L.isAsyncProp = function(t) {
1719
+ O.isAsyncProp = function(t) {
1720
1720
  return !t.computed && t.key.type === "Identifier" && t.key.name === "async" && (this.type === u.name || this.type === u.num || this.type === u.string || this.type === u.bracketL || this.type.keyword || this.options.ecmaVersion >= 9 && this.type === u.star) && !tt.test(this.input.slice(this.lastTokEnd, this.start));
1721
1721
  };
1722
- L.parseObj = function(t, e) {
1722
+ O.parseObj = function(t, e) {
1723
1723
  var s = this.startNode(), a = !0, o = {};
1724
1724
  for (s.properties = [], this.next(); !this.eat(u.braceR); ) {
1725
1725
  if (a)
1726
1726
  a = !1;
1727
1727
  else if (this.expect(u.comma), this.options.ecmaVersion >= 5 && this.afterTrailingComma(u.braceR))
1728
1728
  break;
1729
- var l = this.parseProperty(t, e);
1730
- t || this.checkPropClash(l, o, e), s.properties.push(l);
1729
+ var p = this.parseProperty(t, e);
1730
+ t || this.checkPropClash(p, o, e), s.properties.push(p);
1731
1731
  }
1732
1732
  return this.finishNode(s, t ? "ObjectPattern" : "ObjectExpression");
1733
1733
  };
1734
- L.parseProperty = function(t, e) {
1735
- var s = this.startNode(), a, o, l, d;
1734
+ O.parseProperty = function(t, e) {
1735
+ var s = this.startNode(), a, o, p, d;
1736
1736
  if (this.options.ecmaVersion >= 9 && this.eat(u.ellipsis))
1737
1737
  return t ? (s.argument = this.parseIdent(!1), this.type === u.comma && this.raiseRecoverable(this.start, "Comma is not permitted after the rest element"), this.finishNode(s, "RestElement")) : (s.argument = this.parseMaybeAssign(!1, e), this.type === u.comma && e && e.trailingComma < 0 && (e.trailingComma = this.start), this.finishNode(s, "SpreadElement"));
1738
- this.options.ecmaVersion >= 6 && (s.method = !1, s.shorthand = !1, (t || e) && (l = this.start, d = this.startLoc), t || (a = this.eat(u.star)));
1738
+ this.options.ecmaVersion >= 6 && (s.method = !1, s.shorthand = !1, (t || e) && (p = this.start, d = this.startLoc), t || (a = this.eat(u.star)));
1739
1739
  var v = this.containsEsc;
1740
- return this.parsePropertyName(s), !t && !v && this.options.ecmaVersion >= 8 && !a && this.isAsyncProp(s) ? (o = !0, a = this.options.ecmaVersion >= 9 && this.eat(u.star), this.parsePropertyName(s)) : o = !1, this.parsePropertyValue(s, t, a, o, l, d, e, v), this.finishNode(s, "Property");
1740
+ return this.parsePropertyName(s), !t && !v && this.options.ecmaVersion >= 8 && !a && this.isAsyncProp(s) ? (o = !0, a = this.options.ecmaVersion >= 9 && this.eat(u.star), this.parsePropertyName(s)) : o = !1, this.parsePropertyValue(s, t, a, o, p, d, e, v), this.finishNode(s, "Property");
1741
1741
  };
1742
- L.parseGetterSetter = function(t) {
1742
+ O.parseGetterSetter = function(t) {
1743
1743
  var e = t.key.name;
1744
1744
  this.parsePropertyName(t), t.value = this.parseMethod(!1), t.kind = e;
1745
1745
  var s = t.kind === "get" ? 0 : 1;
@@ -1749,10 +1749,10 @@ L.parseGetterSetter = function(t) {
1749
1749
  } else
1750
1750
  t.kind === "set" && t.value.params[0].type === "RestElement" && this.raiseRecoverable(t.value.params[0].start, "Setter cannot use rest params");
1751
1751
  };
1752
- L.parsePropertyValue = function(t, e, s, a, o, l, d, v) {
1753
- (s || a) && this.type === u.colon && this.unexpected(), this.eat(u.colon) ? (t.value = e ? this.parseMaybeDefault(this.start, this.startLoc) : this.parseMaybeAssign(!1, d), t.kind = "init") : this.options.ecmaVersion >= 6 && this.type === u.parenL ? (e && this.unexpected(), t.method = !0, t.value = this.parseMethod(s, 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 !== u.comma && this.type !== u.braceR && this.type !== u.eq ? ((s || a) && this.unexpected(), this.parseGetterSetter(t)) : this.options.ecmaVersion >= 6 && !t.computed && t.key.type === "Identifier" ? ((s || a) && this.unexpected(), this.checkUnreserved(t.key), t.key.name === "await" && !this.awaitIdentPos && (this.awaitIdentPos = o), e ? t.value = this.parseMaybeDefault(o, l, this.copyNode(t.key)) : this.type === u.eq && d ? (d.shorthandAssign < 0 && (d.shorthandAssign = this.start), t.value = this.parseMaybeDefault(o, l, this.copyNode(t.key))) : t.value = this.copyNode(t.key), t.kind = "init", t.shorthand = !0) : this.unexpected();
1752
+ O.parsePropertyValue = function(t, e, s, a, o, p, d, v) {
1753
+ (s || a) && this.type === u.colon && this.unexpected(), this.eat(u.colon) ? (t.value = e ? this.parseMaybeDefault(this.start, this.startLoc) : this.parseMaybeAssign(!1, d), t.kind = "init") : this.options.ecmaVersion >= 6 && this.type === u.parenL ? (e && this.unexpected(), t.method = !0, t.value = this.parseMethod(s, 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 !== u.comma && this.type !== u.braceR && this.type !== u.eq ? ((s || a) && this.unexpected(), this.parseGetterSetter(t)) : this.options.ecmaVersion >= 6 && !t.computed && t.key.type === "Identifier" ? ((s || a) && this.unexpected(), this.checkUnreserved(t.key), t.key.name === "await" && !this.awaitIdentPos && (this.awaitIdentPos = o), e ? t.value = this.parseMaybeDefault(o, p, this.copyNode(t.key)) : this.type === u.eq && d ? (d.shorthandAssign < 0 && (d.shorthandAssign = this.start), t.value = this.parseMaybeDefault(o, p, this.copyNode(t.key))) : t.value = this.copyNode(t.key), t.kind = "init", t.shorthand = !0) : this.unexpected();
1754
1754
  };
1755
- L.parsePropertyName = function(t) {
1755
+ O.parsePropertyName = function(t) {
1756
1756
  if (this.options.ecmaVersion >= 6) {
1757
1757
  if (this.eat(u.bracketL))
1758
1758
  return t.computed = !0, t.key = this.parseMaybeAssign(), this.expect(u.bracketR), t.key;
@@ -1760,30 +1760,30 @@ L.parsePropertyName = function(t) {
1760
1760
  }
1761
1761
  return t.key = this.type === u.num || this.type === u.string ? this.parseExprAtom() : this.parseIdent(this.options.allowReserved !== "never");
1762
1762
  };
1763
- L.initFunction = function(t) {
1763
+ O.initFunction = function(t) {
1764
1764
  t.id = null, this.options.ecmaVersion >= 6 && (t.generator = t.expression = !1), this.options.ecmaVersion >= 8 && (t.async = !1);
1765
1765
  };
1766
- L.parseMethod = function(t, e, s) {
1767
- var a = this.startNode(), o = this.yieldPos, l = this.awaitPos, d = this.awaitIdentPos;
1768
- 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(Pe(e, a.generator) | te | (s ? Xe : 0)), this.expect(u.parenL), a.params = this.parseBindingList(u.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams(), this.parseFunctionBody(a, !1, !0, !1), this.yieldPos = o, this.awaitPos = l, this.awaitIdentPos = d, this.finishNode(a, "FunctionExpression");
1766
+ O.parseMethod = function(t, e, s) {
1767
+ var a = this.startNode(), o = this.yieldPos, p = this.awaitPos, d = this.awaitIdentPos;
1768
+ 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(Pe(e, a.generator) | te | (s ? Xe : 0)), this.expect(u.parenL), a.params = this.parseBindingList(u.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams(), this.parseFunctionBody(a, !1, !0, !1), this.yieldPos = o, this.awaitPos = p, this.awaitIdentPos = d, this.finishNode(a, "FunctionExpression");
1769
1769
  };
1770
- L.parseArrowExpression = function(t, e, s, a) {
1771
- var o = this.yieldPos, l = this.awaitPos, d = this.awaitIdentPos;
1772
- return this.enterScope(Pe(s, !1) | Te), this.initFunction(t), this.options.ecmaVersion >= 8 && (t.async = !!s), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, t.params = this.toAssignableList(e, !0), this.parseFunctionBody(t, !0, !1, a), this.yieldPos = o, this.awaitPos = l, this.awaitIdentPos = d, this.finishNode(t, "ArrowFunctionExpression");
1770
+ O.parseArrowExpression = function(t, e, s, a) {
1771
+ var o = this.yieldPos, p = this.awaitPos, d = this.awaitIdentPos;
1772
+ return this.enterScope(Pe(s, !1) | Te), this.initFunction(t), this.options.ecmaVersion >= 8 && (t.async = !!s), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, t.params = this.toAssignableList(e, !0), this.parseFunctionBody(t, !0, !1, a), this.yieldPos = o, this.awaitPos = p, this.awaitIdentPos = d, this.finishNode(t, "ArrowFunctionExpression");
1773
1773
  };
1774
- L.parseFunctionBody = function(t, e, s, a) {
1775
- var o = e && this.type !== u.braceL, l = this.strict, d = !1;
1774
+ O.parseFunctionBody = function(t, e, s, a) {
1775
+ var o = e && this.type !== u.braceL, p = this.strict, d = !1;
1776
1776
  if (o)
1777
1777
  t.body = this.parseMaybeAssign(a), t.expression = !0, this.checkParams(t, !1);
1778
1778
  else {
1779
1779
  var v = this.options.ecmaVersion >= 7 && !this.isSimpleParamList(t.params);
1780
- (!l || v) && (d = this.strictDirective(this.end), d && v && this.raiseRecoverable(t.start, "Illegal 'use strict' directive in function with non-simple parameter list"));
1780
+ (!p || v) && (d = this.strictDirective(this.end), d && v && this.raiseRecoverable(t.start, "Illegal 'use strict' directive in function with non-simple parameter list"));
1781
1781
  var g = this.labels;
1782
- this.labels = [], d && (this.strict = !0), this.checkParams(t, !l && !d && !e && !s && this.isSimpleParamList(t.params)), this.strict && t.id && this.checkLValSimple(t.id, Ze), t.body = this.parseBlock(!1, void 0, d && !l), t.expression = !1, this.adaptDirectivePrologue(t.body.body), this.labels = g;
1782
+ this.labels = [], d && (this.strict = !0), this.checkParams(t, !p && !d && !e && !s && this.isSimpleParamList(t.params)), this.strict && t.id && this.checkLValSimple(t.id, Ze), t.body = this.parseBlock(!1, void 0, d && !p), t.expression = !1, this.adaptDirectivePrologue(t.body.body), this.labels = g;
1783
1783
  }
1784
1784
  this.exitScope();
1785
1785
  };
1786
- L.isSimpleParamList = function(t) {
1786
+ O.isSimpleParamList = function(t) {
1787
1787
  for (var e = 0, s = t; e < s.length; e += 1) {
1788
1788
  var a = s[e];
1789
1789
  if (a.type !== "Identifier")
@@ -1791,16 +1791,16 @@ L.isSimpleParamList = function(t) {
1791
1791
  }
1792
1792
  return !0;
1793
1793
  };
1794
- L.checkParams = function(t, e) {
1794
+ O.checkParams = function(t, e) {
1795
1795
  for (var s = /* @__PURE__ */ Object.create(null), a = 0, o = t.params; a < o.length; a += 1) {
1796
- var l = o[a];
1797
- this.checkLValInnerPattern(l, Ce, e ? null : s);
1796
+ var p = o[a];
1797
+ this.checkLValInnerPattern(p, Ce, e ? null : s);
1798
1798
  }
1799
1799
  };
1800
- L.parseExprList = function(t, e, s, a) {
1801
- for (var o = [], l = !0; !this.eat(t); ) {
1802
- if (l)
1803
- l = !1;
1800
+ O.parseExprList = function(t, e, s, a) {
1801
+ for (var o = [], p = !0; !this.eat(t); ) {
1802
+ if (p)
1803
+ p = !1;
1804
1804
  else if (this.expect(u.comma), e && this.afterTrailingComma(t))
1805
1805
  break;
1806
1806
  var d = void 0;
@@ -1808,31 +1808,31 @@ L.parseExprList = function(t, e, s, a) {
1808
1808
  }
1809
1809
  return o;
1810
1810
  };
1811
- L.checkUnreserved = function(t) {
1811
+ O.checkUnreserved = function(t) {
1812
1812
  var e = t.start, s = t.end, a = t.name;
1813
1813
  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 & ee) && 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, s).indexOf("\\") !== -1)) {
1814
1814
  var o = this.strict ? this.reservedWordsStrict : this.reservedWords;
1815
1815
  o.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"));
1816
1816
  }
1817
1817
  };
1818
- L.parseIdent = function(t) {
1818
+ O.parseIdent = function(t) {
1819
1819
  var e = this.parseIdentNode();
1820
1820
  return this.next(!!t), this.finishNode(e, "Identifier"), t || (this.checkUnreserved(e), e.name === "await" && !this.awaitIdentPos && (this.awaitIdentPos = e.start)), e;
1821
1821
  };
1822
- L.parseIdentNode = function() {
1822
+ O.parseIdentNode = function() {
1823
1823
  var t = this.startNode();
1824
1824
  return this.type === u.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 = u.name) : this.unexpected(), t;
1825
1825
  };
1826
- L.parsePrivateIdent = function() {
1826
+ O.parsePrivateIdent = function() {
1827
1827
  var t = this.startNode();
1828
1828
  return this.type === u.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;
1829
1829
  };
1830
- L.parseYield = function(t) {
1830
+ O.parseYield = function(t) {
1831
1831
  this.yieldPos || (this.yieldPos = this.start);
1832
1832
  var e = this.startNode();
1833
1833
  return this.next(), this.type === u.semi || this.canInsertSemicolon() || this.type !== u.star && !this.type.startsExpr ? (e.delegate = !1, e.argument = null) : (e.delegate = this.eat(u.star), e.argument = this.parseMaybeAssign(t)), this.finishNode(e, "YieldExpression");
1834
1834
  };
1835
- L.parseAwait = function(t) {
1835
+ O.parseAwait = function(t) {
1836
1836
  this.awaitPos || (this.awaitPos = this.start);
1837
1837
  var e = this.startNode();
1838
1838
  return this.next(), e.argument = this.parseMaybeUnary(null, !0, !1, t), this.finishNode(e, "AwaitExpression");
@@ -1867,8 +1867,8 @@ Tt.declareName = function(t, e, s) {
1867
1867
  var o = this.currentScope();
1868
1868
  a = o.lexical.indexOf(t) > -1 || o.functions.indexOf(t) > -1 || o.var.indexOf(t) > -1, o.lexical.push(t), this.inModule && o.flags & Bt && delete this.undefinedExports[t];
1869
1869
  } else if (e === Ye) {
1870
- var l = this.currentScope();
1871
- l.lexical.push(t);
1870
+ var p = this.currentScope();
1871
+ p.lexical.push(t);
1872
1872
  } else if (e === Qe) {
1873
1873
  var d = this.currentScope();
1874
1874
  this.treatFunctionsAsVar ? a = d.lexical.indexOf(t) > -1 : a = d.lexical.indexOf(t) > -1 || d.var.indexOf(t) > -1, d.functions.push(t);
@@ -1982,8 +1982,8 @@ var dt = function(e) {
1982
1982
  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 = fi[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;
1983
1983
  };
1984
1984
  dt.prototype.reset = function(e, s, a) {
1985
- var o = a.indexOf("v") !== -1, l = a.indexOf("u") !== -1;
1986
- this.start = e | 0, this.source = s + "", this.flags = a, o && this.parser.options.ecmaVersion >= 15 ? (this.switchU = !0, this.switchV = !0, this.switchN = !0) : (this.switchU = l && this.parser.options.ecmaVersion >= 6, this.switchV = !1, this.switchN = l && this.parser.options.ecmaVersion >= 9);
1985
+ var o = a.indexOf("v") !== -1, p = a.indexOf("u") !== -1;
1986
+ this.start = e | 0, this.source = s + "", this.flags = a, o && this.parser.options.ecmaVersion >= 15 ? (this.switchU = !0, this.switchV = !0, this.switchN = !0) : (this.switchU = p && this.parser.options.ecmaVersion >= 6, this.switchV = !1, this.switchN = p && this.parser.options.ecmaVersion >= 9);
1987
1987
  };
1988
1988
  dt.prototype.raise = function(e) {
1989
1989
  this.parser.raiseRecoverable(this.start, "Invalid regular expression: /" + this.source + "/: " + e);
@@ -1993,19 +1993,19 @@ dt.prototype.at = function(e, s) {
1993
1993
  var a = this.source, o = a.length;
1994
1994
  if (e >= o)
1995
1995
  return -1;
1996
- var l = a.charCodeAt(e);
1997
- if (!(s || this.switchU) || l <= 55295 || l >= 57344 || e + 1 >= o)
1998
- return l;
1996
+ var p = a.charCodeAt(e);
1997
+ if (!(s || this.switchU) || p <= 55295 || p >= 57344 || e + 1 >= o)
1998
+ return p;
1999
1999
  var d = a.charCodeAt(e + 1);
2000
- return d >= 56320 && d <= 57343 ? (l << 10) + d - 56613888 : l;
2000
+ return d >= 56320 && d <= 57343 ? (p << 10) + d - 56613888 : p;
2001
2001
  };
2002
2002
  dt.prototype.nextIndex = function(e, s) {
2003
2003
  s === void 0 && (s = !1);
2004
2004
  var a = this.source, o = a.length;
2005
2005
  if (e >= o)
2006
2006
  return o;
2007
- var l = a.charCodeAt(e), d;
2008
- return !(s || this.switchU) || l <= 55295 || l >= 57344 || e + 1 >= o || (d = a.charCodeAt(e + 1)) < 56320 || d > 57343 ? e + 1 : e + 2;
2007
+ var p = a.charCodeAt(e), d;
2008
+ return !(s || this.switchU) || p <= 55295 || p >= 57344 || e + 1 >= o || (d = a.charCodeAt(e + 1)) < 56320 || d > 57343 ? e + 1 : e + 2;
2009
2009
  };
2010
2010
  dt.prototype.current = function(e) {
2011
2011
  return e === void 0 && (e = !1), this.at(this.pos, e);
@@ -2021,8 +2021,8 @@ dt.prototype.eat = function(e, s) {
2021
2021
  };
2022
2022
  dt.prototype.eatChars = function(e, s) {
2023
2023
  s === void 0 && (s = !1);
2024
- for (var a = this.pos, o = 0, l = e; o < l.length; o += 1) {
2025
- var d = l[o], v = this.at(a, s);
2024
+ for (var a = this.pos, o = 0, p = e; o < p.length; o += 1) {
2025
+ var d = p[o], v = this.at(a, s);
2026
2026
  if (v === -1 || v !== d)
2027
2027
  return !1;
2028
2028
  a = this.nextIndex(a, s);
@@ -2030,9 +2030,9 @@ dt.prototype.eatChars = function(e, s) {
2030
2030
  return this.pos = a, !0;
2031
2031
  };
2032
2032
  k.validateRegExpFlags = function(t) {
2033
- for (var e = t.validFlags, s = t.flags, a = !1, o = !1, l = 0; l < s.length; l++) {
2034
- var d = s.charAt(l);
2035
- e.indexOf(d) === -1 && this.raise(t.start, "Invalid regular expression flag"), s.indexOf(d, l + 1) > -1 && this.raise(t.start, "Duplicate regular expression flag"), d === "u" && (a = !0), d === "v" && (o = !0);
2033
+ for (var e = t.validFlags, s = t.flags, a = !1, o = !1, p = 0; p < s.length; p++) {
2034
+ var d = s.charAt(p);
2035
+ e.indexOf(d) === -1 && this.raise(t.start, "Invalid regular expression flag"), s.indexOf(d, p + 1) > -1 && this.raise(t.start, "Duplicate regular expression flag"), d === "u" && (a = !0), d === "v" && (o = !0);
2036
2036
  }
2037
2037
  this.options.ecmaVersion >= 15 && a && o && this.raise(t.start, "Invalid regular expression flag");
2038
2038
  };
@@ -2200,8 +2200,8 @@ k.regexp_eatUncapturingGroup = function(t) {
2200
2200
  );
2201
2201
  if (s || a) {
2202
2202
  for (var o = 0; o < s.length; o++) {
2203
- var l = s.charAt(o);
2204
- s.indexOf(l, o + 1) > -1 && t.raise("Duplicate regular expression modifiers");
2203
+ var p = s.charAt(o);
2204
+ s.indexOf(p, o + 1) > -1 && t.raise("Duplicate regular expression modifiers");
2205
2205
  }
2206
2206
  if (a) {
2207
2207
  var d = this.regexp_eatModifiers(t);
@@ -2286,8 +2286,8 @@ k.regexp_groupSpecifier = function(t) {
2286
2286
  if (s)
2287
2287
  if (e)
2288
2288
  for (var a = 0, o = s; a < o.length; a += 1) {
2289
- var l = o[a];
2290
- l.separatedFrom(t.branchID) || t.raise("Duplicate capture group name");
2289
+ var p = o[a];
2290
+ p.separatedFrom(t.branchID) || t.raise("Duplicate capture group name");
2291
2291
  }
2292
2292
  else
2293
2293
  t.raise("Duplicate capture group name");
@@ -2395,7 +2395,7 @@ k.regexp_eatRegExpUnicodeEscapeSequence = function(t, e) {
2395
2395
  if (this.regexp_eatFixedHexDigits(t, 4)) {
2396
2396
  var o = t.lastIntValue;
2397
2397
  if (a && o >= 55296 && o <= 56319) {
2398
- var l = t.pos;
2398
+ var p = t.pos;
2399
2399
  if (t.eat(
2400
2400
  92
2401
2401
  /* \ */
@@ -2407,7 +2407,7 @@ k.regexp_eatRegExpUnicodeEscapeSequence = function(t, e) {
2407
2407
  if (d >= 56320 && d <= 57343)
2408
2408
  return t.lastIntValue = (o - 55296) * 1024 + (d - 56320) + 65536, !0;
2409
2409
  }
2410
- t.pos = l, t.lastIntValue = o;
2410
+ t.pos = p, t.lastIntValue = o;
2411
2411
  }
2412
2412
  return !0;
2413
2413
  }
@@ -2797,14 +2797,14 @@ k.regexp_eatFixedHexDigits = function(t, e) {
2797
2797
  };
2798
2798
  var re = function(e) {
2799
2799
  this.type = e.type, this.value = e.value, this.start = e.start, this.end = e.end, e.options.locations && (this.loc = new jt(e, e.startLoc, e.endLoc)), e.options.ranges && (this.range = [e.start, e.end]);
2800
- }, D = J.prototype;
2801
- D.next = function(t) {
2800
+ }, V = J.prototype;
2801
+ V.next = function(t) {
2802
2802
  !t && this.type.keyword && this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword " + this.type.keyword), this.options.onToken && this.options.onToken(new re(this)), this.lastTokEnd = this.end, this.lastTokStart = this.start, this.lastTokEndLoc = this.endLoc, this.lastTokStartLoc = this.startLoc, this.nextToken();
2803
2803
  };
2804
- D.getToken = function() {
2804
+ V.getToken = function() {
2805
2805
  return this.next(), new re(this);
2806
2806
  };
2807
- typeof Symbol < "u" && (D[Symbol.iterator] = function() {
2807
+ typeof Symbol < "u" && (V[Symbol.iterator] = function() {
2808
2808
  var t = this;
2809
2809
  return {
2810
2810
  next: function() {
@@ -2816,7 +2816,7 @@ typeof Symbol < "u" && (D[Symbol.iterator] = function() {
2816
2816
  }
2817
2817
  };
2818
2818
  });
2819
- D.nextToken = function() {
2819
+ V.nextToken = function() {
2820
2820
  var t = this.curContext();
2821
2821
  if ((!t || !t.preserveSpace) && this.skipSpace(), this.start = this.pos, this.options.locations && (this.startLoc = this.curPosition()), this.pos >= this.input.length)
2822
2822
  return this.finishToken(u.eof);
@@ -2824,17 +2824,17 @@ D.nextToken = function() {
2824
2824
  return t.override(this);
2825
2825
  this.readToken(this.fullCharCodeAtPos());
2826
2826
  };
2827
- D.readToken = function(t) {
2827
+ V.readToken = function(t) {
2828
2828
  return lt(t, this.options.ecmaVersion >= 6) || t === 92 ? this.readWord() : this.getTokenFromCode(t);
2829
2829
  };
2830
- D.fullCharCodeAtPos = function() {
2830
+ V.fullCharCodeAtPos = function() {
2831
2831
  var t = this.input.charCodeAt(this.pos);
2832
2832
  if (t <= 55295 || t >= 56320)
2833
2833
  return t;
2834
2834
  var e = this.input.charCodeAt(this.pos + 1);
2835
2835
  return e <= 56319 || e >= 57344 ? t : (t << 10) + e - 56613888;
2836
2836
  };
2837
- D.skipBlockComment = function() {
2837
+ V.skipBlockComment = function() {
2838
2838
  var t = this.options.onComment && this.curPosition(), e = this.pos, s = this.input.indexOf("*/", this.pos += 2);
2839
2839
  if (s === -1 && this.raise(this.pos - 2, "Unterminated comment"), this.pos = s + 2, this.options.locations)
2840
2840
  for (var a = void 0, o = e; (a = Ke(this.input, o, this.pos)) > -1; )
@@ -2848,7 +2848,7 @@ D.skipBlockComment = function() {
2848
2848
  this.curPosition()
2849
2849
  );
2850
2850
  };
2851
- D.skipLineComment = function(t) {
2851
+ V.skipLineComment = function(t) {
2852
2852
  for (var e = this.pos, s = this.options.onComment && this.curPosition(), a = this.input.charCodeAt(this.pos += t); this.pos < this.input.length && !Ct(a); )
2853
2853
  a = this.input.charCodeAt(++this.pos);
2854
2854
  this.options.onComment && this.options.onComment(
@@ -2860,7 +2860,7 @@ D.skipLineComment = function(t) {
2860
2860
  this.curPosition()
2861
2861
  );
2862
2862
  };
2863
- D.skipSpace = function() {
2863
+ V.skipSpace = function() {
2864
2864
  t: for (; this.pos < this.input.length; ) {
2865
2865
  var t = this.input.charCodeAt(this.pos);
2866
2866
  switch (t) {
@@ -2895,27 +2895,27 @@ D.skipSpace = function() {
2895
2895
  }
2896
2896
  }
2897
2897
  };
2898
- D.finishToken = function(t, e) {
2898
+ V.finishToken = function(t, e) {
2899
2899
  this.end = this.pos, this.options.locations && (this.endLoc = this.curPosition());
2900
2900
  var s = this.type;
2901
2901
  this.type = t, this.value = e, this.updateContext(s);
2902
2902
  };
2903
- D.readToken_dot = function() {
2903
+ V.readToken_dot = function() {
2904
2904
  var t = this.input.charCodeAt(this.pos + 1);
2905
2905
  if (t >= 48 && t <= 57)
2906
2906
  return this.readNumber(!0);
2907
2907
  var e = this.input.charCodeAt(this.pos + 2);
2908
2908
  return this.options.ecmaVersion >= 6 && t === 46 && e === 46 ? (this.pos += 3, this.finishToken(u.ellipsis)) : (++this.pos, this.finishToken(u.dot));
2909
2909
  };
2910
- D.readToken_slash = function() {
2910
+ V.readToken_slash = function() {
2911
2911
  var t = this.input.charCodeAt(this.pos + 1);
2912
2912
  return this.exprAllowed ? (++this.pos, this.readRegexp()) : t === 61 ? this.finishOp(u.assign, 2) : this.finishOp(u.slash, 1);
2913
2913
  };
2914
- D.readToken_mult_modulo_exp = function(t) {
2914
+ V.readToken_mult_modulo_exp = function(t) {
2915
2915
  var e = this.input.charCodeAt(this.pos + 1), s = 1, a = t === 42 ? u.star : u.modulo;
2916
2916
  return this.options.ecmaVersion >= 7 && t === 42 && e === 42 && (++s, a = u.starstar, e = this.input.charCodeAt(this.pos + 2)), e === 61 ? this.finishOp(u.assign, s + 1) : this.finishOp(a, s);
2917
2917
  };
2918
- D.readToken_pipe_amp = function(t) {
2918
+ V.readToken_pipe_amp = function(t) {
2919
2919
  var e = this.input.charCodeAt(this.pos + 1);
2920
2920
  if (e === t) {
2921
2921
  if (this.options.ecmaVersion >= 12) {
@@ -2927,23 +2927,23 @@ D.readToken_pipe_amp = function(t) {
2927
2927
  }
2928
2928
  return e === 61 ? this.finishOp(u.assign, 2) : this.finishOp(t === 124 ? u.bitwiseOR : u.bitwiseAND, 1);
2929
2929
  };
2930
- D.readToken_caret = function() {
2930
+ V.readToken_caret = function() {
2931
2931
  var t = this.input.charCodeAt(this.pos + 1);
2932
2932
  return t === 61 ? this.finishOp(u.assign, 2) : this.finishOp(u.bitwiseXOR, 1);
2933
2933
  };
2934
- D.readToken_plus_min = function(t) {
2934
+ V.readToken_plus_min = function(t) {
2935
2935
  var e = this.input.charCodeAt(this.pos + 1);
2936
2936
  return e === t ? e === 45 && !this.inModule && this.input.charCodeAt(this.pos + 2) === 62 && (this.lastTokEnd === 0 || tt.test(this.input.slice(this.lastTokEnd, this.pos))) ? (this.skipLineComment(3), this.skipSpace(), this.nextToken()) : this.finishOp(u.incDec, 2) : e === 61 ? this.finishOp(u.assign, 2) : this.finishOp(u.plusMin, 1);
2937
2937
  };
2938
- D.readToken_lt_gt = function(t) {
2938
+ V.readToken_lt_gt = function(t) {
2939
2939
  var e = this.input.charCodeAt(this.pos + 1), s = 1;
2940
2940
  return e === t ? (s = t === 62 && this.input.charCodeAt(this.pos + 2) === 62 ? 3 : 2, this.input.charCodeAt(this.pos + s) === 61 ? this.finishOp(u.assign, s + 1) : this.finishOp(u.bitShift, s)) : 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 && (s = 2), this.finishOp(u.relational, s));
2941
2941
  };
2942
- D.readToken_eq_excl = function(t) {
2942
+ V.readToken_eq_excl = function(t) {
2943
2943
  var e = this.input.charCodeAt(this.pos + 1);
2944
2944
  return e === 61 ? this.finishOp(u.equality, this.input.charCodeAt(this.pos + 2) === 61 ? 3 : 2) : t === 61 && e === 62 && this.options.ecmaVersion >= 6 ? (this.pos += 2, this.finishToken(u.arrow)) : this.finishOp(t === 61 ? u.eq : u.prefix, 1);
2945
2945
  };
2946
- D.readToken_question = function() {
2946
+ V.readToken_question = function() {
2947
2947
  var t = this.options.ecmaVersion;
2948
2948
  if (t >= 11) {
2949
2949
  var e = this.input.charCodeAt(this.pos + 1);
@@ -2963,13 +2963,13 @@ D.readToken_question = function() {
2963
2963
  }
2964
2964
  return this.finishOp(u.question, 1);
2965
2965
  };
2966
- D.readToken_numberSign = function() {
2966
+ V.readToken_numberSign = function() {
2967
2967
  var t = this.options.ecmaVersion, e = 35;
2968
2968
  if (t >= 13 && (++this.pos, e = this.fullCharCodeAtPos(), lt(e, !0) || e === 92))
2969
2969
  return this.finishToken(u.privateId, this.readWord1());
2970
2970
  this.raise(this.pos, "Unexpected character '" + yt(e) + "'");
2971
2971
  };
2972
- D.getTokenFromCode = function(t) {
2972
+ V.getTokenFromCode = function(t) {
2973
2973
  switch (t) {
2974
2974
  // The interpretation of a dot depends on whether it is followed
2975
2975
  // by a digit or another two dots.
@@ -3056,11 +3056,11 @@ D.getTokenFromCode = function(t) {
3056
3056
  }
3057
3057
  this.raise(this.pos, "Unexpected character '" + yt(t) + "'");
3058
3058
  };
3059
- D.finishOp = function(t, e) {
3059
+ V.finishOp = function(t, e) {
3060
3060
  var s = this.input.slice(this.pos, this.pos + e);
3061
3061
  return this.pos += e, this.finishToken(t, s);
3062
3062
  };
3063
- D.readRegexp = function() {
3063
+ V.readRegexp = function() {
3064
3064
  for (var t, e, s = this.pos; ; ) {
3065
3065
  this.pos >= this.input.length && this.raise(s, "Unterminated regular expression");
3066
3066
  var a = this.input.charAt(this.pos);
@@ -3079,8 +3079,8 @@ D.readRegexp = function() {
3079
3079
  }
3080
3080
  var o = this.input.slice(s, this.pos);
3081
3081
  ++this.pos;
3082
- var l = this.pos, d = this.readWord1();
3083
- this.containsEsc && this.unexpected(l);
3082
+ var p = this.pos, d = this.readWord1();
3083
+ this.containsEsc && this.unexpected(p);
3084
3084
  var v = this.regexpState || (this.regexpState = new dt(this));
3085
3085
  v.reset(s, o, d), this.validateRegExpFlags(v), this.validateRegExpPattern(v);
3086
3086
  var g = null;
@@ -3090,18 +3090,18 @@ D.readRegexp = function() {
3090
3090
  }
3091
3091
  return this.finishToken(u.regexp, { pattern: o, flags: d, value: g });
3092
3092
  };
3093
- D.readInt = function(t, e, s) {
3094
- for (var a = this.options.ecmaVersion >= 12 && e === void 0, o = s && this.input.charCodeAt(this.pos) === 48, l = this.pos, d = 0, v = 0, g = 0, h = e ?? 1 / 0; g < h; ++g, ++this.pos) {
3095
- var C = this.input.charCodeAt(this.pos), _ = void 0;
3093
+ V.readInt = function(t, e, s) {
3094
+ for (var a = this.options.ecmaVersion >= 12 && e === void 0, o = s && this.input.charCodeAt(this.pos) === 48, p = this.pos, d = 0, v = 0, g = 0, h = e ?? 1 / 0; g < h; ++g, ++this.pos) {
3095
+ var C = this.input.charCodeAt(this.pos), N = void 0;
3096
3096
  if (a && C === 95) {
3097
3097
  o && 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 = C;
3098
3098
  continue;
3099
3099
  }
3100
- if (C >= 97 ? _ = C - 97 + 10 : C >= 65 ? _ = C - 65 + 10 : C >= 48 && C <= 57 ? _ = C - 48 : _ = 1 / 0, _ >= t)
3100
+ if (C >= 97 ? N = C - 97 + 10 : C >= 65 ? N = C - 65 + 10 : C >= 48 && C <= 57 ? N = C - 48 : N = 1 / 0, N >= t)
3101
3101
  break;
3102
- v = C, d = d * t + _;
3102
+ v = C, d = d * t + N;
3103
3103
  }
3104
- return a && v === 95 && this.raiseRecoverable(this.pos - 1, "Numeric separator is not allowed at the last of digits"), this.pos === l || e != null && this.pos - l !== e ? null : d;
3104
+ return a && v === 95 && this.raiseRecoverable(this.pos - 1, "Numeric separator is not allowed at the last of digits"), this.pos === p || e != null && this.pos - p !== e ? null : d;
3105
3105
  };
3106
3106
  function xs(t, e) {
3107
3107
  return e ? parseInt(t, 8) : parseFloat(t.replace(/_/g, ""));
@@ -3109,13 +3109,13 @@ function xs(t, e) {
3109
3109
  function Si(t) {
3110
3110
  return typeof BigInt != "function" ? null : BigInt(t.replace(/_/g, ""));
3111
3111
  }
3112
- D.readRadixNumber = function(t) {
3112
+ V.readRadixNumber = function(t) {
3113
3113
  var e = this.pos;
3114
3114
  this.pos += 2;
3115
3115
  var s = this.readInt(t);
3116
3116
  return s == null && this.raise(this.start + 2, "Expected number in radix " + t), this.options.ecmaVersion >= 11 && this.input.charCodeAt(this.pos) === 110 ? (s = Si(this.input.slice(e, this.pos)), ++this.pos) : lt(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(u.num, s);
3117
3117
  };
3118
- D.readNumber = function(t) {
3118
+ V.readNumber = function(t) {
3119
3119
  var e = this.pos;
3120
3120
  !t && this.readInt(10, void 0, !0) === null && this.raise(e, "Invalid number");
3121
3121
  var s = this.pos - e >= 2 && this.input.charCodeAt(e) === 48;
@@ -3126,10 +3126,10 @@ D.readNumber = function(t) {
3126
3126
  return ++this.pos, lt(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(u.num, o);
3127
3127
  }
3128
3128
  s && /[89]/.test(this.input.slice(e, this.pos)) && (s = !1), a === 46 && !s && (++this.pos, this.readInt(10), a = this.input.charCodeAt(this.pos)), (a === 69 || a === 101) && !s && (a = this.input.charCodeAt(++this.pos), (a === 43 || a === 45) && ++this.pos, this.readInt(10) === null && this.raise(e, "Invalid number")), lt(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number");
3129
- var l = xs(this.input.slice(e, this.pos), s);
3130
- return this.finishToken(u.num, l);
3129
+ var p = xs(this.input.slice(e, this.pos), s);
3130
+ return this.finishToken(u.num, p);
3131
3131
  };
3132
- D.readCodePoint = function() {
3132
+ V.readCodePoint = function() {
3133
3133
  var t = this.input.charCodeAt(this.pos), e;
3134
3134
  if (t === 123) {
3135
3135
  this.options.ecmaVersion < 6 && this.unexpected();
@@ -3139,7 +3139,7 @@ D.readCodePoint = function() {
3139
3139
  e = this.readHexChar(4);
3140
3140
  return e;
3141
3141
  };
3142
- D.readString = function(t) {
3142
+ V.readString = function(t) {
3143
3143
  for (var e = "", s = ++this.pos; ; ) {
3144
3144
  this.pos >= this.input.length && this.raise(this.start, "Unterminated string constant");
3145
3145
  var a = this.input.charCodeAt(this.pos);
@@ -3150,7 +3150,7 @@ D.readString = function(t) {
3150
3150
  return e += this.input.slice(s, this.pos++), this.finishToken(u.string, e);
3151
3151
  };
3152
3152
  var Ti = {};
3153
- D.tryReadTemplateToken = function() {
3153
+ V.tryReadTemplateToken = function() {
3154
3154
  this.inTemplateElement = !0;
3155
3155
  try {
3156
3156
  this.readTmplToken();
@@ -3162,12 +3162,12 @@ D.tryReadTemplateToken = function() {
3162
3162
  }
3163
3163
  this.inTemplateElement = !1;
3164
3164
  };
3165
- D.invalidStringToken = function(t, e) {
3165
+ V.invalidStringToken = function(t, e) {
3166
3166
  if (this.inTemplateElement && this.options.ecmaVersion >= 9)
3167
3167
  throw Ti;
3168
3168
  this.raise(t, e);
3169
3169
  };
3170
- D.readTmplToken = function() {
3170
+ V.readTmplToken = function() {
3171
3171
  for (var t = "", e = this.pos; ; ) {
3172
3172
  this.pos >= this.input.length && this.raise(this.start, "Unterminated template");
3173
3173
  var s = this.input.charCodeAt(this.pos);
@@ -3192,7 +3192,7 @@ D.readTmplToken = function() {
3192
3192
  ++this.pos;
3193
3193
  }
3194
3194
  };
3195
- D.readInvalidTemplateToken = function() {
3195
+ V.readInvalidTemplateToken = function() {
3196
3196
  for (; this.pos < this.input.length; this.pos++)
3197
3197
  switch (this.input[this.pos]) {
3198
3198
  case "\\":
@@ -3217,7 +3217,7 @@ D.readInvalidTemplateToken = function() {
3217
3217
  }
3218
3218
  this.raise(this.start, "Unterminated template");
3219
3219
  };
3220
- D.readEscapedChar = function(t) {
3220
+ V.readEscapedChar = function(t) {
3221
3221
  var e = this.input.charCodeAt(++this.pos);
3222
3222
  switch (++this.pos, e) {
3223
3223
  case 110:
@@ -3273,11 +3273,11 @@ D.readEscapedChar = function(t) {
3273
3273
  return Ct(e) ? (this.options.locations && (this.lineStart = this.pos, ++this.curLine), "") : String.fromCharCode(e);
3274
3274
  }
3275
3275
  };
3276
- D.readHexChar = function(t) {
3276
+ V.readHexChar = function(t) {
3277
3277
  var e = this.pos, s = this.readInt(16, t);
3278
3278
  return s === null && this.invalidStringToken(e, "Bad character escape sequence"), s;
3279
3279
  };
3280
- D.readWord1 = function() {
3280
+ V.readWord1 = function() {
3281
3281
  this.containsEsc = !1;
3282
3282
  for (var t = "", e = !0, s = this.pos, a = this.options.ecmaVersion >= 6; this.pos < this.input.length; ) {
3283
3283
  var o = this.fullCharCodeAtPos();
@@ -3285,17 +3285,17 @@ D.readWord1 = function() {
3285
3285
  this.pos += o <= 65535 ? 1 : 2;
3286
3286
  else if (o === 92) {
3287
3287
  this.containsEsc = !0, t += this.input.slice(s, this.pos);
3288
- var l = this.pos;
3288
+ var p = this.pos;
3289
3289
  this.input.charCodeAt(++this.pos) !== 117 && this.invalidStringToken(this.pos, "Expecting Unicode escape sequence \\uXXXX"), ++this.pos;
3290
3290
  var d = this.readCodePoint();
3291
- (e ? lt : mt)(d, a) || this.invalidStringToken(l, "Invalid Unicode escape"), t += yt(d), s = this.pos;
3291
+ (e ? lt : mt)(d, a) || this.invalidStringToken(p, "Invalid Unicode escape"), t += yt(d), s = this.pos;
3292
3292
  } else
3293
3293
  break;
3294
3294
  e = !1;
3295
3295
  }
3296
3296
  return t + this.input.slice(s, this.pos);
3297
3297
  };
3298
- D.readWord = function() {
3298
+ V.readWord = function() {
3299
3299
  var t = this.readWord1(), e = u.name;
3300
3300
  return this.keywords.test(t) && (e = Et[t]), this.finishToken(e, t);
3301
3301
  };
@@ -3308,7 +3308,7 @@ J.acorn = {
3308
3308
  SourceLocation: jt,
3309
3309
  getLineInfo: be,
3310
3310
  Node: qt,
3311
- TokenType: R,
3311
+ TokenType: M,
3312
3312
  tokTypes: u,
3313
3313
  keywordTypes: Et,
3314
3314
  TokContext: Z,
@@ -3318,7 +3318,7 @@ J.acorn = {
3318
3318
  Token: re,
3319
3319
  isNewLine: Ct,
3320
3320
  lineBreak: tt,
3321
- lineBreakG: ze,
3321
+ lineBreakG: We,
3322
3322
  nonASCIIwhitespace: ge
3323
3323
  };
3324
3324
  function vs(t, e) {
@@ -3338,7 +3338,7 @@ const Ss = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3338
3338
  SourceLocation: jt,
3339
3339
  TokContext: Z,
3340
3340
  Token: re,
3341
- TokenType: R,
3341
+ TokenType: M,
3342
3342
  defaultOptions: Gt,
3343
3343
  getLineInfo: be,
3344
3344
  isIdentifierChar: mt,
@@ -3346,7 +3346,7 @@ const Ss = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3346
3346
  isNewLine: Ct,
3347
3347
  keywordTypes: Et,
3348
3348
  lineBreak: tt,
3349
- lineBreakG: ze,
3349
+ lineBreakG: We,
3350
3350
  nonASCIIwhitespace: ge,
3351
3351
  parse: vs,
3352
3352
  parseExpressionAt: gs,
@@ -3358,15 +3358,15 @@ const Ss = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3358
3358
  function De(t, e) {
3359
3359
  for (var s = 0; s < e.length; s++) {
3360
3360
  var a = e[s];
3361
- a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(t, typeof (o = (function(l, d) {
3362
- if (typeof l != "object" || l === null) return l;
3363
- var v = l[Symbol.toPrimitive];
3361
+ a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(t, typeof (o = (function(p, d) {
3362
+ if (typeof p != "object" || p === null) return p;
3363
+ var v = p[Symbol.toPrimitive];
3364
3364
  if (v !== void 0) {
3365
- var g = v.call(l, "string");
3365
+ var g = v.call(p, "string");
3366
3366
  if (typeof g != "object") return g;
3367
3367
  throw new TypeError("@@toPrimitive must return a primitive value.");
3368
3368
  }
3369
- return String(l);
3369
+ return String(p);
3370
3370
  })(a.key)) == "symbol" ? o : String(o), a);
3371
3371
  }
3372
3372
  var o;
@@ -3396,11 +3396,11 @@ function Ve(t, e) {
3396
3396
  function Fe(t, e) {
3397
3397
  var s = typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
3398
3398
  if (s) return (s = s.call(t)).next.bind(s);
3399
- if (Array.isArray(t) || (s = (function(o, l) {
3399
+ if (Array.isArray(t) || (s = (function(o, p) {
3400
3400
  if (o) {
3401
- if (typeof o == "string") return Ve(o, l);
3401
+ if (typeof o == "string") return Ve(o, p);
3402
3402
  var d = Object.prototype.toString.call(o).slice(8, -1);
3403
- return d === "Object" && o.constructor && (d = o.constructor.name), d === "Map" || d === "Set" ? Array.from(o) : d === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(d) ? Ve(o, l) : void 0;
3403
+ return d === "Object" && o.constructor && (d = o.constructor.name), d === "Map" || d === "Set" ? Array.from(o) : d === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(d) ? Ve(o, p) : void 0;
3404
3404
  }
3405
3405
  })(t)) || e) {
3406
3406
  s && (t = s);
@@ -3414,19 +3414,19 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
3414
3414
  }
3415
3415
  var nt = !0;
3416
3416
  function ot(t, e) {
3417
- return e === void 0 && (e = {}), new R("name", e);
3417
+ return e === void 0 && (e = {}), new M("name", e);
3418
3418
  }
3419
3419
  var Ts = /* @__PURE__ */ new WeakMap();
3420
3420
  function Ps(t) {
3421
3421
  var e = Ts.get(t.Parser.acorn || t);
3422
3422
  if (!e) {
3423
- var s = { assert: ot(0, { startsExpr: nt }), asserts: ot(0, { startsExpr: nt }), global: ot(0, { startsExpr: nt }), keyof: ot(0, { startsExpr: nt }), readonly: ot(0, { startsExpr: nt }), unique: ot(0, { startsExpr: nt }), abstract: ot(0, { startsExpr: nt }), declare: ot(0, { startsExpr: nt }), enum: ot(0, { startsExpr: nt }), module: ot(0, { startsExpr: nt }), namespace: ot(0, { startsExpr: nt }), interface: ot(0, { startsExpr: nt }), type: ot(0, { startsExpr: nt }) }, a = { at: new R("@"), jsxName: new R("jsxName"), jsxText: new R("jsxText", { beforeExpr: !0 }), jsxTagStart: new R("jsxTagStart", { startsExpr: !0 }), jsxTagEnd: new R("jsxTagEnd") }, o = { tc_oTag: new Z("<tag", !1, !1), tc_cTag: new Z("</tag", !1, !1), tc_expr: new Z("<tag>...</tag>", !0, !0) }, l = new RegExp("^(?:" + Object.keys(s).join("|") + ")$");
3423
+ var s = { assert: ot(0, { startsExpr: nt }), asserts: ot(0, { startsExpr: nt }), global: ot(0, { startsExpr: nt }), keyof: ot(0, { startsExpr: nt }), readonly: ot(0, { startsExpr: nt }), unique: ot(0, { startsExpr: nt }), abstract: ot(0, { startsExpr: nt }), declare: ot(0, { startsExpr: nt }), enum: ot(0, { startsExpr: nt }), module: ot(0, { startsExpr: nt }), namespace: ot(0, { startsExpr: nt }), interface: ot(0, { startsExpr: nt }), type: ot(0, { startsExpr: nt }) }, a = { at: new M("@"), jsxName: new M("jsxName"), jsxText: new M("jsxText", { beforeExpr: !0 }), jsxTagStart: new M("jsxTagStart", { startsExpr: !0 }), jsxTagEnd: new M("jsxTagEnd") }, o = { tc_oTag: new Z("<tag", !1, !1), tc_cTag: new Z("</tag", !1, !1), tc_expr: new Z("<tag>...</tag>", !0, !0) }, p = new RegExp("^(?:" + Object.keys(s).join("|") + ")$");
3424
3424
  a.jsxTagStart.updateContext = function() {
3425
3425
  this.context.push(o.tc_expr), this.context.push(o.tc_oTag), this.exprAllowed = !1;
3426
3426
  }, a.jsxTagEnd.updateContext = function(d) {
3427
3427
  var v = this.context.pop();
3428
3428
  v === o.tc_oTag && d === u.slash || v === o.tc_cTag ? (this.context.pop(), this.exprAllowed = this.curContext() === o.tc_expr) : this.exprAllowed = !0;
3429
- }, e = { tokTypes: Zt({}, s, a), tokContexts: Zt({}, o), keywordsRegExp: l, tokenIsLiteralPropertyName: function(d) {
3429
+ }, e = { tokTypes: Zt({}, s, a), tokContexts: Zt({}, o), keywordsRegExp: p, tokenIsLiteralPropertyName: function(d) {
3430
3430
  return [u.name, u.string, u.num].concat(Object.values(Et), Object.values(s)).includes(d);
3431
3431
  }, tokenIsKeywordOrIdentifier: function(d) {
3432
3432
  return [u.name].concat(Object.values(Et), Object.values(s)).includes(d);
@@ -3519,59 +3519,59 @@ function qe(t) {
3519
3519
  return t === "private" || t === "public" || t === "protected";
3520
3520
  }
3521
3521
  function Ls(t) {
3522
- var e = {}, s = e.dts, a = s !== void 0 && s, o = e.allowSatisfies, l = o !== void 0 && o;
3522
+ var e = {}, s = e.dts, a = s !== void 0 && s, o = e.allowSatisfies, p = o !== void 0 && o;
3523
3523
  return function(d) {
3524
- var v = d.acorn || Ss, g = Ps(v), h = v.tokTypes, C = v.keywordTypes, _ = v.isIdentifierStart, j = v.lineBreak, B = v.isNewLine, U = v.tokContexts, G = v.isIdentifierChar, I = g.tokTypes, it = g.tokContexts, ae = g.keywordsRegExp, ki = g.tokenIsLiteralPropertyName, Ai = g.tokenIsTemplate, Ei = g.tokenIsTSDeclarationStart, q = g.tokenIsIdentifier, Wt = g.tokenIsKeywordOrIdentifier, wi = g.tokenIsTSTypeOperator;
3524
+ var v = d.acorn || Ss, g = Ps(v), h = v.tokTypes, C = v.keywordTypes, N = v.isIdentifierStart, L = v.lineBreak, j = v.isNewLine, U = v.tokContexts, X = v.isIdentifierChar, _ = g.tokTypes, it = g.tokContexts, ae = g.keywordsRegExp, ki = g.tokenIsLiteralPropertyName, Ai = g.tokenIsTemplate, Ei = g.tokenIsTSDeclarationStart, q = g.tokenIsIdentifier, zt = g.tokenIsKeywordOrIdentifier, wi = g.tokenIsTSTypeOperator;
3525
3525
  function Ii(P, st, Y) {
3526
3526
  Y === void 0 && (Y = P.length);
3527
- for (var $ = st; $ < Y; $++) {
3528
- var F = P.charCodeAt($);
3529
- if (B(F)) return $ < Y - 1 && F === 13 && P.charCodeAt($ + 1) === 10 ? $ + 2 : $ + 1;
3527
+ for (var G = st; G < Y; G++) {
3528
+ var B = P.charCodeAt(G);
3529
+ if (j(B)) return G < Y - 1 && B === 13 && P.charCodeAt(G + 1) === 10 ? G + 2 : G + 1;
3530
3530
  }
3531
3531
  return -1;
3532
3532
  }
3533
3533
  d = (function(P, st, Y) {
3534
- var $ = Y.tokTypes, F = st.tokTypes;
3535
- return (function(p) {
3534
+ var G = Y.tokTypes, B = st.tokTypes;
3535
+ return (function(l) {
3536
3536
  function i() {
3537
- return p.apply(this, arguments) || this;
3537
+ return l.apply(this, arguments) || this;
3538
3538
  }
3539
- Jt(i, p);
3539
+ Jt(i, l);
3540
3540
  var r = i.prototype;
3541
3541
  return r.takeDecorators = function(n) {
3542
3542
  var c = this.decoratorStack[this.decoratorStack.length - 1];
3543
3543
  c.length && (n.decorators = c, this.resetStartLocationFromNode(n, c[0]), this.decoratorStack[this.decoratorStack.length - 1] = []);
3544
3544
  }, r.parseDecorators = function(n) {
3545
- for (var c = this.decoratorStack[this.decoratorStack.length - 1]; this.match(F.at); ) {
3545
+ for (var c = this.decoratorStack[this.decoratorStack.length - 1]; this.match(B.at); ) {
3546
3546
  var f = this.parseDecorator();
3547
3547
  c.push(f);
3548
3548
  }
3549
- this.match($._export) ? n || this.unexpected() : this.canHaveLeadingDecorator() || this.raise(this.start, "Leading decorators must be attached to a class declaration.");
3549
+ this.match(G._export) ? n || this.unexpected() : this.canHaveLeadingDecorator() || this.raise(this.start, "Leading decorators must be attached to a class declaration.");
3550
3550
  }, r.parseDecorator = function() {
3551
3551
  var n = this.startNode();
3552
3552
  this.next(), this.decoratorStack.push([]);
3553
3553
  var c, f = this.start, m = this.startLoc;
3554
- if (this.match($.parenL)) {
3554
+ if (this.match(G.parenL)) {
3555
3555
  var y = this.start, x = this.startLoc;
3556
- if (this.next(), c = this.parseExpression(), this.expect($.parenR), this.options.preserveParens) {
3556
+ if (this.next(), c = this.parseExpression(), this.expect(G.parenR), this.options.preserveParens) {
3557
3557
  var b = this.startNodeAt(y, x);
3558
3558
  b.expression = c, c = this.finishNode(b, "ParenthesizedExpression");
3559
3559
  }
3560
- } else for (c = this.parseIdent(!1); this.eat($.dot); ) {
3560
+ } else for (c = this.parseIdent(!1); this.eat(G.dot); ) {
3561
3561
  var S = this.startNodeAt(f, m);
3562
3562
  S.object = c, S.property = this.parseIdent(!0), S.computed = !1, c = this.finishNode(S, "MemberExpression");
3563
3563
  }
3564
3564
  return n.expression = this.parseMaybeDecoratorArguments(c), this.decoratorStack.pop(), this.finishNode(n, "Decorator");
3565
3565
  }, r.parseMaybeDecoratorArguments = function(n) {
3566
- if (this.eat($.parenL)) {
3566
+ if (this.eat(G.parenL)) {
3567
3567
  var c = this.startNodeAtNode(n);
3568
- return c.callee = n, c.arguments = this.parseExprList($.parenR, !1), this.finishNode(c, "CallExpression");
3568
+ return c.callee = n, c.arguments = this.parseExprList(G.parenR, !1), this.finishNode(c, "CallExpression");
3569
3569
  }
3570
3570
  return n;
3571
3571
  }, i;
3572
3572
  })(P);
3573
- })(d, g, v), d = (function(P, st, Y, $) {
3574
- var F = P.tokTypes, p = st.tokTypes, i = P.isNewLine, r = P.isIdentifierChar, n = Object.assign({ allowNamespaces: !0, allowNamespacedObjects: !0 }, {});
3573
+ })(d, g, v), d = (function(P, st, Y, G) {
3574
+ var B = P.tokTypes, l = st.tokTypes, i = P.isNewLine, r = P.isIdentifierChar, n = Object.assign({ allowNamespaces: !0, allowNamespacedObjects: !0 }, {});
3575
3575
  return (function(c) {
3576
3576
  function f() {
3577
3577
  return c.apply(this, arguments) || this;
@@ -3585,7 +3585,7 @@ function Ls(t) {
3585
3585
  switch (b) {
3586
3586
  case 60:
3587
3587
  case 123:
3588
- return this.pos === this.start ? b === 60 && this.exprAllowed ? (++this.pos, this.finishToken(p.jsxTagStart)) : this.getTokenFromCode(b) : (y += this.input.slice(x, this.pos), this.finishToken(p.jsxText, y));
3588
+ return this.pos === this.start ? b === 60 && this.exprAllowed ? (++this.pos, this.finishToken(l.jsxTagStart)) : this.getTokenFromCode(b) : (y += this.input.slice(x, this.pos), this.finishToken(l.jsxText, y));
3589
3589
  case 38:
3590
3590
  y += this.input.slice(x, this.pos), y += this.jsx_readEntity(), x = this.pos;
3591
3591
  break;
@@ -3608,47 +3608,47 @@ function Ls(t) {
3608
3608
  if (S === y) break;
3609
3609
  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;
3610
3610
  }
3611
- return x += this.input.slice(b, this.pos++), this.finishToken(F.string, x);
3611
+ return x += this.input.slice(b, this.pos++), this.finishToken(B.string, x);
3612
3612
  }, m.jsx_readEntity = function() {
3613
3613
  var y, x = "", b = 0, S = this.input[this.pos];
3614
3614
  S !== "&" && this.raise(this.pos, "Entity must start with an ampersand");
3615
- for (var N = ++this.pos; this.pos < this.input.length && b++ < 10; ) {
3615
+ for (var I = ++this.pos; this.pos < this.input.length && b++ < 10; ) {
3616
3616
  if ((S = this.input[this.pos++]) === ";") {
3617
3617
  x[0] === "#" ? x[1] === "x" ? (x = x.substr(2), Es.test(x) && (y = String.fromCharCode(parseInt(x, 16)))) : (x = x.substr(1), ws.test(x) && (y = String.fromCharCode(parseInt(x, 10)))) : y = As[x];
3618
3618
  break;
3619
3619
  }
3620
3620
  x += S;
3621
3621
  }
3622
- return y || (this.pos = N, "&");
3622
+ return y || (this.pos = I, "&");
3623
3623
  }, m.jsx_readWord = function() {
3624
3624
  var y, x = this.pos;
3625
3625
  do
3626
3626
  y = this.input.charCodeAt(++this.pos);
3627
3627
  while (r(y) || y === 45);
3628
- return this.finishToken(p.jsxName, this.input.slice(x, this.pos));
3628
+ return this.finishToken(l.jsxName, this.input.slice(x, this.pos));
3629
3629
  }, m.jsx_parseIdentifier = function() {
3630
3630
  var y = this.startNode();
3631
- 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");
3631
+ return this.type === l.jsxName ? y.name = this.value : this.type.keyword ? y.name = this.type.keyword : this.unexpected(), this.next(), this.finishNode(y, "JSXIdentifier");
3632
3632
  }, m.jsx_parseNamespacedName = function() {
3633
3633
  var y = this.start, x = this.startLoc, b = this.jsx_parseIdentifier();
3634
- if (!n.allowNamespaces || !this.eat(F.colon)) return b;
3634
+ if (!n.allowNamespaces || !this.eat(B.colon)) return b;
3635
3635
  var S = this.startNodeAt(y, x);
3636
3636
  return S.namespace = b, S.name = this.jsx_parseIdentifier(), this.finishNode(S, "JSXNamespacedName");
3637
3637
  }, m.jsx_parseElementName = function() {
3638
- if (this.type === p.jsxTagEnd) return "";
3638
+ if (this.type === l.jsxTagEnd) return "";
3639
3639
  var y = this.start, x = this.startLoc, b = this.jsx_parseNamespacedName();
3640
- for (this.type !== F.dot || b.type !== "JSXNamespacedName" || n.allowNamespacedObjects || this.unexpected(); this.eat(F.dot); ) {
3640
+ for (this.type !== B.dot || b.type !== "JSXNamespacedName" || n.allowNamespacedObjects || this.unexpected(); this.eat(B.dot); ) {
3641
3641
  var S = this.startNodeAt(y, x);
3642
3642
  S.object = b, S.property = this.jsx_parseIdentifier(), b = this.finishNode(S, "JSXMemberExpression");
3643
3643
  }
3644
3644
  return b;
3645
3645
  }, m.jsx_parseAttributeValue = function() {
3646
3646
  switch (this.type) {
3647
- case F.braceL:
3647
+ case B.braceL:
3648
3648
  var y = this.jsx_parseExpressionContainer();
3649
3649
  return y.expression.type === "JSXEmptyExpression" && this.raise(y.start, "JSX attributes must only be assigned a non-empty expression"), y;
3650
- case p.jsxTagStart:
3651
- case F.string:
3650
+ case l.jsxTagStart:
3651
+ case B.string:
3652
3652
  return this.parseExprAtom();
3653
3653
  default:
3654
3654
  this.raise(this.start, "JSX value should be either an expression or a quoted JSX text");
@@ -3658,43 +3658,43 @@ function Ls(t) {
3658
3658
  return this.finishNodeAt(y, "JSXEmptyExpression", this.start, this.startLoc);
3659
3659
  }, m.jsx_parseExpressionContainer = function() {
3660
3660
  var y = this.startNode();
3661
- return this.next(), y.expression = this.type === F.braceR ? this.jsx_parseEmptyExpression() : this.parseExpression(), this.expect(F.braceR), this.finishNode(y, "JSXExpressionContainer");
3661
+ return this.next(), y.expression = this.type === B.braceR ? this.jsx_parseEmptyExpression() : this.parseExpression(), this.expect(B.braceR), this.finishNode(y, "JSXExpressionContainer");
3662
3662
  }, m.jsx_parseAttribute = function() {
3663
3663
  var y = this.startNode();
3664
- 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"));
3664
+ return this.eat(B.braceL) ? (this.expect(B.ellipsis), y.argument = this.parseMaybeAssign(), this.expect(B.braceR), this.finishNode(y, "JSXSpreadAttribute")) : (y.name = this.jsx_parseNamespacedName(), y.value = this.eat(B.eq) ? this.jsx_parseAttributeValue() : null, this.finishNode(y, "JSXAttribute"));
3665
3665
  }, m.jsx_parseOpeningElementAt = function(y, x) {
3666
3666
  var b = this.startNodeAt(y, x);
3667
3667
  b.attributes = [];
3668
3668
  var S = this.jsx_parseElementName();
3669
- for (S && (b.name = S); this.type !== F.slash && this.type !== p.jsxTagEnd; ) b.attributes.push(this.jsx_parseAttribute());
3670
- return b.selfClosing = this.eat(F.slash), this.expect(p.jsxTagEnd), this.finishNode(b, S ? "JSXOpeningElement" : "JSXOpeningFragment");
3669
+ for (S && (b.name = S); this.type !== B.slash && this.type !== l.jsxTagEnd; ) b.attributes.push(this.jsx_parseAttribute());
3670
+ return b.selfClosing = this.eat(B.slash), this.expect(l.jsxTagEnd), this.finishNode(b, S ? "JSXOpeningElement" : "JSXOpeningFragment");
3671
3671
  }, m.jsx_parseClosingElementAt = function(y, x) {
3672
3672
  var b = this.startNodeAt(y, x), S = this.jsx_parseElementName();
3673
- return S && (b.name = S), this.expect(p.jsxTagEnd), this.finishNode(b, S ? "JSXClosingElement" : "JSXClosingFragment");
3673
+ return S && (b.name = S), this.expect(l.jsxTagEnd), this.finishNode(b, S ? "JSXClosingElement" : "JSXClosingFragment");
3674
3674
  }, m.jsx_parseElementAt = function(y, x) {
3675
- var b = this.startNodeAt(y, x), S = [], N = this.jsx_parseOpeningElementAt(y, x), O = null;
3676
- if (!N.selfClosing) {
3675
+ var b = this.startNodeAt(y, x), S = [], I = this.jsx_parseOpeningElementAt(y, x), R = null;
3676
+ if (!I.selfClosing) {
3677
3677
  t: for (; ; ) switch (this.type) {
3678
- case p.jsxTagStart:
3679
- if (y = this.start, x = this.startLoc, this.next(), this.eat(F.slash)) {
3680
- O = this.jsx_parseClosingElementAt(y, x);
3678
+ case l.jsxTagStart:
3679
+ if (y = this.start, x = this.startLoc, this.next(), this.eat(B.slash)) {
3680
+ R = this.jsx_parseClosingElementAt(y, x);
3681
3681
  break t;
3682
3682
  }
3683
3683
  S.push(this.jsx_parseElementAt(y, x));
3684
3684
  break;
3685
- case p.jsxText:
3685
+ case l.jsxText:
3686
3686
  S.push(this.parseExprAtom());
3687
3687
  break;
3688
- case F.braceL:
3688
+ case B.braceL:
3689
3689
  S.push(this.jsx_parseExpressionContainer());
3690
3690
  break;
3691
3691
  default:
3692
3692
  this.unexpected();
3693
3693
  }
3694
- Vt(O.name) !== Vt(N.name) && this.raise(O.start, "Expected corresponding JSX closing tag for <" + Vt(N.name) + ">");
3694
+ Vt(R.name) !== Vt(I.name) && this.raise(R.start, "Expected corresponding JSX closing tag for <" + Vt(I.name) + ">");
3695
3695
  }
3696
- var A = N.name ? "Element" : "Fragment";
3697
- return b["opening" + A] = N, b["closing" + A] = O, 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" + A);
3696
+ var A = I.name ? "Element" : "Fragment";
3697
+ return b["opening" + A] = I, b["closing" + A] = R, b.children = S, this.type === B.relational && this.value === "<" && this.raise(this.start, "Adjacent JSX elements must be wrapped in an enclosing tag"), this.finishNode(b, "JSX" + A);
3698
3698
  }, m.jsx_parseText = function() {
3699
3699
  var y = this.parseLiteral(this.value);
3700
3700
  return y.type = "JSXText", y;
@@ -3704,30 +3704,30 @@ function Ls(t) {
3704
3704
  }, f;
3705
3705
  })(Y);
3706
3706
  })(v, g, d), d = (function(P, st, Y) {
3707
- var $ = st.tokTypes, F = Y.tokTypes;
3708
- return (function(p) {
3707
+ var G = st.tokTypes, B = Y.tokTypes;
3708
+ return (function(l) {
3709
3709
  function i() {
3710
- return p.apply(this, arguments) || this;
3710
+ return l.apply(this, arguments) || this;
3711
3711
  }
3712
- Jt(i, p);
3712
+ Jt(i, l);
3713
3713
  var r = i.prototype;
3714
3714
  return r.parseMaybeImportAttributes = function(n) {
3715
- if (this.type === F._with || this.type === $.assert) {
3715
+ if (this.type === B._with || this.type === G.assert) {
3716
3716
  this.next();
3717
3717
  var c = this.parseImportAttributes();
3718
3718
  c && (n.attributes = c);
3719
3719
  }
3720
3720
  }, r.parseImportAttributes = function() {
3721
- this.expect(F.braceL);
3721
+ this.expect(B.braceL);
3722
3722
  var n = this.parseWithEntries();
3723
- return this.expect(F.braceR), n;
3723
+ return this.expect(B.braceR), n;
3724
3724
  }, r.parseWithEntries = function() {
3725
3725
  var n = [], c = /* @__PURE__ */ new Set();
3726
3726
  do {
3727
- if (this.type === F.braceR) break;
3727
+ if (this.type === B.braceR) break;
3728
3728
  var f, m = this.startNode();
3729
- f = this.type === F.string ? this.parseLiteral(this.value) : this.parseIdent(!0), this.next(), m.key = f, 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"));
3730
- } while (this.eat(F.comma));
3729
+ f = this.type === B.string ? this.parseLiteral(this.value) : this.parseIdent(!0), this.next(), m.key = f, c.has(m.key.name) && this.raise(this.pos, "Duplicated key in attributes"), c.add(m.key.name), this.type !== B.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"));
3730
+ } while (this.eat(B.comma));
3731
3731
  return n;
3732
3732
  }, i;
3733
3733
  })(P);
@@ -3741,28 +3741,28 @@ function Ls(t) {
3741
3741
  })(c), { allowedModifiers: ["const"], disallowedModifiers: ["in", "out"], errorTemplate: w.InvalidModifierOnTypeParameterPositions }), c;
3742
3742
  }
3743
3743
  Jt(st, P);
3744
- var Y, $, F, p = st.prototype;
3745
- return p.getTokenFromCodeInType = function(i) {
3744
+ var Y, G, B, l = st.prototype;
3745
+ return l.getTokenFromCodeInType = function(i) {
3746
3746
  return i === 62 || i === 60 ? this.finishOp(h.relational, 1) : P.prototype.getTokenFromCode.call(this, i);
3747
- }, p.readToken = function(i) {
3747
+ }, l.readToken = function(i) {
3748
3748
  if (!this.inType) {
3749
3749
  var r = this.curContext();
3750
3750
  if (r === it.tc_expr) return this.jsx_readToken();
3751
3751
  if (r === it.tc_oTag || r === it.tc_cTag) {
3752
- if (_(i)) return this.jsx_readWord();
3753
- if (i == 62) return ++this.pos, this.finishToken(I.jsxTagEnd);
3752
+ if (N(i)) return this.jsx_readWord();
3753
+ if (i == 62) return ++this.pos, this.finishToken(_.jsxTagEnd);
3754
3754
  if ((i === 34 || i === 39) && r == it.tc_oTag) return this.jsx_readString(i);
3755
3755
  }
3756
- if (i === 60 && this.exprAllowed && this.input.charCodeAt(this.pos + 1) !== 33) return ++this.pos, this.finishToken(I.jsxTagStart);
3756
+ if (i === 60 && this.exprAllowed && this.input.charCodeAt(this.pos + 1) !== 33) return ++this.pos, this.finishToken(_.jsxTagStart);
3757
3757
  }
3758
3758
  return P.prototype.readToken.call(this, i);
3759
- }, p.getTokenFromCode = function(i) {
3760
- return this.inType ? this.getTokenFromCodeInType(i) : i === 64 ? (++this.pos, this.finishToken(I.at)) : P.prototype.getTokenFromCode.call(this, i);
3761
- }, p.isAbstractClass = function() {
3762
- return this.ts_isContextual(I.abstract) && this.lookahead().type === h._class;
3763
- }, p.finishNode = function(i, r) {
3759
+ }, l.getTokenFromCode = function(i) {
3760
+ return this.inType ? this.getTokenFromCodeInType(i) : i === 64 ? (++this.pos, this.finishToken(_.at)) : P.prototype.getTokenFromCode.call(this, i);
3761
+ }, l.isAbstractClass = function() {
3762
+ return this.ts_isContextual(_.abstract) && this.lookahead().type === h._class;
3763
+ }, l.finishNode = function(i, r) {
3764
3764
  return i.type !== "" && i.end !== 0 ? i : P.prototype.finishNode.call(this, i, r);
3765
- }, p.tryParse = function(i, r) {
3765
+ }, l.tryParse = function(i, r) {
3766
3766
  r === void 0 && (r = this.cloneCurLookaheadState());
3767
3767
  var n = { node: null };
3768
3768
  try {
@@ -3775,38 +3775,38 @@ function Ls(t) {
3775
3775
  if (f === n) return { node: n.node, error: null, thrown: !1, aborted: !0, failState: c };
3776
3776
  throw f;
3777
3777
  }
3778
- }, p.setOptionalParametersError = function(i, r) {
3778
+ }, l.setOptionalParametersError = function(i, r) {
3779
3779
  var n;
3780
3780
  i.optionalParametersLoc = (n = r?.loc) != null ? n : this.startLoc;
3781
- }, p.reScan_lt_gt = function() {
3781
+ }, l.reScan_lt_gt = function() {
3782
3782
  this.type === h.relational && (this.pos -= 1, this.readToken_lt_gt(this.fullCharCodeAtPos()));
3783
- }, p.reScan_lt = function() {
3783
+ }, l.reScan_lt = function() {
3784
3784
  var i = this.type;
3785
3785
  return i === h.bitShift ? (this.pos -= 2, this.finishOp(h.relational, 1), h.relational) : i;
3786
- }, p.resetEndLocation = function(i, r) {
3786
+ }, l.resetEndLocation = function(i, r) {
3787
3787
  r === void 0 && (r = this.lastTokEndLoc), i.end = r.column, i.loc.end = r, this.options.ranges && (i.range[1] = r.column);
3788
- }, p.startNodeAtNode = function(i) {
3788
+ }, l.startNodeAtNode = function(i) {
3789
3789
  return P.prototype.startNodeAt.call(this, i.start, i.loc.start);
3790
- }, p.nextTokenStart = function() {
3790
+ }, l.nextTokenStart = function() {
3791
3791
  return this.nextTokenStartSince(this.pos);
3792
- }, p.tsHasSomeModifiers = function(i, r) {
3792
+ }, l.tsHasSomeModifiers = function(i, r) {
3793
3793
  return r.some(function(n) {
3794
3794
  return qe(n) ? i.accessibility === n : !!i[n];
3795
3795
  });
3796
- }, p.tsIsStartOfStaticBlocks = function() {
3796
+ }, l.tsIsStartOfStaticBlocks = function() {
3797
3797
  return this.isContextual("static") && this.lookaheadCharCode() === 123;
3798
- }, p.tsCheckForInvalidTypeCasts = function(i) {
3798
+ }, l.tsCheckForInvalidTypeCasts = function(i) {
3799
3799
  var r = this;
3800
3800
  i.forEach(function(n) {
3801
3801
  n?.type === "TSTypeCastExpression" && r.raise(n.typeAnnotation.start, w.UnexpectedTypeAnnotation);
3802
3802
  });
3803
- }, p.atPossibleAsyncArrow = function(i) {
3803
+ }, l.atPossibleAsyncArrow = function(i) {
3804
3804
  return i.type === "Identifier" && i.name === "async" && this.lastTokEndLoc.column === i.end && !this.canInsertSemicolon() && i.end - i.start == 5 && i.start === this.potentialArrowAt;
3805
- }, p.tsIsIdentifier = function() {
3805
+ }, l.tsIsIdentifier = function() {
3806
3806
  return q(this.type);
3807
- }, p.tsTryParseTypeOrTypePredicateAnnotation = function() {
3807
+ }, l.tsTryParseTypeOrTypePredicateAnnotation = function() {
3808
3808
  return this.match(h.colon) ? this.tsParseTypeOrTypePredicateAnnotation(h.colon) : void 0;
3809
- }, p.tsTryParseGenericAsyncArrowFunction = function(i, r, n) {
3809
+ }, l.tsTryParseGenericAsyncArrowFunction = function(i, r, n) {
3810
3810
  var c = this;
3811
3811
  if (this.tsMatchLeftRelational()) {
3812
3812
  var f = this.maybeInArrowParameters;
@@ -3817,9 +3817,9 @@ function Ls(t) {
3817
3817
  });
3818
3818
  if (this.maybeInArrowParameters = f, m) return P.prototype.parseArrowExpression.call(this, m, null, !0, n);
3819
3819
  }
3820
- }, p.tsParseTypeArgumentsInExpression = function() {
3820
+ }, l.tsParseTypeArgumentsInExpression = function() {
3821
3821
  if (this.reScan_lt() === h.relational) return this.tsParseTypeArguments();
3822
- }, p.tsInNoContext = function(i) {
3822
+ }, l.tsInNoContext = function(i) {
3823
3823
  var r = this.context;
3824
3824
  this.context = [r[0]];
3825
3825
  try {
@@ -3827,98 +3827,98 @@ function Ls(t) {
3827
3827
  } finally {
3828
3828
  this.context = r;
3829
3829
  }
3830
- }, p.tsTryParseTypeAnnotation = function() {
3830
+ }, l.tsTryParseTypeAnnotation = function() {
3831
3831
  return this.match(h.colon) ? this.tsParseTypeAnnotation() : void 0;
3832
- }, p.isUnparsedContextual = function(i, r) {
3832
+ }, l.isUnparsedContextual = function(i, r) {
3833
3833
  var n = i + r.length;
3834
3834
  if (this.input.slice(i, n) === r) {
3835
3835
  var c = this.input.charCodeAt(n);
3836
- return !(G(c) || (64512 & c) == 55296);
3836
+ return !(X(c) || (64512 & c) == 55296);
3837
3837
  }
3838
3838
  return !1;
3839
- }, p.isAbstractConstructorSignature = function() {
3840
- return this.ts_isContextual(I.abstract) && this.lookahead().type === h._new;
3841
- }, p.nextTokenStartSince = function(i) {
3839
+ }, l.isAbstractConstructorSignature = function() {
3840
+ return this.ts_isContextual(_.abstract) && this.lookahead().type === h._new;
3841
+ }, l.nextTokenStartSince = function(i) {
3842
3842
  return le.lastIndex = i, le.test(this.input) ? le.lastIndex : i;
3843
- }, p.lookaheadCharCode = function() {
3843
+ }, l.lookaheadCharCode = function() {
3844
3844
  return this.input.charCodeAt(this.nextTokenStart());
3845
- }, p.compareLookaheadState = function(i, r) {
3845
+ }, l.compareLookaheadState = function(i, r) {
3846
3846
  for (var n = 0, c = Object.keys(i); n < c.length; n++) {
3847
3847
  var f = c[n];
3848
3848
  if (i[f] !== r[f]) return !1;
3849
3849
  }
3850
3850
  return !0;
3851
- }, p.createLookaheadState = function() {
3851
+ }, l.createLookaheadState = function() {
3852
3852
  this.value = null, this.context = [this.curContext()];
3853
- }, p.getCurLookaheadState = function() {
3853
+ }, l.getCurLookaheadState = function() {
3854
3854
  return { endLoc: this.endLoc, lastTokEnd: this.lastTokEnd, lastTokStart: this.lastTokStart, lastTokStartLoc: this.lastTokStartLoc, pos: this.pos, value: this.value, type: this.type, start: this.start, end: this.end, context: this.context, startLoc: this.startLoc, lastTokEndLoc: this.lastTokEndLoc, curLine: this.curLine, lineStart: this.lineStart, curPosition: this.curPosition, containsEsc: this.containsEsc };
3855
- }, p.cloneCurLookaheadState = function() {
3855
+ }, l.cloneCurLookaheadState = function() {
3856
3856
  return { pos: this.pos, value: this.value, type: this.type, start: this.start, end: this.end, context: this.context && this.context.slice(), startLoc: this.startLoc, lastTokEndLoc: this.lastTokEndLoc, endLoc: this.endLoc, lastTokEnd: this.lastTokEnd, lastTokStart: this.lastTokStart, lastTokStartLoc: this.lastTokStartLoc, curLine: this.curLine, lineStart: this.lineStart, curPosition: this.curPosition, containsEsc: this.containsEsc };
3857
- }, p.setLookaheadState = function(i) {
3857
+ }, l.setLookaheadState = function(i) {
3858
3858
  this.pos = i.pos, this.value = i.value, this.endLoc = i.endLoc, this.lastTokEnd = i.lastTokEnd, this.lastTokStart = i.lastTokStart, this.lastTokStartLoc = i.lastTokStartLoc, this.type = i.type, this.start = i.start, this.end = i.end, this.context = i.context, this.startLoc = i.startLoc, this.lastTokEndLoc = i.lastTokEndLoc, this.curLine = i.curLine, this.lineStart = i.lineStart, this.curPosition = i.curPosition, this.containsEsc = i.containsEsc;
3859
- }, p.tsLookAhead = function(i) {
3859
+ }, l.tsLookAhead = function(i) {
3860
3860
  var r = this.getCurLookaheadState(), n = i();
3861
3861
  return this.setLookaheadState(r), n;
3862
- }, p.lookahead = function(i) {
3862
+ }, l.lookahead = function(i) {
3863
3863
  var r = this.getCurLookaheadState();
3864
3864
  if (this.createLookaheadState(), this.isLookahead = !0, i !== void 0) for (var n = 0; n < i; n++) this.nextToken();
3865
3865
  else this.nextToken();
3866
3866
  this.isLookahead = !1;
3867
3867
  var c = this.getCurLookaheadState();
3868
3868
  return this.setLookaheadState(r), c;
3869
- }, p.readWord = function() {
3869
+ }, l.readWord = function() {
3870
3870
  var i = this.readWord1(), r = h.name;
3871
- return this.keywords.test(i) ? r = C[i] : new RegExp(ae).test(i) && (r = I[i]), this.finishToken(r, i);
3872
- }, p.skipBlockComment = function() {
3871
+ return this.keywords.test(i) ? r = C[i] : new RegExp(ae).test(i) && (r = _[i]), this.finishToken(r, i);
3872
+ }, l.skipBlockComment = function() {
3873
3873
  var i;
3874
3874
  this.isLookahead || (i = this.options.onComment && this.curPosition());
3875
3875
  var r = this.pos, n = this.input.indexOf("*/", this.pos += 2);
3876
3876
  if (n === -1 && this.raise(this.pos - 2, "Unterminated comment"), this.pos = n + 2, this.options.locations) for (var c, f = r; (c = Ii(this.input, f, this.pos)) > -1; ) ++this.curLine, f = this.lineStart = c;
3877
3877
  this.isLookahead || this.options.onComment && this.options.onComment(!0, this.input.slice(r + 2, n), r, this.pos, i, this.curPosition());
3878
- }, p.skipLineComment = function(i) {
3878
+ }, l.skipLineComment = function(i) {
3879
3879
  var r, n = this.pos;
3880
3880
  this.isLookahead || (r = this.options.onComment && this.curPosition());
3881
- for (var c = this.input.charCodeAt(this.pos += i); this.pos < this.input.length && !B(c); ) c = this.input.charCodeAt(++this.pos);
3881
+ for (var c = this.input.charCodeAt(this.pos += i); this.pos < this.input.length && !j(c); ) c = this.input.charCodeAt(++this.pos);
3882
3882
  this.isLookahead || this.options.onComment && this.options.onComment(!1, this.input.slice(n + i, this.pos), n, this.pos, r, this.curPosition());
3883
- }, p.finishToken = function(i, r) {
3883
+ }, l.finishToken = function(i, r) {
3884
3884
  this.preValue = this.value, this.preToken = this.type, this.end = this.pos, this.options.locations && (this.endLoc = this.curPosition());
3885
3885
  var n = this.type;
3886
3886
  this.type = i, this.value = r, this.isLookahead || this.updateContext(n);
3887
- }, p.resetStartLocation = function(i, r, n) {
3887
+ }, l.resetStartLocation = function(i, r, n) {
3888
3888
  i.start = r, i.loc.start = n, this.options.ranges && (i.range[0] = r);
3889
- }, p.isLineTerminator = function() {
3889
+ }, l.isLineTerminator = function() {
3890
3890
  return this.eat(h.semi) || P.prototype.canInsertSemicolon.call(this);
3891
- }, p.hasFollowingLineBreak = function() {
3891
+ }, l.hasFollowingLineBreak = function() {
3892
3892
  return Be.lastIndex = this.end, Be.test(this.input);
3893
- }, p.addExtra = function(i, r, n, c) {
3893
+ }, l.addExtra = function(i, r, n, c) {
3894
3894
  if (c === void 0 && (c = !0), i) {
3895
3895
  var f = i.extra = i.extra || {};
3896
3896
  c ? f[r] = n : Object.defineProperty(f, r, { enumerable: c, value: n });
3897
3897
  }
3898
- }, p.isLiteralPropertyName = function() {
3898
+ }, l.isLiteralPropertyName = function() {
3899
3899
  return ki(this.type);
3900
- }, p.hasPrecedingLineBreak = function() {
3901
- return j.test(this.input.slice(this.lastTokEndLoc.index, this.start));
3902
- }, p.createIdentifier = function(i, r) {
3900
+ }, l.hasPrecedingLineBreak = function() {
3901
+ return L.test(this.input.slice(this.lastTokEndLoc.index, this.start));
3902
+ }, l.createIdentifier = function(i, r) {
3903
3903
  return i.name = r, this.finishNode(i, "Identifier");
3904
- }, p.resetStartLocationFromNode = function(i, r) {
3904
+ }, l.resetStartLocationFromNode = function(i, r) {
3905
3905
  this.resetStartLocation(i, r.start, r.loc.start);
3906
- }, p.isThisParam = function(i) {
3906
+ }, l.isThisParam = function(i) {
3907
3907
  return i.type === "Identifier" && i.name === "this";
3908
- }, p.isLookaheadContextual = function(i) {
3908
+ }, l.isLookaheadContextual = function(i) {
3909
3909
  var r = this.nextTokenStart();
3910
3910
  return this.isUnparsedContextual(r, i);
3911
- }, p.ts_type_isContextual = function(i, r) {
3911
+ }, l.ts_type_isContextual = function(i, r) {
3912
3912
  return i === r && !this.containsEsc;
3913
- }, p.ts_isContextual = function(i) {
3913
+ }, l.ts_isContextual = function(i) {
3914
3914
  return this.type === i && !this.containsEsc;
3915
- }, p.ts_isContextualWithState = function(i, r) {
3915
+ }, l.ts_isContextualWithState = function(i, r) {
3916
3916
  return i.type === r && !i.containsEsc;
3917
- }, p.isContextualWithState = function(i, r) {
3917
+ }, l.isContextualWithState = function(i, r) {
3918
3918
  return r.type === h.name && r.value === i && !r.containsEsc;
3919
- }, p.tsIsStartOfMappedType = function() {
3920
- return this.next(), this.eat(h.plusMin) ? this.ts_isContextual(I.readonly) : (this.ts_isContextual(I.readonly) && this.next(), !!this.match(h.bracketL) && (this.next(), !!this.tsIsIdentifier() && (this.next(), this.match(h._in))));
3921
- }, p.tsInDisallowConditionalTypesContext = function(i) {
3919
+ }, l.tsIsStartOfMappedType = function() {
3920
+ return this.next(), this.eat(h.plusMin) ? this.ts_isContextual(_.readonly) : (this.ts_isContextual(_.readonly) && this.next(), !!this.match(h.bracketL) && (this.next(), !!this.tsIsIdentifier() && (this.next(), this.match(h._in))));
3921
+ }, l.tsInDisallowConditionalTypesContext = function(i) {
3922
3922
  var r = this.inDisallowConditionalTypesContext;
3923
3923
  this.inDisallowConditionalTypesContext = !0;
3924
3924
  try {
@@ -3926,21 +3926,21 @@ function Ls(t) {
3926
3926
  } finally {
3927
3927
  this.inDisallowConditionalTypesContext = r;
3928
3928
  }
3929
- }, p.tsTryParseType = function() {
3929
+ }, l.tsTryParseType = function() {
3930
3930
  return this.tsEatThenParseType(h.colon);
3931
- }, p.match = function(i) {
3931
+ }, l.match = function(i) {
3932
3932
  return this.type === i;
3933
- }, p.matchJsx = function(i) {
3933
+ }, l.matchJsx = function(i) {
3934
3934
  return this.type === g.tokTypes[i];
3935
- }, p.ts_eatWithState = function(i, r, n) {
3935
+ }, l.ts_eatWithState = function(i, r, n) {
3936
3936
  if (i === n.type) {
3937
3937
  for (var c = 0; c < r; c++) this.next();
3938
3938
  return !0;
3939
3939
  }
3940
3940
  return !1;
3941
- }, p.ts_eatContextualWithState = function(i, r, n) {
3941
+ }, l.ts_eatContextualWithState = function(i, r, n) {
3942
3942
  if (ae.test(i)) {
3943
- if (this.ts_isContextualWithState(n, I[i])) {
3943
+ if (this.ts_isContextualWithState(n, _[i])) {
3944
3944
  for (var c = 0; c < r; c++) this.next();
3945
3945
  return !0;
3946
3946
  }
@@ -3949,54 +3949,54 @@ function Ls(t) {
3949
3949
  if (!this.isContextualWithState(i, n)) return !1;
3950
3950
  for (var f = 0; f < r; f++) this.next();
3951
3951
  return !0;
3952
- }, p.canHaveLeadingDecorator = function() {
3952
+ }, l.canHaveLeadingDecorator = function() {
3953
3953
  return this.match(h._class);
3954
- }, p.eatContextual = function(i) {
3955
- return ae.test(i) ? !!this.ts_isContextual(I[i]) && (this.next(), !0) : P.prototype.eatContextual.call(this, i);
3956
- }, p.tsIsExternalModuleReference = function() {
3954
+ }, l.eatContextual = function(i) {
3955
+ return ae.test(i) ? !!this.ts_isContextual(_[i]) && (this.next(), !0) : P.prototype.eatContextual.call(this, i);
3956
+ }, l.tsIsExternalModuleReference = function() {
3957
3957
  return this.isContextual("require") && this.lookaheadCharCode() === 40;
3958
- }, p.tsParseExternalModuleReference = function() {
3958
+ }, l.tsParseExternalModuleReference = function() {
3959
3959
  var i = this.startNode();
3960
3960
  return this.expectContextual("require"), this.expect(h.parenL), this.match(h.string) || this.unexpected(), i.expression = this.parseExprAtom(), this.expect(h.parenR), this.finishNode(i, "TSExternalModuleReference");
3961
- }, p.tsParseEntityName = function(i) {
3961
+ }, l.tsParseEntityName = function(i) {
3962
3962
  i === void 0 && (i = !0);
3963
3963
  for (var r = this.parseIdent(i); this.eat(h.dot); ) {
3964
3964
  var n = this.startNodeAtNode(r);
3965
3965
  n.left = r, n.right = this.parseIdent(i), r = this.finishNode(n, "TSQualifiedName");
3966
3966
  }
3967
3967
  return r;
3968
- }, p.tsParseEnumMember = function() {
3968
+ }, l.tsParseEnumMember = function() {
3969
3969
  var i = this.startNode();
3970
3970
  return i.id = this.match(h.string) ? this.parseLiteral(this.value) : this.parseIdent(!0), this.eat(h.eq) && (i.initializer = this.parseMaybeAssign()), this.finishNode(i, "TSEnumMember");
3971
- }, p.tsParseEnumDeclaration = function(i, r) {
3971
+ }, l.tsParseEnumDeclaration = function(i, r) {
3972
3972
  return r === void 0 && (r = {}), r.const && (i.const = !0), r.declare && (i.declare = !0), this.expectContextual("enum"), i.id = this.parseIdent(), this.checkLValSimple(i.id), this.expect(h.braceL), i.members = this.tsParseDelimitedList("EnumMembers", this.tsParseEnumMember.bind(this)), this.expect(h.braceR), this.finishNode(i, "TSEnumDeclaration");
3973
- }, p.tsParseModuleBlock = function() {
3973
+ }, l.tsParseModuleBlock = function() {
3974
3974
  var i = this.startNode();
3975
3975
  for (P.prototype.enterScope.call(this, 512), this.expect(h.braceL), i.body = []; this.type !== h.braceR; ) {
3976
3976
  var r = this.parseStatement(null, !0);
3977
3977
  i.body.push(r);
3978
3978
  }
3979
3979
  return this.next(), P.prototype.exitScope.call(this), this.finishNode(i, "TSModuleBlock");
3980
- }, p.tsParseAmbientExternalModuleDeclaration = function(i) {
3981
- return this.ts_isContextual(I.global) ? (i.global = !0, i.id = this.parseIdent()) : this.match(h.string) ? i.id = this.parseLiteral(this.value) : this.unexpected(), this.match(h.braceL) ? (P.prototype.enterScope.call(this, Rt), i.body = this.tsParseModuleBlock(), P.prototype.exitScope.call(this)) : P.prototype.semicolon.call(this), this.finishNode(i, "TSModuleDeclaration");
3982
- }, p.tsTryParseDeclare = function(i) {
3980
+ }, l.tsParseAmbientExternalModuleDeclaration = function(i) {
3981
+ return this.ts_isContextual(_.global) ? (i.global = !0, i.id = this.parseIdent()) : this.match(h.string) ? i.id = this.parseLiteral(this.value) : this.unexpected(), this.match(h.braceL) ? (P.prototype.enterScope.call(this, Rt), i.body = this.tsParseModuleBlock(), P.prototype.exitScope.call(this)) : P.prototype.semicolon.call(this), this.finishNode(i, "TSModuleDeclaration");
3982
+ }, l.tsTryParseDeclare = function(i) {
3983
3983
  var r = this;
3984
3984
  if (!this.isLineTerminator()) {
3985
3985
  var n, c = this.type;
3986
3986
  return this.isContextual("let") && (c = h._var, n = "let"), this.tsInAmbientContext(function() {
3987
3987
  if (c === h._function) return i.declare = !0, r.parseFunctionStatement(i, !1, !0);
3988
3988
  if (c === h._class) return i.declare = !0, r.parseClass(i, !0);
3989
- if (c === I.enum) return r.tsParseEnumDeclaration(i, { declare: !0 });
3990
- if (c === I.global) return r.tsParseAmbientExternalModuleDeclaration(i);
3989
+ if (c === _.enum) return r.tsParseEnumDeclaration(i, { declare: !0 });
3990
+ if (c === _.global) return r.tsParseAmbientExternalModuleDeclaration(i);
3991
3991
  if (c === h._const || c === h._var) return r.match(h._const) && r.isLookaheadContextual("enum") ? (r.expect(h._const), r.tsParseEnumDeclaration(i, { const: !0, declare: !0 })) : (i.declare = !0, r.parseVarStatement(i, n || r.value, !0));
3992
- if (c === I.interface) {
3992
+ if (c === _.interface) {
3993
3993
  var f = r.tsParseInterfaceDeclaration(i, { declare: !0 });
3994
3994
  if (f) return f;
3995
3995
  }
3996
3996
  return q(c) ? r.tsParseDeclaration(i, r.value, !0) : void 0;
3997
3997
  });
3998
3998
  }
3999
- }, p.tsIsListTerminator = function(i) {
3999
+ }, l.tsIsListTerminator = function(i) {
4000
4000
  switch (i) {
4001
4001
  case "EnumMembers":
4002
4002
  case "TypeMembers":
@@ -4008,7 +4008,7 @@ function Ls(t) {
4008
4008
  case "TypeParametersOrArguments":
4009
4009
  return this.tsMatchRightRelational();
4010
4010
  }
4011
- }, p.tsParseDelimitedListWorker = function(i, r, n, c) {
4011
+ }, l.tsParseDelimitedListWorker = function(i, r, n, c) {
4012
4012
  for (var f = [], m = -1; !this.tsIsListTerminator(i); ) {
4013
4013
  m = -1;
4014
4014
  var y = r();
@@ -4020,35 +4020,35 @@ function Ls(t) {
4020
4020
  m = this.lastTokStart;
4021
4021
  }
4022
4022
  return c && (c.value = m), f;
4023
- }, p.tsParseDelimitedList = function(i, r, n) {
4023
+ }, l.tsParseDelimitedList = function(i, r, n) {
4024
4024
  return (function(c) {
4025
4025
  if (c == null) throw new Error("Unexpected " + c + " value.");
4026
4026
  return c;
4027
4027
  })(this.tsParseDelimitedListWorker(i, r, !0, n));
4028
- }, p.tsParseBracketedList = function(i, r, n, c, f) {
4028
+ }, l.tsParseBracketedList = function(i, r, n, c, f) {
4029
4029
  c || this.expect(n ? h.bracketL : h.relational);
4030
4030
  var m = this.tsParseDelimitedList(i, r, f);
4031
4031
  return this.expect(n ? h.bracketR : h.relational), m;
4032
- }, p.tsParseTypeParameterName = function() {
4032
+ }, l.tsParseTypeParameterName = function() {
4033
4033
  return this.parseIdent().name;
4034
- }, p.tsEatThenParseType = function(i) {
4034
+ }, l.tsEatThenParseType = function(i) {
4035
4035
  return this.match(i) ? this.tsNextThenParseType() : void 0;
4036
- }, p.tsExpectThenParseType = function(i) {
4036
+ }, l.tsExpectThenParseType = function(i) {
4037
4037
  var r = this;
4038
4038
  return this.tsDoThenParseType(function() {
4039
4039
  return r.expect(i);
4040
4040
  });
4041
- }, p.tsNextThenParseType = function() {
4041
+ }, l.tsNextThenParseType = function() {
4042
4042
  var i = this;
4043
4043
  return this.tsDoThenParseType(function() {
4044
4044
  return i.next();
4045
4045
  });
4046
- }, p.tsDoThenParseType = function(i) {
4046
+ }, l.tsDoThenParseType = function(i) {
4047
4047
  var r = this;
4048
4048
  return this.tsInType(function() {
4049
4049
  return i(), r.tsParseType();
4050
4050
  });
4051
- }, p.tsSkipParameterStart = function() {
4051
+ }, l.tsSkipParameterStart = function() {
4052
4052
  if (q(this.type) || this.match(h._this)) return this.next(), !0;
4053
4053
  if (this.match(h.braceL)) try {
4054
4054
  return this.parseObj(!0), !0;
@@ -4064,11 +4064,11 @@ function Ls(t) {
4064
4064
  }
4065
4065
  }
4066
4066
  return !1;
4067
- }, p.tsIsUnambiguouslyStartOfFunctionType = function() {
4067
+ }, l.tsIsUnambiguouslyStartOfFunctionType = function() {
4068
4068
  return this.next(), !!(this.match(h.parenR) || this.match(h.ellipsis) || this.tsSkipParameterStart() && (this.match(h.colon) || this.match(h.comma) || this.match(h.question) || this.match(h.eq) || this.match(h.parenR) && (this.next(), this.match(h.arrow))));
4069
- }, p.tsIsStartOfFunctionType = function() {
4069
+ }, l.tsIsStartOfFunctionType = function() {
4070
4070
  return !!this.tsMatchLeftRelational() || this.match(h.parenL) && this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this));
4071
- }, p.tsInAllowConditionalTypesContext = function(i) {
4071
+ }, l.tsInAllowConditionalTypesContext = function(i) {
4072
4072
  var r = this.inDisallowConditionalTypesContext;
4073
4073
  this.inDisallowConditionalTypesContext = !1;
4074
4074
  try {
@@ -4076,34 +4076,34 @@ function Ls(t) {
4076
4076
  } finally {
4077
4077
  this.inDisallowConditionalTypesContext = r;
4078
4078
  }
4079
- }, p.tsParseBindingListForSignature = function() {
4079
+ }, l.tsParseBindingListForSignature = function() {
4080
4080
  var i = this;
4081
4081
  return P.prototype.parseBindingList.call(this, h.parenR, !0, !0).map(function(r) {
4082
4082
  return r.type !== "Identifier" && r.type !== "RestElement" && r.type !== "ObjectPattern" && r.type !== "ArrayPattern" && i.raise(r.start, w.UnsupportedSignatureParameterKind(r.type)), r;
4083
4083
  });
4084
- }, p.tsParseTypePredicateAsserts = function() {
4085
- if (this.type !== I.asserts) return !1;
4084
+ }, l.tsParseTypePredicateAsserts = function() {
4085
+ if (this.type !== _.asserts) return !1;
4086
4086
  var i = this.containsEsc;
4087
4087
  return this.next(), !(!q(this.type) && !this.match(h._this) || (i && this.raise(this.lastTokStart, "Escape sequence in keyword asserts"), 0));
4088
- }, p.tsParseThisTypeNode = function() {
4088
+ }, l.tsParseThisTypeNode = function() {
4089
4089
  var i = this.startNode();
4090
4090
  return this.next(), this.finishNode(i, "TSThisType");
4091
- }, p.tsParseTypeAnnotation = function(i, r) {
4091
+ }, l.tsParseTypeAnnotation = function(i, r) {
4092
4092
  var n = this;
4093
4093
  return i === void 0 && (i = !0), r === void 0 && (r = this.startNode()), this.tsInType(function() {
4094
4094
  i && n.expect(h.colon), r.typeAnnotation = n.tsParseType();
4095
4095
  }), this.finishNode(r, "TSTypeAnnotation");
4096
- }, p.tsParseThisTypePredicate = function(i) {
4096
+ }, l.tsParseThisTypePredicate = function(i) {
4097
4097
  this.next();
4098
4098
  var r = this.startNodeAtNode(i);
4099
4099
  return r.parameterName = i, r.typeAnnotation = this.tsParseTypeAnnotation(!1), r.asserts = !1, this.finishNode(r, "TSTypePredicate");
4100
- }, p.tsParseThisTypeOrThisTypePredicate = function() {
4100
+ }, l.tsParseThisTypeOrThisTypePredicate = function() {
4101
4101
  var i = this.tsParseThisTypeNode();
4102
4102
  return this.isContextual("is") && !this.hasPrecedingLineBreak() ? this.tsParseThisTypePredicate(i) : i;
4103
- }, p.tsParseTypePredicatePrefix = function() {
4103
+ }, l.tsParseTypePredicatePrefix = function() {
4104
4104
  var i = this.parseIdent();
4105
4105
  if (this.isContextual("is") && !this.hasPrecedingLineBreak()) return this.next(), i;
4106
- }, p.tsParseTypeOrTypePredicateAnnotation = function(i) {
4106
+ }, l.tsParseTypeOrTypePredicateAnnotation = function(i) {
4107
4107
  var r = this;
4108
4108
  return this.tsInType(function() {
4109
4109
  var n = r.startNode();
@@ -4118,26 +4118,26 @@ function Ls(t) {
4118
4118
  var x = r.tsParseTypeAnnotation(!1);
4119
4119
  return c.parameterName = y, c.typeAnnotation = x, c.asserts = f, n.typeAnnotation = r.finishNode(c, "TSTypePredicate"), r.finishNode(n, "TSTypeAnnotation");
4120
4120
  });
4121
- }, p.tsFillSignature = function(i, r) {
4121
+ }, l.tsFillSignature = function(i, r) {
4122
4122
  var n = i === h.arrow;
4123
4123
  r.typeParameters = this.tsTryParseTypeParameters(), this.expect(h.parenL), r.parameters = this.tsParseBindingListForSignature(), (n || this.match(i)) && (r.typeAnnotation = this.tsParseTypeOrTypePredicateAnnotation(i));
4124
- }, p.tsTryNextParseConstantContext = function() {
4124
+ }, l.tsTryNextParseConstantContext = function() {
4125
4125
  if (this.lookahead().type !== h._const) return null;
4126
4126
  this.next();
4127
4127
  var i = this.tsParseTypeReference();
4128
4128
  return i.typeParameters && this.raise(i.typeName.start, w.CannotFindName({ name: "const" })), i;
4129
- }, p.tsParseFunctionOrConstructorType = function(i, r) {
4129
+ }, l.tsParseFunctionOrConstructorType = function(i, r) {
4130
4130
  var n = this, c = this.startNode();
4131
4131
  return i === "TSConstructorType" && (c.abstract = !!r, r && this.next(), this.next()), this.tsInAllowConditionalTypesContext(function() {
4132
4132
  return n.tsFillSignature(h.arrow, c);
4133
4133
  }), this.finishNode(c, i);
4134
- }, p.tsParseUnionOrIntersectionType = function(i, r, n) {
4134
+ }, l.tsParseUnionOrIntersectionType = function(i, r, n) {
4135
4135
  var c = this.startNode(), f = this.eat(n), m = [];
4136
4136
  do
4137
4137
  m.push(r());
4138
4138
  while (this.eat(n));
4139
4139
  return m.length !== 1 || f ? (c.types = m, this.finishNode(c, i)) : m[0];
4140
- }, p.tsCheckTypeAnnotationForReadOnly = function(i) {
4140
+ }, l.tsCheckTypeAnnotationForReadOnly = function(i) {
4141
4141
  switch (i.typeAnnotation.type) {
4142
4142
  case "TSTupleType":
4143
4143
  case "TSArrayType":
@@ -4145,10 +4145,10 @@ function Ls(t) {
4145
4145
  default:
4146
4146
  this.raise(i.start, w.UnexpectedReadonly);
4147
4147
  }
4148
- }, p.tsParseTypeOperator = function() {
4148
+ }, l.tsParseTypeOperator = function() {
4149
4149
  var i = this.startNode(), r = this.value;
4150
4150
  return this.next(), i.operator = r, i.typeAnnotation = this.tsParseTypeOperatorOrHigher(), r === "readonly" && this.tsCheckTypeAnnotationForReadOnly(i), this.finishNode(i, "TSTypeOperator");
4151
- }, p.tsParseConstraintForInferType = function() {
4151
+ }, l.tsParseConstraintForInferType = function() {
4152
4152
  var i = this;
4153
4153
  if (this.eat(h._extends)) {
4154
4154
  var r = this.tsInDisallowConditionalTypesContext(function() {
@@ -4156,14 +4156,14 @@ function Ls(t) {
4156
4156
  });
4157
4157
  if (this.inDisallowConditionalTypesContext || !this.match(h.question)) return r;
4158
4158
  }
4159
- }, p.tsParseInferType = function() {
4159
+ }, l.tsParseInferType = function() {
4160
4160
  var i = this, r = this.startNode();
4161
4161
  this.expectContextual("infer");
4162
4162
  var n = this.startNode();
4163
4163
  return n.name = this.tsParseTypeParameterName(), n.constraint = this.tsTryParse(function() {
4164
4164
  return i.tsParseConstraintForInferType();
4165
4165
  }), r.typeParameter = this.finishNode(n, "TSTypeParameter"), this.finishNode(r, "TSInferType");
4166
- }, p.tsParseLiteralTypeNode = function() {
4166
+ }, l.tsParseLiteralTypeNode = function() {
4167
4167
  var i = this, r = this.startNode();
4168
4168
  return r.literal = (function() {
4169
4169
  switch (i.type) {
@@ -4176,22 +4176,22 @@ function Ls(t) {
4176
4176
  i.unexpected();
4177
4177
  }
4178
4178
  })(), this.finishNode(r, "TSLiteralType");
4179
- }, p.tsParseImportType = function() {
4179
+ }, l.tsParseImportType = function() {
4180
4180
  var i = this.startNode();
4181
4181
  return this.expect(h._import), this.expect(h.parenL), this.match(h.string) || this.raise(this.start, w.UnsupportedImportTypeArgument), i.argument = this.parseExprAtom(), this.expect(h.parenR), this.eat(h.dot) && (i.qualifier = this.tsParseEntityName()), this.tsMatchLeftRelational() && (i.typeParameters = this.tsParseTypeArguments()), this.finishNode(i, "TSImportType");
4182
- }, p.tsParseTypeQuery = function() {
4182
+ }, l.tsParseTypeQuery = function() {
4183
4183
  var i = this.startNode();
4184
4184
  return this.expect(h._typeof), i.exprName = this.match(h._import) ? this.tsParseImportType() : this.tsParseEntityName(), !this.hasPrecedingLineBreak() && this.tsMatchLeftRelational() && (i.typeParameters = this.tsParseTypeArguments()), this.finishNode(i, "TSTypeQuery");
4185
- }, p.tsParseMappedTypeParameter = function() {
4185
+ }, l.tsParseMappedTypeParameter = function() {
4186
4186
  var i = this.startNode();
4187
4187
  return i.name = this.tsParseTypeParameterName(), i.constraint = this.tsExpectThenParseType(h._in), this.finishNode(i, "TSTypeParameter");
4188
- }, p.tsParseMappedType = function() {
4188
+ }, l.tsParseMappedType = function() {
4189
4189
  var i = this.startNode();
4190
4190
  return this.expect(h.braceL), this.match(h.plusMin) ? (i.readonly = this.value, this.next(), this.expectContextual("readonly")) : this.eatContextual("readonly") && (i.readonly = !0), this.expect(h.bracketL), i.typeParameter = this.tsParseMappedTypeParameter(), i.nameType = this.eatContextual("as") ? this.tsParseType() : null, this.expect(h.bracketR), this.match(h.plusMin) ? (i.optional = this.value, this.next(), this.expect(h.question)) : this.eat(h.question) && (i.optional = !0), i.typeAnnotation = this.tsTryParseType(), this.semicolon(), this.expect(h.braceR), this.finishNode(i, "TSMappedType");
4191
- }, p.tsParseTypeLiteral = function() {
4191
+ }, l.tsParseTypeLiteral = function() {
4192
4192
  var i = this.startNode();
4193
4193
  return i.members = this.tsParseObjectTypeMembers(), this.finishNode(i, "TSTypeLiteral");
4194
- }, p.tsParseTupleElementType = function() {
4194
+ }, l.tsParseTupleElementType = function() {
4195
4195
  var i = this.startLoc, r = this.start, n = this.eat(h.ellipsis), c = this.tsParseType(), f = this.eat(h.question);
4196
4196
  if (this.eat(h.colon)) {
4197
4197
  var m = this.startNodeAtNode(c);
@@ -4205,7 +4205,7 @@ function Ls(t) {
4205
4205
  x.typeAnnotation = c, c = this.finishNode(x, "TSRestType");
4206
4206
  }
4207
4207
  return c;
4208
- }, p.tsParseTupleType = function() {
4208
+ }, l.tsParseTupleType = function() {
4209
4209
  var i = this, r = this.startNode();
4210
4210
  r.elementTypes = this.tsParseBracketedList("TupleElementTypes", this.tsParseTupleElementType.bind(this), !0, !1);
4211
4211
  var n = !1, c = null;
@@ -4217,20 +4217,20 @@ function Ls(t) {
4217
4217
  var x = y === "TSNamedTupleMember";
4218
4218
  c != null || (c = x), c !== x && i.raise(f.start, w.MixedLabeledAndUnlabeledElements);
4219
4219
  }), this.finishNode(r, "TSTupleType");
4220
- }, p.tsParseTemplateLiteralType = function() {
4220
+ }, l.tsParseTemplateLiteralType = function() {
4221
4221
  var i = this.startNode();
4222
4222
  return i.literal = this.parseTemplate({ isTagged: !1 }), this.finishNode(i, "TSLiteralType");
4223
- }, p.tsParseTypeReference = function() {
4223
+ }, l.tsParseTypeReference = function() {
4224
4224
  var i = this.startNode();
4225
4225
  return i.typeName = this.tsParseEntityName(), !this.hasPrecedingLineBreak() && this.tsMatchLeftRelational() && (i.typeParameters = this.tsParseTypeArguments()), this.finishNode(i, "TSTypeReference");
4226
- }, p.tsMatchLeftRelational = function() {
4226
+ }, l.tsMatchLeftRelational = function() {
4227
4227
  return this.match(h.relational) && this.value === "<";
4228
- }, p.tsMatchRightRelational = function() {
4228
+ }, l.tsMatchRightRelational = function() {
4229
4229
  return this.match(h.relational) && this.value === ">";
4230
- }, p.tsParseParenthesizedType = function() {
4230
+ }, l.tsParseParenthesizedType = function() {
4231
4231
  var i = this.startNode();
4232
4232
  return this.expect(h.parenL), i.typeAnnotation = this.tsParseType(), this.expect(h.parenR), this.finishNode(i, "TSParenthesizedType");
4233
- }, p.tsParseNonArrayType = function() {
4233
+ }, l.tsParseNonArrayType = function() {
4234
4234
  switch (this.type) {
4235
4235
  case h.string:
4236
4236
  case h.num:
@@ -4295,7 +4295,7 @@ function Ls(t) {
4295
4295
  }
4296
4296
  }
4297
4297
  this.unexpected();
4298
- }, p.tsParseArrayTypeOrHigher = function() {
4298
+ }, l.tsParseArrayTypeOrHigher = function() {
4299
4299
  for (var i = this.tsParseNonArrayType(); !this.hasPrecedingLineBreak() && this.eat(h.bracketL); ) if (this.match(h.bracketR)) {
4300
4300
  var r = this.startNodeAtNode(i);
4301
4301
  r.elementType = i, this.expect(h.bracketR), i = this.finishNode(r, "TSArrayType");
@@ -4304,18 +4304,18 @@ function Ls(t) {
4304
4304
  n.objectType = i, n.indexType = this.tsParseType(), this.expect(h.bracketR), i = this.finishNode(n, "TSIndexedAccessType");
4305
4305
  }
4306
4306
  return i;
4307
- }, p.tsParseTypeOperatorOrHigher = function() {
4307
+ }, l.tsParseTypeOperatorOrHigher = function() {
4308
4308
  var i = this;
4309
4309
  return wi(this.type) && !this.containsEsc ? this.tsParseTypeOperator() : this.isContextual("infer") ? this.tsParseInferType() : this.tsInAllowConditionalTypesContext(function() {
4310
4310
  return i.tsParseArrayTypeOrHigher();
4311
4311
  });
4312
- }, p.tsParseIntersectionTypeOrHigher = function() {
4312
+ }, l.tsParseIntersectionTypeOrHigher = function() {
4313
4313
  return this.tsParseUnionOrIntersectionType("TSIntersectionType", this.tsParseTypeOperatorOrHigher.bind(this), h.bitwiseAND);
4314
- }, p.tsParseUnionTypeOrHigher = function() {
4314
+ }, l.tsParseUnionTypeOrHigher = function() {
4315
4315
  return this.tsParseUnionOrIntersectionType("TSUnionType", this.tsParseIntersectionTypeOrHigher.bind(this), h.bitwiseOR);
4316
- }, p.tsParseNonConditionalType = function() {
4316
+ }, l.tsParseNonConditionalType = function() {
4317
4317
  return this.tsIsStartOfFunctionType() ? this.tsParseFunctionOrConstructorType("TSFunctionType") : this.match(h._new) ? this.tsParseFunctionOrConstructorType("TSConstructorType") : this.isAbstractConstructorSignature() ? this.tsParseFunctionOrConstructorType("TSConstructorType", !0) : this.tsParseUnionTypeOrHigher();
4318
- }, p.tsParseType = function() {
4318
+ }, l.tsParseType = function() {
4319
4319
  var i = this;
4320
4320
  Ue(this.inType);
4321
4321
  var r = this.tsParseNonConditionalType();
@@ -4328,9 +4328,9 @@ function Ls(t) {
4328
4328
  }), this.expect(h.colon), n.falseType = this.tsInAllowConditionalTypesContext(function() {
4329
4329
  return i.tsParseType();
4330
4330
  }), this.finishNode(n, "TSConditionalType");
4331
- }, p.tsIsUnambiguouslyIndexSignature = function() {
4331
+ }, l.tsIsUnambiguouslyIndexSignature = function() {
4332
4332
  return this.next(), !!q(this.type) && (this.next(), this.match(h.colon));
4333
- }, p.tsInType = function(i) {
4333
+ }, l.tsInType = function(i) {
4334
4334
  var r = this.inType;
4335
4335
  this.inType = !0;
4336
4336
  try {
@@ -4338,7 +4338,7 @@ function Ls(t) {
4338
4338
  } finally {
4339
4339
  this.inType = r;
4340
4340
  }
4341
- }, p.tsTryParseIndexSignature = function(i) {
4341
+ }, l.tsTryParseIndexSignature = function(i) {
4342
4342
  if (this.match(h.bracketL) && this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))) {
4343
4343
  this.expect(h.bracketL);
4344
4344
  var r = this.parseIdent();
@@ -4346,27 +4346,27 @@ function Ls(t) {
4346
4346
  var n = this.tsTryParseTypeAnnotation();
4347
4347
  return n && (i.typeAnnotation = n), this.tsParseTypeMemberSemicolon(), this.finishNode(i, "TSIndexSignature");
4348
4348
  }
4349
- }, p.tsParseNoneModifiers = function(i) {
4349
+ }, l.tsParseNoneModifiers = function(i) {
4350
4350
  this.tsParseModifiers({ modified: i, allowedModifiers: [], disallowedModifiers: ["in", "out"], errorTemplate: w.InvalidModifierOnTypeParameterPositions });
4351
- }, p.tsParseTypeParameter = function(i) {
4351
+ }, l.tsParseTypeParameter = function(i) {
4352
4352
  i === void 0 && (i = this.tsParseNoneModifiers.bind(this));
4353
4353
  var r = this.startNode();
4354
4354
  return i(r), r.name = this.tsParseTypeParameterName(), r.constraint = this.tsEatThenParseType(h._extends), r.default = this.tsEatThenParseType(h.eq), this.finishNode(r, "TSTypeParameter");
4355
- }, p.tsParseTypeParameters = function(i) {
4355
+ }, l.tsParseTypeParameters = function(i) {
4356
4356
  var r = this.startNode();
4357
4357
  this.tsMatchLeftRelational() || this.matchJsx("jsxTagStart") ? this.next() : this.unexpected();
4358
4358
  var n = { value: -1 };
4359
4359
  return r.params = this.tsParseBracketedList("TypeParametersOrArguments", this.tsParseTypeParameter.bind(this, i), !1, !0, n), r.params.length === 0 && this.raise(this.start, w.EmptyTypeParameters), n.value !== -1 && this.addExtra(r, "trailingComma", n.value), this.finishNode(r, "TSTypeParameterDeclaration");
4360
- }, p.tsTryParseTypeParameters = function(i) {
4360
+ }, l.tsTryParseTypeParameters = function(i) {
4361
4361
  if (this.tsMatchLeftRelational()) return this.tsParseTypeParameters(i);
4362
- }, p.tsTryParse = function(i) {
4362
+ }, l.tsTryParse = function(i) {
4363
4363
  var r = this.getCurLookaheadState(), n = i();
4364
4364
  return n !== void 0 && n !== !1 ? n : void this.setLookaheadState(r);
4365
- }, p.tsTokenCanFollowModifier = function() {
4365
+ }, l.tsTokenCanFollowModifier = function() {
4366
4366
  return (this.match(h.bracketL) || this.match(h.braceL) || this.match(h.star) || this.match(h.ellipsis) || this.match(h.privateId) || this.isLiteralPropertyName()) && !this.hasPrecedingLineBreak();
4367
- }, p.tsNextTokenCanFollowModifier = function() {
4367
+ }, l.tsNextTokenCanFollowModifier = function() {
4368
4368
  return this.next(!0), this.tsTokenCanFollowModifier();
4369
- }, p.tsParseModifier = function(i, r) {
4369
+ }, l.tsParseModifier = function(i, r) {
4370
4370
  if (q(this.type) || this.type === h._in) {
4371
4371
  var n = this.value;
4372
4372
  if (i.indexOf(n) !== -1 && !this.containsEsc) {
@@ -4374,47 +4374,47 @@ function Ls(t) {
4374
4374
  if (this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this))) return n;
4375
4375
  }
4376
4376
  }
4377
- }, p.tsParseModifiersByMap = function(i) {
4377
+ }, l.tsParseModifiersByMap = function(i) {
4378
4378
  for (var r = i.modified, n = i.map, c = 0, f = Object.keys(n); c < f.length; c++) {
4379
4379
  var m = f[c];
4380
4380
  r[m] = n[m];
4381
4381
  }
4382
- }, p.tsParseModifiers = function(i) {
4383
- for (var r = this, n = i.modified, c = i.allowedModifiers, f = i.disallowedModifiers, m = i.stopOnStartOfClassStaticBlock, y = i.errorTemplate, x = y === void 0 ? w.InvalidModifierOnTypeMember : y, b = {}, S = function(z, W, K, X) {
4384
- W === K && n[X] && r.raise(z.column, w.InvalidModifiersOrder({ orderedModifiers: [K, X] }));
4385
- }, N = function(z, W, K, X) {
4386
- (n[K] && W === X || n[X] && W === K) && r.raise(z.column, w.IncompatibleModifiers({ modifiers: [K, X] }));
4382
+ }, l.tsParseModifiers = function(i) {
4383
+ for (var r = this, n = i.modified, c = i.allowedModifiers, f = i.disallowedModifiers, m = i.stopOnStartOfClassStaticBlock, y = i.errorTemplate, x = y === void 0 ? w.InvalidModifierOnTypeMember : y, b = {}, S = function(W, z, K, $) {
4384
+ z === K && n[$] && r.raise(W.column, w.InvalidModifiersOrder({ orderedModifiers: [K, $] }));
4385
+ }, I = function(W, z, K, $) {
4386
+ (n[K] && z === $ || n[$] && z === K) && r.raise(W.column, w.IncompatibleModifiers({ modifiers: [K, $] }));
4387
4387
  }; ; ) {
4388
- var O = this.startLoc, A = this.tsParseModifier(c.concat(f ?? []), m);
4388
+ var R = this.startLoc, A = this.tsParseModifier(c.concat(f ?? []), m);
4389
4389
  if (!A) break;
4390
- qe(A) ? n.accessibility ? this.raise(this.start, w.DuplicateAccessibilityModifier()) : (S(O, A, A, "override"), S(O, A, A, "static"), S(O, A, A, "readonly"), S(O, A, A, "accessor"), b.accessibility = A, n.accessibility = A) : Ns(A) ? n[A] ? this.raise(this.start, w.DuplicateModifier({ modifier: A })) : (S(O, A, "in", "out"), b[A] = A, n[A] = !0) : Is(A) ? n[A] ? this.raise(this.start, w.DuplicateModifier({ modifier: A })) : (N(O, A, "accessor", "readonly"), N(O, A, "accessor", "static"), N(O, A, "accessor", "override"), b[A] = A, n[A] = !0) : Object.hasOwnProperty.call(n, A) ? this.raise(this.start, w.DuplicateModifier({ modifier: A })) : (S(O, A, "static", "readonly"), S(O, A, "static", "override"), S(O, A, "override", "readonly"), S(O, A, "abstract", "override"), N(O, A, "declare", "override"), N(O, A, "static", "abstract"), b[A] = A, n[A] = !0), f != null && f.includes(A) && this.raise(this.start, x);
4390
+ qe(A) ? n.accessibility ? this.raise(this.start, w.DuplicateAccessibilityModifier()) : (S(R, A, A, "override"), S(R, A, A, "static"), S(R, A, A, "readonly"), S(R, A, A, "accessor"), b.accessibility = A, n.accessibility = A) : Ns(A) ? n[A] ? this.raise(this.start, w.DuplicateModifier({ modifier: A })) : (S(R, A, "in", "out"), b[A] = A, n[A] = !0) : Is(A) ? n[A] ? this.raise(this.start, w.DuplicateModifier({ modifier: A })) : (I(R, A, "accessor", "readonly"), I(R, A, "accessor", "static"), I(R, A, "accessor", "override"), b[A] = A, n[A] = !0) : Object.hasOwnProperty.call(n, A) ? this.raise(this.start, w.DuplicateModifier({ modifier: A })) : (S(R, A, "static", "readonly"), S(R, A, "static", "override"), S(R, A, "override", "readonly"), S(R, A, "abstract", "override"), I(R, A, "declare", "override"), I(R, A, "static", "abstract"), b[A] = A, n[A] = !0), f != null && f.includes(A) && this.raise(this.start, x);
4391
4391
  }
4392
4392
  return b;
4393
- }, p.tsParseInOutModifiers = function(i) {
4393
+ }, l.tsParseInOutModifiers = function(i) {
4394
4394
  this.tsParseModifiers({ modified: i, allowedModifiers: ["in", "out"], disallowedModifiers: ["public", "private", "protected", "readonly", "declare", "abstract", "override"], errorTemplate: w.InvalidModifierOnTypeParameter });
4395
- }, p.tsParseTypeArguments = function() {
4395
+ }, l.tsParseTypeArguments = function() {
4396
4396
  var i = this, r = this.startNode();
4397
4397
  return r.params = this.tsInType(function() {
4398
4398
  return i.tsInNoContext(function() {
4399
4399
  return i.expect(h.relational), i.tsParseDelimitedList("TypeParametersOrArguments", i.tsParseType.bind(i));
4400
4400
  });
4401
4401
  }), r.params.length === 0 && this.raise(this.start, w.EmptyTypeArguments), this.exprAllowed = !1, this.expect(h.relational), this.finishNode(r, "TSTypeParameterInstantiation");
4402
- }, p.tsParseHeritageClause = function(i) {
4402
+ }, l.tsParseHeritageClause = function(i) {
4403
4403
  var r = this, n = this.start, c = this.tsParseDelimitedList("HeritageClauseElement", function() {
4404
4404
  var f = r.startNode();
4405
4405
  return f.expression = r.tsParseEntityName(), r.tsMatchLeftRelational() && (f.typeParameters = r.tsParseTypeArguments()), r.finishNode(f, "TSExpressionWithTypeArguments");
4406
4406
  });
4407
4407
  return c.length || this.raise(n, w.EmptyHeritageClauseType({ token: i })), c;
4408
- }, p.tsParseTypeMemberSemicolon = function() {
4408
+ }, l.tsParseTypeMemberSemicolon = function() {
4409
4409
  this.eat(h.comma) || this.isLineTerminator() || this.expect(h.semi);
4410
- }, p.tsTryParseAndCatch = function(i) {
4410
+ }, l.tsTryParseAndCatch = function(i) {
4411
4411
  var r = this.tryParse(function(n) {
4412
4412
  return i() || n();
4413
4413
  });
4414
4414
  if (!r.aborted && r.node) return r.error && this.setLookaheadState(r.failState), r.node;
4415
- }, p.tsParseSignatureMember = function(i, r) {
4415
+ }, l.tsParseSignatureMember = function(i, r) {
4416
4416
  return this.tsFillSignature(h.colon, r), this.tsParseTypeMemberSemicolon(), this.finishNode(r, i);
4417
- }, p.tsParsePropertyOrMethodSignature = function(i, r) {
4417
+ }, l.tsParsePropertyOrMethodSignature = function(i, r) {
4418
4418
  this.eat(h.question) && (i.optional = !0);
4419
4419
  var n = i;
4420
4420
  if (this.match(h.parenL) || this.tsMatchLeftRelational()) {
@@ -4437,7 +4437,7 @@ function Ls(t) {
4437
4437
  r && (x.readonly = !0);
4438
4438
  var b = this.tsTryParseTypeAnnotation();
4439
4439
  return b && (x.typeAnnotation = b), this.tsParseTypeMemberSemicolon(), this.finishNode(x, "TSPropertySignature");
4440
- }, p.tsParseTypeMember = function() {
4440
+ }, l.tsParseTypeMember = function() {
4441
4441
  var i = this.startNode();
4442
4442
  if (this.match(h.parenL) || this.tsMatchLeftRelational()) return this.tsParseSignatureMember("TSCallSignatureDeclaration", i);
4443
4443
  if (this.match(h._new)) {
@@ -4445,26 +4445,26 @@ function Ls(t) {
4445
4445
  return this.next(), this.match(h.parenL) || this.tsMatchLeftRelational() ? this.tsParseSignatureMember("TSConstructSignatureDeclaration", i) : (i.key = this.createIdentifier(r, "new"), this.tsParsePropertyOrMethodSignature(i, !1));
4446
4446
  }
4447
4447
  return this.tsParseModifiers({ modified: i, allowedModifiers: ["readonly"], disallowedModifiers: ["declare", "abstract", "private", "protected", "public", "static", "override"] }), this.tsTryParseIndexSignature(i) || (this.parsePropertyName(i), i.computed || i.key.type !== "Identifier" || i.key.name !== "get" && i.key.name !== "set" || !this.tsTokenCanFollowModifier() || (i.kind = i.key.name, this.parsePropertyName(i)), this.tsParsePropertyOrMethodSignature(i, !!i.readonly));
4448
- }, p.tsParseList = function(i, r) {
4448
+ }, l.tsParseList = function(i, r) {
4449
4449
  for (var n = []; !this.tsIsListTerminator(i); ) n.push(r());
4450
4450
  return n;
4451
- }, p.tsParseObjectTypeMembers = function() {
4451
+ }, l.tsParseObjectTypeMembers = function() {
4452
4452
  this.expect(h.braceL);
4453
4453
  var i = this.tsParseList("TypeMembers", this.tsParseTypeMember.bind(this));
4454
4454
  return this.expect(h.braceR), i;
4455
- }, p.tsParseInterfaceDeclaration = function(i, r) {
4455
+ }, l.tsParseInterfaceDeclaration = function(i, r) {
4456
4456
  if (r === void 0 && (r = {}), this.hasFollowingLineBreak()) return null;
4457
4457
  this.expectContextual("interface"), r.declare && (i.declare = !0), q(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(h._extends) && (i.extends = this.tsParseHeritageClause("extends"));
4458
4458
  var n = this.startNode();
4459
4459
  return n.body = this.tsInType(this.tsParseObjectTypeMembers.bind(this)), i.body = this.finishNode(n, "TSInterfaceBody"), this.finishNode(i, "TSInterfaceDeclaration");
4460
- }, p.tsParseAbstractDeclaration = function(i) {
4460
+ }, l.tsParseAbstractDeclaration = function(i) {
4461
4461
  if (this.match(h._class)) return i.abstract = !0, this.parseClass(i, !0);
4462
- if (this.ts_isContextual(I.interface)) {
4462
+ if (this.ts_isContextual(_.interface)) {
4463
4463
  if (!this.hasFollowingLineBreak()) return i.abstract = !0, this.tsParseInterfaceDeclaration(i);
4464
4464
  } else this.unexpected(i.start);
4465
- }, p.tsIsDeclarationStart = function() {
4465
+ }, l.tsIsDeclarationStart = function() {
4466
4466
  return Ei(this.type);
4467
- }, p.tsParseExpressionStatement = function(i, r) {
4467
+ }, l.tsParseExpressionStatement = function(i, r) {
4468
4468
  switch (r.name) {
4469
4469
  case "declare":
4470
4470
  var n = this.tsTryParseDeclare(i);
@@ -4480,13 +4480,13 @@ function Ls(t) {
4480
4480
  default:
4481
4481
  return this.tsParseDeclaration(i, r.name, !1);
4482
4482
  }
4483
- }, p.tsParseModuleReference = function() {
4483
+ }, l.tsParseModuleReference = function() {
4484
4484
  return this.tsIsExternalModuleReference() ? this.tsParseExternalModuleReference() : this.tsParseEntityName(!1);
4485
- }, p.tsIsExportDefaultSpecifier = function() {
4485
+ }, l.tsIsExportDefaultSpecifier = function() {
4486
4486
  var i = this.type, r = this.isAsyncFunction(), n = this.isLet();
4487
4487
  if (q(i)) {
4488
4488
  if (r && !this.containsEsc || n) return !1;
4489
- if ((i === I.type || i === I.interface) && !this.containsEsc) {
4489
+ if ((i === _.type || i === _.interface) && !this.containsEsc) {
4490
4490
  var c = this.lookahead();
4491
4491
  if (q(c.type) && !this.isContextualWithState("from", c) || c.type === h.braceL) return !1;
4492
4492
  }
@@ -4498,7 +4498,7 @@ function Ls(t) {
4498
4498
  return y === 34 || y === 39;
4499
4499
  }
4500
4500
  return !1;
4501
- }, p.tsInAmbientContext = function(i) {
4501
+ }, l.tsInAmbientContext = function(i) {
4502
4502
  var r = this.isAmbientContext;
4503
4503
  this.isAmbientContext = !0;
4504
4504
  try {
@@ -4506,26 +4506,26 @@ function Ls(t) {
4506
4506
  } finally {
4507
4507
  this.isAmbientContext = r;
4508
4508
  }
4509
- }, p.tsCheckLineTerminator = function(i) {
4509
+ }, l.tsCheckLineTerminator = function(i) {
4510
4510
  return i ? !this.hasFollowingLineBreak() && (this.next(), !0) : !this.isLineTerminator();
4511
- }, p.tsParseModuleOrNamespaceDeclaration = function(i, r) {
4511
+ }, l.tsParseModuleOrNamespaceDeclaration = function(i, r) {
4512
4512
  if (r === void 0 && (r = !1), i.id = this.parseIdent(), r || this.checkLValSimple(i.id, 8), this.eat(h.dot)) {
4513
4513
  var n = this.startNode();
4514
4514
  this.tsParseModuleOrNamespaceDeclaration(n, !0), i.body = n;
4515
4515
  } else P.prototype.enterScope.call(this, Rt), i.body = this.tsParseModuleBlock(), P.prototype.exitScope.call(this);
4516
4516
  return this.finishNode(i, "TSModuleDeclaration");
4517
- }, p.checkLValSimple = function(i, r, n) {
4517
+ }, l.checkLValSimple = function(i, r, n) {
4518
4518
  return r === void 0 && (r = 0), P.prototype.checkLValSimple.call(this, i, r, n);
4519
- }, p.tsParseTypeAliasDeclaration = function(i) {
4519
+ }, l.tsParseTypeAliasDeclaration = function(i) {
4520
4520
  var r = this;
4521
4521
  return i.id = this.parseIdent(), this.checkLValSimple(i.id, 6), i.typeAnnotation = this.tsInType(function() {
4522
- if (i.typeParameters = r.tsTryParseTypeParameters(r.tsParseInOutModifiers.bind(r)), r.expect(h.eq), r.ts_isContextual(I.interface) && r.lookahead().type !== h.dot) {
4522
+ if (i.typeParameters = r.tsTryParseTypeParameters(r.tsParseInOutModifiers.bind(r)), r.expect(h.eq), r.ts_isContextual(_.interface) && r.lookahead().type !== h.dot) {
4523
4523
  var n = r.startNode();
4524
4524
  return r.next(), r.finishNode(n, "TSIntrinsicKeyword");
4525
4525
  }
4526
4526
  return r.tsParseType();
4527
4527
  }), this.semicolon(), this.finishNode(i, "TSTypeAliasDeclaration");
4528
- }, p.tsParseDeclaration = function(i, r, n) {
4528
+ }, l.tsParseDeclaration = function(i, r, n) {
4529
4529
  switch (r) {
4530
4530
  case "abstract":
4531
4531
  if (this.tsCheckLineTerminator(n) && (this.match(h._class) || q(this.type))) return this.tsParseAbstractDeclaration(i);
@@ -4542,18 +4542,18 @@ function Ls(t) {
4542
4542
  case "type":
4543
4543
  if (this.tsCheckLineTerminator(n) && q(this.type)) return this.tsParseTypeAliasDeclaration(i);
4544
4544
  }
4545
- }, p.tsTryParseExportDeclaration = function() {
4545
+ }, l.tsTryParseExportDeclaration = function() {
4546
4546
  return this.tsParseDeclaration(this.startNode(), this.value, !0);
4547
- }, p.tsParseImportEqualsDeclaration = function(i, r) {
4547
+ }, l.tsParseImportEqualsDeclaration = function(i, r) {
4548
4548
  i.isExport = r || !1, i.id = this.parseIdent(), this.checkLValSimple(i.id, 2), P.prototype.expect.call(this, h.eq);
4549
4549
  var n = this.tsParseModuleReference();
4550
4550
  return i.importKind === "type" && n.type !== "TSExternalModuleReference" && this.raise(n.start, w.ImportAliasHasImportType), i.moduleReference = n, P.prototype.semicolon.call(this), this.finishNode(i, "TSImportEqualsDeclaration");
4551
- }, p.isExportDefaultSpecifier = function() {
4551
+ }, l.isExportDefaultSpecifier = function() {
4552
4552
  if (this.tsIsDeclarationStart()) return !1;
4553
4553
  var i = this.type;
4554
4554
  if (q(i)) {
4555
4555
  if (this.isContextual("async") || this.isContextual("let")) return !1;
4556
- if ((i === I.type || i === I.interface) && !this.containsEsc) {
4556
+ if ((i === _.type || i === _.interface) && !this.containsEsc) {
4557
4557
  var r = this.lookahead();
4558
4558
  if (q(r.type) && !this.isContextualWithState("from", r) || r.type === h.braceL) return !1;
4559
4559
  }
@@ -4565,23 +4565,23 @@ function Ls(t) {
4565
4565
  return f === 34 || f === 39;
4566
4566
  }
4567
4567
  return !1;
4568
- }, p.parseTemplate = function(i) {
4568
+ }, l.parseTemplate = function(i) {
4569
4569
  var r = (i === void 0 ? {} : i).isTagged, n = r !== void 0 && r, c = this.startNode();
4570
4570
  this.next(), c.expressions = [];
4571
4571
  var f = this.parseTemplateElement({ isTagged: n });
4572
4572
  for (c.quasis = [f]; !f.tail; ) this.type === h.eof && this.raise(this.pos, "Unterminated template literal"), this.expect(h.dollarBraceL), c.expressions.push(this.inType ? this.tsParseType() : this.parseExpression()), this.expect(h.braceR), c.quasis.push(f = this.parseTemplateElement({ isTagged: n }));
4573
4573
  return this.next(), this.finishNode(c, "TemplateLiteral");
4574
- }, p.parseFunction = function(i, r, n, c, f) {
4574
+ }, l.parseFunction = function(i, r, n, c, f) {
4575
4575
  this.initFunction(i), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !c) && (this.type === h.star && 2 & r && this.unexpected(), i.generator = this.eat(h.star)), this.options.ecmaVersion >= 8 && (i.async = !!c), 1 & r && (i.id = 4 & r && this.type !== h.name ? null : this.parseIdent());
4576
4576
  var m = this.yieldPos, y = this.awaitPos, x = this.awaitIdentPos, b = this.maybeInArrowParameters;
4577
4577
  this.maybeInArrowParameters = !1, this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(fe(i.async, i.generator)), 1 & r || (i.id = this.type === h.name ? this.parseIdent() : null), this.parseFunctionParams(i);
4578
4578
  var S = 1 & r;
4579
4579
  return this.parseFunctionBody(i, n, !1, f, { isFunctionDeclaration: S }), this.yieldPos = m, this.awaitPos = y, this.awaitIdentPos = x, 1 & r && i.id && !(2 & r) && this.checkLValSimple(i.id, i.body ? this.strict || i.generator || i.async ? this.treatFunctionsAsVar ? 1 : 2 : 3 : 0), this.maybeInArrowParameters = b, this.finishNode(i, S ? "FunctionDeclaration" : "FunctionExpression");
4580
- }, p.parseFunctionBody = function(i, r, n, c, f) {
4580
+ }, l.parseFunctionBody = function(i, r, n, c, f) {
4581
4581
  r === void 0 && (r = !1), n === void 0 && (n = !1), c === void 0 && (c = !1), this.match(h.colon) && (i.returnType = this.tsParseTypeOrTypePredicateAnnotation(h.colon));
4582
4582
  var m = f != null && f.isFunctionDeclaration ? "TSDeclareFunction" : f != null && f.isClassMethod ? "TSDeclareMethod" : void 0;
4583
4583
  return m && !this.match(h.braceL) && this.isLineTerminator() ? this.finishNode(i, m) : m === "TSDeclareFunction" && this.isAmbientContext && (this.raise(i.start, w.DeclareFunctionHasImplementation), i.declare) ? (P.prototype.parseFunctionBody.call(this, i, r, n, !1), this.finishNode(i, m)) : (P.prototype.parseFunctionBody.call(this, i, r, n, c), i);
4584
- }, p.parseNew = function() {
4584
+ }, l.parseNew = function() {
4585
4585
  var i;
4586
4586
  this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword new");
4587
4587
  var r = this.startNode(), n = this.parseIdent(!0);
@@ -4594,16 +4594,16 @@ function Ls(t) {
4594
4594
  r.callee = this.parseSubscripts(this.parseExprAtom(), f, m, !0, !1), y && r.callee.type === "ImportExpression" && this.raise(f, "Cannot use new with import()");
4595
4595
  var x = r.callee;
4596
4596
  return x.type !== "TSInstantiationExpression" || (i = x.extra) != null && i.parenthesized || (r.typeParameters = x.typeParameters, r.callee = x.expression), r.arguments = this.eat(h.parenL) ? this.parseExprList(h.parenR, this.options.ecmaVersion >= 8, !1) : [], this.finishNode(r, "NewExpression");
4597
- }, p.parseExprOp = function(i, r, n, c, f) {
4597
+ }, l.parseExprOp = function(i, r, n, c, f) {
4598
4598
  var m;
4599
- if (h._in.binop > c && !this.hasPrecedingLineBreak() && (this.isContextual("as") && (m = "TSAsExpression"), l && this.isContextual("satisfies") && (m = "TSSatisfiesExpression"), m)) {
4599
+ if (h._in.binop > c && !this.hasPrecedingLineBreak() && (this.isContextual("as") && (m = "TSAsExpression"), p && this.isContextual("satisfies") && (m = "TSSatisfiesExpression"), m)) {
4600
4600
  var y = this.startNodeAt(r, n);
4601
4601
  y.expression = i;
4602
4602
  var x = this.tsTryNextParseConstantContext();
4603
4603
  return y.typeAnnotation = x || this.tsNextThenParseType(), this.finishNode(y, m), this.reScan_lt_gt(), this.parseExprOp(y, r, n, c, f);
4604
4604
  }
4605
4605
  return P.prototype.parseExprOp.call(this, i, r, n, c, f);
4606
- }, p.parseImportSpecifiers = function() {
4606
+ }, l.parseImportSpecifiers = function() {
4607
4607
  var i = [], r = !0;
4608
4608
  if (g.tokenIsIdentifier(this.type) && (i.push(this.parseImportDefaultSpecifier()), !this.eat(h.comma))) return i;
4609
4609
  if (this.type === h.star) return i.push(this.parseImportNamespaceSpecifier()), i;
@@ -4613,7 +4613,7 @@ function Ls(t) {
4613
4613
  i.push(this.parseImportSpecifier());
4614
4614
  }
4615
4615
  return i;
4616
- }, p.parseImport = function(i) {
4616
+ }, l.parseImport = function(i) {
4617
4617
  var r = this.lookahead();
4618
4618
  if (i.importKind = "value", this.importOrExportOuterKind = "value", q(r.type) || this.match(h.star) || this.match(h.braceL)) {
4619
4619
  var n = this.lookahead(2);
@@ -4624,19 +4624,19 @@ function Ls(t) {
4624
4624
  }
4625
4625
  }
4626
4626
  return this.next(), this.type === h.string ? (i.specifiers = [], i.source = this.parseExprAtom()) : (i.specifiers = this.parseImportSpecifiers(), this.expectContextual("from"), i.source = this.type === h.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;
4627
- }, p.parseExportDefaultDeclaration = function() {
4627
+ }, l.parseExportDefaultDeclaration = function() {
4628
4628
  if (this.isAbstractClass()) {
4629
4629
  var i = this.startNode();
4630
4630
  return this.next(), i.abstract = !0, this.parseClass(i, !0);
4631
4631
  }
4632
- if (this.match(I.interface)) {
4632
+ if (this.match(_.interface)) {
4633
4633
  var r = this.tsParseInterfaceDeclaration(this.startNode());
4634
4634
  if (r) return r;
4635
4635
  }
4636
4636
  return P.prototype.parseExportDefaultDeclaration.call(this);
4637
- }, p.parseExportAllDeclaration = function(i, r) {
4637
+ }, l.parseExportAllDeclaration = function(i, r) {
4638
4638
  return this.options.ecmaVersion >= 11 && (this.eatContextual("as") ? (i.exported = this.parseModuleExportName(), this.checkExport(r, i.exported, this.lastTokStart)) : i.exported = null), this.expectContextual("from"), this.type !== h.string && this.unexpected(), i.source = this.parseExprAtom(), this.parseMaybeImportAttributes(i), this.semicolon(), this.finishNode(i, "ExportAllDeclaration");
4639
- }, p.parseDynamicImport = function(i) {
4639
+ }, l.parseDynamicImport = function(i) {
4640
4640
  if (this.next(), i.source = this.parseMaybeAssign(), this.eat(h.comma)) {
4641
4641
  var r = this.parseExpression();
4642
4642
  i.arguments = [r];
@@ -4646,10 +4646,10 @@ function Ls(t) {
4646
4646
  this.eat(h.comma) && this.eat(h.parenR) ? this.raiseRecoverable(n, "Trailing comma is not allowed in import()") : this.unexpected(n);
4647
4647
  }
4648
4648
  return this.finishNode(i, "ImportExpression");
4649
- }, p.parseExport = function(i, r) {
4649
+ }, l.parseExport = function(i, r) {
4650
4650
  var n = this.lookahead();
4651
4651
  if (this.ts_eatWithState(h._import, 2, n)) {
4652
- this.ts_isContextual(I.type) && this.lookaheadCharCode() !== 61 ? (i.importKind = "type", this.importOrExportOuterKind = "type", this.next()) : (i.importKind = "value", this.importOrExportOuterKind = "value");
4652
+ this.ts_isContextual(_.type) && this.lookaheadCharCode() !== 61 ? (i.importKind = "type", this.importOrExportOuterKind = "type", this.next()) : (i.importKind = "value", this.importOrExportOuterKind = "value");
4653
4653
  var c = this.tsParseImportEqualsDeclaration(i, !0);
4654
4654
  return this.importOrExportOuterKind = void 0, c;
4655
4655
  }
@@ -4661,7 +4661,7 @@ function Ls(t) {
4661
4661
  var m = i;
4662
4662
  return this.expectContextual("namespace"), m.id = this.parseIdent(), this.semicolon(), this.importOrExportOuterKind = void 0, this.finishNode(m, "TSNamespaceExportDeclaration");
4663
4663
  }
4664
- if (this.ts_isContextualWithState(n, I.type) && this.lookahead(2).type === h.braceL ? (this.next(), this.importOrExportOuterKind = "type", i.exportKind = "type") : (this.importOrExportOuterKind = "value", i.exportKind = "value"), this.next(), this.eat(h.star)) return this.parseExportAllDeclaration(i, r);
4664
+ if (this.ts_isContextualWithState(n, _.type) && this.lookahead(2).type === h.braceL ? (this.next(), this.importOrExportOuterKind = "type", i.exportKind = "type") : (this.importOrExportOuterKind = "value", i.exportKind = "value"), this.next(), this.eat(h.star)) return this.parseExportAllDeclaration(i, r);
4665
4665
  if (this.eat(h._default)) return this.checkExport(r, "default", this.lastTokStart), i.declaration = this.parseExportDefaultDeclaration(), this.finishNode(i, "ExportDefaultDeclaration");
4666
4666
  if (this.shouldParseExportStatement()) i.declaration = this.parseExportDeclaration(i), i.declaration.type === "VariableDeclaration" ? this.checkVariableExport(r, i.declaration.declarations) : this.checkExport(r, i.declaration.id, i.declaration.id.start), i.specifiers = [], i.source = null;
4667
4667
  else {
@@ -4676,24 +4676,24 @@ function Ls(t) {
4676
4676
  this.semicolon();
4677
4677
  }
4678
4678
  return this.finishNode(i, "ExportNamedDeclaration");
4679
- }, p.checkExport = function(i, r, n) {
4679
+ }, l.checkExport = function(i, r, n) {
4680
4680
  i && (typeof r != "string" && (r = r.type === "Identifier" ? r.name : r.value), i[r] = !0);
4681
- }, p.parseMaybeDefault = function(i, r, n) {
4681
+ }, l.parseMaybeDefault = function(i, r, n) {
4682
4682
  var c = P.prototype.parseMaybeDefault.call(this, i, r, n);
4683
4683
  return c.type === "AssignmentPattern" && c.typeAnnotation && c.right.start < c.typeAnnotation.start && this.raise(c.typeAnnotation.start, w.TypeAnnotationAfterAssign), c;
4684
- }, p.typeCastToParameter = function(i) {
4684
+ }, l.typeCastToParameter = function(i) {
4685
4685
  return i.expression.typeAnnotation = i.typeAnnotation, this.resetEndLocation(i.expression, i.typeAnnotation.end), i.expression;
4686
- }, p.toAssignableList = function(i, r) {
4686
+ }, l.toAssignableList = function(i, r) {
4687
4687
  for (var n = 0; n < i.length; n++) {
4688
4688
  var c = i[n];
4689
4689
  c?.type === "TSTypeCastExpression" && (i[n] = this.typeCastToParameter(c));
4690
4690
  }
4691
4691
  return P.prototype.toAssignableList.call(this, i, r);
4692
- }, p.reportReservedArrowTypeParam = function(i) {
4693
- }, p.parseExprAtom = function(i, r, n) {
4694
- if (this.type === I.jsxText) return this.jsx_parseText();
4695
- if (this.type === I.jsxTagStart) return this.jsx_parseElement();
4696
- if (this.type === I.at) return this.parseDecorators(), this.parseExprAtom();
4692
+ }, l.reportReservedArrowTypeParam = function(i) {
4693
+ }, l.parseExprAtom = function(i, r, n) {
4694
+ if (this.type === _.jsxText) return this.jsx_parseText();
4695
+ if (this.type === _.jsxTagStart) return this.jsx_parseElement();
4696
+ if (this.type === _.at) return this.parseDecorators(), this.parseExprAtom();
4697
4697
  if (q(this.type)) {
4698
4698
  var c = this.potentialArrowAt === this.start, f = this.start, m = this.startLoc, y = this.containsEsc, x = this.parseIdent(!1);
4699
4699
  if (this.options.ecmaVersion >= 8 && !y && x.name === "async" && !this.canInsertSemicolon() && this.eat(h._function)) return this.overrideContext(U.f_expr), this.parseFunction(this.startNodeAt(f, m), 0, !1, !0, r);
@@ -4704,7 +4704,7 @@ function Ls(t) {
4704
4704
  return x;
4705
4705
  }
4706
4706
  return P.prototype.parseExprAtom.call(this, i, r, n);
4707
- }, p.parseExprAtomDefault = function() {
4707
+ }, l.parseExprAtomDefault = function() {
4708
4708
  if (q(this.type)) {
4709
4709
  var i = this.potentialArrowAt === this.start, r = this.containsEsc, n = this.parseIdent();
4710
4710
  if (!r && n.name === "async" && !this.canInsertSemicolon()) {
@@ -4721,10 +4721,10 @@ function Ls(t) {
4721
4721
  return i && this.match(h.arrow) && !this.canInsertSemicolon() ? (this.next(), this.parseArrowExpression(this.startNodeAtNode(n), [n], !1)) : n;
4722
4722
  }
4723
4723
  this.unexpected();
4724
- }, p.parseIdentNode = function() {
4724
+ }, l.parseIdentNode = function() {
4725
4725
  var i = this.startNode();
4726
- return Wt(this.type) ? (i.name = this.value, i) : P.prototype.parseIdentNode.call(this);
4727
- }, p.parseVarStatement = function(i, r, n) {
4726
+ return zt(this.type) ? (i.name = this.value, i) : P.prototype.parseIdentNode.call(this);
4727
+ }, l.parseVarStatement = function(i, r, n) {
4728
4728
  n === void 0 && (n = !1);
4729
4729
  var c = this.isAmbientContext;
4730
4730
  this.next(), P.prototype.parseVar.call(this, i, !1, r, n || c), this.semicolon();
@@ -4735,32 +4735,32 @@ function Ls(t) {
4735
4735
  b && (r !== "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) && !_s(b) && this.raise(b.start, w.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference));
4736
4736
  }
4737
4737
  return f;
4738
- }, p.parseStatement = function(i, r, n) {
4739
- if (this.match(I.at) && this.parseDecorators(!0), this.match(h._const) && this.isLookaheadContextual("enum")) {
4738
+ }, l.parseStatement = function(i, r, n) {
4739
+ if (this.match(_.at) && this.parseDecorators(!0), this.match(h._const) && this.isLookaheadContextual("enum")) {
4740
4740
  var c = this.startNode();
4741
4741
  return this.expect(h._const), this.tsParseEnumDeclaration(c, { const: !0 });
4742
4742
  }
4743
- if (this.ts_isContextual(I.enum)) return this.tsParseEnumDeclaration(this.startNode());
4744
- if (this.ts_isContextual(I.interface)) {
4743
+ if (this.ts_isContextual(_.enum)) return this.tsParseEnumDeclaration(this.startNode());
4744
+ if (this.ts_isContextual(_.interface)) {
4745
4745
  var f = this.tsParseInterfaceDeclaration(this.startNode());
4746
4746
  if (f) return f;
4747
4747
  }
4748
4748
  return P.prototype.parseStatement.call(this, i, r, n);
4749
- }, p.parseAccessModifier = function() {
4749
+ }, l.parseAccessModifier = function() {
4750
4750
  return this.tsParseModifier(["public", "protected", "private"]);
4751
- }, p.parsePostMemberNameModifiers = function(i) {
4751
+ }, l.parsePostMemberNameModifiers = function(i) {
4752
4752
  this.eat(h.question) && (i.optional = !0), i.readonly && this.match(h.parenL) && this.raise(i.start, w.ClassMethodHasReadonly), i.declare && this.match(h.parenL) && this.raise(i.start, w.ClassMethodHasDeclare);
4753
- }, p.parseExpressionStatement = function(i, r) {
4753
+ }, l.parseExpressionStatement = function(i, r) {
4754
4754
  return (r.type === "Identifier" ? this.tsParseExpressionStatement(i, r) : void 0) || P.prototype.parseExpressionStatement.call(this, i, r);
4755
- }, p.shouldParseExportStatement = function() {
4756
- return !!this.tsIsDeclarationStart() || !!this.match(I.at) || P.prototype.shouldParseExportStatement.call(this);
4757
- }, p.parseConditional = function(i, r, n, c, f) {
4755
+ }, l.shouldParseExportStatement = function() {
4756
+ return !!this.tsIsDeclarationStart() || !!this.match(_.at) || P.prototype.shouldParseExportStatement.call(this);
4757
+ }, l.parseConditional = function(i, r, n, c, f) {
4758
4758
  if (this.eat(h.question)) {
4759
4759
  var m = this.startNodeAt(r, n);
4760
4760
  return m.test = i, m.consequent = this.parseMaybeAssign(), this.expect(h.colon), m.alternate = this.parseMaybeAssign(c), this.finishNode(m, "ConditionalExpression");
4761
4761
  }
4762
4762
  return i;
4763
- }, p.parseMaybeConditional = function(i, r) {
4763
+ }, l.parseMaybeConditional = function(i, r) {
4764
4764
  var n = this, c = this.start, f = this.startLoc, m = this.parseExprOps(i, r);
4765
4765
  if (this.checkExpressionErrors(r)) return m;
4766
4766
  if (!this.maybeInArrowParameters || !this.match(h.question)) return this.parseConditional(m, c, f, i, r);
@@ -4768,90 +4768,90 @@ function Ls(t) {
4768
4768
  return n.parseConditional(m, c, f, i, r);
4769
4769
  });
4770
4770
  return y.node ? (y.error && this.setLookaheadState(y.failState), y.node) : (y.error && this.setOptionalParametersError(r, y.error), m);
4771
- }, p.parseParenItem = function(i) {
4771
+ }, l.parseParenItem = function(i) {
4772
4772
  var r = this.start, n = this.startLoc;
4773
4773
  if (i = P.prototype.parseParenItem.call(this, i), this.eat(h.question) && (i.optional = !0, this.resetEndLocation(i)), this.match(h.colon)) {
4774
4774
  var c = this.startNodeAt(r, n);
4775
4775
  return c.expression = i, c.typeAnnotation = this.tsParseTypeAnnotation(), this.finishNode(c, "TSTypeCastExpression");
4776
4776
  }
4777
4777
  return i;
4778
- }, p.parseExportDeclaration = function(i) {
4778
+ }, l.parseExportDeclaration = function(i) {
4779
4779
  var r = this;
4780
- if (!this.isAmbientContext && this.ts_isContextual(I.declare)) return this.tsInAmbientContext(function() {
4780
+ if (!this.isAmbientContext && this.ts_isContextual(_.declare)) return this.tsInAmbientContext(function() {
4781
4781
  return r.parseExportDeclaration(i);
4782
4782
  });
4783
4783
  var n = this.start, c = this.startLoc, f = this.eatContextual("declare");
4784
- !f || !this.ts_isContextual(I.declare) && this.shouldParseExportStatement() || this.raise(this.start, w.ExpectedAmbientAfterExportDeclare);
4784
+ !f || !this.ts_isContextual(_.declare) && this.shouldParseExportStatement() || this.raise(this.start, w.ExpectedAmbientAfterExportDeclare);
4785
4785
  var m = q(this.type) && this.tsTryParseExportDeclaration() || this.parseStatement(null);
4786
4786
  return m ? ((m.type === "TSInterfaceDeclaration" || m.type === "TSTypeAliasDeclaration" || f) && (i.exportKind = "type"), f && (this.resetStartLocation(m, n, c), m.declare = !0), m) : null;
4787
- }, p.parseClassId = function(i, r) {
4787
+ }, l.parseClassId = function(i, r) {
4788
4788
  if (r || !this.isContextual("implements")) {
4789
4789
  P.prototype.parseClassId.call(this, i, r);
4790
4790
  var n = this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this));
4791
4791
  n && (i.typeParameters = n);
4792
4792
  }
4793
- }, p.parseClassPropertyAnnotation = function(i) {
4793
+ }, l.parseClassPropertyAnnotation = function(i) {
4794
4794
  i.optional || (this.value === "!" && this.eat(h.prefix) ? i.definite = !0 : this.eat(h.question) && (i.optional = !0));
4795
4795
  var r = this.tsTryParseTypeAnnotation();
4796
4796
  r && (i.typeAnnotation = r);
4797
- }, p.parseClassField = function(i) {
4797
+ }, l.parseClassField = function(i) {
4798
4798
  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);
4799
4799
  else if (this.parseClassPropertyAnnotation(i), this.isAmbientContext && (!i.readonly || i.typeAnnotation) && this.match(h.eq) && this.raise(this.start, w.DeclareClassFieldHasInitializer), i.abstract && this.match(h.eq)) {
4800
4800
  var r = i.key;
4801
4801
  this.raise(this.start, w.AbstractPropertyHasInitializer({ propertyName: r.type !== "Identifier" || i.computed ? "[" + this.input.slice(r.start, r.end) + "]" : r.name }));
4802
4802
  }
4803
4803
  return P.prototype.parseClassField.call(this, i);
4804
- }, p.parseClassMethod = function(i, r, n, c) {
4804
+ }, l.parseClassMethod = function(i, r, n, c) {
4805
4805
  var f = i.kind === "constructor", m = i.key.type === "PrivateIdentifier", y = this.tsTryParseTypeParameters();
4806
4806
  m ? (y && (i.typeParameters = y), i.accessibility && this.raise(i.start, w.PrivateMethodsHasAccessibility({ modifier: i.accessibility }))) : y && f && this.raise(y.start, w.ConstructorHasTypeParameters);
4807
4807
  var x = i.declare, b = i.kind;
4808
4808
  !(x !== void 0 && x) || b !== "get" && b !== "set" || this.raise(i.start, w.DeclareAccessor({ kind: b })), y && (i.typeParameters = y);
4809
4809
  var S = i.key;
4810
4810
  i.kind === "constructor" ? (r && this.raise(S.start, "Constructor can't be a generator"), n && this.raise(S.start, "Constructor can't be an async method")) : i.static && je(i, "prototype") && this.raise(S.start, "Classes may not have a static property named prototype");
4811
- var N = i.value = this.parseMethod(r, n, c, !0, i);
4812
- return i.kind === "get" && N.params.length !== 0 && this.raiseRecoverable(N.start, "getter should have no params"), i.kind === "set" && N.params.length !== 1 && this.raiseRecoverable(N.start, "setter should have exactly one param"), i.kind === "set" && N.params[0].type === "RestElement" && this.raiseRecoverable(N.params[0].start, "Setter cannot use rest params"), this.finishNode(i, "MethodDefinition");
4813
- }, p.isClassMethod = function() {
4811
+ var I = i.value = this.parseMethod(r, n, c, !0, i);
4812
+ return i.kind === "get" && I.params.length !== 0 && this.raiseRecoverable(I.start, "getter should have no params"), i.kind === "set" && I.params.length !== 1 && this.raiseRecoverable(I.start, "setter should have exactly one param"), i.kind === "set" && I.params[0].type === "RestElement" && this.raiseRecoverable(I.params[0].start, "Setter cannot use rest params"), this.finishNode(i, "MethodDefinition");
4813
+ }, l.isClassMethod = function() {
4814
4814
  return this.match(h.relational);
4815
- }, p.parseClassElement = function(i) {
4815
+ }, l.parseClassElement = function(i) {
4816
4816
  var r = this;
4817
4817
  if (this.eat(h.semi)) return null;
4818
- var n, c = this.options.ecmaVersion, f = this.startNode(), m = "", y = !1, x = !1, b = "method", S = ["declare", "private", "public", "protected", "accessor", "override", "abstract", "readonly", "static"], N = this.tsParseModifiers({ modified: f, allowedModifiers: S, disallowedModifiers: ["in", "out"], stopOnStartOfClassStaticBlock: !0, errorTemplate: w.InvalidModifierOnTypeParameterPositions });
4819
- n = !!N.static;
4820
- var O = function() {
4818
+ var n, c = this.options.ecmaVersion, f = this.startNode(), m = "", y = !1, x = !1, b = "method", S = ["declare", "private", "public", "protected", "accessor", "override", "abstract", "readonly", "static"], I = this.tsParseModifiers({ modified: f, allowedModifiers: S, disallowedModifiers: ["in", "out"], stopOnStartOfClassStaticBlock: !0, errorTemplate: w.InvalidModifierOnTypeParameterPositions });
4819
+ n = !!I.static;
4820
+ var R = function() {
4821
4821
  if (!r.tsIsStartOfStaticBlocks()) {
4822
4822
  var A = r.tsTryParseIndexSignature(f);
4823
4823
  if (A) return f.abstract && r.raise(f.start, w.IndexSignatureHasAbstract), f.accessibility && r.raise(f.start, w.IndexSignatureHasAccessibility({ modifier: f.accessibility })), f.declare && r.raise(f.start, w.IndexSignatureHasDeclare), f.override && r.raise(f.start, w.IndexSignatureHasOverride), A;
4824
4824
  if (!r.inAbstractClass && f.abstract && r.raise(f.start, w.NonAbstractClassHasAbstractMethod), f.override && i && r.raise(f.start, w.OverrideNotInSubClass), f.static = n, n && (r.isClassElementNameStart() || r.type === h.star || (m = "static")), !m && c >= 8 && r.eatContextual("async") && (!r.isClassElementNameStart() && r.type !== h.star || r.canInsertSemicolon() ? m = "async" : x = !0), !m && (c >= 9 || !x) && r.eat(h.star) && (y = !0), !m && !x && !y) {
4825
- var z = r.value;
4826
- (r.eatContextual("get") || r.eatContextual("set")) && (r.isClassElementNameStart() ? b = z : m = z);
4825
+ var W = r.value;
4826
+ (r.eatContextual("get") || r.eatContextual("set")) && (r.isClassElementNameStart() ? b = W : m = W);
4827
4827
  }
4828
4828
  if (m ? (f.computed = !1, f.key = r.startNodeAt(r.lastTokStart, r.lastTokStartLoc), f.key.name = m, r.finishNode(f.key, "Identifier")) : r.parseClassElementName(f), r.parsePostMemberNameModifiers(f), r.isClassMethod() || c < 13 || r.type === h.parenL || b !== "method" || y || x) {
4829
- var W = !f.static && je(f, "constructor"), K = W && i;
4830
- W && b !== "method" && r.raise(f.key.start, "Constructor can't have get/set modifier"), f.kind = W ? "constructor" : b, r.parseClassMethod(f, y, x, K);
4829
+ var z = !f.static && je(f, "constructor"), K = z && i;
4830
+ z && b !== "method" && r.raise(f.key.start, "Constructor can't have get/set modifier"), f.kind = z ? "constructor" : b, r.parseClassMethod(f, y, x, K);
4831
4831
  } else r.parseClassField(f);
4832
4832
  return f;
4833
4833
  }
4834
4834
  if (r.next(), r.next(), r.tsHasSomeModifiers(f, S) && r.raise(r.start, w.StaticBlockCannotHaveModifier), c >= 13) return P.prototype.parseClassStaticBlock.call(r, f), f;
4835
4835
  };
4836
- return f.declare ? this.tsInAmbientContext(O) : O(), f;
4837
- }, p.isClassElementNameStart = function() {
4836
+ return f.declare ? this.tsInAmbientContext(R) : R(), f;
4837
+ }, l.isClassElementNameStart = function() {
4838
4838
  return !!this.tsIsIdentifier() || P.prototype.isClassElementNameStart.call(this);
4839
- }, p.parseClassSuper = function(i) {
4839
+ }, l.parseClassSuper = function(i) {
4840
4840
  P.prototype.parseClassSuper.call(this, i), i.superClass && (this.tsMatchLeftRelational() || this.match(h.bitShift)) && (i.superTypeParameters = this.tsParseTypeArgumentsInExpression()), this.eatContextual("implements") && (i.implements = this.tsParseHeritageClause("implements"));
4841
- }, p.parseFunctionParams = function(i) {
4841
+ }, l.parseFunctionParams = function(i) {
4842
4842
  var r = this.tsTryParseTypeParameters();
4843
4843
  r && (i.typeParameters = r), P.prototype.parseFunctionParams.call(this, i);
4844
- }, p.parseVarId = function(i, r) {
4844
+ }, l.parseVarId = function(i, r) {
4845
4845
  P.prototype.parseVarId.call(this, i, r), i.id.type === "Identifier" && !this.hasPrecedingLineBreak() && this.value === "!" && this.eat(h.prefix) && (i.definite = !0);
4846
4846
  var n = this.tsTryParseTypeAnnotation();
4847
4847
  n && (i.id.typeAnnotation = n, this.resetEndLocation(i.id));
4848
- }, p.parseArrowExpression = function(i, r, n, c) {
4848
+ }, l.parseArrowExpression = function(i, r, n, c) {
4849
4849
  this.match(h.colon) && (i.returnType = this.tsParseTypeAnnotation());
4850
4850
  var f = this.yieldPos, m = this.awaitPos, y = this.awaitIdentPos;
4851
4851
  this.enterScope(16 | fe(n, !1)), this.initFunction(i);
4852
4852
  var x = this.maybeInArrowParameters;
4853
4853
  return this.options.ecmaVersion >= 8 && (i.async = !!n), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.maybeInArrowParameters = !0, i.params = this.toAssignableList(r, !0), this.maybeInArrowParameters = !1, this.parseFunctionBody(i, !0, !1, c), this.yieldPos = f, this.awaitPos = m, this.awaitIdentPos = y, this.maybeInArrowParameters = x, this.finishNode(i, "ArrowFunctionExpression");
4854
- }, p.parseMaybeAssignOrigin = function(i, r, n) {
4854
+ }, l.parseMaybeAssignOrigin = function(i, r, n) {
4855
4855
  if (this.isContextual("yield")) {
4856
4856
  if (this.inGenerator) return this.parseYield(i);
4857
4857
  this.exprAllowed = !1;
@@ -4862,37 +4862,37 @@ function Ls(t) {
4862
4862
  (this.type === h.parenL || q(this.type)) && (this.potentialArrowAt = this.start, this.potentialArrowInForAwait = i === "await");
4863
4863
  var S = this.parseMaybeConditional(i, r);
4864
4864
  if (n && (S = n.call(this, S, x, b)), this.type.isAssign) {
4865
- var N = this.startNodeAt(x, b);
4866
- return N.operator = this.value, this.type === h.eq && (S = this.toAssignable(S, !0, r)), c || (r.parenthesizedAssign = r.trailingComma = r.doubleProto = -1), r.shorthandAssign >= S.start && (r.shorthandAssign = -1), this.type === h.eq ? this.checkLValPattern(S) : this.checkLValSimple(S), N.left = S, this.next(), N.right = this.parseMaybeAssign(i), y > -1 && (r.doubleProto = y), this.finishNode(N, "AssignmentExpression");
4865
+ var I = this.startNodeAt(x, b);
4866
+ return I.operator = this.value, this.type === h.eq && (S = this.toAssignable(S, !0, r)), c || (r.parenthesizedAssign = r.trailingComma = r.doubleProto = -1), r.shorthandAssign >= S.start && (r.shorthandAssign = -1), this.type === h.eq ? this.checkLValPattern(S) : this.checkLValSimple(S), I.left = S, this.next(), I.right = this.parseMaybeAssign(i), y > -1 && (r.doubleProto = y), this.finishNode(I, "AssignmentExpression");
4867
4867
  }
4868
4868
  return c && this.checkExpressionErrors(r, !0), f > -1 && (r.parenthesizedAssign = f), m > -1 && (r.trailingComma = m), S;
4869
- }, p.parseMaybeAssign = function(i, r, n) {
4870
- var c, f, m, y, x, b, S, N, O, A, z, W = this;
4869
+ }, l.parseMaybeAssign = function(i, r, n) {
4870
+ var c, f, m, y, x, b, S, I, R, A, W, z = this;
4871
4871
  if (this.matchJsx("jsxTagStart") || this.tsMatchLeftRelational()) {
4872
- if (N = this.cloneCurLookaheadState(), !(O = this.tryParse(function() {
4873
- return W.parseMaybeAssignOrigin(i, r, n);
4874
- }, N)).error) return O.node;
4875
- var K = this.context, X = K[K.length - 1];
4876
- X === g.tokContexts.tc_oTag && K[K.length - 2] === g.tokContexts.tc_expr ? (K.pop(), K.pop()) : X !== g.tokContexts.tc_oTag && X !== g.tokContexts.tc_expr || K.pop();
4872
+ if (I = this.cloneCurLookaheadState(), !(R = this.tryParse(function() {
4873
+ return z.parseMaybeAssignOrigin(i, r, n);
4874
+ }, I)).error) return R.node;
4875
+ var K = this.context, $ = K[K.length - 1];
4876
+ $ === g.tokContexts.tc_oTag && K[K.length - 2] === g.tokContexts.tc_expr ? (K.pop(), K.pop()) : $ !== g.tokContexts.tc_oTag && $ !== g.tokContexts.tc_expr || K.pop();
4877
4877
  }
4878
- if (!((c = O) != null && c.error || this.tsMatchLeftRelational())) return this.parseMaybeAssignOrigin(i, r, n);
4879
- N && !this.compareLookaheadState(N, this.getCurLookaheadState()) || (N = this.cloneCurLookaheadState());
4878
+ if (!((c = R) != null && c.error || this.tsMatchLeftRelational())) return this.parseMaybeAssignOrigin(i, r, n);
4879
+ I && !this.compareLookaheadState(I, this.getCurLookaheadState()) || (I = this.cloneCurLookaheadState());
4880
4880
  var at = this.tryParse(function(gt) {
4881
4881
  var Lt, Ot;
4882
- z = W.tsParseTypeParameters();
4883
- var bt = W.parseMaybeAssignOrigin(i, r, n);
4884
- return (bt.type !== "ArrowFunctionExpression" || (Lt = bt.extra) != null && Lt.parenthesized) && gt(), ((Ot = z) == null ? void 0 : Ot.params.length) !== 0 && W.resetStartLocationFromNode(bt, z), bt.typeParameters = z, bt;
4885
- }, N);
4886
- if (!at.error && !at.aborted) return z && this.reportReservedArrowTypeParam(z), at.node;
4887
- if (!O && (Ue(!0), !(A = this.tryParse(function() {
4888
- return W.parseMaybeAssignOrigin(i, r, n);
4889
- }, N)).error)) return A.node;
4890
- if ((f = O) != null && f.node) return this.setLookaheadState(O.failState), O.node;
4891
- if (at.node) return this.setLookaheadState(at.failState), z && this.reportReservedArrowTypeParam(z), at.node;
4882
+ W = z.tsParseTypeParameters();
4883
+ var bt = z.parseMaybeAssignOrigin(i, r, n);
4884
+ return (bt.type !== "ArrowFunctionExpression" || (Lt = bt.extra) != null && Lt.parenthesized) && gt(), ((Ot = W) == null ? void 0 : Ot.params.length) !== 0 && z.resetStartLocationFromNode(bt, W), bt.typeParameters = W, bt;
4885
+ }, I);
4886
+ if (!at.error && !at.aborted) return W && this.reportReservedArrowTypeParam(W), at.node;
4887
+ if (!R && (Ue(!0), !(A = this.tryParse(function() {
4888
+ return z.parseMaybeAssignOrigin(i, r, n);
4889
+ }, I)).error)) return A.node;
4890
+ if ((f = R) != null && f.node) return this.setLookaheadState(R.failState), R.node;
4891
+ if (at.node) return this.setLookaheadState(at.failState), W && this.reportReservedArrowTypeParam(W), at.node;
4892
4892
  if ((m = A) != null && m.node) return this.setLookaheadState(A.failState), A.node;
4893
- throw (y = O) != null && y.thrown ? O.error : at.thrown ? at.error : (x = A) != null && x.thrown ? A.error : ((b = O) == null ? void 0 : b.error) || at.error || ((S = A) == null ? void 0 : S.error);
4894
- }, p.parseAssignableListItem = function(i) {
4895
- for (var r = []; this.match(I.at); ) r.push(this.parseDecorator());
4893
+ throw (y = R) != null && y.thrown ? R.error : at.thrown ? at.error : (x = A) != null && x.thrown ? A.error : ((b = R) == null ? void 0 : b.error) || at.error || ((S = A) == null ? void 0 : S.error);
4894
+ }, l.parseAssignableListItem = function(i) {
4895
+ for (var r = []; this.match(_.at); ) r.push(this.parseDecorator());
4896
4896
  var n, c = this.start, f = this.startLoc, m = !1, y = !1;
4897
4897
  if (i !== void 0) {
4898
4898
  var x = {};
@@ -4902,17 +4902,17 @@ function Ls(t) {
4902
4902
  this.parseBindingListItem(b);
4903
4903
  var S = this.parseMaybeDefault(b.start, b.loc, b);
4904
4904
  if (r.length && (S.decorators = r), n || m || y) {
4905
- var N = this.startNodeAt(c, f);
4906
- return n && (N.accessibility = n), m && (N.readonly = m), y && (N.override = y), S.type !== "Identifier" && S.type !== "AssignmentPattern" && this.raise(N.start, w.UnsupportedParameterPropertyKind), N.parameter = S, this.finishNode(N, "TSParameterProperty");
4905
+ var I = this.startNodeAt(c, f);
4906
+ return n && (I.accessibility = n), m && (I.readonly = m), y && (I.override = y), S.type !== "Identifier" && S.type !== "AssignmentPattern" && this.raise(I.start, w.UnsupportedParameterPropertyKind), I.parameter = S, this.finishNode(I, "TSParameterProperty");
4907
4907
  }
4908
4908
  return S;
4909
- }, p.checkLValInnerPattern = function(i, r, n) {
4909
+ }, l.checkLValInnerPattern = function(i, r, n) {
4910
4910
  r === void 0 && (r = 0), i.type === "TSParameterProperty" ? this.checkLValInnerPattern(i.parameter, r, n) : P.prototype.checkLValInnerPattern.call(this, i, r, n);
4911
- }, p.parseBindingListItem = function(i) {
4911
+ }, l.parseBindingListItem = function(i) {
4912
4912
  this.eat(h.question) && (i.type === "Identifier" || this.isAmbientContext || this.inType || this.raise(i.start, w.PatternIsOptional), i.optional = !0);
4913
4913
  var r = this.tsTryParseTypeAnnotation();
4914
4914
  return r && (i.typeAnnotation = r), this.resetEndLocation(i), i;
4915
- }, p.isAssignable = function(i, r) {
4915
+ }, l.isAssignable = function(i, r) {
4916
4916
  var n = this;
4917
4917
  switch (i.type) {
4918
4918
  case "TSTypeCastExpression":
@@ -4948,7 +4948,7 @@ function Ls(t) {
4948
4948
  default:
4949
4949
  return !1;
4950
4950
  }
4951
- }, p.toAssignable = function(i, r, n) {
4951
+ }, l.toAssignable = function(i, r, n) {
4952
4952
  switch (r === void 0 && (r = !1), n === void 0 && (n = new Mt()), i.type) {
4953
4953
  case "ParenthesizedExpression":
4954
4954
  return this.toAssignableParenthesizedExpression(i, r, n);
@@ -4967,7 +4967,7 @@ function Ls(t) {
4967
4967
  return P.prototype.toAssignable.call(this, i, r, n);
4968
4968
  }
4969
4969
  return i;
4970
- }, p.toAssignableParenthesizedExpression = function(i, r, n) {
4970
+ }, l.toAssignableParenthesizedExpression = function(i, r, n) {
4971
4971
  switch (i.expression.type) {
4972
4972
  case "TSAsExpression":
4973
4973
  case "TSSatisfiesExpression":
@@ -4978,7 +4978,7 @@ function Ls(t) {
4978
4978
  default:
4979
4979
  return P.prototype.toAssignable.call(this, i, r, n);
4980
4980
  }
4981
- }, p.curPosition = function() {
4981
+ }, l.curPosition = function() {
4982
4982
  if (this.options.locations) {
4983
4983
  var i = P.prototype.curPosition.call(this);
4984
4984
  return Object.defineProperty(i, "offset", { get: function() {
@@ -4988,9 +4988,9 @@ function Ls(t) {
4988
4988
  };
4989
4989
  } }), i.index = this.pos, i;
4990
4990
  }
4991
- }, p.parseBindingAtom = function() {
4991
+ }, l.parseBindingAtom = function() {
4992
4992
  return this.type === h._this ? this.parseIdent(!0) : P.prototype.parseBindingAtom.call(this);
4993
- }, p.shouldParseArrow = function(i) {
4993
+ }, l.shouldParseArrow = function(i) {
4994
4994
  var r, n = this;
4995
4995
  if (r = this.match(h.colon) ? i.every(function(f) {
4996
4996
  return n.isAssignable(f, !0);
@@ -5006,39 +5006,39 @@ function Ls(t) {
5006
5006
  return !!this.match(h.arrow) || (this.shouldParseArrowReturnType = void 0, !1);
5007
5007
  }
5008
5008
  return this.shouldParseArrowReturnType = void 0, r;
5009
- }, p.parseParenArrowList = function(i, r, n, c) {
5009
+ }, l.parseParenArrowList = function(i, r, n, c) {
5010
5010
  var f = this.startNodeAt(i, r);
5011
5011
  return f.returnType = this.shouldParseArrowReturnType, this.shouldParseArrowReturnType = void 0, this.parseArrowExpression(f, n, !1, c);
5012
- }, p.parseParenAndDistinguishExpression = function(i, r) {
5012
+ }, l.parseParenAndDistinguishExpression = function(i, r) {
5013
5013
  var n, c = this.start, f = this.startLoc, m = this.options.ecmaVersion >= 8;
5014
5014
  if (this.options.ecmaVersion >= 6) {
5015
5015
  var y = this.maybeInArrowParameters;
5016
5016
  this.maybeInArrowParameters = !0, this.next();
5017
- var x, b = this.start, S = this.startLoc, N = [], O = !0, A = !1, z = new Mt(), W = this.yieldPos, K = this.awaitPos;
5017
+ var x, b = this.start, S = this.startLoc, I = [], R = !0, A = !1, W = new Mt(), z = this.yieldPos, K = this.awaitPos;
5018
5018
  for (this.yieldPos = 0, this.awaitPos = 0; this.type !== h.parenR; ) {
5019
- if (O ? O = !1 : this.expect(h.comma), m && this.afterTrailingComma(h.parenR, !0)) {
5019
+ if (R ? R = !1 : this.expect(h.comma), m && this.afterTrailingComma(h.parenR, !0)) {
5020
5020
  A = !0;
5021
5021
  break;
5022
5022
  }
5023
5023
  if (this.type === h.ellipsis) {
5024
- x = this.start, N.push(this.parseParenItem(this.parseRestBinding())), this.type === h.comma && this.raise(this.start, "Comma is not permitted after the rest element");
5024
+ x = this.start, I.push(this.parseParenItem(this.parseRestBinding())), this.type === h.comma && this.raise(this.start, "Comma is not permitted after the rest element");
5025
5025
  break;
5026
5026
  }
5027
- N.push(this.parseMaybeAssign(r, z, this.parseParenItem));
5027
+ I.push(this.parseMaybeAssign(r, W, this.parseParenItem));
5028
5028
  }
5029
- var X = this.lastTokEnd, at = this.lastTokEndLoc;
5030
- if (this.expect(h.parenR), this.maybeInArrowParameters = y, i && this.shouldParseArrow(N) && this.eat(h.arrow)) return this.checkPatternErrors(z, !1), this.checkYieldAwaitInDefaultParams(), this.yieldPos = W, this.awaitPos = K, this.parseParenArrowList(c, f, N, r);
5031
- N.length && !A || this.unexpected(this.lastTokStart), x && this.unexpected(x), this.checkExpressionErrors(z, !0), this.yieldPos = W || this.yieldPos, this.awaitPos = K || this.awaitPos, N.length > 1 ? ((n = this.startNodeAt(b, S)).expressions = N, this.finishNodeAt(n, "SequenceExpression", X, at)) : n = N[0];
5029
+ var $ = this.lastTokEnd, at = this.lastTokEndLoc;
5030
+ if (this.expect(h.parenR), this.maybeInArrowParameters = y, i && this.shouldParseArrow(I) && this.eat(h.arrow)) return this.checkPatternErrors(W, !1), this.checkYieldAwaitInDefaultParams(), this.yieldPos = z, this.awaitPos = K, this.parseParenArrowList(c, f, I, r);
5031
+ I.length && !A || this.unexpected(this.lastTokStart), x && this.unexpected(x), this.checkExpressionErrors(W, !0), this.yieldPos = z || this.yieldPos, this.awaitPos = K || this.awaitPos, I.length > 1 ? ((n = this.startNodeAt(b, S)).expressions = I, this.finishNodeAt(n, "SequenceExpression", $, at)) : n = I[0];
5032
5032
  } else n = this.parseParenExpression();
5033
5033
  if (this.options.preserveParens) {
5034
5034
  var gt = this.startNodeAt(c, f);
5035
5035
  return gt.expression = n, this.finishNode(gt, "ParenthesizedExpression");
5036
5036
  }
5037
5037
  return n;
5038
- }, p.parseTaggedTemplateExpression = function(i, r, n, c) {
5038
+ }, l.parseTaggedTemplateExpression = function(i, r, n, c) {
5039
5039
  var f = this.startNodeAt(r, n);
5040
5040
  return f.tag = i, f.quasi = this.parseTemplate({ isTagged: !0 }), c && this.raise(r, "Tagged Template Literals are not allowed in optionalChain."), this.finishNode(f, "TaggedTemplateExpression");
5041
- }, p.shouldParseAsyncArrow = function() {
5041
+ }, l.shouldParseAsyncArrow = function() {
5042
5042
  var i = this;
5043
5043
  if (!this.match(h.colon)) return !this.canInsertSemicolon() && this.eat(h.arrow);
5044
5044
  var r = this.tryParse(function(n) {
@@ -5046,10 +5046,10 @@ function Ls(t) {
5046
5046
  return !i.canInsertSemicolon() && i.match(h.arrow) || n(), c;
5047
5047
  });
5048
5048
  return r.aborted ? (this.shouldParseAsyncArrowReturnType = void 0, !1) : r.thrown ? void 0 : (r.error && this.setLookaheadState(r.failState), this.shouldParseAsyncArrowReturnType = r.node, !this.canInsertSemicolon() && this.eat(h.arrow));
5049
- }, p.parseSubscriptAsyncArrow = function(i, r, n, c) {
5049
+ }, l.parseSubscriptAsyncArrow = function(i, r, n, c) {
5050
5050
  var f = this.startNodeAt(i, r);
5051
5051
  return f.returnType = this.shouldParseAsyncArrowReturnType, this.shouldParseAsyncArrowReturnType = void 0, this.parseArrowExpression(f, n, !0, c);
5052
- }, p.parseExprList = function(i, r, n, c) {
5052
+ }, l.parseExprList = function(i, r, n, c) {
5053
5053
  for (var f = [], m = !0; !this.eat(i); ) {
5054
5054
  if (m) m = !1;
5055
5055
  else if (this.expect(h.comma), r && this.afterTrailingComma(i)) break;
@@ -5057,34 +5057,34 @@ function Ls(t) {
5057
5057
  n && this.type === h.comma ? y = null : this.type === h.ellipsis ? (y = this.parseSpread(c), c && this.type === h.comma && c.trailingComma < 0 && (c.trailingComma = this.start)) : y = this.parseMaybeAssign(!1, c, this.parseParenItem), f.push(y);
5058
5058
  }
5059
5059
  return f;
5060
- }, p.parseSubscript = function(i, r, n, c, f, m, y) {
5060
+ }, l.parseSubscript = function(i, r, n, c, f, m, y) {
5061
5061
  var x = this, b = m;
5062
5062
  if (!this.hasPrecedingLineBreak() && this.value === "!" && this.match(h.prefix)) {
5063
5063
  this.exprAllowed = !1, this.next();
5064
5064
  var S = this.startNodeAt(r, n);
5065
5065
  return S.expression = i, i = this.finishNode(S, "TSNonNullExpression");
5066
5066
  }
5067
- var N = !1;
5067
+ var I = !1;
5068
5068
  if (this.match(h.questionDot) && this.lookaheadCharCode() === 60) {
5069
5069
  if (c) return i;
5070
- i.optional = !0, b = N = !0, this.next();
5070
+ i.optional = !0, b = I = !0, this.next();
5071
5071
  }
5072
5072
  if (this.tsMatchLeftRelational() || this.match(h.bitShift)) {
5073
- var O, A = this.tsTryParseAndCatch(function() {
5073
+ var R, A = this.tsTryParseAndCatch(function() {
5074
5074
  if (!c && x.atPossibleAsyncArrow(i)) {
5075
5075
  var Ee = x.tsTryParseGenericAsyncArrowFunction(r, n, y);
5076
5076
  if (Ee) return i = Ee;
5077
5077
  }
5078
5078
  var Kt = x.tsParseTypeArgumentsInExpression();
5079
5079
  if (!Kt) return i;
5080
- if (N && !x.match(h.parenL)) return O = x.curPosition(), i;
5080
+ if (I && !x.match(h.parenL)) return R = x.curPosition(), i;
5081
5081
  if (Ai(x.type) || x.type === h.backQuote) {
5082
5082
  var we = x.parseTaggedTemplateExpression(i, r, n, b);
5083
5083
  return we.typeParameters = Kt, we;
5084
5084
  }
5085
5085
  if (!c && x.eat(h.parenL)) {
5086
5086
  var Ie = new Mt(), At = x.startNodeAt(r, n);
5087
- return At.callee = i, At.arguments = x.parseExprList(h.parenR, x.options.ecmaVersion >= 8, !1, Ie), x.tsCheckForInvalidTypeCasts(At.arguments), At.typeParameters = Kt, b && (At.optional = N), x.checkExpressionErrors(Ie, !0), i = x.finishNode(At, "CallExpression");
5087
+ return At.callee = i, At.arguments = x.parseExprList(h.parenR, x.options.ecmaVersion >= 8, !1, Ie), x.tsCheckForInvalidTypeCasts(At.arguments), At.typeParameters = Kt, b && (At.optional = I), x.checkExpressionErrors(Ie, !0), i = x.finishNode(At, "CallExpression");
5088
5088
  }
5089
5089
  var oe = x.type;
5090
5090
  if (!(x.tsMatchRightRelational() || oe === h.bitShift || oe !== h.parenL && (Ne = oe, !!Ne.startsExpr) && !x.hasPrecedingLineBreak())) {
@@ -5092,51 +5092,51 @@ function Ls(t) {
5092
5092
  return he.expression = i, he.typeParameters = Kt, x.finishNode(he, "TSInstantiationExpression");
5093
5093
  }
5094
5094
  });
5095
- if (O && this.unexpected(O), A) return A.type === "TSInstantiationExpression" && (this.match(h.dot) || this.match(h.questionDot) && this.lookaheadCharCode() !== 40) && this.raise(this.start, w.InvalidPropertyAccessAfterInstantiationExpression), i = A;
5095
+ if (R && this.unexpected(R), A) return A.type === "TSInstantiationExpression" && (this.match(h.dot) || this.match(h.questionDot) && this.lookaheadCharCode() !== 40) && this.raise(this.start, w.InvalidPropertyAccessAfterInstantiationExpression), i = A;
5096
5096
  }
5097
- var z = this.options.ecmaVersion >= 11, W = z && this.eat(h.questionDot);
5098
- c && W && this.raise(this.lastTokStart, "Optional chaining cannot appear in the callee of new expressions");
5097
+ var W = this.options.ecmaVersion >= 11, z = W && this.eat(h.questionDot);
5098
+ c && z && this.raise(this.lastTokStart, "Optional chaining cannot appear in the callee of new expressions");
5099
5099
  var K = this.eat(h.bracketL);
5100
- if (K || W && this.type !== h.parenL && this.type !== h.backQuote || this.eat(h.dot)) {
5101
- var X = this.startNodeAt(r, n);
5102
- X.object = i, K ? (X.property = this.parseExpression(), this.expect(h.bracketR)) : X.property = this.type === h.privateId && i.type !== "Super" ? this.parsePrivateIdent() : this.parseIdent(this.options.allowReserved !== "never"), X.computed = !!K, z && (X.optional = W), i = this.finishNode(X, "MemberExpression");
5100
+ if (K || z && this.type !== h.parenL && this.type !== h.backQuote || this.eat(h.dot)) {
5101
+ var $ = this.startNodeAt(r, n);
5102
+ $.object = i, K ? ($.property = this.parseExpression(), this.expect(h.bracketR)) : $.property = this.type === h.privateId && i.type !== "Super" ? this.parsePrivateIdent() : this.parseIdent(this.options.allowReserved !== "never"), $.computed = !!K, W && ($.optional = z), i = this.finishNode($, "MemberExpression");
5103
5103
  } else if (!c && this.eat(h.parenL)) {
5104
5104
  var at = this.maybeInArrowParameters;
5105
5105
  this.maybeInArrowParameters = !0;
5106
5106
  var gt = new Mt(), Lt = this.yieldPos, Ot = this.awaitPos, bt = this.awaitIdentPos;
5107
5107
  this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0;
5108
5108
  var Ae = this.parseExprList(h.parenR, this.options.ecmaVersion >= 8, !1, gt);
5109
- if (f && !W && this.shouldParseAsyncArrow()) this.checkPatternErrors(gt, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = Lt, this.awaitPos = Ot, this.awaitIdentPos = bt, i = this.parseSubscriptAsyncArrow(r, n, Ae, y);
5109
+ if (f && !z && this.shouldParseAsyncArrow()) this.checkPatternErrors(gt, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = Lt, this.awaitPos = Ot, this.awaitIdentPos = bt, i = this.parseSubscriptAsyncArrow(r, n, Ae, y);
5110
5110
  else {
5111
5111
  this.checkExpressionErrors(gt, !0), this.yieldPos = Lt || this.yieldPos, this.awaitPos = Ot || this.awaitPos, this.awaitIdentPos = bt || this.awaitIdentPos;
5112
- var zt = this.startNodeAt(r, n);
5113
- zt.callee = i, zt.arguments = Ae, z && (zt.optional = W), i = this.finishNode(zt, "CallExpression");
5112
+ var Wt = this.startNodeAt(r, n);
5113
+ Wt.callee = i, Wt.arguments = Ae, W && (Wt.optional = z), i = this.finishNode(Wt, "CallExpression");
5114
5114
  }
5115
5115
  this.maybeInArrowParameters = at;
5116
5116
  } else if (this.type === h.backQuote) {
5117
- (W || b) && this.raise(this.start, "Optional chaining cannot appear in the tag of tagged template expressions");
5117
+ (z || b) && this.raise(this.start, "Optional chaining cannot appear in the tag of tagged template expressions");
5118
5118
  var ne = this.startNodeAt(r, n);
5119
5119
  ne.tag = i, ne.quasi = this.parseTemplate({ isTagged: !0 }), i = this.finishNode(ne, "TaggedTemplateExpression");
5120
5120
  }
5121
5121
  return i;
5122
- }, p.parseGetterSetter = function(i) {
5122
+ }, l.parseGetterSetter = function(i) {
5123
5123
  i.kind = i.key.name, this.parsePropertyName(i), i.value = this.parseMethod(!1);
5124
5124
  var r = i.kind === "get" ? 0 : 1, n = i.value.params[0], c = n && this.isThisParam(n);
5125
5125
  i.value.params.length !== (r = c ? r + 1 : r) ? this.raiseRecoverable(i.value.start, i.kind === "get" ? "getter should have no params" : "setter should have exactly one param") : i.kind === "set" && i.value.params[0].type === "RestElement" && this.raiseRecoverable(i.value.params[0].start, "Setter cannot use rest params");
5126
- }, p.parseProperty = function(i, r) {
5126
+ }, l.parseProperty = function(i, r) {
5127
5127
  if (!i) {
5128
5128
  var n = [];
5129
- if (this.match(I.at)) for (; this.match(I.at); ) n.push(this.parseDecorator());
5129
+ if (this.match(_.at)) for (; this.match(_.at); ) n.push(this.parseDecorator());
5130
5130
  var c = P.prototype.parseProperty.call(this, i, r);
5131
5131
  return c.type === "SpreadElement" && n.length && this.raise(c.start, "Decorators can't be used with SpreadElement"), n.length && (c.decorators = n, n = []), c;
5132
5132
  }
5133
5133
  return P.prototype.parseProperty.call(this, i, r);
5134
- }, p.parseCatchClauseParam = function() {
5134
+ }, l.parseCatchClauseParam = function() {
5135
5135
  var i = this.parseBindingAtom(), r = i.type === "Identifier";
5136
5136
  this.enterScope(r ? 32 : 0), this.checkLValPattern(i, r ? 4 : 2);
5137
5137
  var n = this.tsTryParseTypeAnnotation();
5138
5138
  return n && (i.typeAnnotation = n, this.resetEndLocation(i)), this.expect(h.parenR), i;
5139
- }, p.parseClass = function(i, r) {
5139
+ }, l.parseClass = function(i, r) {
5140
5140
  var n = this.inAbstractClass;
5141
5141
  this.inAbstractClass = !!i.abstract;
5142
5142
  try {
@@ -5146,7 +5146,7 @@ function Ls(t) {
5146
5146
  var f = this.enterClassBody(), m = this.startNode(), y = !1;
5147
5147
  m.body = [];
5148
5148
  var x = [];
5149
- for (this.expect(h.braceL); this.type !== h.braceR; ) if (this.match(I.at)) x.push(this.parseDecorator());
5149
+ for (this.expect(h.braceL); this.type !== h.braceR; ) if (this.match(_.at)) x.push(this.parseDecorator());
5150
5150
  else {
5151
5151
  var b = this.parseClassElement(i.superClass !== null);
5152
5152
  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" && ks(f, b) && this.raiseRecoverable(b.key.start, "Identifier '#" + b.key.name + "' has already been declared"));
@@ -5155,10 +5155,10 @@ function Ls(t) {
5155
5155
  } finally {
5156
5156
  this.inAbstractClass = n;
5157
5157
  }
5158
- }, p.parseClassFunctionParams = function() {
5158
+ }, l.parseClassFunctionParams = function() {
5159
5159
  var i = this.tsTryParseTypeParameters(this.tsParseConstModifier), r = this.parseBindingList(h.parenR, !1, this.options.ecmaVersion >= 8, !0);
5160
5160
  return i && (r.typeParameters = i), r;
5161
- }, p.parseMethod = function(i, r, n, c, f) {
5161
+ }, l.parseMethod = function(i, r, n, c, f) {
5162
5162
  var m = this.startNode(), y = this.yieldPos, x = this.awaitPos, b = this.awaitIdentPos;
5163
5163
  if (this.initFunction(m), this.options.ecmaVersion >= 6 && (m.generator = i), this.options.ecmaVersion >= 8 && (m.async = !!r), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(64 | fe(r, m.generator) | (n ? 128 : 0)), this.expect(h.parenL), m.params = this.parseClassFunctionParams(), this.checkYieldAwaitInDefaultParams(), this.parseFunctionBody(m, !1, !0, !1, { isClassMethod: c }), this.yieldPos = y, this.awaitPos = x, this.awaitIdentPos = b, f && f.abstract && m.body) {
5164
5164
  var S = f.key;
@@ -5175,47 +5175,47 @@ function Ls(t) {
5175
5175
  n.locations = !0;
5176
5176
  var c = new this(n, i, r);
5177
5177
  return a && (c.isAmbientContext = !0), c.nextToken(), c.parseExpression();
5178
- }, p.parseImportSpecifier = function() {
5179
- if (this.ts_isContextual(I.type)) {
5178
+ }, l.parseImportSpecifier = function() {
5179
+ if (this.ts_isContextual(_.type)) {
5180
5180
  var i = this.startNode();
5181
5181
  return i.imported = this.parseModuleExportName(), this.parseTypeOnlyImportExportSpecifier(i, !0, this.importOrExportOuterKind === "type"), this.finishNode(i, "ImportSpecifier");
5182
5182
  }
5183
5183
  var r = P.prototype.parseImportSpecifier.call(this);
5184
5184
  return r.importKind = "value", r;
5185
- }, p.parseExportSpecifier = function(i) {
5186
- var r = this.ts_isContextual(I.type);
5185
+ }, l.parseExportSpecifier = function(i) {
5186
+ var r = this.ts_isContextual(_.type);
5187
5187
  if (!this.match(h.string) && r) {
5188
5188
  var n = this.startNode();
5189
5189
  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;
5190
5190
  }
5191
5191
  var c = P.prototype.parseExportSpecifier.call(this, i);
5192
5192
  return c.exportKind = "value", c;
5193
- }, p.parseTypeOnlyImportExportSpecifier = function(i, r, n) {
5193
+ }, l.parseTypeOnlyImportExportSpecifier = function(i, r, n) {
5194
5194
  var c, f = r ? "imported" : "local", m = r ? "local" : "exported", y = i[f], x = !1, b = !0, S = y.start;
5195
5195
  if (this.isContextual("as")) {
5196
- var N = this.parseIdent();
5196
+ var I = this.parseIdent();
5197
5197
  if (this.isContextual("as")) {
5198
- var O = this.parseIdent();
5199
- Wt(this.type) ? (x = !0, y = N, c = r ? this.parseIdent() : this.parseModuleExportName(), b = !1) : (c = O, b = !1);
5200
- } else Wt(this.type) ? (b = !1, c = r ? this.parseIdent() : this.parseModuleExportName()) : (x = !0, y = N);
5201
- } else Wt(this.type) && (x = !0, r ? (y = P.prototype.parseIdent.call(this, !0), this.isContextual("as") || this.checkUnreserved(y)) : y = this.parseModuleExportName());
5198
+ var R = this.parseIdent();
5199
+ zt(this.type) ? (x = !0, y = I, c = r ? this.parseIdent() : this.parseModuleExportName(), b = !1) : (c = R, b = !1);
5200
+ } else zt(this.type) ? (b = !1, c = r ? this.parseIdent() : this.parseModuleExportName()) : (x = !0, y = I);
5201
+ } else zt(this.type) && (x = !0, r ? (y = P.prototype.parseIdent.call(this, !0), this.isContextual("as") || this.checkUnreserved(y)) : y = this.parseModuleExportName());
5202
5202
  x && n && this.raise(S, r ? w.TypeModifierIsUsedInTypeImports : w.TypeModifierIsUsedInTypeExports), i[f] = y, i[m] = c, i[r ? "importKind" : "exportKind"] = x ? "type" : "value", b && this.eatContextual("as") && (i[m] = r ? this.parseIdent() : this.parseModuleExportName()), i[m] || (i[m] = this.copyNode(i[f])), r && this.checkLValSimple(i[m], 2);
5203
- }, p.raiseCommonCheck = function(i, r, n) {
5203
+ }, l.raiseCommonCheck = function(i, r, n) {
5204
5204
  return r === "Comma is not permitted after the rest element" ? this.isAmbientContext && this.match(h.comma) && this.lookaheadCharCode() === 41 ? void this.next() : P.prototype.raise.call(this, i, r) : n ? P.prototype.raiseRecoverable.call(this, i, r) : P.prototype.raise.call(this, i, r);
5205
- }, p.raiseRecoverable = function(i, r) {
5205
+ }, l.raiseRecoverable = function(i, r) {
5206
5206
  return this.raiseCommonCheck(i, r, !0);
5207
- }, p.raise = function(i, r) {
5207
+ }, l.raise = function(i, r) {
5208
5208
  return this.raiseCommonCheck(i, r, !0);
5209
- }, p.updateContext = function(i) {
5209
+ }, l.updateContext = function(i) {
5210
5210
  var r = this.type;
5211
5211
  if (r == h.braceL) {
5212
5212
  var n = this.curContext();
5213
5213
  n == it.tc_oTag ? this.context.push(U.b_expr) : n == it.tc_expr ? this.context.push(U.b_tmpl) : P.prototype.updateContext.call(this, i), this.exprAllowed = !0;
5214
5214
  } else {
5215
- if (r !== h.slash || i !== I.jsxTagStart) return P.prototype.updateContext.call(this, i);
5215
+ if (r !== h.slash || i !== _.jsxTagStart) return P.prototype.updateContext.call(this, i);
5216
5216
  this.context.length -= 2, this.context.push(it.tc_cTag), this.exprAllowed = !1;
5217
5217
  }
5218
- }, p.jsx_parseOpeningElementAt = function(i, r) {
5218
+ }, l.jsx_parseOpeningElementAt = function(i, r) {
5219
5219
  var n = this, c = this.startNodeAt(i, r), f = this.jsx_parseElementName();
5220
5220
  if (f && (c.name = f), this.match(h.relational) || this.match(h.bitShift)) {
5221
5221
  var m = this.tsTryParseAndCatch(function() {
@@ -5223,33 +5223,33 @@ function Ls(t) {
5223
5223
  });
5224
5224
  m && (c.typeParameters = m);
5225
5225
  }
5226
- for (c.attributes = []; this.type !== h.slash && this.type !== I.jsxTagEnd; ) c.attributes.push(this.jsx_parseAttribute());
5227
- return c.selfClosing = this.eat(h.slash), this.expect(I.jsxTagEnd), this.finishNode(c, f ? "JSXOpeningElement" : "JSXOpeningFragment");
5228
- }, p.enterScope = function(i) {
5226
+ for (c.attributes = []; this.type !== h.slash && this.type !== _.jsxTagEnd; ) c.attributes.push(this.jsx_parseAttribute());
5227
+ return c.selfClosing = this.eat(h.slash), this.expect(_.jsxTagEnd), this.finishNode(c, f ? "JSXOpeningElement" : "JSXOpeningFragment");
5228
+ }, l.enterScope = function(i) {
5229
5229
  i === Rt && this.importsStack.push([]), P.prototype.enterScope.call(this, i);
5230
5230
  var r = P.prototype.currentScope.call(this);
5231
5231
  r.types = [], r.enums = [], r.constEnums = [], r.classes = [], r.exportOnlyBindings = [];
5232
- }, p.exitScope = function() {
5232
+ }, l.exitScope = function() {
5233
5233
  P.prototype.currentScope.call(this).flags === Rt && this.importsStack.pop(), P.prototype.exitScope.call(this);
5234
- }, p.hasImport = function(i, r) {
5234
+ }, l.hasImport = function(i, r) {
5235
5235
  var n = this.importsStack.length;
5236
5236
  if (this.importsStack[n - 1].indexOf(i) > -1) return !0;
5237
5237
  if (!r && n > 1) {
5238
5238
  for (var c = 0; c < n - 1; c++) if (this.importsStack[c].indexOf(i) > -1) return !0;
5239
5239
  }
5240
5240
  return !1;
5241
- }, p.maybeExportDefined = function(i, r) {
5241
+ }, l.maybeExportDefined = function(i, r) {
5242
5242
  this.inModule && 1 & i.flags && this.undefinedExports.delete(r);
5243
- }, p.isRedeclaredInScope = function(i, r, n) {
5243
+ }, l.isRedeclaredInScope = function(i, r, n) {
5244
5244
  return !!(0 & n) && (2 & n ? i.lexical.indexOf(r) > -1 || i.functions.indexOf(r) > -1 || i.var.indexOf(r) > -1 : 3 & n ? i.lexical.indexOf(r) > -1 || !P.prototype.treatFunctionsAsVarInScope.call(this, i) && i.var.indexOf(r) > -1 : i.lexical.indexOf(r) > -1 && !(32 & i.flags && i.lexical[0] === r) || !this.treatFunctionsAsVarInScope(i) && i.functions.indexOf(r) > -1);
5245
- }, p.checkRedeclarationInScope = function(i, r, n, c) {
5245
+ }, l.checkRedeclarationInScope = function(i, r, n, c) {
5246
5246
  this.isRedeclaredInScope(i, r, n) && this.raise(c, "Identifier '" + r + "' has already been declared.");
5247
- }, p.declareName = function(i, r, n) {
5247
+ }, l.declareName = function(i, r, n) {
5248
5248
  if (4096 & r) return this.hasImport(i, !0) && this.raise(n, "Identifier '" + i + "' has already been declared."), void this.importsStack[this.importsStack.length - 1].push(i);
5249
5249
  var c = this.currentScope();
5250
5250
  if (1024 & r) return this.maybeExportDefined(c, i), void c.exportOnlyBindings.push(i);
5251
5251
  P.prototype.declareName.call(this, i, r, n), 0 & r && (0 & r || (this.checkRedeclarationInScope(c, i, r, n), this.maybeExportDefined(c, i)), c.types.push(i)), 256 & r && c.enums.push(i), 512 & r && c.constEnums.push(i), 128 & r && c.classes.push(i);
5252
- }, p.checkLocalExport = function(i) {
5252
+ }, l.checkLocalExport = function(i) {
5253
5253
  var r = i.name;
5254
5254
  if (!this.hasImport(r)) {
5255
5255
  for (var n = this.scopeStack.length - 1; n >= 0; n--) {
@@ -5258,11 +5258,11 @@ function Ls(t) {
5258
5258
  }
5259
5259
  P.prototype.checkLocalExport.call(this, i);
5260
5260
  }
5261
- }, Y = st, F = [{ key: "acornTypeScript", get: function() {
5261
+ }, Y = st, B = [{ key: "acornTypeScript", get: function() {
5262
5262
  return g;
5263
- } }], ($ = [{ key: "acornTypeScript", get: function() {
5263
+ } }], (G = [{ key: "acornTypeScript", get: function() {
5264
5264
  return g;
5265
- } }]) && De(Y.prototype, $), F && De(Y, F), Object.defineProperty(Y, "prototype", { writable: !1 }), st;
5265
+ } }]) && De(Y.prototype, G), B && De(Y, B), Object.defineProperty(Y, "prototype", { writable: !1 }), st;
5266
5266
  })(d);
5267
5267
  return Ni;
5268
5268
  };
@@ -5271,8 +5271,8 @@ const Os = ["createObject", "dropObject", "removeRecords", "upsertRecords"], Rs
5271
5271
  async function Bs() {
5272
5272
  try {
5273
5273
  console.info("🚀 Building configuration...");
5274
- const t = JSON.parse(await M.readFile("package.json", "utf8")), e = JSON.parse(await M.readFile("config.json", "utf8"));
5275
- 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.");
5274
+ const t = JSON.parse(await D.readFile("package.json", "utf8")), e = JSON.parse(await D.readFile("config.json", "utf8"));
5275
+ t.name != null && (e.id = t.name.replace("@datapos/", "").replace("@data-positioning/", "")), t.version != null && (e.version = t.version), await D.writeFile("config.json", JSON.stringify(e, void 0, 4), "utf8"), console.info("✅ Configuration built.");
5276
5276
  } catch (t) {
5277
5277
  console.error("❌ Error building configuration.", t);
5278
5278
  }
@@ -5281,20 +5281,20 @@ async function js(t) {
5281
5281
  try {
5282
5282
  console.info(`🚀 Building public directory index for identifier '${t}'...`);
5283
5283
  const e = {};
5284
- async function s(o, l) {
5284
+ async function s(o, p) {
5285
5285
  console.info(`⚙️ Processing directory '${o}'...`);
5286
5286
  const d = [], v = o.slice(`public/${t}`.length);
5287
5287
  e[v === "" ? "/" : v] = d;
5288
- for (const g of l) {
5288
+ for (const g of p) {
5289
5289
  const h = `${o}/${g}`;
5290
5290
  try {
5291
- const C = await M.stat(h);
5291
+ const C = await D.stat(h);
5292
5292
  if (C.isDirectory()) {
5293
- const _ = await M.readdir(h), j = { childCount: _.length, name: g, typeId: "folder" };
5294
- d.push(j), await s(h, _);
5293
+ const N = await D.readdir(h), L = { childCount: N.length, name: g, typeId: "folder" };
5294
+ d.push(L), await s(h, N);
5295
5295
  } else {
5296
- const _ = { id: Li(), lastModifiedAt: C.mtimeMs, name: g, size: C.size, typeId: "object" };
5297
- d.push(_);
5296
+ const N = { id: Li(), lastModifiedAt: C.mtimeMs, name: g, size: C.size, typeId: "object" };
5297
+ d.push(N);
5298
5298
  }
5299
5299
  } catch (C) {
5300
5300
  throw new Error(`Unable to get information for '${g}' in 'buildPublicDirectoryIndex'. ${String(C)}`);
@@ -5305,8 +5305,8 @@ async function js(t) {
5305
5305
  return C === 0 ? g.name.localeCompare(h.name) : C;
5306
5306
  });
5307
5307
  }
5308
- const a = await M.readdir(`public/${t}`);
5309
- await s(`public/${t}`, a), await M.writeFile(`./public/${t}Index.json`, JSON.stringify(e), "utf8"), console.info("✅ Public directory index built.");
5308
+ const a = await D.readdir(`public/${t}`);
5309
+ await s(`public/${t}`, a), await D.writeFile(`./public/${t}Index.json`, JSON.stringify(e), "utf8"), console.info("✅ Public directory index built.");
5310
5310
  } catch (e) {
5311
5311
  console.error("❌ Error building public directory index.", e);
5312
5312
  }
@@ -5314,41 +5314,37 @@ async function js(t) {
5314
5314
  async function Us() {
5315
5315
  try {
5316
5316
  console.info("🚀 Building connector configuration...");
5317
- const t = JSON.parse(await M.readFile("package.json", "utf8")), e = JSON.parse(await M.readFile("config.json", "utf8")), s = await M.readFile("src/index.ts", "utf8");
5318
- try {
5319
- const C = Parser.extend(Ls()).parse(s, { ecmaVersion: "latest", sourceType: "module", locations: !0 }), _ = /* @__PURE__ */ new Set();
5320
- Ri(C, {
5321
- FunctionDeclaration(B) {
5322
- B.id?.name && _.add(B.id.name);
5323
- },
5324
- MethodDefinition(B) {
5325
- const U = B.key?.name, G = B.key?.type === "PrivateIdentifier" || B.accessibility === "private";
5326
- U && !G && !(U === "constructor") && _.add(U);
5327
- },
5328
- VariableDeclarator(B, U) {
5329
- const G = B.id?.name, I = B.init;
5330
- G && I && (I.type === "ArrowFunctionExpression" || I.type === "FunctionExpression") && _.add(G);
5331
- },
5332
- // Handle class properties with arrow functions (TS/modern JS)
5333
- PropertyDefinition(B) {
5334
- const U = B.key?.name, G = B.key?.type === "PrivateIdentifier" || B.accessibility === "private", I = B.value?.type === "ArrowFunctionExpression" || B.value?.type === "FunctionExpression";
5335
- U && !G && I && _.add(U);
5336
- }
5337
- });
5338
- const j = Array.from(_);
5339
- j.length > 0 && console.info(`ℹ️ Extracted ${j.length} functions from TypeScript AST`);
5340
- } catch (h) {
5341
- console.warn("⚠️ Failed to parse with acorn-typescript, falling back to regex method", h);
5342
- }
5343
- let a = !1, o = !1;
5344
- const l = /^\s{4}(?:async\s+)?(private\s+)?(?:public\s+|protected\s+)?([A-Za-z_]\w*)\s*\(/gm, d = [...s.matchAll(l)].filter((h) => h[1] == null && h[2] !== "constructor"), v = [];
5345
- for (const h of d) {
5346
- const C = h[2];
5347
- v.push(C), Os.includes(C) && (a = !0), Rs.includes(C) && (o = !0);
5317
+ const t = JSON.parse(await D.readFile("package.json", "utf8")), e = JSON.parse(await D.readFile("config.json", "utf8")), s = await D.readFile("src/index.ts", "utf8"), o = J.extend(Ls()).parse(s, {
5318
+ ecmaVersion: "latest",
5319
+ sourceType: "module",
5320
+ locations: !0
5321
+ }), p = /* @__PURE__ */ new Set();
5322
+ Ri(o, {
5323
+ FunctionDeclaration(L) {
5324
+ L.id?.name && p.add(L.id.name);
5325
+ },
5326
+ MethodDefinition(L) {
5327
+ const j = L.key?.name, U = L.key?.type === "PrivateIdentifier";
5328
+ j && !U && !(j === "constructor") && p.add(j);
5329
+ },
5330
+ VariableDeclarator(L) {
5331
+ const j = L.id?.name, U = L.init;
5332
+ j && U && (U.type === "ArrowFunctionExpression" || U.type === "FunctionExpression") && p.add(j);
5333
+ },
5334
+ PropertyDefinition(L) {
5335
+ const j = L.key?.name, U = L.key?.type === "PrivateIdentifier", X = L.value?.type === "ArrowFunctionExpression" || L.value?.type === "FunctionExpression";
5336
+ j && !U && X && p.add(j);
5337
+ }
5338
+ }), console.log(`Extracted ${p.size} functions:`, Array.from(p));
5339
+ let d = !1, v = !1;
5340
+ const g = /^\s{4}(?:async\s+)?(private\s+)?(?:public\s+|protected\s+)?([A-Za-z_]\w*)\s*\(/gm, h = [...s.matchAll(g)].filter((L) => L[1] == null && L[2] !== "constructor"), C = [];
5341
+ for (const L of h) {
5342
+ const j = L[2];
5343
+ C.push(j), Os.includes(j) && (d = !0), Rs.includes(j) && (v = !0);
5348
5344
  }
5349
- v.length > 0 ? console.info(`ℹ️ Implements ${v.length} operations.`) : console.warn("⚠️ Implements no operations.");
5350
- let g;
5351
- o && a ? g = "bidirectional" : o ? g = "source" : a ? g = "destination" : g = "unknown", g === "unknown" ? console.warn("⚠️ No usage identified.") : console.info(`ℹ️ Supports ${g} usage.`), t.name != null && (e.id = t.name), e.operations = v, e.usageId = g, t.version != null && (e.version = t.version), await M.writeFile("config.json", JSON.stringify(e, void 0, 4), "utf8"), console.info("✅ Connector configuration built.");
5345
+ C.length > 0 ? console.info(`ℹ️ Implements ${C.length} operations.`) : console.warn("⚠️ Implements no operations.");
5346
+ let N;
5347
+ v && d ? N = "bidirectional" : v ? N = "source" : d ? N = "destination" : N = "unknown", N === "unknown" ? console.warn("⚠️ No usage identified.") : console.info(`ℹ️ Supports ${N} usage.`), t.name != null && (e.id = t.name), e.operations = C, e.usageId = N, t.version != null && (e.version = t.version), await D.writeFile("config.json", JSON.stringify(e, void 0, 4), "utf8"), console.info("✅ Connector configuration built.");
5352
5348
  } catch (t) {
5353
5349
  console.error("❌ Error building connector configuration.", t);
5354
5350
  }
@@ -5356,8 +5352,8 @@ async function Us() {
5356
5352
  async function qs() {
5357
5353
  try {
5358
5354
  console.info("🚀 Building context configuration...");
5359
- const t = JSON.parse(await M.readFile("package.json", "utf8")), e = JSON.parse(await M.readFile("config.json", "utf8")), s = await M.readFile("src/index.ts", "utf8"), a = /^\s{4}(?:async\s+)?(private\s+)?(?:public\s+|protected\s+)?([A-Za-z_]\w*)\s*\(/gm, o = [...s.matchAll(a)].filter((l) => l[1] == null && l[2] !== "constructor").map((l) => l[2]);
5360
- t.name != null && (e.id = t.name), e.operations = o, t.version != null && (e.version = t.version), await M.writeFile("config.json", JSON.stringify(e, void 0, 4), "utf8"), console.info("✅ Context configuration built.");
5355
+ const t = JSON.parse(await D.readFile("package.json", "utf8")), e = JSON.parse(await D.readFile("config.json", "utf8")), s = await D.readFile("src/index.ts", "utf8"), a = /^\s{4}(?:async\s+)?(private\s+)?(?:public\s+|protected\s+)?([A-Za-z_]\w*)\s*\(/gm, o = [...s.matchAll(a)].filter((p) => p[1] == null && p[2] !== "constructor").map((p) => p[2]);
5356
+ t.name != null && (e.id = t.name), e.operations = o, t.version != null && (e.version = t.version), await D.writeFile("config.json", JSON.stringify(e, void 0, 4), "utf8"), console.info("✅ Context configuration built.");
5361
5357
  } catch (t) {
5362
5358
  console.error("❌ Error building context configuration.", t);
5363
5359
  }
@@ -5365,38 +5361,38 @@ async function qs() {
5365
5361
  async function Hs() {
5366
5362
  try {
5367
5363
  console.info("🚀 Building presenter configuration...");
5368
- const t = JSON.parse(await M.readFile("package.json", "utf8")), e = JSON.parse(await M.readFile("config.json", "utf8")), s = await M.readFile("src/index.ts", "utf8"), a = /^\s{4}(?:async\s+)?(private\s+)?(?:public\s+|protected\s+)?([A-Za-z_]\w*)\s*\(/gm, o = [...s.matchAll(a)].filter((l) => l[1] == null && l[2] !== "constructor").map((l) => l[2]);
5369
- t.name != null && (e.id = t.name), e.operations = o, t.version != null && (e.version = t.version), await M.writeFile("config.json", JSON.stringify(e, void 0, 4), "utf8"), console.info("✅ Presenter configuration built.");
5364
+ const t = JSON.parse(await D.readFile("package.json", "utf8")), e = JSON.parse(await D.readFile("config.json", "utf8")), s = await D.readFile("src/index.ts", "utf8"), a = /^\s{4}(?:async\s+)?(private\s+)?(?:public\s+|protected\s+)?([A-Za-z_]\w*)\s*\(/gm, o = [...s.matchAll(a)].filter((p) => p[1] == null && p[2] !== "constructor").map((p) => p[2]);
5365
+ t.name != null && (e.id = t.name), e.operations = o, t.version != null && (e.version = t.version), await D.writeFile("config.json", JSON.stringify(e, void 0, 4), "utf8"), console.info("✅ Presenter configuration built.");
5370
5366
  } catch (t) {
5371
5367
  console.error("❌ Error building context configuration.", t);
5372
5368
  }
5373
5369
  }
5374
- async function Ws(t = "./") {
5370
+ async function zs(t = "./") {
5375
5371
  try {
5376
5372
  console.info("🚀 Bumping version...");
5377
- const e = JSON.parse(await M.readFile(`${t}package.json`, "utf8"));
5373
+ const e = JSON.parse(await D.readFile(`${t}package.json`, "utf8"));
5378
5374
  if (e.version == null)
5379
- 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}.`);
5375
+ e.version = "0.0.001", await D.writeFile(`${t}package.json`, JSON.stringify(e, void 0, 4), "utf8"), console.warn(`⚠️ Version initialised to ${e.version}.`);
5380
5376
  else {
5381
5377
  const s = e.version, a = e.version.split(".");
5382
- 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 ${s} to ${e.version}.`);
5378
+ e.version = `${a[0]}.${a[1]}.${Number(a[2]) + 1}`, await D.writeFile(`${t}package.json`, JSON.stringify(e, void 0, 4), "utf8"), console.info(`✅ Version bumped from ${s} to ${e.version}.`);
5383
5379
  }
5384
5380
  } catch (e) {
5385
5381
  console.error("❌ Error bumping package version.", e);
5386
5382
  }
5387
5383
  }
5388
- function zs(t) {
5384
+ function Ws(t) {
5389
5385
  console.error(`❌ ${t} script not implemented.`);
5390
5386
  }
5391
5387
  async function Ks() {
5392
5388
  const t = "<!-- DEPENDENCY_LICENSES_START -->", e = "<!-- DEPENDENCY_LICENSES_END -->";
5393
5389
  try {
5394
- const s = (await M.readFile("./licenses.md", "utf8")).trim(), a = await M.readFile("./README.md", "utf8"), o = a.indexOf(t), l = a.indexOf(e);
5395
- (o === -1 || l === -1) && (console.error("❌ Dependency license markers not found in readme file."), process.exit(1));
5390
+ const s = (await D.readFile("./licenses.md", "utf8")).trim(), a = await D.readFile("./README.md", "utf8"), o = a.indexOf(t), p = a.indexOf(e);
5391
+ (o === -1 || p === -1) && (console.error("❌ Dependency license markers not found in readme file."), process.exit(1));
5396
5392
  const d = a.substring(0, o + t.length) + `
5397
5393
  ` + s + `
5398
- ` + a.substring(l);
5399
- await M.writeFile("README.md", d, "utf8"), console.log("✅ Readme file updated with license information");
5394
+ ` + a.substring(p);
5395
+ await D.writeFile("README.md", d, "utf8"), console.log("✅ Readme file updated with license information");
5400
5396
  } catch (s) {
5401
5397
  console.error("❌ Error updating readme file.", s), process.exit(1);
5402
5398
  }
@@ -5404,12 +5400,12 @@ async function Ks() {
5404
5400
  async function Js() {
5405
5401
  const t = "<!-- OWASP_BADGE_START -->", e = "<!-- OWASP_BADGE_END -->";
5406
5402
  try {
5407
- const s = 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 };
5408
- for (const B of s.dependencies)
5409
- if (B.vulnerabilities != null)
5410
- for (const U of B.vulnerabilities) {
5411
- const G = U.severity?.toLowerCase() ?? "unknown";
5412
- G in a ? a[G]++ : a.unknown++;
5403
+ const s = JSON.parse(await D.readFile("./dependency-check-reports/dependency-check-report.json", "utf-8")), a = { critical: 0, high: 0, moderate: 0, low: 0, unknown: 0 };
5404
+ for (const j of s.dependencies)
5405
+ if (j.vulnerabilities != null)
5406
+ for (const U of j.vulnerabilities) {
5407
+ const X = U.severity?.toLowerCase() ?? "unknown";
5408
+ X in a ? a[X]++ : a.unknown++;
5413
5409
  }
5414
5410
  const o = {
5415
5411
  critical: { color: "D32F2F", label: "critical" },
@@ -5417,20 +5413,20 @@ async function Js() {
5417
5413
  moderate: { color: "FBC02D", label: "moderate" },
5418
5414
  low: { color: "6D8C31", label: "low" },
5419
5415
  unknown: { color: "616161", label: "unknown" }
5420
- }, l = JSON.parse(await M.readFile("config.json", "utf8")), d = [];
5421
- if (Object.values(a).reduce((B, U) => B + U, 0) === 0)
5422
- console.info("✅ No vulnerabilities found."), d.push(`[![OWASP](https://img.shields.io/badge/OWASP-passed-4CAF50)](https://data-positioning.github.io/${l.id}/dependency-check-reports/dependency-check-report.html)`);
5416
+ }, p = JSON.parse(await D.readFile("config.json", "utf8")), d = [];
5417
+ if (Object.values(a).reduce((j, U) => j + U, 0) === 0)
5418
+ console.info("✅ No vulnerabilities found."), d.push(`[![OWASP](https://img.shields.io/badge/OWASP-passed-4CAF50)](https://data-positioning.github.io/${p.id}/dependency-check-reports/dependency-check-report.html)`);
5423
5419
  else
5424
- for (const [B, U] of Object.entries(a)) {
5425
- const G = o[B];
5426
- if (console.warn(`⚠️ ${U} ${G.label} vulnerability(ies) found.`), U === 0) continue;
5427
- const I = `https://img.shields.io/badge/OWASP-${U}%20${G.label}-${G.color}`;
5428
- d.push(`[![OWASP](${I})](https://data-positioning.github.io/${l.id}/dependency-check-reports/dependency-check-report.html)`);
5420
+ for (const [j, U] of Object.entries(a)) {
5421
+ const X = o[j];
5422
+ if (console.warn(`⚠️ ${U} ${X.label} vulnerability(ies) found.`), U === 0) continue;
5423
+ const _ = `https://img.shields.io/badge/OWASP-${U}%20${X.label}-${X.color}`;
5424
+ d.push(`[![OWASP](${_})](https://data-positioning.github.io/${p.id}/dependency-check-reports/dependency-check-report.html)`);
5429
5425
  }
5430
- const g = await M.readFile("./README.md", "utf8"), h = g.indexOf(t), C = g.indexOf(e);
5426
+ const g = await D.readFile("./README.md", "utf8"), h = g.indexOf(t), C = g.indexOf(e);
5431
5427
  (h === -1 || C === -1) && (console.error("❌ OWASP badge markers not found in README.md."), process.exit(1));
5432
- const _ = d.join(" "), j = g.substring(0, h + t.length) + _ + g.substring(C);
5433
- await M.writeFile("README.md", j, "utf8"), console.info("✅ OWASP dependency check badge(s) inserted into README.md");
5428
+ const N = d.join(" "), L = g.substring(0, h + t.length) + N + g.substring(C);
5429
+ await D.writeFile("README.md", L, "utf8"), console.info("✅ OWASP dependency check badge(s) inserted into README.md");
5434
5430
  } catch (s) {
5435
5431
  console.error("❌ Error updating README with OWASP badges:", s), process.exit(1);
5436
5432
  }
@@ -5438,7 +5434,7 @@ async function Js() {
5438
5434
  async function Gs() {
5439
5435
  try {
5440
5436
  console.info("🚀 Sending deployment notice...");
5441
- const t = JSON.parse(await M.readFile("config.json", "utf8")), e = {
5437
+ const t = JSON.parse(await D.readFile("config.json", "utf8")), e = {
5442
5438
  body: JSON.stringify(t),
5443
5439
  headers: { "Content-Type": "application/json" },
5444
5440
  method: "PUT"
@@ -5452,7 +5448,7 @@ async function Gs() {
5452
5448
  async function $s() {
5453
5449
  try {
5454
5450
  console.info("🚀 Synchronising with GitHub....");
5455
- const t = JSON.parse(await M.readFile("package.json", "utf8"));
5451
+ const t = JSON.parse(await D.readFile("package.json", "utf8"));
5456
5452
  await Ft("git add ."), await Ft(`git commit -m "v${t.version}"`), await Ft("git push origin main:main"), console.info(`✅ Synchronised version ${t.version} with GitHub.`);
5457
5453
  } catch (t) {
5458
5454
  console.error("❌ Error synchronising with GitHub.", t);
@@ -5461,20 +5457,20 @@ async function $s() {
5461
5457
  async function Xs(t, e) {
5462
5458
  try {
5463
5459
  console.info("🚀 Uploading directory to R2....");
5464
- async function s(o, l, d) {
5460
+ async function s(o, p, d) {
5465
5461
  for (const v of d) {
5466
- const g = `${o}/${v}`, h = `${l}/${v}`;
5467
- if ((await M.stat(g)).isDirectory()) {
5468
- const _ = await M.readdir(g);
5469
- await s(g, h, _);
5462
+ const g = `${o}/${v}`, h = `${p}/${v}`;
5463
+ if ((await D.stat(g)).isDirectory()) {
5464
+ const N = await D.readdir(g);
5465
+ await s(g, h, N);
5470
5466
  } else {
5471
5467
  console.info(`⚙️ Uploading '${o}/${v}'...`);
5472
- const _ = `wrangler r2 object put "datapos-sample-data-eu/${l}/${v}" --file="${o}/${v}" --jurisdiction=eu --remote`, j = await Ft(_);
5473
- if (j.stderr) throw new Error(j.stderr);
5468
+ const N = `wrangler r2 object put "datapos-sample-data-eu/${p}/${v}" --file="${o}/${v}" --jurisdiction=eu --remote`, L = await Ft(N);
5469
+ if (L.stderr) throw new Error(L.stderr);
5474
5470
  }
5475
5471
  }
5476
5472
  }
5477
- const a = await M.readdir(`${t}/${e}/`);
5473
+ const a = await D.readdir(`${t}/${e}/`);
5478
5474
  await s(`${t}/${e}`, e, a), console.info("✅ Directory uploaded to R2.");
5479
5475
  } catch (s) {
5480
5476
  console.error("❌ Error uploading directory to R2.", s);
@@ -5483,7 +5479,7 @@ async function Xs(t, e) {
5483
5479
  async function Qs() {
5484
5480
  try {
5485
5481
  console.info("🚀 Uploading module configuration....");
5486
- const t = JSON.parse(await M.readFile("config.json", "utf8")), e = t.id, s = {
5482
+ const t = JSON.parse(await D.readFile("config.json", "utf8")), e = t.id, s = {
5487
5483
  body: JSON.stringify(t),
5488
5484
  headers: { "Content-Type": "application/json" },
5489
5485
  method: "PUT"
@@ -5497,16 +5493,16 @@ async function Qs() {
5497
5493
  async function Ys(t) {
5498
5494
  try {
5499
5495
  console.info("🚀 Uploading module to R2...");
5500
- const s = `v${JSON.parse(await M.readFile("package.json", "utf8")).version}`;
5501
- async function a(o, l = "") {
5502
- const d = await M.readdir(o, { withFileTypes: !0 });
5496
+ const s = `v${JSON.parse(await D.readFile("package.json", "utf8")).version}`;
5497
+ async function a(o, p = "") {
5498
+ const d = await D.readdir(o, { withFileTypes: !0 });
5503
5499
  for (const v of d) {
5504
- const g = `${o}/${v.name}`, h = l ? `${l}/${v.name}` : v.name;
5500
+ const g = `${o}/${v.name}`, h = p ? `${p}/${v.name}` : v.name;
5505
5501
  if (!v.isDirectory()) {
5506
- const C = `${t}_${s}/${h}`.replace(/\\/g, "/"), _ = v.name.endsWith(".js") ? "application/javascript" : v.name.endsWith(".css") ? "text/css" : "application/octet-stream";
5502
+ const C = `${t}_${s}/${h}`.replace(/\\/g, "/"), N = v.name.endsWith(".js") ? "application/javascript" : v.name.endsWith(".css") ? "text/css" : "application/octet-stream";
5507
5503
  console.info(`⚙️ Uploading '${h}' → '${C}'...`);
5508
- const { stderr: j } = await Ft(`wrangler r2 object put "${C}" --file="${g}" --content-type ${_} --jurisdiction=eu --remote`);
5509
- if (j) throw new Error(j);
5504
+ const { stderr: L } = await Ft(`wrangler r2 object put "${C}" --file="${g}" --content-type ${N} --jurisdiction=eu --remote`);
5505
+ if (L) throw new Error(L);
5510
5506
  }
5511
5507
  }
5512
5508
  }
@@ -5521,8 +5517,8 @@ export {
5521
5517
  qs as buildContextConfig,
5522
5518
  Hs as buildPresenterConfig,
5523
5519
  js as buildPublicDirectoryIndex,
5524
- Ws as bumpVersion,
5525
- zs as echoScriptNotImplemented,
5520
+ zs as bumpVersion,
5521
+ Ws as echoScriptNotImplemented,
5526
5522
  Ks as insertLicensesIntoReadme,
5527
5523
  Js as insertOWASPDependencyCheckBadgeIntoReadme,
5528
5524
  Gs as sendDeploymentNotice,