oxfmt 0.37.0 → 0.39.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.
@@ -0,0 +1,3951 @@
1
+ //#region ../../node_modules/.pnpm/prettier@3.8.1/node_modules/prettier/plugins/angular.mjs
2
+ var Ci = Object.defineProperty;
3
+ var _i = Object.getPrototypeOf;
4
+ var Ti = Reflect.get;
5
+ var an = (t) => {
6
+ throw TypeError(t);
7
+ };
8
+ var ln = (t, e) => {
9
+ for (var n in e) Ci(t, n, {
10
+ get: e[n],
11
+ enumerable: !0
12
+ });
13
+ };
14
+ var nt = (t, e, n) => e.has(t) || an("Cannot " + n);
15
+ var U = (t, e, n) => (nt(t, e, "read from private field"), n ? n.call(t) : e.get(t)), ke = (t, e, n) => e.has(t) ? an("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, n), st = (t, e, n, s) => (nt(t, e, "write to private field"), s ? s.call(t, n) : e.set(t, n), n), v = (t, e, n) => (nt(t, e, "access private method"), n);
16
+ var cn = (t, e, n) => Ti(_i(t), n, e);
17
+ var Ei = {};
18
+ ln(Ei, { parsers: () => sn });
19
+ var sn = {};
20
+ ln(sn, {
21
+ __ng_action: () => Fr,
22
+ __ng_binding: () => Vr,
23
+ __ng_directive: () => Hr,
24
+ __ng_interpolation: () => Ur
25
+ });
26
+ function ki(t) {
27
+ return typeof t == "string" ? (e) => e === t : (e) => t.test(e);
28
+ }
29
+ function pn(t, e, n) {
30
+ let s = ki(e);
31
+ for (let i = n; i < t.length; i++) {
32
+ let r = t[i];
33
+ if (s(r)) return i;
34
+ }
35
+ throw new Error(`Cannot find character ${e} from index ${n} in ${JSON.stringify(t)}`);
36
+ }
37
+ function hn(t) {
38
+ return t.slice(0, 1).toLowerCase() + t.slice(1);
39
+ }
40
+ function be(t) {
41
+ let { start: e, end: n } = t;
42
+ return {
43
+ start: e,
44
+ end: n,
45
+ range: [e, n]
46
+ };
47
+ }
48
+ function un(t) {
49
+ return !!t.extra?.parenthesized;
50
+ }
51
+ function ue(t) {
52
+ return t.type === "TSNonNullExpression" && !un(t) ? ue(t.expression) : (t.type === "OptionalCallExpression" || t.type === "OptionalMemberExpression") && !un(t);
53
+ }
54
+ new RegExp(`(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`, "g");
55
+ var fn;
56
+ (function(t) {
57
+ t[t.Emulated = 0] = "Emulated", t[t.None = 2] = "None", t[t.ShadowDom = 3] = "ShadowDom", t[t.ExperimentalIsolatedShadowDom = 4] = "ExperimentalIsolatedShadowDom";
58
+ })(fn || (fn = {}));
59
+ var dn;
60
+ (function(t) {
61
+ t[t.OnPush = 0] = "OnPush", t[t.Default = 1] = "Default";
62
+ })(dn || (dn = {}));
63
+ var mn;
64
+ (function(t) {
65
+ t[t.None = 0] = "None", t[t.SignalBased = 1] = "SignalBased", t[t.HasDecoratorInputTransform = 2] = "HasDecoratorInputTransform";
66
+ })(mn || (mn = {}));
67
+ var N;
68
+ (function(t) {
69
+ 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";
70
+ })(N || (N = {}));
71
+ var gn;
72
+ (function(t) {
73
+ t[t.Error = 0] = "Error", t[t.Warning = 1] = "Warning", t[t.Ignore = 2] = "Ignore";
74
+ })(gn || (gn = {}));
75
+ var vn;
76
+ (function(t) {
77
+ 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";
78
+ })(vn || (vn = {}));
79
+ var xn;
80
+ (function(t) {
81
+ t[t.Directive = 0] = "Directive", t[t.Pipe = 1] = "Pipe", t[t.NgModule = 2] = "NgModule";
82
+ })(xn || (xn = {}));
83
+ var wn;
84
+ (function(t) {
85
+ t[t.Emulated = 0] = "Emulated", t[t.None = 2] = "None", t[t.ShadowDom = 3] = "ShadowDom", t[t.ExperimentalIsolatedShadowDom = 4] = "ExperimentalIsolatedShadowDom";
86
+ })(wn || (wn = {}));
87
+ var Sn;
88
+ (function(t) {
89
+ t[t.Little = 0] = "Little", t[t.Big = 1] = "Big";
90
+ })(Sn || (Sn = {}));
91
+ var En;
92
+ (function(t) {
93
+ t[t.None = 0] = "None", t[t.Const = 1] = "Const";
94
+ })(En || (En = {}));
95
+ var yn;
96
+ (function(t) {
97
+ 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";
98
+ })(yn || (yn = {}));
99
+ var Cn;
100
+ (function(t) {
101
+ t[t.Minus = 0] = "Minus", t[t.Plus = 1] = "Plus";
102
+ })(Cn || (Cn = {}));
103
+ var c;
104
+ (function(t) {
105
+ 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.AdditionAssignment = 21] = "AdditionAssignment", t[t.SubtractionAssignment = 22] = "SubtractionAssignment", t[t.MultiplicationAssignment = 23] = "MultiplicationAssignment", t[t.DivisionAssignment = 24] = "DivisionAssignment", t[t.RemainderAssignment = 25] = "RemainderAssignment", t[t.ExponentiationAssignment = 26] = "ExponentiationAssignment", t[t.AndAssignment = 27] = "AndAssignment", t[t.OrAssignment = 28] = "OrAssignment", t[t.NullishCoalesceAssignment = 29] = "NullishCoalesceAssignment";
106
+ })(c || (c = {}));
107
+ function bi(t, e) {
108
+ return t == null || e == null ? t == e : t.isEquivalent(e);
109
+ }
110
+ function Ai(t, e, n) {
111
+ let s = t.length;
112
+ if (s !== e.length) return !1;
113
+ for (let i = 0; i < s; i++) if (!n(t[i], e[i])) return !1;
114
+ return !0;
115
+ }
116
+ function Ge(t, e) {
117
+ return Ai(t, e, (n, s) => n.isEquivalent(s));
118
+ }
119
+ var S = class {
120
+ type;
121
+ sourceSpan;
122
+ constructor(e, n) {
123
+ this.type = e || null, this.sourceSpan = n || null;
124
+ }
125
+ prop(e, n) {
126
+ return new ht(this, e, null, n);
127
+ }
128
+ key(e, n, s) {
129
+ return new ft(this, e, n, s);
130
+ }
131
+ callFn(e, n, s) {
132
+ return new at(this, e, null, n, s);
133
+ }
134
+ instantiate(e, n, s) {
135
+ return new lt(this, e, n, s);
136
+ }
137
+ conditional(e, n = null, s) {
138
+ return new pt(this, e, n, null, s);
139
+ }
140
+ equals(e, n) {
141
+ return new x(c.Equals, this, e, null, n);
142
+ }
143
+ notEquals(e, n) {
144
+ return new x(c.NotEquals, this, e, null, n);
145
+ }
146
+ identical(e, n) {
147
+ return new x(c.Identical, this, e, null, n);
148
+ }
149
+ notIdentical(e, n) {
150
+ return new x(c.NotIdentical, this, e, null, n);
151
+ }
152
+ minus(e, n) {
153
+ return new x(c.Minus, this, e, null, n);
154
+ }
155
+ plus(e, n) {
156
+ return new x(c.Plus, this, e, null, n);
157
+ }
158
+ divide(e, n) {
159
+ return new x(c.Divide, this, e, null, n);
160
+ }
161
+ multiply(e, n) {
162
+ return new x(c.Multiply, this, e, null, n);
163
+ }
164
+ modulo(e, n) {
165
+ return new x(c.Modulo, this, e, null, n);
166
+ }
167
+ power(e, n) {
168
+ return new x(c.Exponentiation, this, e, null, n);
169
+ }
170
+ and(e, n) {
171
+ return new x(c.And, this, e, null, n);
172
+ }
173
+ bitwiseOr(e, n) {
174
+ return new x(c.BitwiseOr, this, e, null, n);
175
+ }
176
+ bitwiseAnd(e, n) {
177
+ return new x(c.BitwiseAnd, this, e, null, n);
178
+ }
179
+ or(e, n) {
180
+ return new x(c.Or, this, e, null, n);
181
+ }
182
+ lower(e, n) {
183
+ return new x(c.Lower, this, e, null, n);
184
+ }
185
+ lowerEquals(e, n) {
186
+ return new x(c.LowerEquals, this, e, null, n);
187
+ }
188
+ bigger(e, n) {
189
+ return new x(c.Bigger, this, e, null, n);
190
+ }
191
+ biggerEquals(e, n) {
192
+ return new x(c.BiggerEquals, this, e, null, n);
193
+ }
194
+ isBlank(e) {
195
+ return this.equals(TYPED_NULL_EXPR, e);
196
+ }
197
+ nullishCoalesce(e, n) {
198
+ return new x(c.NullishCoalesce, this, e, null, n);
199
+ }
200
+ toStmt() {
201
+ return new wt(this, null);
202
+ }
203
+ }, rt = class t extends S {
204
+ name;
205
+ constructor(e, n, s) {
206
+ super(n, s), this.name = e;
207
+ }
208
+ isEquivalent(e) {
209
+ return e instanceof t && this.name === e.name;
210
+ }
211
+ isConstant() {
212
+ return !1;
213
+ }
214
+ visitExpression(e, n) {
215
+ return e.visitReadVarExpr(this, n);
216
+ }
217
+ clone() {
218
+ return new t(this.name, this.type, this.sourceSpan);
219
+ }
220
+ set(e) {
221
+ return new x(c.Assign, this, e, null, this.sourceSpan);
222
+ }
223
+ }, ot = class t extends S {
224
+ expr;
225
+ constructor(e, n, s) {
226
+ super(n, s), this.expr = e;
227
+ }
228
+ visitExpression(e, n) {
229
+ return e.visitTypeofExpr(this, n);
230
+ }
231
+ isEquivalent(e) {
232
+ return e instanceof t && e.expr.isEquivalent(this.expr);
233
+ }
234
+ isConstant() {
235
+ return this.expr.isConstant();
236
+ }
237
+ clone() {
238
+ return new t(this.expr.clone());
239
+ }
240
+ };
241
+ var at = class t extends S {
242
+ fn;
243
+ args;
244
+ pure;
245
+ constructor(e, n, s, i, r = !1) {
246
+ super(s, i), this.fn = e, this.args = n, this.pure = r;
247
+ }
248
+ get receiver() {
249
+ return this.fn;
250
+ }
251
+ isEquivalent(e) {
252
+ return e instanceof t && this.fn.isEquivalent(e.fn) && Ge(this.args, e.args) && this.pure === e.pure;
253
+ }
254
+ isConstant() {
255
+ return !1;
256
+ }
257
+ visitExpression(e, n) {
258
+ return e.visitInvokeFunctionExpr(this, n);
259
+ }
260
+ clone() {
261
+ return new t(this.fn.clone(), this.args.map((e) => e.clone()), this.type, this.sourceSpan, this.pure);
262
+ }
263
+ };
264
+ var lt = class t extends S {
265
+ classExpr;
266
+ args;
267
+ constructor(e, n, s, i) {
268
+ super(s, i), this.classExpr = e, this.args = n;
269
+ }
270
+ isEquivalent(e) {
271
+ return e instanceof t && this.classExpr.isEquivalent(e.classExpr) && Ge(this.args, e.args);
272
+ }
273
+ isConstant() {
274
+ return !1;
275
+ }
276
+ visitExpression(e, n) {
277
+ return e.visitInstantiateExpr(this, n);
278
+ }
279
+ clone() {
280
+ return new t(this.classExpr.clone(), this.args.map((e) => e.clone()), this.type, this.sourceSpan);
281
+ }
282
+ }, ct = class t extends S {
283
+ body;
284
+ flags;
285
+ constructor(e, n, s) {
286
+ super(null, s), this.body = e, this.flags = n;
287
+ }
288
+ isEquivalent(e) {
289
+ return e instanceof t && this.body === e.body && this.flags === e.flags;
290
+ }
291
+ isConstant() {
292
+ return !0;
293
+ }
294
+ visitExpression(e, n) {
295
+ return e.visitRegularExpressionLiteral(this, n);
296
+ }
297
+ clone() {
298
+ return new t(this.body, this.flags, this.sourceSpan);
299
+ }
300
+ }, Ne = class t extends S {
301
+ value;
302
+ constructor(e, n, s) {
303
+ super(n, s), this.value = e;
304
+ }
305
+ isEquivalent(e) {
306
+ return e instanceof t && this.value === e.value;
307
+ }
308
+ isConstant() {
309
+ return !0;
310
+ }
311
+ visitExpression(e, n) {
312
+ return e.visitLiteralExpr(this, n);
313
+ }
314
+ clone() {
315
+ return new t(this.value, this.type, this.sourceSpan);
316
+ }
317
+ };
318
+ var ut = class t extends S {
319
+ value;
320
+ typeParams;
321
+ constructor(e, n, s = null, i) {
322
+ super(n, i), this.value = e, this.typeParams = s;
323
+ }
324
+ isEquivalent(e) {
325
+ return e instanceof t && this.value.name === e.value.name && this.value.moduleName === e.value.moduleName;
326
+ }
327
+ isConstant() {
328
+ return !1;
329
+ }
330
+ visitExpression(e, n) {
331
+ return e.visitExternalExpr(this, n);
332
+ }
333
+ clone() {
334
+ return new t(this.value, this.type, this.typeParams, this.sourceSpan);
335
+ }
336
+ };
337
+ var pt = class t extends S {
338
+ condition;
339
+ falseCase;
340
+ trueCase;
341
+ constructor(e, n, s = null, i, r) {
342
+ super(i || n.type, r), this.condition = e, this.falseCase = s, this.trueCase = n;
343
+ }
344
+ isEquivalent(e) {
345
+ return e instanceof t && this.condition.isEquivalent(e.condition) && this.trueCase.isEquivalent(e.trueCase) && bi(this.falseCase, e.falseCase);
346
+ }
347
+ isConstant() {
348
+ return !1;
349
+ }
350
+ visitExpression(e, n) {
351
+ return e.visitConditionalExpr(this, n);
352
+ }
353
+ clone() {
354
+ return new t(this.condition.clone(), this.trueCase.clone(), this.falseCase?.clone(), this.type, this.sourceSpan);
355
+ }
356
+ };
357
+ var x = class t extends S {
358
+ operator;
359
+ rhs;
360
+ lhs;
361
+ constructor(e, n, s, i, r) {
362
+ super(i || n.type, r), this.operator = e, this.rhs = s, this.lhs = n;
363
+ }
364
+ isEquivalent(e) {
365
+ return e instanceof t && this.operator === e.operator && this.lhs.isEquivalent(e.lhs) && this.rhs.isEquivalent(e.rhs);
366
+ }
367
+ isConstant() {
368
+ return !1;
369
+ }
370
+ visitExpression(e, n) {
371
+ return e.visitBinaryOperatorExpr(this, n);
372
+ }
373
+ clone() {
374
+ return new t(this.operator, this.lhs.clone(), this.rhs.clone(), this.type, this.sourceSpan);
375
+ }
376
+ isAssignment() {
377
+ let e = this.operator;
378
+ return e === c.Assign || e === c.AdditionAssignment || e === c.SubtractionAssignment || e === c.MultiplicationAssignment || e === c.DivisionAssignment || e === c.RemainderAssignment || e === c.ExponentiationAssignment || e === c.AndAssignment || e === c.OrAssignment || e === c.NullishCoalesceAssignment;
379
+ }
380
+ }, ht = class t extends S {
381
+ receiver;
382
+ name;
383
+ constructor(e, n, s, i) {
384
+ super(s, i), this.receiver = e, this.name = n;
385
+ }
386
+ get index() {
387
+ return this.name;
388
+ }
389
+ isEquivalent(e) {
390
+ return e instanceof t && this.receiver.isEquivalent(e.receiver) && this.name === e.name;
391
+ }
392
+ isConstant() {
393
+ return !1;
394
+ }
395
+ visitExpression(e, n) {
396
+ return e.visitReadPropExpr(this, n);
397
+ }
398
+ set(e) {
399
+ return new x(c.Assign, this.receiver.prop(this.name), e, null, this.sourceSpan);
400
+ }
401
+ clone() {
402
+ return new t(this.receiver.clone(), this.name, this.type, this.sourceSpan);
403
+ }
404
+ }, ft = class t extends S {
405
+ receiver;
406
+ index;
407
+ constructor(e, n, s, i) {
408
+ super(s, i), this.receiver = e, this.index = n;
409
+ }
410
+ isEquivalent(e) {
411
+ return e instanceof t && this.receiver.isEquivalent(e.receiver) && this.index.isEquivalent(e.index);
412
+ }
413
+ isConstant() {
414
+ return !1;
415
+ }
416
+ visitExpression(e, n) {
417
+ return e.visitReadKeyExpr(this, n);
418
+ }
419
+ set(e) {
420
+ return new x(c.Assign, this.receiver.key(this.index), e, null, this.sourceSpan);
421
+ }
422
+ clone() {
423
+ return new t(this.receiver.clone(), this.index.clone(), this.type, this.sourceSpan);
424
+ }
425
+ }, dt = class t extends S {
426
+ entries;
427
+ constructor(e, n, s) {
428
+ super(n, s), this.entries = e;
429
+ }
430
+ isConstant() {
431
+ return this.entries.every((e) => e.isConstant());
432
+ }
433
+ isEquivalent(e) {
434
+ return e instanceof t && Ge(this.entries, e.entries);
435
+ }
436
+ visitExpression(e, n) {
437
+ return e.visitLiteralArrayExpr(this, n);
438
+ }
439
+ clone() {
440
+ return new t(this.entries.map((e) => e.clone()), this.type, this.sourceSpan);
441
+ }
442
+ };
443
+ var mt = class t {
444
+ expression;
445
+ constructor(e) {
446
+ this.expression = e;
447
+ }
448
+ isEquivalent(e) {
449
+ return e instanceof t && this.expression.isEquivalent(e.expression);
450
+ }
451
+ clone() {
452
+ return new t(this.expression.clone());
453
+ }
454
+ isConstant() {
455
+ return this.expression.isConstant();
456
+ }
457
+ }, gt = class t extends S {
458
+ entries;
459
+ valueType = null;
460
+ constructor(e, n, s) {
461
+ super(n, s), this.entries = e, n && (this.valueType = n.valueType);
462
+ }
463
+ isEquivalent(e) {
464
+ return e instanceof t && Ge(this.entries, e.entries);
465
+ }
466
+ isConstant() {
467
+ return this.entries.every((e) => e.isConstant());
468
+ }
469
+ visitExpression(e, n) {
470
+ return e.visitLiteralMapExpr(this, n);
471
+ }
472
+ clone() {
473
+ return new t(this.entries.map((n) => n.clone()), this.type, this.sourceSpan);
474
+ }
475
+ };
476
+ var vt = class t extends S {
477
+ expression;
478
+ constructor(e, n) {
479
+ super(null, n), this.expression = e;
480
+ }
481
+ isEquivalent(e) {
482
+ return e instanceof t && this.expression.isEquivalent(e.expression);
483
+ }
484
+ isConstant() {
485
+ return this.expression.isConstant();
486
+ }
487
+ visitExpression(e, n) {
488
+ return e.visitSpreadElementExpr(this, n);
489
+ }
490
+ clone() {
491
+ return new t(this.expression.clone(), this.sourceSpan);
492
+ }
493
+ }, Pe;
494
+ (function(t) {
495
+ 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";
496
+ })(Pe || (Pe = {}));
497
+ var xt = class {
498
+ modifiers;
499
+ sourceSpan;
500
+ leadingComments;
501
+ constructor(e = Pe.None, n = null, s) {
502
+ this.modifiers = e, this.sourceSpan = n, this.leadingComments = s;
503
+ }
504
+ hasModifier(e) {
505
+ return (this.modifiers & e) !== 0;
506
+ }
507
+ addLeadingComment(e) {
508
+ this.leadingComments = this.leadingComments ?? [], this.leadingComments.push(e);
509
+ }
510
+ };
511
+ var wt = class t extends xt {
512
+ expr;
513
+ constructor(e, n, s) {
514
+ super(Pe.None, n, s), this.expr = e;
515
+ }
516
+ isEquivalent(e) {
517
+ return e instanceof t && this.expr.isEquivalent(e.expr);
518
+ }
519
+ visitStatement(e, n) {
520
+ return e.visitExpressionStmt(this, n);
521
+ }
522
+ };
523
+ (class t {
524
+ static INSTANCE = new t();
525
+ keyOf(e) {
526
+ if (e instanceof Ne && typeof e.value == "string") return `"${e.value}"`;
527
+ if (e instanceof Ne) return String(e.value);
528
+ if (e instanceof ct) return `/${e.body}/${e.flags ?? ""}`;
529
+ if (e instanceof dt) {
530
+ let n = [];
531
+ for (let s of e.entries) n.push(this.keyOf(s));
532
+ return `[${n.join(",")}]`;
533
+ } else if (e instanceof gt) {
534
+ let n = [];
535
+ for (let s of e.entries) if (s instanceof mt) n.push("..." + this.keyOf(s.expression));
536
+ else {
537
+ let i = s.key;
538
+ s.quoted && (i = `"${i}"`), n.push(i + ":" + this.keyOf(s.value));
539
+ }
540
+ return `{${n.join(",")}}`;
541
+ } else {
542
+ if (e instanceof ut) return `import("${e.value.moduleName}", ${e.value.name})`;
543
+ if (e instanceof rt) return `read(${e.name})`;
544
+ if (e instanceof ot) return `typeof(${this.keyOf(e.expr)})`;
545
+ if (e instanceof vt) return `...${this.keyOf(e.expression)}`;
546
+ throw new Error(`${this.constructor.name} does not handle expressions of type ${e.constructor.name}`);
547
+ }
548
+ }
549
+ });
550
+ var o = "@angular/core", l = class {
551
+ static NEW_METHOD = "factory";
552
+ static TRANSFORM_METHOD = "transform";
553
+ static PATCH_DEPS = "patchedDeps";
554
+ static core = {
555
+ name: null,
556
+ moduleName: o
557
+ };
558
+ static namespaceHTML = {
559
+ name: "ɵɵnamespaceHTML",
560
+ moduleName: o
561
+ };
562
+ static namespaceMathML = {
563
+ name: "ɵɵnamespaceMathML",
564
+ moduleName: o
565
+ };
566
+ static namespaceSVG = {
567
+ name: "ɵɵnamespaceSVG",
568
+ moduleName: o
569
+ };
570
+ static element = {
571
+ name: "ɵɵelement",
572
+ moduleName: o
573
+ };
574
+ static elementStart = {
575
+ name: "ɵɵelementStart",
576
+ moduleName: o
577
+ };
578
+ static elementEnd = {
579
+ name: "ɵɵelementEnd",
580
+ moduleName: o
581
+ };
582
+ static domElement = {
583
+ name: "ɵɵdomElement",
584
+ moduleName: o
585
+ };
586
+ static domElementStart = {
587
+ name: "ɵɵdomElementStart",
588
+ moduleName: o
589
+ };
590
+ static domElementEnd = {
591
+ name: "ɵɵdomElementEnd",
592
+ moduleName: o
593
+ };
594
+ static domElementContainer = {
595
+ name: "ɵɵdomElementContainer",
596
+ moduleName: o
597
+ };
598
+ static domElementContainerStart = {
599
+ name: "ɵɵdomElementContainerStart",
600
+ moduleName: o
601
+ };
602
+ static domElementContainerEnd = {
603
+ name: "ɵɵdomElementContainerEnd",
604
+ moduleName: o
605
+ };
606
+ static domTemplate = {
607
+ name: "ɵɵdomTemplate",
608
+ moduleName: o
609
+ };
610
+ static domListener = {
611
+ name: "ɵɵdomListener",
612
+ moduleName: o
613
+ };
614
+ static advance = {
615
+ name: "ɵɵadvance",
616
+ moduleName: o
617
+ };
618
+ static syntheticHostProperty = {
619
+ name: "ɵɵsyntheticHostProperty",
620
+ moduleName: o
621
+ };
622
+ static syntheticHostListener = {
623
+ name: "ɵɵsyntheticHostListener",
624
+ moduleName: o
625
+ };
626
+ static attribute = {
627
+ name: "ɵɵattribute",
628
+ moduleName: o
629
+ };
630
+ static classProp = {
631
+ name: "ɵɵclassProp",
632
+ moduleName: o
633
+ };
634
+ static elementContainerStart = {
635
+ name: "ɵɵelementContainerStart",
636
+ moduleName: o
637
+ };
638
+ static elementContainerEnd = {
639
+ name: "ɵɵelementContainerEnd",
640
+ moduleName: o
641
+ };
642
+ static elementContainer = {
643
+ name: "ɵɵelementContainer",
644
+ moduleName: o
645
+ };
646
+ static styleMap = {
647
+ name: "ɵɵstyleMap",
648
+ moduleName: o
649
+ };
650
+ static classMap = {
651
+ name: "ɵɵclassMap",
652
+ moduleName: o
653
+ };
654
+ static styleProp = {
655
+ name: "ɵɵstyleProp",
656
+ moduleName: o
657
+ };
658
+ static interpolate = {
659
+ name: "ɵɵinterpolate",
660
+ moduleName: o
661
+ };
662
+ static interpolate1 = {
663
+ name: "ɵɵinterpolate1",
664
+ moduleName: o
665
+ };
666
+ static interpolate2 = {
667
+ name: "ɵɵinterpolate2",
668
+ moduleName: o
669
+ };
670
+ static interpolate3 = {
671
+ name: "ɵɵinterpolate3",
672
+ moduleName: o
673
+ };
674
+ static interpolate4 = {
675
+ name: "ɵɵinterpolate4",
676
+ moduleName: o
677
+ };
678
+ static interpolate5 = {
679
+ name: "ɵɵinterpolate5",
680
+ moduleName: o
681
+ };
682
+ static interpolate6 = {
683
+ name: "ɵɵinterpolate6",
684
+ moduleName: o
685
+ };
686
+ static interpolate7 = {
687
+ name: "ɵɵinterpolate7",
688
+ moduleName: o
689
+ };
690
+ static interpolate8 = {
691
+ name: "ɵɵinterpolate8",
692
+ moduleName: o
693
+ };
694
+ static interpolateV = {
695
+ name: "ɵɵinterpolateV",
696
+ moduleName: o
697
+ };
698
+ static nextContext = {
699
+ name: "ɵɵnextContext",
700
+ moduleName: o
701
+ };
702
+ static resetView = {
703
+ name: "ɵɵresetView",
704
+ moduleName: o
705
+ };
706
+ static templateCreate = {
707
+ name: "ɵɵtemplate",
708
+ moduleName: o
709
+ };
710
+ static defer = {
711
+ name: "ɵɵdefer",
712
+ moduleName: o
713
+ };
714
+ static deferWhen = {
715
+ name: "ɵɵdeferWhen",
716
+ moduleName: o
717
+ };
718
+ static deferOnIdle = {
719
+ name: "ɵɵdeferOnIdle",
720
+ moduleName: o
721
+ };
722
+ static deferOnImmediate = {
723
+ name: "ɵɵdeferOnImmediate",
724
+ moduleName: o
725
+ };
726
+ static deferOnTimer = {
727
+ name: "ɵɵdeferOnTimer",
728
+ moduleName: o
729
+ };
730
+ static deferOnHover = {
731
+ name: "ɵɵdeferOnHover",
732
+ moduleName: o
733
+ };
734
+ static deferOnInteraction = {
735
+ name: "ɵɵdeferOnInteraction",
736
+ moduleName: o
737
+ };
738
+ static deferOnViewport = {
739
+ name: "ɵɵdeferOnViewport",
740
+ moduleName: o
741
+ };
742
+ static deferPrefetchWhen = {
743
+ name: "ɵɵdeferPrefetchWhen",
744
+ moduleName: o
745
+ };
746
+ static deferPrefetchOnIdle = {
747
+ name: "ɵɵdeferPrefetchOnIdle",
748
+ moduleName: o
749
+ };
750
+ static deferPrefetchOnImmediate = {
751
+ name: "ɵɵdeferPrefetchOnImmediate",
752
+ moduleName: o
753
+ };
754
+ static deferPrefetchOnTimer = {
755
+ name: "ɵɵdeferPrefetchOnTimer",
756
+ moduleName: o
757
+ };
758
+ static deferPrefetchOnHover = {
759
+ name: "ɵɵdeferPrefetchOnHover",
760
+ moduleName: o
761
+ };
762
+ static deferPrefetchOnInteraction = {
763
+ name: "ɵɵdeferPrefetchOnInteraction",
764
+ moduleName: o
765
+ };
766
+ static deferPrefetchOnViewport = {
767
+ name: "ɵɵdeferPrefetchOnViewport",
768
+ moduleName: o
769
+ };
770
+ static deferHydrateWhen = {
771
+ name: "ɵɵdeferHydrateWhen",
772
+ moduleName: o
773
+ };
774
+ static deferHydrateNever = {
775
+ name: "ɵɵdeferHydrateNever",
776
+ moduleName: o
777
+ };
778
+ static deferHydrateOnIdle = {
779
+ name: "ɵɵdeferHydrateOnIdle",
780
+ moduleName: o
781
+ };
782
+ static deferHydrateOnImmediate = {
783
+ name: "ɵɵdeferHydrateOnImmediate",
784
+ moduleName: o
785
+ };
786
+ static deferHydrateOnTimer = {
787
+ name: "ɵɵdeferHydrateOnTimer",
788
+ moduleName: o
789
+ };
790
+ static deferHydrateOnHover = {
791
+ name: "ɵɵdeferHydrateOnHover",
792
+ moduleName: o
793
+ };
794
+ static deferHydrateOnInteraction = {
795
+ name: "ɵɵdeferHydrateOnInteraction",
796
+ moduleName: o
797
+ };
798
+ static deferHydrateOnViewport = {
799
+ name: "ɵɵdeferHydrateOnViewport",
800
+ moduleName: o
801
+ };
802
+ static deferEnableTimerScheduling = {
803
+ name: "ɵɵdeferEnableTimerScheduling",
804
+ moduleName: o
805
+ };
806
+ static conditionalCreate = {
807
+ name: "ɵɵconditionalCreate",
808
+ moduleName: o
809
+ };
810
+ static conditionalBranchCreate = {
811
+ name: "ɵɵconditionalBranchCreate",
812
+ moduleName: o
813
+ };
814
+ static conditional = {
815
+ name: "ɵɵconditional",
816
+ moduleName: o
817
+ };
818
+ static repeater = {
819
+ name: "ɵɵrepeater",
820
+ moduleName: o
821
+ };
822
+ static repeaterCreate = {
823
+ name: "ɵɵrepeaterCreate",
824
+ moduleName: o
825
+ };
826
+ static repeaterTrackByIndex = {
827
+ name: "ɵɵrepeaterTrackByIndex",
828
+ moduleName: o
829
+ };
830
+ static repeaterTrackByIdentity = {
831
+ name: "ɵɵrepeaterTrackByIdentity",
832
+ moduleName: o
833
+ };
834
+ static componentInstance = {
835
+ name: "ɵɵcomponentInstance",
836
+ moduleName: o
837
+ };
838
+ static text = {
839
+ name: "ɵɵtext",
840
+ moduleName: o
841
+ };
842
+ static enableBindings = {
843
+ name: "ɵɵenableBindings",
844
+ moduleName: o
845
+ };
846
+ static disableBindings = {
847
+ name: "ɵɵdisableBindings",
848
+ moduleName: o
849
+ };
850
+ static getCurrentView = {
851
+ name: "ɵɵgetCurrentView",
852
+ moduleName: o
853
+ };
854
+ static textInterpolate = {
855
+ name: "ɵɵtextInterpolate",
856
+ moduleName: o
857
+ };
858
+ static textInterpolate1 = {
859
+ name: "ɵɵtextInterpolate1",
860
+ moduleName: o
861
+ };
862
+ static textInterpolate2 = {
863
+ name: "ɵɵtextInterpolate2",
864
+ moduleName: o
865
+ };
866
+ static textInterpolate3 = {
867
+ name: "ɵɵtextInterpolate3",
868
+ moduleName: o
869
+ };
870
+ static textInterpolate4 = {
871
+ name: "ɵɵtextInterpolate4",
872
+ moduleName: o
873
+ };
874
+ static textInterpolate5 = {
875
+ name: "ɵɵtextInterpolate5",
876
+ moduleName: o
877
+ };
878
+ static textInterpolate6 = {
879
+ name: "ɵɵtextInterpolate6",
880
+ moduleName: o
881
+ };
882
+ static textInterpolate7 = {
883
+ name: "ɵɵtextInterpolate7",
884
+ moduleName: o
885
+ };
886
+ static textInterpolate8 = {
887
+ name: "ɵɵtextInterpolate8",
888
+ moduleName: o
889
+ };
890
+ static textInterpolateV = {
891
+ name: "ɵɵtextInterpolateV",
892
+ moduleName: o
893
+ };
894
+ static restoreView = {
895
+ name: "ɵɵrestoreView",
896
+ moduleName: o
897
+ };
898
+ static pureFunction0 = {
899
+ name: "ɵɵpureFunction0",
900
+ moduleName: o
901
+ };
902
+ static pureFunction1 = {
903
+ name: "ɵɵpureFunction1",
904
+ moduleName: o
905
+ };
906
+ static pureFunction2 = {
907
+ name: "ɵɵpureFunction2",
908
+ moduleName: o
909
+ };
910
+ static pureFunction3 = {
911
+ name: "ɵɵpureFunction3",
912
+ moduleName: o
913
+ };
914
+ static pureFunction4 = {
915
+ name: "ɵɵpureFunction4",
916
+ moduleName: o
917
+ };
918
+ static pureFunction5 = {
919
+ name: "ɵɵpureFunction5",
920
+ moduleName: o
921
+ };
922
+ static pureFunction6 = {
923
+ name: "ɵɵpureFunction6",
924
+ moduleName: o
925
+ };
926
+ static pureFunction7 = {
927
+ name: "ɵɵpureFunction7",
928
+ moduleName: o
929
+ };
930
+ static pureFunction8 = {
931
+ name: "ɵɵpureFunction8",
932
+ moduleName: o
933
+ };
934
+ static pureFunctionV = {
935
+ name: "ɵɵpureFunctionV",
936
+ moduleName: o
937
+ };
938
+ static pipeBind1 = {
939
+ name: "ɵɵpipeBind1",
940
+ moduleName: o
941
+ };
942
+ static pipeBind2 = {
943
+ name: "ɵɵpipeBind2",
944
+ moduleName: o
945
+ };
946
+ static pipeBind3 = {
947
+ name: "ɵɵpipeBind3",
948
+ moduleName: o
949
+ };
950
+ static pipeBind4 = {
951
+ name: "ɵɵpipeBind4",
952
+ moduleName: o
953
+ };
954
+ static pipeBindV = {
955
+ name: "ɵɵpipeBindV",
956
+ moduleName: o
957
+ };
958
+ static domProperty = {
959
+ name: "ɵɵdomProperty",
960
+ moduleName: o
961
+ };
962
+ static ariaProperty = {
963
+ name: "ɵɵariaProperty",
964
+ moduleName: o
965
+ };
966
+ static property = {
967
+ name: "ɵɵproperty",
968
+ moduleName: o
969
+ };
970
+ static control = {
971
+ name: "ɵɵcontrol",
972
+ moduleName: o
973
+ };
974
+ static controlCreate = {
975
+ name: "ɵɵcontrolCreate",
976
+ moduleName: o
977
+ };
978
+ static animationEnterListener = {
979
+ name: "ɵɵanimateEnterListener",
980
+ moduleName: o
981
+ };
982
+ static animationLeaveListener = {
983
+ name: "ɵɵanimateLeaveListener",
984
+ moduleName: o
985
+ };
986
+ static animationEnter = {
987
+ name: "ɵɵanimateEnter",
988
+ moduleName: o
989
+ };
990
+ static animationLeave = {
991
+ name: "ɵɵanimateLeave",
992
+ moduleName: o
993
+ };
994
+ static i18n = {
995
+ name: "ɵɵi18n",
996
+ moduleName: o
997
+ };
998
+ static i18nAttributes = {
999
+ name: "ɵɵi18nAttributes",
1000
+ moduleName: o
1001
+ };
1002
+ static i18nExp = {
1003
+ name: "ɵɵi18nExp",
1004
+ moduleName: o
1005
+ };
1006
+ static i18nStart = {
1007
+ name: "ɵɵi18nStart",
1008
+ moduleName: o
1009
+ };
1010
+ static i18nEnd = {
1011
+ name: "ɵɵi18nEnd",
1012
+ moduleName: o
1013
+ };
1014
+ static i18nApply = {
1015
+ name: "ɵɵi18nApply",
1016
+ moduleName: o
1017
+ };
1018
+ static i18nPostprocess = {
1019
+ name: "ɵɵi18nPostprocess",
1020
+ moduleName: o
1021
+ };
1022
+ static pipe = {
1023
+ name: "ɵɵpipe",
1024
+ moduleName: o
1025
+ };
1026
+ static projection = {
1027
+ name: "ɵɵprojection",
1028
+ moduleName: o
1029
+ };
1030
+ static projectionDef = {
1031
+ name: "ɵɵprojectionDef",
1032
+ moduleName: o
1033
+ };
1034
+ static reference = {
1035
+ name: "ɵɵreference",
1036
+ moduleName: o
1037
+ };
1038
+ static inject = {
1039
+ name: "ɵɵinject",
1040
+ moduleName: o
1041
+ };
1042
+ static injectAttribute = {
1043
+ name: "ɵɵinjectAttribute",
1044
+ moduleName: o
1045
+ };
1046
+ static directiveInject = {
1047
+ name: "ɵɵdirectiveInject",
1048
+ moduleName: o
1049
+ };
1050
+ static invalidFactory = {
1051
+ name: "ɵɵinvalidFactory",
1052
+ moduleName: o
1053
+ };
1054
+ static invalidFactoryDep = {
1055
+ name: "ɵɵinvalidFactoryDep",
1056
+ moduleName: o
1057
+ };
1058
+ static templateRefExtractor = {
1059
+ name: "ɵɵtemplateRefExtractor",
1060
+ moduleName: o
1061
+ };
1062
+ static forwardRef = {
1063
+ name: "forwardRef",
1064
+ moduleName: o
1065
+ };
1066
+ static resolveForwardRef = {
1067
+ name: "resolveForwardRef",
1068
+ moduleName: o
1069
+ };
1070
+ static replaceMetadata = {
1071
+ name: "ɵɵreplaceMetadata",
1072
+ moduleName: o
1073
+ };
1074
+ static getReplaceMetadataURL = {
1075
+ name: "ɵɵgetReplaceMetadataURL",
1076
+ moduleName: o
1077
+ };
1078
+ static ɵɵdefineInjectable = {
1079
+ name: "ɵɵdefineInjectable",
1080
+ moduleName: o
1081
+ };
1082
+ static declareInjectable = {
1083
+ name: "ɵɵngDeclareInjectable",
1084
+ moduleName: o
1085
+ };
1086
+ static InjectableDeclaration = {
1087
+ name: "ɵɵInjectableDeclaration",
1088
+ moduleName: o
1089
+ };
1090
+ static resolveWindow = {
1091
+ name: "ɵɵresolveWindow",
1092
+ moduleName: o
1093
+ };
1094
+ static resolveDocument = {
1095
+ name: "ɵɵresolveDocument",
1096
+ moduleName: o
1097
+ };
1098
+ static resolveBody = {
1099
+ name: "ɵɵresolveBody",
1100
+ moduleName: o
1101
+ };
1102
+ static getComponentDepsFactory = {
1103
+ name: "ɵɵgetComponentDepsFactory",
1104
+ moduleName: o
1105
+ };
1106
+ static defineComponent = {
1107
+ name: "ɵɵdefineComponent",
1108
+ moduleName: o
1109
+ };
1110
+ static declareComponent = {
1111
+ name: "ɵɵngDeclareComponent",
1112
+ moduleName: o
1113
+ };
1114
+ static setComponentScope = {
1115
+ name: "ɵɵsetComponentScope",
1116
+ moduleName: o
1117
+ };
1118
+ static ChangeDetectionStrategy = {
1119
+ name: "ChangeDetectionStrategy",
1120
+ moduleName: o
1121
+ };
1122
+ static ViewEncapsulation = {
1123
+ name: "ViewEncapsulation",
1124
+ moduleName: o
1125
+ };
1126
+ static ComponentDeclaration = {
1127
+ name: "ɵɵComponentDeclaration",
1128
+ moduleName: o
1129
+ };
1130
+ static FactoryDeclaration = {
1131
+ name: "ɵɵFactoryDeclaration",
1132
+ moduleName: o
1133
+ };
1134
+ static declareFactory = {
1135
+ name: "ɵɵngDeclareFactory",
1136
+ moduleName: o
1137
+ };
1138
+ static FactoryTarget = {
1139
+ name: "ɵɵFactoryTarget",
1140
+ moduleName: o
1141
+ };
1142
+ static defineDirective = {
1143
+ name: "ɵɵdefineDirective",
1144
+ moduleName: o
1145
+ };
1146
+ static declareDirective = {
1147
+ name: "ɵɵngDeclareDirective",
1148
+ moduleName: o
1149
+ };
1150
+ static DirectiveDeclaration = {
1151
+ name: "ɵɵDirectiveDeclaration",
1152
+ moduleName: o
1153
+ };
1154
+ static InjectorDef = {
1155
+ name: "ɵɵInjectorDef",
1156
+ moduleName: o
1157
+ };
1158
+ static InjectorDeclaration = {
1159
+ name: "ɵɵInjectorDeclaration",
1160
+ moduleName: o
1161
+ };
1162
+ static defineInjector = {
1163
+ name: "ɵɵdefineInjector",
1164
+ moduleName: o
1165
+ };
1166
+ static declareInjector = {
1167
+ name: "ɵɵngDeclareInjector",
1168
+ moduleName: o
1169
+ };
1170
+ static NgModuleDeclaration = {
1171
+ name: "ɵɵNgModuleDeclaration",
1172
+ moduleName: o
1173
+ };
1174
+ static ModuleWithProviders = {
1175
+ name: "ModuleWithProviders",
1176
+ moduleName: o
1177
+ };
1178
+ static defineNgModule = {
1179
+ name: "ɵɵdefineNgModule",
1180
+ moduleName: o
1181
+ };
1182
+ static declareNgModule = {
1183
+ name: "ɵɵngDeclareNgModule",
1184
+ moduleName: o
1185
+ };
1186
+ static setNgModuleScope = {
1187
+ name: "ɵɵsetNgModuleScope",
1188
+ moduleName: o
1189
+ };
1190
+ static registerNgModuleType = {
1191
+ name: "ɵɵregisterNgModuleType",
1192
+ moduleName: o
1193
+ };
1194
+ static PipeDeclaration = {
1195
+ name: "ɵɵPipeDeclaration",
1196
+ moduleName: o
1197
+ };
1198
+ static definePipe = {
1199
+ name: "ɵɵdefinePipe",
1200
+ moduleName: o
1201
+ };
1202
+ static declarePipe = {
1203
+ name: "ɵɵngDeclarePipe",
1204
+ moduleName: o
1205
+ };
1206
+ static declareClassMetadata = {
1207
+ name: "ɵɵngDeclareClassMetadata",
1208
+ moduleName: o
1209
+ };
1210
+ static declareClassMetadataAsync = {
1211
+ name: "ɵɵngDeclareClassMetadataAsync",
1212
+ moduleName: o
1213
+ };
1214
+ static setClassMetadata = {
1215
+ name: "ɵsetClassMetadata",
1216
+ moduleName: o
1217
+ };
1218
+ static setClassMetadataAsync = {
1219
+ name: "ɵsetClassMetadataAsync",
1220
+ moduleName: o
1221
+ };
1222
+ static setClassDebugInfo = {
1223
+ name: "ɵsetClassDebugInfo",
1224
+ moduleName: o
1225
+ };
1226
+ static queryRefresh = {
1227
+ name: "ɵɵqueryRefresh",
1228
+ moduleName: o
1229
+ };
1230
+ static viewQuery = {
1231
+ name: "ɵɵviewQuery",
1232
+ moduleName: o
1233
+ };
1234
+ static loadQuery = {
1235
+ name: "ɵɵloadQuery",
1236
+ moduleName: o
1237
+ };
1238
+ static contentQuery = {
1239
+ name: "ɵɵcontentQuery",
1240
+ moduleName: o
1241
+ };
1242
+ static viewQuerySignal = {
1243
+ name: "ɵɵviewQuerySignal",
1244
+ moduleName: o
1245
+ };
1246
+ static contentQuerySignal = {
1247
+ name: "ɵɵcontentQuerySignal",
1248
+ moduleName: o
1249
+ };
1250
+ static queryAdvance = {
1251
+ name: "ɵɵqueryAdvance",
1252
+ moduleName: o
1253
+ };
1254
+ static twoWayProperty = {
1255
+ name: "ɵɵtwoWayProperty",
1256
+ moduleName: o
1257
+ };
1258
+ static twoWayBindingSet = {
1259
+ name: "ɵɵtwoWayBindingSet",
1260
+ moduleName: o
1261
+ };
1262
+ static twoWayListener = {
1263
+ name: "ɵɵtwoWayListener",
1264
+ moduleName: o
1265
+ };
1266
+ static declareLet = {
1267
+ name: "ɵɵdeclareLet",
1268
+ moduleName: o
1269
+ };
1270
+ static storeLet = {
1271
+ name: "ɵɵstoreLet",
1272
+ moduleName: o
1273
+ };
1274
+ static readContextLet = {
1275
+ name: "ɵɵreadContextLet",
1276
+ moduleName: o
1277
+ };
1278
+ static attachSourceLocations = {
1279
+ name: "ɵɵattachSourceLocations",
1280
+ moduleName: o
1281
+ };
1282
+ static NgOnChangesFeature = {
1283
+ name: "ɵɵNgOnChangesFeature",
1284
+ moduleName: o
1285
+ };
1286
+ static InheritDefinitionFeature = {
1287
+ name: "ɵɵInheritDefinitionFeature",
1288
+ moduleName: o
1289
+ };
1290
+ static ProvidersFeature = {
1291
+ name: "ɵɵProvidersFeature",
1292
+ moduleName: o
1293
+ };
1294
+ static HostDirectivesFeature = {
1295
+ name: "ɵɵHostDirectivesFeature",
1296
+ moduleName: o
1297
+ };
1298
+ static ExternalStylesFeature = {
1299
+ name: "ɵɵExternalStylesFeature",
1300
+ moduleName: o
1301
+ };
1302
+ static listener = {
1303
+ name: "ɵɵlistener",
1304
+ moduleName: o
1305
+ };
1306
+ static getInheritedFactory = {
1307
+ name: "ɵɵgetInheritedFactory",
1308
+ moduleName: o
1309
+ };
1310
+ static sanitizeHtml = {
1311
+ name: "ɵɵsanitizeHtml",
1312
+ moduleName: o
1313
+ };
1314
+ static sanitizeStyle = {
1315
+ name: "ɵɵsanitizeStyle",
1316
+ moduleName: o
1317
+ };
1318
+ static validateAttribute = {
1319
+ name: "ɵɵvalidateAttribute",
1320
+ moduleName: o
1321
+ };
1322
+ static sanitizeResourceUrl = {
1323
+ name: "ɵɵsanitizeResourceUrl",
1324
+ moduleName: o
1325
+ };
1326
+ static sanitizeScript = {
1327
+ name: "ɵɵsanitizeScript",
1328
+ moduleName: o
1329
+ };
1330
+ static sanitizeUrl = {
1331
+ name: "ɵɵsanitizeUrl",
1332
+ moduleName: o
1333
+ };
1334
+ static sanitizeUrlOrResourceUrl = {
1335
+ name: "ɵɵsanitizeUrlOrResourceUrl",
1336
+ moduleName: o
1337
+ };
1338
+ static trustConstantHtml = {
1339
+ name: "ɵɵtrustConstantHtml",
1340
+ moduleName: o
1341
+ };
1342
+ static trustConstantResourceUrl = {
1343
+ name: "ɵɵtrustConstantResourceUrl",
1344
+ moduleName: o
1345
+ };
1346
+ static inputDecorator = {
1347
+ name: "Input",
1348
+ moduleName: o
1349
+ };
1350
+ static outputDecorator = {
1351
+ name: "Output",
1352
+ moduleName: o
1353
+ };
1354
+ static viewChildDecorator = {
1355
+ name: "ViewChild",
1356
+ moduleName: o
1357
+ };
1358
+ static viewChildrenDecorator = {
1359
+ name: "ViewChildren",
1360
+ moduleName: o
1361
+ };
1362
+ static contentChildDecorator = {
1363
+ name: "ContentChild",
1364
+ moduleName: o
1365
+ };
1366
+ static contentChildrenDecorator = {
1367
+ name: "ContentChildren",
1368
+ moduleName: o
1369
+ };
1370
+ static InputSignalBrandWriteType = {
1371
+ name: "ɵINPUT_SIGNAL_BRAND_WRITE_TYPE",
1372
+ moduleName: o
1373
+ };
1374
+ static UnwrapDirectiveSignalInputs = {
1375
+ name: "ɵUnwrapDirectiveSignalInputs",
1376
+ moduleName: o
1377
+ };
1378
+ static unwrapWritableSignal = {
1379
+ name: "ɵunwrapWritableSignal",
1380
+ moduleName: o
1381
+ };
1382
+ static assertType = {
1383
+ name: "ɵassertType",
1384
+ moduleName: o
1385
+ };
1386
+ };
1387
+ var St = class {
1388
+ full;
1389
+ major;
1390
+ minor;
1391
+ patch;
1392
+ constructor(e) {
1393
+ this.full = e;
1394
+ let n = e.split(".");
1395
+ this.major = n[0], this.minor = n[1], this.patch = n.slice(2).join(".");
1396
+ }
1397
+ };
1398
+ new Map([
1399
+ [c.And, "&&"],
1400
+ [c.Bigger, ">"],
1401
+ [c.BiggerEquals, ">="],
1402
+ [c.BitwiseOr, "|"],
1403
+ [c.BitwiseAnd, "&"],
1404
+ [c.Divide, "/"],
1405
+ [c.Assign, "="],
1406
+ [c.Equals, "=="],
1407
+ [c.Identical, "==="],
1408
+ [c.Lower, "<"],
1409
+ [c.LowerEquals, "<="],
1410
+ [c.Minus, "-"],
1411
+ [c.Modulo, "%"],
1412
+ [c.Exponentiation, "**"],
1413
+ [c.Multiply, "*"],
1414
+ [c.NotEquals, "!="],
1415
+ [c.NotIdentical, "!=="],
1416
+ [c.NullishCoalesce, "??"],
1417
+ [c.Or, "||"],
1418
+ [c.Plus, "+"],
1419
+ [c.In, "in"],
1420
+ [c.AdditionAssignment, "+="],
1421
+ [c.SubtractionAssignment, "-="],
1422
+ [c.MultiplicationAssignment, "*="],
1423
+ [c.DivisionAssignment, "/="],
1424
+ [c.RemainderAssignment, "%="],
1425
+ [c.ExponentiationAssignment, "**="],
1426
+ [c.AndAssignment, "&&="],
1427
+ [c.OrAssignment, "||="],
1428
+ [c.NullishCoalesceAssignment, "??="]
1429
+ ]);
1430
+ var Tn;
1431
+ (function(t) {
1432
+ t[t.Class = 0] = "Class", t[t.Function = 1] = "Function";
1433
+ })(Tn || (Tn = {}));
1434
+ var X = class {
1435
+ start;
1436
+ end;
1437
+ constructor(e, n) {
1438
+ this.start = e, this.end = n;
1439
+ }
1440
+ toAbsolute(e) {
1441
+ return new $(e + this.start, e + this.end);
1442
+ }
1443
+ }, g = class {
1444
+ span;
1445
+ sourceSpan;
1446
+ constructor(e, n) {
1447
+ this.span = e, this.sourceSpan = n;
1448
+ }
1449
+ toString() {
1450
+ return "AST";
1451
+ }
1452
+ }, Se = class extends g {
1453
+ nameSpan;
1454
+ constructor(e, n, s) {
1455
+ super(e, n), this.nameSpan = s;
1456
+ }
1457
+ }, b = class extends g {
1458
+ visit(e, n = null) {}
1459
+ }, ne = class extends g {
1460
+ visit(e, n = null) {
1461
+ return e.visitImplicitReceiver(this, n);
1462
+ }
1463
+ }, Et = class extends g {
1464
+ visit(e, n = null) {
1465
+ return e.visitThisReceiver?.(this, n);
1466
+ }
1467
+ }, yt = class extends g {
1468
+ expressions;
1469
+ constructor(e, n, s) {
1470
+ super(e, n), this.expressions = s;
1471
+ }
1472
+ visit(e, n = null) {
1473
+ return e.visitChain(this, n);
1474
+ }
1475
+ }, Ct = class extends g {
1476
+ condition;
1477
+ trueExp;
1478
+ falseExp;
1479
+ constructor(e, n, s, i, r) {
1480
+ super(e, n), this.condition = s, this.trueExp = i, this.falseExp = r;
1481
+ }
1482
+ visit(e, n = null) {
1483
+ return e.visitConditional(this, n);
1484
+ }
1485
+ }, de = class extends Se {
1486
+ receiver;
1487
+ name;
1488
+ constructor(e, n, s, i, r) {
1489
+ super(e, n, s), this.receiver = i, this.name = r;
1490
+ }
1491
+ visit(e, n = null) {
1492
+ return e.visitPropertyRead(this, n);
1493
+ }
1494
+ }, _t = class extends Se {
1495
+ receiver;
1496
+ name;
1497
+ constructor(e, n, s, i, r) {
1498
+ super(e, n, s), this.receiver = i, this.name = r;
1499
+ }
1500
+ visit(e, n = null) {
1501
+ return e.visitSafePropertyRead(this, n);
1502
+ }
1503
+ }, Le = class extends g {
1504
+ receiver;
1505
+ key;
1506
+ constructor(e, n, s, i) {
1507
+ super(e, n), this.receiver = s, this.key = i;
1508
+ }
1509
+ visit(e, n = null) {
1510
+ return e.visitKeyedRead(this, n);
1511
+ }
1512
+ }, Tt = class extends g {
1513
+ receiver;
1514
+ key;
1515
+ constructor(e, n, s, i) {
1516
+ super(e, n), this.receiver = s, this.key = i;
1517
+ }
1518
+ visit(e, n = null) {
1519
+ return e.visitSafeKeyedRead(this, n);
1520
+ }
1521
+ }, me;
1522
+ (function(t) {
1523
+ t[t.ReferencedByName = 0] = "ReferencedByName", t[t.ReferencedDirectly = 1] = "ReferencedDirectly";
1524
+ })(me || (me = {}));
1525
+ var kt = class extends Se {
1526
+ exp;
1527
+ name;
1528
+ args;
1529
+ type;
1530
+ constructor(e, n, s, i, r, a, u) {
1531
+ super(e, n, u), this.exp = s, this.name = i, this.args = r, this.type = a;
1532
+ }
1533
+ visit(e, n = null) {
1534
+ return e.visitPipe(this, n);
1535
+ }
1536
+ }, I = class extends g {
1537
+ value;
1538
+ constructor(e, n, s) {
1539
+ super(e, n), this.value = s;
1540
+ }
1541
+ visit(e, n = null) {
1542
+ return e.visitLiteralPrimitive(this, n);
1543
+ }
1544
+ }, bt = class extends g {
1545
+ expressions;
1546
+ constructor(e, n, s) {
1547
+ super(e, n), this.expressions = s;
1548
+ }
1549
+ visit(e, n = null) {
1550
+ return e.visitLiteralArray(this, n);
1551
+ }
1552
+ }, At = class extends g {
1553
+ expression;
1554
+ constructor(e, n, s) {
1555
+ super(e, n), this.expression = s;
1556
+ }
1557
+ visit(e, n = null) {
1558
+ return e.visitSpreadElement(this, n);
1559
+ }
1560
+ }, It = class extends g {
1561
+ keys;
1562
+ values;
1563
+ constructor(e, n, s, i) {
1564
+ super(e, n), this.keys = s, this.values = i;
1565
+ }
1566
+ visit(e, n = null) {
1567
+ return e.visitLiteralMap(this, n);
1568
+ }
1569
+ }, Ii = class extends g {
1570
+ strings;
1571
+ expressions;
1572
+ constructor(e, n, s, i) {
1573
+ super(e, n), this.strings = s, this.expressions = i;
1574
+ }
1575
+ visit(e, n = null) {
1576
+ return e.visitInterpolation(this, n);
1577
+ }
1578
+ }, E = class extends g {
1579
+ operation;
1580
+ left;
1581
+ right;
1582
+ constructor(e, n, s, i, r) {
1583
+ super(e, n), this.operation = s, this.left = i, this.right = r;
1584
+ }
1585
+ visit(e, n = null) {
1586
+ return e.visitBinary(this, n);
1587
+ }
1588
+ static isAssignmentOperation(e) {
1589
+ return e === "=" || e === "+=" || e === "-=" || e === "*=" || e === "/=" || e === "%=" || e === "**=" || e === "&&=" || e === "||=" || e === "??=";
1590
+ }
1591
+ }, ge = class t extends E {
1592
+ operator;
1593
+ expr;
1594
+ left = null;
1595
+ right = null;
1596
+ operation = null;
1597
+ static createMinus(e, n, s) {
1598
+ return new t(e, n, "-", s, "-", new I(e, n, 0), s);
1599
+ }
1600
+ static createPlus(e, n, s) {
1601
+ return new t(e, n, "+", s, "-", s, new I(e, n, 0));
1602
+ }
1603
+ constructor(e, n, s, i, r, a, u) {
1604
+ super(e, n, r, a, u), this.operator = s, this.expr = i;
1605
+ }
1606
+ visit(e, n = null) {
1607
+ return e.visitUnary !== void 0 ? e.visitUnary(this, n) : e.visitBinary(this, n);
1608
+ }
1609
+ }, Me = class extends g {
1610
+ expression;
1611
+ constructor(e, n, s) {
1612
+ super(e, n), this.expression = s;
1613
+ }
1614
+ visit(e, n = null) {
1615
+ return e.visitPrefixNot(this, n);
1616
+ }
1617
+ }, Re = class extends g {
1618
+ expression;
1619
+ constructor(e, n, s) {
1620
+ super(e, n), this.expression = s;
1621
+ }
1622
+ visit(e, n = null) {
1623
+ return e.visitTypeofExpression(this, n);
1624
+ }
1625
+ }, $e = class extends g {
1626
+ expression;
1627
+ constructor(e, n, s) {
1628
+ super(e, n), this.expression = s;
1629
+ }
1630
+ visit(e, n = null) {
1631
+ return e.visitVoidExpression(this, n);
1632
+ }
1633
+ }, Nt = class extends g {
1634
+ expression;
1635
+ constructor(e, n, s) {
1636
+ super(e, n), this.expression = s;
1637
+ }
1638
+ visit(e, n = null) {
1639
+ return e.visitNonNullAssert(this, n);
1640
+ }
1641
+ }, Pt = class extends g {
1642
+ receiver;
1643
+ args;
1644
+ argumentSpan;
1645
+ constructor(e, n, s, i, r) {
1646
+ super(e, n), this.receiver = s, this.args = i, this.argumentSpan = r;
1647
+ }
1648
+ visit(e, n = null) {
1649
+ return e.visitCall(this, n);
1650
+ }
1651
+ }, Lt = class extends g {
1652
+ receiver;
1653
+ args;
1654
+ argumentSpan;
1655
+ constructor(e, n, s, i, r) {
1656
+ super(e, n), this.receiver = s, this.args = i, this.argumentSpan = r;
1657
+ }
1658
+ visit(e, n = null) {
1659
+ return e.visitSafeCall(this, n);
1660
+ }
1661
+ }, De = class extends g {
1662
+ tag;
1663
+ template;
1664
+ constructor(e, n, s, i) {
1665
+ super(e, n), this.tag = s, this.template = i;
1666
+ }
1667
+ visit(e, n) {
1668
+ return e.visitTaggedTemplateLiteral(this, n);
1669
+ }
1670
+ }, Be = class extends g {
1671
+ elements;
1672
+ expressions;
1673
+ constructor(e, n, s, i) {
1674
+ super(e, n), this.elements = s, this.expressions = i;
1675
+ }
1676
+ visit(e, n) {
1677
+ return e.visitTemplateLiteral(this, n);
1678
+ }
1679
+ }, Oe = class extends g {
1680
+ text;
1681
+ constructor(e, n, s) {
1682
+ super(e, n), this.text = s;
1683
+ }
1684
+ visit(e, n) {
1685
+ return e.visitTemplateLiteralElement(this, n);
1686
+ }
1687
+ }, Ee = class extends g {
1688
+ expression;
1689
+ constructor(e, n, s) {
1690
+ super(e, n), this.expression = s;
1691
+ }
1692
+ visit(e, n) {
1693
+ return e.visitParenthesizedExpression(this, n);
1694
+ }
1695
+ }, Mt = class extends g {
1696
+ body;
1697
+ flags;
1698
+ constructor(e, n, s, i) {
1699
+ super(e, n), this.body = s, this.flags = i;
1700
+ }
1701
+ visit(e, n) {
1702
+ return e.visitRegularExpressionLiteral(this, n);
1703
+ }
1704
+ }, $ = class {
1705
+ start;
1706
+ end;
1707
+ constructor(e, n) {
1708
+ this.start = e, this.end = n;
1709
+ }
1710
+ }, O = class extends g {
1711
+ ast;
1712
+ source;
1713
+ location;
1714
+ errors;
1715
+ constructor(e, n, s, i, r) {
1716
+ super(new X(0, n === null ? 0 : n.length), new $(i, n === null ? i : i + n.length)), this.ast = e, this.source = n, this.location = s, this.errors = r;
1717
+ }
1718
+ visit(e, n = null) {
1719
+ return e.visitASTWithSource ? e.visitASTWithSource(this, n) : this.ast.visit(e, n);
1720
+ }
1721
+ toString() {
1722
+ return `${this.source} in ${this.location}`;
1723
+ }
1724
+ }, se = class {
1725
+ sourceSpan;
1726
+ key;
1727
+ value;
1728
+ constructor(e, n, s) {
1729
+ this.sourceSpan = e, this.key = n, this.value = s;
1730
+ }
1731
+ }, ye = class {
1732
+ sourceSpan;
1733
+ key;
1734
+ value;
1735
+ constructor(e, n, s) {
1736
+ this.sourceSpan = e, this.key = n, this.value = s;
1737
+ }
1738
+ }, Rt = class {
1739
+ visit(e, n) {
1740
+ e.visit(this, n);
1741
+ }
1742
+ visitUnary(e, n) {
1743
+ this.visit(e.expr, n);
1744
+ }
1745
+ visitBinary(e, n) {
1746
+ this.visit(e.left, n), this.visit(e.right, n);
1747
+ }
1748
+ visitChain(e, n) {
1749
+ this.visitAll(e.expressions, n);
1750
+ }
1751
+ visitConditional(e, n) {
1752
+ this.visit(e.condition, n), this.visit(e.trueExp, n), this.visit(e.falseExp, n);
1753
+ }
1754
+ visitPipe(e, n) {
1755
+ this.visit(e.exp, n), this.visitAll(e.args, n);
1756
+ }
1757
+ visitImplicitReceiver(e, n) {}
1758
+ visitThisReceiver(e, n) {}
1759
+ visitInterpolation(e, n) {
1760
+ this.visitAll(e.expressions, n);
1761
+ }
1762
+ visitKeyedRead(e, n) {
1763
+ this.visit(e.receiver, n), this.visit(e.key, n);
1764
+ }
1765
+ visitLiteralArray(e, n) {
1766
+ this.visitAll(e.expressions, n);
1767
+ }
1768
+ visitLiteralMap(e, n) {
1769
+ this.visitAll(e.values, n);
1770
+ }
1771
+ visitLiteralPrimitive(e, n) {}
1772
+ visitPrefixNot(e, n) {
1773
+ this.visit(e.expression, n);
1774
+ }
1775
+ visitTypeofExpression(e, n) {
1776
+ this.visit(e.expression, n);
1777
+ }
1778
+ visitVoidExpression(e, n) {
1779
+ this.visit(e.expression, n);
1780
+ }
1781
+ visitNonNullAssert(e, n) {
1782
+ this.visit(e.expression, n);
1783
+ }
1784
+ visitPropertyRead(e, n) {
1785
+ this.visit(e.receiver, n);
1786
+ }
1787
+ visitSafePropertyRead(e, n) {
1788
+ this.visit(e.receiver, n);
1789
+ }
1790
+ visitSafeKeyedRead(e, n) {
1791
+ this.visit(e.receiver, n), this.visit(e.key, n);
1792
+ }
1793
+ visitCall(e, n) {
1794
+ this.visit(e.receiver, n), this.visitAll(e.args, n);
1795
+ }
1796
+ visitSafeCall(e, n) {
1797
+ this.visit(e.receiver, n), this.visitAll(e.args, n);
1798
+ }
1799
+ visitTemplateLiteral(e, n) {
1800
+ for (let s = 0; s < e.elements.length; s++) {
1801
+ this.visit(e.elements[s], n);
1802
+ let i = s < e.expressions.length ? e.expressions[s] : null;
1803
+ i !== null && this.visit(i, n);
1804
+ }
1805
+ }
1806
+ visitTemplateLiteralElement(e, n) {}
1807
+ visitTaggedTemplateLiteral(e, n) {
1808
+ this.visit(e.tag, n), this.visit(e.template, n);
1809
+ }
1810
+ visitParenthesizedExpression(e, n) {
1811
+ this.visit(e.expression, n);
1812
+ }
1813
+ visitRegularExpressionLiteral(e, n) {}
1814
+ visitSpreadElement(e, n) {
1815
+ this.visit(e.expression, n);
1816
+ }
1817
+ visitAll(e, n) {
1818
+ for (let s of e) this.visit(s, n);
1819
+ }
1820
+ };
1821
+ var kn;
1822
+ (function(t) {
1823
+ 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";
1824
+ })(kn || (kn = {}));
1825
+ var bn;
1826
+ (function(t) {
1827
+ t[t.Regular = 0] = "Regular", t[t.LegacyAnimation = 1] = "LegacyAnimation", t[t.TwoWay = 2] = "TwoWay", t[t.Animation = 3] = "Animation";
1828
+ })(bn || (bn = {}));
1829
+ var L;
1830
+ (function(t) {
1831
+ 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";
1832
+ })(L || (L = {}));
1833
+ var An;
1834
+ (function(t) {
1835
+ t[t.RAW_TEXT = 0] = "RAW_TEXT", t[t.ESCAPABLE_RAW_TEXT = 1] = "ESCAPABLE_RAW_TEXT", t[t.PARSABLE_DATA = 2] = "PARSABLE_DATA";
1836
+ })(An || (An = {}));
1837
+ var pe = 0;
1838
+ var os = 9, Ie = 10, Ni = 11, Pi = 12, Li = 13, as = 32, Mi = 33, ls = 34, Ri = 35, Wt = 36, $i = 37, In = 38, cs = 39, ve = 40, q = 41, Nn = 42, us = 43, Q = 44, ps = 45, H = 46, Fe = 47, j = 58, fe = 59, Di = 60, k = 61, Bi = 62, Pn = 63, Oi = 48;
1839
+ var Fi = 57, qt = 65, Vi = 69;
1840
+ var jt = 90, te = 91, it = 92, G = 93, Ui = 94, Xe = 95, hs = 97;
1841
+ var Hi = 101, Wi = 102, qi = 110, ji = 114, zi = 116, Gi = 117, Xi = 118;
1842
+ var fs = 122, Ve = 123, Ln = 124, K = 125, ds = 160;
1843
+ var $t = 96;
1844
+ function Ji(t) {
1845
+ return t >= os && t <= as || t == ds;
1846
+ }
1847
+ function W(t) {
1848
+ return Oi <= t && t <= Fi;
1849
+ }
1850
+ function Dt(t) {
1851
+ return t >= hs && t <= fs || t >= qt && t <= jt;
1852
+ }
1853
+ function Mn(t) {
1854
+ return t === cs || t === ls || t === $t;
1855
+ }
1856
+ var Ue = class t {
1857
+ file;
1858
+ offset;
1859
+ line;
1860
+ col;
1861
+ constructor(e, n, s, i) {
1862
+ this.file = e, this.offset = n, this.line = s, this.col = i;
1863
+ }
1864
+ toString() {
1865
+ return this.offset != null ? `${this.file.url}@${this.line}:${this.col}` : this.file.url;
1866
+ }
1867
+ moveBy(e) {
1868
+ let n = this.file.content, s = n.length, i = this.offset, r = this.line, a = this.col;
1869
+ for (; i > 0 && e < 0;) if (i--, e++, n.charCodeAt(i) == Ie) {
1870
+ r--;
1871
+ let p = n.substring(0, i - 1).lastIndexOf(String.fromCharCode(Ie));
1872
+ a = p > 0 ? i - p : i;
1873
+ } else a--;
1874
+ for (; i < s && e > 0;) {
1875
+ let u = n.charCodeAt(i);
1876
+ i++, e--, u == Ie ? (r++, a = 0) : a++;
1877
+ }
1878
+ return new t(this.file, i, r, a);
1879
+ }
1880
+ getContext(e, n) {
1881
+ let s = this.file.content, i = this.offset;
1882
+ if (i != null) {
1883
+ i > s.length - 1 && (i = s.length - 1);
1884
+ let r = i, a = 0, u = 0;
1885
+ for (; a < e && i > 0 && (i--, a++, !(s[i] == `
1886
+ ` && ++u == n)););
1887
+ for (a = 0, u = 0; a < e && r < s.length - 1 && (r++, a++, !(s[r] == `
1888
+ ` && ++u == n)););
1889
+ return {
1890
+ before: s.substring(i, this.offset),
1891
+ after: s.substring(this.offset, r + 1)
1892
+ };
1893
+ }
1894
+ return null;
1895
+ }
1896
+ }, He = class {
1897
+ content;
1898
+ url;
1899
+ constructor(e, n) {
1900
+ this.content = e, this.url = n;
1901
+ }
1902
+ }, We = class {
1903
+ start;
1904
+ end;
1905
+ fullStart;
1906
+ details;
1907
+ constructor(e, n, s = e, i = null) {
1908
+ this.start = e, this.end = n, this.fullStart = s, this.details = i;
1909
+ }
1910
+ toString() {
1911
+ return this.start.file.content.substring(this.start.offset, this.end.offset);
1912
+ }
1913
+ }, qe;
1914
+ (function(t) {
1915
+ t[t.WARNING = 0] = "WARNING", t[t.ERROR = 1] = "ERROR";
1916
+ })(qe || (qe = {}));
1917
+ var Ce = class extends Error {
1918
+ span;
1919
+ msg;
1920
+ level;
1921
+ relatedError;
1922
+ constructor(e, n, s = qe.ERROR, i) {
1923
+ super(n), this.span = e, this.msg = n, this.level = s, this.relatedError = i, Object.setPrototypeOf(this, new.target.prototype);
1924
+ }
1925
+ contextualMessage() {
1926
+ let e = this.span.start.getContext(100, 3);
1927
+ return e ? `${this.msg} ("${e.before}[${qe[this.level]} ->]${e.after}")` : this.msg;
1928
+ }
1929
+ toString() {
1930
+ let e = this.span.details ? `, ${this.span.details}` : "";
1931
+ return `${this.contextualMessage()}: ${this.span.start}${e}`;
1932
+ }
1933
+ };
1934
+ var Rn;
1935
+ (function(t) {
1936
+ t[t.Inline = 0] = "Inline", t[t.SideEffect = 1] = "SideEffect", t[t.Omit = 2] = "Omit";
1937
+ })(Rn || (Rn = {}));
1938
+ var $n;
1939
+ (function(t) {
1940
+ t[t.Global = 0] = "Global", t[t.Local = 1] = "Local";
1941
+ })($n || ($n = {}));
1942
+ var Dn;
1943
+ (function(t) {
1944
+ t[t.Directive = 0] = "Directive", t[t.Pipe = 1] = "Pipe", t[t.NgModule = 2] = "NgModule";
1945
+ })(Dn || (Dn = {}));
1946
+ var Yi = "(:(where|is)\\()?", ms = "-shadowcsshost", Qi = "-shadowcsscontext", Bt = "[^)(]*", zt = `(?:\\((${`(?:\\(${`(?:\\(${Bt}\\)|${Bt})+?`}\\)|${Bt})+?`})\\))`;
1947
+ new RegExp("(:nth-[-\\w]+)" + zt, "g");
1948
+ new RegExp(ms + zt + "?([^,{]*)", "gim");
1949
+ var er = Qi + zt + "?([^{]*)";
1950
+ new RegExp(`${Yi}(${er})`, "gim");
1951
+ var tr = ms + "-no-combinator";
1952
+ new RegExp(`${tr}(?![^(]*\\))`, "g");
1953
+ var gs = "%COMMENT%";
1954
+ new RegExp(gs, "g");
1955
+ new RegExp(`(\\s*(?:${gs}\\s*)*)([^;\\{\\}]+?)(\\s*)((?:{%BLOCK%}?\\s*;?)|(?:\\s*;))`, "g");
1956
+ var nr = "%COMMA_IN_PLACEHOLDER%", sr = "%SEMI_IN_PLACEHOLDER%", ir = "%COLON_IN_PLACEHOLDER%";
1957
+ new RegExp(nr, "g");
1958
+ new RegExp(sr, "g");
1959
+ new RegExp(ir, "g");
1960
+ var f;
1961
+ (function(t) {
1962
+ 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";
1963
+ })(f || (f = {}));
1964
+ var ie;
1965
+ (function(t) {
1966
+ 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";
1967
+ })(ie || (ie = {}));
1968
+ var Bn;
1969
+ (function(t) {
1970
+ t[t.None = 0] = "None", t[t.AlwaysInline = 1] = "AlwaysInline";
1971
+ })(Bn || (Bn = {}));
1972
+ var On;
1973
+ (function(t) {
1974
+ t[t.Context = 0] = "Context", t[t.Identifier = 1] = "Identifier", t[t.SavedView = 2] = "SavedView", t[t.Alias = 3] = "Alias";
1975
+ })(On || (On = {}));
1976
+ var Fn;
1977
+ (function(t) {
1978
+ t[t.Normal = 0] = "Normal", t[t.TemplateDefinitionBuilder = 1] = "TemplateDefinitionBuilder";
1979
+ })(Fn || (Fn = {}));
1980
+ var M;
1981
+ (function(t) {
1982
+ 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";
1983
+ })(M || (M = {}));
1984
+ var Vn;
1985
+ (function(t) {
1986
+ t[t.Creation = 0] = "Creation", t[t.Postproccessing = 1] = "Postproccessing";
1987
+ })(Vn || (Vn = {}));
1988
+ var Un;
1989
+ (function(t) {
1990
+ t[t.I18nText = 0] = "I18nText", t[t.I18nAttribute = 1] = "I18nAttribute";
1991
+ })(Un || (Un = {}));
1992
+ var Hn;
1993
+ (function(t) {
1994
+ 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";
1995
+ })(Hn || (Hn = {}));
1996
+ var Wn;
1997
+ (function(t) {
1998
+ t[t.HTML = 0] = "HTML", t[t.SVG = 1] = "SVG", t[t.Math = 2] = "Math";
1999
+ })(Wn || (Wn = {}));
2000
+ var R;
2001
+ (function(t) {
2002
+ 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";
2003
+ })(R || (R = {}));
2004
+ var qn;
2005
+ (function(t) {
2006
+ t[t.RootI18n = 0] = "RootI18n", t[t.Icu = 1] = "Icu", t[t.Attr = 2] = "Attr";
2007
+ })(qn || (qn = {}));
2008
+ var jn;
2009
+ (function(t) {
2010
+ t[t.NgTemplate = 0] = "NgTemplate", t[t.Structural = 1] = "Structural", t[t.Block = 2] = "Block";
2011
+ })(jn || (jn = {}));
2012
+ var je = class {
2013
+ strings;
2014
+ expressions;
2015
+ i18nPlaceholders;
2016
+ constructor(e, n, s) {
2017
+ if (this.strings = e, this.expressions = n, this.i18nPlaceholders = s, s.length !== 0 && s.length !== n.length) throw new Error(`Expected ${n.length} placeholders to match interpolation expression count, but got ${s.length}`);
2018
+ }
2019
+ };
2020
+ var Ot;
2021
+ (function(t) {
2022
+ t[t.None = 0] = "None", t[t.InChildOperation = 1] = "InChildOperation";
2023
+ })(Ot || (Ot = {}));
2024
+ new Set([
2025
+ f.Element,
2026
+ f.ElementStart,
2027
+ f.Container,
2028
+ f.ContainerStart,
2029
+ f.Template,
2030
+ f.RepeaterCreate,
2031
+ f.ConditionalCreate,
2032
+ f.ConditionalBranchCreate
2033
+ ]);
2034
+ var Yn;
2035
+ (function(t) {
2036
+ t[t.Tmpl = 0] = "Tmpl", t[t.Host = 1] = "Host", t[t.Both = 2] = "Both";
2037
+ })(Yn || (Yn = {}));
2038
+ var Qn;
2039
+ (function(t) {
2040
+ t[t.Full = 0] = "Full", t[t.DomOnly = 1] = "DomOnly";
2041
+ })(Qn || (Qn = {}));
2042
+ new Map([
2043
+ [l.ariaProperty, l.ariaProperty],
2044
+ [l.attribute, l.attribute],
2045
+ [l.classProp, l.classProp],
2046
+ [l.element, l.element],
2047
+ [l.elementContainer, l.elementContainer],
2048
+ [l.elementContainerEnd, l.elementContainerEnd],
2049
+ [l.elementContainerStart, l.elementContainerStart],
2050
+ [l.elementEnd, l.elementEnd],
2051
+ [l.elementStart, l.elementStart],
2052
+ [l.domProperty, l.domProperty],
2053
+ [l.i18nExp, l.i18nExp],
2054
+ [l.listener, l.listener],
2055
+ [l.listener, l.listener],
2056
+ [l.property, l.property],
2057
+ [l.styleProp, l.styleProp],
2058
+ [l.syntheticHostListener, l.syntheticHostListener],
2059
+ [l.syntheticHostProperty, l.syntheticHostProperty],
2060
+ [l.templateCreate, l.templateCreate],
2061
+ [l.twoWayProperty, l.twoWayProperty],
2062
+ [l.twoWayListener, l.twoWayListener],
2063
+ [l.declareLet, l.declareLet],
2064
+ [l.conditionalCreate, l.conditionalBranchCreate],
2065
+ [l.conditionalBranchCreate, l.conditionalBranchCreate],
2066
+ [l.domElement, l.domElement],
2067
+ [l.domElementStart, l.domElementStart],
2068
+ [l.domElementEnd, l.domElementEnd],
2069
+ [l.domElementContainer, l.domElementContainer],
2070
+ [l.domElementContainerStart, l.domElementContainerStart],
2071
+ [l.domElementContainerEnd, l.domElementContainerEnd],
2072
+ [l.domListener, l.domListener],
2073
+ [l.domTemplate, l.domTemplate],
2074
+ [l.animationEnter, l.animationEnter],
2075
+ [l.animationLeave, l.animationLeave],
2076
+ [l.animationEnterListener, l.animationEnterListener],
2077
+ [l.animationLeaveListener, l.animationLeaveListener]
2078
+ ]);
2079
+ new Map([
2080
+ ["&&", c.And],
2081
+ [">", c.Bigger],
2082
+ [">=", c.BiggerEquals],
2083
+ ["|", c.BitwiseOr],
2084
+ ["&", c.BitwiseAnd],
2085
+ ["/", c.Divide],
2086
+ ["=", c.Assign],
2087
+ ["==", c.Equals],
2088
+ ["===", c.Identical],
2089
+ ["<", c.Lower],
2090
+ ["<=", c.LowerEquals],
2091
+ ["-", c.Minus],
2092
+ ["%", c.Modulo],
2093
+ ["**", c.Exponentiation],
2094
+ ["*", c.Multiply],
2095
+ ["!=", c.NotEquals],
2096
+ ["!==", c.NotIdentical],
2097
+ ["??", c.NullishCoalesce],
2098
+ ["||", c.Or],
2099
+ ["+", c.Plus],
2100
+ ["in", c.In],
2101
+ ["+=", c.AdditionAssignment],
2102
+ ["-=", c.SubtractionAssignment],
2103
+ ["*=", c.MultiplicationAssignment],
2104
+ ["/=", c.DivisionAssignment],
2105
+ ["%=", c.RemainderAssignment],
2106
+ ["**=", c.ExponentiationAssignment],
2107
+ ["&&=", c.AndAssignment],
2108
+ ["||=", c.OrAssignment],
2109
+ ["??=", c.NullishCoalesceAssignment]
2110
+ ]);
2111
+ Object.freeze([]);
2112
+ new Map([
2113
+ [f.ElementEnd, [f.ElementStart, f.Element]],
2114
+ [f.ContainerEnd, [f.ContainerStart, f.Container]],
2115
+ [f.I18nEnd, [f.I18nStart, f.I18n]]
2116
+ ]);
2117
+ new Set([f.Pipe]);
2118
+ var or = {};
2119
+ or.ngsp = "";
2120
+ var Kn;
2121
+ (function(t) {
2122
+ t.HEX = "hexadecimal", t.DEC = "decimal";
2123
+ })(Kn || (Kn = {}));
2124
+ var xs = ` \f
2125
+ \r \v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF`;
2126
+ new RegExp(`[^${xs}]`);
2127
+ new RegExp(`[${xs}]{2,}`, "g");
2128
+ var h;
2129
+ (function(t) {
2130
+ 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";
2131
+ })(h || (h = {}));
2132
+ var F;
2133
+ (function(t) {
2134
+ t[t.Plain = 0] = "Plain", t[t.TemplateLiteralPart = 1] = "TemplateLiteralPart", t[t.TemplateLiteralEnd = 2] = "TemplateLiteralEnd";
2135
+ })(F || (F = {}));
2136
+ var lr = [
2137
+ "var",
2138
+ "let",
2139
+ "as",
2140
+ "null",
2141
+ "undefined",
2142
+ "true",
2143
+ "false",
2144
+ "if",
2145
+ "else",
2146
+ "this",
2147
+ "typeof",
2148
+ "void",
2149
+ "in"
2150
+ ], _e = class {
2151
+ tokenize(e) {
2152
+ return new Ft(e).scan();
2153
+ }
2154
+ }, A = class {
2155
+ index;
2156
+ end;
2157
+ type;
2158
+ numValue;
2159
+ strValue;
2160
+ constructor(e, n, s, i, r) {
2161
+ this.index = e, this.end = n, this.type = s, this.numValue = i, this.strValue = r;
2162
+ }
2163
+ isCharacter(e) {
2164
+ return this.type === h.Character && this.numValue === e;
2165
+ }
2166
+ isNumber() {
2167
+ return this.type === h.Number;
2168
+ }
2169
+ isString() {
2170
+ return this.type === h.String;
2171
+ }
2172
+ isOperator(e) {
2173
+ return this.type === h.Operator && this.strValue === e;
2174
+ }
2175
+ isIdentifier() {
2176
+ return this.type === h.Identifier;
2177
+ }
2178
+ isPrivateIdentifier() {
2179
+ return this.type === h.PrivateIdentifier;
2180
+ }
2181
+ isKeyword() {
2182
+ return this.type === h.Keyword;
2183
+ }
2184
+ isKeywordLet() {
2185
+ return this.type === h.Keyword && this.strValue === "let";
2186
+ }
2187
+ isKeywordAs() {
2188
+ return this.type === h.Keyword && this.strValue === "as";
2189
+ }
2190
+ isKeywordNull() {
2191
+ return this.type === h.Keyword && this.strValue === "null";
2192
+ }
2193
+ isKeywordUndefined() {
2194
+ return this.type === h.Keyword && this.strValue === "undefined";
2195
+ }
2196
+ isKeywordTrue() {
2197
+ return this.type === h.Keyword && this.strValue === "true";
2198
+ }
2199
+ isKeywordFalse() {
2200
+ return this.type === h.Keyword && this.strValue === "false";
2201
+ }
2202
+ isKeywordThis() {
2203
+ return this.type === h.Keyword && this.strValue === "this";
2204
+ }
2205
+ isKeywordTypeof() {
2206
+ return this.type === h.Keyword && this.strValue === "typeof";
2207
+ }
2208
+ isKeywordVoid() {
2209
+ return this.type === h.Keyword && this.strValue === "void";
2210
+ }
2211
+ isKeywordIn() {
2212
+ return this.type === h.Keyword && this.strValue === "in";
2213
+ }
2214
+ isError() {
2215
+ return this.type === h.Error;
2216
+ }
2217
+ isRegExpBody() {
2218
+ return this.type === h.RegExpBody;
2219
+ }
2220
+ isRegExpFlags() {
2221
+ return this.type === h.RegExpFlags;
2222
+ }
2223
+ toNumber() {
2224
+ return this.type === h.Number ? this.numValue : -1;
2225
+ }
2226
+ isTemplateLiteralPart() {
2227
+ return this.isString() && this.kind === F.TemplateLiteralPart;
2228
+ }
2229
+ isTemplateLiteralEnd() {
2230
+ return this.isString() && this.kind === F.TemplateLiteralEnd;
2231
+ }
2232
+ isTemplateLiteralInterpolationStart() {
2233
+ return this.isOperator("${");
2234
+ }
2235
+ toString() {
2236
+ switch (this.type) {
2237
+ case h.Character:
2238
+ case h.Identifier:
2239
+ case h.Keyword:
2240
+ case h.Operator:
2241
+ case h.PrivateIdentifier:
2242
+ case h.String:
2243
+ case h.Error:
2244
+ case h.RegExpBody:
2245
+ case h.RegExpFlags: return this.strValue;
2246
+ case h.Number: return this.numValue.toString();
2247
+ default: return null;
2248
+ }
2249
+ }
2250
+ }, xe = class extends A {
2251
+ kind;
2252
+ constructor(e, n, s, i) {
2253
+ super(e, n, h.String, 0, s), this.kind = i;
2254
+ }
2255
+ };
2256
+ function he(t, e, n) {
2257
+ return new A(t, e, h.Character, n, String.fromCharCode(n));
2258
+ }
2259
+ function cr(t, e, n) {
2260
+ return new A(t, e, h.Identifier, 0, n);
2261
+ }
2262
+ function ur(t, e, n) {
2263
+ return new A(t, e, h.PrivateIdentifier, 0, n);
2264
+ }
2265
+ function pr(t, e, n) {
2266
+ return new A(t, e, h.Keyword, 0, n);
2267
+ }
2268
+ function Y(t, e, n) {
2269
+ return new A(t, e, h.Operator, 0, n);
2270
+ }
2271
+ function hr(t, e, n) {
2272
+ return new A(t, e, h.Number, n, "");
2273
+ }
2274
+ function fr(t, e, n) {
2275
+ return new A(t, e, h.Error, 0, n);
2276
+ }
2277
+ function dr(t, e, n) {
2278
+ return new A(t, e, h.RegExpBody, 0, n);
2279
+ }
2280
+ function mr(t, e, n) {
2281
+ return new A(t, e, h.RegExpFlags, 0, n);
2282
+ }
2283
+ var Ae = new A(-1, -1, h.Character, 0, ""), Ft = class {
2284
+ input;
2285
+ tokens = [];
2286
+ length;
2287
+ peek = 0;
2288
+ index = -1;
2289
+ braceStack = [];
2290
+ constructor(e) {
2291
+ this.input = e, this.length = e.length, this.advance();
2292
+ }
2293
+ scan() {
2294
+ let e = this.scanToken();
2295
+ for (; e !== null;) this.tokens.push(e), e = this.scanToken();
2296
+ return this.tokens;
2297
+ }
2298
+ advance() {
2299
+ this.peek = ++this.index >= this.length ? pe : this.input.charCodeAt(this.index);
2300
+ }
2301
+ scanToken() {
2302
+ let e = this.input, n = this.length, s = this.peek, i = this.index;
2303
+ for (; s <= as;) if (++i >= n) {
2304
+ s = pe;
2305
+ break;
2306
+ } else s = e.charCodeAt(i);
2307
+ if (this.peek = s, this.index = i, i >= n) return null;
2308
+ if (Zn(s)) return this.scanIdentifier();
2309
+ if (W(s)) return this.scanNumber(i);
2310
+ let r = i;
2311
+ switch (s) {
2312
+ case H: return this.advance(), W(this.peek) ? this.scanNumber(r) : this.peek !== H ? he(r, this.index, H) : (this.advance(), this.peek === H ? (this.advance(), Y(r, this.index, "...")) : this.error(`Unexpected character [${String.fromCharCode(s)}]`, 0));
2313
+ case ve:
2314
+ case q:
2315
+ case te:
2316
+ case G:
2317
+ case Q:
2318
+ case j:
2319
+ case fe: return this.scanCharacter(r, s);
2320
+ case Ve: return this.scanOpenBrace(r, s);
2321
+ case K: return this.scanCloseBrace(r, s);
2322
+ case cs:
2323
+ case ls: return this.scanString();
2324
+ case $t: return this.advance(), this.scanTemplateLiteralPart(r);
2325
+ case Ri: return this.scanPrivateIdentifier();
2326
+ case us: return this.scanComplexOperator(r, "+", k, "=");
2327
+ case ps: return this.scanComplexOperator(r, "-", k, "=");
2328
+ case Fe: return this.isStartOfRegex() ? this.scanRegex(i) : this.scanComplexOperator(r, "/", k, "=");
2329
+ case $i: return this.scanComplexOperator(r, "%", k, "=");
2330
+ case Ui: return this.scanOperator(r, "^");
2331
+ case Nn: return this.scanStar(r);
2332
+ case Pn: return this.scanQuestion(r);
2333
+ case Di:
2334
+ case Bi: return this.scanComplexOperator(r, String.fromCharCode(s), k, "=");
2335
+ case Mi:
2336
+ case k: return this.scanComplexOperator(r, String.fromCharCode(s), k, "=", k, "=");
2337
+ case In: return this.scanComplexOperator(r, "&", In, "&", k, "=");
2338
+ case Ln: return this.scanComplexOperator(r, "|", Ln, "|", k, "=");
2339
+ case ds:
2340
+ for (; Ji(this.peek);) this.advance();
2341
+ return this.scanToken();
2342
+ }
2343
+ return this.advance(), this.error(`Unexpected character [${String.fromCharCode(s)}]`, 0);
2344
+ }
2345
+ scanCharacter(e, n) {
2346
+ return this.advance(), he(e, this.index, n);
2347
+ }
2348
+ scanOperator(e, n) {
2349
+ return this.advance(), Y(e, this.index, n);
2350
+ }
2351
+ scanOpenBrace(e, n) {
2352
+ return this.braceStack.push("expression"), this.advance(), he(e, this.index, n);
2353
+ }
2354
+ scanCloseBrace(e, n) {
2355
+ return this.advance(), this.braceStack.pop() === "interpolation" ? (this.tokens.push(he(e, this.index, K)), this.scanTemplateLiteralPart(this.index)) : he(e, this.index, n);
2356
+ }
2357
+ scanComplexOperator(e, n, s, i, r, a) {
2358
+ this.advance();
2359
+ let u = n;
2360
+ return this.peek == s && (this.advance(), u += i), r != null && this.peek == r && (this.advance(), u += a), Y(e, this.index, u);
2361
+ }
2362
+ scanIdentifier() {
2363
+ let e = this.index;
2364
+ for (this.advance(); es(this.peek);) this.advance();
2365
+ let n = this.input.substring(e, this.index);
2366
+ return lr.indexOf(n) > -1 ? pr(e, this.index, n) : cr(e, this.index, n);
2367
+ }
2368
+ scanPrivateIdentifier() {
2369
+ let e = this.index;
2370
+ if (this.advance(), !Zn(this.peek)) return this.error("Invalid character [#]", -1);
2371
+ for (; es(this.peek);) this.advance();
2372
+ let n = this.input.substring(e, this.index);
2373
+ return ur(e, this.index, n);
2374
+ }
2375
+ scanNumber(e) {
2376
+ let n = this.index === e, s = !1;
2377
+ for (this.advance();;) {
2378
+ if (!W(this.peek)) if (this.peek === Xe) {
2379
+ if (!W(this.input.charCodeAt(this.index - 1)) || !W(this.input.charCodeAt(this.index + 1))) return this.error("Invalid numeric separator", 0);
2380
+ s = !0;
2381
+ } else if (this.peek === H) n = !1;
2382
+ else if (gr(this.peek)) {
2383
+ if (this.advance(), vr(this.peek) && this.advance(), !W(this.peek)) return this.error("Invalid exponent", -1);
2384
+ n = !1;
2385
+ } else break;
2386
+ this.advance();
2387
+ }
2388
+ let i = this.input.substring(e, this.index);
2389
+ s && (i = i.replace(/_/g, ""));
2390
+ let r = n ? wr(i) : parseFloat(i);
2391
+ return hr(e, this.index, r);
2392
+ }
2393
+ scanString() {
2394
+ let e = this.index, n = this.peek;
2395
+ this.advance();
2396
+ let s = "", i = this.index, r = this.input;
2397
+ for (; this.peek != n;) if (this.peek == it) {
2398
+ let u = this.scanStringBackslash(s, i);
2399
+ if (typeof u != "string") return u;
2400
+ s = u, i = this.index;
2401
+ } else {
2402
+ if (this.peek == pe) return this.error("Unterminated quote", 0);
2403
+ this.advance();
2404
+ }
2405
+ let a = r.substring(i, this.index);
2406
+ return this.advance(), new xe(e, this.index, s + a, F.Plain);
2407
+ }
2408
+ scanQuestion(e) {
2409
+ this.advance();
2410
+ let n = "?";
2411
+ return this.peek === Pn ? (n += "?", this.advance(), this.peek === k && (n += "=", this.advance())) : this.peek === H && (n += ".", this.advance()), Y(e, this.index, n);
2412
+ }
2413
+ scanTemplateLiteralPart(e) {
2414
+ let n = "", s = this.index;
2415
+ for (; this.peek !== $t;) if (this.peek === it) {
2416
+ let r = this.scanStringBackslash(n, s);
2417
+ if (typeof r != "string") return r;
2418
+ n = r, s = this.index;
2419
+ } else if (this.peek === Wt) {
2420
+ let r = this.index;
2421
+ if (this.advance(), this.peek === Ve) return this.braceStack.push("interpolation"), this.tokens.push(new xe(e, r, n + this.input.substring(s, r), F.TemplateLiteralPart)), this.advance(), Y(r, this.index, this.input.substring(r, this.index));
2422
+ } else {
2423
+ if (this.peek === pe) return this.error("Unterminated template literal", 0);
2424
+ this.advance();
2425
+ }
2426
+ let i = this.input.substring(s, this.index);
2427
+ return this.advance(), new xe(e, this.index, n + i, F.TemplateLiteralEnd);
2428
+ }
2429
+ error(e, n) {
2430
+ let s = this.index + n;
2431
+ return fr(s, this.index, `Lexer Error: ${e} at column ${s} in expression [${this.input}]`);
2432
+ }
2433
+ scanStringBackslash(e, n) {
2434
+ e += this.input.substring(n, this.index);
2435
+ let s;
2436
+ if (this.advance(), this.peek === Gi) {
2437
+ let i = this.input.substring(this.index + 1, this.index + 5);
2438
+ if (/^[0-9a-f]+$/i.test(i)) s = parseInt(i, 16);
2439
+ else return this.error(`Invalid unicode escape [\\u${i}]`, 0);
2440
+ for (let r = 0; r < 5; r++) this.advance();
2441
+ } else s = xr(this.peek), this.advance();
2442
+ return e += String.fromCharCode(s), e;
2443
+ }
2444
+ scanStar(e) {
2445
+ this.advance();
2446
+ let n = "*";
2447
+ return this.peek === Nn ? (n += "*", this.advance(), this.peek === k && (n += "=", this.advance())) : this.peek === k && (n += "=", this.advance()), Y(e, this.index, n);
2448
+ }
2449
+ isStartOfRegex() {
2450
+ if (this.tokens.length === 0) return !0;
2451
+ let e = this.tokens[this.tokens.length - 1];
2452
+ if (e.isOperator("!")) {
2453
+ let n = this.tokens.length > 1 ? this.tokens[this.tokens.length - 2] : null;
2454
+ return n === null || n.type !== h.Identifier && !n.isCharacter(q) && !n.isCharacter(G);
2455
+ }
2456
+ return e.type === h.Operator || e.isCharacter(ve) || e.isCharacter(te) || e.isCharacter(Q) || e.isCharacter(j);
2457
+ }
2458
+ scanRegex(e) {
2459
+ this.advance();
2460
+ let n = this.index, s = !1, i = !1;
2461
+ for (;;) {
2462
+ let p = this.peek;
2463
+ if (p === pe) return this.error("Unterminated regular expression", 0);
2464
+ if (s) s = !1;
2465
+ else if (p === it) s = !0;
2466
+ else if (p === te) i = !0;
2467
+ else if (p === G) i = !1;
2468
+ else if (p === Fe && !i) break;
2469
+ this.advance();
2470
+ }
2471
+ let r = this.input.substring(n, this.index);
2472
+ this.advance();
2473
+ let a = dr(e, this.index, r), u = this.scanRegexFlags(this.index);
2474
+ return u !== null ? (this.tokens.push(a), u) : a;
2475
+ }
2476
+ scanRegexFlags(e) {
2477
+ if (!Dt(this.peek)) return null;
2478
+ for (; Dt(this.peek);) this.advance();
2479
+ return mr(e, this.index, this.input.substring(e, this.index));
2480
+ }
2481
+ };
2482
+ function Zn(t) {
2483
+ return hs <= t && t <= fs || qt <= t && t <= jt || t == Xe || t == Wt;
2484
+ }
2485
+ function es(t) {
2486
+ return Dt(t) || W(t) || t == Xe || t == Wt;
2487
+ }
2488
+ function gr(t) {
2489
+ return t == Hi || t == Vi;
2490
+ }
2491
+ function vr(t) {
2492
+ return t == ps || t == us;
2493
+ }
2494
+ function xr(t) {
2495
+ switch (t) {
2496
+ case qi: return Ie;
2497
+ case Wi: return Pi;
2498
+ case ji: return Li;
2499
+ case zi: return os;
2500
+ case Xi: return Ni;
2501
+ default: return t;
2502
+ }
2503
+ }
2504
+ function wr(t) {
2505
+ let e = parseInt(t);
2506
+ if (isNaN(e)) throw new Error("Invalid integer literal when parsing " + t);
2507
+ return e;
2508
+ }
2509
+ var Vt = class {
2510
+ strings;
2511
+ expressions;
2512
+ offsets;
2513
+ constructor(e, n, s) {
2514
+ this.strings = e, this.expressions = n, this.offsets = s;
2515
+ }
2516
+ }, Ut = class {
2517
+ templateBindings;
2518
+ warnings;
2519
+ errors;
2520
+ constructor(e, n, s) {
2521
+ this.templateBindings = e, this.warnings = n, this.errors = s;
2522
+ }
2523
+ };
2524
+ function B(t) {
2525
+ return t.start.toString() || "(unknown)";
2526
+ }
2527
+ var oe = class {
2528
+ _lexer;
2529
+ _supportsDirectPipeReferences;
2530
+ constructor(e, n = !1) {
2531
+ this._lexer = e, this._supportsDirectPipeReferences = n;
2532
+ }
2533
+ parseAction(e, n, s) {
2534
+ let i = [];
2535
+ this._checkNoInterpolation(i, e, n);
2536
+ let { stripped: r } = this._stripComments(e);
2537
+ return new O(new z(e, n, s, this._lexer.tokenize(r), 1, i, 0, this._supportsDirectPipeReferences).parseChain(), e, B(n), s, i);
2538
+ }
2539
+ parseBinding(e, n, s) {
2540
+ let i = [];
2541
+ return new O(this._parseBindingAst(e, n, s, i), e, B(n), s, i);
2542
+ }
2543
+ checkSimpleExpression(e) {
2544
+ let n = new Ht();
2545
+ return e.visit(n), n.errors;
2546
+ }
2547
+ parseSimpleBinding(e, n, s) {
2548
+ let i = [], r = this._parseBindingAst(e, n, s, i), a = this.checkSimpleExpression(r);
2549
+ return a.length > 0 && i.push(ee(`Host binding expression cannot contain ${a.join(" ")}`, e, "", n)), new O(r, e, B(n), s, i);
2550
+ }
2551
+ _parseBindingAst(e, n, s, i) {
2552
+ this._checkNoInterpolation(i, e, n);
2553
+ let { stripped: r } = this._stripComments(e);
2554
+ return new z(e, n, s, this._lexer.tokenize(r), 0, i, 0, this._supportsDirectPipeReferences).parseChain();
2555
+ }
2556
+ parseTemplateBindings(e, n, s, i, r) {
2557
+ return new z(n, s, r, this._lexer.tokenize(n), 0, [], 0, this._supportsDirectPipeReferences).parseTemplateBindings({
2558
+ source: e,
2559
+ span: new $(i, i + e.length)
2560
+ });
2561
+ }
2562
+ parseInterpolation(e, n, s, i) {
2563
+ let r = [], { strings: a, expressions: u, offsets: p } = this.splitInterpolation(e, n, r, i);
2564
+ if (u.length === 0) return null;
2565
+ let d = [];
2566
+ for (let w = 0; w < u.length; ++w) {
2567
+ let D = i?.[w * 2 + 1]?.sourceSpan, _ = u[w].text, { stripped: T, hasComments: y } = this._stripComments(_), V = this._lexer.tokenize(T);
2568
+ if (y && T.trim().length === 0 && V.length === 0) {
2569
+ r.push(ee("Interpolation expression cannot only contain a comment", e, `at column ${u[w].start} in`, n));
2570
+ continue;
2571
+ }
2572
+ let ce = new z(D ? _ : e, D || n, s, V, 0, r, p[w], this._supportsDirectPipeReferences).parseChain();
2573
+ d.push(ce);
2574
+ }
2575
+ return this.createInterpolationAst(a.map((w) => w.text), d, e, B(n), s, r);
2576
+ }
2577
+ parseInterpolationExpression(e, n, s) {
2578
+ let { stripped: i } = this._stripComments(e), r = this._lexer.tokenize(i), a = [], u = new z(e, n, s, r, 0, a, 0, this._supportsDirectPipeReferences).parseChain();
2579
+ return this.createInterpolationAst(["", ""], [u], e, B(n), s, a);
2580
+ }
2581
+ createInterpolationAst(e, n, s, i, r, a) {
2582
+ let u = new X(0, s.length);
2583
+ return new O(new Ii(u, u.toAbsolute(r), e, n), s, i, r, a);
2584
+ }
2585
+ splitInterpolation(e, n, s, i) {
2586
+ let r = [], a = [], u = [], p = i ? Sr(i) : null, d = 0, w = !1, D = !1, _ = "{{", T = "}}";
2587
+ for (; d < e.length;) if (w) {
2588
+ let y = d, V = y + 2, ce = this._getInterpolationEndIndex(e, T, V);
2589
+ if (ce === -1) {
2590
+ w = !1, D = !0;
2591
+ break;
2592
+ }
2593
+ let rn = ce + 2, on = e.substring(V, ce);
2594
+ on.trim().length === 0 && s.push(ee("Blank expressions are not allowed in interpolated strings", e, `at column ${d} in`, n)), a.push({
2595
+ text: on,
2596
+ start: y,
2597
+ end: rn
2598
+ });
2599
+ let yi = (p?.get(y) ?? y) + 2;
2600
+ u.push(yi), d = rn, w = !1;
2601
+ } else {
2602
+ let y = d;
2603
+ d = e.indexOf(_, d), d === -1 && (d = e.length);
2604
+ let V = e.substring(y, d);
2605
+ r.push({
2606
+ text: V,
2607
+ start: y,
2608
+ end: d
2609
+ }), w = !0;
2610
+ }
2611
+ if (!w) if (D) {
2612
+ let y = r[r.length - 1];
2613
+ y.text += e.substring(d), y.end = e.length;
2614
+ } else r.push({
2615
+ text: e.substring(d),
2616
+ start: d,
2617
+ end: e.length
2618
+ });
2619
+ return new Vt(r, a, u);
2620
+ }
2621
+ wrapLiteralPrimitive(e, n, s) {
2622
+ let i = new X(0, e == null ? 0 : e.length);
2623
+ return new O(new I(i, i.toAbsolute(s), e), e, typeof n == "string" ? n : B(n), s, []);
2624
+ }
2625
+ _stripComments(e) {
2626
+ let n = this._commentStart(e);
2627
+ return n != null ? {
2628
+ stripped: e.substring(0, n),
2629
+ hasComments: !0
2630
+ } : {
2631
+ stripped: e,
2632
+ hasComments: !1
2633
+ };
2634
+ }
2635
+ _commentStart(e) {
2636
+ let n = null;
2637
+ for (let s = 0; s < e.length - 1; s++) {
2638
+ let i = e.charCodeAt(s), r = e.charCodeAt(s + 1);
2639
+ if (i === Fe && r == Fe && n == null) return s;
2640
+ n === i ? n = null : n == null && Mn(i) && (n = i);
2641
+ }
2642
+ return null;
2643
+ }
2644
+ _checkNoInterpolation(e, n, s) {
2645
+ let i = -1, r = -1;
2646
+ for (let a of this._forEachUnquotedChar(n, 0)) if (i === -1) n.startsWith("{{") && (i = a);
2647
+ else if (r = this._getInterpolationEndIndex(n, "}}", a), r > -1) break;
2648
+ i > -1 && r > -1 && e.push(ee("Got interpolation ({{}}) where expression was expected", n, `at column ${i} in`, s));
2649
+ }
2650
+ _getInterpolationEndIndex(e, n, s) {
2651
+ for (let i of this._forEachUnquotedChar(e, s)) {
2652
+ if (e.startsWith(n, i)) return i;
2653
+ if (e.startsWith("//", i)) return e.indexOf(n, i);
2654
+ }
2655
+ return -1;
2656
+ }
2657
+ *_forEachUnquotedChar(e, n) {
2658
+ let s = null, i = 0;
2659
+ for (let r = n; r < e.length; r++) {
2660
+ let a = e[r];
2661
+ Mn(e.charCodeAt(r)) && (s === null || s === a) && i % 2 === 0 ? s = s === null ? a : null : s === null && (yield r), i = a === "\\" ? i + 1 : 0;
2662
+ }
2663
+ }
2664
+ }, Z;
2665
+ (function(t) {
2666
+ t[t.None = 0] = "None", t[t.Writable = 1] = "Writable";
2667
+ })(Z || (Z = {}));
2668
+ var ts = new Set([
2669
+ "d",
2670
+ "g",
2671
+ "i",
2672
+ "m",
2673
+ "s",
2674
+ "u",
2675
+ "v",
2676
+ "y"
2677
+ ]), z = class {
2678
+ input;
2679
+ parseSourceSpan;
2680
+ absoluteOffset;
2681
+ tokens;
2682
+ parseFlags;
2683
+ errors;
2684
+ offset;
2685
+ supportsDirectPipeReferences;
2686
+ rparensExpected = 0;
2687
+ rbracketsExpected = 0;
2688
+ rbracesExpected = 0;
2689
+ context = Z.None;
2690
+ sourceSpanCache = /* @__PURE__ */ new Map();
2691
+ index = 0;
2692
+ constructor(e, n, s, i, r, a, u, p) {
2693
+ this.input = e, this.parseSourceSpan = n, this.absoluteOffset = s, this.tokens = i, this.parseFlags = r, this.errors = a, this.offset = u, this.supportsDirectPipeReferences = p;
2694
+ }
2695
+ peek(e) {
2696
+ let n = this.index + e;
2697
+ return n < this.tokens.length ? this.tokens[n] : Ae;
2698
+ }
2699
+ get next() {
2700
+ return this.peek(0);
2701
+ }
2702
+ get atEOF() {
2703
+ return this.index >= this.tokens.length;
2704
+ }
2705
+ get inputIndex() {
2706
+ return this.atEOF ? this.currentEndIndex : this.next.index + this.offset;
2707
+ }
2708
+ get currentEndIndex() {
2709
+ return this.index > 0 ? this.peek(-1).end + this.offset : this.tokens.length === 0 ? this.input.length + this.offset : this.next.index + this.offset;
2710
+ }
2711
+ get currentAbsoluteOffset() {
2712
+ return this.absoluteOffset + this.inputIndex;
2713
+ }
2714
+ span(e, n) {
2715
+ let s = this.currentEndIndex;
2716
+ if (n !== void 0 && n > this.currentEndIndex && (s = n), e > s) {
2717
+ let i = s;
2718
+ s = e, e = i;
2719
+ }
2720
+ return new X(e, s);
2721
+ }
2722
+ sourceSpan(e, n) {
2723
+ let s = `${e}@${this.inputIndex}:${n}`;
2724
+ return this.sourceSpanCache.has(s) || this.sourceSpanCache.set(s, this.span(e, n).toAbsolute(this.absoluteOffset)), this.sourceSpanCache.get(s);
2725
+ }
2726
+ advance() {
2727
+ this.index++;
2728
+ }
2729
+ withContext(e, n) {
2730
+ this.context |= e;
2731
+ let s = n();
2732
+ return this.context ^= e, s;
2733
+ }
2734
+ consumeOptionalCharacter(e) {
2735
+ return this.next.isCharacter(e) ? (this.advance(), !0) : !1;
2736
+ }
2737
+ peekKeywordLet() {
2738
+ return this.next.isKeywordLet();
2739
+ }
2740
+ peekKeywordAs() {
2741
+ return this.next.isKeywordAs();
2742
+ }
2743
+ expectCharacter(e) {
2744
+ this.consumeOptionalCharacter(e) || this.error(`Missing expected ${String.fromCharCode(e)}`);
2745
+ }
2746
+ consumeOptionalOperator(e) {
2747
+ return this.next.isOperator(e) ? (this.advance(), !0) : !1;
2748
+ }
2749
+ isAssignmentOperator(e) {
2750
+ return e.type === h.Operator && E.isAssignmentOperation(e.strValue);
2751
+ }
2752
+ expectOperator(e) {
2753
+ this.consumeOptionalOperator(e) || this.error(`Missing expected operator ${e}`);
2754
+ }
2755
+ prettyPrintToken(e) {
2756
+ return e === Ae ? "end of input" : `token ${e}`;
2757
+ }
2758
+ expectIdentifierOrKeyword() {
2759
+ let e = this.next;
2760
+ return !e.isIdentifier() && !e.isKeyword() ? (e.isPrivateIdentifier() ? this._reportErrorForPrivateIdentifier(e, "expected identifier or keyword") : this.error(`Unexpected ${this.prettyPrintToken(e)}, expected identifier or keyword`), null) : (this.advance(), e.toString());
2761
+ }
2762
+ expectIdentifierOrKeywordOrString() {
2763
+ let e = this.next;
2764
+ return !e.isIdentifier() && !e.isKeyword() && !e.isString() ? (e.isPrivateIdentifier() ? this._reportErrorForPrivateIdentifier(e, "expected identifier, keyword or string") : this.error(`Unexpected ${this.prettyPrintToken(e)}, expected identifier, keyword, or string`), "") : (this.advance(), e.toString());
2765
+ }
2766
+ parseChain() {
2767
+ let e = [], n = this.inputIndex;
2768
+ for (; this.index < this.tokens.length;) {
2769
+ let s = this.parsePipe();
2770
+ if (e.push(s), this.consumeOptionalCharacter(fe)) for (this.parseFlags & 1 || this.error("Binding expression cannot contain chained expression"); this.consumeOptionalCharacter(fe););
2771
+ else if (this.index < this.tokens.length) {
2772
+ let i = this.index;
2773
+ if (this.error(`Unexpected token '${this.next}'`), this.index === i) break;
2774
+ }
2775
+ }
2776
+ if (e.length === 0) {
2777
+ let s = this.offset, i = this.offset + this.input.length;
2778
+ return new b(this.span(s, i), this.sourceSpan(s, i));
2779
+ }
2780
+ return e.length == 1 ? e[0] : new yt(this.span(n), this.sourceSpan(n), e);
2781
+ }
2782
+ parsePipe() {
2783
+ let e = this.inputIndex, n = this.parseExpression();
2784
+ if (this.consumeOptionalOperator("|")) {
2785
+ this.parseFlags & 1 && this.error("Cannot have a pipe in an action expression");
2786
+ do {
2787
+ let s = this.inputIndex, i = this.expectIdentifierOrKeyword(), r, a;
2788
+ i !== null ? r = this.sourceSpan(s) : (i = "", a = this.next.index !== -1 ? this.next.index : this.input.length + this.offset, r = new X(a, a).toAbsolute(this.absoluteOffset));
2789
+ let u = [];
2790
+ for (; this.consumeOptionalCharacter(j);) u.push(this.parseExpression());
2791
+ let p;
2792
+ if (this.supportsDirectPipeReferences) {
2793
+ let d = i.charCodeAt(0);
2794
+ p = d === Xe || d >= qt && d <= jt ? me.ReferencedDirectly : me.ReferencedByName;
2795
+ } else p = me.ReferencedByName;
2796
+ n = new kt(this.span(e), this.sourceSpan(e, a), n, i, u, p, r);
2797
+ } while (this.consumeOptionalOperator("|"));
2798
+ }
2799
+ return n;
2800
+ }
2801
+ parseExpression() {
2802
+ return this.parseConditional();
2803
+ }
2804
+ parseConditional() {
2805
+ let e = this.inputIndex, n = this.parseLogicalOr();
2806
+ if (this.consumeOptionalOperator("?")) {
2807
+ let s = this.parsePipe(), i;
2808
+ if (this.consumeOptionalCharacter(j)) i = this.parsePipe();
2809
+ else {
2810
+ let r = this.inputIndex, a = this.input.substring(e, r);
2811
+ this.error(`Conditional expression ${a} requires all 3 expressions`), i = new b(this.span(e), this.sourceSpan(e));
2812
+ }
2813
+ return new Ct(this.span(e), this.sourceSpan(e), n, s, i);
2814
+ } else return n;
2815
+ }
2816
+ parseLogicalOr() {
2817
+ let e = this.inputIndex, n = this.parseLogicalAnd();
2818
+ for (; this.consumeOptionalOperator("||");) {
2819
+ let s = this.parseLogicalAnd();
2820
+ n = new E(this.span(e), this.sourceSpan(e), "||", n, s);
2821
+ }
2822
+ return n;
2823
+ }
2824
+ parseLogicalAnd() {
2825
+ let e = this.inputIndex, n = this.parseNullishCoalescing();
2826
+ for (; this.consumeOptionalOperator("&&");) {
2827
+ let s = this.parseNullishCoalescing();
2828
+ n = new E(this.span(e), this.sourceSpan(e), "&&", n, s);
2829
+ }
2830
+ return n;
2831
+ }
2832
+ parseNullishCoalescing() {
2833
+ let e = this.inputIndex, n = this.parseEquality();
2834
+ for (; this.consumeOptionalOperator("??");) {
2835
+ let s = this.parseEquality();
2836
+ n = new E(this.span(e), this.sourceSpan(e), "??", n, s);
2837
+ }
2838
+ return n;
2839
+ }
2840
+ parseEquality() {
2841
+ let e = this.inputIndex, n = this.parseRelational();
2842
+ for (; this.next.type == h.Operator;) {
2843
+ let s = this.next.strValue;
2844
+ switch (s) {
2845
+ case "==":
2846
+ case "===":
2847
+ case "!=":
2848
+ case "!==":
2849
+ this.advance();
2850
+ let i = this.parseRelational();
2851
+ n = new E(this.span(e), this.sourceSpan(e), s, n, i);
2852
+ continue;
2853
+ }
2854
+ break;
2855
+ }
2856
+ return n;
2857
+ }
2858
+ parseRelational() {
2859
+ let e = this.inputIndex, n = this.parseAdditive();
2860
+ for (; this.next.type == h.Operator || this.next.isKeywordIn;) {
2861
+ let s = this.next.strValue;
2862
+ switch (s) {
2863
+ case "<":
2864
+ case ">":
2865
+ case "<=":
2866
+ case ">=":
2867
+ case "in":
2868
+ this.advance();
2869
+ let i = this.parseAdditive();
2870
+ n = new E(this.span(e), this.sourceSpan(e), s, n, i);
2871
+ continue;
2872
+ }
2873
+ break;
2874
+ }
2875
+ return n;
2876
+ }
2877
+ parseAdditive() {
2878
+ let e = this.inputIndex, n = this.parseMultiplicative();
2879
+ for (; this.next.type == h.Operator;) {
2880
+ let s = this.next.strValue;
2881
+ switch (s) {
2882
+ case "+":
2883
+ case "-":
2884
+ this.advance();
2885
+ let i = this.parseMultiplicative();
2886
+ n = new E(this.span(e), this.sourceSpan(e), s, n, i);
2887
+ continue;
2888
+ }
2889
+ break;
2890
+ }
2891
+ return n;
2892
+ }
2893
+ parseMultiplicative() {
2894
+ let e = this.inputIndex, n = this.parseExponentiation();
2895
+ for (; this.next.type == h.Operator;) {
2896
+ let s = this.next.strValue;
2897
+ switch (s) {
2898
+ case "*":
2899
+ case "%":
2900
+ case "/":
2901
+ this.advance();
2902
+ let i = this.parseExponentiation();
2903
+ n = new E(this.span(e), this.sourceSpan(e), s, n, i);
2904
+ continue;
2905
+ }
2906
+ break;
2907
+ }
2908
+ return n;
2909
+ }
2910
+ parseExponentiation() {
2911
+ let e = this.inputIndex, n = this.parsePrefix();
2912
+ for (; this.next.type == h.Operator && this.next.strValue === "**";) {
2913
+ (n instanceof ge || n instanceof Me || n instanceof Re || n instanceof $e) && this.error("Unary operator used immediately before exponentiation expression. Parenthesis must be used to disambiguate operator precedence"), this.advance();
2914
+ let s = this.parseExponentiation();
2915
+ n = new E(this.span(e), this.sourceSpan(e), "**", n, s);
2916
+ }
2917
+ return n;
2918
+ }
2919
+ parsePrefix() {
2920
+ if (this.next.type == h.Operator) {
2921
+ let e = this.inputIndex, n = this.next.strValue, s;
2922
+ switch (n) {
2923
+ case "+": return this.advance(), s = this.parsePrefix(), ge.createPlus(this.span(e), this.sourceSpan(e), s);
2924
+ case "-": return this.advance(), s = this.parsePrefix(), ge.createMinus(this.span(e), this.sourceSpan(e), s);
2925
+ case "!": return this.advance(), s = this.parsePrefix(), new Me(this.span(e), this.sourceSpan(e), s);
2926
+ }
2927
+ } else if (this.next.isKeywordTypeof()) {
2928
+ let e = this.inputIndex;
2929
+ this.advance();
2930
+ let n = this.parsePrefix();
2931
+ return new Re(this.span(e), this.sourceSpan(e), n);
2932
+ } else if (this.next.isKeywordVoid()) {
2933
+ let e = this.inputIndex;
2934
+ this.advance();
2935
+ let n = this.parsePrefix();
2936
+ return new $e(this.span(e), this.sourceSpan(e), n);
2937
+ }
2938
+ return this.parseCallChain();
2939
+ }
2940
+ parseCallChain() {
2941
+ let e = this.inputIndex, n = this.parsePrimary();
2942
+ for (;;) if (this.consumeOptionalCharacter(H)) n = this.parseAccessMember(n, e, !1);
2943
+ else if (this.consumeOptionalOperator("?.")) this.consumeOptionalCharacter(ve) ? n = this.parseCall(n, e, !0) : n = this.consumeOptionalCharacter(te) ? this.parseKeyedReadOrWrite(n, e, !0) : this.parseAccessMember(n, e, !0);
2944
+ else if (this.consumeOptionalCharacter(te)) n = this.parseKeyedReadOrWrite(n, e, !1);
2945
+ else if (this.consumeOptionalCharacter(ve)) n = this.parseCall(n, e, !1);
2946
+ else if (this.consumeOptionalOperator("!")) n = new Nt(this.span(e), this.sourceSpan(e), n);
2947
+ else if (this.next.isTemplateLiteralEnd()) n = this.parseNoInterpolationTaggedTemplateLiteral(n, e);
2948
+ else if (this.next.isTemplateLiteralPart()) n = this.parseTaggedTemplateLiteral(n, e);
2949
+ else return n;
2950
+ }
2951
+ parsePrimary() {
2952
+ let e = this.inputIndex;
2953
+ if (this.consumeOptionalCharacter(ve)) {
2954
+ this.rparensExpected++;
2955
+ let n = this.parsePipe();
2956
+ return this.consumeOptionalCharacter(q) || (this.error("Missing closing parentheses"), this.consumeOptionalCharacter(q)), this.rparensExpected--, new Ee(this.span(e), this.sourceSpan(e), n);
2957
+ } else {
2958
+ if (this.next.isKeywordNull()) return this.advance(), new I(this.span(e), this.sourceSpan(e), null);
2959
+ if (this.next.isKeywordUndefined()) return this.advance(), new I(this.span(e), this.sourceSpan(e), void 0);
2960
+ if (this.next.isKeywordTrue()) return this.advance(), new I(this.span(e), this.sourceSpan(e), !0);
2961
+ if (this.next.isKeywordFalse()) return this.advance(), new I(this.span(e), this.sourceSpan(e), !1);
2962
+ if (this.next.isKeywordIn()) return this.advance(), new I(this.span(e), this.sourceSpan(e), "in");
2963
+ if (this.next.isKeywordThis()) return this.advance(), new Et(this.span(e), this.sourceSpan(e));
2964
+ if (this.consumeOptionalCharacter(te)) return this.parseLiteralArray(e);
2965
+ if (this.next.isCharacter(Ve)) return this.parseLiteralMap();
2966
+ if (this.next.isIdentifier()) return this.parseAccessMember(new ne(this.span(e), this.sourceSpan(e)), e, !1);
2967
+ if (this.next.isNumber()) {
2968
+ let n = this.next.toNumber();
2969
+ return this.advance(), new I(this.span(e), this.sourceSpan(e), n);
2970
+ } else {
2971
+ if (this.next.isTemplateLiteralEnd()) return this.parseNoInterpolationTemplateLiteral();
2972
+ if (this.next.isTemplateLiteralPart()) return this.parseTemplateLiteral();
2973
+ if (this.next.isString() && this.next.kind === F.Plain) {
2974
+ let n = this.next.toString();
2975
+ return this.advance(), new I(this.span(e), this.sourceSpan(e), n);
2976
+ } else return this.next.isPrivateIdentifier() ? (this._reportErrorForPrivateIdentifier(this.next, null), new b(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 b(this.span(e), this.sourceSpan(e))) : (this.error(`Unexpected token ${this.next}`), new b(this.span(e), this.sourceSpan(e)));
2977
+ }
2978
+ }
2979
+ }
2980
+ parseLiteralArray(e) {
2981
+ this.rbracketsExpected++;
2982
+ let n = [];
2983
+ do
2984
+ if (this.next.isOperator("...")) n.push(this.parseSpreadElement());
2985
+ else if (!this.next.isCharacter(G)) n.push(this.parsePipe());
2986
+ else break;
2987
+ while (this.consumeOptionalCharacter(Q));
2988
+ return this.rbracketsExpected--, this.expectCharacter(G), new bt(this.span(e), this.sourceSpan(e), n);
2989
+ }
2990
+ parseLiteralMap() {
2991
+ let e = [], n = [], s = this.inputIndex;
2992
+ if (this.expectCharacter(Ve), !this.consumeOptionalCharacter(K)) {
2993
+ this.rbracesExpected++;
2994
+ do {
2995
+ let i = this.inputIndex;
2996
+ if (this.next.isOperator("...")) {
2997
+ this.advance(), e.push({
2998
+ kind: "spread",
2999
+ span: this.span(i),
3000
+ sourceSpan: this.sourceSpan(i)
3001
+ }), n.push(this.parsePipe());
3002
+ continue;
3003
+ }
3004
+ let r = this.next.isString(), a = this.expectIdentifierOrKeywordOrString(), u = this.span(i), p = this.sourceSpan(i), d = {
3005
+ kind: "property",
3006
+ key: a,
3007
+ quoted: r,
3008
+ span: u,
3009
+ sourceSpan: p
3010
+ };
3011
+ e.push(d), r ? (this.expectCharacter(j), n.push(this.parsePipe())) : this.consumeOptionalCharacter(j) ? n.push(this.parsePipe()) : (d.isShorthandInitialized = !0, n.push(new de(u, p, p, new ne(u, p), a)));
3012
+ } while (this.consumeOptionalCharacter(Q) && !this.next.isCharacter(K));
3013
+ this.rbracesExpected--, this.expectCharacter(K);
3014
+ }
3015
+ return new It(this.span(s), this.sourceSpan(s), e, n);
3016
+ }
3017
+ parseAccessMember(e, n, s) {
3018
+ let i = this.inputIndex, r = this.withContext(Z.Writable, () => {
3019
+ let u = this.expectIdentifierOrKeyword() ?? "";
3020
+ return u.length === 0 && this.error("Expected identifier for property access", e.span.end), u;
3021
+ }), a = this.sourceSpan(i);
3022
+ if (s) return this.isAssignmentOperator(this.next) ? (this.advance(), this.error("The '?.' operator cannot be used in the assignment"), new b(this.span(n), this.sourceSpan(n))) : new _t(this.span(n), this.sourceSpan(n), a, e, r);
3023
+ if (this.isAssignmentOperator(this.next)) {
3024
+ let u = this.next.strValue;
3025
+ if (!(this.parseFlags & 1)) return this.advance(), this.error("Bindings cannot contain assignments"), new b(this.span(n), this.sourceSpan(n));
3026
+ let p = new de(this.span(n), this.sourceSpan(n), a, e, r);
3027
+ this.advance();
3028
+ let d = this.parseConditional();
3029
+ return new E(this.span(n), this.sourceSpan(n), u, p, d);
3030
+ } else return new de(this.span(n), this.sourceSpan(n), a, e, r);
3031
+ }
3032
+ parseCall(e, n, s) {
3033
+ let i = this.inputIndex;
3034
+ this.rparensExpected++;
3035
+ let r = this.parseCallArguments(), a = this.span(i, this.inputIndex).toAbsolute(this.absoluteOffset);
3036
+ this.expectCharacter(q), this.rparensExpected--;
3037
+ let u = this.span(n), p = this.sourceSpan(n);
3038
+ return s ? new Lt(u, p, e, r, a) : new Pt(u, p, e, r, a);
3039
+ }
3040
+ parseCallArguments() {
3041
+ if (this.next.isCharacter(q)) return [];
3042
+ let e = [];
3043
+ do
3044
+ e.push(this.next.isOperator("...") ? this.parseSpreadElement() : this.parsePipe());
3045
+ while (this.consumeOptionalCharacter(Q));
3046
+ return e;
3047
+ }
3048
+ parseSpreadElement() {
3049
+ this.next.isOperator("...") || this.error("Spread element must start with '...' operator");
3050
+ let e = this.inputIndex;
3051
+ this.advance();
3052
+ let n = this.parsePipe();
3053
+ return new At(this.span(e), this.sourceSpan(e), n);
3054
+ }
3055
+ expectTemplateBindingKey() {
3056
+ let e = "", n = !1, s = this.currentAbsoluteOffset;
3057
+ do
3058
+ e += this.expectIdentifierOrKeywordOrString(), n = this.consumeOptionalOperator("-"), n && (e += "-");
3059
+ while (n);
3060
+ return {
3061
+ source: e,
3062
+ span: new $(s, s + e.length)
3063
+ };
3064
+ }
3065
+ parseTemplateBindings(e) {
3066
+ let n = [];
3067
+ for (n.push(...this.parseDirectiveKeywordBindings(e)); this.index < this.tokens.length;) {
3068
+ let s = this.parseLetBinding();
3069
+ if (s) n.push(s);
3070
+ else {
3071
+ let i = this.expectTemplateBindingKey(), r = this.parseAsBinding(i);
3072
+ r ? n.push(r) : (i.source = e.source + i.source.charAt(0).toUpperCase() + i.source.substring(1), n.push(...this.parseDirectiveKeywordBindings(i)));
3073
+ }
3074
+ this.consumeStatementTerminator();
3075
+ }
3076
+ return new Ut(n, [], this.errors);
3077
+ }
3078
+ parseKeyedReadOrWrite(e, n, s) {
3079
+ return this.withContext(Z.Writable, () => {
3080
+ this.rbracketsExpected++;
3081
+ let i = this.parsePipe();
3082
+ if (i instanceof b && this.error("Key access cannot be empty"), this.rbracketsExpected--, this.expectCharacter(G), this.isAssignmentOperator(this.next)) {
3083
+ let r = this.next.strValue;
3084
+ if (s) this.advance(), this.error("The '?.' operator cannot be used in the assignment");
3085
+ else {
3086
+ let a = new Le(this.span(n), this.sourceSpan(n), e, i);
3087
+ this.advance();
3088
+ let u = this.parseConditional();
3089
+ return new E(this.span(n), this.sourceSpan(n), r, a, u);
3090
+ }
3091
+ } else return s ? new Tt(this.span(n), this.sourceSpan(n), e, i) : new Le(this.span(n), this.sourceSpan(n), e, i);
3092
+ return new b(this.span(n), this.sourceSpan(n));
3093
+ });
3094
+ }
3095
+ parseDirectiveKeywordBindings(e) {
3096
+ let n = [];
3097
+ this.consumeOptionalCharacter(j);
3098
+ let s = this.getDirectiveBoundTarget(), i = this.currentAbsoluteOffset, r = this.parseAsBinding(e);
3099
+ r || (this.consumeStatementTerminator(), i = this.currentAbsoluteOffset);
3100
+ let a = new $(e.span.start, i);
3101
+ return n.push(new ye(a, e, s)), r && n.push(r), n;
3102
+ }
3103
+ getDirectiveBoundTarget() {
3104
+ if (this.next === Ae || this.peekKeywordAs() || this.peekKeywordLet()) return null;
3105
+ let e = this.parsePipe(), { start: n, end: s } = e.span;
3106
+ return new O(e, this.input.substring(n, s), B(this.parseSourceSpan), this.absoluteOffset + n, this.errors);
3107
+ }
3108
+ parseAsBinding(e) {
3109
+ if (!this.peekKeywordAs()) return null;
3110
+ this.advance();
3111
+ let n = this.expectTemplateBindingKey();
3112
+ this.consumeStatementTerminator();
3113
+ return new se(new $(e.span.start, this.currentAbsoluteOffset), n, e);
3114
+ }
3115
+ parseLetBinding() {
3116
+ if (!this.peekKeywordLet()) return null;
3117
+ let e = this.currentAbsoluteOffset;
3118
+ this.advance();
3119
+ let n = this.expectTemplateBindingKey(), s = null;
3120
+ this.consumeOptionalOperator("=") && (s = this.expectTemplateBindingKey()), this.consumeStatementTerminator();
3121
+ return new se(new $(e, this.currentAbsoluteOffset), n, s);
3122
+ }
3123
+ parseNoInterpolationTaggedTemplateLiteral(e, n) {
3124
+ let s = this.parseNoInterpolationTemplateLiteral();
3125
+ return new De(this.span(n), this.sourceSpan(n), e, s);
3126
+ }
3127
+ parseNoInterpolationTemplateLiteral() {
3128
+ let e = this.next.strValue, n = this.inputIndex;
3129
+ this.advance();
3130
+ let s = this.span(n), i = this.sourceSpan(n);
3131
+ return new Be(s, i, [new Oe(s, i, e)], []);
3132
+ }
3133
+ parseTaggedTemplateLiteral(e, n) {
3134
+ let s = this.parseTemplateLiteral();
3135
+ return new De(this.span(n), this.sourceSpan(n), e, s);
3136
+ }
3137
+ parseTemplateLiteral() {
3138
+ let e = [], n = [], s = this.inputIndex;
3139
+ for (; this.next !== Ae;) {
3140
+ let i = this.next;
3141
+ if (i.isTemplateLiteralPart() || i.isTemplateLiteralEnd()) {
3142
+ let r = this.inputIndex;
3143
+ if (this.advance(), e.push(new Oe(this.span(r), this.sourceSpan(r), i.strValue)), i.isTemplateLiteralEnd()) break;
3144
+ } else if (i.isTemplateLiteralInterpolationStart()) {
3145
+ this.advance(), this.rbracesExpected++;
3146
+ let r = this.parsePipe();
3147
+ r instanceof b ? this.error("Template literal interpolation cannot be empty") : n.push(r), this.rbracesExpected--;
3148
+ } else this.advance();
3149
+ }
3150
+ return new Be(this.span(s), this.sourceSpan(s), e, n);
3151
+ }
3152
+ parseRegularExpressionLiteral() {
3153
+ let e = this.next;
3154
+ if (this.advance(), !e.isRegExpBody()) return new b(this.span(this.inputIndex), this.sourceSpan(this.inputIndex));
3155
+ let n = null;
3156
+ if (this.next.isRegExpFlags()) {
3157
+ n = this.next, this.advance();
3158
+ let r = /* @__PURE__ */ new Set();
3159
+ for (let a = 0; a < n.strValue.length; a++) {
3160
+ let u = n.strValue[a];
3161
+ ts.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(ts, (p) => `"${p}"`).join(", "), n.index + a);
3162
+ }
3163
+ }
3164
+ let s = e.index, i = n ? n.end : e.end;
3165
+ return new Mt(this.span(s, i), this.sourceSpan(s, i), e.strValue, n ? n.strValue : null);
3166
+ }
3167
+ consumeStatementTerminator() {
3168
+ this.consumeOptionalCharacter(fe) || this.consumeOptionalCharacter(Q);
3169
+ }
3170
+ error(e, n = this.index) {
3171
+ this.errors.push(ee(e, this.input, this.getErrorLocationText(n), this.parseSourceSpan)), this.skip();
3172
+ }
3173
+ getErrorLocationText(e) {
3174
+ return e < this.tokens.length ? `at column ${this.tokens[e].index + 1} in` : "at the end of the expression";
3175
+ }
3176
+ _reportErrorForPrivateIdentifier(e, n) {
3177
+ let s = `Private identifiers are not supported. Unexpected private identifier: ${e}`;
3178
+ n !== null && (s += `, ${n}`), this.error(s);
3179
+ }
3180
+ skip() {
3181
+ let e = this.next;
3182
+ for (; this.index < this.tokens.length && !e.isCharacter(fe) && !e.isOperator("|") && (this.rparensExpected <= 0 || !e.isCharacter(q)) && (this.rbracesExpected <= 0 || !e.isCharacter(K)) && (this.rbracketsExpected <= 0 || !e.isCharacter(G)) && (!(this.context & Z.Writable) || !this.isAssignmentOperator(e));) this.next.isError() && this.errors.push(ee(this.next.toString(), this.input, this.getErrorLocationText(this.next.index), this.parseSourceSpan)), this.advance(), e = this.next;
3183
+ }
3184
+ };
3185
+ function ee(t, e, n, s) {
3186
+ n.length > 0 && (n = ` ${n} `);
3187
+ let i = B(s);
3188
+ return new Ce(s, `Parser Error: ${t}${n}[${e}] in ${i}`);
3189
+ }
3190
+ var Ht = class extends Rt {
3191
+ errors = [];
3192
+ visitPipe() {
3193
+ this.errors.push("pipes");
3194
+ }
3195
+ };
3196
+ function Sr(t) {
3197
+ let e = /* @__PURE__ */ new Map(), n = 0, s = 0, i = 0;
3198
+ for (; i < t.length;) {
3199
+ let r = t[i];
3200
+ if (r.type === 9) {
3201
+ let [a, u] = r.parts;
3202
+ n += u.length, s += a.length;
3203
+ } else {
3204
+ let a = r.parts.reduce((u, p) => u + p.length, 0);
3205
+ s += a, n += a;
3206
+ }
3207
+ e.set(s, n), i++;
3208
+ }
3209
+ return e;
3210
+ }
3211
+ var Er = new Map(Object.entries({
3212
+ class: "className",
3213
+ for: "htmlFor",
3214
+ formaction: "formAction",
3215
+ innerHtml: "innerHTML",
3216
+ readonly: "readOnly",
3217
+ tabindex: "tabIndex",
3218
+ "aria-activedescendant": "ariaActiveDescendantElement",
3219
+ "aria-atomic": "ariaAtomic",
3220
+ "aria-autocomplete": "ariaAutoComplete",
3221
+ "aria-busy": "ariaBusy",
3222
+ "aria-checked": "ariaChecked",
3223
+ "aria-colcount": "ariaColCount",
3224
+ "aria-colindex": "ariaColIndex",
3225
+ "aria-colindextext": "ariaColIndexText",
3226
+ "aria-colspan": "ariaColSpan",
3227
+ "aria-controls": "ariaControlsElements",
3228
+ "aria-current": "ariaCurrent",
3229
+ "aria-describedby": "ariaDescribedByElements",
3230
+ "aria-description": "ariaDescription",
3231
+ "aria-details": "ariaDetailsElements",
3232
+ "aria-disabled": "ariaDisabled",
3233
+ "aria-errormessage": "ariaErrorMessageElements",
3234
+ "aria-expanded": "ariaExpanded",
3235
+ "aria-flowto": "ariaFlowToElements",
3236
+ "aria-haspopup": "ariaHasPopup",
3237
+ "aria-hidden": "ariaHidden",
3238
+ "aria-invalid": "ariaInvalid",
3239
+ "aria-keyshortcuts": "ariaKeyShortcuts",
3240
+ "aria-label": "ariaLabel",
3241
+ "aria-labelledby": "ariaLabelledByElements",
3242
+ "aria-level": "ariaLevel",
3243
+ "aria-live": "ariaLive",
3244
+ "aria-modal": "ariaModal",
3245
+ "aria-multiline": "ariaMultiLine",
3246
+ "aria-multiselectable": "ariaMultiSelectable",
3247
+ "aria-orientation": "ariaOrientation",
3248
+ "aria-owns": "ariaOwnsElements",
3249
+ "aria-placeholder": "ariaPlaceholder",
3250
+ "aria-posinset": "ariaPosInSet",
3251
+ "aria-pressed": "ariaPressed",
3252
+ "aria-readonly": "ariaReadOnly",
3253
+ "aria-required": "ariaRequired",
3254
+ "aria-roledescription": "ariaRoleDescription",
3255
+ "aria-rowcount": "ariaRowCount",
3256
+ "aria-rowindex": "ariaRowIndex",
3257
+ "aria-rowindextext": "ariaRowIndexText",
3258
+ "aria-rowspan": "ariaRowSpan",
3259
+ "aria-selected": "ariaSelected",
3260
+ "aria-setsize": "ariaSetSize",
3261
+ "aria-sort": "ariaSort",
3262
+ "aria-valuemax": "ariaValueMax",
3263
+ "aria-valuemin": "ariaValueMin",
3264
+ "aria-valuenow": "ariaValueNow",
3265
+ "aria-valuetext": "ariaValueText"
3266
+ }));
3267
+ Array.from(Er).reduce((t, [e, n]) => (t.set(e, n), t), /* @__PURE__ */ new Map());
3268
+ new oe(new _e());
3269
+ function P(t) {
3270
+ return (e) => e.kind === t;
3271
+ }
3272
+ function we(t, e) {
3273
+ return (n) => n.kind === t && e === n.expression instanceof je;
3274
+ }
3275
+ P(f.StyleMap), P(f.ClassMap), P(f.StyleProp), P(f.ClassProp), we(f.Attribute, !0), we(f.Property, !0), we(f.Attribute, !1), P(f.Control);
3276
+ we(f.DomProperty, !0), we(f.DomProperty, !1), P(f.Attribute), P(f.StyleMap), P(f.ClassMap), P(f.StyleProp), P(f.ClassProp);
3277
+ new Set([
3278
+ f.Listener,
3279
+ f.TwoWayListener,
3280
+ f.AnimationListener,
3281
+ f.StyleMap,
3282
+ f.ClassMap,
3283
+ f.StyleProp,
3284
+ f.ClassProp,
3285
+ f.Property,
3286
+ f.TwoWayProperty,
3287
+ f.DomProperty,
3288
+ f.Attribute,
3289
+ f.Animation,
3290
+ f.Control
3291
+ ]);
3292
+ new Map([
3293
+ [R.Idle, {
3294
+ none: l.deferOnIdle,
3295
+ prefetch: l.deferPrefetchOnIdle,
3296
+ hydrate: l.deferHydrateOnIdle
3297
+ }],
3298
+ [R.Immediate, {
3299
+ none: l.deferOnImmediate,
3300
+ prefetch: l.deferPrefetchOnImmediate,
3301
+ hydrate: l.deferHydrateOnImmediate
3302
+ }],
3303
+ [R.Timer, {
3304
+ none: l.deferOnTimer,
3305
+ prefetch: l.deferPrefetchOnTimer,
3306
+ hydrate: l.deferHydrateOnTimer
3307
+ }],
3308
+ [R.Hover, {
3309
+ none: l.deferOnHover,
3310
+ prefetch: l.deferPrefetchOnHover,
3311
+ hydrate: l.deferHydrateOnHover
3312
+ }],
3313
+ [R.Interaction, {
3314
+ none: l.deferOnInteraction,
3315
+ prefetch: l.deferPrefetchOnInteraction,
3316
+ hydrate: l.deferHydrateOnInteraction
3317
+ }],
3318
+ [R.Viewport, {
3319
+ none: l.deferOnViewport,
3320
+ prefetch: l.deferPrefetchOnViewport,
3321
+ hydrate: l.deferHydrateOnViewport
3322
+ }],
3323
+ [R.Never, {
3324
+ none: l.deferHydrateNever,
3325
+ prefetch: l.deferHydrateNever,
3326
+ hydrate: l.deferHydrateNever
3327
+ }]
3328
+ ]);
3329
+ l.pipeBind1, l.pipeBind2, l.pipeBind3, l.pipeBind4;
3330
+ l.interpolate, l.interpolate1, l.interpolate2, l.interpolate3, l.interpolate4, l.interpolate5, l.interpolate6, l.interpolate7, l.interpolate8, l.interpolateV;
3331
+ new Map([
3332
+ ["window", l.resolveWindow],
3333
+ ["document", l.resolveDocument],
3334
+ ["body", l.resolveBody]
3335
+ ]);
3336
+ new Map([
3337
+ [N.HTML, l.sanitizeHtml],
3338
+ [N.RESOURCE_URL, l.sanitizeResourceUrl],
3339
+ [N.SCRIPT, l.sanitizeScript],
3340
+ [N.STYLE, l.sanitizeStyle],
3341
+ [N.URL, l.sanitizeUrl],
3342
+ [N.ATTRIBUTE_NO_BINDING, l.validateAttribute]
3343
+ ]);
3344
+ new Map([[N.HTML, l.trustConstantHtml], [N.RESOURCE_URL, l.trustConstantResourceUrl]]);
3345
+ var ns;
3346
+ (function(t) {
3347
+ t[t.None = 0] = "None", t[t.ViewContextRead = 1] = "ViewContextRead", t[t.ViewContextWrite = 2] = "ViewContextWrite", t[t.SideEffectful = 4] = "SideEffectful";
3348
+ })(ns || (ns = {}));
3349
+ new Map([
3350
+ [L.Property, M.Property],
3351
+ [L.TwoWay, M.TwoWayProperty],
3352
+ [L.Attribute, M.Attribute],
3353
+ [L.Class, M.ClassName],
3354
+ [L.Style, M.StyleProperty],
3355
+ [L.LegacyAnimation, M.LegacyAnimation],
3356
+ [L.Animation, M.Animation]
3357
+ ]);
3358
+ var ss;
3359
+ (function(t) {
3360
+ 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";
3361
+ })(ss || (ss = {}));
3362
+ var is;
3363
+ (function(t) {
3364
+ t.IDLE = "idle", t.TIMER = "timer", t.INTERACTION = "interaction", t.IMMEDIATE = "immediate", t.HOVER = "hover", t.VIEWPORT = "viewport", t.NEVER = "never";
3365
+ })(is || (is = {}));
3366
+ var ws = "%COMP%";
3367
+ `${ws}`;
3368
+ `${ws}`;
3369
+ var rs;
3370
+ (function(t) {
3371
+ t[t.Extract = 0] = "Extract", t[t.Merge = 1] = "Merge";
3372
+ })(rs || (rs = {}));
3373
+ new St("21.1.0");
3374
+ var Cr = "test.html";
3375
+ function Ss(t) {
3376
+ let e = new He(t, Cr), n = new Ue(e, 0, 0, 0), s = n.moveBy(t.length);
3377
+ return {
3378
+ text: t,
3379
+ file: e,
3380
+ start: n,
3381
+ end: s,
3382
+ sourceSpan: new We(n, s)
3383
+ };
3384
+ }
3385
+ var _r;
3386
+ function Es() {
3387
+ return _r ?? (_r = new oe(new _e()));
3388
+ }
3389
+ var Tr = (t) => oe.prototype._commentStart(t);
3390
+ function kr(t) {
3391
+ let e = Tr(t);
3392
+ return e === null ? [] : [{
3393
+ type: "CommentLine",
3394
+ value: t.slice(e + 2),
3395
+ ...be({
3396
+ start: e,
3397
+ end: t.length
3398
+ })
3399
+ }];
3400
+ }
3401
+ function ys(t) {
3402
+ let { result: e } = t;
3403
+ if (e.errors.length !== 0) {
3404
+ let [n] = e.errors;
3405
+ if (!(n instanceof Ce)) throw n;
3406
+ let { message: s } = n;
3407
+ {
3408
+ let a = s.match(/ in .*?@\d+:\d+$/);
3409
+ a && (s = s.slice(0, a.index));
3410
+ }
3411
+ let i = t.start;
3412
+ {
3413
+ let a = s.match(/at column (?<index>\d+)/);
3414
+ a && (s = s.slice(0, a.index), i = i.moveBy(Number(a.groups.index)));
3415
+ }
3416
+ let r = new SyntaxError(s.trim(), { cause: n });
3417
+ throw Object.assign(r, {
3418
+ location: i,
3419
+ span: n.span
3420
+ }), r.cause ?? (r.cause = n), r;
3421
+ }
3422
+ return t;
3423
+ }
3424
+ var Je = (t) => (e) => {
3425
+ let n = Ss(e);
3426
+ return ys({
3427
+ ...n,
3428
+ result: Es()[t](e, n.sourceSpan, 0),
3429
+ comments: kr(e)
3430
+ });
3431
+ }, Cs = Je("parseAction"), _s = Je("parseBinding"), Ts = Je("parseSimpleBinding"), ks = Je("parseInterpolationExpression"), bs = (t) => {
3432
+ let e = Ss(t);
3433
+ return ys({
3434
+ ...e,
3435
+ result: Es().parseTemplateBindings("", t, e.sourceSpan, 0, 0),
3436
+ comments: []
3437
+ });
3438
+ };
3439
+ var Ye = class {
3440
+ text;
3441
+ constructor(t) {
3442
+ this.text = t;
3443
+ }
3444
+ getCharacterIndex(t, e) {
3445
+ return pn(this.text, t, e);
3446
+ }
3447
+ transformSpan(t) {
3448
+ return be(t);
3449
+ }
3450
+ createNode(t, e) {
3451
+ let n = t.start, s = t.end, i = t.range;
3452
+ e && (Array.isArray(e) ? ([n, s] = e, i = e) : ({start: n, end: s} = e.sourceSpan ?? e, i = [n, s]));
3453
+ i ? [n, s] = i : typeof n == "number" && typeof s == "number" && (i = [n, s]);
3454
+ if (!(typeof n == "number" && typeof s == "number" && i)) throw new Error("Missing location information");
3455
+ let r = {
3456
+ ...t,
3457
+ start: n,
3458
+ end: s,
3459
+ range: i
3460
+ };
3461
+ switch (r.type) {
3462
+ case "NumericLiteral":
3463
+ case "StringLiteral":
3464
+ case "RegExpLiteral": {
3465
+ let a = this.text.slice(n, s), { value: u } = r;
3466
+ r.extra = {
3467
+ ...r.extra,
3468
+ raw: a,
3469
+ rawValue: u
3470
+ };
3471
+ break;
3472
+ }
3473
+ }
3474
+ return r;
3475
+ }
3476
+ };
3477
+ var As = Object.defineProperty, Is = (t, e) => {
3478
+ let n = {};
3479
+ for (var s in t) As(n, s, {
3480
+ get: t[s],
3481
+ enumerable: !0
3482
+ });
3483
+ return e && As(n, Symbol.toStringTag, { value: "Module" }), n;
3484
+ };
3485
+ var Ns = (t, e) => ({
3486
+ type: "ArrayExpression",
3487
+ elements: e.transformChildren(t.expressions)
3488
+ });
3489
+ var Ps = (t, e) => e.transformChild(t.ast);
3490
+ var br = (t) => t === "&&" || t === "||" || t === "??", Ls = (t, e) => {
3491
+ let { operation: n } = t, [s, i] = e.transformChildren([t.left, t.right]);
3492
+ return br(n) ? {
3493
+ type: "LogicalExpression",
3494
+ operator: n,
3495
+ left: s,
3496
+ right: i
3497
+ } : E.isAssignmentOperation(n) ? {
3498
+ type: "AssignmentExpression",
3499
+ left: s,
3500
+ right: i,
3501
+ operator: n
3502
+ } : {
3503
+ left: s,
3504
+ right: i,
3505
+ type: "BinaryExpression",
3506
+ operator: n
3507
+ };
3508
+ };
3509
+ var Ar = { optional: !1 }, Ir = { optional: !0 }, Ms = ({ optional: t }) => (e, n) => {
3510
+ let s = n.transformChildren(e.args), i = n.transformChild(e.receiver);
3511
+ return t || ue(i) ? {
3512
+ type: "OptionalCallExpression",
3513
+ callee: i,
3514
+ arguments: s,
3515
+ optional: t
3516
+ } : {
3517
+ type: "CallExpression",
3518
+ callee: i,
3519
+ arguments: s
3520
+ };
3521
+ }, Rs = Ms(Ar), $s = Ms(Ir);
3522
+ var Ds = (t, e) => ({
3523
+ type: "NGChainedExpression",
3524
+ expressions: e.transformChildren(t.expressions)
3525
+ });
3526
+ var Bs = (t, e) => {
3527
+ let [n, s, i] = e.transformChildren([
3528
+ t.condition,
3529
+ t.trueExp,
3530
+ t.falseExp
3531
+ ]);
3532
+ return {
3533
+ type: "ConditionalExpression",
3534
+ test: n,
3535
+ consequent: s,
3536
+ alternate: i
3537
+ };
3538
+ };
3539
+ var Os = (t, e) => {
3540
+ let { expressions: n } = t;
3541
+ if (n.length !== 1) throw new Error("Unexpected 'Interpolation'");
3542
+ return e.transformChild(n[0]);
3543
+ };
3544
+ var Fs = (t) => {
3545
+ let { value: e } = t;
3546
+ switch (typeof e) {
3547
+ case "boolean": return {
3548
+ type: "BooleanLiteral",
3549
+ value: e
3550
+ };
3551
+ case "number": return {
3552
+ type: "NumericLiteral",
3553
+ value: e
3554
+ };
3555
+ case "object": return { type: "NullLiteral" };
3556
+ case "string": return {
3557
+ type: "StringLiteral",
3558
+ value: e
3559
+ };
3560
+ case "undefined": return {
3561
+ type: "Identifier",
3562
+ name: "undefined"
3563
+ };
3564
+ default: throw new Error(`Unexpected 'LiteralPrimitive' value type ${typeof e}`);
3565
+ }
3566
+ }, Vs = (t) => ({
3567
+ type: "RegExpLiteral",
3568
+ pattern: t.body,
3569
+ flags: t.flags ?? ""
3570
+ });
3571
+ var Nr = {
3572
+ computed: !0,
3573
+ optional: !1
3574
+ }, Pr = {
3575
+ computed: !0,
3576
+ optional: !0
3577
+ }, Lr = {
3578
+ computed: !1,
3579
+ optional: !1
3580
+ }, Mr = {
3581
+ computed: !1,
3582
+ optional: !0
3583
+ }, Qe = ({ computed: t, optional: e }) => (n, s) => {
3584
+ let { receiver: i } = n, r;
3585
+ if (t) {
3586
+ let { key: u } = n;
3587
+ r = s.transformChild(u);
3588
+ } else {
3589
+ let u = i instanceof ne, { name: p, nameSpan: d } = n;
3590
+ if (r = s.create({
3591
+ type: "Identifier",
3592
+ name: p
3593
+ }, d, u ? s.ancestors : []), u) return r;
3594
+ }
3595
+ let a = s.transformChild(i);
3596
+ return e || ue(a) ? {
3597
+ type: "OptionalMemberExpression",
3598
+ optional: e,
3599
+ property: r,
3600
+ object: a,
3601
+ computed: t
3602
+ } : {
3603
+ type: "MemberExpression",
3604
+ property: r,
3605
+ object: a,
3606
+ computed: t
3607
+ };
3608
+ }, Us = Qe(Nr), Hs = Qe(Pr), Ws = Qe(Lr), qs = Qe(Mr);
3609
+ var js = (t, e) => ({
3610
+ type: "TSNonNullExpression",
3611
+ expression: e.transformChild(t.expression)
3612
+ });
3613
+ var zs = (t, e) => {
3614
+ let { keys: n, values: s } = t, i = (r, a = t) => e.create(r, a, [t, ...e.ancestors]);
3615
+ return {
3616
+ type: "ObjectExpression",
3617
+ properties: n.map((r, a) => {
3618
+ let u = s[a], p = [r.sourceSpan.start, u.sourceSpan.end];
3619
+ if (r.kind === "spread") return i({
3620
+ type: "SpreadElement",
3621
+ argument: e.transformChild(u)
3622
+ }, p);
3623
+ let d = !!r.isShorthandInitialized;
3624
+ return i({
3625
+ type: "ObjectProperty",
3626
+ key: i(r.quoted ? {
3627
+ type: "StringLiteral",
3628
+ value: r.key
3629
+ } : {
3630
+ type: "Identifier",
3631
+ name: r.key
3632
+ }, r.sourceSpan),
3633
+ value: e.transformChild(u),
3634
+ shorthand: d,
3635
+ computed: !1,
3636
+ method: !1
3637
+ }, p);
3638
+ })
3639
+ };
3640
+ };
3641
+ var Gs = (t, e) => e.transformChild(t.expression);
3642
+ var Xs = (t, e) => ({
3643
+ type: "NGPipeExpression",
3644
+ left: e.transformChild(t.exp),
3645
+ right: e.create({
3646
+ type: "Identifier",
3647
+ name: t.name
3648
+ }, t.nameSpan),
3649
+ arguments: e.transformChildren(t.args)
3650
+ });
3651
+ var Js = (t, e) => ({
3652
+ type: "SpreadElement",
3653
+ argument: e.transformChild(t.expression)
3654
+ });
3655
+ var Ys = (t, e) => ({
3656
+ type: "TaggedTemplateExpression",
3657
+ tag: e.transformChild(t.tag),
3658
+ quasi: e.transformChild(t.template)
3659
+ }), Qs = (t, e) => ({
3660
+ type: "TemplateLiteral",
3661
+ quasis: e.transformChildren(t.elements),
3662
+ expressions: e.transformChildren(t.expressions)
3663
+ }), Ks = (t, e) => {
3664
+ 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), p = t.sourceSpan.start + (r ? 1 : 0), d = e.text.slice(p, u);
3665
+ return {
3666
+ type: "TemplateElement",
3667
+ value: {
3668
+ cooked: t.text,
3669
+ raw: d
3670
+ },
3671
+ tail: a,
3672
+ range: [p, u]
3673
+ };
3674
+ };
3675
+ var Zs = () => ({ type: "ThisExpression" });
3676
+ var Xt = (t) => (e, n) => ({
3677
+ type: "UnaryExpression",
3678
+ prefix: !0,
3679
+ operator: t,
3680
+ argument: n.transformChild(e.expression)
3681
+ }), ei = Xt("!"), ti = Xt("typeof"), ni = Xt("void"), si = (t, e) => ({
3682
+ type: "UnaryExpression",
3683
+ prefix: !0,
3684
+ argument: e.transformChild(t.expr),
3685
+ operator: t.operator
3686
+ });
3687
+ var Rr = (t) => {
3688
+ throw new Error(`Unexpected node type '${t.constructor.name}'`);
3689
+ }, ii = Rr;
3690
+ var oi = Is({
3691
+ visitASTWithSource: () => Ps,
3692
+ visitBinary: () => Ls,
3693
+ visitCall: () => Rs,
3694
+ visitChain: () => Ds,
3695
+ visitConditional: () => Bs,
3696
+ visitImplicitReceiver: () => ii,
3697
+ visitInterpolation: () => Os,
3698
+ visitKeyedRead: () => Us,
3699
+ visitLiteralArray: () => Ns,
3700
+ visitLiteralMap: () => zs,
3701
+ visitLiteralPrimitive: () => Fs,
3702
+ visitNonNullAssert: () => js,
3703
+ visitParenthesizedExpression: () => Gs,
3704
+ visitPipe: () => Xs,
3705
+ visitPrefixNot: () => ei,
3706
+ visitPropertyRead: () => Ws,
3707
+ visitRegularExpressionLiteral: () => Vs,
3708
+ visitSafeCall: () => $s,
3709
+ visitSafeKeyedRead: () => Hs,
3710
+ visitSafePropertyRead: () => qs,
3711
+ visitSpreadElement: () => Js,
3712
+ visitTaggedTemplateLiteral: () => Ys,
3713
+ visitTemplateLiteral: () => Qs,
3714
+ visitTemplateLiteralElement: () => Ks,
3715
+ visitThisReceiver: () => Zs,
3716
+ visitTypeofExpression: () => ti,
3717
+ visitUnary: () => si,
3718
+ visitVoidExpression: () => ni
3719
+ });
3720
+ var Ke = class Jt extends Ye {
3721
+ node;
3722
+ ancestors;
3723
+ constructor({ node: e, text: n, ancestors: s = [] }) {
3724
+ super(n), this.node = e, this.ancestors = s;
3725
+ }
3726
+ create(e, n, s = this.ancestors) {
3727
+ return s[0] instanceof Ee && (e.extra = {
3728
+ ...e.extra,
3729
+ parenthesized: !0
3730
+ }), super.createNode(e, e.range ?? n ?? this.node);
3731
+ }
3732
+ transformChild(e) {
3733
+ return new Jt({
3734
+ node: e,
3735
+ ancestors: [this.node, ...this.ancestors],
3736
+ text: this.text
3737
+ }).transform();
3738
+ }
3739
+ transformChildren(e) {
3740
+ return e.map((n) => this.transformChild(n));
3741
+ }
3742
+ transform() {
3743
+ let { node: e } = this;
3744
+ if (e instanceof b) return this.create({ type: "NGEmptyExpression" });
3745
+ let n = e.visit(oi, this);
3746
+ return this.create(n, this.node);
3747
+ }
3748
+ static transform(e, n) {
3749
+ return new Jt({
3750
+ node: e,
3751
+ text: n,
3752
+ ancestors: []
3753
+ }).transform();
3754
+ }
3755
+ };
3756
+ var ai = class extends Ke {
3757
+ constructor(t) {
3758
+ super({
3759
+ node: t,
3760
+ text: t.source
3761
+ });
3762
+ }
3763
+ };
3764
+ var li = (t, e) => Ke.transform(t, e), ci = (t) => new ai(t).transform();
3765
+ var ui = (t, e) => (n, s, ...i) => n | 1 && s == null ? void 0 : (e.call(s) ?? s[t]).apply(s, i);
3766
+ function $r(t) {
3767
+ return this[t < 0 ? this.length + t : t];
3768
+ }
3769
+ var pi = ui("at", function() {
3770
+ if (Array.isArray(this) || typeof this == "string") return $r;
3771
+ });
3772
+ function hi(t) {
3773
+ return t instanceof ye;
3774
+ }
3775
+ function fi(t) {
3776
+ return t instanceof se;
3777
+ }
3778
+ var ae, J, m, di, C, Yt, Qt, Kt, mi, gi, vi, xi, le, Br = (le = class extends Ye {
3779
+ constructor(n, s) {
3780
+ super(s);
3781
+ ke(this, m);
3782
+ ke(this, ae);
3783
+ ke(this, J);
3784
+ st(this, ae, n), st(this, J, s);
3785
+ for (let i of n) v(this, m, mi).call(this, i);
3786
+ }
3787
+ get expressions() {
3788
+ return v(this, m, vi).call(this);
3789
+ }
3790
+ }, ae = /* @__PURE__ */ new WeakMap(), J = /* @__PURE__ */ new WeakMap(), m = /* @__PURE__ */ new WeakSet(), di = function() {
3791
+ return U(this, ae)[0].key;
3792
+ }, C = function(n, s) {
3793
+ return cn(le.prototype, this, "createNode").call(this, n, s);
3794
+ }, Yt = function(n) {
3795
+ return li(n, this.text);
3796
+ }, Qt = function(n) {
3797
+ return hn(n.slice(U(this, m, di).source.length));
3798
+ }, Kt = function(n) {
3799
+ let s = U(this, J);
3800
+ if (s[n.start] !== "\"" && s[n.start] !== "'") return;
3801
+ let i = s[n.start], r = !1;
3802
+ for (let a = n.start + 1; a < s.length; a++) switch (s[a]) {
3803
+ case i: if (!r) {
3804
+ n.end = a + 1;
3805
+ return;
3806
+ }
3807
+ default:
3808
+ r = !1;
3809
+ break;
3810
+ case "\\":
3811
+ r = !r;
3812
+ break;
3813
+ }
3814
+ }, mi = function(n) {
3815
+ v(this, m, Kt).call(this, n.key.span), fi(n) && n.value && v(this, m, Kt).call(this, n.value.span);
3816
+ }, gi = function(n) {
3817
+ if (!n.value || n.value.source) return n.value;
3818
+ let s = this.getCharacterIndex(/\S/, n.sourceSpan.start);
3819
+ return {
3820
+ source: "$implicit",
3821
+ span: {
3822
+ start: s,
3823
+ end: s
3824
+ }
3825
+ };
3826
+ }, vi = function() {
3827
+ let n = U(this, ae), [s] = n, i = U(this, J).slice(s.sourceSpan.start, s.sourceSpan.end).trim().length === 0 ? n.slice(1) : n, r = [], a = null;
3828
+ for (let [u, p] of i.entries()) {
3829
+ if (a && hi(a) && fi(p) && p.value && p.value.source === a.key.source) {
3830
+ let d = v(this, m, C).call(this, {
3831
+ type: "NGMicrosyntaxKey",
3832
+ name: p.key.source
3833
+ }, p.key.span), w = (T, y) => ({
3834
+ ...T,
3835
+ ...this.transformSpan({
3836
+ start: T.start,
3837
+ end: y
3838
+ })
3839
+ }), D = (T) => ({
3840
+ ...w(T, d.end),
3841
+ alias: d
3842
+ }), _ = r.pop();
3843
+ if (_.type === "NGMicrosyntaxExpression") r.push(D(_));
3844
+ else if (_.type === "NGMicrosyntaxKeyedExpression") {
3845
+ let T = D(_.expression);
3846
+ r.push(w({
3847
+ ..._,
3848
+ expression: T
3849
+ }, T.end));
3850
+ } else throw new Error(`Unexpected type ${_.type}`);
3851
+ } else r.push(v(this, m, xi).call(this, p, u));
3852
+ a = p;
3853
+ }
3854
+ return v(this, m, C).call(this, {
3855
+ type: "NGMicrosyntax",
3856
+ body: r
3857
+ }, r.length === 0 ? n[0].sourceSpan : {
3858
+ start: r[0].start,
3859
+ end: pi(0, r, -1).end
3860
+ });
3861
+ }, xi = function(n, s) {
3862
+ if (hi(n)) {
3863
+ let { key: i, value: r } = n;
3864
+ return r ? s === 0 ? v(this, m, C).call(this, {
3865
+ type: "NGMicrosyntaxExpression",
3866
+ expression: v(this, m, Yt).call(this, r.ast),
3867
+ alias: null
3868
+ }, r) : v(this, m, C).call(this, {
3869
+ type: "NGMicrosyntaxKeyedExpression",
3870
+ key: v(this, m, C).call(this, {
3871
+ type: "NGMicrosyntaxKey",
3872
+ name: v(this, m, Qt).call(this, i.source)
3873
+ }, i.span),
3874
+ expression: v(this, m, C).call(this, {
3875
+ type: "NGMicrosyntaxExpression",
3876
+ expression: v(this, m, Yt).call(this, r.ast),
3877
+ alias: null
3878
+ }, r)
3879
+ }, [i.span.start, r.sourceSpan.end]) : v(this, m, C).call(this, {
3880
+ type: "NGMicrosyntaxKey",
3881
+ name: v(this, m, Qt).call(this, i.source)
3882
+ }, i.span);
3883
+ } else {
3884
+ let { key: i, sourceSpan: r } = n;
3885
+ if (/^let\s$/.test(U(this, J).slice(r.start, r.start + 4))) {
3886
+ let { value: a } = n;
3887
+ return v(this, m, C).call(this, {
3888
+ type: "NGMicrosyntaxLet",
3889
+ key: v(this, m, C).call(this, {
3890
+ type: "NGMicrosyntaxKey",
3891
+ name: i.source
3892
+ }, i.span),
3893
+ value: a ? v(this, m, C).call(this, {
3894
+ type: "NGMicrosyntaxKey",
3895
+ name: a.source
3896
+ }, a.span) : null
3897
+ }, [r.start, a ? a.span.end : i.span.end]);
3898
+ } else {
3899
+ let a = v(this, m, gi).call(this, n);
3900
+ return v(this, m, C).call(this, {
3901
+ type: "NGMicrosyntaxAs",
3902
+ key: v(this, m, C).call(this, {
3903
+ type: "NGMicrosyntaxKey",
3904
+ name: a.source
3905
+ }, a.span),
3906
+ alias: v(this, m, C).call(this, {
3907
+ type: "NGMicrosyntaxKey",
3908
+ name: i.source
3909
+ }, i.span)
3910
+ }, [a.span.start, i.span.end]);
3911
+ }
3912
+ }
3913
+ }, le);
3914
+ function wi(t, e) {
3915
+ return new Br(t, e).expressions;
3916
+ }
3917
+ var Ze = (t) => (e) => {
3918
+ let { result: n, comments: s } = t(e);
3919
+ return Object.assign(ci(n), { comments: s });
3920
+ }, et = Ze(Cs), Zt = Ze(_s);
3921
+ Ze(Ts);
3922
+ var en = Ze(ks), tn = (t) => wi(bs(t).result.templateBindings, t);
3923
+ function nn(t) {
3924
+ let e = t.range?.[0] ?? t.start, n = (t.declaration?.decorators ?? t.decorators)?.[0];
3925
+ return n ? Math.min(nn(n), e) : e;
3926
+ }
3927
+ function Si(t) {
3928
+ return t.range?.[1] ?? t.end;
3929
+ }
3930
+ function tt(t) {
3931
+ return {
3932
+ astFormat: "estree",
3933
+ parse(e) {
3934
+ let n = t(e), { comments: s } = n;
3935
+ return delete n.comments, t === et && n.type !== "NGChainedExpression" && (n = {
3936
+ ...n,
3937
+ type: "NGChainedExpression",
3938
+ expressions: [n]
3939
+ }), {
3940
+ type: "NGRoot",
3941
+ node: n,
3942
+ comments: s
3943
+ };
3944
+ },
3945
+ locStart: nn,
3946
+ locEnd: Si
3947
+ };
3948
+ }
3949
+ var Fr = tt(et), Vr = tt(Zt), Ur = tt(en), Hr = tt(tn);
3950
+ //#endregion
3951
+ export { Ei as default, sn as parsers };