oxfmt 0.57.0 → 0.59.0

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.
Files changed (37) hide show
  1. package/configuration_schema.json +3 -3
  2. package/dist/{acorn-LGWopQvF.js → acorn-Dxp-n4ed.js} +1984 -1801
  3. package/dist/{angular-BbAuvH72.js → angular-Clx-wbm6.js} +1750 -995
  4. package/dist/{apis-CvFX8LhR.js → apis-D299uPBa.js} +4 -4
  5. package/dist/babel-7tfAjQas.js +10005 -0
  6. package/dist/{bindings-Cj_GMsoO.js → bindings-CjOHPMBU.js} +26 -26
  7. package/dist/{chunk-DSjvVL_1-DllBg9tc.js → chunk-DSjvVL_1-Do0Iorfu.js} +1 -1
  8. package/dist/cli-worker.d.ts +21 -27
  9. package/dist/cli-worker.js +1 -1
  10. package/dist/cli.js +3 -2
  11. package/dist/{dist-BKyxiMdj.js → dist-Byfj_1s9.js} +17 -17
  12. package/dist/estree-CyQu6pff.js +8006 -0
  13. package/dist/flow-BH5imzwC.js +9164 -0
  14. package/dist/{glimmer-Ba_8Z2bG.js → glimmer-B5hfTXAX.js} +295 -213
  15. package/dist/{graphql-CZ7EPWgo.js → graphql-DQB_nHt9.js} +968 -818
  16. package/dist/{html-DblM11Xw.js → html--849eFzc.js} +1531 -1318
  17. package/dist/index.d.ts +7 -3
  18. package/dist/index.js +3 -3
  19. package/dist/{jiti-Bb1dT6Cw-0c6As3U-.js → jiti-Bb1dT6Cw-cY1yrK9n.js} +2 -2
  20. package/dist/markdown-B1lBrqaF.js +14043 -0
  21. package/dist/{meriyah-DafjRZfO.js → meriyah-B5wbO5kj.js} +1568 -1445
  22. package/dist/{migrate-prettier-DrYAkU3F.js → migrate-prettier-CbxtU9AG.js} +49 -42
  23. package/dist/{plugin-BuVceHGR.js → plugin-D1B0s0iv.js} +16 -12
  24. package/dist/{postcss-CkhtwsAS.js → postcss-DuOoF7OX.js} +2243 -2013
  25. package/dist/{prettier-DKAx5A83.js → prettier-CEZwFZsY.js} +5673 -5038
  26. package/dist/{sorter-BZkvDMjt-C8qUPUh2.js → sorter-BZkvDMjt-DFTeIPU-.js} +7 -7
  27. package/dist/{sorter-DSVZH4kF.js → sorter-Cm0Z2eGI.js} +1 -1
  28. package/dist/{typescript-DaxiA0nr.js → typescript-Cvdwz3-D.js} +10574 -10254
  29. package/dist/{v3-D-mr2VVh-Ch8a-2Ce.js → v3-D-mr2VVh-C_WUxELf.js} +6 -5
  30. package/dist/{v4-C-HWEQJm-DheWK34Z.js → v4-C-HWEQJm-C0ut0NwJ.js} +108 -30
  31. package/dist/yaml-Dd4aShtG.js +6210 -0
  32. package/package.json +20 -20
  33. package/dist/babel-DLjwvkt5.js +0 -9884
  34. package/dist/estree-DbmUPhmV.js +0 -7269
  35. package/dist/flow-CJbpv7JL.js +0 -52916
  36. package/dist/markdown-B5hFVJKQ.js +0 -6880
  37. package/dist/yaml-BC7gw7un.js +0 -5280
@@ -1,20 +1,20 @@
1
1
  import { n as __esmMin } from "./rolldown-runtime-CE-6LUnI.js";
2
- //#region ../../node_modules/.pnpm/prettier@3.8.4/node_modules/prettier/plugins/angular.mjs
3
- function Fr(t) {
2
+ //#region ../../node_modules/.pnpm/prettier@3.9.5/node_modules/prettier/plugins/angular.mjs
3
+ function pr(t) {
4
4
  return typeof t == "string" ? (e) => e === t : (e) => t.test(e);
5
5
  }
6
- function Sn(t, e, n) {
7
- let s = Fr(e);
8
- for (let r = n; r < t.length; r++) {
9
- let i = t[r];
10
- if (s(i)) return r;
6
+ function An(t, e, n) {
7
+ let s = pr(e);
8
+ for (let i = n; i < t.length; i++) {
9
+ let r = t[i];
10
+ if (s(r)) return i;
11
11
  }
12
12
  throw new Error(`Cannot find character ${e} from index ${n} in ${JSON.stringify(t)}`);
13
13
  }
14
- function En(t) {
14
+ function Pn(t) {
15
15
  return t.slice(0, 1).toLowerCase() + t.slice(1);
16
16
  }
17
- function Re(t) {
17
+ function Be(t) {
18
18
  let { start: e, end: n } = t;
19
19
  return {
20
20
  start: e,
@@ -22,352 +22,529 @@ function Re(t) {
22
22
  range: [e, n]
23
23
  };
24
24
  }
25
- function xn(t) {
25
+ function Nn(t) {
26
26
  return !!t.extra?.parenthesized;
27
27
  }
28
- function ve(t) {
29
- return t.type === "TSNonNullExpression" && !xn(t) ? ve(t.expression) : (t.type === "OptionalCallExpression" || t.type === "OptionalMemberExpression") && !xn(t);
28
+ function ye(t) {
29
+ return t.type === "TSNonNullExpression" && !Nn(t) ? ye(t.expression) : (t.type === "OptionalCallExpression" || t.type === "OptionalMemberExpression") && !Nn(t);
30
+ }
31
+ function fr() {
32
+ return K || (K = yt(), B(x.HTML, void 0, [["iframe", ["srcdoc"]], ["*", ["innerHTML", "outerHTML"]]]), B(x.STYLE, void 0, [["*", ["style"]]]), B(x.URL, void 0, [
33
+ ["*", ["formAction"]],
34
+ ["area", ["href"]],
35
+ ["a", ["href", "xlink:href"]],
36
+ ["form", ["action"]],
37
+ ["img", ["src"]],
38
+ ["video", ["src"]]
39
+ ]), B(x.URL, hr, [["*", ["href", "xlink:href"]]]), B(x.RESOURCE_URL, void 0, [
40
+ ["base", ["href"]],
41
+ ["embed", ["src"]],
42
+ ["frame", ["src"]],
43
+ ["iframe", ["src"]],
44
+ ["link", ["href"]],
45
+ ["object", ["codebase", "data"]]
46
+ ]), B(x.URL, Ln, [["a", ["href", "xlink:href"]]]), B(x.ATTRIBUTE_NO_BINDING, Ln, [
47
+ ["animate", [
48
+ "attributeName",
49
+ "values",
50
+ "to",
51
+ "from"
52
+ ]],
53
+ ["set", ["to", "attributeName"]],
54
+ ["animateMotion", ["attributeName"]],
55
+ ["animateTransform", ["attributeName"]]
56
+ ]), B(x.ATTRIBUTE_NO_BINDING, void 0, [["unknown", [
57
+ "attributeName",
58
+ "values",
59
+ "to",
60
+ "from",
61
+ "sandbox",
62
+ "allow",
63
+ "allowFullscreen",
64
+ "referrerPolicy",
65
+ "csp",
66
+ "fetchPriority",
67
+ "credentialless"
68
+ ]], ["iframe", [
69
+ "sandbox",
70
+ "allow",
71
+ "allowFullscreen",
72
+ "referrerPolicy",
73
+ "csp",
74
+ "fetchPriority",
75
+ "credentialless"
76
+ ]]]), K);
77
+ }
78
+ function B(t, e, n) {
79
+ let s = e ?? Bs;
80
+ for (let [i, r] of n) {
81
+ let a = i.toLowerCase();
82
+ for (let u of r) {
83
+ let h = u.toLowerCase(), d = K[h] ?? (K[h] = yt()), g = d[s] ?? (d[s] = yt());
84
+ g[a] = t;
85
+ }
86
+ }
30
87
  }
31
- function Vr(t, e) {
88
+ function dr(t, e, n) {
89
+ let i = fr()[e.toLowerCase()];
90
+ if (!i) return x.NONE;
91
+ let r = t.toLowerCase(), a;
92
+ if (n) {
93
+ let u = i[n];
94
+ u && (a = u[r] ?? u[$n]);
95
+ }
96
+ if (a === void 0) {
97
+ let u = i[Bs];
98
+ u && (a = u[r] ?? u[$n]);
99
+ }
100
+ return a ?? x.NONE;
101
+ }
102
+ function mr(t, e) {
32
103
  return t == null || e == null ? t == e : t.isEquivalent(e);
33
104
  }
34
- function Ur(t, e, n) {
105
+ function gr(t, e, n) {
35
106
  let s = t.length;
36
107
  if (s !== e.length) return !1;
37
- for (let r = 0; r < s; r++) if (!n(t[r], e[r])) return !1;
108
+ for (let i = 0; i < s; i++) if (!n(t[i], e[i])) return !1;
38
109
  return !0;
39
110
  }
40
- function oe(t, e) {
41
- return Ur(t, e, (n, s) => n.isEquivalent(s));
111
+ function ue(t, e) {
112
+ return gr(t, e, (n, s) => n.isEquivalent(s));
42
113
  }
43
- function li(t) {
44
- return t >= vs && t <= ws || t == ks;
114
+ function wr(t) {
115
+ return t.replace(vr, (...e) => e[1].toUpperCase());
45
116
  }
46
- function G(t) {
47
- return Qr <= t && t <= Kr;
117
+ function ot(t, e = !0) {
118
+ if (t[0] != ":") return [null, t];
119
+ let n = t.indexOf(":", 1);
120
+ if (n === -1) {
121
+ if (e) throw new Error(`Unsupported format "${t}" expecting ":namespace:name"`);
122
+ return [null, t];
123
+ }
124
+ return [t.slice(1, n), t.slice(n + 1)];
48
125
  }
49
- function jt(t) {
50
- return t >= Cs && t <= _s || t >= en && t <= tn;
126
+ function Kn(t) {
127
+ return ot(t)[1] === "ng-container";
51
128
  }
52
- function Wn(t) {
53
- return t === Ss || t === xs || t === qt;
129
+ function Zn(t) {
130
+ return ot(t)[1] === "ng-content";
54
131
  }
55
- function xe(t, e, n) {
56
- return new b(t, e, f.Character, n, String.fromCharCode(n));
132
+ function Fr(t) {
133
+ return t >= Fs && t <= Vs || t == Gs;
57
134
  }
58
- function ki(t, e, n) {
59
- return new b(t, e, f.Identifier, 0, n);
135
+ function X(t) {
136
+ return Ir <= t && t <= Nr;
60
137
  }
61
- function Ti(t, e, n) {
62
- return new b(t, e, f.PrivateIdentifier, 0, n);
138
+ function en(t) {
139
+ return t >= js && t <= zs || t >= pn && t <= hn;
63
140
  }
64
- function bi(t, e, n) {
65
- return new b(t, e, f.Keyword, 0, n);
141
+ function rs(t) {
142
+ return t === Us || t === Hs || t === Zt;
66
143
  }
67
- function B(t, e, n) {
68
- return new b(t, e, f.Operator, 0, n);
144
+ function Ce(t, e, n) {
145
+ return new I(t, e, f.Character, n, String.fromCharCode(n));
146
+ }
147
+ function no(t, e, n) {
148
+ return new I(t, e, f.Identifier, 0, n);
149
+ }
150
+ function so(t, e, n) {
151
+ return new I(t, e, f.PrivateIdentifier, 0, n);
69
152
  }
70
- function Ai(t, e, n) {
71
- return new b(t, e, f.Number, n, "");
153
+ function io(t, e, n) {
154
+ return new I(t, e, f.Keyword, 0, n);
72
155
  }
73
- function Ii(t, e, n) {
74
- return new b(t, e, f.Error, 0, n);
156
+ function F(t, e, n) {
157
+ return new I(t, e, f.Operator, 0, n);
75
158
  }
76
- function Ni(t, e, n) {
77
- return new b(t, e, f.RegExpBody, 0, n);
159
+ function ro(t, e, n) {
160
+ return new I(t, e, f.Number, n, "");
78
161
  }
79
- function Pi(t, e, n) {
80
- return new b(t, e, f.RegExpFlags, 0, n);
162
+ function oo(t, e, n) {
163
+ return new I(t, e, f.Error, 0, n);
81
164
  }
82
- function cs(t) {
83
- return Cs <= t && t <= _s || en <= t && t <= tn || t == Ze || t == Zt;
165
+ function ao(t, e, n) {
166
+ return new I(t, e, f.RegExpBody, 0, n);
84
167
  }
85
- function us(t) {
86
- return jt(t) || G(t) || t == Ze || t == Zt;
168
+ function lo(t, e, n) {
169
+ return new I(t, e, f.RegExpFlags, 0, n);
87
170
  }
88
- function Li(t) {
89
- return t == ti || t == Zr;
171
+ function Ts(t) {
172
+ return js <= t && t <= zs || pn <= t && t <= hn || t == at || t == un;
90
173
  }
91
- function Mi(t) {
92
- return t == ys || t == Es;
174
+ function ks(t) {
175
+ return en(t) || X(t) || t == at || t == un;
93
176
  }
94
- function Ri(t) {
177
+ function co(t) {
178
+ return t == Lr || t == Ar;
179
+ }
180
+ function uo(t) {
181
+ return t == qs || t == Ws;
182
+ }
183
+ function po(t) {
95
184
  switch (t) {
96
- case si: return $e;
97
- case ni: return jr;
98
- case ri: return zr;
99
- case ii: return vs;
100
- case ai: return qr;
185
+ case Mr: return Ve;
186
+ case $r: return Er;
187
+ case Rr: return Cr;
188
+ case Or: return Fs;
189
+ case Br: return yr;
101
190
  default: return t;
102
191
  }
103
192
  }
104
- function $i(t) {
193
+ function ho(t) {
105
194
  let e = parseInt(t);
106
195
  if (isNaN(e)) throw new Error("Invalid integer literal when parsing " + t);
107
196
  return e;
108
197
  }
109
- function V(t) {
198
+ function H(t) {
110
199
  return t.start.toString() || "(unknown)";
111
200
  }
112
- function re(t, e, n, s) {
201
+ function le(t, e, n, s) {
113
202
  n.length > 0 && (n = ` ${n} `);
114
- let r = V(s);
115
- return new Pe(s, `Parser Error: ${t}${n}[${e}] in ${r}`);
203
+ let i = H(s);
204
+ return new Re(s, `Parser Error: ${t}${n}[${e}] in ${i}`);
116
205
  }
117
- function Oi(t) {
118
- let e = /* @__PURE__ */ new Map(), n = 0, s = 0, r = 0;
119
- for (; r < t.length;) {
120
- let i = t[r];
121
- if (i.type === 9) {
122
- let [a, p] = i.parts;
123
- n += p.length, s += a.length;
206
+ function fo(t) {
207
+ let e = /* @__PURE__ */ new Map(), n = 0, s = 0, i = 0;
208
+ for (; i < t.length;) {
209
+ let r = t[i];
210
+ if (r.type === 9) {
211
+ let [a, u] = r.parts;
212
+ n += u.length, s += a.length;
124
213
  } else {
125
- let a = i.parts.reduce((p, h) => p + h.length, 0);
214
+ let a = r.parts.reduce((u, h) => u + h.length, 0);
126
215
  s += a, n += a;
127
216
  }
128
- e.set(s, n), r++;
217
+ e.set(s, n), i++;
129
218
  }
130
219
  return e;
131
220
  }
132
- function Ps(t) {
133
- let e = new Xe(t, Fi), n = new Ge(e, 0, 0, 0), s = n.moveBy(t.length);
221
+ function Fe(t) {
222
+ let [n, s] = ot(t.toLowerCase(), !1);
223
+ return n === mo || n === go ? `:${n}:${s}` : s;
224
+ }
225
+ function Co(t) {
226
+ switch (t) {
227
+ case "width":
228
+ case "height":
229
+ case "minWidth":
230
+ case "minHeight":
231
+ case "maxWidth":
232
+ case "maxHeight":
233
+ case "left":
234
+ case "top":
235
+ case "bottom":
236
+ case "right":
237
+ case "fontSize":
238
+ case "outlineWidth":
239
+ case "outlineOffset":
240
+ case "paddingTop":
241
+ case "paddingLeft":
242
+ case "paddingBottom":
243
+ case "paddingRight":
244
+ case "marginTop":
245
+ case "marginLeft":
246
+ case "marginBottom":
247
+ case "marginRight":
248
+ case "borderRadius":
249
+ case "borderWidth":
250
+ case "borderTopWidth":
251
+ case "borderLeftWidth":
252
+ case "borderRightWidth":
253
+ case "borderBottomWidth":
254
+ case "textIndent": return !0;
255
+ default: return !1;
256
+ }
257
+ }
258
+ function ei(t) {
259
+ let e = new et(t, ko), n = new Ze(e, 0, 0, 0), s = n.moveBy(t.length);
134
260
  return {
135
261
  text: t,
136
262
  file: e,
137
263
  start: n,
138
264
  end: s,
139
- sourceSpan: new Je(n, s)
265
+ sourceSpan: new tt(n, s)
140
266
  };
141
267
  }
142
- function Ls() {
143
- return Vi ?? (Vi = new he(new Le()));
268
+ function ti() {
269
+ return _o ?? (_o = new ge(new Oe()));
144
270
  }
145
- function Hi(t) {
146
- let e = Ui(t);
271
+ function No(t) {
272
+ let e = Io(t);
147
273
  return e === null ? [] : [{
148
274
  type: "CommentLine",
149
275
  value: t.slice(e + 2),
150
- ...Re({
276
+ ...Be({
151
277
  start: e,
152
278
  end: t.length
153
279
  })
154
280
  }];
155
281
  }
156
- function Ms(t) {
282
+ function ni(t) {
157
283
  let { result: e } = t;
158
284
  if (e.errors.length !== 0) {
159
285
  let [n] = e.errors;
160
- if (!(n instanceof Pe)) throw n;
286
+ if (!(n instanceof Re)) throw n;
161
287
  let { message: s } = n;
162
288
  {
163
289
  let a = s.match(/ in .*?@\d+:\d+$/);
164
290
  a && (s = s.slice(0, a.index));
165
291
  }
166
- let r = t.start;
292
+ let i = t.start;
167
293
  {
168
294
  let a = s.match(/at column (?<index>\d+)/);
169
- a && (s = s.slice(0, a.index), r = r.moveBy(Number(a.groups.index)));
295
+ a && (s = s.slice(0, a.index), i = i.moveBy(Number(a.groups.index)));
170
296
  }
171
- let i = new SyntaxError(s.trim(), { cause: n });
172
- throw Object.assign(i, {
173
- location: r,
297
+ let r = new SyntaxError(s.trim(), { cause: n });
298
+ throw Object.assign(r, {
299
+ location: i,
174
300
  span: n.span
175
- }), i.cause ?? (i.cause = n), i;
301
+ }), r.cause ?? (r.cause = n), r;
176
302
  }
177
303
  return t;
178
304
  }
179
- function Ki(t) {
305
+ function Fo(t) {
180
306
  return this[t < 0 ? this.length + t : t];
181
307
  }
182
- function kr(t) {
183
- return t instanceof Ne;
308
+ function Gi(t) {
309
+ return t instanceof Me;
184
310
  }
185
- function Tr(t) {
186
- return t instanceof ue;
311
+ function Xi(t) {
312
+ return t instanceof de;
187
313
  }
188
- function Lr(t, e) {
189
- return new eo(t, e).expressions;
314
+ function er(t, e) {
315
+ return new Ho(t, e).expressions;
190
316
  }
191
- function hn(t) {
192
- let e = t.range?.[0] ?? t.start, n = (t.declaration?.decorators ?? t.decorators)?.[0];
193
- return n ? Math.min(hn(n), e) : e;
317
+ function Wo(t, e) {
318
+ let n = /* @__PURE__ */ new SyntaxError(t + " (" + e.loc.start.line + ":" + e.loc.start.column + ")");
319
+ return Object.assign(n, e);
320
+ }
321
+ function nr(t) {
322
+ let e = new Set(t);
323
+ return (n) => e.has(n?.type);
194
324
  }
195
- function Mr(t) {
325
+ function En(t) {
196
326
  return t.range?.[1] ?? t.end;
197
327
  }
198
- function at(t) {
328
+ function ie(t) {
329
+ let e = t.range?.[0] ?? t.start, n = (t.declaration?.decorators ?? t.decorators)?.[0];
330
+ return n ? Math.min(ie(n), e) : e;
331
+ }
332
+ function re(t) {
333
+ let { type: e } = t;
334
+ return e === "IfStatement" ? re(t.alternate ?? t.consequent) : e === "ForInStatement" || e === "ForOfStatement" || e === "ForStatement" || e === "LabeledStatement" || e === "WithStatement" || e === "WhileStatement" ? re(t.body) : Xo.get(e)?.(t) ?? En(t);
335
+ }
336
+ function Jo(t) {
337
+ let { type: e = "JsExpressionRoot", expression: n, comments: s = n?.comments ?? [], text: i, rootMarker: r } = t, a = {
338
+ type: e,
339
+ comments: s,
340
+ range: [0, i.length],
341
+ rootMarker: r
342
+ };
343
+ return n && (delete n.comments, a.node = n), a;
344
+ }
345
+ function Yo(t) {
346
+ if (!t?.location) return t;
347
+ let { message: e, location: { line: n, col: s } } = t;
348
+ return tr(e, {
349
+ loc: { start: {
350
+ line: n + 1,
351
+ column: Math.max(s, 1)
352
+ } },
353
+ cause: t
354
+ });
355
+ }
356
+ function gt(t) {
199
357
  return {
200
358
  astFormat: "estree",
201
359
  parse(e) {
202
- let n = t(e), { comments: s } = n;
203
- return delete n.comments, t === ot && n.type !== "NGChainedExpression" && (n = {
360
+ let n;
361
+ try {
362
+ n = t(e);
363
+ } catch (i) {
364
+ throw Yo(i);
365
+ }
366
+ let { comments: s } = n;
367
+ return delete n.comments, t === mt && n.type !== "NGChainedExpression" && (n = {
204
368
  ...n,
205
369
  type: "NGChainedExpression",
206
370
  expressions: [n]
207
- }), {
371
+ }), rr({
208
372
  type: "NGRoot",
209
- node: n,
210
- comments: s
211
- };
373
+ expression: n,
374
+ comments: s,
375
+ text: e
376
+ });
212
377
  },
213
- locStart: hn,
214
- locEnd: Mr
378
+ locStart: ie,
379
+ locEnd: re
215
380
  };
216
381
  }
217
- var Or, Dr, Br, gn, vn, lt, j, Me, ct, v, wn, Rr, fn, yn, Cn, _n, P, kn, Tn, bn, An, In, Nn, Pn, Ln, u, S, ht, ft, dt, mt, gt, Oe, vt, wt, w, xt, St, Et, yt, Ct, _t, ae, le, De, o, c, bt, Rn, K, g, Ae, A, ce, At, It, Nt, ye, Pt, Fe, Lt, Ce, Mt, I, Rt, $t, Ot, Hr, E, _e, Ve, Ue, He, Dt, Bt, Ft, We, qe, je, Ie, Vt, Ut, Ht, O, U, ue, Ne, Wt, $n, On, M, Dn, we, vs, $e, qr, jr, zr, ws, Gr, xs, Xr, Zt, Jr, Bn, Ss, X, N, Fn, Es, F, ys, z, ze, J, Ee, Yr, y, Vn, Un, Qr, Kr, en, Zr, tn, ie, ut, Q, ei, Ze, Cs, ti, ni, si, ri, ii, oi, ai, _s, ke, Hn, ne, ks, qt, Ge, Xe, Je, Ye, Pe, qn, jn, zn, ci, Ts, ui, zt, nn, fi, di, bs, mi, gi, vi, l, Z, Gn, Xn, R, Jn, Yn, Qn, Kn, $, Zn, es, W, os, as, yi, ls, Is, f, H, _i, Le, b, Te, Se, Jt, Yt, Qt, he, se, ps, Y, Kt, Di, hs, fs, ds, Ns, ms, gs, Fi, Vi, Ui, tt, Rs, $s, Ds, Bs, nt, Fs, Vs, Us, Wi, Hs, Ws, qi, qs, ji, zi, js, zs, Gs, Xs, Js, Ys, Qs, Ks, Zs, Gi, Xi, Ji, Yi, st, er, tr, nr, sr, rr, ir, or, ar, lr, cr, ur, pr, hr, sn, fr, dr, mr, gr, Qi, vr, xr, rt, Sr, Er, yr, Cr, _r, de, te, m, br, _, on, an, ln, Ar, Ir, Nr, Pr, me, eo, it, ot, cn, un, pn, no, so, ro, io;
382
+ var lr, cr, ur, kn, _n, vt, z, De, wt, w, In, or, Cn, x, K, Ln, hr, Bs, $n, yt, Mn, Rn, On, Dn, Bn, Fn, Vn, Hn, Un, Wn, qn, jn, zn, p, y, Et, Ct, bt, Tt, kt, He, _t, It, S, Nt, At, Pt, Lt, $t, Mt, pe, he, Ue, o, c, vr, Dt, Xn, ee, v, Le, N, fe, Bt, Ft, Vt, ke, Ht, qe, Ut, _e, Wt, A, qt, jt, zt, Sr, E, Ie, je, ze, Ge, Gt, Xe, Xt, Qe, Je, Ye, $e, Qt, Jt, Yt, D, U, de, Me, Kt, Qn, Jn, M, Yn, Ee, Fs, Ve, yr, Er, Cr, Vs, br, Hs, Tr, un, kr, es, Us, Q, L, ts, Ws, V, qs, G, Ke, J, Te, _r, C, ns, ss, Ir, Nr, pn, Ar, hn, ce, St, Z, Pr, at, js, Lr, $r, Mr, Rr, Or, Dr, Br, zs, Ne, is, oe, Gs, Zt, Ze, et, tt, nt, Re, os, as, ls, Vr, Xs, Hr, tn, fn, qr, jr, Qs, zr, Gr, Xr, l, te, cs, us, R, ps, hs, fs, ds, O, ms, gs, q, Es, Cs, Zr, bs, Ys, f, W, to, Oe, I, Ae, be, rn, on, an, ge, ae, _s, Y, ln, mo, go, cn, vo, wo, So, xo, yo, Ks, Eo, it, Is, Ns, As, Zs, Ps, Ls, $s, Ms, Rs, Os, ko, _o, Io, ct, si, ii, oi, ai, ut, li, ci, ui, Ao, pi, hi, Po, fi, Lo, $o, di, mi, gi, vi, wi, Si, xi, yi, Ei, Mo, Ro, Oo, Do, pt, Ci, bi, Ti, ki, _i, Ii, Ni, Ai, Pi, Li, $i, Mi, Ri, dn, Oi, Di, Bi, Fi, Bo, Vi, Ui, ht, Wi, qi, ji, zi, ft, we, se, m, Qi, T, gn, vn, wn, Ji, Yi, Ki, Zi, Se, Ho, dt, mt, Sn, xn, yn, tr, qo, jo, zo, sr, Go, ir, Xo, rr, Ko, Zo, ea, ta;
218
383
  var init_angular = __esmMin((() => {
219
- Or = Object.defineProperty;
220
- Dr = Object.getPrototypeOf;
221
- Br = Reflect.get;
222
- gn = (t) => {
384
+ lr = Object.defineProperty;
385
+ cr = Object.getPrototypeOf;
386
+ ur = Reflect.get;
387
+ kn = (t) => {
223
388
  throw TypeError(t);
224
389
  };
225
- vn = (t, e) => {
226
- for (var n in e) Or(t, n, {
390
+ _n = (t, e) => {
391
+ for (var n in e) lr(t, n, {
227
392
  get: e[n],
228
393
  enumerable: !0
229
394
  });
230
395
  };
231
- lt = (t, e, n) => e.has(t) || gn("Cannot " + n);
232
- j = (t, e, n) => (lt(t, e, "read from private field"), n ? n.call(t) : e.get(t)), Me = (t, e, n) => e.has(t) ? gn("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, n), ct = (t, e, n, s) => (lt(t, e, "write to private field"), s ? s.call(t, n) : e.set(t, n), n), v = (t, e, n) => (lt(t, e, "access private method"), n);
233
- wn = (t, e, n) => Br(Dr(t), n, e);
234
- Rr = {};
235
- vn(Rr, { parsers: () => fn });
236
- fn = {};
237
- vn(fn, {
238
- __ng_action: () => no,
239
- __ng_binding: () => so,
240
- __ng_directive: () => io,
241
- __ng_interpolation: () => ro
396
+ vt = (t, e, n) => e.has(t) || kn("Cannot " + n);
397
+ z = (t, e, n) => (vt(t, e, "read from private field"), n ? n.call(t) : e.get(t));
398
+ De = (t, e, n) => e.has(t) ? kn("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, n);
399
+ wt = (t, e, n, s) => (vt(t, e, "write to private field"), s ? s.call(t, n) : e.set(t, n), n);
400
+ w = (t, e, n) => (vt(t, e, "access private method"), n);
401
+ In = (t, e, n) => ur(cr(t), n, e);
402
+ or = {};
403
+ _n(or, { parsers: () => Cn });
404
+ Cn = {};
405
+ _n(Cn, {
406
+ __ng_action: () => Ko,
407
+ __ng_binding: () => Zo,
408
+ __ng_directive: () => ta,
409
+ __ng_interpolation: () => ea
242
410
  });
243
411
  new RegExp(`(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`, "g");
412
+ (function(t) {
413
+ t[t.NONE = 0] = "NONE", t[t.HTML = 1] = "HTML", t[t.STYLE = 2] = "STYLE", t[t.SCRIPT = 3] = "SCRIPT", t[t.URL = 4] = "URL", t[t.RESOURCE_URL = 5] = "RESOURCE_URL", t[t.ATTRIBUTE_NO_BINDING = 6] = "ATTRIBUTE_NO_BINDING";
414
+ })(x || (x = {}));
415
+ Ln = "svg";
416
+ hr = "math";
417
+ Bs = "";
418
+ $n = "*";
419
+ yt = () => Object.create(null);
244
420
  (function(t) {
245
421
  t[t.Emulated = 0] = "Emulated", t[t.None = 2] = "None", t[t.ShadowDom = 3] = "ShadowDom", t[t.ExperimentalIsolatedShadowDom = 4] = "ExperimentalIsolatedShadowDom";
246
- })(yn || (yn = {}));
422
+ })(Mn || (Mn = {}));
247
423
  (function(t) {
248
424
  t[t.OnPush = 0] = "OnPush", t[t.Default = 1] = "Default", t[t.Eager = 1] = "Eager";
249
- })(Cn || (Cn = {}));
425
+ })(Rn || (Rn = {}));
250
426
  (function(t) {
251
427
  t[t.None = 0] = "None", t[t.SignalBased = 1] = "SignalBased", t[t.HasDecoratorInputTransform = 2] = "HasDecoratorInputTransform";
252
- })(_n || (_n = {}));
253
- (function(t) {
254
- t[t.NONE = 0] = "NONE", t[t.HTML = 1] = "HTML", t[t.STYLE = 2] = "STYLE", t[t.SCRIPT = 3] = "SCRIPT", t[t.URL = 4] = "URL", t[t.RESOURCE_URL = 5] = "RESOURCE_URL", t[t.ATTRIBUTE_NO_BINDING = 6] = "ATTRIBUTE_NO_BINDING";
255
- })(P || (P = {}));
428
+ })(On || (On = {}));
429
+ Dn = { name: "custom-elements" };
430
+ Bn = { name: "no-errors-schema" };
256
431
  (function(t) {
257
432
  t[t.Error = 0] = "Error", t[t.Warning = 1] = "Warning", t[t.Ignore = 2] = "Ignore";
258
- })(kn || (kn = {}));
433
+ })(Fn || (Fn = {}));
259
434
  (function(t) {
260
- t[t.Directive = 0] = "Directive", t[t.Component = 1] = "Component", t[t.Injectable = 2] = "Injectable", t[t.Pipe = 3] = "Pipe", t[t.NgModule = 4] = "NgModule";
261
- })(Tn || (Tn = {}));
435
+ t[t.Directive = 0] = "Directive", t[t.Component = 1] = "Component", t[t.Injectable = 2] = "Injectable", t[t.Pipe = 3] = "Pipe", t[t.NgModule = 4] = "NgModule", t[t.Service = 5] = "Service";
436
+ })(Vn || (Vn = {}));
262
437
  (function(t) {
263
438
  t[t.Directive = 0] = "Directive", t[t.Pipe = 1] = "Pipe", t[t.NgModule = 2] = "NgModule";
264
- })(bn || (bn = {}));
439
+ })(Hn || (Hn = {}));
265
440
  (function(t) {
266
441
  t[t.Emulated = 0] = "Emulated", t[t.None = 2] = "None", t[t.ShadowDom = 3] = "ShadowDom", t[t.ExperimentalIsolatedShadowDom = 4] = "ExperimentalIsolatedShadowDom";
267
- })(An || (An = {}));
442
+ })(Un || (Un = {}));
268
443
  (function(t) {
269
444
  t[t.Little = 0] = "Little", t[t.Big = 1] = "Big";
270
- })(In || (In = {}));
445
+ })(Wn || (Wn = {}));
271
446
  (function(t) {
272
447
  t[t.None = 0] = "None", t[t.Const = 1] = "Const";
273
- })(Nn || (Nn = {}));
448
+ })(qn || (qn = {}));
274
449
  (function(t) {
275
450
  t[t.Dynamic = 0] = "Dynamic", t[t.Bool = 1] = "Bool", t[t.String = 2] = "String", t[t.Int = 3] = "Int", t[t.Number = 4] = "Number", t[t.Function = 5] = "Function", t[t.Inferred = 6] = "Inferred", t[t.None = 7] = "None";
276
- })(Pn || (Pn = {}));
451
+ })(jn || (jn = {}));
277
452
  (function(t) {
278
453
  t[t.Minus = 0] = "Minus", t[t.Plus = 1] = "Plus";
279
- })(Ln || (Ln = {}));
454
+ })(zn || (zn = {}));
280
455
  (function(t) {
281
456
  t[t.Equals = 0] = "Equals", t[t.NotEquals = 1] = "NotEquals", t[t.Assign = 2] = "Assign", t[t.Identical = 3] = "Identical", t[t.NotIdentical = 4] = "NotIdentical", t[t.Minus = 5] = "Minus", t[t.Plus = 6] = "Plus", t[t.Divide = 7] = "Divide", t[t.Multiply = 8] = "Multiply", t[t.Modulo = 9] = "Modulo", t[t.And = 10] = "And", t[t.Or = 11] = "Or", t[t.BitwiseOr = 12] = "BitwiseOr", t[t.BitwiseAnd = 13] = "BitwiseAnd", t[t.Lower = 14] = "Lower", t[t.LowerEquals = 15] = "LowerEquals", t[t.Bigger = 16] = "Bigger", t[t.BiggerEquals = 17] = "BiggerEquals", t[t.NullishCoalesce = 18] = "NullishCoalesce", t[t.Exponentiation = 19] = "Exponentiation", t[t.In = 20] = "In", t[t.InstanceOf = 21] = "InstanceOf", t[t.AdditionAssignment = 22] = "AdditionAssignment", t[t.SubtractionAssignment = 23] = "SubtractionAssignment", t[t.MultiplicationAssignment = 24] = "MultiplicationAssignment", t[t.DivisionAssignment = 25] = "DivisionAssignment", t[t.RemainderAssignment = 26] = "RemainderAssignment", t[t.ExponentiationAssignment = 27] = "ExponentiationAssignment", t[t.AndAssignment = 28] = "AndAssignment", t[t.OrAssignment = 29] = "OrAssignment", t[t.NullishCoalesceAssignment = 30] = "NullishCoalesceAssignment";
282
- })(u || (u = {}));
283
- S = class {
457
+ })(p || (p = {}));
458
+ y = class {
459
+ leadingComments;
284
460
  type;
285
461
  sourceSpan;
286
- constructor(e, n) {
287
- this.type = e || null, this.sourceSpan = n || null;
462
+ constructor(e, n, s) {
463
+ this.leadingComments = s, this.type = e || null, this.sourceSpan = n || null;
288
464
  }
289
465
  prop(e, n) {
290
- return new xt(this, e, null, n);
466
+ return new Nt(this, e, null, n);
291
467
  }
292
468
  key(e, n, s) {
293
- return new St(this, e, n, s);
469
+ return new At(this, e, n, s);
294
470
  }
295
- callFn(e, n, s) {
296
- return new dt(this, e, null, n, s);
471
+ callFn(e, n, s, i) {
472
+ return new bt(this, e, null, n, s, i);
297
473
  }
298
- instantiate(e, n, s) {
299
- return new mt(this, e, n, s);
474
+ instantiate(e, n, s, i) {
475
+ return new Tt(this, e, n, s);
300
476
  }
301
- conditional(e, n = null, s) {
302
- return new wt(this, e, n, null, s);
477
+ conditional(e, n = null, s, i) {
478
+ return new It(this, e, n, null, s);
303
479
  }
304
480
  equals(e, n) {
305
- return new w(u.Equals, this, e, null, n);
481
+ return new S(p.Equals, this, e, null, n);
306
482
  }
307
483
  notEquals(e, n) {
308
- return new w(u.NotEquals, this, e, null, n);
484
+ return new S(p.NotEquals, this, e, null, n);
309
485
  }
310
486
  identical(e, n) {
311
- return new w(u.Identical, this, e, null, n);
487
+ return new S(p.Identical, this, e, null, n);
312
488
  }
313
489
  notIdentical(e, n) {
314
- return new w(u.NotIdentical, this, e, null, n);
490
+ return new S(p.NotIdentical, this, e, null, n);
315
491
  }
316
492
  minus(e, n) {
317
- return new w(u.Minus, this, e, null, n);
493
+ return new S(p.Minus, this, e, null, n);
318
494
  }
319
495
  plus(e, n) {
320
- return new w(u.Plus, this, e, null, n);
496
+ return new S(p.Plus, this, e, null, n);
321
497
  }
322
498
  divide(e, n) {
323
- return new w(u.Divide, this, e, null, n);
499
+ return new S(p.Divide, this, e, null, n);
324
500
  }
325
501
  multiply(e, n) {
326
- return new w(u.Multiply, this, e, null, n);
502
+ return new S(p.Multiply, this, e, null, n);
327
503
  }
328
504
  modulo(e, n) {
329
- return new w(u.Modulo, this, e, null, n);
505
+ return new S(p.Modulo, this, e, null, n);
330
506
  }
331
507
  power(e, n) {
332
- return new w(u.Exponentiation, this, e, null, n);
508
+ return new S(p.Exponentiation, this, e, null, n);
333
509
  }
334
510
  and(e, n) {
335
- return new w(u.And, this, e, null, n);
511
+ return new S(p.And, this, e, null, n);
336
512
  }
337
513
  bitwiseOr(e, n) {
338
- return new w(u.BitwiseOr, this, e, null, n);
514
+ return new S(p.BitwiseOr, this, e, null, n);
339
515
  }
340
516
  bitwiseAnd(e, n) {
341
- return new w(u.BitwiseAnd, this, e, null, n);
517
+ return new S(p.BitwiseAnd, this, e, null, n);
342
518
  }
343
519
  or(e, n) {
344
- return new w(u.Or, this, e, null, n);
520
+ return new S(p.Or, this, e, null, n);
345
521
  }
346
522
  lower(e, n) {
347
- return new w(u.Lower, this, e, null, n);
523
+ return new S(p.Lower, this, e, null, n);
348
524
  }
349
525
  lowerEquals(e, n) {
350
- return new w(u.LowerEquals, this, e, null, n);
526
+ return new S(p.LowerEquals, this, e, null, n);
351
527
  }
352
528
  bigger(e, n) {
353
- return new w(u.Bigger, this, e, null, n);
529
+ return new S(p.Bigger, this, e, null, n);
354
530
  }
355
531
  biggerEquals(e, n) {
356
- return new w(u.BiggerEquals, this, e, null, n);
532
+ return new S(p.BiggerEquals, this, e, null, n);
357
533
  }
358
534
  isBlank(e) {
359
535
  return this.equals(TYPED_NULL_EXPR, e);
360
536
  }
361
537
  nullishCoalesce(e, n) {
362
- return new w(u.NullishCoalesce, this, e, null, n);
538
+ return new S(p.NullishCoalesce, this, e, null, n);
363
539
  }
364
- toStmt() {
365
- return new De(this, null);
540
+ toStmt(e) {
541
+ return new Ue(this, null, e);
366
542
  }
367
- }, ht = class t extends S {
543
+ };
544
+ Et = class t extends y {
368
545
  name;
369
- constructor(e, n, s) {
370
- super(n, s), this.name = e;
546
+ constructor(e, n, s, i) {
547
+ super(n, s, i), this.name = e;
371
548
  }
372
549
  isEquivalent(e) {
373
550
  return e instanceof t && this.name === e.name;
@@ -382,12 +559,13 @@ var init_angular = __esmMin((() => {
382
559
  return new t(this.name, this.type, this.sourceSpan);
383
560
  }
384
561
  set(e) {
385
- return new w(u.Assign, this, e, null, this.sourceSpan);
562
+ return new S(p.Assign, this, e, null, this.sourceSpan);
386
563
  }
387
- }, ft = class t extends S {
564
+ };
565
+ Ct = class t extends y {
388
566
  expr;
389
- constructor(e, n, s) {
390
- super(n, s), this.expr = e;
567
+ constructor(e, n, s, i) {
568
+ super(n, s, i), this.expr = e;
391
569
  }
392
570
  visitExpression(e, n) {
393
571
  return e.visitTypeofExpr(this, n);
@@ -402,18 +580,19 @@ var init_angular = __esmMin((() => {
402
580
  return new t(this.expr.clone());
403
581
  }
404
582
  };
405
- dt = class t extends S {
583
+ bt = class t extends y {
406
584
  fn;
407
585
  args;
408
586
  pure;
409
- constructor(e, n, s, r, i = !1) {
410
- super(s, r), this.fn = e, this.args = n, this.pure = i;
587
+ isOptional;
588
+ constructor(e, n, s, i, r = !1, a, u = !1) {
589
+ super(s, i, a), this.fn = e, this.args = n, this.pure = r, this.isOptional = u;
411
590
  }
412
591
  get receiver() {
413
592
  return this.fn;
414
593
  }
415
594
  isEquivalent(e) {
416
- return e instanceof t && this.fn.isEquivalent(e.fn) && oe(this.args, e.args) && this.pure === e.pure;
595
+ return e instanceof t && this.fn.isEquivalent(e.fn) && ue(this.args, e.args) && this.pure === e.pure;
417
596
  }
418
597
  isConstant() {
419
598
  return !1;
@@ -422,17 +601,17 @@ var init_angular = __esmMin((() => {
422
601
  return e.visitInvokeFunctionExpr(this, n);
423
602
  }
424
603
  clone() {
425
- return new t(this.fn.clone(), this.args.map((e) => e.clone()), this.type, this.sourceSpan, this.pure);
604
+ return new t(this.fn.clone(), this.args.map((e) => e.clone()), this.type, this.sourceSpan, this.pure, [], this.isOptional);
426
605
  }
427
606
  };
428
- mt = class t extends S {
607
+ Tt = class t extends y {
429
608
  classExpr;
430
609
  args;
431
- constructor(e, n, s, r) {
432
- super(s, r), this.classExpr = e, this.args = n;
610
+ constructor(e, n, s, i, r) {
611
+ super(s, i, r), this.classExpr = e, this.args = n;
433
612
  }
434
613
  isEquivalent(e) {
435
- return e instanceof t && this.classExpr.isEquivalent(e.classExpr) && oe(this.args, e.args);
614
+ return e instanceof t && this.classExpr.isEquivalent(e.classExpr) && ue(this.args, e.args);
436
615
  }
437
616
  isConstant() {
438
617
  return !1;
@@ -443,11 +622,12 @@ var init_angular = __esmMin((() => {
443
622
  clone() {
444
623
  return new t(this.classExpr.clone(), this.args.map((e) => e.clone()), this.type, this.sourceSpan);
445
624
  }
446
- }, gt = class t extends S {
625
+ };
626
+ kt = class t extends y {
447
627
  body;
448
628
  flags;
449
- constructor(e, n, s) {
450
- super(null, s), this.body = e, this.flags = n;
629
+ constructor(e, n, s, i) {
630
+ super(null, s, i), this.body = e, this.flags = n;
451
631
  }
452
632
  isEquivalent(e) {
453
633
  return e instanceof t && this.body === e.body && this.flags === e.flags;
@@ -461,10 +641,11 @@ var init_angular = __esmMin((() => {
461
641
  clone() {
462
642
  return new t(this.body, this.flags, this.sourceSpan);
463
643
  }
464
- }, Oe = class t extends S {
644
+ };
645
+ He = class t extends y {
465
646
  value;
466
- constructor(e, n, s) {
467
- super(n, s), this.value = e;
647
+ constructor(e, n, s, i) {
648
+ super(n, s, i), this.value = e;
468
649
  }
469
650
  isEquivalent(e) {
470
651
  return e instanceof t && this.value === e.value;
@@ -479,11 +660,11 @@ var init_angular = __esmMin((() => {
479
660
  return new t(this.value, this.type, this.sourceSpan);
480
661
  }
481
662
  };
482
- vt = class t extends S {
663
+ _t = class t extends y {
483
664
  value;
484
665
  typeParams;
485
- constructor(e, n, s = null, r) {
486
- super(n, r), this.value = e, this.typeParams = s;
666
+ constructor(e, n, s = null, i, r) {
667
+ super(n, i, r), this.value = e, this.typeParams = s;
487
668
  }
488
669
  isEquivalent(e) {
489
670
  return e instanceof t && this.value.name === e.value.name && this.value.moduleName === e.value.moduleName;
@@ -498,15 +679,15 @@ var init_angular = __esmMin((() => {
498
679
  return new t(this.value, this.type, this.typeParams, this.sourceSpan);
499
680
  }
500
681
  };
501
- wt = class t extends S {
682
+ It = class t extends y {
502
683
  condition;
503
684
  falseCase;
504
685
  trueCase;
505
- constructor(e, n, s = null, r, i) {
506
- super(r || n.type, i), this.condition = e, this.falseCase = s, this.trueCase = n;
686
+ constructor(e, n, s = null, i, r, a) {
687
+ super(i || n.type, r, a), this.condition = e, this.falseCase = s, this.trueCase = n;
507
688
  }
508
689
  isEquivalent(e) {
509
- return e instanceof t && this.condition.isEquivalent(e.condition) && this.trueCase.isEquivalent(e.trueCase) && Vr(this.falseCase, e.falseCase);
690
+ return e instanceof t && this.condition.isEquivalent(e.condition) && this.trueCase.isEquivalent(e.trueCase) && mr(this.falseCase, e.falseCase);
510
691
  }
511
692
  isConstant() {
512
693
  return !1;
@@ -518,12 +699,12 @@ var init_angular = __esmMin((() => {
518
699
  return new t(this.condition.clone(), this.trueCase.clone(), this.falseCase?.clone(), this.type, this.sourceSpan);
519
700
  }
520
701
  };
521
- w = class t extends S {
702
+ S = class t extends y {
522
703
  operator;
523
704
  rhs;
524
705
  lhs;
525
- constructor(e, n, s, r, i) {
526
- super(r || n.type, i), this.operator = e, this.rhs = s, this.lhs = n;
706
+ constructor(e, n, s, i, r, a) {
707
+ super(i || n.type, r, a), this.operator = e, this.rhs = s, this.lhs = n;
527
708
  }
528
709
  isEquivalent(e) {
529
710
  return e instanceof t && this.operator === e.operator && this.lhs.isEquivalent(e.lhs) && this.rhs.isEquivalent(e.rhs);
@@ -539,19 +720,21 @@ var init_angular = __esmMin((() => {
539
720
  }
540
721
  isAssignment() {
541
722
  let e = this.operator;
542
- return e === u.Assign || e === u.AdditionAssignment || e === u.SubtractionAssignment || e === u.MultiplicationAssignment || e === u.DivisionAssignment || e === u.RemainderAssignment || e === u.ExponentiationAssignment || e === u.AndAssignment || e === u.OrAssignment || e === u.NullishCoalesceAssignment;
723
+ return e === p.Assign || e === p.AdditionAssignment || e === p.SubtractionAssignment || e === p.MultiplicationAssignment || e === p.DivisionAssignment || e === p.RemainderAssignment || e === p.ExponentiationAssignment || e === p.AndAssignment || e === p.OrAssignment || e === p.NullishCoalesceAssignment;
543
724
  }
544
- }, xt = class t extends S {
725
+ };
726
+ Nt = class t extends y {
545
727
  receiver;
546
728
  name;
547
- constructor(e, n, s, r) {
548
- super(s, r), this.receiver = e, this.name = n;
729
+ isOptional;
730
+ constructor(e, n, s, i, r, a = !1) {
731
+ super(s, i, r), this.receiver = e, this.name = n, this.isOptional = a;
549
732
  }
550
733
  get index() {
551
734
  return this.name;
552
735
  }
553
736
  isEquivalent(e) {
554
- return e instanceof t && this.receiver.isEquivalent(e.receiver) && this.name === e.name;
737
+ return e instanceof t && this.receiver.isEquivalent(e.receiver) && this.name === e.name && this.isOptional === e.isOptional;
555
738
  }
556
739
  isConstant() {
557
740
  return !1;
@@ -560,19 +743,21 @@ var init_angular = __esmMin((() => {
560
743
  return e.visitReadPropExpr(this, n);
561
744
  }
562
745
  set(e) {
563
- return new w(u.Assign, this.receiver.prop(this.name), e, null, this.sourceSpan);
746
+ return new S(p.Assign, this.receiver.prop(this.name), e, null, this.sourceSpan);
564
747
  }
565
748
  clone() {
566
- return new t(this.receiver.clone(), this.name, this.type, this.sourceSpan);
749
+ return new t(this.receiver.clone(), this.name, this.type, this.sourceSpan, [], this.isOptional);
567
750
  }
568
- }, St = class t extends S {
751
+ };
752
+ At = class t extends y {
569
753
  receiver;
570
754
  index;
571
- constructor(e, n, s, r) {
572
- super(s, r), this.receiver = e, this.index = n;
755
+ isOptional;
756
+ constructor(e, n, s, i, r, a = !1) {
757
+ super(s, i, r), this.receiver = e, this.index = n, this.isOptional = a;
573
758
  }
574
759
  isEquivalent(e) {
575
- return e instanceof t && this.receiver.isEquivalent(e.receiver) && this.index.isEquivalent(e.index);
760
+ return e instanceof t && this.receiver.isEquivalent(e.receiver) && this.index.isEquivalent(e.index) && this.isOptional === e.isOptional;
576
761
  }
577
762
  isConstant() {
578
763
  return !1;
@@ -581,21 +766,22 @@ var init_angular = __esmMin((() => {
581
766
  return e.visitReadKeyExpr(this, n);
582
767
  }
583
768
  set(e) {
584
- return new w(u.Assign, this.receiver.key(this.index), e, null, this.sourceSpan);
769
+ return new S(p.Assign, this.receiver.key(this.index), e, null, this.sourceSpan);
585
770
  }
586
771
  clone() {
587
- return new t(this.receiver.clone(), this.index.clone(), this.type, this.sourceSpan);
772
+ return new t(this.receiver.clone(), this.index.clone(), this.type, this.sourceSpan, [], this.isOptional);
588
773
  }
589
- }, Et = class t extends S {
774
+ };
775
+ Pt = class t extends y {
590
776
  entries;
591
- constructor(e, n, s) {
592
- super(n, s), this.entries = e;
777
+ constructor(e, n, s, i) {
778
+ super(n, s, i), this.entries = e;
593
779
  }
594
780
  isConstant() {
595
781
  return this.entries.every((e) => e.isConstant());
596
782
  }
597
783
  isEquivalent(e) {
598
- return e instanceof t && oe(this.entries, e.entries);
784
+ return e instanceof t && ue(this.entries, e.entries);
599
785
  }
600
786
  visitExpression(e, n) {
601
787
  return e.visitLiteralArrayExpr(this, n);
@@ -604,7 +790,7 @@ var init_angular = __esmMin((() => {
604
790
  return new t(this.entries.map((e) => e.clone()), this.type, this.sourceSpan);
605
791
  }
606
792
  };
607
- yt = class t {
793
+ Lt = class t {
608
794
  expression;
609
795
  constructor(e) {
610
796
  this.expression = e;
@@ -618,14 +804,15 @@ var init_angular = __esmMin((() => {
618
804
  isConstant() {
619
805
  return this.expression.isConstant();
620
806
  }
621
- }, Ct = class t extends S {
807
+ };
808
+ $t = class t extends y {
622
809
  entries;
623
810
  valueType = null;
624
- constructor(e, n, s) {
625
- super(n, s), this.entries = e, n && (this.valueType = n.valueType);
811
+ constructor(e, n, s, i) {
812
+ super(n, s, i), this.entries = e, n && (this.valueType = n.valueType);
626
813
  }
627
814
  isEquivalent(e) {
628
- return e instanceof t && oe(this.entries, e.entries);
815
+ return e instanceof t && ue(this.entries, e.entries);
629
816
  }
630
817
  isConstant() {
631
818
  return this.entries.every((e) => e.isConstant());
@@ -634,13 +821,14 @@ var init_angular = __esmMin((() => {
634
821
  return e.visitLiteralMapExpr(this, n);
635
822
  }
636
823
  clone() {
637
- return new t(this.entries.map((n) => n.clone()), this.type, this.sourceSpan);
824
+ let e = this.entries.map((n) => n.clone());
825
+ return new t(e, this.type, this.sourceSpan);
638
826
  }
639
827
  };
640
- _t = class t extends S {
828
+ Mt = class t extends y {
641
829
  expression;
642
- constructor(e, n) {
643
- super(null, n), this.expression = e;
830
+ constructor(e, n, s) {
831
+ super(null, n, s), this.expression = e;
644
832
  }
645
833
  isEquivalent(e) {
646
834
  return e instanceof t && this.expression.isEquivalent(e.expression);
@@ -657,12 +845,12 @@ var init_angular = __esmMin((() => {
657
845
  };
658
846
  (function(t) {
659
847
  t[t.None = 0] = "None", t[t.Final = 1] = "Final", t[t.Private = 2] = "Private", t[t.Exported = 4] = "Exported", t[t.Static = 8] = "Static";
660
- })(ae || (ae = {}));
661
- le = class {
848
+ })(pe || (pe = {}));
849
+ he = class {
662
850
  modifiers;
663
851
  sourceSpan;
664
852
  leadingComments;
665
- constructor(e = ae.None, n = null, s) {
853
+ constructor(e = pe.None, n = null, s) {
666
854
  this.modifiers = e, this.sourceSpan = n, this.leadingComments = s;
667
855
  }
668
856
  hasModifier(e) {
@@ -672,10 +860,10 @@ var init_angular = __esmMin((() => {
672
860
  this.leadingComments = this.leadingComments ?? [], this.leadingComments.push(e);
673
861
  }
674
862
  };
675
- De = class t extends le {
863
+ Ue = class t extends he {
676
864
  expr;
677
865
  constructor(e, n, s) {
678
- super(ae.None, n, s), this.expr = e;
866
+ super(pe.None, n, s), this.expr = e;
679
867
  }
680
868
  isEquivalent(e) {
681
869
  return e instanceof t && this.expr.isEquivalent(e.expr);
@@ -687,31 +875,32 @@ var init_angular = __esmMin((() => {
687
875
  (class t {
688
876
  static INSTANCE = new t();
689
877
  keyOf(e) {
690
- if (e instanceof Oe && typeof e.value == "string") return `"${e.value}"`;
691
- if (e instanceof Oe) return String(e.value);
692
- if (e instanceof gt) return `/${e.body}/${e.flags ?? ""}`;
693
- if (e instanceof Et) {
878
+ if (e instanceof He && typeof e.value == "string") return `"${e.value}"`;
879
+ if (e instanceof He) return String(e.value);
880
+ if (e instanceof kt) return `/${e.body}/${e.flags ?? ""}`;
881
+ if (e instanceof Pt) {
694
882
  let n = [];
695
883
  for (let s of e.entries) n.push(this.keyOf(s));
696
884
  return `[${n.join(",")}]`;
697
- } else if (e instanceof Ct) {
885
+ } else if (e instanceof $t) {
698
886
  let n = [];
699
- for (let s of e.entries) if (s instanceof yt) n.push("..." + this.keyOf(s.expression));
887
+ for (let s of e.entries) if (s instanceof Lt) n.push("..." + this.keyOf(s.expression));
700
888
  else {
701
- let r = s.key;
702
- s.quoted && (r = `"${r}"`), n.push(r + ":" + this.keyOf(s.value));
889
+ let i = s.key;
890
+ s.quoted && (i = `"${i}"`), n.push(i + ":" + this.keyOf(s.value));
703
891
  }
704
892
  return `{${n.join(",")}}`;
705
893
  } else {
706
- if (e instanceof vt) return `import("${e.value.moduleName}", ${e.value.name})`;
707
- if (e instanceof ht) return `read(${e.name})`;
708
- if (e instanceof ft) return `typeof(${this.keyOf(e.expr)})`;
709
- if (e instanceof _t) return `...${this.keyOf(e.expression)}`;
894
+ if (e instanceof _t) return `import("${e.value.moduleName}", ${e.value.name})`;
895
+ if (e instanceof Et) return `read(${e.name})`;
896
+ if (e instanceof Ct) return `typeof(${this.keyOf(e.expr)})`;
897
+ if (e instanceof Mt) return `...${this.keyOf(e.expression)}`;
710
898
  throw new Error(`${this.constructor.name} does not handle expressions of type ${e.constructor.name}`);
711
899
  }
712
900
  }
713
901
  });
714
- o = "@angular/core", c = class {
902
+ o = "@angular/core";
903
+ c = class {
715
904
  static core = {
716
905
  name: null,
717
906
  moduleName: o
@@ -964,6 +1153,10 @@ var init_angular = __esmMin((() => {
964
1153
  name: "ɵɵdeferEnableTimerScheduling",
965
1154
  moduleName: o
966
1155
  };
1156
+ static enableIncrementalHydrationRuntime = {
1157
+ name: "ɵɵenableIncrementalHydrationRuntime",
1158
+ moduleName: o
1159
+ };
967
1160
  static conditionalCreate = {
968
1161
  name: "ɵɵconditionalCreate",
969
1162
  moduleName: o
@@ -1248,6 +1441,14 @@ var init_angular = __esmMin((() => {
1248
1441
  name: "ɵɵInjectableDeclaration",
1249
1442
  moduleName: o
1250
1443
  };
1444
+ static defineService = {
1445
+ name: "ɵɵdefineService",
1446
+ moduleName: o
1447
+ };
1448
+ static declareService = {
1449
+ name: "ɵɵngDeclareService",
1450
+ moduleName: o
1451
+ };
1251
1452
  static resolveWindow = {
1252
1453
  name: "ɵɵresolveWindow",
1253
1454
  moduleName: o
@@ -1553,7 +1754,8 @@ var init_angular = __esmMin((() => {
1553
1754
  moduleName: o
1554
1755
  };
1555
1756
  };
1556
- bt = class {
1757
+ vr = /-+([a-z0-9])/g;
1758
+ Dt = class {
1557
1759
  full;
1558
1760
  major;
1559
1761
  minor;
@@ -1564,20 +1766,21 @@ var init_angular = __esmMin((() => {
1564
1766
  this.major = n[0], this.minor = n[1], this.patch = n.slice(2).join(".");
1565
1767
  }
1566
1768
  };
1567
- u.And, u.Bigger, u.BiggerEquals, u.BitwiseOr, u.BitwiseAnd, u.Divide, u.Assign, u.Equals, u.Identical, u.Lower, u.LowerEquals, u.Minus, u.Modulo, u.Exponentiation, u.Multiply, u.NotEquals, u.NotIdentical, u.NullishCoalesce, u.Or, u.Plus, u.In, u.InstanceOf, u.AdditionAssignment, u.SubtractionAssignment, u.MultiplicationAssignment, u.DivisionAssignment, u.RemainderAssignment, u.ExponentiationAssignment, u.AndAssignment, u.OrAssignment, u.NullishCoalesceAssignment;
1769
+ p.And, p.Bigger, p.BiggerEquals, p.BitwiseOr, p.BitwiseAnd, p.Divide, p.Assign, p.Equals, p.Identical, p.Lower, p.LowerEquals, p.Minus, p.Modulo, p.Exponentiation, p.Multiply, p.NotEquals, p.NotIdentical, p.NullishCoalesce, p.Or, p.Plus, p.In, p.InstanceOf, p.AdditionAssignment, p.SubtractionAssignment, p.MultiplicationAssignment, p.DivisionAssignment, p.RemainderAssignment, p.ExponentiationAssignment, p.AndAssignment, p.OrAssignment, p.NullishCoalesceAssignment;
1568
1770
  (function(t) {
1569
1771
  t[t.Class = 0] = "Class", t[t.Function = 1] = "Function";
1570
- })(Rn || (Rn = {}));
1571
- K = class {
1772
+ })(Xn || (Xn = {}));
1773
+ ee = class {
1572
1774
  start;
1573
1775
  end;
1574
1776
  constructor(e, n) {
1575
1777
  this.start = e, this.end = n;
1576
1778
  }
1577
1779
  toAbsolute(e) {
1578
- return new O(e + this.start, e + this.end);
1780
+ return new D(e + this.start, e + this.end);
1579
1781
  }
1580
- }, g = class {
1782
+ };
1783
+ v = class {
1581
1784
  span;
1582
1785
  sourceSpan;
1583
1786
  constructor(e, n) {
@@ -1586,24 +1789,29 @@ var init_angular = __esmMin((() => {
1586
1789
  toString() {
1587
1790
  return "AST";
1588
1791
  }
1589
- }, Ae = class extends g {
1792
+ };
1793
+ Le = class extends v {
1590
1794
  nameSpan;
1591
1795
  constructor(e, n, s) {
1592
1796
  super(e, n), this.nameSpan = s;
1593
1797
  }
1594
- }, A = class extends g {
1798
+ };
1799
+ N = class extends v {
1595
1800
  visit(e, n = null) {
1596
1801
  return e.visitEmptyExpr?.(this, n);
1597
1802
  }
1598
- }, ce = class extends g {
1803
+ };
1804
+ fe = class extends v {
1599
1805
  visit(e, n = null) {
1600
1806
  return e.visitImplicitReceiver(this, n);
1601
1807
  }
1602
- }, At = class extends g {
1808
+ };
1809
+ Bt = class extends v {
1603
1810
  visit(e, n = null) {
1604
1811
  return e.visitThisReceiver?.(this, n);
1605
1812
  }
1606
- }, It = class extends g {
1813
+ };
1814
+ Ft = class extends v {
1607
1815
  expressions;
1608
1816
  constructor(e, n, s) {
1609
1817
  super(e, n), this.expressions = s;
@@ -1611,48 +1819,53 @@ var init_angular = __esmMin((() => {
1611
1819
  visit(e, n = null) {
1612
1820
  return e.visitChain(this, n);
1613
1821
  }
1614
- }, Nt = class extends g {
1822
+ };
1823
+ Vt = class extends v {
1615
1824
  condition;
1616
1825
  trueExp;
1617
1826
  falseExp;
1618
- constructor(e, n, s, r, i) {
1619
- super(e, n), this.condition = s, this.trueExp = r, this.falseExp = i;
1827
+ constructor(e, n, s, i, r) {
1828
+ super(e, n), this.condition = s, this.trueExp = i, this.falseExp = r;
1620
1829
  }
1621
1830
  visit(e, n = null) {
1622
1831
  return e.visitConditional(this, n);
1623
1832
  }
1624
- }, ye = class extends Ae {
1833
+ };
1834
+ ke = class extends Le {
1625
1835
  receiver;
1626
1836
  name;
1627
- constructor(e, n, s, r, i) {
1628
- super(e, n, s), this.receiver = r, this.name = i;
1837
+ constructor(e, n, s, i, r) {
1838
+ super(e, n, s), this.receiver = i, this.name = r;
1629
1839
  }
1630
1840
  visit(e, n = null) {
1631
1841
  return e.visitPropertyRead(this, n);
1632
1842
  }
1633
- }, Pt = class extends Ae {
1843
+ };
1844
+ Ht = class extends Le {
1634
1845
  receiver;
1635
1846
  name;
1636
- constructor(e, n, s, r, i) {
1637
- super(e, n, s), this.receiver = r, this.name = i;
1847
+ constructor(e, n, s, i, r) {
1848
+ super(e, n, s), this.receiver = i, this.name = r;
1638
1849
  }
1639
1850
  visit(e, n = null) {
1640
1851
  return e.visitSafePropertyRead(this, n);
1641
1852
  }
1642
- }, Fe = class extends g {
1853
+ };
1854
+ qe = class extends v {
1643
1855
  receiver;
1644
1856
  key;
1645
- constructor(e, n, s, r) {
1646
- super(e, n), this.receiver = s, this.key = r;
1857
+ constructor(e, n, s, i) {
1858
+ super(e, n), this.receiver = s, this.key = i;
1647
1859
  }
1648
1860
  visit(e, n = null) {
1649
1861
  return e.visitKeyedRead(this, n);
1650
1862
  }
1651
- }, Lt = class extends g {
1863
+ };
1864
+ Ut = class extends v {
1652
1865
  receiver;
1653
1866
  key;
1654
- constructor(e, n, s, r) {
1655
- super(e, n), this.receiver = s, this.key = r;
1867
+ constructor(e, n, s, i) {
1868
+ super(e, n), this.receiver = s, this.key = i;
1656
1869
  }
1657
1870
  visit(e, n = null) {
1658
1871
  return e.visitSafeKeyedRead(this, n);
@@ -1660,19 +1873,20 @@ var init_angular = __esmMin((() => {
1660
1873
  };
1661
1874
  (function(t) {
1662
1875
  t[t.ReferencedByName = 0] = "ReferencedByName", t[t.ReferencedDirectly = 1] = "ReferencedDirectly";
1663
- })(Ce || (Ce = {}));
1664
- Mt = class extends Ae {
1876
+ })(_e || (_e = {}));
1877
+ Wt = class extends Le {
1665
1878
  exp;
1666
1879
  name;
1667
1880
  args;
1668
1881
  type;
1669
- constructor(e, n, s, r, i, a, p) {
1670
- super(e, n, p), this.exp = s, this.name = r, this.args = i, this.type = a;
1882
+ constructor(e, n, s, i, r, a, u) {
1883
+ super(e, n, u), this.exp = s, this.name = i, this.args = r, this.type = a;
1671
1884
  }
1672
1885
  visit(e, n = null) {
1673
1886
  return e.visitPipe(this, n);
1674
1887
  }
1675
- }, I = class extends g {
1888
+ };
1889
+ A = class extends v {
1676
1890
  value;
1677
1891
  constructor(e, n, s) {
1678
1892
  super(e, n), this.value = s;
@@ -1680,7 +1894,8 @@ var init_angular = __esmMin((() => {
1680
1894
  visit(e, n = null) {
1681
1895
  return e.visitLiteralPrimitive(this, n);
1682
1896
  }
1683
- }, Rt = class extends g {
1897
+ };
1898
+ qt = class extends v {
1684
1899
  expressions;
1685
1900
  constructor(e, n, s) {
1686
1901
  super(e, n), this.expressions = s;
@@ -1688,7 +1903,8 @@ var init_angular = __esmMin((() => {
1688
1903
  visit(e, n = null) {
1689
1904
  return e.visitLiteralArray(this, n);
1690
1905
  }
1691
- }, $t = class extends g {
1906
+ };
1907
+ jt = class extends v {
1692
1908
  expression;
1693
1909
  constructor(e, n, s) {
1694
1910
  super(e, n), this.expression = s;
@@ -1696,30 +1912,33 @@ var init_angular = __esmMin((() => {
1696
1912
  visit(e, n = null) {
1697
1913
  return e.visitSpreadElement(this, n);
1698
1914
  }
1699
- }, Ot = class extends g {
1915
+ };
1916
+ zt = class extends v {
1700
1917
  keys;
1701
1918
  values;
1702
- constructor(e, n, s, r) {
1703
- super(e, n), this.keys = s, this.values = r;
1919
+ constructor(e, n, s, i) {
1920
+ super(e, n), this.keys = s, this.values = i;
1704
1921
  }
1705
1922
  visit(e, n = null) {
1706
1923
  return e.visitLiteralMap(this, n);
1707
1924
  }
1708
- }, Hr = class extends g {
1925
+ };
1926
+ Sr = class extends v {
1709
1927
  strings;
1710
1928
  expressions;
1711
- constructor(e, n, s, r) {
1712
- super(e, n), this.strings = s, this.expressions = r;
1929
+ constructor(e, n, s, i) {
1930
+ super(e, n), this.strings = s, this.expressions = i;
1713
1931
  }
1714
1932
  visit(e, n = null) {
1715
1933
  return e.visitInterpolation(this, n);
1716
1934
  }
1717
- }, E = class extends g {
1935
+ };
1936
+ E = class extends v {
1718
1937
  operation;
1719
1938
  left;
1720
1939
  right;
1721
- constructor(e, n, s, r, i) {
1722
- super(e, n), this.operation = s, this.left = r, this.right = i;
1940
+ constructor(e, n, s, i, r) {
1941
+ super(e, n), this.operation = s, this.left = i, this.right = r;
1723
1942
  }
1724
1943
  visit(e, n = null) {
1725
1944
  return e.visitBinary(this, n);
@@ -1727,25 +1946,27 @@ var init_angular = __esmMin((() => {
1727
1946
  static isAssignmentOperation(e) {
1728
1947
  return e === "=" || e === "+=" || e === "-=" || e === "*=" || e === "/=" || e === "%=" || e === "**=" || e === "&&=" || e === "||=" || e === "??=";
1729
1948
  }
1730
- }, _e = class t extends E {
1949
+ };
1950
+ Ie = class t extends E {
1731
1951
  operator;
1732
1952
  expr;
1733
1953
  left = null;
1734
1954
  right = null;
1735
1955
  operation = null;
1736
1956
  static createMinus(e, n, s) {
1737
- return new t(e, n, "-", s, "-", new I(e, n, 0), s);
1957
+ return new t(e, n, "-", s, "-", new A(e, n, 0), s);
1738
1958
  }
1739
1959
  static createPlus(e, n, s) {
1740
- return new t(e, n, "+", s, "-", s, new I(e, n, 0));
1960
+ return new t(e, n, "+", s, "-", s, new A(e, n, 0));
1741
1961
  }
1742
- constructor(e, n, s, r, i, a, p) {
1743
- super(e, n, i, a, p), this.operator = s, this.expr = r;
1962
+ constructor(e, n, s, i, r, a, u) {
1963
+ super(e, n, r, a, u), this.operator = s, this.expr = i;
1744
1964
  }
1745
1965
  visit(e, n = null) {
1746
1966
  return e.visitUnary !== void 0 ? e.visitUnary(this, n) : e.visitBinary(this, n);
1747
1967
  }
1748
- }, Ve = class extends g {
1968
+ };
1969
+ je = class extends v {
1749
1970
  expression;
1750
1971
  constructor(e, n, s) {
1751
1972
  super(e, n), this.expression = s;
@@ -1753,7 +1974,8 @@ var init_angular = __esmMin((() => {
1753
1974
  visit(e, n = null) {
1754
1975
  return e.visitPrefixNot(this, n);
1755
1976
  }
1756
- }, Ue = class extends g {
1977
+ };
1978
+ ze = class extends v {
1757
1979
  expression;
1758
1980
  constructor(e, n, s) {
1759
1981
  super(e, n), this.expression = s;
@@ -1761,7 +1983,8 @@ var init_angular = __esmMin((() => {
1761
1983
  visit(e, n = null) {
1762
1984
  return e.visitTypeofExpression(this, n);
1763
1985
  }
1764
- }, He = class extends g {
1986
+ };
1987
+ Ge = class extends v {
1765
1988
  expression;
1766
1989
  constructor(e, n, s) {
1767
1990
  super(e, n), this.expression = s;
@@ -1769,7 +1992,8 @@ var init_angular = __esmMin((() => {
1769
1992
  visit(e, n = null) {
1770
1993
  return e.visitVoidExpression(this, n);
1771
1994
  }
1772
- }, Dt = class extends g {
1995
+ };
1996
+ Gt = class extends v {
1773
1997
  expression;
1774
1998
  constructor(e, n, s) {
1775
1999
  super(e, n), this.expression = s;
@@ -1777,45 +2001,50 @@ var init_angular = __esmMin((() => {
1777
2001
  visit(e, n = null) {
1778
2002
  return e.visitNonNullAssert(this, n);
1779
2003
  }
1780
- }, Bt = class extends g {
2004
+ };
2005
+ Xe = class extends v {
1781
2006
  receiver;
1782
2007
  args;
1783
2008
  argumentSpan;
1784
- constructor(e, n, s, r, i) {
1785
- super(e, n), this.receiver = s, this.args = r, this.argumentSpan = i;
2009
+ constructor(e, n, s, i, r) {
2010
+ super(e, n), this.receiver = s, this.args = i, this.argumentSpan = r;
1786
2011
  }
1787
2012
  visit(e, n = null) {
1788
2013
  return e.visitCall(this, n);
1789
2014
  }
1790
- }, Ft = class extends g {
2015
+ };
2016
+ Xt = class extends v {
1791
2017
  receiver;
1792
2018
  args;
1793
2019
  argumentSpan;
1794
- constructor(e, n, s, r, i) {
1795
- super(e, n), this.receiver = s, this.args = r, this.argumentSpan = i;
2020
+ constructor(e, n, s, i, r) {
2021
+ super(e, n), this.receiver = s, this.args = i, this.argumentSpan = r;
1796
2022
  }
1797
2023
  visit(e, n = null) {
1798
2024
  return e.visitSafeCall(this, n);
1799
2025
  }
1800
- }, We = class extends g {
2026
+ };
2027
+ Qe = class extends v {
1801
2028
  tag;
1802
2029
  template;
1803
- constructor(e, n, s, r) {
1804
- super(e, n), this.tag = s, this.template = r;
2030
+ constructor(e, n, s, i) {
2031
+ super(e, n), this.tag = s, this.template = i;
1805
2032
  }
1806
2033
  visit(e, n) {
1807
2034
  return e.visitTaggedTemplateLiteral(this, n);
1808
2035
  }
1809
- }, qe = class extends g {
2036
+ };
2037
+ Je = class extends v {
1810
2038
  elements;
1811
2039
  expressions;
1812
- constructor(e, n, s, r) {
1813
- super(e, n), this.elements = s, this.expressions = r;
2040
+ constructor(e, n, s, i) {
2041
+ super(e, n), this.elements = s, this.expressions = i;
1814
2042
  }
1815
2043
  visit(e, n) {
1816
2044
  return e.visitTemplateLiteral(this, n);
1817
2045
  }
1818
- }, je = class extends g {
2046
+ };
2047
+ Ye = class extends v {
1819
2048
  text;
1820
2049
  constructor(e, n, s) {
1821
2050
  super(e, n), this.text = s;
@@ -1823,7 +2052,8 @@ var init_angular = __esmMin((() => {
1823
2052
  visit(e, n) {
1824
2053
  return e.visitTemplateLiteralElement(this, n);
1825
2054
  }
1826
- }, Ie = class extends g {
2055
+ };
2056
+ $e = class extends v {
1827
2057
  expression;
1828
2058
  constructor(e, n, s) {
1829
2059
  super(e, n), this.expression = s;
@@ -1831,44 +2061,49 @@ var init_angular = __esmMin((() => {
1831
2061
  visit(e, n) {
1832
2062
  return e.visitParenthesizedExpression(this, n);
1833
2063
  }
1834
- }, Vt = class {
2064
+ };
2065
+ Qt = class {
1835
2066
  name;
1836
2067
  span;
1837
2068
  sourceSpan;
1838
2069
  constructor(e, n, s) {
1839
2070
  this.name = e, this.span = n, this.sourceSpan = s;
1840
2071
  }
1841
- }, Ut = class extends g {
2072
+ };
2073
+ Jt = class extends v {
1842
2074
  parameters;
1843
2075
  body;
1844
- constructor(e, n, s, r) {
1845
- super(e, n), this.parameters = s, this.body = r;
2076
+ constructor(e, n, s, i) {
2077
+ super(e, n), this.parameters = s, this.body = i;
1846
2078
  }
1847
2079
  visit(e, n) {
1848
2080
  return e.visitArrowFunction(this, n);
1849
2081
  }
1850
- }, Ht = class extends g {
2082
+ };
2083
+ Yt = class extends v {
1851
2084
  body;
1852
2085
  flags;
1853
- constructor(e, n, s, r) {
1854
- super(e, n), this.body = s, this.flags = r;
2086
+ constructor(e, n, s, i) {
2087
+ super(e, n), this.body = s, this.flags = i;
1855
2088
  }
1856
2089
  visit(e, n) {
1857
2090
  return e.visitRegularExpressionLiteral(this, n);
1858
2091
  }
1859
- }, O = class {
2092
+ };
2093
+ D = class {
1860
2094
  start;
1861
2095
  end;
1862
2096
  constructor(e, n) {
1863
2097
  this.start = e, this.end = n;
1864
2098
  }
1865
- }, U = class extends g {
2099
+ };
2100
+ U = class extends v {
1866
2101
  ast;
1867
2102
  source;
1868
2103
  location;
1869
2104
  errors;
1870
- constructor(e, n, s, r, i) {
1871
- super(new K(0, n === null ? 0 : n.length), new O(r, n === null ? r : r + n.length)), this.ast = e, this.source = n, this.location = s, this.errors = i;
2105
+ constructor(e, n, s, i, r) {
2106
+ super(new ee(0, n === null ? 0 : n.length), new D(i, n === null ? i : i + n.length)), this.ast = e, this.source = n, this.location = s, this.errors = r;
1872
2107
  }
1873
2108
  visit(e, n = null) {
1874
2109
  return e.visitASTWithSource ? e.visitASTWithSource(this, n) : this.ast.visit(e, n);
@@ -1876,21 +2111,24 @@ var init_angular = __esmMin((() => {
1876
2111
  toString() {
1877
2112
  return `${this.source} in ${this.location}`;
1878
2113
  }
1879
- }, ue = class {
2114
+ };
2115
+ de = class {
1880
2116
  sourceSpan;
1881
2117
  key;
1882
2118
  value;
1883
2119
  constructor(e, n, s) {
1884
2120
  this.sourceSpan = e, this.key = n, this.value = s;
1885
2121
  }
1886
- }, Ne = class {
2122
+ };
2123
+ Me = class {
1887
2124
  sourceSpan;
1888
2125
  key;
1889
2126
  value;
1890
2127
  constructor(e, n, s) {
1891
2128
  this.sourceSpan = e, this.key = n, this.value = s;
1892
2129
  }
1893
- }, Wt = class {
2130
+ };
2131
+ Kt = class {
1894
2132
  visit(e, n) {
1895
2133
  e.visit(this, n);
1896
2134
  }
@@ -1954,8 +2192,8 @@ var init_angular = __esmMin((() => {
1954
2192
  visitTemplateLiteral(e, n) {
1955
2193
  for (let s = 0; s < e.elements.length; s++) {
1956
2194
  this.visit(e.elements[s], n);
1957
- let r = s < e.expressions.length ? e.expressions[s] : null;
1958
- r !== null && this.visit(r, n);
2195
+ let i = s < e.expressions.length ? e.expressions[s] : null;
2196
+ i !== null && this.visit(i, n);
1959
2197
  }
1960
2198
  }
1961
2199
  visitTemplateLiteralElement(e, n) {}
@@ -1979,76 +2217,123 @@ var init_angular = __esmMin((() => {
1979
2217
  };
1980
2218
  (function(t) {
1981
2219
  t[t.DEFAULT = 0] = "DEFAULT", t[t.LITERAL_ATTR = 1] = "LITERAL_ATTR", t[t.LEGACY_ANIMATION = 2] = "LEGACY_ANIMATION", t[t.TWO_WAY = 3] = "TWO_WAY", t[t.ANIMATION = 4] = "ANIMATION";
1982
- })($n || ($n = {}));
2220
+ })(Qn || (Qn = {}));
1983
2221
  (function(t) {
1984
2222
  t[t.Regular = 0] = "Regular", t[t.LegacyAnimation = 1] = "LegacyAnimation", t[t.TwoWay = 2] = "TwoWay", t[t.Animation = 3] = "Animation";
1985
- })(On || (On = {}));
2223
+ })(Jn || (Jn = {}));
1986
2224
  (function(t) {
1987
2225
  t[t.Property = 0] = "Property", t[t.Attribute = 1] = "Attribute", t[t.Class = 2] = "Class", t[t.Style = 3] = "Style", t[t.LegacyAnimation = 4] = "LegacyAnimation", t[t.TwoWay = 5] = "TwoWay", t[t.Animation = 6] = "Animation";
1988
2226
  })(M || (M = {}));
1989
2227
  (function(t) {
1990
2228
  t[t.RAW_TEXT = 0] = "RAW_TEXT", t[t.ESCAPABLE_RAW_TEXT = 1] = "ESCAPABLE_RAW_TEXT", t[t.PARSABLE_DATA = 2] = "PARSABLE_DATA";
1991
- })(Dn || (Dn = {}));
1992
- we = 0;
1993
- vs = 9, $e = 10, qr = 11, jr = 12, zr = 13, ws = 32, Gr = 33, xs = 34, Xr = 35, Zt = 36, Jr = 37, Bn = 38, Ss = 39, X = 40, N = 41, Fn = 42, Es = 43, F = 44, ys = 45, z = 46, ze = 47, J = 58, Ee = 59, Yr = 60, y = 61, Vn = 62, Un = 63, Qr = 48;
1994
- Kr = 57, en = 65, Zr = 69;
1995
- tn = 90, ie = 91, ut = 92, Q = 93, ei = 94, Ze = 95, Cs = 97;
1996
- ti = 101, ni = 102, si = 110, ri = 114, ii = 116, oi = 117, ai = 118;
1997
- _s = 122, ke = 123, Hn = 124, ne = 125, ks = 160;
1998
- qt = 96;
1999
- Ge = class t {
2229
+ })(Yn || (Yn = {}));
2230
+ Ee = 0;
2231
+ Fs = 9;
2232
+ Ve = 10;
2233
+ yr = 11;
2234
+ Er = 12;
2235
+ Cr = 13;
2236
+ Vs = 32;
2237
+ br = 33;
2238
+ Hs = 34;
2239
+ Tr = 35;
2240
+ un = 36;
2241
+ kr = 37;
2242
+ es = 38;
2243
+ Us = 39;
2244
+ Q = 40;
2245
+ L = 41;
2246
+ ts = 42;
2247
+ Ws = 43;
2248
+ V = 44;
2249
+ qs = 45;
2250
+ G = 46;
2251
+ Ke = 47;
2252
+ J = 58;
2253
+ Te = 59;
2254
+ _r = 60;
2255
+ C = 61;
2256
+ ns = 62;
2257
+ ss = 63;
2258
+ Ir = 48;
2259
+ Nr = 57;
2260
+ pn = 65;
2261
+ Ar = 69;
2262
+ hn = 90;
2263
+ ce = 91;
2264
+ St = 92;
2265
+ Z = 93;
2266
+ Pr = 94;
2267
+ at = 95;
2268
+ js = 97;
2269
+ Lr = 101;
2270
+ $r = 102;
2271
+ Mr = 110;
2272
+ Rr = 114;
2273
+ Or = 116;
2274
+ Dr = 117;
2275
+ Br = 118;
2276
+ zs = 122;
2277
+ Ne = 123;
2278
+ is = 124;
2279
+ oe = 125;
2280
+ Gs = 160;
2281
+ Zt = 96;
2282
+ Ze = class t {
2000
2283
  file;
2001
2284
  offset;
2002
2285
  line;
2003
2286
  col;
2004
- constructor(e, n, s, r) {
2005
- this.file = e, this.offset = n, this.line = s, this.col = r;
2287
+ constructor(e, n, s, i) {
2288
+ this.file = e, this.offset = n, this.line = s, this.col = i;
2006
2289
  }
2007
2290
  toString() {
2008
2291
  return this.offset != null ? `${this.file.url}@${this.line}:${this.col}` : this.file.url;
2009
2292
  }
2010
2293
  moveBy(e) {
2011
- let n = this.file.content, s = n.length, r = this.offset, i = this.line, a = this.col;
2012
- for (; r > 0 && e < 0;) if (r--, e++, n.charCodeAt(r) == $e) {
2013
- i--;
2014
- let h = n.substring(0, r - 1).lastIndexOf(String.fromCharCode($e));
2015
- a = h > 0 ? r - h : r;
2294
+ let n = this.file.content, s = n.length, i = this.offset, r = this.line, a = this.col;
2295
+ for (; i > 0 && e < 0;) if (i--, e++, n.charCodeAt(i) == Ve) {
2296
+ r--;
2297
+ let h = n.substring(0, i - 1).lastIndexOf(String.fromCharCode(Ve));
2298
+ a = h > 0 ? i - h : i;
2016
2299
  } else a--;
2017
- for (; r < s && e > 0;) {
2018
- let p = n.charCodeAt(r);
2019
- r++, e--, p == $e ? (i++, a = 0) : a++;
2300
+ for (; i < s && e > 0;) {
2301
+ let u = n.charCodeAt(i);
2302
+ i++, e--, u == Ve ? (r++, a = 0) : a++;
2020
2303
  }
2021
- return new t(this.file, r, i, a);
2304
+ return new t(this.file, i, r, a);
2022
2305
  }
2023
2306
  getContext(e, n) {
2024
- let s = this.file.content, r = this.offset;
2025
- if (r != null) {
2026
- r > s.length - 1 && (r = s.length - 1);
2027
- let i = r, a = 0, p = 0;
2028
- for (; a < e && r > 0 && (r--, a++, !(s[r] == `
2029
- ` && ++p == n)););
2030
- for (a = 0, p = 0; a < e && i < s.length - 1 && (i++, a++, !(s[i] == `
2031
- ` && ++p == n)););
2307
+ let s = this.file.content, i = this.offset;
2308
+ if (i != null) {
2309
+ i > s.length - 1 && (i = s.length - 1);
2310
+ let r = i, a = 0, u = 0;
2311
+ for (; a < e && i > 0 && (i--, a++, !(s[i] == `
2312
+ ` && ++u == n)););
2313
+ for (a = 0, u = 0; a < e && r < s.length - 1 && (r++, a++, !(s[r] == `
2314
+ ` && ++u == n)););
2032
2315
  return {
2033
- before: s.substring(r, this.offset),
2034
- after: s.substring(this.offset, i + 1)
2316
+ before: s.substring(i, this.offset),
2317
+ after: s.substring(this.offset, r + 1)
2035
2318
  };
2036
2319
  }
2037
2320
  return null;
2038
2321
  }
2039
- }, Xe = class {
2322
+ };
2323
+ et = class {
2040
2324
  content;
2041
2325
  url;
2042
2326
  constructor(e, n) {
2043
2327
  this.content = e, this.url = n;
2044
2328
  }
2045
- }, Je = class {
2329
+ };
2330
+ tt = class {
2046
2331
  start;
2047
2332
  end;
2048
2333
  fullStart;
2049
2334
  details;
2050
- constructor(e, n, s = e, r = null) {
2051
- this.start = e, this.end = n, this.fullStart = s, this.details = r;
2335
+ constructor(e, n, s = e, i = null) {
2336
+ this.start = e, this.end = n, this.fullStart = s, this.details = i;
2052
2337
  }
2053
2338
  toString() {
2054
2339
  return this.start.file.content.substring(this.start.offset, this.end.offset);
@@ -2056,18 +2341,18 @@ var init_angular = __esmMin((() => {
2056
2341
  };
2057
2342
  (function(t) {
2058
2343
  t[t.WARNING = 0] = "WARNING", t[t.ERROR = 1] = "ERROR";
2059
- })(Ye || (Ye = {}));
2060
- Pe = class extends Error {
2344
+ })(nt || (nt = {}));
2345
+ Re = class extends Error {
2061
2346
  span;
2062
2347
  msg;
2063
2348
  level;
2064
2349
  relatedError;
2065
- constructor(e, n, s = Ye.ERROR, r) {
2066
- super(n), this.span = e, this.msg = n, this.level = s, this.relatedError = r, Object.setPrototypeOf(this, new.target.prototype);
2350
+ constructor(e, n, s = nt.ERROR, i) {
2351
+ super(n), this.span = e, this.msg = n, this.level = s, this.relatedError = i, Object.setPrototypeOf(this, new.target.prototype);
2067
2352
  }
2068
2353
  contextualMessage() {
2069
2354
  let e = this.span.start.getContext(100, 3);
2070
- return e ? `${this.msg} ("${e.before}[${Ye[this.level]} ->]${e.after}")` : this.msg;
2355
+ return e ? `${this.msg} ("${e.before}[${nt[this.level]} ->]${e.after}")` : this.msg;
2071
2356
  }
2072
2357
  toString() {
2073
2358
  let e = this.span.details ? `, ${this.span.details}` : "";
@@ -2076,94 +2361,102 @@ var init_angular = __esmMin((() => {
2076
2361
  };
2077
2362
  (function(t) {
2078
2363
  t[t.Inline = 0] = "Inline", t[t.SideEffect = 1] = "SideEffect", t[t.Omit = 2] = "Omit";
2079
- })(qn || (qn = {}));
2364
+ })(os || (os = {}));
2080
2365
  (function(t) {
2081
- t[t.Global = 0] = "Global", t[t.Local = 1] = "Local";
2082
- })(jn || (jn = {}));
2366
+ t[t.Global = 0] = "Global", t[t.Local = 1] = "Local", t[t.Isolated = 2] = "Isolated";
2367
+ })(as || (as = {}));
2083
2368
  (function(t) {
2084
2369
  t[t.Directive = 0] = "Directive", t[t.Pipe = 1] = "Pipe", t[t.NgModule = 2] = "NgModule";
2085
- })(zn || (zn = {}));
2086
- ci = "(:(where|is)\\()?", Ts = "-shadowcsshost", ui = "-shadowcsscontext", zt = "[^)(]*", nn = `(?:\\((${`(?:\\(${`(?:\\(${zt}\\)|${zt})+?`}\\)|${zt})+?`})\\))`;
2087
- new RegExp("(:nth-[-\\w]+)" + nn, "g");
2088
- new RegExp(Ts + nn + "?([^,{]*)", "gim");
2089
- fi = ui + nn + "?([^{]*)";
2090
- new RegExp(`${ci}(${fi})`, "gim");
2091
- di = Ts + "-no-combinator";
2092
- new RegExp(`${di}(?![^(]*\\))`, "g");
2093
- bs = "%COMMENT%";
2094
- new RegExp(bs, "g");
2095
- new RegExp(`(\\s*(?:${bs}\\s*)*)([^;\\{\\}]+?)(\\s*)((?:{%BLOCK%}?\\s*;?)|(?:\\s*;))`, "g");
2096
- mi = "%COMMA_IN_PLACEHOLDER%", gi = "%SEMI_IN_PLACEHOLDER%", vi = "%COLON_IN_PLACEHOLDER%";
2097
- new RegExp(mi, "g");
2098
- new RegExp(gi, "g");
2099
- new RegExp(vi, "g");
2370
+ })(ls || (ls = {}));
2371
+ Vr = "(:(where|is)\\()?";
2372
+ Xs = "-shadowcsshost";
2373
+ Hr = "-shadowcsscontext";
2374
+ tn = "[^)(]*";
2375
+ fn = `(?:\\((${`(?:\\(${`(?:\\(${tn}\\)|${tn})+?`}\\)|${tn})+?`})\\))`;
2376
+ new RegExp("(:nth-[-\\w]+)" + fn, "g");
2377
+ new RegExp(Xs + fn + "?([^,{]*)", "gim");
2378
+ qr = Hr + fn + "([^{]*)";
2379
+ new RegExp(`${Vr}(${qr})`, "gim");
2380
+ jr = Xs + "-no-combinator";
2381
+ new RegExp(`${jr}(?![^(]*\\))`, "g");
2382
+ Qs = "%COMMENT%";
2383
+ new RegExp(Qs, "g");
2384
+ new RegExp(`(\\s*(?:${Qs}\\s*)*)([^;\\{\\}]+?)(\\s*)((?:{%BLOCK%}?\\s*;?)|(?:\\s*;))`, "g");
2385
+ zr = "%COMMA_IN_PLACEHOLDER%";
2386
+ Gr = "%SEMI_IN_PLACEHOLDER%";
2387
+ Xr = "%COLON_IN_PLACEHOLDER%";
2388
+ new RegExp(zr, "g");
2389
+ new RegExp(Gr, "g");
2390
+ new RegExp(Xr, "g");
2100
2391
  (function(t) {
2101
- t[t.ListEnd = 0] = "ListEnd", t[t.Statement = 1] = "Statement", t[t.Variable = 2] = "Variable", t[t.ElementStart = 3] = "ElementStart", t[t.Element = 4] = "Element", t[t.Template = 5] = "Template", t[t.ElementEnd = 6] = "ElementEnd", t[t.ContainerStart = 7] = "ContainerStart", t[t.Container = 8] = "Container", t[t.ContainerEnd = 9] = "ContainerEnd", t[t.DisableBindings = 10] = "DisableBindings", t[t.ConditionalCreate = 11] = "ConditionalCreate", t[t.ConditionalBranchCreate = 12] = "ConditionalBranchCreate", t[t.Conditional = 13] = "Conditional", t[t.EnableBindings = 14] = "EnableBindings", t[t.Text = 15] = "Text", t[t.Listener = 16] = "Listener", t[t.InterpolateText = 17] = "InterpolateText", t[t.Binding = 18] = "Binding", t[t.Property = 19] = "Property", t[t.StyleProp = 20] = "StyleProp", t[t.ClassProp = 21] = "ClassProp", t[t.StyleMap = 22] = "StyleMap", t[t.ClassMap = 23] = "ClassMap", t[t.Advance = 24] = "Advance", t[t.Pipe = 25] = "Pipe", t[t.Attribute = 26] = "Attribute", t[t.ExtractedAttribute = 27] = "ExtractedAttribute", t[t.Defer = 28] = "Defer", t[t.DeferOn = 29] = "DeferOn", t[t.DeferWhen = 30] = "DeferWhen", t[t.I18nMessage = 31] = "I18nMessage", t[t.DomProperty = 32] = "DomProperty", t[t.Namespace = 33] = "Namespace", t[t.ProjectionDef = 34] = "ProjectionDef", t[t.Projection = 35] = "Projection", t[t.RepeaterCreate = 36] = "RepeaterCreate", t[t.Repeater = 37] = "Repeater", t[t.TwoWayProperty = 38] = "TwoWayProperty", t[t.TwoWayListener = 39] = "TwoWayListener", t[t.DeclareLet = 40] = "DeclareLet", t[t.StoreLet = 41] = "StoreLet", t[t.I18nStart = 42] = "I18nStart", t[t.I18n = 43] = "I18n", t[t.I18nEnd = 44] = "I18nEnd", t[t.I18nExpression = 45] = "I18nExpression", t[t.I18nApply = 46] = "I18nApply", t[t.IcuStart = 47] = "IcuStart", t[t.IcuEnd = 48] = "IcuEnd", t[t.IcuPlaceholder = 49] = "IcuPlaceholder", t[t.I18nContext = 50] = "I18nContext", t[t.I18nAttributes = 51] = "I18nAttributes", t[t.SourceLocation = 52] = "SourceLocation", t[t.Animation = 53] = "Animation", t[t.AnimationString = 54] = "AnimationString", t[t.AnimationBinding = 55] = "AnimationBinding", t[t.AnimationListener = 56] = "AnimationListener", t[t.Control = 57] = "Control", t[t.ControlCreate = 58] = "ControlCreate";
2392
+ t[t.ListEnd = 0] = "ListEnd", t[t.Statement = 1] = "Statement", t[t.Variable = 2] = "Variable", t[t.ElementStart = 3] = "ElementStart", t[t.Element = 4] = "Element", t[t.Template = 5] = "Template", t[t.ElementEnd = 6] = "ElementEnd", t[t.ContainerStart = 7] = "ContainerStart", t[t.Container = 8] = "Container", t[t.ContainerEnd = 9] = "ContainerEnd", t[t.DisableBindings = 10] = "DisableBindings", t[t.ConditionalCreate = 11] = "ConditionalCreate", t[t.ConditionalBranchCreate = 12] = "ConditionalBranchCreate", t[t.Conditional = 13] = "Conditional", t[t.EnableBindings = 14] = "EnableBindings", t[t.Text = 15] = "Text", t[t.Listener = 16] = "Listener", t[t.InterpolateText = 17] = "InterpolateText", t[t.Binding = 18] = "Binding", t[t.Property = 19] = "Property", t[t.StyleProp = 20] = "StyleProp", t[t.ClassProp = 21] = "ClassProp", t[t.StyleMap = 22] = "StyleMap", t[t.ClassMap = 23] = "ClassMap", t[t.Advance = 24] = "Advance", t[t.Pipe = 25] = "Pipe", t[t.Attribute = 26] = "Attribute", t[t.ExtractedAttribute = 27] = "ExtractedAttribute", t[t.Defer = 28] = "Defer", t[t.DeferOn = 29] = "DeferOn", t[t.DeferWhen = 30] = "DeferWhen", t[t.I18nMessage = 31] = "I18nMessage", t[t.DomProperty = 32] = "DomProperty", t[t.Namespace = 33] = "Namespace", t[t.ProjectionDef = 34] = "ProjectionDef", t[t.EnableIncrementalHydrationRuntime = 35] = "EnableIncrementalHydrationRuntime", t[t.Projection = 36] = "Projection", t[t.RepeaterCreate = 37] = "RepeaterCreate", t[t.Repeater = 38] = "Repeater", t[t.TwoWayProperty = 39] = "TwoWayProperty", t[t.TwoWayListener = 40] = "TwoWayListener", t[t.DeclareLet = 41] = "DeclareLet", t[t.StoreLet = 42] = "StoreLet", t[t.I18nStart = 43] = "I18nStart", t[t.I18n = 44] = "I18n", t[t.I18nEnd = 45] = "I18nEnd", t[t.I18nExpression = 46] = "I18nExpression", t[t.I18nApply = 47] = "I18nApply", t[t.IcuStart = 48] = "IcuStart", t[t.IcuEnd = 49] = "IcuEnd", t[t.IcuPlaceholder = 50] = "IcuPlaceholder", t[t.I18nContext = 51] = "I18nContext", t[t.I18nAttributes = 52] = "I18nAttributes", t[t.SourceLocation = 53] = "SourceLocation", t[t.Animation = 54] = "Animation", t[t.AnimationString = 55] = "AnimationString", t[t.AnimationBinding = 56] = "AnimationBinding", t[t.AnimationListener = 57] = "AnimationListener", t[t.Control = 58] = "Control", t[t.ControlCreate = 59] = "ControlCreate";
2102
2393
  })(l || (l = {}));
2103
2394
  (function(t) {
2104
- t[t.LexicalRead = 0] = "LexicalRead", t[t.Context = 1] = "Context", t[t.TrackContext = 2] = "TrackContext", t[t.ReadVariable = 3] = "ReadVariable", t[t.NextContext = 4] = "NextContext", t[t.Reference = 5] = "Reference", t[t.StoreLet = 6] = "StoreLet", t[t.ContextLetReference = 7] = "ContextLetReference", t[t.GetCurrentView = 8] = "GetCurrentView", t[t.RestoreView = 9] = "RestoreView", t[t.ResetView = 10] = "ResetView", t[t.PureFunctionExpr = 11] = "PureFunctionExpr", t[t.PureFunctionParameterExpr = 12] = "PureFunctionParameterExpr", t[t.PipeBinding = 13] = "PipeBinding", t[t.PipeBindingVariadic = 14] = "PipeBindingVariadic", t[t.SafePropertyRead = 15] = "SafePropertyRead", t[t.SafeKeyedRead = 16] = "SafeKeyedRead", t[t.SafeInvokeFunction = 17] = "SafeInvokeFunction", t[t.SafeTernaryExpr = 18] = "SafeTernaryExpr", t[t.EmptyExpr = 19] = "EmptyExpr", t[t.AssignTemporaryExpr = 20] = "AssignTemporaryExpr", t[t.ReadTemporaryExpr = 21] = "ReadTemporaryExpr", t[t.SlotLiteralExpr = 22] = "SlotLiteralExpr", t[t.ConditionalCase = 23] = "ConditionalCase", t[t.ConstCollected = 24] = "ConstCollected", t[t.TwoWayBindingSet = 25] = "TwoWayBindingSet", t[t.ArrowFunction = 26] = "ArrowFunction";
2105
- })(Z || (Z = {}));
2395
+ t[t.LexicalRead = 0] = "LexicalRead", t[t.Context = 1] = "Context", t[t.TrackContext = 2] = "TrackContext", t[t.ReadVariable = 3] = "ReadVariable", t[t.NextContext = 4] = "NextContext", t[t.Reference = 5] = "Reference", t[t.StoreLet = 6] = "StoreLet", t[t.ContextLetReference = 7] = "ContextLetReference", t[t.GetCurrentView = 8] = "GetCurrentView", t[t.RestoreView = 9] = "RestoreView", t[t.ResetView = 10] = "ResetView", t[t.PureFunctionExpr = 11] = "PureFunctionExpr", t[t.PureFunctionParameterExpr = 12] = "PureFunctionParameterExpr", t[t.PipeBinding = 13] = "PipeBinding", t[t.PipeBindingVariadic = 14] = "PipeBindingVariadic", t[t.SafePropertyRead = 15] = "SafePropertyRead", t[t.SafeKeyedRead = 16] = "SafeKeyedRead", t[t.SafeNavigationMigration = 17] = "SafeNavigationMigration", t[t.SafeTernaryExpr = 18] = "SafeTernaryExpr", t[t.EmptyExpr = 19] = "EmptyExpr", t[t.AssignTemporaryExpr = 20] = "AssignTemporaryExpr", t[t.ReadTemporaryExpr = 21] = "ReadTemporaryExpr", t[t.SlotLiteralExpr = 22] = "SlotLiteralExpr", t[t.ConditionalCase = 23] = "ConditionalCase", t[t.ConstCollected = 24] = "ConstCollected", t[t.TwoWayBindingSet = 25] = "TwoWayBindingSet", t[t.ArrowFunction = 26] = "ArrowFunction";
2396
+ })(te || (te = {}));
2106
2397
  (function(t) {
2107
2398
  t[t.None = 0] = "None", t[t.AlwaysInline = 1] = "AlwaysInline";
2108
- })(Gn || (Gn = {}));
2399
+ })(cs || (cs = {}));
2109
2400
  (function(t) {
2110
2401
  t[t.Context = 0] = "Context", t[t.Identifier = 1] = "Identifier", t[t.SavedView = 2] = "SavedView", t[t.Alias = 3] = "Alias";
2111
- })(Xn || (Xn = {}));
2402
+ })(us || (us = {}));
2112
2403
  (function(t) {
2113
2404
  t[t.Attribute = 0] = "Attribute", t[t.ClassName = 1] = "ClassName", t[t.StyleProperty = 2] = "StyleProperty", t[t.Property = 3] = "Property", t[t.Template = 4] = "Template", t[t.I18n = 5] = "I18n", t[t.LegacyAnimation = 6] = "LegacyAnimation", t[t.TwoWayProperty = 7] = "TwoWayProperty", t[t.Animation = 8] = "Animation";
2114
2405
  })(R || (R = {}));
2115
2406
  (function(t) {
2116
2407
  t[t.Creation = 0] = "Creation", t[t.Postproccessing = 1] = "Postproccessing";
2117
- })(Jn || (Jn = {}));
2408
+ })(ps || (ps = {}));
2118
2409
  (function(t) {
2119
2410
  t[t.I18nText = 0] = "I18nText", t[t.I18nAttribute = 1] = "I18nAttribute";
2120
- })(Yn || (Yn = {}));
2411
+ })(hs || (hs = {}));
2121
2412
  (function(t) {
2122
2413
  t[t.None = 0] = "None", t[t.ElementTag = 1] = "ElementTag", t[t.TemplateTag = 2] = "TemplateTag", t[t.OpenTag = 4] = "OpenTag", t[t.CloseTag = 8] = "CloseTag", t[t.ExpressionIndex = 16] = "ExpressionIndex";
2123
- })(Qn || (Qn = {}));
2414
+ })(fs || (fs = {}));
2124
2415
  (function(t) {
2125
2416
  t[t.HTML = 0] = "HTML", t[t.SVG = 1] = "SVG", t[t.Math = 2] = "Math";
2126
- })(Kn || (Kn = {}));
2417
+ })(ds || (ds = {}));
2127
2418
  (function(t) {
2128
2419
  t[t.Idle = 0] = "Idle", t[t.Immediate = 1] = "Immediate", t[t.Timer = 2] = "Timer", t[t.Hover = 3] = "Hover", t[t.Interaction = 4] = "Interaction", t[t.Viewport = 5] = "Viewport", t[t.Never = 6] = "Never";
2129
- })($ || ($ = {}));
2420
+ })(O || (O = {}));
2130
2421
  (function(t) {
2131
2422
  t[t.RootI18n = 0] = "RootI18n", t[t.Icu = 1] = "Icu", t[t.Attr = 2] = "Attr";
2132
- })(Zn || (Zn = {}));
2423
+ })(ms || (ms = {}));
2133
2424
  (function(t) {
2134
2425
  t[t.NgTemplate = 0] = "NgTemplate", t[t.Structural = 1] = "Structural", t[t.Block = 2] = "Block";
2135
- })(es || (es = {}));
2426
+ })(gs || (gs = {}));
2136
2427
  (function(t) {
2137
- t[t.None = 0] = "None", t[t.InChildOperation = 1] = "InChildOperation", t[t.InArrowFunctionOperation = 2] = "InArrowFunctionOperation";
2138
- })(W || (W = {}));
2428
+ t[t.None = 0] = "None", t[t.InChildOperation = 1] = "InChildOperation", t[t.InArrowFunctionOperation = 2] = "InArrowFunctionOperation", t[t.InSafeNavigationMigration = 4] = "InSafeNavigationMigration";
2429
+ })(q || (q = {}));
2139
2430
  l.Element, l.ElementStart, l.Container, l.ContainerStart, l.Template, l.RepeaterCreate, l.ConditionalCreate, l.ConditionalBranchCreate;
2140
2431
  (function(t) {
2141
2432
  t[t.Tmpl = 0] = "Tmpl", t[t.Host = 1] = "Host", t[t.Both = 2] = "Both";
2142
- })(os || (os = {}));
2433
+ })(Es || (Es = {}));
2143
2434
  (function(t) {
2144
2435
  t[t.Full = 0] = "Full", t[t.DomOnly = 1] = "DomOnly";
2145
- })(as || (as = {}));
2436
+ })(Cs || (Cs = {}));
2146
2437
  c.ariaProperty, c.ariaProperty, c.attribute, c.attribute, c.classProp, c.classProp, c.element, c.element, c.elementContainer, c.elementContainer, c.elementContainerEnd, c.elementContainerEnd, c.elementContainerStart, c.elementContainerStart, c.elementEnd, c.elementEnd, c.elementStart, c.elementStart, c.domProperty, c.domProperty, c.i18nExp, c.i18nExp, c.listener, c.listener, c.listener, c.listener, c.property, c.property, c.styleProp, c.styleProp, c.syntheticHostListener, c.syntheticHostListener, c.syntheticHostProperty, c.syntheticHostProperty, c.templateCreate, c.templateCreate, c.twoWayProperty, c.twoWayProperty, c.twoWayListener, c.twoWayListener, c.declareLet, c.declareLet, c.conditionalCreate, c.conditionalBranchCreate, c.conditionalBranchCreate, c.conditionalBranchCreate, c.domElement, c.domElement, c.domElementStart, c.domElementStart, c.domElementEnd, c.domElementEnd, c.domElementContainer, c.domElementContainer, c.domElementContainerStart, c.domElementContainerStart, c.domElementContainerEnd, c.domElementContainerEnd, c.domListener, c.domListener, c.domTemplate, c.domTemplate, c.animationEnter, c.animationEnter, c.animationLeave, c.animationLeave, c.animationEnterListener, c.animationEnterListener, c.animationLeaveListener, c.animationLeaveListener;
2147
- u.And, u.Bigger, u.BiggerEquals, u.BitwiseOr, u.BitwiseAnd, u.Divide, u.Assign, u.Equals, u.Identical, u.Lower, u.LowerEquals, u.Minus, u.Modulo, u.Exponentiation, u.Multiply, u.NotEquals, u.NotIdentical, u.NullishCoalesce, u.Or, u.Plus, u.In, u.InstanceOf, u.AdditionAssignment, u.SubtractionAssignment, u.MultiplicationAssignment, u.DivisionAssignment, u.RemainderAssignment, u.ExponentiationAssignment, u.AndAssignment, u.OrAssignment, u.NullishCoalesceAssignment;
2438
+ p.And, p.Bigger, p.BiggerEquals, p.BitwiseOr, p.BitwiseAnd, p.Divide, p.Assign, p.Equals, p.Identical, p.Lower, p.LowerEquals, p.Minus, p.Modulo, p.Exponentiation, p.Multiply, p.NotEquals, p.NotIdentical, p.NullishCoalesce, p.Or, p.Plus, p.In, p.InstanceOf, p.AdditionAssignment, p.SubtractionAssignment, p.MultiplicationAssignment, p.DivisionAssignment, p.RemainderAssignment, p.ExponentiationAssignment, p.AndAssignment, p.OrAssignment, p.NullishCoalesceAssignment;
2148
2439
  Object.freeze([]);
2440
+ l.Property, l.Property, l.Property, l.Attribute, l.Attribute, l.Property, l.TwoWayProperty;
2441
+ l.Container, l.ContainerStart, l.ContainerEnd, l.Element, l.ElementStart, l.ElementEnd, l.Template;
2149
2442
  l.ElementEnd, l.ElementStart, l.Element, l.ContainerEnd, l.ContainerStart, l.Container, l.I18nEnd, l.I18nStart, l.I18n;
2150
2443
  l.Pipe;
2151
- yi = {};
2152
- yi.ngsp = "";
2444
+ Zr = {};
2445
+ Zr.ngsp = "";
2153
2446
  (function(t) {
2154
2447
  t.HEX = "hexadecimal", t.DEC = "decimal";
2155
- })(ls || (ls = {}));
2156
- Is = ` \f
2448
+ })(bs || (bs = {}));
2449
+ Ys = ` \f
2157
2450
  \r \v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF`;
2158
- new RegExp(`[^${Is}]`);
2159
- new RegExp(`[${Is}]{2,}`, "g");
2451
+ new RegExp(`[^${Ys}]`);
2452
+ new RegExp(`[${Ys}]{2,}`, "g");
2160
2453
  (function(t) {
2161
2454
  t[t.Character = 0] = "Character", t[t.Identifier = 1] = "Identifier", t[t.PrivateIdentifier = 2] = "PrivateIdentifier", t[t.Keyword = 3] = "Keyword", t[t.String = 4] = "String", t[t.Operator = 5] = "Operator", t[t.Number = 6] = "Number", t[t.RegExpBody = 7] = "RegExpBody", t[t.RegExpFlags = 8] = "RegExpFlags", t[t.Error = 9] = "Error";
2162
2455
  })(f || (f = {}));
2163
2456
  (function(t) {
2164
2457
  t[t.Plain = 0] = "Plain", t[t.TemplateLiteralPart = 1] = "TemplateLiteralPart", t[t.TemplateLiteralEnd = 2] = "TemplateLiteralEnd";
2165
- })(H || (H = {}));
2166
- _i = [
2458
+ })(W || (W = {}));
2459
+ to = [
2167
2460
  "var",
2168
2461
  "let",
2169
2462
  "as",
@@ -2178,18 +2471,20 @@ var init_angular = __esmMin((() => {
2178
2471
  "void",
2179
2472
  "in",
2180
2473
  "instanceof"
2181
- ], Le = class {
2474
+ ];
2475
+ Oe = class {
2182
2476
  tokenize(e) {
2183
- return new Jt(e).scan();
2477
+ return new rn(e).scan();
2184
2478
  }
2185
- }, b = class {
2479
+ };
2480
+ I = class {
2186
2481
  index;
2187
2482
  end;
2188
2483
  type;
2189
2484
  numValue;
2190
2485
  strValue;
2191
- constructor(e, n, s, r, i) {
2192
- this.index = e, this.end = n, this.type = s, this.numValue = r, this.strValue = i;
2486
+ constructor(e, n, s, i, r) {
2487
+ this.index = e, this.end = n, this.type = s, this.numValue = i, this.strValue = r;
2193
2488
  }
2194
2489
  isCharacter(e) {
2195
2490
  return this.type === f.Character && this.numValue === e;
@@ -2258,10 +2553,10 @@ var init_angular = __esmMin((() => {
2258
2553
  return this.type === f.Number ? this.numValue : -1;
2259
2554
  }
2260
2555
  isTemplateLiteralPart() {
2261
- return this.isString() && this.kind === H.TemplateLiteralPart;
2556
+ return this.isString() && this.kind === W.TemplateLiteralPart;
2262
2557
  }
2263
2558
  isTemplateLiteralEnd() {
2264
- return this.isString() && this.kind === H.TemplateLiteralEnd;
2559
+ return this.isString() && this.kind === W.TemplateLiteralEnd;
2265
2560
  }
2266
2561
  isTemplateLiteralInterpolationStart() {
2267
2562
  return this.isOperator("${");
@@ -2281,13 +2576,15 @@ var init_angular = __esmMin((() => {
2281
2576
  default: return null;
2282
2577
  }
2283
2578
  }
2284
- }, Te = class extends b {
2579
+ };
2580
+ Ae = class extends I {
2285
2581
  kind;
2286
- constructor(e, n, s, r) {
2287
- super(e, n, f.String, 0, s), this.kind = r;
2582
+ constructor(e, n, s, i) {
2583
+ super(e, n, f.String, 0, s), this.kind = i;
2288
2584
  }
2289
2585
  };
2290
- Se = new b(-1, -1, f.Character, 0, ""), Jt = class {
2586
+ be = new I(-1, -1, f.Character, 0, "");
2587
+ rn = class {
2291
2588
  input;
2292
2589
  tokens = [];
2293
2590
  length;
@@ -2303,204 +2600,205 @@ var init_angular = __esmMin((() => {
2303
2600
  return this.tokens;
2304
2601
  }
2305
2602
  advance() {
2306
- this.peek = ++this.index >= this.length ? we : this.input.charCodeAt(this.index);
2603
+ this.peek = ++this.index >= this.length ? Ee : this.input.charCodeAt(this.index);
2307
2604
  }
2308
2605
  scanToken() {
2309
- let e = this.input, n = this.length, s = this.peek, r = this.index;
2310
- for (; s <= ws;) if (++r >= n) {
2311
- s = we;
2606
+ let e = this.input, n = this.length, s = this.peek, i = this.index;
2607
+ for (; s <= Vs;) if (++i >= n) {
2608
+ s = Ee;
2312
2609
  break;
2313
- } else s = e.charCodeAt(r);
2314
- if (this.peek = s, this.index = r, r >= n) return null;
2315
- if (cs(s)) return this.scanIdentifier();
2316
- if (G(s)) return this.scanNumber(r);
2317
- let i = r;
2610
+ } else s = e.charCodeAt(i);
2611
+ if (this.peek = s, this.index = i, i >= n) return null;
2612
+ if (Ts(s)) return this.scanIdentifier();
2613
+ if (X(s)) return this.scanNumber(i);
2614
+ let r = i;
2318
2615
  switch (s) {
2319
- case z: return this.advance(), G(this.peek) ? this.scanNumber(i) : this.peek !== z ? xe(i, this.index, z) : (this.advance(), this.peek === z ? (this.advance(), B(i, this.index, "...")) : this.error(`Unexpected character [${String.fromCharCode(s)}]`, 0));
2320
- case X:
2321
- case N:
2322
- case ie:
2616
+ case G: return this.advance(), X(this.peek) ? this.scanNumber(r) : this.peek !== G ? Ce(r, this.index, G) : (this.advance(), this.peek === G ? (this.advance(), F(r, this.index, "...")) : this.error(`Unexpected character [${String.fromCharCode(s)}]`, 0));
2323
2617
  case Q:
2324
- case F:
2618
+ case L:
2619
+ case ce:
2620
+ case Z:
2621
+ case V:
2325
2622
  case J:
2326
- case Ee: return this.scanCharacter(i, s);
2327
- case ke: return this.scanOpenBrace(i, s);
2328
- case ne: return this.scanCloseBrace(i, s);
2329
- case Ss:
2330
- case xs: return this.scanString();
2331
- case qt: return this.advance(), this.scanTemplateLiteralPart(i);
2332
- case Xr: return this.scanPrivateIdentifier();
2333
- case Es: return this.scanComplexOperator(i, "+", y, "=");
2334
- case ys: return this.scanComplexOperator(i, "-", y, "=");
2335
- case ze: return this.isStartOfRegex() ? this.scanRegex(r) : this.scanComplexOperator(i, "/", y, "=");
2336
- case Jr: return this.scanComplexOperator(i, "%", y, "=");
2337
- case ei: return this.scanOperator(i, "^");
2338
- case Fn: return this.scanStar(i);
2339
- case Un: return this.scanQuestion(i);
2340
- case Yr:
2341
- case Vn: return this.scanComplexOperator(i, String.fromCharCode(s), y, "=");
2342
- case Gr: return this.scanComplexOperator(i, "!", y, "=", y, "=");
2343
- case y: return this.scanEquals(i);
2344
- case Bn: return this.scanComplexOperator(i, "&", Bn, "&", y, "=");
2345
- case Hn: return this.scanComplexOperator(i, "|", Hn, "|", y, "=");
2346
- case ks:
2347
- for (; li(this.peek);) this.advance();
2623
+ case Te: return this.scanCharacter(r, s);
2624
+ case Ne: return this.scanOpenBrace(r, s);
2625
+ case oe: return this.scanCloseBrace(r, s);
2626
+ case Us:
2627
+ case Hs: return this.scanString();
2628
+ case Zt: return this.advance(), this.scanTemplateLiteralPart(r);
2629
+ case Tr: return this.scanPrivateIdentifier();
2630
+ case Ws: return this.scanComplexOperator(r, "+", C, "=");
2631
+ case qs: return this.scanComplexOperator(r, "-", C, "=");
2632
+ case Ke: return this.isStartOfRegex() ? this.scanRegex(i) : this.scanComplexOperator(r, "/", C, "=");
2633
+ case kr: return this.scanComplexOperator(r, "%", C, "=");
2634
+ case Pr: return this.scanOperator(r, "^");
2635
+ case ts: return this.scanStar(r);
2636
+ case ss: return this.scanQuestion(r);
2637
+ case _r:
2638
+ case ns: return this.scanComplexOperator(r, String.fromCharCode(s), C, "=");
2639
+ case br: return this.scanComplexOperator(r, "!", C, "=", C, "=");
2640
+ case C: return this.scanEquals(r);
2641
+ case es: return this.scanComplexOperator(r, "&", es, "&", C, "=");
2642
+ case is: return this.scanComplexOperator(r, "|", is, "|", C, "=");
2643
+ case Gs:
2644
+ for (; Fr(this.peek);) this.advance();
2348
2645
  return this.scanToken();
2349
2646
  }
2350
2647
  return this.advance(), this.error(`Unexpected character [${String.fromCharCode(s)}]`, 0);
2351
2648
  }
2352
2649
  scanCharacter(e, n) {
2353
- return this.advance(), xe(e, this.index, n);
2650
+ return this.advance(), Ce(e, this.index, n);
2354
2651
  }
2355
2652
  scanOperator(e, n) {
2356
- return this.advance(), B(e, this.index, n);
2653
+ return this.advance(), F(e, this.index, n);
2357
2654
  }
2358
2655
  scanOpenBrace(e, n) {
2359
- return this.braceStack.push("expression"), this.advance(), xe(e, this.index, n);
2656
+ return this.braceStack.push("expression"), this.advance(), Ce(e, this.index, n);
2360
2657
  }
2361
2658
  scanCloseBrace(e, n) {
2362
- return this.advance(), this.braceStack.pop() === "interpolation" ? (this.tokens.push(xe(e, this.index, ne)), this.scanTemplateLiteralPart(this.index)) : xe(e, this.index, n);
2659
+ return this.advance(), this.braceStack.pop() === "interpolation" ? (this.tokens.push(Ce(e, this.index, oe)), this.scanTemplateLiteralPart(this.index)) : Ce(e, this.index, n);
2363
2660
  }
2364
- scanComplexOperator(e, n, s, r, i, a) {
2661
+ scanComplexOperator(e, n, s, i, r, a) {
2365
2662
  this.advance();
2366
- let p = n;
2367
- return this.peek == s && (this.advance(), p += r), i != null && this.peek == i && (this.advance(), p += a), B(e, this.index, p);
2663
+ let u = n;
2664
+ return this.peek == s && (this.advance(), u += i), r != null && this.peek == r && (this.advance(), u += a), F(e, this.index, u);
2368
2665
  }
2369
2666
  scanEquals(e) {
2370
2667
  this.advance();
2371
2668
  let n = "=";
2372
- if (this.peek === y) this.advance(), n += "=";
2373
- else if (this.peek === Vn) return this.advance(), n += ">", B(e, this.index, n);
2374
- return this.peek === y && (this.advance(), n += "="), B(e, this.index, n);
2669
+ if (this.peek === C) this.advance(), n += "=";
2670
+ else if (this.peek === ns) return this.advance(), n += ">", F(e, this.index, n);
2671
+ return this.peek === C && (this.advance(), n += "="), F(e, this.index, n);
2375
2672
  }
2376
2673
  scanIdentifier() {
2377
2674
  let e = this.index;
2378
- for (this.advance(); us(this.peek);) this.advance();
2675
+ for (this.advance(); ks(this.peek);) this.advance();
2379
2676
  let n = this.input.substring(e, this.index);
2380
- return _i.indexOf(n) > -1 ? bi(e, this.index, n) : ki(e, this.index, n);
2677
+ return to.indexOf(n) > -1 ? io(e, this.index, n) : no(e, this.index, n);
2381
2678
  }
2382
2679
  scanPrivateIdentifier() {
2383
2680
  let e = this.index;
2384
- if (this.advance(), !cs(this.peek)) return this.error("Invalid character [#]", -1);
2385
- for (; us(this.peek);) this.advance();
2681
+ if (this.advance(), !Ts(this.peek)) return this.error("Invalid character [#]", -1);
2682
+ for (; ks(this.peek);) this.advance();
2386
2683
  let n = this.input.substring(e, this.index);
2387
- return Ti(e, this.index, n);
2684
+ return so(e, this.index, n);
2388
2685
  }
2389
2686
  scanNumber(e) {
2390
2687
  let n = this.index === e, s = !1;
2391
2688
  for (this.advance();;) {
2392
- if (!G(this.peek)) if (this.peek === Ze) {
2393
- if (!G(this.input.charCodeAt(this.index - 1)) || !G(this.input.charCodeAt(this.index + 1))) return this.error("Invalid numeric separator", 0);
2689
+ if (!X(this.peek)) if (this.peek === at) {
2690
+ if (!X(this.input.charCodeAt(this.index - 1)) || !X(this.input.charCodeAt(this.index + 1))) return this.error("Invalid numeric separator", 0);
2394
2691
  s = !0;
2395
- } else if (this.peek === z) n = !1;
2396
- else if (Li(this.peek)) {
2397
- if (this.advance(), Mi(this.peek) && this.advance(), !G(this.peek)) return this.error("Invalid exponent", -1);
2692
+ } else if (this.peek === G) n = !1;
2693
+ else if (co(this.peek)) {
2694
+ if (this.advance(), uo(this.peek) && this.advance(), !X(this.peek)) return this.error("Invalid exponent", -1);
2398
2695
  n = !1;
2399
2696
  } else break;
2400
2697
  this.advance();
2401
2698
  }
2402
- let r = this.input.substring(e, this.index);
2403
- s && (r = r.replace(/_/g, ""));
2404
- let i = n ? $i(r) : parseFloat(r);
2405
- return Ai(e, this.index, i);
2699
+ let i = this.input.substring(e, this.index);
2700
+ s && (i = i.replace(/_/g, ""));
2701
+ let r = n ? ho(i) : parseFloat(i);
2702
+ return ro(e, this.index, r);
2406
2703
  }
2407
2704
  scanString() {
2408
2705
  let e = this.index, n = this.peek;
2409
2706
  this.advance();
2410
- let s = "", r = this.index, i = this.input;
2411
- for (; this.peek != n;) if (this.peek == ut) {
2412
- let p = this.scanStringBackslash(s, r);
2413
- if (typeof p != "string") return p;
2414
- s = p, r = this.index;
2707
+ let s = "", i = this.index, r = this.input;
2708
+ for (; this.peek != n;) if (this.peek == St) {
2709
+ let u = this.scanStringBackslash(s, i);
2710
+ if (typeof u != "string") return u;
2711
+ s = u, i = this.index;
2415
2712
  } else {
2416
- if (this.peek == we) return this.error("Unterminated quote", 0);
2713
+ if (this.peek == Ee) return this.error("Unterminated quote", 0);
2417
2714
  this.advance();
2418
2715
  }
2419
- let a = i.substring(r, this.index);
2420
- return this.advance(), new Te(e, this.index, s + a, H.Plain);
2716
+ let a = r.substring(i, this.index);
2717
+ return this.advance(), new Ae(e, this.index, s + a, W.Plain);
2421
2718
  }
2422
2719
  scanQuestion(e) {
2423
2720
  this.advance();
2424
2721
  let n = "?";
2425
- return this.peek === Un ? (n += "?", this.advance(), this.peek === y && (n += "=", this.advance())) : this.peek === z && (n += ".", this.advance()), B(e, this.index, n);
2722
+ return this.peek === ss ? (n += "?", this.advance(), this.peek === C && (n += "=", this.advance())) : this.peek === G && (n += ".", this.advance()), F(e, this.index, n);
2426
2723
  }
2427
2724
  scanTemplateLiteralPart(e) {
2428
2725
  let n = "", s = this.index;
2429
- for (; this.peek !== qt;) if (this.peek === ut) {
2430
- let i = this.scanStringBackslash(n, s);
2431
- if (typeof i != "string") return i;
2432
- n = i, s = this.index;
2433
- } else if (this.peek === Zt) {
2434
- let i = this.index;
2435
- if (this.advance(), this.peek === ke) return this.braceStack.push("interpolation"), this.tokens.push(new Te(e, i, n + this.input.substring(s, i), H.TemplateLiteralPart)), this.advance(), B(i, this.index, this.input.substring(i, this.index));
2726
+ for (; this.peek !== Zt;) if (this.peek === St) {
2727
+ let r = this.scanStringBackslash(n, s);
2728
+ if (typeof r != "string") return r;
2729
+ n = r, s = this.index;
2730
+ } else if (this.peek === un) {
2731
+ let r = this.index;
2732
+ if (this.advance(), this.peek === Ne) return this.braceStack.push("interpolation"), this.tokens.push(new Ae(e, r, n + this.input.substring(s, r), W.TemplateLiteralPart)), this.advance(), F(r, this.index, this.input.substring(r, this.index));
2436
2733
  } else {
2437
- if (this.peek === we) return this.error("Unterminated template literal", 0);
2734
+ if (this.peek === Ee) return this.error("Unterminated template literal", 0);
2438
2735
  this.advance();
2439
2736
  }
2440
- let r = this.input.substring(s, this.index);
2441
- return this.advance(), new Te(e, this.index, n + r, H.TemplateLiteralEnd);
2737
+ let i = this.input.substring(s, this.index);
2738
+ return this.advance(), new Ae(e, this.index, n + i, W.TemplateLiteralEnd);
2442
2739
  }
2443
2740
  error(e, n) {
2444
2741
  let s = this.index + n;
2445
- return Ii(s, this.index, `Lexer Error: ${e} at column ${s} in expression [${this.input}]`);
2742
+ return oo(s, this.index, `Lexer Error: ${e} at column ${s} in expression [${this.input}]`);
2446
2743
  }
2447
2744
  scanStringBackslash(e, n) {
2448
2745
  e += this.input.substring(n, this.index);
2449
2746
  let s;
2450
- if (this.advance(), this.peek === oi) {
2451
- let r = this.input.substring(this.index + 1, this.index + 5);
2452
- if (/^[0-9a-f]+$/i.test(r)) s = parseInt(r, 16);
2453
- else return this.error(`Invalid unicode escape [\\u${r}]`, 0);
2454
- for (let i = 0; i < 5; i++) this.advance();
2455
- } else s = Ri(this.peek), this.advance();
2747
+ if (this.advance(), this.peek === Dr) {
2748
+ let i = this.input.substring(this.index + 1, this.index + 5);
2749
+ if (/^[0-9a-f]+$/i.test(i)) s = parseInt(i, 16);
2750
+ else return this.error(`Invalid unicode escape [\\u${i}]`, 0);
2751
+ for (let r = 0; r < 5; r++) this.advance();
2752
+ } else s = po(this.peek), this.advance();
2456
2753
  return e += String.fromCharCode(s), e;
2457
2754
  }
2458
2755
  scanStar(e) {
2459
2756
  this.advance();
2460
2757
  let n = "*";
2461
- return this.peek === Fn ? (n += "*", this.advance(), this.peek === y && (n += "=", this.advance())) : this.peek === y && (n += "=", this.advance()), B(e, this.index, n);
2758
+ return this.peek === ts ? (n += "*", this.advance(), this.peek === C && (n += "=", this.advance())) : this.peek === C && (n += "=", this.advance()), F(e, this.index, n);
2462
2759
  }
2463
2760
  isStartOfRegex() {
2464
2761
  if (this.tokens.length === 0) return !0;
2465
2762
  let e = this.tokens[this.tokens.length - 1];
2466
2763
  if (e.isOperator("!")) {
2467
2764
  let n = this.tokens.length > 1 ? this.tokens[this.tokens.length - 2] : null;
2468
- return n === null || n.type !== f.Identifier && !n.isCharacter(N) && !n.isCharacter(Q);
2765
+ return n === null || n.type !== f.Identifier && !n.isCharacter(L) && !n.isCharacter(Z);
2469
2766
  }
2470
- return e.type === f.Operator || e.isCharacter(X) || e.isCharacter(ie) || e.isCharacter(F) || e.isCharacter(J);
2767
+ return e.type === f.Operator || e.isCharacter(Q) || e.isCharacter(ce) || e.isCharacter(V) || e.isCharacter(J);
2471
2768
  }
2472
2769
  scanRegex(e) {
2473
2770
  this.advance();
2474
- let n = this.index, s = !1, r = !1;
2771
+ let n = this.index, s = !1, i = !1;
2475
2772
  for (;;) {
2476
2773
  let h = this.peek;
2477
- if (h === we) return this.error("Unterminated regular expression", 0);
2774
+ if (h === Ee) return this.error("Unterminated regular expression", 0);
2478
2775
  if (s) s = !1;
2479
- else if (h === ut) s = !0;
2480
- else if (h === ie) r = !0;
2481
- else if (h === Q) r = !1;
2482
- else if (h === ze && !r) break;
2776
+ else if (h === St) s = !0;
2777
+ else if (h === ce) i = !0;
2778
+ else if (h === Z) i = !1;
2779
+ else if (h === Ke && !i) break;
2483
2780
  this.advance();
2484
2781
  }
2485
- let i = this.input.substring(n, this.index);
2782
+ let r = this.input.substring(n, this.index);
2486
2783
  this.advance();
2487
- let a = Ni(e, this.index, i), p = this.scanRegexFlags(this.index);
2488
- return p !== null ? (this.tokens.push(a), p) : a;
2784
+ let a = ao(e, this.index, r), u = this.scanRegexFlags(this.index);
2785
+ return u !== null ? (this.tokens.push(a), u) : a;
2489
2786
  }
2490
2787
  scanRegexFlags(e) {
2491
- if (!jt(this.peek)) return null;
2492
- for (; jt(this.peek);) this.advance();
2493
- return Pi(e, this.index, this.input.substring(e, this.index));
2788
+ if (!en(this.peek)) return null;
2789
+ for (; en(this.peek);) this.advance();
2790
+ return lo(e, this.index, this.input.substring(e, this.index));
2494
2791
  }
2495
2792
  };
2496
- Yt = class {
2793
+ on = class {
2497
2794
  strings;
2498
2795
  expressions;
2499
2796
  offsets;
2500
2797
  constructor(e, n, s) {
2501
2798
  this.strings = e, this.expressions = n, this.offsets = s;
2502
2799
  }
2503
- }, Qt = class {
2800
+ };
2801
+ an = class {
2504
2802
  templateBindings;
2505
2803
  warnings;
2506
2804
  errors;
@@ -2508,103 +2806,103 @@ var init_angular = __esmMin((() => {
2508
2806
  this.templateBindings = e, this.warnings = n, this.errors = s;
2509
2807
  }
2510
2808
  };
2511
- he = class {
2809
+ ge = class {
2512
2810
  _lexer;
2513
2811
  _supportsDirectPipeReferences;
2514
2812
  constructor(e, n = !1) {
2515
2813
  this._lexer = e, this._supportsDirectPipeReferences = n;
2516
2814
  }
2517
2815
  parseAction(e, n, s) {
2518
- let r = [];
2519
- this._checkNoInterpolation(r, e, n);
2520
- let { stripped: i } = this._stripComments(e);
2521
- return new U(new Y(e, n, s, this._lexer.tokenize(i), 1, r, 0, this._supportsDirectPipeReferences).parseChain(), e, V(n), s, r);
2816
+ let i = [];
2817
+ this._checkNoInterpolation(i, e, n);
2818
+ let { stripped: r } = this._stripComments(e);
2819
+ return new U(new Y(e, n, s, this._lexer.tokenize(r), 1, i, 0, this._supportsDirectPipeReferences).parseChain(), e, H(n), s, i);
2522
2820
  }
2523
2821
  parseBinding(e, n, s) {
2524
- let r = [];
2525
- return new U(this._parseBindingAst(e, n, s, r), e, V(n), s, r);
2822
+ let i = [];
2823
+ return new U(this._parseBindingAst(e, n, s, i), e, H(n), s, i);
2526
2824
  }
2527
2825
  checkSimpleExpression(e) {
2528
- let n = new Kt();
2826
+ let n = new ln();
2529
2827
  return e.visit(n), n.errors;
2530
2828
  }
2531
2829
  parseSimpleBinding(e, n, s) {
2532
- let r = [], i = this._parseBindingAst(e, n, s, r), a = this.checkSimpleExpression(i);
2533
- return a.length > 0 && r.push(re(`Host binding expression cannot contain ${a.join(" ")}`, e, "", n)), new U(i, e, V(n), s, r);
2830
+ let i = [], r = this._parseBindingAst(e, n, s, i), a = this.checkSimpleExpression(r);
2831
+ return a.length > 0 && i.push(le(`Host binding expression cannot contain ${a.join(" ")}`, e, "", n)), new U(r, e, H(n), s, i);
2534
2832
  }
2535
- _parseBindingAst(e, n, s, r) {
2536
- this._checkNoInterpolation(r, e, n);
2537
- let { stripped: i } = this._stripComments(e);
2538
- return new Y(e, n, s, this._lexer.tokenize(i), 0, r, 0, this._supportsDirectPipeReferences).parseChain();
2833
+ _parseBindingAst(e, n, s, i) {
2834
+ this._checkNoInterpolation(i, e, n);
2835
+ let { stripped: r } = this._stripComments(e);
2836
+ return new Y(e, n, s, this._lexer.tokenize(r), 0, i, 0, this._supportsDirectPipeReferences).parseChain();
2539
2837
  }
2540
- parseTemplateBindings(e, n, s, r, i) {
2541
- return new Y(n, s, i, this._lexer.tokenize(n), 0, [], 0, this._supportsDirectPipeReferences).parseTemplateBindings({
2838
+ parseTemplateBindings(e, n, s, i, r) {
2839
+ return new Y(n, s, r, this._lexer.tokenize(n), 0, [], 0, this._supportsDirectPipeReferences).parseTemplateBindings({
2542
2840
  source: e,
2543
- span: new O(r, r + e.length)
2841
+ span: new D(i, i + e.length)
2544
2842
  });
2545
2843
  }
2546
- parseInterpolation(e, n, s, r) {
2547
- let i = [], { strings: a, expressions: p, offsets: h } = this.splitInterpolation(e, n, i, r);
2548
- if (p.length === 0) return null;
2844
+ parseInterpolation(e, n, s, i) {
2845
+ let r = [], { strings: a, expressions: u, offsets: h } = this.splitInterpolation(e, n, r, i);
2846
+ if (u.length === 0) return null;
2549
2847
  let d = [];
2550
- for (let x = 0; x < p.length; ++x) {
2551
- let D = r?.[x * 2 + 1]?.sourceSpan, k = p[x].text, { stripped: T, hasComments: C } = this._stripComments(k), q = this._lexer.tokenize(T);
2552
- if (C && T.trim().length === 0 && q.length === 0) {
2553
- i.push(re("Interpolation expression cannot only contain a comment", e, `at column ${p[x].start} in`, n));
2848
+ for (let g = 0; g < u.length; ++g) {
2849
+ let P = i?.[g * 2 + 1]?.sourceSpan, k = u[g].text, { stripped: _, hasComments: b } = this._stripComments(k), j = this._lexer.tokenize(_);
2850
+ if (b && _.trim().length === 0 && j.length === 0) {
2851
+ r.push(le("Interpolation expression cannot only contain a comment", e, `at column ${u[g].start} in`, n));
2554
2852
  continue;
2555
2853
  }
2556
- let ge = new Y(D ? k : e, D || n, s, q, 0, i, h[x], this._supportsDirectPipeReferences).parseChain();
2557
- d.push(ge);
2854
+ let xe = new Y(P ? k : e, P || n, s, j, 0, r, h[g], this._supportsDirectPipeReferences).parseChain();
2855
+ d.push(xe);
2558
2856
  }
2559
- return this.createInterpolationAst(a.map((x) => x.text), d, e, V(n), s, i);
2857
+ return this.createInterpolationAst(a.map((g) => g.text), d, e, H(n), s, r);
2560
2858
  }
2561
2859
  parseInterpolationExpression(e, n, s) {
2562
- let { stripped: r } = this._stripComments(e), i = this._lexer.tokenize(r), a = [], p = new Y(e, n, s, i, 0, a, 0, this._supportsDirectPipeReferences).parseChain();
2563
- return this.createInterpolationAst(["", ""], [p], e, V(n), s, a);
2564
- }
2565
- createInterpolationAst(e, n, s, r, i, a) {
2566
- let p = new K(0, s.length);
2567
- return new U(new Hr(p, p.toAbsolute(i), e, n), s, r, i, a);
2568
- }
2569
- splitInterpolation(e, n, s, r) {
2570
- let i = [], a = [], p = [], h = r ? Oi(r) : null, d = 0, x = !1, D = !1, k = "{{", T = "}}";
2571
- for (; d < e.length;) if (x) {
2572
- let C = d, q = C + 2, ge = this._getInterpolationEndIndex(e, T, q);
2573
- if (ge === -1) {
2574
- x = !1, D = !0;
2860
+ let { stripped: i } = this._stripComments(e), r = this._lexer.tokenize(i), a = [], u = new Y(e, n, s, r, 0, a, 0, this._supportsDirectPipeReferences).parseChain();
2861
+ return this.createInterpolationAst(["", ""], [u], e, H(n), s, a);
2862
+ }
2863
+ createInterpolationAst(e, n, s, i, r, a) {
2864
+ let u = new ee(0, s.length);
2865
+ return new U(new Sr(u, u.toAbsolute(r), e, n), s, i, r, a);
2866
+ }
2867
+ splitInterpolation(e, n, s, i) {
2868
+ let r = [], a = [], u = [], h = i ? fo(i) : null, d = 0, g = !1, P = !1, k = "{{", _ = "}}";
2869
+ for (; d < e.length;) if (g) {
2870
+ let b = d, j = b + 2, xe = this._getInterpolationEndIndex(e, _, j);
2871
+ if (xe === -1) {
2872
+ g = !1, P = !0;
2575
2873
  break;
2576
2874
  }
2577
- let dn = ge + 2, mn = e.substring(q, ge);
2578
- mn.trim().length === 0 && s.push(re("Blank expressions are not allowed in interpolated strings", e, `at column ${d} in`, n)), a.push({
2579
- text: mn,
2580
- start: C,
2581
- end: dn
2875
+ let bn = xe + 2, Tn = e.substring(j, xe);
2876
+ Tn.trim().length === 0 && s.push(le("Blank expressions are not allowed in interpolated strings", e, `at column ${d} in`, n)), a.push({
2877
+ text: Tn,
2878
+ start: b,
2879
+ end: bn
2582
2880
  });
2583
- let $r = (h?.get(C) ?? C) + 2;
2584
- p.push($r), d = dn, x = !1;
2881
+ let ar = (h?.get(b) ?? b) + 2;
2882
+ u.push(ar), d = bn, g = !1;
2585
2883
  } else {
2586
- let C = d;
2884
+ let b = d;
2587
2885
  d = e.indexOf(k, d), d === -1 && (d = e.length);
2588
- let q = e.substring(C, d);
2589
- i.push({
2590
- text: q,
2591
- start: C,
2886
+ let j = e.substring(b, d);
2887
+ r.push({
2888
+ text: j,
2889
+ start: b,
2592
2890
  end: d
2593
- }), x = !0;
2891
+ }), g = !0;
2594
2892
  }
2595
- if (!x) if (D) {
2596
- let C = i[i.length - 1];
2597
- C.text += e.substring(d), C.end = e.length;
2598
- } else i.push({
2893
+ if (!g) if (P) {
2894
+ let b = r[r.length - 1];
2895
+ b.text += e.substring(d), b.end = e.length;
2896
+ } else r.push({
2599
2897
  text: e.substring(d),
2600
2898
  start: d,
2601
2899
  end: e.length
2602
2900
  });
2603
- return new Yt(i, a, p);
2901
+ return new on(r, a, u);
2604
2902
  }
2605
2903
  wrapLiteralPrimitive(e, n, s) {
2606
- let r = new K(0, e == null ? 0 : e.length);
2607
- return new U(new I(r, r.toAbsolute(s), e), e, typeof n == "string" ? n : V(n), s, []);
2904
+ let i = new ee(0, e == null ? 0 : e.length);
2905
+ return new U(new A(i, i.toAbsolute(s), e), e, typeof n == "string" ? n : H(n), s, []);
2608
2906
  }
2609
2907
  _stripComments(e) {
2610
2908
  let n = this._commentStart(e);
@@ -2619,37 +2917,37 @@ var init_angular = __esmMin((() => {
2619
2917
  _commentStart(e) {
2620
2918
  let n = null;
2621
2919
  for (let s = 0; s < e.length - 1; s++) {
2622
- let r = e.charCodeAt(s), i = e.charCodeAt(s + 1);
2623
- if (r === ze && i == ze && n == null) return s;
2624
- n === r ? n = null : n == null && Wn(r) && (n = r);
2920
+ let i = e.charCodeAt(s), r = e.charCodeAt(s + 1);
2921
+ if (i === Ke && r == Ke && n == null) return s;
2922
+ n === i ? n = null : n == null && rs(i) && (n = i);
2625
2923
  }
2626
2924
  return null;
2627
2925
  }
2628
2926
  _checkNoInterpolation(e, n, s) {
2629
- let r = -1, i = -1;
2630
- for (let a of this._forEachUnquotedChar(n, 0)) if (r === -1) n.startsWith("{{") && (r = a);
2631
- else if (i = this._getInterpolationEndIndex(n, "}}", a), i > -1) break;
2632
- r > -1 && i > -1 && e.push(re("Got interpolation ({{}}) where expression was expected", n, `at column ${r} in`, s));
2927
+ let i = -1, r = -1;
2928
+ for (let a of this._forEachUnquotedChar(n, 0)) if (i === -1) n.startsWith("{{") && (i = a);
2929
+ else if (r = this._getInterpolationEndIndex(n, "}}", a), r > -1) break;
2930
+ i > -1 && r > -1 && e.push(le("Got interpolation ({{}}) where expression was expected", n, `at column ${i} in`, s));
2633
2931
  }
2634
2932
  _getInterpolationEndIndex(e, n, s) {
2635
- for (let r of this._forEachUnquotedChar(e, s)) {
2636
- if (e.startsWith(n, r)) return r;
2637
- if (e.startsWith("//", r)) return e.indexOf(n, r);
2933
+ for (let i of this._forEachUnquotedChar(e, s)) {
2934
+ if (e.startsWith(n, i)) return i;
2935
+ if (e.startsWith("//", i)) return e.indexOf(n, i);
2638
2936
  }
2639
2937
  return -1;
2640
2938
  }
2641
2939
  *_forEachUnquotedChar(e, n) {
2642
- let s = null, r = 0;
2643
- for (let i = n; i < e.length; i++) {
2644
- let a = e[i];
2645
- Wn(e.charCodeAt(i)) && (s === null || s === a) && r % 2 === 0 ? s = s === null ? a : null : s === null && (yield i), r = a === "\\" ? r + 1 : 0;
2940
+ let s = null, i = 0;
2941
+ for (let r = n; r < e.length; r++) {
2942
+ let a = e[r];
2943
+ rs(e.charCodeAt(r)) && (s === null || s === a) && i % 2 === 0 ? s = s === null ? a : null : s === null && (yield r), i = a === "\\" ? i + 1 : 0;
2646
2944
  }
2647
2945
  }
2648
2946
  };
2649
2947
  (function(t) {
2650
2948
  t[t.None = 0] = "None", t[t.Writable = 1] = "Writable";
2651
- })(se || (se = {}));
2652
- ps = /* @__PURE__ */ new Set([
2949
+ })(ae || (ae = {}));
2950
+ _s = /* @__PURE__ */ new Set([
2653
2951
  "d",
2654
2952
  "g",
2655
2953
  "i",
@@ -2658,7 +2956,8 @@ var init_angular = __esmMin((() => {
2658
2956
  "u",
2659
2957
  "v",
2660
2958
  "y"
2661
- ]), Y = class {
2959
+ ]);
2960
+ Y = class {
2662
2961
  input;
2663
2962
  parseSourceSpan;
2664
2963
  absoluteOffset;
@@ -2670,15 +2969,15 @@ var init_angular = __esmMin((() => {
2670
2969
  rparensExpected = 0;
2671
2970
  rbracketsExpected = 0;
2672
2971
  rbracesExpected = 0;
2673
- context = se.None;
2972
+ context = ae.None;
2674
2973
  sourceSpanCache = /* @__PURE__ */ new Map();
2675
2974
  index = 0;
2676
- constructor(e, n, s, r, i, a, p, h) {
2677
- this.input = e, this.parseSourceSpan = n, this.absoluteOffset = s, this.tokens = r, this.parseFlags = i, this.errors = a, this.offset = p, this.supportsDirectPipeReferences = h;
2975
+ constructor(e, n, s, i, r, a, u, h) {
2976
+ this.input = e, this.parseSourceSpan = n, this.absoluteOffset = s, this.tokens = i, this.parseFlags = r, this.errors = a, this.offset = u, this.supportsDirectPipeReferences = h;
2678
2977
  }
2679
2978
  peek(e) {
2680
2979
  let n = this.index + e;
2681
- return n < this.tokens.length ? this.tokens[n] : Se;
2980
+ return n < this.tokens.length ? this.tokens[n] : be;
2682
2981
  }
2683
2982
  get next() {
2684
2983
  return this.peek(0);
@@ -2698,10 +2997,10 @@ var init_angular = __esmMin((() => {
2698
2997
  span(e, n) {
2699
2998
  let s = this.currentEndIndex;
2700
2999
  if (n !== void 0 && n > this.currentEndIndex && (s = n), e > s) {
2701
- let r = s;
2702
- s = e, e = r;
3000
+ let i = s;
3001
+ s = e, e = i;
2703
3002
  }
2704
- return new K(e, s);
3003
+ return new ee(e, s);
2705
3004
  }
2706
3005
  sourceSpan(e, n) {
2707
3006
  let s = `${e}@${this.inputIndex}:${n}`;
@@ -2737,7 +3036,7 @@ var init_angular = __esmMin((() => {
2737
3036
  this.consumeOptionalOperator(e) || this.error(`Missing expected operator ${e}`);
2738
3037
  }
2739
3038
  prettyPrintToken(e) {
2740
- return e === Se ? "end of input" : `token ${e}`;
3039
+ return e === be ? "end of input" : `token ${e}`;
2741
3040
  }
2742
3041
  expectIdentifierOrKeyword() {
2743
3042
  let e = this.next;
@@ -2751,33 +3050,33 @@ var init_angular = __esmMin((() => {
2751
3050
  let e = [], n = this.inputIndex;
2752
3051
  for (; this.index < this.tokens.length;) {
2753
3052
  let s = this.parsePipe();
2754
- if (e.push(s), this.consumeOptionalCharacter(Ee)) for (this.parseFlags & 1 || this.error("Binding expression cannot contain chained expression"); this.consumeOptionalCharacter(Ee););
3053
+ if (e.push(s), this.consumeOptionalCharacter(Te)) for (this.parseFlags & 1 || this.error("Binding expression cannot contain chained expression"); this.consumeOptionalCharacter(Te););
2755
3054
  else if (this.index < this.tokens.length) {
2756
- let r = this.index;
2757
- if (this.error(`Unexpected token '${this.next}'`), this.index === r) break;
3055
+ let i = this.index;
3056
+ if (this.error(`Unexpected token '${this.next}'`), this.index === i) break;
2758
3057
  }
2759
3058
  }
2760
3059
  if (e.length === 0) {
2761
- let s = this.offset, r = this.offset + this.input.length;
2762
- return new A(this.span(s, r), this.sourceSpan(s, r));
3060
+ let s = this.offset, i = this.offset + this.input.length;
3061
+ return new N(this.span(s, i), this.sourceSpan(s, i));
2763
3062
  }
2764
- return e.length == 1 ? e[0] : new It(this.span(n), this.sourceSpan(n), e);
3063
+ return e.length == 1 ? e[0] : new Ft(this.span(n), this.sourceSpan(n), e);
2765
3064
  }
2766
3065
  parsePipe() {
2767
3066
  let e = this.inputIndex, n = this.parseExpression();
2768
3067
  if (this.consumeOptionalOperator("|")) {
2769
3068
  this.parseFlags & 1 && this.error("Cannot have a pipe in an action expression");
2770
3069
  do {
2771
- let s = this.inputIndex, r = this.expectIdentifierOrKeyword(), i, a;
2772
- r !== null ? i = this.sourceSpan(s) : (r = "", a = this.next.index !== -1 ? this.next.index : this.input.length + this.offset, i = new K(a, a).toAbsolute(this.absoluteOffset));
2773
- let p = [];
2774
- for (; this.consumeOptionalCharacter(J);) p.push(this.parseExpression());
3070
+ let s = this.inputIndex, i = this.expectIdentifierOrKeyword(), r, a;
3071
+ i !== null ? r = this.sourceSpan(s) : (i = "", a = this.next.index !== -1 ? this.next.index : this.input.length + this.offset, r = new ee(a, a).toAbsolute(this.absoluteOffset));
3072
+ let u = [];
3073
+ for (; this.consumeOptionalCharacter(J);) u.push(this.parseExpression());
2775
3074
  let h;
2776
3075
  if (this.supportsDirectPipeReferences) {
2777
- let d = r.charCodeAt(0);
2778
- h = d === Ze || d >= en && d <= tn ? Ce.ReferencedDirectly : Ce.ReferencedByName;
2779
- } else h = Ce.ReferencedByName;
2780
- n = new Mt(this.span(e), this.sourceSpan(e, a), n, r, p, h, i);
3076
+ let d = i.charCodeAt(0);
3077
+ h = d === at || d >= pn && d <= hn ? _e.ReferencedDirectly : _e.ReferencedByName;
3078
+ } else h = _e.ReferencedByName;
3079
+ n = new Wt(this.span(e), this.sourceSpan(e, a), n, i, u, h, r);
2781
3080
  } while (this.consumeOptionalOperator("|"));
2782
3081
  }
2783
3082
  return n;
@@ -2788,13 +3087,13 @@ var init_angular = __esmMin((() => {
2788
3087
  parseConditional() {
2789
3088
  let e = this.inputIndex, n = this.parseLogicalOr();
2790
3089
  if (this.consumeOptionalOperator("?")) {
2791
- let s = this.parsePipe(), r;
2792
- if (this.consumeOptionalCharacter(J)) r = this.parsePipe();
3090
+ let s = this.parsePipe(), i;
3091
+ if (this.consumeOptionalCharacter(J)) i = this.parsePipe();
2793
3092
  else {
2794
- let i = this.inputIndex, a = this.input.substring(e, i);
2795
- this.error(`Conditional expression ${a} requires all 3 expressions`), r = new A(this.span(e), this.sourceSpan(e));
3093
+ let r = this.inputIndex, a = this.input.substring(e, r);
3094
+ this.error(`Conditional expression ${a} requires all 3 expressions`), i = new N(this.span(e), this.sourceSpan(e));
2796
3095
  }
2797
- return new Nt(this.span(e), this.sourceSpan(e), n, s, r);
3096
+ return new Vt(this.span(e), this.sourceSpan(e), n, s, i);
2798
3097
  } else return n;
2799
3098
  }
2800
3099
  parseLogicalOr() {
@@ -2831,8 +3130,8 @@ var init_angular = __esmMin((() => {
2831
3130
  case "!=":
2832
3131
  case "!==":
2833
3132
  this.advance();
2834
- let r = this.parseRelational();
2835
- n = new E(this.span(e), this.sourceSpan(e), s, n, r);
3133
+ let i = this.parseRelational();
3134
+ n = new E(this.span(e), this.sourceSpan(e), s, n, i);
2836
3135
  continue;
2837
3136
  }
2838
3137
  break;
@@ -2851,8 +3150,8 @@ var init_angular = __esmMin((() => {
2851
3150
  case "in":
2852
3151
  case "instanceof":
2853
3152
  this.advance();
2854
- let r = this.parseAdditive();
2855
- n = new E(this.span(e), this.sourceSpan(e), s, n, r);
3153
+ let i = this.parseAdditive();
3154
+ n = new E(this.span(e), this.sourceSpan(e), s, n, i);
2856
3155
  continue;
2857
3156
  }
2858
3157
  break;
@@ -2867,8 +3166,8 @@ var init_angular = __esmMin((() => {
2867
3166
  case "+":
2868
3167
  case "-":
2869
3168
  this.advance();
2870
- let r = this.parseMultiplicative();
2871
- n = new E(this.span(e), this.sourceSpan(e), s, n, r);
3169
+ let i = this.parseMultiplicative();
3170
+ n = new E(this.span(e), this.sourceSpan(e), s, n, i);
2872
3171
  continue;
2873
3172
  }
2874
3173
  break;
@@ -2884,8 +3183,8 @@ var init_angular = __esmMin((() => {
2884
3183
  case "%":
2885
3184
  case "/":
2886
3185
  this.advance();
2887
- let r = this.parseExponentiation();
2888
- n = new E(this.span(e), this.sourceSpan(e), s, n, r);
3186
+ let i = this.parseExponentiation();
3187
+ n = new E(this.span(e), this.sourceSpan(e), s, n, i);
2889
3188
  continue;
2890
3189
  }
2891
3190
  break;
@@ -2895,7 +3194,7 @@ var init_angular = __esmMin((() => {
2895
3194
  parseExponentiation() {
2896
3195
  let e = this.inputIndex, n = this.parsePrefix();
2897
3196
  for (; this.next.type == f.Operator && this.next.strValue === "**";) {
2898
- (n instanceof _e || n instanceof Ve || n instanceof Ue || n instanceof He) && this.error("Unary operator used immediately before exponentiation expression. Parenthesis must be used to disambiguate operator precedence"), this.advance();
3197
+ (n instanceof Ie || n instanceof je || n instanceof ze || n instanceof Ge) && this.error("Unary operator used immediately before exponentiation expression. Parenthesis must be used to disambiguate operator precedence"), this.advance();
2899
3198
  let s = this.parseExponentiation();
2900
3199
  n = new E(this.span(e), this.sourceSpan(e), "**", n, s);
2901
3200
  }
@@ -2905,30 +3204,30 @@ var init_angular = __esmMin((() => {
2905
3204
  if (this.next.type == f.Operator) {
2906
3205
  let e = this.inputIndex, n = this.next.strValue, s;
2907
3206
  switch (n) {
2908
- case "+": return this.advance(), s = this.parsePrefix(), _e.createPlus(this.span(e), this.sourceSpan(e), s);
2909
- case "-": return this.advance(), s = this.parsePrefix(), _e.createMinus(this.span(e), this.sourceSpan(e), s);
2910
- case "!": return this.advance(), s = this.parsePrefix(), new Ve(this.span(e), this.sourceSpan(e), s);
3207
+ case "+": return this.advance(), s = this.parsePrefix(), Ie.createPlus(this.span(e), this.sourceSpan(e), s);
3208
+ case "-": return this.advance(), s = this.parsePrefix(), Ie.createMinus(this.span(e), this.sourceSpan(e), s);
3209
+ case "!": return this.advance(), s = this.parsePrefix(), new je(this.span(e), this.sourceSpan(e), s);
2911
3210
  }
2912
3211
  } else if (this.next.isKeywordTypeof()) {
2913
3212
  let e = this.inputIndex;
2914
3213
  this.advance();
2915
3214
  let n = this.parsePrefix();
2916
- return new Ue(this.span(e), this.sourceSpan(e), n);
3215
+ return new ze(this.span(e), this.sourceSpan(e), n);
2917
3216
  } else if (this.next.isKeywordVoid()) {
2918
3217
  let e = this.inputIndex;
2919
3218
  this.advance();
2920
3219
  let n = this.parsePrefix();
2921
- return new He(this.span(e), this.sourceSpan(e), n);
3220
+ return new Ge(this.span(e), this.sourceSpan(e), n);
2922
3221
  }
2923
3222
  return this.parseCallChain();
2924
3223
  }
2925
3224
  parseCallChain() {
2926
3225
  let e = this.inputIndex, n = this.parsePrimary();
2927
- for (;;) if (this.consumeOptionalCharacter(z)) n = this.parseAccessMember(n, e, !1);
2928
- else if (this.consumeOptionalOperator("?.")) this.consumeOptionalCharacter(X) ? n = this.parseCall(n, e, !0) : n = this.consumeOptionalCharacter(ie) ? this.parseKeyedReadOrWrite(n, e, !0) : this.parseAccessMember(n, e, !0);
2929
- else if (this.consumeOptionalCharacter(ie)) n = this.parseKeyedReadOrWrite(n, e, !1);
2930
- else if (this.consumeOptionalCharacter(X)) n = this.parseCall(n, e, !1);
2931
- else if (this.consumeOptionalOperator("!")) n = new Dt(this.span(e), this.sourceSpan(e), n);
3226
+ for (;;) if (this.consumeOptionalCharacter(G)) n = this.parseAccessMember(n, e, !1);
3227
+ else if (this.consumeOptionalOperator("?.")) this.consumeOptionalCharacter(Q) ? n = this.parseCall(n, e, !0) : n = this.consumeOptionalCharacter(ce) ? this.parseKeyedReadOrWrite(n, e, !0) : this.parseAccessMember(n, e, !0);
3228
+ else if (this.consumeOptionalCharacter(ce)) n = this.parseKeyedReadOrWrite(n, e, !1);
3229
+ else if (this.consumeOptionalCharacter(Q)) n = this.parseCall(n, e, !1);
3230
+ else if (this.consumeOptionalOperator("!")) n = new Gt(this.span(e), this.sourceSpan(e), n);
2932
3231
  else if (this.next.isTemplateLiteralEnd()) n = this.parseNoInterpolationTaggedTemplateLiteral(n, e);
2933
3232
  else if (this.next.isTemplateLiteralPart()) n = this.parseTaggedTemplateLiteral(n, e);
2934
3233
  else return n;
@@ -2936,30 +3235,29 @@ var init_angular = __esmMin((() => {
2936
3235
  parsePrimary() {
2937
3236
  let e = this.inputIndex;
2938
3237
  if (this.isArrowFunction()) return this.parseArrowFunction(e);
2939
- if (this.consumeOptionalCharacter(X)) {
3238
+ if (this.consumeOptionalCharacter(Q)) {
2940
3239
  this.rparensExpected++;
2941
3240
  let n = this.parsePipe();
2942
- return this.consumeOptionalCharacter(N) || (this.error("Missing closing parentheses"), this.consumeOptionalCharacter(N)), this.rparensExpected--, new Ie(this.span(e), this.sourceSpan(e), n);
3241
+ return this.consumeOptionalCharacter(L) || (this.error("Missing closing parentheses"), this.consumeOptionalCharacter(L)), this.rparensExpected--, new $e(this.span(e), this.sourceSpan(e), n);
2943
3242
  } else {
2944
- if (this.next.isKeywordNull()) return this.advance(), new I(this.span(e), this.sourceSpan(e), null);
2945
- if (this.next.isKeywordUndefined()) return this.advance(), new I(this.span(e), this.sourceSpan(e), void 0);
2946
- if (this.next.isKeywordTrue()) return this.advance(), new I(this.span(e), this.sourceSpan(e), !0);
2947
- if (this.next.isKeywordFalse()) return this.advance(), new I(this.span(e), this.sourceSpan(e), !1);
2948
- if (this.next.isKeywordIn()) return this.advance(), new I(this.span(e), this.sourceSpan(e), "in");
2949
- if (this.next.isKeywordThis()) return this.advance(), new At(this.span(e), this.sourceSpan(e));
2950
- if (this.consumeOptionalCharacter(ie)) return this.parseLiteralArray(e);
2951
- if (this.next.isCharacter(ke)) return this.parseLiteralMap();
2952
- if (this.next.isIdentifier()) return this.parseAccessMember(new ce(this.span(e), this.sourceSpan(e)), e, !1);
3243
+ if (this.next.isKeywordNull()) return this.advance(), new A(this.span(e), this.sourceSpan(e), null);
3244
+ if (this.next.isKeywordUndefined()) return this.advance(), new A(this.span(e), this.sourceSpan(e), void 0);
3245
+ if (this.next.isKeywordTrue()) return this.advance(), new A(this.span(e), this.sourceSpan(e), !0);
3246
+ if (this.next.isKeywordFalse()) return this.advance(), new A(this.span(e), this.sourceSpan(e), !1);
3247
+ if (this.next.isKeywordThis()) return this.advance(), new Bt(this.span(e), this.sourceSpan(e));
3248
+ if (this.consumeOptionalCharacter(ce)) return this.parseLiteralArray(e);
3249
+ if (this.next.isCharacter(Ne)) return this.parseLiteralMap();
3250
+ if (this.next.isIdentifier()) return this.parseAccessMember(new fe(this.span(e), this.sourceSpan(e)), e, !1);
2953
3251
  if (this.next.isNumber()) {
2954
3252
  let n = this.next.toNumber();
2955
- return this.advance(), new I(this.span(e), this.sourceSpan(e), n);
3253
+ return this.advance(), new A(this.span(e), this.sourceSpan(e), n);
2956
3254
  } else {
2957
3255
  if (this.next.isTemplateLiteralEnd()) return this.parseNoInterpolationTemplateLiteral();
2958
3256
  if (this.next.isTemplateLiteralPart()) return this.parseTemplateLiteral();
2959
- if (this.next.isString() && this.next.kind === H.Plain) {
3257
+ if (this.next.isString() && this.next.kind === W.Plain) {
2960
3258
  let n = this.next.toString();
2961
- return this.advance(), new I(this.span(e), this.sourceSpan(e), n);
2962
- } else return this.next.isPrivateIdentifier() ? (this._reportErrorForPrivateIdentifier(this.next, null), new A(this.span(e), this.sourceSpan(e))) : this.next.isRegExpBody() ? this.parseRegularExpressionLiteral() : this.index >= this.tokens.length ? (this.error(`Unexpected end of expression: ${this.input}`), new A(this.span(e), this.sourceSpan(e))) : (this.error(`Unexpected token ${this.next}`), new A(this.span(e), this.sourceSpan(e)));
3259
+ return this.advance(), new A(this.span(e), this.sourceSpan(e), n);
3260
+ } else return this.next.isPrivateIdentifier() ? (this._reportErrorForPrivateIdentifier(this.next, null), new N(this.span(e), this.sourceSpan(e))) : this.next.isRegExpBody() ? this.parseRegularExpressionLiteral() : this.index >= this.tokens.length ? (this.error(`Unexpected end of expression: ${this.input}`), new N(this.span(e), this.sourceSpan(e))) : (this.error(`Unexpected token ${this.next}`), new N(this.span(e), this.sourceSpan(e)));
2963
3261
  }
2964
3262
  }
2965
3263
  }
@@ -2968,67 +3266,67 @@ var init_angular = __esmMin((() => {
2968
3266
  let n = [];
2969
3267
  do
2970
3268
  if (this.next.isOperator("...")) n.push(this.parseSpreadElement());
2971
- else if (!this.next.isCharacter(Q)) n.push(this.parsePipe());
3269
+ else if (!this.next.isCharacter(Z)) n.push(this.parsePipe());
2972
3270
  else break;
2973
- while (this.consumeOptionalCharacter(F));
2974
- return this.rbracketsExpected--, this.expectCharacter(Q), new Rt(this.span(e), this.sourceSpan(e), n);
3271
+ while (this.consumeOptionalCharacter(V));
3272
+ return this.rbracketsExpected--, this.expectCharacter(Z), new qt(this.span(e), this.sourceSpan(e), n);
2975
3273
  }
2976
3274
  parseLiteralMap() {
2977
3275
  let e = [], n = [], s = this.inputIndex;
2978
- if (this.expectCharacter(ke), !this.consumeOptionalCharacter(ne)) {
3276
+ if (this.expectCharacter(Ne), !this.consumeOptionalCharacter(oe)) {
2979
3277
  this.rbracesExpected++;
2980
3278
  do {
2981
- let r = this.inputIndex;
3279
+ let i = this.inputIndex;
2982
3280
  if (this.next.isOperator("...")) {
2983
3281
  this.advance(), e.push({
2984
3282
  kind: "spread",
2985
- span: this.span(r),
2986
- sourceSpan: this.sourceSpan(r)
3283
+ span: this.span(i),
3284
+ sourceSpan: this.sourceSpan(i)
2987
3285
  }), n.push(this.parsePipe());
2988
3286
  continue;
2989
3287
  }
2990
- let i = this.next.isString(), a = this.expectIdentifierOrKeywordOrString(), p = this.span(r), h = this.sourceSpan(r), d = {
3288
+ let r = this.next.isString(), a = this.expectIdentifierOrKeywordOrString(), u = this.span(i), h = this.sourceSpan(i), d = {
2991
3289
  kind: "property",
2992
3290
  key: a,
2993
- quoted: i,
2994
- span: p,
3291
+ quoted: r,
3292
+ span: u,
2995
3293
  sourceSpan: h
2996
3294
  };
2997
- e.push(d), i ? (this.expectCharacter(J), n.push(this.parsePipe())) : this.consumeOptionalCharacter(J) ? n.push(this.parsePipe()) : (d.isShorthandInitialized = !0, n.push(new ye(p, h, h, new ce(p, h), a)));
2998
- } while (this.consumeOptionalCharacter(F) && !this.next.isCharacter(ne));
2999
- this.rbracesExpected--, this.expectCharacter(ne);
3295
+ e.push(d), r ? (this.expectCharacter(J), n.push(this.parsePipe())) : this.consumeOptionalCharacter(J) ? n.push(this.parsePipe()) : (d.isShorthandInitialized = !0, n.push(new ke(u, h, h, new fe(u, h), a)));
3296
+ } while (this.consumeOptionalCharacter(V) && !this.next.isCharacter(oe));
3297
+ this.rbracesExpected--, this.expectCharacter(oe);
3000
3298
  }
3001
- return new Ot(this.span(s), this.sourceSpan(s), e, n);
3299
+ return new zt(this.span(s), this.sourceSpan(s), e, n);
3002
3300
  }
3003
3301
  parseAccessMember(e, n, s) {
3004
- let r = this.inputIndex, i = this.withContext(se.Writable, () => {
3005
- let p = this.expectIdentifierOrKeyword() ?? "";
3006
- return p.length === 0 && this.error("Expected identifier for property access", e.span.end), p;
3007
- }), a = this.sourceSpan(r);
3008
- if (s) return this.isAssignmentOperator(this.next) ? (this.advance(), this.error("The '?.' operator cannot be used in the assignment"), new A(this.span(n), this.sourceSpan(n))) : new Pt(this.span(n), this.sourceSpan(n), a, e, i);
3302
+ let i = this.inputIndex, r = this.withContext(ae.Writable, () => {
3303
+ let u = this.expectIdentifierOrKeyword() ?? "";
3304
+ return u.length === 0 && this.error("Expected identifier for property access", e.span.end), u;
3305
+ }), a = this.sourceSpan(i);
3306
+ if (s) return this.isAssignmentOperator(this.next) ? (this.advance(), this.error("The '?.' operator cannot be used in the assignment"), new N(this.span(n), this.sourceSpan(n))) : new Ht(this.span(n), this.sourceSpan(n), a, e, r);
3009
3307
  if (this.isAssignmentOperator(this.next)) {
3010
- let p = this.next.strValue;
3011
- if (!(this.parseFlags & 1)) return this.advance(), this.error("Bindings cannot contain assignments"), new A(this.span(n), this.sourceSpan(n));
3012
- let h = new ye(this.span(n), this.sourceSpan(n), a, e, i);
3308
+ let u = this.next.strValue;
3309
+ if (!(this.parseFlags & 1)) return this.advance(), this.error("Bindings cannot contain assignments"), new N(this.span(n), this.sourceSpan(n));
3310
+ let h = new ke(this.span(n), this.sourceSpan(n), a, e, r);
3013
3311
  this.advance();
3014
3312
  let d = this.parseConditional();
3015
- return new E(this.span(n), this.sourceSpan(n), p, h, d);
3016
- } else return new ye(this.span(n), this.sourceSpan(n), a, e, i);
3313
+ return new E(this.span(n), this.sourceSpan(n), u, h, d);
3314
+ } else return new ke(this.span(n), this.sourceSpan(n), a, e, r);
3017
3315
  }
3018
3316
  parseCall(e, n, s) {
3019
- let r = this.inputIndex;
3317
+ let i = this.inputIndex;
3020
3318
  this.rparensExpected++;
3021
- let i = this.parseCallArguments(), a = this.span(r, this.inputIndex).toAbsolute(this.absoluteOffset);
3022
- this.expectCharacter(N), this.rparensExpected--;
3023
- let p = this.span(n), h = this.sourceSpan(n);
3024
- return s ? new Ft(p, h, e, i, a) : new Bt(p, h, e, i, a);
3319
+ let r = this.parseCallArguments(), a = this.span(i, this.inputIndex).toAbsolute(this.absoluteOffset);
3320
+ this.expectCharacter(L), this.rparensExpected--;
3321
+ let u = this.span(n), h = this.sourceSpan(n);
3322
+ return s ? new Xt(u, h, e, r, a) : new Xe(u, h, e, r, a);
3025
3323
  }
3026
3324
  parseCallArguments() {
3027
- if (this.next.isCharacter(N)) return [];
3325
+ if (this.next.isCharacter(L)) return [];
3028
3326
  let e = [];
3029
3327
  do
3030
3328
  e.push(this.next.isOperator("...") ? this.parseSpreadElement() : this.parsePipe());
3031
- while (this.consumeOptionalCharacter(F));
3329
+ while (this.consumeOptionalCharacter(V));
3032
3330
  return e;
3033
3331
  }
3034
3332
  parseSpreadElement() {
@@ -3036,7 +3334,7 @@ var init_angular = __esmMin((() => {
3036
3334
  let e = this.inputIndex;
3037
3335
  this.advance();
3038
3336
  let n = this.parsePipe();
3039
- return new $t(this.span(e), this.sourceSpan(e), n);
3337
+ return new jt(this.span(e), this.sourceSpan(e), n);
3040
3338
  }
3041
3339
  expectTemplateBindingKey() {
3042
3340
  let e = "", n = !1, s = this.currentAbsoluteOffset;
@@ -3045,7 +3343,7 @@ var init_angular = __esmMin((() => {
3045
3343
  while (n);
3046
3344
  return {
3047
3345
  source: e,
3048
- span: new O(s, s + e.length)
3346
+ span: new D(s, s + e.length)
3049
3347
  };
3050
3348
  }
3051
3349
  parseTemplateBindings(e) {
@@ -3054,49 +3352,49 @@ var init_angular = __esmMin((() => {
3054
3352
  let s = this.parseLetBinding();
3055
3353
  if (s) n.push(s);
3056
3354
  else {
3057
- let r = this.expectTemplateBindingKey(), i = this.parseAsBinding(r);
3058
- i ? n.push(i) : (r.source = e.source + r.source.charAt(0).toUpperCase() + r.source.substring(1), n.push(...this.parseDirectiveKeywordBindings(r)));
3355
+ let i = this.expectTemplateBindingKey(), r = this.parseAsBinding(i);
3356
+ r ? n.push(r) : (i.source = e.source + i.source.charAt(0).toUpperCase() + i.source.substring(1), n.push(...this.parseDirectiveKeywordBindings(i)));
3059
3357
  }
3060
3358
  this.consumeStatementTerminator();
3061
3359
  }
3062
- return new Qt(n, [], this.errors);
3360
+ return new an(n, [], this.errors);
3063
3361
  }
3064
3362
  parseKeyedReadOrWrite(e, n, s) {
3065
- return this.withContext(se.Writable, () => {
3363
+ return this.withContext(ae.Writable, () => {
3066
3364
  this.rbracketsExpected++;
3067
- let r = this.parsePipe();
3068
- if (r instanceof A && this.error("Key access cannot be empty"), this.rbracketsExpected--, this.expectCharacter(Q), this.isAssignmentOperator(this.next)) {
3069
- let i = this.next.strValue;
3365
+ let i = this.parsePipe();
3366
+ if (i instanceof N && this.error("Key access cannot be empty"), this.rbracketsExpected--, this.expectCharacter(Z), this.isAssignmentOperator(this.next)) {
3367
+ let r = this.next.strValue;
3070
3368
  if (s) this.advance(), this.error("The '?.' operator cannot be used in the assignment");
3071
3369
  else {
3072
- let a = new Fe(this.span(n), this.sourceSpan(n), e, r);
3370
+ let a = new qe(this.span(n), this.sourceSpan(n), e, i);
3073
3371
  this.advance();
3074
- let p = this.parseConditional();
3075
- return new E(this.span(n), this.sourceSpan(n), i, a, p);
3372
+ let u = this.parseConditional();
3373
+ return new E(this.span(n), this.sourceSpan(n), r, a, u);
3076
3374
  }
3077
- } else return s ? new Lt(this.span(n), this.sourceSpan(n), e, r) : new Fe(this.span(n), this.sourceSpan(n), e, r);
3078
- return new A(this.span(n), this.sourceSpan(n));
3375
+ } else return s ? new Ut(this.span(n), this.sourceSpan(n), e, i) : new qe(this.span(n), this.sourceSpan(n), e, i);
3376
+ return new N(this.span(n), this.sourceSpan(n));
3079
3377
  });
3080
3378
  }
3081
3379
  parseDirectiveKeywordBindings(e) {
3082
3380
  let n = [];
3083
3381
  this.consumeOptionalCharacter(J);
3084
- let s = this.getDirectiveBoundTarget(), r = this.currentAbsoluteOffset, i = this.parseAsBinding(e);
3085
- i || (this.consumeStatementTerminator(), r = this.currentAbsoluteOffset);
3086
- let a = new O(e.span.start, r);
3087
- return n.push(new Ne(a, e, s)), i && n.push(i), n;
3382
+ let s = this.getDirectiveBoundTarget(), i = this.currentAbsoluteOffset, r = this.parseAsBinding(e);
3383
+ r || (this.consumeStatementTerminator(), i = this.currentAbsoluteOffset);
3384
+ let a = new D(e.span.start, i);
3385
+ return n.push(new Me(a, e, s)), r && n.push(r), n;
3088
3386
  }
3089
3387
  getDirectiveBoundTarget() {
3090
- if (this.next === Se || this.peekKeywordAs() || this.peekKeywordLet()) return null;
3388
+ if (this.next === be || this.peekKeywordAs() || this.peekKeywordLet()) return null;
3091
3389
  let e = this.parsePipe(), { start: n, end: s } = e.span;
3092
- return new U(e, this.input.substring(n, s), V(this.parseSourceSpan), this.absoluteOffset + n, this.errors);
3390
+ return new U(e, this.input.substring(n, s), H(this.parseSourceSpan), this.absoluteOffset + n, this.errors);
3093
3391
  }
3094
3392
  parseAsBinding(e) {
3095
3393
  if (!this.peekKeywordAs()) return null;
3096
3394
  this.advance();
3097
3395
  let n = this.expectTemplateBindingKey();
3098
3396
  this.consumeStatementTerminator();
3099
- return new ue(new O(e.span.start, this.currentAbsoluteOffset), n, e);
3397
+ return new de(new D(e.span.start, this.currentAbsoluteOffset), n, e);
3100
3398
  }
3101
3399
  parseLetBinding() {
3102
3400
  if (!this.peekKeywordLet()) return null;
@@ -3104,73 +3402,73 @@ var init_angular = __esmMin((() => {
3104
3402
  this.advance();
3105
3403
  let n = this.expectTemplateBindingKey(), s = null;
3106
3404
  this.consumeOptionalOperator("=") && (s = this.expectTemplateBindingKey()), this.consumeStatementTerminator();
3107
- return new ue(new O(e, this.currentAbsoluteOffset), n, s);
3405
+ return new de(new D(e, this.currentAbsoluteOffset), n, s);
3108
3406
  }
3109
3407
  parseNoInterpolationTaggedTemplateLiteral(e, n) {
3110
3408
  let s = this.parseNoInterpolationTemplateLiteral();
3111
- return new We(this.span(n), this.sourceSpan(n), e, s);
3409
+ return new Qe(this.span(n), this.sourceSpan(n), e, s);
3112
3410
  }
3113
3411
  parseNoInterpolationTemplateLiteral() {
3114
3412
  let e = this.next.strValue, n = this.inputIndex;
3115
3413
  this.advance();
3116
- let s = this.span(n), r = this.sourceSpan(n);
3117
- return new qe(s, r, [new je(s, r, e)], []);
3414
+ let s = this.span(n), i = this.sourceSpan(n);
3415
+ return new Je(s, i, [new Ye(s, i, e)], []);
3118
3416
  }
3119
3417
  parseTaggedTemplateLiteral(e, n) {
3120
3418
  let s = this.parseTemplateLiteral();
3121
- return new We(this.span(n), this.sourceSpan(n), e, s);
3419
+ return new Qe(this.span(n), this.sourceSpan(n), e, s);
3122
3420
  }
3123
3421
  parseTemplateLiteral() {
3124
3422
  let e = [], n = [], s = this.inputIndex;
3125
- for (; this.next !== Se;) {
3126
- let r = this.next;
3127
- if (r.isTemplateLiteralPart() || r.isTemplateLiteralEnd()) {
3128
- let i = this.inputIndex;
3129
- if (this.advance(), e.push(new je(this.span(i), this.sourceSpan(i), r.strValue)), r.isTemplateLiteralEnd()) break;
3130
- } else if (r.isTemplateLiteralInterpolationStart()) {
3423
+ for (; this.next !== be;) {
3424
+ let i = this.next;
3425
+ if (i.isTemplateLiteralPart() || i.isTemplateLiteralEnd()) {
3426
+ let r = this.inputIndex;
3427
+ if (this.advance(), e.push(new Ye(this.span(r), this.sourceSpan(r), i.strValue)), i.isTemplateLiteralEnd()) break;
3428
+ } else if (i.isTemplateLiteralInterpolationStart()) {
3131
3429
  this.advance(), this.rbracesExpected++;
3132
- let i = this.parsePipe();
3133
- i instanceof A ? this.error("Template literal interpolation cannot be empty") : n.push(i), this.rbracesExpected--;
3430
+ let r = this.parsePipe();
3431
+ r instanceof N ? this.error("Template literal interpolation cannot be empty") : n.push(r), this.rbracesExpected--;
3134
3432
  } else this.advance();
3135
3433
  }
3136
- return new qe(this.span(s), this.sourceSpan(s), e, n);
3434
+ return new Je(this.span(s), this.sourceSpan(s), e, n);
3137
3435
  }
3138
3436
  parseRegularExpressionLiteral() {
3139
3437
  let e = this.next;
3140
- if (this.advance(), !e.isRegExpBody()) return new A(this.span(this.inputIndex), this.sourceSpan(this.inputIndex));
3438
+ if (this.advance(), !e.isRegExpBody()) return new N(this.span(this.inputIndex), this.sourceSpan(this.inputIndex));
3141
3439
  let n = null;
3142
3440
  if (this.next.isRegExpFlags()) {
3143
3441
  n = this.next, this.advance();
3144
- let i = /* @__PURE__ */ new Set();
3442
+ let r = /* @__PURE__ */ new Set();
3145
3443
  for (let a = 0; a < n.strValue.length; a++) {
3146
- let p = n.strValue[a];
3147
- ps.has(p) ? i.has(p) ? this.error(`Duplicate regular expression flag "${p}"`, n.index + a) : i.add(p) : this.error(`Unsupported regular expression flag "${p}". The supported flags are: ` + Array.from(ps, (h) => `"${h}"`).join(", "), n.index + a);
3444
+ let u = n.strValue[a];
3445
+ _s.has(u) ? r.has(u) ? this.error(`Duplicate regular expression flag "${u}"`, n.index + a) : r.add(u) : this.error(`Unsupported regular expression flag "${u}". The supported flags are: ` + Array.from(_s, (h) => `"${h}"`).join(", "), n.index + a);
3148
3446
  }
3149
3447
  }
3150
- let s = e.index, r = n ? n.end : e.end;
3151
- return new Ht(this.span(s, r), this.sourceSpan(s, r), e.strValue, n ? n.strValue : null);
3448
+ let s = e.index, i = n ? n.end : e.end;
3449
+ return new Yt(this.span(s, i), this.sourceSpan(s, i), e.strValue, n ? n.strValue : null);
3152
3450
  }
3153
3451
  parseArrowFunction(e) {
3154
3452
  let n;
3155
3453
  if (this.next.isIdentifier()) {
3156
- let r = this.next;
3157
- this.advance(), n = [this.getArrowFunctionIdentifierArg(r)];
3158
- } else this.next.isCharacter(X) ? (this.rparensExpected++, this.advance(), n = this.parseArrowFunctionParameters(), this.rparensExpected--) : (n = [], this.error(`Unexpected token ${this.next}`));
3454
+ let i = this.next;
3455
+ this.advance(), n = [this.getArrowFunctionIdentifierArg(i)];
3456
+ } else this.next.isCharacter(Q) ? (this.rparensExpected++, this.advance(), n = this.parseArrowFunctionParameters(), this.rparensExpected--) : (n = [], this.error(`Unexpected token ${this.next}`));
3159
3457
  this.expectOperator("=>");
3160
3458
  let s;
3161
- if (this.next.isCharacter(ke)) this.error("Multi-line arrow functions are not supported. If you meant to return an object literal, wrap it with parentheses."), s = new A(this.span(e), this.sourceSpan(e));
3459
+ if (this.next.isCharacter(Ne)) this.error("Multi-line arrow functions are not supported. If you meant to return an object literal, wrap it with parentheses."), s = new N(this.span(e), this.sourceSpan(e));
3162
3460
  else {
3163
- let r = this.parseFlags;
3164
- this.parseFlags = 1, s = this.parseExpression(), this.parseFlags = r;
3461
+ let i = this.parseFlags;
3462
+ this.parseFlags = 1, s = this.parseExpression(), this.parseFlags = i;
3165
3463
  }
3166
- return new Ut(this.span(e), this.sourceSpan(e), n, s);
3464
+ return new Jt(this.span(e), this.sourceSpan(e), n, s);
3167
3465
  }
3168
3466
  parseArrowFunctionParameters() {
3169
3467
  let e = [];
3170
- if (!this.consumeOptionalCharacter(N)) for (; this.next !== Se;) if (this.next.isIdentifier()) {
3468
+ if (!this.consumeOptionalCharacter(L)) for (; this.next !== be;) if (this.next.isIdentifier()) {
3171
3469
  let n = this.next;
3172
- if (this.advance(), e.push(this.getArrowFunctionIdentifierArg(n)), this.consumeOptionalCharacter(N)) break;
3173
- this.expectCharacter(F);
3470
+ if (this.advance(), e.push(this.getArrowFunctionIdentifierArg(n)), this.consumeOptionalCharacter(L)) break;
3471
+ this.expectCharacter(V);
3174
3472
  } else {
3175
3473
  this.error(`Unexpected token ${this.next}`);
3176
3474
  break;
@@ -3178,24 +3476,24 @@ var init_angular = __esmMin((() => {
3178
3476
  return e;
3179
3477
  }
3180
3478
  getArrowFunctionIdentifierArg(e) {
3181
- return new Vt(e.strValue, this.span(e.index), this.sourceSpan(e.index));
3479
+ return new Qt(e.strValue, this.span(e.index), this.sourceSpan(e.index));
3182
3480
  }
3183
3481
  isArrowFunction() {
3184
3482
  let e = this.index, n = this.tokens;
3185
3483
  if (e > n.length - 2) return !1;
3186
3484
  if (n[e].isIdentifier() && n[e + 1].isOperator("=>")) return !0;
3187
- if (n[e].isCharacter(X)) {
3485
+ if (n[e].isCharacter(Q)) {
3188
3486
  let s = e + 1;
3189
- for (; s < n.length && !(!n[s].isIdentifier() && !n[s].isCharacter(F)); s++);
3190
- return s < n.length - 1 && n[s].isCharacter(N) && n[s + 1].isOperator("=>");
3487
+ for (; s < n.length && !(!n[s].isIdentifier() && !n[s].isCharacter(V)); s++);
3488
+ return s < n.length - 1 && n[s].isCharacter(L) && n[s + 1].isOperator("=>");
3191
3489
  }
3192
3490
  return !1;
3193
3491
  }
3194
3492
  consumeStatementTerminator() {
3195
- this.consumeOptionalCharacter(Ee) || this.consumeOptionalCharacter(F);
3493
+ this.consumeOptionalCharacter(Te) || this.consumeOptionalCharacter(V);
3196
3494
  }
3197
3495
  error(e, n = this.index) {
3198
- this.errors.push(re(e, this.input, this.getErrorLocationText(n), this.parseSourceSpan)), this.skip();
3496
+ this.errors.push(le(e, this.input, this.getErrorLocationText(n), this.parseSourceSpan)), this.skip();
3199
3497
  }
3200
3498
  getErrorLocationText(e) {
3201
3499
  return e < this.tokens.length ? `at column ${this.tokens[e].index + 1} in` : "at the end of the expression";
@@ -3206,16 +3504,210 @@ var init_angular = __esmMin((() => {
3206
3504
  }
3207
3505
  skip() {
3208
3506
  let e = this.next;
3209
- for (; this.index < this.tokens.length && !e.isCharacter(Ee) && !e.isOperator("|") && (this.rparensExpected <= 0 || !e.isCharacter(N)) && (this.rbracesExpected <= 0 || !e.isCharacter(ne)) && (this.rbracketsExpected <= 0 || !e.isCharacter(Q)) && (!(this.context & se.Writable) || !this.isAssignmentOperator(e));) this.next.isError() && this.errors.push(re(this.next.toString(), this.input, this.getErrorLocationText(this.next.index), this.parseSourceSpan)), this.advance(), e = this.next;
3507
+ for (; this.index < this.tokens.length && !e.isCharacter(Te) && !e.isOperator("|") && (this.rparensExpected <= 0 || !e.isCharacter(L)) && (this.rbracesExpected <= 0 || !e.isCharacter(oe)) && (this.rbracketsExpected <= 0 || !e.isCharacter(Z)) && (!(this.context & ae.Writable) || !this.isAssignmentOperator(e));) this.next.isError() && this.errors.push(le(this.next.toString(), this.input, this.getErrorLocationText(this.next.index), this.parseSourceSpan)), this.advance(), e = this.next;
3210
3508
  }
3211
3509
  };
3212
- Kt = class extends Wt {
3510
+ ln = class extends Kt {
3213
3511
  errors = [];
3214
3512
  visitPipe() {
3215
3513
  this.errors.push("pipes");
3216
3514
  }
3217
3515
  };
3218
- Di = new Map(Object.entries({
3516
+ mo = "svg";
3517
+ go = "math";
3518
+ cn = class {};
3519
+ vo = "boolean";
3520
+ wo = "number";
3521
+ So = "string";
3522
+ xo = "object";
3523
+ yo = [
3524
+ "[Element]|textContent,%ariaActiveDescendantElement,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColIndexText,%ariaColSpan,%ariaControlsElements,%ariaCurrent,%ariaDescribedByElements,%ariaDescription,%ariaDetailsElements,%ariaDisabled,%ariaErrorMessageElements,%ariaExpanded,%ariaFlowToElements,%ariaHasPopup,%ariaHidden,%ariaInvalid,%ariaKeyShortcuts,%ariaLabel,%ariaLabelledByElements,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaOwnsElements,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowIndexText,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored",
3525
+ "[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,!inert,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy",
3526
+ "abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,search,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy",
3527
+ "media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume",
3528
+ ":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",
3529
+ ":svg:graphics^:svg:|",
3530
+ ":svg:animation^:svg:|*begin,*end,*repeat",
3531
+ ":svg:geometry^:svg:|",
3532
+ ":svg:componentTransferFunction^:svg:|",
3533
+ ":svg:gradient^:svg:|",
3534
+ ":svg:textContent^:svg:graphics|",
3535
+ ":svg:textPositioning^:svg:textContent|",
3536
+ "a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username",
3537
+ "area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username",
3538
+ "audio^media|",
3539
+ "br^[HTMLElement]|clear",
3540
+ "base^[HTMLElement]|href,target",
3541
+ "body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink",
3542
+ "button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value",
3543
+ "canvas^[HTMLElement]|#height,#width",
3544
+ "content^[HTMLElement]|select",
3545
+ "dl^[HTMLElement]|!compact",
3546
+ "data^[HTMLElement]|value",
3547
+ "datalist^[HTMLElement]|",
3548
+ "details^[HTMLElement]|!open",
3549
+ "dialog^[HTMLElement]|!open,returnValue",
3550
+ "dir^[HTMLElement]|!compact",
3551
+ "div^[HTMLElement]|align",
3552
+ "embed^[HTMLElement]|align,height,name,src,type,width",
3553
+ "fieldset^[HTMLElement]|!disabled,name",
3554
+ "font^[HTMLElement]|color,face,size",
3555
+ "form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target",
3556
+ "frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src",
3557
+ "frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows",
3558
+ "geolocation^[HTMLElement]|accuracymode,!autolocate,*location,*promptaction,*promptdismiss,*validationstatuschange,!watch",
3559
+ "hr^[HTMLElement]|align,color,!noShade,size,width",
3560
+ "head^[HTMLElement]|",
3561
+ "h1,h2,h3,h4,h5,h6^[HTMLElement]|align",
3562
+ "html^[HTMLElement]|version",
3563
+ "iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentRequest,csp,!credentialless,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width",
3564
+ "img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width",
3565
+ "input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width",
3566
+ "li^[HTMLElement]|type,#value",
3567
+ "label^[HTMLElement]|htmlFor",
3568
+ "legend^[HTMLElement]|align",
3569
+ "link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type",
3570
+ "map^[HTMLElement]|name",
3571
+ "marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width",
3572
+ "menu^[HTMLElement]|!compact",
3573
+ "meta^[HTMLElement]|content,httpEquiv,media,name,scheme",
3574
+ "meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value",
3575
+ "ins,del^[HTMLElement]|cite,dateTime",
3576
+ "ol^[HTMLElement]|!compact,!reversed,#start,type",
3577
+ "object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width",
3578
+ "optgroup^[HTMLElement]|!disabled,label",
3579
+ "option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value",
3580
+ "output^[HTMLElement]|defaultValue,%htmlFor,name,value",
3581
+ "p^[HTMLElement]|align",
3582
+ "param^[HTMLElement]|name,type,value,valueType",
3583
+ "picture^[HTMLElement]|",
3584
+ "pre^[HTMLElement]|#width",
3585
+ "progress^[HTMLElement]|#max,#value",
3586
+ "q,blockquote,cite^[HTMLElement]|",
3587
+ "script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%referrerPolicy,src,text,type",
3588
+ "select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value",
3589
+ "selectedcontent^[HTMLElement]|",
3590
+ "slot^[HTMLElement]|name",
3591
+ "source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width",
3592
+ "span^[HTMLElement]|",
3593
+ "style^[HTMLElement]|!disabled,media,type",
3594
+ "search^[HTMLELement]|",
3595
+ "caption^[HTMLElement]|align",
3596
+ "th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width",
3597
+ "col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width",
3598
+ "table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width",
3599
+ "tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign",
3600
+ "tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign",
3601
+ "template^[HTMLElement]|",
3602
+ "textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap",
3603
+ "time^[HTMLElement]|dateTime",
3604
+ "title^[HTMLElement]|text",
3605
+ "track^[HTMLElement]|!default,kind,label,src,srclang",
3606
+ "ul^[HTMLElement]|!compact,type",
3607
+ "unknown^[HTMLElement]|",
3608
+ "video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width",
3609
+ ":svg:a^:svg:graphics|",
3610
+ ":svg:animate^:svg:animation|",
3611
+ ":svg:animateMotion^:svg:animation|",
3612
+ ":svg:animateTransform^:svg:animation|",
3613
+ ":svg:circle^:svg:geometry|",
3614
+ ":svg:clipPath^:svg:graphics|",
3615
+ ":svg:defs^:svg:graphics|",
3616
+ ":svg:desc^:svg:|",
3617
+ ":svg:discard^:svg:|",
3618
+ ":svg:ellipse^:svg:geometry|",
3619
+ ":svg:feBlend^:svg:|",
3620
+ ":svg:feColorMatrix^:svg:|",
3621
+ ":svg:feComponentTransfer^:svg:|",
3622
+ ":svg:feComposite^:svg:|",
3623
+ ":svg:feConvolveMatrix^:svg:|",
3624
+ ":svg:feDiffuseLighting^:svg:|",
3625
+ ":svg:feDisplacementMap^:svg:|",
3626
+ ":svg:feDistantLight^:svg:|",
3627
+ ":svg:feDropShadow^:svg:|",
3628
+ ":svg:feFlood^:svg:|",
3629
+ ":svg:feFuncA^:svg:componentTransferFunction|",
3630
+ ":svg:feFuncB^:svg:componentTransferFunction|",
3631
+ ":svg:feFuncG^:svg:componentTransferFunction|",
3632
+ ":svg:feFuncR^:svg:componentTransferFunction|",
3633
+ ":svg:feGaussianBlur^:svg:|",
3634
+ ":svg:feImage^:svg:|",
3635
+ ":svg:feMerge^:svg:|",
3636
+ ":svg:feMergeNode^:svg:|",
3637
+ ":svg:feMorphology^:svg:|",
3638
+ ":svg:feOffset^:svg:|",
3639
+ ":svg:fePointLight^:svg:|",
3640
+ ":svg:feSpecularLighting^:svg:|",
3641
+ ":svg:feSpotLight^:svg:|",
3642
+ ":svg:feTile^:svg:|",
3643
+ ":svg:feTurbulence^:svg:|",
3644
+ ":svg:filter^:svg:|",
3645
+ ":svg:foreignObject^:svg:graphics|",
3646
+ ":svg:g^:svg:graphics|",
3647
+ ":svg:image^:svg:graphics|decoding",
3648
+ ":svg:line^:svg:geometry|",
3649
+ ":svg:linearGradient^:svg:gradient|",
3650
+ ":svg:mpath^:svg:|",
3651
+ ":svg:marker^:svg:|",
3652
+ ":svg:mask^:svg:|",
3653
+ ":svg:metadata^:svg:|",
3654
+ ":svg:path^:svg:geometry|",
3655
+ ":svg:pattern^:svg:|",
3656
+ ":svg:polygon^:svg:geometry|",
3657
+ ":svg:polyline^:svg:geometry|",
3658
+ ":svg:radialGradient^:svg:gradient|",
3659
+ ":svg:rect^:svg:geometry|",
3660
+ ":svg:svg^:svg:graphics|#currentScale,#zoomAndPan",
3661
+ ":svg:script^:svg:|type",
3662
+ ":svg:set^:svg:animation|",
3663
+ ":svg:stop^:svg:|",
3664
+ ":svg:style^:svg:|!disabled,media,title,type",
3665
+ ":svg:switch^:svg:graphics|",
3666
+ ":svg:symbol^:svg:|",
3667
+ ":svg:tspan^:svg:textPositioning|",
3668
+ ":svg:text^:svg:textPositioning|",
3669
+ ":svg:textPath^:svg:textContent|",
3670
+ ":svg:title^:svg:|",
3671
+ ":svg:use^:svg:graphics|",
3672
+ ":svg:view^:svg:|#zoomAndPan",
3673
+ "data^[HTMLElement]|value",
3674
+ "keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name",
3675
+ "menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default",
3676
+ "summary^[HTMLElement]|",
3677
+ "time^[HTMLElement]|dateTime",
3678
+ ":svg:cursor^:svg:|",
3679
+ ":math:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*scrollend,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",
3680
+ ":math:math^:math:|",
3681
+ ":math:maction^:math:|",
3682
+ ":math:menclose^:math:|",
3683
+ ":math:merror^:math:|",
3684
+ ":math:mfenced^:math:|",
3685
+ ":math:mfrac^:math:|",
3686
+ ":math:mi^:math:|",
3687
+ ":math:mmultiscripts^:math:|",
3688
+ ":math:mn^:math:|",
3689
+ ":math:mo^:math:|",
3690
+ ":math:mover^:math:|",
3691
+ ":math:mpadded^:math:|",
3692
+ ":math:mphantom^:math:|",
3693
+ ":math:mroot^:math:|",
3694
+ ":math:mrow^:math:|",
3695
+ ":math:ms^:math:|",
3696
+ ":math:mspace^:math:|",
3697
+ ":math:msqrt^:math:|",
3698
+ ":math:mstyle^:math:|",
3699
+ ":math:msub^:math:|",
3700
+ ":math:msubsup^:math:|",
3701
+ ":math:msup^:math:|",
3702
+ ":math:mtable^:math:|",
3703
+ ":math:mtd^:math:|",
3704
+ ":math:mtext^:math:|",
3705
+ ":math:mtr^:math:|",
3706
+ ":math:munder^:math:|",
3707
+ ":math:munderover^:math:|",
3708
+ ":math:semantics^:math:|"
3709
+ ];
3710
+ Ks = new Map(Object.entries({
3219
3711
  class: "className",
3220
3712
  for: "htmlFor",
3221
3713
  formaction: "formAction",
@@ -3271,158 +3763,371 @@ var init_angular = __esmMin((() => {
3271
3763
  "aria-valuenow": "ariaValueNow",
3272
3764
  "aria-valuetext": "ariaValueText"
3273
3765
  }));
3274
- Array.from(Di).reduce((t, [e, n]) => (t.set(e, n), t), /* @__PURE__ */ new Map());
3275
- new he(new Le());
3766
+ Eo = Array.from(Ks).reduce((t, [e, n]) => (t.set(e, n), t), /* @__PURE__ */ new Map());
3767
+ it = class extends cn {
3768
+ _schema = /* @__PURE__ */ new Map();
3769
+ _eventSchema = /* @__PURE__ */ new Map();
3770
+ constructor() {
3771
+ super(), yo.forEach((e) => {
3772
+ let n = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Set(), [i, r] = e.split("|"), a = r.split(","), [u, h] = i.split("^");
3773
+ u.split(",").forEach((g) => {
3774
+ this._schema.set(g.toLowerCase(), n), this._eventSchema.set(g.toLowerCase(), s);
3775
+ });
3776
+ let d = h && this._schema.get(h.toLowerCase());
3777
+ if (d) {
3778
+ for (let [g, P] of d) n.set(g, P);
3779
+ for (let g of this._eventSchema.get(h.toLowerCase())) s.add(g);
3780
+ }
3781
+ a.forEach((g) => {
3782
+ if (g.length > 0) switch (g[0]) {
3783
+ case "*":
3784
+ s.add(g.substring(1));
3785
+ break;
3786
+ case "!":
3787
+ n.set(g.substring(1), vo);
3788
+ break;
3789
+ case "#":
3790
+ n.set(g.substring(1), wo);
3791
+ break;
3792
+ case "%":
3793
+ n.set(g.substring(1), xo);
3794
+ break;
3795
+ default: n.set(g, So);
3796
+ }
3797
+ });
3798
+ });
3799
+ }
3800
+ hasProperty(e, n, s) {
3801
+ if (s.some((a) => a.name === Bn.name)) return !0;
3802
+ let i = Fe(e);
3803
+ if (i.includes("-")) {
3804
+ if (Kn(i) || Zn(i)) return !1;
3805
+ if (s.some((a) => a.name === Dn.name)) return !0;
3806
+ }
3807
+ return (this._schema.get(i) || this._schema.get("unknown")).has(n);
3808
+ }
3809
+ hasElement(e, n) {
3810
+ if (n.some((i) => i.name === Bn.name)) return !0;
3811
+ let s = Fe(e);
3812
+ return s.includes("-") && (Kn(s) || Zn(s) || n.some((i) => i.name === Dn.name)) ? !0 : this._schema.has(s);
3813
+ }
3814
+ securityContext(e, n, s) {
3815
+ s && (n = this.getMappedPropName(n));
3816
+ let [i, r] = ot(e, !1);
3817
+ return dr(r, n, i);
3818
+ }
3819
+ getMappedPropName(e) {
3820
+ return Ks.get(e) ?? e;
3821
+ }
3822
+ getDefaultComponentElementName() {
3823
+ return "ng-component";
3824
+ }
3825
+ validateProperty(e) {
3826
+ return e.toLowerCase().startsWith("on") ? {
3827
+ error: !0,
3828
+ msg: `Binding to event property '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...
3829
+ If '${e}' is a directive input, make sure the directive is imported by the current module.`
3830
+ } : { error: !1 };
3831
+ }
3832
+ validateAttribute(e) {
3833
+ return e.toLowerCase().startsWith("on") ? {
3834
+ error: !0,
3835
+ msg: `Binding to event attribute '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...`
3836
+ } : { error: !1 };
3837
+ }
3838
+ allKnownElementNames() {
3839
+ return Array.from(this._schema.keys());
3840
+ }
3841
+ allKnownAttributesOfElement(e) {
3842
+ let n = Fe(e), s = this._schema.get(n) || this._schema.get("unknown");
3843
+ return Array.from(s.keys()).map((i) => Eo.get(i) ?? i);
3844
+ }
3845
+ allKnownEventsOfElement(e) {
3846
+ let n = Fe(e);
3847
+ return Array.from(this._eventSchema.get(n) ?? []);
3848
+ }
3849
+ normalizeAnimationStyleProperty(e) {
3850
+ return wr(e);
3851
+ }
3852
+ normalizeAnimationStyleValue(e, n, s) {
3853
+ let i = "", r = s.toString().trim(), a = null;
3854
+ if (Co(e) && s !== 0 && s !== "0") if (typeof s == "number") i = "px";
3855
+ else {
3856
+ let u = s.match(/^[+-]?[\d\.]+([a-z]*)$/);
3857
+ u && u[1].length == 0 && (a = `Please provide a CSS unit value for ${n}:${s}`);
3858
+ }
3859
+ return {
3860
+ error: a,
3861
+ value: r + i
3862
+ };
3863
+ }
3864
+ };
3865
+ new ge(new Oe());
3276
3866
  l.StyleMap, l.ClassMap, l.StyleProp, l.ClassProp, l.Attribute, l.Property, l.Attribute, l.Control;
3277
3867
  l.DomProperty, l.DomProperty, l.Attribute, l.StyleMap, l.ClassMap, l.StyleProp, l.ClassProp;
3278
3868
  l.Listener, l.TwoWayListener, l.AnimationListener, l.StyleMap, l.ClassMap, l.StyleProp, l.ClassProp, l.Property, l.TwoWayProperty, l.DomProperty, l.Attribute, l.Animation, l.Control;
3279
- $.Idle, c.deferOnIdle, c.deferPrefetchOnIdle, c.deferHydrateOnIdle, $.Immediate, c.deferOnImmediate, c.deferPrefetchOnImmediate, c.deferHydrateOnImmediate, $.Timer, c.deferOnTimer, c.deferPrefetchOnTimer, c.deferHydrateOnTimer, $.Hover, c.deferOnHover, c.deferPrefetchOnHover, c.deferHydrateOnHover, $.Interaction, c.deferOnInteraction, c.deferPrefetchOnInteraction, c.deferHydrateOnInteraction, $.Viewport, c.deferOnViewport, c.deferPrefetchOnViewport, c.deferHydrateOnViewport, $.Never, c.deferHydrateNever, c.deferHydrateNever, c.deferHydrateNever;
3869
+ O.Idle, c.deferOnIdle, c.deferPrefetchOnIdle, c.deferHydrateOnIdle, O.Immediate, c.deferOnImmediate, c.deferPrefetchOnImmediate, c.deferHydrateOnImmediate, O.Timer, c.deferOnTimer, c.deferPrefetchOnTimer, c.deferHydrateOnTimer, O.Hover, c.deferOnHover, c.deferPrefetchOnHover, c.deferHydrateOnHover, O.Interaction, c.deferOnInteraction, c.deferPrefetchOnInteraction, c.deferHydrateOnInteraction, O.Viewport, c.deferOnViewport, c.deferPrefetchOnViewport, c.deferHydrateOnViewport, O.Never, c.deferHydrateNever, c.deferHydrateNever, c.deferHydrateNever;
3280
3870
  c.pipeBind1, c.pipeBind2, c.pipeBind3, c.pipeBind4;
3281
3871
  c.interpolate, c.interpolate1, c.interpolate2, c.interpolate3, c.interpolate4, c.interpolate5, c.interpolate6, c.interpolate7, c.interpolate8, c.interpolateV;
3282
3872
  c.resolveWindow, c.resolveDocument, c.resolveBody;
3283
- P.HTML, c.sanitizeHtml, P.RESOURCE_URL, c.sanitizeResourceUrl, P.SCRIPT, c.sanitizeScript, P.STYLE, c.sanitizeStyle, P.URL, c.sanitizeUrl, P.ATTRIBUTE_NO_BINDING, c.validateAttribute;
3284
- P.HTML, c.trustConstantHtml, P.RESOURCE_URL, c.trustConstantResourceUrl;
3873
+ x.HTML, c.sanitizeHtml, x.RESOURCE_URL, c.sanitizeResourceUrl, x.SCRIPT, c.sanitizeScript, x.STYLE, c.sanitizeStyle, x.URL, c.sanitizeUrl, x.ATTRIBUTE_NO_BINDING, c.validateAttribute;
3874
+ x.HTML, c.trustConstantHtml, x.RESOURCE_URL, c.trustConstantResourceUrl;
3285
3875
  (function(t) {
3286
3876
  t[t.None = 0] = "None", t[t.ViewContextRead = 1] = "ViewContextRead", t[t.ViewContextWrite = 2] = "ViewContextWrite", t[t.SideEffectful = 4] = "SideEffectful";
3287
- })(hs || (hs = {}));
3288
- l.Container, l.ContainerStart, l.ContainerEnd, l.Element, l.ElementStart, l.ElementEnd, l.Template;
3877
+ })(Is || (Is = {}));
3289
3878
  M.Property, R.Property, M.TwoWay, R.TwoWayProperty, M.Attribute, R.Attribute, M.Class, R.ClassName, M.Style, R.StyleProperty, M.LegacyAnimation, R.LegacyAnimation, M.Animation, R.Animation;
3290
3879
  (function(t) {
3291
3880
  t[t.NG_CONTENT = 0] = "NG_CONTENT", t[t.STYLE = 1] = "STYLE", t[t.STYLESHEET = 2] = "STYLESHEET", t[t.SCRIPT = 3] = "SCRIPT", t[t.OTHER = 4] = "OTHER";
3292
- })(fs || (fs = {}));
3881
+ })(Ns || (Ns = {}));
3293
3882
  (function(t) {
3294
3883
  t.IDLE = "idle", t.TIMER = "timer", t.INTERACTION = "interaction", t.IMMEDIATE = "immediate", t.HOVER = "hover", t.VIEWPORT = "viewport", t.NEVER = "never";
3295
- })(ds || (ds = {}));
3296
- Ns = "%COMP%";
3297
- `${Ns}`;
3298
- `${Ns}`;
3884
+ })(As || (As = {}));
3885
+ Zs = "%COMP%";
3886
+ `${Zs}`;
3887
+ `${Zs}`;
3888
+ (function(t) {
3889
+ t[t.Selector = 0] = "Selector", t[t.HostDirective = 1] = "HostDirective";
3890
+ })(Ps || (Ps = {}));
3299
3891
  (function(t) {
3300
3892
  t[t.Extract = 0] = "Extract", t[t.Merge = 1] = "Merge";
3301
- })(ms || (ms = {}));
3893
+ })(Ls || (Ls = {}));
3894
+ new Dt("22.0.6");
3302
3895
  (function(t) {
3303
- t[t.Selector = 0] = "Selector", t[t.HostDirective = 1] = "HostDirective";
3304
- })(gs || (gs = {}));
3305
- new bt("21.2.8");
3306
- Fi = "test.html";
3307
- Ui = (t) => he.prototype._commentStart(t);
3308
- tt = (t) => (e) => {
3309
- let n = Ps(e);
3310
- return Ms({
3896
+ t.DIAGNOSTIC = "D", t.EXPRESSION_TYPE_IDENTIFIER = "T";
3897
+ })($s || ($s = {}));
3898
+ (function(t) {
3899
+ t.DIRECTIVE = "DIR", t.HOST_DIRECTIVE = "HOSTDIR", t.COMPONENT_COMPLETION = "COMPCOMP", t.EVENT_PARAMETER = "EP", t.VARIABLE_AS_EXPRESSION = "VAE";
3900
+ })(Ms || (Ms = {}));
3901
+ (function(t) {
3902
+ t[t.Error = 0] = "Error", t[t.Warning = 1] = "Warning";
3903
+ })(Rs || (Rs = {}));
3904
+ (function(t) {
3905
+ t[t.UseEmitter = 0] = "UseEmitter", t[t.CopyClassNodes = 1] = "CopyClassNodes", t[t.FallbackToAny = 2] = "FallbackToAny";
3906
+ })(Os || (Os = {}));
3907
+ (class t {
3908
+ static SINGLETON = new t();
3909
+ static veWillInferAnyFor(e) {
3910
+ let n = t.SINGLETON;
3911
+ return e instanceof Xe ? e.visit(n) : e.receiver.visit(n);
3912
+ }
3913
+ visitUnary(e) {
3914
+ return e.expr.visit(this);
3915
+ }
3916
+ visitBinary(e) {
3917
+ return e.left.visit(this) || e.right.visit(this);
3918
+ }
3919
+ visitChain() {
3920
+ return !1;
3921
+ }
3922
+ visitConditional(e) {
3923
+ return e.condition.visit(this) || e.trueExp.visit(this) || e.falseExp.visit(this);
3924
+ }
3925
+ visitCall() {
3926
+ return !0;
3927
+ }
3928
+ visitSafeCall() {
3929
+ return !1;
3930
+ }
3931
+ visitImplicitReceiver() {
3932
+ return !1;
3933
+ }
3934
+ visitThisReceiver() {
3935
+ return !1;
3936
+ }
3937
+ visitInterpolation(e) {
3938
+ return e.expressions.some((n) => n.visit(this));
3939
+ }
3940
+ visitKeyedRead() {
3941
+ return !1;
3942
+ }
3943
+ visitLiteralArray() {
3944
+ return !0;
3945
+ }
3946
+ visitLiteralMap() {
3947
+ return !0;
3948
+ }
3949
+ visitLiteralPrimitive() {
3950
+ return !1;
3951
+ }
3952
+ visitPipe() {
3953
+ return !0;
3954
+ }
3955
+ visitPrefixNot(e) {
3956
+ return e.expression.visit(this);
3957
+ }
3958
+ visitTypeofExpression(e) {
3959
+ return e.expression.visit(this);
3960
+ }
3961
+ visitVoidExpression(e) {
3962
+ return e.expression.visit(this);
3963
+ }
3964
+ visitNonNullAssert(e) {
3965
+ return e.expression.visit(this);
3966
+ }
3967
+ visitPropertyRead() {
3968
+ return !1;
3969
+ }
3970
+ visitSafePropertyRead() {
3971
+ return !1;
3972
+ }
3973
+ visitSafeKeyedRead() {
3974
+ return !1;
3975
+ }
3976
+ visitTemplateLiteral() {
3977
+ return !1;
3978
+ }
3979
+ visitTemplateLiteralElement() {
3980
+ return !1;
3981
+ }
3982
+ visitTaggedTemplateLiteral() {
3983
+ return !1;
3984
+ }
3985
+ visitParenthesizedExpression(e) {
3986
+ return e.expression.visit(this);
3987
+ }
3988
+ visitRegularExpressionLiteral() {
3989
+ return !1;
3990
+ }
3991
+ visitSpreadElement(e) {
3992
+ return e.expression.visit(this);
3993
+ }
3994
+ visitArrowFunction(e, n) {
3995
+ return !1;
3996
+ }
3997
+ });
3998
+ new it();
3999
+ new it();
4000
+ ko = "test.html";
4001
+ Io = (t) => ge.prototype._commentStart(t);
4002
+ ct = (t) => (e) => {
4003
+ let n = ei(e);
4004
+ return ni({
3311
4005
  ...n,
3312
- result: Ls()[t](e, n.sourceSpan, 0),
3313
- comments: Hi(e)
4006
+ result: ti()[t](e, n.sourceSpan, 0),
4007
+ comments: No(e)
3314
4008
  });
3315
- }, Rs = tt("parseAction"), $s = tt("parseBinding"), Ds = tt("parseInterpolationExpression"), Bs = (t) => {
3316
- let e = Ps(t);
3317
- return Ms({
4009
+ };
4010
+ si = ct("parseAction");
4011
+ ii = ct("parseBinding");
4012
+ oi = ct("parseInterpolationExpression");
4013
+ ai = (t) => {
4014
+ let e = ei(t);
4015
+ return ni({
3318
4016
  ...e,
3319
- result: Ls().parseTemplateBindings("", t, e.sourceSpan, 0, 0),
4017
+ result: ti().parseTemplateBindings("", t, e.sourceSpan, 0, 0),
3320
4018
  comments: []
3321
4019
  });
3322
4020
  };
3323
- nt = class {
4021
+ ut = class {
3324
4022
  text;
3325
4023
  constructor(t) {
3326
4024
  this.text = t;
3327
4025
  }
3328
4026
  getCharacterIndex(t, e) {
3329
- return Sn(this.text, t, e);
4027
+ return An(this.text, t, e);
3330
4028
  }
3331
4029
  transformSpan(t) {
3332
- return Re(t);
4030
+ return Be(t);
3333
4031
  }
3334
4032
  createNode(t, e) {
3335
- let n = t.start, s = t.end, r = t.range;
3336
- e && (Array.isArray(e) ? ([n, s] = e, r = e) : ({start: n, end: s} = e.sourceSpan ?? e, r = [n, s]));
3337
- r ? [n, s] = r : typeof n == "number" && typeof s == "number" && (r = [n, s]);
3338
- if (!(typeof n == "number" && typeof s == "number" && r)) throw new Error("Missing location information");
3339
- let i = {
4033
+ let n = t.start, s = t.end, i = t.range;
4034
+ e && (Array.isArray(e) ? ([n, s] = e, i = e) : ({start: n, end: s} = e.sourceSpan ?? e, i = [n, s]));
4035
+ i ? [n, s] = i : typeof n == "number" && typeof s == "number" && (i = [n, s]);
4036
+ if (!(typeof n == "number" && typeof s == "number" && i)) throw new Error("Missing location information");
4037
+ let r = {
3340
4038
  ...t,
3341
4039
  start: n,
3342
4040
  end: s,
3343
- range: r
4041
+ range: i
3344
4042
  };
3345
- switch (i.type) {
4043
+ switch (r.type) {
3346
4044
  case "NumericLiteral":
3347
4045
  case "StringLiteral":
3348
4046
  case "RegExpLiteral": {
3349
- let a = this.text.slice(n, s), { value: p } = i;
3350
- i.extra = {
3351
- ...i.extra,
4047
+ let a = this.text.slice(n, s), { value: u } = r;
4048
+ r.extra = {
4049
+ ...r.extra,
3352
4050
  raw: a,
3353
- rawValue: p
4051
+ rawValue: u
3354
4052
  };
3355
4053
  break;
3356
4054
  }
3357
4055
  }
3358
- return i;
4056
+ return r;
3359
4057
  }
3360
4058
  };
3361
- Fs = Object.defineProperty, Vs = (t, e) => {
4059
+ li = Object.defineProperty;
4060
+ ci = (t, e) => {
3362
4061
  let n = {};
3363
- for (var s in t) Fs(n, s, {
4062
+ for (var s in t) li(n, s, {
3364
4063
  get: t[s],
3365
4064
  enumerable: !0
3366
4065
  });
3367
- return e && Fs(n, Symbol.toStringTag, { value: "Module" }), n;
4066
+ return e || li(n, Symbol.toStringTag, { value: "Module" }), n;
3368
4067
  };
3369
- Us = (t, e) => ({
4068
+ ui = (t, e) => ({
3370
4069
  type: "ArrayExpression",
3371
4070
  elements: e.transformChildren(t.expressions)
3372
4071
  });
3373
- Wi = {
4072
+ Ao = {
3374
4073
  id: null,
3375
4074
  generator: !1,
3376
4075
  async: !1,
3377
4076
  expression: !0
3378
- }, Hs = (t, e) => ({
4077
+ };
4078
+ pi = (t, e) => ({
3379
4079
  type: "ArrowFunctionExpression",
3380
4080
  params: t.parameters.map((n) => e.createNode({
3381
4081
  type: "Identifier",
3382
4082
  name: n.name
3383
4083
  }, n.sourceSpan)),
3384
4084
  body: e.transformChild(t.body),
3385
- ...Wi
4085
+ ...Ao
3386
4086
  });
3387
- Ws = (t, e) => e.transformChild(t.ast);
3388
- qi = (t) => t === "&&" || t === "||" || t === "??", qs = (t, e) => {
3389
- let { operation: n } = t, [s, r] = e.transformChildren([t.left, t.right]);
3390
- return qi(n) ? {
4087
+ hi = (t, e) => e.transformChild(t.ast);
4088
+ Po = (t) => t === "&&" || t === "||" || t === "??";
4089
+ fi = (t, e) => {
4090
+ let { operation: n } = t, [s, i] = e.transformChildren([t.left, t.right]);
4091
+ return Po(n) ? {
3391
4092
  type: "LogicalExpression",
3392
4093
  operator: n,
3393
4094
  left: s,
3394
- right: r
4095
+ right: i
3395
4096
  } : E.isAssignmentOperation(n) ? {
3396
4097
  type: "AssignmentExpression",
3397
4098
  left: s,
3398
- right: r,
4099
+ right: i,
3399
4100
  operator: n
3400
4101
  } : {
3401
4102
  left: s,
3402
- right: r,
4103
+ right: i,
3403
4104
  type: "BinaryExpression",
3404
4105
  operator: n
3405
4106
  };
3406
4107
  };
3407
- ji = { optional: !1 }, zi = { optional: !0 }, js = ({ optional: t }) => (e, n) => {
3408
- let s = n.transformChildren(e.args), r = n.transformChild(e.receiver);
3409
- return t || ve(r) ? {
4108
+ Lo = { optional: !1 };
4109
+ $o = { optional: !0 };
4110
+ di = ({ optional: t }) => (e, n) => {
4111
+ let s = n.transformChildren(e.args), i = n.transformChild(e.receiver);
4112
+ return t || ye(i) ? {
3410
4113
  type: "OptionalCallExpression",
3411
- callee: r,
4114
+ callee: i,
3412
4115
  arguments: s,
3413
4116
  optional: t
3414
4117
  } : {
3415
4118
  type: "CallExpression",
3416
- callee: r,
4119
+ callee: i,
3417
4120
  arguments: s
3418
4121
  };
3419
- }, zs = js(ji), Gs = js(zi);
3420
- Xs = (t, e) => ({
4122
+ };
4123
+ mi = di(Lo);
4124
+ gi = di($o);
4125
+ vi = (t, e) => ({
3421
4126
  type: "NGChainedExpression",
3422
4127
  expressions: e.transformChildren(t.expressions)
3423
4128
  });
3424
- Js = (t, e) => {
3425
- let [n, s, r] = e.transformChildren([
4129
+ wi = (t, e) => {
4130
+ let [n, s, i] = e.transformChildren([
3426
4131
  t.condition,
3427
4132
  t.trueExp,
3428
4133
  t.falseExp
@@ -3431,16 +4136,16 @@ var init_angular = __esmMin((() => {
3431
4136
  type: "ConditionalExpression",
3432
4137
  test: n,
3433
4138
  consequent: s,
3434
- alternate: r
4139
+ alternate: i
3435
4140
  };
3436
4141
  };
3437
- Ys = () => ({ type: "NGEmptyExpression" });
3438
- Qs = (t, e) => {
4142
+ Si = () => ({ type: "NGEmptyExpression" });
4143
+ xi = (t, e) => {
3439
4144
  let { expressions: n } = t;
3440
4145
  if (n.length !== 1) throw new Error("Unexpected 'Interpolation'");
3441
4146
  return e.transformChild(n[0]);
3442
4147
  };
3443
- Ks = (t) => {
4148
+ yi = (t) => {
3444
4149
  let { value: e } = t;
3445
4150
  switch (typeof e) {
3446
4151
  case "boolean": return {
@@ -3462,74 +4167,83 @@ var init_angular = __esmMin((() => {
3462
4167
  };
3463
4168
  default: throw new Error(`Unexpected 'LiteralPrimitive' value type ${typeof e}`);
3464
4169
  }
3465
- }, Zs = (t) => ({
4170
+ };
4171
+ Ei = (t) => ({
3466
4172
  type: "RegExpLiteral",
3467
4173
  pattern: t.body,
3468
4174
  flags: t.flags ?? ""
3469
4175
  });
3470
- Gi = {
4176
+ Mo = {
3471
4177
  computed: !0,
3472
4178
  optional: !1
3473
- }, Xi = {
4179
+ };
4180
+ Ro = {
3474
4181
  computed: !0,
3475
4182
  optional: !0
3476
- }, Ji = {
4183
+ };
4184
+ Oo = {
3477
4185
  computed: !1,
3478
4186
  optional: !1
3479
- }, Yi = {
4187
+ };
4188
+ Do = {
3480
4189
  computed: !1,
3481
4190
  optional: !0
3482
- }, st = ({ computed: t, optional: e }) => (n, s) => {
3483
- let { receiver: r } = n, i;
4191
+ };
4192
+ pt = ({ computed: t, optional: e }) => (n, s) => {
4193
+ let { receiver: i } = n, r;
3484
4194
  if (t) {
3485
- let { key: p } = n;
3486
- i = s.transformChild(p);
4195
+ let { key: u } = n;
4196
+ r = s.transformChild(u);
3487
4197
  } else {
3488
- let p = r instanceof ce, { name: h, nameSpan: d } = n;
3489
- if (i = s.create({
4198
+ let u = i instanceof fe, { name: h, nameSpan: d } = n;
4199
+ if (r = s.create({
3490
4200
  type: "Identifier",
3491
4201
  name: h
3492
- }, d, p ? s.ancestors : []), p) return i;
4202
+ }, d, u ? s.ancestors : []), u) return r;
3493
4203
  }
3494
- let a = s.transformChild(r);
3495
- return e || ve(a) ? {
4204
+ let a = s.transformChild(i);
4205
+ return e || ye(a) ? {
3496
4206
  type: "OptionalMemberExpression",
3497
4207
  optional: e,
3498
- property: i,
4208
+ property: r,
3499
4209
  object: a,
3500
4210
  computed: t
3501
4211
  } : {
3502
4212
  type: "MemberExpression",
3503
- property: i,
4213
+ property: r,
3504
4214
  object: a,
3505
4215
  computed: t
3506
4216
  };
3507
- }, er = st(Gi), tr = st(Xi), nr = st(Ji), sr = st(Yi);
3508
- rr = (t, e) => ({
4217
+ };
4218
+ Ci = pt(Mo);
4219
+ bi = pt(Ro);
4220
+ Ti = pt(Oo);
4221
+ ki = pt(Do);
4222
+ _i = (t, e) => ({
3509
4223
  type: "TSNonNullExpression",
3510
4224
  expression: e.transformChild(t.expression)
3511
4225
  });
3512
- ir = (t, e) => {
3513
- let { keys: n, values: s } = t, r = (i, a = t) => e.create(i, a, [t, ...e.ancestors]);
4226
+ Ii = (t, e) => {
4227
+ let { keys: n, values: s } = t, i = (r, a = t) => e.create(r, a, [t, ...e.ancestors]);
3514
4228
  return {
3515
4229
  type: "ObjectExpression",
3516
- properties: n.map((i, a) => {
3517
- let p = s[a], h = [i.sourceSpan.start, p.sourceSpan.end];
3518
- if (i.kind === "spread") return r({
4230
+ properties: n.map((r, a) => {
4231
+ let u = s[a], h = [r.sourceSpan.start, u.sourceSpan.end];
4232
+ if (r.kind === "spread") return i({
3519
4233
  type: "SpreadElement",
3520
- argument: e.transformChild(p)
4234
+ argument: e.transformChild(u)
3521
4235
  }, h);
3522
- let d = !!i.isShorthandInitialized;
3523
- return r({
4236
+ let d = !!r.isShorthandInitialized;
4237
+ return i({
3524
4238
  type: "ObjectProperty",
3525
- key: r(i.quoted ? {
4239
+ key: i(r.quoted ? {
3526
4240
  type: "StringLiteral",
3527
- value: i.key
4241
+ value: r.key
3528
4242
  } : {
3529
4243
  type: "Identifier",
3530
- name: i.key
3531
- }, i.sourceSpan),
3532
- value: e.transformChild(p),
4244
+ name: r.key
4245
+ }, r.sourceSpan),
4246
+ value: e.transformChild(u),
3533
4247
  shorthand: d,
3534
4248
  computed: !1,
3535
4249
  method: !1
@@ -3537,8 +4251,8 @@ var init_angular = __esmMin((() => {
3537
4251
  })
3538
4252
  };
3539
4253
  };
3540
- or = (t, e) => e.transformChild(t.expression);
3541
- ar = (t, e) => ({
4254
+ Ni = (t, e) => e.transformChild(t.expression);
4255
+ Ai = (t, e) => ({
3542
4256
  type: "NGPipeExpression",
3543
4257
  left: e.transformChild(t.exp),
3544
4258
  right: e.create({
@@ -3547,20 +4261,22 @@ var init_angular = __esmMin((() => {
3547
4261
  }, t.nameSpan),
3548
4262
  arguments: e.transformChildren(t.args)
3549
4263
  });
3550
- lr = (t, e) => ({
4264
+ Pi = (t, e) => ({
3551
4265
  type: "SpreadElement",
3552
4266
  argument: e.transformChild(t.expression)
3553
4267
  });
3554
- cr = (t, e) => ({
4268
+ Li = (t, e) => ({
3555
4269
  type: "TaggedTemplateExpression",
3556
4270
  tag: e.transformChild(t.tag),
3557
4271
  quasi: e.transformChild(t.template)
3558
- }), ur = (t, e) => ({
4272
+ });
4273
+ $i = (t, e) => ({
3559
4274
  type: "TemplateLiteral",
3560
4275
  quasis: e.transformChildren(t.elements),
3561
4276
  expressions: e.transformChildren(t.expressions)
3562
- }), pr = (t, e) => {
3563
- let [n] = e.ancestors, { elements: s } = n, r = s.indexOf(t), i = r === 0, a = r === s.length - 1, p = t.sourceSpan.end - (a ? 1 : 0), h = t.sourceSpan.start + (i ? 1 : 0), d = e.text.slice(h, p);
4277
+ });
4278
+ Mi = (t, e) => {
4279
+ let [n] = e.ancestors, { elements: s } = n, i = s.indexOf(t), r = i === 0, a = i === s.length - 1, u = t.sourceSpan.end - (a ? 1 : 0), h = t.sourceSpan.start + (r ? 1 : 0), d = e.text.slice(h, u);
3564
4280
  return {
3565
4281
  type: "TemplateElement",
3566
4282
  value: {
@@ -3568,70 +4284,75 @@ var init_angular = __esmMin((() => {
3568
4284
  raw: d
3569
4285
  },
3570
4286
  tail: a,
3571
- range: [h, p]
4287
+ range: [h, u]
3572
4288
  };
3573
4289
  };
3574
- hr = () => ({ type: "ThisExpression" });
3575
- sn = (t) => (e, n) => ({
4290
+ Ri = () => ({ type: "ThisExpression" });
4291
+ dn = (t) => (e, n) => ({
3576
4292
  type: "UnaryExpression",
3577
4293
  prefix: !0,
3578
4294
  operator: t,
3579
4295
  argument: n.transformChild(e.expression)
3580
- }), fr = sn("!"), dr = sn("typeof"), mr = sn("void"), gr = (t, e) => ({
4296
+ });
4297
+ Oi = dn("!");
4298
+ Di = dn("typeof");
4299
+ Bi = dn("void");
4300
+ Fi = (t, e) => ({
3581
4301
  type: "UnaryExpression",
3582
4302
  prefix: !0,
3583
4303
  argument: e.transformChild(t.expr),
3584
4304
  operator: t.operator
3585
4305
  });
3586
- Qi = (t) => {
4306
+ Bo = (t) => {
3587
4307
  throw new Error(`Unexpected node type '${t.constructor.name}'`);
3588
- }, vr = Qi;
3589
- xr = Vs({
3590
- visitASTWithSource: () => Ws,
3591
- visitArrowFunction: () => Hs,
3592
- visitBinary: () => qs,
3593
- visitCall: () => zs,
3594
- visitChain: () => Xs,
3595
- visitConditional: () => Js,
3596
- visitEmptyExpr: () => Ys,
3597
- visitImplicitReceiver: () => vr,
3598
- visitInterpolation: () => Qs,
3599
- visitKeyedRead: () => er,
3600
- visitLiteralArray: () => Us,
3601
- visitLiteralMap: () => ir,
3602
- visitLiteralPrimitive: () => Ks,
3603
- visitNonNullAssert: () => rr,
3604
- visitParenthesizedExpression: () => or,
3605
- visitPipe: () => ar,
3606
- visitPrefixNot: () => fr,
3607
- visitPropertyRead: () => nr,
3608
- visitRegularExpressionLiteral: () => Zs,
3609
- visitSafeCall: () => Gs,
3610
- visitSafeKeyedRead: () => tr,
3611
- visitSafePropertyRead: () => sr,
3612
- visitSpreadElement: () => lr,
3613
- visitTaggedTemplateLiteral: () => cr,
3614
- visitTemplateLiteral: () => ur,
3615
- visitTemplateLiteralElement: () => pr,
3616
- visitThisReceiver: () => hr,
3617
- visitTypeofExpression: () => dr,
3618
- visitUnary: () => gr,
3619
- visitVoidExpression: () => mr
4308
+ };
4309
+ Vi = Bo;
4310
+ Ui = ci({
4311
+ visitASTWithSource: () => hi,
4312
+ visitArrowFunction: () => pi,
4313
+ visitBinary: () => fi,
4314
+ visitCall: () => mi,
4315
+ visitChain: () => vi,
4316
+ visitConditional: () => wi,
4317
+ visitEmptyExpr: () => Si,
4318
+ visitImplicitReceiver: () => Vi,
4319
+ visitInterpolation: () => xi,
4320
+ visitKeyedRead: () => Ci,
4321
+ visitLiteralArray: () => ui,
4322
+ visitLiteralMap: () => Ii,
4323
+ visitLiteralPrimitive: () => yi,
4324
+ visitNonNullAssert: () => _i,
4325
+ visitParenthesizedExpression: () => Ni,
4326
+ visitPipe: () => Ai,
4327
+ visitPrefixNot: () => Oi,
4328
+ visitPropertyRead: () => Ti,
4329
+ visitRegularExpressionLiteral: () => Ei,
4330
+ visitSafeCall: () => gi,
4331
+ visitSafeKeyedRead: () => bi,
4332
+ visitSafePropertyRead: () => ki,
4333
+ visitSpreadElement: () => Pi,
4334
+ visitTaggedTemplateLiteral: () => Li,
4335
+ visitTemplateLiteral: () => $i,
4336
+ visitTemplateLiteralElement: () => Mi,
4337
+ visitThisReceiver: () => Ri,
4338
+ visitTypeofExpression: () => Di,
4339
+ visitUnary: () => Fi,
4340
+ visitVoidExpression: () => Bi
3620
4341
  });
3621
- rt = class rn extends nt {
4342
+ ht = class mn extends ut {
3622
4343
  node;
3623
4344
  ancestors;
3624
4345
  constructor({ node: e, text: n, ancestors: s = [] }) {
3625
4346
  super(n), this.node = e, this.ancestors = s;
3626
4347
  }
3627
4348
  create(e, n, s = this.ancestors) {
3628
- return s[0] instanceof Ie && (e.extra = {
4349
+ return s[0] instanceof $e && (e.extra = {
3629
4350
  ...e.extra,
3630
4351
  parenthesized: !0
3631
4352
  }), super.createNode(e, e.range ?? n ?? this.node);
3632
4353
  }
3633
4354
  transformChild(e) {
3634
- return new rn({
4355
+ return new mn({
3635
4356
  node: e,
3636
4357
  ancestors: [this.node, ...this.ancestors],
3637
4358
  text: this.text
@@ -3641,18 +4362,18 @@ var init_angular = __esmMin((() => {
3641
4362
  return e.map((n) => this.transformChild(n));
3642
4363
  }
3643
4364
  transform() {
3644
- let { node: e } = this, n = e.visit(xr, this);
4365
+ let { node: e } = this, n = e.visit(Ui, this);
3645
4366
  return this.create(n, this.node);
3646
4367
  }
3647
4368
  static transform(e, n) {
3648
- return new rn({
4369
+ return new mn({
3649
4370
  node: e,
3650
4371
  text: n,
3651
4372
  ancestors: []
3652
4373
  }).transform();
3653
4374
  }
3654
4375
  };
3655
- Sr = class extends rt {
4376
+ Wi = class extends ht {
3656
4377
  constructor(t) {
3657
4378
  super({
3658
4379
  node: t,
@@ -3660,50 +4381,51 @@ var init_angular = __esmMin((() => {
3660
4381
  });
3661
4382
  }
3662
4383
  };
3663
- Er = (t, e) => rt.transform(t, e), yr = (t) => new Sr(t).transform();
3664
- Cr = (t, e) => (n, s, ...r) => n | 1 && s == null ? void 0 : (e.call(s) ?? s[t]).apply(s, r);
3665
- _r = Cr("at", function() {
3666
- if (Array.isArray(this) || typeof this == "string") return Ki;
4384
+ qi = (t, e) => ht.transform(t, e);
4385
+ ji = (t) => new Wi(t).transform();
4386
+ zi = (t, e) => (n, s, ...i) => n | 1 && s == null ? void 0 : (e.call(s) ?? s[t]).apply(s, i);
4387
+ ft = zi("at", function() {
4388
+ if (Array.isArray(this) || typeof this == "string") return Fo;
3667
4389
  });
3668
- eo = (me = class extends nt {
4390
+ Ho = (Se = class extends ut {
3669
4391
  constructor(n, s) {
3670
4392
  super(s);
3671
- Me(this, m);
3672
- Me(this, de);
3673
- Me(this, te);
3674
- ct(this, de, n), ct(this, te, s);
3675
- for (let r of n) v(this, m, Ar).call(this, r);
4393
+ De(this, m);
4394
+ De(this, we);
4395
+ De(this, se);
4396
+ wt(this, we, n), wt(this, se, s);
4397
+ for (let i of n) w(this, m, Ji).call(this, i);
3676
4398
  }
3677
4399
  get expressions() {
3678
- return v(this, m, Nr).call(this);
3679
- }
3680
- }, de = /* @__PURE__ */ new WeakMap(), te = /* @__PURE__ */ new WeakMap(), m = /* @__PURE__ */ new WeakSet(), br = function() {
3681
- return j(this, de)[0].key;
3682
- }, _ = function(n, s) {
3683
- return wn(me.prototype, this, "createNode").call(this, n, s);
3684
- }, on = function(n) {
3685
- return Er(n, this.text);
3686
- }, an = function(n) {
3687
- return En(n.slice(j(this, m, br).source.length));
3688
- }, ln = function(n) {
3689
- let s = j(this, te);
4400
+ return w(this, m, Ki).call(this);
4401
+ }
4402
+ }, we = /* @__PURE__ */ new WeakMap(), se = /* @__PURE__ */ new WeakMap(), m = /* @__PURE__ */ new WeakSet(), Qi = function() {
4403
+ return z(this, we)[0].key;
4404
+ }, T = function(n, s) {
4405
+ return In(Se.prototype, this, "createNode").call(this, n, s);
4406
+ }, gn = function(n) {
4407
+ return qi(n, this.text);
4408
+ }, vn = function(n) {
4409
+ return Pn(n.slice(z(this, m, Qi).source.length));
4410
+ }, wn = function(n) {
4411
+ let s = z(this, se);
3690
4412
  if (s[n.start] !== "\"" && s[n.start] !== "'") return;
3691
- let r = s[n.start], i = !1;
4413
+ let i = s[n.start], r = !1;
3692
4414
  for (let a = n.start + 1; a < s.length; a++) switch (s[a]) {
3693
- case r: if (!i) {
4415
+ case i: if (!r) {
3694
4416
  n.end = a + 1;
3695
4417
  return;
3696
4418
  }
3697
4419
  default:
3698
- i = !1;
4420
+ r = !1;
3699
4421
  break;
3700
4422
  case "\\":
3701
- i = !i;
4423
+ r = !r;
3702
4424
  break;
3703
4425
  }
3704
- }, Ar = function(n) {
3705
- v(this, m, ln).call(this, n.key.span), Tr(n) && n.value && v(this, m, ln).call(this, n.value.span);
3706
- }, Ir = function(n) {
4426
+ }, Ji = function(n) {
4427
+ w(this, m, wn).call(this, n.key.span), Xi(n) && n.value && w(this, m, wn).call(this, n.value.span);
4428
+ }, Yi = function(n) {
3707
4429
  if (!n.value || n.value.source) return n.value;
3708
4430
  let s = this.getCharacterIndex(/\S/, n.sourceSpan.start);
3709
4431
  return {
@@ -3713,100 +4435,133 @@ var init_angular = __esmMin((() => {
3713
4435
  end: s
3714
4436
  }
3715
4437
  };
3716
- }, Nr = function() {
3717
- let n = j(this, de), [s] = n, r = j(this, te).slice(s.sourceSpan.start, s.sourceSpan.end).trim().length === 0 ? n.slice(1) : n, i = [], a = null;
3718
- for (let [p, h] of r.entries()) {
3719
- if (a && kr(a) && Tr(h) && h.value && h.value.source === a.key.source) {
3720
- let d = v(this, m, _).call(this, {
4438
+ }, Ki = function() {
4439
+ let n = z(this, we), [s] = n, i = z(this, se).slice(s.sourceSpan.start, s.sourceSpan.end).trim().length === 0 ? n.slice(1) : n, r = [], a = null;
4440
+ for (let [u, h] of i.entries()) {
4441
+ if (a && Gi(a) && Xi(h) && h.value && h.value.source === a.key.source) {
4442
+ let d = w(this, m, T).call(this, {
3721
4443
  type: "NGMicrosyntaxKey",
3722
4444
  name: h.key.source
3723
- }, h.key.span), x = (T, C) => ({
3724
- ...T,
4445
+ }, h.key.span), g = (_, b) => ({
4446
+ ..._,
3725
4447
  ...this.transformSpan({
3726
- start: T.start,
3727
- end: C
4448
+ start: _.start,
4449
+ end: b
3728
4450
  })
3729
- }), D = (T) => ({
3730
- ...x(T, d.end),
4451
+ }), P = (_) => ({
4452
+ ...g(_, d.end),
3731
4453
  alias: d
3732
- }), k = i.pop();
3733
- if (k.type === "NGMicrosyntaxExpression") i.push(D(k));
4454
+ }), k = r.pop();
4455
+ if (k.type === "NGMicrosyntaxExpression") r.push(P(k));
3734
4456
  else if (k.type === "NGMicrosyntaxKeyedExpression") {
3735
- let T = D(k.expression);
3736
- i.push(x({
4457
+ let _ = P(k.expression);
4458
+ r.push(g({
3737
4459
  ...k,
3738
- expression: T
3739
- }, T.end));
4460
+ expression: _
4461
+ }, _.end));
3740
4462
  } else throw new Error(`Unexpected type ${k.type}`);
3741
- } else i.push(v(this, m, Pr).call(this, h, p));
4463
+ } else r.push(w(this, m, Zi).call(this, h, u));
3742
4464
  a = h;
3743
4465
  }
3744
- return v(this, m, _).call(this, {
4466
+ return w(this, m, T).call(this, {
3745
4467
  type: "NGMicrosyntax",
3746
- body: i
3747
- }, i.length === 0 ? n[0].sourceSpan : {
3748
- start: i[0].start,
3749
- end: _r(0, i, -1).end
4468
+ body: r
4469
+ }, r.length === 0 ? n[0].sourceSpan : {
4470
+ start: r[0].start,
4471
+ end: ft(0, r, -1).end
3750
4472
  });
3751
- }, Pr = function(n, s) {
3752
- if (kr(n)) {
3753
- let { key: r, value: i } = n;
3754
- return i ? s === 0 ? v(this, m, _).call(this, {
4473
+ }, Zi = function(n, s) {
4474
+ if (Gi(n)) {
4475
+ let { key: i, value: r } = n;
4476
+ return r ? s === 0 ? w(this, m, T).call(this, {
3755
4477
  type: "NGMicrosyntaxExpression",
3756
- expression: v(this, m, on).call(this, i.ast),
4478
+ expression: w(this, m, gn).call(this, r.ast),
3757
4479
  alias: null
3758
- }, i) : v(this, m, _).call(this, {
4480
+ }, r) : w(this, m, T).call(this, {
3759
4481
  type: "NGMicrosyntaxKeyedExpression",
3760
- key: v(this, m, _).call(this, {
4482
+ key: w(this, m, T).call(this, {
3761
4483
  type: "NGMicrosyntaxKey",
3762
- name: v(this, m, an).call(this, r.source)
3763
- }, r.span),
3764
- expression: v(this, m, _).call(this, {
4484
+ name: w(this, m, vn).call(this, i.source)
4485
+ }, i.span),
4486
+ expression: w(this, m, T).call(this, {
3765
4487
  type: "NGMicrosyntaxExpression",
3766
- expression: v(this, m, on).call(this, i.ast),
4488
+ expression: w(this, m, gn).call(this, r.ast),
3767
4489
  alias: null
3768
- }, i)
3769
- }, [r.span.start, i.sourceSpan.end]) : v(this, m, _).call(this, {
4490
+ }, r)
4491
+ }, [i.span.start, r.sourceSpan.end]) : w(this, m, T).call(this, {
3770
4492
  type: "NGMicrosyntaxKey",
3771
- name: v(this, m, an).call(this, r.source)
3772
- }, r.span);
4493
+ name: w(this, m, vn).call(this, i.source)
4494
+ }, i.span);
3773
4495
  } else {
3774
- let { key: r, sourceSpan: i } = n;
3775
- if (/^let\s$/.test(j(this, te).slice(i.start, i.start + 4))) {
4496
+ let { key: i, sourceSpan: r } = n;
4497
+ if (/^let\s$/.test(z(this, se).slice(r.start, r.start + 4))) {
3776
4498
  let { value: a } = n;
3777
- return v(this, m, _).call(this, {
4499
+ return w(this, m, T).call(this, {
3778
4500
  type: "NGMicrosyntaxLet",
3779
- key: v(this, m, _).call(this, {
4501
+ key: w(this, m, T).call(this, {
3780
4502
  type: "NGMicrosyntaxKey",
3781
- name: r.source
3782
- }, r.span),
3783
- value: a ? v(this, m, _).call(this, {
4503
+ name: i.source
4504
+ }, i.span),
4505
+ value: a ? w(this, m, T).call(this, {
3784
4506
  type: "NGMicrosyntaxKey",
3785
4507
  name: a.source
3786
4508
  }, a.span) : null
3787
- }, [i.start, a ? a.span.end : r.span.end]);
4509
+ }, [r.start, a ? a.span.end : i.span.end]);
3788
4510
  } else {
3789
- let a = v(this, m, Ir).call(this, n);
3790
- return v(this, m, _).call(this, {
4511
+ let a = w(this, m, Yi).call(this, n);
4512
+ return w(this, m, T).call(this, {
3791
4513
  type: "NGMicrosyntaxAs",
3792
- key: v(this, m, _).call(this, {
4514
+ key: w(this, m, T).call(this, {
3793
4515
  type: "NGMicrosyntaxKey",
3794
4516
  name: a.source
3795
4517
  }, a.span),
3796
- alias: v(this, m, _).call(this, {
4518
+ alias: w(this, m, T).call(this, {
3797
4519
  type: "NGMicrosyntaxKey",
3798
- name: r.source
3799
- }, r.span)
3800
- }, [a.span.start, r.span.end]);
4520
+ name: i.source
4521
+ }, i.span)
4522
+ }, [a.span.start, i.span.end]);
3801
4523
  }
3802
4524
  }
3803
- }, me);
3804
- it = (t) => (e) => {
4525
+ }, Se);
4526
+ dt = (t) => (e) => {
3805
4527
  let { result: n, comments: s } = t(e);
3806
- return Object.assign(yr(n), { comments: s });
3807
- }, ot = it(Rs), cn = it($s), un = it(Ds), pn = (t) => Lr(Bs(t).result.templateBindings, t);
3808
- no = at(ot), so = at(cn), ro = at(un), io = at(pn);
4528
+ return Object.assign(ji(n), { comments: s });
4529
+ };
4530
+ mt = dt(si);
4531
+ Sn = dt(ii);
4532
+ xn = dt(oi);
4533
+ yn = (t) => er(ai(t).result.templateBindings, t);
4534
+ tr = Wo;
4535
+ qo = 5;
4536
+ jo = 8;
4537
+ zo = 8;
4538
+ sr = (t) => (e) => e.label ? re(e.label) : ie(e) + t;
4539
+ Go = (t) => t.__contentEnd ?? En(t);
4540
+ ir = [
4541
+ "ExpressionStatement",
4542
+ "Directive",
4543
+ "ImportDeclaration",
4544
+ "ExportDefaultDeclaration",
4545
+ "ExportNamedDeclaration",
4546
+ "ExportAllDeclaration",
4547
+ "ReturnStatement",
4548
+ "ThrowStatement",
4549
+ "DoWhileStatement"
4550
+ ];
4551
+ Xo = new Map([
4552
+ ["BreakStatement", sr(qo)],
4553
+ ["ContinueStatement", sr(jo)],
4554
+ ["DebuggerStatement", (t) => ie(t) + zo],
4555
+ ["VariableDeclaration", (t) => re(ft(0, t.declarations, -1))],
4556
+ ...ir.map((t) => [t, Go])
4557
+ ]);
4558
+ nr(ir);
4559
+ rr = Jo;
4560
+ Ko = gt(mt);
4561
+ Zo = gt(Sn);
4562
+ ea = gt(xn);
4563
+ ta = gt(yn);
3809
4564
  }));
3810
4565
  //#endregion
3811
4566
  init_angular();
3812
- export { Rr as default, fn as parsers, init_angular as t };
4567
+ export { or as default, Cn as parsers, init_angular as t };