@angular/core 16.2.0-next.2 → 16.2.0-next.4

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.
@@ -63,7 +63,7 @@ var __async = (__this, __arguments, generator) => {
63
63
  });
64
64
  };
65
65
 
66
- // bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
66
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
67
67
  var standalone_migration_exports = {};
68
68
  __export(standalone_migration_exports, {
69
69
  default: () => standalone_migration_default
@@ -71,10 +71,10 @@ __export(standalone_migration_exports, {
71
71
  module.exports = __toCommonJS(standalone_migration_exports);
72
72
  var import_schematics = require("@angular-devkit/schematics");
73
73
 
74
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
74
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
75
75
  var import_typescript = __toESM(require("typescript"), 1);
76
76
 
77
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
77
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
78
78
  var InvalidFileSystem = class {
79
79
  exists(path3) {
80
80
  throw makeError();
@@ -162,7 +162,7 @@ function makeError() {
162
162
  return new Error("FileSystem has not been configured. Please call `setFileSystem()` before calling this method.");
163
163
  }
164
164
 
165
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/util.mjs
165
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/util.mjs
166
166
  var TS_DTS_JS_EXTENSION = /(?:\.d)?\.ts$|\.js$/;
167
167
  function stripExtension(path3) {
168
168
  return path3.replace(TS_DTS_JS_EXTENSION, "");
@@ -175,7 +175,7 @@ function getSourceFileOrError(program, fileName) {
175
175
  return sf;
176
176
  }
177
177
 
178
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
178
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
179
179
  var fs = new InvalidFileSystem();
180
180
  function getFileSystem() {
181
181
  return fs;
@@ -219,7 +219,7 @@ function toRelativeImport(relativePath) {
219
219
  return isLocalRelativePath(relativePath) ? `./${relativePath}` : relativePath;
220
220
  }
221
221
 
222
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/logical.mjs
222
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/logical.mjs
223
223
  var LogicalProjectPath = {
224
224
  relativePathBetween: function(from, to) {
225
225
  const relativePath = relative(dirname(resolve(from)), resolve(to));
@@ -265,7 +265,7 @@ function isWithinBasePath(base, path3) {
265
265
  return isLocalRelativePath(relative(base, path3));
266
266
  }
267
267
 
268
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
268
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
269
269
  var import_fs = __toESM(require("fs"), 1);
270
270
  var import_module = __toESM(require("module"), 1);
271
271
  var p = __toESM(require("path"), 1);
@@ -373,7 +373,7 @@ function toggleCase(str) {
373
373
  return str.replace(/\w/g, (ch) => ch.toUpperCase() === ch ? ch.toLowerCase() : ch.toUpperCase());
374
374
  }
375
375
 
376
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/selector.mjs
376
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/selector.mjs
377
377
  var _SELECTOR_REGEXP = new RegExp(
378
378
  `(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`,
379
379
  "g"
@@ -681,7 +681,7 @@ var SelectorContext = class {
681
681
  }
682
682
  };
683
683
 
684
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/core.mjs
684
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/core.mjs
685
685
  var emitDistinctChangesOnlyDefaultValue = true;
686
686
  var ViewEncapsulation;
687
687
  (function(ViewEncapsulation2) {
@@ -744,7 +744,7 @@ function parseSelectorToR3Selector(selector) {
744
744
  return selector ? CssSelector.parse(selector).map(parserSelectorToR3Selector) : [];
745
745
  }
746
746
 
747
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
747
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
748
748
  var output_ast_exports = {};
749
749
  __export(output_ast_exports, {
750
750
  ArrayType: () => ArrayType,
@@ -758,6 +758,7 @@ __export(output_ast_exports, {
758
758
  DYNAMIC_TYPE: () => DYNAMIC_TYPE,
759
759
  DeclareFunctionStmt: () => DeclareFunctionStmt,
760
760
  DeclareVarStmt: () => DeclareVarStmt,
761
+ DynamicImportExpr: () => DynamicImportExpr,
761
762
  Expression: () => Expression,
762
763
  ExpressionStatement: () => ExpressionStatement,
763
764
  ExpressionType: () => ExpressionType,
@@ -829,7 +830,7 @@ __export(output_ast_exports, {
829
830
  variable: () => variable
830
831
  });
831
832
 
832
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/big_integer.mjs
833
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/big_integer.mjs
833
834
  var BigInteger = class {
834
835
  static zero() {
835
836
  return new BigInteger([0]);
@@ -921,7 +922,7 @@ var BigIntExponentiation = class {
921
922
  }
922
923
  };
923
924
 
924
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/digest.mjs
925
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/digest.mjs
925
926
  var textEncoder;
926
927
  function digest(message) {
927
928
  return message.id || computeDigest(message);
@@ -1184,7 +1185,7 @@ function wordsToDecimalString(hi, lo) {
1184
1185
  return decimal.toString();
1185
1186
  }
1186
1187
 
1187
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
1188
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
1188
1189
  var TypeModifier;
1189
1190
  (function(TypeModifier2) {
1190
1191
  TypeModifier2[TypeModifier2["None"] = 0] = "None";
@@ -1744,6 +1745,24 @@ var ConditionalExpr = class extends Expression {
1744
1745
  return new ConditionalExpr(this.condition.clone(), this.trueCase.clone(), (_a2 = this.falseCase) == null ? void 0 : _a2.clone(), this.type, this.sourceSpan);
1745
1746
  }
1746
1747
  };
1748
+ var DynamicImportExpr = class extends Expression {
1749
+ constructor(url, sourceSpan) {
1750
+ super(null, sourceSpan);
1751
+ this.url = url;
1752
+ }
1753
+ isEquivalent(e) {
1754
+ return e instanceof DynamicImportExpr && this.url === e.url;
1755
+ }
1756
+ isConstant() {
1757
+ return false;
1758
+ }
1759
+ visitExpression(visitor, context) {
1760
+ return visitor.visitDynamicImportExpr(this, context);
1761
+ }
1762
+ clone() {
1763
+ return new DynamicImportExpr(this.url, this.sourceSpan);
1764
+ }
1765
+ };
1747
1766
  var NotExpr = class extends Expression {
1748
1767
  constructor(condition, sourceSpan) {
1749
1768
  super(BOOL_TYPE, sourceSpan);
@@ -2121,6 +2140,9 @@ var RecursiveAstVisitor = class {
2121
2140
  ast.value.visitExpression(this, context);
2122
2141
  return this.visitExpression(ast, context);
2123
2142
  }
2143
+ visitDynamicImportExpr(ast, context) {
2144
+ return this.visitExpression(ast, context);
2145
+ }
2124
2146
  visitInvokeFunctionExpr(ast, context) {
2125
2147
  ast.fn.visitExpression(this, context);
2126
2148
  this.visitAllExpressions(ast.args, context);
@@ -2312,7 +2334,7 @@ function serializeTags(tags) {
2312
2334
  return out;
2313
2335
  }
2314
2336
 
2315
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/constant_pool.mjs
2337
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/constant_pool.mjs
2316
2338
  var CONSTANT_PREFIX = "_c";
2317
2339
  var UNKNOWN_VALUE_KEY = variable("<unknown>");
2318
2340
  var KEY_CONTEXT = {};
@@ -2480,7 +2502,7 @@ function isLongStringLiteral(expr) {
2480
2502
  return expr instanceof LiteralExpr && typeof expr.value === "string" && expr.value.length >= POOL_INCLUSION_LENGTH_THRESHOLD_FOR_STRINGS;
2481
2503
  }
2482
2504
 
2483
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_identifiers.mjs
2505
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_identifiers.mjs
2484
2506
  var CORE = "@angular/core";
2485
2507
  var _Identifiers = class {
2486
2508
  };
@@ -3038,7 +3060,7 @@ var Identifiers = _Identifiers;
3038
3060
  _Identifiers.validateIframeAttribute = { name: "\u0275\u0275validateIframeAttribute", moduleName: CORE };
3039
3061
  })();
3040
3062
 
3041
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/util.mjs
3063
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/util.mjs
3042
3064
  var DASH_CASE_REGEXP = /-+([a-z0-9])/g;
3043
3065
  function dashCaseToCamelCase(input) {
3044
3066
  return input.replace(DASH_CASE_REGEXP, (...m) => m[1].toUpperCase());
@@ -3116,7 +3138,7 @@ var Version = class {
3116
3138
  this.patch = splits.slice(2).join(".");
3117
3139
  }
3118
3140
  };
3119
- var _global = /* @__PURE__ */ (() => typeof global !== "undefined" && global || typeof window !== "undefined" && window || typeof self !== "undefined" && typeof WorkerGlobalScope !== "undefined" && self instanceof WorkerGlobalScope && self)();
3141
+ var _global = globalThis;
3120
3142
  function partitionArray(arr, conditionFn) {
3121
3143
  const truthy = [];
3122
3144
  const falsy = [];
@@ -3126,7 +3148,7 @@ function partitionArray(arr, conditionFn) {
3126
3148
  return [truthy, falsy];
3127
3149
  }
3128
3150
 
3129
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/output/source_map.mjs
3151
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/source_map.mjs
3130
3152
  var VERSION = 3;
3131
3153
  var JS_B64_PREFIX = "# sourceMappingURL=data:application/json;base64,";
3132
3154
  var SourceMapGenerator = class {
@@ -3255,7 +3277,7 @@ function toBase64Digit(value) {
3255
3277
  return B64_DIGITS[value];
3256
3278
  }
3257
3279
 
3258
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/output/abstract_emitter.mjs
3280
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_emitter.mjs
3259
3281
  var _SINGLE_QUOTE_ESCAPE_STRING_RE = /'|\\|\n|\r|\$/g;
3260
3282
  var _LEGAL_IDENTIFIER_RE = /^[$A-Z_][0-9A-Z_$]*$/i;
3261
3283
  var _INDENT_WITH = " ";
@@ -3550,6 +3572,9 @@ var AbstractEmitterVisitor = class {
3550
3572
  ctx.print(ast, `)`);
3551
3573
  return null;
3552
3574
  }
3575
+ visitDynamicImportExpr(ast, ctx) {
3576
+ ctx.print(ast, `import(${ast.url})`);
3577
+ }
3553
3578
  visitNotExpr(ast, ctx) {
3554
3579
  ctx.print(ast, "!");
3555
3580
  ast.condition.visitExpression(this, ctx);
@@ -3730,7 +3755,7 @@ function _createIndent(count) {
3730
3755
  return res;
3731
3756
  }
3732
3757
 
3733
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/util.mjs
3758
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/util.mjs
3734
3759
  function typeWithParameters(type, numParams) {
3735
3760
  if (numParams === 0) {
3736
3761
  return expressionType(type);
@@ -3798,7 +3823,7 @@ function generateForwardRef(expr) {
3798
3823
  return importExpr(Identifiers.forwardRef).callFn([fn([], [new ReturnStatement(expr)])]);
3799
3824
  }
3800
3825
 
3801
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_factory.mjs
3826
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_factory.mjs
3802
3827
  var R3FactoryDelegateType;
3803
3828
  (function(R3FactoryDelegateType2) {
3804
3829
  R3FactoryDelegateType2[R3FactoryDelegateType2["Class"] = 0] = "Class";
@@ -3943,7 +3968,7 @@ function getInjectFn(target) {
3943
3968
  }
3944
3969
  }
3945
3970
 
3946
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_ast.mjs
3971
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_ast.mjs
3947
3972
  var Comment = class {
3948
3973
  constructor(value, sourceSpan) {
3949
3974
  this.value = value;
@@ -4047,6 +4072,96 @@ var Element = class {
4047
4072
  return visitor.visitElement(this);
4048
4073
  }
4049
4074
  };
4075
+ var DeferredTrigger = class {
4076
+ constructor(sourceSpan) {
4077
+ this.sourceSpan = sourceSpan;
4078
+ }
4079
+ visit(visitor) {
4080
+ return visitor.visitDeferredTrigger(this);
4081
+ }
4082
+ };
4083
+ var BoundDeferredTrigger = class extends DeferredTrigger {
4084
+ constructor(value, sourceSpan) {
4085
+ super(sourceSpan);
4086
+ this.value = value;
4087
+ }
4088
+ };
4089
+ var IdleDeferredTrigger = class extends DeferredTrigger {
4090
+ };
4091
+ var ImmediateDeferredTrigger = class extends DeferredTrigger {
4092
+ };
4093
+ var HoverDeferredTrigger = class extends DeferredTrigger {
4094
+ };
4095
+ var TimerDeferredTrigger = class extends DeferredTrigger {
4096
+ constructor(delay, sourceSpan) {
4097
+ super(sourceSpan);
4098
+ this.delay = delay;
4099
+ }
4100
+ };
4101
+ var InteractionDeferredTrigger = class extends DeferredTrigger {
4102
+ constructor(reference2, sourceSpan) {
4103
+ super(sourceSpan);
4104
+ this.reference = reference2;
4105
+ }
4106
+ };
4107
+ var ViewportDeferredTrigger = class extends DeferredTrigger {
4108
+ constructor(reference2, sourceSpan) {
4109
+ super(sourceSpan);
4110
+ this.reference = reference2;
4111
+ }
4112
+ };
4113
+ var DeferredBlockPlaceholder = class {
4114
+ constructor(children, minimumTime, sourceSpan, startSourceSpan, endSourceSpan) {
4115
+ this.children = children;
4116
+ this.minimumTime = minimumTime;
4117
+ this.sourceSpan = sourceSpan;
4118
+ this.startSourceSpan = startSourceSpan;
4119
+ this.endSourceSpan = endSourceSpan;
4120
+ }
4121
+ visit(visitor) {
4122
+ return visitor.visitDeferredBlockPlaceholder(this);
4123
+ }
4124
+ };
4125
+ var DeferredBlockLoading = class {
4126
+ constructor(children, afterTime, minimumTime, sourceSpan, startSourceSpan, endSourceSpan) {
4127
+ this.children = children;
4128
+ this.afterTime = afterTime;
4129
+ this.minimumTime = minimumTime;
4130
+ this.sourceSpan = sourceSpan;
4131
+ this.startSourceSpan = startSourceSpan;
4132
+ this.endSourceSpan = endSourceSpan;
4133
+ }
4134
+ visit(visitor) {
4135
+ return visitor.visitDeferredBlockLoading(this);
4136
+ }
4137
+ };
4138
+ var DeferredBlockError = class {
4139
+ constructor(children, sourceSpan, startSourceSpan, endSourceSpan) {
4140
+ this.children = children;
4141
+ this.sourceSpan = sourceSpan;
4142
+ this.startSourceSpan = startSourceSpan;
4143
+ this.endSourceSpan = endSourceSpan;
4144
+ }
4145
+ visit(visitor) {
4146
+ return visitor.visitDeferredBlockError(this);
4147
+ }
4148
+ };
4149
+ var DeferredBlock = class {
4150
+ constructor(children, triggers, prefetchTriggers, placeholder, loading, error2, sourceSpan, startSourceSpan, endSourceSpan) {
4151
+ this.children = children;
4152
+ this.triggers = triggers;
4153
+ this.prefetchTriggers = prefetchTriggers;
4154
+ this.placeholder = placeholder;
4155
+ this.loading = loading;
4156
+ this.error = error2;
4157
+ this.sourceSpan = sourceSpan;
4158
+ this.startSourceSpan = startSourceSpan;
4159
+ this.endSourceSpan = endSourceSpan;
4160
+ }
4161
+ visit(visitor) {
4162
+ return visitor.visitDeferredBlock(this);
4163
+ }
4164
+ };
4050
4165
  var Template = class {
4051
4166
  constructor(tagName, attributes, inputs, outputs, templateAttrs, children, references, variables, sourceSpan, startSourceSpan, endSourceSpan, i18n) {
4052
4167
  this.tagName = tagName;
@@ -4129,6 +4244,24 @@ var RecursiveVisitor = class {
4129
4244
  visitAll(this, template2.references);
4130
4245
  visitAll(this, template2.variables);
4131
4246
  }
4247
+ visitDeferredBlock(deferred) {
4248
+ var _a2, _b2, _c2;
4249
+ visitAll(this, deferred.triggers);
4250
+ visitAll(this, deferred.prefetchTriggers);
4251
+ visitAll(this, deferred.children);
4252
+ (_a2 = deferred.placeholder) == null ? void 0 : _a2.visit(this);
4253
+ (_b2 = deferred.loading) == null ? void 0 : _b2.visit(this);
4254
+ (_c2 = deferred.error) == null ? void 0 : _c2.visit(this);
4255
+ }
4256
+ visitDeferredBlockPlaceholder(block) {
4257
+ visitAll(this, block.children);
4258
+ }
4259
+ visitDeferredBlockError(block) {
4260
+ visitAll(this, block.children);
4261
+ }
4262
+ visitDeferredBlockLoading(block) {
4263
+ visitAll(this, block.children);
4264
+ }
4132
4265
  visitContent(content) {
4133
4266
  }
4134
4267
  visitVariable(variable2) {
@@ -4147,6 +4280,8 @@ var RecursiveVisitor = class {
4147
4280
  }
4148
4281
  visitIcu(icu) {
4149
4282
  }
4283
+ visitDeferredTrigger(trigger) {
4284
+ }
4150
4285
  };
4151
4286
  function visitAll(visitor, nodes) {
4152
4287
  const result = [];
@@ -4165,7 +4300,7 @@ function visitAll(visitor, nodes) {
4165
4300
  return result;
4166
4301
  }
4167
4302
 
4168
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/i18n_ast.mjs
4303
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_ast.mjs
4169
4304
  var Message = class {
4170
4305
  constructor(nodes, placeholders, placeholderToMessage, meaning, description, customId) {
4171
4306
  this.nodes = nodes;
@@ -4328,7 +4463,7 @@ var LocalizeMessageStringVisitor = class {
4328
4463
  }
4329
4464
  };
4330
4465
 
4331
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/serializers/serializer.mjs
4466
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/serializer.mjs
4332
4467
  var Serializer = class {
4333
4468
  createNameMapper(message) {
4334
4469
  return null;
@@ -4380,7 +4515,7 @@ var SimplePlaceholderMapper = class extends RecurseVisitor {
4380
4515
  }
4381
4516
  };
4382
4517
 
4383
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/serializers/xml_helper.mjs
4518
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xml_helper.mjs
4384
4519
  var _Visitor = class {
4385
4520
  visitTag(tag) {
4386
4521
  const strAttrs = this._serializeAttributes(tag.attrs);
@@ -4468,7 +4603,7 @@ function escapeXml(text2) {
4468
4603
  return _ESCAPED_CHARS.reduce((text3, entry) => text3.replace(entry[0], entry[1]), text2);
4469
4604
  }
4470
4605
 
4471
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/serializers/xmb.mjs
4606
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xmb.mjs
4472
4607
  var _MESSAGES_TAG = "messagebundle";
4473
4608
  var _MESSAGE_TAG = "msg";
4474
4609
  var _PLACEHOLDER_TAG = "ph";
@@ -4611,7 +4746,7 @@ function toPublicName(internalName) {
4611
4746
  return internalName.toUpperCase().replace(/[^A-Z0-9_]/g, "_");
4612
4747
  }
4613
4748
 
4614
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/i18n/util.mjs
4749
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/util.mjs
4615
4750
  var CLOSURE_TRANSLATION_VAR_PREFIX = "MSG_";
4616
4751
  var TRANSLATION_VAR_PREFIX = "i18n_";
4617
4752
  var I18N_ATTR = "i18n";
@@ -4713,7 +4848,7 @@ function declareI18nVariable(variable2) {
4713
4848
  return new DeclareVarStmt(variable2.name, void 0, INFERRED_TYPE, void 0, variable2.sourceSpan);
4714
4849
  }
4715
4850
 
4716
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/util.mjs
4851
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/util.mjs
4717
4852
  var UNSAFE_OBJECT_KEY_NAME_REGEXP = /[-.]/;
4718
4853
  var TEMPORARY_NAME = "_t";
4719
4854
  var CONTEXT_NAME = "ctx";
@@ -4929,7 +5064,7 @@ function getInstructionStatements(instructions) {
4929
5064
  return statements;
4930
5065
  }
4931
5066
 
4932
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/injectable_compiler_2.mjs
5067
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/injectable_compiler_2.mjs
4933
5068
  function compileInjectable(meta, resolveForwardRefs) {
4934
5069
  let result = null;
4935
5070
  const factoryMeta = {
@@ -5017,7 +5152,7 @@ function createFactoryFunction(type) {
5017
5152
  return fn([new FnParam("t", DYNAMIC_TYPE)], [new ReturnStatement(type.prop("\u0275fac").callFn([variable("t")]))]);
5018
5153
  }
5019
5154
 
5020
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/assertions.mjs
5155
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/assertions.mjs
5021
5156
  var UNUSABLE_INTERPOLATION_REGEXPS = [
5022
5157
  /^\s*$/,
5023
5158
  /[<>]/,
@@ -5039,7 +5174,7 @@ function assertInterpolationSymbols(identifier, value) {
5039
5174
  }
5040
5175
  }
5041
5176
 
5042
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/interpolation_config.mjs
5177
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/interpolation_config.mjs
5043
5178
  var InterpolationConfig = class {
5044
5179
  static fromArray(markers) {
5045
5180
  if (!markers) {
@@ -5055,7 +5190,7 @@ var InterpolationConfig = class {
5055
5190
  };
5056
5191
  var DEFAULT_INTERPOLATION_CONFIG = new InterpolationConfig("{{", "}}");
5057
5192
 
5058
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/chars.mjs
5193
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/chars.mjs
5059
5194
  var $EOF = 0;
5060
5195
  var $BSPACE = 8;
5061
5196
  var $TAB = 9;
@@ -5136,7 +5271,7 @@ function isQuote(code) {
5136
5271
  return code === $SQ || code === $DQ || code === $BT;
5137
5272
  }
5138
5273
 
5139
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/parse_util.mjs
5274
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/parse_util.mjs
5140
5275
  var ParseLocation = class {
5141
5276
  constructor(file, offset, line, col) {
5142
5277
  this.file = file;
@@ -5283,7 +5418,7 @@ function sanitizeIdentifier(name) {
5283
5418
  return name.replace(/\W/g, "_");
5284
5419
  }
5285
5420
 
5286
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/output/abstract_js_emitter.mjs
5421
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_js_emitter.mjs
5287
5422
  var makeTemplateObjectPolyfill = '(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';
5288
5423
  var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
5289
5424
  constructor() {
@@ -5354,7 +5489,7 @@ var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
5354
5489
  }
5355
5490
  };
5356
5491
 
5357
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/output/output_jit_trusted_types.mjs
5492
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit_trusted_types.mjs
5358
5493
  var policy;
5359
5494
  function getPolicy() {
5360
5495
  if (policy === void 0) {
@@ -5391,7 +5526,7 @@ function newTrustedFunctionForJIT(...args) {
5391
5526
  return fn2.bind(_global);
5392
5527
  }
5393
5528
 
5394
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/output/output_jit.mjs
5529
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit.mjs
5395
5530
  var JitEvaluator = class {
5396
5531
  evaluateStatements(sourceUrl, statements, refResolver, createSourceMaps) {
5397
5532
  const converter = new JitEmitterVisitor(refResolver);
@@ -5482,7 +5617,7 @@ function isUseStrictStatement(statement) {
5482
5617
  return statement.isEquivalent(literal("use strict").toStmt());
5483
5618
  }
5484
5619
 
5485
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_injector_compiler.mjs
5620
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_injector_compiler.mjs
5486
5621
  function compileInjector(meta) {
5487
5622
  const definitionMap = new DefinitionMap();
5488
5623
  if (meta.providers !== null) {
@@ -5499,7 +5634,7 @@ function createInjectorType(meta) {
5499
5634
  return new ExpressionType(importExpr(Identifiers.InjectorDeclaration, [new ExpressionType(meta.type.type)]));
5500
5635
  }
5501
5636
 
5502
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_jit.mjs
5637
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_jit.mjs
5503
5638
  var R3JitReflector = class {
5504
5639
  constructor(context) {
5505
5640
  this.context = context;
@@ -5515,7 +5650,7 @@ var R3JitReflector = class {
5515
5650
  }
5516
5651
  };
5517
5652
 
5518
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_module_compiler.mjs
5653
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_module_compiler.mjs
5519
5654
  var R3SelectorScopeMode;
5520
5655
  (function(R3SelectorScopeMode2) {
5521
5656
  R3SelectorScopeMode2[R3SelectorScopeMode2["Inline"] = 0] = "Inline";
@@ -5659,7 +5794,7 @@ function tupleOfTypes(types) {
5659
5794
  return types.length > 0 ? expressionType(literalArr(typeofTypes)) : NONE_TYPE;
5660
5795
  }
5661
5796
 
5662
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_pipe_compiler.mjs
5797
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_pipe_compiler.mjs
5663
5798
  function compilePipeFromMetadata(metadata) {
5664
5799
  const definitionMapValues = [];
5665
5800
  definitionMapValues.push({ key: "name", value: literal(metadata.pipeName), quoted: false });
@@ -5680,7 +5815,7 @@ function createPipeType(metadata) {
5680
5815
  ]));
5681
5816
  }
5682
5817
 
5683
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/api.mjs
5818
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/api.mjs
5684
5819
  var R3TemplateDependencyKind;
5685
5820
  (function(R3TemplateDependencyKind2) {
5686
5821
  R3TemplateDependencyKind2[R3TemplateDependencyKind2["Directive"] = 0] = "Directive";
@@ -5688,7 +5823,7 @@ var R3TemplateDependencyKind;
5688
5823
  R3TemplateDependencyKind2[R3TemplateDependencyKind2["NgModule"] = 2] = "NgModule";
5689
5824
  })(R3TemplateDependencyKind || (R3TemplateDependencyKind = {}));
5690
5825
 
5691
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/expression_parser/ast.mjs
5826
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/ast.mjs
5692
5827
  var ParserError = class {
5693
5828
  constructor(message, input, errLocation, ctxLocation) {
5694
5829
  this.input = input;
@@ -6354,7 +6489,7 @@ var BoundElementProperty = class {
6354
6489
  }
6355
6490
  };
6356
6491
 
6357
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/compiler_util/expression_converter.mjs
6492
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/compiler_util/expression_converter.mjs
6358
6493
  var _EventHandlerVars = class {
6359
6494
  };
6360
6495
  var EventHandlerVars = _EventHandlerVars;
@@ -6976,7 +7111,7 @@ var BuiltinFunctionCall = class extends Call {
6976
7111
  }
6977
7112
  };
6978
7113
 
6979
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
7114
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
6980
7115
  var _SECURITY_SCHEMA;
6981
7116
  function SECURITY_SCHEMA() {
6982
7117
  if (!_SECURITY_SCHEMA) {
@@ -7034,7 +7169,7 @@ function isIframeSecuritySensitiveAttr(attrName) {
7034
7169
  return IFRAME_SECURITY_SENSITIVE_ATTRS.has(attrName.toLowerCase());
7035
7170
  }
7036
7171
 
7037
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/shadow_css.mjs
7172
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/shadow_css.mjs
7038
7173
  var animationKeywords = /* @__PURE__ */ new Set([
7039
7174
  "inherit",
7040
7175
  "initial",
@@ -7501,7 +7636,7 @@ function repeatGroups(groups, multiples) {
7501
7636
  }
7502
7637
  }
7503
7638
 
7504
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
7639
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
7505
7640
  var TagContentType;
7506
7641
  (function(TagContentType2) {
7507
7642
  TagContentType2[TagContentType2["RAW_TEXT"] = 0] = "RAW_TEXT";
@@ -7534,7 +7669,7 @@ function mergeNsAndName(prefix, localName) {
7534
7669
  return prefix ? `:${prefix}:${localName}` : localName;
7535
7670
  }
7536
7671
 
7537
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/element.mjs
7672
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/element.mjs
7538
7673
  var ElementAttributeKind;
7539
7674
  (function(ElementAttributeKind2) {
7540
7675
  ElementAttributeKind2[ElementAttributeKind2["Attribute"] = 0] = "Attribute";
@@ -7614,7 +7749,7 @@ function assertIsElementAttributes(attrs) {
7614
7749
  }
7615
7750
  }
7616
7751
 
7617
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/enums.mjs
7752
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/enums.mjs
7618
7753
  var OpKind;
7619
7754
  (function(OpKind2) {
7620
7755
  OpKind2[OpKind2["ListEnd"] = 0] = "ListEnd";
@@ -7632,14 +7767,17 @@ var OpKind;
7632
7767
  OpKind2[OpKind2["InterpolateText"] = 12] = "InterpolateText";
7633
7768
  OpKind2[OpKind2["Property"] = 13] = "Property";
7634
7769
  OpKind2[OpKind2["StyleProp"] = 14] = "StyleProp";
7635
- OpKind2[OpKind2["StyleMap"] = 15] = "StyleMap";
7636
- OpKind2[OpKind2["InterpolateProperty"] = 16] = "InterpolateProperty";
7637
- OpKind2[OpKind2["InterpolateStyleProp"] = 17] = "InterpolateStyleProp";
7638
- OpKind2[OpKind2["InterpolateStyleMap"] = 18] = "InterpolateStyleMap";
7639
- OpKind2[OpKind2["Advance"] = 19] = "Advance";
7640
- OpKind2[OpKind2["Pipe"] = 20] = "Pipe";
7641
- OpKind2[OpKind2["Attribute"] = 21] = "Attribute";
7642
- OpKind2[OpKind2["InterpolateAttribute"] = 22] = "InterpolateAttribute";
7770
+ OpKind2[OpKind2["ClassProp"] = 15] = "ClassProp";
7771
+ OpKind2[OpKind2["StyleMap"] = 16] = "StyleMap";
7772
+ OpKind2[OpKind2["ClassMap"] = 17] = "ClassMap";
7773
+ OpKind2[OpKind2["InterpolateProperty"] = 18] = "InterpolateProperty";
7774
+ OpKind2[OpKind2["InterpolateStyleProp"] = 19] = "InterpolateStyleProp";
7775
+ OpKind2[OpKind2["InterpolateStyleMap"] = 20] = "InterpolateStyleMap";
7776
+ OpKind2[OpKind2["InterpolateClassMap"] = 21] = "InterpolateClassMap";
7777
+ OpKind2[OpKind2["Advance"] = 22] = "Advance";
7778
+ OpKind2[OpKind2["Pipe"] = 23] = "Pipe";
7779
+ OpKind2[OpKind2["Attribute"] = 24] = "Attribute";
7780
+ OpKind2[OpKind2["InterpolateAttribute"] = 25] = "InterpolateAttribute";
7643
7781
  })(OpKind || (OpKind = {}));
7644
7782
  var ExpressionKind;
7645
7783
  (function(ExpressionKind2) {
@@ -7670,7 +7808,7 @@ var SemanticVariableKind;
7670
7808
  SemanticVariableKind2[SemanticVariableKind2["SavedView"] = 2] = "SavedView";
7671
7809
  })(SemanticVariableKind || (SemanticVariableKind = {}));
7672
7810
 
7673
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/traits.mjs
7811
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/traits.mjs
7674
7812
  var ConsumesSlot = Symbol("ConsumesSlot");
7675
7813
  var DependsOnSlotContext = Symbol("DependsOnSlotContext");
7676
7814
  var UsesSlotIndex = Symbol("UsesSlotIndex");
@@ -7711,7 +7849,7 @@ function hasUsesSlotIndexTrait(value) {
7711
7849
  return value[UsesSlotIndex] === true;
7712
7850
  }
7713
7851
 
7714
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/expression.mjs
7852
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/expression.mjs
7715
7853
  var _a;
7716
7854
  var _b;
7717
7855
  var _c;
@@ -8252,11 +8390,14 @@ function transformExpressionsInOp(op, transform, flags) {
8252
8390
  case OpKind.Property:
8253
8391
  case OpKind.StyleProp:
8254
8392
  case OpKind.StyleMap:
8393
+ case OpKind.ClassProp:
8394
+ case OpKind.ClassMap:
8255
8395
  op.expression = transformExpressionsInExpression(op.expression, transform, flags);
8256
8396
  break;
8257
8397
  case OpKind.InterpolateProperty:
8258
8398
  case OpKind.InterpolateStyleProp:
8259
8399
  case OpKind.InterpolateStyleMap:
8400
+ case OpKind.InterpolateClassMap:
8260
8401
  case OpKind.InterpolateText:
8261
8402
  for (let i = 0; i < op.expressions.length; i++) {
8262
8403
  op.expressions[i] = transformExpressionsInExpression(op.expressions[i], transform, flags);
@@ -8355,7 +8496,7 @@ function transformExpressionsInStatement(stmt, transform, flags) {
8355
8496
  }
8356
8497
  }
8357
8498
 
8358
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/operations.mjs
8499
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/operations.mjs
8359
8500
  var _OpList = class {
8360
8501
  constructor() {
8361
8502
  this.debugListId = _OpList.nextListId++;
@@ -8521,7 +8662,7 @@ var OpList = _OpList;
8521
8662
  _OpList.nextListId = 0;
8522
8663
  })();
8523
8664
 
8524
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/shared.mjs
8665
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/shared.mjs
8525
8666
  function createStatementOp(statement) {
8526
8667
  return __spreadValues({
8527
8668
  kind: OpKind.Statement,
@@ -8542,7 +8683,7 @@ var NEW_OP = {
8542
8683
  next: null
8543
8684
  };
8544
8685
 
8545
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/create.mjs
8686
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/create.mjs
8546
8687
  var elementContainerOpKinds = /* @__PURE__ */ new Set([
8547
8688
  OpKind.Element,
8548
8689
  OpKind.ElementStart,
@@ -8604,7 +8745,7 @@ function createPipeOp(xref, name) {
8604
8745
  }, NEW_OP), TRAIT_CONSUMES_SLOT);
8605
8746
  }
8606
8747
 
8607
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/update.mjs
8748
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/update.mjs
8608
8749
  function createInterpolateTextOp(xref, strings, expressions) {
8609
8750
  return __spreadValues(__spreadValues(__spreadValues({
8610
8751
  kind: OpKind.InterpolateText,
@@ -8631,6 +8772,14 @@ function createStylePropOp(xref, name, expression, unit) {
8631
8772
  unit
8632
8773
  }, TRAIT_DEPENDS_ON_SLOT_CONTEXT), TRAIT_CONSUMES_VARS), NEW_OP);
8633
8774
  }
8775
+ function createClassPropOp(xref, name, expression) {
8776
+ return __spreadValues(__spreadValues(__spreadValues({
8777
+ kind: OpKind.ClassProp,
8778
+ target: xref,
8779
+ name,
8780
+ expression
8781
+ }, TRAIT_DEPENDS_ON_SLOT_CONTEXT), TRAIT_CONSUMES_VARS), NEW_OP);
8782
+ }
8634
8783
  function createStyleMapOp(xref, expression) {
8635
8784
  return __spreadValues(__spreadValues(__spreadValues({
8636
8785
  kind: OpKind.StyleMap,
@@ -8638,6 +8787,13 @@ function createStyleMapOp(xref, expression) {
8638
8787
  expression
8639
8788
  }, TRAIT_DEPENDS_ON_SLOT_CONTEXT), TRAIT_CONSUMES_VARS), NEW_OP);
8640
8789
  }
8790
+ function createClassMapOp(xref, expression) {
8791
+ return __spreadValues(__spreadValues(__spreadValues({
8792
+ kind: OpKind.ClassMap,
8793
+ target: xref,
8794
+ expression
8795
+ }, TRAIT_DEPENDS_ON_SLOT_CONTEXT), TRAIT_CONSUMES_VARS), NEW_OP);
8796
+ }
8641
8797
  function createAttributeOp(target, attributeKind, name, value) {
8642
8798
  return __spreadValues(__spreadValues(__spreadValues({
8643
8799
  kind: OpKind.Attribute,
@@ -8685,6 +8841,14 @@ function createInterpolateStyleMapOp(xref, strings, expressions) {
8685
8841
  expressions
8686
8842
  }, TRAIT_DEPENDS_ON_SLOT_CONTEXT), TRAIT_CONSUMES_VARS), NEW_OP);
8687
8843
  }
8844
+ function createInterpolateClassMapOp(xref, strings, expressions) {
8845
+ return __spreadValues(__spreadValues(__spreadValues({
8846
+ kind: OpKind.InterpolateClassMap,
8847
+ target: xref,
8848
+ strings,
8849
+ expressions
8850
+ }, TRAIT_DEPENDS_ON_SLOT_CONTEXT), TRAIT_CONSUMES_VARS), NEW_OP);
8851
+ }
8688
8852
  function createAdvanceOp(delta) {
8689
8853
  return __spreadValues({
8690
8854
  kind: OpKind.Advance,
@@ -8692,7 +8856,7 @@ function createAdvanceOp(delta) {
8692
8856
  }, NEW_OP);
8693
8857
  }
8694
8858
 
8695
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
8859
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
8696
8860
  function phaseVarCounting(cpl) {
8697
8861
  for (const [_, view] of cpl.views) {
8698
8862
  let varCount = 0;
@@ -8727,19 +8891,23 @@ function phaseVarCounting(cpl) {
8727
8891
  function varsUsedByOp(op) {
8728
8892
  switch (op.kind) {
8729
8893
  case OpKind.Property:
8730
- case OpKind.StyleProp:
8731
- case OpKind.StyleMap:
8732
- return 1;
8733
8894
  case OpKind.Attribute:
8734
8895
  return 1;
8896
+ case OpKind.StyleProp:
8897
+ case OpKind.ClassProp:
8898
+ case OpKind.StyleMap:
8899
+ case OpKind.ClassMap:
8900
+ return 2;
8735
8901
  case OpKind.InterpolateText:
8736
8902
  return op.expressions.length;
8737
8903
  case OpKind.InterpolateProperty:
8738
- case OpKind.InterpolateStyleProp:
8739
- case OpKind.InterpolateStyleMap:
8740
8904
  return 1 + op.expressions.length;
8741
8905
  case OpKind.InterpolateAttribute:
8742
8906
  return 1 + op.expressions.length;
8907
+ case OpKind.InterpolateStyleProp:
8908
+ case OpKind.InterpolateStyleMap:
8909
+ case OpKind.InterpolateClassMap:
8910
+ return 2 + op.expressions.length;
8743
8911
  default:
8744
8912
  throw new Error(`Unhandled op: ${OpKind[op.kind]}`);
8745
8913
  }
@@ -8757,7 +8925,7 @@ function varsUsedByIrExpression(expr) {
8757
8925
  }
8758
8926
  }
8759
8927
 
8760
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/align_pipe_variadic_var_offset.mjs
8928
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/align_pipe_variadic_var_offset.mjs
8761
8929
  function phaseAlignPipeVariadicVarOffset(cpl) {
8762
8930
  for (const view of cpl.views.values()) {
8763
8931
  for (const op of view.update) {
@@ -8778,7 +8946,7 @@ function phaseAlignPipeVariadicVarOffset(cpl) {
8778
8946
  }
8779
8947
  }
8780
8948
 
8781
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/attribute_extraction.mjs
8949
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/attribute_extraction.mjs
8782
8950
  function phaseAttributeExtraction(cpl, compatibility) {
8783
8951
  for (const [_, view] of cpl.views) {
8784
8952
  populateElementAttributes(view, compatibility);
@@ -8830,6 +8998,7 @@ function populateElementAttributes(view, compatibility) {
8830
8998
  ownerOp.attributes.add(op.bindingKind, op.name, null);
8831
8999
  break;
8832
9000
  case OpKind.StyleProp:
9001
+ case OpKind.ClassProp:
8833
9002
  ownerOp = lookupElement(elements, op.target);
8834
9003
  assertIsElementAttributes(ownerOp.attributes);
8835
9004
  if (removeIfExpressionIsEmpty(op, op.expression) && compatibility) {
@@ -8848,13 +9017,23 @@ function populateElementAttributes(view, compatibility) {
8848
9017
  }
8849
9018
  }
8850
9019
 
8851
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/chaining.mjs
9020
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/chaining.mjs
8852
9021
  var CHAINABLE = /* @__PURE__ */ new Set([
8853
9022
  Identifiers.elementStart,
8854
9023
  Identifiers.elementEnd,
8855
9024
  Identifiers.property,
8856
9025
  Identifiers.styleProp,
8857
9026
  Identifiers.attribute,
9027
+ Identifiers.stylePropInterpolate1,
9028
+ Identifiers.stylePropInterpolate2,
9029
+ Identifiers.stylePropInterpolate3,
9030
+ Identifiers.stylePropInterpolate4,
9031
+ Identifiers.stylePropInterpolate5,
9032
+ Identifiers.stylePropInterpolate6,
9033
+ Identifiers.stylePropInterpolate7,
9034
+ Identifiers.stylePropInterpolate8,
9035
+ Identifiers.stylePropInterpolateV,
9036
+ Identifiers.classProp,
8858
9037
  Identifiers.elementContainerStart,
8859
9038
  Identifiers.elementContainerEnd,
8860
9039
  Identifiers.elementContainer
@@ -8896,7 +9075,7 @@ function chainOperationsInList(opList) {
8896
9075
  }
8897
9076
  }
8898
9077
 
8899
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/const_collection.mjs
9078
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/const_collection.mjs
8900
9079
  function phaseConstCollection(cpl) {
8901
9080
  for (const [_, view] of cpl.views) {
8902
9081
  for (const op of view.create) {
@@ -8937,7 +9116,7 @@ function serializeAttributes({ attributes, bindings, classes, i18n, projectAs, s
8937
9116
  return literalArr(attrArray);
8938
9117
  }
8939
9118
 
8940
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/empty_elements.mjs
9119
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/empty_elements.mjs
8941
9120
  var REPLACEMENTS = /* @__PURE__ */ new Map([
8942
9121
  [OpKind.ElementEnd, [OpKind.ElementStart, OpKind.Element]],
8943
9122
  [OpKind.ContainerEnd, [OpKind.ContainerStart, OpKind.Container]]
@@ -8958,7 +9137,139 @@ function phaseEmptyElements(cpl) {
8958
9137
  }
8959
9138
  }
8960
9139
 
8961
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_advance.mjs
9140
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/expand_safe_reads.mjs
9141
+ function phaseExpandSafeReads(cpl, compatibility) {
9142
+ for (const [_, view] of cpl.views) {
9143
+ for (const op of view.ops()) {
9144
+ transformExpressionsInOp(op, (e) => safeTransform(e, { cpl, compatibility }), VisitorContextFlag.None);
9145
+ transformExpressionsInOp(op, ternaryTransform, VisitorContextFlag.None);
9146
+ }
9147
+ }
9148
+ }
9149
+ var requiresTemporary = [
9150
+ InvokeFunctionExpr,
9151
+ LiteralArrayExpr,
9152
+ LiteralMapExpr,
9153
+ SafeInvokeFunctionExpr,
9154
+ PipeBindingExpr
9155
+ ].map((e) => e.constructor.name);
9156
+ function needsTemporaryInSafeAccess(e) {
9157
+ if (e instanceof UnaryOperatorExpr) {
9158
+ return needsTemporaryInSafeAccess(e.expr);
9159
+ } else if (e instanceof BinaryOperatorExpr) {
9160
+ return needsTemporaryInSafeAccess(e.lhs) || needsTemporaryInSafeAccess(e.rhs);
9161
+ } else if (e instanceof ConditionalExpr) {
9162
+ if (e.falseCase && needsTemporaryInSafeAccess(e.falseCase))
9163
+ return true;
9164
+ return needsTemporaryInSafeAccess(e.condition) || needsTemporaryInSafeAccess(e.trueCase);
9165
+ } else if (e instanceof NotExpr) {
9166
+ return needsTemporaryInSafeAccess(e.condition);
9167
+ } else if (e instanceof AssignTemporaryExpr) {
9168
+ return needsTemporaryInSafeAccess(e.expr);
9169
+ } else if (e instanceof ReadPropExpr) {
9170
+ return needsTemporaryInSafeAccess(e.receiver);
9171
+ } else if (e instanceof ReadKeyExpr) {
9172
+ return needsTemporaryInSafeAccess(e.receiver) || needsTemporaryInSafeAccess(e.index);
9173
+ }
9174
+ return e instanceof InvokeFunctionExpr || e instanceof LiteralArrayExpr || e instanceof LiteralMapExpr || e instanceof SafeInvokeFunctionExpr || e instanceof PipeBindingExpr;
9175
+ }
9176
+ function temporariesIn(e) {
9177
+ const temporaries = /* @__PURE__ */ new Set();
9178
+ transformExpressionsInExpression(e, (e2) => {
9179
+ if (e2 instanceof AssignTemporaryExpr) {
9180
+ temporaries.add(e2.xref);
9181
+ }
9182
+ return e2;
9183
+ }, VisitorContextFlag.None);
9184
+ return temporaries;
9185
+ }
9186
+ function eliminateTemporaryAssignments(e, tmps, ctx) {
9187
+ transformExpressionsInExpression(e, (e2) => {
9188
+ if (e2 instanceof AssignTemporaryExpr && tmps.has(e2.xref)) {
9189
+ const read = new ReadTemporaryExpr(e2.xref);
9190
+ return ctx.compatibility ? new AssignTemporaryExpr(read, read.xref) : read;
9191
+ }
9192
+ return e2;
9193
+ }, VisitorContextFlag.None);
9194
+ return e;
9195
+ }
9196
+ function safeTernaryWithTemporary(guard, body, ctx) {
9197
+ let result;
9198
+ if (needsTemporaryInSafeAccess(guard)) {
9199
+ const xref = ctx.cpl.allocateXrefId();
9200
+ result = [new AssignTemporaryExpr(guard, xref), new ReadTemporaryExpr(xref)];
9201
+ } else {
9202
+ result = [guard, guard.clone()];
9203
+ eliminateTemporaryAssignments(result[1], temporariesIn(result[0]), ctx);
9204
+ }
9205
+ return new SafeTernaryExpr(result[0], body(result[1]));
9206
+ }
9207
+ function isSafeAccessExpression(e) {
9208
+ return e instanceof SafePropertyReadExpr || e instanceof SafeKeyedReadExpr;
9209
+ }
9210
+ function isUnsafeAccessExpression(e) {
9211
+ return e instanceof ReadPropExpr || e instanceof ReadKeyExpr || e instanceof InvokeFunctionExpr;
9212
+ }
9213
+ function isAccessExpression(e) {
9214
+ return isSafeAccessExpression(e) || isUnsafeAccessExpression(e);
9215
+ }
9216
+ function deepestSafeTernary(e) {
9217
+ if (isAccessExpression(e) && e.receiver instanceof SafeTernaryExpr) {
9218
+ let st = e.receiver;
9219
+ while (st.expr instanceof SafeTernaryExpr) {
9220
+ st = st.expr;
9221
+ }
9222
+ return st;
9223
+ }
9224
+ return null;
9225
+ }
9226
+ function safeTransform(e, ctx) {
9227
+ if (e instanceof SafeInvokeFunctionExpr) {
9228
+ return new InvokeFunctionExpr(e.receiver, e.args);
9229
+ }
9230
+ if (!isAccessExpression(e)) {
9231
+ return e;
9232
+ }
9233
+ const dst = deepestSafeTernary(e);
9234
+ if (dst) {
9235
+ if (e instanceof InvokeFunctionExpr) {
9236
+ dst.expr = dst.expr.callFn(e.args);
9237
+ return e.receiver;
9238
+ }
9239
+ if (e instanceof ReadPropExpr) {
9240
+ dst.expr = dst.expr.prop(e.name);
9241
+ return e.receiver;
9242
+ }
9243
+ if (e instanceof ReadKeyExpr) {
9244
+ dst.expr = dst.expr.key(e.index);
9245
+ return e.receiver;
9246
+ }
9247
+ if (e instanceof SafePropertyReadExpr) {
9248
+ dst.expr = safeTernaryWithTemporary(dst.expr, (r) => r.prop(e.name), ctx);
9249
+ return e.receiver;
9250
+ }
9251
+ if (e instanceof SafeKeyedReadExpr) {
9252
+ dst.expr = safeTernaryWithTemporary(dst.expr, (r) => r.key(e.index), ctx);
9253
+ return e.receiver;
9254
+ }
9255
+ } else {
9256
+ if (e instanceof SafePropertyReadExpr) {
9257
+ return safeTernaryWithTemporary(e.receiver, (r) => r.prop(e.name), ctx);
9258
+ }
9259
+ if (e instanceof SafeKeyedReadExpr) {
9260
+ return safeTernaryWithTemporary(e.receiver, (r) => r.key(e.index), ctx);
9261
+ }
9262
+ }
9263
+ return e;
9264
+ }
9265
+ function ternaryTransform(e) {
9266
+ if (!(e instanceof SafeTernaryExpr)) {
9267
+ return e;
9268
+ }
9269
+ return new ConditionalExpr(new BinaryOperatorExpr(BinaryOperator.Equals, e.guard, NULL_EXPR), NULL_EXPR, e.expr);
9270
+ }
9271
+
9272
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_advance.mjs
8962
9273
  function phaseGenerateAdvance(cpl) {
8963
9274
  for (const [_, view] of cpl.views) {
8964
9275
  const slotMap = /* @__PURE__ */ new Map();
@@ -8990,23 +9301,7 @@ function phaseGenerateAdvance(cpl) {
8990
9301
  }
8991
9302
  }
8992
9303
 
8993
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nullish_coalescing.mjs
8994
- function phaseNullishCoalescing(cpl) {
8995
- for (const view of cpl.views.values()) {
8996
- for (const op of view.ops()) {
8997
- transformExpressionsInOp(op, (expr) => {
8998
- if (!(expr instanceof BinaryOperatorExpr) || expr.operator !== BinaryOperator.NullishCoalesce) {
8999
- return expr;
9000
- }
9001
- const assignment = new AssignTemporaryExpr(expr.lhs.clone(), cpl.allocateXrefId());
9002
- const read = new ReadTemporaryExpr(assignment.xref);
9003
- return new ConditionalExpr(new BinaryOperatorExpr(BinaryOperator.And, new BinaryOperatorExpr(BinaryOperator.NotIdentical, assignment, NULL_EXPR), new BinaryOperatorExpr(BinaryOperator.NotIdentical, read, new LiteralExpr(void 0))), read.clone(), expr.rhs);
9004
- }, VisitorContextFlag.None);
9005
- }
9006
- }
9007
- }
9008
-
9009
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_variables.mjs
9304
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_variables.mjs
9010
9305
  function phaseGenerateVariables(cpl) {
9011
9306
  recursivelyProcessView(cpl.root, null);
9012
9307
  }
@@ -9086,7 +9381,7 @@ function generateVariablesInScopeForView(view, scope) {
9086
9381
  return newOps;
9087
9382
  }
9088
9383
 
9089
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
9384
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
9090
9385
  function phaseLocalRefs(cpl) {
9091
9386
  for (const view of cpl.views.values()) {
9092
9387
  for (const op of view.create) {
@@ -9117,13 +9412,74 @@ function serializeLocalRefs(refs) {
9117
9412
  return literalArr(constRefs);
9118
9413
  }
9119
9414
 
9120
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
9121
- function phaseNaming(cpl) {
9122
- addNamesToView(cpl.root, cpl.componentName, { index: 0 });
9415
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/style_parser.mjs
9416
+ function parse(value) {
9417
+ const styles = [];
9418
+ let i = 0;
9419
+ let parenDepth = 0;
9420
+ let quote = 0;
9421
+ let valueStart = 0;
9422
+ let propStart = 0;
9423
+ let currentProp = null;
9424
+ while (i < value.length) {
9425
+ const token = value.charCodeAt(i++);
9426
+ switch (token) {
9427
+ case 40:
9428
+ parenDepth++;
9429
+ break;
9430
+ case 41:
9431
+ parenDepth--;
9432
+ break;
9433
+ case 39:
9434
+ if (quote === 0) {
9435
+ quote = 39;
9436
+ } else if (quote === 39 && value.charCodeAt(i - 1) !== 92) {
9437
+ quote = 0;
9438
+ }
9439
+ break;
9440
+ case 34:
9441
+ if (quote === 0) {
9442
+ quote = 34;
9443
+ } else if (quote === 34 && value.charCodeAt(i - 1) !== 92) {
9444
+ quote = 0;
9445
+ }
9446
+ break;
9447
+ case 58:
9448
+ if (!currentProp && parenDepth === 0 && quote === 0) {
9449
+ currentProp = hyphenate(value.substring(propStart, i - 1).trim());
9450
+ valueStart = i;
9451
+ }
9452
+ break;
9453
+ case 59:
9454
+ if (currentProp && valueStart > 0 && parenDepth === 0 && quote === 0) {
9455
+ const styleVal = value.substring(valueStart, i - 1).trim();
9456
+ styles.push(currentProp, styleVal);
9457
+ propStart = i;
9458
+ valueStart = 0;
9459
+ currentProp = null;
9460
+ }
9461
+ break;
9462
+ }
9463
+ }
9464
+ if (currentProp && valueStart) {
9465
+ const styleVal = value.slice(valueStart).trim();
9466
+ styles.push(currentProp, styleVal);
9467
+ }
9468
+ return styles;
9469
+ }
9470
+ function hyphenate(value) {
9471
+ return value.replace(/[a-z][A-Z]/g, (v) => {
9472
+ return v.charAt(0) + "-" + v.charAt(1);
9473
+ }).toLowerCase();
9474
+ }
9475
+
9476
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
9477
+ function phaseNaming(cpl, compatibility) {
9478
+ addNamesToView(cpl.root, cpl.componentName, { index: 0 }, compatibility);
9123
9479
  }
9124
- function addNamesToView(view, baseName, state) {
9480
+ function addNamesToView(view, baseName, state, compatibility) {
9125
9481
  if (view.fnName === null) {
9126
- view.fnName = `${baseName}_Template`;
9482
+ view.fnName = sanitizeIdentifier(`${baseName}_Template`);
9127
9483
  }
9128
9484
  const varNames = /* @__PURE__ */ new Map();
9129
9485
  for (const op of view.ops()) {
@@ -9133,7 +9489,7 @@ function addNamesToView(view, baseName, state) {
9133
9489
  if (op.slot === null) {
9134
9490
  throw new Error(`Expected a slot to be assigned`);
9135
9491
  }
9136
- op.handlerFnName = `${view.fnName}_${op.tag}_${op.name}_${op.slot}_listener`;
9492
+ op.handlerFnName = sanitizeIdentifier(`${view.fnName}_${op.tag}_${op.name}_${op.slot}_listener`);
9137
9493
  }
9138
9494
  break;
9139
9495
  case OpKind.Variable:
@@ -9144,8 +9500,19 @@ function addNamesToView(view, baseName, state) {
9144
9500
  if (op.slot === null) {
9145
9501
  throw new Error(`Expected slot to be assigned`);
9146
9502
  }
9147
- const safeTagName = op.tag.replace("-", "_");
9148
- addNamesToView(childView, `${baseName}_${safeTagName}_${op.slot}`, state);
9503
+ addNamesToView(childView, `${baseName}_${op.tag}_${op.slot}`, state, compatibility);
9504
+ break;
9505
+ case OpKind.StyleProp:
9506
+ case OpKind.InterpolateStyleProp:
9507
+ op.name = normalizeStylePropName(op.name);
9508
+ if (compatibility) {
9509
+ op.name = stripImportant(op.name);
9510
+ }
9511
+ break;
9512
+ case OpKind.ClassProp:
9513
+ if (compatibility) {
9514
+ op.name = stripImportant(op.name);
9515
+ }
9149
9516
  break;
9150
9517
  }
9151
9518
  }
@@ -9174,8 +9541,18 @@ function getVariableName(variable2, state) {
9174
9541
  }
9175
9542
  return variable2.name;
9176
9543
  }
9544
+ function normalizeStylePropName(name) {
9545
+ return name.startsWith("--") ? name : hyphenate(name);
9546
+ }
9547
+ function stripImportant(name) {
9548
+ const importantIndex = name.indexOf("!important");
9549
+ if (importantIndex > -1) {
9550
+ return name.substring(0, importantIndex);
9551
+ }
9552
+ return name;
9553
+ }
9177
9554
 
9178
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
9555
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
9179
9556
  function phaseMergeNextContext(cpl) {
9180
9557
  for (const view of cpl.views.values()) {
9181
9558
  for (const op of view.create) {
@@ -9220,7 +9597,7 @@ function mergeNextContextsInOps(ops) {
9220
9597
  }
9221
9598
  }
9222
9599
 
9223
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
9600
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
9224
9601
  var CONTAINER_TAG = "ng-container";
9225
9602
  function phaseNgContainer(cpl) {
9226
9603
  for (const [_, view] of cpl.views) {
@@ -9237,7 +9614,23 @@ function phaseNgContainer(cpl) {
9237
9614
  }
9238
9615
  }
9239
9616
 
9240
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_creation.mjs
9617
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nullish_coalescing.mjs
9618
+ function phaseNullishCoalescing(cpl) {
9619
+ for (const view of cpl.views.values()) {
9620
+ for (const op of view.ops()) {
9621
+ transformExpressionsInOp(op, (expr) => {
9622
+ if (!(expr instanceof BinaryOperatorExpr) || expr.operator !== BinaryOperator.NullishCoalesce) {
9623
+ return expr;
9624
+ }
9625
+ const assignment = new AssignTemporaryExpr(expr.lhs.clone(), cpl.allocateXrefId());
9626
+ const read = new ReadTemporaryExpr(assignment.xref);
9627
+ return new ConditionalExpr(new BinaryOperatorExpr(BinaryOperator.And, new BinaryOperatorExpr(BinaryOperator.NotIdentical, assignment, NULL_EXPR), new BinaryOperatorExpr(BinaryOperator.NotIdentical, read, new LiteralExpr(void 0))), read.clone(), expr.rhs);
9628
+ }, VisitorContextFlag.None);
9629
+ }
9630
+ }
9631
+ }
9632
+
9633
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_creation.mjs
9241
9634
  function phasePipeCreation(cpl) {
9242
9635
  for (const view of cpl.views.values()) {
9243
9636
  processPipeBindingsInView(view);
@@ -9280,7 +9673,7 @@ function addPipeToCreationBlock(view, afterTargetXref, binding) {
9280
9673
  throw new Error(`AssertionError: unable to find insertion point for pipe ${binding.name}`);
9281
9674
  }
9282
9675
 
9283
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_variadic.mjs
9676
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_variadic.mjs
9284
9677
  function phasePipeVariadic(cpl) {
9285
9678
  for (const view of cpl.views.values()) {
9286
9679
  for (const op of view.update) {
@@ -9297,7 +9690,52 @@ function phasePipeVariadic(cpl) {
9297
9690
  }
9298
9691
  }
9299
9692
 
9300
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_function_extraction.mjs
9693
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/property_ordering.mjs
9694
+ var ORDERING = [
9695
+ { kinds: /* @__PURE__ */ new Set([OpKind.StyleMap, OpKind.InterpolateStyleMap]), transform: keepLast },
9696
+ { kinds: /* @__PURE__ */ new Set([OpKind.ClassMap, OpKind.InterpolateClassMap]), transform: keepLast },
9697
+ { kinds: /* @__PURE__ */ new Set([OpKind.StyleProp, OpKind.InterpolateStyleProp]) },
9698
+ { kinds: /* @__PURE__ */ new Set([OpKind.ClassProp]) },
9699
+ { kinds: /* @__PURE__ */ new Set([OpKind.InterpolateProperty]) },
9700
+ { kinds: /* @__PURE__ */ new Set([OpKind.Property]) },
9701
+ { kinds: /* @__PURE__ */ new Set([OpKind.Attribute, OpKind.InterpolateAttribute]) }
9702
+ ];
9703
+ var handledOpKinds = new Set(ORDERING.flatMap((group) => [...group.kinds]));
9704
+ function phasePropertyOrdering(cpl) {
9705
+ for (const [_, view] of cpl.views) {
9706
+ let opsToOrder = [];
9707
+ for (const op of view.update) {
9708
+ if (handledOpKinds.has(op.kind)) {
9709
+ opsToOrder.push(op);
9710
+ OpList.remove(op);
9711
+ } else {
9712
+ for (const orderedOp of reorder(opsToOrder)) {
9713
+ OpList.insertBefore(orderedOp, op);
9714
+ }
9715
+ opsToOrder = [];
9716
+ }
9717
+ }
9718
+ for (const orderedOp of reorder(opsToOrder)) {
9719
+ view.update.push(orderedOp);
9720
+ }
9721
+ }
9722
+ }
9723
+ function reorder(ops) {
9724
+ const groups = Array.from(ORDERING, () => new Array());
9725
+ for (const op of ops) {
9726
+ const groupIndex = ORDERING.findIndex((o) => o.kinds.has(op.kind));
9727
+ groups[groupIndex].push(op);
9728
+ }
9729
+ return groups.flatMap((group, i) => {
9730
+ const transform = ORDERING[i].transform;
9731
+ return transform ? transform(group) : group;
9732
+ });
9733
+ }
9734
+ function keepLast(ops) {
9735
+ return ops.slice(ops.length - 1);
9736
+ }
9737
+
9738
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_function_extraction.mjs
9301
9739
  function phasePureFunctionExtraction(cpl) {
9302
9740
  for (const view of cpl.views.values()) {
9303
9741
  for (const op of view.ops()) {
@@ -9339,7 +9777,7 @@ var PureFunctionConstant = class extends GenericKeyFn {
9339
9777
  }
9340
9778
  };
9341
9779
 
9342
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_literal_structures.mjs
9780
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_literal_structures.mjs
9343
9781
  function phasePureLiteralStructures(cpl) {
9344
9782
  for (const view of cpl.views.values()) {
9345
9783
  for (const op of view.update) {
@@ -9386,7 +9824,7 @@ function transformLiteralMap(expr) {
9386
9824
  return new PureFunctionExpr(literalMap(derivedEntries), nonConstantArgs);
9387
9825
  }
9388
9826
 
9389
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
9827
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
9390
9828
  function element(slot, tag, constIndex, localRefIndex) {
9391
9829
  return elementOrContainerBase(Identifiers.element, slot, tag, constIndex, localRefIndex);
9392
9830
  }
@@ -9491,9 +9929,15 @@ function styleProp(name, expression, unit) {
9491
9929
  }
9492
9930
  return call(Identifiers.styleProp, args);
9493
9931
  }
9932
+ function classProp(name, expression) {
9933
+ return call(Identifiers.classProp, [literal(name), expression]);
9934
+ }
9494
9935
  function styleMap(expression) {
9495
9936
  return call(Identifiers.styleMap, [expression]);
9496
9937
  }
9938
+ function classMap(expression) {
9939
+ return call(Identifiers.classMap, [expression]);
9940
+ }
9497
9941
  var PIPE_BINDINGS = [
9498
9942
  Identifiers.pipeBind1,
9499
9943
  Identifiers.pipeBind2,
@@ -9554,6 +9998,10 @@ function styleMapInterpolate(strings, expressions) {
9554
9998
  const interpolationArgs = collateInterpolationArgs(strings, expressions);
9555
9999
  return callVariadicInstruction(STYLE_MAP_INTERPOLATE_CONFIG, [], interpolationArgs);
9556
10000
  }
10001
+ function classMapInterpolate(strings, expressions) {
10002
+ const interpolationArgs = collateInterpolationArgs(strings, expressions);
10003
+ return callVariadicInstruction(CLASS_MAP_INTERPOLATE_CONFIG, [], interpolationArgs);
10004
+ }
9557
10005
  function pureFunction(varOffset, fn2, args) {
9558
10006
  return callVariadicInstructionExpr(PURE_FUNCTION_CONFIG, [
9559
10007
  literal(varOffset),
@@ -9621,7 +10069,7 @@ var PROPERTY_INTERPOLATE_CONFIG = {
9621
10069
  };
9622
10070
  var STYLE_PROP_INTERPOLATE_CONFIG = {
9623
10071
  constant: [
9624
- null,
10072
+ Identifiers.styleProp,
9625
10073
  Identifiers.stylePropInterpolate1,
9626
10074
  Identifiers.stylePropInterpolate2,
9627
10075
  Identifiers.stylePropInterpolate3,
@@ -9636,9 +10084,6 @@ var STYLE_PROP_INTERPOLATE_CONFIG = {
9636
10084
  if (n % 2 === 0) {
9637
10085
  throw new Error(`Expected odd number of arguments`);
9638
10086
  }
9639
- if (n < 3) {
9640
- throw new Error(`Expected at least 3 arguments`);
9641
- }
9642
10087
  return (n - 1) / 2;
9643
10088
  }
9644
10089
  };
@@ -9664,7 +10109,7 @@ var ATTRIBUTE_INTERPOLATE_CONFIG = {
9664
10109
  };
9665
10110
  var STYLE_MAP_INTERPOLATE_CONFIG = {
9666
10111
  constant: [
9667
- null,
10112
+ Identifiers.styleMap,
9668
10113
  Identifiers.styleMapInterpolate1,
9669
10114
  Identifiers.styleMapInterpolate2,
9670
10115
  Identifiers.styleMapInterpolate3,
@@ -9679,8 +10124,25 @@ var STYLE_MAP_INTERPOLATE_CONFIG = {
9679
10124
  if (n % 2 === 0) {
9680
10125
  throw new Error(`Expected odd number of arguments`);
9681
10126
  }
9682
- if (n < 3) {
9683
- throw new Error(`Expected at least 3 arguments`);
10127
+ return (n - 1) / 2;
10128
+ }
10129
+ };
10130
+ var CLASS_MAP_INTERPOLATE_CONFIG = {
10131
+ constant: [
10132
+ Identifiers.classMap,
10133
+ Identifiers.classMapInterpolate1,
10134
+ Identifiers.classMapInterpolate2,
10135
+ Identifiers.classMapInterpolate3,
10136
+ Identifiers.classMapInterpolate4,
10137
+ Identifiers.classMapInterpolate5,
10138
+ Identifiers.classMapInterpolate6,
10139
+ Identifiers.classMapInterpolate7,
10140
+ Identifiers.classMapInterpolate8
10141
+ ],
10142
+ variable: Identifiers.classMapInterpolateV,
10143
+ mapping: (n) => {
10144
+ if (n % 2 === 0) {
10145
+ throw new Error(`Expected odd number of arguments`);
9684
10146
  }
9685
10147
  return (n - 1) / 2;
9686
10148
  }
@@ -9722,7 +10184,7 @@ function callVariadicInstruction(config, baseArgs, interpolationArgs, extraArgs
9722
10184
  return createStatementOp(callVariadicInstructionExpr(config, baseArgs, interpolationArgs, extraArgs).toStmt());
9723
10185
  }
9724
10186
 
9725
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
10187
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
9726
10188
  function phaseReify(cpl) {
9727
10189
  for (const [_, view] of cpl.views) {
9728
10190
  reifyCreateOperations(view, view.create);
@@ -9791,9 +10253,15 @@ function reifyUpdateOperations(_view, ops) {
9791
10253
  case OpKind.StyleProp:
9792
10254
  OpList.replace(op, styleProp(op.name, op.expression, op.unit));
9793
10255
  break;
10256
+ case OpKind.ClassProp:
10257
+ OpList.replace(op, classProp(op.name, op.expression));
10258
+ break;
9794
10259
  case OpKind.StyleMap:
9795
10260
  OpList.replace(op, styleMap(op.expression));
9796
10261
  break;
10262
+ case OpKind.ClassMap:
10263
+ OpList.replace(op, classMap(op.expression));
10264
+ break;
9797
10265
  case OpKind.InterpolateProperty:
9798
10266
  OpList.replace(op, propertyInterpolate(op.name, op.strings, op.expressions));
9799
10267
  break;
@@ -9803,6 +10271,9 @@ function reifyUpdateOperations(_view, ops) {
9803
10271
  case OpKind.InterpolateStyleMap:
9804
10272
  OpList.replace(op, styleMapInterpolate(op.strings, op.expressions));
9805
10273
  break;
10274
+ case OpKind.InterpolateClassMap:
10275
+ OpList.replace(op, classMapInterpolate(op.strings, op.expressions));
10276
+ break;
9806
10277
  case OpKind.InterpolateText:
9807
10278
  OpList.replace(op, textInterpolate(op.strings, op.expressions));
9808
10279
  break;
@@ -9904,7 +10375,7 @@ var LookForEventVisitor = class extends RecursiveAstVisitor {
9904
10375
  }
9905
10376
  };
9906
10377
 
9907
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
10378
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
9908
10379
  function phaseResolveContexts(cpl) {
9909
10380
  for (const view of cpl.views.values()) {
9910
10381
  processLexicalScope(view, view.create);
@@ -9942,7 +10413,7 @@ function processLexicalScope(view, ops) {
9942
10413
  }
9943
10414
  }
9944
10415
 
9945
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
10416
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
9946
10417
  function phaseResolveNames(cpl) {
9947
10418
  for (const [_, view] of cpl.views) {
9948
10419
  processLexicalScope2(view, view.create, null);
@@ -10002,7 +10473,7 @@ function processLexicalScope2(view, ops, savedView) {
10002
10473
  }
10003
10474
  }
10004
10475
 
10005
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
10476
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
10006
10477
  function phaseSaveRestoreView(cpl) {
10007
10478
  for (const view of cpl.views.values()) {
10008
10479
  view.create.prepend([
@@ -10047,7 +10518,7 @@ function addSaveRestoreViewOperationToListener(view, op) {
10047
10518
  }
10048
10519
  }
10049
10520
 
10050
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
10521
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
10051
10522
  function phaseSlotAllocation(cpl) {
10052
10523
  const slotMap = /* @__PURE__ */ new Map();
10053
10524
  for (const [_, view] of cpl.views) {
@@ -10090,7 +10561,40 @@ function phaseSlotAllocation(cpl) {
10090
10561
  }
10091
10562
  }
10092
10563
 
10093
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
10564
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/temporary_variables.mjs
10565
+ function phaseTemporaryVariables(cpl) {
10566
+ for (const view of cpl.views.values()) {
10567
+ let opCount = 0;
10568
+ let generatedStatements = [];
10569
+ for (const op of view.ops()) {
10570
+ let count = 0;
10571
+ let xrefs = /* @__PURE__ */ new Set();
10572
+ let defs = /* @__PURE__ */ new Map();
10573
+ visitExpressionsInOp(op, (expr) => {
10574
+ if (expr instanceof ReadTemporaryExpr || expr instanceof AssignTemporaryExpr) {
10575
+ xrefs.add(expr.xref);
10576
+ }
10577
+ });
10578
+ for (const xref of xrefs) {
10579
+ defs.set(xref, `tmp_${opCount}_${count++}`);
10580
+ }
10581
+ visitExpressionsInOp(op, (expr) => {
10582
+ if (expr instanceof ReadTemporaryExpr || expr instanceof AssignTemporaryExpr) {
10583
+ const name = defs.get(expr.xref);
10584
+ if (name === void 0) {
10585
+ throw new Error("Found xref with unassigned name");
10586
+ }
10587
+ expr.name = name;
10588
+ }
10589
+ });
10590
+ generatedStatements.push(...Array.from(defs.values()).map((name) => createStatementOp(new DeclareVarStmt(name))));
10591
+ opCount++;
10592
+ }
10593
+ view.update.prepend(generatedStatements);
10594
+ }
10595
+ }
10596
+
10597
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
10094
10598
  function phaseVariableOptimization(cpl, options) {
10095
10599
  for (const [_, view] of cpl.views) {
10096
10600
  optimizeVariablesInOpList(view.create, options);
@@ -10300,172 +10804,7 @@ function allowConservativeInlining(decl, target) {
10300
10804
  }
10301
10805
  }
10302
10806
 
10303
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/expand_safe_reads.mjs
10304
- function phaseExpandSafeReads(cpl, compatibility) {
10305
- for (const [_, view] of cpl.views) {
10306
- for (const op of view.ops()) {
10307
- transformExpressionsInOp(op, (e) => safeTransform(e, { cpl, compatibility }), VisitorContextFlag.None);
10308
- transformExpressionsInOp(op, ternaryTransform, VisitorContextFlag.None);
10309
- }
10310
- }
10311
- }
10312
- var requiresTemporary = [
10313
- InvokeFunctionExpr,
10314
- LiteralArrayExpr,
10315
- LiteralMapExpr,
10316
- SafeInvokeFunctionExpr,
10317
- PipeBindingExpr
10318
- ].map((e) => e.constructor.name);
10319
- function needsTemporaryInSafeAccess(e) {
10320
- if (e instanceof UnaryOperatorExpr) {
10321
- return needsTemporaryInSafeAccess(e.expr);
10322
- } else if (e instanceof BinaryOperatorExpr) {
10323
- return needsTemporaryInSafeAccess(e.lhs) || needsTemporaryInSafeAccess(e.rhs);
10324
- } else if (e instanceof ConditionalExpr) {
10325
- if (e.falseCase && needsTemporaryInSafeAccess(e.falseCase))
10326
- return true;
10327
- return needsTemporaryInSafeAccess(e.condition) || needsTemporaryInSafeAccess(e.trueCase);
10328
- } else if (e instanceof NotExpr) {
10329
- return needsTemporaryInSafeAccess(e.condition);
10330
- } else if (e instanceof AssignTemporaryExpr) {
10331
- return needsTemporaryInSafeAccess(e.expr);
10332
- } else if (e instanceof ReadPropExpr) {
10333
- return needsTemporaryInSafeAccess(e.receiver);
10334
- } else if (e instanceof ReadKeyExpr) {
10335
- return needsTemporaryInSafeAccess(e.receiver) || needsTemporaryInSafeAccess(e.index);
10336
- }
10337
- return e instanceof InvokeFunctionExpr || e instanceof LiteralArrayExpr || e instanceof LiteralMapExpr || e instanceof SafeInvokeFunctionExpr || e instanceof PipeBindingExpr;
10338
- }
10339
- function temporariesIn(e) {
10340
- const temporaries = /* @__PURE__ */ new Set();
10341
- transformExpressionsInExpression(e, (e2) => {
10342
- if (e2 instanceof AssignTemporaryExpr) {
10343
- temporaries.add(e2.xref);
10344
- }
10345
- return e2;
10346
- }, VisitorContextFlag.None);
10347
- return temporaries;
10348
- }
10349
- function eliminateTemporaryAssignments(e, tmps, ctx) {
10350
- transformExpressionsInExpression(e, (e2) => {
10351
- if (e2 instanceof AssignTemporaryExpr && tmps.has(e2.xref)) {
10352
- const read = new ReadTemporaryExpr(e2.xref);
10353
- return ctx.compatibility ? new AssignTemporaryExpr(read, read.xref) : read;
10354
- }
10355
- return e2;
10356
- }, VisitorContextFlag.None);
10357
- return e;
10358
- }
10359
- function safeTernaryWithTemporary(guard, body, ctx) {
10360
- let result;
10361
- if (needsTemporaryInSafeAccess(guard)) {
10362
- const xref = ctx.cpl.allocateXrefId();
10363
- result = [new AssignTemporaryExpr(guard, xref), new ReadTemporaryExpr(xref)];
10364
- } else {
10365
- result = [guard, guard.clone()];
10366
- eliminateTemporaryAssignments(result[1], temporariesIn(result[0]), ctx);
10367
- }
10368
- return new SafeTernaryExpr(result[0], body(result[1]));
10369
- }
10370
- function isSafeAccessExpression(e) {
10371
- return e instanceof SafePropertyReadExpr || e instanceof SafeKeyedReadExpr;
10372
- }
10373
- function isUnsafeAccessExpression(e) {
10374
- return e instanceof ReadPropExpr || e instanceof ReadKeyExpr || e instanceof InvokeFunctionExpr;
10375
- }
10376
- function isAccessExpression(e) {
10377
- return isSafeAccessExpression(e) || isUnsafeAccessExpression(e);
10378
- }
10379
- function deepestSafeTernary(e) {
10380
- if (isAccessExpression(e) && e.receiver instanceof SafeTernaryExpr) {
10381
- let st = e.receiver;
10382
- while (st.expr instanceof SafeTernaryExpr) {
10383
- st = st.expr;
10384
- }
10385
- return st;
10386
- }
10387
- return null;
10388
- }
10389
- function safeTransform(e, ctx) {
10390
- if (e instanceof SafeInvokeFunctionExpr) {
10391
- return new InvokeFunctionExpr(e.receiver, e.args);
10392
- }
10393
- if (!isAccessExpression(e)) {
10394
- return e;
10395
- }
10396
- const dst = deepestSafeTernary(e);
10397
- if (dst) {
10398
- if (e instanceof InvokeFunctionExpr) {
10399
- dst.expr = dst.expr.callFn(e.args);
10400
- return e.receiver;
10401
- }
10402
- if (e instanceof ReadPropExpr) {
10403
- dst.expr = dst.expr.prop(e.name);
10404
- return e.receiver;
10405
- }
10406
- if (e instanceof ReadKeyExpr) {
10407
- dst.expr = dst.expr.key(e.index);
10408
- return e.receiver;
10409
- }
10410
- if (e instanceof SafePropertyReadExpr) {
10411
- dst.expr = safeTernaryWithTemporary(dst.expr, (r) => r.prop(e.name), ctx);
10412
- return e.receiver;
10413
- }
10414
- if (e instanceof SafeKeyedReadExpr) {
10415
- dst.expr = safeTernaryWithTemporary(dst.expr, (r) => r.key(e.index), ctx);
10416
- return e.receiver;
10417
- }
10418
- } else {
10419
- if (e instanceof SafePropertyReadExpr) {
10420
- return safeTernaryWithTemporary(e.receiver, (r) => r.prop(e.name), ctx);
10421
- }
10422
- if (e instanceof SafeKeyedReadExpr) {
10423
- return safeTernaryWithTemporary(e.receiver, (r) => r.key(e.index), ctx);
10424
- }
10425
- }
10426
- return e;
10427
- }
10428
- function ternaryTransform(e) {
10429
- if (!(e instanceof SafeTernaryExpr)) {
10430
- return e;
10431
- }
10432
- return new ConditionalExpr(new BinaryOperatorExpr(BinaryOperator.Equals, e.guard, NULL_EXPR), NULL_EXPR, e.expr);
10433
- }
10434
-
10435
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/temporary_variables.mjs
10436
- function phaseTemporaryVariables(cpl) {
10437
- for (const view of cpl.views.values()) {
10438
- let opCount = 0;
10439
- let generatedStatements = [];
10440
- for (const op of view.ops()) {
10441
- let count = 0;
10442
- let xrefs = /* @__PURE__ */ new Set();
10443
- let defs = /* @__PURE__ */ new Map();
10444
- visitExpressionsInOp(op, (expr) => {
10445
- if (expr instanceof ReadTemporaryExpr || expr instanceof AssignTemporaryExpr) {
10446
- xrefs.add(expr.xref);
10447
- }
10448
- });
10449
- for (const xref of xrefs) {
10450
- defs.set(xref, `tmp_${opCount}_${count++}`);
10451
- }
10452
- visitExpressionsInOp(op, (expr) => {
10453
- if (expr instanceof ReadTemporaryExpr || expr instanceof AssignTemporaryExpr) {
10454
- const name = defs.get(expr.xref);
10455
- if (name === void 0) {
10456
- throw new Error("Found xref with unassigned name");
10457
- }
10458
- expr.name = name;
10459
- }
10460
- });
10461
- generatedStatements.push(...Array.from(defs.values()).map((name) => createStatementOp(new DeclareVarStmt(name))));
10462
- opCount++;
10463
- }
10464
- view.update.prepend(generatedStatements);
10465
- }
10466
- }
10467
-
10468
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
10807
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
10469
10808
  function transformTemplate(cpl) {
10470
10809
  phaseAttributeExtraction(cpl, true);
10471
10810
  phasePipeCreation(cpl);
@@ -10483,13 +10822,14 @@ function transformTemplate(cpl) {
10483
10822
  phaseSlotAllocation(cpl);
10484
10823
  phaseVarCounting(cpl);
10485
10824
  phaseGenerateAdvance(cpl);
10486
- phaseNaming(cpl);
10825
+ phaseNaming(cpl, true);
10487
10826
  phaseVariableOptimization(cpl, { conservative: true });
10488
10827
  phaseMergeNextContext(cpl);
10489
10828
  phaseNgContainer(cpl);
10490
10829
  phaseEmptyElements(cpl);
10491
10830
  phasePureFunctionExtraction(cpl);
10492
10831
  phaseAlignPipeVariadicVarOffset(cpl);
10832
+ phasePropertyOrdering(cpl);
10493
10833
  phaseReify(cpl);
10494
10834
  phaseChaining(cpl);
10495
10835
  }
@@ -10551,7 +10891,7 @@ function maybeGenerateRfBlock(flag, statements) {
10551
10891
  ];
10552
10892
  }
10553
10893
 
10554
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/compilation.mjs
10894
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/compilation.mjs
10555
10895
  var ComponentCompilation = class {
10556
10896
  constructor(componentName, pool) {
10557
10897
  this.componentName = componentName;
@@ -10609,7 +10949,7 @@ var ViewCompilation = class {
10609
10949
  }
10610
10950
  };
10611
10951
 
10612
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
10952
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
10613
10953
  var BINARY_OPERATORS = /* @__PURE__ */ new Map([
10614
10954
  ["&&", BinaryOperator.And],
10615
10955
  [">", BinaryOperator.Bigger],
@@ -10630,7 +10970,7 @@ var BINARY_OPERATORS = /* @__PURE__ */ new Map([
10630
10970
  ["+", BinaryOperator.Plus]
10631
10971
  ]);
10632
10972
 
10633
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
10973
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
10634
10974
  function ingest(componentName, template2, constantPool) {
10635
10975
  const cpl = new ComponentCompilation(componentName, constantPool);
10636
10976
  ingestNodes(cpl.root, template2);
@@ -10806,6 +11146,11 @@ function ingestPropertyBinding(view, xref, bindingKind, { name, value, type, uni
10806
11146
  throw Error("Unexpected style binding on ng-template");
10807
11147
  }
10808
11148
  view.update.push(createInterpolateStyleMapOp(xref, value.strings, value.expressions.map((expr) => convertAst(expr, view.tpl))));
11149
+ } else if (name === "class") {
11150
+ if (bindingKind !== ElementAttributeKind.Binding) {
11151
+ throw Error("Unexpected class binding on ng-template");
11152
+ }
11153
+ view.update.push(createInterpolateClassMapOp(xref, value.strings, value.expressions.map((expr) => convertAst(expr, view.tpl))));
10809
11154
  } else {
10810
11155
  view.update.push(createInterpolatePropertyOp(xref, bindingKind, name, value.strings, value.expressions.map((expr) => convertAst(expr, view.tpl))));
10811
11156
  }
@@ -10823,6 +11168,9 @@ function ingestPropertyBinding(view, xref, bindingKind, { name, value, type, uni
10823
11168
  const attributeInterpolate2 = createInterpolateAttributeOp(xref, bindingKind, name, value.strings, value.expressions.map((expr) => convertAst(expr, view.tpl)));
10824
11169
  view.update.push(attributeInterpolate2);
10825
11170
  break;
11171
+ case 2:
11172
+ throw Error("Unexpected interpolation in class property binding");
11173
+ case 4:
10826
11174
  default:
10827
11175
  throw Error(`Interpolated property binding type not handled: ${type}`);
10828
11176
  }
@@ -10834,6 +11182,11 @@ function ingestPropertyBinding(view, xref, bindingKind, { name, value, type, uni
10834
11182
  throw Error("Unexpected style binding on ng-template");
10835
11183
  }
10836
11184
  view.update.push(createStyleMapOp(xref, convertAst(value, view.tpl)));
11185
+ } else if (name === "class") {
11186
+ if (bindingKind !== ElementAttributeKind.Binding) {
11187
+ throw Error("Unexpected class binding on ng-template");
11188
+ }
11189
+ view.update.push(createClassMapOp(xref, convertAst(value, view.tpl)));
10837
11190
  } else {
10838
11191
  view.update.push(createPropertyOp(xref, bindingKind, name, convertAst(value, view.tpl)));
10839
11192
  }
@@ -10851,6 +11204,13 @@ function ingestPropertyBinding(view, xref, bindingKind, { name, value, type, uni
10851
11204
  const attrOp = createAttributeOp(xref, bindingKind, name, convertAst(value, view.tpl));
10852
11205
  view.update.push(attrOp);
10853
11206
  break;
11207
+ case 2:
11208
+ if (bindingKind !== ElementAttributeKind.Binding) {
11209
+ throw Error("Unexpected class binding on ng-template");
11210
+ }
11211
+ view.update.push(createClassPropOp(xref, name, convertAst(value, view.tpl)));
11212
+ break;
11213
+ case 4:
10854
11214
  default:
10855
11215
  throw Error(`Property binding type not handled: ${type}`);
10856
11216
  }
@@ -10871,71 +11231,10 @@ function assertIsArray(value) {
10871
11231
  }
10872
11232
  }
10873
11233
 
10874
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/switch/index.mjs
11234
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/switch/index.mjs
10875
11235
  var USE_TEMPLATE_PIPELINE = false;
10876
11236
 
10877
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/style_parser.mjs
10878
- function parse(value) {
10879
- const styles = [];
10880
- let i = 0;
10881
- let parenDepth = 0;
10882
- let quote = 0;
10883
- let valueStart = 0;
10884
- let propStart = 0;
10885
- let currentProp = null;
10886
- while (i < value.length) {
10887
- const token = value.charCodeAt(i++);
10888
- switch (token) {
10889
- case 40:
10890
- parenDepth++;
10891
- break;
10892
- case 41:
10893
- parenDepth--;
10894
- break;
10895
- case 39:
10896
- if (quote === 0) {
10897
- quote = 39;
10898
- } else if (quote === 39 && value.charCodeAt(i - 1) !== 92) {
10899
- quote = 0;
10900
- }
10901
- break;
10902
- case 34:
10903
- if (quote === 0) {
10904
- quote = 34;
10905
- } else if (quote === 34 && value.charCodeAt(i - 1) !== 92) {
10906
- quote = 0;
10907
- }
10908
- break;
10909
- case 58:
10910
- if (!currentProp && parenDepth === 0 && quote === 0) {
10911
- currentProp = hyphenate(value.substring(propStart, i - 1).trim());
10912
- valueStart = i;
10913
- }
10914
- break;
10915
- case 59:
10916
- if (currentProp && valueStart > 0 && parenDepth === 0 && quote === 0) {
10917
- const styleVal = value.substring(valueStart, i - 1).trim();
10918
- styles.push(currentProp, styleVal);
10919
- propStart = i;
10920
- valueStart = 0;
10921
- currentProp = null;
10922
- }
10923
- break;
10924
- }
10925
- }
10926
- if (currentProp && valueStart) {
10927
- const styleVal = value.slice(valueStart).trim();
10928
- styles.push(currentProp, styleVal);
10929
- }
10930
- return styles;
10931
- }
10932
- function hyphenate(value) {
10933
- return value.replace(/[a-z][A-Z]/g, (v) => {
10934
- return v.charAt(0) + "-" + v.charAt(1);
10935
- }).toLowerCase();
10936
- }
10937
-
10938
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/styling_builder.mjs
11237
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/styling_builder.mjs
10939
11238
  var IMPORTANT_FLAG = "!important";
10940
11239
  var MIN_STYLING_BINDING_SLOTS_REQUIRED = 2;
10941
11240
  var StylingBuilder = class {
@@ -11268,7 +11567,7 @@ function isEmptyExpression(ast) {
11268
11567
  return ast instanceof EmptyExpr;
11269
11568
  }
11270
11569
 
11271
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
11570
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
11272
11571
  var TokenType;
11273
11572
  (function(TokenType2) {
11274
11573
  TokenType2[TokenType2["Character"] = 0] = "Character";
@@ -11629,7 +11928,7 @@ function parseIntAutoRadix(text2) {
11629
11928
  return result;
11630
11929
  }
11631
11930
 
11632
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
11931
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
11633
11932
  var SplitInterpolation = class {
11634
11933
  constructor(strings, expressions, offsets) {
11635
11934
  this.strings = strings;
@@ -12523,7 +12822,7 @@ function getIndexMapForOriginalTemplate(interpolatedTokens) {
12523
12822
  return offsetMap;
12524
12823
  }
12525
12824
 
12526
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
12825
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
12527
12826
  var NodeWithI18n = class {
12528
12827
  constructor(sourceSpan, i18n) {
12529
12828
  this.sourceSpan = sourceSpan;
@@ -12644,11 +12943,11 @@ function visitAll2(visitor, nodes, context = null) {
12644
12943
  return result;
12645
12944
  }
12646
12945
 
12647
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
12946
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
12648
12947
  var ElementSchemaRegistry = class {
12649
12948
  };
12650
12949
 
12651
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
12950
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
12652
12951
  var BOOLEAN = "boolean";
12653
12952
  var NUMBER = "number";
12654
12953
  var STRING = "string";
@@ -13001,7 +13300,7 @@ function _isPixelDimensionStyle(prop) {
13001
13300
  }
13002
13301
  }
13003
13302
 
13004
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
13303
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
13005
13304
  var HtmlTagDefinition = class {
13006
13305
  constructor({ closedByChildren, implicitNamespacePrefix, contentType = TagContentType.PARSABLE_DATA, closedByParent = false, isVoid = false, ignoreFirstLf = false, preventNamespaceInheritance = false, canSelfClose = false } = {}) {
13007
13306
  this.closedByChildren = {};
@@ -13119,7 +13418,7 @@ function getHtmlTagDefinition(tagName) {
13119
13418
  return (_b2 = (_a2 = TAG_DEFINITIONS[tagName]) != null ? _a2 : TAG_DEFINITIONS[tagName.toLowerCase()]) != null ? _b2 : DEFAULT_TAG_DEFINITION;
13120
13419
  }
13121
13420
 
13122
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
13421
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
13123
13422
  var NAMED_ENTITIES = {
13124
13423
  "AElig": "\xC6",
13125
13424
  "AMP": "&",
@@ -15250,7 +15549,7 @@ var NAMED_ENTITIES = {
15250
15549
  var NGSP_UNICODE = "\uE500";
15251
15550
  NAMED_ENTITIES["ngsp"] = NGSP_UNICODE;
15252
15551
 
15253
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
15552
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
15254
15553
  var TokenError = class extends ParseError {
15255
15554
  constructor(errorMsg, tokenType, span) {
15256
15555
  super(span, errorMsg);
@@ -15388,7 +15687,8 @@ var _Tokenizer = class {
15388
15687
  this._beginToken(28);
15389
15688
  const start = this._cursor.clone();
15390
15689
  let inQuote = null;
15391
- while (this._cursor.peek() !== $SEMICOLON && this._cursor.peek() !== $RBRACE && this._cursor.peek() !== $EOF || inQuote !== null) {
15690
+ let openBraces = 0;
15691
+ while (this._cursor.peek() !== $SEMICOLON && this._cursor.peek() !== $EOF || inQuote !== null) {
15392
15692
  const char = this._cursor.peek();
15393
15693
  if (char === $BACKSLASH) {
15394
15694
  this._cursor.advance();
@@ -15396,6 +15696,14 @@ var _Tokenizer = class {
15396
15696
  inQuote = null;
15397
15697
  } else if (inQuote === null && isQuote(char)) {
15398
15698
  inQuote = char;
15699
+ } else if (char === $LBRACE && inQuote === null) {
15700
+ openBraces++;
15701
+ } else if (char === $RBRACE && inQuote === null) {
15702
+ if (openBraces === 0) {
15703
+ break;
15704
+ } else if (openBraces > 0) {
15705
+ openBraces--;
15706
+ }
15399
15707
  }
15400
15708
  this._cursor.advance();
15401
15709
  }
@@ -16160,7 +16468,7 @@ var CursorError = class {
16160
16468
  }
16161
16469
  };
16162
16470
 
16163
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
16471
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
16164
16472
  var TreeError = class extends ParseError {
16165
16473
  static create(elementName, span, msg) {
16166
16474
  return new TreeError(elementName, span, msg);
@@ -16561,7 +16869,7 @@ function decodeEntity(match, entity) {
16561
16869
  return match;
16562
16870
  }
16563
16871
 
16564
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
16872
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
16565
16873
  var HtmlParser = class extends Parser2 {
16566
16874
  constructor() {
16567
16875
  super(getHtmlTagDefinition);
@@ -16571,7 +16879,7 @@ var HtmlParser = class extends Parser2 {
16571
16879
  }
16572
16880
  };
16573
16881
 
16574
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
16882
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
16575
16883
  var PRESERVE_WS_ATTR_NAME = "ngPreserveWhitespaces";
16576
16884
  var SKIP_WS_TRIM_TAGS = /* @__PURE__ */ new Set(["pre", "template", "textarea", "script", "style"]);
16577
16885
  var WS_CHARS = " \f\n\r \v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF";
@@ -16640,7 +16948,7 @@ function visitAllWithSiblings(visitor, nodes) {
16640
16948
  return result;
16641
16949
  }
16642
16950
 
16643
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/output/map_util.mjs
16951
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/map_util.mjs
16644
16952
  function mapLiteral(obj, quoted = false) {
16645
16953
  return literalMap(Object.keys(obj).map((key) => ({
16646
16954
  key,
@@ -16649,7 +16957,7 @@ function mapLiteral(obj, quoted = false) {
16649
16957
  })));
16650
16958
  }
16651
16959
 
16652
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
16960
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
16653
16961
  var TRUSTED_TYPES_SINKS = /* @__PURE__ */ new Set([
16654
16962
  "iframe|srcdoc",
16655
16963
  "*|innerhtml",
@@ -16664,7 +16972,7 @@ function isTrustedTypesSink(tagName, propName) {
16664
16972
  return TRUSTED_TYPES_SINKS.has(tagName + "|" + propName) || TRUSTED_TYPES_SINKS.has("*|" + propName);
16665
16973
  }
16666
16974
 
16667
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
16975
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
16668
16976
  var PROPERTY_PARTS_SEPARATOR = ".";
16669
16977
  var ATTRIBUTE_PREFIX = "attr";
16670
16978
  var CLASS_PREFIX = "class";
@@ -16811,7 +17119,7 @@ var BindingParser = class {
16811
17119
  if (isAnimationProp) {
16812
17120
  this._parseAnimation(name, expression, sourceSpan, absoluteOffset, keySpan, valueSpan, targetMatchableAttrs, targetProps);
16813
17121
  } else {
16814
- this._parsePropertyAst(name, this._parseBinding(expression, isHost, valueSpan || sourceSpan, absoluteOffset), sourceSpan, keySpan, valueSpan, targetMatchableAttrs, targetProps);
17122
+ this._parsePropertyAst(name, this.parseBinding(expression, isHost, valueSpan || sourceSpan, absoluteOffset), sourceSpan, keySpan, valueSpan, targetMatchableAttrs, targetProps);
16815
17123
  }
16816
17124
  }
16817
17125
  parsePropertyInterpolation(name, value, sourceSpan, valueSpan, targetMatchableAttrs, targetProps, keySpan, interpolatedTokens) {
@@ -16830,11 +17138,11 @@ var BindingParser = class {
16830
17138
  if (name.length === 0) {
16831
17139
  this._reportError("Animation trigger is missing", sourceSpan);
16832
17140
  }
16833
- const ast = this._parseBinding(expression || "undefined", false, valueSpan || sourceSpan, absoluteOffset);
17141
+ const ast = this.parseBinding(expression || "undefined", false, valueSpan || sourceSpan, absoluteOffset);
16834
17142
  targetMatchableAttrs.push([name, ast.source]);
16835
17143
  targetProps.push(new ParsedProperty(name, ast, ParsedPropertyType.ANIMATION, sourceSpan, keySpan, valueSpan));
16836
17144
  }
16837
- _parseBinding(value, isHostBinding2, sourceSpan, absoluteOffset) {
17145
+ parseBinding(value, isHostBinding2, sourceSpan, absoluteOffset) {
16838
17146
  const sourceInfo = (sourceSpan && sourceSpan.start || "(unknown)").toString();
16839
17147
  try {
16840
17148
  const ast = isHostBinding2 ? this._exprParser.parseSimpleBinding(value, sourceInfo, absoluteOffset, this._interpolationConfig) : this._exprParser.parseBinding(value, sourceInfo, absoluteOffset, this._interpolationConfig);
@@ -16984,7 +17292,7 @@ function moveParseSourceSpan(sourceSpan, absoluteSpan) {
16984
17292
  return new ParseSourceSpan(sourceSpan.start.moveBy(startDiff), sourceSpan.end.moveBy(endDiff), sourceSpan.fullStart.moveBy(startDiff), sourceSpan.details);
16985
17293
  }
16986
17294
 
16987
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
17295
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
16988
17296
  function isStyleUrlResolvable(url) {
16989
17297
  if (url == null || url.length === 0 || url[0] == "/")
16990
17298
  return false;
@@ -16993,7 +17301,7 @@ function isStyleUrlResolvable(url) {
16993
17301
  }
16994
17302
  var URL_WITH_SCHEMA_REGEXP = /^([^:/?#]+):/;
16995
17303
 
16996
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
17304
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
16997
17305
  var NG_CONTENT_SELECT_ATTR = "select";
16998
17306
  var LINK_ELEMENT = "link";
16999
17307
  var LINK_STYLE_REL_ATTR = "rel";
@@ -17063,7 +17371,361 @@ function normalizeNgContentSelect(selectAttr) {
17063
17371
  return selectAttr;
17064
17372
  }
17065
17373
 
17066
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
17374
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_triggers.mjs
17375
+ var TIME_PATTERN = /^\d+(ms|s)?$/;
17376
+ var SEPARATOR_PATTERN = /^\s$/;
17377
+ var COMMA_DELIMITED_SYNTAX = /* @__PURE__ */ new Map([
17378
+ [$LBRACE, $RBRACE],
17379
+ [$LBRACKET, $RBRACKET],
17380
+ [$LPAREN, $RPAREN]
17381
+ ]);
17382
+ var OnTriggerType;
17383
+ (function(OnTriggerType2) {
17384
+ OnTriggerType2["IDLE"] = "idle";
17385
+ OnTriggerType2["TIMER"] = "timer";
17386
+ OnTriggerType2["INTERACTION"] = "interaction";
17387
+ OnTriggerType2["IMMEDIATE"] = "immediate";
17388
+ OnTriggerType2["HOVER"] = "hover";
17389
+ OnTriggerType2["VIEWPORT"] = "viewport";
17390
+ })(OnTriggerType || (OnTriggerType = {}));
17391
+ function parseWhenTrigger({ expression, sourceSpan }, bindingParser, errors) {
17392
+ const whenIndex = expression.indexOf("when");
17393
+ if (whenIndex === -1) {
17394
+ errors.push(new ParseError(sourceSpan, `Could not find "when" keyword in expression`));
17395
+ return null;
17396
+ }
17397
+ const start = getTriggerParametersStart(expression, whenIndex + 1);
17398
+ const parsed = bindingParser.parseBinding(expression.slice(start), false, sourceSpan, sourceSpan.start.offset + start);
17399
+ return new BoundDeferredTrigger(parsed, sourceSpan);
17400
+ }
17401
+ function parseOnTrigger({ expression, sourceSpan }, errors) {
17402
+ const onIndex = expression.indexOf("on");
17403
+ if (onIndex === -1) {
17404
+ errors.push(new ParseError(sourceSpan, `Could not find "on" keyword in expression`));
17405
+ return [];
17406
+ }
17407
+ const start = getTriggerParametersStart(expression, onIndex + 1);
17408
+ return new OnTriggerParser(expression, start, sourceSpan, errors).parse();
17409
+ }
17410
+ var OnTriggerParser = class {
17411
+ constructor(expression, start, span, errors) {
17412
+ this.expression = expression;
17413
+ this.start = start;
17414
+ this.span = span;
17415
+ this.errors = errors;
17416
+ this.index = 0;
17417
+ this.triggers = [];
17418
+ this.tokens = new Lexer().tokenize(expression.slice(start));
17419
+ }
17420
+ parse() {
17421
+ while (this.tokens.length > 0 && this.index < this.tokens.length) {
17422
+ const token = this.token();
17423
+ if (!token.isIdentifier()) {
17424
+ this.unexpectedToken(token);
17425
+ break;
17426
+ }
17427
+ if (this.isFollowedByOrLast($COMMA)) {
17428
+ this.consumeTrigger(token, []);
17429
+ this.advance();
17430
+ } else if (this.isFollowedByOrLast($LPAREN)) {
17431
+ this.advance();
17432
+ const prevErrors = this.errors.length;
17433
+ const parameters = this.consumeParameters();
17434
+ if (this.errors.length !== prevErrors) {
17435
+ break;
17436
+ }
17437
+ this.consumeTrigger(token, parameters);
17438
+ this.advance();
17439
+ } else if (this.index < this.tokens.length - 1) {
17440
+ this.unexpectedToken(this.tokens[this.index + 1]);
17441
+ }
17442
+ this.advance();
17443
+ }
17444
+ return this.triggers;
17445
+ }
17446
+ advance() {
17447
+ this.index++;
17448
+ }
17449
+ isFollowedByOrLast(char) {
17450
+ if (this.index === this.tokens.length - 1) {
17451
+ return true;
17452
+ }
17453
+ return this.tokens[this.index + 1].isCharacter(char);
17454
+ }
17455
+ token() {
17456
+ return this.tokens[Math.min(this.index, this.tokens.length - 1)];
17457
+ }
17458
+ consumeTrigger(identifier, parameters) {
17459
+ const startSpan = this.span.start.moveBy(this.start + identifier.index - this.tokens[0].index);
17460
+ const endSpan = startSpan.moveBy(this.token().end - identifier.index);
17461
+ const sourceSpan = new ParseSourceSpan(startSpan, endSpan);
17462
+ try {
17463
+ switch (identifier.toString()) {
17464
+ case OnTriggerType.IDLE:
17465
+ this.triggers.push(createIdleTrigger(parameters, sourceSpan));
17466
+ break;
17467
+ case OnTriggerType.TIMER:
17468
+ this.triggers.push(createTimerTrigger(parameters, sourceSpan));
17469
+ break;
17470
+ case OnTriggerType.INTERACTION:
17471
+ this.triggers.push(createInteractionTrigger(parameters, sourceSpan));
17472
+ break;
17473
+ case OnTriggerType.IMMEDIATE:
17474
+ this.triggers.push(createImmediateTrigger(parameters, sourceSpan));
17475
+ break;
17476
+ case OnTriggerType.HOVER:
17477
+ this.triggers.push(createHoverTrigger(parameters, sourceSpan));
17478
+ break;
17479
+ case OnTriggerType.VIEWPORT:
17480
+ this.triggers.push(createViewportTrigger(parameters, sourceSpan));
17481
+ break;
17482
+ default:
17483
+ throw new Error(`Unrecognized trigger type "${identifier}"`);
17484
+ }
17485
+ } catch (e) {
17486
+ this.error(identifier, e.message);
17487
+ }
17488
+ }
17489
+ consumeParameters() {
17490
+ const parameters = [];
17491
+ if (!this.token().isCharacter($LPAREN)) {
17492
+ this.unexpectedToken(this.token());
17493
+ return parameters;
17494
+ }
17495
+ this.advance();
17496
+ const commaDelimStack = [];
17497
+ let current = "";
17498
+ while (this.index < this.tokens.length) {
17499
+ const token = this.token();
17500
+ if (token.isCharacter($RPAREN) && commaDelimStack.length === 0) {
17501
+ if (current.length) {
17502
+ parameters.push(current);
17503
+ }
17504
+ break;
17505
+ }
17506
+ if (token.type === TokenType.Character && COMMA_DELIMITED_SYNTAX.has(token.numValue)) {
17507
+ commaDelimStack.push(COMMA_DELIMITED_SYNTAX.get(token.numValue));
17508
+ }
17509
+ if (commaDelimStack.length > 0 && token.isCharacter(commaDelimStack[commaDelimStack.length - 1])) {
17510
+ commaDelimStack.pop();
17511
+ }
17512
+ if (commaDelimStack.length === 0 && token.isCharacter($COMMA) && current.length > 0) {
17513
+ parameters.push(current);
17514
+ current = "";
17515
+ this.advance();
17516
+ continue;
17517
+ }
17518
+ current += this.tokenText();
17519
+ this.advance();
17520
+ }
17521
+ if (!this.token().isCharacter($RPAREN) || commaDelimStack.length > 0) {
17522
+ this.error(this.token(), "Unexpected end of expression");
17523
+ }
17524
+ if (this.index < this.tokens.length - 1 && !this.tokens[this.index + 1].isCharacter($COMMA)) {
17525
+ this.unexpectedToken(this.tokens[this.index + 1]);
17526
+ }
17527
+ return parameters;
17528
+ }
17529
+ tokenText() {
17530
+ return this.expression.slice(this.start + this.token().index, this.start + this.token().end);
17531
+ }
17532
+ error(token, message) {
17533
+ const newStart = this.span.start.moveBy(this.start + token.index);
17534
+ const newEnd = newStart.moveBy(token.end - token.index);
17535
+ this.errors.push(new ParseError(new ParseSourceSpan(newStart, newEnd), message));
17536
+ }
17537
+ unexpectedToken(token) {
17538
+ this.error(token, `Unexpected token "${token}"`);
17539
+ }
17540
+ };
17541
+ function createIdleTrigger(parameters, sourceSpan) {
17542
+ if (parameters.length > 0) {
17543
+ throw new Error(`"${OnTriggerType.IDLE}" trigger cannot have parameters`);
17544
+ }
17545
+ return new IdleDeferredTrigger(sourceSpan);
17546
+ }
17547
+ function createTimerTrigger(parameters, sourceSpan) {
17548
+ if (parameters.length !== 1) {
17549
+ throw new Error(`"${OnTriggerType.TIMER}" trigger must have exactly one parameter`);
17550
+ }
17551
+ const delay = parseDeferredTime(parameters[0]);
17552
+ if (delay === null) {
17553
+ throw new Error(`Could not parse time value of trigger "${OnTriggerType.TIMER}"`);
17554
+ }
17555
+ return new TimerDeferredTrigger(delay, sourceSpan);
17556
+ }
17557
+ function createInteractionTrigger(parameters, sourceSpan) {
17558
+ var _a2;
17559
+ if (parameters.length > 1) {
17560
+ throw new Error(`"${OnTriggerType.INTERACTION}" trigger can only have zero or one parameters`);
17561
+ }
17562
+ return new InteractionDeferredTrigger((_a2 = parameters[0]) != null ? _a2 : null, sourceSpan);
17563
+ }
17564
+ function createImmediateTrigger(parameters, sourceSpan) {
17565
+ if (parameters.length > 0) {
17566
+ throw new Error(`"${OnTriggerType.IMMEDIATE}" trigger cannot have parameters`);
17567
+ }
17568
+ return new ImmediateDeferredTrigger(sourceSpan);
17569
+ }
17570
+ function createHoverTrigger(parameters, sourceSpan) {
17571
+ if (parameters.length > 0) {
17572
+ throw new Error(`"${OnTriggerType.HOVER}" trigger cannot have parameters`);
17573
+ }
17574
+ return new HoverDeferredTrigger(sourceSpan);
17575
+ }
17576
+ function createViewportTrigger(parameters, sourceSpan) {
17577
+ var _a2;
17578
+ if (parameters.length > 1) {
17579
+ throw new Error(`"${OnTriggerType.VIEWPORT}" trigger can only have zero or one parameters`);
17580
+ }
17581
+ return new ViewportDeferredTrigger((_a2 = parameters[0]) != null ? _a2 : null, sourceSpan);
17582
+ }
17583
+ function getTriggerParametersStart(value, startPosition = 0) {
17584
+ let hasFoundSeparator = false;
17585
+ for (let i = startPosition; i < value.length; i++) {
17586
+ if (SEPARATOR_PATTERN.test(value[i])) {
17587
+ hasFoundSeparator = true;
17588
+ } else if (hasFoundSeparator) {
17589
+ return i;
17590
+ }
17591
+ }
17592
+ return -1;
17593
+ }
17594
+ function parseDeferredTime(value) {
17595
+ const match = value.match(TIME_PATTERN);
17596
+ if (!match) {
17597
+ return null;
17598
+ }
17599
+ const [time, units] = match;
17600
+ return parseInt(time) * (units === "s" ? 1e3 : 1);
17601
+ }
17602
+
17603
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_blocks.mjs
17604
+ var PREFETCH_WHEN_PATTERN = /^prefetch\s+when\s/;
17605
+ var PREFETCH_ON_PATTERN = /^prefetch\s+on\s/;
17606
+ var MINIMUM_PARAMETER_PATTERN = /^minimum\s/;
17607
+ var AFTER_PARAMETER_PATTERN = /^after\s/;
17608
+ var WHEN_PARAMETER_PATTERN = /^when\s/;
17609
+ var ON_PARAMETER_PATTERN = /^on\s/;
17610
+ var SecondaryDeferredBlockType;
17611
+ (function(SecondaryDeferredBlockType2) {
17612
+ SecondaryDeferredBlockType2["PLACEHOLDER"] = "placeholder";
17613
+ SecondaryDeferredBlockType2["LOADING"] = "loading";
17614
+ SecondaryDeferredBlockType2["ERROR"] = "error";
17615
+ })(SecondaryDeferredBlockType || (SecondaryDeferredBlockType = {}));
17616
+ function createDeferredBlock(ast, visitor, bindingParser) {
17617
+ const errors = [];
17618
+ const [primaryBlock, ...secondaryBlocks] = ast.blocks;
17619
+ const { triggers, prefetchTriggers } = parsePrimaryTriggers(primaryBlock.parameters, bindingParser, errors);
17620
+ const { placeholder, loading, error: error2 } = parseSecondaryBlocks(secondaryBlocks, errors, visitor);
17621
+ return {
17622
+ node: new DeferredBlock(visitAll2(visitor, primaryBlock.children), triggers, prefetchTriggers, placeholder, loading, error2, ast.sourceSpan, ast.startSourceSpan, ast.endSourceSpan),
17623
+ errors
17624
+ };
17625
+ }
17626
+ function parseSecondaryBlocks(blocks, errors, visitor) {
17627
+ let placeholder = null;
17628
+ let loading = null;
17629
+ let error2 = null;
17630
+ for (const block of blocks) {
17631
+ try {
17632
+ switch (block.name) {
17633
+ case SecondaryDeferredBlockType.PLACEHOLDER:
17634
+ if (placeholder !== null) {
17635
+ errors.push(new ParseError(block.startSourceSpan, `"defer" block can only have one "${SecondaryDeferredBlockType.PLACEHOLDER}" block`));
17636
+ } else {
17637
+ placeholder = parsePlaceholderBlock(block, visitor);
17638
+ }
17639
+ break;
17640
+ case SecondaryDeferredBlockType.LOADING:
17641
+ if (loading !== null) {
17642
+ errors.push(new ParseError(block.startSourceSpan, `"defer" block can only have one "${SecondaryDeferredBlockType.LOADING}" block`));
17643
+ } else {
17644
+ loading = parseLoadingBlock(block, visitor);
17645
+ }
17646
+ break;
17647
+ case SecondaryDeferredBlockType.ERROR:
17648
+ if (error2 !== null) {
17649
+ errors.push(new ParseError(block.startSourceSpan, `"defer" block can only have one "${SecondaryDeferredBlockType.ERROR}" block`));
17650
+ } else {
17651
+ error2 = parseErrorBlock(block, visitor);
17652
+ }
17653
+ break;
17654
+ default:
17655
+ errors.push(new ParseError(block.startSourceSpan, `Unrecognized block "${block.name}"`));
17656
+ break;
17657
+ }
17658
+ } catch (e) {
17659
+ errors.push(new ParseError(block.startSourceSpan, e.message));
17660
+ }
17661
+ }
17662
+ return { placeholder, loading, error: error2 };
17663
+ }
17664
+ function parsePlaceholderBlock(ast, visitor) {
17665
+ let minimumTime = null;
17666
+ for (const param of ast.parameters) {
17667
+ if (MINIMUM_PARAMETER_PATTERN.test(param.expression)) {
17668
+ const parsedTime = parseDeferredTime(param.expression.slice(getTriggerParametersStart(param.expression)));
17669
+ if (parsedTime === null) {
17670
+ throw new Error(`Could not parse time value of parameter "minimum"`);
17671
+ }
17672
+ minimumTime = parsedTime;
17673
+ } else {
17674
+ throw new Error(`Unrecognized parameter in "${SecondaryDeferredBlockType.PLACEHOLDER}" block: "${param.expression}"`);
17675
+ }
17676
+ }
17677
+ return new DeferredBlockPlaceholder(visitAll2(visitor, ast.children), minimumTime, ast.sourceSpan, ast.startSourceSpan, ast.endSourceSpan);
17678
+ }
17679
+ function parseLoadingBlock(ast, visitor) {
17680
+ let afterTime = null;
17681
+ let minimumTime = null;
17682
+ for (const param of ast.parameters) {
17683
+ if (AFTER_PARAMETER_PATTERN.test(param.expression)) {
17684
+ const parsedTime = parseDeferredTime(param.expression.slice(getTriggerParametersStart(param.expression)));
17685
+ if (parsedTime === null) {
17686
+ throw new Error(`Could not parse time value of parameter "after"`);
17687
+ }
17688
+ afterTime = parsedTime;
17689
+ } else if (MINIMUM_PARAMETER_PATTERN.test(param.expression)) {
17690
+ const parsedTime = parseDeferredTime(param.expression.slice(getTriggerParametersStart(param.expression)));
17691
+ if (parsedTime === null) {
17692
+ throw new Error(`Could not parse time value of parameter "minimum"`);
17693
+ }
17694
+ minimumTime = parsedTime;
17695
+ } else {
17696
+ throw new Error(`Unrecognized parameter in "${SecondaryDeferredBlockType.LOADING}" block: "${param.expression}"`);
17697
+ }
17698
+ }
17699
+ return new DeferredBlockLoading(visitAll2(visitor, ast.children), afterTime, minimumTime, ast.sourceSpan, ast.startSourceSpan, ast.endSourceSpan);
17700
+ }
17701
+ function parseErrorBlock(ast, visitor) {
17702
+ if (ast.parameters.length > 0) {
17703
+ throw new Error(`"${SecondaryDeferredBlockType.ERROR}" block cannot have parameters`);
17704
+ }
17705
+ return new DeferredBlockError(visitAll2(visitor, ast.children), ast.sourceSpan, ast.startSourceSpan, ast.endSourceSpan);
17706
+ }
17707
+ function parsePrimaryTriggers(params, bindingParser, errors) {
17708
+ const triggers = [];
17709
+ const prefetchTriggers = [];
17710
+ for (const param of params) {
17711
+ if (WHEN_PARAMETER_PATTERN.test(param.expression)) {
17712
+ const result = parseWhenTrigger(param, bindingParser, errors);
17713
+ result !== null && triggers.push(result);
17714
+ } else if (ON_PARAMETER_PATTERN.test(param.expression)) {
17715
+ triggers.push(...parseOnTrigger(param, errors));
17716
+ } else if (PREFETCH_WHEN_PATTERN.test(param.expression)) {
17717
+ const result = parseWhenTrigger(param, bindingParser, errors);
17718
+ result !== null && prefetchTriggers.push(result);
17719
+ } else if (PREFETCH_ON_PATTERN.test(param.expression)) {
17720
+ prefetchTriggers.push(...parseOnTrigger(param, errors));
17721
+ } else {
17722
+ errors.push(new ParseError(param.sourceSpan, "Unrecognized trigger"));
17723
+ }
17724
+ }
17725
+ return { triggers, prefetchTriggers };
17726
+ }
17727
+
17728
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
17067
17729
  var BIND_NAME_REGEXP = /^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/;
17068
17730
  var KW_BIND_IDX = 1;
17069
17731
  var KW_LET_IDX = 2;
@@ -17162,7 +17824,12 @@ var HtmlAstToIvyAst = class {
17162
17824
  attributes.push(this.visitAttribute(attribute2));
17163
17825
  }
17164
17826
  }
17165
- const children = visitAll2(preparsedElement.nonBindable ? NON_BINDABLE_VISITOR : this, element2.children);
17827
+ let children;
17828
+ if (preparsedElement.nonBindable) {
17829
+ children = visitAll2(NON_BINDABLE_VISITOR, element2.children).flat(Infinity);
17830
+ } else {
17831
+ children = visitAll2(this, element2.children);
17832
+ }
17166
17833
  let parsedElement;
17167
17834
  if (preparsedElement.type === PreparsedElementType.NG_CONTENT) {
17168
17835
  if (element2.children && !element2.children.every((node) => isEmptyTextNode(node) || isCommentNode(node))) {
@@ -17236,13 +17903,22 @@ var HtmlAstToIvyAst = class {
17236
17903
  return null;
17237
17904
  }
17238
17905
  visitBlockGroup(group, context) {
17239
- throw new Error("TODO");
17906
+ const primaryBlock = group.blocks[0];
17907
+ if (!primaryBlock) {
17908
+ this.reportError("Block group must have at least one block.", group.sourceSpan);
17909
+ return null;
17910
+ }
17911
+ if (primaryBlock.name === "defer" && this.options.enabledBlockTypes.has(primaryBlock.name)) {
17912
+ const { node, errors } = createDeferredBlock(group, this, this.bindingParser);
17913
+ this.errors.push(...errors);
17914
+ return node;
17915
+ }
17916
+ this.reportError(`Unrecognized block "${primaryBlock.name}".`, primaryBlock.sourceSpan);
17917
+ return null;
17240
17918
  }
17241
17919
  visitBlock(block, context) {
17242
- throw new Error("TODO");
17243
17920
  }
17244
17921
  visitBlockParameter(parameter, context) {
17245
- throw new Error("TODO");
17246
17922
  }
17247
17923
  extractAttributes(elementName, properties, i18nPropsMeta) {
17248
17924
  const bound = [];
@@ -17399,13 +18075,20 @@ var NonBindableVisitor = class {
17399
18075
  return null;
17400
18076
  }
17401
18077
  visitBlockGroup(group, context) {
17402
- throw new Error("TODO");
18078
+ const nodes = visitAll2(this, group.blocks);
18079
+ if (group.endSourceSpan !== null) {
18080
+ nodes.push(new Text(group.endSourceSpan.toString(), group.endSourceSpan));
18081
+ }
18082
+ return nodes;
17403
18083
  }
17404
18084
  visitBlock(block, context) {
17405
- throw new Error("TODO");
18085
+ return [
18086
+ new Text(block.startSourceSpan.toString(), block.startSourceSpan),
18087
+ ...visitAll2(this, block.children)
18088
+ ];
17406
18089
  }
17407
18090
  visitBlockParameter(parameter, context) {
17408
- throw new Error("TODO");
18091
+ return null;
17409
18092
  }
17410
18093
  };
17411
18094
  var NON_BINDABLE_VISITOR = new NonBindableVisitor();
@@ -17429,7 +18112,7 @@ function textContents(node) {
17429
18112
  }
17430
18113
  }
17431
18114
 
17432
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/i18n/context.mjs
18115
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/context.mjs
17433
18116
  var TagType;
17434
18117
  (function(TagType2) {
17435
18118
  TagType2[TagType2["ELEMENT"] = 0] = "ELEMENT";
@@ -17564,7 +18247,7 @@ function serializePlaceholderValue(value) {
17564
18247
  }
17565
18248
  }
17566
18249
 
17567
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
18250
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
17568
18251
  var IcuSerializerVisitor = class {
17569
18252
  visitText(text2) {
17570
18253
  return text2.value;
@@ -17595,7 +18278,7 @@ function serializeIcuNode(icu) {
17595
18278
  return icu.visit(serializer);
17596
18279
  }
17597
18280
 
17598
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
18281
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
17599
18282
  var TAG_TO_PLACEHOLDER_NAMES = {
17600
18283
  "A": "LINK",
17601
18284
  "B": "BOLD_TEXT",
@@ -17689,7 +18372,7 @@ var PlaceholderRegistry = class {
17689
18372
  }
17690
18373
  };
17691
18374
 
17692
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
18375
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
17693
18376
  var _expParser = new Parser(new Lexer());
17694
18377
  function createI18nMessageFactory(interpolationConfig) {
17695
18378
  const visitor = new _I18nVisitor(_expParser, interpolationConfig);
@@ -17856,14 +18539,14 @@ function extractPlaceholderName(input) {
17856
18539
  return input.split(_CUSTOM_PH_EXP)[2];
17857
18540
  }
17858
18541
 
17859
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
18542
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
17860
18543
  var I18nError = class extends ParseError {
17861
18544
  constructor(span, msg) {
17862
18545
  super(span, msg);
17863
18546
  }
17864
18547
  };
17865
18548
 
17866
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
18549
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
17867
18550
  var setI18nRefs = (htmlNode, i18nNode) => {
17868
18551
  if (htmlNode instanceof NodeWithI18n) {
17869
18552
  if (i18nNode instanceof IcuPlaceholder && htmlNode.i18n instanceof Message) {
@@ -18023,7 +18706,7 @@ function i18nMetaToJSDoc(meta) {
18023
18706
  return jsDocComment(tags);
18024
18707
  }
18025
18708
 
18026
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
18709
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
18027
18710
  var GOOG_GET_MSG = "goog.getMsg";
18028
18711
  function createGoogleGetMsgStatements(variable2, message, closureVar, placeholderValues) {
18029
18712
  const messageString = serializeI18nMessageForGetMsg(message);
@@ -18071,7 +18754,7 @@ function serializeI18nMessageForGetMsg(message) {
18071
18754
  return message.nodes.map((node) => node.visit(serializerVisitor2, null)).join("");
18072
18755
  }
18073
18756
 
18074
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
18757
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
18075
18758
  function createLocalizeStatements(variable2, message, params) {
18076
18759
  const { messageParts, placeHolders } = serializeI18nMessageForLocalize(message);
18077
18760
  const sourceSpan = getSourceSpan(message);
@@ -18154,7 +18837,7 @@ function createEmptyMessagePart(location) {
18154
18837
  return new LiteralPiece("", new ParseSourceSpan(location, location));
18155
18838
  }
18156
18839
 
18157
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
18840
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
18158
18841
  var NG_CONTENT_SELECT_ATTR2 = "select";
18159
18842
  var NG_PROJECT_AS_ATTR_NAME = "ngProjectAs";
18160
18843
  var EVENT_BINDING_SCOPE_GLOBALS = /* @__PURE__ */ new Set(["$event"]);
@@ -18762,6 +19445,16 @@ var TemplateDefinitionBuilder = class {
18762
19445
  }
18763
19446
  return null;
18764
19447
  }
19448
+ visitDeferredBlock(deferred) {
19449
+ }
19450
+ visitDeferredTrigger(trigger) {
19451
+ }
19452
+ visitDeferredBlockPlaceholder(block) {
19453
+ }
19454
+ visitDeferredBlockError(block) {
19455
+ }
19456
+ visitDeferredBlockLoading(block) {
19457
+ }
18765
19458
  allocateDataSlot() {
18766
19459
  return this._dataIndex++;
18767
19460
  }
@@ -19324,7 +20017,12 @@ function parseTemplate(template2, templateUrl, options = {}) {
19324
20017
  const { interpolationConfig, preserveWhitespaces, enableI18nLegacyMessageIdFormat } = options;
19325
20018
  const bindingParser = makeBindingParser(interpolationConfig);
19326
20019
  const htmlParser = new HtmlParser();
19327
- const parseResult = htmlParser.parse(template2, templateUrl, __spreadProps(__spreadValues({ leadingTriviaChars: LEADING_TRIVIA_CHARS }, options), { tokenizeExpansionForms: true }));
20020
+ const parseResult = htmlParser.parse(template2, templateUrl, __spreadProps(__spreadValues({
20021
+ leadingTriviaChars: LEADING_TRIVIA_CHARS
20022
+ }, options), {
20023
+ tokenizeExpansionForms: true,
20024
+ tokenizeBlocks: options.enabledBlockTypes != null && options.enabledBlockTypes.size > 0
20025
+ }));
19328
20026
  if (!options.alwaysAttemptHtmlToR3AstConversion && parseResult.errors && parseResult.errors.length > 0) {
19329
20027
  const parsedTemplate2 = {
19330
20028
  interpolationConfig,
@@ -19365,7 +20063,10 @@ function parseTemplate(template2, templateUrl, options = {}) {
19365
20063
  rootNodes = visitAll2(new I18nMetaVisitor(interpolationConfig, false), rootNodes);
19366
20064
  }
19367
20065
  }
19368
- const { nodes, errors, styleUrls, styles, ngContentSelectors, commentNodes } = htmlAstToRender3Ast(rootNodes, bindingParser, { collectCommentNodes: !!options.collectCommentNodes });
20066
+ const { nodes, errors, styleUrls, styles, ngContentSelectors, commentNodes } = htmlAstToRender3Ast(rootNodes, bindingParser, {
20067
+ collectCommentNodes: !!options.collectCommentNodes,
20068
+ enabledBlockTypes: options.enabledBlockTypes || /* @__PURE__ */ new Set()
20069
+ });
19369
20070
  errors.push(...parseResult.errors, ...i18nMetaResult.errors);
19370
20071
  const parsedTemplate = {
19371
20072
  interpolationConfig,
@@ -19456,7 +20157,7 @@ function createClosureModeGuard() {
19456
20157
  return typeofExpr(variable(NG_I18N_CLOSURE_MODE)).notIdentical(literal("undefined", STRING_TYPE)).and(variable(NG_I18N_CLOSURE_MODE));
19457
20158
  }
19458
20159
 
19459
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
20160
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
19460
20161
  var ATTR_REGEX = /attr\.([^\]]+)/;
19461
20162
  var COMPONENT_VARIABLE = "%COMP%";
19462
20163
  var HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
@@ -20016,11 +20717,11 @@ function createHostDirectivesMappingArray(mapping) {
20016
20717
  return elements.length > 0 ? literalArr(elements) : null;
20017
20718
  }
20018
20719
 
20019
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/resource_loader.mjs
20720
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/resource_loader.mjs
20020
20721
  var ResourceLoader = class {
20021
20722
  };
20022
20723
 
20023
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
20724
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
20024
20725
  var CompilerFacadeImpl = class {
20025
20726
  constructor(jitEvaluator = new JitEvaluator()) {
20026
20727
  this.jitEvaluator = jitEvaluator;
@@ -20391,7 +21092,11 @@ function convertPipeDeclarationToMetadata(pipe2) {
20391
21092
  }
20392
21093
  function parseJitTemplate(template2, typeName, sourceMapUrl, preserveWhitespaces, interpolation) {
20393
21094
  const interpolationConfig = interpolation ? InterpolationConfig.fromArray(interpolation) : DEFAULT_INTERPOLATION_CONFIG;
20394
- const parsed = parseTemplate(template2, sourceMapUrl, { preserveWhitespaces, interpolationConfig });
21095
+ const parsed = parseTemplate(template2, sourceMapUrl, {
21096
+ preserveWhitespaces,
21097
+ interpolationConfig,
21098
+ enabledBlockTypes: /* @__PURE__ */ new Set()
21099
+ });
20395
21100
  if (parsed.errors !== null) {
20396
21101
  const errors = parsed.errors.map((err) => err.toString()).join(", ");
20397
21102
  throw new Error(`Errors during JIT compilation of template for ${typeName}: ${errors}`);
@@ -20431,9 +21136,9 @@ function convertR3DeclareDependencyMetadata(facade) {
20431
21136
  const token = facade.token === null ? null : new WrappedNodeExpr(facade.token);
20432
21137
  return createR3DependencyMetadata(token, isAttributeDep, (_b2 = facade.host) != null ? _b2 : false, (_c2 = facade.optional) != null ? _c2 : false, (_d2 = facade.self) != null ? _d2 : false, (_e2 = facade.skipSelf) != null ? _e2 : false);
20433
21138
  }
20434
- function createR3DependencyMetadata(token, isAttributeDep, host, optional, self2, skipSelf) {
21139
+ function createR3DependencyMetadata(token, isAttributeDep, host, optional, self, skipSelf) {
20435
21140
  const attributeNameType = isAttributeDep ? literal("unknown") : null;
20436
- return { token, attributeNameType, host, optional, self: self2, skipSelf };
21141
+ return { token, attributeNameType, host, optional, self, skipSelf };
20437
21142
  }
20438
21143
  function extractHostBindings(propMetadata, sourceSpan, host) {
20439
21144
  const bindings = parseHostBindings(host || {});
@@ -20539,15 +21244,15 @@ function convertDeclareInjectorFacadeToMetadata(declaration) {
20539
21244
  imports: declaration.imports !== void 0 ? declaration.imports.map((i) => new WrappedNodeExpr(i)) : []
20540
21245
  };
20541
21246
  }
20542
- function publishFacade(global2) {
20543
- const ng = global2.ng || (global2.ng = {});
21247
+ function publishFacade(global) {
21248
+ const ng = global.ng || (global.ng = {});
20544
21249
  ng.\u0275compilerFacade = new CompilerFacadeImpl();
20545
21250
  }
20546
21251
 
20547
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/version.mjs
20548
- var VERSION2 = new Version("16.2.0-next.2");
21252
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/version.mjs
21253
+ var VERSION2 = new Version("16.2.0-next.4");
20549
21254
 
20550
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
21255
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
20551
21256
  var _I18N_ATTR = "i18n";
20552
21257
  var _I18N_ATTR_PREFIX = "i18n-";
20553
21258
  var _I18N_COMMENT_PREFIX_REGEXP = /^i18n:?/;
@@ -20859,7 +21564,7 @@ function _parseMessageMeta(i18n) {
20859
21564
  return { meaning, description, id: id.trim() };
20860
21565
  }
20861
21566
 
20862
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
21567
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
20863
21568
  var XmlTagDefinition = class {
20864
21569
  constructor() {
20865
21570
  this.closedByParent = false;
@@ -20884,7 +21589,7 @@ function getXmlTagDefinition(tagName) {
20884
21589
  return _TAG_DEFINITION;
20885
21590
  }
20886
21591
 
20887
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/xml_parser.mjs
21592
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/xml_parser.mjs
20888
21593
  var XmlParser = class extends Parser2 {
20889
21594
  constructor() {
20890
21595
  super(getXmlTagDefinition);
@@ -20894,7 +21599,7 @@ var XmlParser = class extends Parser2 {
20894
21599
  }
20895
21600
  };
20896
21601
 
20897
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff.mjs
21602
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff.mjs
20898
21603
  var _VERSION = "1.2";
20899
21604
  var _XMLNS = "urn:oasis:names:tc:xliff:document:1.2";
20900
21605
  var _DEFAULT_SOURCE_LANG = "en";
@@ -21146,7 +21851,7 @@ function getCtypeForTag(tag) {
21146
21851
  }
21147
21852
  }
21148
21853
 
21149
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff2.mjs
21854
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xliff2.mjs
21150
21855
  var _VERSION2 = "2.0";
21151
21856
  var _XMLNS2 = "urn:oasis:names:tc:xliff:document:2.0";
21152
21857
  var _DEFAULT_SOURCE_LANG2 = "en";
@@ -21449,7 +22154,7 @@ function getTypeForTag(tag) {
21449
22154
  }
21450
22155
  }
21451
22156
 
21452
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/message_bundle.mjs
22157
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/message_bundle.mjs
21453
22158
  var MessageBundle = class {
21454
22159
  constructor(_htmlParser, _implicitTags, _implicitAttrs, _locale = null) {
21455
22160
  this._htmlParser = _htmlParser;
@@ -21516,7 +22221,7 @@ var MapPlaceholderNames = class extends CloneVisitor {
21516
22221
  }
21517
22222
  };
21518
22223
 
21519
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
22224
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
21520
22225
  var FactoryTarget2;
21521
22226
  (function(FactoryTarget3) {
21522
22227
  FactoryTarget3[FactoryTarget3["Directive"] = 0] = "Directive";
@@ -21526,7 +22231,7 @@ var FactoryTarget2;
21526
22231
  FactoryTarget3[FactoryTarget3["NgModule"] = 4] = "NgModule";
21527
22232
  })(FactoryTarget2 || (FactoryTarget2 = {}));
21528
22233
 
21529
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
22234
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
21530
22235
  var R3TargetBinder = class {
21531
22236
  constructor(directiveMatcher) {
21532
22237
  this.directiveMatcher = directiveMatcher;
@@ -21581,6 +22286,22 @@ var Scope = class {
21581
22286
  visitReference(reference2) {
21582
22287
  this.maybeDeclare(reference2);
21583
22288
  }
22289
+ visitDeferredBlock(deferred) {
22290
+ var _a2, _b2, _c2;
22291
+ deferred.children.forEach((node) => node.visit(this));
22292
+ (_a2 = deferred.placeholder) == null ? void 0 : _a2.visit(this);
22293
+ (_b2 = deferred.loading) == null ? void 0 : _b2.visit(this);
22294
+ (_c2 = deferred.error) == null ? void 0 : _c2.visit(this);
22295
+ }
22296
+ visitDeferredBlockPlaceholder(block) {
22297
+ block.children.forEach((node) => node.visit(this));
22298
+ }
22299
+ visitDeferredBlockError(block) {
22300
+ block.children.forEach((node) => node.visit(this));
22301
+ }
22302
+ visitDeferredBlockLoading(block) {
22303
+ block.children.forEach((node) => node.visit(this));
22304
+ }
21584
22305
  visitContent(content) {
21585
22306
  }
21586
22307
  visitBoundAttribute(attr) {
@@ -21595,6 +22316,8 @@ var Scope = class {
21595
22316
  }
21596
22317
  visitIcu(icu) {
21597
22318
  }
22319
+ visitDeferredTrigger(trigger) {
22320
+ }
21598
22321
  maybeDeclare(thing) {
21599
22322
  if (!this.namedEntities.has(thing.name)) {
21600
22323
  this.namedEntities.set(thing.name, thing);
@@ -21677,6 +22400,22 @@ var DirectiveBinder = class {
21677
22400
  node.outputs.forEach((output) => setAttributeBinding(output, "outputs"));
21678
22401
  node.children.forEach((child) => child.visit(this));
21679
22402
  }
22403
+ visitDeferredBlock(deferred) {
22404
+ var _a2, _b2, _c2;
22405
+ deferred.children.forEach((child) => child.visit(this));
22406
+ (_a2 = deferred.placeholder) == null ? void 0 : _a2.visit(this);
22407
+ (_b2 = deferred.loading) == null ? void 0 : _b2.visit(this);
22408
+ (_c2 = deferred.error) == null ? void 0 : _c2.visit(this);
22409
+ }
22410
+ visitDeferredBlockPlaceholder(block) {
22411
+ block.children.forEach((child) => child.visit(this));
22412
+ }
22413
+ visitDeferredBlockError(block) {
22414
+ block.children.forEach((child) => child.visit(this));
22415
+ }
22416
+ visitDeferredBlockLoading(block) {
22417
+ block.children.forEach((child) => child.visit(this));
22418
+ }
21680
22419
  visitContent(content) {
21681
22420
  }
21682
22421
  visitVariable(variable2) {
@@ -21697,6 +22436,8 @@ var DirectiveBinder = class {
21697
22436
  }
21698
22437
  visitIcu(icu) {
21699
22438
  }
22439
+ visitDeferredTrigger(trigger) {
22440
+ }
21700
22441
  };
21701
22442
  var TemplateBinder = class extends RecursiveAstVisitor2 {
21702
22443
  constructor(bindings, symbols, usedPipes, nestingLevel, scope, template2, level) {
@@ -21717,13 +22458,14 @@ var TemplateBinder = class extends RecursiveAstVisitor2 {
21717
22458
  node.visit(this);
21718
22459
  }
21719
22460
  }
21720
- static applyWithScope(template2, scope) {
22461
+ static applyWithScope(nodes, scope) {
21721
22462
  const expressions = /* @__PURE__ */ new Map();
21722
22463
  const symbols = /* @__PURE__ */ new Map();
21723
22464
  const nestingLevel = /* @__PURE__ */ new Map();
21724
22465
  const usedPipes = /* @__PURE__ */ new Set();
21725
- const binder = new TemplateBinder(expressions, symbols, usedPipes, nestingLevel, scope, template2 instanceof Template ? template2 : null, 0);
21726
- binder.ingest(template2);
22466
+ const template2 = nodes instanceof Template ? nodes : null;
22467
+ const binder = new TemplateBinder(expressions, symbols, usedPipes, nestingLevel, scope, template2, 0);
22468
+ binder.ingest(nodes);
21727
22469
  return { expressions, symbols, nestingLevel, usedPipes };
21728
22470
  }
21729
22471
  ingest(template2) {
@@ -21775,6 +22517,28 @@ var TemplateBinder = class extends RecursiveAstVisitor2 {
21775
22517
  visitBoundEvent(event) {
21776
22518
  event.handler.visit(this);
21777
22519
  }
22520
+ visitDeferredBlock(deferred) {
22521
+ deferred.triggers.forEach(this.visitNode);
22522
+ deferred.prefetchTriggers.forEach(this.visitNode);
22523
+ deferred.children.forEach(this.visitNode);
22524
+ deferred.placeholder && this.visitNode(deferred.placeholder);
22525
+ deferred.loading && this.visitNode(deferred.loading);
22526
+ deferred.error && this.visitNode(deferred.error);
22527
+ }
22528
+ visitDeferredTrigger(trigger) {
22529
+ if (trigger instanceof BoundDeferredTrigger) {
22530
+ trigger.value.visit(this);
22531
+ }
22532
+ }
22533
+ visitDeferredBlockPlaceholder(block) {
22534
+ block.children.forEach(this.visitNode);
22535
+ }
22536
+ visitDeferredBlockError(block) {
22537
+ block.children.forEach(this.visitNode);
22538
+ }
22539
+ visitDeferredBlockLoading(block) {
22540
+ block.children.forEach(this.visitNode);
22541
+ }
21778
22542
  visitBoundText(text2) {
21779
22543
  text2.value.visit(this);
21780
22544
  }
@@ -21878,7 +22642,7 @@ function extractTemplateEntities(rootScope) {
21878
22642
  return templateEntities;
21879
22643
  }
21880
22644
 
21881
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_class_metadata_compiler.mjs
22645
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_class_metadata_compiler.mjs
21882
22646
  function compileClassMetadata(metadata) {
21883
22647
  var _a2, _b2;
21884
22648
  const fnCall = importExpr(Identifiers.setClassMetadata).callFn([
@@ -21891,12 +22655,12 @@ function compileClassMetadata(metadata) {
21891
22655
  return iife.callFn([]);
21892
22656
  }
21893
22657
 
21894
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/partial/class_metadata.mjs
22658
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/class_metadata.mjs
21895
22659
  var MINIMUM_PARTIAL_LINKER_VERSION = "12.0.0";
21896
22660
  function compileDeclareClassMetadata(metadata) {
21897
22661
  const definitionMap = new DefinitionMap();
21898
22662
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION));
21899
- definitionMap.set("version", literal("16.2.0-next.2"));
22663
+ definitionMap.set("version", literal("16.2.0-next.4"));
21900
22664
  definitionMap.set("ngImport", importExpr(Identifiers.core));
21901
22665
  definitionMap.set("type", metadata.type);
21902
22666
  definitionMap.set("decorators", metadata.decorators);
@@ -21905,7 +22669,7 @@ function compileDeclareClassMetadata(metadata) {
21905
22669
  return importExpr(Identifiers.declareClassMetadata).callFn([definitionMap.toLiteralMap()]);
21906
22670
  }
21907
22671
 
21908
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/partial/util.mjs
22672
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/util.mjs
21909
22673
  function toOptionalLiteralArray(values, mapper) {
21910
22674
  if (values === null || values.length === 0) {
21911
22675
  return null;
@@ -21953,7 +22717,7 @@ function compileDependency(dep) {
21953
22717
  return depMeta.toLiteralMap();
21954
22718
  }
21955
22719
 
21956
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/partial/directive.mjs
22720
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/directive.mjs
21957
22721
  var MINIMUM_PARTIAL_LINKER_VERSION2 = "14.0.0";
21958
22722
  function compileDeclareDirectiveFromMetadata(meta) {
21959
22723
  const definitionMap = createDirectiveDefinitionMap(meta);
@@ -21965,7 +22729,7 @@ function createDirectiveDefinitionMap(meta) {
21965
22729
  var _a2;
21966
22730
  const definitionMap = new DefinitionMap();
21967
22731
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION2));
21968
- definitionMap.set("version", literal("16.2.0-next.2"));
22732
+ definitionMap.set("version", literal("16.2.0-next.4"));
21969
22733
  definitionMap.set("type", meta.type.value);
21970
22734
  if (meta.isStandalone) {
21971
22735
  definitionMap.set("isStandalone", literal(meta.isStandalone));
@@ -22058,7 +22822,7 @@ function createHostDirectives(hostDirectives) {
22058
22822
  return literalArr(expressions);
22059
22823
  }
22060
22824
 
22061
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/partial/component.mjs
22825
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/component.mjs
22062
22826
  function compileDeclareComponentFromMetadata(meta, template2, additionalTemplateInfo) {
22063
22827
  const definitionMap = createComponentDefinitionMap(meta, template2, additionalTemplateInfo);
22064
22828
  const expression = importExpr(Identifiers.declareComponent).callFn([definitionMap.toLiteralMap()]);
@@ -22145,12 +22909,12 @@ function compileUsedDependenciesMetadata(meta) {
22145
22909
  });
22146
22910
  }
22147
22911
 
22148
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/partial/factory.mjs
22912
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/factory.mjs
22149
22913
  var MINIMUM_PARTIAL_LINKER_VERSION3 = "12.0.0";
22150
22914
  function compileDeclareFactoryFunction(meta) {
22151
22915
  const definitionMap = new DefinitionMap();
22152
22916
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION3));
22153
- definitionMap.set("version", literal("16.2.0-next.2"));
22917
+ definitionMap.set("version", literal("16.2.0-next.4"));
22154
22918
  definitionMap.set("ngImport", importExpr(Identifiers.core));
22155
22919
  definitionMap.set("type", meta.type.value);
22156
22920
  definitionMap.set("deps", compileDependencies(meta.deps));
@@ -22162,7 +22926,7 @@ function compileDeclareFactoryFunction(meta) {
22162
22926
  };
22163
22927
  }
22164
22928
 
22165
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/partial/injectable.mjs
22929
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/injectable.mjs
22166
22930
  var MINIMUM_PARTIAL_LINKER_VERSION4 = "12.0.0";
22167
22931
  function compileDeclareInjectableFromMetadata(meta) {
22168
22932
  const definitionMap = createInjectableDefinitionMap(meta);
@@ -22173,7 +22937,7 @@ function compileDeclareInjectableFromMetadata(meta) {
22173
22937
  function createInjectableDefinitionMap(meta) {
22174
22938
  const definitionMap = new DefinitionMap();
22175
22939
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION4));
22176
- definitionMap.set("version", literal("16.2.0-next.2"));
22940
+ definitionMap.set("version", literal("16.2.0-next.4"));
22177
22941
  definitionMap.set("ngImport", importExpr(Identifiers.core));
22178
22942
  definitionMap.set("type", meta.type.value);
22179
22943
  if (meta.providedIn !== void 0) {
@@ -22200,7 +22964,7 @@ function createInjectableDefinitionMap(meta) {
22200
22964
  return definitionMap;
22201
22965
  }
22202
22966
 
22203
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/partial/injector.mjs
22967
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/injector.mjs
22204
22968
  var MINIMUM_PARTIAL_LINKER_VERSION5 = "12.0.0";
22205
22969
  function compileDeclareInjectorFromMetadata(meta) {
22206
22970
  const definitionMap = createInjectorDefinitionMap(meta);
@@ -22211,7 +22975,7 @@ function compileDeclareInjectorFromMetadata(meta) {
22211
22975
  function createInjectorDefinitionMap(meta) {
22212
22976
  const definitionMap = new DefinitionMap();
22213
22977
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION5));
22214
- definitionMap.set("version", literal("16.2.0-next.2"));
22978
+ definitionMap.set("version", literal("16.2.0-next.4"));
22215
22979
  definitionMap.set("ngImport", importExpr(Identifiers.core));
22216
22980
  definitionMap.set("type", meta.type.value);
22217
22981
  definitionMap.set("providers", meta.providers);
@@ -22221,7 +22985,7 @@ function createInjectorDefinitionMap(meta) {
22221
22985
  return definitionMap;
22222
22986
  }
22223
22987
 
22224
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/partial/ng_module.mjs
22988
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/ng_module.mjs
22225
22989
  var MINIMUM_PARTIAL_LINKER_VERSION6 = "14.0.0";
22226
22990
  function compileDeclareNgModuleFromMetadata(meta) {
22227
22991
  const definitionMap = createNgModuleDefinitionMap(meta);
@@ -22235,7 +22999,7 @@ function createNgModuleDefinitionMap(meta) {
22235
22999
  throw new Error("Invalid path! Local compilation mode should not get into the partial compilation path");
22236
23000
  }
22237
23001
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION6));
22238
- definitionMap.set("version", literal("16.2.0-next.2"));
23002
+ definitionMap.set("version", literal("16.2.0-next.4"));
22239
23003
  definitionMap.set("ngImport", importExpr(Identifiers.core));
22240
23004
  definitionMap.set("type", meta.type.value);
22241
23005
  if (meta.bootstrap.length > 0) {
@@ -22259,7 +23023,7 @@ function createNgModuleDefinitionMap(meta) {
22259
23023
  return definitionMap;
22260
23024
  }
22261
23025
 
22262
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/partial/pipe.mjs
23026
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/pipe.mjs
22263
23027
  var MINIMUM_PARTIAL_LINKER_VERSION7 = "14.0.0";
22264
23028
  function compileDeclarePipeFromMetadata(meta) {
22265
23029
  const definitionMap = createPipeDefinitionMap(meta);
@@ -22270,7 +23034,7 @@ function compileDeclarePipeFromMetadata(meta) {
22270
23034
  function createPipeDefinitionMap(meta) {
22271
23035
  const definitionMap = new DefinitionMap();
22272
23036
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION7));
22273
- definitionMap.set("version", literal("16.2.0-next.2"));
23037
+ definitionMap.set("version", literal("16.2.0-next.4"));
22274
23038
  definitionMap.set("ngImport", importExpr(Identifiers.core));
22275
23039
  definitionMap.set("type", meta.type.value);
22276
23040
  if (meta.isStandalone) {
@@ -22283,13 +23047,13 @@ function createPipeDefinitionMap(meta) {
22283
23047
  return definitionMap;
22284
23048
  }
22285
23049
 
22286
- // bazel-out/darwin-fastbuild/bin/packages/compiler/src/compiler.mjs
23050
+ // bazel-out/k8-fastbuild/bin/packages/compiler/src/compiler.mjs
22287
23051
  publishFacade(_global);
22288
23052
 
22289
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/version.mjs
22290
- var VERSION3 = new Version("16.2.0-next.2");
23053
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version.mjs
23054
+ var VERSION3 = new Version("16.2.0-next.4");
22291
23055
 
22292
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
23056
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
22293
23057
  var EmitFlags;
22294
23058
  (function(EmitFlags2) {
22295
23059
  EmitFlags2[EmitFlags2["DTS"] = 1] = "DTS";
@@ -22301,13 +23065,13 @@ var EmitFlags;
22301
23065
  EmitFlags2[EmitFlags2["All"] = 31] = "All";
22302
23066
  })(EmitFlags || (EmitFlags = {}));
22303
23067
 
22304
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
23068
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
22305
23069
  var import_typescript2 = __toESM(require("typescript"), 1);
22306
23070
 
22307
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
23071
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
22308
23072
  var import_typescript94 = __toESM(require("typescript"), 1);
22309
23073
 
22310
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
23074
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
22311
23075
  var path = __toESM(require("path"), 1);
22312
23076
  function i18nGetExtension(formatName) {
22313
23077
  const format = formatName.toLowerCase();
@@ -22357,10 +23121,10 @@ function getPathNormalizer(basePath) {
22357
23121
  };
22358
23122
  }
22359
23123
 
22360
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
23124
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
22361
23125
  var import_typescript3 = __toESM(require("typescript"), 1);
22362
23126
 
22363
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
23127
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
22364
23128
  function toNumbers(value) {
22365
23129
  const suffixIndex = value.lastIndexOf("-");
22366
23130
  return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
@@ -22395,7 +23159,7 @@ function compareVersions(v1, v2) {
22395
23159
  return compareNumbers(toNumbers(v1), toNumbers(v2));
22396
23160
  }
22397
23161
 
22398
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
23162
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
22399
23163
  var MIN_TS_VERSION = "4.9.3";
22400
23164
  var MAX_TS_VERSION = "5.2.0";
22401
23165
  var tsVersion = import_typescript3.default.version;
@@ -22408,13 +23172,13 @@ function verifySupportedTypeScriptVersion() {
22408
23172
  checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
22409
23173
  }
22410
23174
 
22411
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
23175
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
22412
23176
  var import_typescript90 = __toESM(require("typescript"), 1);
22413
23177
 
22414
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
23178
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
22415
23179
  var import_typescript14 = __toESM(require("typescript"), 1);
22416
23180
 
22417
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
23181
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
22418
23182
  var ErrorCode;
22419
23183
  (function(ErrorCode2) {
22420
23184
  ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
@@ -22488,7 +23252,7 @@ var ErrorCode;
22488
23252
  ErrorCode2[ErrorCode2["SUGGEST_SUBOPTIMAL_TYPE_INFERENCE"] = 10002] = "SUGGEST_SUBOPTIMAL_TYPE_INFERENCE";
22489
23253
  })(ErrorCode || (ErrorCode = {}));
22490
23254
 
22491
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
23255
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
22492
23256
  var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
22493
23257
  ErrorCode.DECORATOR_ARG_NOT_LITERAL,
22494
23258
  ErrorCode.IMPORT_CYCLE_DETECTED,
@@ -22500,15 +23264,15 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
22500
23264
  ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
22501
23265
  ]);
22502
23266
 
22503
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
23267
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
22504
23268
  var import_typescript4 = __toESM(require("typescript"), 1);
22505
23269
 
22506
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
23270
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
22507
23271
  function ngErrorCode(code) {
22508
23272
  return parseInt("-99" + code);
22509
23273
  }
22510
23274
 
22511
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
23275
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
22512
23276
  var FatalDiagnosticError = class {
22513
23277
  constructor(code, node, message, relatedInformation) {
22514
23278
  this.code = code;
@@ -22564,10 +23328,10 @@ function addDiagnosticChain(messageText, add) {
22564
23328
  return messageText;
22565
23329
  }
22566
23330
 
22567
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
23331
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
22568
23332
  var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
22569
23333
 
22570
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
23334
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
22571
23335
  var ExtendedTemplateDiagnosticName;
22572
23336
  (function(ExtendedTemplateDiagnosticName2) {
22573
23337
  ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
@@ -22580,13 +23344,13 @@ var ExtendedTemplateDiagnosticName;
22580
23344
  ExtendedTemplateDiagnosticName2["SKIP_HYDRATION_NOT_STATIC"] = "skipHydrationNotStatic";
22581
23345
  })(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
22582
23346
 
22583
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
23347
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
22584
23348
  var import_typescript13 = __toESM(require("typescript"), 1);
22585
23349
 
22586
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
23350
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
22587
23351
  var import_typescript7 = __toESM(require("typescript"), 1);
22588
23352
 
22589
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
23353
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
22590
23354
  var import_typescript5 = __toESM(require("typescript"), 1);
22591
23355
  var TS = /\.tsx?$/i;
22592
23356
  var D_TS = /\.d\.ts$/i;
@@ -22687,7 +23451,7 @@ function toUnredirectedSourceFile(sf) {
22687
23451
  return redirectInfo.unredirected;
22688
23452
  }
22689
23453
 
22690
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
23454
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
22691
23455
  function findExportedNameOfNode(target, file, reflector) {
22692
23456
  const exports = reflector.getExportsOfModule(file);
22693
23457
  if (exports === null) {
@@ -22707,7 +23471,7 @@ function findExportedNameOfNode(target, file, reflector) {
22707
23471
  return foundExportName;
22708
23472
  }
22709
23473
 
22710
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
23474
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
22711
23475
  var ImportFlags;
22712
23476
  (function(ImportFlags2) {
22713
23477
  ImportFlags2[ImportFlags2["None"] = 0] = "None";
@@ -22923,7 +23687,7 @@ var UnifiedModulesStrategy = class {
22923
23687
  }
22924
23688
  };
22925
23689
 
22926
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
23690
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
22927
23691
  var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
22928
23692
  var UnifiedModulesAliasingHost = class {
22929
23693
  constructor(unifiedModulesHost) {
@@ -22990,7 +23754,7 @@ var AliasStrategy = class {
22990
23754
  }
22991
23755
  };
22992
23756
 
22993
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
23757
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
22994
23758
  function relativePathBetween(from, to) {
22995
23759
  const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
22996
23760
  return relativePath !== "" ? toRelativeImport(relativePath) : null;
@@ -22999,7 +23763,7 @@ function normalizeSeparators2(path3) {
22999
23763
  return path3.replace(/\\/g, "/");
23000
23764
  }
23001
23765
 
23002
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
23766
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
23003
23767
  var NoopImportRewriter = class {
23004
23768
  shouldImportSymbol(symbol, specifier) {
23005
23769
  return true;
@@ -23057,7 +23821,7 @@ function validateAndRewriteCoreSymbol(name) {
23057
23821
  return CORE_SUPPORTED_SYMBOLS.get(name);
23058
23822
  }
23059
23823
 
23060
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
23824
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
23061
23825
  var import_typescript9 = __toESM(require("typescript"), 1);
23062
23826
  var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
23063
23827
  function loadIsReferencedAliasDeclarationPatch(context) {
@@ -23092,7 +23856,7 @@ function throwIncompatibleTransformationContextError() {
23092
23856
  throw Error("Angular compiler is incompatible with this version of the TypeScript compiler.\n\nIf you recently updated TypeScript and this issue surfaces now, consider downgrading.\n\nPlease report an issue on the Angular repositories when this issue surfaces and you are using a supposedly compatible TypeScript version.");
23093
23857
  }
23094
23858
 
23095
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
23859
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
23096
23860
  var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
23097
23861
  function attachDefaultImportDeclaration(expr, importDecl) {
23098
23862
  expr[DefaultImportDeclaration] = importDecl;
@@ -23133,7 +23897,7 @@ var DefaultImportTracker = class {
23133
23897
  }
23134
23898
  };
23135
23899
 
23136
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
23900
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
23137
23901
  var Reference2 = class {
23138
23902
  constructor(node, bestGuessOwningModule = null) {
23139
23903
  this.node = node;
@@ -23196,7 +23960,7 @@ var Reference2 = class {
23196
23960
  }
23197
23961
  };
23198
23962
 
23199
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
23963
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
23200
23964
  var ModuleResolver = class {
23201
23965
  constructor(program, compilerOptions, host, moduleResolutionCache) {
23202
23966
  this.program = program;
@@ -23213,7 +23977,7 @@ var ModuleResolver = class {
23213
23977
  }
23214
23978
  };
23215
23979
 
23216
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
23980
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
23217
23981
  function valueReferenceToExpression(valueRef) {
23218
23982
  if (valueRef.kind === 2) {
23219
23983
  return null;
@@ -23452,7 +24216,7 @@ function isAbstractClassDeclaration(clazz) {
23452
24216
  return import_typescript13.default.canHaveModifiers(clazz) && clazz.modifiers !== void 0 ? clazz.modifiers.some((mod) => mod.kind === import_typescript13.default.SyntaxKind.AbstractKeyword) : false;
23453
24217
  }
23454
24218
 
23455
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
24219
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
23456
24220
  function getConstructorDependencies(clazz, reflector, isCore) {
23457
24221
  const deps = [];
23458
24222
  const errors = [];
@@ -23467,7 +24231,7 @@ function getConstructorDependencies(clazz, reflector, isCore) {
23467
24231
  ctorParams.forEach((param, idx) => {
23468
24232
  let token = valueReferenceToExpression(param.typeValueReference);
23469
24233
  let attributeNameType = null;
23470
- let optional = false, self2 = false, skipSelf = false, host = false;
24234
+ let optional = false, self = false, skipSelf = false, host = false;
23471
24235
  (param.decorators || []).filter((dec) => isCore || isAngularCore(dec)).forEach((dec) => {
23472
24236
  const name = isCore || dec.import === null ? dec.name : dec.import.name;
23473
24237
  if (name === "Inject") {
@@ -23480,7 +24244,7 @@ function getConstructorDependencies(clazz, reflector, isCore) {
23480
24244
  } else if (name === "SkipSelf") {
23481
24245
  skipSelf = true;
23482
24246
  } else if (name === "Self") {
23483
- self2 = true;
24247
+ self = true;
23484
24248
  } else if (name === "Host") {
23485
24249
  host = true;
23486
24250
  } else if (name === "Attribute") {
@@ -23508,7 +24272,7 @@ function getConstructorDependencies(clazz, reflector, isCore) {
23508
24272
  reason: param.typeValueReference.reason
23509
24273
  });
23510
24274
  } else {
23511
- deps.push({ token, attributeNameType, optional, self: self2, skipSelf, host });
24275
+ deps.push({ token, attributeNameType, optional, self, skipSelf, host });
23512
24276
  }
23513
24277
  });
23514
24278
  if (errors.length === 0) {
@@ -23594,10 +24358,10 @@ function createUnsuitableInjectionTokenError(clazz, error2) {
23594
24358
  return new FatalDiagnosticError(ErrorCode.PARAM_MISSING_TOKEN, param.nameNode, chain, hints);
23595
24359
  }
23596
24360
 
23597
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
24361
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
23598
24362
  var import_typescript27 = __toESM(require("typescript"), 1);
23599
24363
 
23600
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
24364
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
23601
24365
  var MetaKind;
23602
24366
  (function(MetaKind2) {
23603
24367
  MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
@@ -23610,10 +24374,10 @@ var MatchSource;
23610
24374
  MatchSource2[MatchSource2["HostDirective"] = 1] = "HostDirective";
23611
24375
  })(MatchSource || (MatchSource = {}));
23612
24376
 
23613
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
24377
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
23614
24378
  var import_typescript22 = __toESM(require("typescript"), 1);
23615
24379
 
23616
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
24380
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
23617
24381
  var import_typescript15 = __toESM(require("typescript"), 1);
23618
24382
  function isDecoratorIdentifier(exp) {
23619
24383
  return import_typescript15.default.isIdentifier(exp) || import_typescript15.default.isPropertyAccessExpression(exp) && import_typescript15.default.isIdentifier(exp.expression) && import_typescript15.default.isIdentifier(exp.name);
@@ -23627,7 +24391,7 @@ var ClassMemberKind;
23627
24391
  ClassMemberKind2[ClassMemberKind2["Method"] = 4] = "Method";
23628
24392
  })(ClassMemberKind || (ClassMemberKind = {}));
23629
24393
 
23630
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
24394
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
23631
24395
  var import_typescript16 = __toESM(require("typescript"), 1);
23632
24396
  function typeToValue(typeNode, checker) {
23633
24397
  if (typeNode === null) {
@@ -23793,10 +24557,10 @@ function extractModuleName(node) {
23793
24557
  return node.moduleSpecifier.text;
23794
24558
  }
23795
24559
 
23796
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
24560
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
23797
24561
  var import_typescript18 = __toESM(require("typescript"), 1);
23798
24562
 
23799
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
24563
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
23800
24564
  var import_typescript17 = __toESM(require("typescript"), 1);
23801
24565
  function isNamedClassDeclaration(node) {
23802
24566
  return import_typescript17.default.isClassDeclaration(node) && isIdentifier(node.name);
@@ -23805,7 +24569,7 @@ function isIdentifier(node) {
23805
24569
  return node !== void 0 && import_typescript17.default.isIdentifier(node);
23806
24570
  }
23807
24571
 
23808
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
24572
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
23809
24573
  var TypeScriptReflectionHost = class {
23810
24574
  constructor(checker) {
23811
24575
  this.checker = checker;
@@ -24234,7 +24998,7 @@ function getExportedName(decl, originalId) {
24234
24998
  }
24235
24999
  var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
24236
25000
 
24237
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
25001
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
24238
25002
  var ClassPropertyMapping = class {
24239
25003
  constructor(forwardMap) {
24240
25004
  this.forwardMap = forwardMap;
@@ -24312,7 +25076,7 @@ function reverseMapFromForwardMap(forwardMap) {
24312
25076
  return reverseMap;
24313
25077
  }
24314
25078
 
24315
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
25079
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
24316
25080
  var import_typescript20 = __toESM(require("typescript"), 1);
24317
25081
  function extractReferencesFromType(checker, def, bestGuessOwningModule) {
24318
25082
  if (!import_typescript20.default.isTupleTypeNode(def)) {
@@ -24497,7 +25261,7 @@ function hasInjectableFields(clazz, host) {
24497
25261
  return members.some(({ isStatic, name }) => isStatic && (name === "\u0275prov" || name === "\u0275fac"));
24498
25262
  }
24499
25263
 
24500
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
25264
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
24501
25265
  var DtsMetadataReader = class {
24502
25266
  constructor(checker, reflector) {
24503
25267
  this.checker = checker;
@@ -24672,7 +25436,7 @@ function readHostDirectivesType(checker, type, bestGuessOwningModule) {
24672
25436
  return result.length > 0 ? result : null;
24673
25437
  }
24674
25438
 
24675
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
25439
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
24676
25440
  function flattenInheritedDirectiveMetadata(reader, dir) {
24677
25441
  const topMeta = reader.getDirectiveMetadata(dir);
24678
25442
  if (topMeta === null) {
@@ -24729,7 +25493,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
24729
25493
  });
24730
25494
  }
24731
25495
 
24732
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
25496
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
24733
25497
  var LocalMetadataRegistry = class {
24734
25498
  constructor() {
24735
25499
  this.directives = /* @__PURE__ */ new Map();
@@ -24786,7 +25550,7 @@ var CompoundMetadataRegistry = class {
24786
25550
  }
24787
25551
  };
24788
25552
 
24789
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
25553
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
24790
25554
  var ResourceRegistry = class {
24791
25555
  constructor() {
24792
25556
  this.externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
@@ -24851,7 +25615,7 @@ var ResourceRegistry = class {
24851
25615
  }
24852
25616
  };
24853
25617
 
24854
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/providers.mjs
25618
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/providers.mjs
24855
25619
  var ExportedProviderStatusResolver = class {
24856
25620
  constructor(metaReader) {
24857
25621
  this.metaReader = metaReader;
@@ -24895,7 +25659,7 @@ var ExportedProviderStatusResolver = class {
24895
25659
  }
24896
25660
  };
24897
25661
 
24898
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
25662
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
24899
25663
  var EMPTY_ARRAY = [];
24900
25664
  var HostDirectivesResolver = class {
24901
25665
  constructor(metaReader) {
@@ -24956,10 +25720,10 @@ function resolveOutput(bindingName) {
24956
25720
  return bindingName;
24957
25721
  }
24958
25722
 
24959
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
25723
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
24960
25724
  var import_typescript24 = __toESM(require("typescript"), 1);
24961
25725
 
24962
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
25726
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
24963
25727
  var DynamicValue = class {
24964
25728
  constructor(node, reason, code) {
24965
25729
  this.node = node;
@@ -25049,7 +25813,7 @@ var DynamicValue = class {
25049
25813
  }
25050
25814
  };
25051
25815
 
25052
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
25816
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
25053
25817
  var ResolvedModule = class {
25054
25818
  constructor(exports, evaluate) {
25055
25819
  this.exports = exports;
@@ -25079,7 +25843,7 @@ var EnumValue = class {
25079
25843
  var KnownFn = class {
25080
25844
  };
25081
25845
 
25082
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
25846
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
25083
25847
  function describeResolvedType(value, maxDepth = 1) {
25084
25848
  var _a2, _b2;
25085
25849
  if (value === null) {
@@ -25208,10 +25972,10 @@ function getContainerNode(node) {
25208
25972
  return node.getSourceFile();
25209
25973
  }
25210
25974
 
25211
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
25975
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
25212
25976
  var import_typescript25 = __toESM(require("typescript"), 1);
25213
25977
 
25214
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
25978
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
25215
25979
  var ArraySliceBuiltinFn = class extends KnownFn {
25216
25980
  constructor(lhs) {
25217
25981
  super();
@@ -25263,14 +26027,14 @@ var StringConcatBuiltinFn = class extends KnownFn {
25263
26027
  }
25264
26028
  };
25265
26029
 
25266
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
26030
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
25267
26031
  var SyntheticValue = class {
25268
26032
  constructor(value) {
25269
26033
  this.value = value;
25270
26034
  }
25271
26035
  };
25272
26036
 
25273
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
26037
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
25274
26038
  function literalBinaryOp(op) {
25275
26039
  return { op, literal: true };
25276
26040
  }
@@ -25848,7 +26612,7 @@ function getOriginalKeywordKind(identifier) {
25848
26612
  return typeof import_typescript25.default.identifierToKeywordKind === "function" ? import_typescript25.default.identifierToKeywordKind(identifier) : identifier.originalKeywordKind;
25849
26613
  }
25850
26614
 
25851
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
26615
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
25852
26616
  var PartialEvaluator = class {
25853
26617
  constructor(host, checker, dependencyTracker) {
25854
26618
  this.host = host;
@@ -25868,7 +26632,7 @@ var PartialEvaluator = class {
25868
26632
  }
25869
26633
  };
25870
26634
 
25871
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
26635
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
25872
26636
  function makeDuplicateDeclarationError(node, data, kind) {
25873
26637
  const context = [];
25874
26638
  for (const decl of data) {
@@ -26064,7 +26828,7 @@ function getInheritedUndecoratedCtorDiagnostic(node, baseClass, kind) {
26064
26828
  return makeDiagnostic(ErrorCode.DIRECTIVE_INHERITS_UNDECORATED_CTOR, node.name, `The ${kind.toLowerCase()} ${node.name.text} inherits its constructor from ${baseClassName}, but the latter does not have an Angular decorator of its own. Dependency injection will not be able to resolve the parameters of ${baseClassName}'s constructor. Either add a @${baseNeedsDecorator} decorator to ${baseClassName}, or add an explicit constructor to ${node.name.text}.`);
26065
26829
  }
26066
26830
 
26067
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
26831
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
26068
26832
  var import_typescript29 = __toESM(require("typescript"), 1);
26069
26833
  function resolveEnumValue(evaluator, metadata, field, enumSymbolName) {
26070
26834
  let resolved = null;
@@ -26097,7 +26861,7 @@ function resolveLiteral(decorator, literalCache) {
26097
26861
  return meta;
26098
26862
  }
26099
26863
 
26100
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
26864
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
26101
26865
  function compileNgFactoryDefField(metadata) {
26102
26866
  const res = compileFactoryFunction(metadata);
26103
26867
  return { name: "\u0275fac", initializer: res.expression, statements: res.statements, type: res.type };
@@ -26107,7 +26871,7 @@ function compileDeclareFactory(metadata) {
26107
26871
  return { name: "\u0275fac", initializer: res.expression, statements: res.statements, type: res.type };
26108
26872
  }
26109
26873
 
26110
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
26874
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
26111
26875
  var InjectableClassRegistry = class {
26112
26876
  constructor(host, isCore) {
26113
26877
  this.host = host;
@@ -26133,7 +26897,7 @@ var InjectableClassRegistry = class {
26133
26897
  }
26134
26898
  };
26135
26899
 
26136
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
26900
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
26137
26901
  var import_typescript30 = __toESM(require("typescript"), 1);
26138
26902
  function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
26139
26903
  if (!reflection.isClass(clazz)) {
@@ -26219,13 +26983,13 @@ function removeIdentifierReferences(node, name) {
26219
26983
  return result.transformed[0];
26220
26984
  }
26221
26985
 
26222
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
26986
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
26223
26987
  var NoopReferencesRegistry = class {
26224
26988
  add(source, ...references) {
26225
26989
  }
26226
26990
  };
26227
26991
 
26228
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
26992
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
26229
26993
  function extractSchemas(rawExpr, evaluator, context) {
26230
26994
  const schemas = [];
26231
26995
  const result = evaluator.evaluate(rawExpr);
@@ -26254,7 +27018,7 @@ function extractSchemas(rawExpr, evaluator, context) {
26254
27018
  return schemas;
26255
27019
  }
26256
27020
 
26257
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/input_transforms.mjs
27021
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/input_transforms.mjs
26258
27022
  function compileInputTransformFields(inputs) {
26259
27023
  const extraFields = [];
26260
27024
  for (const input of inputs) {
@@ -26270,10 +27034,10 @@ function compileInputTransformFields(inputs) {
26270
27034
  return extraFields;
26271
27035
  }
26272
27036
 
26273
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
27037
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
26274
27038
  var import_typescript51 = __toESM(require("typescript"), 1);
26275
27039
 
26276
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
27040
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
26277
27041
  var import_typescript31 = __toESM(require("typescript"), 1);
26278
27042
  var SemanticSymbol = class {
26279
27043
  constructor(decl) {
@@ -26289,7 +27053,7 @@ function getSymbolIdentifier(decl) {
26289
27053
  return decl.name.text;
26290
27054
  }
26291
27055
 
26292
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
27056
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
26293
27057
  var OpaqueSymbol = class extends SemanticSymbol {
26294
27058
  isPublicApiAffected() {
26295
27059
  return false;
@@ -26431,10 +27195,10 @@ function getImportPath(expr) {
26431
27195
  }
26432
27196
  }
26433
27197
 
26434
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
27198
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
26435
27199
  var import_typescript32 = __toESM(require("typescript"), 1);
26436
27200
 
26437
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
27201
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
26438
27202
  function isSymbolEqual(a, b) {
26439
27203
  if (a.decl === b.decl) {
26440
27204
  return true;
@@ -26484,7 +27248,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
26484
27248
  return true;
26485
27249
  }
26486
27250
 
26487
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
27251
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
26488
27252
  function extractSemanticTypeParameters(node) {
26489
27253
  if (!import_typescript32.default.isClassDeclaration(node) || node.typeParameters === void 0) {
26490
27254
  return null;
@@ -26504,7 +27268,7 @@ function isTypeParameterEqual(a, b) {
26504
27268
  return a.hasGenericTypeBound === b.hasGenericTypeBound;
26505
27269
  }
26506
27270
 
26507
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
27271
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
26508
27272
  var PerfPhase;
26509
27273
  (function(PerfPhase2) {
26510
27274
  PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
@@ -26571,7 +27335,7 @@ var PerfCheckpoint;
26571
27335
  PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
26572
27336
  })(PerfCheckpoint || (PerfCheckpoint = {}));
26573
27337
 
26574
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
27338
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
26575
27339
  var NoopPerfRecorder = class {
26576
27340
  eventCount() {
26577
27341
  }
@@ -26588,7 +27352,7 @@ var NoopPerfRecorder = class {
26588
27352
  };
26589
27353
  var NOOP_PERF_RECORDER = new NoopPerfRecorder();
26590
27354
 
26591
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
27355
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
26592
27356
  function mark() {
26593
27357
  return process.hrtime();
26594
27358
  }
@@ -26597,7 +27361,7 @@ function timeSinceInMicros(mark2) {
26597
27361
  return delta[0] * 1e6 + Math.floor(delta[1] / 1e3);
26598
27362
  }
26599
27363
 
26600
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
27364
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
26601
27365
  var ActivePerfRecorder = class {
26602
27366
  static zeroedToNow() {
26603
27367
  return new ActivePerfRecorder(mark());
@@ -26691,14 +27455,14 @@ var DelegatingPerfRecorder = class {
26691
27455
  }
26692
27456
  };
26693
27457
 
26694
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
27458
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
26695
27459
  var ComponentScopeKind;
26696
27460
  (function(ComponentScopeKind2) {
26697
27461
  ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
26698
27462
  ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
26699
27463
  })(ComponentScopeKind || (ComponentScopeKind = {}));
26700
27464
 
26701
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
27465
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
26702
27466
  var CompoundComponentScopeReader = class {
26703
27467
  constructor(readers) {
26704
27468
  this.readers = readers;
@@ -26723,7 +27487,7 @@ var CompoundComponentScopeReader = class {
26723
27487
  }
26724
27488
  };
26725
27489
 
26726
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
27490
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
26727
27491
  var MetadataDtsModuleScopeResolver = class {
26728
27492
  constructor(dtsMetaReader, aliasingHost) {
26729
27493
  this.dtsMetaReader = dtsMetaReader;
@@ -26798,10 +27562,10 @@ var MetadataDtsModuleScopeResolver = class {
26798
27562
  }
26799
27563
  };
26800
27564
 
26801
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
27565
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
26802
27566
  var import_typescript33 = __toESM(require("typescript"), 1);
26803
27567
 
26804
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
27568
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
26805
27569
  function getDiagnosticNode(ref, rawExpr) {
26806
27570
  return rawExpr !== null ? ref.getOriginForDiagnostics(rawExpr) : ref.node.name;
26807
27571
  }
@@ -26824,7 +27588,7 @@ function makeUnknownComponentImportDiagnostic(ref, rawExpr) {
26824
27588
  return makeDiagnostic(ErrorCode.COMPONENT_UNKNOWN_IMPORT, getDiagnosticNode(ref, rawExpr), `Component imports must be standalone components, directives, pipes, or must be NgModules.`);
26825
27589
  }
26826
27590
 
26827
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
27591
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
26828
27592
  var LocalModuleScopeRegistry = class {
26829
27593
  constructor(localReader, fullReader, dependencyScopeReader, refEmitter, aliasingHost) {
26830
27594
  this.localReader = localReader;
@@ -27163,7 +27927,7 @@ function reexportCollision(module3, refA, refB) {
27163
27927
  ]);
27164
27928
  }
27165
27929
 
27166
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
27930
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
27167
27931
  var import_typescript35 = __toESM(require("typescript"), 1);
27168
27932
  var TypeCheckScopeRegistry = class {
27169
27933
  constructor(scopeReader, metaReader, hostDirectivesResolver) {
@@ -27231,7 +27995,7 @@ var TypeCheckScopeRegistry = class {
27231
27995
  }
27232
27996
  };
27233
27997
 
27234
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
27998
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
27235
27999
  var CompilationMode;
27236
28000
  (function(CompilationMode2) {
27237
28001
  CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
@@ -27245,7 +28009,7 @@ var HandlerPrecedence;
27245
28009
  HandlerPrecedence2[HandlerPrecedence2["WEAK"] = 2] = "WEAK";
27246
28010
  })(HandlerPrecedence || (HandlerPrecedence = {}));
27247
28011
 
27248
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
28012
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
27249
28013
  var import_typescript36 = __toESM(require("typescript"), 1);
27250
28014
  function aliasTransformFactory(exportStatements) {
27251
28015
  return () => {
@@ -27268,10 +28032,10 @@ function aliasTransformFactory(exportStatements) {
27268
28032
  };
27269
28033
  }
27270
28034
 
27271
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
28035
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
27272
28036
  var import_typescript37 = __toESM(require("typescript"), 1);
27273
28037
 
27274
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
28038
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
27275
28039
  var TraitState;
27276
28040
  (function(TraitState2) {
27277
28041
  TraitState2[TraitState2["Pending"] = 0] = "Pending";
@@ -27328,7 +28092,7 @@ var TraitImpl = class {
27328
28092
  }
27329
28093
  };
27330
28094
 
27331
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
28095
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
27332
28096
  var TraitCompiler = class {
27333
28097
  constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater, sourceFileTypeIdentifier) {
27334
28098
  this.handlers = handlers;
@@ -27776,10 +28540,10 @@ function containsErrors(diagnostics) {
27776
28540
  return diagnostics !== null && diagnostics.some((diag) => diag.category === import_typescript37.default.DiagnosticCategory.Error);
27777
28541
  }
27778
28542
 
27779
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
28543
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
27780
28544
  var import_typescript43 = __toESM(require("typescript"), 1);
27781
28545
 
27782
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
28546
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
27783
28547
  var Context = class {
27784
28548
  constructor(isStatement) {
27785
28549
  this.isStatement = isStatement;
@@ -27792,7 +28556,7 @@ var Context = class {
27792
28556
  }
27793
28557
  };
27794
28558
 
27795
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
28559
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
27796
28560
  var import_typescript39 = __toESM(require("typescript"), 1);
27797
28561
  var ImportManager = class {
27798
28562
  constructor(rewriter = new NoopImportRewriter(), prefix = "i") {
@@ -27828,7 +28592,7 @@ var ImportManager = class {
27828
28592
  }
27829
28593
  };
27830
28594
 
27831
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
28595
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
27832
28596
  var UNARY_OPERATORS2 = /* @__PURE__ */ new Map([
27833
28597
  [UnaryOperator.Minus, "-"],
27834
28598
  [UnaryOperator.Plus, "+"]
@@ -27978,6 +28742,9 @@ var ExpressionTranslatorVisitor = class {
27978
28742
  }
27979
28743
  return this.factory.createConditional(cond, ast.trueCase.visitExpression(this, context), ast.falseCase.visitExpression(this, context));
27980
28744
  }
28745
+ visitDynamicImportExpr(ast, context) {
28746
+ return this.factory.createDynamicImport(ast.url);
28747
+ }
27981
28748
  visitNotExpr(ast, context) {
27982
28749
  return this.factory.createUnaryExpression("!", ast.condition.visitExpression(this, context));
27983
28750
  }
@@ -28059,7 +28826,7 @@ function createRange(span) {
28059
28826
  };
28060
28827
  }
28061
28828
 
28062
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
28829
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
28063
28830
  var import_typescript40 = __toESM(require("typescript"), 1);
28064
28831
  function translateType(type, contextFile, reflector, refEmitter, imports) {
28065
28832
  return type.visitType(new TypeTranslatorVisitor(imports, contextFile, reflector, refEmitter), new Context(false));
@@ -28169,6 +28936,9 @@ var TypeTranslatorVisitor = class {
28169
28936
  visitConditionalExpr(ast, context) {
28170
28937
  throw new Error("Method not implemented.");
28171
28938
  }
28939
+ visitDynamicImportExpr(ast, context) {
28940
+ throw new Error("Method not implemented.");
28941
+ }
28172
28942
  visitNotExpr(ast, context) {
28173
28943
  throw new Error("Method not implemented.");
28174
28944
  }
@@ -28275,7 +29045,7 @@ var TypeTranslatorVisitor = class {
28275
29045
  }
28276
29046
  };
28277
29047
 
28278
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
29048
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
28279
29049
  var import_typescript41 = __toESM(require("typescript"), 1);
28280
29050
  var PureAnnotation;
28281
29051
  (function(PureAnnotation2) {
@@ -28349,6 +29119,13 @@ var TypeScriptAstFactory = class {
28349
29119
  createConditional(condition, whenTrue, whenFalse) {
28350
29120
  return import_typescript41.default.factory.createConditionalExpression(condition, void 0, whenTrue, void 0, whenFalse);
28351
29121
  }
29122
+ createDynamicImport(url) {
29123
+ return import_typescript41.default.factory.createCallExpression(
29124
+ import_typescript41.default.factory.createToken(import_typescript41.default.SyntaxKind.ImportKeyword),
29125
+ void 0,
29126
+ [import_typescript41.default.factory.createStringLiteral(url)]
29127
+ );
29128
+ }
28352
29129
  createFunctionDeclaration(functionName, parameters, body) {
28353
29130
  if (!import_typescript41.default.isBlock(body)) {
28354
29131
  throw new Error(`Invalid syntax, expected a block, but got ${import_typescript41.default.SyntaxKind[body.kind]}.`);
@@ -28458,7 +29235,7 @@ function attachComments(statement, leadingComments) {
28458
29235
  }
28459
29236
  }
28460
29237
 
28461
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
29238
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
28462
29239
  function translateExpression(expression, imports, options = {}) {
28463
29240
  return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(false));
28464
29241
  }
@@ -28466,7 +29243,7 @@ function translateStatement(statement, imports, options = {}) {
28466
29243
  return statement.visitStatement(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(true));
28467
29244
  }
28468
29245
 
28469
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
29246
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
28470
29247
  var import_typescript42 = __toESM(require("typescript"), 1);
28471
29248
  function addImports(importManager, sf, extraStatements = []) {
28472
29249
  const addedImports = importManager.getAllImports(sf.fileName).map((i) => {
@@ -28502,7 +29279,7 @@ function isImportStatement(stmt) {
28502
29279
  return import_typescript42.default.isImportDeclaration(stmt) || import_typescript42.default.isImportEqualsDeclaration(stmt) || import_typescript42.default.isNamespaceImport(stmt);
28503
29280
  }
28504
29281
 
28505
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
29282
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
28506
29283
  var DtsTransformRegistry = class {
28507
29284
  constructor() {
28508
29285
  this.ivyDeclarationTransforms = /* @__PURE__ */ new Map();
@@ -28649,10 +29426,10 @@ function markForEmitAsSingleLine(node) {
28649
29426
  import_typescript43.default.forEachChild(node, markForEmitAsSingleLine);
28650
29427
  }
28651
29428
 
28652
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
29429
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
28653
29430
  var import_typescript45 = __toESM(require("typescript"), 1);
28654
29431
 
28655
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
29432
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
28656
29433
  var import_typescript44 = __toESM(require("typescript"), 1);
28657
29434
  function visit(node, visitor, context) {
28658
29435
  return visitor._visit(node, context);
@@ -28713,7 +29490,7 @@ var Visitor = class {
28713
29490
  }
28714
29491
  };
28715
29492
 
28716
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
29493
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
28717
29494
  var NO_DECORATORS = /* @__PURE__ */ new Set();
28718
29495
  var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
28719
29496
  function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, perf, isCore, isClosureCompilerEnabled) {
@@ -28924,7 +29701,7 @@ function nodeArrayFromDecoratorsArray(decorators) {
28924
29701
  return array;
28925
29702
  }
28926
29703
 
28927
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
29704
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
28928
29705
  var import_typescript46 = __toESM(require("typescript"), 1);
28929
29706
  var EMPTY_OBJECT = {};
28930
29707
  var QUERY_TYPES = /* @__PURE__ */ new Set([
@@ -29487,7 +30264,7 @@ function toR3InputMetadata(mapping) {
29487
30264
  };
29488
30265
  }
29489
30266
 
29490
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
30267
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
29491
30268
  var DirectiveSymbol = class extends SemanticSymbol {
29492
30269
  constructor(decl, selector, inputs, outputs, exportAs, typeCheckMeta, typeParameters) {
29493
30270
  super(decl);
@@ -29567,7 +30344,7 @@ function isBaseClassEqual(current, previous) {
29567
30344
  return isSymbolEqual(current, previous);
29568
30345
  }
29569
30346
 
29570
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
30347
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
29571
30348
  var FIELD_DECORATORS = [
29572
30349
  "Input",
29573
30350
  "Output",
@@ -29738,10 +30515,10 @@ var DirectiveDecoratorHandler = class {
29738
30515
  }
29739
30516
  };
29740
30517
 
29741
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
30518
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
29742
30519
  var import_typescript48 = __toESM(require("typescript"), 1);
29743
30520
 
29744
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
30521
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
29745
30522
  var import_typescript47 = __toESM(require("typescript"), 1);
29746
30523
  function createModuleWithProvidersResolver(reflector, isCore) {
29747
30524
  function _reflectModuleFromTypeParam(type, node) {
@@ -29808,7 +30585,7 @@ function isResolvedModuleWithProviders(sv) {
29808
30585
  return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
29809
30586
  }
29810
30587
 
29811
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
30588
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
29812
30589
  var NgModuleSymbol = class extends SemanticSymbol {
29813
30590
  constructor(decl, hasProviders) {
29814
30591
  super(decl);
@@ -30358,7 +31135,7 @@ function isSyntheticReference(ref) {
30358
31135
  return ref.synthetic;
30359
31136
  }
30360
31137
 
30361
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
31138
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
30362
31139
  function makeCyclicImportInfo(ref, type, cycle) {
30363
31140
  const name = ref.debugName || "(unknown)";
30364
31141
  const path3 = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
@@ -30381,7 +31158,7 @@ function checkCustomElementSelectorForErrors(selector) {
30381
31158
  return null;
30382
31159
  }
30383
31160
 
30384
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
31161
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
30385
31162
  var import_typescript50 = __toESM(require("typescript"), 1);
30386
31163
  function getTemplateDeclarationNodeForError(declaration) {
30387
31164
  return declaration.isInline ? declaration.expression : declaration.templateUrlExpression;
@@ -30458,7 +31235,8 @@ function parseExtractedTemplate(template2, sourceStr, sourceParseRange, escapedS
30458
31235
  escapedString,
30459
31236
  enableI18nLegacyMessageIdFormat: options.enableI18nLegacyMessageIdFormat,
30460
31237
  i18nNormalizeLineEndingsInICUs,
30461
- alwaysAttemptHtmlToR3AstConversion: options.usePoisonedData
31238
+ alwaysAttemptHtmlToR3AstConversion: options.usePoisonedData,
31239
+ enabledBlockTypes: options.enabledBlockTypes
30462
31240
  });
30463
31241
  const { nodes: diagNodes } = parseTemplate(sourceStr, sourceMapUrl != null ? sourceMapUrl : "", {
30464
31242
  preserveWhitespaces: true,
@@ -30691,7 +31469,7 @@ function _extractTemplateStyleUrls(template2) {
30691
31469
  return template2.styleUrls.map((url) => ({ url, source: 1, nodeForError }));
30692
31470
  }
30693
31471
 
30694
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
31472
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
30695
31473
  var ComponentSymbol = class extends DirectiveSymbol {
30696
31474
  constructor() {
30697
31475
  super(...arguments);
@@ -30726,7 +31504,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
30726
31504
  }
30727
31505
  };
30728
31506
 
30729
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
31507
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
30730
31508
  function collectAnimationNames(value, animationTriggerNames) {
30731
31509
  if (value instanceof Map) {
30732
31510
  const name = value.get("name");
@@ -30802,10 +31580,10 @@ function isLikelyModuleWithProviders(value) {
30802
31580
  return false;
30803
31581
  }
30804
31582
 
30805
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
31583
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
30806
31584
  var EMPTY_ARRAY2 = [];
30807
31585
  var ComponentDecoratorHandler = class {
30808
- constructor(reflector, evaluator, metaRegistry, metaReader, scopeReader, dtsScopeReader, scopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, resourceLoader, rootDirs, defaultPreserveWhitespaces, i18nUseExternalIds, enableI18nLegacyMessageIdFormat, usePoisonedData, i18nNormalizeLineEndingsInICUs, moduleResolver, cycleAnalyzer, cycleHandlingStrategy, refEmitter, referencesRegistry, depTracker, injectableRegistry, semanticDepGraphUpdater, annotateForClosureCompiler, perf, hostDirectivesResolver, includeClassMetadata, compilationMode) {
31586
+ constructor(reflector, evaluator, metaRegistry, metaReader, scopeReader, dtsScopeReader, scopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, resourceLoader, rootDirs, defaultPreserveWhitespaces, i18nUseExternalIds, enableI18nLegacyMessageIdFormat, usePoisonedData, i18nNormalizeLineEndingsInICUs, enabledBlockTypes, moduleResolver, cycleAnalyzer, cycleHandlingStrategy, refEmitter, referencesRegistry, depTracker, injectableRegistry, semanticDepGraphUpdater, annotateForClosureCompiler, perf, hostDirectivesResolver, includeClassMetadata, compilationMode) {
30809
31587
  this.reflector = reflector;
30810
31588
  this.evaluator = evaluator;
30811
31589
  this.metaRegistry = metaRegistry;
@@ -30824,6 +31602,7 @@ var ComponentDecoratorHandler = class {
30824
31602
  this.enableI18nLegacyMessageIdFormat = enableI18nLegacyMessageIdFormat;
30825
31603
  this.usePoisonedData = usePoisonedData;
30826
31604
  this.i18nNormalizeLineEndingsInICUs = i18nNormalizeLineEndingsInICUs;
31605
+ this.enabledBlockTypes = enabledBlockTypes;
30827
31606
  this.moduleResolver = moduleResolver;
30828
31607
  this.cycleAnalyzer = cycleAnalyzer;
30829
31608
  this.cycleHandlingStrategy = cycleHandlingStrategy;
@@ -30846,7 +31625,8 @@ var ComponentDecoratorHandler = class {
30846
31625
  this.extractTemplateOptions = {
30847
31626
  enableI18nLegacyMessageIdFormat: this.enableI18nLegacyMessageIdFormat,
30848
31627
  i18nNormalizeLineEndingsInICUs: this.i18nNormalizeLineEndingsInICUs,
30849
- usePoisonedData: this.usePoisonedData
31628
+ usePoisonedData: this.usePoisonedData,
31629
+ enabledBlockTypes: this.enabledBlockTypes
30850
31630
  };
30851
31631
  }
30852
31632
  detect(node, decorators) {
@@ -30994,7 +31774,8 @@ var ComponentDecoratorHandler = class {
30994
31774
  template2 = extractTemplate(node, templateDecl, this.evaluator, this.depTracker, this.resourceLoader, {
30995
31775
  enableI18nLegacyMessageIdFormat: this.enableI18nLegacyMessageIdFormat,
30996
31776
  i18nNormalizeLineEndingsInICUs: this.i18nNormalizeLineEndingsInICUs,
30997
- usePoisonedData: this.usePoisonedData
31777
+ usePoisonedData: this.usePoisonedData,
31778
+ enabledBlockTypes: this.enabledBlockTypes
30998
31779
  });
30999
31780
  }
31000
31781
  const templateResource = template2.declaration.isInline ? { path: null, expression: component.get("template") } : {
@@ -31469,7 +32250,7 @@ function validateStandaloneImports(importRefs, importExpr2, metaReader, scopeRea
31469
32250
  return diagnostics;
31470
32251
  }
31471
32252
 
31472
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
32253
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
31473
32254
  var import_typescript53 = __toESM(require("typescript"), 1);
31474
32255
  var InjectableDecoratorHandler = class {
31475
32256
  constructor(reflector, evaluator, isCore, strictCtorDeps, injectableRegistry, perf, includeClassMetadata, errorOnDuplicateProv = true) {
@@ -31687,7 +32468,7 @@ function getDep(dep, reflector) {
31687
32468
  return meta;
31688
32469
  }
31689
32470
 
31690
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
32471
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
31691
32472
  var import_typescript54 = __toESM(require("typescript"), 1);
31692
32473
  var PipeSymbol = class extends SemanticSymbol {
31693
32474
  constructor(decl, name) {
@@ -31837,7 +32618,7 @@ var PipeDecoratorHandler = class {
31837
32618
  }
31838
32619
  };
31839
32620
 
31840
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
32621
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
31841
32622
  var CycleAnalyzer = class {
31842
32623
  constructor(importGraph) {
31843
32624
  this.importGraph = importGraph;
@@ -31908,7 +32689,7 @@ var Cycle = class {
31908
32689
  }
31909
32690
  };
31910
32691
 
31911
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
32692
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
31912
32693
  var import_typescript55 = __toESM(require("typescript"), 1);
31913
32694
  var ImportGraph = class {
31914
32695
  constructor(checker, perf) {
@@ -32000,7 +32781,7 @@ var Found = class {
32000
32781
  }
32001
32782
  };
32002
32783
 
32003
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
32784
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
32004
32785
  var import_typescript56 = __toESM(require("typescript"), 1);
32005
32786
  var FlatIndexGenerator = class {
32006
32787
  constructor(entryPoint, relativeFlatIndexPath, moduleName) {
@@ -32025,7 +32806,7 @@ export * from '${relativeEntryPoint}';
32025
32806
  }
32026
32807
  };
32027
32808
 
32028
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
32809
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
32029
32810
  function findFlatIndexEntryPoint(rootFiles) {
32030
32811
  const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
32031
32812
  let resolvedEntryPoint = null;
@@ -32041,7 +32822,7 @@ function findFlatIndexEntryPoint(rootFiles) {
32041
32822
  return resolvedEntryPoint;
32042
32823
  }
32043
32824
 
32044
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
32825
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
32045
32826
  var import_typescript58 = __toESM(require("typescript"), 1);
32046
32827
  function checkForPrivateExports(entryPoint, checker, refGraph) {
32047
32828
  const diagnostics = [];
@@ -32121,7 +32902,7 @@ function getDescriptorOfDeclaration(decl) {
32121
32902
  }
32122
32903
  }
32123
32904
 
32124
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
32905
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
32125
32906
  var ReferenceGraph = class {
32126
32907
  constructor() {
32127
32908
  this.references = /* @__PURE__ */ new Map();
@@ -32175,7 +32956,7 @@ var ReferenceGraph = class {
32175
32956
  }
32176
32957
  };
32177
32958
 
32178
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
32959
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
32179
32960
  var NgOriginalFile = Symbol("NgOriginalFile");
32180
32961
  var UpdateMode;
32181
32962
  (function(UpdateMode2) {
@@ -32183,13 +32964,13 @@ var UpdateMode;
32183
32964
  UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
32184
32965
  })(UpdateMode || (UpdateMode = {}));
32185
32966
 
32186
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
32967
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
32187
32968
  var import_typescript62 = __toESM(require("typescript"), 1);
32188
32969
 
32189
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
32970
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
32190
32971
  var import_typescript59 = __toESM(require("typescript"), 1);
32191
32972
 
32192
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
32973
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
32193
32974
  var NgExtension = Symbol("NgExtension");
32194
32975
  function isExtended(sf) {
32195
32976
  return sf[NgExtension] !== void 0;
@@ -32249,13 +33030,13 @@ function retagTsFile(sf) {
32249
33030
  }
32250
33031
  }
32251
33032
 
32252
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
33033
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
32253
33034
  var TS_EXTENSIONS = /\.tsx?$/i;
32254
33035
  function makeShimFileName(fileName, suffix) {
32255
33036
  return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
32256
33037
  }
32257
33038
 
32258
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
33039
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
32259
33040
  var ShimAdapter = class {
32260
33041
  constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
32261
33042
  this.delegate = delegate;
@@ -32350,7 +33131,7 @@ var ShimAdapter = class {
32350
33131
  }
32351
33132
  };
32352
33133
 
32353
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
33134
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
32354
33135
  var ShimReferenceTagger = class {
32355
33136
  constructor(shimExtensions) {
32356
33137
  this.tagged = /* @__PURE__ */ new Set();
@@ -32384,7 +33165,7 @@ var ShimReferenceTagger = class {
32384
33165
  }
32385
33166
  };
32386
33167
 
32387
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
33168
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
32388
33169
  var DelegatingCompilerHost = class {
32389
33170
  constructor(delegate) {
32390
33171
  this.delegate = delegate;
@@ -32497,7 +33278,7 @@ var TsCreateProgramDriver = class {
32497
33278
  }
32498
33279
  };
32499
33280
 
32500
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
33281
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
32501
33282
  var FileDependencyGraph = class {
32502
33283
  constructor() {
32503
33284
  this.nodes = /* @__PURE__ */ new Map();
@@ -32564,7 +33345,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
32564
33345
  return false;
32565
33346
  }
32566
33347
 
32567
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
33348
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
32568
33349
  var IncrementalStateKind;
32569
33350
  (function(IncrementalStateKind2) {
32570
33351
  IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
@@ -32572,7 +33353,7 @@ var IncrementalStateKind;
32572
33353
  IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
32573
33354
  })(IncrementalStateKind || (IncrementalStateKind = {}));
32574
33355
 
32575
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
33356
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
32576
33357
  var PhaseKind;
32577
33358
  (function(PhaseKind2) {
32578
33359
  PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
@@ -32773,7 +33554,7 @@ function toOriginalSourceFile(sf) {
32773
33554
  }
32774
33555
  }
32775
33556
 
32776
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
33557
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
32777
33558
  var TrackedIncrementalBuildStrategy = class {
32778
33559
  constructor() {
32779
33560
  this.state = null;
@@ -32794,7 +33575,7 @@ var TrackedIncrementalBuildStrategy = class {
32794
33575
  };
32795
33576
  var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
32796
33577
 
32797
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
33578
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
32798
33579
  var IdentifierKind;
32799
33580
  (function(IdentifierKind2) {
32800
33581
  IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
@@ -32812,7 +33593,7 @@ var AbsoluteSourceSpan2 = class {
32812
33593
  }
32813
33594
  };
32814
33595
 
32815
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
33596
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
32816
33597
  var IndexingContext = class {
32817
33598
  constructor() {
32818
33599
  this.components = /* @__PURE__ */ new Set();
@@ -32822,7 +33603,7 @@ var IndexingContext = class {
32822
33603
  }
32823
33604
  };
32824
33605
 
32825
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
33606
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
32826
33607
  var ExpressionVisitor = class extends RecursiveAstVisitor2 {
32827
33608
  constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
32828
33609
  super();
@@ -32939,6 +33720,22 @@ var TemplateVisitor = class extends RecursiveVisitor {
32939
33720
  }
32940
33721
  this.identifiers.add(variableIdentifier);
32941
33722
  }
33723
+ visitDeferredBlock(deferred) {
33724
+ var _a2, _b2, _c2;
33725
+ this.visitAll(deferred.children);
33726
+ (_a2 = deferred.placeholder) == null ? void 0 : _a2.visit(this);
33727
+ (_b2 = deferred.loading) == null ? void 0 : _b2.visit(this);
33728
+ (_c2 = deferred.error) == null ? void 0 : _c2.visit(this);
33729
+ }
33730
+ visitDeferredBlockPlaceholder(block) {
33731
+ this.visitAll(block.children);
33732
+ }
33733
+ visitDeferredBlockError(block) {
33734
+ this.visitAll(block.children);
33735
+ }
33736
+ visitDeferredBlockLoading(block) {
33737
+ this.visitAll(block.children);
33738
+ }
32942
33739
  elementOrTemplateToIdentifier(node) {
32943
33740
  var _a2;
32944
33741
  if (this.elementAndTemplateIdentifierCache.has(node)) {
@@ -33058,7 +33855,7 @@ function getTemplateIdentifiers(boundTemplate) {
33058
33855
  return { identifiers: visitor.identifiers, errors: visitor.errors };
33059
33856
  }
33060
33857
 
33061
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
33858
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
33062
33859
  function generateAnalysis(context) {
33063
33860
  const analysis = /* @__PURE__ */ new Map();
33064
33861
  context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
@@ -33094,7 +33891,7 @@ function generateAnalysis(context) {
33094
33891
  return analysis;
33095
33892
  }
33096
33893
 
33097
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
33894
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
33098
33895
  var NgModuleIndexImpl = class {
33099
33896
  constructor(metaReader, localReader) {
33100
33897
  this.metaReader = metaReader;
@@ -33183,7 +33980,7 @@ var NgModuleIndexImpl = class {
33183
33980
  }
33184
33981
  };
33185
33982
 
33186
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
33983
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
33187
33984
  var import_typescript65 = __toESM(require("typescript"), 1);
33188
33985
  var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
33189
33986
  var RESOURCE_MARKER = ".$ngresource$";
@@ -33331,7 +34128,7 @@ function createLookupResolutionHost(adapter) {
33331
34128
  };
33332
34129
  }
33333
34130
 
33334
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
34131
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
33335
34132
  var StandaloneComponentScopeReader = class {
33336
34133
  constructor(metaReader, localModuleReader, dtsModuleReader) {
33337
34134
  this.metaReader = metaReader;
@@ -33409,21 +34206,21 @@ var StandaloneComponentScopeReader = class {
33409
34206
  }
33410
34207
  };
33411
34208
 
33412
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
34209
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
33413
34210
  var OptimizeFor;
33414
34211
  (function(OptimizeFor2) {
33415
34212
  OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
33416
34213
  OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
33417
34214
  })(OptimizeFor || (OptimizeFor = {}));
33418
34215
 
33419
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
34216
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
33420
34217
  var CompletionKind;
33421
34218
  (function(CompletionKind2) {
33422
34219
  CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
33423
34220
  CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
33424
34221
  })(CompletionKind || (CompletionKind = {}));
33425
34222
 
33426
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
34223
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
33427
34224
  var PotentialImportKind;
33428
34225
  (function(PotentialImportKind2) {
33429
34226
  PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
@@ -33435,7 +34232,7 @@ var PotentialImportMode;
33435
34232
  PotentialImportMode2[PotentialImportMode2["ForceDirect"] = 1] = "ForceDirect";
33436
34233
  })(PotentialImportMode || (PotentialImportMode = {}));
33437
34234
 
33438
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
34235
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
33439
34236
  var SymbolKind;
33440
34237
  (function(SymbolKind2) {
33441
34238
  SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
@@ -33451,7 +34248,7 @@ var SymbolKind;
33451
34248
  SymbolKind2[SymbolKind2["Pipe"] = 10] = "Pipe";
33452
34249
  })(SymbolKind || (SymbolKind = {}));
33453
34250
 
33454
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
34251
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
33455
34252
  var import_typescript66 = __toESM(require("typescript"), 1);
33456
34253
  function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
33457
34254
  var _a2;
@@ -33558,7 +34355,7 @@ function parseTemplateAsSourceFile(fileName, template2) {
33558
34355
  return import_typescript66.default.createSourceFile(fileName, template2, import_typescript66.default.ScriptTarget.Latest, false, import_typescript66.default.ScriptKind.JSX);
33559
34356
  }
33560
34357
 
33561
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
34358
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
33562
34359
  var TEMPLATE_ID = Symbol("ngTemplateId");
33563
34360
  var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
33564
34361
  function getTemplateId(clazz) {
@@ -33575,10 +34372,10 @@ function allocateTemplateId(sf) {
33575
34372
  return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
33576
34373
  }
33577
34374
 
33578
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
34375
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
33579
34376
  var import_typescript68 = __toESM(require("typescript"), 1);
33580
34377
 
33581
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
34378
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
33582
34379
  var import_typescript67 = __toESM(require("typescript"), 1);
33583
34380
  var parseSpanComment = /^(\d+),(\d+)$/;
33584
34381
  function readSpanComment(node, sourceFile = node.getSourceFile()) {
@@ -33707,7 +34504,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
33707
34504
  }) || false;
33708
34505
  }
33709
34506
 
33710
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
34507
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
33711
34508
  var CompletionEngine = class {
33712
34509
  constructor(tcb, data, tcbPath, tcbIsShim) {
33713
34510
  this.tcb = tcb;
@@ -33864,10 +34661,10 @@ var CompletionEngine = class {
33864
34661
  }
33865
34662
  };
33866
34663
 
33867
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
34664
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
33868
34665
  var import_typescript83 = __toESM(require("typescript"), 1);
33869
34666
 
33870
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
34667
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
33871
34668
  var import_typescript69 = __toESM(require("typescript"), 1);
33872
34669
  var REGISTRY = new DomElementSchemaRegistry();
33873
34670
  var REMOVE_XHTML_REGEX = /^:xhtml:/;
@@ -33919,10 +34716,10 @@ var RegistryDomSchemaChecker = class {
33919
34716
  }
33920
34717
  };
33921
34718
 
33922
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
34719
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
33923
34720
  var import_typescript76 = __toESM(require("typescript"), 1);
33924
34721
 
33925
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
34722
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
33926
34723
  var import_typescript70 = __toESM(require("typescript"), 1);
33927
34724
  var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
33928
34725
  import_typescript70.default.SyntaxKind.ParenthesizedExpression,
@@ -33996,16 +34793,16 @@ function isAccessExpression2(node) {
33996
34793
  return import_typescript70.default.isPropertyAccessExpression(node) || import_typescript70.default.isElementAccessExpression(node);
33997
34794
  }
33998
34795
 
33999
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
34796
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
34000
34797
  var import_typescript75 = __toESM(require("typescript"), 1);
34001
34798
 
34002
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
34799
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
34003
34800
  var import_typescript73 = __toESM(require("typescript"), 1);
34004
34801
 
34005
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
34802
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
34006
34803
  var import_typescript72 = __toESM(require("typescript"), 1);
34007
34804
 
34008
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
34805
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
34009
34806
  var import_typescript71 = __toESM(require("typescript"), 1);
34010
34807
  var INELIGIBLE = {};
34011
34808
  function canEmitType(type, canEmit) {
@@ -34080,7 +34877,7 @@ var TypeEmitter = class {
34080
34877
  }
34081
34878
  };
34082
34879
 
34083
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
34880
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
34084
34881
  var TypeParameterEmitter = class {
34085
34882
  constructor(typeParameters, reflector) {
34086
34883
  this.typeParameters = typeParameters;
@@ -34157,7 +34954,7 @@ var TypeParameterEmitter = class {
34157
34954
  }
34158
34955
  };
34159
34956
 
34160
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
34957
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
34161
34958
  var TcbInliningRequirement;
34162
34959
  (function(TcbInliningRequirement2) {
34163
34960
  TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
@@ -34237,7 +35034,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
34237
35034
  return emitter.canEmit((ref) => env.canReferenceType(ref));
34238
35035
  }
34239
35036
 
34240
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
35037
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
34241
35038
  function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams) {
34242
35039
  const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
34243
35040
  const rawType = import_typescript75.default.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
@@ -34348,7 +35145,7 @@ function typeParametersWithDefaultTypes(params) {
34348
35145
  });
34349
35146
  }
34350
35147
 
34351
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
35148
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
34352
35149
  var Environment = class {
34353
35150
  constructor(config, importManager, refEmitter, reflector, contextFile) {
34354
35151
  this.config = config;
@@ -34442,7 +35239,7 @@ var Environment = class {
34442
35239
  }
34443
35240
  };
34444
35241
 
34445
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
35242
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
34446
35243
  var import_typescript77 = __toESM(require("typescript"), 1);
34447
35244
  var OutOfBandDiagnosticRecorderImpl = class {
34448
35245
  constructor(resolver) {
@@ -34577,7 +35374,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
34577
35374
  });
34578
35375
  }
34579
35376
 
34580
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
35377
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
34581
35378
  var import_typescript78 = __toESM(require("typescript"), 1);
34582
35379
  var TypeCheckShimGenerator = class {
34583
35380
  constructor() {
@@ -34595,10 +35392,10 @@ var TypeCheckShimGenerator = class {
34595
35392
  }
34596
35393
  };
34597
35394
 
34598
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
35395
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
34599
35396
  var import_typescript81 = __toESM(require("typescript"), 1);
34600
35397
 
34601
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
35398
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
34602
35399
  var import_typescript79 = __toESM(require("typescript"), 1);
34603
35400
  function wrapForDiagnostics(expr) {
34604
35401
  return import_typescript79.default.factory.createParenthesizedExpression(expr);
@@ -34643,7 +35440,7 @@ function translateDiagnostic(diagnostic, resolver) {
34643
35440
  return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
34644
35441
  }
34645
35442
 
34646
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
35443
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
34647
35444
  var import_typescript80 = __toESM(require("typescript"), 1);
34648
35445
  var NULL_AS_ANY = import_typescript80.default.factory.createAsExpression(import_typescript80.default.factory.createNull(), import_typescript80.default.factory.createKeywordTypeNode(import_typescript80.default.SyntaxKind.AnyKeyword));
34649
35446
  var UNDEFINED = import_typescript80.default.factory.createIdentifier("undefined");
@@ -34975,7 +35772,7 @@ var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
34975
35772
  _VeSafeLhsInferenceBugDetector.SINGLETON = new _VeSafeLhsInferenceBugDetector();
34976
35773
  })();
34977
35774
 
34978
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
35775
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
34979
35776
  var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
34980
35777
  constructor(templateId, boundTarget, oob) {
34981
35778
  super();
@@ -34998,7 +35795,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
34998
35795
  }
34999
35796
  };
35000
35797
 
35001
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
35798
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
35002
35799
  var TcbGenericContextBehavior;
35003
35800
  (function(TcbGenericContextBehavior2) {
35004
35801
  TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
@@ -36125,7 +36922,7 @@ var TcbEventHandlerTranslator = class extends TcbExpressionTranslator {
36125
36922
  }
36126
36923
  };
36127
36924
 
36128
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
36925
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
36129
36926
  var import_typescript82 = __toESM(require("typescript"), 1);
36130
36927
  var TypeCheckFile = class extends Environment {
36131
36928
  constructor(fileName, config, refEmitter, reflector, compilerHost) {
@@ -36161,7 +36958,7 @@ var TypeCheckFile = class extends Environment {
36161
36958
  }
36162
36959
  };
36163
36960
 
36164
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
36961
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
36165
36962
  var InliningMode;
36166
36963
  (function(InliningMode2) {
36167
36964
  InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
@@ -36398,7 +37195,7 @@ function splitStringAtPoints(str, points) {
36398
37195
  return splits;
36399
37196
  }
36400
37197
 
36401
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
37198
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
36402
37199
  var LF_CHAR = 10;
36403
37200
  var CR_CHAR = 13;
36404
37201
  var LINE_SEP_CHAR = 8232;
@@ -36439,7 +37236,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
36439
37236
  return low - 1;
36440
37237
  }
36441
37238
 
36442
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
37239
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
36443
37240
  var TemplateSource = class {
36444
37241
  constructor(mapping, file) {
36445
37242
  this.mapping = mapping;
@@ -36490,7 +37287,7 @@ var TemplateSourceManager = class {
36490
37287
  }
36491
37288
  };
36492
37289
 
36493
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
37290
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
36494
37291
  var import_typescript84 = __toESM(require("typescript"), 1);
36495
37292
  var SymbolBuilder = class {
36496
37293
  constructor(tcbPath, tcbIsShim, typeCheckBlock, templateData, componentScopeReader, getTypeChecker) {
@@ -36967,7 +37764,7 @@ function sourceSpanEqual(a, b) {
36967
37764
  return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
36968
37765
  }
36969
37766
 
36970
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
37767
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
36971
37768
  var REGISTRY2 = new DomElementSchemaRegistry();
36972
37769
  var TemplateTypeCheckerImpl = class {
36973
37770
  constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
@@ -37663,7 +38460,7 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
37663
38460
  }
37664
38461
  };
37665
38462
 
37666
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
38463
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
37667
38464
  var TemplateCheckWithVisitor = class {
37668
38465
  run(ctx, component, template2) {
37669
38466
  const visitor = new TemplateVisitor2(ctx, component, this);
@@ -37732,6 +38529,28 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor2 {
37732
38529
  }
37733
38530
  visitIcu(icu) {
37734
38531
  }
38532
+ visitDeferredBlock(deferred) {
38533
+ this.visitAllNodes(deferred.children);
38534
+ this.visitAllNodes(deferred.triggers);
38535
+ this.visitAllNodes(deferred.prefetchTriggers);
38536
+ deferred.placeholder && this.visit(deferred.placeholder);
38537
+ deferred.loading && this.visit(deferred.loading);
38538
+ deferred.error && this.visit(deferred.error);
38539
+ }
38540
+ visitDeferredTrigger(trigger) {
38541
+ if (trigger instanceof BoundDeferredTrigger) {
38542
+ this.visitAst(trigger.value);
38543
+ }
38544
+ }
38545
+ visitDeferredBlockPlaceholder(block) {
38546
+ this.visitAllNodes(block.children);
38547
+ }
38548
+ visitDeferredBlockError(block) {
38549
+ this.visitAllNodes(block.children);
38550
+ }
38551
+ visitDeferredBlockLoading(block) {
38552
+ this.visitAllNodes(block.children);
38553
+ }
37735
38554
  getDiagnostics(template2) {
37736
38555
  this.diagnostics = [];
37737
38556
  this.visitAllNodes(template2);
@@ -37739,7 +38558,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor2 {
37739
38558
  }
37740
38559
  };
37741
38560
 
37742
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
38561
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
37743
38562
  var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
37744
38563
  constructor() {
37745
38564
  super(...arguments);
@@ -37764,7 +38583,7 @@ var factory = {
37764
38583
  create: () => new InvalidBananaInBoxCheck()
37765
38584
  };
37766
38585
 
37767
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
38586
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
37768
38587
  var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
37769
38588
  ["ngIf", "NgIf"],
37770
38589
  ["ngFor", "NgFor"],
@@ -37808,7 +38627,7 @@ var factory2 = {
37808
38627
  }
37809
38628
  };
37810
38629
 
37811
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
38630
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
37812
38631
  var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
37813
38632
  constructor() {
37814
38633
  super(...arguments);
@@ -37840,7 +38659,7 @@ var factory3 = {
37840
38659
  create: () => new MissingNgForOfLetCheck()
37841
38660
  };
37842
38661
 
37843
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
38662
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
37844
38663
  var import_typescript87 = __toESM(require("typescript"), 1);
37845
38664
  var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
37846
38665
  constructor() {
@@ -37884,7 +38703,7 @@ var factory4 = {
37884
38703
  }
37885
38704
  };
37886
38705
 
37887
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
38706
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
37888
38707
  var import_typescript88 = __toESM(require("typescript"), 1);
37889
38708
  var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
37890
38709
  constructor() {
@@ -37929,7 +38748,7 @@ var factory5 = {
37929
38748
  }
37930
38749
  };
37931
38750
 
37932
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
38751
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
37933
38752
  var STYLE_SUFFIXES = ["px", "%", "em"];
37934
38753
  var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
37935
38754
  constructor() {
@@ -37952,7 +38771,7 @@ var factory6 = {
37952
38771
  create: () => new SuffixNotSupportedCheck()
37953
38772
  };
37954
38773
 
37955
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
38774
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
37956
38775
  var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
37957
38776
  constructor() {
37958
38777
  super(...arguments);
@@ -37990,10 +38809,10 @@ var factory7 = {
37990
38809
  create: () => new TextAttributeNotBindingSpec()
37991
38810
  };
37992
38811
 
37993
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
38812
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
37994
38813
  var import_typescript89 = __toESM(require("typescript"), 1);
37995
38814
 
37996
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
38815
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
37997
38816
  var DiagnosticCategoryLabel;
37998
38817
  (function(DiagnosticCategoryLabel2) {
37999
38818
  DiagnosticCategoryLabel2["Warning"] = "warning";
@@ -38001,7 +38820,7 @@ var DiagnosticCategoryLabel;
38001
38820
  DiagnosticCategoryLabel2["Suppress"] = "suppress";
38002
38821
  })(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
38003
38822
 
38004
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
38823
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
38005
38824
  var ExtendedTemplateCheckerImpl = class {
38006
38825
  constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
38007
38826
  var _a2, _b2, _c2, _d2, _e2;
@@ -38053,7 +38872,7 @@ function assertNever(value) {
38053
38872
  ${value}`);
38054
38873
  }
38055
38874
 
38056
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
38875
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
38057
38876
  var ALL_DIAGNOSTIC_FACTORIES = [
38058
38877
  factory,
38059
38878
  factory4,
@@ -38064,7 +38883,7 @@ var ALL_DIAGNOSTIC_FACTORIES = [
38064
38883
  factory6
38065
38884
  ];
38066
38885
 
38067
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
38886
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
38068
38887
  var CompilationTicketKind;
38069
38888
  (function(CompilationTicketKind2) {
38070
38889
  CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
@@ -38119,7 +38938,7 @@ var NgCompiler = class {
38119
38938
  }
38120
38939
  }
38121
38940
  constructor(adapter, options, inputProgram, programDriver, incrementalStrategy, incrementalCompilation, enableTemplateTypeChecker, usePoisonedData, livePerfRecorder) {
38122
- var _a2;
38941
+ var _a2, _b2;
38123
38942
  this.adapter = adapter;
38124
38943
  this.options = options;
38125
38944
  this.inputProgram = inputProgram;
@@ -38133,6 +38952,7 @@ var NgCompiler = class {
38133
38952
  this.nonTemplateDiagnostics = null;
38134
38953
  this.delegatingPerfRecorder = new DelegatingPerfRecorder(this.perfRecorder);
38135
38954
  this.enableTemplateTypeChecker = enableTemplateTypeChecker || ((_a2 = options._enableTemplateTypeChecker) != null ? _a2 : false);
38955
+ this.enabledBlockTypes = new Set((_b2 = options._enabledBlockTypes) != null ? _b2 : []);
38136
38956
  this.constructionDiagnostics.push(...this.adapter.constructionDiagnostics, ...verifyCompatibleTypeCheckOptions(this.options));
38137
38957
  this.currentProgram = inputProgram;
38138
38958
  this.closureCompilerEnabled = !!this.options.annotateForClosureCompiler;
@@ -38600,7 +39420,7 @@ var NgCompiler = class {
38600
39420
  throw new Error('JIT mode support ("supportJitMode" option) cannot be disabled in partial compilation mode.');
38601
39421
  }
38602
39422
  const handlers = [
38603
- new ComponentDecoratorHandler(reflector, evaluator, metaRegistry, metaReader, scopeReader, depScopeReader, ngModuleScopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, this.resourceManager, this.adapter.rootDirs, this.options.preserveWhitespaces || false, this.options.i18nUseExternalIds !== false, this.options.enableI18nLegacyMessageIdFormat !== false, this.usePoisonedData, this.options.i18nNormalizeLineEndingsInICUs === true, this.moduleResolver, this.cycleAnalyzer, cycleHandlingStrategy, refEmitter, referencesRegistry, this.incrementalCompilation.depGraph, injectableRegistry, semanticDepGraphUpdater, this.closureCompilerEnabled, this.delegatingPerfRecorder, hostDirectivesResolver, supportTestBed, compilationMode),
39423
+ new ComponentDecoratorHandler(reflector, evaluator, metaRegistry, metaReader, scopeReader, depScopeReader, ngModuleScopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, this.resourceManager, this.adapter.rootDirs, this.options.preserveWhitespaces || false, this.options.i18nUseExternalIds !== false, this.options.enableI18nLegacyMessageIdFormat !== false, this.usePoisonedData, this.options.i18nNormalizeLineEndingsInICUs === true, this.enabledBlockTypes, this.moduleResolver, this.cycleAnalyzer, cycleHandlingStrategy, refEmitter, referencesRegistry, this.incrementalCompilation.depGraph, injectableRegistry, semanticDepGraphUpdater, this.closureCompilerEnabled, this.delegatingPerfRecorder, hostDirectivesResolver, supportTestBed, compilationMode),
38604
39424
  new DirectiveDecoratorHandler(reflector, evaluator, metaRegistry, ngModuleScopeRegistry, metaReader, injectableRegistry, refEmitter, referencesRegistry, isCore, strictCtorDeps, semanticDepGraphUpdater, this.closureCompilerEnabled, this.delegatingPerfRecorder, supportTestBed),
38605
39425
  new PipeDecoratorHandler(reflector, evaluator, metaRegistry, ngModuleScopeRegistry, injectableRegistry, isCore, this.delegatingPerfRecorder, supportTestBed),
38606
39426
  new InjectableDecoratorHandler(reflector, evaluator, isCore, strictCtorDeps, injectableRegistry, this.delegatingPerfRecorder, supportTestBed),
@@ -38791,7 +39611,7 @@ function versionMapFromProgram(program, driver) {
38791
39611
  return versions;
38792
39612
  }
38793
39613
 
38794
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
39614
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
38795
39615
  var import_typescript92 = __toESM(require("typescript"), 1);
38796
39616
  var DelegatingCompilerHost2 = class {
38797
39617
  constructor(delegate) {
@@ -38924,7 +39744,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
38924
39744
  }
38925
39745
  };
38926
39746
 
38927
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
39747
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
38928
39748
  var NgtscProgram = class {
38929
39749
  constructor(rootNames, options, delegateHost, oldProgram) {
38930
39750
  this.options = options;
@@ -39142,21 +39962,21 @@ function mergeEmitResults(emitResults) {
39142
39962
  return { diagnostics, emitSkipped, emittedFiles };
39143
39963
  }
39144
39964
 
39145
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
39965
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
39146
39966
  function createProgram({ rootNames, options, host, oldProgram }) {
39147
39967
  return new NgtscProgram(rootNames, options, host, oldProgram);
39148
39968
  }
39149
39969
 
39150
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
39970
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
39151
39971
  var import_typescript96 = __toESM(require("typescript"), 1);
39152
39972
 
39153
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
39973
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
39154
39974
  var import_typescript95 = __toESM(require("typescript"), 1);
39155
39975
 
39156
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
39976
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
39157
39977
  var import_typescript97 = __toESM(require("typescript"), 1);
39158
39978
 
39159
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/private/tooling.mjs
39979
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/private/tooling.mjs
39160
39980
  var GLOBAL_DEFS_FOR_TERSER = {
39161
39981
  ngDevMode: false,
39162
39982
  ngI18nClosureMode: false
@@ -39165,7 +39985,7 @@ var GLOBAL_DEFS_FOR_TERSER_WITH_AOT = __spreadProps(__spreadValues({}, GLOBAL_DE
39165
39985
  ngJitMode: false
39166
39986
  });
39167
39987
 
39168
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.mjs
39988
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.mjs
39169
39989
  var LogLevel;
39170
39990
  (function(LogLevel2) {
39171
39991
  LogLevel2[LogLevel2["debug"] = 0] = "debug";
@@ -39174,7 +39994,7 @@ var LogLevel;
39174
39994
  LogLevel2[LogLevel2["error"] = 3] = "error";
39175
39995
  })(LogLevel || (LogLevel = {}));
39176
39996
 
39177
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
39997
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
39178
39998
  var RESET = "\x1B[0m";
39179
39999
  var RED = "\x1B[31m";
39180
40000
  var YELLOW = "\x1B[33m";
@@ -39183,18 +40003,18 @@ var DEBUG = `${BLUE}Debug:${RESET}`;
39183
40003
  var WARN = `${YELLOW}Warning:${RESET}`;
39184
40004
  var ERROR = `${RED}Error:${RESET}`;
39185
40005
 
39186
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/index.mjs
40006
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/index.mjs
39187
40007
  setFileSystem(new NodeJSFileSystem());
39188
40008
 
39189
- // bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
40009
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
39190
40010
  var import_fs2 = require("fs");
39191
40011
  var import_path8 = require("path");
39192
40012
  var import_typescript110 = __toESM(require("typescript"), 1);
39193
40013
 
39194
- // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
40014
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
39195
40015
  var import_typescript99 = __toESM(require("typescript"), 1);
39196
40016
 
39197
- // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/import_manager.mjs
40017
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/import_manager.mjs
39198
40018
  var import_path4 = require("path");
39199
40019
  var import_typescript98 = __toESM(require("typescript"), 1);
39200
40020
  var ImportManager2 = class {
@@ -39378,7 +40198,7 @@ ${text2}`;
39378
40198
  }
39379
40199
  };
39380
40200
 
39381
- // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
40201
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
39382
40202
  var ChangeTracker = class {
39383
40203
  constructor(_printer, _importRemapper) {
39384
40204
  __publicField(this, "_printer");
@@ -39434,7 +40254,7 @@ function normalizePath(path3) {
39434
40254
  return path3.replace(/\\/g, "/");
39435
40255
  }
39436
40256
 
39437
- // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
40257
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
39438
40258
  var import_core13 = require("@angular-devkit/core");
39439
40259
  function getProjectTsConfigPaths(tree) {
39440
40260
  return __async(this, null, function* () {
@@ -39514,11 +40334,11 @@ function getWorkspace(tree) {
39514
40334
  });
39515
40335
  }
39516
40336
 
39517
- // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
40337
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
39518
40338
  var import_path5 = require("path");
39519
40339
  var import_typescript101 = __toESM(require("typescript"), 1);
39520
40340
 
39521
- // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
40341
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
39522
40342
  var path2 = __toESM(require("path"), 1);
39523
40343
  var import_typescript100 = __toESM(require("typescript"), 1);
39524
40344
  function parseTsconfigFile(tsconfigPath, basePath) {
@@ -39535,7 +40355,7 @@ function parseTsconfigFile(tsconfigPath, basePath) {
39535
40355
  return import_typescript100.default.parseJsonConfigFileContent(config, parseConfigHost, basePath, {});
39536
40356
  }
39537
40357
 
39538
- // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
40358
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
39539
40359
  function createProgramOptions(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles, optionOverrides) {
39540
40360
  tsconfigPath = (0, import_path5.resolve)(basePath, tsconfigPath);
39541
40361
  const parsed = parseTsconfigFile(tsconfigPath, (0, import_path5.dirname)(tsconfigPath));
@@ -39564,13 +40384,13 @@ function canMigrateFile(basePath, sourceFile, program) {
39564
40384
  return !(0, import_path5.relative)(basePath, sourceFile.fileName).startsWith("..");
39565
40385
  }
39566
40386
 
39567
- // bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
40387
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
39568
40388
  var import_typescript106 = __toESM(require("typescript"), 1);
39569
40389
 
39570
- // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
40390
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
39571
40391
  var import_typescript103 = __toESM(require("typescript"), 1);
39572
40392
 
39573
- // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/typescript/imports.mjs
40393
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/imports.mjs
39574
40394
  var import_typescript102 = __toESM(require("typescript"), 1);
39575
40395
  function getImportOfIdentifier(typeChecker, node) {
39576
40396
  const symbol = typeChecker.getSymbolAtLocation(node);
@@ -39621,7 +40441,7 @@ function findImportSpecifier(nodes, specifierName) {
39621
40441
  });
39622
40442
  }
39623
40443
 
39624
- // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
40444
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/decorators.mjs
39625
40445
  function getCallDecoratorImport(typeChecker, decorator) {
39626
40446
  if (!import_typescript103.default.isCallExpression(decorator.expression) || !import_typescript103.default.isIdentifier(decorator.expression.expression)) {
39627
40447
  return null;
@@ -39630,7 +40450,7 @@ function getCallDecoratorImport(typeChecker, decorator) {
39630
40450
  return getImportOfIdentifier(typeChecker, identifier);
39631
40451
  }
39632
40452
 
39633
- // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/ng_decorators.mjs
40453
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/ng_decorators.mjs
39634
40454
  function getAngularDecorators(typeChecker, decorators) {
39635
40455
  return decorators.map((node) => ({ node, importData: getCallDecoratorImport(typeChecker, node) })).filter(({ importData }) => importData && importData.importModule.startsWith("@angular/")).map(({ node, importData }) => ({
39636
40456
  node,
@@ -39640,7 +40460,7 @@ function getAngularDecorators(typeChecker, decorators) {
39640
40460
  }));
39641
40461
  }
39642
40462
 
39643
- // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/typescript/nodes.mjs
40463
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/nodes.mjs
39644
40464
  var import_typescript104 = __toESM(require("typescript"), 1);
39645
40465
  function closestNode(node, predicate) {
39646
40466
  let current = node.parent;
@@ -39653,7 +40473,7 @@ function closestNode(node, predicate) {
39653
40473
  return null;
39654
40474
  }
39655
40475
 
39656
- // bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/util.mjs
40476
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/util.mjs
39657
40477
  var import_path6 = require("path");
39658
40478
  var import_typescript105 = __toESM(require("typescript"), 1);
39659
40479
  var UniqueItemTracker = class {
@@ -39829,7 +40649,7 @@ function isClassReferenceInAngularModule(node, className, moduleName, typeChecke
39829
40649
  }));
39830
40650
  }
39831
40651
 
39832
- // bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
40652
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/prune-modules.mjs
39833
40653
  function pruneNgModules(program, host, basePath, rootFileNames, sourceFiles, printer, importRemapper, referenceLookupExcludedFiles) {
39834
40654
  const filesToRemove = /* @__PURE__ */ new Set();
39835
40655
  const tracker = new ChangeTracker(printer, importRemapper);
@@ -40028,14 +40848,14 @@ function findNgModuleDecorator(node, typeChecker) {
40028
40848
  return decorators.find((decorator) => decorator.name === "NgModule") || null;
40029
40849
  }
40030
40850
 
40031
- // bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
40851
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
40032
40852
  var import_path7 = require("path");
40033
40853
  var import_typescript109 = __toESM(require("typescript"), 1);
40034
40854
 
40035
- // bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
40855
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
40036
40856
  var import_typescript108 = __toESM(require("typescript"), 1);
40037
40857
 
40038
- // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/typescript/symbol.mjs
40858
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/symbol.mjs
40039
40859
  var import_typescript107 = __toESM(require("typescript"), 1);
40040
40860
  function isReferenceToImport(typeChecker, node, importSpecifier) {
40041
40861
  var _a2, _b2;
@@ -40044,7 +40864,7 @@ function isReferenceToImport(typeChecker, node, importSpecifier) {
40044
40864
  return !!(((_a2 = nodeSymbol == null ? void 0 : nodeSymbol.declarations) == null ? void 0 : _a2[0]) && ((_b2 = importSymbol == null ? void 0 : importSymbol.declarations) == null ? void 0 : _b2[0])) && nodeSymbol.declarations[0] === importSymbol.declarations[0];
40045
40865
  }
40046
40866
 
40047
- // bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
40867
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/to-standalone.mjs
40048
40868
  function toStandalone(sourceFiles, program, printer, fileImportRemapper, componentImportRemapper) {
40049
40869
  const templateTypeChecker = program.compiler.getTemplateTypeChecker();
40050
40870
  const typeChecker = program.getTsProgram().getTypeChecker();
@@ -40407,7 +41227,7 @@ function isStandaloneDeclaration(node, declarationsInMigration, templateTypeChec
40407
41227
  return metadata != null && metadata.isStandalone;
40408
41228
  }
40409
41229
 
40410
- // bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
41230
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/standalone-bootstrap.mjs
40411
41231
  function toStandaloneBootstrap(program, host, basePath, rootFileNames, sourceFiles, printer, importRemapper, referenceLookupExcludedFiles, componentImportRemapper) {
40412
41232
  const tracker = new ChangeTracker(printer, importRemapper);
40413
41233
  const typeChecker = program.getTsProgram().getTypeChecker();
@@ -40784,7 +41604,7 @@ function hasImport(program, rootFileNames, moduleName) {
40784
41604
  return false;
40785
41605
  }
40786
41606
 
40787
- // bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
41607
+ // bazel-out/k8-fastbuild/bin/packages/core/schematics/ng-generate/standalone-migration/index.mjs
40788
41608
  var MigrationMode;
40789
41609
  (function(MigrationMode2) {
40790
41610
  MigrationMode2["toStandalone"] = "convert-to-standalone";